/[formed]/trunk/ChangeLog
ViewVC logotype

Annotation of /trunk/ChangeLog

Parent Directory Parent Directory | Revision Log Revision Log


Revision 164 - (hide annotations)
Mon Sep 10 17:10:26 2007 UTC (17 years, 5 months ago) by torsten
File size: 49217 byte(s)
Some work on error messages and html code generation

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

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26