/[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 1089 by bh, Wed May 28 12:42:33 2003 UTC revision 1120 by bh, Mon Jun 2 10:38:24 2003 UTC
# Line 1  Line 1 
1    2003-06-02  Bernhard Herzog  <[email protected]>
2    
3            * Thuban/UI/legend.py (LegendTree._OnMsgMapLayersRemoved): It's
4            possible that a layer is removed that is not currently selected in
5            the legend so don't check for this.
6    
7    2003-05-30  Bernhard Herzog  <[email protected]>
8    
9            * Thuban/Model/layer.py (Layer.Destroy): Set all instance
10            variables to None that have direct or indirect references to
11            shapefiles or dbf files to make sure that they do go away and the
12            files are closed.
13    
14    2003-05-30  Bernhard Herzog  <[email protected]>
15    
16            * Thuban/UI/legend.py (LegendTree.GetRootItem): Reset
17            availImgListIndices when a new image list is created
18            
19    2003-05-30  Bernhard Herzog  <[email protected]>
20    
21            * Thuban/UI/legend.py (LegendTree.__init__): New instance variable
22            changing_selection to indicate whether the LegendTree code itself
23            is currently changing the selection
24            (LegendTree.normalize_selection): New method to normalize the
25            selection by selecting the layer item even if the user clicked on
26            the classification.
27            (LegendTree._OnSelChanged): normalize the selection. This works
28            around a bug in wx which doesn't keep track of the selection
29            properly when subtrees are deleted.
30    
31    2003-05-30  Bernhard Herzog  <[email protected]>
32    
33            * Thuban/UI/view.py (MapCanvas.set_view_transform): Limit the
34            maximum and minimum scale factors.
35    
36            * test/test_classgen.py (ClassGenTest.test): Update to reflect the
37            changes in classgen.py
38    
39    2003-05-30  Jonathan Coles   <[email protected]>
40    
41            * Thuban/Model/classgen.py: Remove ClassGenerator class but make
42            all the methods functions. Fixes RTBug #1903.
43    
44            * Thuban/Model/map.py (Map.TopLayer, Map.BottomLayer): Renamed
45            to MoveLayerToTop and MoveLayerToBottom respectively. Fixes
46            RTBug #1907.
47    
48            * Thuban/UI/classgen.py: Use classgen functions that were part
49            of the ClassGenerator class. Put try/finally blocks around
50            code that uses wxBeginBusyCursor()/wxEndBusyCursor(). Fixes
51            RTBug #1904.
52    
53            * Thuban/UI/classifier.py: Remove unused import of ClassGenerator.
54    
55            * Thuban/UI/legend.py: The legend was cleared and repopulated any
56            time something changed which caused some state to be lost such
57            as which children were expanded or collapsed. Fixes RTBug #1901.
58            (LegendTree._OnMsgMapLayersAdded): Add only new layers.
59            (LegendTree.__OnMsgMapLayersRemoved): Remove layers that exist in
60            the legend but not in the map.
61            (LegendTree.__FillTree): Move main functionality out into smaller
62            methods that can be used by other methods.
63            (LegendTree.__FillTreeLayer): Reuse old slots in the image list
64            if they are available.
65            (LegendTree.DeleteAllItems): Renamed from __DeleteAllItems so
66            that we override the wxTreeCtrl method. Iterate over children
67            and call __RemoveLayer.
68            (LegendTree.__AddLayer): New. Add a new layer to the legend.
69            (LegendTree.__RemoveLayer): Remove a layer from the legend.
70            (LegendTree.DeleteChildren): New, overrides wxTreeCtrl method.
71            Should only be called with the id of a layer branch.
72            (LegendTree.GetRootItem): New, overrides wxTreeCtrl method.
73            Returns the root item or creates one if necessary.
74    
75            * Thuban/UI/renderer.py (MapRenderer.draw_raster_layer): Call
76            ProjectRasterFile with tuple arguments instead of strings.
77    
78            * Thuban/UI/tableview.py (QueryTableFrame.OnQuery): Wrap code
79            with try/finally. Fixes RTBug #1904.
80    
81            * Thuban/UI/view.py (MapCanvas.OnPaint): Wrap code
82            with try/finally. Fixes RTBug #1904.
83            (MapCanvas.FitSelectedToWindow): If a single point is selected
84            simply center it on the display. Fixes RTBug #1849.
85    
86            * extensions/thuban/gdalwarp.cpp: Removed code that allowed gdalwarp
87            to be compiled as a standalone app. Now the code can only be
88            called from Python which simplifies the parameter passing.
89            (ProjectRasterFile): Handle Python arguments. Remove code that
90            checks for a destination dataset. Add more clean up code.
91    
92            * test/test_map.py (TestMapWithContents.test_raise_layer_top,
93            TestMapWithContents.test_lower_layer_bottom):
94            Test Map.MoveLayerToTop() and Map.MoveLayerToBottom() respectively.
95            Fixes RTBug #1907.
96    
97            * Thuban/UI/mainwindow.py (MainWindow.ToggleLegend): Apply a full
98            extent to the map when the legend is toggled. Fixes RTBug #1881.
99    
100    2003-05-29  Jan-Oliver Wagner <[email protected]>
101    
102            * Thuban/UI/tableview.py (LayerTableFrame.OnClose): Bug-fix: Now
103            unsubscribes all that is subcribed in __init__.
104    
105    2003-05-28  Bernhard Herzog  <[email protected]>
106    
107            * Thuban/UI/mainwindow.py (MainWindow.DuplicateLayer)
108            (MainWindow.CanDuplicateLayer): New methods to implement the
109            Layer/Duplicate command.
110            (layer_duplicate command): New.
111            (main_menu): Add layer_duplicate to the Layer menu.
112    
113    2003-05-28  Bernhard Herzog  <[email protected]>
114    
115            * Thuban/UI/tableview.py (NullRenderer.Draw): New. Our own
116            renderer so that NULL/None values get displayed differently (by a
117            gray rectangle).
118            (TableGrid.__init__): Override the default renderers
119    
120  2003-05-28  Bernhard Herzog  <[email protected]>  2003-05-28  Bernhard Herzog  <[email protected]>
121    
122          * Thuban/Model/layer.py (Layer.SetShapeStore): Set the          * Thuban/Model/layer.py (Layer.SetShapeStore): Set the

Legend:
Removed from v.1089  
changed lines
  Added in v.1120

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26