/[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 217 by bh, Wed Jul 17 10:50:40 2002 UTC revision 263 by bh, Thu Aug 15 17:45:19 2002 UTC
# Line 1  Line 1 
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]>
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
95            window size into a parameter.
96    
97    2002-07-23  Bernhard Herzog  <[email protected]>
98    
99            * Thuban/UI/menu.py (Menu.item_index): Also search for menus not
100            just commands.
101    
102            * Thuban/UI/mainwindow.py (MainWindow.__init__): Change the
103            parameter list a bit to allow setting the window title and the
104            initial message in the status bar. Update the callers.
105    
106            * Thuban/UI/application.py (ThubanApplication.OnInit)
107            (ThubanApplication.CreateMainWindow): Put the mainwindow
108            instantiation into a separate method so that it can be overridden
109            by a subclass.
110    
111    2002-07-19  Bernhard Herzog  <[email protected]>
112    
113            * Thuban/Model/session.py: Issue a CHANGED message every time
114            another changed message is issued to make it easier to get
115            notified of changes.
116            (Session): Update the doc string
117            (Session.forward): Issue changed-events as CHANGED as well.
118            (Session.changed): Overwrite the inherited version to issue
119            CHANGED events as well.
120    
121            * Thuban/UI/tree.py: We can now simply subscribe to the session's
122            CHANGED channel to be informed of changes.
123            (SessionTreeCtrl.session_channels): Not needed any longer.
124            (SessionTreeCtrl.unsubscribe_all, SessionTreeCtrl.session_changed):
125            Only have to (un)subscribe CHANGED
126    
127            * Thuban/Model/map.py (Map.TreeInfo): Deal better with empty maps.
128    
129            * Thuban/UI/main.py, Thuban/UI/__init__.py: Move the work-around
130            for the wxPython locale bug to __init__.py so that it's
131            automatically executed by anybody using UI code from Thuban.
132    
133    2002-07-18  Bernhard Herzog  <[email protected]>
134    
135            * Thuban/UI/main.py (main): app no longer needs to be global
136    
137            * Thuban/UI/mainwindow.py (MainWindow.__init__): Add application
138            as parameter and store it in an instance variable
139            (MainWindow.invoke_command, MainWindow.update_command_ui)
140            (MainWindow.save_modified_session, MainWindow.NewSession)
141            (MainWindow.OpenSession, MainWindow.SaveSession)
142            (MainWindow.SaveSessionAs, MainWindow.ShowSessionTree): Use self's
143            application object.
144    
145            * Thuban/UI/application.py (ThubanApplication.OnInit): Instantiate
146            the main window with self.
147    
148            * Thuban/UI/context.py: New module with the context class
149    
150            * Thuban/UI/command.py (Command): Update doc string.
151    
152            * Thuban/UI/mainwindow.py (MainWindow.invoke_command,
153            MainWindow.update_command_ui): Pass an instance of the context
154            class to the command's methods
155            (check_current_tool, call_method): Handle the new context
156            implementation
157    
158            * Examples/simple_extensions/simple_tool.py (simple_tool,
159            check_simple_tool): Handle the new context implementation
160    
161            * Examples/simple_extensions/simple_command.py (simple_command):
162            Handle the new context implementation. Update the comments about
163            the context.
164    
165            * Thuban/UI/application.py (ThubanApplication.SetSession): Add
166            doc-string
167            (ThubanApplication.Session): New method to return the session
168            object
169    
170            * Thuban/UI/tree.py (SessionTreeCtrl.update_tree): The
171            interactor's selected_layer may not be a layer of the current
172            session when the tree is updated while a new session is being set.
173    
174  2002-07-17  Bernhard Herzog  <[email protected]>  2002-07-17  Bernhard Herzog  <[email protected]>
175    
176          * Thuban/UI/tree.py (color_string): Removed. No longer used.          * Thuban/UI/tree.py (color_string): Removed. No longer used.

Legend:
Removed from v.217  
changed lines
  Added in v.263

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26