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