/[formed]/trunk/ChangeLog
ViewVC logotype

Contents of /trunk/ChangeLog

Parent Directory Parent Directory | Revision Log Revision Log


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

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26