/[formed]/trunk/ChangeLog
ViewVC logotype

Diff of /trunk/ChangeLog

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

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

Legend:
Removed from v.76  
changed lines
  Added in v.277

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26