212 Commits

Author SHA1 Message Date
AlexeyZavar d9c6e3a322 Merge tag 'v6.7.4' into dev 2026-04-07 19:39:36 +03:00
23rd 9cb41f4517 Replaced RoundButton text transform constructor arg with setter. 2026-04-06 16:58:16 +03:00
23rd 7c26a251cf Added text transform to RoundButton as mandatory argument. 2026-04-06 16:58:15 +03:00
AlexeyZavar cb24e7d085 Merge tag 'v6.3.10' & extra into dev 2025-12-30 14:28:06 +03:00
John Preston 08a979e638 Use more simple tr::... text helpers. 2025-12-15 21:40:54 +04:00
23rd eca8dfb0ec Renamed rpl::start_with_ with rpl::on_. 2025-12-10 21:28:33 +03:00
AlexeyZavar 51a7739436 Merge remote-tracking branch 'upstream-main/dev' into dev 2025-10-27 12:17:51 +03:00
bleizix d0dd95c198 fix: hide filtered native notifications 2025-10-21 21:45:21 +03:00
23rd a2d17f6f3f Added ability to choose display for notifications to settings. 2025-10-10 11:24:07 +03:00
AlexeyZavar 9cf11ff45d Merge tag 'v6.1.3' into dev 2025-10-04 17:26:13 +03:00
John Preston d60bfa238f Merge TWidget* into Ui::RpWidget*. 2025-08-11 13:55:16 +04:00
AlexeyZavar 13a96ee1d3 Merge tag 'v5.16.2' into dev 2025-07-07 01:23:33 +03:00
John Preston d775760f98 Support nice monoforum userpics. 2025-06-04 10:00:24 +04:00
John Preston dfc1ec3ccf Support shared media / pins for sublists. 2025-06-04 10:00:23 +04:00
AlexeyZavar e572da4927 Merge tag 'v5.14.3' into dev 2025-05-18 22:30:24 +03:00
John Preston 3907a103fc Fix possible notification click problem.
Fixes #29293.
2025-05-15 15:34:23 +04:00
AlexeyZavar adc691f516 Merge tag 'v5.12.1' into dev 2025-03-08 23:02:34 +03:00
John Preston c9fb97cd7c Simplify marked text context logic. 2025-03-07 19:03:40 +04:00
Nikolai Nechaev 03af444735 Notifications: stop fading in before starting to fade out
When a notification is to start hiding (i.e., fade out), it is supposed
to start fading out from the maximum opacity, even if it was not fully
restored (which only happens if the cursor passed through the
notification too quickly). Thus, call `.stop()` for the previous
animation, if any, before `.start()`ing the next animation.
2025-02-14 20:17:02 +04:00
Nikolai Nechaev 7f6221b409 Manager::startAllHiding: don't treat fading in notifications specially
Previously, `Window::Notifications::Default::Manager` would not start
hiding notifications that are fading in when other notifications should
hide. This would lead to some notifications never hiding, e.g., when the
cursor passes through the notification too quickly and there was not
enough time for the notification to fade in completely.

Also renamed `Widget::isShowing` -> `Widget::isFadingIn` for clarity.

Fixes #28811.
2025-02-14 20:17:02 +04:00
AlexeyZavar 20358a2f58 Merge tag 'v5.10.3' into dev 2025-01-15 10:11:17 +03:00
Nikolai Nechaev 7fcd84d08e Fix handling of notification disappearing under cursor
Previously, notifications disappearing under cursor (e.g., because closed
manually or open from another device) did not notify the manager
properly, as the leaveEventHook was not triggered. This could lead to
notifications staying around when not supposed to (see #28813).

This commit fixes that by explicitly notifying manager when the
notification widget disappears under the cursor.

Fixes #28813.
2025-01-06 09:51:09 +04:00
AlexeyZavar 7321b654bf Merge tag 'v5.6.3' into dev 2024-10-16 13:42:36 +03:00
John Preston 9ace04d2c9 Support entities in star gift messages. 2024-10-04 10:06:21 +04:00
John Preston 39fb0a5b66 Remove custom PeerData::isVerifyCodes() userpic. 2024-10-04 10:06:21 +04:00
John Preston 79b1c0edee Support PeerData::isVerifyCodes() peer type. 2024-10-04 10:06:20 +04:00
AlexeyZavar 409eedf58d Merge tag 'v5.5.3' into dev
# Conflicts:
#	Telegram/Resources/winrc/Telegram.rc
#	Telegram/Resources/winrc/Updater.rc
#	Telegram/SourceFiles/chat_helpers/gifs_list_widget.cpp
#	Telegram/SourceFiles/core/version.h
#	Telegram/SourceFiles/history/history_widget.cpp
#	Telegram/SourceFiles/history/view/history_view_element.cpp
#	Telegram/lib_tl
#	Telegram/lib_ui
#	lib/xdg/org.telegram.desktop.metainfo.xml
#	snap/snapcraft.yaml
2024-09-11 20:23:00 +03:00
John Preston 24b0b33f1d Wrap names in LRM/RLM for correct layout. 2024-08-28 14:55:41 +04:00
AlexeyZavar da797a2b07 Merge tag 'v5.2.0' into dev
# Conflicts:
#	Telegram/Resources/winrc/Telegram.rc
#	Telegram/Resources/winrc/Updater.rc
#	Telegram/SourceFiles/calls/calls_call.cpp
#	Telegram/SourceFiles/core/version.h
#	Telegram/SourceFiles/history/view/media/history_view_gif.cpp
#	Telegram/SourceFiles/window/notifications_manager_default.cpp
#	Telegram/lib_ui
#	snap/snapcraft.yaml
2024-07-01 04:17:59 +03:00
Ilya Fedin 490ec7949f Don't call hide/createWinId just to call show right after that in Window::Notifications::Default::HideAllButton 2024-06-22 11:32:36 +04:00
Ilya Fedin d79da3d884 Remove old notification descturction workaround for old X11 systems
There seem to be no need in it anymore
2024-06-15 11:08:06 +04:00
AlexeyZavar 11abaac7c1 fix: hide notifications from blocked users
e.g. when in shared group chats with enabled notifications
sound still plays, lazy to fix that
2024-04-19 02:18:38 +03:00
AlexeyZavar c6b42e2940 Merge tag 'v4.16.0' into dev
# Conflicts:
#	README.md
#	Telegram/Resources/winrc/Telegram.rc
#	Telegram/Resources/winrc/Updater.rc
#	Telegram/SourceFiles/calls/calls_call.cpp
#	Telegram/SourceFiles/core/local_url_handlers.cpp
#	Telegram/SourceFiles/core/version.h
#	Telegram/SourceFiles/history/view/media/history_view_giveaway.cpp
#	Telegram/SourceFiles/history/view/media/history_view_sticker.cpp
#	Telegram/lib_ui
#	snap/snapcraft.yaml
2024-04-01 23:56:12 +03:00
23rd d03d50ef0d Removed cIntRetinaFactor and cRetinaFactor. 2024-03-24 07:10:07 +03:00
ZavaruKitsu adb5abf4fb chore: reformat & refactor & remove as not planned for now 2024-02-04 18:36:11 +03:00
ZavaruKitsu 0f8187fa36 Merge tag 'v4.12.2' into dev
# Conflicts:
#	.github/workflows/win.yml
#	Telegram/Resources/winrc/Telegram.rc
#	Telegram/Resources/winrc/Updater.rc
#	Telegram/SourceFiles/core/version.h
#	Telegram/SourceFiles/settings/settings_advanced.cpp
#	Telegram/SourceFiles/settings/settings_main.cpp
#	Telegram/lib_ui
#	snap/snapcraft.yaml
2023-12-01 15:38:13 +03:00
John Preston b60e50df10 Try using hide media viewer workaround on Linux. 2023-11-22 12:18:45 +04:00
Ilya Fedin 0f9d83f34b Use setFixedSize instead of set{Minimum,Maximum}Size combo 2023-11-21 21:20:50 +04:00
ZavaruKitsu 4b28e910e8 Merge tag 'v4.11.5' into dev
# Conflicts:
#	Telegram/Resources/winrc/Telegram.rc
#	Telegram/Resources/winrc/Updater.rc
#	Telegram/SourceFiles/core/version.h
#	Telegram/SourceFiles/platform/win/tray_win.cpp
#	Telegram/lib_ui
2023-11-08 21:33:14 +03:00
John Preston b2eeab53c5 Improve 5-line reply text elision. 2023-11-06 12:35:27 +04:00
ZavaruKitsu eff273dd7d Merge tag 'v4.10.4' into dev
# Conflicts:
#	Telegram/Resources/winrc/Telegram.rc
#	Telegram/Resources/winrc/Updater.rc
#	Telegram/SourceFiles/core/version.h
#	Telegram/lib_ui
#	snap/snapcraft.yaml
2023-10-21 22:04:45 +03:00
John Preston 396c229a4d Improve Ui::Text::String features. 2023-10-04 22:24:25 +04:00
ZavaruKitsu 0502acc8a4 Merge tag 'v4.10.0' into dev
# Conflicts:
#	README.md
#	Telegram/Resources/winrc/Telegram.rc
#	Telegram/Resources/winrc/Updater.rc
#	Telegram/SourceFiles/apiwrap.cpp
#	Telegram/SourceFiles/core/version.h
#	Telegram/SourceFiles/data/data_stories.cpp
#	Telegram/SourceFiles/platform/win/windows_app_user_model_id.cpp
#	Telegram/lib_ui
#	snap/snapcraft.yaml
2023-09-23 10:58:57 +03:00
23rd 98bb520f47 Adjusted code for refactor of input fields in lib_ui. 2023-09-04 17:36:54 +04:00
ZavaruKitsu ca9feab071 feat: top center notifications 2023-08-30 20:12:41 +00:00
ZavaruKitsu 8e8719870a feat: streamer mode
Co-authored-by: MaxPlays35 <35427519+maxplays35@users.noreply.github.com>
2023-08-30 20:11:28 +00:00
ZavaruKitsu eaba9781a5 upload: import Ayu initial
Co-authored-by: SharapaGorg <sharapov.savely@yandex.ru>
2023-06-03 19:01:58 +03:00
John Preston 864959aee0 Hide login code with a spoiler in chats list. 2023-04-27 15:23:36 +04:00
John Preston 32e650548f One more attempt to fix DND on macOS. 2023-03-15 15:00:29 +04:00
John Preston 2a4c39b9d7 Implement some power saving options. 2023-03-01 09:12:02 +04:00