Robert Spalek [Thu, 30 Jun 2005 17:28:33 +0000 (17:28 +0000)]
added url_enescape_friendly() for cards.c: it prepares a printable version
of the URL (with interpretted spaces and delimiters, hence it cannot be
parsed back), but it does not convert characters above 0x7f so that the
target string is a valid utf-8 string
Robert Spalek [Thu, 30 Jun 2005 15:33:23 +0000 (15:33 +0000)]
second part of fixing URL printing: escape back all characters above 0x7f
note that it may happen that some incorrect words get highlighted after we
cut the escaped URL into words by lexmapper, but this is much better than
producing incorrect UTF-8 stream
Martin Mares [Thu, 16 Jun 2005 21:03:13 +0000 (21:03 +0000)]
Added hash functions for 64-bit integers.
hash_pointer() now uses either 32-bit or 64-bit hash depending on pointer size.
hashtable.h with an atomic key does the same.
Martin Mares [Sat, 28 May 2005 17:51:48 +0000 (17:51 +0000)]
Added switches for gcc-4.0. "-fstrict-aliasing" is now added only for
gcc 3.0 since 3.3 and newer turn in by default with -O2 or higher.
Added CWARNS_OFF, which turns off even the warnings which default to on.
Expect lots of warnings with gcc 4.0.0; some of them are caused by
compiler bugs (e.g., http://gcc.gnu.org/bugzilla/show_bug.cgi?id=21800).
Martin Mares [Tue, 12 Apr 2005 22:13:36 +0000 (22:13 +0000)]
Another Big Move -- moved most files specific for centrum.cz to centrum/cz.
Finally got rid of CONFIG_MORFEO and introduced CONFIG_CENTRUM_DEBUG instead.
Martin Mares [Tue, 12 Apr 2005 18:42:41 +0000 (18:42 +0000)]
Distinguish between CONFIG_DEBUG and CONFIG_DEBUG_TOOLS in config files,
but in the Makefiles yet, because I want to keep the old config system
for a short while.
Martin Mares [Tue, 12 Apr 2005 18:39:10 +0000 (18:39 +0000)]
More progress on the new configurator. All configurations have been converted.
The centrum/cz config decides on configuration according to host name.
Autoconf is able to auto-detect gcc.
Martin Mares [Mon, 11 Apr 2005 22:02:48 +0000 (22:02 +0000)]
Rewritten Makefiles to support separated source and object trees.
The source tree is now strictly read-only, which simplified several
things, but also let me struggle for 4 hours with GNU make bugs and
misfeatures.
Martin Mares [Wed, 16 Feb 2005 17:08:39 +0000 (17:08 +0000)]
If requested by config.mk, install all libraries and their include
files for use by external programs.
I don't expect this mechanism to be used in Sherlock itself, but I need
to use it in a couple of other projects (including Lestrade) and I want
to keep the things consistent.
Martin Mares [Thu, 10 Feb 2005 22:30:59 +0000 (22:30 +0000)]
Added overflow-safe string functions allocating everything on the stack.
Actually, they are all macros, but passing parameters with side-effects
should be safe, because they are always evaluated exactly once.
Martin Mares [Sat, 8 Jan 2005 21:34:22 +0000 (21:34 +0000)]
Fixed a nasty bug in partmap_map(). When called for an item spanning window
boundary, it miscalculated the memory address and returned the start of the
new window instead.
Martin Mares [Sat, 11 Dec 2004 13:22:50 +0000 (13:22 +0000)]
Resurrected CONFIG_LARGE_DB.
Large database format and LFS really should be different switches --
small DB combined with LFS gives a 4GB limit, small with no LFS gives
2GB limit.
CONFIG_LFS is now always on (it's supported by all current Linux libc's
and the performance penalty for using 64-bit sh_off_t is negligible),
CONFIG_LARGE_DB is controlled by config.mk.
Martin Mares [Sat, 11 Dec 2004 11:51:35 +0000 (11:51 +0000)]
Moved the lizard-fb module to Sherlock library, because it's heavily
dependent on the bucket types. The rest of LiZaRd should better remain
in libucw, it's very useful outside Sherlock.