/[formed]/trunk/ChangeLog
ViewVC logotype

Annotation of /trunk/ChangeLog

Parent Directory Parent Directory | Revision Log Revision Log


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

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26