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]> |
2007-08-22 Sascha L. Teichmann <[email protected]> |
141 |
|
|
142 |
* tools/formed/formed/plugins/web/plugin.py: Uses the |
* tools/formed/formed/plugins/web/plugin.py: Uses the |