Alexander Krotov
489f25940f
Update to the latest rust-imap
...
It uses imap-proto 0.8.1 instead of outdated 0.7.0.
2019-09-03 19:14:56 +03:00
Dmitry Bogatov
6288909481
Refactor is_known_rfc724_mid() to use Iterator interface
2019-09-03 16:08:52 +02:00
Dmitry Bogatov
c95f134963
Change return type of is_known_rfc724_mid_in_list() to bool
2019-09-03 16:08:52 +02:00
Simon Laux
024c2883c0
cargo fmt
2019-09-03 15:32:36 +02:00
Simon Laux
d7b0ecad75
transform current_block to ok_to_continue
2019-09-03 15:32:36 +02:00
B. Petersen
50947b81c0
set correct default value for inbox_watch
2019-09-03 15:31:17 +02:00
holger krekel
e5a1b721f1
try use py36 for uploads ( #429 )
...
* try use py36 for uploads
* another try
* another
2019-09-03 15:30:28 +02:00
Alexander Krotov
aeb1a88e7a
Remove dc_move.rs
...
and move dc_do_heuristics_moves to context.rs
2019-09-03 13:39:14 +02:00
Alexander Krotov
c406675d6a
Mark dc_do_heuristics_moves as safe
2019-09-03 13:39:14 +02:00
Alexander Krotov
1ec193991b
Make dc_token.rs safe
2019-09-02 20:57:22 +02:00
Simon Laux
1d09d2f0d1
cargo fmt
2019-09-02 18:00:23 +02:00
Simon Laux
5b993f601f
transform current_block to ok_to_continue
2019-09-02 18:00:23 +02:00
Alexander Krotov
77be6c4294
Merge pull request #424 from link2xt/chatlist_safe
...
Mark Chatlist::get_summary as safe
2019-09-02 11:45:12 +00:00
Alexander Krotov
1497f263dc
Mark Chatlist::get_summary as safe
2019-09-02 13:00:04 +03:00
björn petersen
d6e2798f5a
Merge pull request #416 from deltachat/as_u32
...
Convert DC_*_ID_* constants to u32
2019-09-02 10:22:18 +02:00
björn petersen
8e41037eb1
Merge pull request #422 from deltachat/raw_mime_assert
...
mailmime_get_mime_type: do not dereference null pointer
2019-09-02 10:20:36 +02:00
björn petersen
0bcd3bc94e
Merge pull request #423 from KAction/fix-master2
...
unbreak master
2019-09-02 10:19:57 +02:00
Dmitry Bogatov
fb5d53226d
Fix errorneous ffi check in dc_send_msg
2019-09-01 22:45:49 +00:00
Alexander Krotov
b5a9cc1380
Convert DC_*_ID_* constants to u32
2019-09-01 23:41:05 +03:00
Alexander Krotov
1ba7368c6d
mailmime_get_mime_type: do not dereference null pointer
...
In C code there was a check for null pointer in reconcat_mime()
It did nothing if raw_mime was null.
Now the result is stored even when mailmime_get_mime_type is
explicitly called with null pointer.
This commit restores C core logic.
Fixes #420
2019-09-01 20:11:50 +03:00
Alexander Krotov
c1a78d9c3e
Merge remote-tracking branch 'kaction/clippy'
...
Fix clippy warnings.
2019-08-30 01:49:46 +03:00
björn petersen
ad36671adb
Merge pull request #414 from deltachat/forgiving-ffi
...
handle ffi-failures compatible to core-c
2019-08-29 21:54:23 +02:00
B. Petersen
8902d0843b
fix some return values
2019-08-28 18:32:34 +02:00
B. Petersen
010ac6a6ac
print message to stderr on careless ffi usage
2019-08-28 18:24:01 +02:00
B. Petersen
c71589a710
handle ffi-failures compatible to core-c
2019-08-28 13:46:47 +02:00
Dmitry Bogatov
9b70ea0595
Fix one clippy::unneeded_unwrap warning
2019-08-28 00:32:01 +00:00
Dmitry Bogatov
a6928c29e8
Fix one clippy::unneeded_unwrap warning
2019-08-28 00:23:15 +00:00
Dmitry Bogatov
3d9129c198
Fix one clippy::unneeded_unwrap warning
2019-08-28 00:17:12 +00:00
Dmitry Bogatov
cf8f37449c
Fix one clippy::unneeded_unwrap warning
2019-08-28 00:13:37 +00:00
Dmitry Bogatov
886870964b
Fix one clippy::unneeded_unwrap warning
2019-08-28 00:11:48 +00:00
Dmitry Bogatov
6a5e107e64
Fix one clippy::unneeded_unwrap warning
2019-08-28 00:09:40 +00:00
Dmitry Bogatov
723624b3f7
Fix one clippy::unneeded_unwrap warning
2019-08-28 00:06:49 +00:00
Dmitry Bogatov
634dfaa1ca
Fix one clippy::unneeded_unwrap warning
2019-08-28 00:03:07 +00:00
Dmitry Bogatov
2d00495d29
Fix one clippy::unneeded_unwrap warning
2019-08-28 00:01:09 +00:00
Dmitry Bogatov
ea964fd733
Fix one clippy::unneeded_unwrap warning
2019-08-27 23:58:50 +00:00
Dmitry Bogatov
dd5803e576
Fix one clippy::unneeded_unwrap warning
2019-08-27 23:18:42 +00:00
Dmitry Bogatov
85e16f6e82
Fix one clippy::unneeded_unwrap warning
2019-08-27 23:06:56 +00:00
Dmitry Bogatov
0a9f61783d
Fix one clippy::unneeded_unwrap warning
2019-08-27 23:00:37 +00:00
Dmitry Bogatov
19a0071585
Fix one clippy::unneeded_unwrap warning
2019-08-27 22:56:46 +00:00
Dmitry Bogatov
2fe07e86c7
Replace explicit casts from 0 to pointer with std::ptr::null
2019-08-27 21:22:03 +00:00
Dmitry Bogatov
22c1b34ebf
Remove 'unsafe' qualifier of dc_mimeparser_new()
2019-08-27 22:20:45 +02:00
Dmitry Bogatov
eca11a74d7
Change type of dc_mimepart_t.msg to Option<String>
2019-08-27 22:20:45 +02:00
Dmitry Bogatov
b3df24d188
Make dc_mimeparser_is_mailinglist_message() return bool, not int
2019-08-27 22:20:45 +02:00
Dmitry Bogatov
6fcd6419bd
Use named MAILMIME_* constants instead of numeric values
2019-08-27 22:20:45 +02:00
Dmitry Bogatov
edb0fa17af
Make dc_mimeparser::reconcat_mime() safe
2019-08-27 22:20:45 +02:00
Dmitry Bogatov
86eb9cc058
Change type of `dc_mimeparser_t.type_0' to constants::Viewtype
...
Adjust use sites accordingly.
2019-08-27 22:20:45 +02:00
Dmitry Bogatov
47c0526026
Avoid separate declaration and definition of `need_drop' variable
2019-08-27 22:20:45 +02:00
Dmitry Bogatov
f5416b1c2c
Drop deprecated S_GENERATE_COMPOUND_MSGS flag
...
There is no code that modifies this flag anyway.
2019-08-27 22:20:45 +02:00
Dmitry Bogatov
a9f42f7a9e
dc_mimeparser_parse(): avoid mutability of `has_setup_file' variable
2019-08-27 22:20:45 +02:00
Dmitry Bogatov
7650e1c7df
Narrow type of dc_mimeparser_t.is_send_by_messenger to bool
2019-08-27 22:20:45 +02:00