/[formed]/trunk/ChangeLog
ViewVC logotype

Annotation of /trunk/ChangeLog

Parent Directory Parent Directory | Revision Log Revision Log


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

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26