Marc Cromme [Thu, 4 Jan 2007 14:43:08 +0000 (14:43 +0000)]
changed output to be non-cascarding when using -n switch
Mike Taylor [Wed, 3 Jan 2007 13:55:49 +0000 (13:55 +0000)]
Note additional dependency libpcap0.8-dev
Adam Dickmeiss [Wed, 3 Jan 2007 13:46:17 +0000 (13:46 +0000)]
Added timings utility. Bump version to 2.1.45.
Adam Dickmeiss [Wed, 3 Jan 2007 09:02:06 +0000 (09:02 +0000)]
Announce 2.1.44 for dh_makeshlibs due to new function yaz_marc_write_xml
Adam Dickmeiss [Wed, 3 Jan 2007 08:42:13 +0000 (08:42 +0000)]
Towards 2.1.44. Bump copyright year.
Sebastian Hammer [Tue, 2 Jan 2007 07:01:56 +0000 (07:01 +0000)]
Explicitly associates NS with record root element in xmlNode output.
Adam Dickmeiss [Mon, 1 Jan 2007 22:56:37 +0000 (22:56 +0000)]
Define the LOG_ masks by default (again)
Adam Dickmeiss [Mon, 1 Jan 2007 22:39:08 +0000 (22:39 +0000)]
Fixed bug #779: Rotation of apdu.log fails.
Adam Dickmeiss [Thu, 21 Dec 2006 20:50:56 +0000 (20:50 +0000)]
Fixed Unicode to MARC-8 conversion for certain less preferred UTF-8
sequences. Conversion for first/second half double tilde + first/second half
ligature was changed. Conversion should now perform:
6f ef b8 a0 --> eb 6f, 6f ef b8 a1 --> ec 6f,
6f ef b8 a2 --> fa 6f, 6f ef b8 a3 --> fb 6f.
Adam Dickmeiss [Tue, 19 Dec 2006 22:41:28 +0000 (22:41 +0000)]
Honor G1 set in MARC-8 decoding.
Adam Dickmeiss [Mon, 18 Dec 2006 10:32:11 +0000 (10:32 +0000)]
Added yaz_marc_write_xml which creates MARCXML/MarcXchange record as
Libxml2 tree.
Adam Dickmeiss [Mon, 18 Dec 2006 08:48:30 +0000 (08:48 +0000)]
2.1.43
Adam Dickmeiss [Sun, 17 Dec 2006 16:28:16 +0000 (16:28 +0000)]
Towards 2.1.42.
Adam Dickmeiss [Sun, 17 Dec 2006 16:03:01 +0000 (16:03 +0000)]
Fixed bug #772: presentChunk option yields "Present request out of range".
Adam Dickmeiss [Sun, 17 Dec 2006 15:34:11 +0000 (15:34 +0000)]
Fixed bug #775: char conversion does not handle alternative UTF-8
sequences.
Adam Dickmeiss [Fri, 15 Dec 2006 20:36:45 +0000 (20:36 +0000)]
Add CABE as old UTF-8 sequence for Alif (MARC: AE)
Adam Dickmeiss [Fri, 15 Dec 2006 19:28:45 +0000 (19:28 +0000)]
Implemented function yaz_marc_read_line which parses MARC line format
records. There is a wealth of formats out there. So far, this function
reads line records produced by yaz_marc_write_line.
yaz-marcdump's options -x, -X, -I, -e have been replaced with the
more generic and easier to remember(!) options: -i format and -o format
which specifies input format and output format respectively - where
format is one of "marc", "marcxml", "line", "marcxchange".
Adam Dickmeiss [Fri, 15 Dec 2006 12:37:17 +0000 (12:37 +0000)]
Split MARC reader functions out of marcdisp.c. Prepare for MARC format
line reader.
Adam Dickmeiss [Thu, 14 Dec 2006 09:05:18 +0000 (09:05 +0000)]
For the CQL parser, make boolean node names lowercase.. but this time at
the lexical level rather than at the parser level.
Adam Dickmeiss [Thu, 14 Dec 2006 08:55:52 +0000 (08:55 +0000)]
For the CQL parser, make boolean node names lowercase.
Adam Dickmeiss [Wed, 13 Dec 2006 15:29:01 +0000 (15:29 +0000)]
Revert
Adam Dickmeiss [Wed, 13 Dec 2006 15:28:28 +0000 (15:28 +0000)]
Central point of exit for xmalloc
Adam Dickmeiss [Wed, 13 Dec 2006 14:18:03 +0000 (14:18 +0000)]
Added title for ziffy example.
Adam Dickmeiss [Wed, 13 Dec 2006 11:25:17 +0000 (11:25 +0000)]
Added header yaz/xmltypes.h which include libxml2' node definitions
or provide dummy alternatives if libxml2 is disabled (or does not exist).
This allows all Libxml2 related functions to be publicly defined
unconditionally. Also provides a more type safe system for applications
using these functions.
Adam Dickmeiss [Wed, 13 Dec 2006 11:23:48 +0000 (11:23 +0000)]
Disable SRU update in case of missing Libxml2
Adam Dickmeiss [Wed, 13 Dec 2006 11:22:20 +0000 (11:22 +0000)]
Added type cast from signed char to char
Adam Dickmeiss [Wed, 13 Dec 2006 11:21:56 +0000 (11:21 +0000)]
Define SSL + Libxml2 CFLAGS
Adam Dickmeiss [Wed, 13 Dec 2006 10:47:10 +0000 (10:47 +0000)]
Predefine YAZ_HAVE_XML2, YAZ_HAVE_XSLT
Adam Dickmeiss [Wed, 13 Dec 2006 10:36:00 +0000 (10:36 +0000)]
Removed objects nfa.obj, nfaxml.obj no longer in use
Adam Dickmeiss [Wed, 13 Dec 2006 10:35:44 +0000 (10:35 +0000)]
Removed files nfa.h, nfaxml.h no longer in use
Adam Dickmeiss [Wed, 13 Dec 2006 09:40:32 +0000 (09:40 +0000)]
Added documentation about ziffy.
Marc Cromme [Tue, 12 Dec 2006 10:41:38 +0000 (10:41 +0000)]
<retrielvalinfo> config file XML syntax changed to a more intuitive and well-structured format.
XML parser adjusted accordingly
related error messages fixed and added more context information to error messages
updated test suite and added a handful more XML config file tests
still missing to document the <recordinfo> YAZ record-transformation features
Adam Dickmeiss [Fri, 8 Dec 2006 14:02:55 +0000 (14:02 +0000)]
Added SRU diagnostic 62: "Cannot process or store record, insufficent space"
and diagnostic 100: "Not processed (replace or delete). Record ..." .
Changed "invalid" to "Invalid" for diagnostic 100.
Adam Dickmeiss [Fri, 8 Dec 2006 13:53:26 +0000 (13:53 +0000)]
Fixed bug regarding incomplete incoming packages. The bug was introduced
in version 1.105 of seshigh.c (and not part of official YAZ release).
Adam Dickmeiss [Thu, 7 Dec 2006 19:06:11 +0000 (19:06 +0000)]
Fixed bug #740 by using a simpler and smarter approach. Patch from Ko van
der Sloot.
Adam Dickmeiss [Thu, 7 Dec 2006 11:08:04 +0000 (11:08 +0000)]
Added 'check only' option for MARC utilities. Option -n for yaz-marcdump
does not print anything except warnings for records.
For yaz-marcdump, added support for MARC split into files (-s) with a given
chunk size (-C).
Adam Dickmeiss [Wed, 6 Dec 2006 21:35:57 +0000 (21:35 +0000)]
Changed the SRU update structures and codecs to reflect the SRU pre 1.0
spec, at http://www.loc.gov/standards/sru/record-update/
This has changed the binary layout of the following structs:
Z_SRW_extra_record, Z_SRW_updateRequest, Z_SRW_updateResponse and
bend_update_rr . Patch by Ko van der Sloot.
Adam Dickmeiss [Wed, 6 Dec 2006 13:26:47 +0000 (13:26 +0000)]
Debian 2.1.41-5
Mike Taylor [Wed, 6 Dec 2006 11:12:14 +0000 (11:12 +0000)]
Fixed bug #722: Allow Z39.50 Init Options to be specified / retrieved. Client code may now interrogate options such as "init_opt_sort" to find out whether the server claims to support various options.
Adam Dickmeiss [Mon, 4 Dec 2006 14:56:54 +0000 (14:56 +0000)]
Added GFS utility function bend_assoc_is_alive which returns 1 if
association is still alive (client is connected); 0 otherwise (client
closed connection). This allows busy servers to stop working for
impatient clients.
Adam Dickmeiss [Mon, 4 Dec 2006 09:15:46 +0000 (09:15 +0000)]
Debian package 2.1.41-4.
Adam Dickmeiss [Sun, 3 Dec 2006 18:07:10 +0000 (18:07 +0000)]
Make yaz-ziffy part of RPM.
Adam Dickmeiss [Fri, 1 Dec 2006 08:11:09 +0000 (08:11 +0000)]
Debian package yaz-ziffy is architecture all (not any). 2.1.41-3.
Adam Dickmeiss [Fri, 1 Dec 2006 07:57:38 +0000 (07:57 +0000)]
Debian yaz-2.1.40-2.
Adam Dickmeiss [Thu, 30 Nov 2006 22:58:06 +0000 (22:58 +0000)]
Fixed bug #740: Handle SRU records referring to xmlns outside recordData.
Implemented with static function fixup_xmlns.
Mike Taylor [Thu, 30 Nov 2006 17:07:50 +0000 (17:07 +0000)]
Postpone the setting of c->sru_mode until after leading options from
host string have been applied. This means that host strings like the
following now work correctly in specifying the use of SRU or SRW
respectively:
sru=get,http:z3950.loc.gov:7090/Voyager
sru=soap,http:z3950.loc.gov:7090/Voyager
(Previously, these options were set too late to have any effect.)
Adam Dickmeiss [Thu, 30 Nov 2006 09:11:35 +0000 (09:11 +0000)]
Added debian package yaz-ziffy.
Adam Dickmeiss [Thu, 30 Nov 2006 08:46:52 +0000 (08:46 +0000)]
Change --with-pcap-dir to --with-pcap[=DIR]. Enable ziffy only if libpcap
is found.
Adam Dickmeiss [Wed, 29 Nov 2006 22:35:17 +0000 (22:35 +0000)]
Veresion 2.1.41. Added ziffy, the promiscuous Z39.50 APDU sniffer
ny R. Carbone <rocco@ntop.org> .
Heikki Levanto [Wed, 29 Nov 2006 12:48:59 +0000 (12:48 +0000)]
Removed the nfa tests as well. Now passes make check.
Heikki Levanto [Wed, 29 Nov 2006 12:34:51 +0000 (12:34 +0000)]
Removed the nfa stuff - no longer needed
Adam Dickmeiss [Mon, 27 Nov 2006 14:15:53 +0000 (14:15 +0000)]
Towards 2.1.40.
Adam Dickmeiss [Mon, 27 Nov 2006 14:09:32 +0000 (14:09 +0000)]
Test differently for overflow in log bits
Adam Dickmeiss [Mon, 20 Nov 2006 08:13:05 +0000 (08:13 +0000)]
Remove YLOG_LOG msg
Adam Dickmeiss [Tue, 14 Nov 2006 08:48:26 +0000 (08:48 +0000)]
Added utilities yaz_{set,get}_esn
Adam Dickmeiss [Tue, 14 Nov 2006 08:37:37 +0000 (08:37 +0000)]
Added utilities yaz_{set,get}_esn to set/get element set name from
record composition.
Adam Dickmeiss [Tue, 14 Nov 2006 08:37:16 +0000 (08:37 +0000)]
For update, record ID "none" makes update omit record ID.
Adam Dickmeiss [Wed, 8 Nov 2006 08:57:34 +0000 (08:57 +0000)]
Repeat call to select(2) if errno=EINTR is returned.
Adam Dickmeiss [Wed, 8 Nov 2006 08:55:50 +0000 (08:55 +0000)]
Fixed bug #729: Bad error message when starting with an invalid address.
Adam Dickmeiss [Mon, 6 Nov 2006 23:21:30 +0000 (23:21 +0000)]
Make fake 'Present Out Of Range' Diagnostic for bad Z39.50 Present
Request Ranges.
In ZOOM_Event, repeat call to poll if errno=EINTR.
Marc Cromme [Mon, 6 Nov 2006 14:49:32 +0000 (14:49 +0000)]
added zoom layer record size debug output
added debian package version number 2.39 in changelog to be able to install packages
Adam Dickmeiss [Thu, 2 Nov 2006 08:06:03 +0000 (08:06 +0000)]
Removed the build of libyazthread.la. The libyaz.so is the threaded version
of YAZ and has been so since YAZ 2.1.10.
Adam Dickmeiss [Wed, 1 Nov 2006 15:39:05 +0000 (15:39 +0000)]
Fixed bug #719: Database in ZOOM_search may be different real search.
Fixed the database(s) values for scan + search. For extended services
there should not be a problem since those are built as APDUs
initially.
Adam Dickmeiss [Tue, 31 Oct 2006 14:08:01 +0000 (14:08 +0000)]
Implemented ZOOM_record_error which returns error information for
record (surrogate diagnostic). Bug #715.
Mike Taylor [Tue, 31 Oct 2006 12:27:15 +0000 (12:27 +0000)]
Ignore generated diagsru_update.h
Adam Dickmeiss [Tue, 31 Oct 2006 10:07:22 +0000 (10:07 +0000)]
Towards 2.1.38.
Adam Dickmeiss [Tue, 31 Oct 2006 10:02:06 +0000 (10:02 +0000)]
Added auto generated file diagsru_update.c
Mike Taylor [Tue, 31 Oct 2006 09:15:00 +0000 (09:15 +0000)]
Fix typo.
Adam Dickmeiss [Sun, 29 Oct 2006 18:33:54 +0000 (18:33 +0000)]
WIN32 mods for new SRU update
Adam Dickmeiss [Fri, 27 Oct 2006 12:19:15 +0000 (12:19 +0000)]
Fixed bug #711: Do not include Libxml2's headers from nmem.h.
Adam Dickmeiss [Fri, 27 Oct 2006 11:25:57 +0000 (11:25 +0000)]
Mention bug 709
Adam Dickmeiss [Fri, 27 Oct 2006 11:22:08 +0000 (11:22 +0000)]
Updates for SRU Update by Ko van der Sloot:
1. Changed name from "operation" to "action"
2. Fixed that that "recordIdentifier" was called "recordId". Kept the old
versions in the code, marked as 'backward compatible'.
3. Added diagnostics for SRU Update.
Adam Dickmeiss [Fri, 27 Oct 2006 11:02:50 +0000 (11:02 +0000)]
Change type to avoid problems with strict-aliasing rules
Adam Dickmeiss [Thu, 26 Oct 2006 15:34:46 +0000 (15:34 +0000)]
Fixes for bug #709: Records are fetched in wrong format when tasks are
queued. This change also queues elementSetName.
Adam Dickmeiss [Wed, 25 Oct 2006 09:58:19 +0000 (09:58 +0000)]
Fixed bug #707: CQL->RPN ignores lines with leading spaces. Changed
function cql_transform_open_FILE so that white-space is allowed in the
beginning of a pattern=value line. Lines with pattern but missing value
(or missing =) results in an error.
Adam Dickmeiss [Wed, 25 Oct 2006 09:54:35 +0000 (09:54 +0000)]
Document yaz_matchstr
Adam Dickmeiss [Wed, 25 Oct 2006 07:28:27 +0000 (07:28 +0000)]
Make an example reference to etc/pqf.properties.
Mike Taylor [Tue, 24 Oct 2006 11:48:42 +0000 (11:48 +0000)]
Note on selecting SRU dialect, including SRW.
Adam Dickmeiss [Tue, 24 Oct 2006 10:12:36 +0000 (10:12 +0000)]
Make a doc-clean rule
Adam Dickmeiss [Tue, 24 Oct 2006 09:53:42 +0000 (09:53 +0000)]
Fix compilation error
Adam Dickmeiss [Tue, 24 Oct 2006 09:18:34 +0000 (09:18 +0000)]
Fix bug #706: 2nd try. Implement the charset rules as follows:
SRU SOAP / POST: If charset in content-type is specified, use it . If
omitted, do not assume a particular charset (And &#x.. is in use).
SRU GET: If charset in content-type is specified, use it. If omitted, assume
UTF-8. Note that in most cases there will not even be a content-type for
SRU GET.
Adam Dickmeiss [Tue, 24 Oct 2006 08:26:49 +0000 (08:26 +0000)]
Don't make map files. zoomtst10 part of build.
Adam Dickmeiss [Tue, 24 Oct 2006 08:26:25 +0000 (08:26 +0000)]
Change usage example.
Adam Dickmeiss [Tue, 24 Oct 2006 08:12:12 +0000 (08:12 +0000)]
Fixed problem with SRU diagnostic 'First record position out of range'
being issued for 0 hits.
Adam Dickmeiss [Tue, 24 Oct 2006 08:07:02 +0000 (08:07 +0000)]
Fail decoding of SRU SOAP searchRetrieveRequest if queries are omitted
Adam Dickmeiss [Tue, 24 Oct 2006 08:05:45 +0000 (08:05 +0000)]
Fixed bug #706: XML hex encoding UTF-8 chars out of range 0-255.
In order to preserve UTF-8 sequences we must use xmlDocDumpMemoryEnc
instead of xmlDocDumpMemory. The former is only used if a charset
is given. YAZ reads that from the content-type HTTP header (;charset=).
This however, does not make sense for SRU GET. So for SRU GET we force
charset=utf-8 and use xmlDocDumpMemoryEnc.
Adam Dickmeiss [Tue, 17 Oct 2006 07:57:14 +0000 (07:57 +0000)]
Towards 2.1.37.
Adam Dickmeiss [Fri, 13 Oct 2006 12:50:14 +0000 (12:50 +0000)]
Towards 2.1.36
Adam Dickmeiss [Fri, 13 Oct 2006 11:30:37 +0000 (11:30 +0000)]
Files that include full license should not also point to file LICENSE.
Adam Dickmeiss [Fri, 13 Oct 2006 11:25:47 +0000 (11:25 +0000)]
Removed file with obsolete content.
Adam Dickmeiss [Fri, 13 Oct 2006 11:25:24 +0000 (11:25 +0000)]
Mention xsltproc. Refer to SRU rather than SRW
Adam Dickmeiss [Fri, 13 Oct 2006 11:22:26 +0000 (11:22 +0000)]
VS 2003 or later has getaddrinfo; older versions do not
Adam Dickmeiss [Fri, 13 Oct 2006 08:26:44 +0000 (08:26 +0000)]
More news
Adam Dickmeiss [Wed, 11 Oct 2006 09:39:43 +0000 (09:39 +0000)]
Fixed 'make distcheck'. Failed due to html files not being removed by
uninstall. Added uinstall-hook for the doc directory.
Adam Dickmeiss [Wed, 11 Oct 2006 08:43:21 +0000 (08:43 +0000)]
Implement yaz_filepath_comp which splits a path into file path
components.
Adam Dickmeiss [Tue, 10 Oct 2006 13:47:40 +0000 (13:47 +0000)]
Reindent
Adam Dickmeiss [Tue, 10 Oct 2006 09:13:52 +0000 (09:13 +0000)]
Changes for retrieval module: if backend schema is omitted, use
schema as specified in name attribute. And if name attribute is omitted
use schema as specified by client.
Adam Dickmeiss [Mon, 9 Oct 2006 21:12:44 +0000 (21:12 +0000)]
Extend ASN.1 compiler invocation rules with generated headers
Adam Dickmeiss [Mon, 9 Oct 2006 21:02:40 +0000 (21:02 +0000)]
Change wording ot YAZ license the 'Revised BSD License'. YAZ has used a
BSD inspired license until now so this should not have any real impact on
anybody. See http://www.opensource.org/licenses/bsd-license.php
Heikki Levanto [Mon, 9 Oct 2006 14:22:43 +0000 (14:22 +0000)]
Using plain char instead of unsigned char in my tests.
Removed warnings from printf formats on amd-64