Age | Commit message (Collapse) | Author | Files | Lines |
|
|
|
|
|
Reviewed-by: Will Thompson <will.thompson@collabora.co.uk>
|
|
This is not supported in StreamedMedia channels, and an assertion
in tpsip_media_channel_receive_invite() sees to it.
|
|
|
|
|
|
|
|
The special value of -1 implies that the type should be signed.
|
|
|
|
|
|
|
|
Backported to telepathy-sofiasip-0.6
|
|
We start off with lots of flags, and then delete them as we work out what
kind of channel we are, rather than trying to track what we need to
add/remove over time. We should always have the right flags before we are
advertised on the bus.
Note that adding members to a channel made using Create isn't *strictly*
correct way to do it, but it isn't special-cased in any of the code, and
I don't want to set flags that are lies so I've just updated the tests
accordingly.
Also, converting the flags to their binary representation makes failed
assertions a lot easier to debug (and I honestly don't care about speed).
|
|
Use tp_intset_new_containing() wherever it's sensible
This makes sets with only one member simpler and less think-o prone.
(We still use tp_intset_new() for groups with more than one member)
Use better variable names for clarity.
(We still use "set" in priv_session_state_changed_cb() to avoid too much
code churn)
|
|
|
|
|
|
|
|
* Same deal as outgoing-basics, but in one commit.
* Also, expect the NewChannels signal rather than NewChannel.
* Add context.send_message() and implement .incoming_call(), .ack() and
.terminate() based on it.
* FIXME #32189: group flags are borked.
|
|
sofiatest.py:
* add sip headers to Events for convenience
voip_test.py:VoipTestContext:
* add {get, check}_call_sdp()
* add accept() (secretly also records call-id)
outgoing_basics.py:
* Call NativeCandidatesPrepared() because RAWUDP requires it.
* Expect sip-* events rather than stream-iq ones.
|
|
|
|
|
|
This previously happened if the client requested an anonymous
streamedmedia channel, but doing so would cause a crash.
|
|
* Change from gabbletest to sofiatest, and import bits of gabble's
jingletest2.py as voip_test.py
* Get rid of JingleProtocol args to tests
* Change variable names s/stream/sip_proxy/ and s/jt2/context/
* Change jids to sip uris.
* Don't restrict ordering of NewStreamHandler signal emission, when
all sane StreamEngine implementations do state recovery anyway.
* Early-return before we expect any network traffic
* Channel.Type.Call is not a requestable type.
* change test_all_dialects back to exec_test calls.
Things I'm not sure about:
* FIXME: 32189: group flags are borked.
* Are sofiasip's pending send flags correct?
|
|
|
|
|
|
* Pick a random port to create the server on each run (since
IListeningPort.stopListening() isn't guaranteed to have freed the port
by the time it returns)
* Don't install the colourer more than once
* Fix the colourer to deal with "took $seconds" misc.
We should probably try to consolidate these hacks with whatever gabbletest
does, or maybe try to push more stuff into servicetest to make it easier
to maintain, but let's wait until sofiasip has more tests before we start
doing that.
|
|
|
|
|
|
|
|
This is required for TpBaseProtocolClass->dup_authentication_types.
Signed-off-by: Jonny Lamb <jonny.lamb@collabora.co.uk>
|
|
Signed-off-by: Jonny Lamb <jonny.lamb@collabora.co.uk>
|
|
and using a sasl channel to request the password if the server challenges,
or not asking for a password if the server doesn't challenge.
|
|
We don't need to do this until the server asks us to authenticate.
|
|
This requires a call to tp_simple_password_manager_prompt_async(), so
we create a data struct to help us split the function in half.
Also, we move all checks from the second half of the function into the
first, so they can be handled synchronously.
The diff is clearer if you use git diff --patience.
|
|
Signed-off-by: Jonny Lamb <jonny.lamb@collabora.co.uk>
|
|
If we don't check this, tp-glib will give us a nice big fat warning.
Signed-off-by: Jonny Lamb <jonny.lamb@collabora.co.uk>
|
|
Signed-off-by: Jonny Lamb <jonny.lamb@collabora.co.uk>
|
|
Signed-off-by: Jonny Lamb <jonny.lamb@collabora.co.uk>
|
|
Signed-off-by: Jonny Lamb <jonny.lamb@collabora.co.uk>
Reviewed-by: Simon McVittie <simon.mcvittie@collabora.co.uk>
|
|
|
|
NOTE: changed the release header format in NEWS to fit expectation of
tools/make-release-mail.py
|
|
|
|
Now handled by 'tools/telepathy.am'.
|
|
Copied from telepathy-glib.
|
|
Reviewed-by: Mikhail Zabaluev <mikhail.zabaluev@nokia.com>
Bug: https://bugs.freedesktop.org/show_bug.cgi?id=31720
|
|
|
|
Reviewed-by: Mikhail Zabaluev <mikhail.zabaluev@nokia.com>
|
|
This lets our Protocol objects advertise their requestable channel classes.
|
|
|
|
write-mgr-file.c was completely replaced by the one from Gabble, with
trivial changes in main().
|