summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Merge remote-tracking branch 'tester/call1-addcontent-direction' into call1call1Guillaume Desmottes2012-02-207-5/+37
|\
| * Add direction parameter to AddContentOlivier Crête2012-02-166-5/+31
| |
| * Spec Call: Add direction to AddContentOlivier Crête2012-02-161-0/+6
| |
* | StopTone after StartTone is not a cancellationOlivier Crête2012-02-161-1/+1
| |
* | MediaCallContent: Don't drop tone currently_sending before it's done playingOlivier Crête2012-02-161-2/+4
|/
* Test Call: Prepare streams before checking which interfaces it hasOlivier Crête2012-02-151-11/+24
|
* Remove implementation of the Mute interfaceOlivier Crête2012-02-154-123/+1
|
* Update spec to remove muteOlivier Crête2012-02-152-50/+6
|
* BaseCallStream: Put the pending states in the right orderOlivier Crête2012-02-141-5/+6
|
* BaseMediaCallContent: Only emit SendingTones when the tones are being sentOlivier Crête2012-02-141-2/+5
|
* BaseCallChannel: Starting to ring means you're not queuedOlivier Crête2012-02-141-0/+1
|
* Put the event and state in the right order in change requestedOlivier Crête2012-02-141-1/+0
|
* BaseMediaCallStream: Make it possible for the CM to fail FinishInitialCandidatesOlivier Crête2012-02-143-4/+12
| | | | | The CM can now refuse FinishInitialCandidates if it doesn't haven the candidates it needs.
* BaseMediaCallStream: Add method to fetch the local candidatesOlivier Crête2012-02-143-0/+21
|
* BaseMediaCallStream: Add function to remove endpointsOlivier Crête2012-02-143-0/+45
|
* Call.Content.MediaDescription: Verify invalid argumentsOlivier Crête2012-02-142-2/+50
|
* Fix 2 bugs in DTMF codeXavier Claessens2012-02-133-14/+112
| | | | Also add DTMF unit test that covers both cases
* Call unit test: Use Media base classesXavier Claessens2012-02-137-14/+140
| | | | | To make it work, example CM needs to create an Endpoint and we have to wait for it to be connected to get to ACTIVE state.
* Fix racy crash in call unit testXavier Claessens2012-02-131-3/+19
| | | | | Keeping a ref on the stream for the timeout make it survive its TpBaseCallChannel leading to issues later.
* Remove useless empty lineXavier Claessens2012-02-091-1/+0
|
* Add config.h include in all call source filesXavier Claessens2012-02-0612-5/+15
|
* Merge branch 'master' into call1Xavier Claessens2012-02-06208-147/+550
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: examples/cm/callable/conn.c examples/cm/callable/connection-manager.c examples/cm/callable/media-channel.c examples/cm/callable/media-manager.c examples/cm/callable/media-stream.c examples/cm/callable/protocol.c examples/future/call-cm/call-channel.c examples/future/call-cm/call-content.c examples/future/call-cm/call-stream.c extensions/call-content.c extensions/call-stream.c extensions/extensions-cli.c tests/dbus/call-example.c tests/dbus/callable-example.c
| * Add config.h include in all source filesXavier Claessens2012-02-06216-9/+423
| |
| * Disable glib deprecated warningsXavier Claessens2012-02-061-0/+4
| | | | | | | | We need GValueArray for dbus-glib, and it got deprecated in GLib 2.31.x
| * Merge branch 'telepathy-glib-0.16'Simon McVittie2012-02-020-0/+0
| |\
| | * channel-request test: avoid a race conditionSimon McVittie2012-02-021-0/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | If we emit Succeeded or Failed quickly enough after setting up the TpProxy, the match rules might not have reached the dbus-daemon yet. (The real ChannelRequest implementation avoids this bug by having the Proceed method.) Reviewed-by: Jonny Lamb <jonny.lamb@collabora.co.uk>
| | * channel-contacts.c: Fix crash when preparing TpCallChannelXavier Claessens2012-02-022-11/+15
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | If if a new contact fetch is queued from the callback of last contact fetch, it leads to a crash. This is because when queueing the new item it is processed right away since it is the only item in queue, then when it returns from g_simple_async_result_complete() it calls process_contacts_queue() again so the item is prepared twice, and then freed twice. Fix this by keeping currently being processes item outside the queue.
| * | channel-request test: avoid a race conditionSimon McVittie2012-02-011-0/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | If we emit Succeeded or Failed quickly enough after setting up the TpProxy, the match rules might not have reached the dbus-daemon yet. (The real ChannelRequest implementation avoids this bug by having the Proceed method.) Reviewed-by: Jonny Lamb <jonny.lamb@collabora.co.uk>
| * | Fix brokenness, copy-paste errors and unused variables in testsSimon McVittie2012-02-0111-16/+3
| | | | | | | | | | | | | | | | | | | | | I thought I'd tested this... but apparently not. Signed-off-by: Simon McVittie <simon.mcvittie@collabora.co.uk> Reviewed-by: Xavier Claessens <xclaesse@gmail.com>
| * | add tp_connection_disconnect_async to the docsSimon McVittie2012-02-011-0/+2
| | | | | | | | | | | | | | | | | | Signed-off-by: Simon McVittie <simon.mcvittie@collabora.co.uk> Reviewed-by: Jonny Lamb <jonny.lamb@collabora.co.uk> Bug: https://bugs.freedesktop.org/show_bug.cgi?id=45459
| * | Replace one remaining call to tp_cli_connection_run_disconnectSimon McVittie2012-02-011-1/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | This one is allowed to fail, so use tp_connection_disconnect_async() directly. Signed-off-by: Simon McVittie <simon.mcvittie@collabora.co.uk> Reviewed-by: Jonny Lamb <jonny.lamb@collabora.co.uk> Bug: https://bugs.freedesktop.org/show_bug.cgi?id=45459
| * | Replace nearly all calls to tp_cli_connection_run_disconnectSimon McVittie2012-02-0139-128/+44
| | | | | | | | | | | | | | | | | | Signed-off-by: Simon McVittie <simon.mcvittie@collabora.co.uk> Reviewed-by: Jonny Lamb <jonny.lamb@collabora.co.uk> Bug: https://bugs.freedesktop.org/show_bug.cgi?id=45459
| * | tp_tests_connection_assert_disconnect_succeeds: addSimon McVittie2012-02-012-0/+20
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This calls Disconnect(), runs the main loop and asserts that it worked. This can be used to supersede most calls to tp_cli_connection_run_disconnect(), which is going away in Telepathy 1.0. Signed-off-by: Simon McVittie <simon.mcvittie@collabora.co.uk> Reviewed-by: Jonny Lamb <jonny.lamb@collabora.co.uk> Bug: https://bugs.freedesktop.org/show_bug.cgi?id=45459
| * | tp_connection_disconnect_async: addSimon McVittie2012-02-012-0/+74
| | | | | | | | | | | | | | | | | | Signed-off-by: Simon McVittie <simon.mcvittie@collabora.co.uk> Reviewed-by: Jonny Lamb <jonny.lamb@collabora.co.uk> Bug: https://bugs.freedesktop.org/show_bug.cgi?id=45459
* | | CallStream: Add traces to media stream flow state changeNicolas Dufresne2012-01-301-0/+40
| | |
* | | call: Add traces on CallState changesNicolas Dufresne2012-01-301-2/+48
| | |
* | | TpCallChannel, TpCallContent: add _send_tones_async()Xavier Claessens2012-01-275-0/+372
| | | | | | | | | | | | | | | | | | | | | | | | tp_call_channel_send_tones_async() is helper API calling tp_call_content_send_tones_async() on each of its contents supporting the DTMF interfaces. tp_call_content_send_tones_async() does the queuing of events
* | | Merge branch 'master' into call1Xavier Claessens2012-01-268-41/+459
|\ \ \ | |/ /
| * | account-mgr: pretend that we are AVAILABLE if the best presence is UNSETGuillaume Desmottes2012-01-252-6/+53
| | | | | | | | | | | | | | | | | | | | | This is what most UI would expect; they just care if we are connected, not if SimplePresence is actually implemented by the underlying CM. https://bugs.freedesktop.org/show_bug.cgi?id=45120
| * | more tp_account_manager_get_most_available_presence() testsGuillaume Desmottes2012-01-251-0/+159
| | | | | | | | | | | | https://bugs.freedesktop.org/show_bug.cgi?id=45120
| * | coding style fixGuillaume Desmottes2012-01-251-1/+1
| | | | | | | | | | | | https://bugs.freedesktop.org/show_bug.cgi?id=45120
| * | simple-account: add API to change the presenceGuillaume Desmottes2012-01-252-5/+57
| | | | | | | | | | | | https://bugs.freedesktop.org/show_bug.cgi?id=45120
| * | start testing tp_account_manager_get_most_available_presence()Guillaume Desmottes2012-01-241-0/+112
| | | | | | | | | | | | | | | This was supposed to be the trivial test (accounts are not even used yet) but I already found a bug. :)
| * | add tp_tests_simple_account_manager_set_valid_accounts()Guillaume Desmottes2012-01-242-7/+36
| | | | | | | | | | | | Usefull for tests wanting to run with a specific set of valid accounts.
| * | Merge branch 'telepathy-glib-0.16'Guillaume Desmottes2012-01-241-3/+3
| |\ \ | | |/
| | * get_most_available_presence(): match the doc if no account connectedGuillaume Desmottes2012-01-241-3/+3
| | | | | | | | | | | | | | | | | | If no account is connected, doc says we should return (TP_CONNECTION_PRESENCE_TYPE_OFFLINE, "offline", "") but we use to return (TP_CONNECTION_PRESENCE_TYPE_OFFLINE, NULL, NULL)
| * | Add extra cast of guchar to guint when using GUINT_TO_POINTERXavier Claessens2012-01-241-1/+4
| | | | | | | | | | | | This is a workaround for glib bug #661546
| * | test_offer_race: don't assume any ordering on tube connectionsGuillaume Desmottes2012-01-241-23/+39
| | | | | | | | | | | | | | | | | | Connection is async now so we shouldn't assume any ordering. https://bugs.freedesktop.org/show_bug.cgi?id=45173
* | | Fix local hold state stransition for call channelNicolas Dufresne2012-01-202-43/+23
| | | | | | | | | | | | | | | | | | Call channel should go to pending hold state until all the streams are no longer pending stop (the one that didn't failed). Also, the transition from pending stop to started is impossible.
* | | Merge branch 'master' into call1Xavier Claessens2012-01-201-6/+14
|\ \ \ | |/ /