Commit Graph

10680 Commits

Author SHA1 Message Date
John Preston 19320cc5d8 Fix dependencies build on M1. 2021-12-14 11:33:59 +04:00
k1ee 107a87c7ce Add support to build on M1 Mac
On M1 mac, some dependencies build two `arm64` builds and makes `lipo` fail.
2021-12-14 11:32:13 +04:00
RadRussianRus 2cb1d2c0bc Removed explicit definition of cmake generator
Even though TDesktop build migrated to VS 2022, dependencies script still had "Visual Studio 16 2019" for mozjpeg and openal-soft as a generator. Removing these lines allows to use latest Visual Studio without changing the script.
2021-12-13 14:26:05 +04:00
Ilya Fedin 48ab88a9ca Don't use QPlatformNativeInterface for native window handle on Windows 2021-12-13 14:24:34 +04:00
Ilya Fedin 33b7ac209e Don't use QPlatformNativeInterface-based XCB::GetRootWindowFromQt 2021-12-13 14:24:34 +04:00
Ilya Fedin 4a0ffdc9f5 Result binary shouldn't be in bin subfolder with any generator on macOS
Since MACOSX_BUNDLE is used
2021-12-11 07:29:02 +04:00
John Preston 4b03fd0f23 Version 3.3: Fix build with GCC. 2021-12-08 08:35:03 +04:00
John Preston 9f117cd680 Version 3.3: Update submodules. 2021-12-07 16:29:38 +04:00
John Preston f6d29991d6 Version 3.3.
- Content creators can restrict the ability to save media
and forward messages from their groups and channels.
- Clear messages in one-on-one chats from a specific day or date range.
- Comment as one of your channels in public groups and channel comments.
- When you request to join a community and its admin
or bot-admin contacts you with a message,
you will see which chat they are from at the top of the chat.
- Bot-admins can now ask users to complete tasks
before they are allowed to join - like accepting community rules,
passing a test, or making a donation to the content creators.
2021-12-07 15:52:33 +04:00
John Preston 1a0d430291 Fix crash in admin log right click.
Fixes #17325.
2021-12-07 15:42:30 +04:00
John Preston e3b9927faa Reset session on receiving a really old msgId. 2021-12-07 10:05:41 +04:00
John Preston d199e16a6e Load cloud image without active view only once. 2021-12-07 10:01:56 +04:00
John Preston 01c2be3f01 Add some checks for actions in a locked state. 2021-12-07 10:01:56 +04:00
Ilya Fedin 6db537d1ec Rename telegramdesktop.appdata.xml -> telegramdesktop.metainfo.xml
.appinfo.xml is legacy according to https://freedesktop.org/software/appstream/docs/chap-Metadata.html#spec-component-location
2021-12-06 11:53:28 +04:00
John Preston e708b2d39c Move some icons, fix verified check scaling. 2021-12-03 15:30:40 +04:00
John Preston ebd9587821 Fix admin ranks in participants edit. 2021-12-03 15:02:45 +04:00
John Preston 9e5117d336 Respect autodownload settings in reply previews. 2021-12-03 14:59:08 +04:00
John Preston 1c2ea8d84a Fix semi-transparent inline result thumbnails. 2021-12-02 16:03:13 +04:00
John Preston 235484b719 Fix saving group type without changing username. 2021-12-02 15:26:58 +04:00
John Preston b9ea5718a2 Fix "about request admin panel" box hiding. 2021-12-02 15:00:27 +04:00
John Preston db0c57a186 Fix reply-to-media timestamps in captions. 2021-12-02 14:42:50 +04:00
John Preston 0fa458737a Fix shared media loading. 2021-12-02 13:54:30 +04:00
John Preston caaeff32c5 Move global privacy setting down. 2021-12-02 13:36:49 +04:00
John Preston c4c234f0d3 Pass FilterId to pinnedIndexChanged. 2021-12-02 13:36:49 +04:00
John Preston 894e7c5828 Fix imported messages without a sender name. 2021-12-02 13:36:49 +04:00
John Preston afcebb136c Don't use MTP for PeerData::isSelf. 2021-12-02 13:36:49 +04:00
Ilya Fedin 8592326a3c Revert "Use kernel accelerated sendfile to copy files on Linux"
This reverts commit 34534a9653.
2021-12-02 09:15:23 +04:00
John Preston 0b308aebb2 Beta version 3.2.8.
- Fix crash in opening shared media with another user.
2021-12-01 13:29:53 +04:00
John Preston f7ec60b958 Fix crash in opening shared media with another user. 2021-12-01 13:29:19 +04:00
GitHub Action 7b4bc64191 Update User-Agent for DNS to Chrome 96.0.4664.45. 2021-12-01 13:26:23 +04:00
Ilya Fedin e5ee665fa4 Add support for webkit2gtk-5.0 and webkit2gtk-4.1 2021-12-01 07:39:03 +04:00
John Preston 60a95df652 Beta version 3.2.7.
- Active sessions list redesign.
- Fix disappearing emoji selector button.
- Fix a crash in archived stickers loading.
- Fix a crash in calls to old Telegram versions.
2021-11-30 22:43:22 +04:00
John Preston 28eb2f1a91 Return terminate session button to the list. 2021-11-30 21:08:15 +04:00
John Preston 168711b352 Use PeerList for sessions list (wip). 2021-11-30 20:44:15 +04:00
John Preston 7bf557971e Fix "Send As" button on Retina screens. 2021-11-30 20:19:23 +04:00
John Preston 40330afbd3 Use distinct strings for groups / channels noforwards. 2021-11-30 18:09:06 +04:00
John Preston fa32151391 Add distinct strings for groups / channels noforwards. 2021-11-30 17:56:46 +04:00
23rd 9706b84409 Slightly refactored api_bot. 2021-11-30 17:38:22 +04:00
23rd 77d1d9bd3a Moved out getting of phone pattern groups from PhoneInput fields. 2021-11-30 17:38:17 +04:00
23rd d218b76efe Removed MTP::Error from migrating chat. 2021-11-30 17:38:12 +04:00
23rd 0dfb77435d Slightly refactored add_contact_box. 2021-11-30 17:38:03 +04:00
23rd 69dc6c98ce Removed unused MTPBool from callbacks on done. 2021-11-30 17:37:39 +04:00
23rd 3647241f71 Removed unused MTP::Error from callbacks on fail. 2021-11-30 17:37:07 +04:00
23rd 287a35d208 Removed MTP* from PrePasswordErrorBox. 2021-11-30 17:36:54 +04:00
John Preston 0c3b289af9 Add floating dates to CalendarBox selecting mode. 2021-11-30 17:36:37 +04:00
John Preston 5309af5d56 Restrict shared media selection in noforward chats. 2021-11-30 16:26:47 +04:00
John Preston 1d1fa5f98b Improve session details box design. 2021-11-30 16:06:41 +04:00
John Preston 92e398e0b7 Support new skin color modifiers in rlottie. 2021-11-30 16:05:52 +04:00
John Preston 47074b48d6 Improve sessions list design. 2021-11-30 13:44:31 +04:00
John Preston 94bec3b574 Fix crash in archived stickers loading.
Fixes #17297.
2021-11-30 09:29:28 +04:00