Commit graph

147 commits

Author SHA1 Message Date
Ghislain MARY
24e4b233d9 Handle joining an existing group chat room when receiving a REFER inviting us to join. 2017-10-09 12:15:08 +02:00
Ghislain MARY
7b59cd6ee6 Add API to leave a chat room. 2017-10-06 11:09:49 +02:00
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
8ee8885d6a Fixed issue with string not being cached in C wrapper 2017-10-05 13:51:48 +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
Ghislain MARY
4eb16ce346 Do not return a Participant in the addParticipant() method of the conference interface because the addition can be done asynchronously. 2017-10-04 14:18:53 +02:00
Sylvain Berfini
5eca36e071 Removed unusued method on ChatMessage 2017-10-03 14:14:56 +02:00
Ronan Abhamon
ef62012c6e feat(Object): avoid usage of share_from_this 2017-10-03 13:36:48 +02:00
Ghislain MARY
231f0e3983 Add callback on chat room subject change. 2017-10-03 09:24:29 +02:00
François Grisez
b5e0165503 Reworks Sal in order to be able to send and accept INVITEs with not-SDP body 2017-10-03 09:21:48 +02:00
Ronan Abhamon
c699446974 fix(c-wrapper): use shared_from_this 2017-10-02 17:12:06 +02:00
Ronan Abhamon
429a231cb0 fix(c-wrapper): use abort instead of fatal 2017-10-02 17:08:50 +02:00
Sylvain Berfini
18f0782b46 Take a ref when creating a bctbx_list of C pointers from a std::list of shared_ptr 2017-10-02 16:58:13 +02:00
Ghislain MARY
7969616d43 Handle redirection in the CallSession class. 2017-10-02 16:56:53 +02:00
Ghislain MARY
bb5d418afd Add accessors for the conference subject in the conference interface. 2017-10-02 16:56:53 +02:00
Sylvain Berfini
c58a241901 Do not exit on fatal, otherwise we don't get a backtrace 2017-10-02 14:32:14 +02:00
Sylvain Berfini
8d39bbe9b1 Moved send code from ChatRoom to ChatMessage 2017-10-02 14:31:52 +02:00
Ronan Abhamon
33d7a384af feat(General): remove LINPHONE_NAMESPACE 2017-10-02 12:31:36 +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
Ronan Abhamon
4e798d8b32 feat(c-wrapper): L_GET_PRIVATE supports CPP_TYPE parameter 2017-09-29 10:51:51 +02:00
Sylvain Berfini
6c3bc0c06e Fixed more issues with c-chat-message wrapper 2017-09-28 17:34:10 +02:00
Sylvain Berfini
eee82ef1ab More fixes related to ChatMessage 2017-09-28 16:32:34 +02:00
Ronan Abhamon
b9f9dc1c5b fix(core): clean a lot of C4800 errors on Windows 2017-09-28 16:09:20 +02:00
Ghislain MARY
4029e83de7 Use string conversion macros. 2017-09-28 15:52:50 +02:00
Ronan Abhamon
e783a88a31 feat(c-wrapper): little optimization on getCBackPtr 2017-09-28 15:33:50 +02:00
Ghislain MARY
5e80df36fa Fix memory leaks. 2017-09-28 15:31:37 +02:00
Sylvain Berfini
18643634a7 Remove log commited by mistake 2017-09-28 15:31:02 +02:00
Sylvain Berfini
7e55f79924 Check if given shared_ptr is null in getCBackPtr 2017-09-28 15:28:20 +02:00
Sylvain Berfini
9750a40c34 Use macro instead of checking if string is empty manually... 2017-09-28 15:25:19 +02:00
Sylvain Berfini
20703484ff Fixes related to ChatRoom & ChatMessage 2017-09-28 14:55:46 +02:00
Ronan Abhamon
2b1f9ea105 fix(c-wrapper): L_EXPAND is necessary for windows in the macro chooser case 2017-09-28 14:30:54 +02:00
Ronan Abhamon (Windaube)
7d10862c7f feat(windaube): fix L_GET_CPP_PTR_FROM_C and L_GET_PRIVATE with L_EXPAND for Windows 2017-09-28 12:13:20 +02:00
Sylvain Berfini
0e387676be Moved some functions from ChatMessage to it's private part 2017-09-28 09:56:22 +02:00
Sylvain Berfini
6ca6fb6d89 Move some code from ChatMessage to ChatMessagePrivate 2017-09-27 17:18:57 +02:00
Sylvain Berfini
21ddaf03d6 More work on chat_message.cpp 2017-09-27 16:11:45 +02:00
Ghislain MARY
f3aa06edc7 Fix build. 2017-09-27 15:18:35 +02:00
Ghislain MARY
b5c4007d59 Change getId() to getConferenceAddress() in the conference interface. 2017-09-27 15:02:38 +02:00
Ronan Abhamon
68b9c2f425 feat(c-wrapper): add runtime checks on getCppPtrFromC in debug mode 2017-09-27 14:29:02 +02:00
Ronan Abhamon
e46b4630da feat(c-wrapper): deal with shared from this 2017-09-27 12:14:37 +02:00
Sylvain Berfini
950def6133 Removed TODOs from c-chat-message 2017-09-27 11:36:46 +02:00
Ronan Abhamon
1cff67c57a feat(c-wrapper): setCppPtrFromC is more secure, check types 2017-09-27 10:56:57 +02:00
Ronan Abhamon
f8f9c93e3b fix(api/c-address): use wrapper macros 2017-09-27 10:36:36 +02:00
Ronan Abhamon
7a54c7fe29 feat(c-wrapper): better names 2017-09-27 09:33:56 +02:00
Ronan Abhamon
a67a7fbcc3 feat(c-wrapper): IsDefinedCppObject check inheritance and consistency between cpp and c objects \o/ 2017-09-26 17:43:25 +02:00
Ghislain MARY
076e744dcd Handle subject in INVITE + create body when creating the client group chat room. 2017-09-26 16:58:13 +02:00
Ronan Abhamon
57de771a28 feat(c-wrappper): check types at compile time in all functions 2017-09-26 16:03:28 +02:00
Ronan Abhamon
f3b3015dbc feat(c-wrapper): setCppPtrFromC is more secure, check types 2017-09-26 15:55:26 +02:00