Commit graph

11626 commits

Author SHA1 Message Date
Sylvain Berfini
057db03349 Moved from a list of Content to a list of Content* to be able to cast content to specialized version 2017-11-08 15:15:47 +01:00
Sylvain Berfini
ba89633e45 More work related to ChatMessage file transfer 2017-11-08 14:14:25 +01:00
Ronan Abhamon
0118f6ee53 feat(core): remove useless doc on (void)arg 2017-11-08 14:11:50 +01:00
Ronan Abhamon
bc32805af0 feat(MainDb): provide a way to check stored events 2017-11-08 14:08:18 +01:00
Ghislain MARY
f7b64d5ad5 When adding participants to a ClientGroupChatRoom, check that they are not already in the chat room. 2017-11-08 12:14:33 +01:00
Ghislain MARY
4cd5e7aeab Change the state of the ClientGroupChatRoom to created only when the first NOTIFY has been received. 2017-11-08 12:14:02 +01:00
Benjamin Reis
fe01419470 Do not store nor notify app for full state generated events 2017-11-08 11:58:08 +01:00
Erwan Croze
dfbf8e031e Fix uninitialized variable 2017-11-08 11:39:00 +01:00
Sylvain Berfini
5d47a1093d Fixed compil 2017-11-07 17:47:58 +01:00
Sylvain Berfini
25ea1d7c69 Actually this is not needed. The file name after file transfer is in a Content with the object type (ie image/jpeg) 2017-11-07 17:37:26 +01:00
Ronan Abhamon
adf574413b fix(MainDb): remove cleanEvents functions => not easy to implement for events life 2017-11-07 17:30:24 +01:00
Sylvain Berfini
5b0cfaa137 Added missing C API for file transfer file name 2017-11-07 17:05:35 +01:00
Benjamin Reis
79e6d1ca3c use simple address in remote-conference-event-handler 2017-11-07 16:45:55 +01:00
Sylvain Berfini
61d11efdc7 Fixed idmn, composing etc... messages trying to be file uploaded... 2017-11-07 16:38:15 +01:00
Sylvain Berfini
c6894b4c86 Fixed file transfer 2017-11-07 16:28:44 +01:00
Sylvain Berfini
1fa52f708e Forgot to set file size when creating the file transfer informations 2017-11-07 15:55:10 +01:00
Ronan Abhamon
e97502299a fix(object-p): add missing import 2017-11-07 15:52:09 +01:00
Sylvain Berfini
d394880149 Removed cFileTransferContent to use only Content objects in chat-message.cpp for file transfer. Fix upload when not using file body handler to do 2017-11-07 15:40:36 +01:00
Ghislain MARY
120117f7b3 Add the SimpleAddress class to ease the comparison of addresses for the conference participants and the list of chat rooms. 2017-11-07 15:27:09 +01:00
Ronan Abhamon
5e13c30a04 fix(general): avoid usage of void* cast in getPublic helper, very dangerous in multi inheritance case!!! 2017-11-07 14:37:45 +01:00
Sylvain Berfini
31c00aa3df Fixed issue with file + text message 2017-11-07 13:17:55 +01:00
Sylvain Berfini
95ab4ff585 Fixed broken compil due to dumb mistake 2017-11-07 10:25:25 +01:00
Sylvain Berfini
bcfa66e447 Deprecated getText() on ChatMessage + attempt to fix getText() 2017-11-07 10:23:24 +01:00
Ronan Abhamon
f18fcbdf2f feat(c-wrapper): misc =>
- use correct macro in Wrapped DialPlan
  - add a type verification in c object declaration (compil time)
  - reset c back pointer if belle sip object is destroyed before cpp object
2017-11-07 10:13:59 +01:00
Erwan Croze
72442d192d Fix: change reserved keyword on database init 2017-11-07 09:20:13 +01:00
Erwan Croze
e59e06b495 Fix database for mysql 2017-11-07 09:19:58 +01:00
Ronan Abhamon
3df2ee859e feat(c-tools): reset back ptr when belle sip object is destroyed 2017-11-06 18:16:14 +01:00
Ghislain MARY
b0349952fe Fix linphone_chat_room_create_message(). 2017-11-06 17:52:55 +01:00
Sylvain Berfini
ce8805e463 Fixed compil 2017-11-06 17:40:35 +01:00
Sylvain Berfini
f47dd800b8 Fix crash temporarily, leak instead 2017-11-06 17:39:09 +01:00
Benjamin Reis
ab07fa2b2f Use correct way to create amsg 2017-11-06 17:08:44 +01:00
Ghislain MARY
d51acdf739 Some small fixes in the addresses handling for conferences. 2017-11-06 16:03:32 +01:00
Ghislain MARY
30dbfe2bf6 Add linphone_core_find_chat_room() function for testers. 2017-11-06 16:02:52 +01:00
Ronan Abhamon
b8be3fa05b fix(c-wrapper): add private on some functions, owner is by default External 2017-11-06 15:53:28 +01:00
Ronan Abhamon
e37f307c5f fix(c-tools): use only one assert for test defined type in c object declaration 2017-11-06 15:24:18 +01:00
Ronan Abhamon
fcbce75165 feat(c-wrapper): deal with floating references 2017-11-06 15:06:09 +01:00
Sylvain Berfini
a77a4f857e Fixed crash with AbstractDB, TODO investigate why it was crashing and this makes it work... 2017-11-06 14:39:43 +01:00
Sylvain Berfini
f308510501 Fixed multipart chat message with text + file transfer 2017-11-06 14:32:58 +01:00
Benjamin Reis
a4a221dc06 add c-wrapping of ConferenceNotifiedEvent::isFullState 2017-11-06 14:04:53 +01:00
Benjamin Reis
bea9b7f3d9 uses event directly in internal conference callbacks 2017-11-06 13:36:24 +01:00
Erwan Croze
c1ceea6c2d Fix database init 2017-11-06 11:59:44 +01:00
Sylvain Berfini
c036343151 Added a test for file transfer with text content 2017-11-06 11:45:22 +01:00
Benjamin Reis
7b06d01097 use bool instead of bool_t in c++ 2017-11-06 11:24:48 +01:00
Sylvain Berfini
eb33a86e21 Fixed wrong type in header 2017-11-06 11:13:44 +01:00
Sylvain Berfini
af0db8a7ea Added new APIs to manipulate Contents inside ChatMessage 2017-11-06 11:05:44 +01:00
Erwan Croze
1e2d9d9a0e Fixing precompiled headers in xml parser 2017-11-06 10:46:00 +01:00
Ronan Abhamon
cb045ce1b1 fix(ChatRoom): rename some functions 2017-11-06 09:17:53 +01:00
Sylvain Berfini
a9c557ae37 Do not store calls made to conference factory inside database 2017-11-03 16:59:00 +01:00
Benjamin Reis
d97c796d26 add isFullState info to conference-event-packages-callbacks 2017-11-03 15:56:19 +01:00
Benjamin Reis
975cfd8048 correct use of APPLE targets 2017-11-03 15:55:07 +01:00