/[formed]/trunk/ChangeLog
ViewVC logotype

Diff of /trunk/ChangeLog

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

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

Legend:
Removed from v.35  
changed lines
  Added in v.186

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26