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