/[formed]/trunk/ChangeLog
ViewVC logotype

Annotation of /trunk/ChangeLog

Parent Directory Parent Directory | Revision Log Revision Log


Revision 354 - (hide annotations)
Wed Apr 7 07:08:37 2010 UTC (14 years, 10 months ago) by torsten
File size: 98817 byte(s)
Updated ChangeLog

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

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26