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

Legend:
Removed from v.118  
changed lines
  Added in v.163

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26