- remove $header_cache_pagesize for qdbm (patch by Thomas Glanzmann)
- new feature tests due to qdbm support: feature_(qdbm|gdbm|db4)
git-svn-id: svn://svn.berlios.de/mutt-ng/trunk@293
e385b8ad-14ed-0310-8656-
cc95a2468c6d
functions should only be called directly in the right abstraction
layer's implementation. And so forth.
functions should only be called directly in the right abstraction
layer's implementation. And so forth.
-- Convert all the names in manual.sgml.head/tail
+- Improve documentation, update/rewrite/remove legacy docs (such as
+ INSTALL and friends)
the necessary keywords to look them up in the manual, ChangeLog or other
sources of information.
the necessary keywords to look them up in the manual, ChangeLog or other
sources of information.
+2005-05-17:
+
+ Changes due to better integration of qdbm support w/ header caching:
+
+ - the $header_cache_pagesize variable is not available with as it's
+ not used
+ - the following feature tests were added: feature_qdbm, feature_gdbm,
+ feature_db4 (for ifdef/ifndef)
+
2005-05-14:
New Configuration Variables:
2005-05-14:
New Configuration Variables:
{
struct header_cache *h = safe_calloc(1, sizeof (HEADER_CACHE));
int flags = VL_OWRITER | VL_OCREAT;
{
struct header_cache *h = safe_calloc(1, sizeof (HEADER_CACHE));
int flags = VL_OWRITER | VL_OCREAT;
-#if 0 /* FIXME */
- int pagesize = atoi(HeaderCachePageSize) ? atoi(HeaderCachePageSize) : 16384;
-#endif
h->db = NULL;
h->folder = safe_strdup(folder);
h->crc = generate_crc32();
h->db = NULL;
h->folder = safe_strdup(folder);
h->crc = generate_crc32();
** files when the header cache is in use. This incurs one \fTstat(2)\fP per
** message every time the folder is opened.
*/
** files when the header cache is in use. This incurs one \fTstat(2)\fP per
** message every time the folder is opened.
*/
+#if HAVE_GDBM || HAVE_DB4
{"header_cache_pagesize", DT_STR, R_NONE, UL &HeaderCachePageSize, UL "16384"},
/*
** .pp
{"header_cache_pagesize", DT_STR, R_NONE, UL &HeaderCachePageSize, UL "16384"},
/*
** .pp
** less the best you can get. For details google for mutt header
** cache (first hit).
*/
** less the best you can get. For details google for mutt header
** cache (first hit).
*/
+#endif /* HAVE_GDBM || HAVE_DB 4 */
#if HAVE_QDBM
{ "header_cache_compress", DT_BOOL, R_NONE, OPTHCACHECOMPRESS, 0 },
/*
#if HAVE_QDBM
{ "header_cache_compress", DT_BOOL, R_NONE, OPTHCACHECOMPRESS, 0 },
/*
#endif
}, {"slang",
#ifdef USE_SLANG_CURSES
#endif
}, {"slang",
#ifdef USE_SLANG_CURSES
#ifdef CRYPT_BACKEND_CLASSIC_PGP
#ifdef CRYPT_BACKEND_CLASSIC_PGP
#ifdef CRYPT_BACKEND_CLASSIC_SMIME
#ifdef CRYPT_BACKEND_CLASSIC_SMIME
#ifdef CRYPT_BACKEND_GPGME
#ifdef CRYPT_BACKEND_GPGME
+ 0
+#endif
+ }, {"qdbm",
+#ifdef HAVE_QDBM
+ 1
+#else
+ 0
+#endif
+ }, {"gdbm",
+#ifdef HAVE_GDBM
+ 1
+#else
+ 0
+#endif
+ }, {"db4",
+#ifdef HAVE_DB4
+ 1
+#else
+ 0