1 |
2007-09-04 Sascha L. Teichmann <[email protected]> |
2 |
|
3 |
* tools/formed/formed/plugins/web/server.py: The mapping |
4 |
to methods is now driven by regualar expressions and |
5 |
a dictionary. Response objects are now able to send |
6 |
error codes. |
7 |
|
8 |
* tools/formed/formed/plugins/web/renderer.py: Fixed an issue |
9 |
when help in Formdata is None. Moved text for help into |
10 |
a top level '''...''' variable. |
11 |
|
12 |
* tools/formed/test-data/simple.xml: Added test for help. |
13 |
|
14 |
* tools/formed/formed/plugins/web/help.py: extra None check. |
15 |
|
16 |
* tools/formed/formed/plugins/web/plugin.py: Uses the new |
17 |
table driven mapping of reguest handling. TODO: split the |
18 |
WebPlugIn.pageHandler() method further to smaller handlers. |
19 |
Smaller clean ups and better exception handling. |
20 |
|
21 |
* tools/formed/formed/plugins/web/cache.py: Report OSErrors |
22 |
and do not catch them. |
23 |
|
24 |
2007-09-04 Torsten Irlaender <[email protected]> |
25 |
|
26 |
* tools/formed/formed/plugins/web/renderer.py, |
27 |
* tools/formed/formed/plugins/web/plugin.py: Added Interface to |
28 |
the HelpProvider and inserted help icons to the html output. |
29 |
Added decorator for Formelemnts, so textfields, choices etc. are now |
30 |
within a <div> tag. |
31 |
Modified the error messages. |
32 |
|
33 |
2007-09-04 Sascha L. Teichmann <[email protected]> |
34 |
|
35 |
* tools/formed/formed/plugins/web/cache.py: New. Implements |
36 |
the server-side caching more clean. Fixes a bug with |
37 |
serving static content. |
38 |
|
39 |
* tools/formed/formed/plugins/web/plugin.py: Use the new cache. |
40 |
|
41 |
2007-09-04 Sascha L. Teichmann <[email protected]> |
42 |
|
43 |
* tools/formed/formed/plugins/web/plugin.py: Set MIME type |
44 |
to "application/xhtml+xml" when serving help texts. |
45 |
|
46 |
2007-09-03 Sascha L. Teichmann <[email protected]> |
47 |
|
48 |
* tools/formed/formed/plugins/export/diff.py: New. Exports |
49 |
pairwise differences between all modes. |
50 |
|
51 |
* tools/formed/formed/config.py: Use new export filter. |
52 |
|
53 |
2007-09-03 Sascha L. Teichmann <[email protected]> |
54 |
|
55 |
* tools/formed/formed/plugins/web/help.py: New. Parses an |
56 |
XHTML document for id'ed divs and builds a help lookup. |
57 |
|
58 |
* tools/formed/formed/plugins/web/www/help.tmpl: Template for |
59 |
the help content frame. |
60 |
|
61 |
* tools/formed/formed/plugins/web/www/help.xhtml: Some simple |
62 |
help text index. |
63 |
|
64 |
* tools/formed/formed/plugins/web/plugin.py: Serves the help |
65 |
texts now. |
66 |
|
67 |
2007-09-03 Torsten Irlaender <[email protected]> |
68 |
|
69 |
* tools/formed/formed/plugins/web/plugin.py: Only visible group |
70 |
elements will be rendered in the formular navigation. |
71 |
Formular pages in the navigation now have their own css-style |
72 |
attributes. |
73 |
|
74 |
2007-09-03 Torsten Irlaender <[email protected]> |
75 |
|
76 |
* tools/formed/formed/plugins/web/www/main.tmpl: Added div area for page |
77 |
errors in template |
78 |
* tools/formed/formed/plugins/web/plugin.py: Fixed undefined |
79 |
pageerrors variable |
80 |
|
81 |
2007-09-03 Frank Koormann <[email protected]> |
82 |
|
83 |
* tools/formed/formed/plugins/export/html.py |
84 |
(RecursiveExporter): Added annotation to export |
85 |
(fillRow()): Renamed old fillNine to this more generic name. |
86 |
|
87 |
|
88 |
2007-09-03 Sascha L. Teichmann <[email protected]> |
89 |
|
90 |
* tools/formed/formed/plugins/web/renderer.py: Using the decorator |
91 |
from model.misc now. |
92 |
|
93 |
2007-09-03 Sascha L. Teichmann <[email protected]> |
94 |
|
95 |
* tools/formed/formed/model/nodecomponents.py: Added an |
96 |
'annotation' attribute to node components. This is to |
97 |
enable FormEd document authors to add comments to groups |
98 |
and fields. |
99 |
|
100 |
2007-09-03 Frank Koormann <[email protected]> |
101 |
|
102 |
* tools/formed/formed/model/nodecomponents.py |
103 |
(NodeComponent.getParent): New method to get node components parent. |
104 |
|
105 |
* tools/formed/formed/plugins/export/html.py: Export Choice option |
106 |
as simple list instead of collection of bools. |
107 |
|
108 |
2007-09-02 Sascha L. Teichmann <[email protected]> |
109 |
|
110 |
* tools/formed/formed/model/persistent.py: Interfaces to abstract |
111 |
from persistent storage details. |
112 |
|
113 |
* tools/formed/formed/model/memory.py: In core implementation |
114 |
of the persistent interfaces. |
115 |
|
116 |
* tools/formed/formed/main.py: Holds a memory data store now. |
117 |
|
118 |
2007-09-02 Sascha L. Teichmann <[email protected]> |
119 |
|
120 |
* tools/formed/formed/plugins/export/sql.py, |
121 |
tools/formed/formed/plugins/export/html.py: Fixed constructor chains |
122 |
for FileDialogFilter sub classes. |
123 |
|
124 |
2007-09-02 Sascha L. Teichmann <[email protected]> |
125 |
|
126 |
* tools/formed/formed/model/misc.py: Checking the mode in recursive |
127 |
tree traversals is a common task. To ease this a decorator function |
128 |
checkMode in union with sub classing ModeChecker can be used. |
129 |
To make it work simply subclass from ModeChecker and add the decorator |
130 |
to the methods that need mode tracking. Before you start the recursion |
131 |
call self.prepareDescent(). |
132 |
|
133 |
* tools/formed/formed/plugins/export/html.py: Uses the new decorator scheme |
134 |
now which replace the old. TODO: Make the web renderer use the new scheme |
135 |
too. |
136 |
|
137 |
2007-09-02 Sascha L. Teichmann <[email protected]> |
138 |
|
139 |
* tools/formed/formed/plugins/export/sql.py: Removed needless import. |
140 |
|
141 |
* tools/formed/formed/plugins/export/html.py: HTML table exporter |
142 |
uses new FileDialogFilter base class too. |
143 |
|
144 |
2007-09-02 Sascha L. Teichmann <[email protected]> |
145 |
|
146 |
* tools/formed/formed/plugins/ui/*: New. All file exporters |
147 |
need a file dialog. Till now each of them pulled up its |
148 |
own. This was silly code replication. Now there is an abstract |
149 |
base class 'FileDialogFilter' which implements the common |
150 |
behavior. The file exporters should subclass it. |
151 |
|
152 |
* tools/formed/formed/plugins/export/sql.py: Subclass the SQL |
153 |
exporters from the new base class. TODO: Subclass the HTML |
154 |
exporter too. |
155 |
|
156 |
2007-08-31 Sascha L. Teichmann <[email protected]> |
157 |
|
158 |
* tools/formed/formed/plugins/export/html.py: Make mode check |
159 |
work (again). |
160 |
|
161 |
2007-08-31 Torsten Irlaender <[email protected]> |
162 |
|
163 |
* tools/formed/formed/plugins/export/html.py: Rendering of the HTML |
164 |
exprt works now in a recursive way. This change was needed because |
165 |
the structure of the formedtree has changed to be able to render |
166 |
full hirachically document stuctures. (nested lists) |
167 |
TODO: Fix modechecking |
168 |
|
169 |
2007-08-31 Torsten Irlaender <[email protected]> |
170 |
|
171 |
* tools/formed/formed/plugins/web/plugin.py: Navigation rendering works |
172 |
now in recursive way. This change was needed because the structure |
173 |
of the formedtree has changed to be able to render full hirachically |
174 |
document stuctures. (nested lists) |
175 |
|
176 |
2007-08-31 Sascha L. Teichmann <[email protected]> |
177 |
|
178 |
* tools/formed/formed/model/nodecomponents.py: use discard() |
179 |
instead of remove on sets. |
180 |
|
181 |
* tools/formed/formed/plugins/export/sql.py: Added an |
182 |
exporter for table views. |
183 |
|
184 |
* tools/formed/formed/config.py: Added the new exporter |
185 |
to the list of export filters. |
186 |
|
187 |
2007-08-30 Sascha L. Teichmann <[email protected]> |
188 |
|
189 |
* tools/formed/formed/model/data.py: Fixed a bug in |
190 |
Page.allWidgets() |
191 |
|
192 |
* tools/formed/formed/plugins/export/sql.py: Added an exporter |
193 |
for stored procudeures. |
194 |
|
195 |
* tools/formed/formed/config.py: Add the new SP exporter. |
196 |
|
197 |
2007-08-29 Torsten Irlaender <[email protected]> |
198 |
|
199 |
* tools/formed/formed/plugins/web/plugin.py, |
200 |
tools/formed/formed/plugins/web/error_renderer.py: Added interface |
201 |
to get the errors for a whole page in te formular. These errors can |
202 |
now be displayed on the top of the formular. |
203 |
|
204 |
2007-08-29 Torsten Irlaender <[email protected]> |
205 |
|
206 |
* tools/formed/formed/plugins/web/renderer.py: Finished implementation |
207 |
of the getFromData interface and prepared the rederer for generating |
208 |
nice error messages |
209 |
|
210 |
2007-08-28 Frank Koormann <[email protected]> |
211 |
|
212 |
* tools/formed/formed/plugins/export/sql.py |
213 |
(SchemaCreator.createSchema, SchemaCreator._createGroup): |
214 |
Fixed typo in created DDS (PRIMRAY -> PRIMARY) |
215 |
|
216 |
2007-08-28 Torsten Irlaender <[email protected]> |
217 |
|
218 |
* tools/formed/formed/plugins/export/sql.py: Added small helper |
219 |
function to generated valid quotes within the sql statements |
220 |
|
221 |
2007-08-29 Sascha L. Teichmann <[email protected]> |
222 |
|
223 |
* tools/formed/formed/plugins/export/sql.py: Added foreign keys |
224 |
for repeat tables. |
225 |
|
226 |
2007-08-29 Sascha L. Teichmann <[email protected]> |
227 |
|
228 |
* tools/formed/formed/plugins/export/sql.py: When generating |
229 |
an extra table check in a table of same content exists. In |
230 |
this case reference the existing table. |
231 |
|
232 |
2007-08-29 Sascha L. Teichmann <[email protected]> |
233 |
|
234 |
* tools/formed/formed/plugins/export/sql.py: Rewritten to produce |
235 |
_real_ SQL and respect repeat groups. |
236 |
|
237 |
* tools/formed/formed/model/data.py: Fixed bug with Group.isRepeat() |
238 |
|
239 |
* tools/formed/formed/plugins/web/renderer.py: Use "".join([]) |
240 |
instead of expensive += string concat in some places. |
241 |
|
242 |
2007-08-29 Sascha L. Teichmann <[email protected]> |
243 |
|
244 |
* tools/formed/formed/model/data.py: Renamed GroupNode.getRepeat() |
245 |
to .isRepeat and return a bool. Fixed a bug in Page.allWidgets(). |
246 |
|
247 |
2007-08-28 Torsten Irlaender <[email protected]> |
248 |
|
249 |
* tools/formed/plugins/web/renderer.py: Added Formdata interface. |
250 |
* tools/formed/model/data.py: Implements Formadata interface to |
251 |
textfields. Fieldset generated depends now on the "invisible" |
252 |
attribute of the groupnode. Field-label generation slightly changed. |
253 |
Added error indication to textfields |
254 |
|
255 |
2007-08-28 Sascha L. Teichmann <[email protected]> |
256 |
|
257 |
* tools/formed/formed/model/data.py, |
258 |
tools/formed/formed/io/document.py: Removed support |
259 |
of logical groups. |
260 |
|
261 |
2007-08-28 Sascha L. Teichmann <[email protected]> |
262 |
|
263 |
* tools/formed/formed/io/document.py: Avoid saving empty |
264 |
attributes. |
265 |
|
266 |
* tools/formed/test-data/simple.xml: Applied. |
267 |
|
268 |
2007-08-28 Sascha L. Teichmann <[email protected]> |
269 |
|
270 |
* tools/formed/formed/model/data.py: Added 'repeat' and |
271 |
'invisible' attributes to group. TODO: remove logical group. |
272 |
|
273 |
2007-08-27 Torsten Irlaender <[email protected]> |
274 |
|
275 |
* tools/formed/plugins/web/plugin.py, |
276 |
tools/formed/plugins/web/renderer.py: Started to include stylesheet |
277 |
depending tags in the html generation. |
278 |
|
279 |
2007-08-27 Sascha L. Teichmann <[email protected]> |
280 |
|
281 |
* tools/formed/formed/model/data.py, |
282 |
tools/formed/formed/io/document.py: Added a logical group. |
283 |
It has an attribute 'repeat' to indicate that it might |
284 |
be worthy an external table in DB schema. |
285 |
|
286 |
2007-08-27 Sascha L. Teichmann <[email protected]> |
287 |
|
288 |
* tools/formed/formed/plugins/web/plugin.py: Support |
289 |
serving of static content. |
290 |
|
291 |
* tools/formed/formed/plugins/web/server.py: Removed |
292 |
old send code. |
293 |
|
294 |
2007-08-27 Sascha L. Teichmann <[email protected]> |
295 |
|
296 |
* tools/formed/formed/plugins/web/plugin.py: Use new |
297 |
Response object. Fix typo. |
298 |
|
299 |
* tools/formed/formed/plugins/web/server.py: support |
300 |
response object to serve different MIME types. |
301 |
|
302 |
2007-08-27 Sascha L. Teichmann <[email protected]> |
303 |
|
304 |
* tools/formed/formed/plugins/web/plugin.py: Add web.path |
305 |
to FORMED environment variable to specify the |
306 |
root of the static content. |
307 |
|
308 |
2007-08-26 Sascha L. Teichmann <[email protected]> |
309 |
|
310 |
* tools/formed/formed/model/data.py, |
311 |
tools/formed/formed/model/nodecomponents.py: Fixed mode issues. |
312 |
|
313 |
* tools/formed/formed/plugins/web/www, |
314 |
tools/formed/formed/plugins/web/www/main.tmpl: New. Contains |
315 |
a template for the HTML output. |
316 |
|
317 |
* tools/formed/formed/plugins/web/plugin.py: Fixes several smaller |
318 |
mode issues. Introduces CSS support. Simplified the action |
319 |
handling. |
320 |
|
321 |
* tools/formed/formed/plugins/web/renderer.py: Removed the |
322 |
nagivation code. |
323 |
|
324 |
* tools/formed/formed/plugins/web/server.py: Added missing import. |
325 |
|
326 |
2007-08-26 Sascha L. Teichmann <[email protected]> |
327 |
|
328 |
* tools/formed/formed/model/data.py: Added missing broadcast |
329 |
parameter to setAttribute() of RuleLeaf. |
330 |
|
331 |
* tools/formed/formed/plugins/web/plugin.py: Factorize |
332 |
HTTP server code out to separate module. |
333 |
|
334 |
* tools/formed/formed/plugins/web/renderer.py: Removed |
335 |
needless -1 from pop() |
336 |
|
337 |
* tools/formed/formed/plugins/web/server.py: New. Contains |
338 |
the HTTP server code now. |
339 |
|
340 |
2007-08-26 Sascha L. Teichmann <[email protected]> |
341 |
|
342 |
* tools/formed/test-data/simple.xml: Modified to contain a rule. |
343 |
|
344 |
* tools/formed/formed/model/expr.py: Added. A simple RPN |
345 |
expression evaluator. To avoid the problem of eval()ing |
346 |
arbitrary python expressions I've decided to use a very |
347 |
basic and limited stack machine to support rule checking. |
348 |
|
349 |
* tools/formed/formed/model/data.py: Added a RuleLeaf. |
350 |
|
351 |
* tools/formed/formed/io/document.py: Added factories for rules. |
352 |
|
353 |
* tools/formed/formed/model/nodecomponents.py: Add a method |
354 |
to find all items of a given type in document for a given |
355 |
mode. Usefull to find all rules in the tree. |
356 |
|
357 |
* tools/formed/formed/ui/controls.py: Added a listener mechanism |
358 |
to attribute table to report exceptions when setting a value |
359 |
from GUI. Useful to report compilation errors when setting |
360 |
expr of rule leafs. |
361 |
|
362 |
* tools/formed/formed/main.py: Added a method to track exceptions |
363 |
from the attribute table and pop up dialogs if they occur. |
364 |
Added a counter of rule modifications in tree. Useful if you |
365 |
want build cached data structures like rule sets and you want |
366 |
to know if they are still valid. |
367 |
|
368 |
2007-08-24 Torsten Irlaender <[email protected]> |
369 |
|
370 |
* tools/formed/formed/plugins/export/sql.py: Fixed CHECK-constraint |
371 |
for checkbox values. (Syntax error). |
372 |
|
373 |
* tools/formed/formed/plugins/names/filter.py: Fixes in formularname |
374 |
generation |
375 |
|
376 |
2007-08-24 Torsten Irlaender <[email protected]> |
377 |
|
378 |
* tools/formed/formed/plugins/names/filter.py: Separated Class for |
379 |
making the formularnames more database friendly. Added some more |
380 |
checks. |
381 |
* tools/formed/formed/plugins/export/sql.py: Make use of the fresh |
382 |
separated class, and some fixes in sql generation. |
383 |
|
384 |
2007-08-24 Sascha L. Teichmann <[email protected]> |
385 |
|
386 |
* tools/formed/formed/plugins/export/html.py: Print lengths |
387 |
of external choice list. |
388 |
|
389 |
2007-08-24 Sascha L. Teichmann <[email protected]> |
390 |
|
391 |
* tools/formed/formed/main.py: Little workaround for |
392 |
mode selection if someone adds an removes a mode. |
393 |
|
394 |
2007-08-24 Sascha L. Teichmann <[email protected]> |
395 |
|
396 |
* tools/formed/test-data/simple.xml: Better test case for |
397 |
mode depended leaf items. |
398 |
|
399 |
* tools/formed/formed/model/nodecomponents.py: Added a method |
400 |
to calculate the effective mode of an item. |
401 |
|
402 |
* tools/formed/formed/plugins/export/html.py: Use effective |
403 |
mode. TODO: the 'all' modus return false results sometimes. |
404 |
Cause: The modes are only cumulated over time. Removal is |
405 |
not done. |
406 |
|
407 |
2007-08-24 Sascha L. Teichmann <[email protected]> |
408 |
|
409 |
* tools/formed/formed/plugins/export/html.py: Dump the items |
410 |
of radio groups and choices too. |
411 |
|
412 |
2007-08-24 Torsten Irlaender <[email protected]> |
413 |
|
414 |
* tools/formed/formed/plugins/names/filter.py: Modified the renaming |
415 |
by formular names to make the naming more database friendly. |
416 |
Now only alphanumeric and underscore chars is allowed. |
417 |
|
418 |
2007-08-24 Sascha L. Teichmann <[email protected]> |
419 |
|
420 |
* tools/formed/formed/plugins/export/html.py: Tweaked |
421 |
HTML table exporter a bit to be on par with the XSLT |
422 |
script. TODO: Dump items in radio and choice groups. |
423 |
|
424 |
2007-08-23 Sascha L. Teichmann <[email protected]> |
425 |
|
426 |
* tools/formed/formed/plugins/names/filter.py: Removed |
427 |
HTML and SQL exporters. |
428 |
|
429 |
* tools/formed/formed/plugins/export, |
430 |
tools/formed/formed/plugins/export/__init__.py, |
431 |
tools/formed/formed/plugins/export/sql.py, |
432 |
tools/formed/formed/plugins/export/html.py: New: Contain |
433 |
the HTML and the SQL exporters now. |
434 |
|
435 |
* tools/formed/formed/config.py: Use exporters from different |
436 |
package now. |
437 |
|
438 |
2007-08-23 Torsten Irlaender <[email protected]> |
439 |
|
440 |
* tools/formed/formed/plugins/names/filter.py: Added an |
441 |
pseudo SQL export filters. TODO: Move HTML and SQL filter |
442 |
in a new file (formed/plugins/export/htmlexport.py and |
443 |
sqlexport.py?) |
444 |
|
445 |
* tools/formed/formed/config.py: Install the new SQL filter. |
446 |
|
447 |
2007-08-23 Sascha L. Teichmann <[email protected]> |
448 |
|
449 |
* tools/formed/formed/model/nodecomponents.py: Added a depth() |
450 |
method to determine the depth of particular tree item. |
451 |
|
452 |
* tools/formed/formed/plugins/names/filter.py: Added an |
453 |
HTML export filters. TODO: needs more work. |
454 |
|
455 |
* tools/formed/formed/config.py: Install the new HTML filter. |
456 |
|
457 |
2007-08-23 Torsten Irlaender <[email protected]> |
458 |
|
459 |
* contrib/extract-xfa-fields_and_options.xsl: Added small xsl script |
460 |
to extract fields and options in the XFA Data in teh PDF. This |
461 |
script might me handy to indicate changes between the different |
462 |
formular versions. |
463 |
|
464 |
2007-08-23 Sascha L. Teichmann <[email protected]> |
465 |
|
466 |
* tools/formed/formed/main.py: Add an 'all' mode to |
467 |
select all modes. ;-) |
468 |
|
469 |
2007-08-22 Sascha L. Teichmann <[email protected]> |
470 |
|
471 |
* tools/formed/test-data/simple.xml, |
472 |
tools/formed/formed/model/data.py, |
473 |
tools/formed/formed/plugins/web/plugin.py, |
474 |
tools/formed/formed/plugins/web/renderer.py, |
475 |
tools/formed/formed/io/document.py, |
476 |
tools/formed/formed/main.py: Removed support for switch nodes. |
477 |
BEWARE: This breaks compatibility with older documents! |
478 |
|
479 |
2007-08-22 Sascha L. Teichmann <[email protected]> |
480 |
|
481 |
* tools/formed/formed/plugins/web/plugin.py: Uses the |
482 |
getSelectedMode() from main now. |
483 |
|
484 |
* tools/formed/formed/main.py: selected mode is now hold |
485 |
in main. |
486 |
|
487 |
* tools/formed/formed/config.py: removed selected mode from |
488 |
env configuration. |
489 |
|
490 |
2007-08-22 Sascha L. Teichmann <[email protected]> |
491 |
|
492 |
* tools/formed/formed/ui/controls.py: Attributes in GUI attribute |
493 |
table are now alphabetically sorted. |
494 |
|
495 |
2007-08-22 Sascha L. Teichmann <[email protected]> |
496 |
|
497 |
* tools/formed/formed/model/nodecomponents.py: Added code to |
498 |
establish the new 'modes' recursively. |
499 |
|
500 |
* tools/formed/formed/plugins/plugin.py: Pass main instead |
501 |
of cfg on plug-in start-up. |
502 |
|
503 |
* tools/formed/formed/plugins/web/plugin.py: Use the new |
504 |
'modes' attribute for rendering. |
505 |
|
506 |
* tools/formed/formed/plugins/web/renderer.py: Use decorators |
507 |
to check the new modes. |
508 |
|
509 |
* tools/formed/formed/main.py: Adjusted to new infrastructure. |
510 |
|
511 |
2007-08-22 Sascha L. Teichmann <[email protected]> |
512 |
|
513 |
* tools/formed/formed/model/nodecomponents.py: Added an |
514 |
attribute 'modes' to NodeComponents. |
515 |
|
516 |
2007-08-22 Sascha L. Teichmann <[email protected]> |
517 |
|
518 |
* tools/formed/formed/model/data.py: Small cosmetic cleanups |
519 |
|
520 |
2007-08-21 Sascha L. Teichmann <[email protected]> |
521 |
|
522 |
* tools/formed/formed/plugins/web/renderer.py: Another fix |
523 |
for the hidden field. Argh! |
524 |
|
525 |
2007-08-21 Sascha L. Teichmann <[email protected]> |
526 |
|
527 |
* tools/formed/formed/plugins/web/renderer.py: Fixed double |
528 |
generation of hidden page field. |
529 |
|
530 |
2007-08-21 Sascha L. Teichmann <[email protected]> |
531 |
|
532 |
* tools/formed/formed/plugins/web/semantic.py: Added semantic |
533 |
checks for radio groups. |
534 |
|
535 |
2007-08-21 Sascha L. Teichmann <[email protected]> |
536 |
|
537 |
* tools/formed/formed/plugins/web/semantic.py: Added semantic |
538 |
checks for choices. |
539 |
|
540 |
2007-08-21 Frank Koormann <[email protected]> |
541 |
|
542 |
* contrib/convert-formedtree2html.xsl: Display switch nodes as |
543 |
alternatives. |
544 |
|
545 |
2007-08-21 Frank Koormann <[email protected]> |
546 |
|
547 |
* contrib/convert-formedtree2html.xsl: |
548 |
Replace technical types with readable descriptions |
549 |
|
550 |
2007-08-21 Sascha L. Teichmann <[email protected]> |
551 |
|
552 |
* tools/formed/formed/plugins/web/plugin.py: Fix a few smaller |
553 |
issues. 'action' looks for all widgets on a page now, goes |
554 |
through all passed parameters, tries to match them with the |
555 |
widgets of the page and put them into the semantic box. |
556 |
Afterwards a list of untouched page parameters are left |
557 |
which will be deleted from the semantic box. |
558 |
|
559 |
* tools/formed/formed/plugins/web/semantic.py: Simplified. |
560 |
The NodeComponent is passed as an argument now. |
561 |
|
562 |
* tools/formed/formed/plugins/web/renderer.py: Generate a |
563 |
hidden field to store the name of the page. |
564 |
|
565 |
2007-08-21 Sascha L. Teichmann <[email protected]> |
566 |
|
567 |
* tools/formed/formed/plugins/web/plugin.py: Fixed an encoding |
568 |
issue with incoming UTF-8 data. |
569 |
|
570 |
2007-08-21 Sascha L. Teichmann <[email protected]> |
571 |
|
572 |
* tools/formed/test-data/simple.xml: Improve test for widgets |
573 |
in switches. |
574 |
|
575 |
* tools/formed/formed/model/data.py: Added a method to find all |
576 |
widgets in a given page. Fixed a bug when walking in switch |
577 |
with a given mode. |
578 |
|
579 |
* tools/formed/formed/plugins/web/plugin.py: Simple test for |
580 |
listing all widgets in page. |
581 |
|
582 |
2007-08-21 Torsten Irlaender <[email protected]> |
583 |
|
584 |
* tools/formed/formed/plugins/names/filter.py: Fixed file-encoding to |
585 |
latin-1 |
586 |
|
587 |
2007-08-21 Sascha L. Teichmann <[email protected]> |
588 |
|
589 |
* tools/formed/formed/model/data.py: Added mode parameter to |
590 |
walk. |
591 |
|
592 |
* tools/formed/formed/model/nodecomponents.py: SwitchNode overwrites |
593 |
walk() with usage of the new mode parameter. Added a method to |
594 |
give children in a given mode. |
595 |
|
596 |
* tools/formed/formed/plugins/web/renderer.py: Simplified to use |
597 |
new Switch.childrenInMode() method. |
598 |
|
599 |
2007-08-21 Sascha L. Teichmann <[email protected]> |
600 |
|
601 |
* tools/formed/formed/plugins/web/semantic.py: Add checks for |
602 |
texts and text areas. |
603 |
|
604 |
* tools/formed/formed/plugins/web/renderer.py: Set accept-charset |
605 |
to UTF-8 in generated form. |
606 |
|
607 |
2007-08-20 Sascha L. Teichmann <[email protected]> |
608 |
|
609 |
* tools/formed/formed/plugins/web/semantic.py: Added semantic |
610 |
tests for dates. |
611 |
|
612 |
2007-08-20 Sascha L. Teichmann <[email protected]> |
613 |
|
614 |
* tools/formed/test-data/simple.xml: Tweak a bit for integer |
615 |
range test. |
616 |
|
617 |
* tools/formed/formed/model/nodecomponents.py: Added a method |
618 |
to find a tree item for a given name. |
619 |
|
620 |
* tools/formed/formed/plugins/web/semantic.py: New: Box for |
621 |
semantic checking. Has check for integers. |
622 |
|
623 |
* tools/formed/formed/plugins/web/plugin.py: Use semantic |
624 |
check. |
625 |
|
626 |
2007-08-20 Torsten Irlaender <[email protected]> |
627 |
|
628 |
* tools/formed/formed/plugins/web/renderer.py: Fixed Syntax in |
629 |
selection-field generation (Removed quote) |
630 |
|
631 |
2007-08-18 Sascha L. Teichmann <[email protected]> |
632 |
|
633 |
* tools/formed/formed/plugins/web/plugin.py, |
634 |
tools/formed/formed/plugins/web/renderer.py: Added a |
635 |
simple cookie based session management to the HTML |
636 |
renderer. This submit parameters are stored in the |
637 |
session now. This will ease testing the constraint |
638 |
tests which need to be written soon. |
639 |
|
640 |
BEWARE: The session management is _not_ made for production! |
641 |
Denial of service attacks are too easy, and the |
642 |
cryptographical strength of the session id is doubtful. |
643 |
|
644 |
2007-08-18 Sascha L. Teichmann <[email protected]> |
645 |
|
646 |
* tools/formed/formed/plugins/web/renderer.py: Escaping text |
647 |
coming from the document tree now when inserting it into the |
648 |
HTML output. |
649 |
|
650 |
2007-08-18 Sascha L. Teichmann <[email protected]> |
651 |
|
652 |
* tools/formed/formed/plugins/plugin.py: Added a new kind |
653 |
of plug-in: Filter. They have a short and a long description |
654 |
and can be hooked automatically into the new 'Filters' |
655 |
sub menu under 'Extra'. They got called when the user |
656 |
selects their respective menu item. |
657 |
|
658 |
* tools/formed/formed/config.py: Contains the list of |
659 |
installed filters. |
660 |
|
661 |
* tools/formed/formed/main.py: Builds the Extra->Filters |
662 |
sub menu during gui initialization. The hard wired code |
663 |
for make unique and formular name/description -> name |
664 |
is removed because they are implemented as filters now. |
665 |
|
666 |
* tools/formed/formed/model/nodecomponents.py, |
667 |
tools/formed/formed/model/data.py: Removed the make |
668 |
unique and formular name/description -> name code. |
669 |
|
670 |
* tools/formed/formed/plugins/names, |
671 |
tools/formed/formed/plugins/names/__init__.py, |
672 |
tools/formed/formed/plugins/names/filter.py: Added. Contains |
673 |
the make unique and formular name/description -> name code |
674 |
in form of filters. |
675 |
|
676 |
* tools/formed/test-data/simple.xml: Modified to be a better |
677 |
test for the formular name/description -> name filter. |
678 |
|
679 |
2007-08-18 Sascha L. Teichmann <[email protected]> |
680 |
|
681 |
* tools/formed/formed.py, tools/formed/formed/main.py: First |
682 |
command line argument is interpreted as filename of document |
683 |
to be loaded at program startup. |
684 |
|
685 |
2007-08-17 Frank Koormann <[email protected]> |
686 |
|
687 |
* contrib/convert-formedtree2html.xsl: |
688 |
Heading level depending on depth of group node. |
689 |
In case of radio/choice/check only list of options. |
690 |
|
691 |
2007-08-17 Torsten Irlaender <[email protected]> |
692 |
|
693 |
* contrib/convert-formedtree2html.xsl: Output is now generated with |
694 |
HTML doc-string and charset information in the meta-header. |
695 |
|
696 |
2007-08-17 Torsten Irlaender <[email protected]> |
697 |
|
698 |
* contrib/convert-formedtree2html.xsl: Added small script for |
699 |
exporting the formed tree to html |
700 |
|
701 |
2007-08-17 Torsten Irlaender <[email protected]> |
702 |
|
703 |
* tools/formed/model/nodecomponents.py: Added function to rename |
704 |
the set the name of the node to the formularname. The formularname |
705 |
gets shorten to <=64 by removing vowels and is stored lowercase. |
706 |
If the name is not unique and additional id value is appended. |
707 |
|
708 |
* tools/formed/formed/model/data.py: Overwritten renaming-function for |
709 |
bool-leafs |
710 |
|
711 |
* tools/formed/formed/main.py: Added menuitem for renaming the names |
712 |
of the element |
713 |
|
714 |
2007-08-16 Sascha L. Teichmann <[email protected]> |
715 |
|
716 |
* tools/formed/formed/main.py: Swaped order of |
717 |
'Make names unique' and 'Selected mode...' in Extra |
718 |
menu and put a separator between them. |
719 |
|
720 |
2007-08-15 Sascha L. Teichmann <[email protected]> |
721 |
|
722 |
* tools/formed/formed/model/data.py: SwitchNodes can add |
723 |
their modes to a given set now. |
724 |
|
725 |
* tools/formed/formed/plugins/plugin.py: Simplified |
726 |
the plug-in interface. Only the reference to the |
727 |
global configuration is passed at setup time. |
728 |
|
729 |
* tools/formed/formed/plugins/web/plugin.py: Adjusted |
730 |
to new plug-in setup. The traveral mode is now taken |
731 |
from the global configuration each time a rendering |
732 |
is triggered. The FORMED parameter is now named |
733 |
'doc.mode' instead of 'web.mode'. The parameter |
734 |
is not needed any more because it can be configured |
735 |
at runtime. |
736 |
|
737 |
* tools/formed/formed/main.py: Adjusted to new plugin |
738 |
setup. Added a new menu item Extra->Select Mode... |
739 |
to select the traversal mode. It is stored in the |
740 |
global config. |
741 |
|
742 |
* tools/formed/formed/config.py: Simplified. Only uses |
743 |
one env dictionary to store global configuration parameters. |
744 |
|
745 |
* tools/formed/formed/ui/controls.py: Add a control to |
746 |
select one item from a list of given strings. |
747 |
|
748 |
2007-08-15 Sascha L. Teichmann <[email protected]> |
749 |
|
750 |
* tools/formed/formed/plugins/web/plugin.py, |
751 |
tools/formed/formed/plugins/web/renderer.py: Added parameter |
752 |
print out in web plugin. |
753 |
|
754 |
2007-08-15 Torsten Irlaender <[email protected]> |
755 |
|
756 |
* contrib/convert-formedtree2csv.xsl: Added small script for |
757 |
exporting the formed tree to csv |
758 |
|
759 |
2007-08-14 Sascha L. Teichmann <[email protected]> |
760 |
|
761 |
* tools/formed/formed/model/data.py, |
762 |
tools/formed/formed/model/nodecomponents.py, |
763 |
tools/formed/formed/io/document.py: Added a 'switch' node. |
764 |
|
765 |
* tools/formed/formed/plugins/web/renderer.py:Render the |
766 |
new 'switch' node. |
767 |
|
768 |
* tools/formed/formed/plugins/web/plugin.py, |
769 |
tools/formed/formed/config.py: Added a 'web.mode' parameter |
770 |
to FORMED environment variable. |
771 |
e.g. 'FORMED=web.mode:modeX' sets the mode 'modeX'. |
772 |
Defaults to 'default'. |
773 |
|
774 |
* tools/formed/test-data/simple.xml: Added test for switch. |
775 |
|
776 |
2007-08-14 Sascha L. Teichmann <[email protected]> |
777 |
|
778 |
* tools/formed/formed/model/nodecomponents.py: Added an |
779 |
attribute 'formularname' to base class of node components. |
780 |
|
781 |
2007-08-13 Sascha L. Teichmann <[email protected]> |
782 |
|
783 |
* tools/formed/formed/io/document.py, |
784 |
tools/formed/formed/model/data.py, |
785 |
tools/formed/formed/model/nodecomponents.py: Added an item |
786 |
to model external item lists. |
787 |
|
788 |
* tools/formed/formed/plugins/web/renderer.py: Render new item |
789 |
list. |
790 |
* tools/formed/formed/main.py: Added a forgotten 'self.' |
791 |
|
792 |
* contrib/extract-xfa-items.sh: Modified to generate |
793 |
documents to be loadable from new item lists |
794 |
|
795 |
2007-08-13 Sascha L. Teichmann <[email protected]> |
796 |
|
797 |
* tools/formed/formed/main.py: Fixed typo |
798 |
|
799 |
2007-08-13 Sascha L. Teichmann <[email protected]> |
800 |
|
801 |
* contrib/extract-xfa-items.sh: New. Can be used to extract longer |
802 |
choice item lists for a given field from XFA files. e.g. with |
803 |
'./contrib/extract-xfa-items.sh Muttersprache alles.xml' |
804 |
|
805 |
2007-08-12 Sascha L. Teichmann <[email protected]> |
806 |
|
807 |
* tools/formed/formed/model/data.py, |
808 |
tools/formed/formed/plugins/web/renderer.py, |
809 |
tools/formed/formed/io/document.py: Changed the structure |
810 |
of choice constructs. The idea to hold the different items |
811 |
of a particular choice in a semicolon separated list was bad. |
812 |
Now choices are groups and the option items are modelled as |
813 |
embedded bools. (mainly Torsten Irländer's idea). |
814 |
|
815 |
WARNING: this makes old document files containing choices incompatible!!! |
816 |
Use the following XSLT to reestablish compatibility. |
817 |
|
818 |
* contrib/itemize-choices.xsl: New converts old to new structure. |
819 |
Needs exslt.org's string extensions (which xsltproc includes) |
820 |
|
821 |
* tools/formed/test-data/simple.xml: Ajusted to new structure |
822 |
|
823 |
* tools/formed/formed/plugins/web/plugin.py: remove debug output |
824 |
|
825 |
* tools/formed/formed/model/nodecomponents.py: fixed a small bug in |
826 |
node finding code. It now uses the walk() generator, too. |
827 |
|
828 |
2007-08-12 Sascha L. Teichmann <[email protected]> |
829 |
|
830 |
* tools/formed/formed/main.py: Added a clone item on the toolbar which |
831 |
copies the currently selected item and appends it after the selection. |
832 |
|
833 |
* tools/formed/formed/model/nodecomponents.py: Added code to clone parts |
834 |
of the tree. |
835 |
|
836 |
* tools/formed/formed/ui/controls.py: Added a getSelected method. |
837 |
|
838 |
* tools/formed/formed/model/misc.py: Fixed a programming bug. |
839 |
forgot a 'self.' prefix. |
840 |
|
841 |
2007-08-12 Sascha L. Teichmann <[email protected]> |
842 |
|
843 |
* tools/formed/formed/model/nodecomponents.py: Added a method to append |
844 |
a second document to the current. |
845 |
|
846 |
* tools/formed/formed/main.py: Added an 'Import' file menu item to load |
847 |
a second document to be appended to the current. |
848 |
|
849 |
2007-08-12 Sascha L. Teichmann <[email protected]> |
850 |
|
851 |
* tools/formed/formed/main.py: Added a 'New' item in file menu which creates |
852 |
a new document when triggered. |
853 |
|
854 |
2007-08-12 Sascha L. Teichmann <[email protected]> |
855 |
|
856 |
* tools/formed/formed/model/nodecomponents.py: Added walk generator over all |
857 |
items in the document tree. Added a method to eliminated duplicated names |
858 |
in document tree. |
859 |
|
860 |
* tools/formed/formed/model/misc.py: Added update mechanism for id generator |
861 |
after names collisions are eliminated. |
862 |
|
863 |
* tools/formed/formed/main.py: Added an 'Extra' menu with item |
864 |
'Make names unique'. |
865 |
|
866 |
2007-08-11 Sascha L. Teichmann <[email protected]> |
867 |
|
868 |
* tools/formed/formed/model/data.py, |
869 |
tools/formed/formed/plugins/web/renderer.py: Removed support |
870 |
for 'text' attributes in bool items. They were never really |
871 |
used and the 'description' attributes fulfill the same |
872 |
purpose. |
873 |
|
874 |
* contrib/remove-bool-text.xsl: Transform to remove the |
875 |
'text' attributes from bool items. Apply with: |
876 |
'xsltproc contrib/remove-bool-text.xsl old.xml > new.xml' |
877 |
|
878 |
* tools/formed/test-data/simple.xml: Removed 'text' attributes |
879 |
from bool items. |
880 |
|
881 |
2007-08-11 Sascha L. Teichmann <[email protected]> |
882 |
|
883 |
* contrib/convert-choices.xsl: Simpified. |
884 |
|
885 |
2007-08-11 Sascha L. Teichmann <[email protected]> |
886 |
|
887 |
* tools/formed/formed/model/data.py: Removed 'options' attribute |
888 |
from ChoiceLeaf. Use 'value' instead, please! |
889 |
|
890 |
* tools/formed/formed/plugins/web/renderer.py: use 'value' attribute |
891 |
instead of 'options' to render choices. |
892 |
|
893 |
* contrib/convert-choices.xsl: Added to convert document files |
894 |
which use the choice 'option' attribute to usage of 'value'. |
895 |
Apply with e.g. 'xsltproc convert-choices.xsl old.xml > new.xml' |
896 |
|
897 |
2007-08-10 Sascha L. Teichmann <[email protected]> |
898 |
|
899 |
* tools/formed/formed/plugins/web/renderer.py: radio buttons |
900 |
are selected by 'checked' and not by 'selected'. Fixed. |
901 |
|
902 |
2007-08-10 Sascha L. Teichmann <[email protected]> |
903 |
|
904 |
* tools/formed/formed/model/data.py: ChoiceLeafs are now |
905 |
initialized with size = 1. |
906 |
|
907 |
2007-08-10 Sascha L. Teichmann <[email protected]> |
908 |
|
909 |
* tools/formed/formed/model/data.py: TextLeafs are now |
910 |
initialized with size = 40, maxlength = 60 |
911 |
|
912 |
2007-08-10 Sascha L. Teichmann <[email protected]> |
913 |
|
914 |
* tools/formed/formed/plugins/web/renderer.py: Fixed: choices |
915 |
are renderered with description now. |
916 |
|
917 |
2007-08-10 Sascha L. Teichmann <[email protected]> |
918 |
|
919 |
* tools/formed/formed/plugins/web/renderer.py: Added rendering |
920 |
for date items. Added missing ids for texts and textareas. |
921 |
|
922 |
2007-08-10 Sascha L. Teichmann <[email protected]> |
923 |
|
924 |
* tools/formed/formed/config.py: Evaluate the environment |
925 |
variable 'FORMED'. Snytax: FORMED='key1:value1;key2:value2' |
926 |
|
927 |
* tools/formed/formed/plugins/plugin.py: Give a reference |
928 |
to the config at setup time. |
929 |
|
930 |
* tools/formed/formed/plugins/web/plugin.py: To determine |
931 |
the port look at FORMED dictionary first. Key is 'web.port'. |
932 |
e.g. FORMED='web.port:8888' |
933 |
|
934 |
* tools/formed/formed/main.py: Call the plugin setup with |
935 |
the reference to the config. |
936 |
|
937 |
2007-08-10 Sascha L. Teichmann <[email protected]> |
938 |
|
939 |
* tools/formed/test-data/simple.xml: removed 'text' attributes from |
940 |
info tags. Use the 'value' attributes for same purpose now, please! |
941 |
|
942 |
* tools/formed/formed/model/data.py: removed text attributes from |
943 |
InfoLeaf. |
944 |
|
945 |
* tools/formed/formed/plugins/web/renderer.py: Rendering of info |
946 |
now uses the 'value' instead of the 'text' attributes. |
947 |
|
948 |
2007-08-09 Sascha L. Teichmann <[email protected]> |
949 |
|
950 |
* tools/formed/formed/model/data.py: next/prevPage() are |
951 |
methods of PageNode now. |
952 |
|
953 |
* tools/formed/formed/model/nodecomponents.py: findByClassAndName() |
954 |
is method of Document now. |
955 |
|
956 |
* tools/formed/formed/plugins/web/plugin.py: Factored out |
957 |
the HTML renderer. |
958 |
|
959 |
* tools/formed/formed/plugins/web/renderer.py: New: contains |
960 |
the HTML renderer now. |
961 |
|
962 |
* tools/formed/test-data/simple.xml: Fixed typo |
963 |
|
964 |
2007-08-09 Sascha L. Teichmann <[email protected]> |
965 |
|
966 |
* tools/formed/formed/plugins/web/plugin.py: Fixed a bug |
967 |
in calculation of width of bounded int fields. |
968 |
|
969 |
2007-08-09 Sascha L. Teichmann <[email protected]> |
970 |
|
971 |
* tools/formed/test-data/simple.xml: Make demo Int fancier. |
972 |
|
973 |
* tools/formed/formed/model/data.py: Added attributes to IntLeaf |
974 |
|
975 |
* tools/formed/formed/plugins/web/plugin.py: Added rendering for |
976 |
Ints |
977 |
|
978 |
2007-08-09 Sascha L. Teichmann <[email protected]> |
979 |
|
980 |
* tools/formed/test-data/simple.xml: Added demo textarea |
981 |
|
982 |
* tools/formed/formed/model/data.py: Added TextAreaLeaf |
983 |
|
984 |
* tools/formed/formed/io/document.py: register builder |
985 |
for loading of textareas |
986 |
|
987 |
* tools/formed/formed/plugins/web/plugin.py: Added rendering |
988 |
for textareas. |
989 |
|
990 |
2007-08-09 Sascha L. Teichmann <[email protected]> |
991 |
|
992 |
* tools/formed/test-data/simple.xml: Make demo choice fancier. |
993 |
|
994 |
* tools/formed/formed/model/data.py: Added attributes for texts |
995 |
|
996 |
* tools/formed/formed/plugins/web/plugin.py: Added rendering |
997 |
for texts |
998 |
|
999 |
2007-08-09 Sascha L. Teichmann <[email protected]> |
1000 |
|
1001 |
* tools/formed/test-data/simple.xml: Make demo choice fancier. |
1002 |
|
1003 |
* tools/formed/formed/model/data.py: Added attributes for choices. |
1004 |
|
1005 |
* tools/formed/formed/plugins/web/plugin.py: Added rendering |
1006 |
for choices |
1007 |
|
1008 |
2007-08-09 Sascha L. Teichmann <[email protected]> |
1009 |
|
1010 |
* tools/formed/formed/model/data.py, |
1011 |
tools/formed/formed/model/nodecomponents.py: Added new |
1012 |
attributes. |
1013 |
|
1014 |
* tools/formed/formed/plugins/web/plugin.py: Added rendering |
1015 |
for checkboxes and radio buttons. |
1016 |
|
1017 |
2007-08-08 Sascha L. Teichmann <[email protected]> |
1018 |
|
1019 |
* tools/formed/test-data/simple.xml: Added some descriptions |
1020 |
|
1021 |
* tools/formed/formed/model/data.py: set attributes in constructors |
1022 |
directly. |
1023 |
|
1024 |
* tools/formed/formed/model/nodecomponents.py: Added description |
1025 |
attribute in the NodeComponent base class. |
1026 |
|
1027 |
* tools/formed/formed/plugins/web/plugin.py: Render description |
1028 |
as legend in fieldset for GroupNodes. |
1029 |
|
1030 |
2007-08-08 Sascha L. Teichmann <[email protected]> |
1031 |
|
1032 |
* tools/formed/formed/plugins/web/plugin.py: make UTF-8 |
1033 |
output work. |
1034 |
|
1035 |
2007-08-08 Sascha L. Teichmann <[email protected]> |
1036 |
|
1037 |
* tools/formed/formed/model/data.py: Added get/setText() method |
1038 |
|
1039 |
* tools/formed/formed/plugins/web/plugin.py: Added a first |
1040 |
version of a recursive HTML renderer based on the document |
1041 |
tree. |
1042 |
|
1043 |
2007-08-08 Sascha L. Teichmann <[email protected]> |
1044 |
|
1045 |
* tools/formed/formed/plugins/*: New: plug-in infrastructure. |
1046 |
|
1047 |
* tools/formed/formed/plugins/web/*: new: A simple web server |
1048 |
which is intended to serve pages of the current formular. |
1049 |
|
1050 |
* tools/formed/formed/main.py: start the plug-ins |
1051 |
|
1052 |
* tools/formed/formed/config.py: configuration class. Used |
1053 |
for the plug-ins. |
1054 |
|
1055 |
2007-08-08 Sascha L. Teichmann <[email protected]> |
1056 |
|
1057 |
* tools/formed/formed/model/nodecomponents.py: Fixed broadcasting |
1058 |
issue with zero length tree paths. |
1059 |
|
1060 |
* tools/formed/formed/model/misc.py: New: contains a class |
1061 |
for generating unique ids. |
1062 |
|
1063 |
* tools/formed/formed/main.py: Added an instance of an |
1064 |
unique id generator for naming of new made tree items. |
1065 |
|
1066 |
2007-08-07 Sascha L. Teichmann <[email protected]> |
1067 |
|
1068 |
* tools/formed/formed/main.py: Added event route document -> |
1069 |
attribute table to get informed when selected item is delete |
1070 |
or an attribute is changed from the outside. |
1071 |
|
1072 |
* tools/formed/formed/ui/controls.py: Fixed. In older versions of |
1073 |
wxPython 2.6.x ListCtrl.InsertStringItem takes 2 instead |
1074 |
of 3 argument. Uses icons+tooltips for tree navigation now. |
1075 |
|
1076 |
2007-08-07 Sascha L. Teichmann <[email protected]> |
1077 |
|
1078 |
* tools/formed/formed/model/nodecomponents.py: Set name |
1079 |
attribute in base class. |
1080 |
|
1081 |
* tools/formed/formed/io/document.py: Added a table |
1082 |
names -> classes. |
1083 |
|
1084 |
* tools/formed/formed/main.py: Added a toolbar. Added code |
1085 |
to create and delete tree items. |
1086 |
|
1087 |
* tools/formed/formed/ui/controls.py: Added code to |
1088 |
insert and delete new tree items. |
1089 |
|
1090 |
2007-08-07 Sascha L. Teichmann <[email protected]> |
1091 |
|
1092 |
* tools/formed/formed/model/nodecomponents.py: Fixed event |
1093 |
broadcasting for attribute changes. |
1094 |
|
1095 |
* tools/formed/formed/ui/controls.py: Add a list/table control to |
1096 |
edit the attributes of a selected item. |
1097 |
|
1098 |
* tools/formed/formed/main.py: Added code to bind the new |
1099 |
list/table control. |
1100 |
|
1101 |
2007-08-06 Sascha L. Teichmann <[email protected]> |
1102 |
|
1103 |
* tools/formed/formed/main.py: Added event routes to move |
1104 |
items in and out of groups. |
1105 |
|
1106 |
* tools/formed/formed/ui/controls.py: Added code to move |
1107 |
items in and out of groups. |
1108 |
|
1109 |
2007-08-06 Sascha L. Teichmann <[email protected]> |
1110 |
|
1111 |
* tools/formed/formed/model/nodecomponents.py: Fixed path |
1112 |
calculation to root and event broadcasting |
1113 |
|
1114 |
* tools/formed/formed/io/factories.py: Adjust to new |
1115 |
event broadcasting. |
1116 |
|
1117 |
* tools/formed/formed/main.py: Added code to move items |
1118 |
up and down the document tree. |
1119 |
|
1120 |
* tools/formed/formed/ui/controls.py: Establish sort order |
1121 |
by indices of children in parent instead of alphanum. |
1122 |
Code to move items up and down the document tree. |
1123 |
|
1124 |
* tools/formed/formed/io/document.py: Added missing imports. |
1125 |
|
1126 |
2007-08-06 Sascha L. Teichmann <[email protected]> |
1127 |
|
1128 |
* tools/formed/formed.py: Added to avoid problems with |
1129 |
ambiguous absolute module names. Thanks to Bernhard Herzog |
1130 |
|
1131 |
* tools/formed/formed.sh: Starts formed.py now |
1132 |
|
1133 |
* tools/formed/formed/main.py, |
1134 |
tools/formed/formed/ui/controls.py: Added control to |
1135 |
move items around in tree. Has no effect by now. |
1136 |
|
1137 |
2007-08-05 Sascha L. Teichmann <[email protected]> |
1138 |
|
1139 |
* tools/formed/formed/io/parser.py: Adjusted style |
1140 |
|
1141 |
* tools/formed/formed/io/document.py, |
1142 |
tools/formed/formed/io/factories.py: Simplified factory |
1143 |
model for XML loading. |
1144 |
|
1145 |
2007-08-05 Sascha L. Teichmann <[email protected]> |
1146 |
|
1147 |
* ChangeLog: started ChangeLog |
1148 |
|
1149 |
* tools/formed/*: initial check-in of the Formular Editor. |
1150 |
Not working yet. Only can load, view and store formular XML files. |
1151 |
Start it with 'tools/formed/formed.sh'. |