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