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