/[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 205 by bh, Tue Jul 9 14:02:40 2002 UTC revision 243 by bh, Wed Jul 24 17:16:41 2002 UTC
# Line 1  Line 1 
1    2002-07-24  Bernhard Herzog  <[email protected]>
2    
3            * Thuban/UI/application.py (ThubanApplication.create_session):
4            Extend the doc string.
5            (ThubanApplication.subscribe_session)
6            (ThubanApplication.unsubscribe_session): New methods to
7            subscribe/unsubscribe to/from session channels.
8            (ThubanApplication.SetSession): Call the new methods here.
9            (ThubanApplication.maps_changed, ThubanApplication.set_map):
10            Renamed set_map to maps_changed. Its now a subscriber for
11            MAPS_CHANGED.
12    
13            * Thuban/UI/view.py (ZoomOutTool.MouseUp): Use the correct
14            x-coordinate in case of simple clicks
15    
16            * Thuban/Model/base.py (Modifiable.changed): Apply the args tuple,
17            don't pass it as a parameter
18    
19            * Thuban/Model/session.py (Session.RemoveMap): New
20    
21            * Thuban/UI/mainwindow.py (MainWindow.__init__): Turn the initial
22            window size into a parameter.
23    
24    2002-07-23  Bernhard Herzog  <[email protected]>
25    
26            * Thuban/UI/menu.py (Menu.item_index): Also search for menus not
27            just commands.
28    
29            * Thuban/UI/mainwindow.py (MainWindow.__init__): Change the
30            parameter list a bit to allow setting the window title and the
31            initial message in the status bar. Update the callers.
32    
33            * Thuban/UI/application.py (ThubanApplication.OnInit)
34            (ThubanApplication.CreateMainWindow): Put the mainwindow
35            instantiation into a separate method so that it can be overridden
36            by a subclass.
37    
38    2002-07-19  Bernhard Herzog  <[email protected]>
39    
40            * Thuban/Model/session.py: Issue a CHANGED message every time
41            another changed message is issued to make it easier to get
42            notified of changes.
43            (Session): Update the doc string
44            (Session.forward): Issue changed-events as CHANGED as well.
45            (Session.changed): Overwrite the inherited version to issue
46            CHANGED events as well.
47    
48            * Thuban/UI/tree.py: We can now simply subscribe to the session's
49            CHANGED channel to be informed of changes.
50            (SessionTreeCtrl.session_channels): Not needed any longer.
51            (SessionTreeCtrl.unsubscribe_all, SessionTreeCtrl.session_changed):
52            Only have to (un)subscribe CHANGED
53    
54            * Thuban/Model/map.py (Map.TreeInfo): Deal better with empty maps.
55    
56            * Thuban/UI/main.py, Thuban/UI/__init__.py: Move the work-around
57            for the wxPython locale bug to __init__.py so that it's
58            automatically executed by anybody using UI code from Thuban.
59    
60    2002-07-18  Bernhard Herzog  <[email protected]>
61    
62            * Thuban/UI/main.py (main): app no longer needs to be global
63    
64            * Thuban/UI/mainwindow.py (MainWindow.__init__): Add application
65            as parameter and store it in an instance variable
66            (MainWindow.invoke_command, MainWindow.update_command_ui)
67            (MainWindow.save_modified_session, MainWindow.NewSession)
68            (MainWindow.OpenSession, MainWindow.SaveSession)
69            (MainWindow.SaveSessionAs, MainWindow.ShowSessionTree): Use self's
70            application object.
71    
72            * Thuban/UI/application.py (ThubanApplication.OnInit): Instantiate
73            the main window with self.
74    
75            * Thuban/UI/context.py: New module with the context class
76    
77            * Thuban/UI/command.py (Command): Update doc string.
78    
79            * Thuban/UI/mainwindow.py (MainWindow.invoke_command,
80            MainWindow.update_command_ui): Pass an instance of the context
81            class to the command's methods
82            (check_current_tool, call_method): Handle the new context
83            implementation
84    
85            * Examples/simple_extensions/simple_tool.py (simple_tool,
86            check_simple_tool): Handle the new context implementation
87    
88            * Examples/simple_extensions/simple_command.py (simple_command):
89            Handle the new context implementation. Update the comments about
90            the context.
91    
92            * Thuban/UI/application.py (ThubanApplication.SetSession): Add
93            doc-string
94            (ThubanApplication.Session): New method to return the session
95            object
96    
97            * Thuban/UI/tree.py (SessionTreeCtrl.update_tree): The
98            interactor's selected_layer may not be a layer of the current
99            session when the tree is updated while a new session is being set.
100    
101    2002-07-17  Bernhard Herzog  <[email protected]>
102    
103            * Thuban/UI/tree.py (color_string): Removed. No longer used.
104            (SessionTreeCtrl.update_tree, SessionTreeCtrl.add_items): Split
105            update_tree into update_tree and add_items. The tree now uses a
106            more generic way to display the contents of the tree.
107            (SessionTreeCtrl): Add a doc string explaining the TreeInfo method
108    
109            * Thuban/Model/layer.py (Layer.TreeInfo),
110            Thuban/Model/extension.py (Extension.TreeInfo),
111            Thuban/Model/map.py (Map.TreeInfo),
112            Thuban/Model/session.py (Session.TreeInfo):
113            Add TreeInfo methods to implement the new tree view update scheme
114    
115    2002-07-16  Bernhard Herzog  <[email protected]>
116    
117            * Thuban/UI/application.py: Don't use "import from" for the
118            MainWindow. It can't always be resolved.
119            (ThubanApplication.OnInit): change reference to MainWindow
120            accordingly.
121    
122            * Thuban/UI/menu.py (Menu.SetItems): New method to replace a menu
123            completely
124    
125    2002-07-10  Bernhard Herzog  <[email protected]>
126    
127            * setup.py (create_init_module): New configurable variable whose
128            default depends on the platform we're running on.
129            (ThubanInstall.initialize_options): Initialize
130            self.create_init_module from the global create_init_module
131            (ThubanInstall.user_options): indictate that the options
132            create-init-module and init-module-dir have arguments.
133    
134            * setup.py: In the setup call change the version number to include
135            cvs.
136    
137            * MANIFEST.in: Add the files in Examples
138    
139  2002-07-09  Bernhard Herzog  <[email protected]>  2002-07-09  Bernhard Herzog  <[email protected]>
140    
141            * setup.py: In the setup call, use the thuban homepage as the
142            value of the url parameter.
143    
144            * Examples: New subdirectory for examples.
145    
146            * Examples/simple_extensions/simple_tool.xpm,
147            Examples/simple_extensions/simple_tool.py,
148            Examples/simple_extensions/simple_command.py,
149            Examples/simple_extensions/README: Simple examples showing how to
150            add new commands and tools.
151    
152            * setup.cfg (bdist_rpm): Add the default value for prefix and tell
153            bdist_rpm that we also have an install script.
154            (bdist_inno): Add 2002 to the copyright notice.
155    
156          * setup.py: Create a file in python's site-packages directory to          * setup.py: Create a file in python's site-packages directory to
157          make installation of Thuban as a library easier.          make installation of Thuban as a library easier.
158          (ThubanInstall.user_options): Add two new options,          (ThubanInstall.user_options): Add two new options,

Legend:
Removed from v.205  
changed lines
  Added in v.243

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26