aboutsummaryrefslogtreecommitdiffstats
path: root/libempathy/empathy-dispatcher.c
Commit message (Collapse)AuthorAgeFilesLines
* empathy-dispatcher: fix coding styleGuillaume Desmottes2009-05-181-9/+9
|
* Remove g_object_ref from empathy_dispatch_operation_get_tp_connection. Fixes ↵Jonny Lamb2009-04-221-2/+0
| | | | | | #579780 Signed-off-by: Jonny Lamb <jonny.lamb@collabora.co.uk>
* Change EmpathyTpContactFactory API to look more like TpConnection. Add ↵Xavier Claessens2009-04-221-3/+13
| | | | | | function to get only one contact from id/handle.
* Remove dead codeXavier Claessens2009-04-221-3/+0
|
* Remove unused function empathy_dispatcher_call_with_contact().Xavier Claessens2009-04-221-27/+0
|
* EmpathyDispatcher: Use new EmpathyAccountManager API and rebase on ↵Xavier Claessens2009-04-221-196/+79
| | | | TpConnection instead of McAccount
* Free the capabilities array. Fixes bug #577826Xavier Claessens2009-04-031-1/+3
| | | | | | From: Xavier Claessens <xclaesse@gmail.com> svn path=/trunk/; revision=2758
* Handle re-dispatching channels in approving stateSjoerd Simons2009-02-211-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 Lamb2009-02-211-7/+7
| | | | | | Signed-off-by: Jonny Lamb <jonny.lamb@collabora.co.uk> svn path=/trunk/; revision=2523
* empathy-dispatcher: deal properly with NULL channel_wrapperGuillaume Desmottes2009-02-171-2/+4
| | | | | | From: Guillaume Desmottes <gdesmott@gnome.org> svn path=/trunk/; revision=2487
* empathy-dispatcher.[ch]: Several misc. code style fixes.Jonny Lamb2009-02-171-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 Lamb2009-02-171-0/+18
| | | | | | Signed-off-by: Jonny Lamb <jonny.lamb@collabora.co.uk> svn path=/trunk/; revision=2474
* Fix type punned pointers warningsOlivier Crête2009-02-121-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 classesSjoerd Simons2009-02-031-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 Lamb2009-01-311-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 Lamb2009-01-311-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 Lamb2009-01-171-4/+5
| | | | | | Signed-off-by: Jonny Lamb <jonny.lamb@collabora.co.uk> svn path=/trunk/; revision=2237
* empathy_mission_control_new -> dup_singleton.Xavier Claessens2009-01-161-1/+1
| | | | svn path=/trunk/; revision=2233
* EmpathyDispatcher: make style somewhat more consistent.Jonny Lamb2009-01-161-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 Lamb2009-01-151-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.hXavier Claessens2009-01-131-1/+0
| | | | svn path=/trunk/; revision=2226
* mission_control_get_tpconnection returns a new ref, don't forget to unref ↵Xavier Claessens2009-01-101-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 Claessens2009-01-101-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 Claessens2009-01-101-1/+1
| | | | svn path=/trunk/; revision=2214
* Fix some errors made when rebasing on masterXavier Claessens2009-01-101-1/+1
| | | | svn path=/trunk/; revision=2211
* Remove dead codeXavier Claessens2009-01-101-9/+0
| | | | svn path=/trunk/; revision=2210
* Ignore requested channels we didn't request except for text channels, also ↵Sjoerd Simons2009-01-101-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 apiSjoerd Simons2009-01-101-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 refSjoerd Simons2009-01-101-2/+2
| | | | | | Signed-off-by: Sjoerd Simons <sjoerd.simons@collabora.co.uk> svn path=/trunk/; revision=2188
* Initialise the chatroom manager from empathy itselfSjoerd Simons2009-01-101-7/+1
| | | | | | Signed-off-by: Sjoerd Simons <sjoerd.simons@collabora.co.uk> svn path=/trunk/; revision=2186
* Convert EmpathyChatroomManager to the new singleton conventionSjoerd Simons2009-01-101-1/+1
| | | | | | Signed-off-by: Sjoerd Simons <sjoerd.simons@collabora.co.uk> svn path=/trunk/; revision=2185
* Move the dispatcher to the new singleton policySjoerd Simons2009-01-101-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 themSjoerd Simons2009-01-101-11/+23
| | | | | | Signed-off-by: Sjoerd Simons <sjoerd.simons@collabora.co.uk> svn path=/trunk/; revision=2173
* Remove dead codeSjoerd Simons2009-01-101-588/+0
| | | | | | Signed-off-by: Sjoerd Simons <sjoerd.simons@collabora.co.uk> svn path=/trunk/; revision=2168
* Add code to request a streamed media channelSjoerd Simons2009-01-101-15/+30
| | | | | | Signed-off-by: Sjoerd Simons <sjoerd.simons@collabora.co.uk> svn path=/trunk/; revision=2164
* Let a EmpathyChatroomManager observe the dispatcherSjoerd Simons2009-01-101-0/+2
| | | | | | Signed-off-by: Sjoerd Simons <sjoerd.simons@collabora.co.uk> svn path=/trunk/; revision=2149
* Add request muc channels to the dispatcherSjoerd Simons2009-01-101-6/+71
| | | | | | Signed-off-by: Sjoerd Simons <sjoerd.simons@collabora.co.uk> svn path=/trunk/; revision=2143
* Add support for dispatching file transfersSjoerd Simons2009-01-101-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 structSjoerd Simons2009-01-101-4/+9
| | | | | | Signed-off-by: Sjoerd Simons <sjoerd.simons@collabora.co.uk> svn path=/trunk/; revision=2133
* Start reworking the dispatcherSjoerd Simons2009-01-101-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 tabsXavier Claessens2009-01-091-5/+5
| | | | svn path=/trunk/; revision=2125
* dispatcher_tubes_new_tube_cb: add some tube handling debug messagesXavier Claessens2009-01-091-0/+6
| | | | svn path=/trunk/; revision=2124
* Port EmpathyContactFactory to the new singleton policy.Xavier Claessens2009-01-091-4/+4
| | | | svn path=/trunk/; revision=2113
* Use new singleton policy for EmpathyAccountManager.Xavier Claessens2009-01-071-1/+1
| | | | svn path=/trunk/; revision=2074
* Port EmpathyDispatcher to the new API.Xavier Claessens2009-01-071-18/+21
| | | | svn path=/trunk/; revision=2040
* Use gi18n-lib.h instead of gi18n.h for libraries.Xavier Claessens2008-12-121-1/+1
| | | | svn path=/trunk/; revision=1967
* Use G_GINT_FORMAT for printinf a goffset. Fixes bug #562873.Xavier Claessens2008-12-031-1/+1
| | | | svn path=/trunk/; revision=1944
* Little fix for previous commit.Xavier Claessens2008-11-301-1/+1
| | | | svn path=/trunk/; revision=1927
* Fix a bug for the compilation of empathy-dispatcher.c. Fixes bug #562588 ↵Xavier Claessens2008-11-301-1/+1
| | | | | | (Stephane Wirtel). svn path=/trunk/; revision=1926
* dispatcher_connection_new_channel_cb: set the room of the newly created ↵Xavier Claessens2008-11-241-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 Claessens2008-11-221-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 Claessens2008-11-221-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 leakedXavier Claessens2008-11-221-0/+3
| | | | svn path=/trunk/; revision=1900
* empathy_tp_file_accept/offer takes the GFile in param and return a GError if ↵Xavier Claessens2008-11-221-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 Claessens2008-11-221-80/+79
| | | | svn path=/trunk/; revision=1875
* Set the Date property when requesting a FT channelXavier Claessens2008-11-221-2/+10
| | | | svn path=/trunk/; revision=1845
* use Requestotron to request the FT channelXavier Claessens2008-11-221-46/+64
| | | | svn path=/trunk/; revision=1844
* fix FT client side code as the generated code changedXavier Claessens2008-11-221-5/+5
| | | | svn path=/trunk/; revision=1843
* Use _call_request_channel instead of _run_request_channel. (Jonny Lamb)Jonny Lamb2008-11-221-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 Lamb2008-11-221-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 Lamb2008-11-221-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 Lamb2008-11-221-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 Lamb2008-11-221-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_newXavier Claessens2008-10-131-1/+1
| | | | svn path=/trunk/; revision=1542
* dispatcher: store a ref on the ChatroomManagerXavier Claessens2008-10-131-21/+56
| | | | svn path=/trunk/; revision=1538
* rename chatroom_invalidated_cb to dispatcher_chatroom_invalidated_cbXavier Claessens2008-10-131-6/+6
| | | | svn path=/trunk/; revision=1537
* empathy-dispatcher: use new API of EmpathyChatRoomXavier Claessens2008-10-131-1/+2
| | | | svn path=/trunk/; revision=1536
* add joined room to EmpathyChatroomManager. Fixes bug #542176 (Guillaume ↵Xavier Claessens2008-10-131-0/+75
| | | | | | Desmottes). svn path=/trunk/; revision=1535
* Improve dispatcher. Fixes bug #465928.Xavier Claessens2008-05-181-47/+184
| | | | svn path=/trunk/; revision=1108
* Move non-gtk parts of EmpathyFilter to EmpathyDispatcher in libempathy, gtk ↵Xavier Claessens2008-05-091-0/+681
parts are now in EmpathyStatusIcon svn path=/trunk/; revision=1093