yaz-moved-to-github.git
14 years agoTruncate yaz-client history if it exceeds certain size (16K).
Adam Dickmeiss [Fri, 30 May 2008 12:27:47 +0000 (14:27 +0200)]
Truncate yaz-client history if it exceeds certain size (16K).

14 years agoAdded a few comments. Source in ztest also analyzed by Doxygen.
Adam Dickmeiss [Fri, 30 May 2008 11:55:41 +0000 (13:55 +0200)]
Added a few comments. Source in ztest also analyzed by Doxygen.

14 years agoFix diagnostic for MARC and present request out of range
Adam Dickmeiss [Fri, 30 May 2008 11:36:35 +0000 (13:36 +0200)]
Fix diagnostic for MARC and present request out of range

14 years agoFix comment regarding diagnostics
Adam Dickmeiss [Fri, 30 May 2008 11:35:55 +0000 (13:35 +0200)]
Fix comment regarding diagnostics

14 years agoAdded proper header for reader record utilities for yaz-ztest.
Adam Dickmeiss [Fri, 30 May 2008 11:31:16 +0000 (13:31 +0200)]
Added proper header for reader record utilities for yaz-ztest.

14 years agoReplaced some error code ints with proper defines (SRU / Bib-1).
Adam Dickmeiss [Fri, 30 May 2008 11:23:25 +0000 (13:23 +0200)]
Replaced some error code ints with proper defines (SRU / Bib-1).

14 years agoyaz-ztest returns dummy OPAC records.
Adam Dickmeiss [Fri, 30 May 2008 10:17:40 +0000 (12:17 +0200)]
yaz-ztest returns dummy OPAC records.

14 years agoUpdate.
Adam Dickmeiss [Fri, 30 May 2008 10:17:15 +0000 (12:17 +0200)]
Update.

14 years agoUsing YAZ tokenizer for CQL to PQF transform spec.
Adam Dickmeiss [Wed, 28 May 2008 21:16:47 +0000 (23:16 +0200)]
Using YAZ tokenizer for CQL to PQF transform spec.

14 years agoAdded yaz_mk_sru_surrogate to create SRU surrogate diagnostic.
Adam Dickmeiss [Wed, 28 May 2008 18:01:54 +0000 (20:01 +0200)]
Added yaz_mk_sru_surrogate to create SRU surrogate diagnostic.

14 years agoBeginnings for RPN to CQL transform.
Adam Dickmeiss [Mon, 28 Apr 2008 09:53:50 +0000 (11:53 +0200)]
Beginnings for RPN to CQL transform.

14 years agoRenamed a test.
Adam Dickmeiss [Mon, 28 Apr 2008 08:30:11 +0000 (10:30 +0200)]
Renamed a test.

14 years agoIndentation.
Adam Dickmeiss [Mon, 28 Apr 2008 08:28:59 +0000 (10:28 +0200)]
Indentation.

14 years agoUse SRU diagnostic defines rather than numbers.
Adam Dickmeiss [Mon, 28 Apr 2008 07:58:24 +0000 (09:58 +0200)]
Use SRU diagnostic defines rather than numbers.

14 years agoUpdated m4 and doc/common.
Adam Dickmeiss [Wed, 23 Apr 2008 21:24:34 +0000 (23:24 +0200)]
Updated m4 and doc/common.

14 years agoDo not set charsetNegotiation bit by default (breaks some targets).
Adam Dickmeiss [Wed, 23 Apr 2008 21:24:14 +0000 (23:24 +0200)]
Do not set charsetNegotiation bit by default (breaks some targets).

14 years agoFixed argument passing to sc_main.
unknown [Tue, 22 Apr 2008 11:08:42 +0000 (13:08 +0200)]
Fixed argument passing to sc_main.

14 years agoMerge branch 'master' of ssh://git.indexdata.com/home/git/pub/yaz
Adam Dickmeiss [Tue, 22 Apr 2008 10:15:33 +0000 (12:15 +0200)]
Merge branch 'master' of ssh://git.indexdata.com/home/git/pub/yaz

14 years agoBump version to 3.0.29.
Adam Dickmeiss [Tue, 22 Apr 2008 10:14:40 +0000 (12:14 +0200)]
Bump version to 3.0.29.

14 years agoFile sc_test.c part of dist (source for Windows only).
Adam Dickmeiss [Tue, 22 Apr 2008 09:47:00 +0000 (11:47 +0200)]
File sc_test.c part of dist (source for Windows only).

14 years agoUnix update for service control (sc).
Adam Dickmeiss [Tue, 22 Apr 2008 09:18:11 +0000 (11:18 +0200)]
Unix update for service control (sc).

14 years agoImplemented new Windows Service wrapper (sc).
Adam Dickmeiss [Tue, 22 Apr 2008 08:54:49 +0000 (10:54 +0200)]
Implemented new Windows Service wrapper (sc).

14 years agoInitialize HAVETHREADS (was accidently removed in previous commit).
Adam Dickmeiss [Mon, 21 Apr 2008 10:44:13 +0000 (12:44 +0200)]
Initialize HAVETHREADS (was accidently removed in previous commit).

14 years agoProper m4 quoting.
Adam Dickmeiss [Sun, 20 Apr 2008 14:24:31 +0000 (16:24 +0200)]
Proper m4 quoting.

14 years agoChanged yaz_record_conv_record to be reentrant for XSLT.
Adam Dickmeiss [Thu, 17 Apr 2008 12:05:03 +0000 (14:05 +0200)]
Changed yaz_record_conv_record to be reentrant for XSLT.

Changed yaz_record_conv_record to be reentrant for XSL transforms.
Reusing xsltStylesheetPtr in one instance of yaz_record_conv_t was
not reentrant as far as yaz_record_conv_record is concerned. Instead
xsltStylesheetPtr is created for each invocation. Only the XSL stylesheet
document is saved from the beginning via yaz_record_conv_configure.

14 years agoAdded loop for record conversion to test performance.
Adam Dickmeiss [Thu, 17 Apr 2008 12:04:05 +0000 (14:04 +0200)]
Added loop for record conversion to test performance.

14 years agoChanged yaz_record_conv_record to be reentrant.
Adam Dickmeiss [Thu, 17 Apr 2008 09:43:23 +0000 (11:43 +0200)]
Changed yaz_record_conv_record to be reentrant.

Changed yaz_record_conv_record and yaz_record_conv_opac_record to be
reentrant. Now yaz_iconv_t is created for each invocation.

14 years agoUpdated doc/common.
Adam Dickmeiss [Tue, 15 Apr 2008 08:19:14 +0000 (10:19 +0200)]
Updated doc/common.

14 years agoUpdated to m4 master.
Adam Dickmeiss [Tue, 15 Apr 2008 07:52:53 +0000 (09:52 +0200)]
Updated to m4 master.

14 years agoFixed Library add's for libyaz_la, libyaz_icu.la, libyaz_server.la.
Adam Dickmeiss [Sat, 5 Apr 2008 20:46:11 +0000 (22:46 +0200)]
Fixed Library add's for libyaz_la, libyaz_icu.la, libyaz_server.la.

Fixed Library add's for libyaz.la, libyaz_icu.la, libyaz_server.la.
This partially fixes bug #2129: dpkg-shlibdeps warnings.

14 years agoUpdate headers and omit CVS Ids.
Adam Dickmeiss [Fri, 4 Apr 2008 21:24:40 +0000 (23:24 +0200)]
Update headers and omit CVS Ids.

14 years agoFixed bug #2116: Invalid: returning value from void func in wrbuf.c.
Adam Dickmeiss [Fri, 4 Apr 2008 11:26:29 +0000 (13:26 +0200)]
Fixed bug #2116: Invalid: returning value from void func in wrbuf.c.

14 years agoRefactor iconv decoders.
Adam Dickmeiss [Thu, 3 Apr 2008 15:19:55 +0000 (17:19 +0200)]
Refactor iconv decoders.

14 years agoUpdate source headers for 2008. Omit CVS ID keyword subst.
Adam Dickmeiss [Tue, 1 Apr 2008 21:11:45 +0000 (23:11 +0200)]
Update source headers for 2008. Omit CVS ID keyword subst.

14 years agoAdded Copyright header.
Adam Dickmeiss [Tue, 1 Apr 2008 18:41:54 +0000 (20:41 +0200)]
Added Copyright header.

14 years agoFactored character encoders out to separate files (iconv system).
Adam Dickmeiss [Tue, 1 Apr 2008 11:37:51 +0000 (13:37 +0200)]
Factored character encoders out to separate files (iconv system).

14 years agoImproved speed of MARC-8 encoding. Cosmetic changes.
Adam Dickmeiss [Mon, 31 Mar 2008 21:51:26 +0000 (23:51 +0200)]
Improved speed of MARC-8 encoding. Cosmetic changes.

14 years agoImplemented lossy and lossless MARC-8 encoding.
Adam Dickmeiss [Mon, 31 Mar 2008 21:12:25 +0000 (23:12 +0200)]
Implemented lossy and lossless MARC-8 encoding.

The lossy encoding is named marc8-lossy. The lossless encoding is named
marc8-lossless.

14 years agoTowards 3.0.28.
Adam Dickmeiss [Mon, 31 Mar 2008 10:06:50 +0000 (12:06 +0200)]
Towards 3.0.28.

14 years agoHandle G1 in MARC-8 decoding.
Adam Dickmeiss [Tue, 25 Mar 2008 20:50:41 +0000 (21:50 +0100)]
Handle G1 in MARC-8 decoding.

The MARC-8 decoding now handles G1 sequences in any code page. The
code until now has only handled G1 in the ANSEL page.

14 years agoIgnore backup files.
Adam Dickmeiss [Tue, 25 Mar 2008 13:12:49 +0000 (14:12 +0100)]
Ignore backup files.

14 years agoBump to 3.0.27.
Adam Dickmeiss [Tue, 25 Mar 2008 12:52:48 +0000 (13:52 +0100)]
Bump to 3.0.27.

14 years agoAdded function yaz_log_xml_errors.
Adam Dickmeiss [Tue, 25 Mar 2008 12:49:46 +0000 (13:49 +0100)]
Added function yaz_log_xml_errors.

14 years agoChanged messages for XSLT conversion errors.
Adam Dickmeiss [Tue, 25 Mar 2008 12:46:50 +0000 (13:46 +0100)]
Changed messages for XSLT conversion errors.

14 years agoProduce </collection> only once in MARCXML printing.
Adam Dickmeiss [Wed, 19 Mar 2008 22:33:01 +0000 (23:33 +0100)]
Produce </collection> only once in MARCXML printing.

14 years agoIgnore unknown XML attributes in MARCXML parsing.
Adam Dickmeiss [Wed, 19 Mar 2008 22:32:19 +0000 (23:32 +0100)]
Ignore unknown XML attributes in MARCXML parsing.

14 years agoFor yaz-marcdump, allow use of prefix in record element.
Adam Dickmeiss [Wed, 19 Mar 2008 22:00:38 +0000 (23:00 +0100)]
For yaz-marcdump, allow use of prefix in record element.

Fixed marcdump's check for element name. Now using
xmlTextReaderLocalName used instead of xmlTextReaderConstName.

14 years agoMake iconv-p.h part of automake source.
Adam Dickmeiss [Tue, 18 Mar 2008 17:48:51 +0000 (18:48 +0100)]
Make iconv-p.h part of automake source.

14 years agoWS spaces.
Adam Dickmeiss [Tue, 18 Mar 2008 10:36:17 +0000 (11:36 +0100)]
WS spaces.

14 years agoAdded print of status or Error Report from xml ES
Jacob Poulsen [Mon, 17 Mar 2008 14:16:22 +0000 (15:16 +0100)]
Added print of status or Error Report from xml ES

14 years agoMinor changes to parsing of itemorder comamand.
Adam Dickmeiss [Tue, 18 Mar 2008 10:18:16 +0000 (11:18 +0100)]
Minor changes to parsing of itemorder comamand.

The parsing of itemorder command was moved from create_ItemOrderExternal
to cmd_itemorder.

14 years agoAdded customisation of xml send in command itemorder xml 1 usage
Jacob Poulsen [Mon, 17 Mar 2008 14:08:14 +0000 (15:08 +0100)]
Added customisation of xml send in command itemorder xml 1 usage

itemorder xml 1 "<xml></xml>"
or
itemorder xml 1 <xmlfile

14 years agoUpdate for new C source for iconv handling.
Adam Dickmeiss [Mon, 17 Mar 2008 23:23:00 +0000 (00:23 +0100)]
Update for new C source for iconv handling.

14 years agoFactor iconv conversions to separate C files.
Adam Dickmeiss [Mon, 17 Mar 2008 23:14:11 +0000 (00:14 +0100)]
Factor iconv conversions to separate C files.

14 years agoAvoid Latin-1 chars.
Adam Dickmeiss [Mon, 17 Mar 2008 23:11:41 +0000 (00:11 +0100)]
Avoid Latin-1 chars.

14 years agoIgnore .o files.
Adam Dickmeiss [Mon, 17 Mar 2008 14:36:27 +0000 (15:36 +0100)]
Ignore .o files.

14 years agoMARC-8 ANSEL fix and proper better handling of incompl. sequences.
Adam Dickmeiss [Mon, 17 Mar 2008 14:32:59 +0000 (15:32 +0100)]
MARC-8 ANSEL fix and proper better handling of incompl. sequences.

The routine yaz_read_marc8_comb was modified to handle the escape
sequence for ANSEL properly . Thanks to Gary Anderson for pointing
out the problem with ANSEL. A few tests were added to test for the
use of incomplete sequences.

14 years agoIgnore object files.
Adam Dickmeiss [Sun, 16 Mar 2008 11:42:07 +0000 (12:42 +0100)]
Ignore object files.

14 years agoChanged description of yaz_options.
Adam Dickmeiss [Sun, 16 Mar 2008 11:33:50 +0000 (12:33 +0100)]
Changed description of yaz_options.

14 years agoAdded defines for yaz_options return values.
Adam Dickmeiss [Sun, 16 Mar 2008 11:32:56 +0000 (12:32 +0100)]
Added defines for yaz_options return values.

14 years agoIgnore sub directory config.
Adam Dickmeiss [Wed, 12 Mar 2008 20:33:02 +0000 (21:33 +0100)]
Ignore sub directory config.

14 years agoFixed check for Git submodules.
Adam Dickmeiss [Wed, 12 Mar 2008 20:32:17 +0000 (21:32 +0100)]
Fixed check for Git submodules.

14 years agoGenerate ChangeLog using Git.
Adam Dickmeiss [Wed, 12 Mar 2008 13:33:32 +0000 (14:33 +0100)]
Generate ChangeLog using Git.

14 years agoAuto add Git submodules in buildconf.sh.
Adam Dickmeiss [Wed, 12 Mar 2008 13:32:04 +0000 (14:32 +0100)]
Auto add Git submodules in buildconf.sh.

14 years agoMoved ignore files.
Adam Dickmeiss [Wed, 12 Mar 2008 10:43:09 +0000 (11:43 +0100)]
Moved ignore files.

14 years agoCreate config if it does not exist.
Adam Dickmeiss [Wed, 12 Mar 2008 10:09:36 +0000 (11:09 +0100)]
Create config if it does not exist.

14 years agoAdded sub modules m4 and doc/common.
Adam Dickmeiss [Wed, 12 Mar 2008 10:06:42 +0000 (11:06 +0100)]
Added sub modules m4 and doc/common.

14 years agoFixed bug #2120: Different greek symbols, UTF-8 to MARC-8.
Adam Dickmeiss [Wed, 12 Mar 2008 08:53:28 +0000 (08:53 +0000)]
Fixed bug #2120: Different greek symbols, UTF-8 to MARC-8.

The UTF-8 to MARC-8 conversion no longer uses yaz_marc8r_67_conv
and the table data associated with it. The table data (albeit small)
is still produced.

14 years agoFor MARC-8 decoding avoid messing up G0 when G1 is selected.
Adam Dickmeiss [Wed, 5 Mar 2008 21:21:22 +0000 (21:21 +0000)]
For MARC-8 decoding avoid messing up G0 when G1 is selected.

Use two flags for G0/G1 selection so that selection of G1 does not
conflict with selection of G0. Bug #2115. Note that G1 is not
properly handled. We must add &127 for G1 decoding since those
characters have bit 7 set. A flag must be parsed to the conversion
routines probably.

14 years agoFix C code build Z39.50v3 ASN.1 using make -j (parallel build).
Adam Dickmeiss [Wed, 5 Mar 2008 10:41:45 +0000 (10:41 +0000)]
Fix C code build Z39.50v3 ASN.1 using make -j (parallel build).

14 years agoadded libicu-dev fro compability with lenny ICU transition
Marc Cromme [Mon, 3 Mar 2008 07:32:06 +0000 (07:32 +0000)]
added libicu-dev fro compability with lenny ICU transition

14 years agoDocument mask for name in retrieval
Adam Dickmeiss [Thu, 28 Feb 2008 09:40:42 +0000 (09:40 +0000)]
Document mask for name in retrieval

14 years agoRemoved bad character from comment
Adam Dickmeiss [Thu, 21 Feb 2008 12:42:13 +0000 (12:42 +0000)]
Removed bad character from comment

14 years agoFixed YAZ_VERSIONL YAZ.3.0.26
Adam Dickmeiss [Thu, 21 Feb 2008 11:03:33 +0000 (11:03 +0000)]
Fixed YAZ_VERSIONL

14 years agoTowards 3.0.26.
Adam Dickmeiss [Thu, 21 Feb 2008 10:48:44 +0000 (10:48 +0000)]
Towards 3.0.26.

14 years agoComment yaz_daemon.
Adam Dickmeiss [Thu, 21 Feb 2008 10:44:43 +0000 (10:44 +0000)]
Comment yaz_daemon.

14 years agoIndenting
Adam Dickmeiss [Thu, 21 Feb 2008 10:18:15 +0000 (10:18 +0000)]
Indenting

14 years agoAdded yaz_daemoon for windows.
Adam Dickmeiss [Thu, 21 Feb 2008 10:15:30 +0000 (10:15 +0000)]
Added yaz_daemoon for windows.

14 years agowin32 export yaz_daemon
Adam Dickmeiss [Thu, 21 Feb 2008 10:15:12 +0000 (10:15 +0000)]
win32 export yaz_daemon

14 years agowin32 export yaz_poll
Adam Dickmeiss [Thu, 21 Feb 2008 10:15:03 +0000 (10:15 +0000)]
win32 export yaz_poll

14 years agoadded optional dependencies on libicu38-dev
Marc Cromme [Thu, 21 Feb 2008 07:19:40 +0000 (07:19 +0000)]
added optional dependencies on libicu38-dev

14 years agoDescribe YAZ' options function.
Adam Dickmeiss [Wed, 20 Feb 2008 10:03:42 +0000 (10:03 +0000)]
Describe YAZ' options function.

14 years agoFixed doxygen desc
Adam Dickmeiss [Wed, 20 Feb 2008 10:03:25 +0000 (10:03 +0000)]
Fixed doxygen desc

14 years agoBumped debian version to 3.0.25-1
Adam Dickmeiss [Tue, 19 Feb 2008 19:58:40 +0000 (19:58 +0000)]
Bumped debian version to 3.0.25-1

14 years agoBump version to 3.0.25.
Adam Dickmeiss [Mon, 18 Feb 2008 19:30:28 +0000 (19:30 +0000)]
Bump version to 3.0.25.

14 years agoBump dependency version due to new functions
Adam Dickmeiss [Mon, 18 Feb 2008 18:03:21 +0000 (18:03 +0000)]
Bump dependency version due to new functions

14 years agoAdded daemon utility (yaz_daemon).
Adam Dickmeiss [Mon, 18 Feb 2008 17:07:05 +0000 (17:07 +0000)]
Added daemon utility (yaz_daemon).

14 years agoRemoved always true expression part in if stmt
Adam Dickmeiss [Mon, 18 Feb 2008 16:44:48 +0000 (16:44 +0000)]
Removed always true expression part in if stmt

14 years agoallowing for version 3.6 and 3.8 of ICU libs
Marc Cromme [Thu, 7 Feb 2008 15:23:18 +0000 (15:23 +0000)]
allowing for version 3.6 and 3.8 of ICU libs

14 years agoFixed bug #2068: pkg-config trouble.
Adam Dickmeiss [Wed, 30 Jan 2008 20:37:04 +0000 (20:37 +0000)]
Fixed bug #2068: pkg-config trouble.

Add -I${includedir} as proposed by Ko van der Sloot.

14 years agoFixed bug #395: ZOOM_record / OPAC record encoding problems.
Adam Dickmeiss [Wed, 30 Jan 2008 20:00:55 +0000 (20:00 +0000)]
Fixed bug #395: ZOOM_record / OPAC record encoding problems.

The function yaz_opac_decode_wrbuf now uses the iconv handle as
used by the yaz_mart_t handle to char convert the strings in the
OPAC records (ASN.1). Presumaby this string data has same encoding
as the embedded ISO2709 record.

14 years agoAdded yaz_marc_get_iconv
Adam Dickmeiss [Wed, 30 Jan 2008 19:59:02 +0000 (19:59 +0000)]
Added yaz_marc_get_iconv

14 years agoAdded wrbuf_iconv_puts_cdata
Adam Dickmeiss [Wed, 30 Jan 2008 19:58:24 +0000 (19:58 +0000)]
Added wrbuf_iconv_puts_cdata

14 years agoChanged definition of extra_args in Z_SRW_PDU. YAZ.3.0.24
Adam Dickmeiss [Mon, 28 Jan 2008 09:51:02 +0000 (09:51 +0000)]
Changed definition of extra_args in Z_SRW_PDU.

Changed definition of extra_args in Z_SRW_PDU. The extra_args was a
char* before. Is not a Z_SRW_extra_arg list. The extra args is used
for both encoding and decoding of SRU GET/POST (was only used in
SRU encoding earlier).

14 years agoTowards 3.0.24.
Adam Dickmeiss [Mon, 28 Jan 2008 08:14:52 +0000 (08:14 +0000)]
Towards 3.0.24.

14 years agoAdded OPAC XML XSD.
Adam Dickmeiss [Fri, 25 Jan 2008 16:30:47 +0000 (16:30 +0000)]
Added OPAC XML XSD.

14 years agozebra::* name in GFS example config
Adam Dickmeiss [Fri, 25 Jan 2008 16:29:35 +0000 (16:29 +0000)]
zebra::* name in GFS example config

14 years agoDocument --with-xml2 option
Adam Dickmeiss [Fri, 25 Jan 2008 16:28:42 +0000 (16:28 +0000)]
Document --with-xml2 option

14 years agoName value is glob-expression for retrieval facility.
Adam Dickmeiss [Fri, 25 Jan 2008 16:28:26 +0000 (16:28 +0000)]
Name value is glob-expression for retrieval facility.

The name attribute for the retrieval element is a glob-mask. This allows
a GFS server to accept a mask of element set names, e.g.
  <retrieval syntax="xml" name="zebra::*"/>.

14 years agoRequire autoconf 2.60 (bug #2050)
Adam Dickmeiss [Thu, 24 Jan 2008 21:50:55 +0000 (21:50 +0000)]
Require autoconf 2.60 (bug #2050)