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

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26