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.
Adam Dickmeiss [Sat, 22 Oct 2005 13:28:03 +0000 (13:28 +0000)]
Do not use // comments
Adam Dickmeiss [Sat, 22 Oct 2005 13:27:29 +0000 (13:27 +0000)]
tstlogthread by default prints nothing
Adam Dickmeiss [Sat, 22 Oct 2005 13:13:56 +0000 (13:13 +0000)]
yaz-benchmark uses yaz options rather than getopt
Sebastian Hammer [Thu, 20 Oct 2005 19:28:03 +0000 (19:28 +0000)]
Added option -m to GFS to control formatting of time stamps.
Mike Taylor [Mon, 17 Oct 2005 12:29:44 +0000 (12:29 +0000)]
Add ZOOM_connection_option_getl() -- very thin layer.
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().
Mike Taylor [Mon, 17 Oct 2005 12:25:39 +0000 (12:25 +0000)]
Add int len to struct ZOOM_options_entry.
Mike Taylor [Mon, 17 Oct 2005 12:25:04 +0000 (12:25 +0000)]
Add ZOOM_connection_option_getl() and ZOOM_options_getl()
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.
Adam Dickmeiss [Tue, 11 Oct 2005 18:24:33 +0000 (18:24 +0000)]
Move ZOOM_task definition to private ZOOM header
Adam Dickmeiss [Tue, 27 Sep 2005 17:52:46 +0000 (17:52 +0000)]
Added wrbuf_chlp_right
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.
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.
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
Marc Cromme [Tue, 20 Sep 2005 11:29:03 +0000 (11:29 +0000)]
counting ewrror corrected such that multiple repeats do work correctly
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
Adam Dickmeiss [Mon, 19 Sep 2005 19:18:48 +0000 (19:18 +0000)]
Added ignore of zoom-benchmark program
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
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.
Adam Dickmeiss [Fri, 16 Sep 2005 21:44:23 +0000 (21:44 +0000)]
Check for localtime_r
Adam Dickmeiss [Fri, 16 Sep 2005 21:14:38 +0000 (21:14 +0000)]
New option -w sec for test log utility
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.
Adam Dickmeiss [Fri, 16 Sep 2005 10:51:05 +0000 (10:51 +0000)]
Remove C++ style comments. Remove mixed stmt/var decl.
Adam Dickmeiss [Fri, 16 Sep 2005 09:16:40 +0000 (09:16 +0000)]
Implemented logging of authentication info in GFS. Bug #406.
Adam Dickmeiss [Fri, 16 Sep 2005 07:05:46 +0000 (07:05 +0000)]
Boolrean and rather than bitwise and
Marc Cromme [Fri, 16 Sep 2005 06:57:21 +0000 (06:57 +0000)]
tickmarks taken out
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
Marc Cromme [Thu, 15 Sep 2005 11:14:22 +0000 (11:14 +0000)]
use points, no lines
Marc Cromme [Thu, 15 Sep 2005 10:38:03 +0000 (10:38 +0000)]
made progres linearly increasing, and added gnuplot file
Adam Dickmeiss [Mon, 12 Sep 2005 10:25:13 +0000 (10:25 +0000)]
Update NEWS with more info about SRU POST + resultSetId stuff
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".
Adam Dickmeiss [Mon, 12 Sep 2005 09:21:44 +0000 (09:21 +0000)]
Mention SRU POST
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.
Adam Dickmeiss [Mon, 12 Sep 2005 09:13:26 +0000 (09:13 +0000)]
Fixed SEGV that could occur in Z39.50 v2 mode
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).
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.
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.
Marc Cromme [Fri, 9 Sep 2005 13:51:43 +0000 (13:51 +0000)]
pretty formatting with tabs for gnuplot reading
Adam Dickmeiss [Fri, 9 Sep 2005 11:29:54 +0000 (11:29 +0000)]
Fixed bug #410: Can not rotate log
Adam Dickmeiss [Fri, 9 Sep 2005 11:28:48 +0000 (11:28 +0000)]
Add rules to build tstlog
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.
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).
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.
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.
Adam Dickmeiss [Fri, 9 Sep 2005 10:20:14 +0000 (10:20 +0000)]
Document more tstlog options
Adam Dickmeiss [Thu, 8 Sep 2005 13:51:27 +0000 (13:51 +0000)]
Fix cpp-if check for POSIX threads
Adam Dickmeiss [Thu, 8 Sep 2005 13:25:33 +0000 (13:25 +0000)]
Added test tstlogthread which tests log system in multi threaded mode
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
Marc Cromme [Wed, 7 Sep 2005 13:45:15 +0000 (13:45 +0000)]
added simple benchmark client program written over zoom api
Adam Dickmeiss [Wed, 7 Sep 2005 11:53:25 +0000 (11:53 +0000)]
Document ZOOM_connection_last_event and the event types
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
Adam Dickmeiss [Thu, 25 Aug 2005 12:44:24 +0000 (12:44 +0000)]
yazphp.dsl no longer in use
Adam Dickmeiss [Thu, 25 Aug 2005 11:48:26 +0000 (11:48 +0000)]
Use proper location for VS C runtime msvcr71.dll
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)
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.
Adam Dickmeiss [Thu, 18 Aug 2005 18:42:37 +0000 (18:42 +0000)]
Updated to use libxml 2.6.20, zlib 1.2.3
Adam Dickmeiss [Thu, 11 Aug 2005 14:21:55 +0000 (14:21 +0000)]
Increase the ODR stack size. Use different stack data structure
for ODR constructed stack.
Adam Dickmeiss [Thu, 11 Aug 2005 14:19:28 +0000 (14:19 +0000)]
Make test fail if circular refenced ODR does not fail
Adam Dickmeiss [Thu, 11 Aug 2005 14:09:07 +0000 (14:09 +0000)]
Added tstodrstack to this
Adam Dickmeiss [Thu, 11 Aug 2005 14:08:38 +0000 (14:08 +0000)]
Test with 100 level query and another with circular refernce
Adam Dickmeiss [Thu, 11 Aug 2005 14:00:43 +0000 (14:00 +0000)]
Added test for bad ODR nesting
Adam Dickmeiss [Wed, 10 Aug 2005 09:12:53 +0000 (09:12 +0000)]
Added some news items collected frmo CVS
Adam Dickmeiss [Wed, 10 Aug 2005 09:02:43 +0000 (09:02 +0000)]
Removed /usr/share/yaz/etc from libyaz. All /usr/share/yaz content is now
part of libyaz-dev.
Adam Dickmeiss [Tue, 9 Aug 2005 18:29:35 +0000 (18:29 +0000)]
Fixed setting of record syntax for Extended Service update in ZOOM
Adam Dickmeiss [Fri, 5 Aug 2005 09:36:15 +0000 (09:36 +0000)]
Added missing start tag
Adam Dickmeiss [Fri, 22 Jul 2005 06:23:14 +0000 (06:23 +0000)]
Implemented 'show all' command. Bug #398. Patch by Rob Styles.
Mike Taylor [Tue, 19 Jul 2005 12:41:20 +0000 (12:41 +0000)]
Note TCP/IP backlog change.
Mike Taylor [Tue, 19 Jul 2005 12:40:52 +0000 (12:40 +0000)]
Increase TCP/IP listener backlog from 3 (which I am guessing was
copied from the SunOS manual entry way back when) so SOMAXCONN, so
that the socket will queue as many incoming connections as it's able
to handle ongoing connections. In other words, it will never now
refuse a connection that it would be able to handle merely because
it's not got around to accepting() enough of the pending connections
yet. This is the behaviour anyway under Linux, where the listen()
argument is ignored; but not under BSD and on systems such as
MS-Windows that use BSD-derived TCP/IP stacks. The behaviour of
YAZ-based servers should now be uniform across operating systems in
this respect.
Marc Cromme [Mon, 18 Jul 2005 10:07:21 +0000 (10:07 +0000)]
started new developmenr version number to make side-by-side compilation with zebra feasable on debian systems
Marc Cromme [Mon, 18 Jul 2005 10:06:36 +0000 (10:06 +0000)]
added some package names to message
Adam Dickmeiss [Thu, 30 Jun 2005 08:34:01 +0000 (08:34 +0000)]
Check for open connection and proper protocol for update and xmles
commands.
Fixed uinitialized member in xmles.
Adam Dickmeiss [Wed, 29 Jun 2005 22:52:54 +0000 (22:52 +0000)]
Pick latest Docbook XML DTD for 4.X
Adam Dickmeiss [Mon, 27 Jun 2005 22:03:59 +0000 (22:03 +0000)]
Case insensitive CQL relations/indexes/operations.
Adam Dickmeiss [Sat, 25 Jun 2005 15:46:01 +0000 (15:46 +0000)]
Expanded tabs in all source files. Added vim/emacs local variables
trailer.
Adam Dickmeiss [Sat, 25 Jun 2005 15:42:19 +0000 (15:42 +0000)]
Print ext command in help
Adam Dickmeiss [Fri, 24 Jun 2005 19:56:52 +0000 (19:56 +0000)]
WS updates. No code changes
Adam Dickmeiss [Fri, 24 Jun 2005 12:50:46 +0000 (12:50 +0000)]
Add OID for External XMLES too
Adam Dickmeiss [Thu, 23 Jun 2005 15:03:40 +0000 (15:03 +0000)]
Fix relationModifier handling (incorrect value in check was used).
Adam Dickmeiss [Thu, 23 Jun 2005 13:09:42 +0000 (13:09 +0000)]
Changed xmles command to take OID + doc as parameter (previous
version only took doc).
Adam Dickmeiss [Tue, 21 Jun 2005 07:34:26 +0000 (07:34 +0000)]
Describe new comman xmles. Update doc for Item Update.
Adam Dickmeiss [Tue, 21 Jun 2005 07:33:08 +0000 (07:33 +0000)]
Rename VAL_XMLUPDATE to XML_XMLES bacuase this is an XML extended
service type facility rather than Update facility.
Adam Dickmeiss [Thu, 16 Jun 2005 09:05:10 +0000 (09:05 +0000)]
For RPM spec, use License: rather than Copyright: (obsolete)
Adam Dickmeiss [Mon, 13 Jun 2005 10:27:00 +0000 (10:27 +0000)]
For GFS, allow field record in bend_fetch_rr to hold NULL - meaning
that record could not be returned and out of range. This present
response will simply not include the record. Useful for Zebra 1.4
where approximate hit count is returned.
Adam Dickmeiss [Fri, 10 Jun 2005 17:56:35 +0000 (17:56 +0000)]
Update year in copyright message
Adam Dickmeiss [Thu, 9 Jun 2005 18:47:07 +0000 (18:47 +0000)]
LFS mode for yaz-marcdump so that it can read large ISO2709 files
Adam Dickmeiss [Wed, 8 Jun 2005 12:34:05 +0000 (12:34 +0000)]
Fix problem with pointer to last init response being corrupt
due to set_auto_wait=off. If we have not yet received init response
we assume option is set.
Adam Dickmeiss [Wed, 8 Jun 2005 11:22:15 +0000 (11:22 +0000)]
Describe new yaz-client commands wait_response and set_auto_wait.
Adam Dickmeiss [Wed, 8 Jun 2005 09:11:17 +0000 (09:11 +0000)]
Bump version to 2.1.9.
Adam Dickmeiss [Wed, 8 Jun 2005 09:11:03 +0000 (09:11 +0000)]
Fixed wait_response handling so to deal with proper number of
responses.
Adam Dickmeiss [Tue, 7 Jun 2005 19:51:45 +0000 (19:51 +0000)]
More NEWS
Adam Dickmeiss [Tue, 7 Jun 2005 19:47:31 +0000 (19:47 +0000)]
Use size_t for NMEM's get_block. Change space-left check to
avoid signed/unsigned-ness problems.
Adam Dickmeiss [Tue, 7 Jun 2005 19:31:40 +0000 (19:31 +0000)]
Towards 2.1.8.
Adam Dickmeiss [Tue, 7 Jun 2005 19:25:38 +0000 (19:25 +0000)]
Fixed bug in yaz_marc_decode_buf. By mistake the routine appended
MARC output rather than returning "new" buffer.
Adam Dickmeiss [Mon, 6 Jun 2005 17:34:58 +0000 (17:34 +0000)]
Avoid mixed stmt, var declare
Adam Dickmeiss [Mon, 6 Jun 2005 12:32:03 +0000 (12:32 +0000)]
Allow log level to be set for zoomsh
Adam Dickmeiss [Mon, 6 Jun 2005 12:23:47 +0000 (12:23 +0000)]
Make a zoom,zoomdetails log level and try to make logging more
consistent in ZOOM C.
Adam Dickmeiss [Mon, 6 Jun 2005 10:45:33 +0000 (10:45 +0000)]
Re-organize top-level code so main functions does less work.
Adam Dickmeiss [Mon, 6 Jun 2005 10:37:14 +0000 (10:37 +0000)]
Internal package 2.1.7-1 for testing.
Adam Dickmeiss [Mon, 6 Jun 2005 10:29:33 +0000 (10:29 +0000)]
Add support for privately defined extended service, xml update, with
OID 1.2.840.10003.9.1000.105.4.