/[formed]/trunk/ChangeLog
ViewVC logotype

Contents of /trunk/ChangeLog

Parent Directory Parent Directory | Revision Log Revision Log


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

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26