Commit graph

59 commits

Author SHA1 Message Date
Ghislain MARY
81340cfcb8 Fix license headers. 2017-10-05 15:09:09 +02:00
Sylvain Berfini
0b5defc743 Fixed cache string in c-chat-message 2017-10-05 14:15:35 +02:00
Sylvain Berfini
25371cbfef Added a way to suspend the sending of a ChatMessage (now using this for file transfer) 2017-10-05 12:44:38 +02:00
Ghislain MARY
6beb962517 Move the new sal code in the src folder, respect the file naming conventions and add missing license headers. 2017-10-05 10:52:09 +02:00
Ghislain MARY
e8e1e130f3 Improve handling of content types. 2017-10-04 17:11:58 +02:00
Sylvain Berfini
c4121b438d Fixed issue in ChatMessage contents when creating it from db 2017-10-03 15:26:38 +02:00
Sylvain Berfini
54de6bb650 Moved from shared_ptr<Content> to Content in ChatMessage 2017-10-03 14:41:02 +02:00
Ronan Abhamon
ef62012c6e feat(Object): avoid usage of share_from_this 2017-10-03 13:36:48 +02:00
Sylvain Berfini
2ff88e790c Fixed some issues revealed by the Message tester 2017-10-03 12:59:46 +02:00
Sylvain Berfini
3c4a11dd4c Replaced ms_ log methods by logger 2017-10-03 11:53:40 +02:00
Sylvain Berfini
64e0f9b826 Fixed issue in From and To when receiving a message 2017-10-03 11:23:21 +02:00
Sylvain Berfini
61d1cdd8b0 Added EncryptionChatMessageModifier + moved some logic of ChatMessage reception from ChatRoom to the message itself 2017-10-03 11:08:05 +02:00
Sylvain Berfini
1e285da959 Fix creation of ChatMessage from history if id is null 2017-10-02 17:41:46 +02:00
Sylvain Berfini
83e8d95af5 Catch another bad_weak_ptr exception 2017-10-02 17:13:00 +02:00
Sylvain Berfini
8d39bbe9b1 Moved send code from ChatRoom to ChatMessage 2017-10-02 14:31:52 +02:00
Sylvain Berfini
d2c788a0c7 Fixed crash due to bad weak_ptr in ChatRoom 2017-10-02 12:23:41 +02:00
Sylvain Berfini
c8616f0eb3 Done ChatRoom::release 2017-10-02 11:57:07 +02:00
Sylvain Berfini
4bbf7f1fb0 Fixed ChatMessage legacy getContentType and getText methods 2017-10-02 11:11:02 +02:00
Sylvain Berfini
c67b913d0f Moved send code from ChatMessage to ChatRoom 2017-10-02 10:32:59 +02:00
Sylvain Berfini
72bc4fec53 Moved most of exisiting code from LinphoneChatMessage* to shared_ptr<ChatMessage> 2017-09-29 18:13:00 +02:00
François Grisez
86b626d3fe Migration of Sal and SalOp into C++ classes 2017-09-29 17:19:52 +02:00
Sylvain Berfini
eee82ef1ab More fixes related to ChatMessage 2017-09-28 16:32:34 +02:00
Sylvain Berfini
5bf3920571 Fixed issues related to chat file transfer 2017-09-28 16:21:02 +02:00
Sylvain Berfini
20703484ff Fixes related to ChatRoom & ChatMessage 2017-09-28 14:55:46 +02:00
Ronan Abhamon
c156730daa feat(general): remove class parameter of L_D and L_Q 2017-09-27 16:15:58 +02:00
Sylvain Berfini
78f4b39ab1 Finish cleaning of c-chat-message, still work to do in ChatMessage 2017-09-26 15:48:32 +02:00
Sylvain Berfini
0d0256698e More work on C to CPP ChatMessage 2017-09-25 17:29:45 +02:00
Ghislain MARY
b10ab978b8 Simplify the chat room instantiation notification. 2017-09-25 16:46:20 +02:00
Ronan Abhamon
fd1385fdc0 feat(c-wrapper): provide a L_REGISTER_SUBTYPE macro to register derived cpp object 2017-09-25 12:14:28 +02:00
Sylvain Berfini
3abfd2749d Create a shared_ptr of ChatMessage in ChatRoom createMessage 2017-09-22 15:16:38 +02:00
Ronan Abhamon
4997962624 feat(c-wrapper): remove C_TYPE parameter of L_GET_C_BACK_PTR 2017-09-22 14:38:00 +02:00
Sylvain Berfini
bb9c6de6d6 Started cpp ChatMessage 2017-09-22 11:18:05 +02:00
Ronan Abhamon
78646be7bc feat(c-wrapper): rename C_STRUCT to C_OBJECT 2017-09-22 10:27:58 +02:00
Ronan Abhamon
3b08856dc0 feat(c-wrapper): remove CPP_TYPE parameter of L_GET_CPP_PTR_FROM_C_STRUCT 2017-09-22 10:16:29 +02:00
Ronan Abhamon
48487d518f feat(c-wrapper): avoid usage of extern init... 2017-09-21 14:18:33 +02:00
Sylvain Berfini
d9d06fa32f Fixed compil broken due to chat message changes 2017-09-21 13:13:53 +02:00
Ronan Abhamon
eccde9b8f1 feat(c-tools): remove C_NAME of macros 2017-09-21 11:54:39 +02:00
Ronan Abhamon
5e4cb463db feat(c-tools): remove C_TYPE parameter of L_GET_CPP_PTR_FROM_C_STRUCT 2017-09-20 19:40:29 +02:00
Ronan Abhamon
8ae87e2f3f feat(Core): deal with more warning options! 2017-09-20 12:45:17 +02:00
Ghislain MARY
1b60a6fc4a Handle the chat room state. 2017-09-19 11:40:30 +02:00
Ronan Abhamon
d460e32a0f feat(Core): use for (var : list) syntax when possible 2017-09-19 10:40:08 +02:00
Ghislain MARY
0a15a02ff0 Add callbacks to the LinphoneChatRoom object. 2017-09-18 11:52:35 +02:00
Ghislain MARY
902d6c1d69 Fix crash in chat room destruction. 2017-09-15 16:14:46 +02:00
Ghislain MARY
8e9bbb6899 Use c-tools for LinphoneChatRoom. 2017-09-14 16:12:22 +02:00
Ghislain MARY
4a13ac6a7a Use real pointer for C++ object inside LinphoneCallParams as it is a ClonableObject. 2017-09-13 17:40:09 +02:00
Ghislain MARY
a5ce479aa3 Add function to create a client group chat room. 2017-09-13 17:40:08 +02:00
Ronan Abhamon
b1a37f6bd0 feat(utils): remove content-type files 2017-09-13 09:12:42 +02:00
Ronan Abhamon
44152b9f48 use real pointer in c wrapped clonable object 2017-09-12 15:08:10 +02:00
Ghislain MARY
6c61358267 Set 'on' prefix for listener methods. 2017-09-12 11:28:01 +02:00
Ghislain MARY
8063ae024e Create classes for the different types of chat rooms. 2017-09-11 18:11:49 +02:00