Mike Taylor [Wed, 22 Mar 2006 13:50:46 +0000 (13:50 +0000)]
Do not impose STAT_DEFAULT_LOG_LEVEL if the YAZ_LOG environment
variable is set. Cleaner handling of logging options.
Mike Taylor [Wed, 22 Mar 2006 13:38:17 +0000 (13:38 +0000)]
Removed loglevel from struct statserv_options_block -- it was only
there as a hack from the days when yaz_log_init() was the only way to
change any setting, and required all three to be set.
Adam Dickmeiss [Wed, 22 Mar 2006 13:03:59 +0000 (13:03 +0000)]
Accept application/soap+xml as content-type for SOAP msg
Adam Dickmeiss [Tue, 21 Mar 2006 13:58:50 +0000 (13:58 +0000)]
Reestablish log_event_{start,end}.
Adam Dickmeiss [Tue, 21 Mar 2006 12:54:02 +0000 (12:54 +0000)]
Remove log_event_{start,end}. Add function yaz_log_set_handler instead
Adam Dickmeiss [Tue, 21 Mar 2006 12:32:16 +0000 (12:32 +0000)]
Allow Hook function to be tested (log_event_start)
Adam Dickmeiss [Tue, 21 Mar 2006 12:31:48 +0000 (12:31 +0000)]
Allow yaz_log logging to be disabled using yaz_log_init_file with
fname == NULL. Output can be still be captured using log_event_start
calls. Useful if YAZ is to be using foreign log facility..
Mike Taylor [Mon, 20 Mar 2006 14:56:40 +0000 (14:56 +0000)]
Support for translating proximity nodes from CQL to PQF, including modifiers.
Mike Taylor [Mon, 20 Mar 2006 09:38:13 +0000 (09:38 +0000)]
Fix typo "libtools" (is now "libtool")
Adam Dickmeiss [Thu, 16 Mar 2006 12:30:03 +0000 (12:30 +0000)]
Ensure Bib-1 diagnostic is mapped to SRW diagnostic for bend_init
Adam Dickmeiss [Thu, 16 Mar 2006 08:55:28 +0000 (08:55 +0000)]
For GFS - SRU handling, empty stylesheet means no stylesheet ref
Adam Dickmeiss [Thu, 16 Mar 2006 08:36:29 +0000 (08:36 +0000)]
Bump to dev version 2.1.15
Marc Cromme [Wed, 15 Mar 2006 14:12:26 +0000 (14:12 +0000)]
removed superflous log message
Adam Dickmeiss [Wed, 15 Mar 2006 13:32:05 +0000 (13:32 +0000)]
Added support for file access in GFS to facilitate static
web pages, such XSL/CSS/HTML files.
Adam Dickmeiss [Tue, 14 Mar 2006 09:04:07 +0000 (09:04 +0000)]
Towards 2.1.14
Adam Dickmeiss [Tue, 14 Mar 2006 08:58:56 +0000 (08:58 +0000)]
Towards 2.1.14
Adam Dickmeiss [Tue, 14 Mar 2006 08:50:19 +0000 (08:50 +0000)]
Make bin/yazd.dll + lib/yazd.lib part of Development component.
Mike Taylor [Mon, 13 Mar 2006 17:33:00 +0000 (17:33 +0000)]
YAZ_LOG environment variable.
Adam Dickmeiss [Mon, 13 Mar 2006 12:14:00 +0000 (12:14 +0000)]
Omit unnecessary warnings in ztest sample code.
Adam Dickmeiss [Mon, 13 Mar 2006 11:59:27 +0000 (11:59 +0000)]
More informative GFS WRT Extended Services
Adam Dickmeiss [Mon, 13 Mar 2006 10:48:14 +0000 (10:48 +0000)]
Survive in set_DatabaseNames if connection has not been connected.
Mike Taylor [Fri, 10 Mar 2006 17:18:09 +0000 (17:18 +0000)]
Recognise the "always" configuration element.
Mike Taylor [Fri, 10 Mar 2006 14:43:13 +0000 (14:43 +0000)]
Map structure and other attributes before indexes, so that
index-specific structures can override defaults. So:
structure.* = 4=1
index.dc.date = 1=date-modified 4=5
does the right thing.
Mike Taylor [Fri, 10 Mar 2006 10:43:32 +0000 (10:43 +0000)]
Fix URL of SRU diagnostics list.
(Yes, Ray has moved it. Thanks, Ray.)
Mike Taylor [Thu, 9 Mar 2006 16:14:53 +0000 (16:14 +0000)]
Ignore yaz-xmlquery
Adam Dickmeiss [Mon, 6 Mar 2006 08:11:41 +0000 (08:11 +0000)]
Null terminate a null-terminated string
Adam Dickmeiss [Thu, 2 Mar 2006 09:38:41 +0000 (09:38 +0000)]
BNF for nested queries.
Adam Dickmeiss [Thu, 2 Mar 2006 09:37:35 +0000 (09:37 +0000)]
Added sort extension
Marc Cromme [Thu, 2 Mar 2006 09:20:53 +0000 (09:20 +0000)]
added complex rewrite rules for multiple attribute combinations
Adam Dickmeiss [Wed, 1 Mar 2006 23:24:24 +0000 (23:24 +0000)]
Added SRU-GET and SRU-POST support for ZOOM C. Option "sru" specifies
which mode to use; one of "post", "get" or "soap" (SRW, default).
Adam Dickmeiss [Wed, 1 Mar 2006 22:33:06 +0000 (22:33 +0000)]
fix decode of resultSetTTL
Adam Dickmeiss [Mon, 27 Feb 2006 21:31:33 +0000 (21:31 +0000)]
Fixed bug in GFS: bend_scan handler was not called when PQF-to-CQL conversion
was enabled.
Marc Cromme [Fri, 24 Feb 2006 14:07:23 +0000 (14:07 +0000)]
added some examples of XMLPQF to XMLPQF query rewrites
look in the first comments of the stylesheet to see how it is run.
probably this is the wrong place, but I checked it in here since I do not know of a better place.
Adam Dickmeiss [Thu, 23 Feb 2006 13:15:43 +0000 (13:15 +0000)]
Fixed bug #488: tsticonv fails on Solaris with Sun C compiler.
We no longer use a negative value in yaz_iconv_trie_dir.ptr member
for a "null" pointer. Instead integer 0 is used and actual ptrs
have an offset +1.
Adam Dickmeiss [Thu, 23 Feb 2006 13:09:54 +0000 (13:09 +0000)]
Dont return value in void function
Adam Dickmeiss [Thu, 23 Feb 2006 11:17:25 +0000 (11:17 +0000)]
For XML query structure, use 'operator' instead of 'binary'.
For top-level of query, use <query><rpn>..</rpn></query> rather than
<query type="rpn">..</query> due to XML schemas and other unpleasant
things.
Adam Dickmeiss [Thu, 23 Feb 2006 11:16:22 +0000 (11:16 +0000)]
Removed redundant check
Adam Dickmeiss [Thu, 23 Feb 2006 10:40:59 +0000 (10:40 +0000)]
Added utility program yaz-xmlquery.
Adam Dickmeiss [Wed, 22 Feb 2006 19:53:02 +0000 (19:53 +0000)]
Update
Adam Dickmeiss [Wed, 22 Feb 2006 19:48:53 +0000 (19:48 +0000)]
Added a test case which exposes UTF-8 conversion bug.
Adam Dickmeiss [Sun, 19 Feb 2006 18:44:23 +0000 (18:44 +0000)]
Implement yaz_xml2query.
Adam Dickmeiss [Sun, 19 Feb 2006 18:37:20 +0000 (18:37 +0000)]
Make ztest_explain non-static
Adam Dickmeiss [Sun, 19 Feb 2006 18:36:10 +0000 (18:36 +0000)]
Using odr_create_Odr_oct
Adam Dickmeiss [Sun, 19 Feb 2006 18:34:13 +0000 (18:34 +0000)]
More proper initialization ot union .. Not that it makes a difference
Adam Dickmeiss [Sun, 19 Feb 2006 18:33:08 +0000 (18:33 +0000)]
Implemented utility odr_create_Odr_oct to create Odr_oct struct with content
Adam Dickmeiss [Fri, 10 Feb 2006 12:45:39 +0000 (12:45 +0000)]
Fixed UTF-8 reading (for 3 byte sequences).
Adam Dickmeiss [Thu, 9 Feb 2006 12:36:18 +0000 (12:36 +0000)]
For VS, use option /EHsc instead of /GX (deprecated)
Adam Dickmeiss [Fri, 3 Feb 2006 10:44:57 +0000 (10:44 +0000)]
Added a few harmless casts . (famous last words)
Mike Taylor [Thu, 2 Feb 2006 18:27:02 +0000 (18:27 +0000)]
Ignore generated file "tstxmlquery".
Adam Dickmeiss [Thu, 2 Feb 2006 15:00:58 +0000 (15:00 +0000)]
Supply Term type as attribute in XML RPN representation.
Adam Dickmeiss [Thu, 2 Feb 2006 13:14:58 +0000 (13:14 +0000)]
Program zoom-benchmark is not part of RPM,DEB package yet, so it
is not yet installed in bin. Needs a man page too.
Adam Dickmeiss [Thu, 2 Feb 2006 13:02:55 +0000 (13:02 +0000)]
2.1.13
Adam Dickmeiss [Wed, 1 Feb 2006 21:07:02 +0000 (21:07 +0000)]
Do not depend on docbook tools in Debian build. Depend on debhelper
Adam Dickmeiss [Wed, 1 Feb 2006 20:31:00 +0000 (20:31 +0000)]
Put test stuff as part of Source Windows Package
Adam Dickmeiss [Wed, 1 Feb 2006 20:29:19 +0000 (20:29 +0000)]
Use size_t rather than int
Adam Dickmeiss [Wed, 1 Feb 2006 20:28:44 +0000 (20:28 +0000)]
Dont return value in void function
Adam Dickmeiss [Wed, 1 Feb 2006 20:20:25 +0000 (20:20 +0000)]
Build-depend on libreadline5-dev rather than libreadline4-dev
Adam Dickmeiss [Wed, 1 Feb 2006 20:14:31 +0000 (20:14 +0000)]
Added test.obj+xmlquery.obj
Adam Dickmeiss [Wed, 1 Feb 2006 20:11:22 +0000 (20:11 +0000)]
Towards 2.0.12
Adam Dickmeiss [Wed, 1 Feb 2006 20:07:20 +0000 (20:07 +0000)]
Update link to mailing list
Adam Dickmeiss [Wed, 1 Feb 2006 19:59:44 +0000 (19:59 +0000)]
Describe two more important changes
Adam Dickmeiss [Wed, 1 Feb 2006 19:53:00 +0000 (19:53 +0000)]
Fix test so that it passes without libxml2-dev
Adam Dickmeiss [Tue, 31 Jan 2006 11:01:26 +0000 (11:01 +0000)]
Avoid mixed/stmt var declare
Adam Dickmeiss [Mon, 30 Jan 2006 16:58:06 +0000 (16:58 +0000)]
Avoid mixed stmt/var declare
Adam Dickmeiss [Mon, 30 Jan 2006 14:02:06 +0000 (14:02 +0000)]
yaz_query2xml complete and tested
Adam Dickmeiss [Mon, 30 Jan 2006 08:08:23 +0000 (08:08 +0000)]
Avoid mixed stmt/var declare
Adam Dickmeiss [Sun, 29 Jan 2006 21:59:12 +0000 (21:59 +0000)]
Added YAZ_CHECK_TERM which terminates test program. Using yaz/test.h
in most existing tests now.
Adam Dickmeiss [Fri, 27 Jan 2006 19:04:15 +0000 (19:04 +0000)]
Make sure this compiles even without Libxml2.
Adam Dickmeiss [Fri, 27 Jan 2006 19:01:56 +0000 (19:01 +0000)]
Annotate
Adam Dickmeiss [Fri, 27 Jan 2006 18:58:57 +0000 (18:58 +0000)]
A little more flexible test unit
Adam Dickmeiss [Fri, 27 Jan 2006 17:33:15 +0000 (17:33 +0000)]
First use of unit test macros.
Adam Dickmeiss [Fri, 27 Jan 2006 17:31:52 +0000 (17:31 +0000)]
Added xmlquery.h,test.h in build
Adam Dickmeiss [Fri, 27 Jan 2006 17:31:37 +0000 (17:31 +0000)]
Added xmlquery.c in build
Adam Dickmeiss [Fri, 27 Jan 2006 17:30:44 +0000 (17:30 +0000)]
Added a few simple test framework macros (to be used in YAZ tests).
Adam Dickmeiss [Fri, 27 Jan 2006 17:28:16 +0000 (17:28 +0000)]
Added initial implementation for XML Query representation.
Adam Dickmeiss [Thu, 26 Jan 2006 15:37:05 +0000 (15:37 +0000)]
Avoid mixed stmt/var declare
Adam Dickmeiss [Fri, 20 Jan 2006 15:30:24 +0000 (15:30 +0000)]
Try to cope with subfields in multi-byte encoding - such as UTF-8.
Adam Dickmeiss [Fri, 20 Jan 2006 14:44:55 +0000 (14:44 +0000)]
Prevent leading blank in output of yaz_rpnquery_to_wrbuf
Adam Dickmeiss [Fri, 20 Jan 2006 11:01:46 +0000 (11:01 +0000)]
Make wrbuf_put_zquery public
Adam Dickmeiss [Fri, 20 Jan 2006 10:34:50 +0000 (10:34 +0000)]
Separate the logging utilities for queries in two . The multi-line
logging is defined in logrpn.{c,h} as before. The one-line - PQF -
reparseable output in querytowrbuf.{c,h}.
Adam Dickmeiss [Tue, 17 Jan 2006 19:04:05 +0000 (19:04 +0000)]
Have yaz-ztest support pseudo database Slow too
Adam Dickmeiss [Mon, 16 Jan 2006 15:53:28 +0000 (15:53 +0000)]
Fixed bug in yaz_oi_get_string_oid. The function did not give
categoryValue to yaz_oi_update.
Mike Taylor [Wed, 21 Dec 2005 17:13:44 +0000 (17:13 +0000)]
Describe new ZOOM CQL facilities.
Mike Taylor [Wed, 21 Dec 2005 16:45:38 +0000 (16:45 +0000)]
Note need to document:
ZOOM_connection_scan1 (ZOOM_connection c, ZOOM_query startterm)
ZOOM_query_cql2rpn(ZOOM_query s, const char *str, ZOOM_connection conn)
Mike Taylor [Wed, 21 Dec 2005 16:41:36 +0000 (16:41 +0000)]
Add ZOOM_query_cql2rpn()
Mike Taylor [Wed, 21 Dec 2005 15:09:50 +0000 (15:09 +0000)]
Yikes! Yesterday's "defensive programming" introduced a bug (D'oh!)
which made it impossible to transform CQL queries of more than a
single term. Now fixed.
Mike Taylor [Wed, 21 Dec 2005 08:35:36 +0000 (08:35 +0000)]
Comment
Mike Taylor [Wed, 21 Dec 2005 00:07:21 +0000 (00:07 +0000)]
Remove commented-out printf()s in cql2rpn()
Mike Taylor [Wed, 21 Dec 2005 00:06:34 +0000 (00:06 +0000)]
cql2rpn() now works.
Pernicious stack-whack bug fixed.
Mike Taylor [Wed, 21 Dec 2005 00:04:14 +0000 (00:04 +0000)]
Abort when trying to translate a node of unknown type. This happens
when (for example) the node is corrupted by its parser being freed
before it's passed into the translation function ... a classic C-style
bug that's taken much of this evening to find and fix. Defensive
programming, guys ...
Adam Dickmeiss [Tue, 20 Dec 2005 23:07:27 +0000 (23:07 +0000)]
Fix double free in set_otherinfo
Mike Taylor [Tue, 20 Dec 2005 22:24:05 +0000 (22:24 +0000)]
Support for scanning by CQL query (not yet debugged).
Mike Taylor [Tue, 20 Dec 2005 22:23:04 +0000 (22:23 +0000)]
Two new ZOOM_ERROR codes, CQL_PARSE and CQL_TRANSFORM.
Adam Dickmeiss [Mon, 19 Dec 2005 20:19:29 +0000 (20:19 +0000)]
Addinfo is host when ZOOM returns failure for connections
Mike Taylor [Mon, 19 Dec 2005 17:04:22 +0000 (17:04 +0000)]
Add ZOOM_connection_scan1(), which takes a ZOOM_query rather than a
string as its start-term, thereby opening the way for scanning on CQL
terms.
Adam Dickmeiss [Sun, 18 Dec 2005 15:58:02 +0000 (15:58 +0000)]
Avoid mixed stmt/vardeclare
Adam Dickmeiss [Sat, 17 Dec 2005 20:22:01 +0000 (20:22 +0000)]
yaz-marcdump may dump raw records separately using -s splitfname option
Adam Dickmeiss [Sat, 17 Dec 2005 20:20:55 +0000 (20:20 +0000)]
Prevent YAZ from using poll on MacOSX
Adam Dickmeiss [Sat, 17 Dec 2005 20:03:49 +0000 (20:03 +0000)]
No need to check for sys/poll.h twice
Adam Dickmeiss [Fri, 16 Dec 2005 15:01:25 +0000 (15:01 +0000)]
Added sample YAZ GFS config file.