idzebra-moved-to-github.git
19 years agoGet rid of typedefs iSAMS_P, ISAMC_P, ISAMB_P and use ISAM_P instead.
Adam Dickmeiss [Wed, 13 Apr 2005 13:03:47 +0000 (13:03 +0000)]
Get rid of typedefs iSAMS_P, ISAMC_P, ISAMB_P and use ISAM_P instead.

19 years agoAdded zebra_scan_PQF.
Adam Dickmeiss [Wed, 13 Apr 2005 08:52:26 +0000 (08:52 +0000)]
Added zebra_scan_PQF.

19 years agoScan using string attributes
Adam Dickmeiss [Wed, 13 Apr 2005 08:52:01 +0000 (08:52 +0000)]
Scan using string attributes

19 years agoFix parallel build
Adam Dickmeiss [Fri, 1 Apr 2005 10:15:13 +0000 (10:15 +0000)]
Fix parallel build

19 years agoDISABLE_SHARED again (for now)
Adam Dickmeiss [Thu, 31 Mar 2005 12:55:55 +0000 (12:55 +0000)]
DISABLE_SHARED again (for now)

19 years agoAdded tempalte filter for the ALVIS project.
Adam Dickmeiss [Thu, 31 Mar 2005 12:42:06 +0000 (12:42 +0000)]
Added tempalte filter for the ALVIS project.
Added new version member for struct recType.

19 years agoAdd module path for safari test
Adam Dickmeiss [Thu, 31 Mar 2005 12:20:06 +0000 (12:20 +0000)]
Add module path for safari test

19 years agoMoved zebrautl.h to idzebra/util.h.
Adam Dickmeiss [Wed, 30 Mar 2005 09:25:23 +0000 (09:25 +0000)]
Moved zebrautl.h to idzebra/util.h.
Implemented bf_xpen, bf_xclose that opens/closes a BFile with magic header
and managed block free list handling. bf_alloc/bf_free performs the
block allocation.

19 years agoFixed bug #275: Leaf node split problem(s).
Adam Dickmeiss [Mon, 21 Mar 2005 17:20:54 +0000 (17:20 +0000)]
Fixed bug #275: Leaf node split problem(s).

19 years agoFix a bug where second-half of block in leaf split could become
Adam Dickmeiss [Fri, 18 Mar 2005 12:05:11 +0000 (12:05 +0000)]
Fix a bug where second-half of block in leaf split could become
larger than max block size.

19 years agoDo not warn about empty records
Adam Dickmeiss [Thu, 17 Mar 2005 09:48:46 +0000 (09:48 +0000)]
Do not warn about empty records

19 years agoFix declaration of zebra_get_bfs.
Adam Dickmeiss [Thu, 17 Mar 2005 08:31:53 +0000 (08:31 +0000)]
Fix declaration of zebra_get_bfs.

19 years agoDo not warn about empty records unless they are marked as new.
Adam Dickmeiss [Thu, 17 Mar 2005 08:31:28 +0000 (08:31 +0000)]
Do not warn about empty records unless they are marked as new.

19 years agoAdded zebra_get_bfs to get BFile handle for session
Adam Dickmeiss [Thu, 17 Mar 2005 07:54:23 +0000 (07:54 +0000)]
Added zebra_get_bfs to get BFile handle for session

19 years agoHonor fileVerboseLimit for zebra_add_record (buffer_extract_record)
Adam Dickmeiss [Wed, 16 Mar 2005 15:26:37 +0000 (15:26 +0000)]
Honor fileVerboseLimit for zebra_add_record (buffer_extract_record)

19 years agoImplemented the 'equivalent' directive for .chr-files.
Adam Dickmeiss [Fri, 11 Mar 2005 17:56:32 +0000 (17:56 +0000)]
Implemented the 'equivalent' directive for .chr-files.

19 years agoDont log print by default.
Adam Dickmeiss [Wed, 9 Mar 2005 13:45:29 +0000 (13:45 +0000)]
Dont log print by default.

19 years agoSeveral updates for the changes of hit count datatype from int
Adam Dickmeiss [Wed, 9 Mar 2005 12:14:42 +0000 (12:14 +0000)]
Several updates for the changes of hit count datatype from int
to zint (long long or long).

19 years agoFix endless loop in log2_int for negative values for input
Adam Dickmeiss [Tue, 8 Mar 2005 14:41:37 +0000 (14:41 +0000)]
Fix endless loop in log2_int for negative values for input

19 years agoAdded a few casts from zint to double/int where appropriate.
Adam Dickmeiss [Tue, 8 Mar 2005 14:02:08 +0000 (14:02 +0000)]
Added a few casts from zint to double/int where appropriate.
Change a few types from int to zint. Out parameter hits in
zebra_search_.. changed from int * to zint *.

19 years agoAdded include of ctype.h and added a declaration.
Adam Dickmeiss [Sat, 5 Mar 2005 11:35:18 +0000 (11:35 +0000)]
Added include of ctype.h and added a declaration.

19 years agoString attribute support for record filter interface.
Adam Dickmeiss [Sat, 5 Mar 2005 09:19:14 +0000 (09:19 +0000)]
String attribute support for record filter interface.

19 years agobuildconf script configures directlry when -d / -c is given
Adam Dickmeiss [Fri, 4 Mar 2005 12:00:06 +0000 (12:00 +0000)]
buildconf script configures directlry when -d / -c is given

19 years agoAdded two else-statements in seldom used term structure handling code.
Adam Dickmeiss [Fri, 25 Feb 2005 10:08:44 +0000 (10:08 +0000)]
Added two else-statements in seldom used term structure handling code.

19 years agoMention init command
Adam Dickmeiss [Tue, 8 Feb 2005 00:59:59 +0000 (00:59 +0000)]
Mention init command

19 years agoAdded support for string components in simpleelement specs. Supported
Adam Dickmeiss [Tue, 8 Feb 2005 00:36:08 +0000 (00:36 +0000)]
Added support for string components in simpleelement specs. Supported
formats are:
 element[@attr=value]  _or_ element[@attr] _or_  element
If a simpleelement begins with ! the nodes are excluded (instead
of included).  Exclusion only makes sense if a larger node set is
included _first_.

19 years agoFixed bug #262: spaces in control fields in MARC returned
Adam Dickmeiss [Wed, 2 Feb 2005 19:37:27 +0000 (19:37 +0000)]
Fixed bug #262: spaces in control fields in MARC returned

19 years agoFixed bug #259: Second indicator lost in MARC records
Adam Dickmeiss [Wed, 2 Feb 2005 08:03:22 +0000 (08:03 +0000)]
Fixed bug #259: Second indicator lost in MARC records

19 years agoMore comments
Adam Dickmeiss [Mon, 24 Jan 2005 14:44:23 +0000 (14:44 +0000)]
More comments

19 years agoPut code that deals with default database selection in separate
Adam Dickmeiss [Sun, 23 Jan 2005 12:36:27 +0000 (12:36 +0000)]
Put code that deals with default database selection in separate
function zebra_select_default_database. Since database affects
register we must call it in zebra_begin_trans, zebra_commit_ex,
zebra_init.

19 years agoRenamed API function zebra_deleleResultSet to zebra_deleteResultSet.
Adam Dickmeiss [Sat, 22 Jan 2005 12:20:34 +0000 (12:20 +0000)]
Renamed API function zebra_deleleResultSet to zebra_deleteResultSet.

19 years agoDoxygen comments
Adam Dickmeiss [Fri, 21 Jan 2005 19:07:25 +0000 (19:07 +0000)]
Doxygen comments

19 years agoRenamed API function zebra_deleleResultSet to zebra_deleteResultSet.
Adam Dickmeiss [Fri, 21 Jan 2005 18:41:19 +0000 (18:41 +0000)]
Renamed API function zebra_deleleResultSet to zebra_deleteResultSet.

19 years agoFixed bug #253: Setting group.database not honored.
Adam Dickmeiss [Fri, 21 Jan 2005 13:23:25 +0000 (13:23 +0000)]
Fixed bug #253: Setting group.database not honored.

19 years agoA few more Doxygen comments
Adam Dickmeiss [Fri, 21 Jan 2005 13:19:25 +0000 (13:19 +0000)]
A few more Doxygen comments

19 years agoAdd range/first modifier in test
Adam Dickmeiss [Fri, 21 Jan 2005 13:06:43 +0000 (13:06 +0000)]
Add range/first modifier in test

19 years agoReworked source parser for termlists in .abs-file. Added 'first'
Adam Dickmeiss [Mon, 17 Jan 2005 22:32:16 +0000 (22:32 +0000)]
Reworked source parser for termlists in .abs-file. Added 'first'
function that returns position of a needle in haystack.

19 years agoFix leak data1_iconv
Adam Dickmeiss [Mon, 17 Jan 2005 22:12:34 +0000 (22:12 +0000)]
Fix leak data1_iconv

19 years agoMoved AC_CHECK_HEADERS near top. Added unistd.h in check
Adam Dickmeiss [Mon, 17 Jan 2005 18:58:10 +0000 (18:58 +0000)]
Moved AC_CHECK_HEADERS near top. Added unistd.h in check

19 years agoFix bug #249: rstemp sets fail. Problem was that rset files were
Adam Dickmeiss [Mon, 17 Jan 2005 01:21:43 +0000 (01:21 +0000)]
Fix bug #249: rstemp sets fail. Problem was that rset files were
closed when they shouldn't. Added function rfd_is_last that returns
1 if the RSFD supplied is the last one; 0 otherwise.
Added a use_list member in the RSET which is a list of RSFDs in an
RSET (opposite of free_list).  This means we can track RSFD leaks.

19 years agoWS update
Adam Dickmeiss [Mon, 17 Jan 2005 01:16:37 +0000 (01:16 +0000)]
WS update

19 years agoWS updates. Fix rstemp file open
Adam Dickmeiss [Mon, 17 Jan 2005 00:01:51 +0000 (00:01 +0000)]
WS updates. Fix rstemp file open

19 years agoAdded include stdlib.h
Adam Dickmeiss [Sun, 16 Jan 2005 23:38:34 +0000 (23:38 +0000)]
Added include stdlib.h

19 years agoAdded stdlib.h again
Adam Dickmeiss [Sun, 16 Jan 2005 23:33:31 +0000 (23:33 +0000)]
Added stdlib.h again

19 years agoInclude sys/types.h instead of stdlib.h
Adam Dickmeiss [Sun, 16 Jan 2005 23:28:16 +0000 (23:28 +0000)]
Include sys/types.h instead of stdlib.h

19 years agoAdded include stdlib.h a few places to get prototype for atoi/exit/..
Adam Dickmeiss [Sun, 16 Jan 2005 23:14:56 +0000 (23:14 +0000)]
Added include stdlib.h a few places to get prototype for atoi/exit/..

19 years agoAdded more Doxygen comments
Adam Dickmeiss [Sun, 16 Jan 2005 23:14:27 +0000 (23:14 +0000)]
Added more Doxygen comments

19 years agoAdd include sys/types.h to get off_t
Adam Dickmeiss [Sun, 16 Jan 2005 23:13:06 +0000 (23:13 +0000)]
Add include sys/types.h to get off_t

19 years agoAdded make cvs2cl that makes Changelog from CVS in Zebra 1.4 series
Adam Dickmeiss [Sun, 16 Jan 2005 20:19:20 +0000 (20:19 +0000)]
Added make cvs2cl that makes Changelog from CVS in Zebra 1.4 series

19 years agoWS update
Adam Dickmeiss [Sun, 16 Jan 2005 01:22:14 +0000 (01:22 +0000)]
WS update

19 years agoBundle zlib1.dll
Adam Dickmeiss [Sun, 16 Jan 2005 00:30:59 +0000 (00:30 +0000)]
Bundle zlib1.dll

19 years agoUpgrade to Expat-1.95.8
Adam Dickmeiss [Sun, 16 Jan 2005 00:27:54 +0000 (00:27 +0000)]
Upgrade to Expat-1.95.8

19 years agoCopy all DLLs from YAZBINDIR. Add rule to copy iconv.dll automatically
Adam Dickmeiss [Sun, 16 Jan 2005 00:00:29 +0000 (00:00 +0000)]
Copy all DLLs from YAZBINDIR. Add rule to copy iconv.dll automatically

19 years agoFix spelling that made WIN32 comp. fail
Adam Dickmeiss [Sat, 15 Jan 2005 22:13:14 +0000 (22:13 +0000)]
Fix spelling that made WIN32 comp. fail

19 years agoA few Doxygen doc entries
Adam Dickmeiss [Sat, 15 Jan 2005 22:10:16 +0000 (22:10 +0000)]
A few Doxygen doc entries

19 years agoRenamed Set utility to DFASet, since this is tied to the DFA module.
Adam Dickmeiss [Sat, 15 Jan 2005 21:45:42 +0000 (21:45 +0000)]
Renamed Set utility to DFASet, since this is tied to the DFA module.
Renamed include/set.h to include/dfaset.h.
Using YAZ_BEGIN_CDECL for public headers.
Removed str.h . It is not used anywhere.

19 years agoAdded Doxyfile.
Adam Dickmeiss [Sat, 15 Jan 2005 21:43:40 +0000 (21:43 +0000)]
Added Doxyfile.

19 years agoFixed bug #165: Use multi-and and multi-or always. WS cleanups.
Adam Dickmeiss [Sat, 15 Jan 2005 20:47:15 +0000 (20:47 +0000)]
Fixed bug #165: Use multi-and and multi-or always. WS cleanups.

19 years agoWS change. (not code changes)
Adam Dickmeiss [Sat, 15 Jan 2005 19:56:54 +0000 (19:56 +0000)]
WS change. (not code changes)

19 years agoBump year
Adam Dickmeiss [Sat, 15 Jan 2005 19:42:07 +0000 (19:42 +0000)]
Bump year

19 years agoBump year. Change Aps->ApS
Adam Dickmeiss [Sat, 15 Jan 2005 19:38:17 +0000 (19:38 +0000)]
Bump year. Change Aps->ApS

19 years agoFixed bug #160: rpn_search_APT_and_list hard-codes a limit of 60.
Adam Dickmeiss [Sat, 15 Jan 2005 19:22:27 +0000 (19:22 +0000)]
Fixed bug #160: rpn_search_APT_and_list hard-codes a limit of 60.
The limit is still a hard-limit. Now set to TERM_LIST_LENGHT_MAX = 256.
Code checks for limit so no vulerabilities.

19 years agoPre C-99 declarations.
Adam Dickmeiss [Sat, 15 Jan 2005 18:53:46 +0000 (18:53 +0000)]
Pre C-99 declarations.

19 years agoFixed bug #113: Compress upper nodes in isam-b.
Adam Dickmeiss [Sat, 15 Jan 2005 18:43:05 +0000 (18:43 +0000)]
Fixed bug #113: Compress upper nodes in isam-b.

19 years agoFixed bug #161: Fix Zebra compile on Windows
Adam Dickmeiss [Sat, 15 Jan 2005 13:18:17 +0000 (13:18 +0000)]
Fixed bug #161: Fix Zebra compile on Windows

19 years agoUse ifdef IDZEBRA_STATIC_GRS_SGML for grs.sgml filter
Adam Dickmeiss [Sat, 15 Jan 2005 13:14:54 +0000 (13:14 +0000)]
Use ifdef IDZEBRA_STATIC_GRS_SGML for grs.sgml filter

19 years agoAdded a few (zint)->(int) casts
Adam Dickmeiss [Sat, 15 Jan 2005 13:03:29 +0000 (13:03 +0000)]
Added a few (zint)->(int) casts

19 years agoFix compilation error that occurs when HAVE_MKSTEMP is not set
Adam Dickmeiss [Sat, 15 Jan 2005 13:02:40 +0000 (13:02 +0000)]
Fix compilation error that occurs when HAVE_MKSTEMP is not set

19 years agoUse strchr instead of index
Adam Dickmeiss [Sat, 15 Jan 2005 13:01:49 +0000 (13:01 +0000)]
Use strchr instead of index

19 years agoDo not print meta section for empty titles
Adam Dickmeiss [Fri, 14 Jan 2005 09:52:42 +0000 (09:52 +0000)]
Do not print meta section for empty titles

19 years agoWS changes
Adam Dickmeiss [Thu, 13 Jan 2005 11:55:02 +0000 (11:55 +0000)]
WS changes

19 years agoFactor out listener address.
Adam Dickmeiss [Wed, 12 Jan 2005 09:58:24 +0000 (09:58 +0000)]
Factor out listener address.

19 years agoFix log that could print NULL term
Adam Dickmeiss [Tue, 11 Jan 2005 14:03:04 +0000 (14:03 +0000)]
Fix log that could print NULL term

19 years agoFirst version of the unified isam interface. Still some FIXME's around
Heikki Levanto [Fri, 7 Jan 2005 16:53:39 +0000 (16:53 +0000)]
First version of the unified isam interface. Still some FIXME's around

19 years agoFixed bug #245
Adam Dickmeiss [Fri, 7 Jan 2005 14:44:54 +0000 (14:44 +0000)]
Fixed bug #245

19 years agoRemoved an unnecessary declaration that gave a warning
Heikki Levanto [Thu, 6 Jan 2005 11:13:10 +0000 (11:13 +0000)]
Removed an unnecessary declaration that gave a warning

19 years agoDo not include dlfcn.h
Adam Dickmeiss [Wed, 5 Jan 2005 00:13:20 +0000 (00:13 +0000)]
Do not include dlfcn.h

19 years agoCheck for dlfcn.h presence
Adam Dickmeiss [Wed, 5 Jan 2005 00:10:19 +0000 (00:10 +0000)]
Check for dlfcn.h presence

19 years agoAdd examples/marc21/Makefile
Adam Dickmeiss [Tue, 4 Jan 2005 23:12:34 +0000 (23:12 +0000)]
Add examples/marc21/Makefile

19 years agoMake marc21 example part of dist
Adam Dickmeiss [Tue, 4 Jan 2005 20:03:11 +0000 (20:03 +0000)]
Make marc21 example part of dist

19 years agoMake marc21.abs part of dist
Adam Dickmeiss [Tue, 4 Jan 2005 20:02:54 +0000 (20:02 +0000)]
Make marc21.abs part of dist

19 years agoRemove unset var
Adam Dickmeiss [Tue, 4 Jan 2005 20:00:20 +0000 (20:00 +0000)]
Remove unset var

19 years agoMake default value for local r
Adam Dickmeiss [Tue, 4 Jan 2005 19:59:59 +0000 (19:59 +0000)]
Make default value for local r

19 years agoAdded text
Sebastian Hammer [Tue, 4 Jan 2005 19:10:29 +0000 (19:10 +0000)]
Added text

19 years agoAdded description of 'melm' directive in absyn file
Sebastian Hammer [Tue, 4 Jan 2005 19:08:24 +0000 (19:08 +0000)]
Added description of 'melm' directive in absyn file

19 years agoAdded Marc21 examples
Sebastian Hammer [Tue, 4 Jan 2005 17:03:22 +0000 (17:03 +0000)]
Added Marc21 examples

19 years agoAdded entries for melm/marc21
Sebastian Hammer [Tue, 4 Jan 2005 16:50:03 +0000 (16:50 +0000)]
Added entries for melm/marc21

19 years agoAdded commentary
Sebastian Hammer [Tue, 4 Jan 2005 16:48:03 +0000 (16:48 +0000)]
Added commentary

19 years agoAdded Bath-based (level 1) config file for marcxml
Sebastian Hammer [Tue, 4 Jan 2005 16:44:29 +0000 (16:44 +0000)]
Added Bath-based (level 1) config file for marcxml

19 years agoAdded support for 'melm' directive
Sebastian Hammer [Tue, 4 Jan 2005 16:28:34 +0000 (16:28 +0000)]
Added support for 'melm' directive

19 years agoCast pid type to long for printf format
Adam Dickmeiss [Mon, 3 Jan 2005 19:33:22 +0000 (19:33 +0000)]
Cast pid type to long for printf format

19 years agoCast to unsigned char for ctype is.. compare
Adam Dickmeiss [Mon, 3 Jan 2005 19:27:53 +0000 (19:27 +0000)]
Cast to unsigned char for ctype is.. compare

19 years agoUse UTF-8 char in search
Adam Dickmeiss [Mon, 3 Jan 2005 12:10:23 +0000 (12:10 +0000)]
Use UTF-8 char in search

19 years agoUse unix:socket instead of localhost:9901
Adam Dickmeiss [Mon, 3 Jan 2005 12:08:04 +0000 (12:08 +0000)]
Use unix:socket instead of localhost:9901

19 years agoFixed bug #246
Adam Dickmeiss [Mon, 3 Jan 2005 11:02:42 +0000 (11:02 +0000)]
Fixed bug #246

19 years agoFix odd/even delete test
Adam Dickmeiss [Mon, 3 Jan 2005 09:23:25 +0000 (09:23 +0000)]
Fix odd/even delete test

19 years agoAssume PID file has been created just after server has started
Adam Dickmeiss [Mon, 3 Jan 2005 09:19:26 +0000 (09:19 +0000)]
Assume PID file has been created just after server has started

19 years agoProper assert for sub entry size
Adam Dickmeiss [Sun, 2 Jan 2005 23:24:07 +0000 (23:24 +0000)]
Proper assert for sub entry size

19 years agoUse YAZ GFS PID file instead of zebrasrv.pid
Adam Dickmeiss [Sun, 2 Jan 2005 23:21:31 +0000 (23:21 +0000)]
Use YAZ GFS PID file instead of zebrasrv.pid

19 years agoFix use of sscanf for zint
Adam Dickmeiss [Sun, 2 Jan 2005 23:03:58 +0000 (23:03 +0000)]
Fix use of sscanf for zint