bdk-blender/intern/locale
Ankit Meel 8e237d83f2 Fix T88877: 2.93: Crash on recent OSX with a non-English locale.
Looks like OSX changed the default format of its locale, which is not
valid anymore for gettext/boost::locale.

Solution based on investigations and patch by Kieun Mun (@kieuns), with
some further tweaks by Ankit Meel (@ankitm), many thanks.

Also add an exception catcher on `std::runtime_error` in
`bl_locale_set()`, since in OSX catching the ancestor `std::exception`
does not work with `boost::locale::conv::conversion_error` and the like
for some reasons.

Reviewed By: #platform_macos, brecht

Maniphest Tasks: T88877

Differential Revision: https://developer.blender.org/D13019
2021-11-02 13:15:45 +01:00
..
boost_locale_wrapper.cpp Fix T88877: 2.93: Crash on recent OSX with a non-English locale. 2021-11-02 13:15:45 +01:00
boost_locale_wrapper.h ClangFormat: apply to source, most of intern 2019-04-17 06:21:24 +02:00
CMakeLists.txt CMake: Refactor external dependencies handling 2020-01-23 16:59:18 +01:00
osx_user_locale.mm Fix T88877: 2.93: Crash on recent OSX with a non-English locale. 2021-11-02 13:15:45 +01:00