/[formed]/trunk/ChangeLog
ViewVC logotype

Contents of /trunk/ChangeLog

Parent Directory Parent Directory | Revision Log Revision Log


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

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26