Commit Graph

1508 Commits

Author SHA1 Message Date
John Preston 2c0a38d356 Don't unload emoji sets.
Fixes #24933.
2022-08-15 15:52:27 +03:00
Sergey A. Osokin 7a3452a18a Fix warnings by removing unused const variables
Telegram/SourceFiles/ui/text/custom_emoji_instance.cpp:23:16: warning: unused variable 'kMaxFrameDuration' [-Wunused-const-variable]
Telegram/SourceFiles/boxes/reactions_settings_box.cpp:46:16: warning: unused variable 'kVisibleButtonsCount' [-Wunused-const-variable]
Telegram/SourceFiles/boxes/premium_preview_box.cpp:53:16: warning: unused variable 'kShiftDuration' [-Wunused-const-variable]
Telegram/SourceFiles/settings/settings_premium.cpp:55:16: warning: unused variable 'kTitleAnimationPart' [-Wunused-const-variable]

Found by:	clang
2022-08-08 21:21:13 +04:00
John Preston f8e22210e7 Move Webm sticker to UnwrappedMedia. 2022-08-04 13:35:34 +03:00
John Preston 087074fea4 Request song covers through MTProto. 2022-08-02 13:20:38 +03:00
John Preston 7a61693034 Limit attached emoji phrase to two lines. 2022-07-28 18:36:48 +03:00
23rd c1fa39ac05 Equaled top and bottom padding for sticker in service gift message. 2022-07-28 02:49:07 +03:00
John Preston 85ec212220 Don't scroll large message menus. 2022-07-27 13:49:27 +03:00
23rd 2d75f9e752 Fixed build with Xcode. 2022-07-27 12:49:52 +03:00
John Preston af54721f07 Disable attach bot share phone command for now. 2022-07-26 20:12:14 +03:00
John Preston edfb7bb65a Support custom emoji in IsolatedEmoji. 2022-07-26 20:12:14 +03:00
John Preston 2a4d269eca Use large image previews more. 2022-07-26 20:12:13 +03:00
John Preston 31bb08068b Use non-exact image previews if available. 2022-07-26 20:12:13 +03:00
John Preston c51837cfdf Reuse SizeTag::Large emoji instances. 2022-07-26 20:12:13 +03:00
John Preston b31a3ba5a3 Improve emoji set box design. 2022-07-26 20:12:13 +03:00
23rd 152bcb3570 Changed calculation of discount for premium gifts relative to smallest. 2022-07-26 20:12:13 +03:00
John Preston 18a6f7d700 Make 8 column emoji picker by default. 2022-07-26 20:12:13 +03:00
John Preston bb7249f280 Allow viewing emoji sets used in a message. 2022-07-26 20:12:12 +03:00
John Preston 8a9549dca3 Fix custom emoji preview painting on Retina screen. 2022-07-26 20:12:12 +03:00
John Preston 4ca6af33d4 Support web_app_request_phone attach bot requests. 2022-07-26 20:12:11 +03:00
23rd e84f5aaa3d Added support of service actions for premium gifts. 2022-07-26 20:12:11 +03:00
John Preston a7e295ae64 Fix build with Xcode. 2022-07-26 20:12:10 +03:00
John Preston afc7b1da62 Update API scheme on layer 144. 2022-07-26 20:12:10 +03:00
23rd bcdcd7ee70 Disabled animation for first showing of right button in pinned bar. 2022-07-26 20:12:10 +03:00
23rd 032372f150 Added stars animation to box for premium gifts. 2022-07-26 20:12:09 +03:00
23rd c7c8ebed13 Added initial box for premium gifts. 2022-07-26 20:12:09 +03:00
23rd afb336ed41 Added list for options of premium gifts. 2022-07-26 20:12:09 +03:00
23rd 009ef829a0 Moved computing of premium gradient parts to separated class. 2022-07-26 20:12:09 +03:00
23rd 99676c4cf8 Moved some premium styles to separate file. 2022-07-26 20:12:09 +03:00
John Preston 0ed434cfaf Show all stickers as emoji after default categories. 2022-07-26 20:12:09 +03:00
John Preston c1e7e63677 Support custom popups in attach bots. 2022-07-26 20:12:09 +03:00
John Preston e954871cb9 Make custom emoji size 12% larger. 2022-07-26 20:12:09 +03:00
John Preston 754371a295 Optimize custom emoji repaints in pinned bar / reply info. 2022-07-26 20:12:09 +03:00
John Preston 3238cf2b4b Support custom emoji in reply / pinned / forward bars. 2022-07-26 20:12:08 +03:00
John Preston ee8d8171f7 Support custom emoji in custom notification replies. 2022-07-26 20:12:08 +03:00
John Preston 8c8cbbbc83 Display custom emoji in custom notifications. 2022-07-26 20:12:08 +03:00
John Preston be36f07168 Fix custom emoji in service messages. 2022-07-26 20:12:08 +03:00
John Preston cb32c3957b Add LZ4 caching for animated emoji. 2022-07-26 20:12:08 +03:00
John Preston 3c01bb5a4a Add support for static and webm custom emoji. 2022-07-26 20:12:08 +03:00
John Preston 6db3a0ec98 Support optimized lottie emoji. 2022-07-26 20:12:08 +03:00
John Preston 9d280da80b Start optimized custom emoji, show path thumbnail. 2022-07-26 20:12:08 +03:00
John Preston 368bc283a1 Don't use Ui::Text::String copy construct/assign. 2022-07-26 20:12:07 +03:00
John Preston fc8ea688a3 Update profile badges order. 2022-06-23 17:53:36 +04:00
John Preston 1b9232e28d Always show premium badge in support mode. 2022-06-20 11:13:39 +04:00
John Preston 0a81246502 Show correct error box when sending file > 4GB. 2022-06-16 13:48:11 +04:00
John Preston 60d998bf36 Fix build on Linux. 2022-06-14 21:27:50 +04:00
John Preston 4de71408a2 Improve accounts limit box. 2022-06-14 14:54:30 +04:00
John Preston 6d8012f13a Pause premium settings animations. 2022-06-14 13:43:07 +04:00
23rd acf7a82507 Added preview box for premium doubled limits. 2022-06-13 14:27:26 +03:00
23rd 0bd65794d2 Added glare effect to gradient round button. 2022-06-12 16:07:41 +03:00
23rd 4add87e7a9 Removed Ui::show from CountryInput. 2022-06-09 06:23:51 +03:00