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