/[thuban]/branches/WIP-pyshapelib-bramz/ChangeLog
ViewVC logotype

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

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26