Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Remove last references to mission-control 4 | Sjoerd Simons | 2009-07-16 | 1 | -0/+1 |
| | |||||
* | Merge branch 'ft_ipv4' | Cosimo Cecchi | 2009-06-12 | 1 | -24/+162 |
|\ | |||||
| * | Drop PORT access control support for now | Cosimo Cecchi | 2009-06-12 | 1 | -15/+7 |
| | | |||||
| * | Fix make check | Cosimo Cecchi | 2009-06-07 | 1 | -1/+1 |
| | | |||||
| * | Emit an error for socket types we don't handle | Cosimo Cecchi | 2009-06-07 | 1 | -5/+26 |
| | | | | | | | | Also, fix error handling when a socket fails on connect(). | ||||
| * | Use empathy_uint_compare | Cosimo Cecchi | 2009-06-07 | 1 | -13/+1 |
| | | |||||
| * | Build fix after rebase | Cosimo Cecchi | 2009-06-07 | 1 | -1/+1 |
| | | |||||
| * | Initialize the address and port values | Cosimo Cecchi | 2009-06-07 | 1 | -12/+34 |
| | | | | | | | | | | | | The address the CM returns if we're using IPV4 is of the type TP_STRUCT_TYPE_SOCKET_ADDRESS_IPV4; use those values to setup the IPV4 socket. | ||||
| * | Add support for IPV4 sockets | Cosimo Cecchi | 2009-06-07 | 1 | -25/+68 |
| | | |||||
| * | Look at the available socket type | Cosimo Cecchi | 2009-06-07 | 1 | -0/+72 |
| | | | | | | | | | | Look at the available socket types, and don't hardcode UNIX/LOCALHOST values. | ||||
* | | Correctly propagate Provide/Accept errors | Will Thompson | 2009-06-10 | 1 | -2/+3 |
|/ | | | | | | | | | Previously, if myerr was set as well as error, myerr was cleared, but not set to a copy of error. So then the function continued as normal, and crashed. Also, having checked if myerr is set, we should probably log the message from that, rather than from the (possibly NULL) error. :) | ||||
* | Don't chain up to constructor | Cosimo Cecchi | 2009-06-01 | 1 | -2/+0 |
| | |||||
* | Use _constructed instead of _constructor | Cosimo Cecchi | 2009-06-01 | 1 | -15/+8 |
| | |||||
* | Fix coding style | Cosimo Cecchi | 2009-06-01 | 1 | -5/+5 |
| | |||||
* | Use the right macros to pass a gboolean as user_data | Cosimo Cecchi | 2009-06-01 | 1 | -11/+12 |
| | | | | | Use GPOINTER_TO_INT and GINT_TO_POINTER instead of passing the address, as that doesn't work. | ||||
* | Document EmpathyTpFile | Cosimo Cecchi | 2009-06-01 | 1 | -17/+70 |
| | |||||
* | Use != NULL for pointer checks. | Cosimo Cecchi | 2009-06-01 | 1 | -16/+16 |
| | |||||
* | Adapt the code to the tp style. | Cosimo Cecchi | 2009-06-01 | 1 | -53/+55 |
| | |||||
* | Wait for channel close before closing the socket | Cosimo Cecchi | 2009-06-01 | 1 | -14/+24 |
| | | | | So that we can better handle cancellations of the transfer. | ||||
* | Don't leak GErrors. | Cosimo Cecchi | 2009-06-01 | 1 | -0/+1 |
| | |||||
* | Cleanup after rebase v2 | Cosimo Cecchi | 2009-06-01 | 1 | -0/+10 |
| | |||||
* | First cleanup after rebase | Cosimo Cecchi | 2009-06-01 | 1 | -18/+0 |
| | |||||
* | Ensure the callbacks are only run once | Cosimo Cecchi | 2009-06-01 | 1 | -0/+12 |
| | | | | | Also ensure that we get no progress callbacks after the transfer has been cancelled. | ||||
* | React to Tp remote errors | Cosimo Cecchi | 2009-06-01 | 1 | -3/+57 |
| | | | | Push Tp state change errors to the handler/UI. | ||||
* | Don't set the status to cancelled when closing | Cosimo Cecchi | 2009-06-01 | 1 | -16/+23 |
| | | | | | If we are only closing a channel, don't set the EmpathyTpFile status to cancelled. | ||||
* | Don't notify progress for zero bytes | Cosimo Cecchi | 2009-06-01 | 1 | -23/+8 |
| | | | | Also, remove useless state property. | ||||
* | First implementation of error handling | Cosimo Cecchi | 2009-06-01 | 1 | -32/+2 |
| | | | | | | Implement the callback in EmpathyFTManager. Erase a redundant is_cancelled property in EmpathyFTHandler and rely on the GCancellable, which is shared by EmpathyTpFile and EmpathyFTHandler. | ||||
* | Total FileTransfer draft spec exorcism | Cosimo Cecchi | 2009-06-01 | 1 | -4/+2 |
| | |||||
* | Use proper DEBUG() messages | Cosimo Cecchi | 2009-06-01 | 1 | -1/+0 |
| | |||||
* | Use values from TpFileTransferState | Cosimo Cecchi | 2009-06-01 | 1 | -9/+9 |
| | | | | | | Use values from the TpFileTransferState and TpFileTransferStateChangeReason enums instead of the Empathy draft interfaces. | ||||
* | Only close the FT operation after the state change | Cosimo Cecchi | 2009-06-01 | 1 | -4/+9 |
| | | | | | | | Close the FT operation only after the "completed" state change has been emitted, so that we can guarantee there will be no other progress signals emitted after TRANSFER_DONE. Also, add some other debug calls. | ||||
* | Set the "incoming" property at construct | Cosimo Cecchi | 2009-06-01 | 1 | -4/+21 |
| | | | | | Set the "incoming" property of EmpathyTpFile when we construct it from EmpathyDispatchOperation. | ||||
* | Sync with changes in master | Cosimo Cecchi | 2009-06-01 | 1 | -17/+30 |
| | | | | | Sync with the changes in master and port to the stable TP FileTransfer spec. | ||||
* | Cleanup in EmpathyTpFile style. | Cosimo Cecchi | 2009-06-01 | 1 | -194/+185 |
| | |||||
* | Make libempathy compile with the new changes. | Cosimo Cecchi | 2009-06-01 | 1 | -90/+79 |
| | |||||
* | Modify EmpathyFTHandler to adapt to the changes in EmpathyTpFile API. | Cosimo Cecchi | 2009-06-01 | 1 | -4/+2 |
| | |||||
* | W.I.P. for heavy lifting on EmpathyTpFile. | Cosimo Cecchi | 2009-06-01 | 1 | -972/+410 |
| | |||||
* | Reference empathy_tp_file_is_ready in the "ready" property. | Jonny Lamb | 2009-04-25 | 1 | -1/+2 |
| | | | | Signed-off-by: Jonny Lamb <jonny.lamb@collabora.co.uk> | ||||
* | Remove incorrect emacs modeline. | Jonny Lamb | 2009-04-25 | 1 | -1/+0 |
| | | | | Signed-off-by: Jonny Lamb <jonny.lamb@collabora.co.uk> | ||||
* | Added more words to empathy_tp_file_is_ready. | Jonny Lamb | 2009-04-25 | 1 | -0/+4 |
| | | | | Signed-off-by: Jonny Lamb <jonny.lamb@collabora.co.uk> | ||||
* | Removed empathy_tp_file_close as it was a duplicate of _cancel. | Jonny Lamb | 2009-04-25 | 1 | -7/+1 |
| | | | | Signed-off-by: Jonny Lamb <jonny.lamb@collabora.co.uk> | ||||
* | Use a tp-glib constant rather than a magic number. | Jonny Lamb | 2009-04-25 | 1 | -1/+1 |
| | | | | Signed-off-by: Jonny Lamb <jonny.lamb@collabora.co.uk> | ||||
* | Update EmpathyTpFile documentation. | Jonny Lamb | 2009-04-25 | 1 | -16/+147 |
| | | | | Signed-off-by: Jonny Lamb <jonny.lamb@collabora.co.uk> | ||||
* | Add gtk-doc for new functions | Xavier Claessens | 2009-04-25 | 1 | -0/+16 |
| | |||||
* | Refresh each second instead of each 2 seconds | Xavier Claessens | 2009-04-25 | 1 | -1/+1 |
| | |||||
* | Display the file transfer speed and calculate remaining time more dynamically. | Xavier Claessens | 2009-04-25 | 1 | -13/+77 |
| | |||||
* | tp-file: ready property has to be read only | Guillaume Desmottes | 2009-04-24 | 1 | -5/+1 |
| | |||||
* | tp-file: implement getter/setter for the ready property | Guillaume Desmottes | 2009-04-24 | 1 | -0/+6 |
| | |||||
* | Change EmpathyTpContactFactory API to look more like TpConnection. Add ↵ | Xavier Claessens | 2009-04-22 | 1 | -4/+12 |
| | | | | | | function to get only one contact from id/handle. | ||||
* | There is no "contact" property on EmpathyTpFile | Xavier Claessens | 2009-04-22 | 1 | -2/+0 |
| | |||||
* | Port EmpathyTpFile to new API and add a ready property | Xavier Claessens | 2009-04-22 | 1 | -43/+129 |
| | |||||
* | Fix memleak in empathy_tp_file_accept. Free content of priv->filename before | Lars-Peter Clausen | 2009-04-21 | 1 | -0/+1 |
| | | | | overwriting it. | ||||
* | Merge branch 'fix-ft' into to-merge | Guillaume Desmottes | 2009-03-18 | 1 | -8/+38 |
| | | | | | | From: Guillaume Desmottes <gdesmott@gnome.org> svn path=/trunk/; revision=2713 | ||||
* | Use tp-glib generated code for file transfers rather than extensions. | Jonny Lamb | 2009-02-21 | 1 | -29/+27 |
| | | | | | | Signed-off-by: Jonny Lamb <jonny.lamb@collabora.co.uk> svn path=/trunk/; revision=2523 | ||||
* | Removed extensions.h inclusion in public API. | Jonny Lamb | 2009-01-17 | 1 | -2/+4 |
| | | | | | | Signed-off-by: Jonny Lamb <jonny.lamb@collabora.co.uk> svn path=/trunk/; revision=2236 | ||||
* | empathy_mission_control_new -> dup_singleton. | Xavier Claessens | 2009-01-16 | 1 | -1/+1 |
| | | | | svn path=/trunk/; revision=2233 | ||||
* | Don't close channels as a side-effect of disposing wrapper objects | Sjoerd Simons | 2009-01-10 | 1 | -3/+2 |
| | | | | | | Signed-off-by: Sjoerd Simons <sjoerd.simons@collabora.co.uk> svn path=/trunk/; revision=2183 | ||||
* | Add a function to explicitly close File channels | Sjoerd Simons | 2009-01-10 | 1 | -1/+8 |
| | | | | | | Signed-off-by: Sjoerd Simons <sjoerd.simons@collabora.co.uk> svn path=/trunk/; revision=2140 | ||||
* | Port EmpathyContactFactory to the new singleton policy. | Xavier Claessens | 2009-01-09 | 1 | -1/+1 |
| | | | | svn path=/trunk/; revision=2113 | ||||
* | 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 | ||||
* | Use gi18n-lib.h instead of gi18n.h for libraries. | Xavier Claessens | 2008-12-12 | 1 | -1/+1 |
| | | | | svn path=/trunk/; revision=1967 | ||||
* | Remove empathy_tp_file_keep_alive hack and connect to "notify::state" in ↵ | Xavier Claessens | 2008-11-22 | 1 | -37/+0 |
| | | | | | | 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 | 1 | -0/+7 |
| | | | | svn path=/trunk/; revision=1908 | ||||
* | Fix ref counting of tp_file, make it singleton per channel, and add a ↵ | Xavier Claessens | 2008-11-22 | 1 | -5/+68 |
| | | | | | | _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 | ||||
* | 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 | 1 | -18/+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 | 1 | -32/+18 |
| | | | | svn path=/trunk/; revision=1885 | ||||
* | rename empathy_tp_file_get_incoming to empathy_tp_file_is_incoming | Xavier Claessens | 2008-11-22 | 1 | -1/+1 |
| | | | | 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 | 1 | -86/+26 |
| | | | | | | the file can't be opened. svn path=/trunk/; revision=1881 | ||||
* | 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 | ||||
* | Implement latest ft draft | Xavier Claessens | 2008-11-22 | 1 | -3/+7 |
| | | | | svn path=/trunk/; revision=1849 | ||||
* | fix FT client side code as the generated code changed | Xavier Claessens | 2008-11-22 | 1 | -8/+9 |
| | | | | 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 | ||||
* | Don't expose streams in EmpathyTpFile, but use the GFile. (Jonny Lamb) | Jonny Lamb | 2008-11-22 | 1 | -54/+39 |
| | | | | | | 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 | -1/+1 |
| | | | | | | Signed-off-by: Jonny Lamb <jonny.lamb@collabora.co.uk> svn path=/trunk/; revision=1835 | ||||
* | Removed useless libtelepathy headers. (Jonny Lamb) | Jonny Lamb | 2008-11-22 | 1 | -4/+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 | 1 | -27/+6 |
| | | | | | | | | 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 | ||||
* | 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 | 1 | -248/+157 |
| | | | | | | | | 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 | ||||
* | Changed _run_ method calls to _call_ calls. (Jonny Lamb) | Jonny Lamb | 2008-11-22 | 1 | -80/+85 |
| | | | | | | 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 | 1 | -2/+4 |
| | | | | | | 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 | 1 | -2/+1 |
| | | | | | | 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 | 1 | -2/+38 |
| | | | | | | Signed-off-by: Jonny Lamb <jonny.lamb@collabora.co.uk> svn path=/trunk/; revision=1788 | ||||
* | 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 | 1 | -22/+18 |
| | | | | | | | | 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 | 1 | -0/+1178 |
| | | | | | | Signed-off-by: Jonny Lamb <jonny.lamb@collabora.co.uk> svn path=/trunk/; revision=1776 | ||||
* | Removed EmpathyTpFile and put everything into EmpathyFile. (Jonny Lamb) | Jonny Lamb | 2008-11-22 | 1 | -1040/+0 |
| | | | | | | Signed-off-by: Jonny Lamb <jonny.lamb@collabora.co.uk> svn path=/trunk/; revision=1748 | ||||
* | Correctly set the EmpathyContact in an EmpathyTpFile. (Jonny Lamb) | Jonny Lamb | 2008-11-22 | 1 | -0/+7 |
| | | | | | | Signed-off-by: Jonny Lamb <jonny.lamb@collabora.co.uk> svn path=/trunk/; revision=1744 | ||||
* | Added a workaround to EmpathyTpFile's finalize function so it doesn't run ↵ | Jonny Lamb | 2008-11-22 | 1 | -1/+2 |
| | | | | | | | | g_object_unref on non-GObjects. (Jonny Lamb) Signed-off-by: Jonny Lamb <jonny.lamb@collabora.co.uk> svn path=/trunk/; revision=1739 | ||||
* | Added EmpathyFile and EmpathyTpFile objects. (Jonny Lamb) | Jonny Lamb | 2008-11-22 | 1 | -0/+1032 |
Signed-off-by: Jonny Lamb <jonny.lamb@collabora.co.uk> svn path=/trunk/; revision=1736 |