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