1 |
|
2003-05-23 Jan-Oliver Wagner <[email protected]> |
2 |
|
|
3 |
|
Introducing QueryTableFrame and a very coarse ShowTable implementation. |
4 |
|
|
5 |
|
* Thuban/UI/tableview.py (LayerTableFrame, QueryTableFrame): Split the |
6 |
|
class LayerTableFrame into two classes, LayerTableFrame and QueryTableFrame. |
7 |
|
The latter implements the selection GUI without dependency on a layer. |
8 |
|
LayerTableFrame now is derived from QueryTableFrame and connects |
9 |
|
to a layer. |
10 |
|
|
11 |
|
* Thuban/UI/mainwindow.py (MainWindow.TableShow): A very coarse |
12 |
|
implementation that still needs work. |
13 |
|
|
14 |
|
* Thuban/Model/layer.py (Layer.TreeInfo): Added filename. |
15 |
|
|
16 |
|
2003-05-22 Frank Koormann <[email protected]> |
17 |
|
|
18 |
|
* Thuban/Model/transientdb.py (TransientJoinedTable.__init__): |
19 |
|
Added "outer_join = False" as optional parameter. |
20 |
|
(TransientJoinedTable.create): If outer join is true, perform a |
21 |
|
"LEFT OUTER JOIN" instead of "JOIN", which preserves all records of |
22 |
|
the left table. Records not matching are filled with 0 / None. |
23 |
|
|
24 |
|
* Thuban/UI/join.py (JoinDialog.__init__): Checkbox for outer join. |
25 |
|
(JoinDialog.OnJoin): Consider outer join check box. |
26 |
|
|
27 |
|
2003-05-22 Bernhard Herzog <[email protected]> |
28 |
|
|
29 |
|
* Thuban/UI/join.py (JoinDialog.OnJoin): Use exc_info in a |
30 |
|
somewhat safer way. Storing the traceback in a local variable can |
31 |
|
lead to memory leaks |
32 |
|
|
33 |
|
2003-05-22 Bernhard Herzog <[email protected]> |
34 |
|
|
35 |
|
* Thuban/UI/join.py (JoinDialog.OnJoin): Make sure to really call |
36 |
|
the wxMessageDialog's Destroy() method. |
37 |
|
|
38 |
|
2003-05-22 Frank Koormann <[email protected]> |
39 |
|
|
40 |
|
* Thuban/UI/join.py (JoinDialog.__init__): Make use of |
41 |
|
TransientTable.Title() |
42 |
|
|
43 |
|
2003-05-22 Frank Koormann <[email protected]> |
44 |
|
|
45 |
|
Join Dialog, initial version. |
46 |
|
|
47 |
|
* Thuban/UI/mainwindow.py (MainWindow.TableJoin): Removed print. |
48 |
|
|
49 |
|
* Thuban/UI/join.py (JoinDialog): Functional implementation of |
50 |
|
former framework. Renamed Table1/Table2 to LeftTable/RightTable |
51 |
|
in all occurences. |
52 |
|
|
53 |
|
* Thuban/Model/transientdb.py (TransientJoinedTable.__doc__): |
54 |
|
Typo fixed. |
55 |
|
|
56 |
|
2003-05-22 Bernhard Herzog <[email protected]> |
57 |
|
|
58 |
|
Give the tables titles so that the GUI can display more meaningful |
59 |
|
names. For now the titles are fixed but depend on e.g. filenames |
60 |
|
or the titles of the joined tables. |
61 |
|
|
62 |
|
* Thuban/Model/transientdb.py (TransientTable.Title) |
63 |
|
(TransientJoinedTable.Title, AutoTransientTable.Title): New. |
64 |
|
|
65 |
|
* Thuban/Model/table.py (DBFTable.Title, MemoryTable.Title): New. |
66 |
|
|
67 |
|
* test/test_transientdb.py |
68 |
|
(TestTransientTable.test_auto_transient_table_title): New. Test |
69 |
|
for the Title method |
70 |
|
(TestTransientTable.test_transient_joined_table) |
71 |
|
(TestTransientTable.test_transient_table): Add test for the Title |
72 |
|
methods |
73 |
|
|
74 |
|
* test/test_memory_table.py (TestMemoryTable.test_title): New. |
75 |
|
Test for the Title method |
76 |
|
|
77 |
|
* test/test_dbf_table.py (TestDBFTable.test_title): New. Test for |
78 |
|
the Title method |
79 |
|
|
80 |
2003-05-22 Bernhard Herzog <[email protected]> |
2003-05-22 Bernhard Herzog <[email protected]> |
81 |
|
|
82 |
* test/test_layer.py (TestLayer.setUp, TestLayer.tearDown): |
* test/test_layer.py (TestLayer.setUp, TestLayer.tearDown): |