1 |
|
2005-04-05 Jan-Oliver Wagner <[email protected]> |
2 |
|
|
3 |
|
* Doc/manual/thuban-manual-de.xml: More translations. |
4 |
|
|
5 |
|
2005-04-05 Bernhard Herzog <[email protected]> |
6 |
|
|
7 |
|
* libraries/thuban/wxproj.cpp: Make it work with a wxPython.h from |
8 |
|
wxPython 2.4 as well. Also, remove a now obsolete comment. |
9 |
|
|
10 |
|
2005-04-05 Bernhard Herzog <[email protected]> |
11 |
|
|
12 |
|
Use wxPython.h by default but provide a workaround when it isn't |
13 |
|
available. |
14 |
|
|
15 |
|
* setup.py (wxproj_extension): New variable. Assign the Extension |
16 |
|
instance for Lib.wxproj to this variable instead of putting it |
17 |
|
directly into the listso that it can be accessed by other code |
18 |
|
later. |
19 |
|
(thuban_build_ext.user_options): Added boolean option |
20 |
|
--use-wx-python-swig-hack. |
21 |
|
(thuban_build_ext.initialize_options): Initialize the new option |
22 |
|
to False. |
23 |
|
(thuban_build_ext.finalize_options): If the new option was given, |
24 |
|
define the preprocesser macro USE_WX_PYTHON_SWIG_HACK. |
25 |
|
(thuban_build_ext): Update the doc-string |
26 |
|
|
27 |
|
* libraries/thuban/wxproj.cpp: Normally we use |
28 |
|
wx/wxPython/wxPython.h now. Only if USE_WX_PYTHON_SWIG_HACK is |
29 |
|
defined, use swigPtrConvertHack.h instead. |
30 |
|
|
31 |
|
* libraries/thuban/swigPtrConvertHack.h: Remove the code that was |
32 |
|
copied over from wxPython.h. |
33 |
|
(decode_pointer_new): New. Equivalent of decode_pointer for |
34 |
|
wxPython 2.5. |
35 |
|
(wxPyConvertSwigPtr): Modified to cope with wxPython 2.5 as well. |
36 |
|
|
37 |
|
* README: Add section on potential build problems which explains |
38 |
|
how the work-around for a missing wxPython.h is activated. |
39 |
|
|
40 |
|
2005-03-29 Bernhard Herzog <[email protected]> |
41 |
|
|
42 |
|
* test/postgissupport.py (find_postgis_sql): Added yet another |
43 |
|
potential location for (lw)postgis.sql because the file has moved |
44 |
|
again in postgis 1.0.0 rc4. |
45 |
|
|
46 |
|
2005-03-29 Bernhard Herzog <[email protected]> |
47 |
|
|
48 |
|
* Thuban/UI/legend.py (BMP_SIZE_W, BMP_SIZE_H): Set both to 16 to |
49 |
|
match the site of the legend_icon_layer icon. Otherwise wxpython |
50 |
|
2.5 complains when the legend is created with the error: |
51 |
|
|
52 |
|
PyAssertionError: C++ assertion "(bitmap.GetWidth() == m_width && |
53 |
|
bitmap.GetHeight() == m_height) || (m_width == 0 && m_height == |
54 |
|
0)" failed in ./src/generic/imaglist.cpp(81): invalid bitmap size |
55 |
|
in wxImageList: this might work on this platform but definitely |
56 |
|
won't under Windows. |
57 |
|
|
58 |
|
2005-03-23 Jonathan Coles <[email protected]> |
59 |
|
|
60 |
|
These changes add support for adjusting the opacity of a raster layer. |
61 |
|
|
62 |
|
* Thuban/Model/layer.py (RasterLayer.Opacity): Replaces AlphaOpacity. |
63 |
|
(RasterLayer.SetOpacity): Replaces SetAlphaOpacity. Also triggers |
64 |
|
a LAYER_CHANGED event if the opacity actually changes. |
65 |
|
|
66 |
|
* Thuban/UI/baserenderer.py (BaseRenderer.draw_raster_data): Added |
67 |
|
layer parameter needed in the implementation of this method in |
68 |
|
renderer.py. |
69 |
|
|
70 |
|
* Thuban/UI/layerproperties.py (LayerProperties.dialog_layout): Fixed |
71 |
|
typo 00 -> 0. |
72 |
|
|
73 |
|
* Thuban/UI/rasterlayerproperties.py (RasterLayerProperties): Added |
74 |
|
control to adjust opacity. |
75 |
|
|
76 |
|
* Thuban/UI/renderer.py (MapRenderer.draw_raster_data): Scale the |
77 |
|
alpha data based on the opacity level of the layer. |
78 |
|
|
79 |
|
* test/test_baserenderer.py (SimpleRenderer.draw_raster_data): Now |
80 |
|
accepts a layer parameter. |
81 |
|
|
82 |
|
* test/test_layer.py (TestLayerModification.test_raster_layer): |
83 |
|
Rename opacity method calls and add test for LAYER_CHANGED. |
84 |
|
|
85 |
|
2005-03-16 Bernhard Herzog <[email protected]> |
86 |
|
|
87 |
|
* test/test_connector.py (DeletionTestMixin.check_deletions) |
88 |
|
(DeletionTestMixin.check_deletetions): renamed to check_deletions. |
89 |
|
update the callers. |
90 |
|
|
91 |
|
2005-03-14 Jan-Oliver Wagner <[email protected]> |
92 |
|
|
93 |
|
* Doc/manual/thuban-manual-de.xml: More translations. |
94 |
|
|
95 |
2005-03-10 Jan-Oliver Wagner <[email protected]> |
2005-03-10 Jan-Oliver Wagner <[email protected]> |
96 |
|
|
97 |
Introducing initialization callbacks for extensions. |
Introducing initialization callbacks for extensions. |