/[formed]/trunk/ChangeLog
ViewVC logotype

Diff of /trunk/ChangeLog

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

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

Legend:
Removed from v.167  
changed lines
  Added in v.189

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26