/[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 1097 by jan, Thu May 29 10:03:30 2003 UTC revision 1109 by jonathan, Fri May 30 06:31:48 2003 UTC
# Line 1  Line 1 
1    2003-05-30  Jonathan Coles   <[email protected]>
2    
3            * Thuban/Model/classgen.py: Remove ClassGenerator class but make
4            all the methods functions. Fixes RTBug #1903.
5    
6            * Thuban/Model/map.py (Map.TopLayer, Map.BottomLayer): Renamed
7            to MoveLayerToTop and MoveLayerToBottom respectively. Fixes
8            RTBug #1907.
9    
10            * Thuban/UI/classgen.py: Use classgen functions that were part
11            of the ClassGenerator class. Put try/finally blocks around
12            code that uses wxBeginBusyCursor()/wxEndBusyCursor(). Fixes
13            RTBug #1904.
14    
15            * Thuban/UI/classifier.py: Remove unused import of ClassGenerator.
16    
17            * Thuban/UI/legend.py: The legend was cleared and repopulated any
18            time something changed which caused some state to be lost such
19            as which children were expanded or collapsed. Fixes RTBug #1901.
20            (LegendTree._OnMsgMapLayersAdded): Add only new layers.
21            (LegendTree.__OnMsgMapLayersRemoved): Remove layers that exist in
22            the legend but not in the map.
23            (LegendTree.__FillTree): Move main functionality out into smaller
24            methods that can be used by other methods.
25            (LegendTree.__FillTreeLayer): Reuse old slots in the image list
26            if they are available.
27            (LegendTree.DeleteAllItems): Renamed from __DeleteAllItems so
28            that we override the wxTreeCtrl method. Iterate over children
29            and call __RemoveLayer.
30            (LegendTree.__AddLayer): New. Add a new layer to the legend.
31            (LegendTree.__RemoveLayer): Remove a layer from the legend.
32            (LegendTree.DeleteChildren): New, overrides wxTreeCtrl method.
33            Should only be called with the id of a layer branch.
34            (LegendTree.GetRootItem): New, overrides wxTreeCtrl method.
35            Returns the root item or creates one if necessary.
36    
37            * Thuban/UI/renderer.py (MapRenderer.draw_raster_layer): Call
38            ProjectRasterFile with tuple arguments instead of strings.
39    
40            * Thuban/UI/tableview.py (QueryTableFrame.OnQuery): Wrap code
41            with try/finally. Fixes RTBug #1904.
42    
43            * Thuban/UI/view.py (MapCanvas.OnPaint): Wrap code
44            with try/finally. Fixes RTBug #1904.
45            (MapCanvas.FitSelectedToWindow): If a single point is selected
46            simply center it on the display. Fixes RTBug #1849.
47    
48            * extensions/thuban/gdalwarp.cpp: Removed code that allowed gdalwarp
49            to be compiled as a standalone app. Now the code can only be
50            called from Python which simplifies the parameter passing.
51            (ProjectRasterFile): Handle Python arguments. Remove code that
52            checks for a destination dataset. Add more clean up code.
53    
54            * test/test_map.py (TestMapWithContents.test_raise_layer_top,
55            TestMapWithContents.test_lower_layer_bottom):
56            Test Map.MoveLayerToTop() and Map.MoveLayerToBottom() respectively.
57            Fixes RTBug #1907.
58    
59            * Thuban/UI/mainwindow.py (MainWindow.ToggleLegend): Apply a full
60            extent to the map when the legend is toggled. Fixes RTBug #1881.
61    
62  2003-05-29  Jan-Oliver Wagner <[email protected]>  2003-05-29  Jan-Oliver Wagner <[email protected]>
63    
64          * Thuban/UI/tableview.py (LayerTableFrame.OnClose): Bug-fix: Now          * Thuban/UI/tableview.py (LayerTableFrame.OnClose): Bug-fix: Now

Legend:
Removed from v.1097  
changed lines
  Added in v.1109

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26