/[thuban]/trunk
ViewVC logotype

Log of /trunk

View Directory Listing Directory Listing


Sticky Revision:

Revision 231 - Directory Listing
Modified Fri Jul 19 15:13:05 2002 UTC (22 years, 7 months ago) by bh
	* Thuban/Model/map.py (Map.TreeInfo): Deal better with empty maps.


Revision 230 - Directory Listing
Modified Fri Jul 19 13:21:14 2002 UTC (22 years, 7 months ago) by bh
* Thuban/UI/main.py, Thuban/UI/__init__.py: Move the work-around
for the wxPython locale bug to __init__.py so that it's
automatically executed by anybody using UI code from Thuban.


Revision 229 - Directory Listing
Modified Thu Jul 18 16:27:44 2002 UTC (22 years, 7 months ago) by bh
	* Thuban/UI/application.py (ThubanApplication.OnInit): Instantiate
	the main window with self.


Revision 228 - Directory Listing
Modified Thu Jul 18 16:27:20 2002 UTC (22 years, 7 months ago) by bh
update ChangeLog


Revision 227 - Directory Listing
Modified Thu Jul 18 16:27:11 2002 UTC (22 years, 7 months ago) by bh
	* Thuban/UI/mainwindow.py (MainWindow.__init__): Add application
	as parameter and store it in an instance variable
	(MainWindow.invoke_command, MainWindow.update_command_ui)
	(MainWindow.save_modified_session, MainWindow.NewSession)
	(MainWindow.OpenSession, MainWindow.SaveSession)
	(MainWindow.SaveSessionAs, MainWindow.ShowSessionTree): Use self's
	application object.


Revision 226 - Directory Listing
Modified Thu Jul 18 16:26:11 2002 UTC (22 years, 7 months ago) by bh
	* Thuban/UI/main.py (main): app no longer needs to be global


Revision 225 - Directory Listing
Modified Thu Jul 18 13:04:39 2002 UTC (22 years, 7 months ago) by bh
update ChangeLog


Revision 224 - Directory Listing
Modified Thu Jul 18 13:04:06 2002 UTC (22 years, 7 months ago) by bh
	* Examples/simple_extensions/simple_command.py (simple_command):
	Handle the new context implementation. Update the comments about
	the context.


Revision 223 - Directory Listing
Modified Thu Jul 18 13:03:39 2002 UTC (22 years, 7 months ago) by bh
	* Examples/simple_extensions/simple_tool.py (simple_tool,
	check_simple_tool): Handle the new context implementation


Revision 222 - Directory Listing
Modified Thu Jul 18 13:03:08 2002 UTC (22 years, 7 months ago) by bh
	* Thuban/UI/mainwindow.py (MainWindow.invoke_command,
	MainWindow.update_command_ui): Pass an instance of the context
	class to the command's methods
	(check_current_tool, call_method): Handle the new context
	implementation


Revision 221 - Directory Listing
Modified Thu Jul 18 13:01:55 2002 UTC (22 years, 7 months ago) by bh
	* Thuban/UI/command.py (Command): Update doc string.


Revision 220 - Directory Listing
Modified Thu Jul 18 13:00:37 2002 UTC (22 years, 7 months ago) by bh
New module with the context class


Revision 219 - Directory Listing
Modified Thu Jul 18 12:55:07 2002 UTC (22 years, 7 months ago) by bh
	* Thuban/UI/application.py (ThubanApplication.SetSession): Add
	doc-string
	(ThubanApplication.Session): New method to return the session
	object


Revision 218 - Directory Listing
Modified Thu Jul 18 12:54:48 2002 UTC (22 years, 7 months ago) by bh
	* Thuban/UI/tree.py (SessionTreeCtrl.update_tree): The
	interactor's selected_layer may not be a layer of the current
	session when the tree is updated while a new session is being set.


Revision 217 - Directory Listing
Modified Wed Jul 17 10:50:40 2002 UTC (22 years, 7 months ago) by bh
* Thuban/UI/tree.py (color_string): Removed. No longer used.
(SessionTreeCtrl.update_tree, SessionTreeCtrl.add_items): Split
update_tree into update_tree and add_items. The tree now uses a
more generic way to display the contents of the tree.
(SessionTreeCtrl): Add a doc string explaining the TreeInfo method

* Thuban/Model/layer.py (Layer.TreeInfo),
Thuban/Model/extension.py (Extension.TreeInfo),
Thuban/Model/map.py (Map.TreeInfo),
Thuban/Model/session.py (Session.TreeInfo):
Add TreeInfo methods to implement the new tree view update scheme


Revision 216 - Directory Listing
Modified Tue Jul 16 15:26:15 2002 UTC (22 years, 7 months ago) by bh
update ChangeLog


Revision 215 - Directory Listing
Modified Tue Jul 16 15:26:06 2002 UTC (22 years, 7 months ago) by bh
	* Thuban/UI/application.py: Don't use "import from" for the
	MainWindow. It can't always be resolved.
	(ThubanApplication.OnInit): change reference to MainWindow
	accordingly.


Revision 214 - Directory Listing
Modified Tue Jul 16 15:25:24 2002 UTC (22 years, 7 months ago) by bh
	* Thuban/UI/menu.py (Menu.SetItems): New method to replace a menu
	completely


Revision 213 - Directory Listing
Modified Wed Jul 10 14:06:20 2002 UTC (22 years, 7 months ago) by bh
update ChangeLog


Revision 212 - Directory Listing
Modified Wed Jul 10 14:06:09 2002 UTC (22 years, 7 months ago) by bh
	* setup.py (create_init_module): New configurable variable whose
	default depends on the platform we're running on.
	(ThubanInstall.initialize_options): Initialize
	self.create_init_module from the global create_init_module
	(ThubanInstall.user_options): indictate that the options
	create-init-module and init-module-dir have arguments.

	* setup.py: In the setup call change the version number to include
	cvs.


Revision 211 - Directory Listing
Modified Wed Jul 10 14:05:53 2002 UTC (22 years, 7 months ago) by bh
	* MANIFEST.in: Add the files in Examples


Revision 210 - Directory Listing
Modified Tue Jul 9 16:17:38 2002 UTC (22 years, 7 months ago) by bh
update ChangeLog


Revision 209 - Directory Listing
Modified Tue Jul 9 16:17:32 2002 UTC (22 years, 7 months ago) by bh
	* setup.py: In the setup call, use the thuban homepage as the
	value of the url parameter.


Revision 208 - Directory Listing
Modified Tue Jul 9 14:57:03 2002 UTC (22 years, 8 months ago) by bh
* Examples/simple_extensions/simple_tool.xpm,
Examples/simple_extensions/simple_tool.py,
Examples/simple_extensions/simple_command.py,
Examples/simple_extensions/README: Simple examples showing how to
add new commands and tools.


Revision 207 - Directory Listing
Modified Tue Jul 9 14:06:48 2002 UTC (22 years, 8 months ago) by bh
update ChangeLog


Revision 206 - Directory Listing
Modified Tue Jul 9 14:06:40 2002 UTC (22 years, 8 months ago) by bh
	* setup.cfg (bdist_rpm): Add the default value for prefix and tell
	bdist_rpm that we also have an install script.
	(bdist_inno): Add 2002 to the copyright notice.


Revision 205 - Directory Listing
Modified Tue Jul 9 14:02:40 2002 UTC (22 years, 8 months ago) by bh
update ChangeLog


Revision 204 - Directory Listing
Modified Tue Jul 9 14:02:27 2002 UTC (22 years, 8 months ago) by bh
	* setup.py: Create a file in python's site-packages directory to
	make installation of Thuban as a library easier.
	(ThubanInstall.user_options): Add two new options,
	create-init-module and init-module-dir
	(ThubanInstall.expand_with_pure_python_dirs): New method to expand
	filenames for installation in the default directories.
	(ThubanInstall.select_scheme, ThubanInstall.convert_paths): Extend
	the inherited methods to capture some filenames before they're
	transformed too much by distutils.
	(ThubanInstall.run): Create the init module if requested.
	(ThubanInstall.thuban_init_filename): New method to return the
	full name of the init module.
	(ThubanInstall.get_outputs): Append the filename of the init
	module.


Revision 203 - Directory Listing
Modified Mon Jul 8 15:04:57 2002 UTC (22 years, 8 months ago) by bh
	* setup.py (thuban_bdist_rpm): Extend this version of bdist_rpm to
	handle the prefix properly which means that the default for the
	installation prefix should be /usr for RPMs and /usr/local when
	doing a normal source install.
	(bdist_rpm_install_script): Script to override the default install
	commands in the specfile generated by the bdist_rpm command.
	(thuban_bdist_rpm.user_options): Add a prefix option
	(thuban_bdist_rpm.initialize_options): Init the prefix option.
	Create the script files for the spec files as empty files here
	(thuban_bdist_rpm._make_spec_file): Override the inherited method
	to fill the script files with content.


Revision 202 - Directory Listing
Modified Mon Jul 8 10:51:14 2002 UTC (22 years, 8 months ago) by bh
Update ChangeLog and fix a typo


Revision 201 - Directory Listing
Modified Mon Jul 8 10:50:53 2002 UTC (22 years, 8 months ago) by bh
	* Thuban/Model/save.py (relative_filename): Wrapper around
	Thuban.Lib.fileutil.relative_filename that accepts an empty dir
	argument. save_session now automatically uses this version,
	solving a problem when saving to a relative filename.


Revision 200 - Directory Listing
Modified Mon Jul 8 10:50:39 2002 UTC (22 years, 8 months ago) by bh
	* setup.py: In the setup call, make sure that the library
	directories are under $prefix/lib not directly under $prefix.


Revision 199 - Directory Listing
Modified Thu Jun 20 15:25:36 2002 UTC (22 years, 8 months ago) by jan
initial extension support


Revision 198 - Directory Listing
Modified Thu Jun 20 15:24:26 2002 UTC (22 years, 8 months ago) by jan
(SessionTreeCrtl:update_tree): Added visualization
of Extension titles and title and names of its objects.


Revision 197 - Directory Listing
Modified Thu Jun 20 15:20:58 2002 UTC (22 years, 8 months ago) by jan
Session.Extensions, Session.HasExtensions, Session.AddExtension:
new for handling extensions.
Also some other minor changes to round up extension handling.


Revision 196 - Directory Listing
Modified Thu Jun 20 15:15:18 2002 UTC (22 years, 8 months ago) by jan
new messages for extensions.


Revision 195 - Directory Listing
Modified Thu Jun 20 15:12:01 2002 UTC (22 years, 8 months ago) by jan
new module to handle extension objects.


Revision 194 - Directory Listing
Modified Wed May 29 10:34:41 2002 UTC (22 years, 9 months ago) by bh
update ChangeLog


Revision 193 - Directory Listing
Modified Wed May 29 10:33:41 2002 UTC (22 years, 9 months ago) by bh
	* Thuban/UI/mainwindow.py (MainWindow.bind_command_events): Bind
	the events for a comnmand.
	(MainWindow.add_toolbar_command, MainWindow.add_menu_command):
	Call bind_command_events to bind the events. add_toolbar_command
	can now bind events too so that it's possible to have commands
	that are only available through the toolbar.
	(MainWindow.init_ids): New instance variable events_bound to keep
	track of for which commands events have been bound.


Revision 192 - Directory Listing
Modified Tue May 28 16:09:04 2002 UTC (22 years, 9 months ago) by bh
update ChangeLog


Revision 191 - Directory Listing
Modified Tue May 28 16:04:49 2002 UTC (22 years, 9 months ago) by bh
	* Thuban/UI/mainwindow.py (MainWindow.__init__, main_toolbar):
	Move the toolbar definition to the Menu instance main_toolbar.
	(MainWindow.build_toolbar): New method to build the toolbar
	similar to the build_menu methods


Revision 190 - Directory Listing
Modified Tue May 28 12:39:49 2002 UTC (22 years, 9 months ago) by bh
update ChangeLog


Revision 189 - Directory Listing
Modified Tue May 28 12:39:17 2002 UTC (22 years, 9 months ago) by bh
	* Thuban/UI/application.py (ThubanApplication.OnInit): Read the
	startup file
	(ThubanApplication.read_startup_files): New method to run
	~/.thuban/thubanstart.py


Revision 188 - Directory Listing
Modified Tue May 28 12:38:45 2002 UTC (22 years, 9 months ago) by bh
	* Thuban/UI/mainwindow.py: Remove some unused imports.
	(MainWindow.__init__, main_menu): move the definition of the main
	menu from __init__ to the Menu instance main_menu.
	(MainWindow.build_menu_bar, MainWindow.build_menu): New methods to
	build the menu bar and sub-menus from a menu description.


Revision 187 - Directory Listing
Modified Tue May 28 12:38:17 2002 UTC (22 years, 9 months ago) by bh
	* Thuban/UI/menu.py: New module to build and manage menus.


Revision 186 - Directory Listing
Modified Thu May 23 15:37:48 2002 UTC (22 years, 9 months ago) by bh
update ChangeLog


Revision 185 - Directory Listing
Modified Thu May 23 15:37:39 2002 UTC (22 years, 9 months ago) by bh
	* Thuban/UI/mainwindow.py (MainWindow.__init__): Fix spelling of
	layer_outline_color. Fix it in the definition of the command too.


Revision 184 - Directory Listing
Modified Thu May 23 14:59:28 2002 UTC (22 years, 9 months ago) by bh
update ChangeLog


Revision 183 - Directory Listing
Modified Thu May 23 14:59:11 2002 UTC (22 years, 9 months ago) by bh
	* Thuban/UI/command.py (Command): Fix typo in doc string


Revision 182 - Directory Listing
Modified Wed May 22 13:42:20 2002 UTC (22 years, 9 months ago) by bh
update ChangeLog


Revision 181 - Directory Listing
Modified Wed May 22 13:42:04 2002 UTC (22 years, 9 months ago) by bh
	* Thuban/UI/mainwindow.py (MainWindow.RunMessageBox): Fix a typo
	in the docstring


Revision 180 - Directory Listing
Modified Wed May 15 14:03:02 2002 UTC (22 years, 9 months ago) by bh
update ChangeLog


Revision 179 - Directory Listing
Modified Wed May 15 14:02:49 2002 UTC (22 years, 9 months ago) by bh
	* Thuban/Model/layer.py (Layer.open_shapefile): Set bbox to None
	when the shapefile is empty.
	(Layer.BoundingBox, Layer.LatLongBoundingBox): Both methods may
	now return None for empty shapefiles. Update doc-strings.


Revision 178 - Directory Listing
Modified Wed May 15 14:02:20 2002 UTC (22 years, 9 months ago) by bh
	* Thuban/Model/map.py (Map.BoundingBox): Add doc-string. Deal with
	the layer's bbox being None.


Revision 177 - Directory Listing
Modified Wed May 15 14:02:09 2002 UTC (22 years, 9 months ago) by bh
	* Thuban/UI/tree.py (SessionTreeCtrl.update_tree): Deal with the
	layer's bbox being None.


Revision 176 - Directory Listing
Modified Wed May 15 13:38:49 2002 UTC (22 years, 9 months ago) by bh
remove some debug prints


Revision 175 - Directory Listing
Modified Wed May 15 13:30:16 2002 UTC (22 years, 9 months ago) by bh
update ChangeLog


Revision 174 - Directory Listing
Modified Wed May 15 13:30:00 2002 UTC (22 years, 9 months ago) by bh
	* Thuban/UI/view.py (MapCanvas.shape_selected): Only redraw when
	necessary.
	(MapCanvas.__init__): New instance variables, last_selected_layer
	and last_selected_shape to determine how the selection has
	changed.


Revision 173 - Directory Listing
Modified Wed May 15 13:29:34 2002 UTC (22 years, 9 months ago) by bh
	* Thuban/UI/tableview.py (TableGrid.__init__): Do not call
	AutoSizeColumns because it will cause a traversal of the entire
	table which for large .dbf files will take a very long time.


Revision 172 - Directory Listing
Modified Tue May 14 14:16:37 2002 UTC (22 years, 9 months ago) by bh
update ChangeLog


Revision 171 - Directory Listing
Modified Tue May 14 14:16:24 2002 UTC (22 years, 9 months ago) by bh
	* Thuban/Model/layer.py (Layer.open_shapefile): Choose a better
	maximum depth for the tree than shapelib does by default.


Revision 170 - Directory Listing
Modified Mon May 13 09:51:33 2002 UTC (22 years, 9 months ago) by frank
Filled the polygon.


Revision 169 - Directory Listing
Modified Fri May 10 10:07:09 2002 UTC (22 years, 9 months ago) by bh
update ChangeLog


Revision 168 - Directory Listing
Modified Fri May 10 10:06:59 2002 UTC (22 years, 9 months ago) by bh
	* dbflib_wrap.c: Updated from dbflib.i


Revision 167 - Directory Listing
Modified Fri May 10 10:05:11 2002 UTC (22 years, 9 months ago) by bh
	* dbflib.i (DBFInfo_write_record): Only DECREF if the return value
	of PyMapping_GetItemString is not NULL. Also, test the return
	value of PySequence_GetItem
	(write_field): Remove some debug prints


Revision 165 - Directory Listing
Modified Fri May 10 09:35:06 2002 UTC (22 years, 9 months ago) by bh
update ChangeLog


Revision 164 - Directory Listing
Modified Fri May 10 09:34:40 2002 UTC (22 years, 9 months ago) by bh
	* setup.py (py_modules): The shptree modules doesn't have a
	wrapper, so don't include it in the py_modules


Revision 163 - Directory Listing
Modified Wed May 8 13:49:00 2002 UTC (22 years, 10 months ago) by bh
update ChangeLog


Revision 162 - Directory Listing
Modified Wed May 8 13:48:43 2002 UTC (22 years, 10 months ago) by bh
	* extensions/shapelib/shptree.c (compare_ints): Make arguments
	const void * as in the qsort prototype
	(SHPTreeFindLikelyShapes): Remove some unused variables.


Revision 161 - Directory Listing
Modified Wed May 8 13:47:10 2002 UTC (22 years, 10 months ago) by bh
	* Thuban/UI/tree.py (SessionTreeCtrl.unsubscribe_all): Remove a
	debug print and set session to None after unsubscribing


Revision 160 - Directory Listing
Modified Wed May 8 13:46:34 2002 UTC (22 years, 10 months ago) by bh
	* setup.py: Increment the version to 0.1.2


Revision 159 - Directory Listing
Modified Wed May 8 13:46:15 2002 UTC (22 years, 10 months ago) by bh
	* Thuban/UI/view.py (PanTool.MouseMove): Use the bitmap the view
	maintains to redraw the window during a drag.
	(MapCanvas.unprojected_rect_around_point): New method to determine
	a small region around a point for hit-testing.
	(MapCanvas.find_shape_at): Only test the shapes in a small region
	around the point.


Revision 158 - Directory Listing
Modified Tue May 7 19:19:16 2002 UTC (22 years, 10 months ago) by bh
update ChangeLog


Revision 157 - Directory Listing
Modified Tue May 7 18:33:45 2002 UTC (22 years, 10 months ago) by bh
	(shptree_find_shapes): Add a missing return


Revision 156 - Directory Listing
Modified Tue May 7 18:30:48 2002 UTC (22 years, 10 months ago) by bh
update ChangeLog


Revision 155 - Directory Listing
Modified Tue May 7 18:30:38 2002 UTC (22 years, 10 months ago) by bh
	* shptreemodule.c (SHPTreeType, initshptree): Set SHPTreeType's
	PyType_Type pointer in the init function.
	(shptree_methods): Use METH_VARARGS
	(shptree_dealloc): Use PyMem_DEL


Revision 154 - Directory Listing
Modified Tue May 7 17:18:45 2002 UTC (22 years, 10 months ago) by bh
update ChangeLog


Revision 153 - Directory Listing
Modified Tue May 7 17:18:29 2002 UTC (22 years, 10 months ago) by bh
* Data/iceland_sample.session, Data/iceland_sample.thuban: Rename
the file to have a .thuban extension.


Revision 152 - Directory Listing
Modified Tue May 7 17:01:49 2002 UTC (22 years, 10 months ago) by bh
update ChangeLog


Revision 151 - Directory Listing
Modified Tue May 7 17:01:35 2002 UTC (22 years, 10 months ago) by bh
	* Thuban/UI/tree.py (session_channels): New class constant with
	all the session channels to subscribe to to update the tree
	(SessionTreeCtrl.session_changed): Remember the session so that we
	can unsubscribe properly. Use the new class constant to
	unsubscribe from the old session and subscribe to the new one.
	(SessionTreeCtrl.unsubscribe_all): New method to unsubscribe all
	subscriptions of the SessionTreeCtrl.
	(SessionTreeView.OnClose): Call the tree's unsubscribe_all method.


Revision 150 - Directory Listing
Modified Tue May 7 16:55:38 2002 UTC (22 years, 10 months ago) by bh
	* Thuban/UI/mainwindow.py (MainWindow.__init__): Add the "Show
	Session Tree" command to the file menu.


Revision 149 - Directory Listing
Modified Tue May 7 16:41:07 2002 UTC (22 years, 10 months ago) by bh
	* Thuban/UI/view.py (MapCanvas.do_redraw): Pass the entire bitmap
	as update_region to the renderer.


Revision 148 - Directory Listing
Modified Tue May 7 16:40:29 2002 UTC (22 years, 10 months ago) by bh
	* Thuban/UI/renderer.py
	(ScreenRenderer.layer_ids, ScreenRenderer.draw_shape_layer): The
	update box is now directly a tuple, not a wxRect anymore.


Revision 147 - Directory Listing
Modified Tue May 7 16:39:52 2002 UTC (22 years, 10 months ago) by bh
	* Thuban/Model/layer.py (Layer.ShapesInRegion): Remove some debug
	prints.


Revision 146 - Directory Listing
Modified Tue May 7 14:59:27 2002 UTC (22 years, 10 months ago) by bh
update ChangeLog


Revision 145 - Directory Listing
Modified Tue May 7 14:58:05 2002 UTC (22 years, 10 months ago) by bh
	* Thuban/UI/view.py (MapCanvas.__init__): New instance variable
	update_region for the update region.
	(MapCanvas.OnPaint): Maintain the update region
	(MapCanvas.do_redraw): Pass the bounding box of the update_region
	to the renderer when drawing the bitmap. Reset the update_region.


Revision 144 - Directory Listing
Modified Tue May 7 14:54:02 2002 UTC (22 years, 10 months ago) by bh
	* Thuban/UI/renderer.py (MapRenderer.layer_ids): New method to
	return the shape ids to be rendered in a given layer.
	(MapRenderer.draw_shape_layer): Call layer_ids to get the list of
	ids.
	(ScreenRenderer.RenderMap): New parameter
	for the rectangle that has to be updated
	(ScreenRenderer.layer_ids): Make use of the layer's quadtree by
	calling it's ShapesInRegion method.


Revision 143 - Directory Listing
Modified Tue May 7 14:17:20 2002 UTC (22 years, 10 months ago) by bh
	* Thuban/Model/layer.py (Layer.__init__): New instance variable
	shapetree to hold the shapelib quadtree for the shapefile
	(Layer.open_shapefile): Create the quad tree.
	(Layer.ShapesInRegion): New method to return the ids of shapes in
	a given region using the quad tree.


Revision 142 - Directory Listing
Modified Tue May 7 14:16:10 2002 UTC (22 years, 10 months ago) by bh
	* setup.py: Add the shptree extension module. See
	extensions/pyshapelib/ChangeLog for more details.


Revision 141 - Directory Listing
Modified Tue May 7 14:12:47 2002 UTC (22 years, 10 months ago) by bh
	* extensions/thuban/wxproj.cpp (project_points): Fix some typos in
	comment
	(draw_polygon_shape): Accept both arcs and polygons.
	(initwxproj): Use the new PYSHAPELIB_IMPORT_API macro to import
	the api.


Revision 140 - Directory Listing
Modified Tue May 7 14:09:45 2002 UTC (22 years, 10 months ago) by bh
* extensions/shapelib/shpopen.c, extensions/shapelib/shapefil.h,
extensions/shapelib/dbfopen.c: Really update to the versions of
shapelib 1.2.9. For some reason it wasn't really done on
2002-04-11.


Revision 139 - Directory Listing
Modified Tue May 7 14:09:34 2002 UTC (22 years, 10 months ago) by bh
* extensions/shapelib/shptree.c: Modified version of shptree.c of
shapelib 1.2.9. The only real difference is the use of qsort
instead of a bubble sort implementation


Revision 138 - Directory Listing
Modified Tue May 7 14:07:07 2002 UTC (22 years, 10 months ago) by bh
update ChangeLog


Revision 137 - Directory Listing
Modified Tue May 7 14:06:52 2002 UTC (22 years, 10 months ago) by bh
	* pytest.py (read_shapefile): Add some demo calls for the shptree
	module


Revision 136 - Directory Listing
Modified Tue May 7 14:06:30 2002 UTC (22 years, 10 months ago) by bh
	* setup.py: Some fixes to use explicit forward slashes as
	directory separators because of distutils.
	(extensions): Add the shptree module.


Revision 135 - Directory Listing
Modified Tue May 7 14:05:23 2002 UTC (22 years, 10 months ago) by bh
	* shptreemodule.c: New file with a simple wrapper for shapelib's
	quadtree


Revision 134 - Directory Listing
Modified Tue May 7 14:04:56 2002 UTC (22 years, 10 months ago) by bh
	* shapelib_wrap.c: Updated from shapelib.i with SWIG.


Revision 133 - Directory Listing
Modified Tue May 7 14:04:43 2002 UTC (22 years, 10 months ago) by bh
	* pyshapelib_api.h (PyShapeLibAPI): Add some of the shptree
	functions.
	(PYSHAPELIB_IMPORT_API): New macro to import the API


Revision 132 - Directory Listing
Modified Tue May 7 14:04:17 2002 UTC (22 years, 10 months ago) by bh
	* shapelib.i (the_api): add the tree API functions.


Revision 131 - Directory Listing
Modified Fri May 3 14:50:27 2002 UTC (22 years, 10 months ago) by bh
update ChangeLog


Revision 130 - Directory Listing
Modified Fri May 3 14:50:18 2002 UTC (22 years, 10 months ago) by bh
	* Thuban/UI/mainwindow.py (MainWindow.SaveSessionAs,
	MainWindow.OpenSession): Change the file extension of the session
	files to .thuban


Revision 129 - Directory Listing
Modified Fri May 3 14:46:11 2002 UTC (22 years, 10 months ago) by bh
update ChangeLog


Revision 128 - Directory Listing
Modified Fri May 3 14:38:16 2002 UTC (22 years, 10 months ago) by bh
	* Thuban/Model/session.py (Session.AddMap, forwarded_channels):
	Move the map channels to be forwarded by the session into the
	class constant with forwarded_channels.


Revision 127 - Directory Listing
Modified Fri May 3 14:37:46 2002 UTC (22 years, 10 months ago) by bh
	* Thuban/Model/base.py (Modifiable.changed): Fix doc-string (a
	typo and some rewording).


Revision 126 - Directory Listing
Modified Thu May 2 18:55:46 2002 UTC (22 years, 10 months ago) by bh
update ChangeLog


Revision 125 - Directory Listing
Modified Thu May 2 18:55:33 2002 UTC (22 years, 10 months ago) by bh
	* Thuban/UI/view.py: Keep the temporary bitmap used during drawing
	around to speed up most redraws:
	(MapCanvas.__init__): New instance variable bitmap which holds the
	bitmap
	(MapCanvas.do_redraw): Redraw self.bitmap if necessary. Use
	self.bitmap to draw.
	(MapCanvas.full_redraw): New method to force a full redraw
	including the bitmap
	(MapCanvas.SetMap): Subscribe full_redraw instead of redraw to
	make sure the bitmap is redrawn.
	(MapCanvas.projection_changed, MapCanvas.set_view_transform,
	MapCanvas.shape_selected): Call full_redraw instead of readraw to
	make sure the bitmap is redrawn.
	(MapCanvas.OnSize): New method to handle size events so that the
	bitmap can be redrawn.


Revision 124 - Directory Listing
Modified Mon Apr 29 18:05:31 2002 UTC (22 years, 10 months ago) by bh
update ChangeLog


Revision 123 - Directory Listing
Modified Mon Apr 29 18:05:04 2002 UTC (22 years, 10 months ago) by bh
	* Thuban/UI/mainwindow.py (MainWindow.__init__): Subscribe to the
	canvas' VIEW_POSITION event
	(MainWindow.view_position_changed): Handler for VIEW_POSITION.
	Update the text in the status-bar accordingly.


Revision 122 - Directory Listing
Modified Mon Apr 29 18:04:54 2002 UTC (22 years, 10 months ago) by bh
	* Thuban/UI/view.py (MapCanvas): Derive from Publisher as well
	(MapCanvas.__del__): Implement because Publisher.__del__ has to be
	called.
	(MapCanvas.__init__): Bind EVT_LEAVE_WINDOW too. Initialize
	current_position
	(MapCanvas.set_current_position): New method to set
	current_position. Issue a VIEW_POSITION event
	(MapCanvas.CurrentPosition): New public method to return the value
	of current_position. Should be called when the VIEW_POSITION event
	is processed.
	(MapCanvas.OnLeftDown, MapCanvas.OnLeftUp, MapCanvas.OnMotion):
	Update the position.
	(MapCanvas.OnLeaveWindow): Set the position to None.


Revision 121 - Directory Listing
Modified Mon Apr 29 18:04:32 2002 UTC (22 years, 10 months ago) by bh
	* Thuban/UI/messages.py (VIEW_POSITION): New message for the
	position in the statusbar


Revision 120 - Directory Listing
Modified Fri Apr 26 09:32:50 2002 UTC (22 years, 10 months ago) by frank
Thuban/UI/mainwindow.py: Dialo title: s/session/data


Revision 119 - Directory Listing
Modified Fri Apr 26 09:30:41 2002 UTC (22 years, 10 months ago) by frank
AddLayer: Dialog title changed: s/session/data


Revision 118 - Directory Listing
Modified Wed Apr 24 09:03:04 2002 UTC (22 years, 10 months ago) by frank
Toolbar icon changes added.


Revision 117 - Directory Listing
Modified Wed Apr 24 08:59:48 2002 UTC (22 years, 10 months ago) by frank
New Version with more robust design.


Revision 116 - Directory Listing
Modified Mon Apr 22 11:31:08 2002 UTC (22 years, 10 months ago) by jan
bug fix


Revision 115 - Directory Listing
Modified Mon Apr 22 11:30:20 2002 UTC (22 years, 10 months ago) by jan
added test for None on map bounding box


Revision 114 - Directory Listing
Modified Sun Apr 21 17:39:44 2002 UTC (22 years, 10 months ago) by jan
added full-extent as toolbutton, added propose UTM Zone dialog


Revision 113 - Directory Listing
Modified Sun Apr 21 17:38:50 2002 UTC (22 years, 10 months ago) by jan
removed old comments


Revision 112 - Directory Listing
Modified Sun Apr 21 17:30:37 2002 UTC (22 years, 10 months ago) by jan
added propose dialog for UMT Zone


Revision 111 - Directory Listing
Modified Sun Apr 21 17:29:50 2002 UTC (22 years, 10 months ago) by jan
added map extent to tree view


Revision 110 - Directory Listing
Modified Sun Apr 21 17:28:16 2002 UTC (22 years, 10 months ago) by jan
added full-extent to toolbar; adapted proj4 call


Revision 109 - Directory Listing
Modified Fri Apr 19 16:49:59 2002 UTC (22 years, 10 months ago) by frank
Shadow added to bitmap.


Revision 108 - Directory Listing
Modified Fri Apr 19 16:49:20 2002 UTC (22 years, 10 months ago) by frank
BitMap for Full Extent tool bar button.


Revision 107 - Directory Listing
Modified Fri Apr 19 16:02:55 2002 UTC (22 years, 10 months ago) by jan
some fixes and tiny features


Revision 106 - Directory Listing
Modified Fri Apr 19 15:47:55 2002 UTC (22 years, 10 months ago) by jan
added utm zone 26 projection


Revision 105 - Directory Listing
Modified Fri Apr 19 15:36:57 2002 UTC (22 years, 10 months ago) by jan
convert projection parameters from unicode to regular string


Revision 104 - Directory Listing
Modified Fri Apr 19 14:46:08 2002 UTC (22 years, 10 months ago) by jan
add filename and modified status to tree view


Revision 103 - Directory Listing
Modified Fri Apr 19 14:23:24 2002 UTC (22 years, 10 months ago) by jan
new session don't have a filename


Revision 102 - Directory Listing
Modified Fri Apr 19 14:22:25 2002 UTC (22 years, 10 months ago) by jan
launch save as dialog for saving new sessions


Revision 101 - Directory Listing
Modified Fri Apr 12 13:21:39 2002 UTC (22 years, 10 months ago) by frank
Iceland session file for sample data.


Revision 100 - Directory Listing
Modified Thu Apr 11 10:45:32 2002 UTC (22 years, 10 months ago) by bh
	* extensions/shapelib/shapefil.h, extensions/shapelib/shpopen.c,
	extensions/shapelib/dbfopen.c: Update to the versions of shapelib
	1.2.9


Revision 99 - Directory Listing
Modified Thu Apr 11 10:45:18 2002 UTC (22 years, 10 months ago) by bh
update ChangeLog


Revision 98 - Directory Listing
Modified Thu Apr 11 09:53:51 2002 UTC (22 years, 10 months ago) by bh
	* shapelib.py, shapelib_wrap.c: Updated from shapelib.i. Still
	done with a very old version of SWIG, but it's probably not worth
	it to try it with a newer version as long as this still works.


Revision 97 - Directory Listing
Modified Thu Apr 11 09:53:02 2002 UTC (22 years, 10 months ago) by bh
	* setup.py (Lib.wxproj extension): Don't link shpopen.c and put
	the pyshapelib directoy into the list of include dirs, so that
	pyshapelib_api.h can be found.


Revision 96 - Directory Listing
Modified Thu Apr 11 09:51:24 2002 UTC (22 years, 10 months ago) by bh
	* extensions/thuban/wxproj.cpp (pyshapelib_api): New variable that
	holds the pyshapelib C-API
	(draw_polygon_shape, point_in_polygon_shape, shape_centroid): Use
	pyshapelib_api to access the shapelib functions.
	(initwxproj): Import the c_api from the shapelib module and
	initialize pyshapelib_api.


Revision 95 - Directory Listing
Modified Thu Apr 11 09:48:39 2002 UTC (22 years, 10 months ago) by bh
	* shapelib_wrap.c: Updated from shapelib.i. Still done with a very
	old version of SWIG, but it's probably not worth it to try it with
	a newer version as long as this still works.


Revision 94 - Directory Listing
Modified Thu Apr 11 09:46:06 2002 UTC (22 years, 10 months ago) by bh
	* shapelib.i: Export the C-level API with the c_api function.


Revision 93 - Directory Listing
Modified Thu Apr 11 09:43:30 2002 UTC (22 years, 10 months ago) by bh
	* pyshapelib_api.h: New file with a limited C-level API for
	accessing shapilib functions from other Python-extensions.


Revision 91 - Directory Listing
Modified Thu Apr 4 14:55:35 2002 UTC (22 years, 11 months ago) by bh
update ChangeLog


Revision 90 - Directory Listing
Modified Thu Apr 4 14:55:02 2002 UTC (22 years, 11 months ago) by bh
	* setup.py (thuban_bdist_rpm.initialize_options): Use
	initialize_options to create the scripts for the rpm.


Revision 89 - Directory Listing
Modified Thu Apr 4 14:22:49 2002 UTC (22 years, 11 months ago) by bh
update ChangeLog


Revision 88 - Directory Listing
Modified Thu Apr 4 14:22:40 2002 UTC (22 years, 11 months ago) by bh
(PROJ4_PREFIX): Just use /


Revision 87 - Directory Listing
Modified Wed Apr 3 19:02:32 2002 UTC (22 years, 11 months ago) by bh
update ChangeLog


Revision 86 - Directory Listing
Modified Wed Apr 3 19:02:24 2002 UTC (22 years, 11 months ago) by bh
	* setup.py: Increment version to 0.1.1


Revision 85 - Directory Listing
Modified Wed Apr 3 15:21:58 2002 UTC (22 years, 11 months ago) by bh
update ChangeLog


Revision 84 - Directory Listing
Modified Wed Apr 3 15:21:46 2002 UTC (22 years, 11 months ago) by bh
	* Thuban/UI/mainwindow.py (MainWindow.__init__): Move the "Add
	Layer" and "Remove Layer" commands from the layer menu to the map
	menu


Revision 83 - Directory Listing
Modified Fri Feb 15 17:11:11 2002 UTC (23 years ago) by bh
update ChangeLog


Revision 82 - Directory Listing
Modified Fri Feb 15 17:11:04 2002 UTC (23 years ago) by bh
	* Thuban/Model/layer.py (Layer.Shape): list append only takes one
	argument (python <= 1.5.2 erroneously accepted multiuple
	arguments)


Revision 81 - Directory Listing
Modified Mon Feb 4 19:53:25 2002 UTC (23 years, 1 month ago) by bh
update changelog


Revision 80 - Directory Listing
Modified Mon Feb 4 19:53:01 2002 UTC (23 years, 1 month ago) by bh
	* Thuban/UI/identifyview.py (IdentifyGridCtrl): New class to use a
	RecordGrid in the identifyview.
	(IdentifyView.__init__): Use IdentifyGridCtrl instead of
	IdentifyListCtrl. The grid allows editing of the values.


Revision 79 - Directory Listing
Modified Mon Feb 4 19:50:28 2002 UTC (23 years, 1 month ago) by bh
	* Thuban/UI/controls.py (RecordTable, RecordGridCtrl): New classes
	implementing a grid for a single row of a thuban table.


Revision 78 - Directory Listing
Modified Mon Feb 4 19:37:16 2002 UTC (23 years, 1 month ago) by bh
	* Thuban/UI/view.py (MapCanvas.SelectShapeAt): Search through all
	layers by default. Easier to use than the previous default of only
	searching through the select layer which meant that if no layer
	was selected, you couldn't select a shape.


Revision 77 - Directory Listing
Modified Mon Feb 4 19:27:13 2002 UTC (23 years, 1 month ago) by bh
	* Thuban/UI/tableview.py (TableGrid.__init__): Fix typo


Revision 76 - Directory Listing
Modified Mon Feb 4 19:23:30 2002 UTC (23 years, 1 month ago) by bh
	* Thuban/UI/renderer.py (MapRenderer.draw_shape_layer): Honour the
	stroke_width attribute


Revision 75 - Directory Listing
Modified Mon Feb 4 19:22:22 2002 UTC (23 years, 1 month ago) by bh
	* Thuban/Model/load.py (ProcessSession.startElement): Read the
	stroke_width attribute


Revision 74 - Directory Listing
Modified Mon Feb 4 19:22:08 2002 UTC (23 years, 1 month ago) by bh
	* Thuban/Model/save.py (save_session): Write the new stroke_width
	attribute


Revision 73 - Directory Listing
Modified Mon Feb 4 19:19:25 2002 UTC (23 years, 1 month ago) by bh
	* Thuban/Model/layer.py (Layer.__init__): New parameter and
	instance variable stroke_width
	(Layer.SetStrokeWidth): Set the stroke_width.


Revision 72 - Directory Listing
Modified Fri Feb 1 17:21:18 2002 UTC (23 years, 1 month ago) by bh
* extensions/thuban/wxproj.cpp (project_points): Fix two
off-by-one errors in the last loop that joins the various parts
together.


Revision 71 - Directory Listing
Modified Mon Jan 14 15:10:29 2002 UTC (23 years, 1 month ago) by bh
Fix some typos


Revision 70 - Directory Listing
Modified Thu Oct 18 14:52:30 2001 UTC (23 years, 4 months ago) by bh
update ChangeLog


Revision 69 - Directory Listing
Modified Thu Oct 18 14:52:15 2001 UTC (23 years, 4 months ago) by bh
	* README: Slight tweaking in preparation for the 0.1 release


Revision 68 - Directory Listing
Modified Thu Oct 18 14:51:53 2001 UTC (23 years, 4 months ago) by bh
	* setup.cfg: Add section for sdist to create both tgz and zip
	archives


Revision 67 - Directory Listing
Modified Thu Oct 18 14:50:21 2001 UTC (23 years, 4 months ago) by bh
	* setup.py: increase version number to 0.1
	(data_dist): New command class for data distribution


Revision 66 - Directory Listing
Modified Fri Sep 14 14:56:45 2001 UTC (23 years, 5 months ago) by bh
	* Thuban/UI/identifyview.py (IdentifyListCtrl.selected_shape):
	Handle the case of no layer (i.e. layer is None) properly.


Revision 65 - Directory Listing
Modified Fri Sep 14 14:55:34 2001 UTC (23 years, 5 months ago) by bh
	* Thuban/UI/proj4dialog.py (UTMDialog.__init__, Proj4Dialog.__init__):
	Set the initial selection of the combo boxes to reflect the
	projection we're starting with in a way that works on windows,
	too.


Revision 64 - Directory Listing
Modified Fri Sep 14 12:20:21 2001 UTC (23 years, 5 months ago) by bh
update ChangeLog


Revision 63 - Directory Listing
Modified Fri Sep 14 12:20:02 2001 UTC (23 years, 5 months ago) by bh
	* Thuban/Model/map.py (Map.Destroy): Unsubscribe the label_layer
	messages


Revision 62 - Directory Listing
Modified Fri Sep 14 12:19:39 2001 UTC (23 years, 5 months ago) by bh
	* Thuban/Lib/connector.py (Connector.print_connections): Print the
	puiblisher's ids in hex to make it easier to compare them to the
	standard repr of python methods


Revision 61 - Directory Listing
Modified Thu Sep 13 17:58:49 2001 UTC (23 years, 5 months ago) by bh
	* Thuban/UI/tree.py (SessionTreeCtrl.OnSelChanged): Make sure to
	deselect the layer if no layer is selected


Revision 60 - Directory Listing
Modified Thu Sep 13 14:47:39 2001 UTC (23 years, 5 months ago) by bh
	(MapCanvas.find_shape_at): Iterate backwards (i.e. with decreasing
	index, i.e. reversed drawing order) so that objects appearing to
	be in from of others are selected first. This is probably mostly
	relevant for point shapes where the symbols used may overlap


Revision 59 - Directory Listing
Modified Thu Sep 13 13:56:47 2001 UTC (23 years, 5 months ago) by bh
update ChangeLog


Revision 58 - Directory Listing
Modified Thu Sep 13 13:56:23 2001 UTC (23 years, 5 months ago) by bh
	* Thuban/UI/mainwindow.py (MainWindow.NewSession): Use
	create_empty_session session to create the new, empty session.

	* Thuban/UI/mainwindow.py (MainWindow.__init__): Set the size of
	the tool bitmaps.
	(MainWindow.OnClose, MainWindow.save_modified_session): Separate
	the code that asks whether the session should be saved into the
	new method save_modified_session.
	(MainWindow.OpenSession, MainWindow.NewSession): Use the new
	method to save modified session here too.


Revision 57 - Directory Listing
Modified Thu Sep 13 13:55:33 2001 UTC (23 years, 5 months ago) by bh
	* Thuban/UI/view.py (MapCanvas.OnPaint): Only delay drawing to
	idle time when there actually is something to draw. If there's
	nothing to draw simply clear the window
	(MapCanvas.do_redraw): Call dc.EndDrawing and add some comments.
	(MapCanvas.SetMap): force a redraw in all cases because
	FitMapToWindow doesn't always do it.
	(MapCanvas.ZoomFactor): Add an optional parameter, center, to
	specify the point to move into the center of the window
	(ZoomOutTool.MouseUp, ZoomInTool.MouseUp): If the mouse wasn't
	dragged, zoon in/out by a factor of 2


Revision 56 - Directory Listing
Modified Thu Sep 13 13:54:37 2001 UTC (23 years, 5 months ago) by bh
	* Thuban/Model/session.py (create_empty_session): Unset the
	modified bit before returning it


Revision 55 - Directory Listing
Modified Tue Sep 11 11:45:27 2001 UTC (23 years, 5 months ago) by bh
update ChangeLog


Revision 54 - Directory Listing
Modified Tue Sep 11 11:45:09 2001 UTC (23 years, 5 months ago) by bh
	* setup.py (InnoIconItem): fix typo

	(thuban_bdist_inno.run):
	(bdist_inno.run): Move the decision not to create symlinks on
	non-nt platforms to thuban_bdist_inno and do it unconditinally
	since we never want to create the symlinks here


Revision 53 - Directory Listing
Modified Mon Sep 10 16:05:26 2001 UTC (23 years, 5 months ago) by bh
Update ChangeLog


Revision 52 - Directory Listing
Modified Mon Sep 10 16:05:13 2001 UTC (23 years, 5 months ago) by bh
(LabelDialog.OnOK): Check whether the return value of GetValue is None
instead of using it as a boolean directly so that Zero numbers are
handled properly.
(LabelListCtrl): Derive from the new class SelectableRecordListCtrl


Revision 51 - Directory Listing
Modified Mon Sep 10 16:04:43 2001 UTC (23 years, 5 months ago) by bh
(IdentifyListCtrl): Derive from the new class RecordListCtrl


Revision 50 - Directory Listing
Modified Mon Sep 10 16:04:21 2001 UTC (23 years, 5 months ago) by bh
New file with two classes RecordListCtrl and SelectableRecordListCtrl
that implement the code shared by the identify view and the label dialog


Revision 49 - Directory Listing
Modified Mon Sep 10 16:03:59 2001 UTC (23 years, 5 months ago) by bh
(MainWindow.IdentifyTool): Popup the identify view immediately


Revision 48 - Directory Listing
Modified Mon Sep 10 12:52:58 2001 UTC (23 years, 5 months ago) by bh
Update ChangeLog


Revision 47 - Directory Listing
Modified Mon Sep 10 12:52:44 2001 UTC (23 years, 5 months ago) by bh
	* Thuban/UI/proj4dialog.py (Proj4Dialog.__init__):
	(Proj4Dialog.dialogLayout): Make the window resizable and set the
	size of the text control explicitly to make the sizers work on
	both Windows and X.


Revision 46 - Directory Listing
Modified Fri Sep 7 15:00:33 2001 UTC (23 years, 6 months ago) by bh
update ChangeLog


Revision 45 - Directory Listing
Modified Fri Sep 7 15:00:21 2001 UTC (23 years, 6 months ago) by bh
	(MapCanvas.FitRectToWindow): If the rect has zero with or zero
	height do nothing (avoids zero division errors)


Revision 44 - Directory Listing
Modified Fri Sep 7 11:56:05 2001 UTC (23 years, 6 months ago) by bh
update ChangeLog


Revision 43 - Directory Listing
Modified Fri Sep 7 11:55:51 2001 UTC (23 years, 6 months ago) by bh
	* Thuban/UI/view.py (MapCanvas.find_shape_at):Add a new parameter
	that can limit the search to the currently selected layer.
	(MapCanvas.SelectShapeAt): Make sure that the currently selected
	layer stays selected even when no shape is found


Revision 42 - Directory Listing
Modified Thu Sep 6 18:58:57 2001 UTC (23 years, 6 months ago) by bh
update ChangeLog


Revision 41 - Directory Listing
Modified Thu Sep 6 18:58:46 2001 UTC (23 years, 6 months ago) by bh
	* Thuban/UI/tree.py (SessionTreeCtrl, SessionTreeView.__init__):
	Correct the spelling of SessionTreeCtrl. dabbrev is too damn
	convenient :-)
	(SessionTreeCtrl.__init__, SessionTreeCtrl.update_tree): Introduce
	a new instvar layer_to_item to map layers to tree items
	(SessionTreeCtrl.layer_selected): Select the appropriate tree item
	to match the current selection in the interactor


Revision 40 - Directory Listing
Modified Thu Sep 6 17:18:31 2001 UTC (23 years, 6 months ago) by bh
update ChangeLog


Revision 39 - Directory Listing
Modified Thu Sep 6 17:18:22 2001 UTC (23 years, 6 months ago) by bh
Create the session tree view in main with the new mainwindow method
ShowSessionTree and not directly the application's OnInit method


Revision 38 - Directory Listing
Modified Thu Sep 6 17:17:28 2001 UTC (23 years, 6 months ago) by bh
(Interactor.SelectedLayer):
(Interactor.HasSelectedLayer): New methods to query the current
selection


Revision 37 - Directory Listing
Modified Thu Sep 6 17:16:54 2001 UTC (23 years, 6 months ago) by bh
	* Thuban/UI/mainwindow.py (MainWindow.current_layer):
	(MainWindow.has_selected_layer): Simply call the appropriate
	interactor method

	* Thuban/UI/mainwindow.py (MainWindow.__init__):
	(MainWindow.LayerShowTable):
	(MainWindow.identify_view_on_demand): Store the interactor in an
	instvar and use that reference instead of going through main.app

	* Thuban/UI/mainwindow.py (MainWindow.ShowSessionTree):
	* Thuban/UI/application.py (ThubanApplication.OnInit):
	* Thuban/UI/main.py (main): Create the session tree view in main
	with the new mainwindow method ShowSessionTree and not directly
	the application's OnInit method


Revision 36 - Directory Listing
Modified Thu Sep 6 17:16:06 2001 UTC (23 years, 6 months ago) by bh
	* Thuban/UI/tree.py (myTreeCtrlPanel):
	(SessioinTreeCtrl): Rename to SessioinTreeCtrl and turn it into a
	TreeCtrl isntead of a panel. This affects most method since we now
	refer to self instead of self.tree
	(SessionTreeView): New class implementing a non-modal dialog
	showing the session tree.


Revision 35 - Directory Listing
Modified Thu Sep 6 15:33:09 2001 UTC (23 years, 6 months ago) by bh
update ChangeLog


Revision 34 - Directory Listing
Modified Thu Sep 6 15:32:56 2001 UTC (23 years, 6 months ago) by bh
	* Thuban/UI/tableview.py: Add some doc-strings
	(TableGrid):
	(TableGrid.OnRangeSelect):
	(TableGrid.OnSelectCell):
	(TableFrame.__init__):
	(TableFrame.row_selected):
	Selecting rows in the grid view now updates the selected shapes
	through the TableFrame. To achieve this we derive TableGrid from
	Publisher and introduce the message type ROW_SELECTED which the
	TableFrame subscribes to and which is issued by OnRangeSelect and
	OnSelectCell

	(DataTable.SelectRow): Removed because it's no longer needed in
	the row/shape selection scheme


Revision 33 - Directory Listing
Modified Thu Sep 6 15:31:31 2001 UTC (23 years, 6 months ago) by bh
	* Thuban/UI/mainwindow.py (MainWindow.LayerShowTable): Pass the
	layer to the tableview dialog.


Revision 32 - Directory Listing
Modified Thu Sep 6 13:32:55 2001 UTC (23 years, 6 months ago) by bh
update ChangeLog


Revision 31 - Directory Listing
Modified Thu Sep 6 13:32:39 2001 UTC (23 years, 6 months ago) by bh
	* Thuban/UI/mainwindow.py (MainWindow.init_dialogs):
	(MainWindow.add_dialog):
	(MainWindow.dialog_open):
	(MainWindow.remove_dialog):
	(MainWindow.get_open_dialog): New methods to maintain a dictionary
	of opened non-modal dialogs.

	(MainWindow.__init__): Initialize the new non-modal dictionary
	management code
	(MainWindow.LayerShowTable): maintain separate dialogs for each
	table using the non-modal dialog management code to only open a
	view once for each table.

	(MainWindow.IdentifyTool):
	(MainWindow.__init__):
	(MainWindow.identify_view_on_demand): Don't open the identify view
	in IdentifyTool anymore. This will be done automatically by the
	new method identify_view_on_demand which handles the
	SELECTED_SHAPE message so that the identify view will be opened on
	demand


Revision 30 - Directory Listing
Modified Thu Sep 6 13:31:57 2001 UTC (23 years, 6 months ago) by bh
(TableGrid.__init__): Don't subscribe to the SELECTED_SHAPE message
anymore. This is now handled by the parent.
(TableGrid.select_shape): Only update the selection if the shape is not
None.

(TableFrame): Inherit from the new NonModalDialog class.
(TableFrame.__init__, TableFrame.select_shape): Handle the SELECT_SHAPE
message.
(TableFrame.OnClose): Extend the inherited method to unsubscribe
SELECT_SHAPE


Revision 29 - Directory Listing
Modified Thu Sep 6 13:30:59 2001 UTC (23 years, 6 months ago) by bh
(IdentifyListCtrl.__init__): Remove the interactor argument. The
SELECTED_SHAPE message is now handled by the parent.

(IdentifyView.__init__): Add the interactor argument so that we can
handle the SELECTED_SHAPE message here

(IdentifyView.selected_shape): New method to handle the SELECTED_SHAPE
messages

(IdentifyView): Derive from the new NonModalDialog class
(IdentifyView.OnClose): Extend the inherited version to unsubscribe
SELECT_SHAPE


Revision 28 - Directory Listing
Modified Thu Sep 6 13:29:57 2001 UTC (23 years, 6 months ago) by bh
New file implementing common classes for dialogs


Revision 27 - Directory Listing
Modified Thu Sep 6 13:27:52 2001 UTC (23 years, 6 months ago) by bh
(Session.UnsetModified): Remove debug prints


Revision 26 - Directory Listing
Modified Wed Sep 5 13:36:30 2001 UTC (23 years, 6 months ago) by bh
update ChangeLog


Revision 25 - Directory Listing
Modified Wed Sep 5 13:36:13 2001 UTC (23 years, 6 months ago) by bh
Use the new argument to the MainWindow constructor to get rid of the
ugly hack that made main.app available early just so that the mapcanvas
could access the interactor object.


Revision 24 - Directory Listing
Modified Wed Sep 5 13:35:46 2001 UTC (23 years, 6 months ago) by bh
New argument interactor to pass through to the MapCanvas


Revision 23 - Directory Listing
Modified Wed Sep 5 13:35:22 2001 UTC (23 years, 6 months ago) by bh
New argument, interactor.


Revision 22 - Directory Listing
Modified Tue Sep 4 16:45:57 2001 UTC (23 years, 6 months ago) by bh
update ChangeLog


Revision 21 - Directory Listing
Modified Tue Sep 4 16:45:28 2001 UTC (23 years, 6 months ago) by bh
Open the shapefile immediately. This will cause an exception in case the
file can't be opened and we can display an appropriate message.


Revision 20 - Directory Listing
Modified Tue Sep 4 16:44:31 2001 UTC (23 years, 6 months ago) by bh
	* Thuban/UI/mainwindow.py (MainWindow.RunMessageBox): New method
	that runs a modal message box
	(MainWindow.OnClose): Use the new method
	(MainWindow.RemoveLayer): Just do nothing in case no layer is
	selected. The command should be grayed out anyway, so there's no
	need to pop up a message box.
	(MainWindow.AddLayer): Pop up a message box with an error message
	if the shape file can't be opened


Revision 19 - Directory Listing
Modified Tue Sep 4 15:11:27 2001 UTC (23 years, 6 months ago) by bh
* MANIFEST.in: Add extensions/pyprojection/LICENSE

* setup.py (thuban_bdist_rpm): New class implementing a Thuban
specific bdist_rpm command.

* Thuban/UI/main.py: Catch ImportError exceptions when importing
the locale module because it may not be available on some
installations.

* extensions/pyprojection/LICENSE: Copy of the license text in
Projection.i. Having it in a separate file makes it easier to
refer to license text in e.g. RPMs

* setup.py: use wx-config instead of wxgtk-config because it's
more generic

* setup.py (ThubanInstall.get_outputs): Add the symlink in
<prefix>/bin to the outputs
(ThubanInstall.link_file): New method to link files. We need this
because the standard copy_files refuses to link non-existing
files.
(ThubanInstall.run): Remove the leading install root from the
script filename if an install root was specified and use the new
link_file method


Revision 18 - Directory Listing
Modified Mon Sep 3 16:25:09 2001 UTC (23 years, 6 months ago) by bh
* Thuban/UI/mainwindow.py (MainWindow.AddLayer): Fit the map to
the window when the first layer is added to the map.

* setup.py (ThubanInstall.run): Honor the build root (self.root)
when linking thuban.py to <prefix>/bin


Revision 17 - Directory Listing
Modified Fri Aug 31 15:37:03 2001 UTC (23 years, 6 months ago) by bh
added new section for the inno setup installer


Revision 16 - Directory Listing
Modified Fri Aug 31 15:36:39 2001 UTC (23 years, 6 months ago) by bh
update ChangeLog


Revision 15 - Directory Listing
Modified Fri Aug 31 15:35:18 2001 UTC (23 years, 6 months ago) by bh
numerous fixes and majopr additions for the windows installer with Inno Setup


Revision 14 - Directory Listing
Modified Fri Aug 31 15:34:33 2001 UTC (23 years, 6 months ago) by bh
	* Thuban/UI/tree.py (myTreeCtrlPanel.__init__): New inst var
	changing_selection to avoid recursive selection events when
	modifying the selection in response to a selection event.
	(myTreeCtrlPanel.normalize_selection): Set the new inst var when
	changing the tree's selection.
	(myTreeCtrlPanel.OnSelChanged): Only normalize the selection when
	we're not being called indirectly from normalize_selection.


Revision 13 - Directory Listing
Modified Fri Aug 31 15:33:42 2001 UTC (23 years, 6 months ago) by bh
	* Thuban/UI/mainwindow.py (MainWindow.update_command_ui): Call
	event.Check only if the command is actuall checkable.
	(MainWindow.__init__): Call the toolbar's Realize method to make
	sure that the items are actually shown


Revision 12 - Directory Listing
Modified Fri Aug 31 12:01:58 2001 UTC (23 years, 6 months ago) by frank
VMAP L0 Data, Iceland. Converted to ESRI Shapefile format.
Layer: Roads (Line)


Revision 11 - Directory Listing
Modified Fri Aug 31 12:01:21 2001 UTC (23 years, 6 months ago) by frank
VMAP L0 Data, Iceland. Converted to ESRI Shapefile format.
Layer: Political Boundaries, Coastal Lines (Polygon)


Revision 10 - Directory Listing
Modified Fri Aug 31 12:00:00 2001 UTC (23 years, 6 months ago) by frank
VMAP L0 Data, Iceland. Converted to ESRI Shapefile format.
Layer: Cultural Landmarks (Point)


Revision 9 - Directory Listing
Modified Tue Aug 28 16:49:00 2001 UTC (23 years, 6 months ago) by bh
update change log


Revision 8 - Directory Listing
Modified Tue Aug 28 16:48:50 2001 UTC (23 years, 6 months ago) by bh
Fix some doc strings


Revision 7 - Directory Listing
Modified Tue Aug 28 15:43:35 2001 UTC (23 years, 6 months ago) by bh
start ChangeLog


Revision 6 - Directory Listing
Modified Tue Aug 28 15:41:52 2001 UTC (23 years, 6 months ago) by bh
import all the source files


Revision 2 - Directory Listing
Modified Fri Aug 17 12:15:16 2001 UTC (23 years, 6 months ago) by bh
Initial revision


Revision 1 - Directory Listing
Added Fri Aug 17 12:15:16 2001 UTC (23 years, 6 months ago) by (unknown author)
New repository initialized by cvs2svn.

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26