/[formed]/trunk/ChangeLog
ViewVC logotype

Diff of /trunk/ChangeLog

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

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

Legend:
Removed from v.54  
changed lines
  Added in v.284

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26