/[formed]/trunk/ChangeLog
ViewVC logotype

Annotation of /trunk/ChangeLog

Parent Directory Parent Directory | Revision Log Revision Log


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

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26