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