gnucash/libgnucash/core-utils/test
John Ralls b4fedff90e Provide a single static instance of C++ locale.
We can't use std::locale::global because all streams imbue it by
default and if it's not 'C' (aka std::locale::classic) then we
must imbue all the streams that we don't want localized, and that's
most of them.

Provides error checking for setting the C++ locale from the environment.
This is necessary both because the environment might have an invalid
locale, which would cause an unhandled exception crash.

On windows std::locale("") can't handle some Microsoft-style locale
strings (e.g. Spanish_Spain) so we use boost::locale's gen("") function
to set the locale--though even that can't handle a Microsoft-style
locale string with an appended charset (e.g. Spanish_Spain.1252) and
that's what glibc's setlocale(LC_ALL, NULL) emits.
2019-01-06 10:13:01 -08:00
..
CMakeLists.txt Provide a single static instance of C++ locale. 2019-01-06 10:13:01 -08:00
gtest-path-utilities.cpp Rework directory determination in CMake builds. 2017-12-05 17:25:52 -08:00
test-gnc-glib-utils.c Restructure the src directory 2017-08-10 18:45:00 +02:00
test-resolve-file-path.c Prevent gcc from searching config.h in the current directory 2017-10-26 14:05:17 +02:00
test-userdata-dir-invalid-home.c Improve gnc_data_home verification and creation 2018-02-02 10:24:04 +01:00
test-userdata-dir.c Use a platform dependent package name for gnc_user[config|data]_dir 2018-02-19 22:53:32 +01:00