Commit Graph

4307 Commits

Author SHA1 Message Date
djcb 02dca2fba9 gitignore: update 2017-12-10 13:50:25 +02:00
djcb 0d9d8d26d0 mu4e: improve msgid quoting 2017-12-03 22:18:35 +02:00
djcb 7a62758afa mu: handle funny msgids
Query msgids without trying to parse them. Also, clean up some code.
2017-12-03 22:17:30 +02:00
djcb 620912c62b mu: support 'raw' query (internally)
Allow for passing 'raw' queries to xapian, without any parsing.
2017-12-03 22:16:32 +02:00
djcb f840d0deaa parser: promote single value to a range for range-fields
Treat e.g. 'date:20170101' as 'date:20170101..20170101', just like
the Xapian parser does.
2017-12-03 12:39:31 +02:00
djcb 9ad4a76eac bump version to 1.0-alpha2 2017-11-12 15:00:50 +02:00
djcb 1bb8af69fe man: update query documentation 2017-11-12 14:50:52 +02:00
djcb 5f79535574 proc: ensure query string is utf-8
ensure that the query string is utf-8 before passing it to the backend.
2017-11-08 21:26:00 +02:00
djcb dbc162ef9b cosmetic 2017-11-05 13:47:30 +02:00
djcb 9e1ce98da7 guile: small doc fix 2017-11-05 13:06:44 +02:00
djcb 9ecc610e14 mu4e: some doc fixes 2017-11-04 15:06:45 +02:00
djcb f794cea6e7 parser: small regex optimization 2017-11-04 14:32:41 +02:00
djcb f59c899ae5 mu4e: add mu4e-query-rewrite-function
Add a function that allows rewriting queries before they are issued.
2017-11-04 13:54:09 +02:00
Dirk-Jan C. Binnema 265d5359be
Merge pull request #1149 from djcb/revert-1141-mu4e-view-mode-hook
Revert "Ensure mu4e-view-mode-hook run after text insertion"
2017-11-04 13:37:08 +02:00
Dirk-Jan C. Binnema d87b97e0fb
Revert "Ensure mu4e-view-mode-hook run after text insertion" 2017-11-04 13:36:43 +02:00
djcb 6a0654c91b parser/utils: enforce 64-bit times on 32-bit platforms
don't assume a 64-bit platform.
2017-11-04 11:30:23 +00:00
djcb ec51f66da2 test-str: fix arglist test 2017-11-04 13:06:43 +02:00
djcb 3cd150f289 parser: handle implicit 'and not' 2017-11-04 12:59:48 +02:00
djcb 40dd4751bf autogen.sh: don't require `which'
use posix standard "commmand" instead.
2017-11-04 12:49:28 +02:00
Dirk-Jan C. Binnema 43df94fa39
Merge pull request #1146 from mekeor/master
mu4e: fix bug preventing mu4e-headers-change-sorting to sort by list
2017-11-02 08:10:32 +02:00
djcb d18e0a1d84 query: don't be too eager matching field names
only match shortcuts when the field length was 1.
2017-11-02 08:06:48 +02:00
djcb c3aca5b29e mu4e: cosmetic 2017-11-02 08:06:48 +02:00
Dirk-Jan C. Binnema d72d298818
Merge pull request #1141 from thierryvolpiatto/mu4e-view-mode-hook
mu4e: Ensure mu4e-view-mode-hook run after text insertion
2017-11-02 07:47:33 +02:00
djcb 65863e46cd parser: fix and-not precedence
For now, don't treat "and not" specially; this gets us back into a
somewhat working state. At some point, we probably _do_ want to
special-case and_not though (since Xapian supports it).
2017-10-31 07:18:14 +02:00
Mekeor Melire 150234cb5f mu4e: fix bug preventing mu4e-headers-change-sorting to sort by list
The little bug was caused by a little confusion of the key for list-IDs.
Namely, we use `:list` and not `:list-id` for list-IDs.
2017-10-30 23:57:02 +01:00
djcb ea2ffe23ae mu: fix quoting/unquoting parameters 2017-10-30 22:06:36 +02:00
djcb 363075a6fd doc: tickle
Don't error out when asked for tickle docs.
2017-10-30 21:15:47 +02:00
djcb 4ca6b527b7 mu: use correct conversion for size
This changed with the new parser.
2017-10-30 21:14:20 +02:00
djcb 6053c1ec1f mu: fix clang build
casting error
2017-10-30 08:25:43 +02:00
djcb 57b5fe6156 mu: some optimizations
add fast-path for (common) plain-ascii. fix silly static misuse.

should improve indexing with some single-digit percentage.
2017-10-29 13:34:57 +02:00
Thierry Volpiatto 2eccd7df90
Keep original indentation
Only whitespace changes.

* mu4e/mu4e-view.el (mu4e-view): Do it.
2017-10-29 11:51:28 +01:00
djcb 3bc53af575 mu4e: show "Searching..." message
The new query-parser makes it easier to create queries that might take a
few seconds. qShow "Searching..." so the users knows what mu is doing.
2017-10-29 12:10:10 +02:00
djcb fae58334ed configure: bump version to 1.0-alpha0 2017-10-29 11:25:12 +02:00
djcb 8c531bd92b configure: don't require autoconf-archive
We ship the few macros we need or make them conditional
2017-10-29 11:25:12 +02:00
djcb a55b010ca5 m4: add valgrind-check macro 2017-10-29 11:21:20 +02:00
Thierry Volpiatto 8db567c980
Link urls after running `mu4e-view-mode`
* mu4e/mu4e-view.el (mu4e-view): `mu4e~view-make-urls-clickable`
should run after `mu4e-view-mode` otherwise an error popup telling the
hash-table storing links is nil.
2017-10-29 07:43:00 +01:00
Thierry Volpiatto 0a36c8431a
Ensure mu4e-view-mode-hook run after text insertion
* mu4e/mu4e-view.el (mu4e-view): Do it.
2017-10-29 06:54:13 +01:00
djcb af4f12c696 mu4e: allow longer queries
Tell base64-encode-string not to include newlines.
2017-10-28 20:33:41 +03:00
djcb 4ee8c5e1d6 mu4e: work around quoting issues
Use base-64 for now.
2017-10-28 18:23:08 +03:00
djcb 2d94ff856e configure: update (c) year 2017-10-28 14:13:30 +03:00
djcb 55ffb524db tokenizer: clean unicode-aware 2017-10-28 14:13:09 +03:00
djcb 0e5e8b6bce parser: add more tests 2017-10-28 14:12:50 +03:00
djcb a4fefc7256 mu4e: make mu4e-compose-crypto-reply-plain-policy nil by default
Making it sign by default is a bit too aggressive.
2017-10-28 11:23:57 +03:00
djcb 3ce8cd7e70 mu4e: small doc update
Update dependency information.
2017-10-28 11:17:03 +03:00
djcb 109657d879 m4: include c++14 m4 macro
some distros -- notably Ubuntu 16.04 -- do not include
ax_cxx_compile_stdcxx_14.m4 in their autotools-archive package (since
the macro is too new).

This breaks the compilation since we need that macro to get the correct
c++14 flags. So, let's add them ourselves, so users don't have to shop
around for these macros themselves.
2017-10-28 11:14:17 +03:00
djcb a3701e9459 configure.ac: use AX_CXX_COMPILE_STDCXX_14
and just that.
2017-10-27 21:03:36 +03:00
djcb 457a0a17a2 mu4e: update query quoting for new parser 2017-10-27 18:44:19 +03:00
djcb 509500a9d2 server: update query processing
fix quoting issues with mu4e
2017-10-27 18:43:33 +03:00
djcb 6ce7c89488 phrases: only allow for index fields 2017-10-27 18:42:58 +03:00
djcb fe18603843 parser: fix some post-c++14 code
don't require anything post c++14
2017-10-27 18:40:37 +03:00