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]> |
2007-08-24 Torsten Irlaender <[email protected]> |
74 |
|
|
75 |
* tools/formed/formed/plugins/names/filter.py: Modified the renaming |
* tools/formed/formed/plugins/names/filter.py: Modified the renaming |