1 |
|
2007-08-10 Sascha L. Teichmann <[email protected]> |
2 |
|
|
3 |
|
* tools/formed/formed/model/data.py: TextLeafs are now |
4 |
|
initialized with size = 40, maxlength = 60 |
5 |
|
|
6 |
|
2007-08-10 Sascha L. Teichmann <[email protected]> |
7 |
|
|
8 |
|
* tools/formed/formed/plugins/web/renderer.py: Fixed: choices |
9 |
|
are renderered with description now. |
10 |
|
|
11 |
|
2007-08-10 Sascha L. Teichmann <[email protected]> |
12 |
|
|
13 |
|
* tools/formed/formed/plugins/web/renderer.py: Added rendering |
14 |
|
for date items. Added missing ids for texts and textareas. |
15 |
|
|
16 |
|
2007-08-10 Sascha L. Teichmann <[email protected]> |
17 |
|
|
18 |
|
* tools/formed/formed/config.py: Evaluate the environment |
19 |
|
variable 'FORMED'. Snytax: FORMED='key1:value1;key2:value2' |
20 |
|
|
21 |
|
* tools/formed/formed/plugins/plugin.py: Give a reference |
22 |
|
to the config at setup time. |
23 |
|
|
24 |
|
* tools/formed/formed/plugins/web/plugin.py: To determine |
25 |
|
the port look at FORMED dictionary first. Key is 'web.port'. |
26 |
|
e.g. FORMED='web.port:8888' |
27 |
|
|
28 |
|
* tools/formed/formed/main.py: Call the plugin setup with |
29 |
|
the reference to the config. |
30 |
|
|
31 |
|
2007-08-10 Sascha L. Teichmann <[email protected]> |
32 |
|
|
33 |
|
* tools/formed/test-data/simple.xml: removed 'text' attributes from |
34 |
|
info tags. Use the 'value' attributes for same purpose now, please! |
35 |
|
|
36 |
|
* tools/formed/formed/model/data.py: removed text attributes from |
37 |
|
InfoLeaf. |
38 |
|
|
39 |
|
* tools/formed/formed/plugins/web/renderer.py: Rendering of info |
40 |
|
now uses the 'value' instead of the 'text' attributes. |
41 |
|
|
42 |
|
2007-08-09 Sascha L. Teichmann <[email protected]> |
43 |
|
|
44 |
|
* tools/formed/formed/model/data.py: next/prevPage() are |
45 |
|
methods of PageNode now. |
46 |
|
|
47 |
|
* tools/formed/formed/model/nodecomponents.py: findByClassAndName() |
48 |
|
is method of Document now. |
49 |
|
|
50 |
|
* tools/formed/formed/plugins/web/plugin.py: Factored out |
51 |
|
the HTML renderer. |
52 |
|
|
53 |
|
* tools/formed/formed/plugins/web/renderer.py: New: contains |
54 |
|
the HTML renderer now. |
55 |
|
|
56 |
|
* tools/formed/test-data/simple.xml: Fixed typo |
57 |
|
|
58 |
|
2007-08-09 Sascha L. Teichmann <[email protected]> |
59 |
|
|
60 |
|
* tools/formed/formed/plugins/web/plugin.py: Fixed a bug |
61 |
|
in calculation of width of bounded int fields. |
62 |
|
|
63 |
|
2007-08-09 Sascha L. Teichmann <[email protected]> |
64 |
|
|
65 |
|
* tools/formed/test-data/simple.xml: Make demo Int fancier. |
66 |
|
|
67 |
|
* tools/formed/formed/model/data.py: Added attributes to IntLeaf |
68 |
|
|
69 |
|
* tools/formed/formed/plugins/web/plugin.py: Added rendering for |
70 |
|
Ints |
71 |
|
|
72 |
|
2007-08-09 Sascha L. Teichmann <[email protected]> |
73 |
|
|
74 |
|
* tools/formed/test-data/simple.xml: Added demo textarea |
75 |
|
|
76 |
|
* tools/formed/formed/model/data.py: Added TextAreaLeaf |
77 |
|
|
78 |
|
* tools/formed/formed/io/document.py: register builder |
79 |
|
for loading of textareas |
80 |
|
|
81 |
|
* tools/formed/formed/plugins/web/plugin.py: Added rendering |
82 |
|
for textareas. |
83 |
|
|
84 |
|
2007-08-09 Sascha L. Teichmann <[email protected]> |
85 |
|
|
86 |
|
* tools/formed/test-data/simple.xml: Make demo choice fancier. |
87 |
|
|
88 |
|
* tools/formed/formed/model/data.py: Added attributes for texts |
89 |
|
|
90 |
|
* tools/formed/formed/plugins/web/plugin.py: Added rendering |
91 |
|
for texts |
92 |
|
|
93 |
|
2007-08-09 Sascha L. Teichmann <[email protected]> |
94 |
|
|
95 |
|
* tools/formed/test-data/simple.xml: Make demo choice fancier. |
96 |
|
|
97 |
|
* tools/formed/formed/model/data.py: Added attributes for choices. |
98 |
|
|
99 |
|
* tools/formed/formed/plugins/web/plugin.py: Added rendering |
100 |
|
for choices |
101 |
|
|
102 |
|
2007-08-09 Sascha L. Teichmann <[email protected]> |
103 |
|
|
104 |
|
* tools/formed/formed/model/data.py, |
105 |
|
tools/formed/formed/model/nodecomponents.py: Added new |
106 |
|
attributes. |
107 |
|
|
108 |
|
* tools/formed/formed/plugins/web/plugin.py: Added rendering |
109 |
|
for checkboxes and radio buttons. |
110 |
|
|
111 |
|
2007-08-08 Sascha L. Teichmann <[email protected]> |
112 |
|
|
113 |
|
* tools/formed/test-data/simple.xml: Added some descriptions |
114 |
|
|
115 |
|
* tools/formed/formed/model/data.py: set attributes in constructors |
116 |
|
directly. |
117 |
|
|
118 |
|
* tools/formed/formed/model/nodecomponents.py: Added description |
119 |
|
attribute in the NodeComponent base class. |
120 |
|
|
121 |
|
* tools/formed/formed/plugins/web/plugin.py: Render description |
122 |
|
as legend in fieldset for GroupNodes. |
123 |
|
|
124 |
|
2007-08-08 Sascha L. Teichmann <[email protected]> |
125 |
|
|
126 |
|
* tools/formed/formed/plugins/web/plugin.py: make UTF-8 |
127 |
|
output work. |
128 |
|
|
129 |
|
2007-08-08 Sascha L. Teichmann <[email protected]> |
130 |
|
|
131 |
|
* tools/formed/formed/model/data.py: Added get/setText() method |
132 |
|
|
133 |
|
* tools/formed/formed/plugins/web/plugin.py: Added a first |
134 |
|
version of a recursive HTML renderer based on the document |
135 |
|
tree. |
136 |
|
|
137 |
|
2007-08-08 Sascha L. Teichmann <[email protected]> |
138 |
|
|
139 |
|
* tools/formed/formed/plugins/*: New: plug-in infrastructure. |
140 |
|
|
141 |
|
* tools/formed/formed/plugins/web/*: new: A simple web server |
142 |
|
which is intended to serve pages of the current formular. |
143 |
|
|
144 |
|
* tools/formed/formed/main.py: start the plug-ins |
145 |
|
|
146 |
|
* tools/formed/formed/config.py: configuration class. Used |
147 |
|
for the plug-ins. |
148 |
|
|
149 |
|
2007-08-08 Sascha L. Teichmann <[email protected]> |
150 |
|
|
151 |
|
* tools/formed/formed/model/nodecomponents.py: Fixed broadcasting |
152 |
|
issue with zero length tree paths. |
153 |
|
|
154 |
|
* tools/formed/formed/model/misc.py: New: contains a class |
155 |
|
for generating unique ids. |
156 |
|
|
157 |
|
* tools/formed/formed/main.py: Added an instance of an |
158 |
|
unique id generator for naming of new made tree items. |
159 |
|
|
160 |
2007-08-07 Sascha L. Teichmann <[email protected]> |
2007-08-07 Sascha L. Teichmann <[email protected]> |
161 |
|
|
162 |
* tools/formed/formed/main.py: Added event route document -> |
* tools/formed/formed/main.py: Added event route document -> |