Log of /trunk
Directory Listing
Revision
685 -
Directory Listing
Modified
Tue Apr 15 21:56:08 2003 UTC
(21 years, 10 months ago)
by
jonathan
test file for test_load.py
Revision
684 -
Directory Listing
Modified
Tue Apr 15 21:55:12 2003 UTC
(21 years, 10 months ago)
by
jonathan
(testClassification): New. Loads the iceland_sample_test.thuban file and
checks if it was loaded correctly.
Revision
683 -
Directory Listing
Modified
Tue Apr 15 21:54:56 2003 UTC
(21 years, 10 months ago)
by
jonathan
(Saver.write_classification): Need to save the group label.
Revision
682 -
Directory Listing
Modified
Tue Apr 15 21:54:43 2003 UTC
(21 years, 10 months ago)
by
jonathan
Implemented __repr__ to make debugging a bit easier.
Revision
681 -
Directory Listing
Modified
Tue Apr 15 21:54:32 2003 UTC
(21 years, 10 months ago)
by
jonathan
Implemented __repr__ for the ClassGroup* classes to make debugging a bit easier.
(ClassGroup.SetLabel): Check that the string is an instance
of StringTypes not StringType. Accounts for Unicode strings.
Revision
680 -
Directory Listing
Modified
Tue Apr 15 21:54:12 2003 UTC
(21 years, 10 months ago)
by
jonathan
updated ChangeLog
Revision
679 -
Directory Listing
Modified
Tue Apr 15 19:46:37 2003 UTC
(21 years, 10 months ago)
by
jonathan
fix missed renaming
Revision
678 -
Directory Listing
Modified
Tue Apr 15 19:21:26 2003 UTC
(21 years, 10 months ago)
by
jonathan
(ClassGroupProperties): Make instance variables private and optimize comparison
operator by first checking if the color references are the same.
(ClassGroupSingleton): Make instance variables private.
(ClassGroupRange): Make instance variables private.
Revision
677 -
Directory Listing
Modified
Tue Apr 15 19:21:01 2003 UTC
(21 years, 10 months ago)
by
jonathan
(GenUniformPanel): Fix spin control weirdness by setting the range to
(1, maxint).
Revision
676 -
Directory Listing
Modified
Tue Apr 15 19:20:40 2003 UTC
(21 years, 10 months ago)
by
jonathan
(MapRenderer.draw_shape_layer): Make drawing initialization call to
draw_polygon_init()
(MapRenderer.draw_polygon_shape): Use new signature of draw_polygon_shape.
Revision
675 -
Directory Listing
Modified
Tue Apr 15 19:20:22 2003 UTC
(21 years, 10 months ago)
by
jonathan
(draw_polygon_init): New. Used to improve rendering performance by initializing
the variables that are not change each time draw_polygon_shape() is
called. The values are stored in a global struct draw_info.
(draw_polygon_shape): Removed initialization code that is now in
draw_polygon_init().
Revision
674 -
Directory Listing
Modified
Tue Apr 15 19:19:48 2003 UTC
(21 years, 10 months ago)
by
jonathan
updated ChangeLog
Revision
673 -
Directory Listing
Modified
Tue Apr 15 19:17:39 2003 UTC
(21 years, 10 months ago)
by
jonathan
updated ChangeLog
Revision
672 -
Directory Listing
Modified
Tue Apr 15 18:20:53 2003 UTC
(21 years, 10 months ago)
by
bh
update ChangeLog
Revision
671 -
Directory Listing
Modified
Tue Apr 15 18:09:47 2003 UTC
(21 years, 10 months ago)
by
bh
* Thuban/__init__.py (_): Implement the translation function for
real using the python gettext module.
* Thuban/UI/classifier.py (ClassTable.GetRowLabelValue): Don't
translate empty strings.
* Thuban/UI/application.py (ThubanApplication.read_startup_files):
Add a missing space to a warning message
* po/README: New. Notes about the management of the translation
files.
* po/Makefile: New. Makefile to help manage the translation files.
* po/es.po: New. Spanish translation by Daniel Calvelo Aros
* MANIFEST.in: Include the *.mo files in Resources/Locale and the
translations and support files in po/
* setup.py (data_files): Add the *.mo files to the data_files too
* README: Add note about the translations when building from CVS
Revision
670 -
Directory Listing
Modified
Tue Apr 15 08:52:35 2003 UTC
(21 years, 10 months ago)
by
jonathan
Filled in missing steps for releasing packages.
Revision
669 -
Directory Listing
Modified
Mon Apr 14 17:13:08 2003 UTC
(21 years, 10 months ago)
by
jonathan
updated ChangeLog
Revision
668 -
Directory Listing
Modified
Mon Apr 14 17:12:57 2003 UTC
(21 years, 10 months ago)
by
jonathan
(LegendPanel.__init__): The toolbar should be allowed to grow within the sizer.
Fixes a bug under Windows where the toolbar wasn't being drawn.
Revision
667 -
Directory Listing
Modified
Mon Apr 14 17:12:38 2003 UTC
(21 years, 10 months ago)
by
jonathan
Fixes some window resizing problems most noticable under windows. Always
assume the button bitmaps will be there. Code clean up.
(DockabelWindow.Dock, DockableWindow.UnDock): Force all the images for the
dock/undock button to the same images. Work around for RTbug #1801.
Revision
666 -
Directory Listing
Modified
Mon Apr 14 16:36:33 2003 UTC
(21 years, 10 months ago)
by
jonathan
Always assume the button bitmaps will be there. Code clean up.
Revision
665 -
Directory Listing
Modified
Mon Apr 14 16:35:19 2003 UTC
(21 years, 10 months ago)
by
jonathan
remove print statement
Revision
664 -
Directory Listing
Modified
Mon Apr 14 16:22:08 2003 UTC
(21 years, 10 months ago)
by
frank
Icon updates.
Revision
663 -
Directory Listing
Modified
Mon Apr 14 15:41:33 2003 UTC
(21 years, 10 months ago)
by
frank
Updated design to try to make the button functionality more transparent.
Revision
662 -
Directory Listing
Modified
Mon Apr 14 14:16:14 2003 UTC
(21 years, 10 months ago)
by
jonathan
updated ChangeLog
Revision
661 -
Directory Listing
Modified
Mon Apr 14 14:16:00 2003 UTC
(21 years, 10 months ago)
by
jonathan
(Classifier.__init__): Add a top level panel to the dialog so that the
background colors are consistent under Windows.
Revision
660 -
Directory Listing
Modified
Mon Apr 14 14:15:44 2003 UTC
(21 years, 10 months ago)
by
jonathan
(ClassGenDialog.__init__): Actively set the current selections in the combo
boxes. This is needed under Windows.
Revision
659 -
Directory Listing
Modified
Mon Apr 14 14:07:05 2003 UTC
(21 years, 10 months ago)
by
jonathan
Fixes some window resizing problems most noticable under windows.
Revision
658 -
Directory Listing
Modified
Mon Apr 14 14:06:30 2003 UTC
(21 years, 10 months ago)
by
jonathan
Call Create() at the end of __init__.
Revision
657 -
Directory Listing
Modified
Fri Apr 11 18:29:57 2003 UTC
(21 years, 10 months ago)
by
jonathan
check in to test dock changes under windows.
Revision
656 -
Directory Listing
Modified
Fri Apr 11 15:50:27 2003 UTC
(21 years, 10 months ago)
by
jonathan
Added test for copying of classifications.
Revision
655 -
Directory Listing
Modified
Fri Apr 11 15:50:13 2003 UTC
(21 years, 10 months ago)
by
jonathan
Enable/disable the legend buttons when the legend changes. Fixes RTbug #1793.
Revision
654 -
Directory Listing
Modified
Fri Apr 11 15:49:58 2003 UTC
(21 years, 10 months ago)
by
jonathan
Change color ramps to start at white not black.
Revision
653 -
Directory Listing
Modified
Fri Apr 11 14:28:29 2003 UTC
(21 years, 10 months ago)
by
jonathan
Added new menu item and associated code to open a dialog to rename the map.
(MainWindow): Use new resource class to import bitmaps.
Revision
652 -
Directory Listing
Modified
Fri Apr 11 14:28:08 2003 UTC
(21 years, 10 months ago)
by
jonathan
Use new bitmaps for the control buttons.
(LegendTree._OnMsgLayerTitleChanged): Change the displayed title
if the layer's title changes.
Revision
651 -
Directory Listing
Modified
Fri Apr 11 14:27:53 2003 UTC
(21 years, 10 months ago)
by
jonathan
Use new bitmaps for the control buttons.
Revision
650 -
Directory Listing
Modified
Fri Apr 11 14:27:41 2003 UTC
(21 years, 10 months ago)
by
jonathan
Refactored ID's from ID_CLASSIFY_* to ID_PROPERTY_*.
(Classifier.__init__): Minor changes to the layout.
(Classifier._OnTitleChanged): Listen for when the user edits the
title and update the dialog's title and the layer's title.
Revision
649 -
Directory Listing
Modified
Fri Apr 11 14:27:12 2003 UTC
(21 years, 10 months ago)
by
jonathan
(GenUniquePanel.__init__): Reordered buttons,
added images to the move buttons, added 'reverse' button.
(CustomRampPanel.__init__): Added images to the move buttons.
(GreyRamp): New. Generates a ramp from white to black.
(HotToColdRamp): New. Generates a ramp from cold to hot colors.
Revision
648 -
Directory Listing
Modified
Fri Apr 11 14:26:54 2003 UTC
(21 years, 10 months ago)
by
jonathan
New. Centralize the loading of resources such as bitmaps.
Revision
647 -
Directory Listing
Modified
Fri Apr 11 14:26:41 2003 UTC
(21 years, 10 months ago)
by
jonathan
updated ChangeLog
Revision
646 -
Directory Listing
Modified
Fri Apr 11 09:15:32 2003 UTC
(21 years, 10 months ago)
by
jonathan
updated ChangeLog
Revision
645 -
Directory Listing
Modified
Fri Apr 11 09:12:21 2003 UTC
(21 years, 10 months ago)
by
jonathan
New bitmaps for the legend, dock, and 'generate class' windows.
Revision
644 -
Directory Listing
Modified
Thu Apr 10 17:56:52 2003 UTC
(21 years, 10 months ago)
by
jonathan
updated ChangeLog
Revision
643 -
Directory Listing
Modified
Thu Apr 10 17:55:57 2003 UTC
(21 years, 10 months ago)
by
jonathan
(ClassGroupRange.__init__): Should pass group to ClassGroup constructor.
Revision
642 -
Directory Listing
Modified
Thu Apr 10 14:41:50 2003 UTC
(21 years, 10 months ago)
by
jonathan
fixed bug where if there was no classification and the default was hidden,
the default was still being drawn.
Revision
641 -
Directory Listing
Modified
Thu Apr 10 14:36:19 2003 UTC
(21 years, 10 months ago)
by
jonathan
(MapRenderer.draw_shape_layer): Only draw visible groups.
Revision
640 -
Directory Listing
Modified
Thu Apr 10 14:36:08 2003 UTC
(21 years, 10 months ago)
by
jonathan
MainWindow.OpenClassifier renamed to
MainWindow.OpenLayerProperties. MainWindow.LayerEditProperties
renamed to MainWindow.LayerEditProperties.
(MainWindow.ToggleLegend): Don't include map name in legend title.
(MainWindow.SetMap): Added the map name to the window title.
(MainWindow.LayerFillColor, MainWindow.LayerTransparentFill,
MainWindow.LayerOutlineColor, MainWindow.LayerNoOutline): Removed.
Functionality is found in the layer properties dialog.
Revision
639 -
Directory Listing
Modified
Thu Apr 10 14:35:39 2003 UTC
(21 years, 10 months ago)
by
jonathan
Classify button is now called "Properties".
Refactored the code to change variable names.
(LegendTree.__FillTreeLayer): Only list a group if it is visible.
Revision
638 -
Directory Listing
Modified
Thu Apr 10 14:35:20 2003 UTC
(21 years, 10 months ago)
by
jonathan
(ClassTable): Add a new column for the "Visible" check boxes.
(Classifier): Rename the buttons and refactor the code to match the new labels.
Revision
637 -
Directory Listing
Modified
Thu Apr 10 14:35:03 2003 UTC
(21 years, 10 months ago)
by
jonathan
(ClassGroup): Move all the common
methods of the derived classes ([Set|Get]Properties(), __eq__, __ne__)
here. Implement SetVisible(), IsVisible().
(ClassGroup.__init__): Add group parameter which acts as a copy
constructor.
Revision
636 -
Directory Listing
Modified
Thu Apr 10 14:34:33 2003 UTC
(21 years, 10 months ago)
by
jonathan
updated ChangeLog
Revision
635 -
Directory Listing
Modified
Wed Apr 9 15:42:25 2003 UTC
(21 years, 10 months ago)
by
jonathan
Modifications to allow simple addition and selection of new color schemes.
(MonochromaticRamp): New. Generates a ramp between two colors.
(RedRamp): New. Generates a ramp of all red.
(GreenRamp): New. Generates a ramp of all green.
(BlueRamp): New. Generates a ramp of all blue.
Revision
634 -
Directory Listing
Modified
Wed Apr 9 15:41:58 2003 UTC
(21 years, 10 months ago)
by
jonathan
updated ChangeLog
Revision
633 -
Directory Listing
Modified
Wed Apr 9 10:11:07 2003 UTC
(21 years, 10 months ago)
by
jonathan
Import just the Classifier class.
Revision
632 -
Directory Listing
Modified
Wed Apr 9 10:10:53 2003 UTC
(21 years, 10 months ago)
by
jonathan
(LegendTree): Use a private method to
consistently set the font and style of the text. Fixes RTbug #1786.
Revision
631 -
Directory Listing
Modified
Wed Apr 9 10:10:38 2003 UTC
(21 years, 10 months ago)
by
jonathan
It was decided that if the user closes
a dockable window the window should simply hide itself. That
way if the user wants to show the dock again it appears in the
same place as it was when it was closed.
(DockableWindow.Destroy): Call renamed method OnDockDestroy().
(DockableWindow._OnButtonClose): Hide the window instead of
destroying it.
(DockableWindow._OnClose): Hide the window instead of destroying it.
Revision
630 -
Directory Listing
Modified
Wed Apr 9 10:10:06 2003 UTC
(21 years, 10 months ago)
by
jonathan
Removed a lot of debugging code.
(Classifier._SetClassification): Callback method so that the
class generator can set the classification in the grid.
(ClassGroupPropertiesCtrl): New. Encapsulates the drawing and
editing of a group properties class into a wxWindows control.
Revision
629 -
Directory Listing
Modified
Wed Apr 9 10:09:44 2003 UTC
(21 years, 10 months ago)
by
jonathan
Renamed GenRangePanel to GenUniformPanel.
(GenUniquePanel): New. Controls to allow the user to select
which unique field values they would like in the classification.
(CustomRampPanel): Code that was in ClassGenDialog that allows
the user to select the properties for a custom ramp.
(ClassGenerator.GenUniformDistribution): Was called GenerateRanges.
Revision
628 -
Directory Listing
Modified
Wed Apr 9 10:09:15 2003 UTC
(21 years, 10 months ago)
by
jonathan
(Table.field_range): New. Retrive the
maximum and minimum values over the entire table for a given
field.
(Table.GetUniqueValues): New. Retrieve all the unique values
in the table for a given field.
Revision
627 -
Directory Listing
Modified
Wed Apr 9 10:08:47 2003 UTC
(21 years, 10 months ago)
by
jonathan
(Classification.__deepcopy__): Need to copy over field and fieldType attributes.
Revision
626 -
Directory Listing
Modified
Wed Apr 9 10:08:27 2003 UTC
(21 years, 10 months ago)
by
jonathan
updated ChangeLog
Revision
625 -
Directory Listing
Modified
Mon Apr 7 13:35:13 2003 UTC
(21 years, 11 months ago)
by
bh
update ChangeLog
Revision
624 -
Directory Listing
Modified
Mon Apr 7 13:34:54 2003 UTC
(21 years, 11 months ago)
by
bh
(main_menu): Move the toggle_legend item
to the map module
Revision
623 -
Directory Listing
Modified
Mon Apr 7 10:54:54 2003 UTC
(21 years, 11 months ago)
by
bh
update ChangeLog
Revision
622 -
Directory Listing
Modified
Mon Apr 7 10:54:32 2003 UTC
(21 years, 11 months ago)
by
bh
(MainWindow.ShowSessionTree): Removed in
favor of ToggleSessionTree
(MainWindow.ToggleSessionTree): New method to toggle visibility of
the session tree.
(MainWindow.SessionTreeShown): New method to return whether the
session tree is currently shown.
(MainWindow.ToggleLegend): New method to toggle visibility of the
legend
(MainWindow.ShowLegend): Implement in terms of ToggleLegend and
LegendShown
(MainWindow.LegendShown): New method to return whether the legend
is currently shown.
(_method_command): Add checked parameter so we can define check
menu items
(_has_tree_window_shown, _has_legend_shown): Use the appropriate
mainwindow methods.
(show_session_tree, show_legend commands): Removed.
(toggle_session_tree, toggle_legend commands): New commands to
toggle the visibility of the dialogs
Revision
621 -
Directory Listing
Modified
Mon Apr 7 10:14:50 2003 UTC
(21 years, 11 months ago)
by
jonathan
Use False instead of false.
(MainWindow.ShowLegend): Remove unnecessary switch parameter.
Revision
620 -
Directory Listing
Modified
Mon Apr 7 10:14:25 2003 UTC
(21 years, 11 months ago)
by
jonathan
Fix Windows problem.
Revision
619 -
Directory Listing
Modified
Mon Apr 7 10:14:03 2003 UTC
(21 years, 11 months ago)
by
jonathan
updated ChangeLog
Revision
618 -
Directory Listing
Modified
Mon Apr 7 08:58:26 2003 UTC
(21 years, 11 months ago)
by
jonathan
Fix tests to use the renamed methods. Still need to write tests for the
new methods.
Revision
617 -
Directory Listing
Modified
Mon Apr 7 08:58:04 2003 UTC
(21 years, 11 months ago)
by
jonathan
(check_version): If Thuban is compiled
with a really old version of proj, PJ_VERSION won't even be defined.
If it isn't defined then just compile so that the function always
returns Py_False.
Revision
616 -
Directory Listing
Modified
Mon Apr 7 08:57:38 2003 UTC
(21 years, 11 months ago)
by
jonathan
Put "Show Legend" and "Show Session Tree" into the same group.
Revision
615 -
Directory Listing
Modified
Mon Apr 7 08:57:20 2003 UTC
(21 years, 11 months ago)
by
jonathan
Now that we can depend on the order in
a Classification and have methods to manipulate that order we don't
need to use our own data structures in the grid. We can simply make
the grid/table access the information they need from a copy of
the classification object.
(Classifier._OnCloseBtn): Event handler for when the user clicks
'Close'. This is needed so if the user applies changes and then
continues to change the table the user has the option of discarding
the most recent changes and keeping what they applied.
Revision
614 -
Directory Listing
Modified
Mon Apr 7 08:56:38 2003 UTC
(21 years, 11 months ago)
by
jonathan
Use Classification.AppendGroup(), not AddGroup()
Revision
613 -
Directory Listing
Modified
Mon Apr 7 08:55:55 2003 UTC
(21 years, 11 months ago)
by
jonathan
(Classification.AppendGroup,
Classification.InsertGroup, Classification.ReplaceGroup,
Classification.RemoveGroup, Classification.GetGroup): Do as the
names imply.
(Classification.FindGroup): This was called GetGroup, but GetGroup
takes an index, while FindGroup takes a value.
(Classification.__deepcopy__): Copy all the groups, BUT NOT THE LAYER
REFERENCE. Currently there is a cyclic reference between the layer
and its classification. If the classification doesn't need to know
its owning layer we can change this, since it may make sense to be
able to use the same classification with different layers.
Revision
612 -
Directory Listing
Modified
Mon Apr 7 08:55:01 2003 UTC
(21 years, 11 months ago)
by
jonathan
updated ChangeLog
Revision
611 -
Directory Listing
Modified
Fri Apr 4 16:34:46 2003 UTC
(21 years, 11 months ago)
by
jonathan
(Classifier.__SelectField): Move the
call to SetSelection out of the method and before the call
to __SelectField in __init__. This prevents a recursion of events
when _OnFieldSelect is triggered by the user.
Revision
610 -
Directory Listing
Modified
Fri Apr 4 13:56:59 2003 UTC
(21 years, 11 months ago)
by
jonathan
Rename Color.None to Color.Transparent.
Revision
609 -
Directory Listing
Modified
Fri Apr 4 13:55:59 2003 UTC
(21 years, 11 months ago)
by
jonathan
Rename Color.None to
Color.Transparent.
(ClassGroupProperties.SetLineColori, ClassGroupProperties.SetFill):
Don't bother copying the color, since Colors are immutable.
Revision
608 -
Directory Listing
Modified
Fri Apr 4 13:55:36 2003 UTC
(21 years, 11 months ago)
by
jonathan
updated ChangeLog
Revision
607 -
Directory Listing
Modified
Fri Apr 4 12:16:57 2003 UTC
(21 years, 11 months ago)
by
jonathan
(ClassGenDialog): Dialog for generating
classifications.
(GenRangePanel): Panel specific to range generation.
(GenSingletonPanel): Panel specific to singleton generation.
(ClassGenerator): Class responsible for actually generating
the classification from the data gathered in the dialog box.
(PropertyRamp): Generates properties whose values range from
a starting property to an ending property.
Revision
606 -
Directory Listing
Modified
Fri Apr 4 12:16:39 2003 UTC
(21 years, 11 months ago)
by
jonathan
Fix assert calls.
(ClassGrid._OnCellDClick): Call up to the classifier to open the
dialog to edit the groups properties.
(ClassGrid._OnCellResize): Make sure that the scollbars are drawn
correctly if a cell is resized.
(ClassTable.SetClassification): New. Changes the classification
that is in the table.
(ClassTable.__SetRow): Allow groups to be prepended.
(Classifier): New code for opening the EditProperties and
GenerateRanges dialogs.
(SelectPropertiesDialog.__GetColor): Only set the color in the
color dialog if the current color is not None.
Revision
605 -
Directory Listing
Modified
Fri Apr 4 12:16:13 2003 UTC
(21 years, 11 months ago)
by
jonathan
Fix assert calls.
Revision
604 -
Directory Listing
Modified
Fri Apr 4 12:15:31 2003 UTC
(21 years, 11 months ago)
by
jonathan
(Color.__copy__, Color.__deepcopy): Copy
the color object.
(NoColor.__copy__, NoColor.__deepcopy): Return 'self' so that we
are sure there exists only one refernce to Color.None in the system.
This allows us to use 'is' rather than the comparision functions.
Revision
603 -
Directory Listing
Modified
Fri Apr 4 12:15:00 2003 UTC
(21 years, 11 months ago)
by
jonathan
fixed formatting
Revision
602 -
Directory Listing
Modified
Fri Apr 4 12:12:18 2003 UTC
(21 years, 11 months ago)
by
jonathan
Fix assert calls.
(ClassGroupProperties.SetLineColor, ClassGroupProperties.SetFill):
Copy the color parameter rather than hold onto a reference.
Revision
601 -
Directory Listing
Modified
Fri Apr 4 12:11:59 2003 UTC
(21 years, 11 months ago)
by
jonathan
updated ChangeLog
Revision
600 -
Directory Listing
Modified
Thu Apr 3 11:37:26 2003 UTC
(21 years, 11 months ago)
by
bh
update ChangeLog
Revision
599 -
Directory Listing
Modified
Thu Apr 3 11:37:13 2003 UTC
(21 years, 11 months ago)
by
bh
Use support.run_tests instead of
unittest.main so we get memory leak information
(TestLayer.test_arc_layer, TestLayer.test_polygon_layer)
(TestLayer.test_point_layer, TestLayer.test_empty_layer)
(TestLayerLegend.test_visibility): Call the layer's Destroy method
to fix a memory leak.
Revision
598 -
Directory Listing
Modified
Thu Apr 3 11:37:10 2003 UTC
(21 years, 11 months ago)
by
bh
Use support.run_tests instead of
unittest.main so we get memory leak information
(TestClassification.test_classification): Call the layer's Destroy
method to fix a memory leak.
Revision
597 -
Directory Listing
Modified
Thu Apr 3 11:37:06 2003 UTC
(21 years, 11 months ago)
by
bh
(main): Use support.print_garbage_information
Revision
596 -
Directory Listing
Modified
Thu Apr 3 11:37:01 2003 UTC
(21 years, 11 months ago)
by
bh
(print_garbage_information): New function that
prints information about still connected messages and memory
leaks.
(run_suite): Removed.
(run_tests): New function for use as a replacement of
unittest.main in the test_* files. This one calls
print_garbage_information at the end.
Revision
595 -
Directory Listing
Modified
Wed Apr 2 18:28:09 2003 UTC
(21 years, 11 months ago)
by
bh
update ChangeLog
Revision
594 -
Directory Listing
Modified
Wed Apr 2 18:28:00 2003 UTC
(21 years, 11 months ago)
by
bh
(check_version, check_version_gtk):
Handle the reference counts of the return value and errors in
PyArg_ParseTuple correctly.
Revision
593 -
Directory Listing
Modified
Wed Apr 2 18:26:22 2003 UTC
(21 years, 11 months ago)
by
bh
update ChangeLog
Revision
592 -
Directory Listing
Modified
Wed Apr 2 18:26:12 2003 UTC
(21 years, 11 months ago)
by
bh
(ThubanApplication.OpenSession): Make
sure the filename is absolute to avoid problems when saving the
session again
Revision
591 -
Directory Listing
Modified
Wed Apr 2 15:03:30 2003 UTC
(21 years, 11 months ago)
by
bh
update ChangeLog
Revision
590 -
Directory Listing
Modified
Wed Apr 2 15:03:19 2003 UTC
(21 years, 11 months ago)
by
bh
Remove unnecessary import. Fix a typo.
Revision
589 -
Directory Listing
Modified
Tue Apr 1 15:58:10 2003 UTC
(21 years, 11 months ago)
by
jonathan
updated ChangeLog
Revision
588 -
Directory Listing
Modified
Tue Apr 1 15:58:02 2003 UTC
(21 years, 11 months ago)
by
jonathan
(MapRenderer.draw_point_shape): Check
that there actually are points in the returned list of points
before trying to index into the list. The list may be empty if
the shape is a Null Shape.
Revision
587 -
Directory Listing
Modified
Tue Apr 1 15:57:28 2003 UTC
(21 years, 11 months ago)
by
jonathan
updated ChangeLog
Revision
586 -
Directory Listing
Modified
Tue Apr 1 10:41:16 2003 UTC
(21 years, 11 months ago)
by
bh
update ChangeLOg
Revision
585 -
Directory Listing
Modified
Tue Apr 1 10:41:05 2003 UTC
(21 years, 11 months ago)
by
bh
Don't use from <module> import *
Revision
584 -
Directory Listing
Modified
Tue Apr 1 10:22:35 2003 UTC
(21 years, 11 months ago)
by
jonathan
Fix messages that are sent from maps and layers.
Revision
583 -
Directory Listing
Modified
Tue Apr 1 10:22:16 2003 UTC
(21 years, 11 months ago)
by
jonathan
(DockableWindow._OnButtonClose): Call
self.Destroy() to close the window after yesterday's changes.
Revision
582 -
Directory Listing
Modified
Tue Apr 1 10:22:01 2003 UTC
(21 years, 11 months ago)
by
jonathan
Use LAYER_CHANGED instead of LAYER_LEGEND_CHANGED.
Revision
581 -
Directory Listing
Modified
Tue Apr 1 10:20:17 2003 UTC
(21 years, 11 months ago)
by
jonathan
updated ChangeLog
Revision
580 -
Directory Listing
Modified
Mon Mar 31 18:32:22 2003 UTC
(21 years, 11 months ago)
by
jonathan
Renamed OnClose to _OnClose for
symmetry with other such methods.
(MainWindow.ShowLegend): Show the legend docked by default.
Revision
579 -
Directory Listing
Modified
Mon Mar 31 18:32:07 2003 UTC
(21 years, 11 months ago)
by
jonathan
Show the legend by default when Thuban starts.
Revision
578 -
Directory Listing
Modified
Mon Mar 31 18:31:46 2003 UTC
(21 years, 11 months ago)
by
jonathan
(LegendPanel.Destroy): New. Cleans up
when then window is told to close.
(LegendTree._OnMsgLayerChanged): Fixes a seg fault bug. See
comment in source for more info.
Revision
577 -
Directory Listing
Modified
Mon Mar 31 18:31:33 2003 UTC
(21 years, 11 months ago)
by
jonathan
(DockableWindow.UnDock): Restore size and
position (although position doesn't work yet under GTK).
(DockableWindow.Destroy): New. Called when the window must be
closed. Namely needed when the DockFrame closes and must close
its children.
(DockFrame): Listen for EVT_CLOSE and destroy all children.
Revision
576 -
Directory Listing
Modified
Mon Mar 31 18:31:17 2003 UTC
(21 years, 11 months ago)
by
jonathan
Commented out some debugging statements.
(ClassDataPreviewer.Draw): Draw rectangles for polygon layers per
RTbug #1769.
Revision
575 -
Directory Listing
Modified
Mon Mar 31 18:30:51 2003 UTC
(21 years, 11 months ago)
by
jonathan
updated ChangeLog
Revision
574 -
Directory Listing
Modified
Fri Mar 28 17:07:26 2003 UTC
(21 years, 11 months ago)
by
jonathan
(MapRenderer.__init__): Added assert
to check if scale > 0. Trying to track down a divide by zero.
Revision
573 -
Directory Listing
Modified
Fri Mar 28 17:07:06 2003 UTC
(21 years, 11 months ago)
by
jonathan
Removed legend specific code and replaced it with calls to the new dock code.
Revision
572 -
Directory Listing
Modified
Fri Mar 28 17:06:50 2003 UTC
(21 years, 11 months ago)
by
jonathan
Modifications to support selecting a
specific group in the classification dialog. Changed how layers
are drawn when the layer is visible/invisible.
Revision
571 -
Directory Listing
Modified
Fri Mar 28 17:06:38 2003 UTC
(21 years, 11 months ago)
by
jonathan
Complete rework on the dock code so that
that it is fairly removed from the rest of the Thuban application.
It is easy to add new docks which the rest of the program having
to be aware of them.
Revision
570 -
Directory Listing
Modified
Fri Mar 28 17:06:26 2003 UTC
(21 years, 11 months ago)
by
jonathan
Support for highlighting a specific
group within the grid when the classification dialog is opened.
Also contains a lot of debugging printouts which will later
be removed.
Revision
569 -
Directory Listing
Modified
Fri Mar 28 17:06:11 2003 UTC
(21 years, 11 months ago)
by
jonathan
updated ChangeLog
Revision
568 -
Directory Listing
Modified
Wed Mar 26 11:51:28 2003 UTC
(21 years, 11 months ago)
by
jonathan
Removed unnecessary LegendDialog class.
(LegendPanel): Removed _OnDock()/_OnUnDock() methods which are
now part of DockableWindow.
(LegendPanel.DoOnSelChanged): Select the current layer in the map.
(LegendTree._OnSelChanged): Call LegendPanel.DoOnSelChanged()
with the selected layer and/or group.
Revision
567 -
Directory Listing
Modified
Wed Mar 26 11:51:01 2003 UTC
(21 years, 11 months ago)
by
jonathan
updated ChangeLog
Revision
566 -
Directory Listing
Modified
Wed Mar 26 11:10:41 2003 UTC
(21 years, 11 months ago)
by
jonathan
Added missing import line.
Revision
565 -
Directory Listing
Modified
Wed Mar 26 11:07:40 2003 UTC
(21 years, 11 months ago)
by
jonathan
(MapCanves.SetMap): Listen for LAYER_CHANGED, not LAYER_LEGEND_CHANGED,messages.
Revision
564 -
Directory Listing
Modified
Wed Mar 26 11:07:19 2003 UTC
(21 years, 11 months ago)
by
jonathan
Added DOCKABLE_* messages.
Revision
563 -
Directory Listing
Modified
Wed Mar 26 11:07:02 2003 UTC
(21 years, 11 months ago)
by
jonathan
Added sash windows to the main window and supporting functions for
manipulating the sashes.
(MainWindow.ShowLegend): Create a DockableWindow with the LegendPanel as the
contents.
Revision
562 -
Directory Listing
Modified
Wed Mar 26 11:06:22 2003 UTC
(21 years, 11 months ago)
by
jonathan
Added some more buttons and made the LegendPanel a DockPanel.
Revision
561 -
Directory Listing
Modified
Wed Mar 26 11:06:01 2003 UTC
(21 years, 11 months ago)
by
jonathan
New. Classes for the DockPanel and DockableWindow.
Revision
560 -
Directory Listing
Modified
Wed Mar 26 11:05:47 2003 UTC
(21 years, 11 months ago)
by
jonathan
(Classifier.__init__): Use wxADJUST_MINSIZE
as one of the style properties for the fieldTypeText item to
be sure that its size is correct when the text changes.
Revision
559 -
Directory Listing
Modified
Wed Mar 26 11:05:33 2003 UTC
(21 years, 11 months ago)
by
jonathan
(Map): Forward LAYER_CHANGED messages.
Revision
558 -
Directory Listing
Modified
Wed Mar 26 11:05:20 2003 UTC
(21 years, 11 months ago)
by
jonathan
(Layer.ClassChanged): Send a LAYER_CHANGED message, not a
LAYER_LEGEND_CHANGED message.
Revision
557 -
Directory Listing
Modified
Wed Mar 26 11:04:57 2003 UTC
(21 years, 11 months ago)
by
jonathan
updated ChangeLog
Revision
556 -
Directory Listing
Modified
Tue Mar 25 16:21:36 2003 UTC
(21 years, 11 months ago)
by
jonathan
Added line saying to use the custom build script.
Revision
555 -
Directory Listing
Modified
Tue Mar 25 16:21:23 2003 UTC
(21 years, 11 months ago)
by
jonathan
Added custom script bdist_rpm_build_script so that when the rpm is built
the path to wx-config is correct.
Revision
554 -
Directory Listing
Modified
Tue Mar 25 16:20:51 2003 UTC
(21 years, 11 months ago)
by
jonathan
updated ChangeLog
Revision
553 -
Directory Listing
Modified
Thu Mar 20 10:52:34 2003 UTC
(21 years, 11 months ago)
by
jonathan
fixed proj version check bug where the check should have been minimum <= current.
Revision
552 -
Directory Listing
Modified
Thu Mar 20 09:45:43 2003 UTC
(21 years, 11 months ago)
by
jonathan
updated ChangeLog
Revision
551 -
Directory Listing
Modified
Thu Mar 20 09:45:33 2003 UTC
(21 years, 11 months ago)
by
jonathan
Use new message names.
Revision
550 -
Directory Listing
Modified
Thu Mar 20 09:45:19 2003 UTC
(21 years, 11 months ago)
by
jonathan
New code to open the legend.
Revision
549 -
Directory Listing
Modified
Thu Mar 20 09:45:07 2003 UTC
(21 years, 11 months ago)
by
jonathan
Remember if any changes have actually
been applied so that if the dialog is cancelled without an application
of changes we don't have to set a new classification.
(ClassDataPreviewer): Pulled out the window specific code and put it
ClassDataPreviewWindow. ClassDataPreviewer can then be used to draw
symbols on any DC.
Revision
548 -
Directory Listing
Modified
Thu Mar 20 09:44:49 2003 UTC
(21 years, 11 months ago)
by
jonathan
Rename and use new messages.
Revision
547 -
Directory Listing
Modified
Thu Mar 20 09:44:35 2003 UTC
(21 years, 11 months ago)
by
jonathan
New message to indicate that a layer's
data has changed (LAYER_CHANGED). New map messages to indicate
when layers have been added/removed/changed or if the stacking order
of the layers has changed.
Revision
546 -
Directory Listing
Modified
Thu Mar 20 09:44:20 2003 UTC
(21 years, 11 months ago)
by
jonathan
(Map): Rename messages and use new, more specific, messages.
Revision
545 -
Directory Listing
Modified
Thu Mar 20 09:44:04 2003 UTC
(21 years, 11 months ago)
by
jonathan
(Layer.SetClassification): Generate a LAYER_CHANGED event instead of a
LAYER_LEGEND_CHANGED event.
Revision
544 -
Directory Listing
Modified
Thu Mar 20 09:43:48 2003 UTC
(21 years, 11 months ago)
by
jonathan
(ClassGroup.GetDisplayText): New. Returns a string which is appropriately
describes the group.
Revision
543 -
Directory Listing
Modified
Thu Mar 20 09:43:29 2003 UTC
(21 years, 11 months ago)
by
jonathan
New command 'build_docs' which currently uses
happydoc to generate html documentation for Thuban.
Revision
542 -
Directory Listing
Modified
Thu Mar 20 09:43:16 2003 UTC
(21 years, 11 months ago)
by
jonathan
New. Creates a window that shows the map's
Legend information and allows the user to add/modify classifications
and how the layers are drawn on the map.
Revision
541 -
Directory Listing
Modified
Wed Mar 19 16:03:12 2003 UTC
(21 years, 11 months ago)
by
jonathan
updated ChangeLog
Revision
540 -
Directory Listing
Modified
Wed Mar 19 15:37:24 2003 UTC
(21 years, 11 months ago)
by
jonathan
(verify_versions): New. Checks the versions of Python, wxPython,
and some other libraries.
Revision
539 -
Directory Listing
Modified
Wed Mar 19 15:36:40 2003 UTC
(21 years, 11 months ago)
by
jonathan
(check_version): Checks the given
version against what wxproj was compiled with.
(check_version_gtk): If wxproj was compiled with gtk then check
the given version against the version of the gtk library
currently being used.
Revision
538 -
Directory Listing
Modified
Fri Mar 14 20:45:39 2003 UTC
(21 years, 11 months ago)
by
bh
update ChangeLog
Revision
537 -
Directory Listing
Modified
Fri Mar 14 20:43:50 2003 UTC
(21 years, 11 months ago)
by
bh
Run the tests when the module is run as a
script
Revision
536 -
Directory Listing
Modified
Fri Mar 14 20:43:08 2003 UTC
(21 years, 11 months ago)
by
bh
Test cases for the selection class
Revision
535 -
Directory Listing
Modified
Fri Mar 14 20:42:18 2003 UTC
(21 years, 11 months ago)
by
bh
Implement multiple selected shapes
* Thuban/UI/selection.py: New module with a class to represent the
selection.
* Thuban/UI/messages.py (SELECTED_TABLE, SELECTED_MAP): Remove
these unused messages
* Thuban/UI/application.py (ThubanApplication.OnInit)
(ThubanApplication.OnExit, ThubanApplication.SetSession): The
interactor is gone now.
(ThubanApplication.CreateMainWindow): There is no interactor
anymore so we pass None as the interactor argument for now for
compatibility.
* Thuban/UI/view.py (MapCanvas.delegated_messages)
(MapCanvas.Subscribe, MapCanvas.Unsubscribe): In Subscribe and
Unsubscribe, delegate messages according to the delegated_messages
class variable.
(MapCanvas.__getattr__, MapCanvas.delegated_methods): Get some
attributes from instance variables as described with the
delegated_methods class variable.
(MapCanvas.__init__): New instance variable selection holding the
current selection
(MapCanvas.do_redraw): Deal with multiple selected shapes. Simply
pass them on to the renderer
(MapCanvas.SetMap): Clear the selection when a different map is
selected.
(MapCanvas.shape_selected): Simple force a complete redraw. The
selection class now takes care of only issueing SHAPES_SELECTED
messages when the set of selected shapes actually does change.
(MapCanvas.SelectShapeAt): The selection is now managed in
self.selection
* Thuban/UI/mainwindow.py (MainWindow.delegated_messages)
(MainWindow.Subscribe, MainWindow.Unsubscribe): In Subscribe and
Unsubscribe, delegate messages according to the delegated_messages
class variable.
(MainWindow.delegated_methods, MainWindow.__getattr__): Get some
attributes from instance variables as described with the
delegated_methods class variable.
(MainWindow.__init__): The interactor as ivar is gone. The
parameter is still there for compatibility. The selection messages
now come from the canvas.
(MainWindow.current_layer, MainWindow.has_selected_layer):
Delegate to the the canvas.
(MainWindow.LayerShowTable, MainWindow.Classify)
(MainWindow.identify_view_on_demand): The dialogs don't need the
interactor parameter anymore.
* Thuban/UI/tableview.py (TableFrame.__init__)
(LayerTableFrame.__init__, LayerTableFrame.OnClose)
(LayerTableFrame.row_selected): The interactor is gone. It's job
from the dialog's point of view is now done by the mainwindow,
i.e. the parent. Subscribe to SHAPES_SELECTED instead
of SELECTED_SHAPE
* Thuban/UI/dialogs.py (NonModalDialog.__init__): The interactor
is gone. It's job from the dialog's point of view is now done by
the mainwindow, i.e. the parent.
* Thuban/UI/classifier.py (Classifier.__init__): The interactor is
gone. It's job from the dialog's point of view is now done by the
mainwindow, i.e. the parent.
* Thuban/UI/tree.py (SessionTreeView.__init__): The interactor is
gone. It's job from the dialog's point of view is now done by the
mainwindow, i.e. the parent.
(SessionTreeCtrl.__init__): New parameter mainwindow which is
stored as self.mainwindow. The mainwindow is need so that the tree
can still subscribe to the selection messages.
(SessionTreeCtrl.__init__, SessionTreeCtrl.unsubscribe_all)
(SessionTreeCtrl.update_tree, SessionTreeCtrl.OnSelChanged): The
selection is now accessible through the mainwindow. Subscribe to
SHAPES_SELECTED instead of SELECTED_SHAPE
* Thuban/UI/identifyview.py (IdentifyView.__init__): Use the
SHAPES_SELECTED message now.
(IdentifyView.selected_shape): Now subscribed to SHAPES_SELECTED,
so deal with multiple shapes
(IdentifyView.__init__, IdentifyView.OnClose): The interactor is
gone. It's job from the dialog's point of view is now done by the
mainwindow, i.e. the parent.
* Thuban/UI/renderer.py (ScreenRenderer.RenderMap): Rename the
selected_shape parameter and ivar to selected_shapes. It's now a
list of shape ids.
(MapRenderer.draw_label_layer): Deal with multiple selected
shapes. Rearrange the code a bit so that the setup and shape type
distinctions are only executed once.
Revision
533 -
Directory Listing
Modified
Fri Mar 14 16:18:48 2003 UTC
(21 years, 11 months ago)
by
jonathan
Fixed directory problem when creating a installation with Inno Setup by
defining the install_lib and install_data paths.
Revision
532 -
Directory Listing
Modified
Fri Mar 14 11:31:24 2003 UTC
(21 years, 11 months ago)
by
jonathan
Adjust revision number.
Revision
531 -
Directory Listing
Modified
Fri Mar 14 11:19:22 2003 UTC
(21 years, 11 months ago)
by
jonathan
adjust the order of some things.
Revision
530 -
Directory Listing
Modified
Wed Mar 12 19:58:00 2003 UTC
(21 years, 11 months ago)
by
jonathan
Fixed problem with xml reading that caused exceptions
Revision
529 -
Directory Listing
Modified
Wed Mar 12 19:55:24 2003 UTC
(21 years, 11 months ago)
by
jonathan
Handle the cyclic references between
a layer and its classification better, and be sure to disconnect
the classification from the layer when the layer is destroyed
so that we don't maintain a cyclic reference that may not be
garbage collected.
Revision
528 -
Directory Listing
Modified
Wed Mar 12 19:55:13 2003 UTC
(21 years, 11 months ago)
by
jonathan
This comment is really for layer.py, but the motive was the same for
classification.py:
Handle the cyclic references between
a layer and its classification better, and be sure to disconnect
the classification from the layer when the layer is destroyed
so that we don't maintain a cyclic reference that may not be
garbage collected.
Revision
527 -
Directory Listing
Modified
Wed Mar 12 19:54:04 2003 UTC
(21 years, 11 months ago)
by
jonathan
updated ChangeLog
Revision
526 -
Directory Listing
Modified
Wed Mar 12 19:17:49 2003 UTC
(21 years, 11 months ago)
by
jonathan
Comments, and an extra import.
Revision
525 -
Directory Listing
Modified
Wed Mar 12 19:12:30 2003 UTC
(21 years, 11 months ago)
by
jonathan
Testing fix for xml reader exceptions.
Revision
524 -
Directory Listing
Modified
Wed Mar 12 18:26:55 2003 UTC
(21 years, 11 months ago)
by
jonathan
Fixed external entity problem.
Revision
523 -
Directory Listing
Modified
Wed Mar 12 17:08:23 2003 UTC
(21 years, 11 months ago)
by
jan
added a HOWTO on releasing
Revision
522 -
Directory Listing
Modified
Wed Mar 12 17:08:00 2003 UTC
(21 years, 11 months ago)
by
jan
Information on the steps for releasing a new version of Thuban.
Revision
521 -
Directory Listing
Modified
Wed Mar 12 13:18:50 2003 UTC
(21 years, 11 months ago)
by
jonathan
Create an empty image to use when there is no special image for an item.
Revision
520 -
Directory Listing
Modified
Wed Mar 12 10:35:49 2003 UTC
(21 years, 11 months ago)
by
jonathan
Try using a 0x0 image for items that don't need an image so that the
tree looks OK under Windows.
Revision
519 -
Directory Listing
Modified
Tue Mar 11 22:27:35 2003 UTC
(21 years, 11 months ago)
by
jonathan
Undo last changes so that we now need wxWindows2.4
Revision
518 -
Directory Listing
Modified
Tue Mar 11 17:34:21 2003 UTC
(21 years, 11 months ago)
by
jonathan
Use True instead of true.
Revision
517 -
Directory Listing
Modified
Tue Mar 11 17:28:39 2003 UTC
(21 years, 11 months ago)
by
jonathan
About window shows version number.
Revision
516 -
Directory Listing
Modified
Tue Mar 11 16:45:37 2003 UTC
(21 years, 11 months ago)
by
jonathan
Fixed file so that the field_type information is present.
Revision
515 -
Directory Listing
Modified
Tue Mar 11 16:45:20 2003 UTC
(21 years, 11 months ago)
by
jonathan
Update some definitions to use wxWindows2.4 files.
Revision
514 -
Directory Listing
Modified
Tue Mar 11 16:44:44 2003 UTC
(21 years, 11 months ago)
by
jonathan
updated ChangeLog
Revision
513 -
Directory Listing
Modified
Tue Mar 11 16:42:38 2003 UTC
(21 years, 11 months ago)
by
jonathan
Quick fix so that the ClassGrid works on wxWindows 2.3.
Revision
512 -
Directory Listing
Modified
Tue Mar 11 16:32:39 2003 UTC
(21 years, 11 months ago)
by
jonathan
Use True instead of true.
Revision
511 -
Directory Listing
Modified
Tue Mar 11 16:27:52 2003 UTC
(21 years, 11 months ago)
by
jonathan
More work with the classifier panel.
Revision
510 -
Directory Listing
Modified
Tue Mar 11 16:05:18 2003 UTC
(21 years, 11 months ago)
by
jonathan
Fixed problem with unwanted tree item images under Windows.
Revision
509 -
Directory Listing
Modified
Tue Mar 11 09:45:59 2003 UTC
(21 years, 11 months ago)
by
jonathan
Working to get wxPanel to behave correctly.
Revision
508 -
Directory Listing
Modified
Tue Mar 11 09:45:31 2003 UTC
(21 years, 11 months ago)
by
jonathan
Add normal border.
Revision
507 -
Directory Listing
Modified
Mon Mar 10 17:36:42 2003 UTC
(21 years, 11 months ago)
by
jonathan
Add normal border to SelectPropertiesDialog.
Revision
506 -
Directory Listing
Modified
Mon Mar 10 15:49:22 2003 UTC
(21 years, 11 months ago)
by
jonathan
(Classifier.__init__): Make the
field type label grow so that when the text changes the
size is updated correctly. This may be a wxWindows bug.
Revision
505 -
Directory Listing
Modified
Mon Mar 10 15:48:17 2003 UTC
(21 years, 11 months ago)
by
jonathan
updated ChangeLog
Revision
504 -
Directory Listing
Modified
Mon Mar 10 15:12:24 2003 UTC
(21 years, 11 months ago)
by
jonathan
Changed SESSION_CHANGED to SESSION_REPLACED. Go back to using OnClose()
instead of Shutdown().
Revision
503 -
Directory Listing
Modified
Mon Mar 10 15:12:09 2003 UTC
(21 years, 11 months ago)
by
jonathan
Changed SESSION_CHANGED to SESSION_REPLACED.
Revision
502 -
Directory Listing
Modified
Mon Mar 10 15:11:53 2003 UTC
(21 years, 11 months ago)
by
jonathan
(MainWindow.prepare_new_session): Call Close() instead of Shutdown().
Revision
501 -
Directory Listing
Modified
Mon Mar 10 15:11:39 2003 UTC
(21 years, 11 months ago)
by
jonathan
Don't need Shutdown(); just use Close()!
Revision
500 -
Directory Listing
Modified
Mon Mar 10 15:11:24 2003 UTC
(21 years, 11 months ago)
by
jonathan
Wrap text with _().
(ClassGrid.CreateTable): Set dimensions and size hints here,
instead of in Reset, so we only set the size once.
Revision
499 -
Directory Listing
Modified
Mon Mar 10 15:10:48 2003 UTC
(21 years, 11 months ago)
by
jonathan
updated ChangeLog
Revision
498 -
Directory Listing
Modified
Mon Mar 10 11:03:22 2003 UTC
(21 years, 11 months ago)
by
jonathan
(Classifier): SelectField() needed
to know the old field index as well as the new one.
Revision
497 -
Directory Listing
Modified
Mon Mar 10 11:02:26 2003 UTC
(21 years, 11 months ago)
by
jonathan
updated ChangeLog
Revision
496 -
Directory Listing
Modified
Mon Mar 10 10:54:50 2003 UTC
(21 years, 11 months ago)
by
jonathan
(Classifier): Use __SelectField()
to correctly set the table information and call this from
__init__ and from _OnFieldSelect so that all the information
is up to date when the dialog opens and when a field is changed.
Revision
495 -
Directory Listing
Modified
Mon Mar 10 10:54:26 2003 UTC
(21 years, 11 months ago)
by
jonathan
updated ChangeLog
Revision
494 -
Directory Listing
Modified
Mon Mar 10 10:45:33 2003 UTC
(21 years, 11 months ago)
by
jonathan
New and improved tests.
Revision
493 -
Directory Listing
Modified
Mon Mar 10 10:45:10 2003 UTC
(21 years, 11 months ago)
by
jonathan
Comment out print statement
Revision
492 -
Directory Listing
Modified
Mon Mar 10 10:44:57 2003 UTC
(21 years, 11 months ago)
by
jonathan
Added ClassChanged() so that the
classification can tell the layer when its data has changed.
(Layer.SetClassification): Accepts None as an arguement to
remove the current classification and correctly handles
adding a new classification.
Revision
491 -
Directory Listing
Modified
Mon Mar 10 10:44:42 2003 UTC
(21 years, 11 months ago)
by
jonathan
(Classification): Don't use
layer's message function directly, use the ClassChanged() method
when then classification changes. SetField/SetFieldType/SetLayer
must keep the information about field name and field type in
sync when an owning layer is set or removed.
Revision
490 -
Directory Listing
Modified
Mon Mar 10 10:44:24 2003 UTC
(21 years, 11 months ago)
by
jonathan
updated ChangeLog
Revision
489 -
Directory Listing
Modified
Fri Mar 7 18:22:47 2003 UTC
(22 years ago)
by
jonathan
removed print statement
Revision
488 -
Directory Listing
Modified
Fri Mar 7 18:21:25 2003 UTC
(22 years ago)
by
jonathan
(SessionTreeView): Remove OnClose and let
the parent class handle it. Add Shutdown() to unsubscibe from
event notification and call the parent Shutdown(). This was
necessary so the application can close the tree window.
Revision
487 -
Directory Listing
Modified
Fri Mar 7 18:21:03 2003 UTC
(22 years ago)
by
jonathan
(MainWindow.prepare_new_session):
Shuts down open dialogs. Used when a new session is created
or a session is opened.
(MainWindow.SaveSession): Should only call application.SaveSession()
if we don't call SaveSessionAs first.
(MainWindow.Classify): Allow different classifier dialogs for
different layers.
Revision
486 -
Directory Listing
Modified
Fri Mar 7 18:20:46 2003 UTC
(22 years ago)
by
jonathan
(NonModalDialog.Shutdown): New method which
does what OnClose did, but can be called by the application to
close a window. Needed when a session changes, and we have to
close the classifier windows.
Revision
485 -
Directory Listing
Modified
Fri Mar 7 18:20:31 2003 UTC
(22 years ago)
by
jonathan
Setting and Getting table values now
uses a consistent set of functions.
(Classifier): Now non-modal. Has field type label which changes
as the field changes. Keep track of buttons in a list so that
we can enable/disable the buttons when the None field is selected.
(SelectPropertiesDialog): Add buttons to make the colors transparent.
Revision
484 -
Directory Listing
Modified
Fri Mar 7 18:20:10 2003 UTC
(22 years ago)
by
jonathan
Implemented __copy__ and __deepcopy__ for ClassGroup* and ClassGroupProperites
so they can easily be copied by the classifier dialog.
(ClassGroupProperites.__init__): The default line color should
have been Color.Black.
Revision
483 -
Directory Listing
Modified
Fri Mar 7 18:19:31 2003 UTC
(22 years ago)
by
jonathan
updated ChangeLog
Revision
482 -
Directory Listing
Modified
Thu Mar 6 16:47:02 2003 UTC
(22 years ago)
by
jonathan
Fixed and added tests for the classification classes.
Revision
481 -
Directory Listing
Modified
Thu Mar 6 16:46:36 2003 UTC
(22 years ago)
by
jonathan
(SetClassification): prevent recursion between this method and
Classification.SetLayer().
Revision
480 -
Directory Listing
Modified
Thu Mar 6 16:46:19 2003 UTC
(22 years ago)
by
jonathan
Addition of __eq__ and __ne__ methods.
Revision
479 -
Directory Listing
Modified
Thu Mar 6 16:46:07 2003 UTC
(22 years ago)
by
jonathan
Minor documentation changes, Addition of __eq__ and __ne__ methods.
(Classification.SetLayer): prevent recursion between this method
and Layer.SetClassification().
Revision
478 -
Directory Listing
Modified
Thu Mar 6 16:45:32 2003 UTC
(22 years ago)
by
jonathan
updated ChangeLog
Revision
477 -
Directory Listing
Modified
Thu Mar 6 15:03:48 2003 UTC
(22 years ago)
by
bh
update ChangeLog
Revision
476 -
Directory Listing
Modified
Thu Mar 6 15:03:37 2003 UTC
(22 years ago)
by
bh
(ClassGrid.__init__)
(ClassGrid.CreateTable): Move the SetSelectionMode call to
CreateTable because otherwise it triggers an assertion in
wxPython/wxGTK 2.4.
Revision
475 -
Directory Listing
Modified
Wed Mar 5 18:40:25 2003 UTC
(22 years ago)
by
jonathan
updated ChangeLog
Revision
474 -
Directory Listing
Modified
Wed Mar 5 18:40:03 2003 UTC
(22 years ago)
by
jonathan
Put FIELDTYPE constants back
Revision
473 -
Directory Listing
Modified
Wed Mar 5 18:39:45 2003 UTC
(22 years ago)
by
jonathan
import FIELDTYPE constants from table
Revision
472 -
Directory Listing
Modified
Wed Mar 5 18:39:12 2003 UTC
(22 years ago)
by
jonathan
Move FIELDTYPE constants back to table.py
Revision
471 -
Directory Listing
Modified
Wed Mar 5 18:37:55 2003 UTC
(22 years ago)
by
jonathan
updated ChangeLog
Revision
470 -
Directory Listing
Modified
Wed Mar 5 18:19:41 2003 UTC
(22 years ago)
by
jonathan
Add field_type attribute to a classification.
Revision
469 -
Directory Listing
Modified
Wed Mar 5 18:19:25 2003 UTC
(22 years ago)
by
jonathan
Function name changes.
Revision
468 -
Directory Listing
Modified
Wed Mar 5 18:19:13 2003 UTC
(22 years ago)
by
jonathan
(MapRenderer.draw_shape_layer): Only get the layer classification once.
Don't try to classify values when the field is None: just use the default
properties.
Revision
467 -
Directory Listing
Modified
Wed Mar 5 18:18:38 2003 UTC
(22 years ago)
by
jonathan
Put FIELDTYPE constants in common.py. (Table): Add field_info_by_name() to
retrieve field information by specifying the field name, not the number.
Revision
466 -
Directory Listing
Modified
Wed Mar 5 18:18:20 2003 UTC
(22 years ago)
by
jonathan
(Saver): Store field type information.
Revision
465 -
Directory Listing
Modified
Wed Mar 5 18:18:06 2003 UTC
(22 years ago)
by
jonathan
(ProcessSession): Use proper string conversion function; fixes RTbug #1713.
Revision
464 -
Directory Listing
Modified
Wed Mar 5 18:17:47 2003 UTC
(22 years ago)
by
jonathan
(Layer): Add GetFieldType to retreive the kind of data represented by a field.
Revision
463 -
Directory Listing
Modified
Wed Mar 5 18:17:30 2003 UTC
(22 years ago)
by
jonathan
Documentation.
Revision
462 -
Directory Listing
Modified
Wed Mar 5 18:17:17 2003 UTC
(22 years ago)
by
jonathan
Class documentation. Renaming of methods with Stroke to Line.
Groups are stored in a single list with the default as the first element.
Groups are searched in the order they appear in the list.
Revision
461 -
Directory Listing
Modified
Wed Mar 5 18:16:45 2003 UTC
(22 years ago)
by
jonathan
Moved FIELDTYPE constants from table.py (Str2Num):
Only catch ValueError exceptions.
Revision
460 -
Directory Listing
Modified
Wed Mar 5 18:16:28 2003 UTC
(22 years ago)
by
jonathan
Added class documentation.
Fixed RTbug #1713, #1714. Added Move[Up|Down] buttons.
Store just the groups in the table and generate the other
column information when it is requested. Add "None" field
to pull-down to select no classification.
Revision
459 -
Directory Listing
Modified
Wed Mar 5 18:16:06 2003 UTC
(22 years ago)
by
jonathan
updated ChangeLog
Revision
458 -
Directory Listing
Modified
Tue Mar 4 13:43:16 2003 UTC
(22 years ago)
by
bh
update ChangeLog
Revision
457 -
Directory Listing
Modified
Tue Mar 4 13:43:06 2003 UTC
(22 years ago)
by
bh
Use correct syntax for optional attributes. Make
the fill and stroke layer attributes optional with suitable
default values. Add the stroke_width layer attribute. Use correct
syntax for empty elements. Make the attribute list for labels
refer to the label element.
Revision
456 -
Directory Listing
Modified
Tue Mar 4 11:32:31 2003 UTC
(22 years ago)
by
bh
update ChangeLog
Revision
455 -
Directory Listing
Modified
Tue Mar 4 11:32:20 2003 UTC
(22 years ago)
by
bh
(ClassGrid.__init__): Set the table
before the selection mode. Doing it the other way round triggers
an assertion in wxWindows.
Revision
454 -
Directory Listing
Modified
Tue Mar 4 11:31:47 2003 UTC
(22 years ago)
by
bh
(escape): Fix typo in doc-string
Revision
453 -
Directory Listing
Modified
Tue Mar 4 11:31:39 2003 UTC
(22 years ago)
by
bh
Remove unnecessary wxPython import
Revision
452 -
Directory Listing
Modified
Tue Mar 4 11:31:04 2003 UTC
(22 years ago)
by
bh
(thuban_build_py.build): Add a comment about distutils in
Python 2.3 containing some of the functionality we implement in
setup.py ourselves.
Revision
451 -
Directory Listing
Modified
Tue Mar 4 10:33:56 2003 UTC
(22 years ago)
by
jonathan
(ClassGrid): Moved OnCellDClick() from
Classifier to ClassGrid. Added support for removing selected rows,
which including code for keeping track of when cells are selected,
and deselected.
(ClassTable): Support for added/removing rows. Fixed a problem
with __ParseInput whereby it would not allow strings (only numbers)
to be entered.
(Classifier): Added button and supporting code for removing selected rows.
Revision
450 -
Directory Listing
Modified
Tue Mar 4 10:33:28 2003 UTC
(22 years ago)
by
jonathan
Use Layer.GetClassification() since the class attribute __classification is
now private.
Revision
449 -
Directory Listing
Modified
Tue Mar 4 10:33:08 2003 UTC
(22 years ago)
by
jonathan
(ClassGroupRange.GetProperties): Parameter 'value' should default to None.
Revision
448 -
Directory Listing
Modified
Tue Mar 4 10:32:42 2003 UTC
(22 years ago)
by
jonathan
updated ChangeLog
Revision
447 -
Directory Listing
Modified
Thu Feb 27 16:05:51 2003 UTC
(22 years ago)
by
jonathan
updated ChangeLog
Revision
446 -
Directory Listing
Modified
Thu Feb 27 16:05:10 2003 UTC
(22 years ago)
by
jonathan
Use new Classification and Group classes.
Revision
445 -
Directory Listing
Modified
Thu Feb 27 16:03:17 2003 UTC
(22 years ago)
by
jonathan
updated ChangeLog
Revision
444 -
Directory Listing
Modified
Thu Feb 27 16:02:59 2003 UTC
(22 years ago)
by
jonathan
Fix to create a tuple with a single value instead of simply returning the value.
Revision
443 -
Directory Listing
Modified
Thu Feb 27 15:55:42 2003 UTC
(22 years ago)
by
jonathan
Use common.py functions.
Revision
442 -
Directory Listing
Modified
Thu Feb 27 15:55:25 2003 UTC
(22 years ago)
by
jonathan
Use new Classification and Group functions. Use common.py functions.
Revision
441 -
Directory Listing
Modified
Thu Feb 27 15:55:00 2003 UTC
(22 years ago)
by
jonathan
Changes to use new Classification and Group functions.
Revision
440 -
Directory Listing
Modified
Thu Feb 27 15:54:27 2003 UTC
(22 years ago)
by
jonathan
Fixes a test case failure.
(Saver.write_classification): Use new Classification and Group functions.
Revision
439 -
Directory Listing
Modified
Thu Feb 27 15:54:05 2003 UTC
(22 years ago)
by
jonathan
Use new Classification and Group functions.
Revision
438 -
Directory Listing
Modified
Thu Feb 27 15:53:48 2003 UTC
(22 years ago)
by
jonathan
Common functions used in several UI modules
Revision
437 -
Directory Listing
Modified
Thu Feb 27 15:53:21 2003 UTC
(22 years ago)
by
jonathan
Fixed name resolution problem.
Revision
436 -
Directory Listing
Modified
Thu Feb 27 15:53:03 2003 UTC
(22 years ago)
by
jonathan
Changed the class hierarchy
so that a Classification consists of Groups which return
Properties when a value matches a Group.
Revision
435 -
Directory Listing
Modified
Thu Feb 27 15:52:48 2003 UTC
(22 years ago)
by
jonathan
Moved color conversion functions into Thuban/UI/common.py.
(Str2Num): Now converts the float (not the string) to a long/int
so that an exception isn't thrown.
Revision
434 -
Directory Listing
Modified
Thu Feb 27 15:51:55 2003 UTC
(22 years ago)
by
jonathan
updated ChangeLog
Revision
433 -
Directory Listing
Modified
Mon Feb 24 18:47:49 2003 UTC
(22 years ago)
by
jonathan
(MapCanvas.find_shape_at): Use method calls
instead of accessing now non-existent class variables.
Revision
432 -
Directory Listing
Modified
Mon Feb 24 18:47:36 2003 UTC
(22 years ago)
by
jonathan
(MapRenderer.draw_shape_layer): Change
Classification method name from GetProperties to GetClassData.
Revision
431 -
Directory Listing
Modified
Mon Feb 24 18:47:21 2003 UTC
(22 years ago)
by
jonathan
(MainWindow.OpenSession,
MainWindow.SaveSessionAs): Text string changes so the dialogs
have more meaningful titles.
Revision
430 -
Directory Listing
Modified
Mon Feb 24 18:47:06 2003 UTC
(22 years ago)
by
jonathan
(SelectPropertiesDialog): Support
for changing the stroke and fill colors and previewing the
changes.
Revision
429 -
Directory Listing
Modified
Mon Feb 24 18:46:51 2003 UTC
(22 years ago)
by
jonathan
(Saver.write_classificaton): Uses
the new iterator to save the classification information.
Revision
428 -
Directory Listing
Modified
Mon Feb 24 18:46:35 2003 UTC
(22 years ago)
by
jonathan
(Classification): Renamed
GetProperties() to GetClassData(). Used the new iterator
in TreeInfo().
(ClassIterator): Iterator implementation to iterate over the
ClassData objects in a classification object.
Revision
427 -
Directory Listing
Modified
Mon Feb 24 18:46:13 2003 UTC
(22 years ago)
by
jonathan
(Color2wxColour, wxColour2Color): Conversion functions from Thuban color
objects to wxWindow colour objects.
Revision
426 -
Directory Listing
Modified
Mon Feb 24 18:45:37 2003 UTC
(22 years ago)
by
jonathan
updated ChangeLog
Revision
425 -
Directory Listing
Modified
Mon Feb 24 14:17:19 2003 UTC
(22 years ago)
by
bh
update ChangeLog
Revision
424 -
Directory Listing
Modified
Mon Feb 24 14:17:07 2003 UTC
(22 years ago)
by
bh
(MapRenderer.draw_shape_layer): Remove
unneeded Shape() call. Rendering is substantially faster without
it and it avoids some problems with broken shape files.
Revision
423 -
Directory Listing
Modified
Thu Feb 20 16:23:59 2003 UTC
(22 years ago)
by
frank
Force minimal size of identify and label dialogs.
Revision
422 -
Directory Listing
Modified
Thu Feb 20 16:23:31 2003 UTC
(22 years ago)
by
frank
(IdentifyView.__init__): Set size of dialog.
Revision
421 -
Directory Listing
Modified
Thu Feb 20 16:23:12 2003 UTC
(22 years ago)
by
frank
(LabelDialog.dialog_layout): Set size of listctrl.
Revision
420 -
Directory Listing
Modified
Thu Feb 20 16:22:46 2003 UTC
(22 years ago)
by
frank
(RecordListCtrl): Set minimal width for columns.
Revision
419 -
Directory Listing
Modified
Wed Feb 19 16:53:55 2003 UTC
(22 years ago)
by
jonathan
New. Contains common routines used throughout
the code.
(Str2Num): Takes a string and converts it to the "best" type of
number.
Revision
418 -
Directory Listing
Modified
Wed Feb 19 16:53:38 2003 UTC
(22 years ago)
by
jonathan
Add 'label' element
Revision
417 -
Directory Listing
Modified
Wed Feb 19 16:53:22 2003 UTC
(22 years ago)
by
jonathan
Formatting changes.
Revision
416 -
Directory Listing
Modified
Wed Feb 19 16:53:08 2003 UTC
(22 years ago)
by
jonathan
Use new Color and Classification methods.
Revision
415 -
Directory Listing
Modified
Wed Feb 19 16:52:51 2003 UTC
(22 years ago)
by
jonathan
(ClassGrid): New class to represent a
custom grid.
(ClassTable): Support for editing Values and Labels and for
changing what type (point or range) of data is stored in each
property based on how the user enters the data.
(Classifier): Support for saving the new classifications and
launching the dialog to edit a property.
(SelectPropertiesDialog): New class for editing the visual
properties of a classification (stroke color, width, and fill color)
(ClassPreviewer): Took the Draw method from ClassRenderer and
made most of it into this new class. Intend to use this class in
the SelectPropertiesDialog for previewing changes.
Revision
414 -
Directory Listing
Modified
Wed Feb 19 16:52:23 2003 UTC
(22 years ago)
by
jonathan
(Saver): Use new Color and Classification methods
Revision
413 -
Directory Listing
Modified
Wed Feb 19 16:52:04 2003 UTC
(22 years ago)
by
jonathan
(ProcessSession): Use new methods on Layer
to get the classifcation and use the new ClassData* classes to
hold the classification data. Use Str2Num to convert numbers
properly.
Revision
412 -
Directory Listing
Modified
Wed Feb 19 16:51:50 2003 UTC
(22 years ago)
by
jonathan
(Layer): Removed references to fill, stroke,
stroke_width attributes. Made the 'classification' attribute private.
New methods for setting/getting the classification.
Revision
411 -
Directory Listing
Modified
Wed Feb 19 16:51:30 2003 UTC
(22 years ago)
by
jonathan
Added Color.None to represent something
with no color. Color.Black represents the color black.
(NoColor): Helper class derived from Color to represent something
with no color.
Revision
410 -
Directory Listing
Modified
Wed Feb 19 16:51:12 2003 UTC
(22 years ago)
by
jonathan
(Classification):
Uses the new ClassData* classes. Modification messages are
passed up to the parent layer (if it exists).
(ClassData): New class to encapsulate the common data in each
classification property.
(ClassDataDefault): Represents the Default class. data.
(ClassDataPoint): Represents a single class. data point
(ClassDataRange): Represents a class. range
(ClassDataMap): Represents a class. map (unused).
Revision
409 -
Directory Listing
Modified
Wed Feb 19 16:50:39 2003 UTC
(22 years ago)
by
jonathan
Updated the tests to use the new functions that are in the respective classes.
Revision
408 -
Directory Listing
Modified
Wed Feb 19 16:49:49 2003 UTC
(22 years ago)
by
jonathan
updated ChangeLog
Revision
405 -
Directory Listing
Modified
Fri Feb 14 17:40:41 2003 UTC
(22 years ago)
by
bh
update ChangeLog
Revision
404 -
Directory Listing
Modified
Fri Feb 14 17:40:26 2003 UTC
(22 years ago)
by
bh
(MapCanvas.OnLeftUp): Make sure that the
dragging flag is always set to 0 even when the tool implementation
raises an exception
Revision
403 -
Directory Listing
Modified
Fri Feb 14 11:20:19 2003 UTC
(22 years ago)
by
tkoester
fixed spacing
Revision
402 -
Directory Listing
Modified
Tue Feb 11 15:19:47 2003 UTC
(22 years ago)
by
bh
update ChangeLog
Revision
401 -
Directory Listing
Modified
Tue Feb 11 15:19:21 2003 UTC
(22 years ago)
by
bh
(ThubanApplication.OnInit): Call the
new splash_screen method to determine whether the application
should display a splash screen. If it displays a splash screen do
not immediately show the main window.
(ThubanApplication.splash_screen): New method to create a splash
screen.
(ThubanApplication.ShowMainWindow): New. Show the main window.
Needed so the splash screen can display the mainwindow
Revision
400 -
Directory Listing
Modified
Tue Feb 11 14:29:09 2003 UTC
(22 years ago)
by
jonathan
typo fix
Revision
399 -
Directory Listing
Modified
Tue Feb 11 14:24:14 2003 UTC
(22 years ago)
by
jonathan
updated ChangeLog
Revision
398 -
Directory Listing
Modified
Tue Feb 11 14:23:45 2003 UTC
(22 years ago)
by
jonathan
* Thuban/UI/classifier.py (ClassTable): Didn't need to hang
onto the clinfo parameter, so removed the deepcopy().
Revision
397 -
Directory Listing
Modified
Tue Feb 11 14:23:32 2003 UTC
(22 years ago)
by
jonathan
* Thuban/Model/classification.py: Added import line to fix
feature conflicts between running on python2.2 and python2.1.
Revision
396 -
Directory Listing
Modified
Mon Feb 10 15:28:17 2003 UTC
(22 years ago)
by
jonathan
updated ChangeLog
Revision
395 -
Directory Listing
Modified
Mon Feb 10 15:28:02 2003 UTC
(22 years ago)
by
jonathan
fix tests to work with new code changes.
Revision
394 -
Directory Listing
Modified
Mon Feb 10 15:27:13 2003 UTC
(22 years ago)
by
jonathan
* Thuban/UI/renderer.py (MapRenderer): Use the Get*() methods
of the ClassData class.
Revision
393 -
Directory Listing
Modified
Mon Feb 10 15:26:54 2003 UTC
(22 years ago)
by
jonathan
* Thuban/UI/mainwindow.py (MainWindow): Use the SetDefault*()
methods of the Classification class.
Revision
392 -
Directory Listing
Modified
Mon Feb 10 15:26:30 2003 UTC
(22 years ago)
by
jonathan
* Thuban/UI/classifier.py (ClassRenderer): New class to
draw the classifications in the dialog box's table.
(Classifier): Modified to use the ClassRenderer class.
Revision
391 -
Directory Listing
Modified
Mon Feb 10 15:26:11 2003 UTC
(22 years ago)
by
jonathan
* Thuban/Model/save.py (Saver.open_element, Saver.close_element):
Added element_open variable to track opening and closing of tags
so that tags that don't span more than one line are closed with
/> instead of </tag_name>. Use the GetDefault*() methods of
the Classification class.
Revision
390 -
Directory Listing
Modified
Mon Feb 10 15:25:49 2003 UTC
(22 years ago)
by
jonathan
* Thuban/Model/load.py (ProcessSession): Use the new ClassData
object instead of a dictionary.
Revision
389 -
Directory Listing
Modified
Mon Feb 10 15:25:30 2003 UTC
(22 years ago)
by
jonathan
* Thuban/Model/layer.py (Layer): Remove the
Set[Fill|Stroke|StrokeWidth]() methods. Code should call the
SetDefault*() methods on the layer's classification object.
(Layer.__init__): Use the new SetDefault*() methods in the
Classification class.
Revision
388 -
Directory Listing
Modified
Mon Feb 10 15:25:05 2003 UTC
(22 years ago)
by
jonathan
* Thuban/Model/classification.py (Classificaton): Added set and
get methods for the default data. The class also takes a layer
reference so that modification messages can be sent. Fixed the
methods to use the new ClassData class.
(ClassData): New class to encapsulate the classification data
Revision
387 -
Directory Listing
Modified
Mon Feb 3 11:44:41 2003 UTC
(22 years, 1 month ago)
by
jonathan
updated ChangeLog
Revision
386 -
Directory Listing
Modified
Mon Feb 3 11:44:27 2003 UTC
(22 years, 1 month ago)
by
jonathan
Modified these functions to change the null data in the classification rather
than keep these values directly in the Layer class. Menu options to change
these values work again.
Revision
385 -
Directory Listing
Modified
Mon Feb 3 11:43:56 2003 UTC
(22 years, 1 month ago)
by
jonathan
Added getNull() to return the NullData reference
Revision
384 -
Directory Listing
Modified
Tue Jan 28 18:38:17 2003 UTC
(22 years, 1 month ago)
by
jonathan
update ChangeLog
Revision
383 -
Directory Listing
Modified
Tue Jan 28 18:38:03 2003 UTC
(22 years, 1 month ago)
by
jonathan
Handle drawing Colors in the tree view.
Revision
382 -
Directory Listing
Modified
Tue Jan 28 18:37:35 2003 UTC
(22 years, 1 month ago)
by
jonathan
Added a call to build the tree info for classifications. Commented out
unnecessary lines.
Revision
381 -
Directory Listing
Modified
Tue Jan 28 18:37:05 2003 UTC
(22 years, 1 month ago)
by
jonathan
New function TreeInfo to add information about the classification
into the tree view.
Revision
380 -
Directory Listing
Modified
Tue Jan 28 12:55:47 2003 UTC
(22 years, 1 month ago)
by
jonathan
update ChangeLog
Revision
379 -
Directory Listing
Modified
Tue Jan 28 12:54:01 2003 UTC
(22 years, 1 month ago)
by
jonathan
added i18n wrapper _() to text
Revision
378 -
Directory Listing
Modified
Tue Jan 28 12:13:28 2003 UTC
(22 years, 1 month ago)
by
jonathan
fixed merging conflict
Revision
377 -
Directory Listing
Modified
Tue Jan 28 12:09:56 2003 UTC
(22 years, 1 month ago)
by
jonathan
fixed a missed conflict
Revision
376 -
Directory Listing
Modified
Tue Jan 28 12:01:38 2003 UTC
(22 years, 1 month ago)
by
jonathan
fix i18n merge conflict
Revision
375 -
Directory Listing
Modified
Mon Jan 27 14:20:40 2003 UTC
(22 years, 1 month ago)
by
jan
preparation for i18n
Revision
374 -
Directory Listing
Modified
Mon Jan 27 14:20:02 2003 UTC
(22 years, 1 month ago)
by
jan
Replace user string by _() for i18n.
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, 7 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.