/[formed]/trunk/ChangeLog
ViewVC logotype

Annotation of /trunk/ChangeLog

Parent Directory Parent Directory | Revision Log Revision Log


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

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26