1
0
mirror of https://github.com/djcb/mu.git synced 2024-06-21 06:56:48 +02:00
Commit Graph

174 Commits

Author SHA1 Message Date
djcb
8fdd82d549 * mu-msg-iter.{cc,h}: make flag names a bit clearer 2012-12-16 15:08:03 +02:00
djcb
4ccfe56e41 * cosmetic 2012-12-16 14:18:31 +02:00
djcb
9c0ec479f5 * mu-query: update for mu-msg-iter updates 2012-12-16 14:18:22 +02:00
djcb
50f5c7affb * mu-msg-iter: add basic implemenation of checking for msgid dups, msg file
existence
2012-12-16 14:17:58 +02:00
djcb
cbbb23c13f * Fixes for the threading algorithm (thanks to Abdó Roig)
The problem was that once a container got a parent, it did not change it anymore
  due to the child_elligible condition, but the parent might have been assigned
  from an incomplete References sequence.

  Now, we make sure the last reference gets to be the message's parent (following
  the JWZ's algorithm), reparenting the message if necessary. This makes sense, as
  the last parent-child relationship (between last ref and the message) is the
  most reliable piece of info here.

  Instead of child_elligible, we now only check that the new parent is not a
  descendant of the current message, to prevent making a loop. Everything else is
  fine, as it only moves a subtree around.
2012-12-09 13:48:22 +02:00
djcb
241af50e97 * update / add testcases for string normalization 2012-12-09 13:34:16 +02:00
djcb
58599ab8f9 * fix bug normalizing mixed (e.g. Latin etc. and Cyrillic) uf8 text 2012-12-09 13:33:45 +02:00
djcb
30f93663b0 * lib: do some more escaping of body text 2012-11-18 22:09:56 +02:00
djcb
ef1791ec7c * support single dates (shortcut for ranges) in queries (thanks to Eygene Ryabinkin) 2012-11-17 21:25:09 +02:00
djcb
8e60018176 * fix test-mu-maildir unit test for running as root 2012-11-08 22:31:51 +02:00
djcb
89c78d6767 * fix typo 2012-11-08 22:20:31 +02:00
djcb
e5425081cc * remove hard dependency on wordexp.h (OpenBSD does not have it) 2012-11-08 22:19:28 +02:00
djcb
aaec71634e * cosmetics 2012-10-31 20:36:02 +02:00
djcb
32c0173b4e * lib: doxygen support (WIP, just starting...) 2012-10-27 14:42:21 +03:00
djcb
ec25124693 * cosmetic / minor 2012-10-27 14:41:20 +03:00
djcb
412de6f4aa * mu: allow 'recip:' in queries as a shortcut for "to:foo OR cc:foo OR bcc:foo" 2012-10-25 12:28:55 +03:00
djcb
f19ede80ce * mu: small error-handling improvement 2012-10-24 23:49:54 +03:00
djcb
a01196499f * mu-cfind: some cleanups / better help 2012-10-24 23:47:47 +03:00
djcb
b2b18aee75 * lib: fix mu-script for !BUILD_GUILE 2012-10-24 15:48:07 +03:00
djcb
11ecc65109 * update (C) years 2012-10-24 11:42:57 +03:00
djcb
94fcf1c5ad * mu: small cleanups to pass 'make cc10', 'make line35' 2012-10-23 20:57:46 +03:00
djcb
bc90df6c53 * cosmetics / minor 2012-10-23 20:29:24 +03:00
djcb
07890463a7 * mu: express tags in mu-msg-sexp (thanks to Abdó Roig) 2012-10-22 23:52:17 +03:00
djcb
5c301f71ec * mu: update mu script 2012-10-22 23:16:01 +03:00
djcb
34f47ae5ca * cosmetics 2012-10-22 23:15:28 +03:00
djcb
12eebbcc23 * mu: support description fields in stat scripts, some refactoring 2012-10-21 17:20:20 +03:00
djcb
80099e6f19 * mu: refactor mu-script (stats) a bit 2012-10-21 15:52:34 +03:00
djcb
7915cafdee * mu: add the 'mu stats' command (WIP) + some refactoring 2012-10-19 00:51:04 +03:00
djcb
da9c4bf4f7 * lib: add mu_util_support and mu_util_program_in_path + unit tests 2012-10-18 12:11:43 +03:00
djcb
48467099b5 * mu: add 'contact:' as an alias for to:/from:/cc:/bcc: 2012-10-17 18:35:23 +03:00
djcb
8ad01e4aa8 * lib: threading: pre-sort the threaded results, add some more comments 2012-10-17 17:59:33 +03:00
djcb
542043989d * lib/mu-log: allow for arbitrary long log lines 2012-10-03 10:36:36 +03:00
djcb
af5ad981a2 * some line35 fixes 2012-09-27 21:52:54 +03:00
djcb
ab431a4a69 * lib: don't be too picky considering what's an attachment 2012-09-27 17:31:49 +03:00
djcb
506f26a342 * mu4e: unbreak attachments in forwarded messages 2012-09-25 15:20:26 +03:00
djcb
18096f326a * mu4e: allow message attachment to be viewed with mu4e (WIP) 2012-09-21 12:35:53 +03:00
djcb
3fe6eec8e0 * cosmetics 2012-09-20 21:25:55 +03:00
djcb
d7ef2166a7 * mu-log: add pid to log lines 2012-09-20 21:24:49 +03:00
djcb
01f37d6b40 mu-log: add pid to log lines 2012-09-20 21:24:03 +03:00
djcb
28136a4e04 * cosmetics 2012-09-19 16:56:25 +03:00
djcb
6c071d940b * lib: for sorting dates, use the strings as recorded in Xapian, rather than
converting to time_t; this saves ~ 5% when we list threaded results
2012-09-19 16:55:44 +03:00
djcb
1ef9dae6bd * crypto: improved signature / verify output 2012-09-19 11:36:02 +03:00
djcb
e483291a1d * lib/mu-container: remove some O(n*n) behavior from threading
mu_container_append_siblings was showing up high in profiles as it has to
  walk chains of next->next->next->... pointers to find the last one. we now
  cache the last link in the chain. for listing ~ 23K messages, this saves
  about 20%.
2012-09-17 17:45:59 +03:00
djcb
7fe594fb2a * cosmetics 2012-09-17 17:42:56 +03:00
djcb
2db1606a36 * lib: refactor mu-log a bit 2012-09-17 13:17:49 +03:00
djcb
ac12d0c8aa * lib/mu-runtime: fix broken error handling 2012-09-17 13:05:49 +03:00
djcb
3759436a37 * cosmetics 2012-09-17 12:44:08 +03:00
djcb
cc59c83756 * lib: mu-msg-part: improve handling of b0rked messages, s/HAVE_CRYPTO/BUILD_CRYPTO/ 2012-09-17 12:43:53 +03:00
djcb
0b32a63537 * guile: fix getting message bodies 2012-09-17 11:13:37 +03:00
djcb
cd506d6d79 * add missing ifdef BUILD_CRYPTO block, so things build without crypto, too 2012-09-17 10:07:26 +03:00