/[formed]/trunk/ChangeLog
ViewVC logotype

Annotation of /trunk/ChangeLog

Parent Directory Parent Directory | Revision Log Revision Log


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

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26