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
23rd
b95f5071a4
Added new touchbar to MainWindow.
2020-07-15 22:10:06 +04:00
John Preston
eff340deaf
Fix touchbar destruction with Window.
2020-06-29 22:12:40 +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
23rd
d542291d8f
Added ability to invoke macOS Character Palette.
2019-12-02 18:50:32 +03:00
John Preston
2fc9fd5887
Remove some unused code.
2019-10-19 12:27:56 +04:00
John Preston
0c713a930a
Remove app.h / facades.h from precompiled header.
2019-10-01 23:59:46 +03:00
John Preston
b98e02f326
Beta version 1.8.5: Fix build on macOS.
2019-09-08 23:04:25 +03:00
John Preston
ee96d78656
Version 1.8.2: Fix build for Qt 5.3.2.
2019-08-20 14:29:21 +03:00
23rd
1a06714f3a
Added ability to apply formatting from Mac menu.
2019-08-20 12:02:37 +03:00
John Preston
b674003868
Fix build for Xcode.
2019-06-06 15:07:34 +03:00
John Preston
dd68c7e90d
Use Window::Controller to manage MainWindow.
2019-06-06 14:20:21 +03:00
John Preston
f1e3d2f513
Disable touchbar on macOS < 10.13.
2019-05-27 17:01:29 +02:00
John Preston
314e30272b
Replace SingleTimer with base::Timer.
2019-01-18 16:41:08 +04:00
John Preston
a053384618
Fix mtproto-proxy working with domain names.
...
Also refactor a bit TcpConnection and HttpConnection classes.
2018-05-17 13:27:49 +03:00
John Preston
ea7441ae77
Use single LEGAL file with license and copyright.
2018-01-03 13:23:14 +03:00
John Preston
7fdeab829f
Paint native title instead of using custom.
2017-11-16 07:59:12 +04:00
John Preston
1e6d4d6b41
Activate mediaview instead of main window.
...
If the mediaview is currently shown and we receive an activation
event for the main window we should activate and focus mediaview.
2017-05-24 16:25:08 +03:00
John Preston
b74dea8662
Move logo images to Messenger. Set call panel icon.
2017-05-12 18:28:44 +03:00
John Preston
5f2e295d63
Improve calls panel in macOS.
...
Use Qt::Dialog instead of Qt::Tool which works better with window
activation / deactivation handling.
Stop displaying the panel on all spaces when the call is established.
2017-05-09 23:46:28 +03:00
John Preston
50ea4e316e
Improve macOS window behavior.
...
Don't deactivate the application when the main window is hidden.
Such behavior provides some unwanted windows reordering in the
current workspace when the window is hidden by Cmd+W.
Ignore app activation by applicationDidBecomeActive: notification
for a short period of time after a user notification for other app
instance was received (the system sends them sometimes and the main
window is shown + activated for a wrong instance of the application).
2017-04-12 15:50:12 +03:00
John Preston
81790b2271
Notifications management moved to AuthSession.
...
Also implemented Global::WorkMode() as an base::Variable.
2017-03-06 18:38:15 +03:00
John Preston
83720d8789
Finalizing file renaming.
2017-03-04 13:23:56 +03:00
John Preston
6f0cf30b12
Some platform-dependent modules refactoring.
...
Now each platform-dependent module declares its interface in
platform/platform_module.h file and after that includes platform-
specific headers like platform/win/module_win.h with implementation.
Also removed the legacy WinRT platform-dependent implementations.
2017-02-28 13:51:00 +03:00
John Preston
ffc557a0f9
Using standard library instead of std_ namespace.
...
Currently tested only in VS2015.
2017-02-21 16:45:56 +03:00
John Preston
5939c54d33
Version 1.0.13: fix unnecessary window activations.
...
A regression was introduced in 1.0.12 version which led to wrong
activations of the main window: if a custom popup menu was shown
for the tray icon or a custom notification was clicked.
2017-02-20 13:36:25 +03:00
John Preston
7fb1463c43
Version 1.0 stable: bump copyright date to 2017.
2017-01-11 23:02:13 +04:00
John Preston
c65a280b9d
Alpha 0.10.23: small tiled background performance improved.
...
Also some error texts improved. Also Ctrl+W closes MediaView now.
2017-01-01 20:59:33 +04:00
John Preston
eec5b78054
Delete for everyone checkbox added. Various bugfixes.
2017-01-01 15:47:00 +04:00
John Preston
ef927c8465
Theme preview ready.
...
Also style::color is now copyable, constructed only inside a palette.
Also macOS setup new background ready.
2016-12-30 17:53:05 +04:00
John Preston
8ff3779c9a
Custom title bar for macOS 10.10+ improved, colors in palette now.
2016-12-30 17:51:54 +04:00
John Preston
475b35bf55
Custom title on macOS 10.10+ added.
2016-12-30 17:51:51 +04:00
John Preston
3a599e0752
New main menu in DialogsWidget.
...
Also "flip_horizontal" and "flip_vertical" modifiers support added.
Also moving parts of MainWindow to Window::MainWindow.
2016-12-30 17:51:38 +04:00
John Preston
0cbb0014db
Removed blue window title, new small title used only in Windows.
2016-12-30 17:51:37 +04:00
John Preston
e08f5437a6
Palette usage improvements.
2016-12-30 17:51:29 +04:00
John Preston
dbb6371e67
First version on loading themes is ready.
2016-12-30 17:51:27 +04:00
John Preston
2d1d62a953
Code for replying from notifications, macOS uses notificationActivated().
2016-10-02 20:06:34 +03:00
John Preston
0bf55835f5
NB Broken! Notifications refactored to Manager, only Windows working.
2016-10-02 16:54:27 +03:00
John Preston
a41e0c4aa7
NB Broken! Started notification manager abstraction.
2016-10-02 12:30:28 +03:00
John Preston
8e78cfed85
Fixed Xcode build. When hiding fullscreen window first exit fullscreen.
2016-06-16 18:17:39 +03:00
John Preston
fd91893b51
Moved PsMainWindow to Platform::MainWindow, outside of pspecific module.
...
Currently only MSVC build is Ok, Xcode and QtCreator are broken.
2016-06-16 15:59:54 +03:00