/[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 225 by bh, Thu Jul 18 13:04:39 2002 UTC revision 247 by bh, Mon Jul 29 13:38:13 2002 UTC
# Line 1  Line 1 
1    2002-07-29  Bernhard Herzog  <[email protected]>
2    
3            * Thuban/Model/map.py (Map.subscribe_layer_channels)
4            (Map.unsubscribe_layer_channels): Put the code that (un)subscribes
5            to a layer's channels into separate methods.
6            (Map.RemoveLayer, Map.AddLayer): Call the new methods
7            (Map.Destroy): Unsubscribe from a layer's channels before
8            destroying it.
9    
10            * Thuban/UI/view.py (MapCanvas.find_shape_at): Change the
11            selected_layer parameter to searched_layer which is the layer to
12            search in.
13            (MapCanvas.SelectShapeAt): New parameter layer to restrict the
14            search to that layer. Return the selected layer and shape.
15    
16            * Examples/simple_extensions/simple_tool.py (simple_tool): Fix a
17            typo
18    
19    2002-07-24  Bernhard Herzog  <[email protected]>
20    
21            * Thuban/UI/application.py (ThubanApplication.create_session):
22            Extend the doc string.
23            (ThubanApplication.subscribe_session)
24            (ThubanApplication.unsubscribe_session): New methods to
25            subscribe/unsubscribe to/from session channels.
26            (ThubanApplication.SetSession): Call the new methods here.
27            (ThubanApplication.maps_changed, ThubanApplication.set_map):
28            Renamed set_map to maps_changed. Its now a subscriber for
29            MAPS_CHANGED.
30    
31            * Thuban/UI/view.py (ZoomOutTool.MouseUp): Use the correct
32            x-coordinate in case of simple clicks
33    
34            * Thuban/Model/base.py (Modifiable.changed): Apply the args tuple,
35            don't pass it as a parameter
36    
37            * Thuban/Model/session.py (Session.RemoveMap): New
38    
39            * Thuban/UI/mainwindow.py (MainWindow.__init__): Turn the initial
40            window size into a parameter.
41    
42    2002-07-23  Bernhard Herzog  <[email protected]>
43    
44            * Thuban/UI/menu.py (Menu.item_index): Also search for menus not
45            just commands.
46    
47            * Thuban/UI/mainwindow.py (MainWindow.__init__): Change the
48            parameter list a bit to allow setting the window title and the
49            initial message in the status bar. Update the callers.
50    
51            * Thuban/UI/application.py (ThubanApplication.OnInit)
52            (ThubanApplication.CreateMainWindow): Put the mainwindow
53            instantiation into a separate method so that it can be overridden
54            by a subclass.
55    
56    2002-07-19  Bernhard Herzog  <[email protected]>
57    
58            * Thuban/Model/session.py: Issue a CHANGED message every time
59            another changed message is issued to make it easier to get
60            notified of changes.
61            (Session): Update the doc string
62            (Session.forward): Issue changed-events as CHANGED as well.
63            (Session.changed): Overwrite the inherited version to issue
64            CHANGED events as well.
65    
66            * Thuban/UI/tree.py: We can now simply subscribe to the session's
67            CHANGED channel to be informed of changes.
68            (SessionTreeCtrl.session_channels): Not needed any longer.
69            (SessionTreeCtrl.unsubscribe_all, SessionTreeCtrl.session_changed):
70            Only have to (un)subscribe CHANGED
71    
72            * Thuban/Model/map.py (Map.TreeInfo): Deal better with empty maps.
73    
74            * Thuban/UI/main.py, Thuban/UI/__init__.py: Move the work-around
75            for the wxPython locale bug to __init__.py so that it's
76            automatically executed by anybody using UI code from Thuban.
77    
78  2002-07-18  Bernhard Herzog  <[email protected]>  2002-07-18  Bernhard Herzog  <[email protected]>
79    
80            * Thuban/UI/main.py (main): app no longer needs to be global
81    
82            * Thuban/UI/mainwindow.py (MainWindow.__init__): Add application
83            as parameter and store it in an instance variable
84            (MainWindow.invoke_command, MainWindow.update_command_ui)
85            (MainWindow.save_modified_session, MainWindow.NewSession)
86            (MainWindow.OpenSession, MainWindow.SaveSession)
87            (MainWindow.SaveSessionAs, MainWindow.ShowSessionTree): Use self's
88            application object.
89    
90            * Thuban/UI/application.py (ThubanApplication.OnInit): Instantiate
91            the main window with self.
92    
93          * Thuban/UI/context.py: New module with the context class          * Thuban/UI/context.py: New module with the context class
94    
95          * Thuban/UI/command.py (Command): Update doc string.          * Thuban/UI/command.py (Command): Update doc string.

Legend:
Removed from v.225  
changed lines
  Added in v.247

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26