/[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 1077 by frank, Wed May 28 08:25:34 2003 UTC revision 1112 by bh, Fri May 30 09:55:04 2003 UTC
# Line 1  Line 1 
1    2003-05-30  Bernhard Herzog  <[email protected]>
2    
3            * Thuban/UI/view.py (MapCanvas.set_view_transform): Limit the
4            maximum and minimum scale factors.
5    
6            * test/test_classgen.py (ClassGenTest.test): Update to reflect the
7            changes in classgen.py
8    
9    2003-05-30  Jonathan Coles   <[email protected]>
10    
11            * Thuban/Model/classgen.py: Remove ClassGenerator class but make
12            all the methods functions. Fixes RTBug #1903.
13    
14            * Thuban/Model/map.py (Map.TopLayer, Map.BottomLayer): Renamed
15            to MoveLayerToTop and MoveLayerToBottom respectively. Fixes
16            RTBug #1907.
17    
18            * Thuban/UI/classgen.py: Use classgen functions that were part
19            of the ClassGenerator class. Put try/finally blocks around
20            code that uses wxBeginBusyCursor()/wxEndBusyCursor(). Fixes
21            RTBug #1904.
22    
23            * Thuban/UI/classifier.py: Remove unused import of ClassGenerator.
24    
25            * Thuban/UI/legend.py: The legend was cleared and repopulated any
26            time something changed which caused some state to be lost such
27            as which children were expanded or collapsed. Fixes RTBug #1901.
28            (LegendTree._OnMsgMapLayersAdded): Add only new layers.
29            (LegendTree.__OnMsgMapLayersRemoved): Remove layers that exist in
30            the legend but not in the map.
31            (LegendTree.__FillTree): Move main functionality out into smaller
32            methods that can be used by other methods.
33            (LegendTree.__FillTreeLayer): Reuse old slots in the image list
34            if they are available.
35            (LegendTree.DeleteAllItems): Renamed from __DeleteAllItems so
36            that we override the wxTreeCtrl method. Iterate over children
37            and call __RemoveLayer.
38            (LegendTree.__AddLayer): New. Add a new layer to the legend.
39            (LegendTree.__RemoveLayer): Remove a layer from the legend.
40            (LegendTree.DeleteChildren): New, overrides wxTreeCtrl method.
41            Should only be called with the id of a layer branch.
42            (LegendTree.GetRootItem): New, overrides wxTreeCtrl method.
43            Returns the root item or creates one if necessary.
44    
45            * Thuban/UI/renderer.py (MapRenderer.draw_raster_layer): Call
46            ProjectRasterFile with tuple arguments instead of strings.
47    
48            * Thuban/UI/tableview.py (QueryTableFrame.OnQuery): Wrap code
49            with try/finally. Fixes RTBug #1904.
50    
51            * Thuban/UI/view.py (MapCanvas.OnPaint): Wrap code
52            with try/finally. Fixes RTBug #1904.
53            (MapCanvas.FitSelectedToWindow): If a single point is selected
54            simply center it on the display. Fixes RTBug #1849.
55    
56            * extensions/thuban/gdalwarp.cpp: Removed code that allowed gdalwarp
57            to be compiled as a standalone app. Now the code can only be
58            called from Python which simplifies the parameter passing.
59            (ProjectRasterFile): Handle Python arguments. Remove code that
60            checks for a destination dataset. Add more clean up code.
61    
62            * test/test_map.py (TestMapWithContents.test_raise_layer_top,
63            TestMapWithContents.test_lower_layer_bottom):
64            Test Map.MoveLayerToTop() and Map.MoveLayerToBottom() respectively.
65            Fixes RTBug #1907.
66    
67            * Thuban/UI/mainwindow.py (MainWindow.ToggleLegend): Apply a full
68            extent to the map when the legend is toggled. Fixes RTBug #1881.
69    
70    2003-05-29  Jan-Oliver Wagner <[email protected]>
71    
72            * Thuban/UI/tableview.py (LayerTableFrame.OnClose): Bug-fix: Now
73            unsubscribes all that is subcribed in __init__.
74    
75    2003-05-28  Bernhard Herzog  <[email protected]>
76    
77            * Thuban/UI/mainwindow.py (MainWindow.DuplicateLayer)
78            (MainWindow.CanDuplicateLayer): New methods to implement the
79            Layer/Duplicate command.
80            (layer_duplicate command): New.
81            (main_menu): Add layer_duplicate to the Layer menu.
82    
83    2003-05-28  Bernhard Herzog  <[email protected]>
84    
85            * Thuban/UI/tableview.py (NullRenderer.Draw): New. Our own
86            renderer so that NULL/None values get displayed differently (by a
87            gray rectangle).
88            (TableGrid.__init__): Override the default renderers
89    
90    2003-05-28  Bernhard Herzog  <[email protected]>
91    
92            * Thuban/Model/layer.py (Layer.SetShapeStore): Set the
93            classification to "None" if the type of the field has changed.
94    
95            * test/test_layer.py (SetShapeStoreTests): New. Class with a few
96            test for the Layer.SetShapeStore method
97    
98    2003-05-28  Jan-Oliver Wagner <[email protected]>
99    
100            * Thuban/Model/layer.py (Layer.TreeInfo): Fixed a bug (a layer
101            does not necessarily have a filename).
102    
103    2003-05-28  Jan-Oliver Wagner <[email protected]>
104    
105            * Thuban/UI/mainwindow.py (MainWindow.TableClose, MainWindow.TableShow):
106            sort the selection list for the dialog.
107    
108    2003-05-28  Frank Koormann  <[email protected]>
109    
110            * extensions/thuban/wxproj.cpp
111            (project_point): Removed cast to int for projected point coordinates.
112            (shape_centroid): Return last point if all polygon vertices fall
113            to one point.
114    
115    2003-05-28  Bernhard Herzog  <[email protected]>
116    
117            * Thuban/UI/mainwindow.py (_can_unjoin): Add doc-string and cope
118            with layers that don't have shapestores, i.e. raster layers.
119    
120    2003-05-28  Bernhard Herzog  <[email protected]>
121    
122            * Thuban/Model/table.py (DBFTable.__init__): Omit the extension
123            when determining the title from the filename.
124    
125            * test/test_dbf_table.py (TestDBFTable.test_title): Update to
126            reflect changes in the way the title is derived from the filename
127    
128  2003-05-28  Frank Koormann  <[email protected]>  2003-05-28  Frank Koormann  <[email protected]>
129    
130          * Thuban/UI/mainwindow.py (MainWindow.TableShow):          * Thuban/UI/mainwindow.py (MainWindow.TableShow):

Legend:
Removed from v.1077  
changed lines
  Added in v.1112

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26