aboutsummaryrefslogtreecommitdiffstats
path: root/libempathy/empathy-utils.c
Commit message (Collapse)AuthorAgeFilesLines
* tpaw-utils: move empathy_xml_validate_from_resource to tp-aw and rename itMarco Barisione2013-08-201-35/+0
| | | | | | | This commit also changes the licence of the moved code (all copyrighted by Collabora Ltd.) from GPL to LGPL. https://bugzilla.gnome.org/show_bug.cgi?id=699492
* utils: remove empathy_account_has_uri_scheme_tel()Marco Barisione2013-08-201-19/+0
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=699492
* tpaw-utils: move functions for protocol and service display informationMarco Barisione2013-08-201-86/+0
| | | | | | | | | | | | | The following functions were moved from empathy to tp-aw and renamed accordingly: * empathy_protocol_icon_name; * empathy_protocol_name_to_display_name; * empathy_service_name_to_display_name. This commit also changes the licence of the moved code (all copyrighted by Collabora Ltd.) from GPL to LGPL. https://bugzilla.gnome.org/show_bug.cgi?id=699492
* tpaw-utils: move empathy_connect_new_account to tp-aw and rename itMarco Barisione2013-08-201-43/+0
| | | | | | | This commit also changes the licence of the moved code (all copyrighted by Collabora Ltd.) from GPL to LGPL. https://bugzilla.gnome.org/show_bug.cgi?id=699492
* Move empathy_check_available_state() from utils to sound-managerXavier Claessens2013-07-181-18/+0
| | | | | | | It is used only from one place, there is no reason to have it in utils. https://bugzilla.gnome.org/show_bug.cgi?id=704454
* Merge branch 'gnome-3-8'Guillaume Desmottes2013-05-031-0/+2
|\ | | | | | | | | Conflicts: src/empathy.c
| * libempathy: Fix build by adding missing math.h headerStef Walter2013-05-031-0/+2
| | | | | | | | https://bugzilla.gnome.org/show_bug.cgi?id=699017
* | empathy-utils: add missing math.h includeGuillaume Desmottes2013-04-101-0/+1
| |
* | Clean up #include directives in source filesEmanuele Aina2013-04-021-1/+0
| | | | | | | | https://bugzilla.gnome.org/show_bug.cgi?id=697076
* | Reorder header inclusions accordingly to the Telepathy coding styleEmanuele Aina2013-04-021-3/+1
| | | | | | | | | | | | | | | | | | | | | | | | Sort by: • "config.h" • API declarations, if any • public libraries • internal headers, alphabetically sorted (mostly) http://telepathy.freedesktop.org/wiki/Style#A.23includes https://bugzilla.gnome.org/show_bug.cgi?id=697076
* | Use a flat namespace for internal includesEmanuele Aina2013-04-011-1/+1
| | | | | | | | | | | | | | | | Directly add the libempathy, libempathy-gtk and extensions directories to the include search path. This decouples header inclusions from their location and helps when reorganizing the source files layout. https://bugzilla.gnome.org/show_bug.cgi?id=696950
* | Use double quotes for all internal headersEmanuele Aina2013-04-011-1/+1
| | | | | | | | | | | | | | This makes a bit more obvious which headers come from public libraries and which ones come from uninstalled utility libraries. https://bugzilla.gnome.org/show_bug.cgi?id=696950
* | utils: Drop the file-based empathy_xml_validate()Emanuele Aina2013-04-011-35/+0
| | | | | | | | | | | | | | | | After embedding all the DTDs with GResource the file-based empathy_xml_validate() is no longer needed, replaced by empathy_xml_validate_from_resource(). https://bugzilla.gnome.org/show_bug.cgi?id=696974
* | utils: Add empathy_xml_validate_from_resource()Emanuele Aina2013-04-011-0/+35
|/ | | | | | Validate against dtd stored in a GResource. https://bugzilla.gnome.org/show_bug.cgi?id=696974
* Drop unused/redundant header inclusionsEmanuele Aina2013-03-281-11/+0
| | | | | | | With the help of the script posted at http://stackoverflow.com/a/7135530 and some manual fixes, drop the unused or redundant #include directives. https://bugzilla.gnome.org/show_bug.cgi?id=696718
* Revert "Go back to libgee 0.6.x"Guillaume Desmottes2013-02-191-1/+1
| | | | | | This reverts commit 670aec4ba8b16fbf35afdf65b65c1904872286dc. https://bugzilla.gnome.org/show_bug.cgi?id=680152
* Recognize both handheld and phone clienttypes as mobile devicesSjoerd Simons2013-01-031-0/+14
| | | | | | | | | | Empathy currently displays a phone icon for clients which indicate that they're phones. However some mobile clients use the "handheld" client type instead (e.g. Xabber on android devices). While changing things around, i've also refactored the code a bit to ensure that the determination will stay consistent in the various location if it's changed in future.
* add some protocolname-displaynameGabriele Giacone2012-11-261-0/+7
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=688988
* include telepathy-glib.hGuillaume Desmottes2012-09-171-6/+0
| | | | | tp-glib 1.0 will enforce to only include telepathy-glib.h so best doing it to reduce the delta with the future stable branch.
* use tp_account_manager_dup_valid_accounts()Guillaume Desmottes2012-09-111-2/+2
| | | | | | tp_account_manager_get_valid_accounts() has been deprecated. Fix an accounts list leak in empathy-sanity-cleaning.
* Go back to libgee 0.6.xGuillaume Desmottes2012-07-231-1/+1
| | | | | | | | | | | | | | It's not clear if 0.8 will be released for GNOME 3.6 so the release team prefers to stick with 0.6 for now. And yeah, gee-1.0 is the 0.6.x series and gee-0.8 the 0.7.x, nice work guys... Revert "gee_iterator_first is no more in libgee 0.8" This reverts commit 24d30e15b34b654eff96f4a358801290ebe09ec0. Revert "libempathy: Port empathy to libgee 0.8." This reverts commit d563fa078b2a13b3c06b1de626105e0510568e57.
* libempathy: Port empathy to libgee 0.8.Jeremy Whiting2012-07-191-1/+1
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=680152
* Move SASL mechanism implementations into its own fileXavier Claessens2012-07-181-15/+0
| | | | | | | We could have other account providers than GOA requiring this SASL code. https://bugzilla.gnome.org/show_bug.cgi?id=680160
* remove unused proxy hash and equal functionsGuillaume Desmottes2012-06-071-30/+0
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=677545
* Add GVariant converters from tp-glibGuillaume Desmottes2012-06-061-0/+29
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=676634
* factor out empathy_individual_get_client_types()Guillaume Desmottes2012-05-251-0/+42
|
* remove unused tp-contact-factory includesGuillaume Desmottes2012-05-151-1/+0
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=675597
* use tpf_persona_dup_for_contact() instead of lookup_by_contact()Guillaume Desmottes2012-04-021-5/+12
| | | | No need to iterate over all the individuals any more.
* factor out create_individual_from_persona()Guillaume Desmottes2012-04-021-11/+21
|
* add empathy_ensure_individual_from_tp_contact()Guillaume Desmottes2012-02-151-0/+20
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=669676
* improve TP_ERROR_STR_ALREADY_CONNECTED displayed error stringGuillaume Desmottes2012-02-081-1/+1
| | | | | | 'ressource' is XMPP specific and not clear to most users. https://bugzilla.gnome.org/show_bug.cgi?id=632739
* Utils: provide a human-readable message for CM crashesWill Thompson2012-01-261-0/+4
| | | | | | https://bugzilla.gnome.org/show_bug.cgi?id=658908 Rebased-By: Danielle Madeley <danielle.madeley@collabora.co.uk>
* empathy_account_get_error_message: get the reason before displaying itGuillaume Desmottes2012-01-161-2/+2
|
* coding style fixGuillaume Desmottes2012-01-161-1/+1
|
* remove useless includes of empathy-contact-manager.hGuillaume Desmottes2011-12-141-1/+0
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=660547
* use tpf_persona_dup_for_contact()Guillaume Desmottes2011-12-141-10/+7
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=665853
* factor out empathy_create_individual_from_tp_contact()Guillaume Desmottes2011-11-241-0/+32
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=663387
* Import Facebook and windows Live GOA accountsXavier Claessens2011-11-041-0/+15
| | | | | | Implement their auth mechanisms Fixes bug #661068 and #652544
* factor out empathy_individual_can_audio_video_call()Guillaume Desmottes2011-10-181-0/+58
| | | | | | Also allow caller to get a ref on the EmpathyContact supporting audio/video. https://bugzilla.gnome.org/show_bug.cgi?id=661981
* Merge remote-tracking branch 'pochu/upgrade-software'Danielle Madeley2011-10-141-0/+2
|\
| * Display Upgrade Software errorsEmilio Pozuelo Monfort2011-09-051-0/+2
| | | | | | | | | | | | | | | | https://bugzilla.gnome.org/show_bug.cgi?id=644360 Conflicts: libempathy/empathy-utils.c
* | Use always-writeable and writeable-properties for alias and groupsRaul Gutierrez Segales2011-09-191-18/+76
| | | | | | | | | | | | | | | | Folks is in the way of deprecating the folks_persona_store_get_can_{alias,group}_personas methods in favour of directly checking alias and groups properties via folks_persona_store_get_always_writeable_properties and folks_persona_get_writeable_properties.
* | factor out empathy_get_tp_contact_for_individualGuillaume Desmottes2011-09-081-0/+38
| |
* | build fixGuillaume Desmottes2011-09-061-1/+1
| | | | | | | | How did I end up commiting this without the ';'??
* | empathy_contact_dup_from_folks_individual: add a debug msg if no contact is ↵Guillaume Desmottes2011-09-061-0/+6
|/ | | | | | | found In most cases that's probably either an Empathy or Folks issue, so it's good to have some info to help debugging.
* empathy_connection_can_*_personas: check if connection is connectedGuillaume Desmottes2011-09-021-0/+12
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=657266
* export empathy_account_has_uri_scheme_tel()Guillaume Desmottes2011-08-291-0/+19
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=650112
* Don't assume that all TpfPersonas contain valid TpContactsTravis Reitter2011-08-221-2/+5
| | | | | | | Helps: bgo#653599 - Empathy shouldn't assume all TpfPersonas contain a valid TpContact Signed-off-by: Jonny Lamb <jonnylamb@gnome.org>
* Port to new tp-glib client factoryGuillaume Desmottes2011-08-181-30/+10
| | | | | | | | | | | | | | | | | - EmpathyChannelFactory has been changed to EmpathyClientFactory and inherit from TpAutomaticClientFactory. - We now always use the _with_am variant of TpSimple* constructors - We define our own factory as default. - Replace empathy_get_account_for_connection() by tp_connection_get_account() - The factory is passed to EmpathyTpChat and TpyCallChannel - Use tp_simple_client_factory_ensure_account() instead of tp_account_manager_ensure_account(). - Rely on the factory to prepare connection features. This should ensure that all the TpProxy and TpContact objects created in Empathy are shared and use EmpathyClientFactory. https://bugzilla.gnome.org/show_bug.cgi?id=655799
* remove unused string util functionsGuillaume Desmottes2011-06-291-33/+0
|
* empathy-utils: port to new coding styleGuillaume Desmottes2011-06-291-354/+357
| | | | Most of this file was already using it so best to stay consistent.
* Move empathy_call_* util functions to libempathy-gtkEmilio Pozuelo Monfort2011-06-091-133/+0
| | | | | | | | Since we want to pop up a dialog when starting a call fails. Conflicts: libempathy/empathy-utils.c
* empathy_call_new_with_streams: start Calls when we support themEmilio Pozuelo Monfort2011-06-091-8/+82
| | | | | | Conflicts: libempathy/empathy-utils.c
* Adapt to API change in folks_backend_get_persona_stores().Travis Reitter2011-06-071-8/+7
| | | | Helps: bgo#648822 - Port Empathy to Folks 0.5.1
* Adapt to API break in folks_individual_get_personas.Travis Reitter2011-06-071-15/+46
| | | | Helps: bgo#648822 - Port Empathy to Folks 0.5.1
* factor out empathy_individual_match_words()Guillaume Desmottes2011-05-311-1/+0
|
* Update formatting for NOKDanielle Madeley2011-05-051-1/+1
|
* Fill out empathy_format_currency() with more currenciesDanielle Madeley2011-05-051-8/+9
|
* Use pointless g* types for consistencyDanielle Madeley2011-05-051-4/+4
|
* Add method empathy_format_currency()Danielle Madeley2011-05-051-0/+74
| | | | | | | | This method takes a Telepathy Currency_Amount and attempts to format it using currency rules appropriate for that amount. Unfortunately I haven't yet found a good summary of currency rules, so I've mostly been guessing. The currencies structure needs completing and checking.
* Add translation context on some strings (#646131)Guillaume Desmottes2011-04-181-1/+1
|
* givve translators context for the 'Unknown' stringGuillaume Desmottes2011-03-301-0/+1
|
* pass a preferred handler when requesting channelsGuillaume Desmottes2011-03-171-3/+3
| | | | | We want to use Empathy components when possible instead of, say, KDE ones if both are installed (#643863).
* rename empathy-dispatcher to empathy-request-utilGuillaume Desmottes2011-03-171-1/+0
| | | | | We don't have EmpathyDispatcher any more so this file just contains some utility functions now.
* Adjust for Folks Groupable -> GroupDetails renameTravis Reitter2011-03-151-1/+1
| | | | | Helps bgo#644470 - Empathy needs to catch up with Folks interface name change (API/ABI breaks)
* empathy_protocol_name_to_display_name: MSN has been renamed to "Windows ↵Guillaume Desmottes2011-03-071-1/+1
| | | | live" (#643920)
* Bug 637151 — Hide the user Individual from the contact listPhilip Withnall2011-02-181-2/+20
| | | | | | | | | | Generalise the mechanism used to determine whether a persona is to be displayed by Empathy to also take into account whether the persona is the user and, if so, whether they're in the contact list. This bumps the libfolks dependency to 0.3.5. Closes: bgo#637151
* Bug 641662 — Update for libfolks API changes to IndividualAggregatorPhilip Withnall2011-02-181-1/+1
| | | | | | Update EmpathyIndividualManager re. changes to IndividualAggregator.add_persona_from_details, BackendStore.enabled_backends and BackendStore.get_backend_by_name in libfolks. Closes: bgo#641662
* Move a couple of call-related functions to empathy-utils.hEmilio Pozuelo Monfort2011-02-101-1/+61
| | | | | Since the rest of the call stuff will only be compiled for empathy-av so we don't link every binary against farsight.
* EmpathyTpCall -> EmpathyTpStreamedMediaEmilio Pozuelo Monfort2011-02-031-1/+0
|
* rename EmpathyIdle to EmpathyPresenceManager (#640532)Guillaume Desmottes2011-01-251-5/+5
| | | | It's doing more than idle management now.
* Remove Ovi chat profileGuillaume Desmottes2010-12-071-1/+0
| | | | Ovi services are about to change so best to wait for now.
* add Ovi chat profile (#630146)Guillaume Desmottes2010-12-071-0/+1
|
* Use Folks to check if a TpConnection can alias and group personas.Travis Reitter2010-10-161-0/+28
| | | | Helps bgo#625969.
* Use Folks to check if a TpConnection can add personas.Travis Reitter2010-10-161-0/+52
| | | | Helps bgo#625969.
* Port Empathy to use FolksAliasable and FolksGroupablePhilip Withnall2010-10-051-1/+1
| | | | | FolksAliasable is the new name for FolksAlias, and FolksGroupable is the new name for FolksGroups.
* coding style fixesGuillaume Desmottes2010-09-301-2/+2
|
* use gettext() instead of _()Guillaume Desmottes2010-09-291-2/+2
|
* allow to translate 'Google Talk'Guillaume Desmottes2010-09-291-1/+1
| | | | We allow to translate 'Facebook Chat' so best stay coherent.
* Add empathy_service_name_to_display_name()Guillaume Desmottes2010-09-291-3/+29
| | | | | Also makes empathy_protocol_name_to_display_name() fallbacks to the protocol name so caller doesn't have to.
* fixed typo in empathy utilsFelix Kaser2010-09-131-1/+1
|
* Move _get_certificate_hostname() out of the verifierCosimo Cecchi2010-09-081-0/+35
|
* Bug 628064 — Miscellaneous string fixesPhilip Withnall2010-08-271-2/+2
|
* Add an usre_requested param to _account_get_error()Cosimo Cecchi2010-08-191-2/+13
|
* remove empathy-dispatch-operationGuillaume Desmottes2010-08-111-1/+0
|
* add support for the errors introduced in spec 0.19.11Guillaume Desmottes2010-08-111-0/+9
|
* fix indentationGuillaume Desmottes2010-08-111-1/+1
|
* Fix constness of various variables and parametersPhilip Withnall2010-08-051-1/+1
|
* Fix missing entries in switch statementsPhilip Withnall2010-08-051-0/+7
| | | | Added missing default cases and missing enum cases.
* no need to pass the reason to empathy_account_get_error_messageGuillaume Desmottes2010-08-051-2/+4
|
* empathy_account_get_error_message: no need to get the details hash tableGuillaume Desmottes2010-08-051-2/+1
|
* empathy_status_reason_get_default_message can be static nowGuillaume Desmottes2010-08-051-1/+1
|
* add empathy_account_get_error_messageGuillaume Desmottes2010-08-051-1/+20
|
* create_errors_to_message_hash: add support for more errorsGuillaume Desmottes2010-08-051-0/+21
|
* add empathy_dbus_error_name_get_default_messageGuillaume Desmottes2010-08-051-0/+44
| | | | Reuse existing errors for now.
* Ensure contacts have a persona setPhilip Withnall2010-08-031-0/+1
| | | | | | | | Ensure that contacts created by empathy_contact_dup_from_folks_individual() have a persona set, so that things like custom presence messages in contact tooltips work again. This requires that we don't set the alias on the contacts during the initial contact population period, or we'll end up with duplicates of each contact in the list. Closes: bgo#625828
* Remove folks_individual_dup_from_empathy_contact()Philip Withnall2010-07-221-32/+0
| | | | | As EmpathyContact is now a wrapper around FolksPersona, we can mutate the persona instead of acquiring an individual and mutating that instead.
* Update to the FolksIndividualAggregator:individuals-changed signal.Travis Reitter2010-07-211-0/+7
|
* Add 'dup' to the names of empathy_contact_from_folks_individual() and ↵Travis Reitter2010-07-211-3/+3
| | | | folks_individual_from_empathy_contact() to make it clear that the return value has been referenced.
* Simplify empathy_folks_individual_contains_contact().Travis Reitter2010-07-211-9/+2
|
* Add comments for the new Individual/Contact utility functions.Travis Reitter2010-07-211-0/+10
|
* Re-enable changing individuals' groupsPhilip Withnall2010-07-211-0/+29
| | | | | | This introduces a hacky function to return the individual for a given EmpathyContact, which should go away once we break the assumption that individuals are 1:1 with contacts.
* Add a note about future work to be done after we break the 1:1 ↵Travis Reitter2010-07-211-0/+3
| | | | FolksIndividual:TpContact relationship.
* Re-implement the context menu for IndividualsTravis Reitter2010-07-211-0/+24
|
* Base the contact list around libfolks metacontacts. Not yet to feature-parityTravis Reitter2010-07-211-0/+35
| | | | with mainline Empathy.
* remove empathy_signal_connect_weak (#613583)Guillaume Desmottes2010-04-091-86/+0
|
* empathy_presence_get_default_message: return a string for ↵Guillaume Desmottes2010-03-311-1/+2
| | | | TP_CONNECTION_PRESENCE_TYPE_UNKNOWN
* factor out empathy_connect_new_accountGuillaume Desmottes2010-03-021-0/+37
|
* Use the 'phone' icon for the 'sms' protocolGuillaume Desmottes2010-02-101-0/+2
|
* Use the SIP icon for the SIMPLE protocolGuillaume Desmottes2010-02-091-1/+4
| | | | SIMPLE is a SIP extension.
* Changed the return string of empathy_presence_get_default_message to ↵G.Balaji2010-01-181-1/+1
| | | | | | Invisible so that we display Invisible to the user. This fix bug #603472
* Rephrase the TP_CONNECTION_STATUS_REASON_REQUESTED message to make it ↵Guillaume Desmottes2010-01-151-1/+1
| | | | clearer (#606510)
* empathy_protocol_icon_name: use the Yahoo icon for Yahoo Japan (#604567)Guillaume Desmottes2009-12-151-0/+4
|
* refactor friendly status reason messagesFelix Kaser2009-12-151-0/+37
| | | | the friendly status reason can be asked from empathy-utils
* Warn if accessing connection status before AM is readyDanielle Madeley2009-11-101-0/+5
|
* utils: remove FIXMEJonny Lamb2009-10-301-2/+0
| | | | | | | | | | | | Although still true, the comment above the function will suffice and this can't really be changed without lots of making-async of other places in Empathy. I also don't think this is a problem in practice as everywhere in Empathy we use the account manager should have a _prepare called beforehand. Signed-off-by: Jonny Lamb <jonnylamb@gnome.org>
* Add empathy_account_manager_get_accounts_connected function.Jonny Lamb2009-10-241-0/+34
| | | | Signed-off-by: Jonny Lamb <jonnylamb@gnome.org>
* Add empathy_get_account_for_connection function.Jonny Lamb2009-10-241-1/+34
| | | | Signed-off-by: Jonny Lamb <jonnylamb@gnome.org>
* empathy-utils.c: fix casting issuesGuillaume Desmottes2009-10-221-6/+8
|
* copy empathy_signal_connect_weak from telepathy-gabbleGuillaume Desmottes2009-10-151-0/+85
|
* Add display name for "gtalk"Cosimo Cecchi2009-08-311-0/+1
|
* Add human-readable names for Yahoo! Japan and Facebook ChatWill Thompson2009-08-251-0/+2
| | | | | | These are both marked for translation. Obviously the first should be localized in its target market, and the latter probably wants translating too (perhaps "Clavardage de Facebook"?).
* Call gettext for translated protocol namesWill Thompson2009-08-251-10/+16
|
* Make empathy_protocol_name_to_display_name publicCosimo Cecchi2009-08-251-0/+30
|
* remove usage of empathy_account_equalSjoerd Simons2009-07-301-7/+0
|
* Remove empathy_account_hashSjoerd Simons2009-07-301-8/+0
|
* Add a utility function to may protocols to their iconsSjoerd Simons2009-07-291-0/+6
|
* Remove last references to mission-control 4Sjoerd Simons2009-07-161-15/+0
|
* Add an GType of aoSjoerd Simons2009-07-081-0/+10
|
* Port libempathy to EmpathyAccountSjoerd Simons2009-07-011-12/+3
|
* empathy-utils: remove trailing tabsGuillaume Desmottes2009-06-251-3/+3
|
* Fix trailing whitespaceCosimo Cecchi2009-06-011-1/+1
|
* Add a helper uint_compare functionCosimo Cecchi2009-06-011-0/+7
|
* Remove usage of McPresence as much as possibleSjoerd Simons2009-05-311-49/+50
|
* empathy-utils: fix coding style and update FSF addressGuillaume Desmottes2009-05-181-6/+6
|
* Replace empathy_connection_get_protocol by tp_connection_parse_object_pathXavier Claessens2009-04-221-28/+0
|
* Extract protocol from the connection's object-path and correctly set the ↵Xavier Claessens2009-04-221-0/+29
| | | | special group for xmpp-local contacts.
* Drop dead codeXavier Claessens2009-04-221-91/+0
|
* Drop unused include of contact factoryXavier Claessens2009-04-221-1/+0
|
* 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