/[formed]/trunk/ChangeLog
ViewVC logotype

Annotation of /trunk/ChangeLog

Parent Directory Parent Directory | Revision Log Revision Log


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

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26