/[formed]/trunk/ChangeLog
ViewVC logotype

Contents of /trunk/ChangeLog

Parent Directory Parent Directory | Revision Log Revision Log


Revision 266 - (show annotations)
Tue Apr 29 10:10:16 2008 UTC (16 years, 9 months ago) by teichmann
File size: 72452 byte(s)
Added annotations to fields in XSD export


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

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26