Log of /branches/greater-ms3/thuban/ChangeLog
Parent Directory
|
Revision Log
Revision
981 -
(
view)
(
annotate)
-
[select for diffs]
Modified
Thu May 22 11:41:31 2003 UTC
(21 years, 9 months ago)
by
frank
Original Path:
trunk/thuban/ChangeLog
File length: 147059 byte(s)
Diff to
previous 975
,
to
selected 194
UI polishing updates: Place main buttons (OK, Cancel, etc) in the
lower right corner, center labels for selections, initialize controls
in reasonable order for keyboard navigation.
Revision
723 -
(
view)
(
annotate)
-
[select for diffs]
Modified
Thu Apr 24 15:31:53 2003 UTC
(21 years, 10 months ago)
by
bh
Original Path:
trunk/thuban/ChangeLog
File length: 103129 byte(s)
Diff to
previous 721
,
to
selected 194
First step towards table management. Introduce a simple data
abstraction so that we replace the data a layer uses more easily
in the next step.
* Thuban/Model/data.py: New file with a simple data abstraction
that bundles shapefile and dbffile into one object.
* Thuban/Model/session.py (Session.OpenShapefile): New method to
open shapefiles and return a shape store object
* Thuban/Model/layer.py (Layer.__init__): Pass the data as a store
object instead of a shapefile filename. This introduces a new
instance variable store holding the datastore. For intermediate
backwards compatibility keep the old instance variables.
(open_shapefile): Removed. No longer needed with the shape store.
(Layer.SetShapeStore, Layer.ShapeStore): New methods to set and
get the shape store used by a layer.
(Layer.Destroy): No need to explicitly destroy the shapefile or
table anymore.
* Thuban/UI/mainwindow.py (MainWindow.AddLayer)
(MainWindow.AddLayer): Use the session's OpenShapefile method to
open shapefiles
* Thuban/Model/load.py (ProcessSession.start_layer): Use the
session's OpenShapefile method to open shapefiles
* test/test_classification.py
(TestClassification.test_classification): Use the session's
OpenShapefile method to open shapefiles and build the filename in
a more platform independed way
* test/test_layer.py (TestLayer.setUp, TestLayer.tearDown):
Implement to have a session to use in the tests
(TestLayer.test_arc_layer, TestLayer.test_polygon_layer)
(TestLayer.test_point_layer, TestLayer.test_empty_layer): Use the
session's OpenShapefile method to open shapefiles
(TestLayerLegend.setUp): Instantiate a session so that we can use
it to open shapefiles.
(TestLayerLegend.tearDown): Make sure that all references to
layers and session are removed otherwise we may get a resource
leak
* test/test_map.py (TestMapAddLayer.test_add_layer)
(TestMapWithContents.setUp): Instantiate a session so that we can
use it to open shapefiles.
(TestMapWithContents.tearDown): Make sure that all references to
layers, maps and sessions are removed otherwise we may get a
resource leak
("__main__"): use support.run_tests() so that more info about
uncollected garbage is printed
* test/test_save.py (SaveSessionTest.testSingleLayer): Use the
session's OpenShapefile method to open shapefiles
("__main__"): use support.run_tests() so that more info about
uncollected garbage is printed
* test/test_selection.py (TestSelection.tearDown): Make sure that
all references to the session and the selection are removed
otherwise we may get a resource leak
(TestSelection.get_layer): Instantiate a session so that we can
use it to open shapefiles.
("__main__"): use support.run_tests() so that more info about
uncollected garbage is printed
* test/test_session.py (TestSessionBase.tearDown)
(TestSessionWithContent.tearDown): Make sure that all references
to the session and layers are removed otherwise we may get a
resource leak
(TestSessionWithContent.setUp): Use the session's OpenShapefile
method to open shapefiles
Revision
701 -
(
view)
(
annotate)
-
[select for diffs]
Modified
Thu Apr 17 16:18:48 2003 UTC
(21 years, 10 months ago)
by
bh
Original Path:
trunk/thuban/ChangeLog
File length: 96173 byte(s)
Diff to
previous 700
,
to
selected 194
Don't import LAYER_LEGEND_CHANGED.
(Layer): Update doc-string since LAYER_LEGEND_CHANGED is not used
anymore.
(Layer.BoundingBox, Layer.GetFieldType, Layer.NumShapes)
(Layer.ShapeType, Layer.Shape): No need to call
self.open_shapefile since it's always called in __init__
Revision
278 -
(
view)
(
annotate)
-
[select for diffs]
Modified
Mon Aug 26 12:50:23 2002 UTC
(22 years, 6 months ago)
by
bh
Original Path:
trunk/thuban/ChangeLog
File length: 38129 byte(s)
Diff to
previous 277
,
to
selected 194
* 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
235 -
(
view)
(
annotate)
-
[select for diffs]
Modified
Tue Jul 23 10:56:29 2002 UTC
(22 years, 7 months ago)
by
bh
Original Path:
trunk/thuban/ChangeLog
File length: 32125 byte(s)
Diff to
previous 234
,
to
selected 194
* 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
230 -
(
view)
(
annotate)
-
[select for diffs]
Modified
Fri Jul 19 13:21:14 2002 UTC
(22 years, 7 months ago)
by
bh
Original Path:
trunk/thuban/ChangeLog
File length: 31023 byte(s)
Diff to
previous 228
,
to
selected 194
* 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
217 -
(
view)
(
annotate)
-
[select for diffs]
Modified
Wed Jul 17 10:50:40 2002 UTC
(22 years, 7 months ago)
by
bh
Original Path:
trunk/thuban/ChangeLog
File length: 29260 byte(s)
Diff to
previous 216
,
to
selected 194
* 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
208 -
(
view)
(
annotate)
-
[select for diffs]
Modified
Tue Jul 9 14:57:03 2002 UTC
(22 years, 8 months ago)
by
bh
Original Path:
trunk/thuban/ChangeLog
File length: 27745 byte(s)
Diff to
previous 207
,
to
selected 194
* 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
19 -
(
view)
(
annotate)
-
[select for diffs]
Modified
Tue Sep 4 15:11:27 2001 UTC
(23 years, 6 months ago)
by
bh
Original Path:
trunk/thuban/ChangeLog
File length: 3398 byte(s)
Diff to
previous 18
,
to
selected 194
* 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 -
(
view)
(
annotate)
-
[select for diffs]
Modified
Mon Sep 3 16:25:09 2001 UTC
(23 years, 6 months ago)
by
bh
Original Path:
trunk/thuban/ChangeLog
File length: 2442 byte(s)
Diff to
previous 16
,
to
selected 194
* 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
This form allows you to request diffs between any two revisions of this file.
For each of the two "sides" of the diff,
enter a numeric revision.