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

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26