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