/[formed]/trunk/ChangeLog
ViewVC logotype

Diff of /trunk/ChangeLog

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

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

Legend:
Removed from v.144  
changed lines
  Added in v.315

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26