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