John Preston
|
39d440f774
|
Don't check requested emoji size.
|
2023-07-21 14:42:01 +04:00 |
|
John Preston
|
ed00cd2809
|
Allow Text::String constructor with entitites.
|
2023-06-29 14:48:04 +04:00 |
|
John Preston
|
56945859e3
|
Try allowing correct handling.
|
2023-04-20 13:36:37 +04:00 |
|
John Preston
|
03f8127875
|
Fix huge memory allocation on unused emoji.
Before that change call to Instance::setColored started emoji loading
and allocating memory for all animation frames even if it wasn't used.
|
2023-03-09 09:43:22 +04:00 |
|
John Preston
|
a110c6ea53
|
Allow pausing emoji and spoilers separately.
|
2023-02-21 16:30:59 +04:00 |
|
John Preston
|
a5020ac5bc
|
Fix a diacritic after a char after an emoji.
|
2023-01-31 14:46:19 +04:00 |
|
John Preston
|
7bcca23bfe
|
Fix Text::String::isOnlyEmojiAndSpaces for empty string.
|
2023-01-30 14:10:11 +04:00 |
|
John Preston
|
f2e698f220
|
Track isOnlyEmojiAndSpaces in Ui::Text::String.
|
2023-01-27 19:00:30 +04:00 |
|
John Preston
|
7ec9e05510
|
Allow appending TextWithEntnties by const-ref.
|
2023-01-27 14:37:01 +04:00 |
|
John Preston
|
395795e37a
|
Fix stopping LimitedLoopsEmoji on last frame.
|
2023-01-23 12:22:04 +04:00 |
|
John Preston
|
335f8050d9
|
Allow stopping LimitedLoopsEmoji on last frame.
|
2023-01-20 20:43:30 +04:00 |
|
23rd
|
3fea35ff19
|
Added regexp for excluding digits.
|
2022-12-29 13:36:03 +03:00 |
|
John Preston
|
770b5d0e59
|
Allow using text color -> preview color algo outside.
|
2022-12-15 19:10:04 +04:00 |
|
John Preston
|
4ec3aced2e
|
Support colored emoji more widely.
|
2022-12-15 17:24:36 +04:00 |
|
John Preston
|
3752e158e4
|
Fix spoilers with multi-item elision blocks.
|
2022-11-09 12:35:04 +04:00 |
|
John Preston
|
4539d0bab4
|
Add PlainLink(TextWithEntities) and SingleCustomEmoji.
|
2022-11-02 16:38:17 +04:00 |
|
John Preston
|
7f1dd3c351
|
Add Ui::Text::Link(TextWithEntities, url/index).
|
2022-10-25 16:41:11 +04:00 |
|
John Preston
|
c199a1722f
|
Add TextWithTags::empty method.
|
2022-10-25 11:19:52 +04:00 |
|
John Preston
|
04e6428fec
|
Remove accidentally added check.
|
2022-10-04 10:10:49 +04:00 |
|
John Preston
|
1ceaa0bbcf
|
Fix crash in empty text state resolving.
|
2022-09-23 20:45:39 +04:00 |
|
John Preston
|
0f77143905
|
Fix spoiler open link after String moving.
|
2022-09-23 11:59:25 +04:00 |
|
John Preston
|
06f3c837f6
|
Add TextForMimeData::WithExpandedLinks method.
|
2022-09-21 18:54:37 +04:00 |
|
John Preston
|
bc76e4f601
|
Optimize spoiler revealing.
|
2022-09-18 16:51:29 +04:00 |
|
John Preston
|
a60fe582ad
|
Render correct spoiler selections.
|
2022-09-18 15:17:19 +04:00 |
|
John Preston
|
4ff5bc5773
|
Provide correct colors for spoiler selection.
|
2022-09-17 01:59:01 +04:00 |
|
John Preston
|
bd7098ef42
|
Fix new spoilers with elided text.
|
2022-09-17 01:22:22 +04:00 |
|
John Preston
|
73b6bc5e13
|
Implement animated spoilers.
|
2022-09-17 00:22:08 +04:00 |
|
John Preston
|
4d45396174
|
Add custom-emoji wrapper with limited loops count.
|
2022-08-31 17:50:35 +04:00 |
|
John Preston
|
51657b3c8a
|
Support colored custom emoji.
|
2022-08-31 12:27:50 +04:00 |
|
John Preston
|
6dc6309269
|
Allow querying in-default-state from custom emoji.
|
2022-08-29 17:27:32 +04:00 |
|
John Preston
|
3287bf45c6
|
Add FrameGenerator-based CustomEmoji and AnimatedIcon.
|
2022-08-29 16:33:12 +04:00 |
|
John Preston
|
f876d15eed
|
Add some helper wrappers for custom emoji.
|
2022-08-26 23:51:58 +04:00 |
|
John Preston
|
fc2c553670
|
Allow querying ready state of custom emoji.
|
2022-08-23 20:35:25 +03:00 |
|
John Preston
|
01c4ba869a
|
Allow requesting low-quality scaling of custom emoji.
|
2022-08-23 17:46:56 +03:00 |
|
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
|
9604836ed9
|
Fix custom emoji copy from TextWithEntities to clipboard.
|
2022-08-15 15:13:28 +03:00 |
|
John Preston
|
bda46510f5
|
Fix build with GCC.
|
2022-08-05 10:12:33 +03:00 |
|
John Preston
|
f27d756bcd
|
Support getting OnlyCustomEmoji from Ui::Text::String.
|
2022-08-03 20:07:43 +03:00 |
|
John Preston
|
a5d7b23a63
|
Support custom emoji in IsolatedEmoji.
|
2022-07-25 17:54:15 +03:00 |
|
John Preston
|
e65d496525
|
Fix build with Xcode.
|
2022-07-08 22:44:12 +04:00 |
|
John Preston
|
d7318d849e
|
Make custom emoji size 12% larger.
|
2022-07-06 12:20:29 +04:00 |
|
John Preston
|
9cb7bb58f6
|
Update custom emoji entity format.
|
2022-07-05 23:35:03 +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
|
6ef5ec3410
|
Pass painting active/inactive state through Painter.
|
2022-06-28 17:45:37 +04:00 |
|
John Preston
|
187110f438
|
Allow unloading custom emoji data.
|
2022-06-24 20:33:46 +04:00 |
|
John Preston
|
14a7fc74af
|
Correctly finish custom emoji entities.
|
2022-06-24 10:48:46 +04:00 |
|
John Preston
|
87cd0b6127
|
Add initial support for custom emoji.
|
2022-06-23 17:51:36 +04:00 |
|
Ilya Fedin
|
060eb63ce8
|
Get rid of qtextitemint.cpp
All the variables are public, so there's no need to use non-exported constructor
|
2022-05-29 10:16:10 +04:00 |
|