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