aboutsummaryrefslogtreecommitdiffstats
path: root/libempathy
Commit message (Collapse)AuthorAgeFilesLines
* tp-chat: stop using the contact factory when building messageGuillaume Desmottes2012-05-081-63/+12
| | | | | | | | | Messages are now synchronously proccessed so we don't have to keep an internal queue of messages being prepared. We also need to complete the preparation of the EmpathyTpChat feature in idle as it's now prepared synchronously as well. https://bugzilla.gnome.org/show_bug.cgi?id=675597
* ft-handler: create EmpathyContact from TpContactGuillaume Desmottes2012-05-081-32/+5
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=675597
* tp-contact-factory: remove unused methodsGuillaume Desmottes2012-05-082-177/+0
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=675597
* Use TP_ERROR instead of TP_ERRORSGuillaume Desmottes2012-05-072-2/+2
| | | | The latter has been deprecated in tp-glib master.
* contact: compare TpContact objects rather than handlesGuillaume Desmottes2012-05-031-5/+3
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=675229
* tp-chat:stop using the handle of membersGuillaume Desmottes2012-05-031-22/+14
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=675229
* empathy_tp_chat_is_invited: return a TpContact for the inviterGuillaume Desmottes2012-05-032-11/+5
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=675229
* tp-chat: use new channel group API to track membersGuillaume Desmottes2012-05-031-136/+55
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=675229
* tp_chat_prepare_ready_async: use new channel group APIGuillaume Desmottes2012-05-031-46/+16
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=675229
* empathy_tp_chat_is_invited: use new channel group APIGuillaume Desmottes2012-05-031-5/+12
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=675229
* client-factory: prepare TP_CHANNEL_FEATURE_CONTACTSGuillaume Desmottes2012-05-031-0/+3
| | | | | | | We are about to use the channel-contacts API so best to make sure they will work. https://bugzilla.gnome.org/show_bug.cgi?id=675229
* remove empathy_tp_chat_join()Guillaume Desmottes2012-05-032-33/+0
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=675229
* Revert "Revert "remove EMPATHY_AV_BUS_NAME*""Guillaume Desmottes2012-05-021-3/+0
| | | | | | This reverts commit afb9276b8a497e7b9275fb53abafd0cdb18d55fc. https://bugzilla.gnome.org/show_bug.cgi?id=675296
* remove empathy-avGuillaume Desmottes2012-05-023-971/+0
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=675296
* tp-chat: add the 'members-changed' signalGuillaume Desmottes2012-05-021-4/+12
| | | | | | | It uses to be implemented by the EmpathyContactList interface which has been removed. https://bugzilla.gnome.org/show_bug.cgi?id=674864
* tp-chat: add the 'member-renamed' signalGuillaume Desmottes2012-05-021-3/+11
| | | | | | | It uses to be implemented by the EmpathyContactList interface which has been removed. https://bugzilla.gnome.org/show_bug.cgi?id=674864
* add empathy_connection_aggregator_rename_group()Guillaume Desmottes2012-04-202-0/+46
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=501065
* tls-test: Use a proper PKCS#11 mock module for testingStef Walter2012-04-191-2/+2
| | | | | | | | | | | * In empathy-tls-test.c use a proper PKCS#11 mock module, which we can place certificate anchors and pinned certificates in. * Fix EmpathyTlsVerifier to check for server trust assertions not client ones, this was a bug highlighted by fixing tests. https://bugzilla.gnome.org/show_bug.cgi?id=668186 https://bugzilla.gnome.org/show_bug.cgi?id=668261
* Use more tp_capabilities_ methodsGuillaume Desmottes2012-04-101-58/+18
| | | | | | | | Makes code easier and would allow us to stop using a GValueArray once we'll have API to check if SMS are supported. This may break StreamedMedia only CM but we are not going to support those in 3.5 anyway.
* individual-manager: remove (un)linking APIGuillaume Desmottes2012-04-102-76/+0
| | | | Empathy now relies on gnome-contacts to link contacts.
* remove empathy-contact-listGuillaume Desmottes2012-04-103-308/+0
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=673821
* implement empathy_tp_chat_get_members as a method on TpChatGuillaume Desmottes2012-04-102-17/+5
| | | | | | | That means EmpathyTpChat doesn't have to implement the EmpathyContactList interface any more. https://bugzilla.gnome.org/show_bug.cgi?id=673821
* remove unused tp_chat_removeGuillaume Desmottes2012-04-101-18/+0
| | | | | | empathy_contact_list_remove() is not used any more. https://bugzilla.gnome.org/show_bug.cgi?id=673821
* implement empathy_tp_chat_add as a method on TpChatGuillaume Desmottes2012-04-102-5/+6
| | | | | | We want to get rid of the EmpathyContactList interface. https://bugzilla.gnome.org/show_bug.cgi?id=673821
* tp-chat: use self->priv directlyGuillaume Desmottes2012-04-101-26/+13
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=673821
* tp-chat: port to Telepathy coding styleGuillaume Desmottes2012-04-102-1166/+1207
| | | | | | I'm so tired of hacking in this file using the old style. https://bugzilla.gnome.org/show_bug.cgi?id=673821
* remove EmpathyConnectivityGuillaume Desmottes2012-04-053-508/+0
|
* Merge branch 'gnome-3-4'Guillaume Desmottes2012-04-054-9/+2
|\
| * include logger single headerGuillaume Desmottes2012-04-044-9/+2
| |
* | Merge branch 'gnome-3-4'Danielle Madeley2012-04-031-6/+2
|\|
| * Logger support for calls is no longer optionalDanielle Madeley2012-04-031-5/+1
| |
| * TplCallEndReason ceased to exist on March 28Danielle Madeley2012-04-031-1/+1
| |
* | remove empathy_individual_manager_lookup_by_contact()Guillaume Desmottes2012-04-022-56/+0
| |
* | 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
|/
* remove empathy-tp-contact-listGuillaume Desmottes2012-03-123-1287/+0
|
* connection-managers: stop using tp_connection_manager_is_ready()Guillaume Desmottes2012-03-121-1/+1
| | | | It has been deprecated.
* Mark strings for translation. https://bugzilla.gnome.org/show_bug.cgi?id=671875Gabor Kelemen2012-03-121-3/+5
|
* add missing config.h includesGuillaume Desmottes2012-03-075-2/+9
|
* Add magic to automatically run tasks when empathy-auth-client is startedGuillaume Desmottes2012-03-061-0/+1
| | | | | | | empathy-auth-client is the best place to do such tasks as it will be run even if using only the Shell without Empathy's UI. https://bugzilla.gnome.org/show_bug.cgi?id=671452
* Revert "Drop empathy-av"Guillaume Desmottes2012-03-013-0/+971
| | | | | | | | This reverts commit ba0a893b1d31cdb234bae72845e840a895b9d62a. Conflicts: src/Makefile.am
* Revert "remove EMPATHY_AV_BUS_NAME*"Guillaume Desmottes2012-03-011-0/+3
| | | | This reverts commit f90421fd29108507c722c03e28bc16e4b5baf7c0.
* remove EMPATHY_AV_BUS_NAME*Guillaume Desmottes2012-02-211-3/+0
|
* Drop empathy-avGuillaume Desmottes2012-02-213-971/+0
| | | | | | So long and thanks for all the calling... https://bugzilla.gnome.org/show_bug.cgi?id=629902
* Merge remote-tracking branch 'origin/call1' into master+callGuillaume Desmottes2012-02-213-46/+6
|\ | | | | | | | | | | Conflicts: configure.ac telepathy-yell
| * Merge branch 'master' into call1Danielle Madeley2012-01-175-9/+63
| |\
| * | Remove tp-yell and use TpCallChannelXavier Claessens2012-01-103-46/+6
| | |
* | | add empathy_ensure_individual_from_tp_contact()Guillaume Desmottes2012-02-152-0/+23
| | | | | | | | | | | | https://bugzilla.gnome.org/show_bug.cgi?id=669676
* | | add empathy_individual_manager_lookup_by_contact()Guillaume Desmottes2012-02-152-0/+56
| | | | | | | | | | | | https://bugzilla.gnome.org/show_bug.cgi?id=669676
* | | individual-manager: add API to know when contacts have been loaded from folksGuillaume Desmottes2012-02-142-0/+46
| | | | | | | | | | | | https://bugzilla.gnome.org/show_bug.cgi?id=656097
* | | Toggle telling others you are typing to themPatrick F. Allen2012-02-131-0/+1
| | | | | | | | | | | | https://bugzilla.gnome.org/show_bug.cgi?id=668985
* | | Add a gsetting key to show/hide groupsGuillaume Desmottes2012-02-091-0/+1
| | | | | | | | | | | | https://bugzilla.gnome.org/show_bug.cgi?id=627658
* | | add empathy-pkg-kitGuillaume Desmottes2012-02-083-0/+201
| | | | | | | | | | | | https://bugzilla.gnome.org/show_bug.cgi?id=669578
* | | 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
* | | add missing config.hGuillaume Desmottes2012-02-072-0/+3
| | | | | | | | | | | | Need to disable GLib deprecation warnings.
* | | presence-manager: stop watching connectivity changesGuillaume Desmottes2012-02-021-67/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Mission-Control does it for us now (thanks Will!). We don't remove empathy-connectivity yet because some Empathy components still rely on it to display the status of the network. Ideally, this could be exposed by MC as well (fdo #45126). https://bugzilla.gnome.org/show_bug.cgi?id=668498
* | | Chat: show who changed the subjectWill Thompson2012-02-022-1/+26
| | | | | | | | | | | | https://bugzilla.gnome.org/show_bug.cgi?id=669177
* | | 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>
* | | Merge branch 'highlight-regex'Will Thompson2012-01-263-70/+19
|\ \ \
| * | | TpChat: add a :self-contact property.Will Thompson2012-01-191-0/+19
| | | |
| * | | Move empathy_message_should_highlight to EmpathyChatWill Thompson2012-01-192-71/+0
| | | | | | | | | | | | | | | | | | | | | | | | This will give us a place to cache the GRegex object. (Of course, this also depends on monitoring changes to the TpChat's self contact's alias, and changes to the TpChat's self contact!)
| * | | Use /\b<nickname>\b/ to decide whether to highlightWill Thompson2012-01-191-33/+34
| | |/ | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The current highlighting code finds the first occurrence of the nickname, then checks whether the characters before or after are a space, a comma, a colon or a full stop (or the start or end of the string). This means that someone saying “no! That's wjt’s coffee!” didn’t highlight me, because the apostrophe isn't in the whitelist. It also means that saying “borrow some Sudafed from daf” would not highlight daf, since the first match is in the middle of a word. We’re trying to check whether the nickname occurs as a complete word within the message. The regex metacharacter \b matches word boundaries, so /\b<nickname>\b/ is what we actually want. It gets the above cases right, including Unicode punctuation. https://bugzilla.gnome.org/show_bug.cgi?id=591667
* | | Use a localized format when displaying timesGuillaume Desmottes2012-01-201-8/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Unfortunatelly there is no localized format displaying only the hour and minutes (bug #668323) so we'll have to use %X for now which also display the seconds. EMPATHY_DATE_FORMAT_DISPLAY_SHORT was already localized so this one is fine. That also means we don't have to translate those formats any more as we'll just rely on the system env. https://bugzilla.gnome.org/show_bug.cgi?id=608474
* | | empathy-time: port to TP coding styleGuillaume Desmottes2012-01-202-81/+85
|/ / | | | | | | https://bugzilla.gnome.org/show_bug.cgi?id=608474
* | client-factory: ensure alias, presence, capabilities and avatar are preparedDanielle Madeley2012-01-171-6/+12
| | | | | | | | | | Sometimes contacts are assumed to have these features prepared, but they don't always. Ensure they are prepared by the factory.
* | don't free content of the list returned by ↵Guillaume Desmottes2012-01-171-0/+1
| | | | | | | | | | | | empathy_connection_aggregator_get_all_groups() https://bugzilla.gnome.org/show_bug.cgi?id=667037
* | empathy_account_get_error_message: get the reason before displaying itGuillaume Desmottes2012-01-161-2/+2
| |
* | coding style fixGuillaume Desmottes2012-01-161-1/+1
| |
* | account-settings: allow to change the serviceGuillaume Desmottes2012-01-132-0/+47
|/ | | | https://bugzilla.gnome.org/show_bug.cgi?id=667791
* remove empathy-contact-managerGuillaume Desmottes2011-12-143-603/+0
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=660547
* remove useless includes of empathy-contact-manager.hGuillaume Desmottes2011-12-142-2/+0
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=660547
* empathy_contact_get_persona: use tpf_persona_dup_for_contact()Guillaume Desmottes2011-12-141-37/+5
| | | | | | | We can finally get rid of this horrible code iterating over all the individuals. \o/ https://bugzilla.gnome.org/show_bug.cgi?id=665853
* use tpf_persona_dup_for_contact()Guillaume Desmottes2011-12-141-10/+7
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=665853
* auth-client: add some more debuggingGuillaume Desmottes2011-12-081-1/+1
| | | | | I'm trying to understand what's going wrong in bug #665542 and having more debugging would help.
* try requesting a TpContact when creating a contact from the loggerGuillaume Desmottes2011-12-061-1/+48
| | | | | | | | This is useful when displaying a contact which is not in our roster in the logger (typically a PSTN number). Having a TpContact allow us to call him if that's supported by the CM. https://bugzilla.gnome.org/show_bug.cgi?id=665592
* renamespace CheeseCameraDeviceMonitorGuillaume Desmottes2011-12-023-84/+88
| | | | | | | This ensures empathy will always use our version, even when linking on libcheese, and so avoid incompatibliy when libcheese breaks its ABI. https://bugzilla.gnome.org/show_bug.cgi?id=665244
* camera-monitor: fix memleak in on_camera_addedRaluca Elena Podiuc2011-12-011-1/+3
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=665256
* connection-aggregator: add API to track contactsGuillaume Desmottes2011-11-302-0/+74
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=660547
* Revert "WIP"Guillaume Desmottes2011-11-292-75/+0
| | | | | | This reverts commit f1a9c6deaa7f706df73cb4e1195647a2a27177c6. Humm I didn't mean to push that, sorry. :\
* remove trailing spaceGuillaume Desmottes2011-11-291-1/+1
|
* WIPGuillaume Desmottes2011-11-292-0/+75
|
* Merge remote-tracking branch 'jonny/ft'Guillaume Desmottes2011-11-297-1114/+180
|\ | | | | | | | | Conflicts: libempathy/empathy-tp-file.c
| * tp-file: remove EmpathyTpFileJonny Lamb2011-11-093-1022/+0
| | | | | | | | | | | | TpFTChannel! Signed-off-by: Jonny Lamb <jonny.lamb@collabora.co.uk>
| * client-factory: stop creating EmpathyTpFile objectsJonny Lamb2011-11-092-7/+1
| | | | | | | | | | | | | | TpAutomaticClientFactory will create TpFileTransferChannels for us and they're, like, way better. Signed-off-by: Jonny Lamb <jonny.lamb@collabora.co.uk>
| * ft-handler: start using TpFTChannel instead of EmpathyTpFileJonny Lamb2011-11-093-84/+179
| | | | | | | | Signed-off-by: Jonny Lamb <jonny.lamb@collabora.co.uk>
| * libempathy: remove empathy-tp-file from headersJonny Lamb2011-11-091-1/+0
| | | | | | | | | | | | | | | | This is just a little hack so GEnums aren't created for enums in empathy-tp-file.h. We'll remove the files in a sec but I want to try and avoid breaking bisect. Signed-off-by: Jonny Lamb <jonny.lamb@collabora.co.uk>
* | remove old school get_all_groupsGuillaume Desmottes2011-11-294-66/+0
| | | | | | | | https://bugzilla.gnome.org/show_bug.cgi?id=665121
* | add empathy_connection_aggregator_get_all_groups()Guillaume Desmottes2011-11-292-0/+31
| | | | | | | | https://bugzilla.gnome.org/show_bug.cgi?id=665121
* | add EmpathyConnectionAggregatorGuillaume Desmottes2011-11-293-0/+258
| | | | | | | | | | | | | | It won't do much atm but will be used as a helper dealing with all connections. https://bugzilla.gnome.org/show_bug.cgi?id=665121
* | don't ignore TP_DELIVERY_STATUS_TEMPORARILY_FAILED delivery reportGuillaume Desmottes2011-11-281-1/+2
| | | | | | | | | | | | | | We should display an error message as well if not the user will assume the message has been sent and the spinner keeps spinning. https://bugzilla.gnome.org/show_bug.cgi?id=664564
* | contact-list: remove flagsGuillaume Desmottes2011-11-282-25/+0
| | | | | | | | https://bugzilla.gnome.org/show_bug.cgi?id=663328
* | tp-contact-list: remove tp_contact_list_get_flagsGuillaume Desmottes2011-11-281-119/+0
| | | | | | | | https://bugzilla.gnome.org/show_bug.cgi?id=663328
* | remove empathy_contact_manager_get_flags_for_connection()Guillaume Desmottes2011-11-282-25/+0
| | | | | | | | https://bugzilla.gnome.org/show_bug.cgi?id=663328
* | add EMPATHY_INDIVIDUAL_FEATURE_ADD_CONTACTGuillaume Desmottes2011-11-241-0/+21
| | | | | | | | https://bugzilla.gnome.org/show_bug.cgi?id=663387
* | factor out empathy_create_individual_from_tp_contact()Guillaume Desmottes2011-11-242-0/+35
| | | | | | | | https://bugzilla.gnome.org/show_bug.cgi?id=663387
* | Allow user to try another password if auth failedGuillaume Desmottes2011-11-232-0/+64
| | | | | | | | https://bugzilla.gnome.org/show_bug.cgi?id=661640
* | auth-factory: relay the auth-password-failed signalGuillaume Desmottes2011-11-231-0/+25
| | | | | | | | https://bugzilla.gnome.org/show_bug.cgi?id=661640
* | server-sasl-handler: add auth-password-failed signalGuillaume Desmottes2011-11-231-0/+16
| | | | | | | | https://bugzilla.gnome.org/show_bug.cgi?id=661640
* | Remove call input volume configurationSjoerd Simons2011-11-191-1/+0
| | | | | | | | | | | | | | | | | | | | | | | | As we rely on pulseaudio there is no point in saving our own volume configuration, pulseaudio does that for us. If we do save it, then we have no idea which volume to pick after connecting to pulse (the one we save, the one pulse saved, a random value?). On top of that our configuration implementation is plain ugly, the level meter didn't work etc. This is all much better configured using the gnome-control-center sound panel, which is pretty nice for inputs and saves its volume on pulse for us to re-use :)
* | Use _unref instead of _free _destroy when possible.unrefXavier Claessens2011-11-1611-25/+25
| | | | | | | | | | | | | | | | | | | | | | Replace g_(ptr_)array_free (foo, TRUE) and g_hash_table_destroy with respectively g_(ptr_)array_unref (foo) and g_hash_table_unref. I used this command to generate this patch: for f in `find -name "*.c"`; do sed -i $f -re 's/g_ptr_array_free \(([^ ,]+), TRUE\)/g_ptr_array_unref \(\1\)/'; done See Danielle's blog for explanation of possible bug _free can do: http://blogs.gnome.org/danni/2011/11/16/mistakes-with-g_value_set_boxed/
* | coding style fixesGuillaume Desmottes2011-11-142-5/+5
| |
* | add empathy_contact_remove_from_contact_list()Guillaume Desmottes2011-11-082-0/+14
| | | | | | | | https://bugzilla.gnome.org/show_bug.cgi?id=663327
* | add empathy_contact_add_to_contact_list()Guillaume Desmottes2011-11-082-0/+41
| | | | | | | | https://bugzilla.gnome.org/show_bug.cgi?id=663327
* | client-factory: prepare TP_CONNECTION_FEATURE_CONTACT_LIST_PROPERTIESGuillaume Desmottes2011-11-081-0/+6
| | | | | | | | https://bugzilla.gnome.org/show_bug.cgi?id=663327
* | remove old blocking APIGuillaume Desmottes2011-11-084-196/+8
| | | | | | | | https://bugzilla.gnome.org/show_bug.cgi?id=661805
* | individual-manager: use tp-glib blocking APIGuillaume Desmottes2011-11-081-26/+16
| | | | | | | | https://bugzilla.gnome.org/show_bug.cgi?id=661805
* | Revert "Revert "contact-blocking-dialog: use tp-glib high level blocking API""Guillaume Desmottes2011-11-081-0/+3
|/ | | | | | This reverts commit 40dc4074eeecb15c82d9eacb3fcd54cff7162440. We can now depends on it.
* Make GOA optional againDanielle Madeley2011-11-072-23/+54
| | | | | | | | There is an --disable-goa flag in Empathy's configure, which should be able to disable GOA, except it had been included as a required dependency. This patch makes it completely optional again. Fixes: https://bugzilla.gnome.org/show_bug.cgi?id=663442
* Import Facebook and windows Live GOA accountsXavier Claessens2011-11-046-25/+601
| | | | | | Implement their auth mechanisms Fixes bug #661068 and #652544
* empathy-auth-client: use a TpSimpleClientFactoryXavier Claessens2011-11-042-11/+4
| | | | | This prevent TpBaseClient to create a full TpAccountManager and allow us to prepare TP_ACCOUNT_FEATURE_STORAGE feature on accounts
* tls: Cast argument to gcr_simple_certificate_new to avoid compiler warningColin Walters2011-11-041-1/+1
| | | | Gcr correctly treats these as unsigned.
* Revert "contact-blocking-dialog: use tp-glib high level blocking API"Guillaume Desmottes2011-11-021-3/+0
| | | | | | This reverts commit d8153fa21a7beb4229dbba1810eb8544af91db4f. I was not supposed to commit that yet; the tp-glib API hasn't been released.
* contact-blocking-dialog: use tp-glib high level blocking APIGuillaume Desmottes2011-11-021-0/+3
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=661805
* Move empathy-contactinfo-utils to libempathy-gtkDanielle Madeley2011-10-213-228/+0
| | | | | | | Why do we still have this annoying split? Rebasing this work will pull in a dependency on empathy-string-parser, which is part of libempathy-gtk. Hence the move.
* Abstract common contactinfo code into empathy-contactinfo-utilsDanielle Madeley2011-10-213-0/+228
| | | | | This handles things like sorting fields and converting field names to human readable names.
* factor out empathy_individual_can_audio_video_call()Guillaume Desmottes2011-10-182-0/+63
| | | | | | Also allow caller to get a ref on the EmpathyContact supporting audio/video. https://bugzilla.gnome.org/show_bug.cgi?id=661981
* contact-list: remove favourite APIGuillaume Desmottes2011-10-152-57/+0
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=661489
* contact-manager: remove unused favourite codeGuillaume Desmottes2011-10-151-305/+0
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=661489
* TpChat: remove support for old PropertiesWill Thompson2011-10-151-263/+5
| | | | Change notification for this is broken in the CMs *anyway*.
* TpChat: Use RoomConfig1 and Subject if availableWill Thompson2011-10-151-5/+138
| | | | Fixes https://bugzilla.gnome.org/show_bug.cgi?id=658542
* TpChat: track subject and title explicitly.Will Thompson2011-10-151-50/+37
| | | | | This will allow us to also use the new API (and, ultimately, delete the Telepathy.Properties code cleanly).
* TpChat: hide guts of Telepathy properties.Will Thompson2011-10-152-32/+111
| | | | | | | This will make it easier to replace these with new stuff. The funky indentation in the callbacks for the subject and title changing is to make it clear that I didn't change that code; I'll reindent it in another patch.
* 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
* | Merge remote-tracking branch 'pochu/error-dialog'Danielle Madeley2011-10-143-14/+26
|\ \
| * | empathy_dispatcher_chat_with_contact_id(): add optional cbEmilio Pozuelo Monfort2011-09-053-14/+26
| |/ | | | | | | | | | | | | | | | | | | | | Conflicts: libempathy-gtk/empathy-individual-menu.c libempathy-gtk/empathy-new-message-dialog.c libempathy/empathy-dispatcher.c libempathy/empathy-dispatcher.h src/empathy-chat-manager.c src/empathy-chat-window.c
* | Use g_cclosure_marshal_generic for all signalsXavier Claessens2011-09-2820-77/+43
| | | | | | | | No more ugly marshallers \o/
* | ft-handler: Use TpFileTransferChannel propertiesGuillaume Desmottes2011-09-271-15/+17
| | | | | | | | https://bugzilla.gnome.org/show_bug.cgi?id=658245
* | don't connect on the TransferredBytesChanged D-Bus signalGuillaume Desmottes2011-09-271-10/+9
| | | | | | | | https://bugzilla.gnome.org/show_bug.cgi?id=658245
* | remove empathy_tp_file_is_incoming()Guillaume Desmottes2011-09-273-24/+3
| | | | | | | | https://bugzilla.gnome.org/show_bug.cgi?id=658245
* | EmpathyTpFile: inherit from TpFileTransferChannelGuillaume Desmottes2011-09-275-143/+52
| | | | | | | | https://bugzilla.gnome.org/show_bug.cgi?id=658245
* | tp-file: chain up constructedGuillaume Desmottes2011-09-271-0/+2
| | | | | | | | https://bugzilla.gnome.org/show_bug.cgi?id=658245
* | pass to proper user action time when requesting an outgoing FTGuillaume Desmottes2011-09-274-6/+29
| | | | | | | | https://bugzilla.gnome.org/show_bug.cgi?id=658245
* | remove butterfly-logs-migrated gsettings keyGuillaume Desmottes2011-09-261-1/+0
| | | | | | | | https://bugzilla.gnome.org/show_bug.cgi?id=612555
* | all: remove butterfly workarounds (bgo#612555)Jonny Lamb2011-09-261-64/+0
| | | | | | | | Signed-off-by: Jonny Lamb <jonnylamb@gnome.org>
* | remember last accountJuan R. Garcia Blanco2011-09-261-0/+1
| | | | | | | | https://bugzilla.gnome.org/show_bug.cgi?id=574879
* | Use always-writeable and writeable-properties for alias and groupsRaul Gutierrez Segales2011-09-192-20/+80
| | | | | | | | | | | | | | | | 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.
* | Use tp_proxy_prepare_async instead of tp_account_manager_prepare_asyncGuillaume Desmottes2011-09-194-8/+8
| |
* | tp-roomlist: pass self as weak object to ↵Guillaume Desmottes2011-09-161-1/+1
| | | | | | | | | | | | tp_cli_channel_type_room_list_call_list_rooms https://bugzilla.gnome.org/show_bug.cgi?id=658909
* | tp-roomlist: ensure that we stay alive during the create_and_handle_channel ↵Guillaume Desmottes2011-09-161-1/+7
| | | | | | | | | | | | async call https://bugzilla.gnome.org/show_bug.cgi?id=658909
* | sasl-handler: only save password if we manage to connectGuillaume Desmottes2011-09-141-22/+34
| | | | | | | | https://bugzilla.gnome.org/show_bug.cgi?id=659053
* | individual-manager: Port to the new individuals_changed_detailed signalPhilip Withnall2011-09-131-9/+26
| | | | | | | | Closes: bgo#657746
* | individual-manager: dup the Individual ID instead of borrowing itGuillaume Desmottes2011-09-121-2/+2
| | | | | | | | | | | | It's not immutable any more so we have to copy the string. https://bugzilla.gnome.org/show_bug.cgi?id=658573
* | factor out empathy_get_tp_contact_for_individualGuillaume Desmottes2011-09-082-0/+41
| |
* | update_geocode: don't try to get position if location is emptyGuillaume Desmottes2011-09-071-1/+2
| | | | | | | | geocode-glib won't be able to much if contact's location dict is empty.
* | IndividualManager: disconnect handler from aggregatorWill Thompson2011-09-071-0/+3
| | | | | | | | | | | | | | | | | | Previously, the handler for FolksIndividualAggregator::individuals-changed was never disconnected; thus it could be called after EmpathyIndividualManager dies (if its aggregator outlives it), and crash us. https://bugzilla.gnome.org/show_bug.cgi?id=658340
* | TpChat: don't crash with broken TpProperties implementationsWill Thompson2011-09-061-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | I forgot to take the Telepathy.Properties interface out of Gabble when I removed Telepathy.Properties support from it. So Empathy called ListProperties() on it anyway: fine, you might think, except the callback set priv->had_properties_list to TRUE even if the method returned an error. empathy_tp_chat_set_property() and empathy_tp_chat_get_property() assume that if priv->had_properties_list is TRUE, priv->properties is not NULL. While I hope that we can delete this code entirely pretty soon, getting this crash fix in seems like a good idea. Reviewed-by: Jonny Lamb <jonny.lamb@collabora.co.uk>
* | 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
* build: use an autoconf macro to get to -lmFrédéric Péters2011-08-311-1/+1
|
* build: add -lm where requiredFrédéric Péters2011-08-301-1/+2
|
* Allow to call phone number of contactsGuillaume Desmottes2011-08-291-0/+3
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=650112
* export empathy_account_has_uri_scheme_tel()Guillaume Desmottes2011-08-293-22/+25
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=650112
* chatroom_manager_parse_chatroom: check account path is validGuillaume Desmottes2011-08-291-2/+8
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=657362
* Do not auto-accept publish requests if contact is not subscribedXavier Claessens2011-08-241-2/+8
| | | | Fixes bug #657173
* account-settings: add API to set 'tel' in the URISchemes property of the accountGuillaume Desmottes2011-08-242-0/+71
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=657220
* geocode: fix uninitialized variable (-Werror=uninitialized)Alban Crequy2011-08-231-1/+1
|
* contact_set_avatar_from_tp_contact: don't crash if we failed to load the avatarGuillaume Desmottes2011-08-221-1/+10
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=656829
* Freenode has added 6697 to the list of SSL portsDebarshi Ray2011-08-221-0/+1
| | | | | | | The list of servers and port numbers for Freenode are given at: http://freenode.net/irc_servers.shtml Fixes: https://bugzilla.gnome.org/642385
* Don't assume that all TpfPersonas contain valid TpContactsTravis Reitter2011-08-223-22/+40
| | | | | | | Helps: bgo#653599 - Empathy shouldn't assume all TpfPersonas contain a valid TpContact Signed-off-by: Jonny Lamb <jonnylamb@gnome.org>
* EmpathyContactListFlags: add _MESSAGE_ADD flagEmilio Pozuelo Monfort2011-08-202-0/+5
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=656934
* rely on the factory to prepare TP_CONNECTION_FEATURE_BALANCEGuillaume Desmottes2011-08-191-0/+3
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=656831
* tp-chat: rely on the factory to prepare TP_CONNECTION_FEATURE_CAPABILITIESGuillaume Desmottes2011-08-191-35/+13
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=656831
* ft-handler: rely on the factory to prepare TP_CONNECTION_FEATURE_CAPABILITIESGuillaume Desmottes2011-08-191-17/+8
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=656831
* contact-widget: rely on the factory to prepare ↵Guillaume Desmottes2011-08-191-0/+3
| | | | | | TP_CONNECTION_FEATURE_CONTACT_INFO https://bugzilla.gnome.org/show_bug.cgi?id=656831
* avatar-chooser: rely on the factory to prepare ↵Guillaume Desmottes2011-08-191-0/+3
| | | | | | TP_CONNECTION_FEATURE_AVATAR_REQUIREMENTS https://bugzilla.gnome.org/show_bug.cgi?id=656831
* ask factory to prepare TP_ACCOUNT_FEATURE_CONNECTIONGuillaume Desmottes2011-08-191-0/+18
| | | | | | | So we can rely on the connection returned by tp_account_get_connection() to be usable right away. https://bugzilla.gnome.org/show_bug.cgi?id=656831
* chatroom-manager: removed set and unused priv variableJonny Lamb2011-08-181-3/+0
| | | | Signed-off-by: Jonny Lamb <jonny.lamb@collabora.co.uk>
* Port to new tp-glib client factoryGuillaume Desmottes2011-08-1813-300/+281
| | | | | | | | | | | | | | | | | - 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
* Merge branch 'log-window-webview'Danielle Madeley2011-08-181-0/+1
|\
| * Use this utility in the log viewerDanielle Madeley2011-08-091-0/+1
| | | | | | | | | | It should also be used for the Adium theme, but this also supports fonts specified in the Adium theme, which we need to support.
* | Merge branch 'blockade'Will Thompson2011-08-161-1/+13
|\ \ | | | | | | | | | https://bugzilla.gnome.org/show_bug.cgi?id=656167
| * | Blocking: don't critical if ContactBlockingCapabilities is missingWill Thompson2011-08-091-1/+13
| | | | | | | | | | | | | | | | | | Haze has a deny list, and ostensibly implements ContactBlocking, but doesn't really implement that property. Naughty Haze hackers. They should be blocked.
* | | Add Echo cancellation preferenceGuillaume Desmottes2011-08-151-0/+1
| | |
* | | CameraMonitor: add empathy_camera_monitor_new()Emilio Pozuelo Monfort2011-08-152-26/+23
| | | | | | | | | | | | Which doesn't return a singleton but a new object.
* | | CameraMonitor: dynamically-allocate the queueEmilio Pozuelo Monfort2011-08-151-8/+17
| | |
* | | Add a GSettings key for the default cameraEmilio Pozuelo Monfort2011-08-151-0/+1
| | |
* | | CameraMonitor: add ::added and ::removed signalsEmilio Pozuelo Monfort2011-08-151-0/+27
| | |
* | | CameraMonitor: make EmpathyCamera a boxed typeEmilio Pozuelo Monfort2011-08-152-0/+12
| | |
* | | CameraMonitor: add API to get all camerasEmilio Pozuelo Monfort2011-08-152-0/+80
| | |
* | | Properly check if the backlog flag is setSjoerd Simons2011-08-121-1/+5
|/ / | | | | | | | | | | The backlog flag should be TRUE or FALSE, so the check for the flag should result in either of those two values, not some other non-false value
* | empathy_server_sasl_handler_class_init: properly initialize the dispose functionAlexey Fisher2011-08-021-1/+1
| | | | | | | | https://bugzilla.gnome.org/show_bug.cgi?id=655788
* | Add a new gsettings key for the call volumeEmilio Pozuelo Monfort2011-07-281-0/+3
|/
* Only follow available cameras if the contact can do Video callsEmilio Pozuelo Monfort2011-07-121-12/+2
|
* A contact doesn't support video if we have no cameraEmilio Pozuelo Monfort2011-07-121-2/+13
|
* Add empathy_camera_monitor_get_availableEmilio Pozuelo Monfort2011-07-122-0/+9
|
* Optionally check for gudev for camera monitoringEmilio Pozuelo Monfort2011-07-121-1/+3
|
* Don't disable video calls when built without udevEmilio Pozuelo Monfort2011-07-121-0/+5
|
* Add EmpathyCameraMonitorEmilio Pozuelo Monfort2011-07-123-2/+232
|
* Add CheeseCameraDeviceMonitor from libcheeseEmilio Pozuelo Monfort2011-07-123-3/+485
|
* EmpathyContact: don't crash if a contact doesn't have an accountEmilio Pozuelo Monfort2011-07-121-3/+6
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=654256
* use tp_text_channel_ack_all_pending_messages_async()Guillaume Desmottes2011-07-112-38/+0
|
* Set the DelegateToPreferredHandler hintGuillaume Desmottes2011-07-111-0/+1
| | | | | | | This ensures that Empathy will always handle and display the channel, even if GNOME Shel is already handling it. https://bugzilla.gnome.org/show_bug.cgi?id=652439
* coding style fixesGuillaume Desmottes2011-07-111-4/+4
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=652439
* empathy_contact_from_tpl_contact: don't override the aliasEmilio Pozuelo Monfort2011-07-052-11/+35
| | | | | | | Add a logged-alias property instead, which can be used by those who need the old alias. And use it in chat themes for the backlog.
* remove unused string util functionsGuillaume Desmottes2011-06-292-43/+0
|
* empathy-utils: port to new coding styleGuillaume Desmottes2011-06-292-391/+402
| | | | Most of this file was already using it so best to stay consistent.
* Display the time when messages have been sent, not received (#653551)Guillaume Desmottes2011-06-281-1/+6
| | | | Much more useful when receiving offline messages.
* Use tp-glib password API (#651055)Guillaume Desmottes2011-06-222-143/+3
|
* chatroom: don't leak the subjectGuillaume Desmottes2011-06-201-0/+1
|
* Merge branch 'message-editing-rebase'Danielle Madeley2011-06-202-4/+138
|\
| * Update for new TPL API, we now get timestamp and edit_timestampDanielle Madeley2011-06-141-5/+19
| | | | | | | | | | This makes it backwards to what we get in Telepathy, but we can manage by translating it into the Telepathy form.
| * Add 'original-timestamp' to EmpathyMessageDanielle Madeley2011-06-142-0/+38
| |
| * Set 'token' and 'supersedes' for events from the loggerDanielle Madeley2011-06-141-3/+10
| |
| * Add 'supersedes' property to EmpathyMessageDanielle Madeley2011-06-122-0/+44
| | | | | | | | | | | | It would be nice to remove EmpathyMessage, because now that TpMessages are a GObject, EmpathyMessage is just an empty abstraction layer that we have to keep punching through.
| * Add 'token' property to EmpathyMessageDanielle Madeley2011-06-122-0/+31
| | | | | | | | | | This allows us to pass the 'message-token' from the TpMessage through to the chat-view.
* | geocode_cb: actually destroy the resolved hash table, not the GAsyncResult ↵Guillaume Desmottes2011-06-161-1/+1
| | | | | | | | result...
* | cope with geocode_object_new_for_params returning NULLGuillaume Desmottes2011-06-161-0/+2
| |
* | Add a translator comment.Emilio Pozuelo Monfort2011-06-141-0/+1
|/ | | | https://bugzilla.gnome.org/show_bug.cgi?id=652345
* Don't require telepathy-logger with --enable-callEmilio Pozuelo Monfort2011-06-101-3/+9
| | | | | Having it is required for displaying call events in the history window though.
* empathy_contact_from_tpl_contact: check the accounts matchEmilio Pozuelo Monfort2011-06-101-6/+22
| | | | | | | | | Two contacts may not be the same if only their ids match, so also check the accounts. This was causing us to return the same contact from another account, which would cause "is-user" to not be properly set, confusing the log viewer.
* Don't reset the alias when using empathy_contact_from_tpl_contactEmilio Pozuelo Monfort2011-06-091-1/+11
| | | | | | | contact_set_property() calls empathy_contact_set_alias(), which tries to set the alias on the FolksPersona, but we don't want to do that when creating an EmpathyContact from a TplEntity. So just set priv->alias instead of passing it to g_object_new() instead.
* Use a weak ref to remove the tpcontact from the hashtableEmilio Pozuelo Monfort2011-06-091-11/+14
| | | | | | Conflicts: libempathy/empathy-contact.c
* empathy_contact_from_tpl_contact: set the TpContactEmilio Pozuelo Monfort2011-06-091-15/+50
| | | | | | | | | | If available, so we get extra info like capabilities. Based on a patch from Nicolas Dufresne. Conflicts: libempathy/empathy-contact.c
* Add _tpl_action_chain_clearEmilio Pozuelo Monfort2011-06-092-0/+8
|
* TplActionChain: add _tpl_action_chain_start()Emilio Pozuelo Monfort2011-06-092-1/+20
|
* Copy TplActionChain from telepathy-loggerEmilio Pozuelo Monfort2011-06-093-0/+218
|
* Handle unknown event types gracefullyEmilio Pozuelo Monfort2011-06-091-0/+3
|
* Don't ignore call eventsEmilio Pozuelo Monfort2011-06-091-14/+23
| | | | | | Conflicts: libempathy/empathy-message.c
* Merge branch 'call'Emilio Pozuelo Monfort2011-06-096-72/+42
|\
| * Explicitely use the libtelepathy-yell .la file for dependency trackingSjoerd Simons2011-06-091-1/+1
| | | | | | | | | | | | Conflicts: libempathy/Makefile.am
| * Recognize Call channel capabilitiesSjoerd Simons2011-06-091-0/+24
| |
| * Don't use wildcards for just one marshal fileSjoerd Simons2011-06-091-4/+4
| | | | | | | | | | | | | | When a build is triggered from a location that isn't the top build dir, the generated files break as the wrong prefix gets passed for some reason. Given we only create one -marshal file, being smart doesn't actually save us anything, so do things the simple way
| * Always build telepathy-yell and handle Call channelsEmilio Pozuelo Monfort2011-06-091-5/+1
| | | | | | | | | | | | | | | | | | Just keep empathy-call optional. Conflicts: libempathy-gtk/empathy-call-utils.c libempathy/empathy-channel-factory.c
| * Move empathy_call_* util functions to libempathy-gtkEmilio Pozuelo Monfort2011-06-092-145/+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-092-15/+92
| | | | | | | | | | | | Conflicts: libempathy/empathy-utils.c
| * Define EMPATHY_CALL_BUS_NAME{,_SUFFIX}Emilio Pozuelo Monfort2011-06-091-0/+3
| |
| * Teach EmpathyChannelFactory how to create Call channelsEmilio Pozuelo Monfort2011-06-082-0/+15
| | | | | | | | | | | | Conflicts: libempathy/empathy-channel-factory.c
* | Check we actually have a part #1 before requesting itDanielle Madeley2011-06-081-1/+1
| | | | | | | | | | We were checking echo->len >= 1, but then requesting index 1 (the second part). So if we didn't have a second part, this would quite happily blow up.
* | Merge branch 'sms-651242'Guillaume Desmottes2011-06-082-78/+0
|\ \
| * | Use tp-glib SMS high level API (#651242)Guillaume Desmottes2011-06-012-78/+0
| | |
* | | use geocode-glib instead of geoclueGuillaume Desmottes2011-06-081-118/+28
| | |
* | | add an optional dep on geocode-glibGuillaume Desmottes2011-06-081-0/+2
| |/ |/|
* | Adium: Let user select theme variant in preferencesXavier Claessens2011-06-071-0/+1
| | | | | | | | Fixes bug #585474
* | Adapt to API change in FolksIndividualAggregator::individuals-changed.Travis Reitter2011-06-071-9/+22
| | | | | | | | Helps: bgo#648822 - Port Empathy to Folks 0.5.1
* | Change the type of EmpathyContact.priv.groups to GeeHashSet.Travis Reitter2011-06-071-9/+7
| | | | | | | | | | | | | | This is to adjust to the newer API for folks_group_details_set_groups(). It's also slightly cleaner than using a hash table to implement a set. Helps: bgo#648822 - Port Empathy to Folks 0.5.1
* | Adapt to API change in folks_backend_get_persona_stores().Travis Reitter2011-06-072-10/+11
| | | | | | | | Helps: bgo#648822 - Port Empathy to Folks 0.5.1
* | Adapt to API break in folks_individual_get_personas.Travis Reitter2011-06-075-72/+119
|/ | | | Helps: bgo#648822 - Port Empathy to Folks 0.5.1
* empathy_avatar_new: stop stealing strings (#650939)Guillaume Desmottes2011-06-012-18/+21
| | | | It was pretty confusing when reading/reviewing code.
* factor out empathy_individual_match_words()Guillaume Desmottes2011-05-311-1/+0
|
* use tp_channel_dispatch_operation_claim_async() (#650386)Guillaume Desmottes2011-05-301-3/+3
|
* use tp_text_channel_set_chat_state_async() directlyGuillaume Desmottes2011-05-252-21/+0
|
* tp_chat_dispose: use tp_clear_object()Guillaume Desmottes2011-05-251-14/+2
|
* clear_chatrooms: prevent destroying the list twiceGuillaume Desmottes2011-05-251-4/+11
| | | | | | | Unreffing the chatroom may result in destroying the underlying EmpathyTpChat which will fire the invalidated signal and so make us re-call this function. We already set priv->chatrooms to NULL so we won't try to destroy twice the same objects.
* EmpathyTpChat: get rid of the destroy signalGuillaume Desmottes2011-05-252-44/+6
| | | | We should just use invalidated.
* EmpathyTpChat: Use a READY property instead of our own ready codeGuillaume Desmottes2011-05-253-148/+204
|
* remove empathy_tp_chat_get_connection and priv->connectionGuillaume Desmottes2011-05-252-25/+23
|
* EmpathyTpChat: inherit from TpTextChannel (#650554)Guillaume Desmottes2011-05-254-113/+109
|
* tp-chat: use the self->priv patternGuillaume Desmottes2011-05-252-387/+317
|