/[formed]/trunk/ChangeLog
ViewVC logotype

Contents of /trunk/ChangeLog

Parent Directory Parent Directory | Revision Log Revision Log


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

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26