yaz-moved-to-github.git
18 years agoFor GFS - SRU handling, empty stylesheet means no stylesheet ref
Adam Dickmeiss [Thu, 16 Mar 2006 08:55:28 +0000 (08:55 +0000)]
For GFS - SRU handling, empty stylesheet means no stylesheet ref

18 years agoBump to dev version 2.1.15
Adam Dickmeiss [Thu, 16 Mar 2006 08:36:29 +0000 (08:36 +0000)]
Bump to dev version 2.1.15

18 years agoremoved superflous log message
Marc Cromme [Wed, 15 Mar 2006 14:12:26 +0000 (14:12 +0000)]
removed superflous log message

18 years agoAdded support for file access in GFS to facilitate static
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.

18 years agoTowards 2.1.14 YAZ.2.1.14
Adam Dickmeiss [Tue, 14 Mar 2006 09:04:07 +0000 (09:04 +0000)]
Towards 2.1.14

18 years agoTowards 2.1.14
Adam Dickmeiss [Tue, 14 Mar 2006 08:58:56 +0000 (08:58 +0000)]
Towards 2.1.14

18 years agoMake bin/yazd.dll + lib/yazd.lib part of Development component.
Adam Dickmeiss [Tue, 14 Mar 2006 08:50:19 +0000 (08:50 +0000)]
Make bin/yazd.dll + lib/yazd.lib part of Development component.

18 years agoYAZ_LOG environment variable.
Mike Taylor [Mon, 13 Mar 2006 17:33:00 +0000 (17:33 +0000)]
YAZ_LOG environment variable.

18 years agoOmit unnecessary warnings in ztest sample code.
Adam Dickmeiss [Mon, 13 Mar 2006 12:14:00 +0000 (12:14 +0000)]
Omit unnecessary warnings in ztest sample code.

18 years agoMore informative GFS WRT Extended Services
Adam Dickmeiss [Mon, 13 Mar 2006 11:59:27 +0000 (11:59 +0000)]
More informative GFS WRT Extended Services

18 years agoSurvive in set_DatabaseNames if connection has not been connected.
Adam Dickmeiss [Mon, 13 Mar 2006 10:48:14 +0000 (10:48 +0000)]
Survive in set_DatabaseNames if connection has not been connected.

18 years agoRecognise the "always" configuration element.
Mike Taylor [Fri, 10 Mar 2006 17:18:09 +0000 (17:18 +0000)]
Recognise the "always" configuration element.

18 years agoMap structure and other attributes before indexes, so that
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.

18 years agoFix URL of SRU diagnostics list.
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.)

18 years agoIgnore yaz-xmlquery
Mike Taylor [Thu, 9 Mar 2006 16:14:53 +0000 (16:14 +0000)]
Ignore yaz-xmlquery

18 years agoNull terminate a null-terminated string
Adam Dickmeiss [Mon, 6 Mar 2006 08:11:41 +0000 (08:11 +0000)]
Null terminate a null-terminated string

18 years agoBNF for nested queries.
Adam Dickmeiss [Thu, 2 Mar 2006 09:38:41 +0000 (09:38 +0000)]
BNF for nested queries.

18 years agoAdded sort extension
Adam Dickmeiss [Thu, 2 Mar 2006 09:37:35 +0000 (09:37 +0000)]
Added sort extension

18 years agoadded complex rewrite rules for multiple attribute combinations
Marc Cromme [Thu, 2 Mar 2006 09:20:53 +0000 (09:20 +0000)]
added complex rewrite rules for multiple attribute combinations

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

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

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

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

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

18 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

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

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

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

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

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

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

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

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

18 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

18 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

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

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

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

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

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

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

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

18 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

18 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

18 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

18 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

18 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

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

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

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

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

18 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

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

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

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

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

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

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

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

18 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

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

18 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

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

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

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

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

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

18 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

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

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

18 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

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

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

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

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

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

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

18 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()

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

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

18 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

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

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

18 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

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

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

18 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

18 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

18 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

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

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

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

18 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

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

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

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

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

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

18 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

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