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