yaz-moved-to-github.git
14 years agoAdd include for u_strToLower and others
unknown [Mon, 30 Nov 2009 13:58:10 +0000 (14:58 +0100)]
Add include for u_strToLower and others

14 years agoUpdate WRT to new sources for ICU
unknown [Mon, 30 Nov 2009 13:57:55 +0000 (14:57 +0100)]
Update WRT to new sources for ICU

14 years agoMerge branch 'icu_refactor' into yaz4
Adam Dickmeiss [Mon, 30 Nov 2009 13:21:24 +0000 (14:21 +0100)]
Merge branch 'icu_refactor' into yaz4

14 years agoSplit ICU wrapper library into several sources
Adam Dickmeiss [Mon, 30 Nov 2009 12:59:45 +0000 (13:59 +0100)]
Split ICU wrapper library into several sources

14 years agoICU: icu_chain_step_next_token is internal
Adam Dickmeiss [Sun, 29 Nov 2009 21:31:56 +0000 (22:31 +0100)]
ICU: icu_chain_step_next_token is internal

14 years agoMore teformat
Adam Dickmeiss [Sat, 28 Nov 2009 16:25:50 +0000 (17:25 +0100)]
More teformat

14 years agoReformat
Adam Dickmeiss [Sat, 28 Nov 2009 16:24:24 +0000 (17:24 +0100)]
Reformat

14 years agoUse __in64 type for 64-bit YAZ on Windows
Adam Dickmeiss [Sat, 28 Nov 2009 13:12:53 +0000 (14:12 +0100)]
Use __in64 type for 64-bit YAZ on Windows

14 years agoMerge branch 'master' into yaz4
Adam Dickmeiss [Sat, 28 Nov 2009 13:03:41 +0000 (14:03 +0100)]
Merge branch 'master' into yaz4

Conflicts:
configure.ac
debian/changelog

14 years agoYAZ on Windows uses newer Libxml2/Libxslt, ICU
Adam Dickmeiss [Sat, 28 Nov 2009 12:59:53 +0000 (13:59 +0100)]
YAZ on Windows uses newer Libxml2/Libxslt, ICU

YAZ on Windows uses Libxml2 2.7.6, Libxslt 1.1.24, ICU 4.2.

14 years agoRemove unused function icu_utf16_from_utf8
Adam Dickmeiss [Fri, 27 Nov 2009 21:21:29 +0000 (22:21 +0100)]
Remove unused function icu_utf16_from_utf8

14 years agoBump version to 3.0.51
Adam Dickmeiss [Thu, 26 Nov 2009 12:59:53 +0000 (13:59 +0100)]
Bump version to 3.0.51

14 years agoDont enable 64-bit on Windows
Adam Dickmeiss [Thu, 26 Nov 2009 08:49:58 +0000 (09:49 +0100)]
Dont enable 64-bit on Windows

14 years agoBump major so version lib to 4
Adam Dickmeiss [Wed, 25 Nov 2009 21:02:21 +0000 (22:02 +0100)]
Bump major so version lib to 4

14 years agoUpdate Debian package to version 4
Adam Dickmeiss [Wed, 25 Nov 2009 20:04:02 +0000 (21:04 +0100)]
Update Debian package to version 4

14 years agoGFS: remove member hits from bend_present_rr
Adam Dickmeiss [Wed, 25 Nov 2009 19:57:40 +0000 (20:57 +0100)]
GFS: remove member hits from bend_present_rr

Member hits was probably added in bend_present_rr by a mistake. No
applications should be using it.

14 years ago64-bit BER integer
Adam Dickmeiss [Wed, 25 Nov 2009 19:55:30 +0000 (20:55 +0100)]
64-bit BER integer

14 years agoBump version to 4.0.0
Adam Dickmeiss [Wed, 25 Nov 2009 19:54:09 +0000 (20:54 +0100)]
Bump version to 4.0.0

14 years agoFix description of update command
Adam Dickmeiss [Wed, 25 Nov 2009 15:50:31 +0000 (16:50 +0100)]
Fix description of update command

14 years agoWin32 makefile: dist depends nsi
Adam Dickmeiss [Tue, 24 Nov 2009 13:14:57 +0000 (14:14 +0100)]
Win32 makefile: dist depends nsi

14 years agotcpip comstack: fix leak for getaddrinfo
Adam Dickmeiss [Mon, 23 Nov 2009 14:31:51 +0000 (15:31 +0100)]
tcpip comstack: fix leak for getaddrinfo

14 years agoencode_uri_char: encode blank as %20
Adam Dickmeiss [Mon, 23 Nov 2009 13:53:54 +0000 (14:53 +0100)]
encode_uri_char: encode blank as %20

14 years agoURI component encode/decode SRU database
Adam Dickmeiss [Mon, 23 Nov 2009 13:34:53 +0000 (14:34 +0100)]
URI component encode/decode SRU database

Encoding of SRU database is performed by yaz_encode_sru_dbpath_odr or
yaz_encode_sru_dbpath_buf. Now used by yaz-client and the ZOOM API.
Decoding of SRU "path" database is performed by private function
yaz_decode_sru_dbpath_odr . This in turn is used by yaz_srw_decode
and yaz_sru_decode in server applications, GFS, yazproxy, metaproxy.

14 years agoyaz-client: honor base command for SRU
Adam Dickmeiss [Mon, 23 Nov 2009 09:35:58 +0000 (10:35 +0100)]
yaz-client: honor base command for SRU

Change when database setting is applied for SRU and ensure it is kept
when a connection is reset. Change also the way errors are displayed
for SRU (decoding of pacakges).

14 years agoMerge branch 'master' of ssh://git.indexdata.com/home/git/pub/yaz
Adam Dickmeiss [Mon, 23 Nov 2009 09:25:58 +0000 (10:25 +0100)]
Merge branch 'master' of ssh://git.indexdata.com/home/git/pub/yaz

14 years agoRefactor URI utils to uri.c
Adam Dickmeiss [Sat, 21 Nov 2009 08:27:46 +0000 (09:27 +0100)]
Refactor URI utils to uri.c

14 years agoHTTP response error, doctype + YAZ URL
Adam Dickmeiss [Fri, 20 Nov 2009 12:49:25 +0000 (13:49 +0100)]
HTTP response error, doctype + YAZ URL

15 years agoremoved tmp file from git
Dennis Schafroth [Fri, 6 Nov 2009 10:40:12 +0000 (11:40 +0100)]
removed tmp file from git

15 years agoAdded tests for pql2cql using relation and truncation.
Dennis Schafroth [Fri, 6 Nov 2009 10:38:38 +0000 (11:38 +0100)]
Added tests for pql2cql using relation and truncation.

15 years agoFixed: Removed the server option which was remedy from the copied function. Returning...
Dennis Schafroth [Thu, 5 Nov 2009 14:13:54 +0000 (15:13 +0100)]
Fixed: Removed the server option which was remedy from the copied function. Returning 0 on parse error. Returning equal on none.

Added: Parsing the Truncation attribute: Left, Right and Both. No implementation of the 100 and above.

15 years agoAttempt to get eclipse working
Dennis Schafroth [Thu, 5 Nov 2009 08:17:56 +0000 (09:17 +0100)]
Attempt to get eclipse working

15 years agoFixed comment
Dennis Schafroth [Thu, 5 Nov 2009 08:15:05 +0000 (09:15 +0100)]
Fixed comment

15 years agoComment fixes only
Dennis Schafroth [Wed, 4 Nov 2009 15:15:23 +0000 (16:15 +0100)]
Comment fixes only

15 years agoFor phonetic, stem and relevance return no operator
Dennis Schafroth [Wed, 4 Nov 2009 14:42:50 +0000 (15:42 +0100)]
For phonetic, stem and relevance return no operator
Was returning questionmarks

15 years agoAddded a lookup of relation in the attributes. Not supporting the phonetic, stem...
Dennis Schafroth [Wed, 4 Nov 2009 14:33:58 +0000 (15:33 +0100)]
Addded a lookup of relation in the attributes. Not supporting the phonetic, stem and relevance
as these are not listed on the CQL web page.

15 years agoMerge branch 'master' of git://git.indexdata.com/yaz
Dennis Schafroth [Wed, 4 Nov 2009 14:28:40 +0000 (15:28 +0100)]
Merge branch 'master' of git://git.indexdata.com/yaz

15 years agoAdded break in reverse/'r' option check, or it would scan for iteration number.
Dennis Schafroth [Wed, 4 Nov 2009 12:55:24 +0000 (13:55 +0100)]
Added break in reverse/'r' option check, or it would scan for iteration number.

15 years agoUse website for upload doc
Adam Dickmeiss [Mon, 2 Nov 2009 21:38:30 +0000 (22:38 +0100)]
Use website for upload doc

15 years agoVersion 3.0.50 v3.0.50
Adam Dickmeiss [Mon, 2 Nov 2009 13:24:31 +0000 (14:24 +0100)]
Version 3.0.50

15 years agoBetter support for extra data for SRU codecs and GFS
Adam Dickmeiss [Tue, 27 Oct 2009 13:27:58 +0000 (14:27 +0100)]
Better support for extra data for SRU codecs and GFS

The Z_SRW_PDU structure has two new members extraResponseData_{buf,len}
for extra data response buffer and length. For the GFS, both request
and response data (XML) is carried in extra_args and extra_response_data
for the search handler. Patch by Ko van der Sloot.

15 years agoZOOM reject queries that cannot be char converted
Adam Dickmeiss [Tue, 20 Oct 2009 09:14:54 +0000 (11:14 +0200)]
ZOOM reject queries that cannot be char converted

For queries that cannot be converted to the specified rpnCharset,
ZOOM now returns a diagnostic on the client-side ('invalid query' /
10010).  This fixes bug #2113.

15 years agoMerge branch 'master' of ssh://git.indexdata.com/home/git/pub/yaz
Adam Dickmeiss [Thu, 15 Oct 2009 11:07:36 +0000 (13:07 +0200)]
Merge branch 'master' of ssh://git.indexdata.com/home/git/pub/yaz

15 years agoFix do_nothing_useful example
Adam Dickmeiss [Thu, 15 Oct 2009 11:07:17 +0000 (13:07 +0200)]
Fix do_nothing_useful example

15 years agoFix odr_bool definition
Adam Dickmeiss [Thu, 15 Oct 2009 11:06:55 +0000 (13:06 +0200)]
Fix odr_bool definition

15 years agoMerge branch 'master' of ssh://git.indexdata.com/home/git/pub/yaz
Adam Dickmeiss [Thu, 8 Oct 2009 21:01:38 +0000 (23:01 +0200)]
Merge branch 'master' of ssh://git.indexdata.com/home/git/pub/yaz

15 years agoFix SEGV for quit command in cmdfile
Adam Dickmeiss [Thu, 8 Oct 2009 20:57:43 +0000 (22:57 +0200)]
Fix SEGV for quit command in cmdfile

If cmdfile is passed to yaz-client (option -f) and that cmdfile
included a 'quit' command that would result in a memory violation.

15 years agoMARC21 to Endnote: omit text garbage.
Adam Dickmeiss [Thu, 8 Oct 2009 11:53:23 +0000 (13:53 +0200)]
MARC21 to Endnote: omit text garbage.

Match on text nodes to omit text garbage.. Makes this stylesheet
work on OPACXML (with MARC21 embedded) as well.

15 years agoMore field mappings.
Adam Dickmeiss [Thu, 1 Oct 2009 14:29:16 +0000 (16:29 +0200)]
More field mappings.

Only consider surname authors. Map secondary title, call number, pages,
volume, abstract.

15 years agoUse printfield everywhere
Adam Dickmeiss [Thu, 1 Oct 2009 13:34:05 +0000 (15:34 +0200)]
Use printfield everywhere

15 years agoStart work on MARC21 to Endnote import
Adam Dickmeiss [Thu, 1 Oct 2009 12:45:49 +0000 (14:45 +0200)]
Start work on MARC21 to Endnote import

15 years agoVersion 3.0.49. Update news. v3.0.49
Adam Dickmeiss [Thu, 1 Oct 2009 08:20:51 +0000 (10:20 +0200)]
Version 3.0.49. Update news.

15 years agoOptimize trie look for char conv.
Adam Dickmeiss [Tue, 29 Sep 2009 13:08:49 +0000 (15:08 +0200)]
Optimize trie look for char conv.

The lookup function now saves one function call for every character -
to improve performance for conversion from/to MARC8.

15 years agoOptimize wrbuf_iconv_write.
Adam Dickmeiss [Tue, 29 Sep 2009 13:07:00 +0000 (15:07 +0200)]
Optimize wrbuf_iconv_write.

Use bigger temporary conversion buffer for wrbut_iconv_write.. This
increases performance a bit.

15 years agoMerge branch 'master' of ssh://git.indexdata.com/home/git/pub/yaz
Adam Dickmeiss [Tue, 29 Sep 2009 11:01:29 +0000 (13:01 +0200)]
Merge branch 'master' of ssh://git.indexdata.com/home/git/pub/yaz

15 years agoAllow Slow database wait to be set.
Adam Dickmeiss [Tue, 29 Sep 2009 11:00:17 +0000 (13:00 +0200)]
Allow Slow database wait to be set.

The dummy Database Slow may be followed by an integer.. This integer
specifies the time for an operation to execute - in seconds.

15 years agoAllow slow database wait to be set.
Adam Dickmeiss [Tue, 29 Sep 2009 11:00:17 +0000 (13:00 +0200)]
Allow slow database wait to be set.

The dummy Database Slow may be followed by an integer.. This integer
specifies the time for an operation to execute - in seconds.

15 years agoZOOM_record_get returns 0 for bad MARC.
Adam Dickmeiss [Tue, 29 Sep 2009 10:58:40 +0000 (12:58 +0200)]
ZOOM_record_get returns 0 for bad MARC.

ZOOM_record_get returns 0 pointer if a MARC record can not be decoded -
unless type desired is "raw". This will prevent type "xml" from
returning ISO2709 .. Which obviously can not be XML parsed.

15 years agoDummy database Slow waits 3 seconds.
Adam Dickmeiss [Sun, 27 Sep 2009 19:21:06 +0000 (21:21 +0200)]
Dummy database Slow waits 3 seconds.

15 years agoLeak fixes for xmlquery stuff
Adam Dickmeiss [Thu, 24 Sep 2009 11:40:31 +0000 (13:40 +0200)]
Leak fixes for xmlquery stuff

15 years agoMake som internal functions static.
Adam Dickmeiss [Thu, 24 Sep 2009 11:14:24 +0000 (13:14 +0200)]
Make som internal functions static.

Make a number of functions defined in xmlquery.c static. These have
never been declared in a public header file (yaz/xmlquery.h) and was
made public by mistake.

15 years agoFix leak for odr_print of ZOOM connection.
Adam Dickmeiss [Wed, 23 Sep 2009 15:56:53 +0000 (17:56 +0200)]
Fix leak for odr_print of ZOOM connection.

Calls to ZOOM_connection_connect would odr_print memory each time
if option apdulog=1.

15 years agoUpdated m4 + doc/common.
Adam Dickmeiss [Wed, 23 Sep 2009 15:51:41 +0000 (17:51 +0200)]
Updated m4 + doc/common.

15 years agoResolve
Mike Taylor [Fri, 18 Sep 2009 16:47:45 +0000 (17:47 +0100)]
Resolve

15 years agoGFS logs HTTP requests
Adam Dickmeiss [Fri, 18 Sep 2009 10:33:54 +0000 (12:33 +0200)]
GFS logs HTTP requests

15 years agoLog session timeout. Reenable ASSOC_UP.
Adam Dickmeiss [Fri, 18 Sep 2009 09:06:20 +0000 (11:06 +0200)]
Log session timeout. Reenable ASSOC_UP.

The association_state ASSOC_UP was last used in YAZ 2.0.30. It
was probably removed by mistake. We enable it - but for Z39.50
sessions only, so that when a timeout occurs we can send a Z39.50
close PDU again. The session timeout is now also logged at "session"
log level.

15 years agoSkip zero-length subfields for ISO2709.
Adam Dickmeiss [Thu, 17 Sep 2009 11:27:05 +0000 (13:27 +0200)]
Skip zero-length subfields for ISO2709.

Skip zero-length subfields when decoding ISO2709. This rare case happens
if a record has two FS characters in a sequence. Without this patch
there would be a reference beyond char array in using_code_len fragments
in marcdisp.c.

15 years agoFix install doc rule for Automake 1.11
Adam Dickmeiss [Wed, 16 Sep 2009 11:58:26 +0000 (13:58 +0200)]
Fix install doc rule for Automake 1.11

15 years agoLink add libyaz.la to yaz-ztest (fix #3036).
Adam Dickmeiss [Tue, 15 Sep 2009 08:18:06 +0000 (10:18 +0200)]
Link add libyaz.la to yaz-ztest (fix #3036).

15 years agoFix yaz-marcdump -n (bug #3028).
Adam Dickmeiss [Thu, 10 Sep 2009 07:13:18 +0000 (09:13 +0200)]
Fix yaz-marcdump -n (bug #3028).

15 years agoMARC checkout output: No ()s in comments
Adam Dickmeiss [Thu, 10 Sep 2009 07:13:06 +0000 (09:13 +0200)]
MARC checkout output: No ()s in comments

15 years agoAdd debian make rule
Adam Dickmeiss [Wed, 2 Sep 2009 15:36:14 +0000 (17:36 +0200)]
Add debian make rule

15 years agoFix quoting for upload.sh
Adam Dickmeiss [Fri, 28 Aug 2009 12:46:21 +0000 (14:46 +0200)]
Fix quoting for upload.sh

15 years agoUpload doc+dox script
Adam Dickmeiss [Fri, 28 Aug 2009 10:44:15 +0000 (12:44 +0200)]
Upload doc+dox script

15 years agoVersion 3.0.48 v3.0.48
Adam Dickmeiss [Fri, 28 Aug 2009 09:01:41 +0000 (11:01 +0200)]
Version 3.0.48

15 years agoOmit tkl rules for documentation
Adam Dickmeiss [Fri, 28 Aug 2009 08:56:42 +0000 (10:56 +0200)]
Omit tkl rules for documentation

15 years agozoomsh's shows 1 record by default
Adam Dickmeiss [Fri, 28 Aug 2009 08:53:35 +0000 (10:53 +0200)]
zoomsh's shows 1 record by default

15 years agoMerge branch 'master' of ssh://git.indexdata.com/home/git/pub/yaz
Adam Dickmeiss [Fri, 28 Aug 2009 08:39:43 +0000 (10:39 +0200)]
Merge branch 'master' of ssh://git.indexdata.com/home/git/pub/yaz

15 years agoMention new type for show command
Adam Dickmeiss [Fri, 28 Aug 2009 08:35:44 +0000 (10:35 +0200)]
Mention new type for show command

15 years agoExtend zoomsh's show command WRT type
Adam Dickmeiss [Thu, 27 Aug 2009 20:05:29 +0000 (22:05 +0200)]
Extend zoomsh's show command WRT type

zoomsh's show command takes a new 3rd optional parameter which is the
type as passed to ZOOM_record_get. Default is "render".

15 years agoMerge branch 'master' of ssh://git.indexdata.com/home/git/pub/yaz
Mike Taylor [Thu, 20 Aug 2009 08:16:05 +0000 (09:16 +0100)]
Merge branch 'master' of ssh://git.indexdata.com/home/git/pub/yaz

15 years agoNew tests cases for CQL to RPN conv
Adam Dickmeiss [Wed, 19 Aug 2009 19:00:27 +0000 (21:00 +0200)]
New tests cases for CQL to RPN conv

15 years agoRPN to CQL: no use attr is treated as serverChoice
Adam Dickmeiss [Wed, 19 Aug 2009 18:56:58 +0000 (20:56 +0200)]
RPN to CQL: no use attr is treated as serverChoice

15 years agoRPN to CQL conv may use USE string attributes (bug #2978).
Adam Dickmeiss [Fri, 14 Aug 2009 13:35:57 +0000 (15:35 +0200)]
RPN to CQL conv may use USE string attributes (bug #2978).

In conversion from RPN to CQL (function cql_transform_rpn2cql_).. USE
string attributes are used as a fallback if there is no match in the
CQL transform (properties) lookup. Also change behavior so that
unsupported use attribute if there is no match .. Ie if there is a
numeric use attribute in a query and that is not matched anywhere.

15 years agoAllow empty CQL transform in cql2pqf (and reverse)
Adam Dickmeiss [Fri, 14 Aug 2009 13:31:21 +0000 (15:31 +0200)]
Allow empty CQL transform in cql2pqf (and reverse)

If value dash (-) is tiven as properties name, the cql2pqf program
will use no properties file.. Ie just cql_transform_create rather than
cql_transform_open_fname. This allows us to test RPN to CQL conversion
with no properties file (-r).

15 years agoAdd link to MARCXML and MarcXhange Web content
Adam Dickmeiss [Fri, 31 Jul 2009 13:07:20 +0000 (15:07 +0200)]
Add link to MARCXML and MarcXhange Web content

15 years agoMention ISO25577
Adam Dickmeiss [Fri, 31 Jul 2009 13:07:12 +0000 (15:07 +0200)]
Mention ISO25577

15 years agoMarcXchange NS is now info:lc/xmlns/marcxchange-v1
Adam Dickmeiss [Fri, 31 Jul 2009 12:59:30 +0000 (14:59 +0200)]
MarcXchange NS is now info:lc/xmlns/marcxchange-v1

15 years agoExtend z_External to handle all extended services
Adam Dickmeiss [Wed, 29 Jul 2009 07:38:26 +0000 (09:38 +0200)]
Extend z_External to handle all extended services

Extend z_External to handle all extended services persistentQuery,
periodicQuerySchedule, exportSpecification, exportInvocation. Patch
by Rustam T. Usmanov.

15 years agoRolling
Mike Taylor [Tue, 28 Jul 2009 09:28:09 +0000 (10:28 +0100)]
Rolling

15 years agoBetter message when receiving an unrecognised userInformationField.
Mike Taylor [Tue, 28 Jul 2009 09:27:39 +0000 (10:27 +0100)]
Better message when receiving an unrecognised userInformationField.

15 years agoRemove obsolete Doxygen setting
Adam Dickmeiss [Mon, 13 Jul 2009 08:58:20 +0000 (10:58 +0200)]
Remove obsolete Doxygen setting

15 years agoMerge branch 'master' of ssh://git.indexdata.com/home/git/pub/yaz
Adam Dickmeiss [Thu, 9 Jul 2009 14:31:51 +0000 (16:31 +0200)]
Merge branch 'master' of ssh://git.indexdata.com/home/git/pub/yaz

15 years agoUpdate to new ID URLs
Adam Dickmeiss [Thu, 9 Jul 2009 14:31:33 +0000 (16:31 +0200)]
Update to new ID URLs

15 years agoDescribe option -V of yaz-config
Adam Dickmeiss [Wed, 8 Jul 2009 20:28:42 +0000 (22:28 +0200)]
Describe option -V of yaz-config

15 years agoVersion 3.0.47 v3.0.47
Adam Dickmeiss [Wed, 8 Jul 2009 12:06:08 +0000 (14:06 +0200)]
Version 3.0.47

15 years agoAllow yaz_xml2query to throw a certain diagnostic
Adam Dickmeiss [Fri, 3 Jul 2009 14:20:26 +0000 (16:20 +0200)]
Allow yaz_xml2query to throw a certain diagnostic

Function yaz_xml2query allows a diagnostic element in the PQF XML
representation .. diagnostic@code and diagnostic@addinfo is diagnostic
code and additional info respectively.

15 years agoMerge branch 'master' into longint
Adam Dickmeiss [Thu, 18 Jun 2009 13:47:48 +0000 (15:47 +0200)]
Merge branch 'master' into longint

15 years agoIntroduce type for BER BOOLEAN/INTEGER .
Adam Dickmeiss [Thu, 18 Jun 2009 12:09:21 +0000 (14:09 +0200)]
Introduce type for BER BOOLEAN/INTEGER .

The BER BOOLEAN is now the integral type Odr_bool which still happens
to be an 'int'. The BER INTEGER which used to be a plain 'int' is now
typedef'd to Odr_int. This is still an integral 'int', but it may be
changed to 64-bit via a one-liner in nmem.h (NMEM_64=1). The documentation,
ASN-1 compiler as well as programs has been updated to use the new types.

15 years agoCQL sortby parsing, no semantics yet
Adam Dickmeiss [Tue, 16 Jun 2009 10:53:17 +0000 (12:53 +0200)]
CQL sortby parsing, no semantics yet

15 years agoAdd type casts for tests for C++ compile
Adam Dickmeiss [Tue, 16 Jun 2009 09:01:24 +0000 (11:01 +0200)]
Add type casts for tests for C++ compile