Commit graph

185 commits

Author SHA1 Message Date
Benjamin Reis
de7a430668 Do not crash if friend whith no LC but show an error 2016-11-28 15:46:46 +01:00
Erwan Croze
a87a9ecd45 Add new createFriend method for LinphoneCore to avoid crash if LinphoneFriend is not link with a LinphoneCore 2016-11-25 16:03:20 +01:00
Jehan Monnier
b8c40dc110 improve friend.find_presence_model_for_uri_or_tel, fix core.interpretUrl to normalize both phones and usernames 2016-11-16 09:04:57 +01:00
Ghislain MARY
33b72ce6b5 Move public header files in the include/linphone directory. 2016-11-15 14:41:18 +01:00
Jehan Monnier
de4b77f54e make sure normalized phone numbers are computed for each new subscription to take into account potentiel proxy config changes. 2016-11-15 09:27:02 +01:00
Ghislain MARY
8b1d320feb Fix crash in VCard testers on Windows. 2016-11-09 17:06:16 +01:00
Simon Morlat
df5339911d fix bug resulting in LinphoneFriend's main sip address not being updated. 2016-11-04 11:36:19 +01:00
Sylvain Berfini
3ff8a88a1e Updated linphone_friend_get_addresses to return a const list that doesn't have to freed after 2016-10-24 12:09:14 +02:00
Simon Morlat
a3e599b438 fix crash when not building with vcard 2016-10-22 10:33:08 +02:00
Sylvain Berfini
c7e0929094 Cache vCards SIP addresses for faster getters 2016-10-21 17:36:19 +02:00
Simon Morlat
d04be099a2 Robustize LinphoneEvent api, fix memory leaks and crashes in error conditions.
Add new tests.
2016-09-30 00:39:57 +02:00
Simon Morlat
f9aee35116 heavy rework of lists, presence list subscriptions, and fix many memory leaks 2016-09-22 22:10:36 +02:00
Simon Morlat
1be0484d43 do not send full list subcription if a single friend has been edited. 2016-09-15 11:36:04 +02:00
Sylvain Berfini
a6e7eec3b3 Fix friend database migration to allow NULL sip_uri 2016-09-14 11:37:42 +02:00
Gautier Pelloux-Prayer
510e9d92d0 gtk: fix friends sort 2016-09-06 12:29:33 +02:00
Gautier Pelloux-Prayer
411ae723ad friend.c: fix some stuff 2016-08-24 11:43:28 +02:00
Sylvain Berfini
8d21acd7f0 Edit friends database schema to allow empty SIP URI column in new installs 2016-08-09 18:05:54 +02:00
Gautier Pelloux-Prayer
c6b204fc64 one more crash… 2016-08-05 17:11:30 +02:00
Sylvain Berfini
be38b3474c Fix compilation + fix crash when vCards are disabled and URI is NULL + remove warning 2016-08-02 14:22:52 +02:00
Sylvain Berfini
61a3b8a98e Use user_version to know if friends db needs to be updated or not 2016-08-02 12:09:54 +02:00
Sylvain Berfini
d843d27890 Only alter sip_uri column in update + close/reopen connection needed after schema update + do it in transaction just in case... 2016-08-02 11:09:10 +02:00
Ghislain MARY
1cb1d7c5eb Allow friends to be added to a friend list even if they do not have a SIP address. 2016-08-01 17:30:51 +02:00
Ghislain MARY
3be8c6bd00 Fix crash in friends handling when building with vCard disabled. 2016-08-01 16:26:53 +02:00
Ghislain MARY
dd36939023 Fix some memory leaks. 2016-07-29 15:36:19 +02:00
Ghislain MARY
fb04d71445 Test association of SIP URI and phone number in presence server tester. 2016-07-29 11:09:45 +02:00
Ghislain MARY
80bdec5205 Associate a presence model to each SIP URI and phone number of a friend. 2016-07-29 11:09:45 +02:00
Ghislain MARY
0492c91ba1 No longer rely on the uri field of LinphoneFriend being set (use linphone_friend_get_address() instead). 2016-07-29 11:09:45 +02:00
Ghislain MARY
8be730acdc Either use VCard or address in friend but not both. 2016-07-29 11:09:45 +02:00
Sylvain Berfini
c8ae29742a Moved and renamed some vcard methods for python wrapper 2016-07-01 10:56:51 +02:00
Sylvain Berfini
1590b294ad Improved performances related to vCard parsing 2016-06-29 16:33:22 +02:00
Sylvain Berfini
a3b3867a6c More leaks fixed 2016-06-29 15:46:52 +02:00
Sylvain Berfini
ae313e7020 Fix some memory leaks 2016-06-29 14:47:49 +02:00
Ghislain MARY
b535d1f153 Use bctbx_list_t instead of MSList that has been deprecated. 2016-06-16 17:42:33 +02:00
Sandrine Avakian
b5b0abfdf3 Fixing size_t error on Mac OS. 2016-06-16 14:01:18 +02:00
Ghislain MARY
c13647f8bd Treat warnings as errors on Windows. 2016-06-16 12:23:53 +02:00
Simon Morlat
57561bb120 fix compilation error with no sqlite support 2016-05-20 13:55:00 +02:00
Simon Morlat
b79535afe9 fix automake build and simplify sqlite enablement options 2016-05-20 09:37:53 +02:00
Sandrine Avakian
06b20f18e5 Merge branch 'master' of git.linphone.org:linphone into bc_vfs 2016-05-18 15:55:59 +02:00
Gautier Pelloux-Prayer
36fd57c45b friend.c: linphone_friend_get_addresses must return at least URI if we are not using vcard 2016-05-18 13:22:45 +02:00
Sandrine Avakian
c9ce5a9159 Merge branch 'master' of git.linphone.org:linphone into bc_vfs 2016-05-17 14:09:28 +02:00
Sandrine Avakian
6cfac0ff44 Using newly created functions bctbx_file_close_and_free, bctbx_file_create_and_open. in lpconfig.c.
Changing check on file descriptor return value : should be different from -1 if open was successful .
Using bctbx_file_open and bctbx_file_close in sqlite3bctbx_Open and sqlite3bctbx_Close.
Registers the VFS as default incall_log.c, friend.c and mesage_storage.c .
2016-05-17 11:11:49 +02:00
Jehan Monnier
f51f286803 make sure subscription are not sent if linphonecore is not ready 2016-05-16 10:49:13 +02:00
Jehan Monnier
026bbe8db3 Implement support of dialog created by Notify matching subscription 2016-05-11 14:54:38 +02:00
Sylvain Berfini
04f704aa93 Fixed two potential issues with presence 2016-05-11 11:37:59 +02:00
Sylvain Berfini
ecda7e67a5 Fix too many unref crash in vcard tester 2016-05-10 18:14:48 +02:00
Gautier Pelloux-Prayer
e746c7876b friend.c: fix gcc warning 2016-04-26 16:40:26 +02:00
Gautier Pelloux-Prayer
23397e26be friendlist: add linphone_friend_list_enable_subscriptions API 2016-04-25 17:14:56 +02:00
Gautier Pelloux-Prayer
f40b398e2c misc: fix compilation warnings on iOS 2016-04-25 10:39:30 +02:00
Sylvain Berfini
54a3e8a085 Remove ifdef preventing friends to be written to rc file 2016-04-22 12:04:18 +02:00
Sylvain Berfini
f5f80c92bd Few fixes for when using friends without the database storage 2016-04-22 11:01:10 +02:00