Age | Commit message (Collapse) | Author |
|
Changeset 23334e967dd7 created a workaround for a namespace conflict
with Solaris and derivatives. After some discussion, the team decided
it would be best to move away from using the "M_" prefix for macros.
This patch was automatically generated by running:
perl -wpi -e 's/\bM_(\w+)\b/MUTT_$1/g' `find . -name '*.[ch]' -print`
with the exception that sys_socket.h was exempted. (That file will
be backed out subsequent to this commit.)
Thanks to Andras Salamon for supplying the perl script used to make
this change.
|
|
Change menu.c to use the mutt_window_t structures and functions. The
index/stats/help/message window pointers are stored inside the menu_t.
This is useful for the pager, where the "index" we want to use is a
mini-index.
|
|
Currently, the SSL and TLS certficate prompts turn on
OPTUNBUFFEREDINPUT, (to prevent macros and such from running right
through the dialog). Unfortunately, the menu dialog processing in
menu_dialog_dokey() is using mutt_ungetch() to forward non-dialog keys
on to standard menu processing. With OPTUNBUFFEREDINPUT set, those keys
never make it to the menu and are buffered until after the menu dialog.
This patch creates a new event buffer, separate from the standard
"unget" buffer, for use by macros, exec, and push events. These events
can be temporarily ignored by setting OPTIGNOREMACROEVENTS (renamed
from OPTUNBUFFEREDINPUT), while continuing to allow unget events to be
processed.
Since the "push" and "unget" functions now go to different buffers,
function names were slightly renamed, to make it less easy to
unintentionally use the wrong function at the wrong time.
|
|
The menu type is used in several places as a direct index into
Keymaps[], so passing in -1 to mutt_new_menu() was leading to illegal
memory accesses later on.
Add a range check in mutt_new_menu(), defaulting to MENU_GENERIC, to
prevent this problem in the future.
|
|
attrset() when we don't.
closes #3005
|
|
|
|
has the same decl.
|
|
when linking against ncursesw.
This patch is based on http://prefix.gentooexperimental.org:8000/mutt-patches/file/fea851a2808f/solaris-ncurses-chars.patch
|
|
The content of the regex_t structure is undefined in this case.
|
|
|
|
The pager had the fall-through to search, so for
consistency do that in other menues as well.
|
|
I went through the logs of each file with a copyright header and
updated the years for the authors in the headers for any non-comment
changes they introduced. What a pain!
|
|
Previously, the pattern was thrown away during menu destruction.
For the next search, mutt then can't provide a good suggestion.
The new behaviour is to manage the pattern outside the lifecyle
to always provide the last pattern as suggestion.
|
|
|
|
Also allow keepalives of less than $timeout without returning before
$timeout, so people who don't want to be notified of new mail don't
have to be.
|
|
Do keepalive in km_dokey instead of directly in menu. Closes #2747.
|
|
|
|
Now that multibyte padding works, we may too soon run into too short
buffers for common terminal widths in graphical terminals.
|
|
but gives precedence to the right side instead of to the left when the
fill length is zero. The default $pager_format is updated to use it so
that %P is always available at the edge of the screen.
|
|
|
|
|
|
- mutt_format_string was called under the assumption that this
function can operate in-place. Unfortunately, that assumption
only holds if replacement_char() returns a one-byte character.
|
|
Add checks to check_sec.sh for memory functions.
These include a check for use of safe_free() instead of FREE() and a
check whether FREE(&...) is used.
For the former, __SAFE_FREE_CHECKED__ is to be used, for the latter
__FREE_CHECKED__ to avoid messages from check_sec.sh
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Hinderer <Sebastien.Hinderer@libertysurf.fr>.
|
|
variable that hasn't made it into 1.5.8. The patch fixes
menu_prev_line and menu_next_line which didn't work with
menu_context > 0 and also makes <current-middle> work even if there
are less messages than screen lines (thanks to René Clerc and
Vincent Lefevre for spotting these issues).
|
|
that's not optional, but where mutt will just try to avoid moving
off the bottom. Complain to mutt-dev if you want this to be
optional.
|
|
Remove it from mutt.h
|
|
|
|
|
|
|
|
user interface. Changes include:
* When tagging and saving multiple attachments, you can now use the
same target directory for multiple attachments.
* When you can't save an attachment, you get an opportunity to enter
a new file name.
* The menu cursor will highlight the attachment that you are
currently discussing with mutt.
* Various bug fixes.
This does, in particular, address #1619 (Debian#208430).
|
|
|
|
conditional execution of parts of macros possible.
|
|
|
|
|
|
- you can now specify the octal code of a key in a bind or macro
function, using the syntax <NNN>. Eg, bind index <541>
show-version This allows you to bind to a function key for which
Mutt doesn't have a friendly name associated with it.
- adds a what-key function which allows you to press a key and have
mutt show you the decimal/octal value. (not bound to anything by
default)
|
|
|
|
BACKPORTED.)
|
|
|
|
|
|
|
|
threading code, version two.
|