/[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 2559 by nhueffme, Tue Feb 8 09:52:56 2005 UTC revision 2586 by bh, Wed Mar 16 14:55:21 2005 UTC
# Line 1  Line 1 
1    2005-03-16  Bernhard Herzog  <[email protected]>
2    
3            * test/test_connector.py (DeletionTestMixin.check_deletions)
4            (DeletionTestMixin.check_deletetions): renamed to check_deletions.
5            update the callers.
6    
7    2005-03-14  Jan-Oliver Wagner <[email protected]>
8    
9            * Doc/manual/thuban-manual-de.xml: More translations.
10    
11    2005-03-10  Jan-Oliver Wagner <[email protected]>
12    
13            Introducing initialization callbacks for extensions.
14    
15            * Thuban/UI/extensionregistry.py (ExtensionDesc.__init__): Added
16            optional parameter init_callback.
17            (ExtensionDesc.init_ext): New. Executes the callback and sets
18            a status.
19    
20            * Thuban/UI/application.py (ThubanApplication.OnInit): Add the
21            initialization of the extensions.
22            (ThubanApplication.init_extensions): Init all extensions.
23    
24            * Thuban/UI/about.py (About.__init__): Added status of the extensions
25            to the about text.
26    
27            * Extensions/gns2shp/__init__.py: Added init method for Extension
28            description.
29            (init): New. Contains the initialization of the module.
30    
31    2005-03-04  Nina H�ffmeyer <[email protected]>
32    
33            * Extensions/ogr/ogrdialog.py: Added a dialog, which asks for
34            OGRConnection to open a datasource. Removed dialog to display all
35            available drivers. Added some doc strings.
36    
37            * Extensions/ogr/ogrstart.py: Added menu entry for opening an
38            OGRDatasource with a string. Added two opening methods which return an
39            OGRDatasource (either data from file or from DB).
40    
41            * Extensions/ogr/ogrshapes.py: Added class OGRGeometry, which
42            represents a geometry reference of an OGRFeature. OGRShape now has a
43            list of referenced geometry objects (important for geometry
44            collections).
45            For OGRShapeStores loaded from a DB an ID column can be specified now.
46    
47    2005-02-22  Jan-Oliver Wagner <[email protected]>
48    
49            * test/test_map.py (TestMapWithContents.test_tree_info):
50            Added label layer for comparison.
51    
52    2005-02-18  Jonathan Coles <[email protected]>
53    
54            * libraries/thuban/gdalwarp.cpp (GetImageData): Optimize the loop
55            which builds a mask. Handle the majority of an image in a loop,
56            creating 8 bits at a time. Later, handle the edge case where less
57            than 8 bits are packed.
58    
59    2005-02-18  Bernhard Herzog  <[email protected]>
60    
61            * test/test_baserenderer.py (TestBaseRenderer.setUp): Fix
62            doc-string
63    
64    2005-02-18  Jonathan Coles <[email protected]>
65    
66            * setup.py: Remove wx_cs_params from gdal compile options.
67    
68    2005-02-18  Jonathan Coles <[email protected]>
69    
70            Refactored baserenderer.py and renderer.py to remove baserenderer.py's
71            dependencies on wxPython. Added a new method projected_raster_layer()
72            that returns a raster layer image in projected space. This must be
73            implemented in classes derived from BaseRenderer. This also eliminates
74            the dependency on gdal in baserenderer.py.
75    
76            * Thuban/UI/baserenderer.py (BaseRenderer.draw_raster_layer): Call
77            new projected_raster_layer() to get projected raster image instead
78            of directly calling ProjectRasterFile().
79            (BaseRenderer.projected_raster_layer): New. This must be implemented
80            by derived classes. It takes almost the same arguments as ProjectRasterFile
81            did and returns a projected image with mask and alpha data (if requested).
82            (BaseRenderer.render_map_incrementally): Remove the check for gdal since
83            that check will be done in MapRenderer.projected_raster_layer(). This
84            also allows other implementations to use different projection code.
85    
86            * Thuban/UI/renderer.py (MapRenderer.projected_raster_layer):
87            Implementation of BaseRenderer.projected_raster_layer. Checks for
88            gdal support and wxPython version. Also handles exceptions from
89            ProjectRasterFile.
90    
91            * libraries/thuban/gdalwarp.cpp: Removed checks for wxPython versions
92            and added a variable which can be set through the options argument
93            of ProjectRasterFile.
94    
95            * test/test_baserenderer.py (SimpleRenderer.projected_raster_layer): New.
96            Calls ProjectRasterFile and returns the result.
97            (TestBaseRenderer.test_projected_raster_layer): New. Tests the results
98            of calling projected_raster_layer() with different options.
99            (TestBaseRenderer.test_raster_no_projection): Removed tests based on
100            wxPython version and all tests of masks and alpha channels. These are
101            now in test_projected_raster_layer().
102    
103    2005-02-17  Jan-Oliver Wagner <[email protected]>
104    
105            * Thuban/Model/map.py, Thuban/Model/label.py: Fixed
106            doc-strings to comply with coding_guidelines.
107    
108    2005-02-17  Jan-Oliver Wagner <[email protected]>
109    
110            Docstring improvements and minor fixes for labellayer.
111    
112            * Thuban/Model/map.py:
113            (Map, Map.Destroy, Map.RemoveLayer, Map.ClearLayers,
114            Map.Layers, Map.HasLayers, Map.MoveLayerToTop,
115            Map.RaiseLayer, Map.LowerLayer, Map.MoveLayerToBottom,
116            Map.ProjectedBoundingBox, Map.GetProjection): Improved/added
117            doc string.
118            (Map.BoundingBox): Removed superfluous test for label_layer
119            and improved doc string.
120            (Map.TreeInfo): Added label_layer and improved sdo string.
121    
122            * Thuban/Model/label.py: Added import of _.
123            (Label, Label.__init__): Improved/added doc string.
124            (LabelLayer, LabelLayer.__init__, LabelLayer.Labels,
125            LabelLayer.RemoveLabel, LabelLayer.ClearLabels):
126            Improved/added doc string.
127            (LabelLayer.AddLabel): Use already defined names for
128            align strings and improved doc string.
129            (LabelLayer.TreeInfo): New. Return the object data for
130            the tree view.
131    
132    2005-02-16  Jonathan Coles <[email protected]>
133    
134            Further wxPython 2.5 changes using patches from Daniel Calvelo Aros
135            so that that wxproj doesn't crash. Added GUI support for selecting
136            alpha channel (opacity can't be selected yet).
137    
138            NOTE: If wxPython.h is including in future distribution packages
139            then it will not be necessary to have the files swigPtrConvertHack.h
140            and wxPython_int.h included with Thuban. This is hopefully
141            a temporary workaround.
142    
143            * setup.py (thuban_build_ext.finalize_options): gdalwarp needs
144            access to the macro wxCHECK_VERSION so that it will properly
145            generate a bit mask. There was a problem between wx2.4 and wx2.5
146            that this works around.
147    
148            * Thuban/Model/layer.py (RasterLayer.UseMask): Removed in favor
149            of RasterLayer.MaskType.
150            (RasterLayer.SetUseMask): Removed in favor of RasterLayer.SetMaskType
151            (RasterLayer.MaskType): New. Returns the type of mask to use. Can
152            specify none, a bitmap, or an alpha channel.
153            (RasterLayer.SetMaskType): New. Set what kind of mask to use.
154    
155            * Thuban/UI/baserenderer.py (BaseRenderer.draw_raster_layer):
156            Set the raster warping options for the mask based on the value
157            of RasterLayer.MaskType.
158    
159            * Thuban/UI/legend.py (LegendTree.__FillTreeLayer): Remove
160            deprecated calls to SetItemSelectedImage in favor of SetItemImage
161            with wxTreeItemIcon_Selected.
162    
163            * Thuban/UI/rasterlayerproperties.py: Support selecting to use
164            an alpha channel for the mask.
165    
166            * Thuban/UI/renderer.py (MapRenderer.draw_raster_data): Use alpha
167            data if it is available and an alpha channel is supported under
168            the current version of wxPython.
169    
170            * libraries/thuban/gdalwarp.cpp (GetImageData): Added compiler define
171            to select whether 1's or 0's select the desired portion of an image
172            in the bit mask. wx2.4 has a bug where the documentation is the opposite
173            from behavior.
174            (ProjectRasterFile): Only generate an alpha channel if the version
175            of wxPython is >= 2.5.3.
176    
177            * libraries/thuban/wxproj.cpp: Applied patches from Daniel Calvelo Aros.
178            When wxPython >= 2.5.3 use the special swig functions to decode an
179            object's address.
180    
181            * libraries/thuban/swigPtrConvertHack.h: Includes conditional code
182            based on the version of wxPython. If >= 2.5.3 use the special swig
183            functions from wxPython to decode wxPython objects, otherwise use
184            the old method of retrieving the address from the object __repr__ string.
185    
186            * libraries/thuban/wxPython_int.h: Copied from wxPython source.
187            Unnecessary code was removed to make it smaller.
188    
189            * test/test_baserenderer.py (TestBaseRenderer.test_raster_no_projection):
190            Add tests for returning an alpha channel.
191    
192            * test/test_layer.py (TestLayerModification.test_raster_layer): Fix
193            tests that used removed functions UseMask and SetUseMask
194    
195    
196    2005-02-08  Bernhard Herzog  <[email protected]>
197    
198            More wxPython 2.5 changes.  This time taken from a patch from
199            Daniel Calvelo Aros.
200    
201            * Thuban/UI/tableview.py (QueryTableFrame.__init__)
202            (QueryTableFrame.__init__): Pass the size of a spacer as a single
203            item.
204    
205            * Thuban/UI/projdialog.py (ProjFrame.build_dialog)
206            (ProjFrame.build_dialog): Pass the size of a spacer as a single
207            item.
208    
209            * Thuban/UI/dbdialog.py (ChooseDBTableDialog.__init__): Pass the
210            size of a spacer as a single item.
211    
212            * Thuban/UI/classifier.py (Classifier.dialog_layout): Pass the
213            size of a spacer as a single item.
214    
215    2005-02-08  Bernhard Herzog  <[email protected]>
216    
217            Compatibility with wxPython 2.5.  The changes should make it work
218            better with 2.5 while still keeping compatibility with 2.4.  There
219            are still problems with 2.5, though.
220    
221            * Thuban/UI/dock.py (DockableWindow.__CreateBorder): Pass the size
222            of a spacer as a single item.
223    
224            * Thuban/UI/classifier.py (ClassGroupPropertiesCtrl): Derive only
225            from wxControl
226    
227            * Thuban/UI/legend.py (LegendTree): When running with wxPython <
228            2.5, add an implementation of the GetFirstChild method that does
229            not require the second parameter.
230            (LegendTree.find_layer, LegendTree._OnMsgMapLayersAdded)
231            (LegendTree._OnMsgMapLayersRemoved, LegendTree.DeleteAllItems)
232            (LegendTree.DeleteChildren, LegendTree.__ShowHideLayer): Do not
233            pass the second parameter to GetFirstChild
234    
235  2005-02-08  Nina H�ffmeyer <[email protected]>  2005-02-08  Nina H�ffmeyer <[email protected]>
236    
237          * Extensions/ogr/ogrshapes.py: Removed some print commands.          * Extensions/ogr/ogrshapes.py: Removed some print commands.

Legend:
Removed from v.2559  
changed lines
  Added in v.2586

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26