yaz-moved-to-github.git
17 years agoDocument more yaz-marcdump options
Adam Dickmeiss [Sun, 23 Sep 2007 07:40:13 +0000 (07:40 +0000)]
Document more yaz-marcdump options

17 years agoAdded MARC-8 encoded Arabic record, marc9.marc, to test that blanks are
Adam Dickmeiss [Sun, 23 Sep 2007 07:21:51 +0000 (07:21 +0000)]
Added MARC-8 encoded Arabic record, marc9.marc, to test that blanks are
preserved.
Added UTF-8 encoded Chinese record, marccol3.u8.marc, which has the
Ideographic space sequence it.

17 years agoAdded test for conversion of utf8 e38080 to marc8 212321 (Ideographic
Adam Dickmeiss [Sat, 22 Sep 2007 18:56:22 +0000 (18:56 +0000)]
Added test for conversion of utf8 e38080 to marc8 212321 (Ideographic
space).

17 years agoRemove duplicates (already existing) in flat entries for MARC-8
Adam Dickmeiss [Sat, 22 Sep 2007 18:55:02 +0000 (18:55 +0000)]
Remove duplicates (already existing) in flat entries for MARC-8
tries. Previously only duplicates in index tries were treated.
This ensures that only first sequence (of multiple) is used for
conversion and takes precedence. For example utf E38080 is
converted then converted to marc8 212321 (not marc8 212320).

17 years agoTreat space (20X) as present in all MARC-8 charsets
Adam Dickmeiss [Sat, 22 Sep 2007 18:49:55 +0000 (18:49 +0000)]
Treat space (20X) as present in all MARC-8 charsets

17 years agoFixed compilation for absent Libxml2.
Adam Dickmeiss [Fri, 21 Sep 2007 16:04:48 +0000 (16:04 +0000)]
Fixed compilation for absent Libxml2.

17 years agoTowards 3.0.14 YAZ.3.0.14
Adam Dickmeiss [Fri, 21 Sep 2007 09:24:17 +0000 (09:24 +0000)]
Towards 3.0.14

17 years agoInitialize diag_messÃage member of ZOOM_record
Adam Dickmeiss [Fri, 21 Sep 2007 07:10:08 +0000 (07:10 +0000)]
Initialize diag_messÃage member of ZOOM_record

17 years agoFixed bug in conversion to XML from MARC: Non-XML characters in control
Adam Dickmeiss [Thu, 20 Sep 2007 17:22:45 +0000 (17:22 +0000)]
Fixed bug in conversion to XML from MARC: Non-XML characters in control
fields were not removed.

17 years agoRemoved reference to url.srw
Adam Dickmeiss [Tue, 18 Sep 2007 19:19:16 +0000 (19:19 +0000)]
Removed reference to url.srw

17 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

17 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.

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

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

17 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).

17 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

17 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

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

17 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.

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

17 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

17 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.

17 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

17 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.

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

17 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.

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

17 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.

17 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()

17 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.

17 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()

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

17 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.

17 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.

17 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)

17 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.

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

17 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.

17 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

17 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

17 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.

17 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.

17 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.

17 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

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

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

17 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.

17 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.

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

17 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.

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

17 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

17 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>.

17 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.

17 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).

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

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

17 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.

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

17 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

17 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.

17 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.

17 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)

17 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)

17 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

17 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.

17 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

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

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

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

17 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.

17 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

17 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.

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

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

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

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

17 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.

17 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.

17 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.

17 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.

17 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

17 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.

17 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

17 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.

17 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

17 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

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

17 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

17 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

17 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.

17 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.

17 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.

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

17 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

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

17 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.

17 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.

17 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.

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