/[formed]/trunk/ChangeLog
ViewVC logotype

Diff of /trunk/ChangeLog

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 179 by torsten, Wed Sep 12 10:15:53 2007 UTC revision 186 by torsten, Mon Sep 17 19:25:05 2007 UTC
# Line 1  Line 1 
1  2007-09-12 Torsten Irlaender <[email protected]>  2007-09-17      Torsten Irlaender <[email protected]>
2            * tools/formed/formed/plugins/web/view_renderer.py:
3              Small tweaks in rendering bools.
4              RadioNodes (with all its children) can now be placed in a container.
5              The radiobools will not get a surrounding <div> anymore.
6              I am not sure if the new way results in the wanted behaivor, but the
7              rendering results are much better now :)
8              Maybe we need a similar approach for checkboxes?
9              Rendering groups is still broken in some way.
10    
11    2007-09-17      Sascha L. Teichmann <[email protected]>
12    
13            * tools/formed/formed/plugins/web/view_renderer.py: Fixed
14              a few bugs: Do not render empty containers, do not
15                    generate misplaced <br class="newline"> in choices.
16                    Add a nameless container to catch the items that are
17                    nor explicitly assigned to a target. Removed FormData.
18    
19            * tools/formed/formed/plugins/web/renderer.py: Removed
20              a needless import
21    
22    2007-09-17      Sascha L. Teichmann <[email protected]>
23    
24            * tools/formed/formed/plugins/web/view_renderer.py: Implemented
25              usage of 'containers' and 'target' attributes.
26    
27            * tools/formed/formed/plugins/web/controllers.py: Modified import.
28    
29            * tools/formed/formed/plugins/web/renderer.py: Use
30              new ViewRenderer.
31    
32    2007-09-17      Sascha L. Teichmann <[email protected]>
33    
34            * tools/formed/formed/model/nodecomponents.py: Added attributes
35              'target' to NodeComponent and 'containers' to Node.
36    
37            * tools/formed/formed/plugins/web/view_renderer.py: New. Aimed
38              to be a replacement for form_renderer. Not ready yet!
39    
40            * ChangeLog: Fixed some indention glitches.
41    
42    2007-09-13      Torsten Irlaender <[email protected]>
43    
44            * tools/formed/formed/plugins/names/filter.py: Fixed bug in the
45              renaming algorithm.
46    
47    2007-09-12      Torsten Irlaender <[email protected]>
48    
49            * tools/formed/formed/plugins/web/form_renderer.py: Renamed header
50              from formular navigation to "Fallakte Inhalt"
51    
52    2007-09-12      Torsten Irlaender <[email protected]>
53    
54            * tools/formed/formed/plugins/ui/controls.py: Fixed bug that bad
55              values (dates)  were not pretty printed.
56    
57            * tools/formed/formed/plugins/web/form_renderer.py: Added errormsg to
58              label rendering for choicelists.
59    
60    2007-09-12      Torsten Irlaender <[email protected]>
61    
62          * tools/formed/formed/plugins/ui/controls.py: Fixed bug that          * tools/formed/formed/plugins/ui/controls.py: Fixed bug that
63            choicelist did not get selected when the value is set to "0"            choicelist did not get selected when the value is set to "0"
64    
65  2007-09-12 Torsten Irlaender <[email protected]>  2007-09-12      Torsten Irlaender <[email protected]>
66    
67          * tools/formed/formed/plugins/web/form_renderer.py: Added          * tools/formed/formed/plugins/web/form_renderer.py: Added
68            "getPrintableData" method, for the formdata Class which will return            "getPrintableData" method, for the formdata Class which will return
69            the description rather than the value of element in the ID. This is            the description rather than the value of element in the ID. This is
# Line 13  Line 74 
74            Kundennummer to the dataset digest output. Bound in the new            Kundennummer to the dataset digest output. Bound in the new
75            "getPrintableData" call for the digest.            "getPrintableData" call for the digest.
76    
77  2007-10-11 Sascha L. Teichmann <[email protected]>  2007-10-11      Sascha L. Teichmann <[email protected]>
78    
79          * tools/formed/formed/plugins/export/data.py: The import/export          * tools/formed/formed/plugins/export/data.py: The import/export
80            of data is now implemented with filters (the most consequent            of data is now implemented with filters (the most consequent
81                  way in terms of design of FormEd). The support of the 'persistent'            way in terms of design of FormEd). The support of the 'persistent'
82                  FORMED env-variable support has been removed.            FORMED env-variable support has been removed.
83                    
84          * tools/formed/formed/plugins/ui/controls.py: Added a flag to the          * tools/formed/formed/plugins/ui/controls.py: Added a flag to the
85            filter file dialog to double as import dialog.            filter file dialog to double as import dialog.
86    
# Line 29  Line 90 
90          * tools/formed/formed/config.py: Add the two new filters to the filters          * tools/formed/formed/config.py: Add the two new filters to the filters
91            list.            list.
92    
93  2007-10-11 Sascha L. Teichmann <[email protected]>  2007-10-11      Sascha L. Teichmann <[email protected]>
94    
95          * tools/formed/formed/model/memory.py: Uses XML as persistence format now.          * tools/formed/formed/model/memory.py: Uses XML as persistence format now.
96            Removed pickle/unpickle stuff.            Removed pickle/unpickle stuff.
# Line 39  Line 100 
100          * tools/formed/formed/plugins/web/semantic.py: Fixed: choices were          * tools/formed/formed/plugins/web/semantic.py: Fixed: choices were
101            not converted to int indices.            not converted to int indices.
102    
103  2007-09-11 Sascha L. Teichmann <[email protected]>  2007-09-11      Sascha L. Teichmann <[email protected]>
104    
105          * tools/formed/formed/model/memory.py: Making MemoryDataStore persistent          * tools/formed/formed/model/memory.py: Making MemoryDataStore persistent
106            with pickle/unpickle.            with pickle/unpickle.
107    
108          * tools/formed/formed/main.py: Added a env FORMED parameter 'persistent'.          * tools/formed/formed/main.py: Added a env FORMED parameter 'persistent'.
109            Set to a file name it is tried to unpickle a MemoryDataStore from            Set to a file name it is tried to unpickle a MemoryDataStore from
110                  that file. When exiting the program this file is used to store the            that file. When exiting the program this file is used to store the
111                  current MemoryDataStore state. The storing only works if you exit            current MemoryDataStore state. The storing only works if you exit
112                  the program through the Menu File->Exit.            the program through the Menu File->Exit.
113                  usage: FORMED=persistent:test.db ./formed.sh            usage: FORMED=persistent:test.db ./formed.sh
114    
115  2007-09-11 Torsten Irlaender <[email protected]>  2007-09-11      Torsten Irlaender <[email protected]>
116    
117          * tools/formed/formed/plugins/web/renderer.py: Changed Name of the          * tools/formed/formed/plugins/web/renderer.py: Changed Name of the
118            application on the welcome page from "Formed" to "WASKA"            application on the welcome page from "Formed" to "WASKA"
119    
120  2007-09-11 Torsten Irlaender <[email protected]>  2007-09-11      Torsten Irlaender <[email protected]>
121    
122          * tools/formed/formed/plugins/web/plugin.py,          * tools/formed/formed/plugins/web/plugin.py,
123          * tools/formed/formed/plugins/web/controllers.py,          * tools/formed/formed/plugins/web/controllers.py,
124          * tools/formed/formed/plugins/web/renderer.py: Added InfoPageHandler.          * tools/formed/formed/plugins/web/renderer.py: Added InfoPageHandler.
125            The infopage provides information on all project participants.            The infopage provides information on all project participants.
126    
127  2007-09-11 Sascha L. Teichmann <[email protected]>  2007-09-11      Sascha L. Teichmann <[email protected]>
128    
129          * tools/formed/formed/plugins/web/controllers.py: Fix unicode conversion          * tools/formed/formed/plugins/web/controllers.py: Fix unicode conversion
130            issues with error messages (once again).            issues with error messages (once again).
131    
132  2007-09-11 Torsten Irlaender <[email protected]>  2007-09-11      Torsten Irlaender <[email protected]>
133    
134          * tools/formed/formed/plugins/web/form_renderer.py,          * tools/formed/formed/plugins/web/form_renderer.py,
135          * tools/formed/formed/plugins/web/renderer.py: Added alt tag for          * tools/formed/formed/plugins/web/renderer.py: Added alt tag for
136            icons in error and confirmation dialogs.            icons in error and confirmation dialogs.
137    
138  2007-09-11 Sascha L. Teichmann <[email protected]>  2007-09-11      Sascha L. Teichmann <[email protected]>
139    
140          * tools/formed/formed/plugins/web/form_renderer.py: Fixed label          * tools/formed/formed/plugins/web/form_renderer.py: Fixed label
141            generation for ints, texts and textareas. Fixed h depths of infos.            generation for ints, texts and textareas. Fixed h depths of infos.
142    
143  2007-09-11 Sascha L. Teichmann <[email protected]>  2007-09-11      Sascha L. Teichmann <[email protected]>
144    
145          * tools/formed/formed/plugins/web/form_renderer.py: Removed          * tools/formed/formed/plugins/web/form_renderer.py: Removed
146            debug output for help.            debug output for help.
# Line 90  Line 151 
151          * tools/formed/formed/plugins/web/controllers.py:  Added correct          * tools/formed/formed/plugins/web/controllers.py:  Added correct
152            HTML output of data for bools.            HTML output of data for bools.
153    
154  2007-09-11 Torsten Irlaender <[email protected]>  2007-09-11      Torsten Irlaender <[email protected]>
155    
156          * tools/formed/formed/plugins/web/form_renderer.py: Changed size of          * tools/formed/formed/plugins/web/form_renderer.py: Changed size of
157            textfields for int values. Changed Label for submitbuttons to            textfields for int values. Changed Label for submitbuttons to
# Line 107  Line 168 
168            dynamically depending on num errors. Formular navigation has now            dynamically depending on num errors. Formular navigation has now
169            colored indication for errors.            colored indication for errors.
170    
171  2007-09-11 Torsten Irlaender <[email protected]>  2007-09-11      Torsten Irlaender <[email protected]>
172    
173          * tools/formed/formed/plugins/web/renderer.py: Implemented "LookAhead"          * tools/formed/formed/plugins/web/renderer.py: Implemented "LookAhead"
174            algorithm for the formular navigation to get rid of the problem            algorithm for the formular navigation to get rid of the problem
# Line 115  Line 176 
176            structural group elements are linked with the next page found in the            structural group elements are linked with the next page found in the
177            formular structure.            formular structure.
178    
179  2007-09-10 Torsten Irlaender <[email protected]>  2007-09-10      Torsten Irlaender <[email protected]>
180          * tools/formed/formed/plugins/web/form_renderer.py: Changed order of          * tools/formed/formed/plugins/web/form_renderer.py: Changed order of
181            div and formtag.            div and formtag.
182    
# Line 127  Line 188 
188            overview and the digest table of the datasets. Added icon for            overview and the digest table of the datasets. Added icon for
189            confirmation dialog, moved the icon in the <h1> tags.              confirmation dialog, moved the icon in the <h1> tags.  
190    
191  2007-09-10 Torsten Irlaender <[email protected]>  2007-09-10      Torsten Irlaender <[email protected]>
192    
193          * tools/formed/formed/plugins/web/form_renderer.py: Some html          * tools/formed/formed/plugins/web/form_renderer.py: Some html
194            generation cleanup. Added error icons to formelements            generation cleanup. Added error icons to formelements
# Line 141  Line 202 
202            Links in confimation dialogs are now rendered as buttons. Removed            Links in confimation dialogs are now rendered as buttons. Removed
203            old obsolete OverviewRenderer.            old obsolete OverviewRenderer.
204    
205  2007-09-10 Sascha L. Teichmann <[email protected]>  2007-09-10      Sascha L. Teichmann <[email protected]>
206    
207          * tools/formed/formed/plugins/web/renderer.py: Highlight selected          * tools/formed/formed/plugins/web/renderer.py: Highlight selected
208            page in page navigation.            page in page navigation.
209    
210  2007-09-10 Torsten Irlaender <[email protected]>  2007-09-10      Torsten Irlaender <[email protected]>
211    
212          * tools/formed/formed/plugins/web/controllers.py: Fixed issues on          * tools/formed/formed/plugins/web/controllers.py: Fixed issues on
213            displaying formdata when changing datasets. Loading the right            displaying formdata when changing datasets. Loading the right
# Line 157  Line 218 
218          * tools/formed/formed/plugins/web/renderer.py: DataSetDigestRenderer          * tools/formed/formed/plugins/web/renderer.py: DataSetDigestRenderer
219            now uses the correct data out of the formdata.            now uses the correct data out of the formdata.
220    
221  2007-09-10 Sascha L. Teichmann <[email protected]>  2007-09-10      Sascha L. Teichmann <[email protected]>
222    
223          * tools/formed/formed/plugins/web/controllers.py: Pretty          * tools/formed/formed/plugins/web/controllers.py: Pretty
224            print format data (dates e.g)            print format data (dates e.g)
225    
226  2007-09-10 Sascha L. Teichmann <[email protected]>  2007-09-10      Sascha L. Teichmann <[email protected]>
227    
228          * tools/formed/formed/plugins/web/controllers.py: Modified          * tools/formed/formed/plugins/web/controllers.py: Modified
229            ErrorStats a bit to avoid mysterious extra error on page.            ErrorStats a bit to avoid mysterious extra error on page.
230                  No clue why this works.            No clue why this works.
231    
232  2007-09-10 Sascha L. Teichmann <[email protected]>  2007-09-10      Sascha L. Teichmann <[email protected]>
233    
234          * tools/formed/formed/plugins/web/form_renderer.py: Fixed value          * tools/formed/formed/plugins/web/form_renderer.py: Fixed value
235            problem with radio groups, too.            problem with radio groups, too.
236    
237  2007-09-10 Torsten Irlaender <[email protected]>  2007-09-10      Torsten Irlaender <[email protected]>
238          * tools/formed/formed/plugins/web/controllers.py: Sessions are now          * tools/formed/formed/plugins/web/controllers.py: Sessions are now
239            really removed when deleting a dataset.            really removed when deleting a dataset.
240                    
241  2007-09-10 Torsten Irlaender <[email protected]>  2007-09-10      Torsten Irlaender <[email protected]>
242    
243          * tools/formed/formed/plugins/web/controllers.py: Added new Class          * tools/formed/formed/plugins/web/controllers.py: Added new Class
244            ErrorStats which provides Information on remaining errors per page.            ErrorStats which provides Information on remaining errors per page.
# Line 188  Line 249 
249          * tools/formed/formed/plugins/web/plugin.py: Removed render_session          * tools/formed/formed/plugins/web/plugin.py: Removed render_session
250            handlers            handlers
251    
252  2007-09-10 Sascha L. Teichmann <[email protected]>  2007-09-10      Sascha L. Teichmann <[email protected]>
253    
254          * tools/formed/formed/plugins/web/form_renderer.py: values for          * tools/formed/formed/plugins/web/form_renderer.py: values for
255            choices are generated from the document tree now. This brings            choices are generated from the document tree now. This brings
256                  the state storage of select boxes in HTML to live.            the state storage of select boxes in HTML to live.
257    
258  2007-09-09 Sascha L. Teichmann <[email protected]>  2007-09-09      Sascha L. Teichmann <[email protected]>
259    
260          * tools/formed/formed/plugins/web/semantic.py: Fixed problems with          * tools/formed/formed/plugins/web/semantic.py: Fixed problems with
261            range checking of integers.            range checking of integers.
# Line 202  Line 263 
263          * tools/formed/formed/plugins/web/controllers.py: Added class          * tools/formed/formed/plugins/web/controllers.py: Added class
264            ErrorItem to track errors. They are stored in the session.            ErrorItem to track errors. They are stored in the session.
265    
266  2007-09-09 Sascha L. Teichmann <[email protected]>  2007-09-09      Sascha L. Teichmann <[email protected]>
267    
268          * tools/formed/formed/model/nodecomponents.py: Fixed returning          * tools/formed/formed/model/nodecomponents.py: Fixed returning
269            wrong index in Document.indexOfcomponentByClassAndName.            wrong index in Document.indexOfcomponentByClassAndName.
# Line 212  Line 273 
273    
274          * tools/formed/formed/plugins/web/controllers.py: Some clean-ups.          * tools/formed/formed/plugins/web/controllers.py: Some clean-ups.
275    
276  2007-09-09 Sascha L. Teichmann <[email protected]>  2007-09-09      Sascha L. Teichmann <[email protected]>
277    
278          * tools/formed/formed/plugins/web/help.py: Added a 'hasHelp'          * tools/formed/formed/plugins/web/help.py: Added a 'hasHelp'
279            method. Could be cheaper for some implementations of help.            method. Could be cheaper for some implementations of help.
280    
281          * tools/formed/formed/plugins/web/form_renderer.py: Modified          * tools/formed/formed/plugins/web/form_renderer.py: Modified
282            FormData to have distinct getData(), getHelp() and getError()            FormData to have distinct getData(), getHelp() and getError()
283                  methods. Various bug fixes.            methods. Various bug fixes.
284    
285          * tools/formed/formed/plugins/web/controllers.py: Implements the          * tools/formed/formed/plugins/web/controllers.py: Implements the
286            new FormData (trivial by now).            new FormData (trivial by now).
# Line 227  Line 288 
288          * tools/formed/formed/plugins/web/renderer.py: New FormData and          * tools/formed/formed/plugins/web/renderer.py: New FormData and
289            some bug fixes.            some bug fixes.
290    
291  2007-09-09 Sascha L. Teichmann <[email protected]>  2007-09-09      Sascha L. Teichmann <[email protected]>
292    
293          * tools/formed/formed/model/memory.py,          * tools/formed/formed/model/memory.py,
294            tools/formed/formed/model/persistent.py: Add a getValue() method            tools/formed/formed/model/persistent.py: Add a getValue() method
295                  to dataset abstraction. This is a bit of a workaround to bring            to dataset abstraction. This is a bit of a workaround to bring
296                  global access across pages for rule checking to work.            global access across pages for rule checking to work.
297    
298          * tools/formed/formed/model/data.py: Fixed: When setting a new expression          * tools/formed/formed/model/data.py: Fixed: When setting a new expression
299            the compiled version was not stored in the RuleLeaf.            the compiled version was not stored in the RuleLeaf.
# Line 242  Line 303 
303    
304          * tools/formed/formed/plugins/web/semantic.py: Remove the 'box' because          * tools/formed/formed/plugins/web/semantic.py: Remove the 'box' because
305            valid data is stored to the dataset immediately now. Fixed a bug            valid data is stored to the dataset immediately now. Fixed a bug
306                  with integer handler.            with integer handler.
307    
308          * tools/formed/formed/plugins/web/controllers.py: Removed the semantic 'box'          * tools/formed/formed/plugins/web/controllers.py: Removed the semantic 'box'
309            stuff. When a submit is done extract the rules from the tree document            stuff. When a submit is done extract the rules from the tree document
310                  that are effected by the modified variables and check them.            that are effected by the modified variables and check them.
311    
312          * tools/formed/formed/plugins/web/renderer.py: Fixed exception handling          * tools/formed/formed/plugins/web/renderer.py: Fixed exception handling
313            when dealing with templates.            when dealing with templates.
314    
315  2007-09-07 Torsten Irlaender <[email protected]>  2007-09-07      Torsten Irlaender <[email protected]>
316          * tools/formed/formed/plugins/web/controllers.py,          * tools/formed/formed/plugins/web/controllers.py,
317            tools/formed/formed/plugins/web/renderer.py: Moved more render            tools/formed/formed/plugins/web/renderer.py: Moved more render
318            functions into renderer.py. New render classes are:            functions into renderer.py. New render classes are:
# Line 261  Line 322 
322            Note: The new methods are only called from selected handlers. Other            Note: The new methods are only called from selected handlers. Other
323            handlers call the renderes in the old way.            handlers call the renderes in the old way.
324    
325  2007-09-07 Torsten Irlaender <[email protected]>  2007-09-07      Torsten Irlaender <[email protected]>
326          * tools/formed/formed/plugins/web/form_renderer.py: Renamed          * tools/formed/formed/plugins/web/form_renderer.py: Renamed
327            renderer.py to form_renderer.py. This file will contain formular            renderer.py to form_renderer.py. This file will contain formular
328            specfic render methods in the future.            specfic render methods in the future.
# Line 271  Line 332 
332            rendering into renderer.py or form_renderer.py. This file will only            rendering into renderer.py or form_renderer.py. This file will only
333            contain teh handlers in the future.            contain teh handlers in the future.
334    
335  2007-09-07 Torsten Irlaender <[email protected]>  2007-09-07      Torsten Irlaender <[email protected]>
336          * tools/formed/formed/plugins/web/renderer.py,          * tools/formed/formed/plugins/web/renderer.py,
337            tools/formed/formed/plugins/web/controller.py:            tools/formed/formed/plugins/web/controller.py:
338            Renderes now get an instance of the formdata object to provide            Renderes now get an instance of the formdata object to provide
339            access the data needed to render various infoboxes etc. Handler            access the data needed to render various infoboxes etc. Handler
340            instanciate the formdata.            instanciate the formdata.
341                    
342  2007-09-06 Torsten Irlaender <[email protected]>  2007-09-06      Torsten Irlaender <[email protected]>
343          * tools/formed/formed/plugins/web/renderer.py: Mainly tried to get the          * tools/formed/formed/plugins/web/renderer.py: Mainly tried to get the
344            getFormData interface to work. Added two small semantic fixes, but            getFormData interface to work. Added two small semantic fixes, but
345            did not manage to get it up. Need to exime this a little bit more            did not manage to get it up. Need to exime this a little bit more
# Line 286  Line 347 
347            around the menus on the right side to be able to assign different            around the menus on the right side to be able to assign different
348            styles. Added dataset actions while editing a dataset.            styles. Added dataset actions while editing a dataset.
349                    
350  2007-09-05 Torsten Irlaender <[email protected]>  2007-09-05      Torsten Irlaender <[email protected]>
351          * tools/formed/formed/model/memory.py: Fixed deleting datasets by          * tools/formed/formed/model/memory.py: Fixed deleting datasets by
352            removing unwanted del method            removing unwanted del method
353          * tools/formed/formed/plugins/web/controllers.py: Implemented          * tools/formed/formed/plugins/web/controllers.py: Implemented
354            confiration dialogs for create, delete, and select aof datasets. Started to use            confiration dialogs for create, delete, and select aof datasets. Started to use
355            templates as well for larger information units like the dataset summary.            templates as well for larger information units like the dataset summary.
356                    
357  2007-09-05 Sascha L. Teichmann <[email protected]>  2007-09-05      Sascha L. Teichmann <[email protected]>
358    
359          * tools/formed/formed/model/nodecomponents.py: Added a          * tools/formed/formed/model/nodecomponents.py: Added a
360            method to document to find index of page.            method to document to find index of page.
# Line 304  Line 365 
365          * tools/formed/formed/plugins/web/controllers.py: Added new          * tools/formed/formed/plugins/web/controllers.py: Added new
366            FormData implementation to support DB and semantic box.            FormData implementation to support DB and semantic box.
367    
368  2007-09-05 Sascha L. Teichmann <[email protected]>  2007-09-05      Sascha L. Teichmann <[email protected]>
369    
370          * tools/formed/formed/plugins/web/renderer.py: escaped          * tools/formed/formed/plugins/web/renderer.py: escaped
371            error message.            error message.
# Line 312  Line 373 
373          * tools/formed/formed/plugins/web/controllers.py: Don't fetch          * tools/formed/formed/plugins/web/controllers.py: Don't fetch
374            dataset from backend each time a page is up to edit.            dataset from backend each time a page is up to edit.
375    
376  2007-09-05 Sascha L. Teichmann <[email protected]>  2007-09-05      Sascha L. Teichmann <[email protected]>
377    
378          * tools/formed/formed/plugins/web/renderer.py: SimplePageRenderer          * tools/formed/formed/plugins/web/renderer.py: SimplePageRenderer
379            returns "Page not found" if given page is None.            returns "Page not found" if given page is None.
# Line 320  Line 381 
381          * tools/formed/formed/plugins/web/controllers.py: Added checks          * tools/formed/formed/plugins/web/controllers.py: Added checks
382            to avoid crashing when ask for a non-existent page.            to avoid crashing when ask for a non-existent page.
383    
384  2007-09-05 Sascha L. Teichmann <[email protected]>  2007-09-05      Sascha L. Teichmann <[email protected]>
385    
386          * tools/formed/formed/plugins/web/controllers.py: Some clean-ups.          * tools/formed/formed/plugins/web/controllers.py: Some clean-ups.
387    
388  2007-09-05 Sascha L. Teichmann <[email protected]>  2007-09-05      Sascha L. Teichmann <[email protected]>
389    
390          * tools/formed/formed/plugins/web/plugin.py: Remove request handlers          * tools/formed/formed/plugins/web/plugin.py: Remove request handlers
391            and renderers.            and renderers.
# Line 332  Line 393 
393          * tools/formed/formed/plugins/web/controllers.py: New. Contains handlers          * tools/formed/formed/plugins/web/controllers.py: New. Contains handlers
394            and renderers now. TODO: Move renderers to renderer.py            and renderers now. TODO: Move renderers to renderer.py
395    
396  2007-09-05 Torsten Irlaender <[email protected]>  2007-09-05      Torsten Irlaender <[email protected]>
397    
398          * tools/formed/formed/plugins/web/www/main.tmpl: Adopted web template          * tools/formed/formed/plugins/web/www/main.tmpl: Adopted web template
399            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
400            show formdata.            show formdata.
401                    
402  2007-09-05 Sascha L. Teichmann <[email protected]>  2007-09-05      Sascha L. Teichmann <[email protected]>
403    
404          * tools/formed/formed/model/memory.py: Removed bisect and use a          * tools/formed/formed/model/memory.py: Removed bisect and use a
405            simple linear scan for dataset lookup now.            simple linear scan for dataset lookup now.
# Line 346  Line 407 
407          * tools/formed/formed/plugins/web/plugin.py: Fixed various issues          * tools/formed/formed/plugins/web/plugin.py: Fixed various issues
408            of different sizes.            of different sizes.
409    
410  2007-09-05 Torsten Irlaender <[email protected]>  2007-09-05      Torsten Irlaender <[email protected]>
411    
412          * tools/formed/formed/plugins/web/memory.py: Fixed getDataSetById          * tools/formed/formed/plugins/web/memory.py: Fixed getDataSetById
413            fuction            fuction
414                              
415          * tools/formed/formed/plugins/web/persistent.py: Added store() method          * tools/formed/formed/plugins/web/persistent.py: Added store() method
416            to the DataSet interface            to the DataSet interface
417    
418          * tools/formed/formed/plugins/web/renderer.py: Added handlers and          * tools/formed/formed/plugins/web/renderer.py: Added handlers and
419            renderes for create, update, delete and show actions on formular data.            renderes for create, update, delete and show actions on formular data.
420    
421  2007-09-04 Sascha L. Teichmann <[email protected]>  2007-09-04      Sascha L. Teichmann <[email protected]>
422    
423          * tools/formed/formed/plugins/web/server.py: The mapping          * tools/formed/formed/plugins/web/server.py: The mapping
424            to methods is now driven by regualar expressions and            to methods is now driven by regualar expressions and
425                  a dictionary. Response objects are now able to send            a dictionary. Response objects are now able to send
426                  error codes.            error codes.
427    
428          * tools/formed/formed/plugins/web/renderer.py: Fixed an issue          * tools/formed/formed/plugins/web/renderer.py: Fixed an issue
429            when help in Formdata is None. Moved text for help into            when help in Formdata is None. Moved text for help into
430                  a top level '''...''' variable.            a top level '''...''' variable.
431    
432          * tools/formed/test-data/simple.xml: Added test for help.          * tools/formed/test-data/simple.xml: Added test for help.
433    
# Line 374  Line 435 
435    
436          * tools/formed/formed/plugins/web/plugin.py: Uses the new          * tools/formed/formed/plugins/web/plugin.py: Uses the new
437            table driven mapping of reguest handling. TODO: split the            table driven mapping of reguest handling. TODO: split the
438                  WebPlugIn.pageHandler() method further to smaller handlers.            WebPlugIn.pageHandler() method further to smaller handlers.
439                  Smaller clean ups and better exception handling.            Smaller clean ups and better exception handling.
440    
441          * tools/formed/formed/plugins/web/cache.py: Report OSErrors          * tools/formed/formed/plugins/web/cache.py: Report OSErrors
442            and do not catch them.            and do not catch them.
443    
444  2007-09-04 Torsten Irlaender <[email protected]>  2007-09-04      Torsten Irlaender <[email protected]>
445    
446          * tools/formed/formed/plugins/web/renderer.py,          * tools/formed/formed/plugins/web/renderer.py,
447          * tools/formed/formed/plugins/web/plugin.py: Added Interface to          * tools/formed/formed/plugins/web/plugin.py: Added Interface to
# Line 389  Line 450 
450            within a <div> tag.            within a <div> tag.
451            Modified the error messages.            Modified the error messages.
452    
453  2007-09-04 Sascha L. Teichmann <[email protected]>  2007-09-04      Sascha L. Teichmann <[email protected]>
454    
455          * tools/formed/formed/plugins/web/cache.py: New. Implements          * tools/formed/formed/plugins/web/cache.py: New. Implements
456            the server-side caching more clean. Fixes a bug with            the server-side caching more clean. Fixes a bug with
457                  serving static content.            serving static content.
458    
459          * tools/formed/formed/plugins/web/plugin.py: Use the new cache.          * tools/formed/formed/plugins/web/plugin.py: Use the new cache.
460    
461  2007-09-04 Sascha L. Teichmann <[email protected]>  2007-09-04      Sascha L. Teichmann <[email protected]>
462    
463          * tools/formed/formed/plugins/web/plugin.py: Set MIME type          * tools/formed/formed/plugins/web/plugin.py: Set MIME type
464            to "application/xhtml+xml" when serving help texts.            to "application/xhtml+xml" when serving help texts.
465    
466  2007-09-03 Sascha L. Teichmann <[email protected]>  2007-09-03      Sascha L. Teichmann <[email protected]>
467    
468          * tools/formed/formed/plugins/export/diff.py: New. Exports          * tools/formed/formed/plugins/export/diff.py: New. Exports
469            pairwise differences between all modes.            pairwise differences between all modes.
470    
471          * tools/formed/formed/config.py: Use new export filter.          * tools/formed/formed/config.py: Use new export filter.
472    
473  2007-09-03 Sascha L. Teichmann <[email protected]>  2007-09-03      Sascha L. Teichmann <[email protected]>
474    
475          * tools/formed/formed/plugins/web/help.py: New. Parses an          * tools/formed/formed/plugins/web/help.py: New. Parses an
476            XHTML document for id'ed divs and builds a help lookup.            XHTML document for id'ed divs and builds a help lookup.
# Line 423  Line 484 
484          * tools/formed/formed/plugins/web/plugin.py: Serves the help          * tools/formed/formed/plugins/web/plugin.py: Serves the help
485            texts now.            texts now.
486    
487  2007-09-03 Torsten Irlaender <[email protected]>  2007-09-03      Torsten Irlaender <[email protected]>
488    
489          * tools/formed/formed/plugins/web/plugin.py: Only visible group          * tools/formed/formed/plugins/web/plugin.py: Only visible group
490            elements will be rendered in the formular navigation.            elements will be rendered in the formular navigation.
491            Formular pages in the navigation now have their own css-style            Formular pages in the navigation now have their own css-style
492            attributes.            attributes.
493    
494  2007-09-03 Torsten Irlaender <[email protected]>  2007-09-03      Torsten Irlaender <[email protected]>
495    
496          * 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
497            errors in template            errors in template
498          * tools/formed/formed/plugins/web/plugin.py: Fixed undefined          * tools/formed/formed/plugins/web/plugin.py: Fixed undefined
499            pageerrors variable            pageerrors variable
500    
501  2007-09-03 Frank Koormann <[email protected]>  2007-09-03      Frank Koormann <[email protected]>
502    
503          * tools/formed/formed/plugins/export/html.py          * tools/formed/formed/plugins/export/html.py
504          (RecursiveExporter): Added annotation to export          (RecursiveExporter): Added annotation to export
505          (fillRow()): Renamed old fillNine to this more generic name.          (fillRow()): Renamed old fillNine to this more generic name.
506                    
507    
508  2007-09-03 Sascha L. Teichmann <[email protected]>  2007-09-03      Sascha L. Teichmann <[email protected]>
509    
510          * tools/formed/formed/plugins/web/renderer.py: Using the decorator          * tools/formed/formed/plugins/web/renderer.py: Using the decorator
511            from model.misc now.            from model.misc now.
512    
513  2007-09-03 Sascha L. Teichmann <[email protected]>  2007-09-03      Sascha L. Teichmann <[email protected]>
514    
515          * tools/formed/formed/model/nodecomponents.py: Added an          * tools/formed/formed/model/nodecomponents.py: Added an
516            'annotation' attribute to node components. This is to            'annotation' attribute to node components. This is to
517                  enable FormEd document authors to add comments to groups            enable FormEd document authors to add comments to groups
518                  and fields.            and fields.
519    
520  2007-09-03 Frank Koormann <[email protected]>  2007-09-03      Frank Koormann <[email protected]>
521    
522          * tools/formed/formed/model/nodecomponents.py          * tools/formed/formed/model/nodecomponents.py
523          (NodeComponent.getParent): New method to get node components parent.          (NodeComponent.getParent): New method to get node components parent.
# Line 464  Line 525 
525          * tools/formed/formed/plugins/export/html.py: Export Choice option          * tools/formed/formed/plugins/export/html.py: Export Choice option
526          as simple list instead of collection of bools.          as simple list instead of collection of bools.
527    
528  2007-09-02 Sascha L. Teichmann <[email protected]>  2007-09-02      Sascha L. Teichmann <[email protected]>
529    
530          * tools/formed/formed/model/persistent.py: Interfaces to abstract          * tools/formed/formed/model/persistent.py: Interfaces to abstract
531            from persistent storage details.            from persistent storage details.
# Line 474  Line 535 
535    
536          * tools/formed/formed/main.py: Holds a memory data store now.          * tools/formed/formed/main.py: Holds a memory data store now.
537    
538  2007-09-02 Sascha L. Teichmann <[email protected]>  2007-09-02      Sascha L. Teichmann <[email protected]>
539    
540          * tools/formed/formed/plugins/export/sql.py,          * tools/formed/formed/plugins/export/sql.py,
541            tools/formed/formed/plugins/export/html.py: Fixed constructor chains            tools/formed/formed/plugins/export/html.py: Fixed constructor chains
542                  for FileDialogFilter sub classes.            for FileDialogFilter sub classes.
543    
544  2007-09-02 Sascha L. Teichmann <[email protected]>  2007-09-02      Sascha L. Teichmann <[email protected]>
545    
546          * tools/formed/formed/model/misc.py: Checking the mode in recursive          * tools/formed/formed/model/misc.py: Checking the mode in recursive
547            tree traversals is a common task. To ease this a decorator function            tree traversals is a common task. To ease this a decorator function
548                  checkMode in union with sub classing ModeChecker can be used.            checkMode in union with sub classing ModeChecker can be used.
549                  To make it work simply subclass from ModeChecker and add the decorator            To make it work simply subclass from ModeChecker and add the decorator
550                  to the methods that need mode tracking. Before you start the recursion            to the methods that need mode tracking. Before you start the recursion
551                  call self.prepareDescent().            call self.prepareDescent().
552    
553          * tools/formed/formed/plugins/export/html.py: Uses the new decorator scheme          * tools/formed/formed/plugins/export/html.py: Uses the new decorator scheme
554            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
555                  too.            too.
556    
557  2007-09-02 Sascha L. Teichmann <[email protected]>  2007-09-02      Sascha L. Teichmann <[email protected]>
558    
559          * tools/formed/formed/plugins/export/sql.py: Removed needless import.          * tools/formed/formed/plugins/export/sql.py: Removed needless import.
560    
561          * tools/formed/formed/plugins/export/html.py: HTML table exporter          * tools/formed/formed/plugins/export/html.py: HTML table exporter
562            uses new FileDialogFilter base class too.            uses new FileDialogFilter base class too.
563    
564  2007-09-02 Sascha L. Teichmann <[email protected]>  2007-09-02      Sascha L. Teichmann <[email protected]>
565    
566          * tools/formed/formed/plugins/ui/*: New. All file exporters          * tools/formed/formed/plugins/ui/*: New. All file exporters
567            need a file dialog. Till now each of them pulled up its            need a file dialog. Till now each of them pulled up its
568                  own. This was silly code replication. Now there is an abstract            own. This was silly code replication. Now there is an abstract
569                  base class 'FileDialogFilter' which implements the common            base class 'FileDialogFilter' which implements the common
570                  behavior. The file exporters should subclass it.            behavior. The file exporters should subclass it.
571    
572          * tools/formed/formed/plugins/export/sql.py: Subclass the SQL          * tools/formed/formed/plugins/export/sql.py: Subclass the SQL
573            exporters from the new base class. TODO: Subclass the HTML            exporters from the new base class. TODO: Subclass the HTML
574                  exporter too.            exporter too.
575    
576  2007-08-31 Sascha L. Teichmann <[email protected]>  2007-08-31      Sascha L. Teichmann <[email protected]>
577    
578          * tools/formed/formed/plugins/export/html.py: Make mode check          * tools/formed/formed/plugins/export/html.py: Make mode check
579            work (again).            work (again).
580    
581  2007-08-31 Torsten Irlaender <[email protected]>  2007-08-31      Torsten Irlaender <[email protected]>
582    
583          * tools/formed/formed/plugins/export/html.py: Rendering of the HTML          * tools/formed/formed/plugins/export/html.py: Rendering of the HTML
584            exprt works now in a recursive way. This change was needed because            exprt works now in a recursive way. This change was needed because
# Line 525  Line 586 
586            full hirachically document stuctures. (nested lists)            full hirachically document stuctures. (nested lists)
587            TODO: Fix modechecking            TODO: Fix modechecking
588    
589  2007-08-31 Torsten Irlaender <[email protected]>  2007-08-31      Torsten Irlaender <[email protected]>
590    
591          * tools/formed/formed/plugins/web/plugin.py: Navigation rendering works          * tools/formed/formed/plugins/web/plugin.py: Navigation rendering works
592            now in recursive way. This change was needed because the structure            now in recursive way. This change was needed because the structure
593            of the formedtree has changed to be able to render full hirachically            of the formedtree has changed to be able to render full hirachically
594            document stuctures. (nested lists)            document stuctures. (nested lists)
595    
596  2007-08-31 Sascha L. Teichmann <[email protected]>  2007-08-31      Sascha L. Teichmann <[email protected]>
597    
598          * tools/formed/formed/model/nodecomponents.py: use discard()          * tools/formed/formed/model/nodecomponents.py: use discard()
599            instead of remove on sets.            instead of remove on sets.
# Line 543  Line 604 
604          * tools/formed/formed/config.py: Added the new exporter          * tools/formed/formed/config.py: Added the new exporter
605            to the list of export filters.            to the list of export filters.
606    
607  2007-08-30 Sascha L. Teichmann <[email protected]>  2007-08-30      Sascha L. Teichmann <[email protected]>
608    
609          * tools/formed/formed/model/data.py: Fixed a bug in          * tools/formed/formed/model/data.py: Fixed a bug in
610            Page.allWidgets()            Page.allWidgets()
# Line 553  Line 614 
614    
615          * tools/formed/formed/config.py: Add the new SP exporter.          * tools/formed/formed/config.py: Add the new SP exporter.
616    
617  2007-08-29 Torsten Irlaender <[email protected]>  2007-08-29      Torsten Irlaender <[email protected]>
618    
619          * tools/formed/formed/plugins/web/plugin.py,          * tools/formed/formed/plugins/web/plugin.py,
620            tools/formed/formed/plugins/web/error_renderer.py: Added interface            tools/formed/formed/plugins/web/error_renderer.py: Added interface
621            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
622            now be displayed on the top of the formular.            now be displayed on the top of the formular.
623    
624  2007-08-29 Torsten Irlaender <[email protected]>  2007-08-29      Torsten Irlaender <[email protected]>
625    
626          * tools/formed/formed/plugins/web/renderer.py: Finished implementation          * tools/formed/formed/plugins/web/renderer.py: Finished implementation
627            of the getFromData interface and prepared the rederer for generating            of the getFromData interface and prepared the rederer for generating
628            nice error messages            nice error messages
629    
630  2007-08-28 Frank Koormann <[email protected]>  2007-08-28      Frank Koormann <[email protected]>
631    
632          * tools/formed/formed/plugins/export/sql.py          * tools/formed/formed/plugins/export/sql.py
633          (SchemaCreator.createSchema, SchemaCreator._createGroup):          (SchemaCreator.createSchema, SchemaCreator._createGroup):
634          Fixed typo in created DDS (PRIMRAY -> PRIMARY)          Fixed typo in created DDS (PRIMRAY -> PRIMARY)
635    
636  2007-08-28 Torsten Irlaender <[email protected]>  2007-08-28      Torsten Irlaender <[email protected]>
637    
638          * tools/formed/formed/plugins/export/sql.py: Added small helper          * tools/formed/formed/plugins/export/sql.py: Added small helper
639            function to generated valid quotes within the sql statements            function to generated valid quotes within the sql statements
640    
641  2007-08-29 Sascha L. Teichmann <[email protected]>  2007-08-29      Sascha L. Teichmann <[email protected]>
642    
643          * tools/formed/formed/plugins/export/sql.py: Added foreign keys          * tools/formed/formed/plugins/export/sql.py: Added foreign keys
644            for repeat tables.            for repeat tables.
645                        
646  2007-08-29 Sascha L. Teichmann <[email protected]>  2007-08-29      Sascha L. Teichmann <[email protected]>
647    
648          * tools/formed/formed/plugins/export/sql.py: When generating          * tools/formed/formed/plugins/export/sql.py: When generating
649            an extra table check in a table of same content exists. In            an extra table check in a table of same content exists. In
650                  this case reference the existing table.            this case reference the existing table.
651    
652  2007-08-29 Sascha L. Teichmann <[email protected]>  2007-08-29      Sascha L. Teichmann <[email protected]>
653    
654          * tools/formed/formed/plugins/export/sql.py: Rewritten to produce          * tools/formed/formed/plugins/export/sql.py: Rewritten to produce
655            _real_ SQL and respect repeat groups.            _real_ SQL and respect repeat groups.
# Line 598  Line 659 
659          * tools/formed/formed/plugins/web/renderer.py: Use "".join([])          * tools/formed/formed/plugins/web/renderer.py: Use "".join([])
660            instead of expensive += string concat in some places.            instead of expensive += string concat in some places.
661    
662  2007-08-29 Sascha L. Teichmann <[email protected]>  2007-08-29      Sascha L. Teichmann <[email protected]>
663    
664          * tools/formed/formed/model/data.py: Renamed GroupNode.getRepeat()          * tools/formed/formed/model/data.py: Renamed GroupNode.getRepeat()
665            to .isRepeat and return a bool. Fixed a bug in Page.allWidgets().            to .isRepeat and return a bool. Fixed a bug in Page.allWidgets().
666    
667  2007-08-28 Torsten Irlaender <[email protected]>  2007-08-28      Torsten Irlaender <[email protected]>
668    
669          * tools/formed/plugins/web/renderer.py: Added Formdata interface.          * tools/formed/plugins/web/renderer.py: Added Formdata interface.
670          * tools/formed/model/data.py: Implements Formadata interface to          * tools/formed/model/data.py: Implements Formadata interface to
# Line 611  Line 672 
672            attribute of the groupnode. Field-label generation slightly changed.            attribute of the groupnode. Field-label generation slightly changed.
673            Added error indication to textfields            Added error indication to textfields
674    
675  2007-08-28 Sascha L. Teichmann <[email protected]>  2007-08-28      Sascha L. Teichmann <[email protected]>
676    
677          * tools/formed/formed/model/data.py,          * tools/formed/formed/model/data.py,
678            tools/formed/formed/io/document.py: Removed support            tools/formed/formed/io/document.py: Removed support
679                  of logical groups.            of logical groups.
680    
681  2007-08-28 Sascha L. Teichmann <[email protected]>  2007-08-28      Sascha L. Teichmann <[email protected]>
682    
683          * tools/formed/formed/io/document.py: Avoid saving empty          * tools/formed/formed/io/document.py: Avoid saving empty
684            attributes.            attributes.
685    
686          * tools/formed/test-data/simple.xml: Applied.          * tools/formed/test-data/simple.xml: Applied.
687    
688  2007-08-28 Sascha L. Teichmann <[email protected]>  2007-08-28      Sascha L. Teichmann <[email protected]>
689    
690          * tools/formed/formed/model/data.py: Added 'repeat' and          * tools/formed/formed/model/data.py: Added 'repeat' and
691            'invisible' attributes to group. TODO: remove logical group.            'invisible' attributes to group. TODO: remove logical group.
692    
693  2007-08-27 Torsten Irlaender <[email protected]>  2007-08-27      Torsten Irlaender <[email protected]>
694    
695          * tools/formed/plugins/web/plugin.py,          * tools/formed/plugins/web/plugin.py,
696            tools/formed/plugins/web/renderer.py: Started to  include stylesheet            tools/formed/plugins/web/renderer.py: Started to  include stylesheet
697            depending tags in the html generation.            depending tags in the html generation.
698    
699  2007-08-27 Sascha L. Teichmann <[email protected]>  2007-08-27      Sascha L. Teichmann <[email protected]>
700    
701          * tools/formed/formed/model/data.py,          * tools/formed/formed/model/data.py,
702            tools/formed/formed/io/document.py: Added a logical group.            tools/formed/formed/io/document.py: Added a logical group.
703                  It has an attribute 'repeat' to indicate that it might            It has an attribute 'repeat' to indicate that it might
704                  be worthy an external table in DB schema.            be worthy an external table in DB schema.
705    
706  2007-08-27 Sascha L. Teichmann <[email protected]>  2007-08-27      Sascha L. Teichmann <[email protected]>
707    
708          * tools/formed/formed/plugins/web/plugin.py: Support          * tools/formed/formed/plugins/web/plugin.py: Support
709            serving of static content.            serving of static content.
# Line 650  Line 711 
711          * tools/formed/formed/plugins/web/server.py: Removed          * tools/formed/formed/plugins/web/server.py: Removed
712            old send code.            old send code.
713    
714  2007-08-27 Sascha L. Teichmann <[email protected]>  2007-08-27      Sascha L. Teichmann <[email protected]>
715    
716          * tools/formed/formed/plugins/web/plugin.py: Use new          * tools/formed/formed/plugins/web/plugin.py: Use new
717            Response object. Fix typo.            Response object. Fix typo.
# Line 658  Line 719 
719          * tools/formed/formed/plugins/web/server.py: support          * tools/formed/formed/plugins/web/server.py: support
720            response object to serve different MIME types.            response object to serve different MIME types.
721    
722  2007-08-27 Sascha L. Teichmann <[email protected]>  2007-08-27      Sascha L. Teichmann <[email protected]>
723    
724          * tools/formed/formed/plugins/web/plugin.py: Add web.path          * tools/formed/formed/plugins/web/plugin.py: Add web.path
725            to FORMED environment  variable to specify the            to FORMED environment  variable to specify the
726                  root of the static content.            root of the static content.
727    
728  2007-08-26 Sascha L. Teichmann <[email protected]>  2007-08-26      Sascha L. Teichmann <[email protected]>
729    
730          * tools/formed/formed/model/data.py,          * tools/formed/formed/model/data.py,
731            tools/formed/formed/model/nodecomponents.py: Fixed mode issues.            tools/formed/formed/model/nodecomponents.py: Fixed mode issues.
732    
733          * tools/formed/formed/plugins/web/www,          * tools/formed/formed/plugins/web/www,
734            tools/formed/formed/plugins/web/www/main.tmpl: New. Contains            tools/formed/formed/plugins/web/www/main.tmpl: New. Contains
735                  a template for the HTML output.            a template for the HTML output.
736    
737          * tools/formed/formed/plugins/web/plugin.py: Fixes several smaller          * tools/formed/formed/plugins/web/plugin.py: Fixes several smaller
738            mode issues. Introduces CSS support. Simplified the action            mode issues. Introduces CSS support. Simplified the action
739                  handling.            handling.
740    
741          * tools/formed/formed/plugins/web/renderer.py: Removed the          * tools/formed/formed/plugins/web/renderer.py: Removed the
742            nagivation code.            nagivation code.
743    
744          * tools/formed/formed/plugins/web/server.py: Added missing import.          * tools/formed/formed/plugins/web/server.py: Added missing import.
745    
746  2007-08-26 Sascha L. Teichmann <[email protected]>  2007-08-26      Sascha L. Teichmann <[email protected]>
747    
748          * tools/formed/formed/model/data.py: Added missing broadcast          * tools/formed/formed/model/data.py: Added missing broadcast
749            parameter to setAttribute() of RuleLeaf.            parameter to setAttribute() of RuleLeaf.
# Line 696  Line 757 
757          * tools/formed/formed/plugins/web/server.py: New. Contains          * tools/formed/formed/plugins/web/server.py: New. Contains
758            the HTTP server code now.            the HTTP server code now.
759    
760  2007-08-26 Sascha L. Teichmann <[email protected]>  2007-08-26      Sascha L. Teichmann <[email protected]>
761    
762          * tools/formed/test-data/simple.xml: Modified to contain a rule.          * tools/formed/test-data/simple.xml: Modified to contain a rule.
763    
764          * tools/formed/formed/model/expr.py: Added. A simple RPN          * tools/formed/formed/model/expr.py: Added. A simple RPN
765            expression evaluator. To avoid the problem of eval()ing            expression evaluator. To avoid the problem of eval()ing
766                  arbitrary python expressions I've decided to use a very            arbitrary python expressions I've decided to use a very
767                  basic and limited stack machine to support rule checking.            basic and limited stack machine to support rule checking.
768    
769          * tools/formed/formed/model/data.py: Added a RuleLeaf.          * tools/formed/formed/model/data.py: Added a RuleLeaf.
770    
# Line 711  Line 772 
772    
773          * tools/formed/formed/model/nodecomponents.py: Add a method          * tools/formed/formed/model/nodecomponents.py: Add a method
774            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
775                  mode. Usefull to find all rules in the tree.            mode. Usefull to find all rules in the tree.
776    
777          * tools/formed/formed/ui/controls.py: Added a listener mechanism          * tools/formed/formed/ui/controls.py: Added a listener mechanism
778            to attribute table to report exceptions when setting a value            to attribute table to report exceptions when setting a value
779                  from GUI. Useful to report compilation errors when setting            from GUI. Useful to report compilation errors when setting
780                  expr of rule leafs.            expr of rule leafs.
781    
782          * tools/formed/formed/main.py: Added a method to track exceptions          * tools/formed/formed/main.py: Added a method to track exceptions
783            from the attribute table and pop up dialogs if they occur.            from the attribute table and pop up dialogs if they occur.
784                  Added a counter of rule modifications in tree. Useful if you            Added a counter of rule modifications in tree. Useful if you
785                  want build cached data structures like rule sets and you want            want build cached data structures like rule sets and you want
786                  to know if they are still valid.            to know if they are still valid.
787    
788  2007-08-24 Torsten Irlaender <[email protected]>  2007-08-24      Torsten Irlaender <[email protected]>
789    
790          * tools/formed/formed/plugins/export/sql.py: Fixed CHECK-constraint          * tools/formed/formed/plugins/export/sql.py: Fixed CHECK-constraint
791            for checkbox values. (Syntax error).            for checkbox values. (Syntax error).
# Line 732  Line 793 
793          * tools/formed/formed/plugins/names/filter.py: Fixes in formularname          * tools/formed/formed/plugins/names/filter.py: Fixes in formularname
794            generation              generation  
795    
796  2007-08-24 Torsten Irlaender <[email protected]>  2007-08-24      Torsten Irlaender <[email protected]>
797    
798          * tools/formed/formed/plugins/names/filter.py: Separated Class for          * tools/formed/formed/plugins/names/filter.py: Separated Class for
799            making the formularnames more database friendly. Added some more            making the formularnames more database friendly. Added some more
# Line 740  Line 801 
801          * tools/formed/formed/plugins/export/sql.py: Make use of the fresh          * tools/formed/formed/plugins/export/sql.py: Make use of the fresh
802            separated class, and some fixes in sql generation.            separated class, and some fixes in sql generation.
803    
804  2007-08-24 Sascha L. Teichmann <[email protected]>  2007-08-24      Sascha L. Teichmann <[email protected]>
805    
806          * tools/formed/formed/plugins/export/html.py: Print lengths          * tools/formed/formed/plugins/export/html.py: Print lengths
807            of external choice list.            of external choice list.
808    
809  2007-08-24 Sascha L. Teichmann <[email protected]>  2007-08-24      Sascha L. Teichmann <[email protected]>
810    
811          * tools/formed/formed/main.py: Little workaround for          * tools/formed/formed/main.py: Little workaround for
812            mode selection if someone adds an removes a mode.            mode selection if someone adds an removes a mode.
813    
814  2007-08-24 Sascha L. Teichmann <[email protected]>  2007-08-24      Sascha L. Teichmann <[email protected]>
815    
816          * tools/formed/test-data/simple.xml: Better test case for          * tools/formed/test-data/simple.xml: Better test case for
817            mode depended leaf items.            mode depended leaf items.
# Line 760  Line 821 
821    
822          * tools/formed/formed/plugins/export/html.py: Use effective          * tools/formed/formed/plugins/export/html.py: Use effective
823            mode. TODO: the 'all' modus return false results sometimes.            mode. TODO: the 'all' modus return false results sometimes.
824                  Cause: The modes are only cumulated over time. Removal is            Cause: The modes are only cumulated over time. Removal is
825                  not done.            not done.
826    
827  2007-08-24 Sascha L. Teichmann <[email protected]>  2007-08-24      Sascha L. Teichmann <[email protected]>
828    
829          * tools/formed/formed/plugins/export/html.py: Dump the items          * tools/formed/formed/plugins/export/html.py: Dump the items
830            of radio groups and choices too.            of radio groups and choices too.
831    
832  2007-08-24 Torsten Irlaender <[email protected]>  2007-08-24      Torsten Irlaender <[email protected]>
833    
834          * tools/formed/formed/plugins/names/filter.py: Modified the renaming          * tools/formed/formed/plugins/names/filter.py: Modified the renaming
835            by formular names to make the naming more database friendly.            by formular names to make the naming more database friendly.
836            Now only alphanumeric and underscore chars is allowed.            Now only alphanumeric and underscore chars is allowed.
837    
838  2007-08-24 Sascha L. Teichmann <[email protected]>  2007-08-24      Sascha L. Teichmann <[email protected]>
839    
840          * tools/formed/formed/plugins/export/html.py: Tweaked          * tools/formed/formed/plugins/export/html.py: Tweaked
841            HTML table exporter a bit to be on par with the XSLT            HTML table exporter a bit to be on par with the XSLT
842                  script. TODO: Dump items in radio and choice groups.            script. TODO: Dump items in radio and choice groups.
843    
844  2007-08-23 Sascha L. Teichmann <[email protected]>  2007-08-23      Sascha L. Teichmann <[email protected]>
845    
846          * tools/formed/formed/plugins/names/filter.py: Removed          * tools/formed/formed/plugins/names/filter.py: Removed
847            HTML and SQL exporters.            HTML and SQL exporters.
# Line 789  Line 850 
850            tools/formed/formed/plugins/export/__init__.py,            tools/formed/formed/plugins/export/__init__.py,
851            tools/formed/formed/plugins/export/sql.py,            tools/formed/formed/plugins/export/sql.py,
852            tools/formed/formed/plugins/export/html.py: New: Contain            tools/formed/formed/plugins/export/html.py: New: Contain
853                  the HTML and the SQL exporters now.            the HTML and the SQL exporters now.
854    
855          * tools/formed/formed/config.py: Use exporters from different          * tools/formed/formed/config.py: Use exporters from different
856            package now.            package now.
857    
858  2007-08-23 Torsten Irlaender <[email protected]>  2007-08-23      Torsten Irlaender <[email protected]>
859    
860          * tools/formed/formed/plugins/names/filter.py: Added an          * tools/formed/formed/plugins/names/filter.py: Added an
861            pseudo SQL export filters. TODO: Move HTML and SQL filter            pseudo SQL export filters. TODO: Move HTML and SQL filter
# Line 803  Line 864 
864    
865          * tools/formed/formed/config.py: Install the new SQL filter.          * tools/formed/formed/config.py: Install the new SQL filter.
866    
867  2007-08-23 Sascha L. Teichmann <[email protected]>  2007-08-23      Sascha L. Teichmann <[email protected]>
868    
869          * tools/formed/formed/model/nodecomponents.py: Added a depth()          * tools/formed/formed/model/nodecomponents.py: Added a depth()
870            method to determine the depth of particular tree item.            method to determine the depth of particular tree item.
# Line 813  Line 874 
874    
875          * tools/formed/formed/config.py: Install the new HTML filter.          * tools/formed/formed/config.py: Install the new HTML filter.
876    
877  2007-08-23 Torsten Irlaender <[email protected]>  2007-08-23      Torsten Irlaender <[email protected]>
878    
879          * contrib/extract-xfa-fields_and_options.xsl: Added small xsl script          * contrib/extract-xfa-fields_and_options.xsl: Added small xsl script
880            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
881            script might me handy to indicate changes between the different            script might me handy to indicate changes between the different
882            formular versions.            formular versions.
883                    
884  2007-08-23 Sascha L. Teichmann <[email protected]>  2007-08-23      Sascha L. Teichmann <[email protected]>
885    
886          * tools/formed/formed/main.py: Add an 'all' mode to          * tools/formed/formed/main.py: Add an 'all' mode to
887            select all modes. ;-)            select all modes. ;-)
888    
889  2007-08-22 Sascha L. Teichmann <[email protected]>  2007-08-22      Sascha L. Teichmann <[email protected]>
890    
891          * tools/formed/test-data/simple.xml,          * tools/formed/test-data/simple.xml,
892            tools/formed/formed/model/data.py,            tools/formed/formed/model/data.py,
# Line 835  Line 896 
896            tools/formed/formed/main.py: Removed support for switch nodes.            tools/formed/formed/main.py: Removed support for switch nodes.
897            BEWARE: This breaks compatibility with older documents!            BEWARE: This breaks compatibility with older documents!
898    
899  2007-08-22 Sascha L. Teichmann <[email protected]>  2007-08-22      Sascha L. Teichmann <[email protected]>
900    
901          * tools/formed/formed/plugins/web/plugin.py: Uses the          * tools/formed/formed/plugins/web/plugin.py: Uses the
902            getSelectedMode() from main now.            getSelectedMode() from main now.
# Line 846  Line 907 
907          * tools/formed/formed/config.py: removed selected mode from          * tools/formed/formed/config.py: removed selected mode from
908            env configuration.            env configuration.
909    
910  2007-08-22 Sascha L. Teichmann <[email protected]>  2007-08-22      Sascha L. Teichmann <[email protected]>
911    
912          * tools/formed/formed/ui/controls.py: Attributes in GUI attribute          * tools/formed/formed/ui/controls.py: Attributes in GUI attribute
913            table are now alphabetically sorted.            table are now alphabetically sorted.
914    
915  2007-08-22 Sascha L. Teichmann <[email protected]>  2007-08-22      Sascha L. Teichmann <[email protected]>
916    
917          * tools/formed/formed/model/nodecomponents.py: Added code to          * tools/formed/formed/model/nodecomponents.py: Added code to
918            establish the new 'modes' recursively.            establish the new 'modes' recursively.
# Line 867  Line 928 
928    
929          * tools/formed/formed/main.py: Adjusted to new infrastructure.          * tools/formed/formed/main.py: Adjusted to new infrastructure.
930    
931  2007-08-22 Sascha L. Teichmann <[email protected]>  2007-08-22      Sascha L. Teichmann <[email protected]>
932    
933          * tools/formed/formed/model/nodecomponents.py: Added an          * tools/formed/formed/model/nodecomponents.py: Added an
934            attribute 'modes' to NodeComponents.            attribute 'modes' to NodeComponents.
935    
936  2007-08-22 Sascha L. Teichmann <[email protected]>  2007-08-22      Sascha L. Teichmann <[email protected]>
937    
938          * tools/formed/formed/model/data.py: Small cosmetic cleanups          * tools/formed/formed/model/data.py: Small cosmetic cleanups
939    
940  2007-08-21 Sascha L. Teichmann <[email protected]>  2007-08-21      Sascha L. Teichmann <[email protected]>
941    
942          * tools/formed/formed/plugins/web/renderer.py: Another fix          * tools/formed/formed/plugins/web/renderer.py: Another fix
943            for the hidden field. Argh!            for the hidden field. Argh!
944    
945  2007-08-21 Sascha L. Teichmann <[email protected]>  2007-08-21      Sascha L. Teichmann <[email protected]>
946    
947          * tools/formed/formed/plugins/web/renderer.py: Fixed double          * tools/formed/formed/plugins/web/renderer.py: Fixed double
948            generation of hidden page field.            generation of hidden page field.
949    
950  2007-08-21 Sascha L. Teichmann <[email protected]>  2007-08-21      Sascha L. Teichmann <[email protected]>
951    
952          * tools/formed/formed/plugins/web/semantic.py: Added semantic          * tools/formed/formed/plugins/web/semantic.py: Added semantic
953            checks for radio groups.            checks for radio groups.
954    
955  2007-08-21 Sascha L. Teichmann <[email protected]>  2007-08-21      Sascha L. Teichmann <[email protected]>
956    
957          * tools/formed/formed/plugins/web/semantic.py: Added semantic          * tools/formed/formed/plugins/web/semantic.py: Added semantic
958            checks for choices.            checks for choices.
# Line 906  Line 967 
967          * contrib/convert-formedtree2html.xsl:          * contrib/convert-formedtree2html.xsl:
968          Replace technical types with readable descriptions          Replace technical types with readable descriptions
969    
970  2007-08-21 Sascha L. Teichmann <[email protected]>  2007-08-21      Sascha L. Teichmann <[email protected]>
971    
972          * tools/formed/formed/plugins/web/plugin.py: Fix a few smaller          * tools/formed/formed/plugins/web/plugin.py: Fix a few smaller
973            issues. 'action' looks for all widgets on a page now, goes            issues. 'action' looks for all widgets on a page now, goes
974                  through all passed parameters, tries to match them with the            through all passed parameters, tries to match them with the
975                  widgets of the page and put them into the semantic box.            widgets of the page and put them into the semantic box.
976                  Afterwards a list of untouched page parameters are left            Afterwards a list of untouched page parameters are left
977                  which will be deleted from the semantic box.            which will be deleted from the semantic box.
978    
979          * tools/formed/formed/plugins/web/semantic.py: Simplified.          * tools/formed/formed/plugins/web/semantic.py: Simplified.
980            The NodeComponent is passed as an argument now.            The NodeComponent is passed as an argument now.
# Line 921  Line 982 
982          * tools/formed/formed/plugins/web/renderer.py: Generate a          * tools/formed/formed/plugins/web/renderer.py: Generate a
983            hidden field to store the name of the page.            hidden field to store the name of the page.
984    
985  2007-08-21 Sascha L. Teichmann <[email protected]>  2007-08-21      Sascha L. Teichmann <[email protected]>
986    
987          * tools/formed/formed/plugins/web/plugin.py: Fixed an encoding          * tools/formed/formed/plugins/web/plugin.py: Fixed an encoding
988            issue with incoming UTF-8 data.            issue with incoming UTF-8 data.
989    
990  2007-08-21 Sascha L. Teichmann <[email protected]>  2007-08-21      Sascha L. Teichmann <[email protected]>
991    
992          * tools/formed/test-data/simple.xml: Improve test for widgets          * tools/formed/test-data/simple.xml: Improve test for widgets
993            in switches.            in switches.
994    
995          * tools/formed/formed/model/data.py: Added a method to find all          * tools/formed/formed/model/data.py: Added a method to find all
996            widgets in a given page. Fixed a bug when walking in switch            widgets in a given page. Fixed a bug when walking in switch
997                  with a given mode.            with a given mode.
998    
999          * tools/formed/formed/plugins/web/plugin.py: Simple test for          * tools/formed/formed/plugins/web/plugin.py: Simple test for
1000            listing all widgets in page.            listing all widgets in page.
1001    
1002  2007-08-21 Torsten Irlaender <[email protected]>  2007-08-21      Torsten Irlaender <[email protected]>
1003    
1004          * tools/formed/formed/plugins/names/filter.py: Fixed file-encoding to          * tools/formed/formed/plugins/names/filter.py: Fixed file-encoding to
1005            latin-1            latin-1
1006    
1007  2007-08-21 Sascha L. Teichmann <[email protected]>  2007-08-21      Sascha L. Teichmann <[email protected]>
1008    
1009          * tools/formed/formed/model/data.py: Added mode parameter to          * tools/formed/formed/model/data.py: Added mode parameter to
1010            walk.            walk.
1011                              
1012          * tools/formed/formed/model/nodecomponents.py: SwitchNode overwrites          * tools/formed/formed/model/nodecomponents.py: SwitchNode overwrites
1013            walk() with usage of the new mode parameter. Added a method to            walk() with usage of the new mode parameter. Added a method to
1014                  give children in a given mode.            give children in a given mode.
1015    
1016          * tools/formed/formed/plugins/web/renderer.py: Simplified to use          * tools/formed/formed/plugins/web/renderer.py: Simplified to use
1017            new Switch.childrenInMode() method.            new Switch.childrenInMode() method.
1018    
1019  2007-08-21 Sascha L. Teichmann <[email protected]>  2007-08-21      Sascha L. Teichmann <[email protected]>
1020    
1021          * tools/formed/formed/plugins/web/semantic.py: Add checks for          * tools/formed/formed/plugins/web/semantic.py: Add checks for
1022            texts and text areas.            texts and text areas.
# Line 963  Line 1024 
1024          * tools/formed/formed/plugins/web/renderer.py: Set accept-charset          * tools/formed/formed/plugins/web/renderer.py: Set accept-charset
1025            to UTF-8 in generated form.            to UTF-8 in generated form.
1026    
1027  2007-08-20 Sascha L. Teichmann <[email protected]>  2007-08-20      Sascha L. Teichmann <[email protected]>
1028    
1029          * tools/formed/formed/plugins/web/semantic.py: Added semantic          * tools/formed/formed/plugins/web/semantic.py: Added semantic
1030            tests for dates.            tests for dates.
1031    
1032  2007-08-20 Sascha L. Teichmann <[email protected]>          2007-08-20      Sascha L. Teichmann <[email protected]>  
1033    
1034          * tools/formed/test-data/simple.xml: Tweak a bit for integer          * tools/formed/test-data/simple.xml: Tweak a bit for integer
1035            range test.            range test.
# Line 982  Line 1043 
1043          * tools/formed/formed/plugins/web/plugin.py: Use semantic          * tools/formed/formed/plugins/web/plugin.py: Use semantic
1044            check.            check.
1045    
1046  2007-08-20      Torsten Irlaender <[email protected]>  2007-08-20      Torsten Irlaender <[email protected]>
1047    
1048          * tools/formed/formed/plugins/web/renderer.py: Fixed Syntax in          * tools/formed/formed/plugins/web/renderer.py: Fixed Syntax in
1049            selection-field generation (Removed quote)            selection-field generation (Removed quote)
# Line 995  Line 1056 
1056            renderer. This submit parameters are stored in the            renderer. This submit parameters are stored in the
1057            session now. This will ease testing the constraint            session now. This will ease testing the constraint
1058            tests which need to be written soon.            tests which need to be written soon.
1059                              
1060            BEWARE: The session management is _not_ made for production!            BEWARE: The session management is _not_ made for production!
1061            Denial of service attacks are too easy, and the            Denial of service attacks are too easy, and the
1062            cryptographical strength of the session id is doubtful.            cryptographical strength of the session id is doubtful.
# Line 1013  Line 1074 
1074            and can be hooked automatically into the new 'Filters'            and can be hooked automatically into the new 'Filters'
1075            sub menu under 'Extra'. They got called when the user            sub menu under 'Extra'. They got called when the user
1076            selects their respective menu item.            selects their respective menu item.
1077                              
1078          * tools/formed/formed/config.py: Contains the list of          * tools/formed/formed/config.py: Contains the list of
1079            installed filters.            installed filters.
1080    
# Line 1074  Line 1135 
1135    
1136          * tools/formed/formed/main.py: Swaped order of          * tools/formed/formed/main.py: Swaped order of
1137            'Make names unique' and 'Selected mode...' in Extra            'Make names unique' and 'Selected mode...' in Extra
1138                  menu and put a separator between them.            menu and put a separator between them.
1139    
1140  2007-08-15      Sascha L. Teichmann <[email protected]>  2007-08-15      Sascha L. Teichmann <[email protected]>
1141    
# Line 1083  Line 1144 
1144    
1145          * tools/formed/formed/plugins/plugin.py: Simplified          * tools/formed/formed/plugins/plugin.py: Simplified
1146            the plug-in interface. Only the reference to the            the plug-in interface. Only the reference to the
1147                  global configuration is passed at setup time.            global configuration is passed at setup time.
1148    
1149          * tools/formed/formed/plugins/web/plugin.py: Adjusted          * tools/formed/formed/plugins/web/plugin.py: Adjusted
1150            to new plug-in setup. The traveral mode is now taken            to new plug-in setup. The traveral mode is now taken
1151                  from the global configuration each time a rendering            from the global configuration each time a rendering
1152                  is triggered. The FORMED parameter is now named            is triggered. The FORMED parameter is now named
1153                  'doc.mode' instead of 'web.mode'. The parameter            'doc.mode' instead of 'web.mode'. The parameter
1154                  is not needed any more because it can be configured            is not needed any more because it can be configured
1155                  at runtime.            at runtime.
1156    
1157          * tools/formed/formed/main.py: Adjusted to new plugin          * tools/formed/formed/main.py: Adjusted to new plugin
1158            setup. Added a new menu item Extra->Select Mode...            setup. Added a new menu item Extra->Select Mode...
1159                  to select the traversal mode. It is stored in the            to select the traversal mode. It is stored in the
1160                  global config.            global config.
1161    
1162          * tools/formed/formed/config.py: Simplified. Only uses          * tools/formed/formed/config.py: Simplified. Only uses
1163            one env dictionary to store global configuration parameters.            one env dictionary to store global configuration parameters.
# Line 1108  Line 1169 
1169    
1170          * tools/formed/formed/plugins/web/plugin.py,          * tools/formed/formed/plugins/web/plugin.py,
1171            tools/formed/formed/plugins/web/renderer.py: Added parameter            tools/formed/formed/plugins/web/renderer.py: Added parameter
1172                  print out in web plugin.            print out in web plugin.
1173    
1174  2007-08-15      Torsten Irlaender <[email protected]>  2007-08-15      Torsten Irlaender <[email protected]>
1175    
# Line 1126  Line 1187 
1187    
1188          * tools/formed/formed/plugins/web/plugin.py,          * tools/formed/formed/plugins/web/plugin.py,
1189            tools/formed/formed/config.py: Added a 'web.mode' parameter            tools/formed/formed/config.py: Added a 'web.mode' parameter
1190                  to FORMED environment variable.            to FORMED environment variable.
1191                  e.g. 'FORMED=web.mode:modeX' sets the mode 'modeX'.            e.g. 'FORMED=web.mode:modeX' sets the mode 'modeX'.
1192                  Defaults to 'default'.            Defaults to 'default'.
1193    
1194          * tools/formed/test-data/simple.xml: Added test for switch.          * tools/formed/test-data/simple.xml: Added test for switch.
1195    
# Line 1142  Line 1203 
1203          * tools/formed/formed/io/document.py,          * tools/formed/formed/io/document.py,
1204            tools/formed/formed/model/data.py,            tools/formed/formed/model/data.py,
1205            tools/formed/formed/model/nodecomponents.py: Added an item            tools/formed/formed/model/nodecomponents.py: Added an item
1206                  to model external item lists.            to model external item lists.
1207    
1208          * tools/formed/formed/plugins/web/renderer.py: Render new item          * tools/formed/formed/plugins/web/renderer.py: Render new item
1209            list.            list.
# Line 1159  Line 1220 
1220    
1221          * contrib/extract-xfa-items.sh: New. Can be used to extract longer          * contrib/extract-xfa-items.sh: New. Can be used to extract longer
1222            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
1223                  './contrib/extract-xfa-items.sh Muttersprache alles.xml'            './contrib/extract-xfa-items.sh Muttersprache alles.xml'
1224    
1225  2007-08-12      Sascha L. Teichmann <[email protected]>  2007-08-12      Sascha L. Teichmann <[email protected]>
1226    
1227          * tools/formed/formed/model/data.py,          * tools/formed/formed/model/data.py,
1228            tools/formed/formed/plugins/web/renderer.py,            tools/formed/formed/plugins/web/renderer.py,
1229                  tools/formed/formed/io/document.py: Changed the structure            tools/formed/formed/io/document.py: Changed the structure
1230                  of choice constructs. The idea to hold the different items            of choice constructs. The idea to hold the different items
1231                  of a particular choice in a semicolon separated list was bad.            of a particular choice in a semicolon separated list was bad.
1232                  Now choices are groups and  the option items are modelled as            Now choices are groups and  the option items are modelled as
1233                  embedded bools. (mainly Torsten Irländer's idea).            embedded bools. (mainly Torsten Irländer's idea).
1234    
1235                  WARNING: this makes old document files containing choices incompatible!!!            WARNING: this makes old document files containing choices incompatible!!!
1236                  Use the following XSLT to reestablish compatibility.            Use the following XSLT to reestablish compatibility.
1237                              
1238          * contrib/itemize-choices.xsl: New converts old to new structure.          * contrib/itemize-choices.xsl: New converts old to new structure.
1239            Needs exslt.org's string extensions (which xsltproc includes)            Needs exslt.org's string extensions (which xsltproc includes)
1240    
# Line 1191  Line 1252 
1252    
1253          * tools/formed/formed/model/nodecomponents.py: Added code to clone parts          * tools/formed/formed/model/nodecomponents.py: Added code to clone parts
1254            of the tree.            of the tree.
1255                              
1256          * tools/formed/formed/ui/controls.py: Added a getSelected method.          * tools/formed/formed/ui/controls.py: Added a getSelected method.
1257    
1258          * tools/formed/formed/model/misc.py: Fixed a programming bug.          * tools/formed/formed/model/misc.py: Fixed a programming bug.
# Line 1214  Line 1275 
1275    
1276          * tools/formed/formed/model/nodecomponents.py: Added walk generator over all          * tools/formed/formed/model/nodecomponents.py: Added walk generator over all
1277            items in the document tree. Added a method to eliminated duplicated names            items in the document tree. Added a method to eliminated duplicated names
1278                  in document tree.            in document tree.
1279    
1280          * tools/formed/formed/model/misc.py: Added update mechanism for id generator          * tools/formed/formed/model/misc.py: Added update mechanism for id generator
1281            after names collisions are eliminated.            after names collisions are eliminated.
# Line 1226  Line 1287 
1287    
1288          * tools/formed/formed/model/data.py,          * tools/formed/formed/model/data.py,
1289            tools/formed/formed/plugins/web/renderer.py: Removed support            tools/formed/formed/plugins/web/renderer.py: Removed support
1290                  for 'text' attributes in bool items. They were never really            for 'text' attributes in bool items. They were never really
1291                  used and the 'description' attributes fulfill the same            used and the 'description' attributes fulfill the same
1292                  purpose.            purpose.
1293    
1294          * contrib/remove-bool-text.xsl: Transform to remove the          * contrib/remove-bool-text.xsl: Transform to remove the
1295            'text' attributes from bool items. Apply with:            'text' attributes from bool items. Apply with:
1296                  'xsltproc contrib/remove-bool-text.xsl old.xml > new.xml'            'xsltproc contrib/remove-bool-text.xsl old.xml > new.xml'
1297    
1298          * tools/formed/test-data/simple.xml: Removed 'text' attributes          * tools/formed/test-data/simple.xml: Removed 'text' attributes
1299            from bool items.            from bool items.
# Line 1251  Line 1312 
1312    
1313          * contrib/convert-choices.xsl: Added to convert document files          * contrib/convert-choices.xsl: Added to convert document files
1314            which use the choice 'option' attribute to usage of 'value'.            which use the choice 'option' attribute to usage of 'value'.
1315                  Apply with e.g. 'xsltproc convert-choices.xsl old.xml > new.xml'            Apply with e.g. 'xsltproc convert-choices.xsl old.xml > new.xml'
1316    
1317  2007-08-10      Sascha L. Teichmann <[email protected]>  2007-08-10      Sascha L. Teichmann <[email protected]>
1318    
# Line 1288  Line 1349 
1349    
1350          * tools/formed/formed/plugins/web/plugin.py: To determine          * tools/formed/formed/plugins/web/plugin.py: To determine
1351            the port look at FORMED dictionary first. Key is 'web.port'.            the port look at FORMED dictionary first. Key is 'web.port'.
1352                  e.g. FORMED='web.port:8888'            e.g. FORMED='web.port:8888'
1353    
1354          * tools/formed/formed/main.py: Call the plugin setup with          * tools/formed/formed/main.py: Call the plugin setup with
1355            the reference to the config.            the reference to the config.
# Line 1368  Line 1429 
1429    
1430          * tools/formed/formed/model/data.py,          * tools/formed/formed/model/data.py,
1431            tools/formed/formed/model/nodecomponents.py: Added new            tools/formed/formed/model/nodecomponents.py: Added new
1432                  attributes.            attributes.
1433    
1434          * tools/formed/formed/plugins/web/plugin.py: Added rendering          * tools/formed/formed/plugins/web/plugin.py: Added rendering
1435            for checkboxes and radio buttons.            for checkboxes and radio buttons.
# Line 1397  Line 1458 
1458    
1459          * tools/formed/formed/plugins/web/plugin.py: Added a first          * tools/formed/formed/plugins/web/plugin.py: Added a first
1460            version of a recursive HTML renderer based on the document            version of a recursive HTML renderer based on the document
1461                  tree.            tree.
1462    
1463  2007-08-08      Sascha L. Teichmann <[email protected]>  2007-08-08      Sascha L. Teichmann <[email protected]>
1464    
# Line 1426  Line 1487 
1487    
1488          * tools/formed/formed/main.py: Added event route document ->          * tools/formed/formed/main.py: Added event route document ->
1489            attribute table to get informed when selected item is delete            attribute table to get informed when selected item is delete
1490                  or an attribute is changed from the outside.            or an attribute is changed from the outside.
1491    
1492          * tools/formed/formed/ui/controls.py: Fixed. In older versions of          * tools/formed/formed/ui/controls.py: Fixed. In older versions of
1493            wxPython 2.6.x ListCtrl.InsertStringItem takes 2 instead            wxPython 2.6.x ListCtrl.InsertStringItem takes 2 instead
1494                  of 3 argument. Uses icons+tooltips for tree navigation now.            of 3 argument. Uses icons+tooltips for tree navigation now.
1495    
1496  2007-08-07      Sascha L. Teichmann <[email protected]>  2007-08-07      Sascha L. Teichmann <[email protected]>
1497    
# Line 1478  Line 1539 
1539    
1540          * tools/formed/formed/ui/controls.py: Establish sort order          * tools/formed/formed/ui/controls.py: Establish sort order
1541            by indices of children in parent instead of alphanum.            by indices of children in parent instead of alphanum.
1542                  Code to move items up and down the document tree.            Code to move items up and down the document tree.
1543    
1544          * tools/formed/formed/io/document.py: Added missing imports.          * tools/formed/formed/io/document.py: Added missing imports.
1545    
# Line 1491  Line 1552 
1552    
1553          * tools/formed/formed/main.py,          * tools/formed/formed/main.py,
1554            tools/formed/formed/ui/controls.py: Added control to            tools/formed/formed/ui/controls.py: Added control to
1555                  move items around in tree. Has no effect by now.            move items around in tree. Has no effect by now.
1556    
1557  2007-08-05      Sascha L. Teichmann <[email protected]>  2007-08-05      Sascha L. Teichmann <[email protected]>
1558    
# Line 1507  Line 1568 
1568    
1569          * tools/formed/*: initial check-in of the Formular Editor.          * tools/formed/*: initial check-in of the Formular Editor.
1570            Not working yet. Only can load, view and store formular XML files.            Not working yet. Only can load, view and store formular XML files.
1571                  Start it with 'tools/formed/formed.sh'.            Start it with 'tools/formed/formed.sh'.

Legend:
Removed from v.179  
changed lines
  Added in v.186

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26