/[formed]/trunk/ChangeLog
ViewVC logotype

Diff of /trunk/ChangeLog

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

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

Legend:
Removed from v.174  
changed lines
  Added in v.196

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26