idzebra-moved-to-github.git
18 years agoRemove unneeded debug logs
Adam Dickmeiss [Tue, 9 May 2006 08:12:22 +0000 (08:12 +0000)]
Remove unneeded debug logs

18 years agoadded spots for missing statistics: size_docs_field no_docs_field no_docs_database...
Marc Cromme [Mon, 8 May 2006 14:03:16 +0000 (14:03 +0000)]
added spots for missing statistics:  size_docs_field no_docs_field no_docs_database size_docs_database no_terms_field

18 years agoadded doxygen rules
Marc Cromme [Mon, 8 May 2006 12:09:49 +0000 (12:09 +0000)]
added doxygen rules
make dox
make showdox

18 years agoadded hit count in ressultset
Marc Cromme [Mon, 8 May 2006 10:09:07 +0000 (10:09 +0000)]
added hit count in ressultset
corrected yaz logging which complained over wrong types on ADM 64

18 years agoFor buildconf.sh -d, add -Wdeclaration-after-statement
Adam Dickmeiss [Fri, 5 May 2006 17:19:38 +0000 (17:19 +0000)]
For buildconf.sh -d, add -Wdeclaration-after-statement

18 years agoAvoid declaration after statement
Adam Dickmeiss [Fri, 5 May 2006 17:18:50 +0000 (17:18 +0000)]
Avoid declaration after statement

18 years agoLog when a file is opened using data1 system
Adam Dickmeiss [Fri, 5 May 2006 13:17:34 +0000 (13:17 +0000)]
Log when a file is opened using data1 system

18 years agoAdded two YAZ_EXPORTS
Adam Dickmeiss [Fri, 5 May 2006 09:15:11 +0000 (09:15 +0000)]
Added two YAZ_EXPORTS

18 years agoImplement functions to get register usage statistics:
Adam Dickmeiss [Fri, 5 May 2006 09:14:02 +0000 (09:14 +0000)]
Implement functions to get register usage statistics:
mf_area_directory_stat, bfs_{register,shadow}_directory_stat.

18 years agoAdded prototype recTypeClass_load_modules
Adam Dickmeiss [Fri, 5 May 2006 09:12:21 +0000 (09:12 +0000)]
Added prototype recTypeClass_load_modules

18 years agoBy default, no searching for loadable modules is performed unless
Adam Dickmeiss [Fri, 5 May 2006 07:34:25 +0000 (07:34 +0000)]
By default, no searching for loadable modules is performed unless
modulePath is defined.

18 years agoadded more statistics to rank function, renamed variables to better names
Marc Cromme [Thu, 4 May 2006 10:11:09 +0000 (10:11 +0000)]
added more statistics to rank function, renamed variables to better names

18 years agoadded statistics to similarity rank function
Marc Cromme [Wed, 3 May 2006 13:55:20 +0000 (13:55 +0000)]
added statistics to similarity rank function

18 years agoadded coment on magic number 34 which is sqrroot of 1000
Marc Cromme [Wed, 3 May 2006 13:26:12 +0000 (13:26 +0000)]
added coment on magic number 34 which is sqrroot of 1000

18 years agoremoved emacs trailer
Marc Cromme [Wed, 3 May 2006 09:42:39 +0000 (09:42 +0000)]
removed emacs trailer

18 years agoadded new ranking function rank-similar in ranksimilar.c
Marc Cromme [Wed, 3 May 2006 09:31:25 +0000 (09:31 +0000)]
added new ranking function rank-similar in ranksimilar.c
moved ranking related declarations from header index.h to header rank.h

18 years agoCompleted revision of text.
Mike Taylor [Tue, 2 May 2006 12:55:18 +0000 (12:55 +0000)]
Completed revision of text.

18 years agoRolling mods to Marc's new ranking prose. (Check in early, check in
Mike Taylor [Tue, 2 May 2006 12:23:02 +0000 (12:23 +0000)]
Rolling mods to Marc's new ranking prose.  (Check in early, check in
often, to reduce conflicts if Adam is also working on this.  Actually,
if he is, and if my checking happens first, then there will still be
conflicts but I will have shifted them onto Adam, as whoever checks in
second has to resolve the problems.  So I should have said that this
checkin is in order to shift/reduce conflicts :-)

18 years agoadded possibility to display static rank information in output of xslt and alvis...
Marc Cromme [Tue, 2 May 2006 08:27:43 +0000 (08:27 +0000)]
added possibility to display static rank information in output of xslt and alvis filter. Added member staticrank to recRetrieveCtrl.

18 years agoadded warning on clash betwen @attr 2=102 and @attr 9= some number
Marc Cromme [Mon, 1 May 2006 13:07:40 +0000 (13:07 +0000)]
added warning on clash betwen @attr 2=102 and @attr 9=  some number

18 years agoadded section on static and dynamic ranking, versus sorting
Marc Cromme [Mon, 1 May 2006 12:59:33 +0000 (12:59 +0000)]
added section on static and dynamic ranking, versus sorting

18 years agoExperiment with combined shared lib libidzebra-all.la. Create
Adam Dickmeiss [Mon, 1 May 2006 08:27:20 +0000 (08:27 +0000)]
Experiment with combined shared lib libidzebra-all.la. Create
two programs zebraidx2, zebrasrv2 using it.

18 years agoFix shell test. Use = rather than == (not portable)
Adam Dickmeiss [Fri, 28 Apr 2006 18:50:48 +0000 (18:50 +0000)]
Fix shell test. Use = rather than == (not portable)

18 years agomake distcheck works now
Marc Cromme [Thu, 27 Apr 2006 20:40:41 +0000 (20:40 +0000)]
make distcheck works now

===============================================
idzebra-1.4.0 archives ready for distribution:
idzebra-1.4.0.tar.gz
===============================================

18 years agobypassing checks when running make distcheck
Marc Cromme [Thu, 27 Apr 2006 10:52:26 +0000 (10:52 +0000)]
bypassing checks when running make distcheck

18 years agochanged xslt filter to expand config file and xslt stylesheet file names according...
Marc Cromme [Wed, 26 Apr 2006 13:27:16 +0000 (13:27 +0000)]
changed xslt filter to expand config file and xslt stylesheet file names according to profilePath setting in zebra.cfg. Added setting of profilepath in xslt tests to include $(srcdir), thus making make target distcheck succeed for xslt tests.

18 years agoChange config function in recType interface to return ZEBRA_RES
Adam Dickmeiss [Wed, 26 Apr 2006 11:12:31 +0000 (11:12 +0000)]
Change config function in recType interface to return ZEBRA_RES
to signal success/failure.

18 years agoCopy files rather than symlink
Adam Dickmeiss [Wed, 26 Apr 2006 11:08:41 +0000 (11:08 +0000)]
Copy files rather than symlink

18 years agooptimize for C source code
Marc Cromme [Wed, 26 Apr 2006 11:03:13 +0000 (11:03 +0000)]
optimize for C source code

18 years agoAccept NULL value for sysno in zebra_delete_record
Adam Dickmeiss [Tue, 25 Apr 2006 19:37:21 +0000 (19:37 +0000)]
Accept NULL value for sysno in zebra_delete_record

18 years agoImplemented special retrieval _storekeys_ which returns record keys
Adam Dickmeiss [Tue, 25 Apr 2006 13:52:38 +0000 (13:52 +0000)]
Implemented special retrieval _storekeys_ which returns record keys

18 years agoreverted to Emacs sgml mode
Marc Cromme [Tue, 25 Apr 2006 12:26:26 +0000 (12:26 +0000)]
reverted to Emacs sgml mode

18 years agoadded configuraiton output
Marc Cromme [Mon, 24 Apr 2006 13:23:15 +0000 (13:23 +0000)]
added configuraiton output

18 years agoinserted Emacs nxml-mode in bottom of XML file
Marc Cromme [Mon, 24 Apr 2006 12:53:02 +0000 (12:53 +0000)]
inserted Emacs nxml-mode in bottom of XML file

18 years agoRemoved.
Adam Dickmeiss [Thu, 20 Apr 2006 11:08:59 +0000 (11:08 +0000)]
Removed.

18 years agoFix dependancy of tkl.xsl
Adam Dickmeiss [Thu, 20 Apr 2006 11:08:55 +0000 (11:08 +0000)]
Fix dependancy of tkl.xsl

18 years agoUpdated to use doc/common (id-docbook-common)
Adam Dickmeiss [Thu, 20 Apr 2006 10:25:17 +0000 (10:25 +0000)]
Updated to use doc/common (id-docbook-common)

18 years agozebra_lock_create() now logs an error and returns a null pointer if
Mike Taylor [Thu, 13 Apr 2006 12:42:57 +0000 (12:42 +0000)]
zebra_lock_create() now logs an error and returns a null pointer if
the lock fails, rather then as previously seggy-faulting on a null
indirection.  This happens if, for example, you do "zebraidx init"
using a configuration that asks for the lock-files to be put into a
non-existent directory.

18 years agoCreate register+shadow for t15
Adam Dickmeiss [Wed, 5 Apr 2006 02:52:31 +0000 (02:52 +0000)]
Create register+shadow for t15

18 years agoIn zebra_commit_ex handle better the case where bfs cannot be created
Adam Dickmeiss [Wed, 5 Apr 2006 02:52:11 +0000 (02:52 +0000)]
In zebra_commit_ex handle better the case where bfs cannot be created

18 years agoRenamed fileExtract to zebra_extract_file.. The new function returns
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.

18 years agoAdded ZEBRA_CHECK_HANDLE(zh) which returns ZEBRA_FAIL if handle is
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.

18 years agoAdded zebra15.cfg for t15
Adam Dickmeiss [Wed, 5 Apr 2006 02:03:33 +0000 (02:03 +0000)]
Added zebra15.cfg for t15

18 years agoRemove mf_unlink_name
Adam Dickmeiss [Wed, 5 Apr 2006 02:02:36 +0000 (02:02 +0000)]
Remove mf_unlink_name

18 years agoAdded check for sys/wait.h
Adam Dickmeiss [Wed, 5 Apr 2006 02:01:21 +0000 (02:01 +0000)]
Added check for sys/wait.h

18 years agoDoxygen comments
Adam Dickmeiss [Tue, 4 Apr 2006 00:10:09 +0000 (00:10 +0000)]
Doxygen comments

18 years agoMore consistent Doxygen comment usage
Adam Dickmeiss [Tue, 4 Apr 2006 00:09:51 +0000 (00:09 +0000)]
More consistent Doxygen comment usage

18 years agoDon't exit in dir_open.
Adam Dickmeiss [Tue, 4 Apr 2006 00:09:00 +0000 (00:09 +0000)]
Don't exit in dir_open.

18 years agoAdded test which reproduces the error with shadow files being deleted
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.

18 years agoFor testlib programs argv[1] holds log level (if given). argv[2]
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.

18 years agoFix the way we delete the shadow files after a "succesful" commit
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..

18 years agoMissing tst function
Adam Dickmeiss [Fri, 31 Mar 2006 16:02:56 +0000 (16:02 +0000)]
Missing tst function

18 years agoUse GCC attribute warn_unsed_result for a few of the most important
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.

18 years agoIn zebra_register_open, only call zebraExplain_open if all previous
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).

18 years agoidzebra.m4 moved to sub directory m4
Adam Dickmeiss [Thu, 30 Mar 2006 18:00:51 +0000 (18:00 +0000)]
idzebra.m4 moved to sub directory m4

18 years agoAdd extra argument to zebraExplain_lookup_ord so that we can get
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.

18 years agoFixup data1 tags which makes XML non-wellformed.. This effectively
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">.

18 years agoFixed bug #549: Typo in makefile WRTP alvis filter
Adam Dickmeiss [Wed, 29 Mar 2006 08:38:45 +0000 (08:38 +0000)]
Fixed bug #549: Typo in makefile WRTP alvis filter

18 years agoMove to automake 1.8/1.9
Adam Dickmeiss [Tue, 28 Mar 2006 17:03:55 +0000 (17:03 +0000)]
Move to automake 1.8/1.9

18 years agoAllow no default.idx at all. Make zebra_maps_read_file public.
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.

18 years agoGet rid of unsed variable active in struct zebra_register.
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.

18 years agoFix zebra_maps_open not to leak if default.idx cannot be found
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

18 years agoReturn error (0) rather than exit for bad dict header (magic)
Adam Dickmeiss [Sun, 26 Mar 2006 14:03:18 +0000 (14:03 +0000)]
Return error (0) rather than exit for bad dict header (magic)

18 years agoAllow dict_close of 0 pointer
Adam Dickmeiss [Sun, 26 Mar 2006 14:02:49 +0000 (14:02 +0000)]
Allow dict_close of 0 pointer

18 years agoFix logging of record type
Adam Dickmeiss [Sat, 25 Mar 2006 21:18:09 +0000 (21:18 +0000)]
Fix logging of record type

18 years agoUse grs.sgml rather than grs.xml in test t13
Adam Dickmeiss [Sat, 25 Mar 2006 21:17:40 +0000 (21:17 +0000)]
Use grs.sgml rather than grs.xml in test t13

18 years agoUsing yaz/test.h. Test for zebra without config
Adam Dickmeiss [Sat, 25 Mar 2006 15:34:07 +0000 (15:34 +0000)]
Using yaz/test.h. Test for zebra without config

18 years agoUsing yaz/test.h
Adam Dickmeiss [Sat, 25 Mar 2006 15:33:43 +0000 (15:33 +0000)]
Using yaz/test.h

18 years agoMinor leak fixes - in case if zebra_register_open fail.
Adam Dickmeiss [Sat, 25 Mar 2006 15:33:29 +0000 (15:33 +0000)]
Minor leak fixes - in case if zebra_register_open fail.

18 years agoMake log_level static
Adam Dickmeiss [Sat, 25 Mar 2006 10:06:55 +0000 (10:06 +0000)]
Make log_level static

18 years agoFix windows logging .. Call _locking repeatedly .. Becuase Windows gives up
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.

18 years agoMake variable static rather than public
Adam Dickmeiss [Thu, 23 Mar 2006 20:40:31 +0000 (20:40 +0000)]
Make variable static rather than public

18 years agoAdded a few log calls in flock util
Adam Dickmeiss [Thu, 23 Mar 2006 20:38:00 +0000 (20:38 +0000)]
Added a few log calls in flock util

18 years agoMinor
Adam Dickmeiss [Thu, 23 Mar 2006 17:50:17 +0000 (17:50 +0000)]
Minor

18 years agoRefactor tests for WIN32/pthread
Adam Dickmeiss [Thu, 23 Mar 2006 17:32:03 +0000 (17:32 +0000)]
Refactor tests for WIN32/pthread

18 years agoWIN32 flock test
Adam Dickmeiss [Thu, 23 Mar 2006 12:07:12 +0000 (12:07 +0000)]
WIN32 flock test

18 years agoExport flock functions
Adam Dickmeiss [Thu, 23 Mar 2006 12:06:37 +0000 (12:06 +0000)]
Export flock functions

18 years agoMoved file locking utilities from index/lockutil.c to util/flock.c
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.

18 years agoMore interesting case using recordId
Adam Dickmeiss [Thu, 23 Mar 2006 09:13:47 +0000 (09:13 +0000)]
More interesting case using recordId

18 years agoSafari filter uses register type 0 (raw).
Adam Dickmeiss [Tue, 21 Mar 2006 14:36:22 +0000 (14:36 +0000)]
Safari filter uses register type 0 (raw).

18 years agoFix printf()-format mismatch error, %d/zint.
Mike Taylor [Mon, 20 Mar 2006 15:17:30 +0000 (15:17 +0000)]
Fix printf()-format mismatch error, %d/zint.

18 years agoList more required packages.
Mike Taylor [Mon, 20 Mar 2006 09:41:08 +0000 (09:41 +0000)]
List more required packages.

18 years agoDocumentation only.
Mike Taylor [Mon, 20 Mar 2006 09:30:13 +0000 (09:30 +0000)]
Documentation only.

18 years agozebra_register_open() now fails if zebra_maps_open() returns a null pointer.
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.

18 years agoThe static function zebra_map_read() now takes an additional boolean
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.

18 years agoComments on ZeeRex.
Mike Taylor [Wed, 8 Mar 2006 10:47:37 +0000 (10:47 +0000)]
Comments on ZeeRex.
Remove extraneous vertical space in <screen> sections.

18 years agoadded additional explanations on record aupdate parameters
Marc Cromme [Sat, 4 Mar 2006 21:39:20 +0000 (21:39 +0000)]
added additional explanations on record aupdate parameters

18 years agoadded seb's nice PHP extended service code snippet
Marc Cromme [Sat, 4 Mar 2006 21:07:57 +0000 (21:07 +0000)]
added seb's nice PHP extended service code snippet

18 years agoAdd the wonderful _CRT_SECURE_NO_DEPRECATE
Adam Dickmeiss [Thu, 23 Feb 2006 14:43:13 +0000 (14:43 +0000)]
Add the wonderful _CRT_SECURE_NO_DEPRECATE

18 years agoEnable xslt+alvis only if libxslt is present.
Adam Dickmeiss [Thu, 23 Feb 2006 14:41:15 +0000 (14:41 +0000)]
Enable xslt+alvis only if libxslt is present.

18 years agoFixup test, due to Zebra returning unsupported use attribute for
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.

18 years agoatt_getentbyatt returns "bad use attribtute" if string attribute is
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.

18 years agoEnsure zebra_start fails if bad .cfg is passed.
Adam Dickmeiss [Tue, 21 Feb 2006 15:23:11 +0000 (15:23 +0000)]
Ensure zebra_start fails if bad .cfg is passed.

18 years agoadded more text on GRS and Alvis filters
Marc Cromme [Tue, 21 Feb 2006 14:54:25 +0000 (14:54 +0000)]
added more text on GRS and Alvis filters

18 years agoMake proper flag for memory read(raw_reading) and file reading
Adam Dickmeiss [Mon, 20 Feb 2006 18:40:23 +0000 (18:40 +0000)]
Make proper flag for memory read(raw_reading) and file reading

18 years agoHandle negative staticranks returned by filters.. Issue warning and
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.

18 years agoMore testing of iscz1_{de,en}code
Adam Dickmeiss [Mon, 20 Feb 2006 18:33:09 +0000 (18:33 +0000)]
More testing of iscz1_{de,en}code

18 years agoFixed bug #472: dumpdict is broken.
Adam Dickmeiss [Mon, 20 Feb 2006 12:41:42 +0000 (12:41 +0000)]
Fixed bug #472: dumpdict is broken.

18 years agoHandle unknown register type in zebra_term_untrans
Adam Dickmeiss [Mon, 20 Feb 2006 12:38:42 +0000 (12:38 +0000)]
Handle unknown register type in zebra_term_untrans

18 years agoFix HTMLFILES again. Avoid dependency on zebra.xml.
Adam Dickmeiss [Mon, 20 Feb 2006 07:13:31 +0000 (07:13 +0000)]
Fix HTMLFILES again. Avoid dependency on zebra.xml.