New OID-translation functions
[yaz-moved-to-github.git] / CHANGELOG
index 6b53756..66a644d 100644 (file)
--- a/CHANGELOG
+++ b/CHANGELOG
 Possible compatibility problems with earlier versions marked with '*'.
 
---- 1.9.3 2003/02/20
+Add three new utility functions for translating OIDs between various
+formats -- symbolic name such as "Usmarc", minus-1-terminated int
+arrays and dotted strings such as "1.2.840.10003.9.5.1":
+ int *oid_name_to_oid(oid_class oclass, const char *name, int *oid);
+ char *oid_to_dotstring(const int *oid, char *oidbuf);
+ char *oid_name_to_dotstring(oid_class oclass, const char *name, char *oidbuf);
 
-Fixed problem with C compiler include path in wrong order.
+Reverted modifications for ES Update definition for z_IU0Update 
+(OID 1.2.840.10003.9.5.1 and 1.2.840.10003.9.5). The definition
+is back to YAZ 2.0.2.
+
+String value attributes for CCL parser.
+
+--- 2.0.3 2003/06/20
+
+Fix CCL directive @case handling so that it affects string match for
+both CCL keywords and qualifiers.
+
+* ESFormat-Update updates. Packages with OID 1.2.840.10003.9.5.1 and
+1.2.840.10003.9.5 are now handled by the same decoder z_IU0Update .
+Decoder has been updated with ASN.1 changes as listed in
+http://lcweb.loc.gov/z3950/agency/defns/updateES.html
+Note that the "latest" DB Update, OID 1.2.840.10003.9.5.1.1 , handler
+z_IUUpdate, remains unchanged. 
+
+ZOOM_record_get may now return a record in a specific character set.
+For type use "form; charset=from[,to]" where form (render, xml, ..) ,
+"from" is the character set of record as returned by target. "to" is
+the character set to be returned. If omitted, "to" is UTF-8.
+
+YAZ ASN.1 compiler renamed from yaz-comp to yaz-asncomp
+
+New ODR utility, odr_getelement, which returns name of element for
+which encoding/decoding failed.
+
+Fixed ODR so that it returns error code OREQUIRED rather than ONONE
+in cases where a required element was omitted.
+
+Bug fix: some MARC8 sequences were not converted.
+
+New ZOOM option "step" which specifies number of records to be
+retrieved in one chunk. Used in conjunction with "start" and "count".
+
+SRW support for yaz-client. Use scheme http: to use it, e.g.
+ http://host:port/db
+
+yaz-client no longer does (un)intelligent character set conversions
+by default. Can be enabled with charset and marc_charset commands.
+
+xmalloc trace fix for 64-bit systems such as DEC alpha. 
+
+Solaris 2.6 compile fix.
+
+New function, cql_strerror() translates SRW error codes, as returned
+by cql_transform_error(), into human-readable English strings.  Used
+in yaz-client diagnostics when appropriate.
+
+New CQL2RPN query-type for the command-line yaz-client, parses CQL and
+converts it into a type-1 query which is sent to the server.  This
+makes CQL available for use with all Z-servers, as opposed to the tiny
+minority that can handle CQL queries themselves.
+
+--- 2.0.2 2003/04/28
+
+New Debian package layout similar to the Redhat Package layout.
+
+New ZOOM events ZOOM_EVENT_RECV_{RECORD,SEARCH} for receiving a record
+and search result respectively.
+
+--- 2.0.1 2003/04/25
+
+Redhat package is now several packages: libyaz (runtime libraries),
+libyaz-devel (development and documentation, and yaz (utility programs).
+Package spec file by Morten Bøgeskov.
+
+New member 'schema' in struct bend_fetch_rr which the name of requested
+schema (SRW/SRU) for record (or NULL if none was given). The fetch
+handler MAY set this to reflect the schema of the returned record.
+
+New member 'display_term' in struct scan_entry. GFS now sets member entries
+and allocates scan entries to be filled by user scan handler. In previous
+version, entries member was allocated by the scan handler. That still works,
+but the GFS will ignore member display_term - assuming it was NOT set by
+the handler. The fact that the GFS now allocates the entries both allows
+for new members and makes a scan handler easier to write.
+
+Fix CQL lex buffer overflow.
+
+SRW/SRU recordPacking. For SRW default recordPacking is string. For
+SRU default recordPacking is string.
+
+SRU protocol support for frontend server.
+
+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. 
+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 +139,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 +354,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).