Commit Graph

391 Commits

Author SHA1 Message Date
levlam
dacd81a8fa NativeFd fixes.
GitOrigin-RevId: b792887066dc5f004f3d4f61224840be4cd01eeb
2019-08-01 02:48:34 +03:00
Arseny Smirnov
29b807d660 TRY_END_PARSE_FLAGS_GENERIC
GitOrigin-RevId: c68a348c7466daa7ab3b6b93217585a18458885d
2019-07-31 13:45:32 +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
e4a0d5937a Use correct case for Windows headers just in case.
GitOrigin-RevId: 8feb29c14e61ed6988e1ec56c35df40d8b8b09e7
2019-07-28 17:04:59 +03:00
levlam
126be85b0f Use Slice == instead of std::memcmp if possible.
GitOrigin-RevId: fc40339f1fa51ad2995f875b5a855bfebfb87b06
2019-07-27 01:42:18 +03:00
levlam
f432abcce4 Use copy_from instead of memcoy if possible.
GitOrigin-RevId: 63981da8864d16ce46bca4b9580e7d9613c837c5
2019-07-27 01:27:22 +03:00
levlam
78dd033988 Fix call to CreateFile2.
GitOrigin-RevId: 71fad1b8484402e997b07641552205894d0e1c3e
2019-07-24 15:30:50 +03:00
levlam
2f39a42441 Add TRY_RESULT_ASSIGN.
GitOrigin-RevId: ef2a42ead0014285eb29355f132ce093af337770
2019-07-24 05:10:32 +03:00
levlam
38e4310b71 Remove standalone Sha256State functions.
GitOrigin-RevId: 5db80ea1902a6fe8a635081a8b050a19528f9f90
2019-07-23 03:50:03 +03:00
levlam
ac6a83da50 Make Sha256State safe.
GitOrigin-RevId: 9b81cc1915b8ca1bc85219b863a6e8dcab814b37
2019-07-23 03:26:26 +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
Arseny Smirnov
6dc06b5b18 MpscPollableQueue: fix warning
GitOrigin-RevId: c7374582d0dd8ddf4f52885a8e44c81a0b27274c
2019-07-04 15:16:59 +02:00
Arseny Smirnov
1e9cefb2eb MpscPollableQueue: minor optimization
GitOrigin-RevId: 9d87dafe8b91622979a73ed068fdd73c60fdff29
2019-07-04 14:07:14 +02:00
Arseny Smirnov
b938ca635c Random: secure_uint{32,64}
GitOrigin-RevId: 5cc15552bc0d103cbe93935d3c75256845e3a39b
2019-07-04 12:55:17 +02:00
Arseny Smirnov
d4cb9d2d52 MpscPollableQueue: move system calls out of spin lock
GitOrigin-RevId: 6e826bcca1006aeadab4af84ad86ce2e402c10e4
2019-07-03 21:21:38 +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
Arseny Smirnov
f74d52b9be buffer.h: fix BufferBuilder const for_each
GitOrigin-RevId: a264a7d12975e57c517303e4699e2e73eb1d2211
2019-07-01 14:37:23 +02:00
levlam
fe00a7e7cf Add LOG_CHECK.
GitOrigin-RevId: 683c36f0eb69fe886acc09d9351efe3fbada9def
2019-06-27 20:08:58 +03:00
Arseny Smirnov
345f28330c ObfuscatedTransport: support of emulated_tls flag
GitOrigin-RevId: f0ae7ddb21455d4e8d8c3f486744b1b9643bf2d5
2019-06-26 15:51:48 +02:00
levlam
fa11870016 Fix CE.
GitOrigin-RevId: 6469e470803563c3451895189aa896dfb1e1e23f
2019-06-20 19:01:18 +03:00
levlam
c5eace2057 FileFd::stat fixes.
GitOrigin-RevId: 36197c4d134e4afe902eef066dc497c03228c271
2019-06-20 05:09:03 +03:00
levlam
59fd30237e Add Variant parser and storer.
GitOrigin-RevId: e6b8e46184f67fed50ce96a58a8ba33c17789c57
2019-06-19 02:48:34 +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
d8f95c3ea0 Add td_api::getBackgroundUrl.
GitOrigin-RevId: d9f55ce5f4d6630795fc269b3c19045376393d84
2019-05-07 17:10:20 +03:00
levlam
d92af070c4 Add misaligned pointer debug.
GitOrigin-RevId: 83e3727e541c490029c6ebf19188a8b866779088
2019-05-03 16:53:34 +03:00
levlam
6ffd4ce1f4 Fix walk_path.
GitOrigin-RevId: a75c5a6314e3c5312cd94a5844d276710ec9944c
2019-06-05 03:59:37 +03:00
levlam
44aede31ca Add more logging.
GitOrigin-RevId: 43b44b116e835cbaeb56119254b0de73aa57bdcd
2019-05-30 01:35:19 +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
e3e54b7a53 simple CancellationToken
GitOrigin-RevId: 081b63eac0ac1e45153f2df4a2eea9fa825c9924
2019-05-01 15:13:48 +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
73b98138d5 Fix warning.
GitOrigin-RevId: d6a208eafd95a36826a057e0e35128fefaee1c49
2019-04-30 22:15:43 +03:00
levlam
63bf6e5135 Undef bswap macroses if needed.
GitOrigin-RevId: 864c725f32d19152bf658853e7648c3f9c62d3a4
2019-04-30 21:25:17 +03:00
levlam
62fb384ec6 Fix return type of WSAGetOverlappedResult.
GitOrigin-RevId: d6e8575d2b8c15ce1f285de2eae573e7bf6f46fa
2019-04-26 05:15:26 +03:00
levlam
ccfc5337f8 Add td_api::writeGeneratedFilePart.
GitOrigin-RevId: 2dfcba1d5f14dfd5e701ac02d3a8fc96090a00f2
2019-04-26 03:18:00 +03:00
levlam
6acdaf056f Fix std::atomic_flag init.
GitOrigin-RevId: a5db747edd902e2e6c7847c7c525bbd2cef0df1a
2019-04-22 03:18:33 +03:00
levlam
498765fa8d Remove unused buffer log tag.
GitOrigin-RevId: 0e0e831c2c555388d72dbe0554cd6185f56d78a6
2019-03-26 16:24:29 +03:00
levlam
89e5b00a95 More push notification parsing.
GitOrigin-RevId: df7da02f718aab0c9158d77f73744808f7597396
2019-03-26 03:57:38 +03:00
levlam
e828ebc6d7 Better fatal error messages when writing FileLog fails.
GitOrigin-RevId: 61318558a665dd925cd10dd8f39eba20dd44eb87
2019-03-26 01:48:50 +03:00
levlam
afa4871028 Allow String as a Number in get_json_object_int_field.
GitOrigin-RevId: f7c17eb1f6f8caa3d078d4eafe2de3b58e34002f
2019-03-25 18:09:46 +03:00
levlam
d494a3e13f Return stdin to blocking state when closing.
GitOrigin-RevId: db4f43a526b099f07dbc5c1c717cc4e67aad5ee7
2019-03-22 01:59:16 +03:00