/[formed]/trunk/ChangeLog
ViewVC logotype

Contents of /trunk/ChangeLog

Parent Directory Parent Directory | Revision Log Revision Log


Revision 68 - (show annotations)
Tue Aug 21 13:28:35 2007 UTC (17 years, 6 months ago) by frank
File size: 21062 byte(s)
* contrib/convert-formedtree2html.xsl: Display switch nodes as alternatives.

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

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26