pazpar2-moved-to-github.git
10 years agoUse IOCHAN for poll result inspection
Adam Dickmeiss [Wed, 13 Aug 2014 12:23:13 +0000 (14:23 +0200)]
Use IOCHAN for poll result inspection

10 years agoRemove configure check for some unused headers
Adam Dickmeiss [Wed, 13 Aug 2014 11:56:02 +0000 (13:56 +0200)]
Remove configure check for some unused headers

10 years agoCheck for unistd.h presense
Adam Dickmeiss [Wed, 13 Aug 2014 11:51:00 +0000 (13:51 +0200)]
Check for unistd.h presense

10 years agoRemove unsed functuion pazpar2_sleep
Adam Dickmeiss [Wed, 13 Aug 2014 11:28:32 +0000 (13:28 +0200)]
Remove unsed functuion pazpar2_sleep

10 years agoUse simpler var for timeout in event loop
Adam Dickmeiss [Wed, 13 Aug 2014 11:26:51 +0000 (13:26 +0200)]
Use simpler var for timeout in event loop

10 years agoReformat
Adam Dickmeiss [Wed, 13 Aug 2014 11:23:30 +0000 (13:23 +0200)]
Reformat

10 years agoevent loop fixes for threaded operation PAZ-947
Adam Dickmeiss [Wed, 13 Aug 2014 09:53:51 +0000 (11:53 +0200)]
event loop fixes for threaded operation PAZ-947

10 years agoSimplify by using fact that yaz_poll ignores fd < 0 YAZ-947
Adam Dickmeiss [Wed, 13 Aug 2014 08:49:09 +0000 (10:49 +0200)]
Simplify by using fact that yaz_poll ignores fd < 0 YAZ-947

10 years agoRe-use fds array; fix for sel_fd in use PAZ-947
Adam Dickmeiss [Wed, 13 Aug 2014 08:38:49 +0000 (10:38 +0200)]
Re-use fds array; fix for sel_fd in use PAZ-947

10 years agoUsing yaz_poll rather than select PAZ-947
Adam Dickmeiss [Tue, 12 Aug 2014 19:42:40 +0000 (21:42 +0200)]
Using yaz_poll rather than select PAZ-947

10 years agoRemove outdated TODO
Adam Dickmeiss [Tue, 12 Aug 2014 14:02:31 +0000 (16:02 +0200)]
Remove outdated TODO

10 years agoMerge branch 'master' of ssh://git.indexdata.com/home/git/pub/pazpar2
Mike Taylor [Mon, 11 Aug 2014 16:53:11 +0000 (17:53 +0100)]
Merge branch 'master' of ssh://git.indexdata.com/home/git/pub/pazpar2

10 years agoFix documentation typo.
Mike Taylor [Mon, 11 Aug 2014 11:00:52 +0000 (12:00 +0100)]
Fix documentation typo.

10 years agoDo not build for Ubuntu oneiric
Adam Dickmeiss [Mon, 14 Jul 2014 12:45:34 +0000 (14:45 +0200)]
Do not build for Ubuntu oneiric

10 years agodebian/changelog now auto generated
Adam Dickmeiss [Mon, 14 Jul 2014 11:15:57 +0000 (13:15 +0200)]
debian/changelog now auto generated

10 years agotest: Pass PERF_PROG rather than option --perf
Adam Dickmeiss [Mon, 7 Jul 2014 14:52:30 +0000 (16:52 +0200)]
test: Pass PERF_PROG rather than option --perf

10 years agoAdd w(ait) for test_perf
Adam Dickmeiss [Mon, 7 Jul 2014 14:51:44 +0000 (16:51 +0200)]
Add w(ait) for test_perf

10 years agoOverride setting with same name (do not append) PAZ-945
Adam Dickmeiss [Fri, 4 Jul 2014 12:32:43 +0000 (14:32 +0200)]
Override setting with same name (do not append) PAZ-945

10 years agoFor testing ^[0-9] is sleep, ^w is wait
Adam Dickmeiss [Fri, 4 Jul 2014 09:30:39 +0000 (11:30 +0200)]
For testing ^[0-9] is sleep, ^w is wait

Allows us to have real wait and poll/wait until stable result.

10 years agoAdd config for test_perf test
Adam Dickmeiss [Thu, 3 Jul 2014 13:30:18 +0000 (15:30 +0200)]
Add config for test_perf test

10 years agotest_perf.sh fetches 100 records from yaz-ztest
Adam Dickmeiss [Thu, 3 Jul 2014 13:21:39 +0000 (15:21 +0200)]
test_perf.sh fetches 100 records from yaz-ztest

Part of PAZ-944

10 years agoOption --perf performs timing of pazpar2 process
Adam Dickmeiss [Thu, 3 Jul 2014 13:19:17 +0000 (15:19 +0200)]
Option --perf performs timing of pazpar2 process

Part of PAZ-944

10 years agoFix problem with first-time test and testno=1
Adam Dickmeiss [Thu, 3 Jul 2014 10:40:36 +0000 (12:40 +0200)]
Fix problem with first-time test and testno=1

10 years agoFix version passed to dpkg-maintscript-helper rm_conffile v1.7.0_2
Adam Dickmeiss [Fri, 27 Jun 2014 13:49:44 +0000 (15:49 +0200)]
Fix version passed to dpkg-maintscript-helper rm_conffile

10 years agoVersion 1.7.0 v1.7.0
Adam Dickmeiss [Fri, 27 Jun 2014 13:01:05 +0000 (15:01 +0200)]
Version 1.7.0

10 years agoUse dpkg-maintscript-helper rm_conffile to remove XSL files
Adam Dickmeiss [Fri, 27 Jun 2014 13:01:01 +0000 (15:01 +0200)]
Use dpkg-maintscript-helper rm_conffile to remove XSL files

These are now part of pazpar2-xsl.

10 years agoUpdate OPAC stylesheets for availabilityDate PAZ-943
Adam Dickmeiss [Thu, 26 Jun 2014 11:35:52 +0000 (13:35 +0200)]
Update OPAC stylesheets for availabilityDate PAZ-943

10 years agoFix too funny startrecs description
Adam Dickmeiss [Tue, 24 Jun 2014 12:19:59 +0000 (14:19 +0200)]
Fix too funny startrecs description

10 years agoFix broken ~ match if filter contains = PAZ-941
Adam Dickmeiss [Tue, 24 Jun 2014 12:07:35 +0000 (14:07 +0200)]
Fix broken ~ match if filter contains = PAZ-941

10 years agoMerge branch 'master' of ssh://git.indexdata.com/home/git/pub/pazpar2
Adam Dickmeiss [Thu, 12 Jun 2014 17:17:45 +0000 (19:17 +0200)]
Merge branch 'master' of ssh://git.indexdata.com/home/git/pub/pazpar2

10 years agoDo not release for Ubuntu Lucid anymore
Adam Dickmeiss [Thu, 12 Jun 2014 17:17:39 +0000 (19:17 +0200)]
Do not release for Ubuntu Lucid anymore

10 years agoMerge branch 'master' of ssh://git/home/git/pub/pazpar2
Jakub Skoczen [Thu, 12 Jun 2014 10:52:51 +0000 (12:52 +0200)]
Merge branch 'master' of ssh://git/home/git/pub/pazpar2

10 years agoUse windowId when storing session cookie
Jakub Skoczen [Thu, 12 Jun 2014 10:52:24 +0000 (12:52 +0200)]
Use windowId when storing session cookie

10 years agoMerge branch 'master' of ssh://git.indexdata.com/home/git/pub/pazpar2
Adam Dickmeiss [Thu, 12 Jun 2014 10:38:55 +0000 (12:38 +0200)]
Merge branch 'master' of ssh://git.indexdata.com/home/git/pub/pazpar2

10 years agoAdd pz:redis option
Adam Dickmeiss [Thu, 12 Jun 2014 09:06:56 +0000 (11:06 +0200)]
Add pz:redis option

10 years agoUpdate doc/common
Adam Dickmeiss [Thu, 12 Jun 2014 09:00:20 +0000 (11:00 +0200)]
Update doc/common

10 years agoUndo commit 79502c7f2d7163685633137c9f435fada3df413e
Mike Taylor [Thu, 12 Jun 2014 08:27:52 +0000 (09:27 +0100)]
Undo commit 79502c7f2d7163685633137c9f435fada3df413e
Jakub fears it might break on old IEs.

10 years agoUse
Mike Taylor [Wed, 28 May 2014 14:48:51 +0000 (15:48 +0100)]
Use
attrs[i].value
in place of the old
attrs[i].nodeValue
which Chrome 36.0.1985.18 beta says is deprecated.

10 years agoOmit tmp test file *.log.xml in dist
Adam Dickmeiss [Mon, 19 May 2014 11:40:19 +0000 (13:40 +0200)]
Omit tmp test file *.log.xml in dist

10 years agoAdd first CF XML test file
Adam Dickmeiss [Mon, 19 May 2014 11:39:11 +0000 (13:39 +0200)]
Add first CF XML test file

10 years agoRemove already present XSL files from /etc/pazpar2
Adam Dickmeiss [Tue, 6 May 2014 11:54:03 +0000 (13:54 +0200)]
Remove already present XSL files from /etc/pazpar2

If files are identical they can be safely removed because
the new version is in /usr/share/pazpar2/xsl

10 years agoRe-ingest native facets PAZ-934
Adam Dickmeiss [Tue, 6 May 2014 10:35:00 +0000 (12:35 +0200)]
Re-ingest native facets PAZ-934

10 years agotest files: remove redundant and useless comments
Adam Dickmeiss [Tue, 6 May 2014 09:42:44 +0000 (11:42 +0200)]
test files: remove redundant and useless comments

10 years agoSkip XSL tests for old Libxslt older than 1.1.24
Adam Dickmeiss [Thu, 1 May 2014 07:55:16 +0000 (07:55 +0000)]
Skip XSL tests for old Libxslt older than 1.1.24

At least version 1.1.17 produces slightly different results.

10 years agoUpdate comment to reflect reality about medium override
Adam Dickmeiss [Wed, 30 Apr 2014 09:52:06 +0000 (11:52 +0200)]
Update comment to reflect reality about medium override

10 years agoAdd a solr-pz2.xsl test with medium override
Adam Dickmeiss [Wed, 30 Apr 2014 09:19:11 +0000 (11:19 +0200)]
Add a solr-pz2.xsl test with medium override

10 years agoAllow xsltproc options to be given in input XML test files
Adam Dickmeiss [Wed, 30 Apr 2014 09:16:57 +0000 (11:16 +0200)]
Allow xsltproc options to be given in input XML test files

Eg: <!-- xsltproc: ##stringparam medium cd --> in file.xml will
invoke:
  xsltproc --stringparam medium cd file.xsl file.xml
We had to use a different notation for -- because that is
otherwise not allowed in XML comments.

10 years agoAdd first test files for solr-pz2 XSL
Adam Dickmeiss [Wed, 30 Apr 2014 08:41:58 +0000 (10:41 +0200)]
Add first test files for solr-pz2 XSL

10 years agoFix condition for medium PAZ-929 saga again
Adam Dickmeiss [Wed, 30 Apr 2014 08:40:57 +0000 (10:40 +0200)]
Fix condition for medium PAZ-929 saga again

10 years agoNew, generic, test_xsl script
Adam Dickmeiss [Wed, 30 Apr 2014 08:22:27 +0000 (10:22 +0200)]
New, generic, test_xsl script

10 years agoXSL test in etc/xsl
Adam Dickmeiss [Wed, 30 Apr 2014 08:01:08 +0000 (10:01 +0200)]
XSL test in etc/xsl

Makes it easer to work with XSL; now that test and files are
separate from the Pazpar2 tests.

10 years agoOnly put *.xsl files in pazpar2-xsl package
Adam Dickmeiss [Wed, 30 Apr 2014 07:42:53 +0000 (09:42 +0200)]
Only put *.xsl files in pazpar2-xsl package

So we can have test stuff in there as well

10 years agoMerge remote-tracking branch 'origin/paz-932'
Adam Dickmeiss [Thu, 24 Apr 2014 11:46:56 +0000 (13:46 +0200)]
Merge remote-tracking branch 'origin/paz-932'

10 years agoFix ref to tmarc.xsl in test_tmarc
Adam Dickmeiss [Thu, 24 Apr 2014 11:46:01 +0000 (13:46 +0200)]
Fix ref to tmarc.xsl in test_tmarc

10 years agoSeparate package: pazpar2-xsl
Adam Dickmeiss [Thu, 24 Apr 2014 11:34:54 +0000 (13:34 +0200)]
Separate package: pazpar2-xsl

10 years agoUpdate RPM for new location of XSL files
Adam Dickmeiss [Thu, 24 Apr 2014 11:10:01 +0000 (13:10 +0200)]
Update RPM for new location of XSL files

10 years agoXSL files in separate directory; remove some un-maintained XSLs
Adam Dickmeiss [Thu, 24 Apr 2014 11:00:34 +0000 (13:00 +0200)]
XSL files in separate directory; remove some un-maintained XSLs

10 years agoImplement <file path="path"/>
Adam Dickmeiss [Thu, 24 Apr 2014 10:26:14 +0000 (12:26 +0200)]
Implement <file path="path"/>

10 years agonormalize_record: missing else
Adam Dickmeiss [Thu, 24 Apr 2014 09:01:31 +0000 (11:01 +0200)]
normalize_record: missing else

10 years agonormalize_record: simple rename
Adam Dickmeiss [Thu, 24 Apr 2014 09:01:10 +0000 (11:01 +0200)]
normalize_record: simple rename

10 years agoVersion 1.6.41 v1.6.41
Adam Dickmeiss [Wed, 23 Apr 2014 11:53:15 +0000 (13:53 +0200)]
Version 1.6.41

10 years agoFix URL with leading http:// not working PAZ-933
Adam Dickmeiss [Wed, 23 Apr 2014 09:51:38 +0000 (11:51 +0200)]
Fix URL with leading http:// not working PAZ-933

10 years agoPartially reverts ff0f1523c1436f4b2f0b334a53e0fbaba1b9ae84
Adam Dickmeiss [Wed, 23 Apr 2014 09:18:32 +0000 (11:18 +0200)]
Partially reverts ff0f1523c1436f4b2f0b334a53e0fbaba1b9ae84

10 years agoBuild packages for Ubuntu Trusty Tahr 14.04 LTS
Adam Dickmeiss [Tue, 22 Apr 2014 15:25:15 +0000 (17:25 +0200)]
Build packages for Ubuntu Trusty Tahr 14.04 LTS

10 years agoHandle medium override AND md field
Jakub Skoczen [Mon, 14 Apr 2014 20:07:36 +0000 (22:07 +0200)]
Handle medium override AND md field

10 years agoVersion 1.6.40 v1.6.40
Adam Dickmeiss [Thu, 10 Apr 2014 13:28:51 +0000 (15:28 +0200)]
Version 1.6.40

10 years agoUpd NEWS
Adam Dickmeiss [Thu, 10 Apr 2014 13:28:02 +0000 (15:28 +0200)]
Upd NEWS

10 years agosortmap relevance always uses increasing=1 PAZ-930
Adam Dickmeiss [Thu, 10 Apr 2014 13:20:17 +0000 (15:20 +0200)]
sortmap relevance always uses increasing=1 PAZ-930

10 years agoEnsure medium is also applied if Solr record do not have it PAZ-929
Adam Dickmeiss [Mon, 7 Apr 2014 18:12:00 +0000 (20:12 +0200)]
Ensure medium is also applied if Solr record do not have it PAZ-929

10 years agoadd template match 'medium' to cf stylesheet
John Malconian [Tue, 11 Mar 2014 14:29:04 +0000 (14:29 +0000)]
add template match 'medium' to cf stylesheet

10 years agoAllow deprecated ICU definitions again
Adam Dickmeiss [Fri, 7 Mar 2014 12:23:48 +0000 (13:23 +0100)]
Allow deprecated ICU definitions again

Partially reverts 77682ed3596450ab7b3caff707999d2f7977d614.

10 years agoDo not use deprecated ICU definitions
Adam Dickmeiss [Mon, 3 Mar 2014 15:05:16 +0000 (16:05 +0100)]
Do not use deprecated ICU definitions

10 years agoFix leak in getaddrinfo usage for HTTP listener
Adam Dickmeiss [Mon, 3 Mar 2014 13:51:53 +0000 (14:51 +0100)]
Fix leak in getaddrinfo usage for HTTP listener

Not a big deal because this code is only executed once.

10 years agoYet another wait in test_filter#3
Adam Dickmeiss [Fri, 28 Feb 2014 09:28:21 +0000 (10:28 +0100)]
Yet another wait in test_filter#3

10 years agoRemove support for deprecated ICU definitions
Adam Dickmeiss [Tue, 25 Feb 2014 13:14:00 +0000 (14:14 +0100)]
Remove support for deprecated ICU definitions

Elements <relevance>, <sort>, <mergekey>, <facet> should be replaced
with <icu_chain id="relevance">.. etc. Fixes also PAZ-923

10 years agoFix typos is sortmap documentation
Mike Taylor [Thu, 20 Feb 2014 15:41:16 +0000 (10:41 -0500)]
Fix typos is sortmap documentation

10 years agoDoc: fix misplaced variablelist tag.
Adam Dickmeiss [Wed, 19 Feb 2014 13:33:20 +0000 (14:33 +0100)]
Doc: fix misplaced variablelist tag.

10 years agoVersion 1.6.39 v1.6.39
Adam Dickmeiss [Wed, 19 Feb 2014 12:43:23 +0000 (13:43 +0100)]
Version 1.6.39

10 years agoFix YAZ version for memcached support
Adam Dickmeiss [Wed, 19 Feb 2014 12:43:13 +0000 (13:43 +0100)]
Fix YAZ version for memcached support

10 years agoDoc: update information about ID packages for Pazpar2
Adam Dickmeiss [Wed, 19 Feb 2014 12:41:38 +0000 (13:41 +0100)]
Doc: update information about ID packages for Pazpar2

10 years agoDoc: update WRT ICU which is configured for YAZ; not Pazpar2
Adam Dickmeiss [Wed, 19 Feb 2014 12:21:06 +0000 (13:21 +0100)]
Doc: update WRT ICU which is configured for YAZ; not Pazpar2

It's been like that since version 1.1.1 from August 2009.

10 years agoDocument pz:memcached target setting
Adam Dickmeiss [Wed, 19 Feb 2014 12:06:14 +0000 (13:06 +0100)]
Document pz:memcached target setting

10 years agoDoc: target settings in alphabetical order
Adam Dickmeiss [Wed, 19 Feb 2014 11:57:52 +0000 (12:57 +0100)]
Doc: target settings in alphabetical order

10 years agotest: 1st test waits util Pazpar2 is ready PAZ-921
Adam Dickmeiss [Sun, 9 Feb 2014 08:52:00 +0000 (09:52 +0100)]
test: 1st test waits util Pazpar2 is ready PAZ-921

A sleep of 2 seconds is removed by this. In most cases, running tests will
be faster.

10 years agoMake test_url.sh test for two-level metadata structure
Adam Dickmeiss [Mon, 3 Feb 2014 14:03:34 +0000 (15:03 +0100)]
Make test_url.sh test for two-level metadata structure

10 years agoRename service_add_metadata to count_metadata
Adam Dickmeiss [Mon, 3 Feb 2014 13:49:38 +0000 (14:49 +0100)]
Rename service_add_metadata to count_metadata

10 years agoRemove XML_PARSE_NOBLANKS from xmlReadFile
Adam Dickmeiss [Mon, 3 Feb 2014 13:42:57 +0000 (14:42 +0100)]
Remove XML_PARSE_NOBLANKS from xmlReadFile

With XML_PARSE_NOBLANKS test_url_19 fails.

10 years agoAvoid mixed stmt/var declare
Adam Dickmeiss [Mon, 3 Feb 2014 13:42:46 +0000 (14:42 +0100)]
Avoid mixed stmt/var declare

10 years agoadd support for a <metadata> container tag
Sven-S. Porst [Mon, 1 Oct 2012 16:13:40 +0000 (18:13 +0200)]
add support for a <metadata> container tag

so one can have a setup like

<metadata>
<metadata name="language" brief="yes" merge="unique" termlist="yes"/>
<metadata name="id" brief="yes"/>
<metadata name="lccn" merge="unique"/>
</metadata>

The underlying desire is to be able to include the complete metadata setup with XInclude.
This requires us to have a single container with all elements.

This patch adjust the metadata element counting and evaluation to interpret both metadata tags on their own and containers with metadata tags in them.
Attributes of a metadata container tag are ignored.

10 years agoadd support for XInclude in the main configuration file
Sven-S. Porst [Mon, 1 Oct 2012 16:10:44 +0000 (18:10 +0200)]
add support for XInclude in the main configuration file

10 years agoInsert wait for 30, 36 of test_limit_limitmap PAZ-918
Adam Dickmeiss [Wed, 29 Jan 2014 06:34:02 +0000 (07:34 +0100)]
Insert wait for 30, 36 of test_limit_limitmap PAZ-918

10 years agoAdd client_{lock,unlock} before call to non_block_events
Adam Dickmeiss [Tue, 28 Jan 2014 14:44:07 +0000 (15:44 +0100)]
Add client_{lock,unlock} before call to non_block_events

in connection_continue. Problem is that if non_block_events
fire records, then we will not unlock client at all. And as
a result a dead-lock occurs.

10 years agoYLOG_DEBUG msg
Adam Dickmeiss [Tue, 28 Jan 2014 13:53:35 +0000 (14:53 +0100)]
YLOG_DEBUG msg

10 years agoMerge branch 'master' of ssh://git.indexdata.com/home/git/pub/pazpar2
Adam Dickmeiss [Tue, 28 Jan 2014 13:52:44 +0000 (14:52 +0100)]
Merge branch 'master' of ssh://git.indexdata.com/home/git/pub/pazpar2

10 years agoAdd pz:memcached option
Adam Dickmeiss [Tue, 28 Jan 2014 13:52:06 +0000 (14:52 +0100)]
Add pz:memcached option

Not really in stable YAZ yet, but it does not harm to have it now.

10 years agoPass context.windowid (in most situations) instead of this.windowid
Mike Taylor [Fri, 24 Jan 2014 11:32:33 +0000 (11:32 +0000)]
Pass context.windowid (in most situations) instead of this.windowid
JavaScript `this', from Hell's heart I stab at thee!

10 years agoAll invocations of callbacks supplied by client code now pass
Mike Taylor [Fri, 24 Jan 2014 10:42:31 +0000 (10:42 +0000)]
All invocations of callbacks supplied by client code now pass
this.windowid.

10 years agoConstructor accepts optional "windowid" parameter, and uses this as
Mike Taylor [Fri, 24 Jan 2014 10:19:36 +0000 (10:19 +0000)]
Constructor accepts optional "windowid" parameter, and uses this as
the windowid of all operations. Defaults to window.name if not
specified, mimicking old behaviour.

10 years agoAdd relevance-todo-heikki.txt for restarting later
Heikki Levanto [Mon, 20 Jan 2014 13:14:36 +0000 (14:14 +0100)]
Add relevance-todo-heikki.txt for restarting later

10 years agoVersion 1.6.38 v1.6.38
Adam Dickmeiss [Tue, 7 Jan 2014 12:59:40 +0000 (13:59 +0100)]
Version 1.6.38