/[formed]/trunk/ChangeLog
ViewVC logotype

Contents of /trunk/ChangeLog

Parent Directory Parent Directory | Revision Log Revision Log


Revision 159 - (show annotations)
Mon Sep 10 12:17:17 2007 UTC (17 years, 5 months ago) by teichmann
File size: 47591 byte(s)
web plug-in: Fixed storage problem of radio groups-
1 2007-09-10 Sascha L. Teichmann <[email protected]>
2
3 * tools/formed/formed/plugins/web/form_renderer.py: Fixed value
4 problem with radio groups, too.
5
6 2007-09-10 Torsten Irlaender <[email protected]>
7 * tools/formed/formed/plugins/web/controllers.py: Sessions are now
8 really removed when deleting a dataset.
9
10 2007-09-10 Torsten Irlaender <[email protected]>
11
12 * tools/formed/formed/plugins/web/controllers.py: Added new Class
13 ErrorStats which provides Information on remaining errors per page.
14
15 * tools/formed/formed/plugins/web/renderers.py: Finished movement of
16 the renderer methods from controllers.py to renderers.py.
17
18 * tools/formed/formed/plugins/web/plugin.py: Removed render_session
19 handlers
20
21 2007-09-10 Sascha L. Teichmann <[email protected]>
22
23 * tools/formed/formed/plugins/web/form_renderer.py: values for
24 choices are generated from the document tree now. This brings
25 the state storage of select boxes in HTML to live.
26
27 2007-09-09 Sascha L. Teichmann <[email protected]>
28
29 * tools/formed/formed/plugins/web/semantic.py: Fixed problems with
30 range checking of integers.
31
32 * tools/formed/formed/plugins/web/controllers.py: Added class
33 ErrorItem to track errors. They are stored in the session.
34
35 2007-09-09 Sascha L. Teichmann <[email protected]>
36
37 * tools/formed/formed/model/nodecomponents.py: Fixed returning
38 wrong index in Document.indexOfcomponentByClassAndName.
39
40 * tools/formed/formed/plugins/web/form_renderer.py: 'error' was
41 written 'errot' in renderer for textareas.
42
43 * tools/formed/formed/plugins/web/controllers.py: Some clean-ups.
44
45 2007-09-09 Sascha L. Teichmann <[email protected]>
46
47 * tools/formed/formed/plugins/web/help.py: Added a 'hasHelp'
48 method. Could be cheaper for some implementations of help.
49
50 * tools/formed/formed/plugins/web/form_renderer.py: Modified
51 FormData to have distinct getData(), getHelp() and getError()
52 methods. Various bug fixes.
53
54 * tools/formed/formed/plugins/web/controllers.py: Implements the
55 new FormData (trivial by now).
56
57 * tools/formed/formed/plugins/web/renderer.py: New FormData and
58 some bug fixes.
59
60 2007-09-09 Sascha L. Teichmann <[email protected]>
61
62 * tools/formed/formed/model/memory.py,
63 tools/formed/formed/model/persistent.py: Add a getValue() method
64 to dataset abstraction. This is a bit of a workaround to bring
65 global access across pages for rule checking to work.
66
67 * tools/formed/formed/model/data.py: Fixed: When setting a new expression
68 the compiled version was not stored in the RuleLeaf.
69
70 * tools/formed/formed/model/expr.py: shlex lexer does not like unicode.
71 convert the expression string to ascii for compilation.
72
73 * tools/formed/formed/plugins/web/semantic.py: Remove the 'box' because
74 valid data is stored to the dataset immediately now. Fixed a bug
75 with integer handler.
76
77 * tools/formed/formed/plugins/web/controllers.py: Removed the semantic 'box'
78 stuff. When a submit is done extract the rules from the tree document
79 that are effected by the modified variables and check them.
80
81 * tools/formed/formed/plugins/web/renderer.py: Fixed exception handling
82 when dealing with templates.
83
84 2007-09-07 Torsten Irlaender <[email protected]>
85 * tools/formed/formed/plugins/web/controllers.py,
86 tools/formed/formed/plugins/web/renderer.py: Moved more render
87 functions into renderer.py. New render classes are:
88 DataSetDigestRenderer, DataSetNavigationRenderer,
89 DataSetFormularRenderer, ConfirmationDialogRenderer
90
91 Note: The new methods are only called from selected handlers. Other
92 handlers call the renderes in the old way.
93
94 2007-09-07 Torsten Irlaender <[email protected]>
95 * tools/formed/formed/plugins/web/form_renderer.py: Renamed
96 renderer.py to form_renderer.py. This file will contain formular
97 specfic render methods in the future.
98 * tools/formed/formed/plugins/web/renderer.py: Added new renderer.py
99 which will contain general render methods.
100 * tools/formed/formed/plugins/web/controllers.py: Began to move all
101 rendering into renderer.py or form_renderer.py. This file will only
102 contain teh handlers in the future.
103
104 2007-09-07 Torsten Irlaender <[email protected]>
105 * tools/formed/formed/plugins/web/renderer.py,
106 tools/formed/formed/plugins/web/controller.py:
107 Renderes now get an instance of the formdata object to provide
108 access the data needed to render various infoboxes etc. Handler
109 instanciate the formdata.
110
111 2007-09-06 Torsten Irlaender <[email protected]>
112 * tools/formed/formed/plugins/web/renderer.py: Mainly tried to get the
113 getFormData interface to work. Added two small semantic fixes, but
114 did not manage to get it up. Need to exime this a little bit more
115 * tools/formed/formed/plugins/web/controllers.py: Put <div> tags
116 around the menus on the right side to be able to assign different
117 styles. Added dataset actions while editing a dataset.
118
119 2007-09-05 Torsten Irlaender <[email protected]>
120 * tools/formed/formed/model/memory.py: Fixed deleting datasets by
121 removing unwanted del method
122 * tools/formed/formed/plugins/web/controllers.py: Implemented
123 confiration dialogs for create, delete, and select aof datasets. Started to use
124 templates as well for larger information units like the dataset summary.
125
126 2007-09-05 Sascha L. Teichmann <[email protected]>
127
128 * tools/formed/formed/model/nodecomponents.py: Added a
129 method to document to find index of page.
130
131 * tools/formed/formed/plugins/web/semantic.py: Added getValue()
132 to fetch data from semantic box.
133
134 * tools/formed/formed/plugins/web/controllers.py: Added new
135 FormData implementation to support DB and semantic box.
136
137 2007-09-05 Sascha L. Teichmann <[email protected]>
138
139 * tools/formed/formed/plugins/web/renderer.py: escaped
140 error message.
141
142 * tools/formed/formed/plugins/web/controllers.py: Don't fetch
143 dataset from backend each time a page is up to edit.
144
145 2007-09-05 Sascha L. Teichmann <[email protected]>
146
147 * tools/formed/formed/plugins/web/renderer.py: SimplePageRenderer
148 returns "Page not found" if given page is None.
149
150 * tools/formed/formed/plugins/web/controllers.py: Added checks
151 to avoid crashing when ask for a non-existent page.
152
153 2007-09-05 Sascha L. Teichmann <[email protected]>
154
155 * tools/formed/formed/plugins/web/controllers.py: Some clean-ups.
156
157 2007-09-05 Sascha L. Teichmann <[email protected]>
158
159 * tools/formed/formed/plugins/web/plugin.py: Remove request handlers
160 and renderers.
161
162 * tools/formed/formed/plugins/web/controllers.py: New. Contains handlers
163 and renderers now. TODO: Move renderers to renderer.py
164
165 2007-09-05 Torsten Irlaender <[email protected]>
166
167 * tools/formed/formed/plugins/web/www/main.tmpl: Adopted web template
168 and bound in the the new added functions to create, edit, delete and
169 show formdata.
170
171 2007-09-05 Sascha L. Teichmann <[email protected]>
172
173 * tools/formed/formed/model/memory.py: Removed bisect and use a
174 simple linear scan for dataset lookup now.
175
176 * tools/formed/formed/plugins/web/plugin.py: Fixed various issues
177 of different sizes.
178
179 2007-09-05 Torsten Irlaender <[email protected]>
180
181 * tools/formed/formed/plugins/web/memory.py: Fixed getDataSetById
182 fuction
183
184 * tools/formed/formed/plugins/web/persistent.py: Added store() method
185 to the DataSet interface
186
187 * tools/formed/formed/plugins/web/renderer.py: Added handlers and
188 renderes for create, update, delete and show actions on formular data.
189
190 2007-09-04 Sascha L. Teichmann <[email protected]>
191
192 * tools/formed/formed/plugins/web/server.py: The mapping
193 to methods is now driven by regualar expressions and
194 a dictionary. Response objects are now able to send
195 error codes.
196
197 * tools/formed/formed/plugins/web/renderer.py: Fixed an issue
198 when help in Formdata is None. Moved text for help into
199 a top level '''...''' variable.
200
201 * tools/formed/test-data/simple.xml: Added test for help.
202
203 * tools/formed/formed/plugins/web/help.py: extra None check.
204
205 * tools/formed/formed/plugins/web/plugin.py: Uses the new
206 table driven mapping of reguest handling. TODO: split the
207 WebPlugIn.pageHandler() method further to smaller handlers.
208 Smaller clean ups and better exception handling.
209
210 * tools/formed/formed/plugins/web/cache.py: Report OSErrors
211 and do not catch them.
212
213 2007-09-04 Torsten Irlaender <[email protected]>
214
215 * tools/formed/formed/plugins/web/renderer.py,
216 * tools/formed/formed/plugins/web/plugin.py: Added Interface to
217 the HelpProvider and inserted help icons to the html output.
218 Added decorator for Formelemnts, so textfields, choices etc. are now
219 within a <div> tag.
220 Modified the error messages.
221
222 2007-09-04 Sascha L. Teichmann <[email protected]>
223
224 * tools/formed/formed/plugins/web/cache.py: New. Implements
225 the server-side caching more clean. Fixes a bug with
226 serving static content.
227
228 * tools/formed/formed/plugins/web/plugin.py: Use the new cache.
229
230 2007-09-04 Sascha L. Teichmann <[email protected]>
231
232 * tools/formed/formed/plugins/web/plugin.py: Set MIME type
233 to "application/xhtml+xml" when serving help texts.
234
235 2007-09-03 Sascha L. Teichmann <[email protected]>
236
237 * tools/formed/formed/plugins/export/diff.py: New. Exports
238 pairwise differences between all modes.
239
240 * tools/formed/formed/config.py: Use new export filter.
241
242 2007-09-03 Sascha L. Teichmann <[email protected]>
243
244 * tools/formed/formed/plugins/web/help.py: New. Parses an
245 XHTML document for id'ed divs and builds a help lookup.
246
247 * tools/formed/formed/plugins/web/www/help.tmpl: Template for
248 the help content frame.
249
250 * tools/formed/formed/plugins/web/www/help.xhtml: Some simple
251 help text index.
252
253 * tools/formed/formed/plugins/web/plugin.py: Serves the help
254 texts now.
255
256 2007-09-03 Torsten Irlaender <[email protected]>
257
258 * tools/formed/formed/plugins/web/plugin.py: Only visible group
259 elements will be rendered in the formular navigation.
260 Formular pages in the navigation now have their own css-style
261 attributes.
262
263 2007-09-03 Torsten Irlaender <[email protected]>
264
265 * tools/formed/formed/plugins/web/www/main.tmpl: Added div area for page
266 errors in template
267 * tools/formed/formed/plugins/web/plugin.py: Fixed undefined
268 pageerrors variable
269
270 2007-09-03 Frank Koormann <[email protected]>
271
272 * tools/formed/formed/plugins/export/html.py
273 (RecursiveExporter): Added annotation to export
274 (fillRow()): Renamed old fillNine to this more generic name.
275
276
277 2007-09-03 Sascha L. Teichmann <[email protected]>
278
279 * tools/formed/formed/plugins/web/renderer.py: Using the decorator
280 from model.misc now.
281
282 2007-09-03 Sascha L. Teichmann <[email protected]>
283
284 * tools/formed/formed/model/nodecomponents.py: Added an
285 'annotation' attribute to node components. This is to
286 enable FormEd document authors to add comments to groups
287 and fields.
288
289 2007-09-03 Frank Koormann <[email protected]>
290
291 * tools/formed/formed/model/nodecomponents.py
292 (NodeComponent.getParent): New method to get node components parent.
293
294 * tools/formed/formed/plugins/export/html.py: Export Choice option
295 as simple list instead of collection of bools.
296
297 2007-09-02 Sascha L. Teichmann <[email protected]>
298
299 * tools/formed/formed/model/persistent.py: Interfaces to abstract
300 from persistent storage details.
301
302 * tools/formed/formed/model/memory.py: In core implementation
303 of the persistent interfaces.
304
305 * tools/formed/formed/main.py: Holds a memory data store now.
306
307 2007-09-02 Sascha L. Teichmann <[email protected]>
308
309 * tools/formed/formed/plugins/export/sql.py,
310 tools/formed/formed/plugins/export/html.py: Fixed constructor chains
311 for FileDialogFilter sub classes.
312
313 2007-09-02 Sascha L. Teichmann <[email protected]>
314
315 * tools/formed/formed/model/misc.py: Checking the mode in recursive
316 tree traversals is a common task. To ease this a decorator function
317 checkMode in union with sub classing ModeChecker can be used.
318 To make it work simply subclass from ModeChecker and add the decorator
319 to the methods that need mode tracking. Before you start the recursion
320 call self.prepareDescent().
321
322 * tools/formed/formed/plugins/export/html.py: Uses the new decorator scheme
323 now which replace the old. TODO: Make the web renderer use the new scheme
324 too.
325
326 2007-09-02 Sascha L. Teichmann <[email protected]>
327
328 * tools/formed/formed/plugins/export/sql.py: Removed needless import.
329
330 * tools/formed/formed/plugins/export/html.py: HTML table exporter
331 uses new FileDialogFilter base class too.
332
333 2007-09-02 Sascha L. Teichmann <[email protected]>
334
335 * tools/formed/formed/plugins/ui/*: New. All file exporters
336 need a file dialog. Till now each of them pulled up its
337 own. This was silly code replication. Now there is an abstract
338 base class 'FileDialogFilter' which implements the common
339 behavior. The file exporters should subclass it.
340
341 * tools/formed/formed/plugins/export/sql.py: Subclass the SQL
342 exporters from the new base class. TODO: Subclass the HTML
343 exporter too.
344
345 2007-08-31 Sascha L. Teichmann <[email protected]>
346
347 * tools/formed/formed/plugins/export/html.py: Make mode check
348 work (again).
349
350 2007-08-31 Torsten Irlaender <[email protected]>
351
352 * tools/formed/formed/plugins/export/html.py: Rendering of the HTML
353 exprt works now in a recursive way. This change was needed because
354 the structure of the formedtree has changed to be able to render
355 full hirachically document stuctures. (nested lists)
356 TODO: Fix modechecking
357
358 2007-08-31 Torsten Irlaender <[email protected]>
359
360 * tools/formed/formed/plugins/web/plugin.py: Navigation rendering works
361 now in recursive way. This change was needed because the structure
362 of the formedtree has changed to be able to render full hirachically
363 document stuctures. (nested lists)
364
365 2007-08-31 Sascha L. Teichmann <[email protected]>
366
367 * tools/formed/formed/model/nodecomponents.py: use discard()
368 instead of remove on sets.
369
370 * tools/formed/formed/plugins/export/sql.py: Added an
371 exporter for table views.
372
373 * tools/formed/formed/config.py: Added the new exporter
374 to the list of export filters.
375
376 2007-08-30 Sascha L. Teichmann <[email protected]>
377
378 * tools/formed/formed/model/data.py: Fixed a bug in
379 Page.allWidgets()
380
381 * tools/formed/formed/plugins/export/sql.py: Added an exporter
382 for stored procudeures.
383
384 * tools/formed/formed/config.py: Add the new SP exporter.
385
386 2007-08-29 Torsten Irlaender <[email protected]>
387
388 * tools/formed/formed/plugins/web/plugin.py,
389 tools/formed/formed/plugins/web/error_renderer.py: Added interface
390 to get the errors for a whole page in te formular. These errors can
391 now be displayed on the top of the formular.
392
393 2007-08-29 Torsten Irlaender <[email protected]>
394
395 * tools/formed/formed/plugins/web/renderer.py: Finished implementation
396 of the getFromData interface and prepared the rederer for generating
397 nice error messages
398
399 2007-08-28 Frank Koormann <[email protected]>
400
401 * tools/formed/formed/plugins/export/sql.py
402 (SchemaCreator.createSchema, SchemaCreator._createGroup):
403 Fixed typo in created DDS (PRIMRAY -> PRIMARY)
404
405 2007-08-28 Torsten Irlaender <[email protected]>
406
407 * tools/formed/formed/plugins/export/sql.py: Added small helper
408 function to generated valid quotes within the sql statements
409
410 2007-08-29 Sascha L. Teichmann <[email protected]>
411
412 * tools/formed/formed/plugins/export/sql.py: Added foreign keys
413 for repeat tables.
414
415 2007-08-29 Sascha L. Teichmann <[email protected]>
416
417 * tools/formed/formed/plugins/export/sql.py: When generating
418 an extra table check in a table of same content exists. In
419 this case reference the existing table.
420
421 2007-08-29 Sascha L. Teichmann <[email protected]>
422
423 * tools/formed/formed/plugins/export/sql.py: Rewritten to produce
424 _real_ SQL and respect repeat groups.
425
426 * tools/formed/formed/model/data.py: Fixed bug with Group.isRepeat()
427
428 * tools/formed/formed/plugins/web/renderer.py: Use "".join([])
429 instead of expensive += string concat in some places.
430
431 2007-08-29 Sascha L. Teichmann <[email protected]>
432
433 * tools/formed/formed/model/data.py: Renamed GroupNode.getRepeat()
434 to .isRepeat and return a bool. Fixed a bug in Page.allWidgets().
435
436 2007-08-28 Torsten Irlaender <[email protected]>
437
438 * tools/formed/plugins/web/renderer.py: Added Formdata interface.
439 * tools/formed/model/data.py: Implements Formadata interface to
440 textfields. Fieldset generated depends now on the "invisible"
441 attribute of the groupnode. Field-label generation slightly changed.
442 Added error indication to textfields
443
444 2007-08-28 Sascha L. Teichmann <[email protected]>
445
446 * tools/formed/formed/model/data.py,
447 tools/formed/formed/io/document.py: Removed support
448 of logical groups.
449
450 2007-08-28 Sascha L. Teichmann <[email protected]>
451
452 * tools/formed/formed/io/document.py: Avoid saving empty
453 attributes.
454
455 * tools/formed/test-data/simple.xml: Applied.
456
457 2007-08-28 Sascha L. Teichmann <[email protected]>
458
459 * tools/formed/formed/model/data.py: Added 'repeat' and
460 'invisible' attributes to group. TODO: remove logical group.
461
462 2007-08-27 Torsten Irlaender <[email protected]>
463
464 * tools/formed/plugins/web/plugin.py,
465 tools/formed/plugins/web/renderer.py: Started to include stylesheet
466 depending tags in the html generation.
467
468 2007-08-27 Sascha L. Teichmann <[email protected]>
469
470 * tools/formed/formed/model/data.py,
471 tools/formed/formed/io/document.py: Added a logical group.
472 It has an attribute 'repeat' to indicate that it might
473 be worthy an external table in DB schema.
474
475 2007-08-27 Sascha L. Teichmann <[email protected]>
476
477 * tools/formed/formed/plugins/web/plugin.py: Support
478 serving of static content.
479
480 * tools/formed/formed/plugins/web/server.py: Removed
481 old send code.
482
483 2007-08-27 Sascha L. Teichmann <[email protected]>
484
485 * tools/formed/formed/plugins/web/plugin.py: Use new
486 Response object. Fix typo.
487
488 * tools/formed/formed/plugins/web/server.py: support
489 response object to serve different MIME types.
490
491 2007-08-27 Sascha L. Teichmann <[email protected]>
492
493 * tools/formed/formed/plugins/web/plugin.py: Add web.path
494 to FORMED environment variable to specify the
495 root of the static content.
496
497 2007-08-26 Sascha L. Teichmann <[email protected]>
498
499 * tools/formed/formed/model/data.py,
500 tools/formed/formed/model/nodecomponents.py: Fixed mode issues.
501
502 * tools/formed/formed/plugins/web/www,
503 tools/formed/formed/plugins/web/www/main.tmpl: New. Contains
504 a template for the HTML output.
505
506 * tools/formed/formed/plugins/web/plugin.py: Fixes several smaller
507 mode issues. Introduces CSS support. Simplified the action
508 handling.
509
510 * tools/formed/formed/plugins/web/renderer.py: Removed the
511 nagivation code.
512
513 * tools/formed/formed/plugins/web/server.py: Added missing import.
514
515 2007-08-26 Sascha L. Teichmann <[email protected]>
516
517 * tools/formed/formed/model/data.py: Added missing broadcast
518 parameter to setAttribute() of RuleLeaf.
519
520 * tools/formed/formed/plugins/web/plugin.py: Factorize
521 HTTP server code out to separate module.
522
523 * tools/formed/formed/plugins/web/renderer.py: Removed
524 needless -1 from pop()
525
526 * tools/formed/formed/plugins/web/server.py: New. Contains
527 the HTTP server code now.
528
529 2007-08-26 Sascha L. Teichmann <[email protected]>
530
531 * tools/formed/test-data/simple.xml: Modified to contain a rule.
532
533 * tools/formed/formed/model/expr.py: Added. A simple RPN
534 expression evaluator. To avoid the problem of eval()ing
535 arbitrary python expressions I've decided to use a very
536 basic and limited stack machine to support rule checking.
537
538 * tools/formed/formed/model/data.py: Added a RuleLeaf.
539
540 * tools/formed/formed/io/document.py: Added factories for rules.
541
542 * tools/formed/formed/model/nodecomponents.py: Add a method
543 to find all items of a given type in document for a given
544 mode. Usefull to find all rules in the tree.
545
546 * tools/formed/formed/ui/controls.py: Added a listener mechanism
547 to attribute table to report exceptions when setting a value
548 from GUI. Useful to report compilation errors when setting
549 expr of rule leafs.
550
551 * tools/formed/formed/main.py: Added a method to track exceptions
552 from the attribute table and pop up dialogs if they occur.
553 Added a counter of rule modifications in tree. Useful if you
554 want build cached data structures like rule sets and you want
555 to know if they are still valid.
556
557 2007-08-24 Torsten Irlaender <[email protected]>
558
559 * tools/formed/formed/plugins/export/sql.py: Fixed CHECK-constraint
560 for checkbox values. (Syntax error).
561
562 * tools/formed/formed/plugins/names/filter.py: Fixes in formularname
563 generation
564
565 2007-08-24 Torsten Irlaender <[email protected]>
566
567 * tools/formed/formed/plugins/names/filter.py: Separated Class for
568 making the formularnames more database friendly. Added some more
569 checks.
570 * tools/formed/formed/plugins/export/sql.py: Make use of the fresh
571 separated class, and some fixes in sql generation.
572
573 2007-08-24 Sascha L. Teichmann <[email protected]>
574
575 * tools/formed/formed/plugins/export/html.py: Print lengths
576 of external choice list.
577
578 2007-08-24 Sascha L. Teichmann <[email protected]>
579
580 * tools/formed/formed/main.py: Little workaround for
581 mode selection if someone adds an removes a mode.
582
583 2007-08-24 Sascha L. Teichmann <[email protected]>
584
585 * tools/formed/test-data/simple.xml: Better test case for
586 mode depended leaf items.
587
588 * tools/formed/formed/model/nodecomponents.py: Added a method
589 to calculate the effective mode of an item.
590
591 * tools/formed/formed/plugins/export/html.py: Use effective
592 mode. TODO: the 'all' modus return false results sometimes.
593 Cause: The modes are only cumulated over time. Removal is
594 not done.
595
596 2007-08-24 Sascha L. Teichmann <[email protected]>
597
598 * tools/formed/formed/plugins/export/html.py: Dump the items
599 of radio groups and choices too.
600
601 2007-08-24 Torsten Irlaender <[email protected]>
602
603 * tools/formed/formed/plugins/names/filter.py: Modified the renaming
604 by formular names to make the naming more database friendly.
605 Now only alphanumeric and underscore chars is allowed.
606
607 2007-08-24 Sascha L. Teichmann <[email protected]>
608
609 * tools/formed/formed/plugins/export/html.py: Tweaked
610 HTML table exporter a bit to be on par with the XSLT
611 script. TODO: Dump items in radio and choice groups.
612
613 2007-08-23 Sascha L. Teichmann <[email protected]>
614
615 * tools/formed/formed/plugins/names/filter.py: Removed
616 HTML and SQL exporters.
617
618 * tools/formed/formed/plugins/export,
619 tools/formed/formed/plugins/export/__init__.py,
620 tools/formed/formed/plugins/export/sql.py,
621 tools/formed/formed/plugins/export/html.py: New: Contain
622 the HTML and the SQL exporters now.
623
624 * tools/formed/formed/config.py: Use exporters from different
625 package now.
626
627 2007-08-23 Torsten Irlaender <[email protected]>
628
629 * tools/formed/formed/plugins/names/filter.py: Added an
630 pseudo SQL export filters. TODO: Move HTML and SQL filter
631 in a new file (formed/plugins/export/htmlexport.py and
632 sqlexport.py?)
633
634 * tools/formed/formed/config.py: Install the new SQL filter.
635
636 2007-08-23 Sascha L. Teichmann <[email protected]>
637
638 * tools/formed/formed/model/nodecomponents.py: Added a depth()
639 method to determine the depth of particular tree item.
640
641 * tools/formed/formed/plugins/names/filter.py: Added an
642 HTML export filters. TODO: needs more work.
643
644 * tools/formed/formed/config.py: Install the new HTML filter.
645
646 2007-08-23 Torsten Irlaender <[email protected]>
647
648 * contrib/extract-xfa-fields_and_options.xsl: Added small xsl script
649 to extract fields and options in the XFA Data in teh PDF. This
650 script might me handy to indicate changes between the different
651 formular versions.
652
653 2007-08-23 Sascha L. Teichmann <[email protected]>
654
655 * tools/formed/formed/main.py: Add an 'all' mode to
656 select all modes. ;-)
657
658 2007-08-22 Sascha L. Teichmann <[email protected]>
659
660 * tools/formed/test-data/simple.xml,
661 tools/formed/formed/model/data.py,
662 tools/formed/formed/plugins/web/plugin.py,
663 tools/formed/formed/plugins/web/renderer.py,
664 tools/formed/formed/io/document.py,
665 tools/formed/formed/main.py: Removed support for switch nodes.
666 BEWARE: This breaks compatibility with older documents!
667
668 2007-08-22 Sascha L. Teichmann <[email protected]>
669
670 * tools/formed/formed/plugins/web/plugin.py: Uses the
671 getSelectedMode() from main now.
672
673 * tools/formed/formed/main.py: selected mode is now hold
674 in main.
675
676 * tools/formed/formed/config.py: removed selected mode from
677 env configuration.
678
679 2007-08-22 Sascha L. Teichmann <[email protected]>
680
681 * tools/formed/formed/ui/controls.py: Attributes in GUI attribute
682 table are now alphabetically sorted.
683
684 2007-08-22 Sascha L. Teichmann <[email protected]>
685
686 * tools/formed/formed/model/nodecomponents.py: Added code to
687 establish the new 'modes' recursively.
688
689 * tools/formed/formed/plugins/plugin.py: Pass main instead
690 of cfg on plug-in start-up.
691
692 * tools/formed/formed/plugins/web/plugin.py: Use the new
693 'modes' attribute for rendering.
694
695 * tools/formed/formed/plugins/web/renderer.py: Use decorators
696 to check the new modes.
697
698 * tools/formed/formed/main.py: Adjusted to new infrastructure.
699
700 2007-08-22 Sascha L. Teichmann <[email protected]>
701
702 * tools/formed/formed/model/nodecomponents.py: Added an
703 attribute 'modes' to NodeComponents.
704
705 2007-08-22 Sascha L. Teichmann <[email protected]>
706
707 * tools/formed/formed/model/data.py: Small cosmetic cleanups
708
709 2007-08-21 Sascha L. Teichmann <[email protected]>
710
711 * tools/formed/formed/plugins/web/renderer.py: Another fix
712 for the hidden field. Argh!
713
714 2007-08-21 Sascha L. Teichmann <[email protected]>
715
716 * tools/formed/formed/plugins/web/renderer.py: Fixed double
717 generation of hidden page field.
718
719 2007-08-21 Sascha L. Teichmann <[email protected]>
720
721 * tools/formed/formed/plugins/web/semantic.py: Added semantic
722 checks for radio groups.
723
724 2007-08-21 Sascha L. Teichmann <[email protected]>
725
726 * tools/formed/formed/plugins/web/semantic.py: Added semantic
727 checks for choices.
728
729 2007-08-21 Frank Koormann <[email protected]>
730
731 * contrib/convert-formedtree2html.xsl: Display switch nodes as
732 alternatives.
733
734 2007-08-21 Frank Koormann <[email protected]>
735
736 * contrib/convert-formedtree2html.xsl:
737 Replace technical types with readable descriptions
738
739 2007-08-21 Sascha L. Teichmann <[email protected]>
740
741 * tools/formed/formed/plugins/web/plugin.py: Fix a few smaller
742 issues. 'action' looks for all widgets on a page now, goes
743 through all passed parameters, tries to match them with the
744 widgets of the page and put them into the semantic box.
745 Afterwards a list of untouched page parameters are left
746 which will be deleted from the semantic box.
747
748 * tools/formed/formed/plugins/web/semantic.py: Simplified.
749 The NodeComponent is passed as an argument now.
750
751 * tools/formed/formed/plugins/web/renderer.py: Generate a
752 hidden field to store the name of the page.
753
754 2007-08-21 Sascha L. Teichmann <[email protected]>
755
756 * tools/formed/formed/plugins/web/plugin.py: Fixed an encoding
757 issue with incoming UTF-8 data.
758
759 2007-08-21 Sascha L. Teichmann <[email protected]>
760
761 * tools/formed/test-data/simple.xml: Improve test for widgets
762 in switches.
763
764 * tools/formed/formed/model/data.py: Added a method to find all
765 widgets in a given page. Fixed a bug when walking in switch
766 with a given mode.
767
768 * tools/formed/formed/plugins/web/plugin.py: Simple test for
769 listing all widgets in page.
770
771 2007-08-21 Torsten Irlaender <[email protected]>
772
773 * tools/formed/formed/plugins/names/filter.py: Fixed file-encoding to
774 latin-1
775
776 2007-08-21 Sascha L. Teichmann <[email protected]>
777
778 * tools/formed/formed/model/data.py: Added mode parameter to
779 walk.
780
781 * tools/formed/formed/model/nodecomponents.py: SwitchNode overwrites
782 walk() with usage of the new mode parameter. Added a method to
783 give children in a given mode.
784
785 * tools/formed/formed/plugins/web/renderer.py: Simplified to use
786 new Switch.childrenInMode() method.
787
788 2007-08-21 Sascha L. Teichmann <[email protected]>
789
790 * tools/formed/formed/plugins/web/semantic.py: Add checks for
791 texts and text areas.
792
793 * tools/formed/formed/plugins/web/renderer.py: Set accept-charset
794 to UTF-8 in generated form.
795
796 2007-08-20 Sascha L. Teichmann <[email protected]>
797
798 * tools/formed/formed/plugins/web/semantic.py: Added semantic
799 tests for dates.
800
801 2007-08-20 Sascha L. Teichmann <[email protected]>
802
803 * tools/formed/test-data/simple.xml: Tweak a bit for integer
804 range test.
805
806 * tools/formed/formed/model/nodecomponents.py: Added a method
807 to find a tree item for a given name.
808
809 * tools/formed/formed/plugins/web/semantic.py: New: Box for
810 semantic checking. Has check for integers.
811
812 * tools/formed/formed/plugins/web/plugin.py: Use semantic
813 check.
814
815 2007-08-20 Torsten Irlaender <[email protected]>
816
817 * tools/formed/formed/plugins/web/renderer.py: Fixed Syntax in
818 selection-field generation (Removed quote)
819
820 2007-08-18 Sascha L. Teichmann <[email protected]>
821
822 * tools/formed/formed/plugins/web/plugin.py,
823 tools/formed/formed/plugins/web/renderer.py: Added a
824 simple cookie based session management to the HTML
825 renderer. This submit parameters are stored in the
826 session now. This will ease testing the constraint
827 tests which need to be written soon.
828
829 BEWARE: The session management is _not_ made for production!
830 Denial of service attacks are too easy, and the
831 cryptographical strength of the session id is doubtful.
832
833 2007-08-18 Sascha L. Teichmann <[email protected]>
834
835 * tools/formed/formed/plugins/web/renderer.py: Escaping text
836 coming from the document tree now when inserting it into the
837 HTML output.
838
839 2007-08-18 Sascha L. Teichmann <[email protected]>
840
841 * tools/formed/formed/plugins/plugin.py: Added a new kind
842 of plug-in: Filter. They have a short and a long description
843 and can be hooked automatically into the new 'Filters'
844 sub menu under 'Extra'. They got called when the user
845 selects their respective menu item.
846
847 * tools/formed/formed/config.py: Contains the list of
848 installed filters.
849
850 * tools/formed/formed/main.py: Builds the Extra->Filters
851 sub menu during gui initialization. The hard wired code
852 for make unique and formular name/description -> name
853 is removed because they are implemented as filters now.
854
855 * tools/formed/formed/model/nodecomponents.py,
856 tools/formed/formed/model/data.py: Removed the make
857 unique and formular name/description -> name code.
858
859 * tools/formed/formed/plugins/names,
860 tools/formed/formed/plugins/names/__init__.py,
861 tools/formed/formed/plugins/names/filter.py: Added. Contains
862 the make unique and formular name/description -> name code
863 in form of filters.
864
865 * tools/formed/test-data/simple.xml: Modified to be a better
866 test for the formular name/description -> name filter.
867
868 2007-08-18 Sascha L. Teichmann <[email protected]>
869
870 * tools/formed/formed.py, tools/formed/formed/main.py: First
871 command line argument is interpreted as filename of document
872 to be loaded at program startup.
873
874 2007-08-17 Frank Koormann <[email protected]>
875
876 * contrib/convert-formedtree2html.xsl:
877 Heading level depending on depth of group node.
878 In case of radio/choice/check only list of options.
879
880 2007-08-17 Torsten Irlaender <[email protected]>
881
882 * contrib/convert-formedtree2html.xsl: Output is now generated with
883 HTML doc-string and charset information in the meta-header.
884
885 2007-08-17 Torsten Irlaender <[email protected]>
886
887 * contrib/convert-formedtree2html.xsl: Added small script for
888 exporting the formed tree to html
889
890 2007-08-17 Torsten Irlaender <[email protected]>
891
892 * tools/formed/model/nodecomponents.py: Added function to rename
893 the set the name of the node to the formularname. The formularname
894 gets shorten to <=64 by removing vowels and is stored lowercase.
895 If the name is not unique and additional id value is appended.
896
897 * tools/formed/formed/model/data.py: Overwritten renaming-function for
898 bool-leafs
899
900 * tools/formed/formed/main.py: Added menuitem for renaming the names
901 of the element
902
903 2007-08-16 Sascha L. Teichmann <[email protected]>
904
905 * tools/formed/formed/main.py: Swaped order of
906 'Make names unique' and 'Selected mode...' in Extra
907 menu and put a separator between them.
908
909 2007-08-15 Sascha L. Teichmann <[email protected]>
910
911 * tools/formed/formed/model/data.py: SwitchNodes can add
912 their modes to a given set now.
913
914 * tools/formed/formed/plugins/plugin.py: Simplified
915 the plug-in interface. Only the reference to the
916 global configuration is passed at setup time.
917
918 * tools/formed/formed/plugins/web/plugin.py: Adjusted
919 to new plug-in setup. The traveral mode is now taken
920 from the global configuration each time a rendering
921 is triggered. The FORMED parameter is now named
922 'doc.mode' instead of 'web.mode'. The parameter
923 is not needed any more because it can be configured
924 at runtime.
925
926 * tools/formed/formed/main.py: Adjusted to new plugin
927 setup. Added a new menu item Extra->Select Mode...
928 to select the traversal mode. It is stored in the
929 global config.
930
931 * tools/formed/formed/config.py: Simplified. Only uses
932 one env dictionary to store global configuration parameters.
933
934 * tools/formed/formed/ui/controls.py: Add a control to
935 select one item from a list of given strings.
936
937 2007-08-15 Sascha L. Teichmann <[email protected]>
938
939 * tools/formed/formed/plugins/web/plugin.py,
940 tools/formed/formed/plugins/web/renderer.py: Added parameter
941 print out in web plugin.
942
943 2007-08-15 Torsten Irlaender <[email protected]>
944
945 * contrib/convert-formedtree2csv.xsl: Added small script for
946 exporting the formed tree to csv
947
948 2007-08-14 Sascha L. Teichmann <[email protected]>
949
950 * tools/formed/formed/model/data.py,
951 tools/formed/formed/model/nodecomponents.py,
952 tools/formed/formed/io/document.py: Added a 'switch' node.
953
954 * tools/formed/formed/plugins/web/renderer.py:Render the
955 new 'switch' node.
956
957 * tools/formed/formed/plugins/web/plugin.py,
958 tools/formed/formed/config.py: Added a 'web.mode' parameter
959 to FORMED environment variable.
960 e.g. 'FORMED=web.mode:modeX' sets the mode 'modeX'.
961 Defaults to 'default'.
962
963 * tools/formed/test-data/simple.xml: Added test for switch.
964
965 2007-08-14 Sascha L. Teichmann <[email protected]>
966
967 * tools/formed/formed/model/nodecomponents.py: Added an
968 attribute 'formularname' to base class of node components.
969
970 2007-08-13 Sascha L. Teichmann <[email protected]>
971
972 * tools/formed/formed/io/document.py,
973 tools/formed/formed/model/data.py,
974 tools/formed/formed/model/nodecomponents.py: Added an item
975 to model external item lists.
976
977 * tools/formed/formed/plugins/web/renderer.py: Render new item
978 list.
979 * tools/formed/formed/main.py: Added a forgotten 'self.'
980
981 * contrib/extract-xfa-items.sh: Modified to generate
982 documents to be loadable from new item lists
983
984 2007-08-13 Sascha L. Teichmann <[email protected]>
985
986 * tools/formed/formed/main.py: Fixed typo
987
988 2007-08-13 Sascha L. Teichmann <[email protected]>
989
990 * contrib/extract-xfa-items.sh: New. Can be used to extract longer
991 choice item lists for a given field from XFA files. e.g. with
992 './contrib/extract-xfa-items.sh Muttersprache alles.xml'
993
994 2007-08-12 Sascha L. Teichmann <[email protected]>
995
996 * tools/formed/formed/model/data.py,
997 tools/formed/formed/plugins/web/renderer.py,
998 tools/formed/formed/io/document.py: Changed the structure
999 of choice constructs. The idea to hold the different items
1000 of a particular choice in a semicolon separated list was bad.
1001 Now choices are groups and the option items are modelled as
1002 embedded bools. (mainly Torsten Irländer's idea).
1003
1004 WARNING: this makes old document files containing choices incompatible!!!
1005 Use the following XSLT to reestablish compatibility.
1006
1007 * contrib/itemize-choices.xsl: New converts old to new structure.
1008 Needs exslt.org's string extensions (which xsltproc includes)
1009
1010 * tools/formed/test-data/simple.xml: Ajusted to new structure
1011
1012 * tools/formed/formed/plugins/web/plugin.py: remove debug output
1013
1014 * tools/formed/formed/model/nodecomponents.py: fixed a small bug in
1015 node finding code. It now uses the walk() generator, too.
1016
1017 2007-08-12 Sascha L. Teichmann <[email protected]>
1018
1019 * tools/formed/formed/main.py: Added a clone item on the toolbar which
1020 copies the currently selected item and appends it after the selection.
1021
1022 * tools/formed/formed/model/nodecomponents.py: Added code to clone parts
1023 of the tree.
1024
1025 * tools/formed/formed/ui/controls.py: Added a getSelected method.
1026
1027 * tools/formed/formed/model/misc.py: Fixed a programming bug.
1028 forgot a 'self.' prefix.
1029
1030 2007-08-12 Sascha L. Teichmann <[email protected]>
1031
1032 * tools/formed/formed/model/nodecomponents.py: Added a method to append
1033 a second document to the current.
1034
1035 * tools/formed/formed/main.py: Added an 'Import' file menu item to load
1036 a second document to be appended to the current.
1037
1038 2007-08-12 Sascha L. Teichmann <[email protected]>
1039
1040 * tools/formed/formed/main.py: Added a 'New' item in file menu which creates
1041 a new document when triggered.
1042
1043 2007-08-12 Sascha L. Teichmann <[email protected]>
1044
1045 * tools/formed/formed/model/nodecomponents.py: Added walk generator over all
1046 items in the document tree. Added a method to eliminated duplicated names
1047 in document tree.
1048
1049 * tools/formed/formed/model/misc.py: Added update mechanism for id generator
1050 after names collisions are eliminated.
1051
1052 * tools/formed/formed/main.py: Added an 'Extra' menu with item
1053 'Make names unique'.
1054
1055 2007-08-11 Sascha L. Teichmann <[email protected]>
1056
1057 * tools/formed/formed/model/data.py,
1058 tools/formed/formed/plugins/web/renderer.py: Removed support
1059 for 'text' attributes in bool items. They were never really
1060 used and the 'description' attributes fulfill the same
1061 purpose.
1062
1063 * contrib/remove-bool-text.xsl: Transform to remove the
1064 'text' attributes from bool items. Apply with:
1065 'xsltproc contrib/remove-bool-text.xsl old.xml > new.xml'
1066
1067 * tools/formed/test-data/simple.xml: Removed 'text' attributes
1068 from bool items.
1069
1070 2007-08-11 Sascha L. Teichmann <[email protected]>
1071
1072 * contrib/convert-choices.xsl: Simpified.
1073
1074 2007-08-11 Sascha L. Teichmann <[email protected]>
1075
1076 * tools/formed/formed/model/data.py: Removed 'options' attribute
1077 from ChoiceLeaf. Use 'value' instead, please!
1078
1079 * tools/formed/formed/plugins/web/renderer.py: use 'value' attribute
1080 instead of 'options' to render choices.
1081
1082 * contrib/convert-choices.xsl: Added to convert document files
1083 which use the choice 'option' attribute to usage of 'value'.
1084 Apply with e.g. 'xsltproc convert-choices.xsl old.xml > new.xml'
1085
1086 2007-08-10 Sascha L. Teichmann <[email protected]>
1087
1088 * tools/formed/formed/plugins/web/renderer.py: radio buttons
1089 are selected by 'checked' and not by 'selected'. Fixed.
1090
1091 2007-08-10 Sascha L. Teichmann <[email protected]>
1092
1093 * tools/formed/formed/model/data.py: ChoiceLeafs are now
1094 initialized with size = 1.
1095
1096 2007-08-10 Sascha L. Teichmann <[email protected]>
1097
1098 * tools/formed/formed/model/data.py: TextLeafs are now
1099 initialized with size = 40, maxlength = 60
1100
1101 2007-08-10 Sascha L. Teichmann <[email protected]>
1102
1103 * tools/formed/formed/plugins/web/renderer.py: Fixed: choices
1104 are renderered with description now.
1105
1106 2007-08-10 Sascha L. Teichmann <[email protected]>
1107
1108 * tools/formed/formed/plugins/web/renderer.py: Added rendering
1109 for date items. Added missing ids for texts and textareas.
1110
1111 2007-08-10 Sascha L. Teichmann <[email protected]>
1112
1113 * tools/formed/formed/config.py: Evaluate the environment
1114 variable 'FORMED'. Snytax: FORMED='key1:value1;key2:value2'
1115
1116 * tools/formed/formed/plugins/plugin.py: Give a reference
1117 to the config at setup time.
1118
1119 * tools/formed/formed/plugins/web/plugin.py: To determine
1120 the port look at FORMED dictionary first. Key is 'web.port'.
1121 e.g. FORMED='web.port:8888'
1122
1123 * tools/formed/formed/main.py: Call the plugin setup with
1124 the reference to the config.
1125
1126 2007-08-10 Sascha L. Teichmann <[email protected]>
1127
1128 * tools/formed/test-data/simple.xml: removed 'text' attributes from
1129 info tags. Use the 'value' attributes for same purpose now, please!
1130
1131 * tools/formed/formed/model/data.py: removed text attributes from
1132 InfoLeaf.
1133
1134 * tools/formed/formed/plugins/web/renderer.py: Rendering of info
1135 now uses the 'value' instead of the 'text' attributes.
1136
1137 2007-08-09 Sascha L. Teichmann <[email protected]>
1138
1139 * tools/formed/formed/model/data.py: next/prevPage() are
1140 methods of PageNode now.
1141
1142 * tools/formed/formed/model/nodecomponents.py: findByClassAndName()
1143 is method of Document now.
1144
1145 * tools/formed/formed/plugins/web/plugin.py: Factored out
1146 the HTML renderer.
1147
1148 * tools/formed/formed/plugins/web/renderer.py: New: contains
1149 the HTML renderer now.
1150
1151 * tools/formed/test-data/simple.xml: Fixed typo
1152
1153 2007-08-09 Sascha L. Teichmann <[email protected]>
1154
1155 * tools/formed/formed/plugins/web/plugin.py: Fixed a bug
1156 in calculation of width of bounded int fields.
1157
1158 2007-08-09 Sascha L. Teichmann <[email protected]>
1159
1160 * tools/formed/test-data/simple.xml: Make demo Int fancier.
1161
1162 * tools/formed/formed/model/data.py: Added attributes to IntLeaf
1163
1164 * tools/formed/formed/plugins/web/plugin.py: Added rendering for
1165 Ints
1166
1167 2007-08-09 Sascha L. Teichmann <[email protected]>
1168
1169 * tools/formed/test-data/simple.xml: Added demo textarea
1170
1171 * tools/formed/formed/model/data.py: Added TextAreaLeaf
1172
1173 * tools/formed/formed/io/document.py: register builder
1174 for loading of textareas
1175
1176 * tools/formed/formed/plugins/web/plugin.py: Added rendering
1177 for textareas.
1178
1179 2007-08-09 Sascha L. Teichmann <[email protected]>
1180
1181 * tools/formed/test-data/simple.xml: Make demo choice fancier.
1182
1183 * tools/formed/formed/model/data.py: Added attributes for texts
1184
1185 * tools/formed/formed/plugins/web/plugin.py: Added rendering
1186 for texts
1187
1188 2007-08-09 Sascha L. Teichmann <[email protected]>
1189
1190 * tools/formed/test-data/simple.xml: Make demo choice fancier.
1191
1192 * tools/formed/formed/model/data.py: Added attributes for choices.
1193
1194 * tools/formed/formed/plugins/web/plugin.py: Added rendering
1195 for choices
1196
1197 2007-08-09 Sascha L. Teichmann <[email protected]>
1198
1199 * tools/formed/formed/model/data.py,
1200 tools/formed/formed/model/nodecomponents.py: Added new
1201 attributes.
1202
1203 * tools/formed/formed/plugins/web/plugin.py: Added rendering
1204 for checkboxes and radio buttons.
1205
1206 2007-08-08 Sascha L. Teichmann <[email protected]>
1207
1208 * tools/formed/test-data/simple.xml: Added some descriptions
1209
1210 * tools/formed/formed/model/data.py: set attributes in constructors
1211 directly.
1212
1213 * tools/formed/formed/model/nodecomponents.py: Added description
1214 attribute in the NodeComponent base class.
1215
1216 * tools/formed/formed/plugins/web/plugin.py: Render description
1217 as legend in fieldset for GroupNodes.
1218
1219 2007-08-08 Sascha L. Teichmann <[email protected]>
1220
1221 * tools/formed/formed/plugins/web/plugin.py: make UTF-8
1222 output work.
1223
1224 2007-08-08 Sascha L. Teichmann <[email protected]>
1225
1226 * tools/formed/formed/model/data.py: Added get/setText() method
1227
1228 * tools/formed/formed/plugins/web/plugin.py: Added a first
1229 version of a recursive HTML renderer based on the document
1230 tree.
1231
1232 2007-08-08 Sascha L. Teichmann <[email protected]>
1233
1234 * tools/formed/formed/plugins/*: New: plug-in infrastructure.
1235
1236 * tools/formed/formed/plugins/web/*: new: A simple web server
1237 which is intended to serve pages of the current formular.
1238
1239 * tools/formed/formed/main.py: start the plug-ins
1240
1241 * tools/formed/formed/config.py: configuration class. Used
1242 for the plug-ins.
1243
1244 2007-08-08 Sascha L. Teichmann <[email protected]>
1245
1246 * tools/formed/formed/model/nodecomponents.py: Fixed broadcasting
1247 issue with zero length tree paths.
1248
1249 * tools/formed/formed/model/misc.py: New: contains a class
1250 for generating unique ids.
1251
1252 * tools/formed/formed/main.py: Added an instance of an
1253 unique id generator for naming of new made tree items.
1254
1255 2007-08-07 Sascha L. Teichmann <[email protected]>
1256
1257 * tools/formed/formed/main.py: Added event route document ->
1258 attribute table to get informed when selected item is delete
1259 or an attribute is changed from the outside.
1260
1261 * tools/formed/formed/ui/controls.py: Fixed. In older versions of
1262 wxPython 2.6.x ListCtrl.InsertStringItem takes 2 instead
1263 of 3 argument. Uses icons+tooltips for tree navigation now.
1264
1265 2007-08-07 Sascha L. Teichmann <[email protected]>
1266
1267 * tools/formed/formed/model/nodecomponents.py: Set name
1268 attribute in base class.
1269
1270 * tools/formed/formed/io/document.py: Added a table
1271 names -> classes.
1272
1273 * tools/formed/formed/main.py: Added a toolbar. Added code
1274 to create and delete tree items.
1275
1276 * tools/formed/formed/ui/controls.py: Added code to
1277 insert and delete new tree items.
1278
1279 2007-08-07 Sascha L. Teichmann <[email protected]>
1280
1281 * tools/formed/formed/model/nodecomponents.py: Fixed event
1282 broadcasting for attribute changes.
1283
1284 * tools/formed/formed/ui/controls.py: Add a list/table control to
1285 edit the attributes of a selected item.
1286
1287 * tools/formed/formed/main.py: Added code to bind the new
1288 list/table control.
1289
1290 2007-08-06 Sascha L. Teichmann <[email protected]>
1291
1292 * tools/formed/formed/main.py: Added event routes to move
1293 items in and out of groups.
1294
1295 * tools/formed/formed/ui/controls.py: Added code to move
1296 items in and out of groups.
1297
1298 2007-08-06 Sascha L. Teichmann <[email protected]>
1299
1300 * tools/formed/formed/model/nodecomponents.py: Fixed path
1301 calculation to root and event broadcasting
1302
1303 * tools/formed/formed/io/factories.py: Adjust to new
1304 event broadcasting.
1305
1306 * tools/formed/formed/main.py: Added code to move items
1307 up and down the document tree.
1308
1309 * tools/formed/formed/ui/controls.py: Establish sort order
1310 by indices of children in parent instead of alphanum.
1311 Code to move items up and down the document tree.
1312
1313 * tools/formed/formed/io/document.py: Added missing imports.
1314
1315 2007-08-06 Sascha L. Teichmann <[email protected]>
1316
1317 * tools/formed/formed.py: Added to avoid problems with
1318 ambiguous absolute module names. Thanks to Bernhard Herzog
1319
1320 * tools/formed/formed.sh: Starts formed.py now
1321
1322 * tools/formed/formed/main.py,
1323 tools/formed/formed/ui/controls.py: Added control to
1324 move items around in tree. Has no effect by now.
1325
1326 2007-08-05 Sascha L. Teichmann <[email protected]>
1327
1328 * tools/formed/formed/io/parser.py: Adjusted style
1329
1330 * tools/formed/formed/io/document.py,
1331 tools/formed/formed/io/factories.py: Simplified factory
1332 model for XML loading.
1333
1334 2007-08-05 Sascha L. Teichmann <[email protected]>
1335
1336 * ChangeLog: started ChangeLog
1337
1338 * tools/formed/*: initial check-in of the Formular Editor.
1339 Not working yet. Only can load, view and store formular XML files.
1340 Start it with 'tools/formed/formed.sh'.

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26