aboutsummaryrefslogtreecommitdiffhomepage
Commit message (Collapse)AuthorAge
* Set fill column to 70 in .dir-locals.el.Gravatar Austin Clements2012-01-13
| | | | | | This controls where comments and other text wraps. 70 is the default value, so this simply returns it to the default for people who have overridden it. Most notmuch code already adheres to this.
* Merge branch 'release'Gravatar David Bremner2012-01-13
|\ | | | | | | | | | | Conflicts: notmuch-reply.c notmuch.1
| * NEWS: set release date.Gravatar David Bremner2012-01-13
| | | | | | | | It's Friday the thirteenth. What could possibly go wrong?
| * debian: changelog stanza for 0.11Gravatar David Bremner2012-01-13
| |
| * Update version to 0.11Gravatar David Bremner2012-01-13
| |
* | emacs: Improve `notmuch-hello' display on ttys.Gravatar David Edmondson2012-01-12
| | | | | | | | | | | | | | | | Inserting spaces to pad out columns is good, except when the padding makes the line wider than the window. This looks particularly bad on a tty where there is no fringe. Hence, avoid padding the last column on each row.
* | lib: fix messages.c build warnGravatar Jani Nikula2012-01-10
| | | | | | | | | | | | | | lib/messages.c: In function ‘notmuch_messages_move_to_next’: lib/messages.c:131:2: warning: ISO C forbids ‘return’ with expression, in function returning void [-pedantic] Signed-off-by: Jani Nikula <jani@nikula.org>
* | man: add missing SEE ALSO header to notmuch reply man pageGravatar Jani Nikula2012-01-10
| | | | | | | | Signed-off-by: Jani Nikula <jani@nikula.org>
* | emacs: Mark the quoted region during reply.Gravatar David Edmondson2012-01-10
| | | | | | | | | | Mark the quoted region of text during a reply, making it easy for the user to delete it quickly.
* | emacs: Better handling of inherited keymaps for `nomuch-help'.Gravatar David Edmondson2012-01-09
| | | | | | | | | | | | | | | | `notmuch-hello-mode' inherits the keymap for widgets, which confused `notmuch-substitute-command-keys'. Fix the confusion. Simplify `notmuch-substitute-command-keys' a little to make it easier to read.
| * NEWS: add news entry for notmuch reply uninitialized variable bugfixGravatar Jani Nikula2012-01-09
| |
* | Merge branch 'master' of ssh://notmuchmail.org/git/notmuchGravatar Sebastian Spaeth2012-01-09
|\ \
| | * debian: add changelog stanza for 0.11~rc3-1Gravatar David Bremner2012-01-09
| | | | | | | | | | | | as usual for pre-releases, fairly minimal commentary.
| | * version: update to 0.11~rc3Gravatar David Bremner2012-01-09
| | | | | | | | | | | | We found another serious-ish bug during freeze.
| | * cli: fix use of uninitialized variable in "notmuch reply"Gravatar Jani Nikula2012-01-09
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | notmuch_show_params_t params is only initialized partially in notmuch_reply_command(). The only field that is used uninitialized is params.decrypt. It is usually non-zero, making "notmuch reply" on encrypted messages work by coincidence. Initialize params properly, and set params.decrypt as needed. Signed-off-by: Jani Nikula <jani@nikula.org>
| * | cli: convert "notmuch reply" to use the new argument parserGravatar Jani Nikula2012-01-09
| | | | | | | | | | | | | | | | | | | | | Use the new notmuch argument parser to handle arguments in "notmuch reply". There should be no functional changes. Signed-off-by: Jani Nikula <jani@nikula.org>
| * | cli: fix use of uninitialized variable in "notmuch reply"Gravatar Jani Nikula2012-01-09
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | notmuch_show_params_t params is only initialized partially in notmuch_reply_command(). The only field that is used uninitialized is params.decrypt. It is usually non-zero, making "notmuch reply" on encrypted messages work by coincidence. Initialize params properly, and set params.decrypt as needed. Signed-off-by: Jani Nikula <jani@nikula.org>
| * | emacs: Don't signal an error when reaching the end of the search results.Gravatar David Edmondson2012-01-09
| | | | | | | | | | | | | | | | | | | | | | | | | | | With the default configuration ('space' moves through the messages matching the search and back to the results index at the end) it's unnecessary to signal an error when the last message has been read, as this is the common case. Moreover, it's very annoying when `debug-on-error' is t.
* | | python test "compare message ids"Gravatar Patrick Totzke2012-01-08
| | | | | | | | | | | | | | | | | | Introduces a second (trivial) test for the python bindings that searches for message ids and compares the output with that of `notmuch search`.
* | | clean up "compare thread ids" python testGravatar Patrick Totzke2012-01-08
|/ / | | | | | | | | This makes the test script open the database in READ_ONLY mode and use the libraries own sorting methods instead of "sort".
| * Update NEWS for Emacs changesGravatar Thomas Jost2012-01-05
| | | | | | | | - A fair amount of conflict resolution by db.
| * NEWS: give a hint about using sort to achieve the old dump behavior.Gravatar David Bremner2012-01-05
| | | | | | | | | | This is needed for a few applications, and actually is quite fast (relative to the actual dump).
| * NEWS: fix typos.Gravatar David Bremner2012-01-05
| | | | | | | | Thanks to Xavier for one of these.
| * update NEWSGravatar Jameson Graef Rollins2012-01-05
| | | | | | | | | | | | This change looks slightly larger than it actually is, since I moved the emacs section below the Performance and Memory Management sections.
| * emacs: fix notmuch-show-indent-messages-width customization variable nameGravatar Jameson Graef Rollins2012-01-05
| | | | | | | | | | The name was originally notmuch-indent-messages-width, which is inconsistent with our variable naming convention.
* | python: str.decode() doesn't like kwargs in python 2.5Gravatar Sebastian Spaeth2012-01-02
| | | | | | | | | | | | | | | | | | Recent changes introduced lots of unicodification of strings, mostly in the form of .decode('utf-8', errors='ignore'). However, python 2.5 does not like the errors keyword argument and complains. It does work when used as a simple arg though, so that's what this patch does. Signed-off-by: Sebastian Spaeth <Sebastian@SSpaeth.de>
* | python: make the result of Message.get_replies() more pythonicGravatar Justus Winter2012-01-02
| | | | | | | | | | | | | | | | | | | | | | Formerly Message.get_replies() returned an iterator or None forcing users to check the result before iterating over it leading to strange looking code at the call site. Fix this flaw by adding an EmptyMessagesResult class that behaves like the Messages class but immediatly raises StopIteration if used as an iterator and returning objects of this type from Message.get_replies() to indicate that there are no replies.
* | python: refactor print_messages into format_messages and print_messagesGravatar Justus Winter2012-01-02
| |
* | python: add missing conversions from and to utf-8Gravatar Justus Winter2012-01-02
| |
* | py3k: Add and use a mixin class that implements __str__Gravatar Justus Winter2012-01-02
| | | | | | | | | | Amended by Sebastian Spaeth <Sebastian@SSpaeth.de> to include the required sys import in globals.py.
* | py3k: Rename .next() to __next__(), add python2.x compatibility aliasGravatar Justus Winter2012-01-02
| |
* | py3k: All strings are unicode strings in py3kGravatar Justus Winter2012-01-02
| |
* | py3k: The ConfigParser module has been renamed to configparserGravatar Justus Winter2012-01-02
| |
* | py3k: The execfile built-in has been removed in python 3Gravatar Justus Winter2012-01-02
| |
| * debian: changelog stanza for 0.11~rc2-1Gravatar David Bremner2012-01-02
| | | | | | | | Set dist=experimental the first time.
| * debian: fix typo in changelogGravatar David Bremner2012-01-02
| | | | | | | | Previous version was actually uploaded to experimental, not unstable
| * version: bump to 0.11~rc2Gravatar David Bremner2012-01-02
| | | | | | | | This to "celebrate" pushing a bugfix in at the last minute.
| * lib: call g_mime_init() from notmuch_database_open()Gravatar Kazuo Teramoto2012-01-02
| | | | | | | | | | | | | | | | | | | | | | | | As reported in id:"CAEbOPGyuHnz4BPtDutnTPUHcP3eYcRCRkXhYoJR43RUMw671+g@mail.gmail.com" sometimes gmime tries to access a NULL pointer, e.g. g_mime_iconv_open() tries to access iconv_cache that is NULL if g_mime_init() is not called. This causes notmuch to segfault when calling gmime functions. Calling g_mime_init() initializes iconv_cache and others variables needed by gmime, making sure they are initialized when notmuch calls gmime functions.
* | lib: call g_mime_init() from notmuch_database_open()Gravatar Kazuo Teramoto2011-12-31
| | | | | | | | | | | | | | | | | | | | | | | | | | | | As reported in id:"CAEbOPGyuHnz4BPtDutnTPUHcP3eYcRCRkXhYoJR43RUMw671+g@mail.gmail.com" sometimes gmime tries to access a NULL pointer, e.g. g_mime_iconv_open() tries to access iconv_cache that is NULL if g_mime_init() is not called. This causes notmuch to segfault when calling gmime functions. Calling g_mime_init() initializes iconv_cache and others variables needed by gmime, making sure they are initialized when notmuch calls gmime functions. Test marked fix by db.
* | test: add two new messages to corpus with iso-8859-1 encodingGravatar David Bremner2011-12-31
| | | | | | | | | | | | One is quoted printable, the other users 8 bit encoding. The latter triggers a bug in the python bindings due to missing call to g_mime_init. The corresponding test is marked broken in this commit.
* | test: use file based comparison for search '*' testGravatar David Bremner2011-12-31
| | | | | | | | | | This seems a bit easier to maintain, and is more accurate since lines are not joined together.
* | notmuch: replace built-in help with exec of manGravatar David Bremner2011-12-31
| | | | | | | | | | | | | | | | | | | | | | "notmuch help" now relies on a working man installation, and a correct setting of MANPATH, for users that install in "unusual" places. This should probably noted in NEWS before shipping. There is still some small duplication of docs as the one line summaries are hard coded in the binary. This seems preferable to complicated script games, at least as long was we are using a presentation level markup like nroff.
* | force install notmuch-setup.1 symlinkGravatar Jameson Graef Rollins2011-12-31
| | | | | | | | This will prevent the install from failing if the link already exists.
* | break up dump and restore man pages.Gravatar Jameson Graef Rollins2011-12-31
| | | | | | | | | | | | | | | | These functions are enough different in their behavior that it's not really worth it to combine them. They overlap in the format of the dump file, but we can have a separate page that describes the dump format, and either reference it or include it. This also keeps things nice and clean with one page per command.
* | remove reference to notmuch-part.1 from Makefile.localGravatar Jameson Graef Rollins2011-12-31
| |
* | debian: install split man pages.Gravatar David Bremner2011-12-31
| | | | | | | | | | We now have man pages in sections 5 and 7 as well, so we copy the whole /usr/share/man hierarchy.
* | build-system: update for split man pagesGravatar David Bremner2011-12-31
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - We have to remove the installation of notmuch.1.gz from the top level Makefile.local. - Man pages with multiple names are handled by making relative symlinks in the install-man target. - update version tests and convenience rules for split man pages The man page version test still only checks notmuch.1, but the location is updated. update-man-versions is longer than the one-line previously in update-versions mainly because I decided to take the high road and stick to POSIX sed (thus, no sed -i). The sed regex itself is more complicated to cope with variations in the headers.
* | man/*: fixup page referencesGravatar David Bremner2011-12-31
| | | | | | | | | | | | | | - Replace references to section X below with page refences. - Add SEE ALSO to each page. This is a bit error prone, because each SEE ALSO section is different, i.e. a page does not refer to itself.
* | notmuch-config.1: fix typoGravatar David Bremner2011-12-31
| |
* | notmuch.1: smooth wording.Gravatar David Bremner2011-12-31
| | | | | | | | | | After most of the content was ripped out of the page, a few words were needed to glue things back togetehr.