levlam
|
28d3f2d860
|
Add OpenBSD support.
GitOrigin-RevId: 80d37bf8b6e55f68f3839bf2093994015176eecb
|
2019-08-02 03:25:28 +03:00 |
|
Arseny Smirnov
|
420a0e43af
|
NativeFd: remove on_release_fd method
GitOrigin-RevId: 16c5d50b2a796767865b4ee32b8c2492655bd529
|
2019-08-01 19:43:36 +03:00 |
|
levlam
|
24f1a2214a
|
Fix warnings.
GitOrigin-RevId: dbfa557bcf9dc3cd63dd5cbbbed9d23b48a5b627
|
2019-08-01 19:09:10 +03:00 |
|
Arseny Smirnov
|
b0ad2ad190
|
Fix TD_FD_DEBUG
GitOrigin-RevId: fd4ace2ccc618d1e43aff9226aa1d2777aa6874d
|
2019-08-01 07:06:43 +03:00 |
|
levlam
|
457f3424aa
|
Fix TD_FD_DEBUG mode.
GitOrigin-RevId: ba9eb0f51308f865802947eeaef46e7adaa2608f
|
2019-08-01 05:11:55 +03:00 |
|
levlam
|
a82e80be0a
|
Fix CE.
GitOrigin-RevId: 686b83e2202c35f811bd4fd56d80b3e6970c4f2c
|
2019-08-01 04:55:56 +03:00 |
|
levlam
|
dacd81a8fa
|
NativeFd fixes.
GitOrigin-RevId: b792887066dc5f004f3d4f61224840be4cd01eeb
|
2019-08-01 02:48:34 +03:00 |
|
Arseny Smirnov
|
bc1e26779f
|
Epoll: use NativeFd
GitOrigin-RevId: a4ff097abcf03cc7ac3a918969762c1539a19644
|
2019-07-31 13:45:15 +03:00 |
|
Arseny Smirnov
|
115fba770f
|
TD_FD_DEBUG: cmake option to debug EINVAL errors
GitOrigin-RevId: d0bd1be3a16b94a71c45ec4cca5f42e1364a3200
|
2019-07-31 12:18:48 +03:00 |
|
levlam
|
78dd033988
|
Fix call to CreateFile2.
GitOrigin-RevId: 71fad1b8484402e997b07641552205894d0e1c3e
|
2019-07-24 15:30:50 +03:00 |
|
levlam
|
98b8929932
|
Fix includes.
GitOrigin-RevId: 7b62de39f2d62ac8c14c24fb83041c717ba49873
|
2019-07-23 01:50:12 +03:00 |
|
levlam
|
5de928006b
|
Fix GCC CE and warnings.
GitOrigin-RevId: 21c7aa0f95f6534c8d8f1515fc93c67b55bb7998
|
2019-07-22 07:05:50 +03:00 |
|
levlam
|
20503e04d2
|
Various fixes.
GitOrigin-RevId: da4869e5054952663ad5993f5770f2984a473818
|
2019-07-22 07:01:51 +03:00 |
|
levlam
|
feb2beeec0
|
Fix testProxy.
GitOrigin-RevId: 6ad0bf0e7685ccae35931c4949ba29bafbcc6335
|
2019-07-22 05:04:18 +03:00 |
|
levlam
|
635aca2924
|
Fix tdutils after update.
GitOrigin-RevId: afc6d10dd0e2b2a7193dd2c96f07d5ca1cb11a00
|
2019-07-21 21:07:07 +03:00 |
|
levlam
|
e300208960
|
Add missing files.
GitOrigin-RevId: 8a8503246a51483927b683ba5cd74f758e21a538
|
2019-07-07 03:05:30 +03:00 |
|
Arseny Smirnov
|
02c31f486f
|
tdutils: update from other project
GitOrigin-RevId: 73c666dbdd72811b151a48504716ed4aee6af1a0
|
2019-07-06 13:29:15 +02:00 |
|
levlam
|
948da791ad
|
Wrap calls to fsync with skip_eintr.
GitOrigin-RevId: c7eaba54794d461428cce064e51be26909f39a30
|
2019-07-03 17:51:00 +03:00 |
|
levlam
|
0a1fb007d9
|
TlsInit fixes.
GitOrigin-RevId: 798d053d68b6e0955b6e0e0c7c8d36592f76c987
|
2019-07-01 16:18:28 +03:00 |
|
levlam
|
c5eace2057
|
FileFd::stat fixes.
GitOrigin-RevId: 36197c4d134e4afe902eef066dc497c03228c271
|
2019-06-20 05:09:03 +03:00 |
|
Arseny Smirnov
|
ff3164ff04
|
Fd::stat returns Result<Stat> instead of Stat
GitOrigin-RevId: 7bdb5f0d65df55424db302e4df060b697d8ee11d
|
2019-06-19 16:31:25 +02:00 |
|
levlam
|
6ffd4ce1f4
|
Fix walk_path.
GitOrigin-RevId: a75c5a6314e3c5312cd94a5844d276710ec9944c
|
2019-06-05 03:59:37 +03:00 |
|
levlam
|
34fcde6827
|
Minor fixes.
GitOrigin-RevId: a5d8a4b0b9b9c4e858d7a9a7403bef0de7e009e0
|
2019-05-22 21:17:24 +03:00 |
|
Arseny Smirnov
|
7831955779
|
Fix CE
GitOrigin-RevId: 1747b786d930cd2150a9d5eacd75908e3f37a45b
|
2019-05-02 06:43:33 +02:00 |
|
Arseny Smirnov
|
83f99f6193
|
Fix CE
GitOrigin-RevId: 48135ab7ebeea8bc6b14de5734a107068cb0dc99
|
2019-05-01 22:31:07 +02:00 |
|
Arseny Smirnov
|
0264e2bbfd
|
WalkPath: allow to skip dirs and to abort a walk
GitOrigin-RevId: 6be49d1c098b0d17b63ae1f26dbefb6904320d6b
|
2019-05-01 12:23:19 +03:00 |
|
levlam
|
62fb384ec6
|
Fix return type of WSAGetOverlappedResult.
GitOrigin-RevId: d6e8575d2b8c15ce1f285de2eae573e7bf6f46fa
|
2019-04-26 05:15:26 +03:00 |
|
levlam
|
6acdaf056f
|
Fix std::atomic_flag init.
GitOrigin-RevId: a5db747edd902e2e6c7847c7c525bbd2cef0df1a
|
2019-04-22 03:18:33 +03:00 |
|
levlam
|
d494a3e13f
|
Return stdin to blocking state when closing.
GitOrigin-RevId: db4f43a526b099f07dbc5c1c717cc4e67aad5ee7
|
2019-03-22 01:59:16 +03:00 |
|
levlam
|
6af95d721d
|
Deprecate Log in .NET native binding.
GitOrigin-RevId: 08d3321d68a7406dd0e2a5f5877619d9e864ba1e
|
2019-02-24 19:17:36 +03:00 |
|
levlam
|
272608a5fb
|
Use F_FULLFSYNC instead of fsync on Darwin.
GitOrigin-RevId: 05a7bc0683641a679b026b6d636fa127fe104123
|
2019-02-22 04:20:23 +03:00 |
|
levlam
|
93494cf048
|
Fix log messages style.
GitOrigin-RevId: f99e2e838220826d3dea7fdc33c43ac9918a5efd
|
2019-02-21 18:58:20 +03:00 |
|
levlam
|
9b42166c68
|
Explicitly include common.h.
GitOrigin-RevId: 5ae32c18d0ff18aac36334b494ea526ce7da4a9a
|
2019-02-13 00:26:36 +03:00 |
|
levlam
|
eb9ead582f
|
Remove unneded includes of td/utils/loggging.h.
GitOrigin-RevId: 82a3b506dba5c9d5267dc0e2504a7093a7fa87db
|
2019-02-12 23:48:16 +03:00 |
|
Arseny Smirnov
|
20bfcaa979
|
Use LOG_CHECK where it is necessary
GitOrigin-RevId: a8bd17cc2ee6e43dcea52bb25aef9ee1f91c7ec4
|
2019-02-12 19:17:20 +03:00 |
|
levlam
|
297644fcb4
|
Better Windows detection.
GitOrigin-RevId: c07960f628f6fb93079d9b4efdf072f580599632
|
2019-01-23 17:53:01 +03:00 |
|
levlam
|
ca92472b69
|
Support numeric hosts in GoogleDnsResolver.
GitOrigin-RevId: 6768a90ad7f98d83f507051564fb1646d3834aad
|
2019-02-04 06:32:10 +03:00 |
|
levlam
|
6ccaf358b7
|
Support IDN hosts in all resolvers.
GitOrigin-RevId: c5b2741dd2d4e8bb0361e6dddf3b6749e5195c6a
|
2019-02-04 05:39:20 +03:00 |
|
levlam
|
83037ee014
|
GetHostByName fixes and improvements.
GitOrigin-RevId: 531a53c4d559662be110d1ad6938ca3e52ccbc1e
|
2019-02-04 02:29:37 +03:00 |
|
levlam
|
14f5ce9a29
|
Delete reused notification groups from database and other fixes.
GitOrigin-RevId: d07e452682df5d781bd0bb992ef572c0c3990540
|
2019-01-12 03:40:06 +03:00 |
|
levlam
|
9f7b5fe258
|
Skip EINTR in stat functions.
GitOrigin-RevId: 69a2bf5e7343eba0c24a3b7443a8bfccbd6c1850
|
2019-01-01 20:53:36 +03:00 |
|
levlam
|
eaebfad034
|
Update copyright year.
GitOrigin-RevId: 359e2b43322222922c44c430d3814b0a4c778dc6
|
2019-01-01 01:02:34 +03:00 |
|
levlam
|
cba0f62ba9
|
Minor fixes.
GitOrigin-RevId: ffac148f714da737dcc1b12e56352995866f93b4
|
2018-12-19 23:35:13 +03:00 |
|
Arseny Smirnov
|
d34831c613
|
tdutils: update from other project
GitOrigin-RevId: 4a0a7ed6fff6af9b498122c66de9576939dce523
|
2018-12-19 17:48:39 +03:00 |
|
levlam
|
9f0f6dc56e
|
Fix IPAddress::get_any_addr.
GitOrigin-RevId: cd2c6ca22d6ecc1cbb834b15e9aa191302885e52
|
2018-12-17 22:09:01 +03:00 |
|
levlam
|
064619044b
|
Fix IOCP error statuses.
GitOrigin-RevId: 8f5c5481c7d70b7d7795503bc69deff32fb5935c
|
2018-12-17 19:12:47 +03:00 |
|
levlam
|
3791b38296
|
Better compile-time dispatching on function type.
GitOrigin-RevId: 2687fa402c9c76ad654bdad0759893dc6df6262e
|
2018-12-12 05:26:52 +03:00 |
|
levlam
|
2b4d076323
|
Modernize spelling of macOs.
GitOrigin-RevId: 92129b6264af6a04d69d0eb79f942ca20923bb78
|
2018-12-01 04:15:59 +03:00 |
|
levlam
|
8e9c2721ef
|
Support different IPv4 formats in IPAddress::init_host_port.
GitOrigin-RevId: 122239f0ba24a1274b0cc50913e8fac3ad25ddc3
|
2018-11-27 21:26:32 +03:00 |
|
levlam
|
7d565e359d
|
Improve clean_filename behavior.
GitOrigin-RevId: da29b1a87a27b6bcb7651ae1b261d44dcf18849f
|
2018-11-27 04:24:43 +03:00 |
|
levlam
|
ca4c1acc90
|
Add IPAddress::is_reserved method and its test.
GitOrigin-RevId: 69a4d5cc73cb40e7a99a1d4e56746efbcfa02e83
|
2018-11-15 20:10:20 +03:00 |
|
levlam
|
0d5a09e615
|
Fix ThreadPthread.
GitOrigin-RevId: 3b16056894c33775dcf31146a87f1ab1c2ee13cc
|
2018-11-03 22:36:52 +03:00 |
|
levlam
|
d119861780
|
Add missed include.
GitOrigin-RevId: 206f244bcd8d7759b942de8288284bcbd48b22f0
|
2018-11-02 22:57:22 +03:00 |
|
levlam
|
0624f75eec
|
Add FreeBSD support.
GitOrigin-RevId: 8cc4a42d4c7879ba1b19591f7b37880d5d554585
|
2018-11-02 22:47:20 +03:00 |
|
levlam
|
37738ec61a
|
Fix FreeBSD CE.
GitOrigin-RevId: c5740fb668058b65c2e4dd2bc3d1c14d9bbea06f
|
2018-11-02 18:58:20 +03:00 |
|
levlam
|
a91db513eb
|
Better create_local_lock.
GitOrigin-RevId: ce705e7258ad05bde1ac6c72cc8a045c128fa8a6
|
2018-10-30 14:21:36 +03:00 |
|
Arseny Smirnov
|
9ce80962fc
|
FileFd: bugfix
GitOrigin-RevId: a6f27c73787e543475d5e09f1510de491a46e3f5
|
2018-10-30 11:47:58 +03:00 |
|
Arseny Smirnov
|
0aa06cbea5
|
FileFd: create_local_lock function
GitOrigin-RevId: 8d782e0194f4e2e7b0d9ceef9dad4a1051ed393b
|
2018-10-30 11:35:50 +03:00 |
|
Arseny Smirnov
|
4e03ee1293
|
FileFd: fix sleeping while mutex is locked
GitOrigin-RevId: fb6b5bb1967a4c144e9393b2ab82ccf6dfe2f15a
|
2018-10-30 11:21:16 +03:00 |
|
levlam
|
51eec319b8
|
Fix some includes.
GitOrigin-RevId: 4c81e2fd0101f3c5bb23912681e7d02a60da5622
|
2018-10-28 20:30:47 +03:00 |
|
levlam
|
26530c3b97
|
Fix legacy fd_ usage.
GitOrigin-RevId: 62e6f4882f16595e591a24b88280080135d62eef
|
2018-10-27 17:34:53 +03:00 |
|
levlam
|
28bfa4c4a6
|
Fix some MSVC Analyzer warnings.
GitOrigin-RevId: f62e8173ae9a5b78818f6575548ce22d4aa5c51d
|
2018-10-26 17:11:20 +03:00 |
|
levlam
|
8aab98871e
|
Fix is_eof in case of unsuccessful read.
GitOrigin-RevId: b5a48f7818a02f6d0cf16b11a0745cf7fdeff326
|
2018-10-24 21:57:47 +03:00 |
|
levlam
|
ae585729aa
|
Ignore EAGAIN in mkdir (happens in Android).
GitOrigin-RevId: 1d5ab4e698de8b74d61d06e84d4ac27d84020e91
|
2018-10-22 18:08:51 +03:00 |
|
levlam
|
872cf6e10d
|
Add local locking to FileFd::lock.
GitOrigin-RevId: 4ad3e15f9952b1c68c879182a0f10dd5cad270f3
|
2018-10-08 21:18:06 +03:00 |
|
levlam
|
806e570a72
|
Add source to next_utf8_unsafe.
GitOrigin-RevId: e8e5a47096461c0e76a64eb26cb848651d4d61e8
|
2018-10-08 15:53:05 +03:00 |
|
levlam
|
09c4422c50
|
Better error messages.
GitOrigin-RevId: 70b1cea8a4ba9fa42074b5bc7bd7d339ae1c1779
|
2018-10-07 02:47:50 +03:00 |
|
levlam
|
b3bae546ec
|
Various fixes.
GitOrigin-RevId: 52699dbd5280b63c6bb32da44ea5bfa3157a7922
|
2018-09-27 16:37:15 +03:00 |
|
levlam
|
f948956bf7
|
Use td::unique_ptr instead of std::unique_ptr whenever possible.
GitOrigin-RevId: 424beb72dc62efdefdbffb75f1036ba9417f84cb
|
2018-09-27 04:19:03 +03:00 |
|
Arseny Smirnov
|
3d17b1b166
|
Fix get_pending_error
GitOrigin-RevId: cc80c526df3d0ed8ceb76b8653ef4bb9f46311c4
|
2018-09-25 14:36:39 +03:00 |
|
Arseny Smirnov
|
8108dda1d9
|
SocketFd::get_pending_error bugfix
GitOrigin-RevId: e0596cec033a162fbca15a14f078c6a9cdbd8ff5
|
2018-09-24 18:26:29 +03:00 |
|
Arseny Smirnov
|
23e4c95c1c
|
Fix EventFdLinux
GitOrigin-RevId: 15b9fe88f5df8489c837d75fe3705a01298e902a
|
2018-09-22 17:13:49 +03:00 |
|
levlam
|
7e2053fcf5
|
Fix some includes.
GitOrigin-RevId: 3e3323045c44976ceea99b218d6806d3c836bbf2
|
2018-09-14 01:00:21 +03:00 |
|
levlam
|
02eff935ec
|
Remove legacy declarations.
GitOrigin-RevId: d2dcb086a609b2f11cf9476b7e4b9ca8d63c9fe0
|
2018-09-13 23:08:13 +03:00 |
|
levlam
|
0a2191e6fd
|
Fix rmrf CE.
GitOrigin-RevId: a19461f482d3aaa5d61dbdbc0796bc6c82bb260f
|
2018-09-13 21:50:23 +03:00 |
|
levlam
|
56f5f4e263
|
Simplify reader_wait and fix some includes.
GitOrigin-RevId: 32a91a6aa25934b2eeeddd99470a24871f38d219
|
2018-09-13 21:22:25 +03:00 |
|
levlam
|
3745cec3cb
|
Pass std::function as callback in walk_path.
GitOrigin-RevId: 80da4073e3b1d7d2b2b136efecac8b26a774157b
|
2018-09-13 20:41:26 +03:00 |
|
Arseny Smirnov
|
02e83aad78
|
EventFd: wait
GitOrigin-RevId: 1ae5d1c3d1316a7c5a868c4246b406182915b399
|
2018-09-13 16:27:09 +03:00 |
|
levlam
|
86ef95e0a8
|
Fix CE and some includes.
GitOrigin-RevId: e181d67a6ed36c9cbd444cf2282902b6a90881be
|
2018-09-13 06:08:49 +03:00 |
|
levlam
|
ed33e23c40
|
Make pread and DataView const.
GitOrigin-RevId: 4267ba93a1e83be55361c9f284f717151eb740cd
|
2018-09-13 03:12:40 +03:00 |
|
Arseny Smirnov
|
16b2c5969d
|
Fix walk_path. Test works
GitOrigin-RevId: c09c177e1e6a85efce931c0eb1e59d2aab3a4042
|
2018-09-12 15:24:21 +03:00 |
|
Arseny Smirnov
|
f72bcd230f
|
Update test for walk_path. It is CE now
GitOrigin-RevId: 850f17f25c3f1e8e3b63fc93936455883be35c4f
|
2018-09-12 15:07:54 +03:00 |
|
levlam
|
f8568f0400
|
Fix some includes.
GitOrigin-RevId: 253f114339c6b05b08705c188df1cb4c917537d2
|
2018-09-12 06:26:05 +03:00 |
|
levlam
|
90888e3b98
|
Remove rest of Fd.cpp.
GitOrigin-RevId: 8f6696a0092eb200a7ed4bb7e4fcd4b36886ac1d
|
2018-09-12 04:58:49 +03:00 |
|
levlam
|
d2171a77e1
|
Fix StdStreams initialization in UWP.
GitOrigin-RevId: 3f916079a8ad17eeec7a02c7caeb2e0f143f2341
|
2018-09-12 04:53:04 +03:00 |
|
levlam
|
1832683ec0
|
Fix walk_path.
GitOrigin-RevId: 8461f7331f565dd257794f91953e500d7f1986bc
|
2018-09-12 03:21:23 +03:00 |
|
levlam
|
2f90c47d03
|
Add explicit walk_path test.
GitOrigin-RevId: ec04003641d149168abe0b8c09af056ce50f48b6
|
2018-09-11 22:17:01 +03:00 |
|
levlam
|
fd96a6722d
|
Add get_ipv4 test.
GitOrigin-RevId: fe8d79634d3d4e5114cc8b03b0a38d988923c2ba
|
2018-09-11 21:49:39 +03:00 |
|
levlam
|
30ceb55fb4
|
Fix checking of return values.
GitOrigin-RevId: 81accbd062db24d031a3054ba5cc86ace38774ad
|
2018-09-11 20:31:53 +03:00 |
|
levlam
|
496d7b3e52
|
Fix CE.
GitOrigin-RevId: 34d4d5f28e8acebb39c4be9d3b7ecf631c017d3c
|
2018-09-11 19:57:50 +03:00 |
|
levlam
|
eff963a7c1
|
Better logging of NativeFd.
GitOrigin-RevId: 4d094f01a74c46acb5d4a0c8da4e67614bec1b6e
|
2018-09-11 19:44:37 +03:00 |
|
levlam
|
cc077a3971
|
Fix IPAddress::get_ipv4 usages.
GitOrigin-RevId: 6d87c9347aaa40957b1e524f889cf9fe8b179bb1
|
2018-09-11 19:40:53 +03:00 |
|
levlam
|
a80bd978e8
|
Fix closing of SocketFd by other side.
GitOrigin-RevId: adc39e4f4cd1d8938cf73e4ff5a4c532bcd3d9e9
|
2018-09-11 19:31:15 +03:00 |
|
Arseny Smirnov
|
c4b18325b9
|
Thread: detach
GitOrigin-RevId: 92efe8bfc3052cc9b0b75895c6a6510be8eb8fcd
|
2018-09-11 17:55:00 +03:00 |
|
Arseny Smirnov
|
5cdc7c2c53
|
BufferedStdin: simplify
GitOrigin-RevId: 8674573bea8246cf2e5c21bbdaae98712d8c7cc4
|
2018-09-11 17:48:29 +03:00 |
|
levlam
|
4df6f95818
|
Move Iocp to separate files.
GitOrigin-RevId: 8b60ea4ab775d264b70987316aac8141719d3a6b
|
2018-09-11 17:43:43 +03:00 |
|
levlam
|
94f2fca814
|
Unify FileFd::read implementation.
GitOrigin-RevId: bfe86b448459ba7ef875256d99796122bb486e4d
|
2018-09-11 17:13:53 +03:00 |
|
levlam
|
10118d0449
|
Simplify NativeFd.
GitOrigin-RevId: 07a33f1ad18b426ef339da76467c667607c1a3b9
|
2018-09-11 16:27:20 +03:00 |
|
levlam
|
db228c09c4
|
Remove some usages of io_handle.
GitOrigin-RevId: 5e09106583dd25590606fb68ae00a3f99dfe6a6b
|
2018-09-11 15:49:59 +03:00 |
|
Arseny Smirnov
|
11ccf8f4c8
|
bugfix
GitOrigin-RevId: e30c5724d5a1b24378bdc250fc40940a45b450b8
|
2018-09-11 15:04:17 +03:00 |
|