Pierre Habouzit [Sun, 27 May 2007 21:09:02 +0000 (23:09 +0200)]
Getting rid of useless settings.
Signed-off-by: Pierre Habouzit <madcoder@debian.org>
Pierre Habouzit [Sun, 27 May 2007 20:29:47 +0000 (22:29 +0200)]
style
Signed-off-by: Pierre Habouzit <madcoder@debian.org>
Pierre Habouzit [Sun, 27 May 2007 20:17:32 +0000 (22:17 +0200)]
simplify newsrc parsing
Signed-off-by: Pierre Habouzit <madcoder@debian.org>
Pierre Habouzit [Sun, 27 May 2007 20:10:48 +0000 (22:10 +0200)]
Small fixes.
Pierre Habouzit [Sun, 27 May 2007 17:08:04 +0000 (19:08 +0200)]
purge nonsensical code, and use buffers instead
Signed-off-by: Pierre Habouzit <madcoder@debian.org>
Pierre Habouzit [Sun, 27 May 2007 17:07:51 +0000 (19:07 +0200)]
add printf-like primitive to the buffers.
Signed-off-by: Pierre Habouzit <madcoder@debian.org>
Pierre Habouzit [Sun, 27 May 2007 12:00:50 +0000 (14:00 +0200)]
use nntp_data_new and stop hiding the group in the struct, useless win.
Signed-off-by: Pierre Habouzit <madcoder@debian.org>
Pierre Habouzit [Sun, 27 May 2007 11:52:20 +0000 (13:52 +0200)]
Useless cast.
Signed-off-by: Pierre Habouzit <madcoder@debian.org>
Pierre Habouzit [Sun, 27 May 2007 11:51:04 +0000 (13:51 +0200)]
Deep rework of nntp_data_t (ex-NNTP_DATA) to make it list-able.
Signed-off-by: Pierre Habouzit <madcoder@debian.org>
Pierre Habouzit [Sun, 27 May 2007 10:42:53 +0000 (12:42 +0200)]
simplifications
Signed-off-by: Pierre Habouzit <madcoder@debian.org>
Pierre Habouzit [Sun, 27 May 2007 10:31:22 +0000 (12:31 +0200)]
merge all nntp code in nntp.c and move it toplevel
Signed-off-by: Pierre Habouzit <madcoder@debian.org>
Pierre Habouzit [Sat, 26 May 2007 17:41:08 +0000 (19:41 +0200)]
tail is always a list_item**.
Because you don't need to special case the empty list *gee*.
Fix code using tail.
Signed-off-by: Pierre Habouzit <madcoder@debian.org>
Pierre Habouzit [Sat, 26 May 2007 17:28:23 +0000 (19:28 +0200)]
style
Signed-off-by: Pierre Habouzit <madcoder@debian.org>
Pierre Habouzit [Sat, 26 May 2007 17:25:02 +0000 (19:25 +0200)]
LISTGROUP isn't as efficient as XOVER. Only use it if needed.
Signed-off-by: Pierre Habouzit <madcoder@debian.org>
Pierre Habouzit [Sat, 26 May 2007 17:13:07 +0000 (19:13 +0200)]
Use more efficient bits_t rather than stupid short array.
Signed-off-by: Pierre Habouzit <madcoder@debian.org>
Pierre Habouzit [Sat, 26 May 2007 16:42:17 +0000 (18:42 +0200)]
Add efficient bit-fields manipulations.
Signed-off-by: Pierre Habouzit <madcoder@debian.org>
Pierre Habouzit [Sat, 26 May 2007 16:13:09 +0000 (18:13 +0200)]
nntp fixes: no more warnings.
Signed-off-by: Pierre Habouzit <madcoder@debian.org>
Pierre Habouzit [Sat, 26 May 2007 15:45:34 +0000 (17:45 +0200)]
always use LISTGROUP if available.
Signed-off-by: Pierre Habouzit <madcoder@debian.org>
Pierre Habouzit [Sat, 26 May 2007 13:38:04 +0000 (15:38 +0200)]
stupid sleep
Signed-off-by: Pierre Habouzit <madcoder@debian.org>
Pierre Habouzit [Sat, 26 May 2007 13:03:17 +0000 (15:03 +0200)]
move gpg_check_traditionnal in crypt.cpkg
Signed-off-by: Pierre Habouzit <madcoder@debian.org>
Pierre Habouzit [Sat, 26 May 2007 12:24:43 +0000 (14:24 +0200)]
put every nttp setting together
Signed-off-by: Pierre Habouzit <madcoder@debian.org>
Pierre Habouzit [Sat, 26 May 2007 12:08:33 +0000 (14:08 +0200)]
always check for traditionnal GPG.
Signed-off-by: Pierre Habouzit <madcoder@debian.org>
Pierre Habouzit [Sat, 26 May 2007 11:24:09 +0000 (13:24 +0200)]
ESMTP is utterly broken, and pulls OpenSSL.
Broken in the sense that it cannot use mutt certificate cache e.g. or
segfaults in the lib whereas I give correct parameters. I'm sure it's less
than a thousands of line to write with gnutls and sasl.
Signed-off-by: Pierre Habouzit <madcoder@debian.org>
Pierre Habouzit [Sat, 26 May 2007 08:01:09 +0000 (10:01 +0200)]
various fixes and simplifications wrt openssl.h
Signed-off-by: Pierre Habouzit <madcoder@debian.org>
Pierre Habouzit [Fri, 25 May 2007 22:03:58 +0000 (00:03 +0200)]
remove the stupid macro, we are big kids enough to write NULL, NULL.
Signed-off-by: Pierre Habouzit <madcoder@debian.org>
Pierre Habouzit [Fri, 25 May 2007 21:44:31 +0000 (23:44 +0200)]
merge send_smtp module into sendlib where it really belongs.
Signed-off-by: Pierre Habouzit <madcoder@debian.org>
Pierre Habouzit [Fri, 25 May 2007 12:04:13 +0000 (14:04 +0200)]
simplifications.
Signed-off-by: Pierre Habouzit <madcoder@debian.org>
Pierre Habouzit [Thu, 24 May 2007 22:56:34 +0000 (00:56 +0200)]
more useless and cluttered things.
Signed-off-by: Pierre Habouzit <madcoder@debian.org>
Pierre Habouzit [Thu, 24 May 2007 22:20:40 +0000 (00:20 +0200)]
byebye OPTARROWCURSOR
Signed-off-by: Pierre Habouzit <madcoder@debian.org>
Pierre Habouzit [Thu, 24 May 2007 21:54:13 +0000 (23:54 +0200)]
preprocess .li and .c in one pass.
Signed-off-by: Pierre Habouzit <madcoder@debian.org>
Pierre Habouzit [Thu, 24 May 2007 21:47:13 +0000 (23:47 +0200)]
x-comment-to is useless in mutt, we can Cc: things as it's a *mailer*.
Signed-off-by: Pierre Habouzit <madcoder@debian.org>
Pierre Habouzit [Thu, 24 May 2007 21:26:33 +0000 (23:26 +0200)]
little fix
Signed-off-by: Pierre Habouzit <madcoder@debian.org>
Pierre Habouzit [Wed, 23 May 2007 21:29:30 +0000 (23:29 +0200)]
base64 implementation from madmutt--.
It seems this one is not used anymore \o/
Signed-off-by: Pierre Habouzit <madcoder@debian.org>
Pierre Habouzit [Wed, 23 May 2007 21:13:08 +0000 (23:13 +0200)]
MIXMASTER is always defined
Signed-off-by: Pierre Habouzit <madcoder@debian.org>
Pierre Habouzit [Wed, 23 May 2007 21:11:20 +0000 (23:11 +0200)]
wibble
Signed-off-by: Pierre Habouzit <madcoder@debian.org>
Pierre Habouzit [Wed, 23 May 2007 21:06:32 +0000 (23:06 +0200)]
drop account-hooks for now.
Signed-off-by: Pierre Habouzit <madcoder@debian.org>
Pierre Habouzit [Mon, 21 May 2007 09:00:23 +0000 (11:00 +0200)]
some fixes wrt imap and pop authentication.
Signed-off-by: Pierre Habouzit <madcoder@debian.org>
Pierre Habouzit [Sun, 20 May 2007 12:34:29 +0000 (14:34 +0200)]
rename a bunch of modules
Signed-off-by: Pierre Habouzit <madcoder@debian.org>
Pierre Habouzit [Sun, 20 May 2007 12:31:53 +0000 (14:31 +0200)]
unlink file before writing it, and don't fail if it's not here
Signed-off-by: Pierre Habouzit <madcoder@debian.org>
Pierre Habouzit [Sun, 20 May 2007 12:11:32 +0000 (14:11 +0200)]
unlink file before writing it
Signed-off-by: Pierre Habouzit <madcoder@debian.org>
Pierre Habouzit [Sat, 19 May 2007 22:11:01 +0000 (00:11 +0200)]
I'm fed up with stupid defines when C can come up with *way* betted: bit-fields.
Signed-off-by: Pierre Habouzit <madcoder@debian.org>
Pierre Habouzit [Sat, 19 May 2007 22:09:20 +0000 (00:09 +0200)]
typo
Signed-off-by: Pierre Habouzit <madcoder@debian.org>
Pierre Habouzit [Sat, 19 May 2007 15:33:01 +0000 (17:33 +0200)]
move gen_defs into tools where it belongs
Signed-off-by: Pierre Habouzit <madcoder@debian.org>
Pierre Habouzit [Sat, 19 May 2007 15:29:46 +0000 (17:29 +0200)]
make generated tools RO for real
Signed-off-by: Pierre Habouzit <madcoder@debian.org>
Pierre Habouzit [Sat, 19 May 2007 15:28:38 +0000 (17:28 +0200)]
cpkg2c improvements.
Signed-off-by: Pierre Habouzit <madcoder@debian.org>
Pierre Habouzit [Sat, 19 May 2007 13:51:58 +0000 (15:51 +0200)]
finish rework of scoring module.
Signed-off-by: Pierre Habouzit <madcoder@debian.org>
Pierre Habouzit [Sat, 19 May 2007 13:23:08 +0000 (15:23 +0200)]
move all score things to lua.
Signed-off-by: Pierre Habouzit <madcoder@debian.org>
Pierre Habouzit [Sat, 19 May 2007 13:20:46 +0000 (15:20 +0200)]
fix line number and file.
Pierre Habouzit [Sat, 19 May 2007 12:39:19 +0000 (14:39 +0200)]
Move score_* to mod_score
Signed-off-by: Pierre Habouzit <madcoder@debian.org>
Pierre Habouzit [Fri, 18 May 2007 21:06:33 +0000 (23:06 +0200)]
slightly less hackish way to generate files, I'm still not very pleased with it.
Signed-off-by: Pierre Habouzit <madcoder@debian.org>
Pierre Habouzit [Fri, 18 May 2007 19:11:22 +0000 (21:11 +0200)]
cruft
Signed-off-by: Pierre Habouzit <madcoder@debian.org>
Pierre Habouzit [Fri, 18 May 2007 15:48:36 +0000 (17:48 +0200)]
always enable NLS, screw'em
Signed-off-by: Pierre Habouzit <madcoder@debian.org>
Pierre Habouzit [Fri, 18 May 2007 12:17:59 +0000 (14:17 +0200)]
makefile updates
Signed-off-by: Pierre Habouzit <madcoder@debian.org>
Pierre Habouzit [Fri, 18 May 2007 12:14:40 +0000 (14:14 +0200)]
work some nifty hacks to work as if we had in tree building.
Signed-off-by: Pierre Habouzit <madcoder@debian.org>
Pierre Habouzit [Fri, 18 May 2007 11:34:41 +0000 (13:34 +0200)]
remove cruft
Signed-off-by: Pierre Habouzit <madcoder@debian.org>
Pierre Habouzit [Fri, 18 May 2007 11:31:23 +0000 (13:31 +0200)]
small updates.
Signed-off-by: Pierre Habouzit <madcoder@debian.org>
Pierre Habouzit [Fri, 18 May 2007 08:58:16 +0000 (10:58 +0200)]
last tweaks
Signed-off-by: Pierre Habouzit <madcoder@debian.org>
Pierre Habouzit [Fri, 18 May 2007 08:54:46 +0000 (10:54 +0200)]
rm *.li/*.c files when cpkg2c fails.
Signed-off-by: Pierre Habouzit <madcoder@debian.org>
Pierre Habouzit [Fri, 18 May 2007 08:53:17 +0000 (10:53 +0200)]
make madmutt build properly in a separate build directory.
Signed-off-by: Pierre Habouzit <madcoder@debian.org>
Pierre Habouzit [Fri, 18 May 2007 08:37:13 +0000 (10:37 +0200)]
make configuration script slightly better.
hide advanced settings.
minor tweaks
Signed-off-by: Pierre Habouzit <madcoder@debian.org>
Pierre Habouzit [Fri, 18 May 2007 07:19:03 +0000 (09:19 +0200)]
oops, don't need to append the file name.
Signed-off-by: Pierre Habouzit <madcoder@debian.org>
Pierre Habouzit [Thu, 17 May 2007 21:59:20 +0000 (23:59 +0200)]
leftover
Signed-off-by: Pierre Habouzit <madcoder@debian.org>
Pierre Habouzit [Thu, 17 May 2007 21:58:56 +0000 (23:58 +0200)]
leftover
Signed-off-by: Pierre Habouzit <madcoder@debian.org>
Pierre Habouzit [Thu, 17 May 2007 21:58:22 +0000 (23:58 +0200)]
this is now useless
Signed-off-by: Pierre Habouzit <madcoder@debian.org>
Pierre Habouzit [Thu, 17 May 2007 21:58:04 +0000 (23:58 +0200)]
I'm tired of that. madmutt needs a glibc, so what...
Signed-off-by: Pierre Habouzit <madcoder@debian.org>
Pierre Habouzit [Thu, 17 May 2007 21:56:20 +0000 (23:56 +0200)]
few tweaks about changed defines.
Signed-off-by: Pierre Habouzit <madcoder@debian.org>
Pierre Habouzit [Thu, 17 May 2007 20:41:40 +0000 (22:41 +0200)]
CheckStructMember to check for dirent.d_ino
Signed-off-by: Pierre Habouzit <madcoder@debian.org>
Pierre Habouzit [Thu, 17 May 2007 20:20:46 +0000 (22:20 +0200)]
fix warnings.
Signed-off-by: Pierre Habouzit <madcoder@debian.org>
Pierre Habouzit [Thu, 17 May 2007 20:20:34 +0000 (22:20 +0200)]
I don't understand how I missed that before...
Pierre Habouzit [Thu, 17 May 2007 19:58:10 +0000 (21:58 +0200)]
EXIT AUTOCRAP \o/
Use cmake now.
conversion is still rough, but works mostly.
Signed-off-by: Pierre Habouzit <madcoder@debian.org>
Pierre Habouzit [Wed, 16 May 2007 22:04:37 +0000 (00:04 +0200)]
use buffers instead of realloc-ed string. makes code shorter.
Signed-off-by: Pierre Habouzit <madcoder@debian.org>
Pierre Habouzit [Wed, 16 May 2007 22:04:06 +0000 (00:04 +0200)]
fix bugs when buffer is empty.
Pierre Habouzit [Wed, 16 May 2007 19:13:17 +0000 (21:13 +0200)]
we have buffers, add an API to readln directly in a buffer instead of implementing it twice.
use it in pop.c;
Signed-off-by: Pierre Habouzit <madcoder@debian.org>
Pierre Habouzit [Wed, 16 May 2007 18:08:05 +0000 (20:08 +0200)]
pop fixes.
Signed-off-by: Pierre Habouzit <madcoder@debian.org>
Pierre Habouzit [Wed, 16 May 2007 16:34:27 +0000 (18:34 +0200)]
fix regression introduced in
73359dc55ff8f4da32149f7270f7ceaccd658256.
if (str*cmp(a, b)) is similar to if (a != b) ... doh
Signed-off-by: Pierre Habouzit <madcoder@debian.org>
Pierre Habouzit [Tue, 15 May 2007 07:55:06 +0000 (09:55 +0200)]
simplify pop_query further.
Signed-off-by: Pierre Habouzit <madcoder@debian.org>
Pierre Habouzit [Tue, 15 May 2007 07:51:58 +0000 (09:51 +0200)]
simplify pop_query, letting it do the snprintf and append \r\n
Signed-off-by: Pierre Habouzit <madcoder@debian.org>
Pierre Habouzit [Tue, 15 May 2007 07:28:50 +0000 (09:28 +0200)]
reinstate cmd_user, and continue to simplify pop code.
Signed-off-by: Pierre Habouzit <madcoder@debian.org>
Pierre Habouzit [Mon, 14 May 2007 21:33:01 +0000 (23:33 +0200)]
Simplify pop code further.
Signed-off-by: Pierre Habouzit <madcoder@debian.org>
Pierre Habouzit [Mon, 14 May 2007 20:52:38 +0000 (22:52 +0200)]
reorder code a bit.
Signed-off-by: Pierre Habouzit <madcoder@debian.org>
Pierre Habouzit [Mon, 14 May 2007 20:02:58 +0000 (22:02 +0200)]
there is absolutely *NO* reason for a separate pop library.
Merge every pop/*.c into pop.c, reduce pop.h to the bare minimum.
pop.c will be simplified soon.
Signed-off-by: Pierre Habouzit <madcoder@debian.org>
Pierre Habouzit [Mon, 14 May 2007 19:23:21 +0000 (21:23 +0200)]
much shorter.
Signed-off-by: Pierre Habouzit <madcoder@debian.org>
Pierre Habouzit [Mon, 14 May 2007 14:35:08 +0000 (16:35 +0200)]
stupid error.
Signed-off-by: Pierre Habouzit <madcoder@debian.org>
Pierre Habouzit [Mon, 14 May 2007 13:53:12 +0000 (15:53 +0200)]
ignores
Signed-off-by: Pierre Habouzit <madcoder@debian.org>
Pierre Habouzit [Mon, 14 May 2007 13:52:05 +0000 (15:52 +0200)]
remove cruft
Signed-off-by: Pierre Habouzit <madcoder@debian.org>
Pierre Habouzit [Mon, 14 May 2007 13:36:30 +0000 (15:36 +0200)]
more setupts in cfg.lua
Signed-off-by: Pierre Habouzit <madcoder@debian.org>
Pierre Habouzit [Mon, 14 May 2007 09:08:10 +0000 (11:08 +0200)]
fix stupid typo
Signed-off-by: Pierre Habouzit <madcoder@debian.org>
Pierre Habouzit [Sun, 13 May 2007 22:30:29 +0000 (00:30 +0200)]
forget about m4/Makefile.*
Signed-off-by: Pierre Habouzit <madcoder@debian.org>
Pierre Habouzit [Sun, 13 May 2007 22:18:43 +0000 (00:18 +0200)]
*ooops* spurious static ... readd dump_int
Signed-off-by: Pierre Habouzit <madcoder@debian.org>
Pierre Habouzit [Sun, 13 May 2007 22:06:51 +0000 (00:06 +0200)]
fixes, simplifictions
Signed-off-by: Pierre Habouzit <madcoder@debian.org>
Pierre Habouzit [Sun, 13 May 2007 21:56:46 +0000 (23:56 +0200)]
Move many things to the crypt module \o/
Signed-off-by: Pierre Habouzit <madcoder@debian.org>
Pierre Habouzit [Sun, 13 May 2007 21:03:34 +0000 (23:03 +0200)]
fix stupid regression in hcache patch
Signed-off-by: Pierre Habouzit <madcoder@debian.org>
Pierre Habouzit [Sun, 13 May 2007 20:48:46 +0000 (22:48 +0200)]
small fixes
Signed-off-by: Pierre Habouzit <madcoder@debian.org>
Pierre Habouzit [Sun, 13 May 2007 20:35:15 +0000 (22:35 +0200)]
create mod_ssl.
Signed-off-by: Pierre Habouzit <madcoder@debian.org>
Pierre Habouzit [Sun, 13 May 2007 17:31:04 +0000 (19:31 +0200)]
prepare the ssl module.
Signed-off-by: Pierre Habouzit <madcoder@debian.org>
Pierre Habouzit [Sun, 13 May 2007 16:40:55 +0000 (18:40 +0200)]
style.
Signed-off-by: Pierre Habouzit <madcoder@debian.org>
Pierre Habouzit [Sun, 13 May 2007 16:25:24 +0000 (18:25 +0200)]
cleanups.
Signed-off-by: Pierre Habouzit <madcoder@debian.org>
Pierre Habouzit [Sun, 13 May 2007 16:11:27 +0000 (18:11 +0200)]
rationalize mh_sequences code.
Signed-off-by: Pierre Habouzit <madcoder@debian.org>
Pierre Habouzit [Sun, 13 May 2007 14:10:32 +0000 (16:10 +0200)]
useless options, cluttering the codebase that can be emulated if needed in fcc-hooks.
Signed-off-by: Pierre Habouzit <madcoder@debian.org>
Pierre Habouzit [Sun, 13 May 2007 13:59:10 +0000 (15:59 +0200)]
remove antiquated cruft: please, who use MMDF's nowadays ?!
Signed-off-by: Pierre Habouzit <madcoder@debian.org>