Commit graph

1316 commits

Author SHA1 Message Date
Sylvain Berfini
813ab614eb Use Header class instead of pair<string, string> in Content + improved tester 2018-03-27 11:48:40 +02:00
Sylvain Berfini
22218cb188 Improved log + fixed external body url format 2018-03-26 16:07:26 +02:00
Sylvain Berfini
75b80bbe98 Do not compare parameters when comparing ContentType 2018-03-26 16:05:09 +02:00
Sylvain Berfini
3a6fe51939 Fixed content type parsing + added test 2018-03-26 15:58:51 +02:00
Sylvain Berfini
8f2be0252a Fixed 2 issues related to content type parameters : one in = operator, one in the Sal 2018-03-26 10:57:08 +02:00
Sylvain Berfini
49b93c6f9a Created Header class as parent of ContentType 2018-03-23 15:25:12 +01:00
Sylvain Berfini
707d9b6a43 Merge branch 'dev_refactor_cpp' into dev_content_cpp 2018-03-23 11:53:43 +01:00
Sylvain Berfini
0dfd57b505 Clean code related to multiparts' Contents 2018-03-23 11:17:52 +01:00
Simon Morlat
dcdb9528e6 Fix memory leaks when sending INFO messages 2018-03-21 18:27:47 +01:00
Sylvain Berfini
ba1d6bc8b0 Remove a lot of useless code 2018-03-21 17:01:00 +01:00
Sylvain Berfini
5fd6a68b94 Fixed another issue with ContentType & HeaderParam constructors doing parsing 2018-03-21 16:09:36 +01:00
Sylvain Berfini
57b07c4545 Fixed header param parsing & dump if header as no value 2018-03-21 15:35:32 +01:00
Sylvain Berfini
c93eee237b Fixed parsing of content type parameters from ContentType(string) constructor 2018-03-21 15:13:10 +01:00
Sylvain Berfini
b19c228fe4 Fixed leak 2018-03-21 14:29:27 +01:00
Sylvain Berfini
8a30c727db Improved parameter use in ContentType 2018-03-21 14:23:23 +01:00
Sylvain Berfini
cf2b6ca2bf Fixed content type parameters between SalBodyHandler and Content 2018-03-21 10:51:19 +01:00
Sylvain Berfini
c001364b39 Merge branch 'dev_refactor_cpp' into dev_content_cpp 2018-03-20 15:39:47 +01:00
Sylvain Berfini
fd6b049203 Fixed LinphoneContent leak 2018-03-20 14:46:45 +01:00
Sylvain Berfini
61b45fd7a4 Fixed issue with server presence & content headers 2018-03-20 14:20:11 +01:00
Sylvain Berfini
472f010e81 Fixed leak of LinphoneContent 2018-03-20 11:44:53 +01:00
Sylvain Berfini
fa37a0cd50 Merge branch 'dev_refactor_cpp' into dev_content_cpp 2018-03-19 17:58:53 +01:00
Simon Morlat
c38a2e0c77 Fix crash when trying to cancel a non-existing INVITE transaction. 2018-03-19 17:53:08 +01:00
Sylvain Berfini
de6283928d Fixed issue with merge 2018-03-19 17:26:35 +01:00
Sylvain Berfini
bca906e399 Merge branch 'dev_refactor_cpp' into dev_content_cpp 2018-03-19 17:01:05 +01:00
Simon Morlat
533f47c7a9 Indicate mediastreamer2 a maximum output bitrate, so that rate control algorithm can use it. 2018-03-19 16:24:20 +01:00
Simon Morlat
6c7c56271a Implement deferred ICE reinvite response when the ICE session isn't yet completed. 2018-03-18 10:44:33 +01:00
Ghislain MARY
3a0bcc675a Some more improvements to Content-Type and Content-Disposition handling. 2018-03-16 16:55:51 +01:00
Ghislain MARY
01394ff75c Use unique_ptr for StunClient and IceAgent objects. 2018-03-16 14:55:55 +01:00
Ghislain MARY
5ec972c98d Improve Content-Type and Content-Disposition handling. 2018-03-16 14:41:12 +01:00
Sylvain Berfini
bcf1baaff1 Wait for file transfer to be downloaded before sending Displayed IMDN 2018-03-16 11:04:08 +01:00
Sylvain Berfini
032f6cd91a When creating a message with no text, create an empty Content so we can use it to store an appData 2018-03-15 15:57:59 +01:00
Sylvain Berfini
f58ba4083e Moved appData from FileContent to any Content 2018-03-15 15:46:45 +01:00
Sylvain Berfini
23287aae21 Forgot ; 2018-03-15 15:25:43 +01:00
Sylvain Berfini
5fb17f6598 Split first line of fake xml in two 2018-03-15 15:06:35 +01:00
Sylvain Berfini
a36a3c55cf Finished fake file transfer xml from external body url 2018-03-15 14:43:53 +01:00
Sylvain Berfini
3fd55c4a2b Fixes + tests for external body URL 2018-03-15 14:31:57 +01:00
Sylvain Berfini
166b0a5d62 Send message with external body url if exists 2018-03-15 14:09:42 +01:00
Sylvain Berfini
1207501da2 Started to restore external body url feature in chat message 2018-03-15 14:01:04 +01:00
Mickaël Turnel
a244da20ff Add a TMMBR callback 2018-03-15 13:58:43 +01:00
Jehan Monnier
7c27d3c9bc fix invalid read in Sal destruction 2018-03-15 08:58:34 +01:00
Ghislain MARY
09025ed3c8 Add chat room callbacks to handle subscription to registration state of participants + add new group chat tester. 2018-03-14 18:18:39 +01:00
Benjamin Reis
12660bea3a do not notify unknown device 2018-03-14 17:26:11 +01:00
Jehan Monnier
261b0f195a fix crash when destroying LinphoneCore during file upload 2018-03-14 08:21:36 +01:00
Ghislain MARY
61c79b43e0 Use C++ instead of C where possible. 2018-03-13 17:29:13 +01:00
Ghislain MARY
94ce0fa252 Fix background task handling on platforms that do not support wakelocks. 2018-03-13 15:16:44 +01:00
Ghislain MARY
ead7221c97 Handle Content-Encoding in C++ Content object. 2018-03-13 14:10:05 +01:00
Ghislain MARY
307e27e635 Allow receiving and parsing of CPIM messages without buggy Content-Type header. 2018-03-12 15:26:00 +01:00
Simon Morlat
18696f2ad2 Fix background task usage when receiving a REFER to join a chatroom.
Add a timeout, because on Android wake locks have no limit in time. The timeout will secure that whatever happens, the wake lock is always released after a reasonable time.
2018-03-09 22:14:05 +01:00
Ghislain MARY
b9eaf0a7e9 Prevent ChatRoom C++ objects from being leaked. 2018-03-09 10:20:20 +01:00
Ronan Abhamon
49e1af1f75 feat(PropertyContainer): increase performance => avoid private allocation if not used in childs 2018-03-07 17:49:13 +01:00