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

Legend:
Removed from v.152  
changed lines
  Added in v.217

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26