/[formed]/trunk/ChangeLog
ViewVC logotype

Diff of /trunk/ChangeLog

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

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

Legend:
Removed from v.153  
changed lines
  Added in v.190

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26