Dmitry Bogatov
57daa0f7f0
Remove useless argument of logging macros
...
Previously, logging macros (info! warn! error!) accepted integer
argument (data1), that was passed to callback function verbatim. In all
call sites this argument was 0.
With this change, that data1 argument is no longer part of macro
interface, 0 is always passed to callback in internals of these macros.
2019-09-10 22:26:47 +00:00
Alexander Krotov
e5ad697466
Make dc_msg_exists safe and rusty
2019-09-10 14:21:27 +03:00
Alexander Krotov
77c9746be5
Make dc_msg_get_filemime safe
2019-09-09 19:45:43 +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
dignifiedquire
00e5ddd6f0
make enum reading from the db more robust
2019-09-08 11:29:40 +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
Alexander Krotov
b5a9cc1380
Convert DC_*_ID_* constants to u32
2019-09-01 23:41:05 +03:00
Dmitry Bogatov
a6928c29e8
Fix one clippy::unneeded_unwrap warning
2019-08-28 00:23:15 +00:00
Dmitry Bogatov
2fe07e86c7
Replace explicit casts from 0 to pointer with std::ptr::null
2019-08-27 21:22:03 +00:00
dignifiedquire
a1a85270e6
fix(message): avoid nested sql statement in dc_get_msg_info
...
Closes #410
2019-08-27 14:27:37 +02:00
dignifiedquire
39abb0b0ad
refactor(message): rename dc_msg to message
2019-08-19 12:13:11 +02:00