mirror of
https://git.notmuchmail.org/git/notmuch
synced 2024-11-21 18:38:08 +01:00
Merge branch 'release'
Changes from 0.28.3
This commit is contained in:
commit
71eaa19350
7 changed files with 69 additions and 3 deletions
14
NEWS
14
NEWS
|
@ -7,6 +7,20 @@ Command Line Interface
|
|||
`notmuch show` now supports --body=false and --include-html with
|
||||
--format=text
|
||||
|
||||
Notmuch 0.28.3 (2019-03-05)
|
||||
===========================
|
||||
|
||||
Library
|
||||
-------
|
||||
|
||||
Fix a bug with the internal data structure _notmuch_string_map_t used
|
||||
by message properties.
|
||||
|
||||
Build System
|
||||
------------
|
||||
|
||||
Serialize calls to sphinx-build to avoid race condition.
|
||||
`
|
||||
Notmuch 0.28.2 (2019-02-17)
|
||||
===========================
|
||||
|
||||
|
|
|
@ -1,3 +1,3 @@
|
|||
# this file should be kept in sync with ../../../version
|
||||
__VERSION__ = '0.28.2'
|
||||
__VERSION__ = '0.28.3'
|
||||
SOVERSION = '5'
|
||||
|
|
9
debian/changelog
vendored
9
debian/changelog
vendored
|
@ -1,3 +1,12 @@
|
|||
notmuch (0.28.3-1) unstable; urgency=medium
|
||||
|
||||
* New upstream bugfix release.
|
||||
* Fix for bug in message property search
|
||||
* Fix for race condition leading to (very) occasional build failures
|
||||
when building the documentation.
|
||||
|
||||
-- David Bremner <bremner@debian.org> Tue, 05 Mar 2019 15:39:09 -0400
|
||||
|
||||
notmuch (0.28.2-1) unstable; urgency=medium
|
||||
|
||||
* [notmuch-emacs] Invoke gpg from with --batch and --no-tty
|
||||
|
|
|
@ -41,6 +41,14 @@ ifeq ($(WITH_EMACS),1)
|
|||
$(DOCBUILDDIR)/.roff.stamp sphinx-html sphinx-texinfo: docstring.stamp
|
||||
endif
|
||||
|
||||
# Sequentialize the calls to sphinx-build to avoid races with
|
||||
# reading/writing cached state. This uses GNU make specific
|
||||
# "order-only" prerequisites.
|
||||
|
||||
sphinx-html: | $(DOCBUILDDIR)/.roff.stamp
|
||||
sphinx-texinfo: | sphinx-html
|
||||
sphinx-info: | sphinx-texinfo
|
||||
|
||||
sphinx-html:
|
||||
$(SPHINXBUILD) -b html $(ALLSPHINXOPTS) $(DOCBUILDDIR)/html
|
||||
|
||||
|
|
|
@ -106,7 +106,7 @@ _notmuch_string_map_sort (notmuch_string_map_t *map)
|
|||
map->sorted = true;
|
||||
}
|
||||
|
||||
static bool
|
||||
static int
|
||||
string_cmp (const char *a, const char *b, bool exact)
|
||||
{
|
||||
if (exact)
|
||||
|
|
|
@ -100,6 +100,41 @@ cat <<'EOF' >EXPECTED
|
|||
EOF
|
||||
test_expect_equal_file EXPECTED OUTPUT
|
||||
|
||||
test_begin_subtest "testing string map binary search (via message properties)"
|
||||
cat c_head - c_tail <<'EOF' | test_C ${MAIL_DIR}
|
||||
{
|
||||
char *keys[] = {"a", "b", "c", "d", "e", NULL};
|
||||
for (int i=0; keys[i]; i++)
|
||||
EXPECT0(notmuch_message_add_property (message, keys[i], keys[i]));
|
||||
|
||||
for (int i=0; keys[i]; i++) {
|
||||
EXPECT0(notmuch_message_get_property (message, keys[i], &val));
|
||||
printf("%s = %s\n", keys[i], val);
|
||||
}
|
||||
|
||||
for (int i=0; keys[i]; i++) {
|
||||
EXPECT0(notmuch_message_remove_property (message, keys[i], keys[i]));
|
||||
EXPECT0(notmuch_message_get_property (message, keys[i], &val));
|
||||
printf("%s = %s\n", keys[i], val == NULL ? "NULL" : val);
|
||||
}
|
||||
}
|
||||
EOF
|
||||
cat <<EOF > EXPECTED
|
||||
== stdout ==
|
||||
a = a
|
||||
b = b
|
||||
c = c
|
||||
d = d
|
||||
e = e
|
||||
a = NULL
|
||||
b = NULL
|
||||
c = NULL
|
||||
d = NULL
|
||||
e = NULL
|
||||
== stderr ==
|
||||
EOF
|
||||
test_expect_equal_file EXPECTED OUTPUT
|
||||
|
||||
test_begin_subtest "notmuch_message_get_properties: empty list"
|
||||
cat c_head - c_tail <<'EOF' | test_C ${MAIL_DIR}
|
||||
{
|
||||
|
|
2
version
2
version
|
@ -1 +1 @@
|
|||
0.28.2
|
||||
0.28.3
|
||||
|
|
Loading…
Reference in a new issue