yaz-moved-to-github.git
19 years agoFixed the infinite recursion when calling yaz_log_level_init as the first
Heikki Levanto [Fri, 29 Apr 2005 10:36:05 +0000 (10:36 +0000)]
Fixed the infinite recursion when calling yaz_log_level_init as the first
call (before other log level or nmem_init calls)

19 years agoModify one of the result set PQF examples
Adam Dickmeiss [Tue, 26 Apr 2005 19:51:31 +0000 (19:51 +0000)]
Modify one of the result set PQF examples

19 years agoTowards 2.1.4. YAZ.2.1.4
Adam Dickmeiss [Tue, 26 Apr 2005 18:46:42 +0000 (18:46 +0000)]
Towards 2.1.4.

19 years agoAdded Mads Bondo Dydensborg
Adam Dickmeiss [Tue, 26 Apr 2005 18:46:24 +0000 (18:46 +0000)]
Added Mads Bondo Dydensborg

19 years agoMissing quote
Adam Dickmeiss [Fri, 22 Apr 2005 15:14:24 +0000 (15:14 +0000)]
Missing quote

19 years agoAllow srcdir!=dstdir for CVS checkout
Adam Dickmeiss [Fri, 22 Apr 2005 15:09:36 +0000 (15:09 +0000)]
Allow srcdir!=dstdir for CVS checkout

19 years agoFix check for cql.c in dist-hook
Adam Dickmeiss [Fri, 22 Apr 2005 14:59:42 +0000 (14:59 +0000)]
Fix check for cql.c in dist-hook

19 years agoWIN32 updates for Diagnostics from CSV files.
Adam Dickmeiss [Fri, 22 Apr 2005 14:51:11 +0000 (14:51 +0000)]
WIN32 updates for Diagnostics from CSV files.

19 years agoChanged include/yaz/diagbib1.h and added include/yaz/diagsrw.h with
Adam Dickmeiss [Fri, 22 Apr 2005 08:27:57 +0000 (08:27 +0000)]
Changed include/yaz/diagbib1.h and added include/yaz/diagsrw.h with
diagnostic messages+codes for Bib-1 and SRW. Preprocessor defines are
now defined for all those error codes. So instead of putting 109 in
in a program, YAZ_BIB1_DATABASE_UNAVAILABLE can be used. The messages
are now generated from a CSV files. See src/bib1.csv and srw/srw.csv.

19 years agoTowards 2.1.3
Adam Dickmeiss [Wed, 20 Apr 2005 13:51:47 +0000 (13:51 +0000)]
Towards 2.1.3

19 years agoUse XML comments for debug/verbose info.
Adam Dickmeiss [Wed, 20 Apr 2005 13:17:51 +0000 (13:17 +0000)]
Use XML comments for debug/verbose info.

19 years agoUse XML comments for for meta info.
Adam Dickmeiss [Wed, 20 Apr 2005 13:17:29 +0000 (13:17 +0000)]
Use XML comments for for meta info.

19 years agoyaz-marcdump skips non-digit chars betwen recs and warns about it
Adam Dickmeiss [Wed, 20 Apr 2005 13:04:04 +0000 (13:04 +0000)]
yaz-marcdump skips non-digit chars betwen recs and warns about it

19 years agoExit if multiple server addresses is given (not supported)
Adam Dickmeiss [Wed, 20 Apr 2005 12:59:51 +0000 (12:59 +0000)]
Exit if multiple server addresses is given (not supported)

19 years agoUpdate to libxml2 2.6.9, zlib 1.2.2
Adam Dickmeiss [Mon, 18 Apr 2005 08:04:36 +0000 (08:04 +0000)]
Update to libxml2 2.6.9, zlib 1.2.2

19 years agoFix bug in CCL parser that could caused uninialized values
Adam Dickmeiss [Fri, 15 Apr 2005 21:47:55 +0000 (21:47 +0000)]
Fix bug in CCL parser that could caused uninialized values
of token member ws_prefix_len in some cases.
Removed ccl_token_simple function.

19 years agoAllow NULL value for basename in bend_fetch_rr struct
Adam Dickmeiss [Thu, 14 Apr 2005 11:59:46 +0000 (11:59 +0000)]
Allow NULL value for basename in bend_fetch_rr struct

19 years agoFixed bug #280: make dist must depend on bison. The extra rule
Adam Dickmeiss [Mon, 11 Apr 2005 08:41:39 +0000 (08:41 +0000)]
Fixed bug #280: make dist must depend on bison. The extra rule
is necessary for automake 1.4pl6, not 1.9.

19 years agoTowards 2.1.2. YAZ.2.1.2
Adam Dickmeiss [Wed, 16 Mar 2005 21:30:22 +0000 (21:30 +0000)]
Towards 2.1.2.

19 years agoGet new codetables.xml from the LoC. Bug #273.
Adam Dickmeiss [Wed, 16 Mar 2005 21:28:43 +0000 (21:28 +0000)]
Get new codetables.xml from the LoC. Bug #273.

19 years agoChange "to" type for MARC-8 -> UTF-8 conversion from 16-bit unsigned
Adam Dickmeiss [Wed, 16 Mar 2005 21:26:37 +0000 (21:26 +0000)]
Change "to" type for MARC-8 -> UTF-8 conversion from 16-bit unsigned
short to 24-bit unsigned int. Put code name (description of
character) in output comments in C code.

19 years agoFixed bug #272: Preserve spacing for CCL terms. The spacing is
Adam Dickmeiss [Tue, 15 Mar 2005 16:32:51 +0000 (16:32 +0000)]
Fixed bug #272: Preserve spacing for CCL terms. The spacing is
preserved for phrases by saving the prefix (leading) white-space
for tokens. Added ws_prefix_{buf,len} in ccl_token to support it.

19 years agoTry again (to fix version) YAZ.2.1.0
Adam Dickmeiss [Mon, 14 Mar 2005 12:47:17 +0000 (12:47 +0000)]
Try again (to fix version)

19 years agoFix bad version - should be 2.1.0-1 (was 2.0.1-1).
Adam Dickmeiss [Mon, 14 Mar 2005 12:41:14 +0000 (12:41 +0000)]
Fix bad version - should be 2.1.0-1 (was 2.0.1-1).

19 years agoNotes about MARC decoder changes
Adam Dickmeiss [Mon, 14 Mar 2005 11:28:16 +0000 (11:28 +0000)]
Notes about MARC decoder changes

19 years agoFix version
Adam Dickmeiss [Mon, 14 Mar 2005 11:24:59 +0000 (11:24 +0000)]
Fix version

19 years agoTowards 2.1.0
Adam Dickmeiss [Mon, 14 Mar 2005 11:17:58 +0000 (11:17 +0000)]
Towards 2.1.0

19 years agoSupport XInclude for XML config
Adam Dickmeiss [Mon, 14 Mar 2005 11:14:21 +0000 (11:14 +0000)]
Support XInclude for XML config

19 years agoExample as given in doc
Adam Dickmeiss [Mon, 14 Mar 2005 11:13:12 +0000 (11:13 +0000)]
Example as given in doc

19 years agoNotes on changes for hosting
Adam Dickmeiss [Mon, 14 Mar 2005 11:12:43 +0000 (11:12 +0000)]
Notes on changes for hosting

19 years agoAll elements for YAZ GFS XML config described
Adam Dickmeiss [Mon, 14 Mar 2005 11:12:16 +0000 (11:12 +0000)]
All elements for YAZ GFS XML config described

19 years agoRenamed ztest-options.xml to gfs-options.xml. Added GFS common synopsis
Adam Dickmeiss [Sun, 13 Mar 2005 21:43:00 +0000 (21:43 +0000)]
Renamed ztest-options.xml to gfs-options.xml. Added GFS common synopsis
to gfs-synopsis.xml. Initial work on GFS virtual hosts.

19 years agoExit GFS if XML parsing fails.
Adam Dickmeiss [Tue, 8 Mar 2005 13:59:08 +0000 (13:59 +0000)]
Exit GFS if XML parsing fails.

19 years agoCall chdir before bend_{start,stop}.
Adam Dickmeiss [Tue, 8 Mar 2005 11:48:09 +0000 (11:48 +0000)]
Call chdir before bend_{start,stop}.

19 years agoRead directory element of XML config so that server may chdir to
Adam Dickmeiss [Tue, 8 Mar 2005 11:07:49 +0000 (11:07 +0000)]
Read directory element of XML config so that server may chdir to
proper location.

19 years agoNew test result.
Adam Dickmeiss [Mon, 7 Mar 2005 06:09:01 +0000 (06:09 +0000)]
New test result.

19 years agoNo leading spaces in warning comments
Adam Dickmeiss [Mon, 7 Mar 2005 06:07:33 +0000 (06:07 +0000)]
No leading spaces in warning comments

19 years agoBetter diagnostics for bad MARC records.
Adam Dickmeiss [Sun, 6 Mar 2005 21:27:09 +0000 (21:27 +0000)]
Better diagnostics for bad MARC records.

19 years agoFor record update, open file in binary mode
Adam Dickmeiss [Sun, 6 Mar 2005 12:54:32 +0000 (12:54 +0000)]
For record update, open file in binary mode

19 years agoWIN32 Updates for GFS to use TLS for control block.
Adam Dickmeiss [Sat, 5 Mar 2005 12:14:12 +0000 (12:14 +0000)]
WIN32 Updates for GFS to use TLS for control block.

19 years agoFix compilation in mode without libxml2 (bug introduced in previous
Adam Dickmeiss [Sat, 5 Mar 2005 09:17:27 +0000 (09:17 +0000)]
Fix compilation in mode without libxml2 (bug introduced in previous
commit).

19 years agobuildconf script configures directlry when -d / -c is given
Adam Dickmeiss [Fri, 4 Mar 2005 12:00:00 +0000 (12:00 +0000)]
buildconf script configures directlry when -d / -c is given

19 years agoAdded explain facility for frontend server XML config. Renamed
Adam Dickmeiss [Thu, 3 Mar 2005 23:16:20 +0000 (23:16 +0000)]
Added explain facility for frontend server XML config. Renamed
element cql2pqf to cql2rpn.

19 years agoWrap OPACXML in opacRecord as suggested by Larry Dixson.
Adam Dickmeiss [Wed, 2 Mar 2005 23:59:22 +0000 (23:59 +0000)]
Wrap OPACXML in opacRecord as suggested by Larry Dixson.

19 years agoEnhancements and new bugs in Generic Frontend Server..
Adam Dickmeiss [Tue, 1 Mar 2005 20:37:01 +0000 (20:37 +0000)]
Enhancements and new bugs in Generic Frontend Server..
Reworked YAZ GFS XML config. Added pqf2cql support.

19 years agoExtended OPAC display utility. OPAC display utility renders
Adam Dickmeiss [Fri, 25 Feb 2005 17:05:09 +0000 (17:05 +0000)]
Extended OPAC display utility. OPAC display utility renders
bibliographic (MARC) record as well. Added yaz_opac_decode_wrbuf
to supplement yaz_marc_decode_wrbuf.

19 years agoyaz_marc_decode_wrbuf no longer Wrewinds WRBUF
Adam Dickmeiss [Fri, 25 Feb 2005 17:04:45 +0000 (17:04 +0000)]
yaz_marc_decode_wrbuf no longer Wrewinds WRBUF

19 years agoBug fix. Dump record content (-m) was duplicated for XML records
Adam Dickmeiss [Fri, 25 Feb 2005 17:03:41 +0000 (17:03 +0000)]
Bug fix. Dump record content (-m) was duplicated for XML records

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