1 |
|
2004-03-08 Silke Reimer <[email protected]> |
2 |
|
|
3 |
|
Update debian directory: |
4 |
|
|
5 |
|
* debian/changelog: Added new version. |
6 |
|
* deiban/rules: Updated management of patches (with cbds) |
7 |
|
* debian/control: Added cbds to dependencies |
8 |
|
* debian/patches/*: New. Adds better support for patches of thuban in |
9 |
|
debian |
10 |
|
* debian/menu: Syntax of menu changed slightly |
11 |
|
* debian/setup.py.patch: removed because it has been moved to |
12 |
|
debian/patechs/setup.py.patch |
13 |
|
|
14 |
|
|
15 |
|
2004-02-26 Bernhard Herzog <[email protected]> |
16 |
|
|
17 |
|
Create the Doc/technotes directory for text files with information |
18 |
|
for developers |
19 |
|
|
20 |
|
* Doc/technotes/README: New. README for the technotes |
21 |
|
|
22 |
|
* Doc/technotes/coding_guidelines.txt: New. Coding guidelines for |
23 |
|
Thuban |
24 |
|
|
25 |
|
* Doc/technotes/release_process.txt: New. Used to be |
26 |
|
HOWTO-Release. Now slightly adapted to technote formatting style. |
27 |
|
|
28 |
|
* HOWTO-Release: Removed. It's contents are now in |
29 |
|
Doc/technotes/release_process.txt |
30 |
|
|
31 |
|
2004-02-25 Bernhard Herzog <[email protected]> |
32 |
|
|
33 |
|
* libraries/thuban/wxproj.cpp (get_wx_version): New. Return the |
34 |
|
version of wxWindows the module was compiled with so we can check |
35 |
|
that against the wxPython version. |
36 |
|
|
37 |
|
* Thuban/version.py (thuban_branch, thuban_release): New variables |
38 |
|
controlling which and how Thuban versions are shown. See the |
39 |
|
comments for details. |
40 |
|
(verify_versions): Also check that the wx version that wxproj is |
41 |
|
compiled against matches that of the wxPython we use at runtime |
42 |
|
|
43 |
|
2004-02-20 Bernhard Herzog <[email protected]> |
44 |
|
|
45 |
|
* Extensions/wms/wms.py (epsg_code_to_projection): Use |
46 |
|
get_system_proj_file to read the epsg projections. The old way |
47 |
|
depended on the current directory being the top Thuban directory. |
48 |
|
|
49 |
|
2004-02-20 Bernhard Herzog <[email protected]> |
50 |
|
|
51 |
|
* Extensions/svgexport/test/test_svgmapwriter.py |
52 |
|
(TestVirtualDC.test_clippath): Remove a debug print |
53 |
|
|
54 |
|
2004-02-20 Bernhard Herzog <[email protected]> |
55 |
|
|
56 |
|
* Extensions/svgexport/__init__.py: New. Turn |
57 |
|
Extensions/svgexport into a package. |
58 |
|
|
59 |
|
* Extensions/svgexport/svgmapwriter.py: Reorder the imports and |
60 |
|
doc-string a bit. The doc-string must come first, otherwise it's |
61 |
|
not a doc-string. The __future__ import must be the first thing |
62 |
|
after the doc-string. Use only double quotes in doc-strings. |
63 |
|
Single quotes trip up emacs syntax highlighting if the text |
64 |
|
contains apostrophes. |
65 |
|
|
66 |
|
2004-02-20 Bernhard Herzog <[email protected]> |
67 |
|
|
68 |
|
* Extensions/svgexport/test/__init__.py, |
69 |
|
Extensions/svgexport/test/test_svgmapwriter.py: New. Initial test |
70 |
|
suite for svgexport |
71 |
|
|
72 |
|
* test/runtests.py (find_test_modules): New. Function with the |
73 |
|
module finding code from main. |
74 |
|
(main): Use find_test_modules to figure out the default test |
75 |
|
modules and take modules from Extensions.svgexport.test too. |
76 |
|
|
77 |
|
2004-02-19 Bernhard Herzog <[email protected]> |
78 |
|
|
79 |
|
* Thuban/UI/application.py (ThubanApplication.OnInit): Make sure |
80 |
|
the mainwindow has a reference to the map of the initial session. |
81 |
|
This fixes a bug introduced with the fix for RT#2245 |
82 |
|
|
83 |
|
2004-02-19 Bernhard Herzog <[email protected]> |
84 |
|
|
85 |
|
* Extensions/svgexport/svgsaver.py, |
86 |
|
Extensions/svgexport/svgmapwriter.py, |
87 |
|
Extensions/svgexport/maplegend.py: Added again. This time in the |
88 |
|
correct place. |
89 |
|
|
90 |
|
2004-02-17 Bernhard Herzog <[email protected]> |
91 |
|
|
92 |
|
Fix for RT#2245 |
93 |
|
|
94 |
|
* Thuban/UI/application.py (ThubanApplication.OnInit): Initialize |
95 |
|
instance variables before trying to create any windows. Creating |
96 |
|
windows can start an event loop if e.g. message boxes are popped |
97 |
|
up for some reason, and event handlers, especially EVT_UPDATE_UI |
98 |
|
may want to access things from the application. |
99 |
|
(ThubanApplication.maps_changed): The mainwindow may not have been |
100 |
|
created yet, so check whether it has been created before calling |
101 |
|
its methods |
102 |
|
|
103 |
|
* Thuban/UI/view.py (MapCanvas.OnIdle): Only try to redraw if we |
104 |
|
have a map |
105 |
|
|
106 |
|
2004-02-17 Bernhard Herzog <[email protected]> |
107 |
|
|
108 |
|
* test/test_svgmapwriter.py, Extensions/svgsaver.py, |
109 |
|
Extensions/svgmapwriter.py, Extensions/maplegend.py, |
110 |
|
extensions/svgexport/svgsaver.py, |
111 |
|
extensions/svgexport/svgmapwriter.py, |
112 |
|
extensions/svgexport/maplegend.py: Removed. These files were in |
113 |
|
the wrong places or didn't work at all. |
114 |
|
|
115 |
|
2004-02-16 Bernhard Herzog <[email protected]> |
116 |
|
|
117 |
|
* Thuban/UI/view.py (MapCanvas.Export): Remove accidentally added |
118 |
|
line |
119 |
|
|
120 |
|
2004-02-16 Bernhard Herzog <[email protected]> |
121 |
|
|
122 |
|
* Thuban/UI/view.py (MapCanvas.Export): Avoid UnboundLocalError. |
123 |
|
|
124 |
|
2004-02-15 Markus Rechtien <[email protected]> |
125 |
|
|
126 |
|
* Extensions/svgexport/svgmapwriter.py: New. Adds the capability |
127 |
|
to write a session to a file in SVG format. |
128 |
|
* Extensions/svgexport/svgsaver.py: New. Uses svgmapwriter.py |
129 |
|
to write a SVG map of a session. |
130 |
|
* Extensions/svgexport/maplegend: New. Writes a basic maplegend |
131 |
|
in SVG format for the current session. |
132 |
|
|
133 |
|
2004-02-13 Bernhard Herzog <[email protected]> |
134 |
|
|
135 |
|
* Thuban/UI/mainwindow.py (MainWindow.AddDBLayer): When the layer |
136 |
|
can't be created, return immediately after displaying the error |
137 |
|
message. |
138 |
|
|
139 |
|
2004-02-11 Bernhard Herzog <[email protected]> |
140 |
|
|
141 |
|
Handle postgis tables with more than one geometry column. |
142 |
|
|
143 |
|
* Thuban/Model/postgisdb.py |
144 |
|
(PostGISTable._fetch_table_information): Delegate the creation of |
145 |
|
column objects to a different method so that we can extend that in |
146 |
|
derived classes |
147 |
|
(PostGISTable._create_col_from_description): New. Column object |
148 |
|
creation part of _fetch_table_information |
149 |
|
(PostGISShapeStore._create_col_from_description): New. Extend |
150 |
|
inherited method to handle geometry columns |
151 |
|
(PostGISShapeStore.__init__): New parameter geometry_column to |
152 |
|
specify which geometry column to use. Optional but mandatory for |
153 |
|
tables with more than one geometry column |
154 |
|
(PostGISShapeStore._fetch_table_information): Also use the name of |
155 |
|
the geometry column when looking for the srid |
156 |
|
(PostGISShapeStore.ShapeType): Also use the name of the geometry |
157 |
|
column when looking for the shape type |
158 |
|
|
159 |
|
* test/test_save.py (SaveSessionTest.test_save_postgis): Adapt |
160 |
|
NonConnectionStore to changes in the PostGISShapeStore |
161 |
|
|
162 |
|
* test/test_postgis_db.py |
163 |
|
(TestPostGISSpecialCases.test_shapestore_two_geom_cols): Test |
164 |
|
PostGISShapeStore with tables having two geometry columns. |
165 |
|
|
166 |
|
2004-02-10 Bernhard Herzog <[email protected]> |
167 |
|
|
168 |
|
Fix some postgis problems. What remains to be done is real |
169 |
|
handling of SRIDs as they affect how reprojection is done |
170 |
|
|
171 |
|
* Thuban/Model/postgisdb.py (quote_identifier): Fix typo in |
172 |
|
doc-string |
173 |
|
(PostGISShapeStore._fetch_table_information): New. Extend |
174 |
|
inherited method to retrieve srid |
175 |
|
(PostGISShapeStore.BoundingBox): Handle tables without data. |
176 |
|
extent yields NULL for those |
177 |
|
(PostGISShapeStore.ShapesInRegion): Use the srid of the table. |
178 |
|
|
179 |
|
* test/test_postgis_db.py |
180 |
|
(TestPostGISSpecialCases.test_shapestore_empty_table): New test |
181 |
|
for the special case of a table without any data |
182 |
|
(TestPostGISShapestorePointSRID): New class with tests for a table |
183 |
|
that uses srids |
184 |
|
(PolygonTests): Fix a doc-string typo |
185 |
|
|
186 |
|
* test/postgissupport.py (PostGISDatabase.__init__): New parameter |
187 |
|
reference_systems with a specification of spacial reference |
188 |
|
systems to create in the new db. |
189 |
|
(PostgreSQLServer.new_postgis_db) |
190 |
|
(PostgreSQLServer.get_static_data_db): New parameter |
191 |
|
reference_systems to be passed through ultimately to |
192 |
|
PostGISDatabase. In new_postgis_db also check whether an existing |
193 |
|
db already has the right srids |
194 |
|
(PostgreSQLServer.get_default_static_data_db): Add srids and a |
195 |
|
table that uses srids |
196 |
|
(PostGISDatabase.initdb): Create the entries for the reference |
197 |
|
systems |
198 |
|
(PostGISDatabase.has_data): Add reference_systems parameter to |
199 |
|
check for those too |
200 |
|
(upload_shapefile): New parameter srid to create tables with a |
201 |
|
specific srid |
202 |
|
|
203 |
|
2004-02-06 Frank Koormann <[email protected]> |
204 |
|
|
205 |
|
* po/pt_BR.po: Fixed charset |
206 |
|
|
207 |
|
2004-02-05 Frank Koormann <[email protected]> |
208 |
|
|
209 |
|
* po/pt_BR.po: Fixed format string for error message, missing %s |
210 |
|
added (Thuban/UI/application.py:273) |
211 |
|
|
212 |
|
2004-02-03 Frank Koormann <[email protected]> |
213 |
|
|
214 |
|
First version of Portuguese (Brazilian) translation |
215 |
|
|
216 |
|
* po/pt_BR.po: New, translation of pot (2004-01-15 16:07+0300) for |
217 |
|
Brazilian Portuguese by Eduardo Patto Kanegae. |
218 |
|
|
219 |
|
* Thuban/UI/about.py (About.__init.py__): Added Eduardo to the list of |
220 |
|
translators. |
221 |
|
|
222 |
|
|
223 |
|
2004-01-22 Frank Koormann <[email protected]> |
224 |
|
|
225 |
|
* Doc/manual/thuban-manual.xml: Added section on installation of |
226 |
|
Thuban under Win32 systems. Fixed image path references in the postgis |
227 |
|
section. Some minor source formattings. |
228 |
|
|
229 |
|
2004-01-21 Frank Koormann <[email protected]> |
230 |
|
|
231 |
|
Make Thuban remember path selections (at least for one application run). |
232 |
|
|
233 |
|
* Thuban/UI/application.py (Application.OnInit): Initialize path as a |
234 |
|
attribute of application object. Path is a dictionary of |
235 |
|
strings, currently with the items "data" and "projection". |
236 |
|
(Application.SetPath): New, stores path for the specified item. |
237 |
|
(Application.Path): New, return path for the specified item. |
238 |
|
|
239 |
|
* Thuban/UI/mainwindow.py |
240 |
|
(MainWindow.OpenSession, MainWindow.SaveSessionAs, |
241 |
|
MainWindow.AddLayer, MainWindow.AddRasterLayer, |
242 |
|
MainWindow.TableOpen): Access "data" path information of the |
243 |
|
application. |
244 |
|
|
245 |
|
* Thuban/UI/projdialog.py (ProjFrame._OnImport, ProjFrame._OnExport): |
246 |
|
Access "projection" path information of the application. |
247 |
|
|
248 |
|
2004-01-05 Bernhard Herzog <[email protected]> |
249 |
|
|
250 |
|
* po/ru.po: Updated translations from Alex Shevlakov |
251 |
|
|
252 |
|
2004-01-05 Bernhard Herzog <[email protected]> |
253 |
|
|
254 |
|
* po/Makefile, po/README: Move the description of how to generate |
255 |
|
the translation statistics to the README. |
256 |
|
|
257 |
|
2003-12-23 Bernhard Herzog <[email protected]> |
258 |
|
|
259 |
|
* NEWS: Update for 1.0.0 |
260 |
|
|
261 |
|
* po/it.po: Another update from Maurizio Napolitano |
262 |
|
|
263 |
|
2003-12-23 Bernhard Herzog <[email protected]> |
264 |
|
|
265 |
|
* po/it.po: Updated translation from Maurizio Napolitano |
266 |
|
|
267 |
|
2003-12-23 Bernhard Herzog <[email protected]> |
268 |
|
|
269 |
|
* Thuban/UI/join.py (JoinDialog.__init__): Mark one more string |
270 |
|
for translation |
271 |
|
|
272 |
|
* Thuban/UI/mainwindow.py (MainWindow.TableRename) |
273 |
|
(MainWindow.RenameMap, MainWindow.RenameLayer): Mark some more |
274 |
|
strings for translation |
275 |
|
|
276 |
|
* po/de.po: Update with the newly marked strings. |
277 |
|
|
278 |
|
2003-12-22 Bernhard Herzog <[email protected]> |
279 |
|
|
280 |
|
* HOWTO-Release: Fix the places where version numbers have to be |
281 |
|
updated |
282 |
|
|
283 |
|
2003-12-22 Bernhard Herzog <[email protected]> |
284 |
|
|
285 |
|
* setup.py (setup call): 1.0.0, yeah! |
286 |
|
|
287 |
|
* Thuban/version.py (longversion): 1.0.0, yeah! |
288 |
|
|
289 |
|
* Thuban/Model/load.py (SessionLoader.__init__): Accept the |
290 |
|
1.0.0 namespace too |
291 |
|
|
292 |
|
* Thuban/Model/save.py (SessionSaver.write_session): Save with |
293 |
|
1.0.0 namespace |
294 |
|
|
295 |
|
* test/test_load.py (LoadSessionTest.dtd) |
296 |
|
(TestSingleLayer.file_contents) |
297 |
|
(TestNonAsciiColumnName.file_contents) |
298 |
|
(TestLayerVisibility.file_contents) |
299 |
|
(TestClassification.file_contents, TestLabels.file_contents) |
300 |
|
(TestLayerProjection.file_contents) |
301 |
|
(TestRasterLayer.file_contents, TestJoinedTable.file_contents) |
302 |
|
(TestLabelLayer.file_contents, TestPostGISLayer.file_contents) |
303 |
|
(TestPostGISLayerPassword.file_contents) |
304 |
|
(TestLoadError.file_contents, TestLoadError.test): Update for |
305 |
|
1.0.0 namespace |
306 |
|
|
307 |
|
* test/test_save.py (SaveSessionTest.dtd) |
308 |
|
(SaveSessionTest.testEmptySession) |
309 |
|
(SaveSessionTest.testSingleLayer) |
310 |
|
(SaveSessionTest.testLayerProjection) |
311 |
|
(SaveSessionTest.testRasterLayer) |
312 |
|
(SaveSessionTest.testClassifiedLayer) |
313 |
|
(SaveSessionTest.test_dbf_table) |
314 |
|
(SaveSessionTest.test_joined_table) |
315 |
|
(SaveSessionTest.test_save_postgis): Update for 1.0.0 namespace |
316 |
|
|
317 |
|
2003-12-22 Bernhard Herzog <[email protected]> |
318 |
|
|
319 |
|
* Thuban/Model/load.py (SessionLoader.start_label): Make sure the |
320 |
|
alignment flags are byte strings not unicode and that they have |
321 |
|
valid values |
322 |
|
|
323 |
|
* test/test_load.py (TestLabelLayer): New. Test loading (and |
324 |
|
indirectly saving) of maps with labels. |
325 |
|
|
326 |
|
2003-12-22 Bernhard Herzog <[email protected]> |
327 |
|
|
328 |
|
* Thuban/UI/tableview.py (TableGrid.OnDestroy) |
329 |
|
(TableGrid.__init__): Handle EVT_WINDOW_DESTROY in the grid to |
330 |
|
unsubscribe all subscribers. |
331 |
|
(LayerTableFrame.OnDestroy): Do not unsubscribe any messages from |
332 |
|
self.grid since it may already have been destroyed. |
333 |
|
Fixes RT #2256 |
334 |
|
|
335 |
|
2003-12-19 Bernhard Herzog <[email protected]> |
336 |
|
|
337 |
|
* po/fr.po, po/es.po: Updated translations from Daniel Calvelo |
338 |
|
|
339 |
|
2003-12-16 Bernhard Herzog <[email protected]> |
340 |
|
|
341 |
|
* debian/bitmappath.patch, debian/setup.py.patch: |
342 |
|
added to ensure compliance with FHS for debian |
343 |
|
* debian/rules, debian/changelog: |
344 |
|
added patches in rules to ensure compliance with FHS for debian |
345 |
|
|
346 |
|
2003-12-16 Bernhard Herzog <[email protected]> |
347 |
|
|
348 |
|
* po/Makefile (mo): Make the output a bit nicer so that it prints |
349 |
|
statistics about the translations. Add a comment how produce even |
350 |
|
nicer statistics with sed. |
351 |
|
|
352 |
|
2003-12-09 Frank Koormann <[email protected]> |
353 |
|
|
354 |
|
* Resources/Projections/defaults.proj: |
355 |
|
French projection sample with correct accents (UNICODE). |
356 |
|
|
357 |
|
2003-12-05 Bernhard Herzog <[email protected]> |
358 |
|
|
359 |
|
* MANIFEST.in: Add the devtools directory |
360 |
|
|
361 |
|
* setup.py (setup call): Use license instead of licence. This |
362 |
|
silences a deprecation warning on Python 2.3 |
363 |
|
|
364 |
|
2003-12-05 Frank Koormann <[email protected]> |
365 |
|
|
366 |
|
Documentation synced with 1.0rc1 |
367 |
|
|
368 |
|
* Doc/manual/thuban-manual.xml: |
369 |
|
Minor formatting changes and references to database layers . |
370 |
|
Introduction.Internationalization: New section on i18n. |
371 |
|
MapManagement.AddingandRemovingLayers: Added item on database layers. |
372 |
|
MapManagement.TheLegend: Added section and screenshot on popup menu. |
373 |
|
ProjectionManagement: Updated screenshot and sentence on EPSG. |
374 |
|
Appendix.SupportedDataSources: Added PostGIS. |
375 |
|
Appendix.WorkingwithPostGIS: New section. |
376 |
|
|
377 |
|
* Doc/manual/images/6_projection.png: Updated screenshot including |
378 |
|
EPSG checkboxes. |
379 |
|
|
380 |
|
* Doc/manual/images/3_5_popup_menu.png: New, popup menu screenshot. |
381 |
|
|
382 |
|
* Doc/manual/images/app_postgis_add_layer.png, |
383 |
|
Doc/manual/images/app_postgis_db_add.png, |
384 |
|
Doc/manual/images/app_postgis_db_management.png: |
385 |
|
New screenshots focussing on database layers |
386 |
|
|
387 |
|
2003-12-05 Frank Koormann <[email protected]> |
388 |
|
|
389 |
|
* Thuban/UI/projdialog.py (load_user_proj): If user.proj is missing |
390 |
|
write warning to stderr instead of rising a warning dialog |
391 |
|
|
392 |
|
2003-12-03 Bernhard Herzog <[email protected]> |
393 |
|
|
394 |
|
Fix for RT #2243 |
395 |
|
|
396 |
|
* Thuban/UI/mainwindow.py (MainWindow.has_selected_shape_layer): |
397 |
|
New. Like has_selected_layer but for shape layers only |
398 |
|
(_has_selected_shape_layer): New. Like _has_selected_layer but for |
399 |
|
shape layers only |
400 |
|
(layer_show_table command, layer_jointable command): Use these |
401 |
|
commands should only be available for shape layers |
402 |
|
|
403 |
|
2003-12-03 Bernhard Herzog <[email protected]> |
404 |
|
|
405 |
|
* Thuban/UI/mainwindow.py (MainWindow.Unsubscribe): Deal with |
406 |
|
publishers that are wx objects and may have been destroyed by wx |
407 |
|
already. Fixes RT #2242. |
408 |
|
|
409 |
|
2003-12-03 Bernhard Herzog <[email protected]> |
410 |
|
|
411 |
|
* po/ru.po: Updates from Alex Shevlakov |
412 |
|
|
413 |
|
2003-12-03 Silke Reimer <silkeintevation.de> |
414 |
|
|
415 |
|
* debian/control, debian/changelog: Added gdal-support to |
416 |
|
debian package, updated to new thuban version |
417 |
|
|
418 |
|
|
419 |
|
2003-12-03 Bernhard Herzog <[email protected]> |
420 |
|
|
421 |
|
* Thuban/Lib/version.py: New. Module for version number |
422 |
|
manipulations. The version of make_tuple here also deals better |
423 |
|
with more unusual version number strings, such as e.g. |
424 |
|
"1.2+cvs20031111" |
425 |
|
|
426 |
|
* Thuban/version.py (make_tuple): Removed. It's now in |
427 |
|
Thuban.Lib.version. Use that implementation instead. |
428 |
|
|
429 |
|
* test/test_lib_version.py: New. Tests for Thuban/Lib/version.py |
430 |
|
|
431 |
|
2003-12-02 Bernhard Herzog <[email protected]> |
432 |
|
|
433 |
|
* MANIFEST.in: Add debian files |
434 |
|
|
435 |
|
* setup.py (setup call): Add packages for the Extensions so that |
436 |
|
they're installed too |
437 |
|
(data_files): Add READMEs and sample data from some Extensions |
438 |
|
|
439 |
|
* NEWS: Add note about the extensions in binary packages |
440 |
|
|
441 |
|
2003-12-02 Bernhard Herzog <[email protected]> |
442 |
|
|
443 |
|
* Thuban/Model/save.py (SessionSaver.write_session): Save files |
444 |
|
with the thuban-1.0rc1 |
445 |
|
|
446 |
|
* Thuban/Model/load.py (SessionLoader.__init__): Recognize the |
447 |
|
thuban-1.0rc1 namespace too |
448 |
|
|
449 |
|
* test/test_save.py (SaveSessionTest.dtd) |
450 |
|
(SaveSessionTest.testEmptySession) |
451 |
|
(SaveSessionTest.testSingleLayer) |
452 |
|
(SaveSessionTest.testLayerProjection) |
453 |
|
(SaveSessionTest.testRasterLayer) |
454 |
|
(SaveSessionTest.testClassifiedLayer) |
455 |
|
(SaveSessionTest.test_dbf_table) |
456 |
|
(SaveSessionTest.test_joined_table) |
457 |
|
(SaveSessionTest.test_save_postgis): Update to thuban-1.0rc1 |
458 |
|
namespace |
459 |
|
|
460 |
|
* test/test_load.py (LoadSessionTest.dtd): Update to thuban-1.0rc1 |
461 |
|
namespace |
462 |
|
(TestSingleLayer.file_contents) |
463 |
|
(TestNonAsciiColumnName.file_contents) |
464 |
|
(TestLayerVisibility.file_contents) |
465 |
|
(TestClassification.file_contents, TestLabels.file_contents) |
466 |
|
(TestLayerProjection.file_contents) |
467 |
|
(TestRasterLayer.file_contents, TestJoinedTable.file_contents) |
468 |
|
(TestPostGISLayer.file_contents) |
469 |
|
(TestPostGISLayerPassword.file_contents) |
470 |
|
(TestLoadError.file_contents, TestLoadError.test): Update to |
471 |
|
thuban-1.0rc1 namespace |
472 |
|
|
473 |
|
2003-12-01 Bernhard Herzog <[email protected]> |
474 |
|
|
475 |
|
* setup.py (proj4_prefix, wx_prefix, gdal_prefix): Fix these for |
476 |
|
nt to better match Intevation's current w32 setup |
477 |
|
|
478 |
|
* HOWTO-Release: Add note about updating MANIFEST.in |
479 |
|
|
480 |
|
* MANIFEST.in: Add the Extensions |
481 |
|
|
482 |
|
* NEWS: Update for 1.0rc1 |
483 |
|
|
484 |
|
2003-12-01 Bernhard Herzog <[email protected]> |
485 |
|
|
486 |
|
* Thuban/UI/mainwindow.py (MainWindow.AddLayer): Change the wild |
487 |
|
cards for the dialog so that shapefiles ending in all uppercase |
488 |
|
SHP are listed too |
489 |
|
|
490 |
|
2003-11-28 Bernhard Herzog <[email protected]> |
491 |
|
|
492 |
|
* Thuban/version.py (longversion): Update to 1.0rc1 |
493 |
|
|
494 |
|
* setup.py (setup call): Update version to 1.0rc1. Use the |
495 |
|
[email protected] email address as author email instead of my |
496 |
|
personal one. |
497 |
|
|
498 |
|
2003-11-28 Bernhard Herzog <[email protected]> |
499 |
|
|
500 |
|
* po/de.po: Update german translation. |
501 |
|
|
502 |
|
2003-11-28 Bernhard Herzog <[email protected]> |
503 |
|
|
504 |
|
Unify the filenames stored in .thuban files so that the .thuban |
505 |
|
files are more platform independend |
506 |
|
|
507 |
|
* Thuban/Model/save.py (unify_filename): New. Unify filenames so |
508 |
|
that they can be used on both windows and unix |
509 |
|
(SessionSaver.prepare_filename): New. Handle all filename |
510 |
|
transformations for filenames stored in the thuban file |
511 |
|
(SessionSaver.write_data_containers, SessionSaver.write_layer): |
512 |
|
Use prepare_filename |
513 |
|
|
514 |
|
* test/test_save.py (SaveSessionTest.testSingleLayer) |
515 |
|
(SaveSessionTest.testLayerProjection) |
516 |
|
(SaveSessionTest.testRasterLayer) |
517 |
|
(SaveSessionTest.testClassifiedLayer) |
518 |
|
(SaveSessionTest.test_dbf_table) |
519 |
|
(SaveSessionTest.test_joined_table): Filenames are always stored |
520 |
|
with slashes on all currently supported platforms so adapt all |
521 |
|
tests to this |
522 |
|
|
523 |
|
* test/test_load.py (LoadSessionTest.filenames): With the new |
524 |
|
filename scheme the filenames in the tests should be |
525 |
|
understandable on all currently supported platforms so we turn |
526 |
|
this into an empty list because we don't have to normalize them |
527 |
|
anymore |
528 |
|
|
529 |
|
2003-11-28 Bernhard Herzog <[email protected]> |
530 |
|
|
531 |
|
* test/test_layer.py (TestLayer.test_arc_layer_with_projection): |
532 |
|
Add the ellipsoid to the projection since some Proj versions |
533 |
|
complain if it's missing. |
534 |
|
|
535 |
|
2003-11-27 Bernhard Herzog <[email protected]> |
536 |
|
|
537 |
|
Corect some bounding box projection problems |
538 |
|
|
539 |
|
* Thuban/Model/proj.py (Projection.InverseBBox): New. Inverse |
540 |
|
version of ForwardBBox |
541 |
|
(Projection._transform_bbox): New. common implementation of |
542 |
|
ForwardBBox and InverseBBox |
543 |
|
(Projection.ForwardBBox): Use _transform_bbox. |
544 |
|
|
545 |
|
* test/test_proj.py (TestProjection.test): Add test for |
546 |
|
InverseBBox |
547 |
|
|
548 |
|
* Thuban/Model/layer.py (Layer.LatLongBoundingBox) |
549 |
|
(Layer.ShapesBoundingBox, RasterLayer.LatLongBoundingBox): Use the |
550 |
|
new InverseBBox method to determine the unprojected bounding box |
551 |
|
(Layer.ShapesInRegion): Use the ForwardBBox method to project the |
552 |
|
bbox. |
553 |
|
|
554 |
|
* test/test_layer.py (TestLayer.test_point_layer_with_projection): |
555 |
|
Removed. |
556 |
|
(TestLayer.test_arc_layer_with_projection): New. This test is |
557 |
|
better able to test whether bounding boxes are projected correctly |
558 |
|
than test_point_layer_with_projection |
559 |
|
|
560 |
|
* Thuban/UI/viewport.py (ViewPort.map_projection_changed): Use |
561 |
|
InverseBBox to unproject bboxes |
562 |
|
|
563 |
|
2003-11-25 Bernhard Herzog <[email protected]> |
564 |
|
|
565 |
|
* Thuban/UI/about.py (About.__init__): Make sure we have ASCII |
566 |
|
source code. |
567 |
|
|
568 |
|
2003-11-25 Bernhard Herzog <[email protected]> |
569 |
|
|
570 |
|
* Thuban/Model/layer.py (Layer.__getattr__): Removed. It was only |
571 |
|
there for backwards compatibility and all code relying on that |
572 |
|
should have been updated by now. |
573 |
|
|
574 |
|
2003-11-25 Bernhard Herzog <[email protected]> |
575 |
|
|
576 |
|
* test/test_load.py (TestClassification.test): Add the missing |
577 |
|
round trip test. |
578 |
|
(TestClassification.file_contents): Update to the newest file |
579 |
|
format |
580 |
|
|
581 |
|
2003-11-25 Bernhard Herzog <[email protected]> |
582 |
|
|
583 |
|
Add very experimental (and possibly dangerous) extension to draw |
584 |
|
polygons: |
585 |
|
|
586 |
|
* Extensions/drawshape/README: New. Brief installation |
587 |
|
instructions |
588 |
|
|
589 |
|
* Extensions/drawshape/drawshape.py: New. Implementation of the |
590 |
|
drawshape extensions |
591 |
|
|
592 |
|
* Extensions/drawshape/patch.diff: Patch to apply before the |
593 |
|
extension can be used. |
594 |
|
|
595 |
|
2003-11-24 Bernhard Herzog <[email protected]> |
596 |
|
|
597 |
|
* Thuban/Model/data.py (ShapefileStore._open_shapefile) |
598 |
|
(ShapefileStore.__init__): Factor opening the shapefile into a |
599 |
|
separate method (the new _open_shapefile). This makes the code a |
600 |
|
bit more readable but the real reason is that it makes some evil |
601 |
|
hacks easier. :-) |
602 |
|
|
603 |
|
2003-11-24 Bernhard Herzog <[email protected]> |
604 |
|
|
605 |
|
* Thuban/Model/load.py (SessionLoader.check_attrs): If no |
606 |
|
converter is specified for an attribute assume it's a string |
607 |
|
containing only Latin1 characters. Update doc-string accordingly. |
608 |
|
This change should fix many places where unicode objects might |
609 |
|
accidentally enter Thuban. |
610 |
|
|
611 |
|
* test/test_load.py (TestNonAsciiColumnName): New test to check |
612 |
|
what happens with column names in DBF files that contain non-ascii |
613 |
|
characters |
614 |
|
|
615 |
|
2003-11-21 Bernhard Herzog <[email protected]> |
616 |
|
|
617 |
|
Enable the experimental attribute editing again and introduce a |
618 |
|
command line switch to actually activate it |
619 |
|
|
620 |
|
* Thuban/UI/main.py (options): New. Container for options set on |
621 |
|
the commmand line |
622 |
|
(main): Add the --enable-attribute-editing flag. |
623 |
|
|
624 |
|
* Thuban/UI/identifyview.py (IdentifyView.__init__): If attribute |
625 |
|
editing is enabled use the grid ctrl which allows editing of the |
626 |
|
values |
627 |
|
|
628 |
|
* Thuban/Model/transientdb.py (AutoTransientTable.write_record): |
629 |
|
New. Just delegate this to the underlying table. |
630 |
|
|
631 |
|
2003-11-20 Bernhard Herzog <[email protected]> |
632 |
|
|
633 |
|
* test/test_proj.py (ProjFileReadTests.test_read_unreadable_file): |
634 |
|
Skip this test if run under non-posix systems since it only works |
635 |
|
there |
636 |
|
|
637 |
|
2003-11-19 Bernhard Herzog <[email protected]> |
638 |
|
|
639 |
|
* Thuban/Model/resource.py: Rework the way gdal support is |
640 |
|
determined so that we can give a reason in the about why gdal is |
641 |
|
not supported. |
642 |
|
(gdal_support_status): New. Variable holding a string with the |
643 |
|
reason for no gdal support |
644 |
|
|
645 |
|
* Thuban/UI/about.py (About.__init__): Add the reason why gdal is |
646 |
|
not supported to the message |
647 |
|
|
648 |
|
2003-11-19 Bernhard Herzog <[email protected]> |
649 |
|
|
650 |
|
Remove the old table interface and its test cases |
651 |
|
|
652 |
|
* Thuban/Model/table.py (OldTableInterfaceMixin): Removed. |
653 |
|
(DBFTable, MemoryTable): Do not derive from OldTableInterfaceMixin |
654 |
|
anymore |
655 |
|
|
656 |
|
* Thuban/Model/transientdb.py (TransientTableBase) |
657 |
|
(AutoTransientTable): Do not derive from OldTableInterfaceMixin |
658 |
|
anymore |
659 |
|
|
660 |
|
* test/test_table.py: Removed since the old interface it tests is |
661 |
|
gone. |
662 |
|
|
663 |
|
* test/runtests.py (main): The old table interface is gone and |
664 |
|
with it the deprecation warnings so remove the code that turns |
665 |
|
these warnings into errors |
666 |
|
|
667 |
2003-11-19 Bernhard Herzog <[email protected]> |
2003-11-19 Bernhard Herzog <[email protected]> |
668 |
|
|
669 |
* test/test_table.py: Revert to revision 1.5 again. Changing the |
* test/test_table.py: Revert to revision 1.5 again. Changing the |