/[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 190 by bh, Tue May 28 12:39:49 2002 UTC revision 256 by bh, Wed Aug 14 15:08:14 2002 UTC
# Line 1  Line 1 
1    2002-08-14  Bernhard Herzog  <[email protected]>
2    
3            * Thuban/UI/controls.py (RecordTable.__init__): Remove the unused
4            instance variable columns
5            (RecordTable.GetTypeName): row and col may be negative in some
6            cases.
7    
8            * setup.py (InstallLocal.initialize_options)
9            (InstallLocal.finalize_options, InstallLocal.user_options): New
10            option create-init-file to build a thubaninit.py when running
11            install_local
12            (InstallLocal.run): Create the thubaninit.py module when requested
13            (thubaninit_contents): Split the template into several parts and
14            create a new function thubaninit_contents that creates the
15            contents of a thubaninit module.
16            (ThubanInstall.run): Use the new function to create the thubaninit
17            module.
18    
19    2002-07-30  Bernhard Herzog  <[email protected]>
20    
21            * Thuban/UI/application.py (ThubanApplication.OnExit): Do some
22            cleanup.
23            (ThubanApplication.MainLoop): Extend to automatically call OnExit.
24    
25            * Thuban/Model/session.py (Session.Destroy): Don't bypass the
26            direct base class' Destroy method.
27    
28            * Thuban/Model/map.py (Map.ClearLayers): New method to delete all
29            layers.
30            (Map.Destroy): Destroy the label_layer as well and call the
31            inherited Desatroymethod first so that no more messages are
32            issued.
33            (Map.RaiseLayer, Map.LowerLayer): Only issue LAYERS_CHANGED
34            message if the stacking order actually has changed. Add
35            doc-strings.
36            (Map.BoundingBox): Correct the doc-string.
37            (Map.AddLayer, Map.RemoveLayer, Map.Layers, Map.HasLayers)
38            (Map.ProjectedBoundingBox, Map.SetProjection): Add doc-strings.
39    
40            * Thuban/Model/label.py (LabelLayer.ClearLabels): New to delete
41            all labels.
42    
43    2002-07-29  Bernhard Herzog  <[email protected]>
44    
45            * Thuban/Model/map.py (Map.subscribe_layer_channels)
46            (Map.unsubscribe_layer_channels): Put the code that (un)subscribes
47            to a layer's channels into separate methods.
48            (Map.RemoveLayer, Map.AddLayer): Call the new methods
49            (Map.Destroy): Unsubscribe from a layer's channels before
50            destroying it.
51    
52            * Thuban/UI/view.py (MapCanvas.find_shape_at): Change the
53            selected_layer parameter to searched_layer which is the layer to
54            search in.
55            (MapCanvas.SelectShapeAt): New parameter layer to restrict the
56            search to that layer. Return the selected layer and shape.
57    
58            * Examples/simple_extensions/simple_tool.py (simple_tool): Fix a
59            typo
60    
61    2002-07-24  Bernhard Herzog  <[email protected]>
62    
63            * Thuban/UI/application.py (ThubanApplication.create_session):
64            Extend the doc string.
65            (ThubanApplication.subscribe_session)
66            (ThubanApplication.unsubscribe_session): New methods to
67            subscribe/unsubscribe to/from session channels.
68            (ThubanApplication.SetSession): Call the new methods here.
69            (ThubanApplication.maps_changed, ThubanApplication.set_map):
70            Renamed set_map to maps_changed. Its now a subscriber for
71            MAPS_CHANGED.
72    
73            * Thuban/UI/view.py (ZoomOutTool.MouseUp): Use the correct
74            x-coordinate in case of simple clicks
75    
76            * Thuban/Model/base.py (Modifiable.changed): Apply the args tuple,
77            don't pass it as a parameter
78    
79            * Thuban/Model/session.py (Session.RemoveMap): New
80    
81            * Thuban/UI/mainwindow.py (MainWindow.__init__): Turn the initial
82            window size into a parameter.
83    
84    2002-07-23  Bernhard Herzog  <[email protected]>
85    
86            * Thuban/UI/menu.py (Menu.item_index): Also search for menus not
87            just commands.
88    
89            * Thuban/UI/mainwindow.py (MainWindow.__init__): Change the
90            parameter list a bit to allow setting the window title and the
91            initial message in the status bar. Update the callers.
92    
93            * Thuban/UI/application.py (ThubanApplication.OnInit)
94            (ThubanApplication.CreateMainWindow): Put the mainwindow
95            instantiation into a separate method so that it can be overridden
96            by a subclass.
97    
98    2002-07-19  Bernhard Herzog  <[email protected]>
99    
100            * Thuban/Model/session.py: Issue a CHANGED message every time
101            another changed message is issued to make it easier to get
102            notified of changes.
103            (Session): Update the doc string
104            (Session.forward): Issue changed-events as CHANGED as well.
105            (Session.changed): Overwrite the inherited version to issue
106            CHANGED events as well.
107    
108            * Thuban/UI/tree.py: We can now simply subscribe to the session's
109            CHANGED channel to be informed of changes.
110            (SessionTreeCtrl.session_channels): Not needed any longer.
111            (SessionTreeCtrl.unsubscribe_all, SessionTreeCtrl.session_changed):
112            Only have to (un)subscribe CHANGED
113    
114            * Thuban/Model/map.py (Map.TreeInfo): Deal better with empty maps.
115    
116            * Thuban/UI/main.py, Thuban/UI/__init__.py: Move the work-around
117            for the wxPython locale bug to __init__.py so that it's
118            automatically executed by anybody using UI code from Thuban.
119    
120    2002-07-18  Bernhard Herzog  <[email protected]>
121    
122            * Thuban/UI/main.py (main): app no longer needs to be global
123    
124            * Thuban/UI/mainwindow.py (MainWindow.__init__): Add application
125            as parameter and store it in an instance variable
126            (MainWindow.invoke_command, MainWindow.update_command_ui)
127            (MainWindow.save_modified_session, MainWindow.NewSession)
128            (MainWindow.OpenSession, MainWindow.SaveSession)
129            (MainWindow.SaveSessionAs, MainWindow.ShowSessionTree): Use self's
130            application object.
131    
132            * Thuban/UI/application.py (ThubanApplication.OnInit): Instantiate
133            the main window with self.
134    
135            * Thuban/UI/context.py: New module with the context class
136    
137            * Thuban/UI/command.py (Command): Update doc string.
138    
139            * Thuban/UI/mainwindow.py (MainWindow.invoke_command,
140            MainWindow.update_command_ui): Pass an instance of the context
141            class to the command's methods
142            (check_current_tool, call_method): Handle the new context
143            implementation
144    
145            * Examples/simple_extensions/simple_tool.py (simple_tool,
146            check_simple_tool): Handle the new context implementation
147    
148            * Examples/simple_extensions/simple_command.py (simple_command):
149            Handle the new context implementation. Update the comments about
150            the context.
151    
152            * Thuban/UI/application.py (ThubanApplication.SetSession): Add
153            doc-string
154            (ThubanApplication.Session): New method to return the session
155            object
156    
157            * Thuban/UI/tree.py (SessionTreeCtrl.update_tree): The
158            interactor's selected_layer may not be a layer of the current
159            session when the tree is updated while a new session is being set.
160    
161    2002-07-17  Bernhard Herzog  <[email protected]>
162    
163            * Thuban/UI/tree.py (color_string): Removed. No longer used.
164            (SessionTreeCtrl.update_tree, SessionTreeCtrl.add_items): Split
165            update_tree into update_tree and add_items. The tree now uses a
166            more generic way to display the contents of the tree.
167            (SessionTreeCtrl): Add a doc string explaining the TreeInfo method
168    
169            * Thuban/Model/layer.py (Layer.TreeInfo),
170            Thuban/Model/extension.py (Extension.TreeInfo),
171            Thuban/Model/map.py (Map.TreeInfo),
172            Thuban/Model/session.py (Session.TreeInfo):
173            Add TreeInfo methods to implement the new tree view update scheme
174    
175    2002-07-16  Bernhard Herzog  <[email protected]>
176    
177            * Thuban/UI/application.py: Don't use "import from" for the
178            MainWindow. It can't always be resolved.
179            (ThubanApplication.OnInit): change reference to MainWindow
180            accordingly.
181    
182            * Thuban/UI/menu.py (Menu.SetItems): New method to replace a menu
183            completely
184    
185    2002-07-10  Bernhard Herzog  <[email protected]>
186    
187            * setup.py (create_init_module): New configurable variable whose
188            default depends on the platform we're running on.
189            (ThubanInstall.initialize_options): Initialize
190            self.create_init_module from the global create_init_module
191            (ThubanInstall.user_options): indictate that the options
192            create-init-module and init-module-dir have arguments.
193    
194            * setup.py: In the setup call change the version number to include
195            cvs.
196    
197            * MANIFEST.in: Add the files in Examples
198    
199    2002-07-09  Bernhard Herzog  <[email protected]>
200    
201            * setup.py: In the setup call, use the thuban homepage as the
202            value of the url parameter.
203    
204            * Examples: New subdirectory for examples.
205    
206            * Examples/simple_extensions/simple_tool.xpm,
207            Examples/simple_extensions/simple_tool.py,
208            Examples/simple_extensions/simple_command.py,
209            Examples/simple_extensions/README: Simple examples showing how to
210            add new commands and tools.
211    
212            * setup.cfg (bdist_rpm): Add the default value for prefix and tell
213            bdist_rpm that we also have an install script.
214            (bdist_inno): Add 2002 to the copyright notice.
215    
216            * setup.py: Create a file in python's site-packages directory to
217            make installation of Thuban as a library easier.
218            (ThubanInstall.user_options): Add two new options,
219            create-init-module and init-module-dir
220            (ThubanInstall.expand_with_pure_python_dirs): New method to expand
221            filenames for installation in the default directories.
222            (ThubanInstall.select_scheme, ThubanInstall.convert_paths): Extend
223            the inherited methods to capture some filenames before they're
224            transformed too much by distutils.
225            (ThubanInstall.run): Create the init module if requested.
226            (ThubanInstall.thuban_init_filename): New method to return the
227            full name of the init module.
228            (ThubanInstall.get_outputs): Append the filename of the init
229            module.
230    
231    2002-07-08  Bernhard Herzog  <[email protected]>
232    
233            * setup.py (thuban_bdist_rpm): Extend this version of bdist_rpm to
234            handle the prefix properly which means that the default for the
235            installation prefix should be /usr for RPMs and /usr/local when
236            doing a normal source install.
237            (bdist_rpm_install_script): Script to override the default install
238            commands in the specfile generated by the bdist_rpm command.
239            (thuban_bdist_rpm.user_options): Add a prefix option
240            (thuban_bdist_rpm.initialize_options): Init the prefix option.
241            Create the script files for the spec files as empty files here
242            (thuban_bdist_rpm._make_spec_file): Override the inherited method
243            to fill the script files with content.
244    
245            * Thuban/Model/save.py (relative_filename): Wrapper around
246            Thuban.Lib.fileutil.relative_filename that accepts an empty dir
247            argument. save_session now automatically uses this version,
248            solving a problem when saving to a relative filename.
249    
250            * setup.py: In the setup call, make sure that the library
251            directories are under $prefix/lib not directly under $prefix.
252    
253    2002-06-20      Jan-Oliver Wagner <[email protected]>
254    
255            * Thuban/Model/extension.py: new module to handle extension objects.
256            * Thuban/Model/messages.py: new messages for extensions.
257            * Thuban/Model/session.py (Session.Extensions, Session.HasExtensions,
258            Session.AddExtension): new for handling extensions.
259            Also some other minor changes to round up extension handling.
260            * Thuban/UI/tree.py (SessionTreeCrtl:update_tree): Added visualization
261            of Extension titles and title and names of its objects.
262    
263    2002-05-29  Bernhard Herzog  <[email protected]>
264    
265            * Thuban/UI/mainwindow.py (MainWindow.bind_command_events): Bind
266            the events for a command.
267            (MainWindow.add_toolbar_command, MainWindow.add_menu_command):
268            Call bind_command_events to bind the events. add_toolbar_command
269            can now bind events too so that it's possible to have commands
270            that are only available through the toolbar.
271            (MainWindow.init_ids): New instance variable events_bound to keep
272            track of for which commands events have been bound.
273    
274  2002-05-28  Bernhard Herzog  <[email protected]>  2002-05-28  Bernhard Herzog  <[email protected]>
275    
276          * Thuban/UI/menu.py: New module to build and manage menus.          * Thuban/UI/menu.py: New module to build and manage menus.
# Line 13  Line 286 
286          (ThubanApplication.read_startup_files): New method to run          (ThubanApplication.read_startup_files): New method to run
287          ~/.thuban/thubanstart.py          ~/.thuban/thubanstart.py
288    
289            * Thuban/UI/mainwindow.py (MainWindow.__init__, main_toolbar):
290            Move the toolbar definition to the Menu instance main_toolbar.
291            (MainWindow.build_toolbar): New method to build the toolbar
292            similar to the build_menu methods
293    
294  2002-05-23  Bernhard Herzog  <[email protected]>  2002-05-23  Bernhard Herzog  <[email protected]>
295    
296          * Thuban/UI/mainwindow.py (MainWindow.__init__): Fix spelling of          * Thuban/UI/mainwindow.py (MainWindow.__init__): Fix spelling of

Legend:
Removed from v.190  
changed lines
  Added in v.256

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26