--- trunk/ChangeLog 2007/08/08 16:46:58 12 +++ trunk/ChangeLog 2007/08/12 15:02:55 33 @@ -1,3 +1,184 @@ +2007-08-12 Sascha L. Teichmann + + * tools/formed/formed/model/nodecomponents.py: Added walk generator over all + items in the document tree. Added a method to eliminated duplicated names + in document tree. + + * tools/formed/formed/model/misc.py: Added update mechanism for id generator + after names collisions are eliminated. + + * tools/formed/formed/main.py: Added an 'Extra' menu with item + 'Make names unique'. + +2007-08-11 Sascha L. Teichmann + + * tools/formed/formed/model/data.py, + tools/formed/formed/plugins/web/renderer.py: Removed support + for 'text' attributes in bool items. They were never really + used and the 'description' attributes fulfill the same + purpose. + + * contrib/remove-bool-text.xsl: Transform to remove the + 'text' attributes from bool items. Apply with: + 'xsltproc contrib/remove-bool-text.xsl old.xml > new.xml' + + * tools/formed/test-data/simple.xml: Removed 'text' attributes + from bool items. + +2007-08-11 Sascha L. Teichmann + + * contrib/convert-choices.xsl: Simpified. + +2007-08-11 Sascha L. Teichmann + + * tools/formed/formed/model/data.py: Removed 'options' attribute + from ChoiceLeaf. Use 'value' instead, please! + + * tools/formed/formed/plugins/web/renderer.py: use 'value' attribute + instead of 'options' to render choices. + + * contrib/convert-choices.xsl: Added to convert document files + which use the choice 'option' attribute to usage of 'value'. + Apply with e.g. 'xsltproc convert-choices.xsl old.xml > new.xml' + +2007-08-10 Sascha L. Teichmann + + * tools/formed/formed/plugins/web/renderer.py: radio buttons + are selected by 'checked' and not by 'selected'. Fixed. + +2007-08-10 Sascha L. Teichmann + + * tools/formed/formed/model/data.py: ChoiceLeafs are now + initialized with size = 1. + +2007-08-10 Sascha L. Teichmann + + * tools/formed/formed/model/data.py: TextLeafs are now + initialized with size = 40, maxlength = 60 + +2007-08-10 Sascha L. Teichmann + + * tools/formed/formed/plugins/web/renderer.py: Fixed: choices + are renderered with description now. + +2007-08-10 Sascha L. Teichmann + + * tools/formed/formed/plugins/web/renderer.py: Added rendering + for date items. Added missing ids for texts and textareas. + +2007-08-10 Sascha L. Teichmann + + * tools/formed/formed/config.py: Evaluate the environment + variable 'FORMED'. Snytax: FORMED='key1:value1;key2:value2' + + * tools/formed/formed/plugins/plugin.py: Give a reference + to the config at setup time. + + * tools/formed/formed/plugins/web/plugin.py: To determine + the port look at FORMED dictionary first. Key is 'web.port'. + e.g. FORMED='web.port:8888' + + * tools/formed/formed/main.py: Call the plugin setup with + the reference to the config. + +2007-08-10 Sascha L. Teichmann + + * tools/formed/test-data/simple.xml: removed 'text' attributes from + info tags. Use the 'value' attributes for same purpose now, please! + + * tools/formed/formed/model/data.py: removed text attributes from + InfoLeaf. + + * tools/formed/formed/plugins/web/renderer.py: Rendering of info + now uses the 'value' instead of the 'text' attributes. + +2007-08-09 Sascha L. Teichmann + + * tools/formed/formed/model/data.py: next/prevPage() are + methods of PageNode now. + + * tools/formed/formed/model/nodecomponents.py: findByClassAndName() + is method of Document now. + + * tools/formed/formed/plugins/web/plugin.py: Factored out + the HTML renderer. + + * tools/formed/formed/plugins/web/renderer.py: New: contains + the HTML renderer now. + + * tools/formed/test-data/simple.xml: Fixed typo + +2007-08-09 Sascha L. Teichmann + + * tools/formed/formed/plugins/web/plugin.py: Fixed a bug + in calculation of width of bounded int fields. + +2007-08-09 Sascha L. Teichmann + + * tools/formed/test-data/simple.xml: Make demo Int fancier. + + * tools/formed/formed/model/data.py: Added attributes to IntLeaf + + * tools/formed/formed/plugins/web/plugin.py: Added rendering for + Ints + +2007-08-09 Sascha L. Teichmann + + * tools/formed/test-data/simple.xml: Added demo textarea + + * tools/formed/formed/model/data.py: Added TextAreaLeaf + + * tools/formed/formed/io/document.py: register builder + for loading of textareas + + * tools/formed/formed/plugins/web/plugin.py: Added rendering + for textareas. + +2007-08-09 Sascha L. Teichmann + + * tools/formed/test-data/simple.xml: Make demo choice fancier. + + * tools/formed/formed/model/data.py: Added attributes for texts + + * tools/formed/formed/plugins/web/plugin.py: Added rendering + for texts + +2007-08-09 Sascha L. Teichmann + + * tools/formed/test-data/simple.xml: Make demo choice fancier. + + * tools/formed/formed/model/data.py: Added attributes for choices. + + * tools/formed/formed/plugins/web/plugin.py: Added rendering + for choices + +2007-08-09 Sascha L. Teichmann + + * tools/formed/formed/model/data.py, + tools/formed/formed/model/nodecomponents.py: Added new + attributes. + + * tools/formed/formed/plugins/web/plugin.py: Added rendering + for checkboxes and radio buttons. + +2007-08-08 Sascha L. Teichmann + + * tools/formed/test-data/simple.xml: Added some descriptions + + * tools/formed/formed/model/data.py: set attributes in constructors + directly. + + * tools/formed/formed/model/nodecomponents.py: Added description + attribute in the NodeComponent base class. + + * tools/formed/formed/plugins/web/plugin.py: Render description + as legend in fieldset for GroupNodes. + +2007-08-08 Sascha L. Teichmann + + * tools/formed/formed/plugins/web/plugin.py: make UTF-8 + output work. + 2007-08-08 Sascha L. Teichmann * tools/formed/formed/model/data.py: Added get/setText() method