Commit graph

218 commits

Author SHA1 Message Date
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
John Preston
707951accb Version 5.2: Fix build with GCC. 2024-06-30 23:59:03 +04:00
John Preston
69d21f73ef Separate window for forums/topics/sublists/archive. 2024-06-30 21:16:10 +04:00
Ilya Fedin
671a15d763 Update skip taskbar hint on Linux without QWindow events 2024-06-22 11:32:36 +04:00
Ilya Fedin
fc5e9414b7 Subscribe to QEvent::WindowStateChange instead of QWindow::windowStateChanged 2024-06-19 10:33:33 +04:00
Ilya Fedin
f768e405fa Use RpWidget::shownValue instead of QWindow::visibleChanged 2024-06-19 10:33:33 +04:00
Ilya Fedin
a22cf8e303 Use RpWidget::windowActiveValue 2024-06-19 10:33:33 +04:00
Ilya Fedin
e4d88f829c Remove old window activation workaround for X11 systems
There seem to be no need in it anymore
2024-06-15 11:08:06 +04:00
AlexeyZavar
57b2c69ce6 Merge tag 'v5.0.2' into dev
# Conflicts:
#	Telegram/Resources/winrc/Telegram.rc
#	Telegram/Resources/winrc/Updater.rc
#	Telegram/SourceFiles/core/version.h
#	Telegram/lib_ui
#	snap/snapcraft.yaml
2024-05-25 02:26:39 +03:00
John Preston
2cb0651b04 Redirect IME to search on Windows. 2024-05-07 22:17:34 +04:00
ZavaruKitsu
d4a22a5110 chore: sync database schema & refactor & reformat 2024-02-04 20:41:21 +03:00
ZavaruKitsu
abf17407ea Merge tag 'v4.14.6' into dev
# Conflicts:
#	Telegram/Resources/winrc/Telegram.rc
#	Telegram/Resources/winrc/Updater.rc
#	Telegram/SourceFiles/core/version.h
#	Telegram/SourceFiles/dialogs/dialogs_widget.cpp
#	Telegram/SourceFiles/dialogs/dialogs_widget.h
#	Telegram/SourceFiles/history/history_item_helpers.cpp
#	Telegram/SourceFiles/history/view/history_view_top_bar_widget.cpp
#	Telegram/lib_ui
#	lib/xdg/org.telegram.desktop.metainfo.xml
#	snap/snapcraft.yaml
2024-01-16 23:44:24 +03:00
John Preston
fc2f41096f Attempt to fix initial window position on Windows. 2024-01-16 11:18:55 +04:00
ZavaruKitsu
fba53e1ec8 feat: refactor a bit 2024-01-03 16:56:32 +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
8f9123bb96 Display story repost nicely. 2023-11-28 21:55:26 +04:00
23rd
4ad51ffb42 Removed some include directives. 2023-11-28 21:55:26 +04:00
23rd
909f3bf011 Added "new-windows-size-as-first" option. 2023-11-28 21:55:25 +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
Ilya Fedin
0f45abd534 Make WithSmallCounter adaptive 2023-11-04 20:50:58 +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
Ilya Fedin
e8a1fc0300 Add a method to check whether to run in background instead of checking for macOS 2023-09-12 10:27:13 +04:00
ZavaruKitsu
649e0b0412 feat: icon picker
Inspired by Forkgram's icon changer
Need to refactor a bit later
2023-09-01 17:17:16 +03:00
ZavaruKitsu
62cfe5ef98 Merge tag 'v4.9.3' into dev
# Conflicts:
#	Telegram/Resources/winrc/Telegram.rc
#	Telegram/Resources/winrc/Updater.rc
#	Telegram/SourceFiles/core/version.h
#	Telegram/lib_ui
2023-08-27 09:07:54 +00:00
John Preston
f1ab712f07 Fix outdated bar closing. 2023-08-14 22:30:39 +02:00
ZavaruKitsu
eaba9781a5 upload: import Ayu initial
Co-authored-by: SharapaGorg <sharapov.savely@yandex.ru>
2023-06-03 19:01:58 +03:00
Ilya Fedin
590be6d6e7 Fix CounterLayerArgs devicePixelRatio order 2023-04-05 10:17:22 +04:00
Ilya Fedin
8dee2a1c8b Set device pixel ratio for counter layer 2023-04-04 10:07:51 +04:00
John Preston
58c5bb7247 Update online after the window active status.
I hope this fixes #26059.
2023-03-21 16:23:38 +04:00
Ilya Fedin
2635b35b74 Move kurlmimedata.h include to where it's really used 2023-03-17 18:56:23 +04:00
John Preston
aa9e56c633 Update icon on macOS, allow changing back. 2023-03-01 09:12:02 +04:00
John Preston
832d47121f Save media viewer position to Settings. 2023-02-18 15:10:13 +04:00
John Preston
94b489835c Add chat name / account name / unread count title settings. 2023-02-03 17:51:47 +04:00
John Preston
37cf12f06e Beta version 4.5.9: Fix new window position. 2023-02-02 22:10:44 +04:00
John Preston
0495cf4187 Use better initial geometry for new windows. 2023-02-02 20:20:05 +04:00
John Preston
3e332ad8e7 Rewrite shortcuts using QAction.
That way they don't depend on the main window.
2023-01-19 09:46:19 +04:00
John Preston
fc26457218 Show current chat name in the window title. 2023-01-09 18:39:07 +04:00
John Preston
c49dac57b7 Don't use window title for IPC. 2023-01-09 16:08:34 +04:00
John Preston
741b524d71 Add description to an option (looks better). 2023-01-02 15:08:28 +04:00
23rd
84de08cad6 Added separated unread counter to single peer window titles. 2022-12-06 12:56:56 +03:00
23rd
cc0b1b1d54 Added option for chat names in titles of single peer windows. 2022-12-06 12:56:56 +03:00
23rd
6cb0834d19 Added chat name to titles of single peer windows. 2022-12-05 02:49:34 +03:00
23rd
4fabb3f2a2 Replaced some qsl with u""_q literal. 2022-11-30 17:17:14 +03:00
John Preston
01139e1b04 Remove facades module. 2022-11-30 16:55:51 +04:00
John Preston
ae90347c6c Revert "Fixed switching between accounts with filters at screen edge."
This reverts commit 8f3c3b2a54.

Regressions with account switch in a maximized window.
2022-11-23 00:44:31 +01:00
23rd
8f3c3b2a54 Fixed switching between accounts with filters at screen edge. 2022-11-22 00:26:48 +00:00
Ilya Fedin
d9318c9935 Move icon name getter to cross-platform header 2022-09-19 14:23:27 +04:00
John Preston
749fb52113 Implement animated spoilers. 2022-09-18 16:52:30 +04:00
Ilya Fedin
e20840b4d4 Use KUrlMimeData for clipboard xdg-desktop-portal integration 2022-08-30 20:25:10 +04:00
Ilya Fedin
1e7117dd67 Revert "Fix enlargening the window by shadow margin when resotring position"
This reverts commit e0ddaf9da1.
2022-08-14 11:51:13 +04:00