/[formed]/trunk/ChangeLog
ViewVC logotype

Diff of /trunk/ChangeLog

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

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

Legend:
Removed from v.157  
changed lines
  Added in v.308

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26