]> mj.ucw.cz Git - libucw.git/log
libucw.git
17 years agotypos
Pavel Charvat [Mon, 25 Jun 2007 16:07:21 +0000 (18:07 +0200)]
typos

17 years agofew "byte *" -> "char *" conversions
Pavel Charvat [Mon, 25 Jun 2007 14:42:00 +0000 (16:42 +0200)]
few "byte *" -> "char *" conversions

17 years agonoted that utf8_{put/get} supports only a subset of the Unicode range
Pavel Charvat [Mon, 25 Jun 2007 14:39:40 +0000 (16:39 +0200)]
noted that utf8_{put/get} supports only a subset of the Unicode range

17 years agoMerge with git+ssh://git.ucw.cz/projects/sherlock/GIT/sherlock.git
Pavel Charvat [Mon, 25 Jun 2007 13:49:33 +0000 (15:49 +0200)]
Merge with git+ssh://git.ucw.cz/projects/sherlock/GIT/sherlock.git

17 years agoconverted byte ** -> char ** in sepsplit
Pavel Charvat [Mon, 25 Jun 2007 12:37:27 +0000 (14:37 +0200)]
converted byte ** -> char ** in sepsplit

17 years agoreplaced several "byte *" -> "char *", mostly in the configuration system
Pavel Charvat [Mon, 25 Jun 2007 12:12:57 +0000 (14:12 +0200)]
replaced several "byte *" -> "char *", mostly in the configuration system

17 years agofastbufs: byte * -> char *
Pavel Charvat [Mon, 25 Jun 2007 10:01:50 +0000 (12:01 +0200)]
fastbufs: byte * -> char *

17 years agoMerge with git+ssh://git.ucw.cz/projects/sherlock/GIT/sherlock.git
Pavel Charvat [Mon, 25 Jun 2007 08:38:49 +0000 (10:38 +0200)]
Merge with git+ssh://git.ucw.cz/projects/sherlock/GIT/sherlock.git

17 years agohashfunc: char-ified.
Martin Mares [Fri, 22 Jun 2007 09:38:54 +0000 (11:38 +0200)]
hashfunc: char-ified.

17 years agoUse `char *' instead of `byte *' for strings
Martin Mares [Fri, 22 Jun 2007 09:31:26 +0000 (11:31 +0200)]
Use `char *' instead of `byte *' for strings
at places where it is straight-forward.

17 years agoAdded missing parameter names to function prototypes.
Martin Mares [Fri, 22 Jun 2007 08:26:30 +0000 (10:26 +0200)]
Added missing parameter names to function prototypes.

(They were correct, but this is definitely more readable.)

17 years agolib: convert log->msg in Darwin-#ifdef'ed code
Robert Spalek [Fri, 22 Jun 2007 01:39:27 +0000 (18:39 -0700)]
lib: convert log->msg in Darwin-#ifdef'ed code

17 years agolibimages: removed experiments with Hilbert curves
Pavel Charvat [Thu, 21 Jun 2007 13:47:46 +0000 (15:47 +0200)]
libimages: removed experiments with Hilbert curves

17 years agorun testing utities in rundir instead of in source tree
Pavel Charvat [Thu, 21 Jun 2007 13:13:49 +0000 (15:13 +0200)]
run testing utities in rundir instead of in source tree

17 years agoThe great conversion of log() logging function to msg().
Pavel Charvat [Thu, 21 Jun 2007 12:18:53 +0000 (14:18 +0200)]
The great conversion of log() logging function to msg().
Sherlock.h still defines log() alias to UCW's msg().
Lib/math.h has been moved to sherlock/math.h.

17 years agolicharset: added const qualifiers
Pavel Charvat [Thu, 21 Jun 2007 09:22:13 +0000 (11:22 +0200)]
licharset: added const qualifiers

17 years agolibucw: added more const qualifiers
Pavel Charvat [Thu, 21 Jun 2007 09:09:42 +0000 (11:09 +0200)]
libucw: added more const qualifiers

17 years agofixed few compilation warnings
Pavel Charvat [Thu, 21 Jun 2007 08:43:57 +0000 (10:43 +0200)]
fixed few compilation warnings

17 years agolibucw: added several const qualifiers
Pavel Charvat [Thu, 21 Jun 2007 08:37:40 +0000 (10:37 +0200)]
libucw: added several const qualifiers

17 years agoMoved detaching of stdout from log_file() to the daemon-helper.
Martin Mares [Wed, 20 Jun 2007 08:04:08 +0000 (10:04 +0200)]
Moved detaching of stdout from log_file() to the daemon-helper.

17 years agoDocumented bgets() and friends per popular request.
Martin Mares [Wed, 20 Jun 2007 07:47:01 +0000 (09:47 +0200)]
Documented bgets() and friends per popular request.

17 years agoMerge with git+ssh://git.ucw.cz/projects/sherlock/GIT/sherlock.git
Pavel Charvat [Tue, 19 Jun 2007 07:22:59 +0000 (09:22 +0200)]
Merge with git+ssh://git.ucw.cz/projects/sherlock/GIT/sherlock.git

17 years agosimplified usage utf8_get
Pavel Charvat [Thu, 14 Jun 2007 13:29:46 +0000 (15:29 +0200)]
simplified usage utf8_get

17 years agobackbuf support in parametrized fastbuf
Pavel Charvat [Thu, 7 Jun 2007 07:35:25 +0000 (09:35 +0200)]
backbuf support in parametrized fastbuf

17 years agoMerge with git+ssh://git.ucw.cz/projects/sherlock/GIT/sherlock.git
Pavel Charvat [Thu, 7 Jun 2007 06:31:58 +0000 (08:31 +0200)]
Merge with git+ssh://git.ucw.cz/projects/sherlock/GIT/sherlock.git

17 years agofb-file: some comments and automatic tests
Pavel Charvat [Thu, 7 Jun 2007 06:30:19 +0000 (08:30 +0200)]
fb-file: some comments and automatic tests

17 years agodocumented fbpool briefly
Pavel Charvat [Wed, 6 Jun 2007 08:24:23 +0000 (10:24 +0200)]
documented fbpool briefly

17 years agofixed fb-grow tester
Pavel Charvat [Wed, 6 Jun 2007 08:18:37 +0000 (10:18 +0200)]
fixed fb-grow tester

17 years agoadded some fastbuf tests
Pavel Charvat [Wed, 6 Jun 2007 07:43:59 +0000 (09:43 +0200)]
added some fastbuf tests

17 years agofastbufs: added some I/O checks
Pavel Charvat [Wed, 6 Jun 2007 07:30:03 +0000 (09:30 +0200)]
fastbufs: added some I/O checks

17 years agosimple fastbuf on memory pools
Pavel Charvat [Wed, 6 Jun 2007 07:03:20 +0000 (09:03 +0200)]
simple fastbuf on memory pools

17 years agoported fastbuf with effective backwards reading... incomplete
Pavel Charvat [Wed, 6 Jun 2007 04:51:00 +0000 (06:51 +0200)]
ported fastbuf with effective backwards reading... incomplete

17 years agogettid: fixed a compilation bug on gentoo
Pavel Charvat [Tue, 5 Jun 2007 11:45:13 +0000 (13:45 +0200)]
gettid: fixed a compilation bug on gentoo

17 years agoAdded missing includes to libucw API.
Martin Mares [Mon, 4 Jun 2007 10:54:45 +0000 (12:54 +0200)]
Added missing includes to libucw API.

17 years agoExported the addrmasks and their matching.
Martin Mares [Sun, 3 Jun 2007 19:38:13 +0000 (21:38 +0200)]
Exported the addrmasks and their matching.

17 years agobig_alloc: check if big_alloc and big_free sizes match
Pavel Charvat [Fri, 1 Jun 2007 13:45:48 +0000 (15:45 +0200)]
big_alloc: check if big_alloc and big_free sizes match

17 years agolib: added {big,page}_alloc_zero routines
Pavel Charvat [Fri, 1 Jun 2007 12:40:02 +0000 (14:40 +0200)]
lib: added {big,page}_alloc_zero routines

17 years agolib: removed breada :-)
Pavel Charvat [Fri, 1 Jun 2007 09:42:22 +0000 (11:42 +0200)]
lib: removed breada :-)

17 years agofastbufs: added a new function for safe reading of fixed-length array
Pavel Charvat [Fri, 1 Jun 2007 08:46:12 +0000 (10:46 +0200)]
fastbufs: added a new function for safe reading of fixed-length array

17 years agoFixed a bug in fb-mmap.
Pavel Charvat [Thu, 31 May 2007 19:23:04 +0000 (21:23 +0200)]
Fixed a bug in fb-mmap.

17 years agoCleaned up the fastbuf interfaces.
Martin Mares [Tue, 29 May 2007 20:39:31 +0000 (22:39 +0200)]
Cleaned up the fastbuf interfaces.

The high-level functions of fb-mmap and fb-direct have been removed.

17 years agoSorter buckets now use the parametrized fastbuf interface, too.
Martin Mares [Tue, 29 May 2007 20:38:45 +0000 (22:38 +0200)]
Sorter buckets now use the parametrized fastbuf interface, too.

17 years agoAdded a couple of comments.
Martin Mares [Tue, 29 May 2007 20:16:59 +0000 (22:16 +0200)]
Added a couple of comments.

17 years agotried parametrized fastbuf for most of indexing I/O
Pavel Charvat [Tue, 29 May 2007 12:50:48 +0000 (14:50 +0200)]
tried parametrized fastbuf for most of indexing I/O
... but there are still bugs, only std I/O passed

17 years agoimplemented most of parametrized fastbufs
Pavel Charvat [Tue, 29 May 2007 12:09:18 +0000 (14:09 +0200)]
implemented most of parametrized fastbufs

17 years agounfinished parametrized fastbufs
Pavel Charvat [Tue, 29 May 2007 10:57:50 +0000 (12:57 +0200)]
unfinished parametrized fastbufs

17 years ago- renamed fbpar_* functions
Pavel Charvat [Tue, 29 May 2007 09:52:31 +0000 (11:52 +0200)]
- renamed fbpar_* functions
- added lookup table for I/O types

17 years agofirst experiments with parametrized fastbufs
Pavel Charvat [Tue, 29 May 2007 08:50:31 +0000 (10:50 +0200)]
first experiments with parametrized fastbufs

17 years agofixed some wrong integer sizes
Pavel Charvat [Thu, 24 May 2007 11:48:31 +0000 (13:48 +0200)]
fixed some wrong integer sizes

17 years agoA glimpse of the (unfinished) multi-way merge module.
Martin Mares [Wed, 23 May 2007 21:08:31 +0000 (23:08 +0200)]
A glimpse of the (unfinished) multi-way merge module.

17 years agoAdded SORT_INT64 mode.
Martin Mares [Wed, 23 May 2007 20:59:11 +0000 (22:59 +0200)]
Added SORT_INT64 mode.

17 years agoClarified comments.
Martin Mares [Wed, 23 May 2007 19:41:04 +0000 (21:41 +0200)]
Clarified comments.

17 years agoThe write_merged() hook is no longer required in simple cases.
Martin Mares [Wed, 23 May 2007 19:36:08 +0000 (21:36 +0200)]
The write_merged() hook is no longer required in simple cases.

17 years agoCompletely rewritten buffer management of the sorter.
Martin Mares [Wed, 23 May 2007 19:21:42 +0000 (21:21 +0200)]
Completely rewritten buffer management of the sorter.

The big_buf is no longer split in a fixed way. Every sorter module now
decides on its own how to subdivide the buffer. This leads to better
utilization of the buffer space (e.g., when not using a radix-sorter)
and to the possibility to adjust workspace used for merging via the
(new) SORT_UNIFY_WORKSPACE macro.

s-fixint is now applied only if no workspace is required, but this should
cover all known uses of unification on fixed-size records anyway.

17 years agoAdded a guard against multiple inclusion.
Martin Mares [Wed, 23 May 2007 19:10:10 +0000 (21:10 +0200)]
Added a guard against multiple inclusion.

17 years agoFixed bug in joining.
Martin Mares [Wed, 23 May 2007 13:11:34 +0000 (15:11 +0200)]
Fixed bug in joining.

17 years agoDon't forget to increase run counter.
Martin Mares [Wed, 23 May 2007 13:11:01 +0000 (15:11 +0200)]
Don't forget to increase run counter.

17 years agoFixed bug in calculation of radix split width.
Martin Mares [Tue, 22 May 2007 21:04:29 +0000 (23:04 +0200)]
Fixed bug in calculation of radix split width.

17 years agoFixed compilation rules for Perl modules to avoid unnecessary rebuilds.
Martin Mares [Tue, 22 May 2007 13:41:20 +0000 (15:41 +0200)]
Fixed compilation rules for Perl modules to avoid unnecessary rebuilds.

17 years agoAdded SORT_DELETE_INPUT.
Martin Mares [Tue, 22 May 2007 13:09:08 +0000 (15:09 +0200)]
Added SORT_DELETE_INPUT.

17 years agotypo
Pavel Charvat [Fri, 18 May 2007 18:09:56 +0000 (20:09 +0200)]
typo

17 years agofixed support for 64bit big allocations
Pavel Charvat [Fri, 18 May 2007 14:48:34 +0000 (16:48 +0200)]
fixed support for 64bit big allocations

17 years agoreplaced %L -> %ll
Pavel Charvat [Fri, 18 May 2007 14:39:14 +0000 (16:39 +0200)]
replaced %L -> %ll

17 years agoMerged main branch to dev-sorter.
Pavel Charvat [Fri, 18 May 2007 14:37:51 +0000 (16:37 +0200)]
Merged main branch to dev-sorter.

17 years agoMerge with git+ssh://git.ucw.cz/projects/sherlock/GIT/sherlock.git#v3.11
Pavel Charvat [Fri, 18 May 2007 14:05:11 +0000 (16:05 +0200)]
Merge with git+ssh://git.ucw.cz/projects/sherlock/GIT/sherlock.git#v3.11

17 years agoMerge with git+ssh://git.ucw.cz/projects/sherlock/GIT/sherlock.git#v3.10
Pavel Charvat [Fri, 18 May 2007 12:41:33 +0000 (14:41 +0200)]
Merge with git+ssh://git.ucw.cz/projects/sherlock/GIT/sherlock.git#v3.10

17 years agobugfix in image scaling (select the correct strategy)
Pavel Charvat [Fri, 18 May 2007 11:45:03 +0000 (13:45 +0200)]
bugfix in image scaling (select the correct strategy)

17 years agoinstall sorter-globals.h header
Pavel Charvat [Thu, 17 May 2007 20:06:27 +0000 (22:06 +0200)]
install sorter-globals.h header

17 years agoTAGS were specified twice.
Martin Mares [Wed, 16 May 2007 12:30:50 +0000 (14:30 +0200)]
TAGS were specified twice.

17 years agolib: added missing include on Darwin
Robert Spalek [Sat, 28 Apr 2007 20:40:06 +0000 (13:40 -0700)]
lib: added missing include on Darwin

17 years agofixed off-by-one error in workqueue
Pavel Charvat [Mon, 23 Apr 2007 18:00:55 +0000 (20:00 +0200)]
fixed off-by-one error in workqueue

17 years agofixed another bug with mixed HASH_GIVE_ALLOC and HASH_TABLE_ALLOC
Pavel Charvat [Mon, 23 Apr 2007 14:19:58 +0000 (16:19 +0200)]
fixed another bug with mixed HASH_GIVE_ALLOC and HASH_TABLE_ALLOC

17 years agofixed bug in big_free
Pavel Charvat [Mon, 23 Apr 2007 12:17:31 +0000 (14:17 +0200)]
fixed bug in big_free

17 years agohashtables: fixed combination of HASH_GIVE_ALLOC and HASH_TABLE_ALLOC
Pavel Charvat [Mon, 23 Apr 2007 12:07:19 +0000 (14:07 +0200)]
hashtables: fixed combination of HASH_GIVE_ALLOC and HASH_TABLE_ALLOC

17 years agoMerge with git+ssh://git.ucw.cz/projects/sherlock/GIT/sherlock.git#v3.10.1
Pavel Charvat [Mon, 23 Apr 2007 08:12:51 +0000 (10:12 +0200)]
Merge with git+ssh://git.ucw.cz/projects/sherlock/GIT/sherlock.git#v3.10.1

17 years agoAdded kmp.h and kmp-search.h between includes that are installed by make
Daniel Fiala [Wed, 18 Apr 2007 12:40:41 +0000 (14:40 +0200)]
Added kmp.h and kmp-search.h between includes that are installed by make
install.

Added new release to centrum/cz/pkg/debian/changelog .

17 years agoMerge with git+ssh://git.ucw.cz/projects/sherlock/GIT/sherlock.git
Pavel Charvat [Fri, 13 Apr 2007 08:36:27 +0000 (10:36 +0200)]
Merge with git+ssh://git.ucw.cz/projects/sherlock/GIT/sherlock.git

17 years agocommented stolen getopt
Pavel Charvat [Fri, 13 Apr 2007 07:48:30 +0000 (09:48 +0200)]
commented stolen getopt

17 years agoforgotten commit from yesterday
Pavel Charvat [Fri, 13 Apr 2007 07:29:06 +0000 (09:29 +0200)]
forgotten commit from yesterday

17 years agotrying to steal GNU libc's getopt... maybe it would be better
Pavel Charvat [Thu, 12 Apr 2007 10:03:30 +0000 (12:03 +0200)]
trying to steal GNU libc's getopt... maybe it would be better
to simply strip the code only (not long) instead of copying entire files :-/

17 years agofixed a typo in bfilesize
Pavel Charvat [Wed, 11 Apr 2007 08:09:36 +0000 (10:09 +0200)]
fixed a typo in bfilesize

17 years agoMerge with git+ssh://git.ucw.cz/projects/sherlock/GIT/sherlock.git
Pavel Charvat [Tue, 10 Apr 2007 16:38:48 +0000 (18:38 +0200)]
Merge with git+ssh://git.ucw.cz/projects/sherlock/GIT/sherlock.git

17 years agoremoved MAX_ATTR_SIZE from images/*
Pavel Charvat [Tue, 10 Apr 2007 14:15:09 +0000 (16:15 +0200)]
removed MAX_ATTR_SIZE from images/*

17 years agoadded stk_vprintf
Pavel Charvat [Tue, 10 Apr 2007 13:37:49 +0000 (15:37 +0200)]
added stk_vprintf

17 years agoMerge with git+ssh://git.ucw.cz/projects/sherlock/GIT/sherlock.git
Pavel Charvat [Tue, 10 Apr 2007 07:20:15 +0000 (09:20 +0200)]
Merge with git+ssh://git.ucw.cz/projects/sherlock/GIT/sherlock.git

17 years agoMerge with git+ssh://git.ucw.cz/projects/sherlock/GIT/sherlock.git
Pavel Charvat [Tue, 10 Apr 2007 07:18:42 +0000 (09:18 +0200)]
Merge with git+ssh://git.ucw.cz/projects/sherlock/GIT/sherlock.git

17 years agoAdded a new mempool primitive mp_spread().
Martin Mares [Thu, 29 Mar 2007 08:48:06 +0000 (10:48 +0200)]
Added a new mempool primitive mp_spread().

Gradual construction of strings via the growing mempool interface was still
too complicated, so I have introduced a new primitive for this case and also
modified mp_end() to return a pointer to the beginning of the just closed
block (which gets optimized out if unused). This allows to write:

byte *p = mp_start(pool, 1);
for (...) {
p = mp_spread(pool, p, 2);
*p++ = ...;
}
*p++ = 0;
return mp_end(pool);

Pavel, if you agree, I will merge this into mainline.

17 years agoAdded a new mempool primitive mp_spread().
Martin Mares [Thu, 29 Mar 2007 08:48:06 +0000 (10:48 +0200)]
Added a new mempool primitive mp_spread().

Gradual construction of strings via the growing mempool interface was still
too complicated, so I have introduced a new primitive for this case and also
modified mp_end() to return a pointer to the beginning of the just closed
block (which gets optimized out if unused). This allows to write:

byte *p = mp_start(pool, 1);
for (...) {
p = mp_spread(pool, p, 2);
*p++ = ...;
}
*p++ = 0;
return mp_end(pool);

Pavel, if you agree, I will merge this into mainline.

17 years agoMerge with git+ssh://git.ucw.cz/projects/sherlock/GIT/sherlock.git
Pavel Charvat [Thu, 29 Mar 2007 08:14:45 +0000 (10:14 +0200)]
Merge with git+ssh://git.ucw.cz/projects/sherlock/GIT/sherlock.git

17 years agoMerged extended mempool from the dev-playground branch.
Pavel Charvat [Thu, 29 Mar 2007 07:22:45 +0000 (09:22 +0200)]
Merged extended mempool from the dev-playground branch.

New features:
- reallocating of the last block (similar to a growing buffer)
- saving and restoring states (similar to a stack)

17 years agoremoved useless code from Ulimit & Filelock perl modules
Pavel Charvat [Tue, 20 Mar 2007 09:56:40 +0000 (10:56 +0100)]
removed useless code from Ulimit & Filelock perl modules

17 years agosimplified usage of Log & Die
Pavel Charvat [Tue, 20 Mar 2007 09:49:57 +0000 (10:49 +0100)]
simplified usage of Log & Die

17 years agoperl: Log and Die funtions are now exportable
Pavel Charvat [Tue, 20 Mar 2007 09:44:06 +0000 (10:44 +0100)]
perl: Log and Die funtions are now exportable

17 years agocommon switch for perl modules
Pavel Charvat [Fri, 16 Mar 2007 09:40:53 +0000 (10:40 +0100)]
common switch for perl modules

17 years agoAdded Log perl module.
Pavel Charvat [Fri, 16 Mar 2007 08:26:59 +0000 (09:26 +0100)]
Added Log perl module.

17 years agolibucw: added UTF-8 correctness checker
Pavel Charvat [Thu, 15 Mar 2007 20:56:46 +0000 (21:56 +0100)]
libucw: added UTF-8 correctness checker

17 years agoMerge with git+ssh://git.ucw.cz/projects/sherlock/GIT/sherlock.git
Pavel Charvat [Mon, 12 Mar 2007 14:16:56 +0000 (15:16 +0100)]
Merge with git+ssh://git.ucw.cz/projects/sherlock/GIT/sherlock.git

17 years agoMerge with git+ssh://git.ucw.cz/projects/sherlock/GIT/sherlock.git#v3.10.1
Pavel Charvat [Mon, 12 Mar 2007 14:02:08 +0000 (15:02 +0100)]
Merge with git+ssh://git.ucw.cz/projects/sherlock/GIT/sherlock.git#v3.10.1

17 years agobetter ifdefs in images/config.c
Pavel Charvat [Sun, 11 Mar 2007 09:23:08 +0000 (10:23 +0100)]
better ifdefs in images/config.c

17 years agoRewritten ff-binary.
Martin Mares [Sat, 10 Mar 2007 21:10:49 +0000 (22:10 +0100)]
Rewritten ff-binary.

It now supports reading/writing in a specified endianity as well as the
native format.