1 2011-03-14 Benjamin Kosnik <bkoz@redhat.com>
4 * src/future.cc: Guard definitions.
5 * libsupc++/nested_exception.cc: Same.
7 2011-03-14 Benjamin Kosnik <bkoz@redhat.com>
9 * src/Makefile.am: Add functional.cc, shared_ptr.cc.
10 * src/Makefile.in: Regenerate.
11 * libsupc++/Makefile.am: Add nested_exception.cc.
12 * libsupc++/Makefile.in: Regenerate.
13 * src/system_error.cc: Add ctor and dtor definitions for error_category.
14 * src/functional.cc: New. Add dtor definition for bad_function_call.
15 * src/stdexcept.cc: Add dtor definitions for domain_error,
16 invalid_argument, length_error, out_of_range, range_error,
17 overflow_error, underflow_error.
18 * src/future.cc: Add dtor definition for __future_base::_Result_base.
19 * src/shared_ptr.cc: New. Add dtor definition for bad_weak_ptr.
20 * src/thread.cc: Add dtor for thread::_Impl_base.
21 * include/std/system_error: Adjust.
22 * include/std/stdexcept: Same.
23 * include/std/future: Same.
24 * include/std/functional: Same.
25 * include/std/thread: Same.
26 * include/bits/shared_ptr_base.h: Same.
27 * libsupc++/nested_exception.cc: New. Add dtor for nested_exception.
28 * libsupc++/nested_exception.h: Adjust.
29 * testsuite/20_util/shared_ptr/cons/43820_neg.cc: Adjust line numbers.
30 * testsuite/20_util/weak_ptr/comparison/cmp_neg.cc: Same.
31 * config/abi/pre/gnu.ver: Add new exports.
33 2011-03-14 Benjamin Kosnik <bkoz@redhat.com>
35 * include/bits/regex_compiler.h: Nest namespace versioning.
36 * include/bits/regex_grep_matcher.tcc: Same.
37 * include/bits/regex_grep_matcher.h: Same.
38 * include/bits/regex_cursor.h: Same.
39 * include/bits/regex_nfa.h: Same.
40 * include/bits/regex_nfa.tcc: Same.
42 * include/bits/regex_grep_matcher.h: Version forward declarations.
43 * include/bits/c++config: Add namespace association for __regex.
44 * include/bits/regex.h: Make sub_match consistent.
46 2011-03-14 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
48 * doc/xml/manual/abi.xml: Replace docs.sun.com URLs by their OTN
50 * doc/html/manual/abi.html: Regenerate.
52 2011-03-14 Tom Tromey <tromey@redhat.com>
54 * python/libstdcxx/v6/printers.py (_use_gdb_pp): New global.
55 Try to import `gdb.printing' module.
56 (UniquePointerPrinter.__init__): Add 'typename' argument.
57 (StdSlistPrinter.__init__): Likewise.
58 (StdSlistIteratorPrinter.__init__): Likewise.
59 (StdVectorIteratorPrinter.__init__): Likewise.
60 (StdRbtreeIteratorPrinter.__init__): Likewise.
61 (StdDebugIteratorPrinter.__init__): Likewise.
62 (StdDequeIteratorPrinter.__init__): Likewise.
63 (StdStringPrinter.__init__): Likewise.
64 (RxPrinter, Printer): New class.
65 (libstdcxx_printer): New global.
66 (register_libstdcxx_printers): Rewrite.
67 (build_libstdcxx_dictionary): Rewrite.
68 (pretty_printers_dict): Remove.
70 2011-03-14 Andrey Zholos <aaz@althenia.net>
73 * include/bits/random.h (geometric_distribution): Correct formula
74 in comment, per C++0x.
75 (geometric_distribution<>::param_type::param_type(double)): Fix check.
76 (geometric_distribution<>::param_type::_M_initialize):
78 * include/bits/random.tcc (geometric_distribution<>::operator()):
80 (binomial_distribution<>::operator()): Likewise.
82 2011-03-09 Paolo Carlini <paolo.carlini@oracle.com>
84 * testsuite/util/testsuite_rvalref.h: Minor tweaks.
86 2011-03-09 Jonathan Wakely <redi@gcc.gnu.org>
87 Chris Jefferson <chris@bubblescope.net>
88 Paolo Carlini <paolo.carlini@oracle.com>
90 * testsuite/util/testsuite_rvalref.h (rvalstruct_compare_by_value):
92 * testsuite/25_algorithms/sort_heap/check_compare_by_value.cc:
94 * testsuite/25_algorithms/partial_sort/check_compare_by_value:
96 * testsuite/25_algorithms/stable_sort/check_compare_by_value.cc:
98 * testsuite/25_algorithms/sort/check_compare_by_value: Likewise.
100 2011-03-09 Chris Jefferson <chris@bubblescope.net>
103 * include/bits/stl_algo.h (__merge_backward): Rename to
104 __move_merge_backward and change to always move rather than copy.
105 (__move_merge): New function similar to std::merge except values
106 are moved instead of copied.
107 (__merge_adaptive, __merge_sort_loop): Change from using std::merge
108 and __merge_backward to __move_merge and __move_merge_backward.
110 2011-03-07 Jason Merrill <jason@redhat.com>
112 * testsuite/20_util/ratio/cons/cons_overflow_neg.cc: Adjust
115 2011-03-07 Benjamin Kosnik <bkoz@redhat.com>
116 Matthias Klose <doko@ubuntu.com>
117 Jonathan Wakely <redi@gcc.gnu.org>
120 * acinclude.m4 (GLIBCXX_CONFIGURE_DOCBOOK): Define.
121 * configure.ac: Use it.
122 * doc/Makefile.am (XSL_STYLE_DIR): Set at configure time.
123 * configure: Regenerate.
124 * doc/Makefile.in: Regenerate.
126 2011-03-04 Benjamin Kosnik <bkoz@chula>
128 * src/Makefile.am (inst_sources): Make source instantion files
130 (XTEMPLATE_FLAGS): Make -fno-implicit-templates conditional.
131 * src/Makefile.in: Regenerate.
132 * src/valarray-inst.cc: Move to..
133 * src/valarray.cc: ...this.
134 * acinclude.m4 (GLIBCXX_ENABLE_EXTERN_TEMPLATE]): Define.
135 * configure.ac (GLIBCXX_ENABLE_EXTERN_TEMPLATE): Use it.
136 * configure: Regenerate.
137 * include/Makefile.am (stamp-extern-template): Add.
138 * include/Makefile.in: Regenerate.
140 * doc/xml/manual/configure.xml: Document --enable-extern-template.
142 * include/bits/locale_classes.tcc: Adjust comment.
143 * include/bits/locale_facets.tcc: Same.
144 * include/bits/basic_ios.tcc: Same.
145 * include/bits/istream.tcc: Same.
146 * include/bits/codecvt.h: Same.
147 * include/bits/ostream.tcc: Same.
148 * include/bits/sstream.tcc: Same.
149 * include/bits/c++config: Same.
150 * include/bits/basic_string.tcc: Same.
151 * include/bits/ostream_insert.h: Same.
152 * include/bits/locale_facets_nonio.tcc: Same.
153 * include/bits/streambuf.tcc: Same.
154 * include/bits/allocator.h: Same.
155 * include/bits/fstream.tcc: Same.
157 * testsuite/ext/profile/mutex_extensions_neg.cc: Adjust line numbers.
159 2011-03-02 Benjamin Kosnik <bkoz@redhat.com>
161 * testsuite/Makefile.am: Make clean fixups.
162 * testsuite/Makefile.in: Regenerate.
164 2011-03-02 Marc Glisse <marc.glisse@normalesup.org>
166 * include/std/ratio (ratio_less): Add comments.
168 2011-03-02 Marc Glisse <marc.glisse@normalesup.org>
171 * include/std/ratio (ratio_add): Avoid denominator overflow.
172 * testsuite/20_util/ratio/operations/47913.cc: New.
174 2011-02-28 Benjamin Kosnik <bkoz@redhat.com>
176 * testsuite/20_util/hash/chi2_quality.cc: Use C++0x mode on simulators.
177 * testsuite/20_util/hash/quality.cc: Same.
179 2011-02-28 Paolo Carlini <paolo.carlini@oracle.com>
182 * include/std/streambuf (basic_streambuf<>::__safe_gbump,
184 * include/bits/streambuf.tcc (basic_streambuf<>::xgetn,
185 xputn): Use the latter.
186 * include/bits/streambuf_iterator.h: Likewise.
187 * src/strstream.cc: Likewise.
188 * src/streambuf.cc: Likewise.
189 * src/compatibility.cc: Likewise.
190 * src/istream.cc: Likewise.
191 * include/bits/fstream.tcc (basic_filebuf<>::xsgetn): Use setg
193 * include/std/sstream (basic_stringbuf<>::_M_pbump): Add.
194 * include/bits/sstream.tcc (basic_stringbuf<>::seekoff,
195 seekpos, _M_sync): Use setg, setp, and _M_pbump.
196 * config/abi/pre/gnu.ver: Tweak.
198 2011-02-28 Paolo Carlini <paolo.carlini@oracle.com>
200 * testsuite/20_util/ratio/comparisons/comp3.cc: New.
202 2011-02-28 Marc Glisse <marc.glisse@normalesup.org>
205 * include/std/ratio (ratio_less): Reimplement to never overflow.
206 * testsuite/20_util/ratio/comparisons/comp2.cc: Extend.
208 2011-02-24 Benjamin Kosnik <bkoz@redhat.com>
210 * testsuite/18_support/type_info/fundamental.cc: New.
212 * testsuite/Makefile.am: Make clean fixups.
213 * testsuite/Makefile.in: Regenerate.
215 2011-02-19 François Dumont <francois.cppdevs@free.fr>
217 * include/debug/string (basic_string::insert): Add iterator check and
218 pass normal iterator to normal insert.
219 * include/debug/macros.h (__glibcxx_check_heap,
220 __glibcxx_check_heap_pred): Remove __glibcxx_check_valid_range,
223 2011-02-17 Paolo Carlini <paolo.carlini@oracle.com>
226 * testsuite/ext/vstring/hash/char/1.cc: Fix.
227 * testsuite/ext/vstring/hash/wchar_t/1.cc: Likewise.
229 2011-02-17 Jonathan Wakely <jwakely.gcc@gmail.com>
231 * include/bits/regex.h (basic_regex::traits_type): Add typedef.
232 (basic_regex::basic_regex(basic_regex&&)): Add noexcept.
233 (basic_regex::operator=(basic_regex&&)): Likewise.
234 (basic_regex::assign(basic_regex&&)): Likewise.
235 (operator==(sub_match,...)): Implement DR 1181.
236 (match_results::match_results(match_results&&)): Define.
237 (match_results::operator=(const match_results&)): Fix parameter type.
238 (match_results::operator=(match_results&&)): Define.
240 2011-02-17 Jonathan Wakely <jwakely.gcc@gmail.com>
243 * include/bits/regex_compiler.h (_Scanner::_M_advance): Do not treat
244 line anchors as metacharacters.
245 * testsuite/28_regex/basic_regex/ctors/47724.cc: New.
247 2011-02-16 Paolo Carlini <paolo.carlini@oracle.com>
250 * include/ext/vstring.h (hash<__gnu_cxx::__vstring>,
251 hash<__gnu_cxx::__wvstring>, hash<__gnu_cxx::__u16vstring>,
252 hash<__gnu_cxx::__u32vstring>): Add.
253 * testsuite/ext/vstring/hash/char/1.cc: New.
254 * testsuite/ext/vstring/hash/wchar_t/1.cc: Likewise.
256 2011-02-16 Jonathan Wakely <jwakely.gcc@gmail.com>
258 * include/bits/regex.h (match_results::format): Use char_traits.
260 2011-02-16 Benjamin Kosnik <bkoz@redhat.com>
262 * include/std/atomic: Remove atomic_address, uplift to N3225.
263 * include/bits/atomic_0.h: Same.
264 * include/bits/atomic_2.h: Same.
265 * include/bits/atomic_base.h: Same.
266 * testsuite/29_atomics/atomic_address/*: Delete.
268 2011-02-14 Jonathan Wakely <jwakely.gcc@gmail.com>
270 * include/bits/regex.h (sub_match::sub_match): Add.
271 (match_results::ready): Add.
272 (match_results::empty): Adjust.
273 (match_results::length): Add missing dereference.
274 (match_results::operator[],prefix,suffix): Add debug mode checks.
275 (match_results::cend): Re-use end().
276 (match_results::format): Adjust signatures.
277 (operator==(match_results,match_results)): Implement.
278 * include/bits/regex_compiler.h (_Scanner_base): Use constexpr.
279 * include/bits/regex_constants.h (syntax_option_type): Likewise.
280 * include/bits/regex_grep_matcher.h: Fix comment typo.
281 (_SpecializedResults::_SpecializedResults): Simplify.
282 * include/bits/regex_cursor.h: Fix comment typo.
283 * include/bits/regex_nfa.h: Likewise.
284 * testsuite/28_regex/basic_regex/ctors/basic/string_range_01_02_03.cc:
285 Fix error code, remove xfail.
286 * testsuite/28_regex/basic_regex/ctors/extended/
287 string_range_01_02_03.cc: Likewise.
289 2011-02-14 Jonathan Wakely <jwakely.gcc@gmail.com>
291 * include/bits/regex_compiler.h: Remove unnecessary bind() calls.
292 * include/bits/regex_nfa.h: Remove unnecessary base classes.
294 2011-02-13 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
296 * configure: Regenerate.
298 2011-02-12 Paolo Carlini <paolo.carlini@oracle.com>
301 * include/ext/algorithm (is_heap): In C++0x mode import from
303 * testsuite/ext/is_heap/47709.cc: New.
305 2011-02-12 Jakub Jelinek <jakub@redhat.com>
306 Jonathan Wakely <jwakely.gcc@gmail.com>
309 * testsuite/17_intro/headers/c++200x/operator_names.cc: New.
310 * testsuite/17_intro/headers/c++1998/operator_names.cc: Add comment.
312 2011-02-12 Paolo Carlini <paolo.carlini@oracle.com>
314 * include/tr1/cmath (fabs): Define.
315 * include/tr1/complex (acos, asin, atan): Avoid duplicate definitions
318 2011-02-12 Jonathan Wakely <jwakely.gcc@gmail.com>
320 * testsuite/tr1/headers/c++200x/complex.cc: New.
322 2011-02-11 Johannes Singler <singler@kit.edu>
325 * include/parallel/losertree.h
326 (_LoserTreeUnguarded<>::__delete_min_insert):
327 Add missing "using std::swap;", as for other variants.
329 2011-02-10 Benjamin Kosnik <bkoz@redhat.com>
331 * src/Makefile.am (sources): Add regex.cc.
332 * src/Makefile.in: Regenerate.
334 * include/bits/regex_error.h (error_type): Use constexpr.
335 (regex_error): Move ctor and dtor out of line.
337 * testsuite/28_regex/03_requirements: To...
338 * testsuite/28_regex/requirements: ... this.
339 * testsuite/28_regex/04_header: To...
340 * testsuite/28_regex/headers: ... this.
341 * testsuite/28_regex/05_constants: To...
342 * testsuite/28_regex/constants: ... this.
343 * testsuite/28_regex/06_exception_type: To...
344 * testsuite/28_regex/regex_error: ... this.
345 * testsuite/28_regex/07_traits: To...
346 * testsuite/28_regex/traits: ... this.
347 * testsuite/28_regex/08_basic_regex: To...
348 * testsuite/28_regex/basic_regex: ... this.
349 * testsuite/28_regex/09_sub_match: To...
350 * testsuite/28_regex/sub_match: ... this.
351 * testsuite/28_regex/10_match_results: To...
352 * testsuite/28_regex/match_results: ... this.
353 * testsuite/28_regex/11_algorithms: To...
354 * testsuite/28_regex/algorithms: ... this.
355 * testsuite/28_regex/12_iterators: To...
356 * testsuite/28_regex/iterators: ... this.
358 2011-02-10 Jonathan Wakely <jwakely.gcc@gmail.com>
361 * include/bits/c++config: Do not use alternative token.
362 * testsuite/17_intro/headers/c++1998/operator_names.cc: New.
364 2011-02-10 Jonathan Wakely <jwakely.gcc@gmail.com>
366 * src/future.cc (future_error_category::message): Handle no_state.
368 2011-02-10 Paolo Carlini <paolo.carlini@oracle.com>
370 * testsuite/23_containers/multimap/modifiers/erase/47628.cc: Do
371 not test in C++0x mode.
372 * testsuite/23_containers/map/modifiers/erase/47628.cc: Likewise.
373 * testsuite/20_util/headers/utility/synopsis.cc: Tweak to work
376 2011-02-10 Jonathan Wakely <jwakely.gcc@gmail.com>
378 * doc/xml/manual/status_cxx200x.xml: Update.
379 * doc/html/*: Regenerate.
381 2011-02-10 Jonathan Wakely <jwakely.gcc@gmail.com>
383 * doc/xml/manual/debug.xml: Improve data race docs.
385 2011-02-09 Paolo Carlini <paolo.carlini@oracle.com>
388 * include/debug/map.h (map): Remove unnecessary using-declaration.
389 * include/debug/multimap.h (multimap): Likewise.
390 * include/profile/map.h (map): Likewise.
391 * include/profile/multimap.h (multimap): Likewise.
393 2011-02-09 Jonathan Wakely <jwakely.gcc@gmail.com>
396 * libsupc++/guard.cc (recursive_init_error::~recursive_init_error):
398 * libsupc++/guard_error.cc: ... new file.
399 * libsupc++/Makefile.am: Update.
400 * libsupc++/Makefile.in: Regenerate.
402 2011-02-09 Jonathan Wakely <jwakely.gcc@gmail.com>
404 * include/std/future (packaged_task::operator bool): Rename to...
405 (packaged_task::valid): ...this.
406 * testsuite/30_threads/packaged_task/cons/1.cc: Adjust.
407 * testsuite/30_threads/packaged_task/cons/2.cc: Adjust.
408 * testsuite/30_threads/packaged_task/cons/move.cc: Adjust.
409 * testsuite/30_threads/packaged_task/cons/move_assign.cc: Adjust.
410 * testsuite/30_threads/packaged_task/cons/alloc.cc: Adjust.
411 * testsuite/30_threads/packaged_task/members/invoke.cc: Adjust.
412 * testsuite/30_threads/packaged_task/members/reset.cc: Adjust.
413 * testsuite/30_threads/packaged_task/members/reset2.cc: Adjust.
414 * testsuite/30_threads/packaged_task/members/swap.cc: Adjust.
415 * testsuite/30_threads/packaged_task/members/boolconv.cc: Remove.
416 * testsuite/30_threads/packaged_task/members/valid.cc: Add.
418 2011-02-09 Paolo Carlini <paolo.carlini@oracle.com>
420 * doc/xml/manual/io.xml: Fix typo.
421 * doc/html/manual/streambufs.html: Likewise.
423 2011-02-09 Paolo Carlini <paolo.carlini@oracle.com>
425 * config/abi/pre/gnu.ver: Fix.
427 2011-02-08 Benjamin Kosnik <bkoz@redhat.com>
429 * doc/xml/manual/appendix_porting.xml: Add doc section.
430 * doc/xml/manual/appendix_contributing.xml: Split out doc bits to...
431 * doc/xml/manual/documentation_hacking.xml: ...here.
433 * doc/xml/manual/debug_mode.xml: Adjust.
434 * doc/xml/manual/prerequisites.xml: Adjust.
435 * doc/Makefile.am (xml_sources): Add dot files,
436 documentation_hacking.xml.
437 * doc/Makefile.in: Regenerate.
439 * doc/xml/manual/build_hacking.xml: Use absolute paths for images.
440 * doc/xml/images/confdeps.pdf: Add.
442 * doc/html/*: Regenerate.
444 2011-02-08 Jonathan Wakely <jwakely.gcc@gmail.com>
446 * doc/xml/gnu/fdl-1.2.xml: Remove.
447 * doc/xml/gnu/gpl-2.0.xml: Remove.
448 * doc/Makefile.am: Update.
449 * doc/Makefile.in: Regenerate.
451 2011-02-07 Paolo Carlini <paolo.carlini@oracle.com>
454 * include/bits/stl_tree.h (_Rb_tree::erase(iterator), erase(iterator,
455 iterator)): Add back in C++03 mode.
456 * testsuite/23_containers/map/modifiers/erase/47628.cc: New.
457 * testsuite/23_containers/multimap/modifiers/erase/47628.cc: Likewise.
459 2011-02-07 Benjamin Kosnik <bkoz@redhat.com>
461 PR libstdc++/47560 try two
462 * config/os/hpux/os_defines.h: Guard for C++.
464 2011-02-07 Gerald Pfeifer <gerald@pfeifer.com>
466 * doc/xml/faq.xml: Adjust link to bug database.
467 Remove old item on broken header files.
469 2011-02-04 Benjamin Kosnik <bkoz@redhat.com>
471 * include/bits/regex_error.h (__throw_regex_error): Not inline.
472 * src/functexcept.cc: Add definition.
473 * config/abi/pre/gnu.ver: Export.
475 2011-02-04 Ralf Corsépius <ralf.corsepius@rtems.org>
477 * crossconfig.m4 (GLIBCXX_CROSSCONFIG): Add *-rtems*.
478 * configure: Regenerate.
480 2011-02-01 Paolo Carlini <paolo.carlini@oracle.com>
483 * include/bits/atomic_0.h (_ATOMIC_STORE_, _ATOMIC_MODIFY_,
484 _ATOMIC_CMPEXCHNG_): Rename __v -> __w, and __m -> __n, to
485 avoid name conflicts.
487 2011-02-01 Benjamin Kosnik <bkoz@redhat.com>
490 * config/os/hpux/os_defines.h: Remove use of macros on namespace.
492 2011-02-01 Benjamin Kosnik <bkoz@redhat.com>
494 * scripts/run_doxygen: Allow doxygen 1.7.0 again.
495 * doc/doxygen/user.cfg.in (PDF_HYPERLINKS): Re-enable.
496 (COMPACT_LATEX): Enable.
498 * include/profile/impl/profiler_container_size.h: Adjust doxygen markup.
499 * include/profile/impl/profiler_hash_func.h: Same.
500 * include/bits/hashtable.h: Same.
501 * include/backward/auto_ptr.h: Same.
502 * include/backward/strstream: Same.
503 * include/backward/backward_warning.h: Same.
504 * include/backward/binders.h: Same.
506 2011-02-01 Gerald Pfeifer <gerald@pfeifer.com>
508 * doc/xml/manual/debug.xml: Use GDB instead of gdb.
509 Adjust link to GDB manual.
511 2011-01-31 Benjamin Kosnik <bkoz@redhat.com>
513 * include/bits/c++config (_GLIBCXX_DEPRECATED): To
514 _GLIBCXX_USE_DEPRECATED.
515 (_GLIBCXX_DEPRECATED_ATTR): To _GLIBCXX_DEPRECATED.
516 * doc/xml/manual/using.xml: Same.
517 * include/std/memory: Same.
518 * include/std/streambuf: Same.
519 * include/bits/shared_ptr.h: Same.
520 * include/bits/unique_ptr.h: Same.
521 * include/bits/shared_ptr_base.h: Same.
522 * include/bits/stl_function.h: Same.
523 * include/tr1/shared_ptr.h: Same.
524 * include/backward/auto_ptr.h: Same.
525 * include/backward/binders.h: Same.
527 2011-01-31 Paolo Carlini <paolo.carlini@oracle.com>
529 * doc/html/ext/lwg-active.html: Update to Revision D73.
530 * doc/html/ext/lwg-closed.html: Likewise.
531 * doc/html/ext/lwg-defects.html: Likewise.
532 * doc/xml/manual/intro.xml: Update status of issues 408, 539, 865.
534 2011-01-30 Benjamin Kosnik <bkoz@redhat.com>
536 PR libstdc++/36104 part four
537 * include/bits/c++config (_GLIBCXX_STD): Remove.
538 (_GLIBCXX_STD_D, _GLIBCXX_PR): Now _GLIBCXX_STD_C.
539 (_GLIBCXX_P): Now _GLIBCXX_STD_A.
540 (_GLIBCXX_NAMESPACE_DEBUG, _GLIBCXX_NAMESPACE_PARALLEL,
541 _GLIBCXX_NAMESPACE_PROFILE, _GLIBCXX_NAMESPACE_VERSION): Remove.
542 (_GLIBCXX_INLINE_DEBUG, _GLIBCXX_INLINE_PARALLEL,
543 _GLIBCXX_INLINE_PROFILE): Remove.
544 (_GLIBCXX_BEGIN_NAMESPACE(X)): Remove.
545 (_GLIBCXX_END_NAMESPACE): Remove.
546 (_GLIBCXX_BEGIN_NESTED_NAMESPACE(X, Y)): Remove.
547 (_GLIBCXX_END_NESTED_NAMESPACE): Remove.
548 (_GLIBCXX_BEGIN_NAMESPACE_ALGO): Add.
549 (_GLIBCXX_END_NAMESPACE_ALGO): Add.
550 (_GLIBCXX_BEGIN_NAMESPACE_CONTAINER): Add.
551 (_GLIBCXX_END_NAMESPACE_CONTAINER): Add.
552 (_GLIBCXX_BEGIN_NAMESPACE_VERSION): Add.
553 (_GLIBCXX_END_NAMESPACE_VERSION): Add.
554 (_GLIBCXX_BEGIN_LDBL_NAMESPACE): To _GLIBCXX_BEGIN_NAMESPACE_LDBL.
555 (_GLIBCXX_END_LDBL_NAMESPACE): To _GLIBCXX_END_NAMESPACE_LDBL.
556 (_GLIBCXX_VISIBILITY_ATTR): Revert to _GLIBCXX_VISIBILITY.
557 * include/*: Use new macros for namespace scope.
561 * src/Makefile.am (sources): Remove debug_list.cc, add
562 compatibility-debug_list-2.cc.
563 (parallel_sources): Remove parallel_list.cc, add
564 compatibility-parallel_list-2.cc.
565 (compatibility-parallel_list-2.[o,lo]): New rule.
566 * src/Makefile.in: Regenerate.
567 * src/debug_list.cc: Remove.
568 * src/parallel_list.cc: Remove.
569 * src/compatibility-list-2.cc: New.
570 * src/compatibility-debug_list-2.cc: New.
571 * src/compatibility-parallel_list-2.cc: New.
573 * doc/doxygen/user.cfg.in: Adjust macros.
575 * testsuite/20_util/auto_ptr/assign_neg.cc: Adjust line numbers, macros.
576 * testsuite/20_util/declval/requirements/1_neg.cc: Same.
577 * testsuite/20_util/duration/requirements/typedefs_neg1.cc: Same.
578 * testsuite/20_util/duration/requirements/typedefs_neg2.cc: Same.
579 * testsuite/20_util/duration/requirements/typedefs_neg3.cc: Same.
580 * testsuite/20_util/forward/c_neg.cc: Same.
581 * testsuite/20_util/forward/f_neg.cc: Same.
582 * testsuite/20_util/make_signed/requirements/typedefs_neg.cc: Same.
583 * testsuite/20_util/make_unsigned/requirements/typedefs_neg.cc: Same.
584 * testsuite/20_util/ratio/cons/cons_overflow_neg.cc: Same.
585 * testsuite/20_util/ratio/operations/ops_overflow_neg.cc: Same.
586 * testsuite/20_util/shared_ptr/cons/43820_neg.cc: Same.
587 * testsuite/20_util/weak_ptr/comparison/cmp_neg.cc: Same.
588 * testsuite/23_containers/deque/requirements/dr438/assign_neg.cc: Same.
589 * testsuite/23_containers/deque/requirements/dr438/
590 constructor_1_neg.cc: Same.
591 * testsuite/23_containers/deque/requirements/dr438/
592 constructor_2_neg.cc: Same.
593 * testsuite/23_containers/deque/requirements/dr438/insert_neg.cc: Same.
594 * testsuite/23_containers/forward_list/capacity/1.cc: Same.
595 * testsuite/23_containers/forward_list/requirements/dr438/
597 * testsuite/23_containers/forward_list/requirements/dr438/
598 constructor_1_neg.cc: Same.
599 * testsuite/23_containers/forward_list/requirements/dr438/
600 constructor_2_neg.cc: Same.
601 * testsuite/23_containers/forward_list/requirements/dr438/
603 * testsuite/23_containers/list/capacity/29134.cc: Same.
604 * testsuite/23_containers/list/requirements/dr438/assign_neg.cc: Same.
605 * testsuite/23_containers/list/requirements/dr438/
606 constructor_1_neg.cc: Same.
607 * testsuite/23_containers/list/requirements/dr438/
608 constructor_2_neg.cc: Same.
609 * testsuite/23_containers/list/requirements/dr438/insert_neg.cc: Same.
610 * testsuite/23_containers/vector/bool/capacity/29134.cc: Same.
611 * testsuite/23_containers/vector/bool/modifiers/insert/31370.cc: Same.
612 * testsuite/23_containers/vector/requirements/dr438/assign_neg.cc: Same.
613 * testsuite/23_containers/vector/requirements/dr438/
614 constructor_1_neg.cc: Same.
615 * testsuite/23_containers/vector/requirements/dr438/
616 constructor_2_neg.cc: Same.
617 * testsuite/23_containers/vector/requirements/dr438/insert_neg.cc: Same.
618 * testsuite/25_algorithms/sort/35588.cc: Same.
619 * testsuite/27_io/ios_base/cons/assign_neg.cc: Same.
620 * testsuite/27_io/ios_base/cons/copy_neg.cc: Same.
621 * testsuite/ext/profile/mutex_extensions_neg.cc: Same.
622 * testsuite/ext/profile/profiler_algos.cc: Same.
623 * testsuite/ext/type_traits/add_unsigned_floating_neg.cc: Same.
624 * testsuite/ext/type_traits/add_unsigned_integer_neg.cc: Same.
625 * testsuite/ext/type_traits/remove_unsigned_floating_neg.cc: Same.
626 * testsuite/ext/type_traits/remove_unsigned_integer_neg.cc: Same.
627 * testsuite/tr1/2_general_utilities/shared_ptr/cons/43820_neg.cc: Same.
629 2011-01-30 Gerald Pfeifer <gerald@pfeifer.com>
631 * doc/xml/manual/abi.xml: Adjust link to C++ ABI specification.
632 Improve description of one such reference.
634 2011-01-30 Gerald Pfeifer <gerald@pfeifer.com>
636 * doc/xml/manual/codecvt.xml: Fix link to The Austin Common
637 Standards Revision Group.
638 * doc/xml/manual/locale.xml: Ditto.
639 * doc/xml/manual/messages.xml: Ditto.
640 * doc/xml/manual/using_exceptions.xml: Ditto.
642 2011-01-28 Paolo Carlini <paolo.carlini@oracle.com>
644 * include/bits/atomic_base.h: Do not include <stddef.h>.
645 (kill_dependency): Uglify ret.
647 2011-01-26 Johannes Singler <singler@kit.edu>
649 * include/parallel/numeric (inner_product, partial_sum):
650 Qualify subsequent call with __gnu_parallel instead of
651 _GLIBCXX_STD_P to reenable parallel execution without ambiguity.
652 * include/parallel/algobase.h (equal): Likewise.
653 * include/parallel/algo.h (find_first_of, search_n, merge,
654 nth_element, partial_sort, max_element, min_element): Likewise.
655 * testsuite/25_algorithms/headers/algorithm/
656 parallel_algorithm_mixed1.cc (main): Add respective test cases.
657 * testsuite/25_algorithms/headers/algorithm/
658 parallel_algorithm_mixed2.cc (main): Likewise.
659 * testsuite/26_numerics/headers/numeric/
660 parallel_numeric_mixed1.cc (main): Likewise.
661 * testsuite/26_numerics/headers/numeric/
662 parallel_numeric_mixed2.cc (main): Likewise.
664 2011-01-24 Graham Reed <greed@pobox.com>
667 * config/os/aix/ctype_inline.h (ctype<char>::is): Use _M_table if
670 2011-01-24 Johannes Singler <singler@kit.edu>
673 * include/parallel/losertree.h
674 (_LoserTree<>::__delete_min_insert):
675 Do not qualify swap with std:: for value type,
676 but include a using directive instead.
677 (_LoserTreeUnguarded<>::__delete_min_insert): Likewise.
678 * include/parallel/balanced_quicksort.h (__qsb_divide):
679 Use std::iter_swap instead of std::swap.
680 (__qsb_local_sort_with_helping): Likewise.
681 * include/parallel/partition.h (__parallel_partition):
682 Likewise. (__parallel_nth_element): Likewise.
684 2011-01-24 Johannes Singler <singler@kit.edu>
687 * include/parallel/multiway_merge.h (_UnguardedIterator):
688 Remove useless "mutable" from reference declaration.
690 2011-01-21 Benjamin Kosnik <bkoz@redhat.com>
692 * include/bits/c++config (_GLIBCXX_EXPORT_TEMPLATE): Remove.
693 * include/debug/safe_sequence.h: Same.
694 * include/debug/safe_iterator.h: Same.
695 * include/std/forward_list: Same.
696 * include/std/deque: Same.
697 * include/std/list: Same.
698 * include/std/random: Same.
699 * include/std/streambuf: Same.
700 * include/std/fstream: Same.
701 * include/std/istream: Same.
702 * include/std/string: Same.
703 * include/std/ostream: Same.
704 * include/std/sstream: Same.
705 * include/ext/vstring.h: Same.
706 * include/bits/basic_ios.h: Same.
707 * include/bits/locale_classes.h: Same.
708 * include/bits/locale_facets.h: Same.
709 * include/bits/valarray_array.h: Same.
710 * include/bits/locale_facets_nonio.h: Same.
711 * include/tr1/random: Same.
713 2011-01-20 Jonathan Wakely <jwakely.gcc@gmail.com>
715 * doc/xml/manual/diagnostics.xml: Replace note about C++0x concepts.
717 2011-01-20 Benjamin Kosnik <bkoz@redhat.com>
719 PR libstdc++/36104 part three
720 * src/hashtable_c++0x.cc: Adjust namespace macros.
721 * testsuite/util/testsuite_rvalref.h: Don't forward declare hash.
722 * config/abi/pre/gnu-versioned-namespace.ver: Update.
724 2011-01-20 Benjamin Kosnik <bkoz@redhat.com>
726 * include/ext/pb_ds/detail/resize_policy/
727 hash_load_check_resize_trigger_imp.hpp: Adjust assert condition.
728 * include/ext/pb_ds/detail/pat_trie_/
729 constructors_destructor_fn_imps.hpp: Same.
730 * include/ext/pb_ds/detail/binary_heap_/erase_fn_imps.hpp: Format.
731 * include/ext/pb_ds/detail/ov_tree_map_/debug_fn_imps.hpp: Same.
732 * include/ext/pb_ds/detail/debug_map_base.hpp: Use never_adjustor.
734 * testsuite/ext/pb_ds/regression/hash_data_map_rand.cc: Adjust
735 iterations downward when testing in debug mode.
736 * testsuite/ext/pb_ds/regression/trie_data_map_rand.cc: Same.
737 * testsuite/ext/pb_ds/regression/tree_no_data_map_rand.cc: Same.
738 * testsuite/ext/pb_ds/regression/hash_no_data_map_rand.cc: Same.
739 * testsuite/ext/pb_ds/regression/tree_data_map_rand.cc: Same.
740 * testsuite/ext/pb_ds/regression/trie_no_data_map_rand.cc: Same.
741 * testsuite/ext/pb_ds/example/hash_illegal_resize.cc: Use SIZE,
742 reduce in debug mode.
744 2011-01-19 Benjamin Kosnik <bkoz@redhat.com>
746 PR libstdc++/36104 part two
747 * include/bits/hashtable.h: Revert to non-nested macro usage.
748 * include/bits/hashtable_policy.h: Same.
750 2011-01-19 Graham Reed <greed@pobox.com>
753 * src/bitmap_allocator.cc (free_list::_M_get): Lock mutex.
755 2011-01-18 Benjamin Kosnik <bkoz@redhat.com>
757 * doc/xml/images/confdeps.png: Regenerate.
759 * include/std/chrono (duration): Mark copy constructor constexpr.
760 * testsuite/20_util/duration/cons/constexpr.cc: Add test.
762 2011-01-18 Paolo Carlini <paolo.carlini@oracle.com>
764 * include/bits/unique_ptr.h (default_delete<>::default_delete()):
765 Declare defaulted per DR 1517.
766 * testsuite/util/testsuite_common_types.h
767 (constexpr_defaulted_default_constructible): Add.
768 * testsuite/20_util/default_delete/cons/constexpr.cc: Use it.
770 2011-01-17 Paolo Carlini <paolo.carlini@oracle.com>
772 * include/bits/stl_queue.h (queue<>::swap, priority_queue<>::swap):
774 * include/bits/stl_stack.h (stack<>::swap): Likewise.
776 2011-01-16 Paolo Carlini <paolo.carlini@oracle.com>
779 * testsuite/28_regex/08_basic_regex/requirements/constexpr_data.cc:
780 Only test wregex when _GLIBCXX_USE_WCHAR_T is defined.
782 2011-01-16 Paolo Carlini <paolo.carlini@oracle.com>
785 * testsuite/18_support/numeric_limits/lowest.cc:
786 Only test wchar_t when _GLIBCXX_USE_WCHAR_T is defined.
788 2011-01-16 Paolo Carlini <paolo.carlini@oracle.com>
791 * testsuite/21_strings/basic_string/requirements/typedefs.cc:
792 Only test std::wstring when _GLIBCXX_USE_WCHAR_T is defined.
794 2011-01-16 François Dumont <francois.cppdevs@free.fr>
796 * testsuite/23_containers/forward_list/debug/erase_after1_neg.cc: Move
797 to this. Use _neg suffix.
798 * testsuite/23_containers/forward_list/debug/erase_after1.cc: ...from
800 * testsuite/23_containers/forward_list/debug/erase_after2_neg.cc:
802 * testsuite/23_containers/forward_list/debug/erase_after2.cc: Same.
803 * testsuite/23_containers/forward_list/debug/erase_after3_neg.cc:
805 * testsuite/23_containers/forward_list/debug/erase_after3.cc: Same.
806 * testsuite/23_containers/forward_list/debug/erase_after4_neg.cc:
808 * testsuite/23_containers/forward_list/debug/erase_after4.cc: Same.
809 * testsuite/23_containers/forward_list/debug/erase_after5_neg.cc:
811 * testsuite/23_containers/forward_list/debug/erase_after5.cc: Same.
812 * testsuite/23_containers/forward_list/debug/erase_after6_neg.cc:
814 * testsuite/23_containers/forward_list/debug/erase_after6.cc: Same.
815 * testsuite/23_containers/forward_list/debug/erase_after7_neg.cc:
817 * testsuite/23_containers/forward_list/debug/erase_after7.cc: Same.
818 * testsuite/23_containers/forward_list/debug/erase_after8_neg.cc:
820 * testsuite/23_containers/forward_list/debug/erase_after8.cc: Same.
821 * testsuite/23_containers/forward_list/debug/erase_after9_neg.cc:
823 * testsuite/23_containers/forward_list/debug/erase_after9.cc: Same.
824 * testsuite/23_containers/forward_list/debug/insert_after1_neg.cc:
826 * testsuite/23_containers/forward_list/debug/insert_after1.cc: Same.
827 * testsuite/23_containers/forward_list/debug/insert_after2_neg.cc:
829 * testsuite/23_containers/forward_list/debug/insert_after2.cc: Same.
830 * testsuite/23_containers/forward_list/debug/insert_after3_neg.cc:
832 * testsuite/23_containers/forward_list/debug/insert_after3.cc: Same.
833 * testsuite/23_containers/forward_list/debug/splice_after1_neg.cc:
835 * testsuite/23_containers/forward_list/debug/splice_after1.cc: Same.
836 * testsuite/23_containers/forward_list/debug/splice_after2_neg.cc:
838 * testsuite/23_containers/forward_list/debug/splice_after2.cc: Same.
839 * testsuite/23_containers/forward_list/debug/splice_after3_neg.cc:
841 * testsuite/23_containers/forward_list/debug/splice_after3.cc: Same.
842 * testsuite/23_containers/forward_list/debug/splice_after4_neg.cc:
844 * testsuite/23_containers/forward_list/debug/splice_after4.cc: Same.
846 2011-01-14 Benjamin Kosnik <bkoz@redhat.com>
849 * include/Makefile.am (bits_sup_headers, stamp-bits-sup): New.
850 * include/Makefile.in: Regenerate.
851 * libsupc++/Makefile.am (std_HEADERS, bits_HEADERS): New.
852 (install-stdHEADERS, install-bitsHEADERS): New.
853 * libsupc++/Makefile.in: Regenerate.
855 * include/bits/c++config: Update for inline namespaces.
856 * libsupc++/cxxabi-forced.h: To...
857 * libsupc++/cxxabi_forced.h: ...this.
858 * libsupc++/hash_bytes.h: Separate file.
859 * libsupc++/typeinfo: Use it.
860 * libsupc++/exception: Adjust for bits subdirectory.
861 * libsupc++/eh_aux_runtime.cc: Same.
862 * libsupc++/eh_ptr.cc: Same.
863 * libsupc++/new_op.cc: Same.
864 * libsupc++/exception_defines.h: Same.
865 * libsupc++/nested_exception.h: Same.
866 * libsupc++/eh_terminate.cc: Same.
867 * libsupc++/vec.cc: Same.
868 * libsupc++/vterminate.cc: Same.
869 * libsupc++/exception_ptr.h: Same.
870 * libsupc++/eh_personality.cc: Same.
871 * libsupc++/eh_call.cc: Same.
872 * libsupc++/new_opnt.cc: Same.
873 * libsupc++/hash_bytes.cc: Same.
874 * config/cpu/arm/cxxabi_tweaks.h: Same.
875 * config/cpu/generic/cxxabi_tweaks.h: Same.
876 * libsupc++/cxxabi.h: Same. Consolidate _GLIBCXX_NOTHROW defines.
877 * include/std/bitset: Same.
878 * include/ext/vstring.tcc: Same.
879 * include/bits/hashtable.h: Same.
880 * include/bits/functional_hash.h: Same.
881 * include/bits/hashtable_policy.h: Same.
882 * include/bits/basic_string.h: Same.
883 * include/bits/istream.tcc: Same.
884 * include/bits/ostream.tcc: Same.
885 * include/bits/algorithmfwd.h: Same.
886 * include/bits/basic_string.tcc: Same.
887 * include/bits/ostream_insert.h: Same.
888 * include/bits/fstream.tcc: Same.
889 * include/bits/functexcept.h: Same.
891 * doc/doxygen/user.cfg.in: Adjust names.
893 * testsuite/ext/profile/mutex_extensions_neg.cc: Adjust line numbers.
895 2011-01-14 Paolo Carlini <paolo.carlini@oracle.com>
897 * testsuite/25_algorithms/is_permutation/check_type.cc: Minor
899 * testsuite/25_algorithms/is_permutation/1.cc: Cosmetic changes.
901 2011-01-13 Paolo Carlini <paolo.carlini@oracle.com>
903 * testsuite/25_algorithms/is_permutation/check_type.cc: New.
904 * testsuite/25_algorithms/is_permutation/requirements/
905 explicit_instantiation/2.cc: Likewise.
906 * testsuite/25_algorithms/is_permutation/requirements/
907 explicit_instantiation/pod.cc: Likewise.
908 * testsuite/25_algorithms/is_permutation/1.cc: Likewise.
910 2011-01-13 John Lakos <jlakos@bloomberg.net>
911 Pablo Halpern <phalpern@halpernwightsoftware.com>
912 Paolo Carlini <paolo.carlini@oracle.com>
914 * include/bits/stl_algo.h (is_permutation): Add, per N3068.
915 * include/bits/algorithmfwd.h: Add.
917 2011-01-13 Jonathan Wakely <jwakely.gcc@gmail.com>
920 * config/os/bsd/netbsd/ctype_base.h: Use new macros based on version.
922 2011-01-11 Paolo Carlini <paolo.carlini@oracle.com>
924 * aclocal.m4: Regenerate.
926 2011-01-06 Paolo Carlini <paolo.carlini@oracle.com>
929 * src/placeholders.cc: New.
930 * src/Makefile.am: Adjust.
931 * src/Makefile.in: Regenerate.
932 * include/std/functional (placeholders::_1, _2, ..., _29): Declare
934 * config/abi/pre/gnu.ver: Export.
936 2011-01-05 François Dumont <francois.cppdevs@free.fr>
938 * include/debug/safe_base.h (_Safe_iterator_base::_M_unlink): New.
939 * include/src/debug.cc: Use latter
940 * include/debug/forward_list (forward_list<>::_M_swap): Fix to
941 correctly handle before_begin iterators.
942 * testsuite/23_containers/forward_list/debug/swap.cc: Remove now
943 useless _GLIBCXX_DEBUG checks.
945 2011-01-04 Kai Tietz <kai.tietz@onevision.com>
948 * configure.ac (AC_CHECK_FILE): Replaced by test -f.
949 * configure: Regenerated.
951 2011-01-03 Paolo Carlini <paolo.carlini@oracle.com>
954 * config/abi/pre/gnu.ver: Export std::bad_function_call symbols.
957 Copyright (C) 2011 Free Software Foundation, Inc.
959 Copying and distribution of this file, with or without modification,
960 are permitted in any medium without royalty provided the copyright
961 notice and this notice are preserved.