/[formed]/trunk/ChangeLog
ViewVC logotype

Contents of /trunk/ChangeLog

Parent Directory Parent Directory | Revision Log Revision Log


Revision 117 - (show annotations)
Fri Aug 31 15:15:14 2007 UTC (17 years, 5 months ago) by torsten
File size: 33912 byte(s)
Changed Navigation redering to recursive mode to be able to render the
hirachically documnt structure

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

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26