Commit graph

119 commits

Author SHA1 Message Date
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
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
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
Ghislain MARY
4afcb2ede3 Fix user data in chat message state callbacks. 2014-10-20 11:01:31 +02:00
Johan Pascal
bac60c86b0 Multipart Message: let bellesip take care of message header 2014-10-17 13:49:54 +02:00
Ghislain MARY
e5311281fc Store the file transfer server in the linphonerc file. 2014-10-06 11:41:48 +02:00
Sylvain Berfini
54a47a2bd7 Prevent crash if chatroom linphonecore is null 2014-09-23 14:21:59 +02:00
Jehan Monnier
251ba960c5 add new functions linphone_core_add_listener to enable multiple vtable to be registered 2014-09-16 15:00:12 +02:00
Johan Pascal
163548d924 File transfer : multipart message headers are managed as a list of typed headers by bellesip 2014-09-15 00:19:24 +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
717db9fd8d Improved strict compilation flags 2014-09-11 15:46:05 +02:00
Sylvain Berfini
8ca0fac233 More work regarding the JNI bindings and the Java interface for the file upload/download 2014-09-10 14:46:51 +02:00
Ghislain MARY
cd23673317 Another compilation fix for Visual Studio. 2014-09-10 10:33:09 +02:00
Ghislain MARY
36de60130b Fix compilation on Windows. 2014-09-10 10:00:56 +02:00
Johan Pascal
053fd46975 File transfer: bellesip manages the multipart message component's header 2014-09-09 00:52:40 +02:00
Simon Morlat
17607ab3b2 fix leak of messages in tester 2014-09-08 19:41:45 +02:00
Simon Morlat
f4a4a6440b Support for incoming UPDATEs within dialog.
For tests, the possibility to send an UPDATE with linphone_core_update_call() has been added thanks to a $
Added possibility to configure Supported SIP header.
2014-09-08 19:02:29 +02:00
Ghislain MARY
6639e57535 Fix crash in Python wrapper when the core is destroyed before the chat rooms. 2014-09-01 10:52:41 +02:00
Ghislain MARY
3d4821c69e Renamed get_to(), set_to(), get_from() and set_from() respectively to get_to_address(), set_to_address(), get_from_address() and set_from_address(). 2014-08-28 15:11:17 +02:00
Jehan Monnier
9b68f18820 keep linphone_core_get_chat_room(LinphoneCore *lc, const LinphoneAddress *addr) with const param 2014-08-28 14:59:00 +02:00
Ghislain MARY
60aee12e5c Fix linphone_core_get_chat_room() that was not creating the chat room if it did not exist yet. 2014-08-28 12:03:17 +02:00
Ghislain MARY
294916d0eb Use belle-sip reference counting for LinphoneChatRoom objects. 2014-08-27 12:37:58 +02:00
Ghislain MARY
067c8a9527 For functions returning or taking an MSList as an argument, specify what the MSList contains in the documentation. 2014-08-14 14:44:59 +02:00
Ghislain MARY
09b56423dc Fix compilation with Visual Studio. 2014-08-03 21:04:09 +02:00
Ghislain MARY
3dc5801283 Follow naming conventions of linphone core callbacks. 2014-08-01 14:40:38 +02:00
Margaux Clerc
b45a376727 Fix crash in chatroom destroy 2014-07-31 11:15:48 +02:00
Johan Pascal
97050ac654 File Transfer: manage i/o error during file download from server
- note : not functional, test is bugged and commented. To be fixed.
2014-07-30 17:14:56 +02:00
Johan Pascal
ce24877b9d File transfer: add a cancel function to the core
- allow cancellation during upload or download
+ fix bug in file transfer message tester
2014-07-29 21:16:01 +02:00
Ghislain MARY
6b290a01ea Fix compilation. 2014-07-11 11:04:08 +02:00
Guillaume BIENKOWSKI
38ea4ee8a3 Made the code more readable 2014-07-10 17:44:58 +02:00
Guillaume BIENKOWSKI
575c9a20d2 Fix crash when launching file download from message after linphone reboot.
We now launch the download from the external_body_url and create a file_transfer_information when the response headers are received.
2014-07-10 17:44:58 +02:00
Simon Morlat
71d498fd95 fix potential crash during provisioning
update po file and fr translation
2014-07-01 21:57:31 +02:00
Ghislain MARY
484d05b02b Fix wrong character in comment. 2014-07-01 15:45:10 +02:00
Jehan Monnier
39b9fcd8e7 protect chat message from being released in delivery error cb 2014-07-01 11:52:52 +02:00
Johan Pascal
a18092880b File transfer uses multipart body handler for uploading 2014-06-30 01:27:17 +02:00