yaz-moved-to-github.git
18 years agobuild-dependencies added
Marc Cromme [Tue, 17 Feb 2004 09:23:16 +0000 (09:23 +0000)]
build-dependencies added

18 years agoFor SSL, use -lssl -lcrypto on systems that don't have pkg-config.
Adam Dickmeiss [Mon, 16 Feb 2004 23:46:14 +0000 (23:46 +0000)]
For SSL, use -lssl -lcrypto on systems that don't have pkg-config.

18 years agoFix type cast warning issued by GCC 3.3.3
Adam Dickmeiss [Mon, 16 Feb 2004 21:40:39 +0000 (21:40 +0000)]
Fix type cast warning issued by GCC 3.3.3

18 years agoTowards 2.0.12 YAZ.2.0.12
Adam Dickmeiss [Mon, 16 Feb 2004 18:28:18 +0000 (18:28 +0000)]
Towards 2.0.12

18 years agoTowards 2.0.12
Adam Dickmeiss [Mon, 16 Feb 2004 17:57:05 +0000 (17:57 +0000)]
Towards 2.0.12

18 years ago2.0.11 YAZ.2.0.11
Adam Dickmeiss [Mon, 16 Feb 2004 11:30:33 +0000 (11:30 +0000)]
2.0.11

18 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

18 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

18 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

18 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

18 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.

18 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

18 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

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

18 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

18 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

18 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

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

18 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.

18 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

18 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

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

18 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

18 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

18 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

18 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

18 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)

18 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

18 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

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

18 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.

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

18 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)

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

18 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

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

18 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

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

18 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.

18 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

18 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.

18 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

18 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

18 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

18 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

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

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

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

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

18 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

18 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

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

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

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

18 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

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

18 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.

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

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

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

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

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

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

18 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

18 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

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

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

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

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

18 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

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

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

18 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.

18 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

18 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

18 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.

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

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

18 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

18 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

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

18 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

18 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

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

18 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

18 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

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

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

18 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 :-)

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

18 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

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

18 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.

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

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

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

18 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.)

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

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

18 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.