/[formed]/trunk/ChangeLog
ViewVC logotype

Annotation of /trunk/ChangeLog

Parent Directory Parent Directory | Revision Log Revision Log


Revision 182 - (hide annotations)
Thu Sep 13 16:40:31 2007 UTC (17 years, 5 months ago) by torsten
File size: 55067 byte(s)
renamingfilter: bugfix

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

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26