/[formed]/trunk/ChangeLog
ViewVC logotype

Annotation of /trunk/ChangeLog

Parent Directory Parent Directory | Revision Log Revision Log


Revision 151 - (hide annotations)
Fri Sep 7 15:00:47 2007 UTC (17 years, 5 months ago) by torsten
File size: 44383 byte(s)
Moved more methods into renderer.py

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

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26