1 |
|
2007-09-03 Sascha L. Teichmann <[email protected]> |
2 |
|
|
3 |
|
* tools/formed/formed/plugins/web/renderer.py: Using the decorator |
4 |
|
from model.misc now. |
5 |
|
|
6 |
|
2007-09-03 Sascha L. Teichmann <[email protected]> |
7 |
|
|
8 |
|
* tools/formed/formed/model/nodecomponents.py: Added an |
9 |
|
'annotation' attribute to node components. This is to |
10 |
|
enable FormEd document authors to add comments to groups |
11 |
|
and fields. |
12 |
|
|
13 |
|
2007-09-03 Frank Koormann <[email protected]> |
14 |
|
|
15 |
|
* tools/formed/formed/model/nodecomponents.py |
16 |
|
(NodeComponent.getParent): New method to get node components parent. |
17 |
|
|
18 |
|
* tools/formed/formed/plugins/export/html.py: Export Choice option |
19 |
|
as simple list instead of collection of bools. |
20 |
|
|
21 |
|
2007-09-02 Sascha L. Teichmann <[email protected]> |
22 |
|
|
23 |
|
* tools/formed/formed/model/persistent.py: Interfaces to abstract |
24 |
|
from persistent storage details. |
25 |
|
|
26 |
|
* tools/formed/formed/model/memory.py: In core implementation |
27 |
|
of the persistent interfaces. |
28 |
|
|
29 |
|
* tools/formed/formed/main.py: Holds a memory data store now. |
30 |
|
|
31 |
|
2007-09-02 Sascha L. Teichmann <[email protected]> |
32 |
|
|
33 |
|
* tools/formed/formed/plugins/export/sql.py, |
34 |
|
tools/formed/formed/plugins/export/html.py: Fixed constructor chains |
35 |
|
for FileDialogFilter sub classes. |
36 |
|
|
37 |
|
2007-09-02 Sascha L. Teichmann <[email protected]> |
38 |
|
|
39 |
|
* tools/formed/formed/model/misc.py: Checking the mode in recursive |
40 |
|
tree traversals is a common task. To ease this a decorator function |
41 |
|
checkMode in union with sub classing ModeChecker can be used. |
42 |
|
To make it work simply subclass from ModeChecker and add the decorator |
43 |
|
to the methods that need mode tracking. Before you start the recursion |
44 |
|
call self.prepareDescent(). |
45 |
|
|
46 |
|
* tools/formed/formed/plugins/export/html.py: Uses the new decorator scheme |
47 |
|
now which replace the old. TODO: Make the web renderer use the new scheme |
48 |
|
too. |
49 |
|
|
50 |
|
2007-09-02 Sascha L. Teichmann <[email protected]> |
51 |
|
|
52 |
|
* tools/formed/formed/plugins/export/sql.py: Removed needless import. |
53 |
|
|
54 |
|
* tools/formed/formed/plugins/export/html.py: HTML table exporter |
55 |
|
uses new FileDialogFilter base class too. |
56 |
|
|
57 |
|
2007-09-02 Sascha L. Teichmann <[email protected]> |
58 |
|
|
59 |
|
* tools/formed/formed/plugins/ui/*: New. All file exporters |
60 |
|
need a file dialog. Till now each of them pulled up its |
61 |
|
own. This was silly code replication. Now there is an abstract |
62 |
|
base class 'FileDialogFilter' which implements the common |
63 |
|
behavior. The file exporters should subclass it. |
64 |
|
|
65 |
|
* tools/formed/formed/plugins/export/sql.py: Subclass the SQL |
66 |
|
exporters from the new base class. TODO: Subclass the HTML |
67 |
|
exporter too. |
68 |
|
|
69 |
|
2007-08-31 Sascha L. Teichmann <[email protected]> |
70 |
|
|
71 |
|
* tools/formed/formed/plugins/export/html.py: Make mode check |
72 |
|
work (again). |
73 |
|
|
74 |
|
2007-08-31 Torsten Irlaender <[email protected]> |
75 |
|
|
76 |
|
* tools/formed/formed/plugins/export/html.py: Rendering of the HTML |
77 |
|
exprt works now in a recursive way. This change was needed because |
78 |
|
the structure of the formedtree has changed to be able to render |
79 |
|
full hirachically document stuctures. (nested lists) |
80 |
|
TODO: Fix modechecking |
81 |
|
|
82 |
|
2007-08-31 Torsten Irlaender <[email protected]> |
83 |
|
|
84 |
|
* tools/formed/formed/plugins/web/plugin.py: Navigation rendering works |
85 |
|
now in recursive way. This change was needed because the structure |
86 |
|
of the formedtree has changed to be able to render full hirachically |
87 |
|
document stuctures. (nested lists) |
88 |
|
|
89 |
2007-08-31 Sascha L. Teichmann <[email protected]> |
2007-08-31 Sascha L. Teichmann <[email protected]> |
90 |
|
|
91 |
* tools/formed/formed/model/nodecomponents.py: use discard() |
* tools/formed/formed/model/nodecomponents.py: use discard() |