/[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 1069 by bh, Tue May 27 15:02:48 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]>
121    
122            * Thuban/Model/layer.py (Layer.SetShapeStore): Set the
123            classification to "None" if the type of the field has changed.
124    
125            * test/test_layer.py (SetShapeStoreTests): New. Class with a few
126            test for the Layer.SetShapeStore method
127    
128    2003-05-28  Jan-Oliver Wagner <[email protected]>
129    
130            * Thuban/Model/layer.py (Layer.TreeInfo): Fixed a bug (a layer
131            does not necessarily have a filename).
132    
133    2003-05-28  Jan-Oliver Wagner <[email protected]>
134    
135            * Thuban/UI/mainwindow.py (MainWindow.TableClose, MainWindow.TableShow):
136            sort the selection list for the dialog.
137    
138    2003-05-28  Frank Koormann  <[email protected]>
139    
140            * extensions/thuban/wxproj.cpp
141            (project_point): Removed cast to int for projected point coordinates.
142            (shape_centroid): Return last point if all polygon vertices fall
143            to one point.
144    
145    2003-05-28  Bernhard Herzog  <[email protected]>
146    
147            * Thuban/UI/mainwindow.py (_can_unjoin): Add doc-string and cope
148            with layers that don't have shapestores, i.e. raster layers.
149    
150    2003-05-28  Bernhard Herzog  <[email protected]>
151    
152            * Thuban/Model/table.py (DBFTable.__init__): Omit the extension
153            when determining the title from the filename.
154    
155            * test/test_dbf_table.py (TestDBFTable.test_title): Update to
156            reflect changes in the way the title is derived from the filename
157    
158    2003-05-28  Frank Koormann  <[email protected]>
159    
160            * Thuban/UI/mainwindow.py (MainWindow.TableShow):
161            Added wxDEFAULT_DIALOG_STYLE to show table dialog styles.
162    
163    2003-05-27  Bernhard Herzog  <[email protected]>
164    
165            * Thuban/UI/mainwindow.py (MainWindow.delegated_messages): Also
166            delegate SelectedLayer.
167            (MainWindow.LayerUnjoinTable): Implement.
168            (_can_unjoin): New. Helper function for the sensitivity of the
169            layer/unjoin command.
170    
171            * Thuban/Model/data.py (ShapefileStore.OrigShapeStore)
172            (DerivedShapeStore.OrigShapeStore): New. Return the original
173            shapestore. Used to figure out how to unjoin.
174            (DerivedShapeStore.Shapefile): Fix a typo.
175    
176    2003-05-27  Bernhard Herzog  <[email protected]>
177    
178            * Thuban/UI/join.py (JoinDialog): Extend to handle layer joins as
179            well
180            (JoinDialog.__init__): Use the layer parameter and only build the
181            left choice when a layer is given
182            (JoinDialog.OnJoin): Handle layer joins as well
183            (JoinDialog.OnLeftTable, JoinDialog.OnRightTable): Handle the case
184            that the user selects the "Select..." item. The sensitivitly
185            updating is now in update_sensitivity
186            (JoinDialog.y): New method to refactor the sensitivity update of
187            the join button into its own method.
188    
189            * Thuban/UI/mainwindow.py (MainWindow.LayerJoinTable): Implement.
190    
191    2003-05-27  Bernhard Herzog  <[email protected]>
192    
193            * Thuban/UI/mainwindow.py (table_close command): Make it sensitive
194            iff there are unreferenced tables in the session
195    
196  2003-05-27  Bernhard Herzog  <[email protected]>  2003-05-27  Bernhard Herzog  <[email protected]>
197    
198          * Thuban/Model/messages.py (TABLE_REMOVED): New message.          * Thuban/Model/messages.py (TABLE_REMOVED): New message.

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

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26