Ilya Fedin
847c01d605
Add Qt 6 support
...
Tested only on Linux so far
2021-10-21 13:15:00 +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
8f9e394dd0
Fix build with GCC.
2021-09-07 23:41:08 +03:00
23rd
150dbef19f
Added ability to save icon of last voice playback speed.
2021-09-07 23:41:07 +03:00
23rd
81a72caf07
Added context menu to voice playback speed button.
...
Fixed #16868 .
Fixed #16138 .
2021-09-07 23:41:07 +03:00
udf
d53932382c
Set mixer volume before changing setting
2021-09-06 15:40:51 +03:00
23rd
bcbab7ad8e
Added ability to change playback speed for long audio files.
2021-09-01 01:23:20 +03:00
23rd
b635a9d4a5
Changed voice playback speed setting to storage value of speed.
2021-09-01 01:23:20 +03:00
23rd
e6f0c176f7
Moved AudioMsgId to separated file.
2021-09-01 01:23:20 +03:00
Ilya Fedin
ba9b72e038
Fix -Wunused-variable warnings with gcc
2021-07-19 22:31:27 +03:00
John Preston
4276b6cce0
Use rpl for Window::Theme::Background updates.
2021-07-15 16:42:36 +03:00
Ilya Fedin
79cc797aff
Fix -Wunused-variable warnings
2021-07-13 21:43:34 +03:00
23rd
a631a28092
Removed App::pixmapFromImageInPlace.
2021-07-06 12:13:06 +03:00
23rd
af7ea90246
Added floating panel of playing playlist for scheduled audio files.
2021-07-01 23:53:45 +03:00
23rd
4753a57091
Added ability to validate playlists in section of scheduled messages.
2021-07-01 23:53:45 +03:00
23rd
3fd772ce17
Moved file click handlers to separated file.
2021-06-18 07:30:54 +03:00
23rd
7924979dfb
Removed Ui::showPeerHistoryAtItem from facades.
2021-06-17 10:57:46 +04:00
23rd
8356bac6d7
Added new event of seeking to media player.
2021-06-10 23:00:55 +03:00
23rd
690fbe83fd
Unified and moved to single place generating of song name from SongData.
2021-05-31 08:54:22 +04:00
Ilya Fedin
ae0b9141dd
Trying to get rid of unused variables...
2021-03-15 11:40:44 +03:00
Ilya Fedin
23272430b4
Build with QT_NO_KEYWORDS
2021-03-04 12:07:54 +04:00
23rd
dd01ece14a
Replaced snap util function with std::clamp.
2021-01-24 10:41:10 +03:00
Ilya Fedin
86be105c25
Media Play key is expected to behave like Toggle Media Play/Pause
...
Looks like Qt maps "Media Play" to the common play/pause button on keyboards:
https://github.com/qt/qtbase/blob/5.15/src/platformsupport/input/xkbcommon/qxkbcommon.cpp#L293
https://github.com/qt/qtbase/blob/5.15/src/plugins/platforms/windows/qwindowskeymapper.cpp#L392
https://github.com/qt/qtbase/blob/5.15/src/plugins/platforms/android/androidjniinput.cpp#L519
https://github.com/qt/qtbase/blob/5.15/src/plugins/platforms/android/androidjniinput.cpp#L607
While "Toggle Media Play/Pause" is some special case:
https://github.com/qt/qtbase/blob/5.15/src/plugins/platforms/windows/qwindowskeymapper.cpp#L488
https://github.com/qt/qtbase/blob/5.15/src/plugins/platforms/ios/quiview.mm#L584
It is worth to behave on "Media Play" like on "Toggle Media Play/Pause".
2020-12-08 21:20:26 +03:00
John Preston
dde94d486b
Change button round radius.
2020-12-08 11:19:23 +04:00
John Preston
41591ff2e9
Add group calls top bar.
2020-12-01 09:45:21 +03:00
John Preston
8afc245422
Try to workaround MSVC compiler bug.
2020-10-31 15:14:34 +03:00
John Preston
05eb549a3d
Move App::roundRect to Ui::FillRoundRect.
2020-10-30 18:32:18 +03:00
John Preston
ae298818a8
Implement message bar with animations.
2020-10-30 18:32:17 +03:00
John Preston
3d54a263b8
Stop playing documents when items are deleted.
2020-10-23 15:22:38 +03:00
John Preston
719bed6e85
Move some text formatting to tg_ui:ui/text/format_values.
2020-09-30 16:29:17 +03:00
John Preston
734d834a20
Replace mapbox variant with std::variant.
2020-09-29 19:03:19 +03:00
23rd
ed4b90717a
Added new rpl events to Media::Player::Instance for stop/start.
...
Removed unused playerWidgetToggled event.
2020-07-15 22:10:06 +04:00
23rd
2f964d0415
Refactored and moved to separate file audio player in touchbar.
2020-07-15 22:10:06 +04:00
John Preston
a95b756111
Fix settings saving.
...
Regression was introduced in 5d6a494934
.
Fixes #8168 .
2020-06-30 13:49:22 +04:00
John Preston
044c281cf7
Fix closing float player over Intro.
2020-06-26 16:01:37 +04:00
John Preston
3f0078cfbf
Fix crash in float player over Intro.
2020-06-26 15:48:38 +04:00
John Preston
79a361ba43
Move call management to Core::App.
2020-06-25 21:57:36 +04:00
John Preston
2b5d3b022d
Fix player closing on logout.
2020-06-25 19:01:10 +04:00
John Preston
bf7aae5fc6
Allow float video player across accounts.
2020-06-25 18:17:37 +04:00
John Preston
5d6a494934
Move some more settings to Core::App.
2020-06-25 16:25:53 +04:00
John Preston
90a9cb4f8d
Fix playing music from a different account.
2020-06-25 15:12:50 +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
6fc5e22882
Allow several accounts in Core::App.
2020-06-23 21:53:40 +04:00
John Preston
ea86433be5
Remove some activeAccount() calls.
2020-06-23 21:53:39 +04:00
John Preston
ad4afe9293
Move session data localstorage -> storage_account.
2020-06-23 21:53:39 +04:00
John Preston
4b354b0928
Use Main::Session in download/upload.
2020-06-23 21:53:38 +04:00
John Preston
3878a1b212
Remove some more Auth() calls.
2020-06-23 21:53:38 +04:00
John Preston
0251f58bf2
Use Semibold in names, use Bold in messages.
...
Fixes #7813 , fixes #7823 .
2020-05-08 12:12:47 +04:00
John Preston
6cf9157fb5
Fix jump-to-time from audio captions.
2020-02-06 13:19:33 +04:00