/[formed]/trunk/ChangeLog
ViewVC logotype

Contents of /trunk/ChangeLog

Parent Directory Parent Directory | Revision Log Revision Log


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

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26