pazpar2-moved-to-github.git
11 years agoRemove dead code WRT client total counting
Adam Dickmeiss [Mon, 27 May 2013 18:23:41 +0000 (20:23 +0200)]
Remove dead code WRT client total counting

11 years agoFix leak WRT client ref count
Adam Dickmeiss [Mon, 27 May 2013 18:23:16 +0000 (20:23 +0200)]
Fix leak WRT client ref count

11 years agoFix memory leak in service command
Adam Dickmeiss [Mon, 27 May 2013 18:22:12 +0000 (20:22 +0200)]
Fix memory leak in service command

11 years agoservice XML: avoid wrapping service element
Adam Dickmeiss [Mon, 27 May 2013 10:41:26 +0000 (12:41 +0200)]
service XML: avoid wrapping service element

and just return service XML as is (it already has a service element
as root).

11 years agoDocument service command
Adam Dickmeiss [Mon, 27 May 2013 10:32:31 +0000 (12:32 +0200)]
Document service command

11 years agoReturns service XML now
Adam Dickmeiss [Mon, 27 May 2013 08:05:23 +0000 (10:05 +0200)]
Returns service XML now

11 years agoFirst work on returning service XML
Adam Dickmeiss [Mon, 27 May 2013 07:37:57 +0000 (09:37 +0200)]
First work on returning service XML

11 years agoVersion 1.6.31 with more fixes v1.6.31
Adam Dickmeiss [Fri, 24 May 2013 08:04:54 +0000 (10:04 +0200)]
Version 1.6.31 with more fixes

11 years agoMerge branch 'master' of ssh://git.indexdata.com/home/git/pub/pazpar2
Adam Dickmeiss [Fri, 24 May 2013 08:03:20 +0000 (10:03 +0200)]
Merge branch 'master' of ssh://git.indexdata.com/home/git/pub/pazpar2

11 years agoVersion 1.6.31
Adam Dickmeiss [Fri, 24 May 2013 07:22:45 +0000 (09:22 +0200)]
Version 1.6.31

11 years agoNo longer in use
Adam Dickmeiss [Fri, 24 May 2013 07:20:40 +0000 (09:20 +0200)]
No longer in use

11 years agoUpdate NEWS
Adam Dickmeiss [Fri, 24 May 2013 06:49:04 +0000 (08:49 +0200)]
Update NEWS

11 years agoenglish typo
Wolfram Schneider [Thu, 23 May 2013 19:04:08 +0000 (19:04 +0000)]
english typo

11 years agoFix documentation of pz:sru setting: the value "soap", not "srw", is
Mike Taylor [Thu, 23 May 2013 15:49:46 +0000 (16:49 +0100)]
Fix documentation of pz:sru setting: the value "soap", not "srw", is
used to select the use of the SRW protocol, as determined from
get_sru_mode_from_string() in yaz/src/zoom-c.c

This resolves a long-standing conflict between the documentation for
pazpar2 and MKAdmin.

11 years agoDocument dynamic rank
Adam Dickmeiss [Thu, 23 May 2013 13:10:55 +0000 (15:10 +0200)]
Document dynamic rank

11 years agoTest for case insensitive local limit
Adam Dickmeiss [Thu, 23 May 2013 11:57:50 +0000 (13:57 +0200)]
Test for case insensitive local limit

11 years agolocal limit uses "mergekey" normalization PAZ-774
Adam Dickmeiss [Thu, 23 May 2013 11:54:43 +0000 (13:54 +0200)]
local limit uses "mergekey" normalization PAZ-774

This makes the local limits case insensitive by default. When
"mergekey" is not, the a_z (ASCII) normalization is used.

11 years agoRemove file not in use by tests
Adam Dickmeiss [Thu, 23 May 2013 11:50:36 +0000 (13:50 +0200)]
Remove file not in use by tests

11 years agoShow attributes in xml_context function
Adam Dickmeiss [Tue, 21 May 2013 14:13:41 +0000 (16:13 +0200)]
Show attributes in xml_context function

11 years agoTest using dynamic rank
Adam Dickmeiss [Tue, 21 May 2013 13:48:03 +0000 (15:48 +0200)]
Test using dynamic rank

11 years agoDynamic ranking PAZ-869
Adam Dickmeiss [Tue, 21 May 2013 13:47:27 +0000 (15:47 +0200)]
Dynamic ranking PAZ-869

11 years agoAdjustments to log msg of session_sort_unlocked
Adam Dickmeiss [Tue, 21 May 2013 12:24:25 +0000 (14:24 +0200)]
Adjustments to log msg of session_sort_unlocked

11 years agoMinor refactor of session_sort_unlocked
Adam Dickmeiss [Tue, 21 May 2013 12:20:50 +0000 (14:20 +0200)]
Minor refactor of session_sort_unlocked

11 years agoStable results (activeclients=0)
Adam Dickmeiss [Mon, 20 May 2013 18:58:16 +0000 (18:58 +0000)]
Stable results (activeclients=0)

11 years agoUse sockaddr_storage in accept call PAZ-872
Adam Dickmeiss [Sat, 18 May 2013 21:16:06 +0000 (23:16 +0200)]
Use sockaddr_storage in accept call PAZ-872

Due struct sockaddr is not big enough for IPV6 stuff.

11 years agoFix signed/unsigned checksum problem PAZ-871
Adam Dickmeiss [Fri, 17 May 2013 12:59:01 +0000 (14:59 +0200)]
Fix signed/unsigned checksum problem PAZ-871

11 years agomarcmap: fix for fopen fail
Adam Dickmeiss [Fri, 17 May 2013 12:44:38 +0000 (14:44 +0200)]
marcmap: fix for fopen fail

11 years agoMerge branch 'master' of ssh://git.indexdata.com/home/git/pub/pazpar2
Adam Dickmeiss [Fri, 17 May 2013 12:43:17 +0000 (14:43 +0200)]
Merge branch 'master' of ssh://git.indexdata.com/home/git/pub/pazpar2

11 years agomarcmap: fix type for ch in use of getc
Adam Dickmeiss [Fri, 17 May 2013 12:40:40 +0000 (14:40 +0200)]
marcmap: fix type for ch in use of getc

getc returns EOF (usually -1) on EOF, so we must be sure to
use a type that can hold it.

11 years agoXML context for errors, no set element for service
Adam Dickmeiss [Fri, 17 May 2013 12:12:26 +0000 (14:12 +0200)]
XML context for errors, no set element for service

It's not implemented.

11 years agotests: poll for stable results
Adam Dickmeiss [Fri, 17 May 2013 09:38:02 +0000 (11:38 +0200)]
tests: poll for stable results

For results we wait for, repeat command until it matches against
a stable result.

11 years agoWait for separate session bytarget response
Adam Dickmeiss [Fri, 17 May 2013 09:37:21 +0000 (11:37 +0200)]
Wait for separate session bytarget response

11 years agoHTTP server: host=@ listens on IPV6 and IPV4 if possible
Adam Dickmeiss [Thu, 16 May 2013 14:00:27 +0000 (16:00 +0200)]
HTTP server: host=@ listens on IPV6 and IPV4 if possible

Also, allow ports to be given as names (not just integers).
Fix @-notation on systems that don't support IPV6 sockets.

11 years agoFix regression for mergekey creation
Adam Dickmeiss [Wed, 8 May 2013 21:21:15 +0000 (23:21 +0200)]
Fix regression for mergekey creation

Due to xmlNodeListGetString returning null on some platforms
and empty "" on others (probably depends on Libxml2 version).

11 years agoClear relevancy info when result set is clear'd
Adam Dickmeiss [Mon, 6 May 2013 14:00:04 +0000 (16:00 +0200)]
Clear relevancy info when result set is clear'd

11 years agoAllow mergekey to be given for command=search
Adam Dickmeiss [Mon, 6 May 2013 13:35:57 +0000 (15:35 +0200)]
Allow mergekey to be given for command=search

11 years agoCommit proper test result for dynamic mergekey
Adam Dickmeiss [Mon, 6 May 2013 13:12:51 +0000 (15:12 +0200)]
Commit proper test result for dynamic mergekey

11 years agoDynamic mergekey PAZ-868
Adam Dickmeiss [Mon, 6 May 2013 12:56:19 +0000 (14:56 +0200)]
Dynamic mergekey PAZ-868

11 years agoVersion 1.6.30 v1.6.30
Adam Dickmeiss [Fri, 26 Apr 2013 09:27:32 +0000 (11:27 +0200)]
Version 1.6.30

11 years agoFix dist rule (www/phone gone)
Adam Dickmeiss [Fri, 26 Apr 2013 09:27:24 +0000 (11:27 +0200)]
Fix dist rule (www/phone gone)

11 years agoRPM: mkc settings
Adam Dickmeiss [Fri, 26 Apr 2013 09:26:06 +0000 (11:26 +0200)]
RPM: mkc settings

11 years agoUse controlled URLs for simpleserver and MKC
Adam Dickmeiss [Thu, 25 Apr 2013 12:06:37 +0000 (14:06 +0200)]
Use controlled URLs for simpleserver and MKC

11 years agoRemove section "Connecting to non-standard resources"
Adam Dickmeiss [Thu, 25 Apr 2013 11:53:12 +0000 (13:53 +0200)]
Remove section "Connecting to non-standard resources"

This section does not contain relevant information today.
We have section "Connectors to non-standard databases" still.

11 years agoUpdate doc about non-standard databases PAZ-864
Adam Dickmeiss [Thu, 25 Apr 2013 11:48:37 +0000 (13:48 +0200)]
Update doc about non-standard databases PAZ-864

The section "Connectors to non-standard databases" has more up-to-date
material. A new section "Pazpar2 and MasterKey Connect" contains
information about mkc configuration.

11 years agoAdd MKC configuration PAZ-864
Adam Dickmeiss [Thu, 25 Apr 2013 10:04:43 +0000 (12:04 +0200)]
Add MKC configuration PAZ-864

service mkc.xml is in services-available . It uses settings in
settings/mkc .

11 years agoUpdate test_sort results
Adam Dickmeiss [Thu, 25 Apr 2013 09:36:10 +0000 (11:36 +0200)]
Update test_sort results

Seems like optimizing Solr changed the score values returned.

11 years agoUse separate result var for getnameinfo PAZ-863
Adam Dickmeiss [Wed, 24 Apr 2013 20:01:03 +0000 (22:01 +0200)]
Use separate result var for getnameinfo PAZ-863

11 years agoRemove select since it can be both search and term command
Dennis Schafroth [Wed, 24 Apr 2013 18:59:18 +0000 (20:59 +0200)]
Remove select since it can be both search and term command

11 years agoFix to work even when host name is shorter than IP number and on OS X in general...
Dennis Schafroth [Wed, 24 Apr 2013 18:56:58 +0000 (20:56 +0200)]
Fix to work even when host name is shorter than IP number and on OS X in general, which nulls out host area

11 years agoAllow timeformat for log to be specified
Adam Dickmeiss [Wed, 24 Apr 2013 13:17:20 +0000 (15:17 +0200)]
Allow timeformat for log to be specified

with option -m (as Metaproxy and YAZ GFS). Suggested by Sven Porst.

11 years agoFix description of pazpar2-dbg
Adam Dickmeiss [Mon, 22 Apr 2013 14:37:05 +0000 (16:37 +0200)]
Fix description of pazpar2-dbg

11 years agoDebug package pazpar2-dbg. PAZ-867
Adam Dickmeiss [Mon, 22 Apr 2013 13:10:18 +0000 (15:10 +0200)]
Debug package pazpar2-dbg. PAZ-867

11 years agoFix NULL ptr reference of se->relevance
Adam Dickmeiss [Wed, 17 Apr 2013 11:28:51 +0000 (13:28 +0200)]
Fix NULL ptr reference of se->relevance

If a new search is initiated and a CCL query fails to parse,
then session->relevance becomes NULL.

11 years agoMerge branch 'master' of ssh://git.indexdata.com/home/git/pub/pazpar2
Adam Dickmeiss [Wed, 17 Apr 2013 08:57:01 +0000 (10:57 +0200)]
Merge branch 'master' of ssh://git.indexdata.com/home/git/pub/pazpar2

11 years agoDocument POSTing of settings/services PAZ-865
Adam Dickmeiss [Wed, 17 Apr 2013 08:56:08 +0000 (10:56 +0200)]
Document POSTing of settings/services PAZ-865

11 years agoRemove /select from solr targets
Dennis Schafroth [Fri, 12 Apr 2013 11:51:00 +0000 (13:51 +0200)]
Remove /select from solr targets

11 years agoRevert changes
Dennis Schafroth [Fri, 12 Apr 2013 11:50:03 +0000 (13:50 +0200)]
Revert changes

11 years agoRevert the Solr target name change. Not important
Dennis Schafroth [Fri, 12 Apr 2013 11:30:58 +0000 (13:30 +0200)]
Revert the Solr target name change. Not important

11 years agoMerge branch 'master' of ssh://git.indexdata.com/home/git/pub/pazpar2
Dennis Schafroth [Fri, 12 Apr 2013 10:41:42 +0000 (12:41 +0200)]
Merge branch 'master' of ssh://git.indexdata.com/home/git/pub/pazpar2

11 years agoRemove the /select on Solr urls. Yaz appends handler depending if it is search or...
Dennis Schafroth [Fri, 12 Apr 2013 10:39:52 +0000 (12:39 +0200)]
Remove the /select on Solr urls. Yaz appends handler depending if it is search or scan

11 years agoRemove the select part. Yaz will decide to do a search or scan and map it to search...
Dennis Schafroth [Fri, 12 Apr 2013 10:33:27 +0000 (12:33 +0200)]
Remove the select part. Yaz will decide to do a search or scan and map it to search/term handler

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 agoMerge branch 'master' of ssh://git.indexdata.com/home/git/pub/pazpar2
Dennis Schafroth [Tue, 2 Apr 2013 13:52:56 +0000 (15:52 +0200)]
Merge branch 'master' of ssh://git.indexdata.com/home/git/pub/pazpar2

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 agoAllow the record element without collection
Dennis Schafroth [Fri, 22 Mar 2013 10:30:05 +0000 (11:30 +0100)]
Allow the record element without collection

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!