/[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 129 by bh, Fri May 3 14:46:11 2002 UTC revision 165 by bh, Fri May 10 09:35:06 2002 UTC
# Line 1  Line 1 
1    2002-05-10  Bernhard Herzog  <[email protected]>
2    
3            * setup.py (py_modules): The shptree modules doesn't have a
4            wrapper, so don't include it in the py_modules
5    
6    2002-05-08  Bernhard Herzog  <[email protected]>
7    
8            * extensions/shapelib/shptree.c (compare_ints): Make arguments
9            const void * as in the qsort prototype
10            (SHPTreeFindLikelyShapes): Remove some unused variables.
11    
12            * Thuban/UI/view.py (PanTool.MouseMove): Use the bitmap the view
13            maintains to redraw the window during a drag.
14            (MapCanvas.unprojected_rect_around_point): New method to determine
15            a small region around a point for hit-testing.
16            (MapCanvas.find_shape_at): Only test the shapes in a small region
17            around the point.
18    
19            * setup.py: Increment the version to 0.1.2
20    
21            * Thuban/UI/tree.py (SessionTreeCtrl.unsubscribe_all): Remove a
22            debug print and set session to None after unsubscribing
23    
24    2002-05-07  Bernhard Herzog  <[email protected]>
25    
26            * Data/iceland_sample.session, Data/iceland_sample.thuban: Rename
27            the file to have a .thuban extension.
28    
29            * Thuban/UI/tree.py (session_channels): New class constant with
30            all the session channels to subscribe to to update the tree
31            (SessionTreeCtrl.session_changed): Remember the session so that we
32            can unsubscribe properly. Use the new class constant to
33            unsubscribe from the old session and subscribe to the new one.
34            (SessionTreeCtrl.unsubscribe_all): New method to unsubscribe all
35            subscriptions of the SessionTreeCtrl.
36            (SessionTreeView.OnClose): Call the tree's unsubscribe_all method.
37    
38            * Thuban/UI/mainwindow.py (MainWindow.__init__): Add the "Show
39            Session Tree" command to the file menu.
40    
41            * Thuban/UI/view.py (MapCanvas.do_redraw): Pass the entire bitmap
42            as update_region to the renderer.
43    
44            * Thuban/UI/renderer.py
45            (ScreenRenderer.layer_ids, ScreenRenderer.draw_shape_layer): The
46            update box is now directly a tuple, not a wxRect anymore.
47    
48            * Thuban/Model/layer.py (Layer.ShapesInRegion): Remove some debug
49            prints.
50    
51    2002-05-07  Bernhard Herzog  <[email protected]>
52    
53            * setup.py: Add the shptree extension module. See
54            extensions/pyshapelib/ChangeLog for more details.
55    
56            * extensions/shapelib/shpopen.c, extensions/shapelib/shapefil.h,
57            extensions/shapelib/dbfopen.c: Really update to the versions of
58            shapelib 1.2.9. For some reason it wasn't really done on
59            2002-04-11.
60    
61            * extensions/shapelib/shptree.c: Modified version of shptree.c of
62            shapelib 1.2.9. The only real difference is the use of qsort
63            instead of a bubble sort implementation
64    
65            * Thuban/Model/layer.py (Layer.__init__): New instance variable
66            shapetree to hold the shapelib quadtree for the shapefile
67            (Layer.open_shapefile): Create the quad tree.
68            (Layer.ShapesInRegion): New method to return the ids of shapes in
69            a given region using the quad tree.
70    
71            * extensions/thuban/wxproj.cpp (project_points): Fix some typos in
72            comment
73            (draw_polygon_shape): Accept both arcs and polygons.
74            (initwxproj): Use the new PYSHAPELIB_IMPORT_API macro to import
75            the api.
76    
77            * Thuban/UI/renderer.py (MapRenderer.layer_ids): New method to
78            return the shape ids to be rendered in a given layer.
79            (MapRenderer.draw_shape_layer): Call layer_ids to get the list of
80            ids. Use draw_polygon_shape to draw arc shapes as well.
81            (ScreenRenderer.RenderMap): New parameter for the rectangle that
82            has to be updated
83            (ScreenRenderer.layer_ids): Make use of the layer's quadtree by
84            calling it's ShapesInRegion method.
85    
86            * Thuban/UI/view.py (MapCanvas.__init__): New instance variable
87            update_region for the update region.
88            (MapCanvas.OnPaint): Maintain the update region
89            (MapCanvas.do_redraw): Pass the bounding box of the update_region
90            to the renderer when drawing the bitmap. Reset the update_region.
91    
92  2002-05-03  Bernhard Herzog  <[email protected]>  2002-05-03  Bernhard Herzog  <[email protected]>
93    
94            * Thuban/UI/mainwindow.py (MainWindow.SaveSessionAs,
95            MainWindow.OpenSession): Change the file extension of the session
96            files to .thuban
97    
98          * Thuban/Model/session.py (Session.AddMap, forwarded_channels):          * Thuban/Model/session.py (Session.AddMap, forwarded_channels):
99          Move the map channels to be forwarded by the session into the          Move the map channels to be forwarded by the session into the
100          class constant with forwarded_channels.          class constant with forwarded_channels. Also add
101            LAYER_PROJECTION_CHANGED and LAYER_VISIBILITY_CHANGED to
102            forwarded_channels
103    
104          * Thuban/Model/base.py (Modifiable.changed): Fix doc-string (a          * Thuban/Model/base.py (Modifiable.changed): Fix doc-string (a
105          typo and some rewording).          typo and some rewording).

Legend:
Removed from v.129  
changed lines
  Added in v.165

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26