Commit graph

99 commits

Author SHA1 Message Date
Sylvain Berfini
db7c875468 Merge remote-tracking branch 'origin/master' into dev_vcard
Conflicts:
	build/android/liblinphone_tester.mk
	coreapi/friend.c
	coreapi/friendlist.c
	coreapi/linphonecore_jni.cc
2015-12-30 15:17:01 +01:00
Sylvain Berfini
f684e15247 Fix unused variables error 2015-12-22 16:57:50 +01:00
Sylvain Berfini
378cd8fb19 Forgot add definition + error log when trying to import/export friends using vcards if not supported 2015-12-22 16:54:58 +01:00
Simon Morlat
7b5da68fd8 fix presence tests 2015-12-22 14:55:56 +01:00
Sylvain Berfini
06b099d137 Added a comment to explain why presence is disabled when importing friends from vcards 2015-12-21 17:30:33 +01:00
Sylvain Berfini
f291f53e43 When importing friend from vcard, disable presence because currently it takes too much time when dealing with hundreds of vcards/friends 2015-12-21 17:25:09 +01:00
Sylvain Berfini
0d9eed4ef1 Fix segfault + uses new singleton to parse friends from database much faster 2015-12-21 17:20:09 +01:00
Sylvain Berfini
a0076b7d66 Merge remote-tracking branch 'origin/master' into dev_vcard
Conflicts:
	coreapi/friend.c
	coreapi/private.h
2015-12-18 16:48:09 +01:00
Sylvain Berfini
0b7a1deccf Added friend storage to database + improved tests + needed changes in gtk app + friends' migration from rc to db 2015-12-18 15:25:18 +01:00
Ghislain MARY
820d26bacf Fix presence list tests. 2015-12-18 15:00:04 +01:00
Sylvain Berfini
3eeb0974ea Fixed compilation when belcard is not found 2015-12-17 17:42:46 +01:00
Sylvain Berfini
860ee180a8 Tests done for friends' database storage 2015-12-17 17:32:18 +01:00
Sylvain Berfini
c1f11402a9 Prepared gtk application for friends' database storage 2015-12-17 16:52:48 +01:00
Sylvain Berfini
56db674e38 Started linphone friends database storage 2015-12-17 16:44:55 +01:00
Sylvain Berfini
bab0c39c6f Improved import time by optimizing moment when friends are saved in rc file 2015-12-17 15:26:26 +01:00
Sylvain Berfini
caf26c0b42 Improved a few more things regarding friends and vcards 2015-12-17 15:18:56 +01:00
Sylvain Berfini
9b6a6ca7a5 Improve import friends from vcard time by bypassing a few checks + added test to calculate 1000 vcards import time 2015-12-17 14:24:22 +01:00
Sylvain Berfini
8c823fc039 Added import friends from vcards test 2015-12-16 11:54:34 +01:00
Sylvain Berfini
0a59544a44 Added checks for null values in vcard.cc and added new methods to manipulate sip addresses in vcard from friend 2015-12-16 10:51:17 +01:00
Sylvain Berfini
f6edea6eec Use linphone_core_get_friend_list to ease future merge with friends lists + added method to add SIP address into vCard 2015-12-15 17:13:00 +01:00
Sylvain Berfini
91a10a6be9 Added methods to create LinphoneVCard list from buffer and also single LinphoneVCard from buffer too 2015-12-15 10:56:06 +01:00
Sylvain Berfini
47e0b04725 Added export functions for contacts as vCards + added documentation for vCard API 2015-12-14 17:43:20 +01:00
Sylvain Berfini
3782799e02 Added option in gtk ui to import contact(s) from vcard file 2015-12-14 16:10:01 +01:00
Sylvain Berfini
6703bd2079 Started to integrate vcards with gtk ui 2015-12-14 11:30:17 +01:00
Sylvain Berfini
528fc0a026 Started vcard interface for belcard 2015-12-14 11:30:09 +01:00
Ghislain MARY
7885a5c80a Prevent sending multiple identical subscribes for presence list + send new subscribe when adding a friend. 2015-11-30 14:15:33 +01:00
Ghislain MARY
e6f44d8c1f Add the "store_friends" parameter in the "misc" section of config to allow not storing friends in the linphonerc. 2015-11-30 11:50:49 +01:00
Ghislain MARY
fccaa5e36e Handle versioning of presence list notifications + store information that we have received presence information for a friend. 2015-11-30 11:39:21 +01:00
Ghislain MARY
97f28a65ca Basic parsing of presence list notify. 2015-11-27 11:44:16 +01:00
Ghislain MARY
96d249c674 Generate resource-lists SUBSCRIBE for presence. 2015-11-23 17:41:09 +01:00
Ghislain MARY
89aa523d71 Use LinphoneFriendList object for the list of friends of a LinphoneCore. 2015-11-23 17:41:09 +01:00
Simon Morlat
3497afd30e fix test not unregistering, causing later problems on other tests 2015-10-20 12:45:21 +02:00
Simon Morlat
02ef798b58 fix crash with presence. A subscribe refresh must be notified to the upper layer. 2015-10-20 11:42:14 +02:00
Simon Morlat
59b7e88d7d add new test 2015-10-19 12:55:08 +02:00
Simon Morlat
73cfad320d fix memory leaks around presence 2015-10-16 22:59:28 +02:00
Simon Morlat
a9d34e7b0f fix memory leaks and unreleased dialogs in presence management 2015-10-16 21:16:38 +02:00
Simon Morlat
177e400ddd fix memory leaks and flaws around presence 2015-10-15 16:46:48 +02:00
Simon Morlat
b9c32d33a5 send presence to multiple instances of a same user that subscribed to us. Fixes memory leak. 2015-09-04 22:23:00 +02:00
Margaux Clerc
a2561ca88c Add ref counting on LinphoneFriend 2015-04-14 17:04:48 +02:00
Gautier Pelloux-Prayer
0e273ee722 Cleanup translations 2014-11-28 11:02:00 +01:00
Jehan Monnier
251ba960c5 add new functions linphone_core_add_listener to enable multiple vtable to be registered 2014-09-16 15:00:12 +02:00
Simon Morlat
24a208100a * notify friend status to offline when network goes unreachable
* relax timeouts of tests again
* always install linphone_tunnel.h
2014-05-12 12:41:32 +02:00
Gautier Pelloux-Prayer
4386f18b21 replace tabs with spaces and remove trailing spaces 2014-04-22 17:22:51 +02:00
Simon Morlat
a0b7b1f3b0 rework implementation of SUBSCRIBEs delayed to successful registration.
In case of network errors, SUBSCRIBE could be sent before registration refresh, this should be fixed.
2014-03-11 17:25:07 +01:00
Simon Morlat
87d4f5f895 imlement java synchronization of LinphoneFriend with LinphoneCore 2014-01-22 16:49:15 +01:00
Simon Morlat
b47a179309 add linphone_core_find_friend() 2013-10-31 17:34:58 +01:00
Ghislain MARY
10734524fe Add factory functions to create common linphone objects. 2013-10-08 14:28:16 +02:00
Ghislain MARY
d10ab0a250 Getter functions need to start with "get". 2013-10-07 11:20:04 +02:00
Simon Morlat
a0d580ceb9 fix macos build issue
remove useless code
2013-10-02 14:58:19 +02:00
Ghislain MARY
20dfd43aac More coherent friend API. 2013-09-19 11:15:29 +02:00