tdesktop/Telegram/SourceFiles/platform
John Preston 19ce1edc16 Use base::SafeRound instead of std::round.
Previous assertion violations because of NaN from std::round were
in video streaming, see commits 27d58ba07b, 8f5830d520.

Now the crashes happened in the ConvertScale() call from a background
thread when preparing an image from clipboard for sending to a chat.
2021-09-27 12:13:57 +04:00
..
linux On FreeBSD the system malloc is jemalloc and non-portable 2021-09-15 23:24:39 +03:00
mac Use base::SafeRound instead of std::round. 2021-09-27 12:13:57 +04:00
win Rewrite bingmaps check to C++/WinRT. 2021-09-26 17:17:57 +04:00
platform_audio.h Use Q_OS_UNIX instead of Q_OS_LINUX since linux-specific code can be used also on *BSD/Haiku 2020-06-17 20:33:23 +04:00
platform_file_bookmark.h Move Media::Clip::Reader and FileLocation to td_ui. 2020-10-30 18:32:18 +03:00
platform_file_utilities.h Use some methods from lib_base 2020-10-30 10:52:49 +03:00
platform_launcher.h Use Q_OS_UNIX instead of Q_OS_LINUX since linux-specific code can be used also on *BSD/Haiku 2020-06-17 20:33:23 +04:00
platform_main_window.h Use Q_OS_UNIX instead of Q_OS_LINUX since linux-specific code can be used also on *BSD/Haiku 2020-06-17 20:33:23 +04:00
platform_notifications_manager.h Respect Focus Assist only for native notifications. 2021-04-28 11:20:39 +04:00
platform_specific.h Revert "Use gtk clipboard when available to avoid https://bugreports.qt.io/browse/QTBUG-56595" 2021-08-12 08:51:10 +03:00
platform_window_title.h Switch MainWindow to Ui::RpWindow 2021-07-28 18:05:39 +03:00