]> git.0d.be Git - empathy.git/log
empathy.git
14 years agoempathy_call_window_sink_added_cb: unref the pad
Guillaume Desmottes [Wed, 31 Mar 2010 15:49:08 +0000 (17:49 +0200)]
empathy_call_window_sink_added_cb: unref the pad

14 years agounref liveadder when disposing
Guillaume Desmottes [Wed, 31 Mar 2010 13:08:34 +0000 (15:08 +0200)]
unref liveadder when disposing

14 years agodon't recreate a video preview or update the window if we're about to destroy it
Guillaume Desmottes [Wed, 31 Mar 2010 13:07:45 +0000 (15:07 +0200)]
don't recreate a video preview or update the window if we're about to destroy it

14 years agodon't leak the fullscreen window
Guillaume Desmottes [Wed, 31 Mar 2010 11:00:33 +0000 (13:00 +0200)]
don't leak the fullscreen window

14 years agoinit_contact_avatar_with_size: don't leak the pixbuf
Guillaume Desmottes [Wed, 31 Mar 2010 10:59:46 +0000 (12:59 +0200)]
init_contact_avatar_with_size: don't leak the pixbuf

14 years agostop using gst_bin_add_many and gst_element_link_many
Guillaume Desmottes [Wed, 31 Mar 2010 10:25:19 +0000 (12:25 +0200)]
stop using gst_bin_add_many and gst_element_link_many

14 years agouse tp_g_signal_connect_object so we don't have to disconnect empathy_call_window_vid...
Guillaume Desmottes [Wed, 31 Mar 2010 10:11:42 +0000 (12:11 +0200)]
use tp_g_signal_connect_object so we don't have to disconnect empathy_call_window_video_stream_changed_cb manually

14 years agoFix race when restarting a call
Guillaume Desmottes [Wed, 17 Feb 2010 14:21:32 +0000 (14:21 +0000)]
Fix race when restarting a call

Fix a race between user hitting the 'redial' button and the pipeline being
ready.

14 years agoAllow to use the video preview when the call has been terminated (#602937)
Guillaume Desmottes [Wed, 17 Feb 2010 14:07:30 +0000 (14:07 +0000)]
Allow to use the video preview when the call has been terminated (#602937)

14 years agoempathy_call_window_restart_call: there is no reason to show_all all the hbox
Guillaume Desmottes [Wed, 17 Feb 2010 13:37:44 +0000 (13:37 +0000)]
empathy_call_window_restart_call: there is no reason to show_all all the hbox

Widgets should already be properly displayed.

14 years agoempathy_call_window_reset_pipeline: start the new pipeline right away
Guillaume Desmottes [Wed, 17 Feb 2010 12:57:05 +0000 (12:57 +0000)]
empathy_call_window_reset_pipeline: start the new pipeline right away

This will allow us to display the video preview before the call is restarted.

14 years agoActually turn off the camera when preview/sending is disabled
Guillaume Desmottes [Wed, 17 Feb 2010 11:35:39 +0000 (11:35 +0000)]
Actually turn off the camera when preview/sending is disabled

There is no point to let the camera on if we are not using it.

Also split empathy_call_window_setup_video_preview() to create_video_preview()
and add_video_preview_to_pipeline().

14 years agostop disabling the video-preview button when call is disconnected (#602937)
Guillaume Desmottes [Thu, 3 Dec 2009 11:57:35 +0000 (11:57 +0000)]
stop disabling the video-preview button when call is disconnected (#602937)

14 years agorecreate the pipeline as soon we destroyed the old one
Guillaume Desmottes [Wed, 2 Dec 2009 18:10:30 +0000 (18:10 +0000)]
recreate the pipeline as soon we destroyed the old one

This will allow us to be able to display the preview after the call has been
terminated. It's easier and more robust to recreate a new pipeline than
reusing the old one.

14 years agosplit create_video_output_widget out of create_pipeline
Guillaume Desmottes [Wed, 2 Dec 2009 18:06:33 +0000 (18:06 +0000)]
split create_video_output_widget out of create_pipeline

14 years agorecycle the audio input gst element
Guillaume Desmottes [Wed, 2 Dec 2009 17:39:22 +0000 (17:39 +0000)]
recycle the audio input gst element

14 years agorecycle the video input gst element
Guillaume Desmottes [Wed, 2 Dec 2009 17:32:35 +0000 (17:32 +0000)]
recycle the video input gst element

There is no point to recreate it for each call.

14 years agorename initialize_output_elements to create_video_output_widget
Guillaume Desmottes [Wed, 2 Dec 2009 17:17:07 +0000 (17:17 +0000)]
rename initialize_output_elements to create_video_output_widget

14 years agorecycle the audio output gst element
Guillaume Desmottes [Wed, 2 Dec 2009 17:15:27 +0000 (17:15 +0000)]
recycle the audio output gst element

There is no point to create a new one for each call.

14 years agodestroy the video_output widget when the call is disconnected
Guillaume Desmottes [Wed, 2 Dec 2009 16:58:30 +0000 (16:58 +0000)]
destroy the video_output widget when the call is disconnected

There is no point to destroy it when redialing to recreate it immediately
after.

14 years agoNo need to recreate GTK+ widgets when recreating the pipeline
Guillaume Desmottes [Wed, 2 Dec 2009 16:04:17 +0000 (16:04 +0000)]
No need to recreate GTK+ widgets when recreating the pipeline

Only recreate the GStreamer elements for now.

14 years agocall-window: factor out create_pipeline
Guillaume Desmottes [Wed, 2 Dec 2009 15:27:03 +0000 (15:27 +0000)]
call-window: factor out create_pipeline

14 years agoMake 'Favourite' only appear when EMPATHY_CONTACT_FEATURE_FAVOURITE set
Danielle Madeley [Thu, 1 Apr 2010 03:28:37 +0000 (14:28 +1100)]
Make 'Favourite' only appear when EMPATHY_CONTACT_FEATURE_FAVOURITE set

14 years agoFalgs -> Flags
Danielle Madeley [Thu, 1 Apr 2010 03:28:15 +0000 (14:28 +1100)]
Falgs -> Flags

14 years agocontact-list-store: don't put contacts in 'Ungrouped' when show-groups = False
Danielle Madeley [Thu, 1 Apr 2010 00:54:18 +0000 (11:54 +1100)]
contact-list-store: don't put contacts in 'Ungrouped' when show-groups = False

Further, set show-groups = False for the contact list in EmpathyChat

14 years agoUpdated Italian translation
Milo Casagrande [Wed, 31 Mar 2010 19:11:08 +0000 (21:11 +0200)]
Updated Italian translation

14 years agocompare_separator_and_groups: fix check if a is a bottom group
Guillaume Desmottes [Wed, 31 Mar 2010 09:03:40 +0000 (11:03 +0200)]
compare_separator_and_groups: fix check if a is a bottom group

14 years agoAlways use fake groups (#614375)
Guillaume Desmottes [Wed, 31 Mar 2010 08:49:01 +0000 (10:49 +0200)]
Always use fake groups (#614375)

There is no reason to use them when favourite contacts are enabled any more.

14 years agoempathy_presence_get_default_message: return a string for TP_CONNECTION_PRESENCE_TYPE...
Guillaume Desmottes [Mon, 14 Dec 2009 12:38:11 +0000 (12:38 +0000)]
empathy_presence_get_default_message: return a string for TP_CONNECTION_PRESENCE_TYPE_UNKNOWN

14 years agofix indentation
Guillaume Desmottes [Mon, 14 Dec 2009 12:31:29 +0000 (12:31 +0000)]
fix indentation

14 years agotp-contact-list: add members of 'stored' as members
Guillaume Desmottes [Mon, 14 Dec 2009 12:27:35 +0000 (12:27 +0000)]
tp-contact-list: add members of 'stored' as members

This allow us to display contacts with subscriptio='none' (#539765).

14 years agogot_added_members_cb: check if contact is already in the hash before adding it
Guillaume Desmottes [Mon, 14 Dec 2009 12:25:34 +0000 (12:25 +0000)]
got_added_members_cb: check if contact is already in the hash before adding it

empathy_tp_contact_factory_get_from_handles is async, so if the contact has
already been added when it returns the contact objects there is no point to
try to re-add it twice.

14 years agoadd members of 'publish' as members of the TpContactList
Guillaume Desmottes [Mon, 14 Dec 2009 12:16:23 +0000 (12:16 +0000)]
add members of 'publish' as members of the TpContactList

14 years agopass handles to add_to_members instead of contact objects
Guillaume Desmottes [Mon, 14 Dec 2009 11:56:34 +0000 (11:56 +0000)]
pass handles to add_to_members instead of contact objects

14 years agoauto-accept pending call in tp_contact_list_subscribe_group_members_changed_cb
Guillaume Desmottes [Fri, 11 Dec 2009 15:35:25 +0000 (16:35 +0100)]
auto-accept pending call in tp_contact_list_subscribe_group_members_changed_cb

So we don't have to wait to have the contact and can group them to do only on
AddMembers call.

14 years agofactor out remove_from_member_if_needed
Guillaume Desmottes [Mon, 14 Dec 2009 11:16:31 +0000 (11:16 +0000)]
factor out remove_from_member_if_needed

Call it that way because we are about to add some check before removing a
contact from members.

14 years agofactor out add_to_members
Guillaume Desmottes [Fri, 11 Dec 2009 15:09:09 +0000 (16:09 +0100)]
factor out add_to_members

14 years agoempathy_icon_name_for_presence: use 'pending' icon if presence is unknown
Guillaume Desmottes [Fri, 11 Dec 2009 13:57:16 +0000 (14:57 +0100)]
empathy_icon_name_for_presence: use 'pending' icon if presence is unknown

14 years agorename EMPATHY_IMAGE_UNKNOWN to EMPATHY_IMAGE_PENDING
Guillaume Desmottes [Thu, 10 Dec 2009 15:54:13 +0000 (15:54 +0000)]
rename EMPATHY_IMAGE_UNKNOWN to EMPATHY_IMAGE_PENDING

14 years agotp-contact-list: Improve hash table descriptions
Guillaume Desmottes [Thu, 10 Dec 2009 14:30:04 +0000 (14:30 +0000)]
tp-contact-list: Improve hash table descriptions

14 years agoMerge branch 'undo-close-tab'
Jonny Lamb [Tue, 30 Mar 2010 13:48:31 +0000 (14:48 +0100)]
Merge branch 'undo-close-tab'

14 years agofix #endif comment
Guillaume Desmottes [Tue, 30 Mar 2010 12:26:09 +0000 (14:26 +0200)]
fix #endif comment

14 years agoadd gconf key to disable auto-away (#613603)
Christian Kampka [Tue, 30 Mar 2010 12:23:49 +0000 (14:23 +0200)]
add gconf key to disable auto-away (#613603)

14 years agoproperly cast GArray content
Guillaume Desmottes [Tue, 30 Mar 2010 11:43:25 +0000 (13:43 +0200)]
properly cast GArray content

14 years agomap-view: display position of contacts added after the map has been created (#614012)
Guillaume Desmottes [Fri, 26 Mar 2010 15:14:56 +0000 (16:14 +0100)]
map-view: display position of contacts added after the map has been created (#614012)

14 years agofactor out contact_added
Guillaume Desmottes [Fri, 26 Mar 2010 15:08:32 +0000 (16:08 +0100)]
factor out contact_added

14 years agomap_view_update_contact_position: don't call contact_has_location twice
Guillaume Desmottes [Fri, 26 Mar 2010 14:59:53 +0000 (15:59 +0100)]
map_view_update_contact_position: don't call contact_has_location twice

14 years agoAlways connect "notify::location" on contact
Guillaume Desmottes [Fri, 26 Mar 2010 14:56:47 +0000 (15:56 +0100)]
Always connect "notify::location" on contact

Now contact position will be displayed even if they didn't have a postion when
the map has been created (#614012).

14 years agomap_view_contacts_foreach: no need to create the marker any more
Guillaume Desmottes [Fri, 26 Mar 2010 14:56:09 +0000 (15:56 +0100)]
map_view_contacts_foreach: no need to create the marker any more

map_view_update_contact_position will do it if needed.

14 years agomap_view_update_contact_position: create marker if needed
Guillaume Desmottes [Fri, 26 Mar 2010 14:55:57 +0000 (15:55 +0100)]
map_view_update_contact_position: create marker if needed

14 years agofactor out contact_has_location
Guillaume Desmottes [Fri, 26 Mar 2010 14:53:55 +0000 (15:53 +0100)]
factor out contact_has_location

14 years agofactor out create_marker
Guillaume Desmottes [Fri, 26 Mar 2010 14:25:50 +0000 (15:25 +0100)]
factor out create_marker

14 years agorename map_view_marker_update_position to map_view_update_contact_position and pass...
Guillaume Desmottes [Fri, 26 Mar 2010 13:47:18 +0000 (14:47 +0100)]
rename map_view_marker_update_position to map_view_update_contact_position and pass a contact rather than a marker

14 years agomap-view: add a mapping from EmpathyContact to ChamplainMarker
Guillaume Desmottes [Fri, 26 Mar 2010 13:40:16 +0000 (14:40 +0100)]
map-view: add a mapping from EmpathyContact to ChamplainMarker

14 years agoempathy_tp_call_leave: allocate the array on the stack
Guillaume Desmottes [Tue, 30 Mar 2010 11:30:41 +0000 (13:30 +0200)]
empathy_tp_call_leave: allocate the array on the stack

14 years agoempathy_call_handler_stop_call: use empathy_tp_call_leave rather than empathy_tp_call...
Guillaume Desmottes [Mon, 22 Feb 2010 18:04:16 +0000 (18:04 +0000)]
empathy_call_handler_stop_call: use empathy_tp_call_leave rather than empathy_tp_call_close

This will gracefully hang up calls (#610477).

14 years agoadd empathy_tp_call_leave
Guillaume Desmottes [Mon, 22 Feb 2010 18:03:32 +0000 (18:03 +0000)]
add empathy_tp_call_leave

14 years agocall-window: call empathy_call_handler_stop_call when closing a call
Guillaume Desmottes [Mon, 22 Feb 2010 18:00:59 +0000 (18:00 +0000)]
call-window: call empathy_call_handler_stop_call when closing a call

This will allow us to properly terminate the call.

14 years agoempathy_call_window_disconnected: remove call to empathy_call_window_reset_pipeline...
Guillaume Desmottes [Mon, 22 Feb 2010 17:33:36 +0000 (17:33 +0000)]
empathy_call_window_disconnected: remove call to empathy_call_window_reset_pipeline out of variable declarations

14 years agoremove forget button
Guillaume Desmottes [Tue, 16 Mar 2010 15:05:53 +0000 (16:05 +0100)]
remove forget button

14 years agoAdd clear icon in entry containing password (#608104)
Guillaume Desmottes [Tue, 16 Mar 2010 15:34:58 +0000 (16:34 +0100)]
Add clear icon in entry containing password (#608104)

14 years ago2.31 here we go
Guillaume Desmottes [Tue, 30 Mar 2010 10:39:38 +0000 (12:39 +0200)]
2.31 here we go

14 years agoRename empathy status icons to fit standard icon name
Guillaume Desmottes [Thu, 25 Mar 2010 12:00:38 +0000 (13:00 +0100)]
Rename empathy status icons to fit standard icon name

This give us fallback to Empathy icons for free if they are not implemented in
the theme.

14 years agouse the 'user-invisible' icon if implemented
Guillaume Desmottes [Tue, 2 Mar 2010 11:16:52 +0000 (12:16 +0100)]
use the 'user-invisible' icon if implemented

14 years agoUse standard names for status icons (#602420)
Guillaume Desmottes [Tue, 2 Mar 2010 10:58:36 +0000 (11:58 +0100)]
Use standard names for status icons (#602420)

14 years agoMerge branch 'people-nearby-fake-group-613558'
Danielle Madeley [Tue, 30 Mar 2010 10:37:25 +0000 (21:37 +1100)]
Merge branch 'people-nearby-fake-group-613558'

14 years agoRemove People Nearby from sorted groups list
Danielle Madeley [Tue, 30 Mar 2010 10:35:17 +0000 (21:35 +1100)]
Remove People Nearby from sorted groups list

14 years agoCellRendererText: Use G_PARAM_STATIC_STRINGS
Will Thompson [Fri, 26 Mar 2010 20:15:58 +0000 (20:15 +0000)]
CellRendererText: Use G_PARAM_STATIC_STRINGS

This patch also changes the name of the "is group" property to use a
hyphen (which is the canonical form) rather than an underscore, because
the combination of the underscore and G_PARAM_STATIC_STRINGS makes
GObject blow up:

  GLib-GObject-CRITICAL **: g_param_spec_internal: assertion `!(flags &
  G_PARAM_STATIC_NAME) || is_canonical (name)' failed

14 years agoShow status messages in compact view (#614052)
Will Thompson [Fri, 26 Mar 2010 20:09:45 +0000 (20:09 +0000)]
Show status messages in compact view (#614052)

Previously, when the contact list was in compact mode your contacts'
status mesasges were not shown. With this patch, status messages are
shown in the space to the right of the contact's name, in the same
small, grey font as in the expanded view.

Only custom messages are shown; fallback strings like _("Available") are
redundant and made the list way too hard to read, so are not shown.

This patch does show that most of my contacts are too boring to have
status messages...

14 years agoUse a temporary variable for param specs
Will Thompson [Fri, 26 Mar 2010 19:43:03 +0000 (19:43 +0000)]
Use a temporary variable for param specs

14 years agodisconnect NewChannels signal once we got all the list channels we care about
Guillaume Desmottes [Wed, 24 Mar 2010 10:49:18 +0000 (11:49 +0100)]
disconnect NewChannels signal once we got all the list channels we care about

14 years agotp-contact-list: watch for list channels announced in NewChannels signals
Guillaume Desmottes [Wed, 24 Mar 2010 10:38:39 +0000 (11:38 +0100)]
tp-contact-list: watch for list channels announced in NewChannels signals

If ensuring list channels fails (for example because the server is slow and the
D-Bus call timeouts before CM fetches the roster), we have a chance to get them
later. (#612949)

14 years agoallow got_list_channel to be called more than once for the same channel
Guillaume Desmottes [Wed, 24 Mar 2010 10:32:00 +0000 (11:32 +0100)]
allow got_list_channel to be called more than once for the same channel

Also allow to pass other list channel such as 'deny' for example.

14 years agofactor out got_list_channel
Guillaume Desmottes [Wed, 24 Mar 2010 10:22:53 +0000 (11:22 +0100)]
factor out got_list_channel

14 years agodon't leak the classes list
Guillaume Desmottes [Tue, 30 Mar 2010 08:18:10 +0000 (10:18 +0200)]
don't leak the classes list

14 years agoUnsensitive roomlist expander if roomlist is not supported (#614002)
Guillaume Desmottes [Fri, 26 Mar 2010 11:53:07 +0000 (12:53 +0100)]
Unsensitive roomlist expander if roomlist is not supported (#614002)

14 years agoDon't request roomlist channel if not supported (#614002)
Guillaume Desmottes [Fri, 26 Mar 2010 11:52:47 +0000 (12:52 +0100)]
Don't request roomlist channel if not supported (#614002)

14 years agoempathy_dispatcher_find_requestable_channel_classes: allow handle_type being 0
Guillaume Desmottes [Fri, 26 Mar 2010 11:40:54 +0000 (12:40 +0100)]
empathy_dispatcher_find_requestable_channel_classes: allow handle_type being 0

This allows us to check if channel type with HandleType=None are supported
(for example roomlist channels).

14 years agorelease.py: releases are now tagged EMPATHY_2_30*
Guillaume Desmottes [Tue, 30 Mar 2010 09:01:02 +0000 (11:01 +0200)]
release.py: releases are now tagged EMPATHY_2_30*

14 years agoSets sensitivity of Previous/Next Tab menu items based on gtk-keynav-wrap-around...
Aaron Brown [Tue, 30 Mar 2010 05:33:15 +0000 (15:33 +1000)]
Sets sensitivity of Previous/Next Tab menu items based on gtk-keynav-wrap-around and tab position (#613382)

14 years agoUpdated Arabic translation
Khaled Hosny [Mon, 29 Mar 2010 20:12:35 +0000 (22:12 +0200)]
Updated Arabic translation

14 years agoUpdated Latvian translation.
Peteris Krisjanis [Mon, 29 Mar 2010 19:39:41 +0000 (22:39 +0300)]
Updated Latvian translation.

14 years agochat: use empathy_signal_connect_weak to connect signal on the buffer
Guillaume Desmottes [Thu, 18 Mar 2010 14:50:32 +0000 (15:50 +0100)]
chat: use empathy_signal_connect_weak to connect signal on the buffer

The textview can't survive once the EmpathyChat has been destroyed but if for
some reason its buffer it's still alive, firing this signal leads to a crash
(#612363).

14 years agochat_input_text_buffer_changed_cb: 'priv' is useless
Guillaume Desmottes [Thu, 18 Mar 2010 14:45:32 +0000 (15:45 +0100)]
chat_input_text_buffer_changed_cb: 'priv' is useless

14 years agocoding style fixes
Guillaume Desmottes [Fri, 19 Mar 2010 14:34:25 +0000 (15:34 +0100)]
coding style fixes

14 years agoCheck for errors when linking the video source into a call (#612020)
Olivier Crête [Sun, 7 Mar 2010 00:18:27 +0000 (19:18 -0500)]
Check for errors when linking the video source into a call (#612020)

14 years agoVerify that the video source could be linked into the pipeline
Olivier Crête [Sat, 6 Mar 2010 23:37:36 +0000 (18:37 -0500)]
Verify that the video source could be linked into the pipeline

14 years agoReturn error when the audio source can not be started
Olivier Crête [Sat, 6 Mar 2010 23:36:30 +0000 (18:36 -0500)]
Return error when the audio source can not be started

14 years agotelepathy-glib sucks, need to send stream error from the main thread
Olivier Crête [Sat, 6 Mar 2010 23:31:16 +0000 (18:31 -0500)]
telepathy-glib sucks, need to send stream error from the main thread

14 years agoReturn a telepathy error if the source can't be added
Olivier Crête [Sat, 6 Mar 2010 23:27:56 +0000 (18:27 -0500)]
Return a telepathy error if the source can't be added

14 years agoRemove false comment
Olivier Crête [Sat, 6 Mar 2010 23:22:49 +0000 (18:22 -0500)]
Remove false comment

The sink-added callback is called in response to a dbus call, so from the main
thread. It is the src-addec callback that comes from a streaming thread.

14 years agoAdd audio conversion filter to receive pipeline
Olivier Crête [Sat, 6 Mar 2010 23:21:24 +0000 (18:21 -0500)]
Add audio conversion filter to receive pipeline

14 years agoAdd fakesink to srcpad if not real sink could be linked
Olivier Crête [Sat, 6 Mar 2010 23:11:13 +0000 (18:11 -0500)]
Add fakesink to srcpad if not real sink could be linked

14 years agoEmit error when failing to link audio pad
Olivier Crête [Sat, 6 Mar 2010 21:59:51 +0000 (16:59 -0500)]
Emit error when failing to link audio pad

14 years agoSend stream error when the src pad can't be linked
Olivier Crête [Sat, 6 Mar 2010 22:02:32 +0000 (17:02 -0500)]
Send stream error when the src pad can't be linked

14 years agoHandle errors from audio sink
Olivier Crête [Sat, 6 Mar 2010 21:59:20 +0000 (16:59 -0500)]
Handle errors from audio sink

14 years agonew-chatroom-dialog: filter CM not implementing groupchat
Andrew Gorcester [Mon, 29 Mar 2010 15:33:32 +0000 (17:33 +0200)]
new-chatroom-dialog: filter CM not implementing groupchat

14 years agotp-chat: update self user if it has been renamed (#613930)
Guillaume Desmottes [Fri, 26 Mar 2010 10:58:50 +0000 (11:58 +0100)]
tp-chat: update self user if it has been renamed (#613930)

14 years agostart dev of next release
Guillaume Desmottes [Mon, 29 Mar 2010 15:03:14 +0000 (17:03 +0200)]
start dev of next release

14 years agofallback to JID if alias is empty
Felix Kaser [Sun, 28 Mar 2010 10:28:31 +0000 (12:28 +0200)]
fallback to JID if alias is empty

if the alias is empty, contact_get_name should fallback to the jabber id. this fixes bug #614162