/[formed]/trunk/ChangeLog
ViewVC logotype

Diff of /trunk/ChangeLog

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

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

Legend:
Removed from v.164  
changed lines
  Added in v.292

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26