1646 Commits

Author SHA1 Message Date
AlexeyZavar b25513a06f chore: change tray icon 2026-04-27 18:22:24 +03:00
AlexeyZavar 370140143d fix: taskbar app icon change after unpinning 2026-04-27 18:22:24 +03:00
AlexeyZavar 44ffd2aea1 feat: support send without sound in ghost mode 2026-04-26 20:12:07 +03:00
AlexeyZavar fb9816791e feat: add ghost mode options to macOS bar 2026-04-25 23:11:00 +03:00
AlexeyZavar 8a2a84fa35 fix: make it build 2026-04-25 23:11:00 +03:00
AlexeyZavar 0825ea0160 Merge tag 'v6.7.8' into dev
# Conflicts:
#	.github/workflows/mac_packaged.yml
#	Telegram/Resources/winrc/Telegram.rc
#	Telegram/Resources/winrc/Updater.rc
#	Telegram/SourceFiles/api/api_chat_invite.h
#	Telegram/SourceFiles/boxes/language_box.cpp
#	Telegram/SourceFiles/boxes/send_files_box.h
#	Telegram/SourceFiles/boxes/sticker_set_box.cpp
#	Telegram/SourceFiles/core/version.h
#	Telegram/SourceFiles/data/data_types.h
#	Telegram/SourceFiles/history/history_item.cpp
#	Telegram/SourceFiles/history/history_widget.cpp
#	Telegram/SourceFiles/history/view/history_view_chat_section.cpp
#	Telegram/SourceFiles/history/view/history_view_message.cpp
#	Telegram/SourceFiles/history/view/history_view_translate_bar.cpp
#	Telegram/SourceFiles/history/view/history_view_translate_tracker.cpp
#	Telegram/SourceFiles/platform/mac/main_window_mac.mm
#	Telegram/SourceFiles/settings/sections/settings_main.cpp
#	Telegram/lib_ui
#	snap/snapcraft.yaml
2026-04-24 20:47:17 +03:00
John Preston 0e1b53dfa7 Use single global menu on macOS. 2026-04-24 13:06:15 +07:00
Ilya Fedin 7e77f629f6 Keep QProcess::startDetached in OpenSystemSettings when sandboxed 2026-04-21 22:37:41 +07:00
Ilya Fedin b5f3ea60b7 Try to use KSandbox::startHostProcess 2026-04-17 14:55:16 +07:00
Ilya Fedin bc2eb3df82 Remove explicit disconnections where object lifetime is the same 2026-04-17 14:54:28 +07:00
Ilya Fedin 92488b29d5 Move GNotification action creation to the rest of notification code 2026-04-17 14:54:28 +07:00
Ilya Fedin ef848e0a1b Port Linux notifications to std::get_if
There's no sense to use abstrations calling std::holds_alternative
2026-04-17 14:54:28 +07:00
John Preston 33dda9dffd Return possibility for maps handler customization on Windows. 2026-04-14 21:55:38 +07:00
John Preston 05d2881c16 Disable attempts to launch bingmaps.
Fixes #30551.
2026-04-14 13:23:25 +07:00
23rd a1389ac778 Added inline buttons to macOS notifications from notification user. 2026-04-11 16:00:27 +03:00
John Preston d0e24b555c Bring fullscreen media viewer to active space on macOS. 2026-04-09 17:06:44 +07:00
23rd 88404cfddb Removed unused private fields. 2026-04-09 12:36:51 +03:00
AlexeyZavar d9c6e3a322 Merge tag 'v6.7.4' into dev 2026-04-07 19:39:36 +03:00
23rd b80f25fbc5 Made Swift 6 local translation support optional. 2026-04-06 17:52:53 +03:00
KevinHuge 59b089a0cc Fix stale macOS tray icon colors after appearance switches
Summary:
Fix the macOS tray icon refresh path so the menu bar icon updates immediately after system light/dark appearance changes, even while Telegram stays unfocused in the background.

Changes:
The tray icon code was observing status button appearance changes but rendering against NSApp effectiveAppearance on macOS 10.14 and newer. Those two appearance sources do not update in lockstep while Telegram is unfocused, which caused the tray icon to redraw with a stale color until the app was focused. This change makes the renderer use status.button.effectiveAppearance directly so the icon color is derived from the same Cocoa object that emits the refresh signal.
2026-04-06 16:57:03 +07:00
AlexeyZavar 2f5970d57c Merge tag 'v6.7.2' into dev 2026-04-04 05:32:26 +03:00
23rd 172bbb1b29 Fixed crash on macOS 10.13.
Regression was introduced in 8de878693d.
2026-04-03 23:41:55 +03:00
23rd 8de878693d Fixed initial tray icon color on macOS dark theme. 2026-04-03 13:34:05 +03:00
AlexeyZavar b93c93a20c Merge tag 'v6.6.2' into dev 2026-03-19 01:24:29 +03:00
AlexeyZavar dfc6718bea fix: app restart & crashes on macOS 2026-03-19 00:54:55 +03:00
23rd ccb563eff1 Moved out dock menu from obj-c implementation to Qt implementation.
This allows to remove
the `NSApplicationDelegate::applicationDockMenu` patch for Qt.
2026-03-12 12:59:49 +04:00
Ilya Fedin f0a47c8769 Allow Linux TranslateProvider re-use 2026-03-12 12:59:49 +04:00
Ilya Fedin 27080d4b96 Fix include in Linux translate provider 2026-03-12 12:59:49 +04:00
Ilya Fedin 25026d1657 Support Crow Translate on Linux 2026-03-04 11:44:40 +03:00
23rd d4a5bb788c Moved out some classes from lib_translate. 2026-03-04 08:32:04 +03:00
23rd ccce8756ed Added simple error handler for translations. 2026-03-04 08:32:04 +03:00
23rd d7e8199365 Added platform provider of translations. 2026-03-04 08:32:04 +03:00
23rd 7d310e56cc Added accounts list to tray menu on macOS.
Related commit: 57b22d2ad2.
2026-02-28 19:07:08 +04:00
23rd 7899e4943b Changed behavior to open context menu with right-click on macOS tray. 2026-02-28 19:07:08 +04:00
cumdev1337 234e0b247b Save webauthn resident key 2026-02-28 11:31:30 +04:00
AlexeyZavar b6d19149d9 feat: per-account ghost & lock ghost features & refactor 2026-02-13 16:52:15 +03:00
AlexeyZavar e15d380dd1 Merge tag 'v6.4.2' into dev 2026-01-12 20:19:28 +03:00
23rd 1e6912f560 Respected different scales in rects of text recognition for macOS. 2026-01-03 05:13:29 +03:00
23rd 19e965ce45 Reverted "Wrapped text recognition on macOS with experimental toggle."
This reverts commit feb1ea6502.
2025-12-31 12:18:04 +03:00
AlexeyZavar cb24e7d085 Merge tag 'v6.3.10' & extra into dev 2025-12-30 14:28:06 +03:00
23rd a3465ea80c Removed duplicated menu item for Character Palette for modern macOS. 2025-12-28 10:12:03 +03:00
Ilya Fedin af24830233 Fix Ctrl+, shortcut on Linux
Regression was introduced in 30819509d3
2025-12-26 14:11:14 +04:00
23rd 57b22d2ad2 Added accounts list to dock menu on macOS. 2025-12-22 17:56:54 +04:00
23rd 6ce7641971 Replaced WebAuthn dll loading with SafeLoadLibrary on Windows. 2025-12-16 17:09:13 +03:00
23rd eca8dfb0ec Renamed rpl::start_with_ with rpl::on_. 2025-12-10 21:28:33 +03:00
John Preston 03df5b8546 rpl::type_erased() -> rpl::type_erased. 2025-12-10 14:27:05 +04:00
Ilya Fedin 6cfda1dd43 Use gi::object_cast 2025-12-10 10:43:28 +04:00
AlexeyZavar 77e300b551 Merge tag 'v6.3.6' into dev 2025-12-09 20:09:22 +03:00
Ilya Fedin c27c47dd52 Set M_ARENA_MAX earlier
It doesn't work properly with auto-updatable builds otherwise
2025-12-09 12:36:12 +04:00
Ilya Fedin 6ea30feb18 Attach malloc_trim lifetime to LinuxIntegration 2025-12-09 12:36:12 +04:00