Commit graph

119 commits

Author SHA1 Message Date
Benjamin Reis
3a6f8976fd cast to fix build 2017-09-21 16:52:47 +02:00
Sylvain Berfini
d9d06fa32f Fixed compil broken due to chat message changes 2017-09-21 13:13:53 +02:00
Ronan Abhamon
b2a0cd770e fix(core): deal with new cpp flags 2017-09-20 12:45:17 +02:00
Ghislain MARY
8e9bbb6899 Use c-tools for LinphoneChatRoom. 2017-09-14 16:12:22 +02:00
Ghislain MARY
0babed04f4 Use ChatRoom C++ class. 2017-08-30 10:27:51 +02:00
Simon Morlat
91922bcaab fix compilation issues on Android. 2017-08-01 13:58:39 +02:00
Ghislain MARY
7ceddff0b9 Do not rename files to compile them as C++. 2017-07-24 11:56:50 +02:00
Ghislain MARY
b9b283dcdb Compile source files as C++. 2017-07-21 17:06:41 +02:00
Jehan Monnier
5e89a0416c add function to chatroom to find a message with a given direction.
It re-enable to send messages to itself on the same device
2017-06-26 17:53:40 +02:00
Ghislain MARY
735268f85d Fix last received chat message not being marked as read. 2017-06-20 12:06:11 +02:00
Simon Morlat
bcc1305863 fix x86_64 build 2017-04-06 17:23:03 +02:00
François Grisez
caad3e4693 Disable an outdated hack 2017-03-10 11:01:45 +01:00
Ghislain MARY
46d894caf6 Use correct macro to detect Android build. 2017-03-08 13:12:02 +01:00
Simon Morlat
a366c02623 add missing stub 2017-02-05 17:37:11 +01:00
Ghislain MARY
50f4e52966 Store chat message in database before file upload so that if the file upload fails we can try sending the chat message an other time. 2017-02-03 15:29:40 +01:00
Benjamin Reis
31d5d90ca9 add is_secured API to LinphoneChatMessage 2017-02-01 12:10:59 +01:00
Ghislain MARY
b297a4cb1d Rework chat handling.
- Add content type information in LIME encrypted message
 - Single entry point for all types of chat messages that are first decrypted if necessary and then handled according to their content type
 - Add possibility to send chat messages with a content type that is not 'text/plain'
 - Encrypt IMDN
2017-01-31 12:25:12 +01:00
Ghislain MARY
a4109f7c4f When marking a chat room as read send IM display notifications only for the messages that were not previously in the displayed state. 2017-01-25 11:39:48 +01:00
Ghislain MARY
b4e9988c00 Add arm64 support for Android. 2017-01-20 11:19:30 +01:00
Simon Morlat
656ff43b13 fix most common warnings 2017-01-14 14:13:26 +01:00
Ghislain MARY
b2df3b492e Compilation fixes. 2017-01-04 10:16:18 +01:00
Ghislain MARY
f9ae431782 The (is_)read field of a LinphoneChatMessage is now deprecated, the LinphoneChatMessageStateDisplayed state is used instead. 2017-01-03 14:56:17 +01:00
Ghislain MARY
7889b0610b Store weak references of chat messages in the chat room to be able to returned the same LinphoneChatMessage object to the application. 2017-01-03 14:56:17 +01:00
Ghislain MARY
9867c2fee7 Send and receive imdn. 2017-01-03 14:56:17 +01:00
Ghislain MARY
33b72ce6b5 Move public header files in the include/linphone directory. 2016-11-15 14:41:18 +01:00
Gautier Pelloux-Prayer
f6381d913a license: update FSF address 2016-07-27 11:58:38 +02:00
Gautier Pelloux-Prayer
bf62bf20ff improve chat 2016-07-25 14:23:21 +02:00
Sylvain Berfini
554635c53b Fix crash when downloading chat message encrypted with lime using file body handler 2016-07-15 17:03:16 +02:00
Sylvain Berfini
2e086ee415 Fix iconv conversion from UTF8 to UTF8 on Android and possibly others 2016-06-28 16:27:21 +02:00
Sylvain Berfini
31dac3af4a Enabled back VFS 2016-06-28 14:18:14 +02:00
Ghislain MARY
7cf7f503cf Fix build on bb10 (however iconv is now not used on bb10, so let's hope they are using UTF-8 locales). 2016-06-24 14:07:14 +02:00
Jehan Monnier
144743535d Merge remote-tracking branch 'origin/3.10.x' 2016-06-23 14:15:38 +02:00
Ghislain MARY
b535d1f153 Use bctbx_list_t instead of MSList that has been deprecated. 2016-06-16 17:42:33 +02:00
Ghislain MARY
c13647f8bd Treat warnings as errors on Windows. 2016-06-16 12:23:53 +02:00
Sandrine Avakian
e962f84b36 VFS activation.
Using utf8 conversions, meaning converting back to Windows format on Windows
with ConvertFromUtf8Filename in sqlite3bctbx_Open.
Windows using win32  sqlite VFS methods for everything except open, read, write, close , sync, file control,
device characteristics, file size and lock related methods. Some of them are just stubs, refer to
source code.
2016-06-14 10:06:16 +02:00
Sylvain Berfini
311ddd6030 Better way to disable VFS 2016-06-13 14:43:49 +02:00
Sylvain Berfini
de2543d65c Disable VFS until all issues are resolved 2016-06-13 12:04:36 +02:00
Sylvain Berfini
00236d147f Store LinphoneContent key (when using lime) in db 2016-06-09 13:47:14 +02:00
Sylvain Berfini
ae235690ff Store LinphoneContent key (when using lime) in db 2016-06-09 11:19:37 +02:00
Simon Morlat
eaed5fe047 fix sqlite openings: don't convert to utf8 2016-06-03 10:38:06 +02:00
Ghislain MARY
fad94bc04c Fix header includes for Android. 2016-06-01 12:32:57 +02:00
Simon Morlat
aba70a4afa don't make our sqlite vfs the default for all the process, because it conflicts with other use of sqlite (in ios apis for example) 2016-05-31 11:34:33 +02:00
Simon Morlat
57561bb120 fix compilation error with no sqlite support 2016-05-20 13:55:00 +02:00
Simon Morlat
b79535afe9 fix automake build and simplify sqlite enablement options 2016-05-20 09:37:53 +02:00
Sandrine Avakian
6cfac0ff44 Using newly created functions bctbx_file_close_and_free, bctbx_file_create_and_open. in lpconfig.c.
Changing check on file descriptor return value : should be different from -1 if open was successful .
Using bctbx_file_open and bctbx_file_close in sqlite3bctbx_Open and sqlite3bctbx_Close.
Registers the VFS as default incall_log.c, friend.c and mesage_storage.c .
2016-05-17 11:11:49 +02:00
Sandrine Avakian
fea70fc4ce Merge branch 'master' of git.linphone.org:linphone into bc_vfs 2016-05-12 10:38:07 +02:00
Sandrine Avakian
c400e2f563 First use of sqlite3 bctbx custom vfs. 2016-05-12 10:36:58 +02:00
Simon Morlat
fa00efddbb fix memory leak in JNI getHistory() 2016-05-10 16:03:14 +02:00
Simon Morlat
60708a53ab repair message storage 2016-01-06 17:40:36 +01:00
Gautier Pelloux-Prayer
218db02a1a submodules: update ms2 to fix music pause on iOS 2016-01-06 15:12:09 +01:00