1 |
|
2007-08-26 Sascha L. Teichmann <[email protected]> |
2 |
|
|
3 |
|
* tools/formed/formed/model/data.py, |
4 |
|
tools/formed/formed/model/nodecomponents.py: Fixed mode issues. |
5 |
|
|
6 |
|
* tools/formed/formed/plugins/web/www, |
7 |
|
tools/formed/formed/plugins/web/www/main.tmpl: New. Contains |
8 |
|
a template for the HTML output. |
9 |
|
|
10 |
|
* tools/formed/formed/plugins/web/plugin.py: Fixes several smaller |
11 |
|
mode issues. Introduces CSS support. Simplified the action |
12 |
|
handling. |
13 |
|
|
14 |
|
* tools/formed/formed/plugins/web/renderer.py: Removed the |
15 |
|
nagivation code. |
16 |
|
|
17 |
|
* tools/formed/formed/plugins/web/server.py: Added missing import. |
18 |
|
|
19 |
|
2007-08-26 Sascha L. Teichmann <[email protected]> |
20 |
|
|
21 |
|
* tools/formed/formed/model/data.py: Added missing broadcast |
22 |
|
parameter to setAttribute() of RuleLeaf. |
23 |
|
|
24 |
|
* tools/formed/formed/plugins/web/plugin.py: Factorize |
25 |
|
HTTP server code out to separate module. |
26 |
|
|
27 |
|
* tools/formed/formed/plugins/web/renderer.py: Removed |
28 |
|
needless -1 from pop() |
29 |
|
|
30 |
|
* tools/formed/formed/plugins/web/server.py: New. Contains |
31 |
|
the HTTP server code now. |
32 |
|
|
33 |
|
2007-08-26 Sascha L. Teichmann <[email protected]> |
34 |
|
|
35 |
|
* tools/formed/test-data/simple.xml: Modified to contain a rule. |
36 |
|
|
37 |
|
* tools/formed/formed/model/expr.py: Added. A simple RPN |
38 |
|
expression evaluator. To avoid the problem of eval()ing |
39 |
|
arbitrary python expressions I've decided to use a very |
40 |
|
basic and limited stack machine to support rule checking. |
41 |
|
|
42 |
|
* tools/formed/formed/model/data.py: Added a RuleLeaf. |
43 |
|
|
44 |
|
* tools/formed/formed/io/document.py: Added factories for rules. |
45 |
|
|
46 |
|
* tools/formed/formed/model/nodecomponents.py: Add a method |
47 |
|
to find all items of a given type in document for a given |
48 |
|
mode. Usefull to find all rules in the tree. |
49 |
|
|
50 |
|
* tools/formed/formed/ui/controls.py: Added a listener mechanism |
51 |
|
to attribute table to report exceptions when setting a value |
52 |
|
from GUI. Useful to report compilation errors when setting |
53 |
|
expr of rule leafs. |
54 |
|
|
55 |
|
* tools/formed/formed/main.py: Added a method to track exceptions |
56 |
|
from the attribute table and pop up dialogs if they occur. |
57 |
|
Added a counter of rule modifications in tree. Useful if you |
58 |
|
want build cached data structures like rule sets and you want |
59 |
|
to know if they are still valid. |
60 |
|
|
61 |
|
2007-08-24 Torsten Irlaender <[email protected]> |
62 |
|
|
63 |
|
* tools/formed/formed/plugins/export/sql.py: Fixed CHECK-constraint |
64 |
|
for checkbox values. (Syntax error). |
65 |
|
|
66 |
|
* tools/formed/formed/plugins/names/filter.py: Fixes in formularname |
67 |
|
generation |
68 |
|
|
69 |
|
2007-08-24 Torsten Irlaender <[email protected]> |
70 |
|
|
71 |
|
* tools/formed/formed/plugins/names/filter.py: Separated Class for |
72 |
|
making the formularnames more database friendly. Added some more |
73 |
|
checks. |
74 |
|
* tools/formed/formed/plugins/export/sql.py: Make use of the fresh |
75 |
|
separated class, and some fixes in sql generation. |
76 |
|
|
77 |
|
2007-08-24 Sascha L. Teichmann <[email protected]> |
78 |
|
|
79 |
|
* tools/formed/formed/plugins/export/html.py: Print lengths |
80 |
|
of external choice list. |
81 |
|
|
82 |
|
2007-08-24 Sascha L. Teichmann <[email protected]> |
83 |
|
|
84 |
|
* tools/formed/formed/main.py: Little workaround for |
85 |
|
mode selection if someone adds an removes a mode. |
86 |
|
|
87 |
|
2007-08-24 Sascha L. Teichmann <[email protected]> |
88 |
|
|
89 |
|
* tools/formed/test-data/simple.xml: Better test case for |
90 |
|
mode depended leaf items. |
91 |
|
|
92 |
|
* tools/formed/formed/model/nodecomponents.py: Added a method |
93 |
|
to calculate the effective mode of an item. |
94 |
|
|
95 |
|
* tools/formed/formed/plugins/export/html.py: Use effective |
96 |
|
mode. TODO: the 'all' modus return false results sometimes. |
97 |
|
Cause: The modes are only cumulated over time. Removal is |
98 |
|
not done. |
99 |
|
|
100 |
|
2007-08-24 Sascha L. Teichmann <[email protected]> |
101 |
|
|
102 |
|
* tools/formed/formed/plugins/export/html.py: Dump the items |
103 |
|
of radio groups and choices too. |
104 |
|
|
105 |
|
2007-08-24 Torsten Irlaender <[email protected]> |
106 |
|
|
107 |
|
* tools/formed/formed/plugins/names/filter.py: Modified the renaming |
108 |
|
by formular names to make the naming more database friendly. |
109 |
|
Now only alphanumeric and underscore chars is allowed. |
110 |
|
|
111 |
|
2007-08-24 Sascha L. Teichmann <[email protected]> |
112 |
|
|
113 |
|
* tools/formed/formed/plugins/export/html.py: Tweaked |
114 |
|
HTML table exporter a bit to be on par with the XSLT |
115 |
|
script. TODO: Dump items in radio and choice groups. |
116 |
|
|
117 |
|
2007-08-23 Sascha L. Teichmann <[email protected]> |
118 |
|
|
119 |
|
* tools/formed/formed/plugins/names/filter.py: Removed |
120 |
|
HTML and SQL exporters. |
121 |
|
|
122 |
|
* tools/formed/formed/plugins/export, |
123 |
|
tools/formed/formed/plugins/export/__init__.py, |
124 |
|
tools/formed/formed/plugins/export/sql.py, |
125 |
|
tools/formed/formed/plugins/export/html.py: New: Contain |
126 |
|
the HTML and the SQL exporters now. |
127 |
|
|
128 |
|
* tools/formed/formed/config.py: Use exporters from different |
129 |
|
package now. |
130 |
|
|
131 |
2007-08-23 Torsten Irlaender <[email protected]> |
2007-08-23 Torsten Irlaender <[email protected]> |
132 |
|
|
133 |
* tools/formed/formed/plugins/names/filter.py: Added an |
* tools/formed/formed/plugins/names/filter.py: Added an |