B. Petersen
a4e92694ba
name unlabelled device-messages as such
2019-11-18 16:47:18 +01:00
B. Petersen
035da9e5d7
add dc_skip_device_msg() and belonging tests
2019-11-18 16:47:18 +01:00
B. Petersen
fed6f4ab8a
do not re-add device-messages deleted by the user
2019-11-18 16:47:18 +01:00
B. Petersen
b42d8799b4
add dc_add_device_msg_once() to fii
2019-11-12 16:10:48 +01:00
B. Petersen
154cb2db83
add missing DC_STR_DEVICE_MESSAGES
2019-11-10 16:31:12 +01:00
B. Petersen
34f9961857
restore config-param if configure() fails
2019-11-06 22:59:14 +01:00
B. Petersen
515f0c5089
correct ffi return value of dc_add_device_msg()
2019-11-06 13:33:30 +01:00
B. Petersen
4c30bf80ce
target comments of @flub
2019-11-06 13:33:30 +01:00
B. Petersen
50539465b9
prototype a device-chat
2019-11-06 13:33:30 +01:00
B. Petersen
be08bcb22b
rename DC_CONTACT_ID_DEVICE to DC_CONTACT_ID_INFO to be in-line with dc_msg_is_info()
2019-11-06 13:33:30 +01:00
B. Petersen
ec8dbddcfb
tweak ffi documentation wrt certificate checks
2019-11-01 18:06:01 +01:00
B. Petersen
bc699f17d9
avoid usage of get_subtitle() in repl-tool, remove dc_chat_get_subtitle() from documentation.
2019-11-01 13:19:47 +01:00
B. Petersen
7530abd581
remove unneeded const attribtute
2019-10-30 16:36:28 +01:00
B. Petersen
62019f57e9
fix some doxygen links and overviews
2019-10-30 16:09:04 +01:00
holger krekel
911c0e45dc
expose empty server functionality and test it (also introducing a new DC_EVENT_IMAP_FOLDER_EMPTIED event)
2019-10-29 22:19:13 +01:00
Alexander Krotov
c85f1b20ca
Add constants for certificate checks configuration
2019-10-27 11:51:14 +01:00
B. Petersen
e1fc5863c2
target comments of @hpk42
2019-10-10 00:29:52 +02:00
B. Petersen
f0791149e6
document dc_str_unref()
2019-10-10 00:29:52 +02:00
B. Petersen
297b032bdc
fix doxygen, some rewording
2019-10-10 00:29:52 +02:00
holger krekel
24c0a833bd
address @flub comments
2019-10-09 15:59:31 +02:00
holger krekel
45f011c63c
expose and test set_stock_translation to Python
2019-10-09 15:59:31 +02:00
holger krekel
b82af9fff3
introduce set_stock_translation and remove call to DC_EVENT_GET_STRING
2019-10-09 15:59:31 +02:00
holger krekel
603761e4b7
add DC_EVENT_DELETED_BLOB_FILE
2019-10-03 18:01:56 +02:00
holger krekel
467c09f491
introduce DC_EVENT_NEW_BLOB_FILE event and test for it
2019-10-03 18:01:56 +02:00
holger krekel
509a21ff05
introduce DC_IMAP_MESSAGE_MOVED event and try harder to send out MDNs
2019-10-02 23:51:14 +02:00
holger krekel
96066712bd
add and test for DC_IMAP_MESSAGE_DELETED event
2019-10-02 23:51:14 +02:00
björn petersen
c376de9b5e
add sticker type ( #653 )
...
* add sticker type
this pr adds the message type 'sticker'.
stickers are handled as normal images
but tagged with the header `Chat-Content: sticker`
it's up to the ui to render these stickers appropriate.
* cargo fmt
2019-09-30 20:55:27 +02:00
B. Petersen
3a16ad89bd
make ffi-string-parameter const
...
typically, nearly all string-parameters in the ffi should be const.
one of the few exceptions is dc_str_unref() that really modifies the given data.
2019-09-28 02:56:27 +02:00
Floris Bruynooghe
69f1497986
Make dc_get_info() work on a closed context
...
There is very little API guarantees about this, but clients seem to
expect *something* to work on a closed context. So split this up into
static info an more dynamic context-related info, but let's not
provide any guarantees about what keys are available when.
Fixes #599
2019-09-26 14:22:03 +02:00
holger krekel
91b98e8c6d
as discussed during camp and otherwise ... add dc_perform_{mvbox,sentbox}_jobs hooks which, however, for now have an empty implementation. They can already be called from UIs, though. Next step is refactoring imap-job handling to only execute jobs belonging to the respective imap folder.
2019-09-20 01:03:25 +02:00
B. Petersen
4f880932ae
change oder of typedefs, function-definitions and defines
...
as c is top-down, we start with the typedefs
so that functions can use them freely.
after that, the functions are declared
and finally the #defines (for less noise in the function sections).
grouping is done by classes.
2019-09-19 12:58:26 +02:00
B. Petersen
62e8c2497c
add missing doxygen commands, fix typo
2019-09-19 12:58:26 +02:00
Simon Laux
37f854be3e
Add provider info functions to the FFI API
...
A lot of work from @Hocuri and @Simon-Laux mostly.
This exposes the API of the deltachat-provider-overview crate on the
deltachat FFI API, allowing clients to use it to help users set up
their accounts.
2019-09-19 07:17:44 +02:00
Floris Bruynooghe
a3f64d4e95
Handle new Context creation API on the FFI
...
This adopts the FFI API to use the new Context::new() and
Contest::drop() Rust-style APIs while preserving the semantics of the
existing FFI API. It introduces a wrapper around the context which
keeps an optional reference to the actual context, changing dc_open()
and dc_close() to create/destroy the actual reference.
This changes the events emitted on closing slightly: they only get
emitted when dc_close() was called while the context was open. While
dc_close() remains idempotent in that it can still be called safely
multiple times, the close events will only occur if the context is
actually closed.
2019-09-15 02:37:13 +02:00
B. Petersen
f13b068479
remove accidentally added function body
2019-08-26 19:17:58 +02:00
B. Petersen
850941bf8b
target doxygen warnings
2019-08-26 19:17:58 +02:00
B. Petersen
3eea175d36
ffi docs for dc_lot_t
2019-08-26 19:17:58 +02:00
B. Petersen
8f24ff74dd
ffi docs for dc_contact_t
2019-08-26 19:17:58 +02:00
B. Petersen
6fab7d0a27
ffi docs for dc_msg_t
2019-08-26 19:17:58 +02:00
B. Petersen
7cc52e0a55
ffi docs for dc_chat_t
2019-08-26 19:17:58 +02:00
B. Petersen
aa0801014a
ffi docs for dc_chatlist_t
2019-08-26 19:17:58 +02:00
B. Petersen
9e379338bc
ffi docs for dc_array_t
2019-08-26 19:17:58 +02:00
B. Petersen
ba62d13a14
ffi docs for dc_context_t
2019-08-26 19:17:58 +02:00
dignifiedquire
cb6c8ac78b
refactor(msg): use rust based allocations
2019-08-19 12:10:26 +02: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
B. Petersen
5af800b16a
declare void function as such
2019-08-15 23:52:04 +02:00
Alexander Krotov
29d4f6888d
Store IDs in dc_array as u32
...
This changes dc_array_get_raw API
2019-08-15 01:54:51 +02:00
Alexander Krotov
5b47409fb0
Remove unused dc_array_* API
2019-08-15 01:54:51 +02:00
Alexander Krotov
686678c96c
Spellcheck
2019-07-21 21:40:19 +02:00
Lars-Magnus Skog
18c0d9f83b
chore: update version to 1.0.0-alpha.0
2019-06-07 13:36:15 +02:00