yaz-moved-to-github.git
11 years agoNSIS: add configure.ac
Adam Dickmeiss [Tue, 15 Mar 2011 12:56:50 +0000 (13:56 +0100)]
NSIS: add configure.ac

A nmake rule depends on it so we need it be part of the
'YAZ Source' component.

11 years agoUpdate WIN32 makefile for stemmer
Adam Dickmeiss [Tue, 15 Mar 2011 12:28:13 +0000 (13:28 +0100)]
Update WIN32 makefile for stemmer

11 years agoUpdate m4
Adam Dickmeiss [Tue, 15 Mar 2011 10:23:59 +0000 (11:23 +0100)]
Update m4

11 years agoMulti iconv conversions for yaz_opac_decode_wrbuf2
Adam Dickmeiss [Tue, 15 Mar 2011 08:44:26 +0000 (09:44 +0100)]
Multi iconv conversions for yaz_opac_decode_wrbuf2

This function uses iconv handle for MARC first; failing that uses iconv
handle supplied to function yaz_opac_decode_wrbuf. Bug #4048.

11 years agoAdd new function wrbuf_iconv_write_x
Adam Dickmeiss [Tue, 15 Mar 2011 08:43:18 +0000 (09:43 +0100)]
Add new function wrbuf_iconv_write_x

Is a generic WRBUF writer for iconv+cdata as an option . Returns
if writing was successful or not.

11 years agoMerge branch 'master' of ssh://git.indexdata.com/home/git/pub/yaz
Dennis Schafroth [Fri, 11 Mar 2011 12:36:52 +0000 (13:36 +0100)]
Merge branch 'master' of ssh://git.indexdata.com/home/git/pub/yaz

11 years agoout-defined logging of stemming
Dennis Schafroth [Fri, 11 Mar 2011 12:36:39 +0000 (13:36 +0100)]
out-defined logging of stemming

11 years agoVersion 4.1.6 v4.1.6
Adam Dickmeiss [Thu, 10 Mar 2011 09:27:53 +0000 (10:27 +0100)]
Version 4.1.6

11 years agoAvoid empty strings for yaz_iconv_open
Adam Dickmeiss [Thu, 10 Mar 2011 09:22:53 +0000 (10:22 +0100)]
Avoid empty strings for yaz_iconv_open

yaz_iconv_open apparently returns a non-null handle in case of
to=(null) and from="" .. Avoid we call it this way. This resulted
in bad records for Pazpar2 and was introduced in YAZ 4.1.5.

11 years agoFix date for NEWS
Adam Dickmeiss [Tue, 8 Mar 2011 13:22:10 +0000 (14:22 +0100)]
Fix date for NEWS

11 years agoVersion 4.1.5 v4.1.5
Adam Dickmeiss [Tue, 8 Mar 2011 12:54:07 +0000 (13:54 +0100)]
Version 4.1.5

11 years agoMerge branch 'master' of ssh://git.indexdata.com/home/git/pub/yaz
Adam Dickmeiss [Tue, 8 Mar 2011 12:30:55 +0000 (13:30 +0100)]
Merge branch 'master' of ssh://git.indexdata.com/home/git/pub/yaz

11 years agoSeparate OPAC record character set for ZOOM_record
Adam Dickmeiss [Tue, 8 Mar 2011 12:28:34 +0000 (13:28 +0100)]
Separate OPAC record character set for ZOOM_record

yaz_record_render allows a character set given as charset=from/opacfrom,to
where 'from' is the character set of a bibliographic record, 'opacfrom'
is character set of OPAC record and 'to' is the target character set.

11 years agoImplement yaz_opac_decode_wrbuf2
Adam Dickmeiss [Tue, 8 Mar 2011 12:28:10 +0000 (13:28 +0100)]
Implement yaz_opac_decode_wrbuf2

This function behaves likes yaz_opac_decode_wrbuf but takes yaz_iconv_t
to allow character set conversion different from yaz_iconv_t part of
yaz_marc_t. This is because OPAC record ASN.1 fields may have different
encoding from the bibliographic MARC record.

11 years agoFix: import header so we dont return a int and seg.fault on that.
Dennis Schafroth [Fri, 4 Mar 2011 12:16:36 +0000 (13:16 +0100)]
Fix: import header so we dont return a int and seg.fault on that.

11 years agomethods for handling DADS SRU-proxy facets
Dennis Schafroth [Fri, 4 Mar 2011 11:26:55 +0000 (12:26 +0100)]
methods for handling DADS SRU-proxy facets

11 years agoRefactor location of utility methods
Dennis Schafroth [Fri, 4 Mar 2011 11:25:55 +0000 (12:25 +0100)]
Refactor location of utility methods

11 years agoAdd yaz_use_atttribute_create to private API
Dennis Schafroth [Fri, 4 Mar 2011 10:26:35 +0000 (11:26 +0100)]
Add yaz_use_atttribute_create to private API

11 years agoMoved yaz_solr_use_atttribute_create to srwutil. Support for null attribute name...
Dennis Schafroth [Fri, 4 Mar 2011 10:25:37 +0000 (11:25 +0100)]
Moved yaz_solr_use_atttribute_create to srwutil. Support for null attribute name in match_xml_node_attribute

11 years agoNew non-public resultsets_count
Dennis Schafroth [Thu, 24 Feb 2011 11:23:07 +0000 (12:23 +0100)]
New non-public resultsets_count

11 years agoVersion 4.1.4 v4.1.4
Adam Dickmeiss [Mon, 21 Feb 2011 11:52:35 +0000 (12:52 +0100)]
Version 4.1.4

11 years agoyaz-client: show may XML format records
Adam Dickmeiss [Mon, 21 Feb 2011 11:42:36 +0000 (12:42 +0100)]
yaz-client: show may XML format records

Command show followed by 'format' will format XML records retrieved
using Libxml2's xmlDocDumpFormatMemory function.

11 years agodocument icu4 for FreeBSD
Wolfram Schneider [Sat, 19 Feb 2011 11:52:50 +0000 (12:52 +0100)]
document icu4 for FreeBSD

11 years agoupdate help message for FreeBSD
Wolfram Schneider [Sat, 19 Feb 2011 11:43:51 +0000 (12:43 +0100)]
update help message for FreeBSD

11 years agorun on FreeBSD 8.1 Release
Wolfram Schneider [Sat, 19 Feb 2011 11:37:50 +0000 (12:37 +0100)]
run on FreeBSD 8.1 Release

11 years agoMerge branch 'master' of ssh://git.indexdata.com/home/git/pub/yaz
Dennis Schafroth [Fri, 18 Feb 2011 12:48:18 +0000 (13:48 +0100)]
Merge branch 'master' of ssh://git.indexdata.com/home/git/pub/yaz

11 years agoRemove unnessesary union
Dennis Schafroth [Fri, 18 Feb 2011 12:47:59 +0000 (13:47 +0100)]
Remove unnessesary union

11 years agoMerge branch 'master' of ssh://git.indexdata.com/home/git/pub/yaz
Adam Dickmeiss [Wed, 2 Feb 2011 08:20:24 +0000 (09:20 +0100)]
Merge branch 'master' of ssh://git.indexdata.com/home/git/pub/yaz

11 years agoFor phpyaz: set YAZVERSION, not YAZ_VERSION
Adam Dickmeiss [Wed, 2 Feb 2011 08:19:35 +0000 (09:19 +0100)]
For phpyaz: set YAZVERSION, not YAZ_VERSION

Thanks to Dave Burgess for pointing that out.

11 years agoFix compilation for case of unavailable ICU
Adam Dickmeiss [Sat, 29 Jan 2011 14:35:07 +0000 (15:35 +0100)]
Fix compilation for case of unavailable ICU

11 years agoMerge branch 'master' of ssh://git.indexdata.com/home/git/pub/yaz
Adam Dickmeiss [Thu, 27 Jan 2011 13:44:47 +0000 (14:44 +0100)]
Merge branch 'master' of ssh://git.indexdata.com/home/git/pub/yaz

11 years agoMerge branch 'master' of ssh://git.indexdata.com/home/git/pub/yaz
Dennis Schafroth [Thu, 27 Jan 2011 13:32:25 +0000 (14:32 +0100)]
Merge branch 'master' of ssh://git.indexdata.com/home/git/pub/yaz

11 years agoNew libstemmer test
Dennis Schafroth [Thu, 27 Jan 2011 13:32:20 +0000 (14:32 +0100)]
New libstemmer test

11 years agoVersion 4.1.3 v4.1.3
Adam Dickmeiss [Thu, 27 Jan 2011 13:06:06 +0000 (14:06 +0100)]
Version 4.1.3

11 years agoUpdate NEWS
Adam Dickmeiss [Thu, 27 Jan 2011 12:56:42 +0000 (13:56 +0100)]
Update NEWS

11 years agoRPM: Release includes 'indexdata' name
Adam Dickmeiss [Thu, 27 Jan 2011 09:43:39 +0000 (10:43 +0100)]
RPM: Release includes 'indexdata' name

Use indexdata in release name so this package can be distinguished
from other vendors.

11 years agoMerge branch 'master' of ssh://git.indexdata.com/home/git/pub/yaz
Adam Dickmeiss [Thu, 27 Jan 2011 09:37:48 +0000 (10:37 +0100)]
Merge branch 'master' of ssh://git.indexdata.com/home/git/pub/yaz

11 years agoFix distcheck for libstemmer_c
Adam Dickmeiss [Thu, 27 Jan 2011 09:37:18 +0000 (10:37 +0100)]
Fix distcheck for libstemmer_c

11 years agoGFS: Z_PresentStatus_partial_4 for missing record
Adam Dickmeiss [Thu, 27 Jan 2011 09:27:59 +0000 (10:27 +0100)]
GFS: Z_PresentStatus_partial_4 for missing record

If bend_fetch handler returns no error and no record, the present
request is considered partial (only a subset of the records could
be returned by backend), and so it is appropriate to set Present
Status to partial-4.

11 years agoRPM: use libgnutls-devel on SLES11.
Adam Dickmeiss [Tue, 18 Jan 2011 11:20:24 +0000 (12:20 +0100)]
RPM: use libgnutls-devel on SLES11.

11 years agoDefine tcpwrappers for fedora, redhat, suse
Adam Dickmeiss [Fri, 14 Jan 2011 15:28:32 +0000 (16:28 +0100)]
Define tcpwrappers for fedora, redhat, suse

11 years agoMultiple BuildRequires
Adam Dickmeiss [Fri, 14 Jan 2011 14:43:53 +0000 (15:43 +0100)]
Multiple BuildRequires

11 years agoSet YAZ_VERSION (php-yaz relies on it)
Adam Dickmeiss [Fri, 7 Jan 2011 12:07:18 +0000 (13:07 +0100)]
Set YAZ_VERSION (php-yaz relies on it)

11 years agoUpdate copyright-year
Adam Dickmeiss [Fri, 7 Jan 2011 09:56:39 +0000 (10:56 +0100)]
Update copyright-year

11 years agoHappy new year
Adam Dickmeiss [Thu, 6 Jan 2011 15:18:56 +0000 (16:18 +0100)]
Happy new year

11 years agoUpdate m4
Adam Dickmeiss [Thu, 23 Dec 2010 10:16:26 +0000 (11:16 +0100)]
Update m4

11 years agoyaz-config: Use exec_prefix, libdir, includedir
Adam Dickmeiss [Wed, 22 Dec 2010 13:48:05 +0000 (14:48 +0100)]
yaz-config: Use exec_prefix, libdir, includedir

Use these variables as determined by configure

11 years agoRPM: make it relocatable
Adam Dickmeiss [Mon, 20 Dec 2010 12:55:57 +0000 (13:55 +0100)]
RPM: make it relocatable

11 years agoMoved yaz.spec.in to yaz.spec
Adam Dickmeiss [Mon, 20 Dec 2010 12:51:18 +0000 (07:51 -0500)]
Moved yaz.spec.in to yaz.spec

11 years agoReturn no yaz_stemmer on misconfiguration. Handle null pointer in clone and destroy...
Dennis Schafroth [Tue, 16 Nov 2010 11:02:48 +0000 (12:02 +0100)]
Return no yaz_stemmer on misconfiguration. Handle null pointer in clone and destroy correctly

11 years agoMerge branch 'master' of ssh://git.indexdata.com/home/git/pub/yaz
Dennis Schafroth [Fri, 12 Nov 2010 12:41:14 +0000 (13:41 +0100)]
Merge branch 'master' of ssh://git.indexdata.com/home/git/pub/yaz

11 years agoMerge branch 'master' of ssh://git.indexdata.com/home/git/pub/yaz
Adam Dickmeiss [Fri, 12 Nov 2010 10:21:45 +0000 (11:21 +0100)]
Merge branch 'master' of ssh://git.indexdata.com/home/git/pub/yaz

11 years agoBundle more stemmer sources with dist
Adam Dickmeiss [Fri, 12 Nov 2010 10:21:36 +0000 (11:21 +0100)]
Bundle more stemmer sources with dist

11 years agoMerge branch 'master' of ssh://git.indexdata.com/home/git/pub/yaz
Dennis Schafroth [Fri, 12 Nov 2010 10:17:24 +0000 (11:17 +0100)]
Merge branch 'master' of ssh://git.indexdata.com/home/git/pub/yaz

11 years agoFix: using right destroy method
Dennis Schafroth [Fri, 12 Nov 2010 10:17:19 +0000 (11:17 +0100)]
Fix: using right destroy method

11 years agoMerge branch 'master' of ssh://git.indexdata.com/home/git/pub/yaz
Dennis Schafroth [Thu, 11 Nov 2010 14:13:20 +0000 (15:13 +0100)]
Merge branch 'master' of ssh://git.indexdata.com/home/git/pub/yaz

11 years agoFix: Destroy utf8 buffer with utf-8 buffer destroy
Dennis Schafroth [Thu, 11 Nov 2010 13:27:01 +0000 (14:27 +0100)]
Fix: Destroy utf8 buffer with utf-8 buffer destroy

11 years agoUsing different ICU diagnostic code
Adam Dickmeiss [Thu, 11 Nov 2010 13:23:16 +0000 (14:23 +0100)]
Using different ICU diagnostic code

11 years agoUps... memory leak
Dennis Schafroth [Thu, 11 Nov 2010 12:16:26 +0000 (13:16 +0100)]
Ups... memory leak

11 years agoTest for stemming
Dennis Schafroth [Thu, 11 Nov 2010 12:13:04 +0000 (13:13 +0100)]
Test for stemming

11 years agoStemmer implementation working.
Dennis Schafroth [Thu, 11 Nov 2010 12:06:44 +0000 (13:06 +0100)]
Stemmer implementation working.

- Snowball stemmer now works.
- Implementing "No Operation" for invalid settings. But returning error.

11 years agoFix copy and paste code
Dennis Schafroth [Thu, 11 Nov 2010 12:04:57 +0000 (13:04 +0100)]
Fix copy and paste code

11 years agoAdd Snowball API implementation
Dennis Schafroth [Wed, 10 Nov 2010 14:20:32 +0000 (15:20 +0100)]
Add Snowball API implementation

11 years agoUpdated to slimmed down snowball library: English/porter support
Dennis Schafroth [Wed, 10 Nov 2010 14:19:29 +0000 (15:19 +0100)]
Updated to slimmed down snowball library: English/porter support

11 years agoFirst implementation of yaz_stemmer API. Can compile.
Dennis Schafroth [Wed, 10 Nov 2010 13:41:16 +0000 (14:41 +0100)]
First implementation of yaz_stemmer API. Can compile.

11 years agoUpdate libstemmer_c
Adam Dickmeiss [Wed, 10 Nov 2010 09:03:07 +0000 (10:03 +0100)]
Update libstemmer_c

11 years agoUpdate to new current libstemmer_c
Adam Dickmeiss [Wed, 10 Nov 2010 09:00:02 +0000 (10:00 +0100)]
Update to new current libstemmer_c

11 years agoStemmer C sources part of libyaz_icu library
Adam Dickmeiss [Wed, 10 Nov 2010 08:46:24 +0000 (09:46 +0100)]
Stemmer C sources part of libyaz_icu library

11 years agoMerge branch 'master' into stemming
Adam Dickmeiss [Wed, 10 Nov 2010 08:27:40 +0000 (09:27 +0100)]
Merge branch 'master' into stemming

11 years agoIgnore some eclipse setting
Dennis Schafroth [Tue, 9 Nov 2010 12:44:34 +0000 (13:44 +0100)]
Ignore some eclipse setting

11 years agoAdd config.h stuff
Dennis Schafroth [Tue, 9 Nov 2010 12:43:34 +0000 (13:43 +0100)]
Add config.h stuff

11 years agoAdd libstemmer_c (Snowball) as sub module
Dennis Schafroth [Tue, 9 Nov 2010 12:37:25 +0000 (13:37 +0100)]
Add libstemmer_c (Snowball) as sub module

11 years agoDeb: announce 4.1.0 because of new JSON OID
Adam Dickmeiss [Tue, 9 Nov 2010 12:14:45 +0000 (13:14 +0100)]
Deb: announce 4.1.0 because of new JSON OID

11 years agoMerge branch 'master' into stemming
Dennis Schafroth [Mon, 8 Nov 2010 17:05:54 +0000 (18:05 +0100)]
Merge branch 'master' into stemming

Conflicts:
src/icu_chain.c

Merge minor ICU change and test changes.

Fix includes to include config.h.
Fix Makefile: Include stemmer in libyaz_icu.

11 years agoModify icu_chain to support yaz stemming
Dennis Schafroth [Mon, 8 Nov 2010 15:27:47 +0000 (16:27 +0100)]
Modify icu_chain to support yaz stemming

11 years agoAdd yaz stemmer file
Dennis Schafroth [Mon, 8 Nov 2010 15:26:47 +0000 (16:26 +0100)]
Add yaz stemmer file

11 years agoAdd Stemming API (following ICU transforms)
Dennis Schafroth [Mon, 8 Nov 2010 15:25:23 +0000 (16:25 +0100)]
Add Stemming API (following ICU transforms)

11 years agoICU: refactor step creation
Adam Dickmeiss [Mon, 8 Nov 2010 14:30:55 +0000 (15:30 +0100)]
ICU: refactor step creation

11 years agoICU: add test for multi-line rule
Adam Dickmeiss [Mon, 8 Nov 2010 14:29:28 +0000 (15:29 +0100)]
ICU: add test for multi-line rule

11 years agoDont work with NULL chains
Adam Dickmeiss [Mon, 8 Nov 2010 14:25:01 +0000 (15:25 +0100)]
Dont work with NULL chains

11 years agoICU: remove check for attr rule (not required)
Adam Dickmeiss [Mon, 8 Nov 2010 14:24:46 +0000 (15:24 +0100)]
ICU: remove check for attr rule (not required)

11 years agoICU rules may be specified as CDATA below the rule
Adam Dickmeiss [Mon, 8 Nov 2010 14:11:18 +0000 (15:11 +0100)]
ICU rules may be specified as CDATA below the rule

This allows for multi-line rules, such as ICU custom transliterators.
For example:
<icu_chain locale="en">
 <transliterate>
$back = \` ;
$back $back > “ ; # generate right d.q.m. (double quotation mark)
$back > ‘ ;
</transliterate>
</icu_chain>

11 years agoReformat
Adam Dickmeiss [Mon, 8 Nov 2010 13:45:06 +0000 (14:45 +0100)]
Reformat

11 years agoUpdate ICU URL
Adam Dickmeiss [Mon, 8 Nov 2010 12:44:09 +0000 (13:44 +0100)]
Update ICU URL

11 years agoReformat
Adam Dickmeiss [Mon, 8 Nov 2010 12:37:04 +0000 (13:37 +0100)]
Reformat

11 years agoMore consistent ICU info. Update URLs to ICU info
Adam Dickmeiss [Mon, 8 Nov 2010 12:34:12 +0000 (13:34 +0100)]
More consistent ICU info. Update URLs to ICU info

11 years agoUpdate configure to generate config.h
Adam Dickmeiss [Wed, 3 Nov 2010 12:05:16 +0000 (13:05 +0100)]
Update configure to generate config.h

11 years agotest_file_glob: return two files in test
Adam Dickmeiss [Tue, 2 Nov 2010 15:49:42 +0000 (16:49 +0100)]
test_file_glob: return two files in test

11 years agoyaz_file_glob sorts files
Adam Dickmeiss [Tue, 2 Nov 2010 15:47:50 +0000 (16:47 +0100)]
yaz_file_glob sorts files

11 years agoVersion 4.1.2 v4.1.2
Adam Dickmeiss [Tue, 2 Nov 2010 09:05:58 +0000 (10:05 +0100)]
Version 4.1.2

11 years agoMention @6 special hostname
Adam Dickmeiss [Tue, 2 Nov 2010 09:03:02 +0000 (10:03 +0100)]
Mention @6 special hostname

11 years agoUse yaz_log to print info about events; not printf
Adam Dickmeiss [Mon, 1 Nov 2010 20:31:40 +0000 (21:31 +0100)]
Use yaz_log to print info about events; not printf

11 years agoPut yaz_log private data in non-static data
Adam Dickmeiss [Fri, 29 Oct 2010 13:19:36 +0000 (15:19 +0200)]
Put yaz_log private data in non-static data

Move yaz_log private data, such as log file, file type, log
prefix from static to non-static (in a struct). This is to fix
a problem where a shared object will see the "old" initialized data
- not "current" data. For example, yaz_log_file would return stderr
handle in shared object program despite the fact that yaz_log_init_file
was called in mother program. The "private" data is combined in a
struct yaz_log_info to minimize number of globals (that really
are private data to yaz_log).

11 years agobuildconf.sh -d: use --with-pic
Adam Dickmeiss [Tue, 26 Oct 2010 18:11:42 +0000 (20:11 +0200)]
buildconf.sh -d: use --with-pic

11 years agoMerge branch 'master' of ssh://git.indexdata.com/home/git/pub/yaz
Dennis Schafroth [Tue, 26 Oct 2010 12:18:06 +0000 (14:18 +0200)]
Merge branch 'master' of ssh://git.indexdata.com/home/git/pub/yaz

11 years agotcp comstack: change behavior for @-specs (anyaddr)
Adam Dickmeiss [Tue, 26 Oct 2010 10:41:30 +0000 (12:41 +0200)]
tcp comstack: change behavior for @-specs (anyaddr)

@ listens on AF_INET (IPV4) peers, and @6 listens to AF_INET6 (ipv6)
peers. Previously @ listened on AF_INET6 which accepted both IPV4 and
IPV6 peers on some Linux systems. However, in general that does not
work so YAZ can not rely on that to work. Debian changed behavior in
this respect from Debian lenny to Debian squeeze (still testing as of
Oct 2010). Refer to:
http://www.mail-archive.com/debian-devel@lists.debian.org/msg277726.html

11 years agoyaz-icu: avoid deprecated ICU API
Adam Dickmeiss [Mon, 25 Oct 2010 12:30:55 +0000 (14:30 +0200)]
yaz-icu: avoid deprecated ICU API

11 years agoyaz-icu: mention libicu-dev; not old libicu36-dev
Adam Dickmeiss [Mon, 25 Oct 2010 12:06:31 +0000 (14:06 +0200)]
yaz-icu: mention libicu-dev; not old libicu36-dev

11 years agoMention SOLR where SRU.
Dennis Schafroth [Thu, 21 Oct 2010 12:39:05 +0000 (14:39 +0200)]
Mention SOLR where SRU.

11 years agoFixed spelling error. Add SOLR client only comment
Dennis Schafroth [Thu, 21 Oct 2010 12:36:10 +0000 (14:36 +0200)]
Fixed spelling error. Add SOLR client only comment