Commit Graph

317 Commits

Author SHA1 Message Date
23rd 9ad1d1c25d Fixed some unused-but-set-variable warnings. 2025-05-01 11:13:00 +04:00
John Preston 6a415cf232 Support on-hover autoplay and position save. 2025-02-12 17:24:24 +04:00
John Preston e959d1e1b0 Improve playback speed toggle logic. 2024-11-01 18:25:40 +04:00
John Preston 07f0c182e6 Don't change speed on settings click. 2024-11-01 10:16:09 +04:00
John Preston 535b223333 Fix video playback settings button dpr. 2024-11-01 10:10:16 +04:00
John Preston d6ac883efa Implement adaptive quality selection. 2024-10-31 18:04:17 +04:00
John Preston 1e02c475d6 Show speed / quality badges. 2024-10-31 18:04:16 +04:00
John Preston 4d2cda0692 Fix menu in case speed isn't controlled. 2024-10-31 18:04:16 +04:00
John Preston 6ed25d012f Use new settings icon in the player. 2024-10-31 18:04:16 +04:00
John Preston 3f2f3ebd51 Allow switching video quality. 2024-10-31 18:04:16 +04:00
John Preston 6287d306c2 Add better discard confirmations. 2024-10-24 13:26:46 +04:00
John Preston 6cfa053328 Add recorded round video preview. 2024-10-24 13:26:45 +04:00
23rd 0f94419f6d Improved fix of crash in video messages playback.
Regression was introduced in ad3e447f08.
2024-08-29 17:37:55 +04:00
John Preston 9252be5e8c Fix crash in video messages playback.
Regression was introduced in ad3e447f08.
2024-08-29 12:13:51 +04:00
23rd ae17acdfd4 Removed include directive for ui_utility from rp_widget header. 2024-08-28 14:38:33 +03:00
23rd ad3e447f08 Added ability to player to go to message for songs from another session. 2024-08-28 08:50:28 +03:00
John Preston 95ec0633ed Use custom-adjusted font metrics for custom fonts.
Fixes #27814.
2024-05-02 11:33:47 +04:00
23rd 1c223e570a Slightly improved code style for long equality expressions. 2024-04-15 11:20:30 +04:00
23rd 85286684e3 Added initial support for voice messages with TTL. 2023-12-31 19:42:23 +04:00
23rd c2712b0104 Removed redundant semicolons from code. 2023-12-31 19:42:23 +04:00
23rd 4ad51ffb42 Removed some include directives. 2023-11-28 21:55:26 +04:00
23rd 7149119098 Fixed style of media player controls. 2023-07-28 10:06:27 +03:00
John Preston aba84a6010 Update API scheme on layer 160: Duration. 2023-07-20 07:20:10 +04:00
John Preston 2c17f41c61 Beta version 4.6.12: Compare speed values safely. 2023-03-17 21:18:56 +04:00
John Preston ca50ad3468 Fix cursor on speed changing context menu item. 2023-03-16 09:55:27 +04:00
John Preston fc860a1ef4 Beta version 4.6.11: Fix build for Linux. 2023-03-15 22:57:53 +04:00
John Preston eae2788f73 Fix icons in audio player. 2023-03-15 16:39:13 +04:00
John Preston 1eff68813d Reuse new speed change control for video. 2023-03-15 13:36:40 +04:00
John Preston f9066235ca Fix custom ripple on speed change button. 2023-03-14 22:02:53 +04:00
John Preston 5ca7b95cdb Implement new voice speed change control design. 2023-03-14 17:30:50 +04:00
John Preston 9c74c04738 Implement audio speed using libavfilter. 2023-03-08 16:10:36 +04:00
23rd 563f933201 Removed unused keys from media_player.style. 2023-02-02 22:12:33 +04:00
23rd 6258aa01b8 Replaced multiple static constants for square root of 2 with Qt define. 2023-01-21 19:40:33 +03:00
John Preston ec3957fcf3 Active round video moving to active window. 2023-01-19 11:42:00 +04:00
John Preston 0f234188e1 Fix crash in SystemMediaControls init. 2023-01-19 09:57:33 +04:00
23rd 58ed30d30e Moved constants of arc angles to td_ui. 2023-01-19 08:51:57 +03:00
John Preston cdfdccbb66 Detach SystemMediaControls from Window::Controller. 2023-01-19 09:46:20 +04:00
John Preston 7023b013ce Initial support of separate windows for accounts. 2023-01-19 09:45:28 +04:00
Ilya Fedin 66093f0cb5 cTimeFormat/cDateFormat -> QLocale::ShortFormat
This allows to use platform-specific formatting functions
2022-12-28 10:28:12 +04:00
John Preston 1b73b34810 Make HistoryItem a final class. 2022-12-26 14:24:04 +04:00
John Preston ad3f8e72a0 Remove namespace App. 2022-11-30 17:28:09 +04:00
John Preston 01139e1b04 Remove facades module. 2022-11-30 16:55:51 +04:00
John Preston 644ec1f599 Remove base::Observable / base::Variable. 2022-11-11 11:43:24 +04:00
John Preston 73e2cc96d1 Fix music player with RTL song names. 2022-11-11 11:43:06 +04:00
23rd 371ba40a50 Added volume button to media player for voices. 2022-11-06 18:55:11 +03:00
23rd 1cd02fc3c9 Added display of video message in transcribed view. 2022-11-01 19:25:42 +04:00
John Preston 58b8eb8e96 Implement per-topic shared media. 2022-11-01 19:25:37 +04:00
John Preston e5f2d83548 Support new rounding in bot inline keyboards. 2022-11-01 19:25:35 +04:00
John Preston 8268e9f872 Support new rounding for GIFs / videos. 2022-11-01 19:25:35 +04:00
Ilya Fedin 7b5781b845 Use default-constructed QLocale for date/time/whatever else formatting
Qt 6 chenged the QDateTime API to use QLocale::c() rather than QLocale::system(), using default-constructed QLocale will make this consistent and overradable application-wide

Other formating use-cases as QLocale::decimalPoint use default-constructed QLocale now, too
2022-10-17 08:33:22 +04:00