/[formed]/trunk/ChangeLog
ViewVC logotype

Diff of /trunk/ChangeLog

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

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

Legend:
Removed from v.164  
changed lines
  Added in v.218

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26