/[formed]/trunk/ChangeLog
ViewVC logotype

Annotation of /trunk/ChangeLog

Parent Directory Parent Directory | Revision Log Revision Log


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

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26