1 |
|
2007-09-02 Sascha L. Teichmann <[email protected]> |
2 |
|
|
3 |
|
* tools/formed/formed/plugins/export/sql.py: Removed needless import. |
4 |
|
|
5 |
|
* tools/formed/formed/plugins/export/html.py: HTML table exporter |
6 |
|
uses new FileDialogFilter base class too. |
7 |
|
|
8 |
|
2007-09-02 Sascha L. Teichmann <[email protected]> |
9 |
|
|
10 |
|
* tools/formed/formed/plugins/ui/*: New. All file exporters |
11 |
|
need a file dialog. Till now each of them pulled up its |
12 |
|
own. This was silly code replication. Now there is an abstract |
13 |
|
base class 'FileDialogFilter' which implements the common |
14 |
|
behavior. The file exporters should subclass it. |
15 |
|
|
16 |
|
* tools/formed/formed/plugins/export/sql.py: Subclass the SQL |
17 |
|
exporters from the new base class. TODO: Subclass the HTML |
18 |
|
exporter too. |
19 |
|
|
20 |
|
2007-08-31 Sascha L. Teichmann <[email protected]> |
21 |
|
|
22 |
|
* tools/formed/formed/plugins/export/html.py: Make mode check |
23 |
|
work (again). |
24 |
|
|
25 |
|
2007-08-31 Torsten Irlaender <[email protected]> |
26 |
|
|
27 |
|
* tools/formed/formed/plugins/export/html.py: Rendering of the HTML |
28 |
|
exprt works now in a recursive way. This change was needed because |
29 |
|
the structure of the formedtree has changed to be able to render |
30 |
|
full hirachically document stuctures. (nested lists) |
31 |
|
TODO: Fix modechecking |
32 |
|
|
33 |
|
2007-08-31 Torsten Irlaender <[email protected]> |
34 |
|
|
35 |
|
* tools/formed/formed/plugins/web/plugin.py: Navigation rendering works |
36 |
|
now in recursive way. This change was needed because the structure |
37 |
|
of the formedtree has changed to be able to render full hirachically |
38 |
|
document stuctures. (nested lists) |
39 |
|
|
40 |
|
2007-08-31 Sascha L. Teichmann <[email protected]> |
41 |
|
|
42 |
|
* tools/formed/formed/model/nodecomponents.py: use discard() |
43 |
|
instead of remove on sets. |
44 |
|
|
45 |
|
* tools/formed/formed/plugins/export/sql.py: Added an |
46 |
|
exporter for table views. |
47 |
|
|
48 |
|
* tools/formed/formed/config.py: Added the new exporter |
49 |
|
to the list of export filters. |
50 |
|
|
51 |
|
2007-08-30 Sascha L. Teichmann <[email protected]> |
52 |
|
|
53 |
|
* tools/formed/formed/model/data.py: Fixed a bug in |
54 |
|
Page.allWidgets() |
55 |
|
|
56 |
|
* tools/formed/formed/plugins/export/sql.py: Added an exporter |
57 |
|
for stored procudeures. |
58 |
|
|
59 |
|
* tools/formed/formed/config.py: Add the new SP exporter. |
60 |
|
|
61 |
|
2007-08-29 Torsten Irlaender <[email protected]> |
62 |
|
|
63 |
|
* tools/formed/formed/plugins/web/plugin.py, |
64 |
|
tools/formed/formed/plugins/web/error_renderer.py: Added interface |
65 |
|
to get the errors for a whole page in te formular. These errors can |
66 |
|
now be displayed on the top of the formular. |
67 |
|
|
68 |
|
2007-08-29 Torsten Irlaender <[email protected]> |
69 |
|
|
70 |
|
* tools/formed/formed/plugins/web/renderer.py: Finished implementation |
71 |
|
of the getFromData interface and prepared the rederer for generating |
72 |
|
nice error messages |
73 |
|
|
74 |
|
2007-08-28 Frank Koormann <[email protected]> |
75 |
|
|
76 |
|
* tools/formed/formed/plugins/export/sql.py |
77 |
|
(SchemaCreator.createSchema, SchemaCreator._createGroup): |
78 |
|
Fixed typo in created DDS (PRIMRAY -> PRIMARY) |
79 |
|
|
80 |
|
2007-08-28 Torsten Irlaender <[email protected]> |
81 |
|
|
82 |
|
* tools/formed/formed/plugins/export/sql.py: Added small helper |
83 |
|
function to generated valid quotes within the sql statements |
84 |
|
|
85 |
|
2007-08-29 Sascha L. Teichmann <[email protected]> |
86 |
|
|
87 |
|
* tools/formed/formed/plugins/export/sql.py: Added foreign keys |
88 |
|
for repeat tables. |
89 |
|
|
90 |
|
2007-08-29 Sascha L. Teichmann <[email protected]> |
91 |
|
|
92 |
|
* tools/formed/formed/plugins/export/sql.py: When generating |
93 |
|
an extra table check in a table of same content exists. In |
94 |
|
this case reference the existing table. |
95 |
|
|
96 |
|
2007-08-29 Sascha L. Teichmann <[email protected]> |
97 |
|
|
98 |
|
* tools/formed/formed/plugins/export/sql.py: Rewritten to produce |
99 |
|
_real_ SQL and respect repeat groups. |
100 |
|
|
101 |
|
* tools/formed/formed/model/data.py: Fixed bug with Group.isRepeat() |
102 |
|
|
103 |
|
* tools/formed/formed/plugins/web/renderer.py: Use "".join([]) |
104 |
|
instead of expensive += string concat in some places. |
105 |
|
|
106 |
|
2007-08-29 Sascha L. Teichmann <[email protected]> |
107 |
|
|
108 |
|
* tools/formed/formed/model/data.py: Renamed GroupNode.getRepeat() |
109 |
|
to .isRepeat and return a bool. Fixed a bug in Page.allWidgets(). |
110 |
|
|
111 |
|
2007-08-28 Torsten Irlaender <[email protected]> |
112 |
|
|
113 |
|
* tools/formed/plugins/web/renderer.py: Added Formdata interface. |
114 |
|
* tools/formed/model/data.py: Implements Formadata interface to |
115 |
|
textfields. Fieldset generated depends now on the "invisible" |
116 |
|
attribute of the groupnode. Field-label generation slightly changed. |
117 |
|
Added error indication to textfields |
118 |
|
|
119 |
|
2007-08-28 Sascha L. Teichmann <[email protected]> |
120 |
|
|
121 |
|
* tools/formed/formed/model/data.py, |
122 |
|
tools/formed/formed/io/document.py: Removed support |
123 |
|
of logical groups. |
124 |
|
|
125 |
|
2007-08-28 Sascha L. Teichmann <[email protected]> |
126 |
|
|
127 |
|
* tools/formed/formed/io/document.py: Avoid saving empty |
128 |
|
attributes. |
129 |
|
|
130 |
|
* tools/formed/test-data/simple.xml: Applied. |
131 |
|
|
132 |
|
2007-08-28 Sascha L. Teichmann <[email protected]> |
133 |
|
|
134 |
|
* tools/formed/formed/model/data.py: Added 'repeat' and |
135 |
|
'invisible' attributes to group. TODO: remove logical group. |
136 |
|
|
137 |
|
2007-08-27 Torsten Irlaender <[email protected]> |
138 |
|
|
139 |
|
* tools/formed/plugins/web/plugin.py, |
140 |
|
tools/formed/plugins/web/renderer.py: Started to include stylesheet |
141 |
|
depending tags in the html generation. |
142 |
|
|
143 |
|
2007-08-27 Sascha L. Teichmann <[email protected]> |
144 |
|
|
145 |
|
* tools/formed/formed/model/data.py, |
146 |
|
tools/formed/formed/io/document.py: Added a logical group. |
147 |
|
It has an attribute 'repeat' to indicate that it might |
148 |
|
be worthy an external table in DB schema. |
149 |
|
|
150 |
|
2007-08-27 Sascha L. Teichmann <[email protected]> |
151 |
|
|
152 |
|
* tools/formed/formed/plugins/web/plugin.py: Support |
153 |
|
serving of static content. |
154 |
|
|
155 |
|
* tools/formed/formed/plugins/web/server.py: Removed |
156 |
|
old send code. |
157 |
|
|
158 |
|
2007-08-27 Sascha L. Teichmann <[email protected]> |
159 |
|
|
160 |
|
* tools/formed/formed/plugins/web/plugin.py: Use new |
161 |
|
Response object. Fix typo. |
162 |
|
|
163 |
|
* tools/formed/formed/plugins/web/server.py: support |
164 |
|
response object to serve different MIME types. |
165 |
|
|
166 |
|
2007-08-27 Sascha L. Teichmann <[email protected]> |
167 |
|
|
168 |
|
* tools/formed/formed/plugins/web/plugin.py: Add web.path |
169 |
|
to FORMED environment variable to specify the |
170 |
|
root of the static content. |
171 |
|
|
172 |
|
2007-08-26 Sascha L. Teichmann <[email protected]> |
173 |
|
|
174 |
|
* tools/formed/formed/model/data.py, |
175 |
|
tools/formed/formed/model/nodecomponents.py: Fixed mode issues. |
176 |
|
|
177 |
|
* tools/formed/formed/plugins/web/www, |
178 |
|
tools/formed/formed/plugins/web/www/main.tmpl: New. Contains |
179 |
|
a template for the HTML output. |
180 |
|
|
181 |
|
* tools/formed/formed/plugins/web/plugin.py: Fixes several smaller |
182 |
|
mode issues. Introduces CSS support. Simplified the action |
183 |
|
handling. |
184 |
|
|
185 |
|
* tools/formed/formed/plugins/web/renderer.py: Removed the |
186 |
|
nagivation code. |
187 |
|
|
188 |
|
* tools/formed/formed/plugins/web/server.py: Added missing import. |
189 |
|
|
190 |
|
2007-08-26 Sascha L. Teichmann <[email protected]> |
191 |
|
|
192 |
|
* tools/formed/formed/model/data.py: Added missing broadcast |
193 |
|
parameter to setAttribute() of RuleLeaf. |
194 |
|
|
195 |
|
* tools/formed/formed/plugins/web/plugin.py: Factorize |
196 |
|
HTTP server code out to separate module. |
197 |
|
|
198 |
|
* tools/formed/formed/plugins/web/renderer.py: Removed |
199 |
|
needless -1 from pop() |
200 |
|
|
201 |
|
* tools/formed/formed/plugins/web/server.py: New. Contains |
202 |
|
the HTTP server code now. |
203 |
|
|
204 |
|
2007-08-26 Sascha L. Teichmann <[email protected]> |
205 |
|
|
206 |
|
* tools/formed/test-data/simple.xml: Modified to contain a rule. |
207 |
|
|
208 |
|
* tools/formed/formed/model/expr.py: Added. A simple RPN |
209 |
|
expression evaluator. To avoid the problem of eval()ing |
210 |
|
arbitrary python expressions I've decided to use a very |
211 |
|
basic and limited stack machine to support rule checking. |
212 |
|
|
213 |
|
* tools/formed/formed/model/data.py: Added a RuleLeaf. |
214 |
|
|
215 |
|
* tools/formed/formed/io/document.py: Added factories for rules. |
216 |
|
|
217 |
|
* tools/formed/formed/model/nodecomponents.py: Add a method |
218 |
|
to find all items of a given type in document for a given |
219 |
|
mode. Usefull to find all rules in the tree. |
220 |
|
|
221 |
|
* tools/formed/formed/ui/controls.py: Added a listener mechanism |
222 |
|
to attribute table to report exceptions when setting a value |
223 |
|
from GUI. Useful to report compilation errors when setting |
224 |
|
expr of rule leafs. |
225 |
|
|
226 |
|
* tools/formed/formed/main.py: Added a method to track exceptions |
227 |
|
from the attribute table and pop up dialogs if they occur. |
228 |
|
Added a counter of rule modifications in tree. Useful if you |
229 |
|
want build cached data structures like rule sets and you want |
230 |
|
to know if they are still valid. |
231 |
|
|
232 |
|
2007-08-24 Torsten Irlaender <[email protected]> |
233 |
|
|
234 |
|
* tools/formed/formed/plugins/export/sql.py: Fixed CHECK-constraint |
235 |
|
for checkbox values. (Syntax error). |
236 |
|
|
237 |
|
* tools/formed/formed/plugins/names/filter.py: Fixes in formularname |
238 |
|
generation |
239 |
|
|
240 |
|
2007-08-24 Torsten Irlaender <[email protected]> |
241 |
|
|
242 |
|
* tools/formed/formed/plugins/names/filter.py: Separated Class for |
243 |
|
making the formularnames more database friendly. Added some more |
244 |
|
checks. |
245 |
|
* tools/formed/formed/plugins/export/sql.py: Make use of the fresh |
246 |
|
separated class, and some fixes in sql generation. |
247 |
|
|
248 |
|
2007-08-24 Sascha L. Teichmann <[email protected]> |
249 |
|
|
250 |
|
* tools/formed/formed/plugins/export/html.py: Print lengths |
251 |
|
of external choice list. |
252 |
|
|
253 |
|
2007-08-24 Sascha L. Teichmann <[email protected]> |
254 |
|
|
255 |
|
* tools/formed/formed/main.py: Little workaround for |
256 |
|
mode selection if someone adds an removes a mode. |
257 |
|
|
258 |
|
2007-08-24 Sascha L. Teichmann <[email protected]> |
259 |
|
|
260 |
|
* tools/formed/test-data/simple.xml: Better test case for |
261 |
|
mode depended leaf items. |
262 |
|
|
263 |
|
* tools/formed/formed/model/nodecomponents.py: Added a method |
264 |
|
to calculate the effective mode of an item. |
265 |
|
|
266 |
|
* tools/formed/formed/plugins/export/html.py: Use effective |
267 |
|
mode. TODO: the 'all' modus return false results sometimes. |
268 |
|
Cause: The modes are only cumulated over time. Removal is |
269 |
|
not done. |
270 |
|
|
271 |
|
2007-08-24 Sascha L. Teichmann <[email protected]> |
272 |
|
|
273 |
|
* tools/formed/formed/plugins/export/html.py: Dump the items |
274 |
|
of radio groups and choices too. |
275 |
|
|
276 |
2007-08-24 Torsten Irlaender <[email protected]> |
2007-08-24 Torsten Irlaender <[email protected]> |
277 |
|
|
278 |
* tools/formed/formed/plugins/names/filter.py: Modified the renaming |
* tools/formed/formed/plugins/names/filter.py: Modified the renaming |