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