/[formed]/trunk/ChangeLog
ViewVC logotype

Diff of /trunk/ChangeLog

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

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

Legend:
Removed from v.9  
changed lines
  Added in v.212

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26