1 |
|
2007-08-21 Torsten Irlaender <[email protected]> |
2 |
|
|
3 |
|
* tools/formed/formed/plugins/names/filter.py: Fixed file-encoding to |
4 |
|
latin-1 |
5 |
|
|
6 |
|
2007-08-21 Sascha L. Teichmann <[email protected]> |
7 |
|
|
8 |
|
* tools/formed/formed/model/data.py: Added mode parameter to |
9 |
|
walk. |
10 |
|
|
11 |
|
* tools/formed/formed/model/nodecomponents.py: SwitchNode overwrites |
12 |
|
walk() with usage of the new mode parameter. Added a method to |
13 |
|
give children in a given mode. |
14 |
|
|
15 |
|
* tools/formed/formed/plugins/web/renderer.py: Simplified to use |
16 |
|
new Switch.childrenInMode() method. |
17 |
|
|
18 |
|
2007-08-21 Sascha L. Teichmann <[email protected]> |
19 |
|
|
20 |
|
* tools/formed/formed/plugins/web/semantic.py: Add checks for |
21 |
|
texts and text areas. |
22 |
|
|
23 |
|
* tools/formed/formed/plugins/web/renderer.py: Set accept-charset |
24 |
|
to UTF-8 in generated form. |
25 |
|
|
26 |
|
2007-08-20 Sascha L. Teichmann <[email protected]> |
27 |
|
|
28 |
|
* tools/formed/formed/plugins/web/semantic.py: Added semantic |
29 |
|
tests for dates. |
30 |
|
|
31 |
|
2007-08-20 Sascha L. Teichmann <[email protected]> |
32 |
|
|
33 |
|
* tools/formed/test-data/simple.xml: Tweak a bit for integer |
34 |
|
range test. |
35 |
|
|
36 |
|
* tools/formed/formed/model/nodecomponents.py: Added a method |
37 |
|
to find a tree item for a given name. |
38 |
|
|
39 |
|
* tools/formed/formed/plugins/web/semantic.py: New: Box for |
40 |
|
semantic checking. Has check for integers. |
41 |
|
|
42 |
|
* tools/formed/formed/plugins/web/plugin.py: Use semantic |
43 |
|
check. |
44 |
|
|
45 |
|
2007-08-20 Torsten Irlaender <[email protected]> |
46 |
|
|
47 |
|
* tools/formed/formed/plugins/web/renderer.py: Fixed Syntax in |
48 |
|
selection-field generation (Removed quote) |
49 |
|
|
50 |
|
2007-08-18 Sascha L. Teichmann <[email protected]> |
51 |
|
|
52 |
|
* tools/formed/formed/plugins/web/plugin.py, |
53 |
|
tools/formed/formed/plugins/web/renderer.py: Added a |
54 |
|
simple cookie based session management to the HTML |
55 |
|
renderer. This submit parameters are stored in the |
56 |
|
session now. This will ease testing the constraint |
57 |
|
tests which need to be written soon. |
58 |
|
|
59 |
|
BEWARE: The session management is _not_ made for production! |
60 |
|
Denial of service attacks are too easy, and the |
61 |
|
cryptographical strength of the session id is doubtful. |
62 |
|
|
63 |
|
2007-08-18 Sascha L. Teichmann <[email protected]> |
64 |
|
|
65 |
|
* tools/formed/formed/plugins/web/renderer.py: Escaping text |
66 |
|
coming from the document tree now when inserting it into the |
67 |
|
HTML output. |
68 |
|
|
69 |
|
2007-08-18 Sascha L. Teichmann <[email protected]> |
70 |
|
|
71 |
|
* tools/formed/formed/plugins/plugin.py: Added a new kind |
72 |
|
of plug-in: Filter. They have a short and a long description |
73 |
|
and can be hooked automatically into the new 'Filters' |
74 |
|
sub menu under 'Extra'. They got called when the user |
75 |
|
selects their respective menu item. |
76 |
|
|
77 |
|
* tools/formed/formed/config.py: Contains the list of |
78 |
|
installed filters. |
79 |
|
|
80 |
|
* tools/formed/formed/main.py: Builds the Extra->Filters |
81 |
|
sub menu during gui initialization. The hard wired code |
82 |
|
for make unique and formular name/description -> name |
83 |
|
is removed because they are implemented as filters now. |
84 |
|
|
85 |
|
* tools/formed/formed/model/nodecomponents.py, |
86 |
|
tools/formed/formed/model/data.py: Removed the make |
87 |
|
unique and formular name/description -> name code. |
88 |
|
|
89 |
|
* tools/formed/formed/plugins/names, |
90 |
|
tools/formed/formed/plugins/names/__init__.py, |
91 |
|
tools/formed/formed/plugins/names/filter.py: Added. Contains |
92 |
|
the make unique and formular name/description -> name code |
93 |
|
in form of filters. |
94 |
|
|
95 |
|
* tools/formed/test-data/simple.xml: Modified to be a better |
96 |
|
test for the formular name/description -> name filter. |
97 |
|
|
98 |
|
2007-08-18 Sascha L. Teichmann <[email protected]> |
99 |
|
|
100 |
|
* tools/formed/formed.py, tools/formed/formed/main.py: First |
101 |
|
command line argument is interpreted as filename of document |
102 |
|
to be loaded at program startup. |
103 |
|
|
104 |
|
2007-08-17 Frank Koormann <[email protected]> |
105 |
|
|
106 |
|
* contrib/convert-formedtree2html.xsl: |
107 |
|
Heading level depending on depth of group node. |
108 |
|
In case of radio/choice/check only list of options. |
109 |
|
|
110 |
|
2007-08-17 Torsten Irlaender <[email protected]> |
111 |
|
|
112 |
|
* contrib/convert-formedtree2html.xsl: Output is now generated with |
113 |
|
HTML doc-string and charset information in the meta-header. |
114 |
|
|
115 |
|
2007-08-17 Torsten Irlaender <[email protected]> |
116 |
|
|
117 |
|
* contrib/convert-formedtree2html.xsl: Added small script for |
118 |
|
exporting the formed tree to html |
119 |
|
|
120 |
|
2007-08-17 Torsten Irlaender <[email protected]> |
121 |
|
|
122 |
|
* tools/formed/model/nodecomponents.py: Added function to rename |
123 |
|
the set the name of the node to the formularname. The formularname |
124 |
|
gets shorten to <=64 by removing vowels and is stored lowercase. |
125 |
|
If the name is not unique and additional id value is appended. |
126 |
|
|
127 |
|
* tools/formed/formed/model/data.py: Overwritten renaming-function for |
128 |
|
bool-leafs |
129 |
|
|
130 |
|
* tools/formed/formed/main.py: Added menuitem for renaming the names |
131 |
|
of the element |
132 |
|
|
133 |
|
2007-08-16 Sascha L. Teichmann <[email protected]> |
134 |
|
|
135 |
|
* tools/formed/formed/main.py: Swaped order of |
136 |
|
'Make names unique' and 'Selected mode...' in Extra |
137 |
|
menu and put a separator between them. |
138 |
|
|
139 |
|
2007-08-15 Sascha L. Teichmann <[email protected]> |
140 |
|
|
141 |
|
* tools/formed/formed/model/data.py: SwitchNodes can add |
142 |
|
their modes to a given set now. |
143 |
|
|
144 |
|
* tools/formed/formed/plugins/plugin.py: Simplified |
145 |
|
the plug-in interface. Only the reference to the |
146 |
|
global configuration is passed at setup time. |
147 |
|
|
148 |
|
* tools/formed/formed/plugins/web/plugin.py: Adjusted |
149 |
|
to new plug-in setup. The traveral mode is now taken |
150 |
|
from the global configuration each time a rendering |
151 |
|
is triggered. The FORMED parameter is now named |
152 |
|
'doc.mode' instead of 'web.mode'. The parameter |
153 |
|
is not needed any more because it can be configured |
154 |
|
at runtime. |
155 |
|
|
156 |
|
* tools/formed/formed/main.py: Adjusted to new plugin |
157 |
|
setup. Added a new menu item Extra->Select Mode... |
158 |
|
to select the traversal mode. It is stored in the |
159 |
|
global config. |
160 |
|
|
161 |
|
* tools/formed/formed/config.py: Simplified. Only uses |
162 |
|
one env dictionary to store global configuration parameters. |
163 |
|
|
164 |
|
* tools/formed/formed/ui/controls.py: Add a control to |
165 |
|
select one item from a list of given strings. |
166 |
|
|
167 |
|
2007-08-15 Sascha L. Teichmann <[email protected]> |
168 |
|
|
169 |
|
* tools/formed/formed/plugins/web/plugin.py, |
170 |
|
tools/formed/formed/plugins/web/renderer.py: Added parameter |
171 |
|
print out in web plugin. |
172 |
|
|
173 |
|
2007-08-15 Torsten Irlaender <[email protected]> |
174 |
|
|
175 |
|
* contrib/convert-formedtree2csv.xsl: Added small script for |
176 |
|
exporting the formed tree to csv |
177 |
|
|
178 |
|
2007-08-14 Sascha L. Teichmann <[email protected]> |
179 |
|
|
180 |
|
* tools/formed/formed/model/data.py, |
181 |
|
tools/formed/formed/model/nodecomponents.py, |
182 |
|
tools/formed/formed/io/document.py: Added a 'switch' node. |
183 |
|
|
184 |
|
* tools/formed/formed/plugins/web/renderer.py:Render the |
185 |
|
new 'switch' node. |
186 |
|
|
187 |
|
* tools/formed/formed/plugins/web/plugin.py, |
188 |
|
tools/formed/formed/config.py: Added a 'web.mode' parameter |
189 |
|
to FORMED environment variable. |
190 |
|
e.g. 'FORMED=web.mode:modeX' sets the mode 'modeX'. |
191 |
|
Defaults to 'default'. |
192 |
|
|
193 |
|
* tools/formed/test-data/simple.xml: Added test for switch. |
194 |
|
|
195 |
|
2007-08-14 Sascha L. Teichmann <[email protected]> |
196 |
|
|
197 |
|
* tools/formed/formed/model/nodecomponents.py: Added an |
198 |
|
attribute 'formularname' to base class of node components. |
199 |
|
|
200 |
|
2007-08-13 Sascha L. Teichmann <[email protected]> |
201 |
|
|
202 |
|
* tools/formed/formed/io/document.py, |
203 |
|
tools/formed/formed/model/data.py, |
204 |
|
tools/formed/formed/model/nodecomponents.py: Added an item |
205 |
|
to model external item lists. |
206 |
|
|
207 |
|
* tools/formed/formed/plugins/web/renderer.py: Render new item |
208 |
|
list. |
209 |
|
* tools/formed/formed/main.py: Added a forgotten 'self.' |
210 |
|
|
211 |
|
* contrib/extract-xfa-items.sh: Modified to generate |
212 |
|
documents to be loadable from new item lists |
213 |
|
|
214 |
|
2007-08-13 Sascha L. Teichmann <[email protected]> |
215 |
|
|
216 |
|
* tools/formed/formed/main.py: Fixed typo |
217 |
|
|
218 |
|
2007-08-13 Sascha L. Teichmann <[email protected]> |
219 |
|
|
220 |
|
* contrib/extract-xfa-items.sh: New. Can be used to extract longer |
221 |
|
choice item lists for a given field from XFA files. e.g. with |
222 |
|
'./contrib/extract-xfa-items.sh Muttersprache alles.xml' |
223 |
|
|
224 |
|
2007-08-12 Sascha L. Teichmann <[email protected]> |
225 |
|
|
226 |
|
* tools/formed/formed/model/data.py, |
227 |
|
tools/formed/formed/plugins/web/renderer.py, |
228 |
|
tools/formed/formed/io/document.py: Changed the structure |
229 |
|
of choice constructs. The idea to hold the different items |
230 |
|
of a particular choice in a semicolon separated list was bad. |
231 |
|
Now choices are groups and the option items are modelled as |
232 |
|
embedded bools. (mainly Torsten Irländer's idea). |
233 |
|
|
234 |
|
WARNING: this makes old document files containing choices incompatible!!! |
235 |
|
Use the following XSLT to reestablish compatibility. |
236 |
|
|
237 |
|
* contrib/itemize-choices.xsl: New converts old to new structure. |
238 |
|
Needs exslt.org's string extensions (which xsltproc includes) |
239 |
|
|
240 |
|
* tools/formed/test-data/simple.xml: Ajusted to new structure |
241 |
|
|
242 |
|
* tools/formed/formed/plugins/web/plugin.py: remove debug output |
243 |
|
|
244 |
|
* tools/formed/formed/model/nodecomponents.py: fixed a small bug in |
245 |
|
node finding code. It now uses the walk() generator, too. |
246 |
|
|
247 |
|
2007-08-12 Sascha L. Teichmann <[email protected]> |
248 |
|
|
249 |
|
* tools/formed/formed/main.py: Added a clone item on the toolbar which |
250 |
|
copies the currently selected item and appends it after the selection. |
251 |
|
|
252 |
|
* tools/formed/formed/model/nodecomponents.py: Added code to clone parts |
253 |
|
of the tree. |
254 |
|
|
255 |
|
* tools/formed/formed/ui/controls.py: Added a getSelected method. |
256 |
|
|
257 |
|
* tools/formed/formed/model/misc.py: Fixed a programming bug. |
258 |
|
forgot a 'self.' prefix. |
259 |
|
|
260 |
|
2007-08-12 Sascha L. Teichmann <[email protected]> |
261 |
|
|
262 |
|
* tools/formed/formed/model/nodecomponents.py: Added a method to append |
263 |
|
a second document to the current. |
264 |
|
|
265 |
|
* tools/formed/formed/main.py: Added an 'Import' file menu item to load |
266 |
|
a second document to be appended to the current. |
267 |
|
|
268 |
|
2007-08-12 Sascha L. Teichmann <[email protected]> |
269 |
|
|
270 |
|
* tools/formed/formed/main.py: Added a 'New' item in file menu which creates |
271 |
|
a new document when triggered. |
272 |
|
|
273 |
|
2007-08-12 Sascha L. Teichmann <[email protected]> |
274 |
|
|
275 |
|
* tools/formed/formed/model/nodecomponents.py: Added walk generator over all |
276 |
|
items in the document tree. Added a method to eliminated duplicated names |
277 |
|
in document tree. |
278 |
|
|
279 |
|
* tools/formed/formed/model/misc.py: Added update mechanism for id generator |
280 |
|
after names collisions are eliminated. |
281 |
|
|
282 |
|
* tools/formed/formed/main.py: Added an 'Extra' menu with item |
283 |
|
'Make names unique'. |
284 |
|
|
285 |
|
2007-08-11 Sascha L. Teichmann <[email protected]> |
286 |
|
|
287 |
|
* tools/formed/formed/model/data.py, |
288 |
|
tools/formed/formed/plugins/web/renderer.py: Removed support |
289 |
|
for 'text' attributes in bool items. They were never really |
290 |
|
used and the 'description' attributes fulfill the same |
291 |
|
purpose. |
292 |
|
|
293 |
|
* contrib/remove-bool-text.xsl: Transform to remove the |
294 |
|
'text' attributes from bool items. Apply with: |
295 |
|
'xsltproc contrib/remove-bool-text.xsl old.xml > new.xml' |
296 |
|
|
297 |
|
* tools/formed/test-data/simple.xml: Removed 'text' attributes |
298 |
|
from bool items. |
299 |
|
|
300 |
|
2007-08-11 Sascha L. Teichmann <[email protected]> |
301 |
|
|
302 |
|
* contrib/convert-choices.xsl: Simpified. |
303 |
|
|
304 |
|
2007-08-11 Sascha L. Teichmann <[email protected]> |
305 |
|
|
306 |
|
* tools/formed/formed/model/data.py: Removed 'options' attribute |
307 |
|
from ChoiceLeaf. Use 'value' instead, please! |
308 |
|
|
309 |
|
* tools/formed/formed/plugins/web/renderer.py: use 'value' attribute |
310 |
|
instead of 'options' to render choices. |
311 |
|
|
312 |
|
* contrib/convert-choices.xsl: Added to convert document files |
313 |
|
which use the choice 'option' attribute to usage of 'value'. |
314 |
|
Apply with e.g. 'xsltproc convert-choices.xsl old.xml > new.xml' |
315 |
|
|
316 |
|
2007-08-10 Sascha L. Teichmann <[email protected]> |
317 |
|
|
318 |
|
* tools/formed/formed/plugins/web/renderer.py: radio buttons |
319 |
|
are selected by 'checked' and not by 'selected'. Fixed. |
320 |
|
|
321 |
|
2007-08-10 Sascha L. Teichmann <[email protected]> |
322 |
|
|
323 |
|
* tools/formed/formed/model/data.py: ChoiceLeafs are now |
324 |
|
initialized with size = 1. |
325 |
|
|
326 |
|
2007-08-10 Sascha L. Teichmann <[email protected]> |
327 |
|
|
328 |
|
* tools/formed/formed/model/data.py: TextLeafs are now |
329 |
|
initialized with size = 40, maxlength = 60 |
330 |
|
|
331 |
|
2007-08-10 Sascha L. Teichmann <[email protected]> |
332 |
|
|
333 |
|
* tools/formed/formed/plugins/web/renderer.py: Fixed: choices |
334 |
|
are renderered with description now. |
335 |
|
|
336 |
|
2007-08-10 Sascha L. Teichmann <[email protected]> |
337 |
|
|
338 |
|
* tools/formed/formed/plugins/web/renderer.py: Added rendering |
339 |
|
for date items. Added missing ids for texts and textareas. |
340 |
|
|
341 |
|
2007-08-10 Sascha L. Teichmann <[email protected]> |
342 |
|
|
343 |
|
* tools/formed/formed/config.py: Evaluate the environment |
344 |
|
variable 'FORMED'. Snytax: FORMED='key1:value1;key2:value2' |
345 |
|
|
346 |
|
* tools/formed/formed/plugins/plugin.py: Give a reference |
347 |
|
to the config at setup time. |
348 |
|
|
349 |
|
* tools/formed/formed/plugins/web/plugin.py: To determine |
350 |
|
the port look at FORMED dictionary first. Key is 'web.port'. |
351 |
|
e.g. FORMED='web.port:8888' |
352 |
|
|
353 |
|
* tools/formed/formed/main.py: Call the plugin setup with |
354 |
|
the reference to the config. |
355 |
|
|
356 |
|
2007-08-10 Sascha L. Teichmann <[email protected]> |
357 |
|
|
358 |
|
* tools/formed/test-data/simple.xml: removed 'text' attributes from |
359 |
|
info tags. Use the 'value' attributes for same purpose now, please! |
360 |
|
|
361 |
|
* tools/formed/formed/model/data.py: removed text attributes from |
362 |
|
InfoLeaf. |
363 |
|
|
364 |
|
* tools/formed/formed/plugins/web/renderer.py: Rendering of info |
365 |
|
now uses the 'value' instead of the 'text' attributes. |
366 |
|
|
367 |
|
2007-08-09 Sascha L. Teichmann <[email protected]> |
368 |
|
|
369 |
|
* tools/formed/formed/model/data.py: next/prevPage() are |
370 |
|
methods of PageNode now. |
371 |
|
|
372 |
|
* tools/formed/formed/model/nodecomponents.py: findByClassAndName() |
373 |
|
is method of Document now. |
374 |
|
|
375 |
|
* tools/formed/formed/plugins/web/plugin.py: Factored out |
376 |
|
the HTML renderer. |
377 |
|
|
378 |
|
* tools/formed/formed/plugins/web/renderer.py: New: contains |
379 |
|
the HTML renderer now. |
380 |
|
|
381 |
|
* tools/formed/test-data/simple.xml: Fixed typo |
382 |
|
|
383 |
|
2007-08-09 Sascha L. Teichmann <[email protected]> |
384 |
|
|
385 |
|
* tools/formed/formed/plugins/web/plugin.py: Fixed a bug |
386 |
|
in calculation of width of bounded int fields. |
387 |
|
|
388 |
|
2007-08-09 Sascha L. Teichmann <[email protected]> |
389 |
|
|
390 |
|
* tools/formed/test-data/simple.xml: Make demo Int fancier. |
391 |
|
|
392 |
|
* tools/formed/formed/model/data.py: Added attributes to IntLeaf |
393 |
|
|
394 |
|
* tools/formed/formed/plugins/web/plugin.py: Added rendering for |
395 |
|
Ints |
396 |
|
|
397 |
|
2007-08-09 Sascha L. Teichmann <[email protected]> |
398 |
|
|
399 |
|
* tools/formed/test-data/simple.xml: Added demo textarea |
400 |
|
|
401 |
|
* tools/formed/formed/model/data.py: Added TextAreaLeaf |
402 |
|
|
403 |
|
* tools/formed/formed/io/document.py: register builder |
404 |
|
for loading of textareas |
405 |
|
|
406 |
|
* tools/formed/formed/plugins/web/plugin.py: Added rendering |
407 |
|
for textareas. |
408 |
|
|
409 |
|
2007-08-09 Sascha L. Teichmann <[email protected]> |
410 |
|
|
411 |
|
* tools/formed/test-data/simple.xml: Make demo choice fancier. |
412 |
|
|
413 |
|
* tools/formed/formed/model/data.py: Added attributes for texts |
414 |
|
|
415 |
|
* tools/formed/formed/plugins/web/plugin.py: Added rendering |
416 |
|
for texts |
417 |
|
|
418 |
|
2007-08-09 Sascha L. Teichmann <[email protected]> |
419 |
|
|
420 |
|
* tools/formed/test-data/simple.xml: Make demo choice fancier. |
421 |
|
|
422 |
|
* tools/formed/formed/model/data.py: Added attributes for choices. |
423 |
|
|
424 |
|
* tools/formed/formed/plugins/web/plugin.py: Added rendering |
425 |
|
for choices |
426 |
|
|
427 |
|
2007-08-09 Sascha L. Teichmann <[email protected]> |
428 |
|
|
429 |
|
* tools/formed/formed/model/data.py, |
430 |
|
tools/formed/formed/model/nodecomponents.py: Added new |
431 |
|
attributes. |
432 |
|
|
433 |
|
* tools/formed/formed/plugins/web/plugin.py: Added rendering |
434 |
|
for checkboxes and radio buttons. |
435 |
|
|
436 |
|
2007-08-08 Sascha L. Teichmann <[email protected]> |
437 |
|
|
438 |
|
* tools/formed/test-data/simple.xml: Added some descriptions |
439 |
|
|
440 |
|
* tools/formed/formed/model/data.py: set attributes in constructors |
441 |
|
directly. |
442 |
|
|
443 |
|
* tools/formed/formed/model/nodecomponents.py: Added description |
444 |
|
attribute in the NodeComponent base class. |
445 |
|
|
446 |
|
* tools/formed/formed/plugins/web/plugin.py: Render description |
447 |
|
as legend in fieldset for GroupNodes. |
448 |
|
|
449 |
|
2007-08-08 Sascha L. Teichmann <[email protected]> |
450 |
|
|
451 |
|
* tools/formed/formed/plugins/web/plugin.py: make UTF-8 |
452 |
|
output work. |
453 |
|
|
454 |
|
2007-08-08 Sascha L. Teichmann <[email protected]> |
455 |
|
|
456 |
|
* tools/formed/formed/model/data.py: Added get/setText() method |
457 |
|
|
458 |
|
* tools/formed/formed/plugins/web/plugin.py: Added a first |
459 |
|
version of a recursive HTML renderer based on the document |
460 |
|
tree. |
461 |
|
|
462 |
|
2007-08-08 Sascha L. Teichmann <[email protected]> |
463 |
|
|
464 |
|
* tools/formed/formed/plugins/*: New: plug-in infrastructure. |
465 |
|
|
466 |
|
* tools/formed/formed/plugins/web/*: new: A simple web server |
467 |
|
which is intended to serve pages of the current formular. |
468 |
|
|
469 |
|
* tools/formed/formed/main.py: start the plug-ins |
470 |
|
|
471 |
|
* tools/formed/formed/config.py: configuration class. Used |
472 |
|
for the plug-ins. |
473 |
|
|
474 |
|
2007-08-08 Sascha L. Teichmann <[email protected]> |
475 |
|
|
476 |
|
* tools/formed/formed/model/nodecomponents.py: Fixed broadcasting |
477 |
|
issue with zero length tree paths. |
478 |
|
|
479 |
|
* tools/formed/formed/model/misc.py: New: contains a class |
480 |
|
for generating unique ids. |
481 |
|
|
482 |
|
* tools/formed/formed/main.py: Added an instance of an |
483 |
|
unique id generator for naming of new made tree items. |
484 |
|
|
485 |
|
2007-08-07 Sascha L. Teichmann <[email protected]> |
486 |
|
|
487 |
|
* tools/formed/formed/main.py: Added event route document -> |
488 |
|
attribute table to get informed when selected item is delete |
489 |
|
or an attribute is changed from the outside. |
490 |
|
|
491 |
|
* tools/formed/formed/ui/controls.py: Fixed. In older versions of |
492 |
|
wxPython 2.6.x ListCtrl.InsertStringItem takes 2 instead |
493 |
|
of 3 argument. Uses icons+tooltips for tree navigation now. |
494 |
|
|
495 |
|
2007-08-07 Sascha L. Teichmann <[email protected]> |
496 |
|
|
497 |
|
* tools/formed/formed/model/nodecomponents.py: Set name |
498 |
|
attribute in base class. |
499 |
|
|
500 |
|
* tools/formed/formed/io/document.py: Added a table |
501 |
|
names -> classes. |
502 |
|
|
503 |
|
* tools/formed/formed/main.py: Added a toolbar. Added code |
504 |
|
to create and delete tree items. |
505 |
|
|
506 |
|
* tools/formed/formed/ui/controls.py: Added code to |
507 |
|
insert and delete new tree items. |
508 |
|
|
509 |
|
2007-08-07 Sascha L. Teichmann <[email protected]> |
510 |
|
|
511 |
|
* tools/formed/formed/model/nodecomponents.py: Fixed event |
512 |
|
broadcasting for attribute changes. |
513 |
|
|
514 |
|
* tools/formed/formed/ui/controls.py: Add a list/table control to |
515 |
|
edit the attributes of a selected item. |
516 |
|
|
517 |
|
* tools/formed/formed/main.py: Added code to bind the new |
518 |
|
list/table control. |
519 |
|
|
520 |
|
2007-08-06 Sascha L. Teichmann <[email protected]> |
521 |
|
|
522 |
|
* tools/formed/formed/main.py: Added event routes to move |
523 |
|
items in and out of groups. |
524 |
|
|
525 |
|
* tools/formed/formed/ui/controls.py: Added code to move |
526 |
|
items in and out of groups. |
527 |
|
|
528 |
|
2007-08-06 Sascha L. Teichmann <[email protected]> |
529 |
|
|
530 |
|
* tools/formed/formed/model/nodecomponents.py: Fixed path |
531 |
|
calculation to root and event broadcasting |
532 |
|
|
533 |
|
* tools/formed/formed/io/factories.py: Adjust to new |
534 |
|
event broadcasting. |
535 |
|
|
536 |
|
* tools/formed/formed/main.py: Added code to move items |
537 |
|
up and down the document tree. |
538 |
|
|
539 |
|
* tools/formed/formed/ui/controls.py: Establish sort order |
540 |
|
by indices of children in parent instead of alphanum. |
541 |
|
Code to move items up and down the document tree. |
542 |
|
|
543 |
|
* tools/formed/formed/io/document.py: Added missing imports. |
544 |
|
|
545 |
|
2007-08-06 Sascha L. Teichmann <[email protected]> |
546 |
|
|
547 |
|
* tools/formed/formed.py: Added to avoid problems with |
548 |
|
ambiguous absolute module names. Thanks to Bernhard Herzog |
549 |
|
|
550 |
|
* tools/formed/formed.sh: Starts formed.py now |
551 |
|
|
552 |
|
* tools/formed/formed/main.py, |
553 |
|
tools/formed/formed/ui/controls.py: Added control to |
554 |
|
move items around in tree. Has no effect by now. |
555 |
|
|
556 |
|
2007-08-05 Sascha L. Teichmann <[email protected]> |
557 |
|
|
558 |
|
* tools/formed/formed/io/parser.py: Adjusted style |
559 |
|
|
560 |
|
* tools/formed/formed/io/document.py, |
561 |
|
tools/formed/formed/io/factories.py: Simplified factory |
562 |
|
model for XML loading. |
563 |
|
|
564 |
2007-08-05 Sascha L. Teichmann <[email protected]> |
2007-08-05 Sascha L. Teichmann <[email protected]> |
565 |
|
|
566 |
* ChangeLog: started ChangeLog |
* ChangeLog: started ChangeLog |