/[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 2584 by jan, Thu Mar 10 22:52:30 2005 UTC revision 2641 by bh, Fri Jul 1 17:42:04 2005 UTC
# Line 1  Line 1 
1    2005-06-30  Bernhard Herzog  <[email protected]>
2    
3            * test/runtests.py: Untabify.
4    
5    2005-06-30  Bernhard Herzog  <[email protected]>
6    
7            * Thuban/UI/renderer.py (ScreenRenderer.draw_selection_incrementally):
8            untabify.
9    
10    2005-06-30  Bernhard Herzog  <[email protected]>
11    
12            * Extensions/ogr/test/__init__.py: Add missing coding directive
13    
14    2005-06-28  Jan-Oliver Wagner <[email protected]>
15    
16            * Thuban/UI/renderer.py (ScreenRenderer.draw_selection_incrementally):
17            Use the default size for rendering selected items of default type.
18            Fixes part 2 of https://intevation.de/rt/webrt?serial_num=3149
19    
20    2005-06-28  Jan-Oliver Wagner <[email protected]>
21    
22            * Extensions/importAPR/apr.py (APR_BShSym): Extend by 'Stripple'.
23            (APR_TClr.GetThubanColor): Fix bug in color interpretation.
24            Thanks to Frank Koormann who identified this problem.
25    
26            * Extensions/importAPR/importAPR.py (APR_VShSym): New. Just
27            another symbol identified.
28    
29    2005-06-27  Jan-Oliver Wagner <[email protected]>
30    
31            * Doc/manual/thuban-manual-de.xml: More translations.
32    
33    2005-05-12  Jonathan Coles <[email protected]>
34            
35            * Thuban/UI/projdialog.py: Add missing import, which led to an
36            exception when opening a layer's projection.
37    
38    2005-05-09  Bernhard Herzog  <[email protected]>
39    
40            * test/support.py (FileLoadTestCase.filename): Fix doc-string.
41    
42    2005-05-09  Bernhard Herzog  <[email protected]>
43    
44            * Thuban/Model/postgisdb.py (PostGISConnection.connect): Set the
45            connection to autoconnect.  Fixes RT#3148.
46    
47            * test/test_postgis_db.py
48            (TestPostGISSpecialCases.test_simple_error_handling): New test
49            that attempts to reproduce RT#3148.
50    
51    2005-05-06  Jonathan Coles <[email protected]>
52    
53            Add support for saving and loading the opacity and mask type
54            properties of RasterLayers. Also add support for proper use
55            of alpha information while drawing images not in 'RAW' format.
56            If transparency in an image format (e.g, PNG) is supported by
57            wxWidgets then the image would previously have been draw with
58            transparent regions, but the opaque regions would have been
59            unaffected by a change in the layer's opacity. This patch
60            corrects the problem.
61    
62            * Thuban/Model/layer.py (RasterLayer): Added opacity and
63            masktype parameters to the constructor, and set the
64            appropriate variables to those values.
65    
66            * Thuban/Model/load.py (SessionLoader.start_rasterlayer): Added
67            code to read the opacity and mask type of the layer and construct
68            a new layer with the additional parameters.
69    
70            * Thuban/Model/save.py (SessionSaver.write_layer): Added code
71            to save the opacity and mask type of a layer.
72    
73            * Thuban/UI/baserenderer.py (BaseRenderer.draw_raster_layer): Pass
74            the opacity of the layer to draw_raster_data rather than the layer.
75            (BaseRenderer.draw_raster_data): Remove the layer parameter because
76            the function doesn't need to know about the layer. Add the optional
77            opacity parameter whose default is 1.0. Add 'PNG' as a supported
78            graphics format.
79    
80            * Thuban/UI/renderer.py (MapRenderer.draw_raster_data): Fixed
81            signature to match that in BaseRenderer. Use the new opacity argument
82            in place of calling layer.Opacity(). In the case where the
83            format is not 'RAW', alpha_data is None and the loaded image has
84            alpha information, use the file's alpha information. This is
85            still subject to the layer's opacity setting.
86    
87            * test/test_baserenderer.py (SimpleRenderer.draw_raster_data):
88            Fixed signature to match that in BaseRenderer.
89    
90            * test/test_load.py (TestRasterLayer): Change file_contents to
91            include opacity and masktype variables.
92            (TestRasterLayer.test): Include tests for opacity and masktype
93            changes.
94    
95            * test/test_save.py (SaveSessionTest.testRasterLayer): Restructure
96            test to cover a variety of combinations of masktype and opacity
97            settings.
98    
99    2005-05-02  Jan-Oliver Wagner <[email protected]>
100    
101            * debian/rules: add --use-wx-python-swig-hack
102            to the build command.
103            Thanks to Moritz Lennert for pointing this out.
104    
105    2005-04-28  Jan-Oliver Wagner <[email protected]>
106    
107            Introduce OGRFileShapeStore in ogr extension.
108            This allows at least that loaded shapefile shape stores
109            can be saved correctly in the thuban session file
110            and reloaded again (reload is via core shapefile
111            routine, not OGR). For other types, .thuban files
112            can not be reloaded for the time being.
113    
114            * Extensions/ogr/ogrshapes.py (OGRFileShapeStore): New. This
115            class ist to be used for any file-based shape stores
116            accessed through OGR.
117    
118            * Extensions/ogr/ogrstart.py (open_with_ogr): Added
119            forgotten _ for i18n. Adapted call OpenFileShapestore
120            regarding new parameter.
121            (OpenFileShapestore): Use OGRFileShapeStore instead of
122            OGRShapeStore. Fix return value (None instead of null).
123            Add new parameter "mainwindow" to avoid accessing global
124            context.
125    
126    2005-04-27  Jan-Oliver Wagner <[email protected]>
127    
128            Introduce FileShapeStore as generalization for
129            file-based shape stores. In a first instance
130            this allows additional modules to handle shapefile
131            format as well, namely the OGR extension.
132    
133            * Thuban/Model/data.py: Various small fixes in doc-strings.
134            (FileShapeStore): New class.
135            (ShapefileStore): Derive from FileShapeStore.
136            (ShapefileStore.__init__): Call __init__ of FileShapeStore,
137            rename self.table to self._table, initialize self._bbox
138            (ShapefileStore._open_shapefile): Use self._bbox instead of self.bbox
139            and self.FileName() instead of self.filename.
140            (ShapefileStore.Table): Use self._table instead of self.table.
141            (ShapefileStore.FileName): Removed (moved to FileShapeStore).
142            (ShapefileStore.BoundingBox):  Use self._bbox instead of self.bbox.
143    
144            * Thuban/Model/save.py: Replace ShapefileStore by FileShapeStore.
145            (SessionSaver.write_data_containers): Only use methods of the
146            base class FileShapeStore.
147    
148    2005-04-26  Martin Schulze  <[email protected]>
149    
150            * Extensions/wms/wms.py (render_wms_layer): Adjusted the render
151            function to the modified render engine
152    
153    2005-04-25  Martin Schulze  <[email protected]>
154    
155            * Thuban/UI/renderer.py (MapRenderer.projected_raster_layer):
156            Added a description according to the CVS log message
157    
158    2005-04-23  Martin Schulze  <[email protected]>
159    
160            * Thuban/UI/renderer.py: Added a missing import
161    
162    2005-04-23  Russell Nelson  <[email protected]>
163    
164            * Thuban/UI/view.py (MapCanvas.OnMiddle{Up,Down}): Changed the
165            way the previous tool is remembered, so that middle-button
166            panning works even if you haven't selected a tool.
167    
168    2005-04-11  Bernhard Herzog  <[email protected]>
169    
170            * libraries/thuban/wxproj.cpp: Move the compatibility code that
171            deals with the wxPython 2.4 version of wxPython.h into the #ifdef
172            branch that includes wxPython.h because it's only needed when
173            wxPython.h is used.  Also, it won't compile when
174            USE_WX_PYTHON_SWIG_HACK is set otherwise.
175    
176    2005-04-07  Bernhard Herzog  <[email protected]>
177    
178            * Thuban/UI/classifier.py (ClassGrid.__init__): Use -1 as the ID.
179            (ID_CLASS_TABLE): Removed. It wasn't used anywhere except in
180            ClassGrid.__init__ and it's value is outside of the valid
181            range (must be < 32768).  wxPython 2.5 complains about it with an
182            exception.
183    
184    2005-04-05  Jan-Oliver Wagner <[email protected]>
185    
186            * Doc/manual/thuban-manual-de.xml: More translations.
187    
188    2005-04-05  Bernhard Herzog  <[email protected]>
189    
190            * libraries/thuban/wxproj.cpp: Make it work with a wxPython.h from
191            wxPython 2.4 as well.  Also, remove a now obsolete comment.
192    
193    2005-04-05  Bernhard Herzog  <[email protected]>
194    
195            Use wxPython.h by default but provide a workaround when it isn't
196            available.
197    
198            * setup.py (wxproj_extension): New variable.  Assign the Extension
199            instance for Lib.wxproj to this variable instead of putting it
200            directly into the listso that it can be accessed by other code
201            later.
202            (thuban_build_ext.user_options): Added boolean option
203            --use-wx-python-swig-hack.
204            (thuban_build_ext.initialize_options): Initialize the new option
205            to False.
206            (thuban_build_ext.finalize_options): If the new option was given,
207            define the preprocesser macro USE_WX_PYTHON_SWIG_HACK.
208            (thuban_build_ext): Update the doc-string
209    
210            * libraries/thuban/wxproj.cpp: Normally we use
211            wx/wxPython/wxPython.h now.  Only if USE_WX_PYTHON_SWIG_HACK is
212            defined, use swigPtrConvertHack.h instead.
213    
214            * libraries/thuban/swigPtrConvertHack.h: Remove the code that was
215            copied over from wxPython.h.
216            (decode_pointer_new): New.  Equivalent of decode_pointer for
217            wxPython 2.5.
218            (wxPyConvertSwigPtr): Modified to cope with wxPython 2.5 as well.
219    
220            * README: Add section on potential build problems which explains
221            how the work-around for a missing wxPython.h is activated.
222    
223    2005-03-29  Bernhard Herzog  <[email protected]>
224    
225            * test/postgissupport.py (find_postgis_sql): Added yet another
226            potential location for (lw)postgis.sql because the file has moved
227            again in postgis 1.0.0 rc4.
228    
229    2005-03-29  Bernhard Herzog  <[email protected]>
230    
231            * Thuban/UI/legend.py (BMP_SIZE_W, BMP_SIZE_H): Set both to 16 to
232            match the site of the legend_icon_layer icon.  Otherwise wxpython
233            2.5 complains when the legend is created with the error:
234    
235            PyAssertionError: C++ assertion "(bitmap.GetWidth() == m_width &&
236            bitmap.GetHeight() == m_height) || (m_width == 0 && m_height ==
237            0)" failed in ./src/generic/imaglist.cpp(81): invalid bitmap size
238            in wxImageList: this might work on this platform but definitely
239            won't under Windows.
240    
241    2005-03-23  Jonathan Coles <[email protected]>
242    
243            These changes add support for adjusting the opacity of a raster layer.
244    
245            * Thuban/Model/layer.py (RasterLayer.Opacity): Replaces AlphaOpacity.
246            (RasterLayer.SetOpacity): Replaces SetAlphaOpacity. Also triggers
247            a LAYER_CHANGED event if the opacity actually changes.
248    
249            * Thuban/UI/baserenderer.py (BaseRenderer.draw_raster_data): Added
250            layer parameter needed in the implementation of this method in
251            renderer.py.
252    
253            * Thuban/UI/layerproperties.py (LayerProperties.dialog_layout): Fixed
254            typo 00 -> 0.
255    
256            * Thuban/UI/rasterlayerproperties.py (RasterLayerProperties): Added
257            control to adjust opacity.
258    
259            * Thuban/UI/renderer.py (MapRenderer.draw_raster_data): Scale the
260            alpha data based on the opacity level of the layer.
261    
262            * test/test_baserenderer.py (SimpleRenderer.draw_raster_data): Now
263            accepts a layer parameter.
264    
265            * test/test_layer.py (TestLayerModification.test_raster_layer):
266            Rename opacity method calls and add test for LAYER_CHANGED.
267    
268    2005-03-16  Bernhard Herzog  <[email protected]>
269    
270            * test/test_connector.py (DeletionTestMixin.check_deletions)
271            (DeletionTestMixin.check_deletetions): renamed to check_deletions.
272            update the callers.
273    
274    2005-03-14  Jan-Oliver Wagner <[email protected]>
275    
276            * Doc/manual/thuban-manual-de.xml: More translations.
277    
278  2005-03-10  Jan-Oliver Wagner <[email protected]>  2005-03-10  Jan-Oliver Wagner <[email protected]>
279    
280          Introducing initialization callbacks for extensions.          Introducing initialization callbacks for extensions.

Legend:
Removed from v.2584  
changed lines
  Added in v.2641

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26