/[formed]/trunk/ChangeLog
ViewVC logotype

Contents of /trunk/ChangeLog

Parent Directory Parent Directory | Revision Log Revision Log


Revision 254 - (show annotations)
Tue Mar 11 14:31:23 2008 UTC (16 years, 11 months ago) by teichmann
File size: 69943 byte(s)
SQL schema exporter: Added a newline in last line.


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

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26