yaz-moved-to-github.git
16 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.

16 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.

16 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.

16 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.

16 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).

16 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

16 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

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

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

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

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

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

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

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

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

16 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

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

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

16 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

16 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.

16 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

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

16 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

16 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

16 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.

16 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.

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

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

16 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).

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

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

16 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

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

16 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::*"/>.

16 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)

16 years agoFix use of shutdown for WIN32
Adam Dickmeiss [Mon, 21 Jan 2008 13:34:34 +0000 (13:34 +0000)]
Fix use of shutdown for WIN32

16 years agoPossible fix for bug #2035
Adam Dickmeiss [Mon, 21 Jan 2008 13:09:07 +0000 (13:09 +0000)]
Possible fix for bug #2035

16 years agoFix for bug #2037: cs_listen failed - is not handled correctly.
Adam Dickmeiss [Mon, 21 Jan 2008 13:07:43 +0000 (13:07 +0000)]
Fix for bug #2037: cs_listen failed - is not handled correctly.

16 years agoSet version to 3.0.22.
Adam Dickmeiss [Sun, 20 Jan 2008 22:46:25 +0000 (22:46 +0000)]
Set version to 3.0.22.

16 years agoAdded version resources for yaz_icu3.dll
Adam Dickmeiss [Fri, 18 Jan 2008 11:47:56 +0000 (11:47 +0000)]
Added version resources for yaz_icu3.dll

16 years agoObsolste file removed.
Adam Dickmeiss [Thu, 17 Jan 2008 22:30:29 +0000 (22:30 +0000)]
Obsolste file removed.

16 years agoTowards 3.0.22 YAZ.3.0.22.x
Adam Dickmeiss [Thu, 17 Jan 2008 22:27:40 +0000 (22:27 +0000)]
Towards 3.0.22

16 years agoUpdate doc WRT ICU compilation
Adam Dickmeiss [Thu, 17 Jan 2008 21:45:05 +0000 (21:45 +0000)]
Update doc WRT ICU compilation

16 years agoDo not mention oid_getentbyoid
Adam Dickmeiss [Thu, 17 Jan 2008 21:44:18 +0000 (21:44 +0000)]
Do not mention oid_getentbyoid

16 years agoSeparate RPM package : yaz-icu
Adam Dickmeiss [Thu, 17 Jan 2008 14:58:19 +0000 (14:58 +0000)]
Separate RPM package : yaz-icu

16 years agoUpdate.
Adam Dickmeiss [Thu, 17 Jan 2008 14:49:54 +0000 (14:49 +0000)]
Update.

16 years agolibyaz3-dev depend on libicu36-dev
Adam Dickmeiss [Thu, 17 Jan 2008 14:46:44 +0000 (14:46 +0000)]
libyaz3-dev depend on libicu36-dev

16 years agolibyaz_icu depends on the ICU libs
Adam Dickmeiss [Thu, 17 Jan 2008 14:44:57 +0000 (14:44 +0000)]
libyaz_icu depends on the ICU libs

16 years agoFixed bug #2027: Crash when closing connection.
Adam Dickmeiss [Wed, 16 Jan 2008 13:01:45 +0000 (13:01 +0000)]
Fixed bug #2027: Crash when closing connection.

16 years agoCheck ICU after Libxml2 availability
Adam Dickmeiss [Wed, 16 Jan 2008 12:47:18 +0000 (12:47 +0000)]
Check ICU after Libxml2 availability

16 years agoUse yaz/xmltypes.h for public Libxml2 headers
Adam Dickmeiss [Wed, 16 Jan 2008 12:22:05 +0000 (12:22 +0000)]
Use yaz/xmltypes.h for public Libxml2 headers

16 years agoTest for ICU_CPPFLAGS for ICU availability
Adam Dickmeiss [Wed, 16 Jan 2008 12:18:51 +0000 (12:18 +0000)]
Test for ICU_CPPFLAGS for ICU availability

16 years agoDisable ICU if XML support is unavailable
Adam Dickmeiss [Wed, 16 Jan 2008 12:17:26 +0000 (12:17 +0000)]
Disable ICU if XML support is unavailable

16 years agoBump version to 3.0.21
Adam Dickmeiss [Wed, 16 Jan 2008 11:31:48 +0000 (11:31 +0000)]
Bump version to 3.0.21

16 years agoFix --libs output in case of ICU being disabled
Adam Dickmeiss [Wed, 16 Jan 2008 11:30:51 +0000 (11:30 +0000)]
Fix --libs output in case of ICU being disabled

16 years agoNo longer depend/use libpcap.
Adam Dickmeiss [Mon, 14 Jan 2008 23:44:00 +0000 (23:44 +0000)]
No longer depend/use libpcap.

16 years agoRemove --with-pcap
Adam Dickmeiss [Mon, 14 Jan 2008 23:32:04 +0000 (23:32 +0000)]
Remove --with-pcap

16 years agoYear 2008 YAZ.3.0.20
Adam Dickmeiss [Mon, 14 Jan 2008 23:13:54 +0000 (23:13 +0000)]
Year 2008

16 years agoTowards version 3.0.20.
Adam Dickmeiss [Mon, 14 Jan 2008 23:11:51 +0000 (23:11 +0000)]
Towards version 3.0.20.

16 years agoDo not Build depend on libpcap-0.8-dev
Adam Dickmeiss [Mon, 14 Jan 2008 23:11:39 +0000 (23:11 +0000)]
Do not Build depend on libpcap-0.8-dev

16 years agoBuild ICU stuff in separate DLL: yaz_icu3.dll.
Adam Dickmeiss [Mon, 14 Jan 2008 22:58:46 +0000 (22:58 +0000)]
Build ICU stuff in separate DLL: yaz_icu3.dll.

16 years agoFix printf of token id
Adam Dickmeiss [Mon, 14 Jan 2008 22:58:06 +0000 (22:58 +0000)]
Fix printf of token id

16 years agoSummarize news (from ChangeLog).
Adam Dickmeiss [Mon, 14 Jan 2008 20:45:24 +0000 (20:45 +0000)]
Summarize news (from ChangeLog).

16 years agoRemove yaz-ziffy Debian package.
Adam Dickmeiss [Mon, 14 Jan 2008 20:37:08 +0000 (20:37 +0000)]
Remove yaz-ziffy Debian package.

16 years agoFactor ziffy out as a separate package.
Adam Dickmeiss [Mon, 14 Jan 2008 20:34:14 +0000 (20:34 +0000)]
Factor ziffy out as a separate package.

16 years agoMore news
Adam Dickmeiss [Fri, 11 Jan 2008 17:04:02 +0000 (17:04 +0000)]
More news

16 years agoChanged license of CCL module to 'Revised BSD'
Adam Dickmeiss [Wed, 9 Jan 2008 21:35:23 +0000 (21:35 +0000)]
Changed license of CCL module to 'Revised BSD'

16 years agoChanged license of CCL module to 'Revised BSD'.
Adam Dickmeiss [Wed, 9 Jan 2008 21:32:27 +0000 (21:32 +0000)]
Changed license of CCL module to 'Revised BSD'.

16 years agoBuild yaz-icu if ICU is enabled on Windows.
Adam Dickmeiss [Wed, 9 Jan 2008 15:34:30 +0000 (15:34 +0000)]
Build yaz-icu if ICU is enabled on Windows.

16 years agoDLL export ICU functions.
Adam Dickmeiss [Wed, 9 Jan 2008 15:33:31 +0000 (15:33 +0000)]
DLL export ICU functions.

16 years agoICU support on Windows version of YAZ.
Adam Dickmeiss [Wed, 9 Jan 2008 15:00:47 +0000 (15:00 +0000)]
ICU support on Windows version of YAZ.

Prepare makefile for ICU support. Thanks to Tumer Garip.

16 years agoFixed bug in ZOOM_options_getl WRT setting of parameter lenp.
Adam Dickmeiss [Mon, 7 Jan 2008 17:32:49 +0000 (17:32 +0000)]
Fixed bug in ZOOM_options_getl WRT setting of parameter lenp.

Fixed bug in ZOOM_options_getl WRT setting of parameter lenp that
would be unset if a callback_handle is used to retrieve the options
value. This bug caused ZOOM extended services update to malfunction.

16 years agoAdded tests using cql2pqf.
Adam Dickmeiss [Sun, 6 Jan 2008 21:48:23 +0000 (21:48 +0000)]
Added tests using cql2pqf.

16 years agoCQL free-form terms are ANDed (extra terms).
Adam Dickmeiss [Sun, 6 Jan 2008 19:34:34 +0000 (19:34 +0000)]
CQL free-form terms are ANDed (extra terms).
CQL free-form terms are ANDed in the CQL to PQF conversion. For
example, dc.title = a b, means dc.title = a and dc.title = b.
And the query (a "b c") means (a and "b c"). This might be configurable
in a future version of the conversion. This does not alter semantics for
non-free form term queries, e.g. dc.title=a .

16 years agoAdded CQL free-form term tests.
Adam Dickmeiss [Sun, 6 Jan 2008 17:37:13 +0000 (17:37 +0000)]
Added CQL free-form term tests.

16 years agoAdded support for free-form-terms. Bug #609: HDCQL.
Adam Dickmeiss [Sun, 6 Jan 2008 16:22:02 +0000 (16:22 +0000)]
Added support for free-form-terms. Bug #609: HDCQL.

16 years agoCQL v1.2 functionality except sort.
Adam Dickmeiss [Sun, 6 Jan 2008 13:08:09 +0000 (13:08 +0000)]
CQL v1.2 functionality except sort.

Modify CQL parser and transform code to become more CQL 1.2 compliant.
Default relation is '=' instead 'scr'. Relation for exact is ==
instead of 'exact'. Work on bug #609: HDCQL.

16 years agoUse shell /usr/bin/tclsh for Tcl scripts.
Adam Dickmeiss [Sun, 6 Jan 2008 13:02:48 +0000 (13:02 +0000)]
Use shell /usr/bin/tclsh for Tcl scripts.

Use shell /usr/bin/tclsh for Tcl scripts. Do not use the smart exec
invokation trick. It causes more confusion . Systems such as
Debian has /usr/bin/tclsh as the preferred Tcl shell anyway.

16 years agoAlways _BSD_SOURCE .
Adam Dickmeiss [Thu, 3 Jan 2008 23:10:08 +0000 (23:10 +0000)]
Always _BSD_SOURCE .

Always _BSD_SOURCE regardless of GLIBC or not. Testing for __GLIBC__
after include of stdio.h was apparantly not enough

16 years agoInternal Debian pkg
Adam Dickmeiss [Thu, 3 Jan 2008 23:04:07 +0000 (23:04 +0000)]
Internal Debian pkg

16 years agolibyaz3-dev depends on some tclsh
Adam Dickmeiss [Thu, 3 Jan 2008 22:55:17 +0000 (22:55 +0000)]
libyaz3-dev depends on some tclsh

16 years agoDefine _BSD_SOURCE whenever GLIBC is used.
Adam Dickmeiss [Thu, 3 Jan 2008 22:54:06 +0000 (22:54 +0000)]
Define _BSD_SOURCE whenever GLIBC is used.

For ziffy, define _BSD_SOURCE whenever GLIBC is used. This is
to fix compilation on GNU/kFreeBSD. Debian bug #410346.

16 years agoconfigure prefers tclsh over other versions.
Adam Dickmeiss [Sun, 30 Dec 2007 22:04:12 +0000 (22:04 +0000)]
configure prefers tclsh over other versions.

The configure now prefers tclsh over other versions because tclsh is
(usually) the preferred tcl shell as set by the administrator.

16 years agoDo not reset querytype if session resets (HTTP/SRU).
Adam Dickmeiss [Thu, 27 Dec 2007 13:27:40 +0000 (13:27 +0000)]
Do not reset querytype if session resets (HTTP/SRU).

16 years agoImproved tokenization for yaz-client coammnds update and xmles.
Adam Dickmeiss [Fri, 21 Dec 2007 19:01:33 +0000 (19:01 +0000)]
Improved tokenization for yaz-client coammnds update and xmles.

The yaz-client commands update and xmles takes documents as parameters
and parse_cmd_doc is used. This now accepts one of the forms:
 <filename, "quoted string", straightstring .

16 years agoEnsure fname is 0-terminated in parse_cmd_doc for yaz-client.
Adam Dickmeiss [Fri, 21 Dec 2007 08:31:42 +0000 (08:31 +0000)]
Ensure fname is 0-terminated in parse_cmd_doc for yaz-client.

16 years agoFixed bug #1988: CQL-to-PQF translation mishandles quoted doube.
Adam Dickmeiss [Thu, 20 Dec 2007 22:45:37 +0000 (22:45 +0000)]
Fixed bug #1988: CQL-to-PQF translation mishandles quoted doube.

Fixed bug #1988: CQL-to-PQF translation mishandles quoted doube quotes.
The CQL already uses \-escaped strings (such as \") . These can be
copied verbatim to PQF.

16 years agoAdded YAZ_FILEVERSION YAZ.3.0.18
Adam Dickmeiss [Wed, 19 Dec 2007 12:36:42 +0000 (12:36 +0000)]
Added YAZ_FILEVERSION

16 years agoTowards 3.0.18.
Adam Dickmeiss [Wed, 19 Dec 2007 11:02:20 +0000 (11:02 +0000)]
Towards 3.0.18.

16 years agoDo not use Libxml2's reader if libxml2 version < 2.6.15.
Adam Dickmeiss [Tue, 18 Dec 2007 21:13:06 +0000 (21:13 +0000)]
Do not use Libxml2's reader if libxml2 version < 2.6.15.

16 years agoUsing YAZ' options rather than getopt.h.
Adam Dickmeiss [Tue, 18 Dec 2007 14:07:08 +0000 (14:07 +0000)]
Using YAZ' options rather than getopt.h.

Ziffy now uses YAZ' options rather than getopt.h because getopt.h
is unavailable on some systems.

16 years agoAnnotate
Adam Dickmeiss [Tue, 18 Dec 2007 12:46:02 +0000 (12:46 +0000)]
Annotate

16 years agoSupport read/write MARCXML collections.
Adam Dickmeiss [Mon, 17 Dec 2007 20:59:30 +0000 (20:59 +0000)]
Support read/write MARCXML collections.

16 years agoFixed bug in icu_buf_utf8_to_cstr (wrong length).
Adam Dickmeiss [Mon, 17 Dec 2007 11:23:16 +0000 (11:23 +0000)]
Fixed bug in icu_buf_utf8_to_cstr (wrong length).

Fixed bug in icu_buf_utf8_to_cstr . A string could be truncated because
its string length is set to 0 in icu_buf_utf8_resize. Function
icu_buf_utf8_resize no longer resets the string.

16 years agoAbout new OPAC stuff
Adam Dickmeiss [Sun, 16 Dec 2007 22:43:59 +0000 (22:43 +0000)]
About new OPAC stuff

16 years agoHandle OPAC for record conversion module.
Adam Dickmeiss [Sun, 16 Dec 2007 11:08:50 +0000 (11:08 +0000)]
Handle OPAC for record conversion module.

Extend the record_conv system to handle Z39.50 OPAC records.
Function yaz_record_conv_opac_record was added.

16 years agoAdded ZOOM_package_option_{set,get}l.
Adam Dickmeiss [Tue, 11 Dec 2007 13:35:45 +0000 (13:35 +0000)]
Added ZOOM_package_option_{set,get}l.

Added ZOOM_package_option_{set,get}l so that binary data can be used
for Z39.50 packages (Update, etc). Using option_getl rather then
option_get for few options that might be binary: "doc", "record" and
"recordIdOpaque".

16 years agoEnsure ICU is part of built
Adam Dickmeiss [Tue, 11 Dec 2007 13:14:45 +0000 (13:14 +0000)]
Ensure ICU is part of built

16 years agoNo action-not-found rule for ICU.
Adam Dickmeiss [Mon, 10 Dec 2007 22:10:09 +0000 (22:10 +0000)]
No action-not-found rule for ICU.

16 years agoGenerate yaz3.dll version from yaz-version.h
Adam Dickmeiss [Mon, 10 Dec 2007 20:33:47 +0000 (20:33 +0000)]
Generate yaz3.dll version from yaz-version.h