Adam Dickmeiss [Thu, 20 Sep 2007 09:22:37 +0000 (09:22 +0000)]
Client state Client_Connected is now considered active. It's the
stage after connection has been established but before Init has
been sent. This is another fix for bug #1628.
Adam Dickmeiss [Thu, 20 Sep 2007 08:34:50 +0000 (08:34 +0000)]
More active trickery. Setting state to Client_Continue instead Client_Idle
when receiving successful responses (init, search, present).
Adam Dickmeiss [Thu, 20 Sep 2007 08:14:21 +0000 (08:14 +0000)]
Debian package for fix of bug #1628.
Adam Dickmeiss [Thu, 20 Sep 2007 08:13:26 +0000 (08:13 +0000)]
Fixed bug #1628: show command returns zero hits when searching a slow target.
The problem was that a client was in Client_Idle case when it was actually
about to perform a search or other operation. The problem was in function
client_prep_connection where a client state was set to CLient_Idle if
connection was already open. This is wrong. The client is not idle: it
is about to perform a search. A new client state is therefore needed:
Client_Continue, which is like Client_Idle but differs in that a client
is considered active. Neither Connecting or Connected are the same stage
because these are states prior to Init Handshake with target.
Adam Dickmeiss [Wed, 19 Sep 2007 13:23:35 +0000 (13:23 +0000)]
Deal with targets that return negative hit counts.
Adam Dickmeiss [Wed, 19 Sep 2007 13:00:01 +0000 (13:00 +0000)]
Terminate blocking show if active clients reaches zero
Adam Dickmeiss [Wed, 19 Sep 2007 09:49:22 +0000 (09:49 +0000)]
Removed log statement with undefined behavior
Adam Dickmeiss [Wed, 19 Sep 2007 09:46:26 +0000 (09:46 +0000)]
Ignore test program
Adam Dickmeiss [Wed, 19 Sep 2007 09:45:36 +0000 (09:45 +0000)]
Towards 1.0.3
Jakub Skoczen [Mon, 17 Sep 2007 08:43:17 +0000 (08:43 +0000)]
One OpenUrl per merged record.
Adam Dickmeiss [Sat, 15 Sep 2007 09:09:53 +0000 (09:09 +0000)]
File test_icu.cfg part of distribution.
Jakub Skoczen [Fri, 14 Sep 2007 09:46:49 +0000 (09:46 +0000)]
Solving bug 1581.
Jakub Skoczen [Wed, 12 Sep 2007 08:57:14 +0000 (08:57 +0000)]
pzHttpRequest: escape() used instead of encodeURI() for GET parameter values.
Adam Dickmeiss [Wed, 12 Sep 2007 07:03:03 +0000 (07:03 +0000)]
Fixed non-ICU compilation
Jakub Skoczen [Tue, 11 Sep 2007 15:52:13 +0000 (15:52 +0000)]
Getting rid of Bug 1364.
Adam Dickmeiss [Mon, 10 Sep 2007 16:34:45 +0000 (16:34 +0000)]
Fixed dist rule for test_icu..res files
Adam Dickmeiss [Mon, 10 Sep 2007 16:33:53 +0000 (16:33 +0000)]
URLs for ICU testing.
Adam Dickmeiss [Mon, 10 Sep 2007 16:25:49 +0000 (16:25 +0000)]
Implemented sorting using ICU. Bug #1190. The Debian package now
enables ICU by default. Added new tests for ICU enabled Pazpar2 - test
skipped if ICU is not enabled.
Adam Dickmeiss [Mon, 10 Sep 2007 16:05:48 +0000 (16:05 +0000)]
Do not depend on HAVE_ICU - because 1) we never want public headers to
become dependent on HAVE_-something. and 2) C code including icu_I18N.h
checks becore inclusion.
Adam Dickmeiss [Mon, 10 Sep 2007 16:04:20 +0000 (16:04 +0000)]
Fixed bug #1535: Missing term in output for some configuration(s).
Jakub Skoczen [Mon, 10 Sep 2007 13:18:53 +0000 (13:18 +0000)]
Solved: IE throwing exception if text contents of the node was an empty string.
Adam Dickmeiss [Mon, 10 Sep 2007 09:10:16 +0000 (09:10 +0000)]
nxml indent (no semantic change)
Adam Dickmeiss [Mon, 10 Sep 2007 08:42:48 +0000 (08:42 +0000)]
Added option -V which shows version information.
Adam Dickmeiss [Mon, 10 Sep 2007 08:18:19 +0000 (08:18 +0000)]
Factor out most of the regression test to separate script
Adam Dickmeiss [Fri, 7 Sep 2007 10:46:33 +0000 (10:46 +0000)]
Added small test for existing metadata character normalization system.
Adam Dickmeiss [Fri, 7 Sep 2007 10:27:14 +0000 (10:27 +0000)]
Indent
Adam Dickmeiss [Wed, 5 Sep 2007 09:13:32 +0000 (09:13 +0000)]
Removed debug message
Adam Dickmeiss [Wed, 5 Sep 2007 08:43:53 +0000 (08:43 +0000)]
Debian package 1.0.2-8
Adam Dickmeiss [Wed, 5 Sep 2007 08:40:12 +0000 (08:40 +0000)]
Fixed bug #1507: Command record=..&id=.. should block if it does not exist.
Added a new session watch type plus two HTTP requests for testing of
this.
Adam Dickmeiss [Wed, 5 Sep 2007 07:24:04 +0000 (07:24 +0000)]
Fixed bug #1395: Fixed size array in function hitsbytarget in logic.c.
Also added a test for command=bytarget.
Adam Dickmeiss [Tue, 4 Sep 2007 08:01:09 +0000 (08:01 +0000)]
Debian 1.0.2-7: Fix pazpar2path setting so that empty string is allowed.
Adam Dickmeiss [Mon, 3 Sep 2007 20:13:22 +0000 (20:13 +0000)]
Allow empty string for pazpar2path
Adam Dickmeiss [Mon, 3 Sep 2007 09:56:34 +0000 (09:56 +0000)]
New Debian package with updated pz2.js
Jakub Skoczen [Thu, 30 Aug 2007 13:43:43 +0000 (13:43 +0000)]
removing typo.
Jakub Skoczen [Thu, 30 Aug 2007 13:24:37 +0000 (13:24 +0000)]
Changes to fully support accessing pazpar2 through a proxy.
Marc Cromme [Thu, 30 Aug 2007 08:45:08 +0000 (08:45 +0000)]
better error recording and output of example XML config file added
Sebastian Hammer [Tue, 28 Aug 2007 21:11:21 +0000 (21:11 +0000)]
Eliminated exits. Pointer type change, to remove warning
Sebastian Hammer [Tue, 28 Aug 2007 16:47:30 +0000 (16:47 +0000)]
This should address Bug 1433, OpenURL links appearing where they should not.
marc21.xsl normalization stylesheet was generating metadata element whether
an OpenURL resolver was known or not. This caused display stylesheet to
generate the element. Could have been fixed either place.
Adam Dickmeiss [Wed, 22 Aug 2007 13:25:55 +0000 (13:25 +0000)]
Create a symlink rather than a file in /etc/apache2/conf.d
Adam Dickmeiss [Wed, 22 Aug 2007 09:54:57 +0000 (09:54 +0000)]
Official version 1.0.2.
Adam Dickmeiss [Fri, 17 Aug 2007 12:39:11 +0000 (12:39 +0000)]
Changed session_setting_oneval to return 'const string' rather than
string. Settings returned are strictly read-only.
Adam Dickmeiss [Fri, 17 Aug 2007 12:25:26 +0000 (12:25 +0000)]
Fixed bug #1355: CCL-queries messed up by binary chars.
Apparently the yaz_iconv_open was passed an empty string - returned
from absent queryencoding setting. We now check for empty string..
I don't like empty string and NULL value to be messed. Function
session_setting_oneval should return NULL for absent value. Empty
string for empty string.
Adam Dickmeiss [Fri, 17 Aug 2007 12:11:50 +0000 (12:11 +0000)]
Added test for bug #1355.
Jakub Skoczen [Fri, 17 Aug 2007 11:29:36 +0000 (11:29 +0000)]
Added open-url-resolver setting to the default set of targets.
Jakub Skoczen [Thu, 16 Aug 2007 12:42:44 +0000 (12:42 +0000)]
Added open-url element to the service.
Jakub Skoczen [Thu, 16 Aug 2007 12:40:01 +0000 (12:40 +0000)]
Adding open-url lik generation to the normalization stylesheets.
Adam Dickmeiss [Thu, 16 Aug 2007 11:30:45 +0000 (11:30 +0000)]
Fixed bug #1358: md-title-remainder may or may not be present in test.
The xmlNodeListGetString in some cases returns NULL and other cases
return "" for what seems to be same input.
Marc Cromme [Thu, 16 Aug 2007 07:56:18 +0000 (07:56 +0000)]
added docbook-xsl to build dependencies
Sebastian Hammer [Thu, 16 Aug 2007 03:12:42 +0000 (03:12 +0000)]
Created new field, 'subject-long' containing detailed subject headings.. it appears
the fully detailed subject headings don't work well as search access points, at
least in the LoC.
Sebastian Hammer [Thu, 16 Aug 2007 02:56:33 +0000 (02:56 +0000)]
Tuning subject display
Sebastian Hammer [Thu, 16 Aug 2007 02:44:19 +0000 (02:44 +0000)]
Added subject subfields -- to differentiate different subcategories.
Jakub Skoczen [Tue, 14 Aug 2007 14:23:32 +0000 (14:23 +0000)]
Changes in the pz2.js to make back button work.
Adam Dickmeiss [Tue, 14 Aug 2007 14:06:21 +0000 (14:06 +0000)]
Testing some settings as well
Adam Dickmeiss [Tue, 14 Aug 2007 14:03:02 +0000 (14:03 +0000)]
Fixed bug #1021: Handling of individual proxies for targets.
Adam Dickmeiss [Tue, 14 Aug 2007 13:14:48 +0000 (13:14 +0000)]
Block on first show following invalid search
Adam Dickmeiss [Mon, 13 Aug 2007 13:27:04 +0000 (13:27 +0000)]
Implemented what could be a fix for bug #1356: Pazpar2 crashes for some
invalid URL. The problem is not URL related but rather that a show following
a faulty search (here filter fail) will read a _lot_ of uninitalized memory.
Adam Dickmeiss [Mon, 13 Aug 2007 12:51:11 +0000 (12:51 +0000)]
Ignore valgrind output.
Adam Dickmeiss [Mon, 13 Aug 2007 12:51:00 +0000 (12:51 +0000)]
Allow the use of valgrind
Adam Dickmeiss [Mon, 13 Aug 2007 12:42:45 +0000 (12:42 +0000)]
Fixed bug #1359: Pazpar2 reading uninitialized memory when sorting.
The offset is -1 when relevance is in effect. We just use value
0 instead.
Adam Dickmeiss [Mon, 13 Aug 2007 12:13:31 +0000 (12:13 +0000)]
Debian package bug #1348 fixed.
Adam Dickmeiss [Mon, 13 Aug 2007 12:12:30 +0000 (12:12 +0000)]
Fixed bug #1348: Conversion into OPAC. The MARC conversion module
was using Libxml2 to produce the bibliographicRecord and caused an
XML header to be included in a bad place.
Adam Dickmeiss [Mon, 13 Aug 2007 08:38:07 +0000 (08:38 +0000)]
id logo part of pazpar2-jsdemo package
Sebastian Hammer [Mon, 13 Aug 2007 03:43:40 +0000 (03:43 +0000)]
Added URL-recipe to dist file. Not sure if this is the right thing
to do, but auth module in standard masterkey relies on it, and it
doesn't hurt aanyone if it isn't used.
Adam Dickmeiss [Sun, 12 Aug 2007 10:36:33 +0000 (10:36 +0000)]
Include test marc21.xsl in distribution (tar.gz).
Sebastian Hammer [Wed, 1 Aug 2007 11:48:26 +0000 (11:48 +0000)]
Updated doc to reflect changes in settings system
Sebastian Hammer [Tue, 31 Jul 2007 22:35:40 +0000 (22:35 +0000)]
Included description of settings exposed to records.
Sebastian Hammer [Mon, 30 Jul 2007 23:16:33 +0000 (23:16 +0000)]
Enabled passing settings values to normalization stylesheet.
Sebastian Hammer [Mon, 30 Jul 2007 23:06:01 +0000 (23:06 +0000)]
Made local copy of marc21.xsl. This was done to support tests and behavior
that is not desirable in demo/production systems.
Sebastian Hammer [Mon, 30 Jul 2007 11:52:08 +0000 (11:52 +0000)]
Added support for settings-derived data elements in post-normalization record
Marc Cromme [Fri, 27 Jul 2007 09:07:49 +0000 (09:07 +0000)]
added target debian;
Jakub Skoczen [Thu, 26 Jul 2007 13:47:52 +0000 (13:47 +0000)]
Added IE/FF compatibility functions.
DOMDocument:
newXmlDoc
parseXmlFromString
DOMElement:
removeFromDoc
emptyChildren
appendTransformResult
appendTextNode
setTextContent
getTextContent
Adam Dickmeiss [Wed, 25 Jul 2007 13:27:06 +0000 (13:27 +0000)]
Fixed bug #1319: Pazpar2 goes to infinite loop.. Seems resolver related.
Routine connect_resolver_host had a brain-damaged loop structure.
Adam Dickmeiss [Wed, 25 Jul 2007 13:20:46 +0000 (13:20 +0000)]
Removed sleep/test code which was commited by mistake
Adam Dickmeiss [Wed, 25 Jul 2007 11:41:32 +0000 (11:41 +0000)]
Z39.50 session/connect timeout in parameters
Adam Dickmeiss [Wed, 25 Jul 2007 11:00:26 +0000 (11:00 +0000)]
Removed unused code
Jakub Skoczen [Tue, 24 Jul 2007 08:15:12 +0000 (08:15 +0000)]
Added clickable facets to the jsdemo.
Adam Dickmeiss [Mon, 23 Jul 2007 12:28:46 +0000 (12:28 +0000)]
New internal Deb package: osrting by year
Adam Dickmeiss [Mon, 23 Jul 2007 12:27:44 +0000 (12:27 +0000)]
Added note about sorting by year.
Adam Dickmeiss [Mon, 23 Jul 2007 12:23:30 +0000 (12:23 +0000)]
Implemented numeric sorting (sort by year). Bug #820.
Adam Dickmeiss [Mon, 23 Jul 2007 11:54:00 +0000 (11:54 +0000)]
Added test for sorting of title.
Adam Dickmeiss [Thu, 19 Jul 2007 17:48:18 +0000 (17:48 +0000)]
Removed masterkey.cfg
Jakub Skoczen [Wed, 18 Jul 2007 16:44:15 +0000 (16:44 +0000)]
Making demo look nicer.
Adam Dickmeiss [Wed, 18 Jul 2007 14:19:03 +0000 (14:19 +0000)]
Added OAI/DC conversion.
Adam Dickmeiss [Wed, 18 Jul 2007 14:11:42 +0000 (14:11 +0000)]
Added this stylesheet. Just includes marc21.xsl.
Adam Dickmeiss [Wed, 18 Jul 2007 13:40:56 +0000 (13:40 +0000)]
Default pazpar2 invocation url path is /pazpar2/search.pz2..
Adam Dickmeiss [Wed, 18 Jul 2007 13:39:11 +0000 (13:39 +0000)]
Test use of pz:xslt=auto
Adam Dickmeiss [Wed, 18 Jul 2007 13:37:30 +0000 (13:37 +0000)]
A value of pz:xslt = auto makes pazpar2 load stylesheet with name:
value of as pz:requestsyntax followed by '.xsl'.
Adam Dickmeiss [Mon, 16 Jul 2007 17:01:46 +0000 (17:01 +0000)]
The record ID (recid) that Pazpar2 generates is now the merge key and not
a dynamically generated integer. It allows us to repeat the search and
still be able to get hold of the record again. A little more persistent.
Adam Dickmeiss [Mon, 16 Jul 2007 16:43:45 +0000 (16:43 +0000)]
Merge the electronic url
Adam Dickmeiss [Mon, 16 Jul 2007 15:21:29 +0000 (15:21 +0000)]
Added metadata: medium, electronic-{url,text,note}
Adam Dickmeiss [Mon, 16 Jul 2007 12:31:09 +0000 (12:31 +0000)]
Simplify make dist hook. Omit etc/masterkey content from distribution.
Adam Dickmeiss [Mon, 16 Jul 2007 09:39:55 +0000 (09:39 +0000)]
Added a lot more metadata for MARC21. This changes the ranking result
a bit. Added test for 'record' command with- and without offset.
Adam Dickmeiss [Mon, 16 Jul 2007 09:10:05 +0000 (09:10 +0000)]
Rephrase
Adam Dickmeiss [Mon, 16 Jul 2007 09:09:56 +0000 (09:09 +0000)]
One more record dump to be tweaked to use log file
Adam Dickmeiss [Mon, 16 Jul 2007 09:00:22 +0000 (09:00 +0000)]
Option -d dumps records to the current log file instead of stderr.
Adam Dickmeiss [Mon, 16 Jul 2007 08:58:12 +0000 (08:58 +0000)]
Describe option -h
Adam Dickmeiss [Fri, 13 Jul 2007 13:16:57 +0000 (13:16 +0000)]
A little more details on how record&offset=.. fails
Anders S. Mortensen [Fri, 13 Jul 2007 10:30:36 +0000 (10:30 +0000)]
If member 'handle' is specified as a param, then handle will be passed to
callback.
Adam Dickmeiss [Fri, 13 Jul 2007 09:25:41 +0000 (09:25 +0000)]
Pazpar2 uses the MARC/iconv handle when genearted OPACXML. This is to
ensure we encode the MARC portion according to charset rules.
Anders S. Mortensen [Thu, 12 Jul 2007 11:49:20 +0000 (11:49 +0000)]
record handler can be called with optional 3rd argument which is expected to
be a hash table. If member callback exists, this will be called upon
response.