Commit graph

11930 commits

Author SHA1 Message Date
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
0b2f8e306a Removed unused variable in ManageFiller::addPeerInviteLinks 2021-12-14 02:28:40 +03:00
7e9a0e9db3 Removed unused variable in SetupDiscussButton 2021-12-13 22:43:21 +03:00
e3e80290d1 Removed unused variable in folders 2021-12-13 20:36:56 +03:00
60ca18f390 Updated TDesktop sources: remove unused variables 2021-12-13 16:44:13 +03:00
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
6bab8b011b Commented out unused variable in ParticipantsBoxController 2021-12-13 10:39:30 +03:00
e9c1bb9387 Removed unused variable in location point sending 2021-12-13 02:38:27 +03:00
a070d3c9b2 Updated lib_base
* Fix ambigious call in QProcess::start
2021-12-12 22:10:32 +03:00
894dc7d927
Merge pull request #270 from ilya-fedin/fix-actions 2021-12-12 17:05:03 +03:00
992d3c9dcd Updated lib_base [skip ci] 2021-12-12 17:04:44 +03:00
Ilya Fedin
ac8b7e6051 One another attempt to fix macOS action 2021-12-12 17:58:06 +04:00
Ilya Fedin
57efadbfe7 Fix binary path on macOS 2021-12-11 11:44:58 +04:00
Ilya Fedin
7c712a1b5c Fix -Wlogical-op-parentheses 2021-12-11 11:44:58 +04:00
Ilya Fedin
c11760d140 Fix -Wrange-loop-analysis 2021-12-11 11:44:58 +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
ilya-fedin
5778c68526
Use the right method to save external video player option state (#265) 2021-12-09 09:06:57 +03:00
ilya-fedin
39b3217dd3
Allow to set custom icon on Mac in native way (#264) 2021-12-09 08:11:31 +03:00
3d1eb14ff7 Updated TDesktop sources to 3.3 2021-12-08 19:05:46 +03: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
f418e7ff73 Updated TDesktop sources to 3.2.5 2021-12-07 14:28:17 +03: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
490b29b31c Fix tg:// links protocol 2021-12-06 17:41:45 +03:00