/[formed]/trunk/ChangeLog
ViewVC logotype

Diff of /trunk/ChangeLog

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

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

Legend:
Removed from v.162  
changed lines
  Added in v.310

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26