John Preston
d361f5c6b0
Hide native notifications of deleted messages.
2021-10-21 23:01:13 +04:00
John Preston
f7085b40b1
Support building macOS version with Qt 6.2.
2021-10-21 19:49:48 +04:00
Ilya Fedin
847c01d605
Add Qt 6 support
...
Tested only on Linux so far
2021-10-21 13:15:00 +04:00
23rd
80461bd9fe
Moved ConfirmBox to Ui namespace.
2021-10-19 06:34:27 +03:00
23rd
6148edbc7d
Moved ConfirmBox to td_ui.
2021-10-19 06:34:27 +03:00
John Preston
5cd0a3719e
Beta version 3.1.6: Detach FastReply from MarkAsRead.
2021-10-06 19:24:30 +04:00
John Preston
5136cc3c9c
Rename Dialogs::Layout to Dialogs::Ui.
2021-10-04 23:45:21 +04:00
John Preston
b78b27f517
Move dialogs_layout to dialogs/ui/.
2021-10-04 23:45:21 +04:00
23rd
21f7cec781
Fixed build for macOS.
2021-09-30 21:21:07 +04:00
23rd
64af456d29
Fixed build for macOS.
2021-09-30 21:16:45 +04:00
Ilya Fedin
d2a41a42e0
Move applicationDidFinishLaunching code to init
...
This should make the Qt patch catching the event unneeded
2021-09-29 09:04:23 +04:00
John Preston
19ce1edc16
Use base::SafeRound instead of std::round.
...
Previous assertion violations because of NaN from std::round were
in video streaming, see commits 27d58ba07b
, 8f5830d520
.
Now the crashes happened in the ConvertScale() call from a background
thread when preparing an image from clipboard for sending to a chat.
2021-09-27 12:13:57 +04:00
John Preston
8069fdd873
Use base/random.h instead of openssl::RandomValue.
2021-09-15 13:42:22 +03:00
23rd
900a7d0b2b
Appended references to const auto types in loop to prevent copying.
...
Suggested by Apple Clang.
2021-09-09 16:32:04 +03:00
John Preston
ddda7b8c52
Fix crash in application Dock menu on macOS.
2021-08-18 15:44:38 +03:00
Ilya Fedin
414456d003
Revert "Use gtk clipboard when available to avoid https://bugreports.qt.io/browse/QTBUG-56595 "
...
Fixed in Qt by https://codereview.qt-project.org/c/qt/qtbase/+/306771
This reverts commit 3a91003eea
.
2021-08-12 08:51:10 +03:00
Ilya Fedin
8b7b0fa570
Remove -externalupdater flag
...
Having a path to executable in /etc/tdesktop/externalupdater is a way more convenient and is enough
2021-08-11 18:20:52 +03:00
Ilya Fedin
97262a99c7
Get rid of osx and linux32 special targets
2021-08-11 16:59:27 +03:00
Ilya Fedin
1ebf27bfa1
Switch MainWindow to Ui::RpWindow
2021-07-28 18:05:39 +03:00
Ilya Fedin
dc81f9eeaf
Remove SetWatchingMediaKeys
...
Since SPMediaKeyTap has been removed on Mac, Linux is the only platform where this function is implemented, but that's not really needed due to MPRIS support, so SetWatchingMediaKeys can be dropped entirely
2021-07-19 22:56:14 +03:00
Ilya Fedin
49fed41dfa
Use RegisterUrlScheme from lib_base
2021-07-19 22:55:57 +03:00
John Preston
4276b6cce0
Use rpl for Window::Theme::Background updates.
2021-07-15 16:42:36 +03:00
John Preston
4206ff0483
Don't use MTP* for StickersSet flags.
2021-07-09 09:08:58 +03:00
23rd
9dfb43d525
Fixed build for macOS and Linux.
2021-07-08 20:18:40 +03:00
23rd
a631a28092
Removed App::pixmapFromImageInPlace.
2021-07-06 12:13:06 +03:00
23rd
1cdb83462e
Added initial implementation of masks panel.
2021-07-06 12:13:05 +03:00
23rd
b422ec025e
Removed Ui::show from classes that have pointer to Controller.
2021-06-17 10:57:45 +04:00
23rd
a425024f21
Fixed userpic updating of pinned peers in touchbar.
2021-06-16 09:31:32 +03:00
23rd
707b36dc12
Moved DBIWorkMode to Core::Settings.
2021-06-16 09:31:32 +03:00
23rd
5334372671
Moved WorkMode global variable from facades to core settings.
2021-06-16 09:31:32 +03:00
23rd
16db8468fa
Moved ScreenIsLocked variable from facades to application.
2021-06-16 09:31:32 +03:00
23rd
3ffbb94fdb
Removed SPMediaKeyTap solution for macOS media keys.
...
Related commit: fd6a312abc
.
2021-06-10 23:00:55 +03:00
23rd
63febef3ed
Added Dock menu for macOS.
2021-05-30 23:39:55 +03:00
John Preston
b1c4524612
Fix crash dump generation on Linux.
2021-05-03 17:34:33 +04:00
John Preston
728b1efb9a
Respect Focus Assist only for native notifications.
...
Fixes #16215 .
2021-04-28 11:20:39 +04:00
John Preston
e26e666135
Hide native notification details on lock screen.
2021-04-27 13:51:52 +04:00
John Preston
819ce06dfb
Don't mark messages as read when screen is locked.
2021-04-27 13:31:51 +04:00
John Preston
5bb73d8d3d
Move recent emoji and variants to common settings.
...
Fixes #16163 , fixes #4018 , partially fixes #10123 .
2021-04-26 10:51:10 +04:00
John Preston
a100048cce
Fix build on macOS and Linux.
2021-04-12 10:48:17 +04:00
23rd
23996d14d3
Fixed display of chat buttons on main touchbar after audio touchbar.
...
Fixed #10361 .
2021-04-12 10:48:17 +04:00
Ilya Fedin
c0c10689a1
Get rid of deprecated ranges::view usage
2021-03-13 19:14:58 +03:00
Ilya Fedin
23272430b4
Build with QT_NO_KEYWORDS
2021-03-04 12:07:54 +04:00
John Preston
b38d6667c4
Fix build on macOS.
2021-03-04 11:55:20 +04:00
John Preston
54f06740d5
Remove some App::wnd() calls.
2021-03-03 11:29:26 +04:00
Ilya Fedin
1a3253ae8b
Implement three items tray menu on Linux
2021-02-23 17:14:57 +04:00
Ilya Fedin
15d18077b8
Use new methods from lib_ui
2021-02-19 14:15:09 +04:00
23rd
0783a682dc
Removed App:wnd from Platform::MainWindow for macOS.
2021-02-04 18:13:04 +04:00
23rd
fb9a34a069
Removed App::wnd for opening about box.
2021-02-04 18:13:04 +04:00
23rd
b4af805521
Moved showLogoutConfirmation from MainWindow to Window::Controller.
2021-02-04 18:13:03 +04:00
23rd
1f80c297ec
Removed App:wnd for opening settings.
...
Removed unused App::showSettings from facades.
2021-02-04 18:13:03 +04:00