/[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 1191 by jonathan, Thu Jun 12 17:01:45 2003 UTC revision 1212 by jonathan, Mon Jun 16 12:28:25 2003 UTC
# Line 1  Line 1 
1    2003-06-16  Jonathan Coles   <[email protected]>
2    
3            Fix a problem under Windows whereby if the user double-clicks on a
4            layer in the legend that tree item will expand or collapse as well
5            as open the layer properties dialog. The state of the tree item
6            should not be affected.
7    
8            * Thuban/UI/legend.py (LegendTree.__init__): Add instance variable
9            preventExpandCollapse and subscribe to expanding and collapsing
10            events.
11            (LegendTree.OnItemExpandCollapse): New. Responds to expanding and
12            collapsing events and will veto the event if it has been triggered
13            by the user double clicking on a layer.
14            (LegendTree._OnItemActivated): Set preventExpandCollapse to indicate
15            that an expanding/collapsing event should be vetoed.
16    
17    2003-06-13  Bernhard Herzog  <[email protected]>
18    
19            * Thuban/UI/classifier.py (Classifier.OnClose)
20            (Classifier.map_layers_removed)
21            (Classifier.layer_shapestore_replaced): Unsubscribe the messages
22            in OnClose and not in map_layers_removed or
23            layer_shapestore_replaced to make sure it always happens when the
24            dialog is closed
25    
26    2003-06-13  Jonathan Coles   <[email protected]>
27    
28            This puts back a fix for Windows where a panel is needed so that
29            the background of the table view appears correctly.
30    
31            * Thuban/UI/tableview.py (TableFrame.__init__): Add a panel
32            object that can be used by derived classes to place any
33            controls (including the grid) onto.
34            (QueryTableFrame.__init__): Use the panel as the parent window
35            for all the controls. Reparent the grid so that the panel is
36            the parent. Call UpdateStatusText() to correctly initialize
37            the status bar.
38    
39    2003-06-13  Jonathan Coles   <[email protected]>
40    
41            * Thuban/UI/dialogs.py (ThubanFrame): New: a class that inherits
42            from wxFrame (as opposed to wxDialog like the other classes)
43            but otherwise behaves like the other classes. This is needed
44            for the TableView which isn't really a dialog and needs to
45            have a status bar and control buttons.
46    
47            * Thuban/UI/tableview.py (TableGrid.__init__): Create an
48            instance variable to keep track of how many rows are selected.
49            Subscribe once to the the events we are interested in.
50            (ThubanGrid.OnRangeSelect): Only handle event if event handling
51            hasn't been turned off.
52            (ThubanGrid.OnSelectCell): Only handle event if event handling
53            hasn't been turned off.
54            (ThubanGrid.ToggleEventListeners): Rather than subscribe None
55            as an event listener (which changes the event handler stack)
56            simply set an instance variable to False. This is checked in
57            the event handlers.
58            (ThubanGrid.GetNumberSelected): Return the number of currently
59            selected rows.
60            (TableFrame): Inherit from ThubanFrame so we can have a
61            status bar and control buttons.
62            (QueryTableFrame.__init__): Create a status bar. Fixes RTbug #1942.
63            Explicitly set which items are selected in the operator choice and
64            action choice so there is always a valid selection. Fixes RTbug #1941.
65            Subscribe to grid cell selection events so we can update the
66            status bar.
67            (QueryTableFrame.UpdateStatusText): Update the status bar with
68            how many rows are in the grid, how many columns, and how many
69            rows are selected.
70            (QueryTableFrame.OnGridSelectRange, QueryTableFrame.OnGridSelectCell):
71            Call UpdateStatusText when cells are (de)selected.
72            (QueryTableFrame.OnQuery): Use the string value in the value
73            combo if either the selected item index is 0 or if the string
74            cannot be found in the predefined list (this happens if the
75            user changes the text). Fixes RTbug #1940.
76            Only turn off the grid event listeners if there a query comes
77            back with a none empty list of ids. in the case that the list
78            is empty this causes a grid.ClearSelection() call to actually
79            clear the grid selection which causes the selected items in
80            the map to be deselected. Fixes RTbug #1939.
81    
82            * test/test_save.py (XMLWriterTest.Encode): Check return values.
83            Fixes RTbug #1851.
84    
85    2003-06-13  Bernhard Herzog  <[email protected]>
86    
87            * Thuban/UI/identifyview.py (IdentifyView.__init__): Call
88            self.selected_shape with the current selection to make sure the
89            contents of the dialog are up to date when it's shown for the
90            first time.
91            The dialog used to work without this by luck. The recent fix to
92            the connector module 'broke' a 'feature' the identify view was
93            relying on, i.e that subscribing to a message in response to
94            receiving a message of that type would mean that the new
95            subscriber would also be called for the same message.
96            
97    2003-06-12  Jonathan Coles   <[email protected]>
98    
99            * extensions/thuban/gdalwarp.cpp: Removed debug printing as
100            the image is rendered. Fixes RTbug #1937.
101    
102  2003-06-12  Jonathan Coles   <[email protected]>  2003-06-12  Jonathan Coles   <[email protected]>
103    
104          * Thuban/Lib/fileutil.py: As is done under Windows, create the          * Thuban/Lib/fileutil.py: As is done under Windows, create the
105          user directory if it doesn't exist on a posix system.          user directory if it doesn't exist on a posix system.
106            Fixes RTbug #1815.
107    
108          * Thuban/Model/resource.py (get_user_proj_files): Moved the          * Thuban/Model/resource.py (get_user_proj_files): Moved the
109          called to get_application_dir here, so that the directory          called to get_application_dir here, so that the directory

Legend:
Removed from v.1191  
changed lines
  Added in v.1212

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26