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

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26