1 |
|
2003-05-22 Frank Koormann <[email protected]> |
2 |
|
|
3 |
|
* Thuban/Model/transientdb.py (TransientJoinedTable.__init__): |
4 |
|
Added "outer_join = False" as optional parameter. |
5 |
|
(TransientJoinedTable.create): If outer join is true, perform a |
6 |
|
"LEFT OUTER JOIN" instead of "JOIN", which preserves all records of |
7 |
|
the left table. Records not matching are filled with 0 / None. |
8 |
|
|
9 |
|
* Thuban/UI/join.py (JoinDialog.__init__): Checkbox for outer join. |
10 |
|
(JoinDialog.OnJoin): Consider outer join check box. |
11 |
|
|
12 |
|
2003-05-22 Bernhard Herzog <[email protected]> |
13 |
|
|
14 |
|
* Thuban/UI/join.py (JoinDialog.OnJoin): Use exc_info in a |
15 |
|
somewhat safer way. Storing the traceback in a local variable can |
16 |
|
lead to memory leaks |
17 |
|
|
18 |
|
2003-05-22 Bernhard Herzog <[email protected]> |
19 |
|
|
20 |
|
* Thuban/UI/join.py (JoinDialog.OnJoin): Make sure to really call |
21 |
|
the wxMessageDialog's Destroy() method. |
22 |
|
|
23 |
|
2003-05-22 Frank Koormann <[email protected]> |
24 |
|
|
25 |
|
* Thuban/UI/join.py (JoinDialog.__init__): Make use of |
26 |
|
TransientTable.Title() |
27 |
|
|
28 |
|
2003-05-22 Frank Koormann <[email protected]> |
29 |
|
|
30 |
|
Join Dialog, initial version. |
31 |
|
|
32 |
|
* Thuban/UI/mainwindow.py (MainWindow.TableJoin): Removed print. |
33 |
|
|
34 |
|
* Thuban/UI/join.py (JoinDialog): Functional implementation of |
35 |
|
former framework. Renamed Table1/Table2 to LeftTable/RightTable |
36 |
|
in all occurences. |
37 |
|
|
38 |
|
* Thuban/Model/transientdb.py (TransientJoinedTable.__doc__): |
39 |
|
Typo fixed. |
40 |
|
|
41 |
|
2003-05-22 Bernhard Herzog <[email protected]> |
42 |
|
|
43 |
|
Give the tables titles so that the GUI can display more meaningful |
44 |
|
names. For now the titles are fixed but depend on e.g. filenames |
45 |
|
or the titles of the joined tables. |
46 |
|
|
47 |
|
* Thuban/Model/transientdb.py (TransientTable.Title) |
48 |
|
(TransientJoinedTable.Title, AutoTransientTable.Title): New. |
49 |
|
|
50 |
|
* Thuban/Model/table.py (DBFTable.Title, MemoryTable.Title): New. |
51 |
|
|
52 |
|
* test/test_transientdb.py |
53 |
|
(TestTransientTable.test_auto_transient_table_title): New. Test |
54 |
|
for the Title method |
55 |
|
(TestTransientTable.test_transient_joined_table) |
56 |
|
(TestTransientTable.test_transient_table): Add test for the Title |
57 |
|
methods |
58 |
|
|
59 |
|
* test/test_memory_table.py (TestMemoryTable.test_title): New. |
60 |
|
Test for the Title method |
61 |
|
|
62 |
|
* test/test_dbf_table.py (TestDBFTable.test_title): New. Test for |
63 |
|
the Title method |
64 |
|
|
65 |
|
2003-05-22 Bernhard Herzog <[email protected]> |
66 |
|
|
67 |
|
* test/test_layer.py (TestLayer.setUp, TestLayer.tearDown): |
68 |
|
Provide a better way to destroy the layers |
69 |
|
(TestLayer.test_base_layer, TestLayer.test_arc_layer) |
70 |
|
(TestLayer.test_point_layer, TestLayer.test_empty_layer) |
71 |
|
(TestLayer.test_polygon_layer, TestLayer.test_get_field_type): Use |
72 |
|
the new way to destroy the layers. |
73 |
|
(TestLayer.test_derived_store): New. Test for using a layer with a |
74 |
|
DerivedShapeStore |
75 |
|
|
76 |
|
* Thuban/Model/layer.py (Layer.SetShapeStore): Only set the |
77 |
|
filename if the shape store actually has one. |
78 |
|
|
79 |
|
2003-05-22 Bernhard Herzog <[email protected]> |
80 |
|
|
81 |
|
* Thuban/Model/table.py (DBFTable.FileName): New. Accessor method |
82 |
|
for the filename |
83 |
|
|
84 |
|
* test/test_dbf_table.py (TestDBFTable.test_filename): New. Test |
85 |
|
for the FileName method |
86 |
|
(TestDBFTableWriting.test_write): Fix spelling of filename |
87 |
|
|
88 |
|
2003-05-22 Thomas Koester <[email protected]> |
89 |
|
|
90 |
|
* Thuban/Model/range.py, test/test_range.py: Brought over new Range |
91 |
|
from SciParam that now really is immutable. |
92 |
|
|
93 |
|
2003-05-22 Frank Koormann <[email protected]> |
94 |
|
|
95 |
|
Layer Top/Bottom placement added to legend. |
96 |
|
|
97 |
|
* Thuban/UI/legend.py |
98 |
|
(LegendPanel._OnMoveTop(), LayerPanel._OnMoveBottom): New, methods |
99 |
|
bound to tool events. |
100 |
|
(LegendTree.MoveCurrentItemTop(), LegendTree.MoveCurrentItemBottom): |
101 |
|
New, methods binding the event methods with the map methods. |
102 |
|
|
103 |
|
* Thuban/Model/map.py (Map.TopLayer(), Map.BottomLayer()): New, place |
104 |
|
layer at top/bottom of layer stack. |
105 |
|
|
106 |
|
* Resources/Bitmaps/top_layer.xpm: New button icon. |
107 |
|
|
108 |
|
* Resources/Bitmaps/bottom_layer.xpm: New button icon. |
109 |
|
|
110 |
2003-05-22 Bernhard Herzog <[email protected]> |
2003-05-22 Bernhard Herzog <[email protected]> |
111 |
|
|
112 |
* Thuban/Model/session.py (Session.RemoveTable): New method to |
* Thuban/Model/session.py (Session.RemoveTable): New method to |