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