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

Legend:
Removed from v.1114  
changed lines
  Added in v.1197

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26