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

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26