]> mj.ucw.cz Git - libucw.git/log
libucw.git
21 years agoFinished the fb-mmap module. Basic parameters are now configurable in cf/sherlock.
Martin Mares [Sun, 6 Oct 2002 15:43:40 +0000 (15:43 +0000)]
Finished the fb-mmap module. Basic parameters are now configurable in cf/sherlock.

21 years agoSquash warning with 32-bit sh_off_t.
Martin Mares [Thu, 3 Oct 2002 21:56:54 +0000 (21:56 +0000)]
Squash warning with 32-bit sh_off_t.

21 years agoOlder versions of glibc don't have madvise.
Martin Mares [Thu, 3 Oct 2002 21:03:15 +0000 (21:03 +0000)]
Older versions of glibc don't have madvise.

21 years agoAdded a temporary hack for testing of fb-mmap. Please don't turn it on
Martin Mares [Thu, 3 Oct 2002 21:02:58 +0000 (21:02 +0000)]
Added a temporary hack for testing of fb-mmap. Please don't turn it on
unless you're willing to help me with debugging fb-mmap :-)

21 years agoThe is_temp_file variable was originally a good idea, but it made
Martin Mares [Mon, 30 Sep 2002 15:10:43 +0000 (15:10 +0000)]
The is_temp_file variable was originally a good idea, but it made
different fb back-ends giving the same interface almost impossible.

I've replaced it with bconfig() which is a universal interface for
altering various fb settings. It's somewhat ioctl()-ish, but I hope
it won't hurt.

21 years agoThe fb-mmap module, now read/write. Still needs a lot of benchmarking before we decide
Martin Mares [Fri, 27 Sep 2002 21:46:28 +0000 (21:46 +0000)]
The fb-mmap module, now read/write. Still needs a lot of benchmarking before we decide
to switch the indexer to use it.

21 years agoWhen writing, the data needn't start at the beginning of the buffer.
Martin Mares [Fri, 27 Sep 2002 21:45:40 +0000 (21:45 +0000)]
When writing, the data needn't start at the beginning of the buffer.
(We need this for fb-mmap since the buffer is always page aligned.)

21 years agoRecognize not only user names, but also passwords.
Martin Mares [Thu, 26 Sep 2002 18:27:19 +0000 (18:27 +0000)]
Recognize not only user names, but also passwords.

21 years agoadded base64 module, it is imported from somewhere :))
Robert Spalek [Thu, 26 Sep 2002 13:08:48 +0000 (13:08 +0000)]
added base64 module, it is imported from somewhere :))

MJ, if you dislike the code too much, please let me know

21 years agoAfter a lot of benchmarking replaced the old super-smart bbcopy()
Martin Mares [Tue, 24 Sep 2002 21:38:21 +0000 (21:38 +0000)]
After a lot of benchmarking replaced the old super-smart bbcopy()
by a much simpler solution based on the bdirect interface and inlined
the fast path. Surprisingly, the new version is faster under real load
(the explanation is very simple: we use very large buffers for the
indexer and hence the bbcopy optimizations triggered rarely) and it also
works on all fastbuf streams, not only file-based ones.

Also, made bdirect_* inline.

21 years agoIntroduced bfdopen_shared() which behaves like bfdopen(), but on
Martin Mares [Mon, 23 Sep 2002 21:20:02 +0000 (21:20 +0000)]
Introduced bfdopen_shared() which behaves like bfdopen(), but on
bclose() the fd is left open. Especially useful for buffering stdin/out.

21 years agoDamned automatic typecasts!
Martin Mares [Mon, 23 Sep 2002 18:03:42 +0000 (18:03 +0000)]
Damned automatic typecasts!

21 years agoBetter avoid the brain-dead encoding " " as "+" when generating URL's.
Martin Mares [Mon, 23 Sep 2002 12:41:32 +0000 (12:41 +0000)]
Better avoid the brain-dead encoding " " as "+" when generating URL's.

21 years agoFix escaping of "+" characters in outgoing parameters. (BTW: when Galeon
Martin Mares [Mon, 23 Sep 2002 12:37:32 +0000 (12:37 +0000)]
Fix escaping of "+" characters in outgoing parameters. (BTW: when Galeon
displays link URL's in the status line, it unqotes them improperly!)

Use ":" as a separator instead of "&" when constructing self-ref URL's.

21 years agoOops, the card array was reversed!
Martin Mares [Mon, 23 Sep 2002 12:14:45 +0000 (12:14 +0000)]
Oops, the card array was reversed!

21 years agoForgot to commit with the rest of fastbuf changes.
Martin Mares [Mon, 23 Sep 2002 12:12:31 +0000 (12:12 +0000)]
Forgot to commit with the rest of fastbuf changes.

21 years agoAdapted to new fastbufs.
Martin Mares [Mon, 23 Sep 2002 12:11:35 +0000 (12:11 +0000)]
Adapted to new fastbufs.

21 years agoAdapted the bucket code to new fastbufs. Stream positions are now
Martin Mares [Mon, 23 Sep 2002 12:10:25 +0000 (12:10 +0000)]
Adapted the bucket code to new fastbufs. Stream positions are now
always relative to bucket start (originally it was relative to file
start which was completely unusable, and hence unused :-) ).

21 years agoMajor cleanup of fastbufs:
Martin Mares [Mon, 23 Sep 2002 12:07:15 +0000 (12:07 +0000)]
Major cleanup of fastbufs:

  o  Split generic fastbuf from low-level routines. `struct fastbuf'
     no longer contains low-level data like `fd' or `is_temp_file'.
  o  Introduced safe type casting macros to avoid programming errors.
  o  `struct fastbuf' is no longer freed by the high-level code.
  o  Documented behaviour of bflush() between reads and writes.
  o  Redefined semantics of fastbuf->pos: it now corresponds to `bstop'
     instead of `buffer', hence it always coincides with real file
     position, making `fdpos' unnecessary.

21 years agoRobert> uff, na prvni pohled nic nechapu, asi je to moc chytre :)
Martin Mares [Thu, 19 Sep 2002 18:26:37 +0000 (18:26 +0000)]
Robert> uff, na prvni pohled nic nechapu, asi je to moc chytre :)

So I decided to learn how to use POD and write a POD documentation
for the module (in usual Perl fashion, it's a part of the module).
Use perldoc or pod2${format} to view or convert it.

21 years agoDebug output now calls a given subroutine instead of print.
Martin Mares [Wed, 18 Sep 2002 10:08:32 +0000 (10:08 +0000)]
Debug output now calls a given subroutine instead of print.

21 years agoAdded functions for automatic processing of script arguments.
Martin Mares [Tue, 17 Sep 2002 22:51:55 +0000 (22:51 +0000)]
Added functions for automatic processing of script arguments.

21 years agoAdded first two functions of the Poor Man's CGI module.
Martin Mares [Fri, 6 Sep 2002 17:00:13 +0000 (17:00 +0000)]
Added first two functions of the Poor Man's CGI module.

21 years agoMore improvements of the Query module.
Martin Mares [Mon, 2 Sep 2002 20:34:52 +0000 (20:34 +0000)]
More improvements of the Query module.

21 years agoAdded a simple Perl module for connecting to search server and parsing
Martin Mares [Mon, 2 Sep 2002 19:38:09 +0000 (19:38 +0000)]
Added a simple Perl module for connecting to search server and parsing
its results to Perl data structures, converting nested structures and
multiple-valued attributes to arrays.

Also includes the print_tree function which has been originally written
as simple debugging dumper for the parsed query results, but in fact
it's able to dump any complex Perl data structure as long as it's
acyclic.

More to come, including an example (a very simple front-end for the
free version and maybe some more debugging tools).

21 years agoExport functions for explicit locking.
Martin Mares [Mon, 26 Aug 2002 15:54:20 +0000 (15:54 +0000)]
Export functions for explicit locking.

21 years agoThe shell config helper now knows how to parse multiple-valued entries
Martin Mares [Mon, 26 Aug 2002 14:41:54 +0000 (14:41 +0000)]
The shell config helper now knows how to parse multiple-valued entries
and stores them as shell arrays.

Even normal entries are now output as they are seen for the first time,
leaving all the overriding on the shell.

21 years agoAdded a quick-check mode which does bucket file checks done during normal open
Martin Mares [Mon, 26 Aug 2002 13:47:03 +0000 (13:47 +0000)]
Added a quick-check mode which does bucket file checks done during normal open
(i.e., the trailer check).

21 years agoAs usually, stuff in lib/* is LGPL'ed.
Martin Mares [Mon, 26 Aug 2002 13:32:10 +0000 (13:32 +0000)]
As usually, stuff in lib/* is LGPL'ed.

21 years agoAllow setting of default configuration file.
Martin Mares [Mon, 26 Aug 2002 13:06:19 +0000 (13:06 +0000)]
Allow setting of default configuration file.

21 years agoMoved shell script support commands to lib/shell.
Martin Mares [Fri, 23 Aug 2002 08:30:45 +0000 (08:30 +0000)]
Moved shell script support commands to lib/shell.

21 years agoAdded a Perl module for parsing options and configuration.
Martin Mares [Fri, 23 Aug 2002 08:29:59 +0000 (08:29 +0000)]
Added a Perl module for parsing options and configuration.

21 years agoAllow SEEK_END. (I plan to rewrite seek in fbmem streams, the current
Martin Mares [Fri, 23 Aug 2002 08:26:26 +0000 (08:26 +0000)]
Allow SEEK_END. (I plan to rewrite seek in fbmem streams, the current
version is awfully slow.)

21 years agoDeleted the .SECONDARY hack -- (1) it only patched the consequences, not
Martin Mares [Wed, 21 Aug 2002 09:22:20 +0000 (09:22 +0000)]
Deleted the .SECONDARY hack -- (1) it only patched the consequences, not
the real cause, (2) it broke building of scripts.

Work-around: after make distclean, run make runtree first. Make seems
to ignore rules for files in not-yet-existing directories.

21 years agoSplit bdirect_read to prepare and commit part (similarly to how
Martin Mares [Tue, 20 Aug 2002 21:55:59 +0000 (21:55 +0000)]
Split bdirect_read to prepare and commit part (similarly to how
bdirect_write already works). This allows partial processing of
read data.

21 years agoTabs are legal in attribute values.
Martin Mares [Tue, 20 Aug 2002 21:55:15 +0000 (21:55 +0000)]
Tabs are legal in attribute values.

21 years agoForgot to decrease URL_PROTO_MAX when deleting sql protocol.
Martin Mares [Tue, 20 Aug 2002 20:33:01 +0000 (20:33 +0000)]
Forgot to decrease URL_PROTO_MAX when deleting sql protocol.

21 years agoIf not debugging, compile at least ASSERT(0) as call to an unreachable
Martin Mares [Tue, 20 Aug 2002 19:04:54 +0000 (19:04 +0000)]
If not debugging, compile at least ASSERT(0) as call to an unreachable
function. (Avoid unassigned variable warnings.)

21 years agoOops, forgot WT_FILE there.
Martin Mares [Tue, 20 Aug 2002 19:03:45 +0000 (19:03 +0000)]
Oops, forgot WT_FILE there.

21 years agoNeed a cast if sh_off_t is short.
Martin Mares [Tue, 20 Aug 2002 19:03:32 +0000 (19:03 +0000)]
Need a cast if sh_off_t is short.

21 years agoForgot WT_LINK.
Martin Mares [Tue, 20 Aug 2002 18:36:37 +0000 (18:36 +0000)]
Forgot WT_LINK.

21 years agoAdded license notices to all library files which are not specific
Martin Mares [Tue, 20 Aug 2002 18:30:54 +0000 (18:30 +0000)]
Added license notices to all library files which are not specific
to Sherlock (and are often shared with other projects) -- they will
be distributed according to the LGPL.

21 years agoFinally found the cause of make remaking unnecessary files after complete
Martin Mares [Tue, 20 Aug 2002 18:14:50 +0000 (18:14 +0000)]
Finally found the cause of make remaking unnecessary files after complete
building from scratch: when it compiles anything by combining several
pattern rules (which exactly what we use), it deletes some of the intermediate
files. The fix is to specify all of these files as ".SECONDARY", but beware,
these special targets don't understand patterns, so we have to list the
intermediates explicitly. Uff.

21 years agoDeleted too much.
Martin Mares [Mon, 19 Aug 2002 22:06:59 +0000 (22:06 +0000)]
Deleted too much.

21 years agoSite compression turned to a configurable feature.
Martin Mares [Mon, 19 Aug 2002 21:16:13 +0000 (21:16 +0000)]
Site compression turned to a configurable feature.

21 years agoMoved customizations for Centrum to centrum/custom.
Martin Mares [Sun, 18 Aug 2002 09:48:38 +0000 (09:48 +0000)]
Moved customizations for Centrum to centrum/custom.

lib/custom.h now contains only generic definitions which will appear
in the freely distributable version.

21 years agoAfter discussing the future of the SQL gatherer module with Milan,
Martin Mares [Sun, 18 Aug 2002 09:33:38 +0000 (09:33 +0000)]
After discussing the future of the SQL gatherer module with Milan,
we've decided to remove it (but it still remains in the CVS history,
of course).

21 years agoCut-and-paste comments :-)
Martin Mares [Sat, 17 Aug 2002 12:01:53 +0000 (12:01 +0000)]
Cut-and-paste comments :-)

21 years agoFailed ASSERT now dumps core.
Martin Mares [Wed, 17 Jul 2002 19:14:09 +0000 (19:14 +0000)]
Failed ASSERT now dumps core.

21 years agoOops, a memory leak in the presorter.
Martin Mares [Wed, 17 Jul 2002 02:34:43 +0000 (02:34 +0000)]
Oops, a memory leak in the presorter.

21 years agoExpand shell metacharacters (most importantly "~") in destination name.
Martin Mares [Tue, 16 Jul 2002 22:04:04 +0000 (22:04 +0000)]
Expand shell metacharacters (most importantly "~") in destination name.

21 years agoNo more a development version.
Martin Mares [Tue, 16 Jul 2002 21:55:15 +0000 (21:55 +0000)]
No more a development version.

21 years agoAdded an "install" target.
Martin Mares [Tue, 16 Jul 2002 21:54:51 +0000 (21:54 +0000)]
Added an "install" target.

21 years agoOops, forgot a ')'.
Martin Mares [Fri, 12 Jul 2002 02:35:49 +0000 (02:35 +0000)]
Oops, forgot a ')'.

21 years agoWORD_TYPES_HIDDEN shouldn't be considered META by default.
Martin Mares [Fri, 12 Jul 2002 02:19:23 +0000 (02:19 +0000)]
WORD_TYPES_HIDDEN shouldn't be considered META by default.

WT_LINK shouldn't be considered accent-less. This might cause sherlockd
to fail to find matches in link texts from non-accented documents to
accented ones, but I think that it's more acceptable than producing
false matches. Unfortunately, we how no ways to describe accentedness
of a part of document text.

21 years agoadded v?xprintf() functions, they will be used in the filter dumper
Robert Spalek [Wed, 10 Jul 2002 14:47:26 +0000 (14:47 +0000)]
added v?xprintf() functions, they will be used in the filter dumper

it is usable, for example, for printf()'ing to anything (like fastbufs)

21 years agoHASH_WANT_FIND_NEXT fixed and its declaration changed
Robert Spalek [Wed, 10 Jul 2002 13:56:06 +0000 (13:56 +0000)]
HASH_WANT_FIND_NEXT fixed and its declaration changed

21 years agoadded the capability of hashing/finding more records with equal value
Robert Spalek [Wed, 10 Jul 2002 12:58:36 +0000 (12:58 +0000)]
added the capability of hashing/finding more records with equal value
of the key

22 years agoIncrease line buffer sizes to 4096 bytes. Current gatherd really can
Martin Mares [Sat, 6 Jul 2002 03:29:41 +0000 (03:29 +0000)]
Increase line buffer sizes to 4096 bytes. Current gatherd really can
produce such long lines under several circumstances, need to examine
how is that possible.

22 years agoDue to a bug, the "fsck" mode was unable to fix broken trailers.
Martin Mares [Fri, 5 Jul 2002 03:24:25 +0000 (03:24 +0000)]
Due to a bug, the "fsck" mode was unable to fix broken trailers.

22 years agoWhen an inconsistency is encountered while shaking down the bucket
Martin Mares [Fri, 5 Jul 2002 03:23:13 +0000 (03:23 +0000)]
When an inconsistency is encountered while shaking down the bucket
file, recover all data prior to the inconsistency by marking the
space between read and write pointer as deleted buckets (need to
use more of them if the space is too large).

22 years agoWhen moving attributes, don't break the chain.
Martin Mares [Thu, 27 Jun 2002 19:42:48 +0000 (19:42 +0000)]
When moving attributes, don't break the chain.

22 years agoImplemented merging of catalog attributes to the index. Just place the
Martin Mares [Sun, 23 Jun 2002 20:32:19 +0000 (20:32 +0000)]
Implemented merging of catalog attributes to the index. Just place the
catalog dump to db/catalog.gz (e.g., by running utils/fetch-cat.sh)
and run the indexer.

Unfortunately, we've just filled up all the available word types :-(

22 years agoRemoved obsolete examples of custom attributes. The image search attributes
Martin Mares [Sun, 23 Jun 2002 16:21:10 +0000 (16:21 +0000)]
Removed obsolete examples of custom attributes. The image search attributes
themselves are a good enough example.

22 years agoWhen O_APPEND is given to bopen(), don't forget to set fb->pos and fb->fdpos.
Martin Mares [Sun, 23 Jun 2002 16:01:16 +0000 (16:01 +0000)]
When O_APPEND is given to bopen(), don't forget to set fb->pos and fb->fdpos.

22 years agodmalloc and efence work again (ported from rel-2.1 branch).
Martin Mares [Sat, 22 Jun 2002 16:42:45 +0000 (16:42 +0000)]
dmalloc and efence work again (ported from rel-2.1 branch).

22 years agomalloc -> xmalloc.
Martin Mares [Wed, 19 Jun 2002 14:10:55 +0000 (14:10 +0000)]
malloc -> xmalloc.

22 years agoIntroduced SKIP_TAGGED_CHAR.
Martin Mares [Tue, 18 Jun 2002 17:37:53 +0000 (17:37 +0000)]
Introduced SKIP_TAGGED_CHAR.

22 years agoUTF8_SKIP now recognizes the real end of the UTF-8 character
Martin Mares [Tue, 18 Jun 2002 17:37:18 +0000 (17:37 +0000)]
UTF8_SKIP now recognizes the real end of the UTF-8 character
and doesn't get confused by garbage after it.

22 years agoAdded a macro UTF8_SKIP for skipping a UTF-8 character without decoding it.
Martin Mares [Fri, 14 Jun 2002 23:52:33 +0000 (23:52 +0000)]
Added a macro UTF8_SKIP for skipping a UTF-8 character without decoding it.

22 years agoNew functions for manipulating attribute lists: obj_prepend_attr()
Martin Mares [Sat, 8 Jun 2002 14:00:33 +0000 (14:00 +0000)]
New functions for manipulating attribute lists: obj_prepend_attr()
and obj_insert_attr().

22 years agoMerging IS branch: New customization code and its use for images.
Martin Mares [Sat, 8 Jun 2002 13:27:56 +0000 (13:27 +0000)]
Merging IS branch: New customization code and its use for images.

22 years agoThe universal hash table generator now uses prime table sizes instead of
Martin Mares [Sat, 8 Jun 2002 13:17:39 +0000 (13:17 +0000)]
The universal hash table generator now uses prime table sizes instead of
powers of two. This slows down all operations a little as we now need
to perform division instead of just AND-ing with a mask, but it allows
us to use the new hash functions in hashfunc.h which are significantly
faster than the original ones (at the expense of having bad distribution
modulo non-primes).

Also changed the limit logic to avoid rehashing when the table is already
too small or too large.

22 years agoSHIFT_BITS changed from 5 to 7 to fit the UCS-2 strings better
Robert Spalek [Thu, 6 Jun 2002 15:18:53 +0000 (15:18 +0000)]
SHIFT_BITS changed from 5 to 7 to fit the UCS-2 strings better

22 years agoloop unrolling turned on for hashfunc.o
Robert Spalek [Wed, 5 Jun 2002 20:28:20 +0000 (20:28 +0000)]
loop unrolling turned on for hashfunc.o

22 years agowow! i have optimized str_len_uns() yet more :-) now it is not slowed
Robert Spalek [Wed, 5 Jun 2002 20:22:17 +0000 (20:22 +0000)]
wow!  i have optimized str_len_uns() yet more :-)  now it is not slowed
down when a 0x80 byte is present.  a slight simple change.

22 years agoCONST attribute of functions noted in a better place
Robert Spalek [Tue, 4 Jun 2002 08:51:37 +0000 (08:51 +0000)]
CONST attribute of functions noted in a better place

22 years agoMoved MAX_COMPLEX_LEN to index.h.
Martin Mares [Mon, 3 Jun 2002 17:02:09 +0000 (17:02 +0000)]
Moved MAX_COMPLEX_LEN to index.h.

22 years ago- str_hash.[ch] renamed to hashfunc.[ch], the functions renamed
Robert Spalek [Mon, 3 Jun 2002 16:02:00 +0000 (16:02 +0000)]
- str_hash.[ch] renamed to hashfunc.[ch], the functions renamed
- deleted hash-{block,istring,string}.c, their functionality merged into
  hashfunc.[ch]
- str-test.c rewritten to use the new name-style, char->byte, more tests
  added

22 years ago__attribute__((const)) replaced by CONST
Robert Spalek [Mon, 3 Jun 2002 14:49:53 +0000 (14:49 +0000)]
__attribute__((const)) replaced by CONST

22 years agoIf have GET_O and GET_P, we should have PUT_O and PUT_P as well.
Martin Mares [Mon, 3 Jun 2002 14:01:25 +0000 (14:01 +0000)]
If have GET_O and GET_P, we should have PUT_O and PUT_P as well.

22 years agoPrevent multiple inclusion.
Martin Mares [Sun, 2 Jun 2002 12:53:03 +0000 (12:53 +0000)]
Prevent multiple inclusion.

22 years agoST_BACKREF is gone. Frame backlinks are not indexed at all (it makes no sense
Martin Mares [Sun, 2 Jun 2002 11:10:03 +0000 (11:10 +0000)]
ST_BACKREF is gone. Frame backlinks are not indexed at all (it makes no sense
to search by them), redirect backlinks are indexed as ST_URL.

22 years agoafter a long time of experimenting, added a support for unaligned parameters
Robert Spalek [Sat, 1 Jun 2002 09:57:07 +0000 (09:57 +0000)]
after a long time of experimenting, added a support for unaligned parameters

22 years agowhen testing benchmarks of string operations, a user specified alignment
Robert Spalek [Sat, 1 Jun 2002 09:49:43 +0000 (09:49 +0000)]
when testing benchmarks of string operations, a user specified alignment
is taken into account

22 years agoadded macro UNALIGNED_PART()
Robert Spalek [Sat, 1 Jun 2002 09:48:20 +0000 (09:48 +0000)]
added macro UNALIGNED_PART()

22 years agoWarning fixes.
Martin Mares [Fri, 31 May 2002 18:10:35 +0000 (18:10 +0000)]
Warning fixes.

22 years agoAdded a macro for __attribute__((const)).
Martin Mares [Fri, 31 May 2002 13:57:00 +0000 (13:57 +0000)]
Added a macro for __attribute__((const)).

Robert, please update your hash functions to use this.

22 years agoMake PROF_STR really work.
Martin Mares [Wed, 29 May 2002 18:57:18 +0000 (18:57 +0000)]
Make PROF_STR really work.

22 years agoIndex reftexts, but don't search in them by default.
Martin Mares [Sun, 26 May 2002 18:23:26 +0000 (18:23 +0000)]
Index reftexts, but don't search in them by default.

22 years agoAdded block hash function.
Martin Mares [Sun, 26 May 2002 16:08:47 +0000 (16:08 +0000)]
Added block hash function.

22 years agoAdded word types for file name keywords and link texts.
Martin Mares [Sun, 26 May 2002 13:11:01 +0000 (13:11 +0000)]
Added word types for file name keywords and link texts.

22 years agoDon't forget to define SHERLOCK_HAVE_PREAD.
Martin Mares [Sun, 26 May 2002 13:10:44 +0000 (13:10 +0000)]
Don't forget to define SHERLOCK_HAVE_PREAD.

22 years agoShut up signed/unsigned warnings.
Martin Mares [Sun, 26 May 2002 13:10:28 +0000 (13:10 +0000)]
Shut up signed/unsigned warnings.

22 years agoAdded bopen_tmp() for opening of temporary files.
Martin Mares [Sun, 26 May 2002 10:40:52 +0000 (10:40 +0000)]
Added bopen_tmp() for opening of temporary files.

Replaced sorter_open_tmp() by bopen_tmp().

22 years ago- added str_hash.[ch] for fast evaluation of str_len() and str_hash()
Robert Spalek [Sat, 25 May 2002 13:59:34 +0000 (13:59 +0000)]
- added str_hash.[ch] for fast evaluation of str_len() and str_hash()
- added a tester/benchmark str-test.c, it is not compiled by default

22 years agommap_file() calls die() instead of returning failure.
Martin Mares [Fri, 24 May 2002 21:15:01 +0000 (21:15 +0000)]
mmap_file() calls die() instead of returning failure.

22 years agoImage objects are now marked with a special flag and the MD5 hash is calculated
Martin Mares [Fri, 24 May 2002 17:12:44 +0000 (17:12 +0000)]
Image objects are now marked with a special flag and the MD5 hash is calculated
from both text and the thumbnail.

22 years agoAdded bget_tagged_char().
Martin Mares [Wed, 22 May 2002 16:33:47 +0000 (16:33 +0000)]
Added bget_tagged_char().

22 years agoNeed to include unicode.h for GET_UTF8.
Martin Mares [Wed, 22 May 2002 16:32:46 +0000 (16:32 +0000)]
Need to include unicode.h for GET_UTF8.