Log of /trunk
Directory Listing
Revision
373 -
Directory Listing
Modified
Mon Jan 27 14:11:43 2003 UTC
(22 years, 1 month ago)
by
jan
(_): New.
Revision
372 -
Directory Listing
Modified
Mon Jan 27 13:50:58 2003 UTC
(22 years, 1 month ago)
by
jonathan
Dialog box for modifying classification information
Revision
371 -
Directory Listing
Modified
Mon Jan 27 13:49:39 2003 UTC
(22 years, 1 month ago)
by
jonathan
Encapsulates classification information for a layer
Revision
370 -
Directory Listing
Modified
Mon Jan 27 12:21:23 2003 UTC
(22 years, 1 month ago)
by
jonathan
notes about classification modifications
Revision
369 -
Directory Listing
Modified
Mon Jan 27 11:53:51 2003 UTC
(22 years, 1 month ago)
by
jonathan
tests for Classification class
Revision
368 -
Directory Listing
Modified
Mon Jan 27 11:52:26 2003 UTC
(22 years, 1 month ago)
by
jonathan
iceland sample with classification information
Revision
367 -
Directory Listing
Modified
Mon Jan 27 11:50:30 2003 UTC
(22 years, 1 month ago)
by
jonathan
added information about classification
Revision
366 -
Directory Listing
Modified
Mon Jan 27 11:48:17 2003 UTC
(22 years, 1 month ago)
by
jonathan
added support to save classification information
Revision
365 -
Directory Listing
Modified
Mon Jan 27 11:47:53 2003 UTC
(22 years, 1 month ago)
by
jonathan
added support to load classification information
Revision
364 -
Directory Listing
Modified
Mon Jan 27 11:47:12 2003 UTC
(22 years, 1 month ago)
by
jonathan
added classification initializations
Revision
363 -
Directory Listing
Modified
Mon Jan 27 11:40:13 2003 UTC
(22 years, 1 month ago)
by
jonathan
added 'Classify' option in 'Layer' menu
Revision
362 -
Directory Listing
Modified
Mon Jan 27 11:39:03 2003 UTC
(22 years, 1 month ago)
by
jonathan
added support for drawing classifications
Revision
361 -
Directory Listing
Modified
Mon Dec 9 10:34:37 2002 UTC
(22 years, 2 months ago)
by
bh
update ChangeLog
Revision
360 -
Directory Listing
Modified
Mon Dec 9 10:34:18 2002 UTC
(22 years, 2 months ago)
by
bh
New. Test for the command classes.
Revision
359 -
Directory Listing
Modified
Mon Dec 9 10:32:51 2002 UTC
(22 years, 2 months ago)
by
bh
update ChangeLog
Revision
358 -
Directory Listing
Modified
Mon Dec 9 10:32:39 2002 UTC
(22 years, 2 months ago)
by
bh
(simple_tool): Use the
SelectTool method to change the tool
(iconfile): Use the ToolCommand class
Revision
357 -
Directory Listing
Modified
Mon Dec 9 10:32:27 2002 UTC
(22 years, 2 months ago)
by
bh
(MainWindow.update_command_ui): If an
active tool's command turns insensitive, disable the tool.
(_tool_command): Use the new ToolCommand class
Revision
356 -
Directory Listing
Modified
Mon Dec 9 10:32:15 2002 UTC
(22 years, 2 months ago)
by
bh
(MapCanvas.SelectTool): New method to select
the tool to avoid direct assignments to instance variables
(MapCanvas.ZoomInTool, MapCanvas.ZoomOutTool, MapCanvas.PanTool)
(MapCanvas.IdentifyTool, MapCanvas.LabelTool): Use SelectTool to
change the tool
Revision
355 -
Directory Listing
Modified
Mon Dec 9 10:31:58 2002 UTC
(22 years, 2 months ago)
by
bh
(ToolCommand): New class for tool commands.
(Command.IsTool): New method to distinguish between command
switching tools and other commands.
Revision
354 -
Directory Listing
Modified
Tue Dec 3 17:35:47 2002 UTC
(22 years, 3 months ago)
by
bh
update ChangeLog
Revision
353 -
Directory Listing
Modified
Tue Dec 3 17:35:30 2002 UTC
(22 years, 3 months ago)
by
bh
(SessionTreeCtrl.normalize_selection): Handle
the case of selected items that are not children of Layers or Maps
properly. Previously this bug would trigger an assertion in
wxWindows.
Revision
352 -
Directory Listing
Modified
Wed Nov 6 14:47:01 2002 UTC
(22 years, 4 months ago)
by
frank
Toolbar icon order changed.
Revision
351 -
Directory Listing
Modified
Wed Nov 6 14:46:33 2002 UTC
(22 years, 4 months ago)
by
frank
Altered the order of tools in the toolbar:
First now are all navigation tools (Zoom In/Out, Pan, Full Extent).
Revision
349 -
Directory Listing
Modified
Wed Oct 23 14:46:18 2002 UTC
(22 years, 4 months ago)
by
bh
update ChangeLog
Revision
348 -
Directory Listing
Modified
Wed Oct 23 14:45:57 2002 UTC
(22 years, 4 months ago)
by
bh
(setup call): version now 0.1.3
Revision
347 -
Directory Listing
Modified
Wed Oct 23 14:45:47 2002 UTC
(22 years, 4 months ago)
by
bh
Add the files in test/
Revision
346 -
Directory Listing
Modified
Wed Oct 23 14:45:28 2002 UTC
(22 years, 4 months ago)
by
bh
(MainWindow.About): Add 2002 to copyright notice.
Revision
345 -
Directory Listing
Modified
Wed Oct 23 14:45:14 2002 UTC
(22 years, 4 months ago)
by
bh
Add note about tests requiring the iceland data
Revision
344 -
Directory Listing
Modified
Fri Oct 18 17:29:22 2002 UTC
(22 years, 4 months ago)
by
bh
update ChangeLog
Revision
343 -
Directory Listing
Modified
Fri Oct 18 17:28:56 2002 UTC
(22 years, 4 months ago)
by
bh
(TestMapWithContents.test_projected_bounding_box): Use an explicit
epsilon.
Revision
342 -
Directory Listing
Modified
Fri Oct 18 17:28:46 2002 UTC
(22 years, 4 months ago)
by
bh
(FloatComparisonMixin.assertFloatEqual)
(FloatComparisonMixin.assertFloatSeqEqual): give a more useful
message if the assertion fails and don't return the return value
of self.assert_. In assertFloatSeqEqual the return meant that not
all items of the sequence were compared.
Revision
341 -
Directory Listing
Modified
Fri Sep 20 17:33:13 2002 UTC
(22 years, 5 months ago)
by
bh
update ChangeLog
Revision
340 -
Directory Listing
Modified
Fri Sep 20 17:32:59 2002 UTC
(22 years, 5 months ago)
by
bh
New. Test cases for Thuban.Lib.fileutil
Revision
339 -
Directory Listing
Modified
Fri Sep 20 17:27:36 2002 UTC
(22 years, 5 months ago)
by
bh
Fixup some whitespace and typos
Revision
338 -
Directory Listing
Modified
Fri Sep 20 16:26:31 2002 UTC
(22 years, 5 months ago)
by
bh
update ChangeLog
Revision
337 -
Directory Listing
Modified
Fri Sep 20 16:26:21 2002 UTC
(22 years, 5 months ago)
by
bh
(TestMapWithContents.test_tree_info): Create
the string with the bounding box on the fly because of platform
differences in the way %g is handled.
Revision
336 -
Directory Listing
Modified
Fri Sep 20 16:26:09 2002 UTC
(22 years, 5 months ago)
by
bh
(TestLayer.test_empty_layer): Create an empty
DBFfile too because Thuban layers can't yet cope missing DBF
files.
Revision
335 -
Directory Listing
Modified
Fri Sep 20 15:51:37 2002 UTC
(22 years, 5 months ago)
by
bh
update ChangeLog
Revision
334 -
Directory Listing
Modified
Fri Sep 20 15:51:17 2002 UTC
(22 years, 5 months ago)
by
bh
New. Test cases for Thuban.Model.session
Revision
333 -
Directory Listing
Modified
Fri Sep 20 15:47:07 2002 UTC
(22 years, 5 months ago)
by
bh
New. Test cases for Thuban.Model.proj
Revision
332 -
Directory Listing
Modified
Fri Sep 20 15:45:59 2002 UTC
(22 years, 5 months ago)
by
bh
New. Test cases for Thuban.Model.map
Revision
331 -
Directory Listing
Modified
Fri Sep 20 14:34:23 2002 UTC
(22 years, 5 months ago)
by
bh
New. Test cases for Thuban.Model.layer
Revision
330 -
Directory Listing
Modified
Fri Sep 20 14:30:34 2002 UTC
(22 years, 5 months ago)
by
bh
New. Test cases for Thuban.Model.label
Revision
329 -
Directory Listing
Modified
Fri Sep 20 14:27:00 2002 UTC
(22 years, 5 months ago)
by
bh
New. Test cases for Thuban.Lib.connector
Revision
328 -
Directory Listing
Modified
Fri Sep 20 14:07:26 2002 UTC
(22 years, 5 months ago)
by
bh
New. Test cases for Thuban.Model.color
Revision
327 -
Directory Listing
Modified
Fri Sep 20 14:06:41 2002 UTC
(22 years, 5 months ago)
by
bh
New. Test cases for Thuban.Model.base
Revision
326 -
Directory Listing
Modified
Fri Sep 20 13:56:09 2002 UTC
(22 years, 5 months ago)
by
bh
update ChangeLog
Revision
325 -
Directory Listing
Modified
Fri Sep 20 13:55:52 2002 UTC
(22 years, 5 months ago)
by
bh
Use initthuban instead of
add_thuban_dir_to_path to initialize Thuban.
Revision
324 -
Directory Listing
Modified
Fri Sep 20 13:55:42 2002 UTC
(22 years, 5 months ago)
by
bh
(FloatComparisonMixin.assertFloatEqual): New.
Mixin class for float comparisons
(SubscriberMixin): New. Mixin class to test messages sent through
the Connector class
Revision
323 -
Directory Listing
Modified
Fri Sep 20 13:44:00 2002 UTC
(22 years, 5 months ago)
by
bh
Fix a typo and add the -v flag to the command for
individual tests
Revision
322 -
Directory Listing
Modified
Fri Sep 13 14:21:58 2002 UTC
(22 years, 5 months ago)
by
bh
update ChangeLog
Revision
321 -
Directory Listing
Modified
Fri Sep 13 14:21:48 2002 UTC
(22 years, 5 months ago)
by
bh
(MainWindow.view_position_changed)
(MainWindow.set_position_text): Put the code that puts the text
with the mouse position into the status bar into the new method
set_position_text so that it can overwritten in derived classes.
Revision
320 -
Directory Listing
Modified
Fri Sep 13 14:21:30 2002 UTC
(22 years, 5 months ago)
by
bh
(Modifiable.UnsetModified): Issue a CHANGED
event if the modified flag changes.
(Modifiable.changed): Tweak the doc-string.
Revision
319 -
Directory Listing
Modified
Fri Sep 13 14:21:24 2002 UTC
(22 years, 5 months ago)
by
bh
(Map.forwarded_channels): Forward the
CHANGED channel too.
(Map.__init__): Call the Modifiable constructor as well.
Revision
318 -
Directory Listing
Modified
Fri Sep 13 14:21:12 2002 UTC
(22 years, 5 months ago)
by
bh
(Session.forwarded_channels): Forward
the CHANGED channel too.
Revision
317 -
Directory Listing
Modified
Thu Sep 12 18:46:09 2002 UTC
(22 years, 5 months ago)
by
bh
update ChangeLog
Revision
316 -
Directory Listing
Modified
Thu Sep 12 18:46:01 2002 UTC
(22 years, 5 months ago)
by
bh
(MainWindow.RunMessageBox): Center the
message box on the main window.
Revision
315 -
Directory Listing
Modified
Wed Sep 11 15:18:19 2002 UTC
(22 years, 5 months ago)
by
bh
update ChangeLog
Revision
314 -
Directory Listing
Modified
Wed Sep 11 15:18:09 2002 UTC
(22 years, 5 months ago)
by
bh
(MainWindow.build_menu): remove an incorrect comment.
Revision
313 -
Directory Listing
Modified
Wed Sep 11 13:59:46 2002 UTC
(22 years, 5 months ago)
by
bh
update ChangeLog
Revision
312 -
Directory Listing
Modified
Wed Sep 11 13:59:37 2002 UTC
(22 years, 5 months ago)
by
bh
Underline the 'x' in "Exit" instead of
the 'E' because it's less likely to interfere with other menu
entries.
Revision
311 -
Directory Listing
Modified
Tue Sep 10 16:45:32 2002 UTC
(22 years, 5 months ago)
by
bh
update ChangeLog
Revision
310 -
Directory Listing
Modified
Tue Sep 10 16:45:22 2002 UTC
(22 years, 5 months ago)
by
bh
(MainWindow.Map): New.
(_tool_command): Add sensitive parameter
(_has_visible_map): Sensitivity callback to tools and other
commands that require a visible map. Use it in map_zoom_in_tool,
map_zoom_out_tool, map_pan_tool, map_identify_tool, map_label_tool
and map_full_extent
Revision
308 -
Directory Listing
Modified
Fri Sep 6 10:01:27 2002 UTC
(22 years, 6 months ago)
by
bh
update ChangeLog
Revision
307 -
Directory Listing
Modified
Fri Sep 6 10:01:16 2002 UTC
(22 years, 6 months ago)
by
bh
(MainWindow.OnClose): Unsubscribe VIEW_POSITION
Revision
306 -
Directory Listing
Modified
Wed Sep 4 12:39:04 2002 UTC
(22 years, 6 months ago)
by
frank
Updated Resources/Bitmaps/fullextent.xpm
Revision
305 -
Directory Listing
Modified
Wed Sep 4 12:36:08 2002 UTC
(22 years, 6 months ago)
by
frank
Updated Icon
Revision
304 -
Directory Listing
Modified
Mon Sep 2 16:47:59 2002 UTC
(22 years, 6 months ago)
by
bh
update ChangeLog
Revision
303 -
Directory Listing
Modified
Mon Sep 2 16:47:53 2002 UTC
(22 years, 6 months ago)
by
bh
* Thuban/UI/view.py: Get rid of the idle redraw. This is done by
wxWindows already and our implementation doesn't work correctly
with wxGTK 2.3:
(MapCanvas.__init__): Remove the instance variable
(MapCanvas.OnPaint): Always call do_redraw when there's a map to
be drawin
(MapCanvas.OnIdle): Removed.
Revision
302 -
Directory Listing
Modified
Mon Sep 2 15:59:27 2002 UTC
(22 years, 6 months ago)
by
bh
update ChangeLog
Revision
301 -
Directory Listing
Modified
Mon Sep 2 15:59:11 2002 UTC
(22 years, 6 months ago)
by
bh
(MapCanvas.unprojected_rect_around_point): Add
a parameter to determine the size of the rectangle.
(MapCanvas.find_shape_at): Create the box around the point on a
layer by layer basis and make the size depend on the shape type.
This solves a problem with the selection of point shapes at the
border of the layer's bounding box
Revision
300 -
Directory Listing
Modified
Fri Aug 30 17:41:11 2002 UTC
(22 years, 6 months ago)
by
bh
update ChangeLog
Revision
299 -
Directory Listing
Modified
Fri Aug 30 17:41:04 2002 UTC
(22 years, 6 months ago)
by
bh
(MainWindow.CanRemoveLayer): New method
for the sensitivity of remove layer.
(_can_remove_layer): New. Sensitivity callback for remove layer
(Command layer_remove): Use _can_remove_layer
Revision
298 -
Directory Listing
Modified
Fri Aug 30 17:40:52 2002 UTC
(22 years, 6 months ago)
by
bh
(Map.CanRemoveLayer): New method to
determine whether a given layer can be deleted.
Revision
297 -
Directory Listing
Modified
Fri Aug 30 16:10:57 2002 UTC
(22 years, 6 months ago)
by
bh
update ChangeLog
Revision
296 -
Directory Listing
Modified
Fri Aug 30 16:10:45 2002 UTC
(22 years, 6 months ago)
by
bh
* Thuban/UI/view.py (MapCanvas.__init__, MapCanvas.OnPaint)
(MapCanvas.do_redraw): Get rid of the unused update_region
instance variable
Revision
295 -
Directory Listing
Modified
Fri Aug 30 10:39:17 2002 UTC
(22 years, 6 months ago)
by
bh
Add some more doc-strings.
Revision
294 -
Directory Listing
Modified
Fri Aug 30 10:19:11 2002 UTC
(22 years, 6 months ago)
by
bh
update ChangeLog
Revision
293 -
Directory Listing
Modified
Fri Aug 30 10:18:50 2002 UTC
(22 years, 6 months ago)
by
bh
Add/update some doc-strings.
Revision
292 -
Directory Listing
Modified
Fri Aug 30 09:44:12 2002 UTC
(22 years, 6 months ago)
by
bh
Initial set of tests and
brief instructions on how to run them
Revision
291 -
Directory Listing
Modified
Thu Aug 29 14:11:38 2002 UTC
(22 years, 6 months ago)
by
bh
update ChangeLog
Revision
290 -
Directory Listing
Modified
Thu Aug 29 14:11:28 2002 UTC
(22 years, 6 months ago)
by
bh
(ScreenRenderer.draw_shape_layer): Handle
arcs with multiple parts.
Revision
289 -
Directory Listing
Modified
Thu Aug 29 13:31:54 2002 UTC
(22 years, 6 months ago)
by
bh
update ChangeLog
Revision
288 -
Directory Listing
Modified
Thu Aug 29 13:31:43 2002 UTC
(22 years, 6 months ago)
by
bh
(ZoomInTool.MouseUp, ZoomOutTool.MouseUp):
Handle degenrate rectangles.
Revision
287 -
Directory Listing
Modified
Thu Aug 29 11:22:07 2002 UTC
(22 years, 6 months ago)
by
bh
update ChangeLog
Revision
286 -
Directory Listing
Modified
Thu Aug 29 11:21:52 2002 UTC
(22 years, 6 months ago)
by
bh
Make writing records work correctly:
(Table.__init__): Keep track of whether the DBF is open for
writing
(Table.write_record): Open the DBF file for writing when necessary
Revision
285 -
Directory Listing
Modified
Tue Aug 27 14:08:43 2002 UTC
(22 years, 6 months ago)
by
bh
update ChangeLog
Revision
284 -
Directory Listing
Modified
Tue Aug 27 14:08:32 2002 UTC
(22 years, 6 months ago)
by
bh
(Table.write_record, Table.__init__): Open
dbf files only for reading by default. Use a new writable dbf
object for writing.
Revision
283 -
Directory Listing
Modified
Tue Aug 27 14:00:12 2002 UTC
(22 years, 6 months ago)
by
bh
* dbflib.i: Raise an exception if open or create fails.
* shapelib.i: Slightly better wording for the IOError exception
that open and create may raise.
* shapelib_wrap.c, dbflib_wrap.c: Regenerated
Revision
282 -
Directory Listing
Modified
Mon Aug 26 18:16:54 2002 UTC
(22 years, 6 months ago)
by
bh
update ChangeLog
Revision
281 -
Directory Listing
Modified
Mon Aug 26 18:16:36 2002 UTC
(22 years, 6 months ago)
by
bh
* Thuban/UI/mainwindow.py: Refactor the context creation:
(MainWindow.Context): New method to return a context
(MainWindow.invoke_command, MainWindow.update_command_ui): Use the
new method
Revision
280 -
Directory Listing
Modified
Mon Aug 26 15:06:24 2002 UTC
(22 years, 6 months ago)
by
bh
update ChangeLog
Revision
279 -
Directory Listing
Modified
Mon Aug 26 15:06:01 2002 UTC
(22 years, 6 months ago)
by
bh
(LayerTableGrid.select_shape): Remove a debug print
Revision
278 -
Directory Listing
Modified
Mon Aug 26 12:50:23 2002 UTC
(22 years, 6 months ago)
by
bh
* Thuban/UI/tableview.py (TableGrid, LayerTableGrid): Split the
layer table specific code from TableGrid into LayerTableGrid
(TableFrame, LayerTableFrame): Split the layer table specific code
from TableFrame into LayerTableFrame
* Thuban/UI/mainwindow.py (MainWindow.LayerShowTable): Use the
LayerTableFrame
Revision
277 -
Directory Listing
Modified
Fri Aug 23 15:25:14 2002 UTC
(22 years, 6 months ago)
by
bh
update ChangeLog
Revision
276 -
Directory Listing
Modified
Fri Aug 23 15:25:07 2002 UTC
(22 years, 6 months ago)
by
bh
(Layer.__init__): Make sure we have an
absolute filename.
Revision
275 -
Directory Listing
Modified
Thu Aug 22 16:26:05 2002 UTC
(22 years, 6 months ago)
by
bh
update ChangeLog
Revision
274 -
Directory Listing
Modified
Thu Aug 22 16:25:46 2002 UTC
(22 years, 6 months ago)
by
bh
* Thuban/Model/table.py (Table.write_record): New method to write
records.
(Table.__init__): Open the DBF file for writing too.
* Thuban/UI/controls.py (RecordTable.SetValue): Write the value
into the underlying table.
Revision
273 -
Directory Listing
Modified
Thu Aug 22 16:00:26 2002 UTC
(22 years, 6 months ago)
by
bh
* dbflib.i (DBFFile::commit): New method for DBFCommit.
* dbflib_wrap.c, dbflib.py: Update from dbflib.i
Revision
272 -
Directory Listing
Modified
Thu Aug 22 16:00:01 2002 UTC
(22 years, 6 months ago)
by
bh
* extensions/shapelib/shapefil.h (DBFCommit),
extensions/shapelib/dbfopen.c (DBFCommit): New API function to
commit any changes made to the DBF file.
Revision
271 -
Directory Listing
Modified
Thu Aug 22 13:46:54 2002 UTC
(22 years, 6 months ago)
by
bh
update ChangeLog
Revision
270 -
Directory Listing
Modified
Thu Aug 22 13:46:46 2002 UTC
(22 years, 6 months ago)
by
bh
(make_check_current_tool)
(_tool_command): Put the code that generates the "checked"
callback into a separate function so that we can reuse it
elsewhere
Revision
269 -
Directory Listing
Modified
Thu Aug 22 10:25:55 2002 UTC
(22 years, 6 months ago)
by
bh
update ChangeLog
Revision
268 -
Directory Listing
Modified
Thu Aug 22 10:25:43 2002 UTC
(22 years, 6 months ago)
by
bh
(Saver): New class to handle serializing a
session into an XML file. The main reason to introduce a class is
that applications built on Thuban can derive from it so that they
can save additional information in a session file.
(save_session): Delegate almost all the work to the Saver class.
Rename the filename argument to file because it may be a file like
object now.
Revision
267 -
Directory Listing
Modified
Thu Aug 22 10:25:30 2002 UTC
(22 years, 6 months ago)
by
bh
Get rid of the Python 1.5.2 compatibility
code. Remove the little test code which would be executed when the
module is run as a script which didn't work anymore since it can't
import the other Thuban modules.
(ProcessSession, load_session): Refactor the ProcessSession to
have one method for each element start and end tag so that derived
classes can easily override the processing of individual tags.
Also, always parse with namespaces enabled because applications
built on top of Thuban will likely use namespaces if they extend
the session file format.
Revision
266 -
Directory Listing
Modified
Wed Aug 21 09:15:26 2002 UTC
(22 years, 6 months ago)
by
bh
(ThubanInstall.run): Don't repr install_lib_orig
because thubaninit_contents will do it for us.
Revision
265 -
Directory Listing
Modified
Fri Aug 16 17:07:36 2002 UTC
(22 years, 6 months ago)
by
jan
tree window
Revision
264 -
Directory Listing
Modified
Fri Aug 16 17:06:38 2002 UTC
(22 years, 6 months ago)
by
jan
menu item 'show session tree' now disable if tree window already open
Revision
263 -
Directory Listing
Modified
Thu Aug 15 17:45:19 2002 UTC
(22 years, 6 months ago)
by
bh
update ChangeLog
Revision
262 -
Directory Listing
Modified
Thu Aug 15 17:44:52 2002 UTC
(22 years, 6 months ago)
by
bh
* shapelib.i, dbflib.i: Make the NOCHECK trick for the ShapeFile *
check typemap work with SWIG 1.3.
* shapelib_wrap.c, dbflib_wrap.c: Regenerate from the .i files.
Revision
261 -
Directory Listing
Modified
Thu Aug 15 17:44:33 2002 UTC
(22 years, 6 months ago)
by
bh
(MapCanvas.OnLeftUp): Only release the mouse
when we have actually captured it.
Revision
260 -
Directory Listing
Modified
Thu Aug 15 17:43:59 2002 UTC
(22 years, 6 months ago)
by
bh
* Thuban/Model/layer.py (Layer.Destroy): Call the unboundd method
with self.
Revision
259 -
Directory Listing
Modified
Thu Aug 15 12:48:13 2002 UTC
(22 years, 6 months ago)
by
bh
update ChangeLog
Revision
258 -
Directory Listing
Modified
Thu Aug 15 12:48:03 2002 UTC
(22 years, 6 months ago)
by
bh
(Layer.Destroy): New. Explicitly close the
shapefile and destroy the table.
Revision
257 -
Directory Listing
Modified
Thu Aug 15 12:47:59 2002 UTC
(22 years, 6 months ago)
by
bh
(Table.Destroy): New. Close the DBF file.
Revision
256 -
Directory Listing
Modified
Wed Aug 14 15:08:14 2002 UTC
(22 years, 6 months ago)
by
bh
update ChangeLog
Revision
255 -
Directory Listing
Modified
Wed Aug 14 15:08:01 2002 UTC
(22 years, 6 months ago)
by
bh
(RecordTable.__init__): Remove the unused
instance variable columns
(RecordTable.GetTypeName): row and col may be negative in some
cases.
Revision
254 -
Directory Listing
Modified
Wed Aug 14 13:39:08 2002 UTC
(22 years, 6 months ago)
by
bh
update ChangeLog
Revision
253 -
Directory Listing
Modified
Wed Aug 14 13:38:45 2002 UTC
(22 years, 6 months ago)
by
bh
(InstallLocal.initialize_options)
(InstallLocal.finalize_options, InstallLocal.user_options): New
option create-init-file to build a thubaninit.py when running
install_local
(InstallLocal.run): Create the thubaninit.py module when requested
(thubaninit_contents): Split the template into several parts and
create a new function thubaninit_contents that creates the
contents of a thubaninit module.
(ThubanInstall.run): Use the new function to create the thubaninit
module.
Revision
252 -
Directory Listing
Modified
Tue Jul 30 14:18:59 2002 UTC
(22 years, 7 months ago)
by
bh
update ChangeLog
Revision
251 -
Directory Listing
Modified
Tue Jul 30 14:18:40 2002 UTC
(22 years, 7 months ago)
by
bh
(ThubanApplication.OnExit): Do some cleanup.
(ThubanApplication.MainLoop): Extend to automatically call OnExit.
Revision
250 -
Directory Listing
Modified
Tue Jul 30 14:17:58 2002 UTC
(22 years, 7 months ago)
by
bh
(Session.Destroy): Don't bypass the
direct base class' Destroy method.
Revision
249 -
Directory Listing
Modified
Tue Jul 30 14:17:33 2002 UTC
(22 years, 7 months ago)
by
bh
(Map.ClearLayers): New method to delete all
layers.
(Map.Destroy): Destroy the label_layer as well and call the
inherited Desatroymethod first so that no more messages are
issued.
(Map.RaiseLayer, Map.LowerLayer): Only issue LAYERS_CHANGED
message if the stacking order actually has changed. Add
doc-strings.
(Map.BoundingBox): Correct the doc-string.
(Map.AddLayer, Map.RemoveLayer, Map.Layers, Map.HasLayers)
(Map.ProjectedBoundingBox, Map.SetProjection): Add doc-strings.
Revision
248 -
Directory Listing
Modified
Tue Jul 30 14:15:39 2002 UTC
(22 years, 7 months ago)
by
bh
(LabelLayer.ClearLabels): New to delete
all labels.
Revision
247 -
Directory Listing
Modified
Mon Jul 29 13:38:13 2002 UTC
(22 years, 7 months ago)
by
bh
update ChangeLog
Revision
246 -
Directory Listing
Modified
Mon Jul 29 13:38:04 2002 UTC
(22 years, 7 months ago)
by
bh
(MapCanvas.find_shape_at): Change the
selected_layer parameter to searched_layer which is the layer to
search in.
(MapCanvas.SelectShapeAt): New parameter layer to restrict the
search to that layer. Return the selected layer and shape.
Revision
245 -
Directory Listing
Modified
Mon Jul 29 13:37:55 2002 UTC
(22 years, 7 months ago)
by
bh
(Map.subscribe_layer_channels)
(Map.unsubscribe_layer_channels): Put the code that (un)subscribes
to a layer's channels into separate methods.
(Map.RemoveLayer, Map.AddLayer): Call the new methods
(Map.Destroy): Unsubscribe from a layer's channels before
destroying it.
Revision
244 -
Directory Listing
Modified
Mon Jul 29 13:37:42 2002 UTC
(22 years, 7 months ago)
by
bh
(simple_tool): Fix a typo
Revision
243 -
Directory Listing
Modified
Wed Jul 24 17:16:41 2002 UTC
(22 years, 7 months ago)
by
bh
update ChangeLog
Revision
242 -
Directory Listing
Modified
Wed Jul 24 17:16:31 2002 UTC
(22 years, 7 months ago)
by
bh
(ThubanApplication.create_session):
Extend the doc string.
(ThubanApplication.subscribe_session)
(ThubanApplication.unsubscribe_session): New methods to
subscribe/unsubscribe to/from session channels.
(ThubanApplication.SetSession): Call the new methods here.
(ThubanApplication.maps_changed, ThubanApplication.set_map):
Renamed set_map to maps_changed. Its now a subscriber for
MAPS_CHANGED.
Revision
241 -
Directory Listing
Modified
Wed Jul 24 17:16:17 2002 UTC
(22 years, 7 months ago)
by
bh
(Session.RemoveMap): New
Revision
240 -
Directory Listing
Modified
Wed Jul 24 17:16:09 2002 UTC
(22 years, 7 months ago)
by
bh
(Modifiable.changed): Apply the args tuple,
don't pass it as a parameter
Revision
239 -
Directory Listing
Modified
Wed Jul 24 17:15:54 2002 UTC
(22 years, 7 months ago)
by
bh
(ZoomOutTool.MouseUp): Use the correct
x-coordinate in case of simple clicks
Revision
238 -
Directory Listing
Modified
Wed Jul 24 10:19:46 2002 UTC
(22 years, 7 months ago)
by
bh
(MainWindow.__init__): Turn the initial
window size into a parameter.
Revision
237 -
Directory Listing
Modified
Tue Jul 23 16:53:35 2002 UTC
(22 years, 7 months ago)
by
bh
update ChangeLog
Revision
236 -
Directory Listing
Modified
Tue Jul 23 16:53:14 2002 UTC
(22 years, 7 months ago)
by
bh
(Menu.item_index): Also search for menus not
just commands.
Revision
235 -
Directory Listing
Modified
Tue Jul 23 10:56:29 2002 UTC
(22 years, 7 months ago)
by
bh
* Thuban/UI/mainwindow.py (MainWindow.__init__): Change the
parameter list a bit to allow setting the window title and the
initial message in the status bar. Update the callers.
* Thuban/UI/application.py (ThubanApplication.OnInit)
(ThubanApplication.CreateMainWindow): Put the mainwindow
instantiation into a separate method so that it can be overridden
by a subclass.
Revision
234 -
Directory Listing
Modified
Fri Jul 19 15:15:26 2002 UTC
(22 years, 7 months ago)
by
bh
update ChangeLog
Revision
233 -
Directory Listing
Modified
Fri Jul 19 15:15:16 2002 UTC
(22 years, 7 months ago)
by
bh
* Thuban/UI/tree.py: We can now simply subscribe to the session's
CHANGED channel to be informed of changes.
(SessionTreeCtrl.session_channels): Not needed any longer.
(SessionTreeCtrl.unsubscribe_all, SessionTreeCtrl.session_changed):
Only have to (un)subscribe CHANGED
Revision
232 -
Directory Listing
Modified
Fri Jul 19 15:14:57 2002 UTC
(22 years, 7 months ago)
by
bh
* Thuban/Model/session.py: Issue a CHANGED message every time
another changed message is issued to make it easier to get
notified of changes.
(Session): Update the doc string
(Session.forward): Issue changed-events as CHANGED as well.
(Session.changed): Overwrite the inherited version to issue
CHANGED events as well.
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.