11624459efStarting on musl port by Arvid Picciani
Howard Hinnant
2011-10-11 16:00:46 +00:00
bc90e2a47dRemove -Wglobal-constructors from flags. This was an accidental addition.
Howard Hinnant
2011-10-10 17:36:59 +00:00
907732644cUpdate instructions for building on Mac OS 10.6
Howard Hinnant
2011-10-09 15:25:34 +00:00
b97de44471Fix <rdar://problem/10256836> getline of an empty string mistakenly causes failure
Howard Hinnant
2011-10-09 15:20:46 +00:00
c6fe8cafc3Fix <rdar://problem/10255403> match_results::begin() is off by one
Howard Hinnant
2011-10-08 14:36:16 +00:00
fdcbd1db25reverting change to compatibility_version
Howard Hinnant
2011-10-07 23:55:11 +00:00
e0a0e51248Change compatibility_version
Howard Hinnant
2011-10-07 19:52:29 +00:00
9677458967Fix <rdar://problem/10136825>
Howard Hinnant
2011-10-04 23:11:56 +00:00
15e48f9239Fix <rdar://problem/10226704>
Howard Hinnant
2011-10-04 01:25:20 +00:00
c0d0cbad9eWindows porting work by Ruben Van Boxem
Howard Hinnant
2011-10-03 15:23:59 +00:00
8452d21f41Updated testit to run on Windows and fresh Windows results by Ruben Van Boxem
Howard Hinnant
2011-10-01 15:34:27 +00:00
f8800b12c5Fix <rdar://problem/10217868>.
Howard Hinnant
2011-10-01 00:26:36 +00:00
2481cba8b7Provide link to developer's policy
Howard Hinnant
2011-09-30 16:58:02 +00:00
14fa9f9d8fWindows port work by Ruben Van Boxem
Howard Hinnant
2011-09-29 20:33:10 +00:00
3c466fc631Windows patch work by Ruben Van Boxem
Howard Hinnant
2011-09-29 13:33:15 +00:00
866569b8c3Attempted 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.
Howard Hinnant
2011-09-28 23:39:33 +00:00
efbe4067f2Work on Windows port by Ruben Van Boxem
Howard Hinnant
2011-09-28 21:39:20 +00:00
2ea1ca9bddAttempt to enable locale simplification. On which platforms can we now #define _LIBCPP_STABLE_APPLE_ABI?
Howard Hinnant
2011-09-28 21:05:01 +00:00
0cbb3a16e2Ruben's Windows test results.
Howard Hinnant
2011-09-28 15:44:39 +00:00
1c3ec6d480Another installment on debug mode. This addresses list. However this should be considered a temporary state. The API of the debug database and how vector and list use it, is unsatisfactory at the moment. It is both inefficient and overly verbose. I wanted to get this functionality checked in though. In the next day or so I'll refactor what is there in an attempt to streamline things.
Howard Hinnant
2011-09-27 23:55:03 +00:00
6cd05eeb35Work on Windows port by Ruben Van Boxem
Howard Hinnant
2011-09-23 16:11:27 +00:00
92a07003b2Partial Windows port by Ruben Van Boxem
Howard Hinnant
2011-09-22 19:10:18 +00:00
59832523acFix test bugs found by David Chisnall
Howard Hinnant
2011-09-21 18:33:46 +00:00
9e02b90405Fix locales used in re tests.
David Chisnall
2011-09-21 17:38:03 +00:00
2fb1a9d1e8Remove undefines in cstdio test. Fix these properly rather than bodging the tests.
David Chisnall
2011-09-21 17:37:18 +00:00
86698890dbMore +.UTF-8 fixes.
David Chisnall
2011-09-21 17:35:42 +00:00
709c3d27f5Fix failure found by David Chisnall
Howard Hinnant
2011-09-21 16:42:32 +00:00
336f41ae0cCorrect change to exception.cpp from r140245
Howard Hinnant
2011-09-21 15:12:26 +00:00
db2e99f852More fixes to the tests. Add UTF-8 encoding to all locales that don't specify one. Undefine some stdio.h macros that break the tests.
David Chisnall
2011-09-21 14:59:10 +00:00
a824f53600Fully-qualify some more locales in the tests...
David Chisnall
2011-09-21 14:48:49 +00:00
eb2c855c44Don't check STREAMS error numbers on systems that don't implement the obsolete (as described in POSIX2008) XSI STREAMS extension.
David Chisnall
2011-09-21 12:23:11 +00:00
6b8ac3acdaMore locale cleanups. Fully specify locales in iostream tests.
David Chisnall
2011-09-21 12:09:17 +00:00
c512df1950Fixes for FreeBSD, including some fairly obvious copy-and-paste errors.
David Chisnall
2011-09-21 08:39:44 +00:00
e2f2a15066Localisation test fixes to make the tests pass on FreeBSD, which does not provide shortened forms of the various locales (e.g. en_US, rather than en_US.UTF-8 / en_US.ISO{whatever}).
David Chisnall
2011-09-21 08:19:20 +00:00
e6125bdeaeChris Jefferson noted that vector iterator ownership can be transferred from source to target under move construction and move assignment. This commit makes that happen for debug mode.
Howard Hinnant
2011-09-19 16:34:29 +00:00
be969d7c7dRemoved unneeded boost implementation of is_base_of
Howard Hinnant
2011-09-19 13:19:31 +00:00
68ebc448f0Enable __locale to work on FreeBSD.
David Chisnall
2011-09-18 19:23:04 +00:00
7608b4aac2Doug Gregor pointed out some problems with debug mode enabled in one TU and not another. This patch helps detect those situations and offers improved error messages to help get debug mode enabled in more TU's when it is absolutely necessary to do so. Thanks Doug.
Howard Hinnant
2011-09-16 19:52:23 +00:00
0442b12591The vector test suite now passes for no-debug, debug-lite and debug-regular
Howard Hinnant
2011-09-16 18:41:29 +00:00
abe2628b43Create multilevel debug mode
Howard Hinnant
2011-09-16 17:29:17 +00:00
7a563db09aInitial checkin for debug mode (version 2)
Howard Hinnant
2011-09-14 18:33:51 +00:00
9cbee430daFix const correctness bug in __move_assign. Found and fixed by Ion Gaztañaga.
Howard Hinnant
2011-09-02 20:42:31 +00:00
6b171c557bUp version number by 1. This is a 'minor version' update.
Howard Hinnant
2011-09-01 23:13:01 +00:00
92a836c03dReimplemented much of <istream> such that single character extractions do not check to see if this is the last character in the stream and thus never set eofbit. This fixes http://llvm.org/bugs/show_bug.cgi?id=10817 . This fix requires a recompiled libc++.dylib to be fully implemented. The recompiled libc++.dylib is ABI compatible with that shipped on Lion.
Howard Hinnant
2011-09-01 21:02:45 +00:00
5f255944ac__split_buffer should only require default constructible. Bug found and fixed by Jared Hoberock
Howard Hinnant
2011-08-28 15:21:29 +00:00
a9ad2ca8bdSynch up with recent changes in trunk
Howard Hinnant
2011-07-30 17:35:20 +00:00
8ffa5d58e0Correct misspelling: _LIBCPP_APPLE_STABLE_ABI -> _LIBCPP_STABLE_APPLE_ABI
Howard Hinnant
2011-07-30 16:37:03 +00:00
791e11cf33Fix radar 9866843
Howard Hinnant
2011-07-30 16:35:55 +00:00
4d933b2b44Apple branch created
Howard Hinnant
2011-07-30 16:28:35 +00:00
8f0396e443Add the missing default argument for the allocator and use a cleaner implementation of previous().
Sean Hunt
2011-07-30 00:47:53 +00:00
b59b929cc9Destruct elements of hash tables when removing individual entries from the hash_table. I think this is the correct solution to PR10507, but I'm not sure since this is a little bit cargo-culted. Howard, please review.
Sean Hunt
2011-07-30 00:18:12 +00:00
70bbcae9b5Oops. That last commit was from an earlier revision of the file and was more than just a bit broken. This one should compile and run without infinite loops.
Sean Hunt
2011-07-30 00:06:52 +00:00
d50c1c7429Include an "implementation" if SGI's slist. This was quickly hacked together to get it working with code, and is neither optimal (erase(Iterator, Iterator) calculates the previous iterator twice, rather than calculating the previous iterator of the first one, then advancing it until the second is found) nor complete (splice() was not implemented). Most of the implementation is borrowed from forward_list via using-declarations.
Sean Hunt
2011-07-29 23:42:36 +00:00
110b8bf57eExplicitly invoke the size_type specialization of max and min. This avoids bugs where, when the allocator's size_type was smaller than int, the multiplication or division would cause integral promotions and, with two different integer types as arguments, deduction of the template arguments would fail.
Sean Hunt
2011-07-29 23:31:58 +00:00
affd9e5d43Add a new hash class in __gnu_ext for the extension containers. There are two motivations for this.
Sean Hunt
2011-07-29 23:31:56 +00:00
e36a196049Add two missing members from the extension hash containers. The first is the type name 'data_type', which is specified by the SGI spec as being the correct type name for the mapped type. The second is an overload of insert found in standard containers, taking an iterator as a 'hint' (which we ignore in the standard containers as well). libstdc++'s implementation includes these overloads, and they are needed to make insert_iterator work (which I suspect is the real motivation for including them in the standard containers).
Sean Hunt
2011-07-29 23:31:53 +00:00
23369ee812Configure to get along with 2.9 clang
Howard Hinnant
2011-07-29 21:35:53 +00:00
db86663223Optimizing valarray::operator=(some-valarray-expression)
Howard Hinnant
2011-07-27 23:19:59 +00:00