yaz-moved-to-github.git
19 years agoAdded 'exit' as an alternative for 'quit' in yaz-client
Heikki Levanto [Wed, 24 Aug 2005 11:25:34 +0000 (11:25 +0000)]
Added 'exit' as an alternative for 'quit' in yaz-client
(Per's request)

19 years agoMore type casts for char signed/unsigned and xmlChar. Using
Adam Dickmeiss [Mon, 22 Aug 2005 20:34:21 +0000 (20:34 +0000)]
More type casts for char signed/unsigned and xmlChar. Using
xmlStrcmp, xmlStrlen in a few places instead of strcmp/strlen.

19 years agoUpdated to use libxml 2.6.20, zlib 1.2.3
Adam Dickmeiss [Thu, 18 Aug 2005 18:42:37 +0000 (18:42 +0000)]
Updated to use libxml 2.6.20, zlib 1.2.3

19 years agoIncrease the ODR stack size. Use different stack data structure
Adam Dickmeiss [Thu, 11 Aug 2005 14:21:55 +0000 (14:21 +0000)]
Increase the ODR stack size. Use different stack data structure
for ODR constructed stack.

19 years agoMake test fail if circular refenced ODR does not fail
Adam Dickmeiss [Thu, 11 Aug 2005 14:19:28 +0000 (14:19 +0000)]
Make test fail if circular refenced ODR does not fail

19 years agoAdded tstodrstack to this
Adam Dickmeiss [Thu, 11 Aug 2005 14:09:07 +0000 (14:09 +0000)]
Added tstodrstack to this

19 years agoTest with 100 level query and another with circular refernce
Adam Dickmeiss [Thu, 11 Aug 2005 14:08:38 +0000 (14:08 +0000)]
Test with 100 level query and another with circular refernce

19 years agoAdded test for bad ODR nesting
Adam Dickmeiss [Thu, 11 Aug 2005 14:00:43 +0000 (14:00 +0000)]
Added test for bad ODR nesting

19 years agoAdded some news items collected frmo CVS
Adam Dickmeiss [Wed, 10 Aug 2005 09:12:53 +0000 (09:12 +0000)]
Added some news items collected frmo CVS

19 years agoRemoved /usr/share/yaz/etc from libyaz. All /usr/share/yaz content is now
Adam Dickmeiss [Wed, 10 Aug 2005 09:02:43 +0000 (09:02 +0000)]
Removed /usr/share/yaz/etc from libyaz. All /usr/share/yaz content is now
part of libyaz-dev.

19 years agoFixed setting of record syntax for Extended Service update in ZOOM
Adam Dickmeiss [Tue, 9 Aug 2005 18:29:35 +0000 (18:29 +0000)]
Fixed setting of record syntax for Extended Service update in ZOOM

19 years agoAdded missing start tag
Adam Dickmeiss [Fri, 5 Aug 2005 09:36:15 +0000 (09:36 +0000)]
Added missing start tag

19 years agoImplemented 'show all' command. Bug #398. Patch by Rob Styles.
Adam Dickmeiss [Fri, 22 Jul 2005 06:23:14 +0000 (06:23 +0000)]
Implemented 'show all' command. Bug #398. Patch by Rob Styles.

19 years agoNote TCP/IP backlog change.
Mike Taylor [Tue, 19 Jul 2005 12:41:20 +0000 (12:41 +0000)]
Note TCP/IP backlog change.

19 years agoIncrease TCP/IP listener backlog from 3 (which I am guessing was
Mike Taylor [Tue, 19 Jul 2005 12:40:52 +0000 (12:40 +0000)]
Increase TCP/IP listener backlog from 3 (which I am guessing was
copied from the SunOS manual entry way back when) so SOMAXCONN, so
that the socket will queue as many incoming connections as it's able
to handle ongoing connections.  In other words, it will never now
refuse a connection that it would be able to handle merely because
it's not got around to accepting() enough of the pending connections
yet.  This is the behaviour anyway under Linux, where the listen()
argument is ignored; but not under BSD and on systems such as
MS-Windows that use BSD-derived TCP/IP stacks.  The behaviour of
YAZ-based servers should now be uniform across operating systems in
this respect.

19 years agostarted new developmenr version number to make side-by-side compilation with zebra...
Marc Cromme [Mon, 18 Jul 2005 10:07:21 +0000 (10:07 +0000)]
started new developmenr version number to make side-by-side compilation with zebra feasable on debian systems

19 years agoadded some package names to message
Marc Cromme [Mon, 18 Jul 2005 10:06:36 +0000 (10:06 +0000)]
added some package names  to message

19 years agoCheck for open connection and proper protocol for update and xmles
Adam Dickmeiss [Thu, 30 Jun 2005 08:34:01 +0000 (08:34 +0000)]
Check for open connection and proper protocol for update and xmles
commands.
Fixed uinitialized member in xmles.

19 years agoPick latest Docbook XML DTD for 4.X
Adam Dickmeiss [Wed, 29 Jun 2005 22:52:54 +0000 (22:52 +0000)]
Pick latest Docbook XML DTD for 4.X

19 years agoCase insensitive CQL relations/indexes/operations.
Adam Dickmeiss [Mon, 27 Jun 2005 22:03:59 +0000 (22:03 +0000)]
Case insensitive CQL relations/indexes/operations.

19 years agoExpanded tabs in all source files. Added vim/emacs local variables
Adam Dickmeiss [Sat, 25 Jun 2005 15:46:01 +0000 (15:46 +0000)]
Expanded tabs in all source files. Added vim/emacs local variables
trailer.

19 years agoPrint ext command in help
Adam Dickmeiss [Sat, 25 Jun 2005 15:42:19 +0000 (15:42 +0000)]
Print ext command in help

19 years agoWS updates. No code changes
Adam Dickmeiss [Fri, 24 Jun 2005 19:56:52 +0000 (19:56 +0000)]
WS updates. No code changes

19 years agoAdd OID for External XMLES too
Adam Dickmeiss [Fri, 24 Jun 2005 12:50:46 +0000 (12:50 +0000)]
Add OID for External XMLES too

19 years agoFix relationModifier handling (incorrect value in check was used).
Adam Dickmeiss [Thu, 23 Jun 2005 15:03:40 +0000 (15:03 +0000)]
Fix relationModifier handling (incorrect value in check was used).

19 years agoChanged xmles command to take OID + doc as parameter (previous
Adam Dickmeiss [Thu, 23 Jun 2005 13:09:42 +0000 (13:09 +0000)]
Changed xmles command to take OID + doc as parameter (previous
version only took doc).

19 years agoDescribe new comman xmles. Update doc for Item Update.
Adam Dickmeiss [Tue, 21 Jun 2005 07:34:26 +0000 (07:34 +0000)]
Describe new comman xmles. Update doc for Item Update.

19 years agoRename VAL_XMLUPDATE to XML_XMLES bacuase this is an XML extended
Adam Dickmeiss [Tue, 21 Jun 2005 07:33:08 +0000 (07:33 +0000)]
Rename VAL_XMLUPDATE to XML_XMLES bacuase this is an XML extended
service type facility rather than Update facility.

19 years agoFor RPM spec, use License: rather than Copyright: (obsolete)
Adam Dickmeiss [Thu, 16 Jun 2005 09:05:10 +0000 (09:05 +0000)]
For RPM spec, use License: rather than Copyright: (obsolete)

19 years agoFor GFS, allow field record in bend_fetch_rr to hold NULL - meaning
Adam Dickmeiss [Mon, 13 Jun 2005 10:27:00 +0000 (10:27 +0000)]
For GFS, allow field record in bend_fetch_rr to hold NULL - meaning
that record could not be returned and out of range. This present
response will simply not include the record. Useful for Zebra 1.4
where approximate hit count is returned.

19 years agoUpdate year in copyright message
Adam Dickmeiss [Fri, 10 Jun 2005 17:56:35 +0000 (17:56 +0000)]
Update year in copyright message

19 years agoLFS mode for yaz-marcdump so that it can read large ISO2709 files
Adam Dickmeiss [Thu, 9 Jun 2005 18:47:07 +0000 (18:47 +0000)]
LFS mode for yaz-marcdump so that it can read large ISO2709 files

19 years agoFix problem with pointer to last init response being corrupt
Adam Dickmeiss [Wed, 8 Jun 2005 12:34:05 +0000 (12:34 +0000)]
Fix problem with pointer to last init response being corrupt
due to set_auto_wait=off. If we have not yet received init response
we assume option is set.

19 years agoDescribe new yaz-client commands wait_response and set_auto_wait.
Adam Dickmeiss [Wed, 8 Jun 2005 11:22:15 +0000 (11:22 +0000)]
Describe new yaz-client commands wait_response and set_auto_wait.

19 years agoBump version to 2.1.9.
Adam Dickmeiss [Wed, 8 Jun 2005 09:11:17 +0000 (09:11 +0000)]
Bump version to 2.1.9.

19 years agoFixed wait_response handling so to deal with proper number of
Adam Dickmeiss [Wed, 8 Jun 2005 09:11:03 +0000 (09:11 +0000)]
Fixed wait_response handling so to deal with proper number of
responses.

19 years agoMore NEWS YAZ.2.1.8
Adam Dickmeiss [Tue, 7 Jun 2005 19:51:45 +0000 (19:51 +0000)]
More NEWS

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