Commit Graph

13229 Commits

Author SHA1 Message Date
Alexander Kernozhitsky 21b0454461 Remove duplicate line
Co-authored-by: darkkeks <darkkeks@rambler.ru>
2022-09-04 08:04:02 +04:00
Alexander Kernozhitsky ca4b5edf21 Correct FFmpeg API usage
FFmpeg docs say that you must return AVERROR_EOF from the read callback, not zero. Still, Telegram just propagates the return value from IODevice::read() call, which returns zero in case of EOF.

I don't know whether this commit has any effect on the upstream build, but it fixes a bug in Debian build of Telegram, which is using FFmpeg 5.1 instead of 4.4. Still, it's also useful in the upstream, as it makes work with FFmpeg more correct.
2022-09-04 08:04:02 +04:00
Ilya Fedin 9ac739c423 Update poetry installer URL 2022-09-04 08:02:43 +04:00
Ilya Fedin bd7a880468 Increase operation limit of stale action to 1000 for it to operate normally 2022-09-04 08:01:51 +04:00
Ilya Fedin 807e63d9f2 Disable PR processing in stale bot explicitly
According to the documentation, it shouldn't procces them until stale-pr-message is set, but that doesn't seem to be true
2022-09-04 08:01:51 +04:00
Ilya Fedin 4cedf89e51 Migrate from stale app to stale action
It doesn't seem to work for multiple months
2022-09-03 09:30:20 +04:00
John Preston a736ddb24e One more fix for GCC build. 2022-09-03 09:08:13 +04:00
Ilya Fedin b48674d302 Avoid unneccesary QPA, again 2022-09-03 08:47:02 +04:00
GitHub Action a6a9b16358 Update User-Agent for DNS to Chrome 104.0.5112.101. 2022-09-03 08:42:51 +04:00
Ilya Fedin dfb40dd216 Handle PiP aspect ratio on Wayland synchronously
During testing with Qt 6.4 I now remember why I made a way complicated logic (yes, because the trivial one bugs with Qt 6.4)
This restores it, but uses event filters rather than hardware integration override
2022-09-03 08:41:49 +04:00
John Preston 85acf051c1 Try to fix build with GCC. 2022-09-03 06:51:02 +04:00
Ilya Fedin 86059f2b5e Update Qt to 6.4.0 beta4 on Linux 2022-09-02 21:27:41 +04:00
Ilya Fedin 4f261ced8e Ceil device pixel ratio
Qt 6.4 provides QT_WIDGETS_HIGHDPI_DOWNSCALE that allows widgets to draw at integer device pixel ratio by using the next integer. Ceiling this value makes tdesktop in sync with technique and provides sharp content.

Without QT_WIDGETS_HIGHDPI_DOWNSCALE, this doesn't makes the content sharp, but the quality is still better as Qt attempts to downscale those graphic rather than upscale.
2022-09-02 21:27:41 +04:00
Ilya Fedin feb6107ce6 Qt 6.4 supports window activation with tray on Wayland 2022-09-02 21:27:41 +04:00
Ilya Fedin eab41d272b Fix various spaces on end of lines 2022-09-02 21:27:41 +04:00
Ilya Fedin 38da0e086d Get rid of lib_waylandshells 2022-09-02 21:27:41 +04:00
Ilya Fedin f874876b00 Update wayland to 1.21.0 2022-09-02 21:27:41 +04:00
Ilya Fedin 2065616592 Let Qt use Vulkan headers for Vulkan support 2022-09-02 21:27:41 +04:00
John Preston 898edad09b Show status duration menu only in status panel. 2022-09-02 21:14:34 +04:00
23rd 49773dde72 Attempted to fix rare non-elided text in bar of pinned bot messages. 2022-09-02 21:14:34 +04:00
23rd fa6b4f9b52 Slightly improved style of Premium Settings. 2022-09-02 21:14:34 +04:00
23rd fa4801ac94 Added ability to set emoji status for certain period of time. 2022-09-02 21:14:34 +04:00
John Preston 9bb2bb09b9 Update API scheme on layer 145.
Restrict send from channels to premium in line with API restrictions.
2022-09-02 21:14:34 +04:00
John Preston e32031963b Colorize status in premium promo and pack preview. 2022-09-02 21:14:34 +04:00
John Preston c13221a984 Menu reactions selector without enabled compositing. 2022-09-02 21:14:34 +04:00
John Preston 688cd70c91 Prepend colored default statuses in selector. 2022-09-02 21:14:34 +04:00
John Preston a256eb4bc8 Add mini-copies animation for custom reactions. 2022-09-02 21:14:34 +04:00
John Preston 7d77e8a203 Play generic animations for custom reactions. 2022-09-02 21:14:34 +04:00
John Preston 47709884dd Allow 50% interface scale from command line. 2022-09-02 21:14:33 +04:00
John Preston 7658d1da3c Fix unsetting reaction in private chats. 2022-09-02 21:14:33 +04:00
John Preston 0a3077b9a5 Update API scheme on layer 145. 2022-09-02 21:14:33 +04:00
John Preston e0513f7b7c Return old allowed reactions edit for channels. 2022-09-02 21:14:33 +04:00
23rd 7e7562fdad Fixed crash in RecoverBox from PasscodeBox with custom check callback. 2022-09-02 21:14:33 +04:00
23rd 15aefddab4 Added support of Webm custom emoji to Premium Settings. 2022-09-02 21:14:33 +04:00
23rd e34b61d56b Moved out HistoryView::StickerPlayer implementations to separate file. 2022-09-02 21:14:33 +04:00
John Preston 010b5e3949 Support username.t.me links. 2022-09-02 21:14:33 +04:00
John Preston 5530df8f2d Play emoji status only twice in main menu. 2022-09-02 21:14:33 +04:00
John Preston 742b819c7e Always show reaction userpics in private chats. 2022-09-02 21:14:33 +04:00
John Preston 2618ee3d75 Paint two-loops of custom emoji statuses. 2022-09-02 21:14:33 +04:00
John Preston da281c4d3d Fix build with Xcode. 2022-09-02 21:14:33 +04:00
John Preston 2d07539892 Support colored emoji statuses. 2022-09-02 21:14:33 +04:00
John Preston 923e725e18 Request default and recent emoji statuses. 2022-09-02 21:14:33 +04:00
23rd b2d72e2541 Removed subscription options from Settings when there is only one. 2022-09-02 21:14:33 +04:00
23rd 7ed10eaacc Added gradient colors to radiobutton views in Premium Settings. 2022-09-02 21:14:33 +04:00
23rd 5505a566be Replaced gradient header in Premium Settings for dark themes. 2022-09-02 21:14:32 +04:00
23rd 35c59ad35a Moved out util function for contrast calculation between 2 colors. 2022-09-02 21:14:32 +04:00
John Preston 5e81c65ea6 Implement improved allowed reactions editing. 2022-09-02 21:14:32 +04:00
John Preston 021e275336 Update API scheme on layer 145. 2022-09-02 21:14:32 +04:00
John Preston e540b8cbdc Read correct reactions limit from config. 2022-09-02 21:14:32 +04:00
John Preston ebf6cea2f5 Correctly show premium promo for custom reactions. 2022-09-02 21:14:32 +04:00