/[formed]/trunk/ChangeLog
ViewVC logotype

Annotation of /trunk/ChangeLog

Parent Directory Parent Directory | Revision Log Revision Log


Revision 150 - (hide annotations)
Fri Sep 7 13:12:51 2007 UTC (17 years, 5 months ago) by torsten
File size: 43921 byte(s)
Added new renderer.py

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

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26