/[formed]/trunk/ChangeLog
ViewVC logotype

Diff of /trunk/ChangeLog

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

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

Legend:
Removed from v.158  
changed lines
  Added in v.209

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26