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 |
|
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
|
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 |
|
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
|
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 |
|
Alexander Krotov
|
b5a9cc1380
|
Convert DC_*_ID_* constants to u32
|
2019-09-01 23:41:05 +03: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 |
|
dignifiedquire
|
39abb0b0ad
|
refactor(message): rename dc_msg to message
|
2019-08-19 12:13:11 +02:00 |
|
dignifiedquire
|
cb6c8ac78b
|
refactor(msg): use rust based allocations
|
2019-08-19 12:10:26 +02:00 |
|
Friedel Ziegelmayer
|
a906faeb35
|
refactor: a rusty job
* refactor(jobthread): safe and rusty
* refactor(job): rusty and safe
|
2019-08-19 12:07:13 +02:00 |
|
Alexander Krotov
|
1a8e08e429
|
Merge pull request #396 from deltachat/chat-array
Remove dc_array_t from chat.rs
|
2019-08-19 06:55:58 +00:00 |
|
dignifiedquire
|
886262539a
|
refactor: save lot implementation and follow up refactors
rewrote qr code to match the now safe lot
|
2019-08-19 08:06:54 +02:00 |
|
Alexander Krotov
|
e7cf5a546a
|
Remove dc_array_t from chat.rs
|
2019-08-18 23:02:16 +03:00 |
|
Alexander Krotov
|
6b2fe03d08
|
Replace dc_array_t with Vec in context.rs
|
2019-08-18 12:44:49 +02:00 |
|
dignifiedquire
|
13d8306a7b
|
refactor(chat): some minor cleanup and api improvements
|
2019-08-17 11:40:43 +02:00 |
|
dignifiedquire
|
9b1a74cc22
|
refactor(chat): remove C strings from the public interface
|
2019-08-17 11:40:43 +02:00 |
|
dignifiedquire
|
25e97df641
|
refactor(chat): store rust strings in the chat struct
|
2019-08-17 11:35:02 +02:00 |
|
dignifiedquire
|
001880e1f0
|
refactor(chat): first round of method renaming and restructuring
|
2019-08-17 11:34:10 +02:00 |
|
dignifiedquire
|
ddfd067e97
|
refactor(chat): rust based memory management
|
2019-08-17 11:30:26 +02:00 |
|
dignifiedquire
|
64117c2964
|
refactor(chat): rename dc_chat to chat
|
2019-08-17 11:30:26 +02:00 |
|