1 |
|
2003-07-29 Jonathan Coles <[email protected]> |
2 |
|
|
3 |
|
* Thuban/UI/application.py (ThubanApplication.ShowExceptionDialog): |
4 |
|
Put back this method and remove the equivalent function since we |
5 |
|
are setting the exception hook from within this class (OnInit). |
6 |
|
|
7 |
|
2003-07-29 Jonathan Coles <[email protected]> |
8 |
|
|
9 |
|
* Doc/manual/images/5_2_custom_ramp.png, |
10 |
|
Doc/manual/images/5_2_quantiles.png, |
11 |
|
Doc/manual/images/5_2_uniform_dist.png, |
12 |
|
Doc/manual/images/5_2_unique_values.png, |
13 |
|
Doc/manual/images/8_int_error.png: New screen shots. |
14 |
|
|
15 |
|
* Doc/manual/thuban-manual.xml: Fixed typos and wording, clarified |
16 |
|
some points, and added more screen shots. |
17 |
|
|
18 |
|
2003-07-29 Bernhard Herzog <[email protected]> |
19 |
|
|
20 |
|
* Thuban/Model/data.py: Remove the now unused import of warnings |
21 |
|
|
22 |
|
2003-07-29 Bernhard Herzog <[email protected]> |
23 |
|
|
24 |
|
* Thuban/Model/data.py (SimpleStore): Removed. This class has been |
25 |
|
deprecated since before the 0.8 release and isn't used in Thuban |
26 |
|
itself anymore. |
27 |
|
|
28 |
|
* Thuban/Model/transientdb.py: Remove some unnecessary imports |
29 |
|
|
30 |
|
2003-07-29 Jonathan Coles <[email protected]> |
31 |
|
|
32 |
|
* Thuban/UI/application.py (ThubanApplication.OnInit): set the |
33 |
|
python exception hook here so that we are sure to catch any |
34 |
|
Thuban exception that happen during initialization. |
35 |
|
|
36 |
|
* Thuban/UI/main.py (main): Don't set the exception hook here, |
37 |
|
it will get set in ThubanApplication.OnInit. |
38 |
|
|
39 |
|
2003-07-29 Jonathan Coles <[email protected]> |
40 |
|
|
41 |
|
* Thuban/UI/application.py (ThubanApplication.ShowExceptionDialog): |
42 |
|
Removed and called it show_exception_dialog() so that the exception |
43 |
|
handler can be set before the class is created. |
44 |
|
|
45 |
|
* Thuban/UI/main.py (main): Install the exception handler before |
46 |
|
a ThubanApplication is created. |
47 |
|
|
48 |
|
2003-07-29 Bernhard Herzog <[email protected]> |
49 |
|
|
50 |
|
* po/it.po: New. Italian translation by Maurizio Napolitano |
51 |
|
|
52 |
|
* po/ru.po: New. Russian translation by Alex Shevlakov |
53 |
|
|
54 |
|
2003-07-29 Frank Koormann <[email protected]> |
55 |
|
|
56 |
|
* Doc/manual/thuban-manual.xml: Extended section on supported |
57 |
|
projections. |
58 |
|
|
59 |
|
2003-07-29 Frank Koormann <[email protected]> |
60 |
|
|
61 |
|
* Doc/manual/thuban-manual.xml: gaspell-checked. |
62 |
|
|
63 |
|
2003-07-29 Jonathan Coles <[email protected]> |
64 |
|
|
65 |
|
* Doc/manual/images/3_5_legend.png: Added border to improve look |
66 |
|
on white background. |
67 |
|
|
68 |
|
2003-07-29 Jonathan Coles <[email protected]> |
69 |
|
|
70 |
|
* Doc/manual/thuban-manual.xml: Fixed grammar and typos. Added |
71 |
|
descriptions for the legend toolbar. |
72 |
|
|
73 |
|
* Doc/manual/images/4_2_raster_layer_properties.png: Removed |
74 |
|
cursor from dialog box. |
75 |
|
|
76 |
|
2003-07-28 Jonathan Coles <[email protected]> |
77 |
|
|
78 |
|
* Doc/manual/thuban-manual.xml: More screenshots and more chapters. |
79 |
|
|
80 |
|
* Doc/manual/images/2_4_session_tree.png, |
81 |
|
Doc/manual/images/3_5_legend.png, Doc/manual/images/3_rename_map.png, |
82 |
|
Doc/manual/images/4_2_layer_properties.png, |
83 |
|
Doc/manual/images/4_2_raster_layer_properties.png, |
84 |
|
Doc/manual/images/5_3_genclass.png, |
85 |
|
Doc/manual/images/5_classification.png, |
86 |
|
Doc/manual/images/6_projection.png, |
87 |
|
Doc/manual/images/7_1_table_view.png, |
88 |
|
Doc/manual/images/7_2_5_join.png: New screenshots. |
89 |
|
|
90 |
|
2003-07-24 Jonathan Coles <[email protected]> |
91 |
|
|
92 |
|
* Doc/manual/thuban-manual.xml: Chapter on Projection Management. |
93 |
|
|
94 |
|
2003-07-24 Jonathan Coles <[email protected]> |
95 |
|
|
96 |
|
* Doc/manual/thuban-manual.xml: Added EPS images and wrote |
97 |
|
chapter on Layer Management. |
98 |
|
|
99 |
|
* Doc/manual/Makefile: New. Makefile to generate all formats for the |
100 |
|
manual and images. |
101 |
|
|
102 |
|
2003-07-24 Bernhard Herzog <[email protected]> |
103 |
|
|
104 |
|
* Thuban/Model/range.py, Thuban/version.py: Remove the #! line as |
105 |
|
it annoys lintian which warns about these files not being |
106 |
|
executable. The #1 isn't necessary here since if you absolutely |
107 |
|
must execute them you can always say "python <filename>". |
108 |
|
|
109 |
|
* Thuban/UI/renderer.py (ScreenRenderer.draw_shape_layer): Remove |
110 |
|
superfluous code to set brush and pen for point shapes |
111 |
|
|
112 |
|
* Thuban/UI/viewport.py: Remove commented out code that wouldn't |
113 |
|
belong in viewport anyway |
114 |
|
|
115 |
|
2003-07-24 Frank Koormann <[email protected]> |
116 |
|
|
117 |
|
* Doc/manual/thuban-manual.xml: Added section on table management. |
118 |
|
|
119 |
|
2003-07-24 Bernhard Herzog <[email protected]> |
120 |
|
|
121 |
|
* test/runtests.py (main): Recognize the long "verbose" option |
122 |
|
correctly. |
123 |
|
|
124 |
|
2003-07-22 Jonathan Coles <[email protected]> |
125 |
|
|
126 |
|
* Doc/manual/thuban-manual.xml: Continue to write first revision |
127 |
|
of the manual. |
128 |
|
|
129 |
|
* Thuban/UI/renderer.py (MapRenderer.render_map): Wrap method |
130 |
|
with Begin/EndDrawing() calls to ensure we aren't doing to |
131 |
|
many updates to the dc during rendering. |
132 |
|
(ScreenRenderer.draw_shape_layer): self.draw_point_shape takes |
133 |
|
a pen and brush argument so they need to be passed to the function. |
134 |
|
|
135 |
|
* Thuban/UI/viewport.py (ViewPort.calc_min_max_scales): New. |
136 |
|
Calculates the minimum and maximum scale values. Factored out |
137 |
|
of set_view_transform so that it could be used to zoom all the |
138 |
|
way into a single point. |
139 |
|
(ViewPort.set_view_transform): Call calc_min_max_scales(). |
140 |
|
(ViewPort.FitSelectedToWindow): Zoom to the maximum scale |
141 |
|
if only a single point is selected. |
142 |
|
|
143 |
|
* Doc/manual/images/1_2_legend_close.png, |
144 |
|
Doc/manual/images/1_2_legend_dock.png, |
145 |
|
Doc/manual/images/1_2_mainwindow.png, |
146 |
|
Doc/manual/images/1_2_mainwindow.ps, |
147 |
|
Doc/manual/images/1_2_mainwindow.sk, |
148 |
|
Doc/manual/images/3_2_fullextent.png, |
149 |
|
Doc/manual/images/3_2_fulllayerextent.png, |
150 |
|
Doc/manual/images/3_2_fullshapeextent.png, |
151 |
|
Doc/manual/images/3_2_pan.png, |
152 |
|
Doc/manual/images/3_2_zoomin.png, |
153 |
|
Doc/manual/images/3_2_zoomout.png, |
154 |
|
Doc/manual/images/3_3_identify.png, |
155 |
|
Doc/manual/images/3_3_label.png, |
156 |
|
Doc/manual/images/3_5_invisible.png, |
157 |
|
Doc/manual/images/3_5_movedown.png, |
158 |
|
Doc/manual/images/3_5_moveup.png, |
159 |
|
Doc/manual/images/3_5_props.png, |
160 |
|
Doc/manual/images/3_5_tobottom.png, |
161 |
|
Doc/manual/images/3_5_totop.png, |
162 |
|
Doc/manual/images/3_5_visible.png: New. Images for the documentation. |
163 |
|
|
164 |
|
2003-07-18 Bernhard Herzog <[email protected]> |
165 |
|
|
166 |
|
* Thuban/UI/messages.py (MAP_REPLACED): New message. |
167 |
|
|
168 |
|
* Thuban/UI/viewport.py (ViewPort.SetMap): Issue MAP_REPLACED |
169 |
|
after the new map has been assigned |
170 |
|
|
171 |
|
* Thuban/UI/mainwindow.py (MainWindow.delegated_messages): |
172 |
|
Delegate MAP_REPLACED to the canvas too |
173 |
|
(MainWindow.prepare_new_session): Removed. Thanks to the new |
174 |
|
MAP_REPLACED message it's no longer needed |
175 |
|
(MainWindow.OpenSession, MainWindow.NewSession): |
176 |
|
prepare_new_session has been removed. |
177 |
|
|
178 |
|
* Thuban/UI/classifier.py (Classifier.__init__): Subscribe to |
179 |
|
MAP_REPLACED so that we can close the dialog if a new map is set. |
180 |
|
(Classifier.unsubscribe_messages): Unsubscribe from MAP_REPLACED |
181 |
|
(Classifier.map_replaced): Handle MAP_REPLACED by closing the |
182 |
|
dialog |
183 |
|
|
184 |
|
* test/test_viewport.py (SimpleViewPortTest) |
185 |
|
(SimpleViewPortTest.test_default_size): Add doc-strings |
186 |
|
(ViewPortTest.setUp): Bind map to self.map so we can use it in |
187 |
|
tests. Subscribe to MAP_REPLACED messages too. |
188 |
|
(ViewPortTest.tearDown): No need to explicitly unsubscribe |
189 |
|
(ViewPortTest.test_set_map): New test for the SetMap method. |
190 |
|
|
191 |
|
2003-07-18 Bernhard Herzog <[email protected]> |
192 |
|
|
193 |
|
* test/test_viewport.py (SimpleViewPortTest.test_default_size): |
194 |
|
Move this test from ViewPortTest.setUp to this new separate test |
195 |
|
case. setUp is not the place for the actual tests. |
196 |
|
(ViewPortTest.test_inital_settings, ViewPortTest.setUp): Move some |
197 |
|
more of the test from setUp to the new test test_inital_settings. |
198 |
|
(ViewPortTest.test_win_to_proj, ViewPortTest.test_proj_to_win) |
199 |
|
(ViewPortTest.test_proj_conv): Split test_proj_conv into |
200 |
|
test_win_to_proj and test_proj_to_win and make the tests easier to |
201 |
|
understand |
202 |
|
(ViewPortTest.testFitRectToWindow, ViewPortTest.testZoomFactor) |
203 |
|
(ViewPortTest.testZoomOutToRect, ViewPortTest.testTranslate) |
204 |
|
(ViewPortTest.test_unprojected_rect_around_point) |
205 |
|
(ViewPortTest.test_find_shape_at, ViewPortTest.testTools): |
206 |
|
Reformat to increase readability. |
207 |
|
|
208 |
|
2003-07-18 Bernhard Herzog <[email protected]> |
209 |
|
|
210 |
|
* Thuban/UI/view.py (MapCanvas.OnLeftDown): Capture the mouse. |
211 |
|
|
212 |
|
2003-07-18 Bernhard Herzog <[email protected]> |
213 |
|
|
214 |
|
* test/runtests.py: The test suite can now be run without an X |
215 |
|
connection. To make sure this remains true, remove the DISPLAY |
216 |
|
environment variable so that an error occurs if the wxGTK is |
217 |
|
imported accidentally |
218 |
|
|
219 |
|
2003-07-18 Bernhard Herzog <[email protected]> |
220 |
|
|
221 |
|
* Thuban/UI/viewport.py: Remove unused imports |
222 |
|
|
223 |
|
* Thuban/UI/view.py: Remove unused imports |
224 |
|
|
225 |
|
2003-07-18 Bernhard Herzog <[email protected]> |
226 |
|
|
227 |
|
* test/test_export.py Remove unused imports. The OutputTransform |
228 |
|
function is now in viewport.py and is called output_transform |
229 |
|
(TestScalebar.test_output_transform) |
230 |
|
(TestScalebar.test_OutputTransform): Renamed to |
231 |
|
test_output_transform and updated to use output_transform instead |
232 |
|
of OutputTransform |
233 |
|
|
234 |
|
* Thuban/UI/view.py (OutputTransform): Moved to viewport.py and |
235 |
|
renamed. |
236 |
|
(MapCanvas.Export, MapPrintout.draw_on_dc): OutputTransform was |
237 |
|
renamed to output_transform |
238 |
|
|
239 |
|
* Thuban/UI/viewport.py (OutputTransform, output_transform): |
240 |
|
Rename to output_transform |
241 |
|
|
242 |
|
2003-07-18 Bernhard Herzog <[email protected]> |
243 |
|
|
244 |
|
* Thuban/Model/layer.py (Layer.__init__): Rename |
245 |
|
classificationField to classificatin_column and init it here so |
246 |
|
that it can be used in SetClassificationColumn |
247 |
|
(Layer.GetClassificationColumn, Layer.GetClassificationField): |
248 |
|
Rename to GetClassificationColumn. |
249 |
|
(Layer.SetClassificationColumn, Layer.SetClassificationField): |
250 |
|
Rename to SetClassificationColumn and issue a LAYER_CHANGED |
251 |
|
message if the column changes. |
252 |
|
(Layer._classification_changed, Layer.ClassChanged): Rename to |
253 |
|
_classification_changed. Update the callers. |
254 |
|
(Layer.SetShapeStore): Further field->column renames. |
255 |
|
|
256 |
|
* Thuban/Model/load.py (SessionLoader.start_classification) |
257 |
|
(SessionLoader.start_clpoint): Updates because of |
258 |
|
field->column method name changes in the Layer class |
259 |
|
|
260 |
|
* Thuban/Model/save.py (SessionSaver.write_classification): Updates |
261 |
|
because of field->column method name changes in the Layer class |
262 |
|
|
263 |
|
* Thuban/UI/classifier.py (Classifier.__init__) |
264 |
|
(Classifier._OnTry, Classifier._OnRevert): Updates because of |
265 |
|
field->column method name changes in the Layer class |
266 |
|
|
267 |
|
* Thuban/UI/renderer.py (MapRenderer.draw_shape_layer): Updates |
268 |
|
because of field->column method name changes in the Layer class |
269 |
|
|
270 |
|
* Thuban/UI/viewport.py (ViewPort.find_shape_at): Updates because |
271 |
|
of field->column method name changes in the Layer class |
272 |
|
|
273 |
|
* test/test_save.py (SaveSessionTest.testClassifiedLayer) |
274 |
|
(SaveSessionTest.testClassifiedLayer): Update because of |
275 |
|
field->column method name changes in the Layer class |
276 |
|
|
277 |
|
* test/test_layer.py (SetShapeStoreTests.setUp) |
278 |
|
(SetShapeStoreTests.test_sanity): Update because of field->column |
279 |
|
method name changes in the Layer class |
280 |
|
(TestLayerModification.setUp): Subscribe to LAYER_CHANGED as well |
281 |
|
(TestLayerModification.test_sanity) |
282 |
|
(TestLayerModification.test_initial_settings): remove unsued code |
283 |
|
and rename to test_sanity. |
284 |
|
(TestLayerModification.test_set_classification): New test for |
285 |
|
SetClassification and SetClassificationField. |
286 |
|
|
287 |
2003-07-18 Bernhard Herzog <[email protected]> |
2003-07-18 Bernhard Herzog <[email protected]> |
288 |
|
|
289 |
* test/test_classgen.py (TestFixedRamp.test): Extend test to check |
* test/test_classgen.py (TestFixedRamp.test): Extend test to check |