/[formed]/trunk/ChangeLog
ViewVC logotype

Annotation of /trunk/ChangeLog

Parent Directory Parent Directory | Revision Log Revision Log


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

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26