/[formed]/trunk/ChangeLog
ViewVC logotype

Diff of /trunk/ChangeLog

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

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

Legend:
Removed from v.153  
changed lines
  Added in v.216

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26