/[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

trunk/thuban/ChangeLog revision 1112 by bh, Fri May 30 09:55:04 2003 UTC branches/greater-ms3/thuban/ChangeLog revision 1186 by jonathan, Thu Jun 12 16:46:37 2003 UTC
# Line 1  Line 1 
1    2003-06-12  Jonathan Coles   <[email protected]>
2                                                                                    
3            * Thuban/UI/legend.py (ScaleBarBitmap.__SetScale): Don't draw
4            the scalebar if the current map has no projection set.
5                                                                                    
6            * Thuban/UI/projdialog.py (ProjFrame.__DoOnProjAvail): Set the
7            projfilepath label to just the basename of the projection file
8            rather than include the entire path.
9                                                                                    
10    2003-06-11  Frank Koormann  <[email protected]>
11    
12            * Thuban/Lib/fileutil.py (get_application_dir): Minor stability
13            update.
14    
15    2003-06-11  Frank Koormann  <[email protected]>
16    
17            * Thuban/Lib/fileutil.py (get_application_dir): New function to
18            determine the absolute .thuban/thuban directory under
19            "posix" (os.expanduser) and "nt" (read AppData registry key).
20    
21            * Thuban/Model/resource.py: Use get_application_dir
22    
23            * Thuban/UI/application.py (ThubanApplication.read_startup_files):
24            Use get_application_dir.
25    
26    2003-06-10  Bernhard Herzog  <[email protected]>
27    
28            * Thuban/UI/tableview.py (LayerTableFrame.__init__): Subscribe to
29            the messages MAP_LAYERS_REMOVED messages
30            (LayerTableFrame.OnClose): Unsubscribe from it.
31            (LayerTableFrame.map_layers_removed): New. Receiver for
32            MAP_LAYERS_REMOVED. Close the dialog when the layer whose the
33            dialog is showing is removed.
34    
35    2003-06-10  Bernhard Herzog  <[email protected]>
36    
37            * Thuban/Lib/connector.py (Connector.Issue): Iterate over a copy
38            of the receivers list so that unsubscribing in a receiver doesn't
39            modify it while iterating over it.
40    
41            * test/test_connector.py
42            (ConnectorTest.test_disconnect_in_receiver): New. Test whether
43            unsubscribing in a receiver works correctly. See docstring for
44            details
45    
46    2003-06-10  Bernhard Herzog  <[email protected]>
47    
48            * Thuban/Model/messages.py (LAYER_SHAPESTORE_REPLACED): New
49            message.
50    
51            * Thuban/Model/layer.py (Layer.SetShapeStore): Send
52            LAYER_SHAPESTORE_REPLACED when the shapestore changes. A
53            LAYER_CHANGED will still be sent if the classification changes.
54    
55            * Thuban/UI/classifier.py (Classifier.__init__): Add the map as
56            parameter so we can subscribe to some of its messages
57            (Classifier.__init__): Subscribe to the map's MAP_LAYERS_REMOVED
58            and the layer's LAYER_SHAPESTORE_REPLACED
59            (Classifier.unsubscribe_messages): New. Unsubscribe from message
60            subscribed to in __init__
61            (Classifier.map_layers_removed)
62            (Classifier.layer_shapestore_replaced): receivers for the messages
63            subscribed to in __init__. Unsubscribe and close the dialog
64    
65            * Thuban/UI/mainwindow.py (MainWindow.OpenLayerProperties): Pass
66            the map to the Classifier dialog
67    
68            * test/test_layer.py (SetShapeStoreTests): Derive from
69            SubscriberMixin as well so we can test messages
70            (SetShapeStoreTests.setUp): Subscribe to some of the layer's
71            messages
72            (SetShapeStoreTests.tearDown): Clear the messages again
73            (SetShapeStoreTests.test_sanity): Expand the doc-string and check
74            for the modified flag too
75            (SetShapeStoreTests.test_set_shape_store_modified_flag): New test
76            to check whether SetShapeStore sets the modified flag
77            (SetShapeStoreTests.test_set_shape_store_different_field_name)
78            (SetShapeStoreTests.test_set_shape_store_same_field)
79            (SetShapeStoreTests.test_set_shape_store_same_field_different_type):
80            Add tests for the messages. This checks both the new
81            LAYER_SHAPESTORE_REPLACED and the older LAYER_CHANGED
82    
83    2003-06-06  Jan-Oliver Wagner <[email protected]>
84    
85            * Thuban/UI/mainwindow.py: Improved and partly added help texts for
86            the menu items.
87    
88    2003-06-05  Frank Koormann  <[email protected]>
89    
90            * Thuban/UI/identifyview.py (IdentifyView.__init__):
91            Layout reimplemented without panel. Make life easier to fit the list
92            in the dialog.
93    
94    2003-06-05  Frank Koormann  <[email protected]>
95    
96            * Thuban/UI/projdialog.py (ProjFrame.__init__): Fill the projchoice
97            once on initialisation (Former implementation resulted in multiple
98            entries for each projection).
99            (ProjFrame.__FillAvailList): selectProj as second optional parameter,
100            if set, select the projection found under the specified name. This
101            overwrites any other selection estimate.
102            Removed projchoice filling from this method.
103            (ProjFrame._OnSave, ProjFrame._OnAddToList):
104            Updated call of ProjFrame.__FillAvailList
105            (LCCPanel._DoLayout): Moved parameter controls in more common order.
106    
107            * Resources/Projections/defaults.proj: Extended defaults representing
108            various common European projections.
109    
110    2003-06-05  Frank Koormann  <[email protected]>
111    
112            * Thuban/UI/identifyview.py (IdentifyView.__init__):
113            Use ListCtrl instead of GridCtrl
114    
115            * Thuban/Model/resource.py:
116            Guess location of .thuban directory from tempdir parent directory.
117    
118            * Thuban/UI/application.py (ThubanApplication.read_startup_files):
119            Guess location of .thuban directory from tempdir parent directory.
120    
121    2003-06-04  Bernhard Herzog  <[email protected]>
122    
123            Do not cache the values returned by the tree widget's
124            GetFirstChild and GetNextChild methods because it led to lots of
125            segfaults. The new way requires more brute force but is more
126            reliable.
127    
128            * Thuban/UI/legend.py (LegendTree.__init__): Remove instance
129            variable layer2id
130            (LegendTree.find_layer): New method to do with brute force what
131            layer2id tried to accomplish
132            (LegendTree._OnMsgLayerChanged)
133            (LegendTree._OnMsgLayerTitleChanged, LegendTree.__ShowHideLayer):
134            Use find_layer instead of layer2id
135            (LegendTree.__RemoveLayer, LegendTree.__AddLayer): No need to
136            update layer2id anymore
137            (LegendTree._OnMsgMapLayersRemoved)
138            (LegendTree._OnMsgMapLayersAdded): Get by without layer2id.
139    
140    2003-06-03  Thomas Koester  <[email protected]>
141    
142            * Thuban/Model/classgen.py (GenQuantiles0): New function.
143    
144    2003-06-02  Bernhard Herzog  <[email protected]>
145    
146            * Thuban/UI/mainwindow.py (layer_rename command, table_rename command):
147            New commands.
148            (main_menu): Add the new commands.
149            (MainWindow.TableRename): New. Implementation of the table_rename
150            command.
151            (MainWindow.RenameLayer): New. Implementation of the layer_rename
152            command.
153    
154            * Thuban/Model/session.py (Session.AddTable): call self.changed to
155            set the modified flag
156    
157            * test/test_session.py (TestSessionSimple.test_add_table): Test
158            whether the modified flag is set properly
159    
160            * Thuban/Model/base.py (TitledObject.SetTitle): Call changed
161            instead of issue so that the modified flags get updated.
162    
163            * test/test_base.py (SomeTitledObject): Derive from Modifiable
164            instead of Publisher to reflect reality better and to accomodate
165            the fact that SetTitle now calls changed instead of issue
166    
167    2003-06-02  Bernhard Herzog  <[email protected]>
168    
169            * Thuban/UI/classgen.py (GenQuantilesPanel.GetList): Resource
170            acquisition has to happen before the try in a try-finally.
171    
172    2003-06-02  Bernhard Herzog  <[email protected]>
173    
174            * Thuban/UI/legend.py (LegendTree._OnMsgMapLayersRemoved): It's
175            possible that a layer is removed that is not currently selected in
176            the legend so don't check for this.
177    
178    2003-05-30  Bernhard Herzog  <[email protected]>
179    
180            * Thuban/Model/layer.py (Layer.Destroy): Set all instance
181            variables to None that have direct or indirect references to
182            shapefiles or dbf files to make sure that they do go away and the
183            files are closed.
184    
185    2003-05-30  Bernhard Herzog  <[email protected]>
186    
187            * Thuban/UI/legend.py (LegendTree.GetRootItem): Reset
188            availImgListIndices when a new image list is created
189            
190    2003-05-30  Bernhard Herzog  <[email protected]>
191    
192            * Thuban/UI/legend.py (LegendTree.__init__): New instance variable
193            changing_selection to indicate whether the LegendTree code itself
194            is currently changing the selection
195            (LegendTree.normalize_selection): New method to normalize the
196            selection by selecting the layer item even if the user clicked on
197            the classification.
198            (LegendTree._OnSelChanged): normalize the selection. This works
199            around a bug in wx which doesn't keep track of the selection
200            properly when subtrees are deleted.
201    
202  2003-05-30  Bernhard Herzog  <[email protected]>  2003-05-30  Bernhard Herzog  <[email protected]>
203    
204          * Thuban/UI/view.py (MapCanvas.set_view_transform): Limit the          * Thuban/UI/view.py (MapCanvas.set_view_transform): Limit the

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

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26