Article View: alt.free.newsservers
Article #145810--
From: Jeff-Relf.Me
Date: Sat, 10 Nov 2012 22:16
Date: Sat, 10 Nov 2012 22:16
42 lines
2882 bytes
2882 bytes
<PRE><H2>
I'm into newsreaders and servers... get over it, Moroney.
I improved my text/code comparison routines.
Now it properly highlights moved blocks (of lines), always;
however, it doesn't always display the smaller moved block (oh well).
Other than that, it's MASSIVELY better than anything out there.
It highlights the differences between a pair of lines,
token by token, one line under the other ( one crossed out ).
And, because I wrote it, I can/do customize it to hell and back.
Now, lines (or, maybe, blocks of lines) match like this:
// metaEq() returns "1" if lines (or, maybe, blocks of lines) match.
// ⦿ <A hRef="http://Jeff-Relf.Me/X.CPP">The Visual C++ 2010 source code, X.CPP</A>.
int metaEq( LnA PP, LnA QQ ) {
// typedef "LnA" is an array of lines.
// Although the array is dynamic, it appears to be static.
while(1) {
if ( !virEq( *PP, *QQ ) )
// The pair didn't match ( whitespace ignored ).
return 0;
if ( Sz >= 30 || !( *++PP && *++QQ ) )
// The match was unique/long enough, >= 30,
// ⋅OR⋅ End⋅of⋅File... match allowed.
return 1;
// The match was too short, < 30.
//
// Go down the file, line by line,
// until a unique/long enough match is found,
// ⋅OR⋅ a mismatch ⋅OR⋅ EoF.
//
// Note: Sometimes the "block of lines" is really
// a list of tokens on a line, not lines of code.
}
}
Technical Details
Message-ID:
<Jeff-Relf.Me@Nov.10{2.16.PM.Seattle.2012}>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.newsdeef.eu!mbox2nntp-alt.free.newsservers.20150605.mbox.gz!num2.nntp.dca.giganews.com!num1.nntp.dca.giganews.com!number.nntp.dca.giganews.com!border3.nntp.dca.giganews.com!border1.nntp.dca.giganews.com!nntp.giganews.com!news-out.octanews.net!indigo.octanews.net!news.glorb.com!news-spur1.glorb.com!newsread.glorb.com!.POSTED!not-for-mailReferences:
<Jeff-Relf.Me@Nov.7{10.25.PM.Seattle.2012}> <k7fvrs$h9g$3@dont-email.me> <Jeff-Relf.Me@Nov.8{0.35.PM.Seattle.2012}> <k7i5f5$1gs$1@pcls6.std.com> <Jeff-Relf.Me@Nov.9{9.48.PM.Seattle.2012}> <k7lo68$904$1@pcls6.std.com>Show Full Headers
Complete Article Headers
Message-ID: <Jeff-Relf.Me@Nov.10{2.16.PM.Seattle.2012}>
Subject: --
Date: Sat, 10 Nov 2012 22:16:29 +0000
From: Jeff-Relf.Me <@.>
References: <Jeff-Relf.Me@Nov.7{10.25.PM.Seattle.2012}> <k7fvrs$h9g$3@dont-email.me> <Jeff-Relf.Me@Nov.8{0.35.PM.Seattle.2012}> <k7i5f5$1gs$1@pcls6.std.com> <Jeff-Relf.Me@Nov.9{9.48.PM.Seattle.2012}> <k7lo68$904$1@pcls6.std.com>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.newsdeef.eu!mbox2nntp-alt.free.newsservers.20150605.mbox.gz!num2.nntp.dca.giganews.com!num1.nntp.dca.giganews.com!number.nntp.dca.giganews.com!border3.nntp.dca.giganews.com!border1.nntp.dca.giganews.com!nntp.giganews.com!news-out.octanews.net!indigo.octanews.net!news.glorb.com!news-spur1.glorb.com!newsread.glorb.com!.POSTED!not-for-mail
Newsgroups: alt.free.newsservers,sci.physics,comp.os.linux.advocacy
Organization: Glorb Internet Services, http://www.glorb.com
Lines: 42
NNTP-Posting-Host: XJGH+5GM8EvggnDfgIBqtQ.304.posting.glorb.com
Content-Type: Text/HTML; charset=UTF-8
Content-Transfer-Encoding: 8bit
X-Complaints-To: abuse@glorb.com
NNTP-Posting-Date: Sat, 10 Nov 2012 22:16:29 +0000 (UTC)
User-Agent: Jeff-Relf.Me/X.TXT
X-Notice: Scanned by Mr. Bill