Commit Graph
225 Commits
Author SHA1 Message Date
jikstra a7e1b4653e Apply requested changes 2019-12-05 18:57:19 +01:00
holger krekel 74825a0f57 working example 2019-12-05 18:57:19 +01:00
holger krekel 4a23d12df2 add a ffi-definiton for a new get-chat summary function that returns json 2019-12-05 18:57:19 +01:00
holger krekel 4c68e6fe41 update deps 2019-12-04 09:11:21 +01:00
dignifiedquire db88212a64 refactor: unsafe, CStr and libc moved out 2019-12-03 12:25:22 +01:00
B. Petersen 521e44bd54 add ffi for update_device_chats() 2019-12-02 16:33:24 +01:00
holger krekel 76610f1e72 rename to more specific name, also not using the difficult to type "succeeded" word :) 2019-11-27 13:02:07 +01:00
B. Petersen f53b3c2e7b add DC_EVENT_SECUREJOIN_SUCCEEDED 2019-11-27 00:43:50 +01:00
holger krekel e2a86dd803 prepare beta8 2019-11-24 14:41:25 +01:00
holger krekel eae9ad6f8b remove context.inbox in favour of a context.inbox_thread following the mvbox_thread and sentbox_thread patterns. Also some streamlining of shutdown logic. 2019-11-22 12:28:19 +01:00
B. Petersen e4e6a00fe4 rename has_device_msg() to was_device_msg_ever_added() what describes better what the function is doing 2019-11-19 13:21:02 +01:00
B. Petersen 700e10bc0e use dc_add_device_msg() also to add labels-only, this is clearer as having a function with 'skip' in the name 2019-11-19 13:05:01 +01:00
B. Petersen d3fa289f27 streamline dc_add_device_msg_once|unlabelled() to one function 2019-11-19 11:49:02 +01:00
B. Petersen 1534a07ded add dc_has_device_msg() 2019-11-18 17:31:03 +01:00
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 b5d5d98645 implement add_device_msg() 2019-11-06 13:33:30 +01:00
B. Petersen cbaa4e03b3 basic devicetalk implementation 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 1a33b1c574 bump version 2019-11-05 17:04:44 +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 e4b3e23769 prefer to_string_lossy() over as_str() as the latter pancis on non-wellformatted utf-8 2019-11-01 00:46:48 +01:00
holger krekel 80d7e84e5d prepare 1.0.0-beta.6 2019-10-31 12:34:03 +01:00
holger krekel b01c842d7c bump version in toml's and changelog, and trigger deltachat-specific "cargo update". example: python set_core_version.py 1.0.0-beta.6 automates bumping the version and performs some quick sanity checks 2019-10-30 20:05:01 +01:00
holger krekel c56c10bced remove unneccessary check of is_special() + cleanups 2019-10-30 19:29:13 +01:00
holger krekel b0ccbc36d9 fix FFI-behaviour: return default empty messages when asked for special ones 2019-10-30 19:29:13 +01:00
holger krekel 9cdfc3409d systematically ignore invalid message ids when passed in through CFFI 2019-10-30 19:29:13 +01:00
B. Petersen 7530abd581 remove unneeded const attribtute 2019-10-30 16:36:28 +01:00
holger krekel a6594a9ae3 add changelog and bump to beta.4 2019-10-30 16:13:34 +01:00
B. Petersen 62019f57e9 fix some doxygen links and overviews 2019-10-30 16:09:04 +01:00
holger krekel d3c0d2ebb1 bump version 2019-10-29 22:38:25 +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
Floris Bruynooghe c8d296ea0e A MsgId newtype
This more strongly types the ubiquitous message id type by no longer
making it an integer.  It keeps the actual ID opaque.  Only for the
generic job API the number keeps being used.  Some locations also need
to create it from an integer and call MsgId::new().
2019-10-29 15:30:53 +01:00
Alexander Krotov 0aa1d1caa0 Merge pull request #749 from deltachat/fix-get-chat-id
let dc_get_chat_id_by_contact_id() returns 0 if no chat is found
2019-10-27 12:42:22 +00:00
Alexander Krotov c85f1b20ca Add constants for certificate checks configuration 2019-10-27 11:51:14 +01:00
B. Petersen 51f43842cf cargo fmt 2019-10-27 11:42:56 +01:00
B. Petersen 8015ba1d64 dc_get_chat_id_by_contact_id() returns 0 if no chat is found.
this is no error;
in fact, the function is used to probe
if there is a chat with a given contact at several places
eg. in the android-ui.
2019-10-26 18:37:33 +02:00
holger krekel 131889cdfb add beta2 changelog, bump version to 1.0.0-beta.2 2019-10-22 17:50:23 +02:00
Dmitry Bogatov a9dd78f622 Narrow return type of location::set: cint -> bool 2019-10-19 22:38:43 +02:00
B. Petersen 7b958a20fd prefer to_string_lossy() over as_str() as the latter pancis on non-wellformatted utf-8 2019-10-19 22:30:25 +02:00
B. Petersen 4519071718 prefer to_opt_string_lossy() over as_opt_str() as the latter pancis on non-wellformatted utf-8 2019-10-19 22:30:25 +02:00
B. Petersen bb08b39c71 remove duplicated code 2019-10-19 22:30:25 +02:00