/[formed]/trunk/ChangeLog
ViewVC logotype

Contents of /trunk/ChangeLog

Parent Directory Parent Directory | Revision Log Revision Log


Revision 210 - (show annotations)
Fri Oct 19 07:31:04 2007 UTC (17 years, 4 months ago) by frank
File size: 62392 byte(s)
* tools/formed/formed/plugins/export/sql.py: Added GRANT statements for views.

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

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26