1 |
|
2007-08-12 Sascha L. Teichmann <[email protected]> |
2 |
|
|
3 |
|
* tools/formed/formed/model/nodecomponents.py: Added a method to append |
4 |
|
a second document to the current. |
5 |
|
|
6 |
|
* tools/formed/formed/main.py: Added an 'Import' file menu item to load |
7 |
|
a second document to be appended to the current. |
8 |
|
|
9 |
|
2007-08-12 Sascha L. Teichmann <[email protected]> |
10 |
|
|
11 |
|
* tools/formed/formed/main.py: Added a 'New' item in file menu which creates |
12 |
|
a new document when triggered. |
13 |
|
|
14 |
|
2007-08-12 Sascha L. Teichmann <[email protected]> |
15 |
|
|
16 |
|
* tools/formed/formed/model/nodecomponents.py: Added walk generator over all |
17 |
|
items in the document tree. Added a method to eliminated duplicated names |
18 |
|
in document tree. |
19 |
|
|
20 |
|
* tools/formed/formed/model/misc.py: Added update mechanism for id generator |
21 |
|
after names collisions are eliminated. |
22 |
|
|
23 |
|
* tools/formed/formed/main.py: Added an 'Extra' menu with item |
24 |
|
'Make names unique'. |
25 |
|
|
26 |
|
2007-08-11 Sascha L. Teichmann <[email protected]> |
27 |
|
|
28 |
|
* tools/formed/formed/model/data.py, |
29 |
|
tools/formed/formed/plugins/web/renderer.py: Removed support |
30 |
|
for 'text' attributes in bool items. They were never really |
31 |
|
used and the 'description' attributes fulfill the same |
32 |
|
purpose. |
33 |
|
|
34 |
|
* contrib/remove-bool-text.xsl: Transform to remove the |
35 |
|
'text' attributes from bool items. Apply with: |
36 |
|
'xsltproc contrib/remove-bool-text.xsl old.xml > new.xml' |
37 |
|
|
38 |
|
* tools/formed/test-data/simple.xml: Removed 'text' attributes |
39 |
|
from bool items. |
40 |
|
|
41 |
|
2007-08-11 Sascha L. Teichmann <[email protected]> |
42 |
|
|
43 |
|
* contrib/convert-choices.xsl: Simpified. |
44 |
|
|
45 |
|
2007-08-11 Sascha L. Teichmann <[email protected]> |
46 |
|
|
47 |
|
* tools/formed/formed/model/data.py: Removed 'options' attribute |
48 |
|
from ChoiceLeaf. Use 'value' instead, please! |
49 |
|
|
50 |
|
* tools/formed/formed/plugins/web/renderer.py: use 'value' attribute |
51 |
|
instead of 'options' to render choices. |
52 |
|
|
53 |
|
* contrib/convert-choices.xsl: Added to convert document files |
54 |
|
which use the choice 'option' attribute to usage of 'value'. |
55 |
|
Apply with e.g. 'xsltproc convert-choices.xsl old.xml > new.xml' |
56 |
|
|
57 |
|
2007-08-10 Sascha L. Teichmann <[email protected]> |
58 |
|
|
59 |
|
* tools/formed/formed/plugins/web/renderer.py: radio buttons |
60 |
|
are selected by 'checked' and not by 'selected'. Fixed. |
61 |
|
|
62 |
|
2007-08-10 Sascha L. Teichmann <[email protected]> |
63 |
|
|
64 |
|
* tools/formed/formed/model/data.py: ChoiceLeafs are now |
65 |
|
initialized with size = 1. |
66 |
|
|
67 |
|
2007-08-10 Sascha L. Teichmann <[email protected]> |
68 |
|
|
69 |
|
* tools/formed/formed/model/data.py: TextLeafs are now |
70 |
|
initialized with size = 40, maxlength = 60 |
71 |
|
|
72 |
|
2007-08-10 Sascha L. Teichmann <[email protected]> |
73 |
|
|
74 |
|
* tools/formed/formed/plugins/web/renderer.py: Fixed: choices |
75 |
|
are renderered with description now. |
76 |
|
|
77 |
|
2007-08-10 Sascha L. Teichmann <[email protected]> |
78 |
|
|
79 |
|
* tools/formed/formed/plugins/web/renderer.py: Added rendering |
80 |
|
for date items. Added missing ids for texts and textareas. |
81 |
|
|
82 |
|
2007-08-10 Sascha L. Teichmann <[email protected]> |
83 |
|
|
84 |
|
* tools/formed/formed/config.py: Evaluate the environment |
85 |
|
variable 'FORMED'. Snytax: FORMED='key1:value1;key2:value2' |
86 |
|
|
87 |
|
* tools/formed/formed/plugins/plugin.py: Give a reference |
88 |
|
to the config at setup time. |
89 |
|
|
90 |
|
* tools/formed/formed/plugins/web/plugin.py: To determine |
91 |
|
the port look at FORMED dictionary first. Key is 'web.port'. |
92 |
|
e.g. FORMED='web.port:8888' |
93 |
|
|
94 |
|
* tools/formed/formed/main.py: Call the plugin setup with |
95 |
|
the reference to the config. |
96 |
|
|
97 |
|
2007-08-10 Sascha L. Teichmann <[email protected]> |
98 |
|
|
99 |
|
* tools/formed/test-data/simple.xml: removed 'text' attributes from |
100 |
|
info tags. Use the 'value' attributes for same purpose now, please! |
101 |
|
|
102 |
|
* tools/formed/formed/model/data.py: removed text attributes from |
103 |
|
InfoLeaf. |
104 |
|
|
105 |
|
* tools/formed/formed/plugins/web/renderer.py: Rendering of info |
106 |
|
now uses the 'value' instead of the 'text' attributes. |
107 |
|
|
108 |
|
2007-08-09 Sascha L. Teichmann <[email protected]> |
109 |
|
|
110 |
|
* tools/formed/formed/model/data.py: next/prevPage() are |
111 |
|
methods of PageNode now. |
112 |
|
|
113 |
|
* tools/formed/formed/model/nodecomponents.py: findByClassAndName() |
114 |
|
is method of Document now. |
115 |
|
|
116 |
|
* tools/formed/formed/plugins/web/plugin.py: Factored out |
117 |
|
the HTML renderer. |
118 |
|
|
119 |
|
* tools/formed/formed/plugins/web/renderer.py: New: contains |
120 |
|
the HTML renderer now. |
121 |
|
|
122 |
|
* tools/formed/test-data/simple.xml: Fixed typo |
123 |
|
|
124 |
|
2007-08-09 Sascha L. Teichmann <[email protected]> |
125 |
|
|
126 |
|
* tools/formed/formed/plugins/web/plugin.py: Fixed a bug |
127 |
|
in calculation of width of bounded int fields. |
128 |
|
|
129 |
|
2007-08-09 Sascha L. Teichmann <[email protected]> |
130 |
|
|
131 |
|
* tools/formed/test-data/simple.xml: Make demo Int fancier. |
132 |
|
|
133 |
|
* tools/formed/formed/model/data.py: Added attributes to IntLeaf |
134 |
|
|
135 |
|
* tools/formed/formed/plugins/web/plugin.py: Added rendering for |
136 |
|
Ints |
137 |
|
|
138 |
|
2007-08-09 Sascha L. Teichmann <[email protected]> |
139 |
|
|
140 |
|
* tools/formed/test-data/simple.xml: Added demo textarea |
141 |
|
|
142 |
|
* tools/formed/formed/model/data.py: Added TextAreaLeaf |
143 |
|
|
144 |
|
* tools/formed/formed/io/document.py: register builder |
145 |
|
for loading of textareas |
146 |
|
|
147 |
|
* tools/formed/formed/plugins/web/plugin.py: Added rendering |
148 |
|
for textareas. |
149 |
|
|
150 |
|
2007-08-09 Sascha L. Teichmann <[email protected]> |
151 |
|
|
152 |
|
* tools/formed/test-data/simple.xml: Make demo choice fancier. |
153 |
|
|
154 |
|
* tools/formed/formed/model/data.py: Added attributes for texts |
155 |
|
|
156 |
|
* tools/formed/formed/plugins/web/plugin.py: Added rendering |
157 |
|
for texts |
158 |
|
|
159 |
|
2007-08-09 Sascha L. Teichmann <[email protected]> |
160 |
|
|
161 |
|
* tools/formed/test-data/simple.xml: Make demo choice fancier. |
162 |
|
|
163 |
|
* tools/formed/formed/model/data.py: Added attributes for choices. |
164 |
|
|
165 |
|
* tools/formed/formed/plugins/web/plugin.py: Added rendering |
166 |
|
for choices |
167 |
|
|
168 |
|
2007-08-09 Sascha L. Teichmann <[email protected]> |
169 |
|
|
170 |
|
* tools/formed/formed/model/data.py, |
171 |
|
tools/formed/formed/model/nodecomponents.py: Added new |
172 |
|
attributes. |
173 |
|
|
174 |
|
* tools/formed/formed/plugins/web/plugin.py: Added rendering |
175 |
|
for checkboxes and radio buttons. |
176 |
|
|
177 |
|
2007-08-08 Sascha L. Teichmann <[email protected]> |
178 |
|
|
179 |
|
* tools/formed/test-data/simple.xml: Added some descriptions |
180 |
|
|
181 |
|
* tools/formed/formed/model/data.py: set attributes in constructors |
182 |
|
directly. |
183 |
|
|
184 |
|
* tools/formed/formed/model/nodecomponents.py: Added description |
185 |
|
attribute in the NodeComponent base class. |
186 |
|
|
187 |
|
* tools/formed/formed/plugins/web/plugin.py: Render description |
188 |
|
as legend in fieldset for GroupNodes. |
189 |
|
|
190 |
|
2007-08-08 Sascha L. Teichmann <[email protected]> |
191 |
|
|
192 |
|
* tools/formed/formed/plugins/web/plugin.py: make UTF-8 |
193 |
|
output work. |
194 |
|
|
195 |
|
2007-08-08 Sascha L. Teichmann <[email protected]> |
196 |
|
|
197 |
|
* tools/formed/formed/model/data.py: Added get/setText() method |
198 |
|
|
199 |
|
* tools/formed/formed/plugins/web/plugin.py: Added a first |
200 |
|
version of a recursive HTML renderer based on the document |
201 |
|
tree. |
202 |
|
|
203 |
|
2007-08-08 Sascha L. Teichmann <[email protected]> |
204 |
|
|
205 |
|
* tools/formed/formed/plugins/*: New: plug-in infrastructure. |
206 |
|
|
207 |
|
* tools/formed/formed/plugins/web/*: new: A simple web server |
208 |
|
which is intended to serve pages of the current formular. |
209 |
|
|
210 |
|
* tools/formed/formed/main.py: start the plug-ins |
211 |
|
|
212 |
|
* tools/formed/formed/config.py: configuration class. Used |
213 |
|
for the plug-ins. |
214 |
|
|
215 |
2007-08-08 Sascha L. Teichmann <[email protected]> |
2007-08-08 Sascha L. Teichmann <[email protected]> |
216 |
|
|
217 |
* tools/formed/formed/model/nodecomponents.py: Fixed broadcasting |
* tools/formed/formed/model/nodecomponents.py: Fixed broadcasting |