]>
mj.ucw.cz Git - libucw.git/log
Martin Mares [Thu, 19 Jul 2007 10:41:37 +0000 (12:41 +0200)]
autoconf.h needs to be handled differently, since it is copied from obj/lib
instead of src/lib.
The public API works again.
Martin Mares [Thu, 19 Jul 2007 09:32:04 +0000 (11:32 +0200)]
Unfortunately, libraries with public API need an extra rule for their .pc.
Martin Mares [Wed, 18 Jul 2007 21:21:22 +0000 (23:21 +0200)]
Set `s' and `o' variables in configure.
This helps us avoid explicit references to SRCDIR in the top-level Makefile.
Martin Mares [Wed, 18 Jul 2007 19:59:32 +0000 (21:59 +0200)]
Use msg() instead of log().
Martin Mares [Wed, 18 Jul 2007 19:59:17 +0000 (21:59 +0200)]
Removed another bunch of unneeded dependencies on sherlock/sherlock.h.
Martin Mares [Wed, 18 Jul 2007 19:57:07 +0000 (21:57 +0200)]
Removed unnecessary depedencies on sherlock/sherlock.h.
Martin Mares [Wed, 18 Jul 2007 19:43:30 +0000 (21:43 +0200)]
Some of the directories in run/ hierarchy are not dependent on Sherlock.
Martin Mares [Wed, 18 Jul 2007 19:43:08 +0000 (21:43 +0200)]
Fixed const qualifiers in regex library.
(The wrong ones were used in non-default compilation modes.)
Martin Mares [Wed, 18 Jul 2007 14:20:58 +0000 (16:20 +0200)]
Split the top-level Makefile to three parts.
Maketop and Makebottom contain the generic parts, which are useful for
other projects as well, while Makefile includes them and contains the
parts specific for Sherlock.
Martin Mares [Wed, 18 Jul 2007 13:56:27 +0000 (15:56 +0200)]
Merge with git+ssh://cvs.ucw.cz/projects/sherlock/GIT/sherlock.git#dev-make
Martin Mares [Wed, 18 Jul 2007 13:56:19 +0000 (15:56 +0200)]
Cleaned up insallation of library API.
Martin Mares [Wed, 18 Jul 2007 08:48:01 +0000 (10:48 +0200)]
"-nt" behaves randomly on non-existent files, so check existence first.
Martin Mares [Tue, 17 Jul 2007 18:07:26 +0000 (20:07 +0200)]
First bits of installation of .pc files.
(So far, the paths are relative, so they are of doubtful use, but
the main bits are here.)
Martin Mares [Tue, 17 Jul 2007 17:27:59 +0000 (19:27 +0200)]
Fixed depedencies of libimages.
Martin Mares [Tue, 17 Jul 2007 17:04:00 +0000 (19:04 +0200)]
The pkg-config variables have no default value.
Martin Mares [Tue, 17 Jul 2007 17:00:58 +0000 (19:00 +0200)]
Use pkg-config to handle library dependencies.
The original system of library dependencies was very confusing and brittle,
so I have decided to use pkg-config instead.
Each library now has its .pc file, which is processed by genconf, so conditionals
and variable substitutions can be used. You need to specify three Makefile
rules:
(1) libsomething.a to build the static version
(2) libsomething.so to build the shared version
(3) libsomething.pc for the pkg-config metadata; this target should
depend on .pc files of all libraries required by this library.
@DEPS@ in the .pc file will be substituted by the names of such
libraries, so you can just say "Requires: @DEPS@" to handle
dependencies on other Sherlock libraries.
To link with a library, just add a depedency on its .pc file. The default
rules are smart enough to run pkg-config and construct the appropriate
linker flags.
If you want to link with an external library, the LIBS variable still works.
If you want an internal library to depend on an external library, just
mention it in the linker flags in the .pc file.
Martin Mares [Tue, 17 Jul 2007 16:39:33 +0000 (18:39 +0200)]
Substitute not only configuration switches, but also environment variables.
Martin Mares [Tue, 17 Jul 2007 13:22:30 +0000 (15:22 +0200)]
Unified installation of includes.
Martin Mares [Tue, 17 Jul 2007 13:01:35 +0000 (15:01 +0200)]
Introduced the verbose switch.
Makefiles are now silent by default and they only write single-line
messages on what's currently being done.
Pavel Charvat [Mon, 25 Jun 2007 16:07:21 +0000 (18:07 +0200)]
typos
Pavel Charvat [Mon, 25 Jun 2007 14:42:00 +0000 (16:42 +0200)]
few "byte *" -> "char *" conversions
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
Pavel Charvat [Mon, 25 Jun 2007 12:37:27 +0000 (14:37 +0200)]
converted byte ** -> char ** in sepsplit
Pavel Charvat [Mon, 25 Jun 2007 12:12:57 +0000 (14:12 +0200)]
replaced several "byte *" -> "char *", mostly in the configuration system
Pavel Charvat [Mon, 25 Jun 2007 10:01:50 +0000 (12:01 +0200)]
fastbufs: byte * -> char *
Martin Mares [Fri, 22 Jun 2007 09:38:54 +0000 (11:38 +0200)]
hashfunc: char-ified.
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.
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.)
Robert Spalek [Fri, 22 Jun 2007 01:39:27 +0000 (18:39 -0700)]
lib: convert log->msg in Darwin-#ifdef'ed code
Pavel Charvat [Thu, 21 Jun 2007 13:47:46 +0000 (15:47 +0200)]
libimages: removed experiments with Hilbert curves
Pavel Charvat [Thu, 21 Jun 2007 13:13:49 +0000 (15:13 +0200)]
run testing utities in rundir instead of in source tree
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.
Pavel Charvat [Thu, 21 Jun 2007 09:22:13 +0000 (11:22 +0200)]
licharset: added const qualifiers
Pavel Charvat [Thu, 21 Jun 2007 09:09:42 +0000 (11:09 +0200)]
libucw: added more const qualifiers
Pavel Charvat [Thu, 21 Jun 2007 08:43:57 +0000 (10:43 +0200)]
fixed few compilation warnings
Pavel Charvat [Thu, 21 Jun 2007 08:37:40 +0000 (10:37 +0200)]
libucw: added several const qualifiers
Martin Mares [Wed, 20 Jun 2007 08:04:08 +0000 (10:04 +0200)]
Moved detaching of stdout from log_file() to the daemon-helper.
Martin Mares [Wed, 20 Jun 2007 07:47:01 +0000 (09:47 +0200)]
Documented bgets() and friends per popular request.
Pavel Charvat [Thu, 14 Jun 2007 13:29:46 +0000 (15:29 +0200)]
simplified usage utf8_get
Martin Mares [Mon, 4 Jun 2007 10:54:45 +0000 (12:54 +0200)]
Added missing includes to libucw API.
Martin Mares [Sun, 3 Jun 2007 19:38:13 +0000 (21:38 +0200)]
Exported the addrmasks and their matching.
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
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
Pavel Charvat [Fri, 18 May 2007 11:45:03 +0000 (13:45 +0200)]
bugfix in image scaling (select the correct strategy)
Pavel Charvat [Thu, 17 May 2007 20:06:27 +0000 (22:06 +0200)]
install sorter-globals.h header
Martin Mares [Wed, 16 May 2007 12:30:50 +0000 (14:30 +0200)]
TAGS were specified twice.
Robert Spalek [Sat, 28 Apr 2007 20:40:06 +0000 (13:40 -0700)]
lib: added missing include on Darwin
Pavel Charvat [Mon, 23 Apr 2007 18:00:55 +0000 (20:00 +0200)]
fixed off-by-one error in workqueue
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
Pavel Charvat [Mon, 23 Apr 2007 12:17:31 +0000 (14:17 +0200)]
fixed bug in big_free
Pavel Charvat [Mon, 23 Apr 2007 12:07:19 +0000 (14:07 +0200)]
hashtables: fixed combination of HASH_GIVE_ALLOC and HASH_TABLE_ALLOC
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
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 .
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
Pavel Charvat [Fri, 13 Apr 2007 07:48:30 +0000 (09:48 +0200)]
commented stolen getopt
Pavel Charvat [Fri, 13 Apr 2007 07:29:06 +0000 (09:29 +0200)]
forgotten commit from yesterday
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 :-/
Pavel Charvat [Wed, 11 Apr 2007 08:09:36 +0000 (10:09 +0200)]
fixed a typo in bfilesize
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
Pavel Charvat [Tue, 10 Apr 2007 14:15:09 +0000 (16:15 +0200)]
removed MAX_ATTR_SIZE from images/*
Pavel Charvat [Tue, 10 Apr 2007 13:37:49 +0000 (15:37 +0200)]
added stk_vprintf
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
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
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.
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.
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
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)
Pavel Charvat [Tue, 20 Mar 2007 09:56:40 +0000 (10:56 +0100)]
removed useless code from Ulimit & Filelock perl modules
Pavel Charvat [Tue, 20 Mar 2007 09:49:57 +0000 (10:49 +0100)]
simplified usage of Log & Die
Pavel Charvat [Tue, 20 Mar 2007 09:44:06 +0000 (10:44 +0100)]
perl: Log and Die funtions are now exportable
Pavel Charvat [Fri, 16 Mar 2007 09:40:53 +0000 (10:40 +0100)]
common switch for perl modules
Pavel Charvat [Fri, 16 Mar 2007 08:26:59 +0000 (09:26 +0100)]
Added Log perl module.
Pavel Charvat [Thu, 15 Mar 2007 20:56:46 +0000 (21:56 +0100)]
libucw: added UTF-8 correctness checker
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
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
Pavel Charvat [Sun, 11 Mar 2007 09:23:08 +0000 (10:23 +0100)]
better ifdefs in images/config.c
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.
Martin Mares [Sat, 10 Mar 2007 20:21:23 +0000 (21:21 +0100)]
Unaligned access functions (formerly macros) work in native, big and little endian.
Martin Mares [Sat, 10 Mar 2007 20:00:09 +0000 (21:00 +0100)]
Binary fastbuf functions moved to lib/ff-binary.h.
Martin Mares [Sat, 10 Mar 2007 19:45:38 +0000 (20:45 +0100)]
Removed an unnecessary optimization.
In fact, this could never trigger in recent versions of libucw
as it's already tested in bseek() and bsetpos().
Martin Mares [Sat, 10 Mar 2007 19:44:43 +0000 (20:44 +0100)]
lib/fastbuf.h no longer includes <stdio.h>.
Added zillions of missing includes and fixed handling of EOF.
Mentioned in doc/changes.
Martin Mares [Sat, 10 Mar 2007 19:15:06 +0000 (20:15 +0100)]
Fastbufs now work better on unseekable files.
The seek callback returns success, bseek() and bsetpos() dies if seek
fails, bfilesize() returns -1 if the file is unseekable.
Pavel Charvat [Sat, 10 Mar 2007 12:53:25 +0000 (13:53 +0100)]
use the new mkdist feature in cf/images
Pavel Charvat [Fri, 9 Mar 2007 15:54:07 +0000 (16:54 +0100)]
perl: Added Sherlock::Config::Usage string.
Pavel Charvat [Thu, 8 Mar 2007 12:09:43 +0000 (13:09 +0100)]
Merge with git+ssh://git.ucw.cz/projects/sherlock/GIT/sherlock.git
Pavel Charvat [Thu, 8 Mar 2007 12:05:29 +0000 (13:05 +0100)]
Merge with git+ssh://git.ucw.cz/projects/sherlock/GIT/sherlock.git#v3.10.1
Pavel Charvat [Wed, 7 Mar 2007 15:24:22 +0000 (16:24 +0100)]
ASSERT if now an expression
Pavel Charvat [Wed, 7 Mar 2007 14:24:11 +0000 (15:24 +0100)]
removed EASSERT
Pavel Charvat [Wed, 7 Mar 2007 13:10:12 +0000 (14:10 +0100)]
added always evaluated EASSERT(x)
Pavel Charvat [Wed, 7 Mar 2007 12:08:18 +0000 (13:08 +0100)]
Added 32bit random number generator.
Pavel Charvat [Mon, 5 Mar 2007 20:08:09 +0000 (21:08 +0100)]
small fixes in perl modules
Pavel Charvat [Sat, 3 Mar 2007 13:12:11 +0000 (14:12 +0100)]
partially updated free/mkdist
Pavel Charvat [Thu, 1 Mar 2007 13:31:31 +0000 (14:31 +0100)]
stkstring.h depends on <stdio.h> (sprintf)
Pavel Charvat [Sun, 25 Feb 2007 22:59:33 +0000 (23:59 +0100)]
fixed fcnt_lock interface description
Pavel Charvat [Sun, 25 Feb 2007 22:39:11 +0000 (23:39 +0100)]
added a perl module for fcntl locking
Pavel Charvat [Fri, 16 Feb 2007 12:37:11 +0000 (13:37 +0100)]
Merge with git+ssh://git.ucw.cz/projects/sherlock/GIT/sherlock.git
Pavel Charvat [Tue, 13 Feb 2007 11:08:54 +0000 (12:08 +0100)]
Merge with git+ssh://git.ucw.cz/projects/sherlock/GIT/sherlock.git#v3.10.1
Pavel Charvat [Tue, 13 Feb 2007 11:08:13 +0000 (12:08 +0100)]
Merge with git+ssh://git.ucw.cz/projects/sherlock/GIT/sherlock.git#v3.10
Martin Mares [Fri, 9 Feb 2007 10:17:00 +0000 (11:17 +0100)]
Merged genconf improvements from mainline.
Martin Mares [Thu, 8 Feb 2007 22:04:56 +0000 (23:04 +0100)]
More elegant evaluation of #if expressions.