]> git.notmuchmail.org Git - notmuch/commitdiff
Merge branch 'release'
authorDavid Bremner <david@tethera.net>
Sat, 1 Apr 2017 12:36:34 +0000 (09:36 -0300)
committerDavid Bremner <david@tethera.net>
Sat, 1 Apr 2017 12:36:34 +0000 (09:36 -0300)
Final 0.24.1 release

NEWS
debian/changelog
doc/man1/notmuch-dump.rst
notmuch-client.h
notmuch-dump.c
test/T240-dump-restore.sh
test/T590-libconfig.sh

diff --git a/NEWS b/NEWS
index b51012181e3c0f34e2ae40036702d2647350a48d..a63e340ee18f0ac7d0c06fdc516d914cd70af0ce 100644 (file)
--- a/NEWS
+++ b/NEWS
@@ -1,4 +1,4 @@
-Notmuch 0.24.1 (UNRELEASED)
+Notmuch 0.24.1 (2017-04-01)
 ===========================
 
 General
@@ -17,6 +17,12 @@ Fix several memory leaks in `notmuch show`.
 
 Update NEWS for 0.24 to mention schema changes.
 
+Fix bug in dump header.
+
+  The previous version of the dump header failed to mention the
+  inclusion of tags. This fix bumps the version number of the dump
+  format to 3. There are no other changes to the format.
+
 Library Changes
 ---------------
 
index 9dc3b608e360fdcb8e69d1803dd411d95b81dbc3..478f450f7e3e9389b3eed9cf1c5420c83b9e4f3b 100644 (file)
@@ -1,8 +1,11 @@
-notmuch (0.24.1-1) UNRELEASED; urgency=medium
+notmuch (0.24.1-1) experimental; urgency=medium
 
   * Restore Xapian wildcard queries to from: and subject:
+  * Handle empty queries for from: and subject:
+  * Memory leaks in notmuch show fixed
+  * Fix bug notmuch dump header generation
 
- -- David Bremner <bremner@debian.org>  Sat, 25 Mar 2017 11:21:34 -0300
+ -- David Bremner <bremner@debian.org>  Sat, 01 Apr 2017 09:17:47 -0300
 
 notmuch (0.24-1) experimental; urgency=medium
 
@@ -33,6 +36,12 @@ notmuch (0.24~rc0-1) experimental; urgency=medium
 
  -- David Bremner <bremner@debian.org>  Sun, 05 Mar 2017 19:32:08 -0400
 
+notmuch (0.23.7-2) unstable; urgency=medium
+
+  * Cherry pick 06adc276, fix use after free in libnotmuch4
+
+ -- David Bremner <bremner@debian.org>  Sun, 19 Mar 2017 09:38:17 -0300
+
 notmuch (0.23.7-1) unstable; urgency=medium
 
   * Move test suite $GNUPGHOME to /tmp to avoid problems with long build paths.
index ca048aebf01f99ddb0e3815f9c2a0693fdc69cee..f3f2b3942fafd82bcd842a067be93f71c205ff63 100644 (file)
@@ -95,7 +95,7 @@ Supported options for **dump** include
 
       The default is to include all available types of data.  The
       option can be specified multiple times to select some subset. As
-      of version 2 of the dump format, there is a header line of the
+      of version 3 of the dump format, there is a header line of the
       following form
 
       |
index 7a674873d5985b122a6ee99cf1f2861e6faac4a2..a6f70eae5907743a6995f4828de357b6824beca9 100644 (file)
@@ -469,7 +469,7 @@ typedef enum dump_includes {
 
 #define DUMP_INCLUDE_DEFAULT (DUMP_INCLUDE_TAGS | DUMP_INCLUDE_CONFIG | DUMP_INCLUDE_PROPERTIES)
 
-#define NOTMUCH_DUMP_VERSION 2
+#define NOTMUCH_DUMP_VERSION 3
 
 int
 notmuch_database_dump (notmuch_database_t *notmuch,
index 0cbcdc16695c3686ff6d1058da913be336a8ad63..e451ac0c8e89448819184e2480b83db222ac93d6 100644 (file)
@@ -84,7 +84,7 @@ print_dump_header (gzFile output, int output_format, int include)
        sep = ",";
     }
     if (include & DUMP_INCLUDE_TAGS) {
-       gzprintf (output, "%sproperties", sep);
+       gzprintf (output, "%stags", sep);
     }
     gzputs (output, "\n");
 }
index f626a19e4b1ad931f475645984656e25dbdc0f9b..1f1f08667ada652ec57ebe3d293dd3ff402d4fce 100755 (executable)
@@ -4,9 +4,8 @@ test_description="\"notmuch dump\" and \"notmuch restore\""
 
 NOTMUCH_NEW > /dev/null
 test_begin_subtest "dump header"
-test_subtest_known_broken
 cat <<EOF > EXPECTED
-#notmuch-dump batch-tag:2 config,properties,tags
+#notmuch-dump batch-tag:3 config,properties,tags
 EOF
 notmuch dump > OUTPUT
 test_expect_equal_file EXPECTED OUTPUT
index e8c078d56965bca424945783398e52a1b79e5a16..1b308693c527cf026f1fa5005e93f20f54588813 100755 (executable)
@@ -112,7 +112,7 @@ cat c_head - c_tail <<'EOF' | test_C ${MAIL_DIR}
 EOF
 notmuch dump --include=config >OUTPUT
 cat <<'EOF' >EXPECTED
-#notmuch-dump batch-tag:2 config
+#notmuch-dump batch-tag:3 config
 #@ aaabefore beforeval
 #@ key%20with%20spaces value,%20with,%20spaces%21
 #@ testkey1 testvalue1