/[formed]/trunk/ChangeLog
ViewVC logotype

Annotation of /trunk/ChangeLog

Parent Directory Parent Directory | Revision Log Revision Log


Revision 138 - (hide annotations)
Wed Sep 5 15:05:41 2007 UTC (17 years, 5 months ago) by torsten
File size: 40374 byte(s)
Added create, update, delete and show handlers

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

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26