Commit Graph

319 Commits

Author SHA1 Message Date
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
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
levlam
943fc13900 Move PollFlags to separate header.
GitOrigin-RevId: 5c97229d6c29fb281c6c1100530b14bcc1aaa827
2018-09-10 02:37:05 +03:00
levlam
5260fa4ef9 Move skip_eintr to detail.
GitOrigin-RevId: f9898af5691b7fda7e0036de4ede6f17e281c657
2018-09-10 02:16:42 +03:00
levlam
cfea83b4c5 Move set_is_blocking method to NativeFd.
GitOrigin-RevId: 09040e5993647fb6626917bd3b07421e9a717af3
2018-09-10 02:08:12 +03:00
levlam
fd90bf435e A lot of fixes.
GitOrigin-RevId: c7c16991da51e09a685537a444385852e8e93af4
2018-09-07 03:41:21 +03:00
Arseny Smirnov
cfcc08ebb7 Bugfix
GitOrigin-RevId: 1c0efe4d8f3da9cfe328fc0f78c323d08d60fbb6
2018-08-17 18:48:32 +03:00
Arseny Smirnov
bf15a5ac12 tg_cli works under posix
GitOrigin-RevId: 632e05de183a55b045f74e09ca8d41060f55ad41
2018-08-17 16:41:51 +03:00
Arseny Smirnov
180de003a6 IOCP: pass tests under windows
GitOrigin-RevId: bbb13f722c911609e7cf120e7a06e02eb13c616f
2018-08-17 12:19:21 +03:00
Arseny Smirnov
44be8d2ea3 Scheduler: send from other thread
GitOrigin-RevId: 3448a047001c257bcfb4792135d2e332410c85e8
2018-08-16 16:56:16 +03:00
Arseny Smirnov
8a28e4b461 Almost compiles
GitOrigin-RevId: aad536022caddba0446a761e7ab1f3b4ac64f53b
2018-08-14 10:42:40 +03:00
Arseny Smirnov
093651fb22 Update tdutils from other project
GitOrigin-RevId: 83ec94032ccecef812b01963ac0506655a57e2af
2018-08-13 20:15:09 +03:00
Arseny Smirnov
e02ff596ae beter DelayDispatcher and OrderedEventsProcessor destruction
GitOrigin-RevId: eb7ff28c66f326aa9ba2ce9313182a3800fb76e0
2018-09-07 16:17:09 +03:00
Mattia Basaglia
e0531cc682 Use standard escape sequences 2018-09-05 16:08:35 +03:00
Sasha Koss
79d4eade83 Add missing <limits.h> so PATH_MAX would be available
It fixes an error that happens during building on Alpine Linux:

```
In file included from /tmp/td/tdutils/td/utils/port/path.cpp:7:0:
/tmp/td/tdutils/td/utils/port/path.h: In function 'td::Status td::walk_path(td::CSlice, Func&&)':
/tmp/td/tdutils/td/utils/port/path.h:167:21: error: 'PATH_MAX' was not declared in this scope
   curr_path.reserve(PATH_MAX + 10);
                     ^~~~~~~~
```
2018-09-04 21:52:20 +03:00
levlam
a56f70c340 Safer init_openssl_threads.
GitOrigin-RevId: ecb7a2dbcf48aae55e611e7f95d0a1f0c4a8413d
2018-09-02 15:44:19 +03:00
levlam
25826e253d Move VERBOSITY_NAME(connections) out of utils/logging.h.
GitOrigin-RevId: ec768560b9c87ff64d3d8b9a0c821f75abf3321a
2018-08-17 17:02:28 +03:00
levlam
23c03a97f4 Various style fixes.
GitOrigin-RevId: 056c091cfd71322a0cc8db0e3bafec7d272da7ad
2018-08-16 01:06:53 +03:00
Arseny Smirnov
ab2b189722 Ssl refactoring
GitOrigin-RevId: f5916787608227b6914c10520dfe7a7039522ef9
2018-08-15 15:41:42 +03:00
levlam
846290dac5 Fix previous commit.
GitOrigin-RevId: 4dc50e35d0b5e5a42da9e77716b8fd0cf57367a4
2018-08-14 17:02:12 +03:00
levlam
b05413262b Remove VLA usage.
GitOrigin-RevId: 6186e42b8dbaa3c182d9b6d89220e8ae06cb5a6e
2018-08-14 17:01:13 +03:00
levlam
3728c89f53 Make optional copyable when possible.
GitOrigin-RevId: 28c37171a9db3e868a21bc028ba24fee05833b35
2018-08-12 15:31:24 +03:00
levlam
07bfd77908 Fix warnings.
GitOrigin-RevId: 1333339879d7990836bb6c14cc9dce4a3e9ad085
2018-08-10 19:48:51 +03:00
levlam
6c1408565e Add BigNum to stringBuilder output operator.
GitOrigin-RevId: 6ba1beeccb1849a163e3e0cfc978d573f80a9dae
2018-08-10 02:36:05 +03:00
levlam
f92e25fcd9 Easy to use SHA256 and SHA512 functions.
GitOrigin-RevId: f1d959e2ab69e7e176e705d16f05546a7ef33399
2018-08-10 02:35:07 +03:00
levlam
6c45d2c479 Make BigNum::from_decimal safe.
GitOrigin-RevId: bc414c62024d0f971d3400fec738545f898654a4
2018-08-09 21:03:21 +03:00
levlam
7e1d116d70 Add BigNum::mod_inv.
GitOrigin-RevId: 98733421e0b8a6924724a4c13f2cd9ad937e3b0d
2018-08-08 22:56:23 +03:00
levlam
abe3ff55b0 Disable implicit conversion from Result<T> to optional<T>.
GitOrigin-RevId: bb064610012c5b650c2517cf4908a9514bc6a7e3
2018-08-05 15:24:50 +03:00
levlam
813ba873a8 Add binary_search_ranges debug.
GitOrigin-RevId: 866977f67c8816c9fb2fc1bcf0970f8f5cb4c03b
2018-08-05 01:48:59 +03:00
levlam
fe32051267 Add unicode test.
GitOrigin-RevId: 4e484e140790756894a8ddc2e64bbe151f7279cf
2018-08-05 01:46:59 +03:00
levlam
2465356c2e Add some debug.
GitOrigin-RevId: 5d2387379188dce1fd52cc9561a349f87e4fc240
2018-08-04 23:08:36 +03:00
levlam
7f62960ad3 Support PBKDF2-SHA512.
GitOrigin-RevId: cd151b5239a97d5c89dd78f60da24e939ab41445
2018-08-03 17:24:39 +03:00
levlam
1c4285efbe Fix some includes.
GitOrigin-RevId: c8e348ad89e90ba52f9cedd8783c803e69cd2b5c
2018-08-02 13:22:05 +03:00
levlam
2e56223afe Remove diacritics on search in Hints.
GitOrigin-RevId: 5e4313e30cd9aafa79e0c9ffb8f35c01a63c4029
2018-07-31 18:42:27 +03:00
levlam
986962bf55 Fix shch transliteration.
GitOrigin-RevId: b25e93d510010bd88df632107775c1143c7dca57
2018-07-31 14:22:58 +03:00
levlam
5403d0bf30 Support transliterations in Hints search.
GitOrigin-RevId: 391622f2e02defa39564a14c51e8a1b03b751b96
2018-07-31 14:13:19 +03:00
levlam
b6bfb3ddbf Add transliteration implementation.
GitOrigin-RevId: 205a0fdac314625617dc54065d572f92f442cf57
2018-07-31 02:49:42 +03:00
levlam
a547f42886 Add support for transparent HTTP proxies.
GitOrigin-RevId: 5ae836625a60d1f84b0ca8df2c41bf07e8ba59fd
2018-07-26 16:49:18 +03:00
levlam
236636e129 Comment CHECK, which causes accidental crashes.
GitOrigin-RevId: 3c38dc83dace61208990911aecd03be1ffa86dc7
2018-07-25 23:10:31 +03:00
levlam
3230dbebc5 Unify typedef name.
GitOrigin-RevId: e554eb8e1c245759ab78ff706f4240548d175206
2018-07-23 00:08:47 +03:00
levlam
e9568c9a8e Add SqliteKeyValue.cpp.
GitOrigin-RevId: d0490b00c3342db191a29e7780d3292e3b593896
2018-07-22 02:56:40 +03:00
levlam
dae614cf70 Better narrow_cast debug.
GitOrigin-RevId: 253b2b472e6e605a42f9b6ec2c3a59a6fa6afa0b
2018-07-22 01:09:10 +03:00
levlam
8ab079be89 Fix json_string_decode.
GitOrigin-RevId: 2ec938143c6fc51aef3a66bbb51572fe97e039b1
2018-07-19 16:54:44 +03:00
levlam
f9726a5e19 Remove global restriction on thread count.
GitOrigin-RevId: 48a3a6dce014fa640a5bb750eacc27304cb550d1
2018-07-17 02:46:44 +03:00
levlam
6e57c13f43 Use negative error codes in Result.
GitOrigin-RevId: 3ee4ccc424062be87198b2d706b791d5bf8e2020
2018-07-08 22:00:54 +03:00
levlam
0c907b38a8 Use different Status::Error in Result.
GitOrigin-RevId: 223a42d0bbfa777a821d29d4996e27b1d8fd8fff
2018-07-08 18:55:12 +03:00
levlam
0a735b8c7b Improve Readme.
GitOrigin-RevId: 55d9ac20bde93220befaea33e17519bd0160e9c0
2018-07-08 03:18:46 +03:00
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
fa065a77aa Remove logging to ERROR in test.
GitOrigin-RevId: 42bbb8c16d135148a9eea640ab4e4094df86c27e
2018-06-05 02:53:22 +03:00
levlam
477112332f Optimize printing integers.
GitOrigin-RevId: 4d73952b23d2f6da7cce0b21371b4d861c914b6f
2018-06-05 02:34:51 +03:00
levlam
acdf7bb5bd Test printing integer.
GitOrigin-RevId: 59af2ff68ebf2425b29cd4a23b445fa79bc1e6a7
2018-06-05 01:09:46 +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
b3ca84fffb Delete unused fields. Add test.
GitOrigin-RevId: 6ce7ff71d926142a7c178d56a2f489f1634322b9
2018-05-18 19:44:46 +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
levlam
4910a36a13 Add narrow_cast debug.
GitOrigin-RevId: e088bc1d01f880d1126000f3ecea0be70c2dbcb7
2018-04-10 20:21:17 +03:00
Arseny Smirnov
cf015abf64 Miscellaneous fixes
GitOrigin-RevId: cecc8cd20352bbcd947388b4eee44e4378cc2b5f
2018-04-10 20:10:20 +03:00
Arseny Smirnov
0eee63b723 sendAuthorizationForm (with bugs)
GitOrigin-RevId: e68b57a2f6ff2e117913c40779cc9473153828ab
2018-04-06 22:37:30 +03:00
Arseny Smirnov
fb79d6f95a Layer 78. Initial Telegram Passport support.
GitOrigin-RevId: 197994bcf62a76cd963f32a8dd7f5951d7b6588b
2018-03-27 16:11:15 +03:00
levlam
c29ff63fa6 Make ENOTCONN non-fatal error, because of iOS.
GitOrigin-RevId: a218c47dc8972e0813318d2653635b72ecb720ce
2018-04-04 22:37:46 +03:00
levlam
f615889953 Fix RSA crypto.
GitOrigin-RevId: 8fd7350881e12ea81b05ab31c8756ff9f0a9305e
2018-03-27 03:24:02 +03:00
levlam
b6637ccfc5 RSA encrypt/decrypt and warning fixes.
GitOrigin-RevId: 6d556509d911678c1dd7d489132c07f942f3be0f
2018-03-26 21:14:15 +03:00
Arseny Smirnov
5cd79ae8ec rsa_{de,en}crypt_pkcs1_oaep
GitOrigin-RevId: 86e293dfc69bb861674e0034d509381a0ded2a1e
2018-03-26 19:09:25 +03:00
Arseny Smirnov
4f01ee03f7 Slice as_slice(const UInt<N> &)
GitOrigin-RevId: f934016e24074f6d57dfe4bb95f649f2e5a18eed
2018-03-26 17:05:41 +03:00
Arseny Smirnov
597db4b4ce Random::add_seed
GitOrigin-RevId: 23546ee0d4c6c9287226e8a12b7ab37ac7e5bede
2018-03-26 17:01:27 +03:00
Arseny Smirnov
26b5c231a6 tdutils: AesCbcState
GitOrigin-RevId: 2145e9861785f5d3b955623bd860ca05fadbc977
2018-03-26 17:00:26 +03:00
Arseny Smirnov
40b314f60d tdutils: sha512
GitOrigin-RevId: c6875d59d840abff58cd4da5abd59517ce00ab02
2018-03-21 13:12:39 +03:00
levlam
3856045a08 Autogenerate TDLib .NET documentation.
GitOrigin-RevId: 9a73b2786306b8b2deaeb967aa4633d1d1ed0a2d
2018-03-17 00:26:27 +03:00
levlam
a80b8e951a Remove C++ documentation when compiling for .NET. Enable .NET documentation generation.
GitOrigin-RevId: 426774bdad76bf42ceb261029589441961673ac8
2018-03-16 18:29:16 +03:00
levlam
3b569010aa Add documentation to ClientDotNet and LogDotNet.
GitOrigin-RevId: 4683cfb7198430314539780fa793898ff6c36e96
2018-03-15 19:25:51 +03:00
levlam
6f33dec5bb Move BufferSlice an Timestamp storer/parser to their headers.
GitOrigin-RevId: 9aa62396ea26c8f3b6758262e94986dbd57ac277
2018-03-14 23:41:14 +03:00
Arseny Smirnov
85d10e91c3 Store in db AuthManager in state WaitCode
GitOrigin-RevId: 06df8525c60f4de347c694e8c212a138c151ac4c
2018-03-14 21:04:41 +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
8a8ea50a81 Fix json_decode.
GitOrigin-RevId: 82f3beeb83aaa6052207123f22a44da88972e545
2018-03-09 20:43:24 +03:00
levlam
6669bd8c7b Support for recent_stickers_limit.
GitOrigin-RevId: f49119eb0703bb03e7c564a4f90a1f91f9c6074b
2018-03-08 16:49:45 +03:00
levlam
a665c4e822 Implement find_cashtags.
GitOrigin-RevId: 40026a19c1ee1f1ea9c0157d28bdc0b67cbf9c58
2018-03-07 20:29:33 +03:00
levlam
f29b59dcf1 Simplify Enumerator.
GitOrigin-RevId: e894e2f87ab773cfb775821974f7a264fe88c594
2018-03-07 15:46:58 +03:00
Arseny Smirnov
81776db03a Enumerator: do not invalidate pointers to elements
GitOrigin-RevId: 0d535d7052b9cb95365eff4bf35ddf30966ec90f
2018-03-07 10:47:33 +03:00
levlam
20f821017d Simplify Enumerator::add.
GitOrigin-RevId: c6ae056be91ba677afe11ea551c2fe376ac2406a
2018-03-07 02:10:54 +03:00
levlam
41bd7c7428 Various fixes.
GitOrigin-RevId: e96c9e6f8f159f91ec31288e36edfb5869603341
2018-03-06 19:27:52 +03:00
Arseny Smirnov
ef92fb36ea tdutils: Enumerator
GitOrigin-RevId: 9eb0a481ef550c6ab4b1ba833f0aad700f9cca06
2018-03-06 16:25:36 +03:00
Arseny Smirnov
eabf46c58e LOG(FATAL) throws exception in emscripten
GitOrigin-RevId: 9f2d585b5d85767dd73da30bbb490ae0dfa06354
2018-03-06 14:43:46 +03:00
levlam
a3717481ed More robust mkpath.
GitOrigin-RevId: 3c0417c3223dff7161f4457da8ae475f6dc8f925
2018-03-04 22:53:21 +03:00