1 |
|
2007-08-27 Sascha L. Teichmann <[email protected]> |
2 |
|
|
3 |
|
* tools/formed/formed/model/data.py, |
4 |
|
tools/formed/formed/io/document.py: Added a logical group. |
5 |
|
It has an attribute 'repeat' to indicate that it might |
6 |
|
be worthy an external table in DB schema. |
7 |
|
|
8 |
|
2007-08-27 Sascha L. Teichmann <[email protected]> |
9 |
|
|
10 |
|
* tools/formed/formed/plugins/web/plugin.py: Support |
11 |
|
serving of static content. |
12 |
|
|
13 |
|
* tools/formed/formed/plugins/web/server.py: Removed |
14 |
|
old send code. |
15 |
|
|
16 |
|
2007-08-27 Sascha L. Teichmann <[email protected]> |
17 |
|
|
18 |
|
* tools/formed/formed/plugins/web/plugin.py: Use new |
19 |
|
Response object. Fix typo. |
20 |
|
|
21 |
|
* tools/formed/formed/plugins/web/server.py: support |
22 |
|
response object to serve different MIME types. |
23 |
|
|
24 |
|
2007-08-27 Sascha L. Teichmann <[email protected]> |
25 |
|
|
26 |
|
* tools/formed/formed/plugins/web/plugin.py: Add web.path |
27 |
|
to FORMED environment variable to specify the |
28 |
|
root of the static content. |
29 |
|
|
30 |
|
2007-08-26 Sascha L. Teichmann <[email protected]> |
31 |
|
|
32 |
|
* tools/formed/formed/model/data.py, |
33 |
|
tools/formed/formed/model/nodecomponents.py: Fixed mode issues. |
34 |
|
|
35 |
|
* tools/formed/formed/plugins/web/www, |
36 |
|
tools/formed/formed/plugins/web/www/main.tmpl: New. Contains |
37 |
|
a template for the HTML output. |
38 |
|
|
39 |
|
* tools/formed/formed/plugins/web/plugin.py: Fixes several smaller |
40 |
|
mode issues. Introduces CSS support. Simplified the action |
41 |
|
handling. |
42 |
|
|
43 |
|
* tools/formed/formed/plugins/web/renderer.py: Removed the |
44 |
|
nagivation code. |
45 |
|
|
46 |
|
* tools/formed/formed/plugins/web/server.py: Added missing import. |
47 |
|
|
48 |
|
2007-08-26 Sascha L. Teichmann <[email protected]> |
49 |
|
|
50 |
|
* tools/formed/formed/model/data.py: Added missing broadcast |
51 |
|
parameter to setAttribute() of RuleLeaf. |
52 |
|
|
53 |
|
* tools/formed/formed/plugins/web/plugin.py: Factorize |
54 |
|
HTTP server code out to separate module. |
55 |
|
|
56 |
|
* tools/formed/formed/plugins/web/renderer.py: Removed |
57 |
|
needless -1 from pop() |
58 |
|
|
59 |
|
* tools/formed/formed/plugins/web/server.py: New. Contains |
60 |
|
the HTTP server code now. |
61 |
|
|
62 |
|
2007-08-26 Sascha L. Teichmann <[email protected]> |
63 |
|
|
64 |
|
* tools/formed/test-data/simple.xml: Modified to contain a rule. |
65 |
|
|
66 |
|
* tools/formed/formed/model/expr.py: Added. A simple RPN |
67 |
|
expression evaluator. To avoid the problem of eval()ing |
68 |
|
arbitrary python expressions I've decided to use a very |
69 |
|
basic and limited stack machine to support rule checking. |
70 |
|
|
71 |
|
* tools/formed/formed/model/data.py: Added a RuleLeaf. |
72 |
|
|
73 |
|
* tools/formed/formed/io/document.py: Added factories for rules. |
74 |
|
|
75 |
|
* tools/formed/formed/model/nodecomponents.py: Add a method |
76 |
|
to find all items of a given type in document for a given |
77 |
|
mode. Usefull to find all rules in the tree. |
78 |
|
|
79 |
|
* tools/formed/formed/ui/controls.py: Added a listener mechanism |
80 |
|
to attribute table to report exceptions when setting a value |
81 |
|
from GUI. Useful to report compilation errors when setting |
82 |
|
expr of rule leafs. |
83 |
|
|
84 |
|
* tools/formed/formed/main.py: Added a method to track exceptions |
85 |
|
from the attribute table and pop up dialogs if they occur. |
86 |
|
Added a counter of rule modifications in tree. Useful if you |
87 |
|
want build cached data structures like rule sets and you want |
88 |
|
to know if they are still valid. |
89 |
|
|
90 |
|
2007-08-24 Torsten Irlaender <[email protected]> |
91 |
|
|
92 |
|
* tools/formed/formed/plugins/export/sql.py: Fixed CHECK-constraint |
93 |
|
for checkbox values. (Syntax error). |
94 |
|
|
95 |
|
* tools/formed/formed/plugins/names/filter.py: Fixes in formularname |
96 |
|
generation |
97 |
|
|
98 |
|
2007-08-24 Torsten Irlaender <[email protected]> |
99 |
|
|
100 |
|
* tools/formed/formed/plugins/names/filter.py: Separated Class for |
101 |
|
making the formularnames more database friendly. Added some more |
102 |
|
checks. |
103 |
|
* tools/formed/formed/plugins/export/sql.py: Make use of the fresh |
104 |
|
separated class, and some fixes in sql generation. |
105 |
|
|
106 |
|
2007-08-24 Sascha L. Teichmann <[email protected]> |
107 |
|
|
108 |
|
* tools/formed/formed/plugins/export/html.py: Print lengths |
109 |
|
of external choice list. |
110 |
|
|
111 |
|
2007-08-24 Sascha L. Teichmann <[email protected]> |
112 |
|
|
113 |
|
* tools/formed/formed/main.py: Little workaround for |
114 |
|
mode selection if someone adds an removes a mode. |
115 |
|
|
116 |
2007-08-24 Sascha L. Teichmann <[email protected]> |
2007-08-24 Sascha L. Teichmann <[email protected]> |
117 |
|
|
118 |
* tools/formed/test-data/simple.xml: Better test case for |
* tools/formed/test-data/simple.xml: Better test case for |