1 |
|
2007-08-27 Sascha L. Teichmann <[email protected]> |
2 |
|
|
3 |
|
* tools/formed/formed/plugins/web/plugin.py: Support |
4 |
|
serving of static content. |
5 |
|
|
6 |
|
* tools/formed/formed/plugins/web/server.py: Removed |
7 |
|
old send code. |
8 |
|
|
9 |
|
2007-08-27 Sascha L. Teichmann <[email protected]> |
10 |
|
|
11 |
|
* tools/formed/formed/plugins/web/plugin.py: Use new |
12 |
|
Response object. Fix typo. |
13 |
|
|
14 |
|
* tools/formed/formed/plugins/web/server.py: support |
15 |
|
response object to serve different MIME types. |
16 |
|
|
17 |
|
2007-08-27 Sascha L. Teichmann <[email protected]> |
18 |
|
|
19 |
|
* tools/formed/formed/plugins/web/plugin.py: Add web.path |
20 |
|
to FORMED environment variable to specify the |
21 |
|
root of the static content. |
22 |
|
|
23 |
|
2007-08-26 Sascha L. Teichmann <[email protected]> |
24 |
|
|
25 |
|
* tools/formed/formed/model/data.py, |
26 |
|
tools/formed/formed/model/nodecomponents.py: Fixed mode issues. |
27 |
|
|
28 |
|
* tools/formed/formed/plugins/web/www, |
29 |
|
tools/formed/formed/plugins/web/www/main.tmpl: New. Contains |
30 |
|
a template for the HTML output. |
31 |
|
|
32 |
|
* tools/formed/formed/plugins/web/plugin.py: Fixes several smaller |
33 |
|
mode issues. Introduces CSS support. Simplified the action |
34 |
|
handling. |
35 |
|
|
36 |
|
* tools/formed/formed/plugins/web/renderer.py: Removed the |
37 |
|
nagivation code. |
38 |
|
|
39 |
|
* tools/formed/formed/plugins/web/server.py: Added missing import. |
40 |
|
|
41 |
|
2007-08-26 Sascha L. Teichmann <[email protected]> |
42 |
|
|
43 |
|
* tools/formed/formed/model/data.py: Added missing broadcast |
44 |
|
parameter to setAttribute() of RuleLeaf. |
45 |
|
|
46 |
|
* tools/formed/formed/plugins/web/plugin.py: Factorize |
47 |
|
HTTP server code out to separate module. |
48 |
|
|
49 |
|
* tools/formed/formed/plugins/web/renderer.py: Removed |
50 |
|
needless -1 from pop() |
51 |
|
|
52 |
|
* tools/formed/formed/plugins/web/server.py: New. Contains |
53 |
|
the HTTP server code now. |
54 |
|
|
55 |
|
2007-08-26 Sascha L. Teichmann <[email protected]> |
56 |
|
|
57 |
|
* tools/formed/test-data/simple.xml: Modified to contain a rule. |
58 |
|
|
59 |
|
* tools/formed/formed/model/expr.py: Added. A simple RPN |
60 |
|
expression evaluator. To avoid the problem of eval()ing |
61 |
|
arbitrary python expressions I've decided to use a very |
62 |
|
basic and limited stack machine to support rule checking. |
63 |
|
|
64 |
|
* tools/formed/formed/model/data.py: Added a RuleLeaf. |
65 |
|
|
66 |
|
* tools/formed/formed/io/document.py: Added factories for rules. |
67 |
|
|
68 |
|
* tools/formed/formed/model/nodecomponents.py: Add a method |
69 |
|
to find all items of a given type in document for a given |
70 |
|
mode. Usefull to find all rules in the tree. |
71 |
|
|
72 |
|
* tools/formed/formed/ui/controls.py: Added a listener mechanism |
73 |
|
to attribute table to report exceptions when setting a value |
74 |
|
from GUI. Useful to report compilation errors when setting |
75 |
|
expr of rule leafs. |
76 |
|
|
77 |
|
* tools/formed/formed/main.py: Added a method to track exceptions |
78 |
|
from the attribute table and pop up dialogs if they occur. |
79 |
|
Added a counter of rule modifications in tree. Useful if you |
80 |
|
want build cached data structures like rule sets and you want |
81 |
|
to know if they are still valid. |
82 |
|
|
83 |
|
2007-08-24 Torsten Irlaender <[email protected]> |
84 |
|
|
85 |
|
* tools/formed/formed/plugins/export/sql.py: Fixed CHECK-constraint |
86 |
|
for checkbox values. (Syntax error). |
87 |
|
|
88 |
|
* tools/formed/formed/plugins/names/filter.py: Fixes in formularname |
89 |
|
generation |
90 |
|
|
91 |
|
2007-08-24 Torsten Irlaender <[email protected]> |
92 |
|
|
93 |
|
* tools/formed/formed/plugins/names/filter.py: Separated Class for |
94 |
|
making the formularnames more database friendly. Added some more |
95 |
|
checks. |
96 |
|
* tools/formed/formed/plugins/export/sql.py: Make use of the fresh |
97 |
|
separated class, and some fixes in sql generation. |
98 |
|
|
99 |
|
2007-08-24 Sascha L. Teichmann <[email protected]> |
100 |
|
|
101 |
|
* tools/formed/formed/plugins/export/html.py: Print lengths |
102 |
|
of external choice list. |
103 |
|
|
104 |
|
2007-08-24 Sascha L. Teichmann <[email protected]> |
105 |
|
|
106 |
|
* tools/formed/formed/main.py: Little workaround for |
107 |
|
mode selection if someone adds an removes a mode. |
108 |
|
|
109 |
|
2007-08-24 Sascha L. Teichmann <[email protected]> |
110 |
|
|
111 |
|
* tools/formed/test-data/simple.xml: Better test case for |
112 |
|
mode depended leaf items. |
113 |
|
|
114 |
|
* tools/formed/formed/model/nodecomponents.py: Added a method |
115 |
|
to calculate the effective mode of an item. |
116 |
|
|
117 |
|
* tools/formed/formed/plugins/export/html.py: Use effective |
118 |
|
mode. TODO: the 'all' modus return false results sometimes. |
119 |
|
Cause: The modes are only cumulated over time. Removal is |
120 |
|
not done. |
121 |
|
|
122 |
|
2007-08-24 Sascha L. Teichmann <[email protected]> |
123 |
|
|
124 |
|
* tools/formed/formed/plugins/export/html.py: Dump the items |
125 |
|
of radio groups and choices too. |
126 |
|
|
127 |
|
2007-08-24 Torsten Irlaender <[email protected]> |
128 |
|
|
129 |
|
* tools/formed/formed/plugins/names/filter.py: Modified the renaming |
130 |
|
by formular names to make the naming more database friendly. |
131 |
|
Now only alphanumeric and underscore chars is allowed. |
132 |
|
|
133 |
|
2007-08-24 Sascha L. Teichmann <[email protected]> |
134 |
|
|
135 |
|
* tools/formed/formed/plugins/export/html.py: Tweaked |
136 |
|
HTML table exporter a bit to be on par with the XSLT |
137 |
|
script. TODO: Dump items in radio and choice groups. |
138 |
|
|
139 |
|
2007-08-23 Sascha L. Teichmann <[email protected]> |
140 |
|
|
141 |
|
* tools/formed/formed/plugins/names/filter.py: Removed |
142 |
|
HTML and SQL exporters. |
143 |
|
|
144 |
|
* tools/formed/formed/plugins/export, |
145 |
|
tools/formed/formed/plugins/export/__init__.py, |
146 |
|
tools/formed/formed/plugins/export/sql.py, |
147 |
|
tools/formed/formed/plugins/export/html.py: New: Contain |
148 |
|
the HTML and the SQL exporters now. |
149 |
|
|
150 |
|
* tools/formed/formed/config.py: Use exporters from different |
151 |
|
package now. |
152 |
|
|
153 |
|
2007-08-23 Torsten Irlaender <[email protected]> |
154 |
|
|
155 |
|
* tools/formed/formed/plugins/names/filter.py: Added an |
156 |
|
pseudo SQL export filters. TODO: Move HTML and SQL filter |
157 |
|
in a new file (formed/plugins/export/htmlexport.py and |
158 |
|
sqlexport.py?) |
159 |
|
|
160 |
|
* tools/formed/formed/config.py: Install the new SQL filter. |
161 |
|
|
162 |
|
2007-08-23 Sascha L. Teichmann <[email protected]> |
163 |
|
|
164 |
|
* tools/formed/formed/model/nodecomponents.py: Added a depth() |
165 |
|
method to determine the depth of particular tree item. |
166 |
|
|
167 |
|
* tools/formed/formed/plugins/names/filter.py: Added an |
168 |
|
HTML export filters. TODO: needs more work. |
169 |
|
|
170 |
|
* tools/formed/formed/config.py: Install the new HTML filter. |
171 |
|
|
172 |
|
2007-08-23 Torsten Irlaender <[email protected]> |
173 |
|
|
174 |
|
* contrib/extract-xfa-fields_and_options.xsl: Added small xsl script |
175 |
|
to extract fields and options in the XFA Data in teh PDF. This |
176 |
|
script might me handy to indicate changes between the different |
177 |
|
formular versions. |
178 |
|
|
179 |
|
2007-08-23 Sascha L. Teichmann <[email protected]> |
180 |
|
|
181 |
|
* tools/formed/formed/main.py: Add an 'all' mode to |
182 |
|
select all modes. ;-) |
183 |
|
|
184 |
2007-08-22 Sascha L. Teichmann <[email protected]> |
2007-08-22 Sascha L. Teichmann <[email protected]> |
185 |
|
|
186 |
* tools/formed/test-data/simple.xml, |
* tools/formed/test-data/simple.xml, |