/[formed]/trunk/ChangeLog
ViewVC logotype

Contents of /trunk/ChangeLog

Parent Directory Parent Directory | Revision Log Revision Log


Revision 253 - (show annotations)
Tue Mar 11 14:16:48 2008 UTC (16 years, 11 months ago) by teichmann
File size: 69785 byte(s)
SQL schema exporter:
Fix syntax of generated anonymize_case() function.
  

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

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26