yaz-moved-to-github.git
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.

18 years agoImplement yaz_retrieval_configure.
Adam Dickmeiss [Fri, 5 May 2006 18:37:08 +0000 (18:37 +0000)]
Implement yaz_retrieval_configure.

18 years agoRemoved a debug print I had forgotten in
Heikki Levanto [Fri, 5 May 2006 14:04:03 +0000 (14:04 +0000)]
Removed a debug print I had forgotten in

18 years agoRange converter for actually converting character ranges
Heikki Levanto [Fri, 5 May 2006 14:02:27 +0000 (14:02 +0000)]
Range converter for actually converting character ranges
Fixed a nasty off-by-one in the endpoints of backrefs. Added
tests for them.

18 years agoFixed the interface to match,
Heikki Levanto [Fri, 5 May 2006 09:14:42 +0000 (09:14 +0000)]
Fixed the interface to match,
merged with Adam's whitespace patch,
First converters work

18 years agoFirst code bits of record retrieval code
Adam Dickmeiss [Thu, 4 May 2006 20:00:45 +0000 (20:00 +0000)]
First code bits of record retrieval code

18 years agoPredefine HAVE_XSLT, HAVE_XML2 for Doxygen
Adam Dickmeiss [Thu, 4 May 2006 19:59:11 +0000 (19:59 +0000)]
Predefine HAVE_XSLT, HAVE_XML2 for Doxygen

18 years agoReformat with a little more spacing (no code changes)
Adam Dickmeiss [Thu, 4 May 2006 18:58:54 +0000 (18:58 +0000)]
Reformat with a little more spacing (no code changes)

18 years agoFixed one doxygen warning
Adam Dickmeiss [Thu, 4 May 2006 18:58:24 +0000 (18:58 +0000)]
Fixed one doxygen warning

18 years agoEnsure tst_record_conv.c may include config.h
Adam Dickmeiss [Thu, 4 May 2006 18:22:59 +0000 (18:22 +0000)]
Ensure tst_record_conv.c may include config.h

18 years agoMake things compile --without-xslt
Adam Dickmeiss [Thu, 4 May 2006 15:31:04 +0000 (15:31 +0000)]
Make things compile --without-xslt

18 years agoThe NFA seems to work now (as far as I can see).
Heikki Levanto [Wed, 3 May 2006 13:47:35 +0000 (13:47 +0000)]
The NFA seems to work now (as far as I can see).
Still needs to do the output side of it.

18 years agoUpdate Windows installation for libxslt enabling.
Adam Dickmeiss [Wed, 3 May 2006 13:38:12 +0000 (13:38 +0000)]
Update Windows installation for libxslt enabling.

18 years agoFix makefile. Added record_conv.c
Adam Dickmeiss [Wed, 3 May 2006 13:31:53 +0000 (13:31 +0000)]
Fix makefile. Added record_conv.c

18 years agolibxslt part of windows build
Adam Dickmeiss [Wed, 3 May 2006 13:27:20 +0000 (13:27 +0000)]
libxslt part of windows build

18 years agoRecord conversion utility (yaz_record_conv_t) supports marc and
Adam Dickmeiss [Wed, 3 May 2006 13:04:46 +0000 (13:04 +0000)]
Record conversion utility (yaz_record_conv_t) supports marc and
XSLT conversions.

18 years agoPrepare test for latin-1 -> utf-8 with combo chars
Adam Dickmeiss [Wed, 3 May 2006 13:01:04 +0000 (13:01 +0000)]
Prepare test for latin-1 -> utf-8 with combo chars

18 years agoIgnore generated "nfatest1"
Mike Taylor [Wed, 3 May 2006 12:09:30 +0000 (12:09 +0000)]
Ignore generated "nfatest1"

18 years agoYAZ optionally uses libxslt. Check for xml2 obsoleted because libxslt
Adam Dickmeiss [Wed, 3 May 2006 12:02:23 +0000 (12:02 +0000)]
YAZ optionally uses libxslt. Check for xml2 obsoleted because libxslt
includes it.

18 years agoAvoid mixed stmt/dcl
Mike Taylor [Wed, 3 May 2006 11:36:14 +0000 (11:36 +0000)]
Avoid mixed stmt/dcl

18 years agoAdded nfa.h to makefile.am. Work continues on the nfa
Heikki Levanto [Wed, 3 May 2006 11:09:59 +0000 (11:09 +0000)]
Added nfa.h to makefile.am. Work continues on the nfa