Compare commits
218 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
fc860a1ef4 | ||
|
|
adda93338d | ||
|
|
7264d82e8d | ||
|
|
ba01ba4c33 | ||
|
|
9beb111956 | ||
|
|
152661dcea | ||
|
|
eae2788f73 | ||
|
|
832d426c1c | ||
|
|
32e650548f | ||
|
|
1eff68813d | ||
|
|
4351baffb3 | ||
|
|
f9066235ca | ||
|
|
5ca7b95cdb | ||
|
|
42d999922f | ||
|
|
cc6dfd08fc | ||
|
|
ce5084c444 | ||
|
|
2eaa66e873 | ||
|
|
e9f5f0c948 | ||
|
|
9db091c540 | ||
|
|
f3e15c7fcd | ||
|
|
7682ccf6a7 | ||
|
|
0c165d1fb8 | ||
|
|
a4d8b78bc5 | ||
|
|
fadd19bca4 | ||
|
|
37d3ac2cca | ||
|
|
aefb0f52ff | ||
|
|
b69404635c | ||
|
|
ba04ab4756 | ||
|
|
da7cd6291e | ||
|
|
b0c8b77ba5 | ||
|
|
e6b92eaf37 | ||
|
|
3b3ee6fbbe | ||
|
|
62b8165b7d | ||
|
|
83ea3a4b21 | ||
|
|
4b57cbb9f7 | ||
|
|
e62bdc9e1c | ||
|
|
b46d002157 | ||
|
|
95a4bf718d | ||
|
|
f4c9bfa7c2 | ||
|
|
9803342c93 | ||
|
|
d961b56a2d | ||
|
|
76351b6184 | ||
|
|
214b112de0 | ||
|
|
8975a31597 | ||
|
|
96cced8401 | ||
|
|
327febbcdf | ||
|
|
de9a757e7a | ||
|
|
05ffc79539 | ||
|
|
9e79b59cce | ||
|
|
bfd318cf3f | ||
|
|
3a0b912274 | ||
|
|
9c74c04738 | ||
|
|
0880a83c2c | ||
|
|
af95bd6fb7 | ||
|
|
ff4af1b9bc | ||
|
|
c687882760 | ||
|
|
d15c462cc3 | ||
|
|
221b0d19c7 | ||
|
|
59c66d1f49 | ||
|
|
728ec0974a | ||
|
|
ec6dda47ae | ||
|
|
1b3cf0a654 | ||
|
|
b95ea28e12 | ||
|
|
af51307aa6 | ||
|
|
ae5f2add0e | ||
|
|
5a43e7718a | ||
|
|
4fe568cb82 | ||
|
|
34c1bd950e | ||
|
|
6f16014232 | ||
|
|
5991130b6f | ||
|
|
40b79dec12 | ||
|
|
ccbab25fae | ||
|
|
c5acef8c53 | ||
|
|
e2450101c0 | ||
|
|
6f3dbc4305 | ||
|
|
6ae15ff264 | ||
|
|
582df3f39f | ||
|
|
4838315ca7 | ||
|
|
da38539fa6 | ||
|
|
87d549baec | ||
|
|
6ad149e118 | ||
|
|
8dcb69ccdd | ||
|
|
856c537335 | ||
|
|
d18c6591e9 | ||
|
|
b65a00824c | ||
|
|
79e2157442 | ||
|
|
63cf64fca2 | ||
|
|
84dbdc6e92 | ||
|
|
596e9310e4 | ||
|
|
191b10ba74 | ||
|
|
6813d21285 | ||
|
|
df176dd1d9 | ||
|
|
30ae879fb3 | ||
|
|
63c390c505 | ||
|
|
aa9e56c633 | ||
|
|
c575e61853 | ||
|
|
29224fea66 | ||
|
|
df9bd91d9a | ||
|
|
78090f540e | ||
|
|
a01f74ecdc | ||
|
|
ce0e07d332 | ||
|
|
388541a3fb | ||
|
|
588d5ad695 | ||
|
|
122234f55c | ||
|
|
d1230167bf | ||
|
|
2a4c39b9d7 | ||
|
|
02bc950b57 | ||
|
|
2181422d5f | ||
|
|
1f1cd35d57 | ||
|
|
01d6cacee5 | ||
|
|
df594de4bf | ||
|
|
3093cb3759 | ||
|
|
6fa8426ff4 | ||
|
|
7a090610b9 | ||
|
|
4ca6834e03 | ||
|
|
e444c22a01 | ||
|
|
808cf119b8 | ||
|
|
c327fa0d45 | ||
|
|
b8c510ca6d | ||
|
|
1cf50f95ac | ||
|
|
9849b7adb6 | ||
|
|
8099c28197 | ||
|
|
dbe84d732c | ||
|
|
78fc112a00 | ||
|
|
f71e7812e6 | ||
|
|
78467b18f7 | ||
|
|
5d9383b8e4 | ||
|
|
137c13c9c0 | ||
|
|
18ebaeb726 | ||
|
|
c09043f827 | ||
|
|
832d47121f | ||
|
|
783d1cd4c1 | ||
|
|
27d446bdda | ||
|
|
24a1208b9a | ||
|
|
b9e0c60adf | ||
|
|
f9847090f9 | ||
|
|
2a1e3c4453 | ||
|
|
7a5c9a6fb8 | ||
|
|
5c33f0cc5b | ||
|
|
e78975d770 | ||
|
|
4247fd0c0f | ||
|
|
50f2e93623 | ||
|
|
fbfa6966f4 | ||
|
|
42eb452de8 | ||
|
|
9b3692ca22 | ||
|
|
7463aad755 | ||
|
|
9cf419999d | ||
|
|
7557a20679 | ||
|
|
91e6c42fcf | ||
|
|
3573b84e8b | ||
|
|
bb900c195c | ||
|
|
e61c058eb5 | ||
|
|
b48dee0af7 | ||
|
|
6b6afd38ac | ||
|
|
98e8a20f5f | ||
|
|
aeeb9fe761 | ||
|
|
c65b45460b | ||
|
|
1940edd6ee | ||
|
|
96ef82272b | ||
|
|
29d93d348c | ||
|
|
879df6e6a3 | ||
|
|
9d3715a36a | ||
|
|
1cb0d7c2dc | ||
|
|
1da635a5dd | ||
|
|
d0c2bec925 | ||
|
|
13a9920c11 | ||
|
|
0b100884fc | ||
|
|
6e89d41d58 | ||
|
|
20f946f657 | ||
|
|
9e49e32702 | ||
|
|
6834cdb969 | ||
|
|
36bf54b0d1 | ||
|
|
8f908ab9c0 | ||
|
|
cbd9dd0c2c | ||
|
|
a8decf154f | ||
|
|
f2ed77649e | ||
|
|
369862a3a7 | ||
|
|
e6b24a49f6 | ||
|
|
08644a9c31 | ||
|
|
9090b8ce6b | ||
|
|
646bb2ff71 | ||
|
|
7fa229537d | ||
|
|
c314e43a44 | ||
|
|
ee1162faff | ||
|
|
84b4ab1c3c | ||
|
|
9659cb5b6f | ||
|
|
eee800b6d0 | ||
|
|
41d9a9fcbd | ||
|
|
fec80c0c64 | ||
|
|
ed9ba07a32 | ||
|
|
2f1c674401 | ||
|
|
663e89662b | ||
|
|
afd717b36e | ||
|
|
ddfcf9f1df | ||
|
|
4a37846605 | ||
|
|
64f4e0dd52 | ||
|
|
d889cd0e72 | ||
|
|
d7aa18cb0a | ||
|
|
e486cf1afa | ||
|
|
5f3e7235a5 | ||
|
|
26ff3148d6 | ||
|
|
f95610edfc | ||
|
|
0d134f2b89 | ||
|
|
1a9e217c3e | ||
|
|
c4402c717a | ||
|
|
0bdd0689c0 | ||
|
|
671b3bc94e | ||
|
|
0943d3aac1 | ||
|
|
405230c0c6 | ||
|
|
af8c1f77c7 | ||
|
|
81fb4046d1 | ||
|
|
fb283c4828 | ||
|
|
6f797a17ad | ||
|
|
326b4eb10d | ||
|
|
713889aa9c | ||
|
|
a6aa759947 | ||
|
|
985db8aacf | ||
|
|
dff1568cb2 |
6
.github/ISSUE_TEMPLATE/BUG_REPORT.yml
vendored
@@ -34,7 +34,7 @@ body:
|
||||
label: Operating system
|
||||
description: >
|
||||
Your operating system name, version and desktop environment.
|
||||
Please don't use kernel version (uname), it's useless.
|
||||
**Don't use kernel version (uname), it's useless.**
|
||||
validations:
|
||||
required: true
|
||||
- type: input
|
||||
@@ -42,9 +42,9 @@ body:
|
||||
label: Version of Telegram Desktop
|
||||
description: >
|
||||
Please note we don't support versions from Linux distro repositories.
|
||||
If you need support for these versions, please contact your distro maintainer
|
||||
If you need support for these versions, **please contact your distro maintainer**
|
||||
or your distro bugtracker.
|
||||
Don't use 'latest', specify actual version, that's a reason to close your issue.
|
||||
**Don't use 'latest'**, specify actual version, **that's a reason to close your issue**.
|
||||
validations:
|
||||
required: true
|
||||
- type: dropdown
|
||||
|
||||
5
.github/workflows/mac.yml
vendored
@@ -64,7 +64,7 @@ jobs:
|
||||
- name: First set up.
|
||||
run: |
|
||||
sudo chown -R `whoami`:admin /usr/local/share
|
||||
brew install automake
|
||||
brew install automake ninja pkg-config
|
||||
|
||||
# Disable spotlight.
|
||||
sudo mdutil -a -i off
|
||||
@@ -113,13 +113,14 @@ jobs:
|
||||
./configure.sh \
|
||||
-D CMAKE_C_FLAGS="-Werror" \
|
||||
-D CMAKE_CXX_FLAGS="-Werror" \
|
||||
-D CMAKE_XCODE_ATTRIBUTE_CODE_SIGNING_ALLOWED=NO \
|
||||
-D TDESKTOP_API_TEST=ON \
|
||||
-D DESKTOP_APP_DISABLE_CRASH_REPORTS=OFF \
|
||||
$DEFINE
|
||||
|
||||
cd ../out
|
||||
|
||||
xcoderun='xcodebuild build -project Telegram.xcodeproj -scheme Telegram -destination "platform=macOS,arch=x86_64" -configuration Debug CODE_SIGN_IDENTITY="" CODE_SIGNING_REQUIRED=NO'
|
||||
xcoderun='xcodebuild build -project Telegram.xcodeproj -scheme Telegram -destination "platform=macOS,arch=x86_64" -configuration Debug'
|
||||
bash -c "$xcoderun" || bash -c "$xcoderun" || bash -c "$xcoderun"
|
||||
|
||||
- name: Move artifact.
|
||||
|
||||
@@ -59,8 +59,6 @@ if (NOT DESKTOP_APP_USE_PACKAGED)
|
||||
set(qt_version 5.15.8)
|
||||
elseif (APPLE)
|
||||
set(qt_version 6.3.2)
|
||||
else()
|
||||
set(qt_version 6.4.2)
|
||||
endif()
|
||||
endif()
|
||||
include(cmake/external/qt/package.cmake)
|
||||
|
||||
@@ -5,7 +5,7 @@
|
||||
# https://github.com/telegramdesktop/tdesktop/blob/master/LEGAL
|
||||
|
||||
add_executable(Telegram WIN32 MACOSX_BUNDLE)
|
||||
init_non_host_target(Telegram ltcg)
|
||||
init_non_host_target(Telegram)
|
||||
|
||||
add_subdirectory(lib_rpl)
|
||||
add_subdirectory(lib_crl)
|
||||
@@ -444,6 +444,8 @@ PRIVATE
|
||||
data/data_audio_msg_id.h
|
||||
data/data_auto_download.cpp
|
||||
data/data_auto_download.h
|
||||
data/data_bot_app.cpp
|
||||
data/data_bot_app.h
|
||||
data/data_chat.cpp
|
||||
data/data_chat.h
|
||||
data/data_chat_filters.cpp
|
||||
@@ -944,10 +946,6 @@ PRIVATE
|
||||
media/audio/media_audio_track.h
|
||||
media/audio/media_child_ffmpeg_loader.cpp
|
||||
media/audio/media_child_ffmpeg_loader.h
|
||||
media/audio/media_openal_functions.cpp
|
||||
media/audio/media_openal_functions.h
|
||||
media/player/media_player_button.cpp
|
||||
media/player/media_player_button.h
|
||||
media/player/media_player_float.cpp
|
||||
media/player/media_player_float.h
|
||||
media/player/media_player_instance.cpp
|
||||
@@ -1083,6 +1081,7 @@ PRIVATE
|
||||
platform/linux/notifications_manager_linux_dummy.cpp
|
||||
platform/linux/notifications_manager_linux.cpp
|
||||
platform/linux/notifications_manager_linux.h
|
||||
platform/linux/overlay_widget_linux.h
|
||||
platform/linux/specific_linux.cpp
|
||||
platform/linux/specific_linux.h
|
||||
platform/linux/tray_linux.cpp
|
||||
@@ -1098,6 +1097,8 @@ PRIVATE
|
||||
platform/mac/main_window_mac.h
|
||||
platform/mac/notifications_manager_mac.mm
|
||||
platform/mac/notifications_manager_mac.h
|
||||
platform/mac/overlay_widget_mac.h
|
||||
platform/mac/overlay_widget_mac.mm
|
||||
platform/mac/specific_mac.mm
|
||||
platform/mac/specific_mac.h
|
||||
platform/mac/specific_mac_p.mm
|
||||
@@ -1135,6 +1136,7 @@ PRIVATE
|
||||
platform/win/main_window_win.h
|
||||
platform/win/notifications_manager_win.cpp
|
||||
platform/win/notifications_manager_win.h
|
||||
platform/win/overlay_widget_win.h
|
||||
platform/win/specific_win.cpp
|
||||
platform/win/specific_win.h
|
||||
platform/win/tray_win.cpp
|
||||
@@ -1154,6 +1156,8 @@ PRIVATE
|
||||
platform/platform_integration.h
|
||||
platform/platform_main_window.h
|
||||
platform/platform_notifications_manager.h
|
||||
platform/platform_overlay_widget.cpp
|
||||
platform/platform_overlay_widget.h
|
||||
platform/platform_specific.h
|
||||
platform/platform_tray.h
|
||||
platform/platform_window_title.h
|
||||
@@ -1209,6 +1213,8 @@ PRIVATE
|
||||
settings/settings_main.h
|
||||
settings/settings_notifications.cpp
|
||||
settings/settings_notifications.h
|
||||
settings/settings_power_saving.cpp
|
||||
settings/settings_power_saving.h
|
||||
settings/settings_premium.cpp
|
||||
settings/settings_premium.h
|
||||
settings/settings_privacy_controllers.cpp
|
||||
@@ -1440,6 +1446,13 @@ PRIVATE
|
||||
numbers.txt
|
||||
)
|
||||
|
||||
if (APPLE AND NOT build_macstore)
|
||||
nice_target_sources(Telegram ${res_loc}
|
||||
PRIVATE
|
||||
qrc/telegram/mac_icons.qrc
|
||||
)
|
||||
endif()
|
||||
|
||||
if (WIN32)
|
||||
# message(${CMAKE_GENERATOR})
|
||||
# mt.exe -manifest "${res_loc}/winrc/Telegram.manifest" "-inputresource:\"$<TARGET_FILE:Telegram>\";#1" "-outputresource:\"$<TARGET_FILE:Telegram>\";#1" >NUL
|
||||
|
||||
BIN
Telegram/Resources/art/icon_round512@2x.png
Normal file
|
After Width: | Height: | Size: 82 KiB |
BIN
Telegram/Resources/icons/emoji_empty.png
Normal file
|
After Width: | Height: | Size: 1.6 KiB |
BIN
Telegram/Resources/icons/emoji_empty@2x.png
Normal file
|
After Width: | Height: | Size: 4.2 KiB |
BIN
Telegram/Resources/icons/emoji_empty@3x.png
Normal file
|
After Width: | Height: | Size: 7.3 KiB |
BIN
Telegram/Resources/icons/mediaview/download.png
Normal file
|
After Width: | Height: | Size: 366 B |
BIN
Telegram/Resources/icons/mediaview/download@2x.png
Normal file
|
After Width: | Height: | Size: 617 B |
BIN
Telegram/Resources/icons/mediaview/download@3x.png
Normal file
|
After Width: | Height: | Size: 957 B |
|
Before Width: | Height: | Size: 188 B After Width: | Height: | Size: 188 B |
|
Before Width: | Height: | Size: 303 B After Width: | Height: | Size: 303 B |
|
Before Width: | Height: | Size: 441 B After Width: | Height: | Size: 441 B |
|
Before Width: | Height: | Size: 146 B After Width: | Height: | Size: 146 B |
|
Before Width: | Height: | Size: 207 B After Width: | Height: | Size: 207 B |
|
Before Width: | Height: | Size: 315 B After Width: | Height: | Size: 315 B |
BIN
Telegram/Resources/icons/mediaview/next.png
Normal file
|
After Width: | Height: | Size: 318 B |
BIN
Telegram/Resources/icons/mediaview/next@2x.png
Normal file
|
After Width: | Height: | Size: 591 B |
BIN
Telegram/Resources/icons/mediaview/next@3x.png
Normal file
|
After Width: | Height: | Size: 880 B |
BIN
Telegram/Resources/icons/mediaview/next_shadow.png
Normal file
|
After Width: | Height: | Size: 435 B |
BIN
Telegram/Resources/icons/mediaview/next_shadow@2x.png
Normal file
|
After Width: | Height: | Size: 769 B |
BIN
Telegram/Resources/icons/mediaview/next_shadow@3x.png
Normal file
|
After Width: | Height: | Size: 1.1 KiB |
BIN
Telegram/Resources/icons/mediaview/rotate.png
Normal file
|
After Width: | Height: | Size: 680 B |
BIN
Telegram/Resources/icons/mediaview/rotate@2x.png
Normal file
|
After Width: | Height: | Size: 1.2 KiB |
BIN
Telegram/Resources/icons/mediaview/rotate@3x.png
Normal file
|
After Width: | Height: | Size: 1.8 KiB |
|
Before Width: | Height: | Size: 454 B After Width: | Height: | Size: 454 B |
|
Before Width: | Height: | Size: 882 B After Width: | Height: | Size: 882 B |
|
Before Width: | Height: | Size: 1.3 KiB After Width: | Height: | Size: 1.3 KiB |
BIN
Telegram/Resources/icons/mediaview/shadow_bottom.png
Normal file
|
After Width: | Height: | Size: 215 B |
BIN
Telegram/Resources/icons/mediaview/shadow_bottom@2x.png
Normal file
|
After Width: | Height: | Size: 312 B |
BIN
Telegram/Resources/icons/mediaview/shadow_bottom@3x.png
Normal file
|
After Width: | Height: | Size: 425 B |
BIN
Telegram/Resources/icons/mediaview/shadow_top.png
Normal file
|
After Width: | Height: | Size: 2.1 KiB |
BIN
Telegram/Resources/icons/mediaview/shadow_top@2x.png
Normal file
|
After Width: | Height: | Size: 6.8 KiB |
BIN
Telegram/Resources/icons/mediaview/shadow_top@3x.png
Normal file
|
After Width: | Height: | Size: 14 KiB |
BIN
Telegram/Resources/icons/mediaview/title_button_close_mac.png
Normal file
|
After Width: | Height: | Size: 260 B |
BIN
Telegram/Resources/icons/mediaview/title_button_close_mac@2x.png
Normal file
|
After Width: | Height: | Size: 368 B |
BIN
Telegram/Resources/icons/mediaview/title_button_close_mac@3x.png
Normal file
|
After Width: | Height: | Size: 490 B |
BIN
Telegram/Resources/icons/mediaview/title_button_mac.png
Normal file
|
After Width: | Height: | Size: 292 B |
BIN
Telegram/Resources/icons/mediaview/title_button_mac@2x.png
Normal file
|
After Width: | Height: | Size: 485 B |
BIN
Telegram/Resources/icons/mediaview/title_button_mac@3x.png
Normal file
|
After Width: | Height: | Size: 703 B |
BIN
Telegram/Resources/icons/mediaview/title_button_maximize_mac.png
Normal file
|
After Width: | Height: | Size: 244 B |
|
After Width: | Height: | Size: 324 B |
|
After Width: | Height: | Size: 448 B |
BIN
Telegram/Resources/icons/mediaview/title_button_minimize_mac.png
Normal file
|
After Width: | Height: | Size: 204 B |
|
After Width: | Height: | Size: 264 B |
|
After Width: | Height: | Size: 333 B |
BIN
Telegram/Resources/icons/mediaview/title_button_shadow_mac.png
Normal file
|
After Width: | Height: | Size: 371 B |
|
After Width: | Height: | Size: 636 B |
|
After Width: | Height: | Size: 915 B |
BIN
Telegram/Resources/icons/mediaview/title_button_shrink_mac.png
Normal file
|
After Width: | Height: | Size: 259 B |
|
After Width: | Height: | Size: 319 B |
|
After Width: | Height: | Size: 434 B |
BIN
Telegram/Resources/icons/mediaview/title_viewer_button_close.png
Normal file
|
After Width: | Height: | Size: 280 B |
|
After Width: | Height: | Size: 451 B |
|
After Width: | Height: | Size: 653 B |
|
After Width: | Height: | Size: 338 B |
|
After Width: | Height: | Size: 485 B |
|
After Width: | Height: | Size: 695 B |
|
After Width: | Height: | Size: 236 B |
|
After Width: | Height: | Size: 296 B |
|
After Width: | Height: | Size: 414 B |
|
After Width: | Height: | Size: 423 B |
|
After Width: | Height: | Size: 639 B |
|
After Width: | Height: | Size: 921 B |
BIN
Telegram/Resources/icons/mediaview/title_viewer_shadow_close.png
Normal file
|
After Width: | Height: | Size: 419 B |
|
After Width: | Height: | Size: 660 B |
|
After Width: | Height: | Size: 934 B |
|
After Width: | Height: | Size: 358 B |
|
After Width: | Height: | Size: 572 B |
|
After Width: | Height: | Size: 808 B |
|
After Width: | Height: | Size: 259 B |
|
After Width: | Height: | Size: 361 B |
|
After Width: | Height: | Size: 481 B |
|
After Width: | Height: | Size: 450 B |
|
After Width: | Height: | Size: 699 B |
|
After Width: | Height: | Size: 969 B |
|
Before Width: | Height: | Size: 172 B |
|
Before Width: | Height: | Size: 351 B |
|
Before Width: | Height: | Size: 495 B |
|
Before Width: | Height: | Size: 513 B |
|
Before Width: | Height: | Size: 1.0 KiB |
|
Before Width: | Height: | Size: 1.6 KiB |
|
Before Width: | Height: | Size: 296 B |
|
Before Width: | Height: | Size: 497 B |
|
Before Width: | Height: | Size: 729 B |
|
Before Width: | Height: | Size: 912 B |
|
Before Width: | Height: | Size: 1.8 KiB |
|
Before Width: | Height: | Size: 2.5 KiB |
BIN
Telegram/Resources/icons/menu/channel.png
Normal file
|
After Width: | Height: | Size: 610 B |
BIN
Telegram/Resources/icons/menu/channel@2x.png
Normal file
|
After Width: | Height: | Size: 1.1 KiB |
BIN
Telegram/Resources/icons/menu/channel@3x.png
Normal file
|
After Width: | Height: | Size: 1.6 KiB |
BIN
Telegram/Resources/icons/menu/chat_bubble.png
Normal file
|
After Width: | Height: | Size: 661 B |
BIN
Telegram/Resources/icons/menu/chat_bubble@2x.png
Normal file
|
After Width: | Height: | Size: 1.2 KiB |
BIN
Telegram/Resources/icons/menu/chat_bubble@3x.png
Normal file
|
After Width: | Height: | Size: 1.8 KiB |
BIN
Telegram/Resources/icons/menu/emoji.png
Normal file
|
After Width: | Height: | Size: 575 B |
BIN
Telegram/Resources/icons/menu/emoji@2x.png
Normal file
|
After Width: | Height: | Size: 1.2 KiB |
BIN
Telegram/Resources/icons/menu/emoji@3x.png
Normal file
|
After Width: | Height: | Size: 1.8 KiB |
|
Before Width: | Height: | Size: 546 B After Width: | Height: | Size: 463 B |
|
Before Width: | Height: | Size: 949 B After Width: | Height: | Size: 1016 B |