1 |
|
2007-09-03 Sascha L. Teichmann <[email protected]> |
2 |
|
|
3 |
|
* tools/formed/formed/model/nodecomponents.py: Added an |
4 |
|
'annotation' attribute to node components. This is to |
5 |
|
enable FormEd document authors to add comments to groups |
6 |
|
and fields. |
7 |
|
|
8 |
|
2007-09-03 Frank Koormann <[email protected]> |
9 |
|
|
10 |
|
* tools/formed/formed/model/nodecomponents.py |
11 |
|
(NodeComponent.getParent): New method to get node components parent. |
12 |
|
|
13 |
|
* tools/formed/formed/plugins/export/html.py: Export Choice option |
14 |
|
as simple list instead of collection of bools. |
15 |
|
|
16 |
|
2007-09-02 Sascha L. Teichmann <[email protected]> |
17 |
|
|
18 |
|
* tools/formed/formed/model/persistent.py: Interfaces to abstract |
19 |
|
from persistent storage details. |
20 |
|
|
21 |
|
* tools/formed/formed/model/memory.py: In core implementation |
22 |
|
of the persistent interfaces. |
23 |
|
|
24 |
|
* tools/formed/formed/main.py: Holds a memory data store now. |
25 |
|
|
26 |
|
2007-09-02 Sascha L. Teichmann <[email protected]> |
27 |
|
|
28 |
|
* tools/formed/formed/plugins/export/sql.py, |
29 |
|
tools/formed/formed/plugins/export/html.py: Fixed constructor chains |
30 |
|
for FileDialogFilter sub classes. |
31 |
|
|
32 |
|
2007-09-02 Sascha L. Teichmann <[email protected]> |
33 |
|
|
34 |
|
* tools/formed/formed/model/misc.py: Checking the mode in recursive |
35 |
|
tree traversals is a common task. To ease this a decorator function |
36 |
|
checkMode in union with sub classing ModeChecker can be used. |
37 |
|
To make it work simply subclass from ModeChecker and add the decorator |
38 |
|
to the methods that need mode tracking. Before you start the recursion |
39 |
|
call self.prepareDescent(). |
40 |
|
|
41 |
|
* tools/formed/formed/plugins/export/html.py: Uses the new decorator scheme |
42 |
|
now which replace the old. TODO: Make the web renderer use the new scheme |
43 |
|
too. |
44 |
|
|
45 |
|
2007-09-02 Sascha L. Teichmann <[email protected]> |
46 |
|
|
47 |
|
* tools/formed/formed/plugins/export/sql.py: Removed needless import. |
48 |
|
|
49 |
|
* tools/formed/formed/plugins/export/html.py: HTML table exporter |
50 |
|
uses new FileDialogFilter base class too. |
51 |
|
|
52 |
|
2007-09-02 Sascha L. Teichmann <[email protected]> |
53 |
|
|
54 |
|
* tools/formed/formed/plugins/ui/*: New. All file exporters |
55 |
|
need a file dialog. Till now each of them pulled up its |
56 |
|
own. This was silly code replication. Now there is an abstract |
57 |
|
base class 'FileDialogFilter' which implements the common |
58 |
|
behavior. The file exporters should subclass it. |
59 |
|
|
60 |
|
* tools/formed/formed/plugins/export/sql.py: Subclass the SQL |
61 |
|
exporters from the new base class. TODO: Subclass the HTML |
62 |
|
exporter too. |
63 |
|
|
64 |
|
2007-08-31 Sascha L. Teichmann <[email protected]> |
65 |
|
|
66 |
|
* tools/formed/formed/plugins/export/html.py: Make mode check |
67 |
|
work (again). |
68 |
|
|
69 |
|
2007-08-31 Torsten Irlaender <[email protected]> |
70 |
|
|
71 |
|
* tools/formed/formed/plugins/export/html.py: Rendering of the HTML |
72 |
|
exprt works now in a recursive way. This change was needed because |
73 |
|
the structure of the formedtree has changed to be able to render |
74 |
|
full hirachically document stuctures. (nested lists) |
75 |
|
TODO: Fix modechecking |
76 |
|
|
77 |
|
2007-08-31 Torsten Irlaender <[email protected]> |
78 |
|
|
79 |
|
* tools/formed/formed/plugins/web/plugin.py: Navigation rendering works |
80 |
|
now in recursive way. This change was needed because the structure |
81 |
|
of the formedtree has changed to be able to render full hirachically |
82 |
|
document stuctures. (nested lists) |
83 |
|
|
84 |
|
2007-08-31 Sascha L. Teichmann <[email protected]> |
85 |
|
|
86 |
|
* tools/formed/formed/model/nodecomponents.py: use discard() |
87 |
|
instead of remove on sets. |
88 |
|
|
89 |
|
* tools/formed/formed/plugins/export/sql.py: Added an |
90 |
|
exporter for table views. |
91 |
|
|
92 |
|
* tools/formed/formed/config.py: Added the new exporter |
93 |
|
to the list of export filters. |
94 |
|
|
95 |
|
2007-08-30 Sascha L. Teichmann <[email protected]> |
96 |
|
|
97 |
|
* tools/formed/formed/model/data.py: Fixed a bug in |
98 |
|
Page.allWidgets() |
99 |
|
|
100 |
|
* tools/formed/formed/plugins/export/sql.py: Added an exporter |
101 |
|
for stored procudeures. |
102 |
|
|
103 |
|
* tools/formed/formed/config.py: Add the new SP exporter. |
104 |
|
|
105 |
|
2007-08-29 Torsten Irlaender <[email protected]> |
106 |
|
|
107 |
|
* tools/formed/formed/plugins/web/plugin.py, |
108 |
|
tools/formed/formed/plugins/web/error_renderer.py: Added interface |
109 |
|
to get the errors for a whole page in te formular. These errors can |
110 |
|
now be displayed on the top of the formular. |
111 |
|
|
112 |
|
2007-08-29 Torsten Irlaender <[email protected]> |
113 |
|
|
114 |
|
* tools/formed/formed/plugins/web/renderer.py: Finished implementation |
115 |
|
of the getFromData interface and prepared the rederer for generating |
116 |
|
nice error messages |
117 |
|
|
118 |
|
2007-08-28 Frank Koormann <[email protected]> |
119 |
|
|
120 |
|
* tools/formed/formed/plugins/export/sql.py |
121 |
|
(SchemaCreator.createSchema, SchemaCreator._createGroup): |
122 |
|
Fixed typo in created DDS (PRIMRAY -> PRIMARY) |
123 |
|
|
124 |
|
2007-08-28 Torsten Irlaender <[email protected]> |
125 |
|
|
126 |
|
* tools/formed/formed/plugins/export/sql.py: Added small helper |
127 |
|
function to generated valid quotes within the sql statements |
128 |
|
|
129 |
|
2007-08-29 Sascha L. Teichmann <[email protected]> |
130 |
|
|
131 |
|
* tools/formed/formed/plugins/export/sql.py: Added foreign keys |
132 |
|
for repeat tables. |
133 |
|
|
134 |
|
2007-08-29 Sascha L. Teichmann <[email protected]> |
135 |
|
|
136 |
|
* tools/formed/formed/plugins/export/sql.py: When generating |
137 |
|
an extra table check in a table of same content exists. In |
138 |
|
this case reference the existing table. |
139 |
|
|
140 |
|
2007-08-29 Sascha L. Teichmann <[email protected]> |
141 |
|
|
142 |
|
* tools/formed/formed/plugins/export/sql.py: Rewritten to produce |
143 |
|
_real_ SQL and respect repeat groups. |
144 |
|
|
145 |
|
* tools/formed/formed/model/data.py: Fixed bug with Group.isRepeat() |
146 |
|
|
147 |
|
* tools/formed/formed/plugins/web/renderer.py: Use "".join([]) |
148 |
|
instead of expensive += string concat in some places. |
149 |
|
|
150 |
|
2007-08-29 Sascha L. Teichmann <[email protected]> |
151 |
|
|
152 |
|
* tools/formed/formed/model/data.py: Renamed GroupNode.getRepeat() |
153 |
|
to .isRepeat and return a bool. Fixed a bug in Page.allWidgets(). |
154 |
|
|
155 |
|
2007-08-28 Torsten Irlaender <[email protected]> |
156 |
|
|
157 |
|
* tools/formed/plugins/web/renderer.py: Added Formdata interface. |
158 |
|
* tools/formed/model/data.py: Implements Formadata interface to |
159 |
|
textfields. Fieldset generated depends now on the "invisible" |
160 |
|
attribute of the groupnode. Field-label generation slightly changed. |
161 |
|
Added error indication to textfields |
162 |
|
|
163 |
|
2007-08-28 Sascha L. Teichmann <[email protected]> |
164 |
|
|
165 |
|
* tools/formed/formed/model/data.py, |
166 |
|
tools/formed/formed/io/document.py: Removed support |
167 |
|
of logical groups. |
168 |
|
|
169 |
|
2007-08-28 Sascha L. Teichmann <[email protected]> |
170 |
|
|
171 |
|
* tools/formed/formed/io/document.py: Avoid saving empty |
172 |
|
attributes. |
173 |
|
|
174 |
|
* tools/formed/test-data/simple.xml: Applied. |
175 |
|
|
176 |
2007-08-28 Sascha L. Teichmann <[email protected]> |
2007-08-28 Sascha L. Teichmann <[email protected]> |
177 |
|
|
178 |
* tools/formed/formed/model/data.py: Added 'repeat' and |
* tools/formed/formed/model/data.py: Added 'repeat' and |