yaz-moved-to-github.git
20 years agoInclude stdlib.h for zoom.h
Adam Dickmeiss [Mon, 16 Feb 2004 11:22:34 +0000 (11:22 +0000)]
Include stdlib.h for zoom.h

20 years agoSet default preferred/maximum record size to 1 MB
Adam Dickmeiss [Sun, 15 Feb 2004 07:19:42 +0000 (07:19 +0000)]
Set default preferred/maximum record size to 1 MB

20 years agoSRW/SRU update: use uri instead of code for diagnostic
Adam Dickmeiss [Sat, 14 Feb 2004 15:58:42 +0000 (15:58 +0000)]
SRW/SRU update: use uri instead of code for diagnostic

20 years agoAdded init command for yaz-client which sends extra init request
Adam Dickmeiss [Sat, 14 Feb 2004 15:44:15 +0000 (15:44 +0000)]
Added init command for yaz-client which sends extra init request

20 years agoFixed two bugs in OID codec - ber_oidc. Throw error when encoding or
Adam Dickmeiss [Wed, 11 Feb 2004 23:49:28 +0000 (23:49 +0000)]
Fixed two bugs in OID codec - ber_oidc. Throw error when encoding or
decoding bad truncated OID. Fix decoding of OID X.Y when X=2, Y>39.

20 years agoFixed a bug in ASN.1 compiler that caused Type-1 Operator codec to fail
Adam Dickmeiss [Wed, 11 Feb 2004 21:39:44 +0000 (21:39 +0000)]
Fixed a bug in ASN.1 compiler that caused Type-1 Operator codec to fail

20 years agoMake separate error code for invalid query
Adam Dickmeiss [Wed, 11 Feb 2004 13:37:16 +0000 (13:37 +0000)]
Make separate error code for invalid query

20 years agoNew Debian Policy
Adam Dickmeiss [Mon, 9 Feb 2004 12:38:57 +0000 (12:38 +0000)]
New Debian Policy

20 years agoFixed compilation for SSL YAZ.2.0.10.old.debian.policy
Adam Dickmeiss [Mon, 9 Feb 2004 09:54:57 +0000 (09:54 +0000)]
Fixed compilation for SSL

20 years agoEnsure that YAZ is compiled with libwrap
Adam Dickmeiss [Mon, 9 Feb 2004 08:41:49 +0000 (08:41 +0000)]
Ensure that YAZ is compiled with libwrap

20 years agoRemove extra AC_MSG_RESULT entry YAZ.2.0.10
Adam Dickmeiss [Thu, 5 Feb 2004 14:15:42 +0000 (14:15 +0000)]
Remove extra AC_MSG_RESULT entry

20 years ago2.0.10
Adam Dickmeiss [Thu, 5 Feb 2004 11:55:56 +0000 (11:55 +0000)]
2.0.10

20 years agoAllows second argument for YAZ_INIT to hold required version of YAZ.
Adam Dickmeiss [Thu, 5 Feb 2004 11:54:09 +0000 (11:54 +0000)]
Allows second argument for YAZ_INIT to hold required version of YAZ.

20 years agoUse prefix for SRW diagset in ZOOM
Adam Dickmeiss [Tue, 27 Jan 2004 21:22:43 +0000 (21:22 +0000)]
Use prefix for SRW diagset in ZOOM

20 years agoSRW diagnostic code now a URI
Adam Dickmeiss [Tue, 27 Jan 2004 12:15:11 +0000 (12:15 +0000)]
SRW diagnostic code now a URI

20 years agoRolling tweaks, not yet running
Mike Taylor [Mon, 26 Jan 2004 21:05:34 +0000 (21:05 +0000)]
Rolling tweaks, not yet running

20 years agoAllow any PDU size if preferredMessageSize is 0
Adam Dickmeiss [Fri, 23 Jan 2004 18:16:07 +0000 (18:16 +0000)]
Allow any PDU size if preferredMessageSize is 0

20 years agoASN.1 compiler sets Type pointer to NULL when DECODING omitted stuff
Adam Dickmeiss [Fri, 23 Jan 2004 11:52:52 +0000 (11:52 +0000)]
ASN.1 compiler sets Type pointer to NULL when DECODING omitted stuff

20 years agoAllow recordID{Opaque,Number} to be se for ES upÃdate
Adam Dickmeiss [Thu, 22 Jan 2004 11:20:54 +0000 (11:20 +0000)]
Allow recordID{Opaque,Number} to be se for ES upÃdate

20 years agoDebian sample init.d YAZ server script
Adam Dickmeiss [Sun, 18 Jan 2004 21:11:11 +0000 (21:11 +0000)]
Debian sample init.d YAZ server script

20 years agoFixed PID file so it is generated after fork (-r & -D)
Adam Dickmeiss [Sun, 18 Jan 2004 02:28:42 +0000 (02:28 +0000)]
Fixed PID file so it is generated after fork (-r & -D)

20 years agoImplement option -D, -p for GFS
Adam Dickmeiss [Sat, 17 Jan 2004 01:20:12 +0000 (01:20 +0000)]
Implement option -D, -p for GFS

20 years agoMake ZOOM C recognize option password
Adam Dickmeiss [Fri, 16 Jan 2004 10:04:54 +0000 (10:04 +0000)]
Make ZOOM C recognize option password

20 years agoFix sequence of diagnostic element
Adam Dickmeiss [Thu, 15 Jan 2004 23:33:29 +0000 (23:33 +0000)]
Fix sequence of diagnostic element

20 years agoChange proto of yaz_init_opt_decode.
Adam Dickmeiss [Thu, 15 Jan 2004 10:16:26 +0000 (10:16 +0000)]
Change proto of yaz_init_opt_decode.
Added new function nmem_print_list_l (variant of nmem_print_list).
Added new yaz-client command zversion that sets Z39.50 option bits -
using yaz_init_opt_encode.

20 years agoAvoid reverse lookup in GFS
Adam Dickmeiss [Thu, 15 Jan 2004 10:05:56 +0000 (10:05 +0000)]
Avoid reverse lookup in GFS

20 years agoAllow frontend server to stop (for debugging purposes)
Adam Dickmeiss [Thu, 15 Jan 2004 10:04:39 +0000 (10:04 +0000)]
Allow frontend server to stop (for debugging purposes)

20 years agoFix SOAP SRU encoding leak
Adam Dickmeiss [Wed, 14 Jan 2004 00:15:56 +0000 (00:15 +0000)]
Fix SOAP SRU encoding leak

20 years agoUse yaz_init_opt_decode to show options
Adam Dickmeiss [Tue, 13 Jan 2004 11:19:24 +0000 (11:19 +0000)]
Use yaz_init_opt_decode to show options

20 years agoChanges YAZ.2.0.9.6
Adam Dickmeiss [Mon, 12 Jan 2004 13:21:52 +0000 (13:21 +0000)]
Changes

20 years agoSmall utility to encode/decode init options as a string
Adam Dickmeiss [Mon, 12 Jan 2004 12:11:57 +0000 (12:11 +0000)]
Small utility to encode/decode init options as a string

20 years agoUse displayTerm in zoomsh
Adam Dickmeiss [Mon, 12 Jan 2004 12:10:44 +0000 (12:10 +0000)]
Use displayTerm in zoomsh

20 years agoFix displayTerm. Prepare for xpath for record element fetch.
Adam Dickmeiss [Mon, 12 Jan 2004 12:10:17 +0000 (12:10 +0000)]
Fix displayTerm. Prepare for xpath for record element fetch.

20 years agoUpdate SRW messages strings to version 1.1
Adam Dickmeiss [Fri, 9 Jan 2004 19:54:05 +0000 (19:54 +0000)]
Update SRW messages strings to version 1.1

20 years agoEncode SRW/SRU diagnostic message from diagnostic code.
Adam Dickmeiss [Fri, 9 Jan 2004 19:53:42 +0000 (19:53 +0000)]
Encode SRW/SRU diagnostic message from diagnostic code.

20 years agoPicky SRU decode. yaz_srw_get supports scan
Adam Dickmeiss [Fri, 9 Jan 2004 18:10:31 +0000 (18:10 +0000)]
Picky SRU decode. yaz_srw_get supports scan

20 years agoRead recordXPath for SRU YAZ.2.0.9.larry
Adam Dickmeiss [Wed, 7 Jan 2004 22:27:41 +0000 (22:27 +0000)]
Read recordXPath for SRU

20 years ago2.0.9-5 YAZ.2.0.9.5
Adam Dickmeiss [Wed, 7 Jan 2004 21:43:20 +0000 (21:43 +0000)]
2.0.9-5

20 years agoAdd z_soap_codec_enc_xsl
Adam Dickmeiss [Wed, 7 Jan 2004 21:02:42 +0000 (21:02 +0000)]
Add z_soap_codec_enc_xsl

20 years agoStylesheet support.
Adam Dickmeiss [Wed, 7 Jan 2004 20:36:44 +0000 (20:36 +0000)]
Stylesheet support.

20 years agoFix warning
Adam Dickmeiss [Wed, 7 Jan 2004 20:33:57 +0000 (20:33 +0000)]
Fix warning

20 years agoAdd isbn to bath
Adam Dickmeiss [Wed, 7 Jan 2004 14:01:24 +0000 (14:01 +0000)]
Add isbn to bath

20 years agoUse _strnicmp on Windows
Adam Dickmeiss [Tue, 6 Jan 2004 20:21:37 +0000 (20:21 +0000)]
Use _strnicmp on Windows

20 years agoFix a bug with decoding of XML packed records YAZ.2.0.9.4
Adam Dickmeiss [Tue, 6 Jan 2004 19:12:19 +0000 (19:12 +0000)]
Fix a bug with decoding of XML packed records

20 years agoDebian/window 2.0.9-3 YAZ.2.0.9.3
Adam Dickmeiss [Tue, 6 Jan 2004 13:38:56 +0000 (13:38 +0000)]
Debian/window 2.0.9-3

20 years agoReport missin record data
Adam Dickmeiss [Tue, 6 Jan 2004 13:38:39 +0000 (13:38 +0000)]
Report missin record data

20 years agoFix record/literal XML decoding
Adam Dickmeiss [Tue, 6 Jan 2004 11:21:04 +0000 (11:21 +0000)]
Fix record/literal XML decoding

20 years agoTweak error mapping
Adam Dickmeiss [Tue, 6 Jan 2004 11:20:15 +0000 (11:20 +0000)]
Tweak error mapping

20 years agoSRW/Z39.50 diagnostic mapping: make bad ESN to bad schema
Adam Dickmeiss [Tue, 6 Jan 2004 09:10:02 +0000 (09:10 +0000)]
SRW/Z39.50 diagnostic mapping: make bad ESN to bad schema

20 years agoRename variable
Adam Dickmeiss [Tue, 6 Jan 2004 09:09:13 +0000 (09:09 +0000)]
Rename variable

20 years agoAllow empty ODR (NMEM=0) for odr_oiddup and odr_getoidbystr.
Adam Dickmeiss [Mon, 5 Jan 2004 14:46:52 +0000 (14:46 +0000)]
Allow empty ODR (NMEM=0) for odr_oiddup and odr_getoidbystr.

20 years agoChanges
Adam Dickmeiss [Mon, 5 Jan 2004 14:06:25 +0000 (14:06 +0000)]
Changes

20 years agoFix bug in diagnostics decoding
Adam Dickmeiss [Mon, 5 Jan 2004 14:05:56 +0000 (14:05 +0000)]
Fix bug in diagnostics decoding

20 years agoYear YAZ.2.0.9
Adam Dickmeiss [Mon, 5 Jan 2004 09:50:54 +0000 (09:50 +0000)]
Year

20 years agoRemove yazmalloc references
Adam Dickmeiss [Mon, 5 Jan 2004 09:45:49 +0000 (09:45 +0000)]
Remove yazmalloc references

20 years agoFix flags for XML2
Adam Dickmeiss [Mon, 5 Jan 2004 09:41:31 +0000 (09:41 +0000)]
Fix flags for XML2

20 years ago2.0.9 candidate
Adam Dickmeiss [Mon, 5 Jan 2004 09:34:41 +0000 (09:34 +0000)]
2.0.9 candidate

20 years agoFix problem with print ODR/HTTP/odr_reset
Adam Dickmeiss [Wed, 31 Dec 2003 00:14:00 +0000 (00:14 +0000)]
Fix problem with print ODR/HTTP/odr_reset

20 years agoFix ODR pritn of HTTP requests
Adam Dickmeiss [Tue, 30 Dec 2003 15:18:53 +0000 (15:18 +0000)]
Fix ODR pritn of HTTP requests

20 years agoFix several compile warnings
Adam Dickmeiss [Tue, 30 Dec 2003 00:29:53 +0000 (00:29 +0000)]
Fix several compile warnings

20 years agoRemove obsolete /pdb switches
Adam Dickmeiss [Tue, 30 Dec 2003 00:23:28 +0000 (00:23 +0000)]
Remove obsolete /pdb switches

20 years agoFix return statement
Adam Dickmeiss [Tue, 30 Dec 2003 00:22:11 +0000 (00:22 +0000)]
Fix return statement

20 years agoMissing return statements
Adam Dickmeiss [Tue, 30 Dec 2003 00:16:24 +0000 (00:16 +0000)]
Missing return statements

20 years agoLet GFS accept SRW 1.0
Adam Dickmeiss [Tue, 30 Dec 2003 00:13:05 +0000 (00:13 +0000)]
Let GFS accept SRW 1.0

20 years agoInit recordXpath
Adam Dickmeiss [Tue, 30 Dec 2003 00:12:50 +0000 (00:12 +0000)]
Init recordXpath

20 years agoSRW scan
Adam Dickmeiss [Mon, 29 Dec 2003 14:54:33 +0000 (14:54 +0000)]
SRW scan

20 years agoGFS could drop first record in a result set exceeding preferred message
Adam Dickmeiss [Mon, 29 Dec 2003 13:39:41 +0000 (13:39 +0000)]
GFS could drop first record in a result set exceeding preferred message
size. Reported and fixed by Irina Dijour.

20 years agoUpdated changes with GFS record fix
Adam Dickmeiss [Sun, 28 Dec 2003 11:46:03 +0000 (11:46 +0000)]
Updated changes with GFS record fix

20 years agoFix calculation of length of structured records in GFS record packer
Adam Dickmeiss [Thu, 25 Dec 2003 15:25:08 +0000 (15:25 +0000)]
Fix calculation of length of structured records in GFS record packer

20 years agoOption parsing. Still no functionality.
Mike Taylor [Wed, 24 Dec 2003 16:59:12 +0000 (16:59 +0000)]
Option parsing.  Still no functionality.
Time to stop for Christmas.

20 years agoEmpty benchmarking application
Mike Taylor [Wed, 24 Dec 2003 16:23:43 +0000 (16:23 +0000)]
Empty benchmarking application

20 years agoNote changes.
Adam Dickmeiss [Tue, 23 Dec 2003 08:47:25 +0000 (08:47 +0000)]
Note changes.

20 years agoFix SRW/SRU NS for diagnostic
Adam Dickmeiss [Mon, 22 Dec 2003 22:47:20 +0000 (22:47 +0000)]
Fix SRW/SRU NS for diagnostic

20 years agoHandle unexpected HTTP closed sessions better
Adam Dickmeiss [Mon, 22 Dec 2003 19:46:22 +0000 (19:46 +0000)]
Handle unexpected HTTP closed sessions better

20 years agoChanges.
Adam Dickmeiss [Mon, 22 Dec 2003 14:52:05 +0000 (14:52 +0000)]
Changes.

20 years agoTowards 2.0.8 YAZ.2.0.8
Adam Dickmeiss [Mon, 22 Dec 2003 14:46:26 +0000 (14:46 +0000)]
Towards 2.0.8

20 years agoInit member database for explain request
Adam Dickmeiss [Mon, 22 Dec 2003 14:24:10 +0000 (14:24 +0000)]
Init member database for explain request

20 years agoHTTP header lookup case insensitive
Adam Dickmeiss [Sun, 21 Dec 2003 11:33:29 +0000 (11:33 +0000)]
HTTP header lookup case insensitive

20 years agoInit all SRW explain response members
Adam Dickmeiss [Sat, 20 Dec 2003 22:40:46 +0000 (22:40 +0000)]
Init all SRW explain response members

20 years agoFixed ODR usage in SRW decoding
Adam Dickmeiss [Sat, 20 Dec 2003 19:11:39 +0000 (19:11 +0000)]
Fixed ODR usage in SRW decoding

20 years agoFix SRW/SRU ns
Adam Dickmeiss [Sat, 20 Dec 2003 00:52:08 +0000 (00:52 +0000)]
Fix SRW/SRU ns

20 years agoSRW/SRU 1.1
Adam Dickmeiss [Sat, 20 Dec 2003 00:51:19 +0000 (00:51 +0000)]
SRW/SRU 1.1

20 years agoSupport for CQL transformations involving wildcard patterns, which
Mike Taylor [Fri, 19 Dec 2003 12:16:19 +0000 (12:16 +0000)]
Support for CQL transformations involving wildcard patterns, which
were previously passed through untouched.  We now make an effort to
emit the most primitive (i.e. Bath-friendly) truncation attributes we
can, based on what's in the configuration file, falling back on
Z59.58-like wildcarding when necessary.

The logic turns out to be non-trival (sigh ... so unlike an OpenURL
resolver.)  Although the code, once I'd finally arrived at it, turned
out to be gratifying short and clear:

If a term begins and ends with * and has no other WC
characters in it AND we have a truncation.both element in the
configuration file, strip the *s and use truncation.both.

Otherwise, if it begins with * and has no other WC characters
in it AND truncation.left is configured, use that.

Otherwise, if it ends with * and has no other WC characters
in it AND truncation.right is configured, use that.

Otherwise, if it has any WCs anywhere in the string,
transliterate * to ? and ? to # and use truncation.z3958,
generating error 28 "Masking character not supported" if it's
not configured.

Otherwise it must be the case that it has no WCs.  Use
truncation.none, generating error 30 "Too many masking
characters in term" if it's not configured.

This arrangement allows some flexibility in the configuration file,
e.g. you can omit the special-case left-, right- and both-truncation
elements if you always want Z39.58-style truncation.

I also fixed a small and harmless bug of Adam's, which I am pretty
sure could _never_ have any effect, but which offended me anyway.
This change is far too trivial to be worth mentioning in the CVS log,
but I'm expecting Adam to read this, and probably go and see what the
bug was :-)

20 years agoAdd truncation attributes.
Mike Taylor [Fri, 19 Dec 2003 12:00:36 +0000 (12:00 +0000)]
Add truncation attributes.

20 years agoFix memory leak in SRW/SRU encoding handler
Adam Dickmeiss [Thu, 18 Dec 2003 23:04:23 +0000 (23:04 +0000)]
Fix memory leak in SRW/SRU encoding handler

20 years agoDescribe recent CQL changes.
Mike Taylor [Thu, 18 Dec 2003 17:30:28 +0000 (17:30 +0000)]
Describe recent CQL changes.

20 years agoAll changes to the CQL section:
Mike Taylor [Thu, 18 Dec 2003 17:27:31 +0000 (17:27 +0000)]
All changes to the CQL section:
Talk about context sets instead of index sets.
Talk about indexes instead of qualifiers.
Document new "index.set.name" specifier.
(The old "qualifier.set.name" specifier is mentioned as DEPRECATED.)
Describe default use of cql.serverChoice instead of srw.serverChoice.
Update the example configuration file according to the above.

20 years agoindex set -> context set
Mike Taylor [Thu, 18 Dec 2003 17:05:01 +0000 (17:05 +0000)]
index set -> context set

20 years agoComment
Mike Taylor [Thu, 18 Dec 2003 17:02:24 +0000 (17:02 +0000)]
Comment

20 years agoComment.
Mike Taylor [Thu, 18 Dec 2003 17:00:55 +0000 (17:00 +0000)]
Comment.

20 years agoLook for cql.resultSet as well as srw.resultSet.
Mike Taylor [Thu, 18 Dec 2003 16:59:28 +0000 (16:59 +0000)]
Look for cql.resultSet as well as srw.resultSet.
Fall back to cql.serverChoice rather than srw.serverChoice when no
index is provided for a term.  (Unfortunately the structure of the
code makes it hard to check both.)

20 years agos/qualifier/index in comments.
Mike Taylor [Thu, 18 Dec 2003 16:49:07 +0000 (16:49 +0000)]
s/qualifier/index in comments.

20 years agoTypo in Usage: message.
Mike Taylor [Thu, 18 Dec 2003 16:45:19 +0000 (16:45 +0000)]
Typo in Usage: message.

20 years agoReplace leading "qualifier." with "index." throughout.
Mike Taylor [Thu, 18 Dec 2003 16:44:20 +0000 (16:44 +0000)]
Replace leading "qualifier." with "index." throughout.

20 years agoLook up index-names as "index.<name>" in the qualifier configuration
Mike Taylor [Thu, 18 Dec 2003 16:42:52 +0000 (16:42 +0000)]
Look up index-names as "index.<name>" in the qualifier configuration
file, falling back to the old "qualifier.<name>" only if this fails.

20 years agoMore considered Bath Profile support. May need changes to the
Mike Taylor [Thu, 18 Dec 2003 14:40:20 +0000 (14:40 +0000)]
More considered Bath Profile support.  May need changes to the
software to generate more Bath-friendly queries.
Add support for "cql" set (replaces "srw" which is retained but deprecated)
Add support for "rec" set (required by Bath)
Add support for the "bath" set.
Remove some old qualifiers that shouldn't be there at all.
Remove qualifier.bath.remoteSystemRecordNumber (use rec.id instead)

20 years agoVery, very basic support for Bath profile.
Mike Taylor [Thu, 18 Dec 2003 13:44:59 +0000 (13:44 +0000)]
Very, very basic support for Bath profile.

20 years agoFix @attr set for CCL to RPN
Adam Dickmeiss [Thu, 18 Dec 2003 13:08:48 +0000 (13:08 +0000)]
Fix @attr set for CCL to RPN

20 years agoWarn for bad base address in MARC parser
Adam Dickmeiss [Wed, 17 Dec 2003 12:28:07 +0000 (12:28 +0000)]
Warn for bad base address in MARC parser

20 years agoMention .NET version YAZ.2.0.7
Adam Dickmeiss [Tue, 16 Dec 2003 14:51:45 +0000 (14:51 +0000)]
Mention .NET version