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

Legend:
Removed from v.199  
changed lines
  Added in v.254

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26