yaz-moved-to-github.git
16 years agoVersino 3.0.13 YAZ.3.0.13.win32.snapshot
Adam Dickmeiss [Tue, 18 Sep 2007 13:05:18 +0000 (13:05 +0000)]
Versino 3.0.13

16 years agoMake an MARC conversion trie for each characterSet section rather than
Adam Dickmeiss [Mon, 17 Sep 2007 19:18:27 +0000 (19:18 +0000)]
Make an MARC conversion trie for each characterSet section rather than
codeTable. This is ensure we can deal with G0/G1 sequences. Bug #1464.

16 years agoLog iconv tests that fail
Adam Dickmeiss [Mon, 17 Sep 2007 19:15:22 +0000 (19:15 +0000)]
Log iconv tests that fail

16 years agoAdded wrbuf_verbose_str.
Adam Dickmeiss [Mon, 17 Sep 2007 19:14:26 +0000 (19:14 +0000)]
Added wrbuf_verbose_str.

16 years agoUse updated codetables.xml as provided by Larry Dixson (bug #1464).
Adam Dickmeiss [Fri, 14 Sep 2007 21:39:36 +0000 (21:39 +0000)]
Use updated codetables.xml as provided by Larry Dixson (bug #1464).

16 years agoBump version to 3.0.13
Adam Dickmeiss [Fri, 14 Sep 2007 20:55:57 +0000 (20:55 +0000)]
Bump version to 3.0.13

16 years agoTowards 3.0.12 YAZ.3.0.12
Adam Dickmeiss [Wed, 12 Sep 2007 06:49:37 +0000 (06:49 +0000)]
Towards 3.0.12

16 years agoMore news
Adam Dickmeiss [Tue, 11 Sep 2007 16:41:37 +0000 (16:41 +0000)]
More news

16 years agoZOOM C announces SRU version 1.2.
Adam Dickmeiss [Tue, 11 Sep 2007 16:36:51 +0000 (16:36 +0000)]
ZOOM C announces SRU version 1.2.

16 years agoMore news
Adam Dickmeiss [Tue, 11 Sep 2007 15:42:43 +0000 (15:42 +0000)]
More news

16 years agoHandle NULL SRU addinfo in printing
Adam Dickmeiss [Tue, 11 Sep 2007 15:16:20 +0000 (15:16 +0000)]
Handle NULL SRU addinfo in printing

16 years agoFixed problem with record cache and schema/diagnostics not being
Adam Dickmeiss [Tue, 11 Sep 2007 08:40:28 +0000 (08:40 +0000)]
Fixed problem with record cache and schema/diagnostics not being
set at all times.

16 years agoUsing odr_strdup_null a couple of places
Adam Dickmeiss [Tue, 11 Sep 2007 08:37:53 +0000 (08:37 +0000)]
Using odr_strdup_null a couple of places

16 years agoAdded odr_strdup_null which calls nmem_strdup_null. This function accepts
Adam Dickmeiss [Tue, 11 Sep 2007 08:35:42 +0000 (08:35 +0000)]
Added odr_strdup_null which calls nmem_strdup_null. This function accepts
a NULL ptr as source in which the result is a NULL ptr too.

16 years agoHandle surrogate diagnostics for SRU
Adam Dickmeiss [Sun, 9 Sep 2007 05:54:45 +0000 (05:54 +0000)]
Handle surrogate diagnostics for SRU

16 years agoFunction ZOOM_record_get allows type_spec=schema in which case schema
Adam Dickmeiss [Sat, 8 Sep 2007 06:17:45 +0000 (06:17 +0000)]
Function ZOOM_record_get allows type_spec=schema in which case schema
for record is returned.

16 years agoRolling
Mike Taylor [Fri, 7 Sep 2007 17:42:12 +0000 (17:42 +0000)]
Rolling

16 years agoyaz_diag_srw_to_bib1 now looks up SRW diagnostic codes first in a new
Mike Taylor [Fri, 7 Sep 2007 17:41:47 +0000 (17:41 +0000)]
yaz_diag_srw_to_bib1 now looks up SRW diagnostic codes first in a new
explicit reverse-mapping table, falling back to reverse-lookup in the
old table only if this does not succeed.

16 years agoAdd z_HTTP_header_add_basic_auth()
Mike Taylor [Thu, 6 Sep 2007 17:11:59 +0000 (17:11 +0000)]
Add z_HTTP_header_add_basic_auth()
Uses new static yaz_base64encode()

16 years agoAdd HTTP Basic authentication to SRU/GET, SRU/POST and SRW requests.
Mike Taylor [Thu, 6 Sep 2007 17:10:35 +0000 (17:10 +0000)]
Add HTTP Basic authentication to SRU/GET, SRU/POST and SRW requests.

16 years agoAdd z_HTTP_header_add_basic_auth()
Mike Taylor [Thu, 6 Sep 2007 17:09:56 +0000 (17:09 +0000)]
Add z_HTTP_header_add_basic_auth()

16 years agoHTTP Basic clienty authentication.
Mike Taylor [Thu, 6 Sep 2007 16:38:38 +0000 (16:38 +0000)]
HTTP Basic clienty authentication.

16 years agoSet SRU request structure's username/password from connection options.
Mike Taylor [Thu, 6 Sep 2007 12:40:53 +0000 (12:40 +0000)]
Set SRU request structure's username/password from connection options.

16 years agoOption sru_version holds negotiated SRU/SRW version.
Adam Dickmeiss [Fri, 31 Aug 2007 21:23:45 +0000 (21:23 +0000)]
Option sru_version holds negotiated SRU/SRW version.

16 years agoyaz_srw_get returns 1.1 PDU (as in earlier versions)
Adam Dickmeiss [Fri, 24 Aug 2007 13:26:03 +0000 (13:26 +0000)]
yaz_srw_get returns 1.1 PDU (as in earlier versions)

16 years agoyaz-client command 'sru' may set both SRU method (SOAP/GET/POST) and
Adam Dickmeiss [Fri, 24 Aug 2007 13:25:13 +0000 (13:25 +0000)]
yaz-client command 'sru' may set both SRU method (SOAP/GET/POST) and
version.

16 years agoFixed typo
Adam Dickmeiss [Thu, 23 Aug 2007 14:28:07 +0000 (14:28 +0000)]
Fixed typo

16 years agoAdded new ZOOM connection option "sru_version" which specifies SRU
Adam Dickmeiss [Thu, 23 Aug 2007 14:23:23 +0000 (14:23 +0000)]
Added new ZOOM connection option "sru_version" which specifies SRU
version - say 1.1 or 1.2. Fixed YAZ server's SRU GET/POST decoding
WRT version checking. Anything but 1.1 was rejected and this turned out
to be a mistake. For the GFS, anything but version 1.1 is negotiated to
1.2, except 1.1 which is negotiated to 1.1.

16 years agoFor SRU sarchRetrieve responses option resultSetId is set for result set
Adam Dickmeiss [Thu, 23 Aug 2007 12:24:38 +0000 (12:24 +0000)]
For SRU sarchRetrieve responses option resultSetId is set for result set

16 years agoVersion 3.0.10 YAZ.3.0.10
Adam Dickmeiss [Wed, 22 Aug 2007 09:09:03 +0000 (09:09 +0000)]
Version 3.0.10

16 years agoUpdated RPM spec file with some enhancements from Martin Armbrecht.
Adam Dickmeiss [Wed, 22 Aug 2007 08:58:16 +0000 (08:58 +0000)]
Updated RPM spec file with some enhancements from Martin Armbrecht.

16 years agoRevert last change regarding display_term. There still exists systems
Adam Dickmeiss [Wed, 22 Aug 2007 08:11:28 +0000 (08:11 +0000)]
Revert last change regarding display_term. There still exists systems
with old behavior.

16 years agoAlways honor display_term being set by backend handler. There is no
Adam Dickmeiss [Tue, 21 Aug 2007 13:20:51 +0000 (13:20 +0000)]
Always honor display_term being set by backend handler. There is no
need to be pre YAZ 2.0 backwards compatible.

16 years agoFixed scan continuation line not being set for displayTerm being ste
Adam Dickmeiss [Tue, 21 Aug 2007 13:19:44 +0000 (13:19 +0000)]
Fixed scan continuation line not being set for displayTerm being ste

16 years agoAdded support for SRU scan.
Adam Dickmeiss [Thu, 16 Aug 2007 10:09:36 +0000 (10:09 +0000)]
Added support for SRU scan.

16 years agoCOmment.
Mike Taylor [Wed, 15 Aug 2007 17:53:11 +0000 (17:53 +0000)]
COmment.

16 years agoFor XML ILL Request, YAZ attaches a dummy XML record as the ItemRequest
Adam Dickmeiss [Tue, 14 Aug 2007 12:22:51 +0000 (12:22 +0000)]
For XML ILL Request, YAZ attaches a dummy XML record as the ItemRequest
EXTERNAL in the targetPart structure.

16 years agoFor XML ILL Response, YAZ prints Octet aligned buf (presumably XML)
Adam Dickmeiss [Tue, 14 Aug 2007 12:21:14 +0000 (12:21 +0000)]
For XML ILL Response, YAZ prints Octet aligned buf (presumably XML)
if that is the ItemRequest EXTERNAL in the targetPart structure.

16 years agoDocument ccl2rpn setting.
Mike Taylor [Mon, 13 Aug 2007 16:58:46 +0000 (16:58 +0000)]
Document ccl2rpn setting.

16 years agoAdd entity reference-tools-ccl-qualifiers
Mike Taylor [Mon, 13 Aug 2007 16:58:27 +0000 (16:58 +0000)]
Add entity reference-tools-ccl-qualifiers
Better section title.

16 years agoBetter section title.
Mike Taylor [Mon, 13 Aug 2007 16:58:02 +0000 (16:58 +0000)]
Better section title.

16 years agoAdd entity reference-tools-ccl-qualifiers
Mike Taylor [Mon, 13 Aug 2007 16:57:40 +0000 (16:57 +0000)]
Add entity reference-tools-ccl-qualifiers

16 years agoAdd code to compile CCL qualifiers if specified using <ccl2rpn>.
Mike Taylor [Mon, 13 Aug 2007 16:46:47 +0000 (16:46 +0000)]
Add code to compile CCL qualifiers if specified using <ccl2rpn>.

16 years agoAdd ccl_transform element to struct gfs_server.
Mike Taylor [Mon, 13 Aug 2007 16:46:19 +0000 (16:46 +0000)]
Add ccl_transform element to struct gfs_server.

16 years agoIf a CCL qualifier mapping file has been specified, then incoming CCL
Mike Taylor [Mon, 13 Aug 2007 16:43:59 +0000 (16:43 +0000)]
If a CCL qualifier mapping file has been specified, then incoming CCL
queries are now transformed into Type-1 before being being handed off
to the back-end callback.  This is supported for Z39.50 searches, but
not for Scan, nor for SRU (where it's impossible to send CCL anyway).

16 years agoDescribe CCL support in GFS.
Mike Taylor [Mon, 13 Aug 2007 16:41:59 +0000 (16:41 +0000)]
Describe CCL support in GFS.

16 years agoFix minor type mismatch
Mike Taylor [Mon, 13 Aug 2007 16:23:30 +0000 (16:23 +0000)]
Fix minor type mismatch

16 years agoFixed bug #1338: GFS crashes when startRecord > number of hits.
Adam Dickmeiss [Fri, 27 Jul 2007 08:05:52 +0000 (08:05 +0000)]
Fixed bug #1338: GFS crashes when startRecord > number of hits.

16 years agoRemoevd unused definition
Adam Dickmeiss [Fri, 13 Jul 2007 09:28:43 +0000 (09:28 +0000)]
Remoevd unused definition

16 years agoAttribute spec file. Not in use yet
Adam Dickmeiss [Wed, 11 Jul 2007 08:35:57 +0000 (08:35 +0000)]
Attribute spec file. Not in use yet

16 years agoMake configure produce error if --with-pcap=yes or --with-pcap is given
Adam Dickmeiss [Tue, 10 Jul 2007 14:41:36 +0000 (14:41 +0000)]
Make configure produce error if --with-pcap=yes  or --with-pcap is given
and libpcap is not found. Added --with-pcap to configure in PRM spec.

16 years agoFor libpcap default search use AC_CHECK_LIB, AC_CHECK_HEADER. For
Adam Dickmeiss [Tue, 10 Jul 2007 14:28:37 +0000 (14:28 +0000)]
For libpcap default search use AC_CHECK_LIB, AC_CHECK_HEADER. For
manual libpcap spec, accept all values. But omit -L/-I for /usr.

16 years agoRemoved / in doc install rule to avoid double-slash (cygwin)
Adam Dickmeiss [Tue, 10 Jul 2007 09:42:46 +0000 (09:42 +0000)]
Removed / in doc install rule to avoid double-slash (cygwin)

16 years agoRemoved / in doc install rule to avoid double-slash (cygwin)
Adam Dickmeiss [Tue, 10 Jul 2007 09:40:44 +0000 (09:40 +0000)]
Removed / in doc install rule to avoid double-slash (cygwin)

16 years agoBuildRequire libpcap-devel rather than libpcap
Adam Dickmeiss [Mon, 9 Jul 2007 17:39:01 +0000 (17:39 +0000)]
BuildRequire libpcap-devel rather than libpcap

16 years agoChanged the Z39.50 ASN.1 a little: make userId in Permissions optional
Adam Dickmeiss [Wed, 4 Jul 2007 11:44:20 +0000 (11:44 +0000)]
Changed the Z39.50 ASN.1 a little: make userId in Permissions optional
and taskPackageRecords optional in Extended Service update (first version).
This is due to at least one implementation which incorrectly omits these.

16 years agoZOOM dumps BER if decoding fails and loglevel zoom is set
Adam Dickmeiss [Wed, 4 Jul 2007 11:42:14 +0000 (11:42 +0000)]
ZOOM dumps BER if decoding fails and loglevel zoom is set

16 years agoRevert
Adam Dickmeiss [Wed, 4 Jul 2007 09:21:00 +0000 (09:21 +0000)]
Revert

16 years agoInternal release
Adam Dickmeiss [Wed, 4 Jul 2007 09:20:06 +0000 (09:20 +0000)]
Internal release

16 years agoVersion 3.0.9
Adam Dickmeiss [Fri, 29 Jun 2007 08:09:28 +0000 (08:09 +0000)]
Version 3.0.9

16 years agoAdded support for the use of the older versions or Extended Service
Adam Dickmeiss [Fri, 29 Jun 2007 08:05:06 +0000 (08:05 +0000)]
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.

16 years agoBump version to 3.0.9
Adam Dickmeiss [Fri, 29 Jun 2007 08:03:02 +0000 (08:03 +0000)]
Bump version to 3.0.9

16 years agoChanged CQL to XCQL conversion, so that element for relation value in
Adam Dickmeiss [Thu, 28 Jun 2007 07:58:07 +0000 (07:58 +0000)]
Changed CQL to XCQL conversion, so that element for relation value in
modifier is 'comparison' rather than 'relation' so that it conforms to
 http://www.loc.gov/standards/sru/xml-files/xcql.xsd
When a comparison value is omitted, the st.relation in cql_node will
be NULL instead of "=". This has the effect that comparison will be
omitted in those cases.

16 years agoIgnore new programs
Adam Dickmeiss [Mon, 25 Jun 2007 18:42:05 +0000 (18:42 +0000)]
Ignore new programs

16 years agoUpstream 3.0.8
Adam Dickmeiss [Mon, 25 Jun 2007 18:41:40 +0000 (18:41 +0000)]
Upstream 3.0.8

16 years agoTowards 3.0.8
Adam Dickmeiss [Mon, 25 Jun 2007 18:41:13 +0000 (18:41 +0000)]
Towards 3.0.8

16 years agoFixed spelling
Adam Dickmeiss [Mon, 25 Jun 2007 18:34:27 +0000 (18:34 +0000)]
Fixed spelling

16 years agoFixed bug #1208: SSL appears to be broken in ZOOM. The problem occurred
Adam Dickmeiss [Mon, 25 Jun 2007 18:34:09 +0000 (18:34 +0000)]
Fixed bug #1208: SSL appears to be broken in ZOOM. The problem occurred
when cs_rcvconnect returned 1. In this case no event was not generated.
Now ZOOM_EVENT_NONE is created.

16 years agoImplemented oid_name_to_dotstring. Added test for OID API.
Adam Dickmeiss [Sun, 24 Jun 2007 19:27:11 +0000 (19:27 +0000)]
Implemented oid_name_to_dotstring. Added test for OID API.

16 years agoAllow elementSetName to be specified for ZOOM C record update.
Adam Dickmeiss [Thu, 21 Jun 2007 09:00:53 +0000 (09:00 +0000)]
Allow elementSetName to be specified for ZOOM C record update.

16 years agoAllow waitAction to be specified for ZOOM C based for Extended Services.
Adam Dickmeiss [Wed, 20 Jun 2007 12:55:29 +0000 (12:55 +0000)]
Allow waitAction to be specified for ZOOM C based for Extended Services.

16 years agoRemoved definition of docdir. It is set by automake already
Adam Dickmeiss [Sun, 17 Jun 2007 07:05:42 +0000 (07:05 +0000)]
Removed definition of docdir. It is set by automake already

16 years agoFixed NULL ptr reference caused by omitted record syntax OID. Bug
Adam Dickmeiss [Thu, 14 Jun 2007 10:44:18 +0000 (10:44 +0000)]
Fixed NULL ptr reference caused by omitted record syntax OID. Bug
introduced in YAZ 3 series.

16 years agoUpdate to libxml2 2.6.28 / libxslt 1.1.19
Adam Dickmeiss [Wed, 13 Jun 2007 08:22:31 +0000 (08:22 +0000)]
Update to libxml2 2.6.28 / libxslt 1.1.19

16 years agoMake yaz-ztest returns a certain number of hits if a "numeric" term
Adam Dickmeiss [Mon, 11 Jun 2007 08:50:57 +0000 (08:50 +0000)]
Make yaz-ztest returns a certain number of hits if a "numeric" term
is supplied. E.g. @attr 1=4 12    - returns 12 hits. A non-numeric
term make yaz-ztest return a random hit count as before.

16 years agoFixed a silly bug: displayed version info also if -l was specified.
Heikki Levanto [Fri, 8 Jun 2007 10:01:07 +0000 (10:01 +0000)]
Fixed a silly bug: displayed version info also if -l was specified.
Added the missing break statement

16 years agoBump version to 3.0.7
Adam Dickmeiss [Thu, 7 Jun 2007 08:27:57 +0000 (08:27 +0000)]
Bump version to 3.0.7

16 years agoTowards 3.0.6.
Adam Dickmeiss [Wed, 6 Jun 2007 16:42:35 +0000 (16:42 +0000)]
Towards 3.0.6.

16 years agoProper comments and info for dealing with various VS versions
Adam Dickmeiss [Wed, 6 Jun 2007 16:34:23 +0000 (16:34 +0000)]
Proper comments and info for dealing with various VS versions

16 years agoRemoved WIN32 libs not in use
Adam Dickmeiss [Wed, 6 Jun 2007 16:33:19 +0000 (16:33 +0000)]
Removed WIN32 libs not in use

16 years agoUse LONGLONG rather than ULONGLONG on Windows to support good'old
Adam Dickmeiss [Wed, 6 Jun 2007 16:32:34 +0000 (16:32 +0000)]
Use LONGLONG rather than ULONGLONG on Windows to support good'old
MSVC6.

16 years agoFix potential buffer overrun that could occur if SRU charset name
Adam Dickmeiss [Tue, 5 Jun 2007 06:52:23 +0000 (06:52 +0000)]
Fix potential buffer overrun that could occur if SRU charset name
was more than 40 characters in length.

16 years agoUsing yaz_snprintf (snprintf) rather than sprintf. No real buffer overrun
Adam Dickmeiss [Tue, 5 Jun 2007 06:42:26 +0000 (06:42 +0000)]
Using yaz_snprintf (snprintf) rather than sprintf. No real buffer overrun
since 511 < FILENAME_MAX in virtually all cases.

16 years agoUpdate usage msg
Adam Dickmeiss [Tue, 5 Jun 2007 06:40:28 +0000 (06:40 +0000)]
Update usage msg

16 years agoFix buffer overrun by one in the setting of l_prefix/l_prefix2
Adam Dickmeiss [Tue, 5 Jun 2007 06:23:07 +0000 (06:23 +0000)]
Fix buffer overrun by one in the setting of l_prefix/l_prefix2

16 years agoExercise yaz_log_init_prefix
Adam Dickmeiss [Tue, 5 Jun 2007 06:22:19 +0000 (06:22 +0000)]
Exercise yaz_log_init_prefix

16 years agoFixed potential buffer overrun in yaz_log for YLOG_ERRNO messages.
Adam Dickmeiss [Tue, 5 Jun 2007 05:58:16 +0000 (05:58 +0000)]
Fixed potential buffer overrun in yaz_log for YLOG_ERRNO messages.

16 years agoProperly null-terminate Unix-domain socket path. Thanks to Marc Espie
Adam Dickmeiss [Tue, 5 Jun 2007 05:42:07 +0000 (05:42 +0000)]
Properly null-terminate Unix-domain socket path. Thanks to Marc Espie
for spotting this.

16 years agoFix NULL ptr reference which occurred for unknown diagset receieved.
Adam Dickmeiss [Mon, 4 Jun 2007 09:18:09 +0000 (09:18 +0000)]
Fix NULL ptr reference which occurred for unknown diagset receieved.

16 years agoOrder options and usage info
Adam Dickmeiss [Sun, 3 Jun 2007 15:55:50 +0000 (15:55 +0000)]
Order options and usage info

16 years agoyaz-client now reads commands from file given by option -f if
Adam Dickmeiss [Sun, 3 Jun 2007 14:59:33 +0000 (14:59 +0000)]
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.

16 years agoAdded Deb/RPM package for yaz-illclient. Closes #1155.
Adam Dickmeiss [Sun, 3 Jun 2007 10:10:07 +0000 (10:10 +0000)]
Added Deb/RPM package for yaz-illclient. Closes #1155.

16 years agoInstall yaz-illclient in PREFIX/bin
Adam Dickmeiss [Sun, 3 Jun 2007 09:57:25 +0000 (09:57 +0000)]
Install yaz-illclient in PREFIX/bin

16 years agoAdded yaz-illclient man page.
Adam Dickmeiss [Sun, 3 Jun 2007 09:56:50 +0000 (09:56 +0000)]
Added yaz-illclient man page.

16 years agoEmbed manifest file in EXE/DLLs for YAZ. But only if USE_MANIFEST is
Adam Dickmeiss [Sun, 3 Jun 2007 09:34:43 +0000 (09:34 +0000)]
Embed manifest file in EXE/DLLs for YAZ. But only if USE_MANIFEST is
set to 1.

16 years agoFixed bug #1157: yaz-client does not read .yazclientrc from current
Adam Dickmeiss [Sun, 3 Jun 2007 08:06:31 +0000 (08:06 +0000)]
Fixed bug #1157: yaz-client does not read .yazclientrc from current
directory. yaz-client now reads ·yazclient from current directory;
failing that ~/.yazclientrc is read.

16 years ago3.0.5 for windows
Adam Dickmeiss [Sat, 2 Jun 2007 20:57:12 +0000 (20:57 +0000)]
3.0.5 for windows

16 years agoUsing informaltable rather than table for list of Object Identifiers.
Adam Dickmeiss [Thu, 31 May 2007 12:14:02 +0000 (12:14 +0000)]
Using informaltable rather than table for list of Object Identifiers.
This is to avoid truncation of the (long) table. Combine OID and Constant
into one column.

16 years agoFixed bug #1151: Doc's don't reflect new oid layout. Current backend.h
Adam Dickmeiss [Thu, 31 May 2007 09:45:14 +0000 (09:45 +0000)]
Fixed bug #1151: Doc's don't reflect new oid layout. Current backend.h
structs copied into synopsys sections and minor wording changes about
OIDs were changed.

16 years agoNo need for -lnsl for wrap
Adam Dickmeiss [Thu, 31 May 2007 08:01:30 +0000 (08:01 +0000)]
No need for -lnsl for wrap