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