/[formed]/trunk/ChangeLog
ViewVC logotype

Annotation of /trunk/ChangeLog

Parent Directory Parent Directory | Revision Log Revision Log


Revision 49 - (hide annotations)
Fri Aug 17 10:55:46 2007 UTC (17 years, 6 months ago) by torsten
File size: 15390 byte(s)
Added Changenote in Changelog (forgotten)

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

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26