Commit Graph

203 Commits

Author SHA1 Message Date
John Preston 38546c701a Round outgoing video preview. 2020-08-11 18:21:40 +04:00
John Preston 4971e281fa Improve design for all controls states. 2020-08-11 18:21:40 +04:00
John Preston d4b8fa70a7 Extract Calls::Userpic and Calls::VideoBubble. 2020-08-11 18:21:40 +04:00
John Preston 95de762529 Support three-value VideoState. 2020-08-11 18:21:40 +04:00
John Preston a89634b767 Start call panel redesign. 2020-08-11 18:21:40 +04:00
John Preston 4bf6550e24 Update API scheme to layer 117. 2020-08-11 18:21:40 +04:00
John Preston 83759adb5f Start video call from video call service message. 2020-08-11 18:21:40 +04:00
John Preston 6f90e57523 Support special video calls service messages. 2020-08-11 18:21:40 +04:00
John Preston aba8f72c36 Fix camera start. 2020-08-11 18:21:40 +04:00
John Preston 35dfb9fab3 Show outgoing video stream. 2020-08-11 18:21:40 +04:00
John Preston b692242012 Allow reference tgcalls implementation. 2020-08-11 18:21:40 +04:00
John Preston c1f727bde9 Update tgcalls to use new protocol. 2020-08-11 18:21:40 +04:00
John Preston f3808bdc24 Start using webrtc::VideoTrack. 2020-08-11 18:21:40 +04:00
John Preston da3bbba497 Allow enable/disable video in a call. 2020-08-11 18:21:40 +04:00
John Preston 78c9c1e7f8 Update tgcalls library. 2020-08-11 18:21:40 +04:00
John Preston 46550381a4 Fix build on macOS. 2020-08-11 18:21:40 +04:00
John Preston 815300bffc Fix video between tdesktop instances. 2020-08-11 18:21:40 +04:00
John Preston 12e0399cf4 Add tgcalls library. 2020-08-11 18:21:40 +04:00
John Preston 71040464c5 Request camera permissions on macOS. 2020-08-11 18:21:40 +04:00
John Preston 6d36176a8d Add test implementation of webrtc calls. 2020-08-11 18:21:40 +04:00
John Preston eb1845e33b Fix crash in session destruction.
Also use rpl::event_stream for downloaderTaskFinished.
2020-07-01 12:26:29 +04:00
John Preston 79a361ba43 Move call management to Core::App. 2020-06-25 21:57:36 +04:00
John Preston 83538675ce Move a lot of settings to Core::Settings. 2020-06-23 21:53:42 +04:00
John Preston 4d6cc58f0d Move session settings to main_session_settings. 2020-06-23 21:53:42 +04:00
John Preston 357caf8007 Keep separate MTP::Config's for separate accounts. 2020-06-23 21:53:41 +04:00
John Preston 6fc5e22882 Allow several accounts in Core::App. 2020-06-23 21:53:40 +04:00
John Preston 3c4e959468 Replace observer_peer with rpl interface. 2020-06-23 21:53:40 +04:00
John Preston b0f9ad71dd Check some more App::main()s. 2020-06-23 21:53:40 +04:00
John Preston 0ad7dcaef9 Remove MTP::MainInstance() global access point. 2020-06-23 21:53:40 +04:00
John Preston 7f09da9e32 Use MTP::Sender in Intro. 2020-06-23 21:53:39 +04:00
Ilya Fedin be96bf2812 Set parent for dialogs only on Wayland 2020-06-01 18:09:34 +04:00
John Preston 36fbdfb380 Simplify Image, remove ImageSource. 2020-06-01 18:09:33 +04:00
John Preston 6513422e40 Remove legacy image-related code. 2020-06-01 18:09:33 +04:00
John Preston f066e0f05a Use Data::CloudImage for userpics. 2020-06-01 18:09:33 +04:00
John Preston e27d2bc2d5 Move photo data to Data::PhotoMedia. 2020-06-01 18:09:32 +04:00
John Preston ea4044e38c Use TgVoip interface instead of VoIPController. 2020-06-01 18:09:31 +04:00
Ilya Fedin bdf28370f9 Fix call window size on Sway 2020-05-25 09:29:15 +04:00
Ilya Fedin 9cbe899688 Fix call window hiding when compositing is not supported 2020-05-12 09:17:27 +04:00
RadRussianRus ca49e74b6f Show bot privacy status 2020-05-01 12:10:32 +04:00
John Preston ed715fb810 Update API scheme to layer 111. 2020-03-27 20:36:01 +04:00
John Preston 6f672ecdc3 Request history parts through Histories. 2020-02-21 18:48:30 +04:00
John Preston 4d737b35da Fix PiP window on macOS. 2020-02-05 18:39:47 +04:00
John Preston e943264823 Pass MTP::Instance to MTP::Sender. 2019-11-29 15:36:05 +03:00
John Preston cfe12f773f Move some modules to lib_mtproto. 2019-11-18 12:28:14 +03:00
John Preston 08bfe6f1c1 Extract mtproto key generation code. 2019-11-15 16:16:32 +03:00
Nicholas Guriev 793862bee6 Fix -Wredundant-move and -Wdeprecated-copy warnings (#6663)
* Do not move result at end of function

This makes GCC 9.1.2 happy with the active -Wredundant-move warning.
Indeed, such moving of local variables or local arguments before
returning is unnecessary and prevents the compiler from copy elision
optimization.
2019-11-12 18:15:34 +03:00
John Preston a6c84c36c0 Use layers and boxes from lib_ui. 2019-10-19 12:27:52 +04:00
John Preston 246c45ce0e Use lib_ui from submodule. 2019-10-19 12:27:28 +04:00
John Preston 849deb57e2 Move many widget classes to lib_ui. 2019-10-01 23:59:46 +03:00
John Preston c5845f17ae Remove twidget header. 2019-10-01 23:59:46 +03:00