pazpar2-moved-to-github.git
16 years agoMerge branch 'master' of ssh://git.indexdata.com:222/home/git/pub/pazpar2 PAZPAR2.1.0.7
Marc Cromme [Mon, 14 Apr 2008 12:03:51 +0000 (14:03 +0200)]
Merge branch 'master' of ssh://git.indexdata.com:222/home/git/pub/pazpar2

16 years agoenhanced MARC21 excration such that all full text fields are found, not only the...
Marc Cromme [Mon, 14 Apr 2008 11:59:21 +0000 (13:59 +0200)]
enhanced MARC21 excration such that all full text fields are found, not only the first one

16 years agoUpdated source file headers with new year and no CVS Id.
Adam Dickmeiss [Mon, 14 Apr 2008 11:12:06 +0000 (13:12 +0200)]
Updated source file headers with new year and no CVS Id.

16 years agoA test update only
Sebastian Hammer [Fri, 28 Mar 2008 15:10:52 +0000 (15:10 +0000)]
A test update only

16 years agoLog XML/XSLT errors to yaz_log.
Adam Dickmeiss [Tue, 25 Mar 2008 13:00:59 +0000 (14:00 +0100)]
Log XML/XSLT errors to yaz_log.

16 years agoIgnore more files.
Adam Dickmeiss [Tue, 25 Mar 2008 13:00:41 +0000 (14:00 +0100)]
Ignore more files.

16 years agoMoved ignore files.
Adam Dickmeiss [Sat, 15 Mar 2008 21:27:14 +0000 (22:27 +0100)]
Moved ignore files.

16 years agoa
Adam Dickmeiss [Sat, 15 Mar 2008 21:27:13 +0000 (22:27 +0100)]
a

16 years agoAuto add Git submodules in buildconf.sh.
Adam Dickmeiss [Sat, 15 Mar 2008 21:26:38 +0000 (22:26 +0100)]
Auto add Git submodules in buildconf.sh.

16 years agoGenerate ChangeLog using Git.
Adam Dickmeiss [Sat, 15 Mar 2008 21:26:26 +0000 (22:26 +0100)]
Generate ChangeLog using Git.

16 years agoMore changes. PAZPAR2.1.0.6
Adam Dickmeiss [Wed, 12 Mar 2008 12:11:40 +0000 (12:11 +0000)]
More changes.

16 years agoVersion 1.0.6
Adam Dickmeiss [Wed, 12 Mar 2008 11:46:31 +0000 (11:46 +0000)]
Version 1.0.6

16 years agoUpdated changelog.
Jakub Skoczen [Wed, 12 Mar 2008 11:38:29 +0000 (11:38 +0000)]
Updated changelog.

16 years agoFIXED: pz2.js would break in IE because the DOMElement is missing hasAttributes metho...
Jakub Skoczen [Wed, 12 Mar 2008 11:36:57 +0000 (11:36 +0000)]
FIXED: pz2.js would break in IE because the DOMElement is missing hasAttributes method. (bug #2103)

16 years agoSmallish fix.
Jakub Skoczen [Wed, 20 Feb 2008 13:41:50 +0000 (13:41 +0000)]
Smallish fix.

16 years agoAdded documentation on ajax client development with pz2.js
Jakub Skoczen [Wed, 20 Feb 2008 13:04:23 +0000 (13:04 +0000)]
Added documentation on ajax client development with pz2.js

16 years agoVersion bumped.
Jakub Skoczen [Wed, 20 Feb 2008 08:28:41 +0000 (08:28 +0000)]
Version bumped.

16 years agoFixed precedence rules for wildcards, I hope
Sebastian Hammer [Wed, 20 Feb 2008 06:22:32 +0000 (06:22 +0000)]
Fixed precedence rules for wildcards, I hope

16 years agoBumped version number. However, wildcard handling seems buggy.
Jakub Skoczen [Tue, 19 Feb 2008 14:54:58 +0000 (14:54 +0000)]
Bumped version number. However, wildcard handling seems buggy.

16 years agoNarrower search for wikipedia.
Jakub Skoczen [Tue, 19 Feb 2008 10:57:37 +0000 (10:57 +0000)]
Narrower search for wikipedia.

16 years agoUsing yaz_daemon rather than pazpar2_process.
Adam Dickmeiss [Mon, 18 Feb 2008 19:33:32 +0000 (19:33 +0000)]
Using yaz_daemon rather than pazpar2_process.

16 years agoFixed bug 2100
Sebastian Hammer [Sat, 16 Feb 2008 04:32:54 +0000 (04:32 +0000)]
Fixed bug 2100

16 years agoChanged example file to use database wildcard
Sebastian Hammer [Sat, 16 Feb 2008 04:32:41 +0000 (04:32 +0000)]
Changed example file to use database wildcard

16 years agoEnabled database wildcards, Bug #2100
Sebastian Hammer [Sat, 16 Feb 2008 04:28:55 +0000 (04:28 +0000)]
Enabled database wildcards, Bug #2100

16 years agoDate was screwed.
Jakub Skoczen [Thu, 14 Feb 2008 14:45:57 +0000 (14:45 +0000)]
Date was screwed.

16 years agobumped version number.
Jakub Skoczen [Thu, 14 Feb 2008 13:39:18 +0000 (13:39 +0000)]
bumped version number.

16 years agoModified XML parsing. Bugs #2066 #2098
Jakub Skoczen [Thu, 14 Feb 2008 12:20:24 +0000 (12:20 +0000)]
Modified XML parsing. Bugs #2066 #2098
Simplified record method.

16 years agoRequire autoconf 2.60 (bug #2050)
Adam Dickmeiss [Thu, 24 Jan 2008 22:09:21 +0000 (22:09 +0000)]
Require autoconf 2.60 (bug #2050)

16 years agoAdded swich to use a pazpar2 php proxy (requires masterkey-core)
Jakub Skoczen [Tue, 15 Jan 2008 13:59:18 +0000 (13:59 +0000)]
Added swich to use a pazpar2 php proxy (requires masterkey-core)

16 years agoAvoid mixed-stmt declare
Adam Dickmeiss [Sat, 22 Dec 2007 17:10:37 +0000 (17:10 +0000)]
Avoid mixed-stmt declare

16 years agoRemoving bug in the record method.
Jakub Skoczen [Thu, 20 Dec 2007 13:09:40 +0000 (13:09 +0000)]
Removing bug in the record method.

16 years agoChanged AC_CHECK_ICU is using AC_ARG_WITH.
Adam Dickmeiss [Mon, 10 Dec 2007 22:05:09 +0000 (22:05 +0000)]
Changed AC_CHECK_ICU is using AC_ARG_WITH.

16 years agoRemoved quoted var.
Jakub Skoczen [Tue, 13 Nov 2007 13:07:28 +0000 (13:07 +0000)]
Removed quoted var.

16 years agoWhen parsing detailed record the subject nodes are placed in an array.
Jakub Skoczen [Tue, 13 Nov 2007 12:51:29 +0000 (12:51 +0000)]
When parsing detailed record the subject nodes are placed in an array.

16 years agoChanges to make it more correct Danmarc
Per M. Hansen [Tue, 13 Nov 2007 10:41:03 +0000 (10:41 +0000)]
Changes to make it more correct Danmarc

16 years agoTowards formal release 1.0.5 (Debian 1.0.5-2). PAZPAR2.1.0.5
Adam Dickmeiss [Fri, 9 Nov 2007 16:59:27 +0000 (16:59 +0000)]
Towards formal release 1.0.5 (Debian 1.0.5-2).

16 years agoDeal with ICU not returning sortkey.
Adam Dickmeiss [Fri, 9 Nov 2007 10:43:58 +0000 (10:43 +0000)]
Deal with ICU not returning sortkey.

If pp2_get_sort returns NULL, the display string is used for sort
and a warning is issued. This could be a fix for bugs #1858, #1634.
But we need to know why a NULL sortkey is returned.

16 years agopreparing release 1.0.5 with JS errors corrected
Marc Cromme [Thu, 1 Nov 2007 11:16:38 +0000 (11:16 +0000)]
preparing release 1.0.5 with JS errors corrected

16 years agoavoid referencing XML element text when no data in XML element, thus preventing crashes
Marc Cromme [Thu, 1 Nov 2007 10:59:32 +0000 (10:59 +0000)]
avoid referencing XML element text when no data in XML element, thus preventing crashes

16 years agoIntroduced on_init event handler.
Jakub Skoczen [Wed, 31 Oct 2007 10:29:01 +0000 (10:29 +0000)]
Introduced on_init event handler.

16 years agoFixed syntax error.
Adam Dickmeiss [Wed, 31 Oct 2007 10:22:33 +0000 (10:22 +0000)]
Fixed syntax error.

16 years agoAdded 'date' element type accepting YYYYMMDD
Sebastian Hammer [Wed, 31 Oct 2007 05:29:08 +0000 (05:29 +0000)]
Added 'date' element type accepting YYYYMMDD

16 years agoShow command output pasrsing: keeping location nodes in an array rather than hash.
Jakub Skoczen [Tue, 30 Oct 2007 13:41:05 +0000 (13:41 +0000)]
Show command output pasrsing: keeping location nodes in an array rather than hash.

16 years agoFixed bug #1794: Pazpar2 does not return valid XML.
Adam Dickmeiss [Sun, 28 Oct 2007 18:55:26 +0000 (18:55 +0000)]
Fixed bug #1794: Pazpar2 does not return valid XML.

The routine, error, was modified so that 'addinfo' in error message is
generated using xmlputs.

16 years agoDebian 1.0.4-4
Adam Dickmeiss [Tue, 9 Oct 2007 05:48:28 +0000 (05:48 +0000)]
Debian 1.0.4-4

16 years agoAdded support for retrieval of records in binary.
Adam Dickmeiss [Mon, 8 Oct 2007 13:19:22 +0000 (13:19 +0000)]
Added support for retrieval of records in binary.

16 years agoAdded metadata title-number-section (245 h)
Adam Dickmeiss [Thu, 4 Oct 2007 12:01:15 +0000 (12:01 +0000)]
Added metadata title-number-section (245 h)

16 years agoDanmarc2 XSL.
Per M. Hansen [Thu, 4 Oct 2007 09:52:28 +0000 (09:52 +0000)]
Danmarc2 XSL.

16 years agoDebian package 1.0.4-3.
Adam Dickmeiss [Tue, 2 Oct 2007 12:36:38 +0000 (12:36 +0000)]
Debian package 1.0.4-3.

16 years agoUse queue for raw show; to solve Bug #1644.
Adam Dickmeiss [Tue, 2 Oct 2007 12:11:14 +0000 (12:11 +0000)]
Use queue for raw show; to solve Bug #1644.
The client system now makes a queue of requests to be carried out
(struct show_raw). Howevever, HTTP connection closing could be handled
more elegantly (to say the least).

16 years agoRefactoring.
Jakub Skoczen [Tue, 2 Oct 2007 12:09:40 +0000 (12:09 +0000)]
Refactoring.

16 years agoUsing closures instead of global variables.
Jakub Skoczen [Tue, 2 Oct 2007 11:47:50 +0000 (11:47 +0000)]
Using closures instead of global variables.

16 years agoRemoving mk related classes.
Jakub Skoczen [Tue, 2 Oct 2007 10:33:18 +0000 (10:33 +0000)]
Removing mk related classes.

16 years agoEnsure show watch is fired if client is disconnected.
Adam Dickmeiss [Tue, 2 Oct 2007 10:32:03 +0000 (10:32 +0000)]
Ensure show watch is fired if client is disconnected.
When a client is disconnected connection_destroy and, in turn,
client_disconnect is invoked. This function now calls client_set_state
rather than setting the state directly.

16 years agoFixed bug #1646. http error: when trying to callpz2.
Adam Dickmeiss [Tue, 2 Oct 2007 10:11:56 +0000 (10:11 +0000)]
Fixed bug #1646. http error: when trying to callpz2.
Pazpar2 crashed due to a memory reference when a connection was
NULL for a client. It could become NULL if the client would lose
the connection (e.g. timeout).
Also added a better diagnostic for the case where multiple record with
requests are received by Pazpar2. Bug #1644.

16 years agoRemoved target_timeout from parameters
Adam Dickmeiss [Tue, 2 Oct 2007 10:08:39 +0000 (10:08 +0000)]
Removed target_timeout from parameters

16 years agoDebian 1.0.4-2 with lower connect timeout
Adam Dickmeiss [Tue, 2 Oct 2007 08:40:03 +0000 (08:40 +0000)]
Debian 1.0.4-2 with lower connect timeout

16 years agoLower _connect_ timeout to 15 seconds.
Adam Dickmeiss [Tue, 2 Oct 2007 07:50:12 +0000 (07:50 +0000)]
Lower _connect_ timeout to 15 seconds.

16 years agoTowards 1.0.4. PAZPAR2.1.0.4
Adam Dickmeiss [Fri, 28 Sep 2007 12:20:36 +0000 (12:20 +0000)]
Towards 1.0.4.

16 years agoThrowing errors (instead of polling) when the WS response is malformed (non well...
Jakub Skoczen [Fri, 28 Sep 2007 10:14:09 +0000 (10:14 +0000)]
Throwing errors (instead of polling) when the WS response is malformed (non well-formed XML or missing <status>OK</status> node).
Error handler for catching asynchronously thrown errors.

16 years agoAdded function document.transformToDoc.
Anders S. Mortensen [Thu, 27 Sep 2007 09:15:48 +0000 (09:15 +0000)]
Added function document.transformToDoc.

16 years agoSlightly better diagnostics for HTTP parse errors
Adam Dickmeiss [Wed, 26 Sep 2007 09:09:15 +0000 (09:09 +0000)]
Slightly better diagnostics for HTTP parse errors

16 years agoDebian package 1.0.3-6 with HTTP fixes.
Adam Dickmeiss [Wed, 26 Sep 2007 08:56:29 +0000 (08:56 +0000)]
Debian package 1.0.3-6 with HTTP fixes.

16 years agoFixed bug #1659: Honor LF in HTTP headers.
Adam Dickmeiss [Wed, 26 Sep 2007 08:53:53 +0000 (08:53 +0000)]
Fixed bug #1659: Honor LF in HTTP headers.
Fixed bug #1665: HTTP Parse errros should produce HTTP errors.
Set negotiated HTTP version in HTTP response (i.e. HTTP 1.0 response
for HTTP 1.0 requests).
Perform proper Keep alive negotiation by inspecting 'Connection' in
HTTP header.

16 years agoPazpar2 honors POST requests and proxy's them too if proxy is enabled.
Adam Dickmeiss [Sun, 23 Sep 2007 15:39:24 +0000 (15:39 +0000)]
Pazpar2 honors POST requests and proxy's them too if proxy is enabled.
Bug #1095. URI arguments are interpreted if Content-Type is
application/x-www-form-urlencoded. There are areas, still, where Pazpar2
needs tweaks more functionality in order to be HTTP 1.1 compliant - most
notably support for chunked encoding. The HTTP code also assumes that
HTTP lines ends with \r\n. While that it according to spec, not all
clients do so (YAZ bug #806).

16 years agoClient state Client_Connected is now considered active. It's the
Adam Dickmeiss [Thu, 20 Sep 2007 09:22:37 +0000 (09:22 +0000)]
Client state Client_Connected is now considered active. It's the
stage after connection has been established but before Init has
been sent. This is another fix for bug #1628.

16 years agoMore active trickery. Setting state to Client_Continue instead Client_Idle
Adam Dickmeiss [Thu, 20 Sep 2007 08:34:50 +0000 (08:34 +0000)]
More active trickery. Setting state to Client_Continue instead Client_Idle
when receiving successful responses (init, search, present).

16 years agoDebian package for fix of bug #1628.
Adam Dickmeiss [Thu, 20 Sep 2007 08:14:21 +0000 (08:14 +0000)]
Debian package for fix of bug #1628.

16 years agoFixed bug #1628: show command returns zero hits when searching a slow target.
Adam Dickmeiss [Thu, 20 Sep 2007 08:13:26 +0000 (08:13 +0000)]
Fixed bug #1628: show command returns zero hits when searching a slow target.
The problem was that a client was in Client_Idle case when it was actually
about to perform a search or other operation. The problem was in function
client_prep_connection where a client state was set to CLient_Idle if
connection was already open. This is wrong. The client is not idle: it
is about to perform a search. A new client state is therefore needed:
Client_Continue, which is like Client_Idle but differs in that a client
is considered active. Neither Connecting or Connected are the same stage
because these are states prior to Init Handshake with target.

16 years agoDeal with targets that return negative hit counts.
Adam Dickmeiss [Wed, 19 Sep 2007 13:23:35 +0000 (13:23 +0000)]
Deal with targets that return negative hit counts.

16 years agoTerminate blocking show if active clients reaches zero
Adam Dickmeiss [Wed, 19 Sep 2007 13:00:01 +0000 (13:00 +0000)]
Terminate blocking show if active clients reaches zero

16 years agoRemoved log statement with undefined behavior PAZPAR2.1.0.3
Adam Dickmeiss [Wed, 19 Sep 2007 09:49:22 +0000 (09:49 +0000)]
Removed log statement with undefined behavior

16 years agoIgnore test program
Adam Dickmeiss [Wed, 19 Sep 2007 09:46:26 +0000 (09:46 +0000)]
Ignore test program

16 years agoTowards 1.0.3
Adam Dickmeiss [Wed, 19 Sep 2007 09:45:36 +0000 (09:45 +0000)]
Towards 1.0.3

16 years agoOne OpenUrl per merged record.
Jakub Skoczen [Mon, 17 Sep 2007 08:43:17 +0000 (08:43 +0000)]
One OpenUrl per merged record.

16 years agoFile test_icu.cfg part of distribution.
Adam Dickmeiss [Sat, 15 Sep 2007 09:09:53 +0000 (09:09 +0000)]
File test_icu.cfg part of distribution.

16 years agoSolving bug 1581.
Jakub Skoczen [Fri, 14 Sep 2007 09:46:49 +0000 (09:46 +0000)]
Solving bug 1581.

16 years agopzHttpRequest: escape() used instead of encodeURI() for GET parameter values.
Jakub Skoczen [Wed, 12 Sep 2007 08:57:14 +0000 (08:57 +0000)]
pzHttpRequest: escape() used instead of encodeURI() for GET parameter values.

16 years agoFixed non-ICU compilation
Adam Dickmeiss [Wed, 12 Sep 2007 07:03:03 +0000 (07:03 +0000)]
Fixed non-ICU compilation

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

16 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

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

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

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

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

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

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

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

16 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

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

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

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

16 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

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

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

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

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

16 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

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

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