Commit Graph

347 Commits

Author SHA1 Message Date
levlam
84b33cd6a8 Add ConstParser.
GitOrigin-RevId: 58ef5b7e6d2568729228c11a3a495794f98566ad
2019-08-05 12:42:42 +03:00
levlam
b4cc4fea93 Check for old files in save_file_bytes.
GitOrigin-RevId: 8e45c35c56a1b4e41b42bbeef3322002be351e69
2019-08-04 00:53:06 +03:00
levlam
84dba6cd8e Add Debian 10 to build instructions generator.
GitOrigin-RevId: 10a156b2d27bcda835e4177ef09d0d8b5c82c511
2019-08-01 21:47:59 +03:00
Arseny Smirnov
0517c8ff4a SecureManager: reupload file on SECURE_SECRET_INVALID error
GitOrigin-RevId: 93b2fb8a5b48511720efcceabd3055bc0c49409b
2019-08-01 18:26:43 +03:00
Arseny Smirnov
331c8b52c1 FileLoader: add comment about FILE_UPLOAD_RESTART
GitOrigin-RevId: e8fb51da493cacd00af5ec7585cd8a95b605838a
2019-08-01 16:03:11 +03:00
levlam
108dc0d4f8 Remove END_PARSE_FLAGS_GENERIC.
GitOrigin-RevId: c9a47a56158829aca0572bab1497e3aebcc7216d
2019-08-01 03:40:28 +03:00
Arseny Smirnov
1d570ca85c PartsManager: handle some errors
GitOrigin-RevId: c0f65cce76ece49ec99557503d79da66995e44c8
2019-07-31 18:04:38 +03:00
Arseny Smirnov
4d33451758 PartsManager: restart upload when uploaded size is more than we have locally
GitOrigin-RevId: e307dbd150e97b04c73a9d40556dd26d9e6e4a00
2019-07-31 16:48:59 +03:00
Arseny Smirnov
29b807d660 TRY_END_PARSE_FLAGS_GENERIC
GitOrigin-RevId: c68a348c7466daa7ab3b6b93217585a18458885d
2019-07-31 13:45:32 +03:00
Arseny Smirnov
6ef242ad38 minor
GitOrigin-RevId: 01ead4852dbe67fcd04079049039f11b2f1e15e4
2019-07-30 21:29:52 +03:00
Arseny Smirnov
655add2ec0 PartsManager: some fixes
GitOrigin-RevId: fedd9458f18179cdabef579cdc251f8006a3f61e
2019-07-30 21:27:39 +03:00
levlam
2fd851dfe2 Repair sticker set thumbnail if changed.
GitOrigin-RevId: 1b0e2e997338d85249e6eee877ab0483d9826342
2019-07-30 18:43:29 +03:00
Arseny Smirnov
089d73953c FileManager: reload photo on FILE_ID_INVALID
GitOrigin-RevId: defb6736befa35189253f8ac70342be81a607918
2019-07-30 17:42:36 +03:00
levlam
38e4310b71 Remove standalone Sha256State functions.
GitOrigin-RevId: 5db80ea1902a6fe8a635081a8b050a19528f9f90
2019-07-23 03:50:03 +03:00
levlam
4ee295a29e Use Sha256State directly.
GitOrigin-RevId: 4fbbafbd14c43a551e9c24de65a6feed2b44b09e
2019-07-23 03:20:11 +03:00
levlam
635aca2924 Fix tdutils after update.
GitOrigin-RevId: afc6d10dd0e2b2a7193dd2c96f07d5ca1cb11a00
2019-07-21 21:07:07 +03:00
levlam
e76c98ad74 Fix animated stickers extension.
GitOrigin-RevId: 69d65bd19e46fe2eb2dc6ebb4afd6dd64164ffc9
2019-07-18 19:47:29 +03:00
levlam
6d61dcdc15 Fix warning.
GitOrigin-RevId: 337e0948847966a402cfd0372ed8393e5f7064c9
2019-07-15 21:47:07 +03:00
levlam
5a7f326140 Support animated stickers.
GitOrigin-RevId: f4a02797a47ffb39eaeee5bcc75ad4b5231dfdfd
2019-07-15 03:43:05 +03:00
levlam
d694b24418 Fix warnings.
GitOrigin-RevId: d3780ae558619ab6beb1fc7dc582285abdd280ca
2019-07-01 19:52:48 +03:00
levlam
572808eb43 Fix parsing old wallpaper remote.file_id.
GitOrigin-RevId: 29ed97ec9ebf31d396a849dbce36a7e710cf3026
2019-06-27 03:13:27 +03:00
levlam
c5eace2057 FileFd::stat fixes.
GitOrigin-RevId: 36197c4d134e4afe902eef066dc497c03228c271
2019-06-20 05:09:03 +03:00
levlam
8cf10f3fd3 Add PhotoSizeSource FileType checks.
GitOrigin-RevId: 92685f8d05de9543e381ba753e8fe66dbeee286e
2019-06-20 04:53:50 +03:00
levlam
e6cc07a244 Split DialogPhoto to Small and Big.
GitOrigin-RevId: 4c5800b4fb80c5f870577f93e9afdebf6b2b16b3
2019-06-20 04:35:08 +03:00
levlam
9675331eaa Add PhotoSizeSource file_type checks.
GitOrigin-RevId: e2b79fa71a2547ea5f065bc94691f28a6fe3d904
2019-06-20 03:51:37 +03:00
levlam
5022fa26aa Move secret to PhotoSizeSource.
GitOrigin-RevId: 99506d685d672a790e9b276ed14b18ae66792703
2019-06-19 03:53:11 +03:00
levlam
9a77b26a8a Add PhotoSizeSource.h.
GitOrigin-RevId: 63330f66b3459ecf9b2fdbce4d35faca7542ec3b
2019-06-19 03:18:44 +03:00
levlam
59fd30237e Add Variant parser and storer.
GitOrigin-RevId: e6b8e46184f67fed50ce96a58a8ba33c17789c57
2019-06-19 02:48:34 +03:00
levlam
0a380017d4 Remove PhotoSizeSource.type field.
GitOrigin-RevId: ef13086515430194150728f7ede427b6c87ba175
2019-06-18 19:56:59 +03:00
levlam
c38180f014 Move file_type inside PhotoSizeSource::Thumbnail.
GitOrigin-RevId: 0cf016d083bbd39d2a7abf7e2e1c267b4af29e90
2019-06-18 19:45:26 +03:00
levlam
b92223a61c Remove OfflineInputPeer.
GitOrigin-RevId: 1a3706ab5c923ba3dfb065c642e103fd9df688c9
2019-06-18 19:17:31 +03:00
levlam
b9a1ceec05 Remove OfflineInputStickerSet.
GitOrigin-RevId: 144f639f5c22e652a98505856fd4b6327f27deff
2019-06-18 18:59:32 +03:00
levlam
984ccd3d75 Update remote location when source is changed.
GitOrigin-RevId: fc2f41f1f47cc65b5aadbec14a302d8ab2d03d5f
2019-06-18 18:40:46 +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
853c0986d9 Use static_cast to cast to bool.
GitOrigin-RevId: b62a74880cee8984ddf9607141b350f979000b4b
2019-06-18 03:21:55 +03:00
levlam
5273b48afe Use 0 as photo location secret.
GitOrigin-RevId: 53c9f487014da1430a58676424a1ab5797469f25
2019-06-18 01:33:32 +03:00
levlam
cfc9cc5f28 Remove support for two file references.
GitOrigin-RevId: 3bf8031e9cc8bcd95e8cb74246c32d9198991aa1
2019-06-17 05:37:57 +03:00
levlam
e59c88b22d Remove PhotoSizeSource.AsKey.
GitOrigin-RevId: c67a766c4496524393a59ed23801f6a60e5338d0
2019-06-13 02:05:00 +03:00
Arseny Smirnov
4b113527b2 Files: new remote (persistent) id version
GitOrigin-RevId: 9935066e24e9fff6c4b82b57b55ea2d517119b4b
2019-06-12 17:28:00 +03:00
levlam
e5f068e47a Minor fixes.
GitOrigin-RevId: 49ed5d6671efa92dec7b09fa8e7863e3665ea355
2019-06-12 16:05:22 +03:00
levlam
3a2bdc5031 PhotoSizeSource fixes.
GitOrigin-RevId: 7e7aa8a0f4a5daf50548f1dc0c4cc8ff7358942d
2019-06-12 14:42:06 +03:00
Arseny Smirnov
e38afe63cc Add PhotoSizeSource into FullRemoteFileLocation
GitOrigin-RevId: ce4e2c6a4dcd62684aa0916ead9c910afd6e932d
2019-06-11 13:10:14 +03:00
levlam
4c781ebb7b Update layer to 98.
GitOrigin-RevId: 7bc09a6ec637f12b2f90bc1fb6d82903feffc376
2019-06-08 12:26:35 +03:00
levlam
652d2a9570 Add td_api::setBackground.
GitOrigin-RevId: e0c38213b41942ed8a5163ca7eb4ea61caa71d7b
2019-05-10 15:36:37 +03:00
levlam
c2a370262c Better DcId logging.
GitOrigin-RevId: b1fe45b3ecd06ca6869a60124078930b2129b972
2019-05-09 05:01:45 +03:00
levlam
85dd77b02c Initial background support.
GitOrigin-RevId: 14d3a1166f837069c55f40036a633295600524ca
2019-05-07 05:51:56 +03:00
levlam
34fcde6827 Minor fixes.
GitOrigin-RevId: a5d8a4b0b9b9c4e858d7a9a7403bef0de7e009e0
2019-05-22 21:17:24 +03:00
Arseny Smirnov
3ab3c699b7 FileGcWorker and FileStatsWorker: better cancellation
GitOrigin-RevId: d3b251f19eea923906d8bf8c9144b18e8724cedb
2019-05-16 15:05:22 +03:00
Arseny Smirnov
30e1697157 FileGcWorker and FileStatsWorker cancellation
GitOrigin-RevId: 6332bd0800b32a6ca3089223be3995fd06a3118b
2019-05-01 16:15:54 +02:00
levlam
6e95c15790 Remove unneded includes.
GitOrigin-RevId: f8c3d6481c4a6d8ccac6cbae875fa8de98c32bc2
2019-04-30 15:50:26 +03:00