/[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 165 by bh, Fri May 10 09:35:06 2002 UTC revision 228 by bh, Thu Jul 18 16:27:20 2002 UTC
# Line 1  Line 1 
1    2002-07-18  Bernhard Herzog  <[email protected]>
2    
3            * Thuban/UI/main.py (main): app no longer needs to be global
4    
5            * Thuban/UI/mainwindow.py (MainWindow.__init__): Add application
6            as parameter and store it in an instance variable
7            (MainWindow.invoke_command, MainWindow.update_command_ui)
8            (MainWindow.save_modified_session, MainWindow.NewSession)
9            (MainWindow.OpenSession, MainWindow.SaveSession)
10            (MainWindow.SaveSessionAs, MainWindow.ShowSessionTree): Use self's
11            application object.
12    
13            * Thuban/UI/application.py (ThubanApplication.OnInit): Instantiate
14            the main window with self.
15    
16            * Thuban/UI/context.py: New module with the context class
17    
18            * Thuban/UI/command.py (Command): Update doc string.
19    
20            * Thuban/UI/mainwindow.py (MainWindow.invoke_command,
21            MainWindow.update_command_ui): Pass an instance of the context
22            class to the command's methods
23            (check_current_tool, call_method): Handle the new context
24            implementation
25    
26            * Examples/simple_extensions/simple_tool.py (simple_tool,
27            check_simple_tool): Handle the new context implementation
28    
29            * Examples/simple_extensions/simple_command.py (simple_command):
30            Handle the new context implementation. Update the comments about
31            the context.
32    
33            * Thuban/UI/application.py (ThubanApplication.SetSession): Add
34            doc-string
35            (ThubanApplication.Session): New method to return the session
36            object
37    
38            * Thuban/UI/tree.py (SessionTreeCtrl.update_tree): The
39            interactor's selected_layer may not be a layer of the current
40            session when the tree is updated while a new session is being set.
41    
42    2002-07-17  Bernhard Herzog  <[email protected]>
43    
44            * Thuban/UI/tree.py (color_string): Removed. No longer used.
45            (SessionTreeCtrl.update_tree, SessionTreeCtrl.add_items): Split
46            update_tree into update_tree and add_items. The tree now uses a
47            more generic way to display the contents of the tree.
48            (SessionTreeCtrl): Add a doc string explaining the TreeInfo method
49    
50            * Thuban/Model/layer.py (Layer.TreeInfo),
51            Thuban/Model/extension.py (Extension.TreeInfo),
52            Thuban/Model/map.py (Map.TreeInfo),
53            Thuban/Model/session.py (Session.TreeInfo):
54            Add TreeInfo methods to implement the new tree view update scheme
55    
56    2002-07-16  Bernhard Herzog  <[email protected]>
57    
58            * Thuban/UI/application.py: Don't use "import from" for the
59            MainWindow. It can't always be resolved.
60            (ThubanApplication.OnInit): change reference to MainWindow
61            accordingly.
62    
63            * Thuban/UI/menu.py (Menu.SetItems): New method to replace a menu
64            completely
65    
66    2002-07-10  Bernhard Herzog  <[email protected]>
67    
68            * setup.py (create_init_module): New configurable variable whose
69            default depends on the platform we're running on.
70            (ThubanInstall.initialize_options): Initialize
71            self.create_init_module from the global create_init_module
72            (ThubanInstall.user_options): indictate that the options
73            create-init-module and init-module-dir have arguments.
74    
75            * setup.py: In the setup call change the version number to include
76            cvs.
77    
78            * MANIFEST.in: Add the files in Examples
79    
80    2002-07-09  Bernhard Herzog  <[email protected]>
81    
82            * setup.py: In the setup call, use the thuban homepage as the
83            value of the url parameter.
84    
85            * Examples: New subdirectory for examples.
86    
87            * Examples/simple_extensions/simple_tool.xpm,
88            Examples/simple_extensions/simple_tool.py,
89            Examples/simple_extensions/simple_command.py,
90            Examples/simple_extensions/README: Simple examples showing how to
91            add new commands and tools.
92    
93            * setup.cfg (bdist_rpm): Add the default value for prefix and tell
94            bdist_rpm that we also have an install script.
95            (bdist_inno): Add 2002 to the copyright notice.
96    
97            * setup.py: Create a file in python's site-packages directory to
98            make installation of Thuban as a library easier.
99            (ThubanInstall.user_options): Add two new options,
100            create-init-module and init-module-dir
101            (ThubanInstall.expand_with_pure_python_dirs): New method to expand
102            filenames for installation in the default directories.
103            (ThubanInstall.select_scheme, ThubanInstall.convert_paths): Extend
104            the inherited methods to capture some filenames before they're
105            transformed too much by distutils.
106            (ThubanInstall.run): Create the init module if requested.
107            (ThubanInstall.thuban_init_filename): New method to return the
108            full name of the init module.
109            (ThubanInstall.get_outputs): Append the filename of the init
110            module.
111    
112    2002-07-08  Bernhard Herzog  <[email protected]>
113    
114            * setup.py (thuban_bdist_rpm): Extend this version of bdist_rpm to
115            handle the prefix properly which means that the default for the
116            installation prefix should be /usr for RPMs and /usr/local when
117            doing a normal source install.
118            (bdist_rpm_install_script): Script to override the default install
119            commands in the specfile generated by the bdist_rpm command.
120            (thuban_bdist_rpm.user_options): Add a prefix option
121            (thuban_bdist_rpm.initialize_options): Init the prefix option.
122            Create the script files for the spec files as empty files here
123            (thuban_bdist_rpm._make_spec_file): Override the inherited method
124            to fill the script files with content.
125    
126            * Thuban/Model/save.py (relative_filename): Wrapper around
127            Thuban.Lib.fileutil.relative_filename that accepts an empty dir
128            argument. save_session now automatically uses this version,
129            solving a problem when saving to a relative filename.
130    
131            * setup.py: In the setup call, make sure that the library
132            directories are under $prefix/lib not directly under $prefix.
133    
134    2002-06-20      Jan-Oliver Wagner <[email protected]>
135    
136            * Thuban/Model/extension.py: new module to handle extension objects.
137            * Thuban/Model/messages.py: new messages for extensions.
138            * Thuban/Model/session.py (Session.Extensions, Session.HasExtensions,
139            Session.AddExtension): new for handling extensions.
140            Also some other minor changes to round up extension handling.
141            * Thuban/UI/tree.py (SessionTreeCrtl:update_tree): Added visualization
142            of Extension titles and title and names of its objects.
143    
144    2002-05-29  Bernhard Herzog  <[email protected]>
145    
146            * Thuban/UI/mainwindow.py (MainWindow.bind_command_events): Bind
147            the events for a command.
148            (MainWindow.add_toolbar_command, MainWindow.add_menu_command):
149            Call bind_command_events to bind the events. add_toolbar_command
150            can now bind events too so that it's possible to have commands
151            that are only available through the toolbar.
152            (MainWindow.init_ids): New instance variable events_bound to keep
153            track of for which commands events have been bound.
154    
155    2002-05-28  Bernhard Herzog  <[email protected]>
156    
157            * Thuban/UI/menu.py: New module to build and manage menus.
158    
159            * Thuban/UI/mainwindow.py: Remove some unused imports.
160            (MainWindow.__init__, main_menu): move the definition of the main
161            menu from __init__ to the Menu instance main_menu.
162            (MainWindow.build_menu_bar, MainWindow.build_menu): New methods to
163            build the menu bar and sub-menus from a menu description.
164    
165            * Thuban/UI/application.py (ThubanApplication.OnInit): Read the
166            startup file
167            (ThubanApplication.read_startup_files): New method to run
168            ~/.thuban/thubanstart.py
169    
170            * Thuban/UI/mainwindow.py (MainWindow.__init__, main_toolbar):
171            Move the toolbar definition to the Menu instance main_toolbar.
172            (MainWindow.build_toolbar): New method to build the toolbar
173            similar to the build_menu methods
174    
175    2002-05-23  Bernhard Herzog  <[email protected]>
176    
177            * Thuban/UI/mainwindow.py (MainWindow.__init__): Fix spelling of
178            layer_outline_color. Fix it in the definition of the command too.
179    
180            * Thuban/UI/command.py (Command): Fix typo in doc string
181    
182    2002-05-22  Bernhard Herzog  <[email protected]>
183    
184            * Thuban/UI/mainwindow.py (MainWindow.RunMessageBox): Fix a typo
185            in the docstring
186    
187    2002-05-15  Bernhard Herzog  <[email protected]>
188    
189            * Thuban/Model/layer.py (Layer.open_shapefile): Set bbox to None
190            when the shapefile is empty.
191            (Layer.BoundingBox, Layer.LatLongBoundingBox): Both methods may
192            now return None for empty shapefiles. Update doc-strings.
193    
194            * Thuban/Model/map.py (Map.BoundingBox): Add doc-string. Deal with
195            the layer's bbox being None.
196    
197            * Thuban/UI/tree.py (SessionTreeCtrl.update_tree): Deal with the
198            layer's bbox being None.
199    
200            * Thuban/UI/view.py (MapCanvas.shape_selected): Only redraw when
201            necessary.
202            (MapCanvas.__init__): New instance variables, last_selected_layer
203            and last_selected_shape to determine how the selection has
204            changed.
205    
206            * Thuban/UI/tableview.py (TableGrid.__init__): Do not call
207            AutoSizeColumns because it will cause a traversal of the entire
208            table which for large .dbf files will take a very long time.
209    
210    2002-05-14  Bernhard Herzog  <[email protected]>
211    
212            * Thuban/Model/layer.py (Layer.open_shapefile): Choose a better
213            maximum depth for the tree than shapelib does by default.
214    
215  2002-05-10  Bernhard Herzog  <[email protected]>  2002-05-10  Bernhard Herzog  <[email protected]>
216    
217          * setup.py (py_modules): The shptree modules doesn't have a          * setup.py (py_modules): The shptree modules doesn't have a

Legend:
Removed from v.165  
changed lines
  Added in v.228

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26