Commit Graph

1176 Commits

Author SHA1 Message Date
djcb 9a3ff97acf * cosmetic 2012-05-17 10:58:02 +03:00
djcb 47e7720464 * support getting all image attachments as temp files (change in mu-msg-sexp
api)
2012-05-16 20:45:31 +03:00
djcb a1c4e2f21e * add some test mails for the unit tests 2012-05-14 22:41:54 +03:00
djcb 301de6536f * cosmetic 2012-05-14 11:20:19 +03:00
djcb 77464acc10 * mu-index.c: improve error message for invalid e-mails 2012-05-14 11:20:10 +03:00
djcb ccb078bd89 * mu-cmd-server.c: properly quote error messages 2012-05-14 09:32:28 +03:00
djcb 0834dd5974 * mu4e: get information about all mime parts, not just attachments 2012-05-13 13:10:56 +03:00
djcb 58dc869017 * fix: shortcut for signed is 'z', not 's'; add some unit tests as well 2012-05-11 18:39:00 +03:00
djcb 9db172792d * mu-str.c: do some more massaging for xapian queries with brackets, add unit tests 2012-05-04 20:58:34 +03:00
djcb 1bbca9e1eb * small fixes in address generation, mu:contact->string 2012-05-04 14:52:45 +03:00
djcb 3bb3514198 * mu-cmd-find.c: don't try to summarize a NULL body 2012-05-04 09:40:38 +03:00
djcb e2a0fc31cf * some small fixes for passing 'make cc10' and 'make line35' 2012-04-30 17:32:34 +03:00
djcb 3e64a90e64 * don't concatenate all text parts in message body 2012-04-28 13:48:52 +03:00
djcb b57f1e3314 * mu-cmd-server.c: add some comment 2012-04-28 13:46:03 +03:00
djcb 5013f4c23d * add --summary-len option for mu find and mu view, and document it 2012-04-28 12:56:57 +03:00
djcb 9e8863f5e0 * cosmetic 2012-04-28 09:13:08 +03:00
djcb b01390785e * mu4e-proc, mu-cmd-server: update server output
protocol

  - this unbreaks running mu server on non-utf8 locales
  - should also be a bit faster
  - configure.ac: bump version
2012-04-28 09:05:05 +03:00
djcb 5ea06f1469 * cosmetics 2012-04-26 17:53:34 +03:00
djcb b48a9e5276 * cosmetic 2012-04-21 12:45:03 +03:00
djcb 1ba30650e3 * mu4e-server.c: when flagging based on message-id, update /all/ matching
messages

    this is a common case when sending messages to ourselves (maybe through a
    mailing list), where there would a message in inbox and sentbox with the
    same id. we set the flag on both
2012-04-19 18:56:44 +03:00
djcb 0be852b288 * improve support for non-latin languages (cyrillic etc.) (WIP)
- change the various escaping / normalization functions to better deal with
    non-ascii, non-latin languages, such as Russian.

    It seems. now we can match 'Тесла' or 'Аркона' without problem.

  - added unit test.

  - WIP -- needs more testing.
2012-04-16 01:10:46 +03:00
djcb 6f4448be56 * change mu_util_play a bit to better deal with non-ascii filenames
- don't try to encode anything, but pass the filename into the argv for the
    program to open (before we, used g_spawn_command_line_async, and there we
    need to escape things for the command line. Now we use g_spawn_command, so
    we can pass argv as such.
  - add a GError** arg to mu_util_play, and update all callers
  - cleanup the mu-cmd-extract code a bit
2012-04-15 19:59:53 +03:00
djcb 23d01e1a61 * mu-cmd-server.c: big overhaul of the mu-server process implementation 2012-04-15 14:18:18 +03:00
djcb c3f63bb4c0 * mu-str.c, test-mu-query.c: ensure all unit tests pass 2012-04-13 22:12:44 +03:00
djcb 3ba8919faf * update unit tests for new escaping 2012-04-13 22:05:17 +03:00
djcb 526cc75c7c * mu-store-write.cc: small updates for api changes, cleanups 2012-04-13 22:04:06 +03:00
djcb 607fdd01f5 * mu-query.cc: use mu_util_g_set_error 2012-04-13 22:03:23 +03:00
djcb ece0bc5bae * introduce mu_util_g_set_error, a g_set_error wrapper 2012-04-13 21:58:58 +03:00
djcb b63bebfa91 * mu-str.c: improve escaping of query terms 2012-04-13 21:51:57 +03:00
djcb 76ab1a43a0 * mu-msg-field.[ch]: provide information about whether a field is a
range-field (i.e.., size, date)
2012-04-13 21:49:53 +03:00
djcb ec7f865580 * shorten mu_cmd_server a bit, so it satisfies `make line35' 2012-04-12 08:59:20 +03:00
djcb 8c9a1b1e3f * mu-msg-part.c, mu-msg-sexp.c: handle parts with unknown (or zero) size
correctly, set :size to -1 so front-end can deal with it appropriately.
2012-04-11 18:25:49 +03:00
djcb 2a23762f6f * cosmetics 2012-04-11 01:15:42 +03:00
djcb 1a908b91d6 * include the reply_to address in the list of contact informations:
- mu-msg: add it to the list for for_each
   - mu_msg-sexp: export is as a list in (file-based) msg sexps
   - store-write: for now, don't include it in the database
2012-04-11 01:15:26 +03:00
djcb 9a59e3d8a1 * mu-cmd-server.c: fix off-by-one in number of matches to display 2012-04-07 19:07:48 +03:00
djcb ee840997c3 * fix memleak in threading 2012-04-05 23:08:48 +03:00
djcb 3db459b19a * mu-cmd-server.c: fix error handling 2012-04-04 17:56:52 +03:00
djcb 34091dcbda * mu-msg-part.c: fix errr handling in write_part_to_fd 2012-04-04 17:56:01 +03:00
djcb eff294796d * mu-threader.c: for now disable the special code for messages with dup msgids
as this is causing infloops... FIXME
2012-04-03 23:31:04 +03:00
djcb 140f9cc562 * set the domain in g_set_error, to prevent runtime-warnings with recent glib 2012-04-03 19:37:07 +03:00
djcb d421f4bff6 * small leak fixes 2012-04-03 19:36:43 +03:00
djcb 0a15f82ede * mu-msg-file.c: correctly display utf-8 encoded messages without explicit
charset (such as mu4e draft messages)
2012-04-02 20:01:58 +03:00
djcb bc6f9ebbb8 * fix glib warnings (compile time, runtime): add error gquark, don't use g_atexit 2012-04-01 13:08:02 +03:00
djcb fa10095ce2 * mu-cmd-server.c: return full message info in (:update ...) so we don't lose
the body when refreshing previously-unread messages
2012-04-01 12:32:01 +03:00
djcb aa952aa430 * mu-stored-read.cc: don't do excessive logging 2012-04-01 12:29:44 +03:00
djcb f11160aece * cosmetics 2012-04-01 12:29:24 +03:00
djcb 62d455ad7e * cosmetic 2012-03-31 17:20:28 +03:00
djcb e7e84ed08a * updates for new mu_str escaping function, better error handling 2012-03-30 19:02:46 +03:00
djcb 2a105f1612 * mu-util.h: fix catch-macro for the case where the GError is set already 2012-03-30 19:02:07 +03:00
djcb 7f0ec697d8 * mu-str etc.: improve escaping (for gmail folder names) 2012-03-30 18:45:06 +03:00