Commit Graph

59 Commits

Author SHA1 Message Date
levlam
9b0a138dd1 Add prefer_ipv6 parameter tp GetHostByNameActor.
GitOrigin-RevId: 727fc30d94657399f1e49efc208b6951a7677d2f
2018-07-01 04:12:20 +03:00
levlam
07f731df95 Better init_host_port.
GitOrigin-RevId: 04f6f90435cc7d33e18ab594658787044ec6c4f4
2018-07-01 02:10:17 +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
cb1e0374af Minor fixes.
GitOrigin-RevId: 7deac5583350d64cf6fd0e323f2291804e3ba995
2018-06-05 20:44:41 +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
5e4956f91b Fix usage of gai_strerror.
GitOrigin-RevId: 2b17da3b3cbba8e4af91d9db54ee8adb01de6aed
2018-05-17 21:21:19 +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
f758d592dd Better iterators increment.
GitOrigin-RevId: 5da2e57210ce62f78ab938005a4683d2c1e26547
2018-04-23 01:14:49 +03:00
levlam
c29ff63fa6 Make ENOTCONN non-fatal error, because of iOS.
GitOrigin-RevId: a218c47dc8972e0813318d2653635b72ecb720ce
2018-04-04 22:37:46 +03:00
levlam
3856045a08 Autogenerate TDLib .NET documentation.
GitOrigin-RevId: 9a73b2786306b8b2deaeb967aa4633d1d1ed0a2d
2018-03-17 00:26:27 +03:00
levlam
3b569010aa Add documentation to ClientDotNet and LogDotNet.
GitOrigin-RevId: 4683cfb7198430314539780fa793898ff6c36e96
2018-03-15 19:25:51 +03:00
levlam
c10ac96cc9 Various fixes.
GitOrigin-RevId: 3880e2fc5b8704f163817699ec1043f2f7a39b83
2018-03-14 17:43:00 +03:00
levlam
9a4617fee3 Add IPv6 DC addresses.
GitOrigin-RevId: 03f79d00d679869d42c5557586e0af2a72b62a23
2018-03-14 15:27:55 +03:00
Arseny Smirnov
c29f5e9432 tdutils: merge Destructor and ScopeGuard implementations
GitOrigin-RevId: b599ca74a5109491ce772cf995b7b6814b9cc7b1
2018-03-13 16:03:46 +03:00
levlam
1dd2e28551 Fix C++/CLI.
GitOrigin-RevId: fd48669cdc54fafa3475dbd1aa6ab7cd49055a23
2018-03-11 23:49:38 +03:00
levlam
ca0b876c62 Find stat nanoseconds using SFINAE.
GitOrigin-RevId: 90b0f42ca6349e2cf4236caf6f81742384649072
2018-03-10 22:19:58 +03:00
levlam
6669bd8c7b Support for recent_stickers_limit.
GitOrigin-RevId: f49119eb0703bb03e7c564a4f90a1f91f9c6074b
2018-03-08 16:49:45 +03:00
levlam
a3717481ed More robust mkpath.
GitOrigin-RevId: 3c0417c3223dff7161f4457da8ae475f6dc8f925
2018-03-04 22:53:21 +03:00
levlam
67b1cce74e Support ignore_access_denied in realpath on Window.
GitOrigin-RevId: 4fed501fee67b8533920fd729f1aa1944642db60
2018-03-04 22:37:31 +03:00
levlam
802860a412 Fix CE.
GitOrigin-RevId: c6ddbed7c3452c9a469160ae1cafc1fce5f9e750
2018-02-28 22:54:05 +03:00
Arseny Smirnov
110f2c5b7b UWP: build scripts
GitOrigin-RevId: 8bbfa1f455a6521f1d823147ddff97768db21da2
2018-02-28 21:19:33 +03:00
Arseny Smirnov
f5388f69f9 cpu_stat
GitOrigin-RevId: b98a3400ad40cac89c97589e450a807266a885bc
2018-02-28 10:27:24 +03:00
levlam
a741fe7925 Minor fixes.
GitOrigin-RevId: beff71eb64dee126727d8be2a18b09ee99d4fe40
2018-02-28 04:22:17 +03:00
Arseny Smirnov
70ad2664bd Add initial C# support
GitOrigin-RevId: c0ece19b41ca8e348285df95f9b81b188d3e5835
2018-02-26 21:08:47 +03:00
levlam
c8a784f0ca CxCli: better TryRemove.
GitOrigin-RevId: ef4394f1dd2d1fdf6609412ec666954316aafa66
2018-02-22 23:34:09 +03:00
levlam
35d0ac2985 Fix CxCli and find_library.
GitOrigin-RevId: b3057195dc88b31fc87a1688f470d03e921df99f
2018-02-22 18:44:22 +03:00
Arseny Smirnov
9f172eee39 fix CxCli
GitOrigin-RevId: 7ca3258008ee5eb658d3c0cd7e9d4c81c7f6128d
2018-02-16 14:22:19 +03:00
levlam
428cb9cf10 Fix mem_stat.
GitOrigin-RevId: 491abe3e44c8ffaf5c9e1b2d3c726a5ce69f599b
2018-02-14 04:23:59 +03:00
levlam
a6ab35e616 Replace std::max/min with td::max/min.
GitOrigin-RevId: 56fb21194e995cbb37b3ebb5caed689c10320b8d
2018-02-12 13:37:54 +03:00
levlam
389ff96082 Move some implementation to cpp.
GitOrigin-RevId: b554d19ab8d8a6826c7f879d660c75d15c0d944a
2018-02-12 11:40:52 +03:00
levlam
6b927449eb Fix some includes.
GitOrigin-RevId: 08add4bab90bb23e0e71340ac647ce8cafc4b900
2018-02-11 18:58:18 +03:00
levlam
a7e9fb5e62 Remove more printf logging.
GitOrigin-RevId: f5573d9676426e21fde45bf4dace19ae53943e3c
2018-02-11 17:52:41 +03:00
levlam
6e3cbf42dc Remove calls to Logger.printf.
GitOrigin-RevId: 3b5452fc4bd705ce5cf98d360247ec0146923e2d
2018-02-11 17:07:16 +03:00
levlam
834fa51b45 Use to_integer_safe instead of sscanf in mem_stat.
GitOrigin-RevId: a1ce7c920596c4d4198488048d1592b72d871ebe
2018-02-11 16:05:51 +03:00
levlam
da4714b3ca Unify include order.
GitOrigin-RevId: 981c4788511b9b286e954b2f85a7263b8baf8566
2018-02-03 15:58:18 +03:00
levlam
6cf95c36ad Clear errno just in case.
GitOrigin-RevId: b45ff66a66fba605e5a1b500a1ab66eb87140e19
2018-01-30 20:10:44 +03:00
Arseny Smirnov
614c3cffd7 skip_eintr_cstr
GitOrigin-RevId: e13756e7dfa4abb7452172dbedfaf73aa256bcd5
2018-01-29 13:28:56 +03:00
levlam
62bb714421 Fix some includes and spelling.
GitOrigin-RevId: 489a75315987be488d8caf63a9d3c4f0948ab810
2018-01-28 21:13:25 +03:00
levlam
799e4bc324 Fix CE.
GitOrigin-RevId: d8047740df158dbc83c10c7aef231e6b06ec2752
2018-01-26 17:05:02 +03:00