/[formed]/trunk/ChangeLog
ViewVC logotype

Annotation of /trunk/ChangeLog

Parent Directory Parent Directory | Revision Log Revision Log


Revision 140 - (hide annotations)
Wed Sep 5 21:15:41 2007 UTC (17 years, 5 months ago) by torsten
File size: 40867 byte(s)
Small changes in the web template. Changed links in the menu to call the new
create, modify, and delete functions.

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

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26