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