--- 3.0.45 2009/03/31
Fixed bug #2709: TCP connect returns Invalid argument.
Fixed compilation for mingw.
Honor charset for raw records (ZOOM_record_get).
Fixed use of errno for threaded mode that was seen on Solaris 10.
Fixed argument passing with blanks in value for Windows Service.
Disable YAZ' own log rotate by default (no 1 GB limit).
The variable l_max_size which specifies the log file limit is set to 0
(DISABLED): This is due to the fact that YAZ is most often deployed using
logrotate. Also YAZ can not perform log rotate because of unsufficient
permissions (setuid).
This changes the buildlink3.mk files to use an include guard for the
recursive include. The use of BUILDLINK_DEPTH, BUILDLINK_DEPENDS,
BUILDLINK_PACKAGES and BUILDLINK_ORDER is handled by a single new
variable BUILDLINK_TREE. Each buildlink3.mk file adds a pair of
enter/exit marker, which can be used to reconstruct the tree and
to determine first level includes. Avoiding := for large variables
(BUILDLINK_ORDER) speeds up parse time as += has linear complexity.
The include guard reduces system time by avoiding reading files over and
over again. For complex packages this reduces both %user and %sys time to
half of the former time.
--- 3.0.44 2009/02/17
List supported encodings in man page for yaz-iconv.
Fixed missing SSL libs for --libs output
Re-established OID record syntax application-xml. Nobody should use it
but we don't want to change soname because of this symbol being absent.
--- 3.0.42 2009/02/02
YAZ' RPM spec works for both SUSE Linux Enterprise and RedHat Fedora.
Added member named_result_sets for init handler struct for the GFS. This
allows a server to disable named result sets.
Removed OID record syntax application-xml.
Added support for rule-based transliterator for ICU wrapper of YAZ.
Fixed bug #1902: yaz-icu XML output.
Make YAZ checks Emacs friendly.
BITSTRING value shows value. Bug #2346.
ISO2709 decoding: skip control characters from indicator data.
Omit sort key by default in yaz-icu's output.
Allow combined single char options (again) for YAZ' options function.
Utility yaz-marcdump got option to display YAZ version (-V).
Allow YAZ to use ICU 3.4.
Added new ICU test case which illustrates removal of diacritics.
--- 3.0.41 2008/12/29
Fixed Fixed test that makes VERSION_SHA1 appear on dist versions too.
--- 3.0.40 2008/12/29
For configure, using option --without-xml2 also disables Libxslt/Libexslt
support.
Fixed bug #2352: yaz-marcdump crashes for certain record.
Added man page 'bib1-attr' which includes list of common Bib-1 attributes.
Added support for Danmarc2 to UTF-8 conversion.
Added support for ISO5426 to UTF-8 conversion.
zget_InitRequest/zget_InitResponse returns GIT SHA1 hash as part of
implementation version.
Function yaz_version returns GIT SHA1 hash for parameter sha1_str.
--- 3.0.38 2008/11/10
ZOOM C now only fires one ZOOM_EVENT_SEARCH per search-task. Previously,
ZOOM_EVENT_SEARCH was fired for each searchRetrieve Response received.
ZOOM C now interprets databaseName option for ZOOM connection as path
(SRU "database").
Windows version bundled with Libxml2 2.7.1 / Libxslt 1.1.24 / ICU 4.0.
Fixed CCL to RPN/PQF conversion which could result in invalid PQF.
Dummy Libxml2 types no longer defined in headers of YAZ'.
Fixed memory violation for ZOOM C - could occur when SRU diagnostics was
received.
Bump ABI depends because of shlib major bump.
--- 3.0.36 2008/09/26
Various ODR chapter fixes.
Windows version uses libxml2 2.6.32+, libxslt 1.1.23+ and ICU 4.0.
Added missing source for Windows compilation, mutex.c.
Fixed compilation of YAZ for Visual Studio 2008. Bug #2256.
For SRU connections in ZOOM all records up to "count" are now fetched.
Fixed crash in generic frontend server (and yaz-ztest) which occurred
in Windows due to bad error handling for Libxml2.
Added facility for sending arbitrary records (ASN.1 any) using
ZOOM C's Extended service update. Patch by Sam Reynolds.
New options for ZOOM C's connection, logapdu which makes ZOOM log
APDUs.
--- 3.0.34 2008/06/18
YAZ uses GNU TLS without the OpenSSL compatibility wrapper.
--- 3.0.32 2008/06/12
Fixed memory violation that could occur when decoding UTF-8. This bug
was only present in 3.0.30 of YAZ.
--- 3.0.30 2008/06/06
Implemented SSL sockets using GNU TLS. OpenSSL is still supported, but
GNU TLS is used by default (if found).
yaz-ztest returns OPAC records if a client asks for OPAC.
Improved speed of MARC-8 encoding.
Added support for lossy and loss-less MARC-8 encoding.
Changed yaz_record_conv_record to be reentrant for XSLT conversions.
Added new Windows Service wrapper (sc).
yaz-client's itemorder command may now send a file.
Fixed yaz-marcdump to allow the use of NS prefix for record element.
Added new function yaz_log_xml_errors.
Allow (but warn) unknown XML attributes in MARCXML parsing.
Handle G1 sequneces in MARC-8 decoding. Bug #2115.
The UTF-8 to MARC-8 conversion now uses a different set of characters
for Greek symbols. Bug #2120.
--- 3.0.26 2008/02/21
Added yaz_daemon (daemon.h).
Fixed bug #2068: pkg-config trouble
Fixed bug #395: ZOOM_record / OPAC record encoding problems.
--- 3.0.24 2008/01/28
Document --with-xml2 option.
Added OPAC XML XSD (etc/opacxml.xsd).
Allow glob mask for name attribute in retrieval element for the
generic frontend server's retrieval facility.
Changed yaz_poll_poll to return yaz_poll_except for all returned events
except POLLIN/POLLOUT.
Fixed error handling in cs_listen. Bug #2037.
--- 3.0.22 2008/01/20
Fixed version in yaz/yaz-version.h.
Fixed bug #2027: Crash when closing connection.
Changed configure so that ICU support is only enabled if only ICU
and Libxml2 is available (because the ICU chain is XML based).
--- 3.0.20 2008/01/15
YAZ now makes ICU utilities for Windows. A separate DLL, yaz_icu3.dll,
is built. Only this DLL depends on the ICU runtime.
yaz-ziffy is no longer part of YAZ. It is distributed separately by
Index Data because ziffy's license is GPL2 rather then 'Revised BSD'.
Changed license of CCL module to 'Revised BSD'. After consultation with
remaining members of the original EUROPAGATE consortium, we are re-issuing
the CCL module without a separate license. The software was developed by
Index Data as part of a research project. The special license was included
to help feed usage information back to the project consortium to support
project evaluation. At this time, the project consortium has long-since
disbanded, and the majority of the original principals have retired. At the
same time, we have significantly modified the software during the following
years, to the point where very practically no original code remains. To
simplify re-use of the software, we have contacted those members of the
consortium who could be reached, and agreed to re-issue the module as a
proper part of the YAZ package.
Tcl scripts uses /usr/bin/tclsh as preferred shell.
CQL closer to being version 1.2 compliant. CQL also allows free-form
terms, such as 'title=a b', and thus, make the CQL parser more CCL-like
and user-frendly.
Fixed bug in ZOOM_options_getl WRT setting of parameter lenp. This
bug could make Extended services handling crash in the ZOOM layer. This
bug was only present in YAZ 3.0.18.
--- 3.0.18 2007/12/19
ziffy uses YAZ' options rather than getopt; getopt is unavailable on
some systems.
yaz-marcdump reads and writes collection wrapped records.
Handle OPAC for record conversion module.
Fixes for ICU wrapper.
Allow ICU libs to be controlled with --with-icu .
--- 3.0.16 2007/11/12
Added yaz_poll which is a wrapper for select/poll. When poll is available
and non-buggy, it is used, by yaz_poll . This allows more than 1024
sockets to be in use.
Added ICU wrapper library which exposes ICU http://www.icu-project.org/
functionality through an XML based configuration (ICU chain). This system
is useful for search facilities such as Pazpar2 and Zebra that needs to
perform tokenization of indexed material. The ICU code in a separate
library libyaz3_icu.a.
Added HTTP tunnel facility for COMSTACK, bug #1752.
This is a facility that allows a Web proxy, such as squid, to tunnel
Z39.50 traffic. This facility is "transparent" to must applications
using YAZ. It's enabled by using pseudo transport connect: followed by
the proxy address, followed by command, then follwed by he regular
"virtual" addresss. For example,
connect:webproxy.com:3128,tcp:z3950.loc.gov:7090/voyager .
More MARC-8/UTF-8 conversion fixes. Bugs #1666, #1667, #1778.
--- 3.0.14 2007/09/21
Fixed bad memory reference in ZOOM_record - cuased by member not being
initialized. This was a problem only in YAZ 3.0.12.
Fixed bug in conversion from MARC to XML: Non-XML characters in control
fields were not removed.
Changed the way C code is generated from codetables.xml. Made a MARC-8
conversion trie for each characterSet section rather than codeTable.
This is ensure the code can deal with G0/G1 sequences. Use of a newer version
of codetables.xml from Larry Dixson, LOC. Bug #1464.
--- 3.0.12 2007/09/12
ZOOM C now handles SRU surrogate diagnostics (i.e. errors returned
from ZOOM_record_error).
ZOOM C function ZOOM_record_get returns record schema for type="schema".
Implemented HTTP Basic authentication to SRU/GET, SRU/POST and SRW requests.
Added new ZOOM C connection option 'sru_option' which specifies SRU version.
Better SRW-to-Bib-1 diagnostic mapping.
ZOOM C and yaz-client announces SRU version 1.2 by default.
yaz-client 'sru' command may specifiy both SRU version and transport (SOAP,
GET or POST).
Fixed in yaz_sru_decode to allow other version than 1.1.
--- 3.0.10 2007/08/22
Added support for SRU scan for ZOOM.
Added support for the use of the older versions or Extended Service
Update in ZOOM. To faciliate this, an option "updateVersion" may be
set to the version , 1=first, 2=second, 3=third. The third version is
what ZOOM C has used so far. And that, obviously, is the default.
Added support for CCL queries in Z39.50 queries sent to the GFS (and
therefore in Zebra and in SimpleServer-based applications). The new
<ccl2rpn> element in a GFS configuration file, if present, names a CCL
qualifier file used to transform incoming CCL queries into Type-1 RPN,
which is passed into the back-end search callback function.
Added support for HTTP Basic authentication in clients: the SRU/W
codec encodes the username/password elements of the PDU structure
appropriately, and these may be set using the "user" and "password"
options in ZOOM-C applications (the same options that are used for
Z39.50 authentication).
--- 3.0.8 2007/06/25
Fixed bug #1208: SSL appears to be broken in ZOOM.
Fixed bug #1206: Libxml2 include path weirdness.
Added oid_name_to_dotstring.
Allow elementSetName to be specified for ZOOM C record update.
Allow waitAction to be specified for ZOOM C based for Extended Services.
Fixed NULL ptr reference bug in yaz-ztest - caused by omitted record
syntax OID. Bug introduced in YAZ 3 series.
Updated WIN32 build to include Libxml2 2.6.28 / Libxslt 1.1.19.
--- 3.0.6 2007/06/06
Fixed bug #1157: yaz-client does not read .yazclientrc from current
directory. yaz-client now reads commands from file given by option -f
if specified; then tries to read .yazclientrc in current directory.
Failing that, it reads .yazclientrc from user's home directory.
Added support for correlationInfo Note and ID for Record Update via
ZOOM C.
Added yaz-client command querycharset which specifies character set for
query terms for Z39.50 RPN queries and Z39.50 Scan Requests
(termListAndStartPoint).
Charset ISO5428:1984 is an alias for ISO5428-1984.
Implemented a way to perform scan in a result set using Z39.50. This
is achieved by attaching the result set name in the characterInfo
(type InternationalString) of OtherInformation in the Scan Request PDU.
The result set is identified in the otherinformation by the new OID:
USERINFO, Z3950_PREFIX.10.1000.81.4, "Scan-Set
This allows for scan in result set and faceted search . Zebra did some
of this in the APT term using attribute type 8 and value being result
set. Using the OtherInformation approach for this is cleaner and easier
to work with in proxies and the like. This facility can be used in
yaz-client using new command setscan which takes a result set as first
argument, start position (APT) as second.
Changed decoding of SRU XML packed records to deal with servers that
have recordData with XML data with multiple root nodes. Also make
comparison for recordPacking case insensitive. Again, one server
returns "XML" where others return "xml".
For SRU responses allow Content-Type application/xml as well as text/xml.
--- 3.0.4 2007/05/21
Fixed bug in character set conversion of BER strings. Bug introduced
in 3.0.0.
--- 3.0.2 2007/05/08
For OIDs use Odr_oid type everywhere, i.e. do not assume Odr_oid=int.
For OID class, use oid_class consistently.
Fixed external handling for SUTRS and Explain records (bug appeared in 3.0
series).
Added partial support for ISO5428-1984, which is the "Greek alphabet coded
character set for bibliographic information interchange". By Giannis Kosmas.
Added documentation on new OID API.
--- 3.0.0 2007/05/02
Changes to generic frontend server interface: added new member
'query_charset' for bend_initrequest structure. A backend init handler
should set this member to its native character set for query terms.
When defined, the frontend server logic will announce this character set
to a client if the negotiationModel bit is set by the client. All server
implementors are encouraged to specify this. If a backend server does not
specify this a warning is issued using yaz_log(YLOG_WARN,..).
Added CCL utility to remove terms (stop words) from resulting RPN
tree. This is handled by functions with prefix ccl_stop_words_ .
New ZOOM C option, "rpnCharset", which allows client-side conversion of
terms in RPN queries.
Clean-up the CCL API. Moved some internal structures from ccl.h to
private header cclp.h. Changed ccl_parser_create so that a Bibset must
be supplied. Removed tokenize API from ccl.h - including ccl_parser_find.
This is replaced by ccl_parser_find_str which takes a string instead.
Split YAZ library into two libs : libyaz.la and libyaz_server.la.
libyaz.la is the core of YAZ except the generic frontend server and
does not depend on POSIX threads anymore. libyaz_server.la is the
generic frontend server facilities and uses POSIX thread functionality
if available. The libyaz.la no longer depends on POSIX threads because
the number of global structures is limited. NMEM no longer re-uses blocks
between threads ; it simply free's memory immediately but allocates in
"large" chunks as usual. We don't expect any performance penalties
because of this. The yaz_log system is still using a global log_level so
caution must be taken when modifying it with yaz_log_init_.. +
yaz_log_mask_str. This, however, should not cause any trouble because
these functions are called during initialization of application code
anyway. `yaz-config --libs server` returns libs for server applications;
`yaz-config --libs` returns libs for non-server applications.
New OID database - with public definitions in oid_db.h. Removed old OID
database including the head oid.h and definitions such as enum oid_value
and struct oident. The new OID database uses the same string names as
before but the 'protocol' is gone. There are now only two representations
raw OID (int *) and string. Functions with prefix yaz_string_to_oid
converts from string to OID; functions with prefix yaz_oid_to_string
converts the other way.
Change to emit_term() in CQL-to-PQF query translation: when a term has
the /regexp relation modifier, do not process it for leading and
trailing "^" and "*", which have quite different meanings in regular
expressions.
Attempted fix of bug #976: Segfault in yaz_iconv. The yaz_iconv function
write handlers no longer carries a 'last' parameter. This will make
yaz_iconv flush "less" characters. A flush is performed by call to
yaz_iconv(cd, 0, 0, &outbut, &outbytesleft) .
Definition of wrbuf_diags moved to querytowrbuf.h. Function wrbuf_put_zquery
removed, because function yaz_query_to_wrbuf does the same.
API changes to WRBUF. wrbuf_free removed; replaced by wrbuf_destroy. And
wrbuf_puts no longer appends '\0'. Use wrbuf_cstr to get C-string out.
Deprecated MARC utility functions removed.
Changed prototype of yaz_marc_decode_buf: const char for result and size_t
for rsize.
and add a new helper target and script, "show-buildlink3", that outputs
a listing of the buildlink3.mk files included as well as the depth at
which they are included.
For example, "make show-buildlink3" in fonts/Xft2 displays:
zlib
fontconfig
iconv
zlib
freetype2
expat
freetype2
Xrender
renderproto
RECOMMENDED is removed. It becomes ABI_DEPENDS.
BUILDLINK_RECOMMENDED.foo becomes BUILDLINK_ABI_DEPENDS.foo.
BUILDLINK_DEPENDS.foo becomes BUILDLINK_API_DEPENDS.foo.
BUILDLINK_DEPENDS does not change.
IGNORE_RECOMMENDED (which defaulted to "no") becomes USE_ABI_DEPENDS
which defaults to "yes".
Added to obsolete.mk checking for IGNORE_RECOMMENDED.
I did not manually go through and fix any aesthetic tab/spacing issues.
I have tested the above patch on DragonFly building and packaging
subversion and pkglint and their many dependencies.
I have also tested USE_ABI_DEPENDS=no on my NetBSD workstation (where I
have used IGNORE_RECOMMENDED for a long time). I have been an active user
of IGNORE_RECOMMENDED since it was available.
As suggested, I removed the documentation sentences suggesting bumping for
"security" issues.
As discussed on tech-pkg.
I will commit to revbump, pkglint, pkg_install, createbuildlink separately.
Note that if you use wip, it will fail! I will commit to pkgsrc-wip
later (within day).
Possible compatibility problems with earlier versions marked with '*'.
--- 2.1.6 2005/05/24
Added support for SRW sort in Generic Frontend Server. Patch
by Ko van der Sloot. Member srw_sortKeys in bend_search_rr holds
sortKeys - or NULL if none is provided.
Fixed bug #307: It was impossible to specify indefinite/no timeout
for ZOOM_event. Special timeout value -1 now means indefinite timeout
(i.e. no timeout).
Added support for multiple languages and charsets to be specified in
ZOOM. Each charset/language is separated by a blank. If negotiation is
in effect in init-response, Option
"negotiation-charset-in-effect-for-records" set to 1(true) or 0(false).
Code based on patch by Vasiliy Osadchuk.
Fixed bug #306: infinite recursion that occurred when calling
yaz_log_level_init as the first call (before other log level or
nmem_init calls)
Fixed bug in scan handling in front end server: if preferred-Position-In-
Response was non-present, a NULL pointer referece was performed.
--- 2.1.4 2005/04/26
Changed include/yaz/diagbib1.h and added include/yaz/diagsrw.h with
diagnostic messages+codes for Bib-1 and SRW. Preprocessor defines are
now defined for all those error codes. So instead of putting 109 in
your program you'd use YAZ_BIB1_DATABASE_UNAVAILABLE. The messages
are generated from a .csv - file. See src/bib1.csv and srw/srw.csv.
Modified the yaz-marcdump utility to skip garbage bytes between MARC
records in a file.
Fixed bug - uninitialized memory - due to bad code for fix of bug #272.
Program yaz-client now exits and produces an error message if multiple
Z39.50 servers are specified on the command line (none or one allowed
only).
Program yaz-marcdump skips garbage bytes between ISO2709 records rather
than abort.
--- 2.1.2 2005/03/16
Fixed bug #273: Update for recent MARC-8 -> UNICODE changes.
Fixed bug #272: Preserve spacing for CCL terms.
--- 2.1.0 2005/03/14
Added support for virtual hosts and multiple backend servers for
the YAZ frontend server. The configution is XML based and
support specificition of CQL to RPN mappings and explain information.
See section "Virtual Hosts" in the YAZ manual.
Extended OPAC display utility. OPAC display utility renders
bibliographic (MARC) record as well. Added yaz_opac_decode_wrbuf
to supplement yaz_marc_decode_wrbuf.
Fixed a bug in MARC decoder that could caused it to crash for some
invalid MARC records. More diagnostics and warnings where added in
XML output (warnings, etc are stored in comments).
--- 2.0.34 2005/02/08
Fixes for UNIX domain sockets. Bug #261.
Fixes for MARC-8 to UTF-8 conversion. Bugs #258 and #260.
Fixed bug #263: YAZ MARCXML dump shows extra spaces after control fields.
Added yaz_marc_subfield_str which defines subfield lead string which is
used in YAZ_MARC_LINE format. Default string is blank+$. Added
yaz_marc_endline_str which defines end of fields string used in
YAZ_MARC_LINE format. Default string is newline.
Experimental support for MarcXChange. This format can be produced
by yaz-marcdump and is implemented in yaz_marc_decode - functions.
http://www.bs.dk/standards/MarcXchange.xsd
Added yaz-client commands scansize that sets maximum number of
entries to be returned by scan.
--- 2.0.32 2005/01/11
Added support for SRW scan in yaz-client and Generic Frontend Server.
* Added whereInList member to SRW Scan Term.
* Changed Z_SRW_scanRequest to be able to carry both CCL and PQF.
Fixed NMEM system to return aligned blocks on the smallest boundaries
that are suitably aligned for all possible types on the particular
architecture YAZ is being built for.
--- 2.0.30 2005/01/04
Fixed numerious warnings that was issued with newer versions of GCC.
Fixed NMEM system to return aligned blocks on 8 byte boundaries rather
than 4 bytes, since 4 may not be enough on some systems such as GCC 3.4.3
on Solaris.
Make YAZ Generic Frontend Server slightly faster.
Enhance (and reduce) logging for Generic Frontend Server.
Revert YAZ log system so that it flushes every write operation
by default. (YAZ 2.0.26 and earlier verisons did that). Bug #240.
Modified the YAZ logging system. The LOG level defines use YLOG_ prefix
instead of LOG_, due to name clash with syslog(3). LOG_ are still
present. New applications should define YAZ_USE_NEW_LOG=1 - this
will effectively disable old definitions.
--- 2.0.28 2004/11/09
Added yaz_log_time_format which specifies log format using
strftime(3).
Added yaz_log_module_level which returns mask for a module. Value
is non-zero mask a if module is enabled; zero if disabled.
* Fixed bug #148: CQL parser may leak. A few prototypes were changed
in include/yaz/cql.h.
Fixed bug #176: Dont throw diagnostics on empty SRU args.
Fixed bug #175: surrogate diagnostics in SRW lacking NS.
Fixed bug #172: RPM builds does not enable SSL.
Doxyfile.in part of dist. Doxyfile generated by configure.
Configure aborts if any of --with-xml2, --with-openssl, --enable-tcpd
are given and the corresponding component does not exist.
Extend CCL documentation in YAZ reference. Describe r=r.
--- 2.0.26 2004/10/01
Fixed MARC->MARCXML conversion to properly deal with
fields, subfields, indicators having non-ASCII characters.
Fixed MARC->MARCXML conversion so that ASCII control characters
except TAB,CR,LF are removed from resulting XML (XML 1.0 does not
support these).
Added YAZ GFS support for conversion from Z39.50 surrogate
diagnostics to SRW surrogate diagnostics.
Bug fix: YAZ GFS did not return schema in explainResponse.
--- 2.0.25 2004/09/30
The YAZ GFS when converting SRW/SRU requests to Z39.50 structures
now converts recordSchema to elementSetName as well as schema URI.
Fixed bug in COMSTACK that prevented HTTP request packages from being
decoded properly.
--- 2.0.24 2004/09/29
Added CCL facility r=r "range" which is similar to r=o "ordered" but
does not require white-space before and after the dash in a range, e.g.
x=-1990 is equivalent to x <= 1990 iff r=r, but equivalent to x= -1980
iff r=o.
Fixed a few AC_TRY_LINK configure tests that did not operate properly
due to new GCC removing "redundant" code.
Added yaz-client commands scanpos and scanstep that sets preferred
position and step-size for scan.
Macro YAZ_INIT in yaz.m4: option --with-yazconfig renamed to --with-yaz.
Added CCL utility ccl_qual_buf which parses one or more CCL
spec lines in a buffer.
Added CCL utility ccl_qual_line which adds CCL qualifier line consisting
of name and value - ignoring empty lines and comments.
On Windows, the debug DLL/import lib is now named yazd.{dll,lib}.
Added odr_get_element_path which returns current element path for an
ODR handle. This utility is useful in error handling or user-defined
ODR_PRINT stream.
Added ODR_PRINT utility odr_set_stream which is is a more generic
alternative to odr_setprint. odr_set_stream takes a stream handle, pointer
to a write function and pointer to close function. The close function - if
non-NULL - will be called during odr_destroy.
Fixed bug in CCL parser where truncation char was not removed from
right side when truncation=both was in effect.
Fixed CQL parser to use unsigned chars for isxxx from ctype.h due
to VS.NET.
--- 2.0.23 2004/08/11
Fix buffer overrun in CQL parser when dealing with proximity (%).
Fixes for MARC-8 in yaz_iconv character set utilies. The MARC-8
to UTF-8/UCS conversion is now only based on codetables.xml.
yaz_marc_decode_buf sets leader pos 9 to "a" for MARCXML output.
--- 2.0.22 2004/08/06
Add support for more "commit changes" in ZOOM (uses Extended Services).
For yaz-client, command set_marcdump <file> / -m <file> dumps SUTRS/XML/..
records as well.
Yet another small fix for configure of SSL.
--- 2.0.21 2004/05/14
Fix SSL libs for configure when --with-openssl=DIR is given.
--- 2.0.20 2004/05/10
Add autoconf m4 macro YAZ_DOC for YAZ documentation setup (docbook).
SSL comstack now uses yaz.pem certificate file on server side
by default. Certificate filename can be configured by calling
comstack function cs_set_ssl_certificate_file before cs_bind is used.
Fix bug regarding multiple calls to ZOOM_connection_connect.
Implement cs_set_ssl_ctx which sets SSL_CTX for SSL comstack.
Do not create SSL_CTX in cs_create (ssl_type). Create in tcpip_bind,
tcpip_rcvconnect instead. This allows user to set custom SSL_CTX.
ZOOM now allows inspection of X509 peer certificate for verification.
The X509 buffer is retrived by reading ZOOM option "sslPeerCert".
Removed libyazssl.la. When SSL is enabled, libyaz.la has SSL support and
all programs have too (yaz-ztest, yaz-client, zoom..). May not be
as "modular" but it simplifies things.
Added cs_get_peer_certificate to that returns peer X509 PEM.
Added cs_get_ssl that returns SSL handle (SSL *) for SSL comstack; returns
NULL if SSL is unavailable.
Documentation about MARC decoding tools.
Fix --disable-tcpd to really disable tcpd. Patch by Robin H. Johnson.
--- 2.0.19 2004/03/30
Rename CHANGELOG to NEWS to follow GNU style packing.
Fix bug with missing initialization of member in init_diagnostics.
This bug affects threaded version of GFS server.
--- 2.0.18 2004/03/20
Use wrbuf_xmlputs_n instead of wrbuf_write_cdata to avoid clash with
Zebra symbol.
Ensure zlib.dll is packed with Windows install.
--- 2.0.17 2004/03/17
Fix encoding of xsd:string to use text instead of CDATA.
Fix endless loop in CQL parser with unbalanced ".
Use a more compact way to store MARC-8 conversion tables.
--- 2.0.16 2004/03/16 Debian only
Oleg Kolobov Fixed a bug in yaz_iconv regarding conversion to
UCS4 / UCS4LE.
Update CQL parser to use new CQL 1.1 modifiers for booleans and
relations.
Add CQL test cases.
--- 2.0.15 2004/03/01
Another fix for decoding of XML packed records.
--- 2.0.14 2004/02/25
Fixes for Chunked encoding. White space not ignored after length spec.
Update NS and use default NS for SRW diagnostic elements.
--- 2.0.13 2004/02/23
Implement ZOOM_resultset_cache_reset which resets record cache.
Implement ZOOM_resultset_sort which sorts a result set.
Implement chunked HTTP transfer.
For SSL, use -lssl -lcrypto on systems that don't have pkg-config.
--- 2.0.12 2004/02/16
Added member 'schema' to bend_explain_rr structure so that backend
can specify explain record identifier. Defaults to Zeerex 2.0.
Fix encoding of OID's of form 1.0.X. Bug introduced in 2.0.11.
--- 2.0.11 2004/02/16
* SRW/SRU 1.1 updates: updated diagnostic in srw.h to use uri instead
of code.
Added init command for yaz-client which sends "extra" init request.
Fixed two bugs in OID codec - ber_oidc. Throw error when encoding/decoding
bad truncated OID. Fix decoding of OID X.Y... when X=2 and Y>39.
Fixed a bug in ASN.1 compiler that caused Type-1 Operator codec to fail.
Make ZOOM error code for "invalid query".
Fixed compilation for SSL which wasn't properly enabled for all platforms.
--- 2.0.10 2004/02/05
For yaz.m4, allow second argument for YAZ_INIT to hold minimal version of
YAZ required.
* SRW/SRU 1.1 updates. Diagnostic code now a URI.
Added option -p <file> to make Generic Frontend Server to write PID file.
Added option -D to put Generic Frontend Server in background on its own.
Make ZOOM C recognize option "password". If unset, "pass" is used
(for backwards compatibility).
Fixed a bug in Generic Frontend Server that could make it crash if a
client sets characterSetNegotation bit, but didn't pass negotiation stuff
in InitRequest.
New YAZ client command, zversion, that sets Z39.50 version (1,2,3..).
Must be issued before open, in order to be in effect.
--- 2.0.9-6 2004/01/12 Debian/Windows
Make the SRU server more picky WRT unknown params, etc.
Bug fix: ZOOM scan response didn't return displayTerm - when present.
New YAZ client command, options, that sets Z39.50 options.
New utility functions yaz_init_opt_{encode,decode} to encode/decode Z39.50
options from a string of tokens (one token for each option bit).
Update SRW diagnostic code messages.
--- 2.0.9-5 2004/01/07 Debian/Windows
Handle user defined stylesheet for SRW/SRU.
--- 2.0.9-4 2004/01/06 Debian/Windows
Fix bug in decoding of Content-Length.
--- 2.0.9-3 2004/01/06 Debian/Windows
Fix a bug with decoding of XML packed records.
--- 2.0.9-2 2004/01/05 Debian only
Allow empty ODR (NMEM=0) for odr_oiddup and odr_getoidbystr.
Fix bug in SRW/SRU diagnostics decoding.
--- 2.0.9 2004/01/05
Fixed bug in Generic Frontend Server which could drop records exceeding
preferred message size. Reported and fixed by Irina Dijour.
Fixed calculation of package size for structured records in Generic
Frontend Server. Reported and fixed by Irina Dijour.
Fixed namespace for SRW/SRU diagnostics.
Fixed SEGV in yaz-client that occured for HTTP connection errors.
--- 2.0.8 2003/12/22
* SRW/SRU 1.1. Since the Namespace has changed for SRW/SRU, it means that
this version is incompatible with version 1.0 and older YAZ SRW/SRU
implementations.
CQL changes to reflect recent changes to the specification:
* Documentation talks about context sets instead of index sets.
* Documentation talks about indexes instead of qualifiers.
* The CQL-to-PQF transformer's configuration file now uses
"index.set.name = <attributes>" instead of the old form
"qualifier.set.name = <attributes>". (Both forms are still
understood but the latter is deprecated.)
* CQL terms with no explicit index specified are now interpreted as
cql.serverChoice instead of srw.serverChoice (which of course
behaves exactly the same.)
--- 2.0.7 2003/12/16
MARC conversion can now generate ISO2709 output in another
character set. yaz-marcdump uses this facility if you invoke it
with option -O.
Added missing C decl macros for include/yaz/{soap.h,srw.h,cql.h}, so that
functions from there can be used from C++.
--- 2.0.6 2003/12/04
Frontend server now transfers memory from decoded packages to stream
ODR for search.
NMEM now clears freed blocks with 'Y' (hex 59) to force bad memory
references to show up.
ZOOM-C now supports standard ZOOM option names as described in v1.4 of
the ZOOM Abstract API. The older names for the same options are still
also supported for the benefit of old applications.
ZOOM-C supports "implementationId" and "implementationVersion" options
to go along with "implementationName". These allow the user code to
specify identification strings to be sent to servers.
Add OID for the new ExtLite attribute set.
Add OIDs for NACSIS-CATP, FINMARC2000 and MARC21-fin record-syntaxes,
as requested/supplid by Ere Maijala <ere@atp.fi>
For generic frontend server, reverse the order of
"toolkit-supplied / application-supplied" strings sent as implementationId,
Name and Version. Also, remove the spaces around the slash. This brings
the GFS in line with the behaviour of ZOOM-C on the client side.
Add function ZOOM_scanset_display_term.
yaz-client shows scan displayTerm if present.
Utility yaz-iconv is now installed by default along with the man page
yaz-iconv.1.
Extend configure check for OpenSSL to use pkg-config where available (such
as RedHat 9).
Incorporate patch by Morten Bogeskov which allows a Unix file socket
server to specify uid/gid/mask for socket using the format
unix:[user=uid,][group=gid,][umask=mask,]file=path
If file= is omitted the existing format is assumed, e.g.
unix:path
in which case the mask is 0666 (rw for everybody).
Major restructure of YAZ source. All source in libyaz is in src directory.
Programs in client (yaz-client), ztest (yaz-ztest), zoom (zoom programs),
util (utility programs such as ASN.1 compiler, yaz-marcdump).
Added man page for utility yaz-marcdump (used to be called marcdump).
yaz-marcdump is installed by 'make install'.
Fixed a memory leak in Generic Frontend Server that occurred when decoding
of incoming package failed.
Fixed a potential DOS attack vulnerability in COMSTACK/ODR.
Change prototype of odr_perror: add const to message string.
New function yaz_log_reopen which reopens log file (for log rotate, etc.)
* Blocking parameter for COMSTACK cs_create is now a bit mask rather
than a blocking flag. Bit 0 is set for blocking, reset for non-blocking.
Bit 1 is set if cs_addrstr should avoid DNS lookup; reset for full
DNS lookup. There should not be any compatibility problems with this
assuming that blocking=1 or 0 is used.
Fix bad reference in UNIX comstack in function cs_addrstr.
Fix for compilation on AIX.
The generic front-end server (server/seshigh.c) now supports returning
Init diagnostics to the client in User-information-field, in
accordance with Z35.90 Implementor Agreement 5 (Returning diagnostics
in an InitResponse)
--- 2.0.4 2003/09/04
Allow any CQL relation (not just all,any,exact,scr).
Fixes for OCLC UI ASN.1 to make it work with SilverPlatter targets
that features the same UI.
Implemented command update0 in YAZ client which is equivalent to
update but uses old of Ext Update ASN.1.
Use OID 1.2.840.10003.15.1000.81.1 for privately defined charsets
in charset negotiation. Added VAL_ID_CHARSET in oid.h.
Previously no OID was used for this info.
ZOOM uses smallSetUpperBound=1 instead of 0 for piggyback searches.
It apparantely upsets EBSCO Publishing IR Z39.50 Server which
returns 'malformed search term' otherwise.
SortResponse member resultCount now set to NULL in sort handler of
frontend server.
OPAC support ZOOM. ZOOM_record_get returns OPAC info (as XML) if
type is "opac".
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);
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.
Support for OCLC's locally registered "OCLC-UserInformation" PDU,
which their FirstSearch server returns in Init responses, sometimes
carrying useful diagnostic information when Init fails. This has the
OID 1.2.840.10003.10.1000.17.1 and is defined in the file
"z39.50/oclcui.asn", where its definition is somewhat different from
what OCLC document on their web-site, as required to interoperate with
their servers.
Support for anonymous authentication in yaz-client. Use the command
"auth -".
* Fix the OID of the Index Data-local "admin" Extended Service from
1.2.840.10003.9.81.1 to 1.2.840.10003.9.1000.81.1. The omission of
the 1000, which indicates a locally-defined OID, was a mistake.
--- 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).
in the process. (More information on tech-pkg.)
Bump PKGREVISION and BUILDLINK_DEPENDS of all packages using libtool and
installing .la files.
Bump PKGREVISION (only) of all packages depending directly on the above
via a buildlink3 include.
All library names listed by *.la files no longer need to be listed
in the PLIST, e.g., instead of:
lib/libfoo.a
lib/libfoo.la
lib/libfoo.so
lib/libfoo.so.0
lib/libfoo.so.0.1
one simply needs:
lib/libfoo.la
and bsd.pkg.mk will automatically ensure that the additional library
names are listed in the installed package +CONTENTS file.
Also make LIBTOOLIZE_PLIST default to "yes".
YAZ is a C/C++ library for information retrieval applications using
the Z39.50/SRW protocols for information retrieval.
Properties of YAZ:
* Complete Z39.50 version 3 support. Amendments and Z39.50-2002
revision is supported.
* Supports SRW version 1.0 (over HTTP and HTTPS).
* Includes BER encoders/decoders for the ISO ILL protocol.
* Supports the following transports: BER over TCP/IP (RFC1729), BER
over unix local socket, and HTTP 1.1.
* Secure Socket Layer support using OpenSSL. If enabled, YAZ uses
HTTPS transport (for SOAP) or "Secure BER" (for Z39.50).
* Offers ZOOM C API implementing both Z39.50 and SRW.
* The YAZ library offers a set of useful utilities related to the
protocols, such as MARC (ISO2709) parser, CCL (ISO8777) parser,
CQL parser, memory management routines, character set conversion.
* Portable code. YAZ compiles out-of-the box on most Unixes and 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.