B. Petersen
|
7e11def527
|
make code more readable
|
2019-09-09 00:01:15 +02:00 |
|
dignifiedquire
|
f3e53a05a6
|
refactor(loginparam): rename dc_loginparam -> login_param
|
2019-09-08 18:48:57 +02:00 |
|
dignifiedquire
|
dd381a5c1c
|
refactor(loginparam): simplify and rustify
|
2019-09-08 18:48:57 +02:00 |
|
dignifiedquire
|
8eee449305
|
refactor(token): rustify
|
2019-09-08 18:35:20 +02:00 |
|
dignifiedquire
|
96e02af0da
|
refactor: rename dc_token to token
|
2019-09-08 18:35:20 +02:00 |
|
dignifiedquire
|
60fb1478c3
|
refactor(strencode): rustify some strencode methods
|
2019-09-08 15:50:28 +02:00 |
|
dignifiedquire
|
8e3cc192a5
|
fix(tools): make sure dc_truncate can handle arbitrary utf8 values
also adds proptests to make sure this is upheld
Should close #433
|
2019-09-08 14:00:04 +02:00 |
|
Simon Laux
|
0f939995d1
|
fix(job): "invalid job action" check
|
2019-09-08 13:39:59 +02:00 |
|
björn petersen
|
2e1bc9b14e
|
Merge pull request #458 from deltachat/fix-unknown
fix reading unknown origin
|
2019-09-08 12:24:51 +02:00 |
|
Friedel Ziegelmayer
|
fd1ac6ab2d
|
Remove some free() from Mozilla autoconfig (#457)
Remove some free() from Mozilla autoconfig
|
2019-09-08 11:53:41 +02:00 |
|
Friedel Ziegelmayer
|
d224924dc8
|
Change type of function from `const char *' to &str (#451)
Change type of function from `const char *' to &str
|
2019-09-08 11:51:16 +02:00 |
|
dignifiedquire
|
00e5ddd6f0
|
make enum reading from the db more robust
|
2019-09-08 11:29:40 +02:00 |
|
B. Petersen
|
d07ef01204
|
cargo fmt
|
2019-09-07 23:25:19 +02:00 |
|
B. Petersen
|
d8630b5029
|
fix reading of unknown/outdated origin
|
2019-09-07 22:21:38 +02:00 |
|
Alexander Krotov
|
3b397326f8
|
Store email parts as Rust str's
|
2019-09-07 20:23:08 +03:00 |
|
Alexander Krotov
|
81cabd08a9
|
Accept str instead of char* in read_autoconf_file
|
2019-09-07 20:20:25 +03:00 |
|
björn petersen
|
5663c7dec3
|
Merge pull request #453 from deltachat/fix-backup
Fix backup and housekeeping
|
2019-09-07 15:38:01 +02:00 |
|
dignifiedquire
|
6b7498a4b1
|
fix(contact): fix logic for create or add contact
Closes #448
|
2019-09-07 14:07:56 +02:00 |
|
B. Petersen
|
7f4ef493b9
|
be tolerant when reading unexpected NULL from the database and treat this as an empty string, compatible to core-c
|
2019-09-07 13:54:43 +02:00 |
|
B. Petersen
|
d9d0dee0d5
|
fix: use empty string for messages without text everywhere
|
2019-09-07 13:40:50 +02:00 |
|
Dmitry Bogatov
|
7d9fc682a0
|
cargo-fmt
|
2019-09-07 03:09:01 +00:00 |
|
Dmitry Bogatov
|
c4c08f2552
|
Remove ok_to_continue pattern from msg_prepare_raw()
This commit will fail CI due incorrect formatting. It is done
deliberately to simplify review process.
|
2019-09-07 03:06:13 +00:00 |
|
Dmitry Bogatov
|
400740fdba
|
Simplify prepare_msg_raw() using early return
This commit will fail CI due incorrect formatting. It is done
deliberately to simplify review process.
|
2019-09-07 03:03:35 +00:00 |
|
Dmitry Bogatov
|
42bce7c0bf
|
Remove last C string from prepare_msg_raw()
|
2019-09-07 02:54:28 +00:00 |
|
Dmitry Bogatov
|
a2281489a6
|
Create safe version of msgid-generating function
|
2019-09-07 02:35:13 +00:00 |
|
Dmitry Bogatov
|
9bf7b0bf96
|
Use more of Rust, less of C strings in prepare_msg_raw()
|
2019-09-07 01:39:26 +00:00 |
|
Dmitry Bogatov
|
1f82ba74aa
|
Remove redundant checks in prepare_msg_raw()
|
2019-09-06 23:24:39 +00:00 |
|
Dmitry Bogatov
|
1062ac6ade
|
Drop unsafe version of get_parent_mime_headers function
|
2019-09-06 23:15:31 +00:00 |
|
Dmitry Bogatov
|
aa5304a4f3
|
Use safe version of `get_parent_mime_headers()' function
|
2019-09-06 23:15:31 +00:00 |
|
Dmitry Bogatov
|
3a57ba1142
|
Implement safe version of `get_parent_mime_headers' function
|
2019-09-06 23:15:31 +00:00 |
|
Dmitry Bogatov
|
c0e7293360
|
Change return type of clist_search_string_nocase to `bool'
|
2019-09-06 23:15:31 +00:00 |
|
Dmitry Bogatov
|
dc1839760c
|
Simplify clist_search_string_nocase using Iterator interface
|
2019-09-06 23:15:31 +00:00 |
|
Dmitry Bogatov
|
a4e4b0fc17
|
Rustify type of dc_mimeparser_t.subject
|
2019-09-06 23:15:31 +00:00 |
|
Dmitry Bogatov
|
743e4deb36
|
Remove dc_mimepart_unref function
Since there is no longer any manually-managed memory, associated with
`dc_mimepart_t' structure, default Drop instances does everything
automatically.
|
2019-09-06 23:15:30 +00:00 |
|
Dmitry Bogatov
|
1d75f8478c
|
Rustify type of dc_mimepart_t.msg_raw
|
2019-09-06 23:15:27 +00:00 |
|
B. Petersen
|
cc0428aa50
|
really check all rows when searching for referenced files
|
2019-09-06 15:15:06 +02:00 |
|
B. Petersen
|
4be481275f
|
clearer naming
|
2019-09-06 14:32:17 +02:00 |
|
Dmitry Bogatov
|
28cfe36f43
|
Change type of dc_mimeparser_t.decryption_failed to bool
|
2019-09-06 03:48:41 +00:00 |
|
Dmitry Bogatov
|
e0df78c5f7
|
Change type of dc_mimepart_t.is_meta to bool
|
2019-09-06 03:41:18 +00:00 |
|
Dmitry Bogatov
|
4d8b058b65
|
Change type of dc_mimeparser_t.is_forwarded to bool
|
2019-09-06 03:36:54 +00:00 |
|
Dmitry Bogatov
|
da25611758
|
Change type of function from `const char *' to &str
|
2019-09-06 03:05:12 +00:00 |
|
B. Petersen
|
27732c85af
|
mark actually safe function as such
|
2019-09-06 00:55:50 +02:00 |
|
B. Petersen
|
5ffc84eb59
|
remove unused functions
|
2019-09-06 00:55:50 +02:00 |
|
holger krekel
|
0a6e540394
|
rename dc_securejoin to securejoin.rs
|
2019-09-05 22:55:25 +02:00 |
|
holger krekel
|
9f09c73ec1
|
make secure_join flow more readable by using and adding a few macros, tiny api changes
|
2019-09-05 22:55:25 +02:00 |
|
holger krekel
|
4bbab876ae
|
majorly de-indent code structure in secure_join by introducing cleanup function, also majorly reducing unsafety in several places
|
2019-09-05 22:55:25 +02:00 |
|
holger krekel
|
b2fafeff19
|
use some BOB and VC constants instead of raw numbers
|
2019-09-05 22:55:25 +02:00 |
|
holger krekel
|
79510a83de
|
- remove many *libc::char usages, and c-pointer from fingerprint
- rustify get_chat_id_by_grpid and streamline returned chat id handling (thereby apprently fixing the test, don't ask)
|
2019-09-05 22:55:25 +02:00 |
|
holger krekel
|
dd0afdfeb0
|
add QR based join-group API, with test and SEGFAULT fix to rust
|
2019-09-05 22:55:25 +02:00 |
|
holger krekel
|
2920732435
|
(dignifiedquire, hpk, jikstra)
- fix and test peerstate::from_fingerprint
- add and test python API for secure-join QR + setup-contact
|
2019-09-05 22:55:25 +02:00 |
|