/[formed]/trunk/ChangeLog
ViewVC logotype

Annotation of /trunk/ChangeLog

Parent Directory Parent Directory | Revision Log Revision Log


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

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26