/[formed]/trunk/ChangeLog
ViewVC logotype

Diff of /trunk/ChangeLog

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

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

Legend:
Removed from v.169  
changed lines
  Added in v.205

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26