/[formed]/trunk/ChangeLog
ViewVC logotype

Annotation of /trunk/ChangeLog

Parent Directory Parent Directory | Revision Log Revision Log


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

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26