Commit Graph

2815 Commits

Author SHA1 Message Date
levlam
116f0028a2 Make G() safe.
GitOrigin-RevId: d417008f94ce6f8c587561af352d696ef55895b3
2019-08-01 22:12:04 +03:00
levlam
84dba6cd8e Add Debian 10 to build instructions generator.
GitOrigin-RevId: 10a156b2d27bcda835e4177ef09d0d8b5c82c511
2019-08-01 21:47:59 +03:00
Arseny Smirnov
420a0e43af NativeFd: remove on_release_fd method
GitOrigin-RevId: 16c5d50b2a796767865b4ee32b8c2492655bd529
2019-08-01 19:43:36 +03:00
Arseny Smirnov
0517c8ff4a SecureManager: reupload file on SECURE_SECRET_INVALID error
GitOrigin-RevId: 93b2fb8a5b48511720efcceabd3055bc0c49409b
2019-08-01 18:26:43 +03:00
levlam
24f1a2214a Fix warnings.
GitOrigin-RevId: dbfa557bcf9dc3cd63dd5cbbbed9d23b48a5b627
2019-08-01 19:09:10 +03:00
Arseny Smirnov
c2c32c4e2b Session: fix key deletion in http connections
GitOrigin-RevId: ddc80efe78a0a11dee7eb21c55d7efdd76a2be1d
2019-08-01 16:03:18 +03:00
Arseny Smirnov
331c8b52c1 FileLoader: add comment about FILE_UPLOAD_RESTART
GitOrigin-RevId: e8fb51da493cacd00af5ec7585cd8a95b605838a
2019-08-01 16:03:11 +03:00
Arseny Smirnov
b0ad2ad190 Fix TD_FD_DEBUG
GitOrigin-RevId: fd4ace2ccc618d1e43aff9226aa1d2777aa6874d
2019-08-01 07:06:43 +03:00
levlam
4531950aaf Remove unused field.
GitOrigin-RevId: 00e6b70cb12fd356f029ee94fb2c3f96e15c8a91
2019-08-01 06:32:49 +03:00
levlam
457f3424aa Fix TD_FD_DEBUG mode.
GitOrigin-RevId: ba9eb0f51308f865802947eeaef46e7adaa2608f
2019-08-01 05:11:55 +03:00
levlam
a82e80be0a Fix CE.
GitOrigin-RevId: 686b83e2202c35f811bd4fd56d80b3e6970c4f2c
2019-08-01 04:55:56 +03:00
levlam
11c0fcc6ec Do not create documents without file_id.
GitOrigin-RevId: c208baf37b108ffb256c3a39dee0459fc081f017
2019-08-01 03:58:49 +03:00
levlam
108dc0d4f8 Remove END_PARSE_FLAGS_GENERIC.
GitOrigin-RevId: c9a47a56158829aca0572bab1497e3aebcc7216d
2019-08-01 03:40:28 +03:00
levlam
df0d6c7f5e Fix get_chat_admin_rights.
GitOrigin-RevId: 4315835cf6520037004b9c65832babfc4d4e5d9b
2019-08-01 03:11:33 +03:00
levlam
dacd81a8fa NativeFd fixes.
GitOrigin-RevId: b792887066dc5f004f3d4f61224840be4cd01eeb
2019-08-01 02:48:34 +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
bc1e26779f Epoll: use NativeFd
GitOrigin-RevId: a4ff097abcf03cc7ac3a918969762c1539a19644
2019-07-31 13:45:15 +03:00
Arseny Smirnov
115fba770f TD_FD_DEBUG: cmake option to debug EINVAL errors
GitOrigin-RevId: d0bd1be3a16b94a71c45ec4cca5f42e1364a3200
2019-07-31 12:18:48 +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
cfe7b95be5 Do not replace known width and height of animated stickers.
GitOrigin-RevId: 0b74a1ffe07608c9d1ac447e5d471cc706894cbd
2019-07-30 19:41:49 +03:00
levlam
6464b302e9 Remove delete_dialog_history_from_server debug.
GitOrigin-RevId: f487ebd62f726c0e2ae8e53c3658081cd474c34f
2019-07-30 19:33:58 +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
Arseny Smirnov
f78018be61 remove .ycm_extra_conf.py
GitOrigin-RevId: ac0fdd3a6e8246c1fe73471935a3858c50ca589c
2019-07-30 17:35:33 +03:00
Arseny Smirnov
06efc32de9 Actors: destroy events in mailbox in context of actor
GitOrigin-RevId: f3b47e7b80889a65ead6a30e918513409df4c667
2019-07-30 16:22:43 +03:00
levlam
a7005ee358 Add reload_user.
GitOrigin-RevId: f13879bb21e7978f009f5eb8e0f768c089a1061e
2019-07-30 15:10:02 +03:00
levlam
a7d7882931 Fix misprint.
GitOrigin-RevId: 919dcb9bc3d21c4006a24de32dfc1f6e25056e4f
2019-07-30 00:43:08 +03:00
levlam
09aa775fe7 Allow to call CheckAuthenticationBotToken multiple times.
GitOrigin-RevId: ee1f6bd74f0e7d573afade705b47102aa51e5317
2019-07-28 21:17:47 +03:00
levlam
17b1222a9a tg_cli: add minadmin.
GitOrigin-RevId: 9dcc1da628b445a227be556185af1e474c5fd1cf
2019-07-28 20:34:53 +03:00
levlam
66bf58ca0e Fix rights check in generateChatInviteLink.
GitOrigin-RevId: 241f4368ea9baabe479655959f724eb4b591c9e4
2019-07-28 17:36:25 +03:00
levlam
e4a0d5937a Use correct case for Windows headers just in case.
GitOrigin-RevId: 8feb29c14e61ed6988e1ec56c35df40d8b8b09e7
2019-07-28 17:04:59 +03:00
levlam
dd3cc765ba Ignore duplicate SetPollAnswer logevent.
GitOrigin-RevId: 93a75f66765c7e578ededa16b03d21385182db3d
2019-07-27 23:16:22 +03:00
levlam
981d2bd8fe Better UTF-8 validness checks for text before parsing.
GitOrigin-RevId: 9578d9fb69da619cee706d61687bf904b9cdf2ad
2019-07-27 23:07:10 +03:00
levlam
d3091e3374 Update td_api::phoneNumberAuthenticationSettings class.
GitOrigin-RevId: 98dd6d4c5a5521e69b3dc51c648c6ca7af1ffae7
2019-07-27 18:16:12 +03:00
levlam
fca1fcc789 Documentation improvements.
GitOrigin-RevId: a0cbc3baa32f3f5e2b2b73814daf060c2484df3d
2019-07-27 17:53:07 +03:00
levlam
126be85b0f Use Slice == instead of std::memcmp if possible.
GitOrigin-RevId: fc40339f1fa51ad2995f875b5a855bfebfb87b06
2019-07-27 01:42:18 +03:00
levlam
f432abcce4 Use copy_from instead of memcoy if possible.
GitOrigin-RevId: 63981da8864d16ce46bca4b9580e7d9613c837c5
2019-07-27 01:27:22 +03:00
levlam
cf329420db Mtproto: move KDF to separate files.
GitOrigin-RevId: 5f57db386ccc90692180a34b84387ffd46d5f311
2019-07-27 00:39:39 +03:00
levlam
06e587a5f3 Improve documentation.
GitOrigin-RevId: d493d4c9a623acc454c26fb65f96ed521be59c49
2019-07-26 22:38:55 +03:00
levlam
8094d415db Add support for animated stickers in inline bot results.
GitOrigin-RevId: a25f45ef24aad2e92d461718a6f3b0ba101cdd76
2019-07-26 03:40:40 +03:00
levlam
3fac3f7860 Prefer animated stickers in getStickers.
GitOrigin-RevId: 1652ae43c36ebcb69752042cebb5dc8407558c06
2019-07-26 02:54:35 +03:00
levlam
912ab17351 Add cache revalidation for users, chats and channels.
GitOrigin-RevId: 3377a27326ab76d13c89fbe2eb5ef88ce6564e0b
2019-07-26 00:05:16 +03:00
levlam
8d132d9505 Fix CE.
GitOrigin-RevId: 925d3fbd4a7414caffe7269b7283246bdc03d0a2
2019-07-25 00:00:21 +03:00
levlam
78dd033988 Fix call to CreateFile2.
GitOrigin-RevId: 71fad1b8484402e997b07641552205894d0e1c3e
2019-07-24 15:30:50 +03:00
levlam
527c88ca88 Adjust new chat member status for Bot API backward compatibility.
GitOrigin-RevId: 04bbe38639bde8c7ab0b8bc527b8df833d496c81
2019-07-24 05:33:46 +03:00
levlam
2f39a42441 Add TRY_RESULT_ASSIGN.
GitOrigin-RevId: ef2a42ead0014285eb29355f132ce093af337770
2019-07-24 05:10:32 +03:00
levlam
ec3d9b7b3c Add check_proxy benchmark.
GitOrigin-RevId: 36ec86e51eab1f94d96a135b19c808ee83daa3e2
2019-07-24 00:53:08 +03:00