1 |
|
2005-06-28 Jan-Oliver Wagner <[email protected]> |
2 |
|
|
3 |
|
* Thuban/UI/renderer.py (ScreenRenderer.draw_selection_incrementally): |
4 |
|
Use the default size for rendering selected items of default type. |
5 |
|
Fixes part 2 of https://intevation.de/rt/webrt?serial_num=3149 |
6 |
|
|
7 |
|
2005-06-28 Jan-Oliver Wagner <[email protected]> |
8 |
|
|
9 |
|
* Extensions/importAPR/apr.py (APR_BShSym): Extend by 'Stripple'. |
10 |
|
(APR_TClr.GetThubanColor): Fix bug in color interpretation. |
11 |
|
Thanks to Frank Koormann who identified this problem. |
12 |
|
|
13 |
|
* Extensions/importAPR/importAPR.py (APR_VShSym): New. Just |
14 |
|
another symbol identified. |
15 |
|
|
16 |
|
2005-06-27 Jan-Oliver Wagner <[email protected]> |
17 |
|
|
18 |
|
* Doc/manual/thuban-manual-de.xml: More translations. |
19 |
|
|
20 |
|
2005-05-12 Jonathan Coles <[email protected]> |
21 |
|
|
22 |
|
* Thuban/UI/projdialog.py: Add missing import, which led to an |
23 |
|
exception when opening a layer's projection. |
24 |
|
|
25 |
|
2005-05-09 Bernhard Herzog <[email protected]> |
26 |
|
|
27 |
|
* test/support.py (FileLoadTestCase.filename): Fix doc-string. |
28 |
|
|
29 |
|
2005-05-09 Bernhard Herzog <[email protected]> |
30 |
|
|
31 |
|
* Thuban/Model/postgisdb.py (PostGISConnection.connect): Set the |
32 |
|
connection to autoconnect. Fixes RT#3148. |
33 |
|
|
34 |
|
* test/test_postgis_db.py |
35 |
|
(TestPostGISSpecialCases.test_simple_error_handling): New test |
36 |
|
that attempts to reproduce RT#3148. |
37 |
|
|
38 |
|
2005-05-06 Jonathan Coles <[email protected]> |
39 |
|
|
40 |
|
Add support for saving and loading the opacity and mask type |
41 |
|
properties of RasterLayers. Also add support for proper use |
42 |
|
of alpha information while drawing images not in 'RAW' format. |
43 |
|
If transparency in an image format (e.g, PNG) is supported by |
44 |
|
wxWidgets then the image would previously have been draw with |
45 |
|
transparent regions, but the opaque regions would have been |
46 |
|
unaffected by a change in the layer's opacity. This patch |
47 |
|
corrects the problem. |
48 |
|
|
49 |
|
* Thuban/Model/layer.py (RasterLayer): Added opacity and |
50 |
|
masktype parameters to the constructor, and set the |
51 |
|
appropriate variables to those values. |
52 |
|
|
53 |
|
* Thuban/Model/load.py (SessionLoader.start_rasterlayer): Added |
54 |
|
code to read the opacity and mask type of the layer and construct |
55 |
|
a new layer with the additional parameters. |
56 |
|
|
57 |
|
* Thuban/Model/save.py (SessionSaver.write_layer): Added code |
58 |
|
to save the opacity and mask type of a layer. |
59 |
|
|
60 |
|
* Thuban/UI/baserenderer.py (BaseRenderer.draw_raster_layer): Pass |
61 |
|
the opacity of the layer to draw_raster_data rather than the layer. |
62 |
|
(BaseRenderer.draw_raster_data): Remove the layer parameter because |
63 |
|
the function doesn't need to know about the layer. Add the optional |
64 |
|
opacity parameter whose default is 1.0. Add 'PNG' as a supported |
65 |
|
graphics format. |
66 |
|
|
67 |
|
* Thuban/UI/renderer.py (MapRenderer.draw_raster_data): Fixed |
68 |
|
signature to match that in BaseRenderer. Use the new opacity argument |
69 |
|
in place of calling layer.Opacity(). In the case where the |
70 |
|
format is not 'RAW', alpha_data is None and the loaded image has |
71 |
|
alpha information, use the file's alpha information. This is |
72 |
|
still subject to the layer's opacity setting. |
73 |
|
|
74 |
|
* test/test_baserenderer.py (SimpleRenderer.draw_raster_data): |
75 |
|
Fixed signature to match that in BaseRenderer. |
76 |
|
|
77 |
|
* test/test_load.py (TestRasterLayer): Change file_contents to |
78 |
|
include opacity and masktype variables. |
79 |
|
(TestRasterLayer.test): Include tests for opacity and masktype |
80 |
|
changes. |
81 |
|
|
82 |
|
* test/test_save.py (SaveSessionTest.testRasterLayer): Restructure |
83 |
|
test to cover a variety of combinations of masktype and opacity |
84 |
|
settings. |
85 |
|
|
86 |
2005-05-02 Jan-Oliver Wagner <[email protected]> |
2005-05-02 Jan-Oliver Wagner <[email protected]> |
87 |
|
|
88 |
* debian/rules: add --use-wx-python-swig-hack |
* debian/rules: add --use-wx-python-swig-hack |
148 |
|
|
149 |
2005-04-23 Russell Nelson <[email protected]> |
2005-04-23 Russell Nelson <[email protected]> |
150 |
|
|
151 |
* Changed the way the previous tool is remembered, so that |
* Thuban/UI/view.py (MapCanvas.OnMiddle{Up,Down}): Changed the |
152 |
middle-button panning works even if you haven't selected a tool. |
way the previous tool is remembered, so that middle-button |
153 |
|
panning works even if you haven't selected a tool. |
154 |
|
|
155 |
2005-04-11 Bernhard Herzog <[email protected]> |
2005-04-11 Bernhard Herzog <[email protected]> |
156 |
|
|