]>
mj.ucw.cz Git - libucw.git/log
Robert Spalek [Sun, 7 Jan 2001 21:21:53 +0000 (21:21 +0000)]
written parsing config files and command line parameters, untested yet
Martin Mares [Sun, 7 Jan 2001 15:07:24 +0000 (15:07 +0000)]
When checking/fixing bucket file structure, adjust exit code according
to whether the file is clean or not.
Martin Mares [Sun, 7 Jan 2001 15:00:10 +0000 (15:00 +0000)]
Added a simple utility for handling of buckets and repairing damaged
bucket files.
Martin Mares [Sun, 7 Jan 2001 14:59:35 +0000 (14:59 +0000)]
Squashed a signedness warning.
Martin Mares [Sun, 7 Jan 2001 14:58:58 +0000 (14:58 +0000)]
Added sh_ftruncate(), but it currently works only on 32-bit files,
so I've switched the default configuration to 32 bits.
Martin Mares [Sun, 7 Jan 2001 14:58:11 +0000 (14:58 +0000)]
bread() now returns the number of bytes read instead of dying when
the file is too short.
Need to be taken care of when porting old Sherlock code.
Martin Mares [Sun, 7 Jan 2001 14:56:23 +0000 (14:56 +0000)]
Use OBUCK_INCOMPLETE_MAGIC for incomplete entries.
find_first/find_next have a new option allowing to find deleted buckets.
Use sh_p(read|write) instead of p(read|write).
Martin Mares [Fri, 5 Jan 2001 23:22:16 +0000 (23:22 +0000)]
Rewrote to use pread/pwrite() and to avoid messing up with internals
of the fb-file module. It should work with file descriptors shared between
processes (no need to re-open the file after fork()) and should be also
somewhat faster.
Basic functions already work, it remains to create some utilities
and implement compression.
make obj/lib/bucket-t for a small test program.
Martin Mares [Fri, 5 Jan 2001 19:08:21 +0000 (19:08 +0000)]
Preliminary version of object bucket code.
Martin Mares [Mon, 11 Dec 2000 22:57:04 +0000 (22:57 +0000)]
Added support for memory debuggers (efence and [untested] dmalloc), just
enable in the top-level Makefile.
All modules should use xmalloc/xrealloc/xfree (or memory pools) to allocate
their data. These functions automatically check for errors and they also
translate to dmalloc calls if needed.
Martin Mares [Mon, 11 Dec 2000 22:12:13 +0000 (22:12 +0000)]
Fixed includes, defines and copyrights.
Martin Mares [Wed, 6 Dec 2000 15:01:24 +0000 (15:01 +0000)]
#include <errno.h>
Martin Mares [Tue, 5 Dec 2000 23:13:18 +0000 (23:13 +0000)]
Added a couple of FIXME's.
Martin Mares [Tue, 5 Dec 2000 23:07:33 +0000 (23:07 +0000)]
Revived the old chartype macros.
Martin Mares [Tue, 5 Dec 2000 23:00:55 +0000 (23:00 +0000)]
Add path to all includes.
Martin Mares [Tue, 5 Dec 2000 23:00:25 +0000 (23:00 +0000)]
Add directory to all includes.
Martin Mares [Tue, 5 Dec 2000 22:45:42 +0000 (22:45 +0000)]
Squashed a couple of warnings.
Martin Mares [Tue, 5 Dec 2000 22:39:59 +0000 (22:39 +0000)]
Added build tools.
Martin Mares [Tue, 5 Dec 2000 22:39:13 +0000 (22:39 +0000)]
New Makefiles.
Martin Mares [Tue, 5 Dec 2000 22:38:52 +0000 (22:38 +0000)]
Added character class definitions, formerly in lib/string.h.
Martin Mares [Sun, 29 Oct 2000 12:26:42 +0000 (12:26 +0000)]
Implemented long tags and section limits (must be enabled in config.h first).
Martin Mares [Sat, 28 Oct 2000 14:01:28 +0000 (14:01 +0000)]
New I/O library.
Martin Mares [Wed, 2 Aug 2000 09:52:56 +0000 (09:52 +0000)]
Support database sizes from 2G to 4G.
Martin Mares [Wed, 2 Aug 2000 09:13:38 +0000 (09:13 +0000)]
Don't cry when pread/pwrite is not available.
Martin Mares [Wed, 2 Aug 2000 09:00:56 +0000 (09:00 +0000)]
Rewrote large file support. Instead of mucking with SHERLOCK_O_LARGEFILE
all the way around, just use sh_{open,pread,pwrite} instead of the
ordinary calls.
Martin Mares [Thu, 13 Jul 2000 21:35:52 +0000 (21:35 +0000)]
Added "-t" switch.
Martin Mares [Thu, 13 Jul 2000 21:35:14 +0000 (21:35 +0000)]
Recalculate directory position when cascading splits.
Martin Mares [Thu, 13 Jul 2000 21:34:49 +0000 (21:34 +0000)]
Added a utility for rebuilding of databases.
Martin Mares [Thu, 13 Jul 2000 20:17:30 +0000 (20:17 +0000)]
Replaced the hash function. Damn it!
Martin Mares [Sun, 4 Jun 2000 23:15:58 +0000 (23:15 +0000)]
Define _GNU_SOURCE, so that pread/pwrite work with glibc 2.1.
Don't forget to print out fd's in fatal error messages.
Martin Mares [Sun, 4 Jun 2000 23:15:32 +0000 (23:15 +0000)]
Use %Y instead of %y.
Martin Mares [Thu, 20 Jan 2000 11:41:03 +0000 (11:41 +0000)]
Added a bunch of includes, so that hex compiles.
Martin Mares [Fri, 14 Jan 2000 08:58:53 +0000 (08:58 +0000)]
Removed few by now obsolete assertions.
Martin Mares [Fri, 10 Dec 1999 18:12:34 +0000 (18:12 +0000)]
Stupid bug.
Martin Mares [Fri, 10 Dec 1999 14:47:42 +0000 (14:47 +0000)]
Modified verbose mode.
Martin Mares [Sat, 20 Nov 1999 11:21:57 +0000 (11:21 +0000)]
Make it compile in GDBM mode.
Martin Mares [Sat, 20 Nov 1999 11:21:37 +0000 (11:21 +0000)]
Don't call pgc_page_pos, it no longer exists!
Martin Mares [Sat, 20 Nov 1999 11:21:01 +0000 (11:21 +0000)]
Split page key to pos and fd. Wastes extra 4 bytes, but simplifies the code a lot.
Also sort write requests when flushing dirty pages.
Martin Mares [Fri, 19 Nov 1999 18:09:55 +0000 (18:09 +0000)]
New test and benchmark code.
Martin Mares [Fri, 19 Nov 1999 18:09:44 +0000 (18:09 +0000)]
Fix return values.
Martin Mares [Mon, 15 Nov 1999 22:47:10 +0000 (22:47 +0000)]
Moved tests to extra file.
Martin Mares [Mon, 15 Nov 1999 22:46:56 +0000 (22:46 +0000)]
Added emulator of SDBM on top of GDBM.
Martin Mares [Mon, 15 Nov 1999 22:46:41 +0000 (22:46 +0000)]
Removed struct sdbm_buf.
Martin Mares [Mon, 15 Nov 1999 12:54:54 +0000 (12:54 +0000)]
Implemented database walking.
Squashed a couple of bugs.
Added some more tests.
Martin Mares [Mon, 15 Nov 1999 10:32:06 +0000 (10:32 +0000)]
Added prototype version of the fast database management library.
Martin Mares [Mon, 15 Nov 1999 10:31:01 +0000 (10:31 +0000)]
Implemented pgc_get_zero().
Martin Mares [Sat, 13 Nov 1999 18:55:12 +0000 (18:55 +0000)]
Position caching didn't work with multiple files.
Martin Mares [Sat, 13 Nov 1999 15:37:07 +0000 (15:37 +0000)]
Added pgc_page_pos().
Don't forget to unhash buffers when freeing them.
Martin Mares [Thu, 11 Nov 1999 23:17:24 +0000 (23:17 +0000)]
Use pread/pwrite whenever available. In all other cases, cache file positions.
Martin Mares [Thu, 11 Nov 1999 23:16:26 +0000 (23:16 +0000)]
Define pread() if available.
Martin Mares [Tue, 9 Nov 1999 23:24:10 +0000 (23:24 +0000)]
Allow locked dirty pages. Better debugging. Simplified and cleaned up
handling of offset masking. Fixed 64-bit cast problems.
Martin Mares [Tue, 9 Nov 1999 22:59:39 +0000 (22:59 +0000)]
Signedness fixes.
Martin Mares [Mon, 8 Nov 1999 23:59:22 +0000 (23:59 +0000)]
Squash warnings...
Martin Mares [Mon, 8 Nov 1999 23:57:20 +0000 (23:57 +0000)]
SHERLOCK_O_LARGEFILE is either O_LARGEFILE or 0 depending on SHERLOCK_CONFIG_LFS.
Martin Mares [Mon, 8 Nov 1999 23:30:27 +0000 (23:30 +0000)]
New page cache.
Martin Mares [Mon, 8 Nov 1999 23:30:02 +0000 (23:30 +0000)]
New list functions from BIRD project.
Martin Mares [Mon, 8 Nov 1999 23:29:40 +0000 (23:29 +0000)]
Moved OFFSETOF etc. here. Added ASSERT.
Martin Mares [Mon, 25 Oct 1999 07:54:28 +0000 (07:54 +0000)]
Better version of clearable pools.
Martin Mares [Sun, 24 Oct 1999 20:14:51 +0000 (20:14 +0000)]
Don't kill fragment references if there aren't any.
Martin Mares [Sun, 24 Oct 1999 20:00:02 +0000 (20:00 +0000)]
Revised URL parser, fixed a couple of bugs.
Martin Mares [Sun, 24 Oct 1999 19:59:21 +0000 (19:59 +0000)]
Large File Support in fastbuf library.
Martin Mares [Sun, 24 Oct 1999 19:58:55 +0000 (19:58 +0000)]
Clearable pools.
Martin Mares [Sun, 24 Oct 1999 19:58:22 +0000 (19:58 +0000)]
Large File Support.
Martin Mares [Mon, 13 Sep 1999 09:19:34 +0000 (09:19 +0000)]
Killed `typedef unsigned long ulg' and replaced all refs to ulg by either
u32 or (newly introduced) oid_t type (object ID).
Martin Mares [Thu, 9 Sep 1999 20:02:39 +0000 (20:02 +0000)]
Compile with libc5.
Martin Mares [Sat, 27 Mar 1999 21:49:08 +0000 (21:49 +0000)]
Remove few obsolete config files, bump version to 1.2 and update README.
Martin Mares [Sat, 27 Mar 1999 21:43:23 +0000 (21:43 +0000)]
Miscellaneous fixes to the word matcher.
Martin Mares [Sat, 27 Mar 1999 21:42:43 +0000 (21:42 +0000)]
Implemented mmap_file().
Martin Mares [Sat, 27 Mar 1999 12:48:07 +0000 (12:48 +0000)]
Added fast wildcard matcher.
Martin Mares [Sat, 2 May 1998 08:54:22 +0000 (08:54 +0000)]
New character set conversion routines from CharConv Library.
I've left the old charset routines as-is for now.
Martin Mares [Sun, 15 Feb 1998 18:10:41 +0000 (18:10 +0000)]
bbcopy() leaves correct file positions.
Martin Mares [Wed, 11 Feb 1998 09:10:52 +0000 (09:10 +0000)]
Added typedefs for s64 and u64.
Bumped version to 1.1.
Martin Mares [Wed, 11 Feb 1998 09:10:22 +0000 (09:10 +0000)]
Added a nice bounded random-number generator. Use where appropriate.
Martin Mares [Tue, 10 Feb 1998 16:17:02 +0000 (16:17 +0000)]
Grrrr. Caught nasty bbcopy() bug causing sword.c scramble large files!
Martin Mares [Mon, 19 Jan 1998 19:13:35 +0000 (19:13 +0000)]
Added universal function for scanning of object trees. I'll convert
gived and expire to use it some day, but there are more important
things to do now.
Martin Mares [Mon, 12 Jan 1998 09:54:03 +0000 (09:54 +0000)]
Added "name" parameter to obj_fload in order to get better error reporting
on malformed objects.
Pavel Machek [Sat, 10 Jan 1998 20:57:21 +0000 (20:57 +0000)]
Sync after disk crash. Main now includes zajicek's interface, lib now
contains function to read config and never die.
Martin Mares [Sat, 10 Jan 1998 09:41:38 +0000 (09:41 +0000)]
Fixing _C_INNER in character class maps.
Martin Mares [Tue, 6 Jan 1998 13:40:27 +0000 (13:40 +0000)]
Syncing crashed repository with my work tree.
Martin Mares [Thu, 4 Dec 1997 13:55:15 +0000 (13:55 +0000)]
Yet another bug in the pattern matcher fixed.
Martin Mares [Wed, 3 Dec 1997 08:16:02 +0000 (08:16 +0000)]
New charset tables -- now common for all modules. charset/exp/* are not
rebuilt automatically as it requires the UniCode tables.
Martin Mares [Wed, 3 Dec 1997 08:11:25 +0000 (08:11 +0000)]
ffs _cannot_ be used as a substitute for log2, because it scans in the
opposite direction :-(
Fixed our own log2 (it hadn't any chance to work before).
Martin Mares [Tue, 2 Dec 1997 09:56:19 +0000 (09:56 +0000)]
New pattern matching code -- simplified and debugged.
Martin Mares [Wed, 26 Nov 1997 22:18:46 +0000 (22:18 +0000)]
Implemented the URL regex replace mechanism.
Martin Mares [Wed, 26 Nov 1997 22:17:12 +0000 (22:17 +0000)]
'\' works as an escape character now.
Martin Mares [Tue, 25 Nov 1997 11:19:39 +0000 (11:19 +0000)]
Added regex library interface.
Martin Mares [Fri, 14 Nov 1997 23:21:22 +0000 (23:21 +0000)]
More hierarchy fixes.
Martin Mares [Tue, 9 Sep 1997 16:50:45 +0000 (16:50 +0000)]
Comment.
Martin Mares [Tue, 9 Sep 1997 13:17:15 +0000 (13:17 +0000)]
Pre-release!
Martin Mares [Tue, 29 Jul 1997 11:49:07 +0000 (11:49 +0000)]
See ChangeLogs.
Martin Mares [Mon, 28 Jul 1997 20:38:50 +0000 (20:38 +0000)]
New buffering code and objget caching changes.
Martin Mares [Mon, 28 Jul 1997 15:45:47 +0000 (15:45 +0000)]
x
Martin Mares [Sun, 27 Jul 1997 19:04:23 +0000 (19:04 +0000)]
Adding all files developed during last week...
Martin Mares [Fri, 9 May 1997 17:43:01 +0000 (17:43 +0000)]
Misc.
Martin Mares [Sat, 3 May 1997 18:15:37 +0000 (18:15 +0000)]
Too much changes... Read the ChangeLogs.
Martin Mares [Fri, 2 May 1997 17:20:39 +0000 (17:20 +0000)]
match_pattern_nocase
Martin Mares [Mon, 21 Apr 1997 06:18:58 +0000 (06:18 +0000)]
Misc file additions.
Martin Mares [Mon, 21 Apr 1997 06:15:52 +0000 (06:15 +0000)]
First a bit working version.
Martin Mares [Wed, 16 Apr 1997 07:40:17 +0000 (07:40 +0000)]
META and decoders
Martin Mares [Sun, 13 Apr 1997 18:13:17 +0000 (18:13 +0000)]
Daily commit.