/[formed]/trunk/ChangeLog
ViewVC logotype

Contents of /trunk/ChangeLog

Parent Directory Parent Directory | Revision Log Revision Log


Revision 256 - (show annotations)
Wed Mar 12 10:18:23 2008 UTC (16 years, 11 months ago) by teichmann
File size: 70323 byte(s)
SQL schema exporter:

Fixed a bug in anonymization code of repeat groups.


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

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26