Commit Graph

319 Commits

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