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]> |
70 |
|
|
71 |
|
* Thuban/UI/identifyview.py (IdentifyView.selected_shape): Fix |
72 |
|
typo in doc-string |
73 |
|
|
74 |
|
2003-11-13 Bernhard Herzog <[email protected]> |
75 |
|
|
76 |
|
Quote table and column names properly for postgis. |
77 |
|
|
78 |
|
* Thuban/Model/postgisdb.py (quote_identifier): New. Function to |
79 |
|
quote an identifier for use in an sql statement |
80 |
|
(PostGISColumn.__init__): Add the quoted_name attribute |
81 |
|
(PostGISTable.__init__): New instance variable quoted_tablename |
82 |
|
(PostGISTable._fetch_table_information): Use the quoted table |
83 |
|
name. New isntance variable quoted_geo_col with a quoted version |
84 |
|
of geometry_column |
85 |
|
(PostGISTable.NumRows, PostGISTable.RowIdToOrdinal) |
86 |
|
(PostGISTable.RowOrdinalToId): Use the quoted table name |
87 |
|
(PostGISTable.ReadValue, PostGISTable.ValueRange) |
88 |
|
(PostGISTable.UniqueValues, PostGISTable.SimpleQuery) |
89 |
|
(PostGISShapeStore.BoundingBox, PostGISShapeStore.Shape) |
90 |
|
(PostGISShapeStore.AllShapes, PostGISShapeStore.ShapesInRegion): |
91 |
|
Use quoted table and column names |
92 |
|
|
93 |
|
* test/test_postgis_db.py (TestPostGISSpecialCases) |
94 |
|
(TestPostGISIgnoredColumns): Rename the class to |
95 |
|
TestPostGISSpecialCases because that better describes the new |
96 |
|
cases |
97 |
|
(TestPostGISSpecialCases.test_unsupported_types) |
98 |
|
(TestPostGISSpecialCases.test): Rename the method to |
99 |
|
test_unsupported_types because we need a more descriptive name now |
100 |
|
that there are more methods |
101 |
|
(TestPostGISSpecialCases.test_table_name_quoting) |
102 |
|
(TestPostGISSpecialCases.test_column_name_quoting) |
103 |
|
(TestPostGISSpecialCases.test_shapestore_name_quoting): New test |
104 |
|
cases to test quoting of table and column names in PostGISTable |
105 |
|
and PostGISShapeStore |
106 |
|
|
107 |
|
* test/postgissupport.py |
108 |
|
(skip_if_addgeometrycolumn_does_not_use_quote_ident): New. Skip if |
109 |
|
AddGeometryColumn desn't support table or column names with sapces |
110 |
|
or double quotes |
111 |
|
|
112 |
2003-11-12 Jan-Oliver Wagner <[email protected]> |
2003-11-12 Jan-Oliver Wagner <[email protected]> |
113 |
|
|
114 |
* Extensions/wms/__init__.py: New: Init to make this |
* Extensions/wms/__init__.py: New: Init to make this |