/[formed]/trunk/ChangeLog
ViewVC logotype

Annotation of /trunk/ChangeLog

Parent Directory Parent Directory | Revision Log Revision Log


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

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26