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
Simon Morlat
f922907fd8
repair jni compilation
2015-12-27 12:35:50 +01:00
Gautier Pelloux-Prayer
87fa413ec4
message_storage.c: do not rebuild peer address for each DB message since it is already available in chat room structure
2015-11-20 14:59:07 +01:00
Gautier Pelloux-Prayer
91352ffccd
message_storage.c: remove invalid assert in linphone_chat_room_delete_message and force recomputation of unread messages count after removal, since database is not synced anymore with chat messages in memory
2015-11-18 13:27:35 +01:00
Simon Morlat
ee92fdcf4c
fix sqlite database access mode for iOS, where default write modes don't allow writing in background mode.
2015-11-16 10:28:05 +01:00
Simon Morlat
e14852711b
fix crash in linphone_core_create_call_params(), try to workaround an sqlite problem on iOS
2015-11-12 12:23:21 +01:00
François Grisez
2cdedebd81
Fix compilation error
2015-10-02 17:41:18 +02:00
Ghislain MARY
5a629de3de
Tell sqlite3 to work only in memory because some platforms do not support working with temporary files.
2015-10-02 17:29:57 +02:00
Sylvain Berfini
cabf15f1f5
Store call logs in sql database + new method to get all call logs related to a linphone address
2015-09-08 02:45:32 +02:00