Commit graph

48 commits

Author SHA1 Message Date
Simon Morlat
13bacf87c9 fix compilation warning update ms2 2014-11-27 10:18:37 +01:00
Guillaume BIENKOWSKI
e87403f324 Use a debug message instead of message for timing measurements 2014-11-26 13:53:19 +01:00
Guillaume BIENKOWSKI
06de47db2e Fix a special case in message history retrieval.
This function is not yet completely tested,
2014-11-26 13:53:19 +01:00
Guillaume BIENKOWSKI
8934000867 Fix message tester when no storage is used 2014-11-24 11:53:43 +01:00
Ghislain MARY
35189535a7 Convert LinphoneContent from a simple struct to a belle-sip object to ease generation of wrappers. 2014-11-18 16:42:16 +01:00
Gautier Pelloux-Prayer
e45b7bc3f0 Fix database time migration for Android: store time_t as 64bits in database 2014-11-12 15:10:26 +01:00
Gautier Pelloux-Prayer
0892bd026d Fix method linphone_chat_room_get_history which returned one extra message + fix memory leaks in message storage tester 2014-11-05 12:10:15 +01:00
Simon Morlat
54e6f89dac fix message state whose storage in db was broken 2014-10-17 11:25:28 +02:00
Simon Morlat
d90dc113b2 fix format specifiers 2014-10-15 13:57:34 +02:00
Sylvain Berfini
4be7d1c931 Fix message_storage for WP8 2014-10-15 12:31:56 +02:00
Sylvain Berfini
d268f4ab98 Fixed message storage for sent files + fixed update state sql request for sent files 2014-09-12 11:51:57 +02:00
Gautier Pelloux-Prayer
e67ce6d91b Use strictness improved version in oRTP too 2014-09-11 17:13:03 +02:00
Gautier Pelloux-Prayer
717db9fd8d Improved strict compilation flags 2014-09-11 15:46:05 +02:00
Sylvain Berfini
e9a376a014 LinphoneContent stored in database + few changes on Java API regarding file transfer 2014-09-11 12:14:35 +02:00
Gautier Pelloux-Prayer
c8bd7e1007 Fix android writable dir for tests 2014-08-20 09:31:55 +02:00
Gautier Pelloux-Prayer
c53f70e256 Fix erroneous documentation from conversation history new methods 2014-08-19 15:06:50 +02:00
Gautier Pelloux-Prayer
e745c956e7 Add method to retrieve size of a conversation history and a part of it 2014-08-19 11:31:40 +02:00
Simon Morlat
61d1f7b5de allow fps change in linphone_core_update_call() 2014-08-13 19:25:33 +02:00
Guillaume BIENKOWSKI
a29a93cd76 Add an API to set and retrieve chat messages "app data". This allows clients to store resilient data for each messages 2014-06-02 14:06:03 +02:00
Simon Morlat
00fa127aec fix format specifier again 2014-05-30 08:41:32 +02:00
Simon Morlat
1a2e24b14a update mediastreamer2 to fix big regression with vp8 and h264
fix printf formatter to be compatible with visual studio
2014-05-29 14:54:09 +02:00
Guillaume BIENKOWSKI
b56095f59f Add API to debug sqlite timings, and a test to profile the message migration 2014-05-28 14:53:30 +02:00
Guillaume BIENKOWSKI
1a89e8a174 Use a transaction for message migration. On 10000 messages, we have a 20x speedup. 2014-05-28 14:26:14 +02:00
Simon Morlat
dbbea2a41c add debug message to indicate duration of sqlite request 2014-05-28 11:35:31 +02:00
Guillaume BIENKOWSKI
43e42a55f5 Better fix: just in case, don't use the storage id and use a better search condition. 2014-05-22 14:40:42 +02:00
Guillaume BIENKOWSKI
76a5f51e35 Use storage id for storing the message state, instead of filtering by message and time.
This was historically used because notifications of the new message state would supposedly be made with a new instance of the same message, so without a correct storage_id.
I verified that this is not the case anymore.
2014-05-22 13:41:53 +02:00
Simon Morlat
78e59e5bec suppress warnings 2014-05-21 16:04:11 +02:00
Guillaume BIENKOWSKI
0dce1b41db Don't use printf 2014-05-20 11:16:38 +02:00
Guillaume BIENKOWSKI
20c646bc4a Allow multiple calls to linphone_core_message_storage_init 2014-05-20 10:49:34 +02:00
Guillaume BIENKOWSKI
d491197c91 Switch to UTC timestamp storage for messages, instead of string-based local timezone time.
Migration procedure included.
2014-05-19 14:31:03 +02:00
Guillaume BIENKOWSKI
4a2bb40b1b Upcase SQL statements for reading convenience 2014-05-19 14:31:03 +02:00
Guillaume BIENKOWSKI
f27a2387d4 Add list of transient messages for messages that are still transitioning to either "delivered" or "error" state.
This allows the get_history() call to return pointers that are valid when the chat_state_changed callback is called.
2014-05-15 17:14:50 +02:00
Ghislain MARY
4462b0aed0 Fix compilation error when MSG_STORAGE_ENABLED is not defined. 2013-08-19 15:42:30 +02:00
Sylvain Berfini
90b6aa36f2 Added some methods to allow to create a chat message completely and to store a chat message in database + JNI bindings for these methods 2013-08-14 16:48:46 +02:00
Sylvain Berfini
b3c08e5d7e Added method to update message's url field in database in case of changes 2013-08-14 11:17:30 +02:00
Sylvain Berfini
d56d927caf Added external_body_url column in chat storage 2013-08-13 16:42:11 +02:00
Sylvain Berfini
88a0da21c1 Added storage_id field to LinphoneChatMessage struct + method to delete a single message in message_storage API + JNI glue for this method 2013-08-13 15:08:20 +02:00
Simon Morlat
c53e94d504 update documentation for linphone-deps generation on windows
fix compile errors with mingw
2013-08-13 09:47:38 +02:00
Sylvain Berfini
6796242238 Added JNI glue for markAsRead LinphoneChatRoom method + get all the messages with getHistory method if limit <= 0 2013-08-12 14:32:25 +02:00
Sylvain Berfini
1ccf89e4fb Init chatrooms at storage startup using sotred conversations + JNI glue to get chatrooms list 2013-08-09 17:06:39 +02:00
Sylvain Berfini
952adab4f8 Added more JNI bindings for ChatMessages + few fixes in messaeg_storage (some properties weren't set when read from database) 2013-08-09 11:04:50 +02:00
Margaux Clerc
9a9074efd3 Add strtok in ortp for mingw compilation 2013-06-05 14:30:01 +02:00
Margaux Clerc
d0279bf404 Fix bug report 2013-05-07 11:49:54 +02:00
Margaux Clerc
542a84503c change unread messages picture
chnage time for time change
2013-04-08 12:59:42 +02:00
Margaux Clerc
a4cc7689c6 add number of unread messages 2013-03-20 12:36:12 +01:00
Simon Morlat
42ab420ce6 clean message storage API
relax requirement for sqlite3
2013-03-09 10:37:29 +01:00
Margaux Clerc
33e6655152 history chat delete
update README for macos
2013-03-07 16:13:15 +01:00
Margaux Clerc
c62f68350d add message storage 2013-03-07 12:19:28 +01:00