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]> |
2007-08-09 Sascha L. Teichmann <[email protected]> |
164 |
|
|
165 |
* tools/formed/test-data/simple.xml: Make demo choice fancier. |
* tools/formed/test-data/simple.xml: Make demo choice fancier. |