1 |
|
2007-08-26 Sascha L. Teichmann <[email protected]> |
2 |
|
|
3 |
|
* tools/formed/formed/model/data.py: Added missing broadcast |
4 |
|
parameter to setAttribute() of RuleLeaf. |
5 |
|
|
6 |
|
* tools/formed/formed/plugins/web/plugin.py: Factorize |
7 |
|
HTTP server code out to separate module. |
8 |
|
|
9 |
|
* tools/formed/formed/plugins/web/renderer.py: Removed |
10 |
|
needless -1 from pop() |
11 |
|
|
12 |
|
* tools/formed/formed/plugins/web/server.py: New. Contains |
13 |
|
the HTTP server code now. |
14 |
|
|
15 |
|
2007-08-26 Sascha L. Teichmann <[email protected]> |
16 |
|
|
17 |
|
* tools/formed/test-data/simple.xml: Modified to contain a rule. |
18 |
|
|
19 |
|
* tools/formed/formed/model/expr.py: Added. A simple RPN |
20 |
|
expression evaluator. To avoid the problem of eval()ing |
21 |
|
arbitrary python expressions I've decided to use a very |
22 |
|
basic and limited stack machine to support rule checking. |
23 |
|
|
24 |
|
* tools/formed/formed/model/data.py: Added a RuleLeaf. |
25 |
|
|
26 |
|
* tools/formed/formed/io/document.py: Added factories for rules. |
27 |
|
|
28 |
|
* tools/formed/formed/model/nodecomponents.py: Add a method |
29 |
|
to find all items of a given type in document for a given |
30 |
|
mode. Usefull to find all rules in the tree. |
31 |
|
|
32 |
|
* tools/formed/formed/ui/controls.py: Added a listener mechanism |
33 |
|
to attribute table to report exceptions when setting a value |
34 |
|
from GUI. Useful to report compilation errors when setting |
35 |
|
expr of rule leafs. |
36 |
|
|
37 |
|
* tools/formed/formed/main.py: Added a method to track exceptions |
38 |
|
from the attribute table and pop up dialogs if they occur. |
39 |
|
Added a counter of rule modifications in tree. Useful if you |
40 |
|
want build cached data structures like rule sets and you want |
41 |
|
to know if they are still valid. |
42 |
|
|
43 |
|
2007-08-24 Torsten Irlaender <[email protected]> |
44 |
|
|
45 |
|
* tools/formed/formed/plugins/export/sql.py: Fixed CHECK-constraint |
46 |
|
for checkbox values. (Syntax error). |
47 |
|
|
48 |
|
* tools/formed/formed/plugins/names/filter.py: Fixes in formularname |
49 |
|
generation |
50 |
|
|
51 |
|
2007-08-24 Torsten Irlaender <[email protected]> |
52 |
|
|
53 |
|
* tools/formed/formed/plugins/names/filter.py: Separated Class for |
54 |
|
making the formularnames more database friendly. Added some more |
55 |
|
checks. |
56 |
|
* tools/formed/formed/plugins/export/sql.py: Make use of the fresh |
57 |
|
separated class, and some fixes in sql generation. |
58 |
|
|
59 |
|
2007-08-24 Sascha L. Teichmann <[email protected]> |
60 |
|
|
61 |
|
* tools/formed/formed/plugins/export/html.py: Print lengths |
62 |
|
of external choice list. |
63 |
|
|
64 |
|
2007-08-24 Sascha L. Teichmann <[email protected]> |
65 |
|
|
66 |
|
* tools/formed/formed/main.py: Little workaround for |
67 |
|
mode selection if someone adds an removes a mode. |
68 |
|
|
69 |
|
2007-08-24 Sascha L. Teichmann <[email protected]> |
70 |
|
|
71 |
|
* tools/formed/test-data/simple.xml: Better test case for |
72 |
|
mode depended leaf items. |
73 |
|
|
74 |
|
* tools/formed/formed/model/nodecomponents.py: Added a method |
75 |
|
to calculate the effective mode of an item. |
76 |
|
|
77 |
|
* tools/formed/formed/plugins/export/html.py: Use effective |
78 |
|
mode. TODO: the 'all' modus return false results sometimes. |
79 |
|
Cause: The modes are only cumulated over time. Removal is |
80 |
|
not done. |
81 |
|
|
82 |
2007-08-24 Sascha L. Teichmann <[email protected]> |
2007-08-24 Sascha L. Teichmann <[email protected]> |
83 |
|
|
84 |
* tools/formed/formed/plugins/export/html.py: Dump the items |
* tools/formed/formed/plugins/export/html.py: Dump the items |