Adam Dickmeiss [Wed, 30 Aug 2006 12:47:23 +0000 (12:47 +0000)]
Windows compile fix.
Adam Dickmeiss [Wed, 30 Aug 2006 12:04:42 +0000 (12:04 +0000)]
Fixed bug #644: Using Non Reentrant gethostbyname causes SIGSEGV. Function
gethostbyname_r is used instead of gethostbyname - when available.
Adam Dickmeiss [Mon, 28 Aug 2006 19:18:02 +0000 (19:18 +0000)]
Added refentryinfo with productname + productnumber
Adam Dickmeiss [Mon, 28 Aug 2006 18:35:07 +0000 (18:35 +0000)]
Add -l to cmdsynopsis list
Adam Dickmeiss [Mon, 28 Aug 2006 16:54:52 +0000 (16:54 +0000)]
Debian package 2.1.27-2
Adam Dickmeiss [Mon, 28 Aug 2006 14:18:18 +0000 (14:18 +0000)]
New option for yaz-marcdump -lpos=value which allows setting a portion
of MARC header to a certain value. Added function yaz_mac_leader_spec.
Adam Dickmeiss [Mon, 28 Aug 2006 12:34:40 +0000 (12:34 +0000)]
Fixed bug #643: Bad sequence for MARC conversions from UTF-8 to MARC-8.
Added test tstmarccol.sh for testing this. All sample ISO2709 marc records
renamed to have suffix .marc.
Adam Dickmeiss [Mon, 28 Aug 2006 12:31:18 +0000 (12:31 +0000)]
Reformat
Adam Dickmeiss [Sun, 27 Aug 2006 19:04:03 +0000 (19:04 +0000)]
Fixed bug #642: Problem with sub script symbols in conversion to
MARC-8.
Adam Dickmeiss [Fri, 25 Aug 2006 14:57:04 +0000 (14:57 +0000)]
Fixed bug #641: Sending a too-big packet sometimes make ZOOM-C no-op
subsequent operations.
Heikki Levanto [Thu, 24 Aug 2006 14:29:58 +0000 (14:29 +0000)]
Took away that -Werror from -d until all tests pass cleanly
Heikki Levanto [Thu, 24 Aug 2006 13:41:18 +0000 (13:41 +0000)]
Added -Werror to the -d option, so that the compilation ends at the first
warning.
Adam Dickmeiss [Thu, 24 Aug 2006 13:25:44 +0000 (13:25 +0000)]
Make a facility for COMSTACK to reject too large packages. The maximum
size can be set with cs_ste_max_recv_bytes. By default, maximum is
5000000 (approx 5 MB). If max size is received error comstack error
CSBUFSIZE is returned. The generic frontend server checks for this error
and sends a close + logs if this condition occur.
Adam Dickmeiss [Thu, 24 Aug 2006 13:19:44 +0000 (13:19 +0000)]
Allow this update test to read record data from standard input.
Adam Dickmeiss [Thu, 24 Aug 2006 13:11:27 +0000 (13:11 +0000)]
Doxygen comment.
Adam Dickmeiss [Thu, 24 Aug 2006 13:10:03 +0000 (13:10 +0000)]
completeBER, completeBER_n no longer checks for a maximum size of 5 MB.
Too large packages to be rejected are dealt with in comstack instead.
Adam Dickmeiss [Thu, 24 Aug 2006 12:51:49 +0000 (12:51 +0000)]
Fixed bug #640: ZOOM_connection_connect() does not clear error
indicators.
Adam Dickmeiss [Thu, 24 Aug 2006 10:01:03 +0000 (10:01 +0000)]
Make a public function, yaz_write_UTF8_char, to encode a UTF-8 sequence.
Adam Dickmeiss [Fri, 18 Aug 2006 06:30:05 +0000 (06:30 +0000)]
Move yaz_srw_get_core_v_1_1 to other source. Define it always
regardless of Libxml2 being available or not.
Adam Dickmeiss [Wed, 16 Aug 2006 22:50:06 +0000 (22:50 +0000)]
Towards 2.1.27.
Adam Dickmeiss [Wed, 16 Aug 2006 22:47:09 +0000 (22:47 +0000)]
Implemented bug #635: YAZ/ZOOM layer should include non SRU options in the
HTTP/GET URL.
ZOOM-C reads option extraArgs. If set the value of extraArgs is appended to
SRU URI (POST/GET). Value is _raw_ URI part, such as x-id-a=v1&x-id-b=v2 .
Adam Dickmeiss [Wed, 16 Aug 2006 14:18:59 +0000 (14:18 +0000)]
Fixed bug #636: Bad rpn causes seg faults. Error occurs for ZOOM C when
a Scan is sent. Bug has been present in YAZ since version 2.1.12.
Adam Dickmeiss [Tue, 15 Aug 2006 13:34:39 +0000 (13:34 +0000)]
Towards 2.1.26.
Adam Dickmeiss [Tue, 15 Aug 2006 13:31:07 +0000 (13:31 +0000)]
Fix ZOOM-C so that SOAP mode sends SOAP requests
Adam Dickmeiss [Tue, 15 Aug 2006 13:30:00 +0000 (13:30 +0000)]
Fix interpretation of sru command
Adam Dickmeiss [Sun, 13 Aug 2006 17:30:57 +0000 (17:30 +0000)]
Only declare nmem_text_node_cdata if Libxml2 is available
Adam Dickmeiss [Fri, 11 Aug 2006 13:10:27 +0000 (13:10 +0000)]
Fixes for nemm_memory statistics
Adam Dickmeiss [Fri, 11 Aug 2006 12:57:30 +0000 (12:57 +0000)]
Include XML2_CFLAGS in AM_CPPFLAGS
Adam Dickmeiss [Fri, 11 Aug 2006 12:50:23 +0000 (12:50 +0000)]
Changed prototype for nmem_text_node_cdata so that ptr is using
Libxml2 type rather than void pointer. Added functions
nmem_get_memory_in_use and nmem_get_memory_free which returns size
of block memory in use and in free lists respectively. Added doxygen
friendly comments for nmem.h.
Adam Dickmeiss [Fri, 11 Aug 2006 12:43:52 +0000 (12:43 +0000)]
Cosmetic for doxygen
Adam Dickmeiss [Wed, 9 Aug 2006 14:03:25 +0000 (14:03 +0000)]
Mention bug #626
Adam Dickmeiss [Wed, 9 Aug 2006 14:00:18 +0000 (14:00 +0000)]
Allow a flag nmem_release_in_heap to be set (1) in which case
NMEMs are reassigned to the memory heap rather than re-used.. This should
make it easier for valgrind etc to find problems.
Adam Dickmeiss [Tue, 8 Aug 2006 20:58:52 +0000 (20:58 +0000)]
Attempted to fix bug #626.
Adam Dickmeiss [Tue, 8 Aug 2006 20:35:02 +0000 (20:35 +0000)]
Version 2.1.25.
Adam Dickmeiss [Tue, 8 Aug 2006 08:41:09 +0000 (08:41 +0000)]
Towards 2.1.24.
Adam Dickmeiss [Fri, 4 Aug 2006 14:35:39 +0000 (14:35 +0000)]
Use yaz_read_UTF8_char instead of xmlGetUTF8Char
Adam Dickmeiss [Thu, 3 Aug 2006 09:27:23 +0000 (09:27 +0000)]
Updated to use iconv-1.9.2, libxml2 2.6.26, libxslt 1.1.17. Added
missing dependences for generated files.
Adam Dickmeiss [Tue, 1 Aug 2006 12:03:58 +0000 (12:03 +0000)]
Removed nfaxml..xml files from dist list. Not in CVS yet
Adam Dickmeiss [Tue, 1 Aug 2006 09:48:23 +0000 (09:48 +0000)]
Copy news from ChangeLog
Adam Dickmeiss [Tue, 1 Aug 2006 09:28:04 +0000 (09:28 +0000)]
Fixed yaz_marc_write_iso2709 to honor character set conversion.
Adam Dickmeiss [Mon, 31 Jul 2006 12:15:02 +0000 (12:15 +0000)]
Fixed bug #627: addInfo not propagated by srw_bend_fetch() when
rr.surrogate_flag==0.
Adam Dickmeiss [Mon, 31 Jul 2006 11:47:04 +0000 (11:47 +0000)]
Omit description of loglevel in statserv_options_block. Bug #612
Adam Dickmeiss [Mon, 31 Jul 2006 11:42:32 +0000 (11:42 +0000)]
CCL proximity tests
Adam Dickmeiss [Mon, 31 Jul 2006 10:05:04 +0000 (10:05 +0000)]
Get rid of redundant parameter to yaz_log_to_file. Reformat a bit
Mike Taylor [Wed, 19 Jul 2006 16:36:33 +0000 (16:36 +0000)]
Ignore nfaxmltest1 and nfaxmltest1.log
Heikki Levanto [Fri, 14 Jul 2006 13:06:37 +0000 (13:06 +0000)]
Loading of the nfa now possible from an xml file.
Had to disable two tests, because make distcheck could not
find the files I wanted to load. After that distcheck passes
all right.
Heikki Levanto [Fri, 7 Jul 2006 13:39:02 +0000 (13:39 +0000)]
Added YAZ_CHECK_TODO macro, used it in nfaxmltest1.
Added rm *.log in tests make distclean.
Marc Cromme [Fri, 7 Jul 2006 13:02:21 +0000 (13:02 +0000)]
moved superflous session logging from log_session to log_sessiondetails
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
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
Marc Cromme [Fri, 7 Jul 2006 10:31:26 +0000 (10:31 +0000)]
further cleaning of log messages, related to bug #405
Adam Dickmeiss [Fri, 7 Jul 2006 08:41:20 +0000 (08:41 +0000)]
Added nfaxml
Adam Dickmeiss [Fri, 7 Jul 2006 08:36:50 +0000 (08:36 +0000)]
Added nfa
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
Adam Dickmeiss [Fri, 7 Jul 2006 08:32:53 +0000 (08:32 +0000)]
Split YAZ DLL objs into only 3 groups
Adam Dickmeiss [Fri, 7 Jul 2006 07:14:30 +0000 (07:14 +0000)]
Avoid decl after stmt
Adam Dickmeiss [Fri, 7 Jul 2006 07:11:05 +0000 (07:11 +0000)]
Make test pass
Adam Dickmeiss [Fri, 7 Jul 2006 06:59:49 +0000 (06:59 +0000)]
Fix compilation on Windows. Reformat a bit
Marc Cromme [Thu, 6 Jul 2006 15:06:12 +0000 (15:06 +0000)]
downgraded superflous log comment from YAZ_LOG to log_requestdetail
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
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
Heikki Levanto [Thu, 6 Jul 2006 14:06:17 +0000 (14:06 +0000)]
Fixed order of declarations
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
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.
Adam Dickmeiss [Thu, 6 Jul 2006 08:28:37 +0000 (08:28 +0000)]
Dont use xmlDocPtr local
Adam Dickmeiss [Thu, 6 Jul 2006 08:26:11 +0000 (08:26 +0000)]
Yet another fix
Adam Dickmeiss [Thu, 6 Jul 2006 07:45:07 +0000 (07:45 +0000)]
Fix compilation on systems where Libxml2 does not exist
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.
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.
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.
Adam Dickmeiss [Wed, 5 Jul 2006 14:45:57 +0000 (14:45 +0000)]
Added cql2pqf which shows evalutation order
Adam Dickmeiss [Wed, 5 Jul 2006 13:05:32 +0000 (13:05 +0000)]
Simplify YAZ windows makefile
Heikki Levanto [Wed, 5 Jul 2006 08:12:48 +0000 (08:12 +0000)]
Added the (empty) test file
Heikki Levanto [Wed, 5 Jul 2006 08:10:40 +0000 (08:10 +0000)]
Removed duplicate nfatest1
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.
Adam Dickmeiss [Fri, 30 Jun 2006 11:09:44 +0000 (11:09 +0000)]
Log format '%!' prints thread ID
Adam Dickmeiss [Wed, 28 Jun 2006 21:41:54 +0000 (21:41 +0000)]
Fix dist-hook so that make distcheck works
Adam Dickmeiss [Tue, 27 Jun 2006 12:23:11 +0000 (12:23 +0000)]
Configure build shared libraries by default.
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.
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".
Adam Dickmeiss [Fri, 16 Jun 2006 10:20:17 +0000 (10:20 +0000)]
Fire ZOOM_EVENT_RECV_RECORD for cached records. Bug #612.
Adam Dickmeiss [Fri, 16 Jun 2006 10:19:23 +0000 (10:19 +0000)]
Internal version 2.1.23.
Adam Dickmeiss [Thu, 15 Jun 2006 14:15:17 +0000 (14:15 +0000)]
Make ChangeLog in make dist rule
Adam Dickmeiss [Thu, 15 Jun 2006 13:38:05 +0000 (13:38 +0000)]
Towards 2.1.22
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.
Adam Dickmeiss [Thu, 15 Jun 2006 10:43:15 +0000 (10:43 +0000)]
Ignore zoomst10
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.
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.
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.
Adam Dickmeiss [Wed, 14 Jun 2006 05:47:10 +0000 (05:47 +0000)]
Fix complication for YAZ, when libxml2 is not present.
Adam Dickmeiss [Tue, 13 Jun 2006 20:47:03 +0000 (20:47 +0000)]
Use simpler version resource.
Mike Taylor [Tue, 13 Jun 2006 17:02:12 +0000 (17:02 +0000)]
Describe ZOOM CCL support.
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.
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.
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
Adam Dickmeiss [Tue, 13 Jun 2006 16:01:51 +0000 (16:01 +0000)]
Mention SRU rather than SRW (where appropriate).
Adam Dickmeiss [Tue, 13 Jun 2006 15:36:09 +0000 (15:36 +0000)]
Emacs shell-script for these.
Mike Taylor [Mon, 12 Jun 2006 16:12:58 +0000 (16:12 +0000)]
Avoid pointer-sign clash in yaz_marc_decode_buf() call.
Adam Dickmeiss [Fri, 9 Jun 2006 13:29:52 +0000 (13:29 +0000)]
News about SSL
Adam Dickmeiss [Fri, 9 Jun 2006 13:29:21 +0000 (13:29 +0000)]
YAZ' configure searches for OpenSSL by default.