1 |
|
2002-08-14 Bernhard Herzog <[email protected]> |
2 |
|
|
3 |
|
* Thuban/UI/controls.py (RecordTable.__init__): Remove the unused |
4 |
|
instance variable columns |
5 |
|
(RecordTable.GetTypeName): row and col may be negative in some |
6 |
|
cases. |
7 |
|
|
8 |
|
* setup.py (InstallLocal.initialize_options) |
9 |
|
(InstallLocal.finalize_options, InstallLocal.user_options): New |
10 |
|
option create-init-file to build a thubaninit.py when running |
11 |
|
install_local |
12 |
|
(InstallLocal.run): Create the thubaninit.py module when requested |
13 |
|
(thubaninit_contents): Split the template into several parts and |
14 |
|
create a new function thubaninit_contents that creates the |
15 |
|
contents of a thubaninit module. |
16 |
|
(ThubanInstall.run): Use the new function to create the thubaninit |
17 |
|
module. |
18 |
|
|
19 |
|
2002-07-30 Bernhard Herzog <[email protected]> |
20 |
|
|
21 |
|
* Thuban/UI/application.py (ThubanApplication.OnExit): Do some |
22 |
|
cleanup. |
23 |
|
(ThubanApplication.MainLoop): Extend to automatically call OnExit. |
24 |
|
|
25 |
|
* Thuban/Model/session.py (Session.Destroy): Don't bypass the |
26 |
|
direct base class' Destroy method. |
27 |
|
|
28 |
|
* Thuban/Model/map.py (Map.ClearLayers): New method to delete all |
29 |
|
layers. |
30 |
|
(Map.Destroy): Destroy the label_layer as well and call the |
31 |
|
inherited Desatroymethod first so that no more messages are |
32 |
|
issued. |
33 |
|
(Map.RaiseLayer, Map.LowerLayer): Only issue LAYERS_CHANGED |
34 |
|
message if the stacking order actually has changed. Add |
35 |
|
doc-strings. |
36 |
|
(Map.BoundingBox): Correct the doc-string. |
37 |
|
(Map.AddLayer, Map.RemoveLayer, Map.Layers, Map.HasLayers) |
38 |
|
(Map.ProjectedBoundingBox, Map.SetProjection): Add doc-strings. |
39 |
|
|
40 |
|
* Thuban/Model/label.py (LabelLayer.ClearLabels): New to delete |
41 |
|
all labels. |
42 |
|
|
43 |
|
2002-07-29 Bernhard Herzog <[email protected]> |
44 |
|
|
45 |
|
* Thuban/Model/map.py (Map.subscribe_layer_channels) |
46 |
|
(Map.unsubscribe_layer_channels): Put the code that (un)subscribes |
47 |
|
to a layer's channels into separate methods. |
48 |
|
(Map.RemoveLayer, Map.AddLayer): Call the new methods |
49 |
|
(Map.Destroy): Unsubscribe from a layer's channels before |
50 |
|
destroying it. |
51 |
|
|
52 |
|
* Thuban/UI/view.py (MapCanvas.find_shape_at): Change the |
53 |
|
selected_layer parameter to searched_layer which is the layer to |
54 |
|
search in. |
55 |
|
(MapCanvas.SelectShapeAt): New parameter layer to restrict the |
56 |
|
search to that layer. Return the selected layer and shape. |
57 |
|
|
58 |
|
* Examples/simple_extensions/simple_tool.py (simple_tool): Fix a |
59 |
|
typo |
60 |
|
|
61 |
2002-07-24 Bernhard Herzog <[email protected]> |
2002-07-24 Bernhard Herzog <[email protected]> |
62 |
|
|
63 |
|
* Thuban/UI/application.py (ThubanApplication.create_session): |
64 |
|
Extend the doc string. |
65 |
|
(ThubanApplication.subscribe_session) |
66 |
|
(ThubanApplication.unsubscribe_session): New methods to |
67 |
|
subscribe/unsubscribe to/from session channels. |
68 |
|
(ThubanApplication.SetSession): Call the new methods here. |
69 |
|
(ThubanApplication.maps_changed, ThubanApplication.set_map): |
70 |
|
Renamed set_map to maps_changed. Its now a subscriber for |
71 |
|
MAPS_CHANGED. |
72 |
|
|
73 |
|
* Thuban/UI/view.py (ZoomOutTool.MouseUp): Use the correct |
74 |
|
x-coordinate in case of simple clicks |
75 |
|
|
76 |
|
* Thuban/Model/base.py (Modifiable.changed): Apply the args tuple, |
77 |
|
don't pass it as a parameter |
78 |
|
|
79 |
|
* Thuban/Model/session.py (Session.RemoveMap): New |
80 |
|
|
81 |
* Thuban/UI/mainwindow.py (MainWindow.__init__): Turn the initial |
* Thuban/UI/mainwindow.py (MainWindow.__init__): Turn the initial |
82 |
window size into a parameter. |
window size into a parameter. |
83 |
|
|