/[formed]/trunk/ChangeLog
ViewVC logotype

Diff of /trunk/ChangeLog

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

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

Legend:
Removed from v.170  
changed lines
  Added in v.300

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26