1 |
|
2003-08-25 Bernhard Herzog <[email protected]> |
2 |
|
|
3 |
|
* Thuban/UI/mainwindow.py (__ThubanVersion__): Remove this and |
4 |
|
replace it and the comment with __BuildDate__ by the Source: and |
5 |
|
Id: cvs keywords as used in the other files. |
6 |
|
|
7 |
|
2003-08-25 Bernhard Herzog <[email protected]> |
8 |
|
|
9 |
|
* Thuban/Model/load.py (SessionLoader.check_attrs): Raise a |
10 |
|
LoadError when a required attribute is missing. The code used to |
11 |
|
be commented out for some reason, but probably should have been |
12 |
|
active. |
13 |
|
|
14 |
|
* test/test_load.py (TestLoadError.test): Test the message in the |
15 |
|
LoadError too to make sure it really is about the missing |
16 |
|
attribute |
17 |
|
|
18 |
|
2003-08-22 Bernhard Herzog <[email protected]> |
19 |
|
|
20 |
|
* test/test_save.py (SaveSessionTest.test_dbf_table) |
21 |
|
(SaveSessionTest.test_joined_table): Add XML validation tests. |
22 |
|
|
23 |
|
2003-08-22 Bernhard Herzog <[email protected]> |
24 |
|
|
25 |
|
Implement saving a session with a postgis connection |
26 |
|
|
27 |
|
* Resources/XML/thuban-0.9.dtd (dbconnection, dbshapesource) New |
28 |
|
elements for database connections and shapestores using db |
29 |
|
connections |
30 |
|
(session): Add the dbconnections to the content model |
31 |
|
|
32 |
|
* Thuban/Model/save.py (SessionSaver.write_db_connections): New. |
33 |
|
Write the db connections |
34 |
|
(SessionSaver.write_session): Call write_db_connections to write |
35 |
|
the connection before the data sources |
36 |
|
(SessionSaver.write_data_containers): Handle postgis shapestores |
37 |
|
|
38 |
|
* test/test_save.py (SaveSessionTest.thubanids) |
39 |
|
(SaveSessionTest.thubanidrefs): Update for new DTD |
40 |
|
(SaveSessionTest.test_save_postgis): New. Test saving a session |
41 |
|
with postgis connections |
42 |
|
|
43 |
|
* Thuban/Model/postgisdb.py (PostGISTable.DBConnection) |
44 |
|
(PostGISTable.TableName): New accessor methods for the connection |
45 |
|
and table name |
46 |
|
|
47 |
|
* test/test_postgis_db.py (TestPostGISTable.test_dbconn) |
48 |
|
(TestPostGISTable.test_dbname): New methods to test the new |
49 |
|
PostGISConnection methods |
50 |
|
|
51 |
|
2003-08-22 Bernhard Herzog <[email protected]> |
52 |
|
|
53 |
|
* Thuban/Model/postgisdb.py (ConnectionError): New exception class |
54 |
|
for exceptions occurring when establishing a Database connection |
55 |
|
(PostGISConnection.connect): Catch psycopg.OperationalError during |
56 |
|
connects and raise ConnectionError. |
57 |
|
|
58 |
|
* test/test_postgis_db.py (TestPostgisDBExceptions): New class for |
59 |
|
tests for database exceptions |
60 |
|
|
61 |
|
2003-08-22 Bernhard Herzog <[email protected]> |
62 |
|
|
63 |
|
Prepare the test suite for tests with required authentication |
64 |
|
|
65 |
|
* test/postgissupport.py (PostgreSQLServer.__init__): Add instance |
66 |
|
variables with two predefined users/passwords, one for the admin |
67 |
|
and one for a non-privileged user. |
68 |
|
(PostgreSQLServer.createdb): Pass the admin name to initdb and add |
69 |
|
the non-privileged user to the database and set the admin password |
70 |
|
(PostgreSQLServer.wait_for_postmaster): Use the admin user name. |
71 |
|
Better error reporting |
72 |
|
(PostgreSQLServer.connection_params) |
73 |
|
(PostgreSQLServer.connection_string): New methods to return |
74 |
|
information about how to connect to the server |
75 |
|
(PostgreSQLServer.execute_sql): New. Convenience method to execute |
76 |
|
SQL statements |
77 |
|
(PostgreSQLServer.require_authentication): Toggle whether the |
78 |
|
server requires authentication |
79 |
|
(PostgreSQLServer.create_user, PostgreSQLServer.alter_user): New. |
80 |
|
Add or alter users |
81 |
|
(PostGISDatabase.initdb): Pass the admin name one the |
82 |
|
subprocesses' command lines. Grant select rights on |
83 |
|
geometry_columns to everybody. |
84 |
|
(upload_shapefile): Use the admin name and password when |
85 |
|
connecting. Grant select rights on the new table to everybody. |
86 |
|
|
87 |
|
* test/test_viewport.py (TestViewportWithPostGIS.setUp): Use the |
88 |
|
server's new methods to get the connection parameters. |
89 |
|
|
90 |
|
* test/test_postgis_session.py (TestSessionWithPostGIS.setUp) |
91 |
|
(TestSessionWithPostGIS.test_remove_dbconn_exception): Use the |
92 |
|
server's new methods to get the connection parameters. |
93 |
|
|
94 |
|
* test/test_postgis_db.py |
95 |
|
(TestPostGISConnection.test_gis_tables_empty) |
96 |
|
(TestPostGISConnection.test_gis_tables_non_empty) |
97 |
|
(PostGISStaticTests.setUp): Use the server's new methods to get |
98 |
|
the connection parameters. |
99 |
|
|
100 |
|
2003-08-22 Bernhard Herzog <[email protected]> |
101 |
|
|
102 |
|
* Thuban/UI/about.py (About.__init__): Add the psycopg version. |
103 |
|
|
104 |
|
* Thuban/version.py: Add psycopg version |
105 |
|
|
106 |
|
* Thuban/Model/postgisdb.py (psycopg_version): New. Return the |
107 |
|
version of the psycopg module |
108 |
|
|
109 |
|
2003-08-22 Bernhard Herzog <[email protected]> |
110 |
|
|
111 |
|
* Thuban/UI/dbdialog.py (DBPwdDlg): Removed because it's not used. |
112 |
|
(DBFrame.OnEdit): Removed because it's not used and wouldn't work |
113 |
|
at the moment. The functionality should probably be implemented |
114 |
|
some time, though. |
115 |
|
(DBFrame.OnRemove): Display a message if the connection can't be |
116 |
|
removed because it's still in use. |
117 |
|
|
118 |
|
2003-08-22 Jan-Oliver Wagner <[email protected]> |
119 |
|
|
120 |
|
* Thuban/UI/about.py (About.__init__): split up the huge about |
121 |
|
text into elements/lists for easier translation. This fixes bug |
122 |
|
https://intevation.de/rt/webrt?serial_num=2058 |
123 |
|
Also, made some forgotten string available for the i18n. |
124 |
|
|
125 |
|
2003-08-21 Bernhard Herzog <[email protected]> |
126 |
|
|
127 |
|
Make postgis support really optional including insensitive menu |
128 |
|
items. |
129 |
|
|
130 |
|
* Thuban/Model/postgisdb.py (has_postgis_support): New. Return |
131 |
|
whether the postgis is supported. |
132 |
|
|
133 |
|
* Thuban/UI/dbdialog.py: Put the psycopg import into try..except |
134 |
|
to make postgis support optional |
135 |
|
|
136 |
|
* Thuban/UI/mainwindow.py (_has_postgis_support): New. Context |
137 |
|
version of Thuban.Model.postgisdb.has_postgis_support |
138 |
|
(database_management command): Make it only sensitive if postgis |
139 |
|
is supported. |
140 |
|
|
141 |
|
2003-08-21 Jan-Oliver Wagner <[email protected]> |
142 |
|
|
143 |
|
* Doc/manual/thuban-manual.xml: Added CVS revision for rev-history. |
144 |
|
(section Adding and Removing Layers): Added text and described |
145 |
|
multi-selection. |
146 |
|
(chapter Extensions): New. |
147 |
|
|
148 |
|
2003-08-21 Jan-Oliver Wagner <[email protected]> |
149 |
|
|
150 |
|
* Thuban/UI/mainwindow.py (MainWindow.AddLayer): Changed dialog |
151 |
|
settings to allow multiple files to load into the map. |
152 |
|
Also reduced selection to *.shp as a default. |
153 |
|
|
154 |
|
2003-08-20 Bernhard Herzog <[email protected]> |
155 |
|
|
156 |
|
Add dialogs and commands to open database connections and add |
157 |
|
database layers. |
158 |
|
|
159 |
|
* Thuban/UI/mainwindow.py (MainWindow.DatabaseManagement): New |
160 |
|
method to open the database connection management dialog |
161 |
|
(MainWindow.AddDBLayer): New method to add a layer from a database |
162 |
|
(_has_dbconnections): New helper function to use for sensitivity |
163 |
|
(database_management command, layer_add_db command): New commands |
164 |
|
that call the above new methods. |
165 |
|
(main_menu): Add the new commands to the menu. |
166 |
|
|
167 |
|
* Thuban/Model/postgisdb.py (PostGISConnection.__init__) |
168 |
|
(PostGISConnection.connect): Establish the actual connection in a |
169 |
|
separate method and call it in __init__. This makes it easier to |
170 |
|
override the behavior in test cases |
171 |
|
(PostGISConnection.BriefDescription): New method to return a brief |
172 |
|
description for use in dialogs. |
173 |
|
|
174 |
|
* test/test_postgis_db.py (NonConnection): DB connection that |
175 |
|
doesn't actually connect |
176 |
|
(TestBriefDescription): New class with tests for the new |
177 |
|
BriefDescription method |
178 |
|
|
179 |
|
2003-08-19 Jan-Oliver Wagner <[email protected]> |
180 |
|
|
181 |
|
Moved anything from extensions to libraries. |
182 |
|
|
183 |
|
* libraries: New. |
184 |
|
|
185 |
|
* libraries/ pyprojection, pyshapelib, shapelib, thuban: New. |
186 |
|
|
187 |
|
* libraries/pyprojection/ LICENSE, MANIFEST.in, Projection.i, |
188 |
|
Projection.py, Projection_wrap.c, setup.py, swighelp.txt: These files have |
189 |
|
been moved here from thuban/extensions/pyprojection/ |
190 |
|
See there in the Attic for the older history. |
191 |
|
|
192 |
|
* libraries/pyshapelib/ COPYING, ChangeLog, NEWS, README, dbflib.i, |
193 |
|
dbflib.py, dbflib_wrap.c, pyshapelib_api.h, pytest.py, setup.py, |
194 |
|
shapelib.i, shapelib.py, shapelib_wrap.c, shptreemodule.c: These files |
195 |
|
have been moved here from thuban/extensions/pyshapelib/ |
196 |
|
See there in the Attic for the older history. |
197 |
|
|
198 |
|
* libraries/shapelib/ dbfopen.c, shapefil.h, shpopen.c, shptree.c: These |
199 |
|
files have been moved here from thuban/extensions/shapelib/ |
200 |
|
See there in the Attic for the older history. |
201 |
|
|
202 |
|
* libraries/thuban/ bmpdataset.cpp, cpl_mfile.cpp, cpl_mfile.h, |
203 |
|
gdalwarp.cpp, wxproj.cpp: These files have been moved here from |
204 |
|
thuban/extensions/thuban/ |
205 |
|
See there in the Attic for the older history. |
206 |
|
|
207 |
|
* MANIFEST.in, setup.cfg, setup.py: renamed extensions to libraries. |
208 |
|
|
209 |
|
* extensions/thuban/ bmpdataset.cpp, cpl_mfile.cpp, cpl_mfile.h, |
210 |
|
gdalwarp.cpp, wxproj.cpp: Moved to libraries/thuban. |
211 |
|
|
212 |
|
* extensions/shapelib/ dbfopen.c, shapefil.h, shpopen.c, shptree.c: |
213 |
|
Moved to libraries/shapelib. |
214 |
|
|
215 |
|
* extensions/pyshapelib/ COPYING, NEWS, dbflib.py, pytest.py, |
216 |
|
shapelib.py, README, dbflib_wrap.c, setup.py, shapelib_wrap.c, |
217 |
|
ChangeLog, dbflib.i, pyshapelib_api.h, shapelib.i, shptreemodule.c: |
218 |
|
Moved to libraries/pyshapelib. |
219 |
|
|
220 |
|
* extensions/pyprojection/ MANIFEST.in, Projection.py, setup.py, |
221 |
|
LICENSE, Projection.i, Projection_wrap.c, swighelp.txt: |
222 |
|
Moved to libraries/pyprojection. |
223 |
|
|
224 |
|
* extensions/ pyprojection, pyshapelib, shapelib, thuban: Removed. |
225 |
|
|
226 |
|
* extensions: Removed. |
227 |
|
|
228 |
|
2003-08-19 Bernhard Herzog <[email protected]> |
229 |
|
|
230 |
|
* test/test_viewport.py (ViewPortTest): We don't use the |
231 |
|
facilities of FileTestMixin so don't derive from it. |
232 |
|
(TestViewportWithPostGIS): New class with tests for using a |
233 |
|
viewport on a map with postgis layers. |
234 |
|
|
235 |
|
2003-08-19 Bernhard Herzog <[email protected]> |
236 |
|
|
237 |
|
Add the db connection management to the session. |
238 |
|
|
239 |
|
* Thuban/Model/session.py (Session.__init__): New instance |
240 |
|
variable db_connections |
241 |
|
(Session.AddDBConnection, Session.DBConnections) |
242 |
|
(Session.HasDBConnections, Session.CanRemoveDBConnection) |
243 |
|
(Session.RemoveDBConnection): New methods to manage and query the |
244 |
|
db connections managed by the session |
245 |
|
(Session.OpenDBShapeStore): New method to open a shapestore from a |
246 |
|
db connection |
247 |
|
|
248 |
|
* Thuban/Model/messages.py (DBCONN_REMOVED, DBCONN_ADDED): New |
249 |
|
messages for the db connection handling in the session |
250 |
|
|
251 |
|
* test/test_postgis_session.py: New. test cases for the session's |
252 |
|
db connection handling with postgis connections |
253 |
|
|
254 |
|
2003-08-19 Bernhard Herzog <[email protected]> |
255 |
|
|
256 |
|
Add very basic postgis database support and the corresponding test |
257 |
|
cases. The test cases require a PostgreSQL + postgis installation |
258 |
|
but no existing database. The database will be created |
259 |
|
automatically by the test cases |
260 |
|
|
261 |
|
* test/README: Add note about skipped tests and the requirements |
262 |
|
of the postgis tests. |
263 |
|
|
264 |
|
* Thuban/Model/postgisdb.py: New. Basic postgis database support. |
265 |
|
|
266 |
|
* test/test_postgis_db.py: New. Test cases for the postgis |
267 |
|
support. |
268 |
|
|
269 |
|
* Thuban/Model/wellknowntext.py: New. Parser for well-known-text |
270 |
|
format |
271 |
|
|
272 |
|
* test/test_wellknowntext.py: New. Test cases for the |
273 |
|
wellknowntext parser |
274 |
|
|
275 |
|
* test/postgissupport.py: New. Support module for tests involving |
276 |
|
a postgis database. |
277 |
|
|
278 |
|
* test/support.py (execute_as_testsuite): Shut down the postmaster |
279 |
|
if it's still running after the tests |
280 |
|
|
281 |
|
* Thuban/Model/data.py (RAW_WKT): New constant for raw data in |
282 |
|
well known text format |
283 |
|
|
284 |
|
2003-08-19 Jan-Oliver Wagner <[email protected]> |
285 |
|
|
286 |
|
* Examples/simple_extensions/hello_world.py: New. Raises a Hello World |
287 |
|
message dialog. |
288 |
|
|
289 |
|
2003-08-18 Bernhard Herzog <[email protected]> |
290 |
|
|
291 |
|
* test/support.py (ThubanTestResult.printErrors): Indent the |
292 |
|
reason for the skips in the output to make it a bit more readable. |
293 |
|
(execute_as_testsuite): New helper function to run a test suite |
294 |
|
and print some more information. |
295 |
|
(run_tests): Use execute_as_testsuite to run the tests |
296 |
|
|
297 |
|
* test/runtests.py (main): Use execute_as_testsuite to run the |
298 |
|
tests |
299 |
|
|
300 |
|
2003-08-18 Bernhard Herzog <[email protected]> |
301 |
|
|
302 |
|
Fix some bugs in Thuban and the test suite that were uncovered by |
303 |
|
changes introduced in Python 2.3: |
304 |
|
|
305 |
|
* Thuban/Model/table.py (DBFTable.__init__): Make sure the |
306 |
|
filename is an absolute name |
307 |
|
|
308 |
|
* Thuban/Model/layer.py (RasterLayer.__init__): Make sure the |
309 |
|
filename is an absolute name |
310 |
|
|
311 |
|
* test/test_save.py (SaveSessionTest.testRasterLayer): Use a |
312 |
|
unique filename to save to and use the correct relative filename |
313 |
|
in the expected output. |
314 |
|
(SaveSessionTest.test_dbf_table): Use the correct relative |
315 |
|
filename in the expected output. |
316 |
|
|
317 |
|
* test/test_layer.py (TestLayer.test_raster_layer): Update the |
318 |
|
test to check whether the filename is absolute. |
319 |
|
|
320 |
|
2003-08-18 Jan-Oliver Wagner <[email protected]> |
321 |
|
|
322 |
|
* Thuban/UI/about.py (About.__init__): Added Silke Reimer. |
323 |
|
|
324 |
|
2003-08-15 Bernhard Herzog <[email protected]> |
325 |
|
|
326 |
|
Change the way shapes are returned by a shape store. The |
327 |
|
ShapesInRegion method returns an iterator over actual shape |
328 |
|
objects instead of a list of shape ids. |
329 |
|
|
330 |
|
* Thuban/Model/data.py (ShapefileShape.ShapeID): New. Return shape |
331 |
|
id. |
332 |
|
(ShapefileStore.ShapesInRegion): Return an iterator over the |
333 |
|
shapes which yields shape objects instead of returning a list of |
334 |
|
shape ids |
335 |
|
(ShapefileStore.AllShapes): New. Return an iterator over all |
336 |
|
shapes in the shape store |
337 |
|
(DerivedShapeStore.AllShapes): New. Like in ShapefileStore |
338 |
|
|
339 |
|
* Thuban/Model/layer.py (Layer.ShapesInRegion): Update |
340 |
|
doc-string. |
341 |
|
|
342 |
|
* Thuban/UI/baserenderer.py |
343 |
|
(BaseRenderer.layer_ids, BaseRenderer.layer_shapes): Rename to |
344 |
|
layer_shapes and make it return an iterator containg shapes |
345 |
|
instead of a list of ids. |
346 |
|
(BaseRenderer.draw_shape_layer): Update doc-string; Adapt to |
347 |
|
layer_shapes() change |
348 |
|
|
349 |
|
* Thuban/UI/renderer.py (ScreenRenderer.layer_ids) |
350 |
|
(ScreenRenderer.layer_shapes): Rename as in BaseRenderer |
351 |
|
|
352 |
|
* Thuban/UI/viewport.py (ViewPort._find_shape_in_layer): Adapt to |
353 |
|
changes in the ShapesInRegion return value. |
354 |
|
(ViewPort._get_hit_tester): Remove commented out code |
355 |
|
|
356 |
|
* test/mockgeo.py (SimpleShapeStore.ShapesInRegion): Adapt to the |
357 |
|
new return value. |
358 |
|
(SimpleShapeStore.AllShapes): New. Implement this method too. |
359 |
|
|
360 |
|
* test/test_layer.py (TestLayer.test_arc_layer) |
361 |
|
(TestLayer.test_polygon_layer, TestLayer.test_point_layer) |
362 |
|
(TestLayer.test_point_layer_with_projection) |
363 |
|
(TestLayer.test_derived_store): Adapt to changes in the |
364 |
|
ShapesInRegion return value. |
365 |
|
|
366 |
|
* test/test_shapefilestore.py |
367 |
|
(TestShapefileStoreArc.test_shapes_in_region) |
368 |
|
(TestShapefileStorePolygon.test_shapes_in_region) |
369 |
|
(TestShapefileStorePoint.test_shapes_in_region): Adapt to changes |
370 |
|
in the ShapesInRegion return value. |
371 |
|
(TestShapefileStorePoint.test_all_shapes) |
372 |
|
(TestShapefileStoreArc.test_shape_shapeid): New tests for the new |
373 |
|
methods |
374 |
|
|
375 |
|
* test/test_derivedshapestore.py |
376 |
|
(TestDerivedShapeStore.test_shapes_in_region): Adapt to changes in |
377 |
|
the ShapesInRegion return value. |
378 |
|
(TestDerivedShapeStore.test_all_shapes) |
379 |
|
(TestDerivedShapeStore.test_shape_shapeid): New tests for the new |
380 |
|
methods |
381 |
|
|
382 |
|
2003-08-15 Bernhard Herzog <[email protected]> |
383 |
|
|
384 |
|
Make the renderers deal correctly with raw vs. python level |
385 |
|
representation of shape geometries |
386 |
|
|
387 |
|
* Thuban/UI/baserenderer.py (BaseRenderer.low_level_renderer): |
388 |
|
Return a flag useraw in addition to the callable and the parameter |
389 |
|
to indicate whether the callable can deal with the raw shape data |
390 |
|
or uses the higher level python lists of coordinates. The callable |
391 |
|
now should accept either the raw data or the return value of the |
392 |
|
shape's Points() method. |
393 |
|
(BaseRenderer.draw_shape_layer): Adapt to the low_level_renderer |
394 |
|
change |
395 |
|
(BaseRenderer.projected_points): Instead of the shape id use the |
396 |
|
points list as parameter. |
397 |
|
(BaseRenderer.draw_polygon_shape, BaseRenderer.draw_arc_shape) |
398 |
|
(BaseRenderer.draw_point_shape): Adapt to projected_points() |
399 |
|
change and accept the points list as parameter instead of the |
400 |
|
shape id. |
401 |
|
|
402 |
|
* Thuban/UI/renderer.py (MapRenderer.low_level_renderer): Return |
403 |
|
the useraw flag as required by the BaseRenderer |
404 |
|
(ScreenRenderer.draw_shape_layer): Adapt to low-level renderer |
405 |
|
changes. |
406 |
|
|
407 |
|
* test/test_baserenderer.py |
408 |
|
(TestBaseRenderer.test_point_with_classification): New test for |
409 |
|
rendering a map with classifications. |
410 |
|
|
411 |
|
2003-08-15 Bernhard Herzog <[email protected]> |
412 |
|
|
413 |
|
* Thuban/UI/viewport.py (ViewPort.find_shape_at) |
414 |
|
(ViewPort._find_shape_in_layer, ViewPort._find_shape_in_layer) |
415 |
|
(ViewPort._get_hit_tester, ViewPort.projected_points) |
416 |
|
(ViewPort._hit_point, ViewPort._hit_arc, ViewPort._hit_polygon) |
417 |
|
(ViewPort._find_label_at): Split the find_shape_at method into |
418 |
|
several new methods and use the functions in the hit-test module. |
419 |
|
|
420 |
|
* Thuban/UI/hittest.py: New module with Python-level hit-testing |
421 |
|
functions |
422 |
|
|
423 |
|
* test/test_hittest.py: New. Test for the new hittest module |
424 |
|
|
425 |
|
2003-08-15 Bernhard Herzog <[email protected]> |
426 |
|
|
427 |
|
* Thuban/Model/layer.py (Layer.ShapesInRegion): Apply the layer |
428 |
|
projection to all corners of the bounding box to get a better |
429 |
|
approximation of the projected bounding box |
430 |
|
|
431 |
|
* test/test_layer.py (TestLayer.test_point_layer_with_projection): |
432 |
|
New. Test coordinate handling of a layer with a projection. |
433 |
|
Catches the bug fixed in Layer.ShapesInRegion |
434 |
|
|
435 |
|
2003-08-15 Bernhard Herzog <[email protected]> |
436 |
|
|
437 |
|
Move some of the mock objects in test_baserenderer into their own |
438 |
|
module so they can easily be used from other tests |
439 |
|
|
440 |
|
* test/mockgeo.py: New test helper module with some mock objects |
441 |
|
for geometry related things like shapes, shapestores and |
442 |
|
projections. |
443 |
|
|
444 |
|
* test/test_mockgeo.py: New. Tests for the new helper module |
445 |
|
|
446 |
|
* test/test_baserenderer.py: Some of the mock-objects are in |
447 |
|
mockgeo now. |
448 |
|
|
449 |
|
2003-08-12 Jan-Oliver Wagner <[email protected]> |
450 |
|
|
451 |
|
* Thuban/UI/about.py (About.__init__): Added Bj�rn Broscheit. |
452 |
|
|
453 |
|
2003-08-12 Bernhard Herzog <[email protected]> |
454 |
|
|
455 |
|
* po/de.po: New. German translations by Bjoern Broscheit |
456 |
|
|
457 |
|
2003-08-12 Bernhard Herzog <[email protected]> |
458 |
|
|
459 |
|
* Thuban/UI/projdialog.py (UnknownProjPanel._DoLayout): Translated |
460 |
|
strings have to be one string literal. |
461 |
|
|
462 |
|
2003-08-11 Bernhard Herzog <[email protected]> |
463 |
|
|
464 |
|
* test/support.py (FloatComparisonMixin.assertPointListEquals): |
465 |
|
New. This method was used in various derived classes, but it's |
466 |
|
better to have it here. |
467 |
|
|
468 |
|
* test/test_shapefilestore.py |
469 |
|
(ShapefileStoreTests.assertPointListEquals): Removed. It's now in |
470 |
|
FloatComparisonMixin |
471 |
|
|
472 |
|
* test/test_layer.py (TestLayer.assertPointListEquals): Removed. |
473 |
|
It's now in FloatComparisonMixin |
474 |
|
|
475 |
|
* test/test_derivedshapestore.py |
476 |
|
(TestDerivedShapeStore.assertPointListEquals): Removed. It's now |
477 |
|
in FloatComparisonMixin |
478 |
|
|
479 |
|
2003-08-11 Bernhard Herzog <[email protected]> |
480 |
|
|
481 |
|
* Thuban/UI/join.py (JoinDialog.OnJoin): Add missing space to |
482 |
|
error message |
483 |
|
|
484 |
|
2003-08-08 Jan-Oliver Wagner <[email protected]> |
485 |
|
|
486 |
|
* Doc/manual/thuban-manual.xml: Now use authorgroup. Added revhistory |
487 |
|
with version number. |
488 |
|
Changed title to reflect version number of Thuban. |
489 |
|
|
490 |
|
2003-08-08 Jan-Oliver Wagner <[email protected]> |
491 |
|
|
492 |
|
* Thuban/UI/about.py (About.__init__): Reworked the hall of fame. Now |
493 |
|
the list corresponds to the "About" web page. |
494 |
|
|
495 |
|
2003-08-08 Bernhard Herzog <[email protected]> |
496 |
|
|
497 |
|
* Thuban/UI/projdialog.py (UTMProposeZoneDialog.dialogLayout): |
498 |
|
Make sure translated strings are recognized as one string literal. |
499 |
|
|
500 |
|
* Thuban/UI/proj4dialog.py (UTMProposeZoneDialog.dialogLayout): |
501 |
|
Make sure translated strings are recognized as one string literal. |
502 |
|
|
503 |
|
* Thuban/UI/classgen.py (ClassGenDialog.OnOK): Make sure |
504 |
|
translated strings are recognized as one string literal. |
505 |
|
|
506 |
|
* Thuban/UI/application.py (ThubanApplication.OpenSession): Make |
507 |
|
sure translated strings are recognized as one string literal. |
508 |
|
|
509 |
|
2003-08-07 Bernhard Herzog <[email protected]> |
510 |
|
|
511 |
|
* Thuban/Model/data.py (DerivedShapeStore.RawShapeFormat): New. |
512 |
|
Simply delegates to the original shapestore. |
513 |
|
|
514 |
|
* test/test_derivedshapestore.py |
515 |
|
(TestDerivedShapeStore.test_raw_format): New. Test case for |
516 |
|
DerivedShapeStore.RawShapeFormat |
517 |
|
|
518 |
|
2003-08-07 Bernhard Herzog <[email protected]> |
519 |
|
|
520 |
|
Add raw data interface to shape objects. |
521 |
|
|
522 |
|
* Thuban/Model/data.py (ShapefileShape, Shape): Rname the shape |
523 |
|
class to ShapefileShape which now holds shapefile specific |
524 |
|
information. |
525 |
|
(ShapefileShape.compute_bbox): Simplified to not cache any |
526 |
|
information. The way this method is used that shouldn't matter |
527 |
|
performance wise. |
528 |
|
(ShapefileShape.RawData): New. Return the shapeid which is the raw |
529 |
|
data format for shapes from shapefiles. |
530 |
|
(ShapefileStore.RawShapeFormat): New. Return the raw datatype used |
531 |
|
in the shape objects returned by a shapestore. For a |
532 |
|
ShapefileStore this is always RAW_SHAPEFILE. |
533 |
|
(RAW_PYTHON, RAW_SHAPEFILE): Constants for the RawShapeFormat |
534 |
|
method. |
535 |
|
|
536 |
|
* test/test_shapefilestore.py |
537 |
|
(TestShapefileStore.test_raw_format): New test to test the raw |
538 |
|
format feature of shapes. |
539 |
|
|
540 |
|
* Thuban/Model/layer.py: Remove the unused import of Shape from |
541 |
|
data. It was only there for interface compatibility but it's not |
542 |
|
used inside of Thuban and the generic Shape class has gone away. |
543 |
|
|
544 |
|
* Thuban/UI/renderer.py (MapRenderer.low_level_renderer): Check |
545 |
|
the raw data format and only use an optimized version of its a |
546 |
|
shapefile. |
547 |
|
|
548 |
|
2003-08-07 Bernhard Herzog <[email protected]> |
549 |
|
|
550 |
|
* test/test_baserenderer.py (SimpleShape): Shape class for the |
551 |
|
tests. |
552 |
|
(SimpleShapeStore.Shape): Use SimpleShape instead of |
553 |
|
Thuban.Model.data.Shape to make the tests independed of the coming |
554 |
|
changes. |
555 |
|
|
556 |
|
2003-08-07 Bernhard Herzog <[email protected]> |
557 |
|
|
558 |
|
* test/support.py (SkipTest, ThubanTestResult, ThubanTestRunner) |
559 |
|
(ThubanTestProgram): New classes that extend the respective |
560 |
|
classes from unittest. These new version support skipping tests |
561 |
|
under certain expected conditions. In the Thuban test suite we |
562 |
|
uses this for tests that require the optional gdal support. |
563 |
|
(run_tests): Use ThubanTestProgram instead of the unittest.main() |
564 |
|
|
565 |
|
* test/runtests.py (main): Use the new ThubanTestRunner instead of |
566 |
|
the normal one from unittest |
567 |
|
|
568 |
|
* test/test_layer.py (TestLayer.test_raster_layer): If this test |
569 |
|
is not run because gdal support isn't available report this to the |
570 |
|
runner. |
571 |
|
|
572 |
|
* test/test_baserenderer.py |
573 |
|
(TestBaseRenderer.test_raster_no_projection): Do not run this test |
574 |
|
if gdal support isn't available and report this to the runner. |
575 |
|
|
576 |
2003-08-06 Bernhard Herzog <[email protected]> |
2003-08-06 Bernhard Herzog <[email protected]> |
577 |
|
|
578 |
Rearrange the renderers a bit, partly in preparation for changes |
Rearrange the renderers a bit, partly in preparation for changes |