Commit graph

1284 commits

Author SHA1 Message Date
Benjamin Reis
6caeebd5ef catch exception when core not valid anymore 2018-03-19 17:30:30 +01:00
Benjamin Reis
fe3bf89ccc Revert "add friend class"
This reverts commit 2dabaf6f47.
2018-03-19 16:10:00 +01:00
Benjamin Reis
2dabaf6f47 add friend class 2018-03-19 16:07:47 +01:00
Benjamin Reis
63b08b7ebf fix crash on core destruction 2018-03-19 16:00:01 +01:00
Benjamin Reis
980b440e88 fix crashes 2018-03-19 14:43:25 +01:00
Benjamin Reis
198ea9fbac add header to discriminate chat room list subscription 2018-03-19 13:47:48 +01:00
Benjamin Reis
8edcc9f71f call localListEventHandler when necessary + use subscribeReceived instead of subscriptionStateChanged 2018-03-19 12:21:09 +01:00
Benjamin Reis
f983662df8 set device event of a server chat room when receiving a list subscription 2018-03-19 10:25:38 +01:00
Benjamin Reis
0c333d794c add local list event handler to core 2018-03-18 12:52:52 +01:00
Benjamin Reis
9366856ee9 generate rlmi content for notify body 2018-03-17 12:15:52 +01:00
Benjamin Reis
df28cf9469 generate random token for identifying a part in the notify body 2018-03-17 11:51:16 +01:00
Benjamin Reis
477e5f698c better generation of the notify body 2018-03-16 20:38:26 +01:00
Benjamin Reis
cb720429fa sarting to generate notify body 2018-03-16 20:24:57 +01:00
Benjamin Reis
ca7dd265fc get notify body for each entry of the subscribe 2018-03-16 20:08:08 +01:00
Benjamin Reis
040ecf2448 start parsing of subscribe to generate notify body 2018-03-16 17:43:02 +01:00
Benjamin Reis
164075f4f5 start server side of list chat room subscription 2018-03-16 17:14:29 +01:00
Benjamin Reis
dc05b6821f avoir memory leak 2018-03-16 11:32:16 +01:00
Benjamin Reis
3728262f9a integration of chatroom list subscription on client side 2018-03-16 11:27:24 +01:00
Benjamin Reis
8f653ab4bf now it compiles 2018-03-15 15:48:59 +01:00
Benjamin REIS
3aa85143f8 better coding style for rlmi.h rlmi.cpp 2018-03-15 13:30:00 +01:00
Benjamin REIS
8d16ad71b1 generate rlmi.cpp rlmi.h 2018-03-15 12:11:21 +01:00
Benjamin Reis
1f4df0b4d8 start of implementing list subscription 2018-03-15 11:55:54 +01:00
Benjamin Reis
12660bea3a do not notify unknown device 2018-03-14 17:26:11 +01:00
Jehan Monnier
261b0f195a fix crash when destroying LinphoneCore during file upload 2018-03-14 08:21:36 +01:00
Ghislain MARY
61c79b43e0 Use C++ instead of C where possible. 2018-03-13 17:29:13 +01:00
Ghislain MARY
94ce0fa252 Fix background task handling on platforms that do not support wakelocks. 2018-03-13 15:16:44 +01:00
Ghislain MARY
ead7221c97 Handle Content-Encoding in C++ Content object. 2018-03-13 14:10:05 +01:00
Ghislain MARY
307e27e635 Allow receiving and parsing of CPIM messages without buggy Content-Type header. 2018-03-12 15:26:00 +01:00
Simon Morlat
18696f2ad2 Fix background task usage when receiving a REFER to join a chatroom.
Add a timeout, because on Android wake locks have no limit in time. The timeout will secure that whatever happens, the wake lock is always released after a reasonable time.
2018-03-09 22:14:05 +01:00
Ghislain MARY
b9eaf0a7e9 Prevent ChatRoom C++ objects from being leaked. 2018-03-09 10:20:20 +01:00
Ronan Abhamon
49e1af1f75 feat(PropertyContainer): increase performance => avoid private allocation if not used in childs 2018-03-07 17:49:13 +01:00
Ronan Abhamon
21a5f1c001 fix(core): remove useless include, virtual... And add required virtual on some classes (add a -Wdelete-non-virtual-dtor warning on clang) 2018-03-07 17:17:23 +01:00
Jehan Monnier
18d0c4ad20 improve message tester for file transfer 2018-03-07 17:16:27 +01:00
Ronan Abhamon
b6496cbfa9 fix(core): remove useless default constructors and avoid memory leak on virtual destructor 2018-03-07 16:58:59 +01:00
Ronan Abhamon
30b270f221 fix(MainDb): avoid old c-style cast 2018-03-07 15:08:09 +01:00
Ronan Abhamon
58e0b47a99 feat(MainDb): clean xml parser 2018-03-07 15:05:47 +01:00
Sylvain Berfini
1b942b3306 Fixed message state if linphone has crashed while sending it 2018-03-07 14:24:20 +01:00
Ronan Abhamon
c0f5d97a8a fix(MainDb): avoid xml copy in extractFileContentType 2018-03-07 13:53:52 +01:00
Ronan Abhamon
f1dbb519ad fix(MainDb): avoid memory leak 2018-03-07 13:48:40 +01:00
Ronan Abhamon
ae9d3012ef fix(MainDb): do not use free on content 2018-03-07 13:44:39 +01:00
Sylvain Berfini
12f0e6c1ed Fixed issue when downloading a file from a chat message loaded from database (and thus locked) 2018-03-07 13:29:15 +01:00
Sylvain Berfini
30380ff39e Fixed file transfer chat messages migration 2018-03-07 13:08:11 +01:00
Sylvain Berfini
0684cedc21 Renamed method as it is also true for uploads 2018-03-06 18:00:05 +01:00
Sylvain Berfini
9092d88775 Added method on chat message to know whether or not a download is in progress 2018-03-06 17:50:28 +01:00
Mickaël Turnel
9d7a943032 Add reconnect_to_primary_asap parameter to linphonerc and pass it to belle_sip_stack 2018-03-06 17:04:16 +01:00
Ronan Abhamon
2f1be97c10 fix(c-tools): fix a memory leak on getResolvedCListFromCppList 2018-03-06 15:39:31 +01:00
Ghislain MARY
d8e81d63c8 When a call session of a ClientGroupChatRoom is released, destroy the chat room only if the state is TerminationPending and there was no error during the termination. 2018-03-06 12:30:24 +01:00
Ronan Abhamon
2154c78ff3 fix(ChatMessage): avoid invalid read of destroyed strings, and construct C++ cache correctly!!! 2018-03-06 12:28:09 +01:00
Benjamin Reis
9e4e48830b We build on C++11 2018-03-06 10:00:53 +01:00
Ronan Abhamon
badcd4c536 fix(CoreChatRoom): typo 2018-03-06 09:22:26 +01:00