Commit Graph

1169 Commits

Author SHA1 Message Date
58dc869017 * fix: shortcut for signed is 'z', not 's'; add some unit tests as well 2012-05-11 18:39:00 +03:00
9db172792d * mu-str.c: do some more massaging for xapian queries with brackets, add unit tests 2012-05-04 20:58:34 +03:00
1bbca9e1eb * small fixes in address generation, mu:contact->string 2012-05-04 14:52:45 +03:00
3bb3514198 * mu-cmd-find.c: don't try to summarize a NULL body 2012-05-04 09:40:38 +03:00
e2a0fc31cf * some small fixes for passing 'make cc10' and 'make line35' 2012-04-30 17:32:34 +03:00
3e64a90e64 * don't concatenate all text parts in message body 2012-04-28 13:48:52 +03:00
b57f1e3314 * mu-cmd-server.c: add some comment 2012-04-28 13:46:03 +03:00
5013f4c23d * add --summary-len option for mu find and mu view, and document it 2012-04-28 12:56:57 +03:00
9e8863f5e0 * cosmetic 2012-04-28 09:13:08 +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
b48a9e5276 * cosmetic 2012-04-21 12:45:03 +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
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
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
c3f63bb4c0 * mu-str.c, test-mu-query.c: ensure all unit tests pass 2012-04-13 22:12:44 +03:00
3ba8919faf * update unit tests for new escaping 2012-04-13 22:05:17 +03:00
526cc75c7c * mu-store-write.cc: small updates for api changes, cleanups 2012-04-13 22:04:06 +03:00
607fdd01f5 * mu-query.cc: use mu_util_g_set_error 2012-04-13 22:03:23 +03:00
ece0bc5bae * introduce mu_util_g_set_error, a g_set_error wrapper 2012-04-13 21:58:58 +03:00
b63bebfa91 * mu-str.c: improve escaping of query terms 2012-04-13 21:51:57 +03:00
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
ec7f865580 * shorten mu_cmd_server a bit, so it satisfies `make line35' 2012-04-12 08:59:20 +03:00
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
2a23762f6f * cosmetics 2012-04-11 01:15:42 +03:00
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
9a59e3d8a1 * mu-cmd-server.c: fix off-by-one in number of matches to display 2012-04-07 19:07:48 +03:00
ee840997c3 * fix memleak in threading 2012-04-05 23:08:48 +03:00
3db459b19a * mu-cmd-server.c: fix error handling 2012-04-04 17:56:52 +03:00
34091dcbda * mu-msg-part.c: fix errr handling in write_part_to_fd 2012-04-04 17:56:01 +03:00
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
140f9cc562 * set the domain in g_set_error, to prevent runtime-warnings with recent glib 2012-04-03 19:37:07 +03:00
d421f4bff6 * small leak fixes 2012-04-03 19:36:43 +03:00
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
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
aa952aa430 * mu-stored-read.cc: don't do excessive logging 2012-04-01 12:29:44 +03:00
f11160aece * cosmetics 2012-04-01 12:29:24 +03:00
62d455ad7e * cosmetic 2012-03-31 17:20:28 +03:00
e7e84ed08a * updates for new mu_str escaping function, better error handling 2012-03-30 19:02:46 +03:00
2a105f1612 * mu-util.h: fix catch-macro for the case where the GError is set already 2012-03-30 19:02:07 +03:00
7f0ec697d8 * mu-str etc.: improve escaping (for gmail folder names) 2012-03-30 18:45:06 +03:00
6e2c3bf726 * mu-store-read.cc: cosmetic 2012-03-30 09:16:08 +03:00
5daa703678 * mu-msg.c: fix for mu_msg_move_to_maildir for top-level messages 2012-03-29 19:49:39 +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
86a1424b17 * mu-maildir.c: ignore emacs temp files 2012-03-26 22:54:30 +03:00
07926fd72e * mu-store.cc: add include unistd.h; this is needed by g++ 4.7 (as noted by
Tom Willemsen)
2012-03-26 21:17:38 +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
6bc7ce040e * mu-maildir.c: small cleanups 2012-03-24 11:17:54 +02:00