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