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
Ghislain MARY
e7db154574
Fix compilation error.
2015-06-15 15:56:36 +02:00
Gautier Pelloux-Prayer
a312cb8988
chat.c: factorize some code and set call state before calling filetransfer callbacks so that message state and callback parameter are consistent
2015-06-15 15:48:58 +02:00
Gautier Pelloux-Prayer
24d86a55cf
chat.c: move doxygen documentation from source to header linphonecore.h to access it from xcode
2015-06-11 16:27:41 +02:00
Jehan Monnier
68532f69bc
make lime optional for file sharing
2015-06-01 12:49:53 +02:00
Ghislain MARY
c5e96802be
Add include of libxml/tree.h for xmlNewTextChild() function.
2015-03-17 10:05:49 +01:00
Simon Morlat
b2b1410a69
fix multiple memory leaks
2015-03-13 15:18:08 +01:00
Jehan Monnier
5647e57dc1
avoid crash if trying to download a Chat message without associated file
2015-03-12 20:58:04 +01:00
Johan Pascal
d133ebd5eb
Merge remote-tracking branch 'linphone-public/master' into dev_lime
2015-02-26 22:46:24 +01:00
Ghislain MARY
20a5c21ee7
Fix memory leak of some strings extracted from XML documents.
2015-02-18 17:49:33 +01:00
Ghislain MARY
23ba230da6
Implement cancellation of file transfer for chat messages.
2015-02-18 16:59:10 +01:00
Margaux Clerc
b8ce037ffc
Add read flag to transfert message
2015-01-09 17:04:31 +01:00
Gautier Pelloux-Prayer
9e6fa8ceb6
Doxygen: replace invalid @returns with @return
2015-01-09 11:42:05 +01:00
Ghislain MARY
98d1d15b0c
Set body size when using the file body handler.
2014-12-19 14:34:32 +01:00
Ghislain MARY
1b32ed0316
Handle file transfer upload with memory body handler.
2014-12-17 17:02:52 +01:00
Ghislain MARY
96bd60cc47
Fix crash when sending file transfer message with a file transfer server that has not been set.
2014-12-17 17:02:23 +01:00
Ghislain MARY
89565386ac
Working file transfer in Python.
...
- Add the LinphoneBuffer object so that file transfer callbacks do not pass out parameters
- Use the LinphoneBuffer object in the file transfer callbacks
- Implement the file_transfer_send callback in the Python file transfer test
2014-12-10 16:35:19 +01:00
Ghislain MARY
a6cfecf3e4
Handle events in classes other than LinphoneCore.
...
Callbacks getters still need to be implemented correctly.
2014-12-05 16:14:04 +01:00
Guillaume BIENKOWSKI
e6209d9051
Merge commit '2e515642f07eb33974583587ddb2ee4669d4ff29' into dev_lime
...
Conflicts:
coreapi/chat.c
2014-11-27 18:01:33 +01:00
Ghislain MARY
4ac1ccdf05
Handle the callbacks associated with a chat message directly in the LinphoneChatMessage object instead of in the LinphoneCore object.
2014-11-24 16:16:17 +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
Ghislain MARY
b0b705da7a
Rename wrong API.
2014-11-14 14:46:14 +01:00
Simon Morlat
48a5ba6d98
code cleanup
2014-11-13 11:38:41 +01:00
Guillaume BIENKOWSKI
dec0ccb9df
Merge remote-tracking branch 'public/master' into dev_lime
...
Conflicts:
build/android/Android.mk
coreapi/private.h
2014-10-31 10:47:13 +01:00
Ghislain MARY
63ec504cfc
Add accessor to get the file transfer filepath.
2014-10-21 14:19:18 +02:00
Ghislain MARY
9a128da1db
Handle file transfer download to a file.
2014-10-21 12:31:49 +02:00
Sylvain Berfini
7126c413a7
Fix typo
2014-10-20 14:51:09 +02:00
Sylvain Berfini
3c4a6f7ed4
Added callback user data to start_file_download
2014-10-20 14:44:23 +02:00
Ghislain MARY
4717028ded
Allow sending a chat message containing a file from its path.
2014-10-20 11:09:49 +02:00
Ghislain MARY
2f47ffacd3
Change file transfer progression indication to have the number of bytes sent/received and the total.
2014-10-20 11:05:27 +02:00