Pierre Habouzit [Mon, 13 Nov 2006 01:13:09 +0000 (02:13 +0100)]
more rationalization.
Signed-off-by: Pierre Habouzit <madcoder@debian.org>
Pierre Habouzit [Mon, 13 Nov 2006 00:48:49 +0000 (01:48 +0100)]
rationalize list handling in mutt a bit.
Signed-off-by: Pierre Habouzit <madcoder@debian.org>
Pierre Habouzit [Mon, 13 Nov 2006 00:12:50 +0000 (01:12 +0100)]
simplify alias expansion a lot.
Signed-off-by: Pierre Habouzit <madcoder@debian.org>
Pierre Habouzit [Sun, 12 Nov 2006 23:37:22 +0000 (00:37 +0100)]
make some functions a bit shorter.
Signed-off-by: Pierre Habouzit <madcoder@debian.org>
Pierre Habouzit [Sun, 12 Nov 2006 23:23:46 +0000 (00:23 +0100)]
begin to work on alias.[hc]
ALIAS -> alias_t.
make some functions better.
Signed-off-by: Pierre Habouzit <madcoder@debian.org>
Pierre Habouzit [Sun, 12 Nov 2006 16:21:35 +0000 (17:21 +0100)]
move url.[hc] into the lib-lib.
move parse_mailto into the lib-mime
Signed-off-by: Pierre Habouzit <madcoder@debian.org>
Pierre Habouzit [Sun, 12 Nov 2006 15:00:16 +0000 (16:00 +0100)]
move history in lib-ui
Signed-off-by: Pierre Habouzit <madcoder@debian.org>
Pierre Habouzit [Sun, 12 Nov 2006 14:53:02 +0000 (15:53 +0100)]
move resize.c into lib-ui.
Signed-off-by: Pierre Habouzit <madcoder@debian.org>
Pierre Habouzit [Sun, 12 Nov 2006 14:39:03 +0000 (15:39 +0100)]
oops, bad formula
Signed-off-by: Pierre Habouzit <madcoder@debian.org>
Pierre Habouzit [Sun, 12 Nov 2006 14:32:20 +0000 (15:32 +0100)]
reimplement getdnsdomainname
strtok--
Signed-off-by: Pierre Habouzit <madcoder@debian.org>
Pierre Habouzit [Sun, 12 Nov 2006 14:01:31 +0000 (15:01 +0100)]
exit system.c, mutt_system goes into lib-sys/
that function is convoluted with imap things (eeek)
Signed-off-by: Pierre Habouzit <madcoder@debian.org>
Pierre Habouzit [Sun, 12 Nov 2006 13:45:21 +0000 (14:45 +0100)]
move signal.c into lib/sys
Signed-off-by: Pierre Habouzit <madcoder@debian.org>
Pierre Habouzit [Sun, 12 Nov 2006 13:25:41 +0000 (14:25 +0100)]
reimplement mutt_gecos_name.
Signed-off-by: Pierre Habouzit <madcoder@debian.org>
Pierre Habouzit [Sun, 12 Nov 2006 12:15:44 +0000 (13:15 +0100)]
add m_strchrnul that does what GNU strchrnul does: search for 'c' or
return a pointer on the NUL char if not found
Signed-off-by: Pierre Habouzit <madcoder@debian.org>
Pierre Habouzit [Sun, 12 Nov 2006 00:44:08 +0000 (01:44 +0100)]
remove some cruft
Signed-off-by: Pierre Habouzit <madcoder@debian.org>
Pierre Habouzit [Sun, 12 Nov 2006 00:35:27 +0000 (01:35 +0100)]
move mutt_strsysexit into lib-sys/exit.[hc]
Signed-off-by: Pierre Habouzit <madcoder@debian.org>
Pierre Habouzit [Sun, 12 Nov 2006 00:15:28 +0000 (01:15 +0100)]
lib-network -> lib-sys.
it will receive the unix things soon (like signal handling, exit code
handling and things like that).
Signed-off-by: Pierre Habouzit <madcoder@debian.org>
Pierre Habouzit [Sun, 12 Nov 2006 00:05:51 +0000 (01:05 +0100)]
move a function into rx.[hc]
Signed-off-by: Pierre Habouzit <madcoder@debian.org>
Pierre Habouzit [Sat, 11 Nov 2006 23:40:13 +0000 (00:40 +0100)]
fix mutt compilation, that's ugly, but it works for now
Signed-off-by: Pierre Habouzit <madcoder@debian.org>
Pierre Habouzit [Sat, 11 Nov 2006 23:38:55 +0000 (00:38 +0100)]
move rx.[hc].
those list2_t are really tasteless.
Signed-off-by: Pierre Habouzit <madcoder@debian.org>
Pierre Habouzit [Sat, 11 Nov 2006 23:23:24 +0000 (00:23 +0100)]
move debug.c
Signed-off-by: Pierre Habouzit <madcoder@debian.org>
Pierre Habouzit [Sat, 11 Nov 2006 22:50:44 +0000 (23:50 +0100)]
lib-network
Signed-off-by: Pierre Habouzit <madcoder@debian.org>
Pierre Habouzit [Sat, 11 Nov 2006 16:31:43 +0000 (17:31 +0100)]
ncurse 4.2 hahaha \o/
Signed-off-by: Pierre Habouzit <madcoder@debian.org>
Julien Danjou [Fri, 10 Nov 2006 15:54:36 +0000 (16:54 +0100)]
Remove included regex lib
Do not include glibc regex functions (header and C file),
only check if they are available
Signed-off-by: Julien Danjou <julien@danjou.info>
Signed-off-by: Pierre Habouzit <madcoder@debian.org>
Pierre Habouzit [Thu, 9 Nov 2006 10:33:07 +0000 (11:33 +0100)]
move menu.[hc].
fix a compilation problem with gnutls.
Signed-off-by: Pierre Habouzit <madcoder@debian.org>
Pierre Habouzit [Thu, 9 Nov 2006 01:43:49 +0000 (02:43 +0100)]
p_clear should not be used with sizeof but *countof*
the p-clear(Matches) erased too much memory.
thanks valgrind
Signed-off-by: Pierre Habouzit <madcoder@debian.org>
Pierre Habouzit [Thu, 9 Nov 2006 00:26:23 +0000 (01:26 +0100)]
move the last crypt-* things into lib-crypt, adapt configure.ac
accordingly
Signed-off-by: Pierre Habouzit <madcoder@debian.org>
Pierre Habouzit [Wed, 8 Nov 2006 23:30:59 +0000 (00:30 +0100)]
move more files.
Signed-off-by: Pierre Habouzit <madcoder@debian.org>
Pierre Habouzit [Wed, 8 Nov 2006 23:21:15 +0000 (00:21 +0100)]
begin to move ui code into the lib-ui
Signed-off-by: Pierre Habouzit <madcoder@debian.org>
Pierre Habouzit [Wed, 8 Nov 2006 22:59:15 +0000 (23:59 +0100)]
final cleansing
Signed-off-by: Pierre Habouzit <madcoder@debian.org>
Pierre Habouzit [Wed, 8 Nov 2006 22:49:50 +0000 (23:49 +0100)]
some muttbug remains
Signed-off-by: Pierre Habouzit <madcoder@debian.org>
Pierre Habouzit [Wed, 8 Nov 2006 22:46:58 +0000 (23:46 +0100)]
remove fleang and other tools like that.
Signed-off-by: Pierre Habouzit <madcoder@debian.org>
Pierre Habouzit [Wed, 8 Nov 2006 22:36:48 +0000 (23:36 +0100)]
leftover
Signed-off-by: Pierre Habouzit <madcoder@debian.org>
Pierre Habouzit [Wed, 8 Nov 2006 22:32:41 +0000 (23:32 +0100)]
wibble
Signed-off-by: Pierre Habouzit <madcoder@debian.org>
Pierre Habouzit [Wed, 8 Nov 2006 22:08:38 +0000 (23:08 +0100)]
more simplifcations
Signed-off-by: Pierre Habouzit <madcoder@debian.org>
Pierre Habouzit [Wed, 8 Nov 2006 22:06:43 +0000 (23:06 +0100)]
simplify build system
Signed-off-by: Pierre Habouzit <madcoder@debian.org>
Pierre Habouzit [Wed, 8 Nov 2006 21:31:22 +0000 (22:31 +0100)]
wibble
Signed-off-by: Pierre Habouzit <madcoder@debian.org>
Pierre Habouzit [Wed, 8 Nov 2006 12:27:35 +0000 (13:27 +0100)]
fix the user-agent
Signed-off-by: Pierre Habouzit <madcoder@debian.org>
Pierre Habouzit [Wed, 8 Nov 2006 12:10:07 +0000 (13:10 +0100)]
don't force buffy_check when changing folder.
Signed-off-by: Pierre Habouzit <madcoder@debian.org>
Pierre Habouzit [Wed, 8 Nov 2006 12:07:41 +0000 (13:07 +0100)]
simplify the configure.ac using PKG_CONFIG to detect qdbm correctly.
also symplify gpgme using its .m4 as well.
Signed-off-by: Pierre Habouzit <madcoder@debian.org>
Pierre Habouzit [Wed, 8 Nov 2006 01:13:06 +0000 (02:13 +0100)]
oops, we don't need that. fix a regression in <esc>e
Signed-off-by: Pierre Habouzit <madcoder@debian.org>
Pierre Habouzit [Wed, 8 Nov 2006 01:08:00 +0000 (02:08 +0100)]
last rewrite in rfc822parse.c
Signed-off-by: Pierre Habouzit <madcoder@debian.org>
Pierre Habouzit [Wed, 8 Nov 2006 01:03:45 +0000 (02:03 +0100)]
simplify count_body_parts drastically.
Pierre Habouzit [Wed, 8 Nov 2006 00:14:58 +0000 (01:14 +0100)]
generalize the idea of tokens a bit more, don't restrict it to the rfc822
headers, use it for all mime tokens we need.
I suppose I'll do a mutt-tokens module at some point
Signed-off-by: Pierre Habouzit <madcoder@debian.org>
Pierre Habouzit [Tue, 7 Nov 2006 22:34:46 +0000 (23:34 +0100)]
simplifications
Signed-off-by: Pierre Habouzit <madcoder@debian.org>
Pierre Habouzit [Tue, 7 Nov 2006 21:56:23 +0000 (22:56 +0100)]
stop building doc/ atm
Signed-off-by: Pierre Habouzit <madcoder@debian.org>
Pierre Habouzit [Tue, 7 Nov 2006 21:35:00 +0000 (22:35 +0100)]
more muttng -> madmutt
Signed-off-by: Pierre Habouzit <madcoder@debian.org>
Pierre Habouzit [Tue, 7 Nov 2006 21:25:32 +0000 (22:25 +0100)]
more muttng -> madmutt
Signed-off-by: Pierre Habouzit <madcoder@debian.org>
Julien Danjou [Tue, 7 Nov 2006 19:04:38 +0000 (20:04 +0100)]
Fix comparison between int and size_t
Signed-off-by: Julien Danjou <julien@danjou.info>
Signed-off-by: Pierre Habouzit <madcoder@debian.org>
Julien Danjou [Tue, 7 Nov 2006 17:31:16 +0000 (18:31 +0100)]
Fix compilation warnings in recvcmd.c
Tag unused attribute and use const char where needed
Signed-off-by: Julien Danjou <julien@danjou.info>
Signed-off-by: Pierre Habouzit <madcoder@debian.org>
Julien Danjou [Tue, 7 Nov 2006 17:31:15 +0000 (18:31 +0100)]
Fix compilation warnings in recvattach.c
Fix unsigned comparison and shadow declaration of filter
Signed-off-by: Julien Danjou <julien@danjou.info>
Signed-off-by: Pierre Habouzit <madcoder@debian.org>
Julien Danjou [Tue, 7 Nov 2006 17:31:14 +0000 (18:31 +0100)]
Use signed size parameter in quote_entry()
Signed-off-by: Julien Danjou <julien@danjou.info>
Signed-off-by: Pierre Habouzit <madcoder@debian.org>
Julien Danjou [Tue, 7 Nov 2006 17:31:12 +0000 (18:31 +0100)]
Fix compilation warnings in pattern.c
Use signed size_t and tag unused parameter
Signed-off-by: Julien Danjou <julien@danjou.info>
Signed-off-by: Pierre Habouzit <madcoder@debian.org>
Julien Danjou [Tue, 7 Nov 2006 17:31:11 +0000 (18:31 +0100)]
Fix compilations warnings in pager.c
Fix several shadowed declarations and a signed size_t error
Signed-off-by: Julien Danjou <julien@danjou.info>
Signed-off-by: Pierre Habouzit <madcoder@debian.org>
Julien Danjou [Tue, 7 Nov 2006 17:31:10 +0000 (18:31 +0100)]
Fix compilation warnings in muttlib.c
Change some size_t into ssize_t
Signed-off-by: Julien Danjou <julien@danjou.info>
Signed-off-by: Pierre Habouzit <madcoder@debian.org>
Julien Danjou [Tue, 7 Nov 2006 17:31:08 +0000 (18:31 +0100)]
Fix compilation warnings in mutt_idna.c
Change proto of mutt_addrlist_to_idna() to use const char
Signed-off-by: Julien Danjou <julien@danjou.info>
Signed-off-by: Pierre Habouzit <madcoder@debian.org>
Julien Danjou [Tue, 7 Nov 2006 17:31:07 +0000 (18:31 +0100)]
Fix compilation warnings in mh.c
Tag unused paramaters and change name of realpath variable so it won't
shadow the global declaration.
Signed-off-by: Julien Danjou <julien@danjou.info>
Signed-off-by: Pierre Habouzit <madcoder@debian.org>
Julien Danjou [Tue, 7 Nov 2006 17:31:13 +0000 (18:31 +0100)]
Use signed size parameter in post_entry()
Signed-off-by: Julien Danjou <julien@danjou.info>
Signed-off-by: Pierre Habouzit <madcoder@debian.org>
Julien Danjou [Tue, 7 Nov 2006 17:31:06 +0000 (18:31 +0100)]
Fix compilation warnings in menu.c
Shadow declaration of i and unused attribute
Signed-off-by: Julien Danjou <julien@danjou.info>
Signed-off-by: Pierre Habouzit <madcoder@debian.org>
Julien Danjou [Tue, 7 Nov 2006 17:31:05 +0000 (18:31 +0100)]
Fix compilation warnings in mbox.c
Tag unused attribute
Signed-off-by: Julien Danjou <julien@danjou.info>
Signed-off-by: Pierre Habouzit <madcoder@debian.org>
Julien Danjou [Tue, 7 Nov 2006 17:31:04 +0000 (18:31 +0100)]
Fix compilation warnings in main.c
shadowed declaration of msg
Signed-off-by: Julien Danjou <julien@danjou.info>
Signed-off-by: Pierre Habouzit <madcoder@debian.org>
Julien Danjou [Tue, 7 Nov 2006 17:31:03 +0000 (18:31 +0100)]
Remove compilation warnings from keymap.c
Signed-off-by: Julien Danjou <jd@abydos.adm.naquadah.org>
Signed-off-by: Pierre Habouzit <madcoder@debian.org>
Julien Danjou [Tue, 7 Nov 2006 17:31:02 +0000 (18:31 +0100)]
Change generated files to madmutt
This files change the binary executable file name from
muttng to madmutt and others things
Signed-off-by: Julien Danjou <julien@danjou.info>
Signed-off-by: Pierre Habouzit <madcoder@debian.org>
Pierre Habouzit [Tue, 7 Nov 2006 00:57:52 +0000 (01:57 +0100)]
Simplications go on.
make mutt_parse_rfc822_line more functionnal, that makes the API less
awkward.
Signed-off-by: Pierre Habouzit <madcoder@debian.org>
Pierre Habouzit [Tue, 7 Nov 2006 00:57:12 +0000 (01:57 +0100)]
fix check
Signed-off-by: Pierre Habouzit <madcoder@debian.org>
Pierre Habouzit [Tue, 7 Nov 2006 00:27:09 +0000 (01:27 +0100)]
check for gperf
Signed-off-by: Pierre Habouzit <madcoder@debian.org>
Pierre Habouzit [Mon, 6 Nov 2006 23:49:08 +0000 (00:49 +0100)]
replace the pathetic mutt_parse_rfc822_line function with a really better
looking one.
that code uses gperf to generate the string -> enum function, so that we
don't have to do a thing to hash them.
we improved:
* readability (the C code is way better)
* efficiency
Signed-off-by: Pierre Habouzit <madcoder@debian.org>
Pierre Habouzit [Mon, 6 Nov 2006 21:46:29 +0000 (22:46 +0100)]
reorganize code so that the rfc822parse.c does not needs lib-crypt nor
mx.h
Pierre Habouzit [Mon, 6 Nov 2006 02:05:02 +0000 (03:05 +0100)]
fix regression due to too fast rewrite
Signed-off-by: Pierre Habouzit <madcoder@debian.org>
Pierre Habouzit [Mon, 6 Nov 2006 01:36:01 +0000 (02:36 +0100)]
simplify mutt_parse_date
Signed-off-by: Pierre Habouzit <madcoder@debian.org>
Pierre Habouzit [Mon, 6 Nov 2006 00:44:30 +0000 (01:44 +0100)]
typo
Signed-off-by: Pierre Habouzit <madcoder@debian.org>
Pierre Habouzit [Mon, 6 Nov 2006 00:43:25 +0000 (01:43 +0100)]
more simplifications and header moves
Signed-off-by: Pierre Habouzit <madcoder@debian.org>
Pierre Habouzit [Sun, 5 Nov 2006 22:18:42 +0000 (23:18 +0100)]
simplify parse_parameters tokenizer
Signed-off-by: Pierre Habouzit <madcoder@debian.org>
Pierre Habouzit [Sun, 5 Nov 2006 20:21:51 +0000 (21:21 +0100)]
use my own APIS for headers, parameters and so on
Signed-off-by: Pierre Habouzit <madcoder@debian.org>
Pierre Habouzit [Sun, 5 Nov 2006 19:41:34 +0000 (20:41 +0100)]
simplify mutt_parse_references
Signed-off-by: Pierre Habouzit <madcoder@debian.org>
Pierre Habouzit [Sun, 5 Nov 2006 16:56:39 +0000 (17:56 +0100)]
rewrite mutt_read_rfc822_header to have a more consistent API.
Signed-off-by: Pierre Habouzit <madcoder@debian.org>
Pierre Habouzit [Sun, 5 Nov 2006 15:42:18 +0000 (16:42 +0100)]
rework some includes
Signed-off-by: Pierre Habouzit <madcoder@debian.org>
Pierre Habouzit [Sun, 5 Nov 2006 15:37:54 +0000 (16:37 +0100)]
forgotten config.h inclusion
Signed-off-by: Pierre Habouzit <madcoder@debian.org>
Pierre Habouzit [Sun, 5 Nov 2006 15:20:53 +0000 (16:20 +0100)]
put some comments to make the header reading easier
Signed-off-by: Pierre Habouzit <madcoder@debian.org>
Pierre Habouzit [Sun, 5 Nov 2006 15:16:47 +0000 (16:16 +0100)]
move rfc822 related types into lib-mime/mime-types.h out of mutt.h.
Signed-off-by: Pierre Habouzit <madcoder@debian.org>
Pierre Habouzit [Sun, 5 Nov 2006 15:06:54 +0000 (16:06 +0100)]
move parse.c into rfc822parse.c in the lib-mime as it's what it's about
for real :)
now we will optimize that code together :]
Signed-off-by: Pierre Habouzit <madcoder@debian.org>
Pierre Habouzit [Sun, 5 Nov 2006 14:47:46 +0000 (15:47 +0100)]
push some date functions in the lib-lib.
Signed-off-by: Pierre Habouzit <madcoder@debian.org>
Pierre Habouzit [Sun, 5 Nov 2006 02:04:17 +0000 (03:04 +0100)]
bwahahaa, please build with -g enabled :)
Signed-off-by: Pierre Habouzit <madcoder@debian.org>
Pierre Habouzit [Sun, 5 Nov 2006 01:52:38 +0000 (02:52 +0100)]
drop the builtin so called editor and the mailx feature we really dont
care about.
remove associated settings as well.
Signed-off-by: Pierre Habouzit <madcoder@debian.org>
Pierre Habouzit [Sun, 5 Nov 2006 01:26:25 +0000 (02:26 +0100)]
small leftover
Signed-off-by: Pierre Habouzit <madcoder@debian.org>
Pierre Habouzit [Sun, 5 Nov 2006 01:19:01 +0000 (02:19 +0100)]
fix regression. make the hook types be ints.
Signed-off-by: Pierre Habouzit <madcoder@debian.org>
Pierre Habouzit [Sun, 5 Nov 2006 01:01:24 +0000 (02:01 +0100)]
forgot to add Makefile.am
Pierre Habouzit [Sun, 5 Nov 2006 00:40:46 +0000 (01:40 +0100)]
reorganize code a lot: create a lib-crypt with everything smime or gpg
related
Signed-off-by: Pierre Habouzit <madcoder@debian.org>
Pierre Habouzit [Sun, 5 Nov 2006 00:11:18 +0000 (01:11 +0100)]
always build imap as well.
Signed-off-by: Pierre Habouzit <madcoder@debian.org>
Pierre Habouzit [Sat, 4 Nov 2006 23:48:34 +0000 (00:48 +0100)]
always build POP support, we do a /mail/ client, right ?
Signed-off-by: Pierre Habouzit <madcoder@debian.org>
Pierre Habouzit [Sat, 4 Nov 2006 23:35:54 +0000 (00:35 +0100)]
less and less cruft: always compile socket support in
Signed-off-by: Pierre Habouzit <madcoder@debian.org>
Pierre Habouzit [Sat, 4 Nov 2006 23:14:42 +0000 (00:14 +0100)]
and even less very old hacks.
Signed-off-by: Pierre Habouzit <madcoder@debian.org>
Pierre Habouzit [Sat, 4 Nov 2006 23:02:54 +0000 (00:02 +0100)]
--with-domain= is a joke
Signed-off-by: Pierre Habouzit <madcoder@debian.org>
Pierre Habouzit [Sat, 4 Nov 2006 22:57:26 +0000 (23:57 +0100)]
and more.
Signed-off-by: Pierre Habouzit <madcoder@debian.org>
Pierre Habouzit [Sat, 4 Nov 2006 22:53:59 +0000 (23:53 +0100)]
drop oldies
Signed-off-by: Pierre Habouzit <madcoder@debian.org>
Pierre Habouzit [Sat, 4 Nov 2006 22:50:16 +0000 (23:50 +0100)]
always use compressed mode.
Signed-off-by: Pierre Habouzit <madcoder@debian.org>
Pierre Habouzit [Sat, 4 Nov 2006 22:45:06 +0000 (23:45 +0100)]
we don't care about sun attachments, this is long dead
Signed-off-by: Pierre Habouzit <madcoder@debian.org>
Pierre Habouzit [Sat, 4 Nov 2006 22:25:52 +0000 (23:25 +0100)]
always build mutt with pgp + smime support.
Signed-off-by: Pierre Habouzit <madcoder@debian.org>
Pierre Habouzit [Sat, 4 Nov 2006 21:45:41 +0000 (22:45 +0100)]
always build pgp support.
Signed-off-by: Pierre Habouzit <madcoder@debian.org>
Pierre Habouzit [Sat, 4 Nov 2006 17:31:39 +0000 (18:31 +0100)]
mostly reindents.
we need to simplify that :|
Signed-off-by: Pierre Habouzit <madcoder@debian.org>