/[formed]/trunk/ChangeLog
ViewVC logotype

Diff of /trunk/ChangeLog

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

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

Legend:
Removed from v.170  
changed lines
  Added in v.236

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26