Commit Graph

1157 Commits

Author SHA1 Message Date
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
f43f704429 * test-mu-util.c: remove broken test case 2012-03-19 20:54:23 +02:00
acf1cd63f2 * fix mu_util_guess_maildir, mu_util_guess_mu_homedir for freebsd 2012-03-19 20:53:18 +02:00
2a6c9bebd6 * mu-msg-file.c: mu_msg_mime_part_to_string: less noisy handling of broken messages 2012-03-19 20:50:12 +02:00
027f870322 * tests: don't use mu_util_init_system, small cleanups 2012-03-19 20:49:19 +02:00
de4836a874 * mu-runtime.c, mu-util.c: remove mu_util_init_system
- no longer needed, since we no longer need to special case the BSDs
2012-03-19 20:47:38 +02:00
58ecdd78b7 * mu-maildir.c: clear up maildir scanning
- improve handle of special dirs/files (add dovecot special-casing)
  - clear up struct direntry* mem management
2012-03-19 20:46:17 +02:00
2a7b6f1304 * test-mu-cmd-cfind.c: fix unit tests for ubuntu 10.04
the tests made unwarranted assumptions about the order in which addresses
  are returned.
2012-03-19 00:14:48 +02:00
eb9aafa8d8 * fix logic screwup in determining submailddirs of dirs starting with 'c' or
'n'; based on a patch by Jack Erwin
2012-03-18 12:22:00 +02:00
e80c4c9124 * tests/: fix test cases for freebsd (and other bsds) 2012-03-14 21:33:06 +02:00
ba10026dc2 * some warning fixes for gcc 4.1.1 2012-03-14 00:07:29 +02:00
daaec407eb * fix compiler warning for newest gcc/g++ 2012-03-13 23:06:17 +02:00
28c6f2d8d7 * mu-msg-part: g_mime_data_wrapper_write_to_stream returns ssize_t, not
gboolean
2012-03-11 10:40:49 +02:00