Commit graph

167 commits

Author SHA1 Message Date
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
Sylvain Berfini
c2a77c9533 Fixed linphone_friend_add_address to behave like linphone_friend_set_address if there is no LinphoneAddress set yet 2016-04-21 09:55:13 +02:00
Sylvain Berfini
111434eecb Fixed do not disturb led color 2016-03-31 17:04:27 +02:00
Sylvain Berfini
37d7c51931 Merge branch 'dev_friends++' 2016-03-31 11:25:54 +02:00
Sylvain Berfini
073a25a534 Fixed lost contacts issue when switching to another config file 2016-03-31 09:10:30 +02:00
Sylvain Berfini
b068c854ef Added tester + few fixes 2016-03-25 15:22:12 +01:00
Sylvain Berfini
4112738454 Added methods to friend to manipulate phone numbers and sip addresses 2016-03-25 14:59:28 +01:00
Ghislain MARY
5baf4362f0 Fix some depreciation warnings. 2016-03-10 17:57:27 +01:00
Sylvain Berfini
b88693f4f4 Fix contacts migration from rc to db 2016-03-09 17:04:59 +01:00
Ghislain MARY
7cfbbda323 Fix Python module automatic wrapper generation. 2016-03-09 12:13:41 +01:00
Jehan Monnier
f90be596c3 Partially fix initial subscribe no longer working. Still need to rework friends file storage which is no longer available when compile with FRIENDS_SQL_STORAGE_ENABLED 2016-03-09 09:09:20 +01:00
Sylvain Berfini
e7eaaf56d2 Small improvement in friend migration + removed useless code in gtk app 2016-03-03 16:55:02 +01:00
Sylvain Berfini
2628dfc358 Improved friend migration from rc to db 2016-03-03 16:51:14 +01:00
Sylvain Berfini
425cb42f7f Merge branch 'master' into dev_vcard
Conflicts:
	coreapi/friend.c
2016-02-26 14:52:25 +01:00
Sylvain Berfini
befbdada93 Fixed Segfault when trying to store friend's vcard in db before it was added to a friendlist 2016-02-25 16:30:55 +01:00
Sylvain Berfini
b6b4985e28 Create vCards for friends when migrating from rc to db 2016-02-25 14:56:31 +01:00
Gautier Pelloux-Prayer
3df89f60e0 gtk: add lime "preferred" choice 2016-02-25 12:40:53 +01:00
Sylvain Berfini
235dca249d Merge branch 'master' into dev_vcard
Conflicts:
	build/android/Android.mk
	coreapi/private.h
	java/common/org/linphone/core/LinphoneCore.java
	java/impl/org/linphone/core/LinphoneCoreImpl.java
2016-02-09 10:21:18 +01:00
Jehan Monnier
7fca3be419 On invalidate, only notify friend with an already known presence model 2016-02-05 17:11:45 +01:00