/[formed]/trunk/ChangeLog
ViewVC logotype

Diff of /trunk/ChangeLog

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

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

Legend:
Removed from v.151  
changed lines
  Added in v.211

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26