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

Legend:
Removed from v.129  
changed lines
  Added in v.210

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26