]>
granicus.if.org Git - neomutt/log
Karel Zak [Thu, 12 Apr 2012 09:02:28 +0000 (11:02 +0200)]
cleanup private notmuch structs initialization
Signed-off-by: Karel Zak <kzak@redhat.com>
Luke Macken [Tue, 10 Apr 2012 15:25:31 +0000 (11:25 -0400)]
fix a bug with processing mailboxes when they are all virtual.
This bug occurs when there are only virtual mailboxes defined. Prior to this
change, the sidebar descriptions of the virtual mailboxes would be displayed as
the notmuch query itself, as opposed to the user-defined description.
Karel Zak [Tue, 10 Apr 2012 09:07:08 +0000 (11:07 +0200)]
add note about notmuch version requirement
Signed-off-by: Karel Zak <kzak@redhat.com>
Jeremiah C. Foster [Sat, 7 Apr 2012 09:24:54 +0000 (12:24 +0300)]
Grammar and typo fixes.
David Sterba [Mon, 2 Apr 2012 21:28:18 +0000 (23:28 +0200)]
build-sys: fix compilation without --enable-notmuch
We can still leave mutt-kz compilable entirely without notmuch, just for the
case there are users out there not interested in notmuch enhancements, but I
seriously doubt that :)
Here's the patch which compiles fine without --enable-notmuch
[kzak@redhat.com: - fix s/Incomming/Incoming/ typo]
Signed-off-by: Karel Zak <kzak@redhat.com>
Jan Synacek [Thu, 29 Mar 2012 08:59:23 +0000 (10:59 +0200)]
fix segfault when exiting with 'x' key
Karel Zak [Wed, 14 Mar 2012 14:31:30 +0000 (15:31 +0100)]
docs: add note about sidebar to notmuch docs
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Wed, 14 Mar 2012 14:19:43 +0000 (15:19 +0100)]
add support for virtual folders, add sidebar-toggle command
* add support for virtual folders
* add sidebar-toggle function to toggle between virtual and normal
folders in sudebar
* virtual folders are used by default if 'virtual_spoolfile' is 'yes'
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Mon, 27 Feb 2012 14:41:29 +0000 (15:41 +0100)]
add ML to README
Signed-off-by: Karel Zak <kzak@redhat.com>
Víctor Manuel Jáquez Leal [Sun, 26 Feb 2012 14:41:29 +0000 (15:41 +0100)]
fix compilation error at get_nm_message()
The shown error is:
mutt_notmuch.c: In function ‘get_nm_message’:
mutt_notmuch.c:643:2: error: too few arguments to function ‘notmuch_database_find_message’
/usr/include/notmuch.h:371:1: note: declared here
make[2]: *** [mutt_notmuch.o] Error 1
The mutt-ks is made for notmuch version 0.8, but in version 0.9 the API
changed, in particular with this commit:
http://git.notmuchmail.org/git/notmuch/commitdiff/
02a30767116ad8abcbd0a3351f2e4d43bbbd655f
This patch updates the function notmuch_database_find_message() usage.
Signed-off-by: Víctor Manuel Jáquez Leal <vjaquez@igalia.com>
Karel Zak [Tue, 3 Jan 2012 11:36:44 +0000 (12:36 +0100)]
improve nm_unread_tag setting
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Tue, 3 Jan 2012 11:31:42 +0000 (12:31 +0100)]
improve virtual_mailboxes command, update docs
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Tue, 3 Jan 2012 10:51:15 +0000 (11:51 +0100)]
update README
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Tue, 3 Jan 2012 10:29:21 +0000 (11:29 +0100)]
add debug messages
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Mon, 2 Jan 2012 11:34:32 +0000 (12:34 +0100)]
support default db uri
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Fri, 23 Dec 2011 15:39:11 +0000 (16:39 +0100)]
implement nm_check_database()
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Sat, 17 Dec 2011 00:10:12 +0000 (01:10 +0100)]
small refactoring
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Thu, 15 Dec 2011 22:51:53 +0000 (23:51 +0100)]
add virtual spoolfile
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Thu, 15 Dec 2011 22:21:55 +0000 (23:21 +0100)]
properly update context numbers
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Thu, 15 Dec 2011 21:58:35 +0000 (22:58 +0100)]
print vfolder description on status bar
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Thu, 15 Dec 2011 20:59:54 +0000 (21:59 +0100)]
add <modify-labels-then-hide>
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Thu, 15 Dec 2011 16:58:18 +0000 (17:58 +0100)]
header: add HEADER->free_cb() to free driver specific data
The mutt_free_header() need to care about driver specific data.
BTW, it seems that there is a leak in imap code -- it does not free
HEADER->data->keywords list.
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Thu, 15 Dec 2011 16:57:37 +0000 (17:57 +0100)]
update README
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Thu, 15 Dec 2011 16:02:06 +0000 (17:02 +0100)]
fix CONTEXT->data->db usage
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Thu, 15 Dec 2011 00:20:26 +0000 (01:20 +0100)]
update README.notmuch
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Thu, 15 Dec 2011 00:14:03 +0000 (01:14 +0100)]
add modify-label
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Wed, 14 Dec 2011 15:48:40 +0000 (16:48 +0100)]
change-vfolder, print folder info, etc.
- allow to open email in virtual folder
- allow to open virtual folder
- print vfolder specific stuff in index and pager
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Wed, 14 Dec 2011 15:43:07 +0000 (16:43 +0100)]
add support to browser
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Wed, 14 Dec 2011 15:37:19 +0000 (16:37 +0100)]
add notmuch calls to mx_* API
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Wed, 14 Dec 2011 15:34:26 +0000 (16:34 +0100)]
don't modify virtual folders' paths
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Wed, 14 Dec 2011 15:30:43 +0000 (16:30 +0100)]
add basic functions
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Wed, 14 Dec 2011 13:46:42 +0000 (14:46 +0100)]
add basic .muttrc variables
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Wed, 14 Dec 2011 13:26:45 +0000 (14:26 +0100)]
add context magic
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Wed, 14 Dec 2011 13:07:58 +0000 (14:07 +0100)]
consolidate msg sync code
- add mh_sync_mailbox_message() to sync just one message
- add msg->commited_path to save info about the final message path
(will be used keep notmuch DB up to date)
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Wed, 14 Dec 2011 12:40:26 +0000 (13:40 +0100)]
add notmuch::// uri
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Wed, 14 Dec 2011 12:16:44 +0000 (13:16 +0100)]
add 'virtual-mailboxes' parser
Signed-off-by: Karel Zak <kzak@redhat.com>
Richard Russon [Thu, 25 Feb 2016 14:58:11 +0000 (14:58 +0000)]
add some vfolder functions
Karel Zak [Wed, 14 Dec 2011 10:58:47 +0000 (11:58 +0100)]
add basic files and build-sys stuff
Signed-off-by: Karel Zak <kzak@redhat.com>
Richard Russon [Mon, 4 Apr 2016 15:24:59 +0000 (16:24 +0100)]
merge: sidebar - overview of mailboxes
* sidebar 1.5.24-
20151111
* bugfix: missing includes
* bugfix: compose mode
* bugfix: delim null wide
* bugfix: fixed header wrapping
* feature: new only
* feature: prev/next wraparound
* feature: whitelist
* feature: working utf8
* feature: dotpathsep
* feature: refresh
* indent: our functions
* indent: sync to surroundings
* fix: drop unused
* fix: drop DrawFullLine
* tidy: sidebar
* tidy: our functions
* tidy: other code
* sort: sidebar functions
* tidy: rename functions
* tidy: add comments
* build: conditional compilation
* fix brain-damaged function: mh_buffy_update
* fix refresh -- time overflowed short
* feature: add function sidebar-toggle-visible
* drop old sort
* rename: msgcount to msg_count to match other sidebar variables
* rename: vars
* add: BUFFY sorting
* add: colours for divider and highlights
* refactor: split out initialise
* add: BUFFY notifications
* refactor: visibility check
* distinguish between what's highlighted and what's actually open
* revamp sorting
* split up sb_draw
* expandos for deleted, limited, tagged
* feature: separate sidebar indicator colour
* feature: separate colour for spoolfile
* rename: lots of config for consistency with mutt
* handle unmailboxes * safely
* split out sidebar wipe
* refresh sidebar after timeout
* add docs
* add ident to PATCHES
Richard Russon [Mon, 4 Apr 2016 15:24:47 +0000 (16:24 +0100)]
merge: tls-sni - negotiate for a certificate
* feature: TLS SNI
* tidy code
* add docs
* add ident to PATCHES
Richard Russon [Mon, 4 Apr 2016 15:24:41 +0000 (16:24 +0100)]
merge: cond-date - use rules to choose date format
* feature: conditional dates
* change date comparisons
* tidy code
* add docs
* add ident to PATCHES
Richard Russon [Mon, 4 Apr 2016 15:24:33 +0000 (16:24 +0100)]
merge: nested-if - allow deeply nested conditions
* feature: nested-if
* use nested angle brackets
* tidy code
* add docs
* add ident to PATCHES
Richard Russon [Mon, 4 Apr 2016 15:24:05 +0000 (16:24 +0100)]
merge: index-color - theme the email index
* feature: index-color
* add handling index flags
* fix width calculation
* fix uncolor
* tidy code
* add docs
* add ident to PATCHES
Richard Russon [Mon, 4 Apr 2016 15:23:32 +0000 (16:23 +0100)]
merge: status-color - theming the status bar
* feature: status-color
* tidy code
* add docs
* add ident to PATCHES
Richard Russon [Mon, 4 Apr 2016 15:23:25 +0000 (16:23 +0100)]
merge: progress - show a visual progress bar
* feature: progress bar
* tidy code
* add docs
* add ident to PATCHES
* add missing authors
Richard Russon [Mon, 4 Apr 2016 15:16:48 +0000 (16:16 +0100)]
merge: quasi-delete - mark emails to be hidden
* feature: quasi-delete
* tidy code
* add docs
* add ident to PATCHES
Richard Russon [Mon, 4 Apr 2016 15:16:38 +0000 (16:16 +0100)]
merge: bug-fixes - various downstream bug fixes
* add strndup.c strnlen.c
* More careful file writing for aliases and attachments
* Bye srandom() and random()
* Remove TLS version notification
* Use unlocked libc IO everywhere.
* Add browser sort by description, message count and new message count
* debian: hurd build fix
* quieten two compiler warnings
Richard Russon [Fri, 18 Mar 2016 22:38:18 +0000 (22:38 +0000)]
quieten two compiler warnings
Richard Russon [Sat, 19 Mar 2016 15:12:21 +0000 (15:12 +0000)]
debian: hurd build fix
Hurd is missing a definition for PATH_MAX.
Richard Russon [Thu, 18 Feb 2016 16:52:53 +0000 (16:52 +0000)]
add ident to PATCHES
Richard Russon [Tue, 29 Dec 2015 15:16:26 +0000 (15:16 +0000)]
add docs
Stefan Assmann [Wed, 30 Oct 2013 18:34:57 +0000 (11:34 -0700)]
refresh sidebar after timeout
Allow the sidebar to automatically refresh after the amount of time
specified via the "timeout" variable.
Signed-off-by: Stefan Assmann <sassmann@kpanic.de>
Richard Russon [Mon, 8 Feb 2016 16:30:36 +0000 (16:30 +0000)]
split out sidebar wipe
Richard Russon [Mon, 8 Feb 2016 02:02:13 +0000 (02:02 +0000)]
handle unmailboxes * safely
Richard Russon [Fri, 18 Dec 2015 15:47:37 +0000 (15:47 +0000)]
rename: lots of config for consistency with mutt
Richard Russon [Thu, 31 Dec 2015 15:42:25 +0000 (15:42 +0000)]
feature: separate colour for spoolfile
don't highlight spoolfile if not coloured
Richard Russon [Thu, 31 Dec 2015 15:24:40 +0000 (15:24 +0000)]
feature: separate sidebar indicator colour
default MT_COLOR_SB_INDICATOR to MT_COLOR_INDICATOR
Richard Russon [Thu, 31 Dec 2015 03:04:42 +0000 (03:04 +0000)]
expandos for deleted, limited, tagged
Richard Russon [Sat, 19 Dec 2015 18:40:19 +0000 (18:40 +0000)]
split up sb_draw
Richard Russon [Fri, 18 Dec 2015 18:40:19 +0000 (18:40 +0000)]
revamp sorting
Richard Russon [Fri, 18 Dec 2015 18:40:19 +0000 (18:40 +0000)]
distinguish between what's highlighted and what's actually open
Richard Russon [Fri, 18 Dec 2015 17:40:50 +0000 (17:40 +0000)]
refactor: visibility check
Richard Russon [Fri, 18 Dec 2015 17:34:17 +0000 (17:34 +0000)]
add: BUFFY notifications
Richard Russon [Fri, 18 Dec 2015 17:18:09 +0000 (17:18 +0000)]
refactor: split out initialise
Richard Russon [Fri, 18 Dec 2015 16:35:14 +0000 (16:35 +0000)]
add: colours for divider and highlights
Richard Russon [Fri, 18 Dec 2015 16:32:12 +0000 (16:32 +0000)]
add: BUFFY sorting
Richard Russon [Fri, 19 Feb 2016 04:21:10 +0000 (04:21 +0000)]
rename: vars
Richard Russon [Fri, 18 Dec 2015 15:33:03 +0000 (15:33 +0000)]
rename: msgcount to msg_count to match other sidebar variables
Richard Russon [Fri, 18 Dec 2015 15:14:14 +0000 (15:14 +0000)]
drop old sort
Richard Russon [Wed, 9 Dec 2015 04:20:01 +0000 (04:20 +0000)]
feature: add function sidebar-toggle-visible
Richard Russon [Thu, 10 Dec 2015 16:58:40 +0000 (16:58 +0000)]
fix refresh -- time overflowed short
rename SidebarLastRefresh to LastRefresh as it's only used in sidebar.c
Richard Russon [Wed, 2 Dec 2015 02:11:03 +0000 (02:11 +0000)]
fix brain-damaged function: mh_buffy_update
Since 1.5.19, mh_buffy_update hasn't worked. It updated the values
of pointers rather than the destinations of the pointers.
Richard Russon [Wed, 2 Dec 2015 03:58:44 +0000 (03:58 +0000)]
build: conditional compilation
Make sidebar compilation conditional on a configure option.
Add --enable-sidebar option to configure
Alter Makefile to honour configure
Move our OPS into OPS.sidebar
Surround all our code with #ifdef USE_SIDEBAR
By using the unifdef program, all the sidebar code can be removed.
The result is code that differs only slightly from the original mutt
code. Run this on each source file:
unifdef -Bm -UUSE_SIDEBAR -UHAVE_FMEMOPEN <FILE>
Then run sed using this script:
s/ *- *SidebarWidth//g
s/ *+ *SidebarWidth//g
s/SidebarWidth *+ *//g
s/SidebarWidth/0/g
Compared to the original mutt code, there are some minor changes,
such as whitespace, and minor refactoring of variables.
Note: One sidebar global variable is left-behind: SidebarWidth.
This is deeply embedded in the mutt code. This is because mutt
hard-codes a lot of values: 0's for the left-hand side of the
screen and COLS representing the width of the screen.
Richard Russon [Wed, 2 Dec 2015 03:58:15 +0000 (03:58 +0000)]
tidy: add comments
NOTE: this patch does NOT make any code changes.
It simply adds comment blocks.
Fully document all the sidebar config options.
Add comment-blocks describing each function -- what it does, the
parameters it takes, the return values. These can be used by
doxygen.
Richard Russon [Fri, 19 Feb 2016 04:32:06 +0000 (04:32 +0000)]
tidy: rename functions
Richard Russon [Mon, 30 Nov 2015 14:37:10 +0000 (14:37 +0000)]
sort: sidebar functions
NOTE: this patch does NOT make any code changes.
It simply rearranges entire functions.
Reorder the functions in sidebar.c
Put the static (helper) functions together.
Richard Russon [Wed, 2 Dec 2015 02:23:51 +0000 (02:23 +0000)]
tidy: other code
Tidy up our code in mutt functions
Minor refactoring of code
Initialise variables
Check pointers before use
Bracket complicated logic
Richard Russon [Wed, 2 Dec 2015 02:21:12 +0000 (02:21 +0000)]
tidy: our functions
Tidy up code in our complete functions
Minor refactoring of code
Initialise variables
Check pointers before use
Bracket complicated logic
Richard Russon [Wed, 2 Dec 2015 03:03:49 +0000 (03:03 +0000)]
tidy: sidebar
Tidy up code in sidebar.c
Minor refactoring of code
Initialise variables
Check pointers before use
Bracket complicated logic
Add {} to unbalanced, or ambiguous, if's
Align = signs
Split up illegible uses of ternary operator ? :
Split up: if ((x = y()) == NULL)
Remove perl-like one-line if's
Compare pointers to NULL
Move our private data struct (sidebar_entry) from protos.h
Richard Russon [Mon, 30 Nov 2015 16:37:36 +0000 (16:37 +0000)]
fix: drop DrawFullLine
Drop global variable DrawFullLine
sidebar used a global variable in order to occasionally draw a
complete line of text on the screen. By manipulating the
SidebarWidth, we can produce the same effect.
Removing this variable also removes the need for nearly 50 lines of
duplicated code in mutt_FormatString.
Richard Russon [Tue, 1 Dec 2015 04:14:25 +0000 (04:14 +0000)]
fix: drop unused
NOTE: this patch does NOT make any functional changes.
remove unused parameters from:
draw_sidebar
scroll_sidebar
calc_boundaries
draw_sidebar has a return value that isn't used
struct MBOX_LIST isn't used
remove some unneeded #include's
remove defunct #ifdef BUFFY_SIZE
remove junk comments
Richard Russon [Tue, 1 Dec 2015 03:23:52 +0000 (03:23 +0000)]
indent: sync to surroundings
NOTE: this patch does NOT make any code changes.
If only adds/removes whitespace.
Tidy our code in mutt functions as best we can.
Importantly, match up the indent to the surrounding code.
Delete trailing whitespace
{} in compact style
Tidy whitespace around ()'s and maths operators
Richard Russon [Mon, 30 Nov 2015 04:25:05 +0000 (04:25 +0000)]
indent: our functions
NOTE: this patch does NOT make any code changes.
If only adds/removes whitespace.
Use whitespace uniformly across all of our code.
Delete trailing whitespace
Indent with tabs
Function {} to beginning of line
Other {} in compact style
Tidy whitespace around ()'s and maths operators
David Sterba [Fri, 27 Nov 2015 21:56:00 +0000 (21:56 +0000)]
feature: refresh
Add new config: "sidebar_refresh"
Configure the minimum time between sidebar refreshes to reduce
network traffic.
Fabian Groffen [Thu, 26 Nov 2015 16:49:27 +0000 (16:49 +0000)]
feature: dotpathsep
Add new config: "sidebar_delim_chars"
Allow the user to configure how folder names are parsed into a
hierarchy.
Richard Russon [Tue, 24 Nov 2015 16:27:20 +0000 (16:27 +0000)]
feature: working utf8
Correctly handle utf8 character sequences.
Fix the distinction, in the code, between buffer length in bytes,
string length in wide-chars and screen width in cells.
Jason DeTiberus [Thu, 19 Nov 2015 19:55:54 +0000 (19:55 +0000)]
feature: whitelist
Add new config: "sidebar_whitelist"
When displaying only-new mailboxes, force some mailboxes to be
always displayed
Richard Russon [Thu, 19 Nov 2015 18:30:24 +0000 (18:30 +0000)]
feature: prev/next wraparound
Add new config: "sidebar_next_new_wrap"
When searching for next-new/prev-new mailbox, wrap around if the end
is reached.
Steve Kemp [Thu, 19 Nov 2015 18:29:49 +0000 (18:29 +0000)]
feature: new only
Add new config: "sidebar_newmail_only"
Only display mailboxes containing new mail.
Add two new functions and keyboard mappings.
"sidebar-next-new" / "sidebar-prev-new" select the next/previous
mailbox that contains new, or flagged, mail.
Tyler Earnest [Fri, 27 Nov 2015 20:58:02 +0000 (20:58 +0000)]
bugfix: fixed header wrapping
Fix bug with header wrapping
Evgeni Golov [Thu, 19 Nov 2015 20:20:36 +0000 (20:20 +0000)]
bugfix: delim null wide
Fix bug with empty sidebar_delim string.
Debian bugs: #696145, #663883
Evgeni Golov [Thu, 19 Nov 2015 18:36:48 +0000 (18:36 +0000)]
bugfix: compose mode
Fix bug when starting in compose mode.
Debian bug: #502627
Richard Russon [Thu, 26 Nov 2015 17:09:42 +0000 (17:09 +0000)]
bugfix: missing includes
Add two missing #include's.
Terry Chan [Mon, 16 Nov 2015 20:39:28 +0000 (20:39 +0000)]
sidebar 1.5.24-
20151111
Official Mutt-Sidebar patch against mutt-1.5.24
http://www.lunar-linux.org/mutt-sidebar/
http://lunar-linux.org/~tchan/mutt/patch-1.5.24.sidebar.
20151111 .txt
Richard Russon [Wed, 17 Feb 2016 04:30:18 +0000 (04:30 +0000)]
add ident to PATCHES
Richard Russon [Wed, 3 Feb 2016 17:33:27 +0000 (17:33 +0000)]
add docs
Richard Russon [Wed, 17 Feb 2016 20:07:41 +0000 (20:07 +0000)]
tidy code
Phil Pennock [Sat, 30 Jan 2016 16:22:13 +0000 (16:22 +0000)]
feature: TLS SNI
Negotiate with a server for a TSL/SSL certificate
Richard Russon [Wed, 17 Feb 2016 04:30:17 +0000 (04:30 +0000)]
add ident to PATCHES
Richard Russon [Wed, 3 Feb 2016 17:33:27 +0000 (17:33 +0000)]
add docs