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]> |
2004-02-19 Bernhard Herzog <[email protected]> |
137 |
|
|
138 |
* Extensions/svgexport/svgsaver.py, |
* Extensions/svgexport/svgsaver.py, |