/[formed]/trunk/ChangeLog
ViewVC logotype

Diff of /trunk/ChangeLog

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

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

Legend:
Removed from v.42  
changed lines
  Added in v.217

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26