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