yaz-moved-to-github.git
18 years agoProgram zoom-benchmark is not part of RPM,DEB package yet, so it YAZ.2.1.12.branch
Adam Dickmeiss [Thu, 2 Feb 2006 13:24:06 +0000 (13:24 +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 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

18 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

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

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

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

18 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

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

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

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

18 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

18 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

18 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

18 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

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

18 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

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

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

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

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

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

18 years agoFix bug #416 in a different way. Our handlers code in yaz_marc8_?_conv
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).

18 years agoRemove no longer used MARC-8 conversion code
Adam Dickmeiss [Sun, 6 Nov 2005 01:28:09 +0000 (01:28 +0000)]
Remove no longer used MARC-8 conversion code

18 years agoClarify sort-specification syntax.
Mike Taylor [Fri, 4 Nov 2005 17:15:30 +0000 (17:15 +0000)]
Clarify sort-specification syntax.

18 years agoFix incorrect diagnostic.
Mike Taylor [Fri, 4 Nov 2005 15:51:02 +0000 (15:51 +0000)]
Fix incorrect diagnostic.

18 years agoFix formatting inconsistency.
Mike Taylor [Thu, 3 Nov 2005 16:49:00 +0000 (16:49 +0000)]
Fix formatting inconsistency.

18 years agoAvoid mixed decl/stmt
Adam Dickmeiss [Wed, 2 Nov 2005 21:41:27 +0000 (21:41 +0000)]
Avoid mixed decl/stmt

18 years agoAdd a list of the (surprisingly many) functions that still require
Mike Taylor [Wed, 2 Nov 2005 14:54:01 +0000 (14:54 +0000)]
Add a list of the (surprisingly many) functions that still require
documentation.

18 years agoFix path to yaz-asncomp
Adam Dickmeiss [Wed, 2 Nov 2005 13:32:58 +0000 (13:32 +0000)]
Fix path to yaz-asncomp

18 years agoChange output for SearchResult-1. Display subqueryId as well
Adam Dickmeiss [Wed, 2 Nov 2005 11:54:40 +0000 (11:54 +0000)]
Change output for SearchResult-1. Display subqueryId as well

18 years agoRename serachresult options a bit
Adam Dickmeiss [Wed, 2 Nov 2005 10:19:46 +0000 (10:19 +0000)]
Rename serachresult options a bit

18 years agoAllow retrieval of Search Result-1 information in ZOOM by the use of
Adam Dickmeiss [Tue, 1 Nov 2005 15:08:01 +0000 (15:08 +0000)]
Allow retrieval of Search Result-1 information in ZOOM by the use of
options that are attached to a result set. ZOOM documentation updated
accordingly.

18 years agoAllow inspection of result set options with rget command
Adam Dickmeiss [Tue, 1 Nov 2005 15:07:29 +0000 (15:07 +0000)]
Allow inspection of result set options with rget command

18 years agoFixed bug #416: First/second comb characters not handled in the
Adam Dickmeiss [Fri, 28 Oct 2005 18:36:58 +0000 (18:36 +0000)]
Fixed bug #416: First/second comb characters not handled in the
MARC-8 to UTF-8 conversion. Patch by Raj Patel.

18 years agoUse xsl:element for document element to prevent ns
Adam Dickmeiss [Thu, 27 Oct 2005 20:05:41 +0000 (20:05 +0000)]
Use xsl:element for document element to prevent ns

18 years agoUse xstrdup rather than strdup.
Adam Dickmeiss [Sat, 22 Oct 2005 13:32:04 +0000 (13:32 +0000)]
Use xstrdup rather than strdup.
Define stat(2) masks S_IFMT and S_IFSOCK when gcc -ansi is in use.

18 years agoDo not use // comments
Adam Dickmeiss [Sat, 22 Oct 2005 13:28:03 +0000 (13:28 +0000)]
Do not use // comments

18 years agotstlogthread by default prints nothing
Adam Dickmeiss [Sat, 22 Oct 2005 13:27:29 +0000 (13:27 +0000)]
tstlogthread by default prints nothing

18 years agoyaz-benchmark uses yaz options rather than getopt
Adam Dickmeiss [Sat, 22 Oct 2005 13:13:56 +0000 (13:13 +0000)]
yaz-benchmark uses yaz options rather than getopt

18 years agoAdded option -m to GFS to control formatting of time stamps.
Sebastian Hammer [Thu, 20 Oct 2005 19:28:03 +0000 (19:28 +0000)]
Added option -m to GFS to control formatting of time stamps.

18 years agoAdd ZOOM_connection_option_getl() -- very thin layer.
Mike Taylor [Mon, 17 Oct 2005 12:29:44 +0000 (12:29 +0000)]
Add ZOOM_connection_option_getl() -- very thin layer.