summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)AuthorFilesLines
2011-01-31Merge branch 'invite-from-self'Mikhail Zabaluev1-0/+7
2011-01-31Reject incoming calls from the same URI as the local user (fd.o #33716)Mikhail Zabaluev1-0/+7
This is not supported in StreamedMedia channels, and an assertion in tpsip_media_channel_receive_invite() sees to it.
2011-01-28fd.o #31720: use TpDBusDaemon to export media streamsSimon McVittie2-4/+18
2011-01-28fd.o #31720: use TpDBusDaemon to export media sessionsSimon McVittie2-5/+24
2011-01-28Backported fix to fd.o #31720: use TpDBusDaemon to export channel objectsSimon McVittie2-6/+6
Backported to telepathy-sofiasip-0.6
2011-01-26Fix group flags for streamedmedia calls.David Laban1-17/+26
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).
2011-01-26sip-media-channel clean up group membersDavid Laban1-62/+37
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)
2011-01-26Update the groups interface when remote user accepts the call.David Laban1-1/+19
2011-01-26Don't call priv_outbound_call (self, 0)David Laban1-0/+5
This previously happened if the client requested an anonymous streamedmedia channel, but doing so would cause a crash.
2011-01-26implement tpsip_media_channel_get_handle() properly.David Laban1-1/+8
2011-01-03Merge branch 'master' into messages-retouchMikhail Zabaluev16-532/+1176
2010-12-15protocol: implement TpBaseProtocolClass->dup_authentication_typesJonny Lamb1-0/+12
Signed-off-by: Jonny Lamb <jonny.lamb@collabora.co.uk>
2010-12-15Don't ask the user for a password on connectDavid Laban1-44/+1
We don't need to do this until the server asks us to authenticate.
2010-12-15Ask for a password in priv_handle_auth() if not given.David Laban1-19/+139
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.
2010-12-15connection: only disconnect if we're not already disconnectedJonny Lamb1-3/+6
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>
2010-12-15connection: use disconnect_with_dbus_errorJonny Lamb1-2/+2
Signed-off-by: Jonny Lamb <jonny.lamb@collabora.co.uk>
2010-12-15connection: use TpSimplePasswordManager to get a password if one was not givenJonny Lamb2-1/+48
Signed-off-by: Jonny Lamb <jonny.lamb@collabora.co.uk>
2010-11-24protocol: when hitting a special parameter, just skip it, not all the others tooJonny Lamb1-1/+1
Signed-off-by: Jonny Lamb <jonny.lamb@collabora.co.uk> Reviewed-by: Simon McVittie <simon.mcvittie@collabora.co.uk>
2010-11-23Merge branch 'protocol'Simon McVittie11-498/+970
Reviewed-by: Mikhail Zabaluev <mikhail.zabaluev@nokia.com> Bug: https://bugs.freedesktop.org/show_bug.cgi?id=31720
2010-11-23Re-word write-mgr-file's header - this isn't GabbleSimon McVittie1-1/+1
2010-11-18Implement type_foreach_channel_class in both channel managersSimon McVittie2-9/+11
This lets our Protocol objects advertise their requestable channel classes.
2010-11-18Port TpsipConnectionManager to use TpBaseProtocolSimon McVittie5-474/+920
write-mgr-file.c was completely replaced by the one from Gabble, with trivial changes in main().
2010-11-18tpsip_normalize_contact: add connection-independent normalizationSimon McVittie2-9/+24
2010-11-18tpsip_connection_get_implemented_interfaces: addSimon McVittie2-6/+15
2010-11-18fd.o #31720: use TpDBusDaemon to export media streamsSimon McVittie2-4/+18
2010-11-18fd.o #31720: use TpDBusDaemon to export media sessionsSimon McVittie2-5/+24
2010-11-18fd.o #31720: use TpDBusDaemon to export channel objectsSimon McVittie2-6/+6
2010-11-03Function call whitespaceMikhail Zabaluev1-1/+1
2010-11-03Fix header value types for timestampsMikhail Zabaluev1-2/+2
2010-11-03Add the header "message-sent" to received messages in Chan.I.MessagesMikhail Zabaluev1-0/+8
As retrieved from the Date header.
2010-11-03Offer the header "message-token" on received messages in chan.I.MessagesMikhail Zabaluev3-3/+17
2010-10-27add delivery reportGuillaume Desmottes1-2/+82
2010-10-27Implement Messages (#29377)Guillaume Desmottes2-266/+94
2010-08-27Merge branch 'reject-with-extreme-prejudice' into masterMikhail Zabaluev2-3/+6
Conflicts: configure.ac
2010-08-26Evaluate if the local handle is in the local pending before removing itMikhail Zabaluev1-2/+5
The stupid mistake prevented us from properly signaling call rejection.
2010-06-21Fixed a walk-off-the-end crash in debug support codeMikhail Zabaluev1-1/+1
2010-06-21Save the pending flags that got applied, so we can apply them..Sjoerd Simons1-4/+8
2010-06-20Save the pending flags that got applied, so we can apply them..Sjoerd Simons1-4/+8
2010-04-01Merge branch 'tighten-hold'Mikhail Zabaluev1-2/+3
2010-04-01Don't remove the local pending send flag when holding the callMikhail Zabaluev1-2/+3
2010-03-29Merge branch 'fix-disable-debug'Mikhail Zabaluev1-1/+9
Conflicts: configure.ac src/sip-media-channel.c
2010-03-29Make TPSIP_PERSIST environment variable work regardless of ENABLE_DEBUGMikhail Zabaluev1-1/+1
The --enable-debug configure option, and the ENABLE_DEBUG macro, should control debug logging and its possible overhead; there is no penalty in making the persistent mode work independently of the debug switch.
2010-03-29Made Sofia logging handler a no-op when ENABLE_DEBUG is not definedMikhail Zabaluev1-0/+8
This unfails compilation with --disable-debug configure flag.
2010-03-24Fixed a typo in the debug stringMikhail Zabaluev1-1/+1
2010-03-12Avoid emitting "incoming-call" on re-INVITESMikhail Zabaluev1-0/+3
2010-03-12Merge branch 'real-initial-media' into real-initial-media-moreMikhail Zabaluev1-0/+2
2010-03-12Disconnect the "incoming-call" signal handler after handling it onceMikhail Zabaluev1-0/+2
2010-03-12Only handle nua_callstate_received at the beginning of a callMikhail Zabaluev1-1/+1
This state is also achieved in re-INVITES, where we want to ignore it.
2010-03-12Create and emit the session after emitting NewChannel(s)Mikhail Zabaluev3-54/+61
Only the old-skool RequestChannel will add members and create streams before the channel is emitted.
2010-03-11Emit NewChannel(s) when we do have the idea of our initial media propertiesMikhail Zabaluev2-36/+61