Fix crash in python bindings.
- The python bindings did not call g_type_init, which caused crashes
- for some, but not all users.
+ The python bindings did not call g\_type\_init, which caused crashes
+ for some, but not all users.
Do not query on notmuch-search exit
- It is harmless to kill the external notmuch process, so the user
- is no longer interrogated when they interrupt a search.
+ It is harmless to kill the external notmuch process, so the user
+ is no longer interrogated when they interrupt a search.
Performance
-----------
nmbug - share tags with a given prefix
- nmbug helps maintain a git repo containing all tags with a given
- prefix (by default "notmuch::"). Tags can be shared by commiting
- them to git in one location and restoring in another.
+ nmbug helps maintain a git repo containing all tags with a given
+ prefix (by default "notmuch::"). Tags can be shared by commiting
+ them to git in one location and restoring in another.
New library feature
-------------------
-Provide a new NOTMUCH_SORT_UNSORTED value for queries
+Provide a new NOTMUCH\_SORT\_UNSORTED value for queries
This can be somewhat faster when sorting simply isn't desired. For
example when collecting a set of messages that will all be
New library features
--------------------
-Add notmuch_query_get_query_string and notmuch_query_get_sort
+Add notmuch\_query\_get\_query\_string and notmuch\_query\_get\_sort
These are simply functions for querying properties of a
- notmuch_query_t object.
+ notmuch\_query\_t object.
New emacs features
------------------
When this support works, the user should be able to run notmuch
immediately after "make install", without any errors trying to find
the notmuch library, and without having to manually set environment
- variables such as LD_LIBRARY_PATH.
+ variables such as LD\_LIBRARY\_PATH.
Check compiler/linker options before using them
GMime warning, (which would then trip up emacs or other interfaces
parsing the notmuch results).
-Fix notmuch_query_search_threads function to return NULL on any exception
+Fix notmuch\_query\_search\_threads function to return NULL on any exception
-Fix "notmuch search" to return non-zero if notmuch_query_search_threads fails
+Fix "notmuch search" to return non-zero if notmuch\_query\_search\_threads fails
Previously, this command could confusingly report a Xapian
exception, yet still return an error code of 0. It now correctly
---- -----
'D' draft
'F' flagged
- 'P' passed
- 'R' replied
- 'S' unread (added when 'S' flag is not present)
+ 'P' passed
+ 'R' replied
+ 'S' unread (added when 'S' flag is not present)
The synchronization occurs in both directions, (for example, adding
the 'S' flag to a file will cause the "unread" tag to be added, and
This synchronization is enabled by default for users of the
command-line interface, (though only files in directories named
"cur" or "new" will be renamed). It can be disabled by setting the
- new maildir.synchronize_flags option in the configuration file. For
+ new maildir.synchronize\_flags option in the configuration file. For
example:
notmuch config set maildir.synchronize_flags false
It is common for the mailstore to contain multiple files with the
same message ID. Previously, notmuch would always hide these
duplicate files, (returning a single, arbitrary filename with
- notmuch_message_get_filename).
+ notmuch\_message\_get\_filename).
With this release, library users can access all filenames for a
message with the new function:
notmuch_message_get_filenames
- Together with notmuch_filenames_valid, notmuch_filenames_get, and
- notmuch_filenames_move_to_next it is now possible to iterate over
+ Together with notmuch\_filenames\_valid, notmuch\_filenames\_get, and
+ notmuch\_filenames\_move\_to\_next it is now possible to iterate over
all available filenames for a given message.
New command-line features
-[[!meta data="2011-07-17"]]
+[[!meta date="2011-07-17"]]
Notmuch 0.6.1 (2011-07-17)
==========================
----------------
Re-export Xapian exception typeinfo symbols.
-
+
It turned out our aggressive symbol hiding caused problems for
people running gcc 4.4.5.
For example, one might use things such as:
folder:spam
- folder:2011-*
- folder:work/todo
+ folder:2011-*
+ folder:work/todo
to match any path containing a directory "spam", "work/todo", or
containing a directory starting with "2011-", respectively.
In notmuch-show mode, if a collapsed message has the same subject as
its parent, the subject is not shown.
-
+
Automatic detection and hiding of original message in top-posted message
When a message contains a line looking something like:
---------------------
Ruby bindings are now much more complete
- Including QUERY.sort, QUERY.to_s, MESSAGE.maildir_flags_to_tags,
- MESSAGE.tags_to_maildir_flags, and MESSAGE.get_filenames
+ Including QUERY.sort, QUERY.to\_s, MESSAGE.maildir\_flags\_to\_tags,
+ MESSAGE.tags\_to\_maildir\_flags, and MESSAGE.get\_filenames
-* Python bindings have been upodated and extended
+* Python bindings have been updated and extended
(docs online at http://packages.python.org/notmuch/)
New bindings:
- - Message().get_filenames(),
- - Message().tags_to_maildir_flags(),Message().maildir_flags_to_tags()
+ - Message().get\_filenames(),
+ - Message().tags\_to\_maildir\_flags(),Message().maildir\_flags\_to\_tags()
- list(Threads()) and list(Messages) works now
- - Message().__cmp__() and __hash__()
+ - Message().\_\_cmp\_\_() and \_\_hash\_\_()
These allow, for example:
- if msg1 == msg2: ...
+ if msg1 == msg2: ...
As well as set arithmetic on Messages():
- s1, s2= set(msgs1), set(msgs2)
+ s1, s2= set(msgs1), set(msgs2)
s1.union(s2)
s2 -= s1
- Removed:
- - len(Messages()) as it exausted the iterator.
+ Removed:
+ - len(Messages()) as it exhausted the iterator.
Use len(list(Messages())) or
Query.count_messages() to get the length.
Previously, some tests would fail to notice a difference in the
presence/absence of a trailing newline in a program output, (which
has led to bugs in the past). Now, carefully-written tests (using
- test_expect_equal_file rather than test_expect_equal) will detect
+ test\_expect\_equal\_file rather than test\_expect\_equal) will detect
any change in the presence/absence of a trailing newline. Many tests
are updated to take advantage of this.
from the Received headers in some cases.
Fix core dump on DragonFlyBSD due to -1 return value from
-sysconf(_SC_GETPW_R_SIZE_MAX).
+sysconf(\_SC\_GETPW\_R\_SIZE\_MAX).
Cleaned up several memory leaks
* message tags are now explicitly unicode
* query string is encoded as a UTF8 byte string
-Build-System improvments
+Build-System improvements
------------------------
Generate notmuch.sym after the relevant object files
headers, is unfortunately not yet supported (but hopefully will be
soon).
-Improved Build system portability
+Improved Build system portability
Certain parts of the shell script generating notmuch.sym were
specific to the GNU versions of sed and nm. The new version should
Unicode, iterator, PEP8 changes for python bindings
- PEP8 (code formatting) changes for python files.
- - Remove Tags.__len__ ; see 0.6 release notes for motivation.
+ - Remove Tags.\_\_len\_\_ ; see 0.6 release notes for motivation.
- Decode headers as UTF8, encode (unicode) database paths as UTF8.
-[[!meta date="2011-10-11"]]
+[[!meta date="2011-10-01"]]
Notmuch 0.9 (2011-10-01)
========================
---------------------
- Wrap new library functions notmuch\_database\_{begin,end}\_atomic.
- - Add new exception Notmuch::UnbalancedAtomicError.
+ - Add new exception Notmuch::UnbalancedAtomicError.
- Rename destroy to destroy! according to Ruby naming conventions.
- Update for n\_d\_find\_message* API changes (see above).