/[formed]/trunk/ChangeLog
ViewVC logotype

Contents of /trunk/ChangeLog

Parent Directory Parent Directory | Revision Log Revision Log


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

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26