aboutsummaryrefslogtreecommitdiffstats
path: root/libempathy/empathy-utils.c
Commit message (Collapse)AuthorAgeFilesLines
* Switch to calling CallFactory to make callsSjoerd Simons2009-02-031-33/+1
| | | | | | Signed-off-by: Sjoerd Simons <sjoerd.simons@collabora.co.uk> svn path=/trunk/; revision=2382
* Move empathy_notification_is_enabled () to src/Xavier Claessens2009-01-311-0/+20
| | | | svn path=/trunk/; revision=2294
* Fix building, there were a missing _new ->_dup_singleton.Xavier Claessens2009-01-161-1/+1
| | | | svn path=/trunk/; revision=2235
* empathy_mission_control_new -> dup_singleton.Xavier Claessens2009-01-161-1/+1
| | | | svn path=/trunk/; revision=2233
* Make the dispatch operation _get_ functions not return a refSjoerd Simons2009-01-101-2/+0
| | | | | | Signed-off-by: Sjoerd Simons <sjoerd.simons@collabora.co.uk> svn path=/trunk/; revision=2188
* Add a utility function to start a call to a contactSjoerd Simons2009-01-101-0/+36
| | | | | | Signed-off-by: Sjoerd Simons <sjoerd.simons@collabora.co.uk> svn path=/trunk/; revision=2166
* Call emp_cli_init in empathy_initSjoerd Simons2009-01-101-0/+5
| | | | | | Signed-off-by: Sjoerd Simons <sjoerd.simons@collabora.co.uk> svn path=/trunk/; revision=2153
* Remove custom channel requesting functionality, this should go through the ↵Sjoerd Simons2009-01-101-119/+0
| | | | | | | | dispatcher Signed-off-by: Sjoerd Simons <sjoerd.simons@collabora.co.uk> svn path=/trunk/; revision=2144
* Remove dead code from empathy-util.Xavier Claessens2009-01-071-110/+0
| | | | svn path=/trunk/; revision=2046
* 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-121-2/+1
| | | | svn path=/trunk/; revision=1967
* Add empathy_init(), empathy_gtk_init() and empathy_gtk_init_with_args(). ↵Xavier Claessens2008-12-121-0/+27
| | | | | | They have to be called by any process using libempathy. svn path=/trunk/; revision=1966
* Use GRegex instead of custom code and use a new regex to detect URIsXavier Claessens2008-12-011-126/+0
| | | | svn path=/trunk/; revision=1932
* Remove useless linesXavier Claessens2008-11-221-4/+0
| | | | svn path=/trunk/; revision=1877
* Moved empathy_send_file to EmpathyDispatcher and renamed it. (Jonny Lamb)Jonny Lamb2008-11-221-100/+0
| | | | | | Signed-off-by: Jonny Lamb <jonny.lamb@collabora.co.uk> svn path=/trunk/; revision=1835
* 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
* Removed account property of EmpathyTpFile as it's only actually used once ↵Jonny Lamb2008-11-221-1/+1
| | | | | | | | and easy obtainable. (Jonny Lamb) Signed-off-by: Jonny Lamb <jonny.lamb@collabora.co.uk> svn path=/trunk/; revision=1803
* 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
* 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-221-9/+9
| | | | | | 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-0/+1
| | | | | | 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-1/+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-0/+2
| | | | | | 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
* Renamed EmpathyFile to EmpathyTpFile. (Jonny Lamb)Jonny Lamb2008-11-221-7/+7
| | | | | | 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-221-6/+0
| | | | | | Signed-off-by: Jonny Lamb <jonny.lamb@collabora.co.uk> svn path=/trunk/; revision=1773
* 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
* Removed EmpathyTpFile and put everything into EmpathyFile. (Jonny Lamb)Jonny Lamb2008-11-221-4/+1
| | | | | | Signed-off-by: Jonny Lamb <jonny.lamb@collabora.co.uk> svn path=/trunk/; revision=1748
* Added empathy_send_file* helper functions to empathy-utils. (Jonny Lamb)Jonny Lamb2008-11-221-0/+129
| | | | | | 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-221-0/+8
| | | | | | Signed-off-by: Jonny Lamb <jonny.lamb@collabora.co.uk> svn path=/trunk/; revision=1737
* Catch underscores in email addresses. (closes: #554284)Frederic Peters2008-09-291-1/+1
| | | | svn path=/trunk/; revision=1500
* Add a function to request a channel from a string handleXavier Claessens2008-08-071-1/+118
| | | | svn path=/trunk/; revision=1310
* 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
* 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
* Improve dispatcher. Fixes bug #465928.Xavier Claessens2008-05-181-120/+25
| | | | svn path=/trunk/; revision=1108
* Make use of tp-glib debug system.Xavier Claessens2008-05-011-15/+9
| | | | svn path=/trunk/; revision=1066
* Remove conditional build of VOIP.Xavier Claessens2008-04-241-4/+0
| | | | svn path=/trunk/; revision=1038
* Add support for apt:// URLS. Fixes bug #529049 (Gaëtan Podevijn).Xavier Claessens2008-04-221-0/+5
| | | | svn path=/trunk/; revision=1028
* Drop Chandler and Filter, do not use MC for dispatching channels, do it ourself.Xavier Claessens2008-04-201-24/+32
| | | | svn path=/trunk/; revision=967
* Fix disconnection of AccountStatusChanged signal.Xavier Claessens2008-04-131-8/+23
| | | | svn path=/trunk/; revision=932
* We can't use *_run_* API from dbus signal cb or method implementation. To ↵Xavier Claessens2008-04-111-0/+96
| | | | | | avoid problems move the code to a g_idle cb. svn path=/trunk/; revision=922
* Remove unused includesXavier Claessens2008-04-111-1/+0
| | | | svn path=/trunk/; revision=909
* Remove empathy_inspect_* and add empathy_channel_get_accountXavier Claessens2008-04-111-64/+15
| | | | svn path=/trunk/; revision=906
* Use tp-glib API in empathy_call_with_contactXavier Claessens2008-04-111-23/+24
| | | | svn path=/trunk/; revision=896
* Add empathy_run_until_read[_full] functionsXavier Claessens2008-04-111-0/+76
| | | | svn path=/trunk/; revision=892
* Use empathy_file_lookup for glade files since some are in libempathy-gtk/ ↵Xavier Claessens2008-03-171-0/+19
| | | | | | and others in src/ svn path=/trunk/; revision=813
* Remove useless libtelepathy headersXavier Claessens2008-03-111-1/+1
| | | | svn path=/trunk/; revision=777
* Make sure we don't expect contact id and handle to be directly ready. Add ↵Xavier Claessens2008-03-111-0/+4
| | | | | | some _run_until_ready. svn path=/trunk/; revision=755
* simplify empathy_call_with_contact_id using empathy_contact_run_until_readyXavier Claessens2008-03-111-25/+5
| | | | svn path=/trunk/; revision=750
* Allow underscores in URLs. Fixes bug #505616 (Marco Barisione).Xavier Claessens2008-03-081-1/+1
| | | | svn path=/trunk/; revision=708
* Don't hardcode path to uninstalled files, use EMPATHY_SRCDIR env var instead.Xavier Claessens2008-03-041-1/+2
| | | | svn path=/trunk/; revision=693
* Update collabora copyright to 2008Xavier Claessens2008-03-031-1/+1
| | | | svn path=/trunk/; revision=688
* Add missing include of tp-conn.hXavier Claessens2008-03-021-0/+1
| | | | svn path=/trunk/; revision=682
* Simplifies empathy_call_with_contact_id.Xavier Claessens2008-02-161-20/+11
| | | | svn path=/trunk/; revision=636
* Merge commit 'sjoerd/master'Xavier Claessens2008-02-161-3/+35
| | | | svn path=/trunk/; revision=635
* Add self contact to the group iface of media channel.Xavier Claessens2008-02-161-8/+15
| | | | svn path=/trunk/; revision=634
* Merge call branch from Elliot Fairweather with cleanups from Xavier Claessens.Xavier Claessens2008-02-151-17/+58
| | | | svn path=/trunk/; revision=632
* Change new message dialog to new conversation and make possible to do voip call.Xavier Claessens2008-02-091-48/+22
| | | | svn path=/trunk/; revision=608
* Remove EmpathyPresence object and have "presence" and "presence-message" ↵Xavier Claessens2008-01-251-0/+71
| | | | | | properties directly in EmpathyContact svn path=/trunk/; revision=601
* Try to load dtd and glade files from the srcdir first to aboid having to ↵Xavier Claessens2008-01-231-2/+6
| | | | | | install them each time we change them. svn path=/trunk/; revision=596
* Add convinience functions empathy_chat_with_contact() and ↵Xavier Claessens2008-01-021-0/+30
| | | | | | empathy_chat_with_contact_id() to start a chat with a contact. Make use of it when appropriate. svn path=/trunk/; revision=527
* Conflicts:Xavier Claessens2007-12-031-76/+0
| | | | | | ChangeLog svn path=/trunk/; revision=455
* Initialize every GError to NULL. Fixes bug #482889.Marco Barisione2007-10-041-2/+2
| | | | | | | | | | | | 2007-10-03 Marco Barisione <marco@barisione.org> * libempathy/empathy-contact-factory.c: * libempathy/empathy-tp-call.c: * libempathy/empathy-tp-group.c: * libempathy/empathy-utils.c: Initialize every GError to NULL. Fixes bug #482889. svn path=/trunk/; revision=360
* Add some sanity checks. Fixes bug #463051.Xavier Claessens2007-10-011-1/+8
| | | | | | | | | | 2007-10-01 Xavier Claessens <xclaesse@gmail.com> * libempathy-gtk/empathy-accounts-dialog.c: * libempathy/empathy-utils.c: Add some sanity checks. Fixes bug #463051. svn path=/trunk/; revision=348
* ref group when async calls are in flight to avoid destroying the objectXavier Claessens2007-09-291-5/+1
| | | | | | | | | | | 2007-09-29 Xavier Claessens <xclaesse@gmail.com> * libempathy/empathy-tp-group.c: ref group when async calls are in flight to avoid destroying the object before receiving the reply. * libempathy/empathy-utils.c: Unref the group to not leak it. svn path=/trunk/; revision=341
* Initial Voice+Video support Fixes bug #468204 (Elliot Fairweather, XavierXavier Claessens2007-09-291-0/+62
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2007-09-29 Xavier Claessens <xclaesse@gmail.com> * libempathy-gtk/empathy-call-window.c: * libempathy-gtk/empathy-call-window.h: * libempathy-gtk/empathy-contact-list-view.c: * libempathy-gtk/empathy-call-window.glade: * libempathy-gtk/Makefile.am: * libempathy-gtk/empathy-chat-window.c: * src/empathy-call-chandler.c: * src/empathy-call.chandler: * src/org.gnome.Empathy.Call.service.in: * src/Makefile.am: * libempathy/empathy-utils.c: * libempathy/empathy-utils.h: * libempathy/empathy-tp-call.c: * libempathy/empathy-tp-call.h: * libempathy/Makefile.am: * libempathy/tp-stream-engine.xml: * configure.ac: * doc/libempathy-gtk/libempathy-gtk-docs.sgml: * doc/libempathy/libempathy.types: * doc/libempathy/libempathy-docs.sgml: * doc/libempathy/Makefile.am: * doc/libempathy/tmpl/empathy-utils.sgml: Initial Voice+Video support Fixes bug #468204 (Elliot Fairweather, Xavier Claessens). svn path=/trunk/; revision=339
* Fix 2 leaks thanks to valgrind.Xavier Claessens2007-09-271-0/+1
| | | | | | | | | | 2007-09-27 Xavier Claessens <xclaesse@gmail.com> * libempathy/empathy-utils.c: * libempathy/empathy-contact-factory.c: Fix 2 leaks thanks to valgrind. svn path=/trunk/; revision=325
* Cache avatars and RequestAvatars only when needed.Xavier Claessens2007-09-271-14/+76
| | | | | | | | | | | | | | 2007-09-26 Xavier Claessens <xclaesse@gmail.com> * libempathy/empathy-utils.c: * libempathy/empathy-utils.h: * libempathy/empathy-avatar.c: * libempathy/empathy-avatar.h: * libempathy/empathy-contact-factory.c: Cache avatars and RequestAvatars only when needed. svn path=/trunk/; revision=320
* Adding new empathy_strdiff API stolen from telepathy-glib. It check ifXavier Claessens2007-08-021-122/+13
| | | | | | | | | | | | | 2007-08-02 Xavier Claessens <xclaesse@gmail.com> * libempathy-gtk/empathy-accounts-dialog.c: * libempathy/empathy-utils.c: * libempathy/empathy-utils.h: Adding new empathy_strdiff API stolen from telepathy-glib. It check if strings are != NULL before using strcmp. Using that API to fix bug #461886. Should be used in more places. svn path=/trunk/; revision=224
* Initial room list support. It does not works yet.Xavier Claessens2007-07-201-5/+20
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2007-07-20 Xavier Claessens <xclaesse@gmail.com> * libempathy/Makefile.am: * libempathy/empathy-tp-roomlist.h: * libempathy/empathy-tp-roomlist.c: * libempathy-gtk/empathy-chatrooms-window.c: * libempathy-gtk/empathy-new-chatroom-dialog.c: Initial room list support. It does not works yet. * libempathy-gtk/empathy-account-widget-generic.c: Add support for all types of integer and float. Fixes bug #457740 (Jamey Hicks). * libempathy/empathy-tp-chat.c: * libempathy-gtk/empathy-chat.c: If there is an error sending a message, show an error message to the user. * libempathy-gtk/empathy-accounts-dialog.c: Fix a leak, profile should be unrefed after mc_account_get_profile. * libempathy/empathy-utils.c: * libempathy/empathy-utils.h: * libempathy/empathy-tp-chatroom.c: * libempathy/empathy-tp-group.h: * libempathy/empathy-tp-group.c: * src/empathy.c: Rename empathy_get_channel_id() to empathy_inspect_channel(). We now have empathy_inspect_handle(). * po/POTFILES.in: * libempathy/empathy-tp-contact-list.c: Set all contacts from salut protocol to the "Local Network" group. * libempathy/empathy-idle.c: Fix NetworkManager support. * libempathy/empathy-chatroom.h: Fix indentation. * libempathy-gtk/empathy-status-icon.c: * libempathy-gtk/empathy-ui-utils.c: * libempathy-gtk/empathy-ui-utils.h: - Iconify main window to the status icon like in rhythmbox. Fixes bug #458106 (Jaap A. Haitsma). - Rounded avatars. Fixes bug #457992 (Raphael Slinckx) * Makefile.am: Fix distcheck for gtkdoc (Vincent Untz) * data/empathy.desktop.in.in: Change application description (Jaap A. Haitsma). svn path=/trunk/; revision=190
* Rename all filenames starting with "gossip" by "empathy", change namespaceXavier Claessens2007-06-221-0/+495
2007-06-22 Xavier Claessens <xclaesse@gmail.com> * libempathy/*.[ch]: * libempathy-gtk/*.[ch]: * src/*.[ch]: Rename all filenames starting with "gossip" by "empathy", change namespace of all gossip_*() functions to empathy_*(). Fixes bug #444490 (Mario Danic, Xavier Claessens). svn path=/trunk/; revision=170