/[formed]/trunk/ChangeLog
ViewVC logotype

Diff of /trunk/ChangeLog

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

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

Legend:
Removed from v.60  
changed lines
  Added in v.292

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26