apps/madmutt.git
15 years agomany simplifications, copyright statements.
Pierre Habouzit [Tue, 14 Nov 2006 23:26:24 +0000 (00:26 +0100)]
many simplifications, copyright statements.

Signed-off-by: Pierre Habouzit <madcoder@debian.org>
15 years agomore charset improvements.
Pierre Habouzit [Tue, 14 Nov 2006 23:06:59 +0000 (00:06 +0100)]
more charset improvements.

Signed-off-by: Pierre Habouzit <madcoder@debian.org>
15 years agooopsie, small fixes.
Pierre Habouzit [Tue, 14 Nov 2006 22:47:22 +0000 (23:47 +0100)]
oopsie, small fixes.

Signed-off-by: Pierre Habouzit <madcoder@debian.org>
15 years agouse gperf for the charsets as well.
Pierre Habouzit [Tue, 14 Nov 2006 22:40:36 +0000 (23:40 +0100)]
use gperf for the charsets as well.
we're more efficient *AND* more clever than the previous function.

Signed-off-by: Pierre Habouzit <madcoder@debian.org>
15 years agomake the generation of mime-token.[hc] a bit more effficient.
Pierre Habouzit [Tue, 14 Nov 2006 22:40:06 +0000 (23:40 +0100)]
make the generation of mime-token.[hc] a bit more effficient.

15 years agosimplify charset and things in the sockets API.
Pierre Habouzit [Tue, 14 Nov 2006 21:42:37 +0000 (22:42 +0100)]
simplify charset and things in the sockets API.

Signed-off-by: Pierre Habouzit <madcoder@debian.org>
15 years agomore autoconf simplifications.
Pierre Habouzit [Tue, 14 Nov 2006 11:20:31 +0000 (12:20 +0100)]
more autoconf simplifications.

Signed-off-by: Pierre Habouzit <madcoder@debian.org>
15 years agocontinue the configure simplifications.
Pierre Habouzit [Tue, 14 Nov 2006 11:04:09 +0000 (12:04 +0100)]
continue the configure simplifications.

Signed-off-by: Pierre Habouzit <madcoder@debian.org>
15 years agomove some files around.
Pierre Habouzit [Tue, 14 Nov 2006 10:37:47 +0000 (11:37 +0100)]
move some files around.

Signed-off-by: Pierre Habouzit <madcoder@debian.org>
15 years agodrop the ad-hoc TZ parse, non-rfc822 compliant dates are quite rare
Pierre Habouzit [Tue, 14 Nov 2006 01:08:12 +0000 (02:08 +0100)]
drop the ad-hoc TZ parse, non-rfc822 compliant dates are quite rare
nowadays, I don't care about those.

Signed-off-by: Pierre Habouzit <madcoder@debian.org>
15 years agobegin to rework mailcap parsing a "bit".
Pierre Habouzit [Tue, 14 Nov 2006 01:01:25 +0000 (02:01 +0100)]
begin to rework mailcap parsing a "bit".
the current way is really really really completely na├»ve (the mailcap
parse is done many times whereas it just should be put into structs once
for all !).

Signed-off-by: Pierre Habouzit <madcoder@debian.org>
15 years agoplease, libidn has not changed in years now
Pierre Habouzit [Mon, 13 Nov 2006 23:21:27 +0000 (00:21 +0100)]
please, libidn has not changed in years now

Signed-off-by: Pierre Habouzit <madcoder@debian.org>
15 years agodead code
Pierre Habouzit [Mon, 13 Nov 2006 23:15:58 +0000 (00:15 +0100)]
dead code

Signed-off-by: Pierre Habouzit <madcoder@debian.org>
15 years agoremove most of the debug code: often makes the code unreadable, for little
Pierre Habouzit [Mon, 13 Nov 2006 23:14:05 +0000 (00:14 +0100)]
remove most of the debug code: often makes the code unreadable, for little
gain when we debug, because the debugging is due to the high level of code
interweaving

Signed-off-by: Pierre Habouzit <madcoder@debian.org>
15 years agocontinue the include dance
Pierre Habouzit [Mon, 13 Nov 2006 22:10:53 +0000 (23:10 +0100)]
continue the include dance

Signed-off-by: Pierre Habouzit <madcoder@debian.org>
15 years agorework includes a bit
Pierre Habouzit [Mon, 13 Nov 2006 21:53:47 +0000 (22:53 +0100)]
rework includes a bit

Signed-off-by: Pierre Habouzit <madcoder@debian.org>
15 years agocandy: make wc
Pierre Habouzit [Mon, 13 Nov 2006 18:04:32 +0000 (19:04 +0100)]
candy: make wc

Signed-off-by: Pierre Habouzit <madcoder@debian.org>
15 years agoremove oldies.
Pierre Habouzit [Mon, 13 Nov 2006 17:51:00 +0000 (18:51 +0100)]
remove oldies.
please, an OS that does has neither strcasecmp nor setenv does not
deserves madmutt

Signed-off-by: Pierre Habouzit <madcoder@debian.org>
15 years agoFix a bunch of warnings in imap code
Julien Danjou [Mon, 13 Nov 2006 15:04:47 +0000 (16:04 +0100)]
Fix a bunch of warnings in imap code

Signed-off-by: Julien Danjou <julien@danjou.info>
Signed-off-by: Pierre Habouzit <madcoder@debian.org>
15 years agoMoody patch fixing compilation warnings
Julien Danjou [Mon, 13 Nov 2006 15:37:43 +0000 (16:37 +0100)]
Moody patch fixing compilation warnings

Tag unused attribute

Signed-off-by: Julien Danjou <julien@danjou.info>
Signed-off-by: Pierre Habouzit <madcoder@debian.org>
15 years agoFix a compilation error with gdbm
Julien Danjou [Mon, 13 Nov 2006 10:48:39 +0000 (11:48 +0100)]
Fix a compilation error with gdbm

Use struct header_cache instead of typedef

Signed-off-by: Julien Danjou <julien@danjou.info>
Signed-off-by: Pierre Habouzit <madcoder@debian.org>
15 years agoChange #if by #ifdef in mutt.h
Julien Danjou [Mon, 13 Nov 2006 10:48:38 +0000 (11:48 +0100)]
Change #if by #ifdef in mutt.h

Signed-off-by: Julien Danjou <julien@danjou.info>
Signed-off-by: Pierre Habouzit <madcoder@debian.org>
15 years agoand less size_t's
Pierre Habouzit [Mon, 13 Nov 2006 10:32:00 +0000 (11:32 +0100)]
and less size_t's

Signed-off-by: Pierre Habouzit <madcoder@debian.org>
15 years agoa whole lot of size_t -> ssize_t.
Pierre Habouzit [Mon, 13 Nov 2006 10:20:19 +0000 (11:20 +0100)]
a whole lot of size_t -> ssize_t.
remove old cruft too.

Signed-off-by: Pierre Habouzit <madcoder@debian.org>
15 years agonot having wide chars is soooo 90, please, I *really* don't care with
Pierre Habouzit [Mon, 13 Nov 2006 02:03:34 +0000 (03:03 +0100)]
not having wide chars is soooo 90, please, I *really* don't care with
antiquated OSes, those can stick to plain mutt.

Signed-off-by: Pierre Habouzit <madcoder@debian.org>
15 years agomake taht shorter
Pierre Habouzit [Mon, 13 Nov 2006 01:42:31 +0000 (02:42 +0100)]
make taht shorter

Signed-off-by: Pierre Habouzit <madcoder@debian.org>
15 years agomove some global settings into alias.c where it belongs.
Pierre Habouzit [Mon, 13 Nov 2006 01:30:25 +0000 (02:30 +0100)]
move some global settings into alias.c where it belongs.

Signed-off-by: Pierre Habouzit <madcoder@debian.org>
15 years agocopyright statements
Pierre Habouzit [Mon, 13 Nov 2006 01:14:48 +0000 (02:14 +0100)]
copyright statements

Signed-off-by: Pierre Habouzit <madcoder@debian.org>
15 years agomore rationalization.
Pierre Habouzit [Mon, 13 Nov 2006 01:13:09 +0000 (02:13 +0100)]
more rationalization.

Signed-off-by: Pierre Habouzit <madcoder@debian.org>
15 years agorationalize list handling in mutt a bit.
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>
15 years agosimplify alias expansion a lot.
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>
15 years agomake some functions a bit shorter.
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>
15 years agobegin to work on alias.[hc]
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>
15 years agomove url.[hc] into the lib-lib.
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>
15 years agomove history in lib-ui
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>
15 years agomove resize.c into lib-ui.
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>
15 years agooops, bad formula
Pierre Habouzit [Sun, 12 Nov 2006 14:39:03 +0000 (15:39 +0100)]
oops, bad formula

Signed-off-by: Pierre Habouzit <madcoder@debian.org>
15 years agoreimplement getdnsdomainname
Pierre Habouzit [Sun, 12 Nov 2006 14:32:20 +0000 (15:32 +0100)]
reimplement getdnsdomainname
strtok--

Signed-off-by: Pierre Habouzit <madcoder@debian.org>
15 years agoexit system.c, mutt_system goes into lib-sys/
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>
15 years agomove signal.c into lib/sys
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>
15 years agoreimplement mutt_gecos_name.
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>
15 years agoadd m_strchrnul that does what GNU strchrnul does: search for 'c' or
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>
15 years agoremove some cruft
Pierre Habouzit [Sun, 12 Nov 2006 00:44:08 +0000 (01:44 +0100)]
remove some cruft

Signed-off-by: Pierre Habouzit <madcoder@debian.org>
15 years agomove mutt_strsysexit into lib-sys/exit.[hc]
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>
15 years agolib-network -> lib-sys.
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>
15 years agomove a function into rx.[hc]
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>
15 years agofix mutt compilation, that's ugly, but it works for now
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>
15 years agomove rx.[hc].
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>
15 years agomove debug.c
Pierre Habouzit [Sat, 11 Nov 2006 23:23:24 +0000 (00:23 +0100)]
move debug.c

Signed-off-by: Pierre Habouzit <madcoder@debian.org>
15 years agolib-network
Pierre Habouzit [Sat, 11 Nov 2006 22:50:44 +0000 (23:50 +0100)]
lib-network

Signed-off-by: Pierre Habouzit <madcoder@debian.org>
15 years agoncurse 4.2 hahaha \o/
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>
15 years agoRemove included regex lib
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>
15 years agomove menu.[hc].
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>
15 years agop_clear should not be used with sizeof but *countof*
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>
15 years agomove the last crypt-* things into lib-crypt, adapt configure.ac
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>
15 years agomove more files.
Pierre Habouzit [Wed, 8 Nov 2006 23:30:59 +0000 (00:30 +0100)]
move more files.

Signed-off-by: Pierre Habouzit <madcoder@debian.org>
15 years agobegin to move ui code into the lib-ui
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>
15 years agofinal cleansing
Pierre Habouzit [Wed, 8 Nov 2006 22:59:15 +0000 (23:59 +0100)]
final cleansing

Signed-off-by: Pierre Habouzit <madcoder@debian.org>
15 years agosome muttbug remains
Pierre Habouzit [Wed, 8 Nov 2006 22:49:50 +0000 (23:49 +0100)]
some muttbug remains

Signed-off-by: Pierre Habouzit <madcoder@debian.org>
15 years agoremove fleang and other tools like that.
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>
15 years agoleftover
Pierre Habouzit [Wed, 8 Nov 2006 22:36:48 +0000 (23:36 +0100)]
leftover

Signed-off-by: Pierre Habouzit <madcoder@debian.org>
15 years agowibble
Pierre Habouzit [Wed, 8 Nov 2006 22:32:41 +0000 (23:32 +0100)]
wibble

Signed-off-by: Pierre Habouzit <madcoder@debian.org>
15 years agomore simplifcations
Pierre Habouzit [Wed, 8 Nov 2006 22:08:38 +0000 (23:08 +0100)]
more simplifcations

Signed-off-by: Pierre Habouzit <madcoder@debian.org>
15 years agosimplify build system
Pierre Habouzit [Wed, 8 Nov 2006 22:06:43 +0000 (23:06 +0100)]
simplify build system

Signed-off-by: Pierre Habouzit <madcoder@debian.org>
15 years agowibble
Pierre Habouzit [Wed, 8 Nov 2006 21:31:22 +0000 (22:31 +0100)]
wibble

Signed-off-by: Pierre Habouzit <madcoder@debian.org>
15 years agofix the user-agent
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>
15 years agodon't force buffy_check when changing folder.
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>
15 years agosimplify the configure.ac using PKG_CONFIG to detect qdbm correctly.
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>
15 years agooops, we don't need that. fix a regression in <esc>e
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>
15 years agolast rewrite in rfc822parse.c
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>
15 years agosimplify count_body_parts drastically.
Pierre Habouzit [Wed, 8 Nov 2006 01:03:45 +0000 (02:03 +0100)]
simplify  count_body_parts drastically.

15 years agogeneralize the idea of tokens a bit more, don't restrict it to the rfc822
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>
15 years agosimplifications
Pierre Habouzit [Tue, 7 Nov 2006 22:34:46 +0000 (23:34 +0100)]
simplifications

Signed-off-by: Pierre Habouzit <madcoder@debian.org>
15 years agostop building doc/ atm
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>
15 years agomore muttng -> madmutt
Pierre Habouzit [Tue, 7 Nov 2006 21:35:00 +0000 (22:35 +0100)]
more muttng -> madmutt

Signed-off-by: Pierre Habouzit <madcoder@debian.org>
15 years agomore muttng -> madmutt
Pierre Habouzit [Tue, 7 Nov 2006 21:25:32 +0000 (22:25 +0100)]
more muttng -> madmutt

Signed-off-by: Pierre Habouzit <madcoder@debian.org>
15 years agoFix comparison between int and size_t
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>
15 years agoFix compilation warnings in recvcmd.c
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>
15 years agoFix compilation warnings in recvattach.c
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>
15 years agoUse signed size parameter in quote_entry()
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>
15 years agoFix compilation warnings in pattern.c
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>
15 years agoFix compilations warnings in pager.c
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>
15 years agoFix compilation warnings in muttlib.c
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>
15 years agoFix compilation warnings in mutt_idna.c
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>
15 years agoFix compilation warnings in mh.c
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>
15 years agoUse signed size parameter in post_entry()
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>
15 years agoFix compilation warnings in menu.c
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>
15 years agoFix compilation warnings in mbox.c
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>
15 years agoFix compilation warnings in main.c
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>
15 years agoRemove compilation warnings from keymap.c
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>
15 years agoChange generated files to madmutt
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>
15 years agoSimplications go on.
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>
15 years agofix check
Pierre Habouzit [Tue, 7 Nov 2006 00:57:12 +0000 (01:57 +0100)]
fix check

Signed-off-by: Pierre Habouzit <madcoder@debian.org>
15 years agocheck for gperf
Pierre Habouzit [Tue, 7 Nov 2006 00:27:09 +0000 (01:27 +0100)]
check for gperf

Signed-off-by: Pierre Habouzit <madcoder@debian.org>
15 years agoreplace the pathetic mutt_parse_rfc822_line function with a really better
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>
15 years agoreorganize code so that the rfc822parse.c does not needs lib-crypt nor
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

15 years agofix regression due to too fast rewrite
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>
15 years agosimplify mutt_parse_date
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>
15 years agotypo
Pierre Habouzit [Mon, 6 Nov 2006 00:44:30 +0000 (01:44 +0100)]
typo

Signed-off-by: Pierre Habouzit <madcoder@debian.org>
15 years agomore simplifications and header moves
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>