/[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 286 by teichmann, Fri Aug 15 13:47:28 2008 UTC
# Line 1  Line 1 
1  2007-09-11 Torsten Irlaender <[email protected]>  2008-08-15      Sascha L. Teichmann <[email protected]>
2    
3            * tools/formed: moved one level up because its the only
4              part of this project now.
5    
6    2008-08-15      Sascha L. Teichmann <[email protected]>
7    
8            * tools/anonym/*: Removed as it belongs to mpuls WASKA
9    
10    2008-08-15      Sascha L. Teichmann <[email protected]>
11    
12            * pdf2xfa/*: removed. It belongs to mpuls
13    
14    2008-08-13 L. Teichmann <[email protected]>
15    
16            i18n of the plug-ins:
17            * tools/formed/formed/plugins/export/diff.py,
18              tools/formed/formed/plugins/export/data.py,
19              tools/formed/formed/plugins/export/old_sql.py,
20              tools/formed/formed/plugins/export/latex.py,
21              tools/formed/formed/plugins/export/xsd.py,
22              tools/formed/formed/plugins/export/sql.py,
23              tools/formed/formed/plugins/export/typemap.py,
24              tools/formed/formed/plugins/export/html.py,
25              tools/formed/formed/plugins/export/mode.py,
26              tools/formed/formed/plugins/export/html2.py,
27              tools/formed/formed/plugins/export/xls.py,
28              tools/formed/formed/plugins/names/filter.py,
29              tools/formed/formed/plugins/plugin.py,
30              tools/formed/formed/plugins/web/help.py,
31              tools/formed/formed/plugins/web/form_renderer.py,
32              tools/formed/formed/plugins/web/plugin.py,
33              tools/formed/formed/plugins/web/error_renderer.py,
34              tools/formed/formed/plugins/web/view_renderer.py,
35              tools/formed/formed/plugins/web/semantic.py,
36              tools/formed/formed/plugins/web/cache.py,
37              tools/formed/formed/plugins/web/server.py,
38              tools/formed/formed/plugins/web/controllers.py,
39              tools/formed/formed/plugins/web/renderer.py,
40              tools/formed/formed/plugins/ui/controls.py,
41              tools/formed/formed/config.py: _("")s the stuff
42              tools/formed/po/formed.pot, tools/formed/po/de_DE.po:
43              extracted and translated.
44    
45    2008-08-08      Sascha L. Teichmann <[email protected]>
46    
47            First version of FormEd i18n. After checkout go to tools/formed/po/ and
48            say 'make mo'. Afterwards you can start FormEd as usual.
49    
50            * tools/formed/resources: New. Place to places ressources like *.mo files
51            * tools/formed/formed/main.py, tools/formed/formed/ui/controls.py: Add _("")s
52              
53            * tools/formed/po,
54              tools/formed/po/Makefile,
55              tools/formed/po/formed.pot,
56              tools/formed/po/de_DE.po: i18n stuff.
57    
58    2008-08-08      Sascha L. Teichmann <[email protected]>
59    
60            * tools/anonym/xmlexport.py: Only export cases which are not
61              'schwebend geloescht'.
62    
63    2008-07-23      Sascha L. Teichmann <[email protected]>
64    
65            Fixed issue472
66    
67            * tools/anonym/xmlimport.py: Regenerate dicts from current form ed tree.
68    
69    2008-07-17      Sascha L. Teichmann <[email protected]>
70    
71            * tools/anonym/xmlimport.py: removed marking of invalid cases
72            * tools/anonym/cron.importAnonXml.sh: re-inserted here.
73    
74    2008-07.07      Torsten Irländer <[email protected]>
75    
76            * tools/formed/formed/plugins/export/latex.py
77              tools/formed/formed/config.py: Added new LaTex Export. Beware this
78              is even more ugly the HTML Export.
79            * tools/formed/formed/plugins/export/html.py: Added information on
80              anonymisation to the html export.
81    
82    2008-07-07      Sascha L. Teichmann <[email protected]>
83    
84            * tools/anonym/xmlimport.py: Mark cases if they are inconsistent.
85    
86    2008-07-07      Sascha L. Teichmann <[email protected]>
87    
88            * tools/anonym/xmlimport.py: Updated to schema 1.5. (Which is incompatible to 1.4)
89    
90    2008-07-07      Sascha L. Teichmann <[email protected]>  
91            
92            * tools/formed/formed/plugins/export/html.py: Added additional column
93            to the html export with information how each field will get
94            anonymized.
95    
96    2008-07-07      Sascha L. Teichmann <[email protected]>  
97    
98            * tools/anonym/xmlimport.py: sync with productive version.
99    
100    2008-06-10      Torsten Irländer <[email protected]>
101    
102            * tools/formed/formed/plugins/export/sql.py: grant admin permission to
103              call anonymize function
104    
105    2008-05-21      Sascha L. Teichmann <[email protected]>  
106    
107            * tools/formed/formed/plugins/export/xsd.py: Brought encoding
108              back to UTF-8.
109    
110    2008-05-21      Frank Koormann <[email protected]>
111    
112            * tools/formed/formed/plugins/export/xls.py: New, export key value
113            tables as excel workbook with one sheet per table.
114    
115            * tools/formed/formed/config.py: ExportKeyValueTableAsXLS added.
116    
117    2008-05-21      Frank Koormann <[email protected]>
118    
119            * tools/formed/formed/plugins/export/xsd.py
120            (SchemaCreator._createChoice): Fix use of choices name.
121    
122    2008-04-29      Sascha L. Teichmann <[email protected]>
123    
124            * tools/formed/formed/plugins/export/xsd.py: Use substitution group
125              to allow arbitrary order of repeat groups.
126    
127    2008-04-29      Sascha L. Teichmann <[email protected]>
128    
129            * tools/formed/formed/plugins/export/xsd.py: Removed a needless
130              character.
131    
132    2008-04-29      Sascha L. Teichmann <[email protected]>
133    
134            * tools/formed/formed/plugins/export/xsd.py: Added annotations
135              to fields.
136    
137    2008-04-29      Sascha L. Teichmann <[email protected]>
138    
139            * tools/formed/formed/plugins/export/xsd.py: Added for
140              choice fields.
141    
142    2008-04-29      Sascha L. Teichmann <[email protected]>
143    
144            * tools/formed/formed/plugins/export/xsd.py: Added support for
145              boolean fields based on enumerations.
146    
147    2008-04-28      Sascha L. Teichmann <[email protected]>
148    
149            * tools/formed/formed/plugins/export/xsd.py: Added support for
150              date, text and textarea fields.
151    
152    2008-04-28      Sascha L. Teichmann <[email protected]>
153    
154            * tools/formed/formed/plugins/export/xsd.py: Added support for
155              repeat groups and integer fields.
156    
157    2008-04-28      Sascha L. Teichmann <[email protected]>
158    
159            * tools/formed/formed/plugins/export/xsd.py: New. plug-in for
160              exporting as XML schema. not ready, yet.
161    
162            * tools/formed/formed/config.py: Use new plug-in.
163    
164            * tools/formed/formed/plugins/export/sql.py: Fixed wrong GUI text.
165    
166    2008-04-17      Torsten Irländer <[email protected]>
167    
168            * tools/formed/formed/plugins/export/sql.py: Changed WHERE clause in
169            for the views because of the new group permissions.
170    
171    2008-04-09      Sascha L. Teichmann <[email protected]>
172    
173            * tools/anonym/cron.deleteOldAnonymized.sh: New. cron job to delete
174              old anonymized cases.
175    
176    2008-04-01      Sascha L. Teichmann <[email protected]>
177    
178            * tools/anonym/xmlexport.py: Removed "WHERE einverstaendniserklaerung = 1"
179              from clause to select datasets.
180              Replace ']]>' in CDATA sections with correct splitted replacement.
181    
182    2008-03-12      Sascha L. Teichmann <[email protected]>
183            
184            * tools/anonym/cron.importAnonXml.sh: Added absolut path to  xmlimport
185              script.
186    
187            * tools/anonym/xmlimport.py: commented out database port from
188              connectionstring.
189    
190    2008-03-12      Sascha L. Teichmann <[email protected]>
191    
192            * tools/formed/formed/plugins/export/sql.py: Fixed bug in generation
193              of anonymization of repeat groups (wrong id was given).
194    
195    2008-03-11      Sascha L. Teichmann <[email protected]>
196    
197            * tools/formed/formed/plugins/export/sql.py: Generate no update
198              statements for relations which have no anonym functions applied.
199    
200    2008-03-11      Sascha L. Teichmann <[email protected]>
201    
202            * tools/formed/formed/plugins/export/sql.py: Added a newline after
203              'COMMIT;' in the last line.
204    
205    2008-03-11      Sascha L. Teichmann <[email protected]>
206    
207            * tools/formed/formed/plugins/export/sql.py: Fixed syntax of
208              generated anonymize_case() function.
209              
210    2008-03-11      Sascha L. Teichmann <[email protected]>
211    
212            * tools/formed/formed/plugins/export/sql.py: Added code to
213              generate a plpgsql function anonymize_case() that anonymized
214              a given case and all of its depending repeat groups.
215    
216    2008-03-06      Sascha L. Teichmann <[email protected]>
217    
218            * tools/anonym/xmlimport.py: remove print of insert statement.
219    
220            * tools/formed/formed/plugins/export/sql.py: Print generation date in ISO.
221    
222    2008-03-03      Torsten Irländer <[email protected]>
223    
224            * anonym/cron.sendAnonXml.sh,
225              anonym/getDbList.sh: Modified script to be used directly in the
226              production environment (Copied running scripts from production
227              server)
228    
229            * cron.importAnonXml.sh: Added deleting of ols cases. Modified script
230              to be used in a production environment (Cpoied running script from
231              production server)
232    
233            * tools/anonym/xmlexport.py: Added "WHERE" clause to SQL-Statement to
234              ensure that only valid cases get exported
235    
236    2008-02-27      Sascha L. Teichmann <[email protected]>
237    
238            * tools/anonym/xmlimport.py: Fixed bug in date converter.
239    
240    2008-02-27      Sascha L. Teichmann <[email protected]>
241    
242            * tools/anonym/xmlimport.py: Simpilied version
243    
244    2008-02-27      Sascha L. Teichmann <[email protected]>
245    
246            * tools/anonym/cron.importAnonXml.sh: Add sudo call for
247              xmlimport.py and parameters.
248    
249            * tools/anonym/xmlimport.py: Various bug fixes. Not working yet. :-/
250    
251            * tools/anonym/xmlexport.py: Use python interpreter without env
252              because of sudo context.
253    
254    2008-02-26      Sascha L. Teichmann <[email protected]>
255    
256            * tools/anonym/xmlimport.py: added support for getopt. add
257              support to force in fkz in import of case.
258    
259    2008-02-26      Sascha L. Teichmann <[email protected]>
260    
261            * tools/anonym/xmlimport.py: Implemented logic to create/update cases.
262    
263            * tools/anonym/html.awk: produces valid HTML.
264    
265    2008-02-25      Sascha L. Teichmann <[email protected]>
266    
267            * tools/anonym/joincsv.py: Fix a logic bug.
268    
269    2008-02-25      Torsten Irlaender <[email protected]>
270    
271            * tools/anonym/cron.importAnonXml.sh: Added shellscript for importing
272              exportted cases. It will read all files from a directory and import
273              the files into the DB. After that the script will cleanup the
274              directory.
275    
276    2008-02-25      Torsten Irländer <[email protected]>
277            
278            * tools/anonym/cron.sendAnonXml.sh,
279              tools/anonym/xmlexport.py,
280              tools/anonym/getDbList.sh: Added shell-scripts for exporting cases
281    
282    2008-02-25      Sascha L. Teichmann <[email protected]>
283    
284            * tools/anonym/joincsv.py: Fixed typo which generated wrong number of cols.
285    
286    2008-02-25      Sascha L. Teichmann <[email protected]>
287    
288            * tools/anonym/joincsv.py: New. Joins CSV files.
289    
290            * tools/anonym/html.awk: New. Converts CSV to HTML
291    
292    2008-02-25      Sascha L. Teichmann <[email protected]>
293    
294            * tools/anonym/xmlimport.py: New. Added generation of
295              update statements.
296    
297    2008-02-25      Sascha L. Teichmann <[email protected]>
298    
299            * tools/anonym/xmlimport.py: New. Base for importing
300              XML from cron.
301    
302    2008-02-24      Sascha L. Teichmann <[email protected]>
303    
304            * tools/formed/formed/plugins/export/html2.py: New. plug-in
305              for a simplified HTML output
306    
307            * tools/formed/formed/plugins/export/typemap.py: New. plug-in
308              for dump schema as python dictionary.
309    
310            * tools/formed/formed/config.py: Enable new plug-ins. Out comment
311              old stored procedure and view generators.
312    
313    2008-02-19      Sascha L. Teichmann <[email protected]>
314    
315            * tools/anonym/xmlexport.py: New. Export all cases in database
316              as XML.
317    
318    2008-02-18      Sascha L. Teichmann <[email protected]>
319    
320            * tools/anonym/anoymncsv.py: separate field with '\t' now.
321              all '\t's are replaced by '   ' before. '\r\n' are removed too.
322    
323    2008-02-15      Sascha L. Teichmann <[email protected]>
324    
325            * tools/anonym/anoymncsv.py: simple script to fetch anonymous
326              data from database.
327    
328    2008-02-14      Sascha L. Teichmann <[email protected]>
329    
330            * tools/formed/formed/plugins/export/sql.py: Exchanged name
331              erase_value with suppress_value/suppress_value2.
332    
333    2008-02-13      Sascha L. Teichmann <[email protected]>
334    
335            * tools/formed/formed/plugins/export/sql.py: output id, master_id
336              substitute 'erase_value' with NULL value.
337    
338    2008-02-13      Sascha L. Teichmann <[email protected]>
339    
340            * tools/formed/formed/plugins/export/sql.py: output id, master_id
341              and uuid_id in anonymiziation views too.
342    
343    2008-02-13      Sascha L. Teichmann <[email protected]>
344    
345            * tools/formed/formed/plugins/export/sql.py: Added generation
346              of anonymiziation views for master table views and repeat group
347              views.
348    
349    2008-02-13      Sascha L. Teichmann <[email protected]>
350    
351            * tools/formed/formed/model/nodecomponents.py: Added attribute
352              "function"
353    
354            * tools/formed/formed/io/document.py: Save attributes in
355              alphabetical order.
356    
357    2008-02-02      Sascha L. Teichmann <[email protected]>
358    
359            * tools/formed/formed/plugins/export/sql.py: Added update rule
360              for master table and repeat groups views. Granted update right
361              to :cm_ka_group.
362    
363    2008-02-01      Sascha L. Teichmann <[email protected]>
364    
365            * tools/formed/formed/plugins/export/sql.py: Added a column 'uuid_id'
366              for master table and repeat groups. Also added unique constraints
367              to these columns.
368    
369    2007-12-10      Sascha L. Teichmann <[email protected]>
370    
371            * pdf2xfa/src/de/intevation/pdfimport/ClientHandler.java: Added a system
372              property 'root.element' to specify the name of the XML root.
373    
374            * pdf2xfa/startup/pdf2xfa.sh, pdf2xfa/README.TXT: Adjusted.
375    
376    2007-11-22      Sascha L. Teichmann <[email protected]>
377    
378            * pdf2xfa/startup, */pdf2xfa.sh, */pdf2xfa.init: boot scripts
379              for GNU/Linux (tested Debian 'Etch' 4.0) by Sascha Wilde.
380    
381            * pdf2xfa/README.TXT: Add a remark to new boot scripts.
382    
383    2007-11-21      Sascha L. Teichmann <[email protected]>
384    
385            * pdf2xfa/src/de/intevation/pdfimport/Log.java: New.
386              Sends logging to file.
387    
388            * pdf2xfa/src/de/intevation/pdfimport/Server.java,
389              pdf2xfa/src/de/intevation/pdfimport/ClientHandler.java: Adjusted
390              to use new logging.
391    
392            * pdf2xfa/README.TXT: Added remark how to use logging.
393    
394    2007-11-16      Frank Koormann <[email protected]>
395    
396            * tools/formed/formed/plugins/export/sql.py (createSchema):
397            Append only column "bearbeiter_id", standins are modelled by a
398            separate table.
399    
400    2007-11-16      Sascha L. Teichmann <[email protected]>
401    
402            * tools/formed/formed/model/data.py,
403              tools/formed/formed/plugins/web/view_renderer.py:
404              Added an invisible flag for info fields.
405    
406    2007-11-07      Sascha L. Teichmann <[email protected]>
407    
408            * tools/formed/formed/model/nodecomponents.py: Fixed a few small bugs
409              (calling a wrong method).
410    
411    2007-11-07      Sascha L. Teichmann <[email protected]>
412    
413            * tools/formed/formed/model/nodecomponents.py: Added a field
414              'alternative' to all node components. This might be of help to
415              match PDF imports where the descriptions do not match.
416    
417    2007-10-23      Frank Koormann <[email protected]>
418    
419            * tools/formed/formed/plugins/export/sql.py: New WHERE-Clause for views
420    
421    2007-10-23      Frank Koormann <[email protected]>
422    
423            * tools/formed/formed/plugins/export/sql.py: Set default
424            value (-1) for choices and bools.
425    
426    2007-10-21      Frank Koormann <[email protected]>
427    
428            * tools/formed/formed/plugins/export/sql.py: Grant statements for
429            descriptive tables added.
430            (Table.getName): new
431    
432    2007-10-21      Frank Koormann <[email protected]>
433    
434            * tools/formed/formed/plugins/export/sql.py: "CREATE OR REPLACE"
435            statements for views and roles to make updates easier.
436            Add "admin_ka" membership as third option to VIEW_WHERE_CLAUSE.
437    
438    2007-10-19      Frank Koormann <[email protected]>
439    
440            * tools/formed/formed/plugins/export/sql.py: Added GRANT statements
441            for views. The statements are prepared for variable substitution
442            when executing the SQL-scripts by psql.
443    
444    2007-10-18      Sascha L. Teichmann <[email protected]>
445    
446            * pdf2xfa/src/de/intevation/pdfimport/ClientHandler.java: Fixed:
447              End of result XML was truncated because of an unflushed buffer.
448    
449    2007-10-17      Sascha L. Teichmann <[email protected]>
450    
451            * pdf2xfa/bin/build-jar.sh: New. Build production jar file.
452    
453            * pdf2xfa/README.TXT: Adjusted how to build production jar file
454              and how to use it.
455    
456            * pdf2xfa/etc, pdf2xfa/etc/manifest.txt: New. Defines main class
457              and iText dependency.
458    
459    2007-10-16      Sascha L. Teichmann <[email protected]>
460    
461            * tools/formed/formed/plugins/export/sql.py: Model 'Ja, Nein, Keine Angabe'
462              are not modeled as BOOLEANs any more. That simpifies the conversion
463              process web vs. db.
464    
465    2007-10-07      Sascha L. Teichmann <[email protected]>
466    
467            * tools/formed/formed/plugins/export/sql.py: Added the remaining
468              UPDATE rules.
469    
470    2007-10-07      Sascha L. Teichmann <[email protected]>
471    
472            * tools/formed/formed/plugins/export/sql.py: Added UPDATE rules for some
473              views. TODO: Test'em and implement the rest.
474    
475    2007-10-07      Sascha L. Teichmann <[email protected]>
476    
477            * tools/formed/formed/plugins/export/sql.py: Bug fix. DELETE and INSERT
478              rules referenced none existing views.
479    
480    2007-10-07      Sascha L. Teichmann <[email protected]>
481    
482            * tools/formed/formed/plugins/export/sql.py: Added DELETE and INSERT
483              rules for views. TODO: add UPDATE rules.
484    
485    2007-10-07      Sascha L. Teichmann <[email protected]>
486    
487            * tools/formed/formed/plugins/export/old_sql.py: New. Contains
488              the legacy SQL export filters.
489    
490            * tools/formed/formed/plugins/export/sql.py: Factored out the
491              legacy SQL export filters to old_sql.
492    
493            * tools/formed/formed/config.py: Adjusted to fetch legacy
494              filters from old_sql.
495    
496    2007-10-06      Sascha L. Teichmann <[email protected]>
497    
498            * pdf2xfa/**: Initial import of the PDF to XFA server.
499    
500    2007-10-06      Sascha L. Teichmann <[email protected]>
501    
502            * tools/formed/formed/plugins/export/sql.py: Fixed bug
503              that made choices of three elements to booleans if
504              they have other meanings than 'Ja', 'Nein', 'keine Angabe'.
505    
506    2007-10-05      Sascha L. Teichmann <[email protected]>
507    
508            * tools/formed/formed/plugins/export/sql.py: Select ids of
509              underlaying tables in views too.
510    
511    2007-10-04      Sascha L. Teichmann <[email protected]>
512    
513            * tools/formed/formed/plugins/export/sql.py: Create schema inside transaction.
514              Various bug fixes.
515    
516    2007-10-04      Sascha L. Teichmann <[email protected]>
517    
518            * tools/formed/formed/model/data.py: Added GroupNode.allWidgets()
519              to extract fields from embedded repeat groups.
520    
521            * tools/formed/formed/plugins/export/sql.py: The SQL exporter exports
522              views per page too. Result not tested yet.
523    
524    2007-10-01      Sascha L. Teichmann <[email protected]>
525    
526            * tools/formed/formed/plugins/web/view_renderer.py: Ignore
527              in-page repeat groups while rendering pages.
528    
529    2007-10-01      Sascha L. Teichmann <[email protected]>
530    
531            * tools/formed/formed/model/nodecomponents.py: Added visitor
532              traversals for document trees.
533    
534            * tools/formed/formed/model/data.py: Rewrote the
535              Page.allWidgets() method to use new visitor for
536              tree traversal.
537    
538    2007-09-27      Torsten Irlaender <[email protected]>
539    
540            * tools/formed/formed/plugins/names/filter.py: Pages are now included
541              in the rename by formular name  algorithm
542    
543    2007-09-26      Sascha L. Teichmann <[email protected]>
544    
545            * tools/formed/formed/model/data.py: Removed old {next|prev}Page()
546              TODO: rewrite Page.allWidgets().
547    
548            * tools/formed/formed/model/nodecomponents.py: Added a method
549              Node.firstLevel(criterion) to walk a defined line in the tree.
550    
551            * tools/formed/formed/plugins/export/sql.py: Extract data suitable to
552              build views and respective joins.
553    
554    2007-09-26      Sascha L. Teichmann <[email protected]>
555    
556            * tools/formed/formed/plugins/web/plugin.py: add 'web.tidy:' flag to
557              FORMED environment variable. If set to true tidylib is used to
558              filter HTML content to be W3C valid. To use this feature install
559              uTidylib.
560    
561            * tools/formed/formed/plugins/web/server.py: Check if MIME type is
562              text/html and filters content through tidy if requested.
563    
564    2007-09-25      Torsten Irlaender <[email protected]>
565    
566            * tools/formed/formed/plugins/web/view_renderer.py: Small fix and
567              cleanup of the form generation code.
568    
569    2007-09-21      Sascha L. Teichmann <[email protected]>
570    
571            * tools/formed/formed/plugins/export/sql.py: Added generation time
572              and DROP TABLE statements to schema export.
573    
574    2007-09-20      Sascha L. Teichmann <[email protected]>
575    
576            * tools/formed/formed/plugins/export/sql.py: The tables are generated
577              in correct topolocial order now.
578    
579    2007-09-20      Sascha L. Teichmann <[email protected]>
580    
581            * tools/formed/formed/plugins/export/mode.py: New. Filter to export
582              a document with items that are in given mode.
583    
584            * tools/formed/formed/model/nodecomponents.py: Added methods to clone
585              trees depending on selected modes.
586    
587            * tools/formed/formed/model/data.py, tools/formed/formed/model/expr.py:
588              Fixed clone issue with RuleNodes.
589    
590            * tools/formed/formed/config.py: Use new plug-in.
591    
592    2007-09-17      Sascha L. Teichmann <[email protected]>
593    
594            * tools/formed/formed/plugins/web/view_renderer.py: Make the
595              view renderer a real view renderer. It takes a list of
596              items now and not only a single page.
597    
598            * tools/formed/formed/plugins/web/renderer.py: Feed a list
599              of items to the view renderer.
600    
601    2007-09-17      Torsten Irlaender <[email protected]>
602    
603            * tools/formed/formed/plugins/web/view_renderer.py:
604              Small tweaks in rendering bools.
605              RadioNodes (with all its children) can now be placed in a container.
606              The radiobools will not get a surrounding <div> anymore.
607              I am not sure if the new way results in the wanted behaivor, but the
608              rendering results are much better now :)
609              Maybe we need a similar approach for checkboxes?
610              Rendering groups is still broken in some way.
611    
612    2007-09-17      Sascha L. Teichmann <[email protected]>
613    
614            * tools/formed/formed/plugins/web/view_renderer.py: Fixed
615              a few bugs: Do not render empty containers, do not
616              generate misplaced <br class="newline"> in choices.
617              Add a nameless container to catch the items that are
618              nor explicitly assigned to a target. Removed FormData.
619    
620            * tools/formed/formed/plugins/web/renderer.py: Removed
621              a needless import
622    
623    2007-09-17      Sascha L. Teichmann <[email protected]>
624    
625            * tools/formed/formed/plugins/web/view_renderer.py: Implemented
626              usage of 'containers' and 'target' attributes.
627    
628            * tools/formed/formed/plugins/web/controllers.py: Modified import.
629    
630            * tools/formed/formed/plugins/web/renderer.py: Use
631              new ViewRenderer.
632    
633    2007-09-17      Sascha L. Teichmann <[email protected]>
634    
635            * tools/formed/formed/model/nodecomponents.py: Added attributes
636              'target' to NodeComponent and 'containers' to Node.
637    
638            * tools/formed/formed/plugins/web/view_renderer.py: New. Aimed
639              to be a replacement for form_renderer. Not ready yet!
640    
641            * ChangeLog: Fixed some indention glitches.
642    
643    2007-09-13      Torsten Irlaender <[email protected]>
644    
645            * tools/formed/formed/plugins/names/filter.py: Fixed bug in the
646              renaming algorithm.
647    
648    2007-09-12      Torsten Irlaender <[email protected]>
649    
650            * tools/formed/formed/plugins/web/form_renderer.py: Renamed header
651              from formular navigation to "Fallakte Inhalt"
652    
653    2007-09-12      Torsten Irlaender <[email protected]>
654    
655            * tools/formed/formed/plugins/ui/controls.py: Fixed bug that bad
656              values (dates)  were not pretty printed.
657    
658            * tools/formed/formed/plugins/web/form_renderer.py: Added errormsg to
659              label rendering for choicelists.
660    
661    2007-09-12      Torsten Irlaender <[email protected]>
662    
663            * tools/formed/formed/plugins/ui/controls.py: Fixed bug that
664              choicelist did not get selected when the value is set to "0"
665    
666    2007-09-12      Torsten Irlaender <[email protected]>
667    
668            * tools/formed/formed/plugins/web/form_renderer.py: Added
669              "getPrintableData" method, for the formdata Class which will return
670              the description rather than the value of element in the ID. This is
671              need for displaying the choises in a right way.
672            
673            * tools/formed/formed/plugins/web/renderer.py: Changed string
674              "Fallnummer" into "Kundennummer" in the templates. Added
675              Kundennummer to the dataset digest output. Bound in the new
676              "getPrintableData" call for the digest.
677    
678    2007-10-11      Sascha L. Teichmann <[email protected]>
679    
680            * tools/formed/formed/plugins/export/data.py: The import/export
681              of data is now implemented with filters (the most consequent
682              way in terms of design of FormEd). The support of the 'persistent'
683              FORMED env-variable support has been removed.
684    
685            * tools/formed/formed/plugins/ui/controls.py: Added a flag to the
686              filter file dialog to double as import dialog.
687    
688            * tools/formed/formed/main.py: Removed the the FORMED-var support
689              for persistence.
690            
691            * tools/formed/formed/config.py: Add the two new filters to the filters
692              list.
693    
694    2007-10-11      Sascha L. Teichmann <[email protected]>
695    
696            * tools/formed/formed/model/memory.py: Uses XML as persistence format now.
697              Removed pickle/unpickle stuff.
698    
699            * tools/formed/formed/main.py: Uses the new XML persistence.
700    
701            * tools/formed/formed/plugins/web/semantic.py: Fixed: choices were
702              not converted to int indices.
703    
704    2007-09-11      Sascha L. Teichmann <[email protected]>
705    
706            * tools/formed/formed/model/memory.py: Making MemoryDataStore persistent
707              with pickle/unpickle.
708    
709            * tools/formed/formed/main.py: Added a env FORMED parameter 'persistent'.
710              Set to a file name it is tried to unpickle a MemoryDataStore from
711              that file. When exiting the program this file is used to store the
712              current MemoryDataStore state. The storing only works if you exit
713              the program through the Menu File->Exit.
714              usage: FORMED=persistent:test.db ./formed.sh
715    
716    2007-09-11      Torsten Irlaender <[email protected]>
717    
718            * tools/formed/formed/plugins/web/renderer.py: Changed Name of the
719              application on the welcome page from "Formed" to "WASKA"
720    
721    2007-09-11      Torsten Irlaender <[email protected]>
722    
723            * tools/formed/formed/plugins/web/plugin.py,
724            * tools/formed/formed/plugins/web/controllers.py,
725            * tools/formed/formed/plugins/web/renderer.py: Added InfoPageHandler.
726              The infopage provides information on all project participants.
727    
728    2007-09-11      Sascha L. Teichmann <[email protected]>
729    
730            * tools/formed/formed/plugins/web/controllers.py: Fix unicode conversion
731              issues with error messages (once again).
732    
733    2007-09-11      Torsten Irlaender <[email protected]>
734    
735          * tools/formed/formed/plugins/web/form_renderer.py,          * tools/formed/formed/plugins/web/form_renderer.py,
736          * tools/formed/formed/plugins/web/renderer.py: Added alt tag for          * tools/formed/formed/plugins/web/renderer.py: Added alt tag for
737            icons in error and confirmation dialogs.            icons in error and confirmation dialogs.
738    
739  2007-09-11 Sascha L. Teichmann <[email protected]>  2007-09-11      Sascha L. Teichmann <[email protected]>
740    
741          * tools/formed/formed/plugins/web/form_renderer.py: Fixed label          * tools/formed/formed/plugins/web/form_renderer.py: Fixed label
742            generation for ints, texts and textareas. Fixed h depths of infos.            generation for ints, texts and textareas. Fixed h depths of infos.
743    
744  2007-09-11 Sascha L. Teichmann <[email protected]>  2007-09-11      Sascha L. Teichmann <[email protected]>
745    
746          * tools/formed/formed/plugins/web/form_renderer.py: Removed          * tools/formed/formed/plugins/web/form_renderer.py: Removed
747            debug output for help.            debug output for help.
# Line 19  Line 752 
752          * tools/formed/formed/plugins/web/controllers.py:  Added correct          * tools/formed/formed/plugins/web/controllers.py:  Added correct
753            HTML output of data for bools.            HTML output of data for bools.
754    
755  2007-09-11 Torsten Irlaender <[email protected]>  2007-09-11      Torsten Irlaender <[email protected]>
756    
757          * tools/formed/formed/plugins/web/form_renderer.py: Changed size of          * tools/formed/formed/plugins/web/form_renderer.py: Changed size of
758            textfields for int values. Changed Label for submitbuttons to            textfields for int values. Changed Label for submitbuttons to
# Line 36  Line 769 
769            dynamically depending on num errors. Formular navigation has now            dynamically depending on num errors. Formular navigation has now
770            colored indication for errors.            colored indication for errors.
771    
772  2007-09-11 Torsten Irlaender <[email protected]>  2007-09-11      Torsten Irlaender <[email protected]>
773    
774          * tools/formed/formed/plugins/web/renderer.py: Implemented "LookAhead"          * tools/formed/formed/plugins/web/renderer.py: Implemented "LookAhead"
775            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 777 
777            structural group elements are linked with the next page found in the            structural group elements are linked with the next page found in the
778            formular structure.            formular structure.
779    
780  2007-09-10 Torsten Irlaender <[email protected]>  2007-09-10      Torsten Irlaender <[email protected]>
781          * tools/formed/formed/plugins/web/form_renderer.py: Changed order of          * tools/formed/formed/plugins/web/form_renderer.py: Changed order of
782            div and formtag.            div and formtag.
783    
# Line 56  Line 789 
789            overview and the digest table of the datasets. Added icon for            overview and the digest table of the datasets. Added icon for
790            confirmation dialog, moved the icon in the <h1> tags.              confirmation dialog, moved the icon in the <h1> tags.  
791    
792  2007-09-10 Torsten Irlaender <[email protected]>  2007-09-10      Torsten Irlaender <[email protected]>
793    
794          * tools/formed/formed/plugins/web/form_renderer.py: Some html          * tools/formed/formed/plugins/web/form_renderer.py: Some html
795            generation cleanup. Added error icons to formelements            generation cleanup. Added error icons to formelements
# Line 70  Line 803 
803            Links in confimation dialogs are now rendered as buttons. Removed            Links in confimation dialogs are now rendered as buttons. Removed
804            old obsolete OverviewRenderer.            old obsolete OverviewRenderer.
805    
806  2007-09-10 Sascha L. Teichmann <[email protected]>  2007-09-10      Sascha L. Teichmann <[email protected]>
807    
808          * tools/formed/formed/plugins/web/renderer.py: Highlight selected          * tools/formed/formed/plugins/web/renderer.py: Highlight selected
809            page in page navigation.            page in page navigation.
810    
811  2007-09-10 Torsten Irlaender <[email protected]>  2007-09-10      Torsten Irlaender <[email protected]>
812    
813          * tools/formed/formed/plugins/web/controllers.py: Fixed issues on          * tools/formed/formed/plugins/web/controllers.py: Fixed issues on
814            displaying formdata when changing datasets. Loading the right            displaying formdata when changing datasets. Loading the right
# Line 86  Line 819 
819          * tools/formed/formed/plugins/web/renderer.py: DataSetDigestRenderer          * tools/formed/formed/plugins/web/renderer.py: DataSetDigestRenderer
820            now uses the correct data out of the formdata.            now uses the correct data out of the formdata.
821    
822  2007-09-10 Sascha L. Teichmann <[email protected]>  2007-09-10      Sascha L. Teichmann <[email protected]>
823    
824          * tools/formed/formed/plugins/web/controllers.py: Pretty          * tools/formed/formed/plugins/web/controllers.py: Pretty
825            print format data (dates e.g)            print format data (dates e.g)
826    
827  2007-09-10 Sascha L. Teichmann <[email protected]>  2007-09-10      Sascha L. Teichmann <[email protected]>
828    
829          * tools/formed/formed/plugins/web/controllers.py: Modified          * tools/formed/formed/plugins/web/controllers.py: Modified
830            ErrorStats a bit to avoid mysterious extra error on page.            ErrorStats a bit to avoid mysterious extra error on page.
831                  No clue why this works.            No clue why this works.
832    
833  2007-09-10 Sascha L. Teichmann <[email protected]>  2007-09-10      Sascha L. Teichmann <[email protected]>
834    
835          * tools/formed/formed/plugins/web/form_renderer.py: Fixed value          * tools/formed/formed/plugins/web/form_renderer.py: Fixed value
836            problem with radio groups, too.            problem with radio groups, too.
837    
838  2007-09-10 Torsten Irlaender <[email protected]>  2007-09-10      Torsten Irlaender <[email protected]>
839          * tools/formed/formed/plugins/web/controllers.py: Sessions are now          * tools/formed/formed/plugins/web/controllers.py: Sessions are now
840            really removed when deleting a dataset.            really removed when deleting a dataset.
841                    
842  2007-09-10 Torsten Irlaender <[email protected]>  2007-09-10      Torsten Irlaender <[email protected]>
843    
844          * tools/formed/formed/plugins/web/controllers.py: Added new Class          * tools/formed/formed/plugins/web/controllers.py: Added new Class
845            ErrorStats which provides Information on remaining errors per page.            ErrorStats which provides Information on remaining errors per page.
# Line 117  Line 850 
850          * tools/formed/formed/plugins/web/plugin.py: Removed render_session          * tools/formed/formed/plugins/web/plugin.py: Removed render_session
851            handlers            handlers
852    
853  2007-09-10 Sascha L. Teichmann <[email protected]>  2007-09-10      Sascha L. Teichmann <[email protected]>
854    
855          * tools/formed/formed/plugins/web/form_renderer.py: values for          * tools/formed/formed/plugins/web/form_renderer.py: values for
856            choices are generated from the document tree now. This brings            choices are generated from the document tree now. This brings
857                  the state storage of select boxes in HTML to live.            the state storage of select boxes in HTML to live.
858    
859  2007-09-09 Sascha L. Teichmann <[email protected]>  2007-09-09      Sascha L. Teichmann <[email protected]>
860    
861          * tools/formed/formed/plugins/web/semantic.py: Fixed problems with          * tools/formed/formed/plugins/web/semantic.py: Fixed problems with
862            range checking of integers.            range checking of integers.
# Line 131  Line 864 
864          * tools/formed/formed/plugins/web/controllers.py: Added class          * tools/formed/formed/plugins/web/controllers.py: Added class
865            ErrorItem to track errors. They are stored in the session.            ErrorItem to track errors. They are stored in the session.
866    
867  2007-09-09 Sascha L. Teichmann <[email protected]>  2007-09-09      Sascha L. Teichmann <[email protected]>
868    
869          * tools/formed/formed/model/nodecomponents.py: Fixed returning          * tools/formed/formed/model/nodecomponents.py: Fixed returning
870            wrong index in Document.indexOfcomponentByClassAndName.            wrong index in Document.indexOfcomponentByClassAndName.
# Line 141  Line 874 
874    
875          * tools/formed/formed/plugins/web/controllers.py: Some clean-ups.          * tools/formed/formed/plugins/web/controllers.py: Some clean-ups.
876    
877  2007-09-09 Sascha L. Teichmann <[email protected]>  2007-09-09      Sascha L. Teichmann <[email protected]>
878    
879          * tools/formed/formed/plugins/web/help.py: Added a 'hasHelp'          * tools/formed/formed/plugins/web/help.py: Added a 'hasHelp'
880            method. Could be cheaper for some implementations of help.            method. Could be cheaper for some implementations of help.
881    
882          * tools/formed/formed/plugins/web/form_renderer.py: Modified          * tools/formed/formed/plugins/web/form_renderer.py: Modified
883            FormData to have distinct getData(), getHelp() and getError()            FormData to have distinct getData(), getHelp() and getError()
884                  methods. Various bug fixes.            methods. Various bug fixes.
885    
886          * tools/formed/formed/plugins/web/controllers.py: Implements the          * tools/formed/formed/plugins/web/controllers.py: Implements the
887            new FormData (trivial by now).            new FormData (trivial by now).
# Line 156  Line 889 
889          * tools/formed/formed/plugins/web/renderer.py: New FormData and          * tools/formed/formed/plugins/web/renderer.py: New FormData and
890            some bug fixes.            some bug fixes.
891    
892  2007-09-09 Sascha L. Teichmann <[email protected]>  2007-09-09      Sascha L. Teichmann <[email protected]>
893    
894          * tools/formed/formed/model/memory.py,          * tools/formed/formed/model/memory.py,
895            tools/formed/formed/model/persistent.py: Add a getValue() method            tools/formed/formed/model/persistent.py: Add a getValue() method
896                  to dataset abstraction. This is a bit of a workaround to bring            to dataset abstraction. This is a bit of a workaround to bring
897                  global access across pages for rule checking to work.            global access across pages for rule checking to work.
898    
899          * tools/formed/formed/model/data.py: Fixed: When setting a new expression          * tools/formed/formed/model/data.py: Fixed: When setting a new expression
900            the compiled version was not stored in the RuleLeaf.            the compiled version was not stored in the RuleLeaf.
# Line 171  Line 904 
904    
905          * tools/formed/formed/plugins/web/semantic.py: Remove the 'box' because          * tools/formed/formed/plugins/web/semantic.py: Remove the 'box' because
906            valid data is stored to the dataset immediately now. Fixed a bug            valid data is stored to the dataset immediately now. Fixed a bug
907                  with integer handler.            with integer handler.
908    
909          * tools/formed/formed/plugins/web/controllers.py: Removed the semantic 'box'          * tools/formed/formed/plugins/web/controllers.py: Removed the semantic 'box'
910            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
911                  that are effected by the modified variables and check them.            that are effected by the modified variables and check them.
912    
913          * tools/formed/formed/plugins/web/renderer.py: Fixed exception handling          * tools/formed/formed/plugins/web/renderer.py: Fixed exception handling
914            when dealing with templates.            when dealing with templates.
915    
916  2007-09-07 Torsten Irlaender <[email protected]>  2007-09-07      Torsten Irlaender <[email protected]>
917          * tools/formed/formed/plugins/web/controllers.py,          * tools/formed/formed/plugins/web/controllers.py,
918            tools/formed/formed/plugins/web/renderer.py: Moved more render            tools/formed/formed/plugins/web/renderer.py: Moved more render
919            functions into renderer.py. New render classes are:            functions into renderer.py. New render classes are:
# Line 190  Line 923 
923            Note: The new methods are only called from selected handlers. Other            Note: The new methods are only called from selected handlers. Other
924            handlers call the renderes in the old way.            handlers call the renderes in the old way.
925    
926  2007-09-07 Torsten Irlaender <[email protected]>  2007-09-07      Torsten Irlaender <[email protected]>
927          * tools/formed/formed/plugins/web/form_renderer.py: Renamed          * tools/formed/formed/plugins/web/form_renderer.py: Renamed
928            renderer.py to form_renderer.py. This file will contain formular            renderer.py to form_renderer.py. This file will contain formular
929            specfic render methods in the future.            specfic render methods in the future.
# Line 200  Line 933 
933            rendering into renderer.py or form_renderer.py. This file will only            rendering into renderer.py or form_renderer.py. This file will only
934            contain teh handlers in the future.            contain teh handlers in the future.
935    
936  2007-09-07 Torsten Irlaender <[email protected]>  2007-09-07      Torsten Irlaender <[email protected]>
937          * tools/formed/formed/plugins/web/renderer.py,          * tools/formed/formed/plugins/web/renderer.py,
938            tools/formed/formed/plugins/web/controller.py:            tools/formed/formed/plugins/web/controller.py:
939            Renderes now get an instance of the formdata object to provide            Renderes now get an instance of the formdata object to provide
940            access the data needed to render various infoboxes etc. Handler            access the data needed to render various infoboxes etc. Handler
941            instanciate the formdata.            instanciate the formdata.
942                    
943  2007-09-06 Torsten Irlaender <[email protected]>  2007-09-06      Torsten Irlaender <[email protected]>
944          * tools/formed/formed/plugins/web/renderer.py: Mainly tried to get the          * tools/formed/formed/plugins/web/renderer.py: Mainly tried to get the
945            getFormData interface to work. Added two small semantic fixes, but            getFormData interface to work. Added two small semantic fixes, but
946            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 948 
948            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
949            styles. Added dataset actions while editing a dataset.            styles. Added dataset actions while editing a dataset.
950                    
951  2007-09-05 Torsten Irlaender <[email protected]>  2007-09-05      Torsten Irlaender <[email protected]>
952          * tools/formed/formed/model/memory.py: Fixed deleting datasets by          * tools/formed/formed/model/memory.py: Fixed deleting datasets by
953            removing unwanted del method            removing unwanted del method
954          * tools/formed/formed/plugins/web/controllers.py: Implemented          * tools/formed/formed/plugins/web/controllers.py: Implemented
955            confiration dialogs for create, delete, and select aof datasets. Started to use            confiration dialogs for create, delete, and select aof datasets. Started to use
956            templates as well for larger information units like the dataset summary.            templates as well for larger information units like the dataset summary.
957                    
958  2007-09-05 Sascha L. Teichmann <[email protected]>  2007-09-05      Sascha L. Teichmann <[email protected]>
959    
960          * tools/formed/formed/model/nodecomponents.py: Added a          * tools/formed/formed/model/nodecomponents.py: Added a
961            method to document to find index of page.            method to document to find index of page.
# Line 233  Line 966 
966          * tools/formed/formed/plugins/web/controllers.py: Added new          * tools/formed/formed/plugins/web/controllers.py: Added new
967            FormData implementation to support DB and semantic box.            FormData implementation to support DB and semantic box.
968    
969  2007-09-05 Sascha L. Teichmann <[email protected]>  2007-09-05      Sascha L. Teichmann <[email protected]>
970    
971          * tools/formed/formed/plugins/web/renderer.py: escaped          * tools/formed/formed/plugins/web/renderer.py: escaped
972            error message.            error message.
# Line 241  Line 974 
974          * tools/formed/formed/plugins/web/controllers.py: Don't fetch          * tools/formed/formed/plugins/web/controllers.py: Don't fetch
975            dataset from backend each time a page is up to edit.            dataset from backend each time a page is up to edit.
976    
977  2007-09-05 Sascha L. Teichmann <[email protected]>  2007-09-05      Sascha L. Teichmann <[email protected]>
978    
979          * tools/formed/formed/plugins/web/renderer.py: SimplePageRenderer          * tools/formed/formed/plugins/web/renderer.py: SimplePageRenderer
980            returns "Page not found" if given page is None.            returns "Page not found" if given page is None.
# Line 249  Line 982 
982          * tools/formed/formed/plugins/web/controllers.py: Added checks          * tools/formed/formed/plugins/web/controllers.py: Added checks
983            to avoid crashing when ask for a non-existent page.            to avoid crashing when ask for a non-existent page.
984    
985  2007-09-05 Sascha L. Teichmann <[email protected]>  2007-09-05      Sascha L. Teichmann <[email protected]>
986    
987          * tools/formed/formed/plugins/web/controllers.py: Some clean-ups.          * tools/formed/formed/plugins/web/controllers.py: Some clean-ups.
988    
989  2007-09-05 Sascha L. Teichmann <[email protected]>  2007-09-05      Sascha L. Teichmann <[email protected]>
990    
991          * tools/formed/formed/plugins/web/plugin.py: Remove request handlers          * tools/formed/formed/plugins/web/plugin.py: Remove request handlers
992            and renderers.            and renderers.
# Line 261  Line 994 
994          * tools/formed/formed/plugins/web/controllers.py: New. Contains handlers          * tools/formed/formed/plugins/web/controllers.py: New. Contains handlers
995            and renderers now. TODO: Move renderers to renderer.py            and renderers now. TODO: Move renderers to renderer.py
996    
997  2007-09-05 Torsten Irlaender <[email protected]>  2007-09-05      Torsten Irlaender <[email protected]>
998    
999          * tools/formed/formed/plugins/web/www/main.tmpl: Adopted web template          * tools/formed/formed/plugins/web/www/main.tmpl: Adopted web template
1000            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
1001            show formdata.            show formdata.
1002                    
1003  2007-09-05 Sascha L. Teichmann <[email protected]>  2007-09-05      Sascha L. Teichmann <[email protected]>
1004    
1005          * tools/formed/formed/model/memory.py: Removed bisect and use a          * tools/formed/formed/model/memory.py: Removed bisect and use a
1006            simple linear scan for dataset lookup now.            simple linear scan for dataset lookup now.
# Line 275  Line 1008 
1008          * tools/formed/formed/plugins/web/plugin.py: Fixed various issues          * tools/formed/formed/plugins/web/plugin.py: Fixed various issues
1009            of different sizes.            of different sizes.
1010    
1011  2007-09-05 Torsten Irlaender <[email protected]>  2007-09-05      Torsten Irlaender <[email protected]>
1012    
1013          * tools/formed/formed/plugins/web/memory.py: Fixed getDataSetById          * tools/formed/formed/plugins/web/memory.py: Fixed getDataSetById
1014            fuction            fuction
1015                              
1016          * tools/formed/formed/plugins/web/persistent.py: Added store() method          * tools/formed/formed/plugins/web/persistent.py: Added store() method
1017            to the DataSet interface            to the DataSet interface
1018    
1019          * tools/formed/formed/plugins/web/renderer.py: Added handlers and          * tools/formed/formed/plugins/web/renderer.py: Added handlers and
1020            renderes for create, update, delete and show actions on formular data.            renderes for create, update, delete and show actions on formular data.
1021    
1022  2007-09-04 Sascha L. Teichmann <[email protected]>  2007-09-04      Sascha L. Teichmann <[email protected]>
1023    
1024          * tools/formed/formed/plugins/web/server.py: The mapping          * tools/formed/formed/plugins/web/server.py: The mapping
1025            to methods is now driven by regualar expressions and            to methods is now driven by regualar expressions and
1026                  a dictionary. Response objects are now able to send            a dictionary. Response objects are now able to send
1027                  error codes.            error codes.
1028    
1029          * tools/formed/formed/plugins/web/renderer.py: Fixed an issue          * tools/formed/formed/plugins/web/renderer.py: Fixed an issue
1030            when help in Formdata is None. Moved text for help into            when help in Formdata is None. Moved text for help into
1031                  a top level '''...''' variable.            a top level '''...''' variable.
1032    
1033          * tools/formed/test-data/simple.xml: Added test for help.          * tools/formed/test-data/simple.xml: Added test for help.
1034    
# Line 303  Line 1036 
1036    
1037          * tools/formed/formed/plugins/web/plugin.py: Uses the new          * tools/formed/formed/plugins/web/plugin.py: Uses the new
1038            table driven mapping of reguest handling. TODO: split the            table driven mapping of reguest handling. TODO: split the
1039                  WebPlugIn.pageHandler() method further to smaller handlers.            WebPlugIn.pageHandler() method further to smaller handlers.
1040                  Smaller clean ups and better exception handling.            Smaller clean ups and better exception handling.
1041    
1042          * tools/formed/formed/plugins/web/cache.py: Report OSErrors          * tools/formed/formed/plugins/web/cache.py: Report OSErrors
1043            and do not catch them.            and do not catch them.
1044    
1045  2007-09-04 Torsten Irlaender <[email protected]>  2007-09-04      Torsten Irlaender <[email protected]>
1046    
1047          * tools/formed/formed/plugins/web/renderer.py,          * tools/formed/formed/plugins/web/renderer.py,
1048          * tools/formed/formed/plugins/web/plugin.py: Added Interface to          * tools/formed/formed/plugins/web/plugin.py: Added Interface to
# Line 318  Line 1051 
1051            within a <div> tag.            within a <div> tag.
1052            Modified the error messages.            Modified the error messages.
1053    
1054  2007-09-04 Sascha L. Teichmann <[email protected]>  2007-09-04      Sascha L. Teichmann <[email protected]>
1055    
1056          * tools/formed/formed/plugins/web/cache.py: New. Implements          * tools/formed/formed/plugins/web/cache.py: New. Implements
1057            the server-side caching more clean. Fixes a bug with            the server-side caching more clean. Fixes a bug with
1058                  serving static content.            serving static content.
1059    
1060          * tools/formed/formed/plugins/web/plugin.py: Use the new cache.          * tools/formed/formed/plugins/web/plugin.py: Use the new cache.
1061    
1062  2007-09-04 Sascha L. Teichmann <[email protected]>  2007-09-04      Sascha L. Teichmann <[email protected]>
1063    
1064          * tools/formed/formed/plugins/web/plugin.py: Set MIME type          * tools/formed/formed/plugins/web/plugin.py: Set MIME type
1065            to "application/xhtml+xml" when serving help texts.            to "application/xhtml+xml" when serving help texts.
1066    
1067  2007-09-03 Sascha L. Teichmann <[email protected]>  2007-09-03      Sascha L. Teichmann <[email protected]>
1068    
1069          * tools/formed/formed/plugins/export/diff.py: New. Exports          * tools/formed/formed/plugins/export/diff.py: New. Exports
1070            pairwise differences between all modes.            pairwise differences between all modes.
1071    
1072          * tools/formed/formed/config.py: Use new export filter.          * tools/formed/formed/config.py: Use new export filter.
1073    
1074  2007-09-03 Sascha L. Teichmann <[email protected]>  2007-09-03      Sascha L. Teichmann <[email protected]>
1075    
1076          * tools/formed/formed/plugins/web/help.py: New. Parses an          * tools/formed/formed/plugins/web/help.py: New. Parses an
1077            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 1085 
1085          * tools/formed/formed/plugins/web/plugin.py: Serves the help          * tools/formed/formed/plugins/web/plugin.py: Serves the help
1086            texts now.            texts now.
1087    
1088  2007-09-03 Torsten Irlaender <[email protected]>  2007-09-03      Torsten Irlaender <[email protected]>
1089    
1090          * tools/formed/formed/plugins/web/plugin.py: Only visible group          * tools/formed/formed/plugins/web/plugin.py: Only visible group
1091            elements will be rendered in the formular navigation.            elements will be rendered in the formular navigation.
1092            Formular pages in the navigation now have their own css-style            Formular pages in the navigation now have their own css-style
1093            attributes.            attributes.
1094    
1095  2007-09-03 Torsten Irlaender <[email protected]>  2007-09-03      Torsten Irlaender <[email protected]>
1096    
1097          * 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
1098            errors in template            errors in template
1099          * tools/formed/formed/plugins/web/plugin.py: Fixed undefined          * tools/formed/formed/plugins/web/plugin.py: Fixed undefined
1100            pageerrors variable            pageerrors variable
1101    
1102  2007-09-03 Frank Koormann <[email protected]>  2007-09-03      Frank Koormann <[email protected]>
1103    
1104          * tools/formed/formed/plugins/export/html.py          * tools/formed/formed/plugins/export/html.py
1105          (RecursiveExporter): Added annotation to export          (RecursiveExporter): Added annotation to export
1106          (fillRow()): Renamed old fillNine to this more generic name.          (fillRow()): Renamed old fillNine to this more generic name.
1107                    
1108    
1109  2007-09-03 Sascha L. Teichmann <[email protected]>  2007-09-03      Sascha L. Teichmann <[email protected]>
1110    
1111          * tools/formed/formed/plugins/web/renderer.py: Using the decorator          * tools/formed/formed/plugins/web/renderer.py: Using the decorator
1112            from model.misc now.            from model.misc now.
1113    
1114  2007-09-03 Sascha L. Teichmann <[email protected]>  2007-09-03      Sascha L. Teichmann <[email protected]>
1115    
1116          * tools/formed/formed/model/nodecomponents.py: Added an          * tools/formed/formed/model/nodecomponents.py: Added an
1117            'annotation' attribute to node components. This is to            'annotation' attribute to node components. This is to
1118                  enable FormEd document authors to add comments to groups            enable FormEd document authors to add comments to groups
1119                  and fields.            and fields.
1120    
1121  2007-09-03 Frank Koormann <[email protected]>  2007-09-03      Frank Koormann <[email protected]>
1122    
1123          * tools/formed/formed/model/nodecomponents.py          * tools/formed/formed/model/nodecomponents.py
1124          (NodeComponent.getParent): New method to get node components parent.          (NodeComponent.getParent): New method to get node components parent.
# Line 393  Line 1126 
1126          * tools/formed/formed/plugins/export/html.py: Export Choice option          * tools/formed/formed/plugins/export/html.py: Export Choice option
1127          as simple list instead of collection of bools.          as simple list instead of collection of bools.
1128    
1129  2007-09-02 Sascha L. Teichmann <[email protected]>  2007-09-02      Sascha L. Teichmann <[email protected]>
1130    
1131          * tools/formed/formed/model/persistent.py: Interfaces to abstract          * tools/formed/formed/model/persistent.py: Interfaces to abstract
1132            from persistent storage details.            from persistent storage details.
# Line 403  Line 1136 
1136    
1137          * tools/formed/formed/main.py: Holds a memory data store now.          * tools/formed/formed/main.py: Holds a memory data store now.
1138    
1139  2007-09-02 Sascha L. Teichmann <[email protected]>  2007-09-02      Sascha L. Teichmann <[email protected]>
1140    
1141          * tools/formed/formed/plugins/export/sql.py,          * tools/formed/formed/plugins/export/sql.py,
1142            tools/formed/formed/plugins/export/html.py: Fixed constructor chains            tools/formed/formed/plugins/export/html.py: Fixed constructor chains
1143                  for FileDialogFilter sub classes.            for FileDialogFilter sub classes.
1144    
1145  2007-09-02 Sascha L. Teichmann <[email protected]>  2007-09-02      Sascha L. Teichmann <[email protected]>
1146    
1147          * tools/formed/formed/model/misc.py: Checking the mode in recursive          * tools/formed/formed/model/misc.py: Checking the mode in recursive
1148            tree traversals is a common task. To ease this a decorator function            tree traversals is a common task. To ease this a decorator function
1149                  checkMode in union with sub classing ModeChecker can be used.            checkMode in union with sub classing ModeChecker can be used.
1150                  To make it work simply subclass from ModeChecker and add the decorator            To make it work simply subclass from ModeChecker and add the decorator
1151                  to the methods that need mode tracking. Before you start the recursion            to the methods that need mode tracking. Before you start the recursion
1152                  call self.prepareDescent().            call self.prepareDescent().
1153    
1154          * tools/formed/formed/plugins/export/html.py: Uses the new decorator scheme          * tools/formed/formed/plugins/export/html.py: Uses the new decorator scheme
1155            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
1156                  too.            too.
1157    
1158  2007-09-02 Sascha L. Teichmann <[email protected]>  2007-09-02      Sascha L. Teichmann <[email protected]>
1159    
1160          * tools/formed/formed/plugins/export/sql.py: Removed needless import.          * tools/formed/formed/plugins/export/sql.py: Removed needless import.
1161    
1162          * tools/formed/formed/plugins/export/html.py: HTML table exporter          * tools/formed/formed/plugins/export/html.py: HTML table exporter
1163            uses new FileDialogFilter base class too.            uses new FileDialogFilter base class too.
1164    
1165  2007-09-02 Sascha L. Teichmann <[email protected]>  2007-09-02      Sascha L. Teichmann <[email protected]>
1166    
1167          * tools/formed/formed/plugins/ui/*: New. All file exporters          * tools/formed/formed/plugins/ui/*: New. All file exporters
1168            need a file dialog. Till now each of them pulled up its            need a file dialog. Till now each of them pulled up its
1169                  own. This was silly code replication. Now there is an abstract            own. This was silly code replication. Now there is an abstract
1170                  base class 'FileDialogFilter' which implements the common            base class 'FileDialogFilter' which implements the common
1171                  behavior. The file exporters should subclass it.            behavior. The file exporters should subclass it.
1172    
1173          * tools/formed/formed/plugins/export/sql.py: Subclass the SQL          * tools/formed/formed/plugins/export/sql.py: Subclass the SQL
1174            exporters from the new base class. TODO: Subclass the HTML            exporters from the new base class. TODO: Subclass the HTML
1175                  exporter too.            exporter too.
1176    
1177  2007-08-31 Sascha L. Teichmann <[email protected]>  2007-08-31      Sascha L. Teichmann <[email protected]>
1178    
1179          * tools/formed/formed/plugins/export/html.py: Make mode check          * tools/formed/formed/plugins/export/html.py: Make mode check
1180            work (again).            work (again).
1181    
1182  2007-08-31 Torsten Irlaender <[email protected]>  2007-08-31      Torsten Irlaender <[email protected]>
1183    
1184          * tools/formed/formed/plugins/export/html.py: Rendering of the HTML          * tools/formed/formed/plugins/export/html.py: Rendering of the HTML
1185            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 1187 
1187            full hirachically document stuctures. (nested lists)            full hirachically document stuctures. (nested lists)
1188            TODO: Fix modechecking            TODO: Fix modechecking
1189    
1190  2007-08-31 Torsten Irlaender <[email protected]>  2007-08-31      Torsten Irlaender <[email protected]>
1191    
1192          * tools/formed/formed/plugins/web/plugin.py: Navigation rendering works          * tools/formed/formed/plugins/web/plugin.py: Navigation rendering works
1193            now in recursive way. This change was needed because the structure            now in recursive way. This change was needed because the structure
1194            of the formedtree has changed to be able to render full hirachically            of the formedtree has changed to be able to render full hirachically
1195            document stuctures. (nested lists)            document stuctures. (nested lists)
1196    
1197  2007-08-31 Sascha L. Teichmann <[email protected]>  2007-08-31      Sascha L. Teichmann <[email protected]>
1198    
1199          * tools/formed/formed/model/nodecomponents.py: use discard()          * tools/formed/formed/model/nodecomponents.py: use discard()
1200            instead of remove on sets.            instead of remove on sets.
# Line 472  Line 1205 
1205          * tools/formed/formed/config.py: Added the new exporter          * tools/formed/formed/config.py: Added the new exporter
1206            to the list of export filters.            to the list of export filters.
1207    
1208  2007-08-30 Sascha L. Teichmann <[email protected]>  2007-08-30      Sascha L. Teichmann <[email protected]>
1209    
1210          * tools/formed/formed/model/data.py: Fixed a bug in          * tools/formed/formed/model/data.py: Fixed a bug in
1211            Page.allWidgets()            Page.allWidgets()
# Line 482  Line 1215 
1215    
1216          * tools/formed/formed/config.py: Add the new SP exporter.          * tools/formed/formed/config.py: Add the new SP exporter.
1217    
1218  2007-08-29 Torsten Irlaender <[email protected]>  2007-08-29      Torsten Irlaender <[email protected]>
1219    
1220          * tools/formed/formed/plugins/web/plugin.py,          * tools/formed/formed/plugins/web/plugin.py,
1221            tools/formed/formed/plugins/web/error_renderer.py: Added interface            tools/formed/formed/plugins/web/error_renderer.py: Added interface
1222            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
1223            now be displayed on the top of the formular.            now be displayed on the top of the formular.
1224    
1225  2007-08-29 Torsten Irlaender <[email protected]>  2007-08-29      Torsten Irlaender <[email protected]>
1226    
1227          * tools/formed/formed/plugins/web/renderer.py: Finished implementation          * tools/formed/formed/plugins/web/renderer.py: Finished implementation
1228            of the getFromData interface and prepared the rederer for generating            of the getFromData interface and prepared the rederer for generating
1229            nice error messages            nice error messages
1230    
1231  2007-08-28 Frank Koormann <[email protected]>  2007-08-28      Frank Koormann <[email protected]>
1232    
1233          * tools/formed/formed/plugins/export/sql.py          * tools/formed/formed/plugins/export/sql.py
1234          (SchemaCreator.createSchema, SchemaCreator._createGroup):          (SchemaCreator.createSchema, SchemaCreator._createGroup):
1235          Fixed typo in created DDS (PRIMRAY -> PRIMARY)          Fixed typo in created DDS (PRIMRAY -> PRIMARY)
1236    
1237  2007-08-28 Torsten Irlaender <[email protected]>  2007-08-28      Torsten Irlaender <[email protected]>
1238    
1239          * tools/formed/formed/plugins/export/sql.py: Added small helper          * tools/formed/formed/plugins/export/sql.py: Added small helper
1240            function to generated valid quotes within the sql statements            function to generated valid quotes within the sql statements
1241    
1242  2007-08-29 Sascha L. Teichmann <[email protected]>  2007-08-29      Sascha L. Teichmann <[email protected]>
1243    
1244          * tools/formed/formed/plugins/export/sql.py: Added foreign keys          * tools/formed/formed/plugins/export/sql.py: Added foreign keys
1245            for repeat tables.            for repeat tables.
1246                        
1247  2007-08-29 Sascha L. Teichmann <[email protected]>  2007-08-29      Sascha L. Teichmann <[email protected]>
1248    
1249          * tools/formed/formed/plugins/export/sql.py: When generating          * tools/formed/formed/plugins/export/sql.py: When generating
1250            an extra table check in a table of same content exists. In            an extra table check in a table of same content exists. In
1251                  this case reference the existing table.            this case reference the existing table.
1252    
1253  2007-08-29 Sascha L. Teichmann <[email protected]>  2007-08-29      Sascha L. Teichmann <[email protected]>
1254    
1255          * tools/formed/formed/plugins/export/sql.py: Rewritten to produce          * tools/formed/formed/plugins/export/sql.py: Rewritten to produce
1256            _real_ SQL and respect repeat groups.            _real_ SQL and respect repeat groups.
# Line 527  Line 1260 
1260          * tools/formed/formed/plugins/web/renderer.py: Use "".join([])          * tools/formed/formed/plugins/web/renderer.py: Use "".join([])
1261            instead of expensive += string concat in some places.            instead of expensive += string concat in some places.
1262    
1263  2007-08-29 Sascha L. Teichmann <[email protected]>  2007-08-29      Sascha L. Teichmann <[email protected]>
1264    
1265          * tools/formed/formed/model/data.py: Renamed GroupNode.getRepeat()          * tools/formed/formed/model/data.py: Renamed GroupNode.getRepeat()
1266            to .isRepeat and return a bool. Fixed a bug in Page.allWidgets().            to .isRepeat and return a bool. Fixed a bug in Page.allWidgets().
1267    
1268  2007-08-28 Torsten Irlaender <[email protected]>  2007-08-28      Torsten Irlaender <[email protected]>
1269    
1270          * tools/formed/plugins/web/renderer.py: Added Formdata interface.          * tools/formed/plugins/web/renderer.py: Added Formdata interface.
1271          * tools/formed/model/data.py: Implements Formadata interface to          * tools/formed/model/data.py: Implements Formadata interface to
# Line 540  Line 1273 
1273            attribute of the groupnode. Field-label generation slightly changed.            attribute of the groupnode. Field-label generation slightly changed.
1274            Added error indication to textfields            Added error indication to textfields
1275    
1276  2007-08-28 Sascha L. Teichmann <[email protected]>  2007-08-28      Sascha L. Teichmann <[email protected]>
1277    
1278          * tools/formed/formed/model/data.py,          * tools/formed/formed/model/data.py,
1279            tools/formed/formed/io/document.py: Removed support            tools/formed/formed/io/document.py: Removed support
1280                  of logical groups.            of logical groups.
1281    
1282  2007-08-28 Sascha L. Teichmann <[email protected]>  2007-08-28      Sascha L. Teichmann <[email protected]>
1283    
1284          * tools/formed/formed/io/document.py: Avoid saving empty          * tools/formed/formed/io/document.py: Avoid saving empty
1285            attributes.            attributes.
1286    
1287          * tools/formed/test-data/simple.xml: Applied.          * tools/formed/test-data/simple.xml: Applied.
1288    
1289  2007-08-28 Sascha L. Teichmann <[email protected]>  2007-08-28      Sascha L. Teichmann <[email protected]>
1290    
1291          * tools/formed/formed/model/data.py: Added 'repeat' and          * tools/formed/formed/model/data.py: Added 'repeat' and
1292            'invisible' attributes to group. TODO: remove logical group.            'invisible' attributes to group. TODO: remove logical group.
1293    
1294  2007-08-27 Torsten Irlaender <[email protected]>  2007-08-27      Torsten Irlaender <[email protected]>
1295    
1296          * tools/formed/plugins/web/plugin.py,          * tools/formed/plugins/web/plugin.py,
1297            tools/formed/plugins/web/renderer.py: Started to  include stylesheet            tools/formed/plugins/web/renderer.py: Started to  include stylesheet
1298            depending tags in the html generation.            depending tags in the html generation.
1299    
1300  2007-08-27 Sascha L. Teichmann <[email protected]>  2007-08-27      Sascha L. Teichmann <[email protected]>
1301    
1302          * tools/formed/formed/model/data.py,          * tools/formed/formed/model/data.py,
1303            tools/formed/formed/io/document.py: Added a logical group.            tools/formed/formed/io/document.py: Added a logical group.
1304                  It has an attribute 'repeat' to indicate that it might            It has an attribute 'repeat' to indicate that it might
1305                  be worthy an external table in DB schema.            be worthy an external table in DB schema.
1306    
1307  2007-08-27 Sascha L. Teichmann <[email protected]>  2007-08-27      Sascha L. Teichmann <[email protected]>
1308    
1309          * tools/formed/formed/plugins/web/plugin.py: Support          * tools/formed/formed/plugins/web/plugin.py: Support
1310            serving of static content.            serving of static content.
# Line 579  Line 1312 
1312          * tools/formed/formed/plugins/web/server.py: Removed          * tools/formed/formed/plugins/web/server.py: Removed
1313            old send code.            old send code.
1314    
1315  2007-08-27 Sascha L. Teichmann <[email protected]>  2007-08-27      Sascha L. Teichmann <[email protected]>
1316    
1317          * tools/formed/formed/plugins/web/plugin.py: Use new          * tools/formed/formed/plugins/web/plugin.py: Use new
1318            Response object. Fix typo.            Response object. Fix typo.
# Line 587  Line 1320 
1320          * tools/formed/formed/plugins/web/server.py: support          * tools/formed/formed/plugins/web/server.py: support
1321            response object to serve different MIME types.            response object to serve different MIME types.
1322    
1323  2007-08-27 Sascha L. Teichmann <[email protected]>  2007-08-27      Sascha L. Teichmann <[email protected]>
1324    
1325          * tools/formed/formed/plugins/web/plugin.py: Add web.path          * tools/formed/formed/plugins/web/plugin.py: Add web.path
1326            to FORMED environment  variable to specify the            to FORMED environment  variable to specify the
1327                  root of the static content.            root of the static content.
1328    
1329  2007-08-26 Sascha L. Teichmann <[email protected]>  2007-08-26      Sascha L. Teichmann <[email protected]>
1330    
1331          * tools/formed/formed/model/data.py,          * tools/formed/formed/model/data.py,
1332            tools/formed/formed/model/nodecomponents.py: Fixed mode issues.            tools/formed/formed/model/nodecomponents.py: Fixed mode issues.
1333    
1334          * tools/formed/formed/plugins/web/www,          * tools/formed/formed/plugins/web/www,
1335            tools/formed/formed/plugins/web/www/main.tmpl: New. Contains            tools/formed/formed/plugins/web/www/main.tmpl: New. Contains
1336                  a template for the HTML output.            a template for the HTML output.
1337    
1338          * tools/formed/formed/plugins/web/plugin.py: Fixes several smaller          * tools/formed/formed/plugins/web/plugin.py: Fixes several smaller
1339            mode issues. Introduces CSS support. Simplified the action            mode issues. Introduces CSS support. Simplified the action
1340                  handling.            handling.
1341    
1342          * tools/formed/formed/plugins/web/renderer.py: Removed the          * tools/formed/formed/plugins/web/renderer.py: Removed the
1343            nagivation code.            nagivation code.
1344    
1345          * tools/formed/formed/plugins/web/server.py: Added missing import.          * tools/formed/formed/plugins/web/server.py: Added missing import.
1346    
1347  2007-08-26 Sascha L. Teichmann <[email protected]>  2007-08-26      Sascha L. Teichmann <[email protected]>
1348    
1349          * tools/formed/formed/model/data.py: Added missing broadcast          * tools/formed/formed/model/data.py: Added missing broadcast
1350            parameter to setAttribute() of RuleLeaf.            parameter to setAttribute() of RuleLeaf.
# Line 625  Line 1358 
1358          * tools/formed/formed/plugins/web/server.py: New. Contains          * tools/formed/formed/plugins/web/server.py: New. Contains
1359            the HTTP server code now.            the HTTP server code now.
1360    
1361  2007-08-26 Sascha L. Teichmann <[email protected]>  2007-08-26      Sascha L. Teichmann <[email protected]>
1362    
1363          * tools/formed/test-data/simple.xml: Modified to contain a rule.          * tools/formed/test-data/simple.xml: Modified to contain a rule.
1364    
1365          * tools/formed/formed/model/expr.py: Added. A simple RPN          * tools/formed/formed/model/expr.py: Added. A simple RPN
1366            expression evaluator. To avoid the problem of eval()ing            expression evaluator. To avoid the problem of eval()ing
1367                  arbitrary python expressions I've decided to use a very            arbitrary python expressions I've decided to use a very
1368                  basic and limited stack machine to support rule checking.            basic and limited stack machine to support rule checking.
1369    
1370          * tools/formed/formed/model/data.py: Added a RuleLeaf.          * tools/formed/formed/model/data.py: Added a RuleLeaf.
1371    
# Line 640  Line 1373 
1373    
1374          * tools/formed/formed/model/nodecomponents.py: Add a method          * tools/formed/formed/model/nodecomponents.py: Add a method
1375            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
1376                  mode. Usefull to find all rules in the tree.            mode. Usefull to find all rules in the tree.
1377    
1378          * tools/formed/formed/ui/controls.py: Added a listener mechanism          * tools/formed/formed/ui/controls.py: Added a listener mechanism
1379            to attribute table to report exceptions when setting a value            to attribute table to report exceptions when setting a value
1380                  from GUI. Useful to report compilation errors when setting            from GUI. Useful to report compilation errors when setting
1381                  expr of rule leafs.            expr of rule leafs.
1382    
1383          * tools/formed/formed/main.py: Added a method to track exceptions          * tools/formed/formed/main.py: Added a method to track exceptions
1384            from the attribute table and pop up dialogs if they occur.            from the attribute table and pop up dialogs if they occur.
1385                  Added a counter of rule modifications in tree. Useful if you            Added a counter of rule modifications in tree. Useful if you
1386                  want build cached data structures like rule sets and you want            want build cached data structures like rule sets and you want
1387                  to know if they are still valid.            to know if they are still valid.
1388    
1389  2007-08-24 Torsten Irlaender <[email protected]>  2007-08-24      Torsten Irlaender <[email protected]>
1390    
1391          * tools/formed/formed/plugins/export/sql.py: Fixed CHECK-constraint          * tools/formed/formed/plugins/export/sql.py: Fixed CHECK-constraint
1392            for checkbox values. (Syntax error).            for checkbox values. (Syntax error).
# Line 661  Line 1394 
1394          * tools/formed/formed/plugins/names/filter.py: Fixes in formularname          * tools/formed/formed/plugins/names/filter.py: Fixes in formularname
1395            generation              generation  
1396    
1397  2007-08-24 Torsten Irlaender <[email protected]>  2007-08-24      Torsten Irlaender <[email protected]>
1398    
1399          * tools/formed/formed/plugins/names/filter.py: Separated Class for          * tools/formed/formed/plugins/names/filter.py: Separated Class for
1400            making the formularnames more database friendly. Added some more            making the formularnames more database friendly. Added some more
# Line 669  Line 1402 
1402          * tools/formed/formed/plugins/export/sql.py: Make use of the fresh          * tools/formed/formed/plugins/export/sql.py: Make use of the fresh
1403            separated class, and some fixes in sql generation.            separated class, and some fixes in sql generation.
1404    
1405  2007-08-24 Sascha L. Teichmann <[email protected]>  2007-08-24      Sascha L. Teichmann <[email protected]>
1406    
1407          * tools/formed/formed/plugins/export/html.py: Print lengths          * tools/formed/formed/plugins/export/html.py: Print lengths
1408            of external choice list.            of external choice list.
1409    
1410  2007-08-24 Sascha L. Teichmann <[email protected]>  2007-08-24      Sascha L. Teichmann <[email protected]>
1411    
1412          * tools/formed/formed/main.py: Little workaround for          * tools/formed/formed/main.py: Little workaround for
1413            mode selection if someone adds an removes a mode.            mode selection if someone adds an removes a mode.
1414    
1415  2007-08-24 Sascha L. Teichmann <[email protected]>  2007-08-24      Sascha L. Teichmann <[email protected]>
1416    
1417          * tools/formed/test-data/simple.xml: Better test case for          * tools/formed/test-data/simple.xml: Better test case for
1418            mode depended leaf items.            mode depended leaf items.
# Line 689  Line 1422 
1422    
1423          * tools/formed/formed/plugins/export/html.py: Use effective          * tools/formed/formed/plugins/export/html.py: Use effective
1424            mode. TODO: the 'all' modus return false results sometimes.            mode. TODO: the 'all' modus return false results sometimes.
1425                  Cause: The modes are only cumulated over time. Removal is            Cause: The modes are only cumulated over time. Removal is
1426                  not done.            not done.
1427    
1428  2007-08-24 Sascha L. Teichmann <[email protected]>  2007-08-24      Sascha L. Teichmann <[email protected]>
1429    
1430          * tools/formed/formed/plugins/export/html.py: Dump the items          * tools/formed/formed/plugins/export/html.py: Dump the items
1431            of radio groups and choices too.            of radio groups and choices too.
1432    
1433  2007-08-24 Torsten Irlaender <[email protected]>  2007-08-24      Torsten Irlaender <[email protected]>
1434    
1435          * tools/formed/formed/plugins/names/filter.py: Modified the renaming          * tools/formed/formed/plugins/names/filter.py: Modified the renaming
1436            by formular names to make the naming more database friendly.            by formular names to make the naming more database friendly.
1437            Now only alphanumeric and underscore chars is allowed.            Now only alphanumeric and underscore chars is allowed.
1438    
1439  2007-08-24 Sascha L. Teichmann <[email protected]>  2007-08-24      Sascha L. Teichmann <[email protected]>
1440    
1441          * tools/formed/formed/plugins/export/html.py: Tweaked          * tools/formed/formed/plugins/export/html.py: Tweaked
1442            HTML table exporter a bit to be on par with the XSLT            HTML table exporter a bit to be on par with the XSLT
1443                  script. TODO: Dump items in radio and choice groups.            script. TODO: Dump items in radio and choice groups.
1444    
1445  2007-08-23 Sascha L. Teichmann <[email protected]>  2007-08-23      Sascha L. Teichmann <[email protected]>
1446    
1447          * tools/formed/formed/plugins/names/filter.py: Removed          * tools/formed/formed/plugins/names/filter.py: Removed
1448            HTML and SQL exporters.            HTML and SQL exporters.
# Line 718  Line 1451 
1451            tools/formed/formed/plugins/export/__init__.py,            tools/formed/formed/plugins/export/__init__.py,
1452            tools/formed/formed/plugins/export/sql.py,            tools/formed/formed/plugins/export/sql.py,
1453            tools/formed/formed/plugins/export/html.py: New: Contain            tools/formed/formed/plugins/export/html.py: New: Contain
1454                  the HTML and the SQL exporters now.            the HTML and the SQL exporters now.
1455    
1456          * tools/formed/formed/config.py: Use exporters from different          * tools/formed/formed/config.py: Use exporters from different
1457            package now.            package now.
1458    
1459  2007-08-23 Torsten Irlaender <[email protected]>  2007-08-23      Torsten Irlaender <[email protected]>
1460    
1461          * tools/formed/formed/plugins/names/filter.py: Added an          * tools/formed/formed/plugins/names/filter.py: Added an
1462            pseudo SQL export filters. TODO: Move HTML and SQL filter            pseudo SQL export filters. TODO: Move HTML and SQL filter
# Line 732  Line 1465 
1465    
1466          * tools/formed/formed/config.py: Install the new SQL filter.          * tools/formed/formed/config.py: Install the new SQL filter.
1467    
1468  2007-08-23 Sascha L. Teichmann <[email protected]>  2007-08-23      Sascha L. Teichmann <[email protected]>
1469    
1470          * tools/formed/formed/model/nodecomponents.py: Added a depth()          * tools/formed/formed/model/nodecomponents.py: Added a depth()
1471            method to determine the depth of particular tree item.            method to determine the depth of particular tree item.
# Line 742  Line 1475 
1475    
1476          * tools/formed/formed/config.py: Install the new HTML filter.          * tools/formed/formed/config.py: Install the new HTML filter.
1477    
1478  2007-08-23 Torsten Irlaender <[email protected]>  2007-08-23      Torsten Irlaender <[email protected]>
1479    
1480          * contrib/extract-xfa-fields_and_options.xsl: Added small xsl script          * contrib/extract-xfa-fields_and_options.xsl: Added small xsl script
1481            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
1482            script might me handy to indicate changes between the different            script might me handy to indicate changes between the different
1483            formular versions.            formular versions.
1484                    
1485  2007-08-23 Sascha L. Teichmann <[email protected]>  2007-08-23      Sascha L. Teichmann <[email protected]>
1486    
1487          * tools/formed/formed/main.py: Add an 'all' mode to          * tools/formed/formed/main.py: Add an 'all' mode to
1488            select all modes. ;-)            select all modes. ;-)
1489    
1490  2007-08-22 Sascha L. Teichmann <[email protected]>  2007-08-22      Sascha L. Teichmann <[email protected]>
1491    
1492          * tools/formed/test-data/simple.xml,          * tools/formed/test-data/simple.xml,
1493            tools/formed/formed/model/data.py,            tools/formed/formed/model/data.py,
# Line 764  Line 1497 
1497            tools/formed/formed/main.py: Removed support for switch nodes.            tools/formed/formed/main.py: Removed support for switch nodes.
1498            BEWARE: This breaks compatibility with older documents!            BEWARE: This breaks compatibility with older documents!
1499    
1500  2007-08-22 Sascha L. Teichmann <[email protected]>  2007-08-22      Sascha L. Teichmann <[email protected]>
1501    
1502          * tools/formed/formed/plugins/web/plugin.py: Uses the          * tools/formed/formed/plugins/web/plugin.py: Uses the
1503            getSelectedMode() from main now.            getSelectedMode() from main now.
# Line 775  Line 1508 
1508          * tools/formed/formed/config.py: removed selected mode from          * tools/formed/formed/config.py: removed selected mode from
1509            env configuration.            env configuration.
1510    
1511  2007-08-22 Sascha L. Teichmann <[email protected]>  2007-08-22      Sascha L. Teichmann <[email protected]>
1512    
1513          * tools/formed/formed/ui/controls.py: Attributes in GUI attribute          * tools/formed/formed/ui/controls.py: Attributes in GUI attribute
1514            table are now alphabetically sorted.            table are now alphabetically sorted.
1515    
1516  2007-08-22 Sascha L. Teichmann <[email protected]>  2007-08-22      Sascha L. Teichmann <[email protected]>
1517    
1518          * tools/formed/formed/model/nodecomponents.py: Added code to          * tools/formed/formed/model/nodecomponents.py: Added code to
1519            establish the new 'modes' recursively.            establish the new 'modes' recursively.
# Line 796  Line 1529 
1529    
1530          * tools/formed/formed/main.py: Adjusted to new infrastructure.          * tools/formed/formed/main.py: Adjusted to new infrastructure.
1531    
1532  2007-08-22 Sascha L. Teichmann <[email protected]>  2007-08-22      Sascha L. Teichmann <[email protected]>
1533    
1534          * tools/formed/formed/model/nodecomponents.py: Added an          * tools/formed/formed/model/nodecomponents.py: Added an
1535            attribute 'modes' to NodeComponents.            attribute 'modes' to NodeComponents.
1536    
1537  2007-08-22 Sascha L. Teichmann <[email protected]>  2007-08-22      Sascha L. Teichmann <[email protected]>
1538    
1539          * tools/formed/formed/model/data.py: Small cosmetic cleanups          * tools/formed/formed/model/data.py: Small cosmetic cleanups
1540    
1541  2007-08-21 Sascha L. Teichmann <[email protected]>  2007-08-21      Sascha L. Teichmann <[email protected]>
1542    
1543          * tools/formed/formed/plugins/web/renderer.py: Another fix          * tools/formed/formed/plugins/web/renderer.py: Another fix
1544            for the hidden field. Argh!            for the hidden field. Argh!
1545    
1546  2007-08-21 Sascha L. Teichmann <[email protected]>  2007-08-21      Sascha L. Teichmann <[email protected]>
1547    
1548          * tools/formed/formed/plugins/web/renderer.py: Fixed double          * tools/formed/formed/plugins/web/renderer.py: Fixed double
1549            generation of hidden page field.            generation of hidden page field.
1550    
1551  2007-08-21 Sascha L. Teichmann <[email protected]>  2007-08-21      Sascha L. Teichmann <[email protected]>
1552    
1553          * tools/formed/formed/plugins/web/semantic.py: Added semantic          * tools/formed/formed/plugins/web/semantic.py: Added semantic
1554            checks for radio groups.            checks for radio groups.
1555    
1556  2007-08-21 Sascha L. Teichmann <[email protected]>  2007-08-21      Sascha L. Teichmann <[email protected]>
1557    
1558          * tools/formed/formed/plugins/web/semantic.py: Added semantic          * tools/formed/formed/plugins/web/semantic.py: Added semantic
1559            checks for choices.            checks for choices.
# Line 835  Line 1568 
1568          * contrib/convert-formedtree2html.xsl:          * contrib/convert-formedtree2html.xsl:
1569          Replace technical types with readable descriptions          Replace technical types with readable descriptions
1570    
1571  2007-08-21 Sascha L. Teichmann <[email protected]>  2007-08-21      Sascha L. Teichmann <[email protected]>
1572    
1573          * tools/formed/formed/plugins/web/plugin.py: Fix a few smaller          * tools/formed/formed/plugins/web/plugin.py: Fix a few smaller
1574            issues. 'action' looks for all widgets on a page now, goes            issues. 'action' looks for all widgets on a page now, goes
1575                  through all passed parameters, tries to match them with the            through all passed parameters, tries to match them with the
1576                  widgets of the page and put them into the semantic box.            widgets of the page and put them into the semantic box.
1577                  Afterwards a list of untouched page parameters are left            Afterwards a list of untouched page parameters are left
1578                  which will be deleted from the semantic box.            which will be deleted from the semantic box.
1579    
1580          * tools/formed/formed/plugins/web/semantic.py: Simplified.          * tools/formed/formed/plugins/web/semantic.py: Simplified.
1581            The NodeComponent is passed as an argument now.            The NodeComponent is passed as an argument now.
# Line 850  Line 1583 
1583          * tools/formed/formed/plugins/web/renderer.py: Generate a          * tools/formed/formed/plugins/web/renderer.py: Generate a
1584            hidden field to store the name of the page.            hidden field to store the name of the page.
1585    
1586  2007-08-21 Sascha L. Teichmann <[email protected]>  2007-08-21      Sascha L. Teichmann <[email protected]>
1587    
1588          * tools/formed/formed/plugins/web/plugin.py: Fixed an encoding          * tools/formed/formed/plugins/web/plugin.py: Fixed an encoding
1589            issue with incoming UTF-8 data.            issue with incoming UTF-8 data.
1590    
1591  2007-08-21 Sascha L. Teichmann <[email protected]>  2007-08-21      Sascha L. Teichmann <[email protected]>
1592    
1593          * tools/formed/test-data/simple.xml: Improve test for widgets          * tools/formed/test-data/simple.xml: Improve test for widgets
1594            in switches.            in switches.
1595    
1596          * tools/formed/formed/model/data.py: Added a method to find all          * tools/formed/formed/model/data.py: Added a method to find all
1597            widgets in a given page. Fixed a bug when walking in switch            widgets in a given page. Fixed a bug when walking in switch
1598                  with a given mode.            with a given mode.
1599    
1600          * tools/formed/formed/plugins/web/plugin.py: Simple test for          * tools/formed/formed/plugins/web/plugin.py: Simple test for
1601            listing all widgets in page.            listing all widgets in page.
1602    
1603  2007-08-21 Torsten Irlaender <[email protected]>  2007-08-21      Torsten Irlaender <[email protected]>
1604    
1605          * tools/formed/formed/plugins/names/filter.py: Fixed file-encoding to          * tools/formed/formed/plugins/names/filter.py: Fixed file-encoding to
1606            latin-1            latin-1
1607    
1608  2007-08-21 Sascha L. Teichmann <[email protected]>  2007-08-21      Sascha L. Teichmann <[email protected]>
1609    
1610          * tools/formed/formed/model/data.py: Added mode parameter to          * tools/formed/formed/model/data.py: Added mode parameter to
1611            walk.            walk.
1612                              
1613          * tools/formed/formed/model/nodecomponents.py: SwitchNode overwrites          * tools/formed/formed/model/nodecomponents.py: SwitchNode overwrites
1614            walk() with usage of the new mode parameter. Added a method to            walk() with usage of the new mode parameter. Added a method to
1615                  give children in a given mode.            give children in a given mode.
1616    
1617          * tools/formed/formed/plugins/web/renderer.py: Simplified to use          * tools/formed/formed/plugins/web/renderer.py: Simplified to use
1618            new Switch.childrenInMode() method.            new Switch.childrenInMode() method.
1619    
1620  2007-08-21 Sascha L. Teichmann <[email protected]>  2007-08-21      Sascha L. Teichmann <[email protected]>
1621    
1622          * tools/formed/formed/plugins/web/semantic.py: Add checks for          * tools/formed/formed/plugins/web/semantic.py: Add checks for
1623            texts and text areas.            texts and text areas.
# Line 892  Line 1625 
1625          * tools/formed/formed/plugins/web/renderer.py: Set accept-charset          * tools/formed/formed/plugins/web/renderer.py: Set accept-charset
1626            to UTF-8 in generated form.            to UTF-8 in generated form.
1627    
1628  2007-08-20 Sascha L. Teichmann <[email protected]>  2007-08-20      Sascha L. Teichmann <[email protected]>
1629    
1630          * tools/formed/formed/plugins/web/semantic.py: Added semantic          * tools/formed/formed/plugins/web/semantic.py: Added semantic
1631            tests for dates.            tests for dates.
1632    
1633  2007-08-20 Sascha L. Teichmann <[email protected]>          2007-08-20      Sascha L. Teichmann <[email protected]>  
1634    
1635          * tools/formed/test-data/simple.xml: Tweak a bit for integer          * tools/formed/test-data/simple.xml: Tweak a bit for integer
1636            range test.            range test.
# Line 911  Line 1644 
1644          * tools/formed/formed/plugins/web/plugin.py: Use semantic          * tools/formed/formed/plugins/web/plugin.py: Use semantic
1645            check.            check.
1646    
1647  2007-08-20      Torsten Irlaender <[email protected]>  2007-08-20      Torsten Irlaender <[email protected]>
1648    
1649          * tools/formed/formed/plugins/web/renderer.py: Fixed Syntax in          * tools/formed/formed/plugins/web/renderer.py: Fixed Syntax in
1650            selection-field generation (Removed quote)            selection-field generation (Removed quote)
# Line 924  Line 1657 
1657            renderer. This submit parameters are stored in the            renderer. This submit parameters are stored in the
1658            session now. This will ease testing the constraint            session now. This will ease testing the constraint
1659            tests which need to be written soon.            tests which need to be written soon.
1660                              
1661            BEWARE: The session management is _not_ made for production!            BEWARE: The session management is _not_ made for production!
1662            Denial of service attacks are too easy, and the            Denial of service attacks are too easy, and the
1663            cryptographical strength of the session id is doubtful.            cryptographical strength of the session id is doubtful.
# Line 942  Line 1675 
1675            and can be hooked automatically into the new 'Filters'            and can be hooked automatically into the new 'Filters'
1676            sub menu under 'Extra'. They got called when the user            sub menu under 'Extra'. They got called when the user
1677            selects their respective menu item.            selects their respective menu item.
1678                              
1679          * tools/formed/formed/config.py: Contains the list of          * tools/formed/formed/config.py: Contains the list of
1680            installed filters.            installed filters.
1681    
# Line 1003  Line 1736 
1736    
1737          * tools/formed/formed/main.py: Swaped order of          * tools/formed/formed/main.py: Swaped order of
1738            'Make names unique' and 'Selected mode...' in Extra            'Make names unique' and 'Selected mode...' in Extra
1739                  menu and put a separator between them.            menu and put a separator between them.
1740    
1741  2007-08-15      Sascha L. Teichmann <[email protected]>  2007-08-15      Sascha L. Teichmann <[email protected]>
1742    
# Line 1012  Line 1745 
1745    
1746          * tools/formed/formed/plugins/plugin.py: Simplified          * tools/formed/formed/plugins/plugin.py: Simplified
1747            the plug-in interface. Only the reference to the            the plug-in interface. Only the reference to the
1748                  global configuration is passed at setup time.            global configuration is passed at setup time.
1749    
1750          * tools/formed/formed/plugins/web/plugin.py: Adjusted          * tools/formed/formed/plugins/web/plugin.py: Adjusted
1751            to new plug-in setup. The traveral mode is now taken            to new plug-in setup. The traveral mode is now taken
1752                  from the global configuration each time a rendering            from the global configuration each time a rendering
1753                  is triggered. The FORMED parameter is now named            is triggered. The FORMED parameter is now named
1754                  'doc.mode' instead of 'web.mode'. The parameter            'doc.mode' instead of 'web.mode'. The parameter
1755                  is not needed any more because it can be configured            is not needed any more because it can be configured
1756                  at runtime.            at runtime.
1757    
1758          * tools/formed/formed/main.py: Adjusted to new plugin          * tools/formed/formed/main.py: Adjusted to new plugin
1759            setup. Added a new menu item Extra->Select Mode...            setup. Added a new menu item Extra->Select Mode...
1760                  to select the traversal mode. It is stored in the            to select the traversal mode. It is stored in the
1761                  global config.            global config.
1762    
1763          * tools/formed/formed/config.py: Simplified. Only uses          * tools/formed/formed/config.py: Simplified. Only uses
1764            one env dictionary to store global configuration parameters.            one env dictionary to store global configuration parameters.
# Line 1037  Line 1770 
1770    
1771          * tools/formed/formed/plugins/web/plugin.py,          * tools/formed/formed/plugins/web/plugin.py,
1772            tools/formed/formed/plugins/web/renderer.py: Added parameter            tools/formed/formed/plugins/web/renderer.py: Added parameter
1773                  print out in web plugin.            print out in web plugin.
1774    
1775  2007-08-15      Torsten Irlaender <[email protected]>  2007-08-15      Torsten Irlaender <[email protected]>
1776    
# Line 1055  Line 1788 
1788    
1789          * tools/formed/formed/plugins/web/plugin.py,          * tools/formed/formed/plugins/web/plugin.py,
1790            tools/formed/formed/config.py: Added a 'web.mode' parameter            tools/formed/formed/config.py: Added a 'web.mode' parameter
1791                  to FORMED environment variable.            to FORMED environment variable.
1792                  e.g. 'FORMED=web.mode:modeX' sets the mode 'modeX'.            e.g. 'FORMED=web.mode:modeX' sets the mode 'modeX'.
1793                  Defaults to 'default'.            Defaults to 'default'.
1794    
1795          * tools/formed/test-data/simple.xml: Added test for switch.          * tools/formed/test-data/simple.xml: Added test for switch.
1796    
# Line 1071  Line 1804 
1804          * tools/formed/formed/io/document.py,          * tools/formed/formed/io/document.py,
1805            tools/formed/formed/model/data.py,            tools/formed/formed/model/data.py,
1806            tools/formed/formed/model/nodecomponents.py: Added an item            tools/formed/formed/model/nodecomponents.py: Added an item
1807                  to model external item lists.            to model external item lists.
1808    
1809          * tools/formed/formed/plugins/web/renderer.py: Render new item          * tools/formed/formed/plugins/web/renderer.py: Render new item
1810            list.            list.
# Line 1088  Line 1821 
1821    
1822          * contrib/extract-xfa-items.sh: New. Can be used to extract longer          * contrib/extract-xfa-items.sh: New. Can be used to extract longer
1823            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
1824                  './contrib/extract-xfa-items.sh Muttersprache alles.xml'            './contrib/extract-xfa-items.sh Muttersprache alles.xml'
1825    
1826  2007-08-12      Sascha L. Teichmann <[email protected]>  2007-08-12      Sascha L. Teichmann <[email protected]>
1827    
1828          * tools/formed/formed/model/data.py,          * tools/formed/formed/model/data.py,
1829            tools/formed/formed/plugins/web/renderer.py,            tools/formed/formed/plugins/web/renderer.py,
1830                  tools/formed/formed/io/document.py: Changed the structure            tools/formed/formed/io/document.py: Changed the structure
1831                  of choice constructs. The idea to hold the different items            of choice constructs. The idea to hold the different items
1832                  of a particular choice in a semicolon separated list was bad.            of a particular choice in a semicolon separated list was bad.
1833                  Now choices are groups and  the option items are modelled as            Now choices are groups and  the option items are modelled as
1834                  embedded bools. (mainly Torsten Irländer's idea).            embedded bools. (mainly Torsten Irländer's idea).
1835    
1836                  WARNING: this makes old document files containing choices incompatible!!!            WARNING: this makes old document files containing choices incompatible!!!
1837                  Use the following XSLT to reestablish compatibility.            Use the following XSLT to reestablish compatibility.
1838                              
1839          * contrib/itemize-choices.xsl: New converts old to new structure.          * contrib/itemize-choices.xsl: New converts old to new structure.
1840            Needs exslt.org's string extensions (which xsltproc includes)            Needs exslt.org's string extensions (which xsltproc includes)
1841    
# Line 1120  Line 1853 
1853    
1854          * tools/formed/formed/model/nodecomponents.py: Added code to clone parts          * tools/formed/formed/model/nodecomponents.py: Added code to clone parts
1855            of the tree.            of the tree.
1856                              
1857          * tools/formed/formed/ui/controls.py: Added a getSelected method.          * tools/formed/formed/ui/controls.py: Added a getSelected method.
1858    
1859          * tools/formed/formed/model/misc.py: Fixed a programming bug.          * tools/formed/formed/model/misc.py: Fixed a programming bug.
# Line 1143  Line 1876 
1876    
1877          * tools/formed/formed/model/nodecomponents.py: Added walk generator over all          * tools/formed/formed/model/nodecomponents.py: Added walk generator over all
1878            items in the document tree. Added a method to eliminated duplicated names            items in the document tree. Added a method to eliminated duplicated names
1879                  in document tree.            in document tree.
1880    
1881          * tools/formed/formed/model/misc.py: Added update mechanism for id generator          * tools/formed/formed/model/misc.py: Added update mechanism for id generator
1882            after names collisions are eliminated.            after names collisions are eliminated.
# Line 1155  Line 1888 
1888    
1889          * tools/formed/formed/model/data.py,          * tools/formed/formed/model/data.py,
1890            tools/formed/formed/plugins/web/renderer.py: Removed support            tools/formed/formed/plugins/web/renderer.py: Removed support
1891                  for 'text' attributes in bool items. They were never really            for 'text' attributes in bool items. They were never really
1892                  used and the 'description' attributes fulfill the same            used and the 'description' attributes fulfill the same
1893                  purpose.            purpose.
1894    
1895          * contrib/remove-bool-text.xsl: Transform to remove the          * contrib/remove-bool-text.xsl: Transform to remove the
1896            'text' attributes from bool items. Apply with:            'text' attributes from bool items. Apply with:
1897                  'xsltproc contrib/remove-bool-text.xsl old.xml > new.xml'            'xsltproc contrib/remove-bool-text.xsl old.xml > new.xml'
1898    
1899          * tools/formed/test-data/simple.xml: Removed 'text' attributes          * tools/formed/test-data/simple.xml: Removed 'text' attributes
1900            from bool items.            from bool items.
# Line 1180  Line 1913 
1913    
1914          * contrib/convert-choices.xsl: Added to convert document files          * contrib/convert-choices.xsl: Added to convert document files
1915            which use the choice 'option' attribute to usage of 'value'.            which use the choice 'option' attribute to usage of 'value'.
1916                  Apply with e.g. 'xsltproc convert-choices.xsl old.xml > new.xml'            Apply with e.g. 'xsltproc convert-choices.xsl old.xml > new.xml'
1917    
1918  2007-08-10      Sascha L. Teichmann <[email protected]>  2007-08-10      Sascha L. Teichmann <[email protected]>
1919    
# Line 1217  Line 1950 
1950    
1951          * tools/formed/formed/plugins/web/plugin.py: To determine          * tools/formed/formed/plugins/web/plugin.py: To determine
1952            the port look at FORMED dictionary first. Key is 'web.port'.            the port look at FORMED dictionary first. Key is 'web.port'.
1953                  e.g. FORMED='web.port:8888'            e.g. FORMED='web.port:8888'
1954    
1955          * tools/formed/formed/main.py: Call the plugin setup with          * tools/formed/formed/main.py: Call the plugin setup with
1956            the reference to the config.            the reference to the config.
# Line 1297  Line 2030 
2030    
2031          * tools/formed/formed/model/data.py,          * tools/formed/formed/model/data.py,
2032            tools/formed/formed/model/nodecomponents.py: Added new            tools/formed/formed/model/nodecomponents.py: Added new
2033                  attributes.            attributes.
2034    
2035          * tools/formed/formed/plugins/web/plugin.py: Added rendering          * tools/formed/formed/plugins/web/plugin.py: Added rendering
2036            for checkboxes and radio buttons.            for checkboxes and radio buttons.
# Line 1326  Line 2059 
2059    
2060          * tools/formed/formed/plugins/web/plugin.py: Added a first          * tools/formed/formed/plugins/web/plugin.py: Added a first
2061            version of a recursive HTML renderer based on the document            version of a recursive HTML renderer based on the document
2062                  tree.            tree.
2063    
2064  2007-08-08      Sascha L. Teichmann <[email protected]>  2007-08-08      Sascha L. Teichmann <[email protected]>
2065    
# Line 1355  Line 2088 
2088    
2089          * tools/formed/formed/main.py: Added event route document ->          * tools/formed/formed/main.py: Added event route document ->
2090            attribute table to get informed when selected item is delete            attribute table to get informed when selected item is delete
2091                  or an attribute is changed from the outside.            or an attribute is changed from the outside.
2092    
2093          * tools/formed/formed/ui/controls.py: Fixed. In older versions of          * tools/formed/formed/ui/controls.py: Fixed. In older versions of
2094            wxPython 2.6.x ListCtrl.InsertStringItem takes 2 instead            wxPython 2.6.x ListCtrl.InsertStringItem takes 2 instead
2095                  of 3 argument. Uses icons+tooltips for tree navigation now.            of 3 argument. Uses icons+tooltips for tree navigation now.
2096    
2097  2007-08-07      Sascha L. Teichmann <[email protected]>  2007-08-07      Sascha L. Teichmann <[email protected]>
2098    
# Line 1407  Line 2140 
2140    
2141          * tools/formed/formed/ui/controls.py: Establish sort order          * tools/formed/formed/ui/controls.py: Establish sort order
2142            by indices of children in parent instead of alphanum.            by indices of children in parent instead of alphanum.
2143                  Code to move items up and down the document tree.            Code to move items up and down the document tree.
2144    
2145          * tools/formed/formed/io/document.py: Added missing imports.          * tools/formed/formed/io/document.py: Added missing imports.
2146    
# Line 1420  Line 2153 
2153    
2154          * tools/formed/formed/main.py,          * tools/formed/formed/main.py,
2155            tools/formed/formed/ui/controls.py: Added control to            tools/formed/formed/ui/controls.py: Added control to
2156                  move items around in tree. Has no effect by now.            move items around in tree. Has no effect by now.
2157    
2158  2007-08-05      Sascha L. Teichmann <[email protected]>  2007-08-05      Sascha L. Teichmann <[email protected]>
2159    
# Line 1436  Line 2169 
2169    
2170          * tools/formed/*: initial check-in of the Formular Editor.          * tools/formed/*: initial check-in of the Formular Editor.
2171            Not working yet. Only can load, view and store formular XML files.            Not working yet. Only can load, view and store formular XML files.
2172                  Start it with 'tools/formed/formed.sh'.            Start it with 'tools/formed/formed.sh'.

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

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26