Adam Dickmeiss [Tue, 23 Jan 2007 19:25:21 +0000 (19:25 +0000)]
Extended ZOOM result set options with two options that may be read by
a client: resultSetStatus and presentStatus with values as specified for
the ASN.1. See:
http://www.loc.gov/z3950/agency/markup/04.html#Search-status
Adam Dickmeiss [Mon, 22 Jan 2007 12:14:09 +0000 (12:14 +0000)]
Rule 'make yazj.pdf' produces PDF using jade. Good for checking that the
Docbook format is valid.
Adam Dickmeiss [Mon, 22 Jan 2007 10:35:07 +0000 (10:35 +0000)]
Implemented alternative Item Order package for ZOOM. If option "doc" is set,
that is treated as an ItemOrder with itemRequest being an XML document
external. The value of "doc" is the content.
Adam Dickmeiss [Mon, 22 Jan 2007 09:21:16 +0000 (09:21 +0000)]
Remove dead code
Mike Taylor [Sat, 20 Jan 2007 00:31:41 +0000 (00:31 +0000)]
Ignore three more files.
Adam Dickmeiss [Fri, 19 Jan 2007 16:08:33 +0000 (16:08 +0000)]
Using dblatex instead of pdfjadetex
Adam Dickmeiss [Fri, 19 Jan 2007 15:59:49 +0000 (15:59 +0000)]
Added authorgroup for author(s). Added releaseinfo.
Adam Dickmeiss [Fri, 19 Jan 2007 10:29:13 +0000 (10:29 +0000)]
For GFS, display COMSTACK error when cs_bind fails.
Adam Dickmeiss [Fri, 19 Jan 2007 10:28:42 +0000 (10:28 +0000)]
Fixed bug #827: Using SSL fails on Debian etch. Fixed by Using
SSL_library_init() rather than SSLeay_add_all_algorithms(). Works fine
with libssl0.9.6 (woody) and libssl0.9.8(etch).
Adam Dickmeiss [Thu, 18 Jan 2007 14:46:58 +0000 (14:46 +0000)]
marc8 test records in dist
Adam Dickmeiss [Thu, 18 Jan 2007 14:45:05 +0000 (14:45 +0000)]
Fixed bug #826: Weird looking chars for set of MARC records.
Problematic record in test/marc8.marc . The record switched to MARC-8
mode 'Basic Arabic', then back to 'basic Hebrew' (and never back
to Latin1/ASCII).
Adam Dickmeiss [Thu, 18 Jan 2007 11:44:50 +0000 (11:44 +0000)]
Fix test of xmllint precense
Adam Dickmeiss [Tue, 16 Jan 2007 14:12:37 +0000 (14:12 +0000)]
Extended the GFS search facility. New member of bend_search_rr
'estimated_hit_count' signals that hits is known to be an estmate
(higher or lower than real hit count). New member 'partial_resultset'
signals that the search was partial (hit count is lower or equal than
real hit count). For Z39.50, the information is stored in resultSetStatus
member of SearchResponse APDU. For SRU, the information is signalled
via SRU diagnostic 59: "Result set created with valid partial results
available".
Mike Taylor [Mon, 15 Jan 2007 23:43:14 +0000 (23:43 +0000)]
Ignore nfaxmltest1.log
Adam Dickmeiss [Sat, 13 Jan 2007 10:37:26 +0000 (10:37 +0000)]
YAZ 2.1.47
Adam Dickmeiss [Sat, 13 Jan 2007 09:00:03 +0000 (09:00 +0000)]
Towards 2.1.46
Adam Dickmeiss [Sat, 13 Jan 2007 08:57:47 +0000 (08:57 +0000)]
Removed mainpage - moved to yaz-util.h
Adam Dickmeiss [Fri, 12 Jan 2007 21:41:53 +0000 (21:41 +0000)]
Added Doxygen mainpage.
Adam Dickmeiss [Fri, 12 Jan 2007 21:03:30 +0000 (21:03 +0000)]
Renamed ZOOM_process_event to ZOOM_event_nonblock to signal that it
it is the non-blocking part of ZOOM_event. Added per-connection
version called ZOOM_connecton_process which is used by implementation
of ZOOM_event_nonblock.
Adam Dickmeiss [Thu, 11 Jan 2007 11:05:01 +0000 (11:05 +0000)]
Added ZOOM_API() to definition of ZOOM_connection_peek_event
Adam Dickmeiss [Thu, 11 Jan 2007 10:55:56 +0000 (10:55 +0000)]
Move HTTP logic out of zgdu.c to http.c.
Adam Dickmeiss [Thu, 11 Jan 2007 10:30:40 +0000 (10:30 +0000)]
Implemented bug #806: Deal with HTTP clients sending LF in HTTP headers.
Mike Taylor [Wed, 10 Jan 2007 14:16:01 +0000 (14:16 +0000)]
Ignore NFA tests.
Adam Dickmeiss [Wed, 10 Jan 2007 13:25:46 +0000 (13:25 +0000)]
Implemented ZOOM_connection_peek_event.
Adam Dickmeiss [Tue, 9 Jan 2007 13:56:47 +0000 (13:56 +0000)]
Implemented Generic select hook for ZOOM (bug #803). This is achieved with
the following new functions:
ZOOM_process_event,
ZOOM_connection_get_{socket,mask,timeout},
ZOOM_connection_fire_event_{timeout,socket}.
The existing blocking event handler, ZOOM_event, is a wrapper for the
+ blocking ZOOM_event_sys_{poll,select}.
Adam Dickmeiss [Mon, 8 Jan 2007 13:20:58 +0000 (13:20 +0000)]
Added missing source.
Adam Dickmeiss [Mon, 8 Jan 2007 10:48:06 +0000 (10:48 +0000)]
Implemented function ccl_xml_config which parses XML version of CCL
configuration (bug #798).
Adam Dickmeiss [Mon, 8 Jan 2007 10:45:19 +0000 (10:45 +0000)]
Fix Doxygen comment.
Mike Taylor [Mon, 8 Jan 2007 08:54:41 +0000 (08:54 +0000)]
New
Mike Taylor [Mon, 8 Jan 2007 08:54:29 +0000 (08:54 +0000)]
Append
Adam Dickmeiss [Sat, 6 Jan 2007 16:08:04 +0000 (16:08 +0000)]
Fixed bug #797: yaz_marc_write_xml does not honor character conversion.
Adam Dickmeiss [Sat, 6 Jan 2007 16:05:24 +0000 (16:05 +0000)]
Added wrbuf_cstr which returns 0-terminated WRBUF
Adam Dickmeiss [Sat, 6 Jan 2007 15:32:46 +0000 (15:32 +0000)]
Added wrbuf_destroy(w), equivalent to wrbuf_free(w,1)
Adam Dickmeiss [Fri, 5 Jan 2007 14:05:55 +0000 (14:05 +0000)]
Use a little CPU in timing test
Adam Dickmeiss [Fri, 5 Jan 2007 14:05:24 +0000 (14:05 +0000)]
Windows port of yaz_timing_t
Adam Dickmeiss [Fri, 5 Jan 2007 14:05:03 +0000 (14:05 +0000)]
Ignore .log files
Adam Dickmeiss [Fri, 5 Jan 2007 12:40:05 +0000 (12:40 +0000)]
win32 get real implemented (timings that is).
Adam Dickmeiss [Fri, 5 Jan 2007 12:37:53 +0000 (12:37 +0000)]
Added this
Adam Dickmeiss [Fri, 5 Jan 2007 12:00:11 +0000 (12:00 +0000)]
Reformat a bit. Building tst_timing.exe.
Adam Dickmeiss [Fri, 5 Jan 2007 11:45:11 +0000 (11:45 +0000)]
Added test of timing_t.
Adam Dickmeiss [Fri, 5 Jan 2007 11:44:49 +0000 (11:44 +0000)]
Special value -1.0 means 'could not get timings' on current platform.
Marc Cromme [Thu, 4 Jan 2007 14:44:34 +0000 (14:44 +0000)]
removed unused variable
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.