/[formed]/trunk/ChangeLog
ViewVC logotype

Diff of /trunk/ChangeLog

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

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

Legend:
Removed from v.56  
changed lines
  Added in v.288

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26