1 |
|
2003-05-22 Bernhard Herzog <[email protected]> |
2 |
|
|
3 |
|
* Thuban/UI/join.py (JoinDialog.OnJoin): Use exc_info in a |
4 |
|
somewhat safer way. Storing the traceback in a local variable can |
5 |
|
lead to memory leaks |
6 |
|
|
7 |
|
2003-05-22 Bernhard Herzog <[email protected]> |
8 |
|
|
9 |
|
* Thuban/UI/join.py (JoinDialog.OnJoin): Make sure to really call |
10 |
|
the wxMessageDialog's Destroy() method. |
11 |
|
|
12 |
|
2003-05-22 Frank Koormann <[email protected]> |
13 |
|
|
14 |
|
* Thuban/UI/join.py (JoinDialog.__init__): Make use of |
15 |
|
TransientTable.Title() |
16 |
|
|
17 |
|
2003-05-22 Frank Koormann <[email protected]> |
18 |
|
|
19 |
|
Join Dialog, initial version. |
20 |
|
|
21 |
|
* Thuban/UI/mainwindow.py (MainWindow.TableJoin): Removed print. |
22 |
|
|
23 |
|
* Thuban/UI/join.py (JoinDialog): Functional implementation of |
24 |
|
former framework. Renamed Table1/Table2 to LeftTable/RightTable |
25 |
|
in all occurences. |
26 |
|
|
27 |
|
* Thuban/Model/transientdb.py (TransientJoinedTable.__doc__): |
28 |
|
Typo fixed. |
29 |
|
|
30 |
|
2003-05-22 Bernhard Herzog <[email protected]> |
31 |
|
|
32 |
|
Give the tables titles so that the GUI can display more meaningful |
33 |
|
names. For now the titles are fixed but depend on e.g. filenames |
34 |
|
or the titles of the joined tables. |
35 |
|
|
36 |
|
* Thuban/Model/transientdb.py (TransientTable.Title) |
37 |
|
(TransientJoinedTable.Title, AutoTransientTable.Title): New. |
38 |
|
|
39 |
|
* Thuban/Model/table.py (DBFTable.Title, MemoryTable.Title): New. |
40 |
|
|
41 |
|
* test/test_transientdb.py |
42 |
|
(TestTransientTable.test_auto_transient_table_title): New. Test |
43 |
|
for the Title method |
44 |
|
(TestTransientTable.test_transient_joined_table) |
45 |
|
(TestTransientTable.test_transient_table): Add test for the Title |
46 |
|
methods |
47 |
|
|
48 |
|
* test/test_memory_table.py (TestMemoryTable.test_title): New. |
49 |
|
Test for the Title method |
50 |
|
|
51 |
|
* test/test_dbf_table.py (TestDBFTable.test_title): New. Test for |
52 |
|
the Title method |
53 |
|
|
54 |
|
2003-05-22 Bernhard Herzog <[email protected]> |
55 |
|
|
56 |
|
* test/test_layer.py (TestLayer.setUp, TestLayer.tearDown): |
57 |
|
Provide a better way to destroy the layers |
58 |
|
(TestLayer.test_base_layer, TestLayer.test_arc_layer) |
59 |
|
(TestLayer.test_point_layer, TestLayer.test_empty_layer) |
60 |
|
(TestLayer.test_polygon_layer, TestLayer.test_get_field_type): Use |
61 |
|
the new way to destroy the layers. |
62 |
|
(TestLayer.test_derived_store): New. Test for using a layer with a |
63 |
|
DerivedShapeStore |
64 |
|
|
65 |
|
* Thuban/Model/layer.py (Layer.SetShapeStore): Only set the |
66 |
|
filename if the shape store actually has one. |
67 |
|
|
68 |
|
2003-05-22 Bernhard Herzog <[email protected]> |
69 |
|
|
70 |
|
* Thuban/Model/table.py (DBFTable.FileName): New. Accessor method |
71 |
|
for the filename |
72 |
|
|
73 |
|
* test/test_dbf_table.py (TestDBFTable.test_filename): New. Test |
74 |
|
for the FileName method |
75 |
|
(TestDBFTableWriting.test_write): Fix spelling of filename |
76 |
|
|
77 |
|
2003-05-22 Thomas Koester <[email protected]> |
78 |
|
|
79 |
|
* Thuban/Model/range.py, test/test_range.py: Brought over new Range |
80 |
|
from SciParam that now really is immutable. |
81 |
|
|
82 |
|
2003-05-22 Frank Koormann <[email protected]> |
83 |
|
|
84 |
|
Layer Top/Bottom placement added to legend. |
85 |
|
|
86 |
|
* Thuban/UI/legend.py |
87 |
|
(LegendPanel._OnMoveTop(), LayerPanel._OnMoveBottom): New, methods |
88 |
|
bound to tool events. |
89 |
|
(LegendTree.MoveCurrentItemTop(), LegendTree.MoveCurrentItemBottom): |
90 |
|
New, methods binding the event methods with the map methods. |
91 |
|
|
92 |
|
* Thuban/Model/map.py (Map.TopLayer(), Map.BottomLayer()): New, place |
93 |
|
layer at top/bottom of layer stack. |
94 |
|
|
95 |
|
* Resources/Bitmaps/top_layer.xpm: New button icon. |
96 |
|
|
97 |
|
* Resources/Bitmaps/bottom_layer.xpm: New button icon. |
98 |
|
|
99 |
|
2003-05-22 Bernhard Herzog <[email protected]> |
100 |
|
|
101 |
|
* Thuban/Model/session.py (Session.RemoveTable): New method to |
102 |
|
remove tables |
103 |
|
|
104 |
|
* test/test_session.py (TestSessionSimple.test_remove_table): New. |
105 |
|
Test for RemoveTable |
106 |
|
|
107 |
|
2003-05-22 Thomas Koester <[email protected]> |
108 |
|
|
109 |
|
* Thuban/Model/classgen.py: Added short module doc string and CVS id. |
110 |
|
(ClassGenerator.GenUniformDistribution): Use new Range __init__, too. |
111 |
|
|
112 |
|
2003-05-22 Bernhard Herzog <[email protected]> |
113 |
|
|
114 |
|
Implement a way to discover dependencies between tables and |
115 |
|
shapestores. |
116 |
|
|
117 |
|
* Thuban/Model/transientdb.py (TransientTableBase.Dependencies) |
118 |
|
(TransientJoinedTable.Dependencies) |
119 |
|
(AutoTransientTable.SimpleQuery): New. Implement the dependencies |
120 |
|
interface |
121 |
|
(TransientJoinedTable.__init__): Keep tack of the original table |
122 |
|
objects in addition to the corresponding transient tables. |
123 |
|
|
124 |
|
* Thuban/Model/table.py (DBFTable.Dependencies) |
125 |
|
(MemoryTable.Dependencies): New. Implement the dependencies |
126 |
|
interface |
127 |
|
|
128 |
|
* Thuban/Model/data.py (ShapeTable): New. Helper class for |
129 |
|
ShapefileStore |
130 |
|
(ShapefileStore.__init__): Use ShapeTable instead of |
131 |
|
AutoTransientTable |
132 |
|
(ShapefileStore.Table, ShapefileStore.Shapefile): Add doc-strings |
133 |
|
(ShapefileStore.FileName, ShapefileStore.FileType): New. Accessor |
134 |
|
methods for filename and type |
135 |
|
(ShapefileStore.Dependencies): New. Implement the dependencies |
136 |
|
interface |
137 |
|
(DerivedShapeStore): New class to replace SimpleStore. The main |
138 |
|
difference to SimpleStore is that it depends not on a shapefile |
139 |
|
but another shapestore which expresses the dependencies a bit |
140 |
|
better |
141 |
|
(SimpleStore.__init__): Add deprecation warning. |
142 |
|
|
143 |
|
* test/test_dbf_table.py (TestDBFTable.test_dependencies): New. |
144 |
|
Test for the Dependencies method. |
145 |
|
|
146 |
|
* test/test_memory_table.py (TestMemoryTable.test_dependencies): |
147 |
|
New. Test for the Dependencies method. |
148 |
|
|
149 |
|
* test/test_transientdb.py |
150 |
|
(TestTransientTable.test_auto_transient_table_dependencies): New. |
151 |
|
Test for the Dependencies method. |
152 |
|
(TestTransientTable.test_transient_joined_table): Add test for the |
153 |
|
Dependencies method. |
154 |
|
|
155 |
|
* test/test_session.py (TestSessionSimple.setUp) |
156 |
|
(TestSessionSimple.tearDown): New. Implement a better way to |
157 |
|
destroy the sessions. |
158 |
|
(TestSessionSimple.test_initial_state) |
159 |
|
(TestSessionSimple.test_add_table): Bind session to self.session |
160 |
|
so that it's destroyed by tearDown |
161 |
|
(TestSessionSimple.test_open_shapefile): New. Test for |
162 |
|
OpenShapefile and the object it returns |
163 |
|
|
164 |
|
2003-05-22 Bernhard Herzog <[email protected]> |
165 |
|
|
166 |
|
* Thuban/Model/session.py (Session.AddTable): New method to |
167 |
|
register tables with the session. |
168 |
|
(Session.Tables): Return the tables registered with AddTable too. |
169 |
|
|
170 |
|
* test/test_session.py (TestSessionSimple.test_add_table): New. |
171 |
|
Test case for the AddTable method |
172 |
|
|
173 |
|
2003-05-22 Frank Koormann <[email protected]> |
174 |
|
|
175 |
|
UI polishing updates: Place main buttons (OK, Cancel, etc) in the |
176 |
|
lower right corner, center labels for selections, initialize controls |
177 |
|
in reasonable order for keyboard navigation. |
178 |
|
|
179 |
|
* Thuban/UI/projdialog.py (ProjFrame.__init__, ProjFrame.__doLayout) |
180 |
|
(ProjFrame.__DoOnProjAvail): Determine position of current projection |
181 |
|
using the wxListBox.FindString() method. Still a problem (#1886) |
182 |
|
|
183 |
|
* Thuban/UI/classifier.py |
184 |
|
(Classifier.__init__, SelectPropertiesDialog.__init__) |
185 |
|
|
186 |
|
* Thuban/UI/classgen.py (ClassGenDialog.__init__, |
187 |
|
(ClassGenDialog.__DoOnGenTypeSelect): Moved initialization of the |
188 |
|
different classification types from here to __init__. |
189 |
|
(GenUniquePanel.__init__): Set the column width of the first field |
190 |
|
in the Field ListCtrl to the full width. |
191 |
|
|
192 |
|
* Thuban/UI/tableview.py (LayerTableFrame.__init__): Rename 'Save As' |
193 |
|
Button to 'Export'. Center Buttons in Selection Box, set Focus to |
194 |
|
Grid. |
195 |
|
(LayerTableFrame.OnKeyDown()): New, bound to the grid with EVT_KEY_DOWN, |
196 |
|
changes focus to the Selection when pressing "Alt-S". |
197 |
|
|
198 |
|
* Thuban/UI/legend.py (LegendTree.__SetVisibilityStyle): Only gray out |
199 |
|
the text if not visible. The italic font sometimes exceeds the |
200 |
|
rendering area. |
201 |
|
|
202 |
2003-05-21 Jonathan Coles <[email protected]> |
2003-05-21 Jonathan Coles <[email protected]> |
203 |
|
|
204 |
* Thuban/UI/dock.py (DockFrame): Rename references to _OnClose |
* Thuban/UI/dock.py (DockFrame): Rename references to _OnClose |