/[formed]/trunk/ChangeLog
ViewVC logotype

Annotation of /trunk/ChangeLog

Parent Directory Parent Directory | Revision Log Revision Log


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

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26