Commit Graph

493 Commits

Author SHA1 Message Date
levlam
842e2033b7 Fix IP address verification in TLS certificate.
GitOrigin-RevId: 5275f8be34e9459a13a87e6fbd056754ceb515d4
2020-05-16 18:43:49 +03:00
levlam
7bdff46710 Do not send IP address in SNI.
GitOrigin-RevId: ff01b1f5f9219e34b0cacdf8acd49bf4e5a3daa2
2020-05-16 17:50:58 +03:00
levlam
e58d423af1 Add IPAddress::get_ip_address.
GitOrigin-RevId: 8b82c462f10d705412cb6cedc3d25d5fb95c59e2
2020-05-16 17:35:53 +03:00
levlam
705ab4d415 Supoort bracketed IPv6 in init_ipv6_port.
GitOrigin-RevId: 5452157d85fa5628a07e82fec20c92e8b0836508
2020-05-16 17:30:16 +03:00
levlam
06b053ff3e Add comment about IPAddress::get_ip_str unsafety.
GitOrigin-RevId: 29cd28bf9a6422cd0295c74f904ba380fc119570
2020-05-16 16:43:40 +03:00
levlam
54f9c77a20 Make ipv4_to_str/ipv6_to_str safe to use.
GitOrigin-RevId: 622c8f03c8791545922d3ae5f596f0a9699b91a9
2020-05-16 16:33:32 +03:00
levlam
bf963ccadf Make IPAddress::get_ipv6 safe to use.
GitOrigin-RevId: 47d50318abac4231efe63820902ba4d74b6dd03d
2020-05-16 16:11:03 +03:00
levlam
3b3b67b834 Do not try to parse http scheme further some reserved characters.
GitOrigin-RevId: 363ad7bf8022bddc6c3370abc6a8ee244d384759
2020-05-07 03:12:47 +03:00
levlam
7fd495a69c Optimize TlStorerToString.
GitOrigin-RevId: fe43727ec9a0ec777860c16fd6fcbd73a9fd4c09
2020-04-29 21:49:11 +03:00
levlam
851d23f06c Add messageDice.success_animation_frame_number.
GitOrigin-RevId: d0afff34c7d74fe5e06b008b7a8438be4aebe88b
2020-04-21 19:08:01 +03:00
levlam
822bc95d13 Reget users to restore their online status after removing them from privacy restrictions.
GitOrigin-RevId: e29832c5a056cdc5708c02ce31e77570ff335ced
2020-04-19 12:53:07 +03:00
levlam
5294bf8607 Update Unicode data to 13.0.0.
GitOrigin-RevId: f8ef2133797db0092be6ec98e45373bdde850567
2020-04-08 22:27:49 +03:00
levlam
77c7f4c660 Add Clocks::tz_offset.
GitOrigin-RevId: b1dcb9a8533f408961778eac7c7fa5db1bd2b920
2020-04-08 20:47:14 +03:00
levlam
b35862bd71 Simplify Clocks.
GitOrigin-RevId: 6684cd9d98efea14d00317d1975b58aa7e2c8a11
2020-04-08 02:39:51 +03:00
levlam
f9e8bbdff4 Fix undef of small with WIN32_LEAN_AND_MEAN defined.
GitOrigin-RevId: ca8ca03bdf62e9aaf2fe44078aa074296a3a949e
2020-04-01 00:36:01 +03:00
levlam
c7411004be Fix count_bits implementation.
GitOrigin-RevId: a6b56a2f9dbef462107787c852bacee6571df2c9
2020-03-31 23:21:42 +03:00
levlam
c4023a3f9b Use KB instead of kB for 1024 bytes.
GitOrigin-RevId: 163ebf3f28f5e6f6710b3ff85bdfc21996c67acb
2020-03-20 03:20:07 +03:00
levlam
9d1e3ed661 Add WIN32_LEAN_AND_MEAN during build on Windows (0% build time speed up).
GitOrigin-RevId: ebe9742fa94187434be37339862f11b750db44ac
2020-03-19 02:33:53 +03:00
levlam
a0c5c5900a Better rand_string parameter types.
GitOrigin-RevId: 2702375880663d3cfe1546b047e01ba02ffcd2ce
2020-03-15 02:01:22 +03:00
levlam
968689157c Make max_compression_ratio required parameter in gzencode.
GitOrigin-RevId: c787fdeae202d3b80944412e7db4209f35adcd07
2020-03-15 01:56:48 +03:00
levlam
1ed0ab3146 Improve logging on failed check.
GitOrigin-RevId: 3058af6fe76779e02eb6440fd1ab13ce07621785
2020-03-14 01:54:13 +03:00
levlam
d48faede71 Remove now unneeded BigNum::ensure_const_time method.
GitOrigin-RevId: ce34efc94f3e13f306592bed86a37f342a356a23
2020-03-10 18:31:13 +03:00
levlam
2df3de7b80 Improve logging.
GitOrigin-RevId: 8574b038e9682f8020d1508a7be7beef223e1b08
2020-03-10 04:37:46 +03:00
levlam
ae5588bf11 Make webPage.description a formatted text.
GitOrigin-RevId: b64cf0e915f9fdeeadc8cdee8280fcbb236c92bb
2020-03-02 16:05:18 +03:00
levlam
92df8f9827 Remove unneeded brackets.
GitOrigin-RevId: 0b8a2ae21d28e6c276db8b45ffb4d127800f5d73
2020-02-26 18:15:19 +03:00
levlam
e34058c16f Optimize TlBufferParser for empty strings.
GitOrigin-RevId: fb796f93d84a32c90f9420029b89e0f7fe169869
2020-02-23 22:44:14 +03:00
levlam
1313fb1543 Remove illegal MovableValue<void *> usage.
GitOrigin-RevId: 1daee39044131e396183ee20baa589b96ba27eb4
2020-01-30 22:11:04 +03:00
levlam
728d8d79f6 More enum class usages.
GitOrigin-RevId: 6680ce2276ced5b015a1f508f0b7b5f28b5f4a9b
2020-01-19 03:02:56 +03:00
levlam
7f4593e21b Simplify json_array usage.
GitOrigin-RevId: 991f180938424074b41a858b125268d5a10fc8ac
2020-01-16 04:32:02 +03:00
levlam
e09a295f7c Fix compilation error.
GitOrigin-RevId: ce8f9f5c1a28e69b716fa1b2427a1337436840e0
2020-01-11 03:51:44 +03:00
levlam
1703cee349 Common base64_decode implementation.
GitOrigin-RevId: 87bdf798a181799b2f51be9831d77fabf41e3820
2020-01-09 22:59:08 +03:00
levlam
09d359cdc4 Use exact size formula in base64_decode.
GitOrigin-RevId: 7515474fc70af351e7b886e870b0d3da453afdc8
2020-01-09 22:21:20 +03:00
levlam
7db7757d2d Simplify base64url_decode implementation.
GitOrigin-RevId: 873483e61cc54fad78a09aa8a143070c5e018dfb
2020-01-09 22:07:23 +03:00
levlam
529f925d40 Common base64_encode implementation.
GitOrigin-RevId: ed4f31cfc6f83e81f03bd8e71dc8d48ced530255
2020-01-09 21:05:43 +03:00
levlam
9ea68914cf Use get_character_table to get base64 char_to_value table everywhere.
GitOrigin-RevId: 192840280c280a82a1cb2f1eba9fb9983f6ffe52
2020-01-09 20:45:38 +03:00
levlam
d6dca91ff3 Add is_base64_characters functions.
GitOrigin-RevId: 5b3e8642e9d9788788ee1343af4eee9acf7dddc9
2020-01-09 20:18:53 +03:00
levlam
c8bf8fa5f7 Use real allocated file size in storage statistics.
GitOrigin-RevId: 6e5232700d8e97ba3ce0838c3bf7764541b6fd2a
2020-01-03 04:08:22 +03:00
levlam
eee0b2b23a Fix preprocessor directive.
GitOrigin-RevId: f473450b6ee28537cb66226ab46745d63d066541
2020-01-03 02:43:49 +03:00
levlam
75ecd9c692 Optimize FileFd.get_size/get_real_size on Windows.
GitOrigin-RevId: e39efbecdd6882bf4465b17dad556b585633b56e
2020-01-03 02:41:57 +03:00
levlam
e44b02fe45 Fix some includes.
GitOrigin-RevId: 1a3a8bab67f3ed56545d58815187d7a8f99944d9
2020-01-03 01:48:23 +03:00
levlam
69f30a3505 Add real_size to Stat.
GitOrigin-RevId: 3b8b4c24504ed1fa7eed1885abd3a3e9014eb2c4
2020-01-03 01:01:39 +03:00
levlam
12ab53bdfa Always open files on Windows as sparse files.
GitOrigin-RevId: 93a01f926970045e5db78e16f21eab293822b3be
2020-01-02 20:18:55 +03:00
levlam
80c35676a2 Update copyright year.
GitOrigin-RevId: 09afb551b6e637dc69739fa735b0051a38b9e14c
2020-01-01 04:23:48 +03:00
levlam
cb631ce8e7 Update Unicode data to the latest Unicode version.
GitOrigin-RevId: cfa82a1c89de14784e3c17fca92cf642499b425a
2019-12-30 02:46:45 +03:00
levlam
674e6b79d8 Remove unsafe JsonScope::operator<<(bool) to which pointers can be converted.
GitOrigin-RevId: 0350036ba8dd4b24df8974e1fe95593afe78a309
2019-12-23 03:21:51 +03:00
levlam
5fdb88a8ac Return JsonScope::operator<< overloads for string literals and pointers, because otherwise they are converted to bool.
GitOrigin-RevId: a699415fa15350be1daf9718239b295f272dc3ef
2019-12-23 03:09:21 +03:00
levlam
a91d296f87 Minor improvements.
GitOrigin-RevId: f66a5294ec1026c85dc71f62bb0026dce4a09fe0
2019-12-20 20:12:52 +03:00
Arseny Smirnov
3d972da1e6 Stacktrace improvements.
GitOrigin-RevId: 99dd952cff5c9e5edce575b84e365def24a59441
2019-08-14 11:31:25 +03:00
levlam
8c495d99e6 Use TRY_RESULT_ASSIGN.
GitOrigin-RevId: 99b60b9044fab9357a3440aed7da55f146677e6b
2019-12-08 09:57:33 +03:00
levlam
a0d761f27e Simplify JsonScope.
GitOrigin-RevId: c3a9aea0c053db9684853acb857ae2381d542cb2
2019-12-08 09:02:20 +03:00