/[formed]/trunk/ChangeLog
ViewVC logotype

Contents of /trunk/ChangeLog

Parent Directory Parent Directory | Revision Log Revision Log


Revision 267 - (show annotations)
Tue Apr 29 13:13:25 2008 UTC (16 years, 9 months ago) by teichmann
File size: 72590 byte(s)
Removed needless character in XSD exporter.


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

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26