/[formed]/trunk/ChangeLog
ViewVC logotype

Diff of /trunk/ChangeLog

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

revision 175 by teichmann, Tue Sep 11 17:21:55 2007 UTC revision 201 by teichmann, Sat Oct 6 21:17:00 2007 UTC
# Line 1  Line 1 
1  2007-09-11 Sascha L. Teichmann <[email protected]>  2007-10-06      Sascha L. Teichmann <[email protected]>
2    
3            * pdf2xfa/**: Initial import of the PDF to XFA server.
4    
5    2007-10-06      Sascha L. Teichmann <[email protected]>
6    
7            * tools/formed/formed/plugins/export/sql.py: Fixed bug
8              that made choices of three elements to booleans if
9              they have other meanings than 'Ja', 'Nein', 'keine Angabe'.
10    
11    2007-10-05      Sascha L. Teichmann <[email protected]>
12    
13            * tools/formed/formed/plugins/export/sql.py: Select ids of
14              underlaying tables in views too.
15    
16    2007-10-04      Sascha L. Teichmann <[email protected]>
17    
18            * tools/formed/formed/plugins/export/sql.py: Create schema inside transaction.
19              Various bug fixes.
20    
21    2007-10-04      Sascha L. Teichmann <[email protected]>
22    
23            * tools/formed/formed/model/data.py: Added GroupNode.allWidgets()
24              to extract fields from embedded repeat groups.
25    
26            * tools/formed/formed/plugins/export/sql.py: The SQL exporter exports
27              views per page too. Result not tested yet.
28    
29    2007-10-01      Sascha L. Teichmann <[email protected]>
30    
31            * tools/formed/formed/plugins/web/view_renderer.py: Ignore
32              in-page repeat groups while rendering pages.
33    
34    2007-10-01      Sascha L. Teichmann <[email protected]>
35    
36            * tools/formed/formed/model/nodecomponents.py: Added visitor
37              traversals for document trees.
38    
39            * tools/formed/formed/model/data.py: Rewrote the
40              Page.allWidgets() method to use new visitor for
41              tree traversal.
42    
43    2007-09-27      Torsten Irlaender <[email protected]>
44    
45            * tools/formed/formed/plugins/names/filter.py: Pages are now included
46              in the rename by formular name  algorithm
47    
48    2007-09-26      Sascha L. Teichmann <[email protected]>
49    
50            * tools/formed/formed/model/data.py: Removed old {next|prev}Page()
51              TODO: rewrite Page.allWidgets().
52    
53            * tools/formed/formed/model/nodecomponents.py: Added a method
54              Node.firstLevel(criterion) to walk a defined line in the tree.
55    
56            * tools/formed/formed/plugins/export/sql.py: Extract data suitable to
57              build views and respective joins.
58    
59    2007-09-26      Sascha L. Teichmann <[email protected]>
60    
61            * tools/formed/formed/plugins/web/plugin.py: add 'web.tidy:' flag to
62              FORMED environment variable. If set to true tidylib is used to
63              filter HTML content to be W3C valid. To use this feature install
64              uTidylib.
65    
66            * tools/formed/formed/plugins/web/server.py: Check if MIME type is
67              text/html and filters content through tidy if requested.
68    
69    2007-09-25      Torsten Irlaender <[email protected]>
70    
71            * tools/formed/formed/plugins/web/view_renderer.py: Small fix and
72              cleanup of the form generation code.
73    
74    2007-09-21      Sascha L. Teichmann <[email protected]>
75    
76            * tools/formed/formed/plugins/export/sql.py: Added generation time
77              and DROP TABLE statements to schema export.
78    
79    2007-09-20      Sascha L. Teichmann <[email protected]>
80    
81            * tools/formed/formed/plugins/export/sql.py: The tables are generated
82              in correct topolocial order now.
83    
84    2007-09-20      Sascha L. Teichmann <[email protected]>
85    
86            * tools/formed/formed/plugins/export/mode.py: New. Filter to export
87              a document with items that are in given mode.
88    
89            * tools/formed/formed/model/nodecomponents.py: Added methods to clone
90              trees depending on selected modes.
91    
92            * tools/formed/formed/model/data.py, tools/formed/formed/model/expr.py:
93              Fixed clone issue with RuleNodes.
94    
95            * tools/formed/formed/config.py: Use new plug-in.
96    
97    2007-09-17      Sascha L. Teichmann <[email protected]>
98    
99            * tools/formed/formed/plugins/web/view_renderer.py: Make the
100              view renderer a real view renderer. It takes a list of
101              items now and not only a single page.
102    
103            * tools/formed/formed/plugins/web/renderer.py: Feed a list
104              of items to the view renderer.
105    
106    2007-09-17      Torsten Irlaender <[email protected]>
107    
108            * tools/formed/formed/plugins/web/view_renderer.py:
109              Small tweaks in rendering bools.
110              RadioNodes (with all its children) can now be placed in a container.
111              The radiobools will not get a surrounding <div> anymore.
112              I am not sure if the new way results in the wanted behaivor, but the
113              rendering results are much better now :)
114              Maybe we need a similar approach for checkboxes?
115              Rendering groups is still broken in some way.
116    
117    2007-09-17      Sascha L. Teichmann <[email protected]>
118    
119            * tools/formed/formed/plugins/web/view_renderer.py: Fixed
120              a few bugs: Do not render empty containers, do not
121              generate misplaced <br class="newline"> in choices.
122              Add a nameless container to catch the items that are
123              nor explicitly assigned to a target. Removed FormData.
124    
125            * tools/formed/formed/plugins/web/renderer.py: Removed
126              a needless import
127    
128    2007-09-17      Sascha L. Teichmann <[email protected]>
129    
130            * tools/formed/formed/plugins/web/view_renderer.py: Implemented
131              usage of 'containers' and 'target' attributes.
132    
133            * tools/formed/formed/plugins/web/controllers.py: Modified import.
134    
135            * tools/formed/formed/plugins/web/renderer.py: Use
136              new ViewRenderer.
137    
138    2007-09-17      Sascha L. Teichmann <[email protected]>
139    
140            * tools/formed/formed/model/nodecomponents.py: Added attributes
141              'target' to NodeComponent and 'containers' to Node.
142    
143            * tools/formed/formed/plugins/web/view_renderer.py: New. Aimed
144              to be a replacement for form_renderer. Not ready yet!
145    
146            * ChangeLog: Fixed some indention glitches.
147    
148    2007-09-13      Torsten Irlaender <[email protected]>
149    
150            * tools/formed/formed/plugins/names/filter.py: Fixed bug in the
151              renaming algorithm.
152    
153    2007-09-12      Torsten Irlaender <[email protected]>
154    
155            * tools/formed/formed/plugins/web/form_renderer.py: Renamed header
156              from formular navigation to "Fallakte Inhalt"
157    
158    2007-09-12      Torsten Irlaender <[email protected]>
159    
160            * tools/formed/formed/plugins/ui/controls.py: Fixed bug that bad
161              values (dates)  were not pretty printed.
162    
163            * tools/formed/formed/plugins/web/form_renderer.py: Added errormsg to
164              label rendering for choicelists.
165    
166    2007-09-12      Torsten Irlaender <[email protected]>
167    
168            * tools/formed/formed/plugins/ui/controls.py: Fixed bug that
169              choicelist did not get selected when the value is set to "0"
170    
171    2007-09-12      Torsten Irlaender <[email protected]>
172    
173            * tools/formed/formed/plugins/web/form_renderer.py: Added
174              "getPrintableData" method, for the formdata Class which will return
175              the description rather than the value of element in the ID. This is
176              need for displaying the choises in a right way.
177            
178            * tools/formed/formed/plugins/web/renderer.py: Changed string
179              "Fallnummer" into "Kundennummer" in the templates. Added
180              Kundennummer to the dataset digest output. Bound in the new
181              "getPrintableData" call for the digest.
182    
183    2007-10-11      Sascha L. Teichmann <[email protected]>
184    
185            * tools/formed/formed/plugins/export/data.py: The import/export
186              of data is now implemented with filters (the most consequent
187              way in terms of design of FormEd). The support of the 'persistent'
188              FORMED env-variable support has been removed.
189    
190            * tools/formed/formed/plugins/ui/controls.py: Added a flag to the
191              filter file dialog to double as import dialog.
192    
193            * tools/formed/formed/main.py: Removed the the FORMED-var support
194              for persistence.
195            
196            * tools/formed/formed/config.py: Add the two new filters to the filters
197              list.
198    
199    2007-10-11      Sascha L. Teichmann <[email protected]>
200    
201            * tools/formed/formed/model/memory.py: Uses XML as persistence format now.
202              Removed pickle/unpickle stuff.
203    
204            * tools/formed/formed/main.py: Uses the new XML persistence.
205    
206            * tools/formed/formed/plugins/web/semantic.py: Fixed: choices were
207              not converted to int indices.
208    
209    2007-09-11      Sascha L. Teichmann <[email protected]>
210    
211          * tools/formed/formed/model/memory.py: Making MemoryDataStore persistent          * tools/formed/formed/model/memory.py: Making MemoryDataStore persistent
212            with pickle/unpickle.            with pickle/unpickle.
213    
214          * tools/formed/formed/main.py: Added a env FORMED parameter 'persistent'.          * tools/formed/formed/main.py: Added a env FORMED parameter 'persistent'.
215            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
216                  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
217                  current MemoryDataStore state. The storing only works if you exit            current MemoryDataStore state. The storing only works if you exit
218                  the program through the Menu File->Exit.            the program through the Menu File->Exit.
219                  usage: FORMED=persistent:test.db ./formed.sh            usage: FORMED=persistent:test.db ./formed.sh
220    
221  2007-09-11 Torsten Irlaender <[email protected]>  2007-09-11      Torsten Irlaender <[email protected]>
222    
223          * tools/formed/formed/plugins/web/renderer.py: Changed Name of the          * tools/formed/formed/plugins/web/renderer.py: Changed Name of the
224            application on the welcome page from "Formed" to "WASKA"            application on the welcome page from "Formed" to "WASKA"
225    
226  2007-09-11 Torsten Irlaender <[email protected]>  2007-09-11      Torsten Irlaender <[email protected]>
227    
228          * tools/formed/formed/plugins/web/plugin.py,          * tools/formed/formed/plugins/web/plugin.py,
229          * tools/formed/formed/plugins/web/controllers.py,          * tools/formed/formed/plugins/web/controllers.py,
230          * tools/formed/formed/plugins/web/renderer.py: Added InfoPageHandler.          * tools/formed/formed/plugins/web/renderer.py: Added InfoPageHandler.
231            The infopage provides information on all project participants.            The infopage provides information on all project participants.
232    
233  2007-09-11 Sascha L. Teichmann <[email protected]>  2007-09-11      Sascha L. Teichmann <[email protected]>
234    
235          * tools/formed/formed/plugins/web/controllers.py: Fix unicode conversion          * tools/formed/formed/plugins/web/controllers.py: Fix unicode conversion
236            issues with error messages (once again).            issues with error messages (once again).
237    
238  2007-09-11 Torsten Irlaender <[email protected]>  2007-09-11      Torsten Irlaender <[email protected]>
239    
240          * tools/formed/formed/plugins/web/form_renderer.py,          * tools/formed/formed/plugins/web/form_renderer.py,
241          * tools/formed/formed/plugins/web/renderer.py: Added alt tag for          * tools/formed/formed/plugins/web/renderer.py: Added alt tag for
242            icons in error and confirmation dialogs.            icons in error and confirmation dialogs.
243    
244  2007-09-11 Sascha L. Teichmann <[email protected]>  2007-09-11      Sascha L. Teichmann <[email protected]>
245    
246          * tools/formed/formed/plugins/web/form_renderer.py: Fixed label          * tools/formed/formed/plugins/web/form_renderer.py: Fixed label
247            generation for ints, texts and textareas. Fixed h depths of infos.            generation for ints, texts and textareas. Fixed h depths of infos.
248    
249  2007-09-11 Sascha L. Teichmann <[email protected]>  2007-09-11      Sascha L. Teichmann <[email protected]>
250    
251          * tools/formed/formed/plugins/web/form_renderer.py: Removed          * tools/formed/formed/plugins/web/form_renderer.py: Removed
252            debug output for help.            debug output for help.
# Line 49  Line 257 
257          * tools/formed/formed/plugins/web/controllers.py:  Added correct          * tools/formed/formed/plugins/web/controllers.py:  Added correct
258            HTML output of data for bools.            HTML output of data for bools.
259    
260  2007-09-11 Torsten Irlaender <[email protected]>  2007-09-11      Torsten Irlaender <[email protected]>
261    
262          * tools/formed/formed/plugins/web/form_renderer.py: Changed size of          * tools/formed/formed/plugins/web/form_renderer.py: Changed size of
263            textfields for int values. Changed Label for submitbuttons to            textfields for int values. Changed Label for submitbuttons to
# Line 66  Line 274 
274            dynamically depending on num errors. Formular navigation has now            dynamically depending on num errors. Formular navigation has now
275            colored indication for errors.            colored indication for errors.
276    
277  2007-09-11 Torsten Irlaender <[email protected]>  2007-09-11      Torsten Irlaender <[email protected]>
278    
279          * tools/formed/formed/plugins/web/renderer.py: Implemented "LookAhead"          * tools/formed/formed/plugins/web/renderer.py: Implemented "LookAhead"
280            algorithm for the formular navigation to get rid of the problem            algorithm for the formular navigation to get rid of the problem
# Line 74  Line 282 
282            structural group elements are linked with the next page found in the            structural group elements are linked with the next page found in the
283            formular structure.            formular structure.
284    
285  2007-09-10 Torsten Irlaender <[email protected]>  2007-09-10      Torsten Irlaender <[email protected]>
286          * tools/formed/formed/plugins/web/form_renderer.py: Changed order of          * tools/formed/formed/plugins/web/form_renderer.py: Changed order of
287            div and formtag.            div and formtag.
288    
# Line 86  Line 294 
294            overview and the digest table of the datasets. Added icon for            overview and the digest table of the datasets. Added icon for
295            confirmation dialog, moved the icon in the <h1> tags.              confirmation dialog, moved the icon in the <h1> tags.  
296    
297  2007-09-10 Torsten Irlaender <[email protected]>  2007-09-10      Torsten Irlaender <[email protected]>
298    
299          * tools/formed/formed/plugins/web/form_renderer.py: Some html          * tools/formed/formed/plugins/web/form_renderer.py: Some html
300            generation cleanup. Added error icons to formelements            generation cleanup. Added error icons to formelements
# Line 100  Line 308 
308            Links in confimation dialogs are now rendered as buttons. Removed            Links in confimation dialogs are now rendered as buttons. Removed
309            old obsolete OverviewRenderer.            old obsolete OverviewRenderer.
310    
311  2007-09-10 Sascha L. Teichmann <[email protected]>  2007-09-10      Sascha L. Teichmann <[email protected]>
312    
313          * tools/formed/formed/plugins/web/renderer.py: Highlight selected          * tools/formed/formed/plugins/web/renderer.py: Highlight selected
314            page in page navigation.            page in page navigation.
315    
316  2007-09-10 Torsten Irlaender <[email protected]>  2007-09-10      Torsten Irlaender <[email protected]>
317    
318          * tools/formed/formed/plugins/web/controllers.py: Fixed issues on          * tools/formed/formed/plugins/web/controllers.py: Fixed issues on
319            displaying formdata when changing datasets. Loading the right            displaying formdata when changing datasets. Loading the right
# Line 116  Line 324 
324          * tools/formed/formed/plugins/web/renderer.py: DataSetDigestRenderer          * tools/formed/formed/plugins/web/renderer.py: DataSetDigestRenderer
325            now uses the correct data out of the formdata.            now uses the correct data out of the formdata.
326    
327  2007-09-10 Sascha L. Teichmann <[email protected]>  2007-09-10      Sascha L. Teichmann <[email protected]>
328    
329          * tools/formed/formed/plugins/web/controllers.py: Pretty          * tools/formed/formed/plugins/web/controllers.py: Pretty
330            print format data (dates e.g)            print format data (dates e.g)
331    
332  2007-09-10 Sascha L. Teichmann <[email protected]>  2007-09-10      Sascha L. Teichmann <[email protected]>
333    
334          * tools/formed/formed/plugins/web/controllers.py: Modified          * tools/formed/formed/plugins/web/controllers.py: Modified
335            ErrorStats a bit to avoid mysterious extra error on page.            ErrorStats a bit to avoid mysterious extra error on page.
336                  No clue why this works.            No clue why this works.
337    
338  2007-09-10 Sascha L. Teichmann <[email protected]>  2007-09-10      Sascha L. Teichmann <[email protected]>
339    
340          * tools/formed/formed/plugins/web/form_renderer.py: Fixed value          * tools/formed/formed/plugins/web/form_renderer.py: Fixed value
341            problem with radio groups, too.            problem with radio groups, too.
342    
343  2007-09-10 Torsten Irlaender <[email protected]>  2007-09-10      Torsten Irlaender <[email protected]>
344          * tools/formed/formed/plugins/web/controllers.py: Sessions are now          * tools/formed/formed/plugins/web/controllers.py: Sessions are now
345            really removed when deleting a dataset.            really removed when deleting a dataset.
346                    
347  2007-09-10 Torsten Irlaender <[email protected]>  2007-09-10      Torsten Irlaender <[email protected]>
348    
349          * tools/formed/formed/plugins/web/controllers.py: Added new Class          * tools/formed/formed/plugins/web/controllers.py: Added new Class
350            ErrorStats which provides Information on remaining errors per page.            ErrorStats which provides Information on remaining errors per page.
# Line 147  Line 355 
355          * tools/formed/formed/plugins/web/plugin.py: Removed render_session          * tools/formed/formed/plugins/web/plugin.py: Removed render_session
356            handlers            handlers
357    
358  2007-09-10 Sascha L. Teichmann <[email protected]>  2007-09-10      Sascha L. Teichmann <[email protected]>
359    
360          * tools/formed/formed/plugins/web/form_renderer.py: values for          * tools/formed/formed/plugins/web/form_renderer.py: values for
361            choices are generated from the document tree now. This brings            choices are generated from the document tree now. This brings
362                  the state storage of select boxes in HTML to live.            the state storage of select boxes in HTML to live.
363    
364  2007-09-09 Sascha L. Teichmann <[email protected]>  2007-09-09      Sascha L. Teichmann <[email protected]>
365    
366          * tools/formed/formed/plugins/web/semantic.py: Fixed problems with          * tools/formed/formed/plugins/web/semantic.py: Fixed problems with
367            range checking of integers.            range checking of integers.
# Line 161  Line 369 
369          * tools/formed/formed/plugins/web/controllers.py: Added class          * tools/formed/formed/plugins/web/controllers.py: Added class
370            ErrorItem to track errors. They are stored in the session.            ErrorItem to track errors. They are stored in the session.
371    
372  2007-09-09 Sascha L. Teichmann <[email protected]>  2007-09-09      Sascha L. Teichmann <[email protected]>
373    
374          * tools/formed/formed/model/nodecomponents.py: Fixed returning          * tools/formed/formed/model/nodecomponents.py: Fixed returning
375            wrong index in Document.indexOfcomponentByClassAndName.            wrong index in Document.indexOfcomponentByClassAndName.
# Line 171  Line 379 
379    
380          * tools/formed/formed/plugins/web/controllers.py: Some clean-ups.          * tools/formed/formed/plugins/web/controllers.py: Some clean-ups.
381    
382  2007-09-09 Sascha L. Teichmann <[email protected]>  2007-09-09      Sascha L. Teichmann <[email protected]>
383    
384          * tools/formed/formed/plugins/web/help.py: Added a 'hasHelp'          * tools/formed/formed/plugins/web/help.py: Added a 'hasHelp'
385            method. Could be cheaper for some implementations of help.            method. Could be cheaper for some implementations of help.
386    
387          * tools/formed/formed/plugins/web/form_renderer.py: Modified          * tools/formed/formed/plugins/web/form_renderer.py: Modified
388            FormData to have distinct getData(), getHelp() and getError()            FormData to have distinct getData(), getHelp() and getError()
389                  methods. Various bug fixes.            methods. Various bug fixes.
390    
391          * tools/formed/formed/plugins/web/controllers.py: Implements the          * tools/formed/formed/plugins/web/controllers.py: Implements the
392            new FormData (trivial by now).            new FormData (trivial by now).
# Line 186  Line 394 
394          * tools/formed/formed/plugins/web/renderer.py: New FormData and          * tools/formed/formed/plugins/web/renderer.py: New FormData and
395            some bug fixes.            some bug fixes.
396    
397  2007-09-09 Sascha L. Teichmann <[email protected]>  2007-09-09      Sascha L. Teichmann <[email protected]>
398    
399          * tools/formed/formed/model/memory.py,          * tools/formed/formed/model/memory.py,
400            tools/formed/formed/model/persistent.py: Add a getValue() method            tools/formed/formed/model/persistent.py: Add a getValue() method
401                  to dataset abstraction. This is a bit of a workaround to bring            to dataset abstraction. This is a bit of a workaround to bring
402                  global access across pages for rule checking to work.            global access across pages for rule checking to work.
403    
404          * tools/formed/formed/model/data.py: Fixed: When setting a new expression          * tools/formed/formed/model/data.py: Fixed: When setting a new expression
405            the compiled version was not stored in the RuleLeaf.            the compiled version was not stored in the RuleLeaf.
# Line 201  Line 409 
409    
410          * tools/formed/formed/plugins/web/semantic.py: Remove the 'box' because          * tools/formed/formed/plugins/web/semantic.py: Remove the 'box' because
411            valid data is stored to the dataset immediately now. Fixed a bug            valid data is stored to the dataset immediately now. Fixed a bug
412                  with integer handler.            with integer handler.
413    
414          * tools/formed/formed/plugins/web/controllers.py: Removed the semantic 'box'          * tools/formed/formed/plugins/web/controllers.py: Removed the semantic 'box'
415            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
416                  that are effected by the modified variables and check them.            that are effected by the modified variables and check them.
417    
418          * tools/formed/formed/plugins/web/renderer.py: Fixed exception handling          * tools/formed/formed/plugins/web/renderer.py: Fixed exception handling
419            when dealing with templates.            when dealing with templates.
420    
421  2007-09-07 Torsten Irlaender <[email protected]>  2007-09-07      Torsten Irlaender <[email protected]>
422          * tools/formed/formed/plugins/web/controllers.py,          * tools/formed/formed/plugins/web/controllers.py,
423            tools/formed/formed/plugins/web/renderer.py: Moved more render            tools/formed/formed/plugins/web/renderer.py: Moved more render
424            functions into renderer.py. New render classes are:            functions into renderer.py. New render classes are:
# Line 220  Line 428 
428            Note: The new methods are only called from selected handlers. Other            Note: The new methods are only called from selected handlers. Other
429            handlers call the renderes in the old way.            handlers call the renderes in the old way.
430    
431  2007-09-07 Torsten Irlaender <[email protected]>  2007-09-07      Torsten Irlaender <[email protected]>
432          * tools/formed/formed/plugins/web/form_renderer.py: Renamed          * tools/formed/formed/plugins/web/form_renderer.py: Renamed
433            renderer.py to form_renderer.py. This file will contain formular            renderer.py to form_renderer.py. This file will contain formular
434            specfic render methods in the future.            specfic render methods in the future.
# Line 230  Line 438 
438            rendering into renderer.py or form_renderer.py. This file will only            rendering into renderer.py or form_renderer.py. This file will only
439            contain teh handlers in the future.            contain teh handlers in the future.
440    
441  2007-09-07 Torsten Irlaender <[email protected]>  2007-09-07      Torsten Irlaender <[email protected]>
442          * tools/formed/formed/plugins/web/renderer.py,          * tools/formed/formed/plugins/web/renderer.py,
443            tools/formed/formed/plugins/web/controller.py:            tools/formed/formed/plugins/web/controller.py:
444            Renderes now get an instance of the formdata object to provide            Renderes now get an instance of the formdata object to provide
445            access the data needed to render various infoboxes etc. Handler            access the data needed to render various infoboxes etc. Handler
446            instanciate the formdata.            instanciate the formdata.
447                    
448  2007-09-06 Torsten Irlaender <[email protected]>  2007-09-06      Torsten Irlaender <[email protected]>
449          * tools/formed/formed/plugins/web/renderer.py: Mainly tried to get the          * tools/formed/formed/plugins/web/renderer.py: Mainly tried to get the
450            getFormData interface to work. Added two small semantic fixes, but            getFormData interface to work. Added two small semantic fixes, but
451            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 245  Line 453 
453            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
454            styles. Added dataset actions while editing a dataset.            styles. Added dataset actions while editing a dataset.
455                    
456  2007-09-05 Torsten Irlaender <[email protected]>  2007-09-05      Torsten Irlaender <[email protected]>
457          * tools/formed/formed/model/memory.py: Fixed deleting datasets by          * tools/formed/formed/model/memory.py: Fixed deleting datasets by
458            removing unwanted del method            removing unwanted del method
459          * tools/formed/formed/plugins/web/controllers.py: Implemented          * tools/formed/formed/plugins/web/controllers.py: Implemented
460            confiration dialogs for create, delete, and select aof datasets. Started to use            confiration dialogs for create, delete, and select aof datasets. Started to use
461            templates as well for larger information units like the dataset summary.            templates as well for larger information units like the dataset summary.
462                    
463  2007-09-05 Sascha L. Teichmann <[email protected]>  2007-09-05      Sascha L. Teichmann <[email protected]>
464    
465          * tools/formed/formed/model/nodecomponents.py: Added a          * tools/formed/formed/model/nodecomponents.py: Added a
466            method to document to find index of page.            method to document to find index of page.
# Line 263  Line 471 
471          * tools/formed/formed/plugins/web/controllers.py: Added new          * tools/formed/formed/plugins/web/controllers.py: Added new
472            FormData implementation to support DB and semantic box.            FormData implementation to support DB and semantic box.
473    
474  2007-09-05 Sascha L. Teichmann <[email protected]>  2007-09-05      Sascha L. Teichmann <[email protected]>
475    
476          * tools/formed/formed/plugins/web/renderer.py: escaped          * tools/formed/formed/plugins/web/renderer.py: escaped
477            error message.            error message.
# Line 271  Line 479 
479          * tools/formed/formed/plugins/web/controllers.py: Don't fetch          * tools/formed/formed/plugins/web/controllers.py: Don't fetch
480            dataset from backend each time a page is up to edit.            dataset from backend each time a page is up to edit.
481    
482  2007-09-05 Sascha L. Teichmann <[email protected]>  2007-09-05      Sascha L. Teichmann <[email protected]>
483    
484          * tools/formed/formed/plugins/web/renderer.py: SimplePageRenderer          * tools/formed/formed/plugins/web/renderer.py: SimplePageRenderer
485            returns "Page not found" if given page is None.            returns "Page not found" if given page is None.
# Line 279  Line 487 
487          * tools/formed/formed/plugins/web/controllers.py: Added checks          * tools/formed/formed/plugins/web/controllers.py: Added checks
488            to avoid crashing when ask for a non-existent page.            to avoid crashing when ask for a non-existent page.
489    
490  2007-09-05 Sascha L. Teichmann <[email protected]>  2007-09-05      Sascha L. Teichmann <[email protected]>
491    
492          * tools/formed/formed/plugins/web/controllers.py: Some clean-ups.          * tools/formed/formed/plugins/web/controllers.py: Some clean-ups.
493    
494  2007-09-05 Sascha L. Teichmann <[email protected]>  2007-09-05      Sascha L. Teichmann <[email protected]>
495    
496          * tools/formed/formed/plugins/web/plugin.py: Remove request handlers          * tools/formed/formed/plugins/web/plugin.py: Remove request handlers
497            and renderers.            and renderers.
# Line 291  Line 499 
499          * tools/formed/formed/plugins/web/controllers.py: New. Contains handlers          * tools/formed/formed/plugins/web/controllers.py: New. Contains handlers
500            and renderers now. TODO: Move renderers to renderer.py            and renderers now. TODO: Move renderers to renderer.py
501    
502  2007-09-05 Torsten Irlaender <[email protected]>  2007-09-05      Torsten Irlaender <[email protected]>
503    
504          * tools/formed/formed/plugins/web/www/main.tmpl: Adopted web template          * tools/formed/formed/plugins/web/www/main.tmpl: Adopted web template
505            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
506            show formdata.            show formdata.
507                    
508  2007-09-05 Sascha L. Teichmann <[email protected]>  2007-09-05      Sascha L. Teichmann <[email protected]>
509    
510          * tools/formed/formed/model/memory.py: Removed bisect and use a          * tools/formed/formed/model/memory.py: Removed bisect and use a
511            simple linear scan for dataset lookup now.            simple linear scan for dataset lookup now.
# Line 305  Line 513 
513          * tools/formed/formed/plugins/web/plugin.py: Fixed various issues          * tools/formed/formed/plugins/web/plugin.py: Fixed various issues
514            of different sizes.            of different sizes.
515    
516  2007-09-05 Torsten Irlaender <[email protected]>  2007-09-05      Torsten Irlaender <[email protected]>
517    
518          * tools/formed/formed/plugins/web/memory.py: Fixed getDataSetById          * tools/formed/formed/plugins/web/memory.py: Fixed getDataSetById
519            fuction            fuction
520                              
521          * tools/formed/formed/plugins/web/persistent.py: Added store() method          * tools/formed/formed/plugins/web/persistent.py: Added store() method
522            to the DataSet interface            to the DataSet interface
523    
524          * tools/formed/formed/plugins/web/renderer.py: Added handlers and          * tools/formed/formed/plugins/web/renderer.py: Added handlers and
525            renderes for create, update, delete and show actions on formular data.            renderes for create, update, delete and show actions on formular data.
526    
527  2007-09-04 Sascha L. Teichmann <[email protected]>  2007-09-04      Sascha L. Teichmann <[email protected]>
528    
529          * tools/formed/formed/plugins/web/server.py: The mapping          * tools/formed/formed/plugins/web/server.py: The mapping
530            to methods is now driven by regualar expressions and            to methods is now driven by regualar expressions and
531                  a dictionary. Response objects are now able to send            a dictionary. Response objects are now able to send
532                  error codes.            error codes.
533    
534          * tools/formed/formed/plugins/web/renderer.py: Fixed an issue          * tools/formed/formed/plugins/web/renderer.py: Fixed an issue
535            when help in Formdata is None. Moved text for help into            when help in Formdata is None. Moved text for help into
536                  a top level '''...''' variable.            a top level '''...''' variable.
537    
538          * tools/formed/test-data/simple.xml: Added test for help.          * tools/formed/test-data/simple.xml: Added test for help.
539    
# Line 333  Line 541 
541    
542          * tools/formed/formed/plugins/web/plugin.py: Uses the new          * tools/formed/formed/plugins/web/plugin.py: Uses the new
543            table driven mapping of reguest handling. TODO: split the            table driven mapping of reguest handling. TODO: split the
544                  WebPlugIn.pageHandler() method further to smaller handlers.            WebPlugIn.pageHandler() method further to smaller handlers.
545                  Smaller clean ups and better exception handling.            Smaller clean ups and better exception handling.
546    
547          * tools/formed/formed/plugins/web/cache.py: Report OSErrors          * tools/formed/formed/plugins/web/cache.py: Report OSErrors
548            and do not catch them.            and do not catch them.
549    
550  2007-09-04 Torsten Irlaender <[email protected]>  2007-09-04      Torsten Irlaender <[email protected]>
551    
552          * tools/formed/formed/plugins/web/renderer.py,          * tools/formed/formed/plugins/web/renderer.py,
553          * tools/formed/formed/plugins/web/plugin.py: Added Interface to          * tools/formed/formed/plugins/web/plugin.py: Added Interface to
# Line 348  Line 556 
556            within a <div> tag.            within a <div> tag.
557            Modified the error messages.            Modified the error messages.
558    
559  2007-09-04 Sascha L. Teichmann <[email protected]>  2007-09-04      Sascha L. Teichmann <[email protected]>
560    
561          * tools/formed/formed/plugins/web/cache.py: New. Implements          * tools/formed/formed/plugins/web/cache.py: New. Implements
562            the server-side caching more clean. Fixes a bug with            the server-side caching more clean. Fixes a bug with
563                  serving static content.            serving static content.
564    
565          * tools/formed/formed/plugins/web/plugin.py: Use the new cache.          * tools/formed/formed/plugins/web/plugin.py: Use the new cache.
566    
567  2007-09-04 Sascha L. Teichmann <[email protected]>  2007-09-04      Sascha L. Teichmann <[email protected]>
568    
569          * tools/formed/formed/plugins/web/plugin.py: Set MIME type          * tools/formed/formed/plugins/web/plugin.py: Set MIME type
570            to "application/xhtml+xml" when serving help texts.            to "application/xhtml+xml" when serving help texts.
571    
572  2007-09-03 Sascha L. Teichmann <[email protected]>  2007-09-03      Sascha L. Teichmann <[email protected]>
573    
574          * tools/formed/formed/plugins/export/diff.py: New. Exports          * tools/formed/formed/plugins/export/diff.py: New. Exports
575            pairwise differences between all modes.            pairwise differences between all modes.
576    
577          * tools/formed/formed/config.py: Use new export filter.          * tools/formed/formed/config.py: Use new export filter.
578    
579  2007-09-03 Sascha L. Teichmann <[email protected]>  2007-09-03      Sascha L. Teichmann <[email protected]>
580    
581          * tools/formed/formed/plugins/web/help.py: New. Parses an          * tools/formed/formed/plugins/web/help.py: New. Parses an
582            XHTML document for id'ed divs and builds a help lookup.            XHTML document for id'ed divs and builds a help lookup.
# Line 382  Line 590 
590          * tools/formed/formed/plugins/web/plugin.py: Serves the help          * tools/formed/formed/plugins/web/plugin.py: Serves the help
591            texts now.            texts now.
592    
593  2007-09-03 Torsten Irlaender <[email protected]>  2007-09-03      Torsten Irlaender <[email protected]>
594    
595          * tools/formed/formed/plugins/web/plugin.py: Only visible group          * tools/formed/formed/plugins/web/plugin.py: Only visible group
596            elements will be rendered in the formular navigation.            elements will be rendered in the formular navigation.
597            Formular pages in the navigation now have their own css-style            Formular pages in the navigation now have their own css-style
598            attributes.            attributes.
599    
600  2007-09-03 Torsten Irlaender <[email protected]>  2007-09-03      Torsten Irlaender <[email protected]>
601    
602          * 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
603            errors in template            errors in template
604          * tools/formed/formed/plugins/web/plugin.py: Fixed undefined          * tools/formed/formed/plugins/web/plugin.py: Fixed undefined
605            pageerrors variable            pageerrors variable
606    
607  2007-09-03 Frank Koormann <[email protected]>  2007-09-03      Frank Koormann <[email protected]>
608    
609          * tools/formed/formed/plugins/export/html.py          * tools/formed/formed/plugins/export/html.py
610          (RecursiveExporter): Added annotation to export          (RecursiveExporter): Added annotation to export
611          (fillRow()): Renamed old fillNine to this more generic name.          (fillRow()): Renamed old fillNine to this more generic name.
612                    
613    
614  2007-09-03 Sascha L. Teichmann <[email protected]>  2007-09-03      Sascha L. Teichmann <[email protected]>
615    
616          * tools/formed/formed/plugins/web/renderer.py: Using the decorator          * tools/formed/formed/plugins/web/renderer.py: Using the decorator
617            from model.misc now.            from model.misc now.
618    
619  2007-09-03 Sascha L. Teichmann <[email protected]>  2007-09-03      Sascha L. Teichmann <[email protected]>
620    
621          * tools/formed/formed/model/nodecomponents.py: Added an          * tools/formed/formed/model/nodecomponents.py: Added an
622            'annotation' attribute to node components. This is to            'annotation' attribute to node components. This is to
623                  enable FormEd document authors to add comments to groups            enable FormEd document authors to add comments to groups
624                  and fields.            and fields.
625    
626  2007-09-03 Frank Koormann <[email protected]>  2007-09-03      Frank Koormann <[email protected]>
627    
628          * tools/formed/formed/model/nodecomponents.py          * tools/formed/formed/model/nodecomponents.py
629          (NodeComponent.getParent): New method to get node components parent.          (NodeComponent.getParent): New method to get node components parent.
# Line 423  Line 631 
631          * tools/formed/formed/plugins/export/html.py: Export Choice option          * tools/formed/formed/plugins/export/html.py: Export Choice option
632          as simple list instead of collection of bools.          as simple list instead of collection of bools.
633    
634  2007-09-02 Sascha L. Teichmann <[email protected]>  2007-09-02      Sascha L. Teichmann <[email protected]>
635    
636          * tools/formed/formed/model/persistent.py: Interfaces to abstract          * tools/formed/formed/model/persistent.py: Interfaces to abstract
637            from persistent storage details.            from persistent storage details.
# Line 433  Line 641 
641    
642          * tools/formed/formed/main.py: Holds a memory data store now.          * tools/formed/formed/main.py: Holds a memory data store now.
643    
644  2007-09-02 Sascha L. Teichmann <[email protected]>  2007-09-02      Sascha L. Teichmann <[email protected]>
645    
646          * tools/formed/formed/plugins/export/sql.py,          * tools/formed/formed/plugins/export/sql.py,
647            tools/formed/formed/plugins/export/html.py: Fixed constructor chains            tools/formed/formed/plugins/export/html.py: Fixed constructor chains
648                  for FileDialogFilter sub classes.            for FileDialogFilter sub classes.
649    
650  2007-09-02 Sascha L. Teichmann <[email protected]>  2007-09-02      Sascha L. Teichmann <[email protected]>
651    
652          * tools/formed/formed/model/misc.py: Checking the mode in recursive          * tools/formed/formed/model/misc.py: Checking the mode in recursive
653            tree traversals is a common task. To ease this a decorator function            tree traversals is a common task. To ease this a decorator function
654                  checkMode in union with sub classing ModeChecker can be used.            checkMode in union with sub classing ModeChecker can be used.
655                  To make it work simply subclass from ModeChecker and add the decorator            To make it work simply subclass from ModeChecker and add the decorator
656                  to the methods that need mode tracking. Before you start the recursion            to the methods that need mode tracking. Before you start the recursion
657                  call self.prepareDescent().            call self.prepareDescent().
658    
659          * tools/formed/formed/plugins/export/html.py: Uses the new decorator scheme          * tools/formed/formed/plugins/export/html.py: Uses the new decorator scheme
660            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
661                  too.            too.
662    
663  2007-09-02 Sascha L. Teichmann <[email protected]>  2007-09-02      Sascha L. Teichmann <[email protected]>
664    
665          * tools/formed/formed/plugins/export/sql.py: Removed needless import.          * tools/formed/formed/plugins/export/sql.py: Removed needless import.
666    
667          * tools/formed/formed/plugins/export/html.py: HTML table exporter          * tools/formed/formed/plugins/export/html.py: HTML table exporter
668            uses new FileDialogFilter base class too.            uses new FileDialogFilter base class too.
669    
670  2007-09-02 Sascha L. Teichmann <[email protected]>  2007-09-02      Sascha L. Teichmann <[email protected]>
671    
672          * tools/formed/formed/plugins/ui/*: New. All file exporters          * tools/formed/formed/plugins/ui/*: New. All file exporters
673            need a file dialog. Till now each of them pulled up its            need a file dialog. Till now each of them pulled up its
674                  own. This was silly code replication. Now there is an abstract            own. This was silly code replication. Now there is an abstract
675                  base class 'FileDialogFilter' which implements the common            base class 'FileDialogFilter' which implements the common
676                  behavior. The file exporters should subclass it.            behavior. The file exporters should subclass it.
677    
678          * tools/formed/formed/plugins/export/sql.py: Subclass the SQL          * tools/formed/formed/plugins/export/sql.py: Subclass the SQL
679            exporters from the new base class. TODO: Subclass the HTML            exporters from the new base class. TODO: Subclass the HTML
680                  exporter too.            exporter too.
681    
682  2007-08-31 Sascha L. Teichmann <[email protected]>  2007-08-31      Sascha L. Teichmann <[email protected]>
683    
684          * tools/formed/formed/plugins/export/html.py: Make mode check          * tools/formed/formed/plugins/export/html.py: Make mode check
685            work (again).            work (again).
686    
687  2007-08-31 Torsten Irlaender <[email protected]>  2007-08-31      Torsten Irlaender <[email protected]>
688    
689          * tools/formed/formed/plugins/export/html.py: Rendering of the HTML          * tools/formed/formed/plugins/export/html.py: Rendering of the HTML
690            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 484  Line 692 
692            full hirachically document stuctures. (nested lists)            full hirachically document stuctures. (nested lists)
693            TODO: Fix modechecking            TODO: Fix modechecking
694    
695  2007-08-31 Torsten Irlaender <[email protected]>  2007-08-31      Torsten Irlaender <[email protected]>
696    
697          * tools/formed/formed/plugins/web/plugin.py: Navigation rendering works          * tools/formed/formed/plugins/web/plugin.py: Navigation rendering works
698            now in recursive way. This change was needed because the structure            now in recursive way. This change was needed because the structure
699            of the formedtree has changed to be able to render full hirachically            of the formedtree has changed to be able to render full hirachically
700            document stuctures. (nested lists)            document stuctures. (nested lists)
701    
702  2007-08-31 Sascha L. Teichmann <[email protected]>  2007-08-31      Sascha L. Teichmann <[email protected]>
703    
704          * tools/formed/formed/model/nodecomponents.py: use discard()          * tools/formed/formed/model/nodecomponents.py: use discard()
705            instead of remove on sets.            instead of remove on sets.
# Line 502  Line 710 
710          * tools/formed/formed/config.py: Added the new exporter          * tools/formed/formed/config.py: Added the new exporter
711            to the list of export filters.            to the list of export filters.
712    
713  2007-08-30 Sascha L. Teichmann <[email protected]>  2007-08-30      Sascha L. Teichmann <[email protected]>
714    
715          * tools/formed/formed/model/data.py: Fixed a bug in          * tools/formed/formed/model/data.py: Fixed a bug in
716            Page.allWidgets()            Page.allWidgets()
# Line 512  Line 720 
720    
721          * tools/formed/formed/config.py: Add the new SP exporter.          * tools/formed/formed/config.py: Add the new SP exporter.
722    
723  2007-08-29 Torsten Irlaender <[email protected]>  2007-08-29      Torsten Irlaender <[email protected]>
724    
725          * tools/formed/formed/plugins/web/plugin.py,          * tools/formed/formed/plugins/web/plugin.py,
726            tools/formed/formed/plugins/web/error_renderer.py: Added interface            tools/formed/formed/plugins/web/error_renderer.py: Added interface
727            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
728            now be displayed on the top of the formular.            now be displayed on the top of the formular.
729    
730  2007-08-29 Torsten Irlaender <[email protected]>  2007-08-29      Torsten Irlaender <[email protected]>
731    
732          * tools/formed/formed/plugins/web/renderer.py: Finished implementation          * tools/formed/formed/plugins/web/renderer.py: Finished implementation
733            of the getFromData interface and prepared the rederer for generating            of the getFromData interface and prepared the rederer for generating
734            nice error messages            nice error messages
735    
736  2007-08-28 Frank Koormann <[email protected]>  2007-08-28      Frank Koormann <[email protected]>
737    
738          * tools/formed/formed/plugins/export/sql.py          * tools/formed/formed/plugins/export/sql.py
739          (SchemaCreator.createSchema, SchemaCreator._createGroup):          (SchemaCreator.createSchema, SchemaCreator._createGroup):
740          Fixed typo in created DDS (PRIMRAY -> PRIMARY)          Fixed typo in created DDS (PRIMRAY -> PRIMARY)
741    
742  2007-08-28 Torsten Irlaender <[email protected]>  2007-08-28      Torsten Irlaender <[email protected]>
743    
744          * tools/formed/formed/plugins/export/sql.py: Added small helper          * tools/formed/formed/plugins/export/sql.py: Added small helper
745            function to generated valid quotes within the sql statements            function to generated valid quotes within the sql statements
746    
747  2007-08-29 Sascha L. Teichmann <[email protected]>  2007-08-29      Sascha L. Teichmann <[email protected]>
748    
749          * tools/formed/formed/plugins/export/sql.py: Added foreign keys          * tools/formed/formed/plugins/export/sql.py: Added foreign keys
750            for repeat tables.            for repeat tables.
751                        
752  2007-08-29 Sascha L. Teichmann <[email protected]>  2007-08-29      Sascha L. Teichmann <[email protected]>
753    
754          * tools/formed/formed/plugins/export/sql.py: When generating          * tools/formed/formed/plugins/export/sql.py: When generating
755            an extra table check in a table of same content exists. In            an extra table check in a table of same content exists. In
756                  this case reference the existing table.            this case reference the existing table.
757    
758  2007-08-29 Sascha L. Teichmann <[email protected]>  2007-08-29      Sascha L. Teichmann <[email protected]>
759    
760          * tools/formed/formed/plugins/export/sql.py: Rewritten to produce          * tools/formed/formed/plugins/export/sql.py: Rewritten to produce
761            _real_ SQL and respect repeat groups.            _real_ SQL and respect repeat groups.
# Line 557  Line 765 
765          * tools/formed/formed/plugins/web/renderer.py: Use "".join([])          * tools/formed/formed/plugins/web/renderer.py: Use "".join([])
766            instead of expensive += string concat in some places.            instead of expensive += string concat in some places.
767    
768  2007-08-29 Sascha L. Teichmann <[email protected]>  2007-08-29      Sascha L. Teichmann <[email protected]>
769    
770          * tools/formed/formed/model/data.py: Renamed GroupNode.getRepeat()          * tools/formed/formed/model/data.py: Renamed GroupNode.getRepeat()
771            to .isRepeat and return a bool. Fixed a bug in Page.allWidgets().            to .isRepeat and return a bool. Fixed a bug in Page.allWidgets().
772    
773  2007-08-28 Torsten Irlaender <[email protected]>  2007-08-28      Torsten Irlaender <[email protected]>
774    
775          * tools/formed/plugins/web/renderer.py: Added Formdata interface.          * tools/formed/plugins/web/renderer.py: Added Formdata interface.
776          * tools/formed/model/data.py: Implements Formadata interface to          * tools/formed/model/data.py: Implements Formadata interface to
# Line 570  Line 778 
778            attribute of the groupnode. Field-label generation slightly changed.            attribute of the groupnode. Field-label generation slightly changed.
779            Added error indication to textfields            Added error indication to textfields
780    
781  2007-08-28 Sascha L. Teichmann <[email protected]>  2007-08-28      Sascha L. Teichmann <[email protected]>
782    
783          * tools/formed/formed/model/data.py,          * tools/formed/formed/model/data.py,
784            tools/formed/formed/io/document.py: Removed support            tools/formed/formed/io/document.py: Removed support
785                  of logical groups.            of logical groups.
786    
787  2007-08-28 Sascha L. Teichmann <[email protected]>  2007-08-28      Sascha L. Teichmann <[email protected]>
788    
789          * tools/formed/formed/io/document.py: Avoid saving empty          * tools/formed/formed/io/document.py: Avoid saving empty
790            attributes.            attributes.
791    
792          * tools/formed/test-data/simple.xml: Applied.          * tools/formed/test-data/simple.xml: Applied.
793    
794  2007-08-28 Sascha L. Teichmann <[email protected]>  2007-08-28      Sascha L. Teichmann <[email protected]>
795    
796          * tools/formed/formed/model/data.py: Added 'repeat' and          * tools/formed/formed/model/data.py: Added 'repeat' and
797            'invisible' attributes to group. TODO: remove logical group.            'invisible' attributes to group. TODO: remove logical group.
798    
799  2007-08-27 Torsten Irlaender <[email protected]>  2007-08-27      Torsten Irlaender <[email protected]>
800    
801          * tools/formed/plugins/web/plugin.py,          * tools/formed/plugins/web/plugin.py,
802            tools/formed/plugins/web/renderer.py: Started to  include stylesheet            tools/formed/plugins/web/renderer.py: Started to  include stylesheet
803            depending tags in the html generation.            depending tags in the html generation.
804    
805  2007-08-27 Sascha L. Teichmann <[email protected]>  2007-08-27      Sascha L. Teichmann <[email protected]>
806    
807          * tools/formed/formed/model/data.py,          * tools/formed/formed/model/data.py,
808            tools/formed/formed/io/document.py: Added a logical group.            tools/formed/formed/io/document.py: Added a logical group.
809                  It has an attribute 'repeat' to indicate that it might            It has an attribute 'repeat' to indicate that it might
810                  be worthy an external table in DB schema.            be worthy an external table in DB schema.
811    
812  2007-08-27 Sascha L. Teichmann <[email protected]>  2007-08-27      Sascha L. Teichmann <[email protected]>
813    
814          * tools/formed/formed/plugins/web/plugin.py: Support          * tools/formed/formed/plugins/web/plugin.py: Support
815            serving of static content.            serving of static content.
# Line 609  Line 817 
817          * tools/formed/formed/plugins/web/server.py: Removed          * tools/formed/formed/plugins/web/server.py: Removed
818            old send code.            old send code.
819    
820  2007-08-27 Sascha L. Teichmann <[email protected]>  2007-08-27      Sascha L. Teichmann <[email protected]>
821    
822          * tools/formed/formed/plugins/web/plugin.py: Use new          * tools/formed/formed/plugins/web/plugin.py: Use new
823            Response object. Fix typo.            Response object. Fix typo.
# Line 617  Line 825 
825          * tools/formed/formed/plugins/web/server.py: support          * tools/formed/formed/plugins/web/server.py: support
826            response object to serve different MIME types.            response object to serve different MIME types.
827    
828  2007-08-27 Sascha L. Teichmann <[email protected]>  2007-08-27      Sascha L. Teichmann <[email protected]>
829    
830          * tools/formed/formed/plugins/web/plugin.py: Add web.path          * tools/formed/formed/plugins/web/plugin.py: Add web.path
831            to FORMED environment  variable to specify the            to FORMED environment  variable to specify the
832                  root of the static content.            root of the static content.
833    
834  2007-08-26 Sascha L. Teichmann <[email protected]>  2007-08-26      Sascha L. Teichmann <[email protected]>
835    
836          * tools/formed/formed/model/data.py,          * tools/formed/formed/model/data.py,
837            tools/formed/formed/model/nodecomponents.py: Fixed mode issues.            tools/formed/formed/model/nodecomponents.py: Fixed mode issues.
838    
839          * tools/formed/formed/plugins/web/www,          * tools/formed/formed/plugins/web/www,
840            tools/formed/formed/plugins/web/www/main.tmpl: New. Contains            tools/formed/formed/plugins/web/www/main.tmpl: New. Contains
841                  a template for the HTML output.            a template for the HTML output.
842    
843          * tools/formed/formed/plugins/web/plugin.py: Fixes several smaller          * tools/formed/formed/plugins/web/plugin.py: Fixes several smaller
844            mode issues. Introduces CSS support. Simplified the action            mode issues. Introduces CSS support. Simplified the action
845                  handling.            handling.
846    
847          * tools/formed/formed/plugins/web/renderer.py: Removed the          * tools/formed/formed/plugins/web/renderer.py: Removed the
848            nagivation code.            nagivation code.
849    
850          * tools/formed/formed/plugins/web/server.py: Added missing import.          * tools/formed/formed/plugins/web/server.py: Added missing import.
851    
852  2007-08-26 Sascha L. Teichmann <[email protected]>  2007-08-26      Sascha L. Teichmann <[email protected]>
853    
854          * tools/formed/formed/model/data.py: Added missing broadcast          * tools/formed/formed/model/data.py: Added missing broadcast
855            parameter to setAttribute() of RuleLeaf.            parameter to setAttribute() of RuleLeaf.
# Line 655  Line 863 
863          * tools/formed/formed/plugins/web/server.py: New. Contains          * tools/formed/formed/plugins/web/server.py: New. Contains
864            the HTTP server code now.            the HTTP server code now.
865    
866  2007-08-26 Sascha L. Teichmann <[email protected]>  2007-08-26      Sascha L. Teichmann <[email protected]>
867    
868          * tools/formed/test-data/simple.xml: Modified to contain a rule.          * tools/formed/test-data/simple.xml: Modified to contain a rule.
869    
870          * tools/formed/formed/model/expr.py: Added. A simple RPN          * tools/formed/formed/model/expr.py: Added. A simple RPN
871            expression evaluator. To avoid the problem of eval()ing            expression evaluator. To avoid the problem of eval()ing
872                  arbitrary python expressions I've decided to use a very            arbitrary python expressions I've decided to use a very
873                  basic and limited stack machine to support rule checking.            basic and limited stack machine to support rule checking.
874    
875          * tools/formed/formed/model/data.py: Added a RuleLeaf.          * tools/formed/formed/model/data.py: Added a RuleLeaf.
876    
# Line 670  Line 878 
878    
879          * tools/formed/formed/model/nodecomponents.py: Add a method          * tools/formed/formed/model/nodecomponents.py: Add a method
880            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
881                  mode. Usefull to find all rules in the tree.            mode. Usefull to find all rules in the tree.
882    
883          * tools/formed/formed/ui/controls.py: Added a listener mechanism          * tools/formed/formed/ui/controls.py: Added a listener mechanism
884            to attribute table to report exceptions when setting a value            to attribute table to report exceptions when setting a value
885                  from GUI. Useful to report compilation errors when setting            from GUI. Useful to report compilation errors when setting
886                  expr of rule leafs.            expr of rule leafs.
887    
888          * tools/formed/formed/main.py: Added a method to track exceptions          * tools/formed/formed/main.py: Added a method to track exceptions
889            from the attribute table and pop up dialogs if they occur.            from the attribute table and pop up dialogs if they occur.
890                  Added a counter of rule modifications in tree. Useful if you            Added a counter of rule modifications in tree. Useful if you
891                  want build cached data structures like rule sets and you want            want build cached data structures like rule sets and you want
892                  to know if they are still valid.            to know if they are still valid.
893    
894  2007-08-24 Torsten Irlaender <[email protected]>  2007-08-24      Torsten Irlaender <[email protected]>
895    
896          * tools/formed/formed/plugins/export/sql.py: Fixed CHECK-constraint          * tools/formed/formed/plugins/export/sql.py: Fixed CHECK-constraint
897            for checkbox values. (Syntax error).            for checkbox values. (Syntax error).
# Line 691  Line 899 
899          * tools/formed/formed/plugins/names/filter.py: Fixes in formularname          * tools/formed/formed/plugins/names/filter.py: Fixes in formularname
900            generation              generation  
901    
902  2007-08-24 Torsten Irlaender <[email protected]>  2007-08-24      Torsten Irlaender <[email protected]>
903    
904          * tools/formed/formed/plugins/names/filter.py: Separated Class for          * tools/formed/formed/plugins/names/filter.py: Separated Class for
905            making the formularnames more database friendly. Added some more            making the formularnames more database friendly. Added some more
# Line 699  Line 907 
907          * tools/formed/formed/plugins/export/sql.py: Make use of the fresh          * tools/formed/formed/plugins/export/sql.py: Make use of the fresh
908            separated class, and some fixes in sql generation.            separated class, and some fixes in sql generation.
909    
910  2007-08-24 Sascha L. Teichmann <[email protected]>  2007-08-24      Sascha L. Teichmann <[email protected]>
911    
912          * tools/formed/formed/plugins/export/html.py: Print lengths          * tools/formed/formed/plugins/export/html.py: Print lengths
913            of external choice list.            of external choice list.
914    
915  2007-08-24 Sascha L. Teichmann <[email protected]>  2007-08-24      Sascha L. Teichmann <[email protected]>
916    
917          * tools/formed/formed/main.py: Little workaround for          * tools/formed/formed/main.py: Little workaround for
918            mode selection if someone adds an removes a mode.            mode selection if someone adds an removes a mode.
919    
920  2007-08-24 Sascha L. Teichmann <[email protected]>  2007-08-24      Sascha L. Teichmann <[email protected]>
921    
922          * tools/formed/test-data/simple.xml: Better test case for          * tools/formed/test-data/simple.xml: Better test case for
923            mode depended leaf items.            mode depended leaf items.
# Line 719  Line 927 
927    
928          * tools/formed/formed/plugins/export/html.py: Use effective          * tools/formed/formed/plugins/export/html.py: Use effective
929            mode. TODO: the 'all' modus return false results sometimes.            mode. TODO: the 'all' modus return false results sometimes.
930                  Cause: The modes are only cumulated over time. Removal is            Cause: The modes are only cumulated over time. Removal is
931                  not done.            not done.
932    
933  2007-08-24 Sascha L. Teichmann <[email protected]>  2007-08-24      Sascha L. Teichmann <[email protected]>
934    
935          * tools/formed/formed/plugins/export/html.py: Dump the items          * tools/formed/formed/plugins/export/html.py: Dump the items
936            of radio groups and choices too.            of radio groups and choices too.
937    
938  2007-08-24 Torsten Irlaender <[email protected]>  2007-08-24      Torsten Irlaender <[email protected]>
939    
940          * tools/formed/formed/plugins/names/filter.py: Modified the renaming          * tools/formed/formed/plugins/names/filter.py: Modified the renaming
941            by formular names to make the naming more database friendly.            by formular names to make the naming more database friendly.
942            Now only alphanumeric and underscore chars is allowed.            Now only alphanumeric and underscore chars is allowed.
943    
944  2007-08-24 Sascha L. Teichmann <[email protected]>  2007-08-24      Sascha L. Teichmann <[email protected]>
945    
946          * tools/formed/formed/plugins/export/html.py: Tweaked          * tools/formed/formed/plugins/export/html.py: Tweaked
947            HTML table exporter a bit to be on par with the XSLT            HTML table exporter a bit to be on par with the XSLT
948                  script. TODO: Dump items in radio and choice groups.            script. TODO: Dump items in radio and choice groups.
949    
950  2007-08-23 Sascha L. Teichmann <[email protected]>  2007-08-23      Sascha L. Teichmann <[email protected]>
951    
952          * tools/formed/formed/plugins/names/filter.py: Removed          * tools/formed/formed/plugins/names/filter.py: Removed
953            HTML and SQL exporters.            HTML and SQL exporters.
# Line 748  Line 956 
956            tools/formed/formed/plugins/export/__init__.py,            tools/formed/formed/plugins/export/__init__.py,
957            tools/formed/formed/plugins/export/sql.py,            tools/formed/formed/plugins/export/sql.py,
958            tools/formed/formed/plugins/export/html.py: New: Contain            tools/formed/formed/plugins/export/html.py: New: Contain
959                  the HTML and the SQL exporters now.            the HTML and the SQL exporters now.
960    
961          * tools/formed/formed/config.py: Use exporters from different          * tools/formed/formed/config.py: Use exporters from different
962            package now.            package now.
963    
964  2007-08-23 Torsten Irlaender <[email protected]>  2007-08-23      Torsten Irlaender <[email protected]>
965    
966          * tools/formed/formed/plugins/names/filter.py: Added an          * tools/formed/formed/plugins/names/filter.py: Added an
967            pseudo SQL export filters. TODO: Move HTML and SQL filter            pseudo SQL export filters. TODO: Move HTML and SQL filter
# Line 762  Line 970 
970    
971          * tools/formed/formed/config.py: Install the new SQL filter.          * tools/formed/formed/config.py: Install the new SQL filter.
972    
973  2007-08-23 Sascha L. Teichmann <[email protected]>  2007-08-23      Sascha L. Teichmann <[email protected]>
974    
975          * tools/formed/formed/model/nodecomponents.py: Added a depth()          * tools/formed/formed/model/nodecomponents.py: Added a depth()
976            method to determine the depth of particular tree item.            method to determine the depth of particular tree item.
# Line 772  Line 980 
980    
981          * tools/formed/formed/config.py: Install the new HTML filter.          * tools/formed/formed/config.py: Install the new HTML filter.
982    
983  2007-08-23 Torsten Irlaender <[email protected]>  2007-08-23      Torsten Irlaender <[email protected]>
984    
985          * contrib/extract-xfa-fields_and_options.xsl: Added small xsl script          * contrib/extract-xfa-fields_and_options.xsl: Added small xsl script
986            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
987            script might me handy to indicate changes between the different            script might me handy to indicate changes between the different
988            formular versions.            formular versions.
989                    
990  2007-08-23 Sascha L. Teichmann <[email protected]>  2007-08-23      Sascha L. Teichmann <[email protected]>
991    
992          * tools/formed/formed/main.py: Add an 'all' mode to          * tools/formed/formed/main.py: Add an 'all' mode to
993            select all modes. ;-)            select all modes. ;-)
994    
995  2007-08-22 Sascha L. Teichmann <[email protected]>  2007-08-22      Sascha L. Teichmann <[email protected]>
996    
997          * tools/formed/test-data/simple.xml,          * tools/formed/test-data/simple.xml,
998            tools/formed/formed/model/data.py,            tools/formed/formed/model/data.py,
# Line 794  Line 1002 
1002            tools/formed/formed/main.py: Removed support for switch nodes.            tools/formed/formed/main.py: Removed support for switch nodes.
1003            BEWARE: This breaks compatibility with older documents!            BEWARE: This breaks compatibility with older documents!
1004    
1005  2007-08-22 Sascha L. Teichmann <[email protected]>  2007-08-22      Sascha L. Teichmann <[email protected]>
1006    
1007          * tools/formed/formed/plugins/web/plugin.py: Uses the          * tools/formed/formed/plugins/web/plugin.py: Uses the
1008            getSelectedMode() from main now.            getSelectedMode() from main now.
# Line 805  Line 1013 
1013          * tools/formed/formed/config.py: removed selected mode from          * tools/formed/formed/config.py: removed selected mode from
1014            env configuration.            env configuration.
1015    
1016  2007-08-22 Sascha L. Teichmann <[email protected]>  2007-08-22      Sascha L. Teichmann <[email protected]>
1017    
1018          * tools/formed/formed/ui/controls.py: Attributes in GUI attribute          * tools/formed/formed/ui/controls.py: Attributes in GUI attribute
1019            table are now alphabetically sorted.            table are now alphabetically sorted.
1020    
1021  2007-08-22 Sascha L. Teichmann <[email protected]>  2007-08-22      Sascha L. Teichmann <[email protected]>
1022    
1023          * tools/formed/formed/model/nodecomponents.py: Added code to          * tools/formed/formed/model/nodecomponents.py: Added code to
1024            establish the new 'modes' recursively.            establish the new 'modes' recursively.
# Line 826  Line 1034 
1034    
1035          * tools/formed/formed/main.py: Adjusted to new infrastructure.          * tools/formed/formed/main.py: Adjusted to new infrastructure.
1036    
1037  2007-08-22 Sascha L. Teichmann <[email protected]>  2007-08-22      Sascha L. Teichmann <[email protected]>
1038    
1039          * tools/formed/formed/model/nodecomponents.py: Added an          * tools/formed/formed/model/nodecomponents.py: Added an
1040            attribute 'modes' to NodeComponents.            attribute 'modes' to NodeComponents.
1041    
1042  2007-08-22 Sascha L. Teichmann <[email protected]>  2007-08-22      Sascha L. Teichmann <[email protected]>
1043    
1044          * tools/formed/formed/model/data.py: Small cosmetic cleanups          * tools/formed/formed/model/data.py: Small cosmetic cleanups
1045    
1046  2007-08-21 Sascha L. Teichmann <[email protected]>  2007-08-21      Sascha L. Teichmann <[email protected]>
1047    
1048          * tools/formed/formed/plugins/web/renderer.py: Another fix          * tools/formed/formed/plugins/web/renderer.py: Another fix
1049            for the hidden field. Argh!            for the hidden field. Argh!
1050    
1051  2007-08-21 Sascha L. Teichmann <[email protected]>  2007-08-21      Sascha L. Teichmann <[email protected]>
1052    
1053          * tools/formed/formed/plugins/web/renderer.py: Fixed double          * tools/formed/formed/plugins/web/renderer.py: Fixed double
1054            generation of hidden page field.            generation of hidden page field.
1055    
1056  2007-08-21 Sascha L. Teichmann <[email protected]>  2007-08-21      Sascha L. Teichmann <[email protected]>
1057    
1058          * tools/formed/formed/plugins/web/semantic.py: Added semantic          * tools/formed/formed/plugins/web/semantic.py: Added semantic
1059            checks for radio groups.            checks for radio groups.
1060    
1061  2007-08-21 Sascha L. Teichmann <[email protected]>  2007-08-21      Sascha L. Teichmann <[email protected]>
1062    
1063          * tools/formed/formed/plugins/web/semantic.py: Added semantic          * tools/formed/formed/plugins/web/semantic.py: Added semantic
1064            checks for choices.            checks for choices.
# Line 865  Line 1073 
1073          * contrib/convert-formedtree2html.xsl:          * contrib/convert-formedtree2html.xsl:
1074          Replace technical types with readable descriptions          Replace technical types with readable descriptions
1075    
1076  2007-08-21 Sascha L. Teichmann <[email protected]>  2007-08-21      Sascha L. Teichmann <[email protected]>
1077    
1078          * tools/formed/formed/plugins/web/plugin.py: Fix a few smaller          * tools/formed/formed/plugins/web/plugin.py: Fix a few smaller
1079            issues. 'action' looks for all widgets on a page now, goes            issues. 'action' looks for all widgets on a page now, goes
1080                  through all passed parameters, tries to match them with the            through all passed parameters, tries to match them with the
1081                  widgets of the page and put them into the semantic box.            widgets of the page and put them into the semantic box.
1082                  Afterwards a list of untouched page parameters are left            Afterwards a list of untouched page parameters are left
1083                  which will be deleted from the semantic box.            which will be deleted from the semantic box.
1084    
1085          * tools/formed/formed/plugins/web/semantic.py: Simplified.          * tools/formed/formed/plugins/web/semantic.py: Simplified.
1086            The NodeComponent is passed as an argument now.            The NodeComponent is passed as an argument now.
# Line 880  Line 1088 
1088          * tools/formed/formed/plugins/web/renderer.py: Generate a          * tools/formed/formed/plugins/web/renderer.py: Generate a
1089            hidden field to store the name of the page.            hidden field to store the name of the page.
1090    
1091  2007-08-21 Sascha L. Teichmann <[email protected]>  2007-08-21      Sascha L. Teichmann <[email protected]>
1092    
1093          * tools/formed/formed/plugins/web/plugin.py: Fixed an encoding          * tools/formed/formed/plugins/web/plugin.py: Fixed an encoding
1094            issue with incoming UTF-8 data.            issue with incoming UTF-8 data.
1095    
1096  2007-08-21 Sascha L. Teichmann <[email protected]>  2007-08-21      Sascha L. Teichmann <[email protected]>
1097    
1098          * tools/formed/test-data/simple.xml: Improve test for widgets          * tools/formed/test-data/simple.xml: Improve test for widgets
1099            in switches.            in switches.
1100    
1101          * tools/formed/formed/model/data.py: Added a method to find all          * tools/formed/formed/model/data.py: Added a method to find all
1102            widgets in a given page. Fixed a bug when walking in switch            widgets in a given page. Fixed a bug when walking in switch
1103                  with a given mode.            with a given mode.
1104    
1105          * tools/formed/formed/plugins/web/plugin.py: Simple test for          * tools/formed/formed/plugins/web/plugin.py: Simple test for
1106            listing all widgets in page.            listing all widgets in page.
1107    
1108  2007-08-21 Torsten Irlaender <[email protected]>  2007-08-21      Torsten Irlaender <[email protected]>
1109    
1110          * tools/formed/formed/plugins/names/filter.py: Fixed file-encoding to          * tools/formed/formed/plugins/names/filter.py: Fixed file-encoding to
1111            latin-1            latin-1
1112    
1113  2007-08-21 Sascha L. Teichmann <[email protected]>  2007-08-21      Sascha L. Teichmann <[email protected]>
1114    
1115          * tools/formed/formed/model/data.py: Added mode parameter to          * tools/formed/formed/model/data.py: Added mode parameter to
1116            walk.            walk.
1117                              
1118          * tools/formed/formed/model/nodecomponents.py: SwitchNode overwrites          * tools/formed/formed/model/nodecomponents.py: SwitchNode overwrites
1119            walk() with usage of the new mode parameter. Added a method to            walk() with usage of the new mode parameter. Added a method to
1120                  give children in a given mode.            give children in a given mode.
1121    
1122          * tools/formed/formed/plugins/web/renderer.py: Simplified to use          * tools/formed/formed/plugins/web/renderer.py: Simplified to use
1123            new Switch.childrenInMode() method.            new Switch.childrenInMode() method.
1124    
1125  2007-08-21 Sascha L. Teichmann <[email protected]>  2007-08-21      Sascha L. Teichmann <[email protected]>
1126    
1127          * tools/formed/formed/plugins/web/semantic.py: Add checks for          * tools/formed/formed/plugins/web/semantic.py: Add checks for
1128            texts and text areas.            texts and text areas.
# Line 922  Line 1130 
1130          * tools/formed/formed/plugins/web/renderer.py: Set accept-charset          * tools/formed/formed/plugins/web/renderer.py: Set accept-charset
1131            to UTF-8 in generated form.            to UTF-8 in generated form.
1132    
1133  2007-08-20 Sascha L. Teichmann <[email protected]>  2007-08-20      Sascha L. Teichmann <[email protected]>
1134    
1135          * tools/formed/formed/plugins/web/semantic.py: Added semantic          * tools/formed/formed/plugins/web/semantic.py: Added semantic
1136            tests for dates.            tests for dates.
1137    
1138  2007-08-20 Sascha L. Teichmann <[email protected]>          2007-08-20      Sascha L. Teichmann <[email protected]>  
1139    
1140          * tools/formed/test-data/simple.xml: Tweak a bit for integer          * tools/formed/test-data/simple.xml: Tweak a bit for integer
1141            range test.            range test.
# Line 941  Line 1149 
1149          * tools/formed/formed/plugins/web/plugin.py: Use semantic          * tools/formed/formed/plugins/web/plugin.py: Use semantic
1150            check.            check.
1151    
1152  2007-08-20      Torsten Irlaender <[email protected]>  2007-08-20      Torsten Irlaender <[email protected]>
1153    
1154          * tools/formed/formed/plugins/web/renderer.py: Fixed Syntax in          * tools/formed/formed/plugins/web/renderer.py: Fixed Syntax in
1155            selection-field generation (Removed quote)            selection-field generation (Removed quote)
# Line 954  Line 1162 
1162            renderer. This submit parameters are stored in the            renderer. This submit parameters are stored in the
1163            session now. This will ease testing the constraint            session now. This will ease testing the constraint
1164            tests which need to be written soon.            tests which need to be written soon.
1165                              
1166            BEWARE: The session management is _not_ made for production!            BEWARE: The session management is _not_ made for production!
1167            Denial of service attacks are too easy, and the            Denial of service attacks are too easy, and the
1168            cryptographical strength of the session id is doubtful.            cryptographical strength of the session id is doubtful.
# Line 972  Line 1180 
1180            and can be hooked automatically into the new 'Filters'            and can be hooked automatically into the new 'Filters'
1181            sub menu under 'Extra'. They got called when the user            sub menu under 'Extra'. They got called when the user
1182            selects their respective menu item.            selects their respective menu item.
1183                              
1184          * tools/formed/formed/config.py: Contains the list of          * tools/formed/formed/config.py: Contains the list of
1185            installed filters.            installed filters.
1186    
# Line 1033  Line 1241 
1241    
1242          * tools/formed/formed/main.py: Swaped order of          * tools/formed/formed/main.py: Swaped order of
1243            'Make names unique' and 'Selected mode...' in Extra            'Make names unique' and 'Selected mode...' in Extra
1244                  menu and put a separator between them.            menu and put a separator between them.
1245    
1246  2007-08-15      Sascha L. Teichmann <[email protected]>  2007-08-15      Sascha L. Teichmann <[email protected]>
1247    
# Line 1042  Line 1250 
1250    
1251          * tools/formed/formed/plugins/plugin.py: Simplified          * tools/formed/formed/plugins/plugin.py: Simplified
1252            the plug-in interface. Only the reference to the            the plug-in interface. Only the reference to the
1253                  global configuration is passed at setup time.            global configuration is passed at setup time.
1254    
1255          * tools/formed/formed/plugins/web/plugin.py: Adjusted          * tools/formed/formed/plugins/web/plugin.py: Adjusted
1256            to new plug-in setup. The traveral mode is now taken            to new plug-in setup. The traveral mode is now taken
1257                  from the global configuration each time a rendering            from the global configuration each time a rendering
1258                  is triggered. The FORMED parameter is now named            is triggered. The FORMED parameter is now named
1259                  'doc.mode' instead of 'web.mode'. The parameter            'doc.mode' instead of 'web.mode'. The parameter
1260                  is not needed any more because it can be configured            is not needed any more because it can be configured
1261                  at runtime.            at runtime.
1262    
1263          * tools/formed/formed/main.py: Adjusted to new plugin          * tools/formed/formed/main.py: Adjusted to new plugin
1264            setup. Added a new menu item Extra->Select Mode...            setup. Added a new menu item Extra->Select Mode...
1265                  to select the traversal mode. It is stored in the            to select the traversal mode. It is stored in the
1266                  global config.            global config.
1267    
1268          * tools/formed/formed/config.py: Simplified. Only uses          * tools/formed/formed/config.py: Simplified. Only uses
1269            one env dictionary to store global configuration parameters.            one env dictionary to store global configuration parameters.
# Line 1067  Line 1275 
1275    
1276          * tools/formed/formed/plugins/web/plugin.py,          * tools/formed/formed/plugins/web/plugin.py,
1277            tools/formed/formed/plugins/web/renderer.py: Added parameter            tools/formed/formed/plugins/web/renderer.py: Added parameter
1278                  print out in web plugin.            print out in web plugin.
1279    
1280  2007-08-15      Torsten Irlaender <[email protected]>  2007-08-15      Torsten Irlaender <[email protected]>
1281    
# Line 1085  Line 1293 
1293    
1294          * tools/formed/formed/plugins/web/plugin.py,          * tools/formed/formed/plugins/web/plugin.py,
1295            tools/formed/formed/config.py: Added a 'web.mode' parameter            tools/formed/formed/config.py: Added a 'web.mode' parameter
1296                  to FORMED environment variable.            to FORMED environment variable.
1297                  e.g. 'FORMED=web.mode:modeX' sets the mode 'modeX'.            e.g. 'FORMED=web.mode:modeX' sets the mode 'modeX'.
1298                  Defaults to 'default'.            Defaults to 'default'.
1299    
1300          * tools/formed/test-data/simple.xml: Added test for switch.          * tools/formed/test-data/simple.xml: Added test for switch.
1301    
# Line 1101  Line 1309 
1309          * tools/formed/formed/io/document.py,          * tools/formed/formed/io/document.py,
1310            tools/formed/formed/model/data.py,            tools/formed/formed/model/data.py,
1311            tools/formed/formed/model/nodecomponents.py: Added an item            tools/formed/formed/model/nodecomponents.py: Added an item
1312                  to model external item lists.            to model external item lists.
1313    
1314          * tools/formed/formed/plugins/web/renderer.py: Render new item          * tools/formed/formed/plugins/web/renderer.py: Render new item
1315            list.            list.
# Line 1118  Line 1326 
1326    
1327          * contrib/extract-xfa-items.sh: New. Can be used to extract longer          * contrib/extract-xfa-items.sh: New. Can be used to extract longer
1328            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
1329                  './contrib/extract-xfa-items.sh Muttersprache alles.xml'            './contrib/extract-xfa-items.sh Muttersprache alles.xml'
1330    
1331  2007-08-12      Sascha L. Teichmann <[email protected]>  2007-08-12      Sascha L. Teichmann <[email protected]>
1332    
1333          * tools/formed/formed/model/data.py,          * tools/formed/formed/model/data.py,
1334            tools/formed/formed/plugins/web/renderer.py,            tools/formed/formed/plugins/web/renderer.py,
1335                  tools/formed/formed/io/document.py: Changed the structure            tools/formed/formed/io/document.py: Changed the structure
1336                  of choice constructs. The idea to hold the different items            of choice constructs. The idea to hold the different items
1337                  of a particular choice in a semicolon separated list was bad.            of a particular choice in a semicolon separated list was bad.
1338                  Now choices are groups and  the option items are modelled as            Now choices are groups and  the option items are modelled as
1339                  embedded bools. (mainly Torsten Irländer's idea).            embedded bools. (mainly Torsten Irländer's idea).
1340    
1341                  WARNING: this makes old document files containing choices incompatible!!!            WARNING: this makes old document files containing choices incompatible!!!
1342                  Use the following XSLT to reestablish compatibility.            Use the following XSLT to reestablish compatibility.
1343                              
1344          * contrib/itemize-choices.xsl: New converts old to new structure.          * contrib/itemize-choices.xsl: New converts old to new structure.
1345            Needs exslt.org's string extensions (which xsltproc includes)            Needs exslt.org's string extensions (which xsltproc includes)
1346    
# Line 1150  Line 1358 
1358    
1359          * tools/formed/formed/model/nodecomponents.py: Added code to clone parts          * tools/formed/formed/model/nodecomponents.py: Added code to clone parts
1360            of the tree.            of the tree.
1361                              
1362          * tools/formed/formed/ui/controls.py: Added a getSelected method.          * tools/formed/formed/ui/controls.py: Added a getSelected method.
1363    
1364          * tools/formed/formed/model/misc.py: Fixed a programming bug.          * tools/formed/formed/model/misc.py: Fixed a programming bug.
# Line 1173  Line 1381 
1381    
1382          * tools/formed/formed/model/nodecomponents.py: Added walk generator over all          * tools/formed/formed/model/nodecomponents.py: Added walk generator over all
1383            items in the document tree. Added a method to eliminated duplicated names            items in the document tree. Added a method to eliminated duplicated names
1384                  in document tree.            in document tree.
1385    
1386          * tools/formed/formed/model/misc.py: Added update mechanism for id generator          * tools/formed/formed/model/misc.py: Added update mechanism for id generator
1387            after names collisions are eliminated.            after names collisions are eliminated.
# Line 1185  Line 1393 
1393    
1394          * tools/formed/formed/model/data.py,          * tools/formed/formed/model/data.py,
1395            tools/formed/formed/plugins/web/renderer.py: Removed support            tools/formed/formed/plugins/web/renderer.py: Removed support
1396                  for 'text' attributes in bool items. They were never really            for 'text' attributes in bool items. They were never really
1397                  used and the 'description' attributes fulfill the same            used and the 'description' attributes fulfill the same
1398                  purpose.            purpose.
1399    
1400          * contrib/remove-bool-text.xsl: Transform to remove the          * contrib/remove-bool-text.xsl: Transform to remove the
1401            'text' attributes from bool items. Apply with:            'text' attributes from bool items. Apply with:
1402                  'xsltproc contrib/remove-bool-text.xsl old.xml > new.xml'            'xsltproc contrib/remove-bool-text.xsl old.xml > new.xml'
1403    
1404          * tools/formed/test-data/simple.xml: Removed 'text' attributes          * tools/formed/test-data/simple.xml: Removed 'text' attributes
1405            from bool items.            from bool items.
# Line 1210  Line 1418 
1418    
1419          * contrib/convert-choices.xsl: Added to convert document files          * contrib/convert-choices.xsl: Added to convert document files
1420            which use the choice 'option' attribute to usage of 'value'.            which use the choice 'option' attribute to usage of 'value'.
1421                  Apply with e.g. 'xsltproc convert-choices.xsl old.xml > new.xml'            Apply with e.g. 'xsltproc convert-choices.xsl old.xml > new.xml'
1422    
1423  2007-08-10      Sascha L. Teichmann <[email protected]>  2007-08-10      Sascha L. Teichmann <[email protected]>
1424    
# Line 1247  Line 1455 
1455    
1456          * tools/formed/formed/plugins/web/plugin.py: To determine          * tools/formed/formed/plugins/web/plugin.py: To determine
1457            the port look at FORMED dictionary first. Key is 'web.port'.            the port look at FORMED dictionary first. Key is 'web.port'.
1458                  e.g. FORMED='web.port:8888'            e.g. FORMED='web.port:8888'
1459    
1460          * tools/formed/formed/main.py: Call the plugin setup with          * tools/formed/formed/main.py: Call the plugin setup with
1461            the reference to the config.            the reference to the config.
# Line 1327  Line 1535 
1535    
1536          * tools/formed/formed/model/data.py,          * tools/formed/formed/model/data.py,
1537            tools/formed/formed/model/nodecomponents.py: Added new            tools/formed/formed/model/nodecomponents.py: Added new
1538                  attributes.            attributes.
1539    
1540          * tools/formed/formed/plugins/web/plugin.py: Added rendering          * tools/formed/formed/plugins/web/plugin.py: Added rendering
1541            for checkboxes and radio buttons.            for checkboxes and radio buttons.
# Line 1356  Line 1564 
1564    
1565          * tools/formed/formed/plugins/web/plugin.py: Added a first          * tools/formed/formed/plugins/web/plugin.py: Added a first
1566            version of a recursive HTML renderer based on the document            version of a recursive HTML renderer based on the document
1567                  tree.            tree.
1568    
1569  2007-08-08      Sascha L. Teichmann <[email protected]>  2007-08-08      Sascha L. Teichmann <[email protected]>
1570    
# Line 1385  Line 1593 
1593    
1594          * tools/formed/formed/main.py: Added event route document ->          * tools/formed/formed/main.py: Added event route document ->
1595            attribute table to get informed when selected item is delete            attribute table to get informed when selected item is delete
1596                  or an attribute is changed from the outside.            or an attribute is changed from the outside.
1597    
1598          * tools/formed/formed/ui/controls.py: Fixed. In older versions of          * tools/formed/formed/ui/controls.py: Fixed. In older versions of
1599            wxPython 2.6.x ListCtrl.InsertStringItem takes 2 instead            wxPython 2.6.x ListCtrl.InsertStringItem takes 2 instead
1600                  of 3 argument. Uses icons+tooltips for tree navigation now.            of 3 argument. Uses icons+tooltips for tree navigation now.
1601    
1602  2007-08-07      Sascha L. Teichmann <[email protected]>  2007-08-07      Sascha L. Teichmann <[email protected]>
1603    
# Line 1437  Line 1645 
1645    
1646          * tools/formed/formed/ui/controls.py: Establish sort order          * tools/formed/formed/ui/controls.py: Establish sort order
1647            by indices of children in parent instead of alphanum.            by indices of children in parent instead of alphanum.
1648                  Code to move items up and down the document tree.            Code to move items up and down the document tree.
1649    
1650          * tools/formed/formed/io/document.py: Added missing imports.          * tools/formed/formed/io/document.py: Added missing imports.
1651    
# Line 1450  Line 1658 
1658    
1659          * tools/formed/formed/main.py,          * tools/formed/formed/main.py,
1660            tools/formed/formed/ui/controls.py: Added control to            tools/formed/formed/ui/controls.py: Added control to
1661                  move items around in tree. Has no effect by now.            move items around in tree. Has no effect by now.
1662    
1663  2007-08-05      Sascha L. Teichmann <[email protected]>  2007-08-05      Sascha L. Teichmann <[email protected]>
1664    
# Line 1466  Line 1674 
1674    
1675          * tools/formed/*: initial check-in of the Formular Editor.          * tools/formed/*: initial check-in of the Formular Editor.
1676            Not working yet. Only can load, view and store formular XML files.            Not working yet. Only can load, view and store formular XML files.
1677                  Start it with 'tools/formed/formed.sh'.            Start it with 'tools/formed/formed.sh'.

Legend:
Removed from v.175  
changed lines
  Added in v.201

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26