/[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 803 by jonathan, Wed Apr 30 17:07:01 2003 UTC revision 826 by bh, Tue May 6 08:24:23 2003 UTC
# Line 1  Line 1 
1    2003-05-06  Bernhard Herzog  <[email protected]>
2    
3            * Resources/Projections/defaults.proj: Fix spelling of Mercator
4    
5    2003-05-05  Jonathan Coles   <[email protected]>
6    
7            Addresses the "Full Layer Extent" wish of RTbug #1787.
8    
9            * Resources/Projections/defaults.proj: Added UK National Grid.
10    
11            * Thuban/UI/mainwindow.py: Added new "Full layer extent" menu option.
12            (MainWindow.FullLayerExtent): New. Calls MapCanvas.FitLayerToWindow()
13            when the user selects the menu option.
14    
15            * Thuban/UI/view.py (MapCanvas.FitLayerToWindow): New. Centers and
16            scales the given layer on the canvas using the map projection.
17    
18    2003-05-05  Bernhard Herzog  <[email protected]>
19    
20            Convert the table implementations to a new table interface. All
21            tables use a common mixin class to provide backwards compatibility
22            until all table users have been updated.
23    
24            * Thuban/Model/table.py (OldTableInterfaceMixin): Mixin class to
25            provide backwards compatibility for table classes implementing the
26            new interface
27            (DBFTable, MemoryTable): Implement the new table interface. Use
28            OldTableInterfaceMixin as base for compatibility
29            (DBFColumn, MemoryColumn): New. Column description for DBFTable
30            and MemoryTable resp.
31    
32            * test/test_dbf_table.py: New. Test cases for the DBFTable with
33            the new table interface.
34    
35            * test/test_memory_table.py: New. Test cases for the MemoryTable
36            with the new table interface.
37    
38            * test/test_table.py: Document the all tests in this file as only
39            for backwards compatibility. The equivalent tests for the new
40            interface are in test_memory_table.py and test_dbf_table.py
41            (MemoryTableTest.test_read): field_info should be returning tuples
42            with four items
43            (MemoryTableTest.test_write): Make doc-string a more precise.
44    
45            * Thuban/Model/transientdb.py (TransientTableBase): Convert to new
46            table interface. Derive from from OldTableInterfaceMixin for
47            compatibility.
48            (TransientTableBase.create): New intance variable column_map to
49            map from names and indices to column objects
50            (TransientTable.create): Use the new table interface of the input
51            table
52            (AutoTransientTable): Convert to new table interface. Derive from
53            from OldTableInterfaceMixin for compatibility.
54            (AutoTransientTable.write_record): Removed. It's not implemented
55            yet and we still have to decide how to handle writing with the new
56            table and data framework.
57    
58            * test/test_transientdb.py
59            (TestTransientTable.run_iceland_political_tests)
60            (TestTransientTable.test_transient_joined_table): Use the new
61            table interface
62    
63    2003-05-05  Jonathan Coles   <[email protected]>
64    
65            This is namely a collection of UI updates to improve user interactivity.
66            Tabbing between controls now exists and you can use ESC to close dialog
67            boxes; ENTER will active the default button.
68    
69            * Thuban/UI/classgen.py (ClassGenDialog.__init__): Rearrange the
70            order that the controls are created so that tabbing works correctly.
71            (ClassGenDialog.OnOK): Renamed from _OnGenerate() so that the
72            wxDialog can handle the default button correctly.
73            (ClassGenDialog.OnCancel): Renamed from _OnCloseBtn() for the
74            same reasons as for OnOK.
75            (GenUniformPanel._OnRetrieve): Call wxBeginBusyCursor/wxEndBusyCursor
76            when we ask the table for the maximum/minimum values of a field
77            which could take a very long time.
78    
79            * Thuban/UI/classifier.py (Classifier.__init__): Rearrange the
80            order that the controls are created so that tabbing works correctly.
81            (SelectPropertiesDialog.__init__): Rearrange the order that the
82            controls are created so that tabbing works correctly.
83    
84            * Thuban/UI/dialogs.py: Copied NonModalDialog box and changed it
85            to derive from a wxDialog but behave like the original implementation
86            which was derived from a wxFrame. wxDialog provides useful key
87            handling functionality like ESC calling OnCancel and ENTER calling
88            OnOK which is lost with wxFrame.
89    
90            * Thuban/UI/mainwindow.py: Add "..." to menu items that will open
91            new dialogs.
92    
93            * Thuban/UI/projdialog.py (ProjFrame.__init__): Rearrange the
94            order that the controls are created so that tabbing works correctly.
95            (ProjFrame.OnApply): Renamed from _OnTry() to use wxDialog behaviour.
96            (ProjFrame.OnOK): Renamed from _OnOK() to use wxDialog behaviour.
97            (ProjFrame.OnCancel): Renamed from _OnClose() to use wxDialog behaviour.
98            (ProjPanel.__init__): Add "Airy" to the list of ellipsoids so we
99            can provide the "UK National Grid" as a default projection.
100            (UTMPanel.__init__): Rearrange the order that the controls are
101            created so that tabbing works correctly.
102    
103    2003-05-05  Bernhard Herzog  <[email protected]>
104    
105            * extensions/thuban/wxproj.cpp: Fix some of the comments.
106            (project_point): If a map projection but no layer projection is
107            given, convert degrees to radians before applying the map
108            projection.
109    
110            * Thuban/UI/tableview.py (TableGrid.disallow_messages)
111            (TableGrid.allow_messages): New methods to make it possible to
112            inhibit message sending.
113            (TableGrid.issue): Only send the message if not inhibited.
114            (LayerTableGrid.select_shape): Use the new methods to make sure
115            that no ROW_SELECTED message is sent while we're updating the
116            selected rows to match the selected shapes.
117    
118    2003-05-02  Jan-Oliver Wagner <[email protected]>
119    
120            Implementation of MemoryTable.
121    
122            * Thuban/Model/table.py (MemoryTable): New. Quite simple table
123            implementation that operates on a list of tuples. All of the data
124            are kept in the memory.
125    
126            * test/test_table.py (MemoryTableTest): New.
127    
128            * test/test_transientdb.py (SimpleTable): Removed.
129            (TestTransientTable.test_transient_joined_table,
130            (TestTransientTable.test_transient_table_read_twice): Replaced
131            SimpleTable by MemoryTable.
132    
133  2003-04-30  Jonathan Coles   <[email protected]>  2003-04-30  Jonathan Coles   <[email protected]>
134    
135          * Data/iceland_sample.thuban: Now contains correct projections          * Data/iceland_sample.thuban: Now contains correct projections

Legend:
Removed from v.803  
changed lines
  Added in v.826

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26