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>
Pierre Habouzit [Sat, 4 Nov 2006 17:08:36 +0000 (18:08 +0100)]
cosmetics
Signed-off-by: Pierre Habouzit <madcoder@debian.org>
Pierre Habouzit [Sat, 4 Nov 2006 15:30:47 +0000 (16:30 +0100)]
small leftovers
Signed-off-by: Pierre Habouzit <madcoder@debian.org>
Julien Danjou [Sat, 4 Nov 2006 14:37:46 +0000 (15:37 +0100)]
[PATCH] Fix multiple compilation warnings
Signed-off-by: Julien Danjou <julien@danjou.info>
Signed-off-by: Pierre Habouzit <madcoder@debian.org>
Pierre Habouzit [Sat, 4 Nov 2006 15:26:20 +0000 (16:26 +0100)]
drop the old string API fully.
Signed-off-by: Pierre Habouzit <madcoder@debian.org>
Pierre Habouzit [Sat, 4 Nov 2006 14:37:53 +0000 (15:37 +0100)]
always build the dotlock program standalone, many other appplications use
it, so …
one more step toward mutt build system simplification.
Signed-off-by: Pierre Habouzit <madcoder@debian.org>
Pierre Habouzit [Sat, 4 Nov 2006 14:21:15 +0000 (15:21 +0100)]
drop str_adjust: we don't care about a few octets unused, please do me a
favour.
simplify decoding functions.
Signed-off-by: Pierre Habouzit <madcoder@debian.org>
Pierre Habouzit [Sat, 4 Nov 2006 13:44:00 +0000 (14:44 +0100)]
more coding rules, simplifications.
Signed-off-by: Pierre Habouzit <madcoder@debian.org>
Pierre Habouzit [Sat, 4 Nov 2006 01:49:29 +0000 (02:49 +0100)]
make update-po and fix uk.po
Signed-off-by: Pierre Habouzit <madcoder@debian.org>
Pierre Habouzit [Sat, 4 Nov 2006 01:46:37 +0000 (02:46 +0100)]
wibble
Signed-off-by: Pierre Habouzit <madcoder@debian.org>
Julien Cristau [Sat, 4 Nov 2006 01:10:29 +0000 (02:10 +0100)]
[PATCH] version.h doesn't depend on Makefile.am
Signed-off-by: Julien Cristau <julien@patate.is-a-geek.org>
Signed-off-by: Pierre Habouzit <madcoder@debian.org>
Pierre Habouzit [Sat, 4 Nov 2006 01:38:31 +0000 (02:38 +0100)]
don't hide macro.
Signed-off-by: Pierre Habouzit <madcoder@debian.org>
Pierre Habouzit [Sat, 4 Nov 2006 01:35:36 +0000 (02:35 +0100)]
simplify block_try function.
use a lookup for qp encoding
Signed-off-by: Pierre Habouzit <madcoder@debian.org>
Pierre Habouzit [Sat, 4 Nov 2006 00:52:26 +0000 (01:52 +0100)]
oops
Signed-off-by: Pierre Habouzit <madcoder@debian.org>
Pierre Habouzit [Sat, 4 Nov 2006 00:50:31 +0000 (01:50 +0100)]
fix small bug from julien
Signed-off-by: Pierre Habouzit <madcoder@debian.org>
Julien Danjou [Sat, 4 Nov 2006 00:43:36 +0000 (01:43 +0100)]
[PATCH] Fix compilations warnings
Signed-off-by: Julien Danjou <julien@danjou.info>
Signed-off-by: Pierre Habouzit <madcoder@debian.org>
Pierre Habouzit [Sat, 4 Nov 2006 00:45:17 +0000 (01:45 +0100)]
small fixes.
Signed-off-by: Pierre Habouzit <madcoder@debian.org>
Pierre Habouzit [Sat, 4 Nov 2006 00:14:59 +0000 (01:14 +0100)]
make code a bit more readable.
Signed-off-by: Pierre Habouzit <madcoder@debian.org>
Pierre Habouzit [Fri, 3 Nov 2006 23:25:04 +0000 (00:25 +0100)]
forgot to remove
Signed-off-by: Pierre Habouzit <madcoder@debian.org>
Pierre Habouzit [Fri, 3 Nov 2006 23:23:25 +0000 (00:23 +0100)]
fix signedness issues.
now the rewrite will begin
Signed-off-by: Pierre Habouzit <madcoder@debian.org>
Pierre Habouzit [Fri, 3 Nov 2006 23:12:49 +0000 (00:12 +0100)]
Patch from Julien danjou: fix a couple of compilation warnings.
Pierre Habouzit [Fri, 3 Nov 2006 23:07:39 +0000 (00:07 +0100)]
ooops, make it compile again.
Signed-off-by: Pierre Habouzit <madcoder@debian.org>
Pierre Habouzit [Fri, 3 Nov 2006 23:04:45 +0000 (00:04 +0100)]
move rfc2047.c into lib-mime, reindent it.
replace str_replace with m_strreplace. I don't like that function at all.
Signed-off-by: Pierre Habouzit <madcoder@debian.org>
Pierre Habouzit [Fri, 3 Nov 2006 22:13:04 +0000 (23:13 +0100)]
begin to move rfc2047 into lib-mime.
Signed-off-by: Pierre Habouzit <madcoder@debian.org>
Pierre Habouzit [Fri, 3 Nov 2006 21:32:04 +0000 (22:32 +0100)]
wibble.
Signed-off-by: Pierre Habouzit <madcoder@debian.org>
Pierre Habouzit [Fri, 3 Nov 2006 21:30:43 +0000 (22:30 +0100)]
rfc822 final touch
Signed-off-by: Pierre Habouzit <madcoder@debian.org>
Pierre Habouzit [Fri, 3 Nov 2006 15:46:24 +0000 (16:46 +0100)]
even better and simpler parser.
Signed-off-by: Pierre Habouzit <madcoder@debian.org>
Pierre Habouzit [Fri, 3 Nov 2006 02:27:47 +0000 (03:27 +0100)]
forgotten debug
Signed-off-by: Pierre Habouzit <madcoder@debian.org>
Pierre Habouzit [Fri, 3 Nov 2006 02:26:43 +0000 (03:26 +0100)]
simplify rfc822 parsing *A LOT*
Signed-off-by: Pierre Habouzit <madcoder@debian.org>
Pierre Habouzit [Thu, 2 Nov 2006 22:11:19 +0000 (23:11 +0100)]
make address functions a lot better, and less error prone.
reuse SLIST inlines.
Signed-off-by: Pierre Habouzit <madcoder@debian.org>
Pierre Habouzit [Thu, 2 Nov 2006 22:10:09 +0000 (23:10 +0100)]
more useful list primitives
Signed-off-by: Pierre Habouzit <madcoder@debian.org>
Pierre Habouzit [Thu, 2 Nov 2006 21:17:53 +0000 (22:17 +0100)]
missing include
Pierre Habouzit [Thu, 2 Nov 2006 21:15:37 +0000 (22:15 +0100)]
add some list functions.
fix compilation warnings.
add cflags.
add ssizeof
Signed-off-by: Pierre Habouzit <madcoder@debian.org>
Pierre Habouzit [Thu, 2 Nov 2006 21:00:43 +0000 (22:00 +0100)]
use my usual API's for allocation/deallocation right now.
Signed-off-by: Pierre Habouzit <madcoder@debian.org>
Pierre Habouzit [Thu, 2 Nov 2006 20:44:40 +0000 (21:44 +0100)]
ADDRESS -> address_t
Signed-off-by: Pierre Habouzit <madcoder@debian.org>