/[formed]/trunk/ChangeLog
ViewVC logotype

Diff of /trunk/ChangeLog

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

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

Legend:
Removed from v.158  
changed lines
  Added in v.358

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26