/[formed]/trunk/ChangeLog
ViewVC logotype

Contents of /trunk/ChangeLog

Parent Directory Parent Directory | Revision Log Revision Log


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

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26