/[formed]/trunk/ChangeLog
ViewVC logotype

Contents of /trunk/ChangeLog

Parent Directory Parent Directory | Revision Log Revision Log


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

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26