Commit Graph

55 Commits

Author SHA1 Message Date
b57f1e3314 * mu-cmd-server.c: add some comment 2012-04-28 13:46:03 +03:00
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
5ea06f1469 * cosmetics 2012-04-26 17:53:34 +03:00
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
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
23d01e1a61 * mu-cmd-server.c: big overhaul of the mu-server process implementation 2012-04-15 14:18:18 +03:00
ec7f865580 * shorten mu_cmd_server a bit, so it satisfies `make line35' 2012-04-12 08:59:20 +03:00
9a59e3d8a1 * mu-cmd-server.c: fix off-by-one in number of matches to display 2012-04-07 19:07:48 +03:00
3db459b19a * mu-cmd-server.c: fix error handling 2012-04-04 17:56:52 +03:00
bc6f9ebbb8 * fix glib warnings (compile time, runtime): add error gquark, don't use g_atexit 2012-04-01 13:08:02 +03:00
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
e7e84ed08a * updates for new mu_str escaping function, better error handling 2012-03-30 19:02:46 +03:00
c2e3eac1de * don't save drafts immediately, and do the post-sending stuff not in hooks,
but rather by a special 'sent-' message handler
2012-03-27 21:15:47 +03:00
67261b614d * implement the :erase message from the backend to properly clean up the
header buffer

  When we're doing a search while the results of a previous search are still
  coming in from the backend, this way we can tell the frontend that this is
  the right time to clear the buffer (previously, sometimes the results would
  be mixed).
2012-03-25 13:25:55 +03:00
daaec407eb * fix compiler warning for newest gcc/g++ 2012-03-13 23:06:17 +02:00
f02bb34188 * make mu compile warning-free with clang/clang++ 2012-02-29 21:08:23 +02:00
3bb93a401b * update attachment extraction code:
- only consider 'leaf', 'message' parts in for_each
   - special handling for gmimemessage
   - some cleanups
2012-02-13 22:35:22 +02:00
6e4b354923 * mu-cmd-server.c: fix backend problem when forwarding messages with attachments 2012-02-09 21:21:23 +02:00
288f987b2f * features: mark messages as read/unread 2012-02-09 21:10:33 +02:00
b2deffa954 * mu-cmd-server.c: improve output a bit (for humans) 2012-01-21 11:10:53 +02:00
3ecc81a879 * mu-cmd-server: use mu_msg_part_save_temp, some refactoring 2012-01-15 14:10:44 +02:00
6e3e425c66 * when forwarding, include attachments from original 2012-01-14 12:55:50 +02:00
6ddb4423fd * minor 2012-01-07 14:41:18 +02:00
7641722130 * mu-cmd-server.c: fix line33 check 2012-01-07 14:39:10 +02:00
530c69f763 * cosmetics 2012-01-07 14:26:34 +02:00
4d6ea2346b * mu-cmd-server: properly report errors when moving/flagging 2012-01-06 17:23:33 +02:00
4dbb05f33c * add support for org-mode links to messages/queries
- org-mu4e.el: add "mu4e:"-link type and handlers to org-mode
  - Makefile.am: add org-mu4e.el to package
  - mu4e-hdrs.el: register handler functions for server data *outside* header
    mode, so they can be used independently (and we can link to messages even
    when mu4e is not active already)
  - mu4e-view.el, mu-server.1, mu-proc.el, mu-cmd-server.c: support viewing
    messages by msgid (rather than only by docid); document it
2012-01-06 12:31:28 +02:00
a2aed887ba * mu-cmd-server/mu-server.1: cleanup 'mkdir', add documentation 2011-12-28 10:01:28 +01:00
b7faa8e5cf * mu-cmd-server.c: work around issue where partial results were not sorted 2011-12-28 09:47:01 +01:00
f393b229e9 * mu-cmd-server.c: cosmetic 2011-12-27 12:16:57 +01:00
0f40dccdbd * minor / cosmetic 2011-12-23 19:09:03 +02:00
54bbe4dcf9 * mu-cmd-server.c: fix bogus error when saving attachments 2011-12-22 21:20:35 +02:00
85504f02f1 * mu-cmd-server.c: some refactoring. pass make line33 again. 2011-12-20 21:42:24 +02:00
ba5dc29555 * mu-cmd-server.c: remove readline support 2011-12-13 08:03:45 +02:00
37c884aa2e * mm + mm-cmd-server: implement 'ping' -> startup version check 2011-12-13 07:44:45 +02:00
8bc4d3c113 * <many>: add possibility to limit max number of search results 2011-12-07 08:15:48 +02:00
5b1c00d330 * misc changes 2011-12-01 21:32:48 +02:00
a5a9b995e0 * mu-cmd-server.c: code cleanup for make cc10/line33 2011-11-24 00:14:46 +02:00
7efb577279 * improve thread information, allow for better display in mm 2011-11-20 01:20:38 +02:00
ff4ca20a6f * cosmetics 2011-11-13 12:49:24 +02:00
39c126b51b * don't send dummy data anymore -- no longer needed 2011-10-26 21:59:53 +03:00
e28d2d3e3b * add '(:found <n>)' 2011-10-25 08:42:57 +03:00
2010df4dad * mu-cmd-server.c: add ugly work-around to ensure emacs interprets messages at once 2011-10-18 10:40:41 +01:00
7e5df3c090 * mu-cmd-server.c: add signal handling 2011-10-10 08:36:01 +03:00
1385969d22 * mu-cmd-server.c: use unbuffered writing for output 2011-10-03 09:13:24 +03:00
a4646b29f1 * mu-cmd-server.c: improve error handling, support flagging message by message-id 2011-10-02 21:34:27 +03:00
c9c316efdc * mu-cmd-server: cleanups, add support for editing existing messages 2011-09-30 08:36:00 +03:00
406aeb6e29 * mu-cmd-server.c: by default, sort by date in reverse order 2011-09-22 21:01:18 +03:00
5866220781 * mu-cmd-server.c: don't give double error notifications 2011-09-20 23:59:07 +03:00
4105f15ca0 * mu-cmd-server, m-msg-part.c: add support opening, extracting attachments 2011-09-20 00:21:37 +03:00