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