/[formed]/trunk/ChangeLog
ViewVC logotype

Diff of /trunk/ChangeLog

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

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

Legend:
Removed from v.58  
changed lines
  Added in v.301

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26