Commit Graph

591 Commits

Author SHA1 Message Date
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