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