Commit graph

4602 commits

Author SHA1 Message Date
David Bremner
7d81d70042 Merge in a few Debian commits. 2014-05-09 06:38:42 +09:00
David Bremner
f6b54fbcf6 debian: disable atomicity tests on armel.
Another temporary fix for build problems.
2014-05-08 14:28:13 +09:00
David Bremner
8e82a41c90 debian: disable atomicity tests on armhf
In fact a fix for these tests is currently being reviewed, but I want
to roll it together with a few other portability fixes for a point
release.
2014-05-08 08:29:15 +09:00
David Bremner
8ecc7db3f8 notmuch 0.18 release
-----BEGIN PGP SIGNATURE-----
 Version: GnuPG v1
 
 iQGcBAABCAAGBQJTaJJ/AAoJEPIClx2kp54sl/oL/AqNwjwpLNOgGXgvy1kq4YBi
 OT1Bc+Yd6YqHX+scmH0vUikq9H4eIau3U5ZxynjfwnqjUk/pJC6pMdPifl9N+h4q
 UA5rytRr9Kf3WhoWZ7HEdXssmJtbCYtOdDZ5UeTrEiAVc1LvtOE4XU2ufo3HoC4x
 yEHYYihlZO/at98wxZ3YgQZgnx0U8q2eIYvC/NBexf+HJi1wviNiQBu2MNR+X12k
 7L2HNMMKuYRTLzwsWEcw+HjEQfXtX0GiN4H6K5et9s2sXHD5YUyD4GrPQyX8ORaf
 jn3BT+mqiBjs3zTXa+k2iqtoW7n+1dyNbETjcR3WNDs6PHqFEEY0Tr6DkpeDI9ak
 d67He2kmnxgPJ61S7d6gwsg4fRqmLbcq/LmsT7OG3sI+XVUNk3zBTQ5QV1z7VBQq
 hTsd/6a81Sd3B8ZUFm/qgiXgTWucZbUw/mXNw0uDGn6+qE2h0virf3WkRlfKjmry
 UMZhUG/AjEuSD9Th6JwECgYMj07kB7AXG6Pc00bLLg==
 =l2pk
 -----END PGP SIGNATURE-----

Merge tag '0.18'

notmuch 0.18 release
2014-05-06 17:14:26 +09:00
David Bremner
877533ade5 debian: changelog stanza for 0.18
plagiariaze my own summary from upstream NEWS
2014-05-06 16:27:29 +09:00
David Bremner
b661b87801 version: bump to 0.18
debian changelog to be done seperately.
2014-05-06 16:24:17 +09:00
Jani Nikula
ecef282a16 emacs: allow functions in notmuch-show-stash-mlarchive-link-alist
Some archives may use a more complicated scheme for referring to
messages than just concatenated url and message-id. In particular,
patchwork requires a query to translate message-id to a patchwork
patch id. Allow functions in notmuch-show-stash-mlarchive-link-alist
to facilitate this.

For example, one could use something like this for patchwork.

(lambda (message-id)
  (concat
   "http://patchwork.example.com/patch/"
   (nth 0
	(split-string
	 (car (last (process-lines "pwclient" "search" "-n" "1"
				   "-m" (concat "<" message-id ">"))))))))
2014-05-04 14:16:24 +09:00
David Bremner
21cb851a22 notmuch 0.18~rc1 release
-----BEGIN PGP SIGNATURE-----
 Version: GnuPG v1
 
 iQGcBAABCAAGBQJTZXg2AAoJEPIClx2kp54shMEL/jimQji1GYwhBMfQKldBkl52
 FVbxOS4YiOc6zOcz7n8wjkjnHPEvTS/Q6mrZQTjJxtGDYkzaY27JKczXWB/ueqCJ
 /G9kEiXRbkVBLp2AQH7zHnKWRvqAQsaw9o+jyjzmW1UbJXX7dmZNmMQkWyN3bzy6
 taCDiKPxNTlwePRJUbC6O51GC6m7fZOQHSvrmrqFZiNdeT1Gs7g/Adj8Mho6x9A+
 q98Jtftk30Cyx0hXQKNXcJyTukdvVi69HZcmP+Rr9rCRZ4/L7WRbkX+iFQhvOm19
 c6ldgiwBV6+3DW4sNDHcpwZm5ZFh4I+0xUZ/r8V9F8f4yaY0SzMYtvA2xeIqXSG6
 FwkmPSGoW8A8cF8YqKkHOEZrM4ybd2XGvkDkibUncaAeAHQp4DCVG6etLG9kEtzr
 I4yqGhYTIjmjTuLXDOLEZ2mbhgayS5oAEnVqghapTNDYzzOK8h9Gr3Jvq6Kb2ckQ
 /VnEAOOvSv4bomil4NdgXaPrLZrTiq8lS6/pe2DZEg==
 =0A2e
 -----END PGP SIGNATURE-----

Merge tag '0.18_rc1'

notmuch 0.18~rc1 release
2014-05-04 08:32:05 +09:00
David Bremner
5535453495 build: use UPSTREAM_TAG and not VERSION to generate tarball
The latter can have "~" in it, which is not legal for a git tag.
2014-05-04 08:11:35 +09:00
David Bremner
2983a85eed doc/doxygen.cfg: bump version to 0.18 2014-05-04 07:38:21 +09:00
David Bremner
1f2bb88e92 version: bump for 0.18~rc1
Doing all of the needed version bumps in one commit, and do a
complete, if minimal debian changelog entry
2014-05-04 07:34:00 +09:00
Felipe Contreras
cc8c213bbc vim: improve the way messages are sent
We want the proper encoding and content-type to be set when sending the
mail, but human-readable plain-text for composing. So split the code in
two parts: the presentation and the transport conversion.

This fixes an issue while sending non-ascii mails to strict servers; the
mail needs to be encoded.

Signed-off-by: Felipe Contreras <felipe.contreras@gmail.com>
2014-05-03 06:00:22 +09:00
Paul Roberts
468deca60c vim: make the html handler configurable
Signed-off-by: Felipe Contreras <felipe.contreras@gmail.com>
2014-05-03 05:59:58 +09:00
Felipe Contreras
2fee62fd1f vim: fix count_threads variable check
It never really worked; in Ruby only 'nil' and 'false' evaluate to
false, therefore the statement '0 : true ? false' returns true, so it
doesn't matter if notmuch_folders_count_threads = 0, count_threads would
be true.

We need to check specifically if the value is 1 or 0.

Signed-off-by: Felipe Contreras <felipe.contreras@gmail.com>
2014-05-03 05:59:38 +09:00
Jani Nikula
26b5836be3 doc: add *.pyc to doc/.gitignore 2014-05-03 05:49:34 +09:00
Jani Nikula
17234aecc3 test: add have-man and have-compact in test/.gitignore
Sort the file while at it.
2014-05-03 05:49:13 +09:00
Jani Nikula
697d6b5a47 NEWS: make it explicit that wildcard matching is no longer supported
Wildcard matching was a feature of the probabilistic prefix, and we no
longer have it for the boolean prefix. Also note that top-level folder
can now be searched.
2014-05-03 05:33:09 +09:00
Jani Nikula
02fabf31df NEWS: insert and new refuse invalid tags 2014-05-02 07:28:43 +09:00
Jani Nikula
c070bee7ea NEWS: message piping working directory 2014-05-02 07:28:12 +09:00
Jani Nikula
292a052cab NEWS: emacs: push mark before signature on reply 2014-05-02 07:27:00 +09:00
Jani Nikula
d8bf03710e NEWS: cli exit status codes 2014-05-02 07:25:24 +09:00
Jani Nikula
e0c7e49307 NEWS: notmuch insert respects maildir.synchronize_flags 2014-05-02 07:19:50 +09:00
David Bremner
708299ac53 NEWS: add overview section for 0.18
This mentions the things I (subjectively) thought were most likely to
either annoy people or make it worth upgrading.
2014-05-01 14:37:54 +09:00
Jani Nikula
e925d88b1b NEWS: message header parser changes 2014-04-28 11:02:28 +09:00
Jani Nikula
1156aa9bd9 NEWS: mbox files are no longer supported 2014-04-28 11:01:59 +09:00
Jani Nikula
8ea4eef298 NEWS: folder:, path:, and database upgrade
Related news together.
2014-04-28 11:01:46 +09:00
Jani Nikula
3ff5f2f430 NEWS: replies to encrypted messages encrypted by default 2014-04-28 11:01:10 +09:00
Tomi Ollila
f7e13246b4 NEWS: Ido initialization for Emacs 23.[123] 2014-04-27 07:11:11 +09:00
Tomi Ollila
bc64cdce28 building from git: use --abbrev=7 for version string
Users may have set core.abbrev=n, where n != 7 in their git config
file(s) which would give them different than expected version strings
when building notmuch from git. This fixes the commit hash part of
version string to 7 hexadecimal values.
2014-04-24 14:01:05 +09:00
David Bremner
40dc79d6ac notmuch 0.18~rc0 release
-----BEGIN PGP SIGNATURE-----
 Version: GnuPG v1
 
 iQGcBAABCAAGBQJTVf3OAAoJEPIClx2kp54s604L/AsLQBldmtnT4VKk/3HPbDMj
 +vAkmbo5XRlTlMP9PKeZGQaXuMQdq/J45uNUoYeKaKYKlCYueeJ2Q+r9FDZ5xveZ
 ttWKnkOOL4qMy9P69/13r1NmIk1jvUfWcrlsiLHOiN11/tFMEJgF2UFq1IKaZyKW
 I+kXdXfZV42WQf8rPJz9cqhlc7I8Fen5MAC6KLqeUkObiEnrEsGGyXbvLpx1U6Nd
 QJDZXaBUySdyYgzOtFi9iMUr8632+FhCmVW6vjPNwtYgmtuarzKD8Axn2oJ5N0sy
 onU/PtEY1B2fo3h3notfrg7g9MZwtTYOwIw+zjPD/9aIbwW8Dip1ahLL2dE8xpRX
 JWy0W9Q5n2ghw1jOcc6feK0Dj4+d4/Hc7+qIH8wKLlDRHGrEWsUZxsx32JeCucAJ
 WkP48GquXZuWsItT7hHjlzoqbT5ih5mrmneldRo49YfCtIOF7fVWFr4muj4Q/005
 Ku8d00dftQHwj4v//iBSKZ8E2ZeSnNqW3ZTX57/iQA==
 =6VJs
 -----END PGP SIGNATURE-----

Merge tag '0.18_rc0'

notmuch 0.18~rc0 release
2014-04-22 14:40:56 +09:00
David Bremner
95aa988a06 doc: remove conf.pyc on clean
This build artifict messes up the packaging process for (at least)
Debian if not removed on clean.
2014-04-22 14:24:04 +09:00
David Bremner
d879c47ff1 python: bump version 2014-04-22 09:40:28 +09:00
David Bremner
070f44f847 NEWS: bump version
As usual, we'll just edit the version in place for release candidates.
2014-04-22 09:40:28 +09:00
David Bremner
48223d4f18 debian: NEWS item about database upgrade 2014-04-22 09:40:28 +09:00
David Bremner
3a98e9472b debian: changelog stanza for 0.18~rc0-1
- make versions match to pacify release-checks.sh
- close a few more bugs.
- fix one HTMLism
2014-04-22 09:40:28 +09:00
David Bremner
b30ad5c104 version: bump to 0.18~rc0
Start the promised feature freeze
2014-04-22 07:00:29 +09:00
Austin Clements
827a69f639 doc: Simplify and clarify notmuch show --format=sexp description
Previously, this was a verbatim copy of the --format=json text.
Change it to instead reference the JSON text and actually describe how
the S-expression format works.
2014-04-21 21:51:54 +09:00
Austin Clements
a39a69ca0f doc: Clarify charset encoding of JSON output 2014-04-21 21:51:35 +09:00
Austin Clements
3cd00fdb8f doc: Fix minor formatting issues in notmuch-show.rst
There were some extra line breaks and missing periods.
2014-04-21 21:51:08 +09:00
Austin Clements
56871c628b doc: Clarify notmuch show --format=raw description
In addition to being generally more precise, this is explicit that
there is no charset conversion.
2014-04-21 21:50:57 +09:00
Mark Walters
ae2888015e emacs: hello: bugfix for saved searches defcustom
The recent changes for saved searches introduced a bug when notmuch
was loaded after the saved search was defined. This was caused by a
utility function not being defined when the defcustom was loaded.

Fix this by moving some code around: the defcustom is moved into
notmuch-hello (which is a more natural place anyway), and the utility
functions are moved before the defcustom in notmuch-hello. We are
rather constrained as the defcustom for saved searches is the first
variable in the notmuch-hello customize window; to avoid moving this
customize the defcustom needs to be the first defcustom in
notmuch-hello, and the utility functions come before that.

This patch also renames one of the utility functions from
notmuch--saved-searches-to-plist to
notmuch-hello--saved-searches-to-plist (as it is purely local to
notmuch-hello) and corrects a couple of typo/spelling mistakes pointed
out by Tomi.
2014-04-21 21:48:41 +09:00
W. Trevor King
c3d54c4b54 doc/prerst2man.py: Fix 'os.system' -> 'system' typo
Avoid:

  $ make HAVE_SPHINX=0 HAVE_RST2MAN=1 build-man
  python ./doc/prerst2man.py ./doc doc/_build/man
  Traceback (most recent call last):
    File "./doc/prerst2man.py", line 65, in <module>
      os.system('set -x; rst2man {0} {1}/{2}.{3}'
  NameError: name 'os' is not defined
  make: *** [doc/_build/man/man1/notmuch.1] Error 1

by using system directly.  We don't need the 'os.' namespacing,
because the function was imported with:

  from os import makedirs, system
2014-04-21 21:32:03 +09:00
W. Trevor King
334f247d9f doc/prerst2man.py: Use Python-3-compatible octal notation
Python 3 only supports the 0oXXX notation for octal literals [1,2],
which have also been supported in 2.x since 2.6 [2].

[1]: https://docs.python.org/3.0/whatsnew/3.0.html#integers
[2]: http://legacy.python.org/dev/peps/pep-3127/
2014-04-21 21:31:54 +09:00
W. Trevor King
427b3db243 doc/mkdocdeps.py: Use "with" statement for the output file
Before this patch, the open was unnecessarily early and relied on the
process cleanup to close.  Neither one of these was a real problem,
but PEP 343's context managers (which landed in Python 2.5) make
proper cleanup very easy.

[1]: http://legacy.python.org/dev/peps/pep-0343/
2014-04-21 21:31:45 +09:00
W. Trevor King
b10b12da89 doc/mkdocdeps.py: Convert execfile to import
excefile is gone in Python 3 [1].  Instead of exec-ing the
configuration, it's easier to insert the source directory in Python's
path [2], and just import the configuration.  With this change,
mkdocdeps.py is compatible with both Python 2 and 3.

[1]: https://docs.python.org/3.0/whatsnew/3.0.html#builtins
[2]: https://docs.python.org/3/library/sys.html#sys.path
2014-04-21 21:31:36 +09:00
Mark Walters
ce0e3eeaca NEWS for displaying tag changes 2014-04-21 07:04:49 +09:00
David Bremner
99d351360b doc: make notmuch-new summary line more generic
Since 'notmuch new' now takes multiple options, it's confusing to show
only one of them in the summary.
2014-04-19 14:29:06 +09:00
Austin Clements
cd8cb60733 News for changes from Austin Clements 2014-04-19 13:09:15 +09:00
Austin Clements
1ada97e05b emacs: Honor debug-on-error for part renderers
Previously, even if debug-on-error was non-nil, the debugger would not
trap on part renderer errors.  This made debugging part renderer bugs
frustrating, so let the debugger trap these errors.
2014-04-19 13:08:30 +09:00
David Bremner
2d024ff48c configure: fix comment, pass HAVE_CANONICALIZE_FILE_NAME to build
Apparently omitting it is not fatal, but let's be consistent with the
other compat functions.
2014-04-19 05:58:59 +09:00