/[formed]/trunk/ChangeLog
ViewVC logotype

Contents of /trunk/ChangeLog

Parent Directory Parent Directory | Revision Log Revision Log


Revision 52 - (show annotations)
Fri Aug 17 14:32:03 2007 UTC (17 years, 6 months ago) by torsten
File size: 15755 byte(s)
Added missing changenote in changelog

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

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26