yaz-moved-to-github.git
17 years agoChanged the way yaz-client encodes charset negotiation information
Adam Dickmeiss [Wed, 30 May 2007 21:56:59 +0000 (21:56 +0000)]
Changed the way yaz-client encodes charset negotiation information
to target when no negoatitionCharset is set by user using command
negcharset. In YAZ 3.0.0 and later the negotation information was
simply omitted. Now the OriginProposal is sent anway but with
proposedCharSets and proposedlanaguages omitted (both are optional).
YAZ Frontend server is also modified to deal with this: omitted
proposedCharSets in the OriginProposal will make the frontend server
return default character set for target if that is supplied by the
backend init handler (member query_charset).

17 years agoSome old changes were not committed properly
Heikki Levanto [Wed, 30 May 2007 13:59:04 +0000 (13:59 +0000)]
Some old changes were not committed properly

17 years agoPrepare for new internal deb package.
Adam Dickmeiss [Wed, 30 May 2007 08:42:01 +0000 (08:42 +0000)]
Prepare for new internal deb package.

17 years agoAdded yaz-client command querycharset which specifies character set for
Adam Dickmeiss [Wed, 30 May 2007 08:40:26 +0000 (08:40 +0000)]
Added yaz-client command querycharset which specifies character set for
query terms for Z39.50 RPN queries and Z39.50 Scan Requests
(termListAndStartPoint).

17 years agoCharset ISO5428:1984 is an alias for ISO5428-1984.
Adam Dickmeiss [Wed, 30 May 2007 08:22:03 +0000 (08:22 +0000)]
Charset ISO5428:1984 is an alias for ISO5428-1984.

17 years agoImplemented a way to perform scan in a result set using Z39.50. This
Adam Dickmeiss [Wed, 30 May 2007 08:12:16 +0000 (08:12 +0000)]
Implemented a way to perform scan in a result set using Z39.50. This
is achieved by attaching the result set name in the characterInfo
(type InternationalString) of OtherInformation in the Scan Request PDU.
The result set is identified in the otherinformation by the new OID:
 USERINFO, Z3950_PREFIX.10.1000.81.4, "Scan-Set
This allows for scan in result set and faceted search . Zebra did some
of this in the APT term using attribute type 8 and value being result
set. Using the OtherInformation approach for this is cleaner and easier
to work with in proxies and the like. This facility can be used in
yaz-client using new command setscan which takes a result set as first

17 years agoRemoved NMEM debug code
Adam Dickmeiss [Wed, 30 May 2007 08:04:28 +0000 (08:04 +0000)]
Removed NMEM debug code

17 years agocorrected typo
Marc Cromme [Fri, 25 May 2007 16:19:46 +0000 (16:19 +0000)]
corrected typo

17 years agoFunction encode_uri_char does not hex encode unreserved chars (RFC 2396
Adam Dickmeiss [Thu, 24 May 2007 10:18:36 +0000 (10:18 +0000)]
Function encode_uri_char does not hex encode unreserved chars (RFC 2396
section 2.3).

17 years agoBump version to 3.0.5-1
Adam Dickmeiss [Wed, 23 May 2007 13:16:32 +0000 (13:16 +0000)]
Bump version to 3.0.5-1

17 years agoChanged decoding of SRU XML packed records to deal with servers that
Adam Dickmeiss [Wed, 23 May 2007 13:11:11 +0000 (13:11 +0000)]
Changed decoding of SRU XML packed records to deal with servers that
have recordData with XML data with multiple root nodes. Also make
comparison for recordPacking case insensitive. Again, one server
returns "XML" where others return "xml".

17 years agoChange comment about second arg of yaz_matchstr
Adam Dickmeiss [Wed, 23 May 2007 12:58:59 +0000 (12:58 +0000)]
Change comment about second arg of yaz_matchstr

17 years agoFor SRU responses allow Content-Type application/xml as well as text/xml.
Adam Dickmeiss [Wed, 23 May 2007 11:54:46 +0000 (11:54 +0000)]
For SRU responses allow Content-Type application/xml as well as text/xml.

17 years agoGary Anderson to credits
Adam Dickmeiss [Wed, 23 May 2007 08:53:20 +0000 (08:53 +0000)]
Gary Anderson to credits

17 years agoCheck for malformed UTF-8 characters. Thanks for Gary Anderson for
Adam Dickmeiss [Wed, 23 May 2007 08:50:11 +0000 (08:50 +0000)]
Check for malformed UTF-8 characters. Thanks for Gary Anderson for
pointing this out.

17 years agoUse entity idcommon rather than common. Fix acronym entities.
Adam Dickmeiss [Tue, 22 May 2007 11:10:08 +0000 (11:10 +0000)]
Use entity idcommon rather than common. Fix acronym entities.

17 years agoTowards 3.0.4 YAZ.3.0.4
Adam Dickmeiss [Mon, 21 May 2007 12:18:25 +0000 (12:18 +0000)]
Towards 3.0.4

17 years agoFixed missing yaz_iconv reset call in odr_iconv_string in decoding phase.
Adam Dickmeiss [Mon, 21 May 2007 11:51:01 +0000 (11:51 +0000)]
Fixed missing yaz_iconv reset call in odr_iconv_string in decoding phase.

17 years agoTokenizer skips comments (# by default).
Adam Dickmeiss [Wed, 16 May 2007 10:47:49 +0000 (10:47 +0000)]
Tokenizer skips comments (# by default).

17 years agoBump to version 3.0.3
Adam Dickmeiss [Wed, 16 May 2007 10:47:14 +0000 (10:47 +0000)]
Bump to version 3.0.3

17 years agoIgnore generated std-oid-table.xml
Mike Taylor [Wed, 9 May 2007 12:17:54 +0000 (12:17 +0000)]
Ignore generated std-oid-table.xml

17 years agolibyaz3-dev should conflict with libyaz2-dev
Adam Dickmeiss [Wed, 9 May 2007 11:04:35 +0000 (11:04 +0000)]
libyaz3-dev should conflict with libyaz2-dev

17 years agolibyaz3-dev conflicts with libyaz2-dev
Adam Dickmeiss [Wed, 9 May 2007 08:10:30 +0000 (08:10 +0000)]
libyaz3-dev conflicts with libyaz2-dev

17 years agoyaz3.lib part of devel YAZ.3.0.2
Adam Dickmeiss [Tue, 8 May 2007 08:39:00 +0000 (08:39 +0000)]
yaz3.lib part of devel

17 years agoAPI version 3.0.2
Adam Dickmeiss [Tue, 8 May 2007 08:27:45 +0000 (08:27 +0000)]
API version 3.0.2

17 years agoTowards 3.0.2.
Adam Dickmeiss [Tue, 8 May 2007 08:27:13 +0000 (08:27 +0000)]
Towards 3.0.2.

17 years agoFor OIDs use Odr_oid type everywhere, i.e. do not assume Odr_oid=int.
Adam Dickmeiss [Tue, 8 May 2007 08:22:35 +0000 (08:22 +0000)]
For OIDs use Odr_oid type everywhere, i.e. do not assume Odr_oid=int.
For OID class, use oid_class consistently.

17 years agoList of built-in OIDs in documentation.
Adam Dickmeiss [Mon, 7 May 2007 13:18:32 +0000 (13:18 +0000)]
List of built-in OIDs in documentation.

17 years agoFunctions yaz_oid_db_{new,destroy} in public header
Adam Dickmeiss [Mon, 7 May 2007 12:06:09 +0000 (12:06 +0000)]
Functions yaz_oid_db_{new,destroy} in public header

17 years agoFixed description
Adam Dickmeiss [Mon, 7 May 2007 12:04:06 +0000 (12:04 +0000)]
Fixed description

17 years agoBump version to 3.0.1
Adam Dickmeiss [Mon, 7 May 2007 07:17:29 +0000 (07:17 +0000)]
Bump version to 3.0.1

17 years agoSpell fix
Adam Dickmeiss [Sun, 6 May 2007 20:42:42 +0000 (20:42 +0000)]
Spell fix

17 years agoSummarize changes
Adam Dickmeiss [Sun, 6 May 2007 20:41:22 +0000 (20:41 +0000)]
Summarize changes

17 years agoFixed type cast
Adam Dickmeiss [Sun, 6 May 2007 20:35:43 +0000 (20:35 +0000)]
Fixed type cast

17 years agoImport library now called yaz3.lib (yaz3d.lib for debug version).
Adam Dickmeiss [Sun, 6 May 2007 20:27:14 +0000 (20:27 +0000)]
Import library now called yaz3.lib (yaz3d.lib for debug version).

17 years agoDefine OID_STD_H no longer needed for oid_std.c code
Adam Dickmeiss [Sun, 6 May 2007 20:18:29 +0000 (20:18 +0000)]
Define OID_STD_H no longer needed for oid_std.c code

17 years agoCode updates which makes things compile as C++. Mostly type casts were
Adam Dickmeiss [Sun, 6 May 2007 20:12:19 +0000 (20:12 +0000)]
Code updates which makes things compile as C++. Mostly type casts were
added. But the exercise also revealed places where YAZ_BEGIN_CDEC was
omitted.

17 years agoCopying user,group,password + preferredMessage, maximumRecordSize
Adam Dickmeiss [Sat, 5 May 2007 11:55:22 +0000 (11:55 +0000)]
Copying user,group,password + preferredMessage, maximumRecordSize
when ZOOM_connection_connect is invoked; to ensure that if we send
init request later those values are used.

17 years agoAdded ZOOM_options_dup.
Adam Dickmeiss [Sat, 5 May 2007 11:53:26 +0000 (11:53 +0000)]
Added ZOOM_options_dup.

17 years agoFixed OIDs for SUTRS and Explain (external handling)
Adam Dickmeiss [Sat, 5 May 2007 10:26:31 +0000 (10:26 +0000)]
Fixed OIDs for SUTRS and Explain (external handling)

17 years agoIndentation.
Adam Dickmeiss [Fri, 4 May 2007 17:16:21 +0000 (17:16 +0000)]
Indentation.

17 years agoFixed oid_db.h fname
Adam Dickmeiss [Fri, 4 May 2007 12:36:56 +0000 (12:36 +0000)]
Fixed oid_db.h fname

17 years agoOID documentation update.
Adam Dickmeiss [Fri, 4 May 2007 12:24:15 +0000 (12:24 +0000)]
OID documentation update.

17 years agoRemoved dead code section
Adam Dickmeiss [Fri, 4 May 2007 12:23:54 +0000 (12:23 +0000)]
Removed dead code section

17 years agoAdded a few ids for sections
Adam Dickmeiss [Fri, 4 May 2007 08:06:24 +0000 (08:06 +0000)]
Added a few ids for sections

17 years agoDocumentation updates for new names of dll/so files.
Adam Dickmeiss [Fri, 4 May 2007 08:03:40 +0000 (08:03 +0000)]
Documentation updates for new names of dll/so files.

17 years agoUsing old C style comments.
Adam Dickmeiss [Thu, 3 May 2007 22:20:45 +0000 (22:20 +0000)]
Using old C style comments.

17 years agoFixed beta small in ISO5428 conversion
Adam Dickmeiss [Thu, 3 May 2007 22:18:13 +0000 (22:18 +0000)]
Fixed beta small in ISO5428 conversion

17 years agoAdded partial support for ISO5428-1984, which is the "Greek alphabet coded
Adam Dickmeiss [Thu, 3 May 2007 13:14:41 +0000 (13:14 +0000)]
Added partial support for ISO5428-1984, which is the "Greek alphabet coded
character set for bibliographic information interchange". By Giannis Kosmas.

17 years agoUndoing a file rename
Heikki Levanto [Thu, 3 May 2007 08:35:10 +0000 (08:35 +0000)]
Undoing a file rename

17 years agoMore asn1 for oclc
Heikki Levanto [Thu, 3 May 2007 08:34:52 +0000 (08:34 +0000)]
More asn1 for oclc

17 years agoFix OID for record update command
Adam Dickmeiss [Thu, 3 May 2007 08:04:10 +0000 (08:04 +0000)]
Fix OID for record update command

17 years agoAPI version 3.0.0 YAZ.3.0.0
Adam Dickmeiss [Wed, 2 May 2007 12:50:06 +0000 (12:50 +0000)]
API version 3.0.0

17 years agoMinor wording change.
Adam Dickmeiss [Wed, 2 May 2007 12:39:35 +0000 (12:39 +0000)]
Minor wording change.

17 years agoFixed syntax error.
Adam Dickmeiss [Wed, 2 May 2007 12:37:15 +0000 (12:37 +0000)]
Fixed syntax error.

17 years agoAllow a server to tell whether records uses same encoding as charset
Adam Dickmeiss [Wed, 2 May 2007 12:36:34 +0000 (12:36 +0000)]
Allow a server to tell whether records uses same encoding as charset
given by query_charset.

17 years agoAdded new member 'query_charset' for bend_initrequest structure. A
Adam Dickmeiss [Wed, 2 May 2007 11:53:25 +0000 (11:53 +0000)]
Added new member 'query_charset' for bend_initrequest structure. A
backend init handler should set this member to its native character set
for query terms. When defined, the frontend server logic will announce
this character set to a client if the negotiationModel bit is set by the
client. ALL server implementors are encouraged to specify this. If they
don't, a warning is issued.

17 years agoThe negotiationModel bit is now set by default for init requests.
Adam Dickmeiss [Wed, 2 May 2007 11:51:54 +0000 (11:51 +0000)]
The negotiationModel bit is now set by default for init requests.
This will allow our servers to present the character set that they
support - even in case of no negotiation information from the client
side.

17 years agoAdded flush for yaz_iconv use
Adam Dickmeiss [Wed, 2 May 2007 11:31:59 +0000 (11:31 +0000)]
Added flush for yaz_iconv use

17 years agoNote on SRU and SRW target strings.
Mike Taylor [Tue, 1 May 2007 22:23:30 +0000 (22:23 +0000)]
Note on SRU and SRW target strings.

17 years agoUpdated RPM for YAZ 3. Packages: libyaz3, libyaz3-devel, yaz, yaz-ziffy.
Adam Dickmeiss [Tue, 1 May 2007 21:24:03 +0000 (21:24 +0000)]
Updated RPM for YAZ 3. Packages: libyaz3, libyaz3-devel, yaz, yaz-ziffy.

17 years agoAdded a few casts to throw away const
Adam Dickmeiss [Tue, 1 May 2007 12:54:44 +0000 (12:54 +0000)]
Added a few casts to throw away const

17 years agoBuild yaz3.dll rather than yaz.dll. New sources
Adam Dickmeiss [Tue, 1 May 2007 12:48:07 +0000 (12:48 +0000)]
Build yaz3.dll rather than yaz.dll. New sources

17 years agoTowards YAZ 3.0.0
Adam Dickmeiss [Tue, 1 May 2007 12:35:17 +0000 (12:35 +0000)]
Towards YAZ 3.0.0

17 years agoMore changes
Adam Dickmeiss [Tue, 1 May 2007 12:28:03 +0000 (12:28 +0000)]
More changes

17 years agoMoved stop word support code to separate ccl_stop_words.c and
Adam Dickmeiss [Tue, 1 May 2007 12:22:10 +0000 (12:22 +0000)]
Moved stop word support code to separate ccl_stop_words.c and
encapsulated the private info in opaque ptr ccl_stop_words_t.

17 years agoIn conversion from CCL RPN to RQF handle the empty string properly.
Adam Dickmeiss [Tue, 1 May 2007 12:12:34 +0000 (12:12 +0000)]
In conversion from CCL RPN to RQF handle the empty string properly.

17 years agoAdded stop word support for CCL parser. These are configured with
Adam Dickmeiss [Mon, 30 Apr 2007 19:55:39 +0000 (19:55 +0000)]
Added stop word support for CCL parser. These are configured with
@stop.field t1 t2 t3   .. All terms matching list of t1, t2, ..
in field are removed from resulting RPN.

17 years agoDestroy bibset upon completion
Adam Dickmeiss [Mon, 30 Apr 2007 19:50:22 +0000 (19:50 +0000)]
Destroy bibset upon completion

17 years agoRestructure qualifier handling so we can have more rules per-field -
Adam Dickmeiss [Mon, 30 Apr 2007 11:33:49 +0000 (11:33 +0000)]
Restructure qualifier handling so we can have more rules per-field -
such as stop word handling.

17 years agoNew ZOOM C option, "rpnCharset", which allows client-side conversion of
Adam Dickmeiss [Mon, 30 Apr 2007 08:29:07 +0000 (08:29 +0000)]
New ZOOM C option, "rpnCharset", which allows client-side conversion of
terms in RPN queries.

17 years agoSeparate tokenizer stuff into parsing and configuration types.
Adam Dickmeiss [Fri, 27 Apr 2007 10:09:44 +0000 (10:09 +0000)]
Separate tokenizer stuff into parsing and configuration types.

17 years agoAdded file description
Adam Dickmeiss [Fri, 27 Apr 2007 09:50:35 +0000 (09:50 +0000)]
Added file description

17 years agoFix leak in test
Adam Dickmeiss [Fri, 27 Apr 2007 09:48:28 +0000 (09:48 +0000)]
Fix leak in test

17 years agoDoxygen frindly comments. Minor simplications.
Adam Dickmeiss [Thu, 26 Apr 2007 22:11:32 +0000 (22:11 +0000)]
Doxygen frindly comments. Minor simplications.

17 years agoAdded functions to create CCL RPN nodes. Added small tokenizer
Adam Dickmeiss [Thu, 26 Apr 2007 21:45:16 +0000 (21:45 +0000)]
Added functions to create CCL RPN nodes. Added small tokenizer
utility (tokenizer.[ch]). CCL qualifier spec parsed using tokenizer
which allows more flexible notation in terms of white-space etc.

17 years agoFixed problem with double free of memory
Adam Dickmeiss [Thu, 26 Apr 2007 21:41:57 +0000 (21:41 +0000)]
Fixed problem with double free of memory

17 years agoVarious clean up. Removed function ccl_parset_get_bibset. Removed
Adam Dickmeiss [Thu, 26 Apr 2007 09:11:56 +0000 (09:11 +0000)]
Various clean up. Removed function ccl_parset_get_bibset. Removed
ccl_strdup and use xstrdup instead.

17 years agoClean-up the CCL API. Moved some internal structures from ccl.h to
Adam Dickmeiss [Wed, 25 Apr 2007 20:52:18 +0000 (20:52 +0000)]
Clean-up the CCL API. Moved some internal structures from ccl.h to
private header cclp.h. Changed ccl_parser_create so that a Bibset must
be supplied. Removed tokenize API from ccl.h - including ccl_parser_find.
This is replaced by ccl_parser_find_str which takes a string instead.

17 years agoRemoved ccl_pr_tree_as_qrpn . Implement ccl_pr_tree in terms of
Adam Dickmeiss [Wed, 25 Apr 2007 20:50:56 +0000 (20:50 +0000)]
Removed ccl_pr_tree_as_qrpn . Implement ccl_pr_tree in terms of
ccl_pquery_indent. Saves roughly 50 lines of code (DRY).

17 years agoCommand-line params and params from a param file now go straight into the
Heikki Levanto [Wed, 25 Apr 2007 16:51:47 +0000 (16:51 +0000)]
Command-line params and params from a param file now go straight into the
ILL request. The OCLC test server seems to accept the requesters now, complaining
of a missing item (rightly so).

17 years agoFixed typo WRT Update OIDS
Adam Dickmeiss [Wed, 25 Apr 2007 13:49:52 +0000 (13:49 +0000)]
Fixed typo WRT Update OIDS

17 years agoAdded example of qualifier alias
Adam Dickmeiss [Tue, 24 Apr 2007 12:57:52 +0000 (12:57 +0000)]
Added example of qualifier alias

17 years agoWindows build.
Adam Dickmeiss [Tue, 24 Apr 2007 12:55:15 +0000 (12:55 +0000)]
Windows build.

17 years agoAdded definition of YAZ_IMPORT for DLL import on Windows
Adam Dickmeiss [Tue, 24 Apr 2007 12:54:42 +0000 (12:54 +0000)]
Added definition of YAZ_IMPORT for DLL import on Windows

17 years agoAdded YAZ_EXPORT for new functions
Adam Dickmeiss [Tue, 24 Apr 2007 12:53:56 +0000 (12:53 +0000)]
Added YAZ_EXPORT for new functions

17 years agoFixed call to ZOOM_resultset_sort1
Adam Dickmeiss [Tue, 24 Apr 2007 09:29:34 +0000 (09:29 +0000)]
Fixed call to ZOOM_resultset_sort1

17 years agoIgnore yaz-illclient
Mike Taylor [Mon, 23 Apr 2007 16:15:11 +0000 (16:15 +0000)]
Ignore yaz-illclient

17 years agoIgnore generated files oclc-ill-req-ext.[ch].
Adam Dickmeiss [Wed, 18 Apr 2007 18:47:51 +0000 (18:47 +0000)]
Ignore generated files oclc-ill-req-ext.[ch].

17 years agoFixed missing thread libs in output of 'yaz-config --lalibs threads'.
Adam Dickmeiss [Wed, 18 Apr 2007 18:46:37 +0000 (18:46 +0000)]
Fixed missing thread libs in output of 'yaz-config --lalibs threads'.

17 years agoAdded new option 'static' for yaz-config which makes 'yaz-config --libs'
Adam Dickmeiss [Wed, 18 Apr 2007 13:40:19 +0000 (13:40 +0000)]
Added new option 'static' for yaz-config which makes 'yaz-config --libs'
returns static libs rather than shared libs for in-source compilations.
This is to make Pazpar2 work for local builds when YAZ is built
both statically and with shared objects. We have not seen this problem
before because most other applications are built with Libtool. And
these that aren't, such as PHP / Perl extensions deal with shared
objects fine.

17 years agoAdded the oclc-spcific extension part too. Didn't help.
Heikki Levanto [Wed, 18 Apr 2007 13:21:46 +0000 (13:21 +0000)]
Added the oclc-spcific extension part too. Didn't help.

17 years agot_test() arguments.
Mike Taylor [Wed, 18 Apr 2007 11:50:47 +0000 (11:50 +0000)]
t_test() arguments.

17 years agoDoxygen comments in OID generated files.
Adam Dickmeiss [Wed, 18 Apr 2007 08:08:02 +0000 (08:08 +0000)]
Doxygen comments in OID generated files.

17 years agoAdded ASN.1 and CODEC for OCLC ILL Request Extension.
Adam Dickmeiss [Wed, 18 Apr 2007 07:34:35 +0000 (07:34 +0000)]
Added ASN.1 and CODEC for OCLC ILL Request Extension.

17 years agoNo warnings
Adam Dickmeiss [Wed, 18 Apr 2007 07:17:19 +0000 (07:17 +0000)]
No warnings

17 years agoSplit YAZ library into two libs : libyaz.la and libyaz_server.la.
Adam Dickmeiss [Tue, 17 Apr 2007 20:26:18 +0000 (20:26 +0000)]
Split YAZ library into two libs : libyaz.la and libyaz_server.la.
libyaz.la is the core of YAZ except the generic frontend server and
does not depend on POSIX threads anymore. libyaz_server.la is the
generic frontend server facilities and uses POSIX thread functionality
if available. The libyaz.la no longer depends on POSIX threads because
the number of global structures is limited. NMEM no longer re-uses blocks
between threads ; it simply free's memory immediately but allocates in
"large" chunks as usual. We don't expect any performance penalties
because of this. The yaz_log system is still using a global log_level so
caution must be taken when modifying it with yaz_log_init_.. +
yaz_log_mask_str. This, however, should not cause any trouble because
these functions are called during initialization of application code
anyway. `yaz-config --libs  server` returns libs for server applications;
`yaz-config --libs` returns libs for non-server applications.

17 years agoAttempted to encode the oclc-specific login info.
Heikki Levanto [Tue, 17 Apr 2007 13:23:02 +0000 (13:23 +0000)]
Attempted to encode the oclc-specific login info.
Doesn't seem to work, gives the same error as when it was
not there at all.

17 years agoAuto-generated files specified separately
Adam Dickmeiss [Tue, 17 Apr 2007 08:15:15 +0000 (08:15 +0000)]
Auto-generated files specified separately

17 years agoFixed bug #1052: oid_std.[ch] not made automatically.
Adam Dickmeiss [Tue, 17 Apr 2007 07:37:58 +0000 (07:37 +0000)]
Fixed bug #1052: oid_std.[ch] not made automatically.