yaz-moved-to-github.git
15 years agoAdded SRU-GET and SRU-POST support for ZOOM C. Option "sru" specifies
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).

15 years agofix decode of resultSetTTL
Adam Dickmeiss [Wed, 1 Mar 2006 22:33:06 +0000 (22:33 +0000)]
fix decode of resultSetTTL

15 years agoFixed bug in GFS: bend_scan handler was not called when PQF-to-CQL conversion
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.

15 years agoadded some examples of XMLPQF to XMLPQF query rewrites
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.

15 years agoFixed bug #488: tsticonv fails on Solaris with Sun C compiler.
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.

15 years agoDont return value in void function
Adam Dickmeiss [Thu, 23 Feb 2006 13:09:54 +0000 (13:09 +0000)]
Dont return value in void function

15 years agoFor XML query structure, use 'operator' instead of 'binary'.
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.

15 years agoRemoved redundant check
Adam Dickmeiss [Thu, 23 Feb 2006 11:16:22 +0000 (11:16 +0000)]
Removed redundant check

15 years agoAdded utility program yaz-xmlquery.
Adam Dickmeiss [Thu, 23 Feb 2006 10:40:59 +0000 (10:40 +0000)]
Added utility program yaz-xmlquery.

15 years agoUpdate
Adam Dickmeiss [Wed, 22 Feb 2006 19:53:02 +0000 (19:53 +0000)]
Update

15 years agoAdded a test case which exposes UTF-8 conversion bug.
Adam Dickmeiss [Wed, 22 Feb 2006 19:48:53 +0000 (19:48 +0000)]
Added a test case which exposes UTF-8 conversion bug.

15 years agoImplement yaz_xml2query.
Adam Dickmeiss [Sun, 19 Feb 2006 18:44:23 +0000 (18:44 +0000)]
Implement yaz_xml2query.

15 years agoMake ztest_explain non-static
Adam Dickmeiss [Sun, 19 Feb 2006 18:37:20 +0000 (18:37 +0000)]
Make ztest_explain non-static

15 years agoUsing odr_create_Odr_oct
Adam Dickmeiss [Sun, 19 Feb 2006 18:36:10 +0000 (18:36 +0000)]
Using odr_create_Odr_oct

15 years agoMore proper initialization ot union .. Not that it makes a difference
Adam Dickmeiss [Sun, 19 Feb 2006 18:34:13 +0000 (18:34 +0000)]
More proper initialization ot union .. Not that it makes a difference

15 years agoImplemented utility odr_create_Odr_oct to create Odr_oct struct with content
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

15 years agoFixed UTF-8 reading (for 3 byte sequences).
Adam Dickmeiss [Fri, 10 Feb 2006 12:45:39 +0000 (12:45 +0000)]
Fixed UTF-8 reading (for 3 byte sequences).

15 years agoFor VS, use option /EHsc instead of /GX (deprecated)
Adam Dickmeiss [Thu, 9 Feb 2006 12:36:18 +0000 (12:36 +0000)]
For VS, use option /EHsc instead of /GX (deprecated)

15 years agoAdded a few harmless casts . (famous last words)
Adam Dickmeiss [Fri, 3 Feb 2006 10:44:57 +0000 (10:44 +0000)]
Added a few harmless casts . (famous last words)

15 years agoIgnore generated file "tstxmlquery".
Mike Taylor [Thu, 2 Feb 2006 18:27:02 +0000 (18:27 +0000)]
Ignore generated file "tstxmlquery".

15 years agoSupply Term type as attribute in XML RPN representation.
Adam Dickmeiss [Thu, 2 Feb 2006 15:00:58 +0000 (15:00 +0000)]
Supply Term type as attribute in XML RPN representation.

15 years agoProgram zoom-benchmark is not part of RPM,DEB package yet, so it
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.

15 years ago2.1.13
Adam Dickmeiss [Thu, 2 Feb 2006 13:02:55 +0000 (13:02 +0000)]
2.1.13

15 years agoDo not depend on docbook tools in Debian build. Depend on debhelper YAZ.2.1.12
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

15 years agoPut test stuff as part of Source Windows Package
Adam Dickmeiss [Wed, 1 Feb 2006 20:31:00 +0000 (20:31 +0000)]
Put test stuff as part of Source Windows Package

15 years agoUse size_t rather than int
Adam Dickmeiss [Wed, 1 Feb 2006 20:29:19 +0000 (20:29 +0000)]
Use size_t rather than int

15 years agoDont return value in void function
Adam Dickmeiss [Wed, 1 Feb 2006 20:28:44 +0000 (20:28 +0000)]
Dont return value in void function

15 years agoBuild-depend on libreadline5-dev rather than libreadline4-dev
Adam Dickmeiss [Wed, 1 Feb 2006 20:20:25 +0000 (20:20 +0000)]
Build-depend on libreadline5-dev rather than libreadline4-dev

15 years agoAdded test.obj+xmlquery.obj
Adam Dickmeiss [Wed, 1 Feb 2006 20:14:31 +0000 (20:14 +0000)]
Added test.obj+xmlquery.obj

15 years agoTowards 2.0.12
Adam Dickmeiss [Wed, 1 Feb 2006 20:11:22 +0000 (20:11 +0000)]
Towards 2.0.12

15 years agoUpdate link to mailing list
Adam Dickmeiss [Wed, 1 Feb 2006 20:07:20 +0000 (20:07 +0000)]
Update link to mailing list

15 years agoDescribe two more important changes
Adam Dickmeiss [Wed, 1 Feb 2006 19:59:44 +0000 (19:59 +0000)]
Describe two more important changes

15 years agoFix test so that it passes without libxml2-dev
Adam Dickmeiss [Wed, 1 Feb 2006 19:53:00 +0000 (19:53 +0000)]
Fix test so that it passes without libxml2-dev

15 years agoAvoid mixed/stmt var declare
Adam Dickmeiss [Tue, 31 Jan 2006 11:01:26 +0000 (11:01 +0000)]
Avoid mixed/stmt var declare

15 years agoAvoid mixed stmt/var declare
Adam Dickmeiss [Mon, 30 Jan 2006 16:58:06 +0000 (16:58 +0000)]
Avoid mixed stmt/var declare

15 years agoyaz_query2xml complete and tested
Adam Dickmeiss [Mon, 30 Jan 2006 14:02:06 +0000 (14:02 +0000)]
yaz_query2xml complete and tested

15 years agoAvoid mixed stmt/var declare
Adam Dickmeiss [Mon, 30 Jan 2006 08:08:23 +0000 (08:08 +0000)]
Avoid mixed stmt/var declare

15 years agoAdded YAZ_CHECK_TERM which terminates test program. Using yaz/test.h
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.

15 years agoMake sure this compiles even without Libxml2.
Adam Dickmeiss [Fri, 27 Jan 2006 19:04:15 +0000 (19:04 +0000)]
Make sure this compiles even without Libxml2.

15 years agoAnnotate
Adam Dickmeiss [Fri, 27 Jan 2006 19:01:56 +0000 (19:01 +0000)]
Annotate

15 years agoA little more flexible test unit
Adam Dickmeiss [Fri, 27 Jan 2006 18:58:57 +0000 (18:58 +0000)]
A little more flexible test unit

15 years agoFirst use of unit test macros.
Adam Dickmeiss [Fri, 27 Jan 2006 17:33:15 +0000 (17:33 +0000)]
First use of unit test macros.

15 years agoAdded xmlquery.h,test.h in build
Adam Dickmeiss [Fri, 27 Jan 2006 17:31:52 +0000 (17:31 +0000)]
Added xmlquery.h,test.h in build

15 years agoAdded xmlquery.c in build
Adam Dickmeiss [Fri, 27 Jan 2006 17:31:37 +0000 (17:31 +0000)]
Added xmlquery.c in build

15 years agoAdded a few simple test framework macros (to be used in YAZ tests).
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).

15 years agoAdded initial implementation for XML Query representation.
Adam Dickmeiss [Fri, 27 Jan 2006 17:28:16 +0000 (17:28 +0000)]
Added initial implementation for XML Query representation.

15 years agoAvoid mixed stmt/var declare
Adam Dickmeiss [Thu, 26 Jan 2006 15:37:05 +0000 (15:37 +0000)]
Avoid mixed stmt/var declare

16 years agoTry to cope with subfields in multi-byte encoding - such as UTF-8.
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.

16 years agoPrevent leading blank in output of yaz_rpnquery_to_wrbuf
Adam Dickmeiss [Fri, 20 Jan 2006 14:44:55 +0000 (14:44 +0000)]
Prevent leading blank in output of yaz_rpnquery_to_wrbuf

16 years agoMake wrbuf_put_zquery public
Adam Dickmeiss [Fri, 20 Jan 2006 11:01:46 +0000 (11:01 +0000)]
Make wrbuf_put_zquery public

16 years agoSeparate the logging utilities for queries in two . The multi-line
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}.

16 years agoHave yaz-ztest support pseudo database Slow too
Adam Dickmeiss [Tue, 17 Jan 2006 19:04:05 +0000 (19:04 +0000)]
Have yaz-ztest support pseudo database Slow too

16 years agoFixed bug in yaz_oi_get_string_oid. The function did not give
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.

16 years agoDescribe new ZOOM CQL facilities.
Mike Taylor [Wed, 21 Dec 2005 17:13:44 +0000 (17:13 +0000)]
Describe new ZOOM CQL facilities.

16 years agoNote need to document:
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)

16 years agoAdd ZOOM_query_cql2rpn()
Mike Taylor [Wed, 21 Dec 2005 16:41:36 +0000 (16:41 +0000)]
Add ZOOM_query_cql2rpn()

16 years agoYikes! Yesterday's "defensive programming" introduced a bug (D'oh!)
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.

16 years agoComment
Mike Taylor [Wed, 21 Dec 2005 08:35:36 +0000 (08:35 +0000)]
Comment

16 years agoRemove commented-out printf()s in cql2rpn()
Mike Taylor [Wed, 21 Dec 2005 00:07:21 +0000 (00:07 +0000)]
Remove commented-out printf()s in cql2rpn()

16 years agocql2rpn() now works.
Mike Taylor [Wed, 21 Dec 2005 00:06:34 +0000 (00:06 +0000)]
cql2rpn() now works.
Pernicious stack-whack bug fixed.

16 years agoAbort when trying to translate a node of unknown type. This happens
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 ...

16 years agoFix double free in set_otherinfo
Adam Dickmeiss [Tue, 20 Dec 2005 23:07:27 +0000 (23:07 +0000)]
Fix double free in set_otherinfo

16 years agoSupport for scanning by CQL query (not yet debugged).
Mike Taylor [Tue, 20 Dec 2005 22:24:05 +0000 (22:24 +0000)]
Support for scanning by CQL query (not yet debugged).

16 years agoTwo new ZOOM_ERROR codes, CQL_PARSE and CQL_TRANSFORM.
Mike Taylor [Tue, 20 Dec 2005 22:23:04 +0000 (22:23 +0000)]
Two new ZOOM_ERROR codes, CQL_PARSE and CQL_TRANSFORM.

16 years agoAddinfo is host when ZOOM returns failure for connections
Adam Dickmeiss [Mon, 19 Dec 2005 20:19:29 +0000 (20:19 +0000)]
Addinfo is host when ZOOM returns failure for connections

16 years agoAdd ZOOM_connection_scan1(), which takes a ZOOM_query rather than a
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.

16 years agoAvoid mixed stmt/vardeclare
Adam Dickmeiss [Sun, 18 Dec 2005 15:58:02 +0000 (15:58 +0000)]
Avoid mixed stmt/vardeclare

16 years agoyaz-marcdump may dump raw records separately using -s splitfname option
Adam Dickmeiss [Sat, 17 Dec 2005 20:22:01 +0000 (20:22 +0000)]
yaz-marcdump may dump raw records separately using -s splitfname option

16 years agoPrevent YAZ from using poll on MacOSX
Adam Dickmeiss [Sat, 17 Dec 2005 20:20:55 +0000 (20:20 +0000)]
Prevent YAZ from using poll on MacOSX

16 years agoNo need to check for sys/poll.h twice
Adam Dickmeiss [Sat, 17 Dec 2005 20:03:49 +0000 (20:03 +0000)]
No need to check for sys/poll.h twice

16 years agoAdded sample YAZ GFS config file.
Adam Dickmeiss [Fri, 16 Dec 2005 15:01:25 +0000 (15:01 +0000)]
Added sample YAZ GFS config file.

16 years agoAdded two new utilities for encoding SRW diagnostics via a URI rather
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.

16 years agoIgnore "tstlogthread", compiled by "make check".
Mike Taylor [Tue, 13 Dec 2005 17:10:32 +0000 (17:10 +0000)]
Ignore "tstlogthread", compiled by "make check".

16 years agoDescribe new options-within-host-string syntax:
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

16 years agoThrow out the 'user=pass%hoststring' syntax that I added a few days
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.

16 years agoupcounted debian number
Marc Cromme [Fri, 9 Dec 2005 10:43:43 +0000 (10:43 +0000)]
upcounted debian number

16 years agoAvoid mixed stmt/var declare
Adam Dickmeiss [Thu, 8 Dec 2005 15:36:31 +0000 (15:36 +0000)]
Avoid mixed stmt/var declare

16 years agoZOOM_connection_connect() now understands authentication parameters
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.

16 years agoPut exit command last in list of commands - so 'e'='elements'
Adam Dickmeiss [Fri, 2 Dec 2005 16:13:50 +0000 (16:13 +0000)]
Put exit command last in list of commands - so 'e'='elements'

16 years agoMake zoomtst9 part of windows build YAZ.2.1.10
Adam Dickmeiss [Tue, 29 Nov 2005 20:40:33 +0000 (20:40 +0000)]
Make zoomtst9 part of windows build

16 years agoTowards 2.1.10
Adam Dickmeiss [Tue, 29 Nov 2005 20:26:05 +0000 (20:26 +0000)]
Towards 2.1.10

16 years agoBuild libyazthread.la for backwards compatibility
Adam Dickmeiss [Tue, 29 Nov 2005 20:25:38 +0000 (20:25 +0000)]
Build libyazthread.la for backwards compatibility

16 years agoTowards 2.1.10
Adam Dickmeiss [Tue, 29 Nov 2005 20:17:09 +0000 (20:17 +0000)]
Towards 2.1.10

16 years agoAnother fix in extraRecordData handling
Adam Dickmeiss [Mon, 28 Nov 2005 13:21:38 +0000 (13:21 +0000)]
Another fix in extraRecordData handling

16 years agoIgnore zoomtst9
Mike Taylor [Sat, 26 Nov 2005 16:56:42 +0000 (16:56 +0000)]
Ignore zoomtst9

16 years agoAdded ZOOM example program that illustrates Ext Record Update
Adam Dickmeiss [Thu, 24 Nov 2005 10:04:12 +0000 (10:04 +0000)]
Added ZOOM example program that illustrates Ext Record Update

16 years agoAdd ZOOM_connection_diagset()
Mike Taylor [Wed, 16 Nov 2005 16:03:51 +0000 (16:03 +0000)]
Add ZOOM_connection_diagset()

16 years agoAdded CQL base YACC grammar.
Adam Dickmeiss [Tue, 15 Nov 2005 12:23:32 +0000 (12:23 +0000)]
Added CQL base YACC grammar.

16 years agoDescribe recent ZOOM changes.
Mike Taylor [Tue, 15 Nov 2005 12:19:17 +0000 (12:19 +0000)]
Describe recent ZOOM changes.

16 years agoFix bug introduced in srw.c revision 1.37
Adam Dickmeiss [Fri, 11 Nov 2005 22:07:11 +0000 (22:07 +0000)]
Fix bug introduced in srw.c revision 1.37

16 years agoFix 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

16 years agoUse int rather than short for bit field
Adam Dickmeiss [Wed, 9 Nov 2005 17:48:11 +0000 (17:48 +0000)]
Use int rather than short for bit field

16 years agoFixed check for non-empty record syntax list
Adam Dickmeiss [Wed, 9 Nov 2005 17:47:50 +0000 (17:47 +0000)]
Fixed check for non-empty record syntax list

16 years agoAvoid mixed stmt/var declare
Adam Dickmeiss [Wed, 9 Nov 2005 17:47:07 +0000 (17:47 +0000)]
Avoid mixed stmt/var declare

16 years agoOne more html doc part of dist
Adam Dickmeiss [Tue, 8 Nov 2005 21:57:47 +0000 (21:57 +0000)]
One more html doc part of dist

16 years agoClarify start term in ZOOM_connection_scan.
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).

16 years agoNote that sort1() needs documented when I do sort()
Mike Taylor [Tue, 8 Nov 2005 17:12:55 +0000 (17:12 +0000)]
Note that sort1() needs documented when I do sort()

16 years agoAdd ZOOM_resultset_sort1()
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.)

16 years agoAdd ZOOM_resultset_sort1()
Mike Taylor [Tue, 8 Nov 2005 16:51:34 +0000 (16:51 +0000)]
Add ZOOM_resultset_sort1()

16 years agoAdded ZiNG Update Support. New codecs are defined in srw.h. Extended the
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.