/[formed]/trunk/ChangeLog
ViewVC logotype

Contents of /trunk/ChangeLog

Parent Directory Parent Directory | Revision Log Revision Log


Revision 106 - (show annotations)
Wed Aug 29 04:52:05 2007 UTC (17 years, 6 months ago) by teichmann
File size: 31320 byte(s)
Renamed GroupNode.getRepeat() to .isRepeat and return a bool. Fixed a bug in Page.allWidgets().
1 2007-08-29 Sascha L. Teichmann <[email protected]>
2
3 * tools/formed/formed/model/data.py: Renamed GroupNode.getRepeat()
4 to .isRepeat and return a bool. Fixed a bug in Page.allWidgets().
5
6 2007-08-28 Torsten Irlaender <[email protected]>
7
8 * tools/formed/plugins/web/renderer.py: Added Formdata interface.
9 * tools/formed/model/data.py: Implements Formadata interface to
10 textfields. Fieldset generated depends now on the "invisible"
11 attribute of the groupnode. Field-label generation slightly changed.
12 Added error indication to textfields
13
14 2007-08-28 Sascha L. Teichmann <[email protected]>
15
16 * tools/formed/formed/model/data.py,
17 tools/formed/formed/io/document.py: Removed support
18 of logical groups.
19
20 2007-08-28 Sascha L. Teichmann <[email protected]>
21
22 * tools/formed/formed/io/document.py: Avoid saving empty
23 attributes.
24
25 * tools/formed/test-data/simple.xml: Applied.
26
27 2007-08-28 Sascha L. Teichmann <[email protected]>
28
29 * tools/formed/formed/model/data.py: Added 'repeat' and
30 'invisible' attributes to group. TODO: remove logical group.
31
32 2007-08-27 Torsten Irlaender <[email protected]>
33
34 * tools/formed/plugins/web/plugin.py,
35 tools/formed/plugins/web/renderer.py: Started to include stylesheet
36 depending tags in the html generation.
37
38 2007-08-27 Sascha L. Teichmann <[email protected]>
39
40 * tools/formed/formed/model/data.py,
41 tools/formed/formed/io/document.py: Added a logical group.
42 It has an attribute 'repeat' to indicate that it might
43 be worthy an external table in DB schema.
44
45 2007-08-27 Sascha L. Teichmann <[email protected]>
46
47 * tools/formed/formed/plugins/web/plugin.py: Support
48 serving of static content.
49
50 * tools/formed/formed/plugins/web/server.py: Removed
51 old send code.
52
53 2007-08-27 Sascha L. Teichmann <[email protected]>
54
55 * tools/formed/formed/plugins/web/plugin.py: Use new
56 Response object. Fix typo.
57
58 * tools/formed/formed/plugins/web/server.py: support
59 response object to serve different MIME types.
60
61 2007-08-27 Sascha L. Teichmann <[email protected]>
62
63 * tools/formed/formed/plugins/web/plugin.py: Add web.path
64 to FORMED environment variable to specify the
65 root of the static content.
66
67 2007-08-26 Sascha L. Teichmann <[email protected]>
68
69 * tools/formed/formed/model/data.py,
70 tools/formed/formed/model/nodecomponents.py: Fixed mode issues.
71
72 * tools/formed/formed/plugins/web/www,
73 tools/formed/formed/plugins/web/www/main.tmpl: New. Contains
74 a template for the HTML output.
75
76 * tools/formed/formed/plugins/web/plugin.py: Fixes several smaller
77 mode issues. Introduces CSS support. Simplified the action
78 handling.
79
80 * tools/formed/formed/plugins/web/renderer.py: Removed the
81 nagivation code.
82
83 * tools/formed/formed/plugins/web/server.py: Added missing import.
84
85 2007-08-26 Sascha L. Teichmann <[email protected]>
86
87 * tools/formed/formed/model/data.py: Added missing broadcast
88 parameter to setAttribute() of RuleLeaf.
89
90 * tools/formed/formed/plugins/web/plugin.py: Factorize
91 HTTP server code out to separate module.
92
93 * tools/formed/formed/plugins/web/renderer.py: Removed
94 needless -1 from pop()
95
96 * tools/formed/formed/plugins/web/server.py: New. Contains
97 the HTTP server code now.
98
99 2007-08-26 Sascha L. Teichmann <[email protected]>
100
101 * tools/formed/test-data/simple.xml: Modified to contain a rule.
102
103 * tools/formed/formed/model/expr.py: Added. A simple RPN
104 expression evaluator. To avoid the problem of eval()ing
105 arbitrary python expressions I've decided to use a very
106 basic and limited stack machine to support rule checking.
107
108 * tools/formed/formed/model/data.py: Added a RuleLeaf.
109
110 * tools/formed/formed/io/document.py: Added factories for rules.
111
112 * tools/formed/formed/model/nodecomponents.py: Add a method
113 to find all items of a given type in document for a given
114 mode. Usefull to find all rules in the tree.
115
116 * tools/formed/formed/ui/controls.py: Added a listener mechanism
117 to attribute table to report exceptions when setting a value
118 from GUI. Useful to report compilation errors when setting
119 expr of rule leafs.
120
121 * tools/formed/formed/main.py: Added a method to track exceptions
122 from the attribute table and pop up dialogs if they occur.
123 Added a counter of rule modifications in tree. Useful if you
124 want build cached data structures like rule sets and you want
125 to know if they are still valid.
126
127 2007-08-24 Torsten Irlaender <[email protected]>
128
129 * tools/formed/formed/plugins/export/sql.py: Fixed CHECK-constraint
130 for checkbox values. (Syntax error).
131
132 * tools/formed/formed/plugins/names/filter.py: Fixes in formularname
133 generation
134
135 2007-08-24 Torsten Irlaender <[email protected]>
136
137 * tools/formed/formed/plugins/names/filter.py: Separated Class for
138 making the formularnames more database friendly. Added some more
139 checks.
140 * tools/formed/formed/plugins/export/sql.py: Make use of the fresh
141 separated class, and some fixes in sql generation.
142
143 2007-08-24 Sascha L. Teichmann <[email protected]>
144
145 * tools/formed/formed/plugins/export/html.py: Print lengths
146 of external choice list.
147
148 2007-08-24 Sascha L. Teichmann <[email protected]>
149
150 * tools/formed/formed/main.py: Little workaround for
151 mode selection if someone adds an removes a mode.
152
153 2007-08-24 Sascha L. Teichmann <[email protected]>
154
155 * tools/formed/test-data/simple.xml: Better test case for
156 mode depended leaf items.
157
158 * tools/formed/formed/model/nodecomponents.py: Added a method
159 to calculate the effective mode of an item.
160
161 * tools/formed/formed/plugins/export/html.py: Use effective
162 mode. TODO: the 'all' modus return false results sometimes.
163 Cause: The modes are only cumulated over time. Removal is
164 not done.
165
166 2007-08-24 Sascha L. Teichmann <[email protected]>
167
168 * tools/formed/formed/plugins/export/html.py: Dump the items
169 of radio groups and choices too.
170
171 2007-08-24 Torsten Irlaender <[email protected]>
172
173 * tools/formed/formed/plugins/names/filter.py: Modified the renaming
174 by formular names to make the naming more database friendly.
175 Now only alphanumeric and underscore chars is allowed.
176
177 2007-08-24 Sascha L. Teichmann <[email protected]>
178
179 * tools/formed/formed/plugins/export/html.py: Tweaked
180 HTML table exporter a bit to be on par with the XSLT
181 script. TODO: Dump items in radio and choice groups.
182
183 2007-08-23 Sascha L. Teichmann <[email protected]>
184
185 * tools/formed/formed/plugins/names/filter.py: Removed
186 HTML and SQL exporters.
187
188 * tools/formed/formed/plugins/export,
189 tools/formed/formed/plugins/export/__init__.py,
190 tools/formed/formed/plugins/export/sql.py,
191 tools/formed/formed/plugins/export/html.py: New: Contain
192 the HTML and the SQL exporters now.
193
194 * tools/formed/formed/config.py: Use exporters from different
195 package now.
196
197 2007-08-23 Torsten Irlaender <[email protected]>
198
199 * tools/formed/formed/plugins/names/filter.py: Added an
200 pseudo SQL export filters. TODO: Move HTML and SQL filter
201 in a new file (formed/plugins/export/htmlexport.py and
202 sqlexport.py?)
203
204 * tools/formed/formed/config.py: Install the new SQL filter.
205
206 2007-08-23 Sascha L. Teichmann <[email protected]>
207
208 * tools/formed/formed/model/nodecomponents.py: Added a depth()
209 method to determine the depth of particular tree item.
210
211 * tools/formed/formed/plugins/names/filter.py: Added an
212 HTML export filters. TODO: needs more work.
213
214 * tools/formed/formed/config.py: Install the new HTML filter.
215
216 2007-08-23 Torsten Irlaender <[email protected]>
217
218 * contrib/extract-xfa-fields_and_options.xsl: Added small xsl script
219 to extract fields and options in the XFA Data in teh PDF. This
220 script might me handy to indicate changes between the different
221 formular versions.
222
223 2007-08-23 Sascha L. Teichmann <[email protected]>
224
225 * tools/formed/formed/main.py: Add an 'all' mode to
226 select all modes. ;-)
227
228 2007-08-22 Sascha L. Teichmann <[email protected]>
229
230 * tools/formed/test-data/simple.xml,
231 tools/formed/formed/model/data.py,
232 tools/formed/formed/plugins/web/plugin.py,
233 tools/formed/formed/plugins/web/renderer.py,
234 tools/formed/formed/io/document.py,
235 tools/formed/formed/main.py: Removed support for switch nodes.
236 BEWARE: This breaks compatibility with older documents!
237
238 2007-08-22 Sascha L. Teichmann <[email protected]>
239
240 * tools/formed/formed/plugins/web/plugin.py: Uses the
241 getSelectedMode() from main now.
242
243 * tools/formed/formed/main.py: selected mode is now hold
244 in main.
245
246 * tools/formed/formed/config.py: removed selected mode from
247 env configuration.
248
249 2007-08-22 Sascha L. Teichmann <[email protected]>
250
251 * tools/formed/formed/ui/controls.py: Attributes in GUI attribute
252 table are now alphabetically sorted.
253
254 2007-08-22 Sascha L. Teichmann <[email protected]>
255
256 * tools/formed/formed/model/nodecomponents.py: Added code to
257 establish the new 'modes' recursively.
258
259 * tools/formed/formed/plugins/plugin.py: Pass main instead
260 of cfg on plug-in start-up.
261
262 * tools/formed/formed/plugins/web/plugin.py: Use the new
263 'modes' attribute for rendering.
264
265 * tools/formed/formed/plugins/web/renderer.py: Use decorators
266 to check the new modes.
267
268 * tools/formed/formed/main.py: Adjusted to new infrastructure.
269
270 2007-08-22 Sascha L. Teichmann <[email protected]>
271
272 * tools/formed/formed/model/nodecomponents.py: Added an
273 attribute 'modes' to NodeComponents.
274
275 2007-08-22 Sascha L. Teichmann <[email protected]>
276
277 * tools/formed/formed/model/data.py: Small cosmetic cleanups
278
279 2007-08-21 Sascha L. Teichmann <[email protected]>
280
281 * tools/formed/formed/plugins/web/renderer.py: Another fix
282 for the hidden field. Argh!
283
284 2007-08-21 Sascha L. Teichmann <[email protected]>
285
286 * tools/formed/formed/plugins/web/renderer.py: Fixed double
287 generation of hidden page field.
288
289 2007-08-21 Sascha L. Teichmann <[email protected]>
290
291 * tools/formed/formed/plugins/web/semantic.py: Added semantic
292 checks for radio groups.
293
294 2007-08-21 Sascha L. Teichmann <[email protected]>
295
296 * tools/formed/formed/plugins/web/semantic.py: Added semantic
297 checks for choices.
298
299 2007-08-21 Frank Koormann <[email protected]>
300
301 * contrib/convert-formedtree2html.xsl: Display switch nodes as
302 alternatives.
303
304 2007-08-21 Frank Koormann <[email protected]>
305
306 * contrib/convert-formedtree2html.xsl:
307 Replace technical types with readable descriptions
308
309 2007-08-21 Sascha L. Teichmann <[email protected]>
310
311 * tools/formed/formed/plugins/web/plugin.py: Fix a few smaller
312 issues. 'action' looks for all widgets on a page now, goes
313 through all passed parameters, tries to match them with the
314 widgets of the page and put them into the semantic box.
315 Afterwards a list of untouched page parameters are left
316 which will be deleted from the semantic box.
317
318 * tools/formed/formed/plugins/web/semantic.py: Simplified.
319 The NodeComponent is passed as an argument now.
320
321 * tools/formed/formed/plugins/web/renderer.py: Generate a
322 hidden field to store the name of the page.
323
324 2007-08-21 Sascha L. Teichmann <[email protected]>
325
326 * tools/formed/formed/plugins/web/plugin.py: Fixed an encoding
327 issue with incoming UTF-8 data.
328
329 2007-08-21 Sascha L. Teichmann <[email protected]>
330
331 * tools/formed/test-data/simple.xml: Improve test for widgets
332 in switches.
333
334 * tools/formed/formed/model/data.py: Added a method to find all
335 widgets in a given page. Fixed a bug when walking in switch
336 with a given mode.
337
338 * tools/formed/formed/plugins/web/plugin.py: Simple test for
339 listing all widgets in page.
340
341 2007-08-21 Torsten Irlaender <[email protected]>
342
343 * tools/formed/formed/plugins/names/filter.py: Fixed file-encoding to
344 latin-1
345
346 2007-08-21 Sascha L. Teichmann <[email protected]>
347
348 * tools/formed/formed/model/data.py: Added mode parameter to
349 walk.
350
351 * tools/formed/formed/model/nodecomponents.py: SwitchNode overwrites
352 walk() with usage of the new mode parameter. Added a method to
353 give children in a given mode.
354
355 * tools/formed/formed/plugins/web/renderer.py: Simplified to use
356 new Switch.childrenInMode() method.
357
358 2007-08-21 Sascha L. Teichmann <[email protected]>
359
360 * tools/formed/formed/plugins/web/semantic.py: Add checks for
361 texts and text areas.
362
363 * tools/formed/formed/plugins/web/renderer.py: Set accept-charset
364 to UTF-8 in generated form.
365
366 2007-08-20 Sascha L. Teichmann <[email protected]>
367
368 * tools/formed/formed/plugins/web/semantic.py: Added semantic
369 tests for dates.
370
371 2007-08-20 Sascha L. Teichmann <[email protected]>
372
373 * tools/formed/test-data/simple.xml: Tweak a bit for integer
374 range test.
375
376 * tools/formed/formed/model/nodecomponents.py: Added a method
377 to find a tree item for a given name.
378
379 * tools/formed/formed/plugins/web/semantic.py: New: Box for
380 semantic checking. Has check for integers.
381
382 * tools/formed/formed/plugins/web/plugin.py: Use semantic
383 check.
384
385 2007-08-20 Torsten Irlaender <[email protected]>
386
387 * tools/formed/formed/plugins/web/renderer.py: Fixed Syntax in
388 selection-field generation (Removed quote)
389
390 2007-08-18 Sascha L. Teichmann <[email protected]>
391
392 * tools/formed/formed/plugins/web/plugin.py,
393 tools/formed/formed/plugins/web/renderer.py: Added a
394 simple cookie based session management to the HTML
395 renderer. This submit parameters are stored in the
396 session now. This will ease testing the constraint
397 tests which need to be written soon.
398
399 BEWARE: The session management is _not_ made for production!
400 Denial of service attacks are too easy, and the
401 cryptographical strength of the session id is doubtful.
402
403 2007-08-18 Sascha L. Teichmann <[email protected]>
404
405 * tools/formed/formed/plugins/web/renderer.py: Escaping text
406 coming from the document tree now when inserting it into the
407 HTML output.
408
409 2007-08-18 Sascha L. Teichmann <[email protected]>
410
411 * tools/formed/formed/plugins/plugin.py: Added a new kind
412 of plug-in: Filter. They have a short and a long description
413 and can be hooked automatically into the new 'Filters'
414 sub menu under 'Extra'. They got called when the user
415 selects their respective menu item.
416
417 * tools/formed/formed/config.py: Contains the list of
418 installed filters.
419
420 * tools/formed/formed/main.py: Builds the Extra->Filters
421 sub menu during gui initialization. The hard wired code
422 for make unique and formular name/description -> name
423 is removed because they are implemented as filters now.
424
425 * tools/formed/formed/model/nodecomponents.py,
426 tools/formed/formed/model/data.py: Removed the make
427 unique and formular name/description -> name code.
428
429 * tools/formed/formed/plugins/names,
430 tools/formed/formed/plugins/names/__init__.py,
431 tools/formed/formed/plugins/names/filter.py: Added. Contains
432 the make unique and formular name/description -> name code
433 in form of filters.
434
435 * tools/formed/test-data/simple.xml: Modified to be a better
436 test for the formular name/description -> name filter.
437
438 2007-08-18 Sascha L. Teichmann <[email protected]>
439
440 * tools/formed/formed.py, tools/formed/formed/main.py: First
441 command line argument is interpreted as filename of document
442 to be loaded at program startup.
443
444 2007-08-17 Frank Koormann <[email protected]>
445
446 * contrib/convert-formedtree2html.xsl:
447 Heading level depending on depth of group node.
448 In case of radio/choice/check only list of options.
449
450 2007-08-17 Torsten Irlaender <[email protected]>
451
452 * contrib/convert-formedtree2html.xsl: Output is now generated with
453 HTML doc-string and charset information in the meta-header.
454
455 2007-08-17 Torsten Irlaender <[email protected]>
456
457 * contrib/convert-formedtree2html.xsl: Added small script for
458 exporting the formed tree to html
459
460 2007-08-17 Torsten Irlaender <[email protected]>
461
462 * tools/formed/model/nodecomponents.py: Added function to rename
463 the set the name of the node to the formularname. The formularname
464 gets shorten to <=64 by removing vowels and is stored lowercase.
465 If the name is not unique and additional id value is appended.
466
467 * tools/formed/formed/model/data.py: Overwritten renaming-function for
468 bool-leafs
469
470 * tools/formed/formed/main.py: Added menuitem for renaming the names
471 of the element
472
473 2007-08-16 Sascha L. Teichmann <[email protected]>
474
475 * tools/formed/formed/main.py: Swaped order of
476 'Make names unique' and 'Selected mode...' in Extra
477 menu and put a separator between them.
478
479 2007-08-15 Sascha L. Teichmann <[email protected]>
480
481 * tools/formed/formed/model/data.py: SwitchNodes can add
482 their modes to a given set now.
483
484 * tools/formed/formed/plugins/plugin.py: Simplified
485 the plug-in interface. Only the reference to the
486 global configuration is passed at setup time.
487
488 * tools/formed/formed/plugins/web/plugin.py: Adjusted
489 to new plug-in setup. The traveral mode is now taken
490 from the global configuration each time a rendering
491 is triggered. The FORMED parameter is now named
492 'doc.mode' instead of 'web.mode'. The parameter
493 is not needed any more because it can be configured
494 at runtime.
495
496 * tools/formed/formed/main.py: Adjusted to new plugin
497 setup. Added a new menu item Extra->Select Mode...
498 to select the traversal mode. It is stored in the
499 global config.
500
501 * tools/formed/formed/config.py: Simplified. Only uses
502 one env dictionary to store global configuration parameters.
503
504 * tools/formed/formed/ui/controls.py: Add a control to
505 select one item from a list of given strings.
506
507 2007-08-15 Sascha L. Teichmann <[email protected]>
508
509 * tools/formed/formed/plugins/web/plugin.py,
510 tools/formed/formed/plugins/web/renderer.py: Added parameter
511 print out in web plugin.
512
513 2007-08-15 Torsten Irlaender <[email protected]>
514
515 * contrib/convert-formedtree2csv.xsl: Added small script for
516 exporting the formed tree to csv
517
518 2007-08-14 Sascha L. Teichmann <[email protected]>
519
520 * tools/formed/formed/model/data.py,
521 tools/formed/formed/model/nodecomponents.py,
522 tools/formed/formed/io/document.py: Added a 'switch' node.
523
524 * tools/formed/formed/plugins/web/renderer.py:Render the
525 new 'switch' node.
526
527 * tools/formed/formed/plugins/web/plugin.py,
528 tools/formed/formed/config.py: Added a 'web.mode' parameter
529 to FORMED environment variable.
530 e.g. 'FORMED=web.mode:modeX' sets the mode 'modeX'.
531 Defaults to 'default'.
532
533 * tools/formed/test-data/simple.xml: Added test for switch.
534
535 2007-08-14 Sascha L. Teichmann <[email protected]>
536
537 * tools/formed/formed/model/nodecomponents.py: Added an
538 attribute 'formularname' to base class of node components.
539
540 2007-08-13 Sascha L. Teichmann <[email protected]>
541
542 * tools/formed/formed/io/document.py,
543 tools/formed/formed/model/data.py,
544 tools/formed/formed/model/nodecomponents.py: Added an item
545 to model external item lists.
546
547 * tools/formed/formed/plugins/web/renderer.py: Render new item
548 list.
549 * tools/formed/formed/main.py: Added a forgotten 'self.'
550
551 * contrib/extract-xfa-items.sh: Modified to generate
552 documents to be loadable from new item lists
553
554 2007-08-13 Sascha L. Teichmann <[email protected]>
555
556 * tools/formed/formed/main.py: Fixed typo
557
558 2007-08-13 Sascha L. Teichmann <[email protected]>
559
560 * contrib/extract-xfa-items.sh: New. Can be used to extract longer
561 choice item lists for a given field from XFA files. e.g. with
562 './contrib/extract-xfa-items.sh Muttersprache alles.xml'
563
564 2007-08-12 Sascha L. Teichmann <[email protected]>
565
566 * tools/formed/formed/model/data.py,
567 tools/formed/formed/plugins/web/renderer.py,
568 tools/formed/formed/io/document.py: Changed the structure
569 of choice constructs. The idea to hold the different items
570 of a particular choice in a semicolon separated list was bad.
571 Now choices are groups and the option items are modelled as
572 embedded bools. (mainly Torsten Irländer's idea).
573
574 WARNING: this makes old document files containing choices incompatible!!!
575 Use the following XSLT to reestablish compatibility.
576
577 * contrib/itemize-choices.xsl: New converts old to new structure.
578 Needs exslt.org's string extensions (which xsltproc includes)
579
580 * tools/formed/test-data/simple.xml: Ajusted to new structure
581
582 * tools/formed/formed/plugins/web/plugin.py: remove debug output
583
584 * tools/formed/formed/model/nodecomponents.py: fixed a small bug in
585 node finding code. It now uses the walk() generator, too.
586
587 2007-08-12 Sascha L. Teichmann <[email protected]>
588
589 * tools/formed/formed/main.py: Added a clone item on the toolbar which
590 copies the currently selected item and appends it after the selection.
591
592 * tools/formed/formed/model/nodecomponents.py: Added code to clone parts
593 of the tree.
594
595 * tools/formed/formed/ui/controls.py: Added a getSelected method.
596
597 * tools/formed/formed/model/misc.py: Fixed a programming bug.
598 forgot a 'self.' prefix.
599
600 2007-08-12 Sascha L. Teichmann <[email protected]>
601
602 * tools/formed/formed/model/nodecomponents.py: Added a method to append
603 a second document to the current.
604
605 * tools/formed/formed/main.py: Added an 'Import' file menu item to load
606 a second document to be appended to the current.
607
608 2007-08-12 Sascha L. Teichmann <[email protected]>
609
610 * tools/formed/formed/main.py: Added a 'New' item in file menu which creates
611 a new document when triggered.
612
613 2007-08-12 Sascha L. Teichmann <[email protected]>
614
615 * tools/formed/formed/model/nodecomponents.py: Added walk generator over all
616 items in the document tree. Added a method to eliminated duplicated names
617 in document tree.
618
619 * tools/formed/formed/model/misc.py: Added update mechanism for id generator
620 after names collisions are eliminated.
621
622 * tools/formed/formed/main.py: Added an 'Extra' menu with item
623 'Make names unique'.
624
625 2007-08-11 Sascha L. Teichmann <[email protected]>
626
627 * tools/formed/formed/model/data.py,
628 tools/formed/formed/plugins/web/renderer.py: Removed support
629 for 'text' attributes in bool items. They were never really
630 used and the 'description' attributes fulfill the same
631 purpose.
632
633 * contrib/remove-bool-text.xsl: Transform to remove the
634 'text' attributes from bool items. Apply with:
635 'xsltproc contrib/remove-bool-text.xsl old.xml > new.xml'
636
637 * tools/formed/test-data/simple.xml: Removed 'text' attributes
638 from bool items.
639
640 2007-08-11 Sascha L. Teichmann <[email protected]>
641
642 * contrib/convert-choices.xsl: Simpified.
643
644 2007-08-11 Sascha L. Teichmann <[email protected]>
645
646 * tools/formed/formed/model/data.py: Removed 'options' attribute
647 from ChoiceLeaf. Use 'value' instead, please!
648
649 * tools/formed/formed/plugins/web/renderer.py: use 'value' attribute
650 instead of 'options' to render choices.
651
652 * contrib/convert-choices.xsl: Added to convert document files
653 which use the choice 'option' attribute to usage of 'value'.
654 Apply with e.g. 'xsltproc convert-choices.xsl old.xml > new.xml'
655
656 2007-08-10 Sascha L. Teichmann <[email protected]>
657
658 * tools/formed/formed/plugins/web/renderer.py: radio buttons
659 are selected by 'checked' and not by 'selected'. Fixed.
660
661 2007-08-10 Sascha L. Teichmann <[email protected]>
662
663 * tools/formed/formed/model/data.py: ChoiceLeafs are now
664 initialized with size = 1.
665
666 2007-08-10 Sascha L. Teichmann <[email protected]>
667
668 * tools/formed/formed/model/data.py: TextLeafs are now
669 initialized with size = 40, maxlength = 60
670
671 2007-08-10 Sascha L. Teichmann <[email protected]>
672
673 * tools/formed/formed/plugins/web/renderer.py: Fixed: choices
674 are renderered with description now.
675
676 2007-08-10 Sascha L. Teichmann <[email protected]>
677
678 * tools/formed/formed/plugins/web/renderer.py: Added rendering
679 for date items. Added missing ids for texts and textareas.
680
681 2007-08-10 Sascha L. Teichmann <[email protected]>
682
683 * tools/formed/formed/config.py: Evaluate the environment
684 variable 'FORMED'. Snytax: FORMED='key1:value1;key2:value2'
685
686 * tools/formed/formed/plugins/plugin.py: Give a reference
687 to the config at setup time.
688
689 * tools/formed/formed/plugins/web/plugin.py: To determine
690 the port look at FORMED dictionary first. Key is 'web.port'.
691 e.g. FORMED='web.port:8888'
692
693 * tools/formed/formed/main.py: Call the plugin setup with
694 the reference to the config.
695
696 2007-08-10 Sascha L. Teichmann <[email protected]>
697
698 * tools/formed/test-data/simple.xml: removed 'text' attributes from
699 info tags. Use the 'value' attributes for same purpose now, please!
700
701 * tools/formed/formed/model/data.py: removed text attributes from
702 InfoLeaf.
703
704 * tools/formed/formed/plugins/web/renderer.py: Rendering of info
705 now uses the 'value' instead of the 'text' attributes.
706
707 2007-08-09 Sascha L. Teichmann <[email protected]>
708
709 * tools/formed/formed/model/data.py: next/prevPage() are
710 methods of PageNode now.
711
712 * tools/formed/formed/model/nodecomponents.py: findByClassAndName()
713 is method of Document now.
714
715 * tools/formed/formed/plugins/web/plugin.py: Factored out
716 the HTML renderer.
717
718 * tools/formed/formed/plugins/web/renderer.py: New: contains
719 the HTML renderer now.
720
721 * tools/formed/test-data/simple.xml: Fixed typo
722
723 2007-08-09 Sascha L. Teichmann <[email protected]>
724
725 * tools/formed/formed/plugins/web/plugin.py: Fixed a bug
726 in calculation of width of bounded int fields.
727
728 2007-08-09 Sascha L. Teichmann <[email protected]>
729
730 * tools/formed/test-data/simple.xml: Make demo Int fancier.
731
732 * tools/formed/formed/model/data.py: Added attributes to IntLeaf
733
734 * tools/formed/formed/plugins/web/plugin.py: Added rendering for
735 Ints
736
737 2007-08-09 Sascha L. Teichmann <[email protected]>
738
739 * tools/formed/test-data/simple.xml: Added demo textarea
740
741 * tools/formed/formed/model/data.py: Added TextAreaLeaf
742
743 * tools/formed/formed/io/document.py: register builder
744 for loading of textareas
745
746 * tools/formed/formed/plugins/web/plugin.py: Added rendering
747 for textareas.
748
749 2007-08-09 Sascha L. Teichmann <[email protected]>
750
751 * tools/formed/test-data/simple.xml: Make demo choice fancier.
752
753 * tools/formed/formed/model/data.py: Added attributes for texts
754
755 * tools/formed/formed/plugins/web/plugin.py: Added rendering
756 for texts
757
758 2007-08-09 Sascha L. Teichmann <[email protected]>
759
760 * tools/formed/test-data/simple.xml: Make demo choice fancier.
761
762 * tools/formed/formed/model/data.py: Added attributes for choices.
763
764 * tools/formed/formed/plugins/web/plugin.py: Added rendering
765 for choices
766
767 2007-08-09 Sascha L. Teichmann <[email protected]>
768
769 * tools/formed/formed/model/data.py,
770 tools/formed/formed/model/nodecomponents.py: Added new
771 attributes.
772
773 * tools/formed/formed/plugins/web/plugin.py: Added rendering
774 for checkboxes and radio buttons.
775
776 2007-08-08 Sascha L. Teichmann <[email protected]>
777
778 * tools/formed/test-data/simple.xml: Added some descriptions
779
780 * tools/formed/formed/model/data.py: set attributes in constructors
781 directly.
782
783 * tools/formed/formed/model/nodecomponents.py: Added description
784 attribute in the NodeComponent base class.
785
786 * tools/formed/formed/plugins/web/plugin.py: Render description
787 as legend in fieldset for GroupNodes.
788
789 2007-08-08 Sascha L. Teichmann <[email protected]>
790
791 * tools/formed/formed/plugins/web/plugin.py: make UTF-8
792 output work.
793
794 2007-08-08 Sascha L. Teichmann <[email protected]>
795
796 * tools/formed/formed/model/data.py: Added get/setText() method
797
798 * tools/formed/formed/plugins/web/plugin.py: Added a first
799 version of a recursive HTML renderer based on the document
800 tree.
801
802 2007-08-08 Sascha L. Teichmann <[email protected]>
803
804 * tools/formed/formed/plugins/*: New: plug-in infrastructure.
805
806 * tools/formed/formed/plugins/web/*: new: A simple web server
807 which is intended to serve pages of the current formular.
808
809 * tools/formed/formed/main.py: start the plug-ins
810
811 * tools/formed/formed/config.py: configuration class. Used
812 for the plug-ins.
813
814 2007-08-08 Sascha L. Teichmann <[email protected]>
815
816 * tools/formed/formed/model/nodecomponents.py: Fixed broadcasting
817 issue with zero length tree paths.
818
819 * tools/formed/formed/model/misc.py: New: contains a class
820 for generating unique ids.
821
822 * tools/formed/formed/main.py: Added an instance of an
823 unique id generator for naming of new made tree items.
824
825 2007-08-07 Sascha L. Teichmann <[email protected]>
826
827 * tools/formed/formed/main.py: Added event route document ->
828 attribute table to get informed when selected item is delete
829 or an attribute is changed from the outside.
830
831 * tools/formed/formed/ui/controls.py: Fixed. In older versions of
832 wxPython 2.6.x ListCtrl.InsertStringItem takes 2 instead
833 of 3 argument. Uses icons+tooltips for tree navigation now.
834
835 2007-08-07 Sascha L. Teichmann <[email protected]>
836
837 * tools/formed/formed/model/nodecomponents.py: Set name
838 attribute in base class.
839
840 * tools/formed/formed/io/document.py: Added a table
841 names -> classes.
842
843 * tools/formed/formed/main.py: Added a toolbar. Added code
844 to create and delete tree items.
845
846 * tools/formed/formed/ui/controls.py: Added code to
847 insert and delete new tree items.
848
849 2007-08-07 Sascha L. Teichmann <[email protected]>
850
851 * tools/formed/formed/model/nodecomponents.py: Fixed event
852 broadcasting for attribute changes.
853
854 * tools/formed/formed/ui/controls.py: Add a list/table control to
855 edit the attributes of a selected item.
856
857 * tools/formed/formed/main.py: Added code to bind the new
858 list/table control.
859
860 2007-08-06 Sascha L. Teichmann <[email protected]>
861
862 * tools/formed/formed/main.py: Added event routes to move
863 items in and out of groups.
864
865 * tools/formed/formed/ui/controls.py: Added code to move
866 items in and out of groups.
867
868 2007-08-06 Sascha L. Teichmann <[email protected]>
869
870 * tools/formed/formed/model/nodecomponents.py: Fixed path
871 calculation to root and event broadcasting
872
873 * tools/formed/formed/io/factories.py: Adjust to new
874 event broadcasting.
875
876 * tools/formed/formed/main.py: Added code to move items
877 up and down the document tree.
878
879 * tools/formed/formed/ui/controls.py: Establish sort order
880 by indices of children in parent instead of alphanum.
881 Code to move items up and down the document tree.
882
883 * tools/formed/formed/io/document.py: Added missing imports.
884
885 2007-08-06 Sascha L. Teichmann <[email protected]>
886
887 * tools/formed/formed.py: Added to avoid problems with
888 ambiguous absolute module names. Thanks to Bernhard Herzog
889
890 * tools/formed/formed.sh: Starts formed.py now
891
892 * tools/formed/formed/main.py,
893 tools/formed/formed/ui/controls.py: Added control to
894 move items around in tree. Has no effect by now.
895
896 2007-08-05 Sascha L. Teichmann <[email protected]>
897
898 * tools/formed/formed/io/parser.py: Adjusted style
899
900 * tools/formed/formed/io/document.py,
901 tools/formed/formed/io/factories.py: Simplified factory
902 model for XML loading.
903
904 2007-08-05 Sascha L. Teichmann <[email protected]>
905
906 * ChangeLog: started ChangeLog
907
908 * tools/formed/*: initial check-in of the Formular Editor.
909 Not working yet. Only can load, view and store formular XML files.
910 Start it with 'tools/formed/formed.sh'.

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26