/[formed]/trunk/ChangeLog
ViewVC logotype

Annotation of /trunk/ChangeLog

Parent Directory Parent Directory | Revision Log Revision Log


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

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26