Commit Graph

18 Commits

Author SHA1 Message Date
b6fbcfeeb8 Track connection state and implement more properties
Empathy still doesn't show us as connected. I think we need to add the
Requests and Contacts interfaces (which we're advertising as a minimal
requirement, but not implementing) before it will.
2020-05-12 23:52:52 +01:00
ef43c81955 Don't start delta until the connect signal is received
We also introduce a sleep() to "fix" a race condition where empathy
tries to contact the connection bus name before the thread has gotten
around to starting it. That really needs fixing better, but for now
I'm focused on basic functionality.
2020-05-12 22:28:36 +01:00
ef1342f372 Move account name escaping code to the end 2020-05-12 22:12:08 +01:00
2a565b3ee7 Deltachat connects on connection startup 2020-05-12 01:25:48 +01:00
9151f64a6d Use AsRefClosure when generating the bindings
This simplifies things significantly \o/
2020-05-11 00:48:18 +01:00
ad0d95ab40 Add some debugging output to connection 2020-05-10 23:25:41 +01:00
baafd12354 Initial connection interface stubs, emit NewConnection signal 2020-05-10 23:09:58 +01:00
6d79491e32 Rework to get a map of connections in ConnectionManager 2020-05-10 19:04:14 +01:00
04bf72637d Enable LTO for release 2020-05-10 01:34:28 +01:00
1212ff20e4 Why why why 2020-05-10 01:03:36 +01:00
6e3ad7383f Add deltachat-core-rust to the build 2020-05-10 01:01:28 +01:00
ffb190385e Make the protocol advertise a requestable channel
Without this, telepathy-glib/empathy doesn't believe the protocol is
bonafide (i.e., implementing TP_PROTOCOL_FEATURE_CORE). Adding a dummy
gets empathy to display the protocol without needing to be patched \o/.
2020-05-10 00:33:15 +01:00
c643c42fa5 Initial protocol implementation
Empathy needs this patch before it will display the settings:
https://gitlab.gnome.org/GNOME/telepathy-account-widgets/-/merge_requests/1
2020-05-09 21:45:29 +01:00
c861f6fdd9 Displays the protocol in empathy 2020-05-09 11:48:13 +01:00
40ea57a0cc Return protocol parameters 2020-05-09 11:19:40 +01:00
5328ae9bd6 Initial checkin 2020-05-09 01:48:14 +01:00
b93ba79323 Use telepathy-spec v0.27.4 2020-05-08 19:22:47 +01:00
1187b89058 Add telepathy-spec submodule 2020-05-08 17:22:53 +01:00