/[formed]/trunk/ChangeLog
ViewVC logotype

Diff of /trunk/ChangeLog

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

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

Legend:
Removed from v.53  
changed lines
  Added in v.189

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26