Adam Dickmeiss [Wed, 5 Apr 2006 02:11:44 +0000 (02:11 +0000)]
Renamed fileExtract to zebra_extract_file.. The new function returns
ZEBRA_RES.
Adam Dickmeiss [Wed, 5 Apr 2006 02:10:20 +0000 (02:10 +0000)]
Added ZEBRA_CHECK_HANDLE(zh) which returns ZEBRA_FAIL if handle is
NULL. This used in many of the public Zebra functions.
Adam Dickmeiss [Wed, 5 Apr 2006 02:03:33 +0000 (02:03 +0000)]
Added zebra15.cfg for t15
Adam Dickmeiss [Wed, 5 Apr 2006 02:02:36 +0000 (02:02 +0000)]
Remove mf_unlink_name
Adam Dickmeiss [Wed, 5 Apr 2006 02:01:21 +0000 (02:01 +0000)]
Added check for sys/wait.h
Adam Dickmeiss [Tue, 4 Apr 2006 00:10:09 +0000 (00:10 +0000)]
Doxygen comments
Adam Dickmeiss [Tue, 4 Apr 2006 00:09:51 +0000 (00:09 +0000)]
More consistent Doxygen comment usage
Adam Dickmeiss [Tue, 4 Apr 2006 00:09:00 +0000 (00:09 +0000)]
Don't exit in dir_open.
Adam Dickmeiss [Tue, 4 Apr 2006 00:03:27 +0000 (00:03 +0000)]
Added test which reproduces the error with shadow files being deleted
"too early.
Adam Dickmeiss [Tue, 4 Apr 2006 00:02:34 +0000 (00:02 +0000)]
For testlib programs argv[1] holds log level (if given). argv[2]
holds log format (if given). Also testlib start up routine deletes
(empties) the log file.
Adam Dickmeiss [Tue, 4 Apr 2006 00:00:18 +0000 (00:00 +0000)]
Fix the way we delete the shadow files after a "succesful" commit
operation. The problem with the exising code was that read-only
sessions (searches, etc) could "suddenly" miss the shadow files that
they read..
Adam Dickmeiss [Fri, 31 Mar 2006 16:02:56 +0000 (16:02 +0000)]
Missing tst function
Adam Dickmeiss [Fri, 31 Mar 2006 15:58:03 +0000 (15:58 +0000)]
Use GCC attribute warn_unsed_result for a few of the most important
API functions. This allows us to find places where errors are not
properly dealt with.
All testlib functions are prefixed with tl_.. They usually
return 1 for TRUE, 0 for FALSE .. And YAZ_CHECK functions are used
in virtually all tests now.
Adam Dickmeiss [Fri, 31 Mar 2006 08:51:26 +0000 (08:51 +0000)]
In zebra_register_open, only call zebraExplain_open if all previous
calls are succesful (ZEBRA_OK).
Adam Dickmeiss [Thu, 30 Mar 2006 18:00:51 +0000 (18:00 +0000)]
idzebra.m4 moved to sub directory m4
Adam Dickmeiss [Thu, 30 Mar 2006 09:52:15 +0000 (09:52 +0000)]
Add extra argument to zebraExplain_lookup_ord so that we can get
string based index back. Provide example of the printing of this
in rankstatic.c.
Adam Dickmeiss [Wed, 29 Mar 2006 10:43:23 +0000 (10:43 +0000)]
Fixup data1 tags which makes XML non-wellformed.. This effectively
but not elegantly fixes records produced by the grs.marc filter.
If a tag t is bad, it is changed to from <t> to <tag value="t">.
Adam Dickmeiss [Wed, 29 Mar 2006 08:38:45 +0000 (08:38 +0000)]
Fixed bug #549: Typo in makefile WRTP alvis filter
Adam Dickmeiss [Tue, 28 Mar 2006 17:03:55 +0000 (17:03 +0000)]
Move to automake 1.8/1.9
Adam Dickmeiss [Tue, 28 Mar 2006 12:39:07 +0000 (12:39 +0000)]
Allow no default.idx at all. Make zebra_maps_read_file public.
Adam Dickmeiss [Sun, 26 Mar 2006 14:17:01 +0000 (14:17 +0000)]
Get rid of unsed variable active in struct zebra_register.
Avoid use of exit in recindex functions.. Use ZEBRA_OK/ZEBRA_FAIL
signal instead.
Adam Dickmeiss [Sun, 26 Mar 2006 14:05:19 +0000 (14:05 +0000)]
Fix zebra_maps_open not to leak if default.idx cannot be found
Adam Dickmeiss [Sun, 26 Mar 2006 14:03:18 +0000 (14:03 +0000)]
Return error (0) rather than exit for bad dict header (magic)
Adam Dickmeiss [Sun, 26 Mar 2006 14:02:49 +0000 (14:02 +0000)]
Allow dict_close of 0 pointer
Adam Dickmeiss [Sat, 25 Mar 2006 21:18:09 +0000 (21:18 +0000)]
Fix logging of record type
Adam Dickmeiss [Sat, 25 Mar 2006 21:17:40 +0000 (21:17 +0000)]
Use grs.sgml rather than grs.xml in test t13
Adam Dickmeiss [Sat, 25 Mar 2006 15:34:07 +0000 (15:34 +0000)]
Using yaz/test.h. Test for zebra without config
Adam Dickmeiss [Sat, 25 Mar 2006 15:33:43 +0000 (15:33 +0000)]
Using yaz/test.h
Adam Dickmeiss [Sat, 25 Mar 2006 15:33:29 +0000 (15:33 +0000)]
Minor leak fixes - in case if zebra_register_open fail.
Adam Dickmeiss [Sat, 25 Mar 2006 10:06:55 +0000 (10:06 +0000)]
Make log_level static
Adam Dickmeiss [Fri, 24 Mar 2006 13:33:57 +0000 (13:33 +0000)]
Fix windows logging .. Call _locking repeatedly .. Becuase Windows gives up
locking after 10 seconds. Bug #529.
Adam Dickmeiss [Thu, 23 Mar 2006 20:40:31 +0000 (20:40 +0000)]
Make variable static rather than public
Adam Dickmeiss [Thu, 23 Mar 2006 20:38:00 +0000 (20:38 +0000)]
Added a few log calls in flock util
Adam Dickmeiss [Thu, 23 Mar 2006 17:50:17 +0000 (17:50 +0000)]
Minor
Adam Dickmeiss [Thu, 23 Mar 2006 17:32:03 +0000 (17:32 +0000)]
Refactor tests for WIN32/pthread
Adam Dickmeiss [Thu, 23 Mar 2006 12:07:12 +0000 (12:07 +0000)]
WIN32 flock test
Adam Dickmeiss [Thu, 23 Mar 2006 12:06:37 +0000 (12:06 +0000)]
Export flock functions
Adam Dickmeiss [Thu, 23 Mar 2006 09:15:24 +0000 (09:15 +0000)]
Moved file locking utilities from index/lockutil.c to util/flock.c
and definitions in include/idzebra/flock.h.
Adam Dickmeiss [Thu, 23 Mar 2006 09:13:47 +0000 (09:13 +0000)]
More interesting case using recordId
Adam Dickmeiss [Tue, 21 Mar 2006 14:36:22 +0000 (14:36 +0000)]
Safari filter uses register type 0 (raw).
Mike Taylor [Mon, 20 Mar 2006 15:17:30 +0000 (15:17 +0000)]
Fix printf()-format mismatch error, %d/zint.
Mike Taylor [Mon, 20 Mar 2006 09:41:08 +0000 (09:41 +0000)]
List more required packages.
Mike Taylor [Mon, 20 Mar 2006 09:30:13 +0000 (09:30 +0000)]
Documentation only.
Mike Taylor [Mon, 13 Mar 2006 17:42:09 +0000 (17:42 +0000)]
zebra_register_open() now fails if zebra_maps_open() returns a null pointer.
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.
Mike Taylor [Wed, 8 Mar 2006 10:47:37 +0000 (10:47 +0000)]
Comments on ZeeRex.
Remove extraneous vertical space in <screen> sections.
Marc Cromme [Sat, 4 Mar 2006 21:39:20 +0000 (21:39 +0000)]
added additional explanations on record aupdate parameters
Marc Cromme [Sat, 4 Mar 2006 21:07:57 +0000 (21:07 +0000)]
added seb's nice PHP extended service code snippet
Adam Dickmeiss [Thu, 23 Feb 2006 14:43:13 +0000 (14:43 +0000)]
Add the wonderful _CRT_SECURE_NO_DEPRECATE
Adam Dickmeiss [Thu, 23 Feb 2006 14:41:15 +0000 (14:41 +0000)]
Enable xslt+alvis only if libxslt is present.
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.
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.
Adam Dickmeiss [Tue, 21 Feb 2006 15:23:11 +0000 (15:23 +0000)]
Ensure zebra_start fails if bad .cfg is passed.
Marc Cromme [Tue, 21 Feb 2006 14:54:25 +0000 (14:54 +0000)]
added more text on GRS and Alvis filters
Adam Dickmeiss [Mon, 20 Feb 2006 18:40:23 +0000 (18:40 +0000)]
Make proper flag for memory read(raw_reading) and file reading
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.
Adam Dickmeiss [Mon, 20 Feb 2006 18:33:09 +0000 (18:33 +0000)]
More testing of iscz1_{de,en}code
Adam Dickmeiss [Mon, 20 Feb 2006 12:41:42 +0000 (12:41 +0000)]
Fixed bug #472: dumpdict is broken.
Adam Dickmeiss [Mon, 20 Feb 2006 12:38:42 +0000 (12:38 +0000)]
Handle unknown register type in zebra_term_untrans
Adam Dickmeiss [Mon, 20 Feb 2006 07:13:31 +0000 (07:13 +0000)]
Fix HTMLFILES again. Avoid dependency on zebra.xml.
Adam Dickmeiss [Sun, 19 Feb 2006 15:10:04 +0000 (15:10 +0000)]
Update HTMLFILES to fix 'make dist'
Marc Cromme [Fri, 17 Feb 2006 14:06:06 +0000 (14:06 +0000)]
added Alvis XSLT indexing example where one indexes OAI harvested records
Marc Cromme [Thu, 16 Feb 2006 16:50:18 +0000 (16:50 +0000)]
more info, some SRU examples, etc ..
Marc Cromme [Thu, 16 Feb 2006 15:17:21 +0000 (15:17 +0000)]
sorted authors
Marc Cromme [Thu, 16 Feb 2006 15:13:25 +0000 (15:13 +0000)]
added section on extended services update, delete, insert through yaz-client
Marc Cromme [Thu, 16 Feb 2006 14:45:51 +0000 (14:45 +0000)]
more info added
Mike Taylor [Thu, 16 Feb 2006 13:27:18 +0000 (13:27 +0000)]
SRU service description complete.
Marc Cromme [Thu, 16 Feb 2006 12:32:31 +0000 (12:32 +0000)]
added new generated html files to makesystem
Mike Taylor [Thu, 16 Feb 2006 12:28:52 +0000 (12:28 +0000)]
Rolling.
Mike Taylor [Thu, 16 Feb 2006 10:43:15 +0000 (10:43 +0000)]
New
Mike Taylor [Wed, 15 Feb 2006 17:00:55 +0000 (17:00 +0000)]
New
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.)
Mike Taylor [Wed, 15 Feb 2006 16:54:36 +0000 (16:54 +0000)]
Invocation explained.
Marc Cromme [Wed, 15 Feb 2006 14:57:48 +0000 (14:57 +0000)]
added sections on alvis filter configuration, not finished yet
Marc Cromme [Wed, 15 Feb 2006 12:08:47 +0000 (12:08 +0000)]
added section on static and dynamic ranking
Mike Taylor [Wed, 15 Feb 2006 11:16:22 +0000 (11:16 +0000)]
New IDs.
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
Mike Taylor [Wed, 15 Feb 2006 10:58:01 +0000 (10:58 +0000)]
New chapter on SRU support.
Mike Taylor [Wed, 15 Feb 2006 10:57:42 +0000 (10:57 +0000)]
Copyright date to 2006.
Adam Dickmeiss [Fri, 10 Feb 2006 15:19:55 +0000 (15:19 +0000)]
Fixed bug #465: Dup fields in ISO2709 in retrieval
Adam Dickmeiss [Thu, 9 Feb 2006 09:20:23 +0000 (09:20 +0000)]
Update win makefile with new objects
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.
Adam Dickmeiss [Thu, 9 Feb 2006 08:42:55 +0000 (08:42 +0000)]
Work around bug #461: Link failure - missing Tcl symbols
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.
Adam Dickmeiss [Wed, 8 Feb 2006 13:45:44 +0000 (13:45 +0000)]
Fixed bug #462: recordId: (set,use) is picky
Adam Dickmeiss [Tue, 7 Feb 2006 00:17:44 +0000 (00:17 +0000)]
Fix dfa_match_first to avoid match past nul byte
Adam Dickmeiss [Mon, 6 Feb 2006 23:22:28 +0000 (23:22 +0000)]
Fix for bug 460
Adam Dickmeiss [Mon, 6 Feb 2006 23:21:49 +0000 (23:21 +0000)]
Added test for bug #460
Adam Dickmeiss [Mon, 6 Feb 2006 13:34:13 +0000 (13:34 +0000)]
Dont index attributes. Bug #460
Adam Dickmeiss [Thu, 26 Jan 2006 22:17:16 +0000 (22:17 +0000)]
Fix non-init member sortSpec (introduced by previous commit)
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).
Adam Dickmeiss [Mon, 23 Jan 2006 07:04:34 +0000 (07:04 +0000)]
Remove unused html files
Adam Dickmeiss [Sun, 22 Jan 2006 00:24:10 +0000 (00:24 +0000)]
Fixed 'make dist' by including all HTML files in HTMLFILES.
Adam Dickmeiss [Thu, 19 Jan 2006 13:31:08 +0000 (13:31 +0000)]
Fixed bug #451: Sorted result set disappears .. NEW BEHAVIOR
Adam Dickmeiss [Thu, 19 Jan 2006 13:30:02 +0000 (13:30 +0000)]
Removed unneded initializer
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
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.
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.
Marc Cromme [Tue, 17 Jan 2006 13:03:34 +0000 (13:03 +0000)]
added sentence on sever side CQL parsing
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