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.
Adam Dickmeiss [Wed, 14 Dec 2005 14:05:55 +0000 (14:05 +0000)]
Added two new utilities for encoding SRW diagnostics via a URI rather
than code. The yaz_add_srw_diagnostic_uri complements
yaz_add_srw_diagnostic in that it adds a diagnostic to a diagnostics
list. And yaz_mk_srw_diagnostic complements yaz_mk_std_diagnostic.
Mike Taylor [Tue, 13 Dec 2005 17:10:32 +0000 (17:10 +0000)]
Ignore "tstlogthread", compiled by "make check".
Mike Taylor [Mon, 12 Dec 2005 12:09:29 +0000 (12:09 +0000)]
Describe new options-within-host-string syntax:
user=admin,password=halfAm4n,tcp:localhost:8017/db
Mike Taylor [Mon, 12 Dec 2005 12:02:04 +0000 (12:02 +0000)]
Throw out the 'user=pass%hoststring' syntax that I added a few days
ago, and replace with the more general and rigorous
'key=value,...:hoststring' as suggested by Adam.
Marc Cromme [Fri, 9 Dec 2005 10:43:43 +0000 (10:43 +0000)]
upcounted debian number
Adam Dickmeiss [Thu, 8 Dec 2005 15:36:31 +0000 (15:36 +0000)]
Avoid mixed stmt/var declare
Mike Taylor [Wed, 7 Dec 2005 16:15:15 +0000 (16:15 +0000)]
ZOOM_connection_connect() now understands authentication parameters
embedded in the host string, like this:
admin:secretpw%localhost:9999/gils
i.e. if there is a "%" sign, then what comes before is taken as a
":"-separated user/password pair. This is a bit hacky, but necessary
to run zoomtst9 against secured databases, and it's much more general
than just adding authentication parameters to that one program.
Adam Dickmeiss [Fri, 2 Dec 2005 16:13:50 +0000 (16:13 +0000)]
Put exit command last in list of commands - so 'e'='elements'
Adam Dickmeiss [Tue, 29 Nov 2005 20:40:33 +0000 (20:40 +0000)]
Make zoomtst9 part of windows build
Adam Dickmeiss [Tue, 29 Nov 2005 20:26:05 +0000 (20:26 +0000)]
Towards 2.1.10
Adam Dickmeiss [Tue, 29 Nov 2005 20:25:38 +0000 (20:25 +0000)]
Build libyazthread.la for backwards compatibility
Adam Dickmeiss [Tue, 29 Nov 2005 20:17:09 +0000 (20:17 +0000)]
Towards 2.1.10
Adam Dickmeiss [Mon, 28 Nov 2005 13:21:38 +0000 (13:21 +0000)]
Another fix in extraRecordData handling
Mike Taylor [Sat, 26 Nov 2005 16:56:42 +0000 (16:56 +0000)]
Ignore zoomtst9
Adam Dickmeiss [Thu, 24 Nov 2005 10:04:12 +0000 (10:04 +0000)]
Added ZOOM example program that illustrates Ext Record Update
Mike Taylor [Wed, 16 Nov 2005 16:03:51 +0000 (16:03 +0000)]
Add ZOOM_connection_diagset()
Adam Dickmeiss [Tue, 15 Nov 2005 12:23:32 +0000 (12:23 +0000)]
Added CQL base YACC grammar.
Mike Taylor [Tue, 15 Nov 2005 12:19:17 +0000 (12:19 +0000)]
Describe recent ZOOM changes.
Adam Dickmeiss [Fri, 11 Nov 2005 22:07:11 +0000 (22:07 +0000)]
Fix bug introduced in srw.c revision 1.37
Adam Dickmeiss [Fri, 11 Nov 2005 22:06:46 +0000 (22:06 +0000)]
Fix bug introduced in srw.c revision 1.37
Adam Dickmeiss [Wed, 9 Nov 2005 17:48:11 +0000 (17:48 +0000)]
Use int rather than short for bit field
Adam Dickmeiss [Wed, 9 Nov 2005 17:47:50 +0000 (17:47 +0000)]
Fixed check for non-empty record syntax list
Adam Dickmeiss [Wed, 9 Nov 2005 17:47:07 +0000 (17:47 +0000)]
Avoid mixed stmt/var declare
Adam Dickmeiss [Tue, 8 Nov 2005 21:57:47 +0000 (21:57 +0000)]
One more html doc part of dist
Adam Dickmeiss [Tue, 8 Nov 2005 21:53:01 +0000 (21:53 +0000)]
Clarify start term in ZOOM_connection_scan.
Document ZOOM_package functions (extended service facilities).
Mike Taylor [Tue, 8 Nov 2005 17:12:55 +0000 (17:12 +0000)]
Note that sort1() needs documented when I do sort()
Mike Taylor [Tue, 8 Nov 2005 16:52:29 +0000 (16:52 +0000)]
Add ZOOM_resultset_sort1()
Old ZOOM_resultset_sort() is now a trivial wrapper for this.
(Kept only for backwards compatibility.)
Mike Taylor [Tue, 8 Nov 2005 16:51:34 +0000 (16:51 +0000)]
Add ZOOM_resultset_sort1()
Adam Dickmeiss [Tue, 8 Nov 2005 15:08:02 +0000 (15:08 +0000)]
Added ZiNG Update Support. New codecs are defined in srw.h. Extended the
GFS to support this as well. Backend handler, bend_srw_update, does the
update work. Code contributed by Ko van der Sloot.
Adam Dickmeiss [Sun, 6 Nov 2005 01:55:06 +0000 (01:55 +0000)]
Fix bug #416 in a different way. Our handlers code in yaz_marc8_?_conv
(generated by charconv.tcl) now returns 0 and no_read=1 when a sequence
does not match the input. The SECOND HALFs in codetables.xml produces a
non-existant entry in the conversion trie.. Hence when met, the input
byte is skipped as it should (in yaz_iconv).