1 |
|
2003-08-26 Bernhard Herzog <[email protected]> |
2 |
|
|
3 |
|
* Thuban/Model/postgisdb.py (PostGISShapeStore.BoundingBox): Use a |
4 |
|
more postgis specific but much faster method to get the bounding |
5 |
|
box |
6 |
|
|
7 |
|
2003-08-26 Bernhard Herzog <[email protected]> |
8 |
|
|
9 |
|
* Thuban/Model/postgisdb.py (PostGISTable.Title) |
10 |
|
(PostGISShapeStore.AllShapes): Add these missing methods. |
11 |
|
(PostGISShapeStore.ShapesInRegion): No need to raise |
12 |
|
StopIteration. We can simply return |
13 |
|
|
14 |
|
* test/test_postgis_db.py (TestPostGISTable.test_title) |
15 |
|
(TestPostGISShapestorePoint.test_all_shapes): New tests for the |
16 |
|
new methods |
17 |
|
|
18 |
|
2003-08-25 Bernhard Herzog <[email protected]> |
19 |
|
|
20 |
|
* Thuban/Model/postgisdb.py (shapetype_map): Add MUTLIPOLYGON. |
21 |
|
|
22 |
|
* test/test_postgis_db.py (PolygonTests): New class containing |
23 |
|
those tests from TestPostGISShapestorePolygon that can also be |
24 |
|
used to test MUTLIPOLYGON tables |
25 |
|
(TestPostGISShapestorePolygon): Most tests are now in PolygonTests |
26 |
|
so derive from that |
27 |
|
(TestPostGISShapestoreMultiPolygon): New class with tests for |
28 |
|
MUTLIPOLYGON tables |
29 |
|
|
30 |
|
* test/postgissupport.py (PostGISDatabase.initdb): Allow the |
31 |
|
tables argument to have tuples with three items to override the |
32 |
|
WKT type used. |
33 |
|
(PostgreSQLServer.get_default_static_data_db): Use the above to |
34 |
|
create a polygon table with MUTLIPOLYGONs |
35 |
|
(point_to_wkt, coords_to_point, polygon_to_wkt, coords_to_polygon) |
36 |
|
(arc_to_wkt, coords_to_multilinestring): Rename from *_to_wkt to |
37 |
|
coords_to* |
38 |
|
(coords_to_multipolygon): New. Convert to MUTLIPOLYGON |
39 |
|
(wkt_converter): New. Map WKT types to converters |
40 |
|
(upload_shapefile): New parameter force_wkt_type to use a |
41 |
|
different WKT type than the default |
42 |
|
|
43 |
|
2003-08-25 Bernhard Herzog <[email protected]> |
44 |
|
|
45 |
|
* Thuban/UI/application.py |
46 |
|
(ThubanApplication.run_db_param_dialog): New. Suitable as a |
47 |
|
db_connection_callback. Main difference is that the dialog run |
48 |
|
from this method doesn't have a parent so it can be used even when |
49 |
|
there is no main window |
50 |
|
(ThubanApplication.OpenSession): Use self.run_db_param_dialog if |
51 |
|
no db_connection_callback was given. This way the dialog pops up |
52 |
|
even when the .thuban file was given as a command line parameter. |
53 |
|
|
54 |
|
2003-08-25 Bernhard Herzog <[email protected]> |
55 |
|
|
56 |
|
* Thuban/UI/view.py (MapCanvas.OnLeftUp): Release the the mouse |
57 |
|
before calling MouseLeftUp. MouseLeftUp may pop up modal dialogs |
58 |
|
which leads to an effectively frozen X session because the user |
59 |
|
can only interact with the dialog but the mouse is still grabbed |
60 |
|
by the canvas. |
61 |
|
Also, call the tool's Hide method before MouseLeftUp because |
62 |
|
MouseLeftUp may change the tool's coordinates. |
63 |
|
|
64 |
|
2003-08-25 Bernhard Herzog <[email protected]> |
65 |
|
|
66 |
|
* Thuban/UI/application.py (ThubanApplication.OpenSession): Catch |
67 |
|
LoadCancelled exceptions and handle them by returning immediately. |
68 |
|
|
69 |
|
2003-08-25 Bernhard Herzog <[email protected]> |
70 |
|
|
71 |
|
GUI part of loading sessions with postgis connections which may |
72 |
|
require user interaction to get passwords or updated parameters |
73 |
|
|
74 |
|
* Thuban/UI/dbdialog.py (DBDialog): Reimplement to make it look a |
75 |
|
bit nucer and be more generic. |
76 |
|
(DBFrame.OnAdd): Adapt to new DBDialog interface |
77 |
|
|
78 |
|
* Thuban/UI/application.py (ThubanApplication.OpenSession): New |
79 |
|
optional parameter db_connection_callback which is passed to |
80 |
|
load_session. |
81 |
|
|
82 |
|
* Thuban/UI/mainwindow.py (MainWindow.run_db_param_dialog): New. |
83 |
|
Suitable as a db_connection_callback |
84 |
|
(MainWindow.OpenSession): Use self.run_db_param_dialog as the |
85 |
|
db_connection_callback of the application's OpenSession method |
86 |
|
|
87 |
|
|
88 |
|
2003-08-25 Bernhard Herzog <[email protected]> |
89 |
|
|
90 |
|
Basic loading of sessions containing postgis connections: |
91 |
|
|
92 |
|
* Thuban/Model/load.py (LoadError): Add doc-string |
93 |
|
(LoadCancelled): New exception class to indicate a cancelled load |
94 |
|
(SessionLoader.__init__): Add the db_connection_callback parameter |
95 |
|
which will be used by the loader to get updated parameters and a |
96 |
|
password for a database connection |
97 |
|
(SessionLoader.__init__): Add the new XML elements to the |
98 |
|
dispatchers dictionary |
99 |
|
(SessionLoader.check_attrs): Two new conversions, ascii to convert |
100 |
|
to a byte-string object and idref as a generic id reference |
101 |
|
(SessionLoader.start_dbconnection) |
102 |
|
(SessionLoader.start_dbshapesource): New. Handlers for the new XML |
103 |
|
elements |
104 |
|
(load_session): Add the db_connection_callback to pass through the |
105 |
|
SessionLoader |
106 |
|
|
107 |
|
* test/test_load.py (TestPostGISLayer, TestPostGISLayerPassword): |
108 |
|
New classes to test loading of sessions with postgis database |
109 |
|
connections. |
110 |
|
|
111 |
|
2003-08-25 Bernhard Herzog <[email protected]> |
112 |
|
|
113 |
|
* Thuban/UI/mainwindow.py (__ThubanVersion__): Remove this and |
114 |
|
replace it and the comment with __BuildDate__ by the Source: and |
115 |
|
Id: cvs keywords as used in the other files. |
116 |
|
|
117 |
|
2003-08-25 Bernhard Herzog <[email protected]> |
118 |
|
|
119 |
|
* Thuban/Model/load.py (SessionLoader.check_attrs): Raise a |
120 |
|
LoadError when a required attribute is missing. The code used to |
121 |
|
be commented out for some reason, but probably should have been |
122 |
|
active. |
123 |
|
|
124 |
|
* test/test_load.py (TestLoadError.test): Test the message in the |
125 |
|
LoadError too to make sure it really is about the missing |
126 |
|
attribute |
127 |
|
|
128 |
|
2003-08-22 Bernhard Herzog <[email protected]> |
129 |
|
|
130 |
|
* test/test_save.py (SaveSessionTest.test_dbf_table) |
131 |
|
(SaveSessionTest.test_joined_table): Add XML validation tests. |
132 |
|
|
133 |
|
2003-08-22 Bernhard Herzog <[email protected]> |
134 |
|
|
135 |
|
Implement saving a session with a postgis connection |
136 |
|
|
137 |
|
* Resources/XML/thuban-0.9.dtd (dbconnection, dbshapesource) New |
138 |
|
elements for database connections and shapestores using db |
139 |
|
connections |
140 |
|
(session): Add the dbconnections to the content model |
141 |
|
|
142 |
|
* Thuban/Model/save.py (SessionSaver.write_db_connections): New. |
143 |
|
Write the db connections |
144 |
|
(SessionSaver.write_session): Call write_db_connections to write |
145 |
|
the connection before the data sources |
146 |
|
(SessionSaver.write_data_containers): Handle postgis shapestores |
147 |
|
|
148 |
|
* test/test_save.py (SaveSessionTest.thubanids) |
149 |
|
(SaveSessionTest.thubanidrefs): Update for new DTD |
150 |
|
(SaveSessionTest.test_save_postgis): New. Test saving a session |
151 |
|
with postgis connections |
152 |
|
|
153 |
|
* Thuban/Model/postgisdb.py (PostGISTable.DBConnection) |
154 |
|
(PostGISTable.TableName): New accessor methods for the connection |
155 |
|
and table name |
156 |
|
|
157 |
|
* test/test_postgis_db.py (TestPostGISTable.test_dbconn) |
158 |
|
(TestPostGISTable.test_dbname): New methods to test the new |
159 |
|
PostGISConnection methods |
160 |
|
|
161 |
|
2003-08-22 Bernhard Herzog <[email protected]> |
162 |
|
|
163 |
|
* Thuban/Model/postgisdb.py (ConnectionError): New exception class |
164 |
|
for exceptions occurring when establishing a Database connection |
165 |
|
(PostGISConnection.connect): Catch psycopg.OperationalError during |
166 |
|
connects and raise ConnectionError. |
167 |
|
|
168 |
|
* test/test_postgis_db.py (TestPostgisDBExceptions): New class for |
169 |
|
tests for database exceptions |
170 |
|
|
171 |
|
2003-08-22 Bernhard Herzog <[email protected]> |
172 |
|
|
173 |
|
Prepare the test suite for tests with required authentication |
174 |
|
|
175 |
|
* test/postgissupport.py (PostgreSQLServer.__init__): Add instance |
176 |
|
variables with two predefined users/passwords, one for the admin |
177 |
|
and one for a non-privileged user. |
178 |
|
(PostgreSQLServer.createdb): Pass the admin name to initdb and add |
179 |
|
the non-privileged user to the database and set the admin password |
180 |
|
(PostgreSQLServer.wait_for_postmaster): Use the admin user name. |
181 |
|
Better error reporting |
182 |
|
(PostgreSQLServer.connection_params) |
183 |
|
(PostgreSQLServer.connection_string): New methods to return |
184 |
|
information about how to connect to the server |
185 |
|
(PostgreSQLServer.execute_sql): New. Convenience method to execute |
186 |
|
SQL statements |
187 |
|
(PostgreSQLServer.require_authentication): Toggle whether the |
188 |
|
server requires authentication |
189 |
|
(PostgreSQLServer.create_user, PostgreSQLServer.alter_user): New. |
190 |
|
Add or alter users |
191 |
|
(PostGISDatabase.initdb): Pass the admin name one the |
192 |
|
subprocesses' command lines. Grant select rights on |
193 |
|
geometry_columns to everybody. |
194 |
|
(upload_shapefile): Use the admin name and password when |
195 |
|
connecting. Grant select rights on the new table to everybody. |
196 |
|
|
197 |
|
* test/test_viewport.py (TestViewportWithPostGIS.setUp): Use the |
198 |
|
server's new methods to get the connection parameters. |
199 |
|
|
200 |
|
* test/test_postgis_session.py (TestSessionWithPostGIS.setUp) |
201 |
|
(TestSessionWithPostGIS.test_remove_dbconn_exception): Use the |
202 |
|
server's new methods to get the connection parameters. |
203 |
|
|
204 |
|
* test/test_postgis_db.py |
205 |
|
(TestPostGISConnection.test_gis_tables_empty) |
206 |
|
(TestPostGISConnection.test_gis_tables_non_empty) |
207 |
|
(PostGISStaticTests.setUp): Use the server's new methods to get |
208 |
|
the connection parameters. |
209 |
|
|
210 |
|
2003-08-22 Bernhard Herzog <[email protected]> |
211 |
|
|
212 |
|
* Thuban/UI/about.py (About.__init__): Add the psycopg version. |
213 |
|
|
214 |
|
* Thuban/version.py: Add psycopg version |
215 |
|
|
216 |
|
* Thuban/Model/postgisdb.py (psycopg_version): New. Return the |
217 |
|
version of the psycopg module |
218 |
|
|
219 |
|
2003-08-22 Bernhard Herzog <[email protected]> |
220 |
|
|
221 |
|
* Thuban/UI/dbdialog.py (DBPwdDlg): Removed because it's not used. |
222 |
|
(DBFrame.OnEdit): Removed because it's not used and wouldn't work |
223 |
|
at the moment. The functionality should probably be implemented |
224 |
|
some time, though. |
225 |
|
(DBFrame.OnRemove): Display a message if the connection can't be |
226 |
|
removed because it's still in use. |
227 |
|
|
228 |
|
2003-08-22 Jan-Oliver Wagner <[email protected]> |
229 |
|
|
230 |
|
* Thuban/UI/about.py (About.__init__): split up the huge about |
231 |
|
text into elements/lists for easier translation. This fixes bug |
232 |
|
https://intevation.de/rt/webrt?serial_num=2058 |
233 |
|
Also, made some forgotten string available for the i18n. |
234 |
|
|
235 |
|
2003-08-21 Bernhard Herzog <[email protected]> |
236 |
|
|
237 |
|
Make postgis support really optional including insensitive menu |
238 |
|
items. |
239 |
|
|
240 |
|
* Thuban/Model/postgisdb.py (has_postgis_support): New. Return |
241 |
|
whether the postgis is supported. |
242 |
|
|
243 |
|
* Thuban/UI/dbdialog.py: Put the psycopg import into try..except |
244 |
|
to make postgis support optional |
245 |
|
|
246 |
|
* Thuban/UI/mainwindow.py (_has_postgis_support): New. Context |
247 |
|
version of Thuban.Model.postgisdb.has_postgis_support |
248 |
|
(database_management command): Make it only sensitive if postgis |
249 |
|
is supported. |
250 |
|
|
251 |
|
2003-08-21 Jan-Oliver Wagner <[email protected]> |
252 |
|
|
253 |
|
* Doc/manual/thuban-manual.xml: Added CVS revision for rev-history. |
254 |
|
(section Adding and Removing Layers): Added text and described |
255 |
|
multi-selection. |
256 |
|
(chapter Extensions): New. |
257 |
|
|
258 |
|
2003-08-21 Jan-Oliver Wagner <[email protected]> |
259 |
|
|
260 |
|
* Thuban/UI/mainwindow.py (MainWindow.AddLayer): Changed dialog |
261 |
|
settings to allow multiple files to load into the map. |
262 |
|
Also reduced selection to *.shp as a default. |
263 |
|
|
264 |
|
2003-08-20 Bernhard Herzog <[email protected]> |
265 |
|
|
266 |
|
Add dialogs and commands to open database connections and add |
267 |
|
database layers. |
268 |
|
|
269 |
|
* Thuban/UI/mainwindow.py (MainWindow.DatabaseManagement): New |
270 |
|
method to open the database connection management dialog |
271 |
|
(MainWindow.AddDBLayer): New method to add a layer from a database |
272 |
|
(_has_dbconnections): New helper function to use for sensitivity |
273 |
|
(database_management command, layer_add_db command): New commands |
274 |
|
that call the above new methods. |
275 |
|
(main_menu): Add the new commands to the menu. |
276 |
|
|
277 |
|
* Thuban/Model/postgisdb.py (PostGISConnection.__init__) |
278 |
|
(PostGISConnection.connect): Establish the actual connection in a |
279 |
|
separate method and call it in __init__. This makes it easier to |
280 |
|
override the behavior in test cases |
281 |
|
(PostGISConnection.BriefDescription): New method to return a brief |
282 |
|
description for use in dialogs. |
283 |
|
|
284 |
|
* test/test_postgis_db.py (NonConnection): DB connection that |
285 |
|
doesn't actually connect |
286 |
|
(TestBriefDescription): New class with tests for the new |
287 |
|
BriefDescription method |
288 |
|
|
289 |
|
2003-08-19 Jan-Oliver Wagner <[email protected]> |
290 |
|
|
291 |
|
Moved anything from extensions to libraries. |
292 |
|
|
293 |
|
* libraries: New. |
294 |
|
|
295 |
|
* libraries/ pyprojection, pyshapelib, shapelib, thuban: New. |
296 |
|
|
297 |
|
* libraries/pyprojection/ LICENSE, MANIFEST.in, Projection.i, |
298 |
|
Projection.py, Projection_wrap.c, setup.py, swighelp.txt: These files have |
299 |
|
been moved here from thuban/extensions/pyprojection/ |
300 |
|
See there in the Attic for the older history. |
301 |
|
|
302 |
|
* libraries/pyshapelib/ COPYING, ChangeLog, NEWS, README, dbflib.i, |
303 |
|
dbflib.py, dbflib_wrap.c, pyshapelib_api.h, pytest.py, setup.py, |
304 |
|
shapelib.i, shapelib.py, shapelib_wrap.c, shptreemodule.c: These files |
305 |
|
have been moved here from thuban/extensions/pyshapelib/ |
306 |
|
See there in the Attic for the older history. |
307 |
|
|
308 |
|
* libraries/shapelib/ dbfopen.c, shapefil.h, shpopen.c, shptree.c: These |
309 |
|
files have been moved here from thuban/extensions/shapelib/ |
310 |
|
See there in the Attic for the older history. |
311 |
|
|
312 |
|
* libraries/thuban/ bmpdataset.cpp, cpl_mfile.cpp, cpl_mfile.h, |
313 |
|
gdalwarp.cpp, wxproj.cpp: These files have been moved here from |
314 |
|
thuban/extensions/thuban/ |
315 |
|
See there in the Attic for the older history. |
316 |
|
|
317 |
|
* MANIFEST.in, setup.cfg, setup.py: renamed extensions to libraries. |
318 |
|
|
319 |
|
* extensions/thuban/ bmpdataset.cpp, cpl_mfile.cpp, cpl_mfile.h, |
320 |
|
gdalwarp.cpp, wxproj.cpp: Moved to libraries/thuban. |
321 |
|
|
322 |
|
* extensions/shapelib/ dbfopen.c, shapefil.h, shpopen.c, shptree.c: |
323 |
|
Moved to libraries/shapelib. |
324 |
|
|
325 |
|
* extensions/pyshapelib/ COPYING, NEWS, dbflib.py, pytest.py, |
326 |
|
shapelib.py, README, dbflib_wrap.c, setup.py, shapelib_wrap.c, |
327 |
|
ChangeLog, dbflib.i, pyshapelib_api.h, shapelib.i, shptreemodule.c: |
328 |
|
Moved to libraries/pyshapelib. |
329 |
|
|
330 |
|
* extensions/pyprojection/ MANIFEST.in, Projection.py, setup.py, |
331 |
|
LICENSE, Projection.i, Projection_wrap.c, swighelp.txt: |
332 |
|
Moved to libraries/pyprojection. |
333 |
|
|
334 |
|
* extensions/ pyprojection, pyshapelib, shapelib, thuban: Removed. |
335 |
|
|
336 |
|
* extensions: Removed. |
337 |
|
|
338 |
|
2003-08-19 Bernhard Herzog <[email protected]> |
339 |
|
|
340 |
|
* test/test_viewport.py (ViewPortTest): We don't use the |
341 |
|
facilities of FileTestMixin so don't derive from it. |
342 |
|
(TestViewportWithPostGIS): New class with tests for using a |
343 |
|
viewport on a map with postgis layers. |
344 |
|
|
345 |
|
2003-08-19 Bernhard Herzog <[email protected]> |
346 |
|
|
347 |
|
Add the db connection management to the session. |
348 |
|
|
349 |
|
* Thuban/Model/session.py (Session.__init__): New instance |
350 |
|
variable db_connections |
351 |
|
(Session.AddDBConnection, Session.DBConnections) |
352 |
|
(Session.HasDBConnections, Session.CanRemoveDBConnection) |
353 |
|
(Session.RemoveDBConnection): New methods to manage and query the |
354 |
|
db connections managed by the session |
355 |
|
(Session.OpenDBShapeStore): New method to open a shapestore from a |
356 |
|
db connection |
357 |
|
|
358 |
|
* Thuban/Model/messages.py (DBCONN_REMOVED, DBCONN_ADDED): New |
359 |
|
messages for the db connection handling in the session |
360 |
|
|
361 |
|
* test/test_postgis_session.py: New. test cases for the session's |
362 |
|
db connection handling with postgis connections |
363 |
|
|
364 |
|
2003-08-19 Bernhard Herzog <[email protected]> |
365 |
|
|
366 |
|
Add very basic postgis database support and the corresponding test |
367 |
|
cases. The test cases require a PostgreSQL + postgis installation |
368 |
|
but no existing database. The database will be created |
369 |
|
automatically by the test cases |
370 |
|
|
371 |
|
* test/README: Add note about skipped tests and the requirements |
372 |
|
of the postgis tests. |
373 |
|
|
374 |
|
* Thuban/Model/postgisdb.py: New. Basic postgis database support. |
375 |
|
|
376 |
|
* test/test_postgis_db.py: New. Test cases for the postgis |
377 |
|
support. |
378 |
|
|
379 |
|
* Thuban/Model/wellknowntext.py: New. Parser for well-known-text |
380 |
|
format |
381 |
|
|
382 |
|
* test/test_wellknowntext.py: New. Test cases for the |
383 |
|
wellknowntext parser |
384 |
|
|
385 |
|
* test/postgissupport.py: New. Support module for tests involving |
386 |
|
a postgis database. |
387 |
|
|
388 |
|
* test/support.py (execute_as_testsuite): Shut down the postmaster |
389 |
|
if it's still running after the tests |
390 |
|
|
391 |
|
* Thuban/Model/data.py (RAW_WKT): New constant for raw data in |
392 |
|
well known text format |
393 |
|
|
394 |
|
2003-08-19 Jan-Oliver Wagner <[email protected]> |
395 |
|
|
396 |
|
* Examples/simple_extensions/hello_world.py: New. Raises a Hello World |
397 |
|
message dialog. |
398 |
|
|
399 |
|
2003-08-18 Bernhard Herzog <[email protected]> |
400 |
|
|
401 |
|
* test/support.py (ThubanTestResult.printErrors): Indent the |
402 |
|
reason for the skips in the output to make it a bit more readable. |
403 |
|
(execute_as_testsuite): New helper function to run a test suite |
404 |
|
and print some more information. |
405 |
|
(run_tests): Use execute_as_testsuite to run the tests |
406 |
|
|
407 |
|
* test/runtests.py (main): Use execute_as_testsuite to run the |
408 |
|
tests |
409 |
|
|
410 |
|
2003-08-18 Bernhard Herzog <[email protected]> |
411 |
|
|
412 |
|
Fix some bugs in Thuban and the test suite that were uncovered by |
413 |
|
changes introduced in Python 2.3: |
414 |
|
|
415 |
|
* Thuban/Model/table.py (DBFTable.__init__): Make sure the |
416 |
|
filename is an absolute name |
417 |
|
|
418 |
|
* Thuban/Model/layer.py (RasterLayer.__init__): Make sure the |
419 |
|
filename is an absolute name |
420 |
|
|
421 |
|
* test/test_save.py (SaveSessionTest.testRasterLayer): Use a |
422 |
|
unique filename to save to and use the correct relative filename |
423 |
|
in the expected output. |
424 |
|
(SaveSessionTest.test_dbf_table): Use the correct relative |
425 |
|
filename in the expected output. |
426 |
|
|
427 |
|
* test/test_layer.py (TestLayer.test_raster_layer): Update the |
428 |
|
test to check whether the filename is absolute. |
429 |
|
|
430 |
|
2003-08-18 Jan-Oliver Wagner <[email protected]> |
431 |
|
|
432 |
|
* Thuban/UI/about.py (About.__init__): Added Silke Reimer. |
433 |
|
|
434 |
|
2003-08-15 Bernhard Herzog <[email protected]> |
435 |
|
|
436 |
|
Change the way shapes are returned by a shape store. The |
437 |
|
ShapesInRegion method returns an iterator over actual shape |
438 |
|
objects instead of a list of shape ids. |
439 |
|
|
440 |
|
* Thuban/Model/data.py (ShapefileShape.ShapeID): New. Return shape |
441 |
|
id. |
442 |
|
(ShapefileStore.ShapesInRegion): Return an iterator over the |
443 |
|
shapes which yields shape objects instead of returning a list of |
444 |
|
shape ids |
445 |
|
(ShapefileStore.AllShapes): New. Return an iterator over all |
446 |
|
shapes in the shape store |
447 |
|
(DerivedShapeStore.AllShapes): New. Like in ShapefileStore |
448 |
|
|
449 |
|
* Thuban/Model/layer.py (Layer.ShapesInRegion): Update |
450 |
|
doc-string. |
451 |
|
|
452 |
|
* Thuban/UI/baserenderer.py |
453 |
|
(BaseRenderer.layer_ids, BaseRenderer.layer_shapes): Rename to |
454 |
|
layer_shapes and make it return an iterator containg shapes |
455 |
|
instead of a list of ids. |
456 |
|
(BaseRenderer.draw_shape_layer): Update doc-string; Adapt to |
457 |
|
layer_shapes() change |
458 |
|
|
459 |
|
* Thuban/UI/renderer.py (ScreenRenderer.layer_ids) |
460 |
|
(ScreenRenderer.layer_shapes): Rename as in BaseRenderer |
461 |
|
|
462 |
|
* Thuban/UI/viewport.py (ViewPort._find_shape_in_layer): Adapt to |
463 |
|
changes in the ShapesInRegion return value. |
464 |
|
(ViewPort._get_hit_tester): Remove commented out code |
465 |
|
|
466 |
|
* test/mockgeo.py (SimpleShapeStore.ShapesInRegion): Adapt to the |
467 |
|
new return value. |
468 |
|
(SimpleShapeStore.AllShapes): New. Implement this method too. |
469 |
|
|
470 |
|
* test/test_layer.py (TestLayer.test_arc_layer) |
471 |
|
(TestLayer.test_polygon_layer, TestLayer.test_point_layer) |
472 |
|
(TestLayer.test_point_layer_with_projection) |
473 |
|
(TestLayer.test_derived_store): Adapt to changes in the |
474 |
|
ShapesInRegion return value. |
475 |
|
|
476 |
|
* test/test_shapefilestore.py |
477 |
|
(TestShapefileStoreArc.test_shapes_in_region) |
478 |
|
(TestShapefileStorePolygon.test_shapes_in_region) |
479 |
|
(TestShapefileStorePoint.test_shapes_in_region): Adapt to changes |
480 |
|
in the ShapesInRegion return value. |
481 |
|
(TestShapefileStorePoint.test_all_shapes) |
482 |
|
(TestShapefileStoreArc.test_shape_shapeid): New tests for the new |
483 |
|
methods |
484 |
|
|
485 |
|
* test/test_derivedshapestore.py |
486 |
|
(TestDerivedShapeStore.test_shapes_in_region): Adapt to changes in |
487 |
|
the ShapesInRegion return value. |
488 |
|
(TestDerivedShapeStore.test_all_shapes) |
489 |
|
(TestDerivedShapeStore.test_shape_shapeid): New tests for the new |
490 |
|
methods |
491 |
|
|
492 |
|
2003-08-15 Bernhard Herzog <[email protected]> |
493 |
|
|
494 |
|
Make the renderers deal correctly with raw vs. python level |
495 |
|
representation of shape geometries |
496 |
|
|
497 |
|
* Thuban/UI/baserenderer.py (BaseRenderer.low_level_renderer): |
498 |
|
Return a flag useraw in addition to the callable and the parameter |
499 |
|
to indicate whether the callable can deal with the raw shape data |
500 |
|
or uses the higher level python lists of coordinates. The callable |
501 |
|
now should accept either the raw data or the return value of the |
502 |
|
shape's Points() method. |
503 |
|
(BaseRenderer.draw_shape_layer): Adapt to the low_level_renderer |
504 |
|
change |
505 |
|
(BaseRenderer.projected_points): Instead of the shape id use the |
506 |
|
points list as parameter. |
507 |
|
(BaseRenderer.draw_polygon_shape, BaseRenderer.draw_arc_shape) |
508 |
|
(BaseRenderer.draw_point_shape): Adapt to projected_points() |
509 |
|
change and accept the points list as parameter instead of the |
510 |
|
shape id. |
511 |
|
|
512 |
|
* Thuban/UI/renderer.py (MapRenderer.low_level_renderer): Return |
513 |
|
the useraw flag as required by the BaseRenderer |
514 |
|
(ScreenRenderer.draw_shape_layer): Adapt to low-level renderer |
515 |
|
changes. |
516 |
|
|
517 |
|
* test/test_baserenderer.py |
518 |
|
(TestBaseRenderer.test_point_with_classification): New test for |
519 |
|
rendering a map with classifications. |
520 |
|
|
521 |
|
2003-08-15 Bernhard Herzog <[email protected]> |
522 |
|
|
523 |
|
* Thuban/UI/viewport.py (ViewPort.find_shape_at) |
524 |
|
(ViewPort._find_shape_in_layer, ViewPort._find_shape_in_layer) |
525 |
|
(ViewPort._get_hit_tester, ViewPort.projected_points) |
526 |
|
(ViewPort._hit_point, ViewPort._hit_arc, ViewPort._hit_polygon) |
527 |
|
(ViewPort._find_label_at): Split the find_shape_at method into |
528 |
|
several new methods and use the functions in the hit-test module. |
529 |
|
|
530 |
|
* Thuban/UI/hittest.py: New module with Python-level hit-testing |
531 |
|
functions |
532 |
|
|
533 |
|
* test/test_hittest.py: New. Test for the new hittest module |
534 |
|
|
535 |
|
2003-08-15 Bernhard Herzog <[email protected]> |
536 |
|
|
537 |
|
* Thuban/Model/layer.py (Layer.ShapesInRegion): Apply the layer |
538 |
|
projection to all corners of the bounding box to get a better |
539 |
|
approximation of the projected bounding box |
540 |
|
|
541 |
|
* test/test_layer.py (TestLayer.test_point_layer_with_projection): |
542 |
|
New. Test coordinate handling of a layer with a projection. |
543 |
|
Catches the bug fixed in Layer.ShapesInRegion |
544 |
|
|
545 |
|
2003-08-15 Bernhard Herzog <[email protected]> |
546 |
|
|
547 |
|
Move some of the mock objects in test_baserenderer into their own |
548 |
|
module so they can easily be used from other tests |
549 |
|
|
550 |
|
* test/mockgeo.py: New test helper module with some mock objects |
551 |
|
for geometry related things like shapes, shapestores and |
552 |
|
projections. |
553 |
|
|
554 |
|
* test/test_mockgeo.py: New. Tests for the new helper module |
555 |
|
|
556 |
|
* test/test_baserenderer.py: Some of the mock-objects are in |
557 |
|
mockgeo now. |
558 |
|
|
559 |
|
2003-08-12 Jan-Oliver Wagner <[email protected]> |
560 |
|
|
561 |
|
* Thuban/UI/about.py (About.__init__): Added Bj�rn Broscheit. |
562 |
|
|
563 |
|
2003-08-12 Bernhard Herzog <[email protected]> |
564 |
|
|
565 |
|
* po/de.po: New. German translations by Bjoern Broscheit |
566 |
|
|
567 |
|
2003-08-12 Bernhard Herzog <[email protected]> |
568 |
|
|
569 |
|
* Thuban/UI/projdialog.py (UnknownProjPanel._DoLayout): Translated |
570 |
|
strings have to be one string literal. |
571 |
|
|
572 |
|
2003-08-11 Bernhard Herzog <[email protected]> |
573 |
|
|
574 |
|
* test/support.py (FloatComparisonMixin.assertPointListEquals): |
575 |
|
New. This method was used in various derived classes, but it's |
576 |
|
better to have it here. |
577 |
|
|
578 |
|
* test/test_shapefilestore.py |
579 |
|
(ShapefileStoreTests.assertPointListEquals): Removed. It's now in |
580 |
|
FloatComparisonMixin |
581 |
|
|
582 |
|
* test/test_layer.py (TestLayer.assertPointListEquals): Removed. |
583 |
|
It's now in FloatComparisonMixin |
584 |
|
|
585 |
|
* test/test_derivedshapestore.py |
586 |
|
(TestDerivedShapeStore.assertPointListEquals): Removed. It's now |
587 |
|
in FloatComparisonMixin |
588 |
|
|
589 |
|
2003-08-11 Bernhard Herzog <[email protected]> |
590 |
|
|
591 |
|
* Thuban/UI/join.py (JoinDialog.OnJoin): Add missing space to |
592 |
|
error message |
593 |
|
|
594 |
|
2003-08-08 Jan-Oliver Wagner <[email protected]> |
595 |
|
|
596 |
|
* Doc/manual/thuban-manual.xml: Now use authorgroup. Added revhistory |
597 |
|
with version number. |
598 |
|
Changed title to reflect version number of Thuban. |
599 |
|
|
600 |
|
2003-08-08 Jan-Oliver Wagner <[email protected]> |
601 |
|
|
602 |
|
* Thuban/UI/about.py (About.__init__): Reworked the hall of fame. Now |
603 |
|
the list corresponds to the "About" web page. |
604 |
|
|
605 |
|
2003-08-08 Bernhard Herzog <[email protected]> |
606 |
|
|
607 |
|
* Thuban/UI/projdialog.py (UTMProposeZoneDialog.dialogLayout): |
608 |
|
Make sure translated strings are recognized as one string literal. |
609 |
|
|
610 |
|
* Thuban/UI/proj4dialog.py (UTMProposeZoneDialog.dialogLayout): |
611 |
|
Make sure translated strings are recognized as one string literal. |
612 |
|
|
613 |
|
* Thuban/UI/classgen.py (ClassGenDialog.OnOK): Make sure |
614 |
|
translated strings are recognized as one string literal. |
615 |
|
|
616 |
|
* Thuban/UI/application.py (ThubanApplication.OpenSession): Make |
617 |
|
sure translated strings are recognized as one string literal. |
618 |
|
|
619 |
|
2003-08-07 Bernhard Herzog <[email protected]> |
620 |
|
|
621 |
|
* Thuban/Model/data.py (DerivedShapeStore.RawShapeFormat): New. |
622 |
|
Simply delegates to the original shapestore. |
623 |
|
|
624 |
|
* test/test_derivedshapestore.py |
625 |
|
(TestDerivedShapeStore.test_raw_format): New. Test case for |
626 |
|
DerivedShapeStore.RawShapeFormat |
627 |
|
|
628 |
|
2003-08-07 Bernhard Herzog <[email protected]> |
629 |
|
|
630 |
|
Add raw data interface to shape objects. |
631 |
|
|
632 |
|
* Thuban/Model/data.py (ShapefileShape, Shape): Rname the shape |
633 |
|
class to ShapefileShape which now holds shapefile specific |
634 |
|
information. |
635 |
|
(ShapefileShape.compute_bbox): Simplified to not cache any |
636 |
|
information. The way this method is used that shouldn't matter |
637 |
|
performance wise. |
638 |
|
(ShapefileShape.RawData): New. Return the shapeid which is the raw |
639 |
|
data format for shapes from shapefiles. |
640 |
|
(ShapefileStore.RawShapeFormat): New. Return the raw datatype used |
641 |
|
in the shape objects returned by a shapestore. For a |
642 |
|
ShapefileStore this is always RAW_SHAPEFILE. |
643 |
|
(RAW_PYTHON, RAW_SHAPEFILE): Constants for the RawShapeFormat |
644 |
|
method. |
645 |
|
|
646 |
|
* test/test_shapefilestore.py |
647 |
|
(TestShapefileStore.test_raw_format): New test to test the raw |
648 |
|
format feature of shapes. |
649 |
|
|
650 |
|
* Thuban/Model/layer.py: Remove the unused import of Shape from |
651 |
|
data. It was only there for interface compatibility but it's not |
652 |
|
used inside of Thuban and the generic Shape class has gone away. |
653 |
|
|
654 |
|
* Thuban/UI/renderer.py (MapRenderer.low_level_renderer): Check |
655 |
|
the raw data format and only use an optimized version of its a |
656 |
|
shapefile. |
657 |
|
|
658 |
|
2003-08-07 Bernhard Herzog <[email protected]> |
659 |
|
|
660 |
|
* test/test_baserenderer.py (SimpleShape): Shape class for the |
661 |
|
tests. |
662 |
|
(SimpleShapeStore.Shape): Use SimpleShape instead of |
663 |
|
Thuban.Model.data.Shape to make the tests independed of the coming |
664 |
|
changes. |
665 |
|
|
666 |
|
2003-08-07 Bernhard Herzog <[email protected]> |
667 |
|
|
668 |
|
* test/support.py (SkipTest, ThubanTestResult, ThubanTestRunner) |
669 |
|
(ThubanTestProgram): New classes that extend the respective |
670 |
|
classes from unittest. These new version support skipping tests |
671 |
|
under certain expected conditions. In the Thuban test suite we |
672 |
|
uses this for tests that require the optional gdal support. |
673 |
|
(run_tests): Use ThubanTestProgram instead of the unittest.main() |
674 |
|
|
675 |
|
* test/runtests.py (main): Use the new ThubanTestRunner instead of |
676 |
|
the normal one from unittest |
677 |
|
|
678 |
|
* test/test_layer.py (TestLayer.test_raster_layer): If this test |
679 |
|
is not run because gdal support isn't available report this to the |
680 |
|
runner. |
681 |
|
|
682 |
|
* test/test_baserenderer.py |
683 |
|
(TestBaseRenderer.test_raster_no_projection): Do not run this test |
684 |
|
if gdal support isn't available and report this to the runner. |
685 |
|
|
686 |
|
2003-08-06 Bernhard Herzog <[email protected]> |
687 |
|
|
688 |
|
Rearrange the renderers a bit, partly in preparation for changes |
689 |
|
required for the postgis merge, partly to make it more testable. |
690 |
|
Also make the representation of coordinates in Shapes more |
691 |
|
consistent. |
692 |
|
|
693 |
|
* Thuban/UI/renderer.py (MapRenderer): Most of the code/methods in |
694 |
|
this class is now in BaseRenderer. This class is now practically |
695 |
|
only a specialization of BaseRenderer for rendering to an actual |
696 |
|
wx DC. |
697 |
|
(ScreenRenderer.draw_shape_layer): Use self.low_level_renderer() |
698 |
|
to get the shapetype specific rendering functions. |
699 |
|
|
700 |
|
* Thuban/UI/baserenderer.py: New file with the basic rendering |
701 |
|
logic. The code in this file is completely independend of wx. |
702 |
|
(BaseRenderer): Class with the basic rendering logic |
703 |
|
|
704 |
|
* test/test_baserenderer.py: New. Test cases for BaseRenderer |
705 |
|
|
706 |
|
* Thuban/UI/view.py (MapCanvas.__init__): New instance variable |
707 |
|
error_on_redraw to guard agains endless loops and stack overflows |
708 |
|
when there's a bug in the rendering code that raises exceptions. |
709 |
|
(MapCanvas.OnIdle, MapCanvas._do_redraw): Split the actual |
710 |
|
rendering into a separate method _do_redraw so that error handling |
711 |
|
is a bit easier. When an exception occurs, set error_on_redraw to |
712 |
|
true. When it's true on entry to OnIdle do nothing and return |
713 |
|
immediately. |
714 |
|
|
715 |
|
* Thuban/Model/data.py (ShapefileStore.Shape): For consistency, a |
716 |
|
Shape object will always have the coordinates as a list of list of |
717 |
|
coordinate pairs (tuples). |
718 |
|
(Shape.compute_bbox): Adapt to new representation. |
719 |
|
|
720 |
|
* Thuban/UI/viewport.py (ViewPort.find_shape_at) |
721 |
|
(ViewPort.LabelShapeAt): Adapt to new coordinate representation in |
722 |
|
Shape objects. |
723 |
|
|
724 |
|
* test/test_shapefilestore.py |
725 |
|
(ShapefileStoreTests.assertFloatTuplesEqual) |
726 |
|
(ShapefileStoreTests.assertPointListEquals): Rename to |
727 |
|
assertPointListEquals and change purpose to checking equality of |
728 |
|
the lists returned by Shape.Points(). |
729 |
|
(TestShapefileStoreArc.test_shape) |
730 |
|
(TestShapefileStorePolygon.test_shape) |
731 |
|
(TestShapefileStorePoint.test_shape): Use the new |
732 |
|
assertPointListEquals instead of assertFloatTuplesEqual |
733 |
|
|
734 |
|
* test/test_layer.py (TestLayer.assertFloatTuplesEqual) |
735 |
|
(TestLayer.assertPointListEquals): Rename to assertPointListEquals |
736 |
|
and change purpose to checking equality of the lists returned by |
737 |
|
Shape.Points(). |
738 |
|
(TestLayer.test_arc_layer, TestLayer.test_arc_layer) |
739 |
|
(TestLayer.test_polygon_layer, TestLayer.test_point_layer) |
740 |
|
(TestLayer.test_derived_store): Use the new assertPointListEquals |
741 |
|
instead of assertFloatTuplesEqual |
742 |
|
|
743 |
|
* test/test_derivedshapestore.py |
744 |
|
(TestDerivedShapeStore.assertFloatTuplesEqual) |
745 |
|
(TestDerivedShapeStore.assertPointListEquals): Rename to |
746 |
|
assertPointListEquals and change purpose to checking equality of |
747 |
|
the lists returned by Shape.Points(). |
748 |
|
(TestDerivedShapeStore.test_shape): Use the new |
749 |
|
assertPointListEquals instead of assertFloatTuplesEqual |
750 |
|
|
751 |
|
2003-08-06 Jan-Oliver Wagner <[email protected]> |
752 |
|
|
753 |
|
* Thuban/UI/projdialog.py (UTMPanel._OnPropose): Added test for |
754 |
|
a bounding box. A dialog is raised in case, no bounding box |
755 |
|
is found. This fixes bug #2043: |
756 |
|
https://intevation.de/rt/webrt?serial_num=2043 |
757 |
|
|
758 |
|
2003-08-05 Bernhard Herzog <[email protected]> |
759 |
|
|
760 |
|
* Thuban/Model/color.py (Color.__repr__): Make the repr of a color |
761 |
|
object look like a Color instantiation. Formerly it looked like a |
762 |
|
tuple. |
763 |
|
|
764 |
|
* test/test_color.py (TestColor.test_repr) |
765 |
|
(TestColor.test_equality, TestColor.test_inequality): New. test |
766 |
|
some more apects of the Color class |
767 |
|
(TestTransparent.test_repr, TestTransparent.test_hex) |
768 |
|
(TestTransparent.test_equality): New. Test cases for the |
769 |
|
Transparent object. |
770 |
|
|
771 |
|
2003-08-04 Jan-Oliver Wagner <[email protected]> |
772 |
|
|
773 |
|
* Doc/manual/thuban-manual.xml: a number of small improvements. |
774 |
|
The resulting file is the version submitted for GREAT-ER II. |
775 |
|
|
776 |
|
2003-08-01 Bernhard Herzog <[email protected]> |
777 |
|
|
778 |
|
* Thuban/UI/resource.py, Thuban/UI/projdialog.py, |
779 |
|
Thuban/UI/join.py, Thuban/UI/classgen.py, Thuban/UI/about.py, |
780 |
|
Thuban/Model/resource.py: Insert cvs keywords and doc-strings. |
781 |
|
|
782 |
|
* Thuban/UI/common.py: Insert cvs keywords and doc-strings. |
783 |
|
(Color2wxColour, wxColour2Color, ThubanBeginBusyCursor) |
784 |
|
(ThubanEndBusyCursor): Add doc-strings |
785 |
|
|
786 |
|
2003-08-01 Bernhard Herzog <[email protected]> |
787 |
|
|
788 |
|
First step towards PostGIS integration. More abstraction by movin |
789 |
|
more code from the layer to the shapestore. More methods of the |
790 |
|
layer are now simply delegated to the equivalent method of the |
791 |
|
shapestore. The SHAPETYPE_* constants are now in data not in |
792 |
|
layer. |
793 |
|
|
794 |
|
* Thuban/Model/data.py (SHAPETYPE_POLYGON, SHAPETYPE_ARC) |
795 |
|
(SHAPETYPE_POINT, Shape): Move these constants and classes from |
796 |
|
layer.py to data.py |
797 |
|
(ShapefileStore.__init__): More Initialization for the new methods |
798 |
|
and functionality. |
799 |
|
(ShapefileStore.ShapeType, ShapefileStore.NumShapes) |
800 |
|
(ShapefileStore.BoundingBox, ShapefileStore.ShapesInRegion) |
801 |
|
(ShapefileStore.Shape): New methods that were formerly implemented |
802 |
|
in the layer. |
803 |
|
(DerivedShapeStore.Shape, DerivedShapeStore.ShapesInRegion) |
804 |
|
(DerivedShapeStore.ShapeType, DerivedShapeStore.NumShapes) |
805 |
|
(DerivedShapeStore.BoundingBox): New. DerivedShapeStore |
806 |
|
equivalents of the new shape methods. These versions are simply |
807 |
|
delegated to the original shapstore. |
808 |
|
|
809 |
|
* Thuban/Model/layer.py (SHAPETYPE_POLYGON, SHAPETYPE_ARC) |
810 |
|
(SHAPETYPE_POINT, Shape): Removed. They're now in data.py |
811 |
|
(Layer.SetShapeStore): Removed the initializatin of instance |
812 |
|
variables that were needed for the stuff that's now in |
813 |
|
ShapefileStore |
814 |
|
(Layer.BoundingBox, Layer.NumShapes, Layer.ShapeType) |
815 |
|
(Layer.Shape, Layer.ShapesInRegion): Simply delegate to the |
816 |
|
shapestore. |
817 |
|
|
818 |
|
* Thuban/UI/classifier.py, Thuban/UI/renderer.py, |
819 |
|
Thuban/UI/viewport.py: Import the SHAPETYPE_* constants from data |
820 |
|
instead of layer. |
821 |
|
|
822 |
|
* test/test_shapefilestore.py: New. Tests for ShapefileStore. |
823 |
|
|
824 |
|
* test/test_derivedshapestore.py: New. Tests for DerivedShapeStore. |
825 |
|
|
826 |
|
* test/test_layer.py: Import the SHAPETYPE_* constants from data |
827 |
|
instead of layer. |
828 |
|
(TestLayer.test_derived_store): Remove the test for the exception |
829 |
|
when instantiating the DerivedShapeStore with an incompatible |
830 |
|
table which is now in test_derivedshapestore.py. Add some more |
831 |
|
tests of the layer methods to determine whether they work for a |
832 |
|
DerivedShapeStore as well. |
833 |
|
|
834 |
|
2003-07-31 Jonathan Coles <[email protected]> |
835 |
|
|
836 |
|
* Doc/manual/thuban-manual.xml: Fix the list of required packages |
837 |
|
by just listing the name and where they can be found. |
838 |
|
|
839 |
|
2003-07-31 Frank Koormann <[email protected]> |
840 |
|
|
841 |
|
* Doc/manual/thuban-manual.xml: |
842 |
|
Changed the screenshot elements to figure. |
843 |
|
Changed some variablelist elements to itemizedlist. |
844 |
|
Added section on GDAL formats. |
845 |
|
|
846 |
|
2003-07-31 Jonathan Coles <[email protected]> |
847 |
|
|
848 |
|
* Doc/manual/thuban-manual.xml: Added a few sentences about |
849 |
|
the Fix Border Color option when generating classes. |
850 |
|
|
851 |
|
2003-07-30 Jonathan Coles <[email protected]> |
852 |
|
|
853 |
|
* Thuban/Model/classgen.py: Add docstrings. Rename specific |
854 |
|
Ramp instances to use lower_case_style. |
855 |
|
|
856 |
|
* Thuban/UI/classgen.py: Use renamed Ramp instances. |
857 |
|
|
858 |
|
* Thuban/UI/classifier.py: Add docstrings. |
859 |
|
|
860 |
|
* Thuban/UI/dock.py: Add docstrings. |
861 |
|
|
862 |
|
* test/test_classgen.py: Use renamed Ramp instances. |
863 |
|
|
864 |
|
2003-07-30 Bernhard Herzog <[email protected]> |
865 |
|
|
866 |
|
* Thuban/Lib/connector.py (QueueingPublisher): Removed. This class |
867 |
|
was never used in Thuban. |
868 |
|
|
869 |
|
2003-07-30 Bernhard Herzog <[email protected]> |
870 |
|
|
871 |
|
* Thuban/UI/join.py (JoinDialog.__init__): Use the table's Title() |
872 |
|
method directly instead of going through the transient_table |
873 |
|
method. This faster because transient_table may force the copy of |
874 |
|
a DBF file into the transient database and setting a table's title |
875 |
|
doesnm't affect the title of the associated transient table, so |
876 |
|
this fixes RT #2042 |
877 |
|
|
878 |
|
* Thuban/UI/main.py (__version__): Don't import the already |
879 |
|
removed show_exception_dialog. |
880 |
|
|
881 |
|
2003-07-29 Jonathan Coles <[email protected]> |
882 |
|
|
883 |
|
* Thuban/UI/application.py (ThubanApplication.ShowExceptionDialog): |
884 |
|
Put back this method and remove the equivalent function since we |
885 |
|
are setting the exception hook from within this class (OnInit). |
886 |
|
|
887 |
|
2003-07-29 Jonathan Coles <[email protected]> |
888 |
|
|
889 |
|
* Doc/manual/images/5_2_custom_ramp.png, |
890 |
|
Doc/manual/images/5_2_quantiles.png, |
891 |
|
Doc/manual/images/5_2_uniform_dist.png, |
892 |
|
Doc/manual/images/5_2_unique_values.png, |
893 |
|
Doc/manual/images/8_int_error.png: New screen shots. |
894 |
|
|
895 |
|
* Doc/manual/thuban-manual.xml: Fixed typos and wording, clarified |
896 |
|
some points, and added more screen shots. |
897 |
|
|
898 |
|
2003-07-29 Bernhard Herzog <[email protected]> |
899 |
|
|
900 |
|
* Thuban/Model/data.py: Remove the now unused import of warnings |
901 |
|
|
902 |
|
2003-07-29 Bernhard Herzog <[email protected]> |
903 |
|
|
904 |
|
* Thuban/Model/data.py (SimpleStore): Removed. This class has been |
905 |
|
deprecated since before the 0.8 release and isn't used in Thuban |
906 |
|
itself anymore. |
907 |
|
|
908 |
|
* Thuban/Model/transientdb.py: Remove some unnecessary imports |
909 |
|
|
910 |
|
2003-07-29 Jonathan Coles <[email protected]> |
911 |
|
|
912 |
|
* Thuban/UI/application.py (ThubanApplication.OnInit): set the |
913 |
|
python exception hook here so that we are sure to catch any |
914 |
|
Thuban exception that happen during initialization. |
915 |
|
|
916 |
|
* Thuban/UI/main.py (main): Don't set the exception hook here, |
917 |
|
it will get set in ThubanApplication.OnInit. |
918 |
|
|
919 |
|
2003-07-29 Jonathan Coles <[email protected]> |
920 |
|
|
921 |
|
* Thuban/UI/application.py (ThubanApplication.ShowExceptionDialog): |
922 |
|
Removed and called it show_exception_dialog() so that the exception |
923 |
|
handler can be set before the class is created. |
924 |
|
|
925 |
|
* Thuban/UI/main.py (main): Install the exception handler before |
926 |
|
a ThubanApplication is created. |
927 |
|
|
928 |
|
2003-07-29 Bernhard Herzog <[email protected]> |
929 |
|
|
930 |
|
* po/it.po: New. Italian translation by Maurizio Napolitano |
931 |
|
|
932 |
|
* po/ru.po: New. Russian translation by Alex Shevlakov |
933 |
|
|
934 |
|
2003-07-29 Frank Koormann <[email protected]> |
935 |
|
|
936 |
|
* Doc/manual/thuban-manual.xml: Extended section on supported |
937 |
|
projections. |
938 |
|
|
939 |
|
2003-07-29 Frank Koormann <[email protected]> |
940 |
|
|
941 |
|
* Doc/manual/thuban-manual.xml: gaspell-checked. |
942 |
|
|
943 |
|
2003-07-29 Jonathan Coles <[email protected]> |
944 |
|
|
945 |
|
* Doc/manual/images/3_5_legend.png: Added border to improve look |
946 |
|
on white background. |
947 |
|
|
948 |
|
2003-07-29 Jonathan Coles <[email protected]> |
949 |
|
|
950 |
|
* Doc/manual/thuban-manual.xml: Fixed grammar and typos. Added |
951 |
|
descriptions for the legend toolbar. |
952 |
|
|
953 |
|
* Doc/manual/images/4_2_raster_layer_properties.png: Removed |
954 |
|
cursor from dialog box. |
955 |
|
|
956 |
|
2003-07-28 Jonathan Coles <[email protected]> |
957 |
|
|
958 |
|
* Doc/manual/thuban-manual.xml: More screenshots and more chapters. |
959 |
|
|
960 |
|
* Doc/manual/images/2_4_session_tree.png, |
961 |
|
Doc/manual/images/3_5_legend.png, Doc/manual/images/3_rename_map.png, |
962 |
|
Doc/manual/images/4_2_layer_properties.png, |
963 |
|
Doc/manual/images/4_2_raster_layer_properties.png, |
964 |
|
Doc/manual/images/5_3_genclass.png, |
965 |
|
Doc/manual/images/5_classification.png, |
966 |
|
Doc/manual/images/6_projection.png, |
967 |
|
Doc/manual/images/7_1_table_view.png, |
968 |
|
Doc/manual/images/7_2_5_join.png: New screenshots. |
969 |
|
|
970 |
|
2003-07-24 Jonathan Coles <[email protected]> |
971 |
|
|
972 |
|
* Doc/manual/thuban-manual.xml: Chapter on Projection Management. |
973 |
|
|
974 |
|
2003-07-24 Jonathan Coles <[email protected]> |
975 |
|
|
976 |
|
* Doc/manual/thuban-manual.xml: Added EPS images and wrote |
977 |
|
chapter on Layer Management. |
978 |
|
|
979 |
|
* Doc/manual/Makefile: New. Makefile to generate all formats for the |
980 |
|
manual and images. |
981 |
|
|
982 |
|
2003-07-24 Bernhard Herzog <[email protected]> |
983 |
|
|
984 |
|
* Thuban/Model/range.py, Thuban/version.py: Remove the #! line as |
985 |
|
it annoys lintian which warns about these files not being |
986 |
|
executable. The #1 isn't necessary here since if you absolutely |
987 |
|
must execute them you can always say "python <filename>". |
988 |
|
|
989 |
|
* Thuban/UI/renderer.py (ScreenRenderer.draw_shape_layer): Remove |
990 |
|
superfluous code to set brush and pen for point shapes |
991 |
|
|
992 |
|
* Thuban/UI/viewport.py: Remove commented out code that wouldn't |
993 |
|
belong in viewport anyway |
994 |
|
|
995 |
2003-07-24 Frank Koormann <[email protected]> |
2003-07-24 Frank Koormann <[email protected]> |
996 |
|
|
997 |
* Doc/manual/thuban-manual.xml: Added section on table management. |
* Doc/manual/thuban-manual.xml: Added section on table management. |