1 |
|
2003-07-29 Jonathan Coles <[email protected]> |
2 |
|
|
3 |
|
* Thuban/UI/application.py (ThubanApplication.OnInit): set the |
4 |
|
python exception hook here so that we are sure to catch any |
5 |
|
Thuban exception that happen during initialization. |
6 |
|
|
7 |
|
* Thuban/UI/main.py (main): Don't set the exception hook here, |
8 |
|
it will get set in ThubanApplication.OnInit. |
9 |
|
|
10 |
|
2003-07-29 Jonathan Coles <[email protected]> |
11 |
|
|
12 |
|
* Thuban/UI/application.py (ThubanApplication.ShowExceptionDialog): |
13 |
|
Removed and called it show_exception_dialog() so that the exception |
14 |
|
handler can be set before the class is created. |
15 |
|
|
16 |
|
* Thuban/UI/main.py (main): Install the exception handler before |
17 |
|
a ThubanApplication is created. |
18 |
|
|
19 |
|
2003-07-29 Bernhard Herzog <[email protected]> |
20 |
|
|
21 |
|
* po/it.po: New. Italian translation by Maurizio Napolitano |
22 |
|
|
23 |
|
* po/ru.po: New. Russian translation by Alex Shevlakov |
24 |
|
|
25 |
|
2003-07-29 Frank Koormann <[email protected]> |
26 |
|
|
27 |
|
* Doc/manual/thuban-manual.xml: gaspell-checked. |
28 |
|
|
29 |
|
2003-07-29 Jonathan Coles <[email protected]> |
30 |
|
|
31 |
|
* Doc/manual/images/3_5_legend.png: Added border to improve look |
32 |
|
on white background. |
33 |
|
|
34 |
|
2003-07-29 Jonathan Coles <[email protected]> |
35 |
|
|
36 |
|
* Doc/manual/thuban-manual.xml: Fixed grammar and typos. Added |
37 |
|
descriptions for the legend toolbar. |
38 |
|
|
39 |
|
* Doc/manual/images/4_2_raster_layer_properties.png: Removed |
40 |
|
cursor from dialog box. |
41 |
|
|
42 |
|
2003-07-28 Jonathan Coles <[email protected]> |
43 |
|
|
44 |
|
* Doc/manual/thuban-manual.xml: More screenshots and more chapters. |
45 |
|
|
46 |
|
* Doc/manual/images/2_4_session_tree.png, |
47 |
|
Doc/manual/images/3_5_legend.png, Doc/manual/images/3_rename_map.png, |
48 |
|
Doc/manual/images/4_2_layer_properties.png, |
49 |
|
Doc/manual/images/4_2_raster_layer_properties.png, |
50 |
|
Doc/manual/images/5_3_genclass.png, |
51 |
|
Doc/manual/images/5_classification.png, |
52 |
|
Doc/manual/images/6_projection.png, |
53 |
|
Doc/manual/images/7_1_table_view.png, |
54 |
|
Doc/manual/images/7_2_5_join.png: New screenshots. |
55 |
|
|
56 |
|
2003-07-24 Jonathan Coles <[email protected]> |
57 |
|
|
58 |
|
* Doc/manual/thuban-manual.xml: Chapter on Projection Management. |
59 |
|
|
60 |
|
2003-07-24 Jonathan Coles <[email protected]> |
61 |
|
|
62 |
|
* Doc/manual/thuban-manual.xml: Added EPS images and wrote |
63 |
|
chapter on Layer Management. |
64 |
|
|
65 |
|
* Doc/manual/Makefile: New. Makefile to generate all formats for the |
66 |
|
manual and images. |
67 |
|
|
68 |
|
2003-07-24 Bernhard Herzog <[email protected]> |
69 |
|
|
70 |
|
* Thuban/Model/range.py, Thuban/version.py: Remove the #! line as |
71 |
|
it annoys lintian which warns about these files not being |
72 |
|
executable. The #1 isn't necessary here since if you absolutely |
73 |
|
must execute them you can always say "python <filename>". |
74 |
|
|
75 |
|
* Thuban/UI/renderer.py (ScreenRenderer.draw_shape_layer): Remove |
76 |
|
superfluous code to set brush and pen for point shapes |
77 |
|
|
78 |
|
* Thuban/UI/viewport.py: Remove commented out code that wouldn't |
79 |
|
belong in viewport anyway |
80 |
|
|
81 |
|
2003-07-24 Frank Koormann <[email protected]> |
82 |
|
|
83 |
|
* Doc/manual/thuban-manual.xml: Added section on table management. |
84 |
|
|
85 |
|
2003-07-24 Bernhard Herzog <[email protected]> |
86 |
|
|
87 |
|
* test/runtests.py (main): Recognize the long "verbose" option |
88 |
|
correctly. |
89 |
|
|
90 |
|
2003-07-22 Jonathan Coles <[email protected]> |
91 |
|
|
92 |
|
* Doc/manual/thuban-manual.xml: Continue to write first revision |
93 |
|
of the manual. |
94 |
|
|
95 |
|
* Thuban/UI/renderer.py (MapRenderer.render_map): Wrap method |
96 |
|
with Begin/EndDrawing() calls to ensure we aren't doing to |
97 |
|
many updates to the dc during rendering. |
98 |
|
(ScreenRenderer.draw_shape_layer): self.draw_point_shape takes |
99 |
|
a pen and brush argument so they need to be passed to the function. |
100 |
|
|
101 |
|
* Thuban/UI/viewport.py (ViewPort.calc_min_max_scales): New. |
102 |
|
Calculates the minimum and maximum scale values. Factored out |
103 |
|
of set_view_transform so that it could be used to zoom all the |
104 |
|
way into a single point. |
105 |
|
(ViewPort.set_view_transform): Call calc_min_max_scales(). |
106 |
|
(ViewPort.FitSelectedToWindow): Zoom to the maximum scale |
107 |
|
if only a single point is selected. |
108 |
|
|
109 |
|
* Doc/manual/images/1_2_legend_close.png, |
110 |
|
Doc/manual/images/1_2_legend_dock.png, |
111 |
|
Doc/manual/images/1_2_mainwindow.png, |
112 |
|
Doc/manual/images/1_2_mainwindow.ps, |
113 |
|
Doc/manual/images/1_2_mainwindow.sk, |
114 |
|
Doc/manual/images/3_2_fullextent.png, |
115 |
|
Doc/manual/images/3_2_fulllayerextent.png, |
116 |
|
Doc/manual/images/3_2_fullshapeextent.png, |
117 |
|
Doc/manual/images/3_2_pan.png, |
118 |
|
Doc/manual/images/3_2_zoomin.png, |
119 |
|
Doc/manual/images/3_2_zoomout.png, |
120 |
|
Doc/manual/images/3_3_identify.png, |
121 |
|
Doc/manual/images/3_3_label.png, |
122 |
|
Doc/manual/images/3_5_invisible.png, |
123 |
|
Doc/manual/images/3_5_movedown.png, |
124 |
|
Doc/manual/images/3_5_moveup.png, |
125 |
|
Doc/manual/images/3_5_props.png, |
126 |
|
Doc/manual/images/3_5_tobottom.png, |
127 |
|
Doc/manual/images/3_5_totop.png, |
128 |
|
Doc/manual/images/3_5_visible.png: New. Images for the documentation. |
129 |
|
|
130 |
|
2003-07-18 Bernhard Herzog <[email protected]> |
131 |
|
|
132 |
|
* Thuban/UI/messages.py (MAP_REPLACED): New message. |
133 |
|
|
134 |
|
* Thuban/UI/viewport.py (ViewPort.SetMap): Issue MAP_REPLACED |
135 |
|
after the new map has been assigned |
136 |
|
|
137 |
|
* Thuban/UI/mainwindow.py (MainWindow.delegated_messages): |
138 |
|
Delegate MAP_REPLACED to the canvas too |
139 |
|
(MainWindow.prepare_new_session): Removed. Thanks to the new |
140 |
|
MAP_REPLACED message it's no longer needed |
141 |
|
(MainWindow.OpenSession, MainWindow.NewSession): |
142 |
|
prepare_new_session has been removed. |
143 |
|
|
144 |
|
* Thuban/UI/classifier.py (Classifier.__init__): Subscribe to |
145 |
|
MAP_REPLACED so that we can close the dialog if a new map is set. |
146 |
|
(Classifier.unsubscribe_messages): Unsubscribe from MAP_REPLACED |
147 |
|
(Classifier.map_replaced): Handle MAP_REPLACED by closing the |
148 |
|
dialog |
149 |
|
|
150 |
|
* test/test_viewport.py (SimpleViewPortTest) |
151 |
|
(SimpleViewPortTest.test_default_size): Add doc-strings |
152 |
|
(ViewPortTest.setUp): Bind map to self.map so we can use it in |
153 |
|
tests. Subscribe to MAP_REPLACED messages too. |
154 |
|
(ViewPortTest.tearDown): No need to explicitly unsubscribe |
155 |
|
(ViewPortTest.test_set_map): New test for the SetMap method. |
156 |
|
|
157 |
|
2003-07-18 Bernhard Herzog <[email protected]> |
158 |
|
|
159 |
|
* test/test_viewport.py (SimpleViewPortTest.test_default_size): |
160 |
|
Move this test from ViewPortTest.setUp to this new separate test |
161 |
|
case. setUp is not the place for the actual tests. |
162 |
|
(ViewPortTest.test_inital_settings, ViewPortTest.setUp): Move some |
163 |
|
more of the test from setUp to the new test test_inital_settings. |
164 |
|
(ViewPortTest.test_win_to_proj, ViewPortTest.test_proj_to_win) |
165 |
|
(ViewPortTest.test_proj_conv): Split test_proj_conv into |
166 |
|
test_win_to_proj and test_proj_to_win and make the tests easier to |
167 |
|
understand |
168 |
|
(ViewPortTest.testFitRectToWindow, ViewPortTest.testZoomFactor) |
169 |
|
(ViewPortTest.testZoomOutToRect, ViewPortTest.testTranslate) |
170 |
|
(ViewPortTest.test_unprojected_rect_around_point) |
171 |
|
(ViewPortTest.test_find_shape_at, ViewPortTest.testTools): |
172 |
|
Reformat to increase readability. |
173 |
|
|
174 |
|
2003-07-18 Bernhard Herzog <[email protected]> |
175 |
|
|
176 |
|
* Thuban/UI/view.py (MapCanvas.OnLeftDown): Capture the mouse. |
177 |
|
|
178 |
|
2003-07-18 Bernhard Herzog <[email protected]> |
179 |
|
|
180 |
|
* test/runtests.py: The test suite can now be run without an X |
181 |
|
connection. To make sure this remains true, remove the DISPLAY |
182 |
|
environment variable so that an error occurs if the wxGTK is |
183 |
|
imported accidentally |
184 |
|
|
185 |
|
2003-07-18 Bernhard Herzog <[email protected]> |
186 |
|
|
187 |
|
* Thuban/UI/viewport.py: Remove unused imports |
188 |
|
|
189 |
|
* Thuban/UI/view.py: Remove unused imports |
190 |
|
|
191 |
|
2003-07-18 Bernhard Herzog <[email protected]> |
192 |
|
|
193 |
|
* test/test_export.py Remove unused imports. The OutputTransform |
194 |
|
function is now in viewport.py and is called output_transform |
195 |
|
(TestScalebar.test_output_transform) |
196 |
|
(TestScalebar.test_OutputTransform): Renamed to |
197 |
|
test_output_transform and updated to use output_transform instead |
198 |
|
of OutputTransform |
199 |
|
|
200 |
|
* Thuban/UI/view.py (OutputTransform): Moved to viewport.py and |
201 |
|
renamed. |
202 |
|
(MapCanvas.Export, MapPrintout.draw_on_dc): OutputTransform was |
203 |
|
renamed to output_transform |
204 |
|
|
205 |
|
* Thuban/UI/viewport.py (OutputTransform, output_transform): |
206 |
|
Rename to output_transform |
207 |
|
|
208 |
|
2003-07-18 Bernhard Herzog <[email protected]> |
209 |
|
|
210 |
|
* Thuban/Model/layer.py (Layer.__init__): Rename |
211 |
|
classificationField to classificatin_column and init it here so |
212 |
|
that it can be used in SetClassificationColumn |
213 |
|
(Layer.GetClassificationColumn, Layer.GetClassificationField): |
214 |
|
Rename to GetClassificationColumn. |
215 |
|
(Layer.SetClassificationColumn, Layer.SetClassificationField): |
216 |
|
Rename to SetClassificationColumn and issue a LAYER_CHANGED |
217 |
|
message if the column changes. |
218 |
|
(Layer._classification_changed, Layer.ClassChanged): Rename to |
219 |
|
_classification_changed. Update the callers. |
220 |
|
(Layer.SetShapeStore): Further field->column renames. |
221 |
|
|
222 |
|
* Thuban/Model/load.py (SessionLoader.start_classification) |
223 |
|
(SessionLoader.start_clpoint): Updates because of |
224 |
|
field->column method name changes in the Layer class |
225 |
|
|
226 |
|
* Thuban/Model/save.py (SessionSaver.write_classification): Updates |
227 |
|
because of field->column method name changes in the Layer class |
228 |
|
|
229 |
|
* Thuban/UI/classifier.py (Classifier.__init__) |
230 |
|
(Classifier._OnTry, Classifier._OnRevert): Updates because of |
231 |
|
field->column method name changes in the Layer class |
232 |
|
|
233 |
|
* Thuban/UI/renderer.py (MapRenderer.draw_shape_layer): Updates |
234 |
|
because of field->column method name changes in the Layer class |
235 |
|
|
236 |
|
* Thuban/UI/viewport.py (ViewPort.find_shape_at): Updates because |
237 |
|
of field->column method name changes in the Layer class |
238 |
|
|
239 |
|
* test/test_save.py (SaveSessionTest.testClassifiedLayer) |
240 |
|
(SaveSessionTest.testClassifiedLayer): Update because of |
241 |
|
field->column method name changes in the Layer class |
242 |
|
|
243 |
|
* test/test_layer.py (SetShapeStoreTests.setUp) |
244 |
|
(SetShapeStoreTests.test_sanity): Update because of field->column |
245 |
|
method name changes in the Layer class |
246 |
|
(TestLayerModification.setUp): Subscribe to LAYER_CHANGED as well |
247 |
|
(TestLayerModification.test_sanity) |
248 |
|
(TestLayerModification.test_initial_settings): remove unsued code |
249 |
|
and rename to test_sanity. |
250 |
|
(TestLayerModification.test_set_classification): New test for |
251 |
|
SetClassification and SetClassificationField. |
252 |
|
|
253 |
|
2003-07-18 Bernhard Herzog <[email protected]> |
254 |
|
|
255 |
|
* test/test_classgen.py (TestFixedRamp.test): Extend test to check |
256 |
|
the non-fixed values as well. The old test would have accepted a |
257 |
|
fixed ramp that only returnes the fixed properties |
258 |
|
|
259 |
|
2003-07-17 Jonathan Coles <[email protected]> |
260 |
|
|
261 |
|
* Doc/manual/mainwindow.png, Doc/manual/mainwindow.xcf: Screen |
262 |
|
shots for the manual. The XCF file is the source image and |
263 |
|
has additional layers to support changes. |
264 |
|
|
265 |
|
* Doc/manual/thuban-manual.xml: Wrote an initial Introduction. |
266 |
|
|
267 |
|
* Thuban/UI/classifier.py (Classifier.__BuildClassification): |
268 |
|
Return both the new class and the field name. |
269 |
|
|
270 |
|
* Thuban/UI/mainwindow.py (MainWindow.ToggleLegend): Don't |
271 |
|
fit the map to the window as this changes any zoom level that |
272 |
|
the user may have set. |
273 |
|
|
274 |
|
2003-07-16 Jonathan Coles <[email protected]> |
275 |
|
|
276 |
|
* Thuban/Model/classgen.py (generate_singletons, |
277 |
|
generate_uniform_distribution, generate_quantiles): Remove |
278 |
|
fixes parameter, but maintain the same functionality by having |
279 |
|
the calling function pass a FixedRamp object for the ramp. |
280 |
|
(FixedRamp): New. Adapts a ramp to have fixed property values. |
281 |
|
|
282 |
|
* Thuban/Model/classification.py: Use new CLASS_CHANGED message. |
283 |
|
(Classification): Inherit from Publisher. |
284 |
|
(Classification.__init__): Remove the layer parameter. |
285 |
|
Classifications no longer need to have a parent layer. |
286 |
|
(Classification.GetField, Classification.GetFieldType, |
287 |
|
Classification.SetFieldInfo): Removed. The field name is stored |
288 |
|
in the layer, and the type can be retreived by calling |
289 |
|
Layer.GetFieldType(). |
290 |
|
(Classification._set_layer, Classification.GetLayer): Removed. |
291 |
|
Classifications no longer have a parent layer. |
292 |
|
|
293 |
|
* Thuban/Model/layer.py (Layer.Destroy): Unsubscribe from the |
294 |
|
classification. |
295 |
|
(Layer.SetShapeStore): Reset the classification first while |
296 |
|
we still have the old shape store to work with. |
297 |
|
(Layer.GetClassificationField, Layer.SetClassificationField): |
298 |
|
New. Method for getting/setting the field to classify on. |
299 |
|
(Layer.SetClassification): Simplified now that the layer |
300 |
|
simply has to hold a reference to the classification and not |
301 |
|
tell the classification who owns it. |
302 |
|
Fixes RTbug #2023. |
303 |
|
|
304 |
|
* Thuban/Model/load.py (SessionLoader.start_classification): |
305 |
|
Set the field name on the layer, not the classification. |
306 |
|
|
307 |
|
* Thuban/Model/messages.py: Add CLASS_CHANGED for when a |
308 |
|
classification is modified. |
309 |
|
|
310 |
|
* Thuban/Model/save.py (SessionSaver.write_classification): |
311 |
|
Get the field name and type from the layer. |
312 |
|
|
313 |
|
* Thuban/Model/table.py (table_to_dbf, table_to_csv): Renamed |
314 |
|
parameter records to rows and add docstring. Fixes RTbug #1997. |
315 |
|
|
316 |
|
* Thuban/UI/classgen.py (ClassGenDialog.OnOK): Use a fixed |
317 |
|
ramp when we need to fix certain values of a ramp rather than |
318 |
|
using the old fixes parameter. Fixes RTbug #2024. |
319 |
|
|
320 |
|
* Thuban/UI/classifier.py (ClassGrid.CreateTable): Add fieldType |
321 |
|
parameter. |
322 |
|
(ClassTable.Reset): Add fieldType parameter and use it, rather |
323 |
|
than asking the classification. |
324 |
|
(Classifier.__init__): Remember the original class's field |
325 |
|
and ask the layer for the field type, rather than the classification. |
326 |
|
(Classifier.__SetGridTable): Retrieve the field and field type |
327 |
|
for the table because they are not in the classification. |
328 |
|
(Classifier._OnTry, Classifier._OnRevert): Set the classification |
329 |
|
field on the layer in addition to the classification itself. |
330 |
|
|
331 |
|
* Thuban/UI/renderer.py (MapRenderer.draw_shape_layer): Get the |
332 |
|
classification field from layer. |
333 |
|
|
334 |
|
* Thuban/UI/viewport.py (ViewPort.find_shape_at): Get the |
335 |
|
classification field from layer. Split up tests and remove |
336 |
|
*-imports. Fixes RTbug #1992. |
337 |
|
|
338 |
|
* test/test_classgen.py (TestFixedRamp): Test for the FixedRamp class. |
339 |
|
|
340 |
|
* test/test_classification.py |
341 |
|
(TestClassification.test_classification): Remove tests for methods |
342 |
|
that no longer exist. |
343 |
|
|
344 |
|
* test/test_layer.py (SetShapeStoreTests.setUp): Classification |
345 |
|
__init__ no longer has a field parameter, use SetClassificationField. |
346 |
|
(SetShapeStoreTests.test_sanity): Use layer object to get class |
347 |
|
field info. |
348 |
|
|
349 |
|
* test/test_save.py (SaveSessionTest.testClassifiedLayer): Use |
350 |
|
SetClassificationField on layer to set class field info. |
351 |
|
|
352 |
|
* test/test_viewport.py: Renamed from test/test_view.py. |
353 |
|
|
354 |
|
2003-07-16 Jan-Oliver Wagner <[email protected]> |
355 |
|
|
356 |
|
* Doc/manual/thuban-manual.xml: Added authors and an initial |
357 |
|
coarse structure. |
358 |
|
|
359 |
|
2003-07-15 Bernhard Herzog <[email protected]> |
360 |
|
|
361 |
|
* test/support.py (FloatComparisonMixin): This is a mix-in class |
362 |
|
and therefore should not be derived from any other class. |
363 |
|
|
364 |
|
* test/test_range.py (RangeTest): FloatComparisonMixin is a |
365 |
|
mix-in, so derive from TestCase as well. |
366 |
|
|
367 |
|
2003-07-15 Bernhard Herzog <[email protected]> |
368 |
|
|
369 |
|
* Thuban/UI/renderer.py (MapRenderer.draw_shape_layer): Rework the |
370 |
|
draw_func handling a bit to remove one layer of indirection. This |
371 |
|
makes the renderer about 10% faster in the non-classifying case |
372 |
|
and the code a bit cleaner |
373 |
|
(MapRenderer.draw_point_shape): Add the pen and brush parameters |
374 |
|
and set them in the dc. Now the draw_point_shape method and |
375 |
|
wxproj's draw_polygon_shape function have basically the same |
376 |
|
signature so that both can be directly used as draw_func |
377 |
|
|
378 |
|
2003-07-15 Bernhard Herzog <[email protected]> |
379 |
|
|
380 |
|
* Thuban/Model/save.py (SessionSaver.write_classification): Encode |
381 |
|
string values (in addition to the labels) as UTF 8 |
382 |
|
|
383 |
|
* Thuban/Model/load.py (SessionLoader.start_clpoint): Decode the |
384 |
|
values if the field type is string |
385 |
|
|
386 |
|
* test/test_save.py (SaveSessionTest.testClassifiedLayer): Test |
387 |
|
saving a session with non-ascii string classification values. |
388 |
|
|
389 |
|
* test/test_load.py (TestClassification.file_contents) |
390 |
|
(TestClassification.test): Check for non-ascii values in string |
391 |
|
classifications |
392 |
|
|
393 |
|
2003-07-14 Jonathan Coles <[email protected]> |
394 |
|
|
395 |
|
* test/test_view.py: New. Tests for ViewPort. |
396 |
|
|
397 |
|
2003-07-14 Frank Koormann <[email protected]> |
398 |
|
|
399 |
|
* Thuban/Model/load.py (SessionLoader.start_map): Encode map |
400 |
|
title to latin1. Fixes https://intevation.de/rt/webrt?serial_num=2013 |
401 |
|
|
402 |
|
* test/test_load_0_8.py (TestUnicodeStrings): New, test load of |
403 |
|
unicode strings from session file: session title, map title and |
404 |
|
projection name. |
405 |
|
|
406 |
|
2003-07-10 Jonathan Coles <[email protected]> |
407 |
|
|
408 |
|
* Thuban/UI/viewport.py (Tool.MouseUp): Should have called |
409 |
|
drag_stop, not drag_move when the mouse is released. |
410 |
|
|
411 |
|
2003-07-10 Jonathan Coles <[email protected]> |
412 |
|
|
413 |
|
The most important part of this is the seperation of view.py into |
414 |
|
two pieces. viewport.py now has a class called ViewPort which |
415 |
|
contains all the non-wx parts of view.py and can therefore be |
416 |
|
tested. view.py contains only the wx-specific parts and is fairly |
417 |
|
simple. |
418 |
|
|
419 |
|
* Thuban/UI/view.py: Stripped out all non-wx functionality. Fixes |
420 |
|
RTTbug #1992. |
421 |
|
* Thuban/UI/viewport.py: New. Contains non-wx view functionality. |
422 |
|
RTTbug #1992. |
423 |
|
|
424 |
|
* Thuban/Model/classgen.py (generate_singletons, |
425 |
|
generate_uniform_distribution, generate_quantiles): |
426 |
|
Added 'fixes' parameter so that property attributes can |
427 |
|
be held constant over the generated classification groups. |
428 |
|
(CustomRamp.GetProperties): Remove unused variables. |
429 |
|
|
430 |
|
* Thuban/Model/map.py (Map.SetProjection): Send the old |
431 |
|
projection as an argument to listeners of the MAP_PROJECTION_CHANGED |
432 |
|
event. |
433 |
|
|
434 |
|
* Thuban/Model/table.py (table_to_dbf, table_to_csv): Added 'records' |
435 |
|
parameter which is a list of records that restricts which |
436 |
|
records are saved. Fixes RTbug #1997. |
437 |
|
|
438 |
|
* Thuban/UI/application.py (ThubanApplication.ShowExceptionDialog): |
439 |
|
Port exception dialog from GREAT-ER. Fixes RTbug #1993. |
440 |
|
|
441 |
|
* Thuban/UI/classgen.py (ClassGenDialog.__init__): Add controls |
442 |
|
to allow the user to fix line color/width on generated groups. |
443 |
|
(ClassGenDialog.OnOK): Use new 'fixes' parameter of the generate_* |
444 |
|
functions to optionally fix group properties. |
445 |
|
|
446 |
|
* Thuban/UI/main.py (main): Set exception hook to the |
447 |
|
ShowExceptionDialog. Fixes RTbug #1993. |
448 |
|
|
449 |
|
* Thuban/UI/mainwindow.py (MainWindow.ShowTableView): Raise |
450 |
|
the table window when it is selectd to be shown. |
451 |
|
|
452 |
|
* Thuban/UI/tableview.py (QueryTableFrame.__init__): Add an |
453 |
|
Export Selection button and move the export buttons underneath |
454 |
|
the table. |
455 |
|
(QueryTableFrame.UpdateStatusText): Added event argument so |
456 |
|
that it can respond to grid selection events. The status text |
457 |
|
is now updated even when the table is not associated with a |
458 |
|
layer as was previously assumed. |
459 |
|
(QueryTableFrame.OnGridSelectRange, OnGridSelectCell): Removed. |
460 |
|
UpdateStatusText responds to these events. |
461 |
|
(QueryTableFrame.OnSaveAs): Renamed to doExport. |
462 |
|
(QueryTableFrame.doExport): Helper function that saves the |
463 |
|
entire table, or selected rows, to a file. |
464 |
|
(QueryTableFrame.OnExport, QueryTableFrame.OnExportSel): New. |
465 |
|
Respond to export button events and call doExport. |
466 |
|
|
467 |
|
* extensions/thuban/gdalwarp.cpp (ProjectRasterFile): Make sure |
468 |
|
the function doesn't return NULL without first setting a Python |
469 |
|
Error. |
470 |
|
|
471 |
|
* test/runtests.py (main): Only print "Unknown option" for |
472 |
|
unsupported options. |
473 |
|
|
474 |
|
* test/support.py (FloatComparisonMixin.assertFloatEqual): Take |
475 |
|
optional epsilon argument to specify floating point accuracy. |
476 |
|
(FloatComparisonMixin.assertFloatSeqEqual): Call assertFloatEqual |
477 |
|
for each item test. |
478 |
|
|
479 |
|
* test/test_csv_table.py (TestCSVTable.test_table_to_cvs): Add |
480 |
|
tests for saving selected records. |
481 |
|
|
482 |
|
* test/test_dbf_table.py (TestTableToDBF.test_table_to_dbf): Add |
483 |
|
tests for saving selected records. |
484 |
|
|
485 |
|
* test/test_map.py (TestMapWithContents.test_set_projection): |
486 |
|
MAP_PROJECTION_CHANGED events send the old projection. |
487 |
|
|
488 |
|
* test/test_session.py |
489 |
|
(TestSessionWithContent.test_forward_map_projection): |
490 |
|
MAP_PROJECTION_CHANGED events send the old projection. |
491 |
|
|
492 |
|
* test/test_table.py (TableTest): Update tests to use non-deprecated |
493 |
|
functions. |
494 |
|
|
495 |
|
2003-07-08 Bernhard Herzog <[email protected]> |
496 |
|
|
497 |
|
* Thuban/Model/transientdb.py (TransientTableBase.Width): The type |
498 |
|
constants in the column objects are the standard ones defined in |
499 |
|
the table module. |
500 |
|
|
501 |
|
* test/test_transientdb.py |
502 |
|
(TestTransientTable.test_transienttable_to_dbf): New. Test whether |
503 |
|
exporting transient tables as DBF works. This should catch the bug |
504 |
|
just fixed in TransientTableBase.Width. |
505 |
|
|
506 |
|
2003-07-08 Bernhard Herzog <[email protected]> |
507 |
|
|
508 |
|
* Thuban/Model/classgen.py (CustomRamp.GetProperties): Compute the |
509 |
|
interpolated colors correctly. |
510 |
|
|
511 |
|
* test/test_classgen.py (TestCustomRamp.test_color_interpolation): |
512 |
|
New. Test case for the fix in classgen.py |
513 |
|
|
514 |
|
2003-07-08 Bernhard Herzog <[email protected]> |
515 |
|
|
516 |
|
* test/runtests.py (main): Make the default output less verbose |
517 |
|
and add a verbosity option (-v) to get the old output |
518 |
|
|
519 |
|
2003-07-08 Bernhard Herzog <[email protected]> |
520 |
|
|
521 |
|
* Resources/XML/thuban-0.9.dtd: New. This will become the DTD for |
522 |
|
0.9. |
523 |
|
|
524 |
|
* Thuban/Model/transientdb.py (TransientJoinedTable.JoinType): |
525 |
|
New. Return the join type |
526 |
|
|
527 |
|
* Thuban/Model/save.py (SessionSaver.write_session): Use new 0.9 |
528 |
|
DTD |
529 |
|
(SessionSaver.write_data_containers): Save the join type for |
530 |
|
joined tables |
531 |
|
|
532 |
|
* Thuban/Model/load.py (SessionLoader.__init__): Add the new 0.9 |
533 |
|
namespace |
534 |
|
(SessionLoader.start_jointable): Handle the jointype attribute |
535 |
|
|
536 |
|
* test/test_load_0_8.py: New. Effectively a copy of test_load.py |
537 |
|
as of Thuban 0.8. These are now tests to determine whether Thuban |
538 |
|
can still read files generated by Thuban 0.8 |
539 |
|
|
540 |
|
* test/test_load.py (LoadSessionTest.dtd) |
541 |
|
(TestSingleLayer.file_contents) |
542 |
|
(TestLayerVisibility.file_contents, TestLabels.file_contents) |
543 |
|
(TestLayerProjection.file_contents) |
544 |
|
(TestRasterLayer.file_contents, TestJoinedTable.file_contents) |
545 |
|
(TestJoinedTable.file_contents) |
546 |
|
(TestLoadError.file_contents): Update for new DTD |
547 |
|
(TestJoinedTable.file_contents, TestJoinedTable.setUp): Add test |
548 |
|
for new join type attribute |
549 |
|
|
550 |
|
* test/test_save.py (SaveSessionTest.dtd) |
551 |
|
(SaveSessionTest.testEmptySession) |
552 |
|
(SaveSessionTest.testSingleLayer) |
553 |
|
(SaveSessionTest.testLayerProjection) |
554 |
|
(SaveSessionTest.testRasterLayer) |
555 |
|
(SaveSessionTest.testClassifiedLayer) |
556 |
|
(SaveSessionTest.test_dbf_table) |
557 |
|
(SaveSessionTest.test_joined_table): Update for new DTD |
558 |
|
(SaveSessionTest.test_joined_table): Add test for new join type |
559 |
|
attribute |
560 |
|
|
561 |
|
2003-07-04 Bernhard Herzog <[email protected]> |
562 |
|
|
563 |
|
* Thuban/Model/table.py (_find_dbf_column_names): New. Helper |
564 |
|
function for table_to_dbf |
565 |
|
(table_to_dbf): Deal with names longer than the 10 character limit |
566 |
|
|
567 |
|
* test/test_dbf_table.py (TestTableToDBF.test_table_to_dbf): Add |
568 |
|
doc-string |
569 |
|
(TestTableToDBF.test_table_to_dbf_long_col_names): New test for |
570 |
|
long column names |
571 |
|
|
572 |
|
2003-07-03 Bernhard Herzog <[email protected]> |
573 |
|
|
574 |
|
* Doc/manual/thuban-manual.xml: Fix the CVS Revision Tag syntax |
575 |
|
|
576 |
|
2003-07-03 Bernhard Herzog <[email protected]> |
577 |
|
|
578 |
|
* Doc/manual/thuban-manual.xml, Doc/manual/README: New. Skeleton |
579 |
|
for the Thuban manual and README with some basic information about |
580 |
|
the manual |
581 |
|
|
582 |
|
2003-07-03 Bernhard Herzog <[email protected]> |
583 |
|
|
584 |
|
* Thuban/Model/transientdb.py (TransientJoinedTable.__init__): |
585 |
|
Update doc-string |
586 |
|
(TransientJoinedTable.create): Do not modify the column objects of |
587 |
|
the input tables in place and copy all columns of the input tables |
588 |
|
into the joined table after all. |
589 |
|
|
590 |
|
* test/test_transientdb.py |
591 |
|
(TestTransientTable.test_transient_joined_table_same_column_name): |
592 |
|
Update to reflect the new behavior |
593 |
|
(TestTransientTable.test_transient_joined_table_with_equal_column_names): |
594 |
|
Update to reflect the new behavior |
595 |
|
(TestTransientTable.test_transient_joined_table_name_collisions_dont_modify_in_place): |
596 |
|
New test case for a bug which modified the column objects in place |
597 |
|
|
598 |
|
2003-07-02 Jonathan Coles <[email protected]> |
599 |
|
|
600 |
|
* Thuban/Model/classgen.py (generate_singletons, |
601 |
|
generate_uniform_distribution, generate_quantiles, |
602 |
|
GenQuantiles0): Make sure maxValue isn't less than |
603 |
|
one, otherwise we could divide by zero. |
604 |
|
|
605 |
|
* test/test_classgen.py (ClassGenTest.doClassRangeTest, |
606 |
|
ClassGenTest.doClassSingleTest): Call doBoundsTest to |
607 |
|
check the end classification groups against the |
608 |
|
proper property values. |
609 |
|
(ClassGenTest.doBoundsTest): New. Checks the first and |
610 |
|
last classification groups to make sure their properties |
611 |
|
are the correct upper and lower bounds for a color ramp. |
612 |
|
|
613 |
|
2003-07-02 Jonathan Coles <[email protected]> |
614 |
|
|
615 |
|
* Thuban/Model/classgen.py (generate_singletons, |
616 |
|
generate_uniform_distribution, generate_quantiles, |
617 |
|
GenQuantiles0): The denominator was one to high when |
618 |
|
calculating the index for the ramp causing the index |
619 |
|
to never to reach one. |
620 |
|
|
621 |
|
2003-07-02 Jonathan Coles <[email protected]> |
622 |
|
|
623 |
|
Changed the singature of ClassGroupRange.__init__ and |
624 |
|
ClassGroupRange.SetRange() so that the min/max values are |
625 |
|
passed as a tuple. This makes a better calling scheme for |
626 |
|
when a Range object is passed instead. |
627 |
|
|
628 |
|
* Thuban/Model/classgen.py: Fixed parameters to |
629 |
|
ClassGroupRange constructor. |
630 |
|
|
631 |
|
* Thuban/Model/classification.py (ClassGroupRange.__init__): |
632 |
|
Consolidate the min/max parameters into a single _range which |
633 |
|
can either be a tuple or a Range object. |
634 |
|
(ClassGroupRange.SetRange): Consolidate the min/max parameters |
635 |
|
into a single _range which can either be a tuple or a Range object. |
636 |
|
|
637 |
|
* Thuban/Model/load.py (SessionLoader.start_clrange): Fix |
638 |
|
call to ClassGroupRange constructor to use a tuple. |
639 |
|
|
640 |
|
* Thuban/Model/layer.py (Layer.SetClassification): Switch |
641 |
|
the classification instance variable to the new class |
642 |
|
before calling _set_layer otherwise subscribers to a |
643 |
|
LAYER_CHANGED event will not see any difference. |
644 |
|
|
645 |
|
* test/test_classification.py: Fix tests of ClassGroupRange |
646 |
|
so that they use the new signature. |
647 |
|
|
648 |
|
* test/test_load.py: Fix use of ClassGroupRange so that it |
649 |
|
uses the new signature. |
650 |
|
|
651 |
|
* test/test_load_0_2.py: Fix use of ClassGroupRange so that it |
652 |
|
uses the new signature. |
653 |
|
|
654 |
|
* test/test_save.py: Fix use of ClassGroupRange so that it |
655 |
|
uses the new signature. |
656 |
|
|
657 |
|
|
658 |
|
2003-07-01 Jonathan Coles <[email protected]> |
659 |
|
|
660 |
|
* Thuban/Model/classgen.py: Fixes RTbug #1972, 1971. |
661 |
|
Import used objects/class from color. |
662 |
|
(generate_singletons): We don't |
663 |
|
need the numGroups parameter anymore because we are using |
664 |
|
the new ramps with GetProperties(). |
665 |
|
(generate_uniform_distribution): Use new ramp method |
666 |
|
GetProperties(). |
667 |
|
(generate_quantiles, GenQuantiles0): Use new ramp method |
668 |
|
GetProperties(). |
669 |
|
(CustomRamp.SetNumGroups): Removed. The ramps now map |
670 |
|
a value from 0 to 1 to class properties so the number |
671 |
|
of groups is not needed ahead of time. |
672 |
|
(CustomRamp.next): Removed. CustomRamp does not support |
673 |
|
interation anymore. |
674 |
|
(CustomRamp.GetProperties): Returns a ClassGroupProperties |
675 |
|
object based on the index value from 0 to 1 that is |
676 |
|
passed to it. |
677 |
|
(GreyRamp, RedRamp, GreenRamp, BlueRamp, GreenToRedRamp): |
678 |
|
Made into instances of Monochromatic class instread of |
679 |
|
deriving from it. |
680 |
|
(HotToCold.SetNumGroups): Removed. See CustomRamp. |
681 |
|
(HotToCold.next): Removed. See CustomRamp. |
682 |
|
|
683 |
|
* Thuban/Model/classification.py: Fixes RTbug #1973, 1971. |
684 |
|
(Classification.SetField, Classification.SetFieldType): |
685 |
|
Replaced with SetFieldInfo. |
686 |
|
(Classification.SetFieldInfo): New. Does a better job of |
687 |
|
what SetField and SetFieldType used to do by combining |
688 |
|
their function since they should really always be done |
689 |
|
at the same time. |
690 |
|
(Classification.SetLayer): Renamed to _set_layer. |
691 |
|
(Classification._set_layer): Should only be called from |
692 |
|
Layer's SetClassification. This does not cause a recursive |
693 |
|
call as SetLayer did because we know that Layer knows about |
694 |
|
the classification. |
695 |
|
|
696 |
|
* Thuban/Model/color.py: Fixes RTbug #1971. |
697 |
|
(_Transparent): Renamed from Transparent so it doesn't |
698 |
|
conflict with the module variable. |
699 |
|
(Transparent, Black): Renamed from Color.Transparent, |
700 |
|
Color.Black so they are not class variables. |
701 |
|
|
702 |
|
* Thuban/Model/layer.py: Fixes RTbug #1971, 1973. |
703 |
|
(Layer.Destroy): We don't need to call SetClassification |
704 |
|
anymore to clear out the back reference in the classifcation |
705 |
|
to the layer. It's better to set it to None using _set_layer, |
706 |
|
and we won't be creating another clas object too. |
707 |
|
(Layer.SetClassification): Classification._set_layer is not |
708 |
|
recursive so remove all the locking variables. Also clean |
709 |
|
up the code so that it remains unchanged if something fails. |
710 |
|
|
711 |
|
* Thuban/Model/load.py: Fixes RTbug #1971. |
712 |
|
(SessionLoader.start_classification): Call |
713 |
|
Classification.SetFieldInfo(). |
714 |
|
|
715 |
|
* Thuban/Model/save.py: Removed import of Color which wasn't |
716 |
|
being used. |
717 |
|
|
718 |
|
* Thuban/UI/classgen.py: Fixes RTbug #1972. |
719 |
|
(ClassGenDialog.__init__): Color ramps are now instances |
720 |
|
already so we don't need to create any new objects. |
721 |
|
(ClassGenDialog.OnOK): Check for numGroups is no longer |
722 |
|
necessary because we never use it. |
723 |
|
|
724 |
|
* Thuban/UI/classifier.py: Fixes RTbug #1971. |
725 |
|
(Classifier.__BuildClassification, Classifier.__SetGridTable): |
726 |
|
Call Classification.SetFieldInfo() instead of SetFieldType. |
727 |
|
|
728 |
|
* Thuban/UI/renderer.py: Fixes RTbug #1971. |
729 |
|
|
730 |
|
* Thuban/UI/view.py: Fixes RTbug #1974, 1971. |
731 |
|
(MapCanvas.__init__): Subscribe to the idle time event. Set |
732 |
|
background color to white. |
733 |
|
(MapCanvas.OnPaint): Set a flag indicating that we should |
734 |
|
render the map during idle time. If we already have a bitmap |
735 |
|
just draw it now. |
736 |
|
(MapCanvas.OnIdle): New. Render the map only during idle time. |
737 |
|
This also fixes a problem with the busy cursor under gtk. |
738 |
|
|
739 |
|
* test/test_classgen.py (ClassGenTest.test_generate_singletons): |
740 |
|
Fix calls to generate_singletons because the signature changed. |
741 |
|
|
742 |
|
* test/test_classification.py: Fix color references and |
743 |
|
change calls to Classification.[SetField|SetFieldType] to |
744 |
|
SetFieldInfo. |
745 |
|
|
746 |
|
* test/test_load.py: Fix color references. |
747 |
|
|
748 |
|
* test/test_load_0_2.py: Fix color references. |
749 |
|
|
750 |
|
* test/test_save.py (SaveSessionTest.testClassifiedLayer): |
751 |
|
Change calls to Classification.[SetField|SetFieldType] to |
752 |
|
SetFieldInfo. |
753 |
|
|
754 |
|
2003-07-01 Frank Koormann <[email protected]> |
755 |
|
|
756 |
|
MERGE from the greater-ms3 branch. |
757 |
|
|
758 |
|
* test/test_transientdb.py |
759 |
|
(TestTransientTable.test_transient_joined_table_with_equal_column_names): |
760 |
|
New. Test join of two tables with partly equal column names. |
761 |
|
|
762 |
|
* Thuban/Model/transientdb.py (TransientJoinedTable.create): |
763 |
|
If duplicates in left and right tables column names are found, |
764 |
|
append '_' (underscores) to the name until it is unique. |
765 |
|
Create always new internal names for the resulting table and reference |
766 |
|
columns in the join statement with <table>.<column> |
767 |
|
|
768 |
|
2003-07-01 Bernhard Herzog <[email protected]> |
769 |
|
|
770 |
|
* test/test_transientdb.py |
771 |
|
(TestTransientTable.test_transient_joined_table_same_column_name): |
772 |
|
New. Test whether joining on columns with the same names in both |
773 |
|
tables works. |
774 |
|
|
775 |
|
* Thuban/Model/transientdb.py (TransientJoinedTable.create): Make |
776 |
|
sure to use the right internal names even when joining on field |
777 |
|
with the same names in both tables. Also, detect duplicate names |
778 |
|
in the joined table correctly. |
779 |
|
|
780 |
|
2003-07-01 Frank Koormann <[email protected]> |
781 |
|
|
782 |
|
* Thuban/UI/renderer.py (ExportRenderer.render_legend): |
783 |
|
Reverse List of layers to render in same order as in desktop legend. |
784 |
|
|
785 |
|
2003-06-30 Jonathan Coles <[email protected]> |
786 |
|
|
787 |
|
* Thuban/version.py (make_tuple): Takes a version string |
788 |
|
and splits it into a tuple of at most three integers. |
789 |
|
Used make_tuple() to make tuple versions of the version |
790 |
|
numbers. |
791 |
|
|
792 |
|
* Thuban/UI/about.py: Add Thuban email addresses. |
793 |
|
|
794 |
|
2003-06-30 Jonathan Coles <[email protected]> |
795 |
|
|
796 |
|
* Thuban/version.py: SQLite/PySQLite version dependencies |
797 |
|
were too high. |
798 |
|
|
799 |
|
2003-06-30 Jonathan Coles <[email protected]> |
800 |
|
|
801 |
|
* Thuban/version.py: Update version to 0.8.1 |
802 |
|
|
803 |
|
* MANIFEST.in: Added Projections so that default.proj is |
804 |
|
included. |
805 |
|
|
806 |
|
2003-06-26 Jonathan Coles <[email protected]> |
807 |
|
|
808 |
|
New About box with lots more information including library |
809 |
|
versions and credits. More/better version checking before |
810 |
|
Thuban starts. |
811 |
|
|
812 |
|
* Thuban/UI/about.py: New. New About box that displays |
813 |
|
library version information and credits. |
814 |
|
|
815 |
|
* Thuban/version.py: Added new 'versions' dictionary which |
816 |
|
contains the verions of various libraries which are checked |
817 |
|
when the module loads. |
818 |
|
(verify_versions): Check all version numbers and returns |
819 |
|
a list of errors. |
820 |
|
|
821 |
|
* Thuban/UI/classifier.py (Classifier.__EnableButtons): |
822 |
|
Reset the status of the buttons as the situation warrants, |
823 |
|
but in a better more reliable way by not relying on the |
824 |
|
current status to determine what needs to change. |
825 |
|
|
826 |
|
* Thuban/UI/main.py (wxCHECK_VERSION): Removed. Not needed. |
827 |
|
(verify_versions): Remove most of the code since it is |
828 |
|
now in Thuban.version.verify_versions.o |
829 |
|
|
830 |
|
* Thuban/UI/mainwindow.py (MainWindow.About): Call new |
831 |
|
About box in Thuban.UI.about. |
832 |
|
|
833 |
|
* extensions/thuban/gdalwarp.cpp (get_gdal_version): New. |
834 |
|
Returns the version of gdal library being used as a string. |
835 |
|
|
836 |
|
* extensions/thuban/wxproj.cpp (check_version, check_version_gtk): |
837 |
|
Removed. |
838 |
|
(get_proj_version): Return the version of PROJ that the file |
839 |
|
was compiled with. |
840 |
|
(get_gtk_version): Return th version of GTK that the file |
841 |
|
was compiled with. |
842 |
|
|
843 |
|
2003-06-25 Jonathan Coles <[email protected]> |
844 |
|
|
845 |
|
* Thuban/UI/classifier.py (Classifier.EditSymbol): The parent |
846 |
|
of the SelectPropertiesDialog should be self so the window |
847 |
|
appears on top. |
848 |
|
(ClassGroupPropertiesCtrl.DoEdit): The parent |
849 |
|
of the SelectPropertiesDialog should be self so the window |
850 |
|
appears on top. |
851 |
|
|
852 |
|
* Thuban/UI/resource.py: Cleaned up how we determine file |
853 |
|
extensions. |
854 |
|
(GetImageResource): Return an wxImage from our Resources. |
855 |
|
|
856 |
|
2003-06-24 Jonathan Coles <[email protected]> |
857 |
|
|
858 |
|
* Thuban/UI/renderer.py (ExportRenderer.render_legend): |
859 |
|
Check that a layer has a classification before trying |
860 |
|
to get it. Raster layers don't have classifications. |
861 |
|
|
862 |
|
2003-06-23 Jonathan Coles <[email protected]> |
863 |
|
|
864 |
|
* setup.py: Add Resources/XML to resource list. |
865 |
|
|
866 |
|
2003-06-23 Jonathan Coles <[email protected]> |
867 |
|
|
868 |
|
* setup.cfg: Fix copyright dates |
869 |
|
|
870 |
|
2003-06-23 Jonathan Coles <[email protected]> |
871 |
|
|
872 |
|
* MANIFEST.in: Update with Resources/XML |
873 |
|
|
874 |
|
* setup.py: Don't include Locale resources yet as we don't |
875 |
|
have any and it causes problems building the distribution |
876 |
|
for Windows. Update version to 0.8.0. |
877 |
|
|
878 |
|
* Doc/thuban.dtd: Removed since it is now in Resources/XML. |
879 |
|
|
880 |
|
* Thuban/UI/mainwindow.py: Add blank line at the end because |
881 |
|
file was not being read correctly building the Windows |
882 |
|
distribution. |
883 |
|
|
884 |
|
2003-06-23 Jonathan Coles <[email protected]> |
885 |
|
|
886 |
|
* Thuban/UI/mainwindow.py (MainWindow.About): Fix text. |
887 |
|
|
888 |
|
* Thuban/version.py: Temporarily update longversion for |
889 |
|
the 0.8 release so that it doesn't have the cvs revision. |
890 |
|
|
891 |
|
2003-06-23 Jonathan Coles <[email protected]> |
892 |
|
|
893 |
|
* Thuban/UI/common.py (ThubanBeginBusyCursor): Call wxSafeYield |
894 |
|
to make sure that we don't create reentrant possibilities with |
895 |
|
wxYield. |
896 |
|
|
897 |
|
* Thuban/UI/view.py (MapCanvas.OnPaint): Call wxBeginBusyCursor() |
898 |
|
directly to avoid the wxSafeYield() call which generates an |
899 |
|
OnPaint event causing infinite recursion. Don't try to catch |
900 |
|
exception anymore. This was for before there were limits on map |
901 |
|
scaling. |
902 |
|
|
903 |
|
2003-06-23 Bernhard Herzog <[email protected]> |
904 |
|
|
905 |
|
Bug fix for RT #1961: |
906 |
|
|
907 |
|
* Thuban/Model/load.py (SessionLoader.start_derivedshapesource): |
908 |
|
Register DerivedShapestores with the session |
909 |
|
|
910 |
|
* Thuban/Model/session.py (Session.Tables): Make sure each table |
911 |
|
is only listed once. |
912 |
|
|
913 |
|
* test/test_load.py (TestJoinedTable.test): Add check_format call. |
914 |
|
Update file contents to match the one written out. |
915 |
|
|
916 |
|
2003-06-20 Bernhard Herzog <[email protected]> |
917 |
|
|
918 |
|
* test/xmlsupport.py (SaxEventLister.startElementNS) |
919 |
|
(SaxEventLister.endElementNS): Do not include the qname. Python |
920 |
|
2.2.1 and 2.2.2 and 2.2.3 differ in this regard. In 2.2.1 qname it |
921 |
|
is (presumably incorrectly) None, whereas it's a string with the |
922 |
|
element name in the later versions. |
923 |
|
|
924 |
|
* test/test_xmlsupport.py (TestEventList.test_even_list_simple) |
925 |
|
(TestEventList.test_even_list_namespace): Update tests to reflect |
926 |
|
the new behaviour |
927 |
|
(TestEventList.test_even_list_id_normalization): Fix doc-string |
928 |
|
|
929 |
|
2003-06-20 Jonathan Coles <[email protected]> |
930 |
|
|
931 |
|
* Thuban/Model/layer.py (BaseLayer.HasShapes): New. Overridden |
932 |
|
by deriving classes to determine if that layer supports shapes. |
933 |
|
(Layer): Override HasShapes and return true. |
934 |
|
|
935 |
|
* Thuban/UI/classgen.py: Use Thuban[Begin|End]BusyCursor() |
936 |
|
instead of a direct call to wx[Begin|End]CusyCursor(). |
937 |
|
(GenUniquePanel._OnRetrieve): Set busy cursor while retrieving |
938 |
|
table data. |
939 |
|
|
940 |
|
* Thuban/UI/common.py (ThubanBeginBusyCursor, ThubanEndBusyCursor): |
941 |
|
New. Wrappers around the wxWindows functions that allow us to |
942 |
|
make additional calls such as wxYield which gives the native |
943 |
|
system a chance to update the cursor correctly. |
944 |
|
|
945 |
|
* Thuban/UI/tableview.py: Use Thuban[Begin|End]BusyCursor() |
946 |
|
instead of a direct call to wx[Begin|End]CusyCursor(). |
947 |
|
|
948 |
|
* Thuban/UI/view.py: Use Thuban[Begin|End]BusyCursor() |
949 |
|
instead of a direct call to wx[Begin|End]CusyCursor(). |
950 |
|
(MapCanvas.find_shape_at): Check if the current search layer |
951 |
|
support shapes, otherwise go on to the next layer. |
952 |
|
|
953 |
|
* test/test_layer.py: Add tests in each type of layer for |
954 |
|
HasClassification() and HasShapes() |
955 |
|
|
956 |
2003-06-20 Jonathan Coles <[email protected]> |
2003-06-20 Jonathan Coles <[email protected]> |
957 |
|
|
958 |
* Thuban/UI/view.py (MapCanvas.OnPaint): Call wxYield after |
* Thuban/UI/view.py (MapCanvas.OnPaint): Call wxYield after |