/[formed]/trunk/ChangeLog
ViewVC logotype

Annotation of /trunk/ChangeLog

Parent Directory Parent Directory | Revision Log Revision Log


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

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26