yaz-moved-to-github.git
15 years agoMerge branch 'master' of ssh://git.indexdata.com/home/git/pub/yaz
Adam Dickmeiss [Fri, 14 Nov 2008 19:15:02 +0000 (20:15 +0100)]
Merge branch 'master' of ssh://git.indexdata.com/home/git/pub/yaz

15 years agoFixes for gcc warnings - mostly WRT check of returns values
Adam Dickmeiss [Fri, 14 Nov 2008 14:17:22 +0000 (15:17 +0100)]
Fixes for gcc warnings - mostly WRT check of returns values

15 years agoRe-format and check of return value from fread.
Adam Dickmeiss [Fri, 14 Nov 2008 13:00:22 +0000 (14:00 +0100)]
Re-format and check of return value from fread.

15 years agoRe-format
Adam Dickmeiss [Fri, 14 Nov 2008 11:35:02 +0000 (12:35 +0100)]
Re-format

16 years agoUpdated doc/common.
Adam Dickmeiss [Mon, 10 Nov 2008 17:13:14 +0000 (18:13 +0100)]
Updated doc/common.

16 years agoFixed dox file comment
Adam Dickmeiss [Mon, 10 Nov 2008 16:14:25 +0000 (17:14 +0100)]
Fixed dox file comment

16 years agoNo longer executable (-x). v3.0.38
Adam Dickmeiss [Mon, 10 Nov 2008 15:50:11 +0000 (16:50 +0100)]
No longer executable (-x).

16 years agoVersion 3.0.38.
Adam Dickmeiss [Mon, 10 Nov 2008 15:45:34 +0000 (16:45 +0100)]
Version 3.0.38.

16 years agoSupports C++ compilations as well
Adam Dickmeiss [Fri, 7 Nov 2008 12:59:23 +0000 (13:59 +0100)]
Supports C++ compilations as well

16 years agoSet libtoolize on a MacOS
Wolfram Schneider [Fri, 7 Nov 2008 11:01:57 +0000 (12:01 +0100)]
Set libtoolize on a  MacOS

16 years agoFixed include of matchstr.h.
Adam Dickmeiss [Fri, 7 Nov 2008 10:55:02 +0000 (11:55 +0100)]
Fixed include of matchstr.h.

16 years agoUpdated news
Adam Dickmeiss [Thu, 6 Nov 2008 16:48:18 +0000 (17:48 +0100)]
Updated news

16 years agoRenamed match-str.h to matchstr.h.
Adam Dickmeiss [Thu, 6 Nov 2008 13:14:21 +0000 (14:14 +0100)]
Renamed match-str.h to matchstr.h.

16 years agoDEBUG=0 for YAZ
Adam Dickmeiss [Thu, 6 Nov 2008 11:48:21 +0000 (12:48 +0100)]
DEBUG=0 for YAZ

16 years agoAdded yaz_encode_pqf_term to encode PQF strings.
Adam Dickmeiss [Sat, 25 Oct 2008 20:08:47 +0000 (22:08 +0200)]
Added yaz_encode_pqf_term to encode PQF strings.

Added yaz_encode_pqf_term to encode PQF strings. This function is used
by yaz_rpnquery_to_wrbuf and CCL to PQF conversion utilities (ccl_pquery,
ccl_pr_tree).

16 years agoInclude header for matchstr functions.
Adam Dickmeiss [Sat, 25 Oct 2008 18:32:12 +0000 (20:32 +0200)]
Include header for matchstr functions.

16 years agoIgnore generated program gfs-example.
Adam Dickmeiss [Fri, 24 Oct 2008 14:45:22 +0000 (16:45 +0200)]
Ignore generated program gfs-example.

16 years agoFor ZOOM, ensure ZOOM_EVENT_SEARCH is only fired once per search task.
Adam Dickmeiss [Fri, 24 Oct 2008 06:54:10 +0000 (08:54 +0200)]
For ZOOM, ensure ZOOM_EVENT_SEARCH is only fired once per search task.

16 years agoHonor databaseName option for ZOOM connection as path (SRU "database").
Adam Dickmeiss [Thu, 23 Oct 2008 15:15:49 +0000 (17:15 +0200)]
Honor databaseName option for ZOOM connection as path (SRU "database").

16 years agoSmaller example GFS. Added match-str.h for string match functions.
Adam Dickmeiss [Thu, 23 Oct 2008 07:14:03 +0000 (09:14 +0200)]
Smaller example GFS. Added match-str.h for string match functions.

16 years agoRemoved debug-like msg.
Adam Dickmeiss [Tue, 21 Oct 2008 13:56:21 +0000 (15:56 +0200)]
Removed debug-like msg.

16 years agoMerge branch 'master' of ssh://adam@git.indexdata.com/home/git/pub/yaz
Adam Dickmeiss [Tue, 21 Oct 2008 13:30:05 +0000 (15:30 +0200)]
Merge branch 'master' of ssh://adam@git.indexdata.com/home/git/pub/yaz

16 years agoFixed log message trunction on Windows.
Adam Dickmeiss [Tue, 21 Oct 2008 13:29:42 +0000 (15:29 +0200)]
Fixed log message trunction on Windows.

16 years agoAdd missing ZOOM_END_CDECL
Adam Dickmeiss [Mon, 20 Oct 2008 17:23:54 +0000 (19:23 +0200)]
Add missing ZOOM_END_CDECL

16 years agoUse ZOOM_API for new function ZOOM_get_event_str
Adam Dickmeiss [Mon, 20 Oct 2008 13:36:59 +0000 (15:36 +0200)]
Use ZOOM_API for new function ZOOM_get_event_str

16 years agoUpdate dep libs version because of new function ZOOM_get_event_str
Adam Dickmeiss [Mon, 20 Oct 2008 13:05:37 +0000 (15:05 +0200)]
Update dep libs version because of new function ZOOM_get_event_str

16 years agoFor SRU diagnostics ensure result set memory is not saved.
Adam Dickmeiss [Mon, 20 Oct 2008 12:38:44 +0000 (14:38 +0200)]
For SRU diagnostics ensure result set memory is not saved.

16 years agoDon't generate ZOOM_EVENT_RECV_SEARCH for SRU record retrievals.
Adam Dickmeiss [Mon, 20 Oct 2008 07:12:25 +0000 (09:12 +0200)]
Don't generate ZOOM_EVENT_RECV_SEARCH for SRU record retrievals.

The event ZOOM_EVENT_RECV_SEARCH is no longer generated for SRU record
retrievals - only for search responses (and an equivalent search task).

16 years agoAdded ZOOM_get_event_str.
Adam Dickmeiss [Mon, 20 Oct 2008 06:38:56 +0000 (08:38 +0200)]
Added ZOOM_get_event_str.

16 years agoFixed memory leak (setname in ZOOM_resultset)
Adam Dickmeiss [Sat, 18 Oct 2008 11:50:48 +0000 (13:50 +0200)]
Fixed memory leak (setname in ZOOM_resultset)

16 years agoFixed bad memory ref in case of SRU diagnostics.
Adam Dickmeiss [Sat, 18 Oct 2008 11:47:33 +0000 (13:47 +0200)]
Fixed bad memory ref in case of SRU diagnostics.

16 years agoAdjustments to make YAZ compile as C++ code.
Adam Dickmeiss [Fri, 17 Oct 2008 22:19:43 +0000 (00:19 +0200)]
Adjustments to make YAZ compile as C++ code.

16 years agoUpdate to use Libxml2 2.7.1 / Libxslt 1.1.24.
Adam Dickmeiss [Thu, 16 Oct 2008 14:20:22 +0000 (16:20 +0200)]
Update to use Libxml2 2.7.1 / Libxslt 1.1.24.

16 years agoOmit definitions of xmlNode and xmlDocPtr if YAZ_HAVE_XML2 is unset.
Adam Dickmeiss [Thu, 16 Oct 2008 08:36:24 +0000 (10:36 +0200)]
Omit definitions of xmlNode and xmlDocPtr if YAZ_HAVE_XML2 is unset.

When YAZ is compiled without Libxml2 support (YAZ_HAVE_XML2 is unset),
the types xmlNode and xmlDocPtr are no longer defined in xmltypes.h.
Problem was that these dummy definitions could clash with other apps that
used Libxml2 anyway.

16 years agoOmit some functions not used when XML2 is not enabled (YAZ_HAVE_XML2).
Adam Dickmeiss [Wed, 15 Oct 2008 20:20:08 +0000 (22:20 +0200)]
Omit some functions not used when XML2 is not enabled (YAZ_HAVE_XML2).

16 years agoFixed compilation for no XML2
Adam Dickmeiss [Wed, 15 Oct 2008 18:26:08 +0000 (20:26 +0200)]
Fixed compilation for no XML2

16 years agoAdded include of stdlib.h because of atoi
Adam Dickmeiss [Wed, 15 Oct 2008 18:24:48 +0000 (20:24 +0200)]
Added include of stdlib.h because of atoi

16 years ago3.0.37.
Adam Dickmeiss [Mon, 6 Oct 2008 18:15:56 +0000 (20:15 +0200)]
3.0.37.

16 years agoMerge branch 'master' of ssh://git.indexdata.com/home/git/pub/yaz
Adam Dickmeiss [Thu, 2 Oct 2008 17:55:08 +0000 (19:55 +0200)]
Merge branch 'master' of ssh://git.indexdata.com/home/git/pub/yaz

16 years agoUpdated ICU DLLs for Windows dist (nsis)
Adam Dickmeiss [Fri, 26 Sep 2008 21:11:48 +0000 (23:11 +0200)]
Updated ICU DLLs for Windows dist (nsis)

16 years agoVersion 3.0.36. v3.0.36
Adam Dickmeiss [Fri, 26 Sep 2008 10:22:16 +0000 (12:22 +0200)]
Version 3.0.36.

16 years agoHonor start, step, count for SRU (multiple requests performed).
Adam Dickmeiss [Thu, 25 Sep 2008 21:17:59 +0000 (23:17 +0200)]
Honor start, step, count for SRU (multiple requests performed).

16 years agoMerge branch 'master' of ssh://git.indexdata.com/home/git/pub/yaz
Adam Dickmeiss [Thu, 25 Sep 2008 19:33:15 +0000 (21:33 +0200)]
Merge branch 'master' of ssh://git.indexdata.com/home/git/pub/yaz

16 years agoFixed ODR example and use of XML entities in CDATA sections.
Adam Dickmeiss [Thu, 25 Sep 2008 11:47:42 +0000 (13:47 +0200)]
Fixed ODR example and use of XML entities in CDATA sections.

16 years agoFixed bug #2256. Updated for newer libxml2/libxslt.
Adam Dickmeiss [Thu, 25 Sep 2008 09:05:24 +0000 (11:05 +0200)]
Fixed bug #2256. Updated for newer libxml2/libxslt.

16 years agoMerge branch 'master' of ssh://git.indexdata.com/home/git/pub/yaz
Adam Dickmeiss [Thu, 25 Sep 2008 08:10:45 +0000 (10:10 +0200)]
Merge branch 'master' of ssh://git.indexdata.com/home/git/pub/yaz

16 years agoUnix text.
Adam Dickmeiss [Thu, 25 Sep 2008 08:10:32 +0000 (10:10 +0200)]
Unix text.

16 years agoEnsure format command is a no-op if bad syntax is passed to it.
Adam Dickmeiss [Wed, 24 Sep 2008 18:19:37 +0000 (20:19 +0200)]
Ensure format command is a no-op if bad syntax is passed to it.

16 years agoMerge branch 'master' of ssh://git.indexdata.com/home/git/pub/yaz
Adam Dickmeiss [Wed, 24 Sep 2008 18:10:48 +0000 (20:10 +0200)]
Merge branch 'master' of ssh://git.indexdata.com/home/git/pub/yaz

16 years agoCheck the record syntax(es) given by the format command
Adam Dickmeiss [Wed, 24 Sep 2008 18:09:29 +0000 (20:09 +0200)]
Check the record syntax(es) given by the format command

Check the record syntax(es) given by the format command and
report an error if they don't look good.

16 years agoMerge branch 'master' of ssh://git.indexdata.com:222/home/git/pub/yaz
Adam Dickmeiss [Sat, 20 Sep 2008 16:07:55 +0000 (18:07 +0200)]
Merge branch 'master' of ssh://git.indexdata.com:222/home/git/pub/yaz

16 years agoWindows makefile - added mutex.obj and updated for ICU 4.0
Adam Dickmeiss [Sat, 20 Sep 2008 16:07:32 +0000 (18:07 +0200)]
Windows makefile - added mutex.obj and updated for ICU 4.0

16 years agoAdded cql2rpn as allowed querytype
Adam Dickmeiss [Thu, 18 Sep 2008 22:54:24 +0000 (00:54 +0200)]
Added cql2rpn as allowed querytype

16 years agoFix typo -- spurious "size" parameter to odr_reset()
Mike Taylor [Wed, 17 Sep 2008 09:46:07 +0000 (10:46 +0100)]
Fix typo -- spurious "size" parameter to odr_reset()

16 years agoFixed copyright holder in license
Adam Dickmeiss [Mon, 1 Sep 2008 06:56:07 +0000 (08:56 +0200)]
Fixed copyright holder in license

Fixed copyright holder in license to Index Data.

16 years agoRun both git submodule init + update
Adam Dickmeiss [Tue, 26 Aug 2008 09:29:11 +0000 (11:29 +0200)]
Run both git submodule init + update

16 years agoAlways run 'git submodule update' when git is in use
Adam Dickmeiss [Tue, 26 Aug 2008 09:15:38 +0000 (11:15 +0200)]
Always run 'git submodule update' when git is in use

16 years agoUpdated m4 for PDF_COMPILE fix
Adam Dickmeiss [Tue, 26 Aug 2008 08:37:04 +0000 (10:37 +0200)]
Updated m4 for PDF_COMPILE fix

16 years agoUse PDF_COMPILE for PDF creation
Adam Dickmeiss [Tue, 26 Aug 2008 08:29:47 +0000 (10:29 +0200)]
Use PDF_COMPILE for PDF creation

16 years agoUpdated Deb pkg descriptions to follow policy
Adam Dickmeiss [Fri, 15 Aug 2008 22:23:39 +0000 (00:23 +0200)]
Updated Deb pkg descriptions to follow policy

16 years agoAvoid mixed stmt/var declare.
Adam Dickmeiss [Wed, 30 Jul 2008 12:12:29 +0000 (14:12 +0200)]
Avoid mixed stmt/var declare.

16 years agoUpdate WRT crash on Windows.
Adam Dickmeiss [Mon, 28 Jul 2008 08:06:52 +0000 (10:06 +0200)]
Update WRT crash on Windows.

16 years agoFix Libxml2 error handling under Windows.
Adam Dickmeiss [Mon, 28 Jul 2008 07:23:03 +0000 (09:23 +0200)]
Fix Libxml2 error handling under Windows.

The call to yaz_log_xml_errors have been moved to new_session which
is when a worker thread is active. Using xmlSetGenericError func and
friends fails if set in mother thread.

16 years agoFirst RPN to CQL conversion using actual attribute matching.
Adam Dickmeiss [Fri, 25 Jul 2008 07:00:04 +0000 (09:00 +0200)]
First RPN to CQL conversion using actual attribute matching.

16 years agoComment OID utilities.
Adam Dickmeiss [Tue, 22 Jul 2008 18:17:08 +0000 (20:17 +0200)]
Comment OID utilities.

16 years agoFixed description
Adam Dickmeiss [Tue, 22 Jul 2008 13:59:08 +0000 (15:59 +0200)]
Fixed description

16 years agoAdded cql_transform_define_pattern. Renamed rpn2cql funcs.
Adam Dickmeiss [Tue, 22 Jul 2008 13:54:15 +0000 (15:54 +0200)]
Added cql_transform_define_pattern. Renamed rpn2cql funcs.

16 years agoDescribe ZOOM option 'sru'
Adam Dickmeiss [Tue, 22 Jul 2008 12:10:24 +0000 (14:10 +0200)]
Describe ZOOM option 'sru'

16 years agoOption logapdu renamed apdulog as it harmonizes more with pazpar2
Adam Dickmeiss [Mon, 21 Jul 2008 17:24:45 +0000 (19:24 +0200)]
Option logapdu renamed apdulog as it harmonizes more with pazpar2

16 years agoZOOM Connection setting 'logapdu' logs APDUs to YAZ log.
Adam Dickmeiss [Mon, 21 Jul 2008 17:17:12 +0000 (19:17 +0200)]
ZOOM Connection setting 'logapdu' logs APDUs to YAZ log.

16 years agoZOOM Connection setting 'logapdu' logs APDUs to YAZ log.
Adam Dickmeiss [Mon, 21 Jul 2008 15:54:37 +0000 (17:54 +0200)]
ZOOM Connection setting 'logapdu' logs APDUs to YAZ log.

16 years agoUpdate to latest m4 master.
Adam Dickmeiss [Thu, 17 Jul 2008 11:50:26 +0000 (13:50 +0200)]
Update to latest m4 master.

16 years agoMention Git.
Adam Dickmeiss [Thu, 10 Jul 2008 10:33:42 +0000 (12:33 +0200)]
Mention Git.

16 years agoMinor reformatting.
Adam Dickmeiss [Thu, 10 Jul 2008 09:16:35 +0000 (11:16 +0200)]
Minor reformatting.

16 years agoDocument the recordOpaque option.
Adam Dickmeiss [Thu, 10 Jul 2008 09:06:45 +0000 (11:06 +0200)]
Document the recordOpaque option.

16 years agoAdded support for an "opaqueRecord" option in ES update.
Adam Dickmeiss [Thu, 10 Jul 2008 08:48:42 +0000 (10:48 +0200)]
Added support for an "opaqueRecord" option in ES update.

Added support for an "opaqueRecord" option in ES update. If "opaqueRecord"
is present, call z_ext_record_oid_any() instead of z_ext_record_oid().
Set either the "record" or the "opaqueRecord" option, not both.

16 years agoAdded z_ext_record_oid_any() function.
Adam Dickmeiss [Thu, 10 Jul 2008 08:46:49 +0000 (10:46 +0200)]
Added z_ext_record_oid_any() function.

This is a simplified version of z_ext_record_oid(). It does the same
oid lookups, but adds the record as an Odr_any.

16 years agoTesting of RPN to CQL conversion.
Adam Dickmeiss [Fri, 4 Jul 2008 09:26:52 +0000 (11:26 +0200)]
Testing of RPN to CQL conversion.

16 years agoRenamed wrbuf_put to wrbuf_vputs and changed prototype.
Adam Dickmeiss [Fri, 4 Jul 2008 09:25:46 +0000 (11:25 +0200)]
Renamed wrbuf_put to wrbuf_vputs and changed prototype.

16 years agoAdded wrbuf_put - same as wrbuf_puts but void return value.
Adam Dickmeiss [Thu, 3 Jul 2008 18:01:18 +0000 (20:01 +0200)]
Added wrbuf_put - same as wrbuf_puts but void return value.

16 years agoUse gnutls_set_default_priority instead of gnutls_priority_set_direct. v3.0.34
Adam Dickmeiss [Wed, 18 Jun 2008 09:13:16 +0000 (11:13 +0200)]
Use gnutls_set_default_priority instead of gnutls_priority_set_direct.

Use gnutls_set_default_priority instead of gnutls_priority_set_direct
because gnutls_priority_set_direct is unavailable for older versions
of GNU TLS.

16 years agoTowards 3.0.34
Adam Dickmeiss [Wed, 18 Jun 2008 08:43:36 +0000 (10:43 +0200)]
Towards 3.0.34

16 years agoRestructure SSL support funcs
Adam Dickmeiss [Wed, 18 Jun 2008 08:33:34 +0000 (10:33 +0200)]
Restructure SSL support funcs

16 years agoRemove GNU TLS openssl compat code and update configure.
Adam Dickmeiss [Wed, 18 Jun 2008 08:30:49 +0000 (10:30 +0200)]
Remove GNU TLS openssl compat code and update configure.

16 years agoServer functional for native use of GNU TLS.
Adam Dickmeiss [Tue, 17 Jun 2008 14:08:02 +0000 (16:08 +0200)]
Server functional for native use of GNU TLS.

16 years agoPrevent COMSTACK use if cs_accept fails
Adam Dickmeiss [Tue, 17 Jun 2008 14:05:48 +0000 (16:05 +0200)]
Prevent COMSTACK use if cs_accept fails

16 years agoClient side SSL without gnutls-openssl.
Adam Dickmeiss [Thu, 12 Jun 2008 13:11:19 +0000 (15:11 +0200)]
Client side SSL without gnutls-openssl.

16 years agoVersion 2.0.32. v3.0.32
Adam Dickmeiss [Thu, 12 Jun 2008 09:17:02 +0000 (11:17 +0200)]
Version 2.0.32.

16 years agoAdded test for utf-8 decode reset
Adam Dickmeiss [Thu, 12 Jun 2008 09:13:08 +0000 (11:13 +0200)]
Added test for utf-8 decode reset

16 years agoFixed #if ENABLE_SSL for ssl_check_error
Adam Dickmeiss [Wed, 11 Jun 2008 18:16:47 +0000 (20:16 +0200)]
Fixed #if ENABLE_SSL for ssl_check_error

16 years agoRename yazextralibs to just LIBS
Adam Dickmeiss [Wed, 11 Jun 2008 18:08:54 +0000 (20:08 +0200)]
Rename yazextralibs to just LIBS

16 years agoMake ssl_check_error static and define ssl_type always.
Adam Dickmeiss [Wed, 11 Jun 2008 18:08:17 +0000 (20:08 +0200)]
Make ssl_check_error static and define ssl_type always.

Make ssl_check_error static becuase it's a private function.
Define function ssl_type always - also in case SSL is disabled - and
make it return 0 (NULL ptr).

16 years agoAllow NULL inp(ut) for utf8 decoder
Adam Dickmeiss [Mon, 9 Jun 2008 15:07:14 +0000 (17:07 +0200)]
Allow NULL inp(ut) for utf8 decoder

16 years agoFix date v3.0.30
Adam Dickmeiss [Fri, 6 Jun 2008 09:54:41 +0000 (11:54 +0200)]
Fix date

16 years agoVersion 3.0.30.
Adam Dickmeiss [Fri, 6 Jun 2008 09:22:51 +0000 (11:22 +0200)]
Version 3.0.30.

16 years agoSupply SSL_LIBS for --libs output (in source)
Adam Dickmeiss [Fri, 6 Jun 2008 09:18:39 +0000 (11:18 +0200)]
Supply SSL_LIBS for --libs output (in source)

16 years agoSupply SSL libs for static linking
Adam Dickmeiss [Fri, 6 Jun 2008 09:03:12 +0000 (11:03 +0200)]
Supply SSL libs for static linking

16 years agoAdded cs_print_session_info which shows SSL session info.
Adam Dickmeiss [Thu, 5 Jun 2008 22:19:24 +0000 (00:19 +0200)]
Added cs_print_session_info which shows SSL session info.

Added cs_print_session_info which shows SSL session info. This
utility used to be part of yaz-client but is now part of YAZ COMSTACK.
This is deal with GNU TLS session info and avoid having SSL implementation
code outside the YAZ core.

16 years agoRPM builds using GNU TLS
Adam Dickmeiss [Thu, 5 Jun 2008 22:16:26 +0000 (00:16 +0200)]
RPM builds using GNU TLS

16 years agoMake cs_get_ssl return 0 if GNU TLS is enabled.
Adam Dickmeiss [Thu, 5 Jun 2008 21:25:18 +0000 (23:25 +0200)]
Make cs_get_ssl return 0 if GNU TLS is enabled.
Make sure cs_get_ssl return 0 if GNU TLS is enabled. GNU TLS and
OpenSSL are not binary compatible so must ensure that only OpenSSL
applications makes use of this (e.g. yaz-client).