/[formed]/trunk/ChangeLog
ViewVC logotype

Diff of /trunk/ChangeLog

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

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

Legend:
Removed from v.180  
changed lines
  Added in v.283

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26