1 |
|
2007-08-13 Sascha L. Teichmann <[email protected]> |
2 |
|
|
3 |
|
* tools/formed/formed/main.py: Fixed typo |
4 |
|
|
5 |
|
2007-08-13 Sascha L. Teichmann <[email protected]> |
6 |
|
|
7 |
|
* contrib/extract-xfa-items.sh: New. Can be used to extract longer |
8 |
|
choice item lists for a given field from XFA files. e.g. with |
9 |
|
'./contrib/extract-xfa-items.sh Muttersprache alles.xml' |
10 |
|
|
11 |
|
2007-08-12 Sascha L. Teichmann <[email protected]> |
12 |
|
|
13 |
|
* tools/formed/formed/model/data.py, |
14 |
|
tools/formed/formed/plugins/web/renderer.py, |
15 |
|
tools/formed/formed/io/document.py: Changed the structure |
16 |
|
of choice constructs. The idea to hold the different items |
17 |
|
of a particular choice in a semicolon separated list was bad. |
18 |
|
Now choices are groups and the option items are modelled as |
19 |
|
embedded bools. (mainly Torsten Irländer's idea). |
20 |
|
|
21 |
|
WARNING: this makes old document files containing choices incompatible!!! |
22 |
|
Use the following XSLT to reestablish compatibility. |
23 |
|
|
24 |
|
* contrib/itemize-choices.xsl: New converts old to new structure. |
25 |
|
Needs exslt.org's string extensions (which xsltproc includes) |
26 |
|
|
27 |
|
* tools/formed/test-data/simple.xml: Ajusted to new structure |
28 |
|
|
29 |
|
* tools/formed/formed/plugins/web/plugin.py: remove debug output |
30 |
|
|
31 |
|
* tools/formed/formed/model/nodecomponents.py: fixed a small bug in |
32 |
|
node finding code. It now uses the walk() generator, too. |
33 |
|
|
34 |
|
2007-08-12 Sascha L. Teichmann <[email protected]> |
35 |
|
|
36 |
|
* tools/formed/formed/main.py: Added a clone item on the toolbar which |
37 |
|
copies the currently selected item and appends it after the selection. |
38 |
|
|
39 |
|
* tools/formed/formed/model/nodecomponents.py: Added code to clone parts |
40 |
|
of the tree. |
41 |
|
|
42 |
|
* tools/formed/formed/ui/controls.py: Added a getSelected method. |
43 |
|
|
44 |
|
* tools/formed/formed/model/misc.py: Fixed a programming bug. |
45 |
|
forgot a 'self.' prefix. |
46 |
|
|
47 |
|
2007-08-12 Sascha L. Teichmann <[email protected]> |
48 |
|
|
49 |
|
* tools/formed/formed/model/nodecomponents.py: Added a method to append |
50 |
|
a second document to the current. |
51 |
|
|
52 |
|
* tools/formed/formed/main.py: Added an 'Import' file menu item to load |
53 |
|
a second document to be appended to the current. |
54 |
|
|
55 |
|
2007-08-12 Sascha L. Teichmann <[email protected]> |
56 |
|
|
57 |
|
* tools/formed/formed/main.py: Added a 'New' item in file menu which creates |
58 |
|
a new document when triggered. |
59 |
|
|
60 |
|
2007-08-12 Sascha L. Teichmann <[email protected]> |
61 |
|
|
62 |
|
* tools/formed/formed/model/nodecomponents.py: Added walk generator over all |
63 |
|
items in the document tree. Added a method to eliminated duplicated names |
64 |
|
in document tree. |
65 |
|
|
66 |
|
* tools/formed/formed/model/misc.py: Added update mechanism for id generator |
67 |
|
after names collisions are eliminated. |
68 |
|
|
69 |
|
* tools/formed/formed/main.py: Added an 'Extra' menu with item |
70 |
|
'Make names unique'. |
71 |
|
|
72 |
|
2007-08-11 Sascha L. Teichmann <[email protected]> |
73 |
|
|
74 |
|
* tools/formed/formed/model/data.py, |
75 |
|
tools/formed/formed/plugins/web/renderer.py: Removed support |
76 |
|
for 'text' attributes in bool items. They were never really |
77 |
|
used and the 'description' attributes fulfill the same |
78 |
|
purpose. |
79 |
|
|
80 |
|
* contrib/remove-bool-text.xsl: Transform to remove the |
81 |
|
'text' attributes from bool items. Apply with: |
82 |
|
'xsltproc contrib/remove-bool-text.xsl old.xml > new.xml' |
83 |
|
|
84 |
|
* tools/formed/test-data/simple.xml: Removed 'text' attributes |
85 |
|
from bool items. |
86 |
|
|
87 |
|
2007-08-11 Sascha L. Teichmann <[email protected]> |
88 |
|
|
89 |
|
* contrib/convert-choices.xsl: Simpified. |
90 |
|
|
91 |
|
2007-08-11 Sascha L. Teichmann <[email protected]> |
92 |
|
|
93 |
|
* tools/formed/formed/model/data.py: Removed 'options' attribute |
94 |
|
from ChoiceLeaf. Use 'value' instead, please! |
95 |
|
|
96 |
|
* tools/formed/formed/plugins/web/renderer.py: use 'value' attribute |
97 |
|
instead of 'options' to render choices. |
98 |
|
|
99 |
|
* contrib/convert-choices.xsl: Added to convert document files |
100 |
|
which use the choice 'option' attribute to usage of 'value'. |
101 |
|
Apply with e.g. 'xsltproc convert-choices.xsl old.xml > new.xml' |
102 |
|
|
103 |
|
2007-08-10 Sascha L. Teichmann <[email protected]> |
104 |
|
|
105 |
|
* tools/formed/formed/plugins/web/renderer.py: radio buttons |
106 |
|
are selected by 'checked' and not by 'selected'. Fixed. |
107 |
|
|
108 |
2007-08-10 Sascha L. Teichmann <[email protected]> |
2007-08-10 Sascha L. Teichmann <[email protected]> |
109 |
|
|
110 |
* tools/formed/formed/model/data.py: ChoiceLeafs are now |
* tools/formed/formed/model/data.py: ChoiceLeafs are now |