/[formed]/trunk/ChangeLog
ViewVC logotype

Contents of /trunk/ChangeLog

Parent Directory Parent Directory | Revision Log Revision Log


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

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26