Compare commits
503 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 5566a8ca0a | |||
| f5470cd235 | |||
| 1c275caf9d | |||
| 39e3fcb553 | |||
| 11abaac7c1 | |||
| b054093899 | |||
| 7d57e52469 | |||
| a0c787468b | |||
| 3f79ccbcaf | |||
| b6c966f18b | |||
| 1c85a81f1f | |||
| b4c5963a1a | |||
| 299833ca3d | |||
| a48534b51a | |||
| daec2545b4 | |||
| 5234c8af1a | |||
| 80cadf8f7d | |||
| 7cc14bda52 | |||
| c55cab3b1a | |||
| 77d20c11a7 | |||
| fe1babe437 | |||
| 60a96bf9d6 | |||
| 78c8d0562b | |||
| bb0280f096 | |||
| 566b53ce9f | |||
| ec95db0945 | |||
| a0d7d07543 | |||
| fe73bf9053 | |||
| 49c9e08b6c | |||
| abcf55c498 | |||
| 849ce310c4 | |||
| a3e593b747 | |||
| 5433f95eda | |||
| 0459196982 | |||
| 6f1457d30d | |||
| ce596e29c4 | |||
| 86b9d16747 | |||
| 06911ae42a | |||
| af2cb9b757 | |||
| 6a28cd1a35 | |||
| f4a09a9ca0 | |||
| a35f020f56 | |||
| 3d48111368 | |||
| 39ed7d7f4c | |||
| abe83ccb8f | |||
| d1be7c1ff7 | |||
| 1c223e570a | |||
| a37cbd7d05 | |||
| 7ffa9844e2 | |||
| bdf5872f04 | |||
| da1909cc1d | |||
| a503197352 | |||
| d9d9a8f49d | |||
| 6a02bd66a9 | |||
| f57e2edf2a | |||
| a1e2e3d011 | |||
| 5e546d1198 | |||
| 90405f3ebc | |||
| 11b57ff7d3 | |||
| fe06cd63ac | |||
| 6c9d5e1499 | |||
| 6ed910de9f | |||
| a506b8b25c | |||
| 170ebb57c6 | |||
| 29dd574e22 | |||
| 72770aa76d | |||
| 7f1c319aee | |||
| 60805bd916 | |||
| 10272ee0cf | |||
| 7c44cda76e | |||
| 0152d2c48e | |||
| c5febce548 | |||
| 129b07c2c0 | |||
| 47bf099b88 | |||
| 94f1d23788 | |||
| 84ce72ec7a | |||
| 3da8351522 | |||
| 542153d950 | |||
| 090fdfb458 | |||
| 77835a43a5 | |||
| 1a2a1f1c17 | |||
| eaaa704fa4 | |||
| 7803f8e670 | |||
| f36e3c213e | |||
| 6fb1e23ed5 | |||
| 86d0c49e44 | |||
| 9251e6faba | |||
| 8f8725e1af | |||
| 0ce6a4cbdb | |||
| ad3f705f50 | |||
| c5847caa91 | |||
| 8df6d9db7e | |||
| a9c1970f41 | |||
| c3f0d2ef31 | |||
| 0dcc439dda | |||
| 5b0cac47ad | |||
| b39e78a4a9 | |||
| 690d52f7bc | |||
| 23883ed4a1 | |||
| ea178862d8 | |||
| 09f07a7a9d | |||
| f6f8eefaa0 | |||
| ede6e18bc9 | |||
| 36cb28d5cf | |||
| 9464f4b095 | |||
| b31d43cbed | |||
| 2a388ae4b2 | |||
| d675e31a51 | |||
| e32de38d04 | |||
| 154753c732 | |||
| 53b75c8ea4 | |||
| 776e80b4d6 | |||
| b09cede008 | |||
| e2a0483b9f | |||
| aaaeea2979 | |||
| 91f8989f70 | |||
| ae36019ba9 | |||
| 1e0002aa74 | |||
| 1061fb6c85 | |||
| 22f504ca21 | |||
| a74c5ee719 | |||
| ef04ed447f | |||
| cc494fee22 | |||
| d0f793c06d | |||
| fc447bfd51 | |||
| fe463ab8fb | |||
| c678973119 | |||
| 587b07a648 | |||
| 6fd0fb9704 | |||
| ce00b3d950 | |||
| 7fa3c6f8e8 | |||
| 9957678fb7 | |||
| 971803803c | |||
| 8ab118a8e9 | |||
| 1da9df690f | |||
| 615ad85d26 | |||
| e02b60d8fa | |||
| 3fc4030ca6 | |||
| a87fb9160c | |||
| 132caa18c9 | |||
| 6257e990a1 | |||
| c6b42e2940 | |||
| 707146daed | |||
| c0117e72ad | |||
| 3cdb528dfe | |||
| d2164dc0d0 | |||
| 87acc921c3 | |||
| 5741bd9cca | |||
| 1e6fb202f0 | |||
| 8cbb1abff2 | |||
| d21418cf04 | |||
| d35c8232d2 | |||
| 139d1a9aa3 | |||
| f95817861a | |||
| 3e968aecc8 | |||
| 2795af8c7f | |||
| bb438880e3 | |||
| 8492b7144f | |||
| 5dd974f2ab | |||
| d3cd3bb0a4 | |||
| 04acf08d34 | |||
| 4db885d8b4 | |||
| 8718d94e7d | |||
| 24c1151101 | |||
| 0b22e5928c | |||
| 3311a50750 | |||
| 1563a85fea | |||
| 586983eb9b | |||
| 1a7a906ced | |||
| 496247c1d8 | |||
| 2f07bb3973 | |||
| 9b0f3bedff | |||
| c66b5b2490 | |||
| a1264a6088 | |||
| 4e0d770d05 | |||
| 508119a127 | |||
| 341b9e4a29 | |||
| 57789c1272 | |||
| 3845a87f2e | |||
| 3c266b6dc4 | |||
| 32a3952524 | |||
| 9c52f245ac | |||
| 393d9e9f1f | |||
| f28f498467 | |||
| b5a7a351f6 | |||
| a14c0f5253 | |||
| a278aa0f89 | |||
| 479bb2a1d6 | |||
| 538934a88a | |||
| 5d2726036f | |||
| 778317e1b2 | |||
| 99dd5507bf | |||
| 490d9bc3ec | |||
| 796e09bf13 | |||
| 588624e7a9 | |||
| a45a9e6515 | |||
| a7df074b8f | |||
| 9941a46769 | |||
| b0565f2188 | |||
| 8fb3e39881 | |||
| d788f5afac | |||
| 20123fca7f | |||
| 7c7b962c6d | |||
| 68ded1a6e0 | |||
| da7a796edb | |||
| 3b5814edae | |||
| f439443fe5 | |||
| 280d69d346 | |||
| ab74ed0fa7 | |||
| 0d740c21a2 | |||
| f65bc7c0bd | |||
| 0dd1a4973a | |||
| 05a5e62327 | |||
| 66a47137a0 | |||
| f240cbbda6 | |||
| 3d54f8ec49 | |||
| 6fe0c60204 | |||
| f7d04d668b | |||
| 57bd0d2674 | |||
| 08ee25deb2 | |||
| c82d7bd909 | |||
| 59663d6661 | |||
| 5e68dace9f | |||
| fcc9e0b2db | |||
| 3a5b3ff3bd | |||
| 1e1a48865f | |||
| b31c30b9b6 | |||
| 7886a2179f | |||
| d1a995a863 | |||
| 85554d19e4 | |||
| 7f4d13c54a | |||
| 9f67b9ba2f | |||
| 5381fe5a1a | |||
| 0887348611 | |||
| 98ce91df39 | |||
| 191c35914f | |||
| cf1d0677d1 | |||
| 3d97ea6f96 | |||
| caa4c5428a | |||
| 90e572c8b1 | |||
| b1795f8c5a | |||
| 962c64b33c | |||
| bd827d844b | |||
| ed70675e1d | |||
| e07d53725c | |||
| 1b589a35cf | |||
| 439f8d0914 | |||
| 1d7dbc4d17 | |||
| 001b055ee8 | |||
| 8534d6d7d7 | |||
| e7a7c2d267 | |||
| 8803dfcee6 | |||
| 887f10059d | |||
| d3db52ce9c | |||
| 5fa89c22bd | |||
| ea42f9545f | |||
| 8830fb70a4 | |||
| 0edf14f3a9 | |||
| 89c6bb163e | |||
| 8708598daa | |||
| c71c24a6bc | |||
| 386fb07017 | |||
| aad2961646 | |||
| 00a89883fd | |||
| 5509c1810b | |||
| 24498bc95f | |||
| 58caec8d05 | |||
| ebe331a7e4 | |||
| d481008fdb | |||
| b97d243978 | |||
| fd833dff35 | |||
| d9ed3a7d3f | |||
| b8ce79467f | |||
| 9d0457d208 | |||
| fa02e521f9 | |||
| d03d50ef0d | |||
| 58fcedab64 | |||
| 5e11c43f84 | |||
| 4b4de9d5aa | |||
| f135676d36 | |||
| cb9adad660 | |||
| 88dab47d2c | |||
| d6e4613144 | |||
| 893c09c848 | |||
| a0e0fd5b98 | |||
| 98abb3aa00 | |||
| 8982a49192 | |||
| 529eb4e954 | |||
| 846a6d8717 | |||
| 07ab875655 | |||
| 602b0b5d9b | |||
| 0e428aebdb | |||
| 4abc68ab1c | |||
| 2638ee2926 | |||
| ddaf78828a | |||
| 6d5347472d | |||
| 82fda96ed8 | |||
| 55b2b04e2e | |||
| 393f330d15 | |||
| f4ecfeaddd | |||
| ad101dc8a0 | |||
| 24e9a3ea59 | |||
| f1d8135e30 | |||
| a1a415de82 | |||
| 77dc234b2d | |||
| c3ca8c6258 | |||
| 9e18236b55 | |||
| ded7aada52 | |||
| a117c1ebf2 | |||
| d3715cc362 | |||
| 3689e7dfbc | |||
| 59e53c1edf | |||
| f2a54e3cbb | |||
| 20db635366 | |||
| b955d32970 | |||
| 5a5d89c32c | |||
| 1f0ed3bb31 | |||
| 6c083e88a3 | |||
| 2e7323d484 | |||
| 461aebd7f3 | |||
| 73ca78215f | |||
| 200bb31e08 | |||
| 396f52b8ca | |||
| a118d3d848 | |||
| f6b9702b52 | |||
| d92418dc6d | |||
| fe4b853393 | |||
| 782556495a | |||
| 5c32423597 | |||
| 5c8e6c3012 | |||
| 5133f74f67 | |||
| d5b23b5bde | |||
| bf4b4ae936 | |||
| 458b990b8c | |||
| e044753934 | |||
| c0b612c457 | |||
| 9414ef5709 | |||
| c9e566f8aa | |||
| 40bd37315a | |||
| 0410d05913 | |||
| a888b8d846 | |||
| eac5c39a96 | |||
| 202a4064a4 | |||
| ddf2369774 | |||
| 48f70a8552 | |||
| 4685b889c2 | |||
| 3e373200b1 | |||
| 7913d2a82d | |||
| e20770e256 | |||
| d43f0be0da | |||
| 7b4adc2e60 | |||
| 1eeba65ddb | |||
| 1252accef7 | |||
| 5f7c3ae20e | |||
| e1b55b560a | |||
| 315859bf7b | |||
| 0a87dbea68 | |||
| 5f3c380d56 | |||
| 8b62c37c34 | |||
| fae10cfa6b | |||
| f9069144e5 | |||
| 7755b70317 | |||
| c46f34c677 | |||
| 5c428ca502 | |||
| 51d5b7bab6 | |||
| f508ad5e75 | |||
| f9299eee2a | |||
| 212259aae3 | |||
| 6d733bb566 | |||
| 125f856e67 | |||
| 672ad64e53 | |||
| cd59f1d576 | |||
| c4fc43ccc0 | |||
| b20b3142a2 | |||
| d67f25d726 | |||
| d881019c3b | |||
| abdfa4f785 | |||
| 5394717ddc | |||
| c9d58d4259 | |||
| dba9cada83 | |||
| 0ec5181566 | |||
| 886847f457 | |||
| 79d6df2c01 | |||
| 0e26b39faf | |||
| 2414e51a9b | |||
| 8bfb7e221b | |||
| 1935a2b144 | |||
| c525fd64ca | |||
| 6d08b5bf23 | |||
| a73da65253 | |||
| 2be73d7924 | |||
| 080400d7b8 | |||
| bf1b3dc8f6 | |||
| f13971dce1 | |||
| 3f639d5689 | |||
| 19a5dc8a0c | |||
| 5573bbc776 | |||
| 8c5db25476 | |||
| c6f49486ee | |||
| cf6d13acc2 | |||
| 1647991f6a | |||
| b4993453c0 | |||
| 68bb0a1744 | |||
| 12356b1617 | |||
| fc0cfbf003 | |||
| 77dcbaf00c | |||
| 69e9841bbb | |||
| 626b3395ab | |||
| 506b8fd4f1 | |||
| d3b1abb61e | |||
| 990ae11f62 | |||
| 3d5092f7ad | |||
| 296e8c1ab1 | |||
| 0df8864ae0 | |||
| 7c002cf8be | |||
| c345b50ab7 | |||
| d729e625e6 | |||
| 2c03d90fc8 | |||
| 5ebd5852ba | |||
| 5397f64b23 | |||
| 4975cf2ec1 | |||
| bef26cf9d2 | |||
| 9483d17fc8 | |||
| 288979d8e7 | |||
| 49ec051760 | |||
| 0a8e961142 | |||
| 6d352597b4 | |||
| d14f11bd88 | |||
| d608bffecb | |||
| 00dcf11691 | |||
| e3f6c189a7 | |||
| ea36345eee | |||
| 5e82860376 | |||
| 37f5160d1c | |||
| ee847bc1a3 | |||
| c94da177d7 | |||
| 88751896af | |||
| f812166249 | |||
| a47c6f9c9a | |||
| cf8aaf5f9d | |||
| ca4cbddba6 | |||
| dd6768a476 | |||
| 7f7d544943 | |||
| d5e920e45a | |||
| 8545a14763 | |||
| aad8e989d8 | |||
| f086203d25 | |||
| 23e22de6ec | |||
| fb539b0f70 | |||
| 6e08b00dba | |||
| 7f3ebde252 | |||
| 5c11fa4f63 | |||
| d05c4e0990 | |||
| dd7ccada2f | |||
| e6b9ac2267 | |||
| f85c3c88f7 | |||
| e05eb63476 | |||
| c513906996 | |||
| dd0bdd62fb | |||
| 4d12f1c0ef | |||
| 1fe641c458 | |||
| 1e5f821c6f | |||
| 0af131f144 | |||
| ad9107ca90 | |||
| 205479fccc | |||
| 0c991466f5 | |||
| 0fad42b5b4 | |||
| 27bd9e3ee5 | |||
| 02e1c03ed9 | |||
| f56b16c6ef | |||
| 09285bc9cd | |||
| eab249fc13 | |||
| 48eb408fb8 | |||
| ef474f0dc8 | |||
| a704611705 | |||
| b790847fde | |||
| c0c330a150 | |||
| aec4857e7b | |||
| 5dc6bdcc42 | |||
| 08717dcd78 | |||
| a77c547a62 | |||
| d252427e34 | |||
| 58443bc197 | |||
| ea20e41f1d | |||
| afdd22d154 | |||
| 93d1a187ca | |||
| 52c779bffa | |||
| de1bd6ef28 | |||
| c26982be3e | |||
| 5971aefb83 | |||
| 41481129f7 | |||
| 7b8cdb43c4 | |||
| 1e9b7e2726 | |||
| a66b886c51 | |||
| 5b62d97288 | |||
| b040b62b4e | |||
| 50f51d0747 | |||
| 95b4fc0216 | |||
| da047edbc5 | |||
| a8b5061003 | |||
| ec427ad45d | |||
| 778ab70b72 | |||
| 5d1aa10768 |
@@ -52,7 +52,7 @@ jobs:
|
||||
- "DESKTOP_APP_DISABLE_WAYLAND_INTEGRATION"
|
||||
|
||||
env:
|
||||
UPLOAD_ARTIFACT: "false"
|
||||
UPLOAD_ARTIFACT: "true"
|
||||
|
||||
steps:
|
||||
- name: Get repository name.
|
||||
@@ -115,8 +115,8 @@ jobs:
|
||||
if: env.UPLOAD_ARTIFACT == 'true'
|
||||
run: |
|
||||
cd $REPO_NAME/out/Debug
|
||||
mkdir artifact
|
||||
mv {Telegram,Updater} artifact/
|
||||
sudo mkdir artifact
|
||||
sudo mv {Telegram,Updater} artifact/
|
||||
- uses: actions/upload-artifact@master
|
||||
if: env.UPLOAD_ARTIFACT == 'true'
|
||||
name: Upload artifact.
|
||||
|
||||
@@ -47,7 +47,7 @@ jobs:
|
||||
defines:
|
||||
- ""
|
||||
env:
|
||||
UPLOAD_ARTIFACT: "false"
|
||||
UPLOAD_ARTIFACT: "true"
|
||||
ONLY_CACHE: "false"
|
||||
PREPARE_PATH: "Telegram/build/prepare/prepare.py"
|
||||
|
||||
@@ -64,7 +64,10 @@ jobs:
|
||||
- name: First set up.
|
||||
run: |
|
||||
sudo chown -R `whoami`:admin /usr/local/share
|
||||
brew install automake ninja pkg-config
|
||||
|
||||
brew update
|
||||
brew upgrade || true
|
||||
brew install automake meson nasm ninja pkg-config
|
||||
|
||||
# Disable spotlight.
|
||||
sudo mdutil -a -i off
|
||||
|
||||
@@ -50,7 +50,7 @@ jobs:
|
||||
env:
|
||||
GIT: "https://github.com"
|
||||
OPENALDIR: "/usr/local/opt/openal-soft"
|
||||
UPLOAD_ARTIFACT: "false"
|
||||
UPLOAD_ARTIFACT: "true"
|
||||
ONLY_CACHE: "false"
|
||||
MANUAL_CACHING: "1"
|
||||
AUTO_CACHING: "1"
|
||||
|
||||
@@ -43,7 +43,7 @@ jobs:
|
||||
runs-on: ubuntu-20.04
|
||||
|
||||
env:
|
||||
UPLOAD_ARTIFACT: "false"
|
||||
UPLOAD_ARTIFACT: "true"
|
||||
|
||||
steps:
|
||||
- name: Clone.
|
||||
|
||||
@@ -50,7 +50,7 @@ jobs:
|
||||
generator: ["", "Ninja Multi-Config"]
|
||||
|
||||
env:
|
||||
UPLOAD_ARTIFACT: "false"
|
||||
UPLOAD_ARTIFACT: "true"
|
||||
ONLY_CACHE: "false"
|
||||
PREPARE_PATH: "Telegram/build/prepare/prepare.py"
|
||||
|
||||
|
||||
@@ -76,6 +76,9 @@
|
||||
[submodule "Telegram/lib_webview"]
|
||||
path = Telegram/lib_webview
|
||||
url = https://github.com/desktop-app/lib_webview.git
|
||||
[submodule "Telegram/ThirdParty/jemalloc"]
|
||||
path = Telegram/ThirdParty/jemalloc
|
||||
url = https://github.com/jemalloc/jemalloc
|
||||
[submodule "Telegram/ThirdParty/dispatch"]
|
||||
path = Telegram/ThirdParty/dispatch
|
||||
url = https://github.com/apple/swift-corelibs-libdispatch
|
||||
@@ -100,3 +103,6 @@
|
||||
[submodule "Telegram/ThirdParty/libprisma"]
|
||||
path = Telegram/ThirdParty/libprisma
|
||||
url = https://github.com/desktop-app/libprisma.git
|
||||
[submodule "Telegram/ThirdParty/xdg-desktop-portal"]
|
||||
path = Telegram/ThirdParty/xdg-desktop-portal
|
||||
url = https://github.com/flatpak/xdg-desktop-portal.git
|
||||
|
||||
@@ -60,7 +60,7 @@ include(cmake/options.cmake)
|
||||
|
||||
if (NOT DESKTOP_APP_USE_PACKAGED)
|
||||
if (WIN32)
|
||||
set(qt_version 5.15.12)
|
||||
set(qt_version 5.15.13)
|
||||
elseif (APPLE)
|
||||
set(qt_version 6.2.7)
|
||||
endif()
|
||||
@@ -68,6 +68,7 @@ endif()
|
||||
include(cmake/external/qt/package.cmake)
|
||||
|
||||
set(desktop_app_skip_libs
|
||||
glibmm
|
||||
variant
|
||||
)
|
||||
|
||||
|
||||
@@ -30,8 +30,9 @@ include(cmake/lib_tgvoip.cmake)
|
||||
include(cmake/lib_tgcalls.cmake)
|
||||
include(cmake/lib_prisma.cmake)
|
||||
include(cmake/td_export.cmake)
|
||||
include(cmake/td_mtproto.cmake)
|
||||
include(cmake/td_iv.cmake)
|
||||
include(cmake/td_lang.cmake)
|
||||
include(cmake/td_mtproto.cmake)
|
||||
include(cmake/td_scheme.cmake)
|
||||
include(cmake/td_ui.cmake)
|
||||
include(cmake/generate_appdata_changelog.cmake)
|
||||
@@ -62,8 +63,9 @@ PRIVATE
|
||||
desktop-app::external_minizip
|
||||
|
||||
tdesktop::td_export
|
||||
tdesktop::td_mtproto
|
||||
tdesktop::td_iv
|
||||
tdesktop::td_lang
|
||||
tdesktop::td_mtproto
|
||||
tdesktop::td_scheme
|
||||
tdesktop::td_ui
|
||||
desktop-app::lib_webrtc
|
||||
@@ -91,78 +93,79 @@ PRIVATE
|
||||
desktop-app::external_xxhash
|
||||
)
|
||||
|
||||
set(ayugram_files
|
||||
ayu/ayu_worker.cpp
|
||||
ayu/ayu_worker.h
|
||||
ayu/ayu_url_handlers.cpp
|
||||
ayu/ayu_url_handlers.h
|
||||
ayu/ayu_state.cpp
|
||||
ayu/ayu_state.h
|
||||
ayu/ayu_settings.cpp
|
||||
ayu/ayu_settings.h
|
||||
ayu/ayu_lang.cpp
|
||||
ayu/ayu_lang.h
|
||||
ayu/ayu_infra.cpp
|
||||
ayu/ayu_infra.h
|
||||
ayu/ayu_constants.h
|
||||
ayu/utils/ayu_mapper.cpp
|
||||
ayu/utils/ayu_mapper.h
|
||||
ayu/utils/qt_key_modifiers_extended.h
|
||||
ayu/utils/telegram_helpers.cpp
|
||||
ayu/utils/telegram_helpers.h
|
||||
ayu/utils/windows_utils.cpp
|
||||
ayu/utils/windows_utils.h
|
||||
ayu/ui/ayu_logo.cpp
|
||||
ayu/ui/ayu_logo.h
|
||||
ayu/ui/utils/ayu_profile_values.cpp
|
||||
ayu/ui/utils/ayu_profile_values.h
|
||||
ayu/ui/settings/icon_picker.cpp
|
||||
ayu/ui/settings/icon_picker.h
|
||||
ayu/ui/settings/settings_ayu.cpp
|
||||
ayu/ui/settings/settings_ayu.h
|
||||
ayu/ui/context_menu/context_menu.cpp
|
||||
ayu/ui/context_menu/context_menu.h
|
||||
ayu/ui/context_menu/menu_item_subtext.cpp
|
||||
ayu/ui/context_menu/menu_item_subtext.h
|
||||
ayu/ui/sections/edited/edited_log_inner.cpp
|
||||
ayu/ui/sections/edited/edited_log_inner.h
|
||||
ayu/ui/sections/edited/edited_log_item.cpp
|
||||
ayu/ui/sections/edited/edited_log_item.h
|
||||
ayu/ui/sections/edited/edited_log_section.cpp
|
||||
ayu/ui/sections/edited/edited_log_section.h
|
||||
ayu/ui/boxes/edit_deleted_mark.cpp
|
||||
ayu/ui/boxes/edit_deleted_mark.h
|
||||
ayu/ui/boxes/edit_edited_mark.cpp
|
||||
ayu/ui/boxes/edit_edited_mark.h
|
||||
ayu/ui/boxes/font_selector.cpp
|
||||
ayu/ui/boxes/font_selector.h
|
||||
ayu/ui/boxes/theme_selector_box.cpp
|
||||
ayu/ui/boxes/theme_selector_box.h
|
||||
ayu/ui/boxes/message_shot_box.cpp
|
||||
ayu/ui/boxes/message_shot_box.h
|
||||
ayu/ui/components/image_view.cpp
|
||||
ayu/ui/components/image_view.h
|
||||
ayu/libs/json.hpp
|
||||
ayu/libs/json_ext.hpp
|
||||
ayu/libs/sqlite/sqlite3.c
|
||||
ayu/libs/sqlite/sqlite3.h
|
||||
ayu/libs/sqlite/sqlite_orm.h
|
||||
ayu/features/streamer_mode/streamer_mode_windows.cpp
|
||||
ayu/features/streamer_mode/streamer_mode_linux.cpp
|
||||
ayu/features/streamer_mode/streamer_mode.h
|
||||
ayu/features/messageshot/message_shot.cpp
|
||||
ayu/features/messageshot/message_shot.h
|
||||
ayu/data/messages_storage.cpp
|
||||
ayu/data/messages_storage.h
|
||||
ayu/data/entities.h
|
||||
ayu/data/ayu_database.cpp
|
||||
ayu/data/ayu_database.h
|
||||
)
|
||||
|
||||
target_precompile_headers(Telegram PRIVATE $<$<COMPILE_LANGUAGE:CXX,OBJCXX>:${src_loc}/stdafx.h>)
|
||||
nice_target_sources(Telegram ${src_loc}
|
||||
PRIVATE
|
||||
${style_files}
|
||||
|
||||
ayu/ayu_worker.cpp
|
||||
ayu/ayu_worker.h
|
||||
ayu/ayu_url_handlers.cpp
|
||||
ayu/ayu_url_handlers.h
|
||||
ayu/ayu_state.cpp
|
||||
ayu/ayu_state.h
|
||||
ayu/ayu_settings.cpp
|
||||
ayu/ayu_settings.h
|
||||
ayu/ayu_lang.cpp
|
||||
ayu/ayu_lang.h
|
||||
ayu/ayu_infra.cpp
|
||||
ayu/ayu_infra.h
|
||||
ayu/ayu_constants.h
|
||||
ayu/utils/ayu_mapper.cpp
|
||||
ayu/utils/ayu_mapper.h
|
||||
ayu/utils/qt_key_modifiers_extended.h
|
||||
ayu/utils/telegram_helpers.cpp
|
||||
ayu/utils/telegram_helpers.h
|
||||
ayu/utils/windows_utils.cpp
|
||||
ayu/utils/windows_utils.h
|
||||
ayu/ui/ayu_logo.cpp
|
||||
ayu/ui/ayu_logo.h
|
||||
ayu/ui/utils/ayu_profile_values.cpp
|
||||
ayu/ui/utils/ayu_profile_values.h
|
||||
ayu/ui/settings/icon_picker.cpp
|
||||
ayu/ui/settings/icon_picker.h
|
||||
ayu/ui/settings/settings_ayu.cpp
|
||||
ayu/ui/settings/settings_ayu.h
|
||||
ayu/ui/context_menu/context_menu.cpp
|
||||
ayu/ui/context_menu/context_menu.h
|
||||
ayu/ui/context_menu/menu_item_subtext.cpp
|
||||
ayu/ui/context_menu/menu_item_subtext.h
|
||||
ayu/ui/sections/edited/edited_log_inner.cpp
|
||||
ayu/ui/sections/edited/edited_log_inner.h
|
||||
ayu/ui/sections/edited/edited_log_item.cpp
|
||||
ayu/ui/sections/edited/edited_log_item.h
|
||||
ayu/ui/sections/edited/edited_log_section.cpp
|
||||
ayu/ui/sections/edited/edited_log_section.h
|
||||
ayu/ui/boxes/server_read_confirmation_box.cpp
|
||||
ayu/ui/boxes/server_read_confirmation_box.h
|
||||
ayu/ui/boxes/edit_deleted_mark.cpp
|
||||
ayu/ui/boxes/edit_deleted_mark.h
|
||||
ayu/ui/boxes/edit_edited_mark.cpp
|
||||
ayu/ui/boxes/edit_edited_mark.h
|
||||
ayu/ui/boxes/font_selector.cpp
|
||||
ayu/ui/boxes/font_selector.h
|
||||
ayu/ui/boxes/theme_selector_box.cpp
|
||||
ayu/ui/boxes/theme_selector_box.h
|
||||
ayu/ui/boxes/message_shot_box.cpp
|
||||
ayu/ui/boxes/message_shot_box.h
|
||||
ayu/ui/components/image_view.cpp
|
||||
ayu/ui/components/image_view.h
|
||||
ayu/libs/json.hpp
|
||||
ayu/libs/json_ext.hpp
|
||||
ayu/libs/sqlite/sqlite3.c
|
||||
ayu/libs/sqlite/sqlite3.h
|
||||
ayu/libs/sqlite/sqlite_orm.h
|
||||
ayu/features/streamer_mode/streamer_mode_windows.cpp
|
||||
ayu/features/streamer_mode/streamer_mode_linux.cpp
|
||||
ayu/features/streamer_mode/streamer_mode.h
|
||||
ayu/features/messageshot/message_shot.cpp
|
||||
ayu/features/messageshot/message_shot.h
|
||||
ayu/data/messages_storage.cpp
|
||||
ayu/data/messages_storage.h
|
||||
ayu/data/entities.h
|
||||
ayu/data/ayu_database.cpp
|
||||
ayu/data/ayu_database.h
|
||||
${ayugram_files}
|
||||
|
||||
api/api_attached_stickers.cpp
|
||||
api/api_attached_stickers.h
|
||||
@@ -176,6 +179,8 @@ PRIVATE
|
||||
api/api_chat_filters.h
|
||||
api/api_chat_invite.cpp
|
||||
api/api_chat_invite.h
|
||||
api/api_chat_links.cpp
|
||||
api/api_chat_links.h
|
||||
api/api_chat_participants.cpp
|
||||
api/api_chat_participants.h
|
||||
api/api_cloud_password.cpp
|
||||
@@ -184,6 +189,8 @@ PRIVATE
|
||||
api/api_common.h
|
||||
api/api_confirm_phone.cpp
|
||||
api/api_confirm_phone.h
|
||||
api/api_earn.cpp
|
||||
api/api_earn.h
|
||||
api/api_editing.cpp
|
||||
api/api_editing.h
|
||||
api/api_global_privacy.cpp
|
||||
@@ -248,6 +255,8 @@ PRIVATE
|
||||
boxes/filters/edit_filter_box.h
|
||||
boxes/filters/edit_filter_chats_list.cpp
|
||||
boxes/filters/edit_filter_chats_list.h
|
||||
boxes/filters/edit_filter_chats_preview.cpp
|
||||
boxes/filters/edit_filter_chats_preview.h
|
||||
boxes/filters/edit_filter_links.cpp
|
||||
boxes/filters/edit_filter_links.h
|
||||
boxes/peers/add_bot_to_chat_box.cpp
|
||||
@@ -456,8 +465,6 @@ PRIVATE
|
||||
chat_helpers/spellchecker_common.h
|
||||
chat_helpers/stickers_dice_pack.cpp
|
||||
chat_helpers/stickers_dice_pack.h
|
||||
chat_helpers/stickers_emoji_image_loader.cpp
|
||||
chat_helpers/stickers_emoji_image_loader.h
|
||||
chat_helpers/stickers_emoji_pack.cpp
|
||||
chat_helpers/stickers_emoji_pack.h
|
||||
chat_helpers/stickers_gift_box_pack.cpp
|
||||
@@ -514,6 +521,18 @@ PRIVATE
|
||||
core/version.h
|
||||
countries/countries_manager.cpp
|
||||
countries/countries_manager.h
|
||||
data/business/data_business_chatbots.cpp
|
||||
data/business/data_business_chatbots.h
|
||||
data/business/data_business_common.cpp
|
||||
data/business/data_business_common.h
|
||||
data/business/data_business_info.cpp
|
||||
data/business/data_business_info.h
|
||||
data/business/data_shortcut_messages.cpp
|
||||
data/business/data_shortcut_messages.h
|
||||
data/components/scheduled_messages.cpp
|
||||
data/components/scheduled_messages.h
|
||||
data/components/sponsored_messages.cpp
|
||||
data/components/sponsored_messages.h
|
||||
data/notify/data_notify_settings.cpp
|
||||
data/notify/data_notify_settings.h
|
||||
data/notify/data_peer_notify_settings.cpp
|
||||
@@ -631,14 +650,10 @@ PRIVATE
|
||||
data/data_send_action.h
|
||||
data/data_session.cpp
|
||||
data/data_session.h
|
||||
data/data_scheduled_messages.cpp
|
||||
data/data_scheduled_messages.h
|
||||
data/data_shared_media.cpp
|
||||
data/data_shared_media.h
|
||||
data/data_sparse_ids.cpp
|
||||
data/data_sparse_ids.h
|
||||
data/data_sponsored_messages.cpp
|
||||
data/data_sponsored_messages.h
|
||||
data/data_statistics.h
|
||||
data/data_stories.cpp
|
||||
data/data_stories.h
|
||||
@@ -776,6 +791,8 @@ PRIVATE
|
||||
history/view/media/history_view_media.h
|
||||
history/view/media/history_view_media_common.cpp
|
||||
history/view/media/history_view_media_common.h
|
||||
history/view/media/history_view_media_generic.cpp
|
||||
history/view/media/history_view_media_generic.h
|
||||
history/view/media/history_view_media_grouped.cpp
|
||||
history/view/media/history_view_media_grouped.h
|
||||
history/view/media/history_view_media_spoiler.cpp
|
||||
@@ -915,14 +932,18 @@ PRIVATE
|
||||
history/history_view_highlight_manager.h
|
||||
history/history_widget.cpp
|
||||
history/history_widget.h
|
||||
info/boosts/giveaway/giveaway_list_controllers.cpp
|
||||
info/boosts/giveaway/giveaway_list_controllers.h
|
||||
info/boosts/create_giveaway_box.cpp
|
||||
info/boosts/create_giveaway_box.h
|
||||
info/boosts/info_boosts_inner_widget.cpp
|
||||
info/boosts/info_boosts_inner_widget.h
|
||||
info/boosts/info_boosts_widget.cpp
|
||||
info/boosts/info_boosts_widget.h
|
||||
info/channel_statistics/boosts/create_giveaway_box.cpp
|
||||
info/channel_statistics/boosts/create_giveaway_box.h
|
||||
info/channel_statistics/boosts/giveaway/giveaway_list_controllers.cpp
|
||||
info/channel_statistics/boosts/giveaway/giveaway_list_controllers.h
|
||||
info/channel_statistics/boosts/info_boosts_inner_widget.cpp
|
||||
info/channel_statistics/boosts/info_boosts_inner_widget.h
|
||||
info/channel_statistics/boosts/info_boosts_widget.cpp
|
||||
info/channel_statistics/boosts/info_boosts_widget.h
|
||||
info/channel_statistics/earn/info_earn_inner_widget.cpp
|
||||
info/channel_statistics/earn/info_earn_inner_widget.h
|
||||
info/channel_statistics/earn/info_earn_widget.cpp
|
||||
info/channel_statistics/earn/info_earn_widget.h
|
||||
info/common_groups/info_common_groups_inner_widget.cpp
|
||||
info/common_groups/info_common_groups_inner_widget.h
|
||||
info/common_groups/info_common_groups_widget.cpp
|
||||
@@ -1053,6 +1074,10 @@ PRIVATE
|
||||
intro/intro_step.h
|
||||
intro/intro_widget.cpp
|
||||
intro/intro_widget.h
|
||||
iv/iv_delegate_impl.cpp
|
||||
iv/iv_delegate_impl.h
|
||||
iv/iv_instance.cpp
|
||||
iv/iv_instance.h
|
||||
lang/lang_cloud_manager.cpp
|
||||
lang/lang_cloud_manager.h
|
||||
lang/lang_instance.cpp
|
||||
@@ -1187,6 +1212,8 @@ PRIVATE
|
||||
menu/menu_mute.h
|
||||
menu/menu_send.cpp
|
||||
menu/menu_send.h
|
||||
menu/menu_sponsored.cpp
|
||||
menu/menu_sponsored.h
|
||||
menu/menu_ttl_validator.cpp
|
||||
menu/menu_ttl_validator.h
|
||||
mtproto/config_loader.cpp
|
||||
@@ -1241,8 +1268,6 @@ PRIVATE
|
||||
payments/payments_checkout_process.h
|
||||
payments/payments_form.cpp
|
||||
payments/payments_form.h
|
||||
platform/linux/linux_desktop_environment.cpp
|
||||
platform/linux/linux_desktop_environment.h
|
||||
platform/linux/linux_wayland_integration_dummy.cpp
|
||||
platform/linux/linux_wayland_integration.cpp
|
||||
platform/linux/linux_wayland_integration.h
|
||||
@@ -1345,6 +1370,26 @@ PRIVATE
|
||||
profile/profile_block_widget.h
|
||||
profile/profile_cover_drop_area.cpp
|
||||
profile/profile_cover_drop_area.h
|
||||
settings/business/settings_away_message.cpp
|
||||
settings/business/settings_away_message.h
|
||||
settings/business/settings_shortcut_messages.cpp
|
||||
settings/business/settings_shortcut_messages.h
|
||||
settings/business/settings_chat_intro.cpp
|
||||
settings/business/settings_chat_intro.h
|
||||
settings/business/settings_chat_links.cpp
|
||||
settings/business/settings_chat_links.h
|
||||
settings/business/settings_chatbots.cpp
|
||||
settings/business/settings_chatbots.h
|
||||
settings/business/settings_greeting.cpp
|
||||
settings/business/settings_greeting.h
|
||||
settings/business/settings_location.cpp
|
||||
settings/business/settings_location.h
|
||||
settings/business/settings_quick_replies.cpp
|
||||
settings/business/settings_quick_replies.h
|
||||
settings/business/settings_recipients_helper.cpp
|
||||
settings/business/settings_recipients_helper.h
|
||||
settings/business/settings_working_hours.cpp
|
||||
settings/business/settings_working_hours.h
|
||||
settings/cloud_password/settings_cloud_password_common.cpp
|
||||
settings/cloud_password/settings_cloud_password_common.h
|
||||
settings/cloud_password/settings_cloud_password_email.cpp
|
||||
@@ -1363,6 +1408,8 @@ PRIVATE
|
||||
settings/settings_advanced.h
|
||||
settings/settings_blocked_peers.cpp
|
||||
settings/settings_blocked_peers.h
|
||||
settings/settings_business.cpp
|
||||
settings/settings_business.h
|
||||
settings/settings_chat.cpp
|
||||
settings/settings_chat.h
|
||||
settings/settings_calls.cpp
|
||||
@@ -1481,8 +1528,6 @@ PRIVATE
|
||||
ui/image/image_location.h
|
||||
ui/image/image_location_factory.cpp
|
||||
ui/image/image_location_factory.h
|
||||
ui/widgets/level_meter.cpp
|
||||
ui/widgets/level_meter.h
|
||||
ui/countryinput.cpp
|
||||
ui/countryinput.h
|
||||
ui/dynamic_thumbnails.cpp
|
||||
@@ -1498,6 +1543,8 @@ PRIVATE
|
||||
ui/search_field_controller.h
|
||||
ui/text/format_song_document_name.cpp
|
||||
ui/text/format_song_document_name.h
|
||||
ui/widgets/label_with_custom_emoji.cpp
|
||||
ui/widgets/label_with_custom_emoji.h
|
||||
ui/unread_badge.cpp
|
||||
ui/unread_badge.h
|
||||
window/main_window.cpp
|
||||
@@ -1525,6 +1572,8 @@ PRIVATE
|
||||
window/window_lock_widgets.h
|
||||
window/window_main_menu.cpp
|
||||
window/window_main_menu.h
|
||||
window/window_main_menu_helpers.cpp
|
||||
window/window_main_menu_helpers.h
|
||||
window/window_media_preview.cpp
|
||||
window/window_media_preview.h
|
||||
window/window_peer_menu.cpp
|
||||
@@ -1533,8 +1582,6 @@ PRIVATE
|
||||
window/window_session_controller.cpp
|
||||
window/window_session_controller.h
|
||||
window/window_session_controller_link_info.h
|
||||
window/window_slide_animation.cpp
|
||||
window/window_slide_animation.h
|
||||
window/window_top_bar_wrap.h
|
||||
window/themes/window_theme.cpp
|
||||
window/themes/window_theme.h
|
||||
@@ -1609,6 +1656,7 @@ PRIVATE
|
||||
qrc/emoji_preview.qrc
|
||||
qrc/telegram/animations.qrc
|
||||
qrc/telegram/export.qrc
|
||||
qrc/telegram/iv.qrc
|
||||
qrc/telegram/telegram.qrc
|
||||
qrc/telegram/sounds.qrc
|
||||
winrc/Telegram.rc
|
||||
@@ -1716,13 +1764,9 @@ elseif (APPLE)
|
||||
)
|
||||
endif()
|
||||
else()
|
||||
target_link_libraries(Telegram
|
||||
PRIVATE
|
||||
desktop-app::external_glibmm
|
||||
)
|
||||
|
||||
include(${cmake_helpers_loc}/external/glib/generate_dbus.cmake)
|
||||
generate_dbus(Telegram org.freedesktop.portal. XdpInhibit ${src_loc}/platform/linux/org.freedesktop.portal.Inhibit.xml)
|
||||
generate_dbus(Telegram org.freedesktop.portal. XdpBackground ${third_party_loc}/xdg-desktop-portal/data/org.freedesktop.portal.Background.xml)
|
||||
generate_dbus(Telegram org.freedesktop. XdgNotifications ${src_loc}/platform/linux/org.freedesktop.Notifications.xml)
|
||||
|
||||
if (NOT DESKTOP_APP_DISABLE_X11_INTEGRATION)
|
||||
target_link_libraries(Telegram
|
||||
@@ -1796,6 +1840,7 @@ set_target_properties(Telegram PROPERTIES
|
||||
XCODE_ATTRIBUTE_ALWAYS_SEARCH_USER_PATHS NO
|
||||
XCODE_ATTRIBUTE_CLANG_CXX_LIBRARY libc++
|
||||
XCODE_ATTRIBUTE_OTHER_CODE_SIGN_FLAGS --deep
|
||||
XCODE_ATTRIBUTE_CLANG_DEBUG_INFORMATION_LEVEL $<IF:$<CONFIG:Debug>,default,line-tables-only>
|
||||
)
|
||||
set(entitlement_sources
|
||||
"${CMAKE_CURRENT_SOURCE_DIR}/Telegram/Telegram.entitlements"
|
||||
|
||||
|
After Width: | Height: | Size: 47 KiB |
@@ -559,3 +559,26 @@ div.toast_shown {
|
||||
opacity: 0;
|
||||
user-select: none;
|
||||
}
|
||||
|
||||
.bot_buttons_table {
|
||||
border-spacing: 0px 2px;
|
||||
width: 100%;
|
||||
}
|
||||
.bot_button {
|
||||
border-radius: 8px;
|
||||
text-align: center;
|
||||
vertical-align: middle;
|
||||
background-color: #168acd40;
|
||||
}
|
||||
.bot_button_row {
|
||||
display: table;
|
||||
table-layout: fixed;
|
||||
padding: 0px;
|
||||
width:100%;
|
||||
}
|
||||
.bot_button_row div {
|
||||
display: table-cell;
|
||||
}
|
||||
.bot_button_column_separator {
|
||||
width: 2px
|
||||
}
|
||||
|
||||
@@ -62,6 +62,12 @@ function ShowNotAvailableEmoji() {
|
||||
return false;
|
||||
}
|
||||
|
||||
function ShowTextCopied(content) {
|
||||
navigator.clipboard.writeText(content);
|
||||
ShowToast("Text copied to clipboard.");
|
||||
return false;
|
||||
}
|
||||
|
||||
function ShowSpoiler(target) {
|
||||
if (target.classList.contains("hidden")) {
|
||||
target.classList.toggle("hidden");
|
||||
|
||||
|
After Width: | Height: | Size: 1.9 KiB |
|
After Width: | Height: | Size: 4.3 KiB |
|
After Width: | Height: | Size: 5.7 KiB |
|
After Width: | Height: | Size: 2.0 KiB |
|
After Width: | Height: | Size: 4.4 KiB |
|
After Width: | Height: | Size: 4.7 KiB |
|
After Width: | Height: | Size: 1.9 KiB |
|
After Width: | Height: | Size: 4.3 KiB |
|
After Width: | Height: | Size: 5.6 KiB |
|
After Width: | Height: | Size: 596 B |
|
After Width: | Height: | Size: 1.1 KiB |
|
After Width: | Height: | Size: 1.6 KiB |
|
After Width: | Height: | Size: 592 B |
|
After Width: | Height: | Size: 1.1 KiB |
|
After Width: | Height: | Size: 1.6 KiB |
|
After Width: | Height: | Size: 598 B |
|
After Width: | Height: | Size: 1.1 KiB |
|
After Width: | Height: | Size: 1.6 KiB |
|
After Width: | Height: | Size: 568 B |
|
After Width: | Height: | Size: 1.2 KiB |
|
After Width: | Height: | Size: 1.8 KiB |
|
After Width: | Height: | Size: 687 B |
|
After Width: | Height: | Size: 1.2 KiB |
|
After Width: | Height: | Size: 1.7 KiB |
|
After Width: | Height: | Size: 662 B |
|
After Width: | Height: | Size: 1.2 KiB |
|
After Width: | Height: | Size: 1.8 KiB |
|
After Width: | Height: | Size: 499 B |
|
After Width: | Height: | Size: 928 B |
|
After Width: | Height: | Size: 1.4 KiB |
|
After Width: | Height: | Size: 426 B |
|
After Width: | Height: | Size: 765 B |
|
After Width: | Height: | Size: 1.1 KiB |
|
After Width: | Height: | Size: 681 B |
|
After Width: | Height: | Size: 1.3 KiB |
|
After Width: | Height: | Size: 1.9 KiB |
|
After Width: | Height: | Size: 733 B |
|
After Width: | Height: | Size: 1.3 KiB |
|
After Width: | Height: | Size: 2.0 KiB |
|
After Width: | Height: | Size: 454 B |
|
After Width: | Height: | Size: 845 B |
|
After Width: | Height: | Size: 1.2 KiB |
|
After Width: | Height: | Size: 615 B |
|
After Width: | Height: | Size: 1.1 KiB |
|
After Width: | Height: | Size: 1.5 KiB |
|
After Width: | Height: | Size: 396 B |
|
After Width: | Height: | Size: 607 B |
|
After Width: | Height: | Size: 955 B |
|
After Width: | Height: | Size: 741 B |
|
After Width: | Height: | Size: 1.5 KiB |
|
After Width: | Height: | Size: 2.2 KiB |
|
After Width: | Height: | Size: 748 B |
|
After Width: | Height: | Size: 1.4 KiB |
|
After Width: | Height: | Size: 2.0 KiB |
|
After Width: | Height: | Size: 873 B |
|
After Width: | Height: | Size: 1.7 KiB |
|
After Width: | Height: | Size: 2.4 KiB |
|
After Width: | Height: | Size: 784 B |
|
After Width: | Height: | Size: 1.5 KiB |
|
After Width: | Height: | Size: 2.3 KiB |
|
After Width: | Height: | Size: 564 B |
|
After Width: | Height: | Size: 1.1 KiB |
|
After Width: | Height: | Size: 1.7 KiB |
|
After Width: | Height: | Size: 562 B |
|
After Width: | Height: | Size: 940 B |
|
After Width: | Height: | Size: 1.3 KiB |
|
After Width: | Height: | Size: 760 B |
|
After Width: | Height: | Size: 1.4 KiB |
|
After Width: | Height: | Size: 2.1 KiB |
|
After Width: | Height: | Size: 751 B |
|
After Width: | Height: | Size: 1.4 KiB |
|
After Width: | Height: | Size: 2.0 KiB |
|
Before Width: | Height: | Size: 497 B After Width: | Height: | Size: 568 B |
|
Before Width: | Height: | Size: 787 B After Width: | Height: | Size: 1.1 KiB |
|
Before Width: | Height: | Size: 1.1 KiB After Width: | Height: | Size: 1.6 KiB |
|
After Width: | Height: | Size: 642 B |
|
After Width: | Height: | Size: 1.1 KiB |
|
After Width: | Height: | Size: 1.6 KiB |
|
After Width: | Height: | Size: 1.2 KiB |