kepka/Telegram/SourceFiles
John Preston 76489a7885 Fix stack overflow in passcode lock check.
A regression was introduced in e209737b1a.

We call MainWindow::doWeReadMentions() in the history paintEvent,
that calls Auth().checkAutoLock() and may start passcode locking.

Passcode locking starts animation and grabs the window content,
calling history paintEvent() which leads to deadlock.

Now we call Auth().checkAutoLock() asyncronously.
2017-09-03 15:45:48 +03:00
..
_other Improve current executable path computing. 2017-08-30 19:15:35 +03:00
base Replace QFlags with base::flags. 2017-09-03 15:45:47 +03:00
boxes Replace QFlags with base::flags. 2017-09-03 15:45:47 +03:00
calls Replace t_assert() with Assert(). 2017-08-30 19:15:42 +03:00
chat_helpers Replace QFlags with base::flags. 2017-09-03 15:45:47 +03:00
codegen Replace QFlags with base::flags. 2017-09-03 15:45:47 +03:00
core Replace QFlags with base::flags. 2017-09-03 15:45:47 +03:00
data Replace t_assert() with Assert(). 2017-08-30 19:15:42 +03:00
dialogs Replace QFlags with base::flags. 2017-09-03 15:45:47 +03:00
history Replace QFlags with base::flags. 2017-09-03 15:45:47 +03:00
inline_bots Replace QFlags with base::flags. 2017-09-03 15:45:47 +03:00
intro Replace t_assert() with Assert(). 2017-08-30 19:15:42 +03:00
lang Replace t_assert() with Assert(). 2017-08-30 19:15:42 +03:00
media Return not_null<History*> in App::history(). 2017-09-03 15:45:43 +03:00
mtproto Replace QFlags with base::flags. 2017-09-03 15:45:47 +03:00
overview Replace t_assert() with Assert(). 2017-08-30 19:15:42 +03:00
platform Replace QFlags with base::flags. 2017-09-03 15:45:47 +03:00
profile Return not_null<History*> in App::history(). 2017-09-03 15:45:43 +03:00
settings Replace QFlags with base::flags. 2017-09-03 15:45:47 +03:00
storage Replace QFlags with base::flags. 2017-09-03 15:45:47 +03:00
ui Replace QFlags with base::flags. 2017-09-03 15:45:47 +03:00
window Replace QFlags with base::flags. 2017-09-03 15:45:47 +03:00
apiwrap.cpp Replace t_assert() with Assert(). 2017-08-30 19:15:42 +03:00
apiwrap.h Replace gsl::not_null<T*> with just not_null<T*>. 2017-08-30 19:15:41 +03:00
app.cpp Replace QFlags with base::flags. 2017-09-03 15:45:47 +03:00
app.h Return not_null<History*> in App::history(). 2017-09-03 15:45:43 +03:00
application.cpp Replace t_assert() with Assert(). 2017-08-30 19:15:42 +03:00
application.h Remove Q_OBJECT dependency from ApiWrap. 2017-04-07 18:13:19 +03:00
auth_session.cpp Replace t_assert() with Assert(). 2017-08-30 19:15:42 +03:00
auth_session.h Replace gsl::not_null<T*> with just not_null<T*>. 2017-08-30 19:15:41 +03:00
autoupdater.cpp Improve current executable path computing. 2017-08-30 19:15:35 +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 Replace t_assert() with Assert(). 2017-08-30 19:15:42 +03:00
facades.h Replace gsl::not_null<T*> with just not_null<T*>. 2017-08-30 19:15:41 +03:00
layerwidget.cpp Replace gsl::not_null<T*> with just not_null<T*>. 2017-08-30 19:15:41 +03:00
layerwidget.h Replace gsl::not_null<T*> with just not_null<T*>. 2017-08-30 19:15:41 +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 Replace QFlags with base::flags. 2017-09-03 15:45:47 +03:00
logs.h Replace t_assert() with Assert(). 2017-08-30 19:15:42 +03:00
main.cpp Finalizing file renaming. 2017-03-04 13:23:56 +03:00
mainwidget.cpp Fix stack overflow in passcode lock check. 2017-09-03 15:45:48 +03:00
mainwidget.h Return not_null<History*> in App::history(). 2017-09-03 15:45:43 +03:00
mainwindow.cpp Replace QFlags with base::flags. 2017-09-03 15:45:47 +03:00
mainwindow.h Display and follow unread mentions in history. 2017-08-30 19:15:13 +03:00
mediaview.cpp Highlight all mentions when marking them read. 2017-08-30 19:15:53 +03:00
mediaview.h Replace gsl::not_null<T*> with just not_null<T*>. 2017-08-30 19:15:41 +03:00
messenger.cpp Replace t_assert() with Assert(). 2017-08-30 19:15:42 +03:00
messenger.h Replace t_assert() with Assert(). 2017-08-30 19:15:42 +03:00
observer_peer.cpp Remove main()->peerUpdated and some other signals. 2017-08-30 19:15:36 +03:00
observer_peer.h Replace QFlags with base::flags. 2017-09-03 15:45:47 +03:00
overviewwidget.cpp Return not_null<History*> in App::history(). 2017-09-03 15:45:43 +03:00
overviewwidget.h Return not_null<History*> in App::history(). 2017-09-03 15:45:43 +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 Improve current executable path computing. 2017-08-30 19:15:35 +03:00
settings.h Add debug logs for window position and autoupdate. 2017-07-03 15:23:41 +03:00
shortcuts.cpp Replace t_assert() with Assert(). 2017-08-30 19:15:42 +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 Replace t_assert() with Assert(). 2017-08-30 19:15:42 +03:00
structs.cpp Replace t_assert() with Assert(). 2017-08-30 19:15:42 +03:00
structs.h Replace QFlags with base::flags. 2017-09-03 15:45:47 +03:00