aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAge
...
| * cli: fix use of uninitialized variable in "notmuch reply"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>
| * Update NEWS for Emacs changesThomas Jost2012-01-05
| | | | | | | | - A fair amount of conflict resolution by db.
| * NEWS: give a hint about using sort to achieve the old dump behavior.David Bremner2012-01-05
| | | | | | | | | | This is needed for a few applications, and actually is quite fast (relative to the actual dump).
| * NEWS: fix typos.David Bremner2012-01-05
| | | | | | | | Thanks to Xavier for one of these.
| * update NEWSJameson 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 nameJameson Graef Rollins2012-01-05
| | | | | | | | | | The name was originally notmuch-indent-messages-width, which is inconsistent with our variable naming convention.
| * debian: changelog stanza for 0.11~rc2-1David Bremner2012-01-02
| | | | | | | | Set dist=experimental the first time.
| * debian: fix typo in changelogDavid Bremner2012-01-02
| | | | | | | | Previous version was actually uploaded to experimental, not unstable
| * version: bump to 0.11~rc2David Bremner2012-01-02
| | | | | | | | This to "celebrate" pushing a bugfix in at the last minute.
| * lib: call g_mime_init() from notmuch_database_open()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.
| * Update NEWS for change by Aaron EcayAaron Ecay2011-12-30
| | | | | | | | | | - text moved around within NEWS into existing Emacs section by committer
| * NEWS: add item for notmuch-deliverDavid Bremner2011-12-30
| | | | | | | | | | Ali mentioned he is very busy these days, so I just made something up rather than waiting for a NEWS item from him.
| * NEWS: two memory leaks fixes for 0.11Tomi Ollila2011-12-28
| |
| * NEWS: emacs: notmuch-poll-script and saved search news itemsJani Nikula2011-12-26
| |
| * version: update version to 0.11~rc1David Bremner2011-12-25
| | | | | | | | and keep python, man page, and debian package in sync.
* | emacs: Improve `notmuch-hello' display on ttys.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 warnJani 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 pageJani Nikula2012-01-10
| | | | | | | | Signed-off-by: Jani Nikula <jani@nikula.org>
* | emacs: Mark the quoted region during reply.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'.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.
* | Merge branch 'master' of ssh://notmuchmail.org/git/notmuchSebastian Spaeth2012-01-09
|\ \
| * | cli: convert "notmuch reply" to use the new argument parserJani 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"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.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"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 testPatrick 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".
* | python: str.decode() doesn't like kwargs in python 2.5Sebastian 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 pythonicJustus 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_messagesJustus Winter2012-01-02
| |
* | python: add missing conversions from and to utf-8Justus Winter2012-01-02
| |
* | py3k: Add and use a mixin class that implements __str__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 aliasJustus Winter2012-01-02
| |
* | py3k: All strings are unicode strings in py3kJustus Winter2012-01-02
| |
* | py3k: The ConfigParser module has been renamed to configparserJustus Winter2012-01-02
| |
* | py3k: The execfile built-in has been removed in python 3Justus Winter2012-01-02
| |
* | lib: call g_mime_init() from notmuch_database_open()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 encodingDavid 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 '*' testDavid 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 manDavid 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 symlinkJameson Graef Rollins2011-12-31
| | | | | | | | This will prevent the install from failing if the link already exists.
* | break up dump and restore man pages.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.localJameson Graef Rollins2011-12-31
| |
* | debian: install split man pages.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 pagesDavid 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 referencesDavid 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 typoDavid Bremner2011-12-31
| |
* | notmuch.1: smooth wording.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.
* | man/*: formatting cleanupDavid Bremner2011-12-31
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fix some problems with indentation (controlled by markup) and whitespace. - notmuch.1: reformat Use .SS macro to make "notmuch setup" a subsection. Introduce another subsection for the remaining commands. - notmuch-config.1: reformat Put all the syntax in the synopsis. Supposedly this is the the UNIX way. - notmuch-reply.1: fix formatting issues. Give nicer formatting for synopsis. Insert missing SEE ALSO header. - notmuch-dump.1: reformat using subsections These seems more natural, although, as mentioned, it does require referring back to the synopsis. Or maybe copying parts of the synopsis
* | man: add symlinks for notmuch-restore.1 and notmuch-setup.1David Bremner2011-12-31
| | | | | | | | | | | | These are just for the convenience of testers using $src/man as an element of MANPATH. They are intentionally omitted from MAN1, so that they do not interfere with the install.
* | remove notmuch-part from documentation.David Bremner2011-12-31
| | | | | | | | | | This should have been done when "notmuch part" was deprecated and replaced by notmuch show --part, but it slipped through the cracks.