Gautier Pelloux-Prayer
dce962bf58
fix leaks
2016-07-19 12:20:24 +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
Ghislain MARY
3c0a4e15c3
Do not use deprecated ms_list_remove() function.
2016-06-27 09:30:16 +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
Gautier Pelloux-Prayer
0e082f1a40
chat: improve message_tester suites and fix memory leaks
2016-06-16 11:25:40 +02:00
Jehan Monnier
d8158669f3
add tests for lime & file transfer
2016-06-09 15:14:46 +02:00
Simon Morlat
e67e881283
change prototype of lime_freeKeys() to avoid passing a full structure by copy.
2016-06-01 19:39:21 +02:00
Gautier Pelloux-Prayer
2fc0aef1b9
gtk: add lime icon in chat
2016-05-31 17:43:46 +02:00
Gautier Pelloux-Prayer
cb9816e9fb
lime.c: implement "preferred" mode
2016-05-31 16:08:35 +02:00
Sylvain Berfini
2ed0e5547c
Added linphonerc field to disable RTT messages database storage
2016-05-06 15:25:11 +02:00
Sylvain Berfini
8fdfb4160a
Improved chat_message_put_char method to store message if end of line character is passed + improved tester
2016-05-06 15:17:57 +02:00
Gautier Pelloux-Prayer
55900bbf66
chat: add possibility to use Lime conditionnally (when secrets have been shared only)
2016-02-25 11:30:44 +01:00
Gautier Pelloux-Prayer
30d30f60cc
chat.c: dont change message state to in progress if we failed to send it (fix improper field test)
2016-02-23 10:49:13 +01:00
Simon Morlat
023f3849e1
Revert "chat.c: dont change message state to in progress if we failed to send it"
...
This reverts commit 17ee1f1590 .
2016-02-23 01:02:47 +01:00
Gautier Pelloux-Prayer
17ee1f1590
chat.c: dont change message state to in progress if we failed to send it
2016-02-22 16:25:47 +01:00
Jehan Monnier
2a455a5fc7
remove some warnings
2016-01-19 15:39:31 +01:00
Sylvain Berfini
93c593da83
Fixed pending_message text value when dealing with accented chars + added test
2015-11-02 14:38:08 +01:00
Sylvain Berfini
868c725dae
Improved a few things in RTT + added tests for message end character compatibility
2015-11-02 12:05:47 +01:00
Gautier Pelloux-Prayer
217f50fa31
chat.c: set chat direction before sending chat message
2015-10-14 09:37:42 +02:00
Gautier Pelloux-Prayer
4e3ea86c90
chat.c: when sending chat message, set state to inprogress after having initialized the chat message, not before
2015-10-08 14:49:08 +02:00
Sylvain Berfini
982c96847d
Set a temporary time when creating a chat message
2015-10-05 10:24:16 +02:00
Ghislain MARY
61ac1f8173
Fix compilation warnings when building for Windows 10.
2015-10-01 14:29:00 +02:00
Sylvain Berfini
15d4158834
Updated RTT end of message character from crlf to unicode 2028
2015-09-28 10:25:04 +02:00
Simon Morlat
46e3ae725a
fix RTT CRLF handling (not sure it is correct but at least it no longer does invalid reads)
...
fix memory leak
2015-09-25 18:27:27 +02:00
Simon Morlat
8e200bcf98
fix memory leaks in RTT and fix generation of local media description
2015-09-25 17:28:10 +02:00
Sylvain Berfini
4a5a866cd6
Finally RTT test is working
2015-09-25 15:33:53 +02:00
Sylvain Berfini
0216630824
More work on RTT
2015-09-24 17:21:35 +02:00
Gautier Pelloux-Prayer
24687ecbe9
message_tester.c: abort test if message has not been received, fix crash and reformat it
2015-09-24 14:52:04 +02:00
Simon Morlat
489a5f3b8e
don't cancel an http request that is already terminated
2015-09-23 23:21:06 +02:00
Sylvain Berfini
a2fd11bed7
filled linphone_call_start_text_stream + started to replace rtt stub implementation by real one
2015-09-23 16:19:48 +02:00
Gautier Pelloux-Prayer
879e017e1e
tester: update bc_tester_utils and fix some tests - disable stderr for sipp because corrupting output is not great at all
2015-09-23 14:09:52 +02:00
Simon Morlat
76263deaff
fix crash in linphone_core_destroy() when releasing the chat rooms while belle_sip_provider_t no longer exists, and fix many memory leaks
2015-09-22 22:43:31 +02:00
Gautier Pelloux-Prayer
461876a9a3
chat.c: split chat and file transfer in 2 files and fix various memory leaks
2015-09-22 14:03:26 +02:00
Sylvain Berfini
b5d0667594
Merge branch 'dev_rtt'
2015-09-22 11:12:34 +02:00
Simon Morlat
0307ee5fa3
fix crash and memleak in test.
2015-09-18 10:21:10 +02:00
Gautier Pelloux-Prayer
f0bd070bc2
chat: fix some crashing tests and disable the others for now
2015-09-17 17:16:29 +02:00
Gautier Pelloux-Prayer
fdf5abefd6
chat: refactoring it to always invoke callbacks when changing state, reenable disabled tests and add two new file upload tests where liblinphone should not crash while it does currently
2015-09-16 16:08:11 +02:00
Gautier Pelloux-Prayer
654990ac5c
chat.c: fix invalid logging each time a chat room is destroyed
2015-09-14 17:26:07 +02:00
Sylvain Berfini
1a43b01696
Merge branch 'master' into dev_rtt
2015-09-10 14:19:52 +02:00
Simon Morlat
44327da3ec
fix declrations
2015-09-04 15:13:51 +02:00
Simon Morlat
cf6995ef5c
clean chat room api.
...
fix multiple memory leaks, mainly in gtk UI
2015-09-04 14:57:25 +02:00
Simon Morlat
9f2b9df16a
Revert "chat: fix crash when receiving message status notification AFTER having deleted the chat room"
...
This reverts commit 08e923a41c .
This commit breaks compilation.
2015-09-03 21:29:44 +02:00
Gautier Pelloux-Prayer
08e923a41c
chat: fix crash when receiving message status notification AFTER having deleted the chat room
2015-09-03 17:07:52 +02:00
Gautier Pelloux-Prayer
434907917e
chat.c: properly clean filetransfer when it failed for io error and/or server issue
2015-09-02 14:33:40 +02:00
Jehan Monnier
803d2052a1
add Real Time Text api with stubbed implementation over SIP Messages.
2015-08-01 18:16:12 +02:00
Gautier Pelloux-Prayer
747fd8e6f6
file_transfer: copy file_transfer_information as well when cloning chat message...
2015-07-29 14:55:48 +02:00
François Grisez
36eea822d2
Add a cache for unread messagaes count in LinphoneChatRoom
...
That fix a performance issue when typing a message. The sqlite database
was accessed each time a character was typed in order to mark all
preceeding messages as read. That was done even if all message was marked
as read.
This patch add cache for unread messages count. Then, the count is only carried out
at the first call of linphone_chat_room_get_unread_messages_count(). This function
is used in linphone_chat_room_mark_as_read() to prevent database from being accessed
if all messages are already marked as read.
2015-07-22 23:56:19 +02:00
Gautier Pelloux-Prayer
4c9a9d7a5d
chat.c: if file transfer has been cancelled, do not notify linphone core to avoid notification on invalid object. Probably must change user_body_handler instead
2015-07-01 17:27:35 +02:00
Simon Morlat
d36a3f2746
remove undocumented and redundant function (linphone_chat_message_set_external_body_url() could be used instead)
2015-06-22 18:09:50 +02:00