pazpar2-moved-to-github.git
14 years agoRemove connection_freelist
Adam Dickmeiss [Fri, 12 Feb 2010 10:58:46 +0000 (11:58 +0100)]
Remove connection_freelist

14 years agoRemove two unused members from connection
Adam Dickmeiss [Fri, 12 Feb 2010 10:56:43 +0000 (11:56 +0100)]
Remove two unused members from connection

14 years agoiochan_man_t in logic.c gone
Adam Dickmeiss [Fri, 12 Feb 2010 10:49:56 +0000 (11:49 +0100)]
iochan_man_t in logic.c gone

Unfortunately we've found another static list: connection_freelist
in connection.c :-)

14 years agoclient freelist removed (thus thread safe now)
Adam Dickmeiss [Fri, 12 Feb 2010 10:11:15 +0000 (11:11 +0100)]
client freelist removed (thus thread safe now)

14 years agoHTTP session list thread safe
Adam Dickmeiss [Fri, 12 Feb 2010 10:07:15 +0000 (11:07 +0100)]
HTTP session list thread safe

14 years agoRename http functions
Adam Dickmeiss [Thu, 11 Feb 2010 14:42:54 +0000 (15:42 +0100)]
Rename http functions

14 years agoFix bug #3260 (dynamic/static settings mixed)
Adam Dickmeiss [Thu, 11 Feb 2010 13:52:07 +0000 (14:52 +0100)]
Fix bug #3260 (dynamic/static settings mixed)

14 years agoAdd test case for bug #3260 (settings mixed)
Adam Dickmeiss [Thu, 11 Feb 2010 10:15:51 +0000 (11:15 +0100)]
Add test case for bug #3260 (settings mixed)

14 years agoStarting HTTP session manager
Adam Dickmeiss [Wed, 10 Feb 2010 14:58:24 +0000 (15:58 +0100)]
Starting HTTP session manager

14 years agoHTTP free buffers handled by http_server_t
Adam Dickmeiss [Wed, 10 Feb 2010 13:54:30 +0000 (14:54 +0100)]
HTTP free buffers handled by http_server_t

Two non-thread safe lists now handled by http_server_t.

14 years agoAdd mutex for service (ref counting)
Adam Dickmeiss [Thu, 4 Feb 2010 14:38:57 +0000 (15:38 +0100)]
Add mutex for service (ref counting)

14 years agoNumber of worker-threads controlled by main config
Adam Dickmeiss [Wed, 3 Feb 2010 08:40:21 +0000 (09:40 +0100)]
Number of worker-threads controlled by main config

The number of worker-threads may be controlled by threads@number in main
config. A value of 0, disables worker-threads - and operates as older
versions of Pazpar2.

14 years agoUse icu_iter-functions (YAZ 4.0.2)
Adam Dickmeiss [Tue, 2 Feb 2010 21:12:16 +0000 (22:12 +0100)]
Use icu_iter-functions (YAZ 4.0.2)

14 years agoHighly experimental boss-worker socket handler
Adam Dickmeiss [Wed, 27 Jan 2010 15:52:08 +0000 (16:52 +0100)]
Highly experimental boss-worker socket handler

The eventl.h from old GFS/paraz is extended a bit. Socket notications
are sent via queues to a set of workers. Uses sel_thread. Currently
test_sel_thread passes.. Which itself tests sel_thread based on an
event handler that is ALSO using eventl. Now passes .. albeit the
work-flow gives me the creeps.

14 years agoCalling iochan_man_destroy
Adam Dickmeiss [Wed, 27 Jan 2010 15:46:14 +0000 (16:46 +0100)]
Calling iochan_man_destroy

14 years agoAdd indent footer
Adam Dickmeiss [Wed, 27 Jan 2010 09:23:41 +0000 (10:23 +0100)]
Add indent footer

14 years agoSmall IOCHAN refactor. Introduce iochan_man_t
Adam Dickmeiss [Wed, 27 Jan 2010 09:16:37 +0000 (10:16 +0100)]
Small IOCHAN refactor. Introduce iochan_man_t

14 years agoAdd load balancing section
Jakub Skoczen [Tue, 26 Jan 2010 15:40:19 +0000 (16:40 +0100)]
Add load balancing section

14 years agoUsing yaz_xml_include
Adam Dickmeiss [Tue, 26 Jan 2010 14:50:56 +0000 (15:50 +0100)]
Using yaz_xml_include

14 years agoMerge branch 'master' of ssh://git.indexdata.com/home/git/pub/pazpar2
Adam Dickmeiss [Tue, 26 Jan 2010 14:40:00 +0000 (15:40 +0100)]
Merge branch 'master' of ssh://git.indexdata.com/home/git/pub/pazpar2

14 years agoUse dirent wrapper of YAZ (eequires YAZ 4.0.1)
Adam Dickmeiss [Tue, 26 Jan 2010 14:39:33 +0000 (15:39 +0100)]
Use dirent wrapper of YAZ (eequires YAZ 4.0.1)

14 years agoFix leak WRT server@id attr
Adam Dickmeiss [Tue, 26 Jan 2010 14:38:52 +0000 (15:38 +0100)]
Fix leak WRT server@id attr

14 years agoAvoid mixed stmt/var declare
Adam Dickmeiss [Tue, 26 Jan 2010 14:37:43 +0000 (15:37 +0100)]
Avoid mixed stmt/var declare

14 years agoRequre YAZ 4.0.1 or later
Adam Dickmeiss [Tue, 26 Jan 2010 14:35:44 +0000 (15:35 +0100)]
Requre YAZ 4.0.1 or later

14 years agoAdd load_balancing config
Jakub Skoczen [Tue, 26 Jan 2010 14:02:24 +0000 (15:02 +0100)]
Add load_balancing config

14 years agoDocument server ID attribute
Adam Dickmeiss [Tue, 26 Jan 2010 13:42:55 +0000 (14:42 +0100)]
Document server ID attribute

14 years agoDont be so agressive when stopping pazpar2
Adam Dickmeiss [Tue, 26 Jan 2010 13:23:17 +0000 (14:23 +0100)]
Dont be so agressive when stopping pazpar2

Do not resort to killing all pazpar2 processes by PIDs when it
terminates happily with a signal sent to the PID. This change will
allow us to run multiple Pazpar2 servers using the same binary.

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

14 years agoExtend init resp to include server ID, bug #3231
Adam Dickmeiss [Tue, 26 Jan 2010 12:09:57 +0000 (13:09 +0100)]
Extend init resp to include server ID, bug #3231

14 years agoDeb pkg pazpaz2-apache2 depends on pkg apache2
Adam Dickmeiss [Mon, 25 Jan 2010 21:50:27 +0000 (22:50 +0100)]
Deb pkg pazpaz2-apache2 depends on pkg apache2

pazpar2-apache2 now depends on virtual package apache2 rather than
apache2.2-common, so we get one of the apache2 servers as well.

14 years agoMerge branch 'master' of ssh://git.indexdata.com/home/git/pub/pazpar2
Adam Dickmeiss [Mon, 25 Jan 2010 15:20:19 +0000 (16:20 +0100)]
Merge branch 'master' of ssh://git.indexdata.com/home/git/pub/pazpar2

14 years agoNew diagnostic: No service .
Adam Dickmeiss [Mon, 25 Jan 2010 15:19:29 +0000 (16:19 +0100)]
New diagnostic: No service .

The new diagnostic 'no service' is returned if a service can not
be found (whether unnamed or given during init).

14 years agoEnable default service before (re)starting pazpar2
Adam Dickmeiss [Mon, 25 Jan 2010 15:15:11 +0000 (16:15 +0100)]
Enable default service before (re)starting pazpar2

Enable default service, default.xml, before starting Pazpar2 only
if there is no service already in /etc/pazpar2/services-enabled.

14 years agoAdd 'perf' service and use it in the test plan
Jakub Skoczen [Mon, 25 Jan 2010 14:07:15 +0000 (15:07 +0100)]
Add 'perf' service and use it in the test plan

14 years agoRemove abs path
Jakub Skoczen [Mon, 25 Jan 2010 12:50:24 +0000 (13:50 +0100)]
Remove abs path

14 years agoAdd (incomplete) JMeter test plan
Jakub Skoczen [Mon, 25 Jan 2010 12:32:34 +0000 (13:32 +0100)]
Add (incomplete) JMeter test plan

14 years agoPut ICU char mapping in server.xml
Adam Dickmeiss [Mon, 25 Jan 2010 12:28:16 +0000 (13:28 +0100)]
Put ICU char mapping in server.xml

The Debian server.xml now has ICU mappings attached to it. This serves
as defaults for services that do not define it themselves.

14 years agomedium: merge=longest
Adam Dickmeiss [Mon, 25 Jan 2010 12:20:24 +0000 (13:20 +0100)]
medium: merge=longest

14 years agoRemove duplicate metadata: electronic-url
Adam Dickmeiss [Mon, 25 Jan 2010 12:17:02 +0000 (13:17 +0100)]
Remove duplicate metadata: electronic-url

14 years agoFix spelling
Adam Dickmeiss [Mon, 25 Jan 2010 10:09:35 +0000 (11:09 +0100)]
Fix spelling

14 years agoIgnore *.substvars v1.3.0
Adam Dickmeiss [Mon, 25 Jan 2010 09:47:42 +0000 (10:47 +0100)]
Ignore *.substvars

14 years agoBump version
Adam Dickmeiss [Mon, 25 Jan 2010 09:46:35 +0000 (10:46 +0100)]
Bump version

14 years agoWin make: new xml/xslt versions
Adam Dickmeiss [Mon, 25 Jan 2010 09:46:24 +0000 (10:46 +0100)]
Win make: new xml/xslt versions

14 years agoNSI: Use VS 2008 by default
Adam Dickmeiss [Mon, 25 Jan 2010 09:45:22 +0000 (10:45 +0100)]
NSI: Use VS 2008 by default

14 years agoDebian: build using libyaz4-dev
Adam Dickmeiss [Mon, 25 Jan 2010 09:34:36 +0000 (10:34 +0100)]
Debian: build using libyaz4-dev

14 years agoFixed typo (bug #3153)
Adam Dickmeiss [Fri, 15 Jan 2010 13:04:38 +0000 (14:04 +0100)]
Fixed typo (bug #3153)

14 years agoDeb postinst warns about obsolete pazpar2.cfg
Adam Dickmeiss [Fri, 15 Jan 2010 12:51:52 +0000 (13:51 +0100)]
Deb postinst warns about obsolete pazpar2.cfg

14 years agoDebian purge removes log + services enabled links
Adam Dickmeiss [Fri, 15 Jan 2010 12:46:30 +0000 (13:46 +0100)]
Debian purge removes log + services enabled links

14 years agoRemove settings (default.xml does it)
Adam Dickmeiss [Fri, 15 Jan 2010 12:35:51 +0000 (13:35 +0100)]
Remove settings (default.xml does it)

14 years agoBump Deb minor because of services change
Adam Dickmeiss [Fri, 15 Jan 2010 12:30:33 +0000 (13:30 +0100)]
Bump Deb minor because of services change

14 years agoSplit services into separate files
Adam Dickmeiss [Fri, 15 Jan 2010 12:20:34 +0000 (13:20 +0100)]
Split services into separate files

The example configuration file pazpar2.cfg.dist now includes a default
service default.xml (part of etc). And default.xml includes
settings/edu.xml. The default.xml file (not to be confused with
settings/defaults.xml) is a template for jsdemo and other services.
The Debian package installs /etc/pazpar2/server.xml which is now
the main pazpar2 configuration (used to be called pazpar2.cfg).
server.xml includes services from /etc/pazpar2/services-enabled/*.xml .
The default.xml (from etc) is installed in /etc/pazpar2/services-available
and a symlink to it is created from services-enabled. The default.xml
service is unnamed and, thus, will be used by jsdemo and test1.

14 years agoFix msg about duplicate unnamed srv
Adam Dickmeiss [Fri, 15 Jan 2010 11:34:12 +0000 (12:34 +0100)]
Fix msg about duplicate unnamed srv

14 years agoDocument "dump config" (option -d + option -t)
Adam Dickmeiss [Fri, 15 Jan 2010 10:57:46 +0000 (11:57 +0100)]
Document "dump config" (option -d + option -t)

14 years agoRephrase pz:negotiation_charset doc
Adam Dickmeiss [Fri, 15 Jan 2010 09:51:40 +0000 (10:51 +0100)]
Rephrase pz:negotiation_charset doc

14 years agoNew setting pz:negotiation_charset .
Adam Dickmeiss [Fri, 15 Jan 2010 09:43:30 +0000 (10:43 +0100)]
New setting pz:negotiation_charset .

Patch from Andrei V. Toutoukine: new setting pz:negotiation_charset
which specifies character set for Z39.50 Init.

14 years agoBump copyright year
Adam Dickmeiss [Fri, 15 Jan 2010 09:36:11 +0000 (10:36 +0100)]
Bump copyright year

14 years agoBump version for Windows
Adam Dickmeiss [Fri, 15 Jan 2010 09:36:03 +0000 (10:36 +0100)]
Bump version for Windows

14 years agoBump version to 1.2.4 v1.2.4
Adam Dickmeiss [Fri, 15 Jan 2010 09:13:46 +0000 (10:13 +0100)]
Bump version to 1.2.4

14 years agoUpdate m4
Adam Dickmeiss [Thu, 14 Jan 2010 15:14:36 +0000 (16:14 +0100)]
Update m4

14 years agoMerge branch 'master' of ssh://git.indexdata.com/home/git/pub/pazpar2
Adam Dickmeiss [Thu, 14 Jan 2010 12:21:20 +0000 (13:21 +0100)]
Merge branch 'master' of ssh://git.indexdata.com/home/git/pub/pazpar2

14 years agoBump copyright year
Adam Dickmeiss [Thu, 14 Jan 2010 12:21:09 +0000 (13:21 +0100)]
Bump copyright year

14 years agoInterrim Debian version 1.2.3-3indexdata
Mike Taylor [Wed, 13 Jan 2010 15:39:13 +0000 (15:39 +0000)]
Interrim Debian version 1.2.3-3indexdata

14 years agoAdd brief="yes" merge="unique" to the thumburl field.
Mike Taylor [Wed, 13 Jan 2010 15:30:45 +0000 (15:30 +0000)]
Add brief="yes" merge="unique" to the thumburl field.

14 years agoInterrim Debian package 1.2.3-2indexdata
Mike Taylor [Wed, 13 Jan 2010 14:16:06 +0000 (14:16 +0000)]
Interrim Debian package 1.2.3-2indexdata

14 years agoTowards 1.2.4
Mike Taylor [Wed, 13 Jan 2010 14:14:41 +0000 (14:14 +0000)]
Towards 1.2.4

14 years agoFix mapping to use existing pazpar2 fields:
Mike Taylor [Wed, 13 Jan 2010 14:11:12 +0000 (14:11 +0000)]
Fix mapping to use existing pazpar2 fields:
callno -> callnumber
location -> locallocation

14 years agoRemove duplicate fields:
Mike Taylor [Wed, 13 Jan 2010 14:10:44 +0000 (14:10 +0000)]
Remove duplicate fields:
location (= existing locallocation)
callno (= existing callnumber)

14 years agoAdd support for missing fields that the CF can provide as indicated by
Mike Taylor [Wed, 13 Jan 2010 14:02:18 +0000 (14:02 +0000)]
Add support for missing fields that the CF can provide as indicated by
$CF/builder/templates/search.cft: publisher, available, due, location,
callno, and score.

14 years agoReorder <xsl:template> stanzas so that the generated fields are in the
Mike Taylor [Wed, 13 Jan 2010 13:58:22 +0000 (13:58 +0000)]
Reorder <xsl:template> stanzas so that the generated fields are in the
same order as those of $CF/builder/templates/search.cft -- this makes
no difference to functionality, just makes it easier to keep the two
lists synchronised.

14 years agoAdd support for missing fields that the CF can provide as indicated by
Mike Taylor [Wed, 13 Jan 2010 13:51:46 +0000 (13:51 +0000)]
Add support for missing fields that the CF can provide as indicated by
$CF/builder/templates/search.cft: publisher, available, due, location,
callno, and score.

14 years agoVoid out unused return value from fwrite() to avoid compiler warnings.
Mike Taylor [Wed, 13 Jan 2010 12:32:02 +0000 (12:32 +0000)]
Void out unused return value from fwrite() to avoid compiler warnings.

14 years agoVoid out unused return values from write() and read() to avoid
Mike Taylor [Wed, 13 Jan 2010 12:31:43 +0000 (12:31 +0000)]
Void out unused return values from write() and read() to avoid
compiler warnings.

14 years agoSupport thumburl.
Mike Taylor [Fri, 8 Jan 2010 14:22:43 +0000 (14:22 +0000)]
Support thumburl.

14 years agoAdds flag for use or not of url proxy
Niels Erik Nielsen [Tue, 22 Dec 2009 22:23:24 +0000 (17:23 -0500)]
Adds flag for use or not of url proxy

14 years agoParse journal subparts
Jakub Skoczen [Fri, 11 Dec 2009 11:15:10 +0000 (12:15 +0100)]
Parse journal subparts

14 years agoAdd new elements
Jakub Skoczen [Thu, 10 Dec 2009 16:17:29 +0000 (17:17 +0100)]
Add new elements

14 years agoStrip tabs
Jakub Skoczen [Thu, 10 Dec 2009 15:41:03 +0000 (16:41 +0100)]
Strip tabs

14 years agoUse en locale
Jakub Skoczen [Thu, 10 Dec 2009 15:34:42 +0000 (16:34 +0100)]
Use en locale

14 years agoChange encoding mergekey fields
Adam Dickmeiss [Thu, 10 Dec 2009 11:55:29 +0000 (12:55 +0100)]
Change encoding mergekey fields

Change encoding so harmonize with the "old" marc21.xsl mergekey
scheme. That is field and value pairs separated by space and with
no trailing space.

14 years agoMerge branch 'master' of ssh://git.indexdata.com/home/git/pub/pazpar2
Adam Dickmeiss [Thu, 10 Dec 2009 11:41:34 +0000 (12:41 +0100)]
Merge branch 'master' of ssh://git.indexdata.com/home/git/pub/pazpar2

14 years agoAdd namespace def
Jakub Skoczen [Thu, 10 Dec 2009 11:39:58 +0000 (12:39 +0100)]
Add namespace def

14 years agoMerge branch 'master' of ssh://git.indexdata.com/home/git/pub/pazpar2
Adam Dickmeiss [Thu, 10 Dec 2009 11:37:17 +0000 (12:37 +0100)]
Merge branch 'master' of ssh://git.indexdata.com/home/git/pub/pazpar2

14 years agoDescribe pz:xslt and the auto setting
Adam Dickmeiss [Thu, 10 Dec 2009 11:36:36 +0000 (12:36 +0100)]
Describe pz:xslt and the auto setting

14 years agoFix RPN to CQL mappings, i.e use string attributes
Adam Dickmeiss [Thu, 10 Dec 2009 11:32:36 +0000 (12:32 +0100)]
Fix RPN to CQL mappings, i.e use string attributes

14 years agoAdd citation element
Jakub Skoczen [Thu, 10 Dec 2009 10:19:42 +0000 (11:19 +0100)]
Add citation element

14 years agoRemove mergekey declaration
Jakub Skoczen [Thu, 10 Dec 2009 10:15:38 +0000 (11:15 +0100)]
Remove mergekey declaration

14 years agoMove mergekey definition to pazpar2.cfg
Jakub Skoczen [Thu, 10 Dec 2009 10:11:57 +0000 (11:11 +0100)]
Move mergekey definition to pazpar2.cfg

Moves mergekey definition away from the normalization stylesheets and
defines a mergekey common for all target types in pazpar2.cfg.

14 years agoUse Odr_int type for hit counts
Adam Dickmeiss [Tue, 1 Dec 2009 21:24:02 +0000 (22:24 +0100)]
Use Odr_int type for hit counts

Use the Odr_int type for hit counts. This is part of YAZ 3.0.47
and later and so configure checks for that.

14 years agoUpdate test_normalize for skiparticle fix
Adam Dickmeiss [Tue, 24 Nov 2009 19:29:38 +0000 (20:29 +0100)]
Update test_normalize for skiparticle fix

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

14 years agoWin32 makefile: dist depends nsi
Adam Dickmeiss [Tue, 24 Nov 2009 11:34:30 +0000 (12:34 +0100)]
Win32 makefile: dist depends nsi

14 years agoBump version, update NEWS v1.2.3
Adam Dickmeiss [Tue, 24 Nov 2009 11:23:35 +0000 (12:23 +0100)]
Bump version, update NEWS

14 years agoMetadata 'skiparticle works for ICU normalization
Adam Dickmeiss [Tue, 24 Nov 2009 11:19:35 +0000 (12:19 +0100)]
Metadata 'skiparticle works for ICU normalization

The skiparticle handling was only working for the 7-bit ASCII
normalization code before.

15 years agoMerge branch 'master' of ssh://git.indexdata.com/home/git/pub/pazpar2
Mike Taylor [Thu, 19 Nov 2009 16:33:09 +0000 (16:33 +0000)]
Merge branch 'master' of ssh://git.indexdata.com/home/git/pub/pazpar2

15 years agoAdded error-reporting for the case where a HTTP response is 200 OK but
Mike Taylor [Thu, 19 Nov 2009 16:33:03 +0000 (16:33 +0000)]
Added error-reporting for the case where a HTTP response is 200 OK but
it does not contain any XML (for example because it is a
human-readable HTML page explaining what went wrong).
Removed obsolete CVS Id.

15 years agoUpdate test result WRT marcmap
Adam Dickmeiss [Thu, 12 Nov 2009 19:48:49 +0000 (20:48 +0100)]
Update test result WRT marcmap

marcmap no longer produces a mergekey so a unique mergekey is
generated instead in test.

15 years agoexplicitly state encoding as utf-8
Jason Skomorowski [Wed, 11 Nov 2009 13:02:36 +0000 (08:02 -0500)]
explicitly state encoding as utf-8
that probably took long than it was worth, but we want the output the same as xsl!

15 years agoput root element in pz namespace in marcmap output
Jason Skomorowski [Tue, 10 Nov 2009 15:00:56 +0000 (10:00 -0500)]
put root element in pz namespace in marcmap output

15 years agoI $ed where I should have *ed.
Jason Skomorowski [Thu, 5 Nov 2009 16:20:10 +0000 (11:20 -0500)]
I $ed where I should have *ed.

15 years agoMARC XML also includes MARC generally
Jason Skomorowski [Thu, 5 Nov 2009 15:57:13 +0000 (10:57 -0500)]
MARC XML also includes MARC generally