Commit Graph

169 Commits

Author SHA1 Message Date
Arseny Smirnov
ab2b189722 Ssl refactoring
GitOrigin-RevId: f5916787608227b6914c10520dfe7a7039522ef9
2018-08-15 15:41:42 +03:00
levlam
846290dac5 Fix previous commit.
GitOrigin-RevId: 4dc50e35d0b5e5a42da9e77716b8fd0cf57367a4
2018-08-14 17:02:12 +03:00
levlam
b05413262b Remove VLA usage.
GitOrigin-RevId: 6186e42b8dbaa3c182d9b6d89220e8ae06cb5a6e
2018-08-14 17:01:13 +03:00
levlam
3728c89f53 Make optional copyable when possible.
GitOrigin-RevId: 28c37171a9db3e868a21bc028ba24fee05833b35
2018-08-12 15:31:24 +03:00
levlam
6c1408565e Add BigNum to stringBuilder output operator.
GitOrigin-RevId: 6ba1beeccb1849a163e3e0cfc978d573f80a9dae
2018-08-10 02:36:05 +03:00
levlam
f92e25fcd9 Easy to use SHA256 and SHA512 functions.
GitOrigin-RevId: f1d959e2ab69e7e176e705d16f05546a7ef33399
2018-08-10 02:35:07 +03:00
levlam
6c45d2c479 Make BigNum::from_decimal safe.
GitOrigin-RevId: bc414c62024d0f971d3400fec738545f898654a4
2018-08-09 21:03:21 +03:00
levlam
7e1d116d70 Add BigNum::mod_inv.
GitOrigin-RevId: 98733421e0b8a6924724a4c13f2cd9ad937e3b0d
2018-08-08 22:56:23 +03:00
levlam
abe3ff55b0 Disable implicit conversion from Result<T> to optional<T>.
GitOrigin-RevId: bb064610012c5b650c2517cf4908a9514bc6a7e3
2018-08-05 15:24:50 +03:00
levlam
813ba873a8 Add binary_search_ranges debug.
GitOrigin-RevId: 866977f67c8816c9fb2fc1bcf0970f8f5cb4c03b
2018-08-05 01:48:59 +03:00
levlam
2465356c2e Add some debug.
GitOrigin-RevId: 5d2387379188dce1fd52cc9561a349f87e4fc240
2018-08-04 23:08:36 +03:00
levlam
7f62960ad3 Support PBKDF2-SHA512.
GitOrigin-RevId: cd151b5239a97d5c89dd78f60da24e939ab41445
2018-08-03 17:24:39 +03:00
levlam
1c4285efbe Fix some includes.
GitOrigin-RevId: c8e348ad89e90ba52f9cedd8783c803e69cd2b5c
2018-08-02 13:22:05 +03:00
levlam
2e56223afe Remove diacritics on search in Hints.
GitOrigin-RevId: 5e4313e30cd9aafa79e0c9ffb8f35c01a63c4029
2018-07-31 18:42:27 +03:00
levlam
986962bf55 Fix shch transliteration.
GitOrigin-RevId: b25e93d510010bd88df632107775c1143c7dca57
2018-07-31 14:22:58 +03:00
levlam
5403d0bf30 Support transliterations in Hints search.
GitOrigin-RevId: 391622f2e02defa39564a14c51e8a1b03b751b96
2018-07-31 14:13:19 +03:00
levlam
b6bfb3ddbf Add transliteration implementation.
GitOrigin-RevId: 205a0fdac314625617dc54065d572f92f442cf57
2018-07-31 02:49:42 +03:00
levlam
a547f42886 Add support for transparent HTTP proxies.
GitOrigin-RevId: 5ae836625a60d1f84b0ca8df2c41bf07e8ba59fd
2018-07-26 16:49:18 +03:00
levlam
236636e129 Comment CHECK, which causes accidental crashes.
GitOrigin-RevId: 3c38dc83dace61208990911aecd03be1ffa86dc7
2018-07-25 23:10:31 +03:00
levlam
3230dbebc5 Unify typedef name.
GitOrigin-RevId: e554eb8e1c245759ab78ff706f4240548d175206
2018-07-23 00:08:47 +03:00
levlam
e9568c9a8e Add SqliteKeyValue.cpp.
GitOrigin-RevId: d0490b00c3342db191a29e7780d3292e3b593896
2018-07-22 02:56:40 +03:00
levlam
dae614cf70 Better narrow_cast debug.
GitOrigin-RevId: 253b2b472e6e605a42f9b6ec2c3a59a6fa6afa0b
2018-07-22 01:09:10 +03:00
levlam
8ab079be89 Fix json_string_decode.
GitOrigin-RevId: 2ec938143c6fc51aef3a66bbb51572fe97e039b1
2018-07-19 16:54:44 +03:00
levlam
f9726a5e19 Remove global restriction on thread count.
GitOrigin-RevId: 48a3a6dce014fa640a5bb750eacc27304cb550d1
2018-07-17 02:46:44 +03:00
levlam
6e57c13f43 Use negative error codes in Result.
GitOrigin-RevId: 3ee4ccc424062be87198b2d706b791d5bf8e2020
2018-07-08 22:00:54 +03:00
levlam
0c907b38a8 Use different Status::Error in Result.
GitOrigin-RevId: 223a42d0bbfa777a821d29d4996e27b1d8fd8fff
2018-07-08 18:55:12 +03:00
levlam
e2a90b9edf Fix some string to Slice conversions.
GitOrigin-RevId: 79ddee1a90c633cc1b1df5c8e3d9917027bad0f3
2018-07-08 02:47:46 +03:00
levlam
90f0f006b4 Check that storer unsafe doesn't overflows.
GitOrigin-RevId: ffbdcbbba7d26688b59cda00318d02fc06e402dc
2018-07-06 23:33:11 +03:00
levlam
08db51cdce In-memory thread-safe cache for language pack strings.
GitOrigin-RevId: 71dc10a925f1000590501c4ddfc307806e242e51
2018-07-05 21:28:11 +03:00
levlam
deecdb66bc Fix some td/actor/ includes.
GitOrigin-RevId: f9cf960b96018c4eb6169d2ec6cb5d3fbc16c0ec
2018-07-03 22:29:04 +03:00
levlam
ac1d7a9657 Add prefer_ipv6 option.
GitOrigin-RevId: b20e8c699e20c4fb6ec76cd53aeaeee509cd2115
2018-07-01 17:19:59 +03:00
levlam
9b0a138dd1 Add prefer_ipv6 parameter tp GetHostByNameActor.
GitOrigin-RevId: 727fc30d94657399f1e49efc208b6951a7677d2f
2018-07-01 04:12:20 +03:00
levlam
9e6ddb14a7 Fix host validation in parse_url.
GitOrigin-RevId: abce3f846d5d47949478da8353b2eb469635c404
2018-07-01 02:29:36 +03:00
levlam
07f731df95 Better init_host_port.
GitOrigin-RevId: 04f6f90435cc7d33e18ab594658787044ec6c4f4
2018-07-01 02:10:17 +03:00
levlam
b38ec4ceb4 Separate Slice constructors for debug purposes.
GitOrigin-RevId: f7ef57f55d59a50ce920549432c3a10d612228eb
2018-06-30 15:55:58 +03:00
levlam
cfd1761a00 Use static IPs only for IPv4 Socks5 proxies.
GitOrigin-RevId: 797d7acdd16323bb61e15b67c13ada216abe31f1
2018-06-29 20:36:27 +03:00
levlam
002f4e31b0 Fix warning.
GitOrigin-RevId: c54303ab305fec0f7b30a5d231688add912b97d0
2018-06-28 16:50:43 +03:00
levlam
6810845770 Allow EPERM in realpath just in case.
GitOrigin-RevId: a575e0e04739e793afb9f370b05afbb9f1941c17
2018-06-27 19:24:09 +03:00
levlam
7150cfc8b2 Add disable_top_chats option.
GitOrigin-RevId: 732ba115f67d19585b4e2f4aae024194c6e65174
2018-06-26 22:51:00 +03:00
levlam
046ad3b752 Make TlStorerUnsafe buffer unsigned.
GitOrigin-RevId: 8bb19c10e4edd8b015d3a2be0449426c9c07f7df
2018-06-25 02:58:43 +03:00
levlam
019c0bb376 Make BufferRaw buffer unsigned.
GitOrigin-RevId: 5d4f8faaa1806c3b035cd44ef9cd3f5111d93abf
2018-06-25 02:27:07 +03:00
levlam
b4d6662f71 Add some debug.
GitOrigin-RevId: 29b2efa626ed4a6a0c0eb2ac2cec2fb245e9e6b5
2018-06-25 01:51:15 +03:00
levlam
f18dea245c Remove names Status constructors.
GitOrigin-RevId: bd196c8a3d5657f2f8ce3e5ceaf3e64821177398
2018-06-21 23:20:32 +03:00
levlam
1ef5c89a91 Allow tg URLs in text links and url buttons.
GitOrigin-RevId: 9708c3016375564e737bf5a8f79494807d61c10f
2018-06-19 13:23:52 +03:00
levlam
cb1e0374af Minor fixes.
GitOrigin-RevId: 7deac5583350d64cf6fd0e323f2291804e3ba995
2018-06-05 20:44:41 +03:00
levlam
477112332f Optimize printing integers.
GitOrigin-RevId: 4d73952b23d2f6da7cce0b21371b4d861c914b6f
2018-06-05 02:34:51 +03:00
levlam
004e562d0f Better JSON type names.
GitOrigin-RevId: 1d40b9f39a0850040820b90fcf874b42468edd2d
2018-05-20 15:30:36 +03:00
levlam
2216998d74 Better error messages.
GitOrigin-RevId: d3c4e84c609f90d52ed9564c7a5301706562147f
2018-05-19 18:03:53 +03:00
levlam
0764948a87 Punicode support for non-Windows.
GitOrigin-RevId: 6ef7dd1bb163bdf369a7ed10a50d598b50e2def6
2018-05-18 23:38:11 +03:00
levlam
2a3d1494aa Better is_ascii_host_char.
GitOrigin-RevId: 25c42be7223691ae9623061ed495b99940b1d79a
2018-05-18 21:12:39 +03:00