/[thuban]/branches/WIP-pyshapelib-bramz/ChangeLog
ViewVC logotype

Diff of /branches/WIP-pyshapelib-bramz/ChangeLog

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1139 by frank, Thu Jun 5 16:00:12 2003 UTC revision 1147 by bh, Tue Jun 10 12:00:45 2003 UTC
# Line 1  Line 1 
1    2003-06-10  Bernhard Herzog  <[email protected]>
2    
3            * Thuban/UI/tableview.py (LayerTableFrame.__init__): Subscribe to
4            the messages MAP_LAYERS_REMOVED messages
5            (LayerTableFrame.OnClose): Unsubscribe from it.
6            (LayerTableFrame.map_layers_removed): New. Receiver for
7            MAP_LAYERS_REMOVED. Close the dialog when the layer whose the
8            dialog is showing is removed.
9    
10    2003-06-10  Bernhard Herzog  <[email protected]>
11    
12            * Thuban/Lib/connector.py (Connector.Issue): Iterate over a copy
13            of the receivers list so that unsubscribing in a receiver doesn't
14            modify it while iterating over it.
15    
16            * test/test_connector.py
17            (ConnectorTest.test_disconnect_in_receiver): New. Test whether
18            unsubscribing in a receiver works correctly. See docstring for
19            details
20    
21    2003-06-10  Bernhard Herzog  <[email protected]>
22    
23            * Thuban/Model/messages.py (LAYER_SHAPESTORE_REPLACED): New
24            message.
25    
26            * Thuban/Model/layer.py (Layer.SetShapeStore): Send
27            LAYER_SHAPESTORE_REPLACED when the shapestore changes. A
28            LAYER_CHANGED will still be sent if the classification changes.
29    
30            * Thuban/UI/classifier.py (Classifier.__init__): Add the map as
31            parameter so we can subscribe to some of its messages
32            (Classifier.__init__): Subscribe to the map's MAP_LAYERS_REMOVED
33            and the layer's LAYER_SHAPESTORE_REPLACED
34            (Classifier.unsubscribe_messages): New. Unsubscribe from message
35            subscribed to in __init__
36            (Classifier.map_layers_removed)
37            (Classifier.layer_shapestore_replaced): receivers for the messages
38            subscribed to in __init__. Unsubscribe and close the dialog
39    
40            * Thuban/UI/mainwindow.py (MainWindow.OpenLayerProperties): Pass
41            the map to the Classifier dialog
42    
43            * test/test_layer.py (SetShapeStoreTests): Derive from
44            SubscriberMixin as well so we can test messages
45            (SetShapeStoreTests.setUp): Subscribe to some of the layer's
46            messages
47            (SetShapeStoreTests.tearDown): Clear the messages again
48            (SetShapeStoreTests.test_sanity): Expand the doc-string and check
49            for the modified flag too
50            (SetShapeStoreTests.test_set_shape_store_modified_flag): New test
51            to check whether SetShapeStore sets the modified flag
52            (SetShapeStoreTests.test_set_shape_store_different_field_name)
53            (SetShapeStoreTests.test_set_shape_store_same_field)
54            (SetShapeStoreTests.test_set_shape_store_same_field_different_type):
55            Add tests for the messages. This checks both the new
56            LAYER_SHAPESTORE_REPLACED and the older LAYER_CHANGED
57    
58    2003-06-06  Jan-Oliver Wagner <[email protected]>
59    
60            * Thuban/UI/mainwindow.py: Improved and partly added help texts for
61            the menu items.
62    
63  2003-06-05  Frank Koormann  <[email protected]>  2003-06-05  Frank Koormann  <[email protected]>
64    
65          * Thuban/UI/identifyview.py (IdentifyView.__init__):          * Thuban/UI/identifyview.py (IdentifyView.__init__):

Legend:
Removed from v.1139  
changed lines
  Added in v.1147

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26