yaz-moved-to-github.git
17 years agoDebian yaz-2.1.40-2.
Adam Dickmeiss [Fri, 1 Dec 2006 07:57:38 +0000 (07:57 +0000)]
Debian yaz-2.1.40-2.

17 years agoFixed bug #740: Handle SRU records referring to xmlns outside recordData.
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.

17 years agoPostpone the setting of c->sru_mode until after leading options from
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.)

17 years agoAdded debian package yaz-ziffy.
Adam Dickmeiss [Thu, 30 Nov 2006 09:11:35 +0000 (09:11 +0000)]
Added debian package yaz-ziffy.

17 years agoChange --with-pcap-dir to --with-pcap[=DIR]. Enable ziffy only if libpcap
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.

17 years agoVeresion 2.1.41. Added ziffy, the promiscuous Z39.50 APDU sniffer
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> .

17 years agoRemoved the nfa tests as well. Now passes make check.
Heikki Levanto [Wed, 29 Nov 2006 12:48:59 +0000 (12:48 +0000)]
Removed the nfa tests as well. Now passes make check.

17 years agoRemoved the nfa stuff - no longer needed
Heikki Levanto [Wed, 29 Nov 2006 12:34:51 +0000 (12:34 +0000)]
Removed the nfa stuff - no longer needed

17 years agoTowards 2.1.40. YAZ.2.1.40
Adam Dickmeiss [Mon, 27 Nov 2006 14:15:53 +0000 (14:15 +0000)]
Towards 2.1.40.

17 years agoTest differently for overflow in log bits
Adam Dickmeiss [Mon, 27 Nov 2006 14:09:32 +0000 (14:09 +0000)]
Test differently for overflow in log bits

18 years agoRemove YLOG_LOG msg
Adam Dickmeiss [Mon, 20 Nov 2006 08:13:05 +0000 (08:13 +0000)]
Remove YLOG_LOG msg

18 years agoAdded utilities yaz_{set,get}_esn
Adam Dickmeiss [Tue, 14 Nov 2006 08:48:26 +0000 (08:48 +0000)]
Added utilities yaz_{set,get}_esn

18 years agoAdded utilities yaz_{set,get}_esn to set/get element set name from
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.

18 years agoFor update, record ID "none" makes update omit record ID.
Adam Dickmeiss [Tue, 14 Nov 2006 08:37:16 +0000 (08:37 +0000)]
For update, record ID "none" makes update omit record ID.

18 years agoRepeat call to select(2) if errno=EINTR is returned.
Adam Dickmeiss [Wed, 8 Nov 2006 08:57:34 +0000 (08:57 +0000)]
Repeat call to select(2) if errno=EINTR is returned.

18 years agoFixed bug #729: Bad error message when starting with an invalid address.
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.

18 years agoMake fake 'Present Out Of Range' Diagnostic for bad Z39.50 Present
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.

18 years agoadded zoom layer record size debug output
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

18 years agoRemoved the build of libyazthread.la. The libyaz.so is the threaded version
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.

18 years agoFixed bug #719: Database in ZOOM_search may be different real search.
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.

18 years agoImplemented ZOOM_record_error which returns error information for
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.

18 years agoIgnore generated diagsru_update.h
Mike Taylor [Tue, 31 Oct 2006 12:27:15 +0000 (12:27 +0000)]
Ignore generated diagsru_update.h

18 years agoTowards 2.1.38. YAZ.2.1.38
Adam Dickmeiss [Tue, 31 Oct 2006 10:07:22 +0000 (10:07 +0000)]
Towards 2.1.38.

18 years agoAdded auto generated file diagsru_update.c
Adam Dickmeiss [Tue, 31 Oct 2006 10:02:06 +0000 (10:02 +0000)]
Added auto generated file diagsru_update.c

18 years agoFix typo.
Mike Taylor [Tue, 31 Oct 2006 09:15:00 +0000 (09:15 +0000)]
Fix typo.

18 years agoWIN32 mods for new SRU update
Adam Dickmeiss [Sun, 29 Oct 2006 18:33:54 +0000 (18:33 +0000)]
WIN32 mods for new SRU update

18 years agoFixed bug #711: Do not include Libxml2's headers from nmem.h.
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.

18 years agoMention bug 709
Adam Dickmeiss [Fri, 27 Oct 2006 11:25:57 +0000 (11:25 +0000)]
Mention bug 709

18 years agoUpdates for SRU Update by Ko van der Sloot:
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.

18 years agoChange type to avoid problems with strict-aliasing rules
Adam Dickmeiss [Fri, 27 Oct 2006 11:02:50 +0000 (11:02 +0000)]
Change type to avoid problems with strict-aliasing rules

18 years agoFixes for bug #709: Records are fetched in wrong format when tasks are
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.

18 years agoFixed bug #707: CQL->RPN ignores lines with leading spaces. Changed
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.

18 years agoDocument yaz_matchstr
Adam Dickmeiss [Wed, 25 Oct 2006 09:54:35 +0000 (09:54 +0000)]
Document yaz_matchstr

18 years agoMake an example reference to etc/pqf.properties.
Adam Dickmeiss [Wed, 25 Oct 2006 07:28:27 +0000 (07:28 +0000)]
Make an example reference to etc/pqf.properties.

18 years agoNote on selecting SRU dialect, including SRW.
Mike Taylor [Tue, 24 Oct 2006 11:48:42 +0000 (11:48 +0000)]
Note on selecting SRU dialect, including SRW.

18 years agoMake a doc-clean rule
Adam Dickmeiss [Tue, 24 Oct 2006 10:12:36 +0000 (10:12 +0000)]
Make a doc-clean rule

18 years agoFix compilation error
Adam Dickmeiss [Tue, 24 Oct 2006 09:53:42 +0000 (09:53 +0000)]
Fix compilation error

18 years agoFix bug #706: 2nd try. Implement the charset rules as follows:
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.

18 years agoDon't make map files. zoomtst10 part of build.
Adam Dickmeiss [Tue, 24 Oct 2006 08:26:49 +0000 (08:26 +0000)]
Don't make map files. zoomtst10 part of build.

18 years agoChange usage example.
Adam Dickmeiss [Tue, 24 Oct 2006 08:26:25 +0000 (08:26 +0000)]
Change usage example.

18 years agoFixed problem with SRU diagnostic 'First record position out of range'
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.

18 years agoFail decoding of SRU SOAP searchRetrieveRequest if queries are omitted
Adam Dickmeiss [Tue, 24 Oct 2006 08:07:02 +0000 (08:07 +0000)]
Fail decoding of SRU SOAP searchRetrieveRequest if queries are omitted

18 years agoFixed bug #706: XML hex encoding UTF-8 chars out of range 0-255.
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.

18 years agoTowards 2.1.37.
Adam Dickmeiss [Tue, 17 Oct 2006 07:57:14 +0000 (07:57 +0000)]
Towards 2.1.37.

18 years agoTowards 2.1.36 YAZ.2.1.36
Adam Dickmeiss [Fri, 13 Oct 2006 12:50:14 +0000 (12:50 +0000)]
Towards 2.1.36

18 years agoFiles that include full license should not also point to file LICENSE.
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.

18 years agoRemoved file with obsolete content.
Adam Dickmeiss [Fri, 13 Oct 2006 11:25:47 +0000 (11:25 +0000)]
Removed file with obsolete content.

18 years agoMention xsltproc. Refer to SRU rather than SRW
Adam Dickmeiss [Fri, 13 Oct 2006 11:25:24 +0000 (11:25 +0000)]
Mention xsltproc. Refer to SRU rather than SRW

18 years agoVS 2003 or later has getaddrinfo; older versions do not
Adam Dickmeiss [Fri, 13 Oct 2006 11:22:26 +0000 (11:22 +0000)]
VS 2003 or later has getaddrinfo; older versions do not

18 years agoMore news
Adam Dickmeiss [Fri, 13 Oct 2006 08:26:44 +0000 (08:26 +0000)]
More news

18 years agoFixed 'make distcheck'. Failed due to html files not being removed by
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.

18 years agoImplement yaz_filepath_comp which splits a path into file path
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.

18 years agoReindent
Adam Dickmeiss [Tue, 10 Oct 2006 13:47:40 +0000 (13:47 +0000)]
Reindent

18 years agoChanges for retrieval module: if backend schema is omitted, use
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.

18 years agoExtend ASN.1 compiler invocation rules with generated headers
Adam Dickmeiss [Mon, 9 Oct 2006 21:12:44 +0000 (21:12 +0000)]
Extend ASN.1 compiler invocation rules with generated headers

18 years agoChange wording ot YAZ license the 'Revised BSD License'. YAZ has used a
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

18 years agoUsing plain char instead of unsigned char in my tests.
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

18 years agoFixed bug #687: Missing log lines. Immediate logging (i.e. flush) is no
Adam Dickmeiss [Mon, 9 Oct 2006 11:21:37 +0000 (11:21 +0000)]
Fixed bug #687: Missing log lines. Immediate logging (i.e. flush) is no
enabled by default for the Generic Frontend Server. Also the log system's
use of the "global" l_level was changed and simplified. In particular
the log_mask_str now uses the current log level as "input" - not some
default log level.

18 years agoCopyright year
Adam Dickmeiss [Thu, 5 Oct 2006 16:19:16 +0000 (16:19 +0000)]
Copyright year

18 years agoFixed CQL term parsing: first char in unquoted terms was not prepared
Adam Dickmeiss [Thu, 5 Oct 2006 16:13:34 +0000 (16:13 +0000)]
Fixed CQL term parsing: first char in unquoted terms was not prepared
for \ escaping.

18 years agoFixed bug #678: CQL to PQF translation does not preserve double-quote
Adam Dickmeiss [Thu, 5 Oct 2006 16:12:23 +0000 (16:12 +0000)]
Fixed bug #678: CQL to PQF translation does not preserve double-quote
escaping.

18 years agoSimplify check for SRU record ranges in GFS.
Adam Dickmeiss [Thu, 5 Oct 2006 15:24:02 +0000 (15:24 +0000)]
Simplify check for SRU record ranges in GFS.

18 years agoFixed bug #689: SRU diagnostics to be added.
Adam Dickmeiss [Thu, 5 Oct 2006 15:19:33 +0000 (15:19 +0000)]
Fixed bug #689: SRU diagnostics to be added.
The SRU decoding now checks for proper values of "startRecord",
"maximumRecords", "maximumTerms", "responsePosition".

18 years agoUse ZOOM_API(int) for public function ZOOM_connection_is_idle
Adam Dickmeiss [Thu, 5 Oct 2006 14:58:58 +0000 (14:58 +0000)]
Use ZOOM_API(int) for public function ZOOM_connection_is_idle

18 years agoSupply id on all sections + examples.
Adam Dickmeiss [Thu, 5 Oct 2006 08:26:58 +0000 (08:26 +0000)]
Supply id on all sections + examples.

18 years agoChange K&R-style empty function declarations to explicit ANSI-C (void) prototypes
Mike Taylor [Wed, 4 Oct 2006 16:59:33 +0000 (16:59 +0000)]
Change K&R-style empty function declarations to explicit ANSI-C (void) prototypes

18 years agoImplement ZOOM_connection_is_idle.
Adam Dickmeiss [Wed, 4 Oct 2006 16:24:05 +0000 (16:24 +0000)]
Implement ZOOM_connection_is_idle.

18 years agoMore info on strftime(3) log file substitutions.
Adam Dickmeiss [Wed, 4 Oct 2006 13:21:33 +0000 (13:21 +0000)]
More info on strftime(3) log file substitutions.

18 years ago2.1.35.
Adam Dickmeiss [Wed, 4 Oct 2006 12:49:39 +0000 (12:49 +0000)]
2.1.35.

18 years ago2.1.34 YAZ.2.1.34
Adam Dickmeiss [Wed, 4 Oct 2006 08:04:09 +0000 (08:04 +0000)]
2.1.34

18 years agoUpdate
Adam Dickmeiss [Wed, 4 Oct 2006 08:01:28 +0000 (08:01 +0000)]
Update

18 years agoOnly generate up to 10 rotated log files.
Adam Dickmeiss [Wed, 4 Oct 2006 07:42:13 +0000 (07:42 +0000)]
Only generate up to 10 rotated log files.

18 years agotstlog uses -r instead of -s o control log file max
Adam Dickmeiss [Wed, 4 Oct 2006 07:32:36 +0000 (07:32 +0000)]
tstlog uses -r instead of -s o control log file max

18 years agoChange call to parse_cmd_doc to avoid problems with strict aliasing rules.
Adam Dickmeiss [Wed, 4 Oct 2006 07:26:00 +0000 (07:26 +0000)]
Change call to parse_cmd_doc to avoid problems with strict aliasing rules.

18 years agoImplement log rotate log.0, log.1, log.2,..
Adam Dickmeiss [Fri, 29 Sep 2006 15:29:36 +0000 (15:29 +0000)]
Implement log rotate log.0, log.1, log.2,..

18 years agoAdded support for specifying the max log file size for the Generic
Adam Dickmeiss [Fri, 29 Sep 2006 13:20:22 +0000 (13:20 +0000)]
Added support for specifying the max log file size for the Generic
Frontend Server. The size is given with option -r.

18 years agoAdded GCC option -Wstrict-prototypes to buildconf.sh -d. Updated code
Adam Dickmeiss [Wed, 27 Sep 2006 11:38:59 +0000 (11:38 +0000)]
Added GCC option -Wstrict-prototypes to buildconf.sh -d. Updated code
accordingly.

18 years agoFix initialization of recordPacking in SRU search in case of
Adam Dickmeiss [Fri, 22 Sep 2006 14:09:25 +0000 (14:09 +0000)]
Fix initialization of recordPacking in SRU search in case of
format=xml.

18 years agoChange type of optval from long to int for invocation of setsockopt with
Adam Dickmeiss [Thu, 21 Sep 2006 15:55:25 +0000 (15:55 +0000)]
Change type of optval from long to int for invocation of setsockopt with
the SO_REUSEADDR option.

18 years agoBump version to 2.1.33
Adam Dickmeiss [Thu, 21 Sep 2006 07:26:24 +0000 (07:26 +0000)]
Bump version to 2.1.33

18 years agoYAZ 2.1.32 YAZ.2.1.32
Adam Dickmeiss [Thu, 21 Sep 2006 06:58:54 +0000 (06:58 +0000)]
YAZ 2.1.32

18 years agoPut real prefix in references
Adam Dickmeiss [Thu, 21 Sep 2006 06:56:51 +0000 (06:56 +0000)]
Put real prefix in references

18 years agoZebra sorting relation-modifiers.
Mike Taylor [Wed, 20 Sep 2006 10:12:29 +0000 (10:12 +0000)]
Zebra sorting relation-modifiers.

18 years agoAdded the test for bug #641.
Adam Dickmeiss [Tue, 19 Sep 2006 21:15:01 +0000 (21:15 +0000)]
Added the test for bug #641.

18 years agoFor ZOOM-C, put reconnect handling to separate function. Fix reconnect
Adam Dickmeiss [Tue, 19 Sep 2006 21:09:44 +0000 (21:09 +0000)]
For ZOOM-C, put reconnect handling to separate function. Fix reconnect
handling for lost session (which broke in 1.87).

18 years agoAdded ZOOM Keepalive/reconnect test utility.
Adam Dickmeiss [Tue, 19 Sep 2006 19:41:32 +0000 (19:41 +0000)]
Added ZOOM Keepalive/reconnect test utility.

18 years ago2.1.31
Adam Dickmeiss [Mon, 18 Sep 2006 15:16:14 +0000 (15:16 +0000)]
2.1.31

18 years agoAdd cql.allRecords
Mike Taylor [Mon, 18 Sep 2006 10:50:59 +0000 (10:50 +0000)]
Add cql.allRecords

18 years agoupdated to use the ZOOM_EVENT_END event
Marc Cromme [Mon, 18 Sep 2006 09:40:05 +0000 (09:40 +0000)]
updated to use the ZOOM_EVENT_END event

18 years agoTowards 2.1.30. YAZ.2.1.30
Adam Dickmeiss [Sun, 17 Sep 2006 10:53:01 +0000 (10:53 +0000)]
Towards 2.1.30.

18 years agoAdd more news
Adam Dickmeiss [Sun, 17 Sep 2006 10:50:49 +0000 (10:50 +0000)]
Add more news

18 years agoFixed bug #660: addrinfo not handled correctly in tcpip.c.
Adam Dickmeiss [Fri, 15 Sep 2006 09:06:28 +0000 (09:06 +0000)]
Fixed bug #660: addrinfo not handled correctly in tcpip.c.

18 years agoFixed bug in Generic Frontend Server that could cause a server to stop
Adam Dickmeiss [Thu, 14 Sep 2006 13:50:24 +0000 (13:50 +0000)]
Fixed bug in Generic Frontend Server that could cause a server to stop
accepting new connections. Bug only seen on two CPU systems on 2003
server.

18 years agoIncrease FD_SETSIZE for winsock select
Adam Dickmeiss [Thu, 14 Sep 2006 13:47:57 +0000 (13:47 +0000)]
Increase FD_SETSIZE for winsock select

18 years agoconst correctness of z_HTTP_header_lookup first argument 'headers'
Marc Cromme [Thu, 14 Sep 2006 07:39:49 +0000 (07:39 +0000)]
const correctness of z_HTTP_header_lookup first argument 'headers'

18 years agoRemove unneeded comma after enum list
Adam Dickmeiss [Tue, 12 Sep 2006 19:09:43 +0000 (19:09 +0000)]
Remove unneeded comma after enum list

18 years agoUse 4=6 and 5=105 respectively for the "all" and "any" relations.
Mike Taylor [Tue, 12 Sep 2006 09:25:17 +0000 (09:25 +0000)]
Use 4=6 and 5=105 respectively for the "all" and "any" relations.
It turns out that Zebra supports these -- who knew?!  :-)

18 years agoAdded include of string.h
Adam Dickmeiss [Mon, 11 Sep 2006 12:12:42 +0000 (12:12 +0000)]
Added include of string.h

18 years agoenabled better C support
Marc Cromme [Mon, 11 Sep 2006 07:27:18 +0000 (07:27 +0000)]
enabled better C support

18 years agoAvoid mixed stmt/var declare
Adam Dickmeiss [Thu, 7 Sep 2006 11:31:39 +0000 (11:31 +0000)]
Avoid mixed stmt/var declare