Adam Dickmeiss [Sat, 15 Mar 2008 21:26:26 +0000 (22:26 +0100)]
Generate ChangeLog using Git.
Adam Dickmeiss [Wed, 12 Mar 2008 12:11:40 +0000 (12:11 +0000)]
More changes.
Adam Dickmeiss [Wed, 12 Mar 2008 11:46:31 +0000 (11:46 +0000)]
Version 1.0.6
Jakub Skoczen [Wed, 12 Mar 2008 11:38:29 +0000 (11:38 +0000)]
Updated changelog.
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)
Jakub Skoczen [Wed, 20 Feb 2008 13:41:50 +0000 (13:41 +0000)]
Smallish fix.
Jakub Skoczen [Wed, 20 Feb 2008 13:04:23 +0000 (13:04 +0000)]
Added documentation on ajax client development with pz2.js
Jakub Skoczen [Wed, 20 Feb 2008 08:28:41 +0000 (08:28 +0000)]
Version bumped.
Sebastian Hammer [Wed, 20 Feb 2008 06:22:32 +0000 (06:22 +0000)]
Fixed precedence rules for wildcards, I hope
Jakub Skoczen [Tue, 19 Feb 2008 14:54:58 +0000 (14:54 +0000)]
Bumped version number. However, wildcard handling seems buggy.
Jakub Skoczen [Tue, 19 Feb 2008 10:57:37 +0000 (10:57 +0000)]
Narrower search for wikipedia.
Adam Dickmeiss [Mon, 18 Feb 2008 19:33:32 +0000 (19:33 +0000)]
Using yaz_daemon rather than pazpar2_process.
Sebastian Hammer [Sat, 16 Feb 2008 04:32:54 +0000 (04:32 +0000)]
Fixed bug 2100
Sebastian Hammer [Sat, 16 Feb 2008 04:32:41 +0000 (04:32 +0000)]
Changed example file to use database wildcard
Sebastian Hammer [Sat, 16 Feb 2008 04:28:55 +0000 (04:28 +0000)]
Enabled database wildcards, Bug #2100
Jakub Skoczen [Thu, 14 Feb 2008 14:45:57 +0000 (14:45 +0000)]
Date was screwed.
Jakub Skoczen [Thu, 14 Feb 2008 13:39:18 +0000 (13:39 +0000)]
bumped version number.
Jakub Skoczen [Thu, 14 Feb 2008 12:20:24 +0000 (12:20 +0000)]
Modified XML parsing. Bugs #2066 #2098
Simplified record method.
Adam Dickmeiss [Thu, 24 Jan 2008 22:09:21 +0000 (22:09 +0000)]
Require autoconf 2.60 (bug #2050)
Jakub Skoczen [Tue, 15 Jan 2008 13:59:18 +0000 (13:59 +0000)]
Added swich to use a pazpar2 php proxy (requires masterkey-core)
Adam Dickmeiss [Sat, 22 Dec 2007 17:10:37 +0000 (17:10 +0000)]
Avoid mixed-stmt declare
Jakub Skoczen [Thu, 20 Dec 2007 13:09:40 +0000 (13:09 +0000)]
Removing bug in the record method.
Adam Dickmeiss [Mon, 10 Dec 2007 22:05:09 +0000 (22:05 +0000)]
Changed AC_CHECK_ICU is using AC_ARG_WITH.
Jakub Skoczen [Tue, 13 Nov 2007 13:07:28 +0000 (13:07 +0000)]
Removed quoted var.
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.
Per M. Hansen [Tue, 13 Nov 2007 10:41:03 +0000 (10:41 +0000)]
Changes to make it more correct Danmarc
Adam Dickmeiss [Fri, 9 Nov 2007 16:59:27 +0000 (16:59 +0000)]
Towards formal release 1.0.5 (Debian 1.0.5-2).
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.
Marc Cromme [Thu, 1 Nov 2007 11:16:38 +0000 (11:16 +0000)]
preparing release 1.0.5 with JS errors corrected
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
Jakub Skoczen [Wed, 31 Oct 2007 10:29:01 +0000 (10:29 +0000)]
Introduced on_init event handler.
Adam Dickmeiss [Wed, 31 Oct 2007 10:22:33 +0000 (10:22 +0000)]
Fixed syntax error.
Sebastian Hammer [Wed, 31 Oct 2007 05:29:08 +0000 (05:29 +0000)]
Added 'date' element type accepting YYYYMMDD
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.
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.
Adam Dickmeiss [Tue, 9 Oct 2007 05:48:28 +0000 (05:48 +0000)]
Debian 1.0.4-4
Adam Dickmeiss [Mon, 8 Oct 2007 13:19:22 +0000 (13:19 +0000)]
Added support for retrieval of records in binary.
Adam Dickmeiss [Thu, 4 Oct 2007 12:01:15 +0000 (12:01 +0000)]
Added metadata title-number-section (245 h)
Per M. Hansen [Thu, 4 Oct 2007 09:52:28 +0000 (09:52 +0000)]
Danmarc2 XSL.
Adam Dickmeiss [Tue, 2 Oct 2007 12:36:38 +0000 (12:36 +0000)]
Debian package 1.0.4-3.
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).
Jakub Skoczen [Tue, 2 Oct 2007 12:09:40 +0000 (12:09 +0000)]
Refactoring.
Jakub Skoczen [Tue, 2 Oct 2007 11:47:50 +0000 (11:47 +0000)]
Using closures instead of global variables.
Jakub Skoczen [Tue, 2 Oct 2007 10:33:18 +0000 (10:33 +0000)]
Removing mk related classes.
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.
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.
Adam Dickmeiss [Tue, 2 Oct 2007 10:08:39 +0000 (10:08 +0000)]
Removed target_timeout from parameters
Adam Dickmeiss [Tue, 2 Oct 2007 08:40:03 +0000 (08:40 +0000)]
Debian 1.0.4-2 with lower connect timeout
Adam Dickmeiss [Tue, 2 Oct 2007 07:50:12 +0000 (07:50 +0000)]
Lower _connect_ timeout to 15 seconds.
Adam Dickmeiss [Fri, 28 Sep 2007 12:20:36 +0000 (12:20 +0000)]
Towards 1.0.4.
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.
Anders S. Mortensen [Thu, 27 Sep 2007 09:15:48 +0000 (09:15 +0000)]
Added function document.transformToDoc.
Adam Dickmeiss [Wed, 26 Sep 2007 09:09:15 +0000 (09:09 +0000)]
Slightly better diagnostics for HTTP parse errors
Adam Dickmeiss [Wed, 26 Sep 2007 08:56:29 +0000 (08:56 +0000)]
Debian package 1.0.3-6 with HTTP fixes.
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.
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).
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.
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).
Adam Dickmeiss [Thu, 20 Sep 2007 08:14:21 +0000 (08:14 +0000)]
Debian package for fix of bug #1628.
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.
Adam Dickmeiss [Wed, 19 Sep 2007 13:23:35 +0000 (13:23 +0000)]
Deal with targets that return negative hit counts.
Adam Dickmeiss [Wed, 19 Sep 2007 13:00:01 +0000 (13:00 +0000)]
Terminate blocking show if active clients reaches zero
Adam Dickmeiss [Wed, 19 Sep 2007 09:49:22 +0000 (09:49 +0000)]
Removed log statement with undefined behavior
Adam Dickmeiss [Wed, 19 Sep 2007 09:46:26 +0000 (09:46 +0000)]
Ignore test program
Adam Dickmeiss [Wed, 19 Sep 2007 09:45:36 +0000 (09:45 +0000)]
Towards 1.0.3
Jakub Skoczen [Mon, 17 Sep 2007 08:43:17 +0000 (08:43 +0000)]
One OpenUrl per merged record.
Adam Dickmeiss [Sat, 15 Sep 2007 09:09:53 +0000 (09:09 +0000)]
File test_icu.cfg part of distribution.
Jakub Skoczen [Fri, 14 Sep 2007 09:46:49 +0000 (09:46 +0000)]
Solving bug 1581.
Jakub Skoczen [Wed, 12 Sep 2007 08:57:14 +0000 (08:57 +0000)]
pzHttpRequest: escape() used instead of encodeURI() for GET parameter values.
Adam Dickmeiss [Wed, 12 Sep 2007 07:03:03 +0000 (07:03 +0000)]
Fixed non-ICU compilation
Jakub Skoczen [Tue, 11 Sep 2007 15:52:13 +0000 (15:52 +0000)]
Getting rid of Bug 1364.
Adam Dickmeiss [Mon, 10 Sep 2007 16:34:45 +0000 (16:34 +0000)]
Fixed dist rule for test_icu..res files
Adam Dickmeiss [Mon, 10 Sep 2007 16:33:53 +0000 (16:33 +0000)]
URLs for ICU testing.
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.
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.
Adam Dickmeiss [Mon, 10 Sep 2007 16:04:20 +0000 (16:04 +0000)]
Fixed bug #1535: Missing term in output for some configuration(s).
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.
Adam Dickmeiss [Mon, 10 Sep 2007 09:10:16 +0000 (09:10 +0000)]
nxml indent (no semantic change)
Adam Dickmeiss [Mon, 10 Sep 2007 08:42:48 +0000 (08:42 +0000)]
Added option -V which shows version information.
Adam Dickmeiss [Mon, 10 Sep 2007 08:18:19 +0000 (08:18 +0000)]
Factor out most of the regression test to separate script
Adam Dickmeiss [Fri, 7 Sep 2007 10:46:33 +0000 (10:46 +0000)]
Added small test for existing metadata character normalization system.
Adam Dickmeiss [Fri, 7 Sep 2007 10:27:14 +0000 (10:27 +0000)]
Indent
Adam Dickmeiss [Wed, 5 Sep 2007 09:13:32 +0000 (09:13 +0000)]
Removed debug message
Adam Dickmeiss [Wed, 5 Sep 2007 08:43:53 +0000 (08:43 +0000)]
Debian package 1.0.2-8
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.
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.
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.
Adam Dickmeiss [Mon, 3 Sep 2007 20:13:22 +0000 (20:13 +0000)]
Allow empty string for pazpar2path
Adam Dickmeiss [Mon, 3 Sep 2007 09:56:34 +0000 (09:56 +0000)]
New Debian package with updated pz2.js
Jakub Skoczen [Thu, 30 Aug 2007 13:43:43 +0000 (13:43 +0000)]
removing typo.
Jakub Skoczen [Thu, 30 Aug 2007 13:24:37 +0000 (13:24 +0000)]
Changes to fully support accessing pazpar2 through a proxy.
Marc Cromme [Thu, 30 Aug 2007 08:45:08 +0000 (08:45 +0000)]
better error recording and output of example XML config file added
Sebastian Hammer [Tue, 28 Aug 2007 21:11:21 +0000 (21:11 +0000)]
Eliminated exits. Pointer type change, to remove warning
Sebastian Hammer [Tue, 28 Aug 2007 16:47:30 +0000 (16:47 +0000)]
This should address Bug 1433, OpenURL links appearing where they should not.
marc21.xsl normalization stylesheet was generating metadata element whether
an OpenURL resolver was known or not. This caused display stylesheet to
generate the element. Could have been fixed either place.
Adam Dickmeiss [Wed, 22 Aug 2007 13:25:55 +0000 (13:25 +0000)]
Create a symlink rather than a file in /etc/apache2/conf.d
Adam Dickmeiss [Wed, 22 Aug 2007 09:54:57 +0000 (09:54 +0000)]
Official version 1.0.2.
Adam Dickmeiss [Fri, 17 Aug 2007 12:39:11 +0000 (12:39 +0000)]
Changed session_setting_oneval to return 'const string' rather than
string. Settings returned are strictly read-only.
Adam Dickmeiss [Fri, 17 Aug 2007 12:25:26 +0000 (12:25 +0000)]
Fixed bug #1355: CCL-queries messed up by binary chars.
Apparently the yaz_iconv_open was passed an empty string - returned
from absent queryencoding setting. We now check for empty string..
I don't like empty string and NULL value to be messed. Function
session_setting_oneval should return NULL for absent value. Empty
string for empty string.
Adam Dickmeiss [Fri, 17 Aug 2007 12:11:50 +0000 (12:11 +0000)]
Added test for bug #1355.
Jakub Skoczen [Fri, 17 Aug 2007 11:29:36 +0000 (11:29 +0000)]
Added open-url-resolver setting to the default set of targets.