/[formed]/trunk/ChangeLog
ViewVC logotype

Diff of /trunk/ChangeLog

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

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

Legend:
Removed from v.3  
changed lines
  Added in v.290

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26