1 |
|
2003-12-03 Bernhard Herzog <[email protected]> |
2 |
|
|
3 |
|
Fix for RT #2243 |
4 |
|
|
5 |
|
* Thuban/UI/mainwindow.py (MainWindow.has_selected_shape_layer): |
6 |
|
New. Like has_selected_layer but for shape layers only |
7 |
|
(_has_selected_shape_layer): New. Like _has_selected_layer but for |
8 |
|
shape layers only |
9 |
|
(layer_show_table command, layer_jointable command): Use these |
10 |
|
commands should only be available for shape layers |
11 |
|
|
12 |
|
2003-12-03 Bernhard Herzog <[email protected]> |
13 |
|
|
14 |
|
* Thuban/UI/mainwindow.py (MainWindow.Unsubscribe): Deal with |
15 |
|
publishers that are wx objects and may have been destroyed by wx |
16 |
|
already. Fixes RT #2242. |
17 |
|
|
18 |
|
2003-12-03 Bernhard Herzog <[email protected]> |
19 |
|
|
20 |
|
* po/ru.po: Updates from Alex Shevlakov |
21 |
|
|
22 |
|
2003-12-03 Silke Reimer <silkeintevation.de> |
23 |
|
|
24 |
|
* debian/control, debian/changelog: Added gdal-support to |
25 |
|
debian package, updated to new thuban version |
26 |
|
|
27 |
|
|
28 |
|
2003-12-03 Bernhard Herzog <[email protected]> |
29 |
|
|
30 |
|
* Thuban/Lib/version.py: New. Module for version number |
31 |
|
manipulations. The version of make_tuple here also deals better |
32 |
|
with more unusual version number strings, such as e.g. |
33 |
|
"1.2+cvs20031111" |
34 |
|
|
35 |
|
* Thuban/version.py (make_tuple): Removed. It's now in |
36 |
|
Thuban.Lib.version. Use that implementation instead. |
37 |
|
|
38 |
|
* test/test_lib_version.py: New. Tests for Thuban/Lib/version.py |
39 |
|
|
40 |
|
2003-12-02 Bernhard Herzog <[email protected]> |
41 |
|
|
42 |
|
* MANIFEST.in: Add debian files |
43 |
|
|
44 |
|
* setup.py (setup call): Add packages for the Extensions so that |
45 |
|
they're installed too |
46 |
|
(data_files): Add READMEs and sample data from some Extensions |
47 |
|
|
48 |
|
* NEWS: Add note about the extensions in binary packages |
49 |
|
|
50 |
|
2003-12-02 Bernhard Herzog <[email protected]> |
51 |
|
|
52 |
|
* Thuban/Model/save.py (SessionSaver.write_session): Save files |
53 |
|
with the thuban-1.0rc1 |
54 |
|
|
55 |
|
* Thuban/Model/load.py (SessionLoader.__init__): Recognize the |
56 |
|
thuban-1.0rc1 namespace too |
57 |
|
|
58 |
|
* test/test_save.py (SaveSessionTest.dtd) |
59 |
|
(SaveSessionTest.testEmptySession) |
60 |
|
(SaveSessionTest.testSingleLayer) |
61 |
|
(SaveSessionTest.testLayerProjection) |
62 |
|
(SaveSessionTest.testRasterLayer) |
63 |
|
(SaveSessionTest.testClassifiedLayer) |
64 |
|
(SaveSessionTest.test_dbf_table) |
65 |
|
(SaveSessionTest.test_joined_table) |
66 |
|
(SaveSessionTest.test_save_postgis): Update to thuban-1.0rc1 |
67 |
|
namespace |
68 |
|
|
69 |
|
* test/test_load.py (LoadSessionTest.dtd): Update to thuban-1.0rc1 |
70 |
|
namespace |
71 |
|
(TestSingleLayer.file_contents) |
72 |
|
(TestNonAsciiColumnName.file_contents) |
73 |
|
(TestLayerVisibility.file_contents) |
74 |
|
(TestClassification.file_contents, TestLabels.file_contents) |
75 |
|
(TestLayerProjection.file_contents) |
76 |
|
(TestRasterLayer.file_contents, TestJoinedTable.file_contents) |
77 |
|
(TestPostGISLayer.file_contents) |
78 |
|
(TestPostGISLayerPassword.file_contents) |
79 |
|
(TestLoadError.file_contents, TestLoadError.test): Update to |
80 |
|
thuban-1.0rc1 namespace |
81 |
|
|
82 |
|
2003-12-01 Bernhard Herzog <[email protected]> |
83 |
|
|
84 |
|
* setup.py (proj4_prefix, wx_prefix, gdal_prefix): Fix these for |
85 |
|
nt to better match Intevation's current w32 setup |
86 |
|
|
87 |
|
* HOWTO-Release: Add note about updating MANIFEST.in |
88 |
|
|
89 |
|
* MANIFEST.in: Add the Extensions |
90 |
|
|
91 |
|
* NEWS: Update for 1.0rc1 |
92 |
|
|
93 |
|
2003-12-01 Bernhard Herzog <[email protected]> |
94 |
|
|
95 |
|
* Thuban/UI/mainwindow.py (MainWindow.AddLayer): Change the wild |
96 |
|
cards for the dialog so that shapefiles ending in all uppercase |
97 |
|
SHP are listed too |
98 |
|
|
99 |
|
2003-11-28 Bernhard Herzog <[email protected]> |
100 |
|
|
101 |
|
* Thuban/version.py (longversion): Update to 1.0rc1 |
102 |
|
|
103 |
|
* setup.py (setup call): Update version to 1.0rc1. Use the |
104 |
|
[email protected] email address as author email instead of my |
105 |
|
personal one. |
106 |
|
|
107 |
|
2003-11-28 Bernhard Herzog <[email protected]> |
108 |
|
|
109 |
|
* po/de.po: Update german translation. |
110 |
|
|
111 |
|
2003-11-28 Bernhard Herzog <[email protected]> |
112 |
|
|
113 |
|
Unify the filenames stored in .thuban files so that the .thuban |
114 |
|
files are more platform independend |
115 |
|
|
116 |
|
* Thuban/Model/save.py (unify_filename): New. Unify filenames so |
117 |
|
that they can be used on both windows and unix |
118 |
|
(SessionSaver.prepare_filename): New. Handle all filename |
119 |
|
transformations for filenames stored in the thuban file |
120 |
|
(SessionSaver.write_data_containers, SessionSaver.write_layer): |
121 |
|
Use prepare_filename |
122 |
|
|
123 |
|
* test/test_save.py (SaveSessionTest.testSingleLayer) |
124 |
|
(SaveSessionTest.testLayerProjection) |
125 |
|
(SaveSessionTest.testRasterLayer) |
126 |
|
(SaveSessionTest.testClassifiedLayer) |
127 |
|
(SaveSessionTest.test_dbf_table) |
128 |
|
(SaveSessionTest.test_joined_table): Filenames are always stored |
129 |
|
with slashes on all currently supported platforms so adapt all |
130 |
|
tests to this |
131 |
|
|
132 |
|
* test/test_load.py (LoadSessionTest.filenames): With the new |
133 |
|
filename scheme the filenames in the tests should be |
134 |
|
understandable on all currently supported platforms so we turn |
135 |
|
this into an empty list because we don't have to normalize them |
136 |
|
anymore |
137 |
|
|
138 |
|
2003-11-28 Bernhard Herzog <[email protected]> |
139 |
|
|
140 |
|
* test/test_layer.py (TestLayer.test_arc_layer_with_projection): |
141 |
|
Add the ellipsoid to the projection since some Proj versions |
142 |
|
complain if it's missing. |
143 |
|
|
144 |
|
2003-11-27 Bernhard Herzog <[email protected]> |
145 |
|
|
146 |
|
Corect some bounding box projection problems |
147 |
|
|
148 |
|
* Thuban/Model/proj.py (Projection.InverseBBox): New. Inverse |
149 |
|
version of ForwardBBox |
150 |
|
(Projection._transform_bbox): New. common implementation of |
151 |
|
ForwardBBox and InverseBBox |
152 |
|
(Projection.ForwardBBox): Use _transform_bbox. |
153 |
|
|
154 |
|
* test/test_proj.py (TestProjection.test): Add test for |
155 |
|
InverseBBox |
156 |
|
|
157 |
|
* Thuban/Model/layer.py (Layer.LatLongBoundingBox) |
158 |
|
(Layer.ShapesBoundingBox, RasterLayer.LatLongBoundingBox): Use the |
159 |
|
new InverseBBox method to determine the unprojected bounding box |
160 |
|
(Layer.ShapesInRegion): Use the ForwardBBox method to project the |
161 |
|
bbox. |
162 |
|
|
163 |
|
* test/test_layer.py (TestLayer.test_point_layer_with_projection): |
164 |
|
Removed. |
165 |
|
(TestLayer.test_arc_layer_with_projection): New. This test is |
166 |
|
better able to test whether bounding boxes are projected correctly |
167 |
|
than test_point_layer_with_projection |
168 |
|
|
169 |
|
* Thuban/UI/viewport.py (ViewPort.map_projection_changed): Use |
170 |
|
InverseBBox to unproject bboxes |
171 |
|
|
172 |
|
2003-11-25 Bernhard Herzog <[email protected]> |
173 |
|
|
174 |
|
* Thuban/UI/about.py (About.__init__): Make sure we have ASCII |
175 |
|
source code. |
176 |
|
|
177 |
|
2003-11-25 Bernhard Herzog <[email protected]> |
178 |
|
|
179 |
|
* Thuban/Model/layer.py (Layer.__getattr__): Removed. It was only |
180 |
|
there for backwards compatibility and all code relying on that |
181 |
|
should have been updated by now. |
182 |
|
|
183 |
|
2003-11-25 Bernhard Herzog <[email protected]> |
184 |
|
|
185 |
|
* test/test_load.py (TestClassification.test): Add the missing |
186 |
|
round trip test. |
187 |
|
(TestClassification.file_contents): Update to the newest file |
188 |
|
format |
189 |
|
|
190 |
|
2003-11-25 Bernhard Herzog <[email protected]> |
191 |
|
|
192 |
|
Add very experimental (and possibly dangerous) extension to draw |
193 |
|
polygons: |
194 |
|
|
195 |
|
* Extensions/drawshape/README: New. Brief installation |
196 |
|
instructions |
197 |
|
|
198 |
|
* Extensions/drawshape/drawshape.py: New. Implementation of the |
199 |
|
drawshape extensions |
200 |
|
|
201 |
|
* Extensions/drawshape/patch.diff: Patch to apply before the |
202 |
|
extension can be used. |
203 |
|
|
204 |
2003-11-24 Bernhard Herzog <[email protected]> |
2003-11-24 Bernhard Herzog <[email protected]> |
205 |
|
|
206 |
* Thuban/Model/data.py (ShapefileStore._open_shapefile) |
* Thuban/Model/data.py (ShapefileStore._open_shapefile) |