/[formed]/trunk/ChangeLog
ViewVC logotype

Annotation of /trunk/ChangeLog

Parent Directory Parent Directory | Revision Log Revision Log


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

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26