Commit graph

221 commits

Author SHA1 Message Date
Simon Morlat
656ff43b13 fix most common warnings 2017-01-14 14:13:26 +01:00
François Grisez
6160b6dbe1 Merge branch 'master' of git.linphone.org:linphone 2017-01-13 14:43:54 +01:00
François Grisez
3e037f26a0 Add a header file declaring functions exclusive for automatic wrapper generators 2017-01-13 14:08:46 +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
Sylvain Berfini
7793ff2cce Set from while sending chat message before encryption step, so if it fails information is available 2017-01-12 17:04:18 +01:00
Ghislain MARY
9fa30c5c20 Handle error cases in IMDN notifications. 2017-01-09 16:55:16 +01:00
Sylvain Berfini
4a04f3ba5a Do not increase unread message counter when sending one... 2017-01-04 17:31:22 +01:00
Ghislain MARY
e34327f58f Handle IM notification policy. 2017-01-03 14:56:56 +01:00
Ghislain MARY
f9ae431782 The (is_)read field of a LinphoneChatMessage is now deprecated, the LinphoneChatMessageStateDisplayed state is used instead. 2017-01-03 14:56:17 +01:00
Ghislain MARY
7889b0610b Store weak references of chat messages in the chat room to be able to returned the same LinphoneChatMessage object to the application. 2017-01-03 14:56:17 +01:00
Ghislain MARY
410f5b9e1c Revert message callbacks moved to LinphoneChatRoom instead of LinphoneChatMessage. 2017-01-03 14:56:17 +01:00
Ghislain MARY
9867c2fee7 Send and receive imdn. 2017-01-03 14:56:17 +01:00
Ghislain MARY
563bb427b0 Fix IM encryption engine for automatic wrapper generation. 2016-12-19 11:56:37 +01:00
Sylvain Berfini
25a6524d14 Fix chat message stored encrypted in database making it displayed as xml in mobile apps 2016-12-16 11:08:46 +01:00
Sylvain Berfini
5eb5ea3473 Fixed RTT character not being freed correctly + RTT test with SRTP failing if SRTP not available 2016-12-15 15:26:09 +01:00
Sylvain Berfini
e0fdfbb13b Added isComposing content-type to fake LinphoneChatMessage created for IM Encryption Engine incoming callback 2016-12-08 15:48:50 +01:00
Sylvain Berfini
a1d5ed8ca9 Allow IM Encryption Engine to return a custom code upon reception of a composing message 2016-12-06 10:30:21 +01:00
Sylvain Berfini
85d8e09d59 Call IM Encryption Engine outoing & incoming callbacks also for composing messages, but do nothing with lime + test 2016-12-05 12:07:11 +01:00
Sylvain Berfini
9a26b72164 Merge remote-tracking branch 'private/dev_im_encryption_engine' 2016-12-01 11:12:10 +01:00
Ghislain MARY
33b72ce6b5 Move public header files in the include/linphone directory. 2016-11-15 14:41:18 +01:00
Sylvain Berfini
d3333be071 More tests for lime file transfer + few improvements 2016-11-14 16:49:22 +01:00
Sylvain Berfini
b45e6dcc8d Added remove custom header method for chat message + test 2016-11-14 11:39:10 +01:00
Sylvain Berfini
395c81f69a Added encryption callbacks for file upload in im encryption engine 2016-11-10 15:44:32 +01:00
Sylvain Berfini
3214b4371a Reworked im encryption engine to be at linphone level instead of sal level 2016-11-10 14:33:04 +01:00
Gautier Pelloux-Prayer
dce962bf58 fix leaks 2016-07-19 12:20:24 +02:00
Sylvain Berfini
554635c53b Fix crash when downloading chat message encrypted with lime using file body handler 2016-07-15 17:03:16 +02:00
Ghislain MARY
3c0a4e15c3 Do not use deprecated ms_list_remove() function. 2016-06-27 09:30:16 +02:00
Jehan Monnier
144743535d Merge remote-tracking branch 'origin/3.10.x' 2016-06-23 14:15:38 +02:00
Ghislain MARY
b535d1f153 Use bctbx_list_t instead of MSList that has been deprecated. 2016-06-16 17:42:33 +02:00
Gautier Pelloux-Prayer
0e082f1a40 chat: improve message_tester suites and fix memory leaks 2016-06-16 11:25:40 +02:00
Jehan Monnier
d8158669f3 add tests for lime & file transfer 2016-06-09 15:14:46 +02:00
Simon Morlat
e67e881283 change prototype of lime_freeKeys() to avoid passing a full structure by copy. 2016-06-01 19:39:21 +02:00
Gautier Pelloux-Prayer
2fc0aef1b9 gtk: add lime icon in chat 2016-05-31 17:43:46 +02:00
Gautier Pelloux-Prayer
cb9816e9fb lime.c: implement "preferred" mode 2016-05-31 16:08:35 +02:00
Sylvain Berfini
2ed0e5547c Added linphonerc field to disable RTT messages database storage 2016-05-06 15:25:11 +02:00
Sylvain Berfini
8fdfb4160a Improved chat_message_put_char method to store message if end of line character is passed + improved tester 2016-05-06 15:17:57 +02:00
Gautier Pelloux-Prayer
55900bbf66 chat: add possibility to use Lime conditionnally (when secrets have been shared only) 2016-02-25 11:30:44 +01:00
Gautier Pelloux-Prayer
30d30f60cc chat.c: dont change message state to in progress if we failed to send it (fix improper field test) 2016-02-23 10:49:13 +01:00
Simon Morlat
023f3849e1 Revert "chat.c: dont change message state to in progress if we failed to send it"
This reverts commit 17ee1f1590.
2016-02-23 01:02:47 +01:00
Gautier Pelloux-Prayer
17ee1f1590 chat.c: dont change message state to in progress if we failed to send it 2016-02-22 16:25:47 +01:00
Jehan Monnier
2a455a5fc7 remove some warnings 2016-01-19 15:39:31 +01:00
Sylvain Berfini
93c593da83 Fixed pending_message text value when dealing with accented chars + added test 2015-11-02 14:38:08 +01:00
Sylvain Berfini
868c725dae Improved a few things in RTT + added tests for message end character compatibility 2015-11-02 12:05:47 +01:00
Gautier Pelloux-Prayer
217f50fa31 chat.c: set chat direction before sending chat message 2015-10-14 09:37:42 +02:00
Gautier Pelloux-Prayer
4e3ea86c90 chat.c: when sending chat message, set state to inprogress after having initialized the chat message, not before 2015-10-08 14:49:08 +02:00
Sylvain Berfini
982c96847d Set a temporary time when creating a chat message 2015-10-05 10:24:16 +02:00
Ghislain MARY
61ac1f8173 Fix compilation warnings when building for Windows 10. 2015-10-01 14:29:00 +02:00
Sylvain Berfini
15d4158834 Updated RTT end of message character from crlf to unicode 2028 2015-09-28 10:25:04 +02:00
Simon Morlat
46e3ae725a fix RTT CRLF handling (not sure it is correct but at least it no longer does invalid reads)
fix memory leak
2015-09-25 18:27:27 +02:00
Simon Morlat
8e200bcf98 fix memory leaks in RTT and fix generation of local media description 2015-09-25 17:28:10 +02:00