Commit Graph

176 Commits

Author SHA1 Message Date
23rd 4fabb3f2a2 Replaced some qsl with u""_q literal. 2022-11-30 17:17:14 +03:00
23rd 2acedca6b7 Replaced some qstr with u""_q literal. 2022-11-29 14:12:50 +03:00
John Preston e5f2d83548 Support new rounding in bot inline keyboards. 2022-11-01 19:25:35 +04:00
John Preston 1401b19994 Add PaintContext for Dialogs::Ui::RowPainter. 2022-11-01 19:25:34 +04:00
John Preston 749fb52113 Implement animated spoilers. 2022-09-18 16:52:30 +04:00
John Preston 2c0a38d356 Don't unload emoji sets.
Fixes #24933.
2022-08-15 15:52:27 +03:00
John Preston fede1ff173 Simplify stickers inner API. 2022-08-15 11:34:22 +03:00
John Preston f8e22210e7 Move Webm sticker to UnwrappedMedia. 2022-08-04 13:35:34 +03:00
John Preston e64190fb64 Fix crash in attached emoji preview. 2022-07-27 12:26:22 +03:00
John Preston 4cf4b6a368 Optimize emoji / stickers update requests. 2022-07-26 20:12:14 +03:00
John Preston b0fab8c987 Show featured custom sets in the panel. 2022-07-26 20:12:13 +03:00
John Preston b31a3ba5a3 Improve emoji set box design. 2022-07-26 20:12:13 +03:00
John Preston de0eef8cc6 Update API scheme on layer 144. 2022-07-26 20:12:12 +03:00
John Preston bb7249f280 Allow viewing emoji sets used in a message. 2022-07-26 20:12:12 +03:00
John Preston ddd5021966 Minimal emoji sets support. 2022-07-26 20:12:10 +03:00
23rd 37f96534ec Fixed opening of shared media in corresponding window from media viewer. 2022-06-09 00:45:04 +03:00
John Preston 86889cf1ef Don't show premium stickers if premium blocked. 2022-06-08 10:28:45 +04:00
23rd ed14e47389 Renamed BoxContent::onScrollToY to BoxContent::scrollToY. 2022-02-25 19:41:16 +03:00
John Preston 6207770120 Paint unread mention badge as an icon. 2022-01-28 19:10:07 +03:00
John Preston fa61cf3c85 Show webm animation in stickers box set thumbnail. 2022-01-28 19:10:07 +03:00
John Preston 20dbf18106 Init webm player for sticker set thumbnails. 2022-01-28 19:10:07 +03:00
John Preston e91eecf34f Fix possible crash in empty sticker set. 2022-01-19 19:03:19 +03:00
John Preston d413080f83 Rebuild sets without restarting thumbnails. 2021-12-31 17:08:34 +03:00
John Preston 38ee57f852 Don't jump to top in StickersBox on stickersUpdated. 2021-12-31 16:50:43 +03:00
23rd 3647241f71 Removed unused MTP::Error from callbacks on fail. 2021-11-30 17:37:07 +04:00
John Preston 94bec3b574 Fix crash in archived stickers loading.
Fixes #17297.
2021-11-30 09:29:28 +04:00
John Preston 4f7c728632 Update API scheme on layer 135. 2021-11-26 18:00:20 +04:00
23rd 6148edbc7d Moved ConfirmBox to td_ui. 2021-10-19 06:34:27 +03:00
John Preston 5136cc3c9c Rename Dialogs::Layout to Dialogs::Ui. 2021-10-04 23:45:21 +04:00
John Preston b78b27f517 Move dialogs_layout to dialogs/ui/. 2021-10-04 23:45:21 +04:00
John Preston a6c98f4bb4 Update API scheme to layer 133. 2021-09-07 23:41:07 +03:00
John Preston 23e9e7b9f0 Remove for_const macro. 2021-09-06 13:13:26 +03:00
John Preston c208b5dc58 Couple more of crash fixes. 2021-09-01 13:45:45 +03:00
Ilya Fedin 79cc797aff Fix -Wunused-variable warnings 2021-07-13 21:43:34 +03:00
John Preston 4206ff0483 Don't use MTP* for StickersSet flags. 2021-07-09 09:08:58 +03:00
John Preston 75090dedaa Don't store MTPInputStickerSet in data. 2021-07-08 22:08:59 +03:00
23rd b2a1c10036 Removed masks panel when there are no masks. 2021-07-06 12:13:05 +03:00
23rd e7104b5ebe Added support for archived masks. 2021-07-06 12:13:05 +03:00
23rd 2d17bd02a3 Moved mask management to separate box. 2021-07-06 12:13:05 +03:00
23rd 2a3115f461 Fixed phrases to display mask count. 2021-07-06 12:13:05 +03:00
23rd 8d62800e77 Moved stickerSetInstalled from ApiWrap to Data::Stickers. 2021-07-06 12:13:05 +03:00
23rd 2bd3a8aaff Added ability to delete and reorder mask sets.
Moved ApiWrap::stickerSetDisenabled and ApiWrap::stickersSaveOrder
to ApiWrap::saveStickerSets as lambdas.
2021-07-06 12:13:05 +03:00
23rd 70f92a7817 Added initial masks tab to manage stickers box. 2021-07-06 12:13:05 +03:00
23rd 7d2b20e624 Made TabbedSelector more flexible. 2021-07-06 12:13:05 +03:00
23rd b422ec025e Removed Ui::show from classes that have pointer to Controller. 2021-06-17 10:57:45 +04:00
23rd bc9b288617 Replaced observable in StickersBox with rpl. 2021-06-16 09:31:32 +03:00
John Preston 68b0a85369 Rename RPCError to MTP::Error. 2021-03-12 16:58:26 +04:00
John Preston dde94d486b Change button round radius. 2020-12-08 11:19:23 +04:00
John Preston d40768f6b0 Use separate styles for group call boxes. 2020-12-01 09:45:23 +03:00
John Preston 05eb549a3d Move App::roundRect to Ui::FillRoundRect. 2020-10-30 18:32:18 +03:00