summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAge
...
* Clarify the documentation for the new_tags configuration option.Carl Worth2010-04-23
| | | | | Specifically mentioning that it's a list separated by ';' and use "will" instead of "should".
* notmuch setup: Fix new configuration-file groups to get commentsCarl Worth2010-04-23
| | | | | | | | | | Our intent has always been that when new configuration-file settings are created by notmuch, that they get created with comments telling the user how to use them. But this was only working before when the entire configuration file was created. We fix this so that when a new group is added, (such as the recently- added [messages] section) that it gets its documentation.
* Sprinkle some const-correctness around new_tags.Carl Worth2010-04-23
| | | | To eliminate a compiler warning.
* notmuch-config: make new message tags configurableBen Gamari2010-04-23
| | | | | | Add a new_tags option in the [messages] section of the configuration file to allow the user to specify which tags should be added to new messages by notmuch new.
* python: Add UNSORTED as Query.SORT optionSebastian Spaeth2010-04-23
| | | | | | Keep up to date with the libnotmuch.so API. Signed-off-by: Sebastian Spaeth <Sebastian@SSpaeth.de>
* python: Delete unused filesSebastian Spaeth2010-04-23
| | | | | | | | No more .hg files needed in the git repo. No stock notmuch-test suite needed in a subdirectory. We have the real one in this repository Signed-off-by: Sebastian Spaeth <Sebastian@SSpaeth.de>
* test: Put the json tests into their own section.Carl Worth2010-04-22
| | | | | Not that the sections actually mean anything yet, but it makes for clean output.
* notmuch search: Fix timezone of timestamp in --format=json outputCarl Worth2010-04-22
| | | | | This is one of those cases that I move love. Deleting code fixes a bug, (test suite now passes again).
* First tests for JSON output and UTF-8 in mail body and subjectGregor Hoffleit2010-04-22
| | | | | | | | | | | | | | | | | | | | The test suite doesn't yet cover --format=json output nor UTF-8 in subject or body. This patch starts with test cases for 'search --format=json' and 'show --format=json'. Furthermore, it has test cases for a search for a UTF-8 string in a mail body for a UTF-8 string in a mail subject. Finally, it has a test case for --format=json with UTF-8 messages, demonstrating the fix in 1267697893-sup-4538@sam.mediasupervision.de. Reviewed-by: Carl Worth <cworth@cworth.org> Updated tests to current implementation of the test suite. These tests demonstrate a bug in the current implementation of "notmuch show --format=json", (timestamp output is changed depending on current timezone).
* test: Make existing "notmuch show" test more resilientCarl Worth2010-04-22
| | | | | | | If future updates to the test suite add more messages to the database before this "notmuch show" test, then the message-ID numbers in the expected output will all change. But we can at least compute the numbers so that this test will continue to pass.
* json: Replace `date_unix' with `timestamp' in show outputDavid Edmondson2010-04-22
| | | | | Search output was already using `timestamp' for a very similar field, so follow that.
* emacs: Add customize treatment and rename refresh-script to notmuch-poll-scriptCarl Worth2010-04-22
| | | | | | | | | With defcustom the user can easily find this variable (and its documentation) within "M-x customize-group" "notmuch" (though finding *that* is still tricky). The new name of notmuch-poll-script is also easier to remember, (for me at least).
* emacs: Use consistent naming for the two new poll functions.Carl Worth2010-04-22
| | | | | | Emacs scoping rules strongly encourage us to have fully-namespaced function names. A prefix like "notmuch-search" is a pretty ugly namespace name, but it's what we have for now.
* Add 'G' keybinding to folder and search view that triggers external pollDirk Hohndel2010-04-22
| | | | | | | | | | | | The new functions first check if an external poll script has been defined in the variable 'notmuch-external-refresh-script and if yes, runs that script before executing the existing refresh function (which is bound to '=') This can be used to have 'G' mimic the mutt behavior of polling an external mail server - or if the mail polling is already automatic, it can trigger the call to notmuch new and any necessary automatic tagging of new email. Signed-off-by: Dirk Hohndel <hohndel@infradead.org>
* Revert "thread: Simplify code for assigning the subject."Carl Worth2010-04-22
| | | | | | | This reverts commit 36e4459a328b8449b3e9d510be81a332a9b35aaa. With the two previous reverts, this fixes the recent message-sorting regression, so the test suite now passes again.
* Revert "thread: Fix sort of search when constructing threads."Carl Worth2010-04-22
| | | | This reverts commit f43990ce134d838cdb2cdd5d0752a602e81cfdd9.
* Revert "thread: Removed unsed sort argument from _thread_add_matched_message"Carl Worth2010-04-22
| | | | This reverts commit 7fb56f9dc5d8e66f717f5e48ecbfbc11c8190182.
* test: Add a test to demonstrate message-sorting regression.Carl Worth2010-04-22
| | | | | | | | | | | In the recent change to rename threads based on changing subject lines, I broke message ordering within "notmuch show" output. But our test suite didn't catch that regressions, because we didn't have any tests of "notmuch show". This adds one "notmuch show" test along with the thread-naming tests. It's not a whole suite of "notmuch show" testing, but it does catch this regression at least.
* test: When a test fails, show diff only (save complete output to a file)Carl Worth2010-04-22
| | | | | | | | We're starting to get test output that's fairly long, so it's much kinder to just show a diff rather than displaying the complete expected and actual output. To allow the user to investigate things after the fact, we save the expected and actual output to files named test-${test_number}.expected and test-${test_number}.output .
* test: Improve grammar in test-message subjects.Carl Worth2010-04-22
| | | | | Before codifying these in any expected test output, I'd like them to at least resemble English.
* Fix help message for "show"Jameson Rollins2010-04-21
| | | | | Help message for "show" mistakenly refers to '--output' instead of '--format'.
* Merge Sebastian Spaeth's python bindings into bindings/pythonCarl Worth2010-04-21
|\ | | | | | | | | | | | | | | | | | | | | | | | | Sebastian offered to maintain these bindings within the notmuch repository and offered them in the following repository: git://github.com/spaetz/python-notmuch.git These are the bindings formerly known as "cnotmuch" and now known simply as "notmuch" from within python. The bindings are not yet integrated into the build system and packaging of the primary ntomuch repository.
| * Move everything down into a bindings/python directory.Carl Worth2010-04-21
| | | | | | | | | | In preparation for merging the python bindings into the notmuch repository.
| * python: Adapt README somewhatSebastian Spaeth2010-04-19
| |
| * python: Rename notmuch binary to notmuch.pySebastian Spaeth2010-04-19
| | | | | | | | | | | | | | | | If we have it in the toplevel directory we can run it without having to install the library, which is great for testing purposes. --HG-- rename : docs/notmuch => notmuch.py
| * Remove all traces of cnotmuchSebastian Spaeth2010-04-19
| | | | | | | | import cnotmuch.notmuch is dead. Long live import notmuch!
| * python: adapt docs to the notmuch module renamingSebastian Spaeth2010-04-19
| |
| * rename module to just 'notmuch'Sebastian Spaeth2010-04-19
| | | | | | | | | | | | | | | | | | | | So you need to do e.g. 'from notmuch import Database' rather than the previous from cnotmuch.notmuch import Database. Alse recreate our fake python 'notmuch' binary in the docs directory for now --HG-- rename : notmuch/notmuch.py => notmuch/__init__.py
| * cnotmuch -> notmuchSebastian Spaeth2010-04-19
| | | | | | | | | | | | | | | | | | | | | | | | | | and GPL v3+ boilerplate code to each source file. --HG-- rename : cnotmuch/__init__.py => notmuch/__init__.py rename : cnotmuch/database.py => notmuch/database.py rename : cnotmuch/globals.py => notmuch/globals.py rename : cnotmuch/message.py => notmuch/message.py rename : cnotmuch/notmuch.py => notmuch/notmuch.py rename : cnotmuch/tag.py => notmuch/tag.py rename : cnotmuch/thread.py => notmuch/thread.py
| * cleanup style, hopefully no functional changes.acoolon2010-04-07
| |
| * Added tag v0.2.2 for changeset 0122a27667adSebastian Spaeth2010-04-07
| |
| * Extent pypi documentation. Set version to 0.2.2Sebastian Spaeth2010-04-07
| |
| * find_library does not read LD_LIBRARY_PATH, but CDLL does.Cedric Cabessa2010-04-05
| |
| * notmuch new implementationSebastian Spaeth2010-03-31
| | | | | | | | It can not add and remove messages. However, message moves are not detected and we do not modify or honor the Directory entries yet.
| * database(): Actually return a value on remove_message()Sebastian Spaeth2010-03-31
| |
| * notmuch: refactor stuff into a Notmuch classSebastian Spaeth2010-03-31
| | | | | | | | This commit contains many minor and bigger changes, such as the removal of the logging import too.
| * database.py: also need to import MessageSebastian Spaeth2010-03-30
| |
| * Ubuntu debian file creation documentationSebastian Spaeth2010-03-30
| |
| * Debian pkg creation stuffSebastian Spaeth2010-03-30
| |
| * message.py: Don't use ctypes.c_bool as that does not exist in python 2.5Sebastian Spaeth2010-03-30
| |
| * message.py: fix indentationJesse Rosenthal2010-03-30
| |
| * Need to do capitalization changes in dict keys from rev 45d2012fcf51 for all ↵Sebastian Spaeth2010-03-30
| | | | | | | | usages
| * message.py: small doc changes and unused code removalSebastian Spaeth2010-03-30
| |
| * Revert some unneeded white space changesSebastian Spaeth2010-03-30
| |
| * [REV2] adding part, simplifying Message.get_parts(), and fixing json to work ↵Jesse Rosenthal2010-03-30
| | | | | | | | | | | | | | | | | | | | | | | | with dme's json ui Sebastian: This replaces the patch it responds to. With this patch, we can now use the cnotmuch with David's json ui. There are still issues, but this allows interaction with emacs. ---
| * implement sort order for notmuch showJesse Rosenthal2010-03-28
| |
| * fix wrongly names variable format->out_formatSebastian Spaeth2010-03-25
| |
| * rename show_messages to print_messages and fix up the arg parsing for ↵Sebastian Spaeth2010-03-25
| | | | | | | | notmuch show a bit
| * Message(): add 'match' result in text output. Fix is_match to use class, not ↵Sebastian Spaeth2010-03-25
| | | | | | | | instance, attributes.
| * message.yp: add GPL v3 boilerplate and add Jesse as copyright holderSebastian Spaeth2010-03-25
| |