Commit Graph

49 Commits

Author SHA1 Message Date
levlam
02b99d0fbf Remove includes of SequenceDispatcher.h from headers. 2022-02-01 19:34:14 +03:00
Arseny Smirnov
ad38f712e8 SequenceDispatcher: hide usage into NetQueryDispatcher 2022-02-01 18:51:36 +03:00
levlam
8085779cdc Update copyright year. 2022-01-01 03:35:39 +03:00
levlam
00a349656d Unify td/telegram/include order. 2021-10-27 17:32:09 +03:00
levlam
db7aa28bdf A lot more minor improvements. 2021-10-19 18:11:16 +03:00
levlam
81b38d5607 Mark move constructors/assignment operators noexcept. 2021-10-18 14:36:15 +03:00
levlam
6801eabb8d Add some FileView emptiness checks. 2021-09-16 16:58:30 +03:00
levlam
40c5d47717 Make inherited classes final if possible. 2021-07-04 05:58:54 +03:00
levlam
edfa5d1d98 Use final instead of override. 2021-07-03 23:51:36 +03:00
levlam
9cecc116f3 Prefer US spelling of "canceled". 2021-05-31 21:51:48 +03:00
levlam
a6a4eb6616 Don't include SliceBuilder.h in logging.h. 2021-05-17 15:21:11 +03:00
levlam
0339921102 Improve some spelling. 2021-03-15 03:32:14 +03:00
levlam
52c1da0a70 Update copyright year. 2021-01-01 15:57:46 +03:00
levlam
9558b06021 Add location horizontal accuracy support.
GitOrigin-RevId: bafb7f7ff115eeede17be4bb1610045b5e3e78c9
2020-10-17 22:47:47 +03:00
levlam
ceb49d0143 Simplify parser.start_with usage.
GitOrigin-RevId: 465e51bba514259ebe15976d2612e1a46754a841
2020-07-21 14:24:55 +03:00
levlam
e16952121b Use emplace whenever possible.
GitOrigin-RevId: 67cd8e3b6331c5e1671a9d662f034af1e29d3ac6
2020-07-13 23:20:16 +03:00
levlam
d06a786a16 Simplify NetQueryCreator and remove mtproto dependency on telegram_api.
GitOrigin-RevId: 2edfc9d6d80eab8716dfd3722f6aebe53dba1e47
2020-03-16 01:01:14 +03:00
levlam
80c35676a2 Update copyright year.
GitOrigin-RevId: 09afb551b6e637dc69739fa735b0051a38b9e14c
2020-01-01 04:23:48 +03:00
levlam
84b33cd6a8 Add ConstParser.
GitOrigin-RevId: 58ef5b7e6d2568729228c11a3a495794f98566ad
2019-08-05 12:42:42 +03:00
levlam
fc363c5292 Add missing include.
GitOrigin-RevId: 6b6388813d9546be578f6da6a2f705019172db0b
2019-04-26 04:05:08 +03:00
levlam
ccfc5337f8 Add td_api::writeGeneratedFilePart.
GitOrigin-RevId: 2dfcba1d5f14dfd5e701ac02d3a8fc96090a00f2
2019-04-26 03:18:00 +03:00
levlam
6a9a931f29 Fix mtime comparison.
GitOrigin-RevId: ba6d77667478bdbb6297b449929b4adcd55c12a1
2019-03-15 21:52:54 +03:00
Arseny Smirnov
206fbc0686 downloadFile: add limit:int32
GitOrigin-RevId: 395d29e8383db5c54a3f85a555c4e9648546ef47
2019-02-18 22:08:05 +03:00
Arseny Smirnov
20bfcaa979 Use LOG_CHECK where it is necessary
GitOrigin-RevId: a8bd17cc2ee6e43dcea52bb25aef9ee1f91c7ec4
2019-02-12 19:17:20 +03:00
levlam
e5400074ce Move FileType to FileType.h.
GitOrigin-RevId: 7e35c0f30b7755755b0583704dcfe344cc28d117
2019-01-20 00:54:29 +03:00
levlam
5bf92283b6 Add LogInterface::get_file_paths method.
GitOrigin-RevId: 5cb749915b181b33250f56eb5d441d0c22c35800
2019-01-18 01:17:20 +03:00
levlam
eaebfad034 Update copyright year.
GitOrigin-RevId: 359e2b43322222922c44c430d3814b0a4c778dc6
2019-01-01 01:02:34 +03:00
levlam
c0f19bf6fd Do not drop streaming offset in cancelDownloadFile.
GitOrigin-RevId: 9f8699e85ba82ec84c0e85f9510b691f72af0c47
2018-12-27 04:21:08 +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
6445cf645b A lot of various fixes.
GitOrigin-RevId: 64963bfb55e5ffe8b099c1953143158b44a540c6
2018-12-11 23:18:58 +03:00
Arseny Smirnov
a80e0621e4 FileManager: FILE_GENERATE_LOCATION_INVALID
GitOrigin-RevId: bc66c7e63376a3aca0bdcaf1d7f8cbb57e32eb53
2018-11-06 19:02:19 +03:00
levlam
ecaaae62ef Fix mtime in generate location.
GitOrigin-RevId: 70235d7f9c0e21fdcb555a678f13afbfabf3767f
2018-10-31 21:11:02 +03:00
Arseny Smirnov
f788c1e917 FileManager: add #mtime#<mtime># prefix to generate conversion
GitOrigin-RevId: 4253d68e4f7878d871f53e0bbcf77633258cc946
2018-10-30 17:25:31 +03:00
levlam
6ac930139b Const-correct unique_ptr.
GitOrigin-RevId: 938cf4b0261cfea123066ae1fc4197754da11e68
2018-09-27 19:51:45 +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
8610734232 Fix full_split.
GitOrigin-RevId: 0204740d8ba45faf9f2da5ddca7323c88287a160
2018-09-22 14:24:02 +03:00
levlam
2b72a74ab7 Fix finishFileGeneration with error result.
GitOrigin-RevId: b4d766d6832820eb8480d09444a167bd11bc95a3
2018-08-29 13:44:21 +03:00
levlam
23c03a97f4 Various style fixes.
GitOrigin-RevId: 056c091cfd71322a0cc8db0e3bafec7d272da7ad
2018-08-16 01:06:53 +03:00
levlam
7fc96ddff5 Add missing override specifier.
GitOrigin-RevId: ea9c63f9a1c192285bd88600c2db38307f3ad7f6
2018-08-14 17:27:41 +03:00
levlam
8d5c17036a Use Location access hashes.
GitOrigin-RevId: 1f018d5e42e1c657492f2e1da74700632825c8f9
2018-08-14 02:11:49 +03:00
levlam
c6bc8f7c3f Add td_api::getMapThumbnailFile.
GitOrigin-RevId: f02f154cc8a3ce62f888bdaf9c159cebcb4a350a
2018-08-13 23:18:27 +03:00
levlam
4052bffcd5 Update layer 85.
GitOrigin-RevId: 5902d95080c65b2aed40d199f14634dadb30926a
2018-08-11 00:08:13 +03:00
Arseny Smirnov
312ccd7cbd Store remote location with FileId
GitOrigin-RevId: 43ff47088a5675df95427a610427a9908707392f
2018-03-06 21:31:20 +03:00
levlam
1dffa9608d Make FileLocation.type_ private.
GitOrigin-RevId: 14841a320804eacbeef501df79c94b3bff2f4d0c
2018-01-20 17:57:52 +03:00
levlam
0912cf4573 tg_cli: do not generate file when closing.
GitOrigin-RevId: 2cb23d3d15fca315993449a0033b7202e11dd90f
2018-01-06 23:54:38 +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