/[formed]/trunk/ChangeLog
ViewVC logotype

Annotation of /trunk/ChangeLog

Parent Directory Parent Directory | Revision Log Revision Log


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

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26