]> mj.ucw.cz Git - libucw.git/log
libucw.git
19 years agoFixed several format string bugs in calls of die().
Martin Mares [Fri, 10 Jun 2005 11:16:41 +0000 (11:16 +0000)]
Fixed several format string bugs in calls of die().

19 years agoFormat string arguments for die() should be checked as we do for log().
Martin Mares [Fri, 10 Jun 2005 11:15:27 +0000 (11:15 +0000)]
Format string arguments for die() should be checked as we do for log().

19 years agoMainline is going to be v3.7.
Martin Mares [Sat, 4 Jun 2005 11:59:17 +0000 (11:59 +0000)]
Mainline is going to be v3.7.

19 years agoShifting of mapping window is unlikely().
Martin Mares [Tue, 31 May 2005 11:27:12 +0000 (11:27 +0000)]
Shifting of mapping window is unlikely().

19 years agolog_switch() returns whether the logs have been really switched.
Martin Mares [Sun, 29 May 2005 10:33:49 +0000 (10:33 +0000)]
log_switch() returns whether the logs have been really switched.

19 years agoAnother work-around for spurious warnings.
Martin Mares [Sun, 29 May 2005 09:20:45 +0000 (09:20 +0000)]
Another work-around for spurious warnings.

19 years agoAdded work-around for spurious warnings.
Martin Mares [Sun, 29 May 2005 09:20:34 +0000 (09:20 +0000)]
Added work-around for spurious warnings.

19 years agoAdded windows-1251 charset (almost closes Bug #1209).
Martin Mares [Sat, 28 May 2005 20:02:35 +0000 (20:02 +0000)]
Added windows-1251 charset (almost closes Bug #1209).

19 years agoAdded switches for gcc-4.0. "-fstrict-aliasing" is now added only for
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).

19 years agoMerged Centrum customization splits from 3.5.1.
Martin Mares [Tue, 17 May 2005 20:58:26 +0000 (20:58 +0000)]
Merged Centrum customization splits from 3.5.1.

19 years agoFixxed test for ROLE=reap --> reap+watson
Tomas Holusa [Tue, 17 May 2005 12:30:22 +0000 (12:30 +0000)]
Fixxed test for ROLE=reap --> reap+watson

19 years agoDefault settings of MUX parameters.
Martin Mares [Sun, 1 May 2005 19:55:01 +0000 (19:55 +0000)]
Default settings of MUX parameters.

19 years agoIntroduced cfg_malloc_zero().
Martin Mares [Sun, 1 May 2005 19:50:37 +0000 (19:50 +0000)]
Introduced cfg_malloc_zero().

19 years agoIntroduced bit_array_set_all().
Martin Mares [Sun, 1 May 2005 19:50:23 +0000 (19:50 +0000)]
Introduced bit_array_set_all().

19 years agoMainline will be v3.6.
Martin Mares [Sat, 23 Apr 2005 21:18:59 +0000 (21:18 +0000)]
Mainline will be v3.6.

19 years agoDon't use O_DIRECTORY on non-Linux systems. (It's not necessary, but it
Martin Mares [Fri, 22 Apr 2005 13:17:07 +0000 (13:17 +0000)]
Don't use O_DIRECTORY on non-Linux systems. (It's not necessary, but it
adds an extra check.)

19 years agoFixed a typo (thanks, Robert).
Martin Mares [Sun, 17 Apr 2005 18:36:55 +0000 (18:36 +0000)]
Fixed a typo (thanks, Robert).

19 years agoFix "-CONFIG_SWITCH" parameters.
Martin Mares [Sun, 17 Apr 2005 18:13:10 +0000 (18:13 +0000)]
Fix "-CONFIG_SWITCH" parameters.

19 years agoFix illegal operations with va_list's.
Martin Mares [Fri, 15 Apr 2005 21:51:52 +0000 (21:51 +0000)]
Fix illegal operations with va_list's.

19 years agoFixed a couple of mismatches in setting of CONFIG_LARGE_DB and
Martin Mares [Thu, 14 Apr 2005 10:26:02 +0000 (10:26 +0000)]
Fixed a couple of mismatches in setting of CONFIG_LARGE_DB and
CONFIG_MAX_CONTEXTS.

19 years agoMoved endianity settings etc. to the per-CPU section.
Martin Mares [Thu, 14 Apr 2005 09:58:34 +0000 (09:58 +0000)]
Moved endianity settings etc. to the per-CPU section.

19 years agoFixed a typo.
Martin Mares [Wed, 13 Apr 2005 20:47:37 +0000 (20:47 +0000)]
Fixed a typo.

19 years agoAnother Big Move -- moved most files specific for centrum.cz to centrum/cz.
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.

19 years agoRemoved the old configuration mechanism.
Martin Mares [Tue, 12 Apr 2005 21:46:17 +0000 (21:46 +0000)]
Removed the old configuration mechanism.

19 years agoEven better CPU checks, this time taking into account GCC version.
Martin Mares [Tue, 12 Apr 2005 21:26:05 +0000 (21:26 +0000)]
Even better CPU checks, this time taking into account GCC version.

19 years agoFixed bug in parsing of options.
Martin Mares [Tue, 12 Apr 2005 21:25:49 +0000 (21:25 +0000)]
Fixed bug in parsing of options.

19 years agoConfigure: CPU type autodetection.
Martin Mares [Tue, 12 Apr 2005 20:57:49 +0000 (20:57 +0000)]
Configure: CPU type autodetection.

19 years agoAutomatic detection of host OS and also partial automatic detection of the
Martin Mares [Tue, 12 Apr 2005 19:05:14 +0000 (19:05 +0000)]
Automatic detection of host OS and also partial automatic detection of the
CPU architecture.

19 years agoUnfortunately, CONFIG_MORFEO is here to stay.
Martin Mares [Tue, 12 Apr 2005 18:47:44 +0000 (18:47 +0000)]
Unfortunately, CONFIG_MORFEO is here to stay.

19 years agoDistinguish between CONFIG_DEBUG and CONFIG_DEBUG_TOOLS in config files,
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.

19 years agoMore progress on the new configurator. All configurations have been converted.
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.

19 years agoSwitched to the new config mechanism. Greatly simplified.
Martin Mares [Tue, 12 Apr 2005 18:35:49 +0000 (18:35 +0000)]
Switched to the new config mechanism. Greatly simplified.

19 years agoMore pieces of new configure.
Martin Mares [Tue, 12 Apr 2005 14:36:54 +0000 (14:36 +0000)]
More pieces of new configure.

19 years agoAdded first pieces of the new configuration mechanism. (Not connected
Martin Mares [Tue, 12 Apr 2005 13:25:34 +0000 (13:25 +0000)]
Added first pieces of the new configuration mechanism. (Not connected
to the rest of Sherlock yet, so you can still build Sherlock as usually.)

19 years agoRewritten Makefiles to support separated source and object trees.
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.

19 years agoDon't use prefetch on Pentium 4, it actually gives worse results than
Martin Mares [Mon, 4 Apr 2005 18:30:13 +0000 (18:30 +0000)]
Don't use prefetch on Pentium 4, it actually gives worse results than
not prefetching at all. Need to investigate more later.

19 years agoAdded qache_probe().
Martin Mares [Sat, 2 Apr 2005 13:24:50 +0000 (13:24 +0000)]
Added qache_probe().
Bugfix: Ignore position hints to empty slots, even if the key matches.

19 years agoAdded `u8' and `s8' to keep consistency.
Martin Mares [Sat, 2 Apr 2005 10:59:21 +0000 (10:59 +0000)]
Added `u8' and `s8' to keep consistency.

19 years agoAdded file_close_all().
Martin Mares [Fri, 1 Apr 2005 15:20:45 +0000 (15:20 +0000)]
Added file_close_all().

19 years agoCache module finished. Implemented internal consistency checks (which are
Martin Mares [Mon, 7 Mar 2005 17:10:49 +0000 (17:10 +0000)]
Cache module finished. Implemented internal consistency checks (which are
tried before we decide to use an existing cache file) and tested everything.

19 years agoMore work on the caching module: added some debugging messages,
Martin Mares [Mon, 7 Mar 2005 14:01:49 +0000 (14:01 +0000)]
More work on the caching module: added some debugging messages,
moved next block pointers to a separate area.

19 years agoWrote the cache module, not debugged yet.
Martin Mares [Mon, 7 Mar 2005 00:10:50 +0000 (00:10 +0000)]
Wrote the cache module, not debugged yet.

19 years agoFirst steps towards a universal shared memory cache, which will be used
Martin Mares [Sun, 6 Mar 2005 12:26:13 +0000 (12:26 +0000)]
First steps towards a universal shared memory cache, which will be used
in the multiplexer and later probably also in the search server.

19 years agoWarn on mistyped arguments to stk_printf().
Martin Mares [Fri, 4 Mar 2005 21:46:58 +0000 (21:46 +0000)]
Warn on mistyped arguments to stk_printf().

19 years agoMainloop timers are now measured in milliseconds. Will be used by shep-reap one day.
Martin Mares [Fri, 4 Mar 2005 17:09:57 +0000 (17:09 +0000)]
Mainloop timers are now measured in milliseconds. Will be used by shep-reap one day.

19 years agoAvoid "cast of pointer to a smaller integer type" warnings.
Martin Mares [Thu, 3 Mar 2005 19:40:51 +0000 (19:40 +0000)]
Avoid "cast of pointer to a smaller integer type" warnings.

19 years agoIf previous check-customs run failed, run/cf could be empty.
Martin Mares [Wed, 2 Mar 2005 22:24:35 +0000 (22:24 +0000)]
If previous check-customs run failed, run/cf could be empty.

19 years agoFixed building of shared library config,
Martin Mares [Wed, 2 Mar 2005 22:13:08 +0000 (22:13 +0000)]
Fixed building of shared library config,

19 years agoFix incorrect pointer casts.
Martin Mares [Wed, 2 Mar 2005 21:48:47 +0000 (21:48 +0000)]
Fix incorrect pointer casts.

19 years agoBuild full debugging config with shared libraries as well.
Martin Mares [Wed, 2 Mar 2005 21:48:22 +0000 (21:48 +0000)]
Build full debugging config with shared libraries as well.

19 years agotypo fixed
Robert Spalek [Mon, 21 Feb 2005 12:00:21 +0000 (12:00 +0000)]
typo fixed

19 years agoshup up, gcc
Robert Spalek [Sun, 20 Feb 2005 15:57:33 +0000 (15:57 +0000)]
shup up, gcc

19 years agofixed library dependencies
Robert Spalek [Sun, 20 Feb 2005 13:32:06 +0000 (13:32 +0000)]
fixed library dependencies

19 years agocomparison of signed and unsigned encountered without CONFIG_LFS
Robert Spalek [Sat, 19 Feb 2005 22:23:38 +0000 (22:23 +0000)]
comparison of signed and unsigned encountered without CONFIG_LFS

19 years agoAdded clist walking macros with embedded C99 declaration of the iterator
Martin Mares [Sat, 19 Feb 2005 17:11:25 +0000 (17:11 +0000)]
Added clist walking macros with embedded C99 declaration of the iterator
variable.

19 years agoadded yet another utility for processing cvs logs
Robert Spalek [Fri, 18 Feb 2005 16:29:12 +0000 (16:29 +0000)]
added yet another utility for processing cvs logs

19 years agoadded th2
Robert Spalek [Fri, 18 Feb 2005 16:11:28 +0000 (16:11 +0000)]
added th2

19 years agoIf requested by config.mk, install all libraries and their include
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.

19 years agoClarified a comment.
Martin Mares [Tue, 15 Feb 2005 17:37:28 +0000 (17:37 +0000)]
Clarified a comment.

19 years agoA better comment.
Martin Mares [Sun, 13 Feb 2005 10:58:52 +0000 (10:58 +0000)]
A better comment.

19 years agoOops, a nasty bug has crept in.
Martin Mares [Thu, 10 Feb 2005 22:31:31 +0000 (22:31 +0000)]
Oops, a nasty bug has crept in.

19 years agoAdded overflow-safe string functions allocating everything on the stack.
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.

19 years agoAdded tests for the mempool string functions.
Martin Mares [Thu, 10 Feb 2005 22:00:31 +0000 (22:00 +0000)]
Added tests for the mempool string functions.

19 years agoAdded printf-like function with output to mempool.
Martin Mares [Thu, 10 Feb 2005 21:57:17 +0000 (21:57 +0000)]
Added printf-like function with output to mempool.

19 years agoAdded fb_wrap_charconv_in().
Martin Mares [Mon, 31 Jan 2005 15:12:58 +0000 (15:12 +0000)]
Added fb_wrap_charconv_in().

19 years agoA minor optimization.
Martin Mares [Mon, 31 Jan 2005 15:12:39 +0000 (15:12 +0000)]
A minor optimization.

19 years agoDon't forget to undefine BUF_T.
Martin Mares [Fri, 28 Jan 2005 21:19:18 +0000 (21:19 +0000)]
Don't forget to undefine BUF_T.

19 years agoWrong alignment fixed.
Tomas Valla [Tue, 18 Jan 2005 15:45:31 +0000 (15:45 +0000)]
Wrong alignment fixed.

19 years agoWe should check the special case.
Tomas Valla [Tue, 18 Jan 2005 11:37:24 +0000 (11:37 +0000)]
We should check the special case.

19 years agouseful macro to align pointer p to size s
Tomas Valla [Mon, 17 Jan 2005 19:41:30 +0000 (19:41 +0000)]
useful macro to align pointer p to size s

19 years agoupdate the copyright; it's been quite a long time until I have found a use
Robert Spalek [Mon, 10 Jan 2005 16:32:37 +0000 (16:32 +0000)]
update the copyright; it's been quite a long time until I have found a use
for this module :))

19 years agoadded TREE_WANT_BOUNDARY for finding the first/last node
Robert Spalek [Mon, 10 Jan 2005 16:03:15 +0000 (16:03 +0000)]
added TREE_WANT_BOUNDARY for finding the first/last node

19 years agoAdded another debugging customization for testing of custom stats and matchers.
Martin Mares [Sun, 9 Jan 2005 16:36:12 +0000 (16:36 +0000)]
Added another debugging customization for testing of custom stats and matchers.

19 years agoFixed a nasty bug in partmap_map(). When called for an item spanning window
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.

19 years agoAdded functions for single-character conversions between selected
Martin Mares [Fri, 7 Jan 2005 23:42:11 +0000 (23:42 +0000)]
Added functions for single-character conversions between selected
character sets and Unicode, with no interpolation.

19 years ago.cvsignore no longer needed here.
Martin Mares [Mon, 27 Dec 2004 13:04:22 +0000 (13:04 +0000)]
.cvsignore no longer needed here.

19 years agoResurrected CONFIG_LARGE_DB.
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.

19 years agoCompilation of Perl and Shell parts of libucw is optional.
Martin Mares [Sat, 11 Dec 2004 13:12:39 +0000 (13:12 +0000)]
Compilation of Perl and Shell parts of libucw is optional.

19 years agoAdjust comments in UCW Library modules.
Martin Mares [Sat, 11 Dec 2004 12:13:25 +0000 (12:13 +0000)]
Adjust comments in UCW Library modules.

19 years agoChanged all references to Sherlock Library by UCW Library.
Martin Mares [Sat, 11 Dec 2004 12:07:00 +0000 (12:07 +0000)]
Changed all references to Sherlock Library by UCW Library.

19 years agoSHERLOCK_HAVE_PREAD -> HAVE_PREAD.
Martin Mares [Sat, 11 Dec 2004 12:03:38 +0000 (12:03 +0000)]
SHERLOCK_HAVE_PREAD -> HAVE_PREAD.

19 years agoCONFIG_LFS has been removed, CONFIG_LARGE_DB got replaced by CONFIG_LARGE_FILES.
Martin Mares [Sat, 11 Dec 2004 12:01:05 +0000 (12:01 +0000)]
CONFIG_LFS has been removed, CONFIG_LARGE_DB got replaced by CONFIG_LARGE_FILES.

19 years agoMoved oid_t to sherlock.h.
Martin Mares [Sat, 11 Dec 2004 11:54:10 +0000 (11:54 +0000)]
Moved oid_t to sherlock.h.

19 years agoMoved the lizard-fb module to Sherlock library, because it's heavily
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.

19 years agoConfigure libucw according to Sherlock config.
Martin Mares [Sat, 11 Dec 2004 11:44:19 +0000 (11:44 +0000)]
Configure libucw according to Sherlock config.

19 years agoMoved CGI.pm and Query.pm to Sherlock library.
Martin Mares [Sat, 11 Dec 2004 11:41:06 +0000 (11:41 +0000)]
Moved CGI.pm and Query.pm to Sherlock library.

19 years agoSplit library functions to libsh and libucw.
Martin Mares [Sat, 11 Dec 2004 11:30:41 +0000 (11:30 +0000)]
Split library functions to libsh and libucw.

19 years agoIntroduced `sherlock/config.mk' which contains non-customizable parts
Martin Mares [Sat, 11 Dec 2004 10:48:44 +0000 (10:48 +0000)]
Introduced `sherlock/config.mk' which contains non-customizable parts
of the configuration. Moved version and config file name there.

19 years agoMade DEFAULT_CONFIG optional.
Martin Mares [Sat, 11 Dec 2004 10:47:49 +0000 (10:47 +0000)]
Made DEFAULT_CONFIG optional.

19 years agofb-charconv now not closing wrapped stream, only flushing it
Tomas Holusa [Wed, 8 Dec 2004 10:44:14 +0000 (10:44 +0000)]
fb-charconv now not closing wrapped stream, only flushing it
updated all places, when used this wrapper and close wrapped stream manually

19 years agoA minor bug fix to the installer (when installing `dict/cs', `dict'
Martin Mares [Fri, 3 Dec 2004 21:07:35 +0000 (21:07 +0000)]
A minor bug fix to the installer (when installing `dict/cs', `dict'
needn't exist).

19 years agoAdded the `extras' target (initially empty) and INSTALL_RUNDIRS.
Martin Mares [Fri, 3 Dec 2004 20:52:22 +0000 (20:52 +0000)]
Added the `extras' target (initially empty) and INSTALL_RUNDIRS.
`lib' and `bin' are now handled as INSTALL_RUNDIRS.

19 years agoPartial inlining of bskip().
Martin Mares [Sat, 20 Nov 2004 15:14:39 +0000 (15:14 +0000)]
Partial inlining of bskip().

19 years agoIntroduced COMPARE_LT and COMPARE_GT for comparison functions for arraysort.
Martin Mares [Sat, 20 Nov 2004 12:55:12 +0000 (12:55 +0000)]
Introduced COMPARE_LT and COMPARE_GT for comparison functions for arraysort.

19 years agoIncrease CARD_POS_SHIFT on Centrum.
Martin Mares [Sat, 20 Nov 2004 11:38:06 +0000 (11:38 +0000)]
Increase CARD_POS_SHIFT on Centrum.

19 years agoIf "Run" is omitted from a test, keep the value from the previous test.
Martin Mares [Fri, 19 Nov 2004 22:30:12 +0000 (22:30 +0000)]
If "Run" is omitted from a test, keep the value from the previous test.

19 years agoenlarge MAX_ATTR_SIZE
Robert Spalek [Mon, 15 Nov 2004 16:38:34 +0000 (16:38 +0000)]
enlarge MAX_ATTR_SIZE

19 years agoMove all explicit extern declarations of logf() [which is apparently missing
Martin Mares [Sun, 14 Nov 2004 12:12:29 +0000 (12:12 +0000)]
Move all explicit extern declarations of logf() [which is apparently missing
from system includes while present in the library; does anybody know, why?]
to lib/math.h.

19 years agoUpdated test rules.
Martin Mares [Sun, 14 Nov 2004 11:57:25 +0000 (11:57 +0000)]
Updated test rules.

19 years agoAdded tests for the hash table module.
Martin Mares [Sun, 14 Nov 2004 11:57:07 +0000 (11:57 +0000)]
Added tests for the hash table module.