/[formed]/trunk/ChangeLog
ViewVC logotype

Annotation of /trunk/ChangeLog

Parent Directory Parent Directory | Revision Log Revision Log


Revision 174 - (hide annotations)
Tue Sep 11 17:06:03 2007 UTC (17 years, 5 months ago) by torsten
File size: 52251 byte(s)
Changed name of the application from "formed" to "waska" on the welcomepage

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

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26