/[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 2577 by nhueffme, Fri Mar 4 15:07:59 2005 UTC revision 2598 by bh, Mon Apr 11 18:18:08 2005 UTC
# Line 1  Line 1 
1    2005-04-11  Bernhard Herzog  <[email protected]>
2    
3            * libraries/thuban/wxproj.cpp: Move the compatibility code that
4            deals with the wxPython 2.4 version of wxPython.h into the #ifdef
5            branch that includes wxPython.h because it's only needed when
6            wxPython.h is used.  Also, it won't compile when
7            USE_WX_PYTHON_SWIG_HACK is set otherwise.
8    
9    2005-04-07  Bernhard Herzog  <[email protected]>
10    
11            * Thuban/UI/classifier.py (ClassGrid.__init__): Use -1 as the ID.
12            (ID_CLASS_TABLE): Removed. It wasn't used anywhere except in
13            ClassGrid.__init__ and it's value is outside of the valid
14            range (must be < 32768).  wxPython 2.5 complains about it with an
15            exception.
16    
17    2005-04-05  Jan-Oliver Wagner <[email protected]>
18    
19            * Doc/manual/thuban-manual-de.xml: More translations.
20    
21    2005-04-05  Bernhard Herzog  <[email protected]>
22    
23            * libraries/thuban/wxproj.cpp: Make it work with a wxPython.h from
24            wxPython 2.4 as well.  Also, remove a now obsolete comment.
25    
26    2005-04-05  Bernhard Herzog  <[email protected]>
27    
28            Use wxPython.h by default but provide a workaround when it isn't
29            available.
30    
31            * setup.py (wxproj_extension): New variable.  Assign the Extension
32            instance for Lib.wxproj to this variable instead of putting it
33            directly into the listso that it can be accessed by other code
34            later.
35            (thuban_build_ext.user_options): Added boolean option
36            --use-wx-python-swig-hack.
37            (thuban_build_ext.initialize_options): Initialize the new option
38            to False.
39            (thuban_build_ext.finalize_options): If the new option was given,
40            define the preprocesser macro USE_WX_PYTHON_SWIG_HACK.
41            (thuban_build_ext): Update the doc-string
42    
43            * libraries/thuban/wxproj.cpp: Normally we use
44            wx/wxPython/wxPython.h now.  Only if USE_WX_PYTHON_SWIG_HACK is
45            defined, use swigPtrConvertHack.h instead.
46    
47            * libraries/thuban/swigPtrConvertHack.h: Remove the code that was
48            copied over from wxPython.h.
49            (decode_pointer_new): New.  Equivalent of decode_pointer for
50            wxPython 2.5.
51            (wxPyConvertSwigPtr): Modified to cope with wxPython 2.5 as well.
52    
53            * README: Add section on potential build problems which explains
54            how the work-around for a missing wxPython.h is activated.
55    
56    2005-03-29  Bernhard Herzog  <[email protected]>
57    
58            * test/postgissupport.py (find_postgis_sql): Added yet another
59            potential location for (lw)postgis.sql because the file has moved
60            again in postgis 1.0.0 rc4.
61    
62    2005-03-29  Bernhard Herzog  <[email protected]>
63    
64            * Thuban/UI/legend.py (BMP_SIZE_W, BMP_SIZE_H): Set both to 16 to
65            match the site of the legend_icon_layer icon.  Otherwise wxpython
66            2.5 complains when the legend is created with the error:
67    
68            PyAssertionError: C++ assertion "(bitmap.GetWidth() == m_width &&
69            bitmap.GetHeight() == m_height) || (m_width == 0 && m_height ==
70            0)" failed in ./src/generic/imaglist.cpp(81): invalid bitmap size
71            in wxImageList: this might work on this platform but definitely
72            won't under Windows.
73    
74    2005-03-23  Jonathan Coles <[email protected]>
75    
76            These changes add support for adjusting the opacity of a raster layer.
77    
78            * Thuban/Model/layer.py (RasterLayer.Opacity): Replaces AlphaOpacity.
79            (RasterLayer.SetOpacity): Replaces SetAlphaOpacity. Also triggers
80            a LAYER_CHANGED event if the opacity actually changes.
81    
82            * Thuban/UI/baserenderer.py (BaseRenderer.draw_raster_data): Added
83            layer parameter needed in the implementation of this method in
84            renderer.py.
85    
86            * Thuban/UI/layerproperties.py (LayerProperties.dialog_layout): Fixed
87            typo 00 -> 0.
88    
89            * Thuban/UI/rasterlayerproperties.py (RasterLayerProperties): Added
90            control to adjust opacity.
91    
92            * Thuban/UI/renderer.py (MapRenderer.draw_raster_data): Scale the
93            alpha data based on the opacity level of the layer.
94    
95            * test/test_baserenderer.py (SimpleRenderer.draw_raster_data): Now
96            accepts a layer parameter.
97    
98            * test/test_layer.py (TestLayerModification.test_raster_layer):
99            Rename opacity method calls and add test for LAYER_CHANGED.
100    
101    2005-03-16  Bernhard Herzog  <[email protected]>
102    
103            * test/test_connector.py (DeletionTestMixin.check_deletions)
104            (DeletionTestMixin.check_deletetions): renamed to check_deletions.
105            update the callers.
106    
107    2005-03-14  Jan-Oliver Wagner <[email protected]>
108    
109            * Doc/manual/thuban-manual-de.xml: More translations.
110    
111    2005-03-10  Jan-Oliver Wagner <[email protected]>
112    
113            Introducing initialization callbacks for extensions.
114    
115            * Thuban/UI/extensionregistry.py (ExtensionDesc.__init__): Added
116            optional parameter init_callback.
117            (ExtensionDesc.init_ext): New. Executes the callback and sets
118            a status.
119    
120            * Thuban/UI/application.py (ThubanApplication.OnInit): Add the
121            initialization of the extensions.
122            (ThubanApplication.init_extensions): Init all extensions.
123    
124            * Thuban/UI/about.py (About.__init__): Added status of the extensions
125            to the about text.
126    
127            * Extensions/gns2shp/__init__.py: Added init method for Extension
128            description.
129            (init): New. Contains the initialization of the module.
130    
131  2005-03-04  Nina H�ffmeyer <[email protected]>  2005-03-04  Nina H�ffmeyer <[email protected]>
132    
133          * Extensions/ogr/ogrdialog.py: Added a dialog, which asks for          * Extensions/ogr/ogrdialog.py: Added a dialog, which asks for

Legend:
Removed from v.2577  
changed lines
  Added in v.2598

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26