/[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 809 by bh, Mon May 5 10:33:58 2003 UTC revision 819 by bh, Mon May 5 17:18:51 2003 UTC
# Line 1  Line 1 
1  2003-05-05  Bernhard Herzog  <[email protected]>  2003-05-05  Bernhard Herzog  <[email protected]>
2    
3            Convert the table implementations to a new table interface. All
4            tables use a common mixin class to provide backwards compatibility
5            until all table users have been updated.
6    
7            * Thuban/Model/table.py (OldTableInterfaceMixin): Mixin class to
8            provide backwards compatibility for table classes implementing the
9            new interface
10            (DBFTable, MemoryTable): Implement the new table interface. Use
11            OldTableInterfaceMixin as base for compatibility
12            (DBFColumn, MemoryColumn): New. Column description for DBFTable
13            and MemoryTable resp.
14    
15            * test/test_dbf_table.py: New. Test cases for the DBFTable with
16            the new table interface.
17    
18            * test/test_memory_table.py: New. Test cases for the MemoryTable
19            with the new table interface.
20    
21            * test/test_table.py: Document the all tests in this file as only
22            for backwards compatibility. The equivalent tests for the new
23            interface are in test_memory_table.py and test_dbf_table.py
24            (MemoryTableTest.test_read): field_info should be returning tuples
25            with four items
26            (MemoryTableTest.test_write): Make doc-string a more precise.
27    
28            * Thuban/Model/transientdb.py (TransientTableBase): Convert to new
29            table interface. Derive from from OldTableInterfaceMixin for
30            compatibility.
31            (TransientTableBase.create): New intance variable column_map to
32            map from names and indices to column objects
33            (TransientTable.create): Use the new table interface of the input
34            table
35            (AutoTransientTable): Convert to new table interface. Derive from
36            from OldTableInterfaceMixin for compatibility.
37            (AutoTransientTable.write_record): Removed. It's not implemented
38            yet and we still have to decide how to handle writing with the new
39            table and data framework.
40    
41            * test/test_transientdb.py
42            (TestTransientTable.run_iceland_political_tests)
43            (TestTransientTable.test_transient_joined_table): Use the new
44            table interface
45    
46    2003-05-05  Jonathan Coles   <[email protected]>
47    
48            This is namely a collection of UI updates to improve user interactivity.
49            Tabbing between controls now exists and you can use ESC to close dialog
50            boxes; ENTER will active the default button.
51    
52            * Thuban/UI/classgen.py (ClassGenDialog.__init__): Rearrange the
53            order that the controls are created so that tabbing works correctly.
54            (ClassGenDialog.OnOK): Renamed from _OnGenerate() so that the
55            wxDialog can handle the default button correctly.
56            (ClassGenDialog.OnCancel): Renamed from _OnCloseBtn() for the
57            same reasons as for OnOK.
58            (GenUniformPanel._OnRetrieve): Call wxBeginBusyCursor/wxEndBusyCursor
59            when we ask the table for the maximum/minimum values of a field
60            which could take a very long time.
61    
62            * Thuban/UI/classifier.py (Classifier.__init__): Rearrange the
63            order that the controls are created so that tabbing works correctly.
64            (SelectPropertiesDialog.__init__): Rearrange the order that the
65            controls are created so that tabbing works correctly.
66    
67            * Thuban/UI/dialogs.py: Copied NonModalDialog box and changed it
68            to derive from a wxDialog but behave like the original implementation
69            which was derived from a wxFrame. wxDialog provides useful key
70            handling functionality like ESC calling OnCancel and ENTER calling
71            OnOK which is lost with wxFrame.
72    
73            * Thuban/UI/mainwindow.py: Add "..." to menu items that will open
74            new dialogs.
75    
76            * Thuban/UI/projdialog.py (ProjFrame.__init__): Rearrange the
77            order that the controls are created so that tabbing works correctly.
78            (ProjFrame.OnApply): Renamed from _OnTry() to use wxDialog behaviour.
79            (ProjFrame.OnOK): Renamed from _OnOK() to use wxDialog behaviour.
80            (ProjFrame.OnCancel): Renamed from _OnClose() to use wxDialog behaviour.
81            (ProjPanel.__init__): Add "Airy" to the list of ellipsoids so we
82            can provide the "UK National Grid" as a default projection.
83            (UTMPanel.__init__): Rearrange the order that the controls are
84            created so that tabbing works correctly.
85    
86    2003-05-05  Bernhard Herzog  <[email protected]>
87    
88            * extensions/thuban/wxproj.cpp: Fix some of the comments.
89            (project_point): If a map projection but no layer projection is
90            given, convert degrees to radians before applying the map
91            projection.
92    
93          * Thuban/UI/tableview.py (TableGrid.disallow_messages)          * Thuban/UI/tableview.py (TableGrid.disallow_messages)
94          (TableGrid.allow_messages): New methods to make it possible to          (TableGrid.allow_messages): New methods to make it possible to
95          inhibit message sending.          inhibit message sending.

Legend:
Removed from v.809  
changed lines
  Added in v.819

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26