/[formed]/trunk/ChangeLog
ViewVC logotype

Contents of /trunk/ChangeLog

Parent Directory Parent Directory | Revision Log Revision Log


Revision 170 - (show annotations)
Tue Sep 11 14:16:47 2007 UTC (17 years, 5 months ago) by torsten
File size: 51583 byte(s)
Added alt tags to icons

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

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26