]> git.0d.be Git - empathy.git/log
empathy.git
12 years agoMerge branch 'call'
Emilio Pozuelo Monfort [Thu, 9 Jun 2011 09:28:44 +0000 (10:28 +0100)]
Merge branch 'call'

12 years agoUpdate .gitignore for the new files
Emilio Pozuelo Monfort [Thu, 9 Jun 2011 09:22:01 +0000 (10:22 +0100)]
Update .gitignore for the new files

12 years agoTurn g_prints into DEBUGs
Emilio Pozuelo Monfort [Thu, 9 Jun 2011 08:28:23 +0000 (09:28 +0100)]
Turn g_prints into DEBUGs

12 years agoBuild fix
Emilio Pozuelo Monfort [Thu, 9 Jun 2011 08:26:00 +0000 (09:26 +0100)]
Build fix

12 years agoSet 'Empathy' as program class in empathy-call
Emilio Pozuelo Monfort [Thu, 9 Jun 2011 08:17:54 +0000 (09:17 +0100)]
Set 'Empathy' as program class in empathy-call

12 years agoPort empathy-call to GtkApplication
Emilio Pozuelo Monfort [Thu, 9 Jun 2011 08:16:29 +0000 (09:16 +0100)]
Port empathy-call to GtkApplication

Based on the changes to empathy-av.

12 years agoCallWindow: properly track the dialpad status again
Emilio Pozuelo Monfort [Wed, 8 Jun 2011 19:07:34 +0000 (20:07 +0100)]
CallWindow: properly track the dialpad status again

This stopped working properly as the latest EvSidebar didn't
have notify::current-page anymore.

12 years agoEvSidebar: add a changed signal
Emilio Pozuelo Monfort [Wed, 8 Jun 2011 19:05:54 +0000 (20:05 +0100)]
EvSidebar: add a changed signal

12 years agocall-window: Put the details vbox in a scroll window
Guillaume Desmottes [Wed, 16 Mar 2011 10:17:02 +0000 (11:17 +0100)]
call-window: Put the details vbox in a scroll window

Conflicts:

src/empathy-call-window.c

12 years agoAdapt to EmpathySidebar -> EvSidebar
Emilio Pozuelo Monfort [Wed, 8 Jun 2011 18:06:36 +0000 (19:06 +0100)]
Adapt to EmpathySidebar -> EvSidebar

12 years agoChange the page before showing the sidebar
Emilio Pozuelo Monfort [Tue, 7 Jun 2011 10:20:11 +0000 (11:20 +0100)]
Change the page before showing the sidebar

To avoid showing it without the dialpad, which would cause
the dialpad menu callback to be called to hide it before
the page was changed, causing the sidebar to be hidden again!

12 years agoFactor out the block/set/unblock code
Emilio Pozuelo Monfort [Tue, 7 Jun 2011 10:19:24 +0000 (11:19 +0100)]
Factor out the block/set/unblock code

12 years agoDisable the dialpad when the call ends
Emilio Pozuelo Monfort [Mon, 6 Jun 2011 12:21:33 +0000 (13:21 +0100)]
Disable the dialpad when the call ends

12 years agoMake it a toggle button
Emilio Pozuelo Monfort [Mon, 6 Jun 2011 10:29:07 +0000 (11:29 +0100)]
Make it a toggle button

12 years agoCallWindow: add a dialpad menu entry
Emilio Pozuelo Monfort [Thu, 2 Jun 2011 10:29:00 +0000 (11:29 +0100)]
CallWindow: add a dialpad menu entry

12 years agoClear audio_output when the call ends
Emilio Pozuelo Monfort [Thu, 26 May 2011 19:43:46 +0000 (20:43 +0100)]
Clear audio_output when the call ends

So we create a new one when redialing instead of reusing it.

12 years agoCallWindow: show 'On hold' in the statusbar when appropriate
Emilio Pozuelo Monfort [Mon, 23 May 2011 12:12:34 +0000 (13:12 +0100)]
CallWindow: show 'On hold' in the statusbar when appropriate

12 years agoDirectly call the callback if we're ready
Emilio Pozuelo Monfort [Mon, 23 May 2011 11:41:35 +0000 (12:41 +0100)]
Directly call the callback if we're ready

Instead of duplicating the code in two places.

12 years agoImplement empathy_call_handler_start_call() for redialing
Emilio Pozuelo Monfort [Mon, 16 May 2011 15:43:59 +0000 (16:43 +0100)]
Implement empathy_call_handler_start_call() for redialing

12 years agoCallHandler: move on_call_accepted_cb() around
Emilio Pozuelo Monfort [Mon, 16 May 2011 15:42:17 +0000 (16:42 +0100)]
CallHandler: move on_call_accepted_cb() around

12 years agoCallHandler: emit signal with the correct parameters
Emilio Pozuelo Monfort [Mon, 16 May 2011 15:40:21 +0000 (16:40 +0100)]
CallHandler: emit signal with the correct parameters

12 years agoRemove empathy_call_factory_new_call_with_streams
Emilio Pozuelo Monfort [Mon, 16 May 2011 15:37:21 +0000 (16:37 +0100)]
Remove empathy_call_factory_new_call_with_streams

It's unused and empathy_call_new_with_streams is better.

12 years agoCorrect the interface names used in Empathy.Call.client
Sjoerd Simons [Wed, 4 May 2011 09:41:07 +0000 (10:41 +0100)]
Correct the interface names used in Empathy.Call.client

12 years agoKeep a persistent source video tee around
Sjoerd Simons [Tue, 3 May 2011 19:03:34 +0000 (20:03 +0100)]
Keep a persistent source video tee around

Always keep the video input tee around, so we can easily hook up new
video contents even if the camera isn't currently enabled. This fixes
issues where a new content is added without the local camera being
enabled.

12 years agoDon't build a shared telepathy-yell
Emilio Pozuelo Monfort [Wed, 27 Apr 2011 15:23:15 +0000 (16:23 +0100)]
Don't build a shared telepathy-yell

12 years agoInclude yell before anything else
Emilio Pozuelo Monfort [Thu, 24 Mar 2011 14:20:37 +0000 (14:20 +0000)]
Include yell before anything else

Since we want to build against our copy of yell. Otherwise if
you have yell installed in /usr, it'll be picked from there as
we get -I/usr/include/telepathy-1.0 and telepathy-yell is installed
as telepathy-yell/telepathy-yell.h in that directory.

12 years agoMinimize the scope in which we use TpyCallChannel
Sjoerd Simons [Wed, 23 Mar 2011 15:00:08 +0000 (15:00 +0000)]
Minimize the scope in which we use TpyCallChannel

12 years agoPrepare the video input pipeline when there is an initial content
Sjoerd Simons [Wed, 23 Mar 2011 14:45:56 +0000 (14:45 +0000)]
Prepare the video input pipeline when there is an initial content

12 years agoWait for the channel to be ready before handling it
Sjoerd Simons [Wed, 23 Mar 2011 13:09:09 +0000 (13:09 +0000)]
Wait for the channel to be ready before handling it

12 years agoUse a new id for accepting without video
Sjoerd Simons [Tue, 22 Mar 2011 18:28:33 +0000 (18:28 +0000)]
Use a new id for accepting without video

Conflicts:

src/empathy-status-icon.c

12 years agoAlso add Answer with video to the notification dialogs
Sjoerd Simons [Tue, 22 Mar 2011 16:41:51 +0000 (16:41 +0000)]
Also add Answer with video to the notification dialogs

Conflicts:

src/empathy-status-icon.c

12 years agoAdd Answer with video to the default dialogs
Sjoerd Simons [Tue, 22 Mar 2011 16:40:33 +0000 (16:40 +0000)]
Add Answer with video to the default dialogs

We should be able to answer calls with or without video. This patch only
implements that for Call type channels, but for clarity have ``Answer
with video'' as the only button on SM channels for video calls to be
sure it's clear to the user what to expect

12 years agoFollow the sending state of the channel to determine whether we should send video
Sjoerd Simons [Tue, 22 Mar 2011 13:18:37 +0000 (13:18 +0000)]
Follow the sending state of the channel to determine whether we should send video

12 years agoWhen the remote side hangs up, clean up the call channel
Sjoerd Simons [Thu, 17 Mar 2011 11:41:25 +0000 (11:41 +0000)]
When the remote side hangs up, clean up the call channel

12 years agoCope with unexpected call channel invalidation
Sjoerd Simons [Thu, 17 Mar 2011 11:35:46 +0000 (11:35 +0000)]
Cope with unexpected call channel invalidation

12 years agoUse modern private structure handling
Sjoerd Simons [Thu, 17 Mar 2011 11:31:25 +0000 (11:31 +0000)]
Use modern private structure handling

12 years agoCorrect Call channel refcounting
Sjoerd Simons [Thu, 17 Mar 2011 11:29:38 +0000 (11:29 +0000)]
Correct Call channel refcounting

The Call channel will get unreffed by the destroy function that's given
to empathy_tp_contact_factory_get_from_id. So don't unref it in the
callback explicitely

12 years agoDon't start the Call when the streams start
Emilio Pozuelo Monfort [Tue, 15 Mar 2011 19:06:20 +0000 (19:06 +0000)]
Don't start the Call when the streams start

Since that can happen before the call is accepted. Instead of that,
wait for the Call state to be ACCEPTED.

Conflicts:

src/empathy-call-window.c

12 years agoclient file channel file should be Call.DRAFT
Sjoerd Simons [Mon, 14 Mar 2011 18:43:57 +0000 (18:43 +0000)]
client file channel file should be Call.DRAFT

12 years agoAdd depend on new GStreamer for gst_element_request_pad
Sjoerd Simons [Mon, 14 Mar 2011 13:48:04 +0000 (13:48 +0000)]
Add depend on new GStreamer for gst_element_request_pad

Conflicts:

configure.ac

12 years agoReject approval if call was hung up during approval
Sjoerd Simons [Mon, 14 Mar 2011 13:23:19 +0000 (13:23 +0000)]
Reject approval if call was hung up during approval

If an incoming call gets ENDED during our approval stage either we or
someone else closed it. In that case reject the approval (which will
claim and close the channel). A future improvement could be to show a
notification in case this happens

12 years agoOnly distroy the video output if it exists
Sjoerd Simons [Mon, 14 Mar 2011 12:14:32 +0000 (12:14 +0000)]
Only distroy the video output if it exists

12 years agoMonitor the call state and close the channel when it ends
Sjoerd Simons [Mon, 14 Mar 2011 12:14:13 +0000 (12:14 +0000)]
Monitor the call state and close the channel when it ends

12 years agoLock the hash table contents when using them
Sjoerd Simons [Mon, 14 Mar 2011 11:09:23 +0000 (11:09 +0000)]
Lock the hash table contents when using them

12 years agoEnsure our bin doesn't change state before being in the hash table
Sjoerd Simons [Mon, 14 Mar 2011 09:37:43 +0000 (09:37 +0000)]
Ensure our bin doesn't change state before being in the hash table

12 years agoRemove live-adder
Sjoerd Simons [Fri, 11 Mar 2011 19:02:43 +0000 (19:02 +0000)]
Remove live-adder

12 years agoImplement request pads for multiple sinks
Sjoerd Simons [Fri, 11 Mar 2011 19:01:17 +0000 (19:01 +0000)]
Implement request pads for multiple sinks

Instead of using an live-adder we're moving to using multiple pulseaudio
sinks as pulse can do the right thing (tm). To make this easy for the
call window have one bin that handles all the juggling of audiosinks and
audio conversion

12 years agoKeep a ref to our handler instance
Sjoerd Simons [Thu, 24 Feb 2011 15:25:54 +0000 (15:25 +0000)]
Keep a ref to our handler instance

12 years agoMore consistent naming of the call handler option
Sjoerd Simons [Wed, 23 Feb 2011 19:05:56 +0000 (19:05 +0000)]
More consistent naming of the call handler option

12 years agomake the dots consistent
Sjoerd Simons [Wed, 23 Feb 2011 18:30:14 +0000 (18:30 +0000)]
make the dots consistent

12 years agoauto-detect the presence of farsight
Sjoerd Simons [Wed, 23 Feb 2011 18:29:30 +0000 (18:29 +0000)]
auto-detect the presence of farsight

12 years agoNo need to borrow the connection, it gets passed to us
Sjoerd Simons [Wed, 23 Feb 2011 16:50:20 +0000 (16:50 +0000)]
No need to borrow the connection, it gets passed to us

12 years agoTrivial coding style fix (>80 chars)
Sjoerd Simons [Wed, 23 Feb 2011 16:50:06 +0000 (16:50 +0000)]
Trivial coding style fix (>80 chars)

12 years agoRetrieve the contact for incoming calls so we can display it
Sjoerd Simons [Wed, 23 Feb 2011 16:49:26 +0000 (16:49 +0000)]
Retrieve the contact for incoming calls so we can display it

12 years agoStop ringing after approving a Channel.Type.Call channel
Sjoerd Simons [Wed, 23 Feb 2011 16:45:16 +0000 (16:45 +0000)]
Stop ringing after approving a Channel.Type.Call channel

12 years agoevent-manager Remove HAVE_CALL ifdefs, even if we didn't build the handler we can...
Sjoerd Simons [Wed, 23 Feb 2011 16:44:55 +0000 (16:44 +0000)]
event-manager Remove HAVE_CALL ifdefs, even if we didn't build the handler we can still approve

12 years agoClose call channels after hanging up
Sjoerd Simons [Wed, 23 Feb 2011 16:44:05 +0000 (16:44 +0000)]
Close call channels after hanging up

12 years agoExplicitely use the libtelepathy-yell .la file for dependency tracking
Sjoerd Simons [Wed, 23 Feb 2011 14:26:15 +0000 (14:26 +0000)]
Explicitely use the libtelepathy-yell .la file for dependency tracking

Conflicts:

libempathy/Makefile.am

12 years agoRemove stray debug
Sjoerd Simons [Wed, 23 Feb 2011 11:20:34 +0000 (11:20 +0000)]
Remove stray debug

12 years agoOnly change the UI in the main thread
Sjoerd Simons [Wed, 23 Feb 2011 11:39:35 +0000 (11:39 +0000)]
Only change the UI in the main thread

12 years agoUse target-contact instead of members
Sjoerd Simons [Wed, 23 Feb 2011 11:38:54 +0000 (11:38 +0000)]
Use target-contact instead of members

12 years agoMove to using ->priv pointer in the object instance
Sjoerd Simons [Wed, 23 Feb 2011 11:28:23 +0000 (11:28 +0000)]
Move to using ->priv pointer in the object instance

12 years agocoding style trivia
Sjoerd Simons [Wed, 23 Feb 2011 11:14:32 +0000 (11:14 +0000)]
coding style trivia

12 years agoAdd TargetContact property that's guaranteed to exist on CallHandler
Sjoerd Simons [Wed, 23 Feb 2011 11:14:06 +0000 (11:14 +0000)]
Add TargetContact property that's guaranteed to exist on CallHandler

Conflicts:

src/empathy-call-factory.c

12 years agoRecognize Call channel capabilities
Sjoerd Simons [Wed, 23 Feb 2011 11:12:07 +0000 (11:12 +0000)]
Recognize Call channel capabilities

12 years agoDon't use wildcards for just one marshal file
Sjoerd Simons [Wed, 23 Feb 2011 10:42:23 +0000 (10:42 +0000)]
Don't use wildcards for just one marshal file

When a build is triggered from a location that isn't the top build dir,
the generated files break as the wrong prefix gets passed for some
reason. Given we only create one -marshal file, being smart doesn't
actually save us anything, so do things the simple way

12 years agoAdd a .client and a .service file for empathy-call
Emilio Pozuelo Monfort [Fri, 11 Mar 2011 14:42:14 +0000 (14:42 +0000)]
Add a .client and a .service file for empathy-call

https://bugzilla.gnome.org/show_bug.cgi?id=644500

12 years agoCheck for TP_ERROR_EMERGENCY_CALLS_NOT_SUPPORTED when a call fails
Emilio Pozuelo Monfort [Thu, 10 Mar 2011 15:12:15 +0000 (15:12 +0000)]
Check for TP_ERROR_EMERGENCY_CALLS_NOT_SUPPORTED when a call fails

12 years agoAdd missing files to POTFILES.in
Emilio Pozuelo Monfort [Thu, 24 Feb 2011 16:22:15 +0000 (16:22 +0000)]
Add missing files to POTFILES.in

Conflicts:

po/POTFILES.in

12 years agoReturn meaningful errors when starting a call fails
Emilio Pozuelo Monfort [Mon, 28 Feb 2011 12:29:40 +0000 (12:29 +0000)]
Return meaningful errors when starting a call fails

12 years agoempathy_call_new_with_streams: prefer StreamedMedia over Call
Emilio Pozuelo Monfort [Wed, 23 Feb 2011 16:24:53 +0000 (16:24 +0000)]
empathy_call_new_with_streams: prefer StreamedMedia over Call

Conflicts:

libempathy-gtk/empathy-call-utils.c

12 years agoAlways build telepathy-yell and handle Call channels
Emilio Pozuelo Monfort [Wed, 23 Feb 2011 16:19:48 +0000 (16:19 +0000)]
Always build telepathy-yell and handle Call channels

Just keep empathy-call optional.

Conflicts:

libempathy-gtk/empathy-call-utils.c
libempathy/empathy-channel-factory.c

12 years agoShow an error dialog if starting a call fails
Emilio Pozuelo Monfort [Tue, 22 Feb 2011 18:15:07 +0000 (18:15 +0000)]
Show an error dialog if starting a call fails

12 years agoDon't require EmpathyContacts to start a call
Emilio Pozuelo Monfort [Tue, 22 Feb 2011 18:14:07 +0000 (18:14 +0000)]
Don't require EmpathyContacts to start a call

Conflicts:

libempathy-gtk/empathy-contact-menu.c
libempathy-gtk/empathy-individual-menu.c
libempathy-gtk/empathy-new-call-dialog.c

12 years agoMove empathy_call_* util functions to libempathy-gtk
Emilio Pozuelo Monfort [Tue, 22 Feb 2011 17:15:11 +0000 (17:15 +0000)]
Move empathy_call_* util functions to libempathy-gtk

Since we want to pop up a dialog when starting a call fails.

Conflicts:

libempathy/empathy-utils.c

12 years agoInitialize GObject
Emilio Pozuelo Monfort [Tue, 22 Feb 2011 11:24:26 +0000 (11:24 +0000)]
Initialize GObject

Conflicts:

src/empathy.c

12 years agoTemporarily disable some code
Emilio Pozuelo Monfort [Mon, 21 Feb 2011 14:32:22 +0000 (14:32 +0000)]
Temporarily disable some code

12 years agoCall: check for priv->members to enable the video button
Emilio Pozuelo Monfort [Mon, 21 Feb 2011 14:31:50 +0000 (14:31 +0000)]
Call: check for priv->members to enable the video button

12 years agoUse the new empathy_call_create_call_request thoroughly
Emilio Pozuelo Monfort [Fri, 18 Feb 2011 17:05:33 +0000 (17:05 +0000)]
Use the new empathy_call_create_call_request thoroughly

12 years agoDon't use tpy_call_channel_is_receiving_video
Emilio Pozuelo Monfort [Mon, 21 Feb 2011 15:27:33 +0000 (15:27 +0000)]
Don't use tpy_call_channel_is_receiving_video

Rely on src-pad-added to show the remote user's video.

12 years agoDon't use tpy_call_channel_is_sending_video
Emilio Pozuelo Monfort [Mon, 21 Feb 2011 15:41:16 +0000 (15:41 +0000)]
Don't use tpy_call_channel_is_sending_video

Check if we have initial video instead.

12 years agoUse EMPATHY_CALL_BUS_NAME_SUFFIX instead of the literal
Emilio Pozuelo Monfort [Wed, 8 Jun 2011 15:02:33 +0000 (16:02 +0100)]
Use EMPATHY_CALL_BUS_NAME_SUFFIX instead of the literal

12 years agoempathy_call_new_with_streams: start Calls when we support them
Emilio Pozuelo Monfort [Fri, 18 Feb 2011 17:00:32 +0000 (17:00 +0000)]
empathy_call_new_with_streams: start Calls when we support them

Conflicts:

libempathy/empathy-utils.c

12 years agoDefine EMPATHY_CALL_BUS_NAME{,_SUFFIX}
Emilio Pozuelo Monfort [Wed, 8 Jun 2011 15:01:45 +0000 (16:01 +0100)]
Define EMPATHY_CALL_BUS_NAME{,_SUFFIX}

12 years agoUpdated Spanish translation
Jorge González [Wed, 8 Jun 2011 21:07:00 +0000 (23:07 +0200)]
Updated Spanish translation

12 years agoInitialize telepathy-yell
Emilio Pozuelo Monfort [Fri, 18 Feb 2011 16:45:21 +0000 (16:45 +0000)]
Initialize telepathy-yell

Conflicts:

src/empathy.c

12 years agoShow notifications for Calls
Emilio Pozuelo Monfort [Tue, 22 Feb 2011 10:22:53 +0000 (10:22 +0000)]
Show notifications for Calls

Conflicts:

src/empathy-status-icon.c

12 years agoBuild an empathy-call binary when we have Call support
Emilio Pozuelo Monfort [Fri, 18 Feb 2011 16:16:33 +0000 (16:16 +0000)]
Build an empathy-call binary when we have Call support

Conflicts:

src/Makefile.am

12 years agoEmpathyEventManager: handle Call channels
Emilio Pozuelo Monfort [Fri, 18 Feb 2011 16:42:08 +0000 (16:42 +0000)]
EmpathyEventManager: handle Call channels

Conflicts:

src/empathy-event-manager.c

12 years agoTeach EmpathyChannelFactory how to create Call channels
Emilio Pozuelo Monfort [Fri, 18 Feb 2011 16:31:35 +0000 (16:31 +0000)]
Teach EmpathyChannelFactory how to create Call channels

Conflicts:

libempathy/empathy-channel-factory.c

12 years agoNewCallDialog: support Calls
Emilio Pozuelo Monfort [Fri, 18 Feb 2011 16:26:28 +0000 (16:26 +0000)]
NewCallDialog: support Calls

Conflicts:

libempathy-gtk/Makefile.am
libempathy-gtk/empathy-new-call-dialog.c

12 years agoAdd empathy-call
Emilio Pozuelo Monfort [Fri, 18 Feb 2011 17:06:56 +0000 (17:06 +0000)]
Add empathy-call

12 years agoAdd an EmpathyCallWindowFullscreen class
Emilio Pozuelo Monfort [Fri, 18 Feb 2011 15:51:12 +0000 (15:51 +0000)]
Add an EmpathyCallWindowFullscreen class

12 years agoAdd an EmpathyCallWindow class
Emilio Pozuelo Monfort [Fri, 18 Feb 2011 15:50:55 +0000 (15:50 +0000)]
Add an EmpathyCallWindow class

12 years agoAdd an EmpathyCallHandler class
Emilio Pozuelo Monfort [Fri, 18 Feb 2011 15:50:20 +0000 (15:50 +0000)]
Add an EmpathyCallHandler class

12 years agoAdd an EmpathyCallFactory class
Emilio Pozuelo Monfort [Fri, 18 Feb 2011 15:49:57 +0000 (15:49 +0000)]
Add an EmpathyCallFactory class

12 years agoCheck for telepathy-yell if requested
Emilio Pozuelo Monfort [Fri, 18 Feb 2011 15:49:24 +0000 (15:49 +0000)]
Check for telepathy-yell if requested

12 years agoAdd telepathy-yell as a submodule
Emilio Pozuelo Monfort [Fri, 18 Feb 2011 14:51:47 +0000 (14:51 +0000)]
Add telepathy-yell as a submodule

12 years agoAdd ax_config_dir from audacity
Emilio Pozuelo Monfort [Thu, 17 Feb 2011 12:06:50 +0000 (12:06 +0000)]
Add ax_config_dir from audacity

12 years agoCheck we actually have a part #1 before requesting it
Danielle Madeley [Wed, 8 Jun 2011 02:54:41 +0000 (12:54 +1000)]
Check we actually have a part #1 before requesting it

We were checking echo->len >= 1, but then requesting index 1 (the second part).
So if we didn't have a second part, this would quite happily blow up.