Commit Graph

329 Commits

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