levlam
|
a02f8d610d
|
Speed up tests execution.
GitOrigin-RevId: 5bcac989d87a04ef8510c47232e3525c4e610073
|
2020-07-23 17:59:48 +03:00 |
|
Arseny Smirnov
|
c4921adcad
|
Gzip: more tests (with watermark and memory limit)
GitOrigin-RevId: b8eacf5a27d646b9265d2fe43b847888ad58f5af
|
2020-07-23 16:39:13 +03:00 |
|
Arseny Smirnov
|
93e0a10ffb
|
ByteFlow: bugfix and test improvement
GitOrigin-RevId: 53f684cc96c52cbde4cb2109670f57714724fccc
|
2020-07-23 14:39:28 +03:00 |
|
levlam
|
813e2b2961
|
Fix misprint.
GitOrigin-RevId: cec8d77edaf44c5527af694300118ad28748f5f4
|
2020-07-23 02:12:00 +03:00 |
|
levlam
|
f8fd7e410e
|
Fix signal handler reset on Windows.
GitOrigin-RevId: 5ca829e660728b054ee6413ac4899e109827ea81
|
2020-07-22 23:18:54 +03:00 |
|
Arseny Smirnov
|
9ea1bc824f
|
ByteFlow: backpressure draft
GitOrigin-RevId: 09adce82dd88fcf84f41e525e45b07da03acc0f6
|
2020-07-22 21:52:00 +03:00 |
|
levlam
|
8049a55081
|
Minor.
GitOrigin-RevId: 9ce34cfb96d0a86a71d95f1d12d8365d268285e0
|
2020-07-21 19:48:01 +03:00 |
|
Arseny Smirnov
|
38ef3a75cc
|
PollableFd: explicit sync_with_poll
GitOrigin-RevId: 71fa35a594816e84e372ebcfa9d0077a13f26a62
|
2020-07-21 18:29:39 +03:00 |
|
levlam
|
ceb49d0143
|
Simplify parser.start_with usage.
GitOrigin-RevId: 465e51bba514259ebe15976d2612e1a46754a841
|
2020-07-21 14:24:55 +03:00 |
|
levlam
|
23534d218f
|
Use static mutext in TsList.
GitOrigin-RevId: 00bd863b3d5499d463e838771fe5e4bc9b16a31e
|
2020-07-21 02:05:15 +03:00 |
|
levlam
|
6b00f2fe6b
|
Update cache after profile photo deletion instead of dropping it.
GitOrigin-RevId: 0bb120eeececb7706016aec01accd4f6194deef4
|
2020-07-20 17:05:49 +03:00 |
|
levlam
|
01d768ff7e
|
Use global namespaces in defines.
GitOrigin-RevId: f4bb51050ae51d4ff2baddd23dbd0e237f4b8283
|
2020-07-19 22:00:47 +03:00 |
|
levlam
|
37fa018c28
|
Increase max content size in HttpReader.
GitOrigin-RevId: c31b929989d4ab3d4baf6e487488a27b190a11c1
|
2020-07-19 13:17:05 +03:00 |
|
levlam
|
3f2e269162
|
Fix FloodControlStrict.
GitOrigin-RevId: 664841f3e58cce5bce3ad90ef42f23537dc07c16
|
2020-07-16 22:36:59 +03:00 |
|
levlam
|
060c01ace3
|
Minor improvements.
GitOrigin-RevId: b4e5073248377d84cb8acdf4a032970ec5cf5df9
|
2020-07-14 20:54:38 +03:00 |
|
Arseny Smirnov
|
9b98451c43
|
IPAddress: function to clear interface part of ipv6
GitOrigin-RevId: ff738e215e458bc9e7257e9a89c318fb01cdb345
|
2020-07-14 17:22:40 +03:00 |
|
levlam
|
76056bebf8
|
Fix ARM MSVC CE with "alignas(16) will be ignored" error.
GitOrigin-RevId: cd8c12dab843c5f8a1a93e71df75d6bb6fd5c573
|
2020-07-14 17:14:35 +03:00 |
|
levlam
|
06576b909b
|
Fix warning.
GitOrigin-RevId: ae3d69f8c8353c996ac97e949cb473c08838ef68
|
2020-07-14 04:09:06 +03:00 |
|
levlam
|
7767842d4c
|
Minor fixes.
GitOrigin-RevId: b9f67c5e5edf818610c1739533f01a7873e6e1b6
|
2020-07-14 03:37:04 +03:00 |
|
levlam
|
cae55c5a54
|
Fix misprint.
GitOrigin-RevId: 0659d2d6949a03234a0951aca8652dec9a692636
|
2020-07-13 23:13:41 +03:00 |
|
levlam
|
c89412e175
|
Minor improvements.
GitOrigin-RevId: 8942b7461a1c83f963510c9884cd003948967fd0
|
2020-07-13 21:49:07 +03:00 |
|
levlam
|
9f914e3607
|
Improve time output in tests.
GitOrigin-RevId: 0ec28f2963de5ad2389f8e8237797ef4aa049625
|
2020-07-13 15:59:19 +03:00 |
|
levlam
|
32d7822746
|
Remove LogOptions copying.
GitOrigin-RevId: 1483e8978387719a8b4b1736a1cf0c8a5b2e5301
|
2020-07-12 15:08:50 +03:00 |
|
levlam
|
a7bd0c3932
|
Add photo to *FullInfo.
GitOrigin-RevId: 21346a0880239abe428799fa58b9132abded6f13
|
2020-07-06 15:26:29 +03:00 |
|
levlam
|
93ab72b560
|
Fix test.
GitOrigin-RevId: a260847020eec7827b5aef453e42d9b8606ecae6
|
2020-07-04 03:05:45 +03:00 |
|
levlam
|
8872fbf6ac
|
Fix tdutils after merge.
GitOrigin-RevId: 5b9a863e405a9e3782157570156fda71bf2bb589
|
2020-06-26 02:24:13 +03:00 |
|
Arseny Smirnov
|
fd6423dedf
|
update tdutils from another project
GitOrigin-RevId: 79b8eb2ba229d733f82dbb17b8bd7f27471c9472
|
2020-06-24 14:47:36 +03:00 |
|
levlam
|
afcf7197ae
|
Unify constant name style.
GitOrigin-RevId: 660f8aa17fa856c828e6c11ade6c497a82cb7612
|
2020-06-22 02:40:05 +03:00 |
|
levlam
|
4ae7bc23dc
|
Add two ways for OS version detection on Darwin.
GitOrigin-RevId: cddea795e5d289b1fe15d88fc99db51e42c7138e
|
2020-06-20 02:39:33 +03:00 |
|
levlam
|
79808f6dd2
|
Add /etc/os-release support on Linux.
GitOrigin-RevId: 066c8dc879719539aff88cec1b7424824267bdbc
|
2020-06-20 01:16:29 +03:00 |
|
levlam
|
47229e1dab
|
Add expected_non_option_count to OptionParser.
GitOrigin-RevId: 41bf15d9bddf1673c0c421ef9e5108a5678f9842
|
2020-06-19 06:00:01 +03:00 |
|
levlam
|
251318d2da
|
Add OptionParser::add_check.
GitOrigin-RevId: dbf50403ba264ddf04b50197f0b54500c8f761ce
|
2020-06-19 05:50:18 +03:00 |
|
levlam
|
5aa609535e
|
Simplify support for unchecked options in OptionParser.
GitOrigin-RevId: 5a913944b5a6cfecdfb96287e2c670be8ca18547
|
2020-06-19 04:44:38 +03:00 |
|
levlam
|
0877d7f716
|
Automatically detect operating system version.
GitOrigin-RevId: d693799fdbfe4919da5a70c141709f2db93063d7
|
2020-06-19 03:45:24 +03:00 |
|
levlam
|
2172c71191
|
Add uname.
GitOrigin-RevId: d63397a217f67714d621425e7c6d3ea1e1fa3c60
|
2020-06-19 03:08:42 +03:00 |
|
Arseny Smirnov
|
7e96f93605
|
remove usage of AES_ige_encrypt
GitOrigin-RevId: cceb1d42c69724e99da4a419e5cf2c06ad94a373
|
2020-06-18 12:34:22 +03:00 |
|
levlam
|
0275ecdcbc
|
Fix "Try to" usages.
GitOrigin-RevId: 4ff6d26737f67180a1e9a1289f7f7fb428828b08
|
2020-06-18 05:02:18 +03:00 |
|
levlam
|
fae344a65d
|
Improve error messages.
GitOrigin-RevId: 99d0bdaec60007ace41631804e36c17b0753ede2
|
2020-06-18 00:58:54 +03:00 |
|
levlam
|
f45d80fe16
|
Use AesIgeStateImpl in aes_ige_{en,de}ncrypt.
GitOrigin-RevId: 06a070fb116b8e56221b49adb9cc38ec7678e845
|
2020-06-18 00:01:37 +03:00 |
|
levlam
|
3464f04e57
|
Simplify AesCtrState more.
GitOrigin-RevId: 7601dc25f84a96828c333c30cab35eef5836d06c
|
2020-06-17 22:49:04 +03:00 |
|
levlam
|
cdbe6f5002
|
Simplify AesCtrState.
GitOrigin-RevId: adebb42480ac23fb48105b5c957847e0c9867612
|
2020-06-17 22:40:25 +03:00 |
|
levlam
|
225e15f618
|
Revert "use void* instead of pimpl idiom in AesCtrState and AesIgeState", because of huge struct increase in size and Ige decrypt slowdown.
This reverts commit cc1c175d078b179e7af730b8617165c6ea6193f3.
GitOrigin-RevId: 83814f455af356117a6fccd8b122d72a5d0bce28
|
2020-06-17 22:24:31 +03:00 |
|
Arseny Smirnov
|
95af3e74bd
|
use void* instead of pimpl idiom in AesCtrState and AesIgeState
GitOrigin-RevId: cc1c175d078b179e7af730b8617165c6ea6193f3
|
2020-06-17 19:05:43 +03:00 |
|
levlam
|
50ce05a34f
|
Add missing move construxtors.
GitOrigin-RevId: 10a6f44b68e7b0187a5d674c1716cf0277351103
|
2020-06-17 17:39:54 +03:00 |
|
levlam
|
7754e80572
|
Remove unneeded include.
GitOrigin-RevId: ed319647243bfd81cd95df3658566b395ce844c2
|
2020-06-17 06:49:10 +03:00 |
|
levlam
|
6fc62e47dd
|
Fix build without OpenSSL.
GitOrigin-RevId: 81efca50dca3269bec82c9fdc48135f62865290e
|
2020-06-17 06:37:37 +03:00 |
|
levlam
|
4f8fd1781d
|
Prettify OptionParser usage printing.
GitOrigin-RevId: f0b7c833e91d9eea49483bb93124babc190fa670
|
2020-06-17 06:09:53 +03:00 |
|
levlam
|
ce137620f5
|
Improve logging to PLAIN.
GitOrigin-RevId: 5fd64a3599e599a7ae27eecc284f0cd898db8aca
|
2020-06-17 05:51:36 +03:00 |
|
levlam
|
eea76cdcc0
|
Improve long-only options output.
GitOrigin-RevId: bd6b4bed622f5c9d751d3bb19cd56834645223b4
|
2020-06-17 05:35:55 +03:00 |
|
levlam
|
76b5981968
|
Simplify Evp.
GitOrigin-RevId: cb40344936761c730f1e97f5a76e872ace2a2cee
|
2020-06-17 04:11:57 +03:00 |
|
levlam
|
c46910d75f
|
Add portable option parser.
GitOrigin-RevId: 0d4f7e2f5bec4826e1c12e3aa1aee642fcf6da07
|
2020-06-17 03:04:36 +03:00 |
|
levlam
|
4bb6fe7e78
|
Remove unsupported OptionsParser::Option::Type::OptionalArg.
GitOrigin-RevId: 3226257bf95366472c843cce0e4ca76d3f3cee5c
|
2020-06-16 18:11:32 +03:00 |
|
Arseny Smirnov
|
1a33df9d52
|
AesBlock::inc: use bswap64 for x64 and armv8
GitOrigin-RevId: 5842d5d9fd4a865bc0c786e31e3f62f1257d1d4d
|
2020-06-16 18:34:55 +03:00 |
|
Arseny Smirnov
|
4c288d9398
|
AesState::Impl -> Evp
GitOrigin-RevId: 536640cffeb4fac1cc6f5a3499554d685891f45e
|
2020-06-16 18:19:05 +03:00 |
|
Arseny Smirnov
|
005611e924
|
Refactor td::AesState::Impl
GitOrigin-RevId: 5731ddc8d85c912cbfb141bd4e5eefea22d8ab21
|
2020-06-16 17:57:19 +03:00 |
|
levlam
|
8eadeaf7b3
|
Use only AES CBC in AES IGE encrypt.
GitOrigin-RevId: 380af89f18a77afee0baf7ec739836b071f96ab5
|
2020-06-16 06:34:17 +03:00 |
|
levlam
|
f3ebae267d
|
Implement AES IGE encrypt using AES CBC.
GitOrigin-RevId: ca803ca847a9c44e70687ade0f1ea25c0ee0ebb2
|
2020-06-16 06:16:09 +03:00 |
|
levlam
|
3442a88413
|
Unify constant names style.
GitOrigin-RevId: 6e4475366b94cea6ab0331d57f254311490bdee2
|
2020-06-16 05:10:16 +03:00 |
|
levlam
|
40ee207854
|
Improve AesIgeState.
GitOrigin-RevId: b0a1d8bad4be32e4f6fa9ff36f5a5bef2c464b26
|
2020-06-16 01:32:08 +03:00 |
|
levlam
|
e1515226be
|
Simplify XorBytes.
GitOrigin-RevId: d20ae3c1d44d0a88068b42979685e5b1f9df0193
|
2020-06-16 01:13:45 +03:00 |
|
levlam
|
6a7dfc4f01
|
Minor AES improvements.
GitOrigin-RevId: 138384ad375735b9e889172cae919368c9976456
|
2020-06-15 23:20:44 +03:00 |
|
Arseny Smirnov
|
53b0a74f87
|
tdutils: revert tosimple AesBlock::inc implementation
GitOrigin-RevId: 7f894bb710e32b6573603f3500c35daf0752cf02
|
2020-06-15 22:38:31 +03:00 |
|
Arseny Smirnov
|
132caf5c8f
|
tdutils: use new aes ige for long plaintext
GitOrigin-RevId: 4bd8ddd20508e235c0fb8b40ac42b9dcabfed30c
|
2020-06-15 19:23:40 +03:00 |
|
Arseny Smirnov
|
7e06d91739
|
tdutils: optimize aes ctr
GitOrigin-RevId: b24920ac38bb3b8e94ece87e7438a8b8b1b370c4
|
2020-06-15 18:59:56 +03:00 |
|
Arseny Smirnov
|
8845e18da9
|
tdutils: simplify aes ctr
GitOrigin-RevId: 557cc787f77e2f0af494e7dd46fa99e495a16925
|
2020-06-15 16:58:58 +03:00 |
|
Arseny Smirnov
|
0c0f6a7b7b
|
tdutils: simplify aes ige
GitOrigin-RevId: bc99b8c159cc866875ef69e44cd1e88f5e5dffee
|
2020-06-15 16:43:02 +03:00 |
|
Arseny Smirnov
|
7e5a08f272
|
tdutils: new ige implementation
GitOrigin-RevId: c19b702e3cfcb1edb182839e67c410c7fc3edac5
|
2020-06-15 15:07:58 +03:00 |
|
levlam
|
0cf4fea1ff
|
Remove enum usages for static constants creation.
GitOrigin-RevId: 2a88fd2cd961398a09403fe35a15ae56372a44f8
|
2020-06-15 04:52:56 +03:00 |
|
levlam
|
ea4841a37c
|
Unify enum constant name style.
GitOrigin-RevId: 2e36eef9b54c23da0d1bc9beb7e07af8835f702d
|
2020-06-15 04:23:47 +03:00 |
|
levlam
|
715146c65c
|
Move skip_eintr to a separate header.
GitOrigin-RevId: 80eeb583cd1a4351c5b72c7ec4021575dbc216a7
|
2020-06-15 03:50:38 +03:00 |
|
levlam
|
c8913e71af
|
Add td::change_user.
GitOrigin-RevId: 8140b771e561d968d6fbf790249364190cb96d6c
|
2020-06-15 03:14:08 +03:00 |
|
levlam
|
7cd42fc518
|
Add set_resource_limit.
GitOrigin-RevId: 29cf122b31ff86ccc8f6c1fc3b71c28e89b8054f
|
2020-06-15 01:50:03 +03:00 |
|
levlam
|
18b8e87e74
|
Support cpu_stat on Windows.
GitOrigin-RevId: df9a2fa6d53fb1c19cd30f2da3354bc23b2f3aee
|
2020-06-14 04:01:02 +03:00 |
|
levlam
|
50a6b5da92
|
Minor cpu_stat improvements.
GitOrigin-RevId: ef6f8b0ed04ae88c9784260435e06a647babf0a1
|
2020-06-14 02:49:10 +03:00 |
|
levlam
|
6b1c2f797d
|
Add mem_stat support on Windows.
GitOrigin-RevId: cf63e7fe53a00f2fa116472ed12f73492ad8bf29
|
2020-06-14 02:31:57 +03:00 |
|
levlam
|
8350cd2433
|
Initialize field just in case.
GitOrigin-RevId: 4707c1101a6699fe37f8c942b6b66cfdd0e7bc36
|
2020-06-13 21:04:29 +03:00 |
|
levlam
|
584a0309c5
|
Fix return code checks.
GitOrigin-RevId: a4ace29e0bf81441b207d234c2e190dcb777b0cb
|
2020-06-13 20:57:47 +03:00 |
|
levlam
|
2ed9cb3b75
|
Minor fixes.
GitOrigin-RevId: ce9058c2075281697cc41de2ab970dd11e189f77
|
2020-06-13 05:13:11 +03:00 |
|
levlam
|
c68481052a
|
AES CTR improvements.
GitOrigin-RevId: c4ed8fdc883fdf7cc2ed10334d3bb9487d590d41
|
2020-06-13 04:45:40 +03:00 |
|
levlam
|
7ec6c794f8
|
Use fuzzy search for PHP 7.2 on OpenBSD.
GitOrigin-RevId: d2bb7efbc201666c0e1fe455abc8c69bcf4d782d
|
2020-06-12 22:08:44 +03:00 |
|
levlam
|
f6ef851fe2
|
AES fixes.
GitOrigin-RevId: bf30c8c381edb623fec0dfac1c494559f3f3739e
|
2020-06-12 19:43:58 +03:00 |
|
Arseny Smirnov
|
e913c3126b
|
tdutils: optimize aes ctr
GitOrigin-RevId: 09c6df45c0bf2683507a0f279769471efc859ecb
|
2020-06-12 19:40:17 +03:00 |
|
Arseny Smirnov
|
c4ed5ce140
|
tdutils: aes experiments
GitOrigin-RevId: 1dd2812041778679fb1ef0462d9e8b1899181e0b
|
2020-06-12 18:06:40 +03:00 |
|
levlam
|
44689f81ff
|
Minor improvements.
GitOrigin-RevId: 835275f0146586e4de5e18e9f01be29bb72ddf31
|
2020-06-10 03:42:00 +03:00 |
|
levlam
|
bed0bb69f0
|
Simplify List test.
GitOrigin-RevId: 7306a169794ecb1e24e3b256bed600dd7d1a698c
|
2020-06-10 03:01:23 +03:00 |
|
levlam
|
2a51b98453
|
Add TsList. Add List/TsList tests.
GitOrigin-RevId: 78a85d3d575fa320187119a23a1ac2e265c70344
|
2020-06-09 18:40:36 +03:00 |
|
levlam
|
2a623b0a50
|
Add some ListNode helper methods.
GitOrigin-RevId: b4e79174cac16752185cc8bfa2436b7393464289
|
2020-06-09 17:39:34 +03:00 |
|
levlam
|
cd451b7c45
|
Add List::init_from.
GitOrigin-RevId: 17a6f374ff0b568c6e2d056053539fb2947f22d3
|
2020-06-09 17:18:59 +03:00 |
|
levlam
|
64094b0a23
|
Add RandomSteps for tests.
GitOrigin-RevId: eb4e7c92987db765aab24ad9afd2f072e6665607
|
2020-06-09 05:17:39 +03:00 |
|
levlam
|
901d884910
|
Improve VectorQueue.
GitOrigin-RevId: c64b8598a3d492236be2c4d1f3ccb4addc14891e
|
2020-06-09 05:09:58 +03:00 |
|
levlam
|
f7f43c39a8
|
Add Span::back/rbegin/rend.
GitOrigin-RevId: 25bac5c0987e6c1f9b012c75c550110c07369684
|
2020-06-09 04:48:08 +03:00 |
|
levlam
|
b1419f9de5
|
Fix some includes.
GitOrigin-RevId: f4b44d2e91ca72b6090d7f1f35673e8268723241
|
2020-06-07 18:14:52 +03:00 |
|
levlam
|
de6d5359ed
|
Use #pragma managed(push, off) around unmanaged includes in managed code.
GitOrigin-RevId: 1b8944dfa23e38f675aec0f25d78644baa27ab84
|
2020-06-06 22:51:45 +03:00 |
|
levlam
|
3788cd28f9
|
Clear OpenSSL errors after init.
GitOrigin-RevId: 0e74ffdada6d568645aef6496df3498e0638bbc0
|
2020-06-06 21:35:09 +03:00 |
|
levlam
|
ed615430e1
|
Move OpenSSL error hancling functions to tdutils.
GitOrigin-RevId: 6d45b5ee1077eca430802fb6258104b0371688fa
|
2020-06-06 21:31:47 +03:00 |
|
levlam
|
c36e8d6c78
|
Add storer for vector of pointers.
GitOrigin-RevId: 1e2573f0fcf33eec26f4a17860a406c2a99336bb
|
2020-05-25 02:40:00 +03:00 |
|
levlam
|
088a96ff15
|
Add some checks.
GitOrigin-RevId: 6c24e7d3d48ed823a45d6b106855f3a0f55a0db5
|
2020-05-19 15:11:21 +03:00 |
|
levlam
|
eb8fba8b28
|
Fix init_host_port.
GitOrigin-RevId: 30abb3480d906ebd7ea50a7feecf072be6e36641
|
2020-05-16 23:54:40 +03:00 |
|
levlam
|
5b18a56e03
|
Add IPAddress::get_ip_host and use it whenever appropriate.
GitOrigin-RevId: 7254ebd036463fe2c8b6262269cbee843b320421
|
2020-05-16 23:12:52 +03:00 |
|
levlam
|
9fe0d4bbd9
|
Do not remove brackets from HttpUrl IPv6 host.
GitOrigin-RevId: 59db5b747e66bd83cbfa81d4276af2aa1bb8b7ca
|
2020-05-16 22:53:19 +03:00 |
|
levlam
|
842e2033b7
|
Fix IP address verification in TLS certificate.
GitOrigin-RevId: 5275f8be34e9459a13a87e6fbd056754ceb515d4
|
2020-05-16 18:43:49 +03:00 |
|
levlam
|
7bdff46710
|
Do not send IP address in SNI.
GitOrigin-RevId: ff01b1f5f9219e34b0cacdf8acd49bf4e5a3daa2
|
2020-05-16 17:50:58 +03:00 |
|
levlam
|
e58d423af1
|
Add IPAddress::get_ip_address.
GitOrigin-RevId: 8b82c462f10d705412cb6cedc3d25d5fb95c59e2
|
2020-05-16 17:35:53 +03:00 |
|
levlam
|
705ab4d415
|
Supoort bracketed IPv6 in init_ipv6_port.
GitOrigin-RevId: 5452157d85fa5628a07e82fec20c92e8b0836508
|
2020-05-16 17:30:16 +03:00 |
|
levlam
|
06b053ff3e
|
Add comment about IPAddress::get_ip_str unsafety.
GitOrigin-RevId: 29cd28bf9a6422cd0295c74f904ba380fc119570
|
2020-05-16 16:43:40 +03:00 |
|
levlam
|
54f9c77a20
|
Make ipv4_to_str/ipv6_to_str safe to use.
GitOrigin-RevId: 622c8f03c8791545922d3ae5f596f0a9699b91a9
|
2020-05-16 16:33:32 +03:00 |
|
levlam
|
bf963ccadf
|
Make IPAddress::get_ipv6 safe to use.
GitOrigin-RevId: 47d50318abac4231efe63820902ba4d74b6dd03d
|
2020-05-16 16:11:03 +03:00 |
|
levlam
|
3b3b67b834
|
Do not try to parse http scheme further some reserved characters.
GitOrigin-RevId: 363ad7bf8022bddc6c3370abc6a8ee244d384759
|
2020-05-07 03:12:47 +03:00 |
|
levlam
|
7fd495a69c
|
Optimize TlStorerToString.
GitOrigin-RevId: fe43727ec9a0ec777860c16fd6fcbd73a9fd4c09
|
2020-04-29 21:49:11 +03:00 |
|
levlam
|
851d23f06c
|
Add messageDice.success_animation_frame_number.
GitOrigin-RevId: d0afff34c7d74fe5e06b008b7a8438be4aebe88b
|
2020-04-21 19:08:01 +03:00 |
|
levlam
|
822bc95d13
|
Reget users to restore their online status after removing them from privacy restrictions.
GitOrigin-RevId: e29832c5a056cdc5708c02ce31e77570ff335ced
|
2020-04-19 12:53:07 +03:00 |
|
levlam
|
5294bf8607
|
Update Unicode data to 13.0.0.
GitOrigin-RevId: f8ef2133797db0092be6ec98e45373bdde850567
|
2020-04-08 22:27:49 +03:00 |
|
levlam
|
77c7f4c660
|
Add Clocks::tz_offset.
GitOrigin-RevId: b1dcb9a8533f408961778eac7c7fa5db1bd2b920
|
2020-04-08 20:47:14 +03:00 |
|
levlam
|
b35862bd71
|
Simplify Clocks.
GitOrigin-RevId: 6684cd9d98efea14d00317d1975b58aa7e2c8a11
|
2020-04-08 02:39:51 +03:00 |
|
levlam
|
f9e8bbdff4
|
Fix undef of small with WIN32_LEAN_AND_MEAN defined.
GitOrigin-RevId: ca8ca03bdf62e9aaf2fe44078aa074296a3a949e
|
2020-04-01 00:36:01 +03:00 |
|
levlam
|
c7411004be
|
Fix count_bits implementation.
GitOrigin-RevId: a6b56a2f9dbef462107787c852bacee6571df2c9
|
2020-03-31 23:21:42 +03:00 |
|
levlam
|
c4023a3f9b
|
Use KB instead of kB for 1024 bytes.
GitOrigin-RevId: 163ebf3f28f5e6f6710b3ff85bdfc21996c67acb
|
2020-03-20 03:20:07 +03:00 |
|
levlam
|
9d1e3ed661
|
Add WIN32_LEAN_AND_MEAN during build on Windows (0% build time speed up).
GitOrigin-RevId: ebe9742fa94187434be37339862f11b750db44ac
|
2020-03-19 02:33:53 +03:00 |
|
levlam
|
a0c5c5900a
|
Better rand_string parameter types.
GitOrigin-RevId: 2702375880663d3cfe1546b047e01ba02ffcd2ce
|
2020-03-15 02:01:22 +03:00 |
|
levlam
|
968689157c
|
Make max_compression_ratio required parameter in gzencode.
GitOrigin-RevId: c787fdeae202d3b80944412e7db4209f35adcd07
|
2020-03-15 01:56:48 +03:00 |
|
levlam
|
1ed0ab3146
|
Improve logging on failed check.
GitOrigin-RevId: 3058af6fe76779e02eb6440fd1ab13ce07621785
|
2020-03-14 01:54:13 +03:00 |
|
levlam
|
d48faede71
|
Remove now unneeded BigNum::ensure_const_time method.
GitOrigin-RevId: ce34efc94f3e13f306592bed86a37f342a356a23
|
2020-03-10 18:31:13 +03:00 |
|
levlam
|
2df3de7b80
|
Improve logging.
GitOrigin-RevId: 8574b038e9682f8020d1508a7be7beef223e1b08
|
2020-03-10 04:37:46 +03:00 |
|
levlam
|
ae5588bf11
|
Make webPage.description a formatted text.
GitOrigin-RevId: b64cf0e915f9fdeeadc8cdee8280fcbb236c92bb
|
2020-03-02 16:05:18 +03:00 |
|
levlam
|
92df8f9827
|
Remove unneeded brackets.
GitOrigin-RevId: 0b8a2ae21d28e6c276db8b45ffb4d127800f5d73
|
2020-02-26 18:15:19 +03:00 |
|
levlam
|
e34058c16f
|
Optimize TlBufferParser for empty strings.
GitOrigin-RevId: fb796f93d84a32c90f9420029b89e0f7fe169869
|
2020-02-23 22:44:14 +03:00 |
|
levlam
|
1313fb1543
|
Remove illegal MovableValue<void *> usage.
GitOrigin-RevId: 1daee39044131e396183ee20baa589b96ba27eb4
|
2020-01-30 22:11:04 +03:00 |
|
levlam
|
728d8d79f6
|
More enum class usages.
GitOrigin-RevId: 6680ce2276ced5b015a1f508f0b7b5f28b5f4a9b
|
2020-01-19 03:02:56 +03:00 |
|
levlam
|
7f4593e21b
|
Simplify json_array usage.
GitOrigin-RevId: 991f180938424074b41a858b125268d5a10fc8ac
|
2020-01-16 04:32:02 +03:00 |
|
levlam
|
e09a295f7c
|
Fix compilation error.
GitOrigin-RevId: ce8f9f5c1a28e69b716fa1b2427a1337436840e0
|
2020-01-11 03:51:44 +03:00 |
|
levlam
|
1703cee349
|
Common base64_decode implementation.
GitOrigin-RevId: 87bdf798a181799b2f51be9831d77fabf41e3820
|
2020-01-09 22:59:08 +03:00 |
|
levlam
|
09d359cdc4
|
Use exact size formula in base64_decode.
GitOrigin-RevId: 7515474fc70af351e7b886e870b0d3da453afdc8
|
2020-01-09 22:21:20 +03:00 |
|
levlam
|
7db7757d2d
|
Simplify base64url_decode implementation.
GitOrigin-RevId: 873483e61cc54fad78a09aa8a143070c5e018dfb
|
2020-01-09 22:07:23 +03:00 |
|
levlam
|
529f925d40
|
Common base64_encode implementation.
GitOrigin-RevId: ed4f31cfc6f83e81f03bd8e71dc8d48ced530255
|
2020-01-09 21:05:43 +03:00 |
|
levlam
|
9ea68914cf
|
Use get_character_table to get base64 char_to_value table everywhere.
GitOrigin-RevId: 192840280c280a82a1cb2f1eba9fb9983f6ffe52
|
2020-01-09 20:45:38 +03:00 |
|
levlam
|
d6dca91ff3
|
Add is_base64_characters functions.
GitOrigin-RevId: 5b3e8642e9d9788788ee1343af4eee9acf7dddc9
|
2020-01-09 20:18:53 +03:00 |
|
levlam
|
c8bf8fa5f7
|
Use real allocated file size in storage statistics.
GitOrigin-RevId: 6e5232700d8e97ba3ce0838c3bf7764541b6fd2a
|
2020-01-03 04:08:22 +03:00 |
|
levlam
|
eee0b2b23a
|
Fix preprocessor directive.
GitOrigin-RevId: f473450b6ee28537cb66226ab46745d63d066541
|
2020-01-03 02:43:49 +03:00 |
|
levlam
|
75ecd9c692
|
Optimize FileFd.get_size/get_real_size on Windows.
GitOrigin-RevId: e39efbecdd6882bf4465b17dad556b585633b56e
|
2020-01-03 02:41:57 +03:00 |
|
levlam
|
e44b02fe45
|
Fix some includes.
GitOrigin-RevId: 1a3a8bab67f3ed56545d58815187d7a8f99944d9
|
2020-01-03 01:48:23 +03:00 |
|
levlam
|
69f30a3505
|
Add real_size to Stat.
GitOrigin-RevId: 3b8b4c24504ed1fa7eed1885abd3a3e9014eb2c4
|
2020-01-03 01:01:39 +03:00 |
|
levlam
|
12ab53bdfa
|
Always open files on Windows as sparse files.
GitOrigin-RevId: 93a01f926970045e5db78e16f21eab293822b3be
|
2020-01-02 20:18:55 +03:00 |
|
levlam
|
80c35676a2
|
Update copyright year.
GitOrigin-RevId: 09afb551b6e637dc69739fa735b0051a38b9e14c
|
2020-01-01 04:23:48 +03:00 |
|
levlam
|
cb631ce8e7
|
Update Unicode data to the latest Unicode version.
GitOrigin-RevId: cfa82a1c89de14784e3c17fca92cf642499b425a
|
2019-12-30 02:46:45 +03:00 |
|
levlam
|
674e6b79d8
|
Remove unsafe JsonScope::operator<<(bool) to which pointers can be converted.
GitOrigin-RevId: 0350036ba8dd4b24df8974e1fe95593afe78a309
|
2019-12-23 03:21:51 +03:00 |
|
levlam
|
5fdb88a8ac
|
Return JsonScope::operator<< overloads for string literals and pointers, because otherwise they are converted to bool.
GitOrigin-RevId: a699415fa15350be1daf9718239b295f272dc3ef
|
2019-12-23 03:09:21 +03:00 |
|
levlam
|
a91d296f87
|
Minor improvements.
GitOrigin-RevId: f66a5294ec1026c85dc71f62bb0026dce4a09fe0
|
2019-12-20 20:12:52 +03:00 |
|
Arseny Smirnov
|
3d972da1e6
|
Stacktrace improvements.
GitOrigin-RevId: 99dd952cff5c9e5edce575b84e365def24a59441
|
2019-08-14 11:31:25 +03:00 |
|
levlam
|
8c495d99e6
|
Use TRY_RESULT_ASSIGN.
GitOrigin-RevId: 99b60b9044fab9357a3440aed7da55f146677e6b
|
2019-12-08 09:57:33 +03:00 |
|
levlam
|
a0d761f27e
|
Simplify JsonScope.
GitOrigin-RevId: c3a9aea0c053db9684853acb857ae2381d542cb2
|
2019-12-08 09:02:20 +03:00 |
|
levlam
|
8a7d6be7df
|
Remove td::ctie.
GitOrigin-RevId: 926a19055770a2566778a022d01b7a9661d46ae6
|
2019-12-08 08:50:43 +03:00 |
|
levlam
|
522dcb03b5
|
Add PathView.cpp.
GitOrigin-RevId: e6dec7b3a5d663e9390bcfafdf6ebd8e74d5ea9c
|
2019-11-26 21:13:38 +03:00 |
|
levlam
|
12cd507909
|
Remove some misc.h usages in headers.
GitOrigin-RevId: 3f5ca0369113e9815935a6c6cb0fe0c5a051c248
|
2019-11-26 20:53:50 +03:00 |
|
levlam
|
918f6a0cfd
|
Use td::contains and td::remove instead of std::find if possible.
GitOrigin-RevId: faa0863eb49ee8ce4c2138dfec022620f71d2f6a
|
2019-10-22 02:12:58 +03:00 |
|
levlam
|
c69beaf037
|
Add td::remove.
GitOrigin-RevId: 410df2c90132c9056d71f5fabe69607891b295c9
|
2019-10-22 01:14:00 +03:00 |
|
levlam
|
31e8975be5
|
Add td::contains.
GitOrigin-RevId: 93ce98764505885f5b7218c2f52cedd36fe4533f
|
2019-10-22 01:03:39 +03:00 |
|
levlam
|
56c3a2fbed
|
Use td::remove_if.
GitOrigin-RevId: 5cf21381966dc58689a06cc94cb8843fd8087bb9
|
2019-10-21 16:25:56 +03:00 |
|
levlam
|
15f31cf23a
|
Add storer and parser for unique_ptr.
GitOrigin-RevId: 2b0f5c8a3e9f7a9343cf9557d10cbf95009ba847
|
2019-09-18 02:42:38 +03:00 |
|
levlam
|
3377c38073
|
Store *Full to database.
GitOrigin-RevId: 160369861878befa880e2b4355fd6585977f84dc
|
2019-09-18 02:14:24 +03:00 |
|
levlam
|
12ea695b54
|
Use TRY_RESULT_ASSIGN to handle responses of db_.get_statement.
GitOrigin-RevId: 0b777859b0670661493eff0a1ed6048ba5010bbd
|
2019-09-02 21:11:56 +03:00 |
|
levlam
|
c81e18f5f1
|
Do not try to use sysctl if sys/sysctl.h is not included.
GitOrigin-RevId: 49a50aa9c102fd3681963552f5524840e8d222df
|
2019-10-23 05:00:04 +03:00 |
|
levlam
|
4ffa2169d9
|
tdutils: Fix build for alpine linux
* Error log: https://del.dog/ujofeqowol
|
2019-10-23 04:55:25 +03:00 |
|
levlam
|
e37f7d1537
|
Add td::remove_if.
GitOrigin-RevId: d94733cbf251e8fc182c106f4cbf0cc84c0675a5
|
2019-10-20 01:51:17 +03:00 |
|
levlam
|
ee87414bab
|
Fix misprints.
GitOrigin-RevId: e21e784c076005538ee889a61b12b8876567da13
|
2019-10-19 21:20:16 +03:00 |
|
levlam
|
1df4a1c6a4
|
Add get_json_object_field_force.
GitOrigin-RevId: f1e27a7dfb946396917ae347edd68259465f0d87
|
2019-10-17 22:22:42 +03:00 |
|
levlam
|
c40a1217e8
|
Fix empty path in FileLog.
GitOrigin-RevId: be64892045a8ee3497f89963d8f18265b4f6991d
|
2019-10-08 21:17:42 +03:00 |
|
levlam
|
ff97775549
|
Make function static.
GitOrigin-RevId: d579125ab67c7b706d8d1f5a27e36387b9c665fa
|
2019-10-08 21:13:51 +03:00 |
|
levlam
|
4d68487c12
|
Add utf8_utf16_length.
GitOrigin-RevId: d5e713df1f3e0cdf70004d0898c5b55246dd014e
|
2019-10-07 03:41:04 +03:00 |
|
levlam
|
29e83d3808
|
Add vector<bool> support in format::as_array.
GitOrigin-RevId: 3a9a64187eb773a2daac85eb5bb18e77f25f6ab5
|
2019-10-03 17:19:13 +03:00 |
|
levlam
|
0b6c1d226f
|
Update clag-format to the latest (190926/r372920) version.
GitOrigin-RevId: 7861ae8ad28eb1f6a06ff3c6f56eff3f67b1d24c
|
2019-09-28 05:14:21 +03:00 |
|
levlam
|
f29c4a9ed1
|
Remove unneded explicit td::.
GitOrigin-RevId: e3888510ce72a55072a11d105311f07b4ba42bbf
|
2019-09-15 06:19:46 +03:00 |
|
levlam
|
ef5e709ac8
|
Fix clang 3.4 and OpenSSL 0.9.8 CE.
GitOrigin-RevId: 9157bfe975bdb376fbd573bd23107c36b1444f34
|
2019-09-09 02:04:30 +03:00 |
|
levlam
|
ca550f5202
|
Fix MSVC 15.3 CE.
GitOrigin-RevId: d049c35a3717374d6830555330b10ff6bac3bf1c
|
2019-09-08 23:09:51 +03:00 |
|
levlam
|
f8f7e32ba5
|
Fix MSVC 15.3 CE.
GitOrigin-RevId: 4f6a5caba284e9742b804530684795650435f493
|
2019-09-08 22:49:46 +03:00 |
|
levlam
|
abb140a714
|
Minor improvements.
GitOrigin-RevId: a50ba2cc0b47b395d7d7787ad59868d23bf22634
|
2019-09-08 03:49:16 +03:00 |
|
levlam
|
6cbc02ed1b
|
Minor improvements.
GitOrigin-RevId: 157e77d244b24f3c5af56539d434096f7440e2e8
|
2019-09-05 18:32:45 +03:00 |
|
levlam
|
2f52861c20
|
Add hex_encode.
GitOrigin-RevId: f5b42ce196f463d9d5cdb4536ee7b829f198583b
|
2019-09-02 16:49:18 +03:00 |
|
levlam
|
4d72f8c14b
|
Minor fixes.
GitOrigin-RevId: cc03c7e7a507fab2308495ea23f8ef9630a8142f
|
2019-08-30 04:56:01 +03:00 |
|
Arseny Smirnov
|
2b382567be
|
NativeFd: fix CHECKs
GitOrigin-RevId: bbbbad169513c4503eba1c7a98349c98b9e6ed1a
|
2019-08-28 16:59:50 +03:00 |
|
levlam
|
22f4507033
|
ThreadPthread fixes.
GitOrigin-RevId: 5c56a443f95beda913c3b1b46eacbfc068271c0e
|
2019-08-26 17:44:30 +03:00 |
|
Arseny Smirnov
|
80d96550ba
|
ThreadPthread: better hardware_concurrency implementation
GitOrigin-RevId: 4cccfcbf5f6ad5e1293993ff111b8021bb5c70a1
|
2019-08-26 15:35:08 +03:00 |
|
levlam
|
197acde4d4
|
Fix first letter case in error messages.
GitOrigin-RevId: 004d1535d3fb04e51a088ad43f2386dea05b7c9c
|
2019-08-26 04:53:22 +03:00 |
|
levlam
|
3e15c89f88
|
Fix warning,
GitOrigin-RevId: 7226d3025e801d4bf440390c8ecdb87eb485d993
|
2019-08-23 18:56:01 +03:00 |
|
levlam
|
72ce03b84b
|
Supoort BigNum::{from,to}_le_binary for OpenSSL < 1.1.0.
GitOrigin-RevId: c104af3f22c814df6946a9218c83cae015823832
|
2019-08-22 19:22:31 +03:00 |
|
levlam
|
84695437d3
|
Various fixes.
GitOrigin-RevId: 94d0df55495a08b5599c90f56dbe08ac3a3d65e5
|
2019-08-14 03:13:34 +03:00 |
|
levlam
|
bb24ec0629
|
Fix tdutils after merge.
GitOrigin-RevId: 3eceb2e574a737a78dc5414e535e416c86d23f7a
|
2019-08-13 23:52:54 +03:00 |
|
levlam
|
c99486e667
|
Simplify pretty-print in JsonBuilder.
GitOrigin-RevId: bf1606d732c665555fa744ade9cd498af6a5ccf7
|
2019-08-13 18:33:32 +03:00 |
|
Arseny Smirnov
|
5a032743e6
|
Fix errors from tdutils import
GitOrigin-RevId: 3709df12a3050cf05e2bb482b49490a4e874f075
|
2019-08-12 16:53:17 +03:00 |
|
Arseny Smirnov
|
f63ce74fef
|
tdutils: import changes from other project
GitOrigin-RevId: 0cfbe2418933cffdce4f0d1b8461c247a814d868
|
2019-08-12 14:45:57 +03:00 |
|
levlam
|
e7767cf106
|
Fix formatting.
GitOrigin-RevId: e78b1517297af214b7738350411d3e1e520a2066
|
2019-08-06 20:11:31 +03:00 |
|
levlam
|
ad167a48ba
|
Pass Slice to parse_url.
GitOrigin-RevId: e6cd357042b827ca56a11bb377c8b07ccd120230
|
2019-08-05 12:56:28 +03:00 |
|
levlam
|
84b33cd6a8
|
Add ConstParser.
GitOrigin-RevId: 58ef5b7e6d2568729228c11a3a495794f98566ad
|
2019-08-05 12:42:42 +03:00 |
|
levlam
|
1a100e1b0f
|
Add NetBSD support.
GitOrigin-RevId: 42703ce955a4323757de56d0c012a54246227f70
|
2019-08-02 19:06:53 +03:00 |
|
levlam
|
9c52330720
|
Fix warning.
GitOrigin-RevId: ecbdb3656e990cf9d8eaf7dafbbd209b5e7b1484
|
2019-08-02 14:29:00 +03:00 |
|
levlam
|
28d3f2d860
|
Add OpenBSD support.
GitOrigin-RevId: 80d37bf8b6e55f68f3839bf2093994015176eecb
|
2019-08-02 03:25:28 +03:00 |
|
levlam
|
22f17de7b4
|
Fix LibreSSL compatibility.
GitOrigin-RevId: 7f77b6772e8fed459bf30522c45984c10175ddc4
|
2019-08-02 01:04:38 +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
|
108dc0d4f8
|
Remove END_PARSE_FLAGS_GENERIC.
GitOrigin-RevId: c9a47a56158829aca0572bab1497e3aebcc7216d
|
2019-08-01 03:40:28 +03:00 |
|
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 |
|
levlam
|
59b98c5b50
|
Include unistd.h in OptionsParser.
GitOrigin-RevId: 9e8ed25f239ce898523f02454b40219024157555
|
2019-03-22 01:56:24 +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
|
4d5fb2902c
|
Unify names of ParserT/StorerT classes.
GitOrigin-RevId: 69df5062e20cc87c0778e1b125ab46575c365377
|
2019-02-21 20:54:20 +03:00 |
|
levlam
|
93494cf048
|
Fix log messages style.
GitOrigin-RevId: f99e2e838220826d3dea7fdc33c43ac9918a5efd
|
2019-02-21 18:58:20 +03:00 |
|
levlam
|
9759036081
|
Make store_bytes_field output prettier.
GitOrigin-RevId: 992b7cb8875bb3238484c4a254b3498266233939
|
2019-02-21 01:55:40 +03:00 |
|
levlam
|
27a0bbd158
|
Precerve file remote in check_input_file_id.
GitOrigin-RevId: 52a3d32a606b8907f1ab94b7c10c2413346e66ec
|
2019-02-15 21:49:02 +03:00 |
|
Arseny Smirnov
|
82589eeb2f
|
FileManager: force upload, and separate full and partial remote location storage
GitOrigin-RevId: 3bdc218738558012ee6e2a790a553b2f0fea1d62
|
2019-02-14 14:20:40 +03:00 |
|
Arseny Smirnov
|
06f9533a5a
|
Fix DCHECK
GitOrigin-RevId: 57ad1b375fed6fe3401c2c6ee5237739900ef4b7
|
2019-02-13 13:33:14 +03:00 |
|
levlam
|
b336c8466e
|
Add link to Bugzilla.
GitOrigin-RevId: dae1d7c19efa57c8b44df4d9cc17acd96cefdc60
|
2019-02-13 03:52:34 +03:00 |
|
levlam
|
0063ebe1cc
|
Fix g++ <= 4.9.2 CE.
GitOrigin-RevId: 8c1f56da7915989d0aaa2fe2f037558078d1efac
|
2019-02-13 03:51:39 +03:00 |
|
levlam
|
a9ded5b498
|
Fix another g++-4.9 CE.
GitOrigin-RevId: a33df8605db518fb5dfea2f542094af6977c2053
|
2019-02-13 02:45:08 +03:00 |
|
levlam
|
8c3eb953ae
|
Fix some g++4.9 CE.
GitOrigin-RevId: 0d4ed1e684fd623a7ab5849e4f0f7ec2fd182694
|
2019-02-13 02:29:52 +03:00 |
|
levlam
|
dd398c5968
|
Fix formatting.
GitOrigin-RevId: 144f91ea1ad0a1f9a8e5e08c4c10f238b066be47
|
2019-02-13 00:28:47 +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 |
|
levlam
|
ffe53dcd12
|
CHECK fixes.
GitOrigin-RevId: 7f82d11913592bb241ab69975278ee8be2ce9d23
|
2019-02-12 23:19:11 +03:00 |
|
Arseny Smirnov
|
61288bd8ab
|
CHECK: fixes
GitOrigin-RevId: 5bccb4634a0c77e159ce3cdf80c37ff8a500bbd0
|
2019-02-12 20:48:13 +03:00 |
|
Arseny Smirnov
|
20bfcaa979
|
Use LOG_CHECK where it is necessary
GitOrigin-RevId: a8bd17cc2ee6e43dcea52bb25aef9ee1f91c7ec4
|
2019-02-12 19:17:20 +03:00 |
|
Arseny Smirnov
|
281b4ab57a
|
check.{h,cpp} draft
GitOrigin-RevId: b8f5b678208ef35f4753e0f16685381ae41e11b0
|
2019-02-12 18:45:14 +03:00 |
|
levlam
|
6301dd65d7
|
Disallow "." as HTTP host.
GitOrigin-RevId: d8f5d746f021167d2752a5c3fd67486966fb47d6
|
2019-02-12 17:53:00 +03:00 |
|
Arseny Smirnov
|
b481ce8465
|
NotificationManager: decrypt_push
GitOrigin-RevId: 9f623bf065d54f402ca824d40e0515111330b7a7
|
2019-01-29 19:16:52 +04:00 |
|
levlam
|
dd06568a48
|
Simplify BufferRaw constructor.
GitOrigin-RevId: 829ca6b32fc320782051b6a01a39f7290ae117ed
|
2019-01-24 21:15:08 +03:00 |
|
Arseny Smirnov
|
c087b4bb6e
|
fix compilation error
GitOrigin-RevId: 20b5add31a628fd040e1f20c103d330dfa3c7652
|
2019-01-24 18:01:02 +04:00 |
|
levlam
|
2edc069583
|
Explicitly init some std::atomic.
GitOrigin-RevId: bfbe95bd1aaed9c3ade31d9a7222b223bfece347
|
2019-01-24 06:18:14 +03:00 |
|
levlam
|
297644fcb4
|
Better Windows detection.
GitOrigin-RevId: c07960f628f6fb93079d9b4efdf072f580599632
|
2019-01-23 17:53:01 +03:00 |
|
levlam
|
73996c6efe
|
Better file_type_name.
GitOrigin-RevId: d3c0c0b88e9dec5348fa72c66d7403507e493e18
|
2019-01-20 01:59:37 +03:00 |
|
levlam
|
7ff1b83a24
|
Add combine helper method for arrays.
GitOrigin-RevId: a67c7a72525a9853072ad93fca47cd573a2da764
|
2019-01-19 04:09:58 +03:00 |
|
levlam
|
c0815f868c
|
Fix Variant constructors.
GitOrigin-RevId: 12942de32a8cb54b5f2fd8bc1888072c032b3025
|
2019-01-14 21:04:40 +03:00 |
|
levlam
|
8687be3f12
|
Guarantee crash on Result self-move.
GitOrigin-RevId: 64475d63e5ccc3ebac99d21946941b8f5689cfe8
|
2019-02-04 07:05:44 +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
|
0fc836ce8f
|
Make td::as safe.
GitOrigin-RevId: 84a76a434f88e09d9c74644aee139a96bb34239d
|
2019-01-18 16:24:26 +03:00 |
|
levlam
|
5bf92283b6
|
Add LogInterface::get_file_paths method.
GitOrigin-RevId: 5cb749915b181b33250f56eb5d441d0c22c35800
|
2019-01-18 01:17:20 +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
|
8e402b8a48
|
Fail fast on photos bigger than 10 MB.
GitOrigin-RevId: 4f4cfd5415c3e9a851fd7d580ecfa11b3d7c6046
|
2019-01-07 20:41:05 +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
|
a095a6169e
|
Better read_file implementation.
GitOrigin-RevId: 63c1911f53747a3d714e7a0265e9c354b5a70d3a
|
2019-12-31 02:08:57 +03:00 |
|
levlam
|
ca1503c22f
|
Fix some includes.
GitOrigin-RevId: a57e47e5925fe1e96080945d40641c84b4e30669
|
2018-12-27 22:24:44 +03:00 |
|
levlam
|
ac3fa705a2
|
File streaming fixes.
GitOrigin-RevId: 86c6d1394a31d6bb108a12e14f4d981133ece235
|
2018-12-26 19:11:15 +03:00 |
|
Arseny Smirnov
|
3b238f6fba
|
Files streaming
GitOrigin-RevId: 78df1cd44c95380cd4af46f4db809ce28876db1f
|
2018-11-11 15:38:04 +04:00 |
|
levlam
|
1deccf5071
|
Fix tdutils CE without OpenSSL.
GitOrigin-RevId: 39cb31088a5405cac43d171313cbe870725abdac
|
2018-12-24 06:44:39 +03:00 |
|
levlam
|
59672cad10
|
Add dummy processPushNotification.
GitOrigin-RevId: 71136025e1a4ddce5ace64a34fef766d1b29f7d5
|
2018-12-24 03:12:59 +03:00 |
|
levlam
|
9bb38365f6
|
Fix previous commit.
GitOrigin-RevId: b59e7accdc77715b756c5c219b89dada1e89a776
|
2018-12-20 03:44:11 +03:00 |
|
levlam
|
5a56da186f
|
Support (probably) Intel Compiler in bits.h.
GitOrigin-RevId: 2be57d01753df41cc20b200c562129e7769b3a8e
|
2018-12-20 03:30:44 +03:00 |
|
levlam
|
e2d1a71d3b
|
Improve as<>.
GitOrigin-RevId: 227b2bae3079bed93936db16c4846c8d0a49bd39
|
2018-12-20 01:46:55 +03:00 |
|