/[formed]/trunk/ChangeLog
ViewVC logotype

Contents of /trunk/ChangeLog

Parent Directory Parent Directory | Revision Log Revision Log


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

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26