idzebra-moved-to-github.git
19 years agoFix path
Adam Dickmeiss [Fri, 7 Jan 2005 14:21:14 +0000 (14:21 +0000)]
Fix path

19 years agoFixed bug #245: Time for getting records changes a lot based on record
Adam Dickmeiss [Fri, 7 Jan 2005 14:06:16 +0000 (14:06 +0000)]
Fixed bug #245: Time for getting records changes a lot based on record
position. We can prevent a rewind if new position is greater
than old position, so sequences like p,p+1,p+2,p+3,... will work
in constant time.

19 years agoAdd chop arg to get_data (may break Olegs last patch)
Adam Dickmeiss [Fri, 7 Jan 2005 14:00:24 +0000 (14:00 +0000)]
Add chop arg to get_data (may break Olegs last patch)

19 years agoAdded a comment in rsisamb
Heikki Levanto [Fri, 17 Dec 2004 13:43:09 +0000 (13:43 +0000)]
Added a comment in rsisamb

19 years agoAdded attribute handling, I had forgotten to backport that part of it.
Heikki Levanto [Fri, 17 Dec 2004 11:38:18 +0000 (11:38 +0000)]
Added attribute handling, I had forgotten to backport that part of it.

19 years agoAdded a better test for attributes
Heikki Levanto [Fri, 17 Dec 2004 11:25:33 +0000 (11:25 +0000)]
Added a better test for attributes

19 years agoBack-ported the rsbetween from zebra 1.4
Heikki Levanto [Thu, 16 Dec 2004 19:11:41 +0000 (19:11 +0000)]
Back-ported the rsbetween from zebra 1.4
Still quite ugly, but seems to work

19 years agoFixed wrong message when getting bad number of hits
Heikki Levanto [Thu, 16 Dec 2004 16:28:18 +0000 (16:28 +0000)]
Fixed wrong message when getting bad number of hits

19 years agoFixed bug #232
Adam Dickmeiss [Tue, 7 Dec 2004 20:05:17 +0000 (20:05 +0000)]
Fixed bug #232

19 years agoFixed bug #217: lost indicator in linked fields of RUSMARC record.
oleg [Tue, 30 Nov 2004 16:39:42 +0000 (16:39 +0000)]
Fixed bug #217: lost indicator in linked fields of RUSMARC record.
Fixed bug #224: Bug in RUSMARC record indexing of fixed position in field/subfield.

19 years agoFixed bug #218: if a certain element/attrirbute doesn not appear..
Adam Dickmeiss [Fri, 26 Nov 2004 12:20:32 +0000 (12:20 +0000)]
Fixed bug #218: if a certain element/attrirbute doesn not appear..

19 years agoUpdates for YAZ 2.0.29: Include yaz/log.h. Not (only) yaz/yaz-util.h
Adam Dickmeiss [Fri, 26 Nov 2004 11:06:12 +0000 (11:06 +0000)]
Updates for YAZ 2.0.29: Include yaz/log.h. Not (only) yaz/yaz-util.h

19 years agoFix use of dict_lookup_grep
Adam Dickmeiss [Mon, 15 Nov 2004 22:52:48 +0000 (22:52 +0000)]
Fix use of dict_lookup_grep

19 years agoFix bug #171. Change logging a bit
Adam Dickmeiss [Mon, 15 Nov 2004 21:53:45 +0000 (21:53 +0000)]
Fix bug #171. Change logging a bit

19 years agoChange logging a bit
Adam Dickmeiss [Mon, 15 Nov 2004 21:53:08 +0000 (21:53 +0000)]
Change logging a bit

20 years agoAvoid crash in ISAMB when isamb_pp_open gets ISAMB_POS = 0. In
Adam Dickmeiss [Wed, 10 Nov 2004 21:20:03 +0000 (21:20 +0000)]
Avoid crash in ISAMB when isamb_pp_open gets ISAMB_POS = 0. In
this case EOF (no entries) is signalled. It fixes problem with
terms being deleted. See bug #109.
For isamb, avoid a few ISAMB_DEBUG logs for NULL ISAMB_blocks.

20 years agoBump version to 1.3.19
Adam Dickmeiss [Wed, 10 Nov 2004 21:14:14 +0000 (21:14 +0000)]
Bump version to 1.3.19

20 years agoResetting occurrence counts in calc, so that the next record gets
Heikki Levanto [Thu, 4 Nov 2004 12:49:36 +0000 (12:49 +0000)]
Resetting occurrence counts in calc, so that the next record gets
a good zvrank. Thanks to Poroshin Vladimir for the bug report.

20 years agoFixed the ranking problem in xpath searches
Heikki Levanto [Wed, 27 Oct 2004 09:35:02 +0000 (09:35 +0000)]
Fixed the ranking problem in xpath searches

20 years agoFixed bug #187: Zebra not returning Valid XML.
Adam Dickmeiss [Wed, 20 Oct 2004 10:35:44 +0000 (10:35 +0000)]
Fixed bug #187: Zebra not returning Valid XML.

20 years agoEnabled retrieval of Zebra metadata in XML with element selection in effect
Sebastian Hammer [Tue, 12 Oct 2004 16:47:38 +0000 (16:47 +0000)]
Enabled retrieval of Zebra metadata in XML with element selection in effect

20 years agoFixed bug #169: Phrase term counts does not work. The bug exists in
Adam Dickmeiss [Tue, 5 Oct 2004 13:31:42 +0000 (13:31 +0000)]
Fixed bug #169: Phrase term counts does not work. The bug exists in
Zebra 1.3.16-1.3.18.

20 years agoDisable shadow, register settings
Adam Dickmeiss [Tue, 5 Oct 2004 13:26:27 +0000 (13:26 +0000)]
Disable shadow, register settings

20 years agoHandle bad est espec properly
Adam Dickmeiss [Tue, 5 Oct 2004 12:25:34 +0000 (12:25 +0000)]
Handle bad est espec properly

20 years agoFix bug 154: Option -n does not disable shadow as it should.
Adam Dickmeiss [Sun, 26 Sep 2004 20:49:02 +0000 (20:49 +0000)]
Fix bug 154: Option -n does not disable shadow as it should.

20 years agoThis had been changed by mistake
Sebastian Hammer [Fri, 17 Sep 2004 18:24:18 +0000 (18:24 +0000)]
This had been changed by mistake

20 years agoRemove Id from header due to inconvenient diffs when yaz.m4 is copied
Adam Dickmeiss [Fri, 17 Sep 2004 08:45:10 +0000 (08:45 +0000)]
Remove Id from header due to inconvenient diffs when yaz.m4 is copied

20 years agoUse --with-yaz for RPM build.
Adam Dickmeiss [Thu, 16 Sep 2004 18:37:09 +0000 (18:37 +0000)]
Use --with-yaz for RPM build.

20 years agoUpdates YAZ m4 macros.
Adam Dickmeiss [Thu, 16 Sep 2004 18:36:50 +0000 (18:36 +0000)]
Updates YAZ m4 macros.

20 years agoMention mechanism to ignore leading articles
Adam Dickmeiss [Thu, 16 Sep 2004 18:35:38 +0000 (18:35 +0000)]
Mention mechanism to ignore leading articles

20 years agoMerge from head the facility that removes leading articles.
Adam Dickmeiss [Thu, 16 Sep 2004 14:07:48 +0000 (14:07 +0000)]
Merge from head the facility that removes leading articles.

20 years agoAvoid using NULL bfs in zebra_init
Adam Dickmeiss [Thu, 9 Sep 2004 10:43:18 +0000 (10:43 +0000)]
Avoid using NULL bfs in zebra_init

20 years agoUse different check for existing Perl interpreter. Bug 128
Adam Dickmeiss [Mon, 6 Sep 2004 09:23:51 +0000 (09:23 +0000)]
Use different check for existing Perl interpreter. Bug 128

20 years agoDo not reuse Perl interpreter for Perl 5.8. Fix bug 128 really this time.
Adam Dickmeiss [Fri, 3 Sep 2004 10:36:26 +0000 (10:36 +0000)]
Do not reuse Perl interpreter for Perl 5.8. Fix bug 128 really this time.

20 years agoExtra check for running Perl interpreter. Fixes bug 128.
Adam Dickmeiss [Fri, 3 Sep 2004 09:31:21 +0000 (09:31 +0000)]
Extra check for running Perl interpreter. Fixes bug 128.

20 years agofixed harcoded html, pdf, and png and man install path in debian/rules such that...
Marc Cromme [Thu, 2 Sep 2004 08:31:58 +0000 (08:31 +0000)]
fixed harcoded html, pdf, and png and man install path in debian/rules such that debian packages build both from CVS and tarball

20 years agoAllow range to be specified in termlist, e.g. title:w:range(data,2,4)
Adam Dickmeiss [Tue, 24 Aug 2004 14:06:31 +0000 (14:06 +0000)]
Allow range to be specified in termlist, e.g. title:w:range(data,2,4)
which indexes 4 characters from position 2 in title.

20 years agoDo not delete DLLs for make clean ZEBRA.1.3.18
Adam Dickmeiss [Fri, 20 Aug 2004 12:32:19 +0000 (12:32 +0000)]
Do not delete DLLs for make clean

20 years agoSelect specific DLLs in Zebra WIN32 dist
Adam Dickmeiss [Fri, 20 Aug 2004 12:32:01 +0000 (12:32 +0000)]
Select specific DLLs in Zebra WIN32 dist

20 years agoTowards 1.3.18
Adam Dickmeiss [Fri, 20 Aug 2004 11:05:57 +0000 (11:05 +0000)]
Towards 1.3.18

20 years agoFiles .xsl + .dsl part of dist
Adam Dickmeiss [Thu, 19 Aug 2004 13:10:23 +0000 (13:10 +0000)]
Files .xsl + .dsl part of dist

20 years agoRules to make dist added
Adam Dickmeiss [Thu, 19 Aug 2004 12:51:43 +0000 (12:51 +0000)]
Rules to make dist added

20 years agoThe DLL msvcr71.dll is part of dist
Adam Dickmeiss [Thu, 19 Aug 2004 12:51:28 +0000 (12:51 +0000)]
The DLL msvcr71.dll is part of dist

20 years agoDont return value in void func
Adam Dickmeiss [Thu, 19 Aug 2004 12:39:29 +0000 (12:39 +0000)]
Dont return value in void func

20 years agoAdd to ignore
Adam Dickmeiss [Thu, 19 Aug 2004 11:51:49 +0000 (11:51 +0000)]
Add to ignore

20 years agoDocument bug fixes
Adam Dickmeiss [Thu, 19 Aug 2004 11:50:03 +0000 (11:50 +0000)]
Document bug fixes

20 years agoFix problem with leaf split
Adam Dickmeiss [Wed, 18 Aug 2004 19:58:12 +0000 (19:58 +0000)]
Fix problem with leaf split

20 years agoFix bug in rec_release_blocks that caused Zebra to halt.
Adam Dickmeiss [Wed, 18 Aug 2004 16:17:13 +0000 (16:17 +0000)]
Fix bug in rec_release_blocks that caused Zebra to halt.

20 years agoTowards 1.3.17 ZEBRA.1.3.17
Adam Dickmeiss [Tue, 17 Aug 2004 06:59:54 +0000 (06:59 +0000)]
Towards 1.3.17

20 years agoAdd IDZebra.i to dist
Adam Dickmeiss [Tue, 17 Aug 2004 06:56:18 +0000 (06:56 +0000)]
Add IDZebra.i to dist

20 years agoTowards 1.3.16 ZEBRA.1.3.16
Adam Dickmeiss [Mon, 16 Aug 2004 07:01:30 +0000 (07:01 +0000)]
Towards 1.3.16

20 years agoAdded facility to make attibutes in grs.regx and grs.tcl filters using the
Adam Dickmeiss [Sun, 15 Aug 2004 17:20:22 +0000 (17:20 +0000)]
Added facility to make attibutes in grs.regx and grs.tcl filters using the
data command with argument -attribute <name> . The contents of data is
the value of the attribute. This command should be used inside a
begin element , end element section.

20 years agoWarn if zebra_{insert,update,delete,record} fails
Adam Dickmeiss [Fri, 13 Aug 2004 09:56:29 +0000 (09:56 +0000)]
Warn if zebra_{insert,update,delete,record} fails

20 years agoAdded test t6
Adam Dickmeiss [Fri, 13 Aug 2004 09:55:29 +0000 (09:55 +0000)]
Added test t6

20 years agoFix truncation for isam:b for deleted words (which happen to have
Adam Dickmeiss [Wed, 11 Aug 2004 13:31:10 +0000 (13:31 +0000)]
Fix truncation for isam:b for deleted words (which happen to have
a 0 value).

20 years agoRemove log message
Adam Dickmeiss [Wed, 11 Aug 2004 13:26:29 +0000 (13:26 +0000)]
Remove log message

20 years agoUse other ordinal value for cut char to keep backwards compatible with 1.3.15
Adam Dickmeiss [Fri, 6 Aug 2004 10:08:19 +0000 (10:08 +0000)]
Use other ordinal value for cut char to keep backwards compatible with 1.3.15

20 years agoAnother fix for setting of CODEC_INLINE
Adam Dickmeiss [Fri, 6 Aug 2004 09:36:07 +0000 (09:36 +0000)]
Another fix for setting of CODEC_INLINE

20 years agoOnly use inline on GCC
Adam Dickmeiss [Fri, 6 Aug 2004 09:30:57 +0000 (09:30 +0000)]
Only use inline on GCC

20 years agoRevert
Adam Dickmeiss [Fri, 6 Aug 2004 09:26:17 +0000 (09:26 +0000)]
Revert

20 years agoMore comments
Adam Dickmeiss [Fri, 6 Aug 2004 09:24:38 +0000 (09:24 +0000)]
More comments

20 years agoConvert to NSIS2
Adam Dickmeiss [Fri, 6 Aug 2004 09:23:04 +0000 (09:23 +0000)]
Convert to NSIS2

20 years agoAdd danbibr.obj, rsprox.obj to makefile. Point to new iconv
Adam Dickmeiss [Fri, 6 Aug 2004 08:48:32 +0000 (08:48 +0000)]
Add danbibr.obj, rsprox.obj to makefile. Point to new iconv

20 years agoChanged the pos code to 64-bit clean. Still lots of stuff missing...
Heikki Levanto [Wed, 4 Aug 2004 09:59:03 +0000 (09:59 +0000)]
Changed the pos code to 64-bit clean. Still lots of stuff missing...

20 years agoRemove log message
Adam Dickmeiss [Wed, 4 Aug 2004 09:05:17 +0000 (09:05 +0000)]
Remove log message

20 years agoFix declaration - to make it backwards compatible
Adam Dickmeiss [Wed, 4 Aug 2004 09:00:00 +0000 (09:00 +0000)]
Fix declaration - to make it backwards compatible

20 years agoRemove isamd. It's not been in use for a long time and isamb is better
Adam Dickmeiss [Wed, 4 Aug 2004 08:35:22 +0000 (08:35 +0000)]
Remove isamd. It's not been in use for a long time and isamb is better
in most cases. Change SYSNO to be zint. Change pointers in isamc and isamb
to zint. Change block number in bfile/cfile to zint. zint is a long integer
(64-bit). This change practially removes register limits for Zebra. Implement
int-list encoding for ISAMs.

20 years agoFix indentation in example
Adam Dickmeiss [Wed, 4 Aug 2004 08:26:43 +0000 (08:26 +0000)]
Fix indentation in example

20 years agoAdded framework for the pos calls. rsisamb and rsnull have a real one,
Heikki Levanto [Tue, 3 Aug 2004 14:54:41 +0000 (14:54 +0000)]
Added framework for the pos calls. rsisamb and rsnull have a real one,
the rest rely on a global dummy. Not tested much yet, as it is never
called.

20 years agoRemoved the count function from the rset f-table, in preparation
Heikki Levanto [Tue, 3 Aug 2004 12:15:44 +0000 (12:15 +0000)]
Removed the count function from the rset f-table, in preparation
to adding a more general pos function

20 years agoSelect database before commit takes place to ensure register is selected
Adam Dickmeiss [Mon, 2 Aug 2004 10:12:06 +0000 (10:12 +0000)]
Select database before commit takes place to ensure register is selected

20 years agoAdd missing close-quote.
Mike Taylor [Mon, 2 Aug 2004 09:55:30 +0000 (09:55 +0000)]
Add missing close-quote.

20 years agoUpdates to make Debian Sarge package for 1.3.16-1
Adam Dickmeiss [Fri, 30 Jul 2004 10:06:09 +0000 (10:06 +0000)]
Updates to make Debian Sarge package for 1.3.16-1

20 years agoEnsure that perl/IDZebra_wrap.c is part of dist.
Adam Dickmeiss [Wed, 28 Jul 2004 11:15:10 +0000 (11:15 +0000)]
Ensure that perl/IDZebra_wrap.c is part of dist.

20 years agoFix sort test
Adam Dickmeiss [Wed, 28 Jul 2004 11:01:58 +0000 (11:01 +0000)]
Fix sort test

20 years agoAdded a new 'cut' directive to charmaps (.chr files) which specifies that
Adam Dickmeiss [Wed, 28 Jul 2004 09:47:41 +0000 (09:47 +0000)]
Added a new 'cut' directive to charmaps (.chr files) which specifies that
only characters after the cutting char should be indexed.

20 years agoMore comments on register specs
Adam Dickmeiss [Wed, 28 Jul 2004 09:40:46 +0000 (09:40 +0000)]
More comments on register specs

20 years agoUpdate Perl internals so that it matches the current Zebra API.
Adam Dickmeiss [Wed, 28 Jul 2004 08:15:44 +0000 (08:15 +0000)]
Update Perl internals so that it matches the current Zebra API.
The recordGroup structure is no longer available. A group of resources
can still be referenced by setting groupName=>..  in various methods.

20 years agoMake a copy instead of pointer for member: base
Adam Dickmeiss [Wed, 28 Jul 2004 08:05:58 +0000 (08:05 +0000)]
Make a copy instead of pointer for member: base

20 years agoFix memory leak
Adam Dickmeiss [Mon, 26 Jul 2004 13:59:25 +0000 (13:59 +0000)]
Fix memory leak

20 years agoFix bug in data1_tag_add_attr (bug introduced in last commit)
Adam Dickmeiss [Mon, 26 Jul 2004 13:51:42 +0000 (13:51 +0000)]
Fix bug in data1_tag_add_attr (bug introduced in last commit)

20 years agoFixed bug 104: Bad default encoding for XML records for grs.xml filter.
Adam Dickmeiss [Mon, 26 Jul 2004 12:26:25 +0000 (12:26 +0000)]
Fixed bug 104: Bad default encoding for XML records for grs.xml filter.

20 years agoSimplify XML attribute node creation (xattr). Add data1 utilities
Adam Dickmeiss [Mon, 26 Jul 2004 12:20:06 +0000 (12:20 +0000)]
Simplify XML attribute node creation (xattr). Add data1 utilities
data1_insert_preprocess, data1_insert_preprocess_n.

20 years agoUse WRBUF instead of huge stack var
Adam Dickmeiss [Wed, 16 Jun 2004 22:12:30 +0000 (22:12 +0000)]
Use WRBUF instead of huge stack var

20 years agoAdded cvsignore
Adam Dickmeiss [Wed, 16 Jun 2004 22:07:48 +0000 (22:07 +0000)]
Added cvsignore

20 years agoProximity tests
Adam Dickmeiss [Wed, 16 Jun 2004 22:06:49 +0000 (22:06 +0000)]
Proximity tests

20 years agoDo not perform rusmarc test if iconv does not do koi8-r.
Adam Dickmeiss [Wed, 16 Jun 2004 21:48:57 +0000 (21:48 +0000)]
Do not perform rusmarc test if iconv does not do koi8-r.

20 years agoEnabling rsprox. Tests OK
Adam Dickmeiss [Wed, 16 Jun 2004 21:29:49 +0000 (21:29 +0000)]
Enabling rsprox. Tests OK

20 years agoCosmetic changes. Added an assert, since prox needs >= 2 sets
Adam Dickmeiss [Wed, 16 Jun 2004 21:27:37 +0000 (21:27 +0000)]
Cosmetic changes. Added an assert, since prox needs >= 2 sets

20 years agoFor includes specs in Makefiles use AM_CPPFLAGS instead of INCLUDE.
Adam Dickmeiss [Wed, 16 Jun 2004 20:49:17 +0000 (20:49 +0000)]
For includes specs in Makefiles use AM_CPPFLAGS instead of INCLUDE.
Use $(YAZINC) instead of @YAZINC@.

20 years agoRemove unused local
Adam Dickmeiss [Wed, 16 Jun 2004 20:32:41 +0000 (20:32 +0000)]
Remove unused local

20 years agoInitialize local to prevent gcc -O warning
Adam Dickmeiss [Wed, 16 Jun 2004 20:30:47 +0000 (20:30 +0000)]
Initialize local to prevent gcc -O warning

20 years agoMinor changes to avoid a few warnings
Adam Dickmeiss [Tue, 15 Jun 2004 10:56:31 +0000 (10:56 +0000)]
Minor changes to avoid a few warnings

20 years agoZebra now works with make distcheck
Adam Dickmeiss [Tue, 15 Jun 2004 09:43:27 +0000 (09:43 +0000)]
Zebra now works with make distcheck

20 years agoAdd missing initialization of member replace_tokens in struct
Adam Dickmeiss [Tue, 15 Jun 2004 09:29:31 +0000 (09:29 +0000)]
Add missing initialization of member replace_tokens in struct
zebra_map. Error only showed up for missing default.idx (and charmaps)
and more aggressive nmem_reset/nmem_destroy ..

20 years agoMore updates to allow tests when builddir != srcdir.
Adam Dickmeiss [Tue, 15 Jun 2004 08:06:33 +0000 (08:06 +0000)]
More updates to allow tests when builddir != srcdir.

20 years agoAllow ${var:-default} construct in resources.
Adam Dickmeiss [Tue, 15 Jun 2004 08:05:54 +0000 (08:05 +0000)]
Allow ${var:-default} construct in resources.

20 years agoShell accepts -c <config> option
Adam Dickmeiss [Tue, 15 Jun 2004 07:42:45 +0000 (07:42 +0000)]
Shell accepts -c <config> option

20 years agoPrepare for srcdir != builddir in tests
Adam Dickmeiss [Mon, 14 Jun 2004 23:45:11 +0000 (23:45 +0000)]
Prepare for srcdir != builddir in tests

20 years agoPrepare for srcdir != dstdir in tests.
Adam Dickmeiss [Mon, 14 Jun 2004 23:43:32 +0000 (23:43 +0000)]
Prepare for srcdir != dstdir in tests.