yaz-moved-to-github.git
14 years agoMinor PQF encoding and decoding changes; reformat
Adam Dickmeiss [Fri, 4 Jun 2010 11:23:11 +0000 (13:23 +0200)]
Minor PQF encoding and decoding changes; reformat

PQF decoding: attribute values that contain any non-digits are
treated as string attributes (previously decoding only checked
for leading character ([0-9]).

PQF encoding: attribute string values are not surrounded by
double-quotes.

14 years agoPQF parser: use odr_atoi for Odr_int (not atoi)
Adam Dickmeiss [Fri, 4 Jun 2010 09:30:11 +0000 (11:30 +0200)]
PQF parser: use odr_atoi for Odr_int (not atoi)

14 years agoGFS example: set output_format
Adam Dickmeiss [Tue, 1 Jun 2010 09:26:07 +0000 (11:26 +0200)]
GFS example: set output_format

14 years agoGFS fetch: issue warning if output_format is unset
Adam Dickmeiss [Tue, 1 Jun 2010 09:23:41 +0000 (11:23 +0200)]
GFS fetch: issue warning if output_format is unset

14 years agoVersion 4.0.9-2 v4.0.9
Adam Dickmeiss [Fri, 21 May 2010 09:56:44 +0000 (11:56 +0200)]
Version 4.0.9-2

14 years agoSummarize news
Adam Dickmeiss [Fri, 21 May 2010 09:55:27 +0000 (11:55 +0200)]
Summarize news

14 years agoSupport for timeout event in yaz_poll_select
Dennis Schafroth [Thu, 20 May 2010 14:26:52 +0000 (16:26 +0200)]
Support for timeout event in yaz_poll_select

Timeout events does not have a valid file descriptor but is below 0.

14 years agoMerge branch 'master' of ssh://git.indexdata.com/home/git/pub/yaz
Dennis Schafroth [Thu, 20 May 2010 14:25:31 +0000 (16:25 +0200)]
Merge branch 'master' of ssh://git.indexdata.com/home/git/pub/yaz

14 years agoAdd various #if HAVE_- for headers
Adam Dickmeiss [Thu, 20 May 2010 12:15:32 +0000 (14:15 +0200)]
Add various #if HAVE_- for headers

14 years agoAdd socket pipe utility
Adam Dickmeiss [Thu, 20 May 2010 11:32:48 +0000 (13:32 +0200)]
Add socket pipe utility

The socket pipe has same purpose as Unix pipe . Unfortunately
Windows pipes do not work on select/poll.

14 years agoDLL export yaz_match_glob
Adam Dickmeiss [Wed, 19 May 2010 14:11:02 +0000 (16:11 +0200)]
DLL export yaz_match_glob

14 years agoVersion 4.0.9
Adam Dickmeiss [Wed, 19 May 2010 13:20:34 +0000 (15:20 +0200)]
Version 4.0.9

14 years agoyaz_cond_create returns 0 if threads is unavail
Adam Dickmeiss [Wed, 19 May 2010 13:14:43 +0000 (15:14 +0200)]
yaz_cond_create returns 0 if threads is unavail

14 years agoMake yaz_thread functions work on Windows
Adam Dickmeiss [Wed, 19 May 2010 12:39:48 +0000 (14:39 +0200)]
Make yaz_thread functions work on Windows

14 years agodirent.h: export DLL functions
Adam Dickmeiss [Wed, 19 May 2010 12:39:34 +0000 (14:39 +0200)]
dirent.h: export DLL functions

14 years agoAdd yaz_thread_{create,join,detach}
Adam Dickmeiss [Wed, 19 May 2010 11:43:01 +0000 (13:43 +0200)]
Add yaz_thread_{create,join,detach}

These are simple wrappers for POSIX threads for now

14 years agoWin makefile: omit /machine:i386 link option
unknown [Wed, 19 May 2010 09:08:36 +0000 (11:08 +0200)]
Win makefile: omit /machine:i386 link option

Conflicts on Win64 and is unnecessary on Win32.

14 years agoFix retval check of SleepConditionVariableCS
unknown [Wed, 19 May 2010 08:52:46 +0000 (10:52 +0200)]
Fix retval check of SleepConditionVariableCS

SleepConditionVariableCS of Windows returns non-zero on success;
zero on failure (opposite of pthread_cond_timedwait).

14 years agoUpdate doc/common (Unxutils URL)
Adam Dickmeiss [Wed, 19 May 2010 08:30:14 +0000 (10:30 +0200)]
Update doc/common (Unxutils URL)

14 years agoMake a link for Tcl
Adam Dickmeiss [Wed, 19 May 2010 08:30:12 +0000 (10:30 +0200)]
Make a link for Tcl

14 years agoRPM libyaz4-devel: no *.la and less dependencies
Adam Dickmeiss [Mon, 17 May 2010 11:41:59 +0000 (13:41 +0200)]
RPM libyaz4-devel: no *.la and less dependencies

Because libyaz4-devel no longer includes *.la files we can
remove the dependency to gnutls-devel and tcpd-devel

14 years agolibyaz4-dev no longer depends on libgnutls-dev
Adam Dickmeiss [Mon, 17 May 2010 11:40:22 +0000 (13:40 +0200)]
libyaz4-dev no longer depends on libgnutls-dev

Because libyaz4-dev no longer include *.la files which screw
things up.

14 years agoMerge branch 'master' of ssh://git.indexdata.com/home/git/pub/yaz
Dennis Schafroth [Mon, 17 May 2010 10:38:49 +0000 (12:38 +0200)]
Merge branch 'master' of ssh://git.indexdata.com/home/git/pub/yaz

14 years agozoomsh: show record do NOT render opac
Adam Dickmeiss [Mon, 17 May 2010 10:29:08 +0000 (12:29 +0200)]
zoomsh: show record do NOT render opac

zoomsh's show command no longer renders "opac" by default. Only
the one the user asks for; besides the buffered would be MANGLED
because we were using two buffers from ZOOM_record_get at the
same time (one would have to be copied first).

14 years agoMerge branch 'master' of ssh://git.indexdata.com/home/git/pub/yaz
Dennis Schafroth [Mon, 17 May 2010 09:24:51 +0000 (11:24 +0200)]
Merge branch 'master' of ssh://git.indexdata.com/home/git/pub/yaz

14 years ago4.0.8-2 (without *.la files)
Adam Dickmeiss [Mon, 17 May 2010 08:42:53 +0000 (10:42 +0200)]
4.0.8-2 (without *.la files)

14 years agoRemove *.la files.
Adam Dickmeiss [Wed, 12 May 2010 12:28:34 +0000 (14:28 +0200)]
Remove *.la files.

http://wiki.debian.org/ReleaseGoals/LAFileRemoval

14 years agoFix typo in deb version v4.0.8
Adam Dickmeiss [Tue, 11 May 2010 11:35:20 +0000 (13:35 +0200)]
Fix typo in deb version

14 years agoVersion 4.0.8
Adam Dickmeiss [Tue, 11 May 2010 10:46:28 +0000 (12:46 +0200)]
Version 4.0.8

14 years agolibyaz4-dev depends on libgnutls-dev again
Adam Dickmeiss [Tue, 11 May 2010 10:33:55 +0000 (12:33 +0200)]
libyaz4-dev depends on libgnutls-dev again

For Libtool applications using YAZ, the .la file still refers to
libgnutls libraries despite the fact the application do not use
it at all.

14 years agoMerge branch 'master' of ssh://git.indexdata.com/home/git/pub/yaz
Dennis Schafroth [Mon, 10 May 2010 08:15:38 +0000 (10:15 +0200)]
Merge branch 'master' of ssh://git.indexdata.com/home/git/pub/yaz

14 years agoAdd detail logging of record create/destroy
Dennis Schafroth [Mon, 10 May 2010 08:15:34 +0000 (10:15 +0200)]
Add detail logging of record create/destroy

14 years agoZOOM: resultsets not ref counted by connections
Adam Dickmeiss [Fri, 7 May 2010 22:25:09 +0000 (00:25 +0200)]
ZOOM: resultsets not ref counted by connections

Experimental code and revert to old behavior of result sets.
ZOOM result sets are no longer ref counted by connections: it makes
it very difficult to work with multiple result sets within one
connection because connection would have to be destroyed before all
its result sets are destroyed. It will also makes use of more result
sets IDs on server than we need to  - because ALL result sets in use
will be still available (despite that ZOOM_resultset_destroy is
called). This commit reverts to existing behavior: a result set is
destroyed If ZOOM_resultset_destroy is used AND all operations on it
are completed.

14 years agoUse shared WRBUF for returned record strings
Adam Dickmeiss [Fri, 7 May 2010 12:53:49 +0000 (14:53 +0200)]
Use shared WRBUF for returned record strings

By sharing a WRBUF for a whole resultset for all records the
number of allocations is reduced a lot.

14 years agoAdd header for shared pointer: shptr.h
Adam Dickmeiss [Fri, 7 May 2010 09:28:07 +0000 (11:28 +0200)]
Add header for shared pointer: shptr.h

14 years agoAdd test_shared_ptr
Adam Dickmeiss [Fri, 7 May 2010 09:21:02 +0000 (11:21 +0200)]
Add test_shared_ptr

14 years agoExtend description of ZOOM option 'proxy'.
Adam Dickmeiss [Wed, 5 May 2010 09:26:11 +0000 (11:26 +0200)]
Extend description of ZOOM option 'proxy'.

14 years agoDocument ZOOM option clientIP.
Adam Dickmeiss [Wed, 5 May 2010 09:20:32 +0000 (11:20 +0200)]
Document ZOOM option clientIP.

14 years agoZOOM: scan number is 20 by default
Adam Dickmeiss [Tue, 4 May 2010 12:58:49 +0000 (14:58 +0200)]
ZOOM: scan number is 20 by default

14 years agoDebian 4.0.7-1 v4.0.7
Adam Dickmeiss [Tue, 4 May 2010 12:11:30 +0000 (14:11 +0200)]
Debian 4.0.7-1

14 years agoVersion 4.0.7
Adam Dickmeiss [Tue, 4 May 2010 12:10:41 +0000 (14:10 +0200)]
Version 4.0.7

14 years agoAdd Ubuntu lucid
Adam Dickmeiss [Tue, 4 May 2010 11:56:21 +0000 (13:56 +0200)]
Add Ubuntu lucid

14 years agorecord_conv: copy XML doc before passing to XSLT
Adam Dickmeiss [Tue, 4 May 2010 10:14:16 +0000 (12:14 +0200)]
record_conv: copy XML doc before passing to XSLT

The record_conv reads the XSL file in two steps.. Reads XSL as XML
Document.. Then passes that to XSL at each invocation to ensure the
record_conv is multi-threaded. This patch ensures that XML document
is copied before passed to XSL (instead of after). This makes at
least one XSL transform behave differently (and correct).

14 years agoFix check for xsltSaveResultToString
Adam Dickmeiss [Tue, 4 May 2010 08:45:32 +0000 (10:45 +0200)]
Fix check for xsltSaveResultToString

14 years agoCommand line tool yaz-record-conv
Adam Dickmeiss [Fri, 30 Apr 2010 19:44:48 +0000 (21:44 +0200)]
Command line tool yaz-record-conv

This is a simple program that allows testing of the record-conv
utilities of YAZ (used by YAZ GFS and Metaproxy).

14 years agoMerge branch 'master' of ssh://git.indexdata.com/home/git/pub/yaz v4.0.6
Adam Dickmeiss [Thu, 29 Apr 2010 11:50:23 +0000 (13:50 +0200)]
Merge branch 'master' of ssh://git.indexdata.com/home/git/pub/yaz

14 years agoDebian 4.0.6-1
Adam Dickmeiss [Thu, 29 Apr 2010 11:48:22 +0000 (13:48 +0200)]
Debian 4.0.6-1

14 years agoVersion 4.0.6
Adam Dickmeiss [Thu, 29 Apr 2010 11:47:53 +0000 (13:47 +0200)]
Version 4.0.6

14 years agoMerge branch 'master' of ssh://git.indexdata.com/home/git/pub/yaz
Adam Dickmeiss [Thu, 29 Apr 2010 11:46:16 +0000 (13:46 +0200)]
Merge branch 'master' of ssh://git.indexdata.com/home/git/pub/yaz

14 years agoyaz-config: dont list SSL libs for shared libyaz
Adam Dickmeiss [Thu, 29 Apr 2010 11:45:14 +0000 (13:45 +0200)]
yaz-config: dont list SSL libs for shared libyaz

14 years agoDebian 4.0.5-1
Adam Dickmeiss [Thu, 29 Apr 2010 09:18:09 +0000 (11:18 +0200)]
Debian 4.0.5-1

14 years agoVersion 4.0.5
Adam Dickmeiss [Thu, 29 Apr 2010 09:17:23 +0000 (11:17 +0200)]
Version 4.0.5

14 years agoNo need to YAZ_EXPORT timeval struct decl
Adam Dickmeiss [Thu, 29 Apr 2010 09:15:41 +0000 (11:15 +0200)]
No need to YAZ_EXPORT timeval struct decl

14 years agoForward decl timeval. Include sys/time.h in source
Adam Dickmeiss [Thu, 29 Apr 2010 09:09:39 +0000 (11:09 +0200)]
Forward decl timeval. Include sys/time.h in source

14 years agoDeclare timeval in mutex.h
Adam Dickmeiss [Thu, 29 Apr 2010 09:00:11 +0000 (11:00 +0200)]
Declare timeval in mutex.h

14 years agoOmit use of local var lyaz
Adam Dickmeiss [Thu, 29 Apr 2010 08:54:48 +0000 (10:54 +0200)]
Omit use of local var lyaz

14 years agoyaz-config: List SSL libs for static mode
Adam Dickmeiss [Thu, 29 Apr 2010 08:12:44 +0000 (10:12 +0200)]
yaz-config: List SSL libs for static mode

The static mode is for apps that don't use Libtool.

14 years agoyaz-config: don't list SSL/GNUTLS libs by default
Adam Dickmeiss [Wed, 28 Apr 2010 13:40:46 +0000 (15:40 +0200)]
yaz-config: don't list SSL/GNUTLS libs by default

The yaz-config --libs output no longer lists SSL libs . Only
if argument 'ssl' is supplied to yaz-config it will list those
used to link with YAZ. This is to avoid having a dependency on
libgnutls-dev for libyaz4-dev.

14 years agoTCPD libs only used in libyaz's LIBADD
Adam Dickmeiss [Wed, 28 Apr 2010 13:38:47 +0000 (15:38 +0200)]
TCPD libs only used in libyaz's LIBADD

The TCPD libs (wrappers) are no longer put in to the LIBS make
variable. This is to avoid a dependency on the libwrap development
library for libyaz4-dev.

14 years agoMerge branch 'master' of ssh://git.indexdata.com/home/git/pub/yaz v4.0.4
Adam Dickmeiss [Wed, 28 Apr 2010 12:36:20 +0000 (14:36 +0200)]
Merge branch 'master' of ssh://git.indexdata.com/home/git/pub/yaz

14 years agoPOSIX thread conf check: preserve LIBS
Adam Dickmeiss [Wed, 28 Apr 2010 12:35:47 +0000 (14:35 +0200)]
POSIX thread conf check: preserve LIBS

14 years agoDebian 4.0.4-1
Adam Dickmeiss [Wed, 28 Apr 2010 12:03:00 +0000 (14:03 +0200)]
Debian 4.0.4-1

14 years agoBump to 4.0.4
Adam Dickmeiss [Wed, 28 Apr 2010 12:02:36 +0000 (14:02 +0200)]
Bump to 4.0.4

14 years ago4.0.4 NEWS
Adam Dickmeiss [Wed, 28 Apr 2010 12:02:31 +0000 (14:02 +0200)]
4.0.4 NEWS

14 years agoUpdate m4.
Adam Dickmeiss [Wed, 28 Apr 2010 11:53:52 +0000 (13:53 +0200)]
Update m4.

14 years agoDoc: update ICU YAZ DLL to vers 4
Adam Dickmeiss [Wed, 28 Apr 2010 11:50:31 +0000 (13:50 +0200)]
Doc: update ICU YAZ DLL to vers 4

14 years agoList new DLL yaz_cond4
Adam Dickmeiss [Wed, 28 Apr 2010 11:49:36 +0000 (13:49 +0200)]
List new DLL yaz_cond4

14 years agoDoc: update Windows library names (version 4)
Adam Dickmeiss [Wed, 28 Apr 2010 11:46:41 +0000 (13:46 +0200)]
Doc: update Windows library names (version 4)

14 years agoCondition variable functions in separate DLL
Adam Dickmeiss [Wed, 28 Apr 2010 11:35:52 +0000 (13:35 +0200)]
Condition variable functions in separate DLL

The condition variable functions are in a separate DLL on Windows -
named yaz_cond4.dll (release), yaz_cond4d.dll (debug). The split is
done because Condition Variable functions is only supported in Vista
or Windows Server 2008 or later.

14 years agoAutomake updates for new gettimeofday source
Adam Dickmeiss [Wed, 28 Apr 2010 11:13:48 +0000 (13:13 +0200)]
Automake updates for new gettimeofday source

14 years agoUpdates for Windows WRT timing and condition vars
Adam Dickmeiss [Wed, 28 Apr 2010 11:11:16 +0000 (13:11 +0200)]
Updates for Windows WRT timing and condition vars

14 years agoSimple test of yaz_cond_wait
Adam Dickmeiss [Tue, 27 Apr 2010 13:59:21 +0000 (15:59 +0200)]
Simple test of yaz_cond_wait

14 years agoCondition variable wrappers
Adam Dickmeiss [Tue, 27 Apr 2010 11:03:02 +0000 (13:03 +0200)]
Condition variable wrappers

Add functions yaz_cond_{create,destroy,wait,signal,broadcast}.

14 years agoDoxygen fixes
Adam Dickmeiss [Tue, 27 Apr 2010 11:01:56 +0000 (13:01 +0200)]
Doxygen fixes

14 years agoFix Doxygen \file
Adam Dickmeiss [Tue, 27 Apr 2010 11:01:27 +0000 (13:01 +0200)]
Fix Doxygen \file

14 years agoCosmetic: use symbolic names for two diagnostics
Adam Dickmeiss [Wed, 21 Apr 2010 11:58:50 +0000 (13:58 +0200)]
Cosmetic: use symbolic names for two diagnostics

14 years agoGFS: Fix nextResultSetPosition for dropped record
Adam Dickmeiss [Wed, 21 Apr 2010 11:53:51 +0000 (13:53 +0200)]
GFS: Fix nextResultSetPosition for dropped record

14 years agoAdd mutex around resultset reference counter
Adam Dickmeiss [Mon, 19 Apr 2010 08:56:09 +0000 (10:56 +0200)]
Add mutex around resultset reference counter

14 years agoAdded mutex to resultset
Adam Dickmeiss [Mon, 19 Apr 2010 08:53:47 +0000 (10:53 +0200)]
Added mutex to resultset

14 years agoIntroduce ZOOM resultset list
Adam Dickmeiss [Mon, 19 Apr 2010 08:46:18 +0000 (10:46 +0200)]
Introduce ZOOM resultset list

The ZOOM result set list - maintained by the ZOOM connection -
is a smart pointer; before a connection was back referenced
by the result set destroy call.

14 years agoyaz_log: Log level tid logs thread ID
Adam Dickmeiss [Fri, 16 Apr 2010 13:04:18 +0000 (15:04 +0200)]
yaz_log: Log level tid logs thread ID

Add new utility yaz_thread_id_cstr to return human-readable
ID of current thread. At this stage pthread_self is used. This
can be misleading because pthread_t (pointers presumably) are
reused between thread creations.

14 years agolibyaz.la (whole source) is compiled with threads
Adam Dickmeiss [Fri, 16 Apr 2010 10:26:25 +0000 (12:26 +0200)]
libyaz.la (whole source) is compiled with threads

If thread support is enabled enabled, all source of YAZ is compiled
with treading support. This allows core utilities such as yaz_log to
use thread facilities. Previously (YAZ 3 and YAZ 4 releases), only
libyaz_server.la was using thread utilities. This commit moves mutex
utilities (mutex.c) from libyaz_server.la to libyaz.la.

14 years agoDo not return value in a void func
Adam Dickmeiss [Sun, 11 Apr 2010 09:49:36 +0000 (11:49 +0200)]
Do not return value in a void func

14 years agoProperly encode JSON strings
Adam Dickmeiss [Fri, 9 Apr 2010 12:05:02 +0000 (14:05 +0200)]
Properly encode JSON strings

14 years agoyaz-json-parse displays leading text until error
Adam Dickmeiss [Fri, 9 Apr 2010 11:40:31 +0000 (13:40 +0200)]
yaz-json-parse displays leading text until error

14 years agoAdd json_parser_get_position and json_parse2
Adam Dickmeiss [Fri, 9 Apr 2010 11:39:27 +0000 (13:39 +0200)]
Add json_parser_get_position and json_parse2

14 years agoSpell fix
Adam Dickmeiss [Fri, 9 Apr 2010 10:26:16 +0000 (12:26 +0200)]
Spell fix

14 years agoThe IDMETA file as used by our pbuilder scripts
Adam Dickmeiss [Fri, 9 Apr 2010 10:22:32 +0000 (12:22 +0200)]
The IDMETA file as used by our pbuilder scripts

14 years agoVerson 4.0.3 v4.0.3
Adam Dickmeiss [Fri, 9 Apr 2010 09:33:28 +0000 (11:33 +0200)]
Verson 4.0.3

14 years agoUpdate WIN32 makefile for renamed tests
Adam Dickmeiss [Fri, 9 Apr 2010 09:32:35 +0000 (11:32 +0200)]
Update WIN32 makefile for renamed tests

14 years agoUse srand rather than less portable srandom
Adam Dickmeiss [Fri, 9 Apr 2010 09:31:16 +0000 (11:31 +0200)]
Use srand rather than less portable srandom

14 years agoInclude windows.h(WIN32)
Adam Dickmeiss [Fri, 9 Apr 2010 09:27:43 +0000 (11:27 +0200)]
Include windows.h(WIN32)

14 years agoztest delay: select(Unix) or Sleep(Win32)
Adam Dickmeiss [Fri, 9 Apr 2010 09:25:47 +0000 (11:25 +0200)]
ztest delay: select(Unix) or Sleep(Win32)

14 years agoDocument using TurboMARC from ZOOM C
Adam Dickmeiss [Fri, 9 Apr 2010 09:10:42 +0000 (11:10 +0200)]
Document using TurboMARC from ZOOM C

14 years agoyaz-client: show uses last position if omitted
Adam Dickmeiss [Fri, 9 Apr 2010 08:47:04 +0000 (10:47 +0200)]
yaz-client: show uses last position if omitted

The show command has always used last position if omitted - except
that this was messed up in YAZ 4.0.2.

14 years agoZOOM C: handle HTTP redirect for SRU GET
Adam Dickmeiss [Thu, 8 Apr 2010 12:37:49 +0000 (14:37 +0200)]
ZOOM C: handle HTTP redirect for SRU GET

14 years agoUpdate TurboMARC namespace
Adam Dickmeiss [Wed, 7 Apr 2010 13:50:27 +0000 (15:50 +0200)]
Update TurboMARC namespace

TurboMARC namespace is now: http://www.indexdata.com/turbomarc

14 years agoUpdate TurboMARC definition and document it
Adam Dickmeiss [Wed, 7 Apr 2010 13:43:44 +0000 (15:43 +0200)]
Update TurboMARC definition and document it

Document TurboMARC in the tools chapter of the YAZ manual. Update
definition format mode to YAZ_MARC_TURBOMARC. The string as used in
yaz-marcdump and other tools is called "turbomarc". Rename function
yaz_marc_write_turbo_xml to yaz_marc_write_turbomarc.

14 years agoMake ZOOM_connection_exec_task public
Adam Dickmeiss [Wed, 7 Apr 2010 11:37:26 +0000 (13:37 +0200)]
Make ZOOM_connection_exec_task public

This function, unlike ZOOM_connection_process and ZOOM_event_nonblock,
do not process any events.

14 years agoyaz-ztest: complete database delay arguments
Adam Dickmeiss [Tue, 30 Mar 2010 13:45:15 +0000 (15:45 +0200)]
yaz-ztest: complete database delay arguments

Fixed and random delays for yaz-ztest may be given as database options.
Documented in code and man page for yaz-ztest.