/[formed]/trunk/ChangeLog
ViewVC logotype

Diff of /trunk/ChangeLog

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

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

Legend:
Removed from v.178  
changed lines
  Added in v.225

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26