irspy-moved-to-github.git
15 years agoTypo in comment.
Mike Taylor [Thu, 9 Nov 2006 15:18:14 +0000 (15:18 +0000)]
Typo in comment.

15 years agoClearer reporting.
Mike Taylor [Wed, 8 Nov 2006 17:42:11 +0000 (17:42 +0000)]
Clearer reporting.
Still needs stupid second XPath-context like test-xml-update.pl

15 years agoirspy_xpath_context() may now take a textual XML record instead of a
Mike Taylor [Wed, 8 Nov 2006 17:41:27 +0000 (17:41 +0000)]
irspy_xpath_context() may now take a textual XML record instead of a
DOM tree.
dom_add_element() now correctly inserts a new _element_ with specified
value, rather than just inserting the value itself.
Slightly changed debugging output for modify_xml_document() and
dom_add_element().

15 years agoAll sort of improvments, many command-line flags.
Mike Taylor [Wed, 8 Nov 2006 17:19:18 +0000 (17:19 +0000)]
All sort of improvments, many command-line flags.

15 years agoComplete and should work ... but doesn't.
Mike Taylor [Tue, 7 Nov 2006 17:45:37 +0000 (17:45 +0000)]
Complete and should work ... but doesn't.

15 years agoCorrect HTML-encoding of debug output in dom_add_element()
Mike Taylor [Tue, 7 Nov 2006 17:18:29 +0000 (17:18 +0000)]
Correct HTML-encoding of debug output in dom_add_element()
Comment out this debugging output anyway.

15 years agoBetter sample command-line.
Mike Taylor [Tue, 7 Nov 2006 16:29:54 +0000 (16:29 +0000)]
Better sample command-line.

15 years agoCalculate named-result-set support.
Mike Taylor [Mon, 6 Nov 2006 17:43:29 +0000 (17:43 +0000)]
Calculate named-result-set support.

15 years agoCalculate explain support.
Mike Taylor [Mon, 6 Nov 2006 17:40:04 +0000 (17:40 +0000)]
Calculate explain support.
Empty support-lists now render as "[none]".

15 years agoCalculate record-syntaxes.
Mike Taylor [Mon, 6 Nov 2006 17:34:58 +0000 (17:34 +0000)]
Calculate record-syntaxes.

15 years agoCalculate supported booleans.
Mike Taylor [Mon, 6 Nov 2006 17:24:00 +0000 (17:24 +0000)]
Calculate supported booleans.

15 years agoDan-1 use attributes.
Mike Taylor [Mon, 6 Nov 2006 17:04:23 +0000 (17:04 +0000)]
Dan-1 use attributes.

15 years agoCalculate BIB-1 use attributes.
Mike Taylor [Mon, 6 Nov 2006 17:01:03 +0000 (17:01 +0000)]
Calculate BIB-1 use attributes.

15 years agoCalculate reliability using function pointer -- cool.
Mike Taylor [Mon, 6 Nov 2006 16:22:17 +0000 (16:22 +0000)]
Calculate reliability using function pointer -- cool.

15 years ago<h2> uses database title rather than ID.
Mike Taylor [Mon, 6 Nov 2006 14:22:22 +0000 (14:22 +0000)]
<h2> uses database title rather than ID.

15 years agoHeading is now database title rather than ID
Mike Taylor [Mon, 6 Nov 2006 11:41:03 +0000 (11:41 +0000)]
Heading is now database title rather than ID

15 years agoInclude date of last check in output.
Mike Taylor [Mon, 6 Nov 2006 11:37:43 +0000 (11:37 +0000)]
Include date of last check in output.

15 years agoreturn TEST_SKIPPED if search finds no records.
Mike Taylor [Fri, 3 Nov 2006 13:37:33 +0000 (13:37 +0000)]
return TEST_SKIPPED if search finds no records.

15 years agoSupport for Status::TEST_SKIPPED
Mike Taylor [Fri, 3 Nov 2006 13:11:29 +0000 (13:11 +0000)]
Support for Status::TEST_SKIPPED

15 years agoAdd warnings if running tasks leaves the ZOOM connections idle. (Doesn't currently...
Mike Taylor [Thu, 2 Nov 2006 16:11:44 +0000 (16:11 +0000)]
Add warnings if running tasks leaves the ZOOM connections idle.  (Doesn't currently help, I think because is_idle() returns 0 if there is an END event waiting.)

15 years agoNumber of search-hits included in log message.
Mike Taylor [Thu, 2 Nov 2006 15:02:09 +0000 (15:02 +0000)]
Number of search-hits included in log message.

15 years agoFix POD syntax error.
Mike Taylor [Thu, 2 Nov 2006 15:01:10 +0000 (15:01 +0000)]
Fix POD syntax error.

15 years agoOmit test programs from distribution.
Mike Taylor [Thu, 2 Nov 2006 15:00:09 +0000 (15:00 +0000)]
Omit test programs from distribution.

15 years agoDowngrade XML::LibXML and XML::LibXSLT prerequisites from 1.59 to 1.58.
Mike Taylor [Thu, 2 Nov 2006 14:59:02 +0000 (14:59 +0000)]
Downgrade XML::LibXML and XML::LibXSLT prerequisites from 1.59 to 1.58.

15 years agoAdd many new tests and web pages.
Mike Taylor [Thu, 2 Nov 2006 14:58:07 +0000 (14:58 +0000)]
Add many new tests and web pages.

15 years agoAdd sanity-checks after main loop exists, verifying that all
Mike Taylor [Thu, 2 Nov 2006 13:16:49 +0000 (13:16 +0000)]
Add sanity-checks after main loop exists, verifying that all
connections have used up their tests, have no active or queued task,
and do not have any ZOOM-C level tasks queued.  These are all "can't
happens" -- but they do in fact happen, and the failure to spot them
have wasted many frustrating debugging hours.

15 years agoAdding named result set test.
Anders S. Mortensen [Thu, 2 Nov 2006 11:46:40 +0000 (11:46 +0000)]
Adding named result set test.

15 years agoRemember to get the irspy:xxx attributes copied to the output tree.
Anders S. Mortensen [Thu, 2 Nov 2006 08:28:20 +0000 (08:28 +0000)]
Remember to get the irspy:xxx attributes copied to the output tree.

15 years agoRobust against complex text-nodes contains comments, PIs, etc.
Mike Taylor [Wed, 1 Nov 2006 11:46:10 +0000 (11:46 +0000)]
Robust against complex text-nodes contains comments, PIs, etc.

15 years agoOnly keep the import parts of the irspy:status element.
Anders S. Mortensen [Wed, 1 Nov 2006 11:18:56 +0000 (11:18 +0000)]
Only keep the import parts of the irspy:status element.

15 years agoDisplay target-link letters in fixed-width font.
Mike Taylor [Wed, 1 Nov 2006 10:33:09 +0000 (10:33 +0000)]
Display target-link letters in fixed-width font.
This makes them line up nicely in a table.

15 years agoDisplay diffs between the original and modified records
Mike Taylor [Wed, 1 Nov 2006 10:31:57 +0000 (10:31 +0000)]
Display diffs between the original and modified records

15 years agoUse $ZOOM::IRSpy::Utils::IRSPY_NS instead of $ZOOM::IRSpy::irspy_ns
Mike Taylor [Wed, 1 Nov 2006 10:14:56 +0000 (10:14 +0000)]
Use $ZOOM::IRSpy::Utils::IRSPY_NS instead of $ZOOM::IRSpy::irspy_ns

15 years agoRemove $irspy_ns, superseded by $ZOOM::IRSpy::Utils::IRSPY_NS
Mike Taylor [Wed, 1 Nov 2006 10:14:09 +0000 (10:14 +0000)]
Remove $irspy_ns, superseded by $ZOOM::IRSpy::Utils::IRSPY_NS

15 years agoNew function modify_xml_document()
Mike Taylor [Wed, 1 Nov 2006 10:13:26 +0000 (10:13 +0000)]
New function modify_xml_document()
This is now exported in place of dom_add_element(), which becomes private.
Explicitly include XML::LibXML and XPathContext, so that this module
can be used standalone without ZOOM::IRSpy.
Define $IRSPY_NS, which replaced $ZOOM::IRSpy::irspy_ns.

15 years agoFix to work with recently changed library directory specification.
Mike Taylor [Wed, 1 Nov 2006 10:11:01 +0000 (10:11 +0000)]
Fix to work with recently changed library directory specification.
The setting of PERL5LIB in the Apache configuration meant that
layout.mc no longer set the global LIBDIR, so now we fetch the
IRSpyLibDir configuration manually.  Much cleaner.

15 years agoImport modify_xml_document() instead of dom_add_element()
Mike Taylor [Wed, 1 Nov 2006 10:01:14 +0000 (10:01 +0000)]
Import modify_xml_document() instead of dom_add_element()

15 years agoAdd "This Record" panel when an ID is defined.
Mike Taylor [Wed, 1 Nov 2006 10:00:44 +0000 (10:00 +0000)]
Add "This Record" panel when an ID is defined.

15 years agoUse new modify_xml_document() utility function.
Mike Taylor [Wed, 1 Nov 2006 10:00:21 +0000 (10:00 +0000)]
Use new modify_xml_document() utility function.
Indicate number of changes.

15 years agoNew -- test-harness for complex XML-record update code.
Mike Taylor [Wed, 1 Nov 2006 09:59:28 +0000 (09:59 +0000)]
New -- test-harness for complex XML-record update code.

15 years agoInsert 0 instead of empty in case of failure.
Anders S. Mortensen [Wed, 1 Nov 2006 09:56:50 +0000 (09:56 +0000)]
Insert 0 instead of empty in case of failure.

15 years agoAdd panel2 style for this-record menu.
Mike Taylor [Tue, 31 Oct 2006 16:19:39 +0000 (16:19 +0000)]
Add panel2 style for this-record menu.
Remove underlining for links inside menu box.

15 years agoRemove Test/Edit/XML links which are now in layout.mc
Mike Taylor [Tue, 31 Oct 2006 16:18:47 +0000 (16:18 +0000)]
Remove Test/Edit/XML links which are now in layout.mc

15 years agoGet xml_encode from Utils.
Mike Taylor [Tue, 31 Oct 2006 15:22:31 +0000 (15:22 +0000)]
Get xml_encode from Utils.

15 years agoAdding some extra notes which may make life easier for debian users.
Anders S. Mortensen [Tue, 31 Oct 2006 14:17:54 +0000 (14:17 +0000)]
Adding some extra notes which may make life easier for debian users.

15 years agoWork around ZOOM-C bug by testing success based on whether or not we
Mike Taylor [Tue, 31 Oct 2006 12:42:32 +0000 (12:42 +0000)]
Work around ZOOM-C bug by testing success based on whether or not we
can render the supposedly retrieved record.

15 years agoTowards ability to add new elements when editing.
Mike Taylor [Tue, 31 Oct 2006 09:26:59 +0000 (09:26 +0000)]
Towards ability to add new elements when editing.

15 years agoImport dom_add_element()
Mike Taylor [Tue, 31 Oct 2006 09:26:34 +0000 (09:26 +0000)]
Import dom_add_element()

15 years agoAdd dom_add_element() [NOT FINISHED!] and inheritance_tree()
Mike Taylor [Tue, 31 Oct 2006 09:26:11 +0000 (09:26 +0000)]
Add dom_add_element() [NOT FINISHED!] and inheritance_tree()

15 years agoSet PERL5LIB
Mike Taylor [Tue, 31 Oct 2006 09:22:57 +0000 (09:22 +0000)]
Set PERL5LIB

15 years agoMove xml_encode() from IRSpy to Utils
Mike Taylor [Mon, 30 Oct 2006 16:13:49 +0000 (16:13 +0000)]
Move xml_encode() from IRSpy to Utils

15 years agoInclude new Utils module.
Mike Taylor [Mon, 30 Oct 2006 15:04:33 +0000 (15:04 +0000)]
Include new Utils module.

15 years agoNew
Mike Taylor [Mon, 30 Oct 2006 15:02:06 +0000 (15:02 +0000)]
New

15 years agoSet include path using PERL5LIB
Mike Taylor [Mon, 30 Oct 2006 14:59:37 +0000 (14:59 +0000)]
Set include path using PERL5LIB
Use Apache::Reload to reload Utils as needed.

15 years agoRemove "use lib" hack, now that the Apache configuration is correct.
Mike Taylor [Mon, 30 Oct 2006 14:58:15 +0000 (14:58 +0000)]
Remove "use lib" hack, now that the Apache configuration is correct.

15 years agoRemove stupid and fragile "use lib" hack, now that the Apache
Mike Taylor [Mon, 30 Oct 2006 14:57:14 +0000 (14:57 +0000)]
Remove stupid and fragile "use lib" hack, now that the Apache
configuration is correct.

15 years agoWe better keep the irspy:status element in the output document.
Anders S. Mortensen [Mon, 30 Oct 2006 14:55:27 +0000 (14:55 +0000)]
We better keep the irspy:status element in the output document.

15 years agoTweak message.
Mike Taylor [Fri, 27 Oct 2006 17:16:20 +0000 (17:16 +0000)]
Tweak message.

15 years agoActual editing (storing new values) at least for those fields that
Mike Taylor [Fri, 27 Oct 2006 16:58:41 +0000 (16:58 +0000)]
Actual editing (storing new values) at least for those fields that
already existed.  Making new fields is going to be a lot harder.

15 years agoFactor IRSpy-independent _really_write_record() out of
Mike Taylor [Fri, 27 Oct 2006 15:36:04 +0000 (15:36 +0000)]
Factor IRSpy-independent _really_write_record() out of
_write_record(), so it can be called from the Web UI.

15 years agoHandling the case where no existing indexInfo or recordInfo elements exist.
Anders S. Mortensen [Fri, 27 Oct 2006 13:41:57 +0000 (13:41 +0000)]
Handling the case where no existing indexInfo or recordInfo elements exist.

15 years agoActually check for the value of element set name.
Anders S. Mortensen [Fri, 27 Oct 2006 12:51:56 +0000 (12:51 +0000)]
Actually check for the value of element set name.

15 years agoAdding element set name to each mapping to be able to handle multiple element
Anders S. Mortensen [Fri, 27 Oct 2006 12:50:06 +0000 (12:50 +0000)]
Adding element set name to each mapping to be able to handle multiple element
set names.

15 years agoAdded.
Anders S. Mortensen [Fri, 27 Oct 2006 12:45:10 +0000 (12:45 +0000)]
Added.

15 years agoUpdating the recordSyntax elements too.
Anders S. Mortensen [Fri, 27 Oct 2006 12:27:38 +0000 (12:27 +0000)]
Updating the recordSyntax elements too.

15 years agoNicer identation.
Anders S. Mortensen [Fri, 27 Oct 2006 11:45:18 +0000 (11:45 +0000)]
Nicer identation.

15 years agoindexInfo is now updated with information from the irspy:status section.
Anders S. Mortensen [Fri, 27 Oct 2006 11:43:17 +0000 (11:43 +0000)]
indexInfo is now updated with information from the irspy:status section.

15 years agoUsing bib-1 instead of bib1.
Anders S. Mortensen [Fri, 27 Oct 2006 09:56:07 +0000 (09:56 +0000)]
Using bib-1 instead of bib1.

15 years agoGenerate nice form for editing.
Mike Taylor [Fri, 27 Oct 2006 00:47:24 +0000 (00:47 +0000)]
Generate nice form for editing.
Doesn't yet recognise submissions.

15 years agoTest/Edit/XML links are full words again instead of initials.
Mike Taylor [Fri, 27 Oct 2006 00:47:05 +0000 (00:47 +0000)]
Test/Edit/XML links are full words again instead of initials.

15 years agoServer ID is replaced by implementation ID/Name/Version triple.
Mike Taylor [Fri, 27 Oct 2006 00:46:38 +0000 (00:46 +0000)]
Server ID is replaced by implementation ID/Name/Version triple.
Add ###-markers to constant data that should be generated.
Add links to test this target and download its record.

15 years agoirspy_xpath_context() also registers "i" as the IRSpy namespace.
Mike Taylor [Fri, 27 Oct 2006 00:45:12 +0000 (00:45 +0000)]
irspy_xpath_context() also registers "i" as the IRSpy namespace.

15 years agoFix database name (IR-Explain---1, not Default)
Mike Taylor [Fri, 27 Oct 2006 00:44:36 +0000 (00:44 +0000)]
Fix database name (IR-Explain---1, not Default)
Add implementationId and similar.

15 years agoRemoving debugging.
Anders S. Mortensen [Thu, 26 Oct 2006 18:22:41 +0000 (18:22 +0000)]
Removing debugging.

15 years agoStupid hack to fix occasional and unpredictable problems loading test
Mike Taylor [Thu, 26 Oct 2006 18:02:59 +0000 (18:02 +0000)]
Stupid hack to fix occasional and unpredictable problems loading test
modules when running under Apache.

15 years agoClarify diagnostic.
Mike Taylor [Thu, 26 Oct 2006 17:46:41 +0000 (17:46 +0000)]
Clarify diagnostic.

15 years agoRequire confirmation before starting an all-targets test.
Mike Taylor [Thu, 26 Oct 2006 17:45:32 +0000 (17:45 +0000)]
Require confirmation before starting an all-targets test.

15 years agoTowards generic table.
Mike Taylor [Thu, 26 Oct 2006 17:23:13 +0000 (17:23 +0000)]
Towards generic table.

15 years agoNo need to use URI::Escape as layout.mc now does this.
Mike Taylor [Thu, 26 Oct 2006 17:22:56 +0000 (17:22 +0000)]
No need to use URI::Escape as layout.mc now does this.

15 years agoAdd "fullrecord" table class.
Mike Taylor [Thu, 26 Oct 2006 17:22:35 +0000 (17:22 +0000)]
Add "fullrecord" table class.

15 years agoUse URI::Escape on behalf of several components that need it.
Mike Taylor [Thu, 26 Oct 2006 17:22:15 +0000 (17:22 +0000)]
Use URI::Escape on behalf of several components that need it.

15 years agoActually use Anders' temporary variable $irspy_to_zeerex_style :-)
Mike Taylor [Thu, 26 Oct 2006 17:21:35 +0000 (17:21 +0000)]
Actually use Anders' temporary variable $irspy_to_zeerex_style :-)

15 years agoNew
Mike Taylor [Thu, 26 Oct 2006 17:18:08 +0000 (17:18 +0000)]
New

15 years agoWhen actually obtaining the record with $rs->record(), specify the
Mike Taylor [Thu, 26 Oct 2006 17:17:27 +0000 (17:17 +0000)]
When actually obtaining the record with $rs->record(), specify the
same syntax that specified when the record was requested with
$rs->records($index0, 1, 0).  This avoids a silly bug where, having
asynchronously fetched the record in the required syntax, we then
ignored that and synchronously fetched it in the prevailing syntax.
D'oh!

15 years agoGetting ready to model the irspy xml into zeerex using xslt.
Anders S. Mortensen [Thu, 26 Oct 2006 13:39:13 +0000 (13:39 +0000)]
Getting ready to model the irspy xml into zeerex using xslt.

15 years agoSet databaseName only temporarily within task.
Mike Taylor [Thu, 26 Oct 2006 12:55:35 +0000 (12:55 +0000)]
Set databaseName only temporarily within task.

15 years agoRun correct sequence of tests
Mike Taylor [Thu, 26 Oct 2006 12:50:17 +0000 (12:50 +0000)]
Run correct sequence of tests

15 years agoRemoving dublicated code.
Anders S. Mortensen [Thu, 26 Oct 2006 10:24:20 +0000 (10:24 +0000)]
Removing dublicated code.

15 years agoPreparing test case.
Anders S. Mortensen [Thu, 26 Oct 2006 10:24:05 +0000 (10:24 +0000)]
Preparing test case.

15 years agoNicer rendering
Mike Taylor [Wed, 25 Oct 2006 17:16:14 +0000 (17:16 +0000)]
Nicer rendering

15 years agoNew
Mike Taylor [Wed, 25 Oct 2006 15:45:29 +0000 (15:45 +0000)]
New

15 years agoReinstate full list of record syntaxes.
Mike Taylor [Wed, 25 Oct 2006 15:45:07 +0000 (15:45 +0000)]
Reinstate full list of record syntaxes.

15 years agoAfter an initial search (not using piggy-back), records are fetched by
Mike Taylor [Wed, 25 Oct 2006 15:44:50 +0000 (15:44 +0000)]
After an initial search (not using piggy-back), records are fetched by
subsequent, separate tasks.

15 years agoAdd irspy_rs_record(), which queues a new Task::Retrieve
Mike Taylor [Wed, 25 Oct 2006 15:43:43 +0000 (15:43 +0000)]
Add irspy_rs_record(), which queues a new Task::Retrieve

15 years agoDie if a callback returns an unknown value. This is important, since
Mike Taylor [Wed, 25 Oct 2006 15:42:47 +0000 (15:42 +0000)]
Die if a callback returns an unknown value.  This is important, since
otherwise if you forget to explicitly return something, the loop will
just fall through and the whole run will quietly end.

15 years agoTypo.
Anders S. Mortensen [Wed, 25 Oct 2006 13:38:10 +0000 (13:38 +0000)]
Typo.

15 years agorun() calls set_otions() again at the end to restore old values.
Mike Taylor [Wed, 25 Oct 2006 13:36:02 +0000 (13:36 +0000)]
run() calls set_otions() again at the end to restore old values.

15 years agoset_options() now stores the old values in the stored options hash
Mike Taylor [Wed, 25 Oct 2006 13:34:56 +0000 (13:34 +0000)]
set_options() now stores the old values in the stored options hash
that the new values were taken from, so that calling it for a second
time restores the old values.  (Well, nearly.  Because there is no way
to unset an option once it's been set, the best we can do is set such
an option to the empty string.  That seems to be good enough.)

15 years agoImplemented ExplainCategory probing.
Anders S. Mortensen [Wed, 25 Oct 2006 12:44:55 +0000 (12:44 +0000)]
Implemented ExplainCategory probing.

15 years agoAdded some extra debugging.
Anders S. Mortensen [Wed, 25 Oct 2006 11:44:35 +0000 (11:44 +0000)]
Added some extra debugging.