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

Legend:
Removed from v.126  
changed lines
  Added in v.175

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26