/[formed]/trunk/ChangeLog
ViewVC logotype

Diff of /trunk/ChangeLog

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

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

Legend:
Removed from v.105  
changed lines
  Added in v.274

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26