Commit graph

1185 commits

Author SHA1 Message Date
23rd
1cc74a41c4 Moved out spoiler data from Ui::Text::String to separate structure. 2022-08-16 19:00:57 +03:00
23rd
6ce4bedc28 Removed unused Ui::Text::Parser::createSkipBlock method. 2022-08-16 17:46:02 +03:00
John Preston
2f5d5e0e79 Don't allow custom emoji pseudo-links in EditLink. 2022-08-15 18:40:24 +03:00
John Preston
9604836ed9 Fix custom emoji copy from TextWithEntities to clipboard. 2022-08-15 15:13:28 +03:00
John Preston
fbd82ff92b Simplify CustomEmojiId. 2022-08-15 13:12:41 +03:00
Ilya Fedin
180b0bc517 Apply window extents early to avoid window size changes 2022-08-14 09:22:03 +04:00
Ilya Fedin
6732aa70e9 Fix endless hiding state without compositing 2022-08-09 09:39:18 +04:00
Ilya Fedin
637ff6be4b Use version-less Qt targets and functions whenever possible 2022-08-09 09:12:33 +04:00
John Preston
16708fd4f4 Revert "Allow buffer size overrides on Wayland EGL"
This reverts commit 303947c78c.
2022-08-08 09:40:29 +03:00
John Preston
48ce68751a Revert "Make QWidgetPrivate accessible"
This reverts commit f15218d36e.
2022-08-08 09:40:17 +03:00
John Preston
c6727e673d Revert "Fix packaged build"
This reverts commit 4689c896e2.
2022-08-08 09:39:59 +03:00
23rd
b75b69d59d Reduced boxLabel::minWidth to be less than width of box with padding. 2022-08-08 09:34:14 +03:00
Ilya Fedin
f5cdf4bdb8 Provide menu shadow size to the system 2022-08-08 09:14:04 +04:00
Ilya Fedin
4689c896e2 Fix packaged build 2022-08-05 16:35:22 +04:00
John Preston
bda46510f5 Fix build with GCC. 2022-08-05 10:12:33 +03:00
John Preston
9b5c58f92f Allow SeparatePanel not to join all spaces. 2022-08-04 19:33:04 +03:00
John Preston
dcb4a33eef Allow changing SeparatePanel title height. 2022-08-04 18:25:45 +03:00
Ilya Fedin
303947c78c Allow buffer size overrides on Wayland EGL 2022-08-04 10:12:36 +04:00
Ilya Fedin
f15218d36e Make QWidgetPrivate accessible 2022-08-04 10:12:36 +04:00
John Preston
f27d756bcd Support getting OnlyCustomEmoji from Ui::Text::String. 2022-08-03 20:07:43 +03:00
Ilya Fedin
a7117df837 Use glib to open URLs on Linux
Just like in lib_base&tdesktop
2022-08-02 20:13:12 +04:00
John Preston
4768e7ee03 Allow requesting originalUrl() from UrlClickHandler. 2022-07-28 17:13:43 +03:00
John Preston
9b0f4df007 Allow different style for child PopupMenu. 2022-07-27 13:48:32 +03:00
John Preston
4ff70e7dff Fix popup menu with variable item height. 2022-07-26 18:31:20 +03:00
John Preston
14f5a828fc Add emoji subcategory icon color. 2022-07-26 13:19:39 +03:00
John Preston
d8b94feb9d Disable attach bot share phone phrases for now. 2022-07-25 18:47:07 +03:00
John Preston
a5d7b23a63 Support custom emoji in IsolatedEmoji. 2022-07-25 17:54:15 +03:00
John Preston
c5b32c53ef Respect kSetVersion in default set cache key. 2022-07-19 22:37:24 +03:00
John Preston
2f21e92bbe Fix build with GCC. 2022-07-19 22:32:02 +03:00
John Preston
6294dd74d2 Merge remote-tracking branch 'origin/master' into HEAD 2022-07-19 18:44:22 +03:00
Ilya Fedin
48a34dc746 Get rid of QSurface::supportsOpenGL check
It checks for surface type to be compatible with OpenGL, but there's no guarantee raster surface would return true here and once it's converted to an OpenGL surface, there's no need to check as it's known to support OpenGL.

This is the case with all QWidgets in Qt 6.4.
2022-07-19 19:44:06 +04:00
Ilya Fedin
ba7e3667d6 Adapt for Qt 6.4 device pixel ratio changes
QWidget::devicePixelRatioF represents backing store ratio and it's no more equal to native surface ratio
2022-07-19 19:44:06 +04:00
Ilya Fedin
e91cfd55c2 Fix missing include for Qt 6.4 2022-07-19 19:44:06 +04:00
John Preston
6411e0583a Update emoji to Unicode 14. 2022-07-19 17:37:15 +03:00
John Preston
0daf3d4ac7 Support instant-replacement with a custom emoji. 2022-07-18 20:30:09 +03:00
John Preston
1d34c64da8 Add phrases for sharing the phone number. 2022-07-15 15:08:48 +03:00
John Preston
e65d496525 Fix build with Xcode. 2022-07-08 22:44:12 +04:00
John Preston
a7074136b4 Add several phrases for webview popups. 2022-07-07 08:38:53 +04:00
John Preston
d7318d849e Make custom emoji size 12% larger. 2022-07-06 12:20:29 +04:00
John Preston
2bec778251 Fix custom emoji before a newline. 2022-07-06 10:41:30 +04:00
John Preston
ec76a4c0bb Optimize custom emoji repaints in the InputField. 2022-07-06 10:09:10 +04:00
John Preston
9cb7bb58f6 Update custom emoji entity format. 2022-07-05 23:35:03 +04:00
John Preston
464c6a6171 Custom emoji not pausing by default. 2022-07-01 17:32:35 +04:00
John Preston
0b829240fd Don't insert object character without _customEmojiObject. 2022-07-01 17:01:11 +04:00
John Preston
6bd7518109 Fix editing text with custom emoji and formatting. 2022-07-01 12:55:26 +04:00
John Preston
e6b3951b40 Support serializing / deserializing custom emoji as tags. 2022-06-30 13:22:03 +04:00
John Preston
32cf0968a1 Use src/dst prefixes instead of from/to. 2022-06-29 16:17:03 +04:00
John Preston
cb5296a6b0 Add ImageFrameGenerator for static custom emoji. 2022-06-29 11:51:23 +04:00
John Preston
6ef5ec3410 Pass painting active/inactive state through Painter. 2022-06-28 17:45:37 +04:00
Ilya Fedin
db2638cf60 Fix painting of bottom left shadow corner 2022-06-25 07:12:42 +04:00