/[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 1128 by tkoester, Tue Jun 3 17:00:47 2003 UTC
# Line 1  Line 1 
1    2003-06-03  Thomas Koester  <[email protected]>
2    
3            * Thuban/Model/classgen.py (GenQuantiles0): New function.
4    
5    2003-06-02  Bernhard Herzog  <[email protected]>
6    
7            * Thuban/UI/mainwindow.py (layer_rename command, table_rename command):
8            New commands.
9            (main_menu): Add the new commands.
10            (MainWindow.TableRename): New. Implementation of the table_rename
11            command.
12            (MainWindow.RenameLayer): New. Implementation of the layer_rename
13            command.
14    
15            * Thuban/Model/session.py (Session.AddTable): call self.changed to
16            set the modified flag
17    
18            * test/test_session.py (TestSessionSimple.test_add_table): Test
19            whether the modified flag is set properly
20    
21            * Thuban/Model/base.py (TitledObject.SetTitle): Call changed
22            instead of issue so that the modified flags get updated.
23    
24            * test/test_base.py (SomeTitledObject): Derive from Modifiable
25            instead of Publisher to reflect reality better and to accomodate
26            the fact that SetTitle now calls changed instead of issue
27    
28    2003-06-02  Bernhard Herzog  <[email protected]>
29    
30            * Thuban/UI/classgen.py (GenQuantilesPanel.GetList): Resource
31            acquisition has to happen before the try in a try-finally.
32    
33    2003-06-02  Bernhard Herzog  <[email protected]>
34    
35            * Thuban/UI/legend.py (LegendTree._OnMsgMapLayersRemoved): It's
36            possible that a layer is removed that is not currently selected in
37            the legend so don't check for this.
38    
39    2003-05-30  Bernhard Herzog  <[email protected]>
40    
41            * Thuban/Model/layer.py (Layer.Destroy): Set all instance
42            variables to None that have direct or indirect references to
43            shapefiles or dbf files to make sure that they do go away and the
44            files are closed.
45    
46    2003-05-30  Bernhard Herzog  <[email protected]>
47    
48            * Thuban/UI/legend.py (LegendTree.GetRootItem): Reset
49            availImgListIndices when a new image list is created
50            
51    2003-05-30  Bernhard Herzog  <[email protected]>
52    
53            * Thuban/UI/legend.py (LegendTree.__init__): New instance variable
54            changing_selection to indicate whether the LegendTree code itself
55            is currently changing the selection
56            (LegendTree.normalize_selection): New method to normalize the
57            selection by selecting the layer item even if the user clicked on
58            the classification.
59            (LegendTree._OnSelChanged): normalize the selection. This works
60            around a bug in wx which doesn't keep track of the selection
61            properly when subtrees are deleted.
62    
63    2003-05-30  Bernhard Herzog  <[email protected]>
64    
65            * Thuban/UI/view.py (MapCanvas.set_view_transform): Limit the
66            maximum and minimum scale factors.
67    
68            * test/test_classgen.py (ClassGenTest.test): Update to reflect the
69            changes in classgen.py
70    
71    2003-05-30  Jonathan Coles   <[email protected]>
72    
73            * Thuban/Model/classgen.py: Remove ClassGenerator class but make
74            all the methods functions. Fixes RTBug #1903.
75    
76            * Thuban/Model/map.py (Map.TopLayer, Map.BottomLayer): Renamed
77            to MoveLayerToTop and MoveLayerToBottom respectively. Fixes
78            RTBug #1907.
79    
80            * Thuban/UI/classgen.py: Use classgen functions that were part
81            of the ClassGenerator class. Put try/finally blocks around
82            code that uses wxBeginBusyCursor()/wxEndBusyCursor(). Fixes
83            RTBug #1904.
84    
85            * Thuban/UI/classifier.py: Remove unused import of ClassGenerator.
86    
87            * Thuban/UI/legend.py: The legend was cleared and repopulated any
88            time something changed which caused some state to be lost such
89            as which children were expanded or collapsed. Fixes RTBug #1901.
90            (LegendTree._OnMsgMapLayersAdded): Add only new layers.
91            (LegendTree.__OnMsgMapLayersRemoved): Remove layers that exist in
92            the legend but not in the map.
93            (LegendTree.__FillTree): Move main functionality out into smaller
94            methods that can be used by other methods.
95            (LegendTree.__FillTreeLayer): Reuse old slots in the image list
96            if they are available.
97            (LegendTree.DeleteAllItems): Renamed from __DeleteAllItems so
98            that we override the wxTreeCtrl method. Iterate over children
99            and call __RemoveLayer.
100            (LegendTree.__AddLayer): New. Add a new layer to the legend.
101            (LegendTree.__RemoveLayer): Remove a layer from the legend.
102            (LegendTree.DeleteChildren): New, overrides wxTreeCtrl method.
103            Should only be called with the id of a layer branch.
104            (LegendTree.GetRootItem): New, overrides wxTreeCtrl method.
105            Returns the root item or creates one if necessary.
106    
107            * Thuban/UI/renderer.py (MapRenderer.draw_raster_layer): Call
108            ProjectRasterFile with tuple arguments instead of strings.
109    
110            * Thuban/UI/tableview.py (QueryTableFrame.OnQuery): Wrap code
111            with try/finally. Fixes RTBug #1904.
112    
113            * Thuban/UI/view.py (MapCanvas.OnPaint): Wrap code
114            with try/finally. Fixes RTBug #1904.
115            (MapCanvas.FitSelectedToWindow): If a single point is selected
116            simply center it on the display. Fixes RTBug #1849.
117    
118            * extensions/thuban/gdalwarp.cpp: Removed code that allowed gdalwarp
119            to be compiled as a standalone app. Now the code can only be
120            called from Python which simplifies the parameter passing.
121            (ProjectRasterFile): Handle Python arguments. Remove code that
122            checks for a destination dataset. Add more clean up code.
123    
124            * test/test_map.py (TestMapWithContents.test_raise_layer_top,
125            TestMapWithContents.test_lower_layer_bottom):
126            Test Map.MoveLayerToTop() and Map.MoveLayerToBottom() respectively.
127            Fixes RTBug #1907.
128    
129            * Thuban/UI/mainwindow.py (MainWindow.ToggleLegend): Apply a full
130            extent to the map when the legend is toggled. Fixes RTBug #1881.
131    
132    2003-05-29  Jan-Oliver Wagner <[email protected]>
133    
134            * Thuban/UI/tableview.py (LayerTableFrame.OnClose): Bug-fix: Now
135            unsubscribes all that is subcribed in __init__.
136    
137    2003-05-28  Bernhard Herzog  <[email protected]>
138    
139            * Thuban/UI/mainwindow.py (MainWindow.DuplicateLayer)
140            (MainWindow.CanDuplicateLayer): New methods to implement the
141            Layer/Duplicate command.
142            (layer_duplicate command): New.
143            (main_menu): Add layer_duplicate to the Layer menu.
144    
145    2003-05-28  Bernhard Herzog  <[email protected]>
146    
147            * Thuban/UI/tableview.py (NullRenderer.Draw): New. Our own
148            renderer so that NULL/None values get displayed differently (by a
149            gray rectangle).
150            (TableGrid.__init__): Override the default renderers
151    
152    2003-05-28  Bernhard Herzog  <[email protected]>
153    
154            * Thuban/Model/layer.py (Layer.SetShapeStore): Set the
155            classification to "None" if the type of the field has changed.
156    
157            * test/test_layer.py (SetShapeStoreTests): New. Class with a few
158            test for the Layer.SetShapeStore method
159    
160    2003-05-28  Jan-Oliver Wagner <[email protected]>
161    
162            * Thuban/Model/layer.py (Layer.TreeInfo): Fixed a bug (a layer
163            does not necessarily have a filename).
164    
165    2003-05-28  Jan-Oliver Wagner <[email protected]>
166    
167            * Thuban/UI/mainwindow.py (MainWindow.TableClose, MainWindow.TableShow):
168            sort the selection list for the dialog.
169    
170    2003-05-28  Frank Koormann  <[email protected]>
171    
172            * extensions/thuban/wxproj.cpp
173            (project_point): Removed cast to int for projected point coordinates.
174            (shape_centroid): Return last point if all polygon vertices fall
175            to one point.
176    
177    2003-05-28  Bernhard Herzog  <[email protected]>
178    
179            * Thuban/UI/mainwindow.py (_can_unjoin): Add doc-string and cope
180            with layers that don't have shapestores, i.e. raster layers.
181    
182    2003-05-28  Bernhard Herzog  <[email protected]>
183    
184            * Thuban/Model/table.py (DBFTable.__init__): Omit the extension
185            when determining the title from the filename.
186    
187            * test/test_dbf_table.py (TestDBFTable.test_title): Update to
188            reflect changes in the way the title is derived from the filename
189    
190    2003-05-28  Frank Koormann  <[email protected]>
191    
192            * Thuban/UI/mainwindow.py (MainWindow.TableShow):
193            Added wxDEFAULT_DIALOG_STYLE to show table dialog styles.
194    
195    2003-05-27  Bernhard Herzog  <[email protected]>
196    
197            * Thuban/UI/mainwindow.py (MainWindow.delegated_messages): Also
198            delegate SelectedLayer.
199            (MainWindow.LayerUnjoinTable): Implement.
200            (_can_unjoin): New. Helper function for the sensitivity of the
201            layer/unjoin command.
202    
203            * Thuban/Model/data.py (ShapefileStore.OrigShapeStore)
204            (DerivedShapeStore.OrigShapeStore): New. Return the original
205            shapestore. Used to figure out how to unjoin.
206            (DerivedShapeStore.Shapefile): Fix a typo.
207    
208    2003-05-27  Bernhard Herzog  <[email protected]>
209    
210            * Thuban/UI/join.py (JoinDialog): Extend to handle layer joins as
211            well
212            (JoinDialog.__init__): Use the layer parameter and only build the
213            left choice when a layer is given
214            (JoinDialog.OnJoin): Handle layer joins as well
215            (JoinDialog.OnLeftTable, JoinDialog.OnRightTable): Handle the case
216            that the user selects the "Select..." item. The sensitivitly
217            updating is now in update_sensitivity
218            (JoinDialog.y): New method to refactor the sensitivity update of
219            the join button into its own method.
220    
221            * Thuban/UI/mainwindow.py (MainWindow.LayerJoinTable): Implement.
222    
223    2003-05-27  Bernhard Herzog  <[email protected]>
224    
225            * Thuban/UI/mainwindow.py (table_close command): Make it sensitive
226            iff there are unreferenced tables in the session
227    
228  2003-05-27  Bernhard Herzog  <[email protected]>  2003-05-27  Bernhard Herzog  <[email protected]>
229    
230          * 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.1128

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26