aboutsummaryrefslogtreecommitdiffstats
path: root/libempathy
Commit message (Collapse)AuthorAgeFilesLines
* Add debug messages.Xavier Claessens2009-01-071-0/+4
| | | | svn path=/trunk/; revision=2081
* Add a weak pointer ref inside the costructor.Xavier Claessens2009-01-071-0/+1
| | | | svn path=/trunk/; revision=2080
* Use new singleton policy for EmpathyAccountManager.Xavier Claessens2009-01-075-6/+9
| | | | svn path=/trunk/; revision=2074
* Another style nitpick.Xavier Claessens2009-01-071-1/+3
| | | | svn path=/trunk/; revision=2073
* Yet more style fixes.Xavier Claessens2009-01-072-178/+180
| | | | svn path=/trunk/; revision=2072
* Use _constructor () override to implement singleton.Xavier Claessens2009-01-071-9/+22
| | | | svn path=/trunk/; revision=2071
* Add newlines at the end of files.Xavier Claessens2009-01-073-0/+3
| | | | svn path=/trunk/; revision=2070
* Drop our references in dispose instead of finalize.Xavier Claessens2009-01-071-2/+30
| | | | svn path=/trunk/; revision=2069
* Remember to set dispose_run after dispose has run.Xavier Claessens2009-01-071-0/+2
| | | | svn path=/trunk/; revision=2068
* Don't leak a reference to McAccount objects and don't leak a list.Xavier Claessens2009-01-071-3/+7
| | | | svn path=/trunk/; revision=2066
* Unref objects in dispose and not in finalize; fully update account dataXavier Claessens2009-01-071-10/+43
| | | | | | before emitting signals. svn path=/trunk/; revision=2065
* Style fixes.Xavier Claessens2009-01-075-620/+620
| | | | svn path=/trunk/; revision=2064
* Don't own a reference to the EmpathyTpChat, otherwise it won't beXavier Claessens2009-01-071-7/+14
| | | | | | finalized. svn path=/trunk/; revision=2063
* Always disconnect signals for safety on _finalize ().Xavier Claessens2009-01-072-2/+24
| | | | svn path=/trunk/; revision=2062
* Fix the build.Xavier Claessens2009-01-071-0/+1
| | | | svn path=/trunk/; revision=2059
* Remember to check if source_id is already there when adding theXavier Claessens2009-01-071-0/+5
| | | | | | g_timeout. svn path=/trunk/; revision=2058
* Remove useless include.Xavier Claessens2009-01-071-1/+0
| | | | svn path=/trunk/; revision=2057
* Remove an useless method from the header and remember to unref theXavier Claessens2009-01-072-1/+1
| | | | | | EmpathyContactMonitor in _finalize(). svn path=/trunk/; revision=2056
* Implement _get_monitor () in EmpathyTpChat.Xavier Claessens2009-01-071-0/+16
| | | | svn path=/trunk/; revision=2055
* Add an API to EmpathyAccountManager to find out if an account has justXavier Claessens2009-01-072-2/+49
| | | | | | connected. svn path=/trunk/; revision=2054
* Implement _get_monitor () in EmpathyContactManager.Xavier Claessens2009-01-072-0/+14
| | | | svn path=/trunk/; revision=2052
* Add a "presence-changed" signal so that we can keep track of theXavier Claessens2009-01-071-1/+25
| | | | | | previous presence of a contact when it changes. svn path=/trunk/; revision=2051
* Add an EmpathyContactMonitor object to monitor changes in the contactXavier Claessens2009-01-076-1/+507
| | | | | | list. svn path=/trunk/; revision=2050
* Remove dead code from empathy-util.Xavier Claessens2009-01-072-115/+0
| | | | svn path=/trunk/; revision=2046
* Add new API in EmpathyAccountManager to cache the number of connectingXavier Claessens2009-01-072-6/+76
| | | | | | and connected accounts. svn path=/trunk/; revision=2042
* Port EmpathyTpContactFactory to the new API.Xavier Claessens2009-01-071-19/+23
| | | | svn path=/trunk/; revision=2041
* Port EmpathyDispatcher to the new API.Xavier Claessens2009-01-071-18/+21
| | | | svn path=/trunk/; revision=2040
* Build fix.Xavier Claessens2009-01-071-1/+2
| | | | svn path=/trunk/; revision=2038
* Use a invalid value when initializing.Xavier Claessens2009-01-071-1/+1
| | | | svn path=/trunk/; revision=2037
* Port EmpathyContactManager to the new API.Xavier Claessens2009-01-071-19/+18
| | | | svn path=/trunk/; revision=2036
* Use the right marshallers for signals.Xavier Claessens2009-01-071-2/+3
| | | | svn path=/trunk/; revision=2033
* Fix a typo.Xavier Claessens2009-01-071-1/+1
| | | | svn path=/trunk/; revision=2032
* Disconnect from the DBus signal on finalize.Xavier Claessens2009-01-071-0/+5
| | | | svn path=/trunk/; revision=2030
* Add EmpathyAccountManager.Xavier Claessens2009-01-073-0/+446
| | | | svn path=/trunk/; revision=2029
* Don't set random values in EmpathyIdle init if MC is not running.Xavier Claessens2009-01-071-3/+8
| | | | svn path=/trunk/; revision=2026
* Correctly escape service name in dtube handlersWill Thompson2008-12-291-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 socketSjoerd Simons2008-12-231-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 itSjoerd Simons2008-12-231-0/+11
| | | | | | Signed-off-by: Sjoerd Simons <sjoerd.simons@collabora.co.uk> svn path=/trunk/; revision=2011
* Remove useless empathy_message_get_date_and_timeXavier Claessens2008-12-162-22/+0
| | | | svn path=/trunk/; revision=1989
* gtk_init and g_thread_init shouldn't be called by libraries. Let ↵Xavier Claessens2008-12-121-4/+0
| | | | | | applications do it. svn path=/trunk/; revision=1971
* Make sure to not init thread twice.Xavier Claessens2008-12-121-1/+3
| | | | svn path=/trunk/; revision=1970
* Use gi18n-lib.h instead of gi18n.h for libraries.Xavier Claessens2008-12-1210-11/+10
| | | | svn path=/trunk/; revision=1967
* Add empathy_init(), empathy_gtk_init() and empathy_gtk_init_with_args(). ↵Xavier Claessens2008-12-123-0/+29
| | | | | | They have to be called by any process using libempathy. svn path=/trunk/; revision=1966
* Fix coding styleXavier Claessens2008-12-126-18/+19
| | | | svn path=/trunk/; revision=1964
* add empathy_contact_manager_can_add (Guillaume Desmottes)Xavier Claessens2008-12-122-0/+17
| | | | svn path=/trunk/; revision=1962
* add empathy_tp_contact_list_can_add (Guillaume Desmottes)Xavier Claessens2008-12-122-0/+17
| | | | svn path=/trunk/; revision=1961
* add empathy_tp_group_get_flags (Guillaume Desmottes)Xavier Claessens2008-12-122-0/+12
| | | | svn path=/trunk/; revision=1960
* Explicitly depend on telepathy-glib in .pc files (Simon McVittie)Xavier Claessens2008-12-081-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 Claessens2008-12-031-1/+1
| | | | svn path=/trunk/; revision=1944
* Use GRegex instead of custom code and use a new regex to detect URIsXavier Claessens2008-12-012-143/+2
| | | | svn path=/trunk/; revision=1932
* Remove duplicate declaration of _get_transferred_countXavier Claessens2008-11-301-1/+0
| | | | svn path=/trunk/; revision=1929
* Add missing includeXavier Claessens2008-11-301-0/+1
| | | | svn path=/trunk/; revision=1928
* 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-223-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 Claessens2008-11-222-0/+8
| | | | svn path=/trunk/; revision=1908
* Fix ref counting of tp_file, make it singleton per channel, and add a ↵Xavier Claessens2008-11-223-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 Claessens2008-11-221-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 leakedXavier Claessens2008-11-221-0/+3
| | | | svn path=/trunk/; revision=1900
* 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-222-19/+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-222-34/+20
| | | | svn path=/trunk/; revision=1885
* rename empathy_tp_file_get_incoming to empathy_tp_file_is_incomingXavier Claessens2008-11-222-2/+2
| | | | svn path=/trunk/; revision=1882
* empathy_tp_file_accept/offer takes the GFile in param and return a GError if ↵Xavier Claessens2008-11-223-94/+31
| | | | | | the file can't be opened. svn path=/trunk/; revision=1881
* don't include itselfXavier Claessens2008-11-221-2/+0
| | | | svn path=/trunk/; revision=1878
* Remove useless linesXavier Claessens2008-11-222-5/+0
| | | | svn path=/trunk/; revision=1877
* Fix coding styleXavier Claessens2008-11-221-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 Claessens2008-11-222-81/+80
| | | | svn path=/trunk/; revision=1875
* get_requestable_channel_classes_cb: call tp_contact_factory_ready if the ↵Xavier Claessens2008-11-221-0/+1
| | | | | | D-Bus call failed svn path=/trunk/; revision=1864
* 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
* empathy-contact: no need to inspect the RequestableChannelClasses property ↵Xavier Claessens2008-11-221-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 Claessens2008-11-221-1/+79
| | | | | | the CM supports it svn path=/trunk/; revision=1854
* empathy-tp-contact-factory: factor out contact_createdXavier Claessens2008-11-221-2/+9
| | | | svn path=/trunk/; revision=1853
* Implement latest ft draftXavier Claessens2008-11-221-3/+7
| | | | svn path=/trunk/; revision=1849
* remove blank lineXavier Claessens2008-11-221-1/+0
| | | | svn path=/trunk/; revision=1847
* Use the RequestableChannelClasses property instead of hardcoding salut to ↵Xavier Claessens2008-11-221-20/+65
| | | | | | check if we can send file or not svn path=/trunk/; revision=1846
* 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-222-13/+14
| | | | 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
* Use _call_request_channel instead of _run_request_channel. (Jonny Lamb)Jonny Lamb2008-11-222-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 Lamb2008-11-223-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 Lamb2008-11-225-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 Lamb2008-11-221-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 Lamb2008-11-221-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 Lamb2008-11-221-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 Lamb2008-11-221-2/+2
| | | | | | Signed-off-by: Jonny Lamb <jonny.lamb@collabora.co.uk> svn path=/trunk/; revision=1829
* Removed useless libtelepathy headers. (Jonny Lamb)Jonny Lamb2008-11-222-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 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-223-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 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
* Fixed channel property setting typo so ContentType is actually set. (Jonny Lamb)Jonny Lamb2008-11-221-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 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-222-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 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
* Use FIXME instead of TODO in comments. (Jonny Lamb)Jonny Lamb2008-11-221-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 Lamb2008-11-222-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 Lamb2008-11-224-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 Lamb2008-11-222-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 Lamb2008-11-223-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 Lamb2008-11-221-28/+0
| | | | | | Signed-off-by: Jonny Lamb <jonny.lamb@collabora.co.uk> svn path=/trunk/; revision=1787
* 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-222-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 Lamb2008-11-226-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 Lamb2008-11-221-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 Lamb2008-11-222-9/+0
| | | | | | Signed-off-by: Jonny Lamb <jonny.lamb@collabora.co.uk> svn path=/trunk/; revision=1773
* Fixed function declaration style. (Jonny Lamb)Jonny Lamb2008-11-221-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 Lamb2008-11-223-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 Lamb2008-11-221-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 Lamb2008-11-221-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 Lamb2008-11-221-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 Lamb2008-11-221-2/+0
| | | | | | Signed-off-by: Jonny Lamb <jonny.lamb@collabora.co.uk> svn path=/trunk/; revision=1763
* Implemented empathy_file_cancel. (Jonny Lamb)Jonny Lamb2008-11-222-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 Lamb2008-11-221-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 Lamb2008-11-221-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 Lamb2008-11-221-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 Lamb2008-11-221-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 Lamb2008-11-221-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 Lamb2008-11-221-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 Lamb2008-11-226-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 Lamb2008-11-221-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
* 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 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
* 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 empathy_send_file* helper functions to empathy-utils. (Jonny Lamb)Jonny Lamb2008-11-222-0/+136
| | | | | | Signed-off-by: Jonny Lamb <jonny.lamb@collabora.co.uk> svn path=/trunk/; revision=1738
* Added empathy_init function to call emp_cli_init in main. (Jonny Lamb)Jonny Lamb2008-11-223-2/+9
| | | | | | Signed-off-by: Jonny Lamb <jonny.lamb@collabora.co.uk> svn path=/trunk/; revision=1737
* Added EmpathyFile and EmpathyTpFile objects. (Jonny Lamb)Jonny Lamb2008-11-226-0/+1892
| | | | | | Signed-off-by: Jonny Lamb <jonny.lamb@collabora.co.uk> svn path=/trunk/; revision=1736
* Added file transfer debug flag. (Jonny Lamb)Jonny Lamb2008-11-222-1/+3
| | | | | | Signed-off-by: Jonny Lamb <jonny.lamb@collabora.co.uk> svn path=/trunk/; revision=1735
* Added a dependency on gio-unix-2.0 in libempathy. (Jonny Lamb)Jonny Lamb2008-11-221-1/+1
| | | | | | Signed-off-by: Jonny Lamb <jonny.lamb@collabora.co.uk> svn path=/trunk/; revision=1734
* Added ft-related functions to EmpathyContact. (Jonny Lamb)Jonny Lamb2008-11-222-0/+41
| | | | | | Signed-off-by: Jonny Lamb <jonny.lamb@collabora.co.uk> svn path=/trunk/; revision=1733
* Move code to avoid declaring functions on the top of the file.Xavier Claessens2008-11-111-71/+57
| | | | svn path=/trunk/; revision=1709
* Coding style: only one blank line between functions.Xavier Claessens2008-11-111-3/+0
| | | | svn path=/trunk/; revision=1687
* Add G_PARAM_STATIC_STRINGS to TpContactFactory propertiesXavier Claessens2008-11-111-8/+16
| | | | svn path=/trunk/; revision=1674
* EmpathyTpContactFactory: add properties for avatar requirementsXavier Claessens2008-11-111-3/+91
| | | | svn path=/trunk/; revision=1673
* EmpathyTpContactFactory: get avatar requirements before becoming ready.Xavier Claessens2008-11-111-9/+54
| | | | svn path=/trunk/; revision=1672
* EmpathyTpContactFactory: split on-ready code out of got_self_handle_cbXavier Claessens2008-11-111-4/+22
| | | | svn path=/trunk/; revision=1671
* EmpathyTpContactFactoryPriv: add fields for avatar requirementsXavier Claessens2008-11-111-0/+9
| | | | svn path=/trunk/; revision=1670
* empathy_chatroom_manager_remove: when looking for the chatroom to remove ↵Xavier Claessens2008-10-131-1/+2
| | | | | | check the address first so we are not confuse if the room was invalidated svn path=/trunk/; revision=1579
* empathy_chatroom_equal: use tp_strdiff instead of g_str_equalXavier Claessens2008-10-131-3/+3
| | | | svn path=/trunk/; revision=1578
* empathy_chatroom_set_auto_connect: notify the favorite property change if neededXavier Claessens2008-10-131-0/+1
| | | | svn path=/trunk/; revision=1575
* chatroom-manager: add_chatroom: connect the 'notify' signal instead of each ↵Xavier Claessens2008-10-131-9/+1
| | | | | | signal individually svn path=/trunk/; revision=1574
* remove empathy_chatroom_manager_store from the API as it's became uselessXavier Claessens2008-10-132-9/+0
| | | | svn path=/trunk/; revision=1571
* disconnect chatroom signals when they are removed from the mgrXavier Claessens2008-10-131-10/+24
| | | | svn path=/trunk/; revision=1569
* automatically save the chatroom mgr XML file when one chatroom is modifiedXavier Claessens2008-10-131-4/+13
| | | | svn path=/trunk/; revision=1568
* chatroom-mgr: use a save timer instead of saving the file directlyXavier Claessens2008-10-131-3/+40
| | | | svn path=/trunk/; revision=1567
* only save the chatrooms xml when a favorite chatroom is added/removedXavier Claessens2008-10-131-2/+16
| | | | svn path=/trunk/; revision=1566
* chatroom-mgr: store the file when a chatroom changes its favorite stateXavier Claessens2008-10-131-2/+22
| | | | svn path=/trunk/; revision=1564
* add the file path as arg to empathy_chatroom_manager_newXavier Claessens2008-10-133-5/+7
| | | | svn path=/trunk/; revision=1542
* chatroom-manager: set the file path as a propertyXavier Claessens2008-10-131-35/+104
| | | | svn path=/trunk/; revision=1541
* auto-connect implies favoriteXavier Claessens2008-10-131-0/+11
| | | | svn path=/trunk/; revision=1539
* 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
* Save chatrooms to XML only if they are marked as favoriteXavier Claessens2008-10-131-0/+7
| | | | svn path=/trunk/; revision=1534
* add a favorite and tp-channel property to EmpathyChatroomXavier Claessens2008-10-131-0/+54
| | | | svn path=/trunk/; revision=1533
* Catch underscores in email addresses. (closes: #554284)Frederic Peters2008-09-291-1/+1
| | | | svn path=/trunk/; revision=1500
* Check if the return value of tp_contact_list_get_group() is !=NULL. Fixes ↵Xavier Claessens2008-09-191-1/+3
| | | | | | bug #548668 svn path=/trunk/; revision=1470
* remove irc.oftc.net from Debian servers to limit confusion. Fixes bug ↵Xavier Claessens2008-09-071-1/+0
| | | | | | #550556 (Guillaume Desmottes). svn path=/trunk/; revision=1427
* move *.pc Requires to Requires.privateXavier Claessens2008-09-071-1/+2
| | | | svn path=/trunk/; revision=1425
* remove libtelepathy from *.pc RequiresXavier Claessens2008-09-071-1/+1
| | | | svn path=/trunk/; revision=1424
* Reorder files in alphabetical order.Xavier Claessens2008-08-291-32/+32
| | | | svn path=/trunk/; revision=1399
* Update API doc and add a README to explain how to keep it updated.Xavier Claessens2008-08-281-2/+1
| | | | svn path=/trunk/; revision=1397
* Always return a new ref in empathy_contact_factory_get_tp_factory. Fixes bug ↵Xavier Claessens2008-08-271-4/+2
| | | | | | #549545. svn path=/trunk/; revision=1394
* Reword presence handling. Save requested presence and correctly set ↵Xavier Claessens2008-08-141-55/+61
| | | | | | auto-away even if NM is disconnected. Fixes bug #540356. svn path=/trunk/; revision=1334
* reorder some functionsXavier Claessens2008-08-141-23/+23
| | | | svn path=/trunk/; revision=1333
* Do not stop and restart ext_away_timeout when already running.Xavier Claessens2008-08-141-1/+3
| | | | svn path=/trunk/; revision=1332
* Reorder functions to not have to declare them in the beginning of the fileXavier Claessens2008-08-141-282/+259
| | | | svn path=/trunk/; revision=1331
* Add a function to request a channel from a string handleXavier Claessens2008-08-072-2/+133
| | | | svn path=/trunk/; revision=1310
* On incoming calls don't request a new audio stream. This makes streams ↵Xavier Claessens2008-08-021-3/+0
| | | | | | collide and confuses empathy (Sjoerd Simons). svn path=/trunk/; revision=1285
* If we don't know the status string, set it to unset (Sjoerd Simons).Xavier Claessens2008-07-301-1/+1
| | | | svn path=/trunk/; revision=1275
* If InspectHandles fails print a debug message and return.Xavier Claessens2008-07-151-1/+6
| | | | svn path=/trunk/; revision=1239
* Do not call g_array_free if the array is NULLXavier Claessens2008-07-151-2/+1
| | | | svn path=/trunk/; revision=1238
* Fix reviewer commentsXavier Claessens2008-07-153-44/+53
| | | | svn path=/trunk/; revision=1237
* Fix listing chatrooms with salutXavier Claessens2008-07-151-17/+52
| | | | svn path=/trunk/; revision=1235
* Really fix the leak. Address is created using g_value_dup_boxed so it should ↵Xavier Claessens2008-07-141-3/+12
| | | | | | be freed using g_boxed_free. svn path=/trunk/; revision=1229
* Release a variable with g_free() instead of tp_g_value_slice_free(). Fixes ↵Xavier Claessens2008-07-141-2/+1
| | | | | | bug #542231 (Alban Crequy) svn path=/trunk/; revision=1228
* Merge branch 'leak'Xavier Claessens2008-07-141-0/+2
| | | | svn path=/trunk/; revision=1227
* Fix some coding styleXavier Claessens2008-07-092-94/+82
| | | | svn path=/trunk/; revision=1218
* empath-contact: remove tabs (Guillaume Desmottes)Xavier Claessens2008-07-092-410/+409
| | | | svn path=/trunk/; revision=1217
* switch empathy-contact to Collabora coding style (Guillaume Desmottes)Xavier Claessens2008-07-092-316/+319
| | | | svn path=/trunk/; revision=1214
* Document empathy_avatar_save_to_file (Guillaume Desmottes)Xavier Claessens2008-07-092-1/+11
| | | | svn path=/trunk/; revision=1210
* add empathy_avatar_save_to_file (Guillaume Desmottes)Xavier Claessens2008-07-092-1/+11
| | | | svn path=/trunk/; revision=1209
* Add some comments to the message queue codeXavier Claessens2008-07-081-2/+7
| | | | svn path=/trunk/; revision=1204
* Before emitting a message make sure the ID is also ready. Fixes bug #540360.Xavier Claessens2008-07-081-2/+4
| | | | svn path=/trunk/; revision=1203
* Make empathy_contact_equal NULL-safe for the contact ID and use the ^ ↵Xavier Claessens2008-07-081-2/+4
| | | | | | operator to concat 2 hashs values instead of +. svn path=/trunk/; revision=1202
* Fix a gcc warning complaining about a var that could be used uninitializedXavier Claessens2008-07-051-1/+1
| | | | svn path=/trunk/; revision=1200
* Fix coding styleXavier Claessens2008-06-191-6/+6
| | | | svn path=/trunk/; revision=1183
* "ready & EMPATHY_CONTACT_READY_NAME" instead of ready | ↵Xavier Claessens2008-06-191-1/+1
| | | | | | EMPATHY_CONTACT_READY_NAME svn path=/trunk/; revision=1182
* Fix coding styleXavier Claessens2008-06-191-3/+1
| | | | svn path=/trunk/; revision=1181
* Move contact_set_ready_flag() in _set_name() and _set_handle().Xavier Claessens2008-06-191-2/+2
| | | | svn path=/trunk/; revision=1180
* Fix the bug "Incoming call from (null)" (Alban Crequy)Xavier Claessens2008-06-191-0/+9
| | | | | | | | | | | The status icon uses empathy_contact_get_name() to print the name of the calling contact. It uses empathy_contact_run_until_ready() to wait the return of GetAliases(). If GetAliases() failed for whatever reason, the name will be NULL and empathy_contact_get_name() will fallback to the id. If GetHandle() has not yet returned, the id is not ready and empathy_contact_run_until_ready() must wait the id to be available. svn path=/trunk/; revision=1179
* don't set the flag to ready if we are not yet ready, especially when we send ↵Xavier Claessens2008-06-191-1/+1
| | | | | | a glib signal meanwhile, letting the opportunity to enter in the mainloop svn path=/trunk/; revision=1178
* Add g_return_val_if_fail (Alban Crequy)Xavier Claessens2008-06-131-0/+2
| | | | svn path=/trunk/; revision=1167
* Do not include _gen/ files (Alban Crequy)Xavier Claessens2008-06-131-1/+1
| | | | svn path=/trunk/; revision=1166
* Replace the has-dtmf property by empathy_tp_call_has_dtmf() (Alban Crequy)Xavier Claessens2008-06-132-9/+10
| | | | svn path=/trunk/; revision=1165
* Do not show the keypad when the media channel does not have the DTMF ↵Xavier Claessens2008-06-131-0/+10
| | | | | | interface (Alban Crequy) svn path=/trunk/; revision=1162
* Check if there is a publish/subscribe list before adding/removing contacts ↵Xavier Claessens2008-06-121-4/+11
| | | | | | from them. Fixes bug #537690. svn path=/trunk/; revision=1160
* Do not warning if we try to load the avatar of a contact that does not yet ↵Xavier Claessens2008-05-281-14/+14
| | | | | | have its id. svn path=/trunk/; revision=1129
* Move avatar cache to ~/.cache and don't mix avatar from different contacts, ↵Xavier Claessens2008-05-287-257/+199
| | | | | | tokens are not garanteed to be different. svn path=/trunk/; revision=1128
* empathy_proxy_hash and _equal can be used only with proxies that unsure ↵Xavier Claessens2008-05-281-3/+8
| | | | | | unique bus name. svn path=/trunk/; revision=1127
* Emit "send-error" signal if Send() call failsXavier Claessens2008-05-221-2/+18
| | | | svn path=/trunk/; revision=1118
* Improve dispatcher. Fixes bug #465928.Xavier Claessens2008-05-184-184/+231
| | | | svn path=/trunk/; revision=1108
* Request publish and subscribe lists instead of waiting for CM to create them.Xavier Claessens2008-05-161-113/+172
| | | | svn path=/trunk/; revision=1103
* Use tp_connection_call_when_readyXavier Claessens2008-05-161-14/+21
| | | | svn path=/trunk/; revision=1102
* Don't leak queued messages if EmpathyTpChat gets finalized.Xavier Claessens2008-05-091-0/+15
| | | | svn path=/trunk/; revision=1096
* Move non-gtk parts of EmpathyFilter to EmpathyDispatcher in libempathy, gtk ↵Xavier Claessens2008-05-095-4/+759
| | | | | | parts are now in EmpathyStatusIcon svn path=/trunk/; revision=1093
* Make _get_invitation more reliableXavier Claessens2008-05-091-4/+9
| | | | svn path=/trunk/; revision=1092
* Include empathy-contact-list.hXavier Claessens2008-05-091-0/+1
| | | | svn path=/trunk/; revision=1091
* Avoid calling ListPendingMessage if it's already running.Xavier Claessens2008-05-092-10/+12
| | | | svn path=/trunk/; revision=1090
* Ref the call object when emiting notify signals because signal handles could ↵Xavier Claessens2008-05-091-2/+7
| | | | | | unref it svn path=/trunk/; revision=1089
* More duplicate includes of empathy-debug.hXavier Claessens2008-05-072-3/+0
| | | | svn path=/trunk/; revision=1086
* Do not include empathy-debug.h twiceXavier Claessens2008-05-071-1/+0
| | | | svn path=/trunk/; revision=1085
* Keep a priv pointer in the object struct instead of using ↵Xavier Claessens2008-05-0637-370/+281
| | | | | | G_TYPE_INSTANCE_GET_PRIVATE all the time. svn path=/trunk/; revision=1082
* If self presence message is "" do like if it was NULL.Xavier Claessens2008-05-052-4/+12
| | | | svn path=/trunk/; revision=1081
* Do not request video stream until the user click on the 'send video' box.Xavier Claessens2008-05-021-11/+4
| | | | svn path=/trunk/; revision=1076
* Fix build with debug disabled.Xavier Claessens2008-05-022-5/+11
| | | | svn path=/trunk/; revision=1075
* Fix unused var if debug is disabled.Xavier Claessens2008-05-021-3/+1
| | | | svn path=/trunk/; revision=1074
* Remove useless g_print and enable tp-glib debug messages.Xavier Claessens2008-05-021-3/+2
| | | | svn path=/trunk/; revision=1073
* Keypad is unsensitive if the call is not ACCEPTEDXavier Claessens2008-05-021-2/+2
| | | | svn path=/trunk/; revision=1072
* Implement DTMF.Xavier Claessens2008-05-022-2/+36
| | | | svn path=/trunk/; revision=1071
* Make use of tp-glib debug system.Xavier Claessens2008-05-0120-506/+433
| | | | svn path=/trunk/; revision=1066
* Remove conditional build of VOIP.Xavier Claessens2008-04-241-4/+0
| | | | svn path=/trunk/; revision=1038
* Fix some warnings with roomlistXavier Claessens2008-04-231-3/+8
| | | | svn path=/trunk/; revision=1034
* Make sure we don't assume Text channel's handle_type is != NONE.Xavier Claessens2008-04-232-0/+11
| | | | svn path=/trunk/; revision=1032
* Add support for apt:// URLS. Fixes bug #529049 (Gaëtan Podevijn).Xavier Claessens2008-04-222-0/+6
| | | | svn path=/trunk/; revision=1028
* Partly fix INCOMING callsXavier Claessens2008-04-211-24/+9
| | | | svn path=/trunk/; revision=1023
* Fix OUTGOING callsXavier Claessens2008-04-212-28/+51
| | | | svn path=/trunk/; revision=1022
* Never set the remote_contact for named rooms, do not pretend it's a p2p chat ↵Xavier Claessens2008-04-211-8/+21
| | | | | | when on a muc with only one other contact. svn path=/trunk/; revision=1015
* Do not unref account from empathy_contact_get_account()Xavier Claessens2008-04-201-1/+0
| | | | svn path=/trunk/; revision=1001
* Some code cleanupXavier Claessens2008-04-201-26/+21
| | | | svn path=/trunk/; revision=987
* Call ListTubes in EmpathyTpTube's constructor to avoid racesXavier Claessens2008-04-201-96/+67
| | | | svn path=/trunk/; revision=986
* Change the way tube handler's object-path and bus-name are build.Xavier Claessens2008-04-202-8/+65
| | | | svn path=/trunk/; revision=984
* Make a more generic API for different socket typesXavier Claessens2008-04-202-83/+36
| | | | svn path=/trunk/; revision=982
* Rename empathy_offer_ipv4_stream_tube() to ↵Xavier Claessens2008-04-202-77/+93
| | | | | | empathy_tp_tube_new_ipv4_stream_tube() and return the new EmpathyTpTube object. svn path=/trunk/; revision=981
* Add empathy_offer_ipv4_stream_tube().Xavier Claessens2008-04-203-2/+81
| | | | svn path=/trunk/; revision=980
* Rename EmpathyTube to EmpathyTpTube and remove EmpathyTubes.Xavier Claessens2008-04-208-1069/+588
| | | | svn path=/trunk/; revision=978