/[formed]/trunk/ChangeLog
ViewVC logotype

Annotation of /trunk/ChangeLog

Parent Directory Parent Directory | Revision Log Revision Log


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

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26