yaz-moved-to-github.git
19 years agoUse size_t for NMEM's get_block. Change space-left check to
Adam Dickmeiss [Tue, 7 Jun 2005 19:47:31 +0000 (19:47 +0000)]
Use size_t for NMEM's get_block. Change space-left check to
avoid signed/unsigned-ness problems.

19 years agoTowards 2.1.8.
Adam Dickmeiss [Tue, 7 Jun 2005 19:31:40 +0000 (19:31 +0000)]
Towards 2.1.8.

19 years agoFixed bug in yaz_marc_decode_buf. By mistake the routine appended
Adam Dickmeiss [Tue, 7 Jun 2005 19:25:38 +0000 (19:25 +0000)]
Fixed bug in yaz_marc_decode_buf. By mistake the routine appended
MARC output rather than returning "new" buffer.

19 years agoAvoid mixed stmt, var declare
Adam Dickmeiss [Mon, 6 Jun 2005 17:34:58 +0000 (17:34 +0000)]
Avoid mixed stmt, var declare

19 years agoAllow log level to be set for zoomsh
Adam Dickmeiss [Mon, 6 Jun 2005 12:32:03 +0000 (12:32 +0000)]
Allow log level to be set for zoomsh

19 years agoMake a zoom,zoomdetails log level and try to make logging more
Adam Dickmeiss [Mon, 6 Jun 2005 12:23:47 +0000 (12:23 +0000)]
Make a zoom,zoomdetails log level and try to make logging more
consistent in ZOOM C.

19 years agoRe-organize top-level code so main functions does less work.
Adam Dickmeiss [Mon, 6 Jun 2005 10:45:33 +0000 (10:45 +0000)]
Re-organize top-level code so main functions does less work.

19 years agoInternal package 2.1.7-1 for testing.
Adam Dickmeiss [Mon, 6 Jun 2005 10:37:14 +0000 (10:37 +0000)]
Internal package 2.1.7-1 for testing.

19 years agoAdd support for privately defined extended service, xml update, with
Adam Dickmeiss [Mon, 6 Jun 2005 10:29:33 +0000 (10:29 +0000)]
Add support for privately defined extended service, xml update, with
OID 1.2.840.10003.9.1000.105.4.

19 years agoFix man page to include description of --comp.
Adam Dickmeiss [Mon, 6 Jun 2005 10:27:59 +0000 (10:27 +0000)]
Fix man page to include description of --comp.

19 years agoBump version to 2.1.7
Adam Dickmeiss [Mon, 6 Jun 2005 07:28:12 +0000 (07:28 +0000)]
Bump version to 2.1.7

19 years agoWarn about unknown Z39.50 options
Adam Dickmeiss [Mon, 6 Jun 2005 07:25:47 +0000 (07:25 +0000)]
Warn about unknown Z39.50 options

19 years agoFix for bug 371 "options concurrentOperations ignores concurrentOperations"
ja7 [Mon, 6 Jun 2005 07:12:47 +0000 (07:12 +0000)]
Fix for bug 371 "options concurrentOperations ignores concurrentOperations"

19 years agoUse size_t for nmem block sizes internally
Adam Dickmeiss [Fri, 3 Jun 2005 20:33:13 +0000 (20:33 +0000)]
Use size_t for nmem block sizes internally

19 years agoLet nmem.h include stddef.h to get size_t defined. Hide strutures
Adam Dickmeiss [Fri, 3 Jun 2005 20:30:30 +0000 (20:30 +0000)]
Let nmem.h include stddef.h to get size_t defined. Hide strutures
nmem_control and nmem_block.

19 years agoAdd OID test. Changed prototype for ber_oidc.
Adam Dickmeiss [Thu, 26 May 2005 21:47:16 +0000 (21:47 +0000)]
Add OID test. Changed prototype for ber_oidc.

19 years agoAllow decoding of zero-length OIDs, but reject OIDs longer than
Adam Dickmeiss [Thu, 26 May 2005 21:46:40 +0000 (21:46 +0000)]
Allow decoding of zero-length OIDs, but reject OIDs longer than
OID_SIZE.

19 years agoTowards 2.1.6. YAZ.2.1.6
Adam Dickmeiss [Tue, 24 May 2005 12:16:22 +0000 (12:16 +0000)]
Towards 2.1.6.

19 years agoUpdate dependancy libs
Adam Dickmeiss [Tue, 24 May 2005 12:15:57 +0000 (12:15 +0000)]
Update dependancy libs

19 years agoAdded support for SRW sort in Generic Frontend Server. Patch
Adam Dickmeiss [Fri, 20 May 2005 19:29:18 +0000 (19:29 +0000)]
Added support for SRW sort in Generic Frontend Server. Patch
by Ko van der Sloot. Member srw_sortKeys in bend_search_rr holds
sortKeys - or NULL if none is provided.

19 years agoadded 2 new commands for testing concurrent operations and cancel
ja7 [Fri, 20 May 2005 06:22:48 +0000 (06:22 +0000)]
added 2 new commands for testing concurrent operations and cancel
     set_auto_wait
     wait_response

19 years agoWarn if Libxml2 is not found
Adam Dickmeiss [Wed, 18 May 2005 20:23:47 +0000 (20:23 +0000)]
Warn if Libxml2 is not found

19 years agoAdded functin yaz_del_charneg_record, which removes character set
Adam Dickmeiss [Wed, 18 May 2005 12:38:40 +0000 (12:38 +0000)]
Added functin  yaz_del_charneg_record, which removes character set
negotiation from otherInfo.

19 years agoReestablish LOG_APP,APP2,APP3 .. continued.
Adam Dickmeiss [Wed, 18 May 2005 12:30:00 +0000 (12:30 +0000)]
Reestablish LOG_APP,APP2,APP3 .. continued.

19 years agoKeep log level app2,app3. It is still being used
Adam Dickmeiss [Wed, 18 May 2005 12:23:42 +0000 (12:23 +0000)]
Keep log level app2,app3. It is still being used

19 years agoFixed bug #255: ZOOM does not decode Diagnostics in init-response.
Adam Dickmeiss [Tue, 17 May 2005 11:48:36 +0000 (11:48 +0000)]
Fixed bug #255: ZOOM does not decode Diagnostics in init-response.
ZOOM C now decodes init diagnostics from user-information-field
when present. If non-present, the pseudo error code 'Init Rejected'
is issued.

19 years agoIgnore generated files "tstsoap1" and "tstsoap2"
Mike Taylor [Mon, 16 May 2005 12:00:31 +0000 (12:00 +0000)]
Ignore generated files "tstsoap1" and "tstsoap2"

19 years agoBump version to 2.1.5
Adam Dickmeiss [Wed, 11 May 2005 12:19:15 +0000 (12:19 +0000)]
Bump version to 2.1.5

19 years agoInitialize members scanClause,errcode,errstring for Z39.50 scan handling
Adam Dickmeiss [Wed, 11 May 2005 12:07:48 +0000 (12:07 +0000)]
Initialize members scanClause,errcode,errstring for Z39.50 scan handling

19 years agoIgnore generated header files.
Mike Taylor [Mon, 9 May 2005 11:17:06 +0000 (11:17 +0000)]
Ignore generated header files.

19 years agoIgnore generated C files.
Mike Taylor [Mon, 9 May 2005 11:16:29 +0000 (11:16 +0000)]
Ignore generated C files.

19 years agoIn yaz-client when evaluating time elapsed, it is done just
Adam Dickmeiss [Mon, 9 May 2005 11:01:07 +0000 (11:01 +0000)]
In yaz-client when evaluating time elapsed, it is done just
after the incoming package has been decoded - not after
display of result records etc. This to give a more true picture
of target's performance.

19 years agoFix example
Adam Dickmeiss [Mon, 9 May 2005 08:51:48 +0000 (08:51 +0000)]
Fix example

19 years agoBug fix: did not use outputCharset in the conversion of search term
Adam Dickmeiss [Sun, 8 May 2005 22:53:59 +0000 (22:53 +0000)]
Bug fix: did not use outputCharset in the conversion of search term

19 years agoFixed bug #320: Improve UTF-8 -> Latin-1 conversion.
Adam Dickmeiss [Sun, 8 May 2005 07:35:23 +0000 (07:35 +0000)]
Fixed bug #320: Improve UTF-8 -> Latin-1 conversion.
The yaz_iconv utility now converts several composed UNICODE sequences
to their single code Latin-1 equivalents. This improves the MARC-8
to ISO-8859-1 conversion in that more sequences are correctly converted.

19 years agoComment out debug printf stmt
Adam Dickmeiss [Sun, 8 May 2005 07:33:12 +0000 (07:33 +0000)]
Comment out debug printf stmt

19 years agoFixed bug #322: yaz server does not log listener address if given
Adam Dickmeiss [Sun, 8 May 2005 07:13:57 +0000 (07:13 +0000)]
Fixed bug #322: yaz server does not log listener address if given

19 years agoEncode SRW/SRU terms to UTF-8 from terminal (outputCharset).
Adam Dickmeiss [Fri, 6 May 2005 12:18:26 +0000 (12:18 +0000)]
Encode SRW/SRU terms to UTF-8 from terminal (outputCharset).

19 years agoAdded two SOAP tests
Adam Dickmeiss [Fri, 6 May 2005 11:11:37 +0000 (11:11 +0000)]
Added two SOAP tests

19 years agoCollect CVS changes.
Adam Dickmeiss [Tue, 3 May 2005 21:32:19 +0000 (21:32 +0000)]
Collect CVS changes.

19 years agoAdded some help on proximity.
Adam Dickmeiss [Tue, 3 May 2005 12:30:13 +0000 (12:30 +0000)]
Added some help on proximity.

19 years agoRemoved a few redundant log messages
Adam Dickmeiss [Mon, 2 May 2005 19:33:55 +0000 (19:33 +0000)]
Removed a few redundant log messages

19 years agoFix bug #307: It's impossible to specify indefinite/no timeout for
Adam Dickmeiss [Mon, 2 May 2005 19:33:00 +0000 (19:33 +0000)]
Fix bug #307: It's impossible to specify indefinite/no timeout for
ZOOM_event. Special timeout value -1 now means indefinite timeout (i.e.
no timeout).

19 years agoAdded support for multiple languages and charsets to be specified
Adam Dickmeiss [Mon, 2 May 2005 19:17:48 +0000 (19:17 +0000)]
Added support for multiple languages and charsets to be specified
in ZOOM. Each charset/language is separated by a blank.
If negoation is in effect in init-response, Option
"negotiation-charset-in-effect-for-records" set to 1(true) or 0(false).
Code based on patch by Vasiliy Osadchuk.

19 years agoAdded utilities nmem_strsplit and nmem_strsplit_blank which
Adam Dickmeiss [Mon, 2 May 2005 19:14:33 +0000 (19:14 +0000)]
Added utilities nmem_strsplit and nmem_strsplit_blank which
splits a string into arrays and allocates each stream using NMEM.

19 years agoFixed bug in scan handling in front end server: if
Adam Dickmeiss [Fri, 29 Apr 2005 19:06:13 +0000 (19:06 +0000)]
Fixed bug in scan handling in front end server: if
preferredPositionInResponse was non-present it logged a NULL value.

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