summaryrefslogtreecommitdiff
path: root/examples
AgeCommit message (Collapse)AuthorFilesLines
2009-09-23contactlist example: Fixed crash when list was being destroyed twice.Andre Moreira Magalhaes (andrunko)1-1/+5
2009-09-23callable example: Proper check if direction changed when requesting stream ↵Andre Moreira Magalhaes (andrunko)1-1/+1
direction change. Check against TP_MEDIA_STREAM_DIRECTION_SEND instead of TP_MEDIA_STREAM_DIRECTION_RECEIVE to check if sending is required.
2009-08-25callable example: Use tp_svc_channel_interface_dtmf_return_from_start_tone ↵Andre Moreira Magalhaes (andrunko)1-1/+1
when returning from StartTone.
2009-08-24callable example: add DTMF interface simulation support.Andre Moreira Magalhaes (andrunko)1-0/+99
2009-08-17ExampleCallableMediaChannel: stylistic fixes for Andre's Hold codeSimon McVittie1-4/+12
Whitespace, English, and avoiding C99 Reviewed-by: Will Thompson <will.thompson@collabora.co.uk>
2009-08-13callable example: add Hold interface simulation support.Andre Moreira Magalhaes (andrunko)1-0/+137
2009-06-12fd.o #22182: fix a potential use-after-free in the callable example CMSimon McVittie1-2/+4
In some environments (I'm not sure why my laptop isn't among them), closing the stream causes the channel to remove the last ref to the stream, resulting in a use-after-free and a possible segfault. This could be avoided by holding another ref for the duration of example_callable_media_stream_close, but Sjoerd and I agreed that this simpler fix (re-ordering to put the possible free last) was more appropriate. Reviewed-by: Guillaume Desmottes <guillaume.desmottes@collabora.co.uk>
2009-06-10glib-client-gen.py: add support for deprecating or not generating _run_ methodsSimon McVittie1-1/+2
2009-04-18Replace the duplicate definitions of QUIET_GEN with an include of ↵Jonny Lamb1-4/+2
tools/shave.mk. Signed-off-by: Jonny Lamb <jonny.lamb@collabora.co.uk>
2009-04-18Moved tp-glib to use shave and made make output legible.Jonny Lamb1-12/+16
Signed-off-by: Jonny Lamb <jonny.lamb@collabora.co.uk>
2009-04-03Keep a set of CallableMediaChannel (not a list)Will Thompson1-16/+23
2009-04-03Make CallableMediaManager unref closed channelsWill Thompson1-0/+1
Fixes a bug where the channel lived too long, and a new channel happened to get the same object path as an orphan channel, leading to dbus_g_connection_register_g_object asserting!
2009-03-24ExampleCSHRoomChannel: comply with telepathy-spec 0.17.21 by letting the ↵Simon McVittie1-0/+30
user leave the room via the Group interface
2009-03-24ExampleCSHRoomChannel: factor out close methodSimon McVittie1-10/+12
2009-03-24ExampleCallableMediaStream: set initial direction at construct timeSimon McVittie2-17/+32
This avoids the emission of a spurious direction change signal.
2009-03-24ExampleCallableMediaChannel: comply with telepathy-spec 0.17.22Simon McVittie1-0/+22
If the initial direction isn't what the spec says, catch up by emitting a signal.
2009-03-18ExampleCallableMediaChannel: if the contact ID contains "(terminate)" ↵Simon McVittie1-0/+34
simulate them answering, but then hanging up a moment later
2009-03-18ExampleCallableMediaChannel: if we call someone with an ID like "Robot101 ↵Simon McVittie1-6/+48
(busy)" or "smcv (no answer)", simulate busy or no answer respectively
2009-03-18ExampleCallableMediaChannel: when closing, only (pretend to) send the call ↵Simon McVittie1-14/+19
termination if the actor is us
2009-03-18ExampleCallableMediaChannel: connect the stream when accepting incoming callsSimon McVittie1-0/+3
2009-03-18ExampleCallableMediaChannel: update call progress when accepting incoming callsSimon McVittie1-0/+4
2009-03-18ExampleMediaChannel: Accept all proposed stream directions when we answer a callSimon McVittie3-0/+28
This matches telepathy-gabble's behaviour.
2009-03-18ExampleCallableMediaManager: when our status becomes available, or our ↵Simon McVittie2-4/+63
message changes while available, simulate an incoming call
2009-03-18ExampleCallableMediaChannel: allow remotely-requested channels to start off ↵Simon McVittie1-33/+81
with an audio and/or video stream
2009-03-18ExampleCallableMediaChannel: add boolean initial-audio, initial-video propertiesSimon McVittie1-0/+34
2009-03-18ExampleCallableMediaStream: add a method to handle peer-requested direction ↵Simon McVittie2-0/+99
changes
2009-03-18callable example: emit a signal when presence changes to availableSimon McVittie1-0/+21
This can be used to trigger a simulated incoming call.
2009-03-17Merge branch 'priv'Simon McVittie5-6/+34
Reviewed-by: Will Thompson <will.thompson@collabora.co.uk>
2009-03-17tp_group_mixin_class_always_allow_removing_self: shorten to ↵Simon McVittie1-1/+1
...allow_self_removal
2009-03-17ExampleCallableConnection: fix indentationSimon McVittie1-3/+3
2009-03-17ExampleCallableMediaChannel: remove FIXME commentSimon McVittie1-5/+1
As wjt pointed out during code review, this implementation is correct; Gabble's implementation is slightly incorrect but is not observably different, because the actor for the addition of members or remote-pending members is not stored or retrievable.
2009-03-17callable example: un-bitfield private data as per wjt's reviewSimon McVittie2-4/+3
2009-03-17callable example: use the configured simulation delaySimon McVittie2-4/+4
2009-03-17callable example: add a configurable simulation delaySimon McVittie6-1/+85
2009-03-17ExampleCallableMediaChannel: attempt to simulate stream directionsSimon McVittie3-7/+28
2009-03-17ExampleCallableMediaStream: make the remote contact agree to send mediaSimon McVittie1-2/+21
2009-03-17ExampleCallableMediaStream: emit direction-changed when necessarySimon McVittie1-0/+3
2009-03-17ExampleCallableMediaStream: simulate the streams becoming connectedSimon McVittie3-3/+78
2009-03-17ExampleCallableMediaChannel: when there are no streams left, terminate the callSimon McVittie1-0/+7
2009-03-17ExampleCallableMediaChannel: emit stream-added for requested streamsSimon McVittie1-0/+3
2009-03-17ExampleCallableMediaChannel: remove members when the call terminatesSimon McVittie1-3/+16
2009-03-17ExampleCallableMediaChannel: assert that removed member is usSimon McVittie1-8/+5
The group flags in this implementation never allow the peer to be removed, so this is safe to assert.
2009-03-17ExampleCallableMediaChannel: implement the outgoing-call state machine (the ↵Simon McVittie1-6/+83
Group interface)
2009-03-17ExampleCallableMediaChannel: make RequestStreams fail for wrong handlesSimon McVittie1-0/+8
2009-03-17ExampleCallableMediaChannel: react to streams being removed or having ↵Simon McVittie1-0/+37
direction changes
2009-03-17ExampleCallableMediaStream: disconnect from Channel signals when necessarySimon McVittie1-2/+12
2009-03-17ExampleCallableMediaChannel: fix the way in which channels are closedSimon McVittie1-22/+28
2009-03-17ExampleCallableMediaChannel: rely on implicit permissions in order to be ↵Simon McVittie1-27/+23
able to add or remove ourselves
2009-03-17ExampleCallableMediaChannel: implement RequestStreams in a basic waySimon McVittie1-3/+56
2009-03-17ExampleCallableMediaChannel: use stream-info to implement ListStreamsSimon McVittie1-27/+4