1 |
2007-08-22 Sascha L. Teichmann <[email protected]> |
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 |
* tools/formed/formed/main.py: Add an 'all' mode to |
200 |
select all modes. ;-) |
select all modes. ;-) |