Commit graph

470 commits

Author SHA1 Message Date
Simon Morlat
32eb45dfc6 fix bad handling of remote params, resulting in wrong information given in them in case of received INVITE without SDP 2015-09-24 11:15:34 +02:00
Simon Morlat
28a7d3dbbe fix bug where a pause reINVITE was having a video stream while the original INVITE (made by other party) wasn't proposing video at all. 2015-09-23 18:11:03 +02:00
Simon Morlat
6e96789f33 fix memory leaks 2015-09-23 16:39:18 +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
6ceaff09f6 fix check_media_direction again. 2015-09-21 10:47:18 +02:00
Simon Morlat
82286e695b attempt to repair windows build 2015-09-20 19:46:35 +02:00
Simon Morlat
e0d2b13123 fix regression with previous commit regarding auth infos and ha1 2015-09-18 22:35:10 +02:00
Simon Morlat
096b71cd7e refine management of ha1 vs clear text passwords.
if store_ha1_password option is set, then never store clear text password. Also whenever realm is known, compute the ha1 and drop the clear text password.
2015-09-18 13:26:36 +02:00
Sylvain Berfini
9127666fe5 Do not use -1 for unused steams, instead use an unused index 2015-09-17 16:00:09 +02:00
Sylvain Berfini
405ca6abbd Fix stream indexes computed too late 2015-09-17 11:35:57 +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
Sylvain Berfini
15b6353e30 Started rework of streams' indexes for RTT 2015-09-15 17:27:40 +02:00
Sylvain Berfini
879dd2cb2f Merge branch 'dev_call_logs_sql' 2015-09-14 17:11:17 +02:00
Sylvain Berfini
e141a5ea38 Merge branch 'dev_call_logs_sql' into dev_rtt 2015-09-14 15:32:38 +02:00
Sylvain Berfini
1a43b01696 Merge branch 'master' into dev_rtt 2015-09-10 14:19:52 +02:00
Simon Morlat
13f0d85f68 implement automatic repairing of SIP dialogs broken by a network disconnection. 2015-09-08 21:20:25 +02:00
Sylvain Berfini
6d9af5fa54 Fix ref leak + renamed some functions + improved MSList handling 2015-09-08 14:54:28 +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
Gautier Pelloux-Prayer
f46f1fbe77 linphonecall: LinphoneCoreCallStateChangedCb should never receive NULL as last argument "message" 2015-09-07 17:38:41 +02:00
Simon Morlat
b9c32d33a5 send presence to multiple instances of a same user that subscribed to us. Fixes memory leak. 2015-09-04 22:23:00 +02:00
Simon Morlat
0d87a22d1d fix bugs in Paused state management. It was possible to transition from Paused to PausedByRemote, which actually breaks the Paused state, and eventually allows the pauser to be resumed by the paused. 2015-09-03 21:39:58 +02:00
Simon Morlat
ed2385ce28 Refactoring of states, handling of media direction, late offering and so on.
Almost working except one test.
2015-09-03 21:39:58 +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
Simon Morlat
973627b165 adapt to new mediastreamer2, where big renaming occurs to fix incorrect function naming.
Fix an fopen(NULL) reported by valgrind.
2015-08-10 23:02:45 +02:00
Jehan Monnier
803d2052a1 add Real Time Text api with stubbed implementation over SIP Messages. 2015-08-01 18:16:12 +02:00
Sylvain Berfini
d65b32ce09 Added displayName methods to account creator 2015-07-31 16:09:42 +02:00
Ghislain MARY
a5fdc283f7 The linphone_proxy_config_get_contact symbol needs to be exported for the tester. 2015-07-29 17:37:42 +02:00
François Grisez
2c63fa85b0 Fix crash due to libintl on Windows with Visual Studio 2015-07-29 17:25:47 +02:00
Jehan Monnier
2712cb4834 Clear pending tcp/tls address of record in case of network change. Very useful for legacy SIP server with no sip instance support and limited number of air. 2015-07-29 17:09:04 +02:00
Gautier Pelloux-Prayer
d9f41fff5a proxy config: modify linphone_proxy_config_get_contact and add linphone_proxy_config_get_identity_address returning LinphoneAddress and move all documentation to linphone_proxy_config.h 2015-07-29 13:26:53 +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
Ghislain MARY
a8006a0160 Use void* for window ids. 2015-07-20 12:16:26 +02:00
François Grisez
74fa01a0e2 Define ENABLE_NLS instead of HAVE_INTL when internationalization is available 2015-07-07 14:04:39 +02:00
Ghislain MARY
8722f8a990 Add Visual Studio project for Windows 10. 2015-07-03 16:56:14 +02:00
Gautier Pelloux-Prayer
ea36261c80 build: rename HAVE_GETTEXT with HAVE_INTL 2015-07-03 15:37:32 +02:00
François Grisez
52610bf432 Fix build issue 2015-06-30 16:46:48 +02:00
Ghislain MARY
e9b9d9ad2e Fix build with Visual Studio. 2015-06-26 15:39:59 +02:00
Simon Morlat
3c94dd0b9e repair linphone_core_check_payload_type_usability() and add non regression test. 2015-06-24 17:46:39 +02:00
Ghislain MARY
98f2508be5 Allow linphone to be configured to use RTP sessions for input/output of audio and video streams. 2015-06-18 14:33:11 +02:00
Ghislain MARY
5b4513e776 Change account creator and xmlrpc API so that Python wrapper generation works correctly. 2015-06-09 15:18:37 +02:00
Ghislain MARY
6565d85b1d Merge branch 'dev_xmlrpc' 2015-06-08 13:55:50 +02:00
Ghislain MARY
17cad99e4f Rework assistant for asynchronous XML-RPC requests. 2015-06-05 15:49:47 +02:00
Simon Morlat
c88685b194 fix memory leak and windows build 2015-06-05 12:14:56 +02:00
Ghislain MARY
fb8d223f54 Improve XML-RPC API.
- Handle XML-RPC request returning a string response
- Allow creating a request adding the arguments one at a time (useful for
  automatically generated wrappers where variable args functions can be an
  issue)
2015-06-03 13:49:28 +02:00
Ghislain MARY
16eba02ebf Handle XML-RPC request in liblinphone directly instead of using libsoup. 2015-06-02 11:02:23 +02:00
Jehan Monnier
68532f69bc make lime optional for file sharing 2015-06-01 12:49:53 +02:00
Jehan Monnier
258366937a implement re-invite from multicast to unicast call. 2015-05-13 09:15:29 +02:00