1 2005-02-13 Richard Guenther <rguenth@gcc.gnu.org>
2 Paolo Carlini <pcarlini@suse.de>
5 * include/c_std/std_cmath.h (pow): Use __builtin_powi[lf]
8 * testsuite/26_numerics/cmath/powi.cc: New.
10 2005-02-11 Janis Johnson <janis187@us.ibm.com>
12 * testsuite/26_numerics/complex/13450.cc: Fix XFAIL selector.
13 * testsuite/26_numerics/complex/complex_value.cc: Ditto.
14 * testsuite/26_numerics/complex/pow.cc: Ditto.
16 * testsuite/lib/libstdc++.exp: Load target-supports-dg.exp.
17 * testsuite/26_numerics/complex/13450.cc: XFAIL for broken_cplxf_arg.
18 * testsuite/26_numerics/complex/complex_value.cc: Ditto.
19 * testsuite/26_numerics/complex/pow.cc: Ditto.
21 2005-02-09 Mike Stump <mrs@apple.com>
23 * libsupc++/del_op.cc: Don't include cstdlib when !_GLIBCXX_HOSTED.
25 2005-02-09 Janis Johnson <janis187@us.ibm.com>
27 * testsuite/ext/array_allocator/2.cc: XFAIL for powerpc*-*-linux*.
29 2005-02-08 Mark Mitchell <mark@codesourcery.com>
31 * config/linker-map.gnu (GLIBCXX_3.4): Add _ZNSdC* and _ZNSdD*.
33 2005-02-07 Loren J. Rittle <ljrittle@acm.org>
35 * testsuite/27_io/basic_istream/getline/wchar_t/5.cc: Make buf static.
36 * testsuite/27_io/basic_stringbuf/setbuf/wchar_t/4.cc: Make ref and
39 2005-02-02 Brad Spencer <spencer@infointeractive.com>
41 * debug.html: Fix broken tags.
42 * documentation.html: Same.
44 2005-02-02 Andreas Jaeger <aj@suse.de>
46 * testsuite/lib/libstdc++.exp: Revert Geoffrey Keating's patch
48 * testsuite/Makefile.am: Likewise.
49 * testsuite/Makefile.in: Likewise.
51 2005-02-01 Paolo Carlini <pcarlini@suse.de>
53 * include/bits/cpp_type_traits.h: Rename _M_type fields to
54 __value, except for __enable_if, _M_type -> __type, consistently
55 with the other traits.
56 * include/bits/stl_algobase.h: Tweak consistently.
57 * include/bits/stl_tree.h: Likewise.
58 * include/bits/valarray_array.h: Likewise.
59 * include/c_std/std_cmath.h: Likewise.
60 * include/debug/safe_iterator.h: Likewise.
61 * include/std/std_complex.h: Likewise.
63 2005-01-31 Brad Spencer <spencer@infointeractive.com>
65 * crossconfig.m4: Repair Solaris cross bits for strtold and strtof.
66 * configure: Regenerated.
68 2005-01-31 Mark Mitchell <mark@codesourcery.com>
70 * include/std/std_limits.h (numeric_limits<float>::has_denorm):
72 (numeric_limits<double>::has_denorm): Likewise.
73 (numeric_limits<long double>::has_denorm): Likewise.
75 2005-01-31 Paolo Carlini <pcarlini@suse.de>
76 Gabriel Dos Reis <gdr@integrable-solutions.net>
78 * include/bits/cpp_type_traits.h: Add types to the structs thus
79 making type_traits.h redundant; exploit new __truth_type and
81 * include/bits/type_traits.h: Remove.
82 * include/Makefile.am: Update.
83 * include/Makefile.in: Regenerate.
84 * include/backward/tempbuf.h: Include cpp_type_traits.h instead.
85 * include/bits/basic_string.h (replace(iterator, iterator,
86 _InputIterator, _InputIterator), _S_construct(_InIterator,
87 _InIterator, const _Alloc&)): Use __is_integer instead.
88 * include/bits/stl_bvector.h (vector(_InputIterator,
89 _InputIterator, const allocator_type&), assign(_InputIterator,
90 _InputIterator), insert(iterator, _InputIterator, _InputIterator)):
92 * include/bits/stl_construct.h (_Destroy(_ForwardIterator,
93 _ForwardIterator)): Use __is_scalar.
94 * include/bits/stl_deque.h (deque(_InputIterator, _InputIterator,
95 const allocator_type&), assign(_InputIterator, _InputIterator),
96 insert(iterator, _InputIterator, _InputIterator)): Use __is_integer.
97 * include/bits/stl_list.h (assign(_InputIterator, _InputIterator),
98 insert(iterator, _InputIterator, _InputIterator)): Likewise.
99 * include/bits/stl_tempbuf.h (_Temporary_buffer(_ForwardIterator,
100 _ForwardIterator)): Use __is_scalar.
101 * include/bits/stl_uninitialized.h (uninitialized_copy(_InputIterator,
102 _InputIterator, _ForwardIterator), uninitialized_fill(_ForwardIterator,
103 _ForwardIterator, const _Tp&), uninitialized_fill_n(_ForwardIterator,
104 _Size, const _Tp&)): Likewise.
105 * include/bits/stl_vector.h (vector(_InputIterator, _InputIterator,
106 const allocator_type&), assign(_InputIterator, _InputIterator),
107 insert(iterator, _InputIterator, _InputIterator)): Use __is_integer.
108 * include/debug/debug.h (__valid_range(const _InputIterator&,
109 const _InputIterator&)): Use __is_integer.
110 * include/ext/slist (assign(_InputIterator, _InputIterator)): Likewise.
111 * include/std/std_string.h: Include cpp_type_traits.h instead.
113 2005-01-30 Paolo Carlini <pcarlini@suse.de>
116 * config/locale/generic/c_locale.h (__convert_from_v): Switch only
117 LC_NUMERIC, and only when actually != "C".
119 2005-01-28 Paolo Carlini <pcarlini@suse.de>
121 * include/tr1/type_traits (is_function): Minor consistency tweaks.
123 2005-01-28 Geoffrey Keating <geoffk@apple.com>
125 * testsuite/lib/libstdc++.exp (libstdc++_init): Search the path
126 for the compiler. Don't set cxxflags.
127 (v3_target_compile): Search for libv3test.a relative to $objdir.
128 (lsearch_all_inline): New.
129 (lsearch_all_inline_not): New.
130 (v3-list-tests): Rewrite to not need generated files.
131 * testsuite/Makefile.am (IGNORE_WCHAR_T): New.
132 (IGNORE_THREAD): New.
133 (TESTS_TO_IGNORE): New.
134 (site.exp): Set tests_to_ignore, cxxflags.
135 * aclocal.m4: Regenerate.
136 * Makefile.in: Regenerate.
137 * libmath/Makefile.in: Likewise.
138 * libsupc++/Makefile.in: Likewise.
139 * po/Makefile.in: Likewise.
140 * src/Makefile.in: Likewise.
141 * testsuite/Makefile.in: Likewise.
143 2005-01-28 Paolo Carlini <pcarlini@suse.de>
145 * include/tr1/type_traits: Implement is_empty.
146 * testsuite/tr1/4_metaprogramming/type_properties/is_empty/
148 * testsuite/tr1/4_metaprogramming/type_properties/is_empty/
149 typedefs.cc: Likewise.
151 * include/tr1/type_traits (__is_abstract_helper): Simplify a bit.
153 2005-01-28 Paolo Carlini <pcarlini@suse.de>
155 * include/tr1/type_traits: Implement is_abstract, by exploiting the
156 resolution of DR core/337.
157 * testsuite/testsuite_tr1.h: Add AbstractClass.
158 * testsuite/tr1/4_metaprogramming/type_properties/is_abstract/
160 * testsuite/tr1/4_metaprogramming/type_properties/is_abstract/
161 typedefs.cc: Likewise.
163 * include/tr1/type_traits (is_function): Rewrite, use the conversion
164 F& -> F* instead, thus avoiding problems with abstract classes.
165 * testsuite/tr1/4_metaprogramming/primary_type_categories/
166 is_function/is_function.cc: Add a test for tricky AbstractClass.
168 2005-01-26 Paolo Carlini <pcarlini@suse.de>
170 * include/ext/mt_allocator.h
171 (struct __per_type_pool_policy<,, false>::_S_get_pool,
172 struct __per_type_pool_policy<,, true>::_S_get_pool): Scale
173 _M_chunk_size too with sizeof(_Tp), otherwise the allocator
174 breaks down as soon as sizeof(_Tp) >~ _S_chunk_size / 128;
175 reduce to 64 the multiplier for _M_max_bytes (safer wrt
176 _Binmap_type being a short); trivial reformattings.
177 * testsuite/ext/mt_allocator/check_allocate_big_per_type.cc: New.
179 2005-01-26 Paolo Carlini <pcarlini@suse.de>
181 * acinclude.m4 ([GLIBCXX_ENABLE_C99]): Add ac_c99_complex
182 to the final test for enable_c99, thus robustifying it; remove
183 duplicate final test on ac_99_math.
184 * configure: Regenerate.
186 * include/std/std_complex.h: Remove usages of the dead
187 _GLIBCXX_BUGGY_COMPLEX macro.
189 * testsuite/26_numerics/cmath/19322.cc: Protect with
190 _GLIBCXX_USE_C99_MATH instead of the stronger _GLIBCXX_USE_C99,
191 since only C99 math facilities are involved.
192 * testsuite/26_numerics/cmath/c99_classification_macros_c++.cc:
195 2005-01-25 Loren J. Rittle <ljrittle@acm.org>
197 * acinclude.m4 (GLIBCXX_ENABLE_CLOCALE): Map FreeBSD to darwin
198 instead of generic. Change autoconf report to "darwin or freebsd".
199 * configure: Regenerate.
200 * config/os/bsd/freebsd/ctype_inline.h (ctype<wchar_t>::do_is): Add.
201 (ctype<wchar_t>::do_scan_is): Likewise.
202 (ctype<wchar_t>::do_scan_not): Likewise.
204 2005-01-25 Benjamin Kosnik <bkoz@redhat.com>
206 * acinclude.m4 (GLIBCXX_ENABLE_C99): Test for complex math
207 functions, and enable _GLIBCXX_USE_C99_COMPLEX_MATH if they exist.
208 * acconfig.h: Add _GLIBCXX_USE_C99_COMPLEX_MATH.
209 * config.h.in: Regenerate.
210 * configure: Regenerate.
211 * include/std/std_complex.h: Protect complex builtins with
212 _GLIBCXX_USE_C99_COMPLEX_MATH.
214 2005-01-24 Paolo Carlini <pcarlini@suse.de>
216 * include/tr1/type_traits: Implement is_signed and is_unsigned.
217 * testsuite/tr1/4_metaprogramming/type_properties/
218 is_signed/is_signed.cc: New.
219 * testsuite/tr1/4_metaprogramming/type_properties/
220 is_signed/typedefs.cc: Likewise.
221 * testsuite/tr1/4_metaprogramming/type_properties/
222 is_unsigned/is_unsigned.cc: Likewise.
223 * testsuite/tr1/4_metaprogramming/type_properties/
224 is_unsigned/typedefs.cc: Likewise.
226 2005-01-23 Paolo Carlini <pcarlini@suse.de>
228 * docs/html/ext/lwg-active.html, lwg-defects.html: Import Revision 34.
230 2005-01-23 Paolo Carlini <pcarlini@suse.de>
232 * testsuite/27_io/basic_ostream/cons/wchar_t/9827.cc: New.
233 * testsuite/27_io/basic_ostream/endl/wchar_t/1.cc: Likewise.
234 * testsuite/27_io/basic_ostream/ends/wchar_t/1.cc: Likewise.
235 * testsuite/27_io/basic_ostream/ends/wchar_t/2.cc: Likewise.
236 * testsuite/27_io/basic_ostream/exceptions/wchar_t/9561.cc: Likewise.
237 * testsuite/27_io/basic_ostream/flush/wchar_t/1.cc: Likewise.
238 * testsuite/27_io/basic_ostream/flush/wchar_t/2.cc: Likewise.
239 * testsuite/27_io/basic_ostream/flush/wchar_t/
240 exceptions_badbit_throw.cc: Likewise.
241 * testsuite/27_io/basic_ostream/inserters_arithmetic/
242 wchar_t/2.cc: Likewise.
243 * testsuite/27_io/basic_ostream/inserters_arithmetic/
244 wchar_t/3.cc: Likewise.
245 * testsuite/27_io/basic_ostream/inserters_arithmetic/
246 wchar_t/4.cc: Likewise.
247 * testsuite/27_io/basic_ostream/inserters_arithmetic/
248 wchar_t/4402.cc: Likewise.
249 * testsuite/27_io/basic_ostream/inserters_arithmetic/
250 wchar_t/5.cc: Likewise.
251 * testsuite/27_io/basic_ostream/inserters_arithmetic/
252 wchar_t/6.cc: Likewise.
253 * testsuite/27_io/basic_ostream/inserters_arithmetic/
254 wchar_t/9555-oa.cc: Likewise.
255 * testsuite/27_io/basic_ostream/inserters_arithmetic/
256 wchar_t/exceptions_badbit_throw.cc: Likewise.
257 * testsuite/27_io/basic_ostream/inserters_arithmetic/
258 wchar_t/exceptions_failbit_throw.cc: Likewise.
259 * testsuite/27_io/basic_ostream/inserters_character/
260 wchar_t/1.cc: Likewise.
261 * testsuite/27_io/basic_ostream/inserters_character/
262 wchar_t/2.cc: Likewise.
263 * testsuite/27_io/basic_ostream/inserters_character/
264 wchar_t/3.cc: Likewise.
265 * testsuite/27_io/basic_ostream/inserters_character/
266 wchar_t/4.cc: Likewise.
267 * testsuite/27_io/basic_ostream/inserters_character/
268 wchar_t/5.cc: Likewise.
269 * testsuite/27_io/basic_ostream/inserters_character/
270 wchar_t/6.cc: Likewise.
271 * testsuite/27_io/basic_ostream/inserters_character/
272 wchar_t/9555-oc.cc: Likewise.
273 * testsuite/27_io/basic_ostream/inserters_other/
274 wchar_t/1.cc: Likewise.
275 * testsuite/27_io/basic_ostream/inserters_other/
276 wchar_t/2.cc: Likewise.
277 * testsuite/27_io/basic_ostream/inserters_other/
278 wchar_t/3.cc: Likewise.
279 * testsuite/27_io/basic_ostream/inserters_other/
280 wchar_t/4.cc: Likewise.
281 * testsuite/27_io/basic_ostream/inserters_other/
282 wchar_t/5.cc: Likewise.
283 * testsuite/27_io/basic_ostream/inserters_other/
284 wchar_t/9318-out.cc: Likewise.
285 * testsuite/27_io/basic_ostream/inserters_other/
286 wchar_t/9424-out.cc: Likewise.
287 * testsuite/27_io/basic_ostream/inserters_other/
288 wchar_t/9555-oo.cc: Likewise.
289 * testsuite/27_io/basic_ostream/inserters_other/wchar_t/
290 error_failbit.cc: Likewise.
291 * testsuite/27_io/basic_ostream/inserters_other/wchar_t/
292 exceptions_badbit_throw.cc: Likewise.
293 * testsuite/27_io/basic_ostream/inserters_other/wchar_t/
294 exceptions_failbit_throw.cc: Likewise.
295 * testsuite/27_io/basic_ostream/inserters_other/wchar_t/
296 exceptions_null.cc: Likewise.
297 * testsuite/27_io/basic_ostream/put/char/1.cc: Likewise.
298 * testsuite/27_io/basic_ostream/put/wchar_t/1.cc: Likewise.
299 * testsuite/27_io/basic_ostream/seekp/char/
300 exceptions_badbit_throw.cc: Likewise.
301 * testsuite/27_io/basic_ostream/seekp/wchar_t/
302 2346-fstream.cc: Likewise.
303 * testsuite/27_io/basic_ostream/seekp/wchar_t/
304 2346-sstream.cc: Likewise.
305 * testsuite/27_io/basic_ostream/seekp/wchar_t/
306 exceptions_badbit_throw.cc: Likewise.
307 * testsuite/27_io/basic_ostream/sentry/wchar_t/1.cc: Likewise.
308 * testsuite/27_io/basic_ostream/sentry/wchar_t/2.cc: Likewise.
309 * testsuite/27_io/basic_ostream/tellp/wchar_t/1.cc: Likewise.
310 * testsuite/27_io/basic_ostream/tellp/wchar_t/2.cc: Likewise.
311 * testsuite/27_io/basic_ostream/tellp/wchar_t/
312 exceptions_badbit_throw.cc: Likewise.
313 * testsuite/27_io/basic_ostream/write/wchar_t/1.cc: Likewise.
315 * testsuite/data/wostream_inserter_char-1.tst: Likewise.
316 * testsuite/data/wostream_inserter_char-1.txt: Likewise.
317 * testsuite/data/wostream_inserter_other-1.tst: Likewise.
318 * testsuite/data/wostream_inserter_other-2.tst: Likewise.
319 * testsuite/data/wostream_seeks-1.tst: Likewise.
321 * testsuite/27_io/basic_ostream/endl/char/1.cc: Minor tweaks.
322 * testsuite/27_io/basic_ostream/ends/char/1.cc: Likewise.
323 * testsuite/27_io/basic_ostream/exceptions/char/9561.cc: Likewise.
324 * testsuite/27_io/basic_ostream/flush/char/1.cc: Likewise.
325 * testsuite/27_io/basic_ostream/flush/char/2.cc: Likewise.
326 * testsuite/27_io/basic_ostream/flush/char/
327 exceptions_badbit_throw.cc: Likewise.
328 * testsuite/27_io/basic_ostream/inserters_arithmetic/
330 * testsuite/27_io/basic_ostream/inserters_arithmetic/
332 * testsuite/27_io/basic_ostream/inserters_arithmetic/
334 * testsuite/27_io/basic_ostream/inserters_arithmetic/
335 char/4402.cc: Likewise.
336 * testsuite/27_io/basic_ostream/inserters_arithmetic/
338 * testsuite/27_io/basic_ostream/inserters_arithmetic/
340 * testsuite/27_io/basic_ostream/inserters_character/
342 * testsuite/27_io/basic_ostream/inserters_other/char/
344 * testsuite/27_io/basic_ostream/inserters_other/char/
346 * testsuite/27_io/basic_ostream/inserters_other/char/
347 error_failbit.cc: Likewise.
348 * testsuite/27_io/basic_ostream/inserters_other/char/
349 exceptions_badbit_throw.cc: Likewise.
350 * testsuite/27_io/basic_ostream/inserters_other/char/
351 exceptions_failbit_throw.cc: Likewise.
352 * testsuite/27_io/basic_ostream/inserters_other/char/
353 exceptions_null.cc: Likewise.
354 * testsuite/27_io/basic_ostream/put/char/1.cc: Likewise.
355 * testsuite/27_io/basic_ostream/seekp/char/
356 exceptions_badbit_throw.cc: Likewise.
357 * testsuite/27_io/basic_ostream/sentry/char/2.cc: Likewise.
358 * testsuite/27_io/basic_ostream/write/char/1.cc: Likewise.
360 2005-01-23 Paolo Carlini <pcarlini@suse.de>
362 * include/tr1/type_traits (aligned_storage): Use __aligned__ instead
365 2005-01-23 Paolo Carlini <pcarlini@suse.de>
366 Andreas Jaeger <aj@suse.de>
369 * include/bits/functexcept.h: Mark the helpers as 'noreturn'.
371 2005-01-21 Loren J. Rittle <ljrittle@acm.org>
373 * testsuite/27_io/basic_filebuf/open/char/9507.cc: Allow
374 lseek on fifo to succeed. Thus, check for consistent report.
376 2005-01-21 Volker Reichelt <reichelt@igpm.rwth-aachen.de>
379 * include/bits/stl_list.h (_List_iterator): Initialize _M_node
381 (_List_const_iterator): Likewise.
382 * include/bits/stl_tree.h (_Rb_tree_iterator): Likewise.
383 (_Rb_tree_const_iterator): Likewise.
385 * testsuite/23_containers/map/operators/1_neg.cc: Adjust line numbers.
386 * testsuite/23_containers/set/operators/1_neg.cc: Likewise.
388 2005-01-20 Benjamin Kosnik <bkoz@redhat.com>
390 * testsuite/Makefile.am (check-compile): New.
391 * testsuite/Makefile.in: Regenerate.
392 * scripts/check_compile_time: New.
393 * scripts/check_performance: Tweaks.
395 2005-01-19 Paolo Carlini <pcarlini@suse.de>
398 * include/tr1/utility (struct __pair_get<1>::__get, __const_get):
399 Fix typo in the return type.
400 * testsuite/tr1/6_containers/utility/19535.cc: New.
402 2005-01-19 Loren J. Rittle <ljrittle@acm.org>
404 * include/ext/array_allocator.h (array_allocator<>::allocate):
405 Avoid __used. Use __array_used instead.
406 * docs/html/17_intro/BADNAMES: Add list for FreeBSD.
408 2005-01-18 David Edelsohn <edelsohn@gnu.org>
410 * config/os/aix/os_defines.h (_XOPEN_SOURCE): Delete.
411 (_XOPEN_SOURCE_EXTENDED): Delete.
413 2005-01-18 Benjamin Kosnik <bkoz@redhat.com>
415 * testsuite/testsuite_performance.h (time_counter::start):
417 (clear_counters): Inline.
418 (start_counters): Inline.
419 (stop_counters): Inline.
420 * testsuite/performance/20_util/allocator/map_thread.cc: Return.
421 * testsuite/performance/20_util/allocator/insert.cc: Remove bogus
423 * testsuite/performance/20_util/allocator/map_thread.cc: Same.
425 2005-01-17 Paolo Carlini <pcarlini@suse.de>
428 * include/bits/stl_tree.h (_Rb_tree<>::insert_unique(iterator,
429 const _Val&), _Rb_tree<>::insert_equal(iterator, const _Val&)):
430 Obtain amortized constant complexity if t is inserted right after
431 p - not before p - as per Table 69.
432 * testsuite/performance/23_containers/set_insert_from_sorted.cc: New.
434 * testsuite/23_containers/multiset/insert/2.cc: New.
435 * testsuite/23_containers/set/insert/1.cc: Likewise.
437 * testsuite/performance/23_containers/set_create_from_sorted.cc:
440 * include/bits/stl_tree.h: Add a few missing std:: qualifications.
442 2005-01-16 Jonathan Wakely <redi@gcc.gnu.org>
444 * include/ext/rope: Qualify calls to std::copy() by sequence_buffer.
445 * testsuite/ext/rope/4.cc: Add.
447 2005-01-16 Lorenz Minder <lminder@gmx.net>
448 Paolo Carlini <pcarlini@suse.de>
451 * include/c_std/std_cmath.h: Define the C99 classification facilities
452 directly inside namespace std:.
453 * testsuite/26_numerics/cmath/19322.cc: New.
455 2005-01-15 David Edelsohn <edelsohn@gnu.org>
457 * config/os/aix/os_defines.h (_G_USING_THUNKS): Delete.
459 2005-01-14 Paolo Carlini <pcarlini@suse.de>
462 * include/bits/stl_tree.h (_Rb_tree<>::insert_equal(_II, _II),
463 _Rb_tree<>::insert_unique(_II, _II)): Use insert_equal (insert_unique,
464 respectively) with hint (end()).
465 * testsuite/performance/23_containers/set_create_from_sorted.cc: New.
467 2005-01-13 Geoffrey Keating <geoffk@apple.com>
469 * configure.host (darwin): On darwin8 or later, no need to build
470 libstdc++ with -flat_namespace.
472 2005-01-13 Jonathan Wakely <redi@gcc.gnu.org>
474 * docs/doxygen/user.cfg.in: Set HAVE_DOT back to YES.
476 2005-01-13 Paolo Carlini <pcarlini@suse.de>
478 * testsuite/26_numerics/cmath/c99_classification_macros_c++.cc:
479 Re-enable commented-out test for double type.
481 2005-01-11 Paolo Carlini <pcarlini@suse.de>
482 Benjamin Kosnik <bkoz@redhat.com>
484 * src/istream.cc (basic_istream<char>::ignore(streamsize),
485 basic_istream<char>::ignore(streamsize, int_type),
486 basic_istream<wchar_t>::ignore(streamsize),
487 basic_istream<wchar_t>::ignore(streamsize, int_type)): In case
488 more than numeric_limits<streamsize>::max() chars are skipped,
489 set _M_gcount = max().
490 * include/bits/istream.tcc (ignore(streamsize), ignore(streamsize,
491 int_type)): Likewise; keep simple, don't forward.
493 2005-01-11 Paolo Carlini <pcarlini@suse.de>
495 * src/istream.cc (basic_istream<char>::ignore(streamsize),
496 basic_istream<char>::ignore(streamsize, int_type),
497 basic_istream<wchar_t>::ignore(streamsize),
498 basic_istream<wchar_t>::ignore(streamsize, int_type)): Revert
499 2005-01-05 change: actually, the previous behavior is conforming
500 and consistent with that of get(char_type*, streamsize, char_type),
501 albeit slightly different from that of 3.3/3.4 in a corner case
502 due to the use of snextc.
503 * include/bits/istream.tcc (ignore(streamsize), ignore(streamsize,
504 int_type)): Likewise.
505 * testsuite/27_io/basic_istream/ignore/char/4.cc: Remove.
506 * testsuite/27_io/basic_istream/ignore/wchar_t/4.cc: Likewise.
508 2005-01-11 Paolo Carlini <pcarlini@suse.de>
510 * include/tr1/type_traits: Implement alignment_of and aligned_storage.
511 * testsuite/tr1/4_metaprogramming/other_transformations/
512 aligned_storage/aligned_storage.cc: New.
513 * testsuite/tr1/4_metaprogramming/other_transformations/
514 aligned_storage/typedefs.cc: Likewise.
515 * testsuite/tr1/4_metaprogramming/type_properties/
516 alignment_of/alignment_of.cc: Likewise.
517 * testsuite/tr1/4_metaprogramming/type_properties/
518 alignment_of/typedefs.cc: Likewise.
520 2005-01-10 Paolo Carlini <pcarlini@suse.de>
522 * Makefile.in: Regenerate.
523 * libmath/Makefile.in: Likewise.
524 * libsupc++/Makefile.in: Likewise.
525 * po/Makefile.in: Likewise.
526 * src/Makefile.in: Likewise.
527 * testsuite/Makefile.in: Likewise.
529 2005-01-10 Paolo Carlini <pcarlini@suse.de>
531 * include/bits/stl_algobase.h (lexicographical_compare):
534 2005-01-07 Benjamin Kosnik <bkoz@redhat.com>
536 * acinclude.m4: Remove CCODECVT_H.
537 * configure: Regenerate.
538 * include/Makefile.am (host_headers_extra): Move to...
539 (ext_headers): ...here.
540 * include/Makefile.in: Regenerate.
541 * include/ext/enc_filebuf: Remove enc_filebuf, consolidate
543 * config/locale/ieee_1003.1-2001/codecvt_specializations.h: Move...
544 * include/ext/codecvt_specializations.h: ...here. Remove
545 _GLIBCXX_USE___ENC_TRAITS.
546 (__enc_traits): To __encoding_state, put in __gnu_cxx namespace.
547 (enc_char_traits): To __encoding_char_traits, put in __gnu_cxx
549 * config/locale/generic/codecvt_specializations.h: Remove.
550 * include/bits/codecvt.h: Remove codecvt_specializations.h include.
551 * src/codecvt.cc: Remove __enc_traits::_S_max_size.
553 2005-01-06 Benjamin Kosnik <bkoz@redhat.com>
555 * include/bits/fstream.tcc: Remove unnecessary qualifications for
556 uglified data members of basic_filebuf, including _M_buf,
557 _M_buf_size, _M_mode, _M_pback_init.
558 * include/std/std_fstream.h: Same.
560 2005-01-05 Benjamin Kosnik <bkoz@redhat.com>
562 * testsuite/testsuite_hooks.h:
563 (copy_constructor::mark_call): Use __throw_runtime_error.
564 (assignment_operator::mark_call): Same.
565 * testsuite/testsuite_hooks.cc (verify_demangle): Same.
566 (locale_data): Remove, just use runtime_error directly.
567 (environment_variable): Same.
569 (run_tests_wrapped_locale): Use __throw_runtime_error.
570 (run_tests_wrapped_env): Same.
571 (semaphore::semaphore): Same.
572 (semaphore::signal): Same.
573 (semaphore::wait): Same.
574 * testsuite/testsuite_abi.h (symbol_error): Remove, use logic_error.
575 * testsuite/testsuite_abi.cc (get_symbol): Use __throw_logic_error.
576 (create_symbols): Use __throw_runtime_error.
577 * src/bitmap_allocator.cc: Use __throw_bad_alloc.
579 2005-01-05 Mark Mitchell <mark@codesourcery.com>
581 * testsuite/27_io/basic_filebuf/open/char/9507.cc: Remove child
584 2005-01-05 Paolo Carlini <pcarlini@suse.de>
586 * src/istream.cc (basic_istream<char>::ignore(streamsize),
587 basic_istream<char>::ignore(streamsize, int_type),
588 basic_istream<wchar_t>::ignore(streamsize),
589 basic_istream<wchar_t>::ignore(streamsize, int_type)): At the end,
590 first check _M_gcount vs __n.
591 * include/bits/istream.tcc (ignore(streamsize), ignore(streamsize,
592 int_type)): Likewise.
593 * testsuite/27_io/basic_istream/ignore/char/4.cc: New.
594 * testsuite/27_io/basic_istream/ignore/wchar_t/4.cc: Likewise.
596 2005-01-03 Mark Mitchell <mark@codesourcery.com>
598 * testsuite/testsuite_hooks.cc: Use __throw_exception_again
599 instead of just throw.
601 * testsuite/testsuite_hooks.cc: Update coypright and follow style
603 * testsuite/testsuite_hooks.h: Likewise.
604 * testsuite/27_io/basic_filebuf/close/char/4879.cc: Use
605 semaphores, not sleep.
606 * testsuite/27_io/basic_filebuf/close/char/9964.cc: Likewise.
607 * testsuite/27_io/basic_filebuf/imbue/char/13171-2.cc: Likewise.
608 * testsuite/27_io/basic_filebuf/imbue/char/13582-2.cc: Likewise.
609 * testsuite/27_io/basic_filebuf/imbue/wchar_t/14975-2.cc:
611 * testsuite/27_io/basic_filebuf/open/char/9507.cc: Likewise.
612 * testsuite/27_io/basic_filebuf/underflow/char/10097.cc: Likewise.
613 * testsuite/27_io/objects/char/7.cc: Likewise.
614 * testsuite/27_io/objects/char/9661-1.cc: Likewise.
615 * testsuite/27_io/objects/wchar_t/7.cc: Likewise.
616 * testsuite/27_io/objects/wchar_t/9661-1.cc: Likewise.
618 * configure.ac: Check for sys/ipc.h and sys/sem.h.
619 * config.h.in: Regenerated.
620 * configure: Likewise.
621 * testsuite/testsuite_hooks.cc (_GLIBCXX_SYSV_SEM): Conditionally
623 (sys/types.h): Include.
624 (sys/ipc.h): Likewise.
625 (sys/sem.h): Likewise.
626 (__gnu_test::semun): New type.
627 (__gnu_test::semaphore::sempaphore): New function.
628 (__gnu_test::semaphore::~semaphore): Likewise.
629 (__gnu_test::semaphore::wait): Likewise.
630 (__gnu_test::semaphore::signal): Likewise.
631 * testsuite/testsuite_hooks.h (__gnu_test::semaphore): New class.
632 * testsuite/27_io/basic_filebuf/close/char/4879.cc: Use
633 semaphores, not sleep.
634 * testsuite/27_io/basic_filebuf/close/char/9964.cc: Likewise.
635 * testsuite/27_io/basic_filebuf/imbue/char/13171-2.cc: Likewise.
636 * testsuite/27_io/basic_filebuf/imbue/char/13582-2.cc: Likewise.
637 * testsuite/27_io/basic_filebuf/imbue/wchar_t/14975-2.cc:
639 * testsuite/27_io/basic_filebuf/open/char/9507.cc: Likewise.
640 * testsuite/27_io/basic_filebuf/underflow/char/10097.cc: Likewise.
641 * testsuite/27_io/objects/char/7.cc: Likewise.
642 * testsuite/27_io/objects/char/9661-1.cc: Likewise.
643 * testsuite/27_io/objects/wchar_t/7.cc: Likewise.
644 * testsuite/27_io/objects/wchar_t/9661-1.cc: Likewise.
646 2005-01-03 Paolo Carlini <pcarlini@suse.de>
648 * include/bits/istream.tcc (ignore(streamsize), ignore(streamsize,
649 int_type)): Reset _M_gcount to numeric_limits<streamsize>::min().
650 * src/istream.cc (basic_istream<char>::ignore(streamsize, int_type),
651 basic_istream<wchar_t>::ignore(streamsize, int_type)): Likewise.
652 * src/istream.cc (basic_istream<char>::ignore(streamsize),
653 basic_istream<wchar_t>::ignore(streamsize)): Likewise; fix a typo.
655 2005-01-02 Paolo Carlini <pcarlini@suse.de>
657 * src/istream.cc (basic_istream<char>::ignore(streamsize),
658 basic_istream<char>::ignore(streamsize, int_type),
659 basic_istream<wchar_t>::ignore(streamsize),
660 basic_istream<wchar_t>::ignore(streamsize, int_type)): Avoid
662 * include/bits/istream.tcc (ignore(streamsize), ignore(streamsize,
663 int_type)): Likewise; use snextc in the main loop, consistently
664 with the specializations above.
666 2005-01-02 Chris Jefferson <chris@bubblescope.net>
668 * include/bits/stl_algobase.h (mismatch): Correct concept check.
670 2005-01-01 Paolo Carlini <pcarlini@suse.de>
672 * testsuite/ext/enc_filebuf/char/13189.cc: Fix, first include
673 testsuite_hooks.h, to know whether including ext/enc_filebuf.h.
674 * testsuite/ext/enc_filebuf/wchar_t/13189.cc: Likewise.
676 2005-01-01 Paolo Carlini <pcarlini@suse.de>
678 * testsuite/27_io/basic_istream/extractors_character/char/1.cc: Fix,
679 null-terminate array1 at the outset.
680 * testsuite/27_io/basic_istream/extractors_character/wchar_t/1.cc: