Commit graph

233 commits

Author SHA1 Message Date
7afb927acf Merge remote-tracking branch 'upstream/master' 2020-06-26 07:24:19 +03:00
John Preston
2a0d189ee2 Allow badge in main menu button. 2020-06-23 13:13:22 +04:00
John Preston
d31d94e8fb Allow external RippleButton customization. 2020-06-22 16:50:30 +04:00
John Preston
4e6763d176 Remove old ways to customize mentions. 2020-06-16 19:10:18 +04:00
Ilya Fedin
f749fc7349 Use Q_OS_UNIX instead of Q_OS_LINUX since linux-specific code can be used also on *BSD/Haiku 2020-06-13 16:08:39 +04:00
John Preston
ab61721a13 Allow passing std::any context to link creation method. 2020-06-09 13:04:44 +04:00
3018a9cafe Fix font flags 2020-06-09 06:43:10 +03:00
0c929a8ba4 Fix custom font 2020-06-08 21:33:29 +03:00
John Preston
771f702056 Remove a slot from BoxContent. 2020-06-08 22:08:09 +04:00
John Preston
4ef97b57f6 Guard against inputMethodEvent destroying the field. 2020-06-08 12:13:15 +04:00
John Preston
dbcb6a35b0 Fix possible crash in InnerDropdown hiding. 2020-06-08 11:57:05 +04:00
Ilya Fedin
5534b37e6f Merge remote-tracking branch 'tdesktop/master' into v2.1.10 2020-06-08 04:05:07 +04:00
f2d287541a Fix italic with bold semibold 2020-06-08 02:42:09 +03:00
John Preston
05d1ee3796 Allow overriding fonts by (family,style). 2020-06-05 19:42:07 +04:00
c1877cc35f Merge remote-tracking branch 'upstream/master' 2020-06-04 18:11:51 +03:00
John Preston
5429c4c53e Remove a workaround for Qt 5.6. 2020-06-04 13:21:51 +04:00
c87e6390de Fix Semibold Italic fonts 2020-06-03 19:55:56 +03:00
a32ee9581d Merge remote-tracking branch 'upstream/master' 2020-06-03 19:06:29 +03:00
John Preston
d71d2121b1 Move some methods out of the global scope. 2020-06-03 19:04:52 +04:00
John Preston
c33ff2baba Fix build with Qt 5.6.2. 2020-06-03 19:04:13 +04:00
John Preston
62feafef7e Fix build on 64 bit systems. 2020-06-03 16:17:42 +04:00
John Preston
f7b4994887 Optimize Ui::Text::String blocks vector. 2020-06-03 15:49:31 +04:00
John Preston
30d223befe [s]ftp urls can be suspicious as well. 2020-06-03 13:04:25 +04:00
bb182bbf5d Merge remote-tracking branch 'upstream/master' 2020-06-03 11:57:47 +03:00
Ilya Fedin
6451ae5074 Use Platform::IsWayland from lib_base 2020-06-03 11:34:08 +04:00
Ilya Fedin
e27395cf18 Fix build with Qt 5.15 2020-06-01 18:32:44 +04:00
Ilya Fedin
06d4cd2dab Set style name always
For some reason with kde platformtheme plugin DemiBold doesn't work

Also use italic version of semibold font when needed
2020-06-01 18:32:44 +04:00
6e72dcb00a Merge remote-tracking branch 'upstream/master' 2020-05-25 11:48:41 +03:00
John Preston
db2a1279d6 Update Vazir font to 26.0.2. 2020-05-24 11:44:41 +04:00
d21837e8ac Fix missing setBold for non-system bundled fonts 2020-05-15 14:07:38 +03:00
a71cde7dd4 Moving *_USE_PACKAGED_FONTS and use QFont::DemiBold for system font option 2020-05-13 12:14:55 +03:00
6a0c87e064 Make "bold for semibold" option force bold 2020-05-13 11:27:42 +03:00
1da7b32a3f Merge remote-tracking branch 'upstream/master' 2020-05-13 00:44:45 +03:00
John Preston
8e2cfbf303 Insert only paragraph separators in the field. 2020-05-12 19:12:33 +04:00
John Preston
6aa6a143bf Add a workaround for invalid Qt signal data. 2020-05-12 19:11:46 +04:00
John Preston
4d2f17d9fc Fix build on Linux. 2020-05-12 16:34:42 +04:00
Ilya Fedin
e5a527b5ef Adapt for building with MinGW and 64-bit 2020-05-12 15:07:37 +04:00
John Preston
b1d00d0b28 Add method to count max monospace paragraph width. 2020-05-12 11:05:55 +04:00
Ilya Fedin
d05d9b214d Fix bolding with packaged fonts 2020-05-12 09:41:29 +04:00
Ilya Fedin
95b49979fb Remove unneeded Segoe UI fallback struct and add Vazir file struct 2020-05-12 09:41:29 +04:00
Ilya Fedin
ef31d05da5 Wayland always support compositing 2020-05-12 09:40:25 +04:00
John Preston
8a1aeb22d8 Use Vazir font on macOS too. 2020-05-10 17:10:21 +04:00
John Preston
8e44fb7780 Fix tilde hack for non-empty styleName. 2020-05-10 17:02:37 +04:00
2e6262d1d4 Merge remote-tracking branch 'upstream/bold' 2020-05-10 01:33:34 +03:00
4dda2bc846 Remove unneded condition for setting bold font for semibold 2020-05-09 14:15:49 +03:00
3cca2516c2 Merge remote-tracking branch 'upstream/master' 2020-05-09 04:02:54 +03:00
John Preston
c9120970c2 Try all being Semibold -> Bold -> Regular. 2020-05-08 18:51:15 +04:00
Ilya Fedin
88845bfec9 Choose actual semibold style for system fonts 2020-05-08 12:41:40 +04:00
Ilya Fedin
f987f596f1 Add Vazir font for Persian glyphs 2020-05-08 12:41:40 +04:00
John Preston
0ef9558269 Treat Semibold as Regular. 2020-05-08 12:11:16 +04:00