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