/[formed]/trunk/ChangeLog
ViewVC logotype

Contents of /trunk/ChangeLog

Parent Directory Parent Directory | Revision Log Revision Log


Revision 111 - (show annotations)
Thu Aug 30 10:48:36 2007 UTC (17 years, 5 months ago) by frank
File size: 32451 byte(s)
tools/formed/formed/plugins/export/sql.py 
	(SchemaCreator.createSchema, SchemaCreator._createGroup):
	Fixed typo in created DDS (PRIMRAY -> PRIMARY)

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

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26