1 |
|
2004-12-15 Bernhard Herzog <[email protected]> |
2 |
|
|
3 |
|
* test/postgissupport.py (PostgreSQLServer.execute_sql): Extend to |
4 |
|
so that it returns a result for select statements. |
5 |
|
(PostgreSQLServer.server_version): New. Return the version of the |
6 |
|
server software. |
7 |
|
(PostgreSQLServer.require_authentication): The format of |
8 |
|
pg_hba.conf has changed between PostgrSQL 7.2 and 7.3. Check the |
9 |
|
server version and generate the file in the correct format |
10 |
|
|
11 |
|
2004-12-15 Bernhard Herzog <[email protected]> |
12 |
|
|
13 |
|
* test/postgissupport.py (PostgreSQLServer.is_running): Fix typo |
14 |
|
in the doc string and rephrase it a little. |
15 |
|
|
16 |
|
2004-12-15 Frank Koormann <[email protected]> |
17 |
|
|
18 |
|
* test/test_load.py (TestAltPath.checkSession): New, extended checks if |
19 |
|
session has been loaded successfully. The check is called by the relevant |
20 |
|
tests after executing load_session(). |
21 |
|
|
22 |
|
2004-12-13 Bernhard Herzog <[email protected]> |
23 |
|
|
24 |
|
Make sure the region used to determine which shapes are visible |
25 |
|
actually matches the region on the printed page. If this isn't |
26 |
|
done properly some shapes might not be printed. |
27 |
|
Fixes RT #2692 |
28 |
|
|
29 |
|
* Thuban/UI/view.py (MapPrintout.draw_on_dc): The region for the |
30 |
|
renderer has to be at the same position as the mapregion |
31 |
|
|
32 |
|
* Thuban/UI/renderer.py (ExportRenderer.RenderMap): self.region |
33 |
|
has to be moved by (self.shiftx, self.shifty) too. |
34 |
|
|
35 |
|
2004-12-13 Bernhard Herzog <[email protected]> |
36 |
|
|
37 |
|
* libraries/pyprojection/Projection.i: Work around a bug in the |
38 |
|
generated python code which leads to exception in the __del__ |
39 |
|
method when the constructor fails. See the comments in the code |
40 |
|
for more details. |
41 |
|
|
42 |
|
* libraries/pyprojection/Projection.py: Updated from Projection.i |
43 |
|
with SWIG. |
44 |
|
|
45 |
|
2004-12-13 Bernhard Herzog <[email protected]> |
46 |
|
|
47 |
|
* test/test_load.py (TestAltPath.test_01_single_path_error_fix) |
48 |
|
(TestAltPath.test_02_path_error_fix_from_list) |
49 |
|
(TestAltPath.test_05_path_error_fix_from_list_changed) |
50 |
|
(TestAltPath.test_06_path_error_fix_from_list_fails): self.session |
51 |
|
is destroyed in tearDown, so there's no need to do it in a test |
52 |
|
case. |
53 |
|
|
54 |
|
* Thuban/Model/load.py (SessionLoader.open_shapefile): Remove a |
55 |
|
debug print |
56 |
|
|
57 |
|
2004-12-13 Bernhard Herzog <[email protected]> |
58 |
|
|
59 |
|
* Extensions/svgexport/test/test_svgmapwriter.py |
60 |
|
(TestDrawSplines.setUp): Do not use super with the unittest |
61 |
|
classes because in Python 2.2 they're still old-style classes. |
62 |
|
|
63 |
|
2004-12-13 Frank Koormann <[email protected]> |
64 |
|
|
65 |
|
Alternative Path feature: When loading a (moved) session where |
66 |
|
shapefiles cannot be found, ask the user. Use the specified path |
67 |
|
if further shapefiles are missing. However, ask the usr for confirmation |
68 |
|
in such cases. |
69 |
|
|
70 |
|
* test/test_load.py (TestAltPath): New, tests for alternative path feature |
71 |
|
in load_session() |
72 |
|
(Shapefile_CallBack): Helper, implements controllable callback. |
73 |
|
|
74 |
|
* Thuban/UI/application.py (ThubanApplication.OnInit): |
75 |
|
Added "alt_path" to self.path |
76 |
|
(ThubanApplication.OpenSession): Added shapefile_callback as second |
77 |
|
callback similar to db_connection_callback. |
78 |
|
(ThubanApplication.run_alt_path_dialog): New, implementaion of |
79 |
|
shapefile_callback. In addition to raising the dialog the control of |
80 |
|
self.path('alt_path') is implemented here. |
81 |
|
|
82 |
|
* Thuban/Model/load.py (SessionLoader.__init__): Added shapefile_callback. |
83 |
|
(SessionLoader.open_shapefile): Open shapefile, eventually with |
84 |
|
alternative path. This wrapps the "theSession.OpenShapefile(filename)" |
85 |
|
formerly used in start_fileshapesource()/start_layer(). |
86 |
|
(SessionLoader.start_fileshapesource): Call open_shapefile(). |
87 |
|
(SessionLoader.start_layer): Call open_shapefile(). |
88 |
|
(load_session): Added shapefile_callback. |
89 |
|
|
90 |
|
* Thuban/UI/altpathdialog.py: New, implements dialogs for alternative path |
91 |
|
feature (search / check). |
92 |
|
|
93 |
|
* Doc/manual/thuban-manual.xml: Added documentation of new feature. |
94 |
|
|
95 |
|
2004-12-11 Bernhard Reiter <[email protected]> |
96 |
|
|
97 |
|
svgexport 0.9.2: Point size supports for maps. |
98 |
|
|
99 |
|
* Extensions/svgexport/svgmapwriter.py: Added import of SHAPETYPE_POINT |
100 |
|
(def draw_point_shape): new parameter size defaults to 2 as before. |
101 |
|
(draw_shape_layer_incrementally): Moved draw_func log line higher. |
102 |
|
Added draw_func call with size when dealing with a point layer. |
103 |
|
|
104 |
|
* Extensions/svgexport/__init__.py: bumped version to 0.9.2. |
105 |
|
|
106 |
|
2004-12-11 Bernhard Reiter <[email protected]> |
107 |
|
|
108 |
|
Made sure that newlines are inserted in the svg path d attributes |
109 |
|
to raise the chance that the line length will be below 255 characters, |
110 |
|
as recommended by REC SVG 1.1 in section 8.3.1. |
111 |
|
|
112 |
|
* Extensions/svgexport/svgmapwriter.py(DrawPolygon): |
113 |
|
Adding \n before L's and changed whitespace handling. |
114 |
|
|
115 |
|
* Extensions/svgexport/test/test_svgmapwriter.py: |
116 |
|
Adapted tests to new whitespace handling of DrawPolygon. |
117 |
|
|
118 |
|
2004-12-11 Bernhard Reiter <[email protected]> |
119 |
|
|
120 |
|
* Doc/technotes/coding_guidelines.txt: easy typo fixed. |
121 |
|
|
122 |
|
* Extensions/svgexport/test/test_svgmapwriter.py: |
123 |
|
Removed test_drawbezier in favour of new test_drawspline3 and |
124 |
|
test_drawspline4 within new class TestDrawSplines(TestVirtualDC). |
125 |
|
All only to test DrawSpline. |
126 |
|
|
127 |
|
* Extensions/svgexport/svgmapwriter.py(DrawSpline): |
128 |
|
New implementation now really using the strange algorithm of |
129 |
|
xfig 3.1's approximated splines and its conversion to postscript |
130 |
|
with one twist: SVG can do quadratic beziers, so skipped translation |
131 |
|
to cubic beziers. |
132 |
|
(TestWithDC): Typo in comment fixed. |
133 |
|
|
134 |
|
2004-12-09 Martin Schulze <[email protected]> |
135 |
|
|
136 |
|
* Thuban/Model/classgen.py: Added missing character encoding |
137 |
|
|
138 |
|
* Extensions/wms/properties.py (OpenWMSProperties): removed |
139 |
|
|
140 |
|
* Extensions/wms/parser.py (WMSCapabilitiesParser.error): Dropped |
141 |
|
support for get_srs_discrepancies() since there are no |
142 |
|
discrepancies anymore (was a thinko) |
143 |
|
|
144 |
|
* Extensions/wms/layer.py (WMSLayer.GetMapImg): Improved graphic |
145 |
|
format priority now that more formats are supported globally by |
146 |
|
the render engine. |
147 |
|
|
148 |
|
2004-12-08 Silke Reimer <[email protected]> |
149 |
|
* Extensions/ogr/ogrshapes.py: Substituted ogr-method CloseRings |
150 |
|
because it is not available in all versions of ogr |
151 |
|
|
152 |
|
2004-12-08 Bernhard Reiter <[email protected]> |
153 |
|
* Extensions/ogr/__init__.py: Added empty __init__.py to heal |
154 |
|
global tests until a real one is commited. |
155 |
|
|
156 |
|
2004-12-07 Nina H�ffmeyer <[email protected]> |
157 |
|
|
158 |
|
* /Extensions/ogr/: Adding a new extension to read shapefiles with |
159 |
|
ogr. It is planned to add other vector formats. |
160 |
|
|
161 |
|
* /test/runtests.py: Adding tests from /Extensions/ogr/test/. |
162 |
|
|
163 |
|
2004-12-07 Jan-Oliver Wagner <[email protected]> |
164 |
|
|
165 |
|
* /Extensions/svgexport/test/test_svgmapwriter.py: Reverting |
166 |
|
part of a (non-)fix to renable that the tests are always |
167 |
|
executed. |
168 |
|
|
169 |
|
2004-12-07 Bernhard Reiter <[email protected]> |
170 |
|
|
171 |
|
* Extensions/svgexport/test/test_svgmapwriter.py: |
172 |
|
Added test_drawbezier() to test DrawSpline(). |
173 |
|
|
174 |
|
* Extensions/svgexport/svgmapwriter.py(DrawSpline): |
175 |
|
Really implemented bezier drawing. |
176 |
|
|
177 |
|
* Extensions/svgexport/__init__.py: Bumped version of svgexport |
178 |
|
to 0.9.1 because now the legend examples lines styles |
179 |
|
will be drawing with beziers. |
180 |
|
|
181 |
|
2004-12-05 Martin Schulze <[email protected]> |
182 |
|
|
183 |
|
* Thuban/UI/renderer.py (raster_format_map): Added PNG, TIFF and |
184 |
|
GIF as supported bitmap image formats (helpful for the WMS extension) |
185 |
|
|
186 |
|
2004-11-30 Martin Schulze <[email protected]> |
187 |
|
|
188 |
|
* Extensions/wms/test/test_ogclib.py (TestOGCLib.test_compareURLs): |
189 |
|
Improved the test for the internal compare method |
190 |
|
|
191 |
|
2004-11-27 Jan-Oliver Wagner <[email protected]> |
192 |
|
|
193 |
|
* Thuban/UI/about.py (About.__init__): Added |
194 |
|
Norbert Solymosi for hungarian translation and Ole Rahn |
195 |
|
as contrbutor. Moved Bernhard Reiter from Contributor |
196 |
|
to Developer. |
197 |
|
|
198 |
|
2004-11-27 Bernhard Reiter <[email protected]> |
199 |
|
|
200 |
|
* Extensions/svgexport/test/test_svgmapwriter.py: |
201 |
|
Removed Jan from author list as he did not change enough significant |
202 |
|
lines yet. |
203 |
|
|
204 |
|
* Extensions/svgexport/__init__.py: Added Bernhard as author |
205 |
|
of the Extension. |
206 |
|
|
207 |
|
2004-11-27 Jan-Oliver Wagner <[email protected]> |
208 |
|
|
209 |
|
* po/hu.po: New. Hungarian translation. Contributed |
210 |
|
by Norbert Solymosi. |
211 |
|
|
212 |
|
2004-11-26 Bernhard Herzog <[email protected]> |
213 |
|
|
214 |
|
* Extensions/svgexport/test/test_svgmapwriter.py |
215 |
|
(Testobjectexport.test_transparent_polygon): Commented out some |
216 |
|
debug prints |
217 |
|
|
218 |
|
2004-11-24 Jan-Oliver Wagner <[email protected]> |
219 |
|
|
220 |
|
Fix broken tests for svg extension and added svg legend |
221 |
|
to Experimental menu. |
222 |
|
|
223 |
|
* Extensions/svgexport/test/test_svgmapwriter.py: Fix to have |
224 |
|
the test run correctly even if the extension is a package. |
225 |
|
Also removed the "import Thuban" which makes no sense. |
226 |
|
|
227 |
|
* Extensions/svgexport/__init__.py: Fix to have the extensions' |
228 |
|
test module also be executed from the global test routine. |
229 |
|
This is done by looking for the absense of the DISPLAY variable. |
230 |
|
|
231 |
|
* Extensions/svgexport/maplegend.py: Moved the menu entry from Extensions |
232 |
|
to Experimental menu since this module has yet not reached a stable |
233 |
|
status (ie. 1.0). |
234 |
|
|
235 |
2004-11-22 Bernhard Reiter <[email protected]> |
2004-11-22 Bernhard Reiter <[email protected]> |
236 |
|
|
237 |
* Extensions/svgexport/svgmapwriter.py: |
* Extensions/svgexport/svgmapwriter.py: |