tdesktop/Telegram/SourceFiles
John Preston 2444acb041 Fix image data forgetting.
In case image was almost loaded (loader was ready, but not destroyed yet),
forget() didn't do anything, leaving bytes and image inside loader untouched.

Now we check loader state in forget() so that bytes and image are passed to
Image instance before they're forgot from the memory. This will improve memory
clearing while scrolling through chats with images and switching between them.
2018-10-09 19:27:18 +03:00
..
_other Fix possible buffer overflow in Linux Updater. 2018-10-09 19:27:18 +03:00
base Optimize base::weak_ptr. 2018-10-09 19:27:16 +03:00
boxes Improved calendar layout for export. 2018-10-09 19:27:17 +03:00
calls Fix build for Xcode 10. 2018-09-19 19:22:14 +03:00
chat_helpers Read and autocomplete templates (support). 2018-10-09 19:27:16 +03:00
codegen Update API scheme to layer 84. 2018-08-11 22:03:34 +03:00
core Use black icon for support mode (support). 2018-10-09 19:27:17 +03:00
data Fix memory leak in reply previews. 2018-10-09 19:27:18 +03:00
dialogs Don't scroll dialogs up (support). 2018-10-09 19:27:17 +03:00
export Improved calendar layout for export. 2018-10-09 19:27:17 +03:00
history Draw map point on HistoryLocation. 2018-10-09 19:27:18 +03:00
info Move back by Back key in Intro / Info / Settings. 2018-09-27 17:28:57 +03:00
inline_bots Finish animations disabling. 2018-09-20 21:26:10 +03:00
intro Disable notifications on login (support). 2018-10-09 19:27:18 +03:00
lang Use current language in change language box. 2018-09-21 13:49:13 +03:00
media Move to std::optional. 2018-09-21 19:28:46 +03:00
mtproto Move to std::optional. 2018-09-21 19:28:46 +03:00
old_settings Replace App::self() with Auth().user(). 2018-09-19 19:22:13 +03:00
overview Finish animations disabling. 2018-09-20 21:26:10 +03:00
passport Move to std::optional. 2018-09-21 19:28:46 +03:00
platform Closed alpha bersion 1.4.0.1: Fix macOS build. 2018-10-09 19:27:17 +03:00
profile Replace App::self() with Auth().user(). 2018-09-19 19:22:13 +03:00
rpl Add UI to specify export time range. 2018-10-09 19:27:17 +03:00
settings Show toast when reloading templates (support). 2018-10-09 19:27:17 +03:00
storage Load maps using mtproto instead of google. 2018-10-09 19:27:18 +03:00
support Don't switch chats on ctrl+shift+send (support). 2018-10-09 19:27:18 +03:00
ui Fix image data forgetting. 2018-10-09 19:27:18 +03:00
window Use black icon for support mode (support). 2018-10-09 19:27:17 +03:00
apiwrap.cpp Don't switch chats on ctrl+shift+send (support). 2018-10-09 19:27:18 +03:00
apiwrap.h Don't switch chats on ctrl+shift+send (support). 2018-10-09 19:27:18 +03:00
app.cpp Add autoupdating for templates (support). 2018-10-09 19:27:17 +03:00
app.h Add autoupdating for templates (support). 2018-10-09 19:27:17 +03:00
application.cpp Add base::ConcurrentTimer. 2018-09-01 18:56:08 +03:00
application.h Add a confirmation for internal passport links. 2018-07-31 20:56:54 +03:00
auth_session.cpp Read and autocomplete templates (support). 2018-10-09 19:27:16 +03:00
auth_session.h Read and autocomplete templates (support). 2018-10-09 19:27:16 +03:00
config.h Swap 'alpha' and 'beta'. Happy debugging! 2018-09-26 21:23:08 +03:00
countries.h Use single LEGAL file with license and copyright. 2018-01-03 13:23:14 +03:00
facades.cpp Allow any version to be used as a portable. 2018-10-09 19:27:16 +03:00
facades.h Allow any version to be used as a portable. 2018-10-09 19:27:16 +03:00
layout.cpp Fix / improve support for album items selection. 2018-02-08 12:20:52 +03:00
layout.h Fix / improve support for album items selection. 2018-02-08 12:20:52 +03:00
logs.cpp Allow any version to be used as a portable. 2018-10-09 19:27:16 +03:00
logs.h Clear old versions of Storage::Cache::Database. 2018-09-01 18:56:08 +03:00
main.cpp Use single LEGAL file with license and copyright. 2018-01-03 13:23:14 +03:00
mainwidget.cpp Read chats only on sending (support). 2018-10-09 19:27:16 +03:00
mainwidget.h Fix client side generated changelogs display. 2018-09-27 23:31:48 +03:00
mainwindow.cpp Use black icon for support mode (support). 2018-10-09 19:27:17 +03:00
mainwindow.h Fix client side generated changelogs display. 2018-09-27 23:31:48 +03:00
mediaview.cpp Fix client side generated changelogs display. 2018-09-27 23:31:48 +03:00
mediaview.h Move to std::optional. 2018-09-21 19:28:46 +03:00
messenger.cpp Load maps using mtproto instead of google. 2018-10-09 19:27:18 +03:00
messenger.h Move to std::optional. 2018-09-21 19:28:46 +03:00
observer_peer.cpp Use "Feed" name for chats list index and search. 2018-02-08 12:20:51 +03:00
observer_peer.h Mark [un]read from chats list. 2018-06-27 22:58:32 +01:00
qt_static_plugins.cpp Use single LEGAL file with license and copyright. 2018-01-03 13:23:14 +03:00
settings.cpp Allow fix chats order and auto switch (support). 2018-10-09 19:27:16 +03:00
settings.h Allow fix chats order and auto switch (support). 2018-10-09 19:27:16 +03:00
shortcuts.cpp Request, show and require accept for updated ToS. 2018-06-06 21:37:01 +03:00
shortcuts.h Use single LEGAL file with license and copyright. 2018-01-03 13:23:14 +03:00
stdafx.cpp Use single LEGAL file with license and copyright. 2018-01-03 13:23:14 +03:00
stdafx.h Move to std::optional. 2018-09-21 19:28:46 +03:00