yaz-moved-to-github.git
17 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.

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

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

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

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

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

17 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

17 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

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

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

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

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

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

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

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

17 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

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

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

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

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

17 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

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

17 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

17 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?!  :-)

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

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

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

17 years agoFix test for index.html in dist/isntall hook
Adam Dickmeiss [Thu, 7 Sep 2006 10:01:50 +0000 (10:01 +0000)]
Fix test for index.html in dist/isntall hook

17 years agofixed bug 656
ja7 [Thu, 7 Sep 2006 08:14:04 +0000 (08:14 +0000)]
fixed bug 656

17 years agoFix compilation for non- getaddrinfo case
Adam Dickmeiss [Wed, 6 Sep 2006 16:03:52 +0000 (16:03 +0000)]
Fix compilation for non- getaddrinfo case

17 years agoOther spell fix. Bug #653
Adam Dickmeiss [Wed, 6 Sep 2006 15:45:13 +0000 (15:45 +0000)]
Other spell fix. Bug #653

17 years agoDont return value in void function
Adam Dickmeiss [Wed, 6 Sep 2006 15:21:26 +0000 (15:21 +0000)]
Dont return value in void function

17 years agoFixed bug 655: IP reverse map no longer works. Renamed blocking element
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.

17 years agoRevert changes for PQF SRU queries.
Adam Dickmeiss [Wed, 6 Sep 2006 13:37:50 +0000 (13:37 +0000)]
Revert changes for PQF SRU queries.

17 years agoChanged the way PQF queries are encoded in SRU GET/POST. PQF search
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 .

17 years agoFor the generic frontend server, the maximum record size is used as maximum
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.

17 years agoRemoved duplicated entity definitions
Adam Dickmeiss [Wed, 6 Sep 2006 09:27:04 +0000 (09:27 +0000)]
Removed duplicated entity definitions

17 years agoAdded id attributes for section tags
Adam Dickmeiss [Wed, 6 Sep 2006 09:26:36 +0000 (09:26 +0000)]
Added id attributes for section tags

17 years agoReduce HTMLFILES to index.html and do hooks to install/distrib html files.
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.

17 years agoFix spelling of SRW diagnostic 60 (bug 653). Change wording of SRW
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.

17 years agoVersion 2.1.29
Adam Dickmeiss [Mon, 4 Sep 2006 12:09:53 +0000 (12:09 +0000)]
Version 2.1.29

17 years agoVersion 2.1.28. YAZ.2.1.28
Adam Dickmeiss [Mon, 4 Sep 2006 10:14:34 +0000 (10:14 +0000)]
Version 2.1.28.

17 years agoMore news about getaddrinfo.
Adam Dickmeiss [Fri, 1 Sep 2006 12:49:03 +0000 (12:49 +0000)]
More news about getaddrinfo.

17 years agoFix tcpip_set_blocking for Windows. Set comstack cerrno to CSYSERR in
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).

17 years agoFor frontend server, only issue error if recv buffer is too large
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

17 years agoUse last rather than first colon in IP address as port separator
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

17 years agoUsing results of getaddrinfo to create sockets. This might just be what
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.

17 years agoFixed problem with unset variable (compose_char) in yaz_iconv system
Adam Dickmeiss [Thu, 31 Aug 2006 18:19:53 +0000 (18:19 +0000)]
Fixed problem with unset variable (compose_char) in yaz_iconv system

17 years agoDebian package 2.1.27-3.
Adam Dickmeiss [Thu, 31 Aug 2006 15:40:51 +0000 (15:40 +0000)]
Debian package 2.1.27-3.

17 years agoIdeographic space gets converted to MARC-8 212321 instead of 212320
Adam Dickmeiss [Wed, 30 Aug 2006 20:43:26 +0000 (20:43 +0000)]
Ideographic space gets converted to MARC-8 212321 instead of 212320

17 years agoFor duplicates in char conv trie, first conversion takes precedence
Adam Dickmeiss [Wed, 30 Aug 2006 20:40:18 +0000 (20:40 +0000)]
For duplicates in char conv trie, first conversion takes precedence

17 years agoIn character conversion to MARC-8, use ESC$1 instead ESC(1 to switch to
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).

17 years agoUse getaddrinfo on Windows too
Adam Dickmeiss [Wed, 30 Aug 2006 19:26:43 +0000 (19:26 +0000)]
Use getaddrinfo on Windows too

17 years agoTCP/IP COMSTACK uses getaddrinfo as resolver on systems that have it -
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.

17 years agoDefine INADDR_NONE to -1 if undefined
Adam Dickmeiss [Wed, 30 Aug 2006 12:55:12 +0000 (12:55 +0000)]
Define INADDR_NONE to -1 if undefined

17 years agoWindows compile fix.
Adam Dickmeiss [Wed, 30 Aug 2006 12:47:23 +0000 (12:47 +0000)]
Windows compile fix.

17 years agoFixed bug #644: Using Non Reentrant gethostbyname causes SIGSEGV. Function
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.

17 years agoAdded refentryinfo with productname + productnumber
Adam Dickmeiss [Mon, 28 Aug 2006 19:18:02 +0000 (19:18 +0000)]
Added refentryinfo with productname + productnumber

17 years agoAdd -l to cmdsynopsis list
Adam Dickmeiss [Mon, 28 Aug 2006 18:35:07 +0000 (18:35 +0000)]
Add -l to cmdsynopsis list

17 years agoDebian package 2.1.27-2
Adam Dickmeiss [Mon, 28 Aug 2006 16:54:52 +0000 (16:54 +0000)]
Debian package 2.1.27-2

17 years agoNew option for yaz-marcdump -lpos=value which allows setting a portion
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.

17 years agoFixed bug #643: Bad sequence for MARC conversions from UTF-8 to MARC-8.
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.

17 years agoReformat
Adam Dickmeiss [Mon, 28 Aug 2006 12:31:18 +0000 (12:31 +0000)]
Reformat

17 years agoFixed bug #642: Problem with sub script symbols in conversion to
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.

17 years agoFixed bug #641: Sending a too-big packet sometimes make ZOOM-C no-op
Adam Dickmeiss [Fri, 25 Aug 2006 14:57:04 +0000 (14:57 +0000)]
Fixed bug #641: Sending a too-big packet sometimes make ZOOM-C no-op
subsequent operations.

17 years agoTook away that -Werror from -d until all tests pass cleanly
Heikki Levanto [Thu, 24 Aug 2006 14:29:58 +0000 (14:29 +0000)]
Took away that -Werror from -d until all tests pass cleanly

17 years agoAdded -Werror to the -d option, so that the compilation ends at the first
Heikki Levanto [Thu, 24 Aug 2006 13:41:18 +0000 (13:41 +0000)]
Added -Werror to the -d option, so that the compilation ends at the first
warning.

17 years agoMake a facility for COMSTACK to reject too large packages. The maximum
Adam Dickmeiss [Thu, 24 Aug 2006 13:25:44 +0000 (13:25 +0000)]
Make a facility for COMSTACK to reject too large packages. The maximum
size can be set with cs_ste_max_recv_bytes. By default, maximum is
5000000 (approx 5 MB). If max size is received error comstack error
CSBUFSIZE is returned. The generic frontend server checks for this error
and sends a close + logs if this condition occur.

17 years agoAllow this update test to read record data from standard input.
Adam Dickmeiss [Thu, 24 Aug 2006 13:19:44 +0000 (13:19 +0000)]
Allow this update test to read record data from standard input.

17 years agoDoxygen comment.
Adam Dickmeiss [Thu, 24 Aug 2006 13:11:27 +0000 (13:11 +0000)]
Doxygen comment.

17 years agocompleteBER, completeBER_n no longer checks for a maximum size of 5 MB.
Adam Dickmeiss [Thu, 24 Aug 2006 13:10:03 +0000 (13:10 +0000)]
completeBER, completeBER_n no longer checks for a maximum size of 5 MB.
Too large packages to be rejected are dealt with in comstack instead.

17 years agoFixed bug #640: ZOOM_connection_connect() does not clear error
Adam Dickmeiss [Thu, 24 Aug 2006 12:51:49 +0000 (12:51 +0000)]
Fixed bug #640: ZOOM_connection_connect() does not clear error
indicators.

17 years agoMake a public function, yaz_write_UTF8_char, to encode a UTF-8 sequence.
Adam Dickmeiss [Thu, 24 Aug 2006 10:01:03 +0000 (10:01 +0000)]
Make a public function, yaz_write_UTF8_char, to encode a UTF-8 sequence.

17 years agoMove yaz_srw_get_core_v_1_1 to other source. Define it always
Adam Dickmeiss [Fri, 18 Aug 2006 06:30:05 +0000 (06:30 +0000)]
Move yaz_srw_get_core_v_1_1 to other source. Define it always
regardless of Libxml2 being available or not.

17 years agoTowards 2.1.27.
Adam Dickmeiss [Wed, 16 Aug 2006 22:50:06 +0000 (22:50 +0000)]
Towards 2.1.27.

17 years agoImplemented bug #635: YAZ/ZOOM layer should include non SRU options in the
Adam Dickmeiss [Wed, 16 Aug 2006 22:47:09 +0000 (22:47 +0000)]
Implemented bug #635: YAZ/ZOOM layer should include non SRU options in the
HTTP/GET URL.
ZOOM-C reads option extraArgs. If set the value of extraArgs is appended to
SRU URI (POST/GET). Value is _raw_ URI part, such as x-id-a=v1&x-id-b=v2 .

17 years agoFixed bug #636: Bad rpn causes seg faults. Error occurs for ZOOM C when
Adam Dickmeiss [Wed, 16 Aug 2006 14:18:59 +0000 (14:18 +0000)]
Fixed bug #636: Bad rpn causes seg faults. Error occurs for ZOOM C when
a Scan is sent. Bug has been present in YAZ since version 2.1.12.

17 years agoTowards 2.1.26. YAZ.2.1.26
Adam Dickmeiss [Tue, 15 Aug 2006 13:34:39 +0000 (13:34 +0000)]
Towards 2.1.26.

17 years agoFix ZOOM-C so that SOAP mode sends SOAP requests
Adam Dickmeiss [Tue, 15 Aug 2006 13:31:07 +0000 (13:31 +0000)]
Fix ZOOM-C so that SOAP mode sends SOAP requests

17 years agoFix interpretation of sru command
Adam Dickmeiss [Tue, 15 Aug 2006 13:30:00 +0000 (13:30 +0000)]
Fix interpretation of sru command

17 years agoOnly declare nmem_text_node_cdata if Libxml2 is available
Adam Dickmeiss [Sun, 13 Aug 2006 17:30:57 +0000 (17:30 +0000)]
Only declare nmem_text_node_cdata if Libxml2 is available

17 years agoFixes for nemm_memory statistics
Adam Dickmeiss [Fri, 11 Aug 2006 13:10:27 +0000 (13:10 +0000)]
Fixes for nemm_memory statistics

17 years agoInclude XML2_CFLAGS in AM_CPPFLAGS
Adam Dickmeiss [Fri, 11 Aug 2006 12:57:30 +0000 (12:57 +0000)]
Include XML2_CFLAGS in AM_CPPFLAGS

17 years agoChanged prototype for nmem_text_node_cdata so that ptr is using
Adam Dickmeiss [Fri, 11 Aug 2006 12:50:23 +0000 (12:50 +0000)]
Changed prototype for nmem_text_node_cdata so that ptr is using
Libxml2 type rather than void pointer. Added functions
nmem_get_memory_in_use and nmem_get_memory_free which returns size
of block memory in use and in free lists respectively. Added doxygen
friendly comments for nmem.h.

17 years agoCosmetic for doxygen
Adam Dickmeiss [Fri, 11 Aug 2006 12:43:52 +0000 (12:43 +0000)]
Cosmetic for doxygen

17 years agoMention bug #626
Adam Dickmeiss [Wed, 9 Aug 2006 14:03:25 +0000 (14:03 +0000)]
Mention bug #626

17 years agoAllow a flag nmem_release_in_heap to be set (1) in which case
Adam Dickmeiss [Wed, 9 Aug 2006 14:00:18 +0000 (14:00 +0000)]
Allow a flag nmem_release_in_heap to be set (1) in which case
NMEMs are reassigned to the memory heap rather than re-used.. This should
make it easier for valgrind etc to find problems.

17 years agoAttempted to fix bug #626.
Adam Dickmeiss [Tue, 8 Aug 2006 20:58:52 +0000 (20:58 +0000)]
Attempted to fix bug #626.

17 years agoVersion 2.1.25.
Adam Dickmeiss [Tue, 8 Aug 2006 20:35:02 +0000 (20:35 +0000)]
Version 2.1.25.

17 years agoTowards 2.1.24.
Adam Dickmeiss [Tue, 8 Aug 2006 08:41:09 +0000 (08:41 +0000)]
Towards 2.1.24.

17 years agoUse yaz_read_UTF8_char instead of xmlGetUTF8Char
Adam Dickmeiss [Fri, 4 Aug 2006 14:35:39 +0000 (14:35 +0000)]
Use yaz_read_UTF8_char instead of xmlGetUTF8Char

17 years agoUpdated to use iconv-1.9.2, libxml2 2.6.26, libxslt 1.1.17. Added
Adam Dickmeiss [Thu, 3 Aug 2006 09:27:23 +0000 (09:27 +0000)]
Updated to use iconv-1.9.2, libxml2 2.6.26, libxslt 1.1.17. Added
missing dependences for generated files.

17 years agoRemoved nfaxml..xml files from dist list. Not in CVS yet
Adam Dickmeiss [Tue, 1 Aug 2006 12:03:58 +0000 (12:03 +0000)]
Removed nfaxml..xml files from dist list. Not in CVS yet

17 years agoCopy news from ChangeLog
Adam Dickmeiss [Tue, 1 Aug 2006 09:48:23 +0000 (09:48 +0000)]
Copy news from ChangeLog

17 years agoFixed yaz_marc_write_iso2709 to honor character set conversion.
Adam Dickmeiss [Tue, 1 Aug 2006 09:28:04 +0000 (09:28 +0000)]
Fixed yaz_marc_write_iso2709 to honor character set conversion.

17 years agoFixed bug #627: addInfo not propagated by srw_bend_fetch() when
Adam Dickmeiss [Mon, 31 Jul 2006 12:15:02 +0000 (12:15 +0000)]
Fixed bug #627: addInfo not propagated by srw_bend_fetch() when
rr.surrogate_flag==0.

17 years agoOmit description of loglevel in statserv_options_block. Bug #612
Adam Dickmeiss [Mon, 31 Jul 2006 11:47:04 +0000 (11:47 +0000)]
Omit description of loglevel in statserv_options_block. Bug #612

17 years agoCCL proximity tests
Adam Dickmeiss [Mon, 31 Jul 2006 11:42:32 +0000 (11:42 +0000)]
CCL proximity tests

17 years agoGet rid of redundant parameter to yaz_log_to_file. Reformat a bit
Adam Dickmeiss [Mon, 31 Jul 2006 10:05:04 +0000 (10:05 +0000)]
Get rid of redundant parameter to yaz_log_to_file. Reformat a bit

17 years agoIgnore nfaxmltest1 and nfaxmltest1.log
Mike Taylor [Wed, 19 Jul 2006 16:36:33 +0000 (16:36 +0000)]
Ignore nfaxmltest1 and nfaxmltest1.log