yaz-moved-to-github.git
18 years agoadded number of terms returned to client from Scan or SRWScan to request log line
Marc Cromme [Fri, 7 Jul 2006 12:40:15 +0000 (12:40 +0000)]
added number of terms returned to client from Scan or SRWScan to request log line

18 years agoreplaced RPN: with RPN , CQL: with CQL, ans so forth in log messages
Marc Cromme [Fri, 7 Jul 2006 12:09:05 +0000 (12:09 +0000)]
replaced RPN: with RPN , CQL: with CQL, ans so forth in log messages

18 years agofurther cleaning of log messages, related to bug #405
Marc Cromme [Fri, 7 Jul 2006 10:31:26 +0000 (10:31 +0000)]
further cleaning of log messages, related to bug #405

18 years agoAdded nfaxml
Adam Dickmeiss [Fri, 7 Jul 2006 08:41:20 +0000 (08:41 +0000)]
Added nfaxml

18 years agoAdded nfa
Adam Dickmeiss [Fri, 7 Jul 2006 08:36:50 +0000 (08:36 +0000)]
Added nfa

18 years agoChanged two vars to be of type size_t rather than int
Adam Dickmeiss [Fri, 7 Jul 2006 08:36:36 +0000 (08:36 +0000)]
Changed two vars to be of type size_t rather than int

18 years agoSplit YAZ DLL objs into only 3 groups
Adam Dickmeiss [Fri, 7 Jul 2006 08:32:53 +0000 (08:32 +0000)]
Split YAZ DLL objs into only 3 groups

18 years agoAvoid decl after stmt
Adam Dickmeiss [Fri, 7 Jul 2006 07:14:30 +0000 (07:14 +0000)]
Avoid decl after stmt

18 years agoMake test pass
Adam Dickmeiss [Fri, 7 Jul 2006 07:11:05 +0000 (07:11 +0000)]
Make test pass

18 years agoFix compilation on Windows. Reformat a bit
Adam Dickmeiss [Fri, 7 Jul 2006 06:59:49 +0000 (06:59 +0000)]
Fix compilation on Windows. Reformat a bit

18 years agodowngraded superflous log comment from YAZ_LOG to log_requestdetail
Marc Cromme [Thu, 6 Jul 2006 15:06:12 +0000 (15:06 +0000)]
downgraded superflous log comment  from YAZ_LOG to log_requestdetail

18 years agoadded database name in scan response, both Z39.50 and SRU
Marc Cromme [Thu, 6 Jul 2006 14:54:29 +0000 (14:54 +0000)]
added database name in scan response, both Z39.50 and SRU
still missing to fix Z39.50 scan response with respect to missing RPN: or CQL: identifier on APT display

18 years agopartiallay fix bug #405
Marc Cromme [Thu, 6 Jul 2006 14:16:00 +0000 (14:16 +0000)]
partiallay fix bug #405
database name now part of request log like
Z39.50 log:

16:09:55-06/07 lt-zebrasrv(2) [request] Search Default OK 0 1 1+0 RPN: @bla@bla

or SRW log:

16:09:19-06/07 lt-zebrasrv(1) [request] SRWSearch Default OK 60 - 1+0 CQL: bla

needs still fixing in scan request

18 years agoFixed order of declarations
Heikki Levanto [Thu, 6 Jul 2006 14:06:17 +0000 (14:06 +0000)]
Fixed order of declarations

18 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

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

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

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

18 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

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

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

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

18 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

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

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

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

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

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

18 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

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

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

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

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

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

18 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

18 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

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

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

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

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

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

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

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

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

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

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