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
John Preston
d81997194e
Allow forcing links to be always underlined.
2021-09-19 12:41:44 +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
Ilya Fedin
51cfd0ba35
Fix -Wunused-variable warnings with gcc
2021-07-19 18:59:36 +03:00
Ilya Fedin
b8485c0d8a
Fix -Wunused-variable warnings
2021-07-13 21:24:22 +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
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
Ilya Fedin
c74cf04cc6
Get rid of deprecated ranges::view usage
2021-03-13 19:06:44 +03:00
John Preston
f06346fbf0
Allow precompute size of serialized tags.
2020-11-13 20:26:30 +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
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
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
John Preston
555a9d203c
Add a separate Semibold entity type.
2020-05-08 12:07:35 +04:00
John Preston
cc9b7e2c2f
Use Bold instead of Semibold by entities.
2020-05-08 11:51:41 +04:00
ilya-fedin
74889b8c21
Better algorithm for font choosing
2020-04-13 11:31:34 +04:00
John Preston
8d8d561127
Support rich text in toasts.
2020-04-07 13:58:24 +04:00
John Preston
14c5da49f9
Improve multi-line texts with broken words.
2020-03-31 12:33:35 +04:00
John Preston
f401e8c085
Skip Unicode tag characters in text processing.
2020-01-21 14:12:41 +03:00
John Preston
6d97ae0bce
Log some debug information for text processing crashes.
2020-01-20 13:29:52 +03:00
John Preston
d30d361609
Fix whitespace and indentation errors.
2020-01-02 14:25:11 +03:00
John Preston
6b673d9154
Skip internal: links in String::toText with entities.
2019-12-27 13:40:36 +03:00
John Preston
604f62599e
Fix parsing entities from Ui::Text::String.
2019-12-10 10:36:25 +03:00
John Preston
5723c2ba54
Fix workaround for Open Sans tilda bug.
2019-11-04 16:15:43 +03:00
John Preston
199e51706f
Support build with range-v3 0.9.1.
2019-10-02 14:43:04 +03:00
John Preston
00393b7b3b
Correct String::countHeight with breakEverywhere.
2019-09-20 19:30:21 +03:00
John Preston
34b05c25fc
Rename ui_integration to integration.
2019-09-19 11:29:21 +03:00
John Preston
85c83003ca
Initial commit.
2019-09-17 17:48:58 +03:00