1 |
|
2003-11-19 Bernhard Herzog <[email protected]> |
2 |
|
|
3 |
|
* test/test_table.py: Revert to revision 1.5 again. Changing the |
4 |
|
tests to use the new table interface is completely wrong since the |
5 |
|
whole purpose of the tests in this module is to test the old |
6 |
|
interface. |
7 |
|
|
8 |
|
2003-11-18 Bernhard Herzog <[email protected]> |
9 |
|
|
10 |
|
* Thuban/Model/postgisdb.py (PostGISConnection.MatchesParameters): |
11 |
|
New. Test whether the connection matches a set of connection |
12 |
|
parameters |
13 |
|
|
14 |
|
* Thuban/UI/dbdialog.py (DBFrame.conns_changed): Fix doc-string |
15 |
|
(DBFrame.OnAdd): Use the new MatchesParameters method when looking |
16 |
|
for existing connections with the same parameters and break out of |
17 |
|
the loop correctly. |
18 |
|
|
19 |
|
* test/test_postgis_db.py (TestBriefDescription) |
20 |
|
(TestPostGISSimple.test_brief_description): Rename |
21 |
|
TestBriefDescription to TestPostGISSimple and the test method to |
22 |
|
test_brief_description so that we can add more test methods. |
23 |
|
(TestPostGISSimple.test_matches_parameters): New. Test the new |
24 |
|
MatchesParameters method |
25 |
|
|
26 |
|
2003-11-18 Bernhard Herzog <[email protected]> |
27 |
|
|
28 |
|
* Thuban/Lib/connector.py (Publisher): Introduce a new flag, |
29 |
|
_was_destroyed, to indicate whether an publisher instance has |
30 |
|
already been destroyed. |
31 |
|
(Publisher.Unsubscribe): Only disconnect if the publisher has not |
32 |
|
been destroyed yet. |
33 |
|
(Publisher.Destroy): Set the _was_destroyed flag to true. |
34 |
|
|
35 |
|
* test/test_connector.py |
36 |
|
(TestPublisher.test_unsubscribe_after_destroy): New. Test that |
37 |
|
calling Unsubscribe after Destroy doesn't raise an exception |
38 |
|
|
39 |
|
2003-11-14 Bernhard Herzog <[email protected]> |
40 |
|
|
41 |
|
* Thuban/UI/identifyview.py (IdentifyView.selected_shape): Fix |
42 |
|
typo in doc-string |
43 |
|
|
44 |
2003-11-13 Bernhard Herzog <[email protected]> |
2003-11-13 Bernhard Herzog <[email protected]> |
45 |
|
|
46 |
Quote table and column names properly for postgis. |
Quote table and column names properly for postgis. |