Commit graph

251 commits

Author SHA1 Message Date
Ronan Abhamon
fc75fdef79 feat(c-wrapper): L_GET_CPP_PTR_FROM_C_OBJECT supports optional cpp type parameter 2017-09-26 12:12:36 +02:00
Ronan Abhamon
e75404cbd8 fix(core): fix coding style on many files, remove useless includes... 2017-09-26 11:56:49 +02:00
Ronan Abhamon
113dee4b8d fix(core): clean code, remove useless includes 2017-09-25 17:37:59 +02:00
Sylvain Berfini
0d0256698e More work on C to CPP ChatMessage 2017-09-25 17:29:45 +02:00
Ghislain MARY
9a73bbc894 Handle content disposition and add helper to set the content type in a content. 2017-09-25 17:24:50 +02:00
Ronan Abhamon
27f2dff83f fix(Utils): remove useless includes in payload-type-handler and clean code 2017-09-25 17:04:44 +02:00
Ghislain MARY
b10ab978b8 Simplify the chat room instantiation notification. 2017-09-25 16:46:20 +02:00
Ghislain MARY
ba9152a69d Use CPP_OBJECT name for argument of macro that expects a C++ object. 2017-09-25 16:44:48 +02:00
Ghislain MARY
6ebe66ff5d L_DECLARE_PUBLIC should be private. 2017-09-25 16:44:22 +02:00
Ronan Abhamon
056f9435e9 feat(BasicChatRoom): remove useless includes 2017-09-25 16:08:36 +02:00
Sylvain Berfini
0cee5a91a4 Started to move code from C to CPP for ChatMessage 2017-09-25 15:59:52 +02:00
Ronan Abhamon
b445462794 fix(utils): better code for strtoxxx 2017-09-25 15:43:02 +02:00
Benjamin Reis
2c7994a27b add first_invite_generating conference tester 2017-09-25 15:34:32 +02:00
Ronan Abhamon
352aa5568c feat(Variant): add getValueAsUnsignedNumber impl 2017-09-25 15:28:36 +02:00
Ronan Abhamon
fc861ade8a feat(Variant): add getValueAsNumber impl 2017-09-25 15:22:13 +02:00
Ghislain MARY
84df0776a6 Fix conference participants resource-list parsing and generation. 2017-09-25 14:49:55 +02:00
Ghislain MARY
f9fc3e1a81 Change the state of the client group chat room to "created" when it has been created remotely. 2017-09-25 14:19:42 +02:00
Ghislain MARY
35f48398f4 Improve check for acceptation handling when receiving an incoming INVITE. 2017-09-25 14:19:42 +02:00
Ghislain MARY
d0e4898633 Rename and document conference factory uri API. 2017-09-25 14:19:42 +02:00
Ronan Abhamon
437f43665e feat(c-wrapper): now belle-sip types are declared in this file 2017-09-25 14:18:35 +02:00
Ronan Abhamon
ec1c1dbbe6 feat(c-wrapper): provide better usage on list macros 2017-09-25 13:43:32 +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
Benjamin Reis
27bd89624a add display name management to resource list parsing 2017-09-25 11:10:47 +02:00
Ronan Abhamon
e313860c97 feat(c-wrapper): better code for getCppPtrFromC 2017-09-25 10:10:16 +02:00
Ronan Abhamon
1ff43f9214 feat(c-wrapper): reduce bin size 2017-09-25 09:59:24 +02:00
Ronan Abhamon
5f232e04f9 feat(c-wrapper): clean code 2017-09-25 09:29:00 +02:00
Ronan Abhamon
25c138a64a feat(c-wrapper): getPrivate is more secure 2017-09-22 17:24:23 +02:00
Ronan Abhamon
d1dc5af4ea fix(c-wrapper): return correctly cObject in getCBackPtr 2017-09-22 17:13:33 +02:00
Ronan Abhamon
bd11c0980f feat(c-wrapper): better code (reduce bin size) 2017-09-22 16:59:36 +02:00
Benjamin Reis
3bcf6e3523 add parseResouceLists method to local conference 2017-09-22 16:45:37 +02:00
Ronan Abhamon
8d075bbd27 feat(c-wrapper): set/get UserData are simple functions now 2017-09-22 16:32:31 +02:00
Ronan Abhamon
ce0f9d1c14 feat(c-wrapper): getCBackPtr is now more secure 2017-09-22 15:35:25 +02:00
Benjamin Reis
2221411791 Change getResourceLists to use address 2017-09-22 15:24:13 +02:00
Sylvain Berfini
3abfd2749d Create a shared_ptr of ChatMessage in ChatRoom createMessage 2017-09-22 15:16:38 +02:00
Ronan Abhamon
8167360f47 feat(c-wrapper): setCppPtrFromC is now more secure 2017-09-22 15:10:23 +02:00
Benjamin Reis
dbb214f988 add method to create the resource-lists xml body for conference creation 2017-09-22 15:05:37 +02:00
Ronan Abhamon
a1db41d274 feat(c-wrapper/api): remove useless define GET_xxx 2017-09-22 14:47:15 +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
Ronan Abhamon
dd6db19335 feat(c-wrapper): remove TYPE parameter of L_GET_C_LIST_FROM_CPP_LIST 2017-09-22 11:35:33 +02:00
Ghislain MARY
a38e222045 Separate client chat room instantiation and creation on the server when adding the first participants. 2017-09-22 11:21:12 +02:00
Sylvain Berfini
bb9c6de6d6 Started cpp ChatMessage 2017-09-22 11:18:05 +02:00
Ronan Abhamon
bd02b8968d feat(c-wrapper): remove CPP_TYPE parameter of L_SET_USER_DATA_FROM_C_OBJECT 2017-09-22 10:58:11 +02:00
Ronan Abhamon
ccb1828d7d feat(c-wrapper): remove CPP_TYPE parameter of L_GET_USER_DATA_FROM_C_OBJECT 2017-09-22 10:48:51 +02:00
Ronan Abhamon
1431e1518d feat(c-wrapper): remove CPP_TYPE parameter of L_GET_PRIVATE_FROM_C_OBJECT 2017-09-22 10:40:14 +02:00
Ronan Abhamon
78646be7bc feat(c-wrapper): rename C_STRUCT to C_OBJECT 2017-09-22 10:27:58 +02:00
Ghislain MARY
c73614b852 Fix some memory leaks. 2017-09-22 10:25:52 +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
Sylvain Berfini
c33a8f2d78 Fixed compilation due to namespace issue 2017-09-22 10:12:02 +02:00
Ronan Abhamon
1b2e103da9 feat(c-wrapper): remove CPP_CLASS parameter of L_DECLARE_C_STRUCT_IMPL 2017-09-22 09:21:23 +02:00
Ronan Abhamon
bc113345db feat(c-wrapper): remove CPP_CLASS parameter of L_DECLARE_C_CLONABLE_STRUCT_IMPL 2017-09-22 09:14:54 +02:00