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