]> mj.ucw.cz Git - libucw.git/log
libucw.git
23 years agowritten parsing config files and command line parameters, untested yet
Robert Spalek [Sun, 7 Jan 2001 21:21:53 +0000 (21:21 +0000)]
written parsing config files and command line parameters, untested yet

23 years agoWhen checking/fixing bucket file structure, adjust exit code according
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.

23 years agoAdded a simple utility for handling of buckets and repairing damaged
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.

23 years agoSquashed a signedness warning.
Martin Mares [Sun, 7 Jan 2001 14:59:35 +0000 (14:59 +0000)]
Squashed a signedness warning.

23 years agoAdded sh_ftruncate(), but it currently works only on 32-bit files,
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.

23 years agobread() now returns the number of bytes read instead of dying when
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.

23 years agoUse OBUCK_INCOMPLETE_MAGIC for incomplete entries.
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).

23 years agoRewrote to use pread/pwrite() and to avoid messing up with internals
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.

23 years agoPreliminary version of object bucket code.
Martin Mares [Fri, 5 Jan 2001 19:08:21 +0000 (19:08 +0000)]
Preliminary version of object bucket code.

23 years agoAdded support for memory debuggers (efence and [untested] dmalloc), just
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.

23 years agoFixed includes, defines and copyrights.
Martin Mares [Mon, 11 Dec 2000 22:12:13 +0000 (22:12 +0000)]
Fixed includes, defines and copyrights.

23 years ago#include <errno.h>
Martin Mares [Wed, 6 Dec 2000 15:01:24 +0000 (15:01 +0000)]
#include <errno.h>

23 years agoAdded a couple of FIXME's.
Martin Mares [Tue, 5 Dec 2000 23:13:18 +0000 (23:13 +0000)]
Added a couple of FIXME's.

23 years agoRevived the old chartype macros.
Martin Mares [Tue, 5 Dec 2000 23:07:33 +0000 (23:07 +0000)]
Revived the old chartype macros.

23 years agoAdd path to all includes.
Martin Mares [Tue, 5 Dec 2000 23:00:55 +0000 (23:00 +0000)]
Add path to all includes.

23 years agoAdd directory to all includes.
Martin Mares [Tue, 5 Dec 2000 23:00:25 +0000 (23:00 +0000)]
Add directory to all includes.

23 years agoSquashed a couple of warnings.
Martin Mares [Tue, 5 Dec 2000 22:45:42 +0000 (22:45 +0000)]
Squashed a couple of warnings.

23 years agoAdded build tools.
Martin Mares [Tue, 5 Dec 2000 22:39:59 +0000 (22:39 +0000)]
Added build tools.

23 years agoNew Makefiles.
Martin Mares [Tue, 5 Dec 2000 22:39:13 +0000 (22:39 +0000)]
New Makefiles.

23 years agoAdded character class definitions, formerly in lib/string.h.
Martin Mares [Tue, 5 Dec 2000 22:38:52 +0000 (22:38 +0000)]
Added character class definitions, formerly in lib/string.h.

24 years agoImplemented long tags and section limits (must be enabled in config.h first).
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).

24 years agoNew I/O library.
Martin Mares [Sat, 28 Oct 2000 14:01:28 +0000 (14:01 +0000)]
New I/O library.

24 years agoSupport database sizes from 2G to 4G.
Martin Mares [Wed, 2 Aug 2000 09:52:56 +0000 (09:52 +0000)]
Support database sizes from 2G to 4G.

24 years agoDon't cry when pread/pwrite is not available.
Martin Mares [Wed, 2 Aug 2000 09:13:38 +0000 (09:13 +0000)]
Don't cry when pread/pwrite is not available.

24 years agoRewrote large file support. Instead of mucking with SHERLOCK_O_LARGEFILE
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.

24 years agoAdded "-t" switch.
Martin Mares [Thu, 13 Jul 2000 21:35:52 +0000 (21:35 +0000)]
Added "-t" switch.

24 years agoRecalculate directory position when cascading splits.
Martin Mares [Thu, 13 Jul 2000 21:35:14 +0000 (21:35 +0000)]
Recalculate directory position when cascading splits.

24 years agoAdded a utility for rebuilding of databases.
Martin Mares [Thu, 13 Jul 2000 21:34:49 +0000 (21:34 +0000)]
Added a utility for rebuilding of databases.

24 years agoReplaced the hash function. Damn it!
Martin Mares [Thu, 13 Jul 2000 20:17:30 +0000 (20:17 +0000)]
Replaced the hash function. Damn it!

24 years agoDefine _GNU_SOURCE, so that pread/pwrite work with glibc 2.1.
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.

24 years agoUse %Y instead of %y.
Martin Mares [Sun, 4 Jun 2000 23:15:32 +0000 (23:15 +0000)]
Use %Y instead of %y.

24 years agoAdded a bunch of includes, so that hex compiles.
Martin Mares [Thu, 20 Jan 2000 11:41:03 +0000 (11:41 +0000)]
Added a bunch of includes, so that hex compiles.

24 years agoRemoved few by now obsolete assertions.
Martin Mares [Fri, 14 Jan 2000 08:58:53 +0000 (08:58 +0000)]
Removed few by now obsolete assertions.

24 years agoStupid bug.
Martin Mares [Fri, 10 Dec 1999 18:12:34 +0000 (18:12 +0000)]
Stupid bug.

24 years agoModified verbose mode.
Martin Mares [Fri, 10 Dec 1999 14:47:42 +0000 (14:47 +0000)]
Modified verbose mode.

24 years agoMake it compile in GDBM mode.
Martin Mares [Sat, 20 Nov 1999 11:21:57 +0000 (11:21 +0000)]
Make it compile in GDBM mode.

24 years agoDon't call pgc_page_pos, it no longer exists!
Martin Mares [Sat, 20 Nov 1999 11:21:37 +0000 (11:21 +0000)]
Don't call pgc_page_pos, it no longer exists!

24 years agoSplit page key to pos and fd. Wastes extra 4 bytes, but simplifies the code a lot.
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.

24 years agoNew test and benchmark code.
Martin Mares [Fri, 19 Nov 1999 18:09:55 +0000 (18:09 +0000)]
New test and benchmark code.

24 years agoFix return values.
Martin Mares [Fri, 19 Nov 1999 18:09:44 +0000 (18:09 +0000)]
Fix return values.

24 years agoMoved tests to extra file.
Martin Mares [Mon, 15 Nov 1999 22:47:10 +0000 (22:47 +0000)]
Moved tests to extra file.

24 years agoAdded emulator of SDBM on top of GDBM.
Martin Mares [Mon, 15 Nov 1999 22:46:56 +0000 (22:46 +0000)]
Added emulator of SDBM on top of GDBM.

24 years agoRemoved struct sdbm_buf.
Martin Mares [Mon, 15 Nov 1999 22:46:41 +0000 (22:46 +0000)]
Removed struct sdbm_buf.

24 years agoImplemented database walking.
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.

24 years agoAdded prototype version of the fast database management library.
Martin Mares [Mon, 15 Nov 1999 10:32:06 +0000 (10:32 +0000)]
Added prototype version of the fast database management library.

24 years agoImplemented pgc_get_zero().
Martin Mares [Mon, 15 Nov 1999 10:31:01 +0000 (10:31 +0000)]
Implemented pgc_get_zero().

24 years agoPosition caching didn't work with multiple files.
Martin Mares [Sat, 13 Nov 1999 18:55:12 +0000 (18:55 +0000)]
Position caching didn't work with multiple files.

24 years agoAdded pgc_page_pos().
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.

25 years agoUse pread/pwrite whenever available. In all other cases, cache file positions.
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.

25 years agoDefine pread() if available.
Martin Mares [Thu, 11 Nov 1999 23:16:26 +0000 (23:16 +0000)]
Define pread() if available.

25 years agoAllow locked dirty pages. Better debugging. Simplified and cleaned up
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.

25 years agoSignedness fixes.
Martin Mares [Tue, 9 Nov 1999 22:59:39 +0000 (22:59 +0000)]
Signedness fixes.

25 years agoSquash warnings...
Martin Mares [Mon, 8 Nov 1999 23:59:22 +0000 (23:59 +0000)]
Squash warnings...

25 years agoSHERLOCK_O_LARGEFILE is either O_LARGEFILE or 0 depending on SHERLOCK_CONFIG_LFS.
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.

25 years agoNew page cache.
Martin Mares [Mon, 8 Nov 1999 23:30:27 +0000 (23:30 +0000)]
New page cache.

25 years agoNew list functions from BIRD project.
Martin Mares [Mon, 8 Nov 1999 23:30:02 +0000 (23:30 +0000)]
New list functions from BIRD project.

25 years agoMoved OFFSETOF etc. here. Added ASSERT.
Martin Mares [Mon, 8 Nov 1999 23:29:40 +0000 (23:29 +0000)]
Moved OFFSETOF etc. here. Added ASSERT.

25 years agoBetter version of clearable pools.
Martin Mares [Mon, 25 Oct 1999 07:54:28 +0000 (07:54 +0000)]
Better version of clearable pools.

25 years agoDon't kill fragment references if there aren't any.
Martin Mares [Sun, 24 Oct 1999 20:14:51 +0000 (20:14 +0000)]
Don't kill fragment references if there aren't any.

25 years agoRevised URL parser, fixed a couple of bugs.
Martin Mares [Sun, 24 Oct 1999 20:00:02 +0000 (20:00 +0000)]
Revised URL parser, fixed a couple of bugs.

25 years agoLarge File Support in fastbuf library.
Martin Mares [Sun, 24 Oct 1999 19:59:21 +0000 (19:59 +0000)]
Large File Support in fastbuf library.

25 years agoClearable pools.
Martin Mares [Sun, 24 Oct 1999 19:58:55 +0000 (19:58 +0000)]
Clearable pools.

25 years agoLarge File Support.
Martin Mares [Sun, 24 Oct 1999 19:58:22 +0000 (19:58 +0000)]
Large File Support.

25 years agoKilled `typedef unsigned long ulg' and replaced all refs to ulg by either
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).

25 years agoCompile with libc5.
Martin Mares [Thu, 9 Sep 1999 20:02:39 +0000 (20:02 +0000)]
Compile with libc5.

25 years agoRemove few obsolete config files, bump version to 1.2 and update README.
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.

25 years agoMiscellaneous fixes to the word matcher.
Martin Mares [Sat, 27 Mar 1999 21:43:23 +0000 (21:43 +0000)]
Miscellaneous fixes to the word matcher.

25 years agoImplemented mmap_file().
Martin Mares [Sat, 27 Mar 1999 21:42:43 +0000 (21:42 +0000)]
Implemented mmap_file().

25 years agoAdded fast wildcard matcher.
Martin Mares [Sat, 27 Mar 1999 12:48:07 +0000 (12:48 +0000)]
Added fast wildcard matcher.

26 years agoNew character set conversion routines from CharConv Library.
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.

26 years agobbcopy() leaves correct file positions.
Martin Mares [Sun, 15 Feb 1998 18:10:41 +0000 (18:10 +0000)]
bbcopy() leaves correct file positions.

26 years agoAdded typedefs for s64 and u64.
Martin Mares [Wed, 11 Feb 1998 09:10:52 +0000 (09:10 +0000)]
Added typedefs for s64 and u64.

Bumped version to 1.1.

26 years agoAdded a nice bounded random-number generator. Use where appropriate.
Martin Mares [Wed, 11 Feb 1998 09:10:22 +0000 (09:10 +0000)]
Added a nice bounded random-number generator. Use where appropriate.

26 years agoGrrrr. Caught nasty bbcopy() bug causing sword.c scramble large files!
Martin Mares [Tue, 10 Feb 1998 16:17:02 +0000 (16:17 +0000)]
Grrrr. Caught nasty bbcopy() bug causing sword.c scramble large files!

26 years agoAdded universal function for scanning of object trees. I'll convert
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.

26 years agoAdded "name" parameter to obj_fload in order to get better error reporting
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.

26 years agoSync after disk crash. Main now includes zajicek's interface, lib now
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.

26 years agoFixing _C_INNER in character class maps.
Martin Mares [Sat, 10 Jan 1998 09:41:38 +0000 (09:41 +0000)]
Fixing _C_INNER in character class maps.

26 years agoSyncing crashed repository with my work tree.
Martin Mares [Tue, 6 Jan 1998 13:40:27 +0000 (13:40 +0000)]
Syncing crashed repository with my work tree.

26 years agoYet another bug in the pattern matcher fixed.
Martin Mares [Thu, 4 Dec 1997 13:55:15 +0000 (13:55 +0000)]
Yet another bug in the pattern matcher fixed.

26 years agoNew charset tables -- now common for all modules. charset/exp/* are not
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.

26 years agoffs _cannot_ be used as a substitute for log2, because it scans in the
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).

26 years agoNew pattern matching code -- simplified and debugged.
Martin Mares [Tue, 2 Dec 1997 09:56:19 +0000 (09:56 +0000)]
New pattern matching code -- simplified and debugged.

26 years agoImplemented the URL regex replace mechanism.
Martin Mares [Wed, 26 Nov 1997 22:18:46 +0000 (22:18 +0000)]
Implemented the URL regex replace mechanism.

26 years ago'\' works as an escape character now.
Martin Mares [Wed, 26 Nov 1997 22:17:12 +0000 (22:17 +0000)]
'\' works as an escape character now.

26 years agoAdded regex library interface.
Martin Mares [Tue, 25 Nov 1997 11:19:39 +0000 (11:19 +0000)]
Added regex library interface.

26 years agoMore hierarchy fixes.
Martin Mares [Fri, 14 Nov 1997 23:21:22 +0000 (23:21 +0000)]
More hierarchy fixes.

27 years agoComment.
Martin Mares [Tue, 9 Sep 1997 16:50:45 +0000 (16:50 +0000)]
Comment.

27 years agoPre-release!
Martin Mares [Tue, 9 Sep 1997 13:17:15 +0000 (13:17 +0000)]
Pre-release!

27 years agoSee ChangeLogs.
Martin Mares [Tue, 29 Jul 1997 11:49:07 +0000 (11:49 +0000)]
See ChangeLogs.

27 years agoNew buffering code and objget caching changes.
Martin Mares [Mon, 28 Jul 1997 20:38:50 +0000 (20:38 +0000)]
New buffering code and objget caching changes.

27 years agox
Martin Mares [Mon, 28 Jul 1997 15:45:47 +0000 (15:45 +0000)]
x

27 years agoAdding all files developed during last week...
Martin Mares [Sun, 27 Jul 1997 19:04:23 +0000 (19:04 +0000)]
Adding all files developed during last week...

27 years agoMisc.
Martin Mares [Fri, 9 May 1997 17:43:01 +0000 (17:43 +0000)]
Misc.

27 years agoToo much changes... Read the ChangeLogs.
Martin Mares [Sat, 3 May 1997 18:15:37 +0000 (18:15 +0000)]
Too much changes... Read the ChangeLogs.

27 years agomatch_pattern_nocase
Martin Mares [Fri, 2 May 1997 17:20:39 +0000 (17:20 +0000)]
match_pattern_nocase

27 years agoMisc file additions.
Martin Mares [Mon, 21 Apr 1997 06:18:58 +0000 (06:18 +0000)]
Misc file additions.

27 years agoFirst a bit working version.
Martin Mares [Mon, 21 Apr 1997 06:15:52 +0000 (06:15 +0000)]
First a bit working version.

27 years agoMETA and decoders
Martin Mares [Wed, 16 Apr 1997 07:40:17 +0000 (07:40 +0000)]
META and decoders

27 years agoDaily commit.
Martin Mares [Sun, 13 Apr 1997 18:13:17 +0000 (18:13 +0000)]
Daily commit.