Commit graph

45 commits

Author SHA1 Message Date
Ghislain MARY
7ceddff0b9 Do not rename files to compile them as C++. 2017-07-24 11:56:50 +02:00
Ghislain MARY
b9b283dcdb Compile source files as C++. 2017-07-21 17:06:41 +02:00
Jehan Monnier
227de3e119 fix vcard object leak (initial ref count moved from 0 to 1) 2017-06-05 15:54:20 +02:00
Ghislain MARY
a8418666e4 Fix deprecation warnings. 2017-03-20 11:15:26 +01:00
Ghislain MARY
33b72ce6b5 Move public header files in the include/linphone directory. 2016-11-15 14:41:18 +01: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
Gautier Pelloux-Prayer
f6381d913a license: update FSF address 2016-07-27 11:58:38 +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
Sylvain Berfini
7726df5b32 Added a way to store the correct auth info in carddav context to not iterate on all auth infos each time 2016-04-22 16:10:39 +02:00
Sylvain Berfini
a3aa01e1b6 Fixed issues with vCard tester where some http queries overlapped + memory improvements in carddav.c 2016-04-21 14:41:39 +02:00
Sylvain Berfini
2a09065509 Fixed vcard tests using new dav server 2016-04-15 16:13:43 +02:00
Sylvain Berfini
aebdff1985 Prevent crash in CardDAV sync if we fail to parse a vCard 2016-03-23 14:47:32 +01:00
Ghislain MARY
7cfbbda323 Fix Python module automatic wrapper generation. 2016-03-09 12:13:41 +01:00
Sylvain Berfini
f5e86f8f95 Improved a bit the carddav_updated cb in friendlist 2016-02-03 12:05:31 +01:00
Sylvain Berfini
0370aa9e90 Added new callback for synchronization done + fixed small issue: when contact was removed from the server, it was trying to remove it again 2016-02-02 17:09:21 +01:00
Sylvain Berfini
9cec564138 RFC 6352 stipulates in section 10.3 that addressbook-query must have a filter, even an empty one 2016-02-02 15:59:41 +01:00
Sylvain Berfini
9c7eb70ef8 Fixed all contacts deleted issue when doing many syncs + added test for that 2016-02-02 12:08:43 +01:00
Sylvain Berfini
1d754ddff4 Automatically generate UID on PUT if not yet created + improved some tests 2016-02-01 16:04:58 +01:00
Sylvain Berfini
3c53c02fb7 Fixed macosx stack_chk_fail, turns out can't use sal_generate_uuid with buffer of size 32... 2016-01-28 16:22:49 +01:00
Sylvain Berfini
9cfd1404ef Fixed dump mistake... 2016-01-27 15:46:55 +01:00
Sylvain Berfini
5a7d0a0773 Attempt to fix __stack_chk_fail crash on MacOSX 2016-01-27 15:20:46 +01:00
Sylvain Berfini
43619c53a8 Added contact updated callback in friendlist when using CardDAV 2016-01-25 12:58:05 +01:00
Sylvain Berfini
d31bd8dd77 Few fixes 2016-01-15 14:37:55 +01:00
Sylvain Berfini
03ca760d43 Added md5 check between edit and done on friends + fix all leaks related to friends or friendslists found by tester 2016-01-14 17:30:10 +01:00
Sylvain Berfini
bce8c3cc76 Started rework of friend lists management in linphone + database storage of friend lists 2016-01-14 15:04:08 +01:00
Sylvain Berfini
1d26224858 Started CardDAV integration into liblinphone friends API 2016-01-13 17:05:49 +01:00
Sylvain Berfini
add00537ef Test add/remove friends from core in tester + fix test with new CardDAV server 2016-01-12 10:10:03 +01:00
Sylvain Berfini
855f9a9b39 Fixed typo when asking server for vCard version 4 (was working with sabre/dav v3.0.5 but I guess it was a bug and it seems it was fixed in v3.0.6) 2016-01-11 16:48:26 +01:00
Sylvain Berfini
cd6409da3f Fix last found by liblinphone_tester in carddav part 2016-01-11 12:10:11 +01:00
Sylvain Berfini
379ac0e21e Fixed a leak of LinphoneAddress and replaced some linphone_address_destroy by linphone_address_unref 2016-01-11 11:46:44 +01:00
Sylvain Berfini
7afa6b6f59 Added test for vcard update + added code to download complete vcard if put doesn't return an eTag 2016-01-11 11:08:26 +01:00
Sylvain Berfini
13928df051 Do not set a body for the DELETE CardDAV method 2016-01-08 18:05:00 +01:00
Sylvain Berfini
3bc3b24e10 Set vCard URL and eTag when new one downloaded 2016-01-08 17:45:50 +01:00
Sylvain Berfini
e648843890 PUT/DELETE queries added to CardDAV (update not tested yet) 2016-01-08 17:08:20 +01:00
Sylvain Berfini
44e18649ac Merge branch 'master' into dev_vcard
Conflicts:
	build/android/Android.mk
	coreapi/CMakeLists.txt
	coreapi/Makefile.am
	coreapi/friend.c
	coreapi/linphonecore.c
	coreapi/linphonecore.h
2016-01-08 10:37:54 +01:00
Sylvain Berfini
4561b0ce8c Fixed a leak 2016-01-07 17:04:29 +01:00
Sylvain Berfini
5ff8d1232f Fixed carddav tests 2016-01-07 16:36:52 +01:00
Sylvain Berfini
873493b628 More work on CardDAV sync: store etag and url for each vcard in db, call the correct callbacks and improved tester using stats 2016-01-07 15:44:59 +01:00
Sylvain Berfini
6fc86237ac Improve xml parsing of carddav responses 2016-01-07 14:24:40 +01:00
Sylvain Berfini
b5300c180c Parse results for PROPFIND and REPORT requests 2016-01-07 13:04:43 +01:00
Sylvain Berfini
a8e6cc908f More work on CardDAV sync: doing propfind and addressbook-query requests 2016-01-05 16:31:20 +01:00