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

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26