/[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 114 by jan, Sun Apr 21 17:39:44 2002 UTC revision 146 by bh, Tue May 7 14:59:27 2002 UTC
# Line 1  Line 1 
1    2002-05-07  Bernhard Herzog  <[email protected]>
2    
3            * setup.py: Add the shptree extension module. See
4            extensions/pyshapelib/ChangeLog for more details.
5    
6            * extensions/shapelib/shpopen.c, extensions/shapelib/shapefil.h,
7            extensions/shapelib/dbfopen.c: Really update to the versions of
8            shapelib 1.2.9. For some reason it wasn't really done on
9            2002-04-11.
10    
11            * extensions/shapelib/shptree.c: Modified version of shptree.c of
12            shapelib 1.2.9. The only real difference is the use of qsort
13            instead of a bubble sort implementation
14    
15            * Thuban/Model/layer.py (Layer.__init__): New instance variable
16            shapetree to hold the shapelib quadtree for the shapefile
17            (Layer.open_shapefile): Create the quad tree.
18            (Layer.ShapesInRegion): New method to return the ids of shapes in
19            a given region using the quad tree.
20    
21            * extensions/thuban/wxproj.cpp (project_points): Fix some typos in
22            comment
23            (draw_polygon_shape): Accept both arcs and polygons.
24            (initwxproj): Use the new PYSHAPELIB_IMPORT_API macro to import
25            the api.
26    
27            * Thuban/UI/renderer.py (MapRenderer.layer_ids): New method to
28            return the shape ids to be rendered in a given layer.
29            (MapRenderer.draw_shape_layer): Call layer_ids to get the list of
30            ids. Use draw_polygon_shape to draw arc shapes as well.
31            (ScreenRenderer.RenderMap): New parameter for the rectangle that
32            has to be updated
33            (ScreenRenderer.layer_ids): Make use of the layer's quadtree by
34            calling it's ShapesInRegion method.
35    
36            * Thuban/UI/view.py (MapCanvas.__init__): New instance variable
37            update_region for the update region.
38            (MapCanvas.OnPaint): Maintain the update region
39            (MapCanvas.do_redraw): Pass the bounding box of the update_region
40            to the renderer when drawing the bitmap. Reset the update_region.
41    
42    2002-05-03  Bernhard Herzog  <[email protected]>
43    
44            * Thuban/UI/mainwindow.py (MainWindow.SaveSessionAs,
45            MainWindow.OpenSession): Change the file extension of the session
46            files to .thuban
47    
48            * Thuban/Model/session.py (Session.AddMap, forwarded_channels):
49            Move the map channels to be forwarded by the session into the
50            class constant with forwarded_channels. Also add
51            LAYER_PROJECTION_CHANGED and LAYER_VISIBILITY_CHANGED to
52            forwarded_channels
53    
54            * Thuban/Model/base.py (Modifiable.changed): Fix doc-string (a
55            typo and some rewording).
56    
57    2002-05-02  Bernhard Herzog  <[email protected]>
58    
59            * Thuban/UI/view.py: Keep the temporary bitmap used during drawing
60            around to speed up most redraws:
61            (MapCanvas.__init__): New instance variable bitmap which holds the
62            bitmap
63            (MapCanvas.do_redraw): Redraw self.bitmap if necessary. Use
64            self.bitmap to draw.
65            (MapCanvas.full_redraw): New method to force a full redraw
66            including the bitmap
67            (MapCanvas.SetMap): Subscribe full_redraw instead of redraw to
68            make sure the bitmap is redrawn.
69            (MapCanvas.projection_changed, MapCanvas.set_view_transform,
70            MapCanvas.shape_selected): Call full_redraw instead of readraw to
71            make sure the bitmap is redrawn.
72            (MapCanvas.OnSize): New method to handle size events so that the
73            bitmap can be redrawn.
74    
75    2002-04-29  Bernhard Herzog  <[email protected]>
76    
77            * Thuban/UI/mainwindow.py (MainWindow.__init__): Subscribe to the
78            canvas' VIEW_POSITION event
79            (MainWindow.view_position_changed): Handler for VIEW_POSITION.
80            Update the text in the status-bar accordingly.
81    
82            * Thuban/UI/view.py (MapCanvas): Derive from Publisher as well
83            (MapCanvas.__del__): Implement because Publisher.__del__ has to be
84            called.
85            (MapCanvas.__init__): Bind EVT_LEAVE_WINDOW too. Initialize
86            current_position
87            (MapCanvas.set_current_position): New method to set
88            current_position. Issue a VIEW_POSITION event
89            (MapCanvas.CurrentPosition): New public method to return the value
90            of current_position. Should be called when the VIEW_POSITION event
91            is processed.
92            (MapCanvas.OnLeftDown, MapCanvas.OnLeftUp, MapCanvas.OnMotion):
93            Update the position.
94            (MapCanvas.OnLeaveWindow): Set the position to None.
95    
96            * Thuban/UI/messages.py (VIEW_POSITION): New message for the
97            position in the statusbar
98    
99    2002-04-26      Frank Koormann <[email protected]>
100    
101            * Thuban/UI/mainwindow.py: AddLayer, Dialog title s/session/data
102    
103    2002-04-24      Frank Koormann <[email protected]>
104            
105            * Resources/Bitmaps/identify.xpm: shadow added
106    
107            * Resources/Bitmaps/fullextent.xpm: new
108            
109    2002-04-22      Jan-Oliver Wagner <[email protected]>
110    
111            * Thuban/UI/tree.py (update_tree): added test for None on map bounding box
112    
113  2002-04-21      Jan-Oliver Wagner <[email protected]>  2002-04-21      Jan-Oliver Wagner <[email protected]>
114    
115          * Thuban/UI/proj4dialog.py (UTMProposeZoneDialog): new          * Thuban/UI/proj4dialog.py (UTMProposeZoneDialog): new

Legend:
Removed from v.114  
changed lines
  Added in v.146

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26