/[formed]/trunk/ChangeLog
ViewVC logotype

Diff of /trunk/ChangeLog

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

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

Legend:
Removed from v.99  
changed lines
  Added in v.213

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26