pazpar2-moved-to-github.git
17 years agoFixed non-ICU compilation
Adam Dickmeiss [Wed, 12 Sep 2007 07:03:03 +0000 (07:03 +0000)]
Fixed non-ICU compilation

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

17 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

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

17 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.

17 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.

17 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).

17 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.

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

17 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.

17 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

17 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.

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

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

17 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

17 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.

17 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.

17 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.

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

17 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

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

17 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.

17 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

17 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

17 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.

17 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

17 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.

17 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.

17 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.

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

17 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.

17 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.

17 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.

17 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.

17 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

17 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.

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

17 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.

17 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.

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

17 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.

17 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

17 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.

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

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

17 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.

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

17 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.

17 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

17 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.

17 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).

17 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

17 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.

17 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.

17 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.

17 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

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

17 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

17 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.

17 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

17 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

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

17 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.

17 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

17 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.

17 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.

17 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.

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

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

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

17 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.

17 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..

17 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

17 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'.

17 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.

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

17 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}

17 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.

17 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.

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

17 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

17 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.

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

17 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

17 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.

17 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.

17 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.

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

17 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.

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

17 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.

17 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.

17 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)

17 years agoDebian installed pazpar2.cfg is based on etc/pazpar2.cfg.dist with
Adam Dickmeiss [Tue, 10 Jul 2007 10:40:49 +0000 (10:40 +0000)]
Debian installed pazpar2.cfg is based on etc/pazpar2.cfg.dist with
cfg.patch applied.

17 years agoSpecify pz:elements because it is implemented
Adam Dickmeiss [Tue, 10 Jul 2007 10:20:56 +0000 (10:20 +0000)]
Specify pz:elements because it is implemented

17 years agoRemoved syntax and esn from being hard-coded, because Pazpar2 now uses
Adam Dickmeiss [Tue, 10 Jul 2007 10:17:17 +0000 (10:17 +0000)]
Removed syntax and esn from being hard-coded, because Pazpar2 now uses
pz:requestsyntax and pz:elements by default.

17 years agoRemoved / in doc install rule to avoid double-slash (cygwin)
Adam Dickmeiss [Tue, 10 Jul 2007 09:44:00 +0000 (09:44 +0000)]
Removed / in doc install rule to avoid double-slash (cygwin)

17 years agoRemoved / in doc install rule to avoid double-slash (cygwin)
Adam Dickmeiss [Tue, 10 Jul 2007 09:40:06 +0000 (09:40 +0000)]
Removed / in doc install rule to avoid double-slash (cygwin)

17 years agoDo not generate pazpar2.pid by default, i.e. only generate PID file when
Adam Dickmeiss [Tue, 10 Jul 2007 09:19:32 +0000 (09:19 +0000)]
Do not generate pazpar2.pid by default, i.e. only generate PID file when
-p is given.

17 years agoUpstream
Adam Dickmeiss [Tue, 10 Jul 2007 09:19:01 +0000 (09:19 +0000)]
Upstream