/[formed]/trunk/ChangeLog
ViewVC logotype

Diff of /trunk/ChangeLog

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

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

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

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26