--- trunk/ChangeLog 2007/08/06 12:56:35 4 +++ trunk/ChangeLog 2007/08/09 21:03:45 22 @@ -1,3 +1,181 @@ +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 + + * tools/formed/formed/plugins/web/plugin.py: Added a first + version of a recursive HTML renderer based on the document + tree. + +2007-08-08 Sascha L. Teichmann + + * tools/formed/formed/plugins/*: New: plug-in infrastructure. + + * tools/formed/formed/plugins/web/*: new: A simple web server + which is intended to serve pages of the current formular. + + * tools/formed/formed/main.py: start the plug-ins + + * tools/formed/formed/config.py: configuration class. Used + for the plug-ins. + +2007-08-08 Sascha L. Teichmann + + * tools/formed/formed/model/nodecomponents.py: Fixed broadcasting + issue with zero length tree paths. + + * tools/formed/formed/model/misc.py: New: contains a class + for generating unique ids. + + * tools/formed/formed/main.py: Added an instance of an + unique id generator for naming of new made tree items. + +2007-08-07 Sascha L. Teichmann + + * tools/formed/formed/main.py: Added event route document -> + attribute table to get informed when selected item is delete + or an attribute is changed from the outside. + + * tools/formed/formed/ui/controls.py: Fixed. In older versions of + wxPython 2.6.x ListCtrl.InsertStringItem takes 2 instead + of 3 argument. Uses icons+tooltips for tree navigation now. + +2007-08-07 Sascha L. Teichmann + + * tools/formed/formed/model/nodecomponents.py: Set name + attribute in base class. + + * tools/formed/formed/io/document.py: Added a table + names -> classes. + + * tools/formed/formed/main.py: Added a toolbar. Added code + to create and delete tree items. + + * tools/formed/formed/ui/controls.py: Added code to + insert and delete new tree items. + +2007-08-07 Sascha L. Teichmann + + * tools/formed/formed/model/nodecomponents.py: Fixed event + broadcasting for attribute changes. + + * tools/formed/formed/ui/controls.py: Add a list/table control to + edit the attributes of a selected item. + + * tools/formed/formed/main.py: Added code to bind the new + list/table control. + +2007-08-06 Sascha L. Teichmann + + * tools/formed/formed/main.py: Added event routes to move + items in and out of groups. + + * tools/formed/formed/ui/controls.py: Added code to move + items in and out of groups. + +2007-08-06 Sascha L. Teichmann + + * tools/formed/formed/model/nodecomponents.py: Fixed path + calculation to root and event broadcasting + + * tools/formed/formed/io/factories.py: Adjust to new + event broadcasting. + + * tools/formed/formed/main.py: Added code to move items + up and down the document tree. + + * tools/formed/formed/ui/controls.py: Establish sort order + by indices of children in parent instead of alphanum. + Code to move items up and down the document tree. + + * tools/formed/formed/io/document.py: Added missing imports. + 2007-08-06 Sascha L. Teichmann * tools/formed/formed.py: Added to avoid problems with