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