Adam Dickmeiss [Tue, 24 Apr 2007 12:55:15 +0000 (12:55 +0000)]
Windows build.
Adam Dickmeiss [Tue, 24 Apr 2007 12:54:42 +0000 (12:54 +0000)]
Added definition of YAZ_IMPORT for DLL import on Windows
Adam Dickmeiss [Tue, 24 Apr 2007 12:53:56 +0000 (12:53 +0000)]
Added YAZ_EXPORT for new functions
Adam Dickmeiss [Tue, 24 Apr 2007 09:29:34 +0000 (09:29 +0000)]
Fixed call to ZOOM_resultset_sort1
Mike Taylor [Mon, 23 Apr 2007 16:15:11 +0000 (16:15 +0000)]
Ignore yaz-illclient
Adam Dickmeiss [Wed, 18 Apr 2007 18:47:51 +0000 (18:47 +0000)]
Ignore generated files oclc-ill-req-ext.[ch].
Adam Dickmeiss [Wed, 18 Apr 2007 18:46:37 +0000 (18:46 +0000)]
Fixed missing thread libs in output of 'yaz-config --lalibs threads'.
Adam Dickmeiss [Wed, 18 Apr 2007 13:40:19 +0000 (13:40 +0000)]
Added new option 'static' for yaz-config which makes 'yaz-config --libs'
returns static libs rather than shared libs for in-source compilations.
This is to make Pazpar2 work for local builds when YAZ is built
both statically and with shared objects. We have not seen this problem
before because most other applications are built with Libtool. And
these that aren't, such as PHP / Perl extensions deal with shared
objects fine.
Heikki Levanto [Wed, 18 Apr 2007 13:21:46 +0000 (13:21 +0000)]
Added the oclc-spcific extension part too. Didn't help.
Mike Taylor [Wed, 18 Apr 2007 11:50:47 +0000 (11:50 +0000)]
t_test() arguments.
Adam Dickmeiss [Wed, 18 Apr 2007 08:08:02 +0000 (08:08 +0000)]
Doxygen comments in OID generated files.
Adam Dickmeiss [Wed, 18 Apr 2007 07:34:35 +0000 (07:34 +0000)]
Added ASN.1 and CODEC for OCLC ILL Request Extension.
Adam Dickmeiss [Wed, 18 Apr 2007 07:17:19 +0000 (07:17 +0000)]
No warnings
Adam Dickmeiss [Tue, 17 Apr 2007 20:26:18 +0000 (20:26 +0000)]
Split YAZ library into two libs : libyaz.la and libyaz_server.la.
libyaz.la is the core of YAZ except the generic frontend server and
does not depend on POSIX threads anymore. libyaz_server.la is the
generic frontend server facilities and uses POSIX thread functionality
if available. The libyaz.la no longer depends on POSIX threads because
the number of global structures is limited. NMEM no longer re-uses blocks
between threads ; it simply free's memory immediately but allocates in
"large" chunks as usual. We don't expect any performance penalties
because of this. The yaz_log system is still using a global log_level so
caution must be taken when modifying it with yaz_log_init_.. +
yaz_log_mask_str. This, however, should not cause any trouble because
these functions are called during initialization of application code
anyway. `yaz-config --libs server` returns libs for server applications;
`yaz-config --libs` returns libs for non-server applications.
Heikki Levanto [Tue, 17 Apr 2007 13:23:02 +0000 (13:23 +0000)]
Attempted to encode the oclc-specific login info.
Doesn't seem to work, gives the same error as when it was
not there at all.
Adam Dickmeiss [Tue, 17 Apr 2007 08:15:15 +0000 (08:15 +0000)]
Auto-generated files specified separately
Adam Dickmeiss [Tue, 17 Apr 2007 07:37:58 +0000 (07:37 +0000)]
Fixed bug #1052: oid_std.[ch] not made automatically.
Adam Dickmeiss [Mon, 16 Apr 2007 22:21:48 +0000 (22:21 +0000)]
Ignore oid_std.h
Adam Dickmeiss [Mon, 16 Apr 2007 22:21:27 +0000 (22:21 +0000)]
Ignore oid_std.c
Adam Dickmeiss [Mon, 16 Apr 2007 21:53:08 +0000 (21:53 +0000)]
Generate built-in OIDs from oid.csv.
Heikki Levanto [Mon, 16 Apr 2007 15:33:51 +0000 (15:33 +0000)]
Committing the raw version into cvs, just to have a backup.
It can send an empty request, and parse incoming error messages.
Filling actual data to the request still missing, as is extracting
useful responses (if any).
Adam Dickmeiss [Mon, 16 Apr 2007 11:15:51 +0000 (11:15 +0000)]
OIDs in a .csv-file.
Adam Dickmeiss [Mon, 16 Apr 2007 08:43:08 +0000 (08:43 +0000)]
Added functions to return const known OIDs
Adam Dickmeiss [Fri, 13 Apr 2007 13:58:00 +0000 (13:58 +0000)]
Make Variant-1 OID definition. Fix OID for Espec-1
Adam Dickmeiss [Fri, 13 Apr 2007 10:24:32 +0000 (10:24 +0000)]
Ensure YAZ' include files is listed first in output of yaz-config --cflags.
Adam Dickmeiss [Fri, 13 Apr 2007 09:55:41 +0000 (09:55 +0000)]
Added utilities z_ext_record_{xml,sutrs,usmarc}.
Adam Dickmeiss [Fri, 13 Apr 2007 09:55:21 +0000 (09:55 +0000)]
Added inclusion of oid_db.h
Adam Dickmeiss [Fri, 13 Apr 2007 07:04:42 +0000 (07:04 +0000)]
Function oid_dotstring_to_oid returns -1 if OID dot-string is ill-formed
Adam Dickmeiss [Fri, 13 Apr 2007 06:51:57 +0000 (06:51 +0000)]
Added inclusion of yaz/oid_util.h
Adam Dickmeiss [Fri, 13 Apr 2007 06:48:35 +0000 (06:48 +0000)]
Removed inclusion of yaz/oid.h
Adam Dickmeiss [Thu, 12 Apr 2007 20:47:27 +0000 (20:47 +0000)]
Added function yaz_oid_add which adds custom OID entry to database.
Re-implemented 'register_oid' for yaz-client.
Adam Dickmeiss [Thu, 12 Apr 2007 17:50:26 +0000 (17:50 +0000)]
Removed dead functions
Adam Dickmeiss [Thu, 12 Apr 2007 13:53:33 +0000 (13:53 +0000)]
Bump version to 2.1.99.2
Adam Dickmeiss [Thu, 12 Apr 2007 13:52:56 +0000 (13:52 +0000)]
New OID database - with public definitions in oid_db.h. Removed old OID
database including the head oid.h and definitions such as enum oid_value
and struct oident. The new OID database uses the same string names as
before but the 'protocol' is gone. There are now only two representations
raw OID (int *) and string. Functions with prefix yaz_string_to_oid
converts from string to OID; functions with prefix yaz_oid_to_string
converts the other way.
Adam Dickmeiss [Tue, 10 Apr 2007 14:42:31 +0000 (14:42 +0000)]
Added test for query charset converter.
Mike Taylor [Thu, 29 Mar 2007 11:14:47 +0000 (11:14 +0000)]
CQL translation fix.
Mike Taylor [Thu, 29 Mar 2007 11:14:11 +0000 (11:14 +0000)]
Change to emit_term(): when a term has the /regexp relation modifier,
do not process it for leading and trailing "^" and "*", which have
quite different meanings in regular expressions.
Mike Taylor [Wed, 28 Mar 2007 16:35:47 +0000 (16:35 +0000)]
Explicitly initialise cqltrans to 0
Adam Dickmeiss [Thu, 22 Mar 2007 09:13:13 +0000 (09:13 +0000)]
Fixed tid declaration for non-threaded mode
Adam Dickmeiss [Wed, 21 Mar 2007 19:47:28 +0000 (19:47 +0000)]
Added skeleton for query charset conversion. Bug #977.
Adam Dickmeiss [Wed, 21 Mar 2007 11:27:46 +0000 (11:27 +0000)]
Revert ZOOM API changes.
Adam Dickmeiss [Wed, 21 Mar 2007 10:22:31 +0000 (10:22 +0000)]
Get rid of 512 PQF string size limitation in cql2pqf (part of ZOOM C).
Adam Dickmeiss [Wed, 21 Mar 2007 10:12:09 +0000 (10:12 +0000)]
Fix prototype for cql_transform
Adam Dickmeiss [Wed, 21 Mar 2007 09:23:11 +0000 (09:23 +0000)]
Fix bad memory reference in CQL to PQF conversion which occurred when
error 'Too many characters in query' was issued.
Adam Dickmeiss [Wed, 21 Mar 2007 08:37:57 +0000 (08:37 +0000)]
Added yaz_iconv flush.
Adam Dickmeiss [Tue, 20 Mar 2007 21:37:31 +0000 (21:37 +0000)]
Attempted fix of bug #976: Segfault in yaz_iconv. The yaz_iconv function
write handlers no longer carries a 'last' parameter. This will make
yaz_iconv flush "less" characters. A flush is performed by call to
yaz_iconv(cd, 0, 0, &outbut, &outbytesleft) .
Adam Dickmeiss [Mon, 19 Mar 2007 22:17:41 +0000 (22:17 +0000)]
More wrbuf_buf woes.
Adam Dickmeiss [Mon, 19 Mar 2007 21:08:13 +0000 (21:08 +0000)]
Moved more members of public struct odr (ODR*) to struct Odr_private.
Adam Dickmeiss [Mon, 19 Mar 2007 21:07:35 +0000 (21:07 +0000)]
Definition of wrbuf_diags moved to querytowrbuf.h. Function wrbuf_put_zquery
removed, because function yaz_query_to_wrbuf does the same.
Adam Dickmeiss [Mon, 19 Mar 2007 20:58:47 +0000 (20:58 +0000)]
Notes on ZOOM changes
Adam Dickmeiss [Mon, 19 Mar 2007 20:58:34 +0000 (20:58 +0000)]
API changes to ZOOM. Functions for setting options returns int, rather
than void, so we have a way to flag unknown options. ZOOM_resultset_sort1
has become "the" ZOOM_resultset_sort. (and old ZOOM_resultset_sort is
removed). ZOOM_connection_scan1 removed. The generic scan is
ZOOM_connection_scan and the ZOOM_connection_scan_pqf is a handy short-hand
taking a PQF string as argument.
Adam Dickmeiss [Mon, 19 Mar 2007 14:40:06 +0000 (14:40 +0000)]
API changes to WRBUF. wrbuf_free removed; replaced by wrbuf_destroy. And
wrbuf_puts no longer appends '\0'. Use wrbuf_cstr to get C-string out.
Deprecated functions for yaz_marc-removed.
Changed prototype of yaz_marc_decode_buf: const char for result and size_t
for rsize.
Adam Dickmeiss [Mon, 19 Mar 2007 13:32:40 +0000 (13:32 +0000)]
Note on branch
Adam Dickmeiss [Mon, 19 Mar 2007 13:32:11 +0000 (13:32 +0000)]
New packges libyaz3, libyaz3-dev with libyaz so version 3.
Adam Dickmeiss [Mon, 19 Mar 2007 13:31:48 +0000 (13:31 +0000)]
libyaz major so version=3
Adam Dickmeiss [Mon, 19 Mar 2007 13:31:05 +0000 (13:31 +0000)]
Bump version to 2.1.99
Adam Dickmeiss [Mon, 19 Mar 2007 12:54:58 +0000 (12:54 +0000)]
Disable lOG_-defines by default
Adam Dickmeiss [Sun, 18 Mar 2007 13:00:37 +0000 (13:00 +0000)]
Added continuation line support for MARC line format reader.
Adam Dickmeiss [Sun, 18 Mar 2007 12:59:56 +0000 (12:59 +0000)]
Added wrbuf_cut_right which cuts WRBUF by a number of characters (chop
right).
Adam Dickmeiss [Sat, 17 Mar 2007 09:14:00 +0000 (09:14 +0000)]
Use nmem_init + nmem_exit to track memory usage easier.
Adam Dickmeiss [Sat, 17 Mar 2007 09:13:29 +0000 (09:13 +0000)]
Use WRBUF for MARC line reading.
Adam Dickmeiss [Sat, 17 Mar 2007 08:44:24 +0000 (08:44 +0000)]
Remove unneeded assert.
Adam Dickmeiss [Sat, 17 Mar 2007 00:10:40 +0000 (00:10 +0000)]
Fixed marc8 flush to deal with sub/sup scripts. Refactor marc-8 page
switch code to function yaz_write_marc8_page_chr.
Adam Dickmeiss [Fri, 16 Mar 2007 10:50:19 +0000 (10:50 +0000)]
Version 2.1.55.
Adam Dickmeiss [Fri, 16 Mar 2007 09:12:08 +0000 (09:12 +0000)]
Fix news version
Adam Dickmeiss [Fri, 16 Mar 2007 08:58:39 +0000 (08:58 +0000)]
Fix ChangeLog dist
Adam Dickmeiss [Fri, 16 Mar 2007 08:11:13 +0000 (08:11 +0000)]
Remove ether_h echo
Adam Dickmeiss [Fri, 16 Mar 2007 08:08:10 +0000 (08:08 +0000)]
Towards 2.1.54
Adam Dickmeiss [Fri, 16 Mar 2007 08:06:38 +0000 (08:06 +0000)]
More news
Adam Dickmeiss [Fri, 16 Mar 2007 08:06:26 +0000 (08:06 +0000)]
ChangeLog part of dist
Mike Taylor [Thu, 15 Mar 2007 14:15:06 +0000 (14:15 +0000)]
ZOOM-C async reconnection.
Adam Dickmeiss [Thu, 15 Mar 2007 14:07:41 +0000 (14:07 +0000)]
Fixed bug #969: Fixed compiltation errors on OpenBSD 4.0.
Adam Dickmeiss [Wed, 14 Mar 2007 11:46:37 +0000 (11:46 +0000)]
Fixed update command so that record ID = none means none.
Adam Dickmeiss [Tue, 13 Mar 2007 09:12:09 +0000 (09:12 +0000)]
Missing return value for function
Adam Dickmeiss [Mon, 12 Mar 2007 16:16:49 +0000 (16:16 +0000)]
Use wrbuf_puts rather than wrbuf_printf for GRS-1 display.
Adam Dickmeiss [Mon, 12 Mar 2007 11:18:00 +0000 (11:18 +0000)]
advancegreek ; NOT greekadvance.
Adam Dickmeiss [Mon, 12 Mar 2007 10:59:58 +0000 (10:59 +0000)]
Added character conversion support for "greekadvance"; based on patch from
Giannis Kosmas.
Adam Dickmeiss [Mon, 12 Mar 2007 08:27:44 +0000 (08:27 +0000)]
Encapsulate ZOOM_resultset_destroy.
Adam Dickmeiss [Fri, 9 Mar 2007 08:39:38 +0000 (08:39 +0000)]
Fixed yaz_iconv to return YAZ_ICONV_EINVAL if an incomplete MARC-8
combo sequence is met. Before the error was not set so it would
be unknown.
Adam Dickmeiss [Thu, 8 Mar 2007 12:45:02 +0000 (12:45 +0000)]
Adjust marcdump so that it skips until record separator is read
Adam Dickmeiss [Wed, 7 Mar 2007 14:26:44 +0000 (14:26 +0000)]
Fixed reconnect problem for ZOOM-C. The event queue was becoming empty
in some cases of connect which failed.
Adam Dickmeiss [Wed, 7 Mar 2007 13:12:42 +0000 (13:12 +0000)]
Check for errors at all times in this event test
Marc Cromme [Wed, 7 Mar 2007 11:29:39 +0000 (11:29 +0000)]
corrected spelling error
corrected ziffy dependencies
Adam Dickmeiss [Wed, 7 Mar 2007 09:09:22 +0000 (09:09 +0000)]
Omit acx_pthread.m4 from installation (only part of make dist).
Adam Dickmeiss [Wed, 7 Mar 2007 08:54:13 +0000 (08:54 +0000)]
YAZ 2.1.53.
Adam Dickmeiss [Wed, 7 Mar 2007 08:05:25 +0000 (08:05 +0000)]
Towards 2.1.52.
Mike Taylor [Wed, 28 Feb 2007 11:14:56 +0000 (11:14 +0000)]
Remove hardcoded limit of 1024 sockets in ZOOM_event_sys_poll().
Note that ZOOM_event_sys_select() still has the limit due to the
fixed-size fd_set structure used as a bitmask for the FDs to
be selected on.
Adam Dickmeiss [Mon, 26 Feb 2007 14:24:00 +0000 (14:24 +0000)]
Fix "HAVE SNPRINTF" check.
Adam Dickmeiss [Sun, 25 Feb 2007 21:04:04 +0000 (21:04 +0000)]
Deal with empty thread spec if that is what ACX_PTHREAD returns.
Unfortunately empty thread lib spec is problematic because
'yaz-config --cflags' is not always passed to linker in applications
using YAZ (such as Zebra).
Adam Dickmeiss [Sun, 25 Feb 2007 14:46:50 +0000 (14:46 +0000)]
Change the use of CFLAGS WRT ACX_PTHREAD. Thread libs/cflags are
always returned in yaz-config, i.e. 'thread' option for yaz-config is
a no-op.
Adam Dickmeiss [Sat, 24 Feb 2007 18:44:54 +0000 (18:44 +0000)]
Fixed bug #927: DOM Module returns wrong diagnostic (24, should be 25).
Adam Dickmeiss [Sat, 24 Feb 2007 13:35:23 +0000 (13:35 +0000)]
Use m4 macro ACX_PTHREAD for POSIX threads detection.
Adam Dickmeiss [Fri, 23 Feb 2007 14:04:37 +0000 (14:04 +0000)]
YAZ 2.1.51
Adam Dickmeiss [Fri, 23 Feb 2007 11:54:38 +0000 (11:54 +0000)]
YAZ 2.1.50.
Adam Dickmeiss [Fri, 23 Feb 2007 10:58:25 +0000 (10:58 +0000)]
API version 2.1.49 due to new functoins yaz_snprintf, yaz_vsnprintf
Adam Dickmeiss [Fri, 23 Feb 2007 10:15:00 +0000 (10:15 +0000)]
Added snprintf/vsnprintf wrappers for systems that don't have
limits (heavens forbid).
Adam Dickmeiss [Thu, 22 Feb 2007 12:37:28 +0000 (12:37 +0000)]
Note changes regarding recent ZOOM-C changes
Adam Dickmeiss [Wed, 21 Feb 2007 13:00:19 +0000 (13:00 +0000)]
Internal Debian 2.1.49-1
Adam Dickmeiss [Wed, 21 Feb 2007 12:53:01 +0000 (12:53 +0000)]
Remove event queue when a new task is initiated. Also remove events
when a connection is destroyed (to prevent a leak if connection is
destroyed while events are outstanding).
Adam Dickmeiss [Wed, 21 Feb 2007 09:19:26 +0000 (09:19 +0000)]
Moved prototype of ZOOM_connection_remove_tasks further to the "top" of
the source to prevent warning.