/[formed]/trunk/ChangeLog
ViewVC logotype

Contents of /trunk/ChangeLog

Parent Directory Parent Directory | Revision Log Revision Log


Revision 92 - (show annotations)
Fri Aug 24 16:51:35 2007 UTC (17 years, 6 months ago) by torsten
File size: 26879 byte(s)
Fixes in forumlar name generation an SQL syntax

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

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26