/[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 214 by frank, Fri Nov 2 10:13:18 2007 UTC
# Line 1  Line 1 
1  2007-09-11 Torsten Irlaender <[email protected]>  2007-10-23      Frank Koormann <[email protected]>
2    
3            * tools/formed/formed/plugins/export/sql.py: New WHERE-Clause for views
4    
5    2007-10-23      Frank Koormann <[email protected]>
6    
7            * tools/formed/formed/plugins/export/sql.py: Set default
8            value (-1) for choices and bools.
9    
10    2007-10-21      Frank Koormann <[email protected]>
11    
12            * tools/formed/formed/plugins/export/sql.py: Grant statements for
13            descriptive tables added.
14            (Table.getName): new
15    
16    2007-10-21      Frank Koormann <[email protected]>
17    
18            * tools/formed/formed/plugins/export/sql.py: "CREATE OR REPLACE"
19            statements for views and roles to make updates easier.
20            Add "admin_ka" membership as third option to VIEW_WHERE_CLAUSE.
21    
22    2007-10-19      Frank Koormann <[email protected]>
23    
24            * tools/formed/formed/plugins/export/sql.py: Added GRANT statements
25            for views. The statements are prepared for variable substitution
26            when executing the SQL-scripts by psql.
27    
28    2007-10-18      Sascha L. Teichmann <[email protected]>
29    
30            * pdf2xfa/src/de/intevation/pdfimport/ClientHandler.java: Fixed:
31              End of result XML was truncated because of an unflushed buffer.
32    
33    2007-10-17      Sascha L. Teichmann <[email protected]>
34    
35            * pdf2xfa/bin/build-jar.sh: New. Build production jar file.
36    
37            * pdf2xfa/README.TXT: Adjusted how to build production jar file
38              and how to use it.
39    
40            * pdf2xfa/etc, pdf2xfa/etc/manifest.txt: New. Defines main class
41              and iText dependency.
42    
43    2007-10-16      Sascha L. Teichmann <[email protected]>
44    
45            * tools/formed/formed/plugins/export/sql.py: Model 'Ja, Nein, Keine Angabe'
46              are not modeled as BOOLEANs any more. That simpifies the conversion
47              process web vs. db.
48    
49    2007-10-07      Sascha L. Teichmann <[email protected]>
50    
51            * tools/formed/formed/plugins/export/sql.py: Added the remaining
52              UPDATE rules.
53    
54    2007-10-07      Sascha L. Teichmann <[email protected]>
55    
56            * tools/formed/formed/plugins/export/sql.py: Added UPDATE rules for some
57              views. TODO: Test'em and implement the rest.
58    
59    2007-10-07      Sascha L. Teichmann <[email protected]>
60    
61            * tools/formed/formed/plugins/export/sql.py: Bug fix. DELETE and INSERT
62              rules referenced none existing views.
63    
64    2007-10-07      Sascha L. Teichmann <[email protected]>
65    
66            * tools/formed/formed/plugins/export/sql.py: Added DELETE and INSERT
67              rules for views. TODO: add UPDATE rules.
68    
69    2007-10-07      Sascha L. Teichmann <[email protected]>
70    
71            * tools/formed/formed/plugins/export/old_sql.py: New. Contains
72              the legacy SQL export filters.
73    
74            * tools/formed/formed/plugins/export/sql.py: Factored out the
75              legacy SQL export filters to old_sql.
76    
77            * tools/formed/formed/config.py: Adjusted to fetch legacy
78              filters from old_sql.
79    
80    2007-10-06      Sascha L. Teichmann <[email protected]>
81    
82            * pdf2xfa/**: Initial import of the PDF to XFA server.
83    
84    2007-10-06      Sascha L. Teichmann <[email protected]>
85    
86            * tools/formed/formed/plugins/export/sql.py: Fixed bug
87              that made choices of three elements to booleans if
88              they have other meanings than 'Ja', 'Nein', 'keine Angabe'.
89    
90    2007-10-05      Sascha L. Teichmann <[email protected]>
91    
92            * tools/formed/formed/plugins/export/sql.py: Select ids of
93              underlaying tables in views too.
94    
95    2007-10-04      Sascha L. Teichmann <[email protected]>
96    
97            * tools/formed/formed/plugins/export/sql.py: Create schema inside transaction.
98              Various bug fixes.
99    
100    2007-10-04      Sascha L. Teichmann <[email protected]>
101    
102            * tools/formed/formed/model/data.py: Added GroupNode.allWidgets()
103              to extract fields from embedded repeat groups.
104    
105            * tools/formed/formed/plugins/export/sql.py: The SQL exporter exports
106              views per page too. Result not tested yet.
107    
108    2007-10-01      Sascha L. Teichmann <[email protected]>
109    
110            * tools/formed/formed/plugins/web/view_renderer.py: Ignore
111              in-page repeat groups while rendering pages.
112    
113    2007-10-01      Sascha L. Teichmann <[email protected]>
114    
115            * tools/formed/formed/model/nodecomponents.py: Added visitor
116              traversals for document trees.
117    
118            * tools/formed/formed/model/data.py: Rewrote the
119              Page.allWidgets() method to use new visitor for
120              tree traversal.
121    
122    2007-09-27      Torsten Irlaender <[email protected]>
123    
124            * tools/formed/formed/plugins/names/filter.py: Pages are now included
125              in the rename by formular name  algorithm
126    
127    2007-09-26      Sascha L. Teichmann <[email protected]>
128    
129            * tools/formed/formed/model/data.py: Removed old {next|prev}Page()
130              TODO: rewrite Page.allWidgets().
131    
132            * tools/formed/formed/model/nodecomponents.py: Added a method
133              Node.firstLevel(criterion) to walk a defined line in the tree.
134    
135            * tools/formed/formed/plugins/export/sql.py: Extract data suitable to
136              build views and respective joins.
137    
138    2007-09-26      Sascha L. Teichmann <[email protected]>
139    
140            * tools/formed/formed/plugins/web/plugin.py: add 'web.tidy:' flag to
141              FORMED environment variable. If set to true tidylib is used to
142              filter HTML content to be W3C valid. To use this feature install
143              uTidylib.
144    
145            * tools/formed/formed/plugins/web/server.py: Check if MIME type is
146              text/html and filters content through tidy if requested.
147    
148    2007-09-25      Torsten Irlaender <[email protected]>
149    
150            * tools/formed/formed/plugins/web/view_renderer.py: Small fix and
151              cleanup of the form generation code.
152    
153    2007-09-21      Sascha L. Teichmann <[email protected]>
154    
155            * tools/formed/formed/plugins/export/sql.py: Added generation time
156              and DROP TABLE statements to schema export.
157    
158    2007-09-20      Sascha L. Teichmann <[email protected]>
159    
160            * tools/formed/formed/plugins/export/sql.py: The tables are generated
161              in correct topolocial order now.
162    
163    2007-09-20      Sascha L. Teichmann <[email protected]>
164    
165            * tools/formed/formed/plugins/export/mode.py: New. Filter to export
166              a document with items that are in given mode.
167    
168            * tools/formed/formed/model/nodecomponents.py: Added methods to clone
169              trees depending on selected modes.
170    
171            * tools/formed/formed/model/data.py, tools/formed/formed/model/expr.py:
172              Fixed clone issue with RuleNodes.
173    
174            * tools/formed/formed/config.py: Use new plug-in.
175    
176    2007-09-17      Sascha L. Teichmann <[email protected]>
177    
178            * tools/formed/formed/plugins/web/view_renderer.py: Make the
179              view renderer a real view renderer. It takes a list of
180              items now and not only a single page.
181    
182            * tools/formed/formed/plugins/web/renderer.py: Feed a list
183              of items to the view renderer.
184    
185    2007-09-17      Torsten Irlaender <[email protected]>
186    
187            * tools/formed/formed/plugins/web/view_renderer.py:
188              Small tweaks in rendering bools.
189              RadioNodes (with all its children) can now be placed in a container.
190              The radiobools will not get a surrounding <div> anymore.
191              I am not sure if the new way results in the wanted behaivor, but the
192              rendering results are much better now :)
193              Maybe we need a similar approach for checkboxes?
194              Rendering groups is still broken in some way.
195    
196    2007-09-17      Sascha L. Teichmann <[email protected]>
197    
198            * tools/formed/formed/plugins/web/view_renderer.py: Fixed
199              a few bugs: Do not render empty containers, do not
200              generate misplaced <br class="newline"> in choices.
201              Add a nameless container to catch the items that are
202              nor explicitly assigned to a target. Removed FormData.
203    
204            * tools/formed/formed/plugins/web/renderer.py: Removed
205              a needless import
206    
207    2007-09-17      Sascha L. Teichmann <[email protected]>
208    
209            * tools/formed/formed/plugins/web/view_renderer.py: Implemented
210              usage of 'containers' and 'target' attributes.
211    
212            * tools/formed/formed/plugins/web/controllers.py: Modified import.
213    
214            * tools/formed/formed/plugins/web/renderer.py: Use
215              new ViewRenderer.
216    
217    2007-09-17      Sascha L. Teichmann <[email protected]>
218    
219            * tools/formed/formed/model/nodecomponents.py: Added attributes
220              'target' to NodeComponent and 'containers' to Node.
221    
222            * tools/formed/formed/plugins/web/view_renderer.py: New. Aimed
223              to be a replacement for form_renderer. Not ready yet!
224    
225            * ChangeLog: Fixed some indention glitches.
226    
227    2007-09-13      Torsten Irlaender <[email protected]>
228    
229            * tools/formed/formed/plugins/names/filter.py: Fixed bug in the
230              renaming algorithm.
231    
232    2007-09-12      Torsten Irlaender <[email protected]>
233    
234            * tools/formed/formed/plugins/web/form_renderer.py: Renamed header
235              from formular navigation to "Fallakte Inhalt"
236    
237    2007-09-12      Torsten Irlaender <[email protected]>
238    
239            * tools/formed/formed/plugins/ui/controls.py: Fixed bug that bad
240              values (dates)  were not pretty printed.
241    
242            * tools/formed/formed/plugins/web/form_renderer.py: Added errormsg to
243              label rendering for choicelists.
244    
245    2007-09-12      Torsten Irlaender <[email protected]>
246    
247            * tools/formed/formed/plugins/ui/controls.py: Fixed bug that
248              choicelist did not get selected when the value is set to "0"
249    
250    2007-09-12      Torsten Irlaender <[email protected]>
251    
252            * tools/formed/formed/plugins/web/form_renderer.py: Added
253              "getPrintableData" method, for the formdata Class which will return
254              the description rather than the value of element in the ID. This is
255              need for displaying the choises in a right way.
256            
257            * tools/formed/formed/plugins/web/renderer.py: Changed string
258              "Fallnummer" into "Kundennummer" in the templates. Added
259              Kundennummer to the dataset digest output. Bound in the new
260              "getPrintableData" call for the digest.
261    
262    2007-10-11      Sascha L. Teichmann <[email protected]>
263    
264            * tools/formed/formed/plugins/export/data.py: The import/export
265              of data is now implemented with filters (the most consequent
266              way in terms of design of FormEd). The support of the 'persistent'
267              FORMED env-variable support has been removed.
268    
269            * tools/formed/formed/plugins/ui/controls.py: Added a flag to the
270              filter file dialog to double as import dialog.
271    
272            * tools/formed/formed/main.py: Removed the the FORMED-var support
273              for persistence.
274            
275            * tools/formed/formed/config.py: Add the two new filters to the filters
276              list.
277    
278    2007-10-11      Sascha L. Teichmann <[email protected]>
279    
280            * tools/formed/formed/model/memory.py: Uses XML as persistence format now.
281              Removed pickle/unpickle stuff.
282    
283            * tools/formed/formed/main.py: Uses the new XML persistence.
284    
285            * tools/formed/formed/plugins/web/semantic.py: Fixed: choices were
286              not converted to int indices.
287    
288    2007-09-11      Sascha L. Teichmann <[email protected]>
289    
290            * tools/formed/formed/model/memory.py: Making MemoryDataStore persistent
291              with pickle/unpickle.
292    
293            * tools/formed/formed/main.py: Added a env FORMED parameter 'persistent'.
294              Set to a file name it is tried to unpickle a MemoryDataStore from
295              that file. When exiting the program this file is used to store the
296              current MemoryDataStore state. The storing only works if you exit
297              the program through the Menu File->Exit.
298              usage: FORMED=persistent:test.db ./formed.sh
299    
300    2007-09-11      Torsten Irlaender <[email protected]>
301    
302            * tools/formed/formed/plugins/web/renderer.py: Changed Name of the
303              application on the welcome page from "Formed" to "WASKA"
304    
305    2007-09-11      Torsten Irlaender <[email protected]>
306    
307            * tools/formed/formed/plugins/web/plugin.py,
308            * tools/formed/formed/plugins/web/controllers.py,
309            * tools/formed/formed/plugins/web/renderer.py: Added InfoPageHandler.
310              The infopage provides information on all project participants.
311    
312    2007-09-11      Sascha L. Teichmann <[email protected]>
313    
314            * tools/formed/formed/plugins/web/controllers.py: Fix unicode conversion
315              issues with error messages (once again).
316    
317    2007-09-11      Torsten Irlaender <[email protected]>
318    
319            * tools/formed/formed/plugins/web/form_renderer.py,
320            * tools/formed/formed/plugins/web/renderer.py: Added alt tag for
321              icons in error and confirmation dialogs.
322    
323    2007-09-11      Sascha L. Teichmann <[email protected]>
324    
325            * tools/formed/formed/plugins/web/form_renderer.py: Fixed label
326              generation for ints, texts and textareas. Fixed h depths of infos.
327    
328    2007-09-11      Sascha L. Teichmann <[email protected]>
329    
330            * tools/formed/formed/plugins/web/form_renderer.py: Removed
331              debug output for help.
332    
333            * tools/formed/formed/plugins/web/semantic.py: Added forgotten
334              check for bools.
335    
336            * tools/formed/formed/plugins/web/controllers.py:  Added correct
337              HTML output of data for bools.
338    
339    2007-09-11      Torsten Irlaender <[email protected]>
340    
341          * tools/formed/formed/plugins/web/form_renderer.py: Changed size of          * tools/formed/formed/plugins/web/form_renderer.py: Changed size of
342            textfields for int values. Changed Label for submitbuttons to            textfields for int values. Changed Label for submitbuttons to
343            "Speichern"            "Speichern"
344    
345          * tools/formed/formed/plugins/web/plugin.py,          * tools/formed/formed/plugins/web/plugin.py,
346            tools/formed/formed/plugins/web/controllers.py: Added new            tools/formed/formed/plugins/web/controllers.py: Added new
347            NotImplementedHandler to show up a dummysite for not implemented            NotImplementedHandler to show up a dummysite for not implemented
348            functions.            functions.
349    
350          * tools/formed/formed/plugins/web/renderer.py: Added          * tools/formed/formed/plugins/web/renderer.py: Added
351            NotImplementedRenderer. Various small fixes. Mostly renaming the            NotImplementedRenderer. Various small fixes. Mostly renaming the
352            labels of some context menus. Error messages are now generated            labels of some context menus. Error messages are now generated
353            dynamically depending on num errors. Formular navigation has now            dynamically depending on num errors. Formular navigation has now
354            colored indication for errors.            colored indication for errors.
355    
356  2007-09-11 Torsten Irlaender <[email protected]>  2007-09-11      Torsten Irlaender <[email protected]>
357    
358          * tools/formed/formed/plugins/web/renderer.py: Implemented "LookAhead"          * tools/formed/formed/plugins/web/renderer.py: Implemented "LookAhead"
359            algorithm for the formular navigation to get rid of the problem            algorithm for the formular navigation to get rid of the problem
360            that some of the items within the navigation are not linked.  Now            that some of the items within the navigation are not linked.  Now
361            structural group elements are linked with the next page found in the            structural group elements are linked with the next page found in the
362            formular structure.            formular structure.
363    
364  2007-09-10 Torsten Irlaender <[email protected]>  2007-09-10      Torsten Irlaender <[email protected]>
365          * tools/formed/formed/plugins/web/form_renderer.py: Changed order of          * tools/formed/formed/plugins/web/form_renderer.py: Changed order of
366            div and formtag.            div and formtag.
367    
368          * tools/formed/formed/plugins/web/controllers.py: Added DataSet action          * tools/formed/formed/plugins/web/controllers.py: Added DataSet action
369            menu in the conformation dialog when creating a new dataset.            menu in the conformation dialog when creating a new dataset.
370    
371          * tools/formed/formed/plugins/web/renderer.py: Fixed error when          * tools/formed/formed/plugins/web/renderer.py: Fixed error when
372            rendering the default welcome page. Changed rendering of the            rendering the default welcome page. Changed rendering of the
373            overview and the digest table of the datasets. Added icon for            overview and the digest table of the datasets. Added icon for
374            confirmation dialog, moved the icon in the <h1> tags.              confirmation dialog, moved the icon in the <h1> tags.  
375    
376  2007-09-10 Torsten Irlaender <[email protected]>  2007-09-10      Torsten Irlaender <[email protected]>
377    
378          * tools/formed/formed/plugins/web/form_renderer.py: Some html          * tools/formed/formed/plugins/web/form_renderer.py: Some html
379            generation cleanup. Added error icons to formelements            generation cleanup. Added error icons to formelements
380    
381          * tools/formed/formed/plugins/web/controllers.py: Fixed initialisation          * tools/formed/formed/plugins/web/controllers.py: Fixed initialisation
382            of ErrorStatus. Fixed generated of the help tags in the formular            of ErrorStatus. Fixed generated of the help tags in the formular
383    
384          * tools/formed/formed/plugins/web/renderer.py: Added error icon for          * tools/formed/formed/plugins/web/renderer.py: Added error icon for
385            pageerrors. An "!" now indicates errors on pages in the formular            pageerrors. An "!" now indicates errors on pages in the formular
386            navigation. Added new <div> "content" around confirmation dialogss.            navigation. Added new <div> "content" around confirmation dialogss.
387            Links in confimation dialogs are now rendered as buttons. Removed            Links in confimation dialogs are now rendered as buttons. Removed
388            old obsolete OverviewRenderer.            old obsolete OverviewRenderer.
389    
390  2007-09-10 Sascha L. Teichmann <[email protected]>  2007-09-10      Sascha L. Teichmann <[email protected]>
391    
392          * tools/formed/formed/plugins/web/renderer.py: Highlight selected          * tools/formed/formed/plugins/web/renderer.py: Highlight selected
393            page in page navigation.            page in page navigation.
394    
395  2007-09-10 Torsten Irlaender <[email protected]>  2007-09-10      Torsten Irlaender <[email protected]>
396    
397          * tools/formed/formed/plugins/web/controllers.py: Fixed issues on          * tools/formed/formed/plugins/web/controllers.py: Fixed issues on
398            displaying formdata when changing datasets. Loading the right            displaying formdata when changing datasets. Loading the right
# Line 56  Line 403 
403          * tools/formed/formed/plugins/web/renderer.py: DataSetDigestRenderer          * tools/formed/formed/plugins/web/renderer.py: DataSetDigestRenderer
404            now uses the correct data out of the formdata.            now uses the correct data out of the formdata.
405    
406  2007-09-10 Sascha L. Teichmann <[email protected]>  2007-09-10      Sascha L. Teichmann <[email protected]>
407    
408          * tools/formed/formed/plugins/web/controllers.py: Pretty          * tools/formed/formed/plugins/web/controllers.py: Pretty
409            print format data (dates e.g)            print format data (dates e.g)
410    
411  2007-09-10 Sascha L. Teichmann <[email protected]>  2007-09-10      Sascha L. Teichmann <[email protected]>
412    
413          * tools/formed/formed/plugins/web/controllers.py: Modified          * tools/formed/formed/plugins/web/controllers.py: Modified
414            ErrorStats a bit to avoid mysterious extra error on page.            ErrorStats a bit to avoid mysterious extra error on page.
415                  No clue why this works.            No clue why this works.
416    
417  2007-09-10 Sascha L. Teichmann <[email protected]>  2007-09-10      Sascha L. Teichmann <[email protected]>
418    
419          * tools/formed/formed/plugins/web/form_renderer.py: Fixed value          * tools/formed/formed/plugins/web/form_renderer.py: Fixed value
420            problem with radio groups, too.            problem with radio groups, too.
421    
422  2007-09-10 Torsten Irlaender <[email protected]>  2007-09-10      Torsten Irlaender <[email protected]>
423          * tools/formed/formed/plugins/web/controllers.py: Sessions are now          * tools/formed/formed/plugins/web/controllers.py: Sessions are now
424            really removed when deleting a dataset.            really removed when deleting a dataset.
425                    
426  2007-09-10 Torsten Irlaender <[email protected]>  2007-09-10      Torsten Irlaender <[email protected]>
427    
428          * tools/formed/formed/plugins/web/controllers.py: Added new Class          * tools/formed/formed/plugins/web/controllers.py: Added new Class
429            ErrorStats which provides Information on remaining errors per page.            ErrorStats which provides Information on remaining errors per page.
# Line 87  Line 434 
434          * tools/formed/formed/plugins/web/plugin.py: Removed render_session          * tools/formed/formed/plugins/web/plugin.py: Removed render_session
435            handlers            handlers
436    
437  2007-09-10 Sascha L. Teichmann <[email protected]>  2007-09-10      Sascha L. Teichmann <[email protected]>
438    
439          * tools/formed/formed/plugins/web/form_renderer.py: values for          * tools/formed/formed/plugins/web/form_renderer.py: values for
440            choices are generated from the document tree now. This brings            choices are generated from the document tree now. This brings
441                  the state storage of select boxes in HTML to live.            the state storage of select boxes in HTML to live.
442    
443  2007-09-09 Sascha L. Teichmann <[email protected]>  2007-09-09      Sascha L. Teichmann <[email protected]>
444    
445          * tools/formed/formed/plugins/web/semantic.py: Fixed problems with          * tools/formed/formed/plugins/web/semantic.py: Fixed problems with
446            range checking of integers.            range checking of integers.
# Line 101  Line 448 
448          * tools/formed/formed/plugins/web/controllers.py: Added class          * tools/formed/formed/plugins/web/controllers.py: Added class
449            ErrorItem to track errors. They are stored in the session.            ErrorItem to track errors. They are stored in the session.
450    
451  2007-09-09 Sascha L. Teichmann <[email protected]>  2007-09-09      Sascha L. Teichmann <[email protected]>
452    
453          * tools/formed/formed/model/nodecomponents.py: Fixed returning          * tools/formed/formed/model/nodecomponents.py: Fixed returning
454            wrong index in Document.indexOfcomponentByClassAndName.            wrong index in Document.indexOfcomponentByClassAndName.
# Line 111  Line 458 
458    
459          * tools/formed/formed/plugins/web/controllers.py: Some clean-ups.          * tools/formed/formed/plugins/web/controllers.py: Some clean-ups.
460    
461  2007-09-09 Sascha L. Teichmann <[email protected]>  2007-09-09      Sascha L. Teichmann <[email protected]>
462    
463          * tools/formed/formed/plugins/web/help.py: Added a 'hasHelp'          * tools/formed/formed/plugins/web/help.py: Added a 'hasHelp'
464            method. Could be cheaper for some implementations of help.            method. Could be cheaper for some implementations of help.
465    
466          * tools/formed/formed/plugins/web/form_renderer.py: Modified          * tools/formed/formed/plugins/web/form_renderer.py: Modified
467            FormData to have distinct getData(), getHelp() and getError()            FormData to have distinct getData(), getHelp() and getError()
468                  methods. Various bug fixes.            methods. Various bug fixes.
469    
470          * tools/formed/formed/plugins/web/controllers.py: Implements the          * tools/formed/formed/plugins/web/controllers.py: Implements the
471            new FormData (trivial by now).            new FormData (trivial by now).
# Line 126  Line 473 
473          * tools/formed/formed/plugins/web/renderer.py: New FormData and          * tools/formed/formed/plugins/web/renderer.py: New FormData and
474            some bug fixes.            some bug fixes.
475    
476  2007-09-09 Sascha L. Teichmann <[email protected]>  2007-09-09      Sascha L. Teichmann <[email protected]>
477    
478          * tools/formed/formed/model/memory.py,          * tools/formed/formed/model/memory.py,
479            tools/formed/formed/model/persistent.py: Add a getValue() method            tools/formed/formed/model/persistent.py: Add a getValue() method
480                  to dataset abstraction. This is a bit of a workaround to bring            to dataset abstraction. This is a bit of a workaround to bring
481                  global access across pages for rule checking to work.            global access across pages for rule checking to work.
482    
483          * tools/formed/formed/model/data.py: Fixed: When setting a new expression          * tools/formed/formed/model/data.py: Fixed: When setting a new expression
484            the compiled version was not stored in the RuleLeaf.            the compiled version was not stored in the RuleLeaf.
# Line 141  Line 488 
488    
489          * tools/formed/formed/plugins/web/semantic.py: Remove the 'box' because          * tools/formed/formed/plugins/web/semantic.py: Remove the 'box' because
490            valid data is stored to the dataset immediately now. Fixed a bug            valid data is stored to the dataset immediately now. Fixed a bug
491                  with integer handler.            with integer handler.
492    
493          * tools/formed/formed/plugins/web/controllers.py: Removed the semantic 'box'          * tools/formed/formed/plugins/web/controllers.py: Removed the semantic 'box'
494            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
495                  that are effected by the modified variables and check them.            that are effected by the modified variables and check them.
496    
497          * tools/formed/formed/plugins/web/renderer.py: Fixed exception handling          * tools/formed/formed/plugins/web/renderer.py: Fixed exception handling
498            when dealing with templates.            when dealing with templates.
499    
500  2007-09-07 Torsten Irlaender <[email protected]>  2007-09-07      Torsten Irlaender <[email protected]>
501          * tools/formed/formed/plugins/web/controllers.py,          * tools/formed/formed/plugins/web/controllers.py,
502            tools/formed/formed/plugins/web/renderer.py: Moved more render            tools/formed/formed/plugins/web/renderer.py: Moved more render
503            functions into renderer.py. New render classes are:            functions into renderer.py. New render classes are:
# Line 160  Line 507 
507            Note: The new methods are only called from selected handlers. Other            Note: The new methods are only called from selected handlers. Other
508            handlers call the renderes in the old way.            handlers call the renderes in the old way.
509    
510  2007-09-07 Torsten Irlaender <[email protected]>  2007-09-07      Torsten Irlaender <[email protected]>
511          * tools/formed/formed/plugins/web/form_renderer.py: Renamed          * tools/formed/formed/plugins/web/form_renderer.py: Renamed
512            renderer.py to form_renderer.py. This file will contain formular            renderer.py to form_renderer.py. This file will contain formular
513            specfic render methods in the future.            specfic render methods in the future.
# Line 170  Line 517 
517            rendering into renderer.py or form_renderer.py. This file will only            rendering into renderer.py or form_renderer.py. This file will only
518            contain teh handlers in the future.            contain teh handlers in the future.
519    
520  2007-09-07 Torsten Irlaender <[email protected]>  2007-09-07      Torsten Irlaender <[email protected]>
521          * tools/formed/formed/plugins/web/renderer.py,          * tools/formed/formed/plugins/web/renderer.py,
522            tools/formed/formed/plugins/web/controller.py:            tools/formed/formed/plugins/web/controller.py:
523            Renderes now get an instance of the formdata object to provide            Renderes now get an instance of the formdata object to provide
524            access the data needed to render various infoboxes etc. Handler            access the data needed to render various infoboxes etc. Handler
525            instanciate the formdata.            instanciate the formdata.
526                    
527  2007-09-06 Torsten Irlaender <[email protected]>  2007-09-06      Torsten Irlaender <[email protected]>
528          * tools/formed/formed/plugins/web/renderer.py: Mainly tried to get the          * tools/formed/formed/plugins/web/renderer.py: Mainly tried to get the
529            getFormData interface to work. Added two small semantic fixes, but            getFormData interface to work. Added two small semantic fixes, but
530            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 532 
532            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
533            styles. Added dataset actions while editing a dataset.            styles. Added dataset actions while editing a dataset.
534                    
535  2007-09-05 Torsten Irlaender <[email protected]>  2007-09-05      Torsten Irlaender <[email protected]>
536          * tools/formed/formed/model/memory.py: Fixed deleting datasets by          * tools/formed/formed/model/memory.py: Fixed deleting datasets by
537            removing unwanted del method            removing unwanted del method
538          * tools/formed/formed/plugins/web/controllers.py: Implemented          * tools/formed/formed/plugins/web/controllers.py: Implemented
539            confiration dialogs for create, delete, and select aof datasets. Started to use            confiration dialogs for create, delete, and select aof datasets. Started to use
540            templates as well for larger information units like the dataset summary.            templates as well for larger information units like the dataset summary.
541                    
542  2007-09-05 Sascha L. Teichmann <[email protected]>  2007-09-05      Sascha L. Teichmann <[email protected]>
543    
544          * tools/formed/formed/model/nodecomponents.py: Added a          * tools/formed/formed/model/nodecomponents.py: Added a
545            method to document to find index of page.            method to document to find index of page.
# Line 203  Line 550 
550          * tools/formed/formed/plugins/web/controllers.py: Added new          * tools/formed/formed/plugins/web/controllers.py: Added new
551            FormData implementation to support DB and semantic box.            FormData implementation to support DB and semantic box.
552    
553  2007-09-05 Sascha L. Teichmann <[email protected]>  2007-09-05      Sascha L. Teichmann <[email protected]>
554    
555          * tools/formed/formed/plugins/web/renderer.py: escaped          * tools/formed/formed/plugins/web/renderer.py: escaped
556            error message.            error message.
# Line 211  Line 558 
558          * tools/formed/formed/plugins/web/controllers.py: Don't fetch          * tools/formed/formed/plugins/web/controllers.py: Don't fetch
559            dataset from backend each time a page is up to edit.            dataset from backend each time a page is up to edit.
560    
561  2007-09-05 Sascha L. Teichmann <[email protected]>  2007-09-05      Sascha L. Teichmann <[email protected]>
562    
563          * tools/formed/formed/plugins/web/renderer.py: SimplePageRenderer          * tools/formed/formed/plugins/web/renderer.py: SimplePageRenderer
564            returns "Page not found" if given page is None.            returns "Page not found" if given page is None.
# Line 219  Line 566 
566          * tools/formed/formed/plugins/web/controllers.py: Added checks          * tools/formed/formed/plugins/web/controllers.py: Added checks
567            to avoid crashing when ask for a non-existent page.            to avoid crashing when ask for a non-existent page.
568    
569  2007-09-05 Sascha L. Teichmann <[email protected]>  2007-09-05      Sascha L. Teichmann <[email protected]>
570    
571          * tools/formed/formed/plugins/web/controllers.py: Some clean-ups.          * tools/formed/formed/plugins/web/controllers.py: Some clean-ups.
572    
573  2007-09-05 Sascha L. Teichmann <[email protected]>  2007-09-05      Sascha L. Teichmann <[email protected]>
574    
575          * tools/formed/formed/plugins/web/plugin.py: Remove request handlers          * tools/formed/formed/plugins/web/plugin.py: Remove request handlers
576            and renderers.            and renderers.
# Line 231  Line 578 
578          * tools/formed/formed/plugins/web/controllers.py: New. Contains handlers          * tools/formed/formed/plugins/web/controllers.py: New. Contains handlers
579            and renderers now. TODO: Move renderers to renderer.py            and renderers now. TODO: Move renderers to renderer.py
580    
581  2007-09-05 Torsten Irlaender <[email protected]>  2007-09-05      Torsten Irlaender <[email protected]>
582    
583          * tools/formed/formed/plugins/web/www/main.tmpl: Adopted web template          * tools/formed/formed/plugins/web/www/main.tmpl: Adopted web template
584            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
585            show formdata.            show formdata.
586                    
587  2007-09-05 Sascha L. Teichmann <[email protected]>  2007-09-05      Sascha L. Teichmann <[email protected]>
588    
589          * tools/formed/formed/model/memory.py: Removed bisect and use a          * tools/formed/formed/model/memory.py: Removed bisect and use a
590            simple linear scan for dataset lookup now.            simple linear scan for dataset lookup now.
# Line 245  Line 592 
592          * tools/formed/formed/plugins/web/plugin.py: Fixed various issues          * tools/formed/formed/plugins/web/plugin.py: Fixed various issues
593            of different sizes.            of different sizes.
594    
595  2007-09-05 Torsten Irlaender <[email protected]>  2007-09-05      Torsten Irlaender <[email protected]>
596    
597          * tools/formed/formed/plugins/web/memory.py: Fixed getDataSetById          * tools/formed/formed/plugins/web/memory.py: Fixed getDataSetById
598            fuction            fuction
599                              
600          * tools/formed/formed/plugins/web/persistent.py: Added store() method          * tools/formed/formed/plugins/web/persistent.py: Added store() method
601            to the DataSet interface            to the DataSet interface
602    
603          * tools/formed/formed/plugins/web/renderer.py: Added handlers and          * tools/formed/formed/plugins/web/renderer.py: Added handlers and
604            renderes for create, update, delete and show actions on formular data.            renderes for create, update, delete and show actions on formular data.
605    
606  2007-09-04 Sascha L. Teichmann <[email protected]>  2007-09-04      Sascha L. Teichmann <[email protected]>
607    
608          * tools/formed/formed/plugins/web/server.py: The mapping          * tools/formed/formed/plugins/web/server.py: The mapping
609            to methods is now driven by regualar expressions and            to methods is now driven by regualar expressions and
610                  a dictionary. Response objects are now able to send            a dictionary. Response objects are now able to send
611                  error codes.            error codes.
612    
613          * tools/formed/formed/plugins/web/renderer.py: Fixed an issue          * tools/formed/formed/plugins/web/renderer.py: Fixed an issue
614            when help in Formdata is None. Moved text for help into            when help in Formdata is None. Moved text for help into
615                  a top level '''...''' variable.            a top level '''...''' variable.
616    
617          * tools/formed/test-data/simple.xml: Added test for help.          * tools/formed/test-data/simple.xml: Added test for help.
618    
# Line 273  Line 620 
620    
621          * tools/formed/formed/plugins/web/plugin.py: Uses the new          * tools/formed/formed/plugins/web/plugin.py: Uses the new
622            table driven mapping of reguest handling. TODO: split the            table driven mapping of reguest handling. TODO: split the
623                  WebPlugIn.pageHandler() method further to smaller handlers.            WebPlugIn.pageHandler() method further to smaller handlers.
624                  Smaller clean ups and better exception handling.            Smaller clean ups and better exception handling.
625    
626          * tools/formed/formed/plugins/web/cache.py: Report OSErrors          * tools/formed/formed/plugins/web/cache.py: Report OSErrors
627            and do not catch them.            and do not catch them.
628    
629  2007-09-04 Torsten Irlaender <[email protected]>  2007-09-04      Torsten Irlaender <[email protected]>
630    
631          * tools/formed/formed/plugins/web/renderer.py,          * tools/formed/formed/plugins/web/renderer.py,
632          * tools/formed/formed/plugins/web/plugin.py: Added Interface to          * tools/formed/formed/plugins/web/plugin.py: Added Interface to
# Line 288  Line 635 
635            within a <div> tag.            within a <div> tag.
636            Modified the error messages.            Modified the error messages.
637    
638  2007-09-04 Sascha L. Teichmann <[email protected]>  2007-09-04      Sascha L. Teichmann <[email protected]>
639    
640          * tools/formed/formed/plugins/web/cache.py: New. Implements          * tools/formed/formed/plugins/web/cache.py: New. Implements
641            the server-side caching more clean. Fixes a bug with            the server-side caching more clean. Fixes a bug with
642                  serving static content.            serving static content.
643    
644          * tools/formed/formed/plugins/web/plugin.py: Use the new cache.          * tools/formed/formed/plugins/web/plugin.py: Use the new cache.
645    
646  2007-09-04 Sascha L. Teichmann <[email protected]>  2007-09-04      Sascha L. Teichmann <[email protected]>
647    
648          * tools/formed/formed/plugins/web/plugin.py: Set MIME type          * tools/formed/formed/plugins/web/plugin.py: Set MIME type
649            to "application/xhtml+xml" when serving help texts.            to "application/xhtml+xml" when serving help texts.
650    
651  2007-09-03 Sascha L. Teichmann <[email protected]>  2007-09-03      Sascha L. Teichmann <[email protected]>
652    
653          * tools/formed/formed/plugins/export/diff.py: New. Exports          * tools/formed/formed/plugins/export/diff.py: New. Exports
654            pairwise differences between all modes.            pairwise differences between all modes.
655    
656          * tools/formed/formed/config.py: Use new export filter.          * tools/formed/formed/config.py: Use new export filter.
657    
658  2007-09-03 Sascha L. Teichmann <[email protected]>  2007-09-03      Sascha L. Teichmann <[email protected]>
659    
660          * tools/formed/formed/plugins/web/help.py: New. Parses an          * tools/formed/formed/plugins/web/help.py: New. Parses an
661            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 669 
669          * tools/formed/formed/plugins/web/plugin.py: Serves the help          * tools/formed/formed/plugins/web/plugin.py: Serves the help
670            texts now.            texts now.
671    
672  2007-09-03 Torsten Irlaender <[email protected]>  2007-09-03      Torsten Irlaender <[email protected]>
673    
674          * tools/formed/formed/plugins/web/plugin.py: Only visible group          * tools/formed/formed/plugins/web/plugin.py: Only visible group
675            elements will be rendered in the formular navigation.            elements will be rendered in the formular navigation.
676            Formular pages in the navigation now have their own css-style            Formular pages in the navigation now have their own css-style
677            attributes.            attributes.
678    
679  2007-09-03 Torsten Irlaender <[email protected]>  2007-09-03      Torsten Irlaender <[email protected]>
680    
681          * 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
682            errors in template            errors in template
683          * tools/formed/formed/plugins/web/plugin.py: Fixed undefined          * tools/formed/formed/plugins/web/plugin.py: Fixed undefined
684            pageerrors variable            pageerrors variable
685    
686  2007-09-03 Frank Koormann <[email protected]>  2007-09-03      Frank Koormann <[email protected]>
687    
688          * tools/formed/formed/plugins/export/html.py          * tools/formed/formed/plugins/export/html.py
689          (RecursiveExporter): Added annotation to export          (RecursiveExporter): Added annotation to export
690          (fillRow()): Renamed old fillNine to this more generic name.          (fillRow()): Renamed old fillNine to this more generic name.
691                    
692    
693  2007-09-03 Sascha L. Teichmann <[email protected]>  2007-09-03      Sascha L. Teichmann <[email protected]>
694    
695          * tools/formed/formed/plugins/web/renderer.py: Using the decorator          * tools/formed/formed/plugins/web/renderer.py: Using the decorator
696            from model.misc now.            from model.misc now.
697    
698  2007-09-03 Sascha L. Teichmann <[email protected]>  2007-09-03      Sascha L. Teichmann <[email protected]>
699    
700          * tools/formed/formed/model/nodecomponents.py: Added an          * tools/formed/formed/model/nodecomponents.py: Added an
701            'annotation' attribute to node components. This is to            'annotation' attribute to node components. This is to
702                  enable FormEd document authors to add comments to groups            enable FormEd document authors to add comments to groups
703                  and fields.            and fields.
704    
705  2007-09-03 Frank Koormann <[email protected]>  2007-09-03      Frank Koormann <[email protected]>
706    
707          * tools/formed/formed/model/nodecomponents.py          * tools/formed/formed/model/nodecomponents.py
708          (NodeComponent.getParent): New method to get node components parent.          (NodeComponent.getParent): New method to get node components parent.
# Line 363  Line 710 
710          * tools/formed/formed/plugins/export/html.py: Export Choice option          * tools/formed/formed/plugins/export/html.py: Export Choice option
711          as simple list instead of collection of bools.          as simple list instead of collection of bools.
712    
713  2007-09-02 Sascha L. Teichmann <[email protected]>  2007-09-02      Sascha L. Teichmann <[email protected]>
714    
715          * tools/formed/formed/model/persistent.py: Interfaces to abstract          * tools/formed/formed/model/persistent.py: Interfaces to abstract
716            from persistent storage details.            from persistent storage details.
# Line 373  Line 720 
720    
721          * tools/formed/formed/main.py: Holds a memory data store now.          * tools/formed/formed/main.py: Holds a memory data store now.
722    
723  2007-09-02 Sascha L. Teichmann <[email protected]>  2007-09-02      Sascha L. Teichmann <[email protected]>
724    
725          * tools/formed/formed/plugins/export/sql.py,          * tools/formed/formed/plugins/export/sql.py,
726            tools/formed/formed/plugins/export/html.py: Fixed constructor chains            tools/formed/formed/plugins/export/html.py: Fixed constructor chains
727                  for FileDialogFilter sub classes.            for FileDialogFilter sub classes.
728    
729  2007-09-02 Sascha L. Teichmann <[email protected]>  2007-09-02      Sascha L. Teichmann <[email protected]>
730    
731          * tools/formed/formed/model/misc.py: Checking the mode in recursive          * tools/formed/formed/model/misc.py: Checking the mode in recursive
732            tree traversals is a common task. To ease this a decorator function            tree traversals is a common task. To ease this a decorator function
733                  checkMode in union with sub classing ModeChecker can be used.            checkMode in union with sub classing ModeChecker can be used.
734                  To make it work simply subclass from ModeChecker and add the decorator            To make it work simply subclass from ModeChecker and add the decorator
735                  to the methods that need mode tracking. Before you start the recursion            to the methods that need mode tracking. Before you start the recursion
736                  call self.prepareDescent().            call self.prepareDescent().
737    
738          * tools/formed/formed/plugins/export/html.py: Uses the new decorator scheme          * tools/formed/formed/plugins/export/html.py: Uses the new decorator scheme
739            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
740                  too.            too.
741    
742  2007-09-02 Sascha L. Teichmann <[email protected]>  2007-09-02      Sascha L. Teichmann <[email protected]>
743    
744          * tools/formed/formed/plugins/export/sql.py: Removed needless import.          * tools/formed/formed/plugins/export/sql.py: Removed needless import.
745    
746          * tools/formed/formed/plugins/export/html.py: HTML table exporter          * tools/formed/formed/plugins/export/html.py: HTML table exporter
747            uses new FileDialogFilter base class too.            uses new FileDialogFilter base class too.
748    
749  2007-09-02 Sascha L. Teichmann <[email protected]>  2007-09-02      Sascha L. Teichmann <[email protected]>
750    
751          * tools/formed/formed/plugins/ui/*: New. All file exporters          * tools/formed/formed/plugins/ui/*: New. All file exporters
752            need a file dialog. Till now each of them pulled up its            need a file dialog. Till now each of them pulled up its
753                  own. This was silly code replication. Now there is an abstract            own. This was silly code replication. Now there is an abstract
754                  base class 'FileDialogFilter' which implements the common            base class 'FileDialogFilter' which implements the common
755                  behavior. The file exporters should subclass it.            behavior. The file exporters should subclass it.
756    
757          * tools/formed/formed/plugins/export/sql.py: Subclass the SQL          * tools/formed/formed/plugins/export/sql.py: Subclass the SQL
758            exporters from the new base class. TODO: Subclass the HTML            exporters from the new base class. TODO: Subclass the HTML
759                  exporter too.            exporter too.
760    
761  2007-08-31 Sascha L. Teichmann <[email protected]>  2007-08-31      Sascha L. Teichmann <[email protected]>
762    
763          * tools/formed/formed/plugins/export/html.py: Make mode check          * tools/formed/formed/plugins/export/html.py: Make mode check
764            work (again).            work (again).
765    
766  2007-08-31 Torsten Irlaender <[email protected]>  2007-08-31      Torsten Irlaender <[email protected]>
767    
768          * tools/formed/formed/plugins/export/html.py: Rendering of the HTML          * tools/formed/formed/plugins/export/html.py: Rendering of the HTML
769            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 771 
771            full hirachically document stuctures. (nested lists)            full hirachically document stuctures. (nested lists)
772            TODO: Fix modechecking            TODO: Fix modechecking
773    
774  2007-08-31 Torsten Irlaender <[email protected]>  2007-08-31      Torsten Irlaender <[email protected]>
775    
776          * tools/formed/formed/plugins/web/plugin.py: Navigation rendering works          * tools/formed/formed/plugins/web/plugin.py: Navigation rendering works
777            now in recursive way. This change was needed because the structure            now in recursive way. This change was needed because the structure
778            of the formedtree has changed to be able to render full hirachically            of the formedtree has changed to be able to render full hirachically
779            document stuctures. (nested lists)            document stuctures. (nested lists)
780    
781  2007-08-31 Sascha L. Teichmann <[email protected]>  2007-08-31      Sascha L. Teichmann <[email protected]>
782    
783          * tools/formed/formed/model/nodecomponents.py: use discard()          * tools/formed/formed/model/nodecomponents.py: use discard()
784            instead of remove on sets.            instead of remove on sets.
# Line 442  Line 789 
789          * tools/formed/formed/config.py: Added the new exporter          * tools/formed/formed/config.py: Added the new exporter
790            to the list of export filters.            to the list of export filters.
791    
792  2007-08-30 Sascha L. Teichmann <[email protected]>  2007-08-30      Sascha L. Teichmann <[email protected]>
793    
794          * tools/formed/formed/model/data.py: Fixed a bug in          * tools/formed/formed/model/data.py: Fixed a bug in
795            Page.allWidgets()            Page.allWidgets()
# Line 452  Line 799 
799    
800          * tools/formed/formed/config.py: Add the new SP exporter.          * tools/formed/formed/config.py: Add the new SP exporter.
801    
802  2007-08-29 Torsten Irlaender <[email protected]>  2007-08-29      Torsten Irlaender <[email protected]>
803    
804          * tools/formed/formed/plugins/web/plugin.py,          * tools/formed/formed/plugins/web/plugin.py,
805            tools/formed/formed/plugins/web/error_renderer.py: Added interface            tools/formed/formed/plugins/web/error_renderer.py: Added interface
806            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
807            now be displayed on the top of the formular.            now be displayed on the top of the formular.
808    
809  2007-08-29 Torsten Irlaender <[email protected]>  2007-08-29      Torsten Irlaender <[email protected]>
810    
811          * tools/formed/formed/plugins/web/renderer.py: Finished implementation          * tools/formed/formed/plugins/web/renderer.py: Finished implementation
812            of the getFromData interface and prepared the rederer for generating            of the getFromData interface and prepared the rederer for generating
813            nice error messages            nice error messages
814    
815  2007-08-28 Frank Koormann <[email protected]>  2007-08-28      Frank Koormann <[email protected]>
816    
817          * tools/formed/formed/plugins/export/sql.py          * tools/formed/formed/plugins/export/sql.py
818          (SchemaCreator.createSchema, SchemaCreator._createGroup):          (SchemaCreator.createSchema, SchemaCreator._createGroup):
819          Fixed typo in created DDS (PRIMRAY -> PRIMARY)          Fixed typo in created DDS (PRIMRAY -> PRIMARY)
820    
821  2007-08-28 Torsten Irlaender <[email protected]>  2007-08-28      Torsten Irlaender <[email protected]>
822    
823          * tools/formed/formed/plugins/export/sql.py: Added small helper          * tools/formed/formed/plugins/export/sql.py: Added small helper
824            function to generated valid quotes within the sql statements            function to generated valid quotes within the sql statements
825    
826  2007-08-29 Sascha L. Teichmann <[email protected]>  2007-08-29      Sascha L. Teichmann <[email protected]>
827    
828          * tools/formed/formed/plugins/export/sql.py: Added foreign keys          * tools/formed/formed/plugins/export/sql.py: Added foreign keys
829            for repeat tables.            for repeat tables.
830                        
831  2007-08-29 Sascha L. Teichmann <[email protected]>  2007-08-29      Sascha L. Teichmann <[email protected]>
832    
833          * tools/formed/formed/plugins/export/sql.py: When generating          * tools/formed/formed/plugins/export/sql.py: When generating
834            an extra table check in a table of same content exists. In            an extra table check in a table of same content exists. In
835                  this case reference the existing table.            this case reference the existing table.
836    
837  2007-08-29 Sascha L. Teichmann <[email protected]>  2007-08-29      Sascha L. Teichmann <[email protected]>
838    
839          * tools/formed/formed/plugins/export/sql.py: Rewritten to produce          * tools/formed/formed/plugins/export/sql.py: Rewritten to produce
840            _real_ SQL and respect repeat groups.            _real_ SQL and respect repeat groups.
# Line 497  Line 844 
844          * tools/formed/formed/plugins/web/renderer.py: Use "".join([])          * tools/formed/formed/plugins/web/renderer.py: Use "".join([])
845            instead of expensive += string concat in some places.            instead of expensive += string concat in some places.
846    
847  2007-08-29 Sascha L. Teichmann <[email protected]>  2007-08-29      Sascha L. Teichmann <[email protected]>
848    
849          * tools/formed/formed/model/data.py: Renamed GroupNode.getRepeat()          * tools/formed/formed/model/data.py: Renamed GroupNode.getRepeat()
850            to .isRepeat and return a bool. Fixed a bug in Page.allWidgets().            to .isRepeat and return a bool. Fixed a bug in Page.allWidgets().
851    
852  2007-08-28 Torsten Irlaender <[email protected]>  2007-08-28      Torsten Irlaender <[email protected]>
853    
854          * tools/formed/plugins/web/renderer.py: Added Formdata interface.          * tools/formed/plugins/web/renderer.py: Added Formdata interface.
855          * tools/formed/model/data.py: Implements Formadata interface to          * tools/formed/model/data.py: Implements Formadata interface to
# Line 510  Line 857 
857            attribute of the groupnode. Field-label generation slightly changed.            attribute of the groupnode. Field-label generation slightly changed.
858            Added error indication to textfields            Added error indication to textfields
859    
860  2007-08-28 Sascha L. Teichmann <[email protected]>  2007-08-28      Sascha L. Teichmann <[email protected]>
861    
862          * tools/formed/formed/model/data.py,          * tools/formed/formed/model/data.py,
863            tools/formed/formed/io/document.py: Removed support            tools/formed/formed/io/document.py: Removed support
864                  of logical groups.            of logical groups.
865    
866  2007-08-28 Sascha L. Teichmann <[email protected]>  2007-08-28      Sascha L. Teichmann <[email protected]>
867    
868          * tools/formed/formed/io/document.py: Avoid saving empty          * tools/formed/formed/io/document.py: Avoid saving empty
869            attributes.            attributes.
870    
871          * tools/formed/test-data/simple.xml: Applied.          * tools/formed/test-data/simple.xml: Applied.
872    
873  2007-08-28 Sascha L. Teichmann <[email protected]>  2007-08-28      Sascha L. Teichmann <[email protected]>
874    
875          * tools/formed/formed/model/data.py: Added 'repeat' and          * tools/formed/formed/model/data.py: Added 'repeat' and
876            'invisible' attributes to group. TODO: remove logical group.            'invisible' attributes to group. TODO: remove logical group.
877    
878  2007-08-27 Torsten Irlaender <[email protected]>  2007-08-27      Torsten Irlaender <[email protected]>
879    
880          * tools/formed/plugins/web/plugin.py,          * tools/formed/plugins/web/plugin.py,
881            tools/formed/plugins/web/renderer.py: Started to  include stylesheet            tools/formed/plugins/web/renderer.py: Started to  include stylesheet
882            depending tags in the html generation.            depending tags in the html generation.
883    
884  2007-08-27 Sascha L. Teichmann <[email protected]>  2007-08-27      Sascha L. Teichmann <[email protected]>
885    
886          * tools/formed/formed/model/data.py,          * tools/formed/formed/model/data.py,
887            tools/formed/formed/io/document.py: Added a logical group.            tools/formed/formed/io/document.py: Added a logical group.
888                  It has an attribute 'repeat' to indicate that it might            It has an attribute 'repeat' to indicate that it might
889                  be worthy an external table in DB schema.            be worthy an external table in DB schema.
890    
891  2007-08-27 Sascha L. Teichmann <[email protected]>  2007-08-27      Sascha L. Teichmann <[email protected]>
892    
893          * tools/formed/formed/plugins/web/plugin.py: Support          * tools/formed/formed/plugins/web/plugin.py: Support
894            serving of static content.            serving of static content.
# Line 549  Line 896 
896          * tools/formed/formed/plugins/web/server.py: Removed          * tools/formed/formed/plugins/web/server.py: Removed
897            old send code.            old send code.
898    
899  2007-08-27 Sascha L. Teichmann <[email protected]>  2007-08-27      Sascha L. Teichmann <[email protected]>
900    
901          * tools/formed/formed/plugins/web/plugin.py: Use new          * tools/formed/formed/plugins/web/plugin.py: Use new
902            Response object. Fix typo.            Response object. Fix typo.
# Line 557  Line 904 
904          * tools/formed/formed/plugins/web/server.py: support          * tools/formed/formed/plugins/web/server.py: support
905            response object to serve different MIME types.            response object to serve different MIME types.
906    
907  2007-08-27 Sascha L. Teichmann <[email protected]>  2007-08-27      Sascha L. Teichmann <[email protected]>
908    
909          * tools/formed/formed/plugins/web/plugin.py: Add web.path          * tools/formed/formed/plugins/web/plugin.py: Add web.path
910            to FORMED environment  variable to specify the            to FORMED environment  variable to specify the
911                  root of the static content.            root of the static content.
912    
913  2007-08-26 Sascha L. Teichmann <[email protected]>  2007-08-26      Sascha L. Teichmann <[email protected]>
914    
915          * tools/formed/formed/model/data.py,          * tools/formed/formed/model/data.py,
916            tools/formed/formed/model/nodecomponents.py: Fixed mode issues.            tools/formed/formed/model/nodecomponents.py: Fixed mode issues.
917    
918          * tools/formed/formed/plugins/web/www,          * tools/formed/formed/plugins/web/www,
919            tools/formed/formed/plugins/web/www/main.tmpl: New. Contains            tools/formed/formed/plugins/web/www/main.tmpl: New. Contains
920                  a template for the HTML output.            a template for the HTML output.
921    
922          * tools/formed/formed/plugins/web/plugin.py: Fixes several smaller          * tools/formed/formed/plugins/web/plugin.py: Fixes several smaller
923            mode issues. Introduces CSS support. Simplified the action            mode issues. Introduces CSS support. Simplified the action
924                  handling.            handling.
925    
926          * tools/formed/formed/plugins/web/renderer.py: Removed the          * tools/formed/formed/plugins/web/renderer.py: Removed the
927            nagivation code.            nagivation code.
928    
929          * tools/formed/formed/plugins/web/server.py: Added missing import.          * tools/formed/formed/plugins/web/server.py: Added missing import.
930    
931  2007-08-26 Sascha L. Teichmann <[email protected]>  2007-08-26      Sascha L. Teichmann <[email protected]>
932    
933          * tools/formed/formed/model/data.py: Added missing broadcast          * tools/formed/formed/model/data.py: Added missing broadcast
934            parameter to setAttribute() of RuleLeaf.            parameter to setAttribute() of RuleLeaf.
# Line 595  Line 942 
942          * tools/formed/formed/plugins/web/server.py: New. Contains          * tools/formed/formed/plugins/web/server.py: New. Contains
943            the HTTP server code now.            the HTTP server code now.
944    
945  2007-08-26 Sascha L. Teichmann <[email protected]>  2007-08-26      Sascha L. Teichmann <[email protected]>
946    
947          * tools/formed/test-data/simple.xml: Modified to contain a rule.          * tools/formed/test-data/simple.xml: Modified to contain a rule.
948    
949          * tools/formed/formed/model/expr.py: Added. A simple RPN          * tools/formed/formed/model/expr.py: Added. A simple RPN
950            expression evaluator. To avoid the problem of eval()ing            expression evaluator. To avoid the problem of eval()ing
951                  arbitrary python expressions I've decided to use a very            arbitrary python expressions I've decided to use a very
952                  basic and limited stack machine to support rule checking.            basic and limited stack machine to support rule checking.
953    
954          * tools/formed/formed/model/data.py: Added a RuleLeaf.          * tools/formed/formed/model/data.py: Added a RuleLeaf.
955    
# Line 610  Line 957 
957    
958          * tools/formed/formed/model/nodecomponents.py: Add a method          * tools/formed/formed/model/nodecomponents.py: Add a method
959            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
960                  mode. Usefull to find all rules in the tree.            mode. Usefull to find all rules in the tree.
961    
962          * tools/formed/formed/ui/controls.py: Added a listener mechanism          * tools/formed/formed/ui/controls.py: Added a listener mechanism
963            to attribute table to report exceptions when setting a value            to attribute table to report exceptions when setting a value
964                  from GUI. Useful to report compilation errors when setting            from GUI. Useful to report compilation errors when setting
965                  expr of rule leafs.            expr of rule leafs.
966    
967          * tools/formed/formed/main.py: Added a method to track exceptions          * tools/formed/formed/main.py: Added a method to track exceptions
968            from the attribute table and pop up dialogs if they occur.            from the attribute table and pop up dialogs if they occur.
969                  Added a counter of rule modifications in tree. Useful if you            Added a counter of rule modifications in tree. Useful if you
970                  want build cached data structures like rule sets and you want            want build cached data structures like rule sets and you want
971                  to know if they are still valid.            to know if they are still valid.
972    
973  2007-08-24 Torsten Irlaender <[email protected]>  2007-08-24      Torsten Irlaender <[email protected]>
974    
975          * tools/formed/formed/plugins/export/sql.py: Fixed CHECK-constraint          * tools/formed/formed/plugins/export/sql.py: Fixed CHECK-constraint
976            for checkbox values. (Syntax error).            for checkbox values. (Syntax error).
# Line 631  Line 978 
978          * tools/formed/formed/plugins/names/filter.py: Fixes in formularname          * tools/formed/formed/plugins/names/filter.py: Fixes in formularname
979            generation              generation  
980    
981  2007-08-24 Torsten Irlaender <[email protected]>  2007-08-24      Torsten Irlaender <[email protected]>
982    
983          * tools/formed/formed/plugins/names/filter.py: Separated Class for          * tools/formed/formed/plugins/names/filter.py: Separated Class for
984            making the formularnames more database friendly. Added some more            making the formularnames more database friendly. Added some more
# Line 639  Line 986 
986          * tools/formed/formed/plugins/export/sql.py: Make use of the fresh          * tools/formed/formed/plugins/export/sql.py: Make use of the fresh
987            separated class, and some fixes in sql generation.            separated class, and some fixes in sql generation.
988    
989  2007-08-24 Sascha L. Teichmann <[email protected]>  2007-08-24      Sascha L. Teichmann <[email protected]>
990    
991          * tools/formed/formed/plugins/export/html.py: Print lengths          * tools/formed/formed/plugins/export/html.py: Print lengths
992            of external choice list.            of external choice list.
993    
994  2007-08-24 Sascha L. Teichmann <[email protected]>  2007-08-24      Sascha L. Teichmann <[email protected]>
995    
996          * tools/formed/formed/main.py: Little workaround for          * tools/formed/formed/main.py: Little workaround for
997            mode selection if someone adds an removes a mode.            mode selection if someone adds an removes a mode.
998    
999  2007-08-24 Sascha L. Teichmann <[email protected]>  2007-08-24      Sascha L. Teichmann <[email protected]>
1000    
1001          * tools/formed/test-data/simple.xml: Better test case for          * tools/formed/test-data/simple.xml: Better test case for
1002            mode depended leaf items.            mode depended leaf items.
# Line 659  Line 1006 
1006    
1007          * tools/formed/formed/plugins/export/html.py: Use effective          * tools/formed/formed/plugins/export/html.py: Use effective
1008            mode. TODO: the 'all' modus return false results sometimes.            mode. TODO: the 'all' modus return false results sometimes.
1009                  Cause: The modes are only cumulated over time. Removal is            Cause: The modes are only cumulated over time. Removal is
1010                  not done.            not done.
1011    
1012  2007-08-24 Sascha L. Teichmann <[email protected]>  2007-08-24      Sascha L. Teichmann <[email protected]>
1013    
1014          * tools/formed/formed/plugins/export/html.py: Dump the items          * tools/formed/formed/plugins/export/html.py: Dump the items
1015            of radio groups and choices too.            of radio groups and choices too.
1016    
1017  2007-08-24 Torsten Irlaender <[email protected]>  2007-08-24      Torsten Irlaender <[email protected]>
1018    
1019          * tools/formed/formed/plugins/names/filter.py: Modified the renaming          * tools/formed/formed/plugins/names/filter.py: Modified the renaming
1020            by formular names to make the naming more database friendly.            by formular names to make the naming more database friendly.
1021            Now only alphanumeric and underscore chars is allowed.            Now only alphanumeric and underscore chars is allowed.
1022    
1023  2007-08-24 Sascha L. Teichmann <[email protected]>  2007-08-24      Sascha L. Teichmann <[email protected]>
1024    
1025          * tools/formed/formed/plugins/export/html.py: Tweaked          * tools/formed/formed/plugins/export/html.py: Tweaked
1026            HTML table exporter a bit to be on par with the XSLT            HTML table exporter a bit to be on par with the XSLT
1027                  script. TODO: Dump items in radio and choice groups.            script. TODO: Dump items in radio and choice groups.
1028    
1029  2007-08-23 Sascha L. Teichmann <[email protected]>  2007-08-23      Sascha L. Teichmann <[email protected]>
1030    
1031          * tools/formed/formed/plugins/names/filter.py: Removed          * tools/formed/formed/plugins/names/filter.py: Removed
1032            HTML and SQL exporters.            HTML and SQL exporters.
# Line 688  Line 1035 
1035            tools/formed/formed/plugins/export/__init__.py,            tools/formed/formed/plugins/export/__init__.py,
1036            tools/formed/formed/plugins/export/sql.py,            tools/formed/formed/plugins/export/sql.py,
1037            tools/formed/formed/plugins/export/html.py: New: Contain            tools/formed/formed/plugins/export/html.py: New: Contain
1038                  the HTML and the SQL exporters now.            the HTML and the SQL exporters now.
1039    
1040          * tools/formed/formed/config.py: Use exporters from different          * tools/formed/formed/config.py: Use exporters from different
1041            package now.            package now.
1042    
1043  2007-08-23 Torsten Irlaender <[email protected]>  2007-08-23      Torsten Irlaender <[email protected]>
1044    
1045          * tools/formed/formed/plugins/names/filter.py: Added an          * tools/formed/formed/plugins/names/filter.py: Added an
1046            pseudo SQL export filters. TODO: Move HTML and SQL filter            pseudo SQL export filters. TODO: Move HTML and SQL filter
# Line 702  Line 1049 
1049    
1050          * tools/formed/formed/config.py: Install the new SQL filter.          * tools/formed/formed/config.py: Install the new SQL filter.
1051    
1052  2007-08-23 Sascha L. Teichmann <[email protected]>  2007-08-23      Sascha L. Teichmann <[email protected]>
1053    
1054          * tools/formed/formed/model/nodecomponents.py: Added a depth()          * tools/formed/formed/model/nodecomponents.py: Added a depth()
1055            method to determine the depth of particular tree item.            method to determine the depth of particular tree item.
# Line 712  Line 1059 
1059    
1060          * tools/formed/formed/config.py: Install the new HTML filter.          * tools/formed/formed/config.py: Install the new HTML filter.
1061    
1062  2007-08-23 Torsten Irlaender <[email protected]>  2007-08-23      Torsten Irlaender <[email protected]>
1063    
1064          * contrib/extract-xfa-fields_and_options.xsl: Added small xsl script          * contrib/extract-xfa-fields_and_options.xsl: Added small xsl script
1065            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
1066            script might me handy to indicate changes between the different            script might me handy to indicate changes between the different
1067            formular versions.            formular versions.
1068                    
1069  2007-08-23 Sascha L. Teichmann <[email protected]>  2007-08-23      Sascha L. Teichmann <[email protected]>
1070    
1071          * tools/formed/formed/main.py: Add an 'all' mode to          * tools/formed/formed/main.py: Add an 'all' mode to
1072            select all modes. ;-)            select all modes. ;-)
1073    
1074  2007-08-22 Sascha L. Teichmann <[email protected]>  2007-08-22      Sascha L. Teichmann <[email protected]>
1075    
1076          * tools/formed/test-data/simple.xml,          * tools/formed/test-data/simple.xml,
1077            tools/formed/formed/model/data.py,            tools/formed/formed/model/data.py,
# Line 734  Line 1081 
1081            tools/formed/formed/main.py: Removed support for switch nodes.            tools/formed/formed/main.py: Removed support for switch nodes.
1082            BEWARE: This breaks compatibility with older documents!            BEWARE: This breaks compatibility with older documents!
1083    
1084  2007-08-22 Sascha L. Teichmann <[email protected]>  2007-08-22      Sascha L. Teichmann <[email protected]>
1085    
1086          * tools/formed/formed/plugins/web/plugin.py: Uses the          * tools/formed/formed/plugins/web/plugin.py: Uses the
1087            getSelectedMode() from main now.            getSelectedMode() from main now.
# Line 745  Line 1092 
1092          * tools/formed/formed/config.py: removed selected mode from          * tools/formed/formed/config.py: removed selected mode from
1093            env configuration.            env configuration.
1094    
1095  2007-08-22 Sascha L. Teichmann <[email protected]>  2007-08-22      Sascha L. Teichmann <[email protected]>
1096    
1097          * tools/formed/formed/ui/controls.py: Attributes in GUI attribute          * tools/formed/formed/ui/controls.py: Attributes in GUI attribute
1098            table are now alphabetically sorted.            table are now alphabetically sorted.
1099    
1100  2007-08-22 Sascha L. Teichmann <[email protected]>  2007-08-22      Sascha L. Teichmann <[email protected]>
1101    
1102          * tools/formed/formed/model/nodecomponents.py: Added code to          * tools/formed/formed/model/nodecomponents.py: Added code to
1103            establish the new 'modes' recursively.            establish the new 'modes' recursively.
# Line 766  Line 1113 
1113    
1114          * tools/formed/formed/main.py: Adjusted to new infrastructure.          * tools/formed/formed/main.py: Adjusted to new infrastructure.
1115    
1116  2007-08-22 Sascha L. Teichmann <[email protected]>  2007-08-22      Sascha L. Teichmann <[email protected]>
1117    
1118          * tools/formed/formed/model/nodecomponents.py: Added an          * tools/formed/formed/model/nodecomponents.py: Added an
1119            attribute 'modes' to NodeComponents.            attribute 'modes' to NodeComponents.
1120    
1121  2007-08-22 Sascha L. Teichmann <[email protected]>  2007-08-22      Sascha L. Teichmann <[email protected]>
1122    
1123          * tools/formed/formed/model/data.py: Small cosmetic cleanups          * tools/formed/formed/model/data.py: Small cosmetic cleanups
1124    
1125  2007-08-21 Sascha L. Teichmann <[email protected]>  2007-08-21      Sascha L. Teichmann <[email protected]>
1126    
1127          * tools/formed/formed/plugins/web/renderer.py: Another fix          * tools/formed/formed/plugins/web/renderer.py: Another fix
1128            for the hidden field. Argh!            for the hidden field. Argh!
1129    
1130  2007-08-21 Sascha L. Teichmann <[email protected]>  2007-08-21      Sascha L. Teichmann <[email protected]>
1131    
1132          * tools/formed/formed/plugins/web/renderer.py: Fixed double          * tools/formed/formed/plugins/web/renderer.py: Fixed double
1133            generation of hidden page field.            generation of hidden page field.
1134    
1135  2007-08-21 Sascha L. Teichmann <[email protected]>  2007-08-21      Sascha L. Teichmann <[email protected]>
1136    
1137          * tools/formed/formed/plugins/web/semantic.py: Added semantic          * tools/formed/formed/plugins/web/semantic.py: Added semantic
1138            checks for radio groups.            checks for radio groups.
1139    
1140  2007-08-21 Sascha L. Teichmann <[email protected]>  2007-08-21      Sascha L. Teichmann <[email protected]>
1141    
1142          * tools/formed/formed/plugins/web/semantic.py: Added semantic          * tools/formed/formed/plugins/web/semantic.py: Added semantic
1143            checks for choices.            checks for choices.
# Line 805  Line 1152 
1152          * contrib/convert-formedtree2html.xsl:          * contrib/convert-formedtree2html.xsl:
1153          Replace technical types with readable descriptions          Replace technical types with readable descriptions
1154    
1155  2007-08-21 Sascha L. Teichmann <[email protected]>  2007-08-21      Sascha L. Teichmann <[email protected]>
1156    
1157          * tools/formed/formed/plugins/web/plugin.py: Fix a few smaller          * tools/formed/formed/plugins/web/plugin.py: Fix a few smaller
1158            issues. 'action' looks for all widgets on a page now, goes            issues. 'action' looks for all widgets on a page now, goes
1159                  through all passed parameters, tries to match them with the            through all passed parameters, tries to match them with the
1160                  widgets of the page and put them into the semantic box.            widgets of the page and put them into the semantic box.
1161                  Afterwards a list of untouched page parameters are left            Afterwards a list of untouched page parameters are left
1162                  which will be deleted from the semantic box.            which will be deleted from the semantic box.
1163    
1164          * tools/formed/formed/plugins/web/semantic.py: Simplified.          * tools/formed/formed/plugins/web/semantic.py: Simplified.
1165            The NodeComponent is passed as an argument now.            The NodeComponent is passed as an argument now.
# Line 820  Line 1167 
1167          * tools/formed/formed/plugins/web/renderer.py: Generate a          * tools/formed/formed/plugins/web/renderer.py: Generate a
1168            hidden field to store the name of the page.            hidden field to store the name of the page.
1169    
1170  2007-08-21 Sascha L. Teichmann <[email protected]>  2007-08-21      Sascha L. Teichmann <[email protected]>
1171    
1172          * tools/formed/formed/plugins/web/plugin.py: Fixed an encoding          * tools/formed/formed/plugins/web/plugin.py: Fixed an encoding
1173            issue with incoming UTF-8 data.            issue with incoming UTF-8 data.
1174    
1175  2007-08-21 Sascha L. Teichmann <[email protected]>  2007-08-21      Sascha L. Teichmann <[email protected]>
1176    
1177          * tools/formed/test-data/simple.xml: Improve test for widgets          * tools/formed/test-data/simple.xml: Improve test for widgets
1178            in switches.            in switches.
1179    
1180          * tools/formed/formed/model/data.py: Added a method to find all          * tools/formed/formed/model/data.py: Added a method to find all
1181            widgets in a given page. Fixed a bug when walking in switch            widgets in a given page. Fixed a bug when walking in switch
1182                  with a given mode.            with a given mode.
1183    
1184          * tools/formed/formed/plugins/web/plugin.py: Simple test for          * tools/formed/formed/plugins/web/plugin.py: Simple test for
1185            listing all widgets in page.            listing all widgets in page.
1186    
1187  2007-08-21 Torsten Irlaender <[email protected]>  2007-08-21      Torsten Irlaender <[email protected]>
1188    
1189          * tools/formed/formed/plugins/names/filter.py: Fixed file-encoding to          * tools/formed/formed/plugins/names/filter.py: Fixed file-encoding to
1190            latin-1            latin-1
1191    
1192  2007-08-21 Sascha L. Teichmann <[email protected]>  2007-08-21      Sascha L. Teichmann <[email protected]>
1193    
1194          * tools/formed/formed/model/data.py: Added mode parameter to          * tools/formed/formed/model/data.py: Added mode parameter to
1195            walk.            walk.
1196                              
1197          * tools/formed/formed/model/nodecomponents.py: SwitchNode overwrites          * tools/formed/formed/model/nodecomponents.py: SwitchNode overwrites
1198            walk() with usage of the new mode parameter. Added a method to            walk() with usage of the new mode parameter. Added a method to
1199                  give children in a given mode.            give children in a given mode.
1200    
1201          * tools/formed/formed/plugins/web/renderer.py: Simplified to use          * tools/formed/formed/plugins/web/renderer.py: Simplified to use
1202            new Switch.childrenInMode() method.            new Switch.childrenInMode() method.
1203    
1204  2007-08-21 Sascha L. Teichmann <[email protected]>  2007-08-21      Sascha L. Teichmann <[email protected]>
1205    
1206          * tools/formed/formed/plugins/web/semantic.py: Add checks for          * tools/formed/formed/plugins/web/semantic.py: Add checks for
1207            texts and text areas.            texts and text areas.
# Line 862  Line 1209 
1209          * tools/formed/formed/plugins/web/renderer.py: Set accept-charset          * tools/formed/formed/plugins/web/renderer.py: Set accept-charset
1210            to UTF-8 in generated form.            to UTF-8 in generated form.
1211    
1212  2007-08-20 Sascha L. Teichmann <[email protected]>  2007-08-20      Sascha L. Teichmann <[email protected]>
1213    
1214          * tools/formed/formed/plugins/web/semantic.py: Added semantic          * tools/formed/formed/plugins/web/semantic.py: Added semantic
1215            tests for dates.            tests for dates.
1216    
1217  2007-08-20 Sascha L. Teichmann <[email protected]>          2007-08-20      Sascha L. Teichmann <[email protected]>  
1218    
1219          * tools/formed/test-data/simple.xml: Tweak a bit for integer          * tools/formed/test-data/simple.xml: Tweak a bit for integer
1220            range test.            range test.
# Line 881  Line 1228 
1228          * tools/formed/formed/plugins/web/plugin.py: Use semantic          * tools/formed/formed/plugins/web/plugin.py: Use semantic
1229            check.            check.
1230    
1231  2007-08-20      Torsten Irlaender <[email protected]>  2007-08-20      Torsten Irlaender <[email protected]>
1232    
1233          * tools/formed/formed/plugins/web/renderer.py: Fixed Syntax in          * tools/formed/formed/plugins/web/renderer.py: Fixed Syntax in
1234            selection-field generation (Removed quote)            selection-field generation (Removed quote)
# Line 894  Line 1241 
1241            renderer. This submit parameters are stored in the            renderer. This submit parameters are stored in the
1242            session now. This will ease testing the constraint            session now. This will ease testing the constraint
1243            tests which need to be written soon.            tests which need to be written soon.
1244                              
1245            BEWARE: The session management is _not_ made for production!            BEWARE: The session management is _not_ made for production!
1246            Denial of service attacks are too easy, and the            Denial of service attacks are too easy, and the
1247            cryptographical strength of the session id is doubtful.            cryptographical strength of the session id is doubtful.
# Line 912  Line 1259 
1259            and can be hooked automatically into the new 'Filters'            and can be hooked automatically into the new 'Filters'
1260            sub menu under 'Extra'. They got called when the user            sub menu under 'Extra'. They got called when the user
1261            selects their respective menu item.            selects their respective menu item.
1262                              
1263          * tools/formed/formed/config.py: Contains the list of          * tools/formed/formed/config.py: Contains the list of
1264            installed filters.            installed filters.
1265    
# Line 973  Line 1320 
1320    
1321          * tools/formed/formed/main.py: Swaped order of          * tools/formed/formed/main.py: Swaped order of
1322            'Make names unique' and 'Selected mode...' in Extra            'Make names unique' and 'Selected mode...' in Extra
1323                  menu and put a separator between them.            menu and put a separator between them.
1324    
1325  2007-08-15      Sascha L. Teichmann <[email protected]>  2007-08-15      Sascha L. Teichmann <[email protected]>
1326    
# Line 982  Line 1329 
1329    
1330          * tools/formed/formed/plugins/plugin.py: Simplified          * tools/formed/formed/plugins/plugin.py: Simplified
1331            the plug-in interface. Only the reference to the            the plug-in interface. Only the reference to the
1332                  global configuration is passed at setup time.            global configuration is passed at setup time.
1333    
1334          * tools/formed/formed/plugins/web/plugin.py: Adjusted          * tools/formed/formed/plugins/web/plugin.py: Adjusted
1335            to new plug-in setup. The traveral mode is now taken            to new plug-in setup. The traveral mode is now taken
1336                  from the global configuration each time a rendering            from the global configuration each time a rendering
1337                  is triggered. The FORMED parameter is now named            is triggered. The FORMED parameter is now named
1338                  'doc.mode' instead of 'web.mode'. The parameter            'doc.mode' instead of 'web.mode'. The parameter
1339                  is not needed any more because it can be configured            is not needed any more because it can be configured
1340                  at runtime.            at runtime.
1341    
1342          * tools/formed/formed/main.py: Adjusted to new plugin          * tools/formed/formed/main.py: Adjusted to new plugin
1343            setup. Added a new menu item Extra->Select Mode...            setup. Added a new menu item Extra->Select Mode...
1344                  to select the traversal mode. It is stored in the            to select the traversal mode. It is stored in the
1345                  global config.            global config.
1346    
1347          * tools/formed/formed/config.py: Simplified. Only uses          * tools/formed/formed/config.py: Simplified. Only uses
1348            one env dictionary to store global configuration parameters.            one env dictionary to store global configuration parameters.
# Line 1007  Line 1354 
1354    
1355          * tools/formed/formed/plugins/web/plugin.py,          * tools/formed/formed/plugins/web/plugin.py,
1356            tools/formed/formed/plugins/web/renderer.py: Added parameter            tools/formed/formed/plugins/web/renderer.py: Added parameter
1357                  print out in web plugin.            print out in web plugin.
1358    
1359  2007-08-15      Torsten Irlaender <[email protected]>  2007-08-15      Torsten Irlaender <[email protected]>
1360    
# Line 1025  Line 1372 
1372    
1373          * tools/formed/formed/plugins/web/plugin.py,          * tools/formed/formed/plugins/web/plugin.py,
1374            tools/formed/formed/config.py: Added a 'web.mode' parameter            tools/formed/formed/config.py: Added a 'web.mode' parameter
1375                  to FORMED environment variable.            to FORMED environment variable.
1376                  e.g. 'FORMED=web.mode:modeX' sets the mode 'modeX'.            e.g. 'FORMED=web.mode:modeX' sets the mode 'modeX'.
1377                  Defaults to 'default'.            Defaults to 'default'.
1378    
1379          * tools/formed/test-data/simple.xml: Added test for switch.          * tools/formed/test-data/simple.xml: Added test for switch.
1380    
# Line 1041  Line 1388 
1388          * tools/formed/formed/io/document.py,          * tools/formed/formed/io/document.py,
1389            tools/formed/formed/model/data.py,            tools/formed/formed/model/data.py,
1390            tools/formed/formed/model/nodecomponents.py: Added an item            tools/formed/formed/model/nodecomponents.py: Added an item
1391                  to model external item lists.            to model external item lists.
1392    
1393          * tools/formed/formed/plugins/web/renderer.py: Render new item          * tools/formed/formed/plugins/web/renderer.py: Render new item
1394            list.            list.
# Line 1058  Line 1405 
1405    
1406          * contrib/extract-xfa-items.sh: New. Can be used to extract longer          * contrib/extract-xfa-items.sh: New. Can be used to extract longer
1407            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
1408                  './contrib/extract-xfa-items.sh Muttersprache alles.xml'            './contrib/extract-xfa-items.sh Muttersprache alles.xml'
1409    
1410  2007-08-12      Sascha L. Teichmann <[email protected]>  2007-08-12      Sascha L. Teichmann <[email protected]>
1411    
1412          * tools/formed/formed/model/data.py,          * tools/formed/formed/model/data.py,
1413            tools/formed/formed/plugins/web/renderer.py,            tools/formed/formed/plugins/web/renderer.py,
1414                  tools/formed/formed/io/document.py: Changed the structure            tools/formed/formed/io/document.py: Changed the structure
1415                  of choice constructs. The idea to hold the different items            of choice constructs. The idea to hold the different items
1416                  of a particular choice in a semicolon separated list was bad.            of a particular choice in a semicolon separated list was bad.
1417                  Now choices are groups and  the option items are modelled as            Now choices are groups and  the option items are modelled as
1418                  embedded bools. (mainly Torsten Irländer's idea).            embedded bools. (mainly Torsten Irländer's idea).
1419    
1420                  WARNING: this makes old document files containing choices incompatible!!!            WARNING: this makes old document files containing choices incompatible!!!
1421                  Use the following XSLT to reestablish compatibility.            Use the following XSLT to reestablish compatibility.
1422                              
1423          * contrib/itemize-choices.xsl: New converts old to new structure.          * contrib/itemize-choices.xsl: New converts old to new structure.
1424            Needs exslt.org's string extensions (which xsltproc includes)            Needs exslt.org's string extensions (which xsltproc includes)
1425    
# Line 1090  Line 1437 
1437    
1438          * tools/formed/formed/model/nodecomponents.py: Added code to clone parts          * tools/formed/formed/model/nodecomponents.py: Added code to clone parts
1439            of the tree.            of the tree.
1440                              
1441          * tools/formed/formed/ui/controls.py: Added a getSelected method.          * tools/formed/formed/ui/controls.py: Added a getSelected method.
1442    
1443          * tools/formed/formed/model/misc.py: Fixed a programming bug.          * tools/formed/formed/model/misc.py: Fixed a programming bug.
# Line 1113  Line 1460 
1460    
1461          * tools/formed/formed/model/nodecomponents.py: Added walk generator over all          * tools/formed/formed/model/nodecomponents.py: Added walk generator over all
1462            items in the document tree. Added a method to eliminated duplicated names            items in the document tree. Added a method to eliminated duplicated names
1463                  in document tree.            in document tree.
1464    
1465          * tools/formed/formed/model/misc.py: Added update mechanism for id generator          * tools/formed/formed/model/misc.py: Added update mechanism for id generator
1466            after names collisions are eliminated.            after names collisions are eliminated.
# Line 1125  Line 1472 
1472    
1473          * tools/formed/formed/model/data.py,          * tools/formed/formed/model/data.py,
1474            tools/formed/formed/plugins/web/renderer.py: Removed support            tools/formed/formed/plugins/web/renderer.py: Removed support
1475                  for 'text' attributes in bool items. They were never really            for 'text' attributes in bool items. They were never really
1476                  used and the 'description' attributes fulfill the same            used and the 'description' attributes fulfill the same
1477                  purpose.            purpose.
1478    
1479          * contrib/remove-bool-text.xsl: Transform to remove the          * contrib/remove-bool-text.xsl: Transform to remove the
1480            'text' attributes from bool items. Apply with:            'text' attributes from bool items. Apply with:
1481                  'xsltproc contrib/remove-bool-text.xsl old.xml > new.xml'            'xsltproc contrib/remove-bool-text.xsl old.xml > new.xml'
1482    
1483          * tools/formed/test-data/simple.xml: Removed 'text' attributes          * tools/formed/test-data/simple.xml: Removed 'text' attributes
1484            from bool items.            from bool items.
# Line 1150  Line 1497 
1497    
1498          * contrib/convert-choices.xsl: Added to convert document files          * contrib/convert-choices.xsl: Added to convert document files
1499            which use the choice 'option' attribute to usage of 'value'.            which use the choice 'option' attribute to usage of 'value'.
1500                  Apply with e.g. 'xsltproc convert-choices.xsl old.xml > new.xml'            Apply with e.g. 'xsltproc convert-choices.xsl old.xml > new.xml'
1501    
1502  2007-08-10      Sascha L. Teichmann <[email protected]>  2007-08-10      Sascha L. Teichmann <[email protected]>
1503    
# Line 1187  Line 1534 
1534    
1535          * tools/formed/formed/plugins/web/plugin.py: To determine          * tools/formed/formed/plugins/web/plugin.py: To determine
1536            the port look at FORMED dictionary first. Key is 'web.port'.            the port look at FORMED dictionary first. Key is 'web.port'.
1537                  e.g. FORMED='web.port:8888'            e.g. FORMED='web.port:8888'
1538    
1539          * tools/formed/formed/main.py: Call the plugin setup with          * tools/formed/formed/main.py: Call the plugin setup with
1540            the reference to the config.            the reference to the config.
# Line 1267  Line 1614 
1614    
1615          * tools/formed/formed/model/data.py,          * tools/formed/formed/model/data.py,
1616            tools/formed/formed/model/nodecomponents.py: Added new            tools/formed/formed/model/nodecomponents.py: Added new
1617                  attributes.            attributes.
1618    
1619          * tools/formed/formed/plugins/web/plugin.py: Added rendering          * tools/formed/formed/plugins/web/plugin.py: Added rendering
1620            for checkboxes and radio buttons.            for checkboxes and radio buttons.
# Line 1296  Line 1643 
1643    
1644          * tools/formed/formed/plugins/web/plugin.py: Added a first          * tools/formed/formed/plugins/web/plugin.py: Added a first
1645            version of a recursive HTML renderer based on the document            version of a recursive HTML renderer based on the document
1646                  tree.            tree.
1647    
1648  2007-08-08      Sascha L. Teichmann <[email protected]>  2007-08-08      Sascha L. Teichmann <[email protected]>
1649    
# Line 1325  Line 1672 
1672    
1673          * tools/formed/formed/main.py: Added event route document ->          * tools/formed/formed/main.py: Added event route document ->
1674            attribute table to get informed when selected item is delete            attribute table to get informed when selected item is delete
1675                  or an attribute is changed from the outside.            or an attribute is changed from the outside.
1676    
1677          * tools/formed/formed/ui/controls.py: Fixed. In older versions of          * tools/formed/formed/ui/controls.py: Fixed. In older versions of
1678            wxPython 2.6.x ListCtrl.InsertStringItem takes 2 instead            wxPython 2.6.x ListCtrl.InsertStringItem takes 2 instead
1679                  of 3 argument. Uses icons+tooltips for tree navigation now.            of 3 argument. Uses icons+tooltips for tree navigation now.
1680    
1681  2007-08-07      Sascha L. Teichmann <[email protected]>  2007-08-07      Sascha L. Teichmann <[email protected]>
1682    
# Line 1377  Line 1724 
1724    
1725          * tools/formed/formed/ui/controls.py: Establish sort order          * tools/formed/formed/ui/controls.py: Establish sort order
1726            by indices of children in parent instead of alphanum.            by indices of children in parent instead of alphanum.
1727                  Code to move items up and down the document tree.            Code to move items up and down the document tree.
1728    
1729          * tools/formed/formed/io/document.py: Added missing imports.          * tools/formed/formed/io/document.py: Added missing imports.
1730    
# Line 1390  Line 1737 
1737    
1738          * tools/formed/formed/main.py,          * tools/formed/formed/main.py,
1739            tools/formed/formed/ui/controls.py: Added control to            tools/formed/formed/ui/controls.py: Added control to
1740                  move items around in tree. Has no effect by now.            move items around in tree. Has no effect by now.
1741    
1742  2007-08-05      Sascha L. Teichmann <[email protected]>  2007-08-05      Sascha L. Teichmann <[email protected]>
1743    
# Line 1406  Line 1753 
1753    
1754          * tools/formed/*: initial check-in of the Formular Editor.          * tools/formed/*: initial check-in of the Formular Editor.
1755            Not working yet. Only can load, view and store formular XML files.            Not working yet. Only can load, view and store formular XML files.
1756                  Start it with 'tools/formed/formed.sh'.            Start it with 'tools/formed/formed.sh'.

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

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26