/[formed]/trunk/ChangeLog
ViewVC logotype

Diff of /trunk/ChangeLog

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

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

Legend:
Removed from v.168  
changed lines
  Added in v.203

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26