Alexander Krotov
ffa6378108
Fix clippy warnings in deltachat-ffi
2019-12-27 10:28:50 +00:00
B. Petersen
f73ba895af
remove some meanwhile unneeded allow-statements
2019-12-26 16:26:06 +00:00
B. Petersen
cb2a1147f0
fix searching for localized device chats
2019-12-26 16:23:42 +00:00
B. Petersen
6702ef4a71
add a failing test that does not fine localized device chats
2019-12-26 16:23:42 +00:00
Alexander Krotov
1d46791364
Add more Yandex domains
2019-12-26 01:48:28 +00:00
björn petersen
f61846dec9
Merge pull request #1107 from deltachat/list-language-bindings
...
list language bindings in README
2019-12-26 01:35:31 +01:00
B. Petersen
4776e196da
add frontend projects to README
2019-12-26 00:42:07 +01:00
B. Petersen
839a48b678
list language bindings in README
2019-12-26 00:42:07 +01:00
Alexander Krotov
e203901224
Better logging message for job deletion
...
The logging message printed for successful job completion said that the
job "cannot be retried" even when it does not need to be retried.
2019-12-24 10:47:29 +00:00
Alexander Krotov
76d03f7fd2
Log SMTP connection failure errors
2019-12-23 07:14:11 +01:00
holger krekel
7f5e3aaaf7
add changelog for device-chat fix
1.0.0-beta.22
2019-12-22 05:45:27 +01:00
B. Petersen
5bfbae4b00
add test for delete_and_reset_all_device_msgs()
2019-12-22 05:44:09 +01:00
B. Petersen
521a854635
delete and reset device-messages on import; this avoids wrong information in the device chat and allows adding correct information again
2019-12-22 05:44:09 +01:00
B. Petersen
ce15ef2db9
prep beta22
2019-12-22 05:42:33 +01:00
holger krekel
6d5cf89d33
enable link-time-optimization
2019-12-21 23:09:15 +00:00
holger krekel
b3b984f351
also "cargo update", pulls in aysnc-std 1.4.0
2019-12-21 23:09:15 +00:00
holger krekel
d5a0f1e711
use latest lettre master that contains the normalization fix
2019-12-21 23:09:15 +00:00
Alexander Krotov
67c36f3d98
Use usize to get pointer size
...
According to Rust documentation, usize is "The pointer-sized unsigned
integer type".
This change removes unnecessary libc dependency and makes top_evil_rs
script happier.
2019-12-21 23:07:35 +00:00
Alexander Krotov
8e0a29e9b5
Stop using Event callback return values
...
Since stock string callback has been deprecated, all event callbacks
return 0.
For compatibility, C declarations are not changed and FFI users are
expected to return 0 from their callbacks.
2019-12-21 22:51:44 +00:00
Alexander Krotov
47be879445
fix(job): log all job events in job_perform()
2019-12-21 15:24:30 +00:00
Alexander Krotov
860f8a7906
refactor(job): refer to std:: only once
...
This change unifies how we refer to std::time::Duration across the module.
2019-12-21 15:24:30 +00:00
Alexander Krotov
5d9baa053a
refactor(job): implement Display for Job
2019-12-21 15:24:30 +00:00
Alexander Krotov
da174eae71
refactor(job): use Display to print Thread in job_perform()
2019-12-21 15:24:30 +00:00
björn petersen
7fac71aa81
Merge pull request #1094 from deltachat/tweak-repl
...
use println!() for all repl outputs
2019-12-21 16:00:27 +01:00
B. Petersen
7d51c1140d
use println!() for all repl outputs
...
in the very beginning, we allowed using the cmdline partly from the ui
via a special function; this made info!() handy.
however, this is long gone and no longer needed.
2019-12-21 13:09:38 +01:00
Alexander Krotov
cd198223ea
Remove unwrap() from time() function
...
This change is a part of the effort to enable clippy::option_unwrap_used and clippy::result_unwrap_used
2019-12-21 08:58:41 +01:00
Alexander Krotov
300fff40e3
refactor(smtp): remove unused SendTimeout Error variant
...
It was used when timeout was set on the whole smtp.send() operation.
Now only the operations inside smtp.send() can timeout, and such timeout
errors result in SendError, so SendTimeout is unused.
2019-12-21 08:57:29 +01:00
Floris Bruynooghe
08abac350d
Tweak the python readme a bit more.
2019-12-21 00:10:45 +00:00
shubhank008
a57decf8be
Up to date Readme.rst
...
-Moved wheels installation below source installation and added comment that they are outdated and not working atm
-Updated source compilation/installation to a more step by step process as current one was outdated and not working due to Rust now needing nightly build else failing to compile (subtle v2.2.2 do not work without nightly)
2019-12-20 21:14:16 +01:00
holger krekel
ee95e59243
"cargo update"
2019-12-20 18:11:29 +01:00
holger krekel
b0694bcf2c
prep beta21
1.0.0-beta.21
2019-12-20 15:17:59 +01:00
Alexander Krotov
c9f6e31ca9
Move dc_simplify.rs to simplify.rs
2019-12-20 12:55:57 +01:00
Alexander Krotov
fe4080d59f
refactor(simplify): move dehtml dependency to mimeparser
...
This change also removes unnecessary String clone for HTML messages.
2019-12-20 12:55:57 +01:00
B. Petersen
7f6a1ad1a7
add some empty lines to enums & co to make things more readable and to avoid errors this way :)
2019-12-20 12:55:42 +01:00
Alexander Krotov
980bb35441
refactor(mimefactory): use iter::repeat_with instead of (0..)
2019-12-20 12:55:25 +01:00
holger krekel
01df2e2dc7
fix #1077 for unknown senders in a group chat (such as mailer daemons): don't recreate member list and show a special stockstring-ed message advising to hit "more info".
2019-12-20 11:59:10 +01:00
Floris Bruynooghe
ec40dd1b6f
Change the JSON API function to be from a serialised struct
...
This is the first experiment towards using structs to define the API.
It adds it as a new method on the existing Chat struct.
The types in this struct could improve as well as many other things.
But this is a straight forward translation of the existing json! macro
into a struct.
2019-12-20 10:39:39 +01:00
Alexander Krotov
f2f8898004
fix(mimefactory): wrap base64-encoded attachments to 78 columns
...
RFC5322 requires emails to be wrapped to 78 columns excluding CRLF.
2019-12-20 09:11:35 +01:00
björn petersen
3afa37c6ea
Merge pull request #1075 from deltachat/prepare_beta20
...
prep 1.0.0-beta.20
1.0.0-beta.20
2019-12-19 17:17:26 +01:00
holger krekel
8c0ce38301
prep 1.0.0-beta.20
2019-12-19 16:55:24 +01:00
holger krekel
cc6aa3209c
fix the fix
2019-12-19 16:53:55 +01:00
holger krekel
76a86763dd
address @r10s comment
2019-12-19 16:53:55 +01:00
holger krekel
09fb039528
another reverse mut bites the dust
2019-12-19 16:53:55 +01:00
holger krekel
174d3300c4
not sure it's much better but using a static-sized array is probably better than a dynamically sized vec, thanks @dignifiedquire
2019-12-19 16:53:55 +01:00
holger krekel
8b57ce1792
remove unused include_in_contactlist
2019-12-19 16:53:55 +01:00
holger krekel
6c14e429eb
Origin::is_verified() -> Origin::is_known() because this has nothing to do with verified groups or contacts
2019-12-19 16:53:55 +01:00
holger krekel
5f200c6bc3
don't pass incoming_origin as &mut as the caller doesn't need it
2019-12-19 16:53:55 +01:00
holger krekel
d52347ee1d
also don't pass "to_id" and don't make it mut inside add_parts
2019-12-19 16:53:55 +01:00
holger krekel
d0d9aa4400
- move CC-parsing next to To-parsing where it blongs
...
- pass to_ids and from_id as immutable to add_parts
2019-12-19 16:53:55 +01:00
holger krekel
c3d909c818
add a test that contacts are properly created and fix ordering in dc_receive_imf to pass the test
2019-12-19 16:53:55 +01:00