1 |
|
2007-08-17 Torsten Irlaender <[email protected]> |
2 |
|
|
3 |
|
* tools/formed/model/nodecomponents.py: Added function to rename |
4 |
|
the set the name of the node to the formularname. The formularname |
5 |
|
gets shorten to <=64 by removing vowels and is stored lowercase. |
6 |
|
If the name is not unique and additional id value is appended. |
7 |
|
|
8 |
|
* tools/formed/formed/model/data.py: Overwritten renaming-function for |
9 |
|
bool-leafs |
10 |
|
|
11 |
|
* tools/formed/formed/main.py: Added menuitem for renaming the names |
12 |
|
of the element |
13 |
|
|
14 |
|
2007-08-16 Sascha L. Teichmann <[email protected]> |
15 |
|
|
16 |
|
* tools/formed/formed/main.py: Swaped order of |
17 |
|
'Make names unique' and 'Selected mode...' in Extra |
18 |
|
menu and put a separator between them. |
19 |
|
|
20 |
|
2007-08-15 Sascha L. Teichmann <[email protected]> |
21 |
|
|
22 |
|
* tools/formed/formed/model/data.py: SwitchNodes can add |
23 |
|
their modes to a given set now. |
24 |
|
|
25 |
|
* tools/formed/formed/plugins/plugin.py: Simplified |
26 |
|
the plug-in interface. Only the reference to the |
27 |
|
global configuration is passed at setup time. |
28 |
|
|
29 |
|
* tools/formed/formed/plugins/web/plugin.py: Adjusted |
30 |
|
to new plug-in setup. The traveral mode is now taken |
31 |
|
from the global configuration each time a rendering |
32 |
|
is triggered. The FORMED parameter is now named |
33 |
|
'doc.mode' instead of 'web.mode'. The parameter |
34 |
|
is not needed any more because it can be configured |
35 |
|
at runtime. |
36 |
|
|
37 |
|
* tools/formed/formed/main.py: Adjusted to new plugin |
38 |
|
setup. Added a new menu item Extra->Select Mode... |
39 |
|
to select the traversal mode. It is stored in the |
40 |
|
global config. |
41 |
|
|
42 |
|
* tools/formed/formed/config.py: Simplified. Only uses |
43 |
|
one env dictionary to store global configuration parameters. |
44 |
|
|
45 |
|
* tools/formed/formed/ui/controls.py: Add a control to |
46 |
|
select one item from a list of given strings. |
47 |
|
|
48 |
|
2007-08-15 Sascha L. Teichmann <[email protected]> |
49 |
|
|
50 |
|
* tools/formed/formed/plugins/web/plugin.py, |
51 |
|
tools/formed/formed/plugins/web/renderer.py: Added parameter |
52 |
|
print out in web plugin. |
53 |
|
|
54 |
|
2007-08-15 Torsten Irlaender <[email protected]> |
55 |
|
|
56 |
|
* contrib/convert-formedtree2csv.xsl: Added small script for |
57 |
|
exporting the formed tree to csv |
58 |
|
|
59 |
|
2007-08-14 Sascha L. Teichmann <[email protected]> |
60 |
|
|
61 |
|
* tools/formed/formed/model/data.py, |
62 |
|
tools/formed/formed/model/nodecomponents.py, |
63 |
|
tools/formed/formed/io/document.py: Added a 'switch' node. |
64 |
|
|
65 |
|
* tools/formed/formed/plugins/web/renderer.py:Render the |
66 |
|
new 'switch' node. |
67 |
|
|
68 |
|
* tools/formed/formed/plugins/web/plugin.py, |
69 |
|
tools/formed/formed/config.py: Added a 'web.mode' parameter |
70 |
|
to FORMED environment variable. |
71 |
|
e.g. 'FORMED=web.mode:modeX' sets the mode 'modeX'. |
72 |
|
Defaults to 'default'. |
73 |
|
|
74 |
|
* tools/formed/test-data/simple.xml: Added test for switch. |
75 |
|
|
76 |
2007-08-14 Sascha L. Teichmann <[email protected]> |
2007-08-14 Sascha L. Teichmann <[email protected]> |
77 |
|
|
78 |
* tools/formed/formed/model/nodecomponents.py: Added an |
* tools/formed/formed/model/nodecomponents.py: Added an |