/[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 154 by bh, Tue May 7 17:18:45 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]>
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
149            Thuban.Lib.fileutil.relative_filename that accepts an empty dir
150            argument. save_session now automatically uses this version,
151            solving a problem when saving to a relative filename.
152    
153            * setup.py: In the setup call, make sure that the library
154            directories are under $prefix/lib not directly under $prefix.
155    
156    2002-06-20      Jan-Oliver Wagner <[email protected]>
157    
158            * Thuban/Model/extension.py: new module to handle extension objects.
159            * Thuban/Model/messages.py: new messages for extensions.
160            * Thuban/Model/session.py (Session.Extensions, Session.HasExtensions,
161            Session.AddExtension): new for handling extensions.
162            Also some other minor changes to round up extension handling.
163            * Thuban/UI/tree.py (SessionTreeCrtl:update_tree): Added visualization
164            of Extension titles and title and names of its objects.
165    
166    2002-05-29  Bernhard Herzog  <[email protected]>
167    
168            * Thuban/UI/mainwindow.py (MainWindow.bind_command_events): Bind
169            the events for a command.
170            (MainWindow.add_toolbar_command, MainWindow.add_menu_command):
171            Call bind_command_events to bind the events. add_toolbar_command
172            can now bind events too so that it's possible to have commands
173            that are only available through the toolbar.
174            (MainWindow.init_ids): New instance variable events_bound to keep
175            track of for which commands events have been bound.
176    
177    2002-05-28  Bernhard Herzog  <[email protected]>
178    
179            * Thuban/UI/menu.py: New module to build and manage menus.
180    
181            * Thuban/UI/mainwindow.py: Remove some unused imports.
182            (MainWindow.__init__, main_menu): move the definition of the main
183            menu from __init__ to the Menu instance main_menu.
184            (MainWindow.build_menu_bar, MainWindow.build_menu): New methods to
185            build the menu bar and sub-menus from a menu description.
186    
187            * Thuban/UI/application.py (ThubanApplication.OnInit): Read the
188            startup file
189            (ThubanApplication.read_startup_files): New method to run
190            ~/.thuban/thubanstart.py
191    
192            * Thuban/UI/mainwindow.py (MainWindow.__init__, main_toolbar):
193            Move the toolbar definition to the Menu instance main_toolbar.
194            (MainWindow.build_toolbar): New method to build the toolbar
195            similar to the build_menu methods
196    
197    2002-05-23  Bernhard Herzog  <[email protected]>
198    
199            * Thuban/UI/mainwindow.py (MainWindow.__init__): Fix spelling of
200            layer_outline_color. Fix it in the definition of the command too.
201    
202            * Thuban/UI/command.py (Command): Fix typo in doc string
203    
204    2002-05-22  Bernhard Herzog  <[email protected]>
205    
206            * Thuban/UI/mainwindow.py (MainWindow.RunMessageBox): Fix a typo
207            in the docstring
208    
209    2002-05-15  Bernhard Herzog  <[email protected]>
210    
211            * Thuban/Model/layer.py (Layer.open_shapefile): Set bbox to None
212            when the shapefile is empty.
213            (Layer.BoundingBox, Layer.LatLongBoundingBox): Both methods may
214            now return None for empty shapefiles. Update doc-strings.
215    
216            * Thuban/Model/map.py (Map.BoundingBox): Add doc-string. Deal with
217            the layer's bbox being None.
218    
219            * Thuban/UI/tree.py (SessionTreeCtrl.update_tree): Deal with the
220            layer's bbox being None.
221    
222            * Thuban/UI/view.py (MapCanvas.shape_selected): Only redraw when
223            necessary.
224            (MapCanvas.__init__): New instance variables, last_selected_layer
225            and last_selected_shape to determine how the selection has
226            changed.
227    
228            * Thuban/UI/tableview.py (TableGrid.__init__): Do not call
229            AutoSizeColumns because it will cause a traversal of the entire
230            table which for large .dbf files will take a very long time.
231    
232    2002-05-14  Bernhard Herzog  <[email protected]>
233    
234            * Thuban/Model/layer.py (Layer.open_shapefile): Choose a better
235            maximum depth for the tree than shapelib does by default.
236    
237    2002-05-10  Bernhard Herzog  <[email protected]>
238    
239            * setup.py (py_modules): The shptree modules doesn't have a
240            wrapper, so don't include it in the py_modules
241    
242    2002-05-08  Bernhard Herzog  <[email protected]>
243    
244            * extensions/shapelib/shptree.c (compare_ints): Make arguments
245            const void * as in the qsort prototype
246            (SHPTreeFindLikelyShapes): Remove some unused variables.
247    
248            * Thuban/UI/view.py (PanTool.MouseMove): Use the bitmap the view
249            maintains to redraw the window during a drag.
250            (MapCanvas.unprojected_rect_around_point): New method to determine
251            a small region around a point for hit-testing.
252            (MapCanvas.find_shape_at): Only test the shapes in a small region
253            around the point.
254    
255            * setup.py: Increment the version to 0.1.2
256    
257            * Thuban/UI/tree.py (SessionTreeCtrl.unsubscribe_all): Remove a
258            debug print and set session to None after unsubscribing
259    
260  2002-05-07  Bernhard Herzog  <[email protected]>  2002-05-07  Bernhard Herzog  <[email protected]>
261    
262          * Data/iceland_sample.session, Data/iceland_sample.thuban: Rename          * Data/iceland_sample.session, Data/iceland_sample.thuban: Rename

Legend:
Removed from v.154  
changed lines
  Added in v.234

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26