/[formed]/trunk/ChangeLog
ViewVC logotype

Contents of /trunk/ChangeLog

Parent Directory Parent Directory | Revision Log Revision Log


Revision 165 - (show annotations)
Mon Sep 10 21:03:35 2007 UTC (17 years, 5 months ago) by torsten
File size: 49761 byte(s)
Small design changes and a small fix when rendering the welcomepage

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

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26