1 |
|
2006-05-15 Didrik Pinte <[email protected]> |
2 |
|
* Thuban/version.py : coding style correction |
3 |
|
* Thuban/Model/transientdb.py : coding style correction |
4 |
|
|
5 |
|
2006-05-15 Didrik Pinte <[email protected]> |
6 |
|
* Thuban/version.py : Updated imports to support pysqlite2 |
7 |
|
|
8 |
|
* Thuban/Model/transientdb.py : Updated imports to support pysqlite2 |
9 |
|
Patched the querying system to support the param style of pysqlite2 |
10 |
|
|
11 |
|
2006-04-24 Didrik Pinte <[email protected]> |
12 |
|
* Extensions/svgexport/__init__.py: The extension now works on win32 |
13 |
|
architecture. Bug #87 corrected. |
14 |
|
|
15 |
|
2006-04-20 Bernhard Reiter <[email protected]> |
16 |
|
* Doc/technotes/coding_guidelines.txt: Changed text from CVS to SVN. |
17 |
|
Removed emacs specific hint and replaced it with a general hint |
18 |
|
that editors might support writing changelogs. |
19 |
|
|
20 |
|
2006-04-12 Bernhard Reiter <[email protected]> |
21 |
|
|
22 |
|
* Thuban/version.py: Changed thuban_release mechanism to use "svn" |
23 |
|
instead of "cvs". |
24 |
|
|
25 |
|
2006-03-31 Bernhard Reiter <[email protected]> |
26 |
|
|
27 |
|
* libraries/thuban/wxproj.cpp: including proj_api.h instead of |
28 |
|
projects.h now. According the Frank Warmerdam and man pj_init |
29 |
|
this is the public interface to proj. Thus I have changed PJ to projPJ. |
30 |
|
And I could remove the hack to avoid clashes with typedef PVALUE |
31 |
|
and #define LP in projects.h clashing with symbols when trying to |
32 |
|
build on windows. The file is cleaner and nicer now. |
33 |
|
|
34 |
|
2006-03-29 Bernhard Reiter <[email protected]> |
35 |
|
|
36 |
|
* libraries/thuban/wxproj.cpp: undef LP to avoid clash when |
37 |
|
trying to build with mingw. |
38 |
|
|
39 |
|
2005-10-18 Bernhard Reiter <[email protected]> |
40 |
|
|
41 |
|
* Thuban/UI/about.py: remove unused import of getdefaultlocale. |
42 |
|
Added display of internal encoding to the about dialog text. |
43 |
|
|
44 |
|
* Extensions/svgexport/__init__.py: changed version to "1.0.0+cvs". |
45 |
|
|
46 |
|
2005-10-18 Bernhard Reiter <[email protected]> |
47 |
|
|
48 |
|
Startup improved: We fail right away if the internal encoding could |
49 |
|
not be determined. |
50 |
|
|
51 |
|
* Thuban/__init__.py (get_internal_encoding): new. |
52 |
|
|
53 |
|
* test/test_stringrepresentation.py (class TestInternalEncoding): |
54 |
|
Preserve the internal encoding for the tests in this class. |
55 |
|
|
56 |
|
2005-10-17 Bernhard Reiter <[email protected]> |
57 |
|
|
58 |
|
* test/test_stringrepresentation.py: New file, for now testing |
59 |
|
that set_internal_coding() is throwing an exception for bad exceptions. |
60 |
|
|
61 |
|
* Thuban/__init__.py (set_internal_encoding): added a forwards |
62 |
|
and backward translation, so that we fail early if the |
63 |
|
internal_encoding is bad. |
64 |
|
|
65 |
|
2005-10-17 Bernhard Reiter <[email protected]> |
66 |
|
|
67 |
|
svgexport 1.0.0cvs: Fixed ARC layer writing: No filling is done. |
68 |
|
You could actually get polylines with filling in between, |
69 |
|
when the classification for the lines had a fill color. |
70 |
|
E.g. this happens when you generate a classification from a ramp. |
71 |
|
|
72 |
|
* Extensions/svgexport/test/test_svgmapwriter.py: |
73 |
|
New test_export_arc_no_fill(). Extend copyright notice to 2005. |
74 |
|
|
75 |
|
* Extensions/svgexport/svgmapwriter.py |
76 |
|
(SVGRenderer.draw_shape_layer_incrementally()): |
77 |
|
Setting TRANSPARENT_BRUSH for shaptype ARC. |
78 |
|
Extend copyright notice to 2005. |
79 |
|
|
80 |
|
* Extensions/svgexport/__init__.py: Extend copyright notice to 2005. |
81 |
|
|
82 |
|
2005-09-08 Frank Koormann <[email protected]> |
83 |
|
|
84 |
|
* Doc/manual/thuban-manual.xml (Map Management): Fixed typo reported |
85 |
|
by Erik (sigra.at.home.se) |
86 |
|
|
87 |
|
2005-08-18 Jan-Oliver Wagner <[email protected]> |
88 |
|
|
89 |
|
* Thuban/UI/renderer.py (ScreenRenderer.draw_selection_incrementally): |
90 |
|
Call the right method for the default size. |
91 |
|
|
92 |
|
2005-08-11 Jan-Oliver Wagner <[email protected]> |
93 |
|
|
94 |
|
* Extensions/export_shapefile: New. |
95 |
|
|
96 |
|
* Extensions/export_shapefile/__init__.py: New. Initialize |
97 |
|
the export_shapefile extension. |
98 |
|
|
99 |
|
* Extensions/export_shapefile/export_shapefile.py: New. |
100 |
|
Exports a layer as a Shapefile. |
101 |
|
|
102 |
|
2005-08-08 Jan-Oliver Wagner <[email protected]> |
103 |
|
|
104 |
|
* po/de.po: String fixes. This fixes Debian bug #313843. |
105 |
|
|
106 |
|
2005-07-27 Jan-Oliver Wagner <[email protected]> |
107 |
|
|
108 |
|
Remove the attributes from the layer element in |
109 |
|
.thuban files for the save routine. |
110 |
|
This also solves RT bug #3149, |
111 |
|
https://intevation.de/rt/webrt?serial_num=3149 |
112 |
|
|
113 |
|
* test/test_load.py: (TestSingleLayer, TestNonAsciiColumnName, |
114 |
|
TestLayerVisibility, TestSymbolSize, TestClassification, TestLabels, |
115 |
|
TestLayerProjection, TestJoinedTable, TestLabelLayer): Removed |
116 |
|
attributes from layer element to classification clnull element. |
117 |
|
|
118 |
|
* test/test_save.py (SaveSessionTest.testSingleLayer, |
119 |
|
SaveSessionTest.testLayerProjection, |
120 |
|
SaveSessionTest.testClassifiedLayer, |
121 |
|
SaveSessionTest.test_joined_table, SaveSessionTest.test_save_postgis): |
122 |
|
Removed attributes from layer element to classification clnull element. |
123 |
|
(test_save_postgis.NonConnectionStore._fetch_table_information): |
124 |
|
added pretending to have a shape_type. |
125 |
|
|
126 |
|
* Resources/XML/thuban-1.1.dtd: Make the attributes field |
127 |
|
and field_type of classification optional. |
128 |
|
|
129 |
|
* Thuban/Model/classification.py (Classification.TreeItem.build_info): |
130 |
|
Added output of size. |
131 |
|
|
132 |
|
* Thuban/Model/load.py (SessionLoader.start_classification): |
133 |
|
Change attribute 'field' and 'field_type' from obligatory to |
134 |
|
optional to allow empty classes (ie. only with a default=clnull). |
135 |
|
|
136 |
|
* Thuban/Model/save.py (SessionSaver.write_layer): Don't write |
137 |
|
any attributes anymore for the layer element. |
138 |
|
(SessionSaver.write_classification): Even if there is no |
139 |
|
classification field, still write the classification because |
140 |
|
the clnull (default) symbol will not be defined anymore as |
141 |
|
part of the layer element. |
142 |
|
|
143 |
|
2005-07-05 Bernhard Herzog <[email protected]> |
144 |
|
|
145 |
|
* setup.py (setup call): Version 1.1.0 |
146 |
|
|
147 |
|
* NEWS: Update for 1.1.0 |
148 |
|
|
149 |
|
* MANIFEST.in: Add *.txt to files taken from Doc. Otherwise the |
150 |
|
technores won't be included |
151 |
|
|
152 |
|
* Thuban/UI/about.py (About.__init__): Extend copyright notice to |
153 |
|
2005 |
154 |
|
|
155 |
|
* po/de.po: Updated. |
156 |
|
|
157 |
|
2005-07-05 Bernhard Herzog <[email protected]> |
158 |
|
|
159 |
|
* README: gdal 1.1.8 is too old. 1.2.5 works. |
160 |
|
|
161 |
|
2005-07-05 Bernhard Herzog <[email protected]> |
162 |
|
|
163 |
|
* Resources/XML/thuban-1.1.dtd (rasterlayer): Add the opacity and |
164 |
|
masktype attributes. |
165 |
|
|
166 |
|
2005-07-05 Bernhard Herzog <[email protected]> |
167 |
|
|
168 |
|
* Thuban/Model/layer.py (Layer.__mangle_bounding_box) |
169 |
|
(Layer.ClipBoundingBox): Rename ClipBoundingBox to |
170 |
|
__mangle_bounding_box. See the comments in the code and RT #2845 |
171 |
|
|
172 |
|
* test/test_layer.py (TestLayer.test_arc_layer_with_projection): |
173 |
|
Remove the explicit test of ClipBoundingBox. The method isn't |
174 |
|
public anymore and the direct call in the test wasn't necessary in |
175 |
|
the first place. If ClipBoundingBox (now __mangle_bounding_box) |
176 |
|
isn't called, the return value of ShapesInRegion will be |
177 |
|
different. |
178 |
|
|
179 |
|
2005-07-05 Bernhard Herzog <[email protected]> |
180 |
|
|
181 |
|
* Thuban/UI/viewport.py (ViewPort.set_view_transform): Handle |
182 |
|
ZeroDivisionError exceptions. I don't know when they happen |
183 |
|
exactly. It probably happens when the projections aren't set |
184 |
|
properly. |
185 |
|
|
186 |
|
2005-07-01 Bernhard Herzog <[email protected]> |
187 |
|
|
188 |
|
First step towards unicode. With this roughly we're at step 1 |
189 |
|
string_representation.txt |
190 |
|
|
191 |
|
* Doc/technotes/string_representation.txt: New. Document how |
192 |
|
strings are represented in Thuban and how to get to a Unicode |
193 |
|
Thuban. |
194 |
|
|
195 |
|
* Thuban/__init__.py (set_internal_encoding) |
196 |
|
(unicode_from_internal, internal_from_unicode): New. The first few |
197 |
|
functions for the internal string representation |
198 |
|
|
199 |
|
* Thuban/UI/about.py (unicodeToLocale): Removed. Use |
200 |
|
internal_from_unicode instead. |
201 |
|
|
202 |
|
* Thuban/UI/__init__.py (install_wx_translation): Determine the |
203 |
|
encoding to use for the internal string representation. Also, |
204 |
|
change the translation function to return strings in internal |
205 |
|
representation even on unicode builds of wxPython |
206 |
|
|
207 |
|
* Thuban/Model/load.py (SessionLoader.check_attrs): Decode |
208 |
|
filenames too. |
209 |
|
(SessionLoader.start_clrange): Use check_attrs to decode and check |
210 |
|
the attributes. |
211 |
|
|
212 |
|
* Thuban/Model/xmlreader.py (XMLReader.encode): Use |
213 |
|
internal_from_unicode to convert unicode strings. |
214 |
|
|
215 |
|
* Thuban/Model/xmlwriter.py (XMLWriter.encode): Use |
216 |
|
unicode_from_internal when applicable |
217 |
|
|
218 |
|
* test/runtests.py (main): New command line option: |
219 |
|
internal-encoding to specify the internal string encoding to use |
220 |
|
in the tests. |
221 |
|
|
222 |
|
* test/support.py (initthuban): Set the internal encoding to |
223 |
|
latin-1 |
224 |
|
|
225 |
|
* test/test_load.py (TestSingleLayer.test, TestClassification.test) |
226 |
|
(TestLabelLayer.test): Use the internal string representation when |
227 |
|
dealing with non-ascii characters |
228 |
|
|
229 |
|
* test/test_load_1_0.py (TestSingleLayer.test) |
230 |
|
(TestClassification.test, TestLabelLayer.test): Use the internal |
231 |
|
string representation when dealing with non-ascii characters |
232 |
|
|
233 |
|
* test/test_load_0_9.py (TestSingleLayer.test) |
234 |
|
(TestClassification.test): Use the internal string representation |
235 |
|
when dealing with non-ascii characters |
236 |
|
|
237 |
|
* test/test_load_0_8.py (TestUnicodeStrings.test): Use the |
238 |
|
internal string representation when dealing with non-ascii |
239 |
|
characters |
240 |
|
|
241 |
|
* test/test_save.py (XMLWriterTest.testEncode) |
242 |
|
(SaveSessionTest.testClassifiedLayer): Use the internal string |
243 |
|
representation when dealing with non-ascii characters where |
244 |
|
applicable |
245 |
|
|
246 |
|
2005-06-30 Bernhard Herzog <[email protected]> |
247 |
|
|
248 |
|
* test/runtests.py: Untabify. |
249 |
|
|
250 |
|
2005-06-30 Bernhard Herzog <[email protected]> |
251 |
|
|
252 |
|
* Thuban/UI/renderer.py (ScreenRenderer.draw_selection_incrementally): |
253 |
|
untabify. |
254 |
|
|
255 |
|
2005-06-30 Bernhard Herzog <[email protected]> |
256 |
|
|
257 |
|
* Extensions/ogr/test/__init__.py: Add missing coding directive |
258 |
|
|
259 |
|
2005-06-28 Jan-Oliver Wagner <[email protected]> |
260 |
|
|
261 |
|
* Thuban/UI/renderer.py (ScreenRenderer.draw_selection_incrementally): |
262 |
|
Use the default size for rendering selected items of default type. |
263 |
|
Fixes part 2 of https://intevation.de/rt/webrt?serial_num=3149 |
264 |
|
|
265 |
|
2005-06-28 Jan-Oliver Wagner <[email protected]> |
266 |
|
|
267 |
|
* Extensions/importAPR/apr.py (APR_BShSym): Extend by 'Stripple'. |
268 |
|
(APR_TClr.GetThubanColor): Fix bug in color interpretation. |
269 |
|
Thanks to Frank Koormann who identified this problem. |
270 |
|
|
271 |
|
* Extensions/importAPR/importAPR.py (APR_VShSym): New. Just |
272 |
|
another symbol identified. |
273 |
|
|
274 |
|
2005-06-27 Jan-Oliver Wagner <[email protected]> |
275 |
|
|
276 |
|
* Doc/manual/thuban-manual-de.xml: More translations. |
277 |
|
|
278 |
|
2005-05-12 Jonathan Coles <[email protected]> |
279 |
|
|
280 |
|
* Thuban/UI/projdialog.py: Add missing import, which led to an |
281 |
|
exception when opening a layer's projection. |
282 |
|
|
283 |
|
2005-05-09 Bernhard Herzog <[email protected]> |
284 |
|
|
285 |
|
* test/support.py (FileLoadTestCase.filename): Fix doc-string. |
286 |
|
|
287 |
|
2005-05-09 Bernhard Herzog <[email protected]> |
288 |
|
|
289 |
|
* Thuban/Model/postgisdb.py (PostGISConnection.connect): Set the |
290 |
|
connection to autoconnect. Fixes RT#3148. |
291 |
|
|
292 |
|
* test/test_postgis_db.py |
293 |
|
(TestPostGISSpecialCases.test_simple_error_handling): New test |
294 |
|
that attempts to reproduce RT#3148. |
295 |
|
|
296 |
|
2005-05-06 Jonathan Coles <[email protected]> |
297 |
|
|
298 |
|
Add support for saving and loading the opacity and mask type |
299 |
|
properties of RasterLayers. Also add support for proper use |
300 |
|
of alpha information while drawing images not in 'RAW' format. |
301 |
|
If transparency in an image format (e.g, PNG) is supported by |
302 |
|
wxWidgets then the image would previously have been draw with |
303 |
|
transparent regions, but the opaque regions would have been |
304 |
|
unaffected by a change in the layer's opacity. This patch |
305 |
|
corrects the problem. |
306 |
|
|
307 |
|
* Thuban/Model/layer.py (RasterLayer): Added opacity and |
308 |
|
masktype parameters to the constructor, and set the |
309 |
|
appropriate variables to those values. |
310 |
|
|
311 |
|
* Thuban/Model/load.py (SessionLoader.start_rasterlayer): Added |
312 |
|
code to read the opacity and mask type of the layer and construct |
313 |
|
a new layer with the additional parameters. |
314 |
|
|
315 |
|
* Thuban/Model/save.py (SessionSaver.write_layer): Added code |
316 |
|
to save the opacity and mask type of a layer. |
317 |
|
|
318 |
|
* Thuban/UI/baserenderer.py (BaseRenderer.draw_raster_layer): Pass |
319 |
|
the opacity of the layer to draw_raster_data rather than the layer. |
320 |
|
(BaseRenderer.draw_raster_data): Remove the layer parameter because |
321 |
|
the function doesn't need to know about the layer. Add the optional |
322 |
|
opacity parameter whose default is 1.0. Add 'PNG' as a supported |
323 |
|
graphics format. |
324 |
|
|
325 |
|
* Thuban/UI/renderer.py (MapRenderer.draw_raster_data): Fixed |
326 |
|
signature to match that in BaseRenderer. Use the new opacity argument |
327 |
|
in place of calling layer.Opacity(). In the case where the |
328 |
|
format is not 'RAW', alpha_data is None and the loaded image has |
329 |
|
alpha information, use the file's alpha information. This is |
330 |
|
still subject to the layer's opacity setting. |
331 |
|
|
332 |
|
* test/test_baserenderer.py (SimpleRenderer.draw_raster_data): |
333 |
|
Fixed signature to match that in BaseRenderer. |
334 |
|
|
335 |
|
* test/test_load.py (TestRasterLayer): Change file_contents to |
336 |
|
include opacity and masktype variables. |
337 |
|
(TestRasterLayer.test): Include tests for opacity and masktype |
338 |
|
changes. |
339 |
|
|
340 |
|
* test/test_save.py (SaveSessionTest.testRasterLayer): Restructure |
341 |
|
test to cover a variety of combinations of masktype and opacity |
342 |
|
settings. |
343 |
|
|
344 |
|
2005-05-02 Jan-Oliver Wagner <[email protected]> |
345 |
|
|
346 |
|
* debian/rules: add --use-wx-python-swig-hack |
347 |
|
to the build command. |
348 |
|
Thanks to Moritz Lennert for pointing this out. |
349 |
|
|
350 |
|
2005-04-28 Jan-Oliver Wagner <[email protected]> |
351 |
|
|
352 |
|
Introduce OGRFileShapeStore in ogr extension. |
353 |
|
This allows at least that loaded shapefile shape stores |
354 |
|
can be saved correctly in the thuban session file |
355 |
|
and reloaded again (reload is via core shapefile |
356 |
|
routine, not OGR). For other types, .thuban files |
357 |
|
can not be reloaded for the time being. |
358 |
|
|
359 |
|
* Extensions/ogr/ogrshapes.py (OGRFileShapeStore): New. This |
360 |
|
class ist to be used for any file-based shape stores |
361 |
|
accessed through OGR. |
362 |
|
|
363 |
|
* Extensions/ogr/ogrstart.py (open_with_ogr): Added |
364 |
|
forgotten _ for i18n. Adapted call OpenFileShapestore |
365 |
|
regarding new parameter. |
366 |
|
(OpenFileShapestore): Use OGRFileShapeStore instead of |
367 |
|
OGRShapeStore. Fix return value (None instead of null). |
368 |
|
Add new parameter "mainwindow" to avoid accessing global |
369 |
|
context. |
370 |
|
|
371 |
|
2005-04-27 Jan-Oliver Wagner <[email protected]> |
372 |
|
|
373 |
|
Introduce FileShapeStore as generalization for |
374 |
|
file-based shape stores. In a first instance |
375 |
|
this allows additional modules to handle shapefile |
376 |
|
format as well, namely the OGR extension. |
377 |
|
|
378 |
|
* Thuban/Model/data.py: Various small fixes in doc-strings. |
379 |
|
(FileShapeStore): New class. |
380 |
|
(ShapefileStore): Derive from FileShapeStore. |
381 |
|
(ShapefileStore.__init__): Call __init__ of FileShapeStore, |
382 |
|
rename self.table to self._table, initialize self._bbox |
383 |
|
(ShapefileStore._open_shapefile): Use self._bbox instead of self.bbox |
384 |
|
and self.FileName() instead of self.filename. |
385 |
|
(ShapefileStore.Table): Use self._table instead of self.table. |
386 |
|
(ShapefileStore.FileName): Removed (moved to FileShapeStore). |
387 |
|
(ShapefileStore.BoundingBox): Use self._bbox instead of self.bbox. |
388 |
|
|
389 |
|
* Thuban/Model/save.py: Replace ShapefileStore by FileShapeStore. |
390 |
|
(SessionSaver.write_data_containers): Only use methods of the |
391 |
|
base class FileShapeStore. |
392 |
|
|
393 |
|
2005-04-26 Martin Schulze <[email protected]> |
394 |
|
|
395 |
|
* Extensions/wms/wms.py (render_wms_layer): Adjusted the render |
396 |
|
function to the modified render engine |
397 |
|
|
398 |
|
2005-04-25 Martin Schulze <[email protected]> |
399 |
|
|
400 |
|
* Thuban/UI/renderer.py (MapRenderer.projected_raster_layer): |
401 |
|
Added a description according to the CVS log message |
402 |
|
|
403 |
|
2005-04-23 Martin Schulze <[email protected]> |
404 |
|
|
405 |
|
* Thuban/UI/renderer.py: Added a missing import |
406 |
|
|
407 |
|
2005-04-23 Russell Nelson <[email protected]> |
408 |
|
|
409 |
|
* Thuban/UI/view.py (MapCanvas.OnMiddle{Up,Down}): Changed the |
410 |
|
way the previous tool is remembered, so that middle-button |
411 |
|
panning works even if you haven't selected a tool. |
412 |
|
|
413 |
|
2005-04-11 Bernhard Herzog <[email protected]> |
414 |
|
|
415 |
|
* libraries/thuban/wxproj.cpp: Move the compatibility code that |
416 |
|
deals with the wxPython 2.4 version of wxPython.h into the #ifdef |
417 |
|
branch that includes wxPython.h because it's only needed when |
418 |
|
wxPython.h is used. Also, it won't compile when |
419 |
|
USE_WX_PYTHON_SWIG_HACK is set otherwise. |
420 |
|
|
421 |
|
2005-04-07 Bernhard Herzog <[email protected]> |
422 |
|
|
423 |
|
* Thuban/UI/classifier.py (ClassGrid.__init__): Use -1 as the ID. |
424 |
|
(ID_CLASS_TABLE): Removed. It wasn't used anywhere except in |
425 |
|
ClassGrid.__init__ and it's value is outside of the valid |
426 |
|
range (must be < 32768). wxPython 2.5 complains about it with an |
427 |
|
exception. |
428 |
|
|
429 |
|
2005-04-05 Jan-Oliver Wagner <[email protected]> |
430 |
|
|
431 |
|
* Doc/manual/thuban-manual-de.xml: More translations. |
432 |
|
|
433 |
|
2005-04-05 Bernhard Herzog <[email protected]> |
434 |
|
|
435 |
|
* libraries/thuban/wxproj.cpp: Make it work with a wxPython.h from |
436 |
|
wxPython 2.4 as well. Also, remove a now obsolete comment. |
437 |
|
|
438 |
|
2005-04-05 Bernhard Herzog <[email protected]> |
439 |
|
|
440 |
|
Use wxPython.h by default but provide a workaround when it isn't |
441 |
|
available. |
442 |
|
|
443 |
|
* setup.py (wxproj_extension): New variable. Assign the Extension |
444 |
|
instance for Lib.wxproj to this variable instead of putting it |
445 |
|
directly into the listso that it can be accessed by other code |
446 |
|
later. |
447 |
|
(thuban_build_ext.user_options): Added boolean option |
448 |
|
--use-wx-python-swig-hack. |
449 |
|
(thuban_build_ext.initialize_options): Initialize the new option |
450 |
|
to False. |
451 |
|
(thuban_build_ext.finalize_options): If the new option was given, |
452 |
|
define the preprocesser macro USE_WX_PYTHON_SWIG_HACK. |
453 |
|
(thuban_build_ext): Update the doc-string |
454 |
|
|
455 |
|
* libraries/thuban/wxproj.cpp: Normally we use |
456 |
|
wx/wxPython/wxPython.h now. Only if USE_WX_PYTHON_SWIG_HACK is |
457 |
|
defined, use swigPtrConvertHack.h instead. |
458 |
|
|
459 |
|
* libraries/thuban/swigPtrConvertHack.h: Remove the code that was |
460 |
|
copied over from wxPython.h. |
461 |
|
(decode_pointer_new): New. Equivalent of decode_pointer for |
462 |
|
wxPython 2.5. |
463 |
|
(wxPyConvertSwigPtr): Modified to cope with wxPython 2.5 as well. |
464 |
|
|
465 |
|
* README: Add section on potential build problems which explains |
466 |
|
how the work-around for a missing wxPython.h is activated. |
467 |
|
|
468 |
|
2005-03-29 Bernhard Herzog <[email protected]> |
469 |
|
|
470 |
|
* test/postgissupport.py (find_postgis_sql): Added yet another |
471 |
|
potential location for (lw)postgis.sql because the file has moved |
472 |
|
again in postgis 1.0.0 rc4. |
473 |
|
|
474 |
|
2005-03-29 Bernhard Herzog <[email protected]> |
475 |
|
|
476 |
|
* Thuban/UI/legend.py (BMP_SIZE_W, BMP_SIZE_H): Set both to 16 to |
477 |
|
match the site of the legend_icon_layer icon. Otherwise wxpython |
478 |
|
2.5 complains when the legend is created with the error: |
479 |
|
|
480 |
|
PyAssertionError: C++ assertion "(bitmap.GetWidth() == m_width && |
481 |
|
bitmap.GetHeight() == m_height) || (m_width == 0 && m_height == |
482 |
|
0)" failed in ./src/generic/imaglist.cpp(81): invalid bitmap size |
483 |
|
in wxImageList: this might work on this platform but definitely |
484 |
|
won't under Windows. |
485 |
|
|
486 |
|
2005-03-23 Jonathan Coles <[email protected]> |
487 |
|
|
488 |
|
These changes add support for adjusting the opacity of a raster layer. |
489 |
|
|
490 |
|
* Thuban/Model/layer.py (RasterLayer.Opacity): Replaces AlphaOpacity. |
491 |
|
(RasterLayer.SetOpacity): Replaces SetAlphaOpacity. Also triggers |
492 |
|
a LAYER_CHANGED event if the opacity actually changes. |
493 |
|
|
494 |
|
* Thuban/UI/baserenderer.py (BaseRenderer.draw_raster_data): Added |
495 |
|
layer parameter needed in the implementation of this method in |
496 |
|
renderer.py. |
497 |
|
|
498 |
|
* Thuban/UI/layerproperties.py (LayerProperties.dialog_layout): Fixed |
499 |
|
typo 00 -> 0. |
500 |
|
|
501 |
|
* Thuban/UI/rasterlayerproperties.py (RasterLayerProperties): Added |
502 |
|
control to adjust opacity. |
503 |
|
|
504 |
|
* Thuban/UI/renderer.py (MapRenderer.draw_raster_data): Scale the |
505 |
|
alpha data based on the opacity level of the layer. |
506 |
|
|
507 |
|
* test/test_baserenderer.py (SimpleRenderer.draw_raster_data): Now |
508 |
|
accepts a layer parameter. |
509 |
|
|
510 |
|
* test/test_layer.py (TestLayerModification.test_raster_layer): |
511 |
|
Rename opacity method calls and add test for LAYER_CHANGED. |
512 |
|
|
513 |
|
2005-03-16 Bernhard Herzog <[email protected]> |
514 |
|
|
515 |
|
* test/test_connector.py (DeletionTestMixin.check_deletions) |
516 |
|
(DeletionTestMixin.check_deletetions): renamed to check_deletions. |
517 |
|
update the callers. |
518 |
|
|
519 |
|
2005-03-14 Jan-Oliver Wagner <[email protected]> |
520 |
|
|
521 |
|
* Doc/manual/thuban-manual-de.xml: More translations. |
522 |
|
|
523 |
2005-03-10 Jan-Oliver Wagner <[email protected]> |
2005-03-10 Jan-Oliver Wagner <[email protected]> |
524 |
|
|
525 |
Introducing initialization callbacks for extensions. |
Introducing initialization callbacks for extensions. |