1 |
|
2003-04-03 Bernhard Herzog <[email protected]> |
2 |
|
|
3 |
|
* test/support.py (print_garbage_information): New function that |
4 |
|
prints information about still connected messages and memory |
5 |
|
leaks. |
6 |
|
(run_suite): Removed. |
7 |
|
(run_tests): New function for use as a replacement of |
8 |
|
unittest.main in the test_* files. This one calls |
9 |
|
print_garbage_information at the end. |
10 |
|
|
11 |
|
* test/runtests.py (main): Use support.print_garbage_information |
12 |
|
|
13 |
|
* test/test_layer.py: Use support.run_tests instead of |
14 |
|
unittest.main so we get memory leak information |
15 |
|
(TestLayer.test_arc_layer, TestLayer.test_polygon_layer) |
16 |
|
(TestLayer.test_point_layer, TestLayer.test_empty_layer) |
17 |
|
(TestLayerLegend.test_visibility): Call the layer's Destroy method |
18 |
|
to fix a memory leak. |
19 |
|
|
20 |
|
* test/test_classification.py: Use support.run_tests instead of |
21 |
|
unittest.main so we get memory leak information |
22 |
|
(TestClassification.test_classification): Call the layer's Destroy |
23 |
|
method to fix a memory leak. |
24 |
|
|
25 |
|
2003-04-02 Bernhard Herzog <[email protected]> |
26 |
|
|
27 |
|
* extensions/thuban/wxproj.cpp (check_version, check_version_gtk): |
28 |
|
Handle the reference counts of the return value and errors in |
29 |
|
PyArg_ParseTuple correctly. |
30 |
|
|
31 |
|
* Thuban/UI/application.py (ThubanApplication.OpenSession): Make |
32 |
|
sure the filename is absolute to avoid problems when saving the |
33 |
|
session again |
34 |
|
|
35 |
|
* Thuban/Model/table.py: Remove unnecessary import. Fix a typo. |
36 |
|
|
37 |
2003-04-01 Jonathan Coles <[email protected]> |
2003-04-01 Jonathan Coles <[email protected]> |
38 |
|
|
39 |
* Thuban/UI/renderer.pyi (MapRenderer.draw_point_shape): Check |
* Thuban/UI/renderer.py (MapRenderer.draw_point_shape): Check |
40 |
that there actually are points in the returned list of points |
that there actually are points in the returned list of points |
41 |
before trying to index into the list. The list may be empty if |
before trying to index into the list. The list may be empty if |
42 |
the shape is a Null Shape. |
the shape is a Null Shape. |