1 |
|
2007-08-28 Sascha L. Teichmann <[email protected]> |
2 |
|
|
3 |
|
* tools/formed/formed/model/data.py, |
4 |
|
tools/formed/formed/io/document.py: Removed support |
5 |
|
of logical groups. |
6 |
|
|
7 |
|
2007-08-28 Sascha L. Teichmann <[email protected]> |
8 |
|
|
9 |
|
* tools/formed/formed/io/document.py: Avoid saving empty |
10 |
|
attributes. |
11 |
|
|
12 |
|
* tools/formed/test-data/simple.xml: Applied. |
13 |
|
|
14 |
|
2007-08-28 Sascha L. Teichmann <[email protected]> |
15 |
|
|
16 |
|
* tools/formed/formed/model/data.py: Added 'repeat' and |
17 |
|
'invisible' attributes to group. TODO: remove logical group. |
18 |
|
|
19 |
|
2007-08-27 Torsten Irlaender <[email protected]> |
20 |
|
|
21 |
|
* tools/formed/plugins/web/plugin.py, |
22 |
|
tools/formed/plugins/web/renderer.py: Started to include stylesheet |
23 |
|
depending tags in the html generation. |
24 |
|
|
25 |
|
2007-08-27 Sascha L. Teichmann <[email protected]> |
26 |
|
|
27 |
|
* tools/formed/formed/model/data.py, |
28 |
|
tools/formed/formed/io/document.py: Added a logical group. |
29 |
|
It has an attribute 'repeat' to indicate that it might |
30 |
|
be worthy an external table in DB schema. |
31 |
|
|
32 |
|
2007-08-27 Sascha L. Teichmann <[email protected]> |
33 |
|
|
34 |
|
* tools/formed/formed/plugins/web/plugin.py: Support |
35 |
|
serving of static content. |
36 |
|
|
37 |
|
* tools/formed/formed/plugins/web/server.py: Removed |
38 |
|
old send code. |
39 |
|
|
40 |
|
2007-08-27 Sascha L. Teichmann <[email protected]> |
41 |
|
|
42 |
|
* tools/formed/formed/plugins/web/plugin.py: Use new |
43 |
|
Response object. Fix typo. |
44 |
|
|
45 |
|
* tools/formed/formed/plugins/web/server.py: support |
46 |
|
response object to serve different MIME types. |
47 |
|
|
48 |
|
2007-08-27 Sascha L. Teichmann <[email protected]> |
49 |
|
|
50 |
|
* tools/formed/formed/plugins/web/plugin.py: Add web.path |
51 |
|
to FORMED environment variable to specify the |
52 |
|
root of the static content. |
53 |
|
|
54 |
|
2007-08-26 Sascha L. Teichmann <[email protected]> |
55 |
|
|
56 |
|
* tools/formed/formed/model/data.py, |
57 |
|
tools/formed/formed/model/nodecomponents.py: Fixed mode issues. |
58 |
|
|
59 |
|
* tools/formed/formed/plugins/web/www, |
60 |
|
tools/formed/formed/plugins/web/www/main.tmpl: New. Contains |
61 |
|
a template for the HTML output. |
62 |
|
|
63 |
|
* tools/formed/formed/plugins/web/plugin.py: Fixes several smaller |
64 |
|
mode issues. Introduces CSS support. Simplified the action |
65 |
|
handling. |
66 |
|
|
67 |
|
* tools/formed/formed/plugins/web/renderer.py: Removed the |
68 |
|
nagivation code. |
69 |
|
|
70 |
|
* tools/formed/formed/plugins/web/server.py: Added missing import. |
71 |
|
|
72 |
|
2007-08-26 Sascha L. Teichmann <[email protected]> |
73 |
|
|
74 |
|
* tools/formed/formed/model/data.py: Added missing broadcast |
75 |
|
parameter to setAttribute() of RuleLeaf. |
76 |
|
|
77 |
|
* tools/formed/formed/plugins/web/plugin.py: Factorize |
78 |
|
HTTP server code out to separate module. |
79 |
|
|
80 |
|
* tools/formed/formed/plugins/web/renderer.py: Removed |
81 |
|
needless -1 from pop() |
82 |
|
|
83 |
|
* tools/formed/formed/plugins/web/server.py: New. Contains |
84 |
|
the HTTP server code now. |
85 |
|
|
86 |
|
2007-08-26 Sascha L. Teichmann <[email protected]> |
87 |
|
|
88 |
|
* tools/formed/test-data/simple.xml: Modified to contain a rule. |
89 |
|
|
90 |
|
* tools/formed/formed/model/expr.py: Added. A simple RPN |
91 |
|
expression evaluator. To avoid the problem of eval()ing |
92 |
|
arbitrary python expressions I've decided to use a very |
93 |
|
basic and limited stack machine to support rule checking. |
94 |
|
|
95 |
|
* tools/formed/formed/model/data.py: Added a RuleLeaf. |
96 |
|
|
97 |
|
* tools/formed/formed/io/document.py: Added factories for rules. |
98 |
|
|
99 |
|
* tools/formed/formed/model/nodecomponents.py: Add a method |
100 |
|
to find all items of a given type in document for a given |
101 |
|
mode. Usefull to find all rules in the tree. |
102 |
|
|
103 |
|
* tools/formed/formed/ui/controls.py: Added a listener mechanism |
104 |
|
to attribute table to report exceptions when setting a value |
105 |
|
from GUI. Useful to report compilation errors when setting |
106 |
|
expr of rule leafs. |
107 |
|
|
108 |
|
* tools/formed/formed/main.py: Added a method to track exceptions |
109 |
|
from the attribute table and pop up dialogs if they occur. |
110 |
|
Added a counter of rule modifications in tree. Useful if you |
111 |
|
want build cached data structures like rule sets and you want |
112 |
|
to know if they are still valid. |
113 |
|
|
114 |
|
2007-08-24 Torsten Irlaender <[email protected]> |
115 |
|
|
116 |
|
* tools/formed/formed/plugins/export/sql.py: Fixed CHECK-constraint |
117 |
|
for checkbox values. (Syntax error). |
118 |
|
|
119 |
|
* tools/formed/formed/plugins/names/filter.py: Fixes in formularname |
120 |
|
generation |
121 |
|
|
122 |
|
2007-08-24 Torsten Irlaender <[email protected]> |
123 |
|
|
124 |
|
* tools/formed/formed/plugins/names/filter.py: Separated Class for |
125 |
|
making the formularnames more database friendly. Added some more |
126 |
|
checks. |
127 |
|
* tools/formed/formed/plugins/export/sql.py: Make use of the fresh |
128 |
|
separated class, and some fixes in sql generation. |
129 |
|
|
130 |
|
2007-08-24 Sascha L. Teichmann <[email protected]> |
131 |
|
|
132 |
|
* tools/formed/formed/plugins/export/html.py: Print lengths |
133 |
|
of external choice list. |
134 |
|
|
135 |
|
2007-08-24 Sascha L. Teichmann <[email protected]> |
136 |
|
|
137 |
|
* tools/formed/formed/main.py: Little workaround for |
138 |
|
mode selection if someone adds an removes a mode. |
139 |
|
|
140 |
|
2007-08-24 Sascha L. Teichmann <[email protected]> |
141 |
|
|
142 |
|
* tools/formed/test-data/simple.xml: Better test case for |
143 |
|
mode depended leaf items. |
144 |
|
|
145 |
|
* tools/formed/formed/model/nodecomponents.py: Added a method |
146 |
|
to calculate the effective mode of an item. |
147 |
|
|
148 |
|
* tools/formed/formed/plugins/export/html.py: Use effective |
149 |
|
mode. TODO: the 'all' modus return false results sometimes. |
150 |
|
Cause: The modes are only cumulated over time. Removal is |
151 |
|
not done. |
152 |
|
|
153 |
|
2007-08-24 Sascha L. Teichmann <[email protected]> |
154 |
|
|
155 |
|
* tools/formed/formed/plugins/export/html.py: Dump the items |
156 |
|
of radio groups and choices too. |
157 |
|
|
158 |
|
2007-08-24 Torsten Irlaender <[email protected]> |
159 |
|
|
160 |
|
* tools/formed/formed/plugins/names/filter.py: Modified the renaming |
161 |
|
by formular names to make the naming more database friendly. |
162 |
|
Now only alphanumeric and underscore chars is allowed. |
163 |
|
|
164 |
|
2007-08-24 Sascha L. Teichmann <[email protected]> |
165 |
|
|
166 |
|
* tools/formed/formed/plugins/export/html.py: Tweaked |
167 |
|
HTML table exporter a bit to be on par with the XSLT |
168 |
|
script. TODO: Dump items in radio and choice groups. |
169 |
|
|
170 |
|
2007-08-23 Sascha L. Teichmann <[email protected]> |
171 |
|
|
172 |
|
* tools/formed/formed/plugins/names/filter.py: Removed |
173 |
|
HTML and SQL exporters. |
174 |
|
|
175 |
|
* tools/formed/formed/plugins/export, |
176 |
|
tools/formed/formed/plugins/export/__init__.py, |
177 |
|
tools/formed/formed/plugins/export/sql.py, |
178 |
|
tools/formed/formed/plugins/export/html.py: New: Contain |
179 |
|
the HTML and the SQL exporters now. |
180 |
|
|
181 |
|
* tools/formed/formed/config.py: Use exporters from different |
182 |
|
package now. |
183 |
|
|
184 |
|
2007-08-23 Torsten Irlaender <[email protected]> |
185 |
|
|
186 |
|
* tools/formed/formed/plugins/names/filter.py: Added an |
187 |
|
pseudo SQL export filters. TODO: Move HTML and SQL filter |
188 |
|
in a new file (formed/plugins/export/htmlexport.py and |
189 |
|
sqlexport.py?) |
190 |
|
|
191 |
|
* tools/formed/formed/config.py: Install the new SQL filter. |
192 |
|
|
193 |
2007-08-23 Sascha L. Teichmann <[email protected]> |
2007-08-23 Sascha L. Teichmann <[email protected]> |
194 |
|
|
195 |
* tools/formed/formed/model/nodecomponents.py: Added a depth() |
* tools/formed/formed/model/nodecomponents.py: Added a depth() |