/[formed]/trunk/ChangeLog
ViewVC logotype

Diff of /trunk/ChangeLog

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

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

Legend:
Removed from v.172  
changed lines
  Added in v.285

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26