/[thuban]/branches/greater-ms3/thuban/ChangeLog
ViewVC logotype

Diff of /branches/greater-ms3/thuban/ChangeLog

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 116 by jan, Mon Apr 22 11:31:08 2002 UTC revision 172 by bh, Tue May 14 14:16:37 2002 UTC
# Line 1  Line 1 
1    2002-05-14  Bernhard Herzog  <[email protected]>
2    
3            * Thuban/Model/layer.py (Layer.open_shapefile): Choose a better
4            maximum depth for the tree than shapelib does by default.
5    
6    2002-05-10  Bernhard Herzog  <[email protected]>
7    
8            * setup.py (py_modules): The shptree modules doesn't have a
9            wrapper, so don't include it in the py_modules
10    
11    2002-05-08  Bernhard Herzog  <[email protected]>
12    
13            * extensions/shapelib/shptree.c (compare_ints): Make arguments
14            const void * as in the qsort prototype
15            (SHPTreeFindLikelyShapes): Remove some unused variables.
16    
17            * Thuban/UI/view.py (PanTool.MouseMove): Use the bitmap the view
18            maintains to redraw the window during a drag.
19            (MapCanvas.unprojected_rect_around_point): New method to determine
20            a small region around a point for hit-testing.
21            (MapCanvas.find_shape_at): Only test the shapes in a small region
22            around the point.
23    
24            * setup.py: Increment the version to 0.1.2
25    
26            * Thuban/UI/tree.py (SessionTreeCtrl.unsubscribe_all): Remove a
27            debug print and set session to None after unsubscribing
28    
29    2002-05-07  Bernhard Herzog  <[email protected]>
30    
31            * Data/iceland_sample.session, Data/iceland_sample.thuban: Rename
32            the file to have a .thuban extension.
33    
34            * Thuban/UI/tree.py (session_channels): New class constant with
35            all the session channels to subscribe to to update the tree
36            (SessionTreeCtrl.session_changed): Remember the session so that we
37            can unsubscribe properly. Use the new class constant to
38            unsubscribe from the old session and subscribe to the new one.
39            (SessionTreeCtrl.unsubscribe_all): New method to unsubscribe all
40            subscriptions of the SessionTreeCtrl.
41            (SessionTreeView.OnClose): Call the tree's unsubscribe_all method.
42    
43            * Thuban/UI/mainwindow.py (MainWindow.__init__): Add the "Show
44            Session Tree" command to the file menu.
45    
46            * Thuban/UI/view.py (MapCanvas.do_redraw): Pass the entire bitmap
47            as update_region to the renderer.
48    
49            * Thuban/UI/renderer.py
50            (ScreenRenderer.layer_ids, ScreenRenderer.draw_shape_layer): The
51            update box is now directly a tuple, not a wxRect anymore.
52    
53            * Thuban/Model/layer.py (Layer.ShapesInRegion): Remove some debug
54            prints.
55    
56    2002-05-07  Bernhard Herzog  <[email protected]>
57    
58            * setup.py: Add the shptree extension module. See
59            extensions/pyshapelib/ChangeLog for more details.
60    
61            * extensions/shapelib/shpopen.c, extensions/shapelib/shapefil.h,
62            extensions/shapelib/dbfopen.c: Really update to the versions of
63            shapelib 1.2.9. For some reason it wasn't really done on
64            2002-04-11.
65    
66            * extensions/shapelib/shptree.c: Modified version of shptree.c of
67            shapelib 1.2.9. The only real difference is the use of qsort
68            instead of a bubble sort implementation
69    
70            * Thuban/Model/layer.py (Layer.__init__): New instance variable
71            shapetree to hold the shapelib quadtree for the shapefile
72            (Layer.open_shapefile): Create the quad tree.
73            (Layer.ShapesInRegion): New method to return the ids of shapes in
74            a given region using the quad tree.
75    
76            * extensions/thuban/wxproj.cpp (project_points): Fix some typos in
77            comment
78            (draw_polygon_shape): Accept both arcs and polygons.
79            (initwxproj): Use the new PYSHAPELIB_IMPORT_API macro to import
80            the api.
81    
82            * Thuban/UI/renderer.py (MapRenderer.layer_ids): New method to
83            return the shape ids to be rendered in a given layer.
84            (MapRenderer.draw_shape_layer): Call layer_ids to get the list of
85            ids. Use draw_polygon_shape to draw arc shapes as well.
86            (ScreenRenderer.RenderMap): New parameter for the rectangle that
87            has to be updated
88            (ScreenRenderer.layer_ids): Make use of the layer's quadtree by
89            calling it's ShapesInRegion method.
90    
91            * Thuban/UI/view.py (MapCanvas.__init__): New instance variable
92            update_region for the update region.
93            (MapCanvas.OnPaint): Maintain the update region
94            (MapCanvas.do_redraw): Pass the bounding box of the update_region
95            to the renderer when drawing the bitmap. Reset the update_region.
96    
97    2002-05-03  Bernhard Herzog  <[email protected]>
98    
99            * Thuban/UI/mainwindow.py (MainWindow.SaveSessionAs,
100            MainWindow.OpenSession): Change the file extension of the session
101            files to .thuban
102    
103            * Thuban/Model/session.py (Session.AddMap, forwarded_channels):
104            Move the map channels to be forwarded by the session into the
105            class constant with forwarded_channels. Also add
106            LAYER_PROJECTION_CHANGED and LAYER_VISIBILITY_CHANGED to
107            forwarded_channels
108    
109            * Thuban/Model/base.py (Modifiable.changed): Fix doc-string (a
110            typo and some rewording).
111    
112    2002-05-02  Bernhard Herzog  <[email protected]>
113    
114            * Thuban/UI/view.py: Keep the temporary bitmap used during drawing
115            around to speed up most redraws:
116            (MapCanvas.__init__): New instance variable bitmap which holds the
117            bitmap
118            (MapCanvas.do_redraw): Redraw self.bitmap if necessary. Use
119            self.bitmap to draw.
120            (MapCanvas.full_redraw): New method to force a full redraw
121            including the bitmap
122            (MapCanvas.SetMap): Subscribe full_redraw instead of redraw to
123            make sure the bitmap is redrawn.
124            (MapCanvas.projection_changed, MapCanvas.set_view_transform,
125            MapCanvas.shape_selected): Call full_redraw instead of readraw to
126            make sure the bitmap is redrawn.
127            (MapCanvas.OnSize): New method to handle size events so that the
128            bitmap can be redrawn.
129    
130    2002-04-29  Bernhard Herzog  <[email protected]>
131    
132            * Thuban/UI/mainwindow.py (MainWindow.__init__): Subscribe to the
133            canvas' VIEW_POSITION event
134            (MainWindow.view_position_changed): Handler for VIEW_POSITION.
135            Update the text in the status-bar accordingly.
136    
137            * Thuban/UI/view.py (MapCanvas): Derive from Publisher as well
138            (MapCanvas.__del__): Implement because Publisher.__del__ has to be
139            called.
140            (MapCanvas.__init__): Bind EVT_LEAVE_WINDOW too. Initialize
141            current_position
142            (MapCanvas.set_current_position): New method to set
143            current_position. Issue a VIEW_POSITION event
144            (MapCanvas.CurrentPosition): New public method to return the value
145            of current_position. Should be called when the VIEW_POSITION event
146            is processed.
147            (MapCanvas.OnLeftDown, MapCanvas.OnLeftUp, MapCanvas.OnMotion):
148            Update the position.
149            (MapCanvas.OnLeaveWindow): Set the position to None.
150    
151            * Thuban/UI/messages.py (VIEW_POSITION): New message for the
152            position in the statusbar
153    
154    2002-04-26      Frank Koormann <[email protected]>
155    
156            * Thuban/UI/mainwindow.py: AddLayer, Dialog title s/session/data
157    
158    2002-04-24      Frank Koormann <[email protected]>
159            
160            * Resources/Bitmaps/identify.xpm: shadow added
161    
162            * Resources/Bitmaps/fullextent.xpm: new
163            
164  2002-04-22      Jan-Oliver Wagner <[email protected]>  2002-04-22      Jan-Oliver Wagner <[email protected]>
165    
166          * Thuban/UI/tree.py (update_tree): added test for None on map bounding box          * Thuban/UI/tree.py (update_tree): added test for None on map bounding box

Legend:
Removed from v.116  
changed lines
  Added in v.172

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26