Pierre Habouzit [Tue, 3 Apr 2007 00:03:57 +0000 (02:03 +0200)]
we don't want this warning, as it is default now, and that some people may
want not to use gpg at all.
Signed-off-by: Pierre Habouzit <madcoder@debian.org>
Pierre Habouzit [Mon, 2 Apr 2007 23:59:29 +0000 (01:59 +0200)]
drop lots of old fashionned crypt settings.
Signed-off-by: Pierre Habouzit <madcoder@debian.org>
Pierre Habouzit [Mon, 2 Apr 2007 23:50:28 +0000 (01:50 +0200)]
and even less cruft.
Signed-off-by: Pierre Habouzit <madcoder@debian.org>
Pierre Habouzit [Mon, 2 Apr 2007 23:36:25 +0000 (01:36 +0200)]
take more cruft to the bin
Signed-off-by: Pierre Habouzit <madcoder@debian.org>
Pierre Habouzit [Mon, 2 Apr 2007 22:56:05 +0000 (00:56 +0200)]
cruft--
Signed-off-by: Pierre Habouzit <madcoder@debian.org>
Pierre Habouzit [Mon, 2 Apr 2007 22:52:57 +0000 (00:52 +0200)]
drop even more stupid glue.
Signed-off-by: Pierre Habouzit <madcoder@debian.org>
Pierre Habouzit [Mon, 2 Apr 2007 22:37:44 +0000 (00:37 +0200)]
drop even more glue.
Signed-off-by: Pierre Habouzit <madcoder@debian.org>
Pierre Habouzit [Mon, 2 Apr 2007 22:22:44 +0000 (00:22 +0200)]
Even remove more code.
Signed-off-by: Pierre Habouzit <madcoder@debian.org>
Pierre Habouzit [Mon, 2 Apr 2007 22:10:06 +0000 (00:10 +0200)]
add support for import key from gpgme as well !
remove tedious pile of crap
Signed-off-by: Pierre Habouzit <madcoder@debian.org>
Pierre Habouzit [Mon, 2 Apr 2007 20:54:42 +0000 (22:54 +0200)]
remove lot of code, round 1
Signed-off-by: Pierre Habouzit <madcoder@debian.org>
Pierre Habouzit [Mon, 2 Apr 2007 20:29:46 +0000 (22:29 +0200)]
wibble
Signed-off-by: Pierre Habouzit <madcoder@debian.org>
Pierre Habouzit [Mon, 2 Apr 2007 20:17:01 +0000 (22:17 +0200)]
missing ignore
Signed-off-by: Pierre Habouzit <madcoder@debian.org>
Pierre Habouzit [Mon, 2 Apr 2007 20:16:34 +0000 (22:16 +0200)]
dead code.
Signed-off-by: Pierre Habouzit <madcoder@debian.org>
Pierre Habouzit [Mon, 2 Apr 2007 20:13:16 +0000 (22:13 +0200)]
$from ...
Signed-off-by: Pierre Habouzit <madcoder@debian.org>
Pierre Habouzit [Sun, 1 Apr 2007 23:16:41 +0000 (01:16 +0200)]
move record as well (yeah, I'm a selfish bitch, I migrate things in my own folder-hooks first)
Signed-off-by: Pierre Habouzit <madcoder@debian.org>
Pierre Habouzit [Sun, 1 Apr 2007 22:41:21 +0000 (00:41 +0200)]
Make MAlias public. migrate $signature, so that I can test the new MCore.folder_hook properly \o/
Signed-off-by: Pierre Habouzit <madcoder@debian.org>
Pierre Habouzit [Sun, 1 Apr 2007 22:00:56 +0000 (00:00 +0200)]
yes we know it's C ;)
Signed-off-by: Pierre Habouzit <madcoder@debian.org>
Pierre Habouzit [Sun, 1 Apr 2007 22:00:33 +0000 (00:00 +0200)]
implement folder-hooks as a lua callback. yipeeeeeeeeeeeh
Signed-off-by: Pierre Habouzit <madcoder@debian.org>
Pierre Habouzit [Sun, 1 Apr 2007 21:43:44 +0000 (23:43 +0200)]
[lua] make our modules be extensible (accept new values).
Signed-off-by: Pierre Habouzit <madcoder@debian.org>
Pierre Habouzit [Sat, 31 Mar 2007 14:38:22 +0000 (16:38 +0200)]
remove cruft (Synonyms)
Signed-off-by: Pierre Habouzit <madcoder@debian.org>
Pierre Habouzit [Sat, 31 Mar 2007 14:29:58 +0000 (16:29 +0200)]
simplifications.
Signed-off-by: Pierre Habouzit <madcoder@debian.org>
Pierre Habouzit [Sat, 31 Mar 2007 14:29:07 +0000 (16:29 +0200)]
code simplification, fixes.
Signed-off-by: Pierre Habouzit <madcoder@debian.org>
Pierre Habouzit [Sat, 31 Mar 2007 14:23:14 +0000 (16:23 +0200)]
last lists into Mime
Signed-off-by: Pierre Habouzit <madcoder@debian.org>
Pierre Habouzit [Sat, 31 Mar 2007 14:03:49 +0000 (16:03 +0200)]
Users don't know what they are doing most of the time…
Signed-off-by: Pierre Habouzit <madcoder@debian.org>
Pierre Habouzit [Sat, 31 Mar 2007 13:55:28 +0000 (15:55 +0200)]
wibble
Signed-off-by: Pierre Habouzit <madcoder@debian.org>
Pierre Habouzit [Sat, 31 Mar 2007 13:51:27 +0000 (15:51 +0200)]
fix esmtp.
crude hack because libesmtp-config sucks.
Signed-off-by: Pierre Habouzit <madcoder@debian.org>
Pierre Habouzit [Sat, 31 Mar 2007 13:29:30 +0000 (15:29 +0200)]
Remove the ispell stuff, it's useless, most editors know how to do this,
else you can use a pipe filter on your mail anyway.
Also fix autotools.
Signed-off-by: Pierre Habouzit <madcoder@debian.org>
Pierre Habouzit [Sat, 31 Mar 2007 13:18:07 +0000 (15:18 +0200)]
ignore
Signed-off-by: Pierre Habouzit <madcoder@debian.org>
Pierre Habouzit [Sat, 31 Mar 2007 13:17:53 +0000 (15:17 +0200)]
Make buffy a lua package as well.
Signed-off-by: Pierre Habouzit <madcoder@debian.org>
Pierre Habouzit [Fri, 30 Mar 2007 23:45:10 +0000 (01:45 +0200)]
wibble
Signed-off-by: Pierre Habouzit <madcoder@debian.org>
Pierre Habouzit [Fri, 30 Mar 2007 23:19:57 +0000 (01:19 +0200)]
More things to the Mime package.
Signed-off-by: Pierre Habouzit <madcoder@debian.org>
Pierre Habouzit [Fri, 30 Mar 2007 22:40:22 +0000 (00:40 +0200)]
simplify some mime things
Signed-off-by: Pierre Habouzit <madcoder@debian.org>
Pierre Habouzit [Fri, 30 Mar 2007 10:32:06 +0000 (12:32 +0200)]
Move (un)?lists and (un)subscribe to MAlias.
Also minor tweaks on rx_t's
Signed-off-by: Pierre Habouzit <madcoder@debian.org>
Pierre Habouzit [Fri, 30 Mar 2007 09:45:43 +0000 (11:45 +0200)]
Move (un)alternates to MAlias
Signed-off-by: Pierre Habouzit <madcoder@debian.org>
Pierre Habouzit [Fri, 30 Mar 2007 09:24:40 +0000 (11:24 +0200)]
proper handling of regex lists.
Signed-off-by: Pierre Habouzit <madcoder@debian.org>
Pierre Habouzit [Thu, 29 Mar 2007 23:28:38 +0000 (01:28 +0200)]
move smap/nospam into the mime module.
Signed-off-by: Pierre Habouzit <madcoder@debian.org>
Pierre Habouzit [Thu, 29 Mar 2007 22:56:52 +0000 (00:56 +0200)]
add some lua in the mime module as well.
Signed-off-by: Pierre Habouzit <madcoder@debian.org>
Pierre Habouzit [Thu, 29 Mar 2007 22:33:17 +0000 (00:33 +0200)]
Deal with $hostname and $shorthost
Signed-off-by: Pierre Habouzit <madcoder@debian.org>
Pierre Habouzit [Thu, 29 Mar 2007 22:08:53 +0000 (00:08 +0200)]
small touchups
Signed-off-by: Pierre Habouzit <madcoder@debian.org>
Pierre Habouzit [Thu, 29 Mar 2007 22:06:36 +0000 (00:06 +0200)]
add the possibility to set an 'onchange' property to our members.
use that for MCharset.charset.
Signed-off-by: Pierre Habouzit <madcoder@debian.org>
Pierre Habouzit [Thu, 29 Mar 2007 21:37:03 +0000 (23:37 +0200)]
Simplify charset.cpkg a bit
Signed-off-by: Pierre Habouzit <madcoder@debian.org>
Pierre Habouzit [Tue, 27 Mar 2007 23:52:38 +0000 (01:52 +0200)]
damn, cflags were silent, fixing many bugs they now show.
Signed-off-by: Pierre Habouzit <madcoder@debian.org>
Pierre Habouzit [Tue, 27 Mar 2007 23:42:17 +0000 (01:42 +0200)]
convert {charset,iconv}-hooks.
They even gain regex-capture for free \o/
Use it that way (for now):
MCharset.charset_hook("^windows-([0-9]*)$", "cp%1")
Isn't _that_ cute ?
Signed-off-by: Pierre Habouzit <madcoder@debian.org>
Pierre Habouzit [Tue, 27 Mar 2007 22:48:03 +0000 (00:48 +0200)]
turn charset into a lua package as well.
Signed-off-by: Pierre Habouzit <madcoder@debian.org>
Pierre Habouzit [Tue, 27 Mar 2007 22:08:26 +0000 (00:08 +0200)]
simplify include
Signed-off-by: Pierre Habouzit <madcoder@debian.org>
Pierre Habouzit [Tue, 27 Mar 2007 22:02:21 +0000 (00:02 +0200)]
move more stuff to the lua bindings.
Signed-off-by: Pierre Habouzit <madcoder@debian.org>
Pierre Habouzit [Mon, 26 Mar 2007 23:50:48 +0000 (01:50 +0200)]
Reinstate some lost functions.
Signed-off-by: Pierre Habouzit <madcoder@debian.org>
Pierre Habouzit [Mon, 26 Mar 2007 23:45:10 +0000 (01:45 +0200)]
Reinstate documentation, also migrate use_domain to MCore.
Signed-off-by: Pierre Habouzit <madcoder@debian.org>
Pierre Habouzit [Mon, 26 Mar 2007 23:05:51 +0000 (01:05 +0200)]
make quadopts be consistently dealt with as strings.
Signed-off-by: Pierre Habouzit <madcoder@debian.org>
Pierre Habouzit [Mon, 26 Mar 2007 22:30:51 +0000 (00:30 +0200)]
small oopsies in the cpgk2c generator.
Signed-off-by: Pierre Habouzit <madcoder@debian.org>
Pierre Habouzit [Mon, 26 Mar 2007 22:20:05 +0000 (00:20 +0200)]
small fix in Makefile
Signed-off-by: Pierre Habouzit <madcoder@debian.org>
Pierre Habouzit [Mon, 26 Mar 2007 22:14:30 +0000 (00:14 +0200)]
update source to use our brand new source generator. Update automakes.
Yes the current state of affairs is completely hacky, using unbearable hacks
in tools/Makefile, I f***ing don't care, it works (for now).
Signed-off-by: Pierre Habouzit <madcoder@debian.org>
Pierre Habouzit [Mon, 26 Mar 2007 21:40:26 +0000 (23:40 +0200)]
cosmetics.
Signed-off-by: Pierre Habouzit <madcoder@debian.org>
Pierre Habouzit [Mon, 26 Mar 2007 21:37:55 +0000 (23:37 +0200)]
Finish the caml lua<->C bindings generator.
Surprisingly enough, it works, don't look at the code, it hurts.
Signed-off-by: Pierre Habouzit <madcoder@debian.org>
Pierre Habouzit [Sun, 25 Mar 2007 23:02:04 +0000 (01:02 +0200)]
Use proper tools when we want to do powerful things.
* exit perl the dumbass. Have a bindings ocaml(lex) generator. Distributed
tarballs will contain the generated files so that having ocaml is not
absolutely required.
* for now on, guess how to compile it...
(hint: ocamllex cpkg2c.mll; ocamlopt -o cpkg2c str.cmxa cpkg2c.ml)
There has been many improvements wrt the old perl thing, so it won't work on
current cpkg files yet.
Signed-off-by: Pierre Habouzit <madcoder@debian.org>
Pierre Habouzit [Tue, 20 Mar 2007 07:44:45 +0000 (08:44 +0100)]
drop old code.
Signed-off-by: Pierre Habouzit <madcoder@debian.org>
Pierre Habouzit [Sun, 18 Mar 2007 23:50:30 +0000 (00:50 +0100)]
make luaM_checkquadopt accept some string arguments. ("yes", "no", "ask-yes", "ask-no")
Signed-off-by: Pierre Habouzit <madcoder@debian.org>
Pierre Habouzit [Sun, 18 Mar 2007 23:29:55 +0000 (00:29 +0100)]
make it build
Signed-off-by: Pierre Habouzit <madcoder@debian.org>
Pierre Habouzit [Sun, 18 Mar 2007 23:19:31 +0000 (00:19 +0100)]
missing dependency on the lib-sys.
Hall of Shame in mutt_gecos_name.
Pierre Habouzit [Sun, 18 Mar 2007 23:06:53 +0000 (00:06 +0100)]
make lua packages interfaces be *.li.
make our lua packages support regexps, needed some bindings enhancements.
fixes fixes fixes
Signed-off-by: Pierre Habouzit <madcoder@debian.org>
Pierre Habouzit [Sun, 18 Mar 2007 23:05:46 +0000 (00:05 +0100)]
rx enhancements.
Pierre Habouzit [Sun, 18 Mar 2007 21:53:59 +0000 (22:53 +0100)]
make Alias be a module as well.
update luapkg2c to deal with "static" modules.
Signed-off-by: Pierre Habouzit <madcoder@debian.org>
Pierre Habouzit [Sun, 18 Mar 2007 16:41:15 +0000 (17:41 +0100)]
allow the [cd]tor to take $L as an arcument as well
Signed-off-by: Pierre Habouzit <madcoder@debian.org>
Pierre Habouzit [Sun, 18 Mar 2007 16:36:35 +0000 (17:36 +0100)]
lua bindings: add ctor/dtor.
Signed-off-by: Pierre Habouzit <madcoder@debian.org>
Pierre Habouzit [Sun, 18 Mar 2007 14:08:54 +0000 (15:08 +0100)]
push username, homedir and tmpdir in lua too.
Signed-off-by: Pierre Habouzit <madcoder@debian.org>
Pierre Habouzit [Sun, 18 Mar 2007 13:41:28 +0000 (14:41 +0100)]
split ml_core into MCore and MTransport modules.
move more settings to MTransport
Signed-off-by: Pierre Habouzit <madcoder@debian.org>
Pierre Habouzit [Sun, 18 Mar 2007 13:15:15 +0000 (14:15 +0100)]
Lua improvements:
* remove old lib-lua cruft.
* make luapkg2c support bool type.
* make luapkg2c support C bit-fields.
* import beep{,_new}, and hcache_backend.
Signed-off-by: Pierre Habouzit <madcoder@debian.org>
Pierre Habouzit [Sun, 18 Mar 2007 12:26:10 +0000 (13:26 +0100)]
fix build-system wrt lua things.
Signed-off-by: Pierre Habouzit <madcoder@debian.org>
Pierre Habouzit [Sun, 18 Mar 2007 12:20:06 +0000 (13:20 +0100)]
new lua implementation.
Signed-off-by: Pierre Habouzit <madcoder@debian.org>
Pierre Habouzit [Wed, 14 Mar 2007 00:15:21 +0000 (01:15 +0100)]
more hash code simplifications.
Pierre Habouzit [Tue, 13 Mar 2007 23:46:38 +0000 (00:46 +0100)]
simplify hashes.
Pierre Habouzit [Mon, 12 Mar 2007 01:10:08 +0000 (02:10 +0100)]
comments
Signed-off-by: Pierre Habouzit <madcoder@debian.org>
Pierre Habouzit [Sun, 11 Mar 2007 23:23:29 +0000 (00:23 +0100)]
stylish updates.
Signed-off-by: Pierre Habouzit <madcoder@debian.org>
Pierre Habouzit [Sun, 11 Mar 2007 22:41:43 +0000 (23:41 +0100)]
move OPT_QUIT into the lua registry
Signed-off-by: Pierre Habouzit <madcoder@debian.org>
Pierre Habouzit [Sun, 11 Mar 2007 21:44:09 +0000 (22:44 +0100)]
Now deal with EDITOR from lua as well.
Signed-off-by: Pierre Habouzit <madcoder@debian.org>
Pierre Habouzit [Sun, 11 Mar 2007 21:22:23 +0000 (22:22 +0100)]
rationalize settings into a central registry.
Signed-off-by: Pierre Habouzit <madcoder@debian.org>
Pierre Habouzit [Sun, 11 Mar 2007 18:25:04 +0000 (19:25 +0100)]
oops
Pierre Habouzit [Sun, 11 Mar 2007 18:22:55 +0000 (19:22 +0100)]
deal with sendmail and dotlock in LUA.
Signed-off-by: Pierre Habouzit <madcoder@debian.org>
Pierre Habouzit [Sun, 11 Mar 2007 18:07:03 +0000 (19:07 +0100)]
various cleanups.
Signed-off-by: Pierre Habouzit <madcoder@debian.org>
Pierre Habouzit [Sun, 11 Mar 2007 17:06:11 +0000 (18:06 +0100)]
Deal with $shell from lua from now on.
(also remove other cruft)
Signed-off-by: Pierre Habouzit <madcoder@debian.org>
Pierre Habouzit [Sun, 11 Mar 2007 15:29:28 +0000 (16:29 +0100)]
[lua] More madmutt package upgrades:
* make madmutt be a table where we deal with __index to only allow a few
updates.
* add a lua-token thing, to recognize efficiently fields we often work
with.
Signed-off-by: Pierre Habouzit <madcoder@debian.org>
Pierre Habouzit [Sun, 11 Mar 2007 13:49:00 +0000 (14:49 +0100)]
bye bye DT_SYS variables.
Signed-off-by: Pierre Habouzit <madcoder@debian.org>
Pierre Habouzit [Sun, 11 Mar 2007 01:55:43 +0000 (02:55 +0100)]
now this is slightly better.
Signed-off-by: Pierre Habouzit <madcoder@debian.org>
Pierre Habouzit [Sat, 10 Mar 2007 01:58:45 +0000 (02:58 +0100)]
missing add
Signed-off-by: Pierre Habouzit <madcoder@debian.org>
Pierre Habouzit [Sat, 10 Mar 2007 01:58:33 +0000 (02:58 +0100)]
Move things around: more DT_SYS variables into the lua !
Signed-off-by: Pierre Habouzit <madcoder@debian.org>
Pierre Habouzit [Sat, 10 Mar 2007 01:09:01 +0000 (02:09 +0100)]
remove $user_* values, those will eventually not be needed anymore, as they will be replaced by local lua variables.
Add some PoC values in the madmutt module.
Signed-off-by: Pierre Habouzit <madcoder@debian.org>
Pierre Habouzit [Fri, 9 Mar 2007 23:29:31 +0000 (00:29 +0100)]
PoC support for lua.
just source ~/.madmutt.lua or ~/.madmutt/cfg.lua
Signed-off-by: Pierre Habouzit <madcoder@debian.org>
Pierre Habouzit [Fri, 9 Mar 2007 21:42:18 +0000 (22:42 +0100)]
add placeholders for the liblua
Signed-off-by: Pierre Habouzit <madcoder@debian.org>
Pierre Habouzit [Fri, 9 Mar 2007 21:35:52 +0000 (22:35 +0100)]
avoid stupid conflicts with core libraries due to too common names for our libraries.
just use the full .a name on the command line.
Signed-off-by: Pierre Habouzit <madcoder@debian.org>
Pierre Habouzit [Fri, 9 Mar 2007 20:29:07 +0000 (21:29 +0100)]
more cleanse
Signed-off-by: Pierre Habouzit <madcoder@debian.org>
Pierre Habouzit [Fri, 9 Mar 2007 20:21:05 +0000 (21:21 +0100)]
lua is the way to go. drop the lemon things.
Signed-off-by: Pierre Habouzit <madcoder@debian.org>
Pierre Habouzit [Mon, 12 Feb 2007 18:25:29 +0000 (19:25 +0100)]
fix stupid problem with encrypted gpg mails.
Signed-off-by: Pierre Habouzit <madcoder@debian.org>
Pierre Habouzit [Mon, 8 Jan 2007 09:57:12 +0000 (10:57 +0100)]
mode flags.
Signed-off-by: Pierre Habouzit <madcoder@debian.org>
Pierre Habouzit [Tue, 2 Jan 2007 07:06:54 +0000 (08:06 +0100)]
simplify hooks code a lot.
Signed-off-by: Pierre Habouzit <madcoder@debian.org>
Pierre Habouzit [Tue, 2 Jan 2007 06:45:52 +0000 (07:45 +0100)]
stupid off by one: skip the last ')' in a comment !
Signed-off-by: Pierre Habouzit <madcoder@debian.org>
Pierre Habouzit [Tue, 2 Jan 2007 06:42:57 +0000 (07:42 +0100)]
fixes and simplifications to fix gpg regression.
Signed-off-by: Pierre Habouzit <madcoder@debian.org>
Pierre Habouzit [Wed, 27 Dec 2006 21:50:52 +0000 (22:50 +0100)]
The little Christmas candy bar: allow utf-8 chars in Tochars \o/
Signed-off-by: Pierre Habouzit <madcoder@debian.org>
Pierre Habouzit [Wed, 27 Dec 2006 18:57:10 +0000 (19:57 +0100)]
improvements, fixes, parser progress, ...
ongoing work.
Signed-off-by: Pierre Habouzit <madcoder@debian.org>
Pierre Habouzit [Wed, 27 Dec 2006 08:21:20 +0000 (09:21 +0100)]
add some very efficient utf8 routines. more to come.
Signed-off-by: Pierre Habouzit <madcoder@debian.org>
Pierre Habouzit [Mon, 25 Dec 2006 12:08:43 +0000 (13:08 +0100)]
fix compilation warnings in hook.c
Signed-off-by: Pierre Habouzit <madcoder@debian.org>