Commit graph

11609 commits

Author SHA1 Message Date
Ilya Fedin
9506093cbd Remove unused submodules 2021-12-29 17:27:23 +03:00
512f93d5d3 Disable PiP for unsupported cases (such as animated avatars) 2021-12-29 06:48:07 +03:00
Ilya Fedin
ffe4208595 Implement loop status/shuffle for MPRIS 2021-12-29 00:56:46 +04:00
k1ee
4c3835c61c Use https:// not git:// to clone.
git:// is not going through proxy.
2021-12-28 15:26:42 +04:00
8ceccc2bcb Rework custom boxes to support scrolling 2021-12-27 11:29:07 +03:00
310a81b482 Show type icons before names in messages (except channel posts) 2021-12-27 07:13:09 +03:00
b42a73aebc Lowered minimum window sizes 2021-12-27 01:40:29 +03:00
7de9e06e9f Revert "Remove minimum window size (#238)"
This reverts commit a2c2e06fd5.
2021-12-27 01:37:30 +03:00
blank X
9c3a3f65d6
Add keyboard shortcuts to change accounts (#279) 2021-12-27 01:25:15 +03: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
John Preston
75337ad1c2 Fix shared media list in migrated groups. 2021-12-23 00:07:26 +00:00
John Preston
0f15adb208 Sort contacts by last seen by default.
Fixes #5515.
2021-12-22 15:14:16 +00:00
John Preston
a7e552ccab Fix assertion violation in media overview.
Regression was introduced in 5e7e7eaa83.
2021-12-22 13:05:54 +00:00
John Preston
797433ebe9 Fix disappearing Send As Channel button.
Fixes #17359.
2021-12-22 12:32:09 +00:00
John Preston
633532b88d Fix build on Windows. 2021-12-22 11:47:17 +00:00
John Preston
a0dcade9d8 Remove redundant freedesktop.org.xml. 2021-12-22 10:42:32 +00:00
John Preston
2a0babe5ab Fix file upload cancelling.
Fixes #17408.
2021-12-22 10:34:00 +00:00
23rd
dd92f7fb9d Slightly refactored AddContactBox. 2021-12-22 10:27:43 +00:00
John Preston
7ad08b3ef8 Update submodules. 2021-12-22 10:23:54 +00:00
John Preston
73917e8a4b Re-apply crash fix on macOS video capture. 2021-12-22 10:17:50 +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
Magnus Groß
c2b2d0a92a Do not destroy drag after launchDrag()
On X11 we need to keep the QDrag around a little longer.

Right now, drag is scoped local to launchDrag() and will be destroyed
immediately when launchDrag() finishes. However for X11 we must keep the
drag object alive a little longer. It may only be destroyed once the
drag operation has been accepted by another window, otherwise drag and
drop is broken on Linux and no action happens when something is dragged
from Telegram into another window.

This is because there is still communication happening in the XDND
protocol once QDrag::exec() finishes. See the documentation for
reference: https://freedesktop.org/wiki/Specifications/XDND/

Fixes #17291
2021-12-22 14:15:36 +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
John Preston
aee11469c4 Fix crash in video capture on macOS.
Fixes #17420.
2021-12-22 10:11:57 +00:00
John Preston
651cfe5b7e Fix about box text labels layout. 2021-12-22 10:11:57 +00:00
John Preston
a34b2a5472 Fix build with DESKTOP_APP_USE_PACKAGED_RLOTTIE. 2021-12-22 10:11:57 +00:00
John Preston
5e7e7eaa83 FullMsgId rely on PeerId instead of ChannelId. 2021-12-22 10:11:57 +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
Ilya Fedin
fedd21b0a6 Use QFontMetrics::height in PreLaunchWindow 2021-12-22 14:08:22 +04:00
Ilya Fedin
7ff7473db6 Auto-check for many instance
This option was invented when single instance check wasn't adapted for -workdir. Now, -workdir can work without -many and this option is redudant, but auto-update prevention is helpful. Let's autodetect whether the binary is already running with a lock file.
2021-12-22 14:07:22 +04:00
Vitaly Zaitsev
d89aab08bf Fixed build against OpenSSL 3.0.
Deprecated function FIPS_mode_set() was removed in OpenSSL 3.0.

Switched to EVP_default_properties_enable_fips() as described in OpenSSL
3.0 migration guide.

Signed-off-by: Vitaly Zaitsev <vitaly@easycoding.org>
2021-12-19 16:35:13 +04:00
ca7ac81ef6 Version 1.4.6 beta 2021-12-18 17:25:16 +03:00
db318cffbb Updated translations from Crowdin 2021-12-18 17:18:50 +03:00
c214b376e8 Translated new options 2021-12-17 17:02:48 +03:00
blank X
c75ad3ec1f
Add the option to remember compressing images (#243) 2021-12-17 17:00:44 +03:00
blank X
a851f7711d
Make custom text replaces work without replace emoji being enabled (#242) 2021-12-17 17:00:14 +03:00
ca8b92d1e1 Updated lib_ui
* Add InstantReplaces::Custom and setInstantReplaces overload
2021-12-17 16:59:43 +03:00
Artem Prokop
a2c2e06fd5
Remove minimum window size (#238) 2021-12-17 16:51:09 +03:00
99debb9730 Fixed custom icon on Windows 2021-12-17 16:10:45 +03:00
522dda77e7 Updated lib_ui
* Fix global scale reset with custom platformthemes
2021-12-16 12:44:41 +03:00
Ilya Fedin
b2fb5424ed Get rid of deprecated OpenSSL <1.1 functions 2021-12-16 13:05:53 +04:00
2aeb9d2383 Remove unused variables 2021-12-14 22:55:14 +03:00
2785152e36 Comment out unused ReadDoubleOption 2021-12-14 18:32:12 +03:00
John Preston
e7e34d50ba Fix building on Windows. 2021-12-14 16:27:57 +04:00
ad0badd6ab Commented out unused StripExternalLinks 2021-12-14 10:39:29 +03: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