Index: src/Common/DelftTools.Controls.Swf/ProgressBarDialog.cs =================================================================== diff -u -r5fc71a385897af92ccb092f2f969b5709afab85a -r44d491f0772d64c9f11182ebf9d6793782a2fd7b --- src/Common/DelftTools.Controls.Swf/ProgressBarDialog.cs (.../ProgressBarDialog.cs) (revision 5fc71a385897af92ccb092f2f969b5709afab85a) +++ src/Common/DelftTools.Controls.Swf/ProgressBarDialog.cs (.../ProgressBarDialog.cs) (revision 44d491f0772d64c9f11182ebf9d6793782a2fd7b) @@ -17,10 +17,6 @@ public string Label { - get - { - return label1.Text; - } set { label1.Text = value; Index: src/Common/DelftTools.Shell.Core/IProjectImporter.cs =================================================================== diff -u -r5fc71a385897af92ccb092f2f969b5709afab85a -r44d491f0772d64c9f11182ebf9d6793782a2fd7b --- src/Common/DelftTools.Shell.Core/IProjectImporter.cs (.../IProjectImporter.cs) (revision 5fc71a385897af92ccb092f2f969b5709afab85a) +++ src/Common/DelftTools.Shell.Core/IProjectImporter.cs (.../IProjectImporter.cs) (revision 44d491f0772d64c9f11182ebf9d6793782a2fd7b) @@ -12,6 +12,6 @@ /// /// Project service used to open the project to import /// - IProjectService ProjectService { get; set; } + IProjectService ProjectService { set; } } } \ No newline at end of file Index: src/Common/DelftTools.Utils/IO/FileUtils.cs =================================================================== diff -u -r5fc71a385897af92ccb092f2f969b5709afab85a -r44d491f0772d64c9f11182ebf9d6793782a2fd7b --- src/Common/DelftTools.Utils/IO/FileUtils.cs (.../FileUtils.cs) (revision 5fc71a385897af92ccb092f2f969b5709afab85a) +++ src/Common/DelftTools.Utils/IO/FileUtils.cs (.../FileUtils.cs) (revision 44d491f0772d64c9f11182ebf9d6793782a2fd7b) @@ -17,8 +17,6 @@ { private static readonly ILog Log = LogManager.GetLogger(typeof(FileUtils)); - private static Regex fileFilterRegex = new Regex(@"^(\||\;)+\s*[\*\w]+\.\w+"); - /// /// Copy all files and folders in a directory to another directory /// Index: src/Common/DelftTools.Utils/Url.cs =================================================================== diff -u -r5fc71a385897af92ccb092f2f969b5709afab85a -r44d491f0772d64c9f11182ebf9d6793782a2fd7b --- src/Common/DelftTools.Utils/Url.cs (.../Url.cs) (revision 5fc71a385897af92ccb092f2f969b5709afab85a) +++ src/Common/DelftTools.Utils/Url.cs (.../Url.cs) (revision 44d491f0772d64c9f11182ebf9d6793782a2fd7b) @@ -16,11 +16,6 @@ private string name; - /// - /// Default constructor. - /// - public Url() : this("new url", "about:blank") {} - public Url(string name, string path) { this.name = name; Index: src/Common/NetTopologySuite/Geometries/LineString.cs =================================================================== diff -u -r5fc71a385897af92ccb092f2f969b5709afab85a -r44d491f0772d64c9f11182ebf9d6793782a2fd7b --- src/Common/NetTopologySuite/Geometries/LineString.cs (.../LineString.cs) (revision 5fc71a385897af92ccb092f2f969b5709afab85a) +++ src/Common/NetTopologySuite/Geometries/LineString.cs (.../LineString.cs) (revision 44d491f0772d64c9f11182ebf9d6793782a2fd7b) @@ -11,12 +11,6 @@ [Serializable] public class LineString : Geometry, ILineString { - /// - /// Represents an empty LineString. - /// - public static readonly ILineString Empty = new GeometryFactory().CreateLineString(new ICoordinate[] - {}); - /// /// The points of this LineString. /// @@ -61,51 +55,6 @@ /// /// /// - /// - /// - public ICoordinate this[int n] - { - get - { - return points.GetCoordinate(n); - } - set - { - points.SetOrdinate(n, Ordinates.X, value.X); - points.SetOrdinate(n, Ordinates.Y, value.Y); - points.SetOrdinate(n, Ordinates.Z, value.Z); - GeometryChangedAction(); - } - } - - /// - /// - /// - /// - public int Count - { - get - { - return points.Count; - } - } - - /// - /// Returns the value of the angle (degrees (0-360) between the - /// and the . - /// - public double Angle - { - get - { - double angleRAD = Math.Atan((EndPoint.X - StartPoint.X)/(EndPoint.Y - StartPoint.Y)); - return (angleRAD*180)/Math.PI; - } - } - - /// - /// - /// public override ICoordinate[] Coordinates { get @@ -293,7 +242,7 @@ { return Factory.CreateMultiPoint((ICoordinate[]) null); } - return Factory.CreateMultiPoint(new IPoint[] + return Factory.CreateMultiPoint(new[] { StartPoint, EndPoint @@ -302,23 +251,6 @@ } /// - /// Returns true if the given point is a vertex of this LineString. - /// - /// The Coordinate to check. - /// true if pt is one of this LineString's vertices. - public bool IsCoordinate(ICoordinate pt) - { - for (int i = 0; i < points.Count; i++) - { - if (points.GetCoordinate(i).Equals(pt)) - { - return true; - } - } - return false; - } - - /// /// /// /// Fisheye: Tag 44d491f0772d64c9f11182ebf9d6793782a2fd7b refers to a dead (removed) revision in file `src/Common/NetTopologySuite/IO/GeoTools/BigEndianBinaryWriter.cs'. Fisheye: No comparison available. Pass `N' to diff? Index: src/Common/NetTopologySuite/IO/GeoTools/ShapefileHeader.cs =================================================================== diff -u -r367570aed0000b2f1bf6ed9e98385a47f4302e85 -r44d491f0772d64c9f11182ebf9d6793782a2fd7b --- src/Common/NetTopologySuite/IO/GeoTools/ShapefileHeader.cs (.../ShapefileHeader.cs) (revision 367570aed0000b2f1bf6ed9e98385a47f4302e85) +++ src/Common/NetTopologySuite/IO/GeoTools/ShapefileHeader.cs (.../ShapefileHeader.cs) (revision 44d491f0772d64c9f11182ebf9d6793782a2fd7b) @@ -64,11 +64,6 @@ } /// - /// Initializes a new instance of the ShapefileHeader class. - /// - public ShapefileHeader() {} - - /// /// Gets and sets the bounds of the shape file. /// public IEnvelope Bounds { get; set; } @@ -117,50 +112,5 @@ _fileLength = value; } } - - /// - /// Writes a shapefile header to the given stream; - /// - /// The binary writer to use. - public void Write(BigEndianBinaryWriter file) - { - if (file == null) - { - throw new ArgumentNullException("file"); - } - if (_fileLength == -1) - { - throw new InvalidOperationException("The header properties need to be set before writing the header record."); - } - int pos = 0; - file.WriteIntBE(_fileCode); - pos += 4; - for (int i = 0; i < 5; i++) - { - file.WriteIntBE(0); //Skip unused part of header - pos += 4; - } - file.WriteIntBE(_fileLength); - pos += 4; - file.Write(_version); - pos += 4; - - file.Write(int.Parse(Enum.Format(typeof(ShapeGeometryType), _shapeType, "d"))); - - pos += 4; - // Write the bounding box - file.Write(Bounds.MinX); - file.Write(Bounds.MinY); - file.Write(Bounds.MaxX); - file.Write(Bounds.MaxY); - pos += 8*4; - - // Skip remaining unused bytes - for (int i = 0; i < 4; i++) - { - file.Write(0.0); // Skip unused part of header - pos += 8; - } - } } } \ No newline at end of file Index: src/Common/NetTopologySuite/NetTopologySuite.csproj =================================================================== diff -u -r2d05e18d1fcde2d8d00d2434a6e560d65337d2f7 -r44d491f0772d64c9f11182ebf9d6793782a2fd7b --- src/Common/NetTopologySuite/NetTopologySuite.csproj (.../NetTopologySuite.csproj) (revision 2d05e18d1fcde2d8d00d2434a6e560d65337d2f7) +++ src/Common/NetTopologySuite/NetTopologySuite.csproj (.../NetTopologySuite.csproj) (revision 44d491f0772d64c9f11182ebf9d6793782a2fd7b) @@ -190,7 +190,6 @@ - Index: src/Common/SharpMap.Extensions/CoordinateSystems/OgrCoordinateSystem.cs =================================================================== diff -u -r4c09f28891546d714fa6a15d36b70d8a6b9a4aa7 -r44d491f0772d64c9f11182ebf9d6793782a2fd7b --- src/Common/SharpMap.Extensions/CoordinateSystems/OgrCoordinateSystem.cs (.../OgrCoordinateSystem.cs) (revision 4c09f28891546d714fa6a15d36b70d8a6b9a4aa7) +++ src/Common/SharpMap.Extensions/CoordinateSystems/OgrCoordinateSystem.cs (.../OgrCoordinateSystem.cs) (revision 44d491f0772d64c9f11182ebf9d6793782a2fd7b) @@ -14,13 +14,6 @@ GdalConfiguration.ConfigureGdal(); } - public OgrCoordinateSystem(IntPtr cPtr, bool cMemoryOwn, object parent) : base(cPtr, cMemoryOwn, parent) - { - IsLoaded = false; - } - - public OgrCoordinateSystem() : this("") {} - public OgrCoordinateSystem(long authorityCode, string name, bool isGeographic) : this("") { AuthorityCode = authorityCode; @@ -106,20 +99,6 @@ public bool IsGeographic { get; private set; } - public static string ExportToPrettyWkt(ICoordinateSystem coordinateSystem) - { - var ogrCoordinateSystem = coordinateSystem as OgrCoordinateSystem; - - if (ogrCoordinateSystem == null) - { - return null; - } - - string wkt; - ogrCoordinateSystem.ExportToPrettyWkt(out wkt, 1); - return wkt; - } - public void Load() { if (IsLoaded) Index: src/Common/SharpMap.UI/Forms/SelectCoordinateSystemDialog.cs =================================================================== diff -u -r5fc71a385897af92ccb092f2f969b5709afab85a -r44d491f0772d64c9f11182ebf9d6793782a2fd7b --- src/Common/SharpMap.UI/Forms/SelectCoordinateSystemDialog.cs (.../SelectCoordinateSystemDialog.cs) (revision 5fc71a385897af92ccb092f2f969b5709afab85a) +++ src/Common/SharpMap.UI/Forms/SelectCoordinateSystemDialog.cs (.../SelectCoordinateSystemDialog.cs) (revision 44d491f0772d64c9f11182ebf9d6793782a2fd7b) @@ -8,10 +8,8 @@ { public partial class SelectCoordinateSystemDialog : Form { - public event Action SelectedCoordinateSystemChanged; private readonly List gcsNodes = new List(); private readonly List pcsNodes = new List(); - private readonly List customNodes = new List(); private readonly Timer timerFilterChanged; @@ -173,11 +171,6 @@ private void TreeViewProjectionsOnAfterSelect(object sender, TreeViewEventArgs treeViewEventArgs) { - if (treeViewProjections.SelectedNode != null && SelectedCoordinateSystemChanged != null) - { - SelectedCoordinateSystemChanged(treeViewProjections.SelectedNode.Tag as ICoordinateSystem); - } - if (treeViewProjections.SelectedNode != null && treeViewProjections.SelectedNode.Tag is ICoordinateSystem) { var crs = treeViewProjections.SelectedNode.Tag as ICoordinateSystem; Index: test/Common/DelftTools.TestUtils/DelftTools.TestUtils.csproj =================================================================== diff -u -r2ff69dfc67c77d80c1ed2f4f1f9bc0172e28e518 -r44d491f0772d64c9f11182ebf9d6793782a2fd7b --- test/Common/DelftTools.TestUtils/DelftTools.TestUtils.csproj (.../DelftTools.TestUtils.csproj) (revision 2ff69dfc67c77d80c1ed2f4f1f9bc0172e28e518) +++ test/Common/DelftTools.TestUtils/DelftTools.TestUtils.csproj (.../DelftTools.TestUtils.csproj) (revision 44d491f0772d64c9f11182ebf9d6793782a2fd7b) @@ -39,14 +39,14 @@ true bin\Debug\ - 4 + 4 x86 MinimumRecommendedRules.ruleset TRACE;DEBUG bin\Release\ - 4 + 4 x86 MinimumRecommendedRules.ruleset TRACE @@ -104,9 +104,6 @@ - - - Form Fisheye: Tag 44d491f0772d64c9f11182ebf9d6793782a2fd7b refers to a dead (removed) revision in file `test/Common/DelftTools.TestUtils/TestReferenceHelper/ReferenceLink.cs'. Fisheye: No comparison available. Pass `N' to diff? Fisheye: Tag 44d491f0772d64c9f11182ebf9d6793782a2fd7b refers to a dead (removed) revision in file `test/Common/DelftTools.TestUtils/TestReferenceHelper/ReferenceNode.cs'. Fisheye: No comparison available. Pass `N' to diff? Fisheye: Tag 44d491f0772d64c9f11182ebf9d6793782a2fd7b refers to a dead (removed) revision in file `test/Common/DelftTools.TestUtils/TestReferenceHelper/TestReferenceHelper.cs'. Fisheye: No comparison available. Pass `N' to diff? Index: test/Common/DelftTools.Utils.Tests/DelftTools.Utils.Tests.csproj =================================================================== diff -u -r6b36acf96bf8747d721d8592dcfcf95f0a0308e5 -r44d491f0772d64c9f11182ebf9d6793782a2fd7b --- test/Common/DelftTools.Utils.Tests/DelftTools.Utils.Tests.csproj (.../DelftTools.Utils.Tests.csproj) (revision 6b36acf96bf8747d721d8592dcfcf95f0a0308e5) +++ test/Common/DelftTools.Utils.Tests/DelftTools.Utils.Tests.csproj (.../DelftTools.Utils.Tests.csproj) (revision 44d491f0772d64c9f11182ebf9d6793782a2fd7b) @@ -120,7 +120,6 @@ - Fisheye: Tag 44d491f0772d64c9f11182ebf9d6793782a2fd7b refers to a dead (removed) revision in file `test/Common/DelftTools.Utils.Tests/TestReferenceHelperTest.cs'. Fisheye: No comparison available. Pass `N' to diff?