/[formed]/trunk/ChangeLog
ViewVC logotype

Contents of /trunk/ChangeLog

Parent Directory Parent Directory | Revision Log Revision Log


Revision 110 - (show annotations)
Wed Aug 29 16:40:50 2007 UTC (17 years, 6 months ago) by torsten
File size: 32248 byte(s)
Added small helper function for quoting in sql statements

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

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26