/[formed]/trunk/ChangeLog
ViewVC logotype

Diff of /trunk/ChangeLog

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

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

Legend:
Removed from v.172  
changed lines
  Added in v.226

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26