Commit Graph

1559 Commits

Author SHA1 Message Date
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
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
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
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
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
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
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
23rd 3aa241d825 Removed WebAuthn support for macOS for now. 2025-12-05 23:11:32 +04:00
23rd feb1ea6502 Wrapped text recognition on macOS with experimental toggle. 2025-12-05 20:11:53 +04:00
23rd fea80b4919 Wrapped passkeys on macOS with experimental toggle due to instability. 2025-12-05 20:11:53 +04:00
23rd 255b30e88a Added initial implementation of text recognition for macOS. 2025-12-05 20:11:53 +04:00
23rd d2dd124be0 Added dummy platform files for text recognition. 2025-12-05 20:11:53 +04:00
23rd e7c1073e13 Added initial error handler to passkeys processing. 2025-12-05 18:15:54 +04:00
23rd cb100623fb Added initial macOS API support for passkeys. 2025-12-05 18:15:53 +04:00
23rd 30ef7270b3 Added initial Win API support for passkeys. 2025-12-05 18:15:53 +04:00
23rd cb07bcf0db Added initial dummy platform files for passkeys. 2025-12-05 18:15:53 +04:00
Ilya Fedin 774a44ac7e Stop using geocode-glib
It doesn't seem to work properly anymore, it ignores the passed location doing reversed geocoding based on GeoIP only
2025-12-01 11:30:47 +04:00
Ilya Fedin 75a1657c49 Log Linux notification daemon startup errors 2025-11-20 10:42:13 +04:00
Ilya Fedin 667d92100e Switch Linux notification service watcher to std::optional 2025-11-20 10:42:13 +04:00
Ilya Fedin 67bf796f1e Split scheme check code in Linux launch maps implementation 2025-11-17 10:48:01 +04:00
John Preston 6abd4bae58 Fix build with Qt 6 on Windows. 2025-10-29 14:34:51 +04:00
Ilya Fedin 5fbf280e4a Combine startUrls and sendPaths
This commit allows to handle multiple URLs of all types as positional arguments simultaneously:
* tg:// links
* tonsite:// links
* interpret:// file paths
* generic file paths (to share files)

This allows to Drag'n'Drop files to the Telegram shortcut/binary.
2025-10-23 10:23:53 +04:00
Ilya Fedin de89d349ad Implement launching maps on Linux 2025-10-22 22:01:45 +04:00
Ilya Fedin dbc9beaa19 Make psLaunchMaps async 2025-10-22 22:01:45 +04:00
Ilya Fedin 1f171c4ed1 Remove unused includes from specific_linux.cpp 2025-10-22 22:01:45 +04:00
23rd bc90463893 Removed unused variable in macOS file utilities to fix compiler warning. 2025-10-10 11:26:45 +03:00
23rd 7fb486d8d2 Removed unused variable from touchbar item on macOS. 2025-10-10 11:26:42 +03:00
23rd 8bdf8d42d9 Adapted retrieving displays name for Windows from Qt6.6.0.
https://github.com/qt/qtbase/commit/6136b92f540c15835e0c7eb7e01ab7b58fbea685
2025-10-10 11:24:07 +03:00
Ilya Fedin c084396f8f Show display manufacturer and model on Linux 2025-10-10 11:24:07 +03:00