/[formed]/trunk/ChangeLog
ViewVC logotype

Diff of /trunk/ChangeLog

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

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

Legend:
Removed from v.155  
changed lines
  Added in v.266

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26