yaz-moved-to-github.git
17 years agoFixes for retrieval handling in SRU mode.. The "virtual" record syntax
Adam Dickmeiss [Tue, 9 May 2006 13:39:46 +0000 (13:39 +0000)]
Fixes for retrieval handling in SRU mode.. The "virtual" record syntax
was not seen as XML , and, hence, there could be strange matches.
Changed configuration format: schema and backendschema renamed to
name and backendname respectively.

17 years agoUse OID_STR_MAX for size of oid dot string
Adam Dickmeiss [Tue, 9 May 2006 11:35:28 +0000 (11:35 +0000)]
Use OID_STR_MAX for size of oid dot string

17 years agoRender OID as string when used in error-messages.
Mike Taylor [Tue, 9 May 2006 11:09:09 +0000 (11:09 +0000)]
Render OID as string when used in error-messages.
-- was type-mismatch of printf("%s", oid)

17 years agoChange return values for yaz_retrieval_request a bit and improve
Adam Dickmeiss [Mon, 8 May 2006 19:48:26 +0000 (19:48 +0000)]
Change return values for yaz_retrieval_request a bit and improve
diagnostics in the case where retrieval match fails.

17 years agoDefine max length of OID dot string: OID_STR_MAX.
Adam Dickmeiss [Mon, 8 May 2006 19:45:29 +0000 (19:45 +0000)]
Define max length of OID dot string: OID_STR_MAX.

17 years agoEnable any element set and grs-1 in sample
Adam Dickmeiss [Mon, 8 May 2006 19:44:18 +0000 (19:44 +0000)]
Enable any element set and grs-1 in sample

17 years agoCalling exsltRegisterAll instead of exsltDynRegister
Sebastian Hammer [Mon, 8 May 2006 16:58:25 +0000 (16:58 +0000)]
Calling exsltRegisterAll instead of exsltDynRegister

17 years agoUsing macros YAZ_LIBXML2, YAZ_LIBXSLT, YAZ_LIBEXSLT
Adam Dickmeiss [Mon, 8 May 2006 12:20:48 +0000 (12:20 +0000)]
Using macros YAZ_LIBXML2, YAZ_LIBXSLT, YAZ_LIBEXSLT

17 years agoChanged behavior of yaz_retrieval_request so that no rules, i.e. no
Adam Dickmeiss [Mon, 8 May 2006 11:58:37 +0000 (11:58 +0000)]
Changed behavior of yaz_retrieval_request so that no rules, i.e. no
retrieval elements, results in "success" (return value of 0).

17 years agoAvoid using "pkg-config libxslt" on systems that don't report cflags
Adam Dickmeiss [Mon, 8 May 2006 11:50:57 +0000 (11:50 +0000)]
Avoid using "pkg-config libxslt" on systems that don't report cflags
which include libxml2. This is the case for Debian woody. For a
system like that revert to xslt-config.

17 years agoLibEXSLT support. New configure option --with-exslt.
Adam Dickmeiss [Mon, 8 May 2006 10:16:46 +0000 (10:16 +0000)]
LibEXSLT support. New configure option --with-exslt.

17 years agoRename current_global_list to default_completer_list and localize it
Adam Dickmeiss [Sun, 7 May 2006 20:57:26 +0000 (20:57 +0000)]
Rename current_global_list to default_completer_list and localize it

17 years agouse strcmp instead of stricmp for -install,-remove options
Adam Dickmeiss [Sun, 7 May 2006 20:32:56 +0000 (20:32 +0000)]
use strcmp instead of stricmp for -install,-remove options

17 years agoRename curret_global_list to current_global_list; reformat. No code changes
Adam Dickmeiss [Sun, 7 May 2006 19:43:00 +0000 (19:43 +0000)]
Rename curret_global_list to current_global_list; reformat. No code changes

17 years agotabcomplete only if readline is in use (second attempt)
Adam Dickmeiss [Sun, 7 May 2006 19:38:58 +0000 (19:38 +0000)]
tabcomplete only if readline is in use (second attempt)

17 years agotabcomplete only if readline is in use
Adam Dickmeiss [Sun, 7 May 2006 19:37:23 +0000 (19:37 +0000)]
tabcomplete only if readline is in use

17 years agoDo nothing in command_generator if no readline is present
Adam Dickmeiss [Sun, 7 May 2006 19:15:16 +0000 (19:15 +0000)]
Do nothing in command_generator if no readline is present

17 years agoDo nothing in cmd_register_tab if no readline is present
Adam Dickmeiss [Sun, 7 May 2006 19:13:55 +0000 (19:13 +0000)]
Do nothing in cmd_register_tab if no readline is present

17 years agoReplace a few strdup/free with xstrdup/xfree
Adam Dickmeiss [Sun, 7 May 2006 19:07:10 +0000 (19:07 +0000)]
Replace a few strdup/free with xstrdup/xfree

17 years agoUse strchr instead of index (which was only standard in 4.3 BSD).
Adam Dickmeiss [Sun, 7 May 2006 18:35:47 +0000 (18:35 +0000)]
Use strchr instead of index (which was only standard in 4.3 BSD).

17 years agoReformat comments for Doxygen
Adam Dickmeiss [Sun, 7 May 2006 18:26:25 +0000 (18:26 +0000)]
Reformat comments for Doxygen

17 years agoAdded more tests for retrieval/record_conv system. For retrieval, fixed
Adam Dickmeiss [Sun, 7 May 2006 17:45:41 +0000 (17:45 +0000)]
Added more tests for retrieval/record_conv system. For retrieval, fixed
error handling which occurred in the case where syntax attribute was
missing from retrieval element. Libxml2/libxslt errors may be sent to
yaz_log via new utility libxml2_error_to_yazlog.

17 years agoAdded retrieval + libxml2_error
Adam Dickmeiss [Sun, 7 May 2006 17:43:42 +0000 (17:43 +0000)]
Added retrieval + libxml2_error

17 years agoAdded retrieval handling support in Generic Frontend Server to support
Adam Dickmeiss [Sun, 7 May 2006 14:48:24 +0000 (14:48 +0000)]
Added retrieval handling support in Generic Frontend Server to support
conversion between MARC/XML as well as XSLTtransforms. See
etc/yazgfs.xml for an example.

17 years agoInitialize username and password in yaz_srw_codec.
Adam Dickmeiss [Sun, 7 May 2006 14:31:30 +0000 (14:31 +0000)]
Initialize username and password in yaz_srw_codec.

17 years agoRemoved diagnostic output that shouldn't have been checked in.
Sebastian Hammer [Sat, 6 May 2006 00:52:15 +0000 (00:52 +0000)]
Removed diagnostic output that shouldn't have been checked in.

17 years agoAddition of authentication parameters
Sebastian Hammer [Sat, 6 May 2006 00:51:04 +0000 (00:51 +0000)]
Addition of authentication parameters

17 years agoSupporting Username/password in SRU server mode, either through x-username/x-password
Sebastian Hammer [Fri, 5 May 2006 20:02:22 +0000 (20:02 +0000)]
Supporting Username/password in SRU server mode, either through x-username/x-password
SRU parameters, or through Basic HTTP authentication.

17 years agoImplement yaz_retrieval_configure.
Adam Dickmeiss [Fri, 5 May 2006 18:37:08 +0000 (18:37 +0000)]
Implement yaz_retrieval_configure.

17 years agoRemoved a debug print I had forgotten in
Heikki Levanto [Fri, 5 May 2006 14:04:03 +0000 (14:04 +0000)]
Removed a debug print I had forgotten in

17 years agoRange converter for actually converting character ranges
Heikki Levanto [Fri, 5 May 2006 14:02:27 +0000 (14:02 +0000)]
Range converter for actually converting character ranges
Fixed a nasty off-by-one in the endpoints of backrefs. Added
tests for them.

17 years agoFixed the interface to match,
Heikki Levanto [Fri, 5 May 2006 09:14:42 +0000 (09:14 +0000)]
Fixed the interface to match,
merged with Adam's whitespace patch,
First converters work

17 years agoFirst code bits of record retrieval code
Adam Dickmeiss [Thu, 4 May 2006 20:00:45 +0000 (20:00 +0000)]
First code bits of record retrieval code

17 years agoPredefine HAVE_XSLT, HAVE_XML2 for Doxygen
Adam Dickmeiss [Thu, 4 May 2006 19:59:11 +0000 (19:59 +0000)]
Predefine HAVE_XSLT, HAVE_XML2 for Doxygen

17 years agoReformat with a little more spacing (no code changes)
Adam Dickmeiss [Thu, 4 May 2006 18:58:54 +0000 (18:58 +0000)]
Reformat with a little more spacing (no code changes)

17 years agoFixed one doxygen warning
Adam Dickmeiss [Thu, 4 May 2006 18:58:24 +0000 (18:58 +0000)]
Fixed one doxygen warning

17 years agoEnsure tst_record_conv.c may include config.h
Adam Dickmeiss [Thu, 4 May 2006 18:22:59 +0000 (18:22 +0000)]
Ensure tst_record_conv.c may include config.h

17 years agoMake things compile --without-xslt
Adam Dickmeiss [Thu, 4 May 2006 15:31:04 +0000 (15:31 +0000)]
Make things compile --without-xslt

17 years agoThe NFA seems to work now (as far as I can see).
Heikki Levanto [Wed, 3 May 2006 13:47:35 +0000 (13:47 +0000)]
The NFA seems to work now (as far as I can see).
Still needs to do the output side of it.

17 years agoUpdate Windows installation for libxslt enabling.
Adam Dickmeiss [Wed, 3 May 2006 13:38:12 +0000 (13:38 +0000)]
Update Windows installation for libxslt enabling.

17 years agoFix makefile. Added record_conv.c
Adam Dickmeiss [Wed, 3 May 2006 13:31:53 +0000 (13:31 +0000)]
Fix makefile. Added record_conv.c

17 years agolibxslt part of windows build
Adam Dickmeiss [Wed, 3 May 2006 13:27:20 +0000 (13:27 +0000)]
libxslt part of windows build

17 years agoRecord conversion utility (yaz_record_conv_t) supports marc and
Adam Dickmeiss [Wed, 3 May 2006 13:04:46 +0000 (13:04 +0000)]
Record conversion utility (yaz_record_conv_t) supports marc and
XSLT conversions.

17 years agoPrepare test for latin-1 -> utf-8 with combo chars
Adam Dickmeiss [Wed, 3 May 2006 13:01:04 +0000 (13:01 +0000)]
Prepare test for latin-1 -> utf-8 with combo chars

17 years agoIgnore generated "nfatest1"
Mike Taylor [Wed, 3 May 2006 12:09:30 +0000 (12:09 +0000)]
Ignore generated "nfatest1"

17 years agoYAZ optionally uses libxslt. Check for xml2 obsoleted because libxslt
Adam Dickmeiss [Wed, 3 May 2006 12:02:23 +0000 (12:02 +0000)]
YAZ optionally uses libxslt. Check for xml2 obsoleted because libxslt
includes it.

17 years agoAvoid mixed stmt/dcl
Mike Taylor [Wed, 3 May 2006 11:36:14 +0000 (11:36 +0000)]
Avoid mixed stmt/dcl

17 years agoAdded nfa.h to makefile.am. Work continues on the nfa
Heikki Levanto [Wed, 3 May 2006 11:09:59 +0000 (11:09 +0000)]
Added nfa.h to makefile.am. Work continues on the nfa

17 years agoAdded my new NFA character normalizer. Not yet ready, but want to
Heikki Levanto [Wed, 3 May 2006 09:04:33 +0000 (09:04 +0000)]
Added my new NFA character normalizer. Not yet ready, but want to
have it in the cvs already now.

17 years agoAdded nmem_text_node_cdata which takes xmlNode CDATA content and
Adam Dickmeiss [Tue, 2 May 2006 20:47:45 +0000 (20:47 +0000)]
Added nmem_text_node_cdata which takes xmlNode CDATA content and
creates NMEM string.
Added first parts of record conversion utility (yaz_record_conv_t).

17 years agoFixed Doxygen comments
Adam Dickmeiss [Tue, 2 May 2006 12:11:08 +0000 (12:11 +0000)]
Fixed Doxygen comments

17 years agoDont use /YX
Adam Dickmeiss [Sun, 30 Apr 2006 07:23:08 +0000 (07:23 +0000)]
Dont use /YX

17 years agoCosmetic fix
Adam Dickmeiss [Sun, 30 Apr 2006 06:50:09 +0000 (06:50 +0000)]
Cosmetic fix

17 years agobumped yaz number to 2.1.19-1 the resting places
Marc Cromme [Thu, 27 Apr 2006 20:08:49 +0000 (20:08 +0000)]
bumped yaz number to 2.1.19-1 the resting places

17 years agoAlways include sys/stat.h
Adam Dickmeiss [Thu, 27 Apr 2006 08:39:05 +0000 (08:39 +0000)]
Always include sys/stat.h

17 years agoSimplified outout to keep it on one line, even when verbose
Heikki Levanto [Wed, 26 Apr 2006 16:58:27 +0000 (16:58 +0000)]
Simplified outout to keep it on one line, even when verbose

17 years agoMore comments on path.{c,h} functions
Adam Dickmeiss [Wed, 26 Apr 2006 10:01:31 +0000 (10:01 +0000)]
More comments on path.{c,h} functions

17 years agoBump version to 2.1.19. Added function yaz_filepath_resolve.
Adam Dickmeiss [Wed, 26 Apr 2006 09:40:42 +0000 (09:40 +0000)]
Bump version to 2.1.19. Added function yaz_filepath_resolve.

17 years agoreverting to sgml mode
Marc Cromme [Tue, 25 Apr 2006 11:25:08 +0000 (11:25 +0000)]
reverting to sgml mode

17 years agoAdded support for a new character set MARC8s identical to MARC8 except
Adam Dickmeiss [Mon, 24 Apr 2006 23:21:25 +0000 (23:21 +0000)]
Added support for a new character set MARC8s identical to MARC8 except
that it converts combined characters to single Unicode characters in the
Latin-1 range (when possible).

17 years agoinsered Emacs nxml-mode in bottom of XML files
Marc Cromme [Mon, 24 Apr 2006 12:54:08 +0000 (12:54 +0000)]
insered Emacs nxml-mode in bottom of XML files

17 years agocorrected DOCTYPE header and called emacs nxml-mode instead of sgml-mode in bottom...
Marc Cromme [Mon, 24 Apr 2006 12:41:00 +0000 (12:41 +0000)]
corrected DOCTYPE header and called emacs nxml-mode instead of sgml-mode in bottom of files

17 years agoFix a couple of URL entities
Adam Dickmeiss [Mon, 24 Apr 2006 12:12:24 +0000 (12:12 +0000)]
Fix a couple of URL entities

17 years agoCast to long YAZ.2.1.18
Adam Dickmeiss [Mon, 24 Apr 2006 10:30:44 +0000 (10:30 +0000)]
Cast to long

17 years ago/usr/share/yaz in libyaz-devel package
Adam Dickmeiss [Mon, 24 Apr 2006 09:35:10 +0000 (09:35 +0000)]
/usr/share/yaz in libyaz-devel package

17 years agoIgnore dox directory
Adam Dickmeiss [Mon, 24 Apr 2006 09:26:10 +0000 (09:26 +0000)]
Ignore dox directory

17 years agoUpdate release date
Adam Dickmeiss [Mon, 24 Apr 2006 09:24:59 +0000 (09:24 +0000)]
Update release date

17 years agoUse URL entities for most link references
Adam Dickmeiss [Mon, 24 Apr 2006 09:21:35 +0000 (09:21 +0000)]
Use URL entities for most link references

18 years agoDebian package changes: moved yaz.7 from libyaz to libyaz-dev; moved man
Adam Dickmeiss [Fri, 21 Apr 2006 14:24:53 +0000 (14:24 +0000)]
Debian package changes: moved yaz.7 from libyaz to libyaz-dev; moved man
page lists to .manpages files.

18 years agoBack to Debian package libyaz (from libyaz2 experiment)
Adam Dickmeiss [Fri, 21 Apr 2006 13:50:26 +0000 (13:50 +0000)]
Back to Debian package libyaz (from libyaz2 experiment)

18 years agoremoved unnecessary misc:Depends
Marc Cromme [Fri, 21 Apr 2006 13:02:47 +0000 (13:02 +0000)]
removed unnecessary misc:Depends

18 years agobuildconf.sh adds GCC option -Wdeclaration-after-statement
Adam Dickmeiss [Fri, 21 Apr 2006 12:54:52 +0000 (12:54 +0000)]
buildconf.sh adds GCC option -Wdeclaration-after-statement

18 years agoDebian package upgrade to follow policy 3.6.2 and renamed libjaz to libyaz2.
Marc Cromme [Fri, 21 Apr 2006 12:54:36 +0000 (12:54 +0000)]
Debian package upgrade to follow policy 3.6.2 and renamed libjaz to libyaz2.
Virtual package libyaz created for transition period. Lib API number
bumped to 2.1.0

18 years agoAdded comment about dh_makeshlibs in debian/rules
Adam Dickmeiss [Fri, 21 Apr 2006 12:40:56 +0000 (12:40 +0000)]
Added comment about dh_makeshlibs in debian/rules

18 years agoRevert last change
Adam Dickmeiss [Fri, 21 Apr 2006 10:30:14 +0000 (10:30 +0000)]
Revert last change

18 years agoAdded several type casts due to no portable way of doing printf of
Adam Dickmeiss [Fri, 21 Apr 2006 10:28:06 +0000 (10:28 +0000)]
Added several type casts due to no portable way of doing printf of
a size_t variable.

18 years agoAdded common directory to be part of yaz-doc
Adam Dickmeiss [Fri, 21 Apr 2006 08:57:29 +0000 (08:57 +0000)]
Added common directory to be part of yaz-doc

18 years agoAPI version 2.1.17
Adam Dickmeiss [Fri, 21 Apr 2006 08:53:56 +0000 (08:53 +0000)]
API version 2.1.17

18 years agoMore Doxygen stuff; for auto-generated code too
Adam Dickmeiss [Thu, 20 Apr 2006 20:50:51 +0000 (20:50 +0000)]
More Doxygen stuff; for auto-generated code too

18 years agoRemove Doxyfile. There is already another one in root dir of YAZ
Adam Dickmeiss [Thu, 20 Apr 2006 20:45:38 +0000 (20:45 +0000)]
Remove Doxyfile. There is already another one in root dir of YAZ

18 years agoExteded yaz_marc_write_marcxhange new parameters, format and type.
Adam Dickmeiss [Thu, 20 Apr 2006 20:35:02 +0000 (20:35 +0000)]
Exteded yaz_marc_write_marcxhange new parameters, format and type.
More Doxygen comments.

18 years agoAdded utility yaz_marc_modify_leader which modifies a one or
Adam Dickmeiss [Thu, 20 Apr 2006 19:47:01 +0000 (19:47 +0000)]
Added utility yaz_marc_modify_leader which modifies a one or
more characters in a MARC leader. Function yaz_write_marcxml and
output mode YAZ_MARC_MARCXML sets leader byte at pos = 'a'. Actually
this is not new (YAZ 2.1.16 did that too, but it was done differently).

18 years agoFix path to id.png in copy
Adam Dickmeiss [Thu, 20 Apr 2006 13:46:55 +0000 (13:46 +0000)]
Fix path to id.png in copy

18 years agoSimplify file specs for devel+doc by using File /r.
Adam Dickmeiss [Thu, 20 Apr 2006 13:45:20 +0000 (13:45 +0000)]
Simplify file specs for devel+doc by using File /r.

18 years agoAdded common to SUBDIRS
Adam Dickmeiss [Thu, 20 Apr 2006 13:04:16 +0000 (13:04 +0000)]
Added common to SUBDIRS

18 years agoUpdated to use doc/common (id-docbook-common)
Adam Dickmeiss [Thu, 20 Apr 2006 11:56:20 +0000 (11:56 +0000)]
Updated to use doc/common (id-docbook-common)

18 years agoRemove 2.1.17 from this
Adam Dickmeiss [Thu, 20 Apr 2006 08:43:23 +0000 (08:43 +0000)]
Remove 2.1.17 from this

18 years agobumped version number to 2.1.18
Marc Cromme [Thu, 20 Apr 2006 08:38:01 +0000 (08:38 +0000)]
bumped version number to 2.1.18

18 years agoASN.1 compiler 0.4: generates brief Doxygen file header for
Adam Dickmeiss [Thu, 20 Apr 2006 08:25:12 +0000 (08:25 +0000)]
ASN.1 compiler 0.4: generates brief Doxygen file header for
generated .h/.c files.

18 years agobumped number to 2.1.17
Marc Cromme [Thu, 20 Apr 2006 08:24:54 +0000 (08:24 +0000)]
bumped number to 2.1.17

18 years agoLet all .asn depend on yaz-asncomp
Adam Dickmeiss [Thu, 20 Apr 2006 08:24:31 +0000 (08:24 +0000)]
Let all .asn depend on yaz-asncomp

18 years agobumped version to 2.1.17-1
Marc Cromme [Thu, 20 Apr 2006 08:04:13 +0000 (08:04 +0000)]
bumped version to 2.1.17-1

18 years agoFixed bug in yaz_srw_get: case Z_SRW_scan_response missed a break.
Adam Dickmeiss [Thu, 20 Apr 2006 00:01:01 +0000 (00:01 +0000)]
Fixed bug in yaz_srw_get: case Z_SRW_scan_response missed a break.

18 years agoUpdated for MARC-8 conversion
Adam Dickmeiss [Wed, 19 Apr 2006 23:49:50 +0000 (23:49 +0000)]
Updated for MARC-8 conversion

18 years agoAdded another safe cast to prevent warning
Adam Dickmeiss [Wed, 19 Apr 2006 23:48:06 +0000 (23:48 +0000)]
Added another safe cast to prevent warning

18 years agoAdded safe cast to prevent warning
Adam Dickmeiss [Wed, 19 Apr 2006 23:46:15 +0000 (23:46 +0000)]
Added safe cast to prevent warning

18 years agoImplemented yaz_iconv to support conversion to MARC-8
Adam Dickmeiss [Wed, 19 Apr 2006 23:15:39 +0000 (23:15 +0000)]
Implemented yaz_iconv to support conversion to MARC-8

18 years agoMissed this file
Adam Dickmeiss [Wed, 19 Apr 2006 11:00:26 +0000 (11:00 +0000)]
Missed this file

18 years agoNew facilities for the MARC module. The reading - and writing of
Adam Dickmeiss [Wed, 19 Apr 2006 10:05:02 +0000 (10:05 +0000)]
New facilities for the MARC module. The reading - and writing of
content are separate methods for the yaz_marc_t handle. The following
read functions are available: yaz_marc_read_iso2709 (Reads MARC in
ISO2709 format), yaz_marc_read_xml (reads MARC in MARCXML/MarcXchange
format). Write functions have prefix yaz_marc_write_.. The existing
utilities yaz_marc_decode_wrbuf and yaz_marc_decode_buf are still
available. Removed support for OAI-MARC and simplexml (not the
simplexml from PHP5).

18 years agoBetter usage info
Adam Dickmeiss [Wed, 19 Apr 2006 09:05:09 +0000 (09:05 +0000)]
Better usage info