summaryrefslogtreecommitdiffstats
path: root/complete.c
AgeCommit message (Collapse)Author
2019-09-19Convert mutt_complete() to use the buffer pool.Kevin McCarthy
Add helper functions mutt_buffer_substrcpy() and mutt_buffer_concatn_path(). Remove mutt_concatn_path() because mutt_complete() was the only caller.
2019-01-04Clean up code indentation.Kevin McCarthy
These are mostly automated changes corresponding to the emacs settings: (c-set-style "linux") (setq c-basic-offset 2) (c-set-offset 'case-label '+) Most of the code follows the convention: (add-to-list 'c-cleanup-list 'space-before-funcall) but this is not enforced by this indentation cleanup. Also, I personally dislike tabs, so I have: (setq-default indent-tabs-mode nil) in my own configuration. However I have no desire to change every line just for that effect. So this cleanup does nothing about the mix issue. Some of the secondary files (e.g. regex.c) have been skipped. I've also skipped crypt-gpgme.c, because I need to think about that file. Werner Koch and the GnuPG team contributed most it, and it follows the Gnu indentation settings. It should probably be made uniform with Mutt, but I don't want to discourage future GnuPG contribution to the file. I manually reverted a few unsightly cleanups, and added a few tweeks when I saw things that could be improved.
2018-12-31Remove trailing whitespace.Kevin McCarthy
The result of find . -name "*.[ch]" -exec emacs -batch {} \ --eval="(progn (delete-trailing-whitespace) (and (buffer-modified-p) (save-buffer)))" \;
2009-01-04Update copyrights. Closes #3016.Brendan Cully
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!
2007-04-07bug #2871Michael Elkins
Avoid altering the argument to mutt_complete() when completion fails. Previously, the trailing component of filename was removed each time the user pressed TAB.
2005-09-17Gah, forgot the zip code when updating the FSF address...Brendan Cully
2005-09-17Update FSF address (via sed, I hope nothing got mangled). Closes: #2071.Brendan Cully
2005-02-03Add config.h to the top of every C file that could possibly want it.Brendan Cully
Remove it from mutt.h
2002-12-11Herbert Martin Dietze <herbert@the-little-red-haired-girl.org> notesThomas Roessler
that mutt may currently build IMAP URLs like imap://exchange//herbert for FCCs. The fix in this patch is to include a function named mutt_concat_path which concatenates path elements, but avoids the creation of double slashes. (These don't create problems when you're just accessing the file system, but apparently thy do cause problems with IMAP.)
2002-12-11Fix Mike's and my e-mail addresses in copyright lines.Thomas Roessler
2001-11-07Fix 706, 853.Thomas Roessler
2001-10-24Suspected fix for #837.Thomas Roessler
2001-01-18Completion fix. From Aaron Schrab <aaron+mutt@schrab.com>.Thomas Roessler
2001-01-08Fix and/or check more fishy code.Thomas Roessler
2000-08-28Fix a buffer overrun in complete.c.Edmund GRIMLEY EVANS
2000-06-15patch-1.3.2.bbell.complete.1 - autocomplete "!", which is helpfulThomas Roessler
in certain IMAP contexts.
2000-03-03The FSF apparently has moved.Thomas Roessler
2000-01-06Update copyright notices for unstable.Thomas Roessler
1999-09-07* redoes the folder update optimisation I did yesterday. It's somewhatThomas Roessler
cleaner and less invasive, and I'm not so worried about memory leaks now. * Fixes the bug where mutt would append a '/' to $folder even if it was only {mailhost}, causing mutt to browse the root directory instead of the home directory. * includes a first stab at preserving the D flag on the IMAP server. Now if you answer no to 'Purge deleted', the server still stores the messages as deleted, but doesn't expunge them on exit. NOTE: this is a first attempt. Play around, but don't mark things as deleted that you'd be sorry to see disappear. (From: Brendan Cully <brendan@kublai.com>)
1999-07-29Brendan Cully's latest IMAP patches.Thomas Roessler
1999-07-20Bugs fixedThomas Roessler
* Mutt sometimes forgets that IMAP folders with new mail have new mail. * On some common IMAP servers, Mutt erroneously insists that the current folder has new mail. * Mutt constantly polls the server for new messages, disregarding the imap_checkinterval option. New features * tab-completion of IMAP folders. Not yet namespace aware, though it will work within an alternate namespace (eg won't complete #ft -> #ftp, but will complete #ftp/pu -> #ftp/pub). Some tweaking of the browser was necessary to get it to cooperate with completion. Some remains to be done. (From: From: Brendan Cully <brendan@kublai.com>)
1999-02-09Brandon's IMAP clean-up; new czech translation.Thomas Roessler
1999-01-07Get rid of RCS ids in source files. They are getting in our wayThomas Roessler
when merging changes.
1998-11-10Introduce or rewrite mutt_{str*cmp,strlen} and use them all over theThomas Roessler
place. If there are still segmentation faults due to missing NONULLs over, they are gone now.
1998-10-15Change "static char rcsid[]" to "static const char rcsid[]" to makemutt-0-94-13-relThomas Roessler
gcc shut up about this.
1998-10-13Add RCS $Id$ strings to (hopefully) all source files.Thomas Roessler
1998-06-08Initial revisionThomas Roessler