yaz-moved-to-github.git
17 years agoAdded yaz_log_trunc() to truncate the log file
Heikki Levanto [Thu, 6 Jul 2006 13:10:29 +0000 (13:10 +0000)]
Added yaz_log_trunc() to truncate the log file
Added YAZ_CHECK_LOG macro for enabling logging in the test files
Changed test.c to write to the log, if logging enabled
Small changes to the interface of nfaxml's interface

17 years agoFor Libxml2 and friends, YAZ defines YAZ_HAVE_{XML2,XSLT,EXSLT) in
Adam Dickmeiss [Thu, 6 Jul 2006 10:17:51 +0000 (10:17 +0000)]
For Libxml2 and friends, YAZ defines YAZ_HAVE_{XML2,XSLT,EXSLT) in
the compitation phase, but also for yaz-config --cflags output. This
allows us to have public headers with Libxml2 stuff in them . It should
also, eventually, make Libxml2 checks redundant in packages using
YAZ, such as yazproxy.

17 years agoDont use xmlDocPtr local
Adam Dickmeiss [Thu, 6 Jul 2006 08:28:37 +0000 (08:28 +0000)]
Dont use xmlDocPtr local

17 years agoYet another fix
Adam Dickmeiss [Thu, 6 Jul 2006 08:26:11 +0000 (08:26 +0000)]
Yet another fix

17 years agoFix compilation on systems where Libxml2 does not exist
Adam Dickmeiss [Thu, 6 Jul 2006 07:45:07 +0000 (07:45 +0000)]
Fix compilation on systems where Libxml2 does not exist

17 years agoDisabled log_xml_error because it doesn't work on older Libxml2 and
Adam Dickmeiss [Thu, 6 Jul 2006 06:09:12 +0000 (06:09 +0000)]
Disabled log_xml_error because it doesn't work on older Libxml2 and
also because YAZ already has a "catch lixml2 error" handler.

17 years agoRemoved HAVE_XML2, because public headers never should rely on
Adam Dickmeiss [Thu, 6 Jul 2006 06:08:19 +0000 (06:08 +0000)]
Removed HAVE_XML2, because public headers never should rely on
configure's definitions.

17 years agoChanged cql2pqf transformation to use a different evaluation order.
Adam Dickmeiss [Wed, 5 Jul 2006 14:50:16 +0000 (14:50 +0000)]
Changed cql2pqf transformation to use a different evaluation order.
The new order is: always, relation, structure, position, truncation,
index and relationModifier.
Old order was: always, relation, relationModifier, structure, index,
position, truncation. Note that the the latter ones override
former ones for identical attributes.. The new scheme means that
it is possible to override any existing attribute with a relationModifier.
And also that it is possible to override everything for the index
rule (except the ones listed in relationModifier). No order is perfect
but this one, we believe, covers more real cases.. The "always" should
have been called "default", since the attributes there can be overridden
with all the rest.

17 years agoAdded cql2pqf which shows evalutation order
Adam Dickmeiss [Wed, 5 Jul 2006 14:45:57 +0000 (14:45 +0000)]
Added cql2pqf which shows evalutation order

17 years agoSimplify YAZ windows makefile
Adam Dickmeiss [Wed, 5 Jul 2006 13:05:32 +0000 (13:05 +0000)]
Simplify YAZ windows makefile

17 years agoAdded the (empty) test file
Heikki Levanto [Wed, 5 Jul 2006 08:12:48 +0000 (08:12 +0000)]
Added the (empty) test file

17 years agoRemoved duplicate nfatest1
Heikki Levanto [Wed, 5 Jul 2006 08:10:40 +0000 (08:10 +0000)]
Removed duplicate nfatest1

17 years agoStarted the error handling in nfaxml. Not at all ready, but I want it in
Heikki Levanto [Tue, 4 Jul 2006 12:59:56 +0000 (12:59 +0000)]
Started the error handling in nfaxml. Not at all ready, but I want it in
CVS.

17 years agoLog format '%!' prints thread ID
Adam Dickmeiss [Fri, 30 Jun 2006 11:09:44 +0000 (11:09 +0000)]
Log format '%!' prints thread ID

17 years agoFix dist-hook so that make distcheck works
Adam Dickmeiss [Wed, 28 Jun 2006 21:41:54 +0000 (21:41 +0000)]
Fix dist-hook so that make distcheck works

17 years agoConfigure build shared libraries by default.
Adam Dickmeiss [Tue, 27 Jun 2006 12:23:11 +0000 (12:23 +0000)]
Configure build shared libraries by default.

17 years agoFixed option negotation for Frontend server . Option triggerResourceCtrl
Adam Dickmeiss [Tue, 20 Jun 2006 21:20:51 +0000 (21:20 +0000)]
Fixed option negotation for Frontend server . Option triggerResourceCtrl
was always set in response options. Should only be set if option is
also set in client options.

17 years agoMore work on a fix for bug #612. We could have "dup" receive
Adam Dickmeiss [Fri, 16 Jun 2006 12:34:32 +0000 (12:34 +0000)]
More work on a fix for bug #612. We could have "dup" receive
record events before. And ZOOM_event could also miss events fired
in case of task "completed".

17 years agoFire ZOOM_EVENT_RECV_RECORD for cached records. Bug #612.
Adam Dickmeiss [Fri, 16 Jun 2006 10:20:17 +0000 (10:20 +0000)]
Fire ZOOM_EVENT_RECV_RECORD for cached records. Bug #612.

17 years agoInternal version 2.1.23.
Adam Dickmeiss [Fri, 16 Jun 2006 10:19:23 +0000 (10:19 +0000)]
Internal version 2.1.23.

17 years agoMake ChangeLog in make dist rule
Adam Dickmeiss [Thu, 15 Jun 2006 14:15:17 +0000 (14:15 +0000)]
Make ChangeLog in make dist rule

17 years agoTowards 2.1.22 YAZ.2.1.22
Adam Dickmeiss [Thu, 15 Jun 2006 13:38:05 +0000 (13:38 +0000)]
Towards 2.1.22

17 years agohanged bend_update_rr so that diagnostics are stored in uri, message and
Adam Dickmeiss [Thu, 15 Jun 2006 12:53:56 +0000 (12:53 +0000)]
hanged bend_update_rr so that diagnostics are stored in uri, message and
details.. Previously diagnostics were stored in errcode, errstring.
Patch by Ko van der Sloot. Breaks binary compatibility.. but he's
probably the only one affected.

17 years agoIgnore zoomst10
Adam Dickmeiss [Thu, 15 Jun 2006 10:43:15 +0000 (10:43 +0000)]
Ignore zoomst10

17 years agoMake the zoom programs by default. Problem is that if we don't, we
Adam Dickmeiss [Thu, 15 Jun 2006 10:38:35 +0000 (10:38 +0000)]
Make the zoom programs by default. Problem is that if we don't, we
won't test whehter they even compile.

17 years agoChanged ZOOM_query_ccl2rpn function so that it takes a CCL config
Adam Dickmeiss [Thu, 15 Jun 2006 10:34:15 +0000 (10:34 +0000)]
Changed ZOOM_query_ccl2rpn function so that it takes a CCL config
as input and return error information directly.

17 years agoFix leak of temporary connections created by ZOOM_query_c[cq]l2rpn()
Mike Taylor [Wed, 14 Jun 2006 09:15:28 +0000 (09:15 +0000)]
Fix leak of temporary connections created by ZOOM_query_c[cq]l2rpn()
Thanks to Adam for spotting this.

17 years agoFix complication for YAZ, when libxml2 is not present.
Adam Dickmeiss [Wed, 14 Jun 2006 05:47:10 +0000 (05:47 +0000)]
Fix complication for YAZ, when libxml2 is not present.

17 years agoUse simpler version resource.
Adam Dickmeiss [Tue, 13 Jun 2006 20:47:03 +0000 (20:47 +0000)]
Use simpler version resource.

17 years agoDescribe ZOOM CCL support.
Mike Taylor [Tue, 13 Jun 2006 17:02:12 +0000 (17:02 +0000)]
Describe ZOOM CCL support.

17 years agoI think this now supports CCL in scan, but I've not tested it.
Mike Taylor [Tue, 13 Jun 2006 16:27:23 +0000 (16:27 +0000)]
I think this now supports CCL in scan, but I've not tested it.

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

17 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

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

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

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

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

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

17 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

17 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

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

17 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

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

17 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

17 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

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

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

17 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

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

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

17 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

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

17 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

17 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

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

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

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