Commit Graph

197 Commits

Author SHA1 Message Date
levlam
0581b298cc Fix some IP address spelling.
GitOrigin-RevId: ca1e3f4110057c3badbd9c5898593a65b72410e2
2020-05-16 23:32:32 +03:00
levlam
7bdff46710 Do not send IP address in SNI.
GitOrigin-RevId: ff01b1f5f9219e34b0cacdf8acd49bf4e5a3daa2
2020-05-16 17:50:58 +03:00
levlam
fee023c29f Minor Wget improvement.
GitOrigin-RevId: eaf7fb05624fbf01012a83e18e733c77d2b9216c
2020-05-16 15:57:37 +03:00
levlam
42f88e3b72 Remove whitespaces at the beginning of some entities.
GitOrigin-RevId: b0597524571c15b3ffbfec613cb856bfa6e7a224
2020-05-11 01:31:29 +03:00
levlam
16d207cac4 Workaround GCC 10 warning.
GitOrigin-RevId: 8d9eda2e4c71638188838032d8e747f558fba5e4
2020-05-09 20:22:13 +03:00
levlam
f4b0fe416c Fix misprint.
GitOrigin-RevId: 83ce2a30bd81fa8629885126e6267824f6281803
2020-05-09 20:05:36 +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
4d9b8cf016 Update strip_empty_characters.
GitOrigin-RevId: 480beb7b352b28f59f65a63fd1d4550d8e16803f
2020-05-07 01:21:05 +03:00
levlam
390d66e3d2 Improve match_bank_card_numbers.
GitOrigin-RevId: 1df7c2fc487a66ba12e92d80d63e355d1490cef5
2020-05-05 03:15:30 +03:00
levlam
bbdad2c9e2 Do not use std::rand.
GitOrigin-RevId: 88ad1ad4b7c8b2fabd0c2e90cb27086d2420a5db
2020-05-01 00:28:37 +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
968689157c Make max_compression_ratio required parameter in gzencode.
GitOrigin-RevId: c787fdeae202d3b80944412e7db4209f35adcd07
2020-03-15 01:56:48 +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
92df8f9827 Remove unneeded brackets.
GitOrigin-RevId: 0b8a2ae21d28e6c276db8b45ffb4d127800f5d73
2020-02-26 18:15:19 +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
46a958212c Fix some link dependencies.
GitOrigin-RevId: 12d110232437c787821c49d884dca9335c6e3eeb
2020-02-24 01:29:51 +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
b3d513da55 Fix tests.
GitOrigin-RevId: 60370c26955599be6c6ea9e91a4c1a17ea6e89a7
2020-01-30 15:14:02 +03:00
levlam
c99103afce Fix test.
GitOrigin-RevId: 6f2a9eec68042949d10d8a4513d176e57f603146
2020-01-30 04:06:15 +03:00
levlam
728d8d79f6 More enum class usages.
GitOrigin-RevId: 6680ce2276ced5b015a1f508f0b7b5f28b5f4a9b
2020-01-19 03:02:56 +03:00
levlam
1b1bd481e3 Make all AuthKeyHandshake fields private.
GitOrigin-RevId: 73bc8e67b5c86a4f30cabde16f84395b47d7f79e
2020-01-08 20:30:07 +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
a14ee3e66c Do not use functional cast on integers.
GitOrigin-RevId: 1ebcf0e9a9b004039d32b6363140387bca7d7722
2019-12-24 16:46:10 +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
a3301ae07c Introduce common SendMessageOptions for send message requests.
GitOrigin-RevId: 3cef644b80ec3641a9f15de7a5af13f90a9c7d94
2019-12-06 02:32:23 +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
918f6a0cfd Use td::contains and td::remove instead of std::find if possible.
GitOrigin-RevId: faa0863eb49ee8ce4c2138dfec022620f71d2f6a
2019-10-22 02:12:58 +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
110b3d5832 Add get_simple_config_firebase_firestore.
GitOrigin-RevId: 2c89f7667148f601d16aba01068ebb4f74bd12f8
2019-11-19 19:26:39 +03:00