pazpar2-moved-to-github.git
16 years agoRemoved log statement with undefined behavior PAZPAR2.1.0.3
Adam Dickmeiss [Wed, 19 Sep 2007 09:49:22 +0000 (09:49 +0000)]
Removed log statement with undefined behavior

16 years agoIgnore test program
Adam Dickmeiss [Wed, 19 Sep 2007 09:46:26 +0000 (09:46 +0000)]
Ignore test program

16 years agoTowards 1.0.3
Adam Dickmeiss [Wed, 19 Sep 2007 09:45:36 +0000 (09:45 +0000)]
Towards 1.0.3

16 years agoOne OpenUrl per merged record.
Jakub Skoczen [Mon, 17 Sep 2007 08:43:17 +0000 (08:43 +0000)]
One OpenUrl per merged record.

16 years agoFile test_icu.cfg part of distribution.
Adam Dickmeiss [Sat, 15 Sep 2007 09:09:53 +0000 (09:09 +0000)]
File test_icu.cfg part of distribution.

16 years agoSolving bug 1581.
Jakub Skoczen [Fri, 14 Sep 2007 09:46:49 +0000 (09:46 +0000)]
Solving bug 1581.

16 years agopzHttpRequest: escape() used instead of encodeURI() for GET parameter values.
Jakub Skoczen [Wed, 12 Sep 2007 08:57:14 +0000 (08:57 +0000)]
pzHttpRequest: escape() used instead of encodeURI() for GET parameter values.

16 years agoFixed non-ICU compilation
Adam Dickmeiss [Wed, 12 Sep 2007 07:03:03 +0000 (07:03 +0000)]
Fixed non-ICU compilation

16 years agoGetting rid of Bug 1364.
Jakub Skoczen [Tue, 11 Sep 2007 15:52:13 +0000 (15:52 +0000)]
Getting rid of Bug 1364.

16 years agoFixed dist rule for test_icu..res files
Adam Dickmeiss [Mon, 10 Sep 2007 16:34:45 +0000 (16:34 +0000)]
Fixed dist rule for test_icu..res files

16 years agoURLs for ICU testing.
Adam Dickmeiss [Mon, 10 Sep 2007 16:33:53 +0000 (16:33 +0000)]
URLs for ICU testing.

16 years agoImplemented sorting using ICU. Bug #1190. The Debian package now
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.

16 years agoDo not depend on HAVE_ICU - because 1) we never want public headers to
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.

16 years agoFixed bug #1535: Missing term in output for some configuration(s).
Adam Dickmeiss [Mon, 10 Sep 2007 16:04:20 +0000 (16:04 +0000)]
Fixed bug #1535: Missing term in output for some configuration(s).

16 years agoSolved: IE throwing exception if text contents of the node was an empty string.
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.

16 years agonxml indent (no semantic change)
Adam Dickmeiss [Mon, 10 Sep 2007 09:10:16 +0000 (09:10 +0000)]
nxml indent (no semantic change)

16 years agoAdded option -V which shows version information.
Adam Dickmeiss [Mon, 10 Sep 2007 08:42:48 +0000 (08:42 +0000)]
Added option -V which shows version information.

16 years agoFactor out most of the regression test to separate script
Adam Dickmeiss [Mon, 10 Sep 2007 08:18:19 +0000 (08:18 +0000)]
Factor out most of the regression test to separate script

16 years agoAdded small test for existing metadata character normalization system.
Adam Dickmeiss [Fri, 7 Sep 2007 10:46:33 +0000 (10:46 +0000)]
Added small test for existing metadata character normalization system.

16 years agoIndent
Adam Dickmeiss [Fri, 7 Sep 2007 10:27:14 +0000 (10:27 +0000)]
Indent

16 years agoRemoved debug message
Adam Dickmeiss [Wed, 5 Sep 2007 09:13:32 +0000 (09:13 +0000)]
Removed debug message

16 years agoDebian package 1.0.2-8
Adam Dickmeiss [Wed, 5 Sep 2007 08:43:53 +0000 (08:43 +0000)]
Debian package 1.0.2-8

16 years agoFixed bug #1507: Command record=..&id=.. should block if it does not exist.
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.

16 years agoFixed bug #1395: Fixed size array in function hitsbytarget in logic.c.
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.

16 years agoDebian 1.0.2-7: Fix pazpar2path setting so that empty string is allowed.
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.

16 years agoAllow empty string for pazpar2path
Adam Dickmeiss [Mon, 3 Sep 2007 20:13:22 +0000 (20:13 +0000)]
Allow empty string for pazpar2path

16 years agoNew Debian package with updated pz2.js
Adam Dickmeiss [Mon, 3 Sep 2007 09:56:34 +0000 (09:56 +0000)]
New Debian package with updated pz2.js

16 years agoremoving typo.
Jakub Skoczen [Thu, 30 Aug 2007 13:43:43 +0000 (13:43 +0000)]
removing typo.

16 years agoChanges to fully support accessing pazpar2 through a proxy.
Jakub Skoczen [Thu, 30 Aug 2007 13:24:37 +0000 (13:24 +0000)]
Changes to fully support accessing pazpar2 through a proxy.

16 years agobetter error recording and output of example XML config file added
Marc Cromme [Thu, 30 Aug 2007 08:45:08 +0000 (08:45 +0000)]
better error recording and output of example XML config file added

16 years agoEliminated exits. Pointer type change, to remove warning
Sebastian Hammer [Tue, 28 Aug 2007 21:11:21 +0000 (21:11 +0000)]
Eliminated exits. Pointer type change, to remove warning

16 years agoThis should address Bug 1433, OpenURL links appearing where they should not.
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.

16 years agoCreate a symlink rather than a file in /etc/apache2/conf.d
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

16 years agoOfficial version 1.0.2. PAZPAR2.1.0.2
Adam Dickmeiss [Wed, 22 Aug 2007 09:54:57 +0000 (09:54 +0000)]
Official version 1.0.2.

16 years agoChanged session_setting_oneval to return 'const string' rather than
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.

16 years agoFixed bug #1355: CCL-queries messed up by binary chars.
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.

16 years agoAdded test for bug #1355.
Adam Dickmeiss [Fri, 17 Aug 2007 12:11:50 +0000 (12:11 +0000)]
Added test for bug #1355.

16 years agoAdded open-url-resolver setting to the default set of targets.
Jakub Skoczen [Fri, 17 Aug 2007 11:29:36 +0000 (11:29 +0000)]
Added open-url-resolver setting to the default set of targets.

16 years agoAdded open-url element to the service.
Jakub Skoczen [Thu, 16 Aug 2007 12:42:44 +0000 (12:42 +0000)]
Added open-url element to the service.

16 years agoAdding open-url lik generation to the normalization stylesheets.
Jakub Skoczen [Thu, 16 Aug 2007 12:40:01 +0000 (12:40 +0000)]
Adding open-url lik generation to the normalization stylesheets.

16 years agoFixed bug #1358: md-title-remainder may or may not be present in test.
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.

16 years agoadded docbook-xsl to build dependencies
Marc Cromme [Thu, 16 Aug 2007 07:56:18 +0000 (07:56 +0000)]
added docbook-xsl to build dependencies

16 years agoCreated new field, 'subject-long' containing detailed subject headings.. it appears
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.

16 years agoTuning subject display
Sebastian Hammer [Thu, 16 Aug 2007 02:56:33 +0000 (02:56 +0000)]
Tuning subject display

16 years agoAdded subject subfields -- to differentiate different subcategories.
Sebastian Hammer [Thu, 16 Aug 2007 02:44:19 +0000 (02:44 +0000)]
Added subject subfields -- to differentiate different subcategories.

16 years agoChanges in the pz2.js to make back button work.
Jakub Skoczen [Tue, 14 Aug 2007 14:23:32 +0000 (14:23 +0000)]
Changes in the pz2.js to make back button work.

16 years agoTesting some settings as well
Adam Dickmeiss [Tue, 14 Aug 2007 14:06:21 +0000 (14:06 +0000)]
Testing some settings as well

16 years agoFixed bug #1021: Handling of individual proxies for targets.
Adam Dickmeiss [Tue, 14 Aug 2007 14:03:02 +0000 (14:03 +0000)]
Fixed bug #1021: Handling of individual proxies for targets.

16 years agoBlock on first show following invalid search
Adam Dickmeiss [Tue, 14 Aug 2007 13:14:48 +0000 (13:14 +0000)]
Block on first show following invalid search

16 years agoImplemented what could be a fix for bug #1356: Pazpar2 crashes for some
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.

16 years agoIgnore valgrind output.
Adam Dickmeiss [Mon, 13 Aug 2007 12:51:11 +0000 (12:51 +0000)]
Ignore valgrind output.

16 years agoAllow the use of valgrind
Adam Dickmeiss [Mon, 13 Aug 2007 12:51:00 +0000 (12:51 +0000)]
Allow the use of valgrind

16 years agoFixed bug #1359: Pazpar2 reading uninitialized memory when sorting.
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.

16 years agoDebian package bug #1348 fixed.
Adam Dickmeiss [Mon, 13 Aug 2007 12:13:31 +0000 (12:13 +0000)]
Debian package bug #1348 fixed.

16 years agoFixed bug #1348: Conversion into OPAC. The MARC conversion module
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.

16 years agoid logo part of pazpar2-jsdemo package
Adam Dickmeiss [Mon, 13 Aug 2007 08:38:07 +0000 (08:38 +0000)]
id logo part of pazpar2-jsdemo package

16 years agoAdded URL-recipe to dist file. Not sure if this is the right thing
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.

16 years agoInclude test marc21.xsl in distribution (tar.gz).
Adam Dickmeiss [Sun, 12 Aug 2007 10:36:33 +0000 (10:36 +0000)]
Include test marc21.xsl in distribution (tar.gz).

16 years agoUpdated doc to reflect changes in settings system
Sebastian Hammer [Wed, 1 Aug 2007 11:48:26 +0000 (11:48 +0000)]
Updated doc to reflect changes in settings system

16 years agoIncluded description of settings exposed to records.
Sebastian Hammer [Tue, 31 Jul 2007 22:35:40 +0000 (22:35 +0000)]
Included description of settings exposed to records.

16 years agoEnabled passing settings values to normalization stylesheet.
Sebastian Hammer [Mon, 30 Jul 2007 23:16:33 +0000 (23:16 +0000)]
Enabled passing settings values to normalization stylesheet.

16 years agoMade local copy of marc21.xsl. This was done to support tests and behavior
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.

16 years agoAdded support for settings-derived data elements in post-normalization record
Sebastian Hammer [Mon, 30 Jul 2007 11:52:08 +0000 (11:52 +0000)]
Added support for settings-derived data elements in post-normalization record

16 years agoadded target debian;
Marc Cromme [Fri, 27 Jul 2007 09:07:49 +0000 (09:07 +0000)]
added target debian;

16 years agoAdded IE/FF compatibility functions.
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

16 years agoFixed bug #1319: Pazpar2 goes to infinite loop.. Seems resolver related.
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.

16 years agoRemoved sleep/test code which was commited by mistake
Adam Dickmeiss [Wed, 25 Jul 2007 13:20:46 +0000 (13:20 +0000)]
Removed sleep/test code which was commited by mistake

16 years agoZ39.50 session/connect timeout in parameters
Adam Dickmeiss [Wed, 25 Jul 2007 11:41:32 +0000 (11:41 +0000)]
Z39.50 session/connect timeout in parameters

16 years agoRemoved unused code
Adam Dickmeiss [Wed, 25 Jul 2007 11:00:26 +0000 (11:00 +0000)]
Removed unused code

16 years agoAdded clickable facets to the jsdemo.
Jakub Skoczen [Tue, 24 Jul 2007 08:15:12 +0000 (08:15 +0000)]
Added clickable facets to the jsdemo.

16 years agoNew internal Deb package: osrting by year
Adam Dickmeiss [Mon, 23 Jul 2007 12:28:46 +0000 (12:28 +0000)]
New internal Deb package: osrting by year

16 years agoAdded note about sorting by year.
Adam Dickmeiss [Mon, 23 Jul 2007 12:27:44 +0000 (12:27 +0000)]
Added note about sorting by year.

16 years agoImplemented numeric sorting (sort by year). Bug #820.
Adam Dickmeiss [Mon, 23 Jul 2007 12:23:30 +0000 (12:23 +0000)]
Implemented numeric sorting (sort by year). Bug #820.

16 years agoAdded test for sorting of title.
Adam Dickmeiss [Mon, 23 Jul 2007 11:54:00 +0000 (11:54 +0000)]
Added test for sorting of title.

16 years agoRemoved masterkey.cfg
Adam Dickmeiss [Thu, 19 Jul 2007 17:48:18 +0000 (17:48 +0000)]
Removed masterkey.cfg

16 years agoMaking demo look nicer.
Jakub Skoczen [Wed, 18 Jul 2007 16:44:15 +0000 (16:44 +0000)]
Making demo look nicer.

16 years agoAdded OAI/DC conversion.
Adam Dickmeiss [Wed, 18 Jul 2007 14:19:03 +0000 (14:19 +0000)]
Added OAI/DC conversion.

16 years agoAdded this stylesheet. Just includes marc21.xsl.
Adam Dickmeiss [Wed, 18 Jul 2007 14:11:42 +0000 (14:11 +0000)]
Added this stylesheet. Just includes marc21.xsl.

16 years agoDefault pazpar2 invocation url path is /pazpar2/search.pz2..
Adam Dickmeiss [Wed, 18 Jul 2007 13:40:56 +0000 (13:40 +0000)]
Default pazpar2 invocation url path is /pazpar2/search.pz2..

16 years agoTest use of pz:xslt=auto
Adam Dickmeiss [Wed, 18 Jul 2007 13:39:11 +0000 (13:39 +0000)]
Test use of pz:xslt=auto

16 years agoA value of pz:xslt = auto makes pazpar2 load stylesheet with name:
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'.

16 years agoThe record ID (recid) that Pazpar2 generates is now the merge key and not
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.

16 years agoMerge the electronic url
Adam Dickmeiss [Mon, 16 Jul 2007 16:43:45 +0000 (16:43 +0000)]
Merge the electronic url

16 years agoAdded metadata: medium, electronic-{url,text,note}
Adam Dickmeiss [Mon, 16 Jul 2007 15:21:29 +0000 (15:21 +0000)]
Added metadata: medium, electronic-{url,text,note}

16 years agoSimplify make dist hook. Omit etc/masterkey content from distribution.
Adam Dickmeiss [Mon, 16 Jul 2007 12:31:09 +0000 (12:31 +0000)]
Simplify make dist hook. Omit etc/masterkey content from distribution.

16 years agoAdded a lot more metadata for MARC21. This changes the ranking result
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.

16 years agoRephrase
Adam Dickmeiss [Mon, 16 Jul 2007 09:10:05 +0000 (09:10 +0000)]
Rephrase

16 years agoOne more record dump to be tweaked to use log file
Adam Dickmeiss [Mon, 16 Jul 2007 09:09:56 +0000 (09:09 +0000)]
One more record dump to be tweaked to use log file

16 years agoOption -d dumps records to the current log file instead of stderr.
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.

16 years agoDescribe option -h
Adam Dickmeiss [Mon, 16 Jul 2007 08:58:12 +0000 (08:58 +0000)]
Describe option -h

16 years agoA little more details on how record&offset=.. fails
Adam Dickmeiss [Fri, 13 Jul 2007 13:16:57 +0000 (13:16 +0000)]
A little more details on how record&offset=.. fails

16 years agoIf member 'handle' is specified as a param, then handle will be passed to
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.

16 years agoPazpar2 uses the MARC/iconv handle when genearted OPACXML. This is to
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.

16 years agorecord handler can be called with optional 3rd argument which is expected to
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.

16 years agoRemoved 'Destroying orphan connection' warning.
Adam Dickmeiss [Thu, 12 Jul 2007 08:01:06 +0000 (08:01 +0000)]
Removed 'Destroying orphan connection' warning.

16 years agoFixed bug #1283: Keep un-merged metadata elements.
Adam Dickmeiss [Wed, 11 Jul 2007 19:41:40 +0000 (19:41 +0000)]
Fixed bug #1283: Keep un-merged metadata elements.

16 years agoAdded (thanks to Giannis)
Anders S. Mortensen [Wed, 11 Jul 2007 10:32:27 +0000 (10:32 +0000)]
Added (thanks to Giannis)

16 years agopazpar2.cfg.dist listens on port 9004. The Debian config pazpar2.cfg
Adam Dickmeiss [Tue, 10 Jul 2007 15:00:13 +0000 (15:00 +0000)]
pazpar2.cfg.dist listens on port 9004. The Debian config pazpar2.cfg
listens on port 8004.

16 years agoUse pz:elements. Change reference to marc21.xsl.
Adam Dickmeiss [Tue, 10 Jul 2007 13:43:07 +0000 (13:43 +0000)]
Use pz:elements. Change reference to marc21.xsl.

16 years agoFix location of pazpar2.cfg (bug introduced in previous commit)
Adam Dickmeiss [Tue, 10 Jul 2007 12:05:14 +0000 (12:05 +0000)]
Fix location of pazpar2.cfg (bug introduced in previous commit)