idzebra-moved-to-github.git
18 years agoThe static function zebra_map_read() now takes an additional boolean
Mike Taylor [Mon, 13 Mar 2006 17:40:28 +0000 (17:40 +0000)]
The static function zebra_map_read() now takes an additional boolean
argument indicating whether it should fail fatally if a
reqeusted file is absent.
zebra_map_read() now has a return value: 0 if OK, -1 on failure.
zebra_maps_open() now returns a null pointer on fatal error.

18 years agoComments on ZeeRex.
Mike Taylor [Wed, 8 Mar 2006 10:47:37 +0000 (10:47 +0000)]
Comments on ZeeRex.
Remove extraneous vertical space in <screen> sections.

18 years agoadded additional explanations on record aupdate parameters
Marc Cromme [Sat, 4 Mar 2006 21:39:20 +0000 (21:39 +0000)]
added additional explanations on record aupdate parameters

18 years agoadded seb's nice PHP extended service code snippet
Marc Cromme [Sat, 4 Mar 2006 21:07:57 +0000 (21:07 +0000)]
added seb's nice PHP extended service code snippet

18 years agoAdd the wonderful _CRT_SECURE_NO_DEPRECATE
Adam Dickmeiss [Thu, 23 Feb 2006 14:43:13 +0000 (14:43 +0000)]
Add the wonderful _CRT_SECURE_NO_DEPRECATE

18 years agoEnable xslt+alvis only if libxslt is present.
Adam Dickmeiss [Thu, 23 Feb 2006 14:41:15 +0000 (14:41 +0000)]
Enable xslt+alvis only if libxslt is present.

18 years agoFixup test, due to Zebra returning unsupported use attribute for
Adam Dickmeiss [Thu, 23 Feb 2006 11:26:00 +0000 (11:26 +0000)]
Fixup test, due to Zebra returning unsupported use attribute for
string attribute values.

18 years agoatt_getentbyatt returns "bad use attribtute" if string attribute is
Adam Dickmeiss [Wed, 22 Feb 2006 08:42:16 +0000 (08:42 +0000)]
att_getentbyatt returns "bad use attribtute" if string attribute is
used. Returns "bad attribute set" as before if numeric attribute is given.

18 years agoEnsure zebra_start fails if bad .cfg is passed.
Adam Dickmeiss [Tue, 21 Feb 2006 15:23:11 +0000 (15:23 +0000)]
Ensure zebra_start fails if bad .cfg is passed.

18 years agoadded more text on GRS and Alvis filters
Marc Cromme [Tue, 21 Feb 2006 14:54:25 +0000 (14:54 +0000)]
added more text on GRS and Alvis filters

18 years agoMake proper flag for memory read(raw_reading) and file reading
Adam Dickmeiss [Mon, 20 Feb 2006 18:40:23 +0000 (18:40 +0000)]
Make proper flag for memory read(raw_reading) and file reading

18 years agoHandle negative staticranks returned by filters.. Issue warning and
Adam Dickmeiss [Mon, 20 Feb 2006 18:39:43 +0000 (18:39 +0000)]
Handle negative staticranks returned by filters.. Issue warning and
set to zero.

18 years agoMore testing of iscz1_{de,en}code
Adam Dickmeiss [Mon, 20 Feb 2006 18:33:09 +0000 (18:33 +0000)]
More testing of iscz1_{de,en}code

18 years agoFixed bug #472: dumpdict is broken.
Adam Dickmeiss [Mon, 20 Feb 2006 12:41:42 +0000 (12:41 +0000)]
Fixed bug #472: dumpdict is broken.

18 years agoHandle unknown register type in zebra_term_untrans
Adam Dickmeiss [Mon, 20 Feb 2006 12:38:42 +0000 (12:38 +0000)]
Handle unknown register type in zebra_term_untrans

18 years agoFix HTMLFILES again. Avoid dependency on zebra.xml.
Adam Dickmeiss [Mon, 20 Feb 2006 07:13:31 +0000 (07:13 +0000)]
Fix HTMLFILES again. Avoid dependency on zebra.xml.

18 years agoUpdate HTMLFILES to fix 'make dist'
Adam Dickmeiss [Sun, 19 Feb 2006 15:10:04 +0000 (15:10 +0000)]
Update HTMLFILES to fix 'make dist'

18 years agoadded Alvis XSLT indexing example where one indexes OAI harvested records
Marc Cromme [Fri, 17 Feb 2006 14:06:06 +0000 (14:06 +0000)]
added Alvis XSLT indexing example where one indexes OAI harvested records

18 years agomore info, some SRU examples, etc ..
Marc Cromme [Thu, 16 Feb 2006 16:50:18 +0000 (16:50 +0000)]
more info, some SRU examples, etc ..

18 years agosorted authors
Marc Cromme [Thu, 16 Feb 2006 15:17:21 +0000 (15:17 +0000)]
sorted authors

18 years agoadded section on extended services update, delete, insert through yaz-client
Marc Cromme [Thu, 16 Feb 2006 15:13:25 +0000 (15:13 +0000)]
added section on extended services update, delete, insert through yaz-client

18 years agomore info added
Marc Cromme [Thu, 16 Feb 2006 14:45:51 +0000 (14:45 +0000)]
more info added

18 years agoSRU service description complete.
Mike Taylor [Thu, 16 Feb 2006 13:27:18 +0000 (13:27 +0000)]
SRU service description complete.

18 years agoadded new generated html files to makesystem
Marc Cromme [Thu, 16 Feb 2006 12:32:31 +0000 (12:32 +0000)]
added new generated html files to makesystem

18 years agoRolling.
Mike Taylor [Thu, 16 Feb 2006 12:28:52 +0000 (12:28 +0000)]
Rolling.

18 years agoNew
Mike Taylor [Thu, 16 Feb 2006 10:43:15 +0000 (10:43 +0000)]
New

18 years agoNew
Mike Taylor [Wed, 15 Feb 2006 17:00:55 +0000 (17:00 +0000)]
New

18 years agoNew, copied from CVSROOT/yaz/etc/pqf.properties
Mike Taylor [Wed, 15 Feb 2006 17:00:39 +0000 (17:00 +0000)]
New, copied from CVSROOT/yaz/etc/pqf.properties
(Zebra arguably needs a copy now, so that it can use it for its CQL
support when specified in the GFS configuration file.  Zebra can only
be built when YAZ is present, true, but one can imagine a binary-only
installation of Zebra that includes statically linked YAZ libraries
and no YAZ configuration files.)

18 years agoInvocation explained.
Mike Taylor [Wed, 15 Feb 2006 16:54:36 +0000 (16:54 +0000)]
Invocation explained.

18 years agoadded sections on alvis filter configuration, not finished yet
Marc Cromme [Wed, 15 Feb 2006 14:57:48 +0000 (14:57 +0000)]
added sections on alvis filter configuration, not finished yet

18 years agoadded section on static and dynamic ranking
Marc Cromme [Wed, 15 Feb 2006 12:08:47 +0000 (12:08 +0000)]
added section on static and dynamic ranking

18 years agoNew IDs.
Mike Taylor [Wed, 15 Feb 2006 11:16:22 +0000 (11:16 +0000)]
New IDs.

18 years agoadded chaper on alvisxslt recordmodel
Marc Cromme [Wed, 15 Feb 2006 11:07:47 +0000 (11:07 +0000)]
added chaper on alvisxslt recordmodel
buildsystem fails on zebra.pdf, therefore removed from build for a while

18 years agoNew chapter on SRU support.
Mike Taylor [Wed, 15 Feb 2006 10:58:01 +0000 (10:58 +0000)]
New chapter on SRU support.

18 years agoCopyright date to 2006.
Mike Taylor [Wed, 15 Feb 2006 10:57:42 +0000 (10:57 +0000)]
Copyright date to 2006.

18 years agoFixed bug #465: Dup fields in ISO2709 in retrieval
Adam Dickmeiss [Fri, 10 Feb 2006 15:19:55 +0000 (15:19 +0000)]
Fixed bug #465: Dup fields in ISO2709 in retrieval

18 years agoUpdate win makefile with new objects
Adam Dickmeiss [Thu, 9 Feb 2006 09:20:23 +0000 (09:20 +0000)]
Update win makefile with new objects

18 years agoLoosen the Libxml2/xslt version requirement. We require libxslt 1.1.11
Adam Dickmeiss [Thu, 9 Feb 2006 08:55:36 +0000 (08:55 +0000)]
Loosen the Libxml2/xslt version requirement. We require libxslt 1.1.11
or later (rather than 1.1.12 or later). Thus the xslt filter can
be used on the stock libxml2 on Mac OS X Tiger.

18 years agoWork around bug #461: Link failure - missing Tcl symbols
Adam Dickmeiss [Thu, 9 Feb 2006 08:42:55 +0000 (08:42 +0000)]
Work around bug #461: Link failure - missing Tcl symbols

18 years agoFixed bug #447: Zebra aborts with "isamb: Inconsistent register".
Adam Dickmeiss [Thu, 9 Feb 2006 08:31:02 +0000 (08:31 +0000)]
Fixed bug #447: Zebra aborts with "isamb: Inconsistent register".
This fixes zebra_drop_database. We put a prefix in front of each
dictionary entry in the matchDict and are then able to delete the
whole subtree when database is dropped.

18 years agoFixed bug #462: recordId: (set,use) is picky
Adam Dickmeiss [Wed, 8 Feb 2006 13:45:44 +0000 (13:45 +0000)]
Fixed bug #462: recordId: (set,use) is picky

18 years agoFix dfa_match_first to avoid match past nul byte
Adam Dickmeiss [Tue, 7 Feb 2006 00:17:44 +0000 (00:17 +0000)]
Fix dfa_match_first to avoid match past nul byte

18 years agoFix for bug 460
Adam Dickmeiss [Mon, 6 Feb 2006 23:22:28 +0000 (23:22 +0000)]
Fix for bug 460

18 years agoAdded test for bug #460
Adam Dickmeiss [Mon, 6 Feb 2006 23:21:49 +0000 (23:21 +0000)]
Added test for bug #460

18 years agoDont index attributes. Bug #460
Adam Dickmeiss [Mon, 6 Feb 2006 13:34:13 +0000 (13:34 +0000)]
Dont index attributes. Bug #460

18 years agoFix non-init member sortSpec (introduced by previous commit)
Adam Dickmeiss [Thu, 26 Jan 2006 22:17:16 +0000 (22:17 +0000)]
Fix non-init member sortSpec (introduced by previous commit)

18 years agoRemoved zebra.xml from XMLFILES (was added in 1.30). If it is present
Adam Dickmeiss [Mon, 23 Jan 2006 13:59:48 +0000 (13:59 +0000)]
Removed zebra.xml from XMLFILES (was added in 1.30). If it is present
documentation will have to be build on distribution dists (and we
don't want to require people to have jade installed).

18 years agoRemove unused html files
Adam Dickmeiss [Mon, 23 Jan 2006 07:04:34 +0000 (07:04 +0000)]
Remove unused html files

18 years agoFixed 'make dist' by including all HTML files in HTMLFILES.
Adam Dickmeiss [Sun, 22 Jan 2006 00:24:10 +0000 (00:24 +0000)]
Fixed 'make dist' by including all HTML files in HTMLFILES.

18 years agoFixed bug #451: Sorted result set disappears .. NEW BEHAVIOR
Adam Dickmeiss [Thu, 19 Jan 2006 13:31:08 +0000 (13:31 +0000)]
Fixed bug #451: Sorted result set disappears .. NEW BEHAVIOR

18 years agoRemoved unneded initializer
Adam Dickmeiss [Thu, 19 Jan 2006 13:30:02 +0000 (13:30 +0000)]
Removed unneded initializer

18 years agocorrected build error by including changes in zenra.xml.in, not in zebra.xml file
Marc Cromme [Thu, 19 Jan 2006 09:26:59 +0000 (09:26 +0000)]
corrected build error by including changes in zenra.xml.in, not in zebra.xml file

18 years agostarted re-modelling documentation to be less Z39.50- centric, GRS-centric and BIB1...
Marc Cromme [Wed, 18 Jan 2006 14:00:54 +0000 (14:00 +0000)]
started re-modelling documentation to be less Z39.50- centric, GRS-centric and BIB1-centric
added general chapter on architecture, describing different record models (TEXT, GRS, ALVIS XML/DOM), which is not finished at all.

18 years agocorrected bug in disthook rule which always wrote "zebraidx.html not found in HTMLFI...
Marc Cromme [Tue, 17 Jan 2006 21:26:43 +0000 (21:26 +0000)]
corrected bug in disthook rule which always wrote "zebraidx.html  not found in HTMLFILES", even if other files where missing. Added new installation.debian.html to HTMLFILES to prevent make dist fail.

18 years agoadded sentence on sever side CQL parsing
Marc Cromme [Tue, 17 Jan 2006 13:03:34 +0000 (13:03 +0000)]
added sentence on sever side CQL parsing

18 years agoall URL's checked, and updated our commented when no active URL was found.
Marc Cromme [Tue, 17 Jan 2006 13:00:02 +0000 (13:00 +0000)]
all URL's checked, and updated our commented when no active URL was found.
Added paragraph on SRW/SRU and ALVIX XSLT filter

18 years agotaken dead Redhat 7.X URL package links out
Marc Cromme [Tue, 17 Jan 2006 12:16:12 +0000 (12:16 +0000)]
taken dead Redhat 7.X URL package links out

18 years agoadded section on GNU/Debian Linux installation
Marc Cromme [Tue, 17 Jan 2006 12:06:53 +0000 (12:06 +0000)]
added section on GNU/Debian Linux installation

18 years agoFixed bug #451: Sorted result set disappears after update
Adam Dickmeiss [Thu, 12 Jan 2006 13:21:45 +0000 (13:21 +0000)]
Fixed bug #451: Sorted result set disappears after update

18 years agoAdded a test case for bug #447
Adam Dickmeiss [Thu, 15 Dec 2005 13:28:46 +0000 (13:28 +0000)]
Added a test case for bug #447

18 years agoAdded a test utility marcos TL_ASSERT, TL_ASSERT2
Adam Dickmeiss [Thu, 15 Dec 2005 13:28:32 +0000 (13:28 +0000)]
Added a test utility marcos TL_ASSERT, TL_ASSERT2

18 years agoIgnore generated file "out"
Mike Taylor [Wed, 14 Dec 2005 10:28:25 +0000 (10:28 +0000)]
Ignore generated file "out"

18 years agoMoved out of the Zebra archive, and into ZOOM-Perl, as these
Mike Taylor [Wed, 14 Dec 2005 09:05:43 +0000 (09:05 +0000)]
Moved out of the Zebra archive, and into ZOOM-Perl, as these
files are not really part of the GILS example but part of the
ZOOM-Perl test-suite.

18 years agoStore unique ordinal integer for database. This is to begin solving
Adam Dickmeiss [Tue, 13 Dec 2005 13:47:35 +0000 (13:47 +0000)]
Store unique ordinal integer for database. This is to begin solving
problem with drop and record IDs. Bug #447.

18 years agoadded alvis filter to debian package mechanism
Marc Cromme [Tue, 13 Dec 2005 09:24:36 +0000 (09:24 +0000)]
added alvis filter to debian package mechanism

18 years agoUse isam:b so that the "drop" extended service works.
Mike Taylor [Mon, 12 Dec 2005 17:24:49 +0000 (17:24 +0000)]
Use isam:b so that the "drop" extended service works.

18 years agoRemoved zebra_clearError. The scheme is meant to be .. Return
Adam Dickmeiss [Fri, 9 Dec 2005 11:33:32 +0000 (11:33 +0000)]
Removed zebra_clearError. The scheme is meant to be .. Return
ZEBRA_FAIL on failure. Only then it is meaningful to check for error code.
It is therefore no longer necessary to clear it (reset it).

18 years agoDrop database returns diagnostif if isam is not isam:b
Adam Dickmeiss [Fri, 9 Dec 2005 10:56:59 +0000 (10:56 +0000)]
Drop database returns diagnostif if isam is not isam:b

18 years agoFix bad printing of sysno
Adam Dickmeiss [Fri, 9 Dec 2005 10:49:10 +0000 (10:49 +0000)]
Fix bad printing of sysno

18 years agoFor buffer_extract_sysno, match criteria is only used if SYSNO pointer
Adam Dickmeiss [Fri, 9 Dec 2005 10:45:04 +0000 (10:45 +0000)]
For buffer_extract_sysno, match criteria is only used if SYSNO pointer
is NULL. If sysno is non-NULL, that sysno is used. This should make
record update with opaque record ID work in a consistent manner.

18 years agoDon't use recordId.
Mike Taylor [Fri, 9 Dec 2005 10:14:52 +0000 (10:14 +0000)]
Don't use recordId.

18 years agoThis member was not initialized in some cases (valgrind)
Adam Dickmeiss [Thu, 8 Dec 2005 11:10:03 +0000 (11:10 +0000)]
This member was not initialized in some cases (valgrind)

18 years agoFixed bug #446: iso2709 filter SEGVs on bad input data.
Adam Dickmeiss [Thu, 8 Dec 2005 11:06:49 +0000 (11:06 +0000)]
Fixed bug #446: iso2709 filter SEGVs on bad input data.

18 years agoSomewhat improved diagnostics for update with opaque record ID
Adam Dickmeiss [Wed, 7 Dec 2005 17:00:46 +0000 (17:00 +0000)]
Somewhat improved diagnostics for update with opaque record ID

18 years agoNew
Mike Taylor [Wed, 7 Dec 2005 15:32:34 +0000 (15:32 +0000)]
New

18 years agoAvoid stmt/var declare. Omit useless static keyword
Adam Dickmeiss [Tue, 6 Dec 2005 15:36:38 +0000 (15:36 +0000)]
Avoid stmt/var declare. Omit useless static keyword

18 years agoadded grs node construction - not finished yet
Marc Cromme [Mon, 5 Dec 2005 13:58:52 +0000 (13:58 +0000)]
added grs node construction - not finished yet

18 years agoadded first version of CSV GRS filter
Marc Cromme [Mon, 5 Dec 2005 12:18:40 +0000 (12:18 +0000)]
added first version of CSV GRS filter
still missing is
- build of GRS data1 node tree to be given to indexer
- control of how to call back zebra such that each record per line gets indexed
  on it's own
- configuration file reading and config parameter passing

18 years agoAllow string value v in @attr 10=v for SearchResult-1 reference
Adam Dickmeiss [Tue, 29 Nov 2005 11:38:34 +0000 (11:38 +0000)]
Allow string value v in @attr 10=v for SearchResult-1 reference

18 years agoDisable limit debugging
Adam Dickmeiss [Tue, 29 Nov 2005 09:37:04 +0000 (09:37 +0000)]
Disable limit debugging

18 years agoFix grs.sgml to use off_t rather than int for file offsets
Adam Dickmeiss [Wed, 16 Nov 2005 04:33:22 +0000 (04:33 +0000)]
Fix grs.sgml to use off_t rather than int for file offsets

18 years agoAllow updates on empty records.
Adam Dickmeiss [Thu, 10 Nov 2005 11:25:47 +0000 (11:25 +0000)]
Allow updates on empty records.

18 years agoHandle zh==NULL in print_dict_item
Adam Dickmeiss [Thu, 10 Nov 2005 11:25:13 +0000 (11:25 +0000)]
Handle zh==NULL in print_dict_item

18 years agoAdded a test for bug #432
Adam Dickmeiss [Thu, 10 Nov 2005 08:08:19 +0000 (08:08 +0000)]
Added a test for bug #432

18 years agoLog test errors to yaz_log so ease trace of automated tests
Adam Dickmeiss [Wed, 9 Nov 2005 12:01:09 +0000 (12:01 +0000)]
Log test errors to yaz_log so ease trace of automated tests

18 years agoRegister no longer uses register type prefix (REG_TYPE_PREFIX).
Adam Dickmeiss [Wed, 9 Nov 2005 11:51:29 +0000 (11:51 +0000)]
Register no longer uses register type prefix (REG_TYPE_PREFIX).
Try to avoid dup keys for filters (bug #432).

18 years agoRename argument to zebra_rec_keys_set_buf
Adam Dickmeiss [Wed, 9 Nov 2005 08:27:28 +0000 (08:27 +0000)]
Rename argument to zebra_rec_keys_set_buf

18 years agoAdded test for bug #431
Adam Dickmeiss [Wed, 9 Nov 2005 08:09:44 +0000 (08:09 +0000)]
Added test for bug #431

18 years agoZebra reads (non-standard) attribute 10 for RPN queries. The value, when
Adam Dickmeiss [Wed, 2 Nov 2005 11:43:26 +0000 (11:43 +0000)]
Zebra reads (non-standard) attribute 10 for RPN queries. The value, when
specified, is returned as subqueryId in SearchResult-1. If unspecified
subqueryId is omitted in SearchResult-1.

18 years agoAdded note about the agrep algorithm used
Adam Dickmeiss [Tue, 1 Nov 2005 10:16:08 +0000 (10:16 +0000)]
Added note about the agrep algorithm used

18 years agoOne more debug msg in limit code
Adam Dickmeiss [Sun, 30 Oct 2005 22:52:37 +0000 (22:52 +0000)]
One more debug msg in limit code

18 years agoPrint info about limit filter progress if ZEBRA_LIMIT_DEBUG=1.
Adam Dickmeiss [Sun, 30 Oct 2005 22:31:28 +0000 (22:31 +0000)]
Print info about limit filter progress if ZEBRA_LIMIT_DEBUG=1.

18 years agoUsing zebra_rec_keys for per-record key store
Adam Dickmeiss [Fri, 28 Oct 2005 09:22:50 +0000 (09:22 +0000)]
Using zebra_rec_keys for per-record key store

18 years agoFix leak for rset_key_control
Adam Dickmeiss [Fri, 28 Oct 2005 07:25:30 +0000 (07:25 +0000)]
Fix leak for rset_key_control

18 years agoUse xsl:element for document element to prevent ns
Adam Dickmeiss [Thu, 27 Oct 2005 20:06:58 +0000 (20:06 +0000)]
Use xsl:element for document element to prevent ns

18 years agoTests for identical keys in ISAMB
Adam Dickmeiss [Thu, 27 Oct 2005 09:09:52 +0000 (09:09 +0000)]
Tests for identical keys in ISAMB

18 years agoIndentation
Adam Dickmeiss [Thu, 27 Oct 2005 08:49:29 +0000 (08:49 +0000)]
Indentation

18 years agoFixed bug #415: Strange truncation behavior
Adam Dickmeiss [Sat, 22 Oct 2005 17:32:09 +0000 (17:32 +0000)]
Fixed bug #415: Strange truncation behavior

18 years agoFix dbaccesslist not being initialized (when no auth is used)
Adam Dickmeiss [Fri, 21 Oct 2005 18:29:04 +0000 (18:29 +0000)]
Fix dbaccesslist not being initialized (when no auth is used)

18 years agoAdded database subscription feature. Description in NEWS and doc
Sebastian Hammer [Thu, 20 Oct 2005 18:28:10 +0000 (18:28 +0000)]
Added database subscription feature. Description in NEWS and doc