/[formed]/trunk/ChangeLog
ViewVC logotype

Annotation of /trunk/ChangeLog

Parent Directory Parent Directory | Revision Log Revision Log


Revision 170 - (hide annotations)
Tue Sep 11 14:16:47 2007 UTC (17 years, 5 months ago) by torsten
File size: 51583 byte(s)
Added alt tags to icons

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

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26