/[formed]/trunk/ChangeLog
ViewVC logotype

Annotation of /trunk/ChangeLog

Parent Directory Parent Directory | Revision Log Revision Log


Revision 181 - (hide annotations)
Wed Sep 12 12:48:48 2007 UTC (17 years, 5 months ago) by torsten
File size: 54915 byte(s)
webplugin: renamed header of the formular navigation

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

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26