--- trunk/ChangeLog 2007/08/21 04:56:42 62 +++ trunk/ChangeLog 2007/08/24 13:25:30 90 @@ -1,3 +1,214 @@ +2007-08-24 Torsten Irlaender + + * tools/formed/formed/plugins/names/filter.py: Separated Class for + making the formularnames more database friendly. Added some more + checks. + * tools/formed/formed/plugins/export/sql.py: Make use of the fresh + separated class, and some fixes in sql generation. + +2007-08-24 Sascha L. Teichmann + + * tools/formed/formed/plugins/export/html.py: Print lengths + of external choice list. + +2007-08-24 Sascha L. Teichmann + + * tools/formed/formed/main.py: Little workaround for + mode selection if someone adds an removes a mode. + +2007-08-24 Sascha L. Teichmann + + * tools/formed/test-data/simple.xml: Better test case for + mode depended leaf items. + + * tools/formed/formed/model/nodecomponents.py: Added a method + to calculate the effective mode of an item. + + * tools/formed/formed/plugins/export/html.py: Use effective + mode. TODO: the 'all' modus return false results sometimes. + Cause: The modes are only cumulated over time. Removal is + not done. + +2007-08-24 Sascha L. Teichmann + + * tools/formed/formed/plugins/export/html.py: Dump the items + of radio groups and choices too. + +2007-08-24 Torsten Irlaender + + * tools/formed/formed/plugins/names/filter.py: Modified the renaming + by formular names to make the naming more database friendly. + Now only alphanumeric and underscore chars is allowed. + +2007-08-24 Sascha L. Teichmann + + * tools/formed/formed/plugins/export/html.py: Tweaked + HTML table exporter a bit to be on par with the XSLT + script. TODO: Dump items in radio and choice groups. + +2007-08-23 Sascha L. Teichmann + + * tools/formed/formed/plugins/names/filter.py: Removed + HTML and SQL exporters. + + * tools/formed/formed/plugins/export, + tools/formed/formed/plugins/export/__init__.py, + tools/formed/formed/plugins/export/sql.py, + tools/formed/formed/plugins/export/html.py: New: Contain + the HTML and the SQL exporters now. + + * tools/formed/formed/config.py: Use exporters from different + package now. + +2007-08-23 Torsten Irlaender + + * tools/formed/formed/plugins/names/filter.py: Added an + pseudo SQL export filters. TODO: Move HTML and SQL filter + in a new file (formed/plugins/export/htmlexport.py and + sqlexport.py?) + + * tools/formed/formed/config.py: Install the new SQL filter. + +2007-08-23 Sascha L. Teichmann + + * tools/formed/formed/model/nodecomponents.py: Added a depth() + method to determine the depth of particular tree item. + + * tools/formed/formed/plugins/names/filter.py: Added an + HTML export filters. TODO: needs more work. + + * tools/formed/formed/config.py: Install the new HTML filter. + +2007-08-23 Torsten Irlaender + + * contrib/extract-xfa-fields_and_options.xsl: Added small xsl script + to extract fields and options in the XFA Data in teh PDF. This + script might me handy to indicate changes between the different + formular versions. + +2007-08-23 Sascha L. Teichmann + + * tools/formed/formed/main.py: Add an 'all' mode to + select all modes. ;-) + +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