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