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
levlam
3850a4da7f
Move as from common.h to as.h.
...
GitOrigin-RevId: 3ecc4b4c4ff6c9b070d30cf017e22a8acce0af09
2018-12-20 00:57:56 +03:00
levlam
22eb4e1cb2
Remove unneeded reinterpret casts.
...
GitOrigin-RevId: 54a161ad11e5909f9c06912cf67e6805279f2327
2018-12-20 00:44:15 +03:00
levlam
b676fe509a
Move UInt to UInt.h
...
GitOrigin-RevId: 52b6d36d1ece8c267f5548000b2592ffd3a62ded
2018-12-20 00:18:53 +03:00
Arseny Smirnov
bc991da146
tdutils: as<T> is safer now
...
GitOrigin-RevId: 8bdb4ce3e84c8a753d76502e830bcfcd3c0bd28b
2018-12-19 23:43:19 +03:00
levlam
cba0f62ba9
Minor fixes.
...
GitOrigin-RevId: ffac148f714da737dcc1b12e56352995866f93b4
2018-12-19 23:35:13 +03:00
Arseny Smirnov
82feae2065
tdutils: commit tests.cpp
...
GitOrigin-RevId: 429f42a45039761a71ed49584bb3f11335e86d7a
2018-12-19 20:22:24 +03:00
Arseny Smirnov
d34831c613
tdutils: update from other project
...
GitOrigin-RevId: 4a0a7ed6fff6af9b498122c66de9576939dce523
2018-12-19 17:48:39 +03:00
levlam
f240b539a4
Fix CE.
...
GitOrigin-RevId: c4f390749126e85d36ae63249c0e8b38763d9774
2018-12-19 00:23:34 +03:00
levlam
b5e95821ad
Remove unsafe Slice operators.
...
GitOrigin-RevId: 38555a755fd4252ccc25398340b7fcab542d9f3c
2018-12-18 02:02:28 +03:00
levlam
9f0f6dc56e
Fix IPAddress::get_any_addr.
...
GitOrigin-RevId: cd2c6ca22d6ecc1cbb834b15e9aa191302885e52
2018-12-17 22:09:01 +03:00
levlam
064619044b
Fix IOCP error statuses.
...
GitOrigin-RevId: 8f5c5481c7d70b7d7795503bc69deff32fb5935c
2018-12-17 19:12:47 +03:00
levlam
cc4877d0da
Fix names of MultiPromiseActor.
...
GitOrigin-RevId: 2efcb2dab1578b0b6deb08f70a7db096daadb4aa
2018-12-12 20:02:50 +03:00
levlam
3fad0a7693
Truncate bytes when output them to string.
...
GitOrigin-RevId: 07e394956b13579ad54c47ba02f0507e55feb9c3
2018-12-12 19:27:58 +03:00
levlam
3791b38296
Better compile-time dispatching on function type.
...
GitOrigin-RevId: 2687fa402c9c76ad654bdad0759893dc6df6262e
2018-12-12 05:26:52 +03:00
levlam
6445cf645b
A lot of various fixes.
...
GitOrigin-RevId: 64963bfb55e5ffe8b099c1953143158b44a540c6
2018-12-11 23:18:58 +03:00
levlam
e2b8b72541
Add td_api::JsonValue support.
...
GitOrigin-RevId: b79580a42f72c195c7c76d213f277702ee035907
2018-12-10 04:01:02 +03:00
levlam
2b4d076323
Modernize spelling of macOs.
...
GitOrigin-RevId: 92129b6264af6a04d69d0eb79f942ca20923bb78
2018-12-01 04:15:59 +03:00
levlam
8e9c2721ef
Support different IPv4 formats in IPAddress::init_host_port.
...
GitOrigin-RevId: 122239f0ba24a1274b0cc50913e8fac3ad25ddc3
2018-11-27 21:26:32 +03:00
levlam
7d565e359d
Improve clean_filename behavior.
...
GitOrigin-RevId: da29b1a87a27b6bcb7651ae1b261d44dcf18849f
2018-11-27 04:24:43 +03:00
levlam
bc54e5e335
Fix full_split behavior on empty string.
...
GitOrigin-RevId: 74fcaeee970ab26f1bee221babf9b6029237c6cc
2018-11-16 00:11:03 +03:00
levlam
ca4c1acc90
Add IPAddress::is_reserved method and its test.
...
GitOrigin-RevId: 69a4d5cc73cb40e7a99a1d4e56746efbcfa02e83
2018-11-15 20:10:20 +03:00
levlam
718f9e3532
Fix parsing of std::unordered_set.
...
GitOrigin-RevId: 6c946161748c71b36382c20e7bacac1299b4b9a8
2018-11-11 16:35:51 +03:00
levlam
5160e083b0
Move STORE/PARSE FLAGS to a dedicated block.
...
GitOrigin-RevId: c682b9b2a444a4b86c7c3c09736d3489c4e4f297
2018-11-09 15:38:41 +03:00
Arseny Smirnov
b6e8be94c6
secure_random: add_seed flushes all buffered random
...
GitOrigin-RevId: 408dea74532e882d1f42126999b7394a46cebfd1
2018-11-16 16:41:53 +04:00
levlam
d78a1d0a33
Simplify HexDumpSlice.
...
GitOrigin-RevId: 4350523696d5d20092db4006e2c88324c1e3a636
2018-11-06 19:26:20 +03:00
levlam
2c6bd673c7
Use as_slice<Int> if possible.
...
GitOrigin-RevId: 931b5609e2eae0d5655287e84a71724f07d4090c
2018-11-06 19:00:03 +03:00
levlam
0d5a09e615
Fix ThreadPthread.
...
GitOrigin-RevId: 3b16056894c33775dcf31146a87f1ab1c2ee13cc
2018-11-03 22:36:52 +03:00
levlam
d119861780
Add missed include.
...
GitOrigin-RevId: 206f244bcd8d7759b942de8288284bcbd48b22f0
2018-11-02 22:57:22 +03:00
levlam
0624f75eec
Add FreeBSD support.
...
GitOrigin-RevId: 8cc4a42d4c7879ba1b19591f7b37880d5d554585
2018-11-02 22:47:20 +03:00
levlam
37738ec61a
Fix FreeBSD CE.
...
GitOrigin-RevId: c5740fb668058b65c2e4dd2bc3d1c14d9bbea06f
2018-11-02 18:58:20 +03:00
levlam
ecaaae62ef
Fix mtime in generate location.
...
GitOrigin-RevId: 70235d7f9c0e21fdcb555a678f13afbfabf3767f
2018-10-31 21:11:02 +03:00
levlam
4378f96948
Pass const object to has_json_object_field.
...
GitOrigin-RevId: 7e7dfda846e15e8b977674e4c3a3ab759720449c
2018-10-31 16:03:38 +03:00
levlam
6fbaed9997
Use auto-resized StringBuilder in json_encode.
...
GitOrigin-RevId: 4871ceaef1a3d8a8d38ec07d5deea670fd41583f
2018-10-30 17:26:31 +03:00
levlam
bc88b8e951
StringBuilder fixes.
...
GitOrigin-RevId: 1836df5f6931ca94e96e7281eeb1090163d8648f
2018-10-30 17:22:44 +03:00
levlam
a91db513eb
Better create_local_lock.
...
GitOrigin-RevId: ce705e7258ad05bde1ac6c72cc8a045c128fa8a6
2018-10-30 14:21:36 +03:00
Arseny Smirnov
43ef35eb71
StringBuilder: allow dynamic resize
...
GitOrigin-RevId: cd59f013d10f4d8e5911933eeb75384d675fda94
2018-10-30 14:07:28 +03:00
Arseny Smirnov
9ce80962fc
FileFd: bugfix
...
GitOrigin-RevId: a6f27c73787e543475d5e09f1510de491a46e3f5
2018-10-30 11:47:58 +03:00
Arseny Smirnov
0aa06cbea5
FileFd: create_local_lock function
...
GitOrigin-RevId: 8d782e0194f4e2e7b0d9ceef9dad4a1051ed393b
2018-10-30 11:35:50 +03:00
Arseny Smirnov
4e03ee1293
FileFd: fix sleeping while mutex is locked
...
GitOrigin-RevId: fb6b5bb1967a4c144e9393b2ab82ccf6dfe2f15a
2018-10-30 11:21:16 +03:00
levlam
51eec319b8
Fix some includes.
...
GitOrigin-RevId: 4c81e2fd0101f3c5bb23912681e7d02a60da5622
2018-10-28 20:30:47 +03:00
levlam
26530c3b97
Fix legacy fd_ usage.
...
GitOrigin-RevId: 62e6f4882f16595e591a24b88280080135d62eef
2018-10-27 17:34:53 +03:00
levlam
e4c8b8ff3b
Fix Variant debug.
...
GitOrigin-RevId: 9fe51b6ca5d069058a2d98bc9b111b8693ae6df0
2018-10-26 17:57:30 +03:00
levlam
082a132edc
Add Variant debug.
...
GitOrigin-RevId: 49cd9c29f8d2b9db908f0f13c0ba149598008c2e
2018-10-26 17:27:37 +03:00
levlam
28bfa4c4a6
Fix some MSVC Analyzer warnings.
...
GitOrigin-RevId: f62e8173ae9a5b78818f6575548ce22d4aa5c51d
2018-10-26 17:11:20 +03:00
levlam
1f216df1d8
Fix C26451 warning.
...
GitOrigin-RevId: 7c7fa7df4078dec15dfdc3db2df30ab5be234b5b
2018-10-25 21:29:10 +03:00
levlam
570a59f1d4
Simpilfy MutableSlice constructor (behavior is defined since C++11).
...
GitOrigin-RevId: 77c07d8abc0b6c10f24e95f61811fe6d5ca3af58
2018-10-25 18:10:14 +03:00
levlam
da06b62499
Improve zlib error messages.
...
GitOrigin-RevId: 0a630e21e3dd142cefdcc16dc4478f108d0e3a66
2018-10-24 22:56:48 +03:00
levlam
8aab98871e
Fix is_eof in case of unsuccessful read.
...
GitOrigin-RevId: b5a48f7818a02f6d0cf16b11a0745cf7fdeff326
2018-10-24 21:57:47 +03:00
levlam
44d21ecc4a
New API for managing TDLib logs.
...
GitOrigin-RevId: 60f520027bf16f53b927c72d0151884fda64ebbc
2018-10-24 18:42:40 +03:00
levlam
ae585729aa
Ignore EAGAIN in mkdir (happens in Android).
...
GitOrigin-RevId: 1d5ab4e698de8b74d61d06e84d4ac27d84020e91
2018-10-22 18:08:51 +03:00
levlam
f5ea140bc2
Update clang-format to 8.0.
...
GitOrigin-RevId: 170be47e4b47607a2bca81d2ed6b5b3d547982ca
2018-10-14 04:01:02 +03:00
levlam
c865b234bf
Fix warning.
...
GitOrigin-RevId: cab219458f63f61649d703ae60e2936043b15c5e
2018-10-14 02:14:19 +03:00
levlam
872cf6e10d
Add local locking to FileFd::lock.
...
GitOrigin-RevId: 4ad3e15f9952b1c68c879182a0f10dd5cad270f3
2018-10-08 21:18:06 +03:00
levlam
806e570a72
Add source to next_utf8_unsafe.
...
GitOrigin-RevId: e8e5a47096461c0e76a64eb26cb848651d4d61e8
2018-10-08 15:53:05 +03:00
levlam
09c4422c50
Better error messages.
...
GitOrigin-RevId: 70b1cea8a4ba9fa42074b5bc7bd7d339ae1c1779
2018-10-07 02:47:50 +03:00
levlam
6ac930139b
Const-correct unique_ptr.
...
GitOrigin-RevId: 938cf4b0261cfea123066ae1fc4197754da11e68
2018-09-27 19:51:45 +03:00
levlam
c3417b5f94
Replace std::unique_ptr with td::unique_ptr to increase compilation speed and decrease compilation RAM usage.
...
GitOrigin-RevId: ffd9b89201e1bfa48d0cf62e7abe9e94b0db86f9
2018-09-27 17:40:04 +03:00
levlam
b3bae546ec
Various fixes.
...
GitOrigin-RevId: 52699dbd5280b63c6bb32da44ea5bfa3157a7922
2018-09-27 16:37:15 +03:00
levlam
f948956bf7
Use td::unique_ptr instead of std::unique_ptr whenever possible.
...
GitOrigin-RevId: 424beb72dc62efdefdbffb75f1036ba9417f84cb
2018-09-27 04:19:03 +03:00
levlam
b7c2248c72
Add td_api::testSetLogTagVerbosityLevel method.
...
GitOrigin-RevId: 763fcf9156671857c71967741b9ce8c67f4a7ea0
2018-09-26 02:59:29 +03:00
Arseny Smirnov
3d17b1b166
Fix get_pending_error
...
GitOrigin-RevId: cc80c526df3d0ed8ceb76b8653ef4bb9f46311c4
2018-09-25 14:36:39 +03:00
Arseny Smirnov
8108dda1d9
SocketFd::get_pending_error bugfix
...
GitOrigin-RevId: e0596cec033a162fbca15a14f078c6a9cdbd8ff5
2018-09-24 18:26:29 +03:00
Arseny Smirnov
23e4c95c1c
Fix EventFdLinux
...
GitOrigin-RevId: 15b9fe88f5df8489c837d75fe3705a01298e902a
2018-09-22 17:13:49 +03:00
levlam
8610734232
Fix full_split.
...
GitOrigin-RevId: 0204740d8ba45faf9f2da5ddca7323c88287a160
2018-09-22 14:24:02 +03:00
levlam
3c8e8f106f
Fix GCC 4.9.2 CE.
...
GitOrigin-RevId: 5cc03767018d976c5833127e51ee0f010b3049b3
2018-09-21 20:57:20 +03:00
levlam
5322a65c1b
Remove unnecessary static_cast.
...
GitOrigin-RevId: df5259458cd0d8d4a1b72da6950ea39553979c68
2018-09-21 11:26:35 +03:00
levlam
47bf1bf060
Remove explicit inline specifier on template functions.
...
GitOrigin-RevId: 196841ba4ace538853e42f8e1be908f6d6f38b00
2018-09-14 21:41:03 +03:00
levlam
7e2053fcf5
Fix some includes.
...
GitOrigin-RevId: 3e3323045c44976ceea99b218d6806d3c836bbf2
2018-09-14 01:00:21 +03:00
levlam
02eff935ec
Remove legacy declarations.
...
GitOrigin-RevId: d2dcb086a609b2f11cf9476b7e4b9ca8d63c9fe0
2018-09-13 23:08:13 +03:00
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
levlam
86ef95e0a8
Fix CE and some includes.
...
GitOrigin-RevId: e181d67a6ed36c9cbd444cf2282902b6a90881be
2018-09-13 06:08:49 +03:00
levlam
ed33e23c40
Make pread and DataView const.
...
GitOrigin-RevId: 4267ba93a1e83be55361c9f284f717151eb740cd
2018-09-13 03:12:40 +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
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
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
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
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
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
477112332f
Optimize printing integers.
...
GitOrigin-RevId: 4d73952b23d2f6da7cce0b21371b4d861c914b6f
2018-06-05 02:34:51 +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
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
levlam
67b1cce74e
Support ignore_access_denied in realpath on Window.
...
GitOrigin-RevId: 4fed501fee67b8533920fd729f1aa1944642db60
2018-03-04 22:37:31 +03:00
levlam
802860a412
Fix CE.
...
GitOrigin-RevId: c6ddbed7c3452c9a469160ae1cafc1fce5f9e750
2018-02-28 22:54:05 +03:00
Arseny Smirnov
110f2c5b7b
UWP: build scripts
...
GitOrigin-RevId: 8bbfa1f455a6521f1d823147ddff97768db21da2
2018-02-28 21:19:33 +03:00
Arseny Smirnov
f5388f69f9
cpu_stat
...
GitOrigin-RevId: b98a3400ad40cac89c97589e450a807266a885bc
2018-02-28 10:27:24 +03:00
levlam
a741fe7925
Minor fixes.
...
GitOrigin-RevId: beff71eb64dee126727d8be2a18b09ee99d4fe40
2018-02-28 04:22:17 +03:00
Arseny Smirnov
70ad2664bd
Add initial C# support
...
GitOrigin-RevId: c0ece19b41ca8e348285df95f9b81b188d3e5835
2018-02-26 21:08:47 +03:00
levlam
c8a784f0ca
CxCli: better TryRemove.
...
GitOrigin-RevId: ef4394f1dd2d1fdf6609412ec666954316aafa66
2018-02-22 23:34:09 +03:00
levlam
35d0ac2985
Fix CxCli and find_library.
...
GitOrigin-RevId: b3057195dc88b31fc87a1688f470d03e921df99f
2018-02-22 18:44:22 +03:00
levlam
4304fcfd89
Better double comparison.
...
GitOrigin-RevId: 5a7092ce72e7531835d57455a8027819a6f03ab5
2018-02-20 03:03:28 +03:00
levlam
b676810b50
Use get_url_file_name whenever appropriate.
...
GitOrigin-RevId: 4a1f408424883c56d2017f4239cae01987bd39c0
2018-02-20 02:29:19 +03:00
levlam
824735dc8e
Add get_url_query_file_name function.
...
GitOrigin-RevId: 24d19f870f6a8e96bc727baa0dfeaa6a99d66931
2018-02-20 01:54:50 +03:00
levlam
3604f1cf54
Add some debug logging.
...
GitOrigin-RevId: 6bd223bb40b2092f703d62531df13b96cb3e6066
2018-02-19 23:21:53 +03:00
levlam
269cf358e0
Fix some spelling.
...
GitOrigin-RevId: 102622d5c1871a52d6b229f708df6305006f6137
2018-02-17 02:54:44 +03:00
Arseny Smirnov
9f172eee39
fix CxCli
...
GitOrigin-RevId: 7ca3258008ee5eb658d3c0cd7e9d4c81c7f6128d
2018-02-16 14:22:19 +03:00
Arseny Smirnov
ccb6553a5d
Improve TRY_RESULT define
...
GitOrigin-RevId: 399a4102f795c0c44d3089a1a3b341393c9f0f95
2018-02-16 12:09:50 +03:00
levlam
428cb9cf10
Fix mem_stat.
...
GitOrigin-RevId: 491abe3e44c8ffaf5c9e1b2d3c726a5ce69f599b
2018-02-14 04:23:59 +03:00
levlam
72df55fb2d
Better alignas and swift example formatting fixes.
...
GitOrigin-RevId: f13cb9754b0f91975710662d30c87563de4d7641
2018-02-12 20:21:29 +03:00
levlam
d55d1179c2
Add file and line to Status.ensure.
...
GitOrigin-RevId: 3539caee7f92f6970fd5af673866dabeec177336
2018-02-12 19:03:04 +03:00
Arseny Smirnov
389e961720
Fix emscripten build
...
GitOrigin-RevId: d39365eebf456462d3672c602bccd75ef612ca85
2018-02-12 16:11:51 +03:00
levlam
cffa49cf4e
fix td::min.
...
GitOrigin-RevId: 237cf4f2d6e068c344c1ff4d6d410ce07ae5f6c3
2018-02-12 14:19:47 +03:00
levlam
a6ab35e616
Replace std::max/min with td::max/min.
...
GitOrigin-RevId: 56fb21194e995cbb37b3ebb5caed689c10320b8d
2018-02-12 13:37:54 +03:00
levlam
389ff96082
Move some implementation to cpp.
...
GitOrigin-RevId: b554d19ab8d8a6826c7f879d660c75d15c0d944a
2018-02-12 11:40:52 +03:00
levlam
6b927449eb
Fix some includes.
...
GitOrigin-RevId: 08add4bab90bb23e0e71340ac647ce8cafc4b900
2018-02-11 18:58:18 +03:00
levlam
14edf49084
Remove printf-like logging.
...
GitOrigin-RevId: 359e29aea05ee57eff7ab1feec134cbd9cbdabc9
2018-02-11 18:37:30 +03:00
levlam
a7e9fb5e62
Remove more printf logging.
...
GitOrigin-RevId: f5573d9676426e21fde45bf4dace19ae53943e3c
2018-02-11 17:52:41 +03:00
levlam
6e3cbf42dc
Remove calls to Logger.printf.
...
GitOrigin-RevId: 3b5452fc4bd705ce5cf98d360247ec0146923e2d
2018-02-11 17:07:16 +03:00
levlam
834fa51b45
Use to_integer_safe instead of sscanf in mem_stat.
...
GitOrigin-RevId: a1ce7c920596c4d4198488048d1592b72d871ebe
2018-02-11 16:05:51 +03:00
levlam
b6e6eac530
Use FixedDouble.
...
GitOrigin-RevId: f39998443780a33cd892ecc9fec8b9d666a82489
2018-02-11 15:41:23 +03:00
levlam
13def6a897
FixedDouble.
...
GitOrigin-RevId: 6779a7885b0ddfa80321b3ccd368524725b27f59
2018-02-11 14:38:08 +03:00
levlam
ecf5405d86
Use fixed format in double->string conversion by default.
...
GitOrigin-RevId: 5fdffeefb6f843ff3290bda21b2a71d5ea275f3f
2018-02-11 12:47:11 +03:00
levlam
901e8cb224
Fix narrowing conversion.
...
GitOrigin-RevId: c9f9fe9be4285b82e875140900065e328b8df32f
2018-02-03 23:13:05 +03:00
levlam
79df9bac53
Accept slice in to_double.
...
GitOrigin-RevId: 3e68b84972a15404ab6ec43b6c157289487b3a5b
2018-02-03 23:01:33 +03:00
levlam
9d5580f315
Locale-independent to_double and from_double conversions.
...
GitOrigin-RevId: 997ec58422c4128857d395fa49c46ee0605afca9
2018-02-03 22:40:06 +03:00
levlam
499e64430b
Move some functions implementations to cpp.
...
GitOrigin-RevId: ff0db41e43df5152046160474f9b8cf52474b877
2018-02-03 19:49:39 +03:00
levlam
da4714b3ca
Unify include order.
...
GitOrigin-RevId: 981c4788511b9b286e954b2f85a7263b8baf8566
2018-02-03 15:58:18 +03:00
Arseny Smirnov
15356c4402
Actor: always_wait_for_maibox flag
...
GitOrigin-RevId: cb048967998ffc585133d6a58c77674a17766049
2018-02-01 16:01:16 +03:00
levlam
42ea21b4f1
Check directory existence before crash.
...
GitOrigin-RevId: 94ad49d48af766251107b547e9ea1aaedeeb15c1
2018-01-31 15:43:36 +03:00
levlam
6cf95c36ad
Clear errno just in case.
...
GitOrigin-RevId: b45ff66a66fba605e5a1b500a1ab66eb87140e19
2018-01-30 20:10:44 +03:00
Arseny Smirnov
614c3cffd7
skip_eintr_cstr
...
GitOrigin-RevId: e13756e7dfa4abb7452172dbedfaf73aa256bcd5
2018-01-29 13:28:56 +03:00
levlam
62bb714421
Fix some includes and spelling.
...
GitOrigin-RevId: 489a75315987be488d8caf63a9d3c4f0948ab810
2018-01-28 21:13:25 +03:00
levlam
662471ea48
Do not fail on unsuccessful FileLog.init.
...
GitOrigin-RevId: c31bcf155821a973b431234d76aa83e3b0e281a0
2018-01-28 17:48:11 +03:00
levlam
6d21c7c912
Move FileLog implementation to cpp.
...
GitOrigin-RevId: 3722bed5a7e480e7336d35489dbacc31a91a9428
2018-01-28 17:33:14 +03:00
levlam
799e4bc324
Fix CE.
...
GitOrigin-RevId: d8047740df158dbc83c10c7aef231e6b06ec2752
2018-01-26 17:05:02 +03:00
levlam
55b16026c5
Optionally ignore EACCES in realpath.
...
GitOrigin-RevId: 8043b753ec748b6ff21accb5efde782047e5cd50
2018-01-26 16:47:46 +03:00
levlam
b0be2feebc
Fix file stat on Windows.
...
GitOrigin-RevId: 2ca2bb1605af4e25f24d6c06c0aae5ffb8fe09e8
2018-01-26 16:01:40 +03:00
levlam
e66cc39f95
Fix walk_path on Windows.
...
GitOrigin-RevId: ca6eaea457018869aa476009acc3fd0f26a40999
2018-01-26 04:06:53 +03:00
levlam
a3a5b4691a
Use skip_eintr in all filesystem system calls.
...
GitOrigin-RevId: 044a430e7bb1dd77d71751737f8edb585b1d74c5
2018-01-24 23:04:21 +03:00
levlam
18e7b0816d
Add set_fatal_error_callback to public Log interface.
...
GitOrigin-RevId: 3e7c3bb97d86fa753deae864fdf574de1de1aee4
2018-01-24 18:45:57 +03:00
levlam
dbe1509a33
Fix warnings.
...
GitOrigin-RevId: 809793ee7ad1b64faa30de705c85aa095fcc9c32
2018-01-23 19:45:51 +03:00
levlam
d8f13abb2c
Make JNI-bindings package-agnostic.
...
GitOrigin-RevId: a3a66de7561cf0ea9a3faf0b26bda1c34de7d317
2018-01-21 14:45:24 +03:00
levlam
7f80ee1119
Remove FileLocation.type_ field.
...
GitOrigin-RevId: ffc776f8975522315543bfac25500592831900d6
2018-01-20 18:16:51 +03:00
levlam
fbb2dc6ccb
Use int8 for upload/download priority.
...
GitOrigin-RevId: 3cc1c006c5ab3989be920b4d6e7e5f49aeaa42ce
2018-01-20 14:47:53 +03:00
levlam
22ad86508a
Utils: is_base64url.
...
GitOrigin-RevId: b58daeb9fa82d37e9c653d72ef702bcb15a5392b
2018-01-19 16:38:56 +03:00
levlam
c816837736
Utils: is_base64 function.
...
GitOrigin-RevId: 6b5d3079d812cb96d080a444e964067a79472d16
2018-01-19 15:43:00 +03:00
levlam
06cf561b88
Add ArrayIndexType to CxCli.h.
...
GitOrigin-RevId: 9d2a7294974a733c0acd82f6ae769ccf932723d6
2018-01-11 15:48:03 +03:00
levlam
57a7d7506f
Update CxCli.h.
...
GitOrigin-RevId: 4b9fb613969a0eebca655168662d21c760778079
2018-01-11 15:28:27 +03:00
levlam
f6fb3c0cd0
Fix clang 3.4 Debug build CE.
...
GitOrigin-RevId: 3bdbf604bdd4f03da419003d7592a75085fcd2a0
2018-01-10 21:48:44 +03:00
levlam
0f07341e91
Add interface for changing maximum log file size.
...
GitOrigin-RevId: dccd781c0467d75a5a396b71e6401e68534919db
2018-01-09 12:40:56 +03:00
levlam
bd6592e78b
Add epoll debug.
...
GitOrigin-RevId: f10adc3fdf4c91adf8dc5be6998466cb84e7f876
2018-01-09 03:23:47 +03:00
levlam
5cbda834bd
Update copyright year.
...
GitOrigin-RevId: 1369d3af1195221f6ddb9462d5f8b74fb5fef20f
2018-01-02 16:45:09 +03:00
Arseny Smirnov
71d03f39c3
Project import generated by Copybara.
...
GitOrigin-RevId: 318483224ad6164d9966f731d60cde37039bb2d4
2017-12-31 23:08:40 +03:00