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
John Preston
0c713a930a
Remove app.h / facades.h from precompiled header.
2019-10-01 23:59:46 +03:00
John Preston
6343221d7b
Remove many includes from stdafx.pch.
2019-09-06 19:31:07 +03:00
John Preston
02b65a42f7
Move message client flags to a separate field.
2019-08-09 20:19:23 +01:00
John Preston
4bad642190
Remove some more Auth() calls.
2019-08-09 11:50:49 +01:00
John Preston
bacaf805b5
Pass SessionNavigation to some boxes.
2019-07-25 20:55:11 +02:00
John Preston
ff44094ded
Rename AuthSession to Main::Session.
2019-07-24 13:45:24 +02:00
John Preston
c5df4db621
Fix possible race conditions in msgid().
2019-07-15 16:00:30 +02:00
John Preston
567bf60644
Use getters in MTP classes.
2019-07-05 16:23:07 +02:00
John Preston
dc102bd9e8
Finish working with localstorage before ~AuthSession.
2019-06-22 12:36:35 +02:00
John Preston
4917ca7b32
Remove all legacy global namespace langs.
2019-06-21 11:06:52 +02:00
John Preston
87fc066e67
Use tr:: instead of lang().
2019-06-21 11:06:51 +02:00
John Preston
d3ca6b96a1
Use tr:: instead of __generic.
2019-06-21 11:06:50 +02:00
John Preston
a7c8feaecb
Use tr:: instead of langFactory and __rich.
2019-06-21 11:06:50 +02:00
John Preston
d1d98c3bb1
Use tr:: instead of langFactory in box titles.
2019-06-21 11:06:50 +02:00
John Preston
0868a9f7b9
Use Controller::account in MainWindow.
2019-06-06 14:59:00 +03:00
John Preston
eb438e35ee
Remove old download priority arguments.
2019-06-04 14:30:43 +03:00
John Preston
9c613fe2f7
Move system versions to platform/platform_info.
2019-06-04 14:23:14 +03:00
John Preston
08bddc5579
Move messages data to AuthSession.
2019-05-01 16:11:42 +04:00
John Preston
99bb09374d
Use new animations engine everywhere.
2019-04-02 14:33:53 +04:00
John Preston
d36f6a0322
Update API scheme to layer 98.
2019-03-29 14:24:06 +04:00
John Preston
ed93669693
Beta version 1.5.16: Update libtgvoip.
2019-03-12 19:04:22 +04:00
John Preston
383b29dbd8
Fix possible crash in calls.
...
Fixes #5732 .
2019-03-12 15:26:29 +04:00
John Preston
fe618bd652
Use crl::time/now instead of TimeMs/getms.
2019-02-19 11:06:33 +04:00
John Preston
032694ad9e
Move files to media/audio and media/clip.
2019-02-13 15:41:33 +03:00
John Preston
a1baa23a52
Use both thumbnails in photos and documents.
...
Fixes #5602 .
2019-01-28 13:10:45 +03:00
John Preston
a70e72f75d
Application->Sandbox, Messenger->Application.
2019-01-23 12:51:58 +04:00
John Preston
4111da1dd0
Move some calls from App namespace.
2019-01-22 17:10:01 +04:00
John Preston
c5a41e1f55
Divide data/data_peer and remove from PCH.
2019-01-17 12:21:29 +04:00
John Preston
1f8626b383
Move App::histories to Data::Session.
2019-01-17 12:21:28 +04:00
Gregory K
11b991cddc
Add call settings ( #5540 )
2019-01-05 15:08:02 +04:00
John Preston
22b47925d4
Fix assertion violation in calls.
2018-12-25 12:21:00 +04:00
John Preston
eb7201a55b
Strictly match message / media types.
2018-12-21 17:09:30 +04:00
John Preston
92738b378c
Version 1.5: Fix calls.
2018-12-10 19:37:52 +04:00
John Preston
59ecf375b0
Move tg:// handlers to a separate module.
...
Also move joinGroupByHash and stickerSetBox from MainWidget.
2018-11-26 17:31:13 +04:00
John Preston
e737fa59b3
Submit local Peer2PeerNobody setting to the cloud.
2018-11-16 20:17:58 +04:00
John Preston
8d27d8efcf
Use cloud-based settings for p2p in calls.
2018-11-16 20:17:58 +04:00
John Preston
5b0ad0508a
Update libtgvoip.
2018-11-09 20:13:59 +04:00
John Preston
e482f041a8
Allow disabling even system proxy settings.
...
Fixes #4944 .
2018-11-05 18:52:01 +04:00
John Preston
8850d974a2
Pass correct FileOrigin for userpics.
2018-11-04 15:51:40 +04:00
John Preston
595134cab5
Move image-related modules to ui/image/.
2018-11-04 15:51:37 +04:00
John Preston
113f665295
Move Image and derived to ui/image.
2018-11-04 15:51:36 +04:00
John Preston
a429e22b93
Beta version 1.4.4: Add some checks.
2018-10-17 09:25:24 +03:00
Grishka
44eac2bf07
Added support for platform-specific microphone permission in calls
2018-10-17 08:53:23 +03:00
John Preston
5b4abe69aa
Add interface scale (100%..150%) for Retina.
...
Fixes #69 , fixes #3126 , fixes #3789 .
2018-10-16 23:00:55 +03:00
John Preston
b847c8424a
Use single emoji sprite and scale + cache it.
2018-10-15 09:03:29 +03:00
John Preston
377689ae86
Fix build for Xcode 10.
2018-09-19 19:22:14 +03:00
John Preston
c4ca180745
Add call peer-to-peer setting in Privacy&Security.
2018-09-19 19:22:14 +03:00
John Preston
63103ede81
Update libtgvoip.
2018-09-01 18:56:08 +03:00
John Preston
839885910c
Pass FileOrigin in all file downloads.
2018-08-20 17:26:28 +03:00
John Preston
be043a4437
Remove BypassWindowManagerHint in MediaView / Passport.
...
It makes all kinds of usages buggy, including choose file dialog.
Fixes #4936 .
I hope fixes #4950 , I hope fixes #4955 , I hope fixes #3553 .
2018-07-31 22:55:30 +03:00
John Preston
c2fa149ffd
Replace InvokeQueued with on_main for has_weak_ptr.
2018-06-12 01:02:04 +03:00
John Preston
9ebeddbed8
Request, show and require accept for updated ToS.
2018-06-06 21:37:01 +03:00
John Preston
d8a4ede4b5
Fix incoming calls.
...
Regression was introduced in 1392e05ab1
.
Fixes #4804 .
2018-06-06 13:28:43 +03:00
John Preston
72f95b984f
Replace cDebug() with Logs::DebugEnabled().
2018-06-05 21:51:05 +03:00
John Preston
294ed1bb17
Update libtgvoip to 2.1.
2018-06-04 23:14:00 +03:00
John Preston
dd81f5d59f
Replace base::lambda with shorter term.
...
base::lambda -> Fn (type alias for std::function).
base::lambda_once -> FnMut (type alias for base::unique_function).
base::lambda_guarded -> crl::guard.
base::lambda_call_type_t -> crl::deduced_call_type.
2018-06-04 18:38:27 +03:00
John Preston
5cfead762d
New design of the passport in a separate window.
2018-06-03 23:16:34 +03:00
John Preston
1392e05ab1
Move all gsl::byte helpers to base/bytes module.
2018-06-03 23:16:34 +03:00
John Preston
46976c4e03
Display signal bars in calls.
2018-05-27 12:35:38 +03:00
John Preston
a5cbade8ec
Update libtgvoip.
2018-05-24 20:25:04 +03:00
John Preston
4b763a76df
Instant in-field emoji and text replaces.
...
Fixes #4410 . Fixes #522 .
2018-05-13 18:14:02 +03:00
John Preston
48c1576d7f
Add 'Use proxy for calls' option.
2018-05-07 00:29:53 +03:00