/[formed]/trunk/ChangeLog
ViewVC logotype

Contents of /trunk/ChangeLog

Parent Directory Parent Directory | Revision Log Revision Log


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

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26