Commit graph

11608 commits

Author SHA1 Message Date
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
Ronan Abhamon
e7f35139b6 fix(AbstractDb): test correctly IOS backend 2017-11-03 12:02:49 +01:00
Sylvain Berfini
4a046d10f7 Fixed previous commit 2017-11-03 11:45:01 +01:00
Sylvain Berfini
b18d8a7001 Added missing final slash in Android paths 2017-11-03 11:41:51 +01:00
Sylvain Berfini
e26ce48bfd Call chatroom state changed with CreationError state when group chat room fails 2017-11-03 11:34:02 +01:00
Ronan Abhamon
58d5c632aa fix(MainDb): remove L_ASSERT(core) 2017-11-03 11:23:32 +01:00
Ronan Abhamon
fb18a7c7a9 fix(ChatMessage): remove useless test on getCore 2017-11-03 11:12:20 +01:00
Ronan Abhamon
a7ff19566d fix(core): misc =>
- return nullptr if conference factory uri is not set
  - Address object is now more robust
  - remove custom SharedFromThis object
  - CoreAccessor throw exception if core is destroyed
  - Core must be created with a static method
  - Partial fetch of chat message
  - ...
2017-11-03 10:38:50 +01:00
Ronan Abhamon
223bd817a9 feat(core): break completely old message storage api impl 2017-11-02 12:03:16 +01:00
Sylvain Berfini
8e05e6a21f Fixed a crash with group chat rooms created when receiving a REFER, see comment for details and check it doesn't impact server 2017-10-31 18:20:27 +01:00
Sylvain Berfini
2a64f69f35 Moved insertChatRoom to public part of private core 2017-10-31 17:35:43 +01:00
Sylvain Berfini
53c83d3585 Fixed ChatRoom state changed with Created state before RAM insertion breaking find 2017-10-31 17:34:13 +01:00
Sylvain Berfini
94c08dce7f Use CPIM by default 2017-10-31 10:01:13 +01:00
Benjamin Reis
087aeaf0d0 confernce is already created when the refer is received 2017-10-31 09:31:34 +01:00
Sylvain Berfini
3b4e32cb8e Fixed sent message getText() and getContentType() values 2017-10-30 15:17:26 +01:00
Sylvain Berfini
637595573d Added callback on message being sent 2017-10-30 14:48:10 +01:00
Ronan Abhamon
edf85afab9 fix(Core): use better workaround for bad conference sip addresses returned by flexisip 2017-10-30 11:56:56 +01:00
Sylvain Berfini
f702e9a8fe Added new callback for message received on chat room with chat event log 2017-10-30 11:50:57 +01:00
Ronan Abhamon
c927f68ad0 feat(MainDb): add logs 2017-10-30 10:30:01 +01:00