From 6b3cf0738c53080781fedd852e26b299224af3c3 Mon Sep 17 00:00:00 2001 From: Adam Dickmeiss Date: Sun, 23 Feb 2003 21:10:05 +0000 Subject: [PATCH] Dates --- CHANGELOG | 30 +++++++++++++++++++++++++----- debian/changelog | 2 +- doc/introduction.xml | 14 +++++++------- z39.50/z3950v3.asn | 1 + zutil/zget.c | 3 ++- 5 files changed, 36 insertions(+), 14 deletions(-) diff --git a/CHANGELOG b/CHANGELOG index eb56326..738c717 100644 --- a/CHANGELOG +++ b/CHANGELOG @@ -2,19 +2,37 @@ Possible compatibility problems with earlier versions marked with '*'. --- 1.9.3 2003/02/23 -Fixed problem with C compiler include path in wrong order. +* String Identifers for Schemas (Amendment 5). +http://lcweb.loc.gov/z3950/agency/amend/am5.html +Old definition for schema + Odr_oid *schema; /* OPT */ +New: + int which; + union { + Odr_oid *oid; + Z_InternationalString *uri; + #define Z_Schema_oid 1 + #define Z_Schema_uri 2 + } schema; /* OPT */ + +* resultCount parameter to Sort Response (Amendment 1). +http://lcweb.loc.gov/z3950/agency/amend/am1.html Support for SRW 1.0 over HTTP. This is an optional feature and requires libxml2 to operate. Enable SOAP by specifying --with-xml2 -for configure. +for configure. + +Generic frontend server supports HTTP/SOAP/SRW and Z39.50/BER +on the same port. SRW SearchRetrieveRequests are mapped +to bend_init,bend_search,bend_fetch,bend_close. Z39.50 Query Type-104 added - to facilitate CQL within Z39.50. CQL support. Source is directory 'cql'. CQL is supported in ZOOM (both SRW and Z39.50) and the YAZ client (Z39.50 only). -ZOOM connections are SRW based if host/port is specified -as http. e.g. z = ZOOM_connection_new("http://myserver"); +ZOOM connections are SRW based if schem http is used for hostname +in connect, e.g. z = ZOOM_connection_new("http://myserver"); ZOOM_query may be of type CQL, e.g. ZOOM_query_cql(q, "dc.title=x"); CCL proximity operators !n, %n converts to PQF @prox 0 n 1 2 k 2 @@ -22,6 +40,8 @@ and @prox 0 n 0 1 k 2 respectively, meaning: exlusion=false, distance=n, order=true/false, relation=le, prox unit=word. If n is omitted, distance 1 is used. +Fixed problem with C compiler include path in wrong order. + For TCP/IP COMSTACK, set recv buffer to an appropriate "large" value on Solaris. Patch from Ko van der Sloot. @@ -235,7 +255,7 @@ New ZOOM function, ZOOM_connection_last_event, that returns type of last event (such as "receive data", "send data", "apdu received", etc. -New ZOOM option, schema, that specifies shema OID for retrieval. +New ZOOM option, schema, that specifies schema for retrieval. New CCL feature. Qualifiers can be aliases for one or more other qualifiers (if more than one is given, OR is used). diff --git a/debian/changelog b/debian/changelog index 138750e..660cfad 100644 --- a/debian/changelog +++ b/debian/changelog @@ -2,7 +2,7 @@ yaz (1.9.3-1) unstable; urgency=low * Upstream. - -- Adam Dickmeiss Tue, 18 Feb 2003 09:11:40 +0100 + -- Adam Dickmeiss Sun, 23 Feb 2003 22:09:08 +0100 yaz (1.9.2-2) unstable; urgency=low diff --git a/doc/introduction.xml b/doc/introduction.xml index 6d4df12..e8150ad 100644 --- a/doc/introduction.xml +++ b/doc/introduction.xml @@ -1,4 +1,4 @@ - + Introduction @@ -10,14 +10,10 @@ Properties of &yaz;: - Fast operation. The C based BER encoders/decoders as well - as the server component of &yaz; is very fast. - - Complete Z39.50 - version 3 support. All newer extensions - including Z39.50-2000 have been incorporated. + version 3 support. Amendments and Z39.50-2002 revision is + supported. Supports @@ -59,6 +55,10 @@ on Windows using Microsoft Visual C++. + Fast operation. The C based BER encoders/decoders as well + as the server component of &yaz; is very fast. + + Liberal license that allows for commercial use of &yaz;. diff --git a/z39.50/z3950v3.asn b/z39.50/z3950v3.asn index 09185f1..1cbe780 100644 --- a/z39.50/z3950v3.asn +++ b/z39.50/z3950v3.asn @@ -565,6 +565,7 @@ SortResponse ::= SEQUENCE{ unchanged (3), none (4)} OPTIONAL, diagnostics [5] IMPLICIT SEQUENCE OF DiagRec OPTIONAL, + resultCount [6] IMPLICIT INTEGER OPTIONAL, otherInfo OtherInformation OPTIONAL} -- begin auxiliary definitions for Sort diff --git a/zutil/zget.c b/zutil/zget.c index 9ee6801..cccb08f 100644 --- a/zutil/zget.c +++ b/zutil/zget.c @@ -3,7 +3,7 @@ * See the file LICENSE for details. * Sebastian Hammer, Adam Dickmeiss * - * $Id: zget.c,v 1.13 2003-01-06 08:20:29 adam Exp $ + * $Id: zget.c,v 1.14 2003-02-23 21:10:07 adam Exp $ */ #include @@ -334,6 +334,7 @@ Z_SortResponse *zget_SortResponse(ODR o) r->sortStatus = odr_intdup(o, Z_SortStatus_success); r->resultSetStatus = odr_intdup(o, Z_SortResultSetStatus_empty); r->diagnostics = 0; + r->resultCount = 0; r->otherInfo = 0; return r; } -- 1.7.10.4