Commit Graph

5444 Commits

Author SHA1 Message Date
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
John Preston d5497c3105 Version 1.7.10: Don't load OpenSSL config on Win. 2019-06-24 14:23:08 +02:00
John Preston 09162e6f19 Version 1.7.10.
- Bug fixes and other minor improvements.
2019-06-24 14:16:19 +02:00
John Preston 7c2f114330 Force OpenSSL not loading local config. 2019-06-24 12:49:37 +02:00
John Preston a04247a893 Show archive2mainmenu tooltip for 5 seconds. 2019-06-24 11:14:19 +02:00