/[formed]/trunk/ChangeLog
ViewVC logotype

Annotation of /trunk/ChangeLog

Parent Directory Parent Directory | Revision Log Revision Log


Revision 166 - (hide annotations)
Tue Sep 11 09:16:48 2007 UTC (17 years, 5 months ago) by torsten
File size: 50128 byte(s)
Implemented "lookAhead" alogrithm for linking group elements within the
formular navigation

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

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26