/[formed]/trunk/ChangeLog
ViewVC logotype

Annotation of /trunk/ChangeLog

Parent Directory Parent Directory | Revision Log Revision Log


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

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26