idzebra-moved-to-github.git
17 years agoFixed several prototypes.. Most changes are f() to f(void).
Adam Dickmeiss [Sun, 29 Oct 2006 17:20:00 +0000 (17:20 +0000)]
Fixed several prototypes.. Most changes are f() to f(void).

17 years agoAdded -Wstrict-prototypes for buildconf.sh -d mode. Added -o mode which
Adam Dickmeiss [Sun, 29 Oct 2006 17:19:07 +0000 (17:19 +0000)]
Added -Wstrict-prototypes for buildconf.sh -d mode. Added -o mode which
uses -O3 plus warning options.

17 years agoRemoved unused function rpn_scan_ver1
Adam Dickmeiss [Sun, 29 Oct 2006 17:18:05 +0000 (17:18 +0000)]
Removed unused function rpn_scan_ver1

17 years agoInitialize variable which could be un-initialized
Adam Dickmeiss [Fri, 27 Oct 2006 11:05:14 +0000 (11:05 +0000)]
Initialize variable which could be un-initialized

17 years agoChange prototype for data1_absyn_getmarctab, data1_absyn_getelements.
Adam Dickmeiss [Thu, 26 Oct 2006 23:49:14 +0000 (23:49 +0000)]
Change prototype for data1_absyn_getmarctab, data1_absyn_getelements.

17 years agoFixed bug #710: Duplicate keys for CDATA in xelm/melm rules. For X-Path
Adam Dickmeiss [Thu, 26 Oct 2006 23:45:46 +0000 (23:45 +0000)]
Fixed bug #710: Duplicate keys for CDATA in xelm/melm rules. For X-Path
termlist indexing, the sequence number is updated to the maximum sequence
number generated.

17 years agoAdded a check to verify that private OIDs works
Adam Dickmeiss [Mon, 23 Oct 2006 09:31:48 +0000 (09:31 +0000)]
Added a check to verify that private OIDs works

17 years agoRemoved no longer in use zebrazv.cfg
Adam Dickmeiss [Mon, 23 Oct 2006 09:01:42 +0000 (09:01 +0000)]
Removed no longer in use zebrazv.cfg

17 years agoTowards 2.0.4
Adam Dickmeiss [Mon, 16 Oct 2006 11:03:47 +0000 (11:03 +0000)]
Towards 2.0.4

17 years agoBuild-Depends yaz > 2.1.36
Adam Dickmeiss [Mon, 16 Oct 2006 07:04:29 +0000 (07:04 +0000)]
Build-Depends yaz > 2.1.36

17 years agoMore news items
Adam Dickmeiss [Sun, 15 Oct 2006 07:28:21 +0000 (07:28 +0000)]
More news items

17 years agoFixed bug #47: Commit needs to check for roll-back.
Adam Dickmeiss [Thu, 12 Oct 2006 13:06:00 +0000 (13:06 +0000)]
Fixed bug #47: Commit needs to check for roll-back.

17 years agoFixed bug #696: Less than Date searches returns unexpected hit count.
Adam Dickmeiss [Thu, 12 Oct 2006 12:28:42 +0000 (12:28 +0000)]
Fixed bug #696: Less than Date searches returns unexpected hit count.

17 years agoAllow character ordinal 1 in [..] ranges to specify "raw" value.
Adam Dickmeiss [Thu, 12 Oct 2006 12:27:28 +0000 (12:27 +0000)]
Allow character ordinal 1 in [..] ranges to specify "raw" value.

17 years agoFix crash that occurred if mc-ldr rules was used in conjunction with
Adam Dickmeiss [Thu, 12 Oct 2006 10:13:33 +0000 (10:13 +0000)]
Fix crash that occurred if mc-ldr rules was used in conjunction with
missing .mar file.

17 years agoAdded tstpass test
Adam Dickmeiss [Wed, 11 Oct 2006 20:19:31 +0000 (20:19 +0000)]
Added tstpass test

17 years agoFixed bug 672: Trailing characters in password are ignored. By
Adam Dickmeiss [Wed, 11 Oct 2006 20:18:47 +0000 (20:18 +0000)]
Fixed bug 672: Trailing characters in password are ignored. By
default htpasswd uses DES encryption of maximum key length 8. This
means that a password can only have 8 significant digits. Function
passwd_db_auth now returns -2 if password is greater than 8.

17 years agoMore on regular expressions in grs.regx filters.
Adam Dickmeiss [Wed, 11 Oct 2006 12:37:23 +0000 (12:37 +0000)]
More on regular expressions in grs.regx filters.

17 years agoFixed bug #658: update docs on zebra.cfg settings.
Adam Dickmeiss [Wed, 11 Oct 2006 12:23:24 +0000 (12:23 +0000)]
Fixed bug #658: update docs on zebra.cfg settings.

17 years agoFixed 'make distcheck'. Failed due to html files not being removed by
Adam Dickmeiss [Wed, 11 Oct 2006 09:39:44 +0000 (09:39 +0000)]
Fixed 'make distcheck'. Failed due to html files not being removed by
uninstall. Added uinstall-hook for the doc directory.

17 years agoFixed bug #670: modulePath is not a path. Uses new utility
Adam Dickmeiss [Wed, 11 Oct 2006 08:55:52 +0000 (08:55 +0000)]
Fixed bug #670: modulePath is not a path. Uses new utility
yaz_filepath_comp - available in YAZ 2.1.35 and later.

17 years agoUse check for 'long long' to determine type for zint.
Adam Dickmeiss [Tue, 10 Oct 2006 14:45:41 +0000 (14:45 +0000)]
Use check for 'long long' to determine type for zint.

17 years agoRemoved unused local variables.
Adam Dickmeiss [Tue, 10 Oct 2006 10:19:28 +0000 (10:19 +0000)]
Removed unused local variables.

17 years agoIgnore Zebra register files
Adam Dickmeiss [Tue, 10 Oct 2006 10:14:26 +0000 (10:14 +0000)]
Ignore Zebra register files

17 years agoAdded extra presence check for tcl.h, because some systems have
Adam Dickmeiss [Mon, 9 Oct 2006 22:13:06 +0000 (22:13 +0000)]
Added extra presence check for tcl.h, because some systems have
tclConfig.sh installed even though Tcl C headers are missing.

17 years agoSimplify and optimize commit clean operation
Adam Dickmeiss [Mon, 9 Oct 2006 22:10:00 +0000 (22:10 +0000)]
Simplify and optimize commit clean operation

17 years agoQuote various places in Windows makefile to deal with directories
Adam Dickmeiss [Thu, 5 Oct 2006 13:19:10 +0000 (13:19 +0000)]
Quote various places in Windows makefile to deal with directories
with blanks in them.

17 years agoMore NEWS
Adam Dickmeiss [Wed, 4 Oct 2006 12:45:51 +0000 (12:45 +0000)]
More NEWS

17 years agoVersion 2.0.3.
Adam Dickmeiss [Fri, 29 Sep 2006 13:03:06 +0000 (13:03 +0000)]
Version 2.0.3.

17 years agoMore optimizations of the melm matching.
Adam Dickmeiss [Fri, 29 Sep 2006 10:02:45 +0000 (10:02 +0000)]
More optimizations of the melm matching.

17 years agoDo not use sync(2) after commit. The fsync on individual files suffices.
Adam Dickmeiss [Fri, 29 Sep 2006 07:05:44 +0000 (07:05 +0000)]
Do not use sync(2) after commit. The fsync on individual files suffices.

17 years agoFixed bug #685: Optimize xelm/melm matching. Indexing the Koha collection
Adam Dickmeiss [Thu, 28 Sep 2006 18:38:44 +0000 (18:38 +0000)]
Fixed bug #685: Optimize xelm/melm matching. Indexing the Koha collection
is reduced from 6073 sec to 2578 sec (on Zebra 1.3.38 though).

17 years agoAlign query tests
Adam Dickmeiss [Thu, 28 Sep 2006 08:47:21 +0000 (08:47 +0000)]
Align query tests

17 years agoAdded more rules to verify bug #686
Adam Dickmeiss [Thu, 28 Sep 2006 08:47:10 +0000 (08:47 +0000)]
Added more rules to verify bug #686

17 years agoFixed bug in ISAMB's utility function decode_ptr. With gcc -O3 on some
Adam Dickmeiss [Tue, 26 Sep 2006 12:56:33 +0000 (12:56 +0000)]
Fixed bug in ISAMB's utility function decode_ptr. With gcc -O3 on some
platforms the src argument was not updated.

17 years agoUpdate for 2.0.2 ZEBRA.2.0.2
Adam Dickmeiss [Fri, 22 Sep 2006 12:45:53 +0000 (12:45 +0000)]
Update for 2.0.2

17 years agoVersion 2.0.2
Adam Dickmeiss [Fri, 22 Sep 2006 12:44:01 +0000 (12:44 +0000)]
Version 2.0.2

17 years agoFix FSF address
Adam Dickmeiss [Fri, 22 Sep 2006 12:42:38 +0000 (12:42 +0000)]
Fix FSF address

17 years agoUpdates for first-in-field support + alwaysmathces searches. Refer to native
Adam Dickmeiss [Fri, 22 Sep 2006 12:34:45 +0000 (12:34 +0000)]
Updates for first-in-field support + alwaysmathces searches. Refer to native
query support as RPN rather than PQF.

17 years agoRenamed main.c to zebraidx.c. Renamed zserver.c to zebrasrv.c.
Adam Dickmeiss [Fri, 22 Sep 2006 10:18:06 +0000 (10:18 +0000)]
Renamed main.c to zebraidx.c. Renamed zserver.c to zebrasrv.c.
Removed zserver.h.

17 years agoUpdate news
Adam Dickmeiss [Fri, 22 Sep 2006 10:11:51 +0000 (10:11 +0000)]
Update news

17 years agoSkip 0 hit counts in scan.
Adam Dickmeiss [Thu, 21 Sep 2006 20:22:33 +0000 (20:22 +0000)]
Skip 0 hit counts in scan.

17 years agoSplit function rpn_scan in two.
Adam Dickmeiss [Thu, 21 Sep 2006 10:10:07 +0000 (10:10 +0000)]
Split function rpn_scan in two.

17 years agoUpdate for zrpn split.
Adam Dickmeiss [Thu, 21 Sep 2006 08:59:32 +0000 (08:59 +0000)]
Update for zrpn split.

17 years agoRename source files
Adam Dickmeiss [Thu, 21 Sep 2006 08:56:52 +0000 (08:56 +0000)]
Rename source files

17 years agoSplit zrpn.c
Adam Dickmeiss [Thu, 21 Sep 2006 08:39:14 +0000 (08:39 +0000)]
Split zrpn.c

17 years agoAvoid C++ style comments
Adam Dickmeiss [Wed, 20 Sep 2006 19:29:25 +0000 (19:29 +0000)]
Avoid C++ style comments

17 years agoDescribe the use of "a" in permission strings.
Mike Taylor [Wed, 20 Sep 2006 15:19:38 +0000 (15:19 +0000)]
Describe the use of "a" in permission strings.

17 years agoFixed bug #669: Numeric sorting does not work, but yields "random" order.
Adam Dickmeiss [Wed, 20 Sep 2006 10:51:25 +0000 (10:51 +0000)]
Fixed bug #669: Numeric sorting does not work, but yields "random" order.
The numerical sort did not convert characters back to original form,
that is it would only work with 'charmap @'. Any charmap should now work
but results will look random if charmap does not include the digits [0-9].

17 years agoFix LFS check which on some systems, such as Solaris, reports LFS false -
Adam Dickmeiss [Tue, 19 Sep 2006 14:22:54 +0000 (14:22 +0000)]
Fix LFS check which on some systems, such as Solaris, reports LFS false -
when LFS is present. The sprintf+long double format check is gone and
replaced by a simple arithmetic expression which does the same thing.

17 years agoRename rec_rm to rec_free. Annotate the recindex.h file a bit.
Adam Dickmeiss [Fri, 15 Sep 2006 10:45:12 +0000 (10:45 +0000)]
Rename rec_rm to rec_free. Annotate the recindex.h file a bit.

17 years agoRemoved unused vars. Rephrase comment
Adam Dickmeiss [Fri, 15 Sep 2006 10:44:34 +0000 (10:44 +0000)]
Removed unused vars. Rephrase comment

17 years agoRemoving api_swig.[ch] from build because it does not compile on AIX.
Adam Dickmeiss [Fri, 15 Sep 2006 10:07:09 +0000 (10:07 +0000)]
Removing api_swig.[ch] from build because it does not compile on AIX.
It is currently unmaintained.

17 years agoFix modulePath in upgrade-example. Put re-indexing paragraph in note
Adam Dickmeiss [Fri, 15 Sep 2006 09:21:52 +0000 (09:21 +0000)]
Fix modulePath in upgrade-example. Put re-indexing paragraph in note
section.

17 years agoRemove trailing garbage bytes in this MARC sample
Adam Dickmeiss [Thu, 14 Sep 2006 09:01:18 +0000 (09:01 +0000)]
Remove trailing garbage bytes in this MARC sample

17 years agoFixed bug #657: Problem with drop database and recordId: file.
Adam Dickmeiss [Mon, 11 Sep 2006 22:57:54 +0000 (22:57 +0000)]
Fixed bug #657: Problem with drop database and recordId: file.

17 years agoUpdate for support for first-in-field in and/or lists
Adam Dickmeiss [Fri, 8 Sep 2006 18:25:49 +0000 (18:25 +0000)]
Update for support for first-in-field in and/or lists

17 years agoImplement first-in-field search for and-list (@attr 4=6) as well as
Adam Dickmeiss [Fri, 8 Sep 2006 18:24:53 +0000 (18:24 +0000)]
Implement first-in-field search for and-list (@attr 4=6) as well as
or-list (@attr 4=106). Support isam:c for this as well.

17 years agoHonor position attribute, i.e. allow first-in-field search. To
Adam Dickmeiss [Fri, 8 Sep 2006 14:40:51 +0000 (14:40 +0000)]
Honor position attribute, i.e. allow first-in-field search. To
enable this, "firstinfield 1" must be given for an index in
default.idx. Enabled in tab/default.idx for w. At this stage
first-in field is only supported for phrase searches (including
simple words).

17 years agoDont override log level (e.g. when set with YAZ_LOG env)
Adam Dickmeiss [Fri, 8 Sep 2006 09:56:40 +0000 (09:56 +0000)]
Dont override log level (e.g. when set with YAZ_LOG env)

17 years agoIgnore register+lock files.
Adam Dickmeiss [Fri, 8 Sep 2006 08:34:56 +0000 (08:34 +0000)]
Ignore register+lock files.

17 years agoFix test for index.html in dist/install hook
Adam Dickmeiss [Thu, 7 Sep 2006 10:02:29 +0000 (10:02 +0000)]
Fix test for index.html in dist/install hook

17 years agoTweak language about x-pquery
Mike Taylor [Wed, 6 Sep 2006 14:31:59 +0000 (14:31 +0000)]
Tweak language about x-pquery

17 years agoChanged behavior for dict_scan: if the callback function returns 0 the scan
Adam Dickmeiss [Tue, 5 Sep 2006 12:50:56 +0000 (12:50 +0000)]
Changed behavior for dict_scan: if the callback function returns 0 the scan
operation visits all terms in range (before to after); if the function
returns non-zero the scan operation is cancelled.

17 years agoAdded id tag to reference section
Adam Dickmeiss [Tue, 5 Sep 2006 12:08:47 +0000 (12:08 +0000)]
Added id tag to reference section

17 years agoPut man pages in reference section of main documentation . Avoid
Adam Dickmeiss [Tue, 5 Sep 2006 12:01:31 +0000 (12:01 +0000)]
Put man pages in reference section of main documentation . Avoid
duplicated material for man pages. Put Zebra version in productnumber
tag of man page.

17 years agoClean .tkl files be making them. Cosmetic change in install-data-hook
Adam Dickmeiss [Mon, 4 Sep 2006 12:11:40 +0000 (12:11 +0000)]
Clean .tkl files be making them. Cosmetic change in install-data-hook

17 years agoChange makefiles so that html files are automatically installed and
Adam Dickmeiss [Sun, 3 Sep 2006 21:37:26 +0000 (21:37 +0000)]
Change makefiles so that html files are automatically installed and
part of dist. No more maintenance of HTMLFILES ...
Section about fields and character maps moved to separate chapter
because it relates to all record types (not only grs).
Added lots of id attributes to sections to get rid of docbook xsl
warnings and to ensure proper HTML file name.
Added Olegs paper on MARC indexing to grs chapter.

17 years agofixed dependency typo in libidzebra-2.0-modules which made installs
Marc Cromme [Thu, 31 Aug 2006 09:50:07 +0000 (09:50 +0000)]
fixed dependency typo in libidzebra-2.0-modules which made installs
halt due to non-existing package libidzebra-2.0-mod-marc

17 years agoAllow check for scan failure. For test of bug #647.
Adam Dickmeiss [Thu, 31 Aug 2006 08:36:53 +0000 (08:36 +0000)]
Allow check for scan failure. For test of bug #647.

17 years agoFixed bug #647: Scanning wrong indexes do not trigger scan error.
Adam Dickmeiss [Thu, 31 Aug 2006 08:35:48 +0000 (08:35 +0000)]
Fixed bug #647: Scanning wrong indexes do not trigger scan error.

17 years agoCommentary updates
Adam Dickmeiss [Tue, 29 Aug 2006 14:25:40 +0000 (14:25 +0000)]
Commentary updates

17 years agoTest of proper return value of dict_insert
Adam Dickmeiss [Tue, 29 Aug 2006 13:39:48 +0000 (13:39 +0000)]
Test of proper return value of dict_insert

17 years agodict_insert returns -1 if dict not writable
Adam Dickmeiss [Tue, 29 Aug 2006 13:39:18 +0000 (13:39 +0000)]
dict_insert returns -1 if dict not writable

17 years agoReformat
Adam Dickmeiss [Tue, 29 Aug 2006 13:38:38 +0000 (13:38 +0000)]
Reformat

17 years agoChanged behavior of dict_lookup_grep so that it returns value of function
Adam Dickmeiss [Tue, 29 Aug 2006 13:36:26 +0000 (13:36 +0000)]
Changed behavior of dict_lookup_grep so that it returns value of function
handler if function returns non-zero value. Previously dict_lookup_grep
returened 1 in this case.

17 years agoMake internal lookup ec function static. Reformat a little
Adam Dickmeiss [Tue, 29 Aug 2006 12:48:48 +0000 (12:48 +0000)]
Make internal lookup ec function static. Reformat a little

17 years agoscan test uses YAZ' test facility
Adam Dickmeiss [Tue, 29 Aug 2006 12:31:12 +0000 (12:31 +0000)]
scan test uses YAZ' test facility

17 years agoMore comments on dict.h. Moved typedef Dict_ptr to private dict header.
Adam Dickmeiss [Tue, 29 Aug 2006 11:28:42 +0000 (11:28 +0000)]
More comments on dict.h. Moved typedef Dict_ptr to private dict header.

17 years agoMake dict_str{cmp,ncmp,len} internal
Adam Dickmeiss [Tue, 29 Aug 2006 09:27:55 +0000 (09:27 +0000)]
Make dict_str{cmp,ncmp,len} internal

17 years agoSegment message is LOG_DEBUG
Adam Dickmeiss [Tue, 29 Aug 2006 08:27:59 +0000 (08:27 +0000)]
Segment message is LOG_DEBUG

17 years agoWarn if non-integer is passed to 'att' directive'
Adam Dickmeiss [Wed, 23 Aug 2006 13:56:07 +0000 (13:56 +0000)]
Warn if non-integer is passed to 'att' directive'

17 years agoUse ZEBRA_GCC_ATTR instead of GCC_ATTRIBUTE (due to chgs in idzebra/api.h).
Adam Dickmeiss [Wed, 23 Aug 2006 07:37:02 +0000 (07:37 +0000)]
Use ZEBRA_GCC_ATTR instead of GCC_ATTRIBUTE (due to chgs in idzebra/api.h).

17 years agoOnly use gcc attribute warn_unused_result on GCC 4 or newer.
Adam Dickmeiss [Tue, 22 Aug 2006 13:59:02 +0000 (13:59 +0000)]
Only use gcc attribute warn_unused_result on GCC 4 or newer.

17 years agoCommon stream reader interface for record filters (struct ZebraRecStream).
Adam Dickmeiss [Tue, 22 Aug 2006 13:39:22 +0000 (13:39 +0000)]
Common stream reader interface for record filters (struct ZebraRecStream).

17 years agoFixed bug #638: USMARC conversion differs for grs.xml.
Adam Dickmeiss [Tue, 22 Aug 2006 10:21:53 +0000 (10:21 +0000)]
Fixed bug #638: USMARC conversion differs for grs.xml.

17 years agoTest indexing of leader + range operator.
Adam Dickmeiss [Tue, 22 Aug 2006 08:11:32 +0000 (08:11 +0000)]
Test indexing of leader + range operator.

17 years ago Depends rather than Provides for libidzebra-2.0-modules
Adam Dickmeiss [Wed, 16 Aug 2006 15:05:00 +0000 (15:05 +0000)]
 Depends rather than Provides for libidzebra-2.0-modules

17 years agoExperimental segment facility (for matching of words within one
Adam Dickmeiss [Wed, 16 Aug 2006 13:16:35 +0000 (13:16 +0000)]
Experimental segment facility (for matching of words within one
field/segment).

17 years agoFix comment
Adam Dickmeiss [Wed, 16 Aug 2006 13:14:55 +0000 (13:14 +0000)]
Fix comment

17 years agoA little clearer rset counting
Adam Dickmeiss [Wed, 16 Aug 2006 13:14:45 +0000 (13:14 +0000)]
A little clearer rset counting

17 years agoFix a few leaks in testlib. Store test results in yaz_log
Adam Dickmeiss [Wed, 16 Aug 2006 13:13:53 +0000 (13:13 +0000)]
Fix a few leaks in testlib. Store test results in yaz_log

17 years agoDefinitions in zebramap.h are private. ZebraMaps no longer used in
Adam Dickmeiss [Tue, 15 Aug 2006 14:28:32 +0000 (14:28 +0000)]
Definitions in zebramap.h are private. ZebraMaps no longer used in
recctrl system.

17 years agoUse Depends rather than Provides for idzebra-2.0 package
Adam Dickmeiss [Tue, 15 Aug 2006 08:33:16 +0000 (08:33 +0000)]
Use Depends rather than Provides for idzebra-2.0 package

17 years agoUse Docbook tables rather than HTML tables. This makes jade happy
Adam Dickmeiss [Mon, 14 Aug 2006 22:33:46 +0000 (22:33 +0000)]
Use Docbook tables rather than HTML tables. This makes jade happy
and allows us to make PDF.

17 years agoFix date for zebra release
Adam Dickmeiss [Mon, 14 Aug 2006 22:28:01 +0000 (22:28 +0000)]
Fix date for zebra release

17 years agoDont use <literal> for non-literal terms. Fix sources list description
Adam Dickmeiss [Mon, 14 Aug 2006 19:56:50 +0000 (19:56 +0000)]
Dont use <literal> for non-literal terms. Fix sources list description
to use the official location (not the testing /t/debian/).

17 years agoFix index.tkl rule. Does not depend on common/tkl.xsl
Adam Dickmeiss [Mon, 14 Aug 2006 19:33:38 +0000 (19:33 +0000)]
Fix index.tkl rule. Does not depend on common/tkl.xsl

17 years agoUse VS 2003 rather than VS 2005 ZEBRA.2.0.0
Adam Dickmeiss [Mon, 14 Aug 2006 18:57:04 +0000 (18:57 +0000)]
Use VS 2003 rather than VS 2005

17 years agoSkip manifests (for now). Update to newer libxml tools. Add d1_utils.obj
Adam Dickmeiss [Mon, 14 Aug 2006 18:12:35 +0000 (18:12 +0000)]
Skip manifests (for now). Update to newer libxml tools. Add d1_utils.obj