irspy-moved-to-github.git
17 years agoAvoid using Text::Iconv->retval(), which is not in the version on Debian Testing.
Mike Taylor [Fri, 2 Mar 2007 12:17:33 +0000 (12:17 +0000)]
Avoid using Text::Iconv->retval(), which is not in the version on Debian Testing.

17 years agoRemove -Wdeclaration-after-statement, which is not recognised by all GCCs.
Mike Taylor [Fri, 2 Mar 2007 12:02:16 +0000 (12:02 +0000)]
Remove -Wdeclaration-after-statement, which is not recognised by all GCCs.

17 years agoHack for dealing with ASCII, Latin-1 and UTF-8 character-sets. Other
Mike Taylor [Fri, 2 Mar 2007 11:56:15 +0000 (11:56 +0000)]
Hack for dealing with ASCII, Latin-1 and UTF-8 character-sets.  Other
Latin-n character sets might work, more or less.

17 years agoRecord IDs (and the rec:id index) now case-insensitive.
Mike Taylor [Fri, 2 Mar 2007 11:04:10 +0000 (11:04 +0000)]
Record IDs (and the rec:id index) now case-insensitive.

17 years agoDramatically simplify initialise() and associated state in the IRSpy
Mike Taylor [Thu, 1 Mar 2007 14:00:50 +0000 (14:00 +0000)]
Dramatically simplify initialise() and associated state in the IRSpy
object, preparatory to solving case-insensitive duplication bug.

17 years agocql_quote() quotes terms that contain quotes and slashes, as well as
Mike Taylor [Thu, 1 Mar 2007 13:59:45 +0000 (13:59 +0000)]
cql_quote() quotes terms that contain quotes and slashes, as well as
spaces.

17 years agoBack to v1.21 -- cql_target() is not unnecessary after all, since it's
Mike Taylor [Thu, 1 Mar 2007 13:52:54 +0000 (13:52 +0000)]
Back to v1.21 -- cql_target() is not unnecessary after all, since it's
used by both IRSpy.pm and the Web UI.

17 years agoRemove unused cql_target()
Mike Taylor [Thu, 1 Mar 2007 13:51:18 +0000 (13:51 +0000)]
Remove unused cql_target()

17 years agoComment
Mike Taylor [Thu, 1 Mar 2007 13:21:05 +0000 (13:21 +0000)]
Comment

17 years agoIndex recordSyntax's @name rather than @identifier.
Mike Taylor [Wed, 28 Feb 2007 17:51:31 +0000 (17:51 +0000)]
Index recordSyntax's @name rather than @identifier.

17 years agoSubmit @attr 4=3 with zeerex:recordSyntax searches.
Mike Taylor [Wed, 28 Feb 2007 17:51:00 +0000 (17:51 +0000)]
Submit @attr 4=3 with zeerex:recordSyntax searches.
(May be needed with more indexes.)

17 years agoAppend to log rather than starting anew each time.
Mike Taylor [Wed, 28 Feb 2007 17:50:22 +0000 (17:50 +0000)]
Append to log rather than starting anew each time.
Do not make backup copy of old log.
(Both these made possible by use of log rotation.)

17 years agoUse new $node->next()/address() to correctly skip tests.
Mike Taylor [Wed, 28 Feb 2007 17:36:00 +0000 (17:36 +0000)]
Use new $node->next()/address() to correctly skip tests.

17 years agoAdd resolve(), address(), parent(), previous(), next().
Mike Taylor [Wed, 28 Feb 2007 17:34:54 +0000 (17:34 +0000)]
Add resolve(), address(), parent(), previous(), next().

17 years agoTest is BAD if database is unavailable.
Mike Taylor [Wed, 28 Feb 2007 17:32:48 +0000 (17:32 +0000)]
Test is BAD if database is unavailable.

17 years agoNew -- should be part of the test suite but this is better than nothing.
Mike Taylor [Wed, 28 Feb 2007 16:52:34 +0000 (16:52 +0000)]
New -- should be part of the test suite but this is better than nothing.

17 years agoArgs for complete run.
Mike Taylor [Wed, 28 Feb 2007 11:13:41 +0000 (11:13 +0000)]
Args for complete run.

17 years agoCheck for at least YAZ version 2.1.51
Mike Taylor [Tue, 27 Feb 2007 18:16:26 +0000 (18:16 +0000)]
Check for at least YAZ version 2.1.51

17 years agoAdd alternative command-line for whole-database test.
Mike Taylor [Tue, 27 Feb 2007 15:01:40 +0000 (15:01 +0000)]
Add alternative command-line for whole-database test.

17 years agoNew -v option requests verbose commentary.
Mike Taylor [Tue, 27 Feb 2007 14:54:52 +0000 (14:54 +0000)]
New -v option requests verbose commentary.

17 years agoNew
Mike Taylor [Tue, 27 Feb 2007 14:52:55 +0000 (14:52 +0000)]
New

17 years agoInstructions for building setrlimit
Mike Taylor [Tue, 27 Feb 2007 14:52:40 +0000 (14:52 +0000)]
Instructions for building setrlimit

17 years agoIgnore compiled setrlimit
Mike Taylor [Tue, 27 Feb 2007 14:51:36 +0000 (14:51 +0000)]
Ignore compiled setrlimit

17 years agoComplain if saved-XML files can't be opened.
Mike Taylor [Tue, 27 Feb 2007 14:51:10 +0000 (14:51 +0000)]
Complain if saved-XML files can't be opened.

17 years agobetter logging.
Mike Taylor [Mon, 26 Feb 2007 22:20:08 +0000 (22:20 +0000)]
better logging.

17 years agoEnd test early if the Explain database is unavailable.
Mike Taylor [Mon, 26 Feb 2007 18:48:50 +0000 (18:48 +0000)]
End test early if the Explain database is unavailable.

17 years agoAbandon test if we run into a permanent system error. (The Library of
Mike Taylor [Mon, 26 Feb 2007 17:32:13 +0000 (17:32 +0000)]
Abandon test if we run into a permanent system error.  (The Library of
Congress sometimes does this, and once it starts it doesn't stop.)

17 years agoUse safe new $conn->check() instead of old private _check().
Mike Taylor [Mon, 26 Feb 2007 14:49:23 +0000 (14:49 +0000)]
Use safe new $conn->check() instead of old private _check().
Notice if catching an exception that's not ZOOM::Exception.

17 years agoUse safe new $conn->check() instead of old private _check().
Mike Taylor [Mon, 26 Feb 2007 14:48:52 +0000 (14:48 +0000)]
Use safe new $conn->check() instead of old private _check().

17 years agoNeed ZOOM-Perl 1.18
Mike Taylor [Mon, 26 Feb 2007 14:47:35 +0000 (14:47 +0000)]
Need ZOOM-Perl 1.18

17 years agoRemove failed attempt to catch errors pre-emptively.
Mike Taylor [Mon, 26 Feb 2007 14:27:50 +0000 (14:27 +0000)]
Remove failed attempt to catch errors pre-emptively.

17 years agoUse -f option to mv.
Mike Taylor [Mon, 26 Feb 2007 12:25:04 +0000 (12:25 +0000)]
Use -f option to mv.

17 years agoCope with $record not set at all (though IIRC this should never
Mike Taylor [Sat, 24 Feb 2007 01:27:20 +0000 (01:27 +0000)]
Cope with $record not set at all (though IIRC this should never
happen.  But it did, and broke a looong run.)

 _/|_  ___________________________________________________________________
/o ) \/  Mike Taylor    <mike@indexdata.com>    http://www.miketaylor.org.uk
)_v__/\  He's right you know -- the lad's got a point!

17 years agoGet backtrace if program dies.
Mike Taylor [Sat, 24 Feb 2007 01:26:32 +0000 (01:26 +0000)]
Get backtrace if program dies.

17 years agoAdd new method find_targets()
Mike Taylor [Fri, 23 Feb 2007 16:45:55 +0000 (16:45 +0000)]
Add new method find_targets()

17 years agoTest of all targets now requires explicit -a option, so it can't be
Mike Taylor [Fri, 23 Feb 2007 16:44:50 +0000 (16:44 +0000)]
Test of all targets now requires explicit -a option, so it can't be
done by accident.
New "-f <query>" option allows selection of targets to be tested.

17 years agoUse ZEND only for callbacks, rather than RECV_*
Mike Taylor [Fri, 23 Feb 2007 15:03:44 +0000 (15:03 +0000)]
Use ZEND only for callbacks, rather than RECV_*

17 years agoSimplified event handling: only ZEND is significant.
Mike Taylor [Fri, 23 Feb 2007 15:01:48 +0000 (15:01 +0000)]
Simplified event handling: only ZEND is significant.

17 years agoComments only.
Mike Taylor [Fri, 23 Feb 2007 13:18:43 +0000 (13:18 +0000)]
Comments only.

17 years agoFormatting changes only.
Mike Taylor [Fri, 23 Feb 2007 13:14:13 +0000 (13:14 +0000)]
Formatting changes only.

17 years agoIgnore errors detected on RECV_APDU except when the task is Connect.
Mike Taylor [Thu, 22 Feb 2007 17:46:23 +0000 (17:46 +0000)]
Ignore errors detected on RECV_APDU except when the task is Connect.
Nasty special case, will probably go away when I add the
event-flushing code.

17 years agoBetter logging for failed searches.
Mike Taylor [Thu, 22 Feb 2007 17:45:43 +0000 (17:45 +0000)]
Better logging for failed searches.

17 years agoWarning of left-over events now emitted using yaz_log() rather than warn().
Mike Taylor [Thu, 22 Feb 2007 15:43:13 +0000 (15:43 +0000)]
Warning of left-over events now emitted using yaz_log() rather than warn().

17 years agoCatch all ZOOM::event() return values less than 1. This includes -4
Mike Taylor [Thu, 22 Feb 2007 11:51:58 +0000 (11:51 +0000)]
Catch all ZOOM::event() return values less than 1.  This includes -4
(too many connections), which was the cause of the busy-loop
failure when testing all targets.
Final play-out of left-over events also avoids busy looping on
unexpected negative return-value.
Do not re-enter main loop after initial exit.

17 years agoShow "[UNTITLED]" for records with no title: this is important, since
Mike Taylor [Thu, 22 Feb 2007 11:49:46 +0000 (11:49 +0000)]
Show "[UNTITLED]" for records with no title: this is important, since
the title is a link to the main record display.

17 years agoSample command-line includes IRSPY_SAVE_XML setting.
Mike Taylor [Thu, 22 Feb 2007 11:49:13 +0000 (11:49 +0000)]
Sample command-line includes IRSPY_SAVE_XML setting.

17 years agoSave XML files, pre- and post-transform, to /tmp if
Mike Taylor [Wed, 21 Feb 2007 17:57:59 +0000 (17:57 +0000)]
Save XML files, pre- and post-transform, to /tmp if
$ENV{IRSPY_SAVE_XML} is true.

17 years ago"No" link to full.mc is now absolute.
Mike Taylor [Tue, 20 Feb 2007 19:21:26 +0000 (19:21 +0000)]
"No" link to full.mc is now absolute.

17 years agoLink to new location of admin-related pages
Mike Taylor [Tue, 20 Feb 2007 19:20:23 +0000 (19:20 +0000)]
Link to new location of admin-related pages

17 years agoMoved here from non-protected parent directory
Mike Taylor [Tue, 20 Feb 2007 19:17:14 +0000 (19:17 +0000)]
Moved here from non-protected parent directory

17 years agoMoved into new password-protected admin directory
Mike Taylor [Tue, 20 Feb 2007 19:16:58 +0000 (19:16 +0000)]
Moved into new password-protected admin directory

17 years agoNot used, hasn't been for some time
Mike Taylor [Tue, 20 Feb 2007 19:13:45 +0000 (19:13 +0000)]
Not used, hasn't been for some time

17 years agoAppend
Mike Taylor [Tue, 20 Feb 2007 19:11:58 +0000 (19:11 +0000)]
Append

17 years agoNew
Mike Taylor [Tue, 20 Feb 2007 18:52:15 +0000 (18:52 +0000)]
New

17 years agoRequire authentication for admin/ directory
Mike Taylor [Tue, 20 Feb 2007 18:51:37 +0000 (18:51 +0000)]
Require authentication for admin/ directory

17 years agoNew
Mike Taylor [Tue, 20 Feb 2007 12:10:02 +0000 (12:10 +0000)]
New

17 years agoFix variable-name typo, caused infinite retry loop after bad search.
Mike Taylor [Tue, 13 Feb 2007 16:49:14 +0000 (16:49 +0000)]
Fix variable-name typo, caused infinite retry loop after bad search.

17 years agoComment out the test of the "opac" record syntax. I feel really
Mike Taylor [Tue, 13 Feb 2007 15:04:08 +0000 (15:04 +0000)]
Comment out the test of the "opac" record syntax.  I feel really
terrible about this, because there is a terrible chthonic bug of
ghastly elder-world-invasion proportions, and I _cannot_ find it and
kill it.  All I can tell you right now is that if we don't test for
OPAC records, the bug doesn't happen.  So pragmatism dictates that
right now, we won't check for OPAC records.  But one day, there's
going to be a reckoning.

17 years agoDo not go back into main loop if peek_event() is either 0 or ZEND.
Mike Taylor [Tue, 13 Feb 2007 15:02:35 +0000 (15:02 +0000)]
Do not go back into main loop if peek_event() is either 0 or ZEND.

17 years agoMinor clarification.
Mike Taylor [Tue, 13 Feb 2007 14:35:04 +0000 (14:35 +0000)]
Minor clarification.

17 years agoNew
Mike Taylor [Fri, 9 Feb 2007 10:48:37 +0000 (10:48 +0000)]
New

17 years agoTweak which events errors are ignored for.
Mike Taylor [Fri, 9 Feb 2007 10:44:25 +0000 (10:44 +0000)]
Tweak which events errors are ignored for.

17 years agoArgs for debugging Record::Fetch on LC
Mike Taylor [Fri, 9 Feb 2007 10:42:28 +0000 (10:42 +0000)]
Args for debugging Record::Fetch on LC

17 years agoLightly tweak sample command-line to make it more amenable to running under perldb...
Mike Taylor [Tue, 6 Feb 2007 13:22:16 +0000 (13:22 +0000)]
Lightly tweak sample command-line to make it more amenable to running under perldb in Emacs.

17 years agoDon't show spare event-0 at end.
Mike Taylor [Mon, 5 Feb 2007 13:28:51 +0000 (13:28 +0000)]
Don't show spare event-0 at end.

17 years agoAdded a little note.
Anders S. Mortensen [Fri, 2 Feb 2007 12:44:43 +0000 (12:44 +0000)]
Added a little note.

17 years agoThis has now changed name to irspy_xsltproc.pl.
Anders S. Mortensen [Fri, 2 Feb 2007 12:41:16 +0000 (12:41 +0000)]
This has now changed name to irspy_xsltproc.pl.

17 years agoApplied Mike's nice -d option thing.
Anders S. Mortensen [Fri, 2 Feb 2007 12:40:51 +0000 (12:40 +0000)]
Applied Mike's nice -d option thing.

17 years agoAdded irspy_xsltproc script which has the right irspy environment.
Anders S. Mortensen [Fri, 2 Feb 2007 12:38:48 +0000 (12:38 +0000)]
Added irspy_xsltproc script which has the right irspy environment.

17 years agoCorrect listing of access-points in calc_ap() in the case of singletons.
Mike Taylor [Fri, 2 Feb 2007 11:31:30 +0000 (11:31 +0000)]
Correct listing of access-points in calc_ap() in the case of singletons.

17 years agoFix what I assume were out-of-date API calls.
Mike Taylor [Fri, 2 Feb 2007 11:30:50 +0000 (11:30 +0000)]
Fix what I assume were out-of-date API calls.
Debugging output now only generated if -d specified.

17 years agoUse "All tests were attempted", not "were run".
Mike Taylor [Wed, 31 Jan 2007 16:50:10 +0000 (16:50 +0000)]
Use "All tests were attempted", not "were run".

17 years agoError on search (e.g. unsupported use attribute) falls through to
Mike Taylor [Mon, 29 Jan 2007 17:32:57 +0000 (17:32 +0000)]
Error on search (e.g. unsupported use attribute) falls through to
trying next query on list rather than failing outright.

17 years agoTry access-point 44 if other searches fail.
Mike Taylor [Mon, 29 Jan 2007 17:24:51 +0000 (17:24 +0000)]
Try access-point 44 if other searches fail.

17 years agoOmit Test::Title test, since this fails (astonishingly) on the
Mike Taylor [Mon, 29 Jan 2007 17:12:54 +0000 (17:12 +0000)]
Omit Test::Title test, since this fails (astonishingly) on the
Smithsonian card catalogue's server, causing the BIB-1 test to be
skipped.

17 years agoMove Zebra for port 3313 to 8018 (which is visible on test through its firewall)
Mike Taylor [Wed, 24 Jan 2007 09:28:02 +0000 (09:28 +0000)]
Move Zebra for port 3313 to 8018 (which is visible on test through its firewall)

17 years agoInclude target-deletion web components.
Mike Taylor [Wed, 24 Jan 2007 09:22:20 +0000 (09:22 +0000)]
Include target-deletion web components.

17 years agoDo not distribute "debug" directory.
Mike Taylor [Wed, 24 Jan 2007 09:22:00 +0000 (09:22 +0000)]
Do not distribute "debug" directory.

17 years agoComment out init-opt debugging print.
Mike Taylor [Sat, 20 Jan 2007 09:53:40 +0000 (09:53 +0000)]
Comment out init-opt debugging print.

17 years agoPeek at queued events at loop exit.
Mike Taylor [Sat, 20 Jan 2007 09:53:20 +0000 (09:53 +0000)]
Peek at queued events at loop exit.
Only make three belt-and-braces retries (was 10).

17 years agoApache logs in standard place
Mike Taylor [Thu, 18 Jan 2007 12:12:12 +0000 (12:12 +0000)]
Apache logs in standard place

17 years agoBetter "no" link.
Mike Taylor [Wed, 3 Jan 2007 10:41:07 +0000 (10:41 +0000)]
Better "no" link.

17 years agoInclude dummy record in XS delete package.
Mike Taylor [Wed, 3 Jan 2007 10:38:15 +0000 (10:38 +0000)]
Include dummy record in XS delete package.
This works around a Zebra bug.

17 years agoNew
Mike Taylor [Tue, 2 Jan 2007 17:26:53 +0000 (17:26 +0000)]
New

17 years agoLink to delete.html
Mike Taylor [Tue, 2 Jan 2007 17:26:40 +0000 (17:26 +0000)]
Link to delete.html

17 years agoDebugging save of XML to files in /tmp now controlled by variable.
Mike Taylor [Thu, 21 Dec 2006 16:35:11 +0000 (16:35 +0000)]
Debugging save of XML to files in /tmp now controlled by variable.

17 years agoKeeping track of expected irspy:xxxx elements which could not be found by
Anders S. Mortensen [Tue, 19 Dec 2006 12:54:38 +0000 (12:54 +0000)]
Keeping track of expected irspy:xxxx elements which could not be found by
the XSLT processor.

17 years agoZebra doesn't recognize the tmpdir setting - therefore remove it.
Anders S. Mortensen [Tue, 19 Dec 2006 12:53:16 +0000 (12:53 +0000)]
Zebra doesn't recognize the tmpdir setting - therefore remove it.

17 years agoTentative support for preserving server implementation ID/Name/Version.
Mike Taylor [Mon, 18 Dec 2006 15:38:54 +0000 (15:38 +0000)]
Tentative support for preserving server implementation ID/Name/Version.

17 years agoRefactor BIB-1 attribute analysis into new subcomponent. Use this to
Mike Taylor [Mon, 18 Dec 2006 15:38:09 +0000 (15:38 +0000)]
Refactor BIB-1 attribute analysis into new subcomponent.  Use this to
also include record-syntax, explain, and top-level domain analysis.

17 years agoAdd support for server ID, Name and Versions.
Mike Taylor [Mon, 18 Dec 2006 15:37:06 +0000 (15:37 +0000)]
Add support for server ID, Name and Versions.

17 years agoImport bib1_access_point()
Mike Taylor [Mon, 18 Dec 2006 15:36:43 +0000 (15:36 +0000)]
Import bib1_access_point()

17 years agoSeparate callbacks for initial-search error and fetch-error.
Mike Taylor [Mon, 18 Dec 2006 15:36:03 +0000 (15:36 +0000)]
Separate callbacks for initial-search error and fetch-error.

17 years agoAdd bib1_access_point()
Mike Taylor [Mon, 18 Dec 2006 15:34:54 +0000 (15:34 +0000)]
Add bib1_access_point()

17 years agoAdd support for analysing Explain results.
Mike Taylor [Mon, 18 Dec 2006 15:34:27 +0000 (15:34 +0000)]
Add support for analysing Explain results.
Add support for analysing Z39.50 Init Response results.
{host} element set from connections, so that it's available in a Stats
object that's been serialised/deserialised and which therefore
no longer has a real ZOOM::Connection inside it.

17 years agoTry again (up to ten times) if main loop exits prematurely.
Mike Taylor [Mon, 18 Dec 2006 15:32:32 +0000 (15:32 +0000)]
Try again (up to ten times) if main loop exits prematurely.
(Doesn't help in the current LoC failure case, but adds robustness).
Clarify logging.

17 years agoBetter sample command-line.
Mike Taylor [Mon, 18 Dec 2006 15:31:39 +0000 (15:31 +0000)]
Better sample command-line.

17 years agoNicely rendered BIB-1 table.
Mike Taylor [Fri, 15 Dec 2006 18:18:46 +0000 (18:18 +0000)]
Nicely rendered BIB-1 table.
Everything else silent for now.

17 years agoLink to statistics for found hosts.
Mike Taylor [Fri, 15 Dec 2006 18:07:40 +0000 (18:07 +0000)]
Link to statistics for found hosts.

17 years agoAdd support for additional categories:
Mike Taylor [Fri, 15 Dec 2006 17:24:59 +0000 (17:24 +0000)]
Add support for additional categories:
 - Record syntax support by database
 - Explain support
 - Top Domains
Not yet done due to XSLT bugs (which Anders will fix):
 - Implementation
 - Z39.50 Protocol Services Support
Not done because it's a Big Deal:
 - Z39.50 Server Atlas