tdesktop/Telegram/SourceFiles
John Preston f2801d4775 Fix possible crash in file download after error.
Regression was introduced in 2fa2fa41c5.

In file download failed handler we suggest to try to load the file
once again to the same location. After some changes we started to
forget filename before failed handler. That resulted in large files
loading to memory instead of hard drive.

Add a precondition in FileLoader to prevent such bugs in the future.
2017-08-30 19:15:34 +03:00
..
_other Support non-standard binary names in autoupdater. 2017-05-30 21:26:53 +03:00
base Add and use base::make_weak_unique() helper. 2017-08-30 19:15:28 +03:00
boxes Remove ContactsBox and contacts_box module. 2017-08-30 19:15:30 +03:00
calls Add and use base::make_weak_unique() helper. 2017-08-30 19:15:28 +03:00
chat_helpers Apply faved stickers limit when faving. 2017-08-30 19:15:31 +03:00
codegen Move a lot of code from scheme.h to scheme.cpp. 2017-08-25 14:39:32 +03:00
core Replace ContactsBox with PeerListBox in two cases. 2017-08-30 19:15:27 +03:00
data Some refactoring in working with text entities. 2017-07-06 14:37:42 +03:00
dialogs Remove old crash debug information. 2017-08-30 19:15:33 +03:00
history Hide "Ban Users" admin rights changes in channels. 2017-08-30 19:15:32 +03:00
inline_bots Use nullptr instead of std::unique_ptr<Type>(). 2017-08-30 19:15:25 +03:00
intro Use gsl::finally() instead of base::scope_guard(). 2017-08-30 19:15:26 +03:00
lang Add and use base::make_weak_unique() helper. 2017-08-30 19:15:28 +03:00
media Fix possible crash in file download after error. 2017-08-30 19:15:34 +03:00
mtproto Add and use base::make_weak_unique() helper. 2017-08-30 19:15:28 +03:00
overview Move MediaView from MainWindow to Messenger. 2017-08-25 14:39:27 +03:00
platform Remove ContactsBox and contacts_box module. 2017-08-30 19:15:30 +03:00
profile Remove ContactsBox and contacts_box module. 2017-08-30 19:15:30 +03:00
settings Replace ContactsBox with PeerListBox in two cases. 2017-08-30 19:15:27 +03:00
storage Fix possible crash in file download after error. 2017-08-30 19:15:34 +03:00
ui Remove ContactsBox and contacts_box module. 2017-08-30 19:15:30 +03:00
window Remove ContactsBox and contacts_box module. 2017-08-30 19:15:30 +03:00
apiwrap.cpp Replace group admins ContactsBox with PeerListBox. 2017-08-30 19:15:28 +03:00
apiwrap.h Replace group admins ContactsBox with PeerListBox. 2017-08-30 19:15:28 +03:00
app.cpp Move MediaView from MainWindow to Messenger. 2017-08-25 14:39:27 +03:00
app.h Remove App::app(), App::uploader(), App::api(). 2017-08-25 14:39:18 +03:00
application.cpp Add megagroup stickerset to StickersListWidget. 2017-08-25 14:39:13 +03:00
application.h Remove Q_OBJECT dependency from ApiWrap. 2017-04-07 18:13:19 +03:00
auth_session.cpp Use QDataStream directly on QByteArray. 2017-08-25 14:39:30 +03:00
auth_session.h Move MediaView from MainWindow to Messenger. 2017-08-25 14:39:27 +03:00
autoupdater.cpp Use QDataStream directly on QByteArray. 2017-08-25 14:39:30 +03:00
autoupdater.h Version 1.0 stable: bump copyright date to 2017. 2017-01-11 23:02:13 +04:00
config.h Fix possible crash in file download after error. 2017-08-30 19:15:34 +03:00
countries.h Version 1.0 stable: bump copyright date to 2017. 2017-01-11 23:02:13 +04:00
facades.cpp Remove some App::wnd() occurences. 2017-08-25 14:39:28 +03:00
facades.h Remove some App::wnd() occurences. 2017-08-25 14:39:28 +03:00
layerwidget.cpp Apply faved stickers limit when faving. 2017-08-30 19:15:31 +03:00
layerwidget.h Suggest faved stickers by emoji. 2017-08-25 14:39:12 +03:00
layout.cpp Parse bold / italic markdown entities. 2017-07-06 16:44:11 +03:00
layout.h Add some more colors for theming. 2017-06-30 09:21:44 +03:00
logs.cpp Select exception users in EditPrivacyBox. 2017-03-18 12:49:46 +03:00
logs.h Version 1.0 stable: bump copyright date to 2017. 2017-01-11 23:02:13 +04:00
main.cpp Finalizing file renaming. 2017-03-04 13:23:56 +03:00
mainwidget.cpp Replace add bot to group box with PeerListBox. 2017-08-30 19:15:29 +03:00
mainwidget.h Display and follow unread mentions in history. 2017-08-30 19:15:13 +03:00
mainwindow.cpp Remove ContactsBox and contacts_box module. 2017-08-30 19:15:30 +03:00
mainwindow.h Display and follow unread mentions in history. 2017-08-30 19:15:13 +03:00
mediaview.cpp Display and follow unread mentions in history. 2017-08-30 19:15:13 +03:00
mediaview.h Display and follow unread mentions in history. 2017-08-30 19:15:13 +03:00
messenger.cpp Remove some App::wnd() occurences. 2017-08-25 14:39:28 +03:00
messenger.h Remove some App::wnd() occurences. 2017-08-25 14:39:28 +03:00
observer_peer.cpp Finalize rename / move of files. 2017-04-07 18:13:18 +03:00
observer_peer.h Replace ContactsBox with PeerListBox in two cases. 2017-08-30 19:15:27 +03:00
overviewwidget.cpp Display and follow unread mentions in history. 2017-08-30 19:15:13 +03:00
overviewwidget.h Display and follow unread mentions in history. 2017-08-30 19:15:13 +03:00
passcodewidget.cpp Switch to the server side changelogs. 2017-06-29 11:40:00 +03:00
passcodewidget.h Version 1.0 stable: bump copyright date to 2017. 2017-01-11 23:02:13 +04:00
qt_static_plugins.cpp Add hime inputcontext plugin for linux version 2017-06-29 10:49:31 +03:00
settings.cpp Show change language link in intro. 2017-06-29 11:39:48 +03:00
settings.h Add debug logs for window position and autoupdate. 2017-07-03 15:23:41 +03:00
shortcuts.cpp Display and follow unread mentions in history. 2017-08-30 19:15:13 +03:00
shortcuts.h Using media player for voice / video messages. 2017-05-24 16:25:12 +03:00
stdafx.cpp Removed #include "stdafx.h" from all files. 2017-03-04 12:27:52 +03:00
stdafx.h Add base::optional as a wrapper of base::variant. 2017-08-30 19:15:21 +03:00
structs.cpp Fix possible crash in file download after error. 2017-08-30 19:15:34 +03:00
structs.h Add megagroup stickerset to StickersListWidget. 2017-08-25 14:39:13 +03:00