Commit Graph

143 Commits

Author SHA1 Message Date
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
levlam
2691c7fabf Remove usage of codecvt: now conversions are safe and 2-1000x faster.
GitOrigin-RevId: a947a25cf9991dc39dc87b8766409e9b1e987009
2018-05-18 18:55:40 +03:00
levlam
18818fd4ff Use CSlice in to_wstring.
GitOrigin-RevId: 53f77206fbc34cd68036f994a7ee90fda2b1b636
2018-05-18 17:22:18 +03:00
levlam
7e0e2d2b6a Fix resolving of Internationalized Domain Names (on Windows only).
GitOrigin-RevId: 10b81d8b00a4cb6bb6c06e4b66831461ef0cc286
2018-05-18 16:13:35 +03:00
levlam
e29f883c8f Delete StringBuilder &operator<<(const wchar_t *str).
GitOrigin-RevId: 9bded36e98eda7717fc3f75697e91c1f3b6c3848
2018-05-17 21:48:15 +03:00
levlam
5e4956f91b Fix usage of gai_strerror.
GitOrigin-RevId: 2b17da3b3cbba8e4af91d9db54ee8adb01de6aed
2018-05-17 21:21:19 +03:00
levlam
cb6c46071e td_api::getProxyLink.
GitOrigin-RevId: 0d876446bbbb22467c452b088f4df24e7e1624a2
2018-05-17 21:08:51 +03:00
levlam
6c5fb4e6f6 Fix IPAddress::init_host_port on Windows.
GitOrigin-RevId: 3ecc70e2af540a1a00a4f5cc6689920e557d5260
2018-05-15 20:07:03 +03:00
levlam
e8494ea376 Fix .NET std::string <-> System.String conversion.
GitOrigin-RevId: 1c58f49c3924406464604ec752cf5873c9e96d73
2018-05-11 19:53:27 +03:00
levlam
36562f351c Better error message.
GitOrigin-RevId: 90f177a01b941a8fe029fb6363858260a0ca1f3b
2018-05-10 21:39:01 +03:00
levlam
9579edbd04 Fix compilation for Termux.
GitOrigin-RevId: d6ef97baaf2f48846189f89bc5c0c8ec824a2990
2018-05-10 10:49:47 +03:00
levlam
c5fecc1359 Fix logging in IPAddress::init_sockaddr.
GitOrigin-RevId: 7b41388afda9d508ef23f98cee1fa0499b8b4bf9
2018-04-30 16:30:50 +03:00
levlam
19ba540336 Minor fixes.
GitOrigin-RevId: 84ddb085a4f086b5f4802620cb29a1e3a51d936f
2018-04-28 11:56:10 +03:00
levlam
357ba6640a Better bytes storer to string.
GitOrigin-RevId: fa2b1bd1356f34ddb54ed051e4f963ae5bbdc56c
2018-04-27 00:49:23 +03:00
levlam
febdf70626 DcOption.secret initial support.
GitOrigin-RevId: fa067f8467db8c07906925bd6a794c2cf00ddb7d
2018-04-24 21:17:21 +03:00
levlam
f758d592dd Better iterators increment.
GitOrigin-RevId: 5da2e57210ce62f78ab938005a4683d2c1e26547
2018-04-23 01:14:49 +03:00
levlam
a1d6be72ff Better fix for END_PARSE_FLAGS.
GitOrigin-RevId: 8838c020bb677df926fce87c0e2343600089345d
2018-04-16 18:02:42 +03:00
levlam
82820bf842 Add debug.
GitOrigin-RevId: e6efea5f211c8926b986fc40eed6ae1401322c38
2018-04-13 21:20:20 +03:00
levlam
00590f1b72 Fix clang warnings.
GitOrigin-RevId: f96c46f526330b6857578689d624d8858380e121
2018-04-12 20:21:04 +03:00
levlam
d8c3c2c505 Fix clang 3.6+ + libc++ CE.
GitOrigin-RevId: 743acf2c12c981ec35266356725116f568867903
2018-04-12 20:10:23 +03:00
levlam
3330d565f6 Fix OpenSSL < 1.0.0 CE.
GitOrigin-RevId: ff60feca498c350981db6093e283702fe6f5a81f
2018-04-12 18:12:31 +03:00
levlam
717a307ff2 Fix clang 3.4-3.5 CE (2).
GitOrigin-RevId: 3ebf199d67ce42ea63add34aeb982debe8a9af3d
2018-04-12 12:11:48 +03:00
levlam
03bb533c07 Fix clang 3.4-3.5 CE.
GitOrigin-RevId: 7273cdff1b885f5dd8889468b0391b906757c2d2
2018-04-12 11:08:20 +03:00
levlam
386d18e8c4 Fix warnings.
GitOrigin-RevId: d8ae75999b183f143fee5d8961174afcad601f58
2018-04-11 23:17:51 +03:00
levlam
0bfe50a7b7 Strong typing for passport data.
GitOrigin-RevId: 766b671c97d8deb1e32bbfb4972c5a59a67f8435
2018-04-11 17:21:24 +03:00
Arseny Smirnov
963b6c060a json_array
GitOrigin-RevId: 7ebdc6dc38f79b5cfe638bd38a973354a83d80c6
2018-04-11 14:55:07 +03:00
Arseny Smirnov
293b706c74 json_object draft
GitOrigin-RevId: 571b710cc58c0271c0f78a9e1a1263b6858730f3
2018-04-11 13:49:04 +03:00