Ilya Fedin
0921ae283b
Send XDG_ACTIVATION_TOKEN to the first instance
2022-08-03 15:26:08 +04:00
Ilya Fedin
0a876226fe
Move QT_FONT_DPI workaround to Qt patches
2022-06-14 16:36:44 +04:00
Ilya Fedin
db33fbac27
Get rid of DisableCustomScaling hack
...
This shouldn't be needed since Qt is built without High-DPI scaling support in official binaries and QT_SCALE_FACTOR is a debug environment variable, so any use of it is a user's environment misconfiguration.
https://doc.qt.io/qt-6/highdpi.html#environment-variable-reference
2022-05-19 17:23:47 +04:00
Ilya Fedin
9a4d2bc8f9
Make processDpi a constexpr and remove unneeded qreal
2022-04-19 08:40:07 +04:00
John Preston
28f2c213f7
Remove app module. Support delayed quit by Cmd+Q on macOS.
2022-01-27 15:54:20 +03:00
John Preston
b8f1cebeb6
Support confirm-on-Quit on macOS.
2022-01-26 14:50:10 +03:00
23rd
0143d22a21
Split qt_adapters to separated files.
2022-01-26 10:33:28 +03:00
Ilya Fedin
7ff7473db6
Auto-check for many instance
...
This option was invented when single instance check wasn't adapted for -workdir. Now, -workdir can work without -many and this option is redudant, but auto-update prevention is helpful. Let's autodetect whether the binary is already running with a lock file.
2021-12-22 14:07:22 +04:00
John Preston
9b2d080e8e
Fix restart before exec on macOS.
2021-11-08 17:42:33 +04:00
Ilya Fedin
9a4b8cdd82
Use QPlatformScreen::logicalDpi instead of QScreen::logicalDotsPerInch
...
QScreen::logicalDotsPerInch can be overriden by QT_FONT_DPI what is not good
2021-11-04 10:18:03 +04:00
John Preston
f204b9fca0
RegisterBundledResources only on macOS.
2021-10-29 17:42:57 +04:00
John Preston
1ed6844247
Use Qt resources from a file on macOS.
2021-10-29 16:10:07 +04:00
Ilya Fedin
847c01d605
Add Qt 6 support
...
Tested only on Linux so far
2021-10-21 13:15:00 +04:00
Ilya Fedin
e92ae40ecb
Implement close to taskbar option
2021-09-13 17:46:53 +03:00
John Preston
a064e836f2
Removed redundant "base::EnterFromEventLoop".
2021-09-01 19:08:56 +03:00
Ilya Fedin
8b839f46b2
Fix crash report window scale
2021-06-24 11:26:08 +04:00
Ilya Fedin
766bc90921
Adapt for Ui::DisableCustomScaling changes
2021-06-18 12:15:01 +04:00
23rd
6d08542afa
Moved proxy global variables from facades to core settings.
2021-06-16 09:31:32 +03:00
John Preston
bc67b79023
Beta version 2.6.4: 110% UI scale on macOS Retina.
2021-03-17 00:07:08 +04:00
John Preston
a909c1a813
Make default UI scale 120% on macOS Retina.
2021-03-15 20:33:41 +04:00
Ilya Fedin
c4dcf064d5
Avoid multiple .arg usage as suggested by clazy
2021-03-13 19:08:33 +03:00
Ilya Fedin
f25b2a2094
Apply autofixes from clazy
2021-03-13 15:25:47 +03:00
Ilya Fedin
4fde7852b1
Use qEnvironmentVariable where appropriate
2021-02-19 14:15:09 +04:00
Ilya Fedin
5e60b87cf9
Remove platform_specific.h include from mainwindow.h
...
In order to avoid mass rebuilds on specific_*.h changing
2021-01-22 17:22:37 +04:00
John Preston
db23485fa2
Fix quit from fullscreen on macOS.
2020-11-09 13:47:53 +03:00
John Preston
74d2313784
Build Linux version with Qt 5.15.1 in CentOS 7 docker.
2020-11-06 11:21:34 +03:00
John Preston
aff4f69b64
Don't quit on call end with window hidden in tray.
...
Fixes #8585 .
2020-10-23 19:37:58 +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
John Preston
44e81269a3
Fix assertion violation in event loop tracking.
2020-06-29 21:29:20 +04:00
Ilya Fedin
2743aee614
Disable restart on session start explicitly
2020-06-23 21:30:44 +04:00
John Preston
9f6fc3a4c8
Ignore observables notification after ~Application.
2020-06-08 12:20:51 +04:00
John Preston
2ede53e0ee
Always try to open new provided URL.
...
Fixes #6941 .
2020-05-12 16:15:22 +04:00
Ilya Fedin
fdd431dce9
Human-readable error for single instance logging
2020-03-06 18:42:30 +04:00
Ilya Fedin
ffe037f9f1
Fix single instance socket path for compatibility with flatpak
2020-01-23 09:58:12 +03:00
John Preston
08bfe6f1c1
Extract mtproto key generation code.
2019-11-15 16:16:32 +03:00
John Preston
246c45ce0e
Use lib_ui from submodule.
2019-10-19 12:27:28 +04:00
John Preston
3b0bf7cb1e
Move some more widgets and effects.
2019-10-01 23:59:46 +03:00
John Preston
849deb57e2
Move many widget classes to lib_ui.
2019-10-01 23:59:46 +03:00
John Preston
c057f28425
Move standard buttons to lib_ui.
2019-10-01 23:59:46 +03:00
John Preston
c5845f17ae
Remove twidget header.
2019-10-01 23:59:46 +03:00
John Preston
e2f54eb3e9
Move some style code to lib_ui.
2019-10-01 23:59:46 +03:00
John Preston
0c713a930a
Remove app.h / facades.h from precompiled header.
2019-10-01 23:59:46 +03:00
John Preston
b631d09a40
Fix possible crash in event loop nesting.
2019-09-09 10:45:18 +03:00
John Preston
6343221d7b
Remove many includes from stdafx.pch.
2019-09-06 19:31:07 +03:00
John Preston
90fb9eccd4
Optimize InvokeQueued().
2019-07-10 19:37:00 +02:00
John Preston
4bd0683e91
Guard UpdateRequest handling.
2019-07-05 16:29:02 +02:00
John Preston
0e964b06dc
Hook main queue processing to update requests.
2019-07-04 16:26:13 +02:00
John Preston
9c613fe2f7
Move system versions to platform/platform_info.
2019-06-04 14:23:14 +03:00
John Preston
ff0ff1d99c
Fix stickers lagging on macOS.
2019-05-28 13:39:38 +02:00