Jehan Monnier
9b236e535d
avoid useless uri parsing when no presence model found for a friend
2017-03-28 15:49:51 +02:00
Sandrine Avakian
b54310bc3e
Changing inappropriate variable name...
2017-03-20 14:49:28 +01:00
Ghislain MARY
c979eeaa34
Rework presence to remove online and offline virtual activities and introduce consolidated presence.
2017-03-17 14:51:23 +01:00
Benjamin Reis
838fad02a1
optimize phone_number_to_uri
2017-03-13 14:07:40 +01:00
Ghislain MARY
46d894caf6
Use correct macro to detect Android build.
2017-03-08 13:12:02 +01:00
François Grisez
17df3b86a5
Merge tag '3.11.0'
...
3.11.0
2017-02-24 16:38:36 +01:00
Benjamin Reis
0f45a2acee
Fix : presence re-created after network changes + corresponding test
2017-02-16 14:23:04 +01:00
François Grisez
fd9fbedb40
Fix regression about P2P presence
...
Denying a friend to subscribe presence was no more possible
once we accepted.
2017-02-15 17:09:08 +01:00
Simon Morlat
78ef95a3e1
fix multiple compilation warnings and memory corruptions in recent commits.
2017-02-11 10:33:38 +01:00
Benjamin Reis
7055204182
remove useless logs
2017-02-10 17:13:52 +01:00
Benjamin Reis
d1f7e4d7f5
Add friends_map_uri to LinphoneFriendList
2017-02-10 17:03:16 +01:00
Ghislain MARY
50f4e52966
Store chat message in database before file upload so that if the file upload fails we can try sending the chat message an other time.
2017-02-03 15:29:40 +01:00
Benjamin Reis
afce28204e
add friends from db to map if lf->refkey
2017-01-27 09:31:05 +01:00
Sylvain Berfini
2eb6304730
Improved performances by preventing parsing addresses for nothing
2017-01-20 18:11:04 +01:00
Sylvain Berfini
66715b35bc
Fixed crash if friend doesn't have a core yet while creating a vcard
2017-01-18 10:22:01 +01:00
Benjamin Reis
f3b94ce8c0
vcard validation only if friends stored
2017-01-17 17:14:37 +01:00
François Grisez
85b5ca097a
Reworking of Liblinphone API
...
* Introduction of LinphoneFactory singleton class to create
core-independent object like LinphoneAddress or LinphoneVcard.
* Make several C structures inherite from belle_sip_object_t class:
* LinphoneCore
* LinphoneVcard
* LinphoneAuthInfo
* Creation of the LinphoneCoreCbs class that enable to store the
callbacks used by LinphoneCore.
2017-01-12 17:47:01 +01:00
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