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

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

17 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

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

17 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

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

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

17 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

17 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

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

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

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

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

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

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

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

17 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

17 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

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

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

17 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

17 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

17 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

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

17 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

17 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

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

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

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

17 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

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

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

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

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

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

17 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

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

17 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*

17 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

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

17 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

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

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

17 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

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

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

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

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

17 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

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

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

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

17 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

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

17 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

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

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

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

17 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

17 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

17 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

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

17 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

17 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

17 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

17 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

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

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

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

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

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

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

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

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

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

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

17 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

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

17 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

17 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

17 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

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

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

17 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

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

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

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

17 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

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

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

17 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

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

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

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

17 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

17 years agoAdded my new NFA character normalizer. Not yet ready, but want to
Heikki Levanto [Wed, 3 May 2006 09:04:33 +0000 (09:04 +0000)]
Added my new NFA character normalizer. Not yet ready, but want to
have it in the cvs already now.

17 years agoAdded nmem_text_node_cdata which takes xmlNode CDATA content and
Adam Dickmeiss [Tue, 2 May 2006 20:47:45 +0000 (20:47 +0000)]
Added nmem_text_node_cdata which takes xmlNode CDATA content and
creates NMEM string.
Added first parts of record conversion utility (yaz_record_conv_t).

17 years agoFixed Doxygen comments
Adam Dickmeiss [Tue, 2 May 2006 12:11:08 +0000 (12:11 +0000)]
Fixed Doxygen comments

17 years agoDont use /YX
Adam Dickmeiss [Sun, 30 Apr 2006 07:23:08 +0000 (07:23 +0000)]
Dont use /YX

17 years agoCosmetic fix
Adam Dickmeiss [Sun, 30 Apr 2006 06:50:09 +0000 (06:50 +0000)]
Cosmetic fix