/[formed]/trunk/ChangeLog
ViewVC logotype

Annotation of /trunk/ChangeLog

Parent Directory Parent Directory | Revision Log Revision Log


Revision 136 - (hide annotations)
Tue Sep 4 13:02:00 2007 UTC (17 years, 5 months ago) by torsten
File size: 39146 byte(s)
Added help messages to the html output

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

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26