Commit Graph

1164 Commits

Author SHA1 Message Date
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
levlam
0e7fdac841 Fix FileLog under UWP.
GitOrigin-RevId: 4e3f01195c9980922f05e5b92f3b8eea940bdbf8
2018-09-13 14:26:22 +03:00
Arseny Smirnov
02e83aad78 EventFd: wait
GitOrigin-RevId: 1ae5d1c3d1316a7c5a868c4246b406182915b399
2018-09-13 16:27:09 +03:00
Arseny Smirnov
9225edd757 Fix Client.cpp
GitOrigin-RevId: bf4de7283b1d5a4b230c20cae1f7b0d2bb89c919
2018-09-13 14:55:55 +03:00
Arseny Smirnov
63ffada352 Fix tests
GitOrigin-RevId: 829b0485d9b1eebc6e53f7d1f035bd702187fdf9
2018-09-13 13:26:14 +03:00
levlam
86ef95e0a8 Fix CE and some includes.
GitOrigin-RevId: e181d67a6ed36c9cbd444cf2282902b6a90881be
2018-09-13 06:08:49 +03:00
levlam
f207b1eed4 Update version to 1.3.1.
GitOrigin-RevId: 2311e7c80565133d1d95cdf92dd234232ee5c88b
2018-09-13 03:15:06 +03:00
levlam
ed33e23c40 Make pread and DataView const.
GitOrigin-RevId: 4267ba93a1e83be55361c9f284f717151eb740cd
2018-09-13 03:12:40 +03:00
levlam
a4f98024a0 Add date to user profile photos.
GitOrigin-RevId: 70ed9117d9cfc5a0e0db4746e645f2e704599a1b
2018-09-12 23:59:10 +03:00
levlam
78bd4b0447 Fix setting online before setTdlibParameters.
GitOrigin-RevId: f8a1038415100667de798e88fb484d850aa2da32
2018-09-12 22:51:34 +03:00
levlam
f7405f8f86 Fix invalidating of chat invite links.
GitOrigin-RevId: d32dc810da18f379ad95b1d0ed07f0acdb2af700
2018-09-12 22:30:25 +03:00
levlam
9073ce4570 Do not add local photo sizes if photo could be changed.
GitOrigin-RevId: 6c19826a4c64a391a9254f261712529493fbe18c
2018-09-12 20:35:22 +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
31333b5b7f Fix warnings.
GitOrigin-RevId: 1b76215c3fdfd5a05581ab0122704b4e422de410
2018-09-11 22:28:10 +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
levlam
c20e1612d8 Remove thread 4 from tg_cli.
GitOrigin-RevId: eca37443e076ab504e6be0f8852ae91049cf0bb3
2018-09-11 13:37:44 +03:00
Arseny Smirnov
25b209fec1 bugfix
GitOrigin-RevId: 85798ce644ab01e9123558d47b40eee865d5c6ca
2018-09-11 10:31:05 +03:00
levlam
9971b52b81 Make subscribe a static method of Scheduler.
GitOrigin-RevId: e80024cfa63a37fb9b64f514ac3407d4e97c7302
2018-09-11 01:20:41 +03:00
levlam
a165b42575 Minor fixes.
GitOrigin-RevId: 793bc74ee1c82b5a86e044be65e4be0e5ce00336
2018-09-10 21:45:34 +03:00
levlam
f4c85df878 Use WSARecv/WSASend instead of ReadFile/WriteFile. Fix check_status.
GitOrigin-RevId: bbfdf27d508f5c985b14bc13bd8549201ae1cb15
2018-09-10 20:49:54 +03:00
Arseny Smirnov
3e991d2464 Bugfix
GitOrigin-RevId: bc0e81dec7fed8ef1fa47a8c529bc2a3aee01b48
2018-09-10 20:22:21 +03:00
Arseny Smirnov
3266984243 BufferedStdin: windows
GitOrigin-RevId: ff7393ea2d648de84f691043aa7780260af77f6d
2018-09-10 19:21:34 +03:00
Arseny Smirnov
982369c495 BufferdStdin: support posix
GitOrigin-RevId: eac3b2429f6680fb6246fecefc8bed7b4c48bd14
2018-09-10 18:09:08 +03:00
levlam
6329ebf6bc Remove legacy ChainBufferWriter::create_empty.
GitOrigin-RevId: 18e9d13a1472a97f920cf980eb4276309f6b518d
2018-09-10 18:00:28 +03:00
levlam
c6afabd633 Reimplement NativeFd::duplicate.
GitOrigin-RevId: 7f2dcff066d8f944514cb0bbc48991bbe3706820
2018-09-10 17:47:28 +03:00
levlam
0f4343d542 Add real NativeFd::set_is_blocking.
GitOrigin-RevId: a44de74e99cbe6161589e0d039f8fcb8b6e339c1
2018-09-10 17:05:12 +03:00
levlam
27b848f5c0 Remove unneeded code from Fd.cpp/Fd.h.
GitOrigin-RevId: a387ef08fbd75c0557f6882bef95a572605979c5
2018-09-10 16:52:27 +03:00
levlam
00b4fe3bc3 Mark PollableFdInfo default members as deleted.
GitOrigin-RevId: c16b8d57ac94f67018209af78518db0b95697932
2018-09-10 15:42:46 +03:00
levlam
fc0cbae579 Fix some includes.
GitOrigin-RevId: 9b36a638202fb8b34e13494efd6b4a48ff7f4845
2018-09-10 04:08:15 +03:00
levlam
a2846362a0 Remove copy-paste in socket initialization.
GitOrigin-RevId: f4de36f6ec62378adc2cc0a7b7ad7afdd6b0573f
2018-09-10 02:51:58 +03:00