/[formed]/trunk/ChangeLog
ViewVC logotype

Annotation of /trunk/ChangeLog

Parent Directory Parent Directory | Revision Log Revision Log


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

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26