Pierre Habouzit [Sat, 10 Nov 2007 16:28:06 +0000 (17:28 +0100)]
WHAT_KEY has better equivalents in other tools.
Signed-off-by: Pierre Habouzit <madcoder@debian.org>
Pierre Habouzit [Sat, 10 Nov 2007 16:24:03 +0000 (17:24 +0100)]
streamline headers
Signed-off-by: Pierre Habouzit <madcoder@debian.org>
Pierre Habouzit [Sat, 10 Nov 2007 16:19:30 +0000 (17:19 +0100)]
Drop sidebar.h
Signed-off-by: Pierre Habouzit <madcoder@debian.org>
Pierre Habouzit [Sat, 10 Nov 2007 16:09:39 +0000 (17:09 +0100)]
Terminals without color are from another era.
Signed-off-by: Pierre Habouzit <madcoder@debian.org>
Pierre Habouzit [Sat, 10 Nov 2007 16:01:29 +0000 (17:01 +0100)]
Mono-only terminals are from another century.
Signed-off-by: Pierre Habouzit <madcoder@debian.org>
Pierre Habouzit [Sat, 10 Nov 2007 15:37:39 +0000 (16:37 +0100)]
Import madtty, use it to deal with colors from now on as it needs to know what is assigned to what.
Signed-off-by: Pierre Habouzit <madcoder@debian.org>
Pierre Habouzit [Sat, 10 Nov 2007 14:27:52 +0000 (15:27 +0100)]
Better curses init.
Signed-off-by: Pierre Habouzit <madcoder@debian.org>
Pierre Habouzit [Fri, 9 Nov 2007 23:03:27 +0000 (00:03 +0100)]
build tools on configure
Signed-off-by: Pierre Habouzit <madcoder@debian.org>
Pierre Habouzit [Thu, 8 Nov 2007 13:03:10 +0000 (14:03 +0100)]
Use mutt_multi_choice in flags.c
This marks the end of the use of stdscr outside from lib-ui \o/
Signed-off-by: Pierre Habouzit <madcoder@debian.org>
Pierre Habouzit [Thu, 8 Nov 2007 10:21:22 +0000 (11:21 +0100)]
wmove + wclrtobot is werase.
Signed-off-by: Pierre Habouzit <madcoder@debian.org>
Pierre Habouzit [Thu, 8 Nov 2007 10:04:11 +0000 (11:04 +0100)]
Useless CLEARLINE(stdscr, LINES - 1)
Signed-off-by: Pierre Habouzit <madcoder@debian.org>
Pierre Habouzit [Wed, 7 Nov 2007 23:07:02 +0000 (00:07 +0100)]
LINES - 1 is the status bar, living on stdscr.
s/main_w/stdscr/ for those… that's probably why I don't see some errors doh
Signed-off-by: Pierre Habouzit <madcoder@debian.org>
Pierre Habouzit [Wed, 7 Nov 2007 22:57:53 +0000 (23:57 +0100)]
Simplifications.
Signed-off-by: Pierre Habouzit <madcoder@debian.org>
Pierre Habouzit [Wed, 7 Nov 2007 22:40:38 +0000 (23:40 +0100)]
More lightweight boxen
Signed-off-by: Pierre Habouzit <madcoder@debian.org>
Pierre Habouzit [Wed, 7 Nov 2007 22:00:48 +0000 (23:00 +0100)]
fix spurious encoding issue in de.po
Signed-off-by: Pierre Habouzit <madcoder@debian.org>
Pierre Habouzit [Wed, 7 Nov 2007 21:58:20 +0000 (22:58 +0100)]
po update
Signed-off-by: Pierre Habouzit <madcoder@debian.org>
Pierre Habouzit [Wed, 7 Nov 2007 21:35:21 +0000 (22:35 +0100)]
Fix compilation issues.
Signed-off-by: Pierre Habouzit <madcoder@debian.org>
Pierre Habouzit [Wed, 7 Nov 2007 21:30:58 +0000 (22:30 +0100)]
fix inlines issues with gperf by stripping them out
Signed-off-by: Pierre Habouzit <madcoder@debian.org>
Pierre Habouzit [Wed, 7 Nov 2007 21:27:27 +0000 (22:27 +0100)]
The NNTP patch is a joke, let's drop it altogether.
Reason is that I believe it's not done properly, it has tons of issues,
clutters the code, and well, will be revieved, eventually (or maybe not).
Signed-off-by: Pierre Habouzit <madcoder@debian.org>
Cyril Brulebois [Wed, 7 Nov 2007 18:52:45 +0000 (19:52 +0100)]
Fix dereferencing for the mutt_hcache_close calls. Use hcache_t* instead of evil-ish void*
Hop, envoyé avec madmutt en plus o/
(Oué faut que j'apprenne à me servir du truc pour envoyer les patches. :p)
--
Cyril Brulebois
From
da42d2d6850309997b209ffba4081da24463bb4f Mon Sep 17 00:00:00 2001
From: Cyril Brulebois <cyril.brulebois@enst-bretagne.fr>
Date: Wed, 7 Nov 2007 19:50:29 +0100
Subject: [PATCH] Fix dereferencing for the mutt_hcache_close calls. Use hcache_t* instead of evil-ish void*
Signed-off-by: Pierre Habouzit <madcoder@debian.org>
Pierre Habouzit [Sun, 23 Sep 2007 13:33:11 +0000 (15:33 +0200)]
Add proper dflags
Pierre Habouzit [Sun, 23 Sep 2007 12:24:56 +0000 (14:24 +0200)]
Import cmaked
Signed-off-by: Pierre Habouzit <madcoder@debian.org>
Pierre Habouzit [Mon, 27 Aug 2007 10:35:16 +0000 (12:35 +0200)]
Thanks Julien :)
aka debian bug #439775.
Signed-off-by: Pierre Habouzit <madcoder@debian.org>
Pierre Habouzit [Sat, 18 Aug 2007 16:52:20 +0000 (18:52 +0200)]
proper parameter
Signed-off-by: Pierre Habouzit <madcoder@debian.org>
Pierre Habouzit [Sat, 18 Aug 2007 16:38:37 +0000 (18:38 +0200)]
Better way to wrap pkg-config (IMNSHO)
Signed-off-by: Pierre Habouzit <madcoder@debian.org>
Pierre Habouzit [Thu, 16 Aug 2007 08:54:48 +0000 (10:54 +0200)]
Remove the time module alltogether.
Signed-off-by: Pierre Habouzit <madcoder@debian.org>
Pierre Habouzit [Thu, 16 Aug 2007 08:12:11 +0000 (10:12 +0200)]
get rid of Months.
Signed-off-by: Pierre Habouzit <madcoder@debian.org>
Pierre Habouzit [Thu, 16 Aug 2007 07:55:40 +0000 (09:55 +0200)]
Rewrite is_from efficiently, and put it in lib-mime where it belongs.
Signed-off-by: Pierre Habouzit <madcoder@debian.org>
Pierre Habouzit [Thu, 16 Aug 2007 07:18:11 +0000 (09:18 +0200)]
Also support missing seconds.
Signed-off-by: Pierre Habouzit <madcoder@debian.org>
Pierre Habouzit [Thu, 16 Aug 2007 00:03:48 +0000 (02:03 +0200)]
Use str[pf]time.
Signed-off-by: Pierre Habouzit <madcoder@debian.org>
Pierre Habouzit [Wed, 15 Aug 2007 22:59:29 +0000 (00:59 +0200)]
Hide useless public api
Signed-off-by: Pierre Habouzit <madcoder@debian.org>
Pierre Habouzit [Wed, 15 Aug 2007 22:56:52 +0000 (00:56 +0200)]
simplifications
Signed-off-by: Pierre Habouzit <madcoder@debian.org>
Pierre Habouzit [Wed, 15 Aug 2007 22:45:28 +0000 (00:45 +0200)]
fixes, cosmetics
Signed-off-by: Pierre Habouzit <madcoder@debian.org>
Pierre Habouzit [Wed, 15 Aug 2007 13:59:40 +0000 (15:59 +0200)]
Simplifications.
Signed-off-by: Pierre Habouzit <madcoder@debian.org>
Pierre Habouzit [Wed, 15 Aug 2007 12:04:32 +0000 (14:04 +0200)]
Missing return.
Signed-off-by: Pierre Habouzit <madcoder@debian.org>
Pierre Habouzit [Wed, 15 Aug 2007 12:03:31 +0000 (14:03 +0200)]
Use liblockfile, no need for dotlock anymore.
Signed-off-by: Pierre Habouzit <madcoder@debian.org>
Pierre Habouzit [Wed, 15 Aug 2007 10:26:59 +0000 (12:26 +0200)]
Simplification
Signed-off-by: Pierre Habouzit <madcoder@debian.org>
Pierre Habouzit [Wed, 15 Aug 2007 09:33:13 +0000 (11:33 +0200)]
Always resort, redraw, ... whatever when we change settings.
It's almost instantaneous, don't complicate the code for that.
Signed-off-by: Pierre Habouzit <madcoder@debian.org>
Pierre Habouzit [Wed, 15 Aug 2007 09:22:57 +0000 (11:22 +0200)]
wibble
Signed-off-by: Pierre Habouzit <madcoder@debian.org>
Pierre Habouzit [Wed, 15 Aug 2007 09:20:32 +0000 (11:20 +0200)]
wibble.
Signed-off-by: Pierre Habouzit <madcoder@debian.org>
Pierre Habouzit [Wed, 15 Aug 2007 09:00:57 +0000 (11:00 +0200)]
Even less options.
Signed-off-by: Pierre Habouzit <madcoder@debian.org>
Pierre Habouzit [Wed, 15 Aug 2007 08:33:08 +0000 (10:33 +0200)]
leftover
Signed-off-by: Pierre Habouzit <madcoder@debian.org>
Pierre Habouzit [Tue, 14 Aug 2007 22:16:21 +0000 (00:16 +0200)]
simplfications
Signed-off-by: Pierre Habouzit <madcoder@debian.org>
Pierre Habouzit [Tue, 14 Aug 2007 21:53:11 +0000 (23:53 +0200)]
Remove lots of useless stupid, and code greedy options.
Signed-off-by: Pierre Habouzit <madcoder@debian.org>
Julien Danjou [Mon, 13 Aug 2007 13:06:27 +0000 (15:06 +0200)]
Simplify account.c a little
* mutt_account_match(...)
+ remove login, never used (!)
+ use m_strisempty(...)
* mutt_account_getlogin(...)
+ rewrite condition in a simpler way
Pierre Habouzit [Tue, 14 Aug 2007 17:56:57 +0000 (19:56 +0200)]
Simplifications.
Signed-off-by: Pierre Habouzit <madcoder@debian.org>
Pierre Habouzit [Tue, 14 Aug 2007 09:54:21 +0000 (11:54 +0200)]
Disable many "stupid" CLI options or some that will have better equivalents soon (I hope).
Signed-off-by: Pierre Habouzit <madcoder@debian.org>
Pierre Habouzit [Mon, 13 Aug 2007 22:45:45 +0000 (00:45 +0200)]
Move the rest of mutt "things" into a window as well.
Only the input line remains in stdscr ... for now.
Signed-off-by: Pierre Habouzit <madcoder@debian.org>
Pierre Habouzit [Mon, 13 Aug 2007 14:11:55 +0000 (16:11 +0200)]
getmax[xy] do that, even if obsolete, I don't care, I'll use them.
Signed-off-by: Pierre Habouzit <madcoder@debian.org>
Pierre Habouzit [Mon, 13 Aug 2007 14:09:29 +0000 (16:09 +0200)]
Make layout windows visible, makes the whole thing way simpler.
Signed-off-by: Pierre Habouzit <madcoder@debian.org>
Pierre Habouzit [Mon, 13 Aug 2007 13:46:53 +0000 (15:46 +0200)]
Final simplifications of the sidebar module.
Signed-off-by: Pierre Habouzit <madcoder@debian.org>
Pierre Habouzit [Sun, 12 Aug 2007 08:34:19 +0000 (10:34 +0200)]
Fix sidebar to always show ^.
Also some minor fixes.
Signed-off-by: Pierre Habouzit <madcoder@debian.org>
Pierre Habouzit [Sun, 12 Aug 2007 00:01:36 +0000 (02:01 +0200)]
Cleanse po/* directory a bit
Signed-off-by: Pierre Habouzit <madcoder@debian.org>
Pierre Habouzit [Sat, 11 Aug 2007 23:41:18 +0000 (01:41 +0200)]
Now I know why : it causes flickering
Signed-off-by: Pierre Habouzit <madcoder@debian.org>
Pierre Habouzit [Sat, 11 Aug 2007 23:26:47 +0000 (01:26 +0200)]
Simplify the sidebar patch.
Still flaky when buffy changes IMHO.
Signed-off-by: Pierre Habouzit <madcoder@debian.org>
Pierre Habouzit [Sat, 11 Aug 2007 22:20:39 +0000 (00:20 +0200)]
Make the sidebar live in a proper independent window.
This is the first patch of many to come, cleansing the noodle horror the
UI code in mutt is (was ?).
Signed-off-by: Pierre Habouzit <madcoder@debian.org>
Pierre Habouzit [Sat, 11 Aug 2007 15:42:24 +0000 (17:42 +0200)]
Have a lib-ui/lib-ui.h
Signed-off-by: Pierre Habouzit <madcoder@debian.org>
Pierre Habouzit [Sat, 11 Aug 2007 14:25:49 +0000 (16:25 +0200)]
Move more things about stdscr in lib-ui.
Signed-off-by: Pierre Habouzit <madcoder@debian.org>
Pierre Habouzit [Sat, 11 Aug 2007 12:24:46 +0000 (14:24 +0200)]
useless blanking
Signed-off-by: Pierre Habouzit <madcoder@debian.org>
Pierre Habouzit [Sat, 11 Aug 2007 11:10:24 +0000 (13:10 +0200)]
Drop mixmaster support. I don't like people caring about being anonymous that much.
Signed-off-by: Pierre Habouzit <madcoder@debian.org>
Pierre Habouzit [Sat, 11 Aug 2007 10:37:05 +0000 (12:37 +0200)]
Do not use implicit ncurses functions, now we can grep for 'stdscr' to find them.
Signed-off-by: Pierre Habouzit <madcoder@debian.org>
Pierre Habouzit [Sat, 11 Aug 2007 10:10:07 +0000 (12:10 +0200)]
Let ncurses deal with that properly.
Signed-off-by: Pierre Habouzit <madcoder@debian.org>
Pierre Habouzit [Sat, 11 Aug 2007 09:56:28 +0000 (11:56 +0200)]
leftovers
Signed-off-by: Pierre Habouzit <madcoder@debian.org>
Pierre Habouzit [Sat, 11 Aug 2007 09:52:22 +0000 (11:52 +0200)]
Remove useless options and tests.
Signed-off-by: Pierre Habouzit <madcoder@debian.org>
Pierre Habouzit [Sat, 11 Aug 2007 09:45:49 +0000 (11:45 +0200)]
minor fixes
Signed-off-by: Pierre Habouzit <madcoder@debian.org>
Pierre Habouzit [Sat, 11 Aug 2007 09:32:03 +0000 (11:32 +0200)]
leftovers
Signed-off-by: Pierre Habouzit <madcoder@debian.org>
Pierre Habouzit [Sat, 11 Aug 2007 09:27:11 +0000 (11:27 +0200)]
Real men don't need the stupid silly help on top/bottom of the screen.
Let's free that space to put anything useful.
Signed-off-by: Pierre Habouzit <madcoder@debian.org>
Pierre Habouzit [Sat, 11 Aug 2007 08:08:48 +0000 (10:08 +0200)]
Use booleans, hide stupid private flag.
Signed-off-by: Pierre Habouzit <madcoder@debian.org>
Pierre Habouzit [Sat, 11 Aug 2007 07:52:30 +0000 (09:52 +0200)]
Remove support for antiquated ncurses libraries. Assume we have at least ncurses 5.x.
Signed-off-by: Pierre Habouzit <madcoder@debian.org>
Pierre Habouzit [Sat, 11 Aug 2007 07:36:24 +0000 (09:36 +0200)]
get rid of slang
Signed-off-by: Pierre Habouzit <madcoder@debian.org>
Pierre Habouzit [Sun, 10 Jun 2007 13:57:57 +0000 (15:57 +0200)]
We want to initialize shorthost before hostname.
Signed-off-by: Pierre Habouzit <madcoder@debian.org>
Pierre Habouzit [Mon, 28 May 2007 22:18:06 +0000 (00:18 +0200)]
many simplifications, cosmetics.
Signed-off-by: Pierre Habouzit <madcoder@debian.org>
Pierre Habouzit [Mon, 28 May 2007 20:08:59 +0000 (22:08 +0200)]
regressions
Signed-off-by: Pierre Habouzit <madcoder@debian.org>
Pierre Habouzit [Mon, 28 May 2007 17:27:26 +0000 (19:27 +0200)]
leftover
Signed-off-by: Pierre Habouzit <madcoder@debian.org>
Pierre Habouzit [Mon, 28 May 2007 17:23:14 +0000 (19:23 +0200)]
remove dead strings.
Signed-off-by: Pierre Habouzit <madcoder@debian.org>
Pierre Habouzit [Mon, 28 May 2007 17:15:34 +0000 (19:15 +0200)]
Update po files and build system wrt it.
Signed-off-by: Pierre Habouzit <madcoder@debian.org>
Pierre Habouzit [Mon, 28 May 2007 13:59:10 +0000 (15:59 +0200)]
simplifications.
Signed-off-by: Pierre Habouzit <madcoder@debian.org>
Pierre Habouzit [Mon, 28 May 2007 13:50:11 +0000 (15:50 +0200)]
const, style
Signed-off-by: Pierre Habouzit <madcoder@debian.org>
Pierre Habouzit [Mon, 28 May 2007 13:20:52 +0000 (15:20 +0200)]
style
Signed-off-by: Pierre Habouzit <madcoder@debian.org>
Pierre Habouzit [Mon, 28 May 2007 13:10:55 +0000 (15:10 +0200)]
don't resize the hash, 32k elements are way enough.
Signed-off-by: Pierre Habouzit <madcoder@debian.org>
Pierre Habouzit [Mon, 28 May 2007 12:00:22 +0000 (14:00 +0200)]
fix parsing issues in slurp_newsrc
Signed-off-by: Pierre Habouzit <madcoder@debian.org>
Pierre Habouzit [Mon, 28 May 2007 11:37:59 +0000 (13:37 +0200)]
remove option OPTSAVEUNSUB. This sucks, writing 2Mo of file is easy.
Also fix performance issue with tailing in newsgroup list.
Signed-off-by: Pierre Habouzit <madcoder@debian.org>
Pierre Habouzit [Mon, 28 May 2007 11:37:25 +0000 (13:37 +0200)]
completely stupid mistake.
Pierre Habouzit [Mon, 28 May 2007 10:57:09 +0000 (12:57 +0200)]
remove OPTNEWSCACHE, style.
Signed-off-by: Pierre Habouzit <madcoder@debian.org>
Pierre Habouzit [Mon, 28 May 2007 09:52:52 +0000 (11:52 +0200)]
Have a centralized cache directory.
No more header_cache and nntp_cache_dir and whatever else. Everything is
now in .cache/madmutt/.
Signed-off-by: Pierre Habouzit <madcoder@debian.org>
Pierre Habouzit [Mon, 28 May 2007 09:44:49 +0000 (11:44 +0200)]
Ignoble trick to allow us to override _init with a macro.
Will be changed in a (I hope) near future. Used in madmutt.cpkg
Signed-off-by: Pierre Habouzit <madcoder@debian.org>
Pierre Habouzit [Sun, 27 May 2007 21:20:48 +0000 (23:20 +0200)]
fixes and simplifications
Signed-off-by: Pierre Habouzit <madcoder@debian.org>
Pierre Habouzit [Sun, 27 May 2007 21:09:02 +0000 (23:09 +0200)]
Getting rid of useless settings.
Signed-off-by: Pierre Habouzit <madcoder@debian.org>
Pierre Habouzit [Sun, 27 May 2007 20:29:47 +0000 (22:29 +0200)]
style
Signed-off-by: Pierre Habouzit <madcoder@debian.org>
Pierre Habouzit [Sun, 27 May 2007 20:17:32 +0000 (22:17 +0200)]
simplify newsrc parsing
Signed-off-by: Pierre Habouzit <madcoder@debian.org>
Pierre Habouzit [Sun, 27 May 2007 20:10:48 +0000 (22:10 +0200)]
Small fixes.
Pierre Habouzit [Sun, 27 May 2007 17:08:04 +0000 (19:08 +0200)]
purge nonsensical code, and use buffers instead
Signed-off-by: Pierre Habouzit <madcoder@debian.org>
Pierre Habouzit [Sun, 27 May 2007 17:07:51 +0000 (19:07 +0200)]
add printf-like primitive to the buffers.
Signed-off-by: Pierre Habouzit <madcoder@debian.org>
Pierre Habouzit [Sun, 27 May 2007 12:00:50 +0000 (14:00 +0200)]
use nntp_data_new and stop hiding the group in the struct, useless win.
Signed-off-by: Pierre Habouzit <madcoder@debian.org>
Pierre Habouzit [Sun, 27 May 2007 11:52:20 +0000 (13:52 +0200)]
Useless cast.
Signed-off-by: Pierre Habouzit <madcoder@debian.org>
Pierre Habouzit [Sun, 27 May 2007 11:51:04 +0000 (13:51 +0200)]
Deep rework of nntp_data_t (ex-NNTP_DATA) to make it list-able.
Signed-off-by: Pierre Habouzit <madcoder@debian.org>
Pierre Habouzit [Sun, 27 May 2007 10:42:53 +0000 (12:42 +0200)]
simplifications
Signed-off-by: Pierre Habouzit <madcoder@debian.org>
Pierre Habouzit [Sun, 27 May 2007 10:31:22 +0000 (12:31 +0200)]
merge all nntp code in nntp.c and move it toplevel
Signed-off-by: Pierre Habouzit <madcoder@debian.org>
Pierre Habouzit [Sat, 26 May 2007 17:41:08 +0000 (19:41 +0200)]
tail is always a list_item**.
Because you don't need to special case the empty list *gee*.
Fix code using tail.
Signed-off-by: Pierre Habouzit <madcoder@debian.org>
Pierre Habouzit [Sat, 26 May 2007 17:28:23 +0000 (19:28 +0200)]
style
Signed-off-by: Pierre Habouzit <madcoder@debian.org>