/[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 210 by bh, Tue Jul 9 16:17:38 2002 UTC revision 259 by bh, Thu Aug 15 12:48:13 2002 UTC
# Line 1  Line 1 
1    2002-08-15  Bernhard Herzog  <[email protected]>
2    
3            * Thuban/Model/layer.py (Layer.Destroy): New. Explicitly close the
4            shapefile and destroy the table.
5    
6            * Thuban/Model/table.py (Table.Destroy): New. Close the DBF file.
7    
8    2002-08-14  Bernhard Herzog  <[email protected]>
9    
10            * Thuban/UI/controls.py (RecordTable.__init__): Remove the unused
11            instance variable columns
12            (RecordTable.GetTypeName): row and col may be negative in some
13            cases.
14    
15            * setup.py (InstallLocal.initialize_options)
16            (InstallLocal.finalize_options, InstallLocal.user_options): New
17            option create-init-file to build a thubaninit.py when running
18            install_local
19            (InstallLocal.run): Create the thubaninit.py module when requested
20            (thubaninit_contents): Split the template into several parts and
21            create a new function thubaninit_contents that creates the
22            contents of a thubaninit module.
23            (ThubanInstall.run): Use the new function to create the thubaninit
24            module.
25    
26    2002-07-30  Bernhard Herzog  <[email protected]>
27    
28            * Thuban/UI/application.py (ThubanApplication.OnExit): Do some
29            cleanup.
30            (ThubanApplication.MainLoop): Extend to automatically call OnExit.
31    
32            * Thuban/Model/session.py (Session.Destroy): Don't bypass the
33            direct base class' Destroy method.
34    
35            * Thuban/Model/map.py (Map.ClearLayers): New method to delete all
36            layers.
37            (Map.Destroy): Destroy the label_layer as well and call the
38            inherited Desatroymethod first so that no more messages are
39            issued.
40            (Map.RaiseLayer, Map.LowerLayer): Only issue LAYERS_CHANGED
41            message if the stacking order actually has changed. Add
42            doc-strings.
43            (Map.BoundingBox): Correct the doc-string.
44            (Map.AddLayer, Map.RemoveLayer, Map.Layers, Map.HasLayers)
45            (Map.ProjectedBoundingBox, Map.SetProjection): Add doc-strings.
46    
47            * Thuban/Model/label.py (LabelLayer.ClearLabels): New to delete
48            all labels.
49    
50    2002-07-29  Bernhard Herzog  <[email protected]>
51    
52            * Thuban/Model/map.py (Map.subscribe_layer_channels)
53            (Map.unsubscribe_layer_channels): Put the code that (un)subscribes
54            to a layer's channels into separate methods.
55            (Map.RemoveLayer, Map.AddLayer): Call the new methods
56            (Map.Destroy): Unsubscribe from a layer's channels before
57            destroying it.
58    
59            * Thuban/UI/view.py (MapCanvas.find_shape_at): Change the
60            selected_layer parameter to searched_layer which is the layer to
61            search in.
62            (MapCanvas.SelectShapeAt): New parameter layer to restrict the
63            search to that layer. Return the selected layer and shape.
64    
65            * Examples/simple_extensions/simple_tool.py (simple_tool): Fix a
66            typo
67    
68    2002-07-24  Bernhard Herzog  <[email protected]>
69    
70            * Thuban/UI/application.py (ThubanApplication.create_session):
71            Extend the doc string.
72            (ThubanApplication.subscribe_session)
73            (ThubanApplication.unsubscribe_session): New methods to
74            subscribe/unsubscribe to/from session channels.
75            (ThubanApplication.SetSession): Call the new methods here.
76            (ThubanApplication.maps_changed, ThubanApplication.set_map):
77            Renamed set_map to maps_changed. Its now a subscriber for
78            MAPS_CHANGED.
79    
80            * Thuban/UI/view.py (ZoomOutTool.MouseUp): Use the correct
81            x-coordinate in case of simple clicks
82    
83            * Thuban/Model/base.py (Modifiable.changed): Apply the args tuple,
84            don't pass it as a parameter
85    
86            * Thuban/Model/session.py (Session.RemoveMap): New
87    
88            * Thuban/UI/mainwindow.py (MainWindow.__init__): Turn the initial
89            window size into a parameter.
90    
91    2002-07-23  Bernhard Herzog  <[email protected]>
92    
93            * Thuban/UI/menu.py (Menu.item_index): Also search for menus not
94            just commands.
95    
96            * Thuban/UI/mainwindow.py (MainWindow.__init__): Change the
97            parameter list a bit to allow setting the window title and the
98            initial message in the status bar. Update the callers.
99    
100            * Thuban/UI/application.py (ThubanApplication.OnInit)
101            (ThubanApplication.CreateMainWindow): Put the mainwindow
102            instantiation into a separate method so that it can be overridden
103            by a subclass.
104    
105    2002-07-19  Bernhard Herzog  <[email protected]>
106    
107            * Thuban/Model/session.py: Issue a CHANGED message every time
108            another changed message is issued to make it easier to get
109            notified of changes.
110            (Session): Update the doc string
111            (Session.forward): Issue changed-events as CHANGED as well.
112            (Session.changed): Overwrite the inherited version to issue
113            CHANGED events as well.
114    
115            * Thuban/UI/tree.py: We can now simply subscribe to the session's
116            CHANGED channel to be informed of changes.
117            (SessionTreeCtrl.session_channels): Not needed any longer.
118            (SessionTreeCtrl.unsubscribe_all, SessionTreeCtrl.session_changed):
119            Only have to (un)subscribe CHANGED
120    
121            * Thuban/Model/map.py (Map.TreeInfo): Deal better with empty maps.
122    
123            * Thuban/UI/main.py, Thuban/UI/__init__.py: Move the work-around
124            for the wxPython locale bug to __init__.py so that it's
125            automatically executed by anybody using UI code from Thuban.
126    
127    2002-07-18  Bernhard Herzog  <[email protected]>
128    
129            * Thuban/UI/main.py (main): app no longer needs to be global
130    
131            * Thuban/UI/mainwindow.py (MainWindow.__init__): Add application
132            as parameter and store it in an instance variable
133            (MainWindow.invoke_command, MainWindow.update_command_ui)
134            (MainWindow.save_modified_session, MainWindow.NewSession)
135            (MainWindow.OpenSession, MainWindow.SaveSession)
136            (MainWindow.SaveSessionAs, MainWindow.ShowSessionTree): Use self's
137            application object.
138    
139            * Thuban/UI/application.py (ThubanApplication.OnInit): Instantiate
140            the main window with self.
141    
142            * Thuban/UI/context.py: New module with the context class
143    
144            * Thuban/UI/command.py (Command): Update doc string.
145    
146            * Thuban/UI/mainwindow.py (MainWindow.invoke_command,
147            MainWindow.update_command_ui): Pass an instance of the context
148            class to the command's methods
149            (check_current_tool, call_method): Handle the new context
150            implementation
151    
152            * Examples/simple_extensions/simple_tool.py (simple_tool,
153            check_simple_tool): Handle the new context implementation
154    
155            * Examples/simple_extensions/simple_command.py (simple_command):
156            Handle the new context implementation. Update the comments about
157            the context.
158    
159            * Thuban/UI/application.py (ThubanApplication.SetSession): Add
160            doc-string
161            (ThubanApplication.Session): New method to return the session
162            object
163    
164            * Thuban/UI/tree.py (SessionTreeCtrl.update_tree): The
165            interactor's selected_layer may not be a layer of the current
166            session when the tree is updated while a new session is being set.
167    
168    2002-07-17  Bernhard Herzog  <[email protected]>
169    
170            * Thuban/UI/tree.py (color_string): Removed. No longer used.
171            (SessionTreeCtrl.update_tree, SessionTreeCtrl.add_items): Split
172            update_tree into update_tree and add_items. The tree now uses a
173            more generic way to display the contents of the tree.
174            (SessionTreeCtrl): Add a doc string explaining the TreeInfo method
175    
176            * Thuban/Model/layer.py (Layer.TreeInfo),
177            Thuban/Model/extension.py (Extension.TreeInfo),
178            Thuban/Model/map.py (Map.TreeInfo),
179            Thuban/Model/session.py (Session.TreeInfo):
180            Add TreeInfo methods to implement the new tree view update scheme
181    
182    2002-07-16  Bernhard Herzog  <[email protected]>
183    
184            * Thuban/UI/application.py: Don't use "import from" for the
185            MainWindow. It can't always be resolved.
186            (ThubanApplication.OnInit): change reference to MainWindow
187            accordingly.
188    
189            * Thuban/UI/menu.py (Menu.SetItems): New method to replace a menu
190            completely
191    
192    2002-07-10  Bernhard Herzog  <[email protected]>
193    
194            * setup.py (create_init_module): New configurable variable whose
195            default depends on the platform we're running on.
196            (ThubanInstall.initialize_options): Initialize
197            self.create_init_module from the global create_init_module
198            (ThubanInstall.user_options): indictate that the options
199            create-init-module and init-module-dir have arguments.
200    
201            * setup.py: In the setup call change the version number to include
202            cvs.
203    
204            * MANIFEST.in: Add the files in Examples
205    
206  2002-07-09  Bernhard Herzog  <[email protected]>  2002-07-09  Bernhard Herzog  <[email protected]>
207    
208          * setup.py: In the setup call, use the thuban homepage as the          * setup.py: In the setup call, use the thuban homepage as the

Legend:
Removed from v.210  
changed lines
  Added in v.259

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26