/[formed]/trunk/ChangeLog
ViewVC logotype

Diff of /trunk/ChangeLog

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

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

Legend:
Removed from v.171  
changed lines
  Added in v.309

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26