yaz-moved-to-github.git
13 years agoFix wrapper function for creating standard mutex. Fix destruction of Mutex attribute.
Dennis Schafroth [Sat, 7 Aug 2010 10:00:22 +0000 (12:00 +0200)]
Fix wrapper function for creating standard mutex. Fix destruction of Mutex attribute.

13 years agoMerge branch 'master' of ssh://git.indexdata.com/home/git/pub/yaz
Dennis Schafroth [Sat, 7 Aug 2010 09:53:31 +0000 (11:53 +0200)]
Merge branch 'master' of ssh://git.indexdata.com/home/git/pub/yaz

13 years agoAdd new mutex create where mutex attribute can be set
Dennis Schafroth [Sat, 7 Aug 2010 09:53:07 +0000 (11:53 +0200)]
Add new mutex create where mutex attribute can be set

13 years agoRename a few Z39.50 specific funcs
Adam Dickmeiss [Thu, 5 Aug 2010 09:24:54 +0000 (11:24 +0200)]
Rename a few Z39.50 specific funcs

13 years agoyaz-client: mark priv funcs static
Adam Dickmeiss [Wed, 4 Aug 2010 11:29:14 +0000 (13:29 +0200)]
yaz-client: mark priv funcs static

13 years agoReformat
Adam Dickmeiss [Wed, 4 Aug 2010 11:16:27 +0000 (13:16 +0200)]
Reformat

13 years agoMove otherinfo facet stuff to facet.c
Adam Dickmeiss [Wed, 4 Aug 2010 09:20:22 +0000 (11:20 +0200)]
Move otherinfo facet stuff to facet.c

Reshape functions a little.. No need to pass the facet OID
when it is already given that this is facets etc..

13 years agoyaz_oi_get_facetlist_oid: odr=0 for yaz_oi_update
Adam Dickmeiss [Wed, 4 Aug 2010 08:55:29 +0000 (10:55 +0200)]
yaz_oi_get_facetlist_oid: odr=0 for yaz_oi_update

This is because we do not want otherinformation entries to
be created by this call.

13 years agoyaz-client: otherinfo missing if facet is in use
Adam Dickmeiss [Wed, 4 Aug 2010 08:38:21 +0000 (10:38 +0200)]
yaz-client: otherinfo missing if facet is in use

Do not skip index 0 of user-defined otherinfos if facets is in use.

13 years agoRename attr facet specific functions
Adam Dickmeiss [Tue, 3 Aug 2010 11:32:54 +0000 (13:32 +0200)]
Rename attr facet specific functions

13 years agoReformat. Add YAZ_END_CDECL
Adam Dickmeiss [Tue, 3 Aug 2010 11:21:19 +0000 (13:21 +0200)]
Reformat. Add YAZ_END_CDECL

13 years agoRename struct attrvalues to yaz_facet_attr
Adam Dickmeiss [Tue, 3 Aug 2010 11:10:58 +0000 (13:10 +0200)]
Rename struct attrvalues to yaz_facet_attr

This structure is facet specific and not a generic attribute
container.

13 years agoMerge branch 'master' of ssh://git.indexdata.com/home/git/pub/yaz
Adam Dickmeiss [Tue, 3 Aug 2010 11:07:40 +0000 (13:07 +0200)]
Merge branch 'master' of ssh://git.indexdata.com/home/git/pub/yaz

13 years agoAdd Copyright header and footer
Adam Dickmeiss [Tue, 3 Aug 2010 11:03:10 +0000 (13:03 +0200)]
Add Copyright header and footer

13 years agoAvoid crash if facet use attribute is not supplied
Adam Dickmeiss [Tue, 3 Aug 2010 10:59:03 +0000 (12:59 +0200)]
Avoid crash if facet use attribute is not supplied

13 years agoUpdate expected MARC result due to upd message
Adam Dickmeiss [Mon, 2 Aug 2010 19:00:14 +0000 (21:00 +0200)]
Update expected MARC result due to upd message

MARC results differ a little because warning about MARC directory
has changed.

13 years agoMARC reader: more verbose if dir parsing fails
Adam Dickmeiss [Mon, 2 Aug 2010 10:18:18 +0000 (12:18 +0200)]
MARC reader: more verbose if dir parsing fails

13 years agoAvoid compile problem in eclipse
Dennis Schafroth [Fri, 30 Jul 2010 15:16:39 +0000 (17:16 +0200)]
Avoid compile problem in eclipse

13 years agoMinor changes in build settings
Dennis Schafroth [Fri, 30 Jul 2010 13:12:02 +0000 (15:12 +0200)]
Minor changes in build settings

13 years agoAdd compile defines
Dennis Schafroth [Fri, 30 Jul 2010 13:08:48 +0000 (15:08 +0200)]
Add compile defines

13 years agoCosmetic plus fix of uninitialized variable
Dennis Schafroth [Fri, 30 Jul 2010 13:06:45 +0000 (15:06 +0200)]
Cosmetic plus fix of uninitialized variable

13 years agoFix LOG_* flags to YLOG_ flags. Uncomment unused functions
Dennis Schafroth [Fri, 30 Jul 2010 10:05:33 +0000 (12:05 +0200)]
Fix LOG_* flags to YLOG_ flags. Uncomment unused functions

13 years agoFix: missing init of descriptor and indirect_reference in externally defined
Dennis Schafroth [Thu, 29 Jul 2010 08:48:34 +0000 (10:48 +0200)]
Fix: missing init of descriptor and indirect_reference in externally defined

13 years agoVerbose debug logging on facets. Remove later
Dennis Schafroth [Mon, 26 Jul 2010 14:27:56 +0000 (16:27 +0200)]
Verbose debug logging on facets. Remove later

13 years agoZOOM Facets.
Dennis Schafroth [Mon, 26 Jul 2010 14:26:08 +0000 (16:26 +0200)]
ZOOM Facets.

Fix: initialization of resultset.num_facets.
Add some debug logging.

13 years agoDebug log on facet attribute limit
Dennis Schafroth [Mon, 26 Jul 2010 14:25:33 +0000 (16:25 +0200)]
Debug log on facet attribute limit

13 years agoSupport for skipping facet, if term count is 0.
Dennis Schafroth [Mon, 26 Jul 2010 09:27:47 +0000 (11:27 +0200)]
Support for skipping facet, if term count is 0.

13 years agohelper for init. attribute values struct. Add some debug logging.
Dennis Schafroth [Mon, 26 Jul 2010 09:26:31 +0000 (11:26 +0200)]
helper for init. attribute values struct. Add some debug logging.

13 years agoAdd: method for initializing facet attributes helper struct
Dennis Schafroth [Mon, 26 Jul 2010 09:25:31 +0000 (11:25 +0200)]
Add: method for initializing facet attributes helper struct

13 years agoAdd missing facet function resultset_get_facet_field
Dennis Schafroth [Thu, 22 Jul 2010 15:12:23 +0000 (17:12 +0200)]
Add missing facet function resultset_get_facet_field

13 years agoFix: Uninitialized member of Z_External when creating FacetList
Dennis Schafroth [Thu, 22 Jul 2010 11:24:31 +0000 (13:24 +0200)]
Fix: Uninitialized member of Z_External when creating FacetList

13 years agoAdd help for facets
Dennis Schafroth [Wed, 21 Jul 2010 09:45:14 +0000 (11:45 +0200)]
Add help for facets

13 years agoImplementation of fake facets.
Dennis Schafroth [Tue, 20 Jul 2010 16:10:41 +0000 (18:10 +0200)]
Implementation of fake facets.

Adding dummy facets to result if requesting facets in search.

13 years agoImplemtation of ZOOM Facet API in zoom shell
Dennis Schafroth [Tue, 20 Jul 2010 16:06:14 +0000 (18:06 +0200)]
Implemtation of ZOOM Facet API in zoom shell

New option:
set facets [AttributeList,]* : Defines the facets to be fetched, using comma-separated
AttributeLists (@attr 1=title 2=0 3=0, @attr 1=author 2=0 3=0)

New command:
facets: shows the facets results

13 years agoZOOM Facet API implementation
Dennis Schafroth [Tue, 20 Jul 2010 16:05:13 +0000 (18:05 +0200)]
ZOOM Facet API implementation

Implemented the facet API.

13 years agoFix:
Dennis Schafroth [Tue, 20 Jul 2010 16:02:57 +0000 (18:02 +0200)]
Fix:
The facets_field variable was a pointer too much.
Also not conditional on the ZOOM_RESULT_LIST representation.

Add:
Variables to hold numbers of facets_fields and the array of facets names.

13 years agoFix: use the given OtherInformation. Also set the term when creating the Z_Term
Dennis Schafroth [Tue, 20 Jul 2010 16:01:52 +0000 (18:01 +0200)]
Fix: use the given OtherInformation. Also set the term when creating the Z_Term

13 years agoZOOM Facet API changes
Dennis Schafroth [Tue, 20 Jul 2010 15:56:59 +0000 (17:56 +0200)]
ZOOM Facet API changes

ZOOM_resultset_facets returns a CONST array for interating over all facets.

ZOOM_resultset_facets_names returns a constant array of names (char *)
of the available facets returned in the search.

13 years agoadded helper functions
Dennis Schafroth [Tue, 20 Jul 2010 15:56:17 +0000 (17:56 +0200)]
added helper functions

13 years agoUsing helper functions for facets
Dennis Schafroth [Tue, 20 Jul 2010 07:33:43 +0000 (09:33 +0200)]
Using helper functions for facets

13 years agoFix: set the correct num elements on parsing error
Dennis Schafroth [Tue, 20 Jul 2010 07:32:28 +0000 (09:32 +0200)]
Fix: set the correct num elements on parsing error

13 years agoHelper functions for Facets.
Dennis Schafroth [Tue, 20 Jul 2010 07:28:12 +0000 (09:28 +0200)]
Helper functions for Facets.

13 years agoHelper functions for Facets.
Dennis Schafroth [Tue, 20 Jul 2010 07:27:53 +0000 (09:27 +0200)]
Helper functions for Facets.

13 years agoAdd fake Facet list. Not yet working
Dennis Schafroth [Mon, 19 Jul 2010 15:25:28 +0000 (17:25 +0200)]
Add fake Facet list. Not yet working

13 years agoAdd facet structures
Dennis Schafroth [Mon, 19 Jul 2010 15:24:24 +0000 (17:24 +0200)]
Add facet structures

13 years agoAdd part of Facet API
Dennis Schafroth [Mon, 19 Jul 2010 15:23:27 +0000 (17:23 +0200)]
Add part of Facet API

13 years agoAdd yaz_parse_facet_list with helper functions
Dennis Schafroth [Mon, 19 Jul 2010 15:20:57 +0000 (17:20 +0200)]
Add yaz_parse_facet_list with helper functions

13 years agoAdd yaz_pqf_parse_facet_list
Dennis Schafroth [Mon, 19 Jul 2010 15:18:23 +0000 (17:18 +0200)]
Add yaz_pqf_parse_facet_list

13 years agoCosmetic
Dennis Schafroth [Mon, 19 Jul 2010 15:17:08 +0000 (17:17 +0200)]
Cosmetic

13 years agoAdd facets option
Dennis Schafroth [Mon, 19 Jul 2010 15:08:57 +0000 (17:08 +0200)]
Add facets option

13 years agoRefactor parsing of FacetList out (into pquery.c)
Dennis Schafroth [Mon, 19 Jul 2010 15:06:35 +0000 (17:06 +0200)]
Refactor parsing of FacetList out (into pquery.c)

Also need the parsing in the ZOOM API.

13 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

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

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

13 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

13 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

13 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

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

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

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

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

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

13 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

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

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

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

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

13 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

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

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

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

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

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

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

13 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

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

13 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

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

13 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

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

13 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

13 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

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

13 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

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

13 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}.

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

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

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

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

13 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

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

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

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

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

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

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

13 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

13 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

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