Compare commits
153 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
feb1e9c4af | ||
|
|
6850cc5ab4 | ||
|
|
9360f1f970 | ||
|
|
57340f9514 | ||
|
|
4e63346877 | ||
|
|
f69d0823a9 | ||
|
|
02ae541246 | ||
|
|
8fda1169e5 | ||
|
|
53305f5f46 | ||
|
|
75fc88d679 | ||
|
|
8264968718 | ||
|
|
598cec8a9d | ||
|
|
f3e1aef264 | ||
|
|
fe4bb19358 | ||
|
|
07ba84c857 | ||
|
|
0f443da758 | ||
|
|
886ff7de50 | ||
|
|
5cb5e3cc22 | ||
|
|
82e150a27e | ||
|
|
c947586091 | ||
|
|
eb6afdf438 | ||
|
|
b634ebab78 | ||
|
|
e2fbcd4b0e | ||
|
|
f255573070 | ||
|
|
c65468f270 | ||
|
|
503814ad4e | ||
|
|
b9c64499bd | ||
|
|
3271cdf251 | ||
|
|
0eee937e6d | ||
|
|
30cd3cb681 | ||
|
|
d6a30c4853 | ||
|
|
551e1f787c | ||
|
|
cdf09e0519 | ||
|
|
4b489ee7d2 | ||
|
|
ca61b80fe5 | ||
|
|
aef37be3d0 | ||
|
|
96c86b3e49 | ||
|
|
38367dc1c7 | ||
|
|
7ef78ba6c9 | ||
|
|
433169626b | ||
|
|
5cd339332c | ||
|
|
d1b9785d31 | ||
|
|
a7c9a1ab34 | ||
|
|
9bc9547b1c | ||
|
|
5e3b094e86 | ||
|
|
8d66680a96 | ||
|
|
bdc43c0aea | ||
|
|
4cb6e4b787 | ||
|
|
596c4a06a3 | ||
|
|
4f7c728632 | ||
|
|
7d89952541 | ||
|
|
0309eb023e | ||
|
|
969b27cb75 | ||
|
|
ecb4d1d9ba | ||
|
|
68378cf8e5 | ||
|
|
4f02f722ae | ||
|
|
74cfaff100 | ||
|
|
92e2b91f81 | ||
|
|
395100584f | ||
|
|
49544111ab | ||
|
|
f3a00abe18 | ||
|
|
a511681113 | ||
|
|
aab4dbb7cf | ||
|
|
80fcffcc40 | ||
|
|
aa0a9b2db9 | ||
|
|
b7c95e9636 | ||
|
|
4414369fc8 | ||
|
|
15dc6064ef | ||
|
|
b9b609f445 | ||
|
|
be7cd51740 | ||
|
|
f13e28a9c5 | ||
|
|
fe025e3c44 | ||
|
|
dd7568ed3a | ||
|
|
b47e29b182 | ||
|
|
dee8b1fe6f | ||
|
|
3c040ab5f9 | ||
|
|
17ffebb684 | ||
|
|
8c824edaa5 | ||
|
|
ad52c0cb16 | ||
|
|
773755d70e | ||
|
|
1bd74fe478 | ||
|
|
4691cff3f6 | ||
|
|
c849d17667 | ||
|
|
96c910190b | ||
|
|
fd6751233e | ||
|
|
487e8a9009 | ||
|
|
3a536c6f75 | ||
|
|
154c0e6bb2 | ||
|
|
9be47f0870 | ||
|
|
431e3035af | ||
|
|
bf18907fe6 | ||
|
|
c7678f17ac | ||
|
|
0c695a6a9a | ||
|
|
efe12e0289 | ||
|
|
dad11a17dd | ||
|
|
dbf673f674 | ||
|
|
9308615361 | ||
|
|
c7433477bc | ||
|
|
8a1140c09f | ||
|
|
a2bf1544df | ||
|
|
f4a6be2ed9 | ||
|
|
6b24eb6d8e | ||
|
|
a55dbe212a | ||
|
|
55e44e3675 | ||
|
|
dc8aefd7ad | ||
|
|
33f56a791a | ||
|
|
f2e4a5a35a | ||
|
|
ebded1b421 | ||
|
|
53c15ed2ac | ||
|
|
3b2f6b893d | ||
|
|
5d0445dd25 | ||
|
|
12eda0bb26 | ||
|
|
96a3c704d2 | ||
|
|
a02642b917 | ||
|
|
80fe3d732a | ||
|
|
f55d3d1c6a | ||
|
|
deea69e119 | ||
|
|
6925bf6a8e | ||
|
|
a0110fed27 | ||
|
|
30a945a043 | ||
|
|
c062b4b3a1 | ||
|
|
06fb5540e1 | ||
|
|
0e9a7ffe46 | ||
|
|
2f48fe920e | ||
|
|
936d4004ff | ||
|
|
fd03217032 | ||
|
|
963722cce1 | ||
|
|
b890b9542c | ||
|
|
9b2d080e8e | ||
|
|
6eaeb306d6 | ||
|
|
213d7875ba | ||
|
|
7ff74b9e1e | ||
|
|
bd5f145a8c | ||
|
|
c534f3f22e | ||
|
|
22b37c4bf8 | ||
|
|
1e60eb1894 | ||
|
|
af93d7cc97 | ||
|
|
0e6e263a7b | ||
|
|
c0b106015c | ||
|
|
681a3e602b | ||
|
|
00f75ca5d6 | ||
|
|
c0f898b069 | ||
|
|
d0cb387c6e | ||
|
|
55eb381bd2 | ||
|
|
5565da5308 | ||
|
|
1ea6224e60 | ||
|
|
5c4b68d632 | ||
|
|
f4a3d87b5d | ||
|
|
f10ed4b9bc | ||
|
|
81327ede7b | ||
|
|
9a4b8cdd82 | ||
|
|
f882a0f407 | ||
|
|
e48fd5d079 |
8
.github/workflows/linux.yml
vendored
@@ -53,7 +53,7 @@ jobs:
|
||||
|
||||
defaults:
|
||||
run:
|
||||
shell: scl enable llvm-toolset-7.0 -- scl enable devtoolset-9 -- bash --noprofile --norc -eo pipefail {0}
|
||||
shell: scl enable llvm-toolset-7.0 -- scl enable devtoolset-10 -- bash --noprofile --norc -eo pipefail {0}
|
||||
|
||||
strategy:
|
||||
matrix:
|
||||
@@ -88,9 +88,6 @@ jobs:
|
||||
DEFINE=""
|
||||
if [ -n "${{ matrix.defines }}" ]; then
|
||||
DEFINE="-D ${{ matrix.defines }}=ON"
|
||||
if [ "${{ matrix.defines }}" == "DESKTOP_APP_DISABLE_DBUS_INTEGRATION" ]; then
|
||||
DEFINE="$DEFINE -D DESKTOP_APP_DISABLE_WEBKITGTK=ON"
|
||||
fi
|
||||
echo Define from matrix: $DEFINE
|
||||
echo "ARTIFACT_NAME=Telegram_${{ matrix.defines }}" >> $GITHUB_ENV
|
||||
else
|
||||
@@ -106,8 +103,7 @@ jobs:
|
||||
-D DESKTOP_APP_DISABLE_CRASH_REPORTS=OFF \
|
||||
$DEFINE
|
||||
|
||||
cd ../out/Debug
|
||||
make -j$(nproc)
|
||||
cmake --build ../out --config Debug --parallel
|
||||
|
||||
- name: Check.
|
||||
run: |
|
||||
|
||||
@@ -112,6 +112,8 @@ PRIVATE
|
||||
api/api_chat_filters.h
|
||||
api/api_chat_invite.cpp
|
||||
api/api_chat_invite.h
|
||||
api/api_chat_participants.cpp
|
||||
api/api_chat_participants.h
|
||||
api/api_cloud_password.cpp
|
||||
api/api_cloud_password.h
|
||||
api/api_common.h
|
||||
@@ -400,6 +402,8 @@ PRIVATE
|
||||
data/data_chat.h
|
||||
data/data_chat_filters.cpp
|
||||
data/data_chat_filters.h
|
||||
data/data_chat_participant_status.cpp
|
||||
data/data_chat_participant_status.h
|
||||
data/data_changes.cpp
|
||||
data/data_changes.h
|
||||
data/data_channel.cpp
|
||||
@@ -785,6 +789,8 @@ PRIVATE
|
||||
main/main_session.h
|
||||
main/main_session_settings.cpp
|
||||
main/main_session_settings.h
|
||||
main/session/send_as_peers.cpp
|
||||
main/session/send_as_peers.h
|
||||
media/system_media_controls_manager.h
|
||||
media/system_media_controls_manager.cpp
|
||||
media/audio/media_audio.cpp
|
||||
@@ -982,6 +988,8 @@ PRIVATE
|
||||
platform/win/windows_dlls.h
|
||||
platform/win/windows_event_filter.cpp
|
||||
platform/win/windows_event_filter.h
|
||||
platform/win/windows_autostart_task.cpp
|
||||
platform/win/windows_autostart_task.h
|
||||
platform/win/windows_toast_activator.cpp
|
||||
platform/win/windows_toast_activator.h
|
||||
platform/platform_audio.h
|
||||
@@ -1081,6 +1089,8 @@ PRIVATE
|
||||
ui/chat/attach/attach_item_single_file_preview.h
|
||||
ui/chat/attach/attach_item_single_media_preview.cpp
|
||||
ui/chat/attach/attach_item_single_media_preview.h
|
||||
ui/chat/choose_send_as.cpp
|
||||
ui/chat/choose_send_as.h
|
||||
ui/chat/choose_theme_controller.cpp
|
||||
ui/chat/choose_theme_controller.h
|
||||
ui/effects/fireworks_animation.cpp
|
||||
@@ -1192,6 +1202,13 @@ PRIVATE
|
||||
stdafx.h
|
||||
)
|
||||
|
||||
if (NOT build_winstore)
|
||||
remove_target_sources(Telegram ${src_loc}
|
||||
platform/win/windows_start_task.cpp
|
||||
platform/win/windows_start_task.h
|
||||
)
|
||||
endif()
|
||||
|
||||
if (DESKTOP_APP_DISABLE_DBUS_INTEGRATION)
|
||||
remove_target_sources(Telegram ${src_loc}
|
||||
platform/linux/linux_xdp_file_dialog.cpp
|
||||
@@ -1390,12 +1407,13 @@ PRIVATE
|
||||
G_LOG_DOMAIN="Telegram"
|
||||
)
|
||||
|
||||
if (APPLE OR NOT CMAKE_EXECUTABLE_SUFFIX STREQUAL "" OR NOT "${output_name}" STREQUAL "Telegram")
|
||||
if ("${CMAKE_GENERATOR}" STREQUAL "Xcode"
|
||||
OR "${CMAKE_GENERATOR}" STREQUAL "Ninja Multi-Config"
|
||||
OR NOT CMAKE_EXECUTABLE_SUFFIX STREQUAL ""
|
||||
OR NOT "${output_name}" STREQUAL "Telegram")
|
||||
set(output_folder ${CMAKE_BINARY_DIR})
|
||||
elseif (DESKTOP_APP_SPECIAL_TARGET STREQUAL "")
|
||||
set(output_folder ${CMAKE_BINARY_DIR}/bin)
|
||||
else()
|
||||
set(output_folder ${CMAKE_BINARY_DIR}/$<IF:$<CONFIG:Debug>,Debug,Release>)
|
||||
set(output_folder ${CMAKE_BINARY_DIR}/bin)
|
||||
endif()
|
||||
|
||||
set_target_properties(Telegram PROPERTIES RUNTIME_OUTPUT_DIRECTORY ${output_folder})
|
||||
@@ -1490,6 +1508,20 @@ if ((NOT DESKTOP_APP_DISABLE_AUTOUPDATE OR APPLE) AND NOT build_macstore AND NOT
|
||||
|
||||
set_target_properties(Packer PROPERTIES RUNTIME_OUTPUT_DIRECTORY ${output_folder})
|
||||
endif()
|
||||
elseif (build_winstore)
|
||||
add_executable(StartupTask WIN32)
|
||||
init_non_host_target(StartupTask)
|
||||
|
||||
add_dependencies(Telegram StartupTask)
|
||||
|
||||
nice_target_sources(StartupTask ${src_loc}
|
||||
PRIVATE
|
||||
_other/startup_task_win.cpp
|
||||
)
|
||||
|
||||
set_target_properties(StartupTask PROPERTIES
|
||||
RUNTIME_OUTPUT_DIRECTORY ${output_folder}
|
||||
)
|
||||
endif()
|
||||
|
||||
if (LINUX AND DESKTOP_APP_USE_PACKAGED)
|
||||
|
||||
BIN
Telegram/Resources/icons/calendar_down.png
Normal file
|
After Width: | Height: | Size: 188 B |
BIN
Telegram/Resources/icons/calendar_down@2x.png
Normal file
|
After Width: | Height: | Size: 291 B |
BIN
Telegram/Resources/icons/calendar_down@3x.png
Normal file
|
After Width: | Height: | Size: 867 B |
BIN
Telegram/Resources/icons/player/panel_close.png
Normal file
|
After Width: | Height: | Size: 284 B |
BIN
Telegram/Resources/icons/player/panel_close@2x.png
Normal file
|
After Width: | Height: | Size: 410 B |
BIN
Telegram/Resources/icons/player/panel_close@3x.png
Normal file
|
After Width: | Height: | Size: 593 B |
BIN
Telegram/Resources/icons/player/player_backward.png
Normal file
|
After Width: | Height: | Size: 314 B |
BIN
Telegram/Resources/icons/player/player_backward@2x.png
Normal file
|
After Width: | Height: | Size: 524 B |
BIN
Telegram/Resources/icons/player/player_backward@3x.png
Normal file
|
After Width: | Height: | Size: 736 B |
|
Before Width: | Height: | Size: 281 B After Width: | Height: | Size: 281 B |
|
Before Width: | Height: | Size: 476 B After Width: | Height: | Size: 476 B |
|
Before Width: | Height: | Size: 695 B After Width: | Height: | Size: 695 B |
BIN
Telegram/Resources/icons/player/player_forward.png
Normal file
|
After Width: | Height: | Size: 297 B |
BIN
Telegram/Resources/icons/player/player_forward@2x.png
Normal file
|
After Width: | Height: | Size: 510 B |
BIN
Telegram/Resources/icons/player/player_forward@3x.png
Normal file
|
After Width: | Height: | Size: 775 B |
|
Before Width: | Height: | Size: 359 B After Width: | Height: | Size: 359 B |
|
Before Width: | Height: | Size: 639 B After Width: | Height: | Size: 639 B |
|
Before Width: | Height: | Size: 919 B After Width: | Height: | Size: 919 B |
BIN
Telegram/Resources/icons/player/player_mini_full.png
Normal file
|
After Width: | Height: | Size: 540 B |
BIN
Telegram/Resources/icons/player/player_mini_full@2x.png
Normal file
|
After Width: | Height: | Size: 995 B |
BIN
Telegram/Resources/icons/player/player_mini_full@3x.png
Normal file
|
After Width: | Height: | Size: 1.5 KiB |
BIN
Telegram/Resources/icons/player/player_mini_half.png
Normal file
|
After Width: | Height: | Size: 412 B |
BIN
Telegram/Resources/icons/player/player_mini_half@2x.png
Normal file
|
After Width: | Height: | Size: 665 B |
BIN
Telegram/Resources/icons/player/player_mini_half@3x.png
Normal file
|
After Width: | Height: | Size: 951 B |
BIN
Telegram/Resources/icons/player/player_mini_off.png
Normal file
|
After Width: | Height: | Size: 306 B |
BIN
Telegram/Resources/icons/player/player_mini_off@2x.png
Normal file
|
After Width: | Height: | Size: 450 B |
BIN
Telegram/Resources/icons/player/player_mini_off@3x.png
Normal file
|
After Width: | Height: | Size: 647 B |
|
Before Width: | Height: | Size: 341 B After Width: | Height: | Size: 341 B |
|
Before Width: | Height: | Size: 594 B After Width: | Height: | Size: 594 B |
|
Before Width: | Height: | Size: 879 B After Width: | Height: | Size: 879 B |
|
Before Width: | Height: | Size: 183 B After Width: | Height: | Size: 183 B |
|
Before Width: | Height: | Size: 361 B After Width: | Height: | Size: 361 B |
|
Before Width: | Height: | Size: 566 B After Width: | Height: | Size: 566 B |
BIN
Telegram/Resources/icons/player/player_order.png
Normal file
|
After Width: | Height: | Size: 314 B |
BIN
Telegram/Resources/icons/player/player_order@2x.png
Normal file
|
After Width: | Height: | Size: 527 B |
BIN
Telegram/Resources/icons/player/player_order@3x.png
Normal file
|
After Width: | Height: | Size: 772 B |
BIN
Telegram/Resources/icons/player/player_pause.png
Normal file
|
After Width: | Height: | Size: 229 B |
BIN
Telegram/Resources/icons/player/player_pause@2x.png
Normal file
|
After Width: | Height: | Size: 306 B |
BIN
Telegram/Resources/icons/player/player_pause@3x.png
Normal file
|
After Width: | Height: | Size: 422 B |
|
Before Width: | Height: | Size: 319 B After Width: | Height: | Size: 319 B |
|
Before Width: | Height: | Size: 530 B After Width: | Height: | Size: 530 B |
|
Before Width: | Height: | Size: 877 B After Width: | Height: | Size: 877 B |
|
Before Width: | Height: | Size: 253 B After Width: | Height: | Size: 253 B |
|
Before Width: | Height: | Size: 427 B After Width: | Height: | Size: 427 B |
|
Before Width: | Height: | Size: 747 B After Width: | Height: | Size: 747 B |
|
Before Width: | Height: | Size: 361 B After Width: | Height: | Size: 361 B |
|
Before Width: | Height: | Size: 574 B After Width: | Height: | Size: 574 B |
|
Before Width: | Height: | Size: 845 B After Width: | Height: | Size: 845 B |
|
Before Width: | Height: | Size: 242 B After Width: | Height: | Size: 242 B |
|
Before Width: | Height: | Size: 452 B After Width: | Height: | Size: 452 B |
|
Before Width: | Height: | Size: 662 B After Width: | Height: | Size: 662 B |
|
Before Width: | Height: | Size: 334 B After Width: | Height: | Size: 334 B |
|
Before Width: | Height: | Size: 631 B After Width: | Height: | Size: 631 B |
|
Before Width: | Height: | Size: 1.4 KiB After Width: | Height: | Size: 1.4 KiB |
BIN
Telegram/Resources/icons/player/player_play.png
Normal file
|
After Width: | Height: | Size: 298 B |
BIN
Telegram/Resources/icons/player/player_play@2x.png
Normal file
|
After Width: | Height: | Size: 437 B |
BIN
Telegram/Resources/icons/player/player_play@3x.png
Normal file
|
After Width: | Height: | Size: 609 B |
BIN
Telegram/Resources/icons/player/player_repeat.png
Normal file
|
After Width: | Height: | Size: 396 B |
BIN
Telegram/Resources/icons/player/player_repeat@2x.png
Normal file
|
After Width: | Height: | Size: 606 B |
BIN
Telegram/Resources/icons/player/player_repeat@3x.png
Normal file
|
After Width: | Height: | Size: 1011 B |
BIN
Telegram/Resources/icons/player/player_repeat_single.png
Normal file
|
After Width: | Height: | Size: 449 B |
BIN
Telegram/Resources/icons/player/player_repeat_single@2x.png
Normal file
|
After Width: | Height: | Size: 731 B |
BIN
Telegram/Resources/icons/player/player_repeat_single@3x.png
Normal file
|
After Width: | Height: | Size: 1.2 KiB |
BIN
Telegram/Resources/icons/player/player_reverse.png
Normal file
|
After Width: | Height: | Size: 198 B |
BIN
Telegram/Resources/icons/player/player_reverse@2x.png
Normal file
|
After Width: | Height: | Size: 212 B |
BIN
Telegram/Resources/icons/player/player_reverse@3x.png
Normal file
|
After Width: | Height: | Size: 298 B |
BIN
Telegram/Resources/icons/player/player_shuffle.png
Normal file
|
After Width: | Height: | Size: 514 B |
BIN
Telegram/Resources/icons/player/player_shuffle@2x.png
Normal file
|
After Width: | Height: | Size: 924 B |
BIN
Telegram/Resources/icons/player/player_shuffle@3x.png
Normal file
|
After Width: | Height: | Size: 1.4 KiB |
|
Before Width: | Height: | Size: 445 B After Width: | Height: | Size: 445 B |
|
Before Width: | Height: | Size: 664 B After Width: | Height: | Size: 664 B |
|
Before Width: | Height: | Size: 1.0 KiB After Width: | Height: | Size: 1.0 KiB |
|
Before Width: | Height: | Size: 482 B After Width: | Height: | Size: 482 B |
|
Before Width: | Height: | Size: 1.1 KiB After Width: | Height: | Size: 1.1 KiB |
|
Before Width: | Height: | Size: 1.6 KiB After Width: | Height: | Size: 1.6 KiB |
|
Before Width: | Height: | Size: 341 B After Width: | Height: | Size: 341 B |
|
Before Width: | Height: | Size: 668 B After Width: | Height: | Size: 668 B |
|
Before Width: | Height: | Size: 962 B After Width: | Height: | Size: 962 B |
|
Before Width: | Height: | Size: 216 B After Width: | Height: | Size: 216 B |
|
Before Width: | Height: | Size: 330 B After Width: | Height: | Size: 330 B |
|
Before Width: | Height: | Size: 381 B After Width: | Height: | Size: 381 B |
|
Before Width: | Height: | Size: 163 B After Width: | Height: | Size: 163 B |
|
Before Width: | Height: | Size: 351 B After Width: | Height: | Size: 351 B |
|
Before Width: | Height: | Size: 534 B After Width: | Height: | Size: 534 B |
|
Before Width: | Height: | Size: 117 B After Width: | Height: | Size: 117 B |
|
Before Width: | Height: | Size: 230 B After Width: | Height: | Size: 230 B |
|
Before Width: | Height: | Size: 219 B After Width: | Height: | Size: 219 B |
|
Before Width: | Height: | Size: 272 B After Width: | Height: | Size: 272 B |
|
Before Width: | Height: | Size: 365 B After Width: | Height: | Size: 365 B |
|
Before Width: | Height: | Size: 514 B After Width: | Height: | Size: 514 B |
|
Before Width: | Height: | Size: 75 B After Width: | Height: | Size: 75 B |
|
Before Width: | Height: | Size: 91 B After Width: | Height: | Size: 91 B |
|
Before Width: | Height: | Size: 91 B After Width: | Height: | Size: 91 B |
|
Before Width: | Height: | Size: 637 B After Width: | Height: | Size: 637 B |
|
Before Width: | Height: | Size: 1.2 KiB After Width: | Height: | Size: 1.2 KiB |
|
Before Width: | Height: | Size: 1.9 KiB After Width: | Height: | Size: 1.9 KiB |
|
Before Width: | Height: | Size: 603 B After Width: | Height: | Size: 603 B |
|
Before Width: | Height: | Size: 1.1 KiB After Width: | Height: | Size: 1.1 KiB |