1 |
teichmann |
30 |
2007-08-11 Sascha L. Teichmann <[email protected]> |
2 |
|
|
|
3 |
teichmann |
32 |
* tools/formed/formed/model/data.py, |
4 |
|
|
tools/formed/formed/plugins/web/renderer.py: Removed support |
5 |
|
|
for 'text' attributes in bool items. They were never really |
6 |
|
|
used and the 'description' attributes fulfill the same |
7 |
|
|
purpose. |
8 |
|
|
|
9 |
|
|
* contrib/remove-bool-text.xsl: Transform to remove the |
10 |
|
|
'text' attributes from bool items. Apply with: |
11 |
|
|
'xsltproc contrib/remove-bool-text.xsl old.xml > new.xml' |
12 |
|
|
|
13 |
|
|
* tools/formed/test-data/simple.xml: Removed 'text' attributes |
14 |
|
|
from bool items. |
15 |
|
|
|
16 |
|
|
2007-08-11 Sascha L. Teichmann <[email protected]> |
17 |
|
|
|
18 |
teichmann |
31 |
* contrib/convert-choices.xsl: Simpified. |
19 |
|
|
|
20 |
|
|
2007-08-11 Sascha L. Teichmann <[email protected]> |
21 |
|
|
|
22 |
teichmann |
30 |
* tools/formed/formed/model/data.py: Removed 'options' attribute |
23 |
|
|
from ChoiceLeaf. Use 'value' instead, please! |
24 |
|
|
|
25 |
|
|
* tools/formed/formed/plugins/web/renderer.py: use 'value' attribute |
26 |
|
|
instead of 'options' to render choices. |
27 |
|
|
|
28 |
|
|
* contrib/convert-choices.xsl: Added to convert document files |
29 |
|
|
which use the choice 'option' attribute to usage of 'value'. |
30 |
|
|
Apply with e.g. 'xsltproc convert-choices.xsl old.xml > new.xml' |
31 |
|
|
|
32 |
teichmann |
23 |
2007-08-10 Sascha L. Teichmann <[email protected]> |
33 |
|
|
|
34 |
teichmann |
29 |
* tools/formed/formed/plugins/web/renderer.py: radio buttons |
35 |
|
|
are selected by 'checked' and not by 'selected'. Fixed. |
36 |
|
|
|
37 |
|
|
2007-08-10 Sascha L. Teichmann <[email protected]> |
38 |
|
|
|
39 |
teichmann |
28 |
* tools/formed/formed/model/data.py: ChoiceLeafs are now |
40 |
|
|
initialized with size = 1. |
41 |
|
|
|
42 |
|
|
2007-08-10 Sascha L. Teichmann <[email protected]> |
43 |
|
|
|
44 |
teichmann |
27 |
* tools/formed/formed/model/data.py: TextLeafs are now |
45 |
|
|
initialized with size = 40, maxlength = 60 |
46 |
|
|
|
47 |
|
|
2007-08-10 Sascha L. Teichmann <[email protected]> |
48 |
|
|
|
49 |
teichmann |
26 |
* tools/formed/formed/plugins/web/renderer.py: Fixed: choices |
50 |
|
|
are renderered with description now. |
51 |
|
|
|
52 |
|
|
2007-08-10 Sascha L. Teichmann <[email protected]> |
53 |
|
|
|
54 |
teichmann |
25 |
* tools/formed/formed/plugins/web/renderer.py: Added rendering |
55 |
|
|
for date items. Added missing ids for texts and textareas. |
56 |
|
|
|
57 |
|
|
2007-08-10 Sascha L. Teichmann <[email protected]> |
58 |
|
|
|
59 |
teichmann |
24 |
* tools/formed/formed/config.py: Evaluate the environment |
60 |
|
|
variable 'FORMED'. Snytax: FORMED='key1:value1;key2:value2' |
61 |
|
|
|
62 |
|
|
* tools/formed/formed/plugins/plugin.py: Give a reference |
63 |
|
|
to the config at setup time. |
64 |
|
|
|
65 |
|
|
* tools/formed/formed/plugins/web/plugin.py: To determine |
66 |
|
|
the port look at FORMED dictionary first. Key is 'web.port'. |
67 |
|
|
e.g. FORMED='web.port:8888' |
68 |
|
|
|
69 |
|
|
* tools/formed/formed/main.py: Call the plugin setup with |
70 |
|
|
the reference to the config. |
71 |
|
|
|
72 |
|
|
2007-08-10 Sascha L. Teichmann <[email protected]> |
73 |
|
|
|
74 |
teichmann |
23 |
* tools/formed/test-data/simple.xml: removed 'text' attributes from |
75 |
|
|
info tags. Use the 'value' attributes for same purpose now, please! |
76 |
|
|
|
77 |
|
|
* tools/formed/formed/model/data.py: removed text attributes from |
78 |
|
|
InfoLeaf. |
79 |
|
|
|
80 |
|
|
* tools/formed/formed/plugins/web/renderer.py: Rendering of info |
81 |
|
|
now uses the 'value' instead of the 'text' attributes. |
82 |
|
|
|
83 |
teichmann |
17 |
2007-08-09 Sascha L. Teichmann <[email protected]> |
84 |
teichmann |
10 |
|
85 |
teichmann |
22 |
* tools/formed/formed/model/data.py: next/prevPage() are |
86 |
|
|
methods of PageNode now. |
87 |
|
|
|
88 |
|
|
* tools/formed/formed/model/nodecomponents.py: findByClassAndName() |
89 |
|
|
is method of Document now. |
90 |
|
|
|
91 |
|
|
* tools/formed/formed/plugins/web/plugin.py: Factored out |
92 |
|
|
the HTML renderer. |
93 |
|
|
|
94 |
|
|
* tools/formed/formed/plugins/web/renderer.py: New: contains |
95 |
|
|
the HTML renderer now. |
96 |
|
|
|
97 |
|
|
* tools/formed/test-data/simple.xml: Fixed typo |
98 |
|
|
|
99 |
|
|
2007-08-09 Sascha L. Teichmann <[email protected]> |
100 |
|
|
|
101 |
teichmann |
21 |
* tools/formed/formed/plugins/web/plugin.py: Fixed a bug |
102 |
|
|
in calculation of width of bounded int fields. |
103 |
|
|
|
104 |
|
|
2007-08-09 Sascha L. Teichmann <[email protected]> |
105 |
|
|
|
106 |
teichmann |
20 |
* tools/formed/test-data/simple.xml: Make demo Int fancier. |
107 |
|
|
|
108 |
|
|
* tools/formed/formed/model/data.py: Added attributes to IntLeaf |
109 |
|
|
|
110 |
|
|
* tools/formed/formed/plugins/web/plugin.py: Added rendering for |
111 |
|
|
Ints |
112 |
|
|
|
113 |
|
|
2007-08-09 Sascha L. Teichmann <[email protected]> |
114 |
|
|
|
115 |
teichmann |
19 |
* tools/formed/test-data/simple.xml: Added demo textarea |
116 |
|
|
|
117 |
|
|
* tools/formed/formed/model/data.py: Added TextAreaLeaf |
118 |
|
|
|
119 |
|
|
* tools/formed/formed/io/document.py: register builder |
120 |
|
|
for loading of textareas |
121 |
|
|
|
122 |
|
|
* tools/formed/formed/plugins/web/plugin.py: Added rendering |
123 |
|
|
for textareas. |
124 |
|
|
|
125 |
|
|
2007-08-09 Sascha L. Teichmann <[email protected]> |
126 |
|
|
|
127 |
teichmann |
18 |
* tools/formed/test-data/simple.xml: Make demo choice fancier. |
128 |
teichmann |
17 |
|
129 |
teichmann |
18 |
* tools/formed/formed/model/data.py: Added attributes for texts |
130 |
|
|
|
131 |
|
|
* tools/formed/formed/plugins/web/plugin.py: Added rendering |
132 |
|
|
for texts |
133 |
teichmann |
17 |
|
134 |
teichmann |
18 |
2007-08-09 Sascha L. Teichmann <[email protected]> |
135 |
|
|
|
136 |
|
|
* tools/formed/test-data/simple.xml: Make demo choice fancier. |
137 |
|
|
|
138 |
|
|
* tools/formed/formed/model/data.py: Added attributes for choices. |
139 |
|
|
|
140 |
teichmann |
17 |
* tools/formed/formed/plugins/web/plugin.py: Added rendering |
141 |
|
|
for choices |
142 |
|
|
|
143 |
|
|
2007-08-09 Sascha L. Teichmann <[email protected]> |
144 |
|
|
|
145 |
teichmann |
16 |
* tools/formed/formed/model/data.py, |
146 |
|
|
tools/formed/formed/model/nodecomponents.py: Added new |
147 |
|
|
attributes. |
148 |
|
|
|
149 |
|
|
* tools/formed/formed/plugins/web/plugin.py: Added rendering |
150 |
|
|
for checkboxes and radio buttons. |
151 |
|
|
|
152 |
|
|
2007-08-08 Sascha L. Teichmann <[email protected]> |
153 |
|
|
|
154 |
teichmann |
15 |
* tools/formed/test-data/simple.xml: Added some descriptions |
155 |
|
|
|
156 |
|
|
* tools/formed/formed/model/data.py: set attributes in constructors |
157 |
|
|
directly. |
158 |
|
|
|
159 |
|
|
* tools/formed/formed/model/nodecomponents.py: Added description |
160 |
|
|
attribute in the NodeComponent base class. |
161 |
|
|
|
162 |
|
|
* tools/formed/formed/plugins/web/plugin.py: Render description |
163 |
|
|
as legend in fieldset for GroupNodes. |
164 |
|
|
|
165 |
|
|
2007-08-08 Sascha L. Teichmann <[email protected]> |
166 |
|
|
|
167 |
teichmann |
14 |
* tools/formed/formed/plugins/web/plugin.py: make UTF-8 |
168 |
|
|
output work. |
169 |
|
|
|
170 |
|
|
2007-08-08 Sascha L. Teichmann <[email protected]> |
171 |
|
|
|
172 |
teichmann |
12 |
* tools/formed/formed/model/data.py: Added get/setText() method |
173 |
|
|
|
174 |
|
|
* tools/formed/formed/plugins/web/plugin.py: Added a first |
175 |
|
|
version of a recursive HTML renderer based on the document |
176 |
|
|
tree. |
177 |
|
|
|
178 |
|
|
2007-08-08 Sascha L. Teichmann <[email protected]> |
179 |
|
|
|
180 |
teichmann |
11 |
* tools/formed/formed/plugins/*: New: plug-in infrastructure. |
181 |
|
|
|
182 |
|
|
* tools/formed/formed/plugins/web/*: new: A simple web server |
183 |
|
|
which is intended to serve pages of the current formular. |
184 |
|
|
|
185 |
|
|
* tools/formed/formed/main.py: start the plug-ins |
186 |
|
|
|
187 |
|
|
* tools/formed/formed/config.py: configuration class. Used |
188 |
|
|
for the plug-ins. |
189 |
|
|
|
190 |
|
|
2007-08-08 Sascha L. Teichmann <[email protected]> |
191 |
|
|
|
192 |
teichmann |
10 |
* tools/formed/formed/model/nodecomponents.py: Fixed broadcasting |
193 |
|
|
issue with zero length tree paths. |
194 |
|
|
|
195 |
|
|
* tools/formed/formed/model/misc.py: New: contains a class |
196 |
|
|
for generating unique ids. |
197 |
|
|
|
198 |
|
|
* tools/formed/formed/main.py: Added an instance of an |
199 |
|
|
unique id generator for naming of new made tree items. |
200 |
|
|
|
201 |
teichmann |
7 |
2007-08-07 Sascha L. Teichmann <[email protected]> |
202 |
|
|
|
203 |
teichmann |
9 |
* tools/formed/formed/main.py: Added event route document -> |
204 |
|
|
attribute table to get informed when selected item is delete |
205 |
|
|
or an attribute is changed from the outside. |
206 |
|
|
|
207 |
|
|
* tools/formed/formed/ui/controls.py: Fixed. In older versions of |
208 |
|
|
wxPython 2.6.x ListCtrl.InsertStringItem takes 2 instead |
209 |
|
|
of 3 argument. Uses icons+tooltips for tree navigation now. |
210 |
|
|
|
211 |
|
|
2007-08-07 Sascha L. Teichmann <[email protected]> |
212 |
|
|
|
213 |
teichmann |
8 |
* tools/formed/formed/model/nodecomponents.py: Set name |
214 |
|
|
attribute in base class. |
215 |
|
|
|
216 |
|
|
* tools/formed/formed/io/document.py: Added a table |
217 |
|
|
names -> classes. |
218 |
|
|
|
219 |
|
|
* tools/formed/formed/main.py: Added a toolbar. Added code |
220 |
|
|
to create and delete tree items. |
221 |
|
|
|
222 |
|
|
* tools/formed/formed/ui/controls.py: Added code to |
223 |
|
|
insert and delete new tree items. |
224 |
|
|
|
225 |
|
|
2007-08-07 Sascha L. Teichmann <[email protected]> |
226 |
|
|
|
227 |
teichmann |
7 |
* tools/formed/formed/model/nodecomponents.py: Fixed event |
228 |
|
|
broadcasting for attribute changes. |
229 |
|
|
|
230 |
|
|
* tools/formed/formed/ui/controls.py: Add a list/table control to |
231 |
|
|
edit the attributes of a selected item. |
232 |
|
|
|
233 |
|
|
* tools/formed/formed/main.py: Added code to bind the new |
234 |
|
|
list/table control. |
235 |
|
|
|
236 |
teichmann |
4 |
2007-08-06 Sascha L. Teichmann <[email protected]> |
237 |
|
|
|
238 |
teichmann |
6 |
* tools/formed/formed/main.py: Added event routes to move |
239 |
|
|
items in and out of groups. |
240 |
|
|
|
241 |
|
|
* tools/formed/formed/ui/controls.py: Added code to move |
242 |
|
|
items in and out of groups. |
243 |
|
|
|
244 |
|
|
2007-08-06 Sascha L. Teichmann <[email protected]> |
245 |
|
|
|
246 |
teichmann |
5 |
* tools/formed/formed/model/nodecomponents.py: Fixed path |
247 |
|
|
calculation to root and event broadcasting |
248 |
|
|
|
249 |
|
|
* tools/formed/formed/io/factories.py: Adjust to new |
250 |
|
|
event broadcasting. |
251 |
|
|
|
252 |
|
|
* tools/formed/formed/main.py: Added code to move items |
253 |
|
|
up and down the document tree. |
254 |
|
|
|
255 |
|
|
* tools/formed/formed/ui/controls.py: Establish sort order |
256 |
|
|
by indices of children in parent instead of alphanum. |
257 |
|
|
Code to move items up and down the document tree. |
258 |
|
|
|
259 |
|
|
* tools/formed/formed/io/document.py: Added missing imports. |
260 |
|
|
|
261 |
|
|
2007-08-06 Sascha L. Teichmann <[email protected]> |
262 |
|
|
|
263 |
teichmann |
4 |
* tools/formed/formed.py: Added to avoid problems with |
264 |
|
|
ambiguous absolute module names. Thanks to Bernhard Herzog |
265 |
|
|
|
266 |
|
|
* tools/formed/formed.sh: Starts formed.py now |
267 |
|
|
|
268 |
|
|
* tools/formed/formed/main.py, |
269 |
|
|
tools/formed/formed/ui/controls.py: Added control to |
270 |
|
|
move items around in tree. Has no effect by now. |
271 |
|
|
|
272 |
teichmann |
2 |
2007-08-05 Sascha L. Teichmann <[email protected]> |
273 |
|
|
|
274 |
teichmann |
3 |
* tools/formed/formed/io/parser.py: Adjusted style |
275 |
|
|
|
276 |
|
|
* tools/formed/formed/io/document.py, |
277 |
teichmann |
4 |
tools/formed/formed/io/factories.py: Simplified factory |
278 |
|
|
model for XML loading. |
279 |
teichmann |
3 |
|
280 |
|
|
2007-08-05 Sascha L. Teichmann <[email protected]> |
281 |
|
|
|
282 |
teichmann |
2 |
* ChangeLog: started ChangeLog |
283 |
|
|
|
284 |
|
|
* tools/formed/*: initial check-in of the Formular Editor. |
285 |
|
|
Not working yet. Only can load, view and store formular XML files. |
286 |
|
|
Start it with 'tools/formed/formed.sh'. |