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