/[formed]/trunk/ChangeLog
ViewVC logotype

Contents of /trunk/ChangeLog

Parent Directory Parent Directory | Revision Log Revision Log


Revision 252 - (show annotations)
Tue Mar 11 11:50:56 2008 UTC (16 years, 11 months ago) by teichmann
File size: 69621 byte(s)
SQL schema exporter:

Added code to generate a plpgsql function anonymize_case() that anonymizes
a given case and all of its depending repeat groups.


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

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26