1 |
|
2004-03-11 Bernhard Herzog <[email protected]> |
2 |
|
|
3 |
|
* Thuban/UI/classgen.py (GenQuantilesPanel.GetList): The row |
4 |
|
numbers given to ReadValue are ordinals. |
5 |
|
|
6 |
|
2004-03-11 Bernhard Herzog <[email protected]> |
7 |
|
|
8 |
|
Elimiate the requirement for PostGIS tables to have a column |
9 |
|
called "gid". |
10 |
|
|
11 |
|
* Thuban/Model/postgisdb.py (PostGISTable.__init__): New parameter |
12 |
|
id_column to specify which column to use to identify rows. Also |
13 |
|
new instance variables id_column and quoted_id_column |
14 |
|
(PostGISTable.RowIdToOrdinal, PostGISTable.RowOrdinalToId) |
15 |
|
(PostGISTable.ReadRowAsDict, PostGISTable.ReadValue) |
16 |
|
(PostGISTable.SimpleQuery): Use the id column name provided to the |
17 |
|
constructor instead of "gid" |
18 |
|
(PostGISShapeStore.__init__): New parameter id_column analogously |
19 |
|
to PostGISTable.__init__. This parameter is simply passed through |
20 |
|
to the base class constructor |
21 |
|
(PostGISShapeStore._create_col_from_description): Fix typo in |
22 |
|
doc-string |
23 |
|
(PostGISShapeStore.Shape, PostGISShapeStore.AllShapes) |
24 |
|
(PostGISShapeStore.ShapesInRegion): Use the id column name |
25 |
|
provided to the constructor instead of "gid" |
26 |
|
|
27 |
|
* test/postgissupport.py |
28 |
|
(PostgreSQLServer.get_default_static_data_db): New static table |
29 |
|
landmarks_point_id with an id column != "gid. Update the comments |
30 |
|
a bit. |
31 |
|
(skip_if_addgeometrycolumn_does_not_use_quote_ident): Fix typo in |
32 |
|
doc- |
33 |
|
(upload_shapefile): New parameter gid_column to use a name other |
34 |
|
than "gid" for the column to store the shape ids |
35 |
|
|
36 |
|
* test/test_postgis_db.py (TableTests): New. Mixin-class |
37 |
|
containing all tests previously in TestPostGISTable. The actual |
38 |
|
tests are the same but the code is a bit more configurable to |
39 |
|
allow for different id columns etc. |
40 |
|
(TestPostGISTable): Derive from TableTests now for the actual |
41 |
|
tests. |
42 |
|
(TestPostGISTableExplicitGIDColumn): New. Like TestPostGISTable |
43 |
|
except that it the landmarks_point_id table to test the id_column |
44 |
|
parameter |
45 |
|
(PointTests): Extend the doc-string |
46 |
|
(TestPostGISShapestorePointExplicitGIDColumn) |
47 |
|
(TestPostGISShapestorePointOIDAsGIDColumn): New classes derived |
48 |
|
from PointTests to test the explicit id_column parameter. One |
49 |
|
tests with the name of the column holding the shape ids, the other |
50 |
|
uses PostgreSQL's OID column. For the latter a number of methods |
51 |
|
have to be overwritten to make them independent of the actual id |
52 |
|
values. |
53 |
|
|
54 |
|
2004-03-08 Silke Reimer <[email protected]> |
55 |
|
|
56 |
|
Update debian directory: |
57 |
|
|
58 |
|
* debian/changelog: Added new version. |
59 |
|
* deiban/rules: Updated management of patches (with cbds) |
60 |
|
* debian/control: Added cbds to dependencies |
61 |
|
* debian/patches/*: New. Adds better support for patches of thuban in |
62 |
|
debian |
63 |
|
* debian/menu: Syntax of menu changed slightly |
64 |
|
* debian/setup.py.patch: removed because it has been moved to |
65 |
|
debian/patechs/setup.py.patch |
66 |
|
|
67 |
|
|
68 |
|
2004-02-26 Bernhard Herzog <[email protected]> |
69 |
|
|
70 |
|
Create the Doc/technotes directory for text files with information |
71 |
|
for developers |
72 |
|
|
73 |
|
* Doc/technotes/README: New. README for the technotes |
74 |
|
|
75 |
|
* Doc/technotes/coding_guidelines.txt: New. Coding guidelines for |
76 |
|
Thuban |
77 |
|
|
78 |
|
* Doc/technotes/release_process.txt: New. Used to be |
79 |
|
HOWTO-Release. Now slightly adapted to technote formatting style. |
80 |
|
|
81 |
|
* HOWTO-Release: Removed. It's contents are now in |
82 |
|
Doc/technotes/release_process.txt |
83 |
|
|
84 |
|
2004-02-25 Bernhard Herzog <[email protected]> |
85 |
|
|
86 |
|
* libraries/thuban/wxproj.cpp (get_wx_version): New. Return the |
87 |
|
version of wxWindows the module was compiled with so we can check |
88 |
|
that against the wxPython version. |
89 |
|
|
90 |
|
* Thuban/version.py (thuban_branch, thuban_release): New variables |
91 |
|
controlling which and how Thuban versions are shown. See the |
92 |
|
comments for details. |
93 |
|
(verify_versions): Also check that the wx version that wxproj is |
94 |
|
compiled against matches that of the wxPython we use at runtime |
95 |
|
|
96 |
|
2004-02-20 Bernhard Herzog <[email protected]> |
97 |
|
|
98 |
|
* Extensions/wms/wms.py (epsg_code_to_projection): Use |
99 |
|
get_system_proj_file to read the epsg projections. The old way |
100 |
|
depended on the current directory being the top Thuban directory. |
101 |
|
|
102 |
|
2004-02-20 Bernhard Herzog <[email protected]> |
103 |
|
|
104 |
|
* Extensions/svgexport/test/test_svgmapwriter.py |
105 |
|
(TestVirtualDC.test_clippath): Remove a debug print |
106 |
|
|
107 |
|
2004-02-20 Bernhard Herzog <[email protected]> |
108 |
|
|
109 |
|
* Extensions/svgexport/__init__.py: New. Turn |
110 |
|
Extensions/svgexport into a package. |
111 |
|
|
112 |
|
* Extensions/svgexport/svgmapwriter.py: Reorder the imports and |
113 |
|
doc-string a bit. The doc-string must come first, otherwise it's |
114 |
|
not a doc-string. The __future__ import must be the first thing |
115 |
|
after the doc-string. Use only double quotes in doc-strings. |
116 |
|
Single quotes trip up emacs syntax highlighting if the text |
117 |
|
contains apostrophes. |
118 |
|
|
119 |
|
2004-02-20 Bernhard Herzog <[email protected]> |
120 |
|
|
121 |
|
* Extensions/svgexport/test/__init__.py, |
122 |
|
Extensions/svgexport/test/test_svgmapwriter.py: New. Initial test |
123 |
|
suite for svgexport |
124 |
|
|
125 |
|
* test/runtests.py (find_test_modules): New. Function with the |
126 |
|
module finding code from main. |
127 |
|
(main): Use find_test_modules to figure out the default test |
128 |
|
modules and take modules from Extensions.svgexport.test too. |
129 |
|
|
130 |
|
2004-02-19 Bernhard Herzog <[email protected]> |
131 |
|
|
132 |
|
* Thuban/UI/application.py (ThubanApplication.OnInit): Make sure |
133 |
|
the mainwindow has a reference to the map of the initial session. |
134 |
|
This fixes a bug introduced with the fix for RT#2245 |
135 |
|
|
136 |
|
2004-02-19 Bernhard Herzog <[email protected]> |
137 |
|
|
138 |
|
* Extensions/svgexport/svgsaver.py, |
139 |
|
Extensions/svgexport/svgmapwriter.py, |
140 |
|
Extensions/svgexport/maplegend.py: Added again. This time in the |
141 |
|
correct place. |
142 |
|
|
143 |
|
2004-02-17 Bernhard Herzog <[email protected]> |
144 |
|
|
145 |
|
Fix for RT#2245 |
146 |
|
|
147 |
|
* Thuban/UI/application.py (ThubanApplication.OnInit): Initialize |
148 |
|
instance variables before trying to create any windows. Creating |
149 |
|
windows can start an event loop if e.g. message boxes are popped |
150 |
|
up for some reason, and event handlers, especially EVT_UPDATE_UI |
151 |
|
may want to access things from the application. |
152 |
|
(ThubanApplication.maps_changed): The mainwindow may not have been |
153 |
|
created yet, so check whether it has been created before calling |
154 |
|
its methods |
155 |
|
|
156 |
|
* Thuban/UI/view.py (MapCanvas.OnIdle): Only try to redraw if we |
157 |
|
have a map |
158 |
|
|
159 |
|
2004-02-17 Bernhard Herzog <[email protected]> |
160 |
|
|
161 |
|
* test/test_svgmapwriter.py, Extensions/svgsaver.py, |
162 |
|
Extensions/svgmapwriter.py, Extensions/maplegend.py, |
163 |
|
extensions/svgexport/svgsaver.py, |
164 |
|
extensions/svgexport/svgmapwriter.py, |
165 |
|
extensions/svgexport/maplegend.py: Removed. These files were in |
166 |
|
the wrong places or didn't work at all. |
167 |
|
|
168 |
|
2004-02-16 Bernhard Herzog <[email protected]> |
169 |
|
|
170 |
|
* Thuban/UI/view.py (MapCanvas.Export): Remove accidentally added |
171 |
|
line |
172 |
|
|
173 |
|
2004-02-16 Bernhard Herzog <[email protected]> |
174 |
|
|
175 |
|
* Thuban/UI/view.py (MapCanvas.Export): Avoid UnboundLocalError. |
176 |
|
|
177 |
|
2004-02-15 Markus Rechtien <[email protected]> |
178 |
|
|
179 |
|
* Extensions/svgexport/svgmapwriter.py: New. Adds the capability |
180 |
|
to write a session to a file in SVG format. |
181 |
|
* Extensions/svgexport/svgsaver.py: New. Uses svgmapwriter.py |
182 |
|
to write a SVG map of a session. |
183 |
|
* Extensions/svgexport/maplegend: New. Writes a basic maplegend |
184 |
|
in SVG format for the current session. |
185 |
|
|
186 |
|
2004-02-13 Bernhard Herzog <[email protected]> |
187 |
|
|
188 |
|
* Thuban/UI/mainwindow.py (MainWindow.AddDBLayer): When the layer |
189 |
|
can't be created, return immediately after displaying the error |
190 |
|
message. |
191 |
|
|
192 |
|
2004-02-11 Bernhard Herzog <[email protected]> |
193 |
|
|
194 |
|
Handle postgis tables with more than one geometry column. |
195 |
|
|
196 |
|
* Thuban/Model/postgisdb.py |
197 |
|
(PostGISTable._fetch_table_information): Delegate the creation of |
198 |
|
column objects to a different method so that we can extend that in |
199 |
|
derived classes |
200 |
|
(PostGISTable._create_col_from_description): New. Column object |
201 |
|
creation part of _fetch_table_information |
202 |
|
(PostGISShapeStore._create_col_from_description): New. Extend |
203 |
|
inherited method to handle geometry columns |
204 |
|
(PostGISShapeStore.__init__): New parameter geometry_column to |
205 |
|
specify which geometry column to use. Optional but mandatory for |
206 |
|
tables with more than one geometry column |
207 |
|
(PostGISShapeStore._fetch_table_information): Also use the name of |
208 |
|
the geometry column when looking for the srid |
209 |
|
(PostGISShapeStore.ShapeType): Also use the name of the geometry |
210 |
|
column when looking for the shape type |
211 |
|
|
212 |
|
* test/test_save.py (SaveSessionTest.test_save_postgis): Adapt |
213 |
|
NonConnectionStore to changes in the PostGISShapeStore |
214 |
|
|
215 |
|
* test/test_postgis_db.py |
216 |
|
(TestPostGISSpecialCases.test_shapestore_two_geom_cols): Test |
217 |
|
PostGISShapeStore with tables having two geometry columns. |
218 |
|
|
219 |
|
2004-02-10 Bernhard Herzog <[email protected]> |
220 |
|
|
221 |
|
Fix some postgis problems. What remains to be done is real |
222 |
|
handling of SRIDs as they affect how reprojection is done |
223 |
|
|
224 |
|
* Thuban/Model/postgisdb.py (quote_identifier): Fix typo in |
225 |
|
doc-string |
226 |
|
(PostGISShapeStore._fetch_table_information): New. Extend |
227 |
|
inherited method to retrieve srid |
228 |
|
(PostGISShapeStore.BoundingBox): Handle tables without data. |
229 |
|
extent yields NULL for those |
230 |
|
(PostGISShapeStore.ShapesInRegion): Use the srid of the table. |
231 |
|
|
232 |
|
* test/test_postgis_db.py |
233 |
|
(TestPostGISSpecialCases.test_shapestore_empty_table): New test |
234 |
|
for the special case of a table without any data |
235 |
|
(TestPostGISShapestorePointSRID): New class with tests for a table |
236 |
|
that uses srids |
237 |
|
(PolygonTests): Fix a doc-string typo |
238 |
|
|
239 |
|
* test/postgissupport.py (PostGISDatabase.__init__): New parameter |
240 |
|
reference_systems with a specification of spacial reference |
241 |
|
systems to create in the new db. |
242 |
|
(PostgreSQLServer.new_postgis_db) |
243 |
|
(PostgreSQLServer.get_static_data_db): New parameter |
244 |
|
reference_systems to be passed through ultimately to |
245 |
|
PostGISDatabase. In new_postgis_db also check whether an existing |
246 |
|
db already has the right srids |
247 |
|
(PostgreSQLServer.get_default_static_data_db): Add srids and a |
248 |
|
table that uses srids |
249 |
|
(PostGISDatabase.initdb): Create the entries for the reference |
250 |
|
systems |
251 |
|
(PostGISDatabase.has_data): Add reference_systems parameter to |
252 |
|
check for those too |
253 |
|
(upload_shapefile): New parameter srid to create tables with a |
254 |
|
specific srid |
255 |
|
|
256 |
|
2004-02-06 Frank Koormann <[email protected]> |
257 |
|
|
258 |
|
* po/pt_BR.po: Fixed charset |
259 |
|
|
260 |
|
2004-02-05 Frank Koormann <[email protected]> |
261 |
|
|
262 |
|
* po/pt_BR.po: Fixed format string for error message, missing %s |
263 |
|
added (Thuban/UI/application.py:273) |
264 |
|
|
265 |
|
2004-02-03 Frank Koormann <[email protected]> |
266 |
|
|
267 |
|
First version of Portuguese (Brazilian) translation |
268 |
|
|
269 |
|
* po/pt_BR.po: New, translation of pot (2004-01-15 16:07+0300) for |
270 |
|
Brazilian Portuguese by Eduardo Patto Kanegae. |
271 |
|
|
272 |
|
* Thuban/UI/about.py (About.__init.py__): Added Eduardo to the list of |
273 |
|
translators. |
274 |
|
|
275 |
|
|
276 |
|
2004-01-22 Frank Koormann <[email protected]> |
277 |
|
|
278 |
|
* Doc/manual/thuban-manual.xml: Added section on installation of |
279 |
|
Thuban under Win32 systems. Fixed image path references in the postgis |
280 |
|
section. Some minor source formattings. |
281 |
|
|
282 |
|
2004-01-21 Frank Koormann <[email protected]> |
283 |
|
|
284 |
|
Make Thuban remember path selections (at least for one application run). |
285 |
|
|
286 |
|
* Thuban/UI/application.py (Application.OnInit): Initialize path as a |
287 |
|
attribute of application object. Path is a dictionary of |
288 |
|
strings, currently with the items "data" and "projection". |
289 |
|
(Application.SetPath): New, stores path for the specified item. |
290 |
|
(Application.Path): New, return path for the specified item. |
291 |
|
|
292 |
|
* Thuban/UI/mainwindow.py |
293 |
|
(MainWindow.OpenSession, MainWindow.SaveSessionAs, |
294 |
|
MainWindow.AddLayer, MainWindow.AddRasterLayer, |
295 |
|
MainWindow.TableOpen): Access "data" path information of the |
296 |
|
application. |
297 |
|
|
298 |
|
* Thuban/UI/projdialog.py (ProjFrame._OnImport, ProjFrame._OnExport): |
299 |
|
Access "projection" path information of the application. |
300 |
|
|
301 |
|
2004-01-05 Bernhard Herzog <[email protected]> |
302 |
|
|
303 |
|
* po/ru.po: Updated translations from Alex Shevlakov |
304 |
|
|
305 |
|
2004-01-05 Bernhard Herzog <[email protected]> |
306 |
|
|
307 |
|
* po/Makefile, po/README: Move the description of how to generate |
308 |
|
the translation statistics to the README. |
309 |
|
|
310 |
|
2003-12-23 Bernhard Herzog <[email protected]> |
311 |
|
|
312 |
|
* NEWS: Update for 1.0.0 |
313 |
|
|
314 |
|
* po/it.po: Another update from Maurizio Napolitano |
315 |
|
|
316 |
|
2003-12-23 Bernhard Herzog <[email protected]> |
317 |
|
|
318 |
|
* po/it.po: Updated translation from Maurizio Napolitano |
319 |
|
|
320 |
|
2003-12-23 Bernhard Herzog <[email protected]> |
321 |
|
|
322 |
|
* Thuban/UI/join.py (JoinDialog.__init__): Mark one more string |
323 |
|
for translation |
324 |
|
|
325 |
|
* Thuban/UI/mainwindow.py (MainWindow.TableRename) |
326 |
|
(MainWindow.RenameMap, MainWindow.RenameLayer): Mark some more |
327 |
|
strings for translation |
328 |
|
|
329 |
|
* po/de.po: Update with the newly marked strings. |
330 |
|
|
331 |
|
2003-12-22 Bernhard Herzog <[email protected]> |
332 |
|
|
333 |
|
* HOWTO-Release: Fix the places where version numbers have to be |
334 |
|
updated |
335 |
|
|
336 |
|
2003-12-22 Bernhard Herzog <[email protected]> |
337 |
|
|
338 |
|
* setup.py (setup call): 1.0.0, yeah! |
339 |
|
|
340 |
|
* Thuban/version.py (longversion): 1.0.0, yeah! |
341 |
|
|
342 |
|
* Thuban/Model/load.py (SessionLoader.__init__): Accept the |
343 |
|
1.0.0 namespace too |
344 |
|
|
345 |
|
* Thuban/Model/save.py (SessionSaver.write_session): Save with |
346 |
|
1.0.0 namespace |
347 |
|
|
348 |
|
* test/test_load.py (LoadSessionTest.dtd) |
349 |
|
(TestSingleLayer.file_contents) |
350 |
|
(TestNonAsciiColumnName.file_contents) |
351 |
|
(TestLayerVisibility.file_contents) |
352 |
|
(TestClassification.file_contents, TestLabels.file_contents) |
353 |
|
(TestLayerProjection.file_contents) |
354 |
|
(TestRasterLayer.file_contents, TestJoinedTable.file_contents) |
355 |
|
(TestLabelLayer.file_contents, TestPostGISLayer.file_contents) |
356 |
|
(TestPostGISLayerPassword.file_contents) |
357 |
|
(TestLoadError.file_contents, TestLoadError.test): Update for |
358 |
|
1.0.0 namespace |
359 |
|
|
360 |
|
* test/test_save.py (SaveSessionTest.dtd) |
361 |
|
(SaveSessionTest.testEmptySession) |
362 |
|
(SaveSessionTest.testSingleLayer) |
363 |
|
(SaveSessionTest.testLayerProjection) |
364 |
|
(SaveSessionTest.testRasterLayer) |
365 |
|
(SaveSessionTest.testClassifiedLayer) |
366 |
|
(SaveSessionTest.test_dbf_table) |
367 |
|
(SaveSessionTest.test_joined_table) |
368 |
|
(SaveSessionTest.test_save_postgis): Update for 1.0.0 namespace |
369 |
|
|
370 |
|
2003-12-22 Bernhard Herzog <[email protected]> |
371 |
|
|
372 |
|
* Thuban/Model/load.py (SessionLoader.start_label): Make sure the |
373 |
|
alignment flags are byte strings not unicode and that they have |
374 |
|
valid values |
375 |
|
|
376 |
|
* test/test_load.py (TestLabelLayer): New. Test loading (and |
377 |
|
indirectly saving) of maps with labels. |
378 |
|
|
379 |
|
2003-12-22 Bernhard Herzog <[email protected]> |
380 |
|
|
381 |
|
* Thuban/UI/tableview.py (TableGrid.OnDestroy) |
382 |
|
(TableGrid.__init__): Handle EVT_WINDOW_DESTROY in the grid to |
383 |
|
unsubscribe all subscribers. |
384 |
|
(LayerTableFrame.OnDestroy): Do not unsubscribe any messages from |
385 |
|
self.grid since it may already have been destroyed. |
386 |
|
Fixes RT #2256 |
387 |
|
|
388 |
|
2003-12-19 Bernhard Herzog <[email protected]> |
389 |
|
|
390 |
|
* po/fr.po, po/es.po: Updated translations from Daniel Calvelo |
391 |
|
|
392 |
|
2003-12-16 Bernhard Herzog <[email protected]> |
393 |
|
|
394 |
|
* debian/bitmappath.patch, debian/setup.py.patch: |
395 |
|
added to ensure compliance with FHS for debian |
396 |
|
* debian/rules, debian/changelog: |
397 |
|
added patches in rules to ensure compliance with FHS for debian |
398 |
|
|
399 |
|
2003-12-16 Bernhard Herzog <[email protected]> |
400 |
|
|
401 |
|
* po/Makefile (mo): Make the output a bit nicer so that it prints |
402 |
|
statistics about the translations. Add a comment how produce even |
403 |
|
nicer statistics with sed. |
404 |
|
|
405 |
|
2003-12-09 Frank Koormann <[email protected]> |
406 |
|
|
407 |
|
* Resources/Projections/defaults.proj: |
408 |
|
French projection sample with correct accents (UNICODE). |
409 |
|
|
410 |
2003-12-05 Bernhard Herzog <[email protected]> |
2003-12-05 Bernhard Herzog <[email protected]> |
411 |
|
|
412 |
* MANIFEST.in: Add the devtools directory |
* MANIFEST.in: Add the devtools directory |