/[formed]/trunk/ChangeLog
ViewVC logotype

Diff of /trunk/ChangeLog

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

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

Legend:
Removed from v.6  
changed lines
  Added in v.185

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26