cql available in yaz-client
[yaz-moved-to-github.git] / CHANGELOG
index 6b6246d..eb3f90c 100644 (file)
--- a/CHANGELOG
+++ b/CHANGELOG
@@ -1,5 +1,137 @@
 Possible compatibility problems with earlier versions marked with '*'.
 
+Fix compile bug for systems that have nl_langinfo but CODESET undefined.
+
+Added missing PQF transform rules for <= and >= . Thanks to Peter Popovics.
+
+Added scan for the ZOOM shell (zoomsh).
+
+--- 2.0 2003/02/23
+
+* 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.
+
+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 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
+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.
+
+New MARC decode API. All new functions operate on a yaz_marc_t
+handle. The most important new functions are: yaz_marc_create,
+yaz_marc_decode_{buf,wrbuf}, yaz_marc_destroy, .. to create handler,
+decode and destroy respectively. Decoder can produce formats
+MARC line, simple XML, OAI MARC and MARC XML (LoC). See
+include/yaz/marcdisp.h.
+
+YAZ Iconv utility now supports MARC8 decoding (marc8.c). Converts
+to UTF-8, UCS-32, wchar_t or Latin-1.
+
+* Prototypes for yaz_iconv_-functions moved to separate header 
+include/yaz/yaz-iconv.h.
+
+Make a few private functions 'static' in unix.c. This prevents
+duplicate unix_close in PHP with YAZ and imap. PHP Bug 20977.
+
+For ZOOM connection, the options targetImplementation{Id,Name,Version}
+are set when Init Response is received.
+
+New function ZOOM_connection_error_x similar to ZOOM_connection_error
+but returns diagnostic set as well.
+
+New function yaz_strerror which is a portable wrapper for
+strerror/strerror_r/GetLastMessage.
+
+* ZOOM_record_get supports type "xml" in which case MARC XML (from LOC)
+is returned for MARC. If type is "oai", then OAI MARC is returned.
+
+Fix creation of lib/yaz-config so it works if srcdir != objdir. Patch
+from Kang-Jin Lee.
+
+--- 1.9.2 2002/11/26
+
+yaz_marc_decode uses OAI MARC as XML format for ISO2709 records.
+
+Fix bad race conditions on SIGTERM and terminate gracefully in
+frontend server.
+
+Move retrieval (data1) module to Zebra since nobody seems to be
+using it.
+
+Add GRS-1 render for ZOOM using same format as yaz-client.
+
+--- 1.9.1 2002/10/05
+
+Added man pages: yaz-client(1), yaz-ztest(8), yaz(7), zoomsh(1).
+
+Fix broken ESpec handling in data1 module.
+
+SGML reader parses comments and makes them part of the data1 tree.
+
+Added several type casts so that YAZ compiles as C++ code.
+
+ZOOM didn't handle PDU encoding failures properly.
+
+Added more Bib-1 diagnostics (approved extensions).
+
+GNU configure: better check for iconv.
+
+More portable use of accept, getpeername. Check for socklen_t. Use
+int/size_t if socklen_t is not defined.
+
+--- 1.9 2002/09/06
+
+PQF parser rejects bad queries - including those with extra
+characters in them. PQF parser used to silently ignore that.
+Cleaner API for PQF added, which allows you to get detailed
+error information for bad queries (see yaz/pquery.h).
+
+Fixed bug in ZOOM_record_get for type "database".
+
+Implemented mini iconv library supporting conversions between
+UTF-8, UCS4, UCS4LE and ISO-8859-1. Implemented in util/siconv.c.
+
+* Removed XML reader (d1_expat.c). It's part of Zebra instead.
+
+--- 1.8.9 2002/08/20
+
+Fixed ZOOM C record cache so that preferredRecordSyntax and
+elementSetName is used to check for already fetched records.
+
 --- 1.8.8 2002/08/02
 
 Added three members in bend_initrequest structure to facilitate
@@ -129,7 +261,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).