Commit graph

215 commits

Author SHA1 Message Date
23rd
8aeb6def88 Moved out AbstractBlock implementation from header file. 2021-12-22 17:08:11 +03:00
23rd
c06f0435c4 Moved splitting of tags to separated method. 2021-12-22 17:03:52 +03:00
9b56cbd4ab Updated lib_ui sources to TDesktop version 3.2.5 2021-12-07 07:21:25 +03:00
Ilya Fedin
004270ebd0 Try with QList 2021-10-20 10:27:52 +04:00
Ilya Fedin
93987b3703 Fix a type mismatch 2021-10-20 10:27:52 +04:00
Ilya Fedin
ee36b1f451 Use StringViewMid adapter 2021-10-20 10:27:52 +04:00
Ilya Fedin
64e40913df Use new Qt 6 adapters 2021-10-19 19:28:45 +04:00
Ilya Fedin
8e5d35229a Simple replacements for Qt 6
QStringRef -> QStringView
QTextCursor constructor accepts a QTextDocument only
Some headers are moved, so paths are removed
QMatrix -> QTransform
Methods returning qsizetype are wrapped to int()s to allow compiler to deduce the type
2021-10-19 17:06:25 +04:00
eb86d2dc51 Updated lib_ui sources to TDesktop version 3.1 2021-09-19 22:47:53 +03:00
John Preston
d81997194e Allow forcing links to be always underlined. 2021-09-19 12:41:44 +03:00
29fdd935ad Updated lib_ui sources to TDesktop version 3.0.1 2021-09-17 09:21:32 +03:00
8bfd7314f0 Allow entities to be extended to right 2021-08-24 12:42:56 +03:00
23rd
38d65bf16e Added separate entity type for media timestamp. 2021-08-16 13:32:58 +03:00
Ilya Fedin
a2d1114a93 Get rid of osx and linux32 special targets 2021-08-11 16:01:30 +03:00
f206cb7bbb Updated lib_ui sources to TDesktop version 2.8.11+b2c762e 2021-07-20 06:50:26 +03:00
Ilya Fedin
51cfd0ba35 Fix -Wunused-variable warnings with gcc 2021-07-19 18:59:36 +03:00
075d2ff49a Updated lib_ui sources to TDesktop version 2.8.8 2021-07-16 03:01:41 +03:00
Ilya Fedin
b8485c0d8a Fix -Wunused-variable warnings 2021-07-13 21:24:22 +03:00
4b95b3d748 Updated lib_ui sources to TDesktop version 2.7.10+5519bb35 2021-06-25 22:48:27 +03:00
John Preston
0134685622 Fix converting entities to tags. 2021-06-23 15:55:03 +04:00
John Preston
f239f66ce5 Fix build with Xcode. 2021-06-22 20:31:57 +04:00
John Preston
0028a534d2 Fix parsing links with markup to entities. 2021-06-22 19:04:29 +04:00
John Preston
2d71162f4a Convert overlapping tags to entities and back. 2021-06-22 18:29:12 +04:00
John Preston
96b4c6c57a Allow several tags with '|' separator in InputField. 2021-06-22 14:42:57 +04:00
Ilya Fedin
6ff8d15de0 Move qtextitemint ifdef to cmake 2021-05-31 22:51:06 +03:00
Ilya Fedin
0dbb210385 Fix deprecated declarations warning in QTextItemInt 2021-05-31 22:51:06 +03:00
545a792033 Updated lib_ui sources to TDesktop version 2.7.2 2021-04-26 23:43:54 +03:00
John Preston
d07bee87cd Use LOG/DEBUG_LOG from lib_base. 2021-04-20 16:39:27 +04:00
John Preston
51b4074cc9 Support 64 bit mention ids in entities. 2021-04-08 16:19:50 +04:00
84a46ce773 Updated lib_ui sources to TDesktop version 2.7.1+c08a148 2021-03-28 13:41:16 +03:00
Ilya Fedin
c74cf04cc6 Get rid of deprecated ranges::view usage 2021-03-13 19:06:44 +03:00
5bb0b6a6e5 Updated lib_ui sources to TDesktop version 2.5.1 2020-12-23 21:03:36 +03:00
John Preston
f06346fbf0 Allow precompute size of serialized tags. 2020-11-13 20:26:30 +03:00
5f5339aa7e Updated lib_ui sources to TDesktop version 2.4.7 2020-11-07 00:16:01 +03:00
John Preston
d4c99701b5 Fix deprecation warnings on Qt 5.15.1. 2020-11-04 18:44:45 +03:00
John Preston
9c9a4bc4d8 Custom non-internal links should go to entities. 2020-10-30 18:13:50 +03:00
John Preston
54a8c62bf5 Fix links parsing in case of surrogate pairs. 2020-10-30 16:08:03 +03:00
1c102f2e6a Updated lib_ui sources to TDesktop version 2.4.3 2020-10-19 18:31:57 +03:00
John Preston
663e2cc133 Don't expand urls same as text. 2020-10-08 12:00:28 +03:00
John Preston
e712f9b3de Add time format getter to Ui::Integration. 2020-09-30 12:10:23 +03:00
ilya-fedin
96a2956d9e
Don't replace no-break and zero-width spaces (#5) 2020-09-26 17:30:26 +03:00
Ilya Fedin
88a4a27d8e Add a file with missing QTextItemInt symbols 2020-07-13 09:36:31 +04:00
John Preston
fffdce5cb5 Fix copying text with links containing a newline. 2020-07-08 09:33:35 +04:00
John Preston
4e6763d176 Remove old ways to customize mentions. 2020-06-16 19:10:18 +04:00
John Preston
ab61721a13 Allow passing std::any context to link creation method. 2020-06-09 13:04:44 +04: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
b1d00d0b28 Add method to count max monospace paragraph width. 2020-05-12 11:05:55 +04:00