1 Possible compatibility problems with earlier versions marked with '*'.
3 On UNIX, the generated makefile now supports a proper 'make install'.
4 The prefix can be set via GNU configure to set the install location
5 (default is /usr/local).
7 * YAZ programs client and ztest were renamed to yaz-client and
8 yaz-ztest to avoid conflicts when users install YAZ in "standard"
9 locations, such as /usr/bin,/usr/local/bin,etc.
11 * YAZ Header files were moved from include to include/yaz. YAZ Header
12 files are referred to as include <yaz/log.h> rather than <log.h>.
13 The YAZ include path (-I ..) is therefore the same as before. Programmers
14 should update their #include statements or use -Ipath/include/yaz
15 instead. The main motivation for doing this change is that YAZ header files
16 can be installed in "standard" locations /usr/include,/usr/local/include
17 without introducing conflicts, since ALL YAZ header files are stored
18 in subdirectory yaz (under /usr/include for example).
20 Compilation of YAZ for WIN32 is now handled by an nmake-style makefile
21 rather than project/workspace files. We switched because project files
22 are incompatible between Visual C++ 5 and 6. Refer to windows.txt for
25 Changed name of logging function, logf, to yaz_log, to prevent name
26 clash with some math-log functions. The YAZ header log.h defines logf
27 to yaz_log so there should be no incompatibilities by this modification.
29 Added bend_start/bend_stop handlers for server. These handler are
30 called on start/stop of server. For windows they are called whenever
31 a service is started/stopped.
33 * YAZ now auto-generates decoders/encoders for the Z39.50 protocol using
34 a fairly small ASN.1 compiler written in Tcl. The compiler is located
35 in util/yc.tcl. The auto-generated C code structures are, in a few
36 cases, incompatible with the old decoders. There are differences in the
37 following C structures Z_DiagRec, Z_External, Z_SortRequest, Z_SortResponse,
38 Z_AttributesPlusTerm, Z_ProximityOperator, Z_DefaultDiagFormat.
39 The preprocessor variable ASN_COMPILED is defined when the compiled
40 ASN.1 is being used. Stuff related to the auto-generated encoders
41 are located in sub directory <tt>z39.50</tt>.
43 Assigned OID for old DB Update (VAL_DBUPDATE0). Updated YAZ compiled
44 version so that it supports both new - and old version of DB Update
46 * Added 'name' parameter to ODR encoder/decoder routines to facilitate
47 pretty ODR print. Updated whole Z39.50 encoder/decoder to reflect the
48 change. The name parameter can be set to 0 in which no name is specified
49 for the construction. The macros odr_implicit and odr_explicit sets name
50 parameter to zero for the construction involved. New macros
51 odr_implicit_tag and odr_explicit_tag are similar to the others,
52 except that a name parameter is added. For programmers' that don't use
53 ODR they probably only need to change the call to z_APDU and z_External.
55 Added access control facility by interfacing the TCP wrapper library.
56 YAZ automatically attempts to find the TCP wrapper Library (-lwrap) and
57 tcpd.h on Unix systems. For the server, option -d<daemon> specifies the
58 name of the daemon and enables the access control as specified in
59 hosts.allow/hosts.deny. Refer to man pages tcpd(8) and hosts_access(5).
61 Fixed memory leak in ccl_find_str and ccl_qual_rm. Thanks to Hans van
62 den Dool <H.M.vdnDool@kub.nl>.
64 Added reference ID parameter to most functions in server API - refer
65 to backend.h. Thanks to Hans van den Dool <H.M.vdnDool@kub.nl>.
67 Changed name of ccl library to libccl.a (was ccl.a).
69 Fixed bug in decoder for Explain (Category TargetInfo).
71 Added support for GNU readline in client. Thanks to Jacob Poulsen
72 <ja7@dbc.dk>. GNU configure attempts to detect if readline is available.
74 * CHANGED DEFINITION OF ES: UPDATE (INCLUDING THE OID) to reflect the
75 new definition from the ZIG. NOTE THIS IF YOU HAVE AN UPDATE
76 IMPLEMENTATION! This change was made to the development version before
77 the ZIG decided to retract the amendment. If any users MUST be
78 compatible with the original Update definition, PLEASE CONTACT US, and
79 we will include a separate definition corresponding to the old Update
80 ES. Note that because of the change to the ASN.1 of the
81 TaskPackageRecordStructure we cannot define a single structure that
82 will support both versions.
84 * Added const modifier to buffer parameter for some ODR/BER encoding
85 routines: ber_dectag, ber_declen, odp_more_chunks, completeBER,
86 completeWAIS, odr_dumpBER.
88 Fixed bug in client.c which caused a crash when a scanResponse didn't
89 contain positionOfTerm.
91 * Fixed inconsistency in the ScanResponse/ListEntries protocol. This
92 * will cause an error in a client if a non-YAZ target sends both a
93 * list of Scan entries and non-surrogate diagnostics.
95 Retrieval module enhancements. Tag sets may be typed in the reference
96 to it. From the .abs-file the "tagset" directive takes a third optional
97 integer type for the tag set referenced. From a .tag-file the "include"
98 directive takes a third optional type as well. The old "type" directive
99 in the tag set itself is still recognized but acts as the default type
102 Backend interface change. Individual Scan terms returned from bend_scan
103 may also be tagged as Surrogate Diagnostics. Refer to struct scan_entry
104 in include/backend.h.
106 Retrieval module enhancements. Multiple tag sets and attribute sets may
107 be specified in abstract syntax specs. Revised the error/warning for
108 logging messages reported by the retrieval module when reading the
111 Object Identifier system (oid_..) changed. The API is backwards
112 compatible but the oid-routines now allocates new OID's when needed.
113 Raw OID's may be specified in oid_getvalbyname.
115 YAZ now uses GNU configure to generate Makefile(s).
117 * Minor changes in some of the member names of DeleteResultSetRequest and
118 DeleteResultSetResponse. See include/proto.h.
120 * Changed some C definitions regarding EXPLAIN record syntax (prt-exp.h)
121 and added member 'languages' in TargetInfo (which was missing).
123 Changed the way attribute sets are handled in the retrieval
124 module. These are now cached, just like the abstract syntaxes
127 Changed YAZ so that it links with compiled ASN.1.
129 Added Explain-schema definitions and mapping routines. The following
130 Explain categories have been implemented: AttributeDetails,
131 AttributeSetInfo, DatabaseInfo, CategoryList and TargetInfo.
133 Fixed minor bug in Windows version of Server Library.
135 --- 1.4pl2+ 1998/4/17 (Released with Zebra)
137 Added Extended Services to server (backend.h). Thanks to Charles Woodfield.
139 Added EXTERNAL: UNIverse Resource Report (non-standard).
141 Implemened odr_enum and odr_set_of functions to handle ASN.1 types
142 ENUMERATED and SET OF.
144 * Added 'const' to some of the char pointer arguments for the
145 functions, data1_read_node, data1_getelementbytagname,
146 data1_insert_taggeddata, data1_getesetbyname, data1_getelementbyname,
149 Fixed bug in data1_insert_taggeddata - the last_child member of
150 parent wasn't initialised.
152 * Changed data1_read_record and data1_read_node so that the supplied
153 "SGML"-buffer is read-only. In particular the resulting data1 - tree
154 doesn't refer to any parts of the "SGML"-buffer.
156 Fixed bug in server library (Windows version of statserv_remove).
158 * Changed code so that it compiles as C++. The type definition
159 of Odr_fun which is a member of Odr_arm was changed. The result is,
160 that an explicit typecast is needed for the fun pointer when
161 using Odr_arm - as in:
162 {1, -1, -1, Z_IdAuthentication_idPass, (Odr_fun)z_IdPass},
164 Updated TagSet-G and -M definitions (tagsetm.tag and tagsetg.tag).
166 Implemented the new structured date and time definition as approved
167 by the ZIG. Added schemaId element to the specificTag in Espec-1
168 (also approved at the last ZIG). Thanks to RVDM.
170 Added some Object identifiers (RVDM).
172 Changed the Update Extended Service (RVDM).
174 Added command "refid" to client which specifies referenceId for
175 the following requests.
177 Implemented extended service handling for server. See ztest.c
178 for an example as well as backend.h. New handlers are registerd
181 * Changed interface for sort in server.
183 Added new members to statserv_options_block. It allows a server
184 to read options from another source than just the command line. Thanks
185 to Charles Woodfield.
187 * Changed definition of Z_Triple in file prt-grs.h - member boolean
188 renamed to zboolean. Some C++ compilers complained about the name.
190 Minor changes to gils.abs. Added index 's' (sort) on title
191 and date/time-last-modified.
195 Fixed bug in server library regarding inetd mode (-i). This bug
196 was introduced by release 1.4.
200 Added sort facility in client and backend server interface.
202 Fixed problem with dependencies in Makefile(s).
204 Fixed bugs for encoders/decoders of extended services and
207 Implemented sub-tree feature for schemas. Sub-trees are
208 referenced in *.abs-files. See explain.abs for an example
209 of the use of this feature.
211 Modified bib1.att; local attributes for ANY didn't include
212 ANY itself (only affects use of the retrieval module).
214 Fixed bug in plain SGML reader in function data1_read_node:
215 tags with prefix "var" was incorrectly interpreted as variants.
217 Added feature "sub-schemas" to enable references to - and definitions
218 of - group of elements.
220 * Removed member parent from type data1_element (in data1.h).
222 Implemented function odr_nullval() that returns the value of
225 * Removed member num_children from data1_node (in data1.h).
227 Made NT service interface part of the server library. The
228 function statserv_main uses the NT service when required and
229 calls the statserv_start / statserv_close routines.
231 Routine zget_SearchRequest and zget_PresentRequest fills
232 resultSetName/Id member with "default" instead of "Default".
234 Fixed memory leak in server. Request queue member wasn't freed.
236 Fixed nmem_exit so that memory is freed.
240 Revised the CCL parser utility to be thread safe.
242 Added function, oid_ent_to_oid, to replace the function
243 oid_getoidbyent, which is not thread safe.
245 * Added nmem_init and nmem_exit to initialize and release
246 NMEM resources. Function nmem_init should be called once in the
247 initial thread before NMEM/ODR is used. statserv.c and client.c
248 have been changed accordingly. The change was necessary to make
249 NMEM thread safe. The NMEM memory pool is shared amongst threads
250 in a process. Unix-based applications will still work fine without
253 Added NT Services interface for the the Z39.50 (statserv) Server.
254 Refer to the ztest.c source on the usage.
256 Windows 95/NT port using MSVC5.0. Project files are included in the
259 * Defined new 'global' handle for the retrieval (data1) system. The
260 new handled, data1_handle, describes the state of the data1 system.
261 This handle is passed as first argument to virtually all
262 data1 related routines. The functions data1_create and data1_destroy
263 creates and destroys a data1 handle respectively.
265 Added ODR encode stream member to all backend request structures
266 init, search, scan etc. This stream should be used to allocate all
267 memory used for the response when thread safe operation is needed.
269 Changed the comstack utility, cs_addstr, to be thread safe. The
270 returned hostname string returned by the function is now part the
273 Added comstack utility, cs_straddr, which replaces the tcpip_strtoaddr
274 function. The cs_straddr takes a COMSTACK handle as argument, so this
275 function must be used after cs_create and before bind/connect.
276 This function is thread safe.
278 Moved test server to 'ztest' directory - generic server code still
279 in 'server' directory.
281 Made prefix query (pquery.c) utility thread safe.
283 Added new function modifier YAZ_EXPORT to 'export' public DLL
284 functions when using windows (see include/yconfig.h).
286 Added definitions to the OID database (util/oid.c) (RVDM).
288 Added new BIB-1 diagnostic messages to the handler diagbib1_str.
290 Added call to ccl_rpn_delete in client program.
292 Added ODR argument to ccl_rpn_query and ccl_scan_query to provide
293 release of RPN structure.
295 Added support for C++, headers uses extern "C" for public definitions.
296 With input from RVDM.
298 In handling of SEQUENCE OF: Counter set to zero when SEQUENCE OF is absent.
299 Thanks to Ronald van der Meer (RVDM).
301 Added initializers (zget_ routines) for a number of PDUs. Thanks to RVDM.
303 Added support for private extensions to the OID database
304 (oid_setprivateoids()). Thanks to RVDM.
306 Added optional, physical ANY (key replication)
308 Fixed null-reference problem in GRS-1 output filter.
310 Proximity operator added to Prefix Query Format (PQF).
312 In test client command "base" accepts multiple databases.
314 Fixed bug in cs_close stack that caused trouble with WINSOCK.
318 Fixed tagging bug in ResourceReportResponse PDU encoder/decode.
320 Smallish bug-fixes in the new encoders/decoders (explain).
322 Bug fixed in DeleteRequest.
324 Fixed tagging bug of type 101 query in SearchRequest-Query PDU encoder/decoder.
326 Fixed tagging bug in ResourceReportResponse PDU encoder/decode.
328 Added SOIF syntax (using private OID for now) to retrieval module and client.
330 Added Update extended service.
332 Added SearchResult-1 additional info structure.
334 Added optional CCL (ISO8777) interpreter as separate module. Available
337 --- 1.2 1996/6/10 (1st anniversary release)
339 Added Summary record syntax. Lightly tested.
341 Added OPAC record syntax. Untested.
343 Added ResourceReport service encoders/decoders. Untested.
345 Fixed bug in z_Unit - wrong tagging on unitSystem.
347 Fixed bug in the DiagRecs decoder.
349 Added options for max PDU size and session timeout to frontend-server.
351 Added documentation of query-language parsers and other supporting utilities.
353 [frontend-server] Added Attribute set to the bend_scanrequest API.
355 [frontend-server] NextResultSetPosition was sometimes set incorrectly when
356 surrogate diagnostics were generated.
358 [retrieval] Allow multiple local values for attribute.
360 [retrieval] Allow multiple attributes per element in .abs files. index type.
362 [retrieval] Added Summary tagset, abstract syntax, and d1-node/ASN filter.
366 Minor changes, mostly specific to Zebra's requirements (retrieval)
370 Repaired bug in frontend server when running multiple listening
371 endpoints in dynamic mode.
373 z_External() now won't break if a known, ASN.1 value comes encapsulated
374 in an octet-string. The value will pass through unmodified in an Odr_oct.
376 Added a bit of code to the demo client to decode & display
377 ASN.1-structured records represented in the octet-aligned branch of
378 the EXTERNAL CHOICE. Thanks to CAS for prodding us to finally do this.
380 Added z_ext_getentbyref() to the ASN module. Doc updated.
382 * Completed the SCAN definition in the ASN module. This may break SCAN
383 code based on older YAZ-versions at compile-time. The fix is easy -
386 * Added 'displayTerm' and OtherInformation to the TermInfo structure
387 under the SCAN definition. Remember to initialize this, server-people.
389 Comstack should now support the WAIS protocol in TCP/IP mode. Note
390 that this does not extend to ODR and ASN.
392 Comstack allows insertion of established socket (primarily for
393 inetd-operation of servers). Doc updated.
395 Front-end server can now start from the inetd in TCP mode. Doc
402 Fixed small problem in SUTRS-filter. A newline was sometimes inserted before
403 the rank and record number.
405 Adjustments to the frontend server.
407 Fixed diagnostic BER dumper. It ignored the file argument.
411 Various changes to retrieval module.
413 Changed the union discriminators of the protocol files from enums to
414 ints paired with #defines.
416 *Changed oident.class to oident.oclass to avoid a reserved word in C++
419 *Changed operator in the RPN structure to 'roperator', again to avoid a
422 Fixed problems in Explain decoders/encoders.
426 Memory bug in log module fixed.
430 Occasional malloc() of 0 bytes fixed in d1_espec.c.
432 Bug in Explain DatabaseInfo module fixed.
434 Some '\r' snuck into one or two of the ret'l config tables. A curse on Windows.
438 The shift to v1.0 signals that we now consider the *core* functionality
439 of YAZ reasonably stable (the core being more or less equivalent to
440 Z39.50-1992). Some of the really nifty v3 stuff is still not heavily
441 tested (Explain not at all - though that will happen soonish).
443 Minor changes to code to support Windows port.
445 Various minor changes after we're getting to use GRS-1 & co. more.
447 Added Espec-1 format.
449 Added VisibleString field body type to GRS-1. It is illegal acc. to my copy
450 of the protocol and it cannot be selected when encoding (maps into 'string'
451 when decoding). Needed to talk to some servers.
453 Demo client can request simple element set names.
455 Added Diagnostic Format encoders/decoders.
457 Added simple Close handling to frontend server (no hooks for resource
458 reporting yet), and demonstration client.
460 Added cs_addrstr() command to COMSTACK to retrieve peer hostname/address.
464 Fixed bug in the frontend-server. The numberOfRecordsReturned field was
465 handled incorrectly when records were requested in the searchResponse. This
466 will only affect you if you use the frontend-server.
468 Added GRS-1 encoders/decoders to the service-level API. Lightly tested.
469 Test-client will ask for and print GRS1. Ztest will return dummy records
472 Added Explain encoders/decoders to the service-level API. Untested.
474 Added Extended Services: Item Order encoders and decoders to the Service-
475 level API. Untested. We could use a recent copy of the pertinent bits
476 of the ILL protocol to add those bits.
478 Added diagnostic format 1 encoders/decoders to the service-level API.
481 Moved pretty-printing of structure-wrappers ({..}) from odr_seq.c to
482 odr_cons.c, which causes a more correct output.
484 Fixed handling of searchRequest in frontend server. NextResultSetPosition
485 was always set to 0 when no records were requested in the searchRequest.
487 * Added better external-handling. This shouldn't harm old code that
488 *encodes* externals. It can break code that looks for a
489 'single-ASN1-type' representation, since those types that are known
490 are now decoded immediately. Look at the SUTRS sample code in
491 seshigh.c and client.c. Documentation updated.
493 Handling of structured records in bend_fetchresponse. Length -1 marks
494 structured record, type is deduced from format field.
497 Fairly quick maintenance release to add SUTRS support.
499 Fixed handling of SUTRS records in the demonstration client.
501 * Added format field to the bend_fetchrequest and bend_fetchresponce
502 structures of the backend API (frontend server). When the record is
503 returned, the value of the format field is mapped to an OID. The
504 value VAL_SUTRS will also cause a slightly different ASN.1 packaging
505 of the record. The special value VAL_NONE in the bend_request means
506 that no specific format was requested by the client. Documentation
507 updated accordingly. Test server (ztest) will return a fixed dummy
508 SUTRS record if your client requests SUTRS.
510 Documentation updated accordingly.
512 You can now set external libraries and RANLIB support in the top-level
516 First public release.