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
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.
Adam Dickmeiss [Thu, 5 Oct 2006 16:19:16 +0000 (16:19 +0000)]
Copyright year
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.
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.
Adam Dickmeiss [Thu, 5 Oct 2006 15:24:02 +0000 (15:24 +0000)]
Simplify check for SRU record ranges in GFS.
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".
Adam Dickmeiss [Thu, 5 Oct 2006 14:58:58 +0000 (14:58 +0000)]
Use ZOOM_API(int) for public function ZOOM_connection_is_idle
Adam Dickmeiss [Thu, 5 Oct 2006 08:26:58 +0000 (08:26 +0000)]
Supply id on all sections + examples.
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
Adam Dickmeiss [Wed, 4 Oct 2006 16:24:05 +0000 (16:24 +0000)]
Implement ZOOM_connection_is_idle.
Adam Dickmeiss [Wed, 4 Oct 2006 13:21:33 +0000 (13:21 +0000)]
More info on strftime(3) log file substitutions.
Adam Dickmeiss [Wed, 4 Oct 2006 12:49:39 +0000 (12:49 +0000)]
2.1.35.
Adam Dickmeiss [Wed, 4 Oct 2006 08:04:09 +0000 (08:04 +0000)]
2.1.34
Adam Dickmeiss [Wed, 4 Oct 2006 08:01:28 +0000 (08:01 +0000)]
Update
Adam Dickmeiss [Wed, 4 Oct 2006 07:42:13 +0000 (07:42 +0000)]
Only generate up to 10 rotated log files.
Adam Dickmeiss [Wed, 4 Oct 2006 07:32:36 +0000 (07:32 +0000)]
tstlog uses -r instead of -s o control log file max
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.
Adam Dickmeiss [Fri, 29 Sep 2006 15:29:36 +0000 (15:29 +0000)]
Implement log rotate log.0, log.1, log.2,..
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.
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.
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.
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.
Adam Dickmeiss [Thu, 21 Sep 2006 07:26:24 +0000 (07:26 +0000)]
Bump version to 2.1.33
Adam Dickmeiss [Thu, 21 Sep 2006 06:58:54 +0000 (06:58 +0000)]
YAZ 2.1.32
Adam Dickmeiss [Thu, 21 Sep 2006 06:56:51 +0000 (06:56 +0000)]
Put real prefix in references
Mike Taylor [Wed, 20 Sep 2006 10:12:29 +0000 (10:12 +0000)]
Zebra sorting relation-modifiers.
Adam Dickmeiss [Tue, 19 Sep 2006 21:15:01 +0000 (21:15 +0000)]
Added the test for bug #641.
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).
Adam Dickmeiss [Tue, 19 Sep 2006 19:41:32 +0000 (19:41 +0000)]
Added ZOOM Keepalive/reconnect test utility.
Adam Dickmeiss [Mon, 18 Sep 2006 15:16:14 +0000 (15:16 +0000)]
2.1.31
Mike Taylor [Mon, 18 Sep 2006 10:50:59 +0000 (10:50 +0000)]
Add cql.allRecords
Marc Cromme [Mon, 18 Sep 2006 09:40:05 +0000 (09:40 +0000)]
updated to use the ZOOM_EVENT_END event
Adam Dickmeiss [Sun, 17 Sep 2006 10:53:01 +0000 (10:53 +0000)]
Towards 2.1.30.
Adam Dickmeiss [Sun, 17 Sep 2006 10:50:49 +0000 (10:50 +0000)]
Add more news
Adam Dickmeiss [Fri, 15 Sep 2006 09:06:28 +0000 (09:06 +0000)]
Fixed bug #660: addrinfo not handled correctly in tcpip.c.
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.
Adam Dickmeiss [Thu, 14 Sep 2006 13:47:57 +0000 (13:47 +0000)]
Increase FD_SETSIZE for winsock select
Marc Cromme [Thu, 14 Sep 2006 07:39:49 +0000 (07:39 +0000)]
const correctness of z_HTTP_header_lookup first argument 'headers'
Adam Dickmeiss [Tue, 12 Sep 2006 19:09:43 +0000 (19:09 +0000)]
Remove unneeded comma after enum list
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?! :-)
Adam Dickmeiss [Mon, 11 Sep 2006 12:12:42 +0000 (12:12 +0000)]
Added include of string.h
Marc Cromme [Mon, 11 Sep 2006 07:27:18 +0000 (07:27 +0000)]
enabled better C support
Adam Dickmeiss [Thu, 7 Sep 2006 11:31:39 +0000 (11:31 +0000)]
Avoid mixed stmt/var declare
Adam Dickmeiss [Thu, 7 Sep 2006 10:01:50 +0000 (10:01 +0000)]
Fix test for index.html in dist/isntall hook
ja7 [Thu, 7 Sep 2006 08:14:04 +0000 (08:14 +0000)]
fixed bug 656
Adam Dickmeiss [Wed, 6 Sep 2006 16:03:52 +0000 (16:03 +0000)]
Fix compilation for non- getaddrinfo case
Adam Dickmeiss [Wed, 6 Sep 2006 15:45:13 +0000 (15:45 +0000)]
Other spell fix. Bug #653
Adam Dickmeiss [Wed, 6 Sep 2006 15:21:26 +0000 (15:21 +0000)]
Dont return value in void function
Adam Dickmeiss [Wed, 6 Sep 2006 15:01:53 +0000 (15:01 +0000)]
Fixed bug 655: IP reverse map no longer works. Renamed blocking element
of COMSTACK to flags to make things more clearer.
Adam Dickmeiss [Wed, 6 Sep 2006 13:37:50 +0000 (13:37 +0000)]
Revert changes for PQF SRU queries.
Adam Dickmeiss [Wed, 6 Sep 2006 13:15:48 +0000 (13:15 +0000)]
Changed the way PQF queries are encoded in SRU GET/POST. PQF search
before: x-pquery=pqf . PQF search now: query=pqf&x-querytype=pqf . This
makes the SRU request more conformant because the required query parameter
is always present. PQF scan before: x-pScanClause=pqf . PQF scan now:
scanClause=pqf&x-querytype=pqf .
Adam Dickmeiss [Wed, 6 Sep 2006 09:35:39 +0000 (09:35 +0000)]
For the generic frontend server, the maximum record size is used as maximum
size of incoming packages (SRU + Z39.50). The value until was previously
only used in Z39.50 Init negotiation and, later, in a session controlled
sizes of records returned. This is controlled using -k option. It can be
specified, per server, with element maximumrecordsize in YAZ' GFS XML config.
Adam Dickmeiss [Wed, 6 Sep 2006 09:27:04 +0000 (09:27 +0000)]
Removed duplicated entity definitions
Adam Dickmeiss [Wed, 6 Sep 2006 09:26:36 +0000 (09:26 +0000)]
Added id attributes for section tags
Adam Dickmeiss [Mon, 4 Sep 2006 12:43:45 +0000 (12:43 +0000)]
Reduce HTMLFILES to index.html and do hooks to install/distrib html files.
Adam Dickmeiss [Mon, 4 Sep 2006 12:37:31 +0000 (12:37 +0000)]
Fix spelling of SRW diagnostic 60 (bug 653). Change wording of SRW
diagnostic 35. Added SRW diagnostic 93.
Adam Dickmeiss [Mon, 4 Sep 2006 12:09:53 +0000 (12:09 +0000)]
Version 2.1.29
Adam Dickmeiss [Mon, 4 Sep 2006 10:14:34 +0000 (10:14 +0000)]
Version 2.1.28.
Adam Dickmeiss [Fri, 1 Sep 2006 12:49:03 +0000 (12:49 +0000)]
More news about getaddrinfo.
Adam Dickmeiss [Fri, 1 Sep 2006 12:42:31 +0000 (12:42 +0000)]
Fix tcpip_set_blocking for Windows. Set comstack cerrno to CSYSERR in
more cases for tcpip_get (was unset before).
Adam Dickmeiss [Fri, 1 Sep 2006 12:40:44 +0000 (12:40 +0000)]
For frontend server, only issue error if recv buffer is too large
Adam Dickmeiss [Fri, 1 Sep 2006 11:27:20 +0000 (11:27 +0000)]
Use last rather than first colon in IP address as port separator
Adam Dickmeiss [Fri, 1 Sep 2006 10:39:09 +0000 (10:39 +0000)]
Using results of getaddrinfo to create sockets. This might just be what
it takes to go IPV6.
Adam Dickmeiss [Thu, 31 Aug 2006 18:19:53 +0000 (18:19 +0000)]
Fixed problem with unset variable (compose_char) in yaz_iconv system
Adam Dickmeiss [Thu, 31 Aug 2006 15:40:51 +0000 (15:40 +0000)]
Debian package 2.1.27-3.
Adam Dickmeiss [Wed, 30 Aug 2006 20:43:26 +0000 (20:43 +0000)]
Ideographic space gets converted to MARC-8 212321 instead of 212320
Adam Dickmeiss [Wed, 30 Aug 2006 20:40:18 +0000 (20:40 +0000)]
For duplicates in char conv trie, first conversion takes precedence
Adam Dickmeiss [Wed, 30 Aug 2006 20:14:51 +0000 (20:14 +0000)]
In character conversion to MARC-8, use ESC$1 instead ESC(1 to switch to
CJK character(s).
Adam Dickmeiss [Wed, 30 Aug 2006 19:26:43 +0000 (19:26 +0000)]
Use getaddrinfo on Windows too
Adam Dickmeiss [Wed, 30 Aug 2006 18:58:58 +0000 (18:58 +0000)]
TCP/IP COMSTACK uses getaddrinfo as resolver on systems that have it -
instead of gethostbyname_r which is not portable.
Adam Dickmeiss [Wed, 30 Aug 2006 12:55:12 +0000 (12:55 +0000)]
Define INADDR_NONE to -1 if undefined
Adam Dickmeiss [Wed, 30 Aug 2006 12:47:23 +0000 (12:47 +0000)]
Windows compile fix.
Adam Dickmeiss [Wed, 30 Aug 2006 12:04:42 +0000 (12:04 +0000)]
Fixed bug #644: Using Non Reentrant gethostbyname causes SIGSEGV. Function
gethostbyname_r is used instead of gethostbyname - when available.
Adam Dickmeiss [Mon, 28 Aug 2006 19:18:02 +0000 (19:18 +0000)]
Added refentryinfo with productname + productnumber
Adam Dickmeiss [Mon, 28 Aug 2006 18:35:07 +0000 (18:35 +0000)]
Add -l to cmdsynopsis list
Adam Dickmeiss [Mon, 28 Aug 2006 16:54:52 +0000 (16:54 +0000)]
Debian package 2.1.27-2
Adam Dickmeiss [Mon, 28 Aug 2006 14:18:18 +0000 (14:18 +0000)]
New option for yaz-marcdump -lpos=value which allows setting a portion
of MARC header to a certain value. Added function yaz_mac_leader_spec.
Adam Dickmeiss [Mon, 28 Aug 2006 12:34:40 +0000 (12:34 +0000)]
Fixed bug #643: Bad sequence for MARC conversions from UTF-8 to MARC-8.
Added test tstmarccol.sh for testing this. All sample ISO2709 marc records
renamed to have suffix .marc.
Adam Dickmeiss [Mon, 28 Aug 2006 12:31:18 +0000 (12:31 +0000)]
Reformat
Adam Dickmeiss [Sun, 27 Aug 2006 19:04:03 +0000 (19:04 +0000)]
Fixed bug #642: Problem with sub script symbols in conversion to
MARC-8.