irspy-moved-to-github.git
15 years agoGet irspy_xpath_context() and xml_encode() from ZOOM::IRSpy
Mike Taylor [Fri, 20 Oct 2006 16:56:07 +0000 (16:56 +0000)]
Get irspy_xpath_context() and xml_encode() from ZOOM::IRSpy

15 years agoImport xml_encode() from IRSpy rather that IRSpy::Record
Mike Taylor [Fri, 20 Oct 2006 14:51:41 +0000 (14:51 +0000)]
Import xml_encode() from IRSpy rather that IRSpy::Record

15 years agoxml_encode() moved to IRSpy.pm
Mike Taylor [Fri, 20 Oct 2006 14:51:01 +0000 (14:51 +0000)]
xml_encode() moved to IRSpy.pm
Exporting structure removed.

15 years agoAdd two exportable utility functions:
Mike Taylor [Fri, 20 Oct 2006 14:49:11 +0000 (14:49 +0000)]
Add two exportable utility functions:
xml_encode() is moved here from IRSpy::Record
irspy_xpath_context() is new, factored out of found.mc

15 years agoDescribe CQL support.
Mike Taylor [Wed, 18 Oct 2006 14:25:48 +0000 (14:25 +0000)]
Describe CQL support.

15 years agoAttempt, once only, to re-open a closed zconn.
Mike Taylor [Wed, 18 Oct 2006 14:03:42 +0000 (14:03 +0000)]
Attempt, once only, to re-open a closed zconn.

15 years agoIf _query parameter is set, use that verbatim rather than assembling a
Mike Taylor [Wed, 18 Oct 2006 12:36:05 +0000 (12:36 +0000)]
If _query parameter is set, use that verbatim rather than assembling a
query from other form components.
The heading containing the query is now a resubmission box, allowing
the query to be edited.

15 years agoAdd mappings for twelve zeerex indexes (not yet supported in PQF).
Mike Taylor [Wed, 18 Oct 2006 11:42:20 +0000 (11:42 +0000)]
Add mappings for twelve zeerex indexes (not yet supported in PQF).

15 years agoRemove old-style sorting which has been superseded by sorting
Mike Taylor [Wed, 18 Oct 2006 11:34:48 +0000 (11:34 +0000)]
Remove old-style sorting which has been superseded by sorting
relation-modifiers.

15 years agoClarified logging.
Mike Taylor [Wed, 18 Oct 2006 10:22:54 +0000 (10:22 +0000)]
Clarified logging.

15 years agoTest using the "Quick" set rather than the default "Main"
Mike Taylor [Tue, 17 Oct 2006 16:24:01 +0000 (16:24 +0000)]
Test using the "Quick" set rather than the default "Main"

15 years agoSkip over sibling tests on TEST_BAD.
Mike Taylor [Tue, 17 Oct 2006 16:22:17 +0000 (16:22 +0000)]
Skip over sibling tests on TEST_BAD.

15 years agoDocumentation fix.
Mike Taylor [Tue, 17 Oct 2006 16:21:46 +0000 (16:21 +0000)]
Documentation fix.

15 years agoAdd Search::DBDate, which provokes failure in the LC server.
Mike Taylor [Tue, 17 Oct 2006 16:21:31 +0000 (16:21 +0000)]
Add Search::DBDate, which provokes failure in the LC server.

15 years agoNew
Mike Taylor [Tue, 17 Oct 2006 16:20:00 +0000 (16:20 +0000)]
New

15 years agoTask-level logging for failed tests.
Mike Taylor [Tue, 17 Oct 2006 15:46:30 +0000 (15:46 +0000)]
Task-level logging for failed tests.

15 years agoNew -- utility used for designing IRSpy tests.
Mike Taylor [Tue, 17 Oct 2006 15:25:51 +0000 (15:25 +0000)]
New -- utility used for designing IRSpy tests.

15 years agoRe-use ZOOM connection to IRSpy database.
Mike Taylor [Tue, 17 Oct 2006 14:49:58 +0000 (14:49 +0000)]
Re-use ZOOM connection to IRSpy database.

15 years agoAdd new files for:
Mike Taylor [Tue, 17 Oct 2006 13:58:30 +0000 (13:58 +0000)]
Add new files for:
- Web-accessible documentation
- Dublin Core record format
- Task-based engine architecture
- New tests

15 years agoRevise sample command-line yet again.
Mike Taylor [Tue, 17 Oct 2006 11:50:07 +0000 (11:50 +0000)]
Revise sample command-line yet again.

15 years agoCHange suggested invocation
Mike Taylor [Fri, 13 Oct 2006 15:18:11 +0000 (15:18 +0000)]
CHange suggested invocation

15 years agoRewrite each record as its target's tests complete.
Mike Taylor [Fri, 13 Oct 2006 15:17:25 +0000 (15:17 +0000)]
Rewrite each record as its target's tests complete.

15 years agoNew -- used for running tests that are on the infrastructure of IRSpy
Mike Taylor [Fri, 13 Oct 2006 15:16:29 +0000 (15:16 +0000)]
New -- used for running tests that are on the infrastructure of IRSpy
itself rather than on the targets, since this test completes much more
quickly!

15 years agoMoving the irspy namespace to the IRSpy package (to keep it in one place).
Anders S. Mortensen [Fri, 13 Oct 2006 13:41:56 +0000 (13:41 +0000)]
Moving the irspy namespace to the IRSpy package (to keep it in one place).

15 years agoGetting ready to search for Dan1 attributes.
Anders S. Mortensen [Fri, 13 Oct 2006 13:40:29 +0000 (13:40 +0000)]
Getting ready to search for Dan1 attributes.

15 years agoAdding all the Bib-1 attributes to test for.
Anders S. Mortensen [Fri, 13 Oct 2006 10:34:34 +0000 (10:34 +0000)]
Adding all the Bib-1 attributes to test for.

15 years agoRemoved again.
Anders S. Mortensen [Fri, 13 Oct 2006 10:16:45 +0000 (10:16 +0000)]
Removed again.

15 years agoAdded zspy details from Per.
Anders S. Mortensen [Fri, 13 Oct 2006 10:14:13 +0000 (10:14 +0000)]
Added zspy details from Per.

15 years agoOups, wrong file to commit.
Anders S. Mortensen [Fri, 13 Oct 2006 10:08:57 +0000 (10:08 +0000)]
Oups, wrong file to commit.

15 years ago*** empty log message ***
Anders S. Mortensen [Fri, 13 Oct 2006 10:07:36 +0000 (10:07 +0000)]
*** empty log message ***

15 years agoPassing hash ref as a test and using a more generic xml representation of the
Anders S. Mortensen [Fri, 13 Oct 2006 10:03:31 +0000 (10:03 +0000)]
Passing hash ref as a test and using a more generic xml representation of the
test result.

15 years agoLogging changed and made more coherent
Mike Taylor [Thu, 12 Oct 2006 16:54:13 +0000 (16:54 +0000)]
Logging changed and made more coherent

15 years agoAdd comments on logging levels.
Mike Taylor [Thu, 12 Oct 2006 16:53:04 +0000 (16:53 +0000)]
Add comments on logging levels.
(This should really be in the IRSpy.pm POD)

15 years agoComments.
Mike Taylor [Thu, 12 Oct 2006 15:51:37 +0000 (15:51 +0000)]
Comments.

15 years agoRemove extraneous comment.
Mike Taylor [Thu, 12 Oct 2006 14:40:33 +0000 (14:40 +0000)]
Remove extraneous comment.

15 years agoPass access-point as $udata into irspy_connect()
Mike Taylor [Thu, 12 Oct 2006 14:40:24 +0000 (14:40 +0000)]
Pass access-point as $udata into irspy_connect()
Accept it in callbacks.

15 years agoPass undefined $udata into irspy_connect()
Mike Taylor [Thu, 12 Oct 2006 14:37:24 +0000 (14:37 +0000)]
Pass undefined $udata into irspy_connect()
Accept it in callbacks.

15 years agoConstructor takes new $udata argument.
Mike Taylor [Thu, 12 Oct 2006 14:36:34 +0000 (14:36 +0000)]
Constructor takes new $udata argument.
New udata() method returns it.

15 years agoirspy_connect() and irspy_search_pqf() have new $udata parameter.
Mike Taylor [Thu, 12 Oct 2006 14:35:43 +0000 (14:35 +0000)]
irspy_connect() and irspy_search_pqf() have new $udata parameter.
This is passed into their task constructors.

15 years agoPass $udata into callbacks.
Mike Taylor [Thu, 12 Oct 2006 14:34:59 +0000 (14:34 +0000)]
Pass $udata into callbacks.

15 years agoRequire ZOOM version 1.13
Mike Taylor [Thu, 12 Oct 2006 11:06:03 +0000 (11:06 +0000)]
Require ZOOM version 1.13

15 years agoRequire ZOOM 1.13
Mike Taylor [Thu, 12 Oct 2006 11:03:55 +0000 (11:03 +0000)]
Require ZOOM 1.13

15 years agoAttempt $conn->_check() immediately after submitting search.
Mike Taylor [Wed, 11 Oct 2006 16:48:19 +0000 (16:48 +0000)]
Attempt $conn->_check() immediately after submitting search.
(Doesn't do anything, though.)

15 years agoSimplify
Mike Taylor [Wed, 11 Oct 2006 16:47:44 +0000 (16:47 +0000)]
Simplify

15 years agoAdd error()
Mike Taylor [Wed, 11 Oct 2006 16:47:23 +0000 (16:47 +0000)]
Add error()
Remove temporary variables.

15 years agoSubtests are now correct (Ping and Search::Main)
Mike Taylor [Wed, 11 Oct 2006 16:46:37 +0000 (16:46 +0000)]
Subtests are now correct (Ping and Search::Main)

15 years agonew() contructor removed, replaced by create()
Mike Taylor [Wed, 11 Oct 2006 16:46:01 +0000 (16:46 +0000)]
new() contructor removed, replaced by create()
tasks() simplified, now read-only.
Added next_task() get/set method, analogous to current_task()
Simplified add_task()
Removed start_task()

15 years agoCorrect main loop ... for the first time ever.
Mike Taylor [Wed, 11 Oct 2006 16:44:04 +0000 (16:44 +0000)]
Correct main loop ... for the first time ever.
As a bonus, the code is also simpler than it's ever been.
(Funny how often those two things go together.)

15 years agoUse check() return value.
Mike Taylor [Wed, 11 Oct 2006 16:42:50 +0000 (16:42 +0000)]
Use check() return value.

15 years agoRemove debugging print
Mike Taylor [Wed, 11 Oct 2006 16:36:03 +0000 (16:36 +0000)]
Remove debugging print

15 years agoCorrect parsing of deep paths (head ends at first, not last, colon).
Mike Taylor [Wed, 11 Oct 2006 16:35:43 +0000 (16:35 +0000)]
Correct parsing of deep paths (head ends at first, not last, colon).

15 years agoAdd missing =cut
Mike Taylor [Wed, 11 Oct 2006 14:34:21 +0000 (14:34 +0000)]
Add missing =cut

15 years agoUsing the debian location of the zebra modules.
Anders S. Mortensen [Wed, 11 Oct 2006 07:06:39 +0000 (07:06 +0000)]
Using the debian location of the zebra modules.

15 years agoUse $conn->log() instead of use option("target")
Mike Taylor [Tue, 10 Oct 2006 13:16:31 +0000 (13:16 +0000)]
Use $conn->log() instead of use option("target")

15 years agoClarify role of XSD and zeerex2index.xsl
Mike Taylor [Tue, 10 Oct 2006 12:53:29 +0000 (12:53 +0000)]
Clarify role of XSD and zeerex2index.xsl

15 years agoAdd explicit "-t test" to sample command-line
Mike Taylor [Mon, 9 Oct 2006 07:29:43 +0000 (07:29 +0000)]
Add explicit "-t test" to sample command-line

15 years agoUse the Node class's subnodes() method, was subtests()
Mike Taylor [Fri, 6 Oct 2006 16:52:50 +0000 (16:52 +0000)]
Use the Node class's subnodes() method, was subtests()

15 years agoRename subtests() method to subnodes().
Mike Taylor [Fri, 6 Oct 2006 16:51:32 +0000 (16:51 +0000)]
Rename subtests() method to subnodes().
Add POD documentation.

15 years agoMany radical changes to the IRSpy engine, enabling a far more asynchronous approach...
Mike Taylor [Fri, 6 Oct 2006 11:33:07 +0000 (11:33 +0000)]
Many radical changes to the IRSpy engine, enabling a far more asynchronous approach.  Work remains to be done on the engine, but there's enough here that test can now be written.

15 years agoAppend
Mike Taylor [Fri, 6 Oct 2006 11:30:12 +0000 (11:30 +0000)]
Append

15 years agoTweak sample command-line
Mike Taylor [Fri, 6 Oct 2006 11:25:11 +0000 (11:25 +0000)]
Tweak sample command-line

15 years agoAdd attribute 4=3 to net:path searches, as this index is now type-0.
Mike Taylor [Fri, 6 Oct 2006 11:14:12 +0000 (11:14 +0000)]
Add attribute 4=3 to net:path searches, as this index is now type-0.

15 years agodatabase name is now indexed with type=0
Mike Taylor [Fri, 6 Oct 2006 11:07:11 +0000 (11:07 +0000)]
database name is now indexed with type=0

15 years agoAdded Search/Main.pm and addressing it in Main.pm.
Anders S. Mortensen [Mon, 2 Oct 2006 13:08:42 +0000 (13:08 +0000)]
Added Search/Main.pm and addressing it in Main.pm.

15 years agoAdded a pragmatic approach to a multi-connection parallel test module.
Anders S. Mortensen [Mon, 2 Oct 2006 13:02:58 +0000 (13:02 +0000)]
Added a pragmatic approach to a multi-connection parallel test module.

15 years agoAdded handlers for other types of ZOOM events so that the test case can run.
Anders S. Mortensen [Mon, 2 Oct 2006 13:02:10 +0000 (13:02 +0000)]
Added handlers for other types of ZOOM events so that the test case can run.

15 years agowait passes a hash reference rather than augmenting the pod object.
Anders S. Mortensen [Mon, 2 Oct 2006 07:40:53 +0000 (07:40 +0000)]
wait passes a hash reference rather than augmenting the pod object.

15 years agoBoth check for modules in /usr/lib and /usr/local/lib.
Anders S. Mortensen [Mon, 2 Oct 2006 07:09:39 +0000 (07:09 +0000)]
Both check for modules in /usr/lib and /usr/local/lib.

15 years agoNew -- nearly complete, but CQL section needs work.
Mike Taylor [Fri, 29 Sep 2006 16:57:18 +0000 (16:57 +0000)]
New -- nearly complete, but CQL section needs work.

15 years agoNew
Mike Taylor [Thu, 28 Sep 2006 16:48:00 +0000 (16:48 +0000)]
New

15 years agoAdd link to documentation.
Mike Taylor [Thu, 28 Sep 2006 16:47:22 +0000 (16:47 +0000)]
Add link to documentation.

15 years agoRemove hardwired "use lib" path -- now taken from Apache config.
Mike Taylor [Thu, 28 Sep 2006 16:03:08 +0000 (16:03 +0000)]
Remove hardwired "use lib" path -- now taken from Apache config.

15 years agoAdd IRSpyLibDir
Mike Taylor [Thu, 28 Sep 2006 16:00:30 +0000 (16:00 +0000)]
Add IRSpyLibDir

15 years agoAdd "-t <test>" option to run a specific test.
Mike Taylor [Wed, 27 Sep 2006 13:29:31 +0000 (13:29 +0000)]
Add "-t <test>" option to run a specific test.

15 years agocheck() now takes an optional test-name (defaults to "Main")
Mike Taylor [Wed, 27 Sep 2006 12:49:46 +0000 (12:49 +0000)]
check() now takes an optional test-name (defaults to "Main")
Callbacks are reset after each test.

15 years agoAdd remove_callbacks()
Mike Taylor [Wed, 27 Sep 2006 12:48:20 +0000 (12:48 +0000)]
Add remove_callbacks()

15 years agocallback() now removes a callback if called with an undefined argument.
Mike Taylor [Wed, 27 Sep 2006 12:40:44 +0000 (12:40 +0000)]
callback() now removes a callback if called with an undefined argument.

15 years agoReference the new DC stylesheet.
Mike Taylor [Tue, 26 Sep 2006 15:22:51 +0000 (15:22 +0000)]
Reference the new DC stylesheet.

15 years agoROlling
Mike Taylor [Tue, 26 Sep 2006 15:20:51 +0000 (15:20 +0000)]
ROlling

15 years agoNew
Mike Taylor [Tue, 26 Sep 2006 14:37:41 +0000 (14:37 +0000)]
New

15 years agoPass the bib-1 attribute number to the zoom callback by reference in the handle
Anders S. Mortensen [Tue, 26 Sep 2006 13:34:38 +0000 (13:34 +0000)]
Pass the bib-1 attribute number to the zoom callback by reference in the handle
member of the irspy object. And removing Search::Title from Test::Main since
it is contained in Bib-1.

15 years agoTweak comments
Mike Taylor [Tue, 26 Sep 2006 13:22:12 +0000 (13:22 +0000)]
Tweak comments

15 years agoAdding Bib-1 test case.
Anders S. Mortensen [Tue, 26 Sep 2006 13:12:28 +0000 (13:12 +0000)]
Adding Bib-1 test case.

15 years agoRolling
Mike Taylor [Tue, 26 Sep 2006 12:33:18 +0000 (12:33 +0000)]
Rolling

15 years agoCall $spy->log_init_level()
Mike Taylor [Tue, 26 Sep 2006 11:25:30 +0000 (11:25 +0000)]
Call $spy->log_init_level()

15 years agoAdd log_init_level()
Mike Taylor [Tue, 26 Sep 2006 11:25:07 +0000 (11:25 +0000)]
Add log_init_level()
log() now calls $m->flush_buffer() directly.

15 years agoFlush Mason buffer.
Mike Taylor [Tue, 26 Sep 2006 10:16:15 +0000 (10:16 +0000)]
Flush Mason buffer.
Embolden final message.

15 years agoNew
Mike Taylor [Tue, 26 Sep 2006 09:31:10 +0000 (09:31 +0000)]
New

15 years agoUse new ZOOM::IRSpy::Web
Mike Taylor [Tue, 26 Sep 2006 09:30:20 +0000 (09:30 +0000)]
Use new ZOOM::IRSpy::Web

15 years agoMore SEE ALSOs
Mike Taylor [Tue, 26 Sep 2006 09:24:45 +0000 (09:24 +0000)]
More SEE ALSOs

15 years ago$this is now passed into new IRSpy::Record()
Mike Taylor [Tue, 26 Sep 2006 09:08:36 +0000 (09:08 +0000)]
$this is now passed into new IRSpy::Record()

15 years agoRecord keeps track of its parent IRSpy object, and uses $irspy->log()
Mike Taylor [Tue, 26 Sep 2006 09:08:09 +0000 (09:08 +0000)]
Record keeps track of its parent IRSpy object, and uses $irspy->log()

15 years agoFix comment.
Mike Taylor [Tue, 26 Sep 2006 08:52:21 +0000 (08:52 +0000)]
Fix comment.

15 years agoxml_encode($title)
Mike Taylor [Mon, 25 Sep 2006 19:52:20 +0000 (19:52 +0000)]
xml_encode($title)

15 years agoRely on layout.mc to pull in xml_encode()
Mike Taylor [Mon, 25 Sep 2006 16:52:30 +0000 (16:52 +0000)]
Rely on layout.mc to pull in xml_encode()

15 years agoRolling
Mike Taylor [Mon, 25 Sep 2006 16:51:04 +0000 (16:51 +0000)]
Rolling

15 years agoPull in xml_encode()
Mike Taylor [Mon, 25 Sep 2006 16:47:36 +0000 (16:47 +0000)]
Pull in xml_encode()

15 years agoDon't fetch unused agent.
Mike Taylor [Mon, 25 Sep 2006 16:46:27 +0000 (16:46 +0000)]
Don't fetch unused agent.

15 years agoEscape double quotes in query.
Mike Taylor [Mon, 25 Sep 2006 16:37:55 +0000 (16:37 +0000)]
Escape double quotes in query.

15 years agoExplicit form method/action for XHTML.
Mike Taylor [Mon, 25 Sep 2006 15:32:06 +0000 (15:32 +0000)]
Explicit form method/action for XHTML.