Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | remove empathy_dispatcher_find_requestable_channel_classes_async (#632550) | Guillaume Desmottes | 2010-10-20 | 1 | -124/+0 |
| | |||||
* | dispatcher: remove more unused attributes and code | Guillaume Desmottes | 2010-08-11 | 1 | -74/+1 |
| | |||||
* | dispatcher: use TpCapabilities to get the RCC (#626636) | Guillaume Desmottes | 2010-08-11 | 1 | -45/+30 |
| | |||||
* | dispatcher: use tp_proxy_prepare_async instead of tp_connection_call_when_ready | Guillaume Desmottes | 2010-08-11 | 1 | -6/+12 |
| | |||||
* | dispatcher: remove channel handling and requesting code | Guillaume Desmottes | 2010-08-11 | 1 | -945/+0 |
| | |||||
* | empathy_dispatcher_join_muc: use TpAccountChannelRequest | Guillaume Desmottes | 2010-08-11 | 1 | -89/+14 |
| | |||||
* | empathy_dispatcher_join_muc: get an account instead of a connection | Guillaume Desmottes | 2010-08-11 | 1 | -4/+9 |
| | |||||
* | re-implement empathy_dispatcher_chat_with_contact using ↵ | Guillaume Desmottes | 2010-08-11 | 1 | -42/+4 |
| | | | | | | empathy_dispatcher_chat_with_contact_id We don't use the callback arg anyway. | ||||
* | empathy_dispatcher_chat_with_contact_id: use TpAccountChannelRequest | Guillaume Desmottes | 2010-08-11 | 1 | -45/+22 |
| | |||||
* | empathy_dispatcher_chat_with_contact_id: get a TpAccount instead of a ↵ | Guillaume Desmottes | 2010-08-11 | 1 | -4/+9 |
| | | | | TpConnection | ||||
* | empathy_dispatcher_chat_with_contact_id: remove callback argument | Guillaume Desmottes | 2010-08-11 | 1 | -5/+3 |
| | | | | It's unused anyway. | ||||
* | Fix missing entries in switch statements | Philip Withnall | 2010-08-05 | 1 | -0/+3 |
| | | | | Added missing default cases and missing enum cases. | ||||
* | dispatcher: explicitely keep a ref on accounts in status_changed_handlers | Guillaume Desmottes | 2010-07-08 | 1 | -4/+6 |
| | | | | It makes things much cleaner. | ||||
* | empathy_dispatcher_join_muc: remove callback arg | Guillaume Desmottes | 2010-07-07 | 1 | -4/+2 |
| | | | | We always want to let the text handler handle the channel. | ||||
* | dispatcher_channel_invalidated_cb: always remove invalidated chan from the list | Guillaume Desmottes | 2010-07-06 | 1 | -2/+2 |
| | | | | | It doesn't hurt to always try to remove it and prevent us of keeping an invalidated or disposed object around if something weird happens. | ||||
* | Stop advertissing audio/video capabilities using old API | Guillaume Desmottes | 2010-06-21 | 1 | -38/+0 |
| | | | | Connection.Interface.Capabilities is so passé... | ||||
* | remove internal approving code | Guillaume Desmottes | 2010-06-17 | 1 | -49/+4 |
| | |||||
* | Port to new EmpathyTpContactFactory API | Xavier Claessens | 2010-05-26 | 1 | -6/+2 |
| | |||||
* | initialize a GError pointer | Guillaume Desmottes | 2010-05-19 | 1 | -1/+1 |
| | |||||
* | dispatch-operation: add user-action-time property | Guillaume Desmottes | 2010-04-25 | 1 | -5/+7 |
| | |||||
* | add timestamp arg to empathy_dispatcher_create_channel | Sjoerd Simons | 2010-04-25 | 1 | -2/+3 |
| | |||||
* | add timestamp arg to empathy_dispatcher_join_muc | Sjoerd Simons | 2010-04-25 | 1 | -2/+2 |
| | |||||
* | add timestamp arg to empathy_dispatcher_chat_with_contact(_id) | Sjoerd Simons | 2010-04-25 | 1 | -4/+7 |
| | |||||
* | dispatcher: add timestamp attribute to DispatcherRequestData | Sjoerd Simons | 2010-04-25 | 1 | -4/+10 |
| | |||||
* | dispatcher: don't check for Requests when fetching conn properties | Guillaume Desmottes | 2010-04-19 | 1 | -8/+3 |
| | |||||
* | dispatcher: stop supporting old style channel requesting | Guillaume Desmottes | 2010-04-19 | 1 | -142/+15 |
| | | | | Requests is mandatory now and we use the CD any way. | ||||
* | call cb with an error if dispatcher_chat_with_contact* fails | Guillaume Desmottes | 2010-04-19 | 1 | -1/+11 |
| | |||||
* | dispatcher_connection_invalidated_cb: terminate pending requests | Guillaume Desmottes | 2010-04-19 | 1 | -0/+23 |
| | |||||
* | empathy_dispatcher_chat_with_contact: check if connection_data is NULL | Guillaume Desmottes | 2010-04-19 | 1 | -0/+6 |
| | | | | | If the connection has been invalidated, it has been removed from priv->connections so we should check to avoid using a NULL pointer (#615970). | ||||
* | libempathy/empathy-dispatcher.c: use tp_g_signal_connect_object instead of ↵ | Guillaume Desmottes | 2010-04-09 | 1 | -2/+2 |
| | | | | empathy_signal_connect_weak | ||||
* | empathy_dispatcher_find_requestable_channel_classes: allow handle_type being 0 | Guillaume Desmottes | 2010-03-30 | 1 | -2/+0 |
| | | | | | This allows us to check if channel type with HandleType=None are supported (for example roomlist channels). | ||||
* | dispatcher: allow not caring about handle type when looking up RCCs | Jonny Lamb | 2010-03-11 | 1 | -2/+3 |
| | | | | Signed-off-by: Jonny Lamb <jonnylamb@gnome.org> | ||||
* | Cope with tp-glib calling the callback in sync | Sjoerd Simons | 2010-02-25 | 1 | -16/+29 |
| | |||||
* | No reason to get Channels from connections, that's MCs job | Sjoerd Simons | 2010-02-25 | 1 | -27/+0 |
| | |||||
* | Not using the weak object anymore, get the dispatcher request data from ↵ | Sjoerd Simons | 2010-02-25 | 1 | -3/+3 |
| | | | | request data | ||||
* | Assert that the account exists | Sjoerd Simons | 2010-02-25 | 1 | -0/+2 |
| | |||||
* | Small coding style fix | Sjoerd Simons | 2010-02-25 | 1 | -1/+2 |
| | |||||
* | Set ourselves as the preferred handler if there is a callback | Sjoerd Simons | 2010-02-25 | 1 | -2/+6 |
| | |||||
* | If we're asked to handle a channel twice, assume it's due to user action | Sjoerd Simons | 2010-02-25 | 1 | -2/+15 |
| | |||||
* | Remove dead code related to outstanding channels | Sjoerd Simons | 2010-02-25 | 1 | -96/+2 |
| | | | | | | | | With the move to the ChannelDispatcher channels we've requested will either not be dispatched through HandleChannels (because we used the old way of directly requesting it on the MC) or will get passed after we've started the request and can thus be dispatched right away. The concept of oustanding channel is thus obsolete. | ||||
* | Don't ever drop requested channels | Sjoerd Simons | 2010-02-24 | 1 | -11/+0 |
| | | | | | | | Before moving to the ChannelDispatcher we got channels either through the NewChannel(s) signal or as a result of requesting a channel from the CM. Now that we've moved to the ChannelDispatcher, we only get channels that we should handle through HandleChannels. So we shouldn't filter any of them. | ||||
* | Check if channels we requested satisfy requests | Sjoerd Simons | 2010-02-24 | 1 | -18/+51 |
| | |||||
* | Request channels from the CD instead of the CM | Sjoerd Simons | 2010-02-24 | 1 | -27/+141 |
| | |||||
* | dispatcher_connection_new_requested_channel: fix a use-after-free crash | Guillaume Desmottes | 2010-02-16 | 1 | -2/+8 |
| | | | | | | | | | If an error occurs when requesting the channel, we call dispatcher_request_failed which as the side effect of destroying the DispatcherRequestData. When calling dispatcher_flush_outstanding_operations we used to deference this pointer. Fixes this crash by using the "self" pointer instead and reffing it to be sure it stays valid. | ||||
* | remove empathy-tube-handler.c and empathy-tube-dispatch | Guillaume Desmottes | 2010-01-19 | 1 | -1/+0 |
| | |||||
* | stop dispatching tube channels (#599159) | Guillaume Desmottes | 2010-01-19 | 1 | -1/+0 |
| | | | | Tube applications should use the ChannelDispatcher. | ||||
* | listen for the "account-validity-changed" so new account are added to the ↵ | Guillaume Desmottes | 2010-01-12 | 1 | -0/+35 |
| | | | | dispatcher (#605689) | ||||
* | store status-changed sig handler in a hash table | Guillaume Desmottes | 2010-01-12 | 1 | -0/+24 |
| | |||||
* | factor out connect_account | Guillaume Desmottes | 2010-01-12 | 1 | -7/+14 |
| | |||||
* | empathy_dispatcher_join_muc: assert than connection_data is not NULL | Guillaume Desmottes | 2010-01-12 | 1 | -0/+1 |
| | |||||
* | Don't destroy the request properties, EmpathyDispatcher now owns them | Danielle Madeley | 2009-12-21 | 1 | -0/+13 |
| | | | | | This is not the same as tp-glib semantics (e.g. tp_..._call_create_channel). Add some docs to EmpathyDispatcher to explain this, for the next person. | ||||
* | We should ensure, not create muc channels | Sjoerd Simons | 2009-11-17 | 1 | -0/+1 |
| | |||||
* | dispatcher_init_connection_if_needed: wait that the connection is ready ↵ | Guillaume Desmottes | 2009-11-09 | 1 | -11/+32 |
| | | | | before using it (#600713) | ||||
* | Merge branch 'accountz' | Jonny Lamb | 2009-11-02 | 1 | -27/+53 |
|\ | |||||
| * | dispatcher: refer to EmpathyHandler bug | Jonny Lamb | 2009-10-30 | 1 | -1/+1 |
| | | | | | | | | Signed-off-by: Jonny Lamb <jonnylamb@gnome.org> | ||||
| * | all: log error messages if preparing the account manager fails | Jonny Lamb | 2009-10-30 | 1 | -2/+7 |
| | | | | | | | | Signed-off-by: Jonny Lamb <jonnylamb@gnome.org> | ||||
| * | contact-manager, dispatcher: renamed _new_connection_cb to _status_changed_cb | Jonny Lamb | 2009-10-25 | 1 | -3/+3 |
| | | | | | | | | | | | | https://bugzilla.gnome.org/show_bug.cgi?id=599169#c2 Signed-off-by: Jonny Lamb <jonnylamb@gnome.org> | ||||
| * | dispatcher: port to new tp-glib account API | Jonny Lamb | 2009-10-24 | 1 | -27/+48 |
| | | | | | | | | Signed-off-by: Jonny Lamb <jonnylamb@gnome.org> | ||||
* | | dispatcher_request_handles_cb: use request_data->dispatcher to get the self ↵ | Guillaume Desmottes | 2009-10-26 | 1 | -1/+1 |
|/ | | | | | | | pointer We don't pass a weak pointer to tp_cli_connection_call_request_handles so we can't rely on it (#599612). | ||||
* | empathy-dispatcher.c: fix shadow declarations | Guillaume Desmottes | 2009-10-22 | 1 | -123/+122 |
| | |||||
* | Unset pending_call explicitly instead of implicitly | Sjoerd Simons | 2009-10-20 | 1 | -2/+11 |
| | |||||
* | Move destruction of connections from finalize to dispose. | Mike Ruprecht | 2009-10-15 | 1 | -8/+12 |
| | | | | | | | Code can potentially be run between the dispose and finalize methods. This moves the destruction of connections and subsequently outstanding_requests into the dispose function so the request callback can't be fired between unreffing the EmpathyDispatcher and cancelling the pending request. | ||||
* | Remove the weak_object parameter when requesting channels. | Mike Ruprecht | 2009-10-15 | 1 | -8/+10 |
| | | | | | | | | Use the EmpathyDispatcher pointed to in the DispatcherRequestData instead of the weak_object. Outstanding channel requests were being cancelled in the EmpathyDispatcher's finalize method. This had the potential to double-cancel the requests when the weak_object (EmpathyDispatcher) was unreffed, causing a segmentation fault. | ||||
* | Cancel outstanding channel requests if connection to the CM is lost. | Mike Ruprecht | 2009-10-14 | 1 | -4/+11 |
| | | | | | | | | | | When the connection to a given channel manager was lost (such as it crashed), any outstanding channel requests were freed, but then the request callback fired with an invalid (already freed) DispatcherRequestData parameter. It subsequently used this invalid data and crashed. This patch cancels all outstanding channel requests when they are freed so the callback isn't called with invalid data. Fixes #598332 | ||||
* | Set the ice-udp capability directly as well | Sjoerd Simons | 2009-09-20 | 1 | -1/+3 |
| | |||||
* | Only handle manually text channels. | Cosimo Cecchi | 2009-09-16 | 1 | -0/+6 |
| | |||||
* | Dispatch existing channels once we initialize the connection. | Cosimo Cecchi | 2009-09-16 | 1 | -0/+21 |
| | |||||
* | Fix long lines. | Cosimo Cecchi | 2009-09-15 | 1 | -6/+8 |
| | |||||
* | Always call _ensure_channel for text chats. | Cosimo Cecchi | 2009-09-15 | 1 | -10/+42 |
| | | | | So we can catch opened channels as well, e.g. if we crashed. | ||||
* | dispatcher_request_failed: check if conn_data is not NULL | Guillaume Desmottes | 2009-09-10 | 1 | -2/+7 |
| | | | | | | | | | | Trace attached on lp #392678 seems to indicate that the priv->connections hash table doesn't have a ConnectionData associated with the connection. A possible explanation could be that this connection has been invalidated before the RequestChannel call is terminated. Check if ConnectionData so Empathy won't crash in such case. | ||||
* | Fix long lines. | Cosimo Cecchi | 2009-09-01 | 1 | -2/+4 |
| | |||||
* | Be sure that FindChannelRequest has a ref to the Dispatcher | Cosimo Cecchi | 2009-09-01 | 1 | -1/+1 |
| | | | | It has to own a reference, as it will unref when free-ing the struct. | ||||
* | Don't set empty values for the default EmpathyHandler | Cosimo Cecchi | 2009-09-01 | 1 | -0/+3 |
| | | | | | | | | | This implies the following: - have an empty default handler when the Dispatcher is used directly with the singleton - autogenerate the name for the default handler - set priv->filters in the handler to an empty GPtrArray in this case, as that can't be NULL. | ||||
* | Always try to use the Requests interface before calling RequestChannel | Sjoerd Simons | 2009-09-01 | 1 | -10/+43 |
| | |||||
* | Add functions on the dispatcher to add/remove extra handlers | Sjoerd Simons | 2009-08-31 | 1 | -0/+70 |
| | |||||
* | Add a simple abstraction for implementing handlers | Sjoerd Simons | 2009-08-31 | 1 | -120/+95 |
| | | | | | Implement an EmpathyHandler object which can be used to easily add extra Client.Handler heads on D-Bus. | ||||
* | Ensure that the connection data is setup when handle channels | Sjoerd Simons | 2009-08-24 | 1 | -3/+16 |
| | |||||
* | Add a new _ensure_account API | Sjoerd Simons | 2009-08-24 | 1 | -1/+1 |
| | | | | | Have one call which only gets the account if it exists and a different one which creates the account on the given path when needed. | ||||
* | Rename empathy_account_get_connection_for to ↵ | Sjoerd Simons | 2009-08-22 | 1 | -1/+2 |
| | | | | empathy_account_get_connection_for_path | ||||
* | Use new api to get connections | Sjoerd Simons | 2009-08-21 | 1 | -4/+8 |
| | |||||
* | displatcher -> dispatcher | Davyd Madeley | 2009-08-19 | 1 | -2/+2 |
| | |||||
* | Fix some coding style issues | Sjoerd Simons | 2009-07-31 | 1 | -1/+0 |
| | |||||
* | Chang the API of AccountManager to have the get lookup the account by name | Sjoerd Simons | 2009-07-30 | 1 | -3/+1 |
| | | | | | | | | EmpathyAccountManager used to have a _lookup function that looked up accounts by name and a _get function that lookup up accounts by connection. This is confusing, as looking up an account for a connection is less common rename have the _get_account be the same _lookup (but without returning a ref) and add a _get_account_for_connection function lookup by account | ||||
* | If the requested property is missing, assume we didn't request it | Sjoerd Simons | 2009-07-22 | 1 | -1/+1 |
| | | | | | | MC5 tries to handle channels only signalled by the old NewChannel signal, but the Requested property isn't set in that case. Assume that we didn't request it in that case | ||||
* | Remove last references to mission-control 4 | Sjoerd Simons | 2009-07-16 | 1 | -3/+1 |
| | |||||
* | Implement HandledChannels D-Bus property | Sjoerd Simons | 2009-07-16 | 1 | -0/+30 |
| | |||||
* | Implement a first minimal version of a Client.Handler | Sjoerd Simons | 2009-07-10 | 1 | -116/+174 |
| | |||||
* | Remove useless mission-control includes | Sjoerd Simons | 2009-07-06 | 1 | -2/+0 |
| | |||||
* | Remove outstanding operations before dispatching them | Will Thompson | 2009-06-09 | 1 | -1/+1 |
| | | | | Fixes #585231 | ||||
* | Document the purpose of outstanding_channels | Will Thompson | 2009-06-09 | 1 | -1/+10 |
| | |||||
* | Coding style fixes. | Jonny Lamb | 2009-06-04 | 1 | -1/+1 |
| | | | | Signed-off-by: Jonny Lamb <jonny.lamb@collabora.co.uk> | ||||
* | Update copyright header | Cosimo Cecchi | 2009-06-01 | 1 | -1/+3 |
| | |||||
* | Clarify the docs | Cosimo Cecchi | 2009-06-01 | 1 | -0/+6 |
| | | | | Clarify the use of find_requestable_channel_classes in the docs. | ||||
* | Hopefully proper version of _find_requestable_channel_classes () | Cosimo Cecchi | 2009-06-01 | 1 | -84/+92 |
| | |||||
* | Free the list after calling the callback | Cosimo Cecchi | 2009-06-01 | 1 | -0/+3 |
| | |||||
* | Update the requestable channel classes API | Cosimo Cecchi | 2009-06-01 | 1 | -117/+187 |
| | | | | Make it more complex, according to Sjoerd's comments. | ||||
* | Fix trailing whitespaces | Cosimo Cecchi | 2009-06-01 | 1 | -2/+2 |
| | |||||
* | Add find_requestable_channel_classes | Cosimo Cecchi | 2009-06-01 | 1 | -7/+142 |
| | | | | And remove find_channel_class API. | ||||
* | Remove the g_idle sources on destroy | Cosimo Cecchi | 2009-06-01 | 1 | -1/+32 |
| | | | | | Remove the GSources added with g_idle_add when destroying the EmpathyDispatcher. | ||||
* | Actually see if the connection is ready | Cosimo Cecchi | 2009-06-01 | 1 | -3/+12 |
| | | | | | Before appending an outstanding request for channel classes, verify thigns aren't actually ready. | ||||
* | Style fixes for *_free() functions | Cosimo Cecchi | 2009-06-01 | 1 | -2/+1 |
| | |||||
* | Fix coding style | Cosimo Cecchi | 2009-06-01 | 1 | -2/+2 |
| | |||||
* | Emit the callback always in an idle | Cosimo Cecchi | 2009-06-01 | 1 | -25/+36 |
| | | | | Also, fix some leaks. | ||||
* | Add empathy_dispatcher_find_channel_class_async() | Cosimo Cecchi | 2009-06-01 | 1 | -0/+97 |
| | |||||
* | First cleanup after rebase | Cosimo Cecchi | 2009-06-01 | 1 | -1/+1 |
| | |||||
* | Remove useless include of empathy-tp-file.h | Cosimo Cecchi | 2009-06-01 | 1 | -2/+1 |
| | |||||
* | Remove dead code in EmpathyDispatcher | Cosimo Cecchi | 2009-06-01 | 1 | -131/+0 |
| | |||||
* | W.I.P. for heavy lifting on EmpathyTpFile. | Cosimo Cecchi | 2009-06-01 | 1 | -0/+54 |
| | |||||
* | empathy-dispatcher: fix coding style | Guillaume Desmottes | 2009-05-18 | 1 | -9/+9 |
| | |||||
* | Remove g_object_ref from empathy_dispatch_operation_get_tp_connection. Fixes ↵ | Jonny Lamb | 2009-04-22 | 1 | -2/+0 |
| | | | | | | #579780 Signed-off-by: Jonny Lamb <jonny.lamb@collabora.co.uk> | ||||
* | Change EmpathyTpContactFactory API to look more like TpConnection. Add ↵ | Xavier Claessens | 2009-04-22 | 1 | -3/+13 |
| | | | | | | function to get only one contact from id/handle. | ||||
* | Remove dead code | Xavier Claessens | 2009-04-22 | 1 | -3/+0 |
| | |||||
* | Remove unused function empathy_dispatcher_call_with_contact(). | Xavier Claessens | 2009-04-22 | 1 | -27/+0 |
| | |||||
* | EmpathyDispatcher: Use new EmpathyAccountManager API and rebase on ↵ | Xavier Claessens | 2009-04-22 | 1 | -196/+79 |
| | | | | TpConnection instead of McAccount | ||||
* | Free the capabilities array. Fixes bug #577826 | Xavier Claessens | 2009-04-03 | 1 | -1/+3 |
| | | | | | | From: Xavier Claessens <xclaesse@gmail.com> svn path=/trunk/; revision=2758 | ||||
* | Handle re-dispatching channels in approving state | Sjoerd Simons | 2009-02-21 | 1 | -3/+13 |
| | | | | | | | | | | when a channel is in approving state and the user does a request which turns out to be satisfied by that channel it automagically gets approved. Correctly cope with this and don't try to start dispatching for it again. Fixes bug Signed-off-by: Sjoerd Simons <sjoerd.simons@collabora.co.uk> svn path=/trunk/; revision=2524 | ||||
* | Use tp-glib generated code for file transfers rather than extensions. | Jonny Lamb | 2009-02-21 | 1 | -7/+7 |
| | | | | | | Signed-off-by: Jonny Lamb <jonny.lamb@collabora.co.uk> svn path=/trunk/; revision=2523 | ||||
* | empathy-dispatcher: deal properly with NULL channel_wrapper | Guillaume Desmottes | 2009-02-17 | 1 | -2/+4 |
| | | | | | | From: Guillaume Desmottes <gdesmott@gnome.org> svn path=/trunk/; revision=2487 | ||||
* | empathy-dispatcher.[ch]: Several misc. code style fixes. | Jonny Lamb | 2009-02-17 | 1 | -5/+12 |
| | | | | | | Signed-off-by: Jonny Lamb <jonny.lamb@collabora.co.uk> svn path=/trunk/; revision=2475 | ||||
* | empathy-dispatcher.c: Check arguments of non-static functions. | Jonny Lamb | 2009-02-17 | 1 | -0/+18 |
| | | | | | | Signed-off-by: Jonny Lamb <jonny.lamb@collabora.co.uk> svn path=/trunk/; revision=2474 | ||||
* | Fix type punned pointers warnings | Olivier Crête | 2009-02-12 | 1 | -1/+1 |
| | | | | | | | | | Remove senseless (void **) From: Olivier Crête <olivier.crete@collabora.co.uk> Signed-off-by: Sjoerd Simons <sjoerd.simons@collabora.co.uk> svn path=/trunk/; revision=2440 | ||||
* | Add functionality to call CreateChannels and look up (simple) channel classes | Sjoerd Simons | 2009-02-03 | 1 | -11/+148 |
| | | | | | | Signed-off-by: Sjoerd Simons <sjoerd.simons@collabora.co.uk> svn path=/trunk/; revision=2386 | ||||
* | Use g_list_prepend instead of g_list_append. | Jonny Lamb | 2009-01-31 | 1 | -2/+2 |
| | | | | | | Signed-off-by: Jonny Lamb <jonny.lamb@collabora.co.uk> svn path=/trunk/; revision=2307 | ||||
* | Allow the dispatcher to be freed once a request is finished. | Jonny Lamb | 2009-01-31 | 1 | -2/+35 |
| | | | | | | | | | | | | | Previously, if there was no ref to the dispatcher, it would be freed before the request could be satisfied. By keeping a ref in the DispatcherRequestData, it is freed at the right time. This also disconnects the signal handler from all channels and connections when freeing the dispatcher as the "invalidated" signal callback can be called after the dispatcher has been freed. Signed-off-by: Jonny Lamb <jonny.lamb@collabora.co.uk> svn path=/trunk/; revision=2306 | ||||
* | EmpathyDispatcher: Handle File channels that we didn't request. | Jonny Lamb | 2009-01-17 | 1 | -4/+5 |
| | | | | | | Signed-off-by: Jonny Lamb <jonny.lamb@collabora.co.uk> svn path=/trunk/; revision=2237 | ||||
* | empathy_mission_control_new -> dup_singleton. | Xavier Claessens | 2009-01-16 | 1 | -1/+1 |
| | | | | svn path=/trunk/; revision=2233 | ||||
* | EmpathyDispatcher: make style somewhat more consistent. | Jonny Lamb | 2009-01-16 | 1 | -119/+171 |
| | | | | | | Signed-off-by: Jonny Lamb <jonny.lamb@collabora.co.uk> svn path=/trunk/; revision=2232 | ||||
* | When sending files, make sure the connection is ready before making sure the ↵ | Jonny Lamb | 2009-01-15 | 1 | -3/+21 |
| | | | | | | | | contact is ready. Signed-off-by: Jonny Lamb <jonny.lamb@collabora.co.uk> svn path=/trunk/; revision=2231 | ||||
* | Remove useless include of empathy-tp-group.h | Xavier Claessens | 2009-01-13 | 1 | -1/+0 |
| | | | | svn path=/trunk/; revision=2226 | ||||
* | mission_control_get_tpconnection returns a new ref, don't forget to unref ↵ | Xavier Claessens | 2009-01-10 | 1 | -0/+2 |
| | | | | | | the connection. svn path=/trunk/; revision=2216 | ||||
* | Add a FIXME telling that there is a leak, not sure how to plug it, that code ↵ | Xavier Claessens | 2009-01-10 | 1 | -0/+1 |
| | | | | | | will be removed soon anyway. svn path=/trunk/; revision=2215 | ||||
* | Use tp_channel_borrow_connection instead of g_object_get. This fix a leak. | Xavier Claessens | 2009-01-10 | 1 | -1/+1 |
| | | | | svn path=/trunk/; revision=2214 | ||||
* | Fix some errors made when rebasing on master | Xavier Claessens | 2009-01-10 | 1 | -1/+1 |
| | | | | svn path=/trunk/; revision=2211 | ||||
* | Remove dead code | Xavier Claessens | 2009-01-10 | 1 | -9/+0 |
| | | | | svn path=/trunk/; revision=2210 | ||||
* | Ignore requested channels we didn't request except for text channels, also ↵ | Sjoerd Simons | 2009-01-10 | 1 | -2/+31 |
| | | | | | | | | ignore deprecated channels types and channels for which it doesn't make sense to handle them unless they were requested Signed-off-by: Sjoerd Simons <sjoerd.simons@collabora.co.uk> svn path=/trunk/; revision=2203 | ||||
* | Port to the new empathy_call_when_ready api | Sjoerd Simons | 2009-01-10 | 1 | -10/+29 |
| | | | | | | Signed-off-by: Sjoerd Simons <sjoerd.simons@collabora.co.uk> svn path=/trunk/; revision=2193 | ||||
* | Make the dispatch operation _get_ functions not return a ref | Sjoerd Simons | 2009-01-10 | 1 | -2/+2 |
| | | | | | | Signed-off-by: Sjoerd Simons <sjoerd.simons@collabora.co.uk> svn path=/trunk/; revision=2188 | ||||
* | Initialise the chatroom manager from empathy itself | Sjoerd Simons | 2009-01-10 | 1 | -7/+1 |
| | | | | | | Signed-off-by: Sjoerd Simons <sjoerd.simons@collabora.co.uk> svn path=/trunk/; revision=2186 | ||||
* | Convert EmpathyChatroomManager to the new singleton convention | Sjoerd Simons | 2009-01-10 | 1 | -1/+1 |
| | | | | | | Signed-off-by: Sjoerd Simons <sjoerd.simons@collabora.co.uk> svn path=/trunk/; revision=2185 | ||||
* | Move the dispatcher to the new singleton policy | Sjoerd Simons | 2009-01-10 | 1 | -14/+31 |
| | | | | | | Signed-off-by: Sjoerd Simons <sjoerd.simons@collabora.co.uk> svn path=/trunk/; revision=2181 | ||||
* | Don't initialise variables by calling functions when declaring them | Sjoerd Simons | 2009-01-10 | 1 | -11/+23 |
| | | | | | | Signed-off-by: Sjoerd Simons <sjoerd.simons@collabora.co.uk> svn path=/trunk/; revision=2173 | ||||
* | Remove dead code | Sjoerd Simons | 2009-01-10 | 1 | -588/+0 |
| | | | | | | Signed-off-by: Sjoerd Simons <sjoerd.simons@collabora.co.uk> svn path=/trunk/; revision=2168 | ||||
* | Add code to request a streamed media channel | Sjoerd Simons | 2009-01-10 | 1 | -15/+30 |
| | | | | | | Signed-off-by: Sjoerd Simons <sjoerd.simons@collabora.co.uk> svn path=/trunk/; revision=2164 | ||||
* | Let a EmpathyChatroomManager observe the dispatcher | Sjoerd Simons | 2009-01-10 | 1 | -0/+2 |
| | | | | | | Signed-off-by: Sjoerd Simons <sjoerd.simons@collabora.co.uk> svn path=/trunk/; revision=2149 | ||||
* | Add request muc channels to the dispatcher | Sjoerd Simons | 2009-01-10 | 1 | -6/+71 |
| | | | | | | Signed-off-by: Sjoerd Simons <sjoerd.simons@collabora.co.uk> svn path=/trunk/; revision=2143 | ||||
* | Add support for dispatching file transfers | Sjoerd Simons | 2009-01-10 | 1 | -24/+138 |
| | | | | | | Signed-off-by: Sjoerd Simons <sjoerd.simons@collabora.co.uk> svn path=/trunk/; revision=2135 | ||||
* | Add an optional properties hash to the RequestData struct | Sjoerd Simons | 2009-01-10 | 1 | -4/+9 |
| | | | | | | Signed-off-by: Sjoerd Simons <sjoerd.simons@collabora.co.uk> svn path=/trunk/; revision=2133 | ||||
* | Start reworking the dispatcher | Sjoerd Simons | 2009-01-10 | 1 | -339/+876 |
| | | | | | | | | | | | Rework the channel dispatche so it's model is somewhat similar to the ChannelDispatcher in the telepathy-spec. Which allows for a much cleaner and extensible implementation containg no ugly hacks. Currently it's only able to do Text Channels and a lot of the other functionality is temporary disabled Signed-off-by: Sjoerd Simons <sjoerd.simons@collabora.co.uk> svn path=/trunk/; revision=2130 | ||||
* | use tabs because everyone love tabs | Xavier Claessens | 2009-01-09 | 1 | -5/+5 |
| | | | | svn path=/trunk/; revision=2125 | ||||
* | dispatcher_tubes_new_tube_cb: add some tube handling debug messages | Xavier Claessens | 2009-01-09 | 1 | -0/+6 |
| | | | | svn path=/trunk/; revision=2124 | ||||
* | Port EmpathyContactFactory to the new singleton policy. | Xavier Claessens | 2009-01-09 | 1 | -4/+4 |
| | | | | svn path=/trunk/; revision=2113 | ||||
* | Use new singleton policy for EmpathyAccountManager. | Xavier Claessens | 2009-01-07 | 1 | -1/+1 |
| | | | | svn path=/trunk/; revision=2074 | ||||
* | Port EmpathyDispatcher to the new API. | Xavier Claessens | 2009-01-07 | 1 | -18/+21 |
| | | | | svn path=/trunk/; revision=2040 | ||||
* | Use gi18n-lib.h instead of gi18n.h for libraries. | Xavier Claessens | 2008-12-12 | 1 | -1/+1 |
| | | | | svn path=/trunk/; revision=1967 | ||||
* | Use G_GINT_FORMAT for printinf a goffset. Fixes bug #562873. | Xavier Claessens | 2008-12-03 | 1 | -1/+1 |
| | | | | svn path=/trunk/; revision=1944 | ||||
* | Little fix for previous commit. | Xavier Claessens | 2008-11-30 | 1 | -1/+1 |
| | | | | svn path=/trunk/; revision=1927 | ||||
* | Fix a bug for the compilation of empathy-dispatcher.c. Fixes bug #562588 ↵ | Xavier Claessens | 2008-11-30 | 1 | -1/+1 |
| | | | | | | (Stephane Wirtel). svn path=/trunk/; revision=1926 | ||||
* | dispatcher_connection_new_channel_cb: set the room of the newly created ↵ | Xavier Claessens | 2008-11-24 | 1 | -0/+1 |
| | | | | | | chatroom. Fixes bug #560387 (Guillaume Desmottes). svn path=/trunk/; revision=1918 | ||||
* | Remove empathy_tp_file_keep_alive hack and connect to "notify::state" in ↵ | Xavier Claessens | 2008-11-22 | 1 | -2/+18 |
| | | | | | | file_channel_create_cb() to unref the object when the FT is done. svn path=/trunk/; revision=1913 | ||||
* | Fix ref counting of tp_file, make it singleton per channel, and add a ↵ | Xavier Claessens | 2008-11-22 | 1 | -3/+2 |
| | | | | | | _keep_alive method that adds a tmp ref until the transfer finishes. svn path=/trunk/; revision=1904 | ||||
* | Add a FIXME about the tp_file being leaked | Xavier Claessens | 2008-11-22 | 1 | -0/+3 |
| | | | | svn path=/trunk/; revision=1900 | ||||
* | empathy_tp_file_accept/offer takes the GFile in param and return a GError if ↵ | Xavier Claessens | 2008-11-22 | 1 | -2/+1 |
| | | | | | | the file can't be opened. svn path=/trunk/; revision=1881 | ||||
* | Cleanup the coding style. If we can't get info about the GFile we abord the FT. | Xavier Claessens | 2008-11-22 | 1 | -80/+79 |
| | | | | svn path=/trunk/; revision=1875 | ||||
* | Set the Date property when requesting a FT channel | Xavier Claessens | 2008-11-22 | 1 | -2/+10 |
| | | | | svn path=/trunk/; revision=1845 | ||||
* | use Requestotron to request the FT channel | Xavier Claessens | 2008-11-22 | 1 | -46/+64 |
| | | | | svn path=/trunk/; revision=1844 | ||||
* | fix FT client side code as the generated code changed | Xavier Claessens | 2008-11-22 | 1 | -5/+5 |
| | | | | svn path=/trunk/; revision=1843 | ||||
* | Use _call_request_channel instead of _run_request_channel. (Jonny Lamb) | Jonny Lamb | 2008-11-22 | 1 | -51/+71 |
| | | | | | | Signed-off-by: Jonny Lamb <jonny.lamb@collabora.co.uk> svn path=/trunk/; revision=1839 | ||||
* | Don't expose streams in EmpathyTpFile, but use the GFile. (Jonny Lamb) | Jonny Lamb | 2008-11-22 | 1 | -3/+1 |
| | | | | | | Signed-off-by: Jonny Lamb <jonny.lamb@collabora.co.uk> svn path=/trunk/; revision=1837 | ||||
* | Moved empathy_send_file to EmpathyDispatcher and renamed it. (Jonny Lamb) | Jonny Lamb | 2008-11-22 | 1 | -0/+99 |
| | | | | | | Signed-off-by: Jonny Lamb <jonny.lamb@collabora.co.uk> svn path=/trunk/; revision=1835 | ||||
* | Removed file transfer handling code from empathy dispatcher. (Jonny Lamb) | Jonny Lamb | 2008-11-22 | 1 | -11/+0 |
| | | | | | | Signed-off-by: Jonny Lamb <jonny.lamb@collabora.co.uk> svn path=/trunk/; revision=1750 | ||||
* | Added start of handling new incoming file channels. (Jonny Lamb) | Jonny Lamb | 2008-11-22 | 1 | -0/+11 |
| | | | | | | Signed-off-by: Jonny Lamb <jonny.lamb@collabora.co.uk> svn path=/trunk/; revision=1742 | ||||
* | add the file path as arg to empathy_chatroom_manager_new | Xavier Claessens | 2008-10-13 | 1 | -1/+1 |
| | | | | svn path=/trunk/; revision=1542 | ||||
* | dispatcher: store a ref on the ChatroomManager | Xavier Claessens | 2008-10-13 | 1 | -21/+56 |
| | | | | svn path=/trunk/; revision=1538 | ||||
* | rename chatroom_invalidated_cb to dispatcher_chatroom_invalidated_cb | Xavier Claessens | 2008-10-13 | 1 | -6/+6 |
| | | | | svn path=/trunk/; revision=1537 | ||||
* | empathy-dispatcher: use new API of EmpathyChatRoom | Xavier Claessens | 2008-10-13 | 1 | -1/+2 |
| | | | | svn path=/trunk/; revision=1536 | ||||
* | add joined room to EmpathyChatroomManager. Fixes bug #542176 (Guillaume ↵ | Xavier Claessens | 2008-10-13 | 1 | -0/+75 |
| | | | | | | Desmottes). svn path=/trunk/; revision=1535 | ||||
* | Improve dispatcher. Fixes bug #465928. | Xavier Claessens | 2008-05-18 | 1 | -47/+184 |
| | | | | svn path=/trunk/; revision=1108 | ||||
* | Move non-gtk parts of EmpathyFilter to EmpathyDispatcher in libempathy, gtk ↵ | Xavier Claessens | 2008-05-09 | 1 | -0/+681 |
parts are now in EmpathyStatusIcon svn path=/trunk/; revision=1093 |