yaz-moved-to-github.git
20 years agoprotecting log rotation with a mutex
Heikki Levanto [Tue, 2 Nov 2004 15:47:31 +0000 (15:47 +0000)]
protecting log rotation with a mutex

20 years agoIgnore .lib, .map, .exp
Adam Dickmeiss [Tue, 2 Nov 2004 14:13:11 +0000 (14:13 +0000)]
Ignore .lib, .map, .exp

20 years agoRotating logfile if exceeding a gigabyte
Heikki Levanto [Tue, 2 Nov 2004 14:13:09 +0000 (14:13 +0000)]
Rotating logfile if exceeding a gigabyte
(need to add a semaphore around it, for multithreaded things)

20 years agoNot buffering the log file, unless LOG_FLUSH is set. Reopening if necessary
Heikki Levanto [Tue, 2 Nov 2004 13:52:54 +0000 (13:52 +0000)]
Not buffering the log file, unless LOG_FLUSH is set. Reopening if necessary

20 years agooops, forgot to give a name to LOG_FLUSH. Now added
Heikki Levanto [Tue, 2 Nov 2004 12:57:54 +0000 (12:57 +0000)]
oops, forgot to give a name to LOG_FLUSH. Now added

20 years agoAdded a new log flag LOG_FLUSH that forces flushing the log after every
Heikki Levanto [Tue, 2 Nov 2004 12:55:04 +0000 (12:55 +0000)]
Added a new log flag LOG_FLUSH that forces flushing the log after every
write. Yaz used to do this unconditionally, now it only does if LOG_FLUSH or
LOG_DEBUG are set in the log level. Presumably speeds up stuff that writes
many log entries...

20 years agoyaz_log_time_format sets the format of the timestamp. See man 3 strftime
Heikki Levanto [Tue, 2 Nov 2004 11:37:21 +0000 (11:37 +0000)]
yaz_log_time_format sets the format of the timestamp. See man 3 strftime
Calling with "old" sets to the old format "11:55:06-02/11"
Calling with NULL or "" sets to the new format "20041102-115719"
If not called at all, the old format is used, for backward compatibility

20 years agoUse Sleep(mseconds) on Windows
Adam Dickmeiss [Mon, 1 Nov 2004 21:19:08 +0000 (21:19 +0000)]
Use Sleep(mseconds) on Windows

20 years agoTowards 2.0.27
Adam Dickmeiss [Mon, 1 Nov 2004 20:59:23 +0000 (20:59 +0000)]
Towards 2.0.27

20 years agoReformat a bit
Adam Dickmeiss [Mon, 1 Nov 2004 20:16:44 +0000 (20:16 +0000)]
Reformat a bit

20 years agoFixed bug #148: CQL parser may leak. CQL nodes now allocated using
Adam Dickmeiss [Mon, 1 Nov 2004 20:13:02 +0000 (20:13 +0000)]
Fixed bug #148: CQL parser may leak. CQL nodes now allocated using
NMEM instead of xmalloc. For this reason, few prototypes were changed in
include/yaz/cql.h.

20 years agoBug fix: explainRequest decoder did not initialize some members when
Adam Dickmeiss [Sun, 31 Oct 2004 19:23:22 +0000 (19:23 +0000)]
Bug fix: explainRequest decoder did not initialize some members when
explain record was missing.

20 years agoReturn proper value for --comp (yaz-asncomp)
Adam Dickmeiss [Wed, 27 Oct 2004 08:18:55 +0000 (08:18 +0000)]
Return proper value for --comp (yaz-asncomp)

20 years agoDoxyfile file description. Indentation. No change of code.
Adam Dickmeiss [Fri, 15 Oct 2004 00:18:59 +0000 (00:18 +0000)]
Doxyfile file description. Indentation. No change of code.

20 years agoAdded a sleep command ..
ja7 [Tue, 12 Oct 2004 13:23:46 +0000 (13:23 +0000)]
Added a sleep command ..

20 years agoFix setting of AM_CPPFLAGS
Adam Dickmeiss [Sun, 10 Oct 2004 22:44:34 +0000 (22:44 +0000)]
Fix setting of AM_CPPFLAGS

20 years agoTesting Deb
Adam Dickmeiss [Sun, 10 Oct 2004 22:21:01 +0000 (22:21 +0000)]
Testing Deb

20 years agoRemove make rpm rule that is never used anymore
Adam Dickmeiss [Sun, 10 Oct 2004 22:17:55 +0000 (22:17 +0000)]
Remove make rpm rule that is never used anymore

20 years agoAbort if OpenSSL does not exist and --with-openssl is given
Adam Dickmeiss [Sun, 10 Oct 2004 22:17:29 +0000 (22:17 +0000)]
Abort if OpenSSL does not exist and --with-openssl is given

20 years agoDont define HAVE_WCHAR_H since wchar_t is a 16-bit int rather than a 32-bit
Adam Dickmeiss [Sun, 10 Oct 2004 21:48:18 +0000 (21:48 +0000)]
Dont define HAVE_WCHAR_H since wchar_t is a 16-bit int rather than a 32-bit
int. So wchar_t can't represent the whole UNICODE anyway.

20 years agoUse other type to avoid warning
Adam Dickmeiss [Sun, 10 Oct 2004 21:43:21 +0000 (21:43 +0000)]
Use other type to avoid warning

20 years agoUpdate NEWS with most important changes
Adam Dickmeiss [Sun, 10 Oct 2004 21:12:25 +0000 (21:12 +0000)]
Update NEWS with most important changes

20 years agoFixed bug #176: Dont throw diagnostics on empty SRU args.
Adam Dickmeiss [Sat, 9 Oct 2004 08:49:55 +0000 (08:49 +0000)]
Fixed bug #176: Dont throw diagnostics on empty SRU args.

20 years agoFixed bug #172: surrogate diagnostics in SRW lacking NS.
Adam Dickmeiss [Sat, 9 Oct 2004 08:21:38 +0000 (08:21 +0000)]
Fixed bug #172: surrogate diagnostics in SRW lacking NS.

20 years agoFixed bug #172: RPM builds does not enable SSL.
Adam Dickmeiss [Sat, 9 Oct 2004 08:03:26 +0000 (08:03 +0000)]
Fixed bug #172: RPM builds does not enable SSL.

20 years agoNot in use
Adam Dickmeiss [Thu, 7 Oct 2004 07:42:34 +0000 (07:42 +0000)]
Not in use

20 years agoInitial work for Doxygen based YAZ reference
Adam Dickmeiss [Sun, 3 Oct 2004 22:34:07 +0000 (22:34 +0000)]
Initial work for Doxygen based YAZ reference

20 years agoUpdate documentation about CQL nodes
Adam Dickmeiss [Sat, 2 Oct 2004 13:41:46 +0000 (13:41 +0000)]
Update documentation about CQL nodes

20 years agoRemove unused define CQL_NODE_MOD
Adam Dickmeiss [Sat, 2 Oct 2004 13:41:14 +0000 (13:41 +0000)]
Remove unused define CQL_NODE_MOD

20 years agoAdded several type casts for C++ compile
Adam Dickmeiss [Sat, 2 Oct 2004 13:28:26 +0000 (13:28 +0000)]
Added several type casts for C++ compile

20 years agoAdd --with-xml2 to RPM spec
Adam Dickmeiss [Sat, 2 Oct 2004 13:27:26 +0000 (13:27 +0000)]
Add --with-xml2 to RPM spec

20 years agoAdd --with-xml2 to configure
Adam Dickmeiss [Fri, 1 Oct 2004 23:01:57 +0000 (23:01 +0000)]
Add --with-xml2 to configure

20 years agoIf --with-xml2, --enable-tcpd is given and they cannot be found,
Adam Dickmeiss [Fri, 1 Oct 2004 23:01:26 +0000 (23:01 +0000)]
If --with-xml2, --enable-tcpd is given and they cannot be found,
configure stops.

20 years agoExtend CCL chapter. Describe r=r
Adam Dickmeiss [Fri, 1 Oct 2004 19:34:09 +0000 (19:34 +0000)]
Extend CCL chapter. Describe r=r

20 years agoNo TESTS here YAZ.2.0.26
Adam Dickmeiss [Fri, 1 Oct 2004 13:16:30 +0000 (13:16 +0000)]
No TESTS here

20 years agoAdded ()s to avoid warning.
Adam Dickmeiss [Fri, 1 Oct 2004 13:16:18 +0000 (13:16 +0000)]
Added ()s to avoid warning.

20 years agoTowards 2.0.26
Adam Dickmeiss [Fri, 1 Oct 2004 13:05:09 +0000 (13:05 +0000)]
Towards 2.0.26

20 years agoFixed MARC utilities to use proper conversion to XML CDATA for subfields,
Adam Dickmeiss [Fri, 1 Oct 2004 11:45:48 +0000 (11:45 +0000)]
Fixed MARC utilities to use proper conversion to XML CDATA for subfields,
tags, etc. to ensure validity of generated MARCXML records and others.

20 years agoPrevent XML CDATA with ASCII control chars (except TAB,CR,LF)
Adam Dickmeiss [Fri, 1 Oct 2004 11:44:46 +0000 (11:44 +0000)]
Prevent XML CDATA with ASCII control chars (except TAB,CR,LF)

20 years agoAdding test for MARC->MARCXML conversions with 3 weird records
Adam Dickmeiss [Fri, 1 Oct 2004 11:43:43 +0000 (11:43 +0000)]
Adding test for MARC->MARCXML conversions with 3 weird records

20 years agoServer returns surrogate diagnostic 14: "System error in presenting
Adam Dickmeiss [Thu, 30 Sep 2004 21:54:22 +0000 (21:54 +0000)]
Server returns surrogate diagnostic 14: "System error in presenting
records" when single record cannot be converted to XML.

20 years agoConvert Z39.50 surrogate diagnostics to SRW diagnostics. Return SRW
Adam Dickmeiss [Thu, 30 Sep 2004 21:51:59 +0000 (21:51 +0000)]
Convert Z39.50 surrogate diagnostics to SRW diagnostics. Return SRW
diagnostic 61: "First record position out of range", properly.

20 years agoRephrase
Adam Dickmeiss [Thu, 30 Sep 2004 18:40:27 +0000 (18:40 +0000)]
Rephrase

20 years agoBug fix: YAZ GFS did not return schema in explainResponse.
Adam Dickmeiss [Thu, 30 Sep 2004 18:40:13 +0000 (18:40 +0000)]
Bug fix: YAZ GFS did not return schema in explainResponse.

20 years agoTowards 2.0.25
Adam Dickmeiss [Thu, 30 Sep 2004 11:23:25 +0000 (11:23 +0000)]
Towards 2.0.25

20 years agoAdded typecast and removed bad assignment
Adam Dickmeiss [Thu, 30 Sep 2004 11:15:52 +0000 (11:15 +0000)]
Added typecast and removed bad assignment

20 years agoThe YAZ GFS when converting SRW/SRU requests to Z39.50 structures
Adam Dickmeiss [Thu, 30 Sep 2004 11:13:42 +0000 (11:13 +0000)]
The YAZ GFS when converting SRW/SRU requests to Z39.50 structures
now converts recordSchema to elementSetName as well as schema URI.

20 years agoCreate NMEM automatically for odr_{str,int}dup.
Adam Dickmeiss [Thu, 30 Sep 2004 11:06:41 +0000 (11:06 +0000)]
Create NMEM automatically for odr_{str,int}dup.

20 years agoFix serious bug regarding HTTP requests (introduced in YAZ 2.0.24)
Adam Dickmeiss [Thu, 30 Sep 2004 10:00:17 +0000 (10:00 +0000)]
Fix serious bug regarding HTTP requests (introduced in YAZ 2.0.24)

20 years agoWe added new functions so require 2.0.24 if YAZ is used. YAZ.2.0.24
Adam Dickmeiss [Wed, 29 Sep 2004 21:08:22 +0000 (21:08 +0000)]
We added new functions so require 2.0.24 if YAZ is used.

20 years agoTowards YAZ 2.0.24
Adam Dickmeiss [Wed, 29 Sep 2004 20:44:44 +0000 (20:44 +0000)]
Towards YAZ 2.0.24

20 years agoAdded CCL facility r=r "range" which is similar to r=o "ordered"
Adam Dickmeiss [Wed, 29 Sep 2004 20:37:50 +0000 (20:37 +0000)]
Added CCL facility r=r "range" which is similar to r=o "ordered"
but does not require white-space before and after the dash, e.g.
x=-1990 is equivalent to x <= 1990 iff r=r, but equivalent to
x= -1980 iff r=o. Added CCL tests for ranges.
Fixed memory leak in CCL parser that occurred when proximity was used.

20 years agoAdded include stdlib.h
Adam Dickmeiss [Wed, 29 Sep 2004 20:15:42 +0000 (20:15 +0000)]
Added include stdlib.h

20 years agoRemove unused variables
Adam Dickmeiss [Wed, 29 Sep 2004 20:14:56 +0000 (20:14 +0000)]
Remove unused variables

20 years agoRephrase info about option -m
Adam Dickmeiss [Wed, 22 Sep 2004 19:22:24 +0000 (19:22 +0000)]
Rephrase info about option -m

20 years agoDocument scanpos and scanstep
Adam Dickmeiss [Wed, 22 Sep 2004 19:22:08 +0000 (19:22 +0000)]
Document scanpos and scanstep

20 years agoNotes about changes
Adam Dickmeiss [Wed, 22 Sep 2004 19:12:53 +0000 (19:12 +0000)]
Notes about changes

20 years agoDo not declare static function f in AC_TRY_LINK test. It is
Adam Dickmeiss [Wed, 22 Sep 2004 14:50:04 +0000 (14:50 +0000)]
Do not declare static function f in AC_TRY_LINK test. It is
not necessary but more importanly the function f gets optimized
away which resulted in error(s) in test result.

20 years agoDebian yaz-2.0.23-3
Adam Dickmeiss [Wed, 22 Sep 2004 13:58:10 +0000 (13:58 +0000)]
Debian yaz-2.0.23-3

20 years agoAdded commands scanpos and scanstep that sets preferred position and
Adam Dickmeiss [Wed, 22 Sep 2004 13:21:37 +0000 (13:21 +0000)]
Added commands scanpos and scanstep that sets preferred position and
scan step respectively. Renamed cmd stepsize to scanstep.

20 years agoAdd command stepsize that sets stepSize for Scan (default 0)
Adam Dickmeiss [Wed, 22 Sep 2004 13:08:31 +0000 (13:08 +0000)]
Add command stepsize that sets stepSize for Scan (default 0)

20 years agoAdd prototype for ccl_qual_buf.
Adam Dickmeiss [Wed, 22 Sep 2004 12:17:24 +0000 (12:17 +0000)]
Add prototype for ccl_qual_buf.

20 years agoWindows 2.0.23-6
Adam Dickmeiss [Wed, 22 Sep 2004 11:22:10 +0000 (11:22 +0000)]
Windows 2.0.23-6

20 years agoAdded CCL utility ccl_qual_buf which parses one or more CCL
Adam Dickmeiss [Wed, 22 Sep 2004 11:21:51 +0000 (11:21 +0000)]
Added CCL utility ccl_qual_buf which parses one or more CCL
spec lines in a buffer.

20 years agoPrepare for new Debian
Adam Dickmeiss [Wed, 22 Sep 2004 09:30:42 +0000 (09:30 +0000)]
Prepare for new Debian

20 years agoFix saving of SRW query for show. Bug introduced by previous commit so
Adam Dickmeiss [Tue, 21 Sep 2004 16:28:17 +0000 (16:28 +0000)]
Fix saving of SRW query for show. Bug introduced by previous commit so
no official YAZ release was affected.

20 years agoFix problem with decoding of HTTP responses with no Content Length
Adam Dickmeiss [Tue, 21 Sep 2004 14:59:01 +0000 (14:59 +0000)]
Fix problem with decoding of HTTP responses with no Content Length
specified.

20 years agoRemove Id from header due to inconvenient diffs when yaz.m4 is copied
Adam Dickmeiss [Fri, 17 Sep 2004 08:44:23 +0000 (08:44 +0000)]
Remove Id from header due to inconvenient diffs when yaz.m4 is copied

20 years agoRephrased comment in NEWS
Adam Dickmeiss [Thu, 16 Sep 2004 17:59:52 +0000 (17:59 +0000)]
Rephrased comment in NEWS

20 years agoIf queryType is prefix, yaz-client sends PQF to SRW server.
Adam Dickmeiss [Mon, 13 Sep 2004 09:24:42 +0000 (09:24 +0000)]
If queryType is prefix, yaz-client sends PQF to SRW server.

20 years agoLog CCL and Z39.58 queries
Adam Dickmeiss [Mon, 13 Sep 2004 09:23:33 +0000 (09:23 +0000)]
Log CCL and Z39.58 queries

20 years agooption --with-yazconfig renamed to --with-yaz
Adam Dickmeiss [Sat, 11 Sep 2004 20:52:14 +0000 (20:52 +0000)]
option --with-yazconfig renamed to --with-yaz

20 years agoFor SRW, do not set numberOfRecords when diagnostic is returned
Adam Dickmeiss [Fri, 10 Sep 2004 11:28:58 +0000 (11:28 +0000)]
For SRW, do not set numberOfRecords when diagnostic is returned

20 years agoDTD_DIR assignment
Adam Dickmeiss [Thu, 9 Sep 2004 09:54:37 +0000 (09:54 +0000)]
DTD_DIR assignment

20 years agoAlign text in configure --help
Adam Dickmeiss [Thu, 9 Sep 2004 09:53:08 +0000 (09:53 +0000)]
Align text in configure --help

20 years agoDescribe with-yazconfig change
Adam Dickmeiss [Thu, 9 Sep 2004 09:51:16 +0000 (09:51 +0000)]
Describe with-yazconfig change

20 years agoRename Docbook related --with options to --with-docbook-{dtd,dsssl,xsl}.
Adam Dickmeiss [Thu, 9 Sep 2004 09:40:04 +0000 (09:40 +0000)]
Rename Docbook related --with options to --with-docbook-{dtd,dsssl,xsl}.
Rename --with-yazconfig to --with-yaz-config.

20 years agoManually test for OCLC UI OID and print
Adam Dickmeiss [Fri, 3 Sep 2004 18:55:59 +0000 (18:55 +0000)]
Manually test for OCLC UI OID and print

20 years agoDo not decode OCLC UI by default.
Adam Dickmeiss [Fri, 3 Sep 2004 18:55:19 +0000 (18:55 +0000)]
Do not decode OCLC UI by default.

20 years agoClear ODR error in odr_setbuf
Adam Dickmeiss [Tue, 24 Aug 2004 08:44:10 +0000 (08:44 +0000)]
Clear ODR error in odr_setbuf

20 years agoyazd.{dll,lib} instead of yazdebug.{dll,lib}.
Adam Dickmeiss [Thu, 19 Aug 2004 07:47:59 +0000 (07:47 +0000)]
yazd.{dll,lib} instead of yazdebug.{dll,lib}.

20 years agoDistribute msvcr71.dll with dist. Do not distribute yaz debug DLLs.
Adam Dickmeiss [Thu, 19 Aug 2004 07:42:20 +0000 (07:42 +0000)]
Distribute msvcr71.dll with dist. Do not distribute yaz debug DLLs.

20 years agoRephrase comment about windows DLL/lib
Adam Dickmeiss [Thu, 19 Aug 2004 07:36:55 +0000 (07:36 +0000)]
Rephrase comment about windows DLL/lib

20 years agoMake sure dll,client,ztest rules depend on dirs,generate
Adam Dickmeiss [Wed, 18 Aug 2004 10:47:48 +0000 (10:47 +0000)]
Make sure dll,client,ztest rules depend on dirs,generate

20 years agoBump minor win version
Adam Dickmeiss [Wed, 18 Aug 2004 10:05:20 +0000 (10:05 +0000)]
Bump minor win version

20 years agoAdded CCL utility ccl_qual_line which adds CCL qualifier line consisting
Adam Dickmeiss [Wed, 18 Aug 2004 10:03:01 +0000 (10:03 +0000)]
Added CCL utility ccl_qual_line which adds CCL qualifier line consisting
of name and value - ignoring empty lines and comments.

20 years agoAdding to interface so update shlib depds
Adam Dickmeiss [Wed, 18 Aug 2004 10:01:07 +0000 (10:01 +0000)]
Adding to interface so update shlib depds

20 years agoDo not build debug mode exe files for dist (nsis rule)
Adam Dickmeiss [Wed, 18 Aug 2004 09:43:10 +0000 (09:43 +0000)]
Do not build debug mode exe files for dist (nsis rule)

20 years agoDocument the changes WRT WIN32 debug DLL/lib.
Adam Dickmeiss [Wed, 18 Aug 2004 09:08:58 +0000 (09:08 +0000)]
Document the changes WRT WIN32 debug DLL/lib.

20 years agoUse yazdebug.{dll,lib} for debug version of YAZ to allow both debug/release
Adam Dickmeiss [Wed, 18 Aug 2004 09:01:13 +0000 (09:01 +0000)]
Use yazdebug.{dll,lib} for debug version of YAZ to allow both debug/release
version of YAZ to be in use. Debug libraries are now part of WIn32 install.

20 years agoYAZ 2.0.23-3
Adam Dickmeiss [Fri, 13 Aug 2004 12:59:50 +0000 (12:59 +0000)]
YAZ 2.0.23-3

20 years agoRephrase
Adam Dickmeiss [Fri, 13 Aug 2004 12:54:37 +0000 (12:54 +0000)]
Rephrase

20 years agoCast to unsigned char to prevent assert in MS. Studio .NET
Adam Dickmeiss [Fri, 13 Aug 2004 11:36:48 +0000 (11:36 +0000)]
Cast to unsigned char to prevent assert in MS. Studio .NET

20 years agoCast to unsigned char to prevent assert in MS Studio .NET.
Adam Dickmeiss [Fri, 13 Aug 2004 11:35:37 +0000 (11:35 +0000)]
Cast to unsigned char to prevent assert in MS Studio .NET.

20 years agoRemove unused variable
Adam Dickmeiss [Fri, 13 Aug 2004 08:59:07 +0000 (08:59 +0000)]
Remove unused variable

20 years agoMove declaration to start of block
Adam Dickmeiss [Fri, 13 Aug 2004 08:58:59 +0000 (08:58 +0000)]
Move declaration to start of block

20 years agoMake clean removes .pdf too
Adam Dickmeiss [Fri, 13 Aug 2004 08:40:19 +0000 (08:40 +0000)]
Make clean removes .pdf too

20 years agoReworked odr_set_stream a bit, so that write handler now takes a
Adam Dickmeiss [Fri, 13 Aug 2004 07:30:05 +0000 (07:30 +0000)]
Reworked odr_set_stream a bit, so that write handler now takes a
buffer and a length + ODR handle. Also implement odr_get_element_path
that returns current path of elements.

20 years agoAdded Larry E. Dixson
Adam Dickmeiss [Fri, 13 Aug 2004 07:26:28 +0000 (07:26 +0000)]
Added Larry E. Dixson

20 years agoFixed bug in CCL parser where truncation char was not removed when
Adam Dickmeiss [Wed, 11 Aug 2004 20:13:36 +0000 (20:13 +0000)]
Fixed bug in CCL parser where truncation char was not removed when
truncation=both was in effect.