/[formed]/trunk/ChangeLog
ViewVC logotype

Annotation of /trunk/ChangeLog

Parent Directory Parent Directory | Revision Log Revision Log


Revision 64 - (hide annotations)
Tue Aug 21 09:11:58 2007 UTC (17 years, 6 months ago) by teichmann
File size: 20002 byte(s)
Added a method to find all widgets of a given page. Fixed a bug when walking a switch with a given mode.
1 teichmann 64 2007-08-21 Sascha L. Teichmann <[email protected]>
2    
3     * tools/formed/test-data/simple.xml: Improve test for widgets
4     in switches.
5    
6     * tools/formed/formed/model/data.py: Added a method to find all
7     widgets in a given page. Fixed a bug when walking in switch
8     with a given mode.
9    
10     * tools/formed/formed/plugins/web/plugin.py: Simple test for
11     listing all widgets in page.
12    
13 torsten 63 2007-08-21 Torsten Irlaender <[email protected]>
14    
15     * tools/formed/formed/plugins/names/filter.py: Fixed file-encoding to
16     latin-1
17    
18 teichmann 61 2007-08-21 Sascha L. Teichmann <[email protected]>
19    
20 teichmann 62 * tools/formed/formed/model/data.py: Added mode parameter to
21     walk.
22    
23     * tools/formed/formed/model/nodecomponents.py: SwitchNode overwrites
24     walk() with usage of the new mode parameter. Added a method to
25     give children in a given mode.
26    
27     * tools/formed/formed/plugins/web/renderer.py: Simplified to use
28     new Switch.childrenInMode() method.
29    
30     2007-08-21 Sascha L. Teichmann <[email protected]>
31    
32 teichmann 61 * tools/formed/formed/plugins/web/semantic.py: Add checks for
33     texts and text areas.
34    
35     * tools/formed/formed/plugins/web/renderer.py: Set accept-charset
36     to UTF-8 in generated form.
37    
38 teichmann 60 2007-08-20 Sascha L. Teichmann <[email protected]>
39    
40     * tools/formed/formed/plugins/web/semantic.py: Added semantic
41     tests for dates.
42    
43 teichmann 59 2007-08-20 Sascha L. Teichmann <[email protected]>
44    
45     * tools/formed/test-data/simple.xml: Tweak a bit for integer
46     range test.
47    
48     * tools/formed/formed/model/nodecomponents.py: Added a method
49     to find a tree item for a given name.
50    
51     * tools/formed/formed/plugins/web/semantic.py: New: Box for
52     semantic checking. Has check for integers.
53    
54     * tools/formed/formed/plugins/web/plugin.py: Use semantic
55     check.
56    
57 torsten 58 2007-08-20 Torsten Irlaender <[email protected]>
58    
59     * tools/formed/formed/plugins/web/renderer.py: Fixed Syntax in
60     selection-field generation (Removed quote)
61    
62 teichmann 54 2007-08-18 Sascha L. Teichmann <[email protected]>
63    
64 teichmann 57 * tools/formed/formed/plugins/web/plugin.py,
65     tools/formed/formed/plugins/web/renderer.py: Added a
66     simple cookie based session management to the HTML
67     renderer. This submit parameters are stored in the
68     session now. This will ease testing the constraint
69     tests which need to be written soon.
70    
71     BEWARE: The session management is _not_ made for production!
72     Denial of service attacks are too easy, and the
73     cryptographical strength of the session id is doubtful.
74    
75     2007-08-18 Sascha L. Teichmann <[email protected]>
76    
77 teichmann 56 * tools/formed/formed/plugins/web/renderer.py: Escaping text
78     coming from the document tree now when inserting it into the
79 teichmann 57 HTML output.
80 teichmann 56
81     2007-08-18 Sascha L. Teichmann <[email protected]>
82    
83 teichmann 55 * tools/formed/formed/plugins/plugin.py: Added a new kind
84     of plug-in: Filter. They have a short and a long description
85 teichmann 57 and can be hooked automatically into the new 'Filters'
86     sub menu under 'Extra'. They got called when the user
87     selects their respective menu item.
88 teichmann 55
89     * tools/formed/formed/config.py: Contains the list of
90     installed filters.
91    
92     * tools/formed/formed/main.py: Builds the Extra->Filters
93     sub menu during gui initialization. The hard wired code
94 teichmann 57 for make unique and formular name/description -> name
95     is removed because they are implemented as filters now.
96 teichmann 55
97     * tools/formed/formed/model/nodecomponents.py,
98     tools/formed/formed/model/data.py: Removed the make
99 teichmann 57 unique and formular name/description -> name code.
100 teichmann 55
101     * tools/formed/formed/plugins/names,
102     tools/formed/formed/plugins/names/__init__.py,
103 teichmann 57 tools/formed/formed/plugins/names/filter.py: Added. Contains
104     the make unique and formular name/description -> name code
105     in form of filters.
106 teichmann 55
107     * tools/formed/test-data/simple.xml: Modified to be a better
108     test for the formular name/description -> name filter.
109    
110     2007-08-18 Sascha L. Teichmann <[email protected]>
111    
112 teichmann 54 * tools/formed/formed.py, tools/formed/formed/main.py: First
113     command line argument is interpreted as filename of document
114 teichmann 57 to be loaded at program startup.
115 teichmann 54
116 frank 53 2007-08-17 Frank Koormann <[email protected]>
117    
118     * contrib/convert-formedtree2html.xsl:
119     Heading level depending on depth of group node.
120     In case of radio/choice/check only list of options.
121    
122 torsten 58 2007-08-17 Torsten Irlaender <[email protected]>
123 torsten 50
124 torsten 52 * contrib/convert-formedtree2html.xsl: Output is now generated with
125     HTML doc-string and charset information in the meta-header.
126    
127 torsten 58 2007-08-17 Torsten Irlaender <[email protected]>
128 torsten 52
129 torsten 50 * contrib/convert-formedtree2html.xsl: Added small script for
130     exporting the formed tree to html
131    
132 torsten 49 2007-08-17 Torsten Irlaender <[email protected]>
133    
134     * tools/formed/model/nodecomponents.py: Added function to rename
135     the set the name of the node to the formularname. The formularname
136     gets shorten to <=64 by removing vowels and is stored lowercase.
137     If the name is not unique and additional id value is appended.
138    
139     * tools/formed/formed/model/data.py: Overwritten renaming-function for
140     bool-leafs
141    
142     * tools/formed/formed/main.py: Added menuitem for renaming the names
143     of the element
144    
145 teichmann 47 2007-08-16 Sascha L. Teichmann <[email protected]>
146    
147     * tools/formed/formed/main.py: Swaped order of
148     'Make names unique' and 'Selected mode...' in Extra
149     menu and put a separator between them.
150    
151 teichmann 45 2007-08-15 Sascha L. Teichmann <[email protected]>
152    
153 teichmann 46 * tools/formed/formed/model/data.py: SwitchNodes can add
154     their modes to a given set now.
155    
156     * tools/formed/formed/plugins/plugin.py: Simplified
157     the plug-in interface. Only the reference to the
158     global configuration is passed at setup time.
159    
160     * tools/formed/formed/plugins/web/plugin.py: Adjusted
161     to new plug-in setup. The traveral mode is now taken
162     from the global configuration each time a rendering
163     is triggered. The FORMED parameter is now named
164     'doc.mode' instead of 'web.mode'. The parameter
165     is not needed any more because it can be configured
166     at runtime.
167    
168     * tools/formed/formed/main.py: Adjusted to new plugin
169     setup. Added a new menu item Extra->Select Mode...
170     to select the traversal mode. It is stored in the
171     global config.
172    
173     * tools/formed/formed/config.py: Simplified. Only uses
174     one env dictionary to store global configuration parameters.
175    
176     * tools/formed/formed/ui/controls.py: Add a control to
177     select one item from a list of given strings.
178    
179     2007-08-15 Sascha L. Teichmann <[email protected]>
180    
181 teichmann 45 * tools/formed/formed/plugins/web/plugin.py,
182     tools/formed/formed/plugins/web/renderer.py: Added parameter
183     print out in web plugin.
184    
185 torsten 44 2007-08-15 Torsten Irlaender <[email protected]>
186 teichmann 45
187 torsten 44 * contrib/convert-formedtree2csv.xsl: Added small script for
188     exporting the formed tree to csv
189    
190 teichmann 41 2007-08-14 Sascha L. Teichmann <[email protected]>
191    
192 teichmann 42 * tools/formed/formed/model/data.py,
193     tools/formed/formed/model/nodecomponents.py,
194     tools/formed/formed/io/document.py: Added a 'switch' node.
195    
196     * tools/formed/formed/plugins/web/renderer.py:Render the
197     new 'switch' node.
198    
199     * tools/formed/formed/plugins/web/plugin.py,
200     tools/formed/formed/config.py: Added a 'web.mode' parameter
201     to FORMED environment variable.
202     e.g. 'FORMED=web.mode:modeX' sets the mode 'modeX'.
203     Defaults to 'default'.
204    
205     * tools/formed/test-data/simple.xml: Added test for switch.
206    
207     2007-08-14 Sascha L. Teichmann <[email protected]>
208    
209 teichmann 41 * tools/formed/formed/model/nodecomponents.py: Added an
210     attribute 'formularname' to base class of node components.
211    
212 teichmann 38 2007-08-13 Sascha L. Teichmann <[email protected]>
213    
214 teichmann 40 * tools/formed/formed/io/document.py,
215     tools/formed/formed/model/data.py,
216     tools/formed/formed/model/nodecomponents.py: Added an item
217     to model external item lists.
218    
219     * tools/formed/formed/plugins/web/renderer.py: Render new item
220     list.
221     * tools/formed/formed/main.py: Added a forgotten 'self.'
222    
223     * contrib/extract-xfa-items.sh: Modified to generate
224     documents to be loadable from new item lists
225    
226     2007-08-13 Sascha L. Teichmann <[email protected]>
227    
228 teichmann 39 * tools/formed/formed/main.py: Fixed typo
229    
230     2007-08-13 Sascha L. Teichmann <[email protected]>
231    
232 teichmann 38 * contrib/extract-xfa-items.sh: New. Can be used to extract longer
233     choice item lists for a given field from XFA files. e.g. with
234     './contrib/extract-xfa-items.sh Muttersprache alles.xml'
235    
236 teichmann 33 2007-08-12 Sascha L. Teichmann <[email protected]>
237    
238 teichmann 37 * tools/formed/formed/model/data.py,
239     tools/formed/formed/plugins/web/renderer.py,
240     tools/formed/formed/io/document.py: Changed the structure
241     of choice constructs. The idea to hold the different items
242     of a particular choice in a semicolon separated list was bad.
243     Now choices are groups and the option items are modelled as
244     embedded bools. (mainly Torsten Irländer's idea).
245    
246     WARNING: this makes old document files containing choices incompatible!!!
247     Use the following XSLT to reestablish compatibility.
248    
249     * contrib/itemize-choices.xsl: New converts old to new structure.
250     Needs exslt.org's string extensions (which xsltproc includes)
251    
252     * tools/formed/test-data/simple.xml: Ajusted to new structure
253    
254     * tools/formed/formed/plugins/web/plugin.py: remove debug output
255    
256     * tools/formed/formed/model/nodecomponents.py: fixed a small bug in
257     node finding code. It now uses the walk() generator, too.
258    
259     2007-08-12 Sascha L. Teichmann <[email protected]>
260    
261 teichmann 36 * tools/formed/formed/main.py: Added a clone item on the toolbar which
262     copies the currently selected item and appends it after the selection.
263    
264     * tools/formed/formed/model/nodecomponents.py: Added code to clone parts
265     of the tree.
266    
267     * tools/formed/formed/ui/controls.py: Added a getSelected method.
268    
269     * tools/formed/formed/model/misc.py: Fixed a programming bug.
270     forgot a 'self.' prefix.
271    
272     2007-08-12 Sascha L. Teichmann <[email protected]>
273    
274 teichmann 35 * tools/formed/formed/model/nodecomponents.py: Added a method to append
275     a second document to the current.
276    
277     * tools/formed/formed/main.py: Added an 'Import' file menu item to load
278     a second document to be appended to the current.
279    
280     2007-08-12 Sascha L. Teichmann <[email protected]>
281    
282 teichmann 34 * tools/formed/formed/main.py: Added a 'New' item in file menu which creates
283     a new document when triggered.
284    
285     2007-08-12 Sascha L. Teichmann <[email protected]>
286    
287 teichmann 33 * tools/formed/formed/model/nodecomponents.py: Added walk generator over all
288     items in the document tree. Added a method to eliminated duplicated names
289     in document tree.
290    
291     * tools/formed/formed/model/misc.py: Added update mechanism for id generator
292     after names collisions are eliminated.
293    
294     * tools/formed/formed/main.py: Added an 'Extra' menu with item
295     'Make names unique'.
296    
297 teichmann 30 2007-08-11 Sascha L. Teichmann <[email protected]>
298    
299 teichmann 32 * tools/formed/formed/model/data.py,
300     tools/formed/formed/plugins/web/renderer.py: Removed support
301     for 'text' attributes in bool items. They were never really
302     used and the 'description' attributes fulfill the same
303     purpose.
304    
305     * contrib/remove-bool-text.xsl: Transform to remove the
306     'text' attributes from bool items. Apply with:
307     'xsltproc contrib/remove-bool-text.xsl old.xml > new.xml'
308    
309     * tools/formed/test-data/simple.xml: Removed 'text' attributes
310     from bool items.
311    
312     2007-08-11 Sascha L. Teichmann <[email protected]>
313    
314 teichmann 31 * contrib/convert-choices.xsl: Simpified.
315    
316     2007-08-11 Sascha L. Teichmann <[email protected]>
317    
318 teichmann 30 * tools/formed/formed/model/data.py: Removed 'options' attribute
319     from ChoiceLeaf. Use 'value' instead, please!
320    
321     * tools/formed/formed/plugins/web/renderer.py: use 'value' attribute
322     instead of 'options' to render choices.
323    
324     * contrib/convert-choices.xsl: Added to convert document files
325     which use the choice 'option' attribute to usage of 'value'.
326     Apply with e.g. 'xsltproc convert-choices.xsl old.xml > new.xml'
327    
328 teichmann 23 2007-08-10 Sascha L. Teichmann <[email protected]>
329    
330 teichmann 29 * tools/formed/formed/plugins/web/renderer.py: radio buttons
331     are selected by 'checked' and not by 'selected'. Fixed.
332    
333     2007-08-10 Sascha L. Teichmann <[email protected]>
334    
335 teichmann 28 * tools/formed/formed/model/data.py: ChoiceLeafs are now
336     initialized with size = 1.
337    
338     2007-08-10 Sascha L. Teichmann <[email protected]>
339    
340 teichmann 27 * tools/formed/formed/model/data.py: TextLeafs are now
341     initialized with size = 40, maxlength = 60
342    
343     2007-08-10 Sascha L. Teichmann <[email protected]>
344    
345 teichmann 26 * tools/formed/formed/plugins/web/renderer.py: Fixed: choices
346     are renderered with description now.
347    
348     2007-08-10 Sascha L. Teichmann <[email protected]>
349    
350 teichmann 25 * tools/formed/formed/plugins/web/renderer.py: Added rendering
351     for date items. Added missing ids for texts and textareas.
352    
353     2007-08-10 Sascha L. Teichmann <[email protected]>
354    
355 teichmann 24 * tools/formed/formed/config.py: Evaluate the environment
356     variable 'FORMED'. Snytax: FORMED='key1:value1;key2:value2'
357    
358     * tools/formed/formed/plugins/plugin.py: Give a reference
359     to the config at setup time.
360    
361     * tools/formed/formed/plugins/web/plugin.py: To determine
362     the port look at FORMED dictionary first. Key is 'web.port'.
363     e.g. FORMED='web.port:8888'
364    
365     * tools/formed/formed/main.py: Call the plugin setup with
366     the reference to the config.
367    
368     2007-08-10 Sascha L. Teichmann <[email protected]>
369    
370 teichmann 23 * tools/formed/test-data/simple.xml: removed 'text' attributes from
371     info tags. Use the 'value' attributes for same purpose now, please!
372    
373     * tools/formed/formed/model/data.py: removed text attributes from
374     InfoLeaf.
375    
376     * tools/formed/formed/plugins/web/renderer.py: Rendering of info
377     now uses the 'value' instead of the 'text' attributes.
378    
379 teichmann 17 2007-08-09 Sascha L. Teichmann <[email protected]>
380 teichmann 10
381 teichmann 22 * tools/formed/formed/model/data.py: next/prevPage() are
382     methods of PageNode now.
383    
384     * tools/formed/formed/model/nodecomponents.py: findByClassAndName()
385     is method of Document now.
386    
387     * tools/formed/formed/plugins/web/plugin.py: Factored out
388     the HTML renderer.
389    
390     * tools/formed/formed/plugins/web/renderer.py: New: contains
391     the HTML renderer now.
392    
393     * tools/formed/test-data/simple.xml: Fixed typo
394    
395     2007-08-09 Sascha L. Teichmann <[email protected]>
396    
397 teichmann 21 * tools/formed/formed/plugins/web/plugin.py: Fixed a bug
398     in calculation of width of bounded int fields.
399    
400     2007-08-09 Sascha L. Teichmann <[email protected]>
401    
402 teichmann 20 * tools/formed/test-data/simple.xml: Make demo Int fancier.
403    
404     * tools/formed/formed/model/data.py: Added attributes to IntLeaf
405    
406     * tools/formed/formed/plugins/web/plugin.py: Added rendering for
407     Ints
408    
409     2007-08-09 Sascha L. Teichmann <[email protected]>
410    
411 teichmann 19 * tools/formed/test-data/simple.xml: Added demo textarea
412    
413     * tools/formed/formed/model/data.py: Added TextAreaLeaf
414    
415     * tools/formed/formed/io/document.py: register builder
416     for loading of textareas
417    
418     * tools/formed/formed/plugins/web/plugin.py: Added rendering
419     for textareas.
420    
421     2007-08-09 Sascha L. Teichmann <[email protected]>
422    
423 teichmann 18 * tools/formed/test-data/simple.xml: Make demo choice fancier.
424 teichmann 17
425 teichmann 18 * tools/formed/formed/model/data.py: Added attributes for texts
426    
427     * tools/formed/formed/plugins/web/plugin.py: Added rendering
428     for texts
429 teichmann 17
430 teichmann 18 2007-08-09 Sascha L. Teichmann <[email protected]>
431    
432     * tools/formed/test-data/simple.xml: Make demo choice fancier.
433    
434     * tools/formed/formed/model/data.py: Added attributes for choices.
435    
436 teichmann 17 * tools/formed/formed/plugins/web/plugin.py: Added rendering
437     for choices
438    
439     2007-08-09 Sascha L. Teichmann <[email protected]>
440    
441 teichmann 16 * tools/formed/formed/model/data.py,
442     tools/formed/formed/model/nodecomponents.py: Added new
443     attributes.
444    
445     * tools/formed/formed/plugins/web/plugin.py: Added rendering
446     for checkboxes and radio buttons.
447    
448     2007-08-08 Sascha L. Teichmann <[email protected]>
449    
450 teichmann 15 * tools/formed/test-data/simple.xml: Added some descriptions
451    
452     * tools/formed/formed/model/data.py: set attributes in constructors
453     directly.
454    
455     * tools/formed/formed/model/nodecomponents.py: Added description
456     attribute in the NodeComponent base class.
457    
458     * tools/formed/formed/plugins/web/plugin.py: Render description
459     as legend in fieldset for GroupNodes.
460    
461     2007-08-08 Sascha L. Teichmann <[email protected]>
462    
463 teichmann 14 * tools/formed/formed/plugins/web/plugin.py: make UTF-8
464     output work.
465    
466     2007-08-08 Sascha L. Teichmann <[email protected]>
467    
468 teichmann 12 * tools/formed/formed/model/data.py: Added get/setText() method
469    
470     * tools/formed/formed/plugins/web/plugin.py: Added a first
471     version of a recursive HTML renderer based on the document
472     tree.
473    
474     2007-08-08 Sascha L. Teichmann <[email protected]>
475    
476 teichmann 11 * tools/formed/formed/plugins/*: New: plug-in infrastructure.
477    
478     * tools/formed/formed/plugins/web/*: new: A simple web server
479     which is intended to serve pages of the current formular.
480    
481     * tools/formed/formed/main.py: start the plug-ins
482    
483     * tools/formed/formed/config.py: configuration class. Used
484     for the plug-ins.
485    
486     2007-08-08 Sascha L. Teichmann <[email protected]>
487    
488 teichmann 10 * tools/formed/formed/model/nodecomponents.py: Fixed broadcasting
489     issue with zero length tree paths.
490    
491     * tools/formed/formed/model/misc.py: New: contains a class
492     for generating unique ids.
493    
494     * tools/formed/formed/main.py: Added an instance of an
495     unique id generator for naming of new made tree items.
496    
497 teichmann 7 2007-08-07 Sascha L. Teichmann <[email protected]>
498    
499 teichmann 9 * tools/formed/formed/main.py: Added event route document ->
500     attribute table to get informed when selected item is delete
501     or an attribute is changed from the outside.
502    
503     * tools/formed/formed/ui/controls.py: Fixed. In older versions of
504     wxPython 2.6.x ListCtrl.InsertStringItem takes 2 instead
505     of 3 argument. Uses icons+tooltips for tree navigation now.
506    
507     2007-08-07 Sascha L. Teichmann <[email protected]>
508    
509 teichmann 8 * tools/formed/formed/model/nodecomponents.py: Set name
510     attribute in base class.
511    
512     * tools/formed/formed/io/document.py: Added a table
513     names -> classes.
514    
515     * tools/formed/formed/main.py: Added a toolbar. Added code
516     to create and delete tree items.
517    
518     * tools/formed/formed/ui/controls.py: Added code to
519     insert and delete new tree items.
520    
521     2007-08-07 Sascha L. Teichmann <[email protected]>
522    
523 teichmann 7 * tools/formed/formed/model/nodecomponents.py: Fixed event
524     broadcasting for attribute changes.
525    
526     * tools/formed/formed/ui/controls.py: Add a list/table control to
527     edit the attributes of a selected item.
528    
529     * tools/formed/formed/main.py: Added code to bind the new
530     list/table control.
531    
532 teichmann 4 2007-08-06 Sascha L. Teichmann <[email protected]>
533    
534 teichmann 6 * tools/formed/formed/main.py: Added event routes to move
535     items in and out of groups.
536    
537     * tools/formed/formed/ui/controls.py: Added code to move
538     items in and out of groups.
539    
540     2007-08-06 Sascha L. Teichmann <[email protected]>
541    
542 teichmann 5 * tools/formed/formed/model/nodecomponents.py: Fixed path
543     calculation to root and event broadcasting
544    
545     * tools/formed/formed/io/factories.py: Adjust to new
546     event broadcasting.
547    
548     * tools/formed/formed/main.py: Added code to move items
549     up and down the document tree.
550    
551     * tools/formed/formed/ui/controls.py: Establish sort order
552     by indices of children in parent instead of alphanum.
553     Code to move items up and down the document tree.
554    
555     * tools/formed/formed/io/document.py: Added missing imports.
556    
557     2007-08-06 Sascha L. Teichmann <[email protected]>
558    
559 teichmann 4 * tools/formed/formed.py: Added to avoid problems with
560     ambiguous absolute module names. Thanks to Bernhard Herzog
561    
562     * tools/formed/formed.sh: Starts formed.py now
563    
564     * tools/formed/formed/main.py,
565     tools/formed/formed/ui/controls.py: Added control to
566     move items around in tree. Has no effect by now.
567    
568 teichmann 2 2007-08-05 Sascha L. Teichmann <[email protected]>
569    
570 teichmann 3 * tools/formed/formed/io/parser.py: Adjusted style
571    
572     * tools/formed/formed/io/document.py,
573 teichmann 4 tools/formed/formed/io/factories.py: Simplified factory
574     model for XML loading.
575 teichmann 3
576     2007-08-05 Sascha L. Teichmann <[email protected]>
577    
578 teichmann 2 * ChangeLog: started ChangeLog
579    
580     * tools/formed/*: initial check-in of the Formular Editor.
581     Not working yet. Only can load, view and store formular XML files.
582     Start it with 'tools/formed/formed.sh'.

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26