/[thuban]/branches/WIP-pyshapelib-bramz/ChangeLog
ViewVC logotype

Diff of /branches/WIP-pyshapelib-bramz/ChangeLog

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 2612 by jan, Mon May 2 16:24:19 2005 UTC revision 2626 by jonathan, Thu May 12 14:54:50 2005 UTC
# Line 1  Line 1 
1    2005-05-12  Jonathan Coles <[email protected]>
2            
3            * Thuban/UI/projdialog.py: Add missing import, which led to an
4            exception when opening a layer's projection.
5    
6    2005-05-09  Bernhard Herzog  <[email protected]>
7    
8            * test/support.py (FileLoadTestCase.filename): Fix doc-string.
9    
10    2005-05-09  Bernhard Herzog  <[email protected]>
11    
12            * Thuban/Model/postgisdb.py (PostGISConnection.connect): Set the
13            connection to autoconnect.  Fixes RT#3148.
14    
15            * test/test_postgis_db.py
16            (TestPostGISSpecialCases.test_simple_error_handling): New test
17            that attempts to reproduce RT#3148.
18    
19    2005-05-06  Jonathan Coles <[email protected]>
20    
21            Add support for saving and loading the opacity and mask type
22            properties of RasterLayers. Also add support for proper use
23            of alpha information while drawing images not in 'RAW' format.
24            If transparency in an image format (e.g, PNG) is supported by
25            wxWidgets then the image would previously have been draw with
26            transparent regions, but the opaque regions would have been
27            unaffected by a change in the layer's opacity. This patch
28            corrects the problem.
29    
30            * Thuban/Model/layer.py (RasterLayer): Added opacity and
31            masktype parameters to the constructor, and set the
32            appropriate variables to those values.
33    
34            * Thuban/Model/load.py (SessionLoader.start_rasterlayer): Added
35            code to read the opacity and mask type of the layer and construct
36            a new layer with the additional parameters.
37    
38            * Thuban/Model/save.py (SessionSaver.write_layer): Added code
39            to save the opacity and mask type of a layer.
40    
41            * Thuban/UI/baserenderer.py (BaseRenderer.draw_raster_layer): Pass
42            the opacity of the layer to draw_raster_data rather than the layer.
43            (BaseRenderer.draw_raster_data): Remove the layer parameter because
44            the function doesn't need to know about the layer. Add the optional
45            opacity parameter whose default is 1.0. Add 'PNG' as a supported
46            graphics format.
47    
48            * Thuban/UI/renderer.py (MapRenderer.draw_raster_data): Fixed
49            signature to match that in BaseRenderer. Use the new opacity argument
50            in place of calling layer.Opacity(). In the case where the
51            format is not 'RAW', alpha_data is None and the loaded image has
52            alpha information, use the file's alpha information. This is
53            still subject to the layer's opacity setting.
54    
55            * test/test_baserenderer.py (SimpleRenderer.draw_raster_data):
56            Fixed signature to match that in BaseRenderer.
57    
58            * test/test_load.py (TestRasterLayer): Change file_contents to
59            include opacity and masktype variables.
60            (TestRasterLayer.test): Include tests for opacity and masktype
61            changes.
62    
63            * test/test_save.py (SaveSessionTest.testRasterLayer): Restructure
64            test to cover a variety of combinations of masktype and opacity
65            settings.
66    
67  2005-05-02  Jan-Oliver Wagner <[email protected]>  2005-05-02  Jan-Oliver Wagner <[email protected]>
68    
69          * debian/rules: add --use-wx-python-swig-hack          * debian/rules: add --use-wx-python-swig-hack
# Line 63  Line 129 
129    
130  2005-04-23  Russell Nelson  <[email protected]>  2005-04-23  Russell Nelson  <[email protected]>
131    
132          * Changed the way the previous tool is remembered, so that          * Thuban/UI/view.py (MapCanvas.OnMiddle{Up,Down}): Changed the
133          middle-button panning works even if you haven't selected a tool.          way the previous tool is remembered, so that middle-button
134            panning works even if you haven't selected a tool.
135    
136  2005-04-11  Bernhard Herzog  <[email protected]>  2005-04-11  Bernhard Herzog  <[email protected]>
137    

Legend:
Removed from v.2612  
changed lines
  Added in v.2626

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26