diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2020-08-25 10:45:55 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2020-08-25 10:45:55 +0100 |
commit | 3cf7c3ef441822c889356fd1812ebf2944a59851 (patch) | |
tree | c513fe68548b40365c1c2ebfe35c58ad431cdd77 /dev-util/bless | |
parent | 05b8b0e0af1d72e51a3ee61522941bf7605cd01c (diff) |
gentoo resync : 25.08.2020
Diffstat (limited to 'dev-util/bless')
-rw-r--r-- | dev-util/bless/Manifest | 9 | ||||
-rw-r--r-- | dev-util/bless/bless-0.6.0-r3.ebuild | 52 | ||||
-rw-r--r-- | dev-util/bless/bless-0.6.0-r4.ebuild | 52 | ||||
-rw-r--r-- | dev-util/bless/bless-0.6.2-r1.ebuild | 3 | ||||
-rw-r--r-- | dev-util/bless/files/bless-0.6.0-docpath.patch | 71 | ||||
-rw-r--r-- | dev-util/bless/files/bless-0.6.0-mono-4.patch | 36 | ||||
-rw-r--r-- | dev-util/bless/files/bless-0.6.0-pixmap.patch | 20 | ||||
-rw-r--r-- | dev-util/bless/files/bless-0.6.2-range-disambiguation.patch | 202 |
8 files changed, 206 insertions, 239 deletions
diff --git a/dev-util/bless/Manifest b/dev-util/bless/Manifest index e1bf577ac405..db45b6d0e993 100644 --- a/dev-util/bless/Manifest +++ b/dev-util/bless/Manifest @@ -1,9 +1,4 @@ -AUX bless-0.6.0-docpath.patch 2250 BLAKE2B ff47974243983f00bd1b17aa3df7d3649da2b8d55eb64ea4f42418a013cafbfb888d3c4e54cd8f838eefc519ddb7c267d1dacd421b81e81c87503dbae3b4ddee SHA512 f5917b220db0b143dc77ba00fc517c5b397cdabea67627630fd92b942ae406b67bb48e1f63b68d8e53fa8b979e800130036fdb4782525102abfc70c751094dc1 -AUX bless-0.6.0-mono-4.patch 969 BLAKE2B 63799c54f2fdd18017d619b97603d15d9b6302f84d6fcfa4e4fa7b4aa4044d57bb3b5cba3e8f290c0379abc303f0f3836d5fef0910018011b27ac45e633d72e6 SHA512 729efc197b66a53931079b5e4969b62dda3842a0d13358b62fa53cfbf673351c9622908976651d343d060d7ac37e35968733243719e76bd5f066e842ac641f84 -AUX bless-0.6.0-pixmap.patch 493 BLAKE2B 25ebbf9d3f6be6d928354dd33289ce84315c002c954cc454af1f3aff0fcdc033569d7cd0fa69c5972489887e0d8bad5007f40f014aeb9a854301689d8283294d SHA512 0fc6281e8cb6b981f5a73e98bf86a93bf635cd77133c7d3e964ef0b2ce7e855f38cb4db6216bc876f9435d5b2f4293a39cb859cb443381569e5b56a364ac30ee -DIST bless-0.6.0.tar.gz 745694 BLAKE2B eb23edf3fd9c45b9848810ff022a7e9b7d760c22444426bbbaf63d69ee45754d085eb105c4951c0d57fce7b284c6b0a8fb9b7e061219a55d109c9ef844b61c35 SHA512 69d2279b64503b97c8a67991c2a7a527d872835e3acfad7eafa8d87e376d2cecf3fa27de9e12726680a8f3c8ac92b888a4895a1f342c4beeaceef9e1f3ededdb +AUX bless-0.6.2-range-disambiguation.patch 6964 BLAKE2B 65708f4fdae5b9b2d9afcd2fb326bdc414decf265557071314b1f539fe6742364b58acd69dce32d50db0173f00d13aa6e4808baae6e16217d62ccec9a45f1189 SHA512 03a0507db3ef4384344c6ee9f04c59879a48315adf219ba32afb10c9dee7d33a8a5543e4751e5b09bd61fd9955d22e35ff841b6f3ad68f9c827be7f803806751 DIST bless-0.6.2.tar.gz 514695 BLAKE2B 2c9681e03992d42b20d0073e9107e5bd83d6f1699235b49fb6cf14fb5f9bc87e682e96b4f8bab2b45a3211515a8990e72b80922a62198c7ad603aeb5f3d3c406 SHA512 3fef715ed138323af50437ef8cda3d9f53987498042f1b4df2d9ce23f00dade68147cbdf28b85aed8b9c594fb5c43839c9dedbc14a994ad609fd4cedd89bfcf5 -EBUILD bless-0.6.0-r3.ebuild 1189 BLAKE2B b50dc35022a87a974a3f619f9f8eafb3034172dceebdaffb26ecc2955f4e1d5a51ffa02a21317dfe392ea5ef654e476de32c18da14ab922014cd576f9b78bf40 SHA512 2ff6ee1dab86eb242deffe88e36f30bba6584f7b4663728030872a2014b11c8433c45126c78d4bf5af24f6feae3b52dd9f2e39fe9042bd9c601777fa1fed54bc -EBUILD bless-0.6.0-r4.ebuild 1188 BLAKE2B 97f0b498f789a511f4a24d57d23c18254561435cb5e197d94fe2e026e0047e1d7f18bc340a938bf57afa35c14682fb00b7f4c2375af8f61a0c8cceb678a99380 SHA512 652cf121dc16d0e4d745092de05a17f6c2f9adb34ffdc35800893a2ee038dc05a64ad93d66a30311f71cf1a7c2c0c70a5446756756f97a7e7a412091d63fc968 -EBUILD bless-0.6.2-r1.ebuild 1091 BLAKE2B a26ddc20916d8500116c05252dca058f4145eac973d27e697863984121b3d2f477eade47412deb48cdb918886e7bacb4654946bd6f0ec7c31eaedc5151b66c6f SHA512 def48401109372031c03507ffc869a995d82b93c293b8e10fd503f1d9e87ff00b6988c15a19f774793fe7be1983cc1a4ede0c79c5b894ba0dba9950fc093f5c3 +EBUILD bless-0.6.2-r1.ebuild 1154 BLAKE2B 7eaa666aac4660ac2ca6fb5d36557bd7a5fea0abff6256d06086e65e2e013b847d37138ae45677a6d014d590572699ea466fd70d091257e4388026a828d9aba4 SHA512 70510946131504f9fb49d8809310d91e6353f9326f084ff0a537fcd366e237d9aa0a74ed171b4db0d0a29039c371f04a9879bd6e01dcc5b0002e2c1fa03932e0 MISC metadata.xml 242 BLAKE2B 896ec48a498764d193d9e3c54bfc07d07a6f95675e772ff73730bbdfb8cce43d2d1d99fbd0ee96a6c0ad3eab13e6a82bff55ce3a1e5a6883204fe8c5d5932f0f SHA512 c305f98db61dfe31ddc48084c932b6c45eee7a8cd664ebeade704135fb1da0978ace942a2a4d92d418ad4bdd22acd0685864cf0f4297660fc325cd3842e283e9 diff --git a/dev-util/bless/bless-0.6.0-r3.ebuild b/dev-util/bless/bless-0.6.0-r3.ebuild deleted file mode 100644 index d4c3ef7205fd..000000000000 --- a/dev-util/bless/bless-0.6.0-r3.ebuild +++ /dev/null @@ -1,52 +0,0 @@ -# Copyright 1999-2018 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI=6 -inherit autotools gnome2 mono-env - -DESCRIPTION="GTK# Hex Editor" -HOMEPAGE="https://github.com/bwrsandman/Bless/" -SRC_URI="https://dev.gentoo.org/~ikelos/devoverlay-distfiles/${P}.tar.gz" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="~amd64 ~x86" -IUSE="debug" - -RDEPEND=" - >=dev-lang/mono-1.1.14 - >=dev-dotnet/gtk-sharp-2.12.21 -" -DEPEND="${RDEPEND} - app-text/rarian - >=sys-devel/gettext-0.15 - virtual/pkgconfig -" - -# See bug 278162 -# Waiting on nunit ebuild entering the tree -RESTRICT="test" - -pkg_setup() { - # Stolen from enlightenment.eclass - cp $(type -p gettextize) "${T}/" || die "Could not copy gettextize" - sed -i -e 's:read dummy < /dev/tty::' "${T}/gettextize" - - mono-env_pkg_setup -} - -src_prepare() { - einfo "Running gettextize -f --no-changelog..." - ( "${T}/gettextize" -f --no-changelog > /dev/null ) || die "gettexize failed" - eapply "${FILESDIR}/${P}-pixmap.patch" - eapply "${FILESDIR}/${P}-docpath.patch" - eapply "${FILESDIR}/${P}-mono-4.patch" - eautoreconf - gnome2_src_prepare -} - -src_configure() { - gnome2_src_configure \ - --enable-unix-specific \ - $(use_enable debug) -} diff --git a/dev-util/bless/bless-0.6.0-r4.ebuild b/dev-util/bless/bless-0.6.0-r4.ebuild deleted file mode 100644 index e7ae88c0e92e..000000000000 --- a/dev-util/bless/bless-0.6.0-r4.ebuild +++ /dev/null @@ -1,52 +0,0 @@ -# Copyright 1999-2019 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=6 -inherit autotools gnome2 mono-env - -DESCRIPTION="GTK# Hex Editor" -HOMEPAGE="https://github.com/bwrsandman/Bless/" -SRC_URI="https://dev.gentoo.org/~ikelos/devoverlay-distfiles/${P}.tar.gz" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="~amd64 ~x86" -IUSE="debug" - -RDEPEND=" - >=dev-lang/mono-1.1.14 - >=dev-dotnet/gtk-sharp-2.12.21:2 -" -DEPEND="${RDEPEND} - app-text/rarian - >=sys-devel/gettext-0.15 - virtual/pkgconfig -" - -# See bug 278162 -# Waiting on nunit ebuild entering the tree -RESTRICT="test" - -pkg_setup() { - # Stolen from enlightenment.eclass - cp $(type -p gettextize) "${T}/" || die "Could not copy gettextize" - sed -i -e 's:read dummy < /dev/tty::' "${T}/gettextize" - - mono-env_pkg_setup -} - -src_prepare() { - einfo "Running gettextize -f --no-changelog..." - ( "${T}/gettextize" -f --no-changelog > /dev/null ) || die "gettexize failed" - eapply "${FILESDIR}/${P}-pixmap.patch" - eapply "${FILESDIR}/${P}-docpath.patch" - eapply "${FILESDIR}/${P}-mono-4.patch" - eautoreconf - gnome2_src_prepare -} - -src_configure() { - gnome2_src_configure \ - --enable-unix-specific \ - $(use_enable debug) -} diff --git a/dev-util/bless/bless-0.6.2-r1.ebuild b/dev-util/bless/bless-0.6.2-r1.ebuild index 06741696a4d9..92feecfe9620 100644 --- a/dev-util/bless/bless-0.6.2-r1.ebuild +++ b/dev-util/bless/bless-0.6.2-r1.ebuild @@ -1,4 +1,4 @@ -# Copyright 2019 Gentoo Authors +# Copyright 2020 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=6 @@ -28,6 +28,7 @@ DEPEND="${RDEPEND} # See bug 278162 # Waiting on nunit ebuild entering the tree RESTRICT="test" +PATCHES=("${FILESDIR}/bless-0.6.2-range-disambiguation.patch") pkg_setup() { mono-env_pkg_setup diff --git a/dev-util/bless/files/bless-0.6.0-docpath.patch b/dev-util/bless/files/bless-0.6.0-docpath.patch deleted file mode 100644 index b1121424d88b..000000000000 --- a/dev-util/bless/files/bless-0.6.0-docpath.patch +++ /dev/null @@ -1,71 +0,0 @@ -diff --git a/Makefile.am b/Makefile.am -index 33f265b..346326d 100644 ---- a/Makefile.am -+++ b/Makefile.am -@@ -1,6 +1,9 @@ - EXTRA_DIST = AUTHORS COPYING NEWS README README.packaging \ - bless.mdp bless.mds bless.spec autogen.sh bless.mi - -+doc_DATA = AUTHORS COPYING INSTALL ChangeLog NEWS \ -+ README README.packaging bless.spec -+ - SUBDIRS = po builder src bin data doc . tests - - DIST_SUBDIRS= po builder src bin doc data tests -@@ -34,11 +37,5 @@ bless-builder: - dist-hook: - bzr log > $(distdir)/ChangeLog - --install-data-local: -- $(INSTALL) -d $(DESTDIR)$(datadir)/doc/$(PACKAGE_NAME) -- $(INSTALL_DATA) AUTHORS COPYING INSTALL ChangeLog NEWS \ -- README README.packaging bless.spec \ -- $(DESTDIR)$(datadir)/doc/$(PACKAGE_NAME) -- - uninstall-local: - rm -rf $(DESTDIR)$(libdir)/$(PACKAGE_NAME) -diff --git a/doc/Makefile.am b/doc/Makefile.am -index b18e94a..d7eecc6 100644 ---- a/doc/Makefile.am -+++ b/doc/Makefile.am -@@ -1,4 +1 @@ - SUBDIRS= developer user -- --uninstall-local: -- rm -rf $(DESTDIR)$(datadir)/doc/$(PACKAGE_NAME) -diff --git a/doc/user/Makefile.am b/doc/user/Makefile.am -index 729b295..58a1358 100644 ---- a/doc/user/Makefile.am -+++ b/doc/user/Makefile.am -@@ -7,6 +7,11 @@ CLEANFILES=$(OMF) - - noinst_SCRIPTS=$(OMF) - -+docmandir=$(docdir)/user -+docfigsdir=$(docmandir)/figures -+ -+docfigs_DATA=$(FIGURES) -+docman_DATA=$(DOCS) $(wildcard *.html) - - $(OMF): $(OMF).in - if [ -x `which scrollkeeper-preinstall` ]; then \ -@@ -27,11 +32,6 @@ dist-hook: doc - rm html_file_list - - install-data-local: -- $(INSTALL) -d $(DESTDIR)$(datadir)/doc/$(PACKAGE_NAME)/user -- $(INSTALL) -d $(DESTDIR)$(datadir)/doc/$(PACKAGE_NAME)/user/figures -- $(INSTALL_DATA) $(DOCS) $(wildcard *.html) \ -- $(DESTDIR)$(datadir)/doc/$(PACKAGE_NAME)/user -- $(INSTALL_DATA) $(FIGURES) $(DESTDIR)$(datadir)/doc/$(PACKAGE_NAME)/user/figures - $(INSTALL) -d $(DESTDIR)$(datadir)/omf/$(PACKAGE_NAME) - $(INSTALL_DATA) $(OMF) $(DESTDIR)$(datadir)/omf/$(PACKAGE_NAME) - if WITH_SCROLLKEEPER -@@ -39,7 +39,6 @@ if WITH_SCROLLKEEPER - endif - - uninstall-local: -- rm -rf $(DESTDIR)$(datadir)/doc/$(PACKAGE_NAME)/user - rm $(DESTDIR)$(datadir)/omf/$(PACKAGE_NAME)/$(OMF) - if WITH_SCROLLKEEPER - scrollkeeper-update -o $(DESTDIR)$(datadir)/omf/$(PACKAGE_NAME) diff --git a/dev-util/bless/files/bless-0.6.0-mono-4.patch b/dev-util/bless/files/bless-0.6.0-mono-4.patch deleted file mode 100644 index 92b1100cf0e7..000000000000 --- a/dev-util/bless/files/bless-0.6.0-mono-4.patch +++ /dev/null @@ -1,36 +0,0 @@ -diff --git a/builder/ModuleBuilder.cs b/builder/ModuleBuilder.cs -index 0f62e92..7edb1ab 100644 ---- a/builder/ModuleBuilder.cs -+++ b/builder/ModuleBuilder.cs -@@ -119,7 +119,7 @@ public class ModuleBuilder - //System.Console.WriteLine("gmcs {0}", sb.ToString()); - System.Console.WriteLine(">> Building module {0}...", module.Name); - -- Process buildProcess = Process.Start("gmcs", sb.ToString()); -+ Process buildProcess = Process.Start("mcs", sb.ToString()); - buildProcess.WaitForExit(); - - if (buildProcess.ExitCode == 0) { -@@ -137,4 +137,4 @@ public class ModuleBuilder - } - - --} -\ No newline at end of file -+} -diff --git a/configure.ac b/configure.ac -index 415cc64..a8e527c 100644 ---- a/configure.ac -+++ b/configure.ac -@@ -24,9 +24,9 @@ if test "x$PKG_CONFIG" = "xno"; then - fi - - # C# compiler --AC_PATH_PROG(MCS, gmcs, no) -+AC_PATH_PROG(MCS, mcs, no) - --CS="gmcs C#" -+CS="mcs C#" - if test "x$MCS" = "xno" ; then - AC_MSG_ERROR([No $CS compiler found]) - fi diff --git a/dev-util/bless/files/bless-0.6.0-pixmap.patch b/dev-util/bless/files/bless-0.6.0-pixmap.patch deleted file mode 100644 index de77cb84e750..000000000000 --- a/dev-util/bless/files/bless-0.6.0-pixmap.patch +++ /dev/null @@ -1,20 +0,0 @@ -=== modified file 'src/gui/drawers/HexDrawer.cs' ---- a/src/gui/drawers/HexDrawer.cs 2007-06-13 12:20:53 +0000 -+++ b/src/gui/drawers/HexDrawer.cs 2009-04-10 23:21:41 +0000 -@@ -57,11 +57,14 @@ - - //System.Console.WriteLine(s); - -- pangoLayout.SetText(s); -+ pangoLayout.SetText(s.Substring(0,256)); - - - gc.RgbFgColor = fg; - pix.DrawLayout(gc, 0, 0, pangoLayout); -+ -+ pangoLayout.SetText(s.Substring(256,256)); -+ pix.DrawLayout(gc, 128*2*width, 0, pangoLayout); - - return pix; - } - diff --git a/dev-util/bless/files/bless-0.6.2-range-disambiguation.patch b/dev-util/bless/files/bless-0.6.2-range-disambiguation.patch new file mode 100644 index 000000000000..788a57866cba --- /dev/null +++ b/dev-util/bless/files/bless-0.6.2-range-disambiguation.patch @@ -0,0 +1,202 @@ +From 84801988f908e51d9843c3e0ee8f2cd05c0a2d97 Mon Sep 17 00:00:00 2001 +From: davidcim <david@cimaware.com> +Date: Thu, 3 Oct 2019 12:38:25 +0200 +Subject: [PATCH] Fix building error CS0104: 'Range' is an ambiguous reference + +--- + src/buffers/ByteBuffer.cs | 2 +- + src/gui/DataBookFinder.cs | 4 ++-- + src/gui/areas/AreaGroup.cs | 20 ++++++++++---------- + src/tools/find/FindOperations.cs | 6 +++--- + src/tools/find/IFindStrategy.cs | 10 +++++----- + src/tools/find/IFinder.cs | 4 ++-- + 6 files changed, 23 insertions(+), 23 deletions(-) + +diff --git a/src/buffers/ByteBuffer.cs b/src/buffers/ByteBuffer.cs +index b9d9a24..72c1b42 100644 +--- a/src/buffers/ByteBuffer.cs ++++ b/src/buffers/ByteBuffer.cs +@@ -671,7 +671,7 @@ public byte[] RangeToByteArray(IRange range) + /// Returns as a SegmentCollection the data contained in + /// the specified range in the buffer. + ///</summary> +- public SegmentCollection RangeToSegmentCollection(Range range) ++ public SegmentCollection RangeToSegmentCollection(Util.Range range) + { + if (range.Size == 0) + return null; +diff --git a/src/gui/DataBookFinder.cs b/src/gui/DataBookFinder.cs +index 50b5034..3248d3a 100644 +--- a/src/gui/DataBookFinder.cs ++++ b/src/gui/DataBookFinder.cs +@@ -234,7 +234,7 @@ void FindAsyncCallback(IAsyncResult ar) + { + GenericFindOperation state = (GenericFindOperation)ar.AsyncState; + ThreadedAsyncOperation.OperationResult result = state.Result; +- Range match = state.Match; ++ Util.Range match = state.Match; + + DataView dv = null; + +@@ -381,7 +381,7 @@ void ReplaceAllAsyncCallback(IAsyncResult ar) + { + ReplaceAllOperation state = (ReplaceAllOperation)ar.AsyncState; + ThreadedAsyncOperation.OperationResult result = state.Result; +- Range firstMatch = state.FirstMatch; ++ Util.Range firstMatch = state.FirstMatch; + + DataView dv = null; + +diff --git a/src/gui/areas/AreaGroup.cs b/src/gui/areas/AreaGroup.cs +index 58ee147..4a27190 100644 +--- a/src/gui/areas/AreaGroup.cs ++++ b/src/gui/areas/AreaGroup.cs +@@ -198,7 +198,7 @@ enum Changes { Offset = 1, Cursor = 2, Highlights = 4} + set { drawingArea = value; } + } + +- public Range Selection { ++ public Util.Range Selection { + get { return selection; } + set { + if (selection == value) +@@ -251,7 +251,7 @@ public AreaGroup() + /// Get the range of bytes and the number of rows that + /// are displayed in the current view. + /// </summary> +- public Range GetViewRange(out int nrows) ++ public Util.Range GetViewRange(out int nrows) + { + // find out number of rows, bytes in current view + +@@ -271,9 +271,9 @@ public Range GetViewRange(out int nrows) + + // make sure we get an empty clipping Range when bleft==0 + if (bleft > 0) +- return new Range(offset, offset + bleft - 1); ++ return new Util.Range(offset, offset + bleft - 1); + else +- return new Range(); ++ return new Util.Range(); + } + + /// <summary> +@@ -381,7 +381,7 @@ private void ClearHighlights() + private void SetupBufferCache() + { + int nrows; +- Range view = GetViewRange(out nrows); ++ Util.Range view = GetViewRange(out nrows); + if (view.Size != bufferCache.Length) + bufferCache = new byte[view.Size]; + +@@ -444,7 +444,7 @@ private void RenderExtra() + } + } + /// <summary> +- /// Renders a <see cref="Range"/> of data using a specified <see cref="Drawer.HighlightType"/> ++ /// Renders a <see cref="Util.Range"/> of data using a specified <see cref="Drawer.HighlightType"/> + /// </summary> + private void RenderHighlight(AtomicHighlight h) + { +@@ -474,12 +474,12 @@ private AtomicHighlight[] SplitAtomicPrioritized(AtomicHighlight q, Highlight r) + + if (q.Type > r.Type) { + ha = new AtomicHighlight[3]{new AtomicHighlight(r), new AtomicHighlight(q), new AtomicHighlight(r)}; +- Range.SplitAtomic(ha, r, q); ++ Util.Range.SplitAtomic(ha, r, q); + ha[1].AddContainer(r); + } + else { + ha = new AtomicHighlight[3]{new AtomicHighlight(q), new AtomicHighlight(r), new AtomicHighlight(q)}; +- Range.SplitAtomic(ha, q, r); ++ Util.Range.SplitAtomic(ha, q, r); + foreach (Highlight h in q.Containers) + ha[1].AddContainer(h); + } +@@ -533,7 +533,7 @@ private IntervalTree<AtomicHighlight> BreakDownHighlights(Highlight s, IList<Hig + private IntervalTree<AtomicHighlight> GetAtomicHighlights() + { + int nrows; +- Range clip = GetViewRange(out nrows); ++ Util.Range clip = GetViewRange(out nrows); + Highlight view = new Highlight(clip, Drawer.HighlightType.Normal); + + // get all highlights in current view +@@ -618,7 +618,7 @@ private void RenderCursor(IntervalTree<AtomicHighlight> atomicHighlights) + // if we don't find an overlap this means that either + // 1. the prev cursor position is not visible on the screen + // 2. the prev cursor position is at or beyond the end of the file +- IList<AtomicHighlight> overlaps = atomicHighlights.SearchOverlap(new Range(prevCursorOffset, prevCursorOffset)); ++ IList<AtomicHighlight> overlaps = atomicHighlights.SearchOverlap(new Util.Range(prevCursorOffset, prevCursorOffset)); + + AtomicHighlight h = null; + +diff --git a/src/tools/find/FindOperations.cs b/src/tools/find/FindOperations.cs +index 0351efd..e5984f9 100644 +--- a/src/tools/find/FindOperations.cs ++++ b/src/tools/find/FindOperations.cs +@@ -146,8 +146,8 @@ public class ReplaceAllOperation: GenericFindOperation + + protected override void DoOperation() + { +- Range m; +- match = new Range(); ++ Util.Range m; ++ match = new Util.Range(); + firstMatch = null; + + numReplaced = 0; +@@ -159,7 +159,7 @@ protected override void DoOperation() + + while ((m = strategy.FindNext()) != null) { + if (firstMatch == null) { +- firstMatch = new Range(m); ++ firstMatch = new Util.Range(m); + } + + match.Start = m.Start; +diff --git a/src/tools/find/IFindStrategy.cs b/src/tools/find/IFindStrategy.cs +index bdf7a87..bc2b21b 100644 +--- a/src/tools/find/IFindStrategy.cs ++++ b/src/tools/find/IFindStrategy.cs +@@ -31,13 +31,13 @@ public interface IFindStrategy + ByteBuffer Buffer { get; set; } + long Position { get; set; } + +- Range FindNext(); +- Range FindPrevious(); ++ Util.Range FindNext(); ++ Util.Range FindPrevious(); + +- Range FindNext(long limit); +- Range FindPrevious(long limit); ++ Util.Range FindNext(long limit); ++ Util.Range FindPrevious(long limit); + + bool Cancelled { get; set; } + } + +-} // end namespace +\ No newline at end of file ++} // end namespace +diff --git a/src/tools/find/IFinder.cs b/src/tools/find/IFinder.cs +index 594de22..a29a8fd 100644 +--- a/src/tools/find/IFinder.cs ++++ b/src/tools/find/IFinder.cs +@@ -30,7 +30,7 @@ namespace Bless.Tools.Find { + public interface IFinder + { + IFindStrategy Strategy { get; set; } +- Range LastFound { get; set; } ++ Util.Range LastFound { get; set; } + + + event FirstFindHandler FirstFind; +@@ -41,4 +41,4 @@ public interface IFinder + IAsyncResult ReplaceAll(byte[] ba, AsyncCallback ac); + } + +-} // end namespace +\ No newline at end of file ++} // end namespace |