Dirk-Jan C. Binnema
d2ec85f01c
mu4e: use the new command-parser
...
Update mu4e-proc to use the new mu4e <-> mu protocol
2020-01-22 11:42:15 +02:00
Dirk-Jan C. Binnema
c7680b78b9
utils: Implement sexp command parser
...
Implement a sexp parser, and on top of that a command parser (for mu4e
commands). Add tests, too.
2020-01-21 20:58:18 +02:00
Dirk-Jan C. Binnema
6818c7df6c
mu-msg: plug some leaks
2020-01-19 17:33:32 +02:00
Dirk-Jan C. Binnema
a3d71dab91
utils: Update error exception, utils.
2020-01-18 13:40:15 +02:00
Dirk-Jan C. Binnema
e203e26a38
mu-sexp: improve list-post regexp
...
Support more addresses.
2020-01-08 23:23:13 +02:00
Dirk-Jan C. Binnema
b2014fe93e
use g_snprintf instead of snprintf
...
Seems the latter cannot be found on some platforms; perhaps a
c++/namespace thing?
Use g_snprintf instead.
2020-01-07 23:17:15 +02:00
Dirk-Jan C. Binnema
38a91f3696
mu: include list-post address in message sexp
...
If there's a list-post address, include it in the message-sexp, so we
can use it when replying.
2020-01-07 22:45:20 +02:00
Dirk-Jan C. Binnema
f4874cd7e1
lib/utils: Update
2020-01-05 17:46:21 +02:00
Dirk-Jan C. Binnema
12b34be3cf
mu: allow for code-coverage reports
2020-01-01 15:56:48 +02:00
Dirk-Jan C. Binnema
ad63044915
mu: Fix some compiler warnings
2020-01-01 15:56:48 +02:00
Dirk-Jan C. Binnema
80c5e25b08
mu: move mu/mu/tests, lib/tests one level up
...
Makes it easier to generator code-coverage reports
2020-01-01 15:56:48 +02:00
Dirk-Jan C. Binnema
97afdd9e3c
lib: Use Mu:Error exception
...
Where applicable.
2020-01-01 13:25:07 +02:00
Dirk-Jan C. Binnema
dfafecaf0c
utils: add Mu::Error (runtime exception)
2020-01-01 13:25:07 +02:00
Dirk-Jan C. Binnema
b1d4c5af79
mu: fix list-post email regexp
...
'_' is valid in email addresses.
Fix courtesy of jaknel; fixes #1529 .
2019-12-22 15:26:45 +02:00
Dirk-Jan C. Binnema
9f93526884
move parser/utils to utils, Mux->Mu
...
Move the parser utils to utils/ and rename the Mux namespace into Mu.
2019-12-22 15:26:45 +02:00
Dirk-Jan C. Binnema
b55e191421
update for lib/utils split
...
Update sources with the new paths
2019-12-22 15:26:45 +02:00
Dirk-Jan C. Binnema
e5337e7658
lib: split out utils to lib/utils
2019-12-22 15:26:45 +02:00
Dirk-Jan C. Binnema
0c7831b5c9
Merge pull request #1511 from derekschrock/test-mu-maildir
...
lib: Allow hostname of newbase to match alnum
2019-11-17 14:20:17 +02:00
Derek Schrock
7d439928f5
lib: Use more portable locale en_US.UTF-8
...
On some systems (FreeBSD) en_US.utf8 doesn't exist. Use a portable
locale en_US.UTF-8.
2019-11-16 23:01:18 -05:00
Derek Schrock
1585b933fb
lib: Allow hostname of newbase to match alnum
...
Possible hostnames might have digits and - in them. Crude regex to
allow hostnames that start with alnum followed by alnum or "-".
Fixes #1399
2019-11-16 22:59:04 -05:00
Dirk-Jan C. Binnema
0dab2b0faf
Merge pull request #1507 from tarsiiformes/typos
...
Fix typos
2019-11-09 13:06:23 +02:00
Alex Murray
5a450b1aee
Treat text/markdown as plain text for issue #1503
2019-11-07 15:03:36 +10:30
Jonas Bernoulli
f31d1b065d
Fix typos
2019-11-06 16:13:39 +01:00
Yuri D'Elia
b609080d77
Process personal flag when adding new contacts
2019-08-16 13:06:12 +02:00
Yuri D'Elia
230df78780
Avoid wrong type/warning in comparison
2019-08-16 11:50:40 +02:00
Yuri D'Elia
b71b60704b
Update internal cache in set_personal_addresses
2019-08-16 11:44:35 +02:00
Dirk-Jan C. Binnema
74f9f78ec0
lib: Don't use Xapian::DatabaseNotFoundError, it's too new
...
Xapian::DatabaseNotFoundError only arrived with Xapian 1.4.10.
2019-08-03 11:06:50 +03:00
Dirk-Jan C. Binnema
63b556da6d
mu-util: fix warning
2019-08-01 22:44:03 +03:00
Dirk-Jan C. Binnema
fc0ea805f5
mu-msg-fields: Mark contact fields as phrase-enabled
2019-08-01 22:11:39 +03:00
Dirk-Jan C. Binnema
a8752e28c3
mu-store.hh: add it; it was missing
2019-07-31 17:19:23 +03:00
Dirk-Jan C. Binnema
be4860befe
tests: update for lib/mu-store changes
2019-07-30 08:51:04 +03:00
Dirk-Jan C. Binnema
83d6484f86
lib/mu-store: rework implementation
...
* mu-store.h, mu-store-read.cc, mu-store-write.cc, mu-store-priv.hh have been reworked
in mu-store.{cc,hh}, it the mix of c/c++ improved
* update all the dependent modules
* make it easier to upgrade an database in place (without user intervention)
* remove the xbatch-size option
2019-07-30 08:51:04 +03:00
Dirk-Jan C. Binnema
b7cda29b96
mu-runtime: include string
...
Was missing, and breaks compilation in some environments.
2019-07-18 16:17:04 +03:00
Dirk-Jan C. Binnema
632f383c38
mu: Default to XDG Base Directory Specification
...
Instead of using ~/.mu, use the XDG Base Directory Specification, typically:
~/.cache/xapian
~/.cache/mu.log
~/.cache/parts
~/.config/bookmarks
Update dependencies, documentation.
2019-07-13 16:00:28 +03:00
Dirk-Jan C. Binnema
69229a4228
mu: remove contacts-path leftovers
...
The contacts are now embedded in the xapian database, so we don't need
the contact-path anymore. Let's remove some leftovers.
2019-07-13 13:43:57 +03:00
Dirk-Jan C. Binnema
125176d397
mu/lib: merge mu-contacts.h => mu-contacts.hh
2019-07-13 13:43:57 +03:00
Dirk-Jan C. Binnema
8ec8ab5380
mu-contacts: remove newlines from addresses
...
Seems gmime passes them on; and it causes havoc with our contacts cache.
Bump database schema version to force an rebuild (since that's what's
required.)
2019-07-11 23:30:27 +03:00
Dirk-Jan C. Binnema
5440747ba4
mu: require glib >= 2.38; remove g_type_init calls
...
Minor cleanup.
2019-07-11 23:30:27 +03:00
djcb
dc271f4721
mu-contacts: fix some compiler warnings
2019-05-25 10:39:40 +03:00
djcb
9edcae0203
update store, msg for new contacts-cache handling
2019-05-11 13:41:03 +03:00
djcb
bd52902290
contacts: update test cases for updated contacts
...
Remove the old ones, add new ones.
2019-05-11 13:41:03 +03:00
djcb
8193cc3e4c
contacts: rework: install in database
...
Rewrite the contacts-cache backend in c++
Store the contacts as metadata in the xapian database, rather than in a
separate file.
Update the Store to deal with this.
2019-05-11 13:41:03 +03:00
Evan Klitzke
0cc94468b3
Fix pedantic -Wparentheses warning emitted by gcc 9.0
2019-05-06 07:58:37 -07:00
djcb
6e8378ddcd
mu: update crypto verify test
2019-03-24 11:54:12 +02:00
djcb
bc891030f6
mu: fix utf-8 flatten
2019-03-24 11:43:51 +02:00
djcb
da10f30adf
utils: small optimization in utf8_flatten
...
In the common path, avoid building an unneeded std::string. This should
up in some profiles.
2019-03-23 17:00:25 +02:00
djcb
9bffb465bd
mu: don't include text attachments as part of body
...
It's somewhat nice in some case, but not generally so; so let's not do
it.
2019-02-18 08:30:55 +02:00
Dirk-Jan C. Binnema
d41242ff6c
Merge pull request #1359 from OnkelUlla/fix_compiler_warnings
...
Fix compiler warnings
2019-01-17 22:26:50 +02:00
Dirk-Jan C. Binnema
0903eaba79
Merge pull request #1284 from nicolasavru/limit-threading-set
...
Perform threading calculation on related set instead of entire result.
2019-01-13 22:53:45 +02:00
Ulrich Ölmann
d37a961c8f
parser: fix clang-7.0.1 warnings
...
Without this commit clang++-7.0.1 whines
| CXX parser.lo
| parser.cc:138:15: warning: braces around scalar initializer [-Wbraced-scalar-init]
| return Tree({{Node::Type::Range},
| ^~~~~~~~~~~~~~~~~~~
2019-01-11 06:49:01 +01:00