/[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 126 by bh, Thu May 2 18:55:46 2002 UTC revision 208 by bh, Tue Jul 9 14:57:03 2002 UTC
# Line 1  Line 1 
1    2002-07-09  Bernhard Herzog  <[email protected]>
2    
3            * Examples: New subdirectory for examples.
4    
5            * Examples/simple_extensions/simple_tool.xpm,
6            Examples/simple_extensions/simple_tool.py,
7            Examples/simple_extensions/simple_command.py,
8            Examples/simple_extensions/README: Simple examples showing how to
9            add new commands and tools.
10    
11            * setup.cfg (bdist_rpm): Add the default value for prefix and tell
12            bdist_rpm that we also have an install script.
13            (bdist_inno): Add 2002 to the copyright notice.
14    
15            * setup.py: Create a file in python's site-packages directory to
16            make installation of Thuban as a library easier.
17            (ThubanInstall.user_options): Add two new options,
18            create-init-module and init-module-dir
19            (ThubanInstall.expand_with_pure_python_dirs): New method to expand
20            filenames for installation in the default directories.
21            (ThubanInstall.select_scheme, ThubanInstall.convert_paths): Extend
22            the inherited methods to capture some filenames before they're
23            transformed too much by distutils.
24            (ThubanInstall.run): Create the init module if requested.
25            (ThubanInstall.thuban_init_filename): New method to return the
26            full name of the init module.
27            (ThubanInstall.get_outputs): Append the filename of the init
28            module.
29    
30    2002-07-08  Bernhard Herzog  <[email protected]>
31    
32            * setup.py (thuban_bdist_rpm): Extend this version of bdist_rpm to
33            handle the prefix properly which means that the default for the
34            installation prefix should be /usr for RPMs and /usr/local when
35            doing a normal source install.
36            (bdist_rpm_install_script): Script to override the default install
37            commands in the specfile generated by the bdist_rpm command.
38            (thuban_bdist_rpm.user_options): Add a prefix option
39            (thuban_bdist_rpm.initialize_options): Init the prefix option.
40            Create the script files for the spec files as empty files here
41            (thuban_bdist_rpm._make_spec_file): Override the inherited method
42            to fill the script files with content.
43    
44            * Thuban/Model/save.py (relative_filename): Wrapper around
45            Thuban.Lib.fileutil.relative_filename that accepts an empty dir
46            argument. save_session now automatically uses this version,
47            solving a problem when saving to a relative filename.
48    
49            * setup.py: In the setup call, make sure that the library
50            directories are under $prefix/lib not directly under $prefix.
51    
52    2002-06-20      Jan-Oliver Wagner <[email protected]>
53    
54            * Thuban/Model/extension.py: new module to handle extension objects.
55            * Thuban/Model/messages.py: new messages for extensions.
56            * Thuban/Model/session.py (Session.Extensions, Session.HasExtensions,
57            Session.AddExtension): new for handling extensions.
58            Also some other minor changes to round up extension handling.
59            * Thuban/UI/tree.py (SessionTreeCrtl:update_tree): Added visualization
60            of Extension titles and title and names of its objects.
61    
62    2002-05-29  Bernhard Herzog  <[email protected]>
63    
64            * Thuban/UI/mainwindow.py (MainWindow.bind_command_events): Bind
65            the events for a command.
66            (MainWindow.add_toolbar_command, MainWindow.add_menu_command):
67            Call bind_command_events to bind the events. add_toolbar_command
68            can now bind events too so that it's possible to have commands
69            that are only available through the toolbar.
70            (MainWindow.init_ids): New instance variable events_bound to keep
71            track of for which commands events have been bound.
72    
73    2002-05-28  Bernhard Herzog  <[email protected]>
74    
75            * Thuban/UI/menu.py: New module to build and manage menus.
76    
77            * Thuban/UI/mainwindow.py: Remove some unused imports.
78            (MainWindow.__init__, main_menu): move the definition of the main
79            menu from __init__ to the Menu instance main_menu.
80            (MainWindow.build_menu_bar, MainWindow.build_menu): New methods to
81            build the menu bar and sub-menus from a menu description.
82    
83            * Thuban/UI/application.py (ThubanApplication.OnInit): Read the
84            startup file
85            (ThubanApplication.read_startup_files): New method to run
86            ~/.thuban/thubanstart.py
87    
88            * Thuban/UI/mainwindow.py (MainWindow.__init__, main_toolbar):
89            Move the toolbar definition to the Menu instance main_toolbar.
90            (MainWindow.build_toolbar): New method to build the toolbar
91            similar to the build_menu methods
92    
93    2002-05-23  Bernhard Herzog  <[email protected]>
94    
95            * Thuban/UI/mainwindow.py (MainWindow.__init__): Fix spelling of
96            layer_outline_color. Fix it in the definition of the command too.
97    
98            * Thuban/UI/command.py (Command): Fix typo in doc string
99    
100    2002-05-22  Bernhard Herzog  <[email protected]>
101    
102            * Thuban/UI/mainwindow.py (MainWindow.RunMessageBox): Fix a typo
103            in the docstring
104    
105    2002-05-15  Bernhard Herzog  <[email protected]>
106    
107            * Thuban/Model/layer.py (Layer.open_shapefile): Set bbox to None
108            when the shapefile is empty.
109            (Layer.BoundingBox, Layer.LatLongBoundingBox): Both methods may
110            now return None for empty shapefiles. Update doc-strings.
111    
112            * Thuban/Model/map.py (Map.BoundingBox): Add doc-string. Deal with
113            the layer's bbox being None.
114    
115            * Thuban/UI/tree.py (SessionTreeCtrl.update_tree): Deal with the
116            layer's bbox being None.
117    
118            * Thuban/UI/view.py (MapCanvas.shape_selected): Only redraw when
119            necessary.
120            (MapCanvas.__init__): New instance variables, last_selected_layer
121            and last_selected_shape to determine how the selection has
122            changed.
123    
124            * Thuban/UI/tableview.py (TableGrid.__init__): Do not call
125            AutoSizeColumns because it will cause a traversal of the entire
126            table which for large .dbf files will take a very long time.
127    
128    2002-05-14  Bernhard Herzog  <[email protected]>
129    
130            * Thuban/Model/layer.py (Layer.open_shapefile): Choose a better
131            maximum depth for the tree than shapelib does by default.
132    
133    2002-05-10  Bernhard Herzog  <[email protected]>
134    
135            * setup.py (py_modules): The shptree modules doesn't have a
136            wrapper, so don't include it in the py_modules
137    
138    2002-05-08  Bernhard Herzog  <[email protected]>
139    
140            * extensions/shapelib/shptree.c (compare_ints): Make arguments
141            const void * as in the qsort prototype
142            (SHPTreeFindLikelyShapes): Remove some unused variables.
143    
144            * Thuban/UI/view.py (PanTool.MouseMove): Use the bitmap the view
145            maintains to redraw the window during a drag.
146            (MapCanvas.unprojected_rect_around_point): New method to determine
147            a small region around a point for hit-testing.
148            (MapCanvas.find_shape_at): Only test the shapes in a small region
149            around the point.
150    
151            * setup.py: Increment the version to 0.1.2
152    
153            * Thuban/UI/tree.py (SessionTreeCtrl.unsubscribe_all): Remove a
154            debug print and set session to None after unsubscribing
155    
156    2002-05-07  Bernhard Herzog  <[email protected]>
157    
158            * Data/iceland_sample.session, Data/iceland_sample.thuban: Rename
159            the file to have a .thuban extension.
160    
161            * Thuban/UI/tree.py (session_channels): New class constant with
162            all the session channels to subscribe to to update the tree
163            (SessionTreeCtrl.session_changed): Remember the session so that we
164            can unsubscribe properly. Use the new class constant to
165            unsubscribe from the old session and subscribe to the new one.
166            (SessionTreeCtrl.unsubscribe_all): New method to unsubscribe all
167            subscriptions of the SessionTreeCtrl.
168            (SessionTreeView.OnClose): Call the tree's unsubscribe_all method.
169    
170            * Thuban/UI/mainwindow.py (MainWindow.__init__): Add the "Show
171            Session Tree" command to the file menu.
172    
173            * Thuban/UI/view.py (MapCanvas.do_redraw): Pass the entire bitmap
174            as update_region to the renderer.
175    
176            * Thuban/UI/renderer.py
177            (ScreenRenderer.layer_ids, ScreenRenderer.draw_shape_layer): The
178            update box is now directly a tuple, not a wxRect anymore.
179    
180            * Thuban/Model/layer.py (Layer.ShapesInRegion): Remove some debug
181            prints.
182    
183    2002-05-07  Bernhard Herzog  <[email protected]>
184    
185            * setup.py: Add the shptree extension module. See
186            extensions/pyshapelib/ChangeLog for more details.
187    
188            * extensions/shapelib/shpopen.c, extensions/shapelib/shapefil.h,
189            extensions/shapelib/dbfopen.c: Really update to the versions of
190            shapelib 1.2.9. For some reason it wasn't really done on
191            2002-04-11.
192    
193            * extensions/shapelib/shptree.c: Modified version of shptree.c of
194            shapelib 1.2.9. The only real difference is the use of qsort
195            instead of a bubble sort implementation
196    
197            * Thuban/Model/layer.py (Layer.__init__): New instance variable
198            shapetree to hold the shapelib quadtree for the shapefile
199            (Layer.open_shapefile): Create the quad tree.
200            (Layer.ShapesInRegion): New method to return the ids of shapes in
201            a given region using the quad tree.
202    
203            * extensions/thuban/wxproj.cpp (project_points): Fix some typos in
204            comment
205            (draw_polygon_shape): Accept both arcs and polygons.
206            (initwxproj): Use the new PYSHAPELIB_IMPORT_API macro to import
207            the api.
208    
209            * Thuban/UI/renderer.py (MapRenderer.layer_ids): New method to
210            return the shape ids to be rendered in a given layer.
211            (MapRenderer.draw_shape_layer): Call layer_ids to get the list of
212            ids. Use draw_polygon_shape to draw arc shapes as well.
213            (ScreenRenderer.RenderMap): New parameter for the rectangle that
214            has to be updated
215            (ScreenRenderer.layer_ids): Make use of the layer's quadtree by
216            calling it's ShapesInRegion method.
217    
218            * Thuban/UI/view.py (MapCanvas.__init__): New instance variable
219            update_region for the update region.
220            (MapCanvas.OnPaint): Maintain the update region
221            (MapCanvas.do_redraw): Pass the bounding box of the update_region
222            to the renderer when drawing the bitmap. Reset the update_region.
223    
224    2002-05-03  Bernhard Herzog  <[email protected]>
225    
226            * Thuban/UI/mainwindow.py (MainWindow.SaveSessionAs,
227            MainWindow.OpenSession): Change the file extension of the session
228            files to .thuban
229    
230            * Thuban/Model/session.py (Session.AddMap, forwarded_channels):
231            Move the map channels to be forwarded by the session into the
232            class constant with forwarded_channels. Also add
233            LAYER_PROJECTION_CHANGED and LAYER_VISIBILITY_CHANGED to
234            forwarded_channels
235    
236            * Thuban/Model/base.py (Modifiable.changed): Fix doc-string (a
237            typo and some rewording).
238    
239  2002-05-02  Bernhard Herzog  <[email protected]>  2002-05-02  Bernhard Herzog  <[email protected]>
240    
241          * Thuban/UI/view.py: Keep the temporary bitmap used during drawing          * Thuban/UI/view.py: Keep the temporary bitmap used during drawing

Legend:
Removed from v.126  
changed lines
  Added in v.208

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26