/[formed]/trunk/ChangeLog
ViewVC logotype

Annotation of /trunk/ChangeLog

Parent Directory Parent Directory | Revision Log Revision Log


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

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26