1 |
|
2003-04-04 Jonathan Coles <[email protected]> |
2 |
|
|
3 |
|
* Thuban/Model/classification.py: Fix assert calls. |
4 |
|
(ClassGroupProperties.SetLineColor, ClassGroupProperties.SetFill): |
5 |
|
Copy the color parameter rather than hold onto a reference. |
6 |
|
|
7 |
|
* Thuban/Model/color.py (Color.__copy__, Color.__deepcopy): Copy |
8 |
|
the color object. |
9 |
|
(NoColor.__copy__, NoColor.__deepcopy): Return 'self' so that we |
10 |
|
are sure there exists only one refernce to Color.None in the system. |
11 |
|
This allows us to use 'is' rather than the comparision functions. |
12 |
|
|
13 |
|
* Thuban/Model/save.py: Fix assert calls. |
14 |
|
|
15 |
|
* Thuban/UI/classifier.py: Fix assert calls. |
16 |
|
(ClassGrid._OnCellDClick): Call up to the classifier to open the |
17 |
|
dialog to edit the groups properties. |
18 |
|
(ClassGrid._OnCellResize): Make sure that the scollbars are drawn |
19 |
|
correctly if a cell is resized. |
20 |
|
(ClassTable.SetClassification): New. Changes the classification |
21 |
|
that is in the table. |
22 |
|
(ClassTable.__SetRow): Allow groups to be prepended. |
23 |
|
(Classifier): New code for opening the EditProperties and |
24 |
|
GenerateRanges dialogs. |
25 |
|
(SelectPropertiesDialog.__GetColor): Only set the color in the |
26 |
|
color dialog if the current color is not None. |
27 |
|
|
28 |
|
* Thuban/UI/dock.py: Fix assert calls. |
29 |
|
|
30 |
|
* Thuban/UI/legend.py: Fix assert calls. |
31 |
|
|
32 |
|
* Thuban/UI/renderer.py: Fix assert calls. |
33 |
|
|
34 |
|
* Thuban/UI/classgen.py (ClassGenDialog): Dialog for generating |
35 |
|
classifications. |
36 |
|
(GenRangePanel): Panel specific to range generation. |
37 |
|
(GenSingletonPanel): Panel specific to singleton generation. |
38 |
|
(ClassGenerator): Class responsible for actually generating |
39 |
|
the classification from the data gathered in the dialog box. |
40 |
|
(PropertyRamp): Generates properties whose values range from |
41 |
|
a starting property to an ending property. |
42 |
|
|
43 |
|
2003-04-03 Bernhard Herzog <[email protected]> |
44 |
|
|
45 |
|
* test/support.py (print_garbage_information): New function that |
46 |
|
prints information about still connected messages and memory |
47 |
|
leaks. |
48 |
|
(run_suite): Removed. |
49 |
|
(run_tests): New function for use as a replacement of |
50 |
|
unittest.main in the test_* files. This one calls |
51 |
|
print_garbage_information at the end. |
52 |
|
|
53 |
|
* test/runtests.py (main): Use support.print_garbage_information |
54 |
|
|
55 |
|
* test/test_layer.py: Use support.run_tests instead of |
56 |
|
unittest.main so we get memory leak information |
57 |
|
(TestLayer.test_arc_layer, TestLayer.test_polygon_layer) |
58 |
|
(TestLayer.test_point_layer, TestLayer.test_empty_layer) |
59 |
|
(TestLayerLegend.test_visibility): Call the layer's Destroy method |
60 |
|
to fix a memory leak. |
61 |
|
|
62 |
|
* test/test_classification.py: Use support.run_tests instead of |
63 |
|
unittest.main so we get memory leak information |
64 |
|
(TestClassification.test_classification): Call the layer's Destroy |
65 |
|
method to fix a memory leak. |
66 |
|
|
67 |
|
2003-04-02 Bernhard Herzog <[email protected]> |
68 |
|
|
69 |
|
* extensions/thuban/wxproj.cpp (check_version, check_version_gtk): |
70 |
|
Handle the reference counts of the return value and errors in |
71 |
|
PyArg_ParseTuple correctly. |
72 |
|
|
73 |
|
* Thuban/UI/application.py (ThubanApplication.OpenSession): Make |
74 |
|
sure the filename is absolute to avoid problems when saving the |
75 |
|
session again |
76 |
|
|
77 |
|
* Thuban/Model/table.py: Remove unnecessary import. Fix a typo. |
78 |
|
|
79 |
|
2003-04-01 Jonathan Coles <[email protected]> |
80 |
|
|
81 |
|
* Thuban/UI/renderer.py (MapRenderer.draw_point_shape): Check |
82 |
|
that there actually are points in the returned list of points |
83 |
|
before trying to index into the list. The list may be empty if |
84 |
|
the shape is a Null Shape. |
85 |
|
|
86 |
2003-04-01 Bernhard Herzog <[email protected]> |
2003-04-01 Bernhard Herzog <[email protected]> |
87 |
|
|
88 |
* test/test_map.py: Don't use from <module> import * |
* test/test_map.py: Don't use from <module> import * |