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