/[formed]/trunk/ChangeLog
ViewVC logotype

Annotation of /trunk/ChangeLog

Parent Directory Parent Directory | Revision Log Revision Log


Revision 178 - (hide annotations)
Wed Sep 12 08:42:31 2007 UTC (17 years, 5 months ago) by torsten
File size: 54263 byte(s)
Some renaming issues. Introduced new getPrintableData method in formdata

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

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26