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

Legend:
Removed from v.202  
changed lines
  Added in v.237

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26