1 |
|
2005-07-05 Bernhard Herzog <[email protected]> |
2 |
|
|
3 |
|
* setup.py (setup call): Version 1.1.0 |
4 |
|
|
5 |
|
* NEWS: Update for 1.1.0 |
6 |
|
|
7 |
|
* MANIFEST.in: Add *.txt to files taken from Doc. Otherwise the |
8 |
|
technores won't be included |
9 |
|
|
10 |
|
* Thuban/UI/about.py (About.__init__): Extend copyright notice to |
11 |
|
2005 |
12 |
|
|
13 |
|
* po/de.po: Updated. |
14 |
|
|
15 |
|
2005-07-05 Bernhard Herzog <[email protected]> |
16 |
|
|
17 |
|
* README: gdal 1.1.8 is too old. 1.2.5 works. |
18 |
|
|
19 |
|
2005-07-05 Bernhard Herzog <[email protected]> |
20 |
|
|
21 |
|
* Resources/XML/thuban-1.1.dtd (rasterlayer): Add the opacity and |
22 |
|
masktype attributes. |
23 |
|
|
24 |
|
2005-07-05 Bernhard Herzog <[email protected]> |
25 |
|
|
26 |
|
* Thuban/Model/layer.py (Layer.__mangle_bounding_box) |
27 |
|
(Layer.ClipBoundingBox): Rename ClipBoundingBox to |
28 |
|
__mangle_bounding_box. See the comments in the code and RT #2845 |
29 |
|
|
30 |
|
* test/test_layer.py (TestLayer.test_arc_layer_with_projection): |
31 |
|
Remove the explicit test of ClipBoundingBox. The method isn't |
32 |
|
public anymore and the direct call in the test wasn't necessary in |
33 |
|
the first place. If ClipBoundingBox (now __mangle_bounding_box) |
34 |
|
isn't called, the return value of ShapesInRegion will be |
35 |
|
different. |
36 |
|
|
37 |
|
2005-07-05 Bernhard Herzog <[email protected]> |
38 |
|
|
39 |
|
* Thuban/UI/viewport.py (ViewPort.set_view_transform): Handle |
40 |
|
ZeroDivisionError exceptions. I don't know when they happen |
41 |
|
exactly. It probably happens when the projections aren't set |
42 |
|
properly. |
43 |
|
|
44 |
|
2005-07-01 Bernhard Herzog <[email protected]> |
45 |
|
|
46 |
|
First step towards unicode. With this roughly we're at step 1 |
47 |
|
string_representation.txt |
48 |
|
|
49 |
|
* Doc/technotes/string_representation.txt: New. Document how |
50 |
|
strings are represented in Thuban and how to get to a Unicode |
51 |
|
Thuban. |
52 |
|
|
53 |
|
* Thuban/__init__.py (set_internal_encoding) |
54 |
|
(unicode_from_internal, internal_from_unicode): New. The first few |
55 |
|
functions for the internal string representation |
56 |
|
|
57 |
|
* Thuban/UI/about.py (unicodeToLocale): Removed. Use |
58 |
|
internal_from_unicode instead. |
59 |
|
|
60 |
|
* Thuban/UI/__init__.py (install_wx_translation): Determine the |
61 |
|
encoding to use for the internal string representation. Also, |
62 |
|
change the translation function to return strings in internal |
63 |
|
representation even on unicode builds of wxPython |
64 |
|
|
65 |
|
* Thuban/Model/load.py (SessionLoader.check_attrs): Decode |
66 |
|
filenames too. |
67 |
|
(SessionLoader.start_clrange): Use check_attrs to decode and check |
68 |
|
the attributes. |
69 |
|
|
70 |
|
* Thuban/Model/xmlreader.py (XMLReader.encode): Use |
71 |
|
internal_from_unicode to convert unicode strings. |
72 |
|
|
73 |
|
* Thuban/Model/xmlwriter.py (XMLWriter.encode): Use |
74 |
|
unicode_from_internal when applicable |
75 |
|
|
76 |
|
* test/runtests.py (main): New command line option: |
77 |
|
internal-encoding to specify the internal string encoding to use |
78 |
|
in the tests. |
79 |
|
|
80 |
|
* test/support.py (initthuban): Set the internal encoding to |
81 |
|
latin-1 |
82 |
|
|
83 |
|
* test/test_load.py (TestSingleLayer.test, TestClassification.test) |
84 |
|
(TestLabelLayer.test): Use the internal string representation when |
85 |
|
dealing with non-ascii characters |
86 |
|
|
87 |
|
* test/test_load_1_0.py (TestSingleLayer.test) |
88 |
|
(TestClassification.test, TestLabelLayer.test): Use the internal |
89 |
|
string representation when dealing with non-ascii characters |
90 |
|
|
91 |
|
* test/test_load_0_9.py (TestSingleLayer.test) |
92 |
|
(TestClassification.test): Use the internal string representation |
93 |
|
when dealing with non-ascii characters |
94 |
|
|
95 |
|
* test/test_load_0_8.py (TestUnicodeStrings.test): Use the |
96 |
|
internal string representation when dealing with non-ascii |
97 |
|
characters |
98 |
|
|
99 |
|
* test/test_save.py (XMLWriterTest.testEncode) |
100 |
|
(SaveSessionTest.testClassifiedLayer): Use the internal string |
101 |
|
representation when dealing with non-ascii characters where |
102 |
|
applicable |
103 |
|
|
104 |
|
2005-06-30 Bernhard Herzog <[email protected]> |
105 |
|
|
106 |
|
* test/runtests.py: Untabify. |
107 |
|
|
108 |
|
2005-06-30 Bernhard Herzog <[email protected]> |
109 |
|
|
110 |
|
* Thuban/UI/renderer.py (ScreenRenderer.draw_selection_incrementally): |
111 |
|
untabify. |
112 |
|
|
113 |
|
2005-06-30 Bernhard Herzog <[email protected]> |
114 |
|
|
115 |
|
* Extensions/ogr/test/__init__.py: Add missing coding directive |
116 |
|
|
117 |
|
2005-06-28 Jan-Oliver Wagner <[email protected]> |
118 |
|
|
119 |
|
* Thuban/UI/renderer.py (ScreenRenderer.draw_selection_incrementally): |
120 |
|
Use the default size for rendering selected items of default type. |
121 |
|
Fixes part 2 of https://intevation.de/rt/webrt?serial_num=3149 |
122 |
|
|
123 |
|
2005-06-28 Jan-Oliver Wagner <[email protected]> |
124 |
|
|
125 |
|
* Extensions/importAPR/apr.py (APR_BShSym): Extend by 'Stripple'. |
126 |
|
(APR_TClr.GetThubanColor): Fix bug in color interpretation. |
127 |
|
Thanks to Frank Koormann who identified this problem. |
128 |
|
|
129 |
|
* Extensions/importAPR/importAPR.py (APR_VShSym): New. Just |
130 |
|
another symbol identified. |
131 |
|
|
132 |
|
2005-06-27 Jan-Oliver Wagner <[email protected]> |
133 |
|
|
134 |
|
* Doc/manual/thuban-manual-de.xml: More translations. |
135 |
|
|
136 |
|
2005-05-12 Jonathan Coles <[email protected]> |
137 |
|
|
138 |
|
* Thuban/UI/projdialog.py: Add missing import, which led to an |
139 |
|
exception when opening a layer's projection. |
140 |
|
|
141 |
|
2005-05-09 Bernhard Herzog <[email protected]> |
142 |
|
|
143 |
|
* test/support.py (FileLoadTestCase.filename): Fix doc-string. |
144 |
|
|
145 |
|
2005-05-09 Bernhard Herzog <[email protected]> |
146 |
|
|
147 |
|
* Thuban/Model/postgisdb.py (PostGISConnection.connect): Set the |
148 |
|
connection to autoconnect. Fixes RT#3148. |
149 |
|
|
150 |
|
* test/test_postgis_db.py |
151 |
|
(TestPostGISSpecialCases.test_simple_error_handling): New test |
152 |
|
that attempts to reproduce RT#3148. |
153 |
|
|
154 |
|
2005-05-06 Jonathan Coles <[email protected]> |
155 |
|
|
156 |
|
Add support for saving and loading the opacity and mask type |
157 |
|
properties of RasterLayers. Also add support for proper use |
158 |
|
of alpha information while drawing images not in 'RAW' format. |
159 |
|
If transparency in an image format (e.g, PNG) is supported by |
160 |
|
wxWidgets then the image would previously have been draw with |
161 |
|
transparent regions, but the opaque regions would have been |
162 |
|
unaffected by a change in the layer's opacity. This patch |
163 |
|
corrects the problem. |
164 |
|
|
165 |
|
* Thuban/Model/layer.py (RasterLayer): Added opacity and |
166 |
|
masktype parameters to the constructor, and set the |
167 |
|
appropriate variables to those values. |
168 |
|
|
169 |
|
* Thuban/Model/load.py (SessionLoader.start_rasterlayer): Added |
170 |
|
code to read the opacity and mask type of the layer and construct |
171 |
|
a new layer with the additional parameters. |
172 |
|
|
173 |
|
* Thuban/Model/save.py (SessionSaver.write_layer): Added code |
174 |
|
to save the opacity and mask type of a layer. |
175 |
|
|
176 |
|
* Thuban/UI/baserenderer.py (BaseRenderer.draw_raster_layer): Pass |
177 |
|
the opacity of the layer to draw_raster_data rather than the layer. |
178 |
|
(BaseRenderer.draw_raster_data): Remove the layer parameter because |
179 |
|
the function doesn't need to know about the layer. Add the optional |
180 |
|
opacity parameter whose default is 1.0. Add 'PNG' as a supported |
181 |
|
graphics format. |
182 |
|
|
183 |
|
* Thuban/UI/renderer.py (MapRenderer.draw_raster_data): Fixed |
184 |
|
signature to match that in BaseRenderer. Use the new opacity argument |
185 |
|
in place of calling layer.Opacity(). In the case where the |
186 |
|
format is not 'RAW', alpha_data is None and the loaded image has |
187 |
|
alpha information, use the file's alpha information. This is |
188 |
|
still subject to the layer's opacity setting. |
189 |
|
|
190 |
|
* test/test_baserenderer.py (SimpleRenderer.draw_raster_data): |
191 |
|
Fixed signature to match that in BaseRenderer. |
192 |
|
|
193 |
|
* test/test_load.py (TestRasterLayer): Change file_contents to |
194 |
|
include opacity and masktype variables. |
195 |
|
(TestRasterLayer.test): Include tests for opacity and masktype |
196 |
|
changes. |
197 |
|
|
198 |
|
* test/test_save.py (SaveSessionTest.testRasterLayer): Restructure |
199 |
|
test to cover a variety of combinations of masktype and opacity |
200 |
|
settings. |
201 |
|
|
202 |
|
2005-05-02 Jan-Oliver Wagner <[email protected]> |
203 |
|
|
204 |
|
* debian/rules: add --use-wx-python-swig-hack |
205 |
|
to the build command. |
206 |
|
Thanks to Moritz Lennert for pointing this out. |
207 |
|
|
208 |
|
2005-04-28 Jan-Oliver Wagner <[email protected]> |
209 |
|
|
210 |
|
Introduce OGRFileShapeStore in ogr extension. |
211 |
|
This allows at least that loaded shapefile shape stores |
212 |
|
can be saved correctly in the thuban session file |
213 |
|
and reloaded again (reload is via core shapefile |
214 |
|
routine, not OGR). For other types, .thuban files |
215 |
|
can not be reloaded for the time being. |
216 |
|
|
217 |
|
* Extensions/ogr/ogrshapes.py (OGRFileShapeStore): New. This |
218 |
|
class ist to be used for any file-based shape stores |
219 |
|
accessed through OGR. |
220 |
|
|
221 |
|
* Extensions/ogr/ogrstart.py (open_with_ogr): Added |
222 |
|
forgotten _ for i18n. Adapted call OpenFileShapestore |
223 |
|
regarding new parameter. |
224 |
|
(OpenFileShapestore): Use OGRFileShapeStore instead of |
225 |
|
OGRShapeStore. Fix return value (None instead of null). |
226 |
|
Add new parameter "mainwindow" to avoid accessing global |
227 |
|
context. |
228 |
|
|
229 |
|
2005-04-27 Jan-Oliver Wagner <[email protected]> |
230 |
|
|
231 |
|
Introduce FileShapeStore as generalization for |
232 |
|
file-based shape stores. In a first instance |
233 |
|
this allows additional modules to handle shapefile |
234 |
|
format as well, namely the OGR extension. |
235 |
|
|
236 |
|
* Thuban/Model/data.py: Various small fixes in doc-strings. |
237 |
|
(FileShapeStore): New class. |
238 |
|
(ShapefileStore): Derive from FileShapeStore. |
239 |
|
(ShapefileStore.__init__): Call __init__ of FileShapeStore, |
240 |
|
rename self.table to self._table, initialize self._bbox |
241 |
|
(ShapefileStore._open_shapefile): Use self._bbox instead of self.bbox |
242 |
|
and self.FileName() instead of self.filename. |
243 |
|
(ShapefileStore.Table): Use self._table instead of self.table. |
244 |
|
(ShapefileStore.FileName): Removed (moved to FileShapeStore). |
245 |
|
(ShapefileStore.BoundingBox): Use self._bbox instead of self.bbox. |
246 |
|
|
247 |
|
* Thuban/Model/save.py: Replace ShapefileStore by FileShapeStore. |
248 |
|
(SessionSaver.write_data_containers): Only use methods of the |
249 |
|
base class FileShapeStore. |
250 |
|
|
251 |
|
2005-04-26 Martin Schulze <[email protected]> |
252 |
|
|
253 |
|
* Extensions/wms/wms.py (render_wms_layer): Adjusted the render |
254 |
|
function to the modified render engine |
255 |
|
|
256 |
|
2005-04-25 Martin Schulze <[email protected]> |
257 |
|
|
258 |
|
* Thuban/UI/renderer.py (MapRenderer.projected_raster_layer): |
259 |
|
Added a description according to the CVS log message |
260 |
|
|
261 |
|
2005-04-23 Martin Schulze <[email protected]> |
262 |
|
|
263 |
|
* Thuban/UI/renderer.py: Added a missing import |
264 |
|
|
265 |
|
2005-04-23 Russell Nelson <[email protected]> |
266 |
|
|
267 |
|
* Thuban/UI/view.py (MapCanvas.OnMiddle{Up,Down}): Changed the |
268 |
|
way the previous tool is remembered, so that middle-button |
269 |
|
panning works even if you haven't selected a tool. |
270 |
|
|
271 |
2005-04-11 Bernhard Herzog <[email protected]> |
2005-04-11 Bernhard Herzog <[email protected]> |
272 |
|
|
273 |
* libraries/thuban/wxproj.cpp: Move the compatibility code that |
* libraries/thuban/wxproj.cpp: Move the compatibility code that |