/[formed]/trunk/ChangeLog
ViewVC logotype

Diff of /trunk/ChangeLog

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

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

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

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26