/[formed]/trunk/ChangeLog
ViewVC logotype

Diff of /trunk/ChangeLog

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

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

Legend:
Removed from v.175  
changed lines
  Added in v.239

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26