/[formed]/trunk/ChangeLog
ViewVC logotype

Contents of /trunk/ChangeLog

Parent Directory Parent Directory | Revision Log Revision Log


Revision 255 - (show annotations)
Tue Mar 11 16:54:29 2008 UTC (16 years, 11 months ago) by teichmann
File size: 70135 byte(s)
SQL schema exporter: 

anonymize_case-Generator:
Generate no update statements for relations which have no anonym functions applied.

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

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26