/[formed]/trunk/ChangeLog
ViewVC logotype

Diff of /trunk/ChangeLog

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

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

Legend:
Removed from v.154  
changed lines
  Added in v.291

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26