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

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26