yaz-moved-to-github.git
11 years agoReworked as discussed. Keeping the optional for now. Perhaps adding the facet name...
Dennis Schafroth [Mon, 19 Jul 2010 07:59:44 +0000 (09:59 +0200)]
Reworked as discussed. Keeping the optional for now. Perhaps adding the facet name iterator

11 years agoFix serious complaint from heikki
Dennis Schafroth [Thu, 15 Jul 2010 12:55:23 +0000 (14:55 +0200)]
Fix serious complaint from heikki

Show Facets indented.

11 years agoremoved a stray s
Dennis Schafroth [Thu, 15 Jul 2010 12:46:07 +0000 (14:46 +0200)]
removed a stray s

11 years agoMerge branch 'master' of ssh://git.indexdata.com/home/git/pub/yaz
Dennis Schafroth [Thu, 15 Jul 2010 12:41:09 +0000 (14:41 +0200)]
Merge branch 'master' of ssh://git.indexdata.com/home/git/pub/yaz

11 years agoAdd FacetList name on external definition
Dennis Schafroth [Thu, 15 Jul 2010 12:40:16 +0000 (14:40 +0200)]
Add FacetList name on external definition

11 years agoSmall reorder of code line for cosmetic
Dennis Schafroth [Thu, 15 Jul 2010 12:39:35 +0000 (14:39 +0200)]
Small reorder of code line for cosmetic

11 years agoget Facet_List from OtherInformation
Dennis Schafroth [Thu, 15 Jul 2010 12:38:21 +0000 (14:38 +0200)]
get Facet_List from OtherInformation

11 years agoFix the FacetTerm.
Dennis Schafroth [Thu, 15 Jul 2010 12:35:28 +0000 (14:35 +0200)]
Fix the FacetTerm.

Remove the IMPLICIT on Term. Makes the decoder crash.

11 years agoNew Facet helpers
Dennis Schafroth [Thu, 15 Jul 2010 12:33:46 +0000 (14:33 +0200)]
New Facet helpers

Use for extraction of values from the ASN.1 structures in C.

11 years agoSupport for printing of facets.
Dennis Schafroth [Thu, 15 Jul 2010 12:30:30 +0000 (14:30 +0200)]
Support for printing of facets.

- Rename display_term to display_term_info (as it is such a object it prints)
- Extract display_term from display_queryExpression to display a term
- Fully implement the display facet using new facet helpers.

11 years agoFixed the asn1 for facets
Heikki Levanto [Thu, 15 Jul 2010 09:09:07 +0000 (11:09 +0200)]
Fixed the asn1 for facets

11 years agoDisabled the sending of a facet list (as Otherinformation) when (re)connecting
Dennis Schafroth [Wed, 14 Jul 2010 11:43:57 +0000 (13:43 +0200)]
Disabled the sending of a facet list (as Otherinformation) when (re)connecting

11 years agoEclipse files
Dennis Schafroth [Wed, 14 Jul 2010 11:06:02 +0000 (13:06 +0200)]
Eclipse files

11 years agoExclude eclipse build directory
Dennis Schafroth [Wed, 14 Jul 2010 11:05:44 +0000 (13:05 +0200)]
Exclude eclipse build directory

11 years agoNew table entries for Facets
Dennis Schafroth [Wed, 14 Jul 2010 11:03:52 +0000 (13:03 +0200)]
New table entries for Facets

11 years agoMethods for encoding FacetLists
Dennis Schafroth [Wed, 14 Jul 2010 11:02:56 +0000 (13:02 +0200)]
Methods for encoding FacetLists

11 years agoAdd method for setting FacetList as Otherinformation
Dennis Schafroth [Wed, 14 Jul 2010 11:01:22 +0000 (13:01 +0200)]
Add method for setting FacetList as Otherinformation

11 years agoRefactored to enable parsing of facets
Dennis Schafroth [Wed, 14 Jul 2010 10:56:12 +0000 (12:56 +0200)]
Refactored to enable parsing of facets

Facets is implementing as a Z_AttributeList

Change the methods so the parsing of it can be done.

11 years agoFacet suppport (partly) for Z39.50
Dennis Schafroth [Wed, 14 Jul 2010 10:52:03 +0000 (12:52 +0200)]
Facet suppport (partly) for Z39.50

Support for requesting facets using facets command.
Sends the FacetList in the search request.
Outstanding: Parsing of response.

11 years agoAdd facets to protocol
Dennis Schafroth [Tue, 13 Jul 2010 20:27:14 +0000 (22:27 +0200)]
Add facets to protocol

11 years agoNew method for parsing AttributeList used by facets.
Dennis Schafroth [Tue, 13 Jul 2010 20:26:36 +0000 (22:26 +0200)]
New method for parsing AttributeList used by facets.

11 years agoAdded facet to external definition
Dennis Schafroth [Tue, 13 Jul 2010 20:24:26 +0000 (22:24 +0200)]
Added facet to external definition

11 years agoFixed typo
Dennis Schafroth [Tue, 13 Jul 2010 20:22:31 +0000 (22:22 +0200)]
Fixed typo

11 years agoMerge branch 'master' of ssh://git.indexdata.com/home/git/pub/yaz
Adam Dickmeiss [Fri, 9 Jul 2010 15:18:03 +0000 (17:18 +0200)]
Merge branch 'master' of ssh://git.indexdata.com/home/git/pub/yaz

11 years agoGFS: Add search_info member for bend_search_rr
Adam Dickmeiss [Fri, 9 Jul 2010 15:13:05 +0000 (17:13 +0200)]
GFS: Add search_info member for bend_search_rr

This member holds the otherInfo from the SearchRequest.

11 years agoVersion 4.0.11 v4.0.11
Adam Dickmeiss [Fri, 9 Jul 2010 14:44:42 +0000 (16:44 +0200)]
Version 4.0.11

11 years agoAdd bib1 (CCL config example from ccl_test)
Adam Dickmeiss [Fri, 9 Jul 2010 14:43:50 +0000 (16:43 +0200)]
Add bib1 (CCL config example from ccl_test)

11 years agoCCL fixes: bug 2895 and bug 3539
Adam Dickmeiss [Fri, 9 Jul 2010 14:31:57 +0000 (16:31 +0200)]
CCL fixes: bug 2895 and bug 3539

11 years agoWork on fixing CCL quote problem, bug #3539.
Adam Dickmeiss [Fri, 9 Jul 2010 09:55:46 +0000 (11:55 +0200)]
Work on fixing CCL quote problem, bug #3539.

11 years agoz-facet-1.h part of dist
Adam Dickmeiss [Thu, 8 Jul 2010 09:29:34 +0000 (11:29 +0200)]
z-facet-1.h part of dist

11 years agoMerge branch 'master' of ssh://git.indexdata.com/home/git/pub/yaz
Adam Dickmeiss [Wed, 7 Jul 2010 08:45:07 +0000 (10:45 +0200)]
Merge branch 'master' of ssh://git.indexdata.com/home/git/pub/yaz

11 years agofacet.asn part of dist
Adam Dickmeiss [Wed, 7 Jul 2010 08:44:59 +0000 (10:44 +0200)]
facet.asn part of dist

11 years agoAdded z-facet-1.c to GEN_FILES
Dennis Schafroth [Wed, 7 Jul 2010 06:15:12 +0000 (08:15 +0200)]
Added z-facet-1.c to GEN_FILES

11 years agoAdd OID Facet-1: UserInfo.1000.81.5.
Adam Dickmeiss [Tue, 6 Jul 2010 11:54:41 +0000 (13:54 +0200)]
Add OID Facet-1: UserInfo.1000.81.5.

11 years agoNew UserInfoFormat-facet-1
Adam Dickmeiss [Tue, 6 Jul 2010 11:36:04 +0000 (13:36 +0200)]
New UserInfoFormat-facet-1

The ASN.1 is both for facet request and facet response and is to
be part of additionalSearchInfo for Search{Request,Response}.

12 years agoRemove etch, jaunty, intrepid, hardy
Adam Dickmeiss [Wed, 30 Jun 2010 13:22:05 +0000 (15:22 +0200)]
Remove etch, jaunty, intrepid, hardy

12 years agoBundle MSVCP90.dll - used by icuuc42.dll.
Adam Dickmeiss [Tue, 29 Jun 2010 12:42:05 +0000 (14:42 +0200)]
Bundle MSVCP90.dll - used by icuuc42.dll.

12 years agoGR1-display: add comma in display
Adam Dickmeiss [Tue, 29 Jun 2010 08:51:37 +0000 (10:51 +0200)]
GR1-display: add comma in display

Comma was remove by mistake in version 4.0.0.

12 years agoMerge cookies on SRU redirects.
Giannis Kosmas [Wed, 16 Jun 2010 15:47:08 +0000 (18:47 +0300)]
Merge cookies on SRU redirects.

12 years agoMore useful user handle for GFS example
Adam Dickmeiss [Tue, 22 Jun 2010 08:57:20 +0000 (10:57 +0200)]
More useful user handle for GFS example

12 years agoReturn fixed hit count 24 for anything but RPN
Adam Dickmeiss [Tue, 22 Jun 2010 08:35:44 +0000 (10:35 +0200)]
Return fixed hit count 24 for anything but RPN

For anything but RPN queries (CQL, CCL) return a fixed hit count
in the dummy server. For RPN throw a random hit count as usual OR
if a fixed hit count if any term has what appears to be an integer.

12 years agoAPI new functionality v4.0.10
Adam Dickmeiss [Fri, 18 Jun 2010 08:51:57 +0000 (10:51 +0200)]
API new functionality

12 years agoVersion 4.0.10
Adam Dickmeiss [Fri, 18 Jun 2010 08:51:12 +0000 (10:51 +0200)]
Version 4.0.10

12 years agoUpdate NEWS
Adam Dickmeiss [Fri, 18 Jun 2010 08:50:15 +0000 (10:50 +0200)]
Update NEWS

12 years agoAdd ZOOM_resultset_release
Adam Dickmeiss [Fri, 18 Jun 2010 08:37:56 +0000 (10:37 +0200)]
Add ZOOM_resultset_release

ZOOM_resultset_release releases a result set from a connection.
The result set will be on its own thereafter; no operations on it
will perform retrievals from a target. Only cached copies are
returned.

12 years agoFix case for http:close and SRU step (bug #3484)
Adam Dickmeiss [Thu, 17 Jun 2010 13:39:58 +0000 (15:39 +0200)]
Fix case for http:close and SRU step (bug #3484)

Fix case where servers responds with Connection:close and ensure
that if there is a current task it is resumed (like fetching
more records in a result set).

12 years agoGFS: modify log for SRU search
Adam Dickmeiss [Thu, 17 Jun 2010 13:38:04 +0000 (15:38 +0200)]
GFS: modify log for SRU search

12 years agoztest: Last test MARC record in UTF-8 ;was Latin-1
Adam Dickmeiss [Thu, 17 Jun 2010 09:16:44 +0000 (11:16 +0200)]
ztest: Last test MARC record in UTF-8 ;was Latin-1

12 years agoRemove YLOG_LOG msg
Adam Dickmeiss [Thu, 17 Jun 2010 08:28:27 +0000 (10:28 +0200)]
Remove YLOG_LOG msg

12 years agoMerge branch 'master' of ssh://git.indexdata.com/home/git/pub/yaz
Adam Dickmeiss [Thu, 17 Jun 2010 08:27:03 +0000 (10:27 +0200)]
Merge branch 'master' of ssh://git.indexdata.com/home/git/pub/yaz

12 years agoZOOM record render refactor
Adam Dickmeiss [Tue, 15 Jun 2010 20:56:41 +0000 (22:56 +0200)]
ZOOM record render refactor

12 years agoMerge branch 'master' of ssh://git.indexdata.com/home/git/pub/yaz
Adam Dickmeiss [Mon, 14 Jun 2010 10:37:00 +0000 (12:37 +0200)]
Merge branch 'master' of ssh://git.indexdata.com/home/git/pub/yaz

12 years agoAdd CQL 1.2 / 2.0 YACC grammars
Adam Dickmeiss [Mon, 14 Jun 2010 10:36:42 +0000 (12:36 +0200)]
Add CQL 1.2 / 2.0 YACC grammars

12 years agoGFS: timeout is 15 minutes / 900 sec
Adam Dickmeiss [Fri, 11 Jun 2010 12:13:19 +0000 (14:13 +0200)]
GFS: timeout is 15 minutes / 900 sec

12 years agoMerge branch 'master' of ssh://git.indexdata.com/home/git/pub/yaz
Adam Dickmeiss [Thu, 10 Jun 2010 20:36:45 +0000 (22:36 +0200)]
Merge branch 'master' of ssh://git.indexdata.com/home/git/pub/yaz

12 years agoGFS: timeout may be given in seconds (suffix s)
Adam Dickmeiss [Thu, 10 Jun 2010 20:36:08 +0000 (22:36 +0200)]
GFS: timeout may be given in seconds (suffix s)

12 years agoMinor PQF encoding and decoding changes; reformat
Adam Dickmeiss [Fri, 4 Jun 2010 11:23:11 +0000 (13:23 +0200)]
Minor PQF encoding and decoding changes; reformat

PQF decoding: attribute values that contain any non-digits are
treated as string attributes (previously decoding only checked
for leading character ([0-9]).

PQF encoding: attribute string values are not surrounded by
double-quotes.

12 years agoPQF parser: use odr_atoi for Odr_int (not atoi)
Adam Dickmeiss [Fri, 4 Jun 2010 09:30:11 +0000 (11:30 +0200)]
PQF parser: use odr_atoi for Odr_int (not atoi)

12 years agoGFS example: set output_format
Adam Dickmeiss [Tue, 1 Jun 2010 09:26:07 +0000 (11:26 +0200)]
GFS example: set output_format

12 years agoGFS fetch: issue warning if output_format is unset
Adam Dickmeiss [Tue, 1 Jun 2010 09:23:41 +0000 (11:23 +0200)]
GFS fetch: issue warning if output_format is unset

12 years agoVersion 4.0.9-2 v4.0.9
Adam Dickmeiss [Fri, 21 May 2010 09:56:44 +0000 (11:56 +0200)]
Version 4.0.9-2

12 years agoSummarize news
Adam Dickmeiss [Fri, 21 May 2010 09:55:27 +0000 (11:55 +0200)]
Summarize news

12 years agoSupport for timeout event in yaz_poll_select
Dennis Schafroth [Thu, 20 May 2010 14:26:52 +0000 (16:26 +0200)]
Support for timeout event in yaz_poll_select

Timeout events does not have a valid file descriptor but is below 0.

12 years agoMerge branch 'master' of ssh://git.indexdata.com/home/git/pub/yaz
Dennis Schafroth [Thu, 20 May 2010 14:25:31 +0000 (16:25 +0200)]
Merge branch 'master' of ssh://git.indexdata.com/home/git/pub/yaz

12 years agoAdd various #if HAVE_- for headers
Adam Dickmeiss [Thu, 20 May 2010 12:15:32 +0000 (14:15 +0200)]
Add various #if HAVE_- for headers

12 years agoAdd socket pipe utility
Adam Dickmeiss [Thu, 20 May 2010 11:32:48 +0000 (13:32 +0200)]
Add socket pipe utility

The socket pipe has same purpose as Unix pipe . Unfortunately
Windows pipes do not work on select/poll.

12 years agoDLL export yaz_match_glob
Adam Dickmeiss [Wed, 19 May 2010 14:11:02 +0000 (16:11 +0200)]
DLL export yaz_match_glob

12 years agoVersion 4.0.9
Adam Dickmeiss [Wed, 19 May 2010 13:20:34 +0000 (15:20 +0200)]
Version 4.0.9

12 years agoyaz_cond_create returns 0 if threads is unavail
Adam Dickmeiss [Wed, 19 May 2010 13:14:43 +0000 (15:14 +0200)]
yaz_cond_create returns 0 if threads is unavail

12 years agoMake yaz_thread functions work on Windows
Adam Dickmeiss [Wed, 19 May 2010 12:39:48 +0000 (14:39 +0200)]
Make yaz_thread functions work on Windows

12 years agodirent.h: export DLL functions
Adam Dickmeiss [Wed, 19 May 2010 12:39:34 +0000 (14:39 +0200)]
dirent.h: export DLL functions

12 years agoAdd yaz_thread_{create,join,detach}
Adam Dickmeiss [Wed, 19 May 2010 11:43:01 +0000 (13:43 +0200)]
Add yaz_thread_{create,join,detach}

These are simple wrappers for POSIX threads for now

12 years agoWin makefile: omit /machine:i386 link option
unknown [Wed, 19 May 2010 09:08:36 +0000 (11:08 +0200)]
Win makefile: omit /machine:i386 link option

Conflicts on Win64 and is unnecessary on Win32.

12 years agoFix retval check of SleepConditionVariableCS
unknown [Wed, 19 May 2010 08:52:46 +0000 (10:52 +0200)]
Fix retval check of SleepConditionVariableCS

SleepConditionVariableCS of Windows returns non-zero on success;
zero on failure (opposite of pthread_cond_timedwait).

12 years agoUpdate doc/common (Unxutils URL)
Adam Dickmeiss [Wed, 19 May 2010 08:30:14 +0000 (10:30 +0200)]
Update doc/common (Unxutils URL)

12 years agoMake a link for Tcl
Adam Dickmeiss [Wed, 19 May 2010 08:30:12 +0000 (10:30 +0200)]
Make a link for Tcl

12 years agoRPM libyaz4-devel: no *.la and less dependencies
Adam Dickmeiss [Mon, 17 May 2010 11:41:59 +0000 (13:41 +0200)]
RPM libyaz4-devel: no *.la and less dependencies

Because libyaz4-devel no longer includes *.la files we can
remove the dependency to gnutls-devel and tcpd-devel

12 years agolibyaz4-dev no longer depends on libgnutls-dev
Adam Dickmeiss [Mon, 17 May 2010 11:40:22 +0000 (13:40 +0200)]
libyaz4-dev no longer depends on libgnutls-dev

Because libyaz4-dev no longer include *.la files which screw
things up.

12 years agoMerge branch 'master' of ssh://git.indexdata.com/home/git/pub/yaz
Dennis Schafroth [Mon, 17 May 2010 10:38:49 +0000 (12:38 +0200)]
Merge branch 'master' of ssh://git.indexdata.com/home/git/pub/yaz

12 years agozoomsh: show record do NOT render opac
Adam Dickmeiss [Mon, 17 May 2010 10:29:08 +0000 (12:29 +0200)]
zoomsh: show record do NOT render opac

zoomsh's show command no longer renders "opac" by default. Only
the one the user asks for; besides the buffered would be MANGLED
because we were using two buffers from ZOOM_record_get at the
same time (one would have to be copied first).

12 years agoMerge branch 'master' of ssh://git.indexdata.com/home/git/pub/yaz
Dennis Schafroth [Mon, 17 May 2010 09:24:51 +0000 (11:24 +0200)]
Merge branch 'master' of ssh://git.indexdata.com/home/git/pub/yaz

12 years ago4.0.8-2 (without *.la files)
Adam Dickmeiss [Mon, 17 May 2010 08:42:53 +0000 (10:42 +0200)]
4.0.8-2 (without *.la files)

12 years agoRemove *.la files.
Adam Dickmeiss [Wed, 12 May 2010 12:28:34 +0000 (14:28 +0200)]
Remove *.la files.

http://wiki.debian.org/ReleaseGoals/LAFileRemoval

12 years agoFix typo in deb version v4.0.8
Adam Dickmeiss [Tue, 11 May 2010 11:35:20 +0000 (13:35 +0200)]
Fix typo in deb version

12 years agoVersion 4.0.8
Adam Dickmeiss [Tue, 11 May 2010 10:46:28 +0000 (12:46 +0200)]
Version 4.0.8

12 years agolibyaz4-dev depends on libgnutls-dev again
Adam Dickmeiss [Tue, 11 May 2010 10:33:55 +0000 (12:33 +0200)]
libyaz4-dev depends on libgnutls-dev again

For Libtool applications using YAZ, the .la file still refers to
libgnutls libraries despite the fact the application do not use
it at all.

12 years agoMerge branch 'master' of ssh://git.indexdata.com/home/git/pub/yaz
Dennis Schafroth [Mon, 10 May 2010 08:15:38 +0000 (10:15 +0200)]
Merge branch 'master' of ssh://git.indexdata.com/home/git/pub/yaz

12 years agoAdd detail logging of record create/destroy
Dennis Schafroth [Mon, 10 May 2010 08:15:34 +0000 (10:15 +0200)]
Add detail logging of record create/destroy

12 years agoZOOM: resultsets not ref counted by connections
Adam Dickmeiss [Fri, 7 May 2010 22:25:09 +0000 (00:25 +0200)]
ZOOM: resultsets not ref counted by connections

Experimental code and revert to old behavior of result sets.
ZOOM result sets are no longer ref counted by connections: it makes
it very difficult to work with multiple result sets within one
connection because connection would have to be destroyed before all
its result sets are destroyed. It will also makes use of more result
sets IDs on server than we need to  - because ALL result sets in use
will be still available (despite that ZOOM_resultset_destroy is
called). This commit reverts to existing behavior: a result set is
destroyed If ZOOM_resultset_destroy is used AND all operations on it
are completed.

12 years agoUse shared WRBUF for returned record strings
Adam Dickmeiss [Fri, 7 May 2010 12:53:49 +0000 (14:53 +0200)]
Use shared WRBUF for returned record strings

By sharing a WRBUF for a whole resultset for all records the
number of allocations is reduced a lot.

12 years agoAdd header for shared pointer: shptr.h
Adam Dickmeiss [Fri, 7 May 2010 09:28:07 +0000 (11:28 +0200)]
Add header for shared pointer: shptr.h

12 years agoAdd test_shared_ptr
Adam Dickmeiss [Fri, 7 May 2010 09:21:02 +0000 (11:21 +0200)]
Add test_shared_ptr

12 years agoExtend description of ZOOM option 'proxy'.
Adam Dickmeiss [Wed, 5 May 2010 09:26:11 +0000 (11:26 +0200)]
Extend description of ZOOM option 'proxy'.

12 years agoDocument ZOOM option clientIP.
Adam Dickmeiss [Wed, 5 May 2010 09:20:32 +0000 (11:20 +0200)]
Document ZOOM option clientIP.

12 years agoZOOM: scan number is 20 by default
Adam Dickmeiss [Tue, 4 May 2010 12:58:49 +0000 (14:58 +0200)]
ZOOM: scan number is 20 by default

12 years agoDebian 4.0.7-1 v4.0.7
Adam Dickmeiss [Tue, 4 May 2010 12:11:30 +0000 (14:11 +0200)]
Debian 4.0.7-1

12 years agoVersion 4.0.7
Adam Dickmeiss [Tue, 4 May 2010 12:10:41 +0000 (14:10 +0200)]
Version 4.0.7

12 years agoAdd Ubuntu lucid
Adam Dickmeiss [Tue, 4 May 2010 11:56:21 +0000 (13:56 +0200)]
Add Ubuntu lucid

12 years agorecord_conv: copy XML doc before passing to XSLT
Adam Dickmeiss [Tue, 4 May 2010 10:14:16 +0000 (12:14 +0200)]
record_conv: copy XML doc before passing to XSLT

The record_conv reads the XSL file in two steps.. Reads XSL as XML
Document.. Then passes that to XSL at each invocation to ensure the
record_conv is multi-threaded. This patch ensures that XML document
is copied before passed to XSL (instead of after). This makes at
least one XSL transform behave differently (and correct).

12 years agoFix check for xsltSaveResultToString
Adam Dickmeiss [Tue, 4 May 2010 08:45:32 +0000 (10:45 +0200)]
Fix check for xsltSaveResultToString