/[formed]/trunk/ChangeLog
ViewVC logotype

Annotation of /trunk/ChangeLog

Parent Directory Parent Directory | Revision Log Revision Log


Revision 157 - (hide annotations)
Mon Sep 10 10:41:35 2007 UTC (17 years, 5 months ago) by torsten
File size: 47252 byte(s)
Finished moving renderes and added new Class ErrorStats

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

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26