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