summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2017-06-01fixup! NEWS: news for 0.24.2debian/0.24.2-10.24.2David Bremner
2017-06-01debian: changelog for 0.24.2-1David Bremner
2017-06-01NEWS: news for 0.24.2David Bremner
2017-06-01version: bump to 0.24.2David Bremner
2017-06-01cli/dump: don't include tags when not asked forDavid Bremner
Add in the analogous test for tags that is given for properties a few lines below.
2017-06-01test: add known broken test --include=propertiesDavid Bremner
Reported in [1], --include=properties currently implies --include=tags, but it should not. [1] id:87y3u8vjbo.fsf@tethera.net
2017-05-13emacs: tree: bugfix: specify --format-versionMark Walters
Previously notmuch tree did not specify the format-version when calling notmuch. This meant that when the structured output was slightly changed (in commit 14c60cf168ac3b0f277188c16e6012b7ebdadde7) stash filename broke. This fixes this breakage by specifying the format-version.
2017-04-01NEWS: set release datedebian/0.24.1-10.24.1David Bremner
2017-04-01Merge branch 'debian' into releaseDavid Bremner
Merge in changelog stanza from debian upload targeted at stretch
2017-04-01debian: finalize changelog for 0.24.1-1David Bremner
2017-04-01NEWS: note dump header fixDavid Bremner
2017-04-01cli/dump: bump dump format version to 3David Bremner
No changes to the format of the body, but the header format was fixed, and version 2 headers probably shouldn't be relied on.
2017-04-01cli/dump: fix bug in dump headerDavid Bremner
Fix copy paste error.
2017-04-01test: add known broken test for dump headerDavid Bremner
Apparently nobody uses the list of "what was included in the dump"
2017-03-29NEWS: initial NEWS changes for 0.24.1David Bremner
Also add a missed note to the 0.24 release notes.
2017-03-29lib: handle empty string in regexp field processorsDavid Bremner
The non-field processor behaviour is is convert the corresponding queries into a search for the unprefixed terms. This yields pretty surprising results so I decided to generate a query that would match the terms (i.e. none with that prefix) generated for an empty header.
2017-03-29test: add known broken test for null from: and subject: queryDavid Bremner
These queries currently fail with field processors enabled because the code expects a non-empty string.
2017-03-25debian: start changelog for 0.24.1-1David Bremner
2017-03-25version: bump to 0.24.1David Bremner
The release is not yet finalized, but start the busywork needed.
2017-03-24lib: only trigger phrase processing for regexp fields when neededDavid Bremner
The argument is that if the string passed to the field processor has no spaces, then the added quotes won't have any benefit except for disabling wildcards. But disabling wildcards doesn't seem very useful in the normal Xapian query parser, since they're stripped before generating terms anyway. It does mean that the query 'from:"foo*"' will not be precisely equivalent to 'from:foo' as it is for the non field-processor version.
2017-03-24test: add known broken tests wildcard search in from and subjectDavid Bremner
This was broken by the addition of regexp searching. The detection of wildcards is not currently done in the recursive call to parse_query, because of quoting issues.
2017-03-19debian: changelog stanza for 0.23.7-2debian/0.23.7-2David Bremner
2017-03-19lib/message.cc: fix Coverity finding (use after free)Tomi Ollila
The object where pointer to `data` was received was deleted before it was used in _notmuch_string_list_append(). Relevant Coverity messages follow: 3: extract Assigning: data = std::__cxx11::string(message->doc.()).c_str(), which extracts wrapped state from temporary of type std::__cxx11::string. 4: dtor_free The internal representation of temporary of type std::__cxx11::string is freed by its destructor. 5: use after free: Wrapper object use after free (WRAPPER_ESCAPE) Using internal representation of destroyed object local data. (cherry picked from commit 06adc276682d1d5f73d78df2e898ad4191eb4499)
2017-03-18lib/message.cc: fix Coverity finding (use after free)Tomi Ollila
The object where pointer to `data` was received was deleted before it was used in _notmuch_string_list_append(). Relevant Coverity messages follow: 3: extract Assigning: data = std::__cxx11::string(message->doc.()).c_str(), which extracts wrapped state from temporary of type std::__cxx11::string. 4: dtor_free The internal representation of temporary of type std::__cxx11::string is freed by its destructor. 5: use after free: Wrapper object use after free (WRAPPER_ESCAPE) Using internal representation of destroyed object local data.
2017-03-18cli/show: unref crlf filter.David Bremner
Mimic the handling of the other filter g_objects. This cleans up a fair sized memory leak.
2017-03-18cli/show: fix usage of g_mime_content_type_to_stringDavid Bremner
It returns an "allocated string", which needs to be freed.
2017-03-18cli/show: fix some memory leaks in format_part_textDavid Bremner
Mimic Jeff Stedfast's changes to format_headers_sprinter, clean up use of internet_address_list_to_string and g_mime_message_get_date_as_string.
2017-03-18fix memory leaks in notmuch-show.c:format_headers_sprinter()Jeffrey Stedfast
Internet_address_list_to_string() and g_mime_message_get_date_as_string() return allocated string buffers and not const, so from what I can tell from taking a look at the sprinter-sexp.c’s sexp_string() function, the code leaks the recipients_string as well as the date string.
2017-03-12build: replace remaining uses of SHA1_FILE0.24David Bremner
oops. If only there was some editor facility that allowed replacing all instances of a string.
2017-03-12debian: changelog stanza for 0.24-1David Bremner
2017-03-12NEWS: set release dateDavid Bremner
2017-03-12version: bump to 0.24David Bremner
2017-03-08debian: changelog stanza for 0.24~rc1-1debian/0.24_rc1-10.24_rc1David Bremner
2017-03-08version: bump version to 0.24~rc1David Bremner
2017-03-07lib: Fix RegexpPostingSourceOlly Betts
Remove incorrect skipping to first match from init(), and add explicit skip_to() and check() methods to work around xapian-core bug (the check() method will also improve speed when filtering by one of these).
2017-03-07NEWS: notmuch-emacs-mua and desktop integrationJani Nikula
2017-03-07NEWS: external subcommand handlingJani Nikula
2017-03-07man: document external subcommand handling in notmuch(1)Jani Nikula
The documentation for this was overlooked when adding the subcommand handling. This seems like the proper place for it.
2017-03-07NEWS for emacsMark Walters
2017-03-05debian: add two new exception symbols.debian/0.24_rc0-10.24_rc0David Bremner
It seems these need to be exported from the library in order for exception handling to work.
2017-03-05NEWS: start NEWS for 0.24David Bremner
2017-03-05debian: start changelog stanza for 0.24~rc0-1David Bremner
2017-03-05version: bump to 0.24~rc0David Bremner
2017-03-04test: shrink T590-thread-breakage test decription to one lineJani Nikula
The test description is used for log output, I think the intention is to keep it as a one-liner. Leave the rest of the long description as a comment.
2017-03-04emacs: compat: backport fix for folding long headers when sendingMark Walters
This backports the fix from emacs master (commit 77bbca8c82f6e553c42abbfafca28f55fc995d00) to notmuch-emacs to wrap long headers. This fixes the test introduced in the previous changeset.
2017-03-04Test: emacs: test for folding long headers.Mark Walters
Headers of more than 998 characters should be folded when sending. However, until recently, emacs did not do this. This adds a (known broken) test for this when sending messages in emacs. We will backport the fix to notmuch-emacs in the next changeset.
2017-03-04lib: query make exclude handling non-destructiveDavid Bremner
We filter added exclude at add time, rather than modifying the query by count search. As noted in the comments, there are several ignored conditions here.
2017-03-04lib: centralize query parsing, store results.David Bremner
The main goal is to prepare the way for non-destructive (or at least less destructive) exclude tag handling. It does this by having a pre-parsed query available for further processing. This also allows us to provide slightly more precise error messages.
2017-03-04lib: use delete[] to free buffer allocated using new[]Jani Nikula
Fix warning caught by clang: lib/regexp-fields.cc:41:2: warning: 'delete' applied to a pointer that was allocated with 'new[]'; did you mean 'delete[]'? [-Wmismatched-new-delete] delete buffer; ^ [] lib/regexp-fields.cc:37:17: note: allocated with 'new[]' here char *buffer = new char[len]; ^
2017-03-03lib: add mid: as a synonym for id:David Bremner
mid: is the url scheme suggested by URL 2392. We also plan to introduce more flexible searches for mid: than are possible with id: (in order not to break assumptions about the special behaviour of id:, e.g. identifying at most one message).