/[formed]/trunk/ChangeLog
ViewVC logotype

Contents of /trunk/ChangeLog

Parent Directory Parent Directory | Revision Log Revision Log


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

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26