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

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26