/[formed]/trunk/ChangeLog
ViewVC logotype

Contents of /trunk/ChangeLog

Parent Directory Parent Directory | Revision Log Revision Log


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

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26