yaz-moved-to-github.git
19 years agoFixed bug that caused MARC decode to SEGV for some invalid MARC records.
Adam Dickmeiss [Fri, 25 Feb 2005 09:37:53 +0000 (09:37 +0000)]
Fixed bug that caused MARC decode to SEGV for some invalid MARC records.
Adde marc4 + marc4.xml as a test case for it.

19 years agoYAZ 2.0.35
Adam Dickmeiss [Fri, 25 Feb 2005 09:36:46 +0000 (09:36 +0000)]
YAZ 2.0.35

19 years agoYAZ 2.0.35 windows version
Adam Dickmeiss [Fri, 25 Feb 2005 09:36:32 +0000 (09:36 +0000)]
YAZ 2.0.35 windows version

19 years agoFix M4 quotation (square brackets in strings)
Adam Dickmeiss [Mon, 21 Feb 2005 14:37:54 +0000 (14:37 +0000)]
Fix M4 quotation (square brackets in strings)

19 years agoQuote 3rd arg to AC_CHECK_FUNC. YAZ 2.0.35
Adam Dickmeiss [Mon, 21 Feb 2005 14:37:16 +0000 (14:37 +0000)]
Quote 3rd arg to AC_CHECK_FUNC. YAZ 2.0.35

19 years agoAvoid unnecessary logs YAZ.2.0.34.2
Adam Dickmeiss [Wed, 9 Feb 2005 12:41:45 +0000 (12:41 +0000)]
Avoid unnecessary logs

19 years agoYAZ 2.0.34-2.
Adam Dickmeiss [Wed, 9 Feb 2005 12:40:56 +0000 (12:40 +0000)]
YAZ 2.0.34-2.

19 years agoIncrease listen backlog parameter for UNIX domain sockets.
Adam Dickmeiss [Wed, 9 Feb 2005 09:18:27 +0000 (09:18 +0000)]
Increase listen backlog parameter for UNIX domain sockets.

19 years agoFix option for MarcXchange YAZ.2.0.34
Adam Dickmeiss [Tue, 8 Feb 2005 23:43:56 +0000 (23:43 +0000)]
Fix option for MarcXchange

19 years agoNew MARCXML test results - due to new warning issued
Adam Dickmeiss [Tue, 8 Feb 2005 22:47:14 +0000 (22:47 +0000)]
New MARCXML test results - due to new warning issued

19 years agoDist zlib1.dll instead of zlib.dll
Adam Dickmeiss [Tue, 8 Feb 2005 14:58:19 +0000 (14:58 +0000)]
Dist zlib1.dll instead of zlib.dll

19 years agoTowards 2.0.34
Adam Dickmeiss [Tue, 8 Feb 2005 14:19:21 +0000 (14:19 +0000)]
Towards 2.0.34

19 years agoAdded MarcXchange support.
Adam Dickmeiss [Tue, 8 Feb 2005 13:51:30 +0000 (13:51 +0000)]
Added MarcXchange support.

19 years agoSummarize changes
Adam Dickmeiss [Tue, 8 Feb 2005 13:47:10 +0000 (13:47 +0000)]
Summarize changes

19 years agoAdded check for usleep(3)
Adam Dickmeiss [Tue, 8 Feb 2005 13:34:29 +0000 (13:34 +0000)]
Added check for usleep(3)

19 years agoWorked around bug #261 again. Added sleep for EAGAIN case
Adam Dickmeiss [Tue, 8 Feb 2005 13:23:23 +0000 (13:23 +0000)]
Worked around bug #261 again. Added sleep for EAGAIN case

19 years agoLook for docbookx.dtd in more places.
Adam Dickmeiss [Tue, 8 Feb 2005 01:01:42 +0000 (01:01 +0000)]
Look for docbookx.dtd in more places.

19 years agoWIN32 compile fixes. No TLS for control block yet
Adam Dickmeiss [Mon, 7 Feb 2005 11:23:47 +0000 (11:23 +0000)]
WIN32 compile fixes. No TLS for control block yet

19 years agoAvoid ANSI inline declaration
Adam Dickmeiss [Mon, 7 Feb 2005 11:23:18 +0000 (11:23 +0000)]
Avoid ANSI inline declaration

19 years agoFix xmlns for SRW diagnostic in yaz_srw_diagnostics
Adam Dickmeiss [Fri, 4 Feb 2005 20:27:19 +0000 (20:27 +0000)]
Fix xmlns for SRW diagnostic in yaz_srw_diagnostics

19 years agoFixed problem with connect on Unix domain sockets that returned
Adam Dickmeiss [Fri, 4 Feb 2005 13:28:47 +0000 (13:28 +0000)]
Fixed problem with connect on Unix domain sockets that returned
errno=EAGAIN. That is now treated as EINPROGRESS error.

19 years agoRemove old-style logging
Adam Dickmeiss [Thu, 3 Feb 2005 09:09:55 +0000 (09:09 +0000)]
Remove old-style logging

19 years agoFix MARC test case
Adam Dickmeiss [Wed, 2 Feb 2005 23:27:19 +0000 (23:27 +0000)]
Fix MARC test case

19 years agoEnable test case for bug #260
Adam Dickmeiss [Wed, 2 Feb 2005 23:27:05 +0000 (23:27 +0000)]
Enable test case for bug #260

19 years agoFix bug #260: Multi combining MARC-8 chars not converted properly
Adam Dickmeiss [Wed, 2 Feb 2005 23:26:38 +0000 (23:26 +0000)]
Fix bug #260: Multi combining MARC-8 chars not converted properly

19 years agoNever assume non 00X have controlfields
Adam Dickmeiss [Wed, 2 Feb 2005 23:25:08 +0000 (23:25 +0000)]
Never assume non 00X have controlfields

19 years agoPut two spaces before datafield end tag (includes subfields)
Adam Dickmeiss [Wed, 2 Feb 2005 23:07:56 +0000 (23:07 +0000)]
Put two spaces before datafield end tag (includes subfields)

19 years agoFixed bug #263: YAZ MARCXML dump shows extra spaces after control fields.
Adam Dickmeiss [Wed, 2 Feb 2005 20:50:38 +0000 (20:50 +0000)]
Fixed bug #263: YAZ MARCXML dump shows extra spaces after control fields.
Added yaz_marc_subfield_str which defines subfield lead string which
is used in YAZ_MARC_LINE format. Default string is blank+$.
Added yaz_marc_endline_str which defines end of fields string used
in YAZ_MARC_LINE format. Default string is newline.

19 years agoFix statserv_getcontrol for non-threaded YAZ
Adam Dickmeiss [Wed, 2 Feb 2005 20:25:37 +0000 (20:25 +0000)]
Fix statserv_getcontrol for non-threaded YAZ

19 years agoAdded yaz-client command scansize
Adam Dickmeiss [Wed, 2 Feb 2005 17:11:05 +0000 (17:11 +0000)]
Added yaz-client command scansize

19 years agoAdded test case for bug #260
Adam Dickmeiss [Wed, 2 Feb 2005 10:17:02 +0000 (10:17 +0000)]
Added test case for bug #260

19 years agoBetter diagnostics for iconv test. Added case for bug #258
Adam Dickmeiss [Tue, 1 Feb 2005 21:07:19 +0000 (21:07 +0000)]
Better diagnostics for iconv test. Added case for bug #258

19 years agoFixed bug #258: marc-8 to utf8 fails for some composed sequences
Adam Dickmeiss [Tue, 1 Feb 2005 21:06:37 +0000 (21:06 +0000)]
Fixed bug #258: marc-8 to utf8 fails for some composed sequences

19 years agoAdded include stdlib.h
Adam Dickmeiss [Tue, 1 Feb 2005 17:23:36 +0000 (17:23 +0000)]
Added include stdlib.h

19 years agoAdded support for multi-homed YAZ frontend server. A backend config
Adam Dickmeiss [Tue, 1 Feb 2005 14:46:47 +0000 (14:46 +0000)]
Added support for multi-homed YAZ frontend server. A backend config
may be choosed based on host and/or port. For Z39.50 host is
picked from OtherInfo in InitRequest (VAL_PROXY OID). For HTTP, host
is picked from HTTP header. Configuration is XML based . Libxml2 is
required.

19 years agoAllow text/plain as HTTP Content-Type for SRW HTTP POST. I can't
Adam Dickmeiss [Tue, 1 Feb 2005 14:43:50 +0000 (14:43 +0000)]
Allow text/plain as HTTP Content-Type for SRW HTTP POST. I can't
get ab to send text/xml.

19 years agoAdded member user for COMSTACK that is an opaque pointer for
Adam Dickmeiss [Tue, 1 Feb 2005 14:37:47 +0000 (14:37 +0000)]
Added member user for COMSTACK that is an opaque pointer for
user-defined data.

19 years agoFixed bug #255: EXTERNAL decoding with ASN.1 types in octet strings.
Adam Dickmeiss [Thu, 27 Jan 2005 09:08:42 +0000 (09:08 +0000)]
Fixed bug #255: EXTERNAL decoding with ASN.1 types in octet strings.
Added a few doxygen comments as well.

19 years agoAdded prototype for zget_init_diagnostics_octet.
Adam Dickmeiss [Thu, 27 Jan 2005 09:06:51 +0000 (09:06 +0000)]
Added prototype for zget_init_diagnostics_octet.
Added a few doxygen comments

19 years agoAdded zget_init_diagnostics_octet which is similar to
Adam Dickmeiss [Thu, 27 Jan 2005 09:06:12 +0000 (09:06 +0000)]
Added zget_init_diagnostics_octet which is similar to
zget_init_diagnostics but encodes the EXTERNAL data in the
octet-aligned arm.

19 years agoFix printing of some non-zero terminated strings. WS updates.
Adam Dickmeiss [Thu, 27 Jan 2005 09:05:09 +0000 (09:05 +0000)]
Fix printing of some non-zero terminated strings. WS updates.

19 years agoFix comments for some ODR members
Adam Dickmeiss [Thu, 27 Jan 2005 09:04:07 +0000 (09:04 +0000)]
Fix comments for some ODR members

19 years agoDo not use acquire locks (NMEM_{ENTER,LEAVE}) in
Adam Dickmeiss [Fri, 21 Jan 2005 09:23:27 +0000 (09:23 +0000)]
Do not use acquire locks (NMEM_{ENTER,LEAVE}) in
nmem_mutex_{create,destroy}. WS updates.

19 years agoMake scan logging prettier
Adam Dickmeiss [Wed, 19 Jan 2005 09:18:08 +0000 (09:18 +0000)]
Make scan logging prettier

19 years agoDo not set HAVE_.. stuff for WIN32
Adam Dickmeiss [Wed, 19 Jan 2005 08:26:59 +0000 (08:26 +0000)]
Do not set HAVE_.. stuff for WIN32

19 years agoAdded include sys/types.h if it exist. Added include sys/stat.h on Win32
Adam Dickmeiss [Wed, 19 Jan 2005 08:26:44 +0000 (08:26 +0000)]
Added include sys/types.h if it exist. Added include sys/stat.h on Win32

19 years agoAdded include stdlib.h
Adam Dickmeiss [Mon, 17 Jan 2005 13:09:43 +0000 (13:09 +0000)]
Added include stdlib.h

19 years agoAdded include sys/time.h
Adam Dickmeiss [Mon, 17 Jan 2005 13:08:53 +0000 (13:08 +0000)]
Added include sys/time.h

19 years agoAdded include stdlib.h
Adam Dickmeiss [Mon, 17 Jan 2005 13:03:27 +0000 (13:03 +0000)]
Added include stdlib.h

19 years agoFix MAC compilation
Adam Dickmeiss [Mon, 17 Jan 2005 12:53:04 +0000 (12:53 +0000)]
Fix MAC compilation

19 years agoFixed includes for FreeBSD
Adam Dickmeiss [Mon, 17 Jan 2005 10:29:00 +0000 (10:29 +0000)]
Fixed includes for FreeBSD

19 years agoDo not declare several variables in non-XML mode
Adam Dickmeiss [Mon, 17 Jan 2005 10:19:48 +0000 (10:19 +0000)]
Do not declare several variables in non-XML mode

19 years agoBump version to 2.0.33
Adam Dickmeiss [Mon, 17 Jan 2005 10:10:00 +0000 (10:10 +0000)]
Bump version to 2.0.33

19 years agoDefine HAVE_SYS_TYPES_H in VS makefile
Adam Dickmeiss [Sun, 16 Jan 2005 23:20:55 +0000 (23:20 +0000)]
Define HAVE_SYS_TYPES_H in VS makefile

19 years agoMinor include updates to make Windows happy
Adam Dickmeiss [Sun, 16 Jan 2005 22:12:39 +0000 (22:12 +0000)]
Minor include updates to make Windows happy

19 years agoAssume sys/stat.h is available on Windows
Adam Dickmeiss [Sun, 16 Jan 2005 22:12:02 +0000 (22:12 +0000)]
Assume sys/stat.h is available on Windows

19 years agoAdded check for various headers, since comstack.h no longer include them
Adam Dickmeiss [Sun, 16 Jan 2005 22:01:13 +0000 (22:01 +0000)]
Added check for various headers, since comstack.h no longer include them

19 years agoDo not use exit
Adam Dickmeiss [Sun, 16 Jan 2005 21:56:42 +0000 (21:56 +0000)]
Do not use exit

19 years agoinclude stdlib.h
Adam Dickmeiss [Sun, 16 Jan 2005 21:56:24 +0000 (21:56 +0000)]
include stdlib.h

19 years agoRemoved away include of system headers in comstack.h. Instead
Adam Dickmeiss [Sun, 16 Jan 2005 21:51:49 +0000 (21:51 +0000)]
Removed away include of system headers in comstack.h. Instead
include them in the various implementation C files.
Added more headers in AC_CHECK_HEADERS.

19 years agoWS update
Adam Dickmeiss [Sun, 16 Jan 2005 21:40:51 +0000 (21:40 +0000)]
WS update

19 years agoUpdate for Libxml2-2.6.15, zlib-1.2.1
Adam Dickmeiss [Sun, 16 Jan 2005 00:16:56 +0000 (00:16 +0000)]
Update for Libxml2-2.6.15, zlib-1.2.1

19 years agoBump year
Adam Dickmeiss [Sat, 15 Jan 2005 19:47:08 +0000 (19:47 +0000)]
Bump year

19 years agoTowards 2.0.32 YAZ.2.0.32
Adam Dickmeiss [Tue, 11 Jan 2005 12:13:18 +0000 (12:13 +0000)]
Towards 2.0.32

19 years agoAdded SRW Scan support in yaz-client and Generic Frontend Server.
Adam Dickmeiss [Tue, 11 Jan 2005 12:07:54 +0000 (12:07 +0000)]
Added SRW Scan support in yaz-client and Generic Frontend Server.

19 years agomatch_xsd_string returns empty string rather than NULL for empty CDATA
Adam Dickmeiss [Tue, 11 Jan 2005 12:05:32 +0000 (12:05 +0000)]
match_xsd_string returns empty string rather than NULL for empty CDATA

19 years agoAdded SRU decode of maximumTerms, responsePosition and extraRequestData
Adam Dickmeiss [Tue, 11 Jan 2005 10:50:06 +0000 (10:50 +0000)]
Added SRU decode of maximumTerms, responsePosition and extraRequestData

19 years agoFixes for value and pScanCluase in scan SRW codec
Adam Dickmeiss [Tue, 11 Jan 2005 10:48:47 +0000 (10:48 +0000)]
Fixes for value and pScanCluase in scan SRW codec

19 years agoCheck for database in ztest_scan
Adam Dickmeiss [Tue, 11 Jan 2005 10:44:07 +0000 (10:44 +0000)]
Check for database in ztest_scan

19 years agoAdded whereInList member to SRW Scan Term
Adam Dickmeiss [Sun, 9 Jan 2005 21:52:48 +0000 (21:52 +0000)]
Added whereInList member to SRW Scan Term

19 years agoRename pqf scan parameter from x-ScanClause to x-pScanClause
Adam Dickmeiss [Sun, 9 Jan 2005 21:50:26 +0000 (21:50 +0000)]
Rename pqf scan parameter from x-ScanClause to x-pScanClause

19 years agoAdded support for SRW scan in yaz-client
Adam Dickmeiss [Sat, 8 Jan 2005 01:20:18 +0000 (01:20 +0000)]
Added support for SRW scan in yaz-client

19 years agoAdded a warning (always to stderr) when opening the log file fails
Heikki Levanto [Fri, 7 Jan 2005 10:28:28 +0000 (10:28 +0000)]
Added a warning (always to stderr) when opening the log file fails

19 years agoCheck that assignments to NMEM memory for some basic types
Adam Dickmeiss [Wed, 5 Jan 2005 10:29:42 +0000 (10:29 +0000)]
Check that assignments to NMEM memory for some basic types

19 years agoOnly use type 'long long' when available.
Adam Dickmeiss [Wed, 5 Jan 2005 10:23:41 +0000 (10:23 +0000)]
Only use type 'long long' when available.

19 years agoRecognise yet ANOTHER location where docbookx.dtd may be found -- this
Mike Taylor [Tue, 4 Jan 2005 21:31:44 +0000 (21:31 +0000)]
Recognise yet ANOTHER location where docbookx.dtd may be found -- this
time, it's /usr/share/sgml/docbook/dtd/4.2 which is what my Debian
testing laptop uses.  Must be a change in sarge.

19 years agoIgnore generated file tstlog
Mike Taylor [Tue, 4 Jan 2005 21:29:10 +0000 (21:29 +0000)]
Ignore generated file tstlog

19 years agonmem alighment.
Mike Taylor [Tue, 4 Jan 2005 21:28:06 +0000 (21:28 +0000)]
nmem alighment.

19 years agoReturn aligned blocks on the smallest boundaries that are suitably
Mike Taylor [Tue, 4 Jan 2005 21:27:54 +0000 (21:27 +0000)]
Return aligned blocks on the smallest boundaries that are suitably
aligned for all possible types on the particular architecture YAZ is
being built for.

19 years agoBump version to 2.0.31
Adam Dickmeiss [Tue, 4 Jan 2005 09:41:34 +0000 (09:41 +0000)]
Bump version to 2.0.31

19 years agoFix date YAZ.2.0.30
Adam Dickmeiss [Tue, 4 Jan 2005 08:34:41 +0000 (08:34 +0000)]
Fix date

19 years agoMention most important changes
Adam Dickmeiss [Tue, 4 Jan 2005 01:39:22 +0000 (01:39 +0000)]
Mention most important changes

19 years agoAlign NMEM blocks to 2*sizeof(long)
Adam Dickmeiss [Tue, 4 Jan 2005 01:25:20 +0000 (01:25 +0000)]
Align NMEM blocks to 2*sizeof(long)

19 years agoTowards 2.0.30
Adam Dickmeiss [Mon, 3 Jan 2005 13:36:06 +0000 (13:36 +0000)]
Towards 2.0.30

19 years agoTowards 2.0.30.
Adam Dickmeiss [Mon, 3 Jan 2005 13:28:35 +0000 (13:28 +0000)]
Towards 2.0.30.

19 years agoTowards 2.0.30
Adam Dickmeiss [Mon, 3 Jan 2005 12:34:09 +0000 (12:34 +0000)]
Towards 2.0.30

19 years agoFix threading
Adam Dickmeiss [Mon, 3 Jan 2005 11:56:08 +0000 (11:56 +0000)]
Fix threading

19 years agoFor daemon mode (-D), let parent wait till child has created PID file
Adam Dickmeiss [Mon, 3 Jan 2005 09:18:36 +0000 (09:18 +0000)]
For daemon mode (-D), let parent wait till child has created PID file

19 years agoMake negotiationCharsetRecords of type int
Adam Dickmeiss [Sun, 2 Jan 2005 20:31:39 +0000 (20:31 +0000)]
Make negotiationCharsetRecords of type int

19 years agoCast PIDs to longs so they can be printfd
Adam Dickmeiss [Thu, 30 Dec 2004 00:25:20 +0000 (00:25 +0000)]
Cast PIDs to longs so they can be printfd

19 years agoAvoid signed char subscript
Adam Dickmeiss [Thu, 30 Dec 2004 00:21:12 +0000 (00:21 +0000)]
Avoid signed char subscript

19 years agoInclude unistd.h always
Adam Dickmeiss [Thu, 30 Dec 2004 00:20:15 +0000 (00:20 +0000)]
Include unistd.h always

19 years agoAvoid signed char subscript
Adam Dickmeiss [Thu, 30 Dec 2004 00:11:00 +0000 (00:11 +0000)]
Avoid signed char subscript

19 years agoRemove extra space in request log output
Adam Dickmeiss [Wed, 22 Dec 2004 23:48:34 +0000 (23:48 +0000)]
Remove extra space in request log output

19 years agoChange GFS so that it listen&accept in parent process rather than
Adam Dickmeiss [Wed, 22 Dec 2004 23:47:11 +0000 (23:47 +0000)]
Change GFS so that it listen&accept in parent process rather than
child. This avoid the synchronization pipe, and seem to make the
GFS a little faster.

19 years agoAdded OID for charneg-4.
Adam Dickmeiss [Wed, 22 Dec 2004 23:45:13 +0000 (23:45 +0000)]
Added OID for charneg-4.

19 years agoCommand negcharset may take up to three args
Adam Dickmeiss [Tue, 21 Dec 2004 20:25:39 +0000 (20:25 +0000)]
Command negcharset may take up to three args
 charset records version
where records is an integer (0=false, 1=true), version is charset
negotatition version (3 or 4).

19 years agoWhen receiving no records in present response don't throw
Adam Dickmeiss [Tue, 21 Dec 2004 00:34:31 +0000 (00:34 +0000)]
When receiving no records in present response don't throw
non-surrogate diagnostic "decoding failed. Instead add surrogate
diagnostic record 14: System error in presenting records.

19 years agoMinor tweaks in logging (mostly for SRW search)
Adam Dickmeiss [Tue, 21 Dec 2004 00:31:03 +0000 (00:31 +0000)]
Minor tweaks in logging (mostly for SRW search)

19 years agoPrefix PRN/Type-1 queries with RPN: rather than Z:
Adam Dickmeiss [Mon, 20 Dec 2004 23:38:39 +0000 (23:38 +0000)]
Prefix PRN/Type-1 queries with RPN: rather than Z: