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

revision 1197 by bh, Fri Jun 13 13:13:14 2003 UTC revision 1472 by frank, Thu Jul 24 07:48:16 2003 UTC
# Line 1  Line 1 
1    2003-07-24  Frank Koormann <[email protected]>
2    
3            * Thuban/UI/join.py: Set CHOICE_WIDTH to 300.
4    
5    2003-07-16  Bernhard Herzog  <[email protected]>
6    
7            * Thuban/UI/messages.py (MAP_REPLACED): New message.
8    
9            * Thuban/UI/view.py (MapCanvas.SetMap): Issue MAP_REPLACED after
10            the new map has been assigned
11    
12            * Thuban/UI/mainwindow.py (MainWindow.delegated_messages):
13            Delegate MAP_REPLACED to the canvas too
14    
15            * Thuban/UI/classifier.py (Classifier.__init__): Subscribe to
16            MAP_REPLACED so that we can close the dialog if a new map is set.
17            (Classifier.unsubscribe_messages): Unsubscribe from MAP_REPLACED
18            (Classifier.map_replaced): Handle MAP_REPLACED by closing the
19            dialog
20    
21    2003-07-14  Frank Koormann   <[email protected]>
22    
23            Backport from HEAD
24    
25            * Thuban/Model/load.py (SessionLoader.start_map): Encode map
26            title to latin1.  Fixes https://intevation.de/rt/webrt?serial_num=2013
27    
28            * test/test_load.py (TestUnicodeStrings): New, test load of
29            unicode strings from session file: session title, map title,
30            layer title and projection name.
31            
32    
33    2003-07-08  Bernhard Herzog  <[email protected]>
34    
35            Backport from HEAD
36    
37            * Thuban/Model/transientdb.py (TransientTableBase.Width): The type
38            constants in the column objects are the standard ones defined in
39            the table module.
40    
41            * test/test_transientdb.py
42            (TestTransientTable.test_transienttable_to_dbf): New. Test whether
43            exporting transient tables as DBF works. This should catch the bug
44            just fixed in TransientTableBase.Width.
45    
46    2003-07-04  Bernhard Herzog  <[email protected]>
47    
48            Backport from HEAD
49    
50            * Thuban/Model/table.py (_find_dbf_column_names): New. Helper
51            function for table_to_dbf
52            (table_to_dbf): Deal with names longer than the 10 character limit
53    
54            * test/test_dbf_table.py (TestTableToDBF.test_table_to_dbf): Add
55            doc-string
56            (TestTableToDBF.test_table_to_dbf_long_col_names): New test for
57            long column names
58    
59    2003-07-03  Bernhard Herzog  <[email protected]>
60    
61            Backport from HEAD
62    
63            * Thuban/Model/transientdb.py (TransientJoinedTable.__init__):
64            Update doc-string
65            (TransientJoinedTable.create): Do not modify the column objects of
66            the input tables in place and copy all columns of the input tables
67            into the joined table after all.
68    
69            * test/test_transientdb.py
70            (TestTransientTable.test_transient_joined_table_same_column_name):
71            Update to reflect the new behavior
72            (TestTransientTable.test_transient_joined_table_with_equal_column_names):
73            Update to reflect the new behavior
74            (TestTransientTable.test_transient_joined_table_name_collisions_dont_modify_in_place):
75            New test case for a bug which modified the column objects in place
76    
77    2003-07-01  Frank Koormann   <[email protected]>
78    
79            Partly backport from HEAD
80    
81            * test/test_transientdb.py
82            (TestTransientTable.test_transient_joined_table_same_column_name):
83            New. Test whether joining on columns with the same names in both
84            tables works.
85            (TestTransientTable.test_transient_joined_table_with_equal_column_names):
86            New. Test join of two tables with partly equal column names.
87    
88            * Thuban/Model/transientdb.py (TransientJoinedTable.create): Make
89            sure to use the right internal names even when joining on field
90            with the same names in both tables. Also, detect duplicate names
91            in the joined table correctly.
92            If duplicates are found, append '_' (underscores) to the name
93            until it is unique.
94            Create always new internal names for the resulting table and reference
95            columns in the join statement with <table>.<column>
96    
97    2003-07-01  Frank Koormann   <[email protected]>
98    
99            Backport from HEAD
100    
101            * Thuban/UI/renderer.py (ExportRenderer.render_legend):
102            Reverse List of layers to render in same order as in desktop legend.
103    
104    2003-06-25  Jonathan Coles   <[email protected]>
105    
106            * Thuban/UI/classifier.py (Classifier.EditSymbol): The parent
107            of the SelectPropertiesDialog should be self so the window
108            appears on top.
109            (ClassGroupPropertiesCtrl.DoEdit): The parent
110            of the SelectPropertiesDialog should be self so the window
111            appears on top.
112    
113    2003-06-18  Frank Koormann  <[email protected]>
114    
115            * Thuban/UI/scalebar.py (ScaleBar.DrawScaleBar): Apply conversion to
116            scale if projection is latlong to get better estimate.
117    
118    2003-06-17  Jonathan Coles   <[email protected]>
119                                                                                    
120            Backport from HEAD.
121    
122            The view should respond to layer projection
123            changed events to update the display. Changes to a projection
124            should not cause the map to be set to full extent.
125    
126            * Thuban/UI/view.py (MapCanvas.__init__): New instance variable
127            current_map_proj to remember the current map projection so that
128            when the projection changes we know what the previous projection
129            was.
130            (MapCanvas.SetMap): Unsubscribe and subscribe to
131            LAYER_PROJECTION_CHANGED events.
132            (MapCanvas.projection_changed): Split into two methods that respond
133            to map and layer projection changes.
134            (MapCanvas.map_projection_changed): New. Takes the current view and
135            projects it using the new projection. This does not cause the
136            map to be redrawn at full extent.
137            (MapCanvas.layer_projection_changed): New. Cause a redraw which
138            will draw each layer in its new projection.
139    
140    2003-06-16  Frank Koormann  <[email protected]>
141    
142            Fix problem of hidden properties dialog under windows after double
143            click on layer tree:
144            The tree control always gets an Expanded / Collapsed event after
145            the ItemActivated  on double click, which raises the main window again.         We add a second ItemActivated event to the queue, which simply
146            raises the already displayed window.
147    
148            * Thuban/UI/legend.py (LegendTree.__init__): Instance variable
149            raiseProperties initialized to prevent endless loops
150            (LegendTree._OnItemActivated): Depending on self.raiseProperties
151            simply raise the properties or open the dialog and issue a second
152            event.
153    
154    2003-06-16  Frank Koormann  <[email protected]>
155    
156            * Thuban/UI/view.py (MapCanvas.set_view_transform): Set max_scale to
157            2147483648.0 / max_len (which is sufficient for GREAT-ER).
158            For HEAD in the future a more flexible concept has to be developed
159            determining the rendering of "large" objects.
160    
161    2003-06-16  Jonathan Coles   <[email protected]>
162    
163            Backport from HEAD.
164    
165        Fix a problem under Windows whereby if the user double-clicks on a
166        layer in the legend that tree item will expand or collapse as well
167        as open the layer properties dialog. The state of the tree item
168        should not be affected.
169    
170        * Thuban/UI/legend.py (LegendTree.__init__): Add instance variable
171        preventExpandCollapse and subscribe to expanding and collapsing
172        events.
173        (LegendTree.OnItemExpandCollapse): New. Responds to expanding and
174        collapsing events and will veto the event if it has been triggered
175        by the user double clicking on a layer.
176        (LegendTree._OnItemActivated): Set preventExpandCollapse to indicate
177        that an expanding/collapsing event should be vetoed.
178            
179    2003-06-13  Bernhard Herzog  <[email protected]>
180    
181            Backport from HEAD.
182    
183            * Thuban/UI/classifier.py (Classifier.map_layers_removed)
184            (Classifier.layer_shapestore_replaced, Classifier.OnClose):
185            Unsubscribe the messages in OnClose and not in map_layers_removed
186            or layer_shapestore_replaced to make sure it always happens when
187            the dialog is closed.
188    
189    2003-06-13  Jonathan Coles   <[email protected]>
190    
191            [NOTE: This is a back-port from the current CVS head]
192    
193            This puts back a fix for Windows where a panel is needed so that
194            the background of the table view appears correctly.
195    
196            * Thuban/UI/tableview.py (TableFrame.__init__): Add a panel
197            object that can be used by derived classes to place any
198            controls (including the grid) onto.
199            (QueryTableFrame.__init__): Use the panel as the parent window
200            for all the controls. Reparent the grid so that the panel is
201            the parent. Call UpdateStatusText() to correctly initialize
202            the status bar.
203    
204            * Thuban/UI/dialogs.py (ThubanFrame): New: a class that inherits
205            from wxFrame (as opposed to wxDialog like the other classes)
206            but otherwise behaves like the other classes. This is needed
207            for the TableView which isn't really a dialog and needs to
208            have a status bar and control buttons.
209    
210            [NOTE: This is a back-port from the current CVS head]
211    
212            * Thuban/UI/tableview.py (TableGrid.__init__): Create an
213            instance variable to keep track of how many rows are selected.
214            Subscribe once to the the events we are interested in.
215            (ThubanGrid.OnRangeSelect): Only handle event if event handling
216            hasn't been turned off.
217            (ThubanGrid.OnSelectCell): Only handle event if event handling
218            hasn't been turned off.
219            (ThubanGrid.ToggleEventListeners): Rather than subscribe None
220            as an event listener (which changes the event handler stack)
221            simply set an instance variable to False. This is checked in
222            the event handlers.
223            (ThubanGrid.GetNumberSelected): Return the number of currently
224            selected rows.
225            (TableFrame): Inherit from ThubanFrame so we can have a
226            status bar and control buttons.
227            (QueryTableFrame.__init__): Create a status bar. Fixes RTbug #1942.
228            Explicitly set which items are selected in the operator choice and
229            action choice so there is always a valid selection. Fixes RTbug #1941.
230            Subscribe to grid cell selection events so we can update the
231            status bar.
232            (QueryTableFrame.UpdateStatusText): Update the status bar with
233            how many rows are in the grid, how many columns, and how many
234            rows are selected.
235            (QueryTableFrame.OnGridSelectRange, QueryTableFrame.OnGridSelectCell):
236            Call UpdateStatusText when cells are (de)selected.
237            (QueryTableFrame.OnQuery): Use the string value in the value
238            combo if either the selected item index is 0 or if the string
239            cannot be found in the predefined list (this happens if the
240            user changes the text). Fixes RTbug #1940.
241            Only turn off the grid event listeners if there a query comes
242            back with a none empty list of ids. in the case that the list
243            is empty this causes a grid.ClearSelection() call to actually
244            clear the grid selection which causes the selected items in
245            the map to be deselected. Fixes RTbug #1939.
246    
247  2003-06-13  Bernhard Herzog  <[email protected]>  2003-06-13  Bernhard Herzog  <[email protected]>
248    
249          * Thuban/UI/identifyview.py (IdentifyView.__init__): Call          * Thuban/UI/identifyview.py (IdentifyView.__init__): Call

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

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26