/[formed]/trunk/ChangeLog
ViewVC logotype

Diff of /trunk/ChangeLog

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

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

Legend:
Removed from v.152  
changed lines
  Added in v.228

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26