/[thuban]/branches/greater-ms3/thuban/ChangeLog
ViewVC logotype

Diff of /branches/greater-ms3/thuban/ChangeLog

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 228 by bh, Thu Jul 18 16:27:20 2002 UTC revision 265 by jan, Fri Aug 16 17:07:36 2002 UTC
# Line 1  Line 1 
1    2002-08-16      Jan-Oliver Wagner <[email protected]>
2    
3            * Thuban/UI/mainwindow.py: menu item 'show session tree' now disable if
4            tree window already open
5    
6    2002-08-15  Bernhard Herzog  <[email protected]>
7    
8            * Thuban/Model/layer.py (Layer.Destroy): Call the unboundd method
9            with self.
10    
11            * Thuban/UI/view.py (MapCanvas.OnLeftUp): Only release the mouse
12            when we have actually captured it.
13    
14            * Thuban/Model/layer.py (Layer.Destroy): New. Explicitly close the
15            shapefile and destroy the table.
16    
17            * Thuban/Model/table.py (Table.Destroy): New. Close the DBF file.
18    
19    2002-08-14  Bernhard Herzog  <[email protected]>
20    
21            * Thuban/UI/controls.py (RecordTable.__init__): Remove the unused
22            instance variable columns
23            (RecordTable.GetTypeName): row and col may be negative in some
24            cases.
25    
26            * setup.py (InstallLocal.initialize_options)
27            (InstallLocal.finalize_options, InstallLocal.user_options): New
28            option create-init-file to build a thubaninit.py when running
29            install_local
30            (InstallLocal.run): Create the thubaninit.py module when requested
31            (thubaninit_contents): Split the template into several parts and
32            create a new function thubaninit_contents that creates the
33            contents of a thubaninit module.
34            (ThubanInstall.run): Use the new function to create the thubaninit
35            module.
36    
37    2002-07-30  Bernhard Herzog  <[email protected]>
38    
39            * Thuban/UI/application.py (ThubanApplication.OnExit): Do some
40            cleanup.
41            (ThubanApplication.MainLoop): Extend to automatically call OnExit.
42    
43            * Thuban/Model/session.py (Session.Destroy): Don't bypass the
44            direct base class' Destroy method.
45    
46            * Thuban/Model/map.py (Map.ClearLayers): New method to delete all
47            layers.
48            (Map.Destroy): Destroy the label_layer as well and call the
49            inherited Desatroymethod first so that no more messages are
50            issued.
51            (Map.RaiseLayer, Map.LowerLayer): Only issue LAYERS_CHANGED
52            message if the stacking order actually has changed. Add
53            doc-strings.
54            (Map.BoundingBox): Correct the doc-string.
55            (Map.AddLayer, Map.RemoveLayer, Map.Layers, Map.HasLayers)
56            (Map.ProjectedBoundingBox, Map.SetProjection): Add doc-strings.
57    
58            * Thuban/Model/label.py (LabelLayer.ClearLabels): New to delete
59            all labels.
60    
61    2002-07-29  Bernhard Herzog  <[email protected]>
62    
63            * Thuban/Model/map.py (Map.subscribe_layer_channels)
64            (Map.unsubscribe_layer_channels): Put the code that (un)subscribes
65            to a layer's channels into separate methods.
66            (Map.RemoveLayer, Map.AddLayer): Call the new methods
67            (Map.Destroy): Unsubscribe from a layer's channels before
68            destroying it.
69    
70            * Thuban/UI/view.py (MapCanvas.find_shape_at): Change the
71            selected_layer parameter to searched_layer which is the layer to
72            search in.
73            (MapCanvas.SelectShapeAt): New parameter layer to restrict the
74            search to that layer. Return the selected layer and shape.
75    
76            * Examples/simple_extensions/simple_tool.py (simple_tool): Fix a
77            typo
78    
79    2002-07-24  Bernhard Herzog  <[email protected]>
80    
81            * Thuban/UI/application.py (ThubanApplication.create_session):
82            Extend the doc string.
83            (ThubanApplication.subscribe_session)
84            (ThubanApplication.unsubscribe_session): New methods to
85            subscribe/unsubscribe to/from session channels.
86            (ThubanApplication.SetSession): Call the new methods here.
87            (ThubanApplication.maps_changed, ThubanApplication.set_map):
88            Renamed set_map to maps_changed. Its now a subscriber for
89            MAPS_CHANGED.
90    
91            * Thuban/UI/view.py (ZoomOutTool.MouseUp): Use the correct
92            x-coordinate in case of simple clicks
93    
94            * Thuban/Model/base.py (Modifiable.changed): Apply the args tuple,
95            don't pass it as a parameter
96    
97            * Thuban/Model/session.py (Session.RemoveMap): New
98    
99            * Thuban/UI/mainwindow.py (MainWindow.__init__): Turn the initial
100            window size into a parameter.
101    
102    2002-07-23  Bernhard Herzog  <[email protected]>
103    
104            * Thuban/UI/menu.py (Menu.item_index): Also search for menus not
105            just commands.
106    
107            * Thuban/UI/mainwindow.py (MainWindow.__init__): Change the
108            parameter list a bit to allow setting the window title and the
109            initial message in the status bar. Update the callers.
110    
111            * Thuban/UI/application.py (ThubanApplication.OnInit)
112            (ThubanApplication.CreateMainWindow): Put the mainwindow
113            instantiation into a separate method so that it can be overridden
114            by a subclass.
115    
116    2002-07-19  Bernhard Herzog  <[email protected]>
117    
118            * Thuban/Model/session.py: Issue a CHANGED message every time
119            another changed message is issued to make it easier to get
120            notified of changes.
121            (Session): Update the doc string
122            (Session.forward): Issue changed-events as CHANGED as well.
123            (Session.changed): Overwrite the inherited version to issue
124            CHANGED events as well.
125    
126            * Thuban/UI/tree.py: We can now simply subscribe to the session's
127            CHANGED channel to be informed of changes.
128            (SessionTreeCtrl.session_channels): Not needed any longer.
129            (SessionTreeCtrl.unsubscribe_all, SessionTreeCtrl.session_changed):
130            Only have to (un)subscribe CHANGED
131    
132            * Thuban/Model/map.py (Map.TreeInfo): Deal better with empty maps.
133    
134            * Thuban/UI/main.py, Thuban/UI/__init__.py: Move the work-around
135            for the wxPython locale bug to __init__.py so that it's
136            automatically executed by anybody using UI code from Thuban.
137    
138  2002-07-18  Bernhard Herzog  <[email protected]>  2002-07-18  Bernhard Herzog  <[email protected]>
139    
140          * Thuban/UI/main.py (main): app no longer needs to be global          * Thuban/UI/main.py (main): app no longer needs to be global

Legend:
Removed from v.228  
changed lines
  Added in v.265

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26