Ilya Fedin
a38b4f039a
Use some methods from lib_base
2020-10-30 10:52:49 +03:00
23rd
367b028094
Moved contacts box preparing to single place.
2020-10-23 13:31:24 +03:00
John Preston
d4f2c96322
Version 2.4: Fix build on macOS.
2020-09-30 19:58:30 +03:00
John Preston
6257445d5e
Fix build on Xcode 12.
2020-09-29 20:20:21 +03:00
John Preston
4a94a0c438
Show replies dialog correctly.
2020-09-29 19:03:24 +03:00
John Preston
734d834a20
Replace mapbox variant with std::variant.
2020-09-29 19:03:19 +03:00
Ilya Fedin
70c993774a
Get rid of redudant cmake options
2020-09-29 18:24:16 +03:00
Ilya Fedin
e523492de0
Add missed methods to specific_mac.h and specific_win.h
2020-08-30 17:00:43 +04:00
Ilya Fedin
3c8c059447
Eliminate the need of Q_OBJECT in main_window_linux and main_window_win
2020-08-30 17:00:43 +04:00
Ilya Fedin
ea8e256a23
Revert "Revert "Add main window shadow for Linux""
...
This reverts commit b7f5cfe083
.
2020-08-30 17:00:43 +04:00
John Preston
b7f5cfe083
Revert "Add main window shadow for Linux"
...
This reverts commit d02092f09e
.
Conflicts:
Telegram/SourceFiles/mainwindow.cpp
Telegram/SourceFiles/platform/linux/specific_linux.cpp
Telegram/SourceFiles/window/main_window.cpp
2020-08-23 16:38:49 +04:00
23rd
0e00bbb012
Updated range-v3 to 0.11.0.
2020-08-18 18:17:31 +04:00
Ilya Fedin
d02092f09e
Add main window shadow for Linux
2020-08-18 08:16:17 +04:00
Ilya Fedin
580e6baee6
Get rid of redudant fontconfig hack
2020-08-15 17:43:28 +04:00
John Preston
71040464c5
Request camera permissions on macOS.
2020-08-11 18:21:40 +04:00
Ilya Fedin
dc9d0aae54
Add support for showing window menu on Wayland
2020-08-11 10:56:29 +04:00
Ilya Fedin
841908fe31
Read decoration layout property from gtk
2020-07-23 14:29:56 +04:00
John Preston
25d69434ec
Support auto-night mode on macOS.
2020-07-23 12:30:20 +04:00
John Preston
8c4e8212cd
Add 'respect system dark mode' checkbox.
2020-07-22 17:18:17 +04:00
Ilya Fedin
47a237c924
Implement system-based dark mode for Windows and Linux
2020-07-22 10:32:56 +04:00
23rd
d9c566ac44
Added touchbar to media view overlay.
...
Fixed #7795 .
2020-07-15 22:10:06 +04:00
23rd
780b5555d7
Added missed OSX checking to touchbar's files.
2020-07-15 22:10:06 +04:00
23rd
87aa8a249f
Reimplemented track position item for audio touchbar.
2020-07-15 22:10:06 +04:00
23rd
8de6d0b63b
Moved creation of touchbar buttons and sliders to separate file.
2020-07-15 22:10:06 +04:00
23rd
8dceec5a9f
Fixed memory leak in obtaining doNotDisturb value on macOS.
2020-07-15 22:10:06 +04:00
23rd
da690d2741
Removed source code of old touchbar.
2020-07-15 22:10:06 +04:00
23rd
b95f5071a4
Added new touchbar to MainWindow.
2020-07-15 22:10:06 +04:00
23rd
7cc55e24c0
Added touchbar manager.
2020-07-15 22:10:06 +04:00
23rd
199c746216
Added main touchbar.
2020-07-15 22:10:06 +04:00
23rd
2b9cce2f23
Moved touchbar item for text formatting to separate file.
2020-07-15 22:10:06 +04:00
23rd
c50df6a6bc
Moved touchbar scrubber item for stickers and emoji to separate file.
2020-07-15 22:10:06 +04:00
23rd
54149fb156
Moved panel of pinned dialogs for touchbar to separate file.
2020-07-15 22:10:06 +04:00
23rd
2f964d0415
Refactored and moved to separate file audio player in touchbar.
2020-07-15 22:10:06 +04:00
23rd
0970728273
Added common touchbar utils.
2020-07-15 22:10:06 +04:00
23rd
b02dd889e0
Removed old touchbar from MainWindow.
2020-07-15 22:10:06 +04:00
Ilya Fedin
b587328fed
Add support for custom titlebar on Linux with Qt < 5.15
2020-07-12 23:19:05 +04:00
John Preston
f10b2194e6
Add option for a native window frame.
...
Fixes #2958 .
2020-07-07 21:34:25 +04:00
John Preston
370ad0aa44
Fix critical memory leak on macOS.
2020-07-01 22:34:42 +04:00
John Preston
eb1845e33b
Fix crash in session destruction.
...
Also use rpl::event_stream for downloaderTaskFinished.
2020-07-01 12:26:29 +04:00
John Preston
b7707a8a89
Fix event loop tracking crash.
2020-06-30 17:41:58 +04:00
John Preston
107dea085c
Fix build for OS X 10.10-10.11.
2020-06-30 00:05:27 +04:00
John Preston
eff340deaf
Fix touchbar destruction with Window.
2020-06-29 22:12:40 +04:00
John Preston
b6ac4a0233
Closed alpha version 2.1.13.1: Multiaccount.
2020-06-26 17:09:39 +04:00
23rd
f8dca0ae88
Fixed couple of issues with passcode lock support in touchbar.
2020-06-26 15:57:09 +03:00
23rd
ef6fab7f2a
Improved unread badges in touchbar.
2020-06-26 15:05:08 +03:00
23rd
c8c7497d75
Removed from touchbar unused code of old panel of pinned dialogs.
2020-06-26 15:05:08 +03:00
23rd
4f062788d2
Wrapped Pins in touchbar to shared_ptr.
2020-06-26 15:05:08 +03:00
23rd
25ab88d87a
Added animated online dots to panel of pinned dialogs in touchbar.
2020-06-26 15:05:08 +03:00
23rd
e5732cba97
Added ability to reorder pins in new panel in touchbar.
2020-06-26 15:05:08 +03:00
23rd
0e794d53cd
Reimplemented panel of pinned dialogs for touchbar.
2020-06-26 15:05:08 +03:00
23rd
68badc6682
Slightly optimized drawing stickers in touchbar.
2020-06-26 15:05:08 +03:00
23rd
27c799ce3d
Fixed size ratios of stickers in touchbar.
2020-06-26 15:05:08 +03:00
John Preston
325840703e
Fix launching with a passcode on macOS.
2020-06-26 11:51:05 +04:00
John Preston
8c4d3a86e7
Fix notifications on macOS.
2020-06-25 19:13:02 +04:00
John Preston
d8a2b391a3
Use Main::Session::uniqueId in notifications.
2020-06-24 13:05:56 +04:00
John Preston
e7b8a52278
Move terms lock from Core::App to Session.
2020-06-24 11:56:16 +04:00
23rd
2e7a89d9c4
Added support of switching accounts to touchbar.
2020-06-23 21:53:43 +04:00
23rd
e318a7d65f
Simplified ranges::find_if with ranges::any_of and ranges::none_of.
2020-06-23 21:53:43 +04:00
John Preston
4a8d297df3
Use username in notifications if available.
2020-06-23 21:53:43 +04:00
John Preston
3bb352e0e5
Fix build and working on macOS.
2020-06-23 21:53:42 +04:00
John Preston
5433c16244
Add target account name to notifications.
2020-06-23 21:53:42 +04:00
John Preston
997913be25
One Window::Notifications system for all sessions.
2020-06-23 21:53:42 +04:00
John Preston
83538675ce
Move a lot of settings to Core::Settings.
2020-06-23 21:53:42 +04:00
John Preston
3a5ede534e
Count all accounts in Core::App().unreadBadge.
2020-06-23 21:53:41 +04:00
John Preston
357caf8007
Keep separate MTP::Config's for separate accounts.
2020-06-23 21:53:41 +04:00
23rd
3ef45f5431
Fixed starting with touchbar.
2020-06-23 21:53:41 +04:00
John Preston
bc144377c0
Support logout of a secondary account.
2020-06-23 21:53:41 +04:00
23rd
9faf15943a
Fixed build for macOS.
2020-06-23 21:53:40 +04:00
John Preston
3c4e959468
Replace observer_peer with rpl interface.
2020-06-23 21:53:40 +04:00
John Preston
b0f9ad71dd
Check some more App::main()s.
2020-06-23 21:53:40 +04:00
23rd
739a3ebe97
Removed all Auth() calls from touchbar.
2020-06-23 21:53:39 +04:00
John Preston
fc174f742a
Move stickers code to Data::Stickers class.
2020-06-23 21:53:38 +04:00
Ilya Fedin
3a91003eea
Use gtk clipboard when available to avoid https://bugreports.qt.io/browse/QTBUG-56595
2020-06-17 20:34:47 +04:00
Ilya Fedin
e098922a4b
Add Platform::AutostartSupported
2020-06-01 18:25:21 +04:00
John Preston
d5b3fa017b
Fix build for macOS.
2020-06-01 18:09:34 +04:00
John Preston
36fbdfb380
Simplify Image, remove ImageSource.
2020-06-01 18:09:33 +04:00
John Preston
ae9ed820ee
Fix sticker set icons display.
2020-06-01 18:09:33 +04:00
John Preston
1329870c8e
Fix build on macOS.
2020-06-01 18:09:30 +04:00
Ilya Fedin
cd81fc6727
Don't lose -freetype argument on restart
2020-05-25 09:26:49 +04:00
Wei Cheng
6559e83e83
fix: obtain doNotDisturb value correctly
2020-05-15 11:44:06 +04:00
John Preston
6f760d513e
Add a checkbox to disable taskbar flash.
...
Also add ability to set urgent flag for the window on Linux.
Fixes #223 , fixes #897 , fixes #906 .
2020-05-12 14:16:24 +04:00
Ilya Fedin
95b4f56b86
Don't use QDesktopServices::openUrl on snap
2020-05-01 12:06:01 +04:00
John Preston
0d58f1c9fa
Try system font config once in snap build.
2020-03-30 12:18:50 +04:00
John Preston
e36a66b971
Fix build for macOS.
2020-03-27 20:36:03 +04:00
23rd
95d8bb01ac
Guarded paletteChanged handling in touchbar's PinnedDialogButton.
2020-03-13 22:56:38 +04:00
Ilya Fedin
8b704f9bd7
Fix escaping in linux launcher creating
2020-02-27 11:51:28 +04:00
John Preston
a88423a33f
Fix bad window rendering with maximize-on-launch.
...
I have no idea why MainWindow is ruined completely in case you call
MainWindow::show, MainWindow::setWindowState(maximized) and then
in the same context (without crl::on_main) create full screen viewer.
2020-02-12 12:09:17 +04:00
Ilya Fedin
5171c0bd77
Fix crash when tray icon is disabled on macOS
2020-02-11 12:38:03 +04:00
Ilya Fedin
6206b6f843
Adapt indicator-application check for sandboxed environments
...
Fix quality loss in the tray icon image
Fix window showing by clicking on the tray icon on macOS
Fix tray icon displaying on KDE
2020-02-10 15:09:47 +04:00
John Preston
2e1e13b843
Rename mediaview.style to media_view.style.
2020-02-05 18:39:47 +04:00
Ilya Fedin
3b4dfa1381
Use LXQt's StatusNotifierItem implementation instead of appindicator
2020-02-05 18:38:34 +04:00
John Preston
74d848311b
Replace str_const with base::const_string.
2020-01-29 12:47:50 +03:00
Ilya Fedin
ffe037f9f1
Fix single instance socket path for compatibility with flatpak
2020-01-23 09:58:12 +03:00
John Preston
4eeac7dc18
Fix whitespace and indentation errors.
...
See #6672 , thanks Sea-n.
2020-01-02 14:25:53 +03:00
John Preston
1f2b5ba0a2
Update spellcheck and ui submodules.
2019-12-14 17:46:31 +03:00
John Preston
e3fa17dd4f
Merge remote-tracking branch 'private/alpha' into cmake
2019-12-06 11:08:14 +03:00
23rd
d542291d8f
Added ability to invoke macOS Character Palette.
2019-12-02 18:50:32 +03:00
John Preston
5bfb98b70d
Initial build with Xcode.
2019-11-25 18:46:02 +03:00
John Preston
6a668fc171
'TDESKTOP_DISABLE_CRASH_REPORTS' => 'DESKTOP_APP_DISABLE_..'
2019-11-07 13:53:55 +03:00
John Preston
1eb62579e2
Support building OS X 10.10/10.11 version.
2019-11-05 14:27:42 +03:00