yaz-moved-to-github.git
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

19 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

19 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

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

19 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

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

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

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

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

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

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

19 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

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

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

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

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

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

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

19 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

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

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

19 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

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

19 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

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

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

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

19 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

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

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

19 years agoAdd support for int len to struct ZOOM_options_entry.
Mike Taylor [Mon, 17 Oct 2005 12:28:20 +0000 (12:28 +0000)]
Add support for int len to struct ZOOM_options_entry.
Factor repeated code out of ZOOM_options_setl() into new _set_value().
Add ZOOM_options_getl().
ZOOM_options_get() is now a one-line wrapper around ZOOM_options_getl().

19 years agoAdd int len to struct ZOOM_options_entry.
Mike Taylor [Mon, 17 Oct 2005 12:25:39 +0000 (12:25 +0000)]
Add int len to struct ZOOM_options_entry.

19 years agoAdd ZOOM_connection_option_getl() and ZOOM_options_getl()
Mike Taylor [Mon, 17 Oct 2005 12:25:04 +0000 (12:25 +0000)]
Add ZOOM_connection_option_getl() and ZOOM_options_getl()

19 years agoPut static YAZ entities in separate file entities.ent.
Adam Dickmeiss [Sat, 15 Oct 2005 10:40:37 +0000 (10:40 +0000)]
Put static YAZ entities in separate file entities.ent.
Put bookinfo section in separate file bookinfo.xml.

19 years agoMove ZOOM_task definition to private ZOOM header
Adam Dickmeiss [Tue, 11 Oct 2005 18:24:33 +0000 (18:24 +0000)]
Move ZOOM_task definition to private ZOOM header

19 years agoAdded wrbuf_chlp_right
Adam Dickmeiss [Tue, 27 Sep 2005 17:52:46 +0000 (17:52 +0000)]
Added wrbuf_chlp_right

19 years agoChanged behavior of yaz-client's cancel command, so that it by default
Adam Dickmeiss [Mon, 26 Sep 2005 09:15:27 +0000 (09:15 +0000)]
Changed behavior of yaz-client's cancel command, so that it by default
does not wait for a response. But if 'cancel wait' is given it will
wait anyway.

19 years agoAllow multiple record syntaxes to be specified in 'format' command.
Adam Dickmeiss [Wed, 21 Sep 2005 19:46:33 +0000 (19:46 +0000)]
Allow multiple record syntaxes to be specified in 'format' command.
If two or more are given, the syntax list in CompSpec is used for
present requests.

19 years agoadded a -g switch for gnuplot instructions in output. This way, the outpit stream...
Marc Cromme [Tue, 20 Sep 2005 12:07:29 +0000 (12:07 +0000)]
added a -g switch for gnuplot instructions in output. This way, the outpit stream can be used as input to gnuplot (when saved to a file, that is), and the gnuplot instruction file is obsolete, hence removed

19 years agocounting ewrror corrected such that multiple repeats do work correctly
Marc Cromme [Tue, 20 Sep 2005 11:29:03 +0000 (11:29 +0000)]
counting ewrror corrected such that multiple repeats do work correctly

19 years agomoving int declaration to top of function to avoid upsetting old compilers
Marc Cromme [Tue, 20 Sep 2005 09:36:18 +0000 (09:36 +0000)]
moving int declaration to top of function to avoid upsetting old compilers

19 years agoAdded ignore of zoom-benchmark program
Adam Dickmeiss [Mon, 19 Sep 2005 19:18:48 +0000 (19:18 +0000)]
Added ignore of zoom-benchmark program

19 years agobetter 3D graphics made possible by ordering events into groups of same connections
Marc Cromme [Mon, 19 Sep 2005 14:14:01 +0000 (14:14 +0000)]
better 3D graphics made possible by ordering events into groups of same connections

19 years agoUse localtime_r rather than localtime if available.
Adam Dickmeiss [Fri, 16 Sep 2005 21:46:24 +0000 (21:46 +0000)]
Use localtime_r rather than localtime if available.
Only call time(2) and localtime(3) once per yaz_log call.

19 years agoCheck for localtime_r
Adam Dickmeiss [Fri, 16 Sep 2005 21:44:23 +0000 (21:44 +0000)]
Check for localtime_r

19 years agoNew option -w sec for test log utility
Adam Dickmeiss [Fri, 16 Sep 2005 21:14:38 +0000 (21:14 +0000)]
New option -w sec for test log utility

19 years agoFilename passed to yaz_log_init_file assumed to be in strftime format.
Adam Dickmeiss [Fri, 16 Sep 2005 21:13:54 +0000 (21:13 +0000)]
Filename passed to yaz_log_init_file assumed to be in strftime format.
For each yaz_log call strftime is used to make an effective filename.
If different from last yaz_log call, the log file opened. To make
a log that rotates every midnight log%Y%m%d.log (year,month,day) could
be used.

19 years agoRemove C++ style comments. Remove mixed stmt/var decl.
Adam Dickmeiss [Fri, 16 Sep 2005 10:51:05 +0000 (10:51 +0000)]
Remove C++ style comments. Remove mixed stmt/var decl.

19 years agoImplemented logging of authentication info in GFS. Bug #406.
Adam Dickmeiss [Fri, 16 Sep 2005 09:16:40 +0000 (09:16 +0000)]
Implemented logging of authentication info in GFS. Bug #406.

19 years agoBoolrean and rather than bitwise and
Adam Dickmeiss [Fri, 16 Sep 2005 07:05:46 +0000 (07:05 +0000)]
Boolrean and rather than bitwise and

19 years agotickmarks taken out
Marc Cromme [Fri, 16 Sep 2005 06:57:21 +0000 (06:57 +0000)]
tickmarks taken out

19 years agochanged output such that process comes first, then time, then progress. added3D plots
Marc Cromme [Thu, 15 Sep 2005 20:51:16 +0000 (20:51 +0000)]
changed output such that process comes first, then time, then progress. added3D plots

19 years agouse points, no lines
Marc Cromme [Thu, 15 Sep 2005 11:14:22 +0000 (11:14 +0000)]
use points, no lines

19 years agomade progres linearly increasing, and added gnuplot file
Marc Cromme [Thu, 15 Sep 2005 10:38:03 +0000 (10:38 +0000)]
made progres linearly increasing, and added gnuplot file

19 years agoUpdate NEWS with more info about SRU POST + resultSetId stuff
Adam Dickmeiss [Mon, 12 Sep 2005 10:25:13 +0000 (10:25 +0000)]
Update NEWS with more info about SRU POST + resultSetId stuff

19 years agoModified yaz_sru_decode to only perform SRU POST URL decoding if
Adam Dickmeiss [Mon, 12 Sep 2005 10:23:53 +0000 (10:23 +0000)]
Modified yaz_sru_decode to only perform SRU POST URL decoding if
content-type is "application/x-www-form-urlencoded".

19 years agoMention SRU POST
Adam Dickmeiss [Mon, 12 Sep 2005 09:21:44 +0000 (09:21 +0000)]
Mention SRU POST

19 years agoChanged yaz_uri_array to no assume ? in start of URI string. This is
Adam Dickmeiss [Mon, 12 Sep 2005 09:14:57 +0000 (09:14 +0000)]
Changed yaz_uri_array to no assume ? in start of URI string. This is
to fix SRU POST which does not have ? in start of URI string in
HTTP body.

19 years agoFixed SEGV that could occur in Z39.50 v2 mode
Adam Dickmeiss [Mon, 12 Sep 2005 09:13:26 +0000 (09:13 +0000)]
Fixed SEGV that could occur in Z39.50 v2 mode

19 years agoCompatibility fixes for older C compilers. Fixed printf format for
Adam Dickmeiss [Sun, 11 Sep 2005 20:21:27 +0000 (20:21 +0000)]
Compatibility fixes for older C compilers. Fixed printf format for
print of time_t (changed %i to %ld).

19 years agoAdded support for specifying SRW resultSetId + resultSetIdleTime in a
Adam Dickmeiss [Sun, 11 Sep 2005 18:39:10 +0000 (18:39 +0000)]
Added support for specifying SRW resultSetId + resultSetIdleTime in a
Generic Frontend Server's search handler. Patch by Ko van der Sloot.

19 years agoPut declarations before statements to make code work with older
Adam Dickmeiss [Sun, 11 Sep 2005 13:32:39 +0000 (13:32 +0000)]
Put declarations before statements to make code work with older
C compilers.

19 years agopretty formatting with tabs for gnuplot reading
Marc Cromme [Fri, 9 Sep 2005 13:51:43 +0000 (13:51 +0000)]
pretty formatting with tabs for gnuplot reading

19 years agoFixed bug #410: Can not rotate log
Adam Dickmeiss [Fri, 9 Sep 2005 11:29:54 +0000 (11:29 +0000)]
Fixed bug #410: Can not rotate log

19 years agoAdd rules to build tstlog
Adam Dickmeiss [Fri, 9 Sep 2005 11:28:48 +0000 (11:28 +0000)]
Add rules to build tstlog

19 years agoDo not build the separate Multi-threaded (MT) library libyazthread.la.
Adam Dickmeiss [Fri, 9 Sep 2005 10:34:09 +0000 (10:34 +0000)]
Do not build the separate Multi-threaded (MT) library libyazthread.la.
Instead make the library libyaz.la multi-threaded. Threading as a whole
can still be disabled by configure option --disable-threads. Previosly,
with older GLIBCs there were problems with MT libs under Apache. This
has now been fixed a long time ago.

19 years agoMajor log system cleanup. Added various locks for the shared mask_names
Adam Dickmeiss [Fri, 9 Sep 2005 10:33:45 +0000 (10:33 +0000)]
Major log system cleanup. Added various locks for the shared mask_names
global structure. Also added mutex around yaz_log core code. It seems
that vsnprintf or similar is not thread-safe after all (at least
on Solaris 9).

19 years agoChanged nmem_mutex_create so that it properly handles concurrent
Adam Dickmeiss [Fri, 9 Sep 2005 10:32:09 +0000 (10:32 +0000)]
Changed nmem_mutex_create so that it properly handles concurrent
calls. Now, only first thread will initialize the mutex. Others will
do nothing.

19 years agoSet ODR_MAX_STACK to 2000 instead of 10000. It seems that 10000 causes
Adam Dickmeiss [Fri, 9 Sep 2005 10:30:35 +0000 (10:30 +0000)]
Set ODR_MAX_STACK to 2000 instead of 10000. It seems that 10000 causes
a stack overflow in threaded mode on FreeBSD.

19 years agoDocument more tstlog options
Adam Dickmeiss [Fri, 9 Sep 2005 10:20:14 +0000 (10:20 +0000)]
Document more tstlog options

19 years agoFix cpp-if check for POSIX threads
Adam Dickmeiss [Thu, 8 Sep 2005 13:51:27 +0000 (13:51 +0000)]
Fix cpp-if check for POSIX threads

19 years agoAdded test tstlogthread which tests log system in multi threaded mode
Adam Dickmeiss [Thu, 8 Sep 2005 13:25:33 +0000 (13:25 +0000)]
Added test tstlogthread which tests log system in multi threaded mode

19 years agoAdded option (-n) for tstlog to make call yaz_log a number of times
Adam Dickmeiss [Thu, 8 Sep 2005 13:22:58 +0000 (13:22 +0000)]
Added option (-n) for tstlog to make call yaz_log a number of times

19 years agoadded simple benchmark client program written over zoom api
Marc Cromme [Wed, 7 Sep 2005 13:45:15 +0000 (13:45 +0000)]
added simple benchmark client program written over zoom api

19 years agoDocument ZOOM_connection_last_event and the event types
Adam Dickmeiss [Wed, 7 Sep 2005 11:53:25 +0000 (11:53 +0000)]
Document ZOOM_connection_last_event and the event types

19 years agoCall bend_close during init if there is an old handle to release YAZXF2.1.4.2.2.release
Adam Dickmeiss [Tue, 30 Aug 2005 20:13:51 +0000 (20:13 +0000)]
Call bend_close during init if there is an old handle to release

19 years agoyazphp.dsl no longer in use
Adam Dickmeiss [Thu, 25 Aug 2005 12:44:24 +0000 (12:44 +0000)]
yazphp.dsl no longer in use

19 years agoUse proper location for VS C runtime msvcr71.dll
Adam Dickmeiss [Thu, 25 Aug 2005 11:48:26 +0000 (11:48 +0000)]
Use proper location for VS C runtime msvcr71.dll

19 years agoAdded 'exit' as an alternative for 'quit' in yaz-client
Heikki Levanto [Wed, 24 Aug 2005 11:25:34 +0000 (11:25 +0000)]
Added 'exit' as an alternative for 'quit' in yaz-client
(Per's request)

19 years agoMore type casts for char signed/unsigned and xmlChar. Using
Adam Dickmeiss [Mon, 22 Aug 2005 20:34:21 +0000 (20:34 +0000)]
More type casts for char signed/unsigned and xmlChar. Using
xmlStrcmp, xmlStrlen in a few places instead of strcmp/strlen.