Julien Danjou [Fri, 17 Nov 2006 11:28:33 +0000 (12:28 +0100)]
Fix compilation warnings in pgp.c
- Fix pointer argument in address_list_uniq()
- Use const char in pgp_getkeybystr()
Signed-off-by: Julien Danjou <julien@danjou.info>
Signed-off-by: Pierre Habouzit <pierre.habouzit@intersec.eu>
Pierre Habouzit [Fri, 17 Nov 2006 12:07:25 +0000 (13:07 +0100)]
remove a whole lot of #include mutt.h
Signed-off-by: Pierre Habouzit <pierre.habouzit@intersec.eu>
Pierre Habouzit [Fri, 17 Nov 2006 09:46:22 +0000 (10:46 +0100)]
more simplifications.
Signed-off-by: Pierre Habouzit <madcoder@debian.org>
Pierre Habouzit [Fri, 17 Nov 2006 09:30:00 +0000 (10:30 +0100)]
fix compilation
Signed-off-by: Pierre Habouzit <madcoder@debian.org>
Pierre Habouzit [Fri, 17 Nov 2006 00:49:35 +0000 (01:49 +0100)]
wibble.
Signed-off-by: Pierre Habouzit <madcoder@debian.org>
Pierre Habouzit [Fri, 17 Nov 2006 00:40:55 +0000 (01:40 +0100)]
more include simplifications
Signed-off-by: Pierre Habouzit <madcoder@debian.org>
Pierre Habouzit [Fri, 17 Nov 2006 00:35:01 +0000 (01:35 +0100)]
rationnalize includes a lot:
that's very dirty, but lib-lib/lib-lib.h has a lot of commonly used
includes.
that saves a lot of things from the rest of the code.
Signed-off-by: Pierre Habouzit <madcoder@debian.org>
Pierre Habouzit [Thu, 16 Nov 2006 23:50:51 +0000 (00:50 +0100)]
sort out some prototypes, put them where they belong.
rework lib-lib, have a public lib-lib/lib-lib.h header that will be our
main library we always want to have.
Signed-off-by: Pierre Habouzit <madcoder@debian.org>
Pierre Habouzit [Thu, 16 Nov 2006 22:34:10 +0000 (23:34 +0100)]
oopsie
Signed-off-by: Pierre Habouzit <madcoder@debian.org>
Pierre Habouzit [Thu, 16 Nov 2006 18:44:22 +0000 (19:44 +0100)]
move more files.
Signed-off-by: Pierre Habouzit <madcoder@debian.org>
Pierre Habouzit [Thu, 16 Nov 2006 18:01:27 +0000 (19:01 +0100)]
move more things in the lib-ui.
Signed-off-by: Pierre Habouzit <madcoder@debian.org>
Pierre Habouzit [Thu, 16 Nov 2006 17:53:35 +0000 (18:53 +0100)]
next_word is m_strnextsp
Signed-off-by: Pierre Habouzit <madcoder@debian.org>
Pierre Habouzit [Thu, 16 Nov 2006 17:46:10 +0000 (18:46 +0100)]
make charset_canonicalize set the answer to "us-ascii" if s is NULL.
some small improvements.
Signed-off-by: Pierre Habouzit <madcoder@debian.org>
Pierre Habouzit [Thu, 16 Nov 2006 12:48:58 +0000 (13:48 +0100)]
configure fixes.
Signed-off-by: Pierre Habouzit <madcoder@debian.org>
Pierre Habouzit [Thu, 16 Nov 2006 10:19:22 +0000 (11:19 +0100)]
remove unused code, simplifications, missing include
Signed-off-by: Pierre Habouzit <madcoder@debian.org>
Pierre Habouzit [Thu, 16 Nov 2006 08:37:41 +0000 (09:37 +0100)]
some dead code, old things, fix idna *again*
Signed-off-by: Pierre Habouzit <madcoder@debian.org>
Pierre Habouzit [Thu, 16 Nov 2006 08:19:45 +0000 (09:19 +0100)]
move more things in the lib-mime
Signed-off-by: Pierre Habouzit <madcoder@debian.org>
Pierre Habouzit [Thu, 16 Nov 2006 00:23:12 +0000 (01:23 +0100)]
simplify some bits of code, also simplify includes.
Signed-off-by: Pierre Habouzit <madcoder@debian.org>
Pierre Habouzit [Thu, 16 Nov 2006 00:13:44 +0000 (01:13 +0100)]
ctors/dtors for BODY's
Signed-off-by: Pierre Habouzit <madcoder@debian.org>
Pierre Habouzit [Thu, 16 Nov 2006 00:03:21 +0000 (01:03 +0100)]
move all the parameter related functions into the lib-mime.
rename the type and the APIs
Signed-off-by: Pierre Habouzit <madcoder@debian.org>
Pierre Habouzit [Wed, 15 Nov 2006 18:39:03 +0000 (19:39 +0100)]
move mutt_get_parameter -> parameter_getval into mime.c
Signed-off-by: Pierre Habouzit <madcoder@debian.org>
Julien Danjou [Wed, 15 Nov 2006 15:17:59 +0000 (16:17 +0100)]
Fix compilation warnings in compose.c and init.c
- Use signed int
- Tag unused attribute
- Fix #ifdef -> #if defined()
Signed-off-by: Julien Danjou <julien@danjou.info>
Signed-off-by: Pierre Habouzit <madcoder@debian.org>
Julien Danjou [Wed, 15 Nov 2006 15:17:58 +0000 (16:17 +0100)]
Fix compilation warnings un buffy.c and command.c
- Tag unused attribute
- Use signed int
Signed-off-by: Julien Danjou <julien@danjou.info>
Signed-off-by: Pierre Habouzit <madcoder@debian.org>
Julien Danjou [Wed, 15 Nov 2006 15:17:57 +0000 (16:17 +0100)]
Fix compilation warnings and code clean up
- Remove old commented code
- Change name of folder_file struct so they do not shadow
each others. It'd probably be better to use only one struct
but the code is too big to look at that possibility.
Signed-off-by: Julien Danjou <julien@danjou.info>
Signed-off-by: Pierre Habouzit <madcoder@debian.org>
Julien Danjou [Wed, 15 Nov 2006 15:17:56 +0000 (16:17 +0100)]
Fix compilation errors
Include wchar.h
Signed-off-by: Julien Danjou <julien@danjou.info>
Signed-off-by: Pierre Habouzit <madcoder@debian.org>
Pierre Habouzit [Wed, 15 Nov 2006 16:05:42 +0000 (17:05 +0100)]
make mutt_body_free a bit more mad-friendly
Signed-off-by: Pierre Habouzit <madcoder@debian.org>
Pierre Habouzit [Wed, 15 Nov 2006 12:05:33 +0000 (13:05 +0100)]
use more ad-hoc list handling function, and avoid to muck with ->next
pointer ourselves
Signed-off-by: Pierre Habouzit <madcoder@debian.org>
Pierre Habouzit [Wed, 15 Nov 2006 11:54:47 +0000 (12:54 +0100)]
small optims.
Signed-off-by: Pierre Habouzit <madcoder@debian.org>
Pierre Habouzit [Wed, 15 Nov 2006 10:56:59 +0000 (11:56 +0100)]
fix segfault in hcache due to bad typing.
Signed-off-by: Pierre Habouzit <madcoder@debian.org>
Pierre Habouzit [Wed, 15 Nov 2006 01:19:02 +0000 (02:19 +0100)]
oops :)
Signed-off-by: Pierre Habouzit <madcoder@debian.org>
Pierre Habouzit [Wed, 15 Nov 2006 01:06:07 +0000 (02:06 +0100)]
use an enum, that's cleaner
Signed-off-by: Pierre Habouzit <madcoder@debian.org>
Pierre Habouzit [Wed, 15 Nov 2006 00:46:31 +0000 (01:46 +0100)]
finish the "read" of charset.c
Signed-off-by: Pierre Habouzit <madcoder@debian.org>
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>
Pierre Habouzit [Tue, 14 Nov 2006 23:06:59 +0000 (00:06 +0100)]
more charset improvements.
Signed-off-by: Pierre Habouzit <madcoder@debian.org>
Pierre Habouzit [Tue, 14 Nov 2006 22:47:22 +0000 (23:47 +0100)]
oopsie, small fixes.
Signed-off-by: Pierre Habouzit <madcoder@debian.org>
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>
Pierre Habouzit [Tue, 14 Nov 2006 22:40:06 +0000 (23:40 +0100)]
make the generation of mime-token.[hc] a bit more effficient.
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>
Pierre Habouzit [Tue, 14 Nov 2006 11:20:31 +0000 (12:20 +0100)]
more autoconf simplifications.
Signed-off-by: Pierre Habouzit <madcoder@debian.org>
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>
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>
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>
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>
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>
Pierre Habouzit [Mon, 13 Nov 2006 23:15:58 +0000 (00:15 +0100)]
dead code
Signed-off-by: Pierre Habouzit <madcoder@debian.org>
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>
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>
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>
Pierre Habouzit [Mon, 13 Nov 2006 18:04:32 +0000 (19:04 +0100)]
candy: make wc
Signed-off-by: Pierre Habouzit <madcoder@debian.org>
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>
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>
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>
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>
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>
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>
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>
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>
Pierre Habouzit [Mon, 13 Nov 2006 01:42:31 +0000 (02:42 +0100)]
make taht shorter
Signed-off-by: Pierre Habouzit <madcoder@debian.org>
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>
Pierre Habouzit [Mon, 13 Nov 2006 01:14:48 +0000 (02:14 +0100)]
copyright statements
Signed-off-by: Pierre Habouzit <madcoder@debian.org>
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>