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]> |
2003-05-05 Jonathan Coles <[email protected]> |
64 |
|
|
65 |
This is namely a collection of UI updates to improve user interactivity. |
This is namely a collection of UI updates to improve user interactivity. |