/[formed]/trunk/ChangeLog
ViewVC logotype

Annotation of /trunk/ChangeLog

Parent Directory Parent Directory | Revision Log Revision Log


Revision 179 - (hide annotations)
Wed Sep 12 10:15:53 2007 UTC (17 years, 5 months ago) by torsten
File size: 54453 byte(s)
Webplugin: Fixed bug that choicelist did not get selected when the value is set to "0"

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

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26