/[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 184 by bh, Thu May 23 14:59:28 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]>
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
94    
95            * Thuban/UI/command.py (Command): Update doc string.
96    
97            * Thuban/UI/mainwindow.py (MainWindow.invoke_command,
98            MainWindow.update_command_ui): Pass an instance of the context
99            class to the command's methods
100            (check_current_tool, call_method): Handle the new context
101            implementation
102    
103            * Examples/simple_extensions/simple_tool.py (simple_tool,
104            check_simple_tool): Handle the new context implementation
105    
106            * Examples/simple_extensions/simple_command.py (simple_command):
107            Handle the new context implementation. Update the comments about
108            the context.
109    
110            * Thuban/UI/application.py (ThubanApplication.SetSession): Add
111            doc-string
112            (ThubanApplication.Session): New method to return the session
113            object
114    
115            * Thuban/UI/tree.py (SessionTreeCtrl.update_tree): The
116            interactor's selected_layer may not be a layer of the current
117            session when the tree is updated while a new session is being set.
118    
119    2002-07-17  Bernhard Herzog  <[email protected]>
120    
121            * Thuban/UI/tree.py (color_string): Removed. No longer used.
122            (SessionTreeCtrl.update_tree, SessionTreeCtrl.add_items): Split
123            update_tree into update_tree and add_items. The tree now uses a
124            more generic way to display the contents of the tree.
125            (SessionTreeCtrl): Add a doc string explaining the TreeInfo method
126    
127            * Thuban/Model/layer.py (Layer.TreeInfo),
128            Thuban/Model/extension.py (Extension.TreeInfo),
129            Thuban/Model/map.py (Map.TreeInfo),
130            Thuban/Model/session.py (Session.TreeInfo):
131            Add TreeInfo methods to implement the new tree view update scheme
132    
133    2002-07-16  Bernhard Herzog  <[email protected]>
134    
135            * Thuban/UI/application.py: Don't use "import from" for the
136            MainWindow. It can't always be resolved.
137            (ThubanApplication.OnInit): change reference to MainWindow
138            accordingly.
139    
140            * Thuban/UI/menu.py (Menu.SetItems): New method to replace a menu
141            completely
142    
143    2002-07-10  Bernhard Herzog  <[email protected]>
144    
145            * setup.py (create_init_module): New configurable variable whose
146            default depends on the platform we're running on.
147            (ThubanInstall.initialize_options): Initialize
148            self.create_init_module from the global create_init_module
149            (ThubanInstall.user_options): indictate that the options
150            create-init-module and init-module-dir have arguments.
151    
152            * setup.py: In the setup call change the version number to include
153            cvs.
154    
155            * MANIFEST.in: Add the files in Examples
156    
157    2002-07-09  Bernhard Herzog  <[email protected]>
158    
159            * setup.py: In the setup call, use the thuban homepage as the
160            value of the url parameter.
161    
162            * Examples: New subdirectory for examples.
163    
164            * Examples/simple_extensions/simple_tool.xpm,
165            Examples/simple_extensions/simple_tool.py,
166            Examples/simple_extensions/simple_command.py,
167            Examples/simple_extensions/README: Simple examples showing how to
168            add new commands and tools.
169    
170            * setup.cfg (bdist_rpm): Add the default value for prefix and tell
171            bdist_rpm that we also have an install script.
172            (bdist_inno): Add 2002 to the copyright notice.
173    
174            * setup.py: Create a file in python's site-packages directory to
175            make installation of Thuban as a library easier.
176            (ThubanInstall.user_options): Add two new options,
177            create-init-module and init-module-dir
178            (ThubanInstall.expand_with_pure_python_dirs): New method to expand
179            filenames for installation in the default directories.
180            (ThubanInstall.select_scheme, ThubanInstall.convert_paths): Extend
181            the inherited methods to capture some filenames before they're
182            transformed too much by distutils.
183            (ThubanInstall.run): Create the init module if requested.
184            (ThubanInstall.thuban_init_filename): New method to return the
185            full name of the init module.
186            (ThubanInstall.get_outputs): Append the filename of the init
187            module.
188    
189    2002-07-08  Bernhard Herzog  <[email protected]>
190    
191            * setup.py (thuban_bdist_rpm): Extend this version of bdist_rpm to
192            handle the prefix properly which means that the default for the
193            installation prefix should be /usr for RPMs and /usr/local when
194            doing a normal source install.
195            (bdist_rpm_install_script): Script to override the default install
196            commands in the specfile generated by the bdist_rpm command.
197            (thuban_bdist_rpm.user_options): Add a prefix option
198            (thuban_bdist_rpm.initialize_options): Init the prefix option.
199            Create the script files for the spec files as empty files here
200            (thuban_bdist_rpm._make_spec_file): Override the inherited method
201            to fill the script files with content.
202    
203            * Thuban/Model/save.py (relative_filename): Wrapper around
204            Thuban.Lib.fileutil.relative_filename that accepts an empty dir
205            argument. save_session now automatically uses this version,
206            solving a problem when saving to a relative filename.
207    
208            * setup.py: In the setup call, make sure that the library
209            directories are under $prefix/lib not directly under $prefix.
210    
211    2002-06-20      Jan-Oliver Wagner <[email protected]>
212    
213            * Thuban/Model/extension.py: new module to handle extension objects.
214            * Thuban/Model/messages.py: new messages for extensions.
215            * Thuban/Model/session.py (Session.Extensions, Session.HasExtensions,
216            Session.AddExtension): new for handling extensions.
217            Also some other minor changes to round up extension handling.
218            * Thuban/UI/tree.py (SessionTreeCrtl:update_tree): Added visualization
219            of Extension titles and title and names of its objects.
220    
221    2002-05-29  Bernhard Herzog  <[email protected]>
222    
223            * Thuban/UI/mainwindow.py (MainWindow.bind_command_events): Bind
224            the events for a command.
225            (MainWindow.add_toolbar_command, MainWindow.add_menu_command):
226            Call bind_command_events to bind the events. add_toolbar_command
227            can now bind events too so that it's possible to have commands
228            that are only available through the toolbar.
229            (MainWindow.init_ids): New instance variable events_bound to keep
230            track of for which commands events have been bound.
231    
232    2002-05-28  Bernhard Herzog  <[email protected]>
233    
234            * Thuban/UI/menu.py: New module to build and manage menus.
235    
236            * Thuban/UI/mainwindow.py: Remove some unused imports.
237            (MainWindow.__init__, main_menu): move the definition of the main
238            menu from __init__ to the Menu instance main_menu.
239            (MainWindow.build_menu_bar, MainWindow.build_menu): New methods to
240            build the menu bar and sub-menus from a menu description.
241    
242            * Thuban/UI/application.py (ThubanApplication.OnInit): Read the
243            startup file
244            (ThubanApplication.read_startup_files): New method to run
245            ~/.thuban/thubanstart.py
246    
247            * Thuban/UI/mainwindow.py (MainWindow.__init__, main_toolbar):
248            Move the toolbar definition to the Menu instance main_toolbar.
249            (MainWindow.build_toolbar): New method to build the toolbar
250            similar to the build_menu methods
251    
252  2002-05-23  Bernhard Herzog  <[email protected]>  2002-05-23  Bernhard Herzog  <[email protected]>
253    
254            * Thuban/UI/mainwindow.py (MainWindow.__init__): Fix spelling of
255            layer_outline_color. Fix it in the definition of the command too.
256    
257          * Thuban/UI/command.py (Command): Fix typo in doc string          * Thuban/UI/command.py (Command): Fix typo in doc string
258    
259  2002-05-22  Bernhard Herzog  <[email protected]>  2002-05-22  Bernhard Herzog  <[email protected]>

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

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26