/[formed]/trunk/ChangeLog
ViewVC logotype

Diff of /trunk/ChangeLog

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

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

Legend:
Removed from v.38  
changed lines
  Added in v.199

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26