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