/[formed]/trunk/ChangeLog
ViewVC logotype

Diff of /trunk/ChangeLog

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

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

Legend:
Removed from v.154  
changed lines
  Added in v.192

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26