/[formed]/trunk/ChangeLog
ViewVC logotype

Annotation of /trunk/ChangeLog

Parent Directory Parent Directory | Revision Log Revision Log


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

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26