--- trunk/ChangeLog 2007/08/17 16:13:36 53 +++ trunk/ChangeLog 2007/08/22 18:21:01 78 @@ -1,15 +1,231 @@ +2007-08-22 Sascha L. Teichmann + + * tools/formed/test-data/simple.xml, + tools/formed/formed/model/data.py, + tools/formed/formed/plugins/web/plugin.py, + tools/formed/formed/plugins/web/renderer.py, + tools/formed/formed/io/document.py, + tools/formed/formed/main.py: Removed support for switch nodes. + BEWARE: This breaks compatibility with older documents! + +2007-08-22 Sascha L. Teichmann + + * tools/formed/formed/plugins/web/plugin.py: Uses the + getSelectedMode() from main now. + + * tools/formed/formed/main.py: selected mode is now hold + in main. + + * tools/formed/formed/config.py: removed selected mode from + env configuration. + +2007-08-22 Sascha L. Teichmann + + * tools/formed/formed/ui/controls.py: Attributes in GUI attribute + table are now alphabetically sorted. + +2007-08-22 Sascha L. Teichmann + + * tools/formed/formed/model/nodecomponents.py: Added code to + establish the new 'modes' recursively. + + * tools/formed/formed/plugins/plugin.py: Pass main instead + of cfg on plug-in start-up. + + * tools/formed/formed/plugins/web/plugin.py: Use the new + 'modes' attribute for rendering. + + * tools/formed/formed/plugins/web/renderer.py: Use decorators + to check the new modes. + + * tools/formed/formed/main.py: Adjusted to new infrastructure. + +2007-08-22 Sascha L. Teichmann + + * tools/formed/formed/model/nodecomponents.py: Added an + attribute 'modes' to NodeComponents. + +2007-08-22 Sascha L. Teichmann + + * tools/formed/formed/model/data.py: Small cosmetic cleanups + +2007-08-21 Sascha L. Teichmann + + * tools/formed/formed/plugins/web/renderer.py: Another fix + for the hidden field. Argh! + +2007-08-21 Sascha L. Teichmann + + * tools/formed/formed/plugins/web/renderer.py: Fixed double + generation of hidden page field. + +2007-08-21 Sascha L. Teichmann + + * tools/formed/formed/plugins/web/semantic.py: Added semantic + checks for radio groups. + +2007-08-21 Sascha L. Teichmann + + * tools/formed/formed/plugins/web/semantic.py: Added semantic + checks for choices. + +2007-08-21 Frank Koormann + + * contrib/convert-formedtree2html.xsl: Display switch nodes as + alternatives. + +2007-08-21 Frank Koormann + + * contrib/convert-formedtree2html.xsl: + Replace technical types with readable descriptions + +2007-08-21 Sascha L. Teichmann + + * tools/formed/formed/plugins/web/plugin.py: Fix a few smaller + issues. 'action' looks for all widgets on a page now, goes + through all passed parameters, tries to match them with the + widgets of the page and put them into the semantic box. + Afterwards a list of untouched page parameters are left + which will be deleted from the semantic box. + + * tools/formed/formed/plugins/web/semantic.py: Simplified. + The NodeComponent is passed as an argument now. + + * tools/formed/formed/plugins/web/renderer.py: Generate a + hidden field to store the name of the page. + +2007-08-21 Sascha L. Teichmann + + * tools/formed/formed/plugins/web/plugin.py: Fixed an encoding + issue with incoming UTF-8 data. + +2007-08-21 Sascha L. Teichmann + + * tools/formed/test-data/simple.xml: Improve test for widgets + in switches. + + * tools/formed/formed/model/data.py: Added a method to find all + widgets in a given page. Fixed a bug when walking in switch + with a given mode. + + * tools/formed/formed/plugins/web/plugin.py: Simple test for + listing all widgets in page. + +2007-08-21 Torsten Irlaender + + * tools/formed/formed/plugins/names/filter.py: Fixed file-encoding to + latin-1 + +2007-08-21 Sascha L. Teichmann + + * tools/formed/formed/model/data.py: Added mode parameter to + walk. + + * tools/formed/formed/model/nodecomponents.py: SwitchNode overwrites + walk() with usage of the new mode parameter. Added a method to + give children in a given mode. + + * tools/formed/formed/plugins/web/renderer.py: Simplified to use + new Switch.childrenInMode() method. + +2007-08-21 Sascha L. Teichmann + + * tools/formed/formed/plugins/web/semantic.py: Add checks for + texts and text areas. + + * tools/formed/formed/plugins/web/renderer.py: Set accept-charset + to UTF-8 in generated form. + +2007-08-20 Sascha L. Teichmann + + * tools/formed/formed/plugins/web/semantic.py: Added semantic + tests for dates. + +2007-08-20 Sascha L. Teichmann + + * tools/formed/test-data/simple.xml: Tweak a bit for integer + range test. + + * tools/formed/formed/model/nodecomponents.py: Added a method + to find a tree item for a given name. + + * tools/formed/formed/plugins/web/semantic.py: New: Box for + semantic checking. Has check for integers. + + * tools/formed/formed/plugins/web/plugin.py: Use semantic + check. + +2007-08-20 Torsten Irlaender + + * tools/formed/formed/plugins/web/renderer.py: Fixed Syntax in + selection-field generation (Removed quote) + +2007-08-18 Sascha L. Teichmann + + * tools/formed/formed/plugins/web/plugin.py, + tools/formed/formed/plugins/web/renderer.py: Added a + simple cookie based session management to the HTML + renderer. This submit parameters are stored in the + session now. This will ease testing the constraint + tests which need to be written soon. + + BEWARE: The session management is _not_ made for production! + Denial of service attacks are too easy, and the + cryptographical strength of the session id is doubtful. + +2007-08-18 Sascha L. Teichmann + + * tools/formed/formed/plugins/web/renderer.py: Escaping text + coming from the document tree now when inserting it into the + HTML output. + +2007-08-18 Sascha L. Teichmann + + * tools/formed/formed/plugins/plugin.py: Added a new kind + of plug-in: Filter. They have a short and a long description + and can be hooked automatically into the new 'Filters' + sub menu under 'Extra'. They got called when the user + selects their respective menu item. + + * tools/formed/formed/config.py: Contains the list of + installed filters. + + * tools/formed/formed/main.py: Builds the Extra->Filters + sub menu during gui initialization. The hard wired code + for make unique and formular name/description -> name + is removed because they are implemented as filters now. + + * tools/formed/formed/model/nodecomponents.py, + tools/formed/formed/model/data.py: Removed the make + unique and formular name/description -> name code. + + * tools/formed/formed/plugins/names, + tools/formed/formed/plugins/names/__init__.py, + tools/formed/formed/plugins/names/filter.py: Added. Contains + the make unique and formular name/description -> name code + in form of filters. + + * tools/formed/test-data/simple.xml: Modified to be a better + test for the formular name/description -> name filter. + +2007-08-18 Sascha L. Teichmann + + * tools/formed/formed.py, tools/formed/formed/main.py: First + command line argument is interpreted as filename of document + to be loaded at program startup. + 2007-08-17 Frank Koormann * contrib/convert-formedtree2html.xsl: Heading level depending on depth of group node. In case of radio/choice/check only list of options. -2007-08-1/ Torsten Irlaender +2007-08-17 Torsten Irlaender * contrib/convert-formedtree2html.xsl: Output is now generated with HTML doc-string and charset information in the meta-header. -2007-08-1/ Torsten Irlaender +2007-08-17 Torsten Irlaender * contrib/convert-formedtree2html.xsl: Added small script for exporting the formed tree to html