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