idzebra-moved-to-github.git
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

19 years agoFix problem with codec check
Adam Dickmeiss [Sun, 2 Jan 2005 20:11:46 +0000 (20:11 +0000)]
Fix problem with codec check

19 years agoSwap functions - minor changes to compare tst function
Adam Dickmeiss [Sun, 2 Jan 2005 18:51:31 +0000 (18:51 +0000)]
Swap functions - minor changes to compare tst function

19 years agoAllow ISAMB_PTR_CODEC=0 to work
Adam Dickmeiss [Sun, 2 Jan 2005 18:50:53 +0000 (18:50 +0000)]
Allow ISAMB_PTR_CODEC=0 to work

19 years agoChange character conversion steps for grs record retrieval. By
Adam Dickmeiss [Tue, 21 Dec 2004 22:02:28 +0000 (22:02 +0000)]
Change character conversion steps for grs record retrieval. By
default, MARC records and other unstructured types as far as Z39.50
is concerned do not exposed to character set conversion unless
charneg is in effect (and records selected is YES).

19 years agoAdded zebra_octet_term_encoding that specifies encoding for search
Adam Dickmeiss [Tue, 21 Dec 2004 22:00:57 +0000 (22:00 +0000)]
Added zebra_octet_term_encoding that specifies encoding for search
octet string search terms. Default record encoding is NULL - not
ISO-8859-1. This potentially breaks some applications, but it allows
for _no_ character set conversion for MARC records and others.

19 years agoDont log each indexed entry
Adam Dickmeiss [Tue, 21 Dec 2004 21:55:58 +0000 (21:55 +0000)]
Dont log each indexed entry

19 years agoAdd currentdir . to profilePath
Adam Dickmeiss [Tue, 21 Dec 2004 17:18:29 +0000 (17:18 +0000)]
Add currentdir . to profilePath

19 years agoFixed bug #241: Zebra 1.4 Modules fails to link. Bug was caused
Adam Dickmeiss [Sat, 18 Dec 2004 21:56:34 +0000 (21:56 +0000)]
Fixed bug #241: Zebra 1.4 Modules fails to link. Bug was caused
by nonportable use of tr.

19 years agoAdded case for bug #235. Submitted by Roel de Cock.
Adam Dickmeiss [Wed, 15 Dec 2004 13:07:07 +0000 (13:07 +0000)]
Added case for bug #235. Submitted by Roel de Cock.

19 years agoGet rid of tex messages
Adam Dickmeiss [Wed, 15 Dec 2004 09:10:47 +0000 (09:10 +0000)]
Get rid of tex messages

19 years agoCheck for filter grs.xml when appropriate
Adam Dickmeiss [Tue, 14 Dec 2004 11:23:32 +0000 (11:23 +0000)]
Check for filter grs.xml when appropriate

19 years agoAdded utility check_filter which checks for filter and exit(0)
Adam Dickmeiss [Tue, 14 Dec 2004 11:23:15 +0000 (11:23 +0000)]
Added utility check_filter which checks for filter and exit(0)
if it does not exist - but warns in log.

19 years agoDo not run rusmarc test if koi8-r to utf-8 is unsupported
Adam Dickmeiss [Tue, 14 Dec 2004 10:53:49 +0000 (10:53 +0000)]
Do not run rusmarc test if koi8-r to utf-8 is unsupported

19 years agoAdded a declaration for get_srcdir
Heikki Levanto [Tue, 14 Dec 2004 10:37:25 +0000 (10:37 +0000)]
Added a declaration for get_srcdir

19 years agoIncluding log.h to avoid a warning
Heikki Levanto [Tue, 14 Dec 2004 10:30:42 +0000 (10:30 +0000)]
Including log.h to avoid a warning

19 years agoAdded
Adam Dickmeiss [Tue, 14 Dec 2004 09:49:24 +0000 (09:49 +0000)]
Added

19 years agoAdded test/espec
Adam Dickmeiss [Tue, 14 Dec 2004 09:47:55 +0000 (09:47 +0000)]
Added test/espec

19 years agousing yaz/log.h again
Adam Dickmeiss [Mon, 13 Dec 2004 20:51:27 +0000 (20:51 +0000)]
using yaz/log.h again