Commit Graph

7 Commits

Author SHA1 Message Date
47e3cd0fdb New function, only write out the ibex if it has changed.
2000-05-07  NotZed  <NotZed@HelixCode.com>

        * file.c (ibex_save): New function, only write out the ibex if it
        has changed.

svn path=/trunk/; revision=2868
2000-05-07 08:49:41 +00:00
f490803d13 New function to find out if a file is indexed.
2000-05-06  NotZed  <NotZed@HelixCode.com>

        * find.c (ibex_contains_name): New function to find out if a file
        is indexed.

svn path=/trunk/; revision=2856
2000-05-07 03:57:50 +00:00
195cd8844b Debug function to dump the whole index to stdout.
2000-04-12  NotZed  <NotZed@HelixCode.com>

        * find.c (ibex_dump_all): Debug function to dump the whole index
        to stdout.

        * words.c (get_ibex_file): Use g_strdup(), not strdup().

2000-04-11  NotZed  <NotZed@HelixCode.com>

        * file.c (write_word): Always write out all words we have (even if
        its 0 ... the file expects it).  No longer check for removed files.
        (store_word): Check for removed files here, and only add to the
        ordered tree if we have references left to this word.
        (ibex_write): First insert into the tree, to determine the
        wordcount to be saved in the output file, and then write that.
        (ibex_open): Remove some debug.

        * words.c (ibex_index_buffer): Always set 'unread', if it is a
        valid pointer (dont rely on caller to initialise it).

svn path=/trunk/; revision=2409
2000-04-12 15:09:58 +00:00
03bcc319cf Fixed call to ibex_open.
2000-03-26  NotZed  <NotZed@HelixCode.com>

        * lookup.c (main): Fixed call to ibex_open.

        * mkindex.c (main): Fixed call to ibex_open.

        * file.c (ibex_open): Changed to accept flags and mode equivalent
        to open(2).

svn path=/trunk/; revision=2202
2000-03-28 00:39:36 +00:00
89fefc5c8c fix license and indent style
svn path=/trunk/; revision=1814
2000-02-17 02:10:05 +00:00
cd9df589ea Finds if a word is indexed under a given name.
2000-02-16  NotZed  <NotZed@HelixCode.com>

	* find.[ch] (ibex_find_name): Finds if a word is indexed under a
	given name.

svn path=/trunk/; revision=1812
2000-02-17 01:25:49 +00:00
add8821e99 Initial revision
svn path=/trunk/; revision=1768
2000-02-14 02:00:22 +00:00