Commit Graph

857 Commits

Author SHA1 Message Date
John Preston e7b5ab56e0 Handle getGroupCallStreamChannels errors. 2022-02-28 13:19:04 +03:00
John Preston 05be9d72b8 Fix crash on bad_function_call in ChooseJoinAsProcess. 2022-02-28 12:52:23 +03:00
John Preston 8d575a5fbf Fix rtmp stream current time request. 2022-02-28 12:51:17 +03:00
23rd 592f47a751 Removed Calls::Group::ConfirmBoxBuilder. 2022-02-28 09:08:01 +03:00
23rd df125bac19 Removed Ui::ConfirmDontWarnBox. 2022-02-28 09:08:01 +03:00
23rd 5718789d53 Replaced Ui::InformBox and Ui::ConfirmBox with GenericBox. 2022-02-28 09:08:01 +03:00
23rd 8909b654d3 Added ability to start livestream with RTMP. 2022-02-28 08:05:02 +03:00
23rd 97dbb98862 Added ability to schedule live stream without "Join As" choosing. 2022-02-28 08:04:46 +03:00
23rd a3d00b1953 Replaced args for Calls::Instance::startOrJoinGroupCall with struct. 2022-02-28 08:04:46 +03:00
23rd f2f4f9b24b Divided ChooseJoinAsProcess::start into methods. 2022-02-28 08:04:46 +03:00
John Preston e89c95551f Show correct downloads elements context menu. 2022-02-27 20:26:52 +03:00
John Preston 3425dc027c Show downloaded files in Downloads. 2022-02-27 20:26:52 +03:00
John Preston 1710863231 Update some icons. 2022-02-27 20:26:52 +03:00
23rd 7cd14b8c4e Renamed anim::interpolateF to anim::interpolateToF. 2022-02-25 19:41:15 +03:00
John Preston 1de35cf8ef Support receiving RTMP streams in group calls. 2022-02-25 19:41:15 +03:00
John Preston 45398bb54e Update tgcalls with streams support. 2022-02-25 19:41:15 +03:00
John Preston 6daa267329 Adjust privacy edit boxes to the mockup. 2022-02-25 14:14:42 +03:00
John Preston 9c903bacf2 Adjust main settings icons to the mockup. 2022-02-25 14:14:41 +03:00
John Preston 7b0513a1ea Improve box rounding and buttons. 2022-02-25 14:14:40 +03:00
John Preston da18ab3d41 Fix group call settings button position. 2022-02-04 22:56:28 +03:00
23rd 641bb01ba2 Added ability to set forward options from ShareBox. 2022-02-04 22:20:17 +03:00
John Preston f918c6bb83 Pass QWindow to PowerSaveBlocker. 2022-02-04 09:43:56 +03:00
John Preston 9c01295521 Create PowerSaveBlocker-s on calls / video / audio. 2022-02-02 12:05:33 +03:00
John Preston 28f2c213f7 Remove app module. Support delayed quit by Cmd+Q on macOS. 2022-01-27 15:54:20 +03:00
John Preston cbca78ff63 Fix build with GCC. 2022-01-23 00:27:17 +03:00
John Preston 3ff17a8789 Refactor image transformation interfaces. 2022-01-21 15:33:44 +03:00
John Preston 9877845b9c Don't always enable screencast logs. 2022-01-21 15:32:45 +03:00
John Preston 4934b026d3 Improve call / voicechat title controls on Windows 11. 2022-01-18 15:53:04 +03:00
John Preston 4d11ad45db Use common title bar buttons in Call Panel. 2022-01-17 19:21:34 +03:00
John Preston 4659499340 Update window title icons. 2022-01-17 11:18:12 +03:00
23rd e11904e05b Removed TextParseRichText. 2022-01-12 11:54:24 +03:00
John Preston 20411be9bd Allow creating separate windows for peers. 2022-01-04 14:18:13 +03:00
John Preston 2c36623cfb Add some icons to popup menus. 2021-12-29 21:22:33 +03:00
Klemens Nanni b61250e101 Remove unused variables
Not used anymore since 29c0956d61
"Always try to play video in voice chats.".
2021-12-29 20:16:04 +03:00
23rd 69dc6c98ce Removed unused MTPBool from callbacks on done. 2021-11-30 17:37:39 +04:00
23rd 3647241f71 Removed unused MTP::Error from callbacks on fail. 2021-11-30 17:37:07 +04:00
John Preston 8264968718 Use cloud "disable calls" settings instead of local. 2021-11-26 18:04:03 +04:00
23rd b9c64499bd Moved code for api participants to separated file. 2021-11-26 18:00:21 +04:00
John Preston f13e28a9c5 Use in-class initializers for bitfields. 2021-11-26 18:00:19 +04:00
John Preston 773755d70e Send as a channel in HistoryWidget. 2021-11-26 18:00:18 +04:00
John Preston bf18907fe6 Fix video in calls working on tgcalls v2 implementation. 2021-11-26 18:00:18 +04:00
John Preston dbf673f674 Build new tgcalls with C++20 on Windows. 2021-11-26 18:00:17 +04:00
John Preston ebded1b421 Use Photo/DocumentData::isNull instead of date check. 2021-11-18 11:40:15 +04:00
23rd 8ad9770118 Fixed missed CallId alias. 2021-11-02 20:58:35 +03:00
John Preston 045689fab1 Highlight links in about. 2021-10-29 18:31:07 +04:00
John Preston 47d957f942 Add 5 lines of About to group call context menu. 2021-10-29 18:31:07 +04:00
John Preston d0606a3798 Show PeerShortInfoCover in group call context menu. 2021-10-29 18:31:07 +04:00
John Preston dcc14a4726 Add info rows to PeerShortInfoBox. 2021-10-29 18:31:07 +04:00
John Preston 7543351bc9 Add pending requests bar in the chat. 2021-10-29 18:31:06 +04:00
John Preston ab58aa020e Allow many custom elements in PeerListRow. 2021-10-29 18:31:06 +04:00
John Preston 9e05e44a14 Inform about join request being sent. 2021-10-29 18:31:06 +04:00
John Preston a3e3bcd46d Fix repeated phoneCallRequested update handling. 2021-10-29 17:42:57 +04:00
23rd 70e9b4a332 Moved type of call id to alias. 2021-10-29 16:10:07 +04:00
23rd b5d9947408 Slightly improved code style in Calls:Call. 2021-10-29 16:10:07 +04:00
23rd 78f0cf908e Moved RateCallBox to td_ui. 2021-10-29 16:10:07 +04:00
John Preston 57345cec3b Discard incoming calls by ring_timeout (1.5 minutes). 2021-10-25 09:43:12 +04:00
Ilya Fedin 847c01d605 Add Qt 6 support
Tested only on Linux so far
2021-10-21 13:15:00 +04:00
23rd 80461bd9fe Moved ConfirmBox to Ui namespace. 2021-10-19 06:34:27 +03:00
23rd 6148edbc7d Moved ConfirmBox to td_ui. 2021-10-19 06:34:27 +03:00
23rd 9117b3cdfa Extracted DeleteMessagesBox to separated file. 2021-10-19 06:34:27 +03:00
John Preston c04cdff7f7 Disable group call logs to console. 2021-10-07 11:42:24 +04:00
John Preston 1e660fc2a2 Allocate 64 bits for message ids. 2021-09-30 13:49:37 +04:00
John Preston 19ce1edc16 Use base::SafeRound instead of std::round.
Previous assertion violations because of NaN from std::round were
in video streaming, see commits 27d58ba07b, 8f5830d520.

Now the crashes happened in the ConvertScale() call from a background
thread when preparing an image from clipboard for sending to a chat.
2021-09-27 12:13:57 +04:00
John Preston 155bbed3f4 Show correct video recording status. 2021-09-19 14:42:56 +03:00
John Preston 8069fdd873 Use base/random.h instead of openssl::RandomValue. 2021-09-15 13:42:22 +03:00
John Preston ce256161f1 Couple of crash fixes. 2021-09-13 17:39:17 +03:00
John Preston f73264025d Fix a crash after joining broadcasts. 2021-09-13 14:21:01 +03:00
23rd 900a7d0b2b Appended references to const auto types in loop to prevent copying.
Suggested by Apple Clang.
2021-09-09 16:32:04 +03:00
John Preston 14314df26a Show userpics in who read context item. 2021-09-09 00:10:49 +03:00
John Preston d00226d51e Don't show important tooltips above layers. 2021-09-07 23:41:08 +03:00
23rd 4582d2d0d5 Attempted to fix ordering buttons above boxes in group calls panel. 2021-09-07 23:41:08 +03:00
23rd cd59ba6629 Added ability to start video recording in group calls. 2021-09-07 23:41:08 +03:00
John Preston a6c98f4bb4 Update API scheme to layer 133. 2021-09-07 23:41:07 +03:00
John Preston 9f43719075 Fix build with Xcode. 2021-09-07 12:18:18 +03:00
John Preston 463da7e410 Allow Ui::GL::Renderer::deinit on lost context. 2021-09-06 13:13:26 +03:00
John Preston 16c9031f88 Fix a phrase in voice chat settings. 2021-09-06 13:13:26 +03:00
John Preston f6175e7b7c Invite by link in case of non-self voice chat join. 2021-09-02 11:04:28 +03:00
John Preston e9a5c45f34 Use separate strings for channel voice chats. 2021-08-31 17:59:29 +03:00
John Preston 29c0956d61 Always try to play video in voice chats. 2021-08-30 20:32:57 +03:00
John Preston 0cfede984c Update API scheme to layer 132. 2021-08-30 20:32:56 +03:00
John Preston 1cc9a52461 Fix my speaking status freeze in voice chats. 2021-08-18 17:52:23 +03:00
John Preston cd52982752 Hopefully fix an assertion violation in voice chats. 2021-08-18 17:45:21 +03:00
John Preston ca31a08182 Fix 'Sorry, group is inac...' in scheduled voice chat. 2021-08-18 11:34:16 +03:00
John Preston c79cd0b692 Use Images::Read instead of App::readImage. 2021-08-11 18:55:08 +03:00
Ilya Fedin 97262a99c7 Get rid of osx and linux32 special targets 2021-08-11 16:59:27 +03:00
John Preston 46885b7f9f Fix mouse input in layers in call window. 2021-08-11 11:06:34 +03:00
John Preston 91ef6f13c8 Use good bitrate for screen capture in calls. 2021-08-10 15:46:18 +03:00
John Preston f3ab01604c Version 2.9: Fix build on Linux. 2021-07-30 21:03:49 +03:00
John Preston 66bcc20f58 Fix requesting screencast rights on macOS. 2021-07-30 20:45:00 +03:00
John Preston bd78bac4bf Warn admins about many voice chat participants. 2021-07-30 16:06:27 +03:00
John Preston c100055fac Allow sharing screen or window in one-on-one calls. 2021-07-30 00:40:25 +03:00
John Preston 4a86b172d4 Rename Ui::Window to Ui::RpWindow. 2021-07-28 16:24:11 +03:00
John Preston 116a768fde Don't use MTP* for Message flags. 2021-07-28 15:28:17 +03:00
John Preston bc707320f8 Add 'invited' icon in narrow voice chat members list. 2021-07-28 15:16:23 +03:00
John Preston 99505b4ee2 Beta version 2.8.12: Fix build on Linux. 2021-07-23 20:42:24 +03:00
John Preston c0f8e68f5d Don't use CurrentSingleComponentFormat.
Fix noise in voice chat blur in OpenGL ES (ANGLE).
2021-07-23 15:42:16 +03:00
Christian Hesse b2c762e974
Set (group) call window icon. 2021-07-20 00:15:04 +04:00
Ilya Fedin ba9b72e038 Fix -Wunused-variable warnings with gcc 2021-07-19 22:31:27 +03:00
Christian Hesse 3d1a049405 window title for call window
Having an empty window title brings different issues, for example:

* invisible on task bar
* invisible in task switcher
* apply properties by match
* ...

So let's use the contact user name for window title.

Fixes #10243
2021-07-19 19:26:32 +03:00
John Preston 10e1feb40b Use GL_BGRA_EXT format with ANGLE. 2021-07-15 16:42:38 +03:00