aboutsummaryrefslogtreecommitdiffstats
path: root/libempathy/empathy-tp-file.c
Commit message (Collapse)AuthorAgeFilesLines
* tp-file: ready property has to be read onlyGuillaume Desmottes2009-04-241-5/+1
|
* tp-file: implement getter/setter for the ready propertyGuillaume Desmottes2009-04-241-0/+6
|
* Change EmpathyTpContactFactory API to look more like TpConnection. Add ↵Xavier Claessens2009-04-221-4/+12
| | | | | | function to get only one contact from id/handle.
* There is no "contact" property on EmpathyTpFileXavier Claessens2009-04-221-2/+0
|
* Port EmpathyTpFile to new API and add a ready propertyXavier Claessens2009-04-221-43/+129
|
* Fix memleak in empathy_tp_file_accept. Free content of priv->filename beforeLars-Peter Clausen2009-04-211-0/+1
| | | | overwriting it.
* Merge branch 'fix-ft' into to-mergeGuillaume Desmottes2009-03-181-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 Lamb2009-02-211-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 Lamb2009-01-171-2/+4
| | | | | | Signed-off-by: Jonny Lamb <jonny.lamb@collabora.co.uk> svn path=/trunk/; revision=2236
* empathy_mission_control_new -> dup_singleton.Xavier Claessens2009-01-161-1/+1
| | | | svn path=/trunk/; revision=2233
* Don't close channels as a side-effect of disposing wrapper objectsSjoerd Simons2009-01-101-3/+2
| | | | | | Signed-off-by: Sjoerd Simons <sjoerd.simons@collabora.co.uk> svn path=/trunk/; revision=2183
* Add a function to explicitly close File channelsSjoerd Simons2009-01-101-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 Claessens2009-01-091-1/+1
| | | | svn path=/trunk/; revision=2113
* Start file transfer if the state is already open when we get the unix socketSjoerd Simons2008-12-231-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 Claessens2008-12-121-1/+1
| | | | svn path=/trunk/; revision=1967
* Remove empathy_tp_file_keep_alive hack and connect to "notify::state" in ↵Xavier Claessens2008-11-221-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 Claessens2008-11-221-0/+7
| | | | svn path=/trunk/; revision=1908
* Fix ref counting of tp_file, make it singleton per channel, and add a ↵Xavier Claessens2008-11-221-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 Claessens2008-11-221-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 Claessens2008-11-221-5/+11
| | | | svn path=/trunk/; revision=1891
* Simplify a little bit the code when abording a FTXavier Claessens2008-11-221-4/+5
| | | | svn path=/trunk/; revision=1889
* Cancel the FT if we can't get the transfer methodXavier Claessens2008-11-221-1/+2
| | | | svn path=/trunk/; revision=1888
* Remove unused empathy_tp_file_get_idXavier Claessens2008-11-221-18/+0
| | | | svn path=/trunk/; revision=1887
* Simplify the code to start a file transferXavier Claessens2008-11-221-72/+35
| | | | svn path=/trunk/; revision=1886
* When the channel is invalidated, change state to CANCELLED.Xavier Claessens2008-11-221-32/+18
| | | | svn path=/trunk/; revision=1885
* rename empathy_tp_file_get_incoming to empathy_tp_file_is_incomingXavier Claessens2008-11-221-1/+1
| | | | svn path=/trunk/; revision=1882
* empathy_tp_file_accept/offer takes the GFile in param and return a GError if ↵Xavier Claessens2008-11-221-86/+26
| | | | | | the file can't be opened. svn path=/trunk/; revision=1881
* empathy-tp-file.c: actually implement the getter of GObject propertiesXavier Claessens2008-11-221-0/+24
| | | | svn path=/trunk/; revision=1858
* empathy-tp-file: reorder FileTransfer D-Bus properties using the same order ↵Xavier Claessens2008-11-221-7/+10
| | | | | | as in the spec svn path=/trunk/; revision=1857
* tp_file_constructor: get the ContentHashType and ContentType values from the ↵Xavier Claessens2008-11-221-0/+6
| | | | | | properties hash table svn path=/trunk/; revision=1856
* Implement latest ft draftXavier Claessens2008-11-221-3/+7
| | | | svn path=/trunk/; revision=1849
* fix FT client side code as the generated code changedXavier Claessens2008-11-221-8/+9
| | | | svn path=/trunk/; revision=1843
* Renamed free_copy_data_if_closed to copy_data_unref and have a ref_count in ↵Jonny Lamb2008-11-221-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 Lamb2008-11-221-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 Lamb2008-11-221-1/+1
| | | | | | Signed-off-by: Jonny Lamb <jonny.lamb@collabora.co.uk> svn path=/trunk/; revision=1835
* Removed useless libtelepathy headers. (Jonny Lamb)Jonny Lamb2008-11-221-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 Lamb2008-11-221-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 Lamb2008-11-221-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 Lamb2008-11-221-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 Lamb2008-11-221-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 Lamb2008-11-221-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 Lamb2008-11-221-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 Lamb2008-11-221-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 Lamb2008-11-221-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 Lamb2008-11-221-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 Lamb2008-11-221-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 Lamb2008-11-221-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 Lamb2008-11-221-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 Lamb2008-11-221-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 Lamb2008-11-221-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 Lamb2008-11-221-2/+38
| | | | | | Signed-off-by: Jonny Lamb <jonny.lamb@collabora.co.uk> svn path=/trunk/; revision=1788
* Removed SocketPath channel property. (Jonny Lamb)Jonny Lamb2008-11-221-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 Lamb2008-11-221-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 Lamb2008-11-221-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 Lamb2008-11-221-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 Lamb2008-11-221-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 Lamb2008-11-221-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 Lamb2008-11-221-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 Lamb2008-11-221-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 Lamb2008-11-221-0/+1032
Signed-off-by: Jonny Lamb <jonny.lamb@collabora.co.uk> svn path=/trunk/; revision=1736