--- trunk/ChangeLog 2007/08/12 16:14:56 35 +++ trunk/ChangeLog 2007/08/16 07:55:36 47 @@ -1,3 +1,130 @@ +2007-08-16 Sascha L. Teichmann + + * tools/formed/formed/main.py: Swaped order of + 'Make names unique' and 'Selected mode...' in Extra + menu and put a separator between them. + +2007-08-15 Sascha L. Teichmann + + * tools/formed/formed/model/data.py: SwitchNodes can add + their modes to a given set now. + + * tools/formed/formed/plugins/plugin.py: Simplified + the plug-in interface. Only the reference to the + global configuration is passed at setup time. + + * tools/formed/formed/plugins/web/plugin.py: Adjusted + to new plug-in setup. The traveral mode is now taken + from the global configuration each time a rendering + is triggered. The FORMED parameter is now named + 'doc.mode' instead of 'web.mode'. The parameter + is not needed any more because it can be configured + at runtime. + + * tools/formed/formed/main.py: Adjusted to new plugin + setup. Added a new menu item Extra->Select Mode... + to select the traversal mode. It is stored in the + global config. + + * tools/formed/formed/config.py: Simplified. Only uses + one env dictionary to store global configuration parameters. + + * tools/formed/formed/ui/controls.py: Add a control to + select one item from a list of given strings. + +2007-08-15 Sascha L. Teichmann + + * tools/formed/formed/plugins/web/plugin.py, + tools/formed/formed/plugins/web/renderer.py: Added parameter + print out in web plugin. + +2007-08-15 Torsten Irlaender + + * contrib/convert-formedtree2csv.xsl: Added small script for + exporting the formed tree to csv + +2007-08-14 Sascha L. Teichmann + + * tools/formed/formed/model/data.py, + tools/formed/formed/model/nodecomponents.py, + tools/formed/formed/io/document.py: Added a 'switch' node. + + * tools/formed/formed/plugins/web/renderer.py:Render the + new 'switch' node. + + * tools/formed/formed/plugins/web/plugin.py, + tools/formed/formed/config.py: Added a 'web.mode' parameter + to FORMED environment variable. + e.g. 'FORMED=web.mode:modeX' sets the mode 'modeX'. + Defaults to 'default'. + + * tools/formed/test-data/simple.xml: Added test for switch. + +2007-08-14 Sascha L. Teichmann + + * tools/formed/formed/model/nodecomponents.py: Added an + attribute 'formularname' to base class of node components. + +2007-08-13 Sascha L. Teichmann + + * tools/formed/formed/io/document.py, + tools/formed/formed/model/data.py, + tools/formed/formed/model/nodecomponents.py: Added an item + to model external item lists. + + * tools/formed/formed/plugins/web/renderer.py: Render new item + list. + * tools/formed/formed/main.py: Added a forgotten 'self.' + + * contrib/extract-xfa-items.sh: Modified to generate + documents to be loadable from new item lists + +2007-08-13 Sascha L. Teichmann + + * tools/formed/formed/main.py: Fixed typo + +2007-08-13 Sascha L. Teichmann + + * contrib/extract-xfa-items.sh: New. Can be used to extract longer + choice item lists for a given field from XFA files. e.g. with + './contrib/extract-xfa-items.sh Muttersprache alles.xml' + +2007-08-12 Sascha L. Teichmann + + * tools/formed/formed/model/data.py, + tools/formed/formed/plugins/web/renderer.py, + tools/formed/formed/io/document.py: Changed the structure + of choice constructs. The idea to hold the different items + of a particular choice in a semicolon separated list was bad. + Now choices are groups and the option items are modelled as + embedded bools. (mainly Torsten Irländer's idea). + + WARNING: this makes old document files containing choices incompatible!!! + Use the following XSLT to reestablish compatibility. + + * contrib/itemize-choices.xsl: New converts old to new structure. + Needs exslt.org's string extensions (which xsltproc includes) + + * tools/formed/test-data/simple.xml: Ajusted to new structure + + * tools/formed/formed/plugins/web/plugin.py: remove debug output + + * tools/formed/formed/model/nodecomponents.py: fixed a small bug in + node finding code. It now uses the walk() generator, too. + +2007-08-12 Sascha L. Teichmann + + * tools/formed/formed/main.py: Added a clone item on the toolbar which + copies the currently selected item and appends it after the selection. + + * tools/formed/formed/model/nodecomponents.py: Added code to clone parts + of the tree. + + * tools/formed/formed/ui/controls.py: Added a getSelected method. + + * tools/formed/formed/model/misc.py: Fixed a programming bug. + forgot a 'self.' prefix. + 2007-08-12 Sascha L. Teichmann * tools/formed/formed/model/nodecomponents.py: Added a method to append