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