/[formed]/trunk/ChangeLog
ViewVC logotype

Annotation of /trunk/ChangeLog

Parent Directory Parent Directory | Revision Log Revision Log


Revision 130 - (hide annotations)
Mon Sep 3 12:57:52 2007 UTC (17 years, 5 months ago) by torsten
File size: 37418 byte(s)
Added page error output in main.tmpl

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

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26