/[formed]/trunk/ChangeLog
ViewVC logotype

Contents of /trunk/ChangeLog

Parent Directory Parent Directory | Revision Log Revision Log


Revision 247 - (show annotations)
Mon Mar 3 10:26:38 2008 UTC (16 years, 11 months ago) by torsten
File size: 69182 byte(s)
Added Changenote

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

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26