levlam
|
8b87e8ed56
|
Allow pre, TextUrl and TextMention entities, containing only new lines.
|
2021-06-09 20:35:02 +03:00 |
|
levlam
|
a630c87178
|
Add tg URLs parsing.
|
2021-06-03 18:27:40 +03:00 |
|
levlam
|
c9de490c7f
|
Allow dashes in URLs.
|
2021-06-03 15:21:26 +03:00 |
|
levlam
|
90e253d90c
|
Remove REGISTER_TESTS define.
|
2021-05-26 00:41:15 +03:00 |
|
levlam
|
a6a4eb6616
|
Don't include SliceBuilder.h in logging.h.
|
2021-05-17 15:21:11 +03:00 |
|
levlam
|
add28462a0
|
Fix Slice underflow.
|
2021-05-14 13:18:52 +03:00 |
|
levlam
|
f0e7b211c3
|
Use case-insensitive comparison for short mention entities.
|
2021-03-20 22:57:34 +03:00 |
|
levlam
|
b07a9efb2e
|
Disable SFTP link highlighting.
|
2021-02-03 21:08:01 +03:00 |
|
levlam
|
52c1da0a70
|
Update copyright year.
|
2021-01-01 15:57:46 +03:00 |
|
levlam
|
582206d641
|
Use Random::fast_bool.
GitOrigin-RevId: 42da8a237c6dfbb6e72bc5b21482891b6c9d58b5
|
2020-10-08 12:56:08 +03:00 |
|
levlam
|
8a1ffe0cbb
|
Fix remove_invalid_entities.
GitOrigin-RevId: 6cad36ac6017dcc3870411129a1b0512f9351d17
|
2020-07-13 15:34:56 +03:00 |
|
levlam
|
480f826d16
|
Do not use C-style casts.
GitOrigin-RevId: 6187bc8f4837fd40aba7ef613e09ecb93e3cf951
|
2020-06-14 05:27:49 +03:00 |
|
levlam
|
42f88e3b72
|
Remove whitespaces at the beginning of some entities.
GitOrigin-RevId: b0597524571c15b3ffbfec613cb856bfa6e7a224
|
2020-05-11 01:31:29 +03:00 |
|
levlam
|
f88735b9a9
|
Do not highlight parts of float numbers as bank card numbers.
GitOrigin-RevId: cc58f030c6485c393f115fb89a4e9a5b2e6b40b9
|
2020-05-07 23:11:54 +03:00 |
|
levlam
|
390d66e3d2
|
Improve match_bank_card_numbers.
GitOrigin-RevId: 1df7c2fc487a66ba12e92d80d63e355d1490cef5
|
2020-05-05 03:15:30 +03:00 |
|
levlam
|
06e74cfba9
|
Remove whitespace-only entities added in merge_entities.
GitOrigin-RevId: 8b2dbe05d0758639c4447fbfec038b8350dfda9a
|
2020-04-22 00:57:00 +03:00 |
|
levlam
|
f42a955d75
|
Replace some offending characters in all strings.
GitOrigin-RevId: a942e9a71db7b5bc3c1be6b15f9b21d767c3d803
|
2020-04-08 01:23:05 +03:00 |
|
levlam
|
dca3862088
|
Update fix_formatted_text test.
GitOrigin-RevId: ab55a080724eaff5f2074cc7273aafc7285d6fa8
|
2020-03-12 16:42:39 +03:00 |
|
levlam
|
9c67f42682
|
Add td_api::getMarkdownText.
GitOrigin-RevId: b463cc2c92052c552d66d774450ffa7bb4bc132e
|
2020-03-12 06:22:14 +03:00 |
|
levlam
|
e6efab096a
|
Add tests for parse_markdown_v3.
GitOrigin-RevId: 1fc21dbdf3871cc3a30286cf9ebca257c70a299c
|
2020-03-12 02:49:16 +03:00 |
|
levlam
|
ed7e486668
|
Improve parse_markdown_v3 test and fix parse_text_url_entities_v3.
GitOrigin-RevId: 337b87cbb885f92f30c9c95603b0ac37693d104f
|
2020-03-12 01:44:42 +03:00 |
|
levlam
|
532567a475
|
Resort entities if needed after rtrim.
GitOrigin-RevId: f3124b2dc72e1b7858dde90133c5313025103603
|
2020-03-10 17:22:57 +03:00 |
|
levlam
|
718067e218
|
Remove wrong check from remove_invalid_entities.
GitOrigin-RevId: 843dea6a6668de87287a23532d95e9c6712c5b09
|
2020-03-10 17:06:22 +03:00 |
|
levlam
|
6417510d51
|
Return all entities in get_message_entities.
GitOrigin-RevId: b08c7a9ab0cfa9a78e450d5cbf3567203abd7d67
|
2020-03-10 03:51:56 +03:00 |
|
levlam
|
1068cac8f0
|
Add synchronous td_api::parseMarkdown method.
GitOrigin-RevId: 89f59eda7076959a6bed9db006f895298e2fd66c
|
2020-03-09 23:55:32 +03:00 |
|
levlam
|
2ece58302c
|
Add more checks to random fix_formatted_text test.
GitOrigin-RevId: e0bf70edf7d93032a4a1ee964fd37b7374f3a4e5
|
2020-02-25 01:28:33 +03:00 |
|
levlam
|
81d0172f33
|
Correctly merge new entities.
GitOrigin-RevId: 6ca976a3c17030cffb0c32119389ea5a8c1050ff
|
2020-02-24 20:26:08 +03:00 |
|
levlam
|
c77a576e83
|
Improve random fix_formatted_text test.
GitOrigin-RevId: 904278ac9f8c36afdddfdd4f23d74102c68f09c6
|
2020-02-21 17:10:10 +03:00 |
|
levlam
|
6b21b27cae
|
Add random fix_formatted_text test.
GitOrigin-RevId: 35d2bf822bfebe4221a3495bb83fb2555a984a1c
|
2020-02-21 16:22:40 +03:00 |
|
levlam
|
185d0fd22f
|
Add more fix_formatted_text tests.
GitOrigin-RevId: c24e52c88921226d63fead4dbf7331921bd8f185
|
2020-02-21 14:56:26 +03:00 |
|
levlam
|
48b9f38d4a
|
Return error on incorrect text entities.
GitOrigin-RevId: 46862113571eb16a80ef3bcdf3a6352593dee0dc
|
2020-02-20 02:26:36 +03:00 |
|
levlam
|
7b87d84c39
|
Add find_bank_card_numbers test.
GitOrigin-RevId: 0905d918980d52267fb5cfea627737d22c8ea1d2
|
2020-02-15 04:07:19 +03:00 |
|
levlam
|
ece4fd0e93
|
Add message entities tests.
GitOrigin-RevId: fd04d3ebc4619d2b6be4282043a1333d824d7ee6
|
2020-01-02 17:46:19 +03:00 |
|
levlam
|
80c35676a2
|
Update copyright year.
GitOrigin-RevId: 09afb551b6e637dc69739fa735b0051a38b9e14c
|
2020-01-01 04:23:48 +03:00 |
|
levlam
|
3c83e72c49
|
Add '-' to the list of reserved characters.
GitOrigin-RevId: 97a77a46d7003e53021198bd1b57894df4fa5108
|
2019-12-25 01:57:33 +03:00 |
|
levlam
|
adb10460b2
|
Minor fixes.
GitOrigin-RevId: 0c678ad195683947355b63af5aff49875312b4a3
|
2019-12-23 20:48:30 +03:00 |
|
levlam
|
1bb59a3261
|
Support new entity types in parse_html.
GitOrigin-RevId: 1a12c3736f4e0921f133b3ac914620b4a01f0efe
|
2019-12-10 05:46:58 +03:00 |
|
levlam
|
7ab7925767
|
Fix test.
GitOrigin-RevId: 9226f9dd0cc25a55b3371308d3732e54de5b5c46
|
2019-12-02 04:03:43 +03:00 |
|
levlam
|
1e018da7b8
|
Various fixes.
GitOrigin-RevId: b09e5fda6d25bd027f6bcbcbbe8324567b8ddcf8
|
2019-10-22 20:01:15 +03:00 |
|
levlam
|
6114516b40
|
Support PreCode in parse_html.
GitOrigin-RevId: 20a3bcb168ecd45f416e7df17247997eacecbc11
|
2019-10-03 16:39:50 +03:00 |
|
levlam
|
fdf70df492
|
Add parse_markdown_v2.
GitOrigin-RevId: ea2ce8bad64becc53d2e6466019469dffec2dc27
|
2019-10-03 02:31:06 +03:00 |
|
levlam
|
b1d1ea2e6c
|
Support nested entities in parse_html.
GitOrigin-RevId: c8a00262f5a8739d09b45ce710a5c7b920f2bfd4
|
2019-09-26 18:36:45 +03:00 |
|
levlam
|
74db8fb2d1
|
Remove 'using namespace td'.
GitOrigin-RevId: 2a6c6814b088d62ab547145c3a9c1eba8c01c1cd
|
2019-09-20 02:22:42 +03:00 |
|
levlam
|
1b7d3e0672
|
Add fix_formatted_text test.
GitOrigin-RevId: 995b645cb0d6699abb5bc96f74ac766e8beef9d1
|
2019-09-20 02:14:15 +03:00 |
|
levlam
|
a4bd81b631
|
Fix test.
GitOrigin-RevId: 4e040bbe77f337c2a9fa094fbba9f71cf197fe8b
|
2019-10-03 18:30:43 +03:00 |
|
levlam
|
786adb165d
|
Fix CE.
GitOrigin-RevId: 9c1f8111360668b5b06228fcf23512bb64b3d935
|
2019-02-04 06:50:47 +03:00 |
|
levlam
|
eaf7e36532
|
Add fix_formatted_text test.
GitOrigin-RevId: 90e0f7d0fdcef077f88927311a9c0678711c5da8
|
2019-01-16 21:18:26 +03:00 |
|
levlam
|
eaebfad034
|
Update copyright year.
GitOrigin-RevId: 359e2b43322222922c44c430d3814b0a4c778dc6
|
2019-01-01 01:02:34 +03:00 |
|
levlam
|
d2e4f74c52
|
Match new server parsing of # in URLs.
GitOrigin-RevId: f1e26ad10c80721db14132fd3fc3ba17aa2db509
|
2018-06-25 03:22:56 +03:00 |
|
levlam
|
a365284831
|
Support mailto emails.
GitOrigin-RevId: aca706aee9b1adb34f3f25700e91cd0d0880424f
|
2018-06-25 03:15:38 +03:00 |
|
levlam
|
cb6456ce6d
|
Fix tests.
GitOrigin-RevId: c8fd96e6538d86eeff67bf23e1eb6ddd2fd97d1f
|
2018-05-19 23:45:13 +03:00 |
|
levlam
|
a665c4e822
|
Implement find_cashtags.
GitOrigin-RevId: 40026a19c1ee1f1ea9c0157d28bdc0b67cbf9c58
|
2018-03-07 20:29:33 +03:00 |
|
levlam
|
143ff2364f
|
Update list of TLDs.
GitOrigin-RevId: eaa4ce74e50836bfe9204f90cd6dd316de10183a
|
2018-02-17 01:29:13 +03:00 |
|
levlam
|
5cbda834bd
|
Update copyright year.
GitOrigin-RevId: 1369d3af1195221f6ddb9462d5f8b74fb5fef20f
|
2018-01-02 16:45:09 +03:00 |
|
Arseny Smirnov
|
71d03f39c3
|
Project import generated by Copybara.
GitOrigin-RevId: 318483224ad6164d9966f731d60cde37039bb2d4
|
2017-12-31 23:08:40 +03:00 |
|