pazpar2-moved-to-github.git
11 years agoVersion 1.6.29 v1.6.29
Adam Dickmeiss [Fri, 5 Apr 2013 12:56:31 +0000 (14:56 +0200)]
Version 1.6.29

11 years agoFix ref to sortmap
Adam Dickmeiss [Fri, 5 Apr 2013 12:56:19 +0000 (14:56 +0200)]
Fix ref to sortmap

11 years agoUse getaddrinfo for HTTP listener
Adam Dickmeiss [Fri, 5 Apr 2013 11:52:35 +0000 (13:52 +0200)]
Use getaddrinfo for HTTP listener

Allows Pazpar2 to listen on IPV6 addresses if host+port is given for
listen element. By default (no host), it still listens on IPV4 only.

11 years agoRequire yaz-ztest 4.2.52 for testing
Adam Dickmeiss [Wed, 3 Apr 2013 11:16:06 +0000 (13:16 +0200)]
Require yaz-ztest 4.2.52 for testing

11 years agoDoc: more on pz:extendrecs and spell fix
Adam Dickmeiss [Wed, 3 Apr 2013 11:00:42 +0000 (13:00 +0200)]
Doc: more on pz:extendrecs and spell fix

11 years agoChange semantics of pz:extendrecs
Adam Dickmeiss [Wed, 3 Apr 2013 10:55:18 +0000 (12:55 +0200)]
Change semantics of pz:extendrecs

and allow for repeated fetches . pz:extendrecs is now the number
of extra records to fetch (was total count before).

11 years agoUpdate for new yaz-ztest pseudo hit count behavior
Adam Dickmeiss [Wed, 3 Apr 2013 10:51:48 +0000 (12:51 +0200)]
Update for new yaz-ztest pseudo hit count behavior

11 years agoAdd ws2tcpip.h for getaddrinfo on Windows
Adam Dickmeiss [Tue, 2 Apr 2013 14:03:23 +0000 (16:03 +0200)]
Add ws2tcpip.h for getaddrinfo on Windows

11 years agoAllow IPV6 addresses PAZ-841
Adam Dickmeiss [Tue, 2 Apr 2013 13:41:54 +0000 (15:41 +0200)]
Allow IPV6 addresses PAZ-841

for clients (databases).

11 years agoIgnore local0.ent
Adam Dickmeiss [Wed, 27 Mar 2013 12:43:51 +0000 (13:43 +0100)]
Ignore local0.ent

11 years agoDocumentation rebuilt if local.ent changes
Adam Dickmeiss [Wed, 27 Mar 2013 12:33:19 +0000 (13:33 +0100)]
Documentation rebuilt if local.ent changes

11 years agoCheck for Libxslt support PAZ-862
Adam Dickmeiss [Mon, 25 Mar 2013 08:28:17 +0000 (09:28 +0100)]
Check for Libxslt support PAZ-862

11 years agoXSD for the pz2 format
Dennis Schafroth [Fri, 22 Mar 2013 10:08:36 +0000 (11:08 +0100)]
XSD for the pz2 format

11 years agoVersion 1.6.28 v1.6.28
Adam Dickmeiss [Thu, 21 Mar 2013 09:58:38 +0000 (10:58 +0100)]
Version 1.6.28

11 years agoEnsure show_range_start returns non-null
Adam Dickmeiss [Wed, 20 Mar 2013 14:43:26 +0000 (15:43 +0100)]
Ensure show_range_start returns non-null

if session is still locked. So that show_records properly unlocks
again.

11 years agoReformat
Adam Dickmeiss [Tue, 19 Mar 2013 12:16:12 +0000 (13:16 +0100)]
Reformat

11 years agoFix use of sizeof in nmem_malloc call
Adam Dickmeiss [Tue, 19 Mar 2013 12:12:32 +0000 (13:12 +0100)]
Fix use of sizeof in nmem_malloc call

Now sizeof(char*) , rather than sizeof(char).

11 years agoReformat
Adam Dickmeiss [Tue, 19 Mar 2013 12:07:46 +0000 (13:07 +0100)]
Reformat

11 years agoRemove unused client code
Adam Dickmeiss [Tue, 19 Mar 2013 11:46:35 +0000 (12:46 +0100)]
Remove unused client code

11 years agoRPM: simplify make install rule
Adam Dickmeiss [Tue, 19 Mar 2013 11:21:04 +0000 (12:21 +0100)]
RPM: simplify make install rule

11 years agoFix check for pz:extendrecs
Adam Dickmeiss [Thu, 14 Mar 2013 14:40:48 +0000 (15:40 +0100)]
Fix check for pz:extendrecs

11 years agoFewer messages when pz:extendfetch is not in effect
Adam Dickmeiss [Thu, 14 Mar 2013 14:24:12 +0000 (15:24 +0100)]
Fewer messages when pz:extendfetch is not in effect

11 years agoPass integer for yaz_log %u
Adam Dickmeiss [Wed, 13 Mar 2013 13:00:42 +0000 (14:00 +0100)]
Pass integer for yaz_log %u

Not a string

11 years agoAllow session_log with session=NULL ptr
Adam Dickmeiss [Wed, 13 Mar 2013 12:58:37 +0000 (13:58 +0100)]
Allow session_log with session=NULL ptr

11 years agoAvoid null ptr reference of se->reclist PAZ-856
Adam Dickmeiss [Tue, 12 Mar 2013 13:45:25 +0000 (14:45 +0100)]
Avoid null ptr reference of se->reclist PAZ-856

Could happen if show occurs before a search in a session.

11 years agoDocument pz:extendrecs
Adam Dickmeiss [Fri, 8 Mar 2013 13:08:29 +0000 (14:08 +0100)]
Document pz:extendrecs

11 years agoVersion 1.6.27 v1.6.27
Adam Dickmeiss [Fri, 8 Mar 2013 12:32:50 +0000 (13:32 +0100)]
Version 1.6.27

11 years agoFix text/cdata nodes collection
Jakub Skoczen [Fri, 8 Mar 2013 12:17:58 +0000 (13:17 +0100)]
Fix text/cdata nodes collection

11 years agoVersion 1.6.26 v1.6.26
Adam Dickmeiss [Fri, 8 Mar 2013 11:24:40 +0000 (12:24 +0100)]
Version 1.6.26

11 years agoDelete traling whitespace from NEWS
Adam Dickmeiss [Fri, 8 Mar 2013 11:23:17 +0000 (12:23 +0100)]
Delete traling whitespace from NEWS

11 years agoUpdate NEWS
Adam Dickmeiss [Fri, 8 Mar 2013 11:22:45 +0000 (12:22 +0100)]
Update NEWS

11 years agoUse session_log when possible
Adam Dickmeiss [Thu, 7 Mar 2013 09:55:47 +0000 (10:55 +0100)]
Use session_log when possible

11 years agoFix missing limitmap warning PAZ-859
Adam Dickmeiss [Fri, 1 Mar 2013 10:35:03 +0000 (11:35 +0100)]
Fix missing limitmap warning PAZ-859

11 years agoMake use of the pz:metadata empty in tests
Adam Dickmeiss [Thu, 28 Feb 2013 12:52:56 +0000 (13:52 +0100)]
Make use of the pz:metadata empty in tests

11 years agotest tmarc.xsl same as the official one in etc
Adam Dickmeiss [Thu, 28 Feb 2013 12:52:40 +0000 (13:52 +0100)]
test tmarc.xsl same as the official one in etc

11 years agoSimplify XSLs by using new pz:metadata attribute 'empty'.
Adam Dickmeiss [Thu, 28 Feb 2013 12:51:53 +0000 (13:51 +0100)]
Simplify XSLs by using new pz:metadata attribute 'empty'.

11 years agoNew pz:metadata attribute, empty="empty-value" PAZ-858
Adam Dickmeiss [Thu, 28 Feb 2013 12:46:33 +0000 (13:46 +0100)]
New pz:metadata attribute, empty="empty-value" PAZ-858

With this attribute, Pazpar2 treates an empty pz:metadata type
as having the value for "empty"  - if empty!

11 years agoMerge branch 'master' into fetch_more
Adam Dickmeiss [Mon, 25 Feb 2013 10:19:09 +0000 (11:19 +0100)]
Merge branch 'master' into fetch_more

11 years agoChange log msg for Pazpart start/stop
Adam Dickmeiss [Wed, 20 Feb 2013 12:40:55 +0000 (13:40 +0100)]
Change log msg for Pazpart start/stop

Now using same style as Metaproxy, ie
 Pazpar2 start SHA1 / Pazpar2 stop .

11 years agoMerge branch 'master' into fetch_more
Adam Dickmeiss [Thu, 7 Feb 2013 12:30:20 +0000 (13:30 +0100)]
Merge branch 'master' into fetch_more

11 years agoVersion 1.6.25 v1.6.25
Adam Dickmeiss [Thu, 7 Feb 2013 11:58:47 +0000 (12:58 +0100)]
Version 1.6.25

11 years agoAdd test of commmnd=record with esn specified
Adam Dickmeiss [Thu, 7 Feb 2013 11:45:46 +0000 (12:45 +0100)]
Add test of commmnd=record with esn specified

11 years agoFix hang of record with esn/syntax (2nd)
Adam Dickmeiss [Thu, 7 Feb 2013 11:42:01 +0000 (12:42 +0100)]
Fix hang of record with esn/syntax (2nd)

Command record with esn and/or syntax makes a definite retrieval.
If that hits a cached record it would not see record events from
ZOOM and handle those. This commit ensures that connection_continue
calls event handling function non_block_events if necessary.
Since the session is already locked in some cases, we must ensure
that non_block_events do not (again) block on session.

11 years agoMissing metadata elements added
Adam Dickmeiss [Tue, 5 Feb 2013 12:55:15 +0000 (13:55 +0100)]
Missing metadata elements added

11 years agoRevise extended fetch algorithm
Adam Dickmeiss [Mon, 4 Feb 2013 13:21:13 +0000 (14:21 +0100)]
Revise extended fetch algorithm

If the show records returned were the last in the sorted "window" of
records per-client , an extended fetch will be attempted. Only if there
are more records to be fetched (hit count depending) and pz:extendrecs
is defined, another fetch will be initiated.

11 years agoRefactor: show_range_start deals with extended fetch
Adam Dickmeiss [Mon, 4 Feb 2013 11:56:19 +0000 (12:56 +0100)]
Refactor: show_range_start deals with extended fetch

11 years agoMerge branch 'master' into fetch_more
Adam Dickmeiss [Mon, 4 Feb 2013 10:24:46 +0000 (11:24 +0100)]
Merge branch 'master' into fetch_more

11 years agoMake a message to DEBUG
Adam Dickmeiss [Fri, 1 Feb 2013 13:52:13 +0000 (14:52 +0100)]
Make a message to DEBUG

11 years agoAdd missing metadata for service generated by tmarc.xsl
Adam Dickmeiss [Fri, 1 Feb 2013 13:49:53 +0000 (14:49 +0100)]
Add missing metadata for service generated by tmarc.xsl

These elements are generated by the XSL, but were not mentioned in
our default service: title-complete, title-uniform, has-fulltext,
oclc-number, system-control-nr.

11 years agoComplete record match does not serve as error
Adam Dickmeiss [Thu, 31 Jan 2013 15:59:24 +0000 (16:59 +0100)]
Complete record match does not serve as error

11 years agoDon't use local variable same_sort_order
Adam Dickmeiss [Thu, 31 Jan 2013 14:46:03 +0000 (15:46 +0100)]
Don't use local variable same_sort_order

It's replaced by client->same_search member.

11 years agoAdd test using pz:extendrecs
Adam Dickmeiss [Wed, 23 Jan 2013 11:23:47 +0000 (12:23 +0100)]
Add test using pz:extendrecs

11 years agopz:extendrecs number of records in extended mode
Adam Dickmeiss [Wed, 23 Jan 2013 11:19:59 +0000 (12:19 +0100)]
pz:extendrecs number of records in extended mode

If pz:extendrecs is defined it is the maximum number of records
for a target for a show that would otherwise be partial.

11 years agoWorking fetch more, but settings/tests needs updating
Adam Dickmeiss [Wed, 23 Jan 2013 07:56:26 +0000 (08:56 +0100)]
Working fetch more, but settings/tests needs updating

11 years agoWork on fetch more
Adam Dickmeiss [Tue, 22 Jan 2013 14:44:12 +0000 (15:44 +0100)]
Work on fetch more

11 years agoSimplify show_range_start a bit
Adam Dickmeiss [Tue, 22 Jan 2013 12:21:53 +0000 (13:21 +0100)]
Simplify show_range_start a bit

11 years agoVersion 1.6.24 v1.6.24
Adam Dickmeiss [Fri, 18 Jan 2013 13:29:22 +0000 (14:29 +0100)]
Version 1.6.24

11 years agoUpdate NEWS
Adam Dickmeiss [Fri, 18 Jan 2013 13:28:22 +0000 (14:28 +0100)]
Update NEWS

11 years agoNew merge attribute type: 'first'
Adam Dickmeiss [Fri, 18 Jan 2013 12:39:40 +0000 (13:39 +0100)]
New merge attribute type: 'first'

which takes all metadata fields from first target that
returns the particular field.

11 years agoSkip ICU based tests when ICU is disabled
Adam Dickmeiss [Tue, 8 Jan 2013 15:16:37 +0000 (16:16 +0100)]
Skip ICU based tests when ICU is disabled

And clean up the testing scripts as well.

11 years agoMerge branch 'master' of ssh://git.indexdata.com/home/git/pub/pazpar2
Adam Dickmeiss [Sun, 6 Jan 2013 15:26:59 +0000 (16:26 +0100)]
Merge branch 'master' of ssh://git.indexdata.com/home/git/pub/pazpar2

11 years agoVersion 1.6.23 v1.6.23
Adam Dickmeiss [Wed, 2 Jan 2013 11:52:37 +0000 (12:52 +0100)]
Version 1.6.23

11 years agoAdd quantal
Adam Dickmeiss [Wed, 2 Jan 2013 11:52:23 +0000 (12:52 +0100)]
Add quantal

11 years agoAdd centos6
Adam Dickmeiss [Wed, 2 Jan 2013 11:51:42 +0000 (12:51 +0100)]
Add centos6

11 years agoUpdate NEWS
Adam Dickmeiss [Wed, 2 Jan 2013 11:31:57 +0000 (12:31 +0100)]
Update NEWS

11 years agoBump copyright year
Adam Dickmeiss [Wed, 2 Jan 2013 11:22:27 +0000 (12:22 +0100)]
Bump copyright year

11 years agopp2client calls stat and info
Adam Dickmeiss [Wed, 2 Jan 2013 11:12:07 +0000 (12:12 +0100)]
pp2client calls stat and info

11 years agoExtend info command with hostname and YAZ SHA1
Adam Dickmeiss [Wed, 2 Jan 2013 11:07:50 +0000 (12:07 +0100)]
Extend info command with hostname and YAZ SHA1

Indent results for both command stat and info.

11 years agoRemove log msg
Adam Dickmeiss [Fri, 28 Dec 2012 14:29:28 +0000 (15:29 +0100)]
Remove log msg

11 years agoAvoid buffer overrun by "long" URLs.
Adam Dickmeiss [Fri, 28 Dec 2012 14:15:52 +0000 (15:15 +0100)]
Avoid buffer overrun by "long" URLs.

11 years agoOnly add http:// for SRU if not already there
Adam Dickmeiss [Fri, 28 Dec 2012 14:11:42 +0000 (15:11 +0100)]
Only add http:// for SRU if not already there

This is to allow https or other method to be given. Similar to
MP-425.

11 years ago1.6.22-4indexdata
Adam Dickmeiss [Mon, 24 Dec 2012 10:37:28 +0000 (11:37 +0100)]
1.6.22-4indexdata

11 years agoFix problem with blocked show
Adam Dickmeiss [Mon, 24 Dec 2012 10:32:33 +0000 (11:32 +0100)]
Fix problem with blocked show

Make sure that reclist_get_num_records returns >0 result if record
list is non empty. This is to ensure that client_got_records fires
session watches (SESSIN_WATCH_SHOW, ..).

11 years ago1.6.22-3indexdata
Adam Dickmeiss [Fri, 14 Dec 2012 16:24:31 +0000 (17:24 +0100)]
1.6.22-3indexdata

11 years agoAllow merge on merged content
Adam Dickmeiss [Fri, 14 Dec 2012 16:05:23 +0000 (17:05 +0100)]
Allow merge on merged content

The new configuration metadata element, limitcluster, configures
that a metadata element (name) be used as limit name for search.
Applies to the whole service (ie all targets), unlike pz:limitmap
which is configured per-target (database).

11 years agoHarden exit command
Adam Dickmeiss [Tue, 11 Dec 2012 13:13:23 +0000 (14:13 +0100)]
Harden exit command

May only be executed in debug mode (-X option).

11 years ago1.6.22-2indexdata
Adam Dickmeiss [Tue, 11 Dec 2012 11:57:30 +0000 (12:57 +0100)]
1.6.22-2indexdata

11 years agoCall bytarget in test script
Adam Dickmeiss [Tue, 11 Dec 2012 11:53:19 +0000 (12:53 +0100)]
Call bytarget in test script

11 years agoProduce diagnostic when database times out
Adam Dickmeiss [Tue, 11 Dec 2012 11:51:11 +0000 (12:51 +0100)]
Produce diagnostic when database times out

Some targets may be quite slow during search or record retrieval.
This commit ensure that "timeout" ZOOM diagnostic 10007 is produced
for those.

11 years agoRemove 2nd pz:apdulog from testserver
Adam Dickmeiss [Tue, 11 Dec 2012 10:05:01 +0000 (11:05 +0100)]
Remove 2nd pz:apdulog from testserver

11 years agolimitmap local:* matches against all metadata fields
Adam Dickmeiss [Fri, 7 Dec 2012 12:55:39 +0000 (13:55 +0100)]
limitmap local:* matches against all metadata fields

11 years agoSplit check_limit_local to two functions
Adam Dickmeiss [Fri, 7 Dec 2012 12:34:33 +0000 (13:34 +0100)]
Split check_limit_local to two functions

11 years agoAllow repeated list in limitmap spec
Adam Dickmeiss [Thu, 6 Dec 2012 16:06:50 +0000 (17:06 +0100)]
Allow repeated list in limitmap spec

Separated by comma. For example: value="local:title,rpn:@attr 1=4".

11 years agoNew element <message> in bytarget response
Adam Dickmeiss [Wed, 5 Dec 2012 11:59:05 +0000 (12:59 +0100)]
New element <message> in bytarget response

Holds diagnostic message of code (say 'Unsupported Use Attribute' for
Bib-1 114).

11 years agoWait longer for slow Solr
Adam Dickmeiss [Fri, 30 Nov 2012 13:55:38 +0000 (14:55 +0100)]
Wait longer for slow Solr

11 years agoImproved logging for record ingestion failures
Adam Dickmeiss [Fri, 30 Nov 2012 13:35:00 +0000 (14:35 +0100)]
Improved logging for record ingestion failures

11 years agoMerge branch 'master' of ssh://git.indexdata.com/home/git/pub/pazpar2
Adam Dickmeiss [Thu, 15 Nov 2012 12:50:14 +0000 (13:50 +0100)]
Merge branch 'master' of ssh://git.indexdata.com/home/git/pub/pazpar2

11 years agoAvoid using 'icu_chain' in non-YAZ_HAVE_ICU mode
Adam Dickmeiss [Thu, 15 Nov 2012 12:47:18 +0000 (13:47 +0100)]
Avoid using 'icu_chain' in non-YAZ_HAVE_ICU mode

Not that it happens often.

11 years agoLower loglevel
Dennis Schafroth [Fri, 2 Nov 2012 18:59:28 +0000 (19:59 +0100)]
Lower loglevel

11 years agoEnable the yaz-ztest in the test
Dennis Schafroth [Mon, 5 Nov 2012 14:28:53 +0000 (15:28 +0100)]
Enable the yaz-ztest in the test

11 years agoEnable the yaz-ztest in the test
Dennis Schafroth [Mon, 5 Nov 2012 14:28:49 +0000 (15:28 +0100)]
Enable the yaz-ztest in the test

11 years agoMerge branch 'master' of ssh://git.indexdata.com/home/git/pub/pazpar2
Dennis Schafroth [Mon, 29 Oct 2012 11:26:04 +0000 (12:26 +0100)]
Merge branch 'master' of ssh://git.indexdata.com/home/git/pub/pazpar2

11 years agotest_filter: use fast ztest, adjust 1st query
Adam Dickmeiss [Fri, 26 Oct 2012 19:04:55 +0000 (21:04 +0200)]
test_filter: use fast ztest, adjust 1st query

11 years agoDefine log2(x) on Windows
Adam Dickmeiss [Mon, 22 Oct 2012 08:37:38 +0000 (10:37 +0200)]
Define log2(x) on Windows

This is because log2 is not defined by math.h on Windows.

11 years agoInclude windows.h on Windows
Adam Dickmeiss [Mon, 22 Oct 2012 08:36:38 +0000 (10:36 +0200)]
Include windows.h on Windows

This is to ensure that struct timeval is defined.

11 years agoUse dpkg-buildflags in build process
Adam Dickmeiss [Fri, 19 Oct 2012 13:14:24 +0000 (15:14 +0200)]
Use dpkg-buildflags in build process

This is to use hardening options for the libraries and programs.
Refer to http://wiki.debian.org/Hardening for more information.

11 years agoFix spelling
Adam Dickmeiss [Fri, 19 Oct 2012 13:09:50 +0000 (15:09 +0200)]
Fix spelling

11 years agoRemove boilerplate stuff from copyright
Adam Dickmeiss [Fri, 19 Oct 2012 13:09:03 +0000 (15:09 +0200)]
Remove boilerplate stuff from copyright

11 years agoMerge branch 'master' of ssh://git.indexdata.com/home/git/pub/pazpar2
Dennis Schafroth [Thu, 11 Oct 2012 09:13:57 +0000 (11:13 +0200)]
Merge branch 'master' of ssh://git.indexdata.com/home/git/pub/pazpar2

11 years agoLower logging to debug. Should be put into a config logging module
Dennis Schafroth [Thu, 11 Oct 2012 09:13:48 +0000 (11:13 +0200)]
Lower logging to debug. Should be put into a config logging module