Commit Graph

5548 Commits

Author SHA1 Message Date
John Preston 04d5158ae3 Remove unused LeftOutlineButton type. 2019-08-29 10:01:28 +03:00
John Preston 38e4daacd4 Use HSL color space for accent colors. 2019-08-29 10:01:28 +03:00
John Preston 44d156760e Fix build in Xcode. 2019-08-27 19:10:37 +03:00
John Preston d66541989e Improve first socket message. 2019-08-27 19:10:37 +03:00
John Preston 56c4d164f3 Fix crash in group creation. 2019-08-27 19:10:37 +03:00
John Preston e2c1c4c8de Fix jump to first chat with archive. 2019-08-27 19:10:37 +03:00
John Preston a465117689 Allow choosing accent colors from palette. 2019-08-27 19:10:37 +03:00
John Preston c2117e7722 Save embedded themes accent colors. 2019-08-27 19:10:37 +03:00
John Preston 7de28fc4bd Apply saturation and value in colorizer. 2019-08-27 19:10:37 +03:00
John Preston 529ef64257 Sort colors by hue distance. 2019-08-27 19:10:37 +03:00
John Preston 9cb5423d40 Allow changing accent color in default themes. 2019-08-27 19:10:37 +03:00
John Preston dd136350fb Fix save color in theme editor. 2019-08-27 19:10:37 +03:00
John Preston ef7087348a Allow to schedule created polls. 2019-08-27 19:10:37 +03:00
John Preston 8eac2dcb78 Correctly show scheduled polls. 2019-08-27 19:10:37 +03:00
John Preston f690f93f32 Allow schedule of files, stickers, GIFs. 2019-08-27 19:10:37 +03:00
John Preston 77ebdd3576 Send from scheduled messages section. 2019-08-27 19:10:37 +03:00
John Preston 3e895d0e85 Make tabbed selector working in scheduled section. 2019-08-27 19:10:37 +03:00
John Preston 385a7eb00d Start scheduled compose controls. 2019-08-27 19:10:37 +03:00
John Preston 1c9775baf9 Improve scheduled messages icon design. 2019-08-27 19:10:37 +03:00
John Preston fb96d2eef8 Improve schedule box design. 2019-08-27 19:10:37 +03:00
John Preston debeb61540 Start schedule message box. 2019-08-27 19:10:37 +03:00
John Preston 03cdddfe18 Allow sending scheduled messages. 2019-08-27 19:10:37 +03:00
John Preston caef7dde24 Bundle silent and scheduled to Api::SendOptions. 2019-08-27 19:10:37 +03:00
John Preston 0b08810d5a Update hash counting for scheduled messages. 2019-08-27 19:10:37 +03:00
John Preston 694f771131 Allow to send scheduled messages instantly. 2019-08-27 19:10:37 +03:00
John Preston 956bb876f6 Sort scheduled messages on an update. 2019-08-27 19:10:37 +03:00
John Preston 99037d3d46 Improve scheduled messages top bar. 2019-08-27 19:10:37 +03:00
John Preston ea0a616453 Allow deleting scheduled messages. 2019-08-27 19:10:37 +03:00
John Preston 815a18be94 Add initial scheduled list implementation. 2019-08-27 19:10:37 +03:00
John Preston 3814b0833d Keep track of scheduled messages. 2019-08-27 19:10:37 +03:00
John Preston 549789bfb7 Update API scheme to layer 105. 2019-08-27 19:10:37 +03:00
John Preston a539fad3e2 Version 1.8.2: Fix passcode unlock. 2019-08-20 16:03:21 +03:00
John Preston ee96d78656 Version 1.8.2: Fix build for Qt 5.3.2. 2019-08-20 14:29:21 +03:00
John Preston 288c1130b9 Version 1.8.2: Fix build. 2019-08-20 14:28:40 +03:00
John Preston d1083a1fb4 Version 1.8.2.
- Bug fixes and other minor improvements.
2019-08-20 12:49:51 +03:00
John Preston e1fe373504 Fix localtime-related slowmode errors. 2019-08-20 12:42:37 +03:00
23rd 1a06714f3a Added ability to apply formatting from Mac menu. 2019-08-20 12:02:37 +03:00
John Preston 7316d24ca4 Quick fix for 'Cant forward here' error. 2019-08-19 15:26:12 +03:00
John Preston b814c6307a Check that sticker drag point is inside. 2019-08-19 15:26:12 +03:00
23rd 06fbb2edc4 Added permanent date display for sticker when fast action is enabled. 2019-08-19 15:26:12 +03:00
23rd 0ee47bb10f Fixed fast action button and date position for stickers. 2019-08-19 15:26:12 +03:00
23rd 9f228d8146 Fixed fast share button in messages with big emoji and reply. 2019-08-19 15:26:12 +03:00
23rd de270d5283 Fixed right action click handler on stickers without stickerpack. 2019-08-19 15:26:12 +03:00
John Preston 3f041545bf Fix crash in local passcode reset. 2019-08-19 15:26:12 +03:00
John Preston 1139a59818 Fix crash in editing message to empty. 2019-08-19 15:26:12 +03:00
John Preston 1e64ba8f29 Fix app config refresh timeout. 2019-08-19 15:26:12 +03:00
John Preston dac1128dc9 Version 1.8.1.
- Bug fixes and other minor improvements.
2019-08-09 20:36:21 +01:00
John Preston c3944d95b4 Fix local caching.
Regression was introduced in 9cf4cf6dca.

Fixes #6377.
2019-08-09 20:33:05 +01:00
John Preston 02b65a42f7 Move message client flags to a separate field. 2019-08-09 20:19:23 +01:00
John Preston 4869ce2247 Version 1.8.
- Right click the Send button to send any message
without sound - in case the recipient is sleeping.
- Enable Slow Mode in Group Permissions to control
how frequently members can post.
- Set custom titles for group admins - like 'Founder',
'CFO' or 'Spam Fighter'.
- Toggle looped playback for animated stickers in Chat Settings.
- Send a single ❤️, :like:, 😒, 😳 or :party:
to add a mighty animated emoji to the chat.
2019-08-09 11:51:36 +01:00
John Preston e40267f45b Add :party: emoji replacement. 2019-08-09 11:51:36 +01:00
John Preston e9ab8df737 Use QLocale::uiLanguages for system language. 2019-08-09 11:51:36 +01:00
Vitaly Lipatov 9276101809 Get language name and country name from QLocale (Linux) 2019-08-09 11:51:36 +01:00
John Zimmermann 0c3773486e linux/specific_linux.h: remove unnecessary include of execinfo 2019-08-09 11:51:35 +01:00
Konstantin Popov b831766375 Make .desktop file search respect TDESKTOP_LAUNCHER_FILENAME 2019-08-09 11:51:35 +01:00
Nicholas Guriev 325989ed47 Fix small typo 2019-08-09 11:51:35 +01:00
John Preston 63203ecc00 Fix int32 overflow in local storage stats. 2019-08-09 11:51:35 +01:00
John Preston 93793d8bdd Remove thumbnail for colored animated emoji. 2019-08-09 11:51:35 +01:00
John Preston 6710372d27 Fix build in Xcode. 2019-08-09 11:51:35 +01:00
John Preston e97d014a01 Closed alpha version 1.7.15.7. 2019-08-09 11:51:35 +01:00
John Preston 7ffa348e43 Replace 'Telegram Messenger LLP' with 'Telegram FZ-LLC'. 2019-08-09 11:51:35 +01:00
John Preston b999d87388 Divide scheme.tl to mtproto.tl and api.tl. 2019-08-09 11:51:35 +01:00
John Preston fb00d523c3 Add theme names to langpack. 2019-08-09 11:51:35 +01:00
John Preston d7f7a03eb4 Don't refresh large emoji messages when sent. 2019-08-09 11:51:35 +01:00
John Preston bc83df9d7f Repaint skin-toned animated emoji. 2019-08-09 11:51:33 +01:00
John Preston 61c1c10ed9 Closed alpha version 1.7.15.6. 2019-08-09 11:50:49 +01:00
John Preston 4bad642190 Remove some more Auth() calls. 2019-08-09 11:50:49 +01:00
John Preston f48732f813 Extract username from t.me/username searches. 2019-08-09 11:50:49 +01:00
John Preston 10e28913ca Search single messages by message link. 2019-08-09 11:50:49 +01:00
John Preston 230dd29af5 More large emoji layout improvements. 2019-08-09 11:50:49 +01:00
John Preston 169db40e9f Closed alpha version 1.7.15.5. 2019-08-09 11:50:49 +01:00
John Preston 116b483a88 Improve layout of large emoji. 2019-08-09 11:50:49 +01:00
John Preston 57cdef4e6b Improve large emoji outline. 2019-08-09 11:50:49 +01:00
John Preston 1b1b1780db Reuse global emoji large images. 2019-08-09 11:50:49 +01:00
John Preston e479daca03 Use outlined large emoji. 2019-08-09 11:50:49 +01:00
John Preston 51d350c356 Fix stickers and emoji render. 2019-08-09 11:50:49 +01:00
John Preston 9da4bd671e Closed alpha version 1.7.15.4. 2019-08-09 11:50:49 +01:00
John Preston d298953653 Add large emoji implementation. 2019-08-09 11:50:49 +01:00
John Preston 1d52ba7a42 Extract sticker-specific HistoryView code. 2019-08-09 11:50:49 +01:00
John Preston 850940116d Move HistoryMedia to HistoryView namespace. 2019-08-09 11:50:49 +01:00
John Preston fd59147b8a Allow disabling animated emoji. 2019-08-09 11:50:49 +01:00
John Preston 93a52bb66e Move some settings from global to Session. 2019-08-09 11:50:49 +01:00
John Preston 7e4c9f98a6 Track all single-emoji messages. 2019-08-09 11:50:49 +01:00
John Preston 7d2896dd42 Scale animated emoji by server config. 2019-08-09 11:50:49 +01:00
John Preston f7f797dd78 Initial animated emoji implementation. 2019-08-09 11:50:49 +01:00
John Preston 4b7b1c35e1 Improve storing of played animated stickers. 2019-08-09 11:50:49 +01:00
John Preston 708b1d7ad4 Add 'Loop animated stickers' setting. 2019-08-09 11:50:49 +01:00
John Preston abf49e1672 Update API scheme. 2019-08-09 11:50:49 +01:00
John Preston 052e4bc508 Fix complex box closing.
~BoxContent should be called when _layers is already in valid state.
2019-08-09 11:50:49 +01:00
John Preston 80fedcbbae Improve slowmode error phrases. 2019-08-09 11:50:49 +01:00
John Preston 787b5f549a Update slowmode intervals. 2019-08-09 11:50:49 +01:00
John Preston e8a28a57df Fix adding contacts.
Regression was introduced in 06982fdf04.
2019-08-09 11:50:49 +01:00
John Preston b05ea9fc25 Fix some problems in working with rlottie. 2019-08-09 11:50:49 +01:00
John Preston 8d94cfb61b Fix support mode sending. 2019-08-09 11:50:49 +01:00
John Preston d8a58991c4 Closed alpha version 1.7.15.3. 2019-07-28 18:01:13 +02:00
John Preston 03cf8b6ac2 Improve transport nonce generation. 2019-07-28 18:01:13 +02:00
John Preston 32e8ae2b9e Fix sticker suggestions by emoji.
Regression was introduced in 27f248645c.
2019-07-28 15:45:46 +02:00
John Preston 27d84befa8 Remove emoji from custom admin ranks. 2019-07-28 15:39:06 +02:00
John Preston 3bf709d459 Add Ui::Text::Italic modifier. 2019-07-27 23:09:15 +02:00
John Preston 2a8b6f05c8 Fix build for GCC. 2019-07-27 17:19:04 +02:00
John Preston f29b331470 Fix build for Xcode. 2019-07-27 17:19:04 +02:00
John Preston a8b74d4b6b Closed alpha version 1.7.15.2. 2019-07-27 17:19:04 +02:00
John Preston 415d817034 Show notification without sound for silent message. 2019-07-27 17:19:04 +02:00
John Preston 3f2cc01f48 Allow sending silent messages. 2019-07-27 17:19:04 +02:00
John Preston bacaf805b5 Pass SessionNavigation to some boxes. 2019-07-25 20:55:11 +02:00
John Preston 137fa0378c Remove some more Auth() calls. 2019-07-24 16:00:30 +02:00
John Preston ff44094ded Rename AuthSession to Main::Session. 2019-07-24 13:45:24 +02:00
John Preston 06982fdf04 Remove some calls to Auth(). 2019-07-24 13:13:51 +02:00
John Preston 9cf4cf6dca Move MTP::Instance to Main::Account. 2019-07-24 10:46:23 +02:00
John Preston db2018c765 Fix owner badges in groups. 2019-07-24 08:37:10 +02:00
John Preston 020e62fb7a Closed alpha version 1.7.15.1. 2019-07-24 08:02:58 +02:00
John Preston 2ed5552279 Improve custom badge input phrases. 2019-07-24 08:02:20 +02:00
John Preston 4d92d74de0 Add python extensions to the list of executables. 2019-07-24 08:02:20 +02:00
John Preston 4fd50cfb70 Fix build in Xcode. 2019-07-24 08:02:20 +02:00
John Preston 27f248645c Use correct animated sticker thumbnails size. 2019-07-24 08:02:20 +02:00
John Preston 3f1a2d0b58 Support emoji in custom admin badges. 2019-07-24 08:02:20 +02:00
John Preston 6fe36e6534 Improve custom rank input UI. 2019-07-24 08:02:20 +02:00
John Preston f36e2981ca Display custom admin ranks in messages. 2019-07-24 08:02:20 +02:00
John Preston 22f210ea8e Support sending albums to slowmode groups. 2019-07-24 08:02:20 +02:00
John Preston 6aa930d510 Remove exceptions in TL parsing. 2019-07-24 08:02:20 +02:00
John Preston 4a10a88ecf Show error when forwarding to slowmode group. 2019-07-24 08:02:20 +02:00
John Preston f4754f210c Update full channel on updateChannel. 2019-07-24 08:02:20 +02:00
John Preston 873b77cf40 Use UserData::isBot where applicable. 2019-07-24 08:02:20 +02:00
John Preston a7d9aa947b Don't allow in-notification reply with slowmode. 2019-07-24 08:02:20 +02:00
John Preston 234b0ffcf0 Disallow accidental failing forwarding. 2019-07-24 08:02:20 +02:00
John Preston c50ade565a Track sending and failed messages. 2019-07-24 08:02:20 +02:00
John Preston 0005e0a3ce Track local messages, restore on history jump. 2019-07-24 08:02:20 +02:00
John Preston 04bf24288a Show slowmode error messages. 2019-07-24 08:02:20 +02:00
John Preston 01d0479335 Show slowmode button in chat. 2019-07-24 08:02:20 +02:00
John Preston 055c145af5 Fix manage group box after migration. 2019-07-24 08:02:20 +02:00
John Preston 328b090877 Save slowmode settings in groups. 2019-07-24 08:02:20 +02:00
John Preston 1d2c86839b Add slowmode slider to EditPeerPermissionsBox. 2019-07-24 08:02:20 +02:00
John Preston 59574532c6 Add slowmode send message button state. 2019-07-24 08:02:20 +02:00
John Preston 4544a2e331 Update API scheme to layer 104. 2019-07-24 08:02:20 +02:00
John Preston c0f8ab8da0 Fix build for old Qt version. 2019-07-18 21:52:13 +02:00
John Preston d02617867c Beta version 1.7.15.
- Bug fixes and other minor improvements.
2019-07-18 18:18:05 +02:00
23rd 633084ed9c Fixed position of already shown tabbed panel.
- Fixed #6301.
2019-07-18 12:09:53 +02:00
23rd ab8889b2fa Fixed position of emoji panel in SendFilesBox when new file is added. 2019-07-18 12:09:53 +02:00
23rd d563e746ab Added ability to go to bot from "via @bot" header with Ctrl.
- Fixed #2074.
2019-07-18 12:09:53 +02:00
John Preston 7c6ede0908 Save domain in different localstorage key. 2019-07-15 16:00:30 +02:00
John Preston c22aeb8b40 Fix crash in proxy list. 2019-07-15 16:00:30 +02:00
John Preston cabe06256b Validate dcOption secrets. 2019-07-15 16:00:30 +02:00
John Preston 2fad4e9956 Closed alpha version 1.7.14.2. 2019-07-15 16:00:30 +02:00
John Preston c5df4db621 Fix possible race conditions in msgid(). 2019-07-15 16:00:30 +02:00
John Preston 68b1024dd4 Sync local time with HTTP 'Date' header value. 2019-07-15 16:00:29 +02:00
John Preston c894ce30c4 Fix socket packet reading. 2019-07-15 15:59:20 +02:00
John Preston 33fce38f90 Fix build in Xcode and GCC. 2019-07-15 15:59:20 +02:00
John Preston e123399f7c Closed alpha version 1.7.14.1. 2019-07-15 15:59:20 +02:00
John Preston 0805c09446 Allow one or two '=' at the end of base64. 2019-07-15 15:59:20 +02:00
John Preston 8135f4b427 Support base64 encoding of the secret. 2019-07-15 15:59:20 +02:00
John Preston 2f0331b2e0 Implement send/receive for the new type. 2019-07-15 15:59:20 +02:00
John Preston 69b6b48738 Add new socket type. 2019-07-15 15:59:20 +02:00
John Preston 3cda267787 Abstract out tcp socket from tcp connection. 2019-07-15 15:59:20 +02:00
John Preston ffba901620 Add a confirmation when blocking a user. 2019-07-15 15:47:40 +02:00
John Preston 7a11d1e31f Fix stickers on Linux 32 bit. 2019-07-15 14:17:22 +02:00
John Preston f2b3d9714f Fix sticker sending from clipboard. 2019-07-15 14:12:28 +02:00
John Preston 8477956117 Fix emoji button.
Fixes #6264.
2019-07-15 14:12:28 +02:00
John Preston 77b8d56c03 Show 'None' if no users are blocked. 2019-07-15 14:12:27 +02:00
John Preston 90fb9eccd4 Optimize InvokeQueued(). 2019-07-10 19:37:00 +02:00
John Preston c3c6571835 Add checks for incorrect sticker cache bytes. 2019-07-10 19:36:27 +02:00
John Preston b9d3ba621e Change some private header includes. 2019-07-10 19:36:27 +02:00
John Preston 9c909c8992 Lower the animated sticker requirements.
Fixes #6237.
2019-07-09 14:53:23 +02:00
John Preston 0710dde4d5 Use private Qt color API only in official build.
Fixes #6219.
2019-07-09 13:43:57 +02:00
John Preston 5c5eead0f5 Version 1.7.14.
- Bug fixes and other minor improvements.
2019-07-07 15:34:35 +02:00
John Preston 75fd2d0257 Version 1.7.13.
- Send ultra-lightweight high-quality animated stickers
to express emotion with motion.
- Receive animated stickers instantly on any connection
at just 20-30 KB per sticker.
- Enjoy smooth animations at 60 frames per second.
- Create new animated sets and upload them to @stickers
for everybody to use.
- Try out these sample stickers: t.me/addstickers/hotcherry
- Use strikethrough and underline formatting.
2019-07-06 15:27:31 +02:00
John Preston 4e595d5cef Fix GIFs preview. 2019-07-06 15:24:23 +02:00
23rd 8486ad368e Fixed restrictions for channels.
- Regression was introduced in 567bf60644.
2019-07-06 10:58:10 +03:00
John Preston ae075e9b90 Beta version 1.7.12: Fix build for old OS X. 2019-07-05 23:13:31 +02:00
John Preston 86d7143d94 Beta version 1.7.12.
- Bug fixes and other minor improvements.
2019-07-05 22:55:09 +02:00
John Preston 4e52da91c7 Fix animation stopping in chat. 2019-07-05 19:47:40 +02:00
John Preston 198de85ce5 Limit to 30 FPS in small stickers. 2019-07-05 19:15:25 +02:00
John Preston 72a9d61b97 Fix glitches on macOS stickers. 2019-07-05 18:13:27 +02:00
John Preston 96a26b44a9 Fix build for Xcode. 2019-07-05 17:08:33 +02:00
John Preston f19ff1f9b2 Correctly start lottie animations. 2019-07-05 16:43:21 +02:00
John Preston 4bd0683e91 Guard UpdateRequest handling. 2019-07-05 16:29:02 +02:00
John Preston 567bf60644 Use getters in MTP classes. 2019-07-05 16:23:07 +02:00
John Preston 3ca28c0cf9 Fix crash in unsupported message with buttons.
Fixes #6212.
2019-07-05 09:42:51 +02:00
John Preston 4a12e9798a Beta version 1.7.11.
- Use strikethrough and underline formatting.
- Bug fixes and other minor improvements.
2019-07-04 17:27:30 +02:00
John Preston 5c6515febb Fix strike-through text font selection. 2019-07-04 17:27:18 +02:00
23rd 4ac3aef600 Added ability to cancel reply with Ctrl + Arrow Down.
- Fixed #4636.
2019-07-04 16:41:46 +02:00
23rd 1963fca7d3 Fixed media overlay closing with Back mouse button.
- Fixed #2998.
2019-07-04 16:41:46 +02:00
23rd 5e233dab47 Fixed height of thumb in EditCaptionBox when media changes to photo. 2019-07-04 16:41:46 +02:00
23rd cf8a06302f Fixed position of unread mentions button when field changes height. 2019-07-04 16:41:46 +02:00
23rd 9c9ea8c2c0 Added ability to change order of pinned dialogs from touchbar. 2019-07-04 16:41:03 +02:00
23rd bb9e6e7b5f Added ability to display media preview from touchbar. 2019-07-04 16:28:58 +02:00
23rd 7c98f64cdb Slightly refactored display of media preview.
- Removed showMediaPreview from facades.
2019-07-04 16:28:58 +02:00
23rd da6baeb1a7 Added notifier of archiving pinned dialog to update touchbar. 2019-07-04 16:27:33 +02:00
23rd 26569683ca Refactored pinned buttons in touchbar. 2019-07-04 16:27:33 +02:00
23rd 821bd3c65b Added buttons for Underline and Strike-through text to touchbar. 2019-07-04 16:27:33 +02:00
John Preston 2d62c9b083 Prefer animated stickers in suggestion by emoji. 2019-07-04 16:26:53 +02:00
John Preston 9d09cee1cc Unblock bots without restarting from Settings. 2019-07-04 16:26:53 +02:00
John Preston 0e964b06dc Hook main queue processing to update requests. 2019-07-04 16:26:13 +02:00
John Preston b1807938ad Remove legacy langpacks. 2019-07-04 14:25:16 +02:00
John Preston b96b801b22 Disable ownership transfer to myself. 2019-07-04 14:02:25 +02:00
John Preston 58d4b763b6 Allow 6-digit support phone numbers. 2019-07-04 14:00:40 +02:00
John Preston f1518af8b3 Mark mentions as read on reply-from-notification. 2019-07-04 13:56:28 +02:00
John Preston d228495550 Allow replacing emoji by Tab in support mode. 2019-07-04 13:26:39 +02:00
John Preston 226ca6d117 Clear 'Cancelled' flag on download start.
Fixes #6123.
2019-07-04 13:21:43 +02:00
John Preston 556f36ba7e Fix transparent animated GIFs. 2019-07-04 13:12:58 +02:00
John Preston c8b61366d3 Fix blurred document thumbnails. 2019-07-04 12:22:07 +02:00
John Preston 729da4a6b4 Move 'Add to contacts' button up in Info. 2019-07-04 12:21:52 +02:00
John Preston dd38da7737 Allow markdown to intersect with previewed links. 2019-07-04 11:51:41 +02:00
John Preston 306b87dd39 Disable double click reply in a created group. 2019-07-04 11:37:05 +02:00
John Preston 826d229c1a Clear 'Find in Files' search by lang key results. 2019-07-04 11:36:27 +02:00
John Preston 89fb121caf Show URL tooltip in inline bot results. 2019-07-04 11:23:39 +02:00
John Preston d479442a63 Fix local thumbnail saving for stickers. 2019-07-04 11:04:12 +02:00
John Preston 10ee81f466 Copy shared contact number from the context menu.
Fixes #6147.
2019-07-04 10:36:48 +02:00
John Preston 0a63eac4f6 Generate good thumbnail for animated stickers. 2019-07-04 10:20:36 +02:00
John Preston 7034df49e9 Fix sending of .tgs stickers. 2019-07-03 13:03:01 +02:00
John Preston da48a78f7c Revert "Hide new formatting for now."
This reverts commit 99aa1fc556.
2019-07-03 12:08:28 +02:00
John Preston ae152d28be Closed alpha version 1.7.10.1. 2019-07-02 22:42:00 +02:00
John Preston dd1bca1769 Remove profiling logs. 2019-07-02 22:40:10 +02:00
John Preston a4fbbc06d1 Use Lottie::MultiPlayer in StickerSetBox. 2019-07-02 22:38:23 +02:00
John Preston 0dd1b4eae6 Support animated stickers in suggestions. 2019-07-02 17:21:52 +02:00
John Preston 848ea16eef Support animated stickers in inline results. 2019-07-02 15:46:26 +02:00
John Preston 76630528f7 Show animated thumbnails in sets box. 2019-07-02 15:20:04 +02:00
John Preston 3b645422ff Implement animated stickerset thumbnails. 2019-07-02 14:43:17 +02:00
John Preston db2d24ff32 Clear lottie on panel hide. 2019-07-01 17:57:40 +02:00
John Preston a10b91fe1a Don't load bad image infinitely. 2019-07-01 17:57:40 +02:00
John Preston ead212f31b Fix lottie caching. 2019-07-01 17:57:40 +02:00
John Preston 37689affc5 Clear far enough animated sticker sets. 2019-07-01 17:57:39 +02:00
John Preston 5375e7958c Implement pause/unpause for Lottie::MultiPlayer. 2019-07-01 17:57:39 +02:00
John Preston 1da5d1c64f Fix multi player with same frame rates. 2019-07-01 17:57:39 +02:00
John Preston f6bfbbb805 Add some profiling logs to lottie player. 2019-07-01 17:57:39 +02:00
John Preston 2c461b9df3 Remove profiling logs. 2019-07-01 17:57:39 +02:00
John Preston 53a3d0038c Fix build for Xcode. 2019-07-01 17:57:38 +02:00
John Preston ad1816cb7c Use Lottie::MultiPlayer in StickersListWidget. 2019-07-01 17:57:38 +02:00
John Preston 09c9f4ef9a Implement Lottie::MultiPlayer. 2019-07-01 17:57:38 +02:00
John Preston cbffeca8d5 Extract some Lottie::Animation code to Lottie::Player. 2019-07-01 17:57:37 +02:00
John Preston 4a7b5a8e01 Fix caching for large sticker area. 2019-07-01 17:57:37 +02:00
John Preston 808583c5ae Store cached frames in media local cache. 2019-07-01 17:57:37 +02:00
John Preston 5628c1eee6 Encode cached frames to YUV420P. 2019-07-01 17:57:36 +02:00
John Preston 0b8aa880e5 Decide if we XOR frames for each frame. 2019-07-01 17:57:36 +02:00
John Preston 059a24bcdf Use lz4 compression for cached frames. 2019-07-01 17:57:36 +02:00
John Preston a026aec786 Trivial in-memory frame caching. 2019-07-01 17:57:35 +02:00
John Preston 56e137b20f Move some common code to lib_ffmpeg. 2019-07-01 17:57:35 +02:00
John Preston 10772f4ac5 Started Lottie::CacheState class. 2019-07-01 17:57:34 +02:00
John Preston 35bc2cc2a5 Prepare lottie animations caching. 2019-07-01 17:57:34 +02:00
John Preston f20d9395d1 Unpack lottie gzip to std::string for rlottie. 2019-07-01 17:57:34 +02:00
John Preston aa3a079853 Remove QtLottie and rapidjson. 2019-07-01 17:57:34 +02:00
John Preston b10e6b3508 Render animated stickers using rlottie. 2019-07-01 17:57:33 +02:00
John Preston 21dfb310f3 Optimize animated sticker preview. 2019-07-01 17:57:32 +02:00
John Preston 0d6ee3929d Show animated stickers in the panel. 2019-07-01 17:57:32 +02:00
John Preston 040cae6a9a Show animated sticker preview. 2019-07-01 17:57:32 +02:00
John Preston 8f3f898c47 Show animated stickers in StickerSetBox. 2019-07-01 17:57:32 +02:00
John Preston adf5c8ec71 Version 1.7.10: Fix group location display. 2019-06-24 15:31:23 +02:00
John Preston f77b11975b Version 1.7.10: Ownership transfer flood errors. 2019-06-24 15:14:32 +02:00
John Preston 84aaec30a1 Version 1.7.10: Ownership transfer in admin log. 2019-06-24 15:08:19 +02:00
John Preston 764490b4a9 Version 1.7.10: Add share phone confirmation. 2019-06-24 14:49:53 +02:00
John Preston 022fb0c81b Version 1.7.10: Fix sticker set title.
Fixes #6169.
2019-06-24 14:32:43 +02:00