summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2012-06-02debian: changelog stanza for 0.13.2-1debian/0.13.2-10.13.2David Bremner
2012-06-02NEWS: update for 0.13.2David Bremner
2012-06-02version: update to 0.13.2David Bremner
2012-06-01notmuch-deliver: Update to new notmuch_database_open APIAustin Clements
Commit 5fddc07 changed this API, but missed this use of it.
2012-05-28NEWS: add item about ruby bindings.0.13.1David Bremner
Corrections or clarifications welcome.
2012-05-28Revert "ruby: Add workarounds to use in-tree build not the installed one"Felipe Contreras
This reverts commit 82b73ffd7380b85d259eeb91100dd6ac2d14223a. Only leave the copyright changes. Signed-off-by: Felipe Contreras <felipe.contreras@gmail.com> (cherry picked from commit 35cb1c95cc8afa964900d29c813349ad8e24e7a8)
2012-05-25debian: changelog stanza for 0.13.1David Bremner
2012-05-25version: bump to 0.13.1David Bremner
2012-05-25fix release date for 0.13.1David Bremner
2012-05-25NEWS for directory function fixesAustin Clements
2012-05-24NEWS: started 0.13.1 stanza: fix decoding of text/plain parts in replyTomi Ollila
NEWS item for forthcoming 0.13.1 bug fix release: UTF-8 characters were incorrectly decoded when inserting reply content from text/plain parts.
2012-05-23lib: Don't needlessly create directory docs in _notmuch_message_remove_filenameAustin Clements
Previously, if passed a filename with a directory that did not exist in the database, _notmuch_message_remove_filename would needlessly create that directory document. Fix it so that doesn't happen.
2012-05-23python: Remove find_message_by_filename workaroundAustin Clements
Now that notmuch_database_find_message_by_filename works on read-only databases, remove the workaround that disabled it on read-write databases. This also adds a regression test for find_message_by_filename.
2012-05-23lib: Make notmuch_database_find_message_by_filename not crash on read-only databasesAustin Clements
Previously, _notmuch_database_filename_to_direntry would abort with an internal error when called on a read-only database. Now that creating the directory document is optional, notmuch_database_find_message_by_filename can disable directory document creation (as it should) and, as a result, not abort on read-only databases.
2012-05-23python: Update Database.get_directory documentationAustin Clements
notmuch_database_get_directory no longer returns an error for read-only databases, so remove ReadOnlyDatabaseError from the list of get_directory exceptions.
2012-05-23new: Remove workaround for detecting newly created directory objectsAustin Clements
Previously, notmuch_database_get_directory did not indicate whether or not the returned directory object was newly created, which required a workaround to distinguish newly created directory objects with no child messages from directory objects that had no mtime set but did have child messages. Now that notmuch_database_get_directory distinguishes whether or not the directory object exists in the database, this workaround is no longer necessary.
2012-05-23lib: Make notmuch_database_get_directory return NULL if the directory is not foundAustin Clements
Using the new support from _notmuch_directory_create, this makes notmuch_database_get_directory a read-only operation that simply returns the directory object if it exists or NULL otherwise. This also means that notmuch_database_get_directory can work on read-only databases. This change breaks the directory mtime workaround in notmuch-new.c by fixing the exact issue it was working around. This permits mtime update races to prevent scans of changed directories, which non-deterministically breaks a few tests. The next patch fixes this.
2012-05-23lib: Perform the same transformation to _notmuch_database_filename_to_direntryAustin Clements
Now _notmuch_database_filename_to_direntry takes a flags argument and can indicate if the necessary directory documents do not exist. Again, callers have been updated, but retain their original behavior.
2012-05-23lib: Perform the same transformation to _notmuch_database_find_directory_idAustin Clements
Now _notmuch_database_find_directory_id takes a flags argument, which it passes through to _notmuch_directory_create and can indicate if the directory does not exist. Again, callers have been updated, but retain their original behavior.
2012-05-23lib: Make directory document creation optional for _notmuch_directory_createAustin Clements
Previously this function would create directory documents if they didn't exist. As a result, it could only be used on writable databases. This adds an argument to make creation optional and to make this function work on read-only databases. We use a flag argument to avoid a bare boolean and to permit future expansion. Both callers have been updated, but currently retain the old behavior. We'll take advantage of the new argument in the following patches.
2012-05-23emacs: use 'gnus-decoded in notmuch-mm-display-part-inline ()Tomi Ollila
When mail message is read from emacs, the message structure obtained may contain parts which have content included (`text/plain` for example) and other parts where content is not included (`text/html` for example). In case content is included, the string is already available in emacs' internal format and therefore mm-... functions should not attempt to do further decoding for the data in temp buffer provided for it. Currently when reply buffer is created, notmuch-mm-display-part-inline () is used to provided quoted reply content. This change makes the mm-... functions called by it use 'gnus-decoded as charset whenever the content is already available. File .../emacs-23.3/lisp/gnus/mm-uu.el mentions: "`gnus-decoded' is a fake charset, which means no further decoding."
2012-05-16debian: fix typo in changelog.David Bremner
the path for NEWS was wrong (cherry picked from commit b9520ef033ea9ae54507f94f7258641a6a1ad2e6)
2012-05-16NEWS: Capitalized go bindings changes titleTomi Ollila
Align 'Go bindings changes' title capitalization to rest of the file
2012-05-16NEWS: Insert markdown formatting commands in 0.13 section textTomi Ollila
NEWS entries in section 0.13 is brought consistent with rest of the NEWS file.
2012-05-16NEWS: Changed 0.13 release date in NEWS file to 2012-05-15Tomi Ollila
2012-05-16NEWS: Dropped old 'Reply to sender' sectionTomi Ollila
'Reply to sender' section was 0.12 news which was accidentally duplicated in 0.13 news
2012-05-15debian: changelog stanza for 0.130.13David Bremner
My usual lazy self, refer to upstream NEWS.
2012-05-15version: bump to 0.13David Bremner
2012-05-15add NEWS item about new emacs tagging interface.Jameson Graef Rollins
This is fairly important to mention, since it represents a user interface change.
2012-05-15debian: recommend notmuch-mutt as an alternative user interfaceStefano Zacchiroli
Recommend all notmuch UI (including notmuch-mutt) as alternatives, to avoid unneeded vim/emacs installation. Thanks Matteo F. Vescovi for the patch. Closes: #673011
2012-05-15news: Update for changes to notmuch_database_get_directoryAustin Clements
2012-05-15ruby: Update for changes to notmuch_database_get_directoryAustin Clements
2012-05-15python: Update for changes to notmuch_database_get_directoryAustin Clements
notmuch_database_get_directory now returns NOTMUCH_STATUS_READ_ONLY_DATABASE on its own (rather than crashing) so the workaround in Database.get_directory is no longer necessary.
2012-05-15go: Update for changes to notmuch_database_get_directoryAustin Clements
2012-05-15lib/cli: Make notmuch_database_get_directory return a status codeAustin Clements
Previously, notmuch_database_get_directory had no way to indicate how it had failed. This changes its prototype to return a status code and set an out-argument to the retrieved directory, like similar functions in the library API. This does *not* change its currently broken behavior of creating directory objects when they don't exist, but it does document it and paves the way for fixing this. Also, it can now check for a read-only database and return NOTMUCH_STATUS_READ_ONLY_DATABASE instead of crashing. In the interest of atomicity, this also updates calls from the CLI so that notmuch still compiles.
2012-05-12NEWS: add an entry for the go 1 compatibilityJustus Winter
Signed-off-by: Justus Winter <4winter@informatik.uni-hamburg.de>
2012-05-11go: format the souce code using gofmtJustus Winter
Signed-off-by: Justus Winter <4winter@informatik.uni-hamburg.de>
2012-05-11go: update the build systemJustus Winter
The new "go" utility does not require any Makefiles to compile go packages and programs. Remove the old Makefiles and replace the top level Makefile with one defining some convenience targets for compiling the notmuch bindings and the notmuch-addrlookup utility. Signed-off-by: Justus Winter <4winter@informatik.uni-hamburg.de>
2012-05-11go: update the addrlookup utility to go 1Justus Winter
Use the new built in error type that replaces os.Error, adapt the code to the fact that strings.Split has just two arguments now. Signed-off-by: Justus Winter <4winter@informatik.uni-hamburg.de>
2012-05-11go: set LDFLAGS to -lnotmuch in the packages source fileJustus Winter
Set the LDFLAGS to -lnotmuch so the resulting go package will be linked with libnotmuch. Signed-off-by: Justus Winter <4winter@informatik.uni-hamburg.de>
2012-05-11go: reorganize the go bindingsJustus Winter
go 1 introduced the "go" program that simplifies building of libraries and programs. This patch reorganizes the go code so it can be compiled using the new utility, it does not change any files. Signed-off-by: Justus Winter <4winter@informatik.uni-hamburg.de>
2012-05-11go: define the constant STATUS_UNBALANCED_ATOMICJustus Winter
Add the constant STATUS_UNBALANCED_ATOMIC to the list of notmuch status codes. Signed-off-by: Justus Winter <4winter@informatik.uni-hamburg.de>
2012-05-11go: fix the notmuch status constantsJustus Winter
Formerly all the constants were set to zero since in golang constants are set to the previous value if no new value is specified. Use the iota operator that is incremented after each use to fix this issue. Signed-off-by: Justus Winter <4winter@informatik.uni-hamburg.de>
2012-05-11go: update notmuch-addrlookup to the new APIJustus Winter
notmuch.OpenDatabase now returns a status indicating success or failure. Use this information to inform the user of any failures. Signed-off-by: Justus Winter <4winter@informatik.uni-hamburg.de>
2012-05-08debian: fix suitedebian/0.13_rc1-2David Bremner
Since I already pushed a tag 0.13_rc-1, let's just increment the debian version to keep everything tidy.
2012-05-08bump version to 0.13~rc1debian/0.13_rc1-10.13_rc1David Bremner
2012-05-08ruby: Add wrapper for notmuch_query_set_omit_excluded()Ali Polatel
2012-05-08ruby: Add workarounds to use in-tree build not the installed oneAli Polatel
- Make mkmf use the notmuch.h under ../../lib - Use libnotmuch.a instead of linking to the installed libnotmuch.so
2012-05-08ruby: Add wrapper for notmuch_query_add_tag_excludeAli Polatel
2012-05-08ruby: Add wrapper for notmuch_query_count_messagesAli Polatel