Commit Graph

958 Commits

Author SHA1 Message Date
Ilya Fedin 641583b434 Update libraries in Dockerfile & snapcraft.yml 2021-12-29 17:27:23 +03:00
k1ee 4c3835c61c Use https:// not git:// to clone.
git:// is not going through proxy.
2021-12-28 15:26:42 +04:00
John Preston 8aa2f56717 Specify exact FFmpeg revision. 2021-12-23 00:07:26 +00:00
John Preston ede4c0f781 Beta version 3.3.1.
- Switch between contacts list sorting modes.
- Sort contacts list by last seen time by default.
- Fix disappearing Send As Channel button after message editing.
- Fix file upload cancelling.
- Fix crash in video capture on macOS.
- Fix labels in the About box.
- Use Qt 6.2.2 for macOS and Linux builds.
- Allow installing x64 Windows version on Windows ARM.
2021-12-23 00:07:26 +00:00
Ilya Fedin dc7aef3f86 Move HFLAGS to other variables in Dockerfile 2021-12-22 14:15:48 +04:00
Ilya Fedin d89597bf64 Activate crl dispatch backend on Linux
Linux is the only platform where slow QThreadPool is used, let's use dispatch here as well
2021-12-22 14:15:48 +04:00
John Preston b341dddbb9 Move macOS and Linux builds to Qt 6.2.2. 2021-12-22 10:13:31 +00:00
John Preston 999e4264c5 Move macOS and Linux builds to Qt 6.2.2. 2021-12-22 10:13:29 +00:00
Ilya Fedin a8f05a01ed Build kwayland as external project
This will simplify packaged Qt 6 build
2021-12-22 14:09:32 +04:00
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
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
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 0b308aebb2 Beta version 3.2.8.
- Fix crash in opening shared media with another user.
2021-12-01 13:29:53 +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 bd0e4c0075 Backport fix for empty bus name to glibmm patch. 2021-11-29 16:21:07 +04:00
John Preston 09bed4989b Cherry-pick a crash-fix patch for Qt 6.2. 2021-11-29 15:59:48 +04:00
John Preston 5afcd47ab0 Beta version 3.2.6: Update tg_owt revision in Dockerfile. 2021-11-29 09:47:47 +04:00
John Preston abc40f7e43 Beta version 3.2.6: Add logs for scroll on Linux. 2021-11-29 09:47:47 +04:00
John Preston 57340f9514 Beta version 3.2.6.
- Try out the new audio player with playlist shuffle and repeat.
- Give a custom name to your desktop session
to distinguish it in the sessions list.
2021-11-26 23:06:39 +04:00
Ilya Fedin 02ae541246 Get rid of unnecessary udev in docker image 2021-11-26 18:29:03 +04:00
John Preston c7678f17ac Fix build of tg_owt with VS 2022. 2021-11-26 18:00:18 +04:00
John Preston 0c695a6a9a Update tg_owt with desktop capture fix on macOS. 2021-11-26 18:00:18 +04:00
John Preston efe12e0289 Fix tg_owt build on Windows with C++20. 2021-11-26 18:00:18 +04:00
John Preston dad11a17dd Build tg_owt / tgcalls / tgvoip with C++20. 2021-11-26 18:00:18 +04:00
John Preston 9308615361 Fix crash in search in Finder on macOS. 2021-11-24 17:37:33 +04:00
Ilya Fedin c7433477bc Use ninja as much as possible in docker 2021-11-21 09:51:01 +04:00
Ilya Fedin a55dbe212a Cleanup unneeded commands in Dockerfile 2021-11-18 20:32:52 +04:00
John Preston 12eda0bb26 Use C++20 on Linux with GCC 10. 2021-11-17 10:03:14 +04:00
John Preston 96a3c704d2 Use Ninja Multi-Config generator on Linux. 2021-11-17 10:03:14 +04:00
John Preston a02642b917 Switch to devtoolset-10 in Docker. 2021-11-17 10:03:14 +04:00
John Preston f55d3d1c6a Version 3.2.5: Add information about macOS build. 2021-11-16 14:35:28 +04:00
John Preston deea69e119 Version 3.2.5. [Windows]
- Fix connecting in case bad characters appear in device name.
2021-11-16 12:45:34 +04:00
Amin Vakil c062b4b3a1 Run yum clean all also for remote installations
They may try to install some dependencies from official centos mirrors.
2021-11-15 23:24:20 +04:00
Amin Vakil 06fb5540e1 Run yum clean all after package installation
KISS :)

Co-authored-by: ilya-fedin <fedin-ilja2010@ya.ru>

Make it in oneline

Co-authored-by: ilya-fedin <fedin-ilja2010@ya.ru>

perl-XML-Parser installation has been moved

Co-authored-by: ilya-fedin <fedin-ilja2010@ya.ru>

Typo

Co-authored-by: ilya-fedin <fedin-ilja2010@ya.ru>
2021-11-15 23:24:20 +04:00
John Preston 0e9a7ffe46 Version 3.2.4.
- Fix editing of scheduled messages on macOS.
- Fix launching on Chrome OS in Crostini container (fixes #17210).
2021-11-13 13:51:38 +04:00
Ilya Fedin fd03217032 Update patches in Docker 2021-11-09 16:17:45 +04:00
John Preston 963722cce1 Version 3.2.3.
- Fix autoupdater launch on macOS.
2021-11-08 17:44:53 +04:00
John Preston 00f75ca5d6 Version 3.2.2.
- Fix webpage preview links when View Button is present.
- Fixed possible crash on sponsored messages.
2021-11-05 15:32:03 +04:00
John Preston f10ed4b9bc Support autostart in Windows Store version.
Fixes #3234.
2021-11-04 12:36:28 +04:00
Ilya Fedin 81327ede7b Build Qt without high DPI scaling support 2021-11-04 10:20:48 +04:00
John Preston f882a0f407 Version 3.2.1.
- Remove AppImage icon hack and -pie. (Linux only)
2021-11-04 01:11:13 +04:00
John Preston e48fd5d079 Revert "Re-enable -pie along with AppImage-like format hack."
This reverts commit d58b9dc954.

AppImage hack fired back: #17183
2021-11-03 21:35:50 +04:00
John Preston d6e6c51639 Version 3.2.
- Create special invite links that require admins
to approve users before they become members.
- Admins can view the applicants' profiles and bios
by tapping the Join Requests bar at the top of the chat.
- Add internal labels to your chat's Invite Links
to keep them organized.
- More Interactive Emoji - 👻, :dislike:, :face_vomiting:,
😂, 💸 or 🎃
2021-11-03 16:38:14 +04:00
John Preston e73928f6a3 Beta version 3.1.13.
- Fix requests to groups / channels processing.
- Fix internal link previews with View Content button layout.
- Fix crash in messages search with imported messages results.
- Don't use fractional system UI scaling on Linux.
- Fix invite link icons on macOS.
- Several crash fixes.
2021-11-02 11:28:53 +04:00
John Preston 79a8fced80 Fix scrolling by Page Up / Down by Qt 6 patch. 2021-11-01 16:57:40 +04:00
John Preston 1bfa97d4fd Fix invite link icons on macOS Retina. 2021-11-01 16:57:40 +04:00
John Preston 28f85eb710 Allow running custom commands through prepare script. 2021-11-01 11:51:49 +04:00
John Preston d58b9dc954 Re-enable -pie along with AppImage-like format hack.
Fixes #1112.

This allows the binary to be launched even when compiled with -pie.
2021-10-31 16:49:44 +04:00
John Preston 7b8b50ecd5 Beta version 3.1.12.
- Create special invite links that require admins
to approve users before they become members.
- Admins can view the applicants' profiles and bios
by tapping the Join Requests bar at the top of the chat.
- Add internal labels to your chat's Invite Links
to keep them organized.
- Run natively on Apple Silicon (macOS only).
2021-10-31 12:33:22 +04:00
John Preston 1d655fb5b5 Fix build on Windows and Linux CI. 2021-10-31 10:07:12 +04:00
John Preston b4950fe943 Fix build for Mac App Store. 2021-10-30 17:19:24 +04:00
John Preston 9c0bf32b84 Fix tg_owt build in prepare script on Windows. 2021-10-29 22:29:05 +04:00
Ilya Fedin 97881e7754 Default to Qt 6 on Linux and macOS 2021-10-29 22:06:46 +04:00
John Preston 42015d6a72 Use new defaults in configure invocations. 2021-10-29 22:05:21 +04:00
John Preston 094010a91d Fix Breakpad + remove Crashpad build on Windows. 2021-10-29 22:01:04 +04:00
John Preston f71a2149f3 Improve defaults in prepare script. 2021-10-29 21:21:33 +04:00
John Preston 1297860652 Fix build of minidump_stackwalk. 2021-10-29 21:11:23 +04:00
John Preston c528ea24ea Version 3.1.11.
- Create special invite links that require admins to approve users before they become members.
- Admins can view the applicants' profiles and bios by tapping the Join Requests bar at the top of the chat.
- Add internal labels to your chat's Invite Links to keep them organized.
- Run natively on Apple Silicon (macOS only).
2021-10-29 19:06:19 +04:00
John Preston 66a83d3862 Update build script for macOS. 2021-10-29 18:29:29 +04:00
John Preston 31f15a2f09 Beta version 3.1.10.
- Native support for M1 on macOS.
2021-10-29 16:11:15 +04:00
John Preston 43d42b54f8 Closed alpha version 3.1.9.5: Separate macOS updates. 2021-10-29 16:10:07 +04:00
John Preston 090277d7a1 Upload a separate macOS ARM update. 2021-10-29 16:10:07 +04:00
John Preston 766b393295 On macOS build autoupdates single-arch + universal setup. 2021-10-29 16:10:07 +04:00
John Preston 5276e5b4ae Build minidump_stackwalk separately.
On macOS gyp is no longer required for non-official builds.
2021-10-29 16:10:07 +04:00
John Preston 6587f89db1 Update Breakpad to the latest commit. 2021-10-29 16:10:07 +04:00
John Preston fb262b265b Link a single crashpad_client library. 2021-10-29 16:10:07 +04:00
John Preston 95074ef304 Closed alpha version 3.1.9.2 for macOS. 2021-10-29 16:10:07 +04:00
John Preston 92b3149cdd Pass CMAKE_OSX_ARCHITECTURES from command line to configure. 2021-10-29 16:10:07 +04:00
John Preston 98c87d4a16 Dump symbols for both macOS builds. 2021-10-29 16:10:07 +04:00
John Preston 9a93d5811a Closed alpha version 3.1.9.1: Universal 2 macOS build. 2021-10-29 16:10:07 +04:00
John Preston 759e3270cc Fix popup menu transparency on macOS with Qt 6.2. 2021-10-29 16:10:07 +04:00
John Preston 0292df12ef Working Universal 2 build. 2021-10-29 16:10:07 +04:00
John Preston 1e86c07505 Build FFMpeg as Universal 2 binaries. 2021-10-29 16:10:07 +04:00
John Preston df8708ef1e Build some dependencies as Universal 2 binaries. 2021-10-29 16:10:07 +04:00
John Preston 20c0be0df6 Use python from a correct folder. 2021-10-29 16:10:07 +04:00
23rd cefdc29a7f Fixed release build of Breakpad on clean macOS. 2021-10-29 16:10:07 +04:00
Ilya Fedin 70147922ae Re-enable kwayland with Qt 6 2021-10-25 08:59:43 +04:00
John Preston 3d8899b9dc Update tg_owt revision. 2021-10-21 22:53:12 +04:00
John Preston 1f6a9ab556 Fix prepare libraries on macOS with Qt 6.2. 2021-10-21 20:19:56 +04:00
John Preston f7085b40b1 Support building macOS version with Qt 6.2. 2021-10-21 19:49:48 +04:00
Ilya Fedin 7222bc63f7 Update MozJPEG 2021-10-21 19:31:22 +04:00
Ilya Fedin 9dfa29ff0f Avoid using scl binary since it breaks conditions 2021-10-21 18:31:08 +04:00
Ilya Fedin a1e67b6177 Fix failing on exit code check 2021-10-21 15:51:36 +04:00
Ilya Fedin 03a687c200 Adapt Dockerfile for Qt 6 2021-10-21 15:43:59 +04:00
John Preston 1613495425 Version 3.1.9.
- Fix crash in chat closing while scrolling (macOS only).
2021-10-08 22:37:36 +04:00
John Preston 746f8d835d Version 3.1.8.
- Show small media previews in chats list.
- Show media album previews and caption text in chats list.
- Add "Quick Reply" and "Mark as Read" to native Windows notifications.
2021-10-08 13:51:22 +04:00
John Preston ae261fcede Beta version 3.1.7.
- Fix channel message views and comments counter updates.
- Sponsored messages support.
- Crash fix.
2021-10-07 11:42:24 +04:00
John Preston 8d09190439 Build ffmpeg without --disable-alsa/iconv on Linux. 2021-10-06 20:37:30 +04:00
John Preston 937c2d3dce Beta version 3.1.6: Update patches revision. 2021-10-06 13:44:28 +04:00
John Preston c9b782fd63 Beta version 3.1.6.
- Show small media previews in chats list.
- Show media album previews and caption text in chats list.
- Add "Quick Reply" and "Mark as Read" to native Windows notifications.
2021-10-06 11:07:38 +04:00
John Preston 1790828b01 Dump symbols from the binary instead of dSYM.
For some reason dump_syms from dSYM now fails with an error:

Telegram.app.dSYM/Contents/Resources/DWARF/Telegram:
the section '__text' in segment '__TEXT' claims its contents lie outside the segment's contents
2021-10-04 23:45:21 +04:00
John Preston d525e56053 Beta version 3.1.5: Fix build on Linux. 2021-09-28 22:08:28 +04:00
John Preston dab5d1f994 Beta version 3.1.5.
- Choose one of 8 new preset themes for any individual private chat.
- Click on '...' menu > 'Change Colors' to pick a theme.
- Both chat participants will see the same theme
in that chat – on all their devices.
- Each new theme features colorful gradient message bubbles,
beautifully animated backgrounds and unique background patterns.
- All chat themes have day and night versions
and will follow your overall dark mode settings.
- Implement main window rounded corners on Windows 11.
- Fix audio capture from AirPods on macOS.
2021-09-28 22:00:51 +04:00
John Preston 80028e41f3 Bump OpenAL version in prepare script. 2021-09-28 19:25:39 +04:00
John Preston 2c581adc55 Add some hardening compiler / linker flags to dependencies. 2021-09-28 18:44:52 +04:00
John Preston f0e8c1e325 Update lib_webview and docker patches revision. 2021-09-28 12:23:54 +04:00
John Preston 37d940eca6 Beta version 3.1.4.
- Fix crash in network availability init.
- Fix assertion violation after a NaN-resulting std::round call.
2021-09-27 13:29:11 +04:00
John Preston 21b10cebe0 Beta version 3.1.3.
- Fix illegal instruction crash in opus encoder.
2021-09-27 10:28:29 +04:00
Ilya Fedin 1b789de4f4 Cherry-pick a opus fix for detecting CPU instructions on Windows 2021-09-27 08:50:51 +04:00
John Preston a50310f0c1 Beta version 3.1.2 (Windows only).
- Control video in fullscreen mode using arrows and numbers.
- Open locations in browser if default Bing Maps is not installed.
- Reconnect without timeout when network availability changes.
- Crash fixes.
2021-09-26 17:24:09 +04:00
John Preston 12252ef1aa One more attempt of OpenGL context loss crash fix. 2021-09-25 22:39:49 +04:00
Ilya Fedin 0984e631fa Use opus built with cmake on Windows 2021-09-25 15:35:32 +04:00
John Preston ec064a904d Version 3.1.1.
- Crash fixes.
2021-09-24 08:47:02 +04:00
John Preston b47692e920 Update patches revision. 2021-09-24 08:46:52 +04:00
John Preston eaa4c5e5b1 Fix caching by making a fake dir ThirdParty/gyp. 2021-09-22 12:42:59 +04:00
John Preston c1be1ca4ae Add ./build/prepare/linux.sh which builds docker. 2021-09-21 18:11:24 +04:00
John Preston 2ec92f541c Version 3.1: Fix building Qt for Release. 2021-09-19 18:42:29 +03:00
John Preston 7ce8b42216 Version 3.1.
- Some animated emoji now have extra effects.
- Send 🎆 🎉, 🎈, :like:, 💩 or ❤️
to any private chat, then click on the animated emoji
to launch the effect.
- If your chat partner also has the chat open,
you will both see the effects.
- See the "Watching" status
when your chat partner is enjoying emoji effects with you.
- More interactive emoji coming soon.
- Right click one of your outgoing messages in small groups
to see who recently viewed it.
- To protect privacy, read receipts are only stored for 7 days
after the message was sent.
- Record video and audio from live broadcasts in your group or channel.
- Admins can start recording from the '...' menu.
- Choose between recording in portrait or landscape orientation.
- Finished recordings are sent to the admin's Saved Messages
and can be easily shared.
2021-09-19 18:21:31 +03:00
John Preston b02967a44e Update tg_angle in prepare script. 2021-09-19 14:40:43 +03:00
Ilya Fedin 4bc4584868 Build glibmm with LTO
In combination with https://github.com/desktop-app/cmake_helpers/pull/126 gets rid of unused glib symbols
2021-09-19 13:22:38 +03:00
23rd 449f2d2f94 Migrated dependencies in Github CI for macOS. 2021-09-17 13:12:07 +03:00
John Preston efd4cceb19 Beta version 3.0.5.
- Add support for Emoji 13.1.
2021-09-17 10:56:16 +03:00
John Preston 21c562fcb7 Make "set_version.py" working with Python 2.7 as well. 2021-09-13 18:03:43 +03:00
John Preston 626c062bf0 Beta version 3.0.4.
- Fix a crash when joining video chat or live broadcast.
- Add a "Close to Taskbar" option when tray icon is disabled
(Windows and Linux).
2021-09-13 18:01:39 +03:00
John Preston 3bf9a1c70b Build minidump_stackwalk as part of macOS prepare. 2021-09-13 16:59:10 +03:00
John Preston 3202a5f081 Fix prepare getch for macOS. 2021-09-13 16:50:44 +03:00
John Preston 5a63428093 Improve messages in preparep.py. 2021-09-13 15:39:44 +03:00
John Preston 0c42bca111 Ask before rebuilding in prepare.py. 2021-09-13 15:01:52 +03:00
John Preston 13bf089672 Update patches revision. 2021-09-13 14:21:56 +03:00
Ilya Fedin 0a6fb696a3 Build Qt without egl-extension-platform-wayland 2021-09-13 10:51:35 +03:00
John Preston 86362875dd Beta version 3.0.3.
- Try fixing crashes in allocator on Linux.
2021-09-12 01:53:04 +03:00
Ilya Fedin 4f5558d28c Move new dependencies to the beginning of Dockerfile, update patches
The reason was to not to do a full rebuild, but looks like the cache is already cleaned
2021-09-12 00:25:01 +03:00
Ilya Fedin ee8c6f68d7 Use clang to build jemalloc since it crashes with gcc 2021-09-12 00:11:47 +03:00
John Preston c4d822ba02 Fix action build on Windows. 2021-09-10 16:19:07 +03:00
John Preston fd288fbdfd Beta version 3.0.2: Fix Windows build scripts. 2021-09-10 14:33:47 +03:00
John Preston b1d52e088e Beta version 3.0.2.
- Check who've seen your message in small groups from the context menu.
- Enable recording with video in live streams and video chats.
2021-09-10 13:42:53 +03:00
Ilya Fedin 0570b2639d Link drm & zlib statically like before, make GL optional 2021-09-10 13:24:13 +03:00
John Preston f135ece841 Update patches revision. 2021-09-08 00:10:36 +03:00
John Preston 374e3238ad Build FFmpeg with upstream yasm on macOS. 2021-09-07 23:41:54 +03:00
John Preston 54adf77d99 Build dependencies by script on Windows and macOS. 2021-09-07 23:41:54 +03:00
John Preston 19611d5b26 Update patches revision in Docker. 2021-09-07 23:41:08 +03:00
John Preston 74846c87ce Closed alpha version 3.0.1.1. 2021-09-07 23:41:08 +03:00
John Preston b0f54822e0 Version 3.0.1.
- Crash fixes.
2021-09-01 19:41:57 +03:00
John Preston 0ee6395022 Try to a fix crash after lost OpenGL context. 2021-09-01 18:38:12 +03:00
John Preston 1247fde04e Version 3.0.
- Broadcast video and share your screen
to an unlimited number of viewers.
- To begin, tap the Live Stream button
in the title bar of a community where you are an admin.
- Tap the "Forward Message" label above the input field
to change how messages will be sent.
- Hide or show the original sender's name.
- Remove or keep captions from media messages.
- See how many unread comments there are
when opening a channel's comments.
2021-08-31 22:26:06 +03:00
John Preston 2c07bdd0e8 Beta version 2.9.14.
- Fix crash in authorization after logout.
2021-08-31 14:07:42 +03:00
John Preston 244ccba871 Beta version 2.9.13.
- See unread comments count when scrolling discussions in channels.
2021-08-31 10:37:31 +03:00
John Preston d5820e7a5a Closed alpha version 2.9.12.1. 2021-08-30 20:32:57 +03:00
John Preston 018ee0564f Beta version 2.9.12.
- Disable floating point exceptions in 32 bit Windows version.
2021-08-24 20:34:54 +03:00
John Preston a6fb0e372e Beta version 2.9.11.
- Resolve (again) a video playback crash in 32 bit Windows version.
2021-08-24 18:12:26 +03:00
John Preston c7e60ef723 Beta version 2.9.10.
- Resolve (hopefully) a video playback crash in 32 bit Windows version.
2021-08-24 12:42:58 +03:00
John Preston f21d7821e7 Beta version 2.9.9.
- Still(3) debugging a video playback crash in 32 bit Windows version.
2021-08-23 20:34:38 +03:00
John Preston c8d1e01159 Beta version 2.9.8.
- And still debugging a video playback crash in 32 bit Windows version.
2021-08-23 18:30:14 +03:00
John Preston 2b04653f24 Beta version 2.9.7.
- Still debugging a video playback crash in 32 bit Windows version.
2021-08-23 12:21:09 +03:00
John Preston 7aeffa242e Beta version 2.9.6.
- Debugging a video playback crash in 32 bit Windows version.
2021-08-21 09:34:26 +03:00
John Preston 4d98230694 Beta version 2.9.5.
- Tile chat background patterns horizontally.
- Fix a rare crash in spellchecker on Windows.
- Fix animated chat backgrounds in Saved Messages.
- Fix "Sorry, group is inaccessible" message in scheduled voice chats.
2021-08-20 18:42:13 +03:00
John Preston 1ef0046002 Beta version 2.9.4.
- Choose one from dozens of new gorgeous animated backgrounds
in Chat Settings > Chat background.
2021-08-17 18:09:18 +03:00