1 |
|
2003-11-19 Bernhard Herzog <[email protected]> |
2 |
|
|
3 |
|
* Thuban/Model/resource.py: Rework the way gdal support is |
4 |
|
determined so that we can give a reason in the about why gdal is |
5 |
|
not supported. |
6 |
|
(gdal_support_status): New. Variable holding a string with the |
7 |
|
reason for no gdal support |
8 |
|
|
9 |
|
* Thuban/UI/about.py (About.__init__): Add the reason why gdal is |
10 |
|
not supported to the message |
11 |
|
|
12 |
|
2003-11-19 Bernhard Herzog <[email protected]> |
13 |
|
|
14 |
|
Remove the old table interface and its test cases |
15 |
|
|
16 |
|
* Thuban/Model/table.py (OldTableInterfaceMixin): Removed. |
17 |
|
(DBFTable, MemoryTable): Do not derive from OldTableInterfaceMixin |
18 |
|
anymore |
19 |
|
|
20 |
|
* Thuban/Model/transientdb.py (TransientTableBase) |
21 |
|
(AutoTransientTable): Do not derive from OldTableInterfaceMixin |
22 |
|
anymore |
23 |
|
|
24 |
|
* test/test_table.py: Removed since the old interface it tests is |
25 |
|
gone. |
26 |
|
|
27 |
|
* test/runtests.py (main): The old table interface is gone and |
28 |
|
with it the deprecation warnings so remove the code that turns |
29 |
|
these warnings into errors |
30 |
|
|
31 |
|
2003-11-19 Bernhard Herzog <[email protected]> |
32 |
|
|
33 |
|
* test/test_table.py: Revert to revision 1.5 again. Changing the |
34 |
|
tests to use the new table interface is completely wrong since the |
35 |
|
whole purpose of the tests in this module is to test the old |
36 |
|
interface. |
37 |
|
|
38 |
|
2003-11-18 Bernhard Herzog <[email protected]> |
39 |
|
|
40 |
|
* Thuban/Model/postgisdb.py (PostGISConnection.MatchesParameters): |
41 |
|
New. Test whether the connection matches a set of connection |
42 |
|
parameters |
43 |
|
|
44 |
|
* Thuban/UI/dbdialog.py (DBFrame.conns_changed): Fix doc-string |
45 |
|
(DBFrame.OnAdd): Use the new MatchesParameters method when looking |
46 |
|
for existing connections with the same parameters and break out of |
47 |
|
the loop correctly. |
48 |
|
|
49 |
|
* test/test_postgis_db.py (TestBriefDescription) |
50 |
|
(TestPostGISSimple.test_brief_description): Rename |
51 |
|
TestBriefDescription to TestPostGISSimple and the test method to |
52 |
|
test_brief_description so that we can add more test methods. |
53 |
|
(TestPostGISSimple.test_matches_parameters): New. Test the new |
54 |
|
MatchesParameters method |
55 |
|
|
56 |
|
2003-11-18 Bernhard Herzog <[email protected]> |
57 |
|
|
58 |
|
* Thuban/Lib/connector.py (Publisher): Introduce a new flag, |
59 |
|
_was_destroyed, to indicate whether an publisher instance has |
60 |
|
already been destroyed. |
61 |
|
(Publisher.Unsubscribe): Only disconnect if the publisher has not |
62 |
|
been destroyed yet. |
63 |
|
(Publisher.Destroy): Set the _was_destroyed flag to true. |
64 |
|
|
65 |
|
* test/test_connector.py |
66 |
|
(TestPublisher.test_unsubscribe_after_destroy): New. Test that |
67 |
|
calling Unsubscribe after Destroy doesn't raise an exception |
68 |
|
|
69 |
2003-11-14 Bernhard Herzog <[email protected]> |
2003-11-14 Bernhard Herzog <[email protected]> |
70 |
|
|
71 |
* Thuban/UI/identifyview.py (IdentifyView.selected_shape): Fix |
* Thuban/UI/identifyview.py (IdentifyView.selected_shape): Fix |