/[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 2585 by jan, Mon Mar 14 08:17:08 2005 UTC revision 2610 by jan, Thu Apr 28 09:40:25 2005 UTC
# Line 1  Line 1 
1    2005-04-28  Jan-Oliver Wagner <[email protected]>
2    
3            Introduce OGRFileShapeStore in ogr extension.
4            This allows at least that loaded shapefile shape stores
5            can be saved correctly in the thuban session file
6            and reloaded again (reload is via core shapefile
7            routine, not OGR). For other types, .thuban files
8            can not be reloaded for the time being.
9    
10            * Extensions/ogr/ogrshapes.py (OGRFileShapeStore): New. This
11            class ist to be used for any file-based shape stores
12            accessed through OGR.
13    
14            * Extensions/ogr/ogrstart.py (open_with_ogr): Added
15            forgotten _ for i18n. Adapted call OpenFileShapestore
16            regarding new parameter.
17            (OpenFileShapestore): Use OGRFileShapeStore instead of
18            OGRShapeStore. Fix return value (None instead of null).
19            Add new parameter "mainwindow" to avoid accessing global
20            context.
21    
22    2005-04-27  Jan-Oliver Wagner <[email protected]>
23    
24            Introduce FileShapeStore as generalization for
25            file-based shape stores. In a first instance
26            this allows additional modules to handle shapefile
27            format as well, namely the OGR extension.
28    
29            * Thuban/Model/data.py: Various small fixes in doc-strings.
30            (FileShapeStore): New class.
31            (ShapefileStore): Derive from FileShapeStore.
32            (ShapefileStore.__init__): Call __init__ of FileShapeStore,
33            rename self.table to self._table, initialize self._bbox
34            (ShapefileStore._open_shapefile): Use self._bbox instead of self.bbox
35            and self.FileName() instead of self.filename.
36            (ShapefileStore.Table): Use self._table instead of self.table.
37            (ShapefileStore.FileName): Removed (moved to FileShapeStore).
38            (ShapefileStore.BoundingBox):  Use self._bbox instead of self.bbox.
39    
40            * Thuban/Model/save.py: Replace ShapefileStore by FileShapeStore.
41            (SessionSaver.write_data_containers): Only use methods of the
42            base class FileShapeStore.
43    
44    2005-04-26  Martin Schulze  <[email protected]>
45    
46            * Extensions/wms/wms.py (render_wms_layer): Adjusted the render
47            function to the modified render engine
48    
49    2005-04-25  Martin Schulze  <[email protected]>
50    
51            * Thuban/UI/renderer.py (MapRenderer.projected_raster_layer):
52            Added a description according to the CVS log message
53    
54    2005-04-23  Martin Schulze  <[email protected]>
55    
56            * Thuban/UI/renderer.py: Added a missing import
57    
58    2005-04-23  Russell Nelson  <[email protected]>
59    
60            * Changed the way the previous tool is remembered, so that
61            middle-button panning works even if you haven't selected a tool.
62    
63    2005-04-11  Bernhard Herzog  <[email protected]>
64    
65            * libraries/thuban/wxproj.cpp: Move the compatibility code that
66            deals with the wxPython 2.4 version of wxPython.h into the #ifdef
67            branch that includes wxPython.h because it's only needed when
68            wxPython.h is used.  Also, it won't compile when
69            USE_WX_PYTHON_SWIG_HACK is set otherwise.
70    
71    2005-04-07  Bernhard Herzog  <[email protected]>
72    
73            * Thuban/UI/classifier.py (ClassGrid.__init__): Use -1 as the ID.
74            (ID_CLASS_TABLE): Removed. It wasn't used anywhere except in
75            ClassGrid.__init__ and it's value is outside of the valid
76            range (must be < 32768).  wxPython 2.5 complains about it with an
77            exception.
78    
79    2005-04-05  Jan-Oliver Wagner <[email protected]>
80    
81            * Doc/manual/thuban-manual-de.xml: More translations.
82    
83    2005-04-05  Bernhard Herzog  <[email protected]>
84    
85            * libraries/thuban/wxproj.cpp: Make it work with a wxPython.h from
86            wxPython 2.4 as well.  Also, remove a now obsolete comment.
87    
88    2005-04-05  Bernhard Herzog  <[email protected]>
89    
90            Use wxPython.h by default but provide a workaround when it isn't
91            available.
92    
93            * setup.py (wxproj_extension): New variable.  Assign the Extension
94            instance for Lib.wxproj to this variable instead of putting it
95            directly into the listso that it can be accessed by other code
96            later.
97            (thuban_build_ext.user_options): Added boolean option
98            --use-wx-python-swig-hack.
99            (thuban_build_ext.initialize_options): Initialize the new option
100            to False.
101            (thuban_build_ext.finalize_options): If the new option was given,
102            define the preprocesser macro USE_WX_PYTHON_SWIG_HACK.
103            (thuban_build_ext): Update the doc-string
104    
105            * libraries/thuban/wxproj.cpp: Normally we use
106            wx/wxPython/wxPython.h now.  Only if USE_WX_PYTHON_SWIG_HACK is
107            defined, use swigPtrConvertHack.h instead.
108    
109            * libraries/thuban/swigPtrConvertHack.h: Remove the code that was
110            copied over from wxPython.h.
111            (decode_pointer_new): New.  Equivalent of decode_pointer for
112            wxPython 2.5.
113            (wxPyConvertSwigPtr): Modified to cope with wxPython 2.5 as well.
114    
115            * README: Add section on potential build problems which explains
116            how the work-around for a missing wxPython.h is activated.
117    
118    2005-03-29  Bernhard Herzog  <[email protected]>
119    
120            * test/postgissupport.py (find_postgis_sql): Added yet another
121            potential location for (lw)postgis.sql because the file has moved
122            again in postgis 1.0.0 rc4.
123    
124    2005-03-29  Bernhard Herzog  <[email protected]>
125    
126            * Thuban/UI/legend.py (BMP_SIZE_W, BMP_SIZE_H): Set both to 16 to
127            match the site of the legend_icon_layer icon.  Otherwise wxpython
128            2.5 complains when the legend is created with the error:
129    
130            PyAssertionError: C++ assertion "(bitmap.GetWidth() == m_width &&
131            bitmap.GetHeight() == m_height) || (m_width == 0 && m_height ==
132            0)" failed in ./src/generic/imaglist.cpp(81): invalid bitmap size
133            in wxImageList: this might work on this platform but definitely
134            won't under Windows.
135    
136    2005-03-23  Jonathan Coles <[email protected]>
137    
138            These changes add support for adjusting the opacity of a raster layer.
139    
140            * Thuban/Model/layer.py (RasterLayer.Opacity): Replaces AlphaOpacity.
141            (RasterLayer.SetOpacity): Replaces SetAlphaOpacity. Also triggers
142            a LAYER_CHANGED event if the opacity actually changes.
143    
144            * Thuban/UI/baserenderer.py (BaseRenderer.draw_raster_data): Added
145            layer parameter needed in the implementation of this method in
146            renderer.py.
147    
148            * Thuban/UI/layerproperties.py (LayerProperties.dialog_layout): Fixed
149            typo 00 -> 0.
150    
151            * Thuban/UI/rasterlayerproperties.py (RasterLayerProperties): Added
152            control to adjust opacity.
153    
154            * Thuban/UI/renderer.py (MapRenderer.draw_raster_data): Scale the
155            alpha data based on the opacity level of the layer.
156    
157            * test/test_baserenderer.py (SimpleRenderer.draw_raster_data): Now
158            accepts a layer parameter.
159    
160            * test/test_layer.py (TestLayerModification.test_raster_layer):
161            Rename opacity method calls and add test for LAYER_CHANGED.
162    
163    2005-03-16  Bernhard Herzog  <[email protected]>
164    
165            * test/test_connector.py (DeletionTestMixin.check_deletions)
166            (DeletionTestMixin.check_deletetions): renamed to check_deletions.
167            update the callers.
168    
169  2005-03-14  Jan-Oliver Wagner <[email protected]>  2005-03-14  Jan-Oliver Wagner <[email protected]>
170    
171          * Doc/manual/thuban-manual-de.xml: More translations.          * Doc/manual/thuban-manual-de.xml: More translations.

Legend:
Removed from v.2585  
changed lines
  Added in v.2610

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26