1 |
|
2003-12-05 Frank Koormann <[email protected]> |
2 |
|
|
3 |
|
* Thuban/UI/projdialog.py (load_user_proj): If user.proj is missing |
4 |
|
write warning to stderr instead of rising a warning dialog |
5 |
|
|
6 |
|
2003-12-03 Bernhard Herzog <[email protected]> |
7 |
|
|
8 |
|
Fix for RT #2243 |
9 |
|
|
10 |
|
* Thuban/UI/mainwindow.py (MainWindow.has_selected_shape_layer): |
11 |
|
New. Like has_selected_layer but for shape layers only |
12 |
|
(_has_selected_shape_layer): New. Like _has_selected_layer but for |
13 |
|
shape layers only |
14 |
|
(layer_show_table command, layer_jointable command): Use these |
15 |
|
commands should only be available for shape layers |
16 |
|
|
17 |
|
2003-12-03 Bernhard Herzog <[email protected]> |
18 |
|
|
19 |
|
* Thuban/UI/mainwindow.py (MainWindow.Unsubscribe): Deal with |
20 |
|
publishers that are wx objects and may have been destroyed by wx |
21 |
|
already. Fixes RT #2242. |
22 |
|
|
23 |
|
2003-12-03 Bernhard Herzog <[email protected]> |
24 |
|
|
25 |
|
* po/ru.po: Updates from Alex Shevlakov |
26 |
|
|
27 |
|
2003-12-03 Silke Reimer <silkeintevation.de> |
28 |
|
|
29 |
|
* debian/control, debian/changelog: Added gdal-support to |
30 |
|
debian package, updated to new thuban version |
31 |
|
|
32 |
|
|
33 |
|
2003-12-03 Bernhard Herzog <[email protected]> |
34 |
|
|
35 |
|
* Thuban/Lib/version.py: New. Module for version number |
36 |
|
manipulations. The version of make_tuple here also deals better |
37 |
|
with more unusual version number strings, such as e.g. |
38 |
|
"1.2+cvs20031111" |
39 |
|
|
40 |
|
* Thuban/version.py (make_tuple): Removed. It's now in |
41 |
|
Thuban.Lib.version. Use that implementation instead. |
42 |
|
|
43 |
|
* test/test_lib_version.py: New. Tests for Thuban/Lib/version.py |
44 |
|
|
45 |
|
2003-12-02 Bernhard Herzog <[email protected]> |
46 |
|
|
47 |
|
* MANIFEST.in: Add debian files |
48 |
|
|
49 |
|
* setup.py (setup call): Add packages for the Extensions so that |
50 |
|
they're installed too |
51 |
|
(data_files): Add READMEs and sample data from some Extensions |
52 |
|
|
53 |
|
* NEWS: Add note about the extensions in binary packages |
54 |
|
|
55 |
|
2003-12-02 Bernhard Herzog <[email protected]> |
56 |
|
|
57 |
|
* Thuban/Model/save.py (SessionSaver.write_session): Save files |
58 |
|
with the thuban-1.0rc1 |
59 |
|
|
60 |
|
* Thuban/Model/load.py (SessionLoader.__init__): Recognize the |
61 |
|
thuban-1.0rc1 namespace too |
62 |
|
|
63 |
|
* test/test_save.py (SaveSessionTest.dtd) |
64 |
|
(SaveSessionTest.testEmptySession) |
65 |
|
(SaveSessionTest.testSingleLayer) |
66 |
|
(SaveSessionTest.testLayerProjection) |
67 |
|
(SaveSessionTest.testRasterLayer) |
68 |
|
(SaveSessionTest.testClassifiedLayer) |
69 |
|
(SaveSessionTest.test_dbf_table) |
70 |
|
(SaveSessionTest.test_joined_table) |
71 |
|
(SaveSessionTest.test_save_postgis): Update to thuban-1.0rc1 |
72 |
|
namespace |
73 |
|
|
74 |
|
* test/test_load.py (LoadSessionTest.dtd): Update to thuban-1.0rc1 |
75 |
|
namespace |
76 |
|
(TestSingleLayer.file_contents) |
77 |
|
(TestNonAsciiColumnName.file_contents) |
78 |
|
(TestLayerVisibility.file_contents) |
79 |
|
(TestClassification.file_contents, TestLabels.file_contents) |
80 |
|
(TestLayerProjection.file_contents) |
81 |
|
(TestRasterLayer.file_contents, TestJoinedTable.file_contents) |
82 |
|
(TestPostGISLayer.file_contents) |
83 |
|
(TestPostGISLayerPassword.file_contents) |
84 |
|
(TestLoadError.file_contents, TestLoadError.test): Update to |
85 |
|
thuban-1.0rc1 namespace |
86 |
|
|
87 |
|
2003-12-01 Bernhard Herzog <[email protected]> |
88 |
|
|
89 |
|
* setup.py (proj4_prefix, wx_prefix, gdal_prefix): Fix these for |
90 |
|
nt to better match Intevation's current w32 setup |
91 |
|
|
92 |
|
* HOWTO-Release: Add note about updating MANIFEST.in |
93 |
|
|
94 |
|
* MANIFEST.in: Add the Extensions |
95 |
|
|
96 |
|
* NEWS: Update for 1.0rc1 |
97 |
|
|
98 |
|
2003-12-01 Bernhard Herzog <[email protected]> |
99 |
|
|
100 |
|
* Thuban/UI/mainwindow.py (MainWindow.AddLayer): Change the wild |
101 |
|
cards for the dialog so that shapefiles ending in all uppercase |
102 |
|
SHP are listed too |
103 |
|
|
104 |
|
2003-11-28 Bernhard Herzog <[email protected]> |
105 |
|
|
106 |
|
* Thuban/version.py (longversion): Update to 1.0rc1 |
107 |
|
|
108 |
|
* setup.py (setup call): Update version to 1.0rc1. Use the |
109 |
|
[email protected] email address as author email instead of my |
110 |
|
personal one. |
111 |
|
|
112 |
|
2003-11-28 Bernhard Herzog <[email protected]> |
113 |
|
|
114 |
|
* po/de.po: Update german translation. |
115 |
|
|
116 |
|
2003-11-28 Bernhard Herzog <[email protected]> |
117 |
|
|
118 |
|
Unify the filenames stored in .thuban files so that the .thuban |
119 |
|
files are more platform independend |
120 |
|
|
121 |
|
* Thuban/Model/save.py (unify_filename): New. Unify filenames so |
122 |
|
that they can be used on both windows and unix |
123 |
|
(SessionSaver.prepare_filename): New. Handle all filename |
124 |
|
transformations for filenames stored in the thuban file |
125 |
|
(SessionSaver.write_data_containers, SessionSaver.write_layer): |
126 |
|
Use prepare_filename |
127 |
|
|
128 |
|
* test/test_save.py (SaveSessionTest.testSingleLayer) |
129 |
|
(SaveSessionTest.testLayerProjection) |
130 |
|
(SaveSessionTest.testRasterLayer) |
131 |
|
(SaveSessionTest.testClassifiedLayer) |
132 |
|
(SaveSessionTest.test_dbf_table) |
133 |
|
(SaveSessionTest.test_joined_table): Filenames are always stored |
134 |
|
with slashes on all currently supported platforms so adapt all |
135 |
|
tests to this |
136 |
|
|
137 |
|
* test/test_load.py (LoadSessionTest.filenames): With the new |
138 |
|
filename scheme the filenames in the tests should be |
139 |
|
understandable on all currently supported platforms so we turn |
140 |
|
this into an empty list because we don't have to normalize them |
141 |
|
anymore |
142 |
|
|
143 |
|
2003-11-28 Bernhard Herzog <[email protected]> |
144 |
|
|
145 |
|
* test/test_layer.py (TestLayer.test_arc_layer_with_projection): |
146 |
|
Add the ellipsoid to the projection since some Proj versions |
147 |
|
complain if it's missing. |
148 |
|
|
149 |
|
2003-11-27 Bernhard Herzog <[email protected]> |
150 |
|
|
151 |
|
Corect some bounding box projection problems |
152 |
|
|
153 |
|
* Thuban/Model/proj.py (Projection.InverseBBox): New. Inverse |
154 |
|
version of ForwardBBox |
155 |
|
(Projection._transform_bbox): New. common implementation of |
156 |
|
ForwardBBox and InverseBBox |
157 |
|
(Projection.ForwardBBox): Use _transform_bbox. |
158 |
|
|
159 |
|
* test/test_proj.py (TestProjection.test): Add test for |
160 |
|
InverseBBox |
161 |
|
|
162 |
|
* Thuban/Model/layer.py (Layer.LatLongBoundingBox) |
163 |
|
(Layer.ShapesBoundingBox, RasterLayer.LatLongBoundingBox): Use the |
164 |
|
new InverseBBox method to determine the unprojected bounding box |
165 |
|
(Layer.ShapesInRegion): Use the ForwardBBox method to project the |
166 |
|
bbox. |
167 |
|
|
168 |
|
* test/test_layer.py (TestLayer.test_point_layer_with_projection): |
169 |
|
Removed. |
170 |
|
(TestLayer.test_arc_layer_with_projection): New. This test is |
171 |
|
better able to test whether bounding boxes are projected correctly |
172 |
|
than test_point_layer_with_projection |
173 |
|
|
174 |
|
* Thuban/UI/viewport.py (ViewPort.map_projection_changed): Use |
175 |
|
InverseBBox to unproject bboxes |
176 |
|
|
177 |
|
2003-11-25 Bernhard Herzog <[email protected]> |
178 |
|
|
179 |
|
* Thuban/UI/about.py (About.__init__): Make sure we have ASCII |
180 |
|
source code. |
181 |
|
|
182 |
|
2003-11-25 Bernhard Herzog <[email protected]> |
183 |
|
|
184 |
|
* Thuban/Model/layer.py (Layer.__getattr__): Removed. It was only |
185 |
|
there for backwards compatibility and all code relying on that |
186 |
|
should have been updated by now. |
187 |
|
|
188 |
|
2003-11-25 Bernhard Herzog <[email protected]> |
189 |
|
|
190 |
|
* test/test_load.py (TestClassification.test): Add the missing |
191 |
|
round trip test. |
192 |
|
(TestClassification.file_contents): Update to the newest file |
193 |
|
format |
194 |
|
|
195 |
|
2003-11-25 Bernhard Herzog <[email protected]> |
196 |
|
|
197 |
|
Add very experimental (and possibly dangerous) extension to draw |
198 |
|
polygons: |
199 |
|
|
200 |
|
* Extensions/drawshape/README: New. Brief installation |
201 |
|
instructions |
202 |
|
|
203 |
|
* Extensions/drawshape/drawshape.py: New. Implementation of the |
204 |
|
drawshape extensions |
205 |
|
|
206 |
|
* Extensions/drawshape/patch.diff: Patch to apply before the |
207 |
|
extension can be used. |
208 |
|
|
209 |
|
2003-11-24 Bernhard Herzog <[email protected]> |
210 |
|
|
211 |
|
* Thuban/Model/data.py (ShapefileStore._open_shapefile) |
212 |
|
(ShapefileStore.__init__): Factor opening the shapefile into a |
213 |
|
separate method (the new _open_shapefile). This makes the code a |
214 |
|
bit more readable but the real reason is that it makes some evil |
215 |
|
hacks easier. :-) |
216 |
|
|
217 |
|
2003-11-24 Bernhard Herzog <[email protected]> |
218 |
|
|
219 |
|
* Thuban/Model/load.py (SessionLoader.check_attrs): If no |
220 |
|
converter is specified for an attribute assume it's a string |
221 |
|
containing only Latin1 characters. Update doc-string accordingly. |
222 |
|
This change should fix many places where unicode objects might |
223 |
|
accidentally enter Thuban. |
224 |
|
|
225 |
|
* test/test_load.py (TestNonAsciiColumnName): New test to check |
226 |
|
what happens with column names in DBF files that contain non-ascii |
227 |
|
characters |
228 |
|
|
229 |
|
2003-11-21 Bernhard Herzog <[email protected]> |
230 |
|
|
231 |
|
Enable the experimental attribute editing again and introduce a |
232 |
|
command line switch to actually activate it |
233 |
|
|
234 |
|
* Thuban/UI/main.py (options): New. Container for options set on |
235 |
|
the commmand line |
236 |
|
(main): Add the --enable-attribute-editing flag. |
237 |
|
|
238 |
|
* Thuban/UI/identifyview.py (IdentifyView.__init__): If attribute |
239 |
|
editing is enabled use the grid ctrl which allows editing of the |
240 |
|
values |
241 |
|
|
242 |
|
* Thuban/Model/transientdb.py (AutoTransientTable.write_record): |
243 |
|
New. Just delegate this to the underlying table. |
244 |
|
|
245 |
|
2003-11-20 Bernhard Herzog <[email protected]> |
246 |
|
|
247 |
|
* test/test_proj.py (ProjFileReadTests.test_read_unreadable_file): |
248 |
|
Skip this test if run under non-posix systems since it only works |
249 |
|
there |
250 |
|
|
251 |
|
2003-11-19 Bernhard Herzog <[email protected]> |
252 |
|
|
253 |
|
* Thuban/Model/resource.py: Rework the way gdal support is |
254 |
|
determined so that we can give a reason in the about why gdal is |
255 |
|
not supported. |
256 |
|
(gdal_support_status): New. Variable holding a string with the |
257 |
|
reason for no gdal support |
258 |
|
|
259 |
|
* Thuban/UI/about.py (About.__init__): Add the reason why gdal is |
260 |
|
not supported to the message |
261 |
|
|
262 |
|
2003-11-19 Bernhard Herzog <[email protected]> |
263 |
|
|
264 |
|
Remove the old table interface and its test cases |
265 |
|
|
266 |
|
* Thuban/Model/table.py (OldTableInterfaceMixin): Removed. |
267 |
|
(DBFTable, MemoryTable): Do not derive from OldTableInterfaceMixin |
268 |
|
anymore |
269 |
|
|
270 |
|
* Thuban/Model/transientdb.py (TransientTableBase) |
271 |
|
(AutoTransientTable): Do not derive from OldTableInterfaceMixin |
272 |
|
anymore |
273 |
|
|
274 |
|
* test/test_table.py: Removed since the old interface it tests is |
275 |
|
gone. |
276 |
|
|
277 |
|
* test/runtests.py (main): The old table interface is gone and |
278 |
|
with it the deprecation warnings so remove the code that turns |
279 |
|
these warnings into errors |
280 |
|
|
281 |
2003-11-19 Bernhard Herzog <[email protected]> |
2003-11-19 Bernhard Herzog <[email protected]> |
282 |
|
|
283 |
* test/test_table.py: Revert to revision 1.5 again. Changing the |
* test/test_table.py: Revert to revision 1.5 again. Changing the |