/[formed]/trunk/ChangeLog
ViewVC logotype

Annotation of /trunk/ChangeLog

Parent Directory Parent Directory | Revision Log Revision Log


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

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26