/[formed]/trunk/ChangeLog
ViewVC logotype

Annotation of /trunk/ChangeLog

Parent Directory Parent Directory | Revision Log Revision Log


Revision 94 - (hide annotations)
Sun Aug 26 16:39:32 2007 UTC (17 years, 6 months ago) by teichmann
File size: 28481 byte(s)
Factorized HTTP server code out to separate module.
1 teichmann 93 2007-08-26 Sascha L. Teichmann <[email protected]>
2    
3 teichmann 94 * tools/formed/formed/model/data.py: Added missing broadcast
4     parameter to setAttribute() of RuleLeaf.
5    
6     * tools/formed/formed/plugins/web/plugin.py: Factorize
7     HTTP server code out to separate module.
8    
9     * tools/formed/formed/plugins/web/renderer.py: Removed
10     needless -1 from pop()
11    
12     * tools/formed/formed/plugins/web/server.py: New. Contains
13     the HTTP server code now.
14    
15     2007-08-26 Sascha L. Teichmann <[email protected]>
16    
17 teichmann 93 * tools/formed/test-data/simple.xml: Modified to contain a rule.
18    
19     * tools/formed/formed/model/expr.py: Added. A simple RPN
20     expression evaluator. To avoid the problem of eval()ing
21     arbitrary python expressions I've decided to use a very
22     basic and limited stack machine to support rule checking.
23    
24     * tools/formed/formed/model/data.py: Added a RuleLeaf.
25    
26     * tools/formed/formed/io/document.py: Added factories for rules.
27    
28     * tools/formed/formed/model/nodecomponents.py: Add a method
29     to find all items of a given type in document for a given
30     mode. Usefull to find all rules in the tree.
31    
32     * tools/formed/formed/ui/controls.py: Added a listener mechanism
33     to attribute table to report exceptions when setting a value
34     from GUI. Useful to report compilation errors when setting
35     expr of rule leafs.
36    
37     * tools/formed/formed/main.py: Added a method to track exceptions
38     from the attribute table and pop up dialogs if they occur.
39     Added a counter of rule modifications in tree. Useful if you
40     want build cached data structures like rule sets and you want
41     to know if they are still valid.
42    
43 torsten 90 2007-08-24 Torsten Irlaender <[email protected]>
44    
45 torsten 92 * tools/formed/formed/plugins/export/sql.py: Fixed CHECK-constraint
46     for checkbox values. (Syntax error).
47    
48     * tools/formed/formed/plugins/names/filter.py: Fixes in formularname
49     generation
50    
51     2007-08-24 Torsten Irlaender <[email protected]>
52    
53 torsten 90 * tools/formed/formed/plugins/names/filter.py: Separated Class for
54     making the formularnames more database friendly. Added some more
55     checks.
56     * tools/formed/formed/plugins/export/sql.py: Make use of the fresh
57     separated class, and some fixes in sql generation.
58    
59 teichmann 86 2007-08-24 Sascha L. Teichmann <[email protected]>
60    
61 teichmann 89 * tools/formed/formed/plugins/export/html.py: Print lengths
62     of external choice list.
63    
64     2007-08-24 Sascha L. Teichmann <[email protected]>
65    
66 teichmann 88 * tools/formed/formed/main.py: Little workaround for
67     mode selection if someone adds an removes a mode.
68    
69     2007-08-24 Sascha L. Teichmann <[email protected]>
70    
71 teichmann 87 * tools/formed/test-data/simple.xml: Better test case for
72     mode depended leaf items.
73    
74     * tools/formed/formed/model/nodecomponents.py: Added a method
75     to calculate the effective mode of an item.
76    
77     * tools/formed/formed/plugins/export/html.py: Use effective
78     mode. TODO: the 'all' modus return false results sometimes.
79     Cause: The modes are only cumulated over time. Removal is
80     not done.
81    
82     2007-08-24 Sascha L. Teichmann <[email protected]>
83    
84 teichmann 86 * tools/formed/formed/plugins/export/html.py: Dump the items
85     of radio groups and choices too.
86    
87 torsten 85 2007-08-24 Torsten Irlaender <[email protected]>
88    
89     * tools/formed/formed/plugins/names/filter.py: Modified the renaming
90     by formular names to make the naming more database friendly.
91     Now only alphanumeric and underscore chars is allowed.
92    
93 teichmann 84 2007-08-24 Sascha L. Teichmann <[email protected]>
94    
95     * tools/formed/formed/plugins/export/html.py: Tweaked
96     HTML table exporter a bit to be on par with the XSLT
97     script. TODO: Dump items in radio and choice groups.
98    
99 teichmann 83 2007-08-23 Sascha L. Teichmann <[email protected]>
100    
101     * tools/formed/formed/plugins/names/filter.py: Removed
102     HTML and SQL exporters.
103    
104     * tools/formed/formed/plugins/export,
105     tools/formed/formed/plugins/export/__init__.py,
106     tools/formed/formed/plugins/export/sql.py,
107     tools/formed/formed/plugins/export/html.py: New: Contain
108     the HTML and the SQL exporters now.
109    
110     * tools/formed/formed/config.py: Use exporters from different
111     package now.
112    
113 torsten 82 2007-08-23 Torsten Irlaender <[email protected]>
114    
115     * tools/formed/formed/plugins/names/filter.py: Added an
116     pseudo SQL export filters. TODO: Move HTML and SQL filter
117     in a new file (formed/plugins/export/htmlexport.py and
118     sqlexport.py?)
119    
120     * tools/formed/formed/config.py: Install the new SQL filter.
121    
122 teichmann 81 2007-08-23 Sascha L. Teichmann <[email protected]>
123    
124     * tools/formed/formed/model/nodecomponents.py: Added a depth()
125     method to determine the depth of particular tree item.
126    
127     * tools/formed/formed/plugins/names/filter.py: Added an
128     HTML export filters. TODO: needs more work.
129    
130     * tools/formed/formed/config.py: Install the new HTML filter.
131    
132 torsten 80 2007-08-23 Torsten Irlaender <[email protected]>
133    
134     * contrib/extract-xfa-fields_and_options.xsl: Added small xsl script
135     to extract fields and options in the XFA Data in teh PDF. This
136     script might me handy to indicate changes between the different
137     formular versions.
138    
139 teichmann 81 2007-08-23 Sascha L. Teichmann <[email protected]>
140 teichmann 73
141 teichmann 79 * tools/formed/formed/main.py: Add an 'all' mode to
142     select all modes. ;-)
143    
144     2007-08-22 Sascha L. Teichmann <[email protected]>
145    
146 teichmann 78 * tools/formed/test-data/simple.xml,
147     tools/formed/formed/model/data.py,
148     tools/formed/formed/plugins/web/plugin.py,
149     tools/formed/formed/plugins/web/renderer.py,
150     tools/formed/formed/io/document.py,
151     tools/formed/formed/main.py: Removed support for switch nodes.
152     BEWARE: This breaks compatibility with older documents!
153    
154     2007-08-22 Sascha L. Teichmann <[email protected]>
155    
156 teichmann 77 * tools/formed/formed/plugins/web/plugin.py: Uses the
157     getSelectedMode() from main now.
158    
159     * tools/formed/formed/main.py: selected mode is now hold
160     in main.
161    
162     * tools/formed/formed/config.py: removed selected mode from
163     env configuration.
164    
165     2007-08-22 Sascha L. Teichmann <[email protected]>
166    
167 teichmann 76 * tools/formed/formed/ui/controls.py: Attributes in GUI attribute
168     table are now alphabetically sorted.
169    
170     2007-08-22 Sascha L. Teichmann <[email protected]>
171    
172 teichmann 75 * tools/formed/formed/model/nodecomponents.py: Added code to
173     establish the new 'modes' recursively.
174    
175     * tools/formed/formed/plugins/plugin.py: Pass main instead
176     of cfg on plug-in start-up.
177    
178     * tools/formed/formed/plugins/web/plugin.py: Use the new
179     'modes' attribute for rendering.
180    
181     * tools/formed/formed/plugins/web/renderer.py: Use decorators
182     to check the new modes.
183    
184     * tools/formed/formed/main.py: Adjusted to new infrastructure.
185    
186     2007-08-22 Sascha L. Teichmann <[email protected]>
187    
188 teichmann 74 * tools/formed/formed/model/nodecomponents.py: Added an
189     attribute 'modes' to NodeComponents.
190    
191     2007-08-22 Sascha L. Teichmann <[email protected]>
192    
193 teichmann 73 * tools/formed/formed/model/data.py: Small cosmetic cleanups
194    
195 teichmann 69 2007-08-21 Sascha L. Teichmann <[email protected]>
196 frank 67
197 teichmann 72 * tools/formed/formed/plugins/web/renderer.py: Another fix
198     for the hidden field. Argh!
199    
200     2007-08-21 Sascha L. Teichmann <[email protected]>
201    
202 teichmann 71 * tools/formed/formed/plugins/web/renderer.py: Fixed double
203     generation of hidden page field.
204    
205     2007-08-21 Sascha L. Teichmann <[email protected]>
206    
207 teichmann 69 * tools/formed/formed/plugins/web/semantic.py: Added semantic
208 teichmann 70 checks for radio groups.
209    
210     2007-08-21 Sascha L. Teichmann <[email protected]>
211    
212     * tools/formed/formed/plugins/web/semantic.py: Added semantic
213 teichmann 69 checks for choices.
214    
215     2007-08-21 Frank Koormann <[email protected]>
216    
217 frank 68 * contrib/convert-formedtree2html.xsl: Display switch nodes as
218     alternatives.
219    
220 teichmann 69 2007-08-21 Frank Koormann <[email protected]>
221 frank 68
222 frank 67 * contrib/convert-formedtree2html.xsl:
223     Replace technical types with readable descriptions
224    
225 teichmann 64 2007-08-21 Sascha L. Teichmann <[email protected]>
226    
227 teichmann 66 * tools/formed/formed/plugins/web/plugin.py: Fix a few smaller
228     issues. 'action' looks for all widgets on a page now, goes
229     through all passed parameters, tries to match them with the
230     widgets of the page and put them into the semantic box.
231     Afterwards a list of untouched page parameters are left
232     which will be deleted from the semantic box.
233    
234     * tools/formed/formed/plugins/web/semantic.py: Simplified.
235     The NodeComponent is passed as an argument now.
236    
237     * tools/formed/formed/plugins/web/renderer.py: Generate a
238     hidden field to store the name of the page.
239    
240     2007-08-21 Sascha L. Teichmann <[email protected]>
241    
242 teichmann 65 * tools/formed/formed/plugins/web/plugin.py: Fixed an encoding
243     issue with incoming UTF-8 data.
244    
245     2007-08-21 Sascha L. Teichmann <[email protected]>
246    
247 teichmann 64 * tools/formed/test-data/simple.xml: Improve test for widgets
248     in switches.
249    
250     * tools/formed/formed/model/data.py: Added a method to find all
251     widgets in a given page. Fixed a bug when walking in switch
252     with a given mode.
253    
254     * tools/formed/formed/plugins/web/plugin.py: Simple test for
255     listing all widgets in page.
256    
257 torsten 63 2007-08-21 Torsten Irlaender <[email protected]>
258    
259     * tools/formed/formed/plugins/names/filter.py: Fixed file-encoding to
260     latin-1
261    
262 teichmann 61 2007-08-21 Sascha L. Teichmann <[email protected]>
263    
264 teichmann 62 * tools/formed/formed/model/data.py: Added mode parameter to
265     walk.
266    
267     * tools/formed/formed/model/nodecomponents.py: SwitchNode overwrites
268     walk() with usage of the new mode parameter. Added a method to
269     give children in a given mode.
270    
271     * tools/formed/formed/plugins/web/renderer.py: Simplified to use
272     new Switch.childrenInMode() method.
273    
274     2007-08-21 Sascha L. Teichmann <[email protected]>
275    
276 teichmann 61 * tools/formed/formed/plugins/web/semantic.py: Add checks for
277     texts and text areas.
278    
279     * tools/formed/formed/plugins/web/renderer.py: Set accept-charset
280     to UTF-8 in generated form.
281    
282 teichmann 60 2007-08-20 Sascha L. Teichmann <[email protected]>
283    
284     * tools/formed/formed/plugins/web/semantic.py: Added semantic
285     tests for dates.
286    
287 teichmann 59 2007-08-20 Sascha L. Teichmann <[email protected]>
288    
289     * tools/formed/test-data/simple.xml: Tweak a bit for integer
290     range test.
291    
292     * tools/formed/formed/model/nodecomponents.py: Added a method
293     to find a tree item for a given name.
294    
295     * tools/formed/formed/plugins/web/semantic.py: New: Box for
296     semantic checking. Has check for integers.
297    
298     * tools/formed/formed/plugins/web/plugin.py: Use semantic
299     check.
300    
301 torsten 58 2007-08-20 Torsten Irlaender <[email protected]>
302    
303     * tools/formed/formed/plugins/web/renderer.py: Fixed Syntax in
304     selection-field generation (Removed quote)
305    
306 teichmann 54 2007-08-18 Sascha L. Teichmann <[email protected]>
307    
308 teichmann 57 * tools/formed/formed/plugins/web/plugin.py,
309     tools/formed/formed/plugins/web/renderer.py: Added a
310     simple cookie based session management to the HTML
311     renderer. This submit parameters are stored in the
312     session now. This will ease testing the constraint
313     tests which need to be written soon.
314    
315     BEWARE: The session management is _not_ made for production!
316     Denial of service attacks are too easy, and the
317     cryptographical strength of the session id is doubtful.
318    
319     2007-08-18 Sascha L. Teichmann <[email protected]>
320    
321 teichmann 56 * tools/formed/formed/plugins/web/renderer.py: Escaping text
322     coming from the document tree now when inserting it into the
323 teichmann 57 HTML output.
324 teichmann 56
325     2007-08-18 Sascha L. Teichmann <[email protected]>
326    
327 teichmann 55 * tools/formed/formed/plugins/plugin.py: Added a new kind
328     of plug-in: Filter. They have a short and a long description
329 teichmann 57 and can be hooked automatically into the new 'Filters'
330     sub menu under 'Extra'. They got called when the user
331     selects their respective menu item.
332 teichmann 55
333     * tools/formed/formed/config.py: Contains the list of
334     installed filters.
335    
336     * tools/formed/formed/main.py: Builds the Extra->Filters
337     sub menu during gui initialization. The hard wired code
338 teichmann 57 for make unique and formular name/description -> name
339     is removed because they are implemented as filters now.
340 teichmann 55
341     * tools/formed/formed/model/nodecomponents.py,
342     tools/formed/formed/model/data.py: Removed the make
343 teichmann 57 unique and formular name/description -> name code.
344 teichmann 55
345     * tools/formed/formed/plugins/names,
346     tools/formed/formed/plugins/names/__init__.py,
347 teichmann 57 tools/formed/formed/plugins/names/filter.py: Added. Contains
348     the make unique and formular name/description -> name code
349     in form of filters.
350 teichmann 55
351     * tools/formed/test-data/simple.xml: Modified to be a better
352     test for the formular name/description -> name filter.
353    
354     2007-08-18 Sascha L. Teichmann <[email protected]>
355    
356 teichmann 54 * tools/formed/formed.py, tools/formed/formed/main.py: First
357     command line argument is interpreted as filename of document
358 teichmann 57 to be loaded at program startup.
359 teichmann 54
360 frank 53 2007-08-17 Frank Koormann <[email protected]>
361    
362     * contrib/convert-formedtree2html.xsl:
363     Heading level depending on depth of group node.
364     In case of radio/choice/check only list of options.
365    
366 torsten 58 2007-08-17 Torsten Irlaender <[email protected]>
367 torsten 50
368 torsten 52 * contrib/convert-formedtree2html.xsl: Output is now generated with
369     HTML doc-string and charset information in the meta-header.
370    
371 torsten 58 2007-08-17 Torsten Irlaender <[email protected]>
372 torsten 52
373 torsten 50 * contrib/convert-formedtree2html.xsl: Added small script for
374     exporting the formed tree to html
375    
376 torsten 49 2007-08-17 Torsten Irlaender <[email protected]>
377    
378     * tools/formed/model/nodecomponents.py: Added function to rename
379     the set the name of the node to the formularname. The formularname
380     gets shorten to <=64 by removing vowels and is stored lowercase.
381     If the name is not unique and additional id value is appended.
382    
383     * tools/formed/formed/model/data.py: Overwritten renaming-function for
384     bool-leafs
385    
386     * tools/formed/formed/main.py: Added menuitem for renaming the names
387     of the element
388    
389 teichmann 47 2007-08-16 Sascha L. Teichmann <[email protected]>
390    
391     * tools/formed/formed/main.py: Swaped order of
392     'Make names unique' and 'Selected mode...' in Extra
393     menu and put a separator between them.
394    
395 teichmann 45 2007-08-15 Sascha L. Teichmann <[email protected]>
396    
397 teichmann 46 * tools/formed/formed/model/data.py: SwitchNodes can add
398     their modes to a given set now.
399    
400     * tools/formed/formed/plugins/plugin.py: Simplified
401     the plug-in interface. Only the reference to the
402     global configuration is passed at setup time.
403    
404     * tools/formed/formed/plugins/web/plugin.py: Adjusted
405     to new plug-in setup. The traveral mode is now taken
406     from the global configuration each time a rendering
407     is triggered. The FORMED parameter is now named
408     'doc.mode' instead of 'web.mode'. The parameter
409     is not needed any more because it can be configured
410     at runtime.
411    
412     * tools/formed/formed/main.py: Adjusted to new plugin
413     setup. Added a new menu item Extra->Select Mode...
414     to select the traversal mode. It is stored in the
415     global config.
416    
417     * tools/formed/formed/config.py: Simplified. Only uses
418     one env dictionary to store global configuration parameters.
419    
420     * tools/formed/formed/ui/controls.py: Add a control to
421     select one item from a list of given strings.
422    
423     2007-08-15 Sascha L. Teichmann <[email protected]>
424    
425 teichmann 45 * tools/formed/formed/plugins/web/plugin.py,
426     tools/formed/formed/plugins/web/renderer.py: Added parameter
427     print out in web plugin.
428    
429 torsten 44 2007-08-15 Torsten Irlaender <[email protected]>
430 teichmann 45
431 torsten 44 * contrib/convert-formedtree2csv.xsl: Added small script for
432     exporting the formed tree to csv
433    
434 teichmann 41 2007-08-14 Sascha L. Teichmann <[email protected]>
435    
436 teichmann 42 * tools/formed/formed/model/data.py,
437     tools/formed/formed/model/nodecomponents.py,
438     tools/formed/formed/io/document.py: Added a 'switch' node.
439    
440     * tools/formed/formed/plugins/web/renderer.py:Render the
441     new 'switch' node.
442    
443     * tools/formed/formed/plugins/web/plugin.py,
444     tools/formed/formed/config.py: Added a 'web.mode' parameter
445     to FORMED environment variable.
446     e.g. 'FORMED=web.mode:modeX' sets the mode 'modeX'.
447     Defaults to 'default'.
448    
449     * tools/formed/test-data/simple.xml: Added test for switch.
450    
451     2007-08-14 Sascha L. Teichmann <[email protected]>
452    
453 teichmann 41 * tools/formed/formed/model/nodecomponents.py: Added an
454     attribute 'formularname' to base class of node components.
455    
456 teichmann 38 2007-08-13 Sascha L. Teichmann <[email protected]>
457    
458 teichmann 40 * tools/formed/formed/io/document.py,
459     tools/formed/formed/model/data.py,
460     tools/formed/formed/model/nodecomponents.py: Added an item
461     to model external item lists.
462    
463     * tools/formed/formed/plugins/web/renderer.py: Render new item
464     list.
465     * tools/formed/formed/main.py: Added a forgotten 'self.'
466    
467     * contrib/extract-xfa-items.sh: Modified to generate
468     documents to be loadable from new item lists
469    
470     2007-08-13 Sascha L. Teichmann <[email protected]>
471    
472 teichmann 39 * tools/formed/formed/main.py: Fixed typo
473    
474     2007-08-13 Sascha L. Teichmann <[email protected]>
475    
476 teichmann 38 * contrib/extract-xfa-items.sh: New. Can be used to extract longer
477     choice item lists for a given field from XFA files. e.g. with
478     './contrib/extract-xfa-items.sh Muttersprache alles.xml'
479    
480 teichmann 33 2007-08-12 Sascha L. Teichmann <[email protected]>
481    
482 teichmann 37 * tools/formed/formed/model/data.py,
483     tools/formed/formed/plugins/web/renderer.py,
484     tools/formed/formed/io/document.py: Changed the structure
485     of choice constructs. The idea to hold the different items
486     of a particular choice in a semicolon separated list was bad.
487     Now choices are groups and the option items are modelled as
488     embedded bools. (mainly Torsten Irländer's idea).
489    
490     WARNING: this makes old document files containing choices incompatible!!!
491     Use the following XSLT to reestablish compatibility.
492    
493     * contrib/itemize-choices.xsl: New converts old to new structure.
494     Needs exslt.org's string extensions (which xsltproc includes)
495    
496     * tools/formed/test-data/simple.xml: Ajusted to new structure
497    
498     * tools/formed/formed/plugins/web/plugin.py: remove debug output
499    
500     * tools/formed/formed/model/nodecomponents.py: fixed a small bug in
501     node finding code. It now uses the walk() generator, too.
502    
503     2007-08-12 Sascha L. Teichmann <[email protected]>
504    
505 teichmann 36 * tools/formed/formed/main.py: Added a clone item on the toolbar which
506     copies the currently selected item and appends it after the selection.
507    
508     * tools/formed/formed/model/nodecomponents.py: Added code to clone parts
509     of the tree.
510    
511     * tools/formed/formed/ui/controls.py: Added a getSelected method.
512    
513     * tools/formed/formed/model/misc.py: Fixed a programming bug.
514     forgot a 'self.' prefix.
515    
516     2007-08-12 Sascha L. Teichmann <[email protected]>
517    
518 teichmann 35 * tools/formed/formed/model/nodecomponents.py: Added a method to append
519     a second document to the current.
520    
521     * tools/formed/formed/main.py: Added an 'Import' file menu item to load
522     a second document to be appended to the current.
523    
524     2007-08-12 Sascha L. Teichmann <[email protected]>
525    
526 teichmann 34 * tools/formed/formed/main.py: Added a 'New' item in file menu which creates
527     a new document when triggered.
528    
529     2007-08-12 Sascha L. Teichmann <[email protected]>
530    
531 teichmann 33 * tools/formed/formed/model/nodecomponents.py: Added walk generator over all
532     items in the document tree. Added a method to eliminated duplicated names
533     in document tree.
534    
535     * tools/formed/formed/model/misc.py: Added update mechanism for id generator
536     after names collisions are eliminated.
537    
538     * tools/formed/formed/main.py: Added an 'Extra' menu with item
539     'Make names unique'.
540    
541 teichmann 30 2007-08-11 Sascha L. Teichmann <[email protected]>
542    
543 teichmann 32 * tools/formed/formed/model/data.py,
544     tools/formed/formed/plugins/web/renderer.py: Removed support
545     for 'text' attributes in bool items. They were never really
546     used and the 'description' attributes fulfill the same
547     purpose.
548    
549     * contrib/remove-bool-text.xsl: Transform to remove the
550     'text' attributes from bool items. Apply with:
551     'xsltproc contrib/remove-bool-text.xsl old.xml > new.xml'
552    
553     * tools/formed/test-data/simple.xml: Removed 'text' attributes
554     from bool items.
555    
556     2007-08-11 Sascha L. Teichmann <[email protected]>
557    
558 teichmann 31 * contrib/convert-choices.xsl: Simpified.
559    
560     2007-08-11 Sascha L. Teichmann <[email protected]>
561    
562 teichmann 30 * tools/formed/formed/model/data.py: Removed 'options' attribute
563     from ChoiceLeaf. Use 'value' instead, please!
564    
565     * tools/formed/formed/plugins/web/renderer.py: use 'value' attribute
566     instead of 'options' to render choices.
567    
568     * contrib/convert-choices.xsl: Added to convert document files
569     which use the choice 'option' attribute to usage of 'value'.
570     Apply with e.g. 'xsltproc convert-choices.xsl old.xml > new.xml'
571    
572 teichmann 23 2007-08-10 Sascha L. Teichmann <[email protected]>
573    
574 teichmann 29 * tools/formed/formed/plugins/web/renderer.py: radio buttons
575     are selected by 'checked' and not by 'selected'. Fixed.
576    
577     2007-08-10 Sascha L. Teichmann <[email protected]>
578    
579 teichmann 28 * tools/formed/formed/model/data.py: ChoiceLeafs are now
580     initialized with size = 1.
581    
582     2007-08-10 Sascha L. Teichmann <[email protected]>
583    
584 teichmann 27 * tools/formed/formed/model/data.py: TextLeafs are now
585     initialized with size = 40, maxlength = 60
586    
587     2007-08-10 Sascha L. Teichmann <[email protected]>
588    
589 teichmann 26 * tools/formed/formed/plugins/web/renderer.py: Fixed: choices
590     are renderered with description now.
591    
592     2007-08-10 Sascha L. Teichmann <[email protected]>
593    
594 teichmann 25 * tools/formed/formed/plugins/web/renderer.py: Added rendering
595     for date items. Added missing ids for texts and textareas.
596    
597     2007-08-10 Sascha L. Teichmann <[email protected]>
598    
599 teichmann 24 * tools/formed/formed/config.py: Evaluate the environment
600     variable 'FORMED'. Snytax: FORMED='key1:value1;key2:value2'
601    
602     * tools/formed/formed/plugins/plugin.py: Give a reference
603     to the config at setup time.
604    
605     * tools/formed/formed/plugins/web/plugin.py: To determine
606     the port look at FORMED dictionary first. Key is 'web.port'.
607     e.g. FORMED='web.port:8888'
608    
609     * tools/formed/formed/main.py: Call the plugin setup with
610     the reference to the config.
611    
612     2007-08-10 Sascha L. Teichmann <[email protected]>
613    
614 teichmann 23 * tools/formed/test-data/simple.xml: removed 'text' attributes from
615     info tags. Use the 'value' attributes for same purpose now, please!
616    
617     * tools/formed/formed/model/data.py: removed text attributes from
618     InfoLeaf.
619    
620     * tools/formed/formed/plugins/web/renderer.py: Rendering of info
621     now uses the 'value' instead of the 'text' attributes.
622    
623 teichmann 17 2007-08-09 Sascha L. Teichmann <[email protected]>
624 teichmann 10
625 teichmann 22 * tools/formed/formed/model/data.py: next/prevPage() are
626     methods of PageNode now.
627    
628     * tools/formed/formed/model/nodecomponents.py: findByClassAndName()
629     is method of Document now.
630    
631     * tools/formed/formed/plugins/web/plugin.py: Factored out
632     the HTML renderer.
633    
634     * tools/formed/formed/plugins/web/renderer.py: New: contains
635     the HTML renderer now.
636    
637     * tools/formed/test-data/simple.xml: Fixed typo
638    
639     2007-08-09 Sascha L. Teichmann <[email protected]>
640    
641 teichmann 21 * tools/formed/formed/plugins/web/plugin.py: Fixed a bug
642     in calculation of width of bounded int fields.
643    
644     2007-08-09 Sascha L. Teichmann <[email protected]>
645    
646 teichmann 20 * tools/formed/test-data/simple.xml: Make demo Int fancier.
647    
648     * tools/formed/formed/model/data.py: Added attributes to IntLeaf
649    
650     * tools/formed/formed/plugins/web/plugin.py: Added rendering for
651     Ints
652    
653     2007-08-09 Sascha L. Teichmann <[email protected]>
654    
655 teichmann 19 * tools/formed/test-data/simple.xml: Added demo textarea
656    
657     * tools/formed/formed/model/data.py: Added TextAreaLeaf
658    
659     * tools/formed/formed/io/document.py: register builder
660     for loading of textareas
661    
662     * tools/formed/formed/plugins/web/plugin.py: Added rendering
663     for textareas.
664    
665     2007-08-09 Sascha L. Teichmann <[email protected]>
666    
667 teichmann 18 * tools/formed/test-data/simple.xml: Make demo choice fancier.
668 teichmann 17
669 teichmann 18 * tools/formed/formed/model/data.py: Added attributes for texts
670    
671     * tools/formed/formed/plugins/web/plugin.py: Added rendering
672     for texts
673 teichmann 17
674 teichmann 18 2007-08-09 Sascha L. Teichmann <[email protected]>
675    
676     * tools/formed/test-data/simple.xml: Make demo choice fancier.
677    
678     * tools/formed/formed/model/data.py: Added attributes for choices.
679    
680 teichmann 17 * tools/formed/formed/plugins/web/plugin.py: Added rendering
681     for choices
682    
683     2007-08-09 Sascha L. Teichmann <[email protected]>
684    
685 teichmann 16 * tools/formed/formed/model/data.py,
686     tools/formed/formed/model/nodecomponents.py: Added new
687     attributes.
688    
689     * tools/formed/formed/plugins/web/plugin.py: Added rendering
690     for checkboxes and radio buttons.
691    
692     2007-08-08 Sascha L. Teichmann <[email protected]>
693    
694 teichmann 15 * tools/formed/test-data/simple.xml: Added some descriptions
695    
696     * tools/formed/formed/model/data.py: set attributes in constructors
697     directly.
698    
699     * tools/formed/formed/model/nodecomponents.py: Added description
700     attribute in the NodeComponent base class.
701    
702     * tools/formed/formed/plugins/web/plugin.py: Render description
703     as legend in fieldset for GroupNodes.
704    
705     2007-08-08 Sascha L. Teichmann <[email protected]>
706    
707 teichmann 14 * tools/formed/formed/plugins/web/plugin.py: make UTF-8
708     output work.
709    
710     2007-08-08 Sascha L. Teichmann <[email protected]>
711    
712 teichmann 12 * tools/formed/formed/model/data.py: Added get/setText() method
713    
714     * tools/formed/formed/plugins/web/plugin.py: Added a first
715     version of a recursive HTML renderer based on the document
716     tree.
717    
718     2007-08-08 Sascha L. Teichmann <[email protected]>
719    
720 teichmann 11 * tools/formed/formed/plugins/*: New: plug-in infrastructure.
721    
722     * tools/formed/formed/plugins/web/*: new: A simple web server
723     which is intended to serve pages of the current formular.
724    
725     * tools/formed/formed/main.py: start the plug-ins
726    
727     * tools/formed/formed/config.py: configuration class. Used
728     for the plug-ins.
729    
730     2007-08-08 Sascha L. Teichmann <[email protected]>
731    
732 teichmann 10 * tools/formed/formed/model/nodecomponents.py: Fixed broadcasting
733     issue with zero length tree paths.
734    
735     * tools/formed/formed/model/misc.py: New: contains a class
736     for generating unique ids.
737    
738     * tools/formed/formed/main.py: Added an instance of an
739     unique id generator for naming of new made tree items.
740    
741 teichmann 7 2007-08-07 Sascha L. Teichmann <[email protected]>
742    
743 teichmann 9 * tools/formed/formed/main.py: Added event route document ->
744     attribute table to get informed when selected item is delete
745     or an attribute is changed from the outside.
746    
747     * tools/formed/formed/ui/controls.py: Fixed. In older versions of
748     wxPython 2.6.x ListCtrl.InsertStringItem takes 2 instead
749     of 3 argument. Uses icons+tooltips for tree navigation now.
750    
751     2007-08-07 Sascha L. Teichmann <[email protected]>
752    
753 teichmann 8 * tools/formed/formed/model/nodecomponents.py: Set name
754     attribute in base class.
755    
756     * tools/formed/formed/io/document.py: Added a table
757     names -> classes.
758    
759     * tools/formed/formed/main.py: Added a toolbar. Added code
760     to create and delete tree items.
761    
762     * tools/formed/formed/ui/controls.py: Added code to
763     insert and delete new tree items.
764    
765     2007-08-07 Sascha L. Teichmann <[email protected]>
766    
767 teichmann 7 * tools/formed/formed/model/nodecomponents.py: Fixed event
768     broadcasting for attribute changes.
769    
770     * tools/formed/formed/ui/controls.py: Add a list/table control to
771     edit the attributes of a selected item.
772    
773     * tools/formed/formed/main.py: Added code to bind the new
774     list/table control.
775    
776 teichmann 4 2007-08-06 Sascha L. Teichmann <[email protected]>
777    
778 teichmann 6 * tools/formed/formed/main.py: Added event routes to move
779     items in and out of groups.
780    
781     * tools/formed/formed/ui/controls.py: Added code to move
782     items in and out of groups.
783    
784     2007-08-06 Sascha L. Teichmann <[email protected]>
785    
786 teichmann 5 * tools/formed/formed/model/nodecomponents.py: Fixed path
787     calculation to root and event broadcasting
788    
789     * tools/formed/formed/io/factories.py: Adjust to new
790     event broadcasting.
791    
792     * tools/formed/formed/main.py: Added code to move items
793     up and down the document tree.
794    
795     * tools/formed/formed/ui/controls.py: Establish sort order
796     by indices of children in parent instead of alphanum.
797     Code to move items up and down the document tree.
798    
799     * tools/formed/formed/io/document.py: Added missing imports.
800    
801     2007-08-06 Sascha L. Teichmann <[email protected]>
802    
803 teichmann 4 * tools/formed/formed.py: Added to avoid problems with
804     ambiguous absolute module names. Thanks to Bernhard Herzog
805    
806     * tools/formed/formed.sh: Starts formed.py now
807    
808     * tools/formed/formed/main.py,
809     tools/formed/formed/ui/controls.py: Added control to
810     move items around in tree. Has no effect by now.
811    
812 teichmann 2 2007-08-05 Sascha L. Teichmann <[email protected]>
813    
814 teichmann 3 * tools/formed/formed/io/parser.py: Adjusted style
815    
816     * tools/formed/formed/io/document.py,
817 teichmann 4 tools/formed/formed/io/factories.py: Simplified factory
818     model for XML loading.
819 teichmann 3
820     2007-08-05 Sascha L. Teichmann <[email protected]>
821    
822 teichmann 2 * ChangeLog: started ChangeLog
823    
824     * tools/formed/*: initial check-in of the Formular Editor.
825     Not working yet. Only can load, view and store formular XML files.
826     Start it with 'tools/formed/formed.sh'.

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26