Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Fix type punned pointers warnings | Olivier Crête | 2009-02-12 | 8 | -9/+9 |
| | | | | | | | | | 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 newline at end of file | Olivier Crête | 2009-02-12 | 1 | -1/+1 |
| | | | | | | | From: Olivier Crête <olivier.crete@collabora.co.uk> Signed-off-by: Sjoerd Simons <sjoerd.simons@collabora.co.uk> svn path=/trunk/; revision=2439 | ||||
* | Save status message on NetworkManager disconnect and restore on reconnect | Davyd Madeley | 2009-02-11 | 1 | -3/+12 |
| | | | | | | From: Davyd Madeley <davyd@madeley.id.au> svn path=/trunk/; revision=2432 | ||||
* | Cleanup for GObject related functions in EmpathyCallFactory and ↵ | Cosimo Cecchi | 2009-02-05 | 4 | -103/+86 |
| | | | | | | | | EmpathyCallHandler. From: Cosimo Cecchi <cosimo.cecchi@collabora.co.uk> svn path=/trunk/; revision=2426 | ||||
* | Remove repeated casts to EmpathyTpChat | Will Thompson | 2009-02-04 | 1 | -11/+14 |
| | | | | | | Signed-off-by: Will Thompson <will.thompson@collabora.co.uk> svn path=/trunk/; revision=2423 | ||||
* | Ignore and acknowledge empty NonTextContent messages. | Will Thompson | 2009-02-04 | 1 | -0/+34 |
| | | | | | | | | | | | Delivery reports on the Messages interface show up as empty messages with the NonTextContent flag set in a Text.Received signal and in ListPendingMessages. Empathy can't do anything useful with them, so ack them and ignore them. Signed-off-by: Will Thompson <will.thompson@collabora.co.uk> svn path=/trunk/; revision=2422 | ||||
* | Add a space between the function name and the (void) | Xavier Claessens | 2009-02-03 | 2 | -2/+2 |
| | | | | svn path=/trunk/; revision=2416 | ||||
* | Remove some dead code | Sjoerd Simons | 2009-02-03 | 1 | -17/+0 |
| | | | | | | Signed-off-by: Sjoerd Simons <sjoerd.simons@collabora.co.uk> svn path=/trunk/; revision=2411 | ||||
* | Request only audio in the initial request | Sjoerd Simons | 2009-02-03 | 1 | -2/+1 |
| | | | | | | Signed-off-by: Sjoerd Simons <sjoerd.simons@collabora.co.uk> svn path=/trunk/; revision=2405 | ||||
* | Also unref the tf channel | Sjoerd Simons | 2009-02-03 | 1 | -1/+7 |
| | | | | | | Signed-off-by: Sjoerd Simons <sjoerd.simons@collabora.co.uk> svn path=/trunk/; revision=2401 | ||||
* | Remove dead code | Sjoerd Simons | 2009-02-03 | 1 | -2/+0 |
| | | | | | | Signed-off-by: Sjoerd Simons <sjoerd.simons@collabora.co.uk> svn path=/trunk/; revision=2400 | ||||
* | Don't return the handler, so we can unref it after signalling | Sjoerd Simons | 2009-02-03 | 2 | -12/+12 |
| | | | | | | Signed-off-by: Sjoerd Simons <sjoerd.simons@collabora.co.uk> svn path=/trunk/; revision=2398 | ||||
* | Close ongoing calls at dispose time | Sjoerd Simons | 2009-02-03 | 1 | -2/+4 |
| | | | | | | Signed-off-by: Sjoerd Simons <sjoerd.simons@collabora.co.uk> svn path=/trunk/; revision=2396 | ||||
* | Add ability to start a call for an incoming channel | Sjoerd Simons | 2009-02-03 | 1 | -14/+34 |
| | | | | | | Signed-off-by: Sjoerd Simons <sjoerd.simons@collabora.co.uk> svn path=/trunk/; revision=2395 | ||||
* | Don't double-free the EmpathyTpCallStreams | Sjoerd Simons | 2009-02-03 | 1 | -3/+0 |
| | | | | | | | | | The EmpathyTpCallStreams audio and video streams are freed in _finalize, don't also free them in dispose Signed-off-by: Sjoerd Simons <sjoerd.simons@collabora.co.uk> svn path=/trunk/; revision=2391 | ||||
* | Move the TpFarsight code from TpCall to CallHandler | Sjoerd Simons | 2009-02-03 | 4 | -160/+309 |
| | | | | | | Signed-off-by: Sjoerd Simons <sjoerd.simons@collabora.co.uk> svn path=/trunk/; revision=2387 | ||||
* | Add functionality to call CreateChannels and look up (simple) channel classes | Sjoerd Simons | 2009-02-03 | 2 | -12/+156 |
| | | | | | | Signed-off-by: Sjoerd Simons <sjoerd.simons@collabora.co.uk> svn path=/trunk/; revision=2386 | ||||
* | Switch to calling CallFactory to make calls | Sjoerd Simons | 2009-02-03 | 2 | -36/+1 |
| | | | | | | Signed-off-by: Sjoerd Simons <sjoerd.simons@collabora.co.uk> svn path=/trunk/; revision=2382 | ||||
* | Add Stub call factor and call handler objects | Sjoerd Simons | 2009-02-03 | 5 | -0/+445 |
| | | | | | | Signed-off-by: Sjoerd Simons <sjoerd.simons@collabora.co.uk> svn path=/trunk/; revision=2381 | ||||
* | Initial port from telepathy-stream-engine to telepathy-farsight | Sjoerd Simons | 2009-02-03 | 1 | -133/+165 |
| | | | | | | Signed-off-by: Sjoerd Simons <sjoerd.simons@collabora.co.uk> svn path=/trunk/; revision=2380 | ||||
* | Fix dispatching of tubes: stream tubes vs D-Bus tubes | Alban Crequy | 2009-02-03 | 1 | -2/+2 |
| | | | | | | Signed-off-by: Alban Crequy <alban.crequy@collabora.co.uk> svn path=/trunk/; revision=2365 | ||||
* | 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 | ||||
* | Move empathy_notification_is_enabled () to src/ | Xavier Claessens | 2009-01-31 | 2 | -1/+21 |
| | | | | svn path=/trunk/; revision=2294 | ||||
* | Added a new empathy_account_manager_get_count function, to get the number of | Frederic Peters | 2009-01-30 | 2 | -2/+22 |
| | | | | | | accounts. svn path=/trunk/; revision=2264 | ||||
* | Renamed G_STR_EMPTY to EMP_STR_EMPTY. | Jonny Lamb | 2009-01-23 | 7 | -21/+21 |
| | | | | | | Signed-off-by: Jonny Lamb <jonny.lamb@collabora.co.uk> svn path=/trunk/; revision=2249 | ||||
* | 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 | ||||
* | Removed extensions.h inclusion in public API. | Jonny Lamb | 2009-01-17 | 3 | -6/+7 |
| | | | | | | Signed-off-by: Jonny Lamb <jonny.lamb@collabora.co.uk> svn path=/trunk/; revision=2236 | ||||
* | Fix building, there were a missing _new ->_dup_singleton. | Xavier Claessens | 2009-01-16 | 1 | -1/+1 |
| | | | | svn path=/trunk/; revision=2235 | ||||
* | empathy_mission_control_new -> dup_singleton. | Xavier Claessens | 2009-01-16 | 11 | -12/+12 |
| | | | | 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 | ||||
* | Do not unref the channel when closing it, wait for the invalidated signal. | Xavier Claessens | 2009-01-15 | 1 | -24/+12 |
| | | | | svn path=/trunk/; revision=2230 | ||||
* | Remove usage of EmpathyTpGroup from EmpathyTpCall. | Xavier Claessens | 2009-01-13 | 1 | -37/+69 |
| | | | | svn path=/trunk/; revision=2229 | ||||
* | EmpathyContact keeps a ref to the factory. | Xavier Claessens | 2009-01-13 | 1 | -3/+23 |
| | | | | svn path=/trunk/; revision=2228 | ||||
* | Remove some usage of EmpathyTpGroup from EmpathyTpChat | Xavier Claessens | 2009-01-13 | 1 | -6/+14 |
| | | | | svn path=/trunk/; revision=2227 | ||||
* | Remove useless include of empathy-tp-group.h | Xavier Claessens | 2009-01-13 | 3 | -2/+1 |
| | | | | svn path=/trunk/; revision=2226 | ||||
* | Remove useless goto | Xavier Claessens | 2009-01-10 | 1 | -3/+1 |
| | | | | svn path=/trunk/; revision=2218 | ||||
* | If channel is invalidated before being ready, the error is handled in ↵ | Xavier Claessens | 2009-01-10 | 1 | -0/+4 |
| | | | | | | invalidated_cb, so we can return directly in ready_cb. svn path=/trunk/; revision=2217 | ||||
* | 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 | 2 | -19/+0 |
| | | | | svn path=/trunk/; revision=2210 | ||||
* | Correct little coding style | Xavier Claessens | 2009-01-10 | 1 | -1/+1 |
| | | | | svn path=/trunk/; revision=2209 | ||||
* | Correctly align \ characters | Xavier Claessens | 2009-01-10 | 1 | -2/+2 |
| | | | | svn path=/trunk/; revision=2208 | ||||
* | Only unref things in dispose | Sjoerd Simons | 2009-01-10 | 1 | -13/+4 |
| | | | | | | Signed-off-by: Sjoerd Simons <sjoerd.simons@collabora.co.uk> svn path=/trunk/; revision=2205 | ||||
* | 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 | ||||
* | Don't use the old style TpTubeType | Sjoerd Simons | 2009-01-10 | 2 | -11/+16 |
| | | | | | | Signed-off-by: Sjoerd Simons <sjoerd.simons@collabora.co.uk> svn path=/trunk/; revision=2200 | ||||
* | Ignore approval that happen after the operation was approved | Sjoerd Simons | 2009-01-10 | 1 | -1/+7 |
| | | | | | | Signed-off-by: Sjoerd Simons <sjoerd.simons@collabora.co.uk> svn path=/trunk/; revision=2196 | ||||
* | Correctly define the invalidated signal | Sjoerd Simons | 2009-01-10 | 1 | -1/+1 |
| | | | | | | Signed-off-by: Sjoerd Simons <sjoerd.simons@collabora.co.uk> svn path=/trunk/; revision=2194 | ||||
* | 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 error in the call_when_ready callback const | Sjoerd Simons | 2009-01-10 | 2 | -2/+2 |
| | | | | | | Signed-off-by: Sjoerd Simons <sjoerd.simons@collabora.co.uk> svn path=/trunk/; revision=2192 | ||||
* | Free ready callbacks in finalize | Sjoerd Simons | 2009-01-10 | 1 | -1/+17 |
| | | | | | | Signed-off-by: Sjoerd Simons <sjoerd.simons@collabora.co.uk> svn path=/trunk/; revision=2191 | ||||
* | Add weak object, destroy notify and error reporting to ↵ | Sjoerd Simons | 2009-01-10 | 2 | -9/+56 |
| | | | | | | | | empathy_contact_call_when_ready Signed-off-by: Sjoerd Simons <sjoerd.simons@collabora.co.uk> svn path=/trunk/; revision=2190 | ||||
* | Let a chatroom keep a reference to a its TpChat if applicable | Sjoerd Simons | 2009-01-10 | 3 | -4/+55 |
| | | | | | | Signed-off-by: Sjoerd Simons <sjoerd.simons@collabora.co.uk> svn path=/trunk/; revision=2189 | ||||
* | Make the dispatch operation _get_ functions not return a ref | Sjoerd Simons | 2009-01-10 | 5 | -14/+6 |
| | | | | | | Signed-off-by: Sjoerd Simons <sjoerd.simons@collabora.co.uk> svn path=/trunk/; revision=2188 | ||||
* | Don't unref the TpGroup twice | Sjoerd Simons | 2009-01-10 | 1 | -1/+0 |
| | | | | | | Signed-off-by: Sjoerd Simons <sjoerd.simons@collabora.co.uk> svn path=/trunk/; revision=2187 | ||||
* | 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 | 3 | -16/+13 |
| | | | | | | Signed-off-by: Sjoerd Simons <sjoerd.simons@collabora.co.uk> svn path=/trunk/; revision=2185 | ||||
* | Don't close channels as a side-effect of disposing wrapper objects | Sjoerd Simons | 2009-01-10 | 3 | -6/+19 |
| | | | | | | Signed-off-by: Sjoerd Simons <sjoerd.simons@collabora.co.uk> svn path=/trunk/; revision=2183 | ||||
* | Remove some dead code | Sjoerd Simons | 2009-01-10 | 1 | -6/+0 |
| | | | | | | Signed-off-by: Sjoerd Simons <sjoerd.simons@collabora.co.uk> svn path=/trunk/; revision=2182 | ||||
* | Move the dispatcher to the new singleton policy | Sjoerd Simons | 2009-01-10 | 2 | -15/+32 |
| | | | | | | Signed-off-by: Sjoerd Simons <sjoerd.simons@collabora.co.uk> svn path=/trunk/; revision=2181 | ||||
* | Always check if the passed operation is actually a dispatch operation | Sjoerd Simons | 2009-01-10 | 1 | -11/+57 |
| | | | | | | Signed-off-by: Sjoerd Simons <sjoerd.simons@collabora.co.uk> svn path=/trunk/; revision=2178 | ||||
* | Style fixes | Sjoerd Simons | 2009-01-10 | 1 | -108/+114 |
| | | | | | | Signed-off-by: Sjoerd Simons <sjoerd.simons@collabora.co.uk> svn path=/trunk/; revision=2175 | ||||
* | Style fixes | Sjoerd Simons | 2009-01-10 | 2 | -3/+5 |
| | | | | | | Signed-off-by: Sjoerd Simons <sjoerd.simons@collabora.co.uk> svn path=/trunk/; revision=2174 | ||||
* | 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 | ||||
* | More style fixes | Sjoerd Simons | 2009-01-10 | 1 | -6/+6 |
| | | | | | | Signed-off-by: Sjoerd Simons <sjoerd.simons@collabora.co.uk> svn path=/trunk/; revision=2172 | ||||
* | 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 a utility function to start a call to a contact | Sjoerd Simons | 2009-01-10 | 2 | -0/+40 |
| | | | | | | Signed-off-by: Sjoerd Simons <sjoerd.simons@collabora.co.uk> svn path=/trunk/; revision=2166 | ||||
* | Add a function to explicitly set the remote candidate on outgoing calls ↵ | Sjoerd Simons | 2009-01-10 | 2 | -23/+15 |
| | | | | | | | | instead of relying on the group interface Signed-off-by: Sjoerd Simons <sjoerd.simons@collabora.co.uk> svn path=/trunk/; revision=2165 | ||||
* | Add code to request a streamed media channel | Sjoerd Simons | 2009-01-10 | 2 | -18/+30 |
| | | | | | | Signed-off-by: Sjoerd Simons <sjoerd.simons@collabora.co.uk> svn path=/trunk/; revision=2164 | ||||
* | Add a function to explicitly close EmpathyTpCall | Sjoerd Simons | 2009-01-10 | 2 | -4/+16 |
| | | | | | | Signed-off-by: Sjoerd Simons <sjoerd.simons@collabora.co.uk> svn path=/trunk/; revision=2160 | ||||
* | Make empathy_tp_tube_accept_stream_tube more like underlying dbus function ↵ | Sjoerd Simons | 2009-01-10 | 2 | -55/+85 |
| | | | | | | | | and hand errors to the caller Signed-off-by: Sjoerd Simons <sjoerd.simons@collabora.co.uk> svn path=/trunk/; revision=2156 | ||||
* | Remove the id parameter, it's no longer used | Sjoerd Simons | 2009-01-10 | 1 | -3/+0 |
| | | | | | | Signed-off-by: Sjoerd Simons <sjoerd.simons@collabora.co.uk> svn path=/trunk/; revision=2155 | ||||
* | Call emp_cli_init in empathy_init | Sjoerd Simons | 2009-01-10 | 1 | -0/+5 |
| | | | | | | Signed-off-by: Sjoerd Simons <sjoerd.simons@collabora.co.uk> svn path=/trunk/; revision=2153 | ||||
* | New style tubes don't have ides | Sjoerd Simons | 2009-01-10 | 1 | -2/+2 |
| | | | | | | Signed-off-by: Sjoerd Simons <sjoerd.simons@collabora.co.uk> svn path=/trunk/; revision=2152 | ||||
* | Update to new stream tube spec | Sjoerd Simons | 2009-01-10 | 2 | -156/+60 |
| | | | | | | Signed-off-by: Sjoerd Simons <sjoerd.simons@collabora.co.uk> svn path=/trunk/; revision=2151 | ||||
* | 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 | ||||
* | Act as an observer | Sjoerd Simons | 2009-01-10 | 2 | -0/+91 |
| | | | | | | Signed-off-by: Sjoerd Simons <sjoerd.simons@collabora.co.uk> svn path=/trunk/; revision=2148 | ||||
* | Disconnect signal handlers from the head of the queue before destroying the ↵ | Sjoerd Simons | 2009-01-10 | 1 | -11/+10 |
| | | | | | | | | queue Signed-off-by: Sjoerd Simons <sjoerd.simons@collabora.co.uk> svn path=/trunk/; revision=2147 | ||||
* | Remove the tp-channel property, it's unused and useless | Sjoerd Simons | 2009-01-10 | 1 | -35/+0 |
| | | | | | | Signed-off-by: Sjoerd Simons <sjoerd.simons@collabora.co.uk> svn path=/trunk/; revision=2146 | ||||
* | Remove custom channel requesting functionality, this should go through the ↵ | Sjoerd Simons | 2009-01-10 | 2 | -135/+0 |
| | | | | | | | | dispatcher Signed-off-by: Sjoerd Simons <sjoerd.simons@collabora.co.uk> svn path=/trunk/; revision=2144 | ||||
* | Add request muc channels to the dispatcher | Sjoerd Simons | 2009-01-10 | 2 | -13/+78 |
| | | | | | | Signed-off-by: Sjoerd Simons <sjoerd.simons@collabora.co.uk> svn path=/trunk/; revision=2143 | ||||
* | Wait untill the TpChat object is ready before going into pending state | Sjoerd Simons | 2009-01-10 | 1 | -2/+41 |
| | | | | | | Signed-off-by: Sjoerd Simons <sjoerd.simons@collabora.co.uk> svn path=/trunk/; revision=2142 | ||||
* | Add a function to explicitly close File channels | Sjoerd Simons | 2009-01-10 | 2 | -1/+9 |
| | | | | | | Signed-off-by: Sjoerd Simons <sjoerd.simons@collabora.co.uk> svn path=/trunk/; revision=2140 | ||||
* | Make existing contact FT capable when the CM supports it | Sjoerd Simons | 2009-01-10 | 1 | -1/+0 |
| | | | | | | Signed-off-by: Sjoerd Simons <sjoerd.simons@collabora.co.uk> svn path=/trunk/; revision=2139 | ||||
* | Add support for dispatching file transfers | Sjoerd Simons | 2009-01-10 | 2 | -27/+150 |
| | | | | | | Signed-off-by: Sjoerd Simons <sjoerd.simons@collabora.co.uk> svn path=/trunk/; revision=2135 | ||||
* | Recognise file transfers | Xavier Claessens | 2009-01-10 | 1 | -0/+6 |
| | | | | svn path=/trunk/; revision=2134 | ||||
* | 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 | 5 | -352/+1546 |
| | | | | | | | | | | | 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 | ||||
* | Improve API of tp-chat | Sjoerd Simons | 2009-01-10 | 2 | -117/+218 |
| | | | | | | | | | | | | | | | | | | * Never automagically acknowledge message, the UI should do this * Add API to acknowledge a single or a list of EmpathyMessage * Add API to get the list of pending messages * Add API to explicitly close the underlying channel * Ignore events from a channel that is being closed. Important events will be emitted when the text channel respawns. In the future we might want to make the closing of the channel async and have it emit signals untill closed. Mostly for the benefit of the logger. Needs some work in the UI bits to disconnect all signals properly when closing the window though. Signed-off-by: Sjoerd Simons <sjoerd.simons@collabora.co.uk> svn path=/trunk/; revision=2128 | ||||
* | Add id field to save the message id as received the CM | Sjoerd Simons | 2009-01-10 | 2 | -0/+19 |
| | | | | | | Signed-off-by: Sjoerd Simons <sjoerd.simons@collabora.co.uk> svn path=/trunk/; revision=2127 | ||||
* | Add empathy_contact_call_when_ready | Sjoerd Simons | 2009-01-10 | 2 | -11/+72 |
| | | | | | | Signed-off-by: Sjoerd Simons <sjoerd.simons@collabora.co.uk> svn path=/trunk/; revision=2126 | ||||
* | 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 | ||||
* | Set the right weak pointer. | Xavier Claessens | 2009-01-09 | 3 | -3/+3 |
| | | | | svn path=/trunk/; revision=2122 | ||||
* | Port EmpathyContactManager to the new singleton policy. | Xavier Claessens | 2009-01-09 | 2 | -12/+26 |
| | | | | svn path=/trunk/; revision=2121 | ||||
* | Port EmpathyLogManager to the new singleton policy. | Xavier Claessens | 2009-01-09 | 2 | -19/+32 |
| | | | | svn path=/trunk/; revision=2115 | ||||
* | Port EmpathyIdle to the new singleton policy. | Xavier Claessens | 2009-01-09 | 2 | -13/+27 |
| | | | | svn path=/trunk/; revision=2114 | ||||
* | Port EmpathyContactFactory to the new singleton policy. | Xavier Claessens | 2009-01-09 | 7 | -20/+34 |
| | | | | svn path=/trunk/; revision=2113 | ||||
* | Fix the creation of bus_name and object_path for dispatching tubes. It drops ↵ | Xavier Claessens | 2009-01-07 | 1 | -19/+8 |
| | | | | | | escaping for now. svn path=/trunk/; revision=2104 | ||||
* | Use a GList instead of a GPtrArray and reorder the functions to avoid | Xavier Claessens | 2009-01-07 | 1 | -148/+140 |
| | | | | | | prototypes. svn path=/trunk/; revision=2100 | ||||
* | Create the EmpathyContactMonitor lazily if needed. | Xavier Claessens | 2009-01-07 | 2 | -4/+17 |
| | | | | svn path=/trunk/; revision=2099 | ||||
* | Rename proxy->iface in EmpathyContactMonitor. | Xavier Claessens | 2009-01-07 | 2 | -26/+26 |
| | | | | svn path=/trunk/; revision=2098 | ||||
* | Use g_return_[val]_if_fail instead of g_assert in public APIs. | Xavier Claessens | 2009-01-07 | 2 | -6/+6 |
| | | | | svn path=/trunk/; revision=2097 | ||||
* | Use the right weak pointer location. | Xavier Claessens | 2009-01-07 | 1 | -1/+1 |
| | | | | svn path=/trunk/; revision=2096 | ||||
* | disconnect_monitor_signals function is quite useless. | Xavier Claessens | 2009-01-07 | 1 | -18/+10 |
| | | | | svn path=/trunk/; revision=2095 | ||||
* | Don't initialize the variable at declaration. | Xavier Claessens | 2009-01-07 | 1 | -3/+3 |
| | | | | svn path=/trunk/; revision=2094 | ||||
* | Move code handling the DBus signal in an idle callback. | Xavier Claessens | 2009-01-07 | 1 | -12/+44 |
| | | | | svn path=/trunk/; revision=2093 | ||||
* | Use TpConnectionStatus instead of guint. | Xavier Claessens | 2009-01-07 | 1 | -1/+1 |
| | | | | svn path=/trunk/; revision=2092 | ||||
* | Simplify code when initializing the store. | Xavier Claessens | 2009-01-07 | 1 | -35/+31 |
| | | | | | | | Always start the 10sec timeout when we change status to connected. Rename TpConnectionStatus variables connection->status. svn path=/trunk/; revision=2091 | ||||
* | Insert a comment claryfing reference ownership. | Xavier Claessens | 2009-01-07 | 1 | -0/+3 |
| | | | | svn path=/trunk/; revision=2090 | ||||
* | Don't forget to unref the account object. | Xavier Claessens | 2009-01-07 | 1 | -0/+1 |
| | | | | svn path=/trunk/; revision=2089 | ||||
* | Set to NULL the status message if it's empty. | Xavier Claessens | 2009-01-07 | 1 | -4/+6 |
| | | | | svn path=/trunk/; revision=2084 | ||||
* | Initialize the connection numbers when creating the object. | Xavier Claessens | 2009-01-07 | 1 | -0/+9 |
| | | | | svn path=/trunk/; revision=2083 | ||||
* | Add debug messages. | Xavier Claessens | 2009-01-07 | 1 | -0/+4 |
| | | | | svn path=/trunk/; revision=2081 | ||||
* | Add a weak pointer ref inside the costructor. | Xavier Claessens | 2009-01-07 | 1 | -0/+1 |
| | | | | svn path=/trunk/; revision=2080 | ||||
* | Use new singleton policy for EmpathyAccountManager. | Xavier Claessens | 2009-01-07 | 5 | -6/+9 |
| | | | | svn path=/trunk/; revision=2074 | ||||
* | Another style nitpick. | Xavier Claessens | 2009-01-07 | 1 | -1/+3 |
| | | | | svn path=/trunk/; revision=2073 | ||||
* | Yet more style fixes. | Xavier Claessens | 2009-01-07 | 2 | -178/+180 |
| | | | | svn path=/trunk/; revision=2072 | ||||
* | Use _constructor () override to implement singleton. | Xavier Claessens | 2009-01-07 | 1 | -9/+22 |
| | | | | svn path=/trunk/; revision=2071 | ||||
* | Add newlines at the end of files. | Xavier Claessens | 2009-01-07 | 3 | -0/+3 |
| | | | | svn path=/trunk/; revision=2070 | ||||
* | Drop our references in dispose instead of finalize. | Xavier Claessens | 2009-01-07 | 1 | -2/+30 |
| | | | | svn path=/trunk/; revision=2069 | ||||
* | Remember to set dispose_run after dispose has run. | Xavier Claessens | 2009-01-07 | 1 | -0/+2 |
| | | | | svn path=/trunk/; revision=2068 | ||||
* | Don't leak a reference to McAccount objects and don't leak a list. | Xavier Claessens | 2009-01-07 | 1 | -3/+7 |
| | | | | svn path=/trunk/; revision=2066 | ||||
* | Unref objects in dispose and not in finalize; fully update account data | Xavier Claessens | 2009-01-07 | 1 | -10/+43 |
| | | | | | | before emitting signals. svn path=/trunk/; revision=2065 | ||||
* | Style fixes. | Xavier Claessens | 2009-01-07 | 5 | -620/+620 |
| | | | | svn path=/trunk/; revision=2064 | ||||
* | Don't own a reference to the EmpathyTpChat, otherwise it won't be | Xavier Claessens | 2009-01-07 | 1 | -7/+14 |
| | | | | | | finalized. svn path=/trunk/; revision=2063 | ||||
* | Always disconnect signals for safety on _finalize (). | Xavier Claessens | 2009-01-07 | 2 | -2/+24 |
| | | | | svn path=/trunk/; revision=2062 | ||||
* | Fix the build. | Xavier Claessens | 2009-01-07 | 1 | -0/+1 |
| | | | | svn path=/trunk/; revision=2059 | ||||
* | Remember to check if source_id is already there when adding the | Xavier Claessens | 2009-01-07 | 1 | -0/+5 |
| | | | | | | g_timeout. svn path=/trunk/; revision=2058 | ||||
* | Remove useless include. | Xavier Claessens | 2009-01-07 | 1 | -1/+0 |
| | | | | svn path=/trunk/; revision=2057 | ||||
* | Remove an useless method from the header and remember to unref the | Xavier Claessens | 2009-01-07 | 2 | -1/+1 |
| | | | | | | EmpathyContactMonitor in _finalize(). svn path=/trunk/; revision=2056 | ||||
* | Implement _get_monitor () in EmpathyTpChat. | Xavier Claessens | 2009-01-07 | 1 | -0/+16 |
| | | | | svn path=/trunk/; revision=2055 | ||||
* | Add an API to EmpathyAccountManager to find out if an account has just | Xavier Claessens | 2009-01-07 | 2 | -2/+49 |
| | | | | | | connected. svn path=/trunk/; revision=2054 | ||||
* | Implement _get_monitor () in EmpathyContactManager. | Xavier Claessens | 2009-01-07 | 2 | -0/+14 |
| | | | | svn path=/trunk/; revision=2052 | ||||
* | Add a "presence-changed" signal so that we can keep track of the | Xavier Claessens | 2009-01-07 | 1 | -1/+25 |
| | | | | | | previous presence of a contact when it changes. svn path=/trunk/; revision=2051 | ||||
* | Add an EmpathyContactMonitor object to monitor changes in the contact | Xavier Claessens | 2009-01-07 | 6 | -1/+507 |
| | | | | | | list. svn path=/trunk/; revision=2050 | ||||
* | Remove dead code from empathy-util. | Xavier Claessens | 2009-01-07 | 2 | -115/+0 |
| | | | | svn path=/trunk/; revision=2046 | ||||
* | Add new API in EmpathyAccountManager to cache the number of connecting | Xavier Claessens | 2009-01-07 | 2 | -6/+76 |
| | | | | | | and connected accounts. svn path=/trunk/; revision=2042 | ||||
* | Port EmpathyTpContactFactory to the new API. | Xavier Claessens | 2009-01-07 | 1 | -19/+23 |
| | | | | svn path=/trunk/; revision=2041 | ||||
* | Port EmpathyDispatcher to the new API. | Xavier Claessens | 2009-01-07 | 1 | -18/+21 |
| | | | | svn path=/trunk/; revision=2040 | ||||
* | Build fix. | Xavier Claessens | 2009-01-07 | 1 | -1/+2 |
| | | | | svn path=/trunk/; revision=2038 | ||||
* | Use a invalid value when initializing. | Xavier Claessens | 2009-01-07 | 1 | -1/+1 |
| | | | | svn path=/trunk/; revision=2037 | ||||
* | Port EmpathyContactManager to the new API. | Xavier Claessens | 2009-01-07 | 1 | -19/+18 |
| | | | | svn path=/trunk/; revision=2036 | ||||
* | Use the right marshallers for signals. | Xavier Claessens | 2009-01-07 | 1 | -2/+3 |
| | | | | svn path=/trunk/; revision=2033 | ||||
* | Fix a typo. | Xavier Claessens | 2009-01-07 | 1 | -1/+1 |
| | | | | svn path=/trunk/; revision=2032 | ||||
* | Disconnect from the DBus signal on finalize. | Xavier Claessens | 2009-01-07 | 1 | -0/+5 |
| | | | | svn path=/trunk/; revision=2030 | ||||
* | Add EmpathyAccountManager. | Xavier Claessens | 2009-01-07 | 3 | -0/+446 |
| | | | | svn path=/trunk/; revision=2029 | ||||
* | Don't set random values in EmpathyIdle init if MC is not running. | Xavier Claessens | 2009-01-07 | 1 | -3/+8 |
| | | | | svn path=/trunk/; revision=2026 | ||||
* | Correctly escape service name in dtube handlers | Will Thompson | 2008-12-29 | 1 | -6/+14 |
| | | | | | | Signed-off-by: Will Thompson <will.thompson@collabora.co.uk> svn path=/trunk/; revision=2017 | ||||
* | Start file transfer if the state is already open when we get the unix socket | Sjoerd Simons | 2008-12-23 | 1 | -0/+3 |
| | | | | | | Signed-off-by: Sjoerd Simons <sjoerd.simons@collabora.co.uk> svn path=/trunk/; revision=2012 | ||||
* | Make existing contact FT capable when the CM supports it | Sjoerd Simons | 2008-12-23 | 1 | -0/+11 |
| | | | | | | Signed-off-by: Sjoerd Simons <sjoerd.simons@collabora.co.uk> svn path=/trunk/; revision=2011 | ||||
* | Remove useless empathy_message_get_date_and_time | Xavier Claessens | 2008-12-16 | 2 | -22/+0 |
| | | | | svn path=/trunk/; revision=1989 | ||||
* | gtk_init and g_thread_init shouldn't be called by libraries. Let ↵ | Xavier Claessens | 2008-12-12 | 1 | -4/+0 |
| | | | | | | applications do it. svn path=/trunk/; revision=1971 | ||||
* | Make sure to not init thread twice. | Xavier Claessens | 2008-12-12 | 1 | -1/+3 |
| | | | | svn path=/trunk/; revision=1970 | ||||
* | Use gi18n-lib.h instead of gi18n.h for libraries. | Xavier Claessens | 2008-12-12 | 10 | -11/+10 |
| | | | | svn path=/trunk/; revision=1967 | ||||
* | Add empathy_init(), empathy_gtk_init() and empathy_gtk_init_with_args(). ↵ | Xavier Claessens | 2008-12-12 | 3 | -0/+29 |
| | | | | | | They have to be called by any process using libempathy. svn path=/trunk/; revision=1966 | ||||
* | Fix coding style | Xavier Claessens | 2008-12-12 | 6 | -18/+19 |
| | | | | svn path=/trunk/; revision=1964 | ||||
* | add empathy_contact_manager_can_add (Guillaume Desmottes) | Xavier Claessens | 2008-12-12 | 2 | -0/+17 |
| | | | | svn path=/trunk/; revision=1962 | ||||
* | add empathy_tp_contact_list_can_add (Guillaume Desmottes) | Xavier Claessens | 2008-12-12 | 2 | -0/+17 |
| | | | | svn path=/trunk/; revision=1961 | ||||
* | add empathy_tp_group_get_flags (Guillaume Desmottes) | Xavier Claessens | 2008-12-12 | 2 | -0/+12 |
| | | | | svn path=/trunk/; revision=1960 | ||||
* | Explicitly depend on telepathy-glib in .pc files (Simon McVittie) | Xavier Claessens | 2008-12-08 | 1 | -1/+1 |
| | | | | | | | | If backporting this patch, if any file in libempathy/ or libempathy-gtk/ uses #include <libtelepathy/anything>, then a libtelepathy dependency is needed too. svn path=/trunk/; revision=1953 | ||||
* | Use G_GINT_FORMAT for printinf a goffset. Fixes bug #562873. | Xavier Claessens | 2008-12-03 | 1 | -1/+1 |
| | | | | svn path=/trunk/; revision=1944 | ||||
* | Use GRegex instead of custom code and use a new regex to detect URIs | Xavier Claessens | 2008-12-01 | 2 | -143/+2 |
| | | | | svn path=/trunk/; revision=1932 | ||||
* | Remove duplicate declaration of _get_transferred_count | Xavier Claessens | 2008-11-30 | 1 | -1/+0 |
| | | | | svn path=/trunk/; revision=1929 | ||||
* | Add missing include | Xavier Claessens | 2008-11-30 | 1 | -0/+1 |
| | | | | svn path=/trunk/; revision=1928 | ||||
* | 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 | 3 | -40/+18 |
| | | | | | | file_channel_create_cb() to unref the object when the FT is done. svn path=/trunk/; revision=1913 | ||||
* | Cleanup of ft_manager_add_tp_file_to_list. | Xavier Claessens | 2008-11-22 | 2 | -0/+8 |
| | | | | svn path=/trunk/; revision=1908 | ||||
* | Fix ref counting of tp_file, make it singleton per channel, and add a ↵ | Xavier Claessens | 2008-11-22 | 3 | -8/+71 |
| | | | | | | _keep_alive method that adds a tmp ref until the transfer finishes. svn path=/trunk/; revision=1904 | ||||
* | Fix signature of signal cb, start the transfer only if we have the socket ↵ | Xavier Claessens | 2008-11-22 | 1 | -24/+28 |
| | | | | | | path, and switch input/output streams in tp_file_start_transfer. svn path=/trunk/; revision=1901 | ||||
* | Add a FIXME about the tp_file being leaked | Xavier Claessens | 2008-11-22 | 1 | -0/+3 |
| | | | | svn path=/trunk/; revision=1900 | ||||
* | Change state when the channel is invalidated only if an error occured. | Xavier Claessens | 2008-11-22 | 1 | -5/+11 |
| | | | | svn path=/trunk/; revision=1891 | ||||
* | Simplify a little bit the code when abording a FT | Xavier Claessens | 2008-11-22 | 1 | -4/+5 |
| | | | | svn path=/trunk/; revision=1889 | ||||
* | Cancel the FT if we can't get the transfer method | Xavier Claessens | 2008-11-22 | 1 | -1/+2 |
| | | | | svn path=/trunk/; revision=1888 | ||||
* | Remove unused empathy_tp_file_get_id | Xavier Claessens | 2008-11-22 | 2 | -19/+0 |
| | | | | svn path=/trunk/; revision=1887 | ||||
* | Simplify the code to start a file transfer | Xavier Claessens | 2008-11-22 | 1 | -72/+35 |
| | | | | svn path=/trunk/; revision=1886 | ||||
* | When the channel is invalidated, change state to CANCELLED. | Xavier Claessens | 2008-11-22 | 2 | -34/+20 |
| | | | | svn path=/trunk/; revision=1885 | ||||
* | rename empathy_tp_file_get_incoming to empathy_tp_file_is_incoming | Xavier Claessens | 2008-11-22 | 2 | -2/+2 |
| | | | | svn path=/trunk/; revision=1882 | ||||
* | empathy_tp_file_accept/offer takes the GFile in param and return a GError if ↵ | Xavier Claessens | 2008-11-22 | 3 | -94/+31 |
| | | | | | | the file can't be opened. svn path=/trunk/; revision=1881 | ||||
* | don't include itself | Xavier Claessens | 2008-11-22 | 1 | -2/+0 |
| | | | | svn path=/trunk/; revision=1878 | ||||
* | Remove useless lines | Xavier Claessens | 2008-11-22 | 2 | -5/+0 |
| | | | | svn path=/trunk/; revision=1877 | ||||
* | Fix coding style | Xavier Claessens | 2008-11-22 | 1 | -46/+47 |
| | | | | svn path=/trunk/; revision=1876 | ||||
* | Cleanup the coding style. If we can't get info about the GFile we abord the FT. | Xavier Claessens | 2008-11-22 | 2 | -81/+80 |
| | | | | svn path=/trunk/; revision=1875 | ||||
* | get_requestable_channel_classes_cb: call tp_contact_factory_ready if the ↵ | Xavier Claessens | 2008-11-22 | 1 | -0/+1 |
| | | | | | | D-Bus call failed svn path=/trunk/; revision=1864 | ||||
* | empathy-tp-file.c: actually implement the getter of GObject properties | Xavier Claessens | 2008-11-22 | 1 | -0/+24 |
| | | | | svn path=/trunk/; revision=1858 | ||||
* | empathy-tp-file: reorder FileTransfer D-Bus properties using the same order ↵ | Xavier Claessens | 2008-11-22 | 1 | -7/+10 |
| | | | | | | as in the spec svn path=/trunk/; revision=1857 | ||||
* | tp_file_constructor: get the ContentHashType and ContentType values from the ↵ | Xavier Claessens | 2008-11-22 | 1 | -0/+6 |
| | | | | | | properties hash table svn path=/trunk/; revision=1856 | ||||
* | empathy-contact: no need to inspect the RequestableChannelClasses property ↵ | Xavier Claessens | 2008-11-22 | 1 | -71/+0 |
| | | | | | | anymore, empathy-tp-contact-factory does it for us now svn path=/trunk/; revision=1855 | ||||
* | empathy-tp-contact-factory: set the FT capability when creating contacts if ↵ | Xavier Claessens | 2008-11-22 | 1 | -1/+79 |
| | | | | | | the CM supports it svn path=/trunk/; revision=1854 | ||||
* | empathy-tp-contact-factory: factor out contact_created | Xavier Claessens | 2008-11-22 | 1 | -2/+9 |
| | | | | svn path=/trunk/; revision=1853 | ||||
* | Implement latest ft draft | Xavier Claessens | 2008-11-22 | 1 | -3/+7 |
| | | | | svn path=/trunk/; revision=1849 | ||||
* | remove blank line | Xavier Claessens | 2008-11-22 | 1 | -1/+0 |
| | | | | svn path=/trunk/; revision=1847 | ||||
* | Use the RequestableChannelClasses property instead of hardcoding salut to ↵ | Xavier Claessens | 2008-11-22 | 1 | -20/+65 |
| | | | | | | check if we can send file or not svn path=/trunk/; revision=1846 | ||||
* | 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 | 2 | -13/+14 |
| | | | | svn path=/trunk/; revision=1843 | ||||
* | Renamed free_copy_data_if_closed to copy_data_unref and have a ref_count in ↵ | Jonny Lamb | 2008-11-22 | 1 | -17/+22 |
| | | | | | | | | the CopyData struct. (Jonny Lamb) Signed-off-by: Jonny Lamb <jonny.lamb@collabora.co.uk> svn path=/trunk/; revision=1840 | ||||
* | Use _call_request_channel instead of _run_request_channel. (Jonny Lamb) | Jonny Lamb | 2008-11-22 | 2 | -52/+72 |
| | | | | | | 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 | 3 | -61/+42 |
| | | | | | | 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 | 5 | -111/+103 |
| | | | | | | Signed-off-by: Jonny Lamb <jonny.lamb@collabora.co.uk> svn path=/trunk/; revision=1835 | ||||
* | Fixed Makefile by including missing backslash. (Jonny Lamb) | Jonny Lamb | 2008-11-22 | 1 | -1/+0 |
| | | | | | | Signed-off-by: Jonny Lamb <jonny.lamb@collabora.co.uk> svn path=/trunk/; revision=1833 | ||||
* | Changed suppress_handler to TRUE in a requested channel. (Jonny Lamb) | Jonny Lamb | 2008-11-22 | 1 | -1/+1 |
| | | | | | | Signed-off-by: Jonny Lamb <jonny.lamb@collabora.co.uk> svn path=/trunk/; revision=1831 | ||||
* | Moved capabilities hack to empathy_contact_set_account. (Jonny Lamb) | Jonny Lamb | 2008-11-22 | 1 | -27/+27 |
| | | | | | | Signed-off-by: Jonny Lamb <jonny.lamb@collabora.co.uk> svn path=/trunk/; revision=1830 | ||||
* | Renamed is_salut to contact_is_salut. (Jonny Lamb) | Jonny Lamb | 2008-11-22 | 1 | -2/+2 |
| | | | | | | Signed-off-by: Jonny Lamb <jonny.lamb@collabora.co.uk> svn path=/trunk/; revision=1829 | ||||
* | Removed useless libtelepathy headers. (Jonny Lamb) | Jonny Lamb | 2008-11-22 | 2 | -5/+0 |
| | | | | | | Signed-off-by: Jonny Lamb <jonny.lamb@collabora.co.uk> svn path=/trunk/; revision=1810 | ||||
* | Removed useless +0.5 in get_time_remaining. (Jonny Lamb) | Jonny Lamb | 2008-11-22 | 1 | -1/+1 |
| | | | | | | Signed-off-by: Jonny Lamb <jonny.lamb@collabora.co.uk> svn path=/trunk/; revision=1808 | ||||
* | Made state_change_reason None in the constructor instead of an invalid ↵ | Jonny Lamb | 2008-11-22 | 1 | -5/+2 |
| | | | | | | | | value. (Jonny Lamb) Signed-off-by: Jonny Lamb <jonny.lamb@collabora.co.uk> svn path=/trunk/; revision=1807 | ||||
* | Removed pointless test whether the tp_file is a GObject in the finalize ↵ | Jonny Lamb | 2008-11-22 | 1 | -2/+1 |
| | | | | | | | | function. (Jonny Lamb) Signed-off-by: Jonny Lamb <jonny.lamb@collabora.co.uk> svn path=/trunk/; revision=1806 | ||||
* | Use empathy_time_get_current_time instead of g_get_current_time. (Jonny Lamb) | Jonny Lamb | 2008-11-22 | 1 | -15/+6 |
| | | | | | | Signed-off-by: Jonny Lamb <jonny.lamb@collabora.co.uk> svn path=/trunk/; revision=1805 | ||||
* | Removed cached_empathy_file from EmpathyTpFilePriv. (Jonny Lamb) | Jonny Lamb | 2008-11-22 | 1 | -1/+0 |
| | | | | | | Signed-off-by: Jonny Lamb <jonny.lamb@collabora.co.uk> svn path=/trunk/; revision=1804 | ||||
* | Removed account property of EmpathyTpFile as it's only actually used once ↵ | Jonny Lamb | 2008-11-22 | 3 | -29/+8 |
| | | | | | | | | and easy obtainable. (Jonny Lamb) Signed-off-by: Jonny Lamb <jonny.lamb@collabora.co.uk> svn path=/trunk/; revision=1803 | ||||
* | Made property-getting synchronous again so there isn't a massive race ↵ | Jonny Lamb | 2008-11-22 | 1 | -45/+30 |
| | | | | | | | | | | | condition (Jonny Lamb) This is more of a workaround than a fix and should be fixed fairly soonish. Signed-off-by: Jonny Lamb <jonny.lamb@collabora.co.uk> svn path=/trunk/; revision=1802 | ||||
* | Fixed channel property setting typo so ContentType is actually set. (Jonny Lamb) | Jonny Lamb | 2008-11-22 | 1 | -1/+1 |
| | | | | | | Signed-off-by: Jonny Lamb <jonny.lamb@collabora.co.uk> svn path=/trunk/; revision=1801 | ||||
* | Updated parameter checks to return appropriate values. (Jonny Lamb) | Jonny Lamb | 2008-11-22 | 1 | -9/+12 |
| | | | | | | Signed-off-by: Jonny Lamb <jonny.lamb@collabora.co.uk> svn path=/trunk/; revision=1799 | ||||
* | Add parameter checks to public functions. (Jonny Lamb) | Jonny Lamb | 2008-11-22 | 1 | -1/+24 |
| | | | | | | Signed-off-by: Jonny Lamb <jonny.lamb@collabora.co.uk> svn path=/trunk/; revision=1797 | ||||
* | Updated the way to access the EmpathyTpFilePriv instance within ↵ | Jonny Lamb | 2008-11-22 | 2 | -251/+161 |
| | | | | | | | | empathy-tp-file. (Jonny Lamb) Signed-off-by: Jonny Lamb <jonny.lamb@collabora.co.uk> svn path=/trunk/; revision=1796 | ||||
* | Re-ordered EmpathyTpFile so static functions need no declaration at the top ↵ | Jonny Lamb | 2008-11-22 | 1 | -493/+474 |
| | | | | | | | | of the file. (Jonny Lamb) Signed-off-by: Jonny Lamb <jonny.lamb@collabora.co.uk> svn path=/trunk/; revision=1794 | ||||
* | Use FIXME instead of TODO in comments. (Jonny Lamb) | Jonny Lamb | 2008-11-22 | 1 | -1/+1 |
| | | | | | | Signed-off-by: Jonny Lamb <jonny.lamb@collabora.co.uk> svn path=/trunk/; revision=1792 | ||||
* | Changed _run_ method calls to _call_ calls. (Jonny Lamb) | Jonny Lamb | 2008-11-22 | 2 | -89/+94 |
| | | | | | | Signed-off-by: Jonny Lamb <jonny.lamb@collabora.co.uk> svn path=/trunk/; revision=1791 | ||||
* | Fixed copyright and author headers. (Jonny Lamb) | Jonny Lamb | 2008-11-22 | 4 | -2/+10 |
| | | | | | | Signed-off-by: Jonny Lamb <jonny.lamb@collabora.co.uk> svn path=/trunk/; revision=1790 | ||||
* | Various whitespace and comment fixes. (Jonny Lamb) | Jonny Lamb | 2008-11-22 | 2 | -3/+2 |
| | | | | | | Signed-off-by: Jonny Lamb <jonny.lamb@collabora.co.uk> svn path=/trunk/; revision=1789 | ||||
* | Added empathy_offer_file function and updated accept_file. (Jonny Lamb) | Jonny Lamb | 2008-11-22 | 3 | -3/+42 |
| | | | | | | Signed-off-by: Jonny Lamb <jonny.lamb@collabora.co.uk> svn path=/trunk/; revision=1788 | ||||
* | Do not set the MD5 hash of the file when sending. (Jonny Lamb) | Jonny Lamb | 2008-11-22 | 1 | -28/+0 |
| | | | | | | Signed-off-by: Jonny Lamb <jonny.lamb@collabora.co.uk> svn path=/trunk/; revision=1787 | ||||
* | Removed SocketPath channel property. (Jonny Lamb) | Jonny Lamb | 2008-11-22 | 1 | -19/+0 |
| | | | | | | Signed-off-by: Jonny Lamb <jonny.lamb@collabora.co.uk> svn path=/trunk/; revision=1786 | ||||
* | Added ContentHashType channel property, and renamed ContentMD5 to ↵ | Jonny Lamb | 2008-11-22 | 1 | -13/+25 |
| | | | | | | | | ContentHash. (Jonny Lamb) Signed-off-by: Jonny Lamb <jonny.lamb@collabora.co.uk> svn path=/trunk/; revision=1785 | ||||
* | Updated yet more places to use s/direction/incoming/ (Jonny Lamb) | Jonny Lamb | 2008-11-22 | 1 | -2/+2 |
| | | | | | | Signed-off-by: Jonny Lamb <jonny.lamb@collabora.co.uk> svn path=/trunk/; revision=1784 | ||||
* | Replaced the Direction channel property a more-private GObject incoming ↵ | Jonny Lamb | 2008-11-22 | 2 | -23/+19 |
| | | | | | | | | property. (Jonny Lamb) Signed-off-by: Jonny Lamb <jonny.lamb@collabora.co.uk> svn path=/trunk/; revision=1783 | ||||
* | Renamed EmpathyFile to EmpathyTpFile. (Jonny Lamb) | Jonny Lamb | 2008-11-22 | 6 | -288/+286 |
| | | | | | | Signed-off-by: Jonny Lamb <jonny.lamb@collabora.co.uk> svn path=/trunk/; revision=1776 | ||||
* | Added ability to get an md5sum of the file being sent using GChecksum. ↵ | Jonny Lamb | 2008-11-22 | 1 | -1/+23 |
| | | | | | | | | (Jonny Lamb) Signed-off-by: Jonny Lamb <jonny.lamb@collabora.co.uk> svn path=/trunk/; revision=1774 | ||||
* | Removed empathy_init in favour of calling emp_cli_init directly. (Jonny Lamb) | Jonny Lamb | 2008-11-22 | 2 | -9/+0 |
| | | | | | | Signed-off-by: Jonny Lamb <jonny.lamb@collabora.co.uk> svn path=/trunk/; revision=1773 | ||||
* | Fixed function declaration style. (Jonny Lamb) | Jonny Lamb | 2008-11-22 | 1 | -21/+46 |
| | | | | | | Signed-off-by: Jonny Lamb <jonny.lamb@collabora.co.uk> svn path=/trunk/; revision=1772 | ||||
* | Converted sources to Collabora coding style. (Jonny Lamb) | Jonny Lamb | 2008-11-22 | 3 | -208/+208 |
| | | | | | | Signed-off-by: Jonny Lamb <jonny.lamb@collabora.co.uk> svn path=/trunk/; revision=1770 | ||||
* | Merged empathy_send_file and empathy_send_file_from_stream, and dropped the ↵ | Jonny Lamb | 2008-11-22 | 1 | -42/+20 |
| | | | | | | | | dependency on gnome-vfs in favour of GIO. (Jonny Lamb) Signed-off-by: Jonny Lamb <jonny.lamb@collabora.co.uk> svn path=/trunk/; revision=1768 | ||||
* | Set the ContentType property properly on a new file channel. (Jonny Lamb) | Jonny Lamb | 2008-11-22 | 1 | -1/+2 |
| | | | | | | Signed-off-by: Jonny Lamb <jonny.lamb@collabora.co.uk> svn path=/trunk/; revision=1767 | ||||
* | Changed order of closing channel and cancelling socket transfers. (Jonny Lamb) | Jonny Lamb | 2008-11-22 | 1 | -2/+2 |
| | | | | | | Signed-off-by: Jonny Lamb <jonny.lamb@collabora.co.uk> svn path=/trunk/; revision=1764 | ||||
* | Fixed small coding style issue. (Jonny Lamb) | Jonny Lamb | 2008-11-22 | 1 | -2/+0 |
| | | | | | | Signed-off-by: Jonny Lamb <jonny.lamb@collabora.co.uk> svn path=/trunk/; revision=1763 | ||||
* | Implemented empathy_file_cancel. (Jonny Lamb) | Jonny Lamb | 2008-11-22 | 2 | -0/+13 |
| | | | | | | Signed-off-by: Jonny Lamb <jonny.lamb@collabora.co.uk> svn path=/trunk/; revision=1760 | ||||
* | Handled TransferredBytes signal properly and show in the progress bar. ↵ | Jonny Lamb | 2008-11-22 | 1 | -7/+17 |
| | | | | | | | | (Jonny Lamb) Signed-off-by: Jonny Lamb <jonny.lamb@collabora.co.uk> svn path=/trunk/; revision=1758 | ||||
* | Actually use accept and receive file functions. (Jonny Lamb) | Jonny Lamb | 2008-11-22 | 1 | -2/+10 |
| | | | | | | Signed-off-by: Jonny Lamb <jonny.lamb@collabora.co.uk> svn path=/trunk/; revision=1756 | ||||
* | Implemented accept_file and empathy_receive_file in empathy-file. (Jonny Lamb) | Jonny Lamb | 2008-11-22 | 1 | -18/+68 |
| | | | | | | Signed-off-by: Jonny Lamb <jonny.lamb@collabora.co.uk> svn path=/trunk/; revision=1755 | ||||
* | Fixed _get_local_socket in empathy-file so that it calls connect(2). (Jonny ↵ | Jonny Lamb | 2008-11-22 | 1 | -2/+20 |
| | | | | | | | | Lamb) Signed-off-by: Jonny Lamb <jonny.lamb@collabora.co.uk> svn path=/trunk/; revision=1754 | ||||
* | Removed g_object_notify that doesn't actually map to a property. (Jonny Lamb) | Jonny Lamb | 2008-11-22 | 1 | -2/+0 |
| | | | | | | Signed-off-by: Jonny Lamb <jonny.lamb@collabora.co.uk> svn path=/trunk/; revision=1753 | ||||
* | 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 | ||||
* | Removed EmpathyTpFile and put everything into EmpathyFile. (Jonny Lamb) | Jonny Lamb | 2008-11-22 | 6 | -1627/+855 |
| | | | | | | Signed-off-by: Jonny Lamb <jonny.lamb@collabora.co.uk> svn path=/trunk/; revision=1748 | ||||
* | Push the notify::state and notify::transferred-bytes signals from ↵ | Jonny Lamb | 2008-11-22 | 1 | -2/+29 |
| | | | | | | | | EmpathyTpFile onto EmpathyFile for the ft-manager to listen to. (Jonny Lamb) Signed-off-by: Jonny Lamb <jonny.lamb@collabora.co.uk> svn path=/trunk/; revision=1745 |