1 |
2007-09-05 Sascha L. Teichmann <[email protected]> |
2007-09-17 Sascha L. Teichmann <[email protected]> |
2 |
|
|
3 |
|
* tools/formed/formed/model/nodecomponents.py: Added attributes |
4 |
|
'target' to NodeComponent and 'containers' to Node. |
5 |
|
|
6 |
|
* tools/formed/formed/plugins/web/view_renderer.py: New. Aimed |
7 |
|
to be a replacement for form_renderer. Not ready yet! |
8 |
|
|
9 |
|
* ChangeLog: Fixed some indention glitches. |
10 |
|
|
11 |
|
2007-09-13 Torsten Irlaender <[email protected]> |
12 |
|
|
13 |
|
* tools/formed/formed/plugins/names/filter.py: Fixed bug in the |
14 |
|
renaming algorithm. |
15 |
|
|
16 |
|
2007-09-12 Torsten Irlaender <[email protected]> |
17 |
|
|
18 |
|
* tools/formed/formed/plugins/web/form_renderer.py: Renamed header |
19 |
|
from formular navigation to "Fallakte Inhalt" |
20 |
|
|
21 |
|
2007-09-12 Torsten Irlaender <[email protected]> |
22 |
|
|
23 |
|
* tools/formed/formed/plugins/ui/controls.py: Fixed bug that bad |
24 |
|
values (dates) were not pretty printed. |
25 |
|
|
26 |
|
* tools/formed/formed/plugins/web/form_renderer.py: Added errormsg to |
27 |
|
label rendering for choicelists. |
28 |
|
|
29 |
|
2007-09-12 Torsten Irlaender <[email protected]> |
30 |
|
|
31 |
|
* tools/formed/formed/plugins/ui/controls.py: Fixed bug that |
32 |
|
choicelist did not get selected when the value is set to "0" |
33 |
|
|
34 |
|
2007-09-12 Torsten Irlaender <[email protected]> |
35 |
|
|
36 |
|
* tools/formed/formed/plugins/web/form_renderer.py: Added |
37 |
|
"getPrintableData" method, for the formdata Class which will return |
38 |
|
the description rather than the value of element in the ID. This is |
39 |
|
need for displaying the choises in a right way. |
40 |
|
|
41 |
|
* tools/formed/formed/plugins/web/renderer.py: Changed string |
42 |
|
"Fallnummer" into "Kundennummer" in the templates. Added |
43 |
|
Kundennummer to the dataset digest output. Bound in the new |
44 |
|
"getPrintableData" call for the digest. |
45 |
|
|
46 |
|
2007-10-11 Sascha L. Teichmann <[email protected]> |
47 |
|
|
48 |
|
* tools/formed/formed/plugins/export/data.py: The import/export |
49 |
|
of data is now implemented with filters (the most consequent |
50 |
|
way in terms of design of FormEd). The support of the 'persistent' |
51 |
|
FORMED env-variable support has been removed. |
52 |
|
|
53 |
|
* tools/formed/formed/plugins/ui/controls.py: Added a flag to the |
54 |
|
filter file dialog to double as import dialog. |
55 |
|
|
56 |
|
* tools/formed/formed/main.py: Removed the the FORMED-var support |
57 |
|
for persistence. |
58 |
|
|
59 |
|
* tools/formed/formed/config.py: Add the two new filters to the filters |
60 |
|
list. |
61 |
|
|
62 |
|
2007-10-11 Sascha L. Teichmann <[email protected]> |
63 |
|
|
64 |
|
* tools/formed/formed/model/memory.py: Uses XML as persistence format now. |
65 |
|
Removed pickle/unpickle stuff. |
66 |
|
|
67 |
|
* tools/formed/formed/main.py: Uses the new XML persistence. |
68 |
|
|
69 |
|
* tools/formed/formed/plugins/web/semantic.py: Fixed: choices were |
70 |
|
not converted to int indices. |
71 |
|
|
72 |
|
2007-09-11 Sascha L. Teichmann <[email protected]> |
73 |
|
|
74 |
|
* tools/formed/formed/model/memory.py: Making MemoryDataStore persistent |
75 |
|
with pickle/unpickle. |
76 |
|
|
77 |
|
* tools/formed/formed/main.py: Added a env FORMED parameter 'persistent'. |
78 |
|
Set to a file name it is tried to unpickle a MemoryDataStore from |
79 |
|
that file. When exiting the program this file is used to store the |
80 |
|
current MemoryDataStore state. The storing only works if you exit |
81 |
|
the program through the Menu File->Exit. |
82 |
|
usage: FORMED=persistent:test.db ./formed.sh |
83 |
|
|
84 |
|
2007-09-11 Torsten Irlaender <[email protected]> |
85 |
|
|
86 |
|
* tools/formed/formed/plugins/web/renderer.py: Changed Name of the |
87 |
|
application on the welcome page from "Formed" to "WASKA" |
88 |
|
|
89 |
|
2007-09-11 Torsten Irlaender <[email protected]> |
90 |
|
|
91 |
|
* tools/formed/formed/plugins/web/plugin.py, |
92 |
|
* tools/formed/formed/plugins/web/controllers.py, |
93 |
|
* tools/formed/formed/plugins/web/renderer.py: Added InfoPageHandler. |
94 |
|
The infopage provides information on all project participants. |
95 |
|
|
96 |
|
2007-09-11 Sascha L. Teichmann <[email protected]> |
97 |
|
|
98 |
|
* tools/formed/formed/plugins/web/controllers.py: Fix unicode conversion |
99 |
|
issues with error messages (once again). |
100 |
|
|
101 |
|
2007-09-11 Torsten Irlaender <[email protected]> |
102 |
|
|
103 |
|
* tools/formed/formed/plugins/web/form_renderer.py, |
104 |
|
* tools/formed/formed/plugins/web/renderer.py: Added alt tag for |
105 |
|
icons in error and confirmation dialogs. |
106 |
|
|
107 |
|
2007-09-11 Sascha L. Teichmann <[email protected]> |
108 |
|
|
109 |
|
* tools/formed/formed/plugins/web/form_renderer.py: Fixed label |
110 |
|
generation for ints, texts and textareas. Fixed h depths of infos. |
111 |
|
|
112 |
|
2007-09-11 Sascha L. Teichmann <[email protected]> |
113 |
|
|
114 |
|
* tools/formed/formed/plugins/web/form_renderer.py: Removed |
115 |
|
debug output for help. |
116 |
|
|
117 |
|
* tools/formed/formed/plugins/web/semantic.py: Added forgotten |
118 |
|
check for bools. |
119 |
|
|
120 |
|
* tools/formed/formed/plugins/web/controllers.py: Added correct |
121 |
|
HTML output of data for bools. |
122 |
|
|
123 |
|
2007-09-11 Torsten Irlaender <[email protected]> |
124 |
|
|
125 |
|
* tools/formed/formed/plugins/web/form_renderer.py: Changed size of |
126 |
|
textfields for int values. Changed Label for submitbuttons to |
127 |
|
"Speichern" |
128 |
|
|
129 |
|
* tools/formed/formed/plugins/web/plugin.py, |
130 |
|
tools/formed/formed/plugins/web/controllers.py: Added new |
131 |
|
NotImplementedHandler to show up a dummysite for not implemented |
132 |
|
functions. |
133 |
|
|
134 |
|
* tools/formed/formed/plugins/web/renderer.py: Added |
135 |
|
NotImplementedRenderer. Various small fixes. Mostly renaming the |
136 |
|
labels of some context menus. Error messages are now generated |
137 |
|
dynamically depending on num errors. Formular navigation has now |
138 |
|
colored indication for errors. |
139 |
|
|
140 |
|
2007-09-11 Torsten Irlaender <[email protected]> |
141 |
|
|
142 |
|
* tools/formed/formed/plugins/web/renderer.py: Implemented "LookAhead" |
143 |
|
algorithm for the formular navigation to get rid of the problem |
144 |
|
that some of the items within the navigation are not linked. Now |
145 |
|
structural group elements are linked with the next page found in the |
146 |
|
formular structure. |
147 |
|
|
148 |
|
2007-09-10 Torsten Irlaender <[email protected]> |
149 |
|
* tools/formed/formed/plugins/web/form_renderer.py: Changed order of |
150 |
|
div and formtag. |
151 |
|
|
152 |
|
* tools/formed/formed/plugins/web/controllers.py: Added DataSet action |
153 |
|
menu in the conformation dialog when creating a new dataset. |
154 |
|
|
155 |
|
* tools/formed/formed/plugins/web/renderer.py: Fixed error when |
156 |
|
rendering the default welcome page. Changed rendering of the |
157 |
|
overview and the digest table of the datasets. Added icon for |
158 |
|
confirmation dialog, moved the icon in the <h1> tags. |
159 |
|
|
160 |
|
2007-09-10 Torsten Irlaender <[email protected]> |
161 |
|
|
162 |
|
* tools/formed/formed/plugins/web/form_renderer.py: Some html |
163 |
|
generation cleanup. Added error icons to formelements |
164 |
|
|
165 |
|
* tools/formed/formed/plugins/web/controllers.py: Fixed initialisation |
166 |
|
of ErrorStatus. Fixed generated of the help tags in the formular |
167 |
|
|
168 |
|
* tools/formed/formed/plugins/web/renderer.py: Added error icon for |
169 |
|
pageerrors. An "!" now indicates errors on pages in the formular |
170 |
|
navigation. Added new <div> "content" around confirmation dialogss. |
171 |
|
Links in confimation dialogs are now rendered as buttons. Removed |
172 |
|
old obsolete OverviewRenderer. |
173 |
|
|
174 |
|
2007-09-10 Sascha L. Teichmann <[email protected]> |
175 |
|
|
176 |
|
* tools/formed/formed/plugins/web/renderer.py: Highlight selected |
177 |
|
page in page navigation. |
178 |
|
|
179 |
|
2007-09-10 Torsten Irlaender <[email protected]> |
180 |
|
|
181 |
|
* tools/formed/formed/plugins/web/controllers.py: Fixed issues on |
182 |
|
displaying formdata when changing datasets. Loading the right |
183 |
|
formdata was not handled in a correct way. Hope it is all fixed now. |
184 |
|
Left some commented code because not all sideeffects of the changes |
185 |
|
are tested yet. |
186 |
|
|
187 |
|
* tools/formed/formed/plugins/web/renderer.py: DataSetDigestRenderer |
188 |
|
now uses the correct data out of the formdata. |
189 |
|
|
190 |
|
2007-09-10 Sascha L. Teichmann <[email protected]> |
191 |
|
|
192 |
|
* tools/formed/formed/plugins/web/controllers.py: Pretty |
193 |
|
print format data (dates e.g) |
194 |
|
|
195 |
|
2007-09-10 Sascha L. Teichmann <[email protected]> |
196 |
|
|
197 |
|
* tools/formed/formed/plugins/web/controllers.py: Modified |
198 |
|
ErrorStats a bit to avoid mysterious extra error on page. |
199 |
|
No clue why this works. |
200 |
|
|
201 |
|
2007-09-10 Sascha L. Teichmann <[email protected]> |
202 |
|
|
203 |
|
* tools/formed/formed/plugins/web/form_renderer.py: Fixed value |
204 |
|
problem with radio groups, too. |
205 |
|
|
206 |
|
2007-09-10 Torsten Irlaender <[email protected]> |
207 |
|
* tools/formed/formed/plugins/web/controllers.py: Sessions are now |
208 |
|
really removed when deleting a dataset. |
209 |
|
|
210 |
|
2007-09-10 Torsten Irlaender <[email protected]> |
211 |
|
|
212 |
|
* tools/formed/formed/plugins/web/controllers.py: Added new Class |
213 |
|
ErrorStats which provides Information on remaining errors per page. |
214 |
|
|
215 |
|
* tools/formed/formed/plugins/web/renderers.py: Finished movement of |
216 |
|
the renderer methods from controllers.py to renderers.py. |
217 |
|
|
218 |
|
* tools/formed/formed/plugins/web/plugin.py: Removed render_session |
219 |
|
handlers |
220 |
|
|
221 |
|
2007-09-10 Sascha L. Teichmann <[email protected]> |
222 |
|
|
223 |
|
* tools/formed/formed/plugins/web/form_renderer.py: values for |
224 |
|
choices are generated from the document tree now. This brings |
225 |
|
the state storage of select boxes in HTML to live. |
226 |
|
|
227 |
|
2007-09-09 Sascha L. Teichmann <[email protected]> |
228 |
|
|
229 |
|
* tools/formed/formed/plugins/web/semantic.py: Fixed problems with |
230 |
|
range checking of integers. |
231 |
|
|
232 |
|
* tools/formed/formed/plugins/web/controllers.py: Added class |
233 |
|
ErrorItem to track errors. They are stored in the session. |
234 |
|
|
235 |
|
2007-09-09 Sascha L. Teichmann <[email protected]> |
236 |
|
|
237 |
|
* tools/formed/formed/model/nodecomponents.py: Fixed returning |
238 |
|
wrong index in Document.indexOfcomponentByClassAndName. |
239 |
|
|
240 |
|
* tools/formed/formed/plugins/web/form_renderer.py: 'error' was |
241 |
|
written 'errot' in renderer for textareas. |
242 |
|
|
243 |
|
* tools/formed/formed/plugins/web/controllers.py: Some clean-ups. |
244 |
|
|
245 |
|
2007-09-09 Sascha L. Teichmann <[email protected]> |
246 |
|
|
247 |
|
* tools/formed/formed/plugins/web/help.py: Added a 'hasHelp' |
248 |
|
method. Could be cheaper for some implementations of help. |
249 |
|
|
250 |
|
* tools/formed/formed/plugins/web/form_renderer.py: Modified |
251 |
|
FormData to have distinct getData(), getHelp() and getError() |
252 |
|
methods. Various bug fixes. |
253 |
|
|
254 |
|
* tools/formed/formed/plugins/web/controllers.py: Implements the |
255 |
|
new FormData (trivial by now). |
256 |
|
|
257 |
|
* tools/formed/formed/plugins/web/renderer.py: New FormData and |
258 |
|
some bug fixes. |
259 |
|
|
260 |
|
2007-09-09 Sascha L. Teichmann <[email protected]> |
261 |
|
|
262 |
|
* tools/formed/formed/model/memory.py, |
263 |
|
tools/formed/formed/model/persistent.py: Add a getValue() method |
264 |
|
to dataset abstraction. This is a bit of a workaround to bring |
265 |
|
global access across pages for rule checking to work. |
266 |
|
|
267 |
|
* tools/formed/formed/model/data.py: Fixed: When setting a new expression |
268 |
|
the compiled version was not stored in the RuleLeaf. |
269 |
|
|
270 |
|
* tools/formed/formed/model/expr.py: shlex lexer does not like unicode. |
271 |
|
convert the expression string to ascii for compilation. |
272 |
|
|
273 |
|
* tools/formed/formed/plugins/web/semantic.py: Remove the 'box' because |
274 |
|
valid data is stored to the dataset immediately now. Fixed a bug |
275 |
|
with integer handler. |
276 |
|
|
277 |
|
* tools/formed/formed/plugins/web/controllers.py: Removed the semantic 'box' |
278 |
|
stuff. When a submit is done extract the rules from the tree document |
279 |
|
that are effected by the modified variables and check them. |
280 |
|
|
281 |
|
* tools/formed/formed/plugins/web/renderer.py: Fixed exception handling |
282 |
|
when dealing with templates. |
283 |
|
|
284 |
|
2007-09-07 Torsten Irlaender <[email protected]> |
285 |
|
* tools/formed/formed/plugins/web/controllers.py, |
286 |
|
tools/formed/formed/plugins/web/renderer.py: Moved more render |
287 |
|
functions into renderer.py. New render classes are: |
288 |
|
DataSetDigestRenderer, DataSetNavigationRenderer, |
289 |
|
DataSetFormularRenderer, ConfirmationDialogRenderer |
290 |
|
|
291 |
|
Note: The new methods are only called from selected handlers. Other |
292 |
|
handlers call the renderes in the old way. |
293 |
|
|
294 |
|
2007-09-07 Torsten Irlaender <[email protected]> |
295 |
|
* tools/formed/formed/plugins/web/form_renderer.py: Renamed |
296 |
|
renderer.py to form_renderer.py. This file will contain formular |
297 |
|
specfic render methods in the future. |
298 |
|
* tools/formed/formed/plugins/web/renderer.py: Added new renderer.py |
299 |
|
which will contain general render methods. |
300 |
|
* tools/formed/formed/plugins/web/controllers.py: Began to move all |
301 |
|
rendering into renderer.py or form_renderer.py. This file will only |
302 |
|
contain teh handlers in the future. |
303 |
|
|
304 |
|
2007-09-07 Torsten Irlaender <[email protected]> |
305 |
|
* tools/formed/formed/plugins/web/renderer.py, |
306 |
|
tools/formed/formed/plugins/web/controller.py: |
307 |
|
Renderes now get an instance of the formdata object to provide |
308 |
|
access the data needed to render various infoboxes etc. Handler |
309 |
|
instanciate the formdata. |
310 |
|
|
311 |
|
2007-09-06 Torsten Irlaender <[email protected]> |
312 |
|
* tools/formed/formed/plugins/web/renderer.py: Mainly tried to get the |
313 |
|
getFormData interface to work. Added two small semantic fixes, but |
314 |
|
did not manage to get it up. Need to exime this a little bit more |
315 |
|
* tools/formed/formed/plugins/web/controllers.py: Put <div> tags |
316 |
|
around the menus on the right side to be able to assign different |
317 |
|
styles. Added dataset actions while editing a dataset. |
318 |
|
|
319 |
|
2007-09-05 Torsten Irlaender <[email protected]> |
320 |
|
* tools/formed/formed/model/memory.py: Fixed deleting datasets by |
321 |
|
removing unwanted del method |
322 |
|
* tools/formed/formed/plugins/web/controllers.py: Implemented |
323 |
|
confiration dialogs for create, delete, and select aof datasets. Started to use |
324 |
|
templates as well for larger information units like the dataset summary. |
325 |
|
|
326 |
|
2007-09-05 Sascha L. Teichmann <[email protected]> |
327 |
|
|
328 |
* tools/formed/formed/model/nodecomponents.py: Added a |
* tools/formed/formed/model/nodecomponents.py: Added a |
329 |
method to document to find index of page. |
method to document to find index of page. |
334 |
* tools/formed/formed/plugins/web/controllers.py: Added new |
* tools/formed/formed/plugins/web/controllers.py: Added new |
335 |
FormData implementation to support DB and semantic box. |
FormData implementation to support DB and semantic box. |
336 |
|
|
337 |
2007-09-05 Sascha L. Teichmann <[email protected]> |
2007-09-05 Sascha L. Teichmann <[email protected]> |
338 |
|
|
339 |
* tools/formed/formed/plugins/web/renderer.py: escaped |
* tools/formed/formed/plugins/web/renderer.py: escaped |
340 |
error message. |
error message. |
342 |
* tools/formed/formed/plugins/web/controllers.py: Don't fetch |
* tools/formed/formed/plugins/web/controllers.py: Don't fetch |
343 |
dataset from backend each time a page is up to edit. |
dataset from backend each time a page is up to edit. |
344 |
|
|
345 |
2007-09-05 Sascha L. Teichmann <[email protected]> |
2007-09-05 Sascha L. Teichmann <[email protected]> |
346 |
|
|
347 |
* tools/formed/formed/plugins/web/renderer.py: SimplePageRenderer |
* tools/formed/formed/plugins/web/renderer.py: SimplePageRenderer |
348 |
returns "Page not found" if given page is None. |
returns "Page not found" if given page is None. |
350 |
* tools/formed/formed/plugins/web/controllers.py: Added checks |
* tools/formed/formed/plugins/web/controllers.py: Added checks |
351 |
to avoid crashing when ask for a non-existent page. |
to avoid crashing when ask for a non-existent page. |
352 |
|
|
353 |
2007-09-05 Sascha L. Teichmann <[email protected]> |
2007-09-05 Sascha L. Teichmann <[email protected]> |
354 |
|
|
355 |
* tools/formed/formed/plugins/web/controllers.py: Some clean-ups. |
* tools/formed/formed/plugins/web/controllers.py: Some clean-ups. |
356 |
|
|
357 |
2007-09-05 Sascha L. Teichmann <[email protected]> |
2007-09-05 Sascha L. Teichmann <[email protected]> |
358 |
|
|
359 |
* tools/formed/formed/plugins/web/plugin.py: Remove request handlers |
* tools/formed/formed/plugins/web/plugin.py: Remove request handlers |
360 |
and renderers. |
and renderers. |
362 |
* tools/formed/formed/plugins/web/controllers.py: New. Contains handlers |
* tools/formed/formed/plugins/web/controllers.py: New. Contains handlers |
363 |
and renderers now. TODO: Move renderers to renderer.py |
and renderers now. TODO: Move renderers to renderer.py |
364 |
|
|
365 |
2007-09-05 Torsten Irlaender <[email protected]> |
2007-09-05 Torsten Irlaender <[email protected]> |
366 |
|
|
367 |
* tools/formed/formed/plugins/web/www/main.tmpl: Adopted web template |
* tools/formed/formed/plugins/web/www/main.tmpl: Adopted web template |
368 |
and bound in the the new added functions to create, edit, delete and |
and bound in the the new added functions to create, edit, delete and |
369 |
show formdata. |
show formdata. |
370 |
|
|
371 |
2007-09-05 Sascha L. Teichmann <[email protected]> |
2007-09-05 Sascha L. Teichmann <[email protected]> |
372 |
|
|
373 |
* tools/formed/formed/model/memory.py: Removed bisect and use a |
* tools/formed/formed/model/memory.py: Removed bisect and use a |
374 |
simple linear scan for dataset lookup now. |
simple linear scan for dataset lookup now. |
376 |
* tools/formed/formed/plugins/web/plugin.py: Fixed various issues |
* tools/formed/formed/plugins/web/plugin.py: Fixed various issues |
377 |
of different sizes. |
of different sizes. |
378 |
|
|
379 |
2007-09-05 Torsten Irlaender <[email protected]> |
2007-09-05 Torsten Irlaender <[email protected]> |
380 |
|
|
381 |
* tools/formed/formed/plugins/web/memory.py: Fixed getDataSetById |
* tools/formed/formed/plugins/web/memory.py: Fixed getDataSetById |
382 |
fuction |
fuction |
383 |
|
|
384 |
* tools/formed/formed/plugins/web/persistent.py: Added store() method |
* tools/formed/formed/plugins/web/persistent.py: Added store() method |
385 |
to the DataSet interface |
to the DataSet interface |
386 |
|
|
387 |
* tools/formed/formed/plugins/web/renderer.py: Added handlers and |
* tools/formed/formed/plugins/web/renderer.py: Added handlers and |
388 |
renderes for create, update, delete and show actions on formular data. |
renderes for create, update, delete and show actions on formular data. |
389 |
|
|
390 |
2007-09-04 Sascha L. Teichmann <[email protected]> |
2007-09-04 Sascha L. Teichmann <[email protected]> |
391 |
|
|
392 |
* tools/formed/formed/plugins/web/server.py: The mapping |
* tools/formed/formed/plugins/web/server.py: The mapping |
393 |
to methods is now driven by regualar expressions and |
to methods is now driven by regualar expressions and |
394 |
a dictionary. Response objects are now able to send |
a dictionary. Response objects are now able to send |
395 |
error codes. |
error codes. |
396 |
|
|
397 |
* tools/formed/formed/plugins/web/renderer.py: Fixed an issue |
* tools/formed/formed/plugins/web/renderer.py: Fixed an issue |
398 |
when help in Formdata is None. Moved text for help into |
when help in Formdata is None. Moved text for help into |
399 |
a top level '''...''' variable. |
a top level '''...''' variable. |
400 |
|
|
401 |
* tools/formed/test-data/simple.xml: Added test for help. |
* tools/formed/test-data/simple.xml: Added test for help. |
402 |
|
|
404 |
|
|
405 |
* tools/formed/formed/plugins/web/plugin.py: Uses the new |
* tools/formed/formed/plugins/web/plugin.py: Uses the new |
406 |
table driven mapping of reguest handling. TODO: split the |
table driven mapping of reguest handling. TODO: split the |
407 |
WebPlugIn.pageHandler() method further to smaller handlers. |
WebPlugIn.pageHandler() method further to smaller handlers. |
408 |
Smaller clean ups and better exception handling. |
Smaller clean ups and better exception handling. |
409 |
|
|
410 |
* tools/formed/formed/plugins/web/cache.py: Report OSErrors |
* tools/formed/formed/plugins/web/cache.py: Report OSErrors |
411 |
and do not catch them. |
and do not catch them. |
412 |
|
|
413 |
2007-09-04 Torsten Irlaender <[email protected]> |
2007-09-04 Torsten Irlaender <[email protected]> |
414 |
|
|
415 |
* tools/formed/formed/plugins/web/renderer.py, |
* tools/formed/formed/plugins/web/renderer.py, |
416 |
* tools/formed/formed/plugins/web/plugin.py: Added Interface to |
* tools/formed/formed/plugins/web/plugin.py: Added Interface to |
419 |
within a <div> tag. |
within a <div> tag. |
420 |
Modified the error messages. |
Modified the error messages. |
421 |
|
|
422 |
2007-09-04 Sascha L. Teichmann <[email protected]> |
2007-09-04 Sascha L. Teichmann <[email protected]> |
423 |
|
|
424 |
* tools/formed/formed/plugins/web/cache.py: New. Implements |
* tools/formed/formed/plugins/web/cache.py: New. Implements |
425 |
the server-side caching more clean. Fixes a bug with |
the server-side caching more clean. Fixes a bug with |
426 |
serving static content. |
serving static content. |
427 |
|
|
428 |
* tools/formed/formed/plugins/web/plugin.py: Use the new cache. |
* tools/formed/formed/plugins/web/plugin.py: Use the new cache. |
429 |
|
|
430 |
2007-09-04 Sascha L. Teichmann <[email protected]> |
2007-09-04 Sascha L. Teichmann <[email protected]> |
431 |
|
|
432 |
* tools/formed/formed/plugins/web/plugin.py: Set MIME type |
* tools/formed/formed/plugins/web/plugin.py: Set MIME type |
433 |
to "application/xhtml+xml" when serving help texts. |
to "application/xhtml+xml" when serving help texts. |
434 |
|
|
435 |
2007-09-03 Sascha L. Teichmann <[email protected]> |
2007-09-03 Sascha L. Teichmann <[email protected]> |
436 |
|
|
437 |
* tools/formed/formed/plugins/export/diff.py: New. Exports |
* tools/formed/formed/plugins/export/diff.py: New. Exports |
438 |
pairwise differences between all modes. |
pairwise differences between all modes. |
439 |
|
|
440 |
* tools/formed/formed/config.py: Use new export filter. |
* tools/formed/formed/config.py: Use new export filter. |
441 |
|
|
442 |
2007-09-03 Sascha L. Teichmann <[email protected]> |
2007-09-03 Sascha L. Teichmann <[email protected]> |
443 |
|
|
444 |
* tools/formed/formed/plugins/web/help.py: New. Parses an |
* tools/formed/formed/plugins/web/help.py: New. Parses an |
445 |
XHTML document for id'ed divs and builds a help lookup. |
XHTML document for id'ed divs and builds a help lookup. |
453 |
* tools/formed/formed/plugins/web/plugin.py: Serves the help |
* tools/formed/formed/plugins/web/plugin.py: Serves the help |
454 |
texts now. |
texts now. |
455 |
|
|
456 |
2007-09-03 Torsten Irlaender <[email protected]> |
2007-09-03 Torsten Irlaender <[email protected]> |
457 |
|
|
458 |
* tools/formed/formed/plugins/web/plugin.py: Only visible group |
* tools/formed/formed/plugins/web/plugin.py: Only visible group |
459 |
elements will be rendered in the formular navigation. |
elements will be rendered in the formular navigation. |
460 |
Formular pages in the navigation now have their own css-style |
Formular pages in the navigation now have their own css-style |
461 |
attributes. |
attributes. |
462 |
|
|
463 |
2007-09-03 Torsten Irlaender <[email protected]> |
2007-09-03 Torsten Irlaender <[email protected]> |
464 |
|
|
465 |
* tools/formed/formed/plugins/web/www/main.tmpl: Added div area for page |
* tools/formed/formed/plugins/web/www/main.tmpl: Added div area for page |
466 |
errors in template |
errors in template |
467 |
* tools/formed/formed/plugins/web/plugin.py: Fixed undefined |
* tools/formed/formed/plugins/web/plugin.py: Fixed undefined |
468 |
pageerrors variable |
pageerrors variable |
469 |
|
|
470 |
2007-09-03 Frank Koormann <[email protected]> |
2007-09-03 Frank Koormann <[email protected]> |
471 |
|
|
472 |
* tools/formed/formed/plugins/export/html.py |
* tools/formed/formed/plugins/export/html.py |
473 |
(RecursiveExporter): Added annotation to export |
(RecursiveExporter): Added annotation to export |
474 |
(fillRow()): Renamed old fillNine to this more generic name. |
(fillRow()): Renamed old fillNine to this more generic name. |
475 |
|
|
476 |
|
|
477 |
2007-09-03 Sascha L. Teichmann <[email protected]> |
2007-09-03 Sascha L. Teichmann <[email protected]> |
478 |
|
|
479 |
* tools/formed/formed/plugins/web/renderer.py: Using the decorator |
* tools/formed/formed/plugins/web/renderer.py: Using the decorator |
480 |
from model.misc now. |
from model.misc now. |
481 |
|
|
482 |
2007-09-03 Sascha L. Teichmann <[email protected]> |
2007-09-03 Sascha L. Teichmann <[email protected]> |
483 |
|
|
484 |
* tools/formed/formed/model/nodecomponents.py: Added an |
* tools/formed/formed/model/nodecomponents.py: Added an |
485 |
'annotation' attribute to node components. This is to |
'annotation' attribute to node components. This is to |
486 |
enable FormEd document authors to add comments to groups |
enable FormEd document authors to add comments to groups |
487 |
and fields. |
and fields. |
488 |
|
|
489 |
2007-09-03 Frank Koormann <[email protected]> |
2007-09-03 Frank Koormann <[email protected]> |
490 |
|
|
491 |
* tools/formed/formed/model/nodecomponents.py |
* tools/formed/formed/model/nodecomponents.py |
492 |
(NodeComponent.getParent): New method to get node components parent. |
(NodeComponent.getParent): New method to get node components parent. |
494 |
* tools/formed/formed/plugins/export/html.py: Export Choice option |
* tools/formed/formed/plugins/export/html.py: Export Choice option |
495 |
as simple list instead of collection of bools. |
as simple list instead of collection of bools. |
496 |
|
|
497 |
2007-09-02 Sascha L. Teichmann <[email protected]> |
2007-09-02 Sascha L. Teichmann <[email protected]> |
498 |
|
|
499 |
* tools/formed/formed/model/persistent.py: Interfaces to abstract |
* tools/formed/formed/model/persistent.py: Interfaces to abstract |
500 |
from persistent storage details. |
from persistent storage details. |
504 |
|
|
505 |
* tools/formed/formed/main.py: Holds a memory data store now. |
* tools/formed/formed/main.py: Holds a memory data store now. |
506 |
|
|
507 |
2007-09-02 Sascha L. Teichmann <[email protected]> |
2007-09-02 Sascha L. Teichmann <[email protected]> |
508 |
|
|
509 |
* tools/formed/formed/plugins/export/sql.py, |
* tools/formed/formed/plugins/export/sql.py, |
510 |
tools/formed/formed/plugins/export/html.py: Fixed constructor chains |
tools/formed/formed/plugins/export/html.py: Fixed constructor chains |
511 |
for FileDialogFilter sub classes. |
for FileDialogFilter sub classes. |
512 |
|
|
513 |
2007-09-02 Sascha L. Teichmann <[email protected]> |
2007-09-02 Sascha L. Teichmann <[email protected]> |
514 |
|
|
515 |
* tools/formed/formed/model/misc.py: Checking the mode in recursive |
* tools/formed/formed/model/misc.py: Checking the mode in recursive |
516 |
tree traversals is a common task. To ease this a decorator function |
tree traversals is a common task. To ease this a decorator function |
517 |
checkMode in union with sub classing ModeChecker can be used. |
checkMode in union with sub classing ModeChecker can be used. |
518 |
To make it work simply subclass from ModeChecker and add the decorator |
To make it work simply subclass from ModeChecker and add the decorator |
519 |
to the methods that need mode tracking. Before you start the recursion |
to the methods that need mode tracking. Before you start the recursion |
520 |
call self.prepareDescent(). |
call self.prepareDescent(). |
521 |
|
|
522 |
* tools/formed/formed/plugins/export/html.py: Uses the new decorator scheme |
* tools/formed/formed/plugins/export/html.py: Uses the new decorator scheme |
523 |
now which replace the old. TODO: Make the web renderer use the new scheme |
now which replace the old. TODO: Make the web renderer use the new scheme |
524 |
too. |
too. |
525 |
|
|
526 |
2007-09-02 Sascha L. Teichmann <[email protected]> |
2007-09-02 Sascha L. Teichmann <[email protected]> |
527 |
|
|
528 |
* tools/formed/formed/plugins/export/sql.py: Removed needless import. |
* tools/formed/formed/plugins/export/sql.py: Removed needless import. |
529 |
|
|
530 |
* tools/formed/formed/plugins/export/html.py: HTML table exporter |
* tools/formed/formed/plugins/export/html.py: HTML table exporter |
531 |
uses new FileDialogFilter base class too. |
uses new FileDialogFilter base class too. |
532 |
|
|
533 |
2007-09-02 Sascha L. Teichmann <[email protected]> |
2007-09-02 Sascha L. Teichmann <[email protected]> |
534 |
|
|
535 |
* tools/formed/formed/plugins/ui/*: New. All file exporters |
* tools/formed/formed/plugins/ui/*: New. All file exporters |
536 |
need a file dialog. Till now each of them pulled up its |
need a file dialog. Till now each of them pulled up its |
537 |
own. This was silly code replication. Now there is an abstract |
own. This was silly code replication. Now there is an abstract |
538 |
base class 'FileDialogFilter' which implements the common |
base class 'FileDialogFilter' which implements the common |
539 |
behavior. The file exporters should subclass it. |
behavior. The file exporters should subclass it. |
540 |
|
|
541 |
* tools/formed/formed/plugins/export/sql.py: Subclass the SQL |
* tools/formed/formed/plugins/export/sql.py: Subclass the SQL |
542 |
exporters from the new base class. TODO: Subclass the HTML |
exporters from the new base class. TODO: Subclass the HTML |
543 |
exporter too. |
exporter too. |
544 |
|
|
545 |
2007-08-31 Sascha L. Teichmann <[email protected]> |
2007-08-31 Sascha L. Teichmann <[email protected]> |
546 |
|
|
547 |
* tools/formed/formed/plugins/export/html.py: Make mode check |
* tools/formed/formed/plugins/export/html.py: Make mode check |
548 |
work (again). |
work (again). |
549 |
|
|
550 |
2007-08-31 Torsten Irlaender <[email protected]> |
2007-08-31 Torsten Irlaender <[email protected]> |
551 |
|
|
552 |
* tools/formed/formed/plugins/export/html.py: Rendering of the HTML |
* tools/formed/formed/plugins/export/html.py: Rendering of the HTML |
553 |
exprt works now in a recursive way. This change was needed because |
exprt works now in a recursive way. This change was needed because |
555 |
full hirachically document stuctures. (nested lists) |
full hirachically document stuctures. (nested lists) |
556 |
TODO: Fix modechecking |
TODO: Fix modechecking |
557 |
|
|
558 |
2007-08-31 Torsten Irlaender <[email protected]> |
2007-08-31 Torsten Irlaender <[email protected]> |
559 |
|
|
560 |
* tools/formed/formed/plugins/web/plugin.py: Navigation rendering works |
* tools/formed/formed/plugins/web/plugin.py: Navigation rendering works |
561 |
now in recursive way. This change was needed because the structure |
now in recursive way. This change was needed because the structure |
562 |
of the formedtree has changed to be able to render full hirachically |
of the formedtree has changed to be able to render full hirachically |
563 |
document stuctures. (nested lists) |
document stuctures. (nested lists) |
564 |
|
|
565 |
2007-08-31 Sascha L. Teichmann <[email protected]> |
2007-08-31 Sascha L. Teichmann <[email protected]> |
566 |
|
|
567 |
* tools/formed/formed/model/nodecomponents.py: use discard() |
* tools/formed/formed/model/nodecomponents.py: use discard() |
568 |
instead of remove on sets. |
instead of remove on sets. |
573 |
* tools/formed/formed/config.py: Added the new exporter |
* tools/formed/formed/config.py: Added the new exporter |
574 |
to the list of export filters. |
to the list of export filters. |
575 |
|
|
576 |
2007-08-30 Sascha L. Teichmann <[email protected]> |
2007-08-30 Sascha L. Teichmann <[email protected]> |
577 |
|
|
578 |
* tools/formed/formed/model/data.py: Fixed a bug in |
* tools/formed/formed/model/data.py: Fixed a bug in |
579 |
Page.allWidgets() |
Page.allWidgets() |
583 |
|
|
584 |
* tools/formed/formed/config.py: Add the new SP exporter. |
* tools/formed/formed/config.py: Add the new SP exporter. |
585 |
|
|
586 |
2007-08-29 Torsten Irlaender <[email protected]> |
2007-08-29 Torsten Irlaender <[email protected]> |
587 |
|
|
588 |
* tools/formed/formed/plugins/web/plugin.py, |
* tools/formed/formed/plugins/web/plugin.py, |
589 |
tools/formed/formed/plugins/web/error_renderer.py: Added interface |
tools/formed/formed/plugins/web/error_renderer.py: Added interface |
590 |
to get the errors for a whole page in te formular. These errors can |
to get the errors for a whole page in te formular. These errors can |
591 |
now be displayed on the top of the formular. |
now be displayed on the top of the formular. |
592 |
|
|
593 |
2007-08-29 Torsten Irlaender <[email protected]> |
2007-08-29 Torsten Irlaender <[email protected]> |
594 |
|
|
595 |
* tools/formed/formed/plugins/web/renderer.py: Finished implementation |
* tools/formed/formed/plugins/web/renderer.py: Finished implementation |
596 |
of the getFromData interface and prepared the rederer for generating |
of the getFromData interface and prepared the rederer for generating |
597 |
nice error messages |
nice error messages |
598 |
|
|
599 |
2007-08-28 Frank Koormann <[email protected]> |
2007-08-28 Frank Koormann <[email protected]> |
600 |
|
|
601 |
* tools/formed/formed/plugins/export/sql.py |
* tools/formed/formed/plugins/export/sql.py |
602 |
(SchemaCreator.createSchema, SchemaCreator._createGroup): |
(SchemaCreator.createSchema, SchemaCreator._createGroup): |
603 |
Fixed typo in created DDS (PRIMRAY -> PRIMARY) |
Fixed typo in created DDS (PRIMRAY -> PRIMARY) |
604 |
|
|
605 |
2007-08-28 Torsten Irlaender <[email protected]> |
2007-08-28 Torsten Irlaender <[email protected]> |
606 |
|
|
607 |
* tools/formed/formed/plugins/export/sql.py: Added small helper |
* tools/formed/formed/plugins/export/sql.py: Added small helper |
608 |
function to generated valid quotes within the sql statements |
function to generated valid quotes within the sql statements |
609 |
|
|
610 |
2007-08-29 Sascha L. Teichmann <[email protected]> |
2007-08-29 Sascha L. Teichmann <[email protected]> |
611 |
|
|
612 |
* tools/formed/formed/plugins/export/sql.py: Added foreign keys |
* tools/formed/formed/plugins/export/sql.py: Added foreign keys |
613 |
for repeat tables. |
for repeat tables. |
614 |
|
|
615 |
2007-08-29 Sascha L. Teichmann <[email protected]> |
2007-08-29 Sascha L. Teichmann <[email protected]> |
616 |
|
|
617 |
* tools/formed/formed/plugins/export/sql.py: When generating |
* tools/formed/formed/plugins/export/sql.py: When generating |
618 |
an extra table check in a table of same content exists. In |
an extra table check in a table of same content exists. In |
619 |
this case reference the existing table. |
this case reference the existing table. |
620 |
|
|
621 |
2007-08-29 Sascha L. Teichmann <[email protected]> |
2007-08-29 Sascha L. Teichmann <[email protected]> |
622 |
|
|
623 |
* tools/formed/formed/plugins/export/sql.py: Rewritten to produce |
* tools/formed/formed/plugins/export/sql.py: Rewritten to produce |
624 |
_real_ SQL and respect repeat groups. |
_real_ SQL and respect repeat groups. |
628 |
* tools/formed/formed/plugins/web/renderer.py: Use "".join([]) |
* tools/formed/formed/plugins/web/renderer.py: Use "".join([]) |
629 |
instead of expensive += string concat in some places. |
instead of expensive += string concat in some places. |
630 |
|
|
631 |
2007-08-29 Sascha L. Teichmann <[email protected]> |
2007-08-29 Sascha L. Teichmann <[email protected]> |
632 |
|
|
633 |
* tools/formed/formed/model/data.py: Renamed GroupNode.getRepeat() |
* tools/formed/formed/model/data.py: Renamed GroupNode.getRepeat() |
634 |
to .isRepeat and return a bool. Fixed a bug in Page.allWidgets(). |
to .isRepeat and return a bool. Fixed a bug in Page.allWidgets(). |
635 |
|
|
636 |
2007-08-28 Torsten Irlaender <[email protected]> |
2007-08-28 Torsten Irlaender <[email protected]> |
637 |
|
|
638 |
* tools/formed/plugins/web/renderer.py: Added Formdata interface. |
* tools/formed/plugins/web/renderer.py: Added Formdata interface. |
639 |
* tools/formed/model/data.py: Implements Formadata interface to |
* tools/formed/model/data.py: Implements Formadata interface to |
641 |
attribute of the groupnode. Field-label generation slightly changed. |
attribute of the groupnode. Field-label generation slightly changed. |
642 |
Added error indication to textfields |
Added error indication to textfields |
643 |
|
|
644 |
2007-08-28 Sascha L. Teichmann <[email protected]> |
2007-08-28 Sascha L. Teichmann <[email protected]> |
645 |
|
|
646 |
* tools/formed/formed/model/data.py, |
* tools/formed/formed/model/data.py, |
647 |
tools/formed/formed/io/document.py: Removed support |
tools/formed/formed/io/document.py: Removed support |
648 |
of logical groups. |
of logical groups. |
649 |
|
|
650 |
2007-08-28 Sascha L. Teichmann <[email protected]> |
2007-08-28 Sascha L. Teichmann <[email protected]> |
651 |
|
|
652 |
* tools/formed/formed/io/document.py: Avoid saving empty |
* tools/formed/formed/io/document.py: Avoid saving empty |
653 |
attributes. |
attributes. |
654 |
|
|
655 |
* tools/formed/test-data/simple.xml: Applied. |
* tools/formed/test-data/simple.xml: Applied. |
656 |
|
|
657 |
2007-08-28 Sascha L. Teichmann <[email protected]> |
2007-08-28 Sascha L. Teichmann <[email protected]> |
658 |
|
|
659 |
* tools/formed/formed/model/data.py: Added 'repeat' and |
* tools/formed/formed/model/data.py: Added 'repeat' and |
660 |
'invisible' attributes to group. TODO: remove logical group. |
'invisible' attributes to group. TODO: remove logical group. |
661 |
|
|
662 |
2007-08-27 Torsten Irlaender <[email protected]> |
2007-08-27 Torsten Irlaender <[email protected]> |
663 |
|
|
664 |
* tools/formed/plugins/web/plugin.py, |
* tools/formed/plugins/web/plugin.py, |
665 |
tools/formed/plugins/web/renderer.py: Started to include stylesheet |
tools/formed/plugins/web/renderer.py: Started to include stylesheet |
666 |
depending tags in the html generation. |
depending tags in the html generation. |
667 |
|
|
668 |
2007-08-27 Sascha L. Teichmann <[email protected]> |
2007-08-27 Sascha L. Teichmann <[email protected]> |
669 |
|
|
670 |
* tools/formed/formed/model/data.py, |
* tools/formed/formed/model/data.py, |
671 |
tools/formed/formed/io/document.py: Added a logical group. |
tools/formed/formed/io/document.py: Added a logical group. |
672 |
It has an attribute 'repeat' to indicate that it might |
It has an attribute 'repeat' to indicate that it might |
673 |
be worthy an external table in DB schema. |
be worthy an external table in DB schema. |
674 |
|
|
675 |
2007-08-27 Sascha L. Teichmann <[email protected]> |
2007-08-27 Sascha L. Teichmann <[email protected]> |
676 |
|
|
677 |
* tools/formed/formed/plugins/web/plugin.py: Support |
* tools/formed/formed/plugins/web/plugin.py: Support |
678 |
serving of static content. |
serving of static content. |
680 |
* tools/formed/formed/plugins/web/server.py: Removed |
* tools/formed/formed/plugins/web/server.py: Removed |
681 |
old send code. |
old send code. |
682 |
|
|
683 |
2007-08-27 Sascha L. Teichmann <[email protected]> |
2007-08-27 Sascha L. Teichmann <[email protected]> |
684 |
|
|
685 |
* tools/formed/formed/plugins/web/plugin.py: Use new |
* tools/formed/formed/plugins/web/plugin.py: Use new |
686 |
Response object. Fix typo. |
Response object. Fix typo. |
688 |
* tools/formed/formed/plugins/web/server.py: support |
* tools/formed/formed/plugins/web/server.py: support |
689 |
response object to serve different MIME types. |
response object to serve different MIME types. |
690 |
|
|
691 |
2007-08-27 Sascha L. Teichmann <[email protected]> |
2007-08-27 Sascha L. Teichmann <[email protected]> |
692 |
|
|
693 |
* tools/formed/formed/plugins/web/plugin.py: Add web.path |
* tools/formed/formed/plugins/web/plugin.py: Add web.path |
694 |
to FORMED environment variable to specify the |
to FORMED environment variable to specify the |
695 |
root of the static content. |
root of the static content. |
696 |
|
|
697 |
2007-08-26 Sascha L. Teichmann <[email protected]> |
2007-08-26 Sascha L. Teichmann <[email protected]> |
698 |
|
|
699 |
* tools/formed/formed/model/data.py, |
* tools/formed/formed/model/data.py, |
700 |
tools/formed/formed/model/nodecomponents.py: Fixed mode issues. |
tools/formed/formed/model/nodecomponents.py: Fixed mode issues. |
701 |
|
|
702 |
* tools/formed/formed/plugins/web/www, |
* tools/formed/formed/plugins/web/www, |
703 |
tools/formed/formed/plugins/web/www/main.tmpl: New. Contains |
tools/formed/formed/plugins/web/www/main.tmpl: New. Contains |
704 |
a template for the HTML output. |
a template for the HTML output. |
705 |
|
|
706 |
* tools/formed/formed/plugins/web/plugin.py: Fixes several smaller |
* tools/formed/formed/plugins/web/plugin.py: Fixes several smaller |
707 |
mode issues. Introduces CSS support. Simplified the action |
mode issues. Introduces CSS support. Simplified the action |
708 |
handling. |
handling. |
709 |
|
|
710 |
* tools/formed/formed/plugins/web/renderer.py: Removed the |
* tools/formed/formed/plugins/web/renderer.py: Removed the |
711 |
nagivation code. |
nagivation code. |
712 |
|
|
713 |
* tools/formed/formed/plugins/web/server.py: Added missing import. |
* tools/formed/formed/plugins/web/server.py: Added missing import. |
714 |
|
|
715 |
2007-08-26 Sascha L. Teichmann <[email protected]> |
2007-08-26 Sascha L. Teichmann <[email protected]> |
716 |
|
|
717 |
* tools/formed/formed/model/data.py: Added missing broadcast |
* tools/formed/formed/model/data.py: Added missing broadcast |
718 |
parameter to setAttribute() of RuleLeaf. |
parameter to setAttribute() of RuleLeaf. |
726 |
* tools/formed/formed/plugins/web/server.py: New. Contains |
* tools/formed/formed/plugins/web/server.py: New. Contains |
727 |
the HTTP server code now. |
the HTTP server code now. |
728 |
|
|
729 |
2007-08-26 Sascha L. Teichmann <[email protected]> |
2007-08-26 Sascha L. Teichmann <[email protected]> |
730 |
|
|
731 |
* tools/formed/test-data/simple.xml: Modified to contain a rule. |
* tools/formed/test-data/simple.xml: Modified to contain a rule. |
732 |
|
|
733 |
* tools/formed/formed/model/expr.py: Added. A simple RPN |
* tools/formed/formed/model/expr.py: Added. A simple RPN |
734 |
expression evaluator. To avoid the problem of eval()ing |
expression evaluator. To avoid the problem of eval()ing |
735 |
arbitrary python expressions I've decided to use a very |
arbitrary python expressions I've decided to use a very |
736 |
basic and limited stack machine to support rule checking. |
basic and limited stack machine to support rule checking. |
737 |
|
|
738 |
* tools/formed/formed/model/data.py: Added a RuleLeaf. |
* tools/formed/formed/model/data.py: Added a RuleLeaf. |
739 |
|
|
741 |
|
|
742 |
* tools/formed/formed/model/nodecomponents.py: Add a method |
* tools/formed/formed/model/nodecomponents.py: Add a method |
743 |
to find all items of a given type in document for a given |
to find all items of a given type in document for a given |
744 |
mode. Usefull to find all rules in the tree. |
mode. Usefull to find all rules in the tree. |
745 |
|
|
746 |
* tools/formed/formed/ui/controls.py: Added a listener mechanism |
* tools/formed/formed/ui/controls.py: Added a listener mechanism |
747 |
to attribute table to report exceptions when setting a value |
to attribute table to report exceptions when setting a value |
748 |
from GUI. Useful to report compilation errors when setting |
from GUI. Useful to report compilation errors when setting |
749 |
expr of rule leafs. |
expr of rule leafs. |
750 |
|
|
751 |
* tools/formed/formed/main.py: Added a method to track exceptions |
* tools/formed/formed/main.py: Added a method to track exceptions |
752 |
from the attribute table and pop up dialogs if they occur. |
from the attribute table and pop up dialogs if they occur. |
753 |
Added a counter of rule modifications in tree. Useful if you |
Added a counter of rule modifications in tree. Useful if you |
754 |
want build cached data structures like rule sets and you want |
want build cached data structures like rule sets and you want |
755 |
to know if they are still valid. |
to know if they are still valid. |
756 |
|
|
757 |
2007-08-24 Torsten Irlaender <[email protected]> |
2007-08-24 Torsten Irlaender <[email protected]> |
758 |
|
|
759 |
* tools/formed/formed/plugins/export/sql.py: Fixed CHECK-constraint |
* tools/formed/formed/plugins/export/sql.py: Fixed CHECK-constraint |
760 |
for checkbox values. (Syntax error). |
for checkbox values. (Syntax error). |
762 |
* tools/formed/formed/plugins/names/filter.py: Fixes in formularname |
* tools/formed/formed/plugins/names/filter.py: Fixes in formularname |
763 |
generation |
generation |
764 |
|
|
765 |
2007-08-24 Torsten Irlaender <[email protected]> |
2007-08-24 Torsten Irlaender <[email protected]> |
766 |
|
|
767 |
* tools/formed/formed/plugins/names/filter.py: Separated Class for |
* tools/formed/formed/plugins/names/filter.py: Separated Class for |
768 |
making the formularnames more database friendly. Added some more |
making the formularnames more database friendly. Added some more |
770 |
* tools/formed/formed/plugins/export/sql.py: Make use of the fresh |
* tools/formed/formed/plugins/export/sql.py: Make use of the fresh |
771 |
separated class, and some fixes in sql generation. |
separated class, and some fixes in sql generation. |
772 |
|
|
773 |
2007-08-24 Sascha L. Teichmann <[email protected]> |
2007-08-24 Sascha L. Teichmann <[email protected]> |
774 |
|
|
775 |
* tools/formed/formed/plugins/export/html.py: Print lengths |
* tools/formed/formed/plugins/export/html.py: Print lengths |
776 |
of external choice list. |
of external choice list. |
777 |
|
|
778 |
2007-08-24 Sascha L. Teichmann <[email protected]> |
2007-08-24 Sascha L. Teichmann <[email protected]> |
779 |
|
|
780 |
* tools/formed/formed/main.py: Little workaround for |
* tools/formed/formed/main.py: Little workaround for |
781 |
mode selection if someone adds an removes a mode. |
mode selection if someone adds an removes a mode. |
782 |
|
|
783 |
2007-08-24 Sascha L. Teichmann <[email protected]> |
2007-08-24 Sascha L. Teichmann <[email protected]> |
784 |
|
|
785 |
* tools/formed/test-data/simple.xml: Better test case for |
* tools/formed/test-data/simple.xml: Better test case for |
786 |
mode depended leaf items. |
mode depended leaf items. |
790 |
|
|
791 |
* tools/formed/formed/plugins/export/html.py: Use effective |
* tools/formed/formed/plugins/export/html.py: Use effective |
792 |
mode. TODO: the 'all' modus return false results sometimes. |
mode. TODO: the 'all' modus return false results sometimes. |
793 |
Cause: The modes are only cumulated over time. Removal is |
Cause: The modes are only cumulated over time. Removal is |
794 |
not done. |
not done. |
795 |
|
|
796 |
2007-08-24 Sascha L. Teichmann <[email protected]> |
2007-08-24 Sascha L. Teichmann <[email protected]> |
797 |
|
|
798 |
* tools/formed/formed/plugins/export/html.py: Dump the items |
* tools/formed/formed/plugins/export/html.py: Dump the items |
799 |
of radio groups and choices too. |
of radio groups and choices too. |
800 |
|
|
801 |
2007-08-24 Torsten Irlaender <[email protected]> |
2007-08-24 Torsten Irlaender <[email protected]> |
802 |
|
|
803 |
* tools/formed/formed/plugins/names/filter.py: Modified the renaming |
* tools/formed/formed/plugins/names/filter.py: Modified the renaming |
804 |
by formular names to make the naming more database friendly. |
by formular names to make the naming more database friendly. |
805 |
Now only alphanumeric and underscore chars is allowed. |
Now only alphanumeric and underscore chars is allowed. |
806 |
|
|
807 |
2007-08-24 Sascha L. Teichmann <[email protected]> |
2007-08-24 Sascha L. Teichmann <[email protected]> |
808 |
|
|
809 |
* tools/formed/formed/plugins/export/html.py: Tweaked |
* tools/formed/formed/plugins/export/html.py: Tweaked |
810 |
HTML table exporter a bit to be on par with the XSLT |
HTML table exporter a bit to be on par with the XSLT |
811 |
script. TODO: Dump items in radio and choice groups. |
script. TODO: Dump items in radio and choice groups. |
812 |
|
|
813 |
2007-08-23 Sascha L. Teichmann <[email protected]> |
2007-08-23 Sascha L. Teichmann <[email protected]> |
814 |
|
|
815 |
* tools/formed/formed/plugins/names/filter.py: Removed |
* tools/formed/formed/plugins/names/filter.py: Removed |
816 |
HTML and SQL exporters. |
HTML and SQL exporters. |
819 |
tools/formed/formed/plugins/export/__init__.py, |
tools/formed/formed/plugins/export/__init__.py, |
820 |
tools/formed/formed/plugins/export/sql.py, |
tools/formed/formed/plugins/export/sql.py, |
821 |
tools/formed/formed/plugins/export/html.py: New: Contain |
tools/formed/formed/plugins/export/html.py: New: Contain |
822 |
the HTML and the SQL exporters now. |
the HTML and the SQL exporters now. |
823 |
|
|
824 |
* tools/formed/formed/config.py: Use exporters from different |
* tools/formed/formed/config.py: Use exporters from different |
825 |
package now. |
package now. |
826 |
|
|
827 |
2007-08-23 Torsten Irlaender <[email protected]> |
2007-08-23 Torsten Irlaender <[email protected]> |
828 |
|
|
829 |
* tools/formed/formed/plugins/names/filter.py: Added an |
* tools/formed/formed/plugins/names/filter.py: Added an |
830 |
pseudo SQL export filters. TODO: Move HTML and SQL filter |
pseudo SQL export filters. TODO: Move HTML and SQL filter |
833 |
|
|
834 |
* tools/formed/formed/config.py: Install the new SQL filter. |
* tools/formed/formed/config.py: Install the new SQL filter. |
835 |
|
|
836 |
2007-08-23 Sascha L. Teichmann <[email protected]> |
2007-08-23 Sascha L. Teichmann <[email protected]> |
837 |
|
|
838 |
* tools/formed/formed/model/nodecomponents.py: Added a depth() |
* tools/formed/formed/model/nodecomponents.py: Added a depth() |
839 |
method to determine the depth of particular tree item. |
method to determine the depth of particular tree item. |
843 |
|
|
844 |
* tools/formed/formed/config.py: Install the new HTML filter. |
* tools/formed/formed/config.py: Install the new HTML filter. |
845 |
|
|
846 |
2007-08-23 Torsten Irlaender <[email protected]> |
2007-08-23 Torsten Irlaender <[email protected]> |
847 |
|
|
848 |
* contrib/extract-xfa-fields_and_options.xsl: Added small xsl script |
* contrib/extract-xfa-fields_and_options.xsl: Added small xsl script |
849 |
to extract fields and options in the XFA Data in teh PDF. This |
to extract fields and options in the XFA Data in teh PDF. This |
850 |
script might me handy to indicate changes between the different |
script might me handy to indicate changes between the different |
851 |
formular versions. |
formular versions. |
852 |
|
|
853 |
2007-08-23 Sascha L. Teichmann <[email protected]> |
2007-08-23 Sascha L. Teichmann <[email protected]> |
854 |
|
|
855 |
* tools/formed/formed/main.py: Add an 'all' mode to |
* tools/formed/formed/main.py: Add an 'all' mode to |
856 |
select all modes. ;-) |
select all modes. ;-) |
857 |
|
|
858 |
2007-08-22 Sascha L. Teichmann <[email protected]> |
2007-08-22 Sascha L. Teichmann <[email protected]> |
859 |
|
|
860 |
* tools/formed/test-data/simple.xml, |
* tools/formed/test-data/simple.xml, |
861 |
tools/formed/formed/model/data.py, |
tools/formed/formed/model/data.py, |
865 |
tools/formed/formed/main.py: Removed support for switch nodes. |
tools/formed/formed/main.py: Removed support for switch nodes. |
866 |
BEWARE: This breaks compatibility with older documents! |
BEWARE: This breaks compatibility with older documents! |
867 |
|
|
868 |
2007-08-22 Sascha L. Teichmann <[email protected]> |
2007-08-22 Sascha L. Teichmann <[email protected]> |
869 |
|
|
870 |
* tools/formed/formed/plugins/web/plugin.py: Uses the |
* tools/formed/formed/plugins/web/plugin.py: Uses the |
871 |
getSelectedMode() from main now. |
getSelectedMode() from main now. |
876 |
* tools/formed/formed/config.py: removed selected mode from |
* tools/formed/formed/config.py: removed selected mode from |
877 |
env configuration. |
env configuration. |
878 |
|
|
879 |
2007-08-22 Sascha L. Teichmann <[email protected]> |
2007-08-22 Sascha L. Teichmann <[email protected]> |
880 |
|
|
881 |
* tools/formed/formed/ui/controls.py: Attributes in GUI attribute |
* tools/formed/formed/ui/controls.py: Attributes in GUI attribute |
882 |
table are now alphabetically sorted. |
table are now alphabetically sorted. |
883 |
|
|
884 |
2007-08-22 Sascha L. Teichmann <[email protected]> |
2007-08-22 Sascha L. Teichmann <[email protected]> |
885 |
|
|
886 |
* tools/formed/formed/model/nodecomponents.py: Added code to |
* tools/formed/formed/model/nodecomponents.py: Added code to |
887 |
establish the new 'modes' recursively. |
establish the new 'modes' recursively. |
897 |
|
|
898 |
* tools/formed/formed/main.py: Adjusted to new infrastructure. |
* tools/formed/formed/main.py: Adjusted to new infrastructure. |
899 |
|
|
900 |
2007-08-22 Sascha L. Teichmann <[email protected]> |
2007-08-22 Sascha L. Teichmann <[email protected]> |
901 |
|
|
902 |
* tools/formed/formed/model/nodecomponents.py: Added an |
* tools/formed/formed/model/nodecomponents.py: Added an |
903 |
attribute 'modes' to NodeComponents. |
attribute 'modes' to NodeComponents. |
904 |
|
|
905 |
2007-08-22 Sascha L. Teichmann <[email protected]> |
2007-08-22 Sascha L. Teichmann <[email protected]> |
906 |
|
|
907 |
* tools/formed/formed/model/data.py: Small cosmetic cleanups |
* tools/formed/formed/model/data.py: Small cosmetic cleanups |
908 |
|
|
909 |
2007-08-21 Sascha L. Teichmann <[email protected]> |
2007-08-21 Sascha L. Teichmann <[email protected]> |
910 |
|
|
911 |
* tools/formed/formed/plugins/web/renderer.py: Another fix |
* tools/formed/formed/plugins/web/renderer.py: Another fix |
912 |
for the hidden field. Argh! |
for the hidden field. Argh! |
913 |
|
|
914 |
2007-08-21 Sascha L. Teichmann <[email protected]> |
2007-08-21 Sascha L. Teichmann <[email protected]> |
915 |
|
|
916 |
* tools/formed/formed/plugins/web/renderer.py: Fixed double |
* tools/formed/formed/plugins/web/renderer.py: Fixed double |
917 |
generation of hidden page field. |
generation of hidden page field. |
918 |
|
|
919 |
2007-08-21 Sascha L. Teichmann <[email protected]> |
2007-08-21 Sascha L. Teichmann <[email protected]> |
920 |
|
|
921 |
* tools/formed/formed/plugins/web/semantic.py: Added semantic |
* tools/formed/formed/plugins/web/semantic.py: Added semantic |
922 |
checks for radio groups. |
checks for radio groups. |
923 |
|
|
924 |
2007-08-21 Sascha L. Teichmann <[email protected]> |
2007-08-21 Sascha L. Teichmann <[email protected]> |
925 |
|
|
926 |
* tools/formed/formed/plugins/web/semantic.py: Added semantic |
* tools/formed/formed/plugins/web/semantic.py: Added semantic |
927 |
checks for choices. |
checks for choices. |
936 |
* contrib/convert-formedtree2html.xsl: |
* contrib/convert-formedtree2html.xsl: |
937 |
Replace technical types with readable descriptions |
Replace technical types with readable descriptions |
938 |
|
|
939 |
2007-08-21 Sascha L. Teichmann <[email protected]> |
2007-08-21 Sascha L. Teichmann <[email protected]> |
940 |
|
|
941 |
* tools/formed/formed/plugins/web/plugin.py: Fix a few smaller |
* tools/formed/formed/plugins/web/plugin.py: Fix a few smaller |
942 |
issues. 'action' looks for all widgets on a page now, goes |
issues. 'action' looks for all widgets on a page now, goes |
943 |
through all passed parameters, tries to match them with the |
through all passed parameters, tries to match them with the |
944 |
widgets of the page and put them into the semantic box. |
widgets of the page and put them into the semantic box. |
945 |
Afterwards a list of untouched page parameters are left |
Afterwards a list of untouched page parameters are left |
946 |
which will be deleted from the semantic box. |
which will be deleted from the semantic box. |
947 |
|
|
948 |
* tools/formed/formed/plugins/web/semantic.py: Simplified. |
* tools/formed/formed/plugins/web/semantic.py: Simplified. |
949 |
The NodeComponent is passed as an argument now. |
The NodeComponent is passed as an argument now. |
951 |
* tools/formed/formed/plugins/web/renderer.py: Generate a |
* tools/formed/formed/plugins/web/renderer.py: Generate a |
952 |
hidden field to store the name of the page. |
hidden field to store the name of the page. |
953 |
|
|
954 |
2007-08-21 Sascha L. Teichmann <[email protected]> |
2007-08-21 Sascha L. Teichmann <[email protected]> |
955 |
|
|
956 |
* tools/formed/formed/plugins/web/plugin.py: Fixed an encoding |
* tools/formed/formed/plugins/web/plugin.py: Fixed an encoding |
957 |
issue with incoming UTF-8 data. |
issue with incoming UTF-8 data. |
958 |
|
|
959 |
2007-08-21 Sascha L. Teichmann <[email protected]> |
2007-08-21 Sascha L. Teichmann <[email protected]> |
960 |
|
|
961 |
* tools/formed/test-data/simple.xml: Improve test for widgets |
* tools/formed/test-data/simple.xml: Improve test for widgets |
962 |
in switches. |
in switches. |
963 |
|
|
964 |
* tools/formed/formed/model/data.py: Added a method to find all |
* tools/formed/formed/model/data.py: Added a method to find all |
965 |
widgets in a given page. Fixed a bug when walking in switch |
widgets in a given page. Fixed a bug when walking in switch |
966 |
with a given mode. |
with a given mode. |
967 |
|
|
968 |
* tools/formed/formed/plugins/web/plugin.py: Simple test for |
* tools/formed/formed/plugins/web/plugin.py: Simple test for |
969 |
listing all widgets in page. |
listing all widgets in page. |
970 |
|
|
971 |
2007-08-21 Torsten Irlaender <[email protected]> |
2007-08-21 Torsten Irlaender <[email protected]> |
972 |
|
|
973 |
* tools/formed/formed/plugins/names/filter.py: Fixed file-encoding to |
* tools/formed/formed/plugins/names/filter.py: Fixed file-encoding to |
974 |
latin-1 |
latin-1 |
975 |
|
|
976 |
2007-08-21 Sascha L. Teichmann <[email protected]> |
2007-08-21 Sascha L. Teichmann <[email protected]> |
977 |
|
|
978 |
* tools/formed/formed/model/data.py: Added mode parameter to |
* tools/formed/formed/model/data.py: Added mode parameter to |
979 |
walk. |
walk. |
980 |
|
|
981 |
* tools/formed/formed/model/nodecomponents.py: SwitchNode overwrites |
* tools/formed/formed/model/nodecomponents.py: SwitchNode overwrites |
982 |
walk() with usage of the new mode parameter. Added a method to |
walk() with usage of the new mode parameter. Added a method to |
983 |
give children in a given mode. |
give children in a given mode. |
984 |
|
|
985 |
* tools/formed/formed/plugins/web/renderer.py: Simplified to use |
* tools/formed/formed/plugins/web/renderer.py: Simplified to use |
986 |
new Switch.childrenInMode() method. |
new Switch.childrenInMode() method. |
987 |
|
|
988 |
2007-08-21 Sascha L. Teichmann <[email protected]> |
2007-08-21 Sascha L. Teichmann <[email protected]> |
989 |
|
|
990 |
* tools/formed/formed/plugins/web/semantic.py: Add checks for |
* tools/formed/formed/plugins/web/semantic.py: Add checks for |
991 |
texts and text areas. |
texts and text areas. |
993 |
* tools/formed/formed/plugins/web/renderer.py: Set accept-charset |
* tools/formed/formed/plugins/web/renderer.py: Set accept-charset |
994 |
to UTF-8 in generated form. |
to UTF-8 in generated form. |
995 |
|
|
996 |
2007-08-20 Sascha L. Teichmann <[email protected]> |
2007-08-20 Sascha L. Teichmann <[email protected]> |
997 |
|
|
998 |
* tools/formed/formed/plugins/web/semantic.py: Added semantic |
* tools/formed/formed/plugins/web/semantic.py: Added semantic |
999 |
tests for dates. |
tests for dates. |
1000 |
|
|
1001 |
2007-08-20 Sascha L. Teichmann <[email protected]> |
2007-08-20 Sascha L. Teichmann <[email protected]> |
1002 |
|
|
1003 |
* tools/formed/test-data/simple.xml: Tweak a bit for integer |
* tools/formed/test-data/simple.xml: Tweak a bit for integer |
1004 |
range test. |
range test. |
1012 |
* tools/formed/formed/plugins/web/plugin.py: Use semantic |
* tools/formed/formed/plugins/web/plugin.py: Use semantic |
1013 |
check. |
check. |
1014 |
|
|
1015 |
2007-08-20 Torsten Irlaender <[email protected]> |
2007-08-20 Torsten Irlaender <[email protected]> |
1016 |
|
|
1017 |
* tools/formed/formed/plugins/web/renderer.py: Fixed Syntax in |
* tools/formed/formed/plugins/web/renderer.py: Fixed Syntax in |
1018 |
selection-field generation (Removed quote) |
selection-field generation (Removed quote) |
1025 |
renderer. This submit parameters are stored in the |
renderer. This submit parameters are stored in the |
1026 |
session now. This will ease testing the constraint |
session now. This will ease testing the constraint |
1027 |
tests which need to be written soon. |
tests which need to be written soon. |
1028 |
|
|
1029 |
BEWARE: The session management is _not_ made for production! |
BEWARE: The session management is _not_ made for production! |
1030 |
Denial of service attacks are too easy, and the |
Denial of service attacks are too easy, and the |
1031 |
cryptographical strength of the session id is doubtful. |
cryptographical strength of the session id is doubtful. |
1043 |
and can be hooked automatically into the new 'Filters' |
and can be hooked automatically into the new 'Filters' |
1044 |
sub menu under 'Extra'. They got called when the user |
sub menu under 'Extra'. They got called when the user |
1045 |
selects their respective menu item. |
selects their respective menu item. |
1046 |
|
|
1047 |
* tools/formed/formed/config.py: Contains the list of |
* tools/formed/formed/config.py: Contains the list of |
1048 |
installed filters. |
installed filters. |
1049 |
|
|
1104 |
|
|
1105 |
* tools/formed/formed/main.py: Swaped order of |
* tools/formed/formed/main.py: Swaped order of |
1106 |
'Make names unique' and 'Selected mode...' in Extra |
'Make names unique' and 'Selected mode...' in Extra |
1107 |
menu and put a separator between them. |
menu and put a separator between them. |
1108 |
|
|
1109 |
2007-08-15 Sascha L. Teichmann <[email protected]> |
2007-08-15 Sascha L. Teichmann <[email protected]> |
1110 |
|
|
1113 |
|
|
1114 |
* tools/formed/formed/plugins/plugin.py: Simplified |
* tools/formed/formed/plugins/plugin.py: Simplified |
1115 |
the plug-in interface. Only the reference to the |
the plug-in interface. Only the reference to the |
1116 |
global configuration is passed at setup time. |
global configuration is passed at setup time. |
1117 |
|
|
1118 |
* tools/formed/formed/plugins/web/plugin.py: Adjusted |
* tools/formed/formed/plugins/web/plugin.py: Adjusted |
1119 |
to new plug-in setup. The traveral mode is now taken |
to new plug-in setup. The traveral mode is now taken |
1120 |
from the global configuration each time a rendering |
from the global configuration each time a rendering |
1121 |
is triggered. The FORMED parameter is now named |
is triggered. The FORMED parameter is now named |
1122 |
'doc.mode' instead of 'web.mode'. The parameter |
'doc.mode' instead of 'web.mode'. The parameter |
1123 |
is not needed any more because it can be configured |
is not needed any more because it can be configured |
1124 |
at runtime. |
at runtime. |
1125 |
|
|
1126 |
* tools/formed/formed/main.py: Adjusted to new plugin |
* tools/formed/formed/main.py: Adjusted to new plugin |
1127 |
setup. Added a new menu item Extra->Select Mode... |
setup. Added a new menu item Extra->Select Mode... |
1128 |
to select the traversal mode. It is stored in the |
to select the traversal mode. It is stored in the |
1129 |
global config. |
global config. |
1130 |
|
|
1131 |
* tools/formed/formed/config.py: Simplified. Only uses |
* tools/formed/formed/config.py: Simplified. Only uses |
1132 |
one env dictionary to store global configuration parameters. |
one env dictionary to store global configuration parameters. |
1138 |
|
|
1139 |
* tools/formed/formed/plugins/web/plugin.py, |
* tools/formed/formed/plugins/web/plugin.py, |
1140 |
tools/formed/formed/plugins/web/renderer.py: Added parameter |
tools/formed/formed/plugins/web/renderer.py: Added parameter |
1141 |
print out in web plugin. |
print out in web plugin. |
1142 |
|
|
1143 |
2007-08-15 Torsten Irlaender <[email protected]> |
2007-08-15 Torsten Irlaender <[email protected]> |
1144 |
|
|
1156 |
|
|
1157 |
* tools/formed/formed/plugins/web/plugin.py, |
* tools/formed/formed/plugins/web/plugin.py, |
1158 |
tools/formed/formed/config.py: Added a 'web.mode' parameter |
tools/formed/formed/config.py: Added a 'web.mode' parameter |
1159 |
to FORMED environment variable. |
to FORMED environment variable. |
1160 |
e.g. 'FORMED=web.mode:modeX' sets the mode 'modeX'. |
e.g. 'FORMED=web.mode:modeX' sets the mode 'modeX'. |
1161 |
Defaults to 'default'. |
Defaults to 'default'. |
1162 |
|
|
1163 |
* tools/formed/test-data/simple.xml: Added test for switch. |
* tools/formed/test-data/simple.xml: Added test for switch. |
1164 |
|
|
1172 |
* tools/formed/formed/io/document.py, |
* tools/formed/formed/io/document.py, |
1173 |
tools/formed/formed/model/data.py, |
tools/formed/formed/model/data.py, |
1174 |
tools/formed/formed/model/nodecomponents.py: Added an item |
tools/formed/formed/model/nodecomponents.py: Added an item |
1175 |
to model external item lists. |
to model external item lists. |
1176 |
|
|
1177 |
* tools/formed/formed/plugins/web/renderer.py: Render new item |
* tools/formed/formed/plugins/web/renderer.py: Render new item |
1178 |
list. |
list. |
1189 |
|
|
1190 |
* contrib/extract-xfa-items.sh: New. Can be used to extract longer |
* contrib/extract-xfa-items.sh: New. Can be used to extract longer |
1191 |
choice item lists for a given field from XFA files. e.g. with |
choice item lists for a given field from XFA files. e.g. with |
1192 |
'./contrib/extract-xfa-items.sh Muttersprache alles.xml' |
'./contrib/extract-xfa-items.sh Muttersprache alles.xml' |
1193 |
|
|
1194 |
2007-08-12 Sascha L. Teichmann <[email protected]> |
2007-08-12 Sascha L. Teichmann <[email protected]> |
1195 |
|
|
1196 |
* tools/formed/formed/model/data.py, |
* tools/formed/formed/model/data.py, |
1197 |
tools/formed/formed/plugins/web/renderer.py, |
tools/formed/formed/plugins/web/renderer.py, |
1198 |
tools/formed/formed/io/document.py: Changed the structure |
tools/formed/formed/io/document.py: Changed the structure |
1199 |
of choice constructs. The idea to hold the different items |
of choice constructs. The idea to hold the different items |
1200 |
of a particular choice in a semicolon separated list was bad. |
of a particular choice in a semicolon separated list was bad. |
1201 |
Now choices are groups and the option items are modelled as |
Now choices are groups and the option items are modelled as |
1202 |
embedded bools. (mainly Torsten Irländer's idea). |
embedded bools. (mainly Torsten Irländer's idea). |
1203 |
|
|
1204 |
WARNING: this makes old document files containing choices incompatible!!! |
WARNING: this makes old document files containing choices incompatible!!! |
1205 |
Use the following XSLT to reestablish compatibility. |
Use the following XSLT to reestablish compatibility. |
1206 |
|
|
1207 |
* contrib/itemize-choices.xsl: New converts old to new structure. |
* contrib/itemize-choices.xsl: New converts old to new structure. |
1208 |
Needs exslt.org's string extensions (which xsltproc includes) |
Needs exslt.org's string extensions (which xsltproc includes) |
1209 |
|
|
1221 |
|
|
1222 |
* tools/formed/formed/model/nodecomponents.py: Added code to clone parts |
* tools/formed/formed/model/nodecomponents.py: Added code to clone parts |
1223 |
of the tree. |
of the tree. |
1224 |
|
|
1225 |
* tools/formed/formed/ui/controls.py: Added a getSelected method. |
* tools/formed/formed/ui/controls.py: Added a getSelected method. |
1226 |
|
|
1227 |
* tools/formed/formed/model/misc.py: Fixed a programming bug. |
* tools/formed/formed/model/misc.py: Fixed a programming bug. |
1244 |
|
|
1245 |
* tools/formed/formed/model/nodecomponents.py: Added walk generator over all |
* tools/formed/formed/model/nodecomponents.py: Added walk generator over all |
1246 |
items in the document tree. Added a method to eliminated duplicated names |
items in the document tree. Added a method to eliminated duplicated names |
1247 |
in document tree. |
in document tree. |
1248 |
|
|
1249 |
* tools/formed/formed/model/misc.py: Added update mechanism for id generator |
* tools/formed/formed/model/misc.py: Added update mechanism for id generator |
1250 |
after names collisions are eliminated. |
after names collisions are eliminated. |
1256 |
|
|
1257 |
* tools/formed/formed/model/data.py, |
* tools/formed/formed/model/data.py, |
1258 |
tools/formed/formed/plugins/web/renderer.py: Removed support |
tools/formed/formed/plugins/web/renderer.py: Removed support |
1259 |
for 'text' attributes in bool items. They were never really |
for 'text' attributes in bool items. They were never really |
1260 |
used and the 'description' attributes fulfill the same |
used and the 'description' attributes fulfill the same |
1261 |
purpose. |
purpose. |
1262 |
|
|
1263 |
* contrib/remove-bool-text.xsl: Transform to remove the |
* contrib/remove-bool-text.xsl: Transform to remove the |
1264 |
'text' attributes from bool items. Apply with: |
'text' attributes from bool items. Apply with: |
1265 |
'xsltproc contrib/remove-bool-text.xsl old.xml > new.xml' |
'xsltproc contrib/remove-bool-text.xsl old.xml > new.xml' |
1266 |
|
|
1267 |
* tools/formed/test-data/simple.xml: Removed 'text' attributes |
* tools/formed/test-data/simple.xml: Removed 'text' attributes |
1268 |
from bool items. |
from bool items. |
1281 |
|
|
1282 |
* contrib/convert-choices.xsl: Added to convert document files |
* contrib/convert-choices.xsl: Added to convert document files |
1283 |
which use the choice 'option' attribute to usage of 'value'. |
which use the choice 'option' attribute to usage of 'value'. |
1284 |
Apply with e.g. 'xsltproc convert-choices.xsl old.xml > new.xml' |
Apply with e.g. 'xsltproc convert-choices.xsl old.xml > new.xml' |
1285 |
|
|
1286 |
2007-08-10 Sascha L. Teichmann <[email protected]> |
2007-08-10 Sascha L. Teichmann <[email protected]> |
1287 |
|
|
1318 |
|
|
1319 |
* tools/formed/formed/plugins/web/plugin.py: To determine |
* tools/formed/formed/plugins/web/plugin.py: To determine |
1320 |
the port look at FORMED dictionary first. Key is 'web.port'. |
the port look at FORMED dictionary first. Key is 'web.port'. |
1321 |
e.g. FORMED='web.port:8888' |
e.g. FORMED='web.port:8888' |
1322 |
|
|
1323 |
* tools/formed/formed/main.py: Call the plugin setup with |
* tools/formed/formed/main.py: Call the plugin setup with |
1324 |
the reference to the config. |
the reference to the config. |
1398 |
|
|
1399 |
* tools/formed/formed/model/data.py, |
* tools/formed/formed/model/data.py, |
1400 |
tools/formed/formed/model/nodecomponents.py: Added new |
tools/formed/formed/model/nodecomponents.py: Added new |
1401 |
attributes. |
attributes. |
1402 |
|
|
1403 |
* tools/formed/formed/plugins/web/plugin.py: Added rendering |
* tools/formed/formed/plugins/web/plugin.py: Added rendering |
1404 |
for checkboxes and radio buttons. |
for checkboxes and radio buttons. |
1427 |
|
|
1428 |
* tools/formed/formed/plugins/web/plugin.py: Added a first |
* tools/formed/formed/plugins/web/plugin.py: Added a first |
1429 |
version of a recursive HTML renderer based on the document |
version of a recursive HTML renderer based on the document |
1430 |
tree. |
tree. |
1431 |
|
|
1432 |
2007-08-08 Sascha L. Teichmann <[email protected]> |
2007-08-08 Sascha L. Teichmann <[email protected]> |
1433 |
|
|
1456 |
|
|
1457 |
* tools/formed/formed/main.py: Added event route document -> |
* tools/formed/formed/main.py: Added event route document -> |
1458 |
attribute table to get informed when selected item is delete |
attribute table to get informed when selected item is delete |
1459 |
or an attribute is changed from the outside. |
or an attribute is changed from the outside. |
1460 |
|
|
1461 |
* tools/formed/formed/ui/controls.py: Fixed. In older versions of |
* tools/formed/formed/ui/controls.py: Fixed. In older versions of |
1462 |
wxPython 2.6.x ListCtrl.InsertStringItem takes 2 instead |
wxPython 2.6.x ListCtrl.InsertStringItem takes 2 instead |
1463 |
of 3 argument. Uses icons+tooltips for tree navigation now. |
of 3 argument. Uses icons+tooltips for tree navigation now. |
1464 |
|
|
1465 |
2007-08-07 Sascha L. Teichmann <[email protected]> |
2007-08-07 Sascha L. Teichmann <[email protected]> |
1466 |
|
|
1508 |
|
|
1509 |
* tools/formed/formed/ui/controls.py: Establish sort order |
* tools/formed/formed/ui/controls.py: Establish sort order |
1510 |
by indices of children in parent instead of alphanum. |
by indices of children in parent instead of alphanum. |
1511 |
Code to move items up and down the document tree. |
Code to move items up and down the document tree. |
1512 |
|
|
1513 |
* tools/formed/formed/io/document.py: Added missing imports. |
* tools/formed/formed/io/document.py: Added missing imports. |
1514 |
|
|
1521 |
|
|
1522 |
* tools/formed/formed/main.py, |
* tools/formed/formed/main.py, |
1523 |
tools/formed/formed/ui/controls.py: Added control to |
tools/formed/formed/ui/controls.py: Added control to |
1524 |
move items around in tree. Has no effect by now. |
move items around in tree. Has no effect by now. |
1525 |
|
|
1526 |
2007-08-05 Sascha L. Teichmann <[email protected]> |
2007-08-05 Sascha L. Teichmann <[email protected]> |
1527 |
|
|
1537 |
|
|
1538 |
* tools/formed/*: initial check-in of the Formular Editor. |
* tools/formed/*: initial check-in of the Formular Editor. |
1539 |
Not working yet. Only can load, view and store formular XML files. |
Not working yet. Only can load, view and store formular XML files. |
1540 |
Start it with 'tools/formed/formed.sh'. |
Start it with 'tools/formed/formed.sh'. |