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