History log of /external/libcxx/src/locale.cpp
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
73abdfe437fbb56b31ff5872d9ae38f8d9c23e5d 22-Jul-2014 Dan Albert <danalbert@google.com> Fix classic_locale for Android.

Android's classic_locale begins at _ctype_ + 1.

git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@213672 91177308-0d34-0410-b5e6-96231b3b80d8
/external/libcxx/src/locale.cpp
d4ecf9c8c3b240202c61ad97e6458f7a41c26f5f 10-Jul-2014 Marshall Clow <mclow.lists@gmail.com> Add support for BIONIC C library (Android). Patch from Dan Albert

Change-Id: I9ead4d8a1d16e71d57fdc7696457cfcc3de4f713
git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@212724 91177308-0d34-0410-b5e6-96231b3b80d8
/external/libcxx/src/locale.cpp
2517f4fe31291c98c8120e78de0c7a299408bbf1 18-Apr-2014 Dan Albert <danalbert@google.com> Fix classic_table implementation for bionic

Change-Id: I26716b16bddcfb7109f436822067950fd99a5c08
/external/libcxx/src/locale.cpp
2ef012e47441428f752c6a29d2927513669dda30 08-Apr-2014 Dan Albert <danalbert@google.com> Get libc++ building for Android

This adds an Android makefile, aliases locale aware cctype and cwctype
functions, fixes broken configuration in libcxx, and stubs functions missing
from bionic.

Change-Id: I247372d87caabe0310bedc4540b68ab2ed1986c1
/external/libcxx/src/locale.cpp
4c6acb5ecd7fab26583353261fd52a9f7ba2f1e0 04-Jan-2014 Joerg Sonnenberger <joerg@bec.de> Switch to using C++ style casts.


git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@198505 91177308-0d34-0410-b5e6-96231b3b80d8
/external/libcxx/src/locale.cpp
016d4e847a53d310dfac6b0d93782f4221e7700a 19-Nov-2013 Marshall Clow <mclow.lists@gmail.com> Patch by Xing Xue to improve libc++ support for AIX

git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@195144 91177308-0d34-0410-b5e6-96231b3b80d8
/external/libcxx/src/locale.cpp
2ccffefaffc4558adcfa64bec7dc71ade2235937 19-Nov-2013 Marshall Clow <mclow.lists@gmail.com> Patch by Bruce Mitchener. Change all references to EMSCRIPTEN to __EMSCRIPTEN__. If you're not using the PP symbol EMSCRIPTEN, then you should see no functionality change.

git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@195136 91177308-0d34-0410-b5e6-96231b3b80d8
/external/libcxx/src/locale.cpp
a36451371c101fbaf1efd61f66ec2a0721974085 21-Oct-2013 Marshall Clow <mclow.lists@gmail.com> Patch from GM: locale.cpp; make implicit conversions to bool explicit, fix some 'unknown pragma' warnings when compiling under MSVC, and don't use the __sso_allocator under windows, b/c MSVC doesn't support aligned-by value parameters

git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@193086 91177308-0d34-0410-b5e6-96231b3b80d8
/external/libcxx/src/locale.cpp
ef5aa93b9cdc5bfea3e4c59bafd784a9ff968dec 17-Sep-2013 Howard Hinnant <hhinnant@apple.com> G M: Restore the ability for libcxx to compile again on mingw 64.

git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@190837 91177308-0d34-0410-b5e6-96231b3b80d8
/external/libcxx/src/locale.cpp
5143722d1440fccadbfa0848152bd2e9d76e0fcb 30-Aug-2013 Howard Hinnant <hhinnant@apple.com> Xing Xue: Some minor changes for IBM XLC++/AIX.

git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@189623 91177308-0d34-0410-b5e6-96231b3b80d8
/external/libcxx/src/locale.cpp
04a2c71d674a261e65d5afc603b7a3efa77e88ef 29-Aug-2013 Howard Hinnant <hhinnant@apple.com> Turn off extern templates for most uses. It is causing more problems than it is worth. The extern templates will still be built into the dylib, mainly for ABI stability purposes. And the client can still turn these back on with a #define if desire. This fixes http://llvm.org/bugs/show_bug.cgi?id=17027. However there's no associated test for the test suite because http://llvm.org/bugs/show_bug.cgi?id=17027 needs mismatched dylib and headers to fire.

git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@189610 91177308-0d34-0410-b5e6-96231b3b80d8
/external/libcxx/src/locale.cpp
7f76450ee9f14ed646a38f43a09dc49dde413281 14-Aug-2013 Howard Hinnant <hhinnant@apple.com> Xing Xue: port to IBM XLC++/AIX.

git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@188396 91177308-0d34-0410-b5e6-96231b3b80d8
/external/libcxx/src/locale.cpp
e9df0a5c6c864f1ea86486881a3ee559c56105e7 01-Aug-2013 Howard Hinnant <hhinnant@apple.com> Nico Rieck: Currently _MSC_VER and _WIN32 are used to guard code which is
MSVC-specific, MSVCRT-specific, or Windows-specific. Because Clang can
also define _MSC_VER, and MSVCRT is not necessarily the only C runtime,
these macros should not be used interchangeably.

This patch divides all Windows-related bits into the aforementioned
categories. Two new macros are introduced:

- _LIBCPP_MSVC: Defined when compiling with MSVC. Detected using
_MSC_VER, excluding Clang.
- _LIBCPP_MSVCRT: Defined when using the Microsoft CRT. This is the default
when _WIN32 is defined.

This leaves _WIN32 for code using the Windows API.

This also corrects the spelling of _LIBCP_HAS_IS_BASE_OF to _LIBCPP_HAS_IS_BASE_OF.

Nico, please prepare a patch for CREDITS.TXT, thanks.

git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@187593 91177308-0d34-0410-b5e6-96231b3b80d8
/external/libcxx/src/locale.cpp
b87922c2c5d55dc021733d39a99e4297cb60cc31 28-Jul-2013 Howard Hinnant <hhinnant@apple.com> Glen: Minor tweaks to locale.cpp to help it compile with exceptions turned off.

git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@187332 91177308-0d34-0410-b5e6-96231b3b80d8
/external/libcxx/src/locale.cpp
ed14a76beba8f2a0e30f5c66d327d60f87a75921 23-Jul-2013 Howard Hinnant <hhinnant@apple.com> Add some friendly messages to libcxx calls to abort().

git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@186951 91177308-0d34-0410-b5e6-96231b3b80d8
/external/libcxx/src/locale.cpp
0769e6a785f95fe3ec76c8667e142bd6282d0f7e 08-Jul-2013 Howard Hinnant <hhinnant@apple.com> Windows port for __codecvt_utf8<wchar_t>.

git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@185849 91177308-0d34-0410-b5e6-96231b3b80d8
/external/libcxx/src/locale.cpp
9a06b9d017adae19f9289b96303b9985d60403f3 02-Jul-2013 Joerg Sonnenberger <joerg@bec.de> Don't free the C locale on NetBSD.


git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@185467 91177308-0d34-0410-b5e6-96231b3b80d8
/external/libcxx/src/locale.cpp
a71a9526340325a63cfee83be43be30af25a802c 17-May-2013 Joerg Sonnenberger <joerg@bec.de> Add NetBSD support.


git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@182162 91177308-0d34-0410-b5e6-96231b3b80d8
/external/libcxx/src/locale.cpp
be764c946cee6b43b2bcfb4918aea3fa7888deaf 10-May-2013 Joerg Sonnenberger <joerg@bec.de> Don't try to free the C locale.


git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@181559 91177308-0d34-0410-b5e6-96231b3b80d8
/external/libcxx/src/locale.cpp
5328cd307c81224cd57da1a76c567b3dafcc5cd5 09-May-2013 Joerg Sonnenberger <joerg@bec.de> Initialize codecvt explicitly with the C locale, which might not be 0.


git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@181534 91177308-0d34-0410-b5e6-96231b3b80d8
/external/libcxx/src/locale.cpp
e58bc12f2aa9548ec3c5fe657dffa2024b5926c1 02-May-2013 Joerg Sonnenberger <joerg@bec.de> The push/pop variant of pragma GCC diagnostic is only supported by Clang
and GCC 4.6 and newer, so protect accordingly.


git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@180943 91177308-0d34-0410-b5e6-96231b3b80d8
/external/libcxx/src/locale.cpp
63d8f7e341d98bdd7e8d9b52945db01f4708fa3a 02-May-2013 Joerg Sonnenberger <joerg@bec.de> Add explicit casts to unsigned char before calling ctype functions.
Fixes the value range on platforms with signed char.


git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@180940 91177308-0d34-0410-b5e6-96231b3b80d8
/external/libcxx/src/locale.cpp
df4182153c061fae526996ae4f00bf7b01ce7bef 26-Apr-2013 Joerg Sonnenberger <joerg@bec.de> Fix typos.


git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@180598 91177308-0d34-0410-b5e6-96231b3b80d8
/external/libcxx/src/locale.cpp
fc2f021bdd3fd69ff62bfc6ceb5c5264afd4ee7d 29-Mar-2013 Howard Hinnant <hhinnant@apple.com> Bruce Mitchener, Jr.: Port to emscripten. Fixes http://llvm.org/bugs/show_bug.cgi?id=15624.

git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@178354 91177308-0d34-0410-b5e6-96231b3b80d8
/external/libcxx/src/locale.cpp
db4d478ff421cd1b1be254264367ceceebf39481 28-Mar-2013 Howard Hinnant <hhinnant@apple.com> Fix a few warnings/errors for compiling with -fno-exceptions.

git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@178267 91177308-0d34-0410-b5e6-96231b3b80d8
/external/libcxx/src/locale.cpp
a22d2addb1287a7642bfcb211ae2cb21890d1cbd 18-Mar-2013 Marshall Clow <mclow@qualcomm.com> Removed raw references to _WIN32; now just check to see if it is defined.

git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@177291 91177308-0d34-0410-b5e6-96231b3b80d8
/external/libcxx/src/locale.cpp
9ae96d0f21779b8807c6c1be05ab211ea8bde544 07-Feb-2013 Marshall Clow <mclow@qualcomm.com> More libc++ warning suppression on Linux; no functionality change

git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@174636 91177308-0d34-0410-b5e6-96231b3b80d8
/external/libcxx/src/locale.cpp
88c3190d6cb2d365ea2ae86eff5994209e3972fd 07-Feb-2013 Marshall Clow <mclow@qualcomm.com> Clean up some warnings for Linux build; No functionality change

git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@174611 91177308-0d34-0410-b5e6-96231b3b80d8
/external/libcxx/src/locale.cpp
21772ec06376b965fd868a68bcf55e60c5a0dcc9 28-Dec-2012 Howard Hinnant <hhinnant@apple.com> Saleem Abdulrasool: GCC complains about the template functions as potentially not being able to be
inlined. These do not need to be always-inlined for ABI stability because they are not exported beyond this source due to the unnamed namespace.
Also simplified use of the Wmissing-field-initializers pragma as was done for clang.

git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@171202 91177308-0d34-0410-b5e6-96231b3b80d8
/external/libcxx/src/locale.cpp
5f767b7b28b28a1cd1d9950e3dd4b7bedf555d02 28-Dec-2012 Howard Hinnant <hhinnant@apple.com> Saleem Abdulrasool: cleanup a few more compile warnings emitted by GCC.

git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@171173 91177308-0d34-0410-b5e6-96231b3b80d8
/external/libcxx/src/locale.cpp
bf68bdc4edff1d61656e93ea55450186a703ca57 27-Dec-2012 Howard Hinnant <hhinnant@apple.com> Saleem Abdulrasool: avoid hardcoding buffer lengths.

git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@171169 91177308-0d34-0410-b5e6-96231b3b80d8
/external/libcxx/src/locale.cpp
c6e54b964f22f489309e4e98554ddd7a42ccd291 27-Dec-2012 Howard Hinnant <hhinnant@apple.com> Saleem Abdulrasool: This just rounds up a few compile warnings emitted by GCC (4.7.2).

git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@171165 91177308-0d34-0410-b5e6-96231b3b80d8
/external/libcxx/src/locale.cpp
27c836ff3a9c505deb9fd1616012924de8ff9279 22-Dec-2012 Chad Rosier <mcrosier@apple.com> Remove redundant inits. Patch by Eitan Adler.

git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@170967 91177308-0d34-0410-b5e6-96231b3b80d8
/external/libcxx/src/locale.cpp
0a69fa14d2f0521e45a72068c14fe573b140d48b 12-Dec-2012 Howard Hinnant <hhinnant@apple.com> Zhang Xiongpang: Add definitions for const data members. Fixes http://llvm.org/bugs/show_bug.cgi?id=14585.

git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@170026 91177308-0d34-0410-b5e6-96231b3b80d8
/external/libcxx/src/locale.cpp
cd9923623167203ae0477cacb9fa49113595c298 02-Aug-2012 Howard Hinnant <hhinnant@apple.com> Andrew Morrow: The attached patch updates the initialization of the 'struct tm' in
__time_get_storage<char> to match the initialization behavior in
__time_get_storage<wchar>. Without the initialization, valgrind
reports errors in the subsequent calls to strftime_l.

git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@161196 91177308-0d34-0410-b5e6-96231b3b80d8
/external/libcxx/src/locale.cpp
ef793f2513b734d0827825b7857f5745529190d4 02-Aug-2012 Howard Hinnant <hhinnant@apple.com> Andrew Morrow: Among the various libc++ tests that currently don't pass on Linux are
localization/locale.categories/category.collate/category.ctype/locale.ctype.byname/is_1.pass.cpp
and scan_is.pass.cpp. The tests fail when the character class being
tested is compound, like ctype_base::alnum or ctype_base::graph,
because the existing series of conditionals in do_is an do_scan_is
will abort too early. For instance, if the character class being
tested is alnum, and the character is numeric, do_is will return false
because iswalpha_l will return false, 'result' becomes false, and the
'true' result from the later call to iswdigit_l ends up being ignored
. A similar problem exists in do_scan_is.

git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@161192 91177308-0d34-0410-b5e6-96231b3b80d8
/external/libcxx/src/locale.cpp
558ae17391455e18d3cc63ead57ba0b8aba49a3f 10-Mar-2012 Jeffrey Yasskin <jyasskin@google.com> Fix moneypunct_byname algorithm to more accurately represent C locales in C++.

git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@152501 91177308-0d34-0410-b5e6-96231b3b80d8
/external/libcxx/src/locale.cpp
05b57d5cdf8acb3933b5f6f22cc81f9dee7408d2 07-Mar-2012 Howard Hinnant <hhinnant@apple.com> Change some smart_ptr == 0 to smart_ptr == nullptr. Fixes http://llvm.org/bugs/show_bug.cgi?id=12185.

git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@152240 91177308-0d34-0410-b5e6-96231b3b80d8
/external/libcxx/src/locale.cpp
fcbaf48f21daac4d8ca0d75361116b1b7478bcfc 29-Feb-2012 Howard Hinnant <hhinnant@apple.com> Add a warning to ctype<char>::classic_table() if not implemented.

git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@151728 91177308-0d34-0410-b5e6-96231b3b80d8
/external/libcxx/src/locale.cpp
997e4541395abd2db274c3bda04beaf5085e746f 29-Feb-2012 David Chisnall <csdavec@swan.ac.uk> Solaris port. Currently sees around 200 test failures, mostly related to
Solaris not providing some of the locales that the test suite uses.

Note: This depends on an xlocale (partial) implementation for Solaris and a
couple of fixed standard headers. These will be committed to a branch later
today.



git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@151720 91177308-0d34-0410-b5e6-96231b3b80d8
/external/libcxx/src/locale.cpp
335b1518e475a697727b76c9050b48ba6d120a3b 20-Feb-2012 Howard Hinnant <hhinnant@apple.com> Silence -Wmissing-field-initializers a little higher in the source.

git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@150964 91177308-0d34-0410-b5e6-96231b3b80d8
/external/libcxx/src/locale.cpp
3074a05cdcd53569d7c52d224c1adf0681decc0d 19-Feb-2012 Howard Hinnant <hhinnant@apple.com> Initialize all the fields of struct tm before passing it to strftime. One of the uninitialized fields, probably the pointer field tm_zone, was causing a segfault on linux. Patch contributed by Jeffrey Yasskin.

git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@150929 91177308-0d34-0410-b5e6-96231b3b80d8
/external/libcxx/src/locale.cpp
982331b66e7d7beadb8da7764acd5ffe53b20d66 08-Feb-2012 Howard Hinnant <hhinnant@apple.com> Fix up narrowing conversions in switch statement.

git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@150082 91177308-0d34-0410-b5e6-96231b3b80d8
/external/libcxx/src/locale.cpp
ec3773c2dadbeadfc5def927116c2ee9d9c53066 01-Dec-2011 Howard Hinnant <hhinnant@apple.com> Quash a whole bunch of warnings

git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@145624 91177308-0d34-0410-b5e6-96231b3b80d8
/external/libcxx/src/locale.cpp
8db4acad3b67808114c495fc21d4db6e7e277087 17-Oct-2011 Howard Hinnant <hhinnant@apple.com> de-tabbify

git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@142237 91177308-0d34-0410-b5e6-96231b3b80d8
/external/libcxx/src/locale.cpp
14fa9f9d8ff5a4541404f3e23b91188e74c56f31 29-Sep-2011 Howard Hinnant <hhinnant@apple.com> Windows port work by Ruben Van Boxem

git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@140805 91177308-0d34-0410-b5e6-96231b3b80d8
/external/libcxx/src/locale.cpp
3c466fc631a2a474d84ad6c29770a2cbdf40bf1b 29-Sep-2011 Howard Hinnant <hhinnant@apple.com> Windows patch work by Ruben Van Boxem

git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@140781 91177308-0d34-0410-b5e6-96231b3b80d8
/external/libcxx/src/locale.cpp
866569b8c31f680ce95fd403ac5e21bd4552a1b8 29-Sep-2011 Howard Hinnant <hhinnant@apple.com> Attempted locale refactoring. _LIBCPP_LOCALE__L_EXTENSIONS now should be defined if one has all of the xxx_l() functions. I've defined this for apple, freebsd and win32. _LIBCPP_HAS_DEFAULTRUNELOCALE should be defined if there is a _DefaultRuneLocale. I've defined this for apple and freebsd. The block of code we're trying to migrate away from is now under #ifdef __linux__. I've tested only on OS X. I hope I haven't broken things too badly elsewhere. Please let me know.

git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@140734 91177308-0d34-0410-b5e6-96231b3b80d8
/external/libcxx/src/locale.cpp
6cd05eeb35636c33a5cd951a7b5501f51611b469 23-Sep-2011 Howard Hinnant <hhinnant@apple.com> Work on Windows port by Ruben Van Boxem

git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@140384 91177308-0d34-0410-b5e6-96231b3b80d8
/external/libcxx/src/locale.cpp
c512df1950baf9466843b2943855356c031fec08 21-Sep-2011 David Chisnall <csdavec@swan.ac.uk> Fixes for FreeBSD, including some fairly obvious copy-and-paste errors.

libc++ now mostly works on FreeBSD with libcxxrt and this patch applied to the base system:

http://lists.freebsd.org/pipermail/freebsd-hackers/attachments/20110920/e666632c/xlocale-0001.obj

Summary of tests on FreeBSD:


****************************************************
Results for /root/libcxx/test:
using FreeBSD clang version 3.0 (trunk 135360) 20110717
Target: x86_64-unknown-freebsd9.0
Thread model: posix
with -std=c++0x -stdlib=libc++ -I/root/libcxx/include -L/root/libcxx/build/lib
----------------------------------------------------
sections without tests : 1
sections with failures : 48
sections without failures: 1015
+ ----
total number of sections : 1064
----------------------------------------------------
number of tests failed : 145
number of tests passed : 4179
+ ----
total number of tests : 4324
****************************************************

(Many due to this clang version not supporting C++ atomics)

More fixes to follow...



git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@140245 91177308-0d34-0410-b5e6-96231b3b80d8
/external/libcxx/src/locale.cpp
8caf423916fd0d4c3b780a39c28e4b11273a2894 31-Jul-2011 Howard Hinnant <hhinnant@apple.com> Correct misspelling:_LIBCPP_APPLE_STABLE_ABI -> _LIBCPP_STABLE_APPLE_ABI

git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@136597 91177308-0d34-0410-b5e6-96231b3b80d8
/external/libcxx/src/locale.cpp
f3907e6cc0b6ed9e9d4a45a9989ce961df307c8a 15-Jul-2011 Sean Hunt <scshunt@csclub.uwaterloo.ca> Reapply 135035 with proper conditional inclusion, hopefully solving
issues with it.

git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@135246 91177308-0d34-0410-b5e6-96231b3b80d8
/external/libcxx/src/locale.cpp
8d75632ad097796d6c25ec1e19a4e670a4796231 13-Jul-2011 Howard Hinnant <hhinnant@apple.com> Reverted to 134947. Once I got into it, I discovered there were too many problems to fix in 135035.

git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@135044 91177308-0d34-0410-b5e6-96231b3b80d8
/external/libcxx/src/locale.cpp
c97da3a5903449a3a679dd83cca3bd4c136e8d4f 13-Jul-2011 Sean Hunt <scshunt@csclub.uwaterloo.ca> Implement the __nolocale functions properly so that they will work on
all platforms. Unfortunately a lot of this remains conditionally
compiled so as not to break Apple's ABI.

The new _LIBCPP_LOCALE__L_EXTENSIONS macro can be defined on other
platforms that support _l suffixes for all functions in order to use
them.

git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@135035 91177308-0d34-0410-b5e6-96231b3b80d8
/external/libcxx/src/locale.cpp
66f2641ac9a743bebad4997066200a8ed9f69511 09-Jul-2011 Howard Hinnant <hhinnant@apple.com> Toralf Niebuhr: This is just a tiny patch fixing some small (probably copy & paste) errors.

git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@134843 91177308-0d34-0410-b5e6-96231b3b80d8
/external/libcxx/src/locale.cpp
6f0342cf2e4802f6d7948e1c5f59c41b4e25789e 09-Jul-2011 Sean Hunt <scshunt@csclub.uwaterloo.ca> Don't assume that wctype produces a nice mask on all platforms. On
glibc, for instance, it's a const char *.

git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@134787 91177308-0d34-0410-b5e6-96231b3b80d8
/external/libcxx/src/locale.cpp
e59f724f79c5388d6b0a7794fd6d610783bec62d 09-Jul-2011 Sean Hunt <scshunt@csclub.uwaterloo.ca> Conditionally wrap the changes from r134781.

git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@134783 91177308-0d34-0410-b5e6-96231b3b80d8
/external/libcxx/src/locale.cpp
62a6ac33a217b0e5a4c42367c6b72e51497246ae 09-Jul-2011 Sean Hunt <scshunt@csclub.uwaterloo.ca> Implement generalized table lookups for upper, lower, and character
traits.

To the best of my knowledge, this will not break the ABI for Apple.
However, it does introduce three publicly visible (although with
reserved name) functions that will fail to link against the just-shipped
Apple version of libc++. Since they are not used in any inline
functions, no actual breakage should occur.

If Howard doesn't want to put undefined functions (even internal ones)
into a header, they could be surrounded by additional conditional
compilation.

git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@134781 91177308-0d34-0410-b5e6-96231b3b80d8
/external/libcxx/src/locale.cpp
cb05a0801a6273fb850cc4cb3430702ea2a3c101 08-Jul-2011 Sean Hunt <scshunt@csclub.uwaterloo.ca> Fix typo

git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@134650 91177308-0d34-0410-b5e6-96231b3b80d8
/external/libcxx/src/locale.cpp
0949eedbd621bc1611266fb180d9a356ee1eaf9f 30-Jun-2011 Howard Hinnant <hhinnant@apple.com> _STD -> _VSTD to avoid macro clash on windows

git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@134190 91177308-0d34-0410-b5e6-96231b3b80d8
/external/libcxx/src/locale.cpp
d318d49e5c74179d0f4f9a79ab0f54a9531c5513 30-Jun-2011 Howard Hinnant <hhinnant@apple.com> Patch by Petteri Räty, http://llvm.org/bugs/show_bug.cgi?id=8992

git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@134155 91177308-0d34-0410-b5e6-96231b3b80d8
/external/libcxx/src/locale.cpp
c983454d300a3a1f11055c9dbfedf383a58f56ce 31-May-2011 Howard Hinnant <hhinnant@apple.com> noexcept for Chapter 22 [localization].

git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@132337 91177308-0d34-0410-b5e6-96231b3b80d8
/external/libcxx/src/locale.cpp
1694d23e23d41c4037111d96324c0c16c744c09d 28-May-2011 Howard Hinnant <hhinnant@apple.com> noexcept for <memory>. I've added a few extension noexcept to: allocator_traits<A>::deallocate, allocaate<T>::deallocate, return_temporary_buffer, and default_delete<T>::operator()(T*) const. My rationale was: If a std-dicated noexcept function needs to call another std-defined function, that called function must be noexcept. We're all a little new to noexcept, so things like this are to be expected. Also included fix for broken __is_swappable trait pointed out by Marc Glisse, thanks Marc|. And fixed a test case for is_nothrow_destructible. Destructors are now noexcept by default|

git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@132261 91177308-0d34-0410-b5e6-96231b3b80d8
/external/libcxx/src/locale.cpp
626916fc255c40bc45e0f20ee69faf48f5094cac 10-Dec-2010 Michael J. Spencer <bigcheesegs@gmail.com> Add CMake build and fix major Linux blockers.

git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@121510 91177308-0d34-0410-b5e6-96231b3b80d8
/external/libcxx/src/locale.cpp
b64f8b07c104c6cc986570ac8ee0ed16a9f23976 16-Nov-2010 Howard Hinnant <hhinnant@apple.com> license change

git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@119395 91177308-0d34-0410-b5e6-96231b3b80d8
/external/libcxx/src/locale.cpp
16e6e1d72fd6a10fc165eba4ca4ed2fa7c45df78 22-Aug-2010 Howard Hinnant <hhinnant@apple.com> Fixing whitespace problems

git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@111751 91177308-0d34-0410-b5e6-96231b3b80d8
/external/libcxx/src/locale.cpp
d444470d6cd1cad554139c4ba7f3c4f3fe921a5d 11-Aug-2010 Howard Hinnant <hhinnant@apple.com> now works with -fno-exceptions and -fno-rtti

git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@110828 91177308-0d34-0410-b5e6-96231b3b80d8
/external/libcxx/src/locale.cpp
d23b464e21648e252d5ae501b2db2e93dc02b1f7 31-May-2010 Howard Hinnant <hhinnant@apple.com> [conversions.string]

git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@105254 91177308-0d34-0410-b5e6-96231b3b80d8
/external/libcxx/src/locale.cpp
87d1a8a4d81892ccfaf1319d056880e89a17528e 30-May-2010 Howard Hinnant <hhinnant@apple.com> [locale.stdcvt]

git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@105174 91177308-0d34-0410-b5e6-96231b3b80d8
/external/libcxx/src/locale.cpp
adff4895b2746f30b271bc219713e7ded5ae9677 24-May-2010 Howard Hinnant <hhinnant@apple.com> patch by Jeffrey Yasskin for porting to Ubuntu Hardy. Everything was accepted except there were some bug fixes needed in <locale> for the __nolocale_* series. For the apple branch I ended up using templates instead of the var_args solution because it seemed both safer and more efficient.

git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@104516 91177308-0d34-0410-b5e6-96231b3b80d8
/external/libcxx/src/locale.cpp
f5256e16dfc425c1d466f6308d4026d529ce9e0b 11-May-2010 Howard Hinnant <hhinnant@apple.com> Wiped out some non-ascii characters that snuck into the copyright.

git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@103516 91177308-0d34-0410-b5e6-96231b3b80d8
/external/libcxx/src/locale.cpp
bc8d3f97eb5c958007f2713238472e0c1c8fe02c 11-May-2010 Howard Hinnant <hhinnant@apple.com> libcxx initial import

git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@103490 91177308-0d34-0410-b5e6-96231b3b80d8
/external/libcxx/src/locale.cpp