yaz-moved-to-github.git
18 years agoAdd ZOOM_query_ccl2rpn() and two new error-codes that it generates:
Mike Taylor [Tue, 13 Jun 2006 16:21:42 +0000 (16:21 +0000)]
Add ZOOM_query_ccl2rpn() and two new error-codes that it generates:
ZOOM_ERROR_CCL_CONFIG and ZOOM_ERROR_CCL_PARSE
Also, new static utility function ccl2pqf() which may be useful elsewhere.
Note that CCL is _not_ supported in scanning.

18 years agoAdd ZOOM_query_ccl2rpn() and two new error-codes that it generates:
Mike Taylor [Tue, 13 Jun 2006 16:20:04 +0000 (16:20 +0000)]
Add ZOOM_query_ccl2rpn() and two new error-codes that it generates:
ZOOM_ERROR_CCL_CONFIG and ZOOM_ERROR_CCL_PARSE

18 years agoMention SRU rather than SRW (where appropriate).
Adam Dickmeiss [Tue, 13 Jun 2006 16:01:51 +0000 (16:01 +0000)]
Mention SRU rather than SRW (where appropriate).

18 years agoEmacs shell-script for these.
Adam Dickmeiss [Tue, 13 Jun 2006 15:36:09 +0000 (15:36 +0000)]
Emacs shell-script for these.

18 years agoAvoid pointer-sign clash in yaz_marc_decode_buf() call.
Mike Taylor [Mon, 12 Jun 2006 16:12:58 +0000 (16:12 +0000)]
Avoid pointer-sign clash in yaz_marc_decode_buf() call.

18 years agoNews about SSL
Adam Dickmeiss [Fri, 9 Jun 2006 13:29:52 +0000 (13:29 +0000)]
News about SSL

18 years agoYAZ' configure searches for OpenSSL by default.
Adam Dickmeiss [Fri, 9 Jun 2006 13:29:21 +0000 (13:29 +0000)]
YAZ' configure searches for OpenSSL by default.

18 years agoSSL comstack uses SL_CTX_use_certificate_chain_file rather than
Adam Dickmeiss [Fri, 9 Jun 2006 12:40:53 +0000 (12:40 +0000)]
SSL comstack uses SL_CTX_use_certificate_chain_file rather than
SL_CTX_use_certificate_file. See
http://lists.indexdata.dk/pipermail/yazlist/2006-June/001615.html

18 years agoFix other bug in yaz_filepath_resolve
Adam Dickmeiss [Thu, 8 Jun 2006 20:55:38 +0000 (20:55 +0000)]
Fix other bug in yaz_filepath_resolve

18 years agoFixed bug #606: Empty path in yaz_filepath_resolve reads from / .
Adam Dickmeiss [Thu, 8 Jun 2006 10:26:10 +0000 (10:26 +0000)]
Fixed bug #606: Empty path in yaz_filepath_resolve reads from / .
Added a test for it : tst_tpath.

18 years agoUse same case for VS_RUNTIME_MANIFEST var
Adam Dickmeiss [Wed, 7 Jun 2006 18:25:32 +0000 (18:25 +0000)]
Use same case for VS_RUNTIME_MANIFEST var

18 years agoInclude manifest for msvcr80.dll
Adam Dickmeiss [Wed, 7 Jun 2006 18:23:22 +0000 (18:23 +0000)]
Include manifest for msvcr80.dll

18 years agoRemove debug DLLs part of dist. Add .manifest files
Adam Dickmeiss [Wed, 7 Jun 2006 14:25:43 +0000 (14:25 +0000)]
Remove debug DLLs part of dist. Add .manifest files

18 years agoBundle with Visual Studio 8 by default
Adam Dickmeiss [Wed, 7 Jun 2006 11:18:04 +0000 (11:18 +0000)]
Bundle with Visual Studio 8 by default

18 years agoRemoved
Adam Dickmeiss [Wed, 7 Jun 2006 11:17:22 +0000 (11:17 +0000)]
Removed

18 years agoVersion 1.2.21
Adam Dickmeiss [Wed, 7 Jun 2006 11:13:28 +0000 (11:13 +0000)]
Version 1.2.21

18 years agoChanged a few types from int to size_t
Adam Dickmeiss [Wed, 7 Jun 2006 10:51:14 +0000 (10:51 +0000)]
Changed a few types from int to size_t

18 years agoVersion 1.2.21
Adam Dickmeiss [Wed, 7 Jun 2006 10:48:45 +0000 (10:48 +0000)]
Version 1.2.21

18 years agoFor VS, define _CRT_NONSTDC_NO_DEPRECATE, so we don't warnings about
Adam Dickmeiss [Wed, 7 Jun 2006 09:25:47 +0000 (09:25 +0000)]
For VS, define _CRT_NONSTDC_NO_DEPRECATE, so we don't warnings about
good functions such as getpid, chdir, etc.

18 years agoUse defined names for SRW diagnostics
Adam Dickmeiss [Mon, 5 Jun 2006 18:13:01 +0000 (18:13 +0000)]
Use defined names for SRW diagnostics

18 years agoFixed bug #601: SRU decode does not issue diagnostic for bad parameter
Adam Dickmeiss [Mon, 5 Jun 2006 18:08:10 +0000 (18:08 +0000)]
Fixed bug #601: SRU decode does not issue diagnostic for bad parameter
values.

18 years agoAdd pkg-config to Builld-Depends
Adam Dickmeiss [Fri, 2 Jun 2006 14:01:34 +0000 (14:01 +0000)]
Add pkg-config to Builld-Depends

18 years ago.dsl,.dsl not part of windows dist YAZ.2.1.20
Adam Dickmeiss [Fri, 2 Jun 2006 13:31:21 +0000 (13:31 +0000)]
.dsl,.dsl not part of windows dist

18 years agoTowards 2.1.20
Adam Dickmeiss [Fri, 2 Jun 2006 13:17:23 +0000 (13:17 +0000)]
Towards 2.1.20

18 years agoBug #600: SRU GET, POST support for yaz-client. Introduced
Adam Dickmeiss [Fri, 2 Jun 2006 13:12:53 +0000 (13:12 +0000)]
Bug #600: SRU GET, POST support for yaz-client. Introduced
command 'sru' which selects method SOAP/GET/POST.

18 years agoImplemented yaz_sru_post_encode which builds a SRU POST requeste.
Adam Dickmeiss [Fri, 2 Jun 2006 13:08:27 +0000 (13:08 +0000)]
Implemented yaz_sru_post_encode which builds a SRU POST requeste.
Implemented z_get_HTTP_Request_host_path which builds a HTTP request
using host, path. Updated ZOOM C to use these.

18 years agoMove .xsl.in's to id.xsl's .. so that we reduce .in files further.
Adam Dickmeiss [Fri, 2 Jun 2006 10:50:28 +0000 (10:50 +0000)]
Move .xsl.in's to id.xsl's .. so that we reduce .in files further.

18 years agoSet present->comp to NULL when no ESN is present in srw_bend_search
Sebastian Hammer [Wed, 31 May 2006 16:20:41 +0000 (16:20 +0000)]
Set present->comp to NULL when no ESN is present in srw_bend_search

18 years agoFixed bug #599: ODR error on incoming PDU. Error was in the
Adam Dickmeiss [Wed, 31 May 2006 15:32:43 +0000 (15:32 +0000)]
Fixed bug #599: ODR error on incoming PDU. Error was in the
ODR buffer handling for ZOOM packages (extended services).

18 years agoAdded one type cast from char to unsigned char
Adam Dickmeiss [Tue, 30 May 2006 22:00:09 +0000 (22:00 +0000)]
Added one type cast from char to unsigned char

18 years agoFixed bug #598: Allow missingValueAction to be specified for sortSpec
Adam Dickmeiss [Tue, 30 May 2006 21:39:15 +0000 (21:39 +0000)]
Fixed bug #598: Allow missingValueAction to be specified for sortSpec
string. By default, the missing value action is null. Use ! to specify
"abort". Use = followed by stringvalue to specify default value.

18 years agoAdded entry about present handler
Sebastian Hammer [Tue, 30 May 2006 14:56:05 +0000 (14:56 +0000)]
Added entry about present handler

18 years agoSimplified comp for present called from srw_bend_search
Sebastian Hammer [Tue, 30 May 2006 04:50:04 +0000 (04:50 +0000)]
Simplified comp for present called from srw_bend_search

18 years agoArranged to call bend_present if records are displayed in SR* search
Sebastian Hammer [Tue, 30 May 2006 04:01:55 +0000 (04:01 +0000)]
Arranged to call bend_present if records are displayed in SR* search

18 years agoUsing man COMPILE_HTML, COMPILE_MAN.. yaz.xml no longer generated
Adam Dickmeiss [Sun, 28 May 2006 19:56:24 +0000 (19:56 +0000)]
Using man COMPILE_HTML, COMPILE_MAN.. yaz.xml no longer generated
by configure - only local.ent is.

18 years agoDefine HAVE_XSLTSAVERESULTTOSTRING for Windows
Adam Dickmeiss [Fri, 26 May 2006 15:46:44 +0000 (15:46 +0000)]
Define  HAVE_XSLTSAVERESULTTOSTRING for Windows

18 years agoRevert
Adam Dickmeiss [Fri, 26 May 2006 15:09:03 +0000 (15:09 +0000)]
Revert

18 years agoCheck for xsltSaveResultToString presence.
Adam Dickmeiss [Fri, 26 May 2006 15:07:08 +0000 (15:07 +0000)]
Check for xsltSaveResultToString presence.

18 years agoNote two further Debain packages required for CVS build.
Mike Taylor [Thu, 25 May 2006 13:03:35 +0000 (13:03 +0000)]
Note two further Debain packages required for CVS build.

18 years agoUse xsltSaveResultToString instead of xmlDocDumpFormatMemory
Adam Dickmeiss [Thu, 25 May 2006 07:43:58 +0000 (07:43 +0000)]
Use xsltSaveResultToString instead of xmlDocDumpFormatMemory
in record conversion utility. See also bug #594.

18 years agoUpdate info about depending packages
Adam Dickmeiss [Wed, 24 May 2006 16:21:02 +0000 (16:21 +0000)]
Update info about depending packages

18 years ago../configure + make dist works from CVS
Adam Dickmeiss [Wed, 24 May 2006 14:44:01 +0000 (14:44 +0000)]
../configure + make dist works from CVS

18 years agoAlign yaz main doc to use same header as man pages xml docs
Adam Dickmeiss [Wed, 24 May 2006 14:19:32 +0000 (14:19 +0000)]
Align yaz main doc to use same header as man pages xml docs

18 years agoAdded URI in XMl header
Adam Dickmeiss [Wed, 24 May 2006 12:49:45 +0000 (12:49 +0000)]
Added URI in XMl header

18 years agoDocumentation for YAZ is now based on the Docbook XML/XSLT using
Adam Dickmeiss [Wed, 24 May 2006 12:33:21 +0000 (12:33 +0000)]
Documentation for YAZ is now based on the Docbook XML/XSLT using
xsltproc + N Walsh's stylesheets. It means that the CVS version of YAZ
is no longer depending on jade/openjade or docbook-to-man scripts.
PDF is no longer part of the distribution - but can optionally be
made using DSSSL/jadetex or FOP.

18 years agoPass SRCDIR to csvto tcl script
Adam Dickmeiss [Wed, 24 May 2006 09:40:26 +0000 (09:40 +0000)]
Pass SRCDIR to csvto tcl script

18 years agoFix output dir for diagnostics headers
Adam Dickmeiss [Tue, 23 May 2006 20:43:37 +0000 (20:43 +0000)]
Fix output dir for diagnostics headers

18 years agoFix output dir for ASN.1 headers
Adam Dickmeiss [Tue, 23 May 2006 20:39:27 +0000 (20:39 +0000)]
Fix output dir for ASN.1 headers

18 years agoMention docbook-to-man again
Adam Dickmeiss [Tue, 23 May 2006 19:13:44 +0000 (19:13 +0000)]
Mention docbook-to-man again

18 years agoUse docbook to man script wrapper
Adam Dickmeiss [Tue, 23 May 2006 19:09:13 +0000 (19:09 +0000)]
Use docbook to man script wrapper

18 years agoNo longer require GNU make. Update list of dependency ports
Adam Dickmeiss [Tue, 23 May 2006 14:07:49 +0000 (14:07 +0000)]
No longer require GNU make. Update list of dependency ports

18 years agoFixed bug #592: CVS version of YAZ require gnu make.
Adam Dickmeiss [Tue, 23 May 2006 13:43:40 +0000 (13:43 +0000)]
Fixed bug #592: CVS version of YAZ require gnu make.

18 years agoFixed bug #593: Buffers too small for MARC string buffers.
Adam Dickmeiss [Tue, 23 May 2006 13:17:30 +0000 (13:17 +0000)]
Fixed bug #593: Buffers too small for MARC string buffers.

18 years agoadded YAZ to config output
Marc Cromme [Tue, 23 May 2006 10:05:28 +0000 (10:05 +0000)]
added YAZ to config output

18 years agoCVS build on FreeBSD fixes: libtool, show info about packages needed
Adam Dickmeiss [Tue, 23 May 2006 09:54:12 +0000 (09:54 +0000)]
CVS build on FreeBSD fixes: libtool, show info about packages needed
to build from

18 years agoComment typo
Mike Taylor [Tue, 23 May 2006 09:43:37 +0000 (09:43 +0000)]
Comment typo

18 years agoadded configuration display and instructions
Marc Cromme [Tue, 23 May 2006 09:40:43 +0000 (09:40 +0000)]
added configuration display and instructions

18 years agoAdded check for tclsh programs
Adam Dickmeiss [Tue, 23 May 2006 09:13:50 +0000 (09:13 +0000)]
Added check for tclsh programs

18 years agoFix execution of tclsh.
Adam Dickmeiss [Mon, 22 May 2006 19:08:38 +0000 (19:08 +0000)]
Fix execution of tclsh.

18 years agoTypo in comment
Mike Taylor [Mon, 22 May 2006 15:52:40 +0000 (15:52 +0000)]
Typo in comment

18 years agoUse FreeBSD's tclsh8.4 if it exists
Mike Taylor [Mon, 22 May 2006 15:16:59 +0000 (15:16 +0000)]
Use FreeBSD's tclsh8.4 if it exists

18 years agoRemind BSD users to use gmake rather than make.
Mike Taylor [Mon, 22 May 2006 15:15:26 +0000 (15:15 +0000)]
Remind BSD users to use gmake rather than make.

18 years agoDetect FreeBSD, where all the auto* tools are screwed up, and make
Mike Taylor [Mon, 22 May 2006 12:11:45 +0000 (12:11 +0000)]
Detect FreeBSD, where all the auto* tools are screwed up, and make
appropriate allowances for it.  *sigh*

18 years agoFix mistake: fuzzy matching is 5=103, not 5=102
Mike Taylor [Wed, 17 May 2006 14:12:09 +0000 (14:12 +0000)]
Fix mistake: fuzzy matching is 5=103, not 5=102
Add truncation.regexp, 5=102

18 years agoYAZ RPM require libxslt
Adam Dickmeiss [Tue, 16 May 2006 11:29:45 +0000 (11:29 +0000)]
YAZ RPM require libxslt

18 years agoRemoved a few yaz_log calls
Adam Dickmeiss [Sun, 14 May 2006 20:03:19 +0000 (20:03 +0000)]
Removed a few yaz_log calls

18 years agoCall 'present' backend function (when present) from process_searchResponse
Sebastian Hammer [Sat, 13 May 2006 03:56:31 +0000 (03:56 +0000)]
Call 'present' backend function (when present) from process_searchResponse
when piggybacking is in effect. Several SimpleServer gateways assume this,
and I believe it's a mistake that it hasn't been called before.

18 years agoHigher-level interfaces, fixing the bugs these uncovered.
Heikki Levanto [Wed, 10 May 2006 13:58:46 +0000 (13:58 +0000)]
Higher-level interfaces, fixing the bugs these uncovered.
Better defined return codes, doxygen comments, etc.

18 years agoAdded a way to get the verbosity to test programs
Heikki Levanto [Wed, 10 May 2006 12:52:17 +0000 (12:52 +0000)]
Added a way to get the verbosity to test programs

18 years agoIntroduce a hash-table for the ZOOM C record caching system; makes
Adam Dickmeiss [Wed, 10 May 2006 07:34:38 +0000 (07:34 +0000)]
Introduce a hash-table for the ZOOM C record caching system; makes
things faster if a large number of records is fetched.

18 years agoFinish Latin-1 to MARC-8 conversion handling.
Adam Dickmeiss [Tue, 9 May 2006 21:37:02 +0000 (21:37 +0000)]
Finish Latin-1 to MARC-8 conversion handling.

18 years agoTemporary fix for ZOOM_resultset_record()'s force_sync.
Mike Taylor [Tue, 9 May 2006 16:13:28 +0000 (16:13 +0000)]
Temporary fix for ZOOM_resultset_record()'s force_sync.

18 years agoFixes for retrieval handling in SRU mode.. The "virtual" record syntax
Adam Dickmeiss [Tue, 9 May 2006 13:39:46 +0000 (13:39 +0000)]
Fixes for retrieval handling in SRU mode.. The "virtual" record syntax
was not seen as XML , and, hence, there could be strange matches.
Changed configuration format: schema and backendschema renamed to
name and backendname respectively.

18 years agoUse OID_STR_MAX for size of oid dot string
Adam Dickmeiss [Tue, 9 May 2006 11:35:28 +0000 (11:35 +0000)]
Use OID_STR_MAX for size of oid dot string

18 years agoRender OID as string when used in error-messages.
Mike Taylor [Tue, 9 May 2006 11:09:09 +0000 (11:09 +0000)]
Render OID as string when used in error-messages.
-- was type-mismatch of printf("%s", oid)

18 years agoChange return values for yaz_retrieval_request a bit and improve
Adam Dickmeiss [Mon, 8 May 2006 19:48:26 +0000 (19:48 +0000)]
Change return values for yaz_retrieval_request a bit and improve
diagnostics in the case where retrieval match fails.

18 years agoDefine max length of OID dot string: OID_STR_MAX.
Adam Dickmeiss [Mon, 8 May 2006 19:45:29 +0000 (19:45 +0000)]
Define max length of OID dot string: OID_STR_MAX.

18 years agoEnable any element set and grs-1 in sample
Adam Dickmeiss [Mon, 8 May 2006 19:44:18 +0000 (19:44 +0000)]
Enable any element set and grs-1 in sample

18 years agoCalling exsltRegisterAll instead of exsltDynRegister
Sebastian Hammer [Mon, 8 May 2006 16:58:25 +0000 (16:58 +0000)]
Calling exsltRegisterAll instead of exsltDynRegister

18 years agoUsing macros YAZ_LIBXML2, YAZ_LIBXSLT, YAZ_LIBEXSLT
Adam Dickmeiss [Mon, 8 May 2006 12:20:48 +0000 (12:20 +0000)]
Using macros YAZ_LIBXML2, YAZ_LIBXSLT, YAZ_LIBEXSLT

18 years agoChanged behavior of yaz_retrieval_request so that no rules, i.e. no
Adam Dickmeiss [Mon, 8 May 2006 11:58:37 +0000 (11:58 +0000)]
Changed behavior of yaz_retrieval_request so that no rules, i.e. no
retrieval elements, results in "success" (return value of 0).

18 years agoAvoid using "pkg-config libxslt" on systems that don't report cflags
Adam Dickmeiss [Mon, 8 May 2006 11:50:57 +0000 (11:50 +0000)]
Avoid using "pkg-config libxslt" on systems that don't report cflags
which include libxml2. This is the case for Debian woody. For a
system like that revert to xslt-config.

18 years agoLibEXSLT support. New configure option --with-exslt.
Adam Dickmeiss [Mon, 8 May 2006 10:16:46 +0000 (10:16 +0000)]
LibEXSLT support. New configure option --with-exslt.

18 years agoRename current_global_list to default_completer_list and localize it
Adam Dickmeiss [Sun, 7 May 2006 20:57:26 +0000 (20:57 +0000)]
Rename current_global_list to default_completer_list and localize it

18 years agouse strcmp instead of stricmp for -install,-remove options
Adam Dickmeiss [Sun, 7 May 2006 20:32:56 +0000 (20:32 +0000)]
use strcmp instead of stricmp for -install,-remove options

18 years agoRename curret_global_list to current_global_list; reformat. No code changes
Adam Dickmeiss [Sun, 7 May 2006 19:43:00 +0000 (19:43 +0000)]
Rename curret_global_list to current_global_list; reformat. No code changes

18 years agotabcomplete only if readline is in use (second attempt)
Adam Dickmeiss [Sun, 7 May 2006 19:38:58 +0000 (19:38 +0000)]
tabcomplete only if readline is in use (second attempt)

18 years agotabcomplete only if readline is in use
Adam Dickmeiss [Sun, 7 May 2006 19:37:23 +0000 (19:37 +0000)]
tabcomplete only if readline is in use

18 years agoDo nothing in command_generator if no readline is present
Adam Dickmeiss [Sun, 7 May 2006 19:15:16 +0000 (19:15 +0000)]
Do nothing in command_generator if no readline is present

18 years agoDo nothing in cmd_register_tab if no readline is present
Adam Dickmeiss [Sun, 7 May 2006 19:13:55 +0000 (19:13 +0000)]
Do nothing in cmd_register_tab if no readline is present

18 years agoReplace a few strdup/free with xstrdup/xfree
Adam Dickmeiss [Sun, 7 May 2006 19:07:10 +0000 (19:07 +0000)]
Replace a few strdup/free with xstrdup/xfree

18 years agoUse strchr instead of index (which was only standard in 4.3 BSD).
Adam Dickmeiss [Sun, 7 May 2006 18:35:47 +0000 (18:35 +0000)]
Use strchr instead of index (which was only standard in 4.3 BSD).

18 years agoReformat comments for Doxygen
Adam Dickmeiss [Sun, 7 May 2006 18:26:25 +0000 (18:26 +0000)]
Reformat comments for Doxygen

18 years agoAdded more tests for retrieval/record_conv system. For retrieval, fixed
Adam Dickmeiss [Sun, 7 May 2006 17:45:41 +0000 (17:45 +0000)]
Added more tests for retrieval/record_conv system. For retrieval, fixed
error handling which occurred in the case where syntax attribute was
missing from retrieval element. Libxml2/libxslt errors may be sent to
yaz_log via new utility libxml2_error_to_yazlog.

18 years agoAdded retrieval + libxml2_error
Adam Dickmeiss [Sun, 7 May 2006 17:43:42 +0000 (17:43 +0000)]
Added retrieval + libxml2_error

18 years agoAdded retrieval handling support in Generic Frontend Server to support
Adam Dickmeiss [Sun, 7 May 2006 14:48:24 +0000 (14:48 +0000)]
Added retrieval handling support in Generic Frontend Server to support
conversion between MARC/XML as well as XSLTtransforms. See
etc/yazgfs.xml for an example.

18 years agoInitialize username and password in yaz_srw_codec.
Adam Dickmeiss [Sun, 7 May 2006 14:31:30 +0000 (14:31 +0000)]
Initialize username and password in yaz_srw_codec.

18 years agoRemoved diagnostic output that shouldn't have been checked in.
Sebastian Hammer [Sat, 6 May 2006 00:52:15 +0000 (00:52 +0000)]
Removed diagnostic output that shouldn't have been checked in.

18 years agoAddition of authentication parameters
Sebastian Hammer [Sat, 6 May 2006 00:51:04 +0000 (00:51 +0000)]
Addition of authentication parameters

18 years agoSupporting Username/password in SRU server mode, either through x-username/x-password
Sebastian Hammer [Fri, 5 May 2006 20:02:22 +0000 (20:02 +0000)]
Supporting Username/password in SRU server mode, either through x-username/x-password
SRU parameters, or through Basic HTTP authentication.