/[formed]/trunk/ChangeLog
ViewVC logotype

Annotation of /trunk/ChangeLog

Parent Directory Parent Directory | Revision Log Revision Log


Revision 116 - (hide annotations)
Fri Aug 31 13:54:12 2007 UTC (17 years, 5 months ago) by teichmann
File size: 33595 byte(s)
Added an exporter for SQL table views.
1 teichmann 116 2007-08-31 Sascha L. Teichmann <[email protected]>
2 teichmann 115
3 teichmann 116 * tools/formed/formed/model/nodecomponents.py: use discard()
4     instead of remove on sets.
5    
6     * tools/formed/formed/plugins/export/sql.py: Added an
7     exporter for table views.
8    
9     * tools/formed/formed/config.py: Added the new exporter
10     to the list of export filters.
11    
12     2007-08-30 Sascha L. Teichmann <[email protected]>
13    
14 teichmann 115 * tools/formed/formed/model/data.py: Fixed a bug in
15     Page.allWidgets()
16    
17     * tools/formed/formed/plugins/export/sql.py: Added an exporter
18     for stored procudeures.
19    
20     * tools/formed/formed/config.py: Add the new SP exporter.
21    
22 torsten 112 2007-08-29 Torsten Irlaender <[email protected]>
23 frank 111
24 torsten 113 * tools/formed/formed/plugins/web/plugin.py,
25     tools/formed/formed/plugins/web/error_renderer.py: Added interface
26     to get the errors for a whole page in te formular. These errors can
27     now be displayed on the top of the formular.
28    
29     2007-08-29 Torsten Irlaender <[email protected]>
30    
31 torsten 112 * tools/formed/formed/plugins/web/renderer.py: Finished implementation
32     of the getFromData interface and prepared the rederer for generating
33     nice error messages
34    
35     2007-08-28 Frank Koormann <[email protected]>
36    
37 frank 111 * tools/formed/formed/plugins/export/sql.py
38     (SchemaCreator.createSchema, SchemaCreator._createGroup):
39     Fixed typo in created DDS (PRIMRAY -> PRIMARY)
40    
41 torsten 110 2007-08-28 Torsten Irlaender <[email protected]>
42    
43     * tools/formed/formed/plugins/export/sql.py: Added small helper
44     function to generated valid quotes within the sql statements
45    
46 teichmann 106 2007-08-29 Sascha L. Teichmann <[email protected]>
47    
48 teichmann 109 * tools/formed/formed/plugins/export/sql.py: Added foreign keys
49     for repeat tables.
50    
51     2007-08-29 Sascha L. Teichmann <[email protected]>
52    
53 teichmann 108 * tools/formed/formed/plugins/export/sql.py: When generating
54     an extra table check in a table of same content exists. In
55     this case reference the existing table.
56    
57     2007-08-29 Sascha L. Teichmann <[email protected]>
58    
59 teichmann 107 * tools/formed/formed/plugins/export/sql.py: Rewritten to produce
60     _real_ SQL and respect repeat groups.
61    
62     * tools/formed/formed/model/data.py: Fixed bug with Group.isRepeat()
63    
64     * tools/formed/formed/plugins/web/renderer.py: Use "".join([])
65     instead of expensive += string concat in some places.
66    
67     2007-08-29 Sascha L. Teichmann <[email protected]>
68    
69 teichmann 106 * tools/formed/formed/model/data.py: Renamed GroupNode.getRepeat()
70     to .isRepeat and return a bool. Fixed a bug in Page.allWidgets().
71    
72 torsten 105 2007-08-28 Torsten Irlaender <[email protected]>
73    
74     * tools/formed/plugins/web/renderer.py: Added Formdata interface.
75     * tools/formed/model/data.py: Implements Formadata interface to
76     textfields. Fieldset generated depends now on the "invisible"
77     attribute of the groupnode. Field-label generation slightly changed.
78     Added error indication to textfields
79    
80 teichmann 102 2007-08-28 Sascha L. Teichmann <[email protected]>
81    
82 teichmann 104 * tools/formed/formed/model/data.py,
83     tools/formed/formed/io/document.py: Removed support
84     of logical groups.
85    
86     2007-08-28 Sascha L. Teichmann <[email protected]>
87    
88 teichmann 103 * tools/formed/formed/io/document.py: Avoid saving empty
89     attributes.
90    
91     * tools/formed/test-data/simple.xml: Applied.
92    
93     2007-08-28 Sascha L. Teichmann <[email protected]>
94    
95 teichmann 102 * tools/formed/formed/model/data.py: Added 'repeat' and
96     'invisible' attributes to group. TODO: remove logical group.
97    
98 torsten 101 2007-08-27 Torsten Irlaender <[email protected]>
99 teichmann 96
100 torsten 101 * tools/formed/plugins/web/plugin.py,
101     tools/formed/plugins/web/renderer.py: Started to include stylesheet
102     depending tags in the html generation.
103    
104 teichmann 102 2007-08-27 Sascha L. Teichmann <[email protected]>
105 torsten 101
106 teichmann 99 * tools/formed/formed/model/data.py,
107     tools/formed/formed/io/document.py: Added a logical group.
108     It has an attribute 'repeat' to indicate that it might
109     be worthy an external table in DB schema.
110    
111     2007-08-27 Sascha L. Teichmann <[email protected]>
112    
113 teichmann 98 * tools/formed/formed/plugins/web/plugin.py: Support
114     serving of static content.
115    
116     * tools/formed/formed/plugins/web/server.py: Removed
117     old send code.
118    
119     2007-08-27 Sascha L. Teichmann <[email protected]>
120    
121 teichmann 97 * tools/formed/formed/plugins/web/plugin.py: Use new
122     Response object. Fix typo.
123    
124     * tools/formed/formed/plugins/web/server.py: support
125     response object to serve different MIME types.
126    
127     2007-08-27 Sascha L. Teichmann <[email protected]>
128    
129 teichmann 96 * tools/formed/formed/plugins/web/plugin.py: Add web.path
130     to FORMED environment variable to specify the
131     root of the static content.
132    
133 teichmann 93 2007-08-26 Sascha L. Teichmann <[email protected]>
134    
135 teichmann 95 * tools/formed/formed/model/data.py,
136     tools/formed/formed/model/nodecomponents.py: Fixed mode issues.
137    
138     * tools/formed/formed/plugins/web/www,
139     tools/formed/formed/plugins/web/www/main.tmpl: New. Contains
140     a template for the HTML output.
141    
142     * tools/formed/formed/plugins/web/plugin.py: Fixes several smaller
143     mode issues. Introduces CSS support. Simplified the action
144     handling.
145    
146     * tools/formed/formed/plugins/web/renderer.py: Removed the
147     nagivation code.
148    
149     * tools/formed/formed/plugins/web/server.py: Added missing import.
150    
151     2007-08-26 Sascha L. Teichmann <[email protected]>
152    
153 teichmann 94 * tools/formed/formed/model/data.py: Added missing broadcast
154     parameter to setAttribute() of RuleLeaf.
155    
156     * tools/formed/formed/plugins/web/plugin.py: Factorize
157     HTTP server code out to separate module.
158    
159     * tools/formed/formed/plugins/web/renderer.py: Removed
160     needless -1 from pop()
161    
162     * tools/formed/formed/plugins/web/server.py: New. Contains
163     the HTTP server code now.
164    
165     2007-08-26 Sascha L. Teichmann <[email protected]>
166    
167 teichmann 93 * tools/formed/test-data/simple.xml: Modified to contain a rule.
168    
169     * tools/formed/formed/model/expr.py: Added. A simple RPN
170     expression evaluator. To avoid the problem of eval()ing
171     arbitrary python expressions I've decided to use a very
172     basic and limited stack machine to support rule checking.
173    
174     * tools/formed/formed/model/data.py: Added a RuleLeaf.
175    
176     * tools/formed/formed/io/document.py: Added factories for rules.
177    
178     * tools/formed/formed/model/nodecomponents.py: Add a method
179     to find all items of a given type in document for a given
180     mode. Usefull to find all rules in the tree.
181    
182     * tools/formed/formed/ui/controls.py: Added a listener mechanism
183     to attribute table to report exceptions when setting a value
184     from GUI. Useful to report compilation errors when setting
185     expr of rule leafs.
186    
187     * tools/formed/formed/main.py: Added a method to track exceptions
188     from the attribute table and pop up dialogs if they occur.
189     Added a counter of rule modifications in tree. Useful if you
190     want build cached data structures like rule sets and you want
191     to know if they are still valid.
192    
193 torsten 90 2007-08-24 Torsten Irlaender <[email protected]>
194    
195 torsten 92 * tools/formed/formed/plugins/export/sql.py: Fixed CHECK-constraint
196     for checkbox values. (Syntax error).
197    
198     * tools/formed/formed/plugins/names/filter.py: Fixes in formularname
199     generation
200    
201     2007-08-24 Torsten Irlaender <[email protected]>
202    
203 torsten 90 * tools/formed/formed/plugins/names/filter.py: Separated Class for
204     making the formularnames more database friendly. Added some more
205     checks.
206     * tools/formed/formed/plugins/export/sql.py: Make use of the fresh
207     separated class, and some fixes in sql generation.
208    
209 teichmann 86 2007-08-24 Sascha L. Teichmann <[email protected]>
210    
211 teichmann 89 * tools/formed/formed/plugins/export/html.py: Print lengths
212     of external choice list.
213    
214     2007-08-24 Sascha L. Teichmann <[email protected]>
215    
216 teichmann 88 * tools/formed/formed/main.py: Little workaround for
217     mode selection if someone adds an removes a mode.
218    
219     2007-08-24 Sascha L. Teichmann <[email protected]>
220    
221 teichmann 87 * tools/formed/test-data/simple.xml: Better test case for
222     mode depended leaf items.
223    
224     * tools/formed/formed/model/nodecomponents.py: Added a method
225     to calculate the effective mode of an item.
226    
227     * tools/formed/formed/plugins/export/html.py: Use effective
228     mode. TODO: the 'all' modus return false results sometimes.
229     Cause: The modes are only cumulated over time. Removal is
230     not done.
231    
232     2007-08-24 Sascha L. Teichmann <[email protected]>
233    
234 teichmann 86 * tools/formed/formed/plugins/export/html.py: Dump the items
235     of radio groups and choices too.
236    
237 torsten 85 2007-08-24 Torsten Irlaender <[email protected]>
238    
239     * tools/formed/formed/plugins/names/filter.py: Modified the renaming
240     by formular names to make the naming more database friendly.
241     Now only alphanumeric and underscore chars is allowed.
242    
243 teichmann 84 2007-08-24 Sascha L. Teichmann <[email protected]>
244    
245     * tools/formed/formed/plugins/export/html.py: Tweaked
246     HTML table exporter a bit to be on par with the XSLT
247     script. TODO: Dump items in radio and choice groups.
248    
249 teichmann 83 2007-08-23 Sascha L. Teichmann <[email protected]>
250    
251     * tools/formed/formed/plugins/names/filter.py: Removed
252     HTML and SQL exporters.
253    
254     * tools/formed/formed/plugins/export,
255     tools/formed/formed/plugins/export/__init__.py,
256     tools/formed/formed/plugins/export/sql.py,
257     tools/formed/formed/plugins/export/html.py: New: Contain
258     the HTML and the SQL exporters now.
259    
260     * tools/formed/formed/config.py: Use exporters from different
261     package now.
262    
263 torsten 82 2007-08-23 Torsten Irlaender <[email protected]>
264    
265     * tools/formed/formed/plugins/names/filter.py: Added an
266     pseudo SQL export filters. TODO: Move HTML and SQL filter
267     in a new file (formed/plugins/export/htmlexport.py and
268     sqlexport.py?)
269    
270     * tools/formed/formed/config.py: Install the new SQL filter.
271    
272 teichmann 81 2007-08-23 Sascha L. Teichmann <[email protected]>
273    
274     * tools/formed/formed/model/nodecomponents.py: Added a depth()
275     method to determine the depth of particular tree item.
276    
277     * tools/formed/formed/plugins/names/filter.py: Added an
278     HTML export filters. TODO: needs more work.
279    
280     * tools/formed/formed/config.py: Install the new HTML filter.
281    
282 torsten 80 2007-08-23 Torsten Irlaender <[email protected]>
283    
284     * contrib/extract-xfa-fields_and_options.xsl: Added small xsl script
285     to extract fields and options in the XFA Data in teh PDF. This
286     script might me handy to indicate changes between the different
287     formular versions.
288    
289 teichmann 81 2007-08-23 Sascha L. Teichmann <[email protected]>
290 teichmann 73
291 teichmann 79 * tools/formed/formed/main.py: Add an 'all' mode to
292     select all modes. ;-)
293    
294     2007-08-22 Sascha L. Teichmann <[email protected]>
295    
296 teichmann 78 * tools/formed/test-data/simple.xml,
297     tools/formed/formed/model/data.py,
298     tools/formed/formed/plugins/web/plugin.py,
299     tools/formed/formed/plugins/web/renderer.py,
300     tools/formed/formed/io/document.py,
301     tools/formed/formed/main.py: Removed support for switch nodes.
302     BEWARE: This breaks compatibility with older documents!
303    
304     2007-08-22 Sascha L. Teichmann <[email protected]>
305    
306 teichmann 77 * tools/formed/formed/plugins/web/plugin.py: Uses the
307     getSelectedMode() from main now.
308    
309     * tools/formed/formed/main.py: selected mode is now hold
310     in main.
311    
312     * tools/formed/formed/config.py: removed selected mode from
313     env configuration.
314    
315     2007-08-22 Sascha L. Teichmann <[email protected]>
316    
317 teichmann 76 * tools/formed/formed/ui/controls.py: Attributes in GUI attribute
318     table are now alphabetically sorted.
319    
320     2007-08-22 Sascha L. Teichmann <[email protected]>
321    
322 teichmann 75 * tools/formed/formed/model/nodecomponents.py: Added code to
323     establish the new 'modes' recursively.
324    
325     * tools/formed/formed/plugins/plugin.py: Pass main instead
326     of cfg on plug-in start-up.
327    
328     * tools/formed/formed/plugins/web/plugin.py: Use the new
329     'modes' attribute for rendering.
330    
331     * tools/formed/formed/plugins/web/renderer.py: Use decorators
332     to check the new modes.
333    
334     * tools/formed/formed/main.py: Adjusted to new infrastructure.
335    
336     2007-08-22 Sascha L. Teichmann <[email protected]>
337    
338 teichmann 74 * tools/formed/formed/model/nodecomponents.py: Added an
339     attribute 'modes' to NodeComponents.
340    
341     2007-08-22 Sascha L. Teichmann <[email protected]>
342    
343 teichmann 73 * tools/formed/formed/model/data.py: Small cosmetic cleanups
344    
345 teichmann 69 2007-08-21 Sascha L. Teichmann <[email protected]>
346 frank 67
347 teichmann 72 * tools/formed/formed/plugins/web/renderer.py: Another fix
348     for the hidden field. Argh!
349    
350     2007-08-21 Sascha L. Teichmann <[email protected]>
351    
352 teichmann 71 * tools/formed/formed/plugins/web/renderer.py: Fixed double
353     generation of hidden page field.
354    
355     2007-08-21 Sascha L. Teichmann <[email protected]>
356    
357 teichmann 69 * tools/formed/formed/plugins/web/semantic.py: Added semantic
358 teichmann 70 checks for radio groups.
359    
360     2007-08-21 Sascha L. Teichmann <[email protected]>
361    
362     * tools/formed/formed/plugins/web/semantic.py: Added semantic
363 teichmann 69 checks for choices.
364    
365     2007-08-21 Frank Koormann <[email protected]>
366    
367 frank 68 * contrib/convert-formedtree2html.xsl: Display switch nodes as
368     alternatives.
369    
370 teichmann 69 2007-08-21 Frank Koormann <[email protected]>
371 frank 68
372 frank 67 * contrib/convert-formedtree2html.xsl:
373     Replace technical types with readable descriptions
374    
375 teichmann 64 2007-08-21 Sascha L. Teichmann <[email protected]>
376    
377 teichmann 66 * tools/formed/formed/plugins/web/plugin.py: Fix a few smaller
378     issues. 'action' looks for all widgets on a page now, goes
379     through all passed parameters, tries to match them with the
380     widgets of the page and put them into the semantic box.
381     Afterwards a list of untouched page parameters are left
382     which will be deleted from the semantic box.
383    
384     * tools/formed/formed/plugins/web/semantic.py: Simplified.
385     The NodeComponent is passed as an argument now.
386    
387     * tools/formed/formed/plugins/web/renderer.py: Generate a
388     hidden field to store the name of the page.
389    
390     2007-08-21 Sascha L. Teichmann <[email protected]>
391    
392 teichmann 65 * tools/formed/formed/plugins/web/plugin.py: Fixed an encoding
393     issue with incoming UTF-8 data.
394    
395     2007-08-21 Sascha L. Teichmann <[email protected]>
396    
397 teichmann 64 * tools/formed/test-data/simple.xml: Improve test for widgets
398     in switches.
399    
400     * tools/formed/formed/model/data.py: Added a method to find all
401     widgets in a given page. Fixed a bug when walking in switch
402     with a given mode.
403    
404     * tools/formed/formed/plugins/web/plugin.py: Simple test for
405     listing all widgets in page.
406    
407 torsten 63 2007-08-21 Torsten Irlaender <[email protected]>
408    
409     * tools/formed/formed/plugins/names/filter.py: Fixed file-encoding to
410     latin-1
411    
412 teichmann 61 2007-08-21 Sascha L. Teichmann <[email protected]>
413    
414 teichmann 62 * tools/formed/formed/model/data.py: Added mode parameter to
415     walk.
416    
417     * tools/formed/formed/model/nodecomponents.py: SwitchNode overwrites
418     walk() with usage of the new mode parameter. Added a method to
419     give children in a given mode.
420    
421     * tools/formed/formed/plugins/web/renderer.py: Simplified to use
422     new Switch.childrenInMode() method.
423    
424     2007-08-21 Sascha L. Teichmann <[email protected]>
425    
426 teichmann 61 * tools/formed/formed/plugins/web/semantic.py: Add checks for
427     texts and text areas.
428    
429     * tools/formed/formed/plugins/web/renderer.py: Set accept-charset
430     to UTF-8 in generated form.
431    
432 teichmann 60 2007-08-20 Sascha L. Teichmann <[email protected]>
433    
434     * tools/formed/formed/plugins/web/semantic.py: Added semantic
435     tests for dates.
436    
437 teichmann 59 2007-08-20 Sascha L. Teichmann <[email protected]>
438    
439     * tools/formed/test-data/simple.xml: Tweak a bit for integer
440     range test.
441    
442     * tools/formed/formed/model/nodecomponents.py: Added a method
443     to find a tree item for a given name.
444    
445     * tools/formed/formed/plugins/web/semantic.py: New: Box for
446     semantic checking. Has check for integers.
447    
448     * tools/formed/formed/plugins/web/plugin.py: Use semantic
449     check.
450    
451 torsten 58 2007-08-20 Torsten Irlaender <[email protected]>
452    
453     * tools/formed/formed/plugins/web/renderer.py: Fixed Syntax in
454     selection-field generation (Removed quote)
455    
456 teichmann 54 2007-08-18 Sascha L. Teichmann <[email protected]>
457    
458 teichmann 57 * tools/formed/formed/plugins/web/plugin.py,
459     tools/formed/formed/plugins/web/renderer.py: Added a
460     simple cookie based session management to the HTML
461     renderer. This submit parameters are stored in the
462     session now. This will ease testing the constraint
463     tests which need to be written soon.
464    
465     BEWARE: The session management is _not_ made for production!
466     Denial of service attacks are too easy, and the
467     cryptographical strength of the session id is doubtful.
468    
469     2007-08-18 Sascha L. Teichmann <[email protected]>
470    
471 teichmann 56 * tools/formed/formed/plugins/web/renderer.py: Escaping text
472     coming from the document tree now when inserting it into the
473 teichmann 57 HTML output.
474 teichmann 56
475     2007-08-18 Sascha L. Teichmann <[email protected]>
476    
477 teichmann 55 * tools/formed/formed/plugins/plugin.py: Added a new kind
478     of plug-in: Filter. They have a short and a long description
479 teichmann 57 and can be hooked automatically into the new 'Filters'
480     sub menu under 'Extra'. They got called when the user
481     selects their respective menu item.
482 teichmann 55
483     * tools/formed/formed/config.py: Contains the list of
484     installed filters.
485    
486     * tools/formed/formed/main.py: Builds the Extra->Filters
487     sub menu during gui initialization. The hard wired code
488 teichmann 57 for make unique and formular name/description -> name
489     is removed because they are implemented as filters now.
490 teichmann 55
491     * tools/formed/formed/model/nodecomponents.py,
492     tools/formed/formed/model/data.py: Removed the make
493 teichmann 57 unique and formular name/description -> name code.
494 teichmann 55
495     * tools/formed/formed/plugins/names,
496     tools/formed/formed/plugins/names/__init__.py,
497 teichmann 57 tools/formed/formed/plugins/names/filter.py: Added. Contains
498     the make unique and formular name/description -> name code
499     in form of filters.
500 teichmann 55
501     * tools/formed/test-data/simple.xml: Modified to be a better
502     test for the formular name/description -> name filter.
503    
504     2007-08-18 Sascha L. Teichmann <[email protected]>
505    
506 teichmann 54 * tools/formed/formed.py, tools/formed/formed/main.py: First
507     command line argument is interpreted as filename of document
508 teichmann 57 to be loaded at program startup.
509 teichmann 54
510 frank 53 2007-08-17 Frank Koormann <[email protected]>
511    
512     * contrib/convert-formedtree2html.xsl:
513     Heading level depending on depth of group node.
514     In case of radio/choice/check only list of options.
515    
516 torsten 58 2007-08-17 Torsten Irlaender <[email protected]>
517 torsten 50
518 torsten 52 * contrib/convert-formedtree2html.xsl: Output is now generated with
519     HTML doc-string and charset information in the meta-header.
520    
521 torsten 58 2007-08-17 Torsten Irlaender <[email protected]>
522 torsten 52
523 torsten 50 * contrib/convert-formedtree2html.xsl: Added small script for
524     exporting the formed tree to html
525    
526 torsten 49 2007-08-17 Torsten Irlaender <[email protected]>
527    
528     * tools/formed/model/nodecomponents.py: Added function to rename
529     the set the name of the node to the formularname. The formularname
530     gets shorten to <=64 by removing vowels and is stored lowercase.
531     If the name is not unique and additional id value is appended.
532    
533     * tools/formed/formed/model/data.py: Overwritten renaming-function for
534     bool-leafs
535    
536     * tools/formed/formed/main.py: Added menuitem for renaming the names
537     of the element
538    
539 teichmann 47 2007-08-16 Sascha L. Teichmann <[email protected]>
540    
541     * tools/formed/formed/main.py: Swaped order of
542     'Make names unique' and 'Selected mode...' in Extra
543     menu and put a separator between them.
544    
545 teichmann 45 2007-08-15 Sascha L. Teichmann <[email protected]>
546    
547 teichmann 46 * tools/formed/formed/model/data.py: SwitchNodes can add
548     their modes to a given set now.
549    
550     * tools/formed/formed/plugins/plugin.py: Simplified
551     the plug-in interface. Only the reference to the
552     global configuration is passed at setup time.
553    
554     * tools/formed/formed/plugins/web/plugin.py: Adjusted
555     to new plug-in setup. The traveral mode is now taken
556     from the global configuration each time a rendering
557     is triggered. The FORMED parameter is now named
558     'doc.mode' instead of 'web.mode'. The parameter
559     is not needed any more because it can be configured
560     at runtime.
561    
562     * tools/formed/formed/main.py: Adjusted to new plugin
563     setup. Added a new menu item Extra->Select Mode...
564     to select the traversal mode. It is stored in the
565     global config.
566    
567     * tools/formed/formed/config.py: Simplified. Only uses
568     one env dictionary to store global configuration parameters.
569    
570     * tools/formed/formed/ui/controls.py: Add a control to
571     select one item from a list of given strings.
572    
573     2007-08-15 Sascha L. Teichmann <[email protected]>
574    
575 teichmann 45 * tools/formed/formed/plugins/web/plugin.py,
576     tools/formed/formed/plugins/web/renderer.py: Added parameter
577     print out in web plugin.
578    
579 torsten 44 2007-08-15 Torsten Irlaender <[email protected]>
580 teichmann 45
581 torsten 44 * contrib/convert-formedtree2csv.xsl: Added small script for
582     exporting the formed tree to csv
583    
584 teichmann 41 2007-08-14 Sascha L. Teichmann <[email protected]>
585    
586 teichmann 42 * tools/formed/formed/model/data.py,
587     tools/formed/formed/model/nodecomponents.py,
588     tools/formed/formed/io/document.py: Added a 'switch' node.
589    
590     * tools/formed/formed/plugins/web/renderer.py:Render the
591     new 'switch' node.
592    
593     * tools/formed/formed/plugins/web/plugin.py,
594     tools/formed/formed/config.py: Added a 'web.mode' parameter
595     to FORMED environment variable.
596     e.g. 'FORMED=web.mode:modeX' sets the mode 'modeX'.
597     Defaults to 'default'.
598    
599     * tools/formed/test-data/simple.xml: Added test for switch.
600    
601     2007-08-14 Sascha L. Teichmann <[email protected]>
602    
603 teichmann 41 * tools/formed/formed/model/nodecomponents.py: Added an
604     attribute 'formularname' to base class of node components.
605    
606 teichmann 38 2007-08-13 Sascha L. Teichmann <[email protected]>
607    
608 teichmann 40 * tools/formed/formed/io/document.py,
609     tools/formed/formed/model/data.py,
610     tools/formed/formed/model/nodecomponents.py: Added an item
611     to model external item lists.
612    
613     * tools/formed/formed/plugins/web/renderer.py: Render new item
614     list.
615     * tools/formed/formed/main.py: Added a forgotten 'self.'
616    
617     * contrib/extract-xfa-items.sh: Modified to generate
618     documents to be loadable from new item lists
619    
620     2007-08-13 Sascha L. Teichmann <[email protected]>
621    
622 teichmann 39 * tools/formed/formed/main.py: Fixed typo
623    
624     2007-08-13 Sascha L. Teichmann <[email protected]>
625    
626 teichmann 38 * contrib/extract-xfa-items.sh: New. Can be used to extract longer
627     choice item lists for a given field from XFA files. e.g. with
628     './contrib/extract-xfa-items.sh Muttersprache alles.xml'
629    
630 teichmann 33 2007-08-12 Sascha L. Teichmann <[email protected]>
631    
632 teichmann 37 * tools/formed/formed/model/data.py,
633     tools/formed/formed/plugins/web/renderer.py,
634     tools/formed/formed/io/document.py: Changed the structure
635     of choice constructs. The idea to hold the different items
636     of a particular choice in a semicolon separated list was bad.
637     Now choices are groups and the option items are modelled as
638     embedded bools. (mainly Torsten Irländer's idea).
639    
640     WARNING: this makes old document files containing choices incompatible!!!
641     Use the following XSLT to reestablish compatibility.
642    
643     * contrib/itemize-choices.xsl: New converts old to new structure.
644     Needs exslt.org's string extensions (which xsltproc includes)
645    
646     * tools/formed/test-data/simple.xml: Ajusted to new structure
647    
648     * tools/formed/formed/plugins/web/plugin.py: remove debug output
649    
650     * tools/formed/formed/model/nodecomponents.py: fixed a small bug in
651     node finding code. It now uses the walk() generator, too.
652    
653     2007-08-12 Sascha L. Teichmann <[email protected]>
654    
655 teichmann 36 * tools/formed/formed/main.py: Added a clone item on the toolbar which
656     copies the currently selected item and appends it after the selection.
657    
658     * tools/formed/formed/model/nodecomponents.py: Added code to clone parts
659     of the tree.
660    
661     * tools/formed/formed/ui/controls.py: Added a getSelected method.
662    
663     * tools/formed/formed/model/misc.py: Fixed a programming bug.
664     forgot a 'self.' prefix.
665    
666     2007-08-12 Sascha L. Teichmann <[email protected]>
667    
668 teichmann 35 * tools/formed/formed/model/nodecomponents.py: Added a method to append
669     a second document to the current.
670    
671     * tools/formed/formed/main.py: Added an 'Import' file menu item to load
672     a second document to be appended to the current.
673    
674     2007-08-12 Sascha L. Teichmann <[email protected]>
675    
676 teichmann 34 * tools/formed/formed/main.py: Added a 'New' item in file menu which creates
677     a new document when triggered.
678    
679     2007-08-12 Sascha L. Teichmann <[email protected]>
680    
681 teichmann 33 * tools/formed/formed/model/nodecomponents.py: Added walk generator over all
682     items in the document tree. Added a method to eliminated duplicated names
683     in document tree.
684    
685     * tools/formed/formed/model/misc.py: Added update mechanism for id generator
686     after names collisions are eliminated.
687    
688     * tools/formed/formed/main.py: Added an 'Extra' menu with item
689     'Make names unique'.
690    
691 teichmann 30 2007-08-11 Sascha L. Teichmann <[email protected]>
692    
693 teichmann 32 * tools/formed/formed/model/data.py,
694     tools/formed/formed/plugins/web/renderer.py: Removed support
695     for 'text' attributes in bool items. They were never really
696     used and the 'description' attributes fulfill the same
697     purpose.
698    
699     * contrib/remove-bool-text.xsl: Transform to remove the
700     'text' attributes from bool items. Apply with:
701     'xsltproc contrib/remove-bool-text.xsl old.xml > new.xml'
702    
703     * tools/formed/test-data/simple.xml: Removed 'text' attributes
704     from bool items.
705    
706     2007-08-11 Sascha L. Teichmann <[email protected]>
707    
708 teichmann 31 * contrib/convert-choices.xsl: Simpified.
709    
710     2007-08-11 Sascha L. Teichmann <[email protected]>
711    
712 teichmann 30 * tools/formed/formed/model/data.py: Removed 'options' attribute
713     from ChoiceLeaf. Use 'value' instead, please!
714    
715     * tools/formed/formed/plugins/web/renderer.py: use 'value' attribute
716     instead of 'options' to render choices.
717    
718     * contrib/convert-choices.xsl: Added to convert document files
719     which use the choice 'option' attribute to usage of 'value'.
720     Apply with e.g. 'xsltproc convert-choices.xsl old.xml > new.xml'
721    
722 teichmann 23 2007-08-10 Sascha L. Teichmann <[email protected]>
723    
724 teichmann 29 * tools/formed/formed/plugins/web/renderer.py: radio buttons
725     are selected by 'checked' and not by 'selected'. Fixed.
726    
727     2007-08-10 Sascha L. Teichmann <[email protected]>
728    
729 teichmann 28 * tools/formed/formed/model/data.py: ChoiceLeafs are now
730     initialized with size = 1.
731    
732     2007-08-10 Sascha L. Teichmann <[email protected]>
733    
734 teichmann 27 * tools/formed/formed/model/data.py: TextLeafs are now
735     initialized with size = 40, maxlength = 60
736    
737     2007-08-10 Sascha L. Teichmann <[email protected]>
738    
739 teichmann 26 * tools/formed/formed/plugins/web/renderer.py: Fixed: choices
740     are renderered with description now.
741    
742     2007-08-10 Sascha L. Teichmann <[email protected]>
743    
744 teichmann 25 * tools/formed/formed/plugins/web/renderer.py: Added rendering
745     for date items. Added missing ids for texts and textareas.
746    
747     2007-08-10 Sascha L. Teichmann <[email protected]>
748    
749 teichmann 24 * tools/formed/formed/config.py: Evaluate the environment
750     variable 'FORMED'. Snytax: FORMED='key1:value1;key2:value2'
751    
752     * tools/formed/formed/plugins/plugin.py: Give a reference
753     to the config at setup time.
754    
755     * tools/formed/formed/plugins/web/plugin.py: To determine
756     the port look at FORMED dictionary first. Key is 'web.port'.
757     e.g. FORMED='web.port:8888'
758    
759     * tools/formed/formed/main.py: Call the plugin setup with
760     the reference to the config.
761    
762     2007-08-10 Sascha L. Teichmann <[email protected]>
763    
764 teichmann 23 * tools/formed/test-data/simple.xml: removed 'text' attributes from
765     info tags. Use the 'value' attributes for same purpose now, please!
766    
767     * tools/formed/formed/model/data.py: removed text attributes from
768     InfoLeaf.
769    
770     * tools/formed/formed/plugins/web/renderer.py: Rendering of info
771     now uses the 'value' instead of the 'text' attributes.
772    
773 teichmann 17 2007-08-09 Sascha L. Teichmann <[email protected]>
774 teichmann 10
775 teichmann 22 * tools/formed/formed/model/data.py: next/prevPage() are
776     methods of PageNode now.
777    
778     * tools/formed/formed/model/nodecomponents.py: findByClassAndName()
779     is method of Document now.
780    
781     * tools/formed/formed/plugins/web/plugin.py: Factored out
782     the HTML renderer.
783    
784     * tools/formed/formed/plugins/web/renderer.py: New: contains
785     the HTML renderer now.
786    
787     * tools/formed/test-data/simple.xml: Fixed typo
788    
789     2007-08-09 Sascha L. Teichmann <[email protected]>
790    
791 teichmann 21 * tools/formed/formed/plugins/web/plugin.py: Fixed a bug
792     in calculation of width of bounded int fields.
793    
794     2007-08-09 Sascha L. Teichmann <[email protected]>
795    
796 teichmann 20 * tools/formed/test-data/simple.xml: Make demo Int fancier.
797    
798     * tools/formed/formed/model/data.py: Added attributes to IntLeaf
799    
800     * tools/formed/formed/plugins/web/plugin.py: Added rendering for
801     Ints
802    
803     2007-08-09 Sascha L. Teichmann <[email protected]>
804    
805 teichmann 19 * tools/formed/test-data/simple.xml: Added demo textarea
806    
807     * tools/formed/formed/model/data.py: Added TextAreaLeaf
808    
809     * tools/formed/formed/io/document.py: register builder
810     for loading of textareas
811    
812     * tools/formed/formed/plugins/web/plugin.py: Added rendering
813     for textareas.
814    
815     2007-08-09 Sascha L. Teichmann <[email protected]>
816    
817 teichmann 18 * tools/formed/test-data/simple.xml: Make demo choice fancier.
818 teichmann 17
819 teichmann 18 * tools/formed/formed/model/data.py: Added attributes for texts
820    
821     * tools/formed/formed/plugins/web/plugin.py: Added rendering
822     for texts
823 teichmann 17
824 teichmann 18 2007-08-09 Sascha L. Teichmann <[email protected]>
825    
826     * tools/formed/test-data/simple.xml: Make demo choice fancier.
827    
828     * tools/formed/formed/model/data.py: Added attributes for choices.
829    
830 teichmann 17 * tools/formed/formed/plugins/web/plugin.py: Added rendering
831     for choices
832    
833     2007-08-09 Sascha L. Teichmann <[email protected]>
834    
835 teichmann 16 * tools/formed/formed/model/data.py,
836     tools/formed/formed/model/nodecomponents.py: Added new
837     attributes.
838    
839     * tools/formed/formed/plugins/web/plugin.py: Added rendering
840     for checkboxes and radio buttons.
841    
842     2007-08-08 Sascha L. Teichmann <[email protected]>
843    
844 teichmann 15 * tools/formed/test-data/simple.xml: Added some descriptions
845    
846     * tools/formed/formed/model/data.py: set attributes in constructors
847     directly.
848    
849     * tools/formed/formed/model/nodecomponents.py: Added description
850     attribute in the NodeComponent base class.
851    
852     * tools/formed/formed/plugins/web/plugin.py: Render description
853     as legend in fieldset for GroupNodes.
854    
855     2007-08-08 Sascha L. Teichmann <[email protected]>
856    
857 teichmann 14 * tools/formed/formed/plugins/web/plugin.py: make UTF-8
858     output work.
859    
860     2007-08-08 Sascha L. Teichmann <[email protected]>
861    
862 teichmann 12 * tools/formed/formed/model/data.py: Added get/setText() method
863    
864     * tools/formed/formed/plugins/web/plugin.py: Added a first
865     version of a recursive HTML renderer based on the document
866     tree.
867    
868     2007-08-08 Sascha L. Teichmann <[email protected]>
869    
870 teichmann 11 * tools/formed/formed/plugins/*: New: plug-in infrastructure.
871    
872     * tools/formed/formed/plugins/web/*: new: A simple web server
873     which is intended to serve pages of the current formular.
874    
875     * tools/formed/formed/main.py: start the plug-ins
876    
877     * tools/formed/formed/config.py: configuration class. Used
878     for the plug-ins.
879    
880     2007-08-08 Sascha L. Teichmann <[email protected]>
881    
882 teichmann 10 * tools/formed/formed/model/nodecomponents.py: Fixed broadcasting
883     issue with zero length tree paths.
884    
885     * tools/formed/formed/model/misc.py: New: contains a class
886     for generating unique ids.
887    
888     * tools/formed/formed/main.py: Added an instance of an
889     unique id generator for naming of new made tree items.
890    
891 teichmann 7 2007-08-07 Sascha L. Teichmann <[email protected]>
892    
893 teichmann 9 * tools/formed/formed/main.py: Added event route document ->
894     attribute table to get informed when selected item is delete
895     or an attribute is changed from the outside.
896    
897     * tools/formed/formed/ui/controls.py: Fixed. In older versions of
898     wxPython 2.6.x ListCtrl.InsertStringItem takes 2 instead
899     of 3 argument. Uses icons+tooltips for tree navigation now.
900    
901     2007-08-07 Sascha L. Teichmann <[email protected]>
902    
903 teichmann 8 * tools/formed/formed/model/nodecomponents.py: Set name
904     attribute in base class.
905    
906     * tools/formed/formed/io/document.py: Added a table
907     names -> classes.
908    
909     * tools/formed/formed/main.py: Added a toolbar. Added code
910     to create and delete tree items.
911    
912     * tools/formed/formed/ui/controls.py: Added code to
913     insert and delete new tree items.
914    
915     2007-08-07 Sascha L. Teichmann <[email protected]>
916    
917 teichmann 7 * tools/formed/formed/model/nodecomponents.py: Fixed event
918     broadcasting for attribute changes.
919    
920     * tools/formed/formed/ui/controls.py: Add a list/table control to
921     edit the attributes of a selected item.
922    
923     * tools/formed/formed/main.py: Added code to bind the new
924     list/table control.
925    
926 teichmann 4 2007-08-06 Sascha L. Teichmann <[email protected]>
927    
928 teichmann 6 * tools/formed/formed/main.py: Added event routes to move
929     items in and out of groups.
930    
931     * tools/formed/formed/ui/controls.py: Added code to move
932     items in and out of groups.
933    
934     2007-08-06 Sascha L. Teichmann <[email protected]>
935    
936 teichmann 5 * tools/formed/formed/model/nodecomponents.py: Fixed path
937     calculation to root and event broadcasting
938    
939     * tools/formed/formed/io/factories.py: Adjust to new
940     event broadcasting.
941    
942     * tools/formed/formed/main.py: Added code to move items
943     up and down the document tree.
944    
945     * tools/formed/formed/ui/controls.py: Establish sort order
946     by indices of children in parent instead of alphanum.
947     Code to move items up and down the document tree.
948    
949     * tools/formed/formed/io/document.py: Added missing imports.
950    
951     2007-08-06 Sascha L. Teichmann <[email protected]>
952    
953 teichmann 4 * tools/formed/formed.py: Added to avoid problems with
954     ambiguous absolute module names. Thanks to Bernhard Herzog
955    
956     * tools/formed/formed.sh: Starts formed.py now
957    
958     * tools/formed/formed/main.py,
959     tools/formed/formed/ui/controls.py: Added control to
960     move items around in tree. Has no effect by now.
961    
962 teichmann 2 2007-08-05 Sascha L. Teichmann <[email protected]>
963    
964 teichmann 3 * tools/formed/formed/io/parser.py: Adjusted style
965    
966     * tools/formed/formed/io/document.py,
967 teichmann 4 tools/formed/formed/io/factories.py: Simplified factory
968     model for XML loading.
969 teichmann 3
970     2007-08-05 Sascha L. Teichmann <[email protected]>
971    
972 teichmann 2 * ChangeLog: started ChangeLog
973    
974     * tools/formed/*: initial check-in of the Formular Editor.
975     Not working yet. Only can load, view and store formular XML files.
976     Start it with 'tools/formed/formed.sh'.

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26