Commit Graph

319 Commits

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