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