/[formed]/trunk/ChangeLog
ViewVC logotype

Annotation of /trunk/ChangeLog

Parent Directory Parent Directory | Revision Log Revision Log


Revision 158 - (hide annotations)
Mon Sep 10 10:54:02 2007 UTC (17 years, 5 months ago) by torsten
File size: 47429 byte(s)
Removed session remaining session artifacts when deleting datasets

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

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26