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]> |
2007-08-24 Torsten Irlaender <[email protected]> |
38 |
|
|
39 |
* tools/formed/formed/plugins/names/filter.py: Separated Class for |
* tools/formed/formed/plugins/names/filter.py: Separated Class for |