7cdc71e31146f8d9d965184122975546a1adf78c
[gcc.git] / libstdc++-v3 / ChangeLog
1 2002-08-02 Danny Smith <dannysmith@users.sourceforge.net>
2
3 * config/os/newlib/ctype_inline.h (is): Don't offset _M_table.
4 (scan_is): Use this->is.
5 (scan_not): Likewise.
6
7 2002-08-02 Benjamin Kosnik <bkoz@redhat.com>
8
9 Revert PR libstdc++/6594
10 * src/strstream.cc (strstreambuf): Revert.
11 (strstreambuf::overflow): Same.
12 (strstreambuf::~strstreambuf): Same.
13 * testsuite/backward/strstream_members.cc (test02): Add.
14
15 * docs/html/abi.txt: Update. Spell check.
16
17 * testsuite/19_diagnostics/stdexceptions.cc (test04): Add bool test.
18
19 * testsuite/Makefile.am (INCLUDES): Add LIBSUPCXX_INCLUDES.
20 * testsuite/Makefile.in: Regenerate.
21 * testsuite/testsuite_hooks.h: Use __throw_exception_again,
22 include functexcept.h so that -fno-exceptions will build.
23
24 2002-08-02 Gabriel Dos Reis <gdr@nerim.net>
25
26 * include/bits/valarray_meta.h (__unary_plus, __negate,
27 __bitwise_not, __plus, __minus, __multiplies, __divides,
28 __modulus, __bitwise_xor, __bitwise_or, __bitwise_and,
29 __shift_left, __shift_right, __logical_and, __logical_or,
30 __logical_not, __equal_to, __not_equal_to, __less, __less_equal,
31 __greater_equal, __greater, __atan2, __pow): New function object
32 classes.
33 (__fun<>): New function traits class.
34
35 2002-08-01 Rick Danos <rdanos@hotmail.com>
36
37 PR libstdc++/7461
38 * config/os/newlib/ctype_noninline.h (classic_table): Add offset.
39 * config/os/newlib/ctype_inline.h (is): Use static_cast.
40
41 2002-08-01 Neil Booth <neil@daikokuya.co.uk>
42
43 * libsupc++/Makefile.am (LT_COMPILE): Remove C++ flags.
44 * libsupc++/Makefile.in: Regenerate.
45
46 2002-08-01 Benjamin Kosnik <bkoz@redhat.com>
47 Jakub Jelinek <jakub@redhat.com>
48
49 * config/linker-map.gnu: Change CXXABI_1 to CXXABI_1.2,
50 GLIBCPP_3.1 to GLIBCPP_3.2.
51
52 2002-07-31 Benjamin Kosnik <bkoz@redhat.com>
53 Mark Mitchell <mark@codesourcery.com>
54
55 PR libstdc++/7442
56 * libsupc++/cxxabi.h (class __base_class_type_info::hwm_bit):
57 Change to __hwm_bit.
58 (__class_type_info): And here.
59
60 2002-07-31 Benjamin Kosnik <bkoz@redhat.com>
61
62 PR libstdc++/7442
63 * libsupc++/cxxabi.h
64 (__base_class_info): Change to __base_class_type_info. 2.9.5p6c
65 (__base_class_info::__base): Change to __base_type. 2.9.5p6c
66 (__base_class_info::offset_shift): Change to __offset_shift. 2.9.5p6c
67 (__vmi_class_type_info::__base_info): Don't make const, of type
68 __base_class_type_info, as per 2.9.5p6c
69 (__pbase_type_info::__qualifier_flags): Change to __flags, as per
70 2.9.5p7.
71 (__pbase_type_info::__qualifier_masks): Change to __masks, as per
72 2.9.5p7.
73 (__pointer_to_member_type_info::__context_class): Change member to
74 __context, as per 2.9.5p9.
75 * libsupc++/tinfo2.cc (__pointer_catch): Change __context_class to
76 __context.
77 * libsupc++/tinfo2.cc (__do_catch): Change __qualifier_flags to
78 __flags.
79 * libsupc++/tinfo.cc (__do_find_public_src): Change __base to
80 __base_type.
81 * libsupc++/tinfo.cc (__do_dyncast): Same.
82 * libsupc++/tinfo.cc (__do_upcast): Same.
83
84 2002-07-31 Benjamin Kosnik <bkoz@redhat.com>
85
86 * src/fstream.cc: Add _GLIBCPP_USE_WCHAR_T guards.
87
88 2002-07-31 Simon Whomsley <whomsley@avacadcam.com>
89
90 * docs/html/22_locale/howto.html: Fix.
91
92 2002-07-31 Alex Kompel <shurik@sequoiap.com>
93
94 PR libstdc++/7445
95 * src/locale.cc (locale::classic): Move locks inside !_S_classic
96 block.
97
98 2002-07-31 Benjamin Kosnik <bkoz@redhat.com>
99
100 * docs/html/abi.txt: Update.
101
102 2002-07-30 Benjamin Kosnik <bkoz@redhat.com>
103 Gabriel Dos Reis <gdr@nerim.net>
104
105 * include/bits/char_traits.h: Remove generic definitions.
106 * include/bits/streambuf_iterator.h (istreambuf_iterator): Use
107 eof, not -2.
108 * include/bits/istream.tcc (istream::readsome): Don't check
109 against eof, instead use constants.
110 (istream::sync): Same.
111 (istream::sentry::sentry): Use eq_int_type.
112 (istream::get): Same.
113 * include/bits/ostream.tcc: Change __pad to
114 __pad<_CharT, _Traits>::_S_pad.
115 * include/bits/locale_facets.h: Add __pad_traits generic and
116 ostreambuf_iterator specialization.
117 * include/bits/locale_facets.tcc: Change __pad into struct __pad
118 with a _CharT and _Traits template parameter and _S_pad static
119 member function.
120 * src/locale-inst.cc: Update __pad instantiations.
121
122 * include/std/std_fstream.h: Declare _M_underflow_common
123 specializations.
124 * src/fstream.cc: New. Add _M_underflow_common specializations.
125 * include/bits/fstream.tcc (filebuf::close): Use traits_type.
126 (filebuf::_M_underflow_common(bool)): Remove generic version, as
127 sys_ungetc and custom int_types don't get along.
128 * include/std/std_streambuf.h: Add _M_pos.
129 * src/Makefile.am (sources): Add fstream.cc.
130 * src/Makefile.in: Regenerate.
131
132 * testsuite/21_strings/capacity.cc: Add char_traits specializations.
133 * testsuite/22_locale/codecvt_members_unicode_char.cc: Same.
134 * testsuite/22_locale/codecvt_members_unicode_wchar_t.cc: Same.
135 * testsuite/22_locale/ctor_copy_dtor.cc: Same.
136 * testsuite/27_io/filebuf_virtuals.cc (test07): Move to...
137 * testsuite/27_io/filebuf.cc: ...here.
138 * testsuite/testsuite_hooks.h: Add gnu_char, gnu_int, char_traits
139 specialization for both.
140 * testsuite/27_io/streambuf.cc: Add instantiation test,
141 testsuite_hooks include.
142 * testsuite/27_io/istream.cc: Same.
143 * testsuite/27_io/ostream.cc: Same.
144 * testsuite/27_io/fstream.cc: Same.
145 * testsuite/27_io/stringstream.cc: Same.
146 * testsuite/27_io/filebuf.cc: Same.
147 * testsuite/27_io/stringbuf.cc: Same.
148
149 2002-07-29 Alan Modra <amodra@bigpond.net.au>
150
151 * config/cpu/powerpc/cpu_limits.h (__glibcpp_long_bits): Define.
152 * configure.target (cpu_include_dir): Use cpu/powerpc for powerpc64.
153 * config/cpu/powerpc/atomicity.h (__always_swap): Remove.
154 (__test_and_set): Remove.
155 (_STWCX): Define and use.
156
157 2002-07-26 Phil Edwards <pme@gcc.gnu.org>
158
159 * libsupc++/new (placement delete): Remove unused parameter names.
160
161 2002-07-25 Benjamin Kosnik <bkoz@redhat.com>
162
163 PR libstdc++/7216
164 * include/std/std_istream.h (basic_iostream): Add typedefs for
165 char_type, int_type, pos_type, off_type, and traits_type.
166 * testsuite/27_io/iostream.cc (test01): Add typedef tests.
167 * testsuite/27_io/istream.cc: Same.
168 * testsuite/27_io/ostream.cc: Same.
169 * testsuite/27_io/filebuf.cc: Same.
170 * testsuite/27_io/stringbuf.cc: Replace content, move to...
171 * testsuite/27_io/stringbuf_members.cc: ...here.
172 * testsuite/27_io/streambuf.cc: Replace content, move to...
173 * testsuite/27_io/streambuf_members.cc: ...here.
174 * testsuite/27_io/stringstream.cc: Replace content, move to...
175 * testsuite/27_io/stringstream_members.cc: ...here.
176 * testsuite/27_io/ios.cc: New file.
177 * testsuite/27_io/fstream.cc: New file.
178 * testsuite/27_io/ifstream.cc: New file.
179 * testsuite/27_io/ofstream.cc: New file.
180 * testsuite/27_io/istringstream.cc: New file.
181 * testsuite/27_io/ostringstream.cc: New file.
182
183 2002-07-25 Benjamin Kosnik <bkoz@redhat.com>
184
185 PR libstdc++/7220
186 * include/bits/istream.tcc (istream::ignore): Don't extract on
187 zero.
188 * testsuite/27_io/istream_unformatted.cc (test10): Add.
189
190 2002-07-25 Benjamin Kosnik <bkoz@redhat.com>
191
192 * testsuite/27_io/ios_base_type.cc: Move to...
193 * testsuite/27_io/ios_base_types.cc: ...here.
194
195 2002-07-24 Benjamin Kosnik <bkoz@redhat.com>
196
197 PR libstdc++/7222
198 * src/locale.cc (locale::locale(const char*)): Use setlocale NULL.
199 * testsuite/22_locale/ctor_copy_dtor.cc (test02): New.
200
201 2002-07-24 Benjamin Kosnik <bkoz@redhat.com>
202
203 PR libstdc++/7230
204 * config/linker-map.gnu: Revert strstream patch from 2002-07-01.
205 * include/Makefile.am (backward_headers): Use strstream, not
206 strstream.h.
207 * include/Makefile.in: Regenerate.
208 * include/backward/strstream: Revert.
209 * include/backward/strstream.h: Remove.
210 * src/strstream.cc: Revert.
211 * testsuite/backward/strstream_members.cc: Change include.
212
213 2002-07-24 Benjamin Kosnik <bkoz@redhat.com>
214
215 PR libstdc++/7219
216 * include/bits/ios_base.h (ios_base::streampos): Add.
217 (ios_base::streamoff): Add.
218 * testsuite/27_io/ios_base_type.cc: New.
219
220 2002-07-24 Benjamin Kosnik <bkoz@redhat.com>
221
222 PR libstdc++/7286
223 * libsupc++/new: Add placement delete.
224 * testsuite/18_support/new_delete_placement.cc: New.
225
226 * docs/html/abi.txt: Fix typos.
227
228 2002-07-23 Benjamin Kosnik <bkoz@redhat.com>
229
230 * docs/html/documentation.html: Remove libstdc++-v3.0.86 links,
231 confusing usage of "latest."
232 De-tangle contributor information from introductory notes.
233 Move abi.txt link placement, activate.
234 Re-organize.
235 Move chapter info into old FAQ format.
236 * docs/html/organization.html: Removed, obsoleted by doxygen work.
237 * docs/html/abi.txt: Add notes on testing ABI changes.
238
239 2002-07-20 Phil Edwards <pme@gcc.gnu.org>
240
241 * docs/html/abi.txt: New file.
242 * docs/html/23_containers/howto.html: Tweak vector-overhead text.
243 * docs/html/ext/lwg-active.html, docs/html/ext/lwg-defects.html:
244 Import from upstream, R22.
245
246 * include/bits/char_traits.h, include/bits/stl_iterator.h,
247 include/bits/stl_iterator_base_types.h, libsupc++/exception,
248 libsupc++/new, libsupc++/typeinfo: Use @brief markup.
249
250 * include/bits/deque.tcc, include/bits/stl_alloc.h,
251 include/bits/stl_deque.h, include/bits/stl_list.h: Postpone removal
252 of deprecated functions until 3.4. (Same timeframe, different text.)
253 * include/bits/stl_vector.h: Ditto. Also do the same cleanups that
254 the other sequence classes received.
255
256 2002-07-18 Brendan Kehoe <brendan@zen.org>
257
258 * bits/slice_array.h (_DEFINE_VALARRAY_OPERATOR): Fix typo of
259 _Nname to _Name.
260
261 2002-07-19 Gabriel Dos Reis <gdr@nerim.net>
262
263 DR/123
264 * include/bits/slice_array.h
265 (slice_array<T>::operator=(const T&)): Constify.
266 * include/bits/gslice_array.h
267 (gslice_array<T>::operator=(const T&)): Likewise.
268 * include/bits/mask_array.h
269 (mask_array<T>::operator=(const T&)): Likewise.
270 * include/bits/indirect_array.h
271 (indirect_array<T>::operator=(const T&): Likewise.
272
273 2002-07-17 Phil Edwards <pme@gcc.gnu.org>
274
275 * docs/doxygen/run_doxygen: Remove template parameter names from
276 "Compound List" summary page. Reformat.
277 * docs/html/documentation.html: XHTML fixes.
278
279 2002-07-16 Andreas Schwab <schwab@suse.de>
280
281 * libsupc++/new (set_new_handler): Declare to not throw any
282 exceptions.
283 * libsupc++/new_handler.cc (set_new_handler): Likewise.
284
285 2002-07-16 Gabriel Dos Reis <gdr@nerim.net>
286
287 * include/Makefile.am (bits_headers): Remove slice.h
288 * include/Makefile.in: Regenerate.
289 * include/bits/slice.h (slice): move to include/bits/slice_array.h
290 * include/bits/slice.h Remove.
291 * include/std/std_valarray.h: Don't #include bits/slice.h anymore.
292 * include/bits/slice_array.h: Comply to official coding styles.
293 * testsuite/26_numerics/slice.cc: New test.
294
295 2002-07-15 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
296
297 * config/os/solaris/solaris2.5/ctype_base.h (ctype_base): Fix
298 print to match vendor <ctype.h>.
299
300 2002-07-15 Phil Edwards <pme@gcc.gnu.org>
301
302 * docs/html/faq/index.html: Fix download links.
303 * docs/html/faq/index.txt: Regenerate.
304 * docs/html/17_intro/porting.html: Regenerate from earlier changes.
305
306 2002-07-11 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
307
308 * configure.target (target_os switch): Allow for irix6*o32
309 configurations.
310
311 2002-07-10 Gabriel Dos Reis <gdr@nerim.net>
312
313 * include/bits/valarray_meta.h (_UnFunBase): Take a second
314 template parameter. Remove _M_func data member.
315 (_UnFunClos): Take a third template parameter.
316 (__abs, __cos, __acos, __cosh, __sin, __asin, __sinh, __tan,
317 __atan, __tanh, __exp, __log, __log10, __sqrt): New classes.
318 (_DEFINE_EXPR_UNARY_OPERATOR): Adjust definition.
319
320 2002-07-08 Eric Christopher <echristo@redhat.com>
321
322 * configure.target: Fix comment for mips atomicity. Add
323 mips*-*-linux* target, enable atomic operations there.
324 * config/cpu/mips/atomicity.h: Fix comments, remove
325 #ifndef/#endif. Add push/pop mips2.
326
327 2002-07-08 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
328
329 * include/bits/stl_deque.h (_Deque_alloc_base): Change order of
330 member declarations to avoid compiler warnings and restore 3.1 ABI.
331
332 2002-07-08 Phil Edwards <pme@gcc.gnu.org>
333
334 * docs/html/23_containers/howto.html: Link to dk_std::vector paper
335 and homepage.
336
337 2002-07-07 Paolo Carlini <pcarlini@unitus.it>
338
339 PR libstdc++/7186
340 * include/bits/stl_deque.h (_Deque_iterator::operator-):
341 Make non-member, as already happens for the comparison
342 operators in accord with DR179 (Ready).
343 * testsuite/23_containers/deque_operators.cc: Add test02.
344
345 2002-07-04 Benjamin Kosnik <bkoz@redhat.com>
346 Jack Reeves <jackw_reeves@hotmail.com>
347
348 * include/std/std_streambuf.h (basic_streambuf::_M_buf): Change to
349 size_t, from int_type.
350 (basic_streambuf::_M_buf_size_opt): Same.
351 (basic_streambuf::_S_pback_sizex): Same.
352 * include/bits/streambuf.tcc: Same.
353 * include/std/std_streambuf.h (basic_streambuf::snextc): Use
354 eq_int_type.
355 (basic_streambuf::uflow): Same.
356 * include/bits/sstream.tcc (basic_stringbuf::overflow): Use
357 to_char_type.
358 * include/bits/basic_ios.tcc (basic_ios::init): Use _CharT().
359 * include/bits/streambuf.tcc (basic_streambuf::xsgetn): Use
360 eq_int_type.
361 (basic_streambuf::xsputn): Same.
362 (__copy_streambufs): Same.
363
364 2002-07-03 Benjamin Kosnik <bkoz@redhat.com>
365
366 * include/std/std_memory.h: Fix formatting.
367 * testsuite/20_util/auto_ptr_neg.cc: New.
368 * testsuite/20_util/auto_ptr.cc: Tweaks.
369 * testsuite/23_containers/map_operators.cc (test01): Split into..
370 * testsuite/23_containers/map_operators_neg.cc (test01): ...this. New.
371 * testsuite/23_containers/set_operators.cc: Move to...
372 * testsuite/23_containers/set_operators_neg.cc: ...here.
373 * testsuite/README: Add some more naming rules.
374
375 2002-07-03 Steev Wilcox <steev@paradigmds.com>
376
377 PR libstdc++/7057
378 * include/ext/stl_hashtable.h: Fix.
379 * testsuite/ext/hash_map.cc: New.
380
381 2002-07-03 Jack Reeves <jackw_reeves@hotmail.com>
382 Kenny Simpson <theonetruekenny@yahoo.com>
383 Phil Edwards <pme@gcc.gnu.org>
384
385 PR libstdc++/3946
386 * testsuite/20_util/auto_ptr.cc (test08): New test.
387 * include/std/std_memory.h (auto_ref_ptr): Make constructor explicit.
388 (auto_ptr::operator auto_ptr_ref): Fix typo.
389 General reformatting and doxygenating of the whole file.
390
391 2002-07-03 Benjamin Kosnik <bkoz@redhat.com>
392
393 PR libstdc++/7097
394 * include/c/std_cwchar.h: Fix.
395
396 2002-07-02 Benjamin Kosnik <bkoz@redhat.com>
397
398 PR libstdc++/6410
399 * include/bits/locale_facets.h (moneypunct::moneypunct): Add const
400 char* name parameter.
401 * config/locale/gnu/monetary_members.cc: Use it.
402 * config/locale/generic/monetary_members.cc: Same.
403 * src/localename.cc (_Impl::_Impl(const char*, size_t)): Use it.
404
405 * include/backward/strstream.h: Update date.
406
407 2002-07-02 Paolo Carlini <pcarlini@unitus.it>
408
409 PR libstdc++/6642
410 * include/bits/stl_iterator.h
411 (__normal_iterator::operator-(const __normal_iterator&)):
412 Make non-member, as already happens for the comparison
413 operators in accord with DR179 (Ready).
414 * testsuite/24_iterators/iterator.cc: Add test from the PR.
415
416 2002-07-02 Phil Edwards <pme@gcc.gnu.org>
417
418 PR libstdc++/7173
419 * acinclude.m4: Simplify determination of gcc_version, and move
420 up to GLIBCPP_CONFIGURE.
421 * configure.in (release_VERSION): Really remove.
422 (AM_INIT_AUTOMAKE, AM_CONFIG_HEADER): Move after GLIBCPP_CONFIGURE.
423 * aclocal.m4, configure: Regenerate.
424
425 2002-07-02 Phil Edwards <pme@gcc.gnu.org>
426
427 * docs/html/configopts.html, docs/html/install.html: Tweaks.
428 * include/ext/algorithm, include/ext/hash_map, include/ext/hash_set,
429 include/ext/iterator, include/ext/numeric, include/ext/rb_tree,
430 include/ext/slist, include/ext/stl_rope.h: Add doxygen hooks.
431
432 2002-07-01 Benjamin Kosnik <bkoz@redhat.com>
433
434 * include/backward/strstream: Remove namespace std. Transfer to...
435 * include/backward/strstream.h: ...here. Qualify std names.
436 * src/strstream.cc: Remove namespace std.
437 * include/Makefile.am (backward_headers): Remove strstream.h.
438 * include/Makefile.in: Regenerate.
439 * config/linker-map.gnu: Export strstream bits.
440
441 * src/fstream-inst.cc: Tweak.
442 * src/io-inst.cc: Same.
443 * src/istream-inst.cc: Same.
444 * src/misc-inst.cc: Same.
445 * src/ostream-inst.cc: Same.
446 * src/sstream-inst.cc: Same.
447 * src/valarray-inst.cc: Same.
448 * src/misc-inst.cc: Remove unused instantiations.
449
450 2002-07-01 Benjamin Kosnik <bkoz@redhat.com>
451
452 * configure.in (libtool_VERSION): Bump to 5:0:0.
453 * configure: Regenerate.
454
455 2002-06-28 Phil Edwards <pme@gcc.gnu.org>
456
457 PR libstdc++/7157, PR libstdc++/7158, PR libstdc++/7161
458 * include/std/std_queue.h: Include deque.tcc, vector.tcc.
459 * include/std/std_stack.h: Include deque.tcc.
460 * testsuite/23_containers/adaptors.cc: New file.
461
462 2002-06-27 Phil Edwards <pme@gcc.gnu.org>
463
464 * include/bits/stl_alloc.h: Deprecate all 'reallocate' memfns.
465 * docs/html/ext/howto.html: Update allocator notes.
466
467 2002-06-26 Benjamin Kosnik <bkoz@redhat.com>
468
469 * configure.in (INTERFACE): Remove.
470 (release_VERSION): Remove.
471 * acinclude.m4 (GLIBCPP_EXPORT_INSTALL_INFO): Change include placement.
472 (libstdcxx_interface): Change. Use gcc methods to determine version.
473 * configure: Regenerate.
474 * aclocal.m4: Regenerate.
475
476 2002-06-25 DJ Delorie <dj@redhat.com>
477
478 * acinclude.m4 (GLIBCPP_CONFIGURE): Split out
479 GLIBCPP_TOPREL_CONFIGURE.
480 * aclocal.m4: Likewise.
481 * configure.in: Call it before AC_CANONICAL_SYSTEM.
482 * configure: Regenerate.
483
484 2002-06-25 Jessica Han <jessica@cup.hp.com>
485
486 * config/os/hpux/os_defines.h Define _GLIBCPP_VTABLE_PADDING
487 * libsupc++/tinfo.cc Handle the 8 byte aligned vtable entries when
488 _GLIBCPP_VTABLE_PADDING is defined.
489
490 2002-06-25 Benjamin Kosnik <bkoz@redhat.com>
491
492 * include/bits/stl_alloc.h: Additional formatting.
493
494 2002-06-24 Phil Edwards <pme@gcc.gnu.org>
495
496 * include/bits/stl_alloc.h: Reformat as per C++STYLE.
497
498 2002-06-24 Phil Edwards <pme@gcc.gnu.org>
499
500 * config/cpu/*/bits/*: Move header files up a level. Remove bits.
501 * config/os/*/bits/*: Likewise.
502 * configure.in: Update.
503 * configure: Regenerate.
504 * configure.target: Update.
505 * docs/html/17_intro/porting.texi: Update.
506
507 2002-06-21 Phil Edwards <pme@gcc.gnu.org>
508
509 * include/bits/stl_map.h, include/bits/stl_multimap.h,
510 include/bits/stl_queue.h, include/bits/stl_stack.h: Reformat and
511 complete doxygenation.
512 * include/bits/boost_concept_check.h: Minor comment.
513
514 2002-06-21 Benjamin Kosnik <bkoz@redhat.com>
515
516 * include/c_compatibility: New.
517 * include/c_compatibility/assert.h: New.
518 * include/c_compatibility/ctype.h: New.
519 * include/c_compatibility/errno.h: New.
520 * include/c_compatibility/float.h: New.
521 * include/c_compatibility/iso646.h: New.
522 * include/c_compatibility/limits.h: New.
523 * include/c_compatibility/locale.h: New.
524 * include/c_compatibility/math.h: New.
525 * include/c_compatibility/setjmp.h: New.
526 * include/c_compatibility/signal.h: New.
527 * include/c_compatibility/stdarg.h: New.
528 * include/c_compatibility/stddef.h: New.
529 * include/c_compatibility/stdio.h: New.
530 * include/c_compatibility/stdlib.h: New.
531 * include/c_compatibility/string.h: New.
532 * include/c_compatibility/time.h: New.
533 * include/c_compatibility/wchar.h: New.
534 * include/c_compatibility/wctype.h: New.
535
536 * include/c/std_cerrno.h: Get out of the way... define errno.
537 * include/c/std_cmath.h: Add abs, modf overloads.
538 Undefine C99 isms. Still not sure how to deal with this sanely.
539 * include/c/std_csetjmp.h: Tweak.
540 * include/c/std_cwchar.h: Include cstddef for size_t.
541
542 * include/c_std/std_cmath.h: Remove extra function.
543
544 Pendantic std usage in testsuites.
545 * testsuite/17_intro/header_cstdlib.cc (test01): Qualify ldiv_t
546 with std.
547 * testsuite/17_intro/header_cwchar.cc: Tweak.
548 * testsuite/22_locale/codecvt_members_char_char.cc (test03): Use
549 std::setlocale.
550 * testsuite/22_locale/ctype_to_wchar_t.cc (test05): Same.
551 * testsuite/22_locale/ctype_to_char.cc (test05): Same.
552 * testsuite/22_locale/ctype_is_wchar_t.cc (test05): Same.
553 * testsuite/22_locale/ctype_is_char.cc (test05): Same.
554 * testsuite/22_locale/codecvt_members_wchar_t_char.cc (test03): Same.
555 * testsuite/22_locale/time_get_members_wchar_t.cc (test08): Same.
556 * testsuite/22_locale/time_get_members_char.cc (test08): Same.
557 * testsuite/22_locale/time_put_members_wchar_t.cc (test04): Same.
558 * testsuite/22_locale/time_put_members_char.cc (test04): Same.
559 * testsuite/22_locale/num_put_members_wchar_t.cc (test04): Same.
560 * testsuite/22_locale/num_put_members_char.cc (test04): Same.
561 * testsuite/22_locale/numpunct_members_wchar_t.cc (test03): Same.
562 * testsuite/22_locale/numpunct_members_char.cc (test03): Same.
563 * testsuite/22_locale/num_get_members_wchar_t.cc: Same.
564 * testsuite/22_locale/num_get_members_char.cc: Same.
565 * testsuite/22_locale/money_put_members_wchar_t.cc (test07): Same.
566 * testsuite/22_locale/money_put_members_char.cc (test07): Same.
567 * testsuite/22_locale/moneypunct_members_wchar_t.cc (test03): Same.
568 * testsuite/22_locale/moneypunct_members_char.cc (test03): Same.
569 * testsuite/22_locale/money_get_members_wchar_t.cc (test08): Same.
570 * testsuite/22_locale/money_get_members_char.cc (test08): Same.
571 * testsuite/22_locale/messages_members_char.cc (test03): Same.
572 * testsuite/22_locale/collate_members_wchar_t.cc (test04): Same.
573 * testsuite/22_locale/collate_members_char.cc (test04): Same.
574 * testsuite/26_numerics/fabs_inline.cc: Use std::printf.
575 * testsuite/27_io/istream_seeks.cc (test02): Qualify abort.
576 * testsuite/27_io/istream_extractor_arith.cc (test11): Qualify strtol.
577
578 2002-06-20 Benjamin Kosnik <bkoz@redhat.com>
579
580 * libsupc++/Makefile.am (libsupc__convenience_la_SOURCES): Add
581 c_sources.
582
583 2002-06-20 Benjamin Kosnik <bkoz@redhat.com>
584
585 * src/ext-inst.cc (__gnu_cxx): Use instead of std:: for extensions.
586 Use size_type instead of unsigned long.
587
588 2002-06-20 Steve Ellcey <sje@cup.hp.com>
589
590 * src/ext-inst.cc (_S_fetch): Add explicit templates for char and
591 wchar types.
592 (_S_min_len): Ditto.
593
594 2002-06-20 Benjamin Kosnik <bkoz@redhat.com>
595
596 * include/Makefile.am: Add rules.
597 * include/Makefile.in: Regenerate.
598
599 * acinclude.m4: Define GLIBCPP_C_HEADERS_COMPATIBILITY.
600 * aclocal.m4: Regenerate.
601 * configure: Regenerate.
602 * configure.target (c_model, c_compatibility): Add.
603
604 * libsupc++/Makefile.am (c_sources): New.
605 (libsupc___la_SOURCES): Add c_sources.
606 (LTCOMPILE): Remove INCLUDES.
607 (GCC_INCLUDES): New.
608 (C_COMPILE): New, like COMPILE but without INCLUDES.
609 (cxa_demangle.o): Use C_COMPILE.
610 (dyn-string.o): Use C_COMPILE.
611
612 * include/c/std_cstdarg.h: Define __need___va_list.
613 * include/c/std_cstddef.h: Define need_size_t, need_ptrdiff_t,
614 need_NULL, need_offsetof.
615
616 2002-06-19 Steve Ellcey <sje@cup.hp.com>
617
618 * configure.in (HAVE_FINITE*, HAVE_ISINF*, HAVE_ISNAN*): Remove
619 definitions in hpux11 cross-build because these functions do
620 not exist on hpux11 (but some exist on hpux10); move defaults out
621 into existing sections.
622 * configure: Regenerate.
623
624 2002-06-18 Benjamin Kosnik <bkoz@redhat.com>
625
626 * include/c/std_cwchar.h: Guard. Add mbstate_t bits.
627 * include/c/std_cwctype.h: Guard.
628
629 * libsupc++/eh_alloc.cc: Tweak include order.
630 * libsupc++/pure.cc: Use cstdio.
631 * libsupc++/new_op.cc: Remove malloc forward declaration, as
632 cstdlib brings it in. Use std::malloc.
633
634 * src/Makefile.am (sources): Remove cmath.cc.
635 * src/Makefile.in: Regenerate.
636 * src/cmath.cc: Remove.
637
638 2002-06-18 Phil Edwards <pme@gcc.gnu.org>
639
640 * configure.target: Force mips to use the generic cpu routines.
641
642 2002-06-18 Phil Edwards <pme@gcc.gnu.org>
643
644 * configure.host: Delete file.
645 * configure.target: More documentation. Factor out common parts of
646 script into "intelligent" settings about defaults. Remove redundancy.
647
648 * acinclude.m4: Update comments. Do not call configure.host.
649 (GLIBCPP_ENABLE_SYMVERS): If disabled, do not bother checking for
650 libgcc_s.
651 * configure.in: Slight reformatting, more comments. Factor out
652 "config/" from all the directories.
653 * docs/html/17_intro/porting.texi: Update and expand.
654 * testsuite/Makefile.am (AM_RUNTESTFLAGS): Move empty setting
655 from configure.host.
656
657 * aclocal.m4, configure, docs/html/17_intro/porting.html,
658 testsuite/Makefile.in: Regenerate.
659
660 2002-06-16 Phil Edwards <pme@gcc.gnu.org>
661
662 * docs/doxygen/TODO: Update.
663 * docs/doxygen/tables.html: Uncomment magical middle column.
664 * docs/doxygen/user.cfg.in: Kludge to ignore function-like macros.
665 * include/bits/stl_queue.h: Doxygenate and reformat.
666 * include/bits/ios_base.h, include/std/std_streambuf.h: Add comment
667 for deprecated names required by the standard.
668
669 2002-06-14 J.T. Conklin <jtc@acorntoolworks.com>
670
671 * configure.in (target_alias): Fix.
672 * configure: Regenerate.
673 * aclocal.m4: Regenerate.
674
675 2002-06-12 Phil Edwards <pme@gcc.gnu.org>
676
677 * include/Makefile.am: Add new files.
678 * include/Makefile.in: Regenerate.
679
680 * include/bits/stl_deque.h, include/bits/stl_list.h,
681 include/bits/stl_vector.h: Clean up, reformat. Move definitions...
682 * include/bits/deque.tcc, include/bits/list.tcc,
683 include/bits/vector.tcc: ...to here. New files.
684
685 * include/ext/stl_hashtable.h: Inclide correct full headers.
686 * include/std/std_deque.h: Include .tcc files for now.
687 * include/std/std_list.h: Likewise.
688 * include/std/std_vector.h: Likewise.
689
690 2002-06-12 Daniel Jacobowitz <drow@mvista.com>
691
692 * Makefile.am: Add FLAGS_TO_PASS.
693 * Makefile.in: Regenerated.
694
695 2002-06-11 J.T. Conklin <jtc@acorntoolworks.com>
696 Benjamin Kosnik <bkoz@redhat.com>
697
698 * configure.target: Set os_include_dir to config/os/qnx/qnx6.1
699 under *-qnx6.[12]*.
700 * configure.in: Add support for *-qnx6.[12]*.
701 * configure: Regenerate.
702
703 * config/os/qnx, config/os/qnx/qnx6.1, config/os/qnx/qnx6.1/bits:
704 New directories.
705 * config/os/qnx/qnx6.1/bits/ctype_base.h, ctype_inline.h,
706 ctype_noninline.h, os_defines.h: New files.
707
708 2002-06-10 Loren J. Rittle <ljrittle@acm.org>
709
710 * acinclude.m4 (GLIBCPP_CHECK_SETRLIMIT_ancilliary): Reorder and
711 include all required headers for test against older POSIX standard.
712 (GLIBCPP_CHECK_SETRLIMIT): Likewise.
713 (ac_setrlimit): Likewise.
714 * aclocal.m4: Regenerate.
715 * configure: Regenerate.
716 * testsuite/testsuite_hooks.cc: Reorder and include all
717 required headers for use against older POSIX standard.
718
719 2002-06-08 Paolo Carlini <pcarlini@unitus.it>
720
721 * testsuite/backwards/strstream_members.cc: New.
722
723 2002-06-08 Benjamin Kosnik <bkoz@redhat.com>
724
725 * include/backwards/strstream: Format.
726 * src/strstream.cc: Format.
727
728 2002-06-08 Andreas Schwab <schwab@suse.de>
729
730 * src/strstream.cc (strstreambuf::overflow): Set _M_buf,
731 _M_buf_size and _M_buf_size_opt to the new buffer and size.
732
733 2002-06-08 Benjamin Kosnik <bkoz@redhat.com>
734
735 * config/os/generic/bits/ctype_noninline.h: Tweak format.
736
737 2002-06-07 Steve Ellcey <sje@cup.hp.com>
738
739 * src/locale-inst.cc (__codecvt_abstract_base):
740 Put inside _GLIBCPP_USE_WCHAR_T ifdef.
741 * include/bits/istream.tcc (basic_istream): Ditto.
742 (ws) Ditto.
743 (operator>>) Ditto.
744 * include/bits/ostream.tcc (basic_ostream): Ditto.
745 (endl): Ditto.
746 (ends): Ditto.
747 (flush): Ditto.
748 (operator<<): Ditto.
749
750 2002-06-07 Phil Edwards <pme@gcc.gnu.org>
751
752 * mkcheck.in: Link against local testsuite library.
753 * testsuite/testsuite_hooks.h (__set_testsuite_memlimit): Move null
754 implementation out...
755 * testsuite/testsuite_hooks.cc: ...to here.
756
757 2002-06-06 Loren J. Rittle <ljrittle@acm.org>
758
759 * src/Makefile.am (AUTOMAKE_OPTIONS): Use cygnus-style generation.
760 * include/Makefile.am (AUTOMAKE_OPTIONS): Likewise.
761 * testsuite/Makefile.am (AUTOMAKE_OPTIONS): Likewise.
762 * src/Makefile.in: Regenerate (explicitly with --cygnus option).
763 * testsuite/Makefile.in: Likewise.
764
765 2002-06-05 David Edelsohn <edelsohn@gnu.org>
766
767 * config/os/aix/bits/ctype_noninline.h (do_toupper,do_tolower):
768 Call external symbol.
769
770 2002-06-04 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
771
772 * testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3_target_compile):
773 Search correct multilib testsuite dir for libv3test.
774
775 2002-06-04 Paolo Carlini <pcarlini@unitus.it>
776 Gaby Dos Reis <gdr@codesourcery.com>
777
778 * include/bits/basic_string.tcc
779 (basic_string::_S_construct(forward_iterator_tag):
780 Fix typo in null pointer check.
781 * testsuite/21_strings/ctor_copy_dtor.cc: Add test04.
782
783 2002-06-04 Paolo Carlini <pcarlini@unitus.it>
784
785 * testsuite/22_locale/money_get_members_char.cc
786 (test02): Add decimal point to long double constants.
787 * testsuite/22_locale/money_get_members_wchar_t.cc
788 (test02): Likewise.
789 * testsuite/22_locale/money_put_members_char.cc
790 (test02, test03, test06): Likewise.
791 * testsuite/22_locale/money_put_members_wchar_t.cc:
792 (test02, test03, test06): Likewise.
793 * testsuite/22_locale/num_get_members_char.cc:
794 (test02, test01): Likewise; suffix long long constants with LL.
795 * testsuite/22_locale/num_get_members_wchar_t.cc:
796 (test02, test01): Likewise.
797 * testsuite/22_locale/num_put_members_char.cc:
798 (test02, test01): Likewise.
799 * testsuite/22_locale/num_put_members_wchar_t.cc:
800 (test02, test01): Likewise.
801
802 2002-06-03 Marc Espie <espie@openbsd.org>
803
804 * config/cpu/m68k/bits/atomicity.h(__exchange_and_add): Fix inline
805 assembly for old assemblers.
806
807 2002-06-03 Phil Edwards <pme@gcc.gnu.org>
808
809 * include/bits/stl_bvector.h (swap(_Bit_reference,_Bit_reference)):
810 Move/rename...
811 (vector<bool>::swap(reference,reference)): ...to this.
812
813 2002-06-03 Phil Edwards <pme@gcc.gnu.org>
814
815 * docs/doxygen/TODO: Update.
816 * docs/doxygen/user.cfg.in (SORT_MEMBER_DOCS): Set to off, now that
817 some class members are in 14882 order.
818 * docs/html/ext/howto.html: 3.1 is in the past now, not the future.
819
820 * include/std/std_bitset.h: Update comment.
821 * src/bitset.cc: Update comments, clean up spacing.
822
823 * src/Makefile.am (sources): Alphabetize for convenience.
824 * src/Makefile.in: Regenerate.
825
826 2002-06-03 Phil Edwards <pme@gcc.gnu.org>
827
828 * include/bits/stl_deque.h, include/bits/stl_list.h,
829 include/bits/stl_vector.h: Reformat to (mostly) match C++STYLE.
830 Reorder to match 14882. Doxygen blocks for all public members.
831
832 2002-05-31 Marcus Meissner <meissner@suse.de>
833
834 PR libstdc++/6886
835 * include/bits/stl_bvector.h: Use UL suffix for unsigned longs.
836 * testsuite/23_containers/vector_bool.cc (test02): New test.
837
838 2002-05-30 Marc Espie <espie@openbsd.org>
839
840 * configure.in: Always check for sys/types.h
841 * configure: Regenerate.
842
843 2002-05-28 Nick Clifton <nickc@cambridge.redhat.com>
844
845 * testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3-init):
846 Rebuild the wrapper file every time this proc is called.
847
848 2002-05-28 Phil Edwards <pme@gcc.gnu.org>
849
850 * testsuite/Makefile.am (noinst_LIBRARIES): New target. Pull in
851 CXX/INCLUDES.
852 * testsuite/Makefile.in: Regenerate.
853 * testsuite/testsuite_hooks.h (gnu_copy_tracker): Move from
854 list_modifiers.cc and rename from 'T'. Move code bodies...
855 * testsuite/testsuite_hooks.cc: ...to here. New file.
856 * testsuite/23_containers/list_modifiers.cc: Move 'T' class out.
857 * testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3_target_compile):
858 Add libv3test.a to link options.
859
860 2002-05-27 Benjamin Kosnik <bkoz@redhat.com>
861
862 * src/misc-inst.cc: Define unnecessary algorithm
863 instantiations. Break apart instantiations into groupings below.
864 * src/fstream-inst.cc: New.
865 * src/io-inst.cc: New.
866 * src/istream-inst.cc: New.
867 * src/ostream-inst.cc: New.
868 * src/streambuf-inst.cc: New.
869 * src/sstream-inst.cc: New.
870 * src/Makefile.am (sources): Add files.
871 * src/Makefile.in: Regenerate.
872
873 * acinclude.m4: Work around automake 1.4-p5 bug, change
874 AM_GNU_GETTEXT in comments to AM-GNU-GETTEXT.
875
876 2002-05-27 Benjamin Kosnik <bkoz@redhat.com>
877
878 PR libstdc++/6795.
879 * config/os/solaris/solaris2.6/bits/ctype_noninline.h
880 (classic_table): Fix.
881 * config/os/solaris/solaris2.5/bits/ctype_noninline.h: Same.
882
883 2002-05-27 Benjamin Kosnik <bkoz@redhat.com>
884
885 * testsuite/22_locale/ctype_is_wchar_t.cc: Guard with
886 _GLIBCPP_USE_WCHAR_T.
887 * testsuite/22_locale/ctype_narrow_wchar_t.cc: Same.
888 * testsuite/22_locale/ctype_to_wchar_t.cc: Same.
889 * testsuite/22_locale/ctype_widen_wchar_t.cc: Same.
890
891 2002-05-26 Carlo Wood <carlo@alinoe.com>
892 Paolo Carlini <pcarlini@unitus.it>
893
894 PR libstdc++/6811
895 * config/locale/ieee_1003.1-2001/codecvt_specializations.h
896 (__enc_traits::operator=): add missing return statement.
897
898 2002-05-24 Phil Edwards <pme@gcc.gnu.org>
899
900 PR libstdc++/6282
901 * include/std/std_bitset.h (_Base_biteset<0>): New specialization.
902 (operator>>): If nothing was extracted, don't fail in the
903 zero-length case.
904 * testsuite/23_containers/bitset_ctor.cc (test02): New test.
905
906 2002-05-24 Benjamin Kosnik <bkoz@redhat.com>
907
908 PR libstdc++/6701
909 * testsuite/22_locale/ctype_narrow_char.cc: New.
910 * testsuite/22_locale/ctype_narrow_wchar_t.cc: New.
911 * testsuite/22_locale/ctype_widen_char.cc: New.
912 * testsuite/22_locale/ctype_widen_wchar_t.cc: New.
913 * testsuite/22_locale/ctype_members_char.cc: Move some bits into...
914 * testsuite/22_locale/ctype_is_char.cc: ...this.
915 * testsuite/22_locale/ctype_to_char.cc: ...and this.
916 * testsuite/22_locale/ctype_members_wchar_t.cc: Move some bits into...
917 * testsuite/22_locale/ctype_is_wchar_t.cc: ...this.
918 * testsuite/22_locale/ctype_to_wchar_t.cc: ...and this.
919
920 * testsuite/22_locale/ctype_scan_wchar_t.cc: Should pass.
921
922 2002-05-24 Dale Peakall <dale@peakall.net>
923
924 PR libstdc++/6701
925 * config/locale/gnu/ctype_members.cc (ctype<wchar_t>::do_narrow): Fix.
926 * config/locale/generic/ctype_members.cc: Same.
927
928 2002-05-24 Benjamin Kosnik <bkoz@redhat.com>
929
930 PR libstdc++/6750
931 * include/bits/ostream.tcc (ostream::operator<<(const char*)): Fix
932 for empty string literal.
933 (ostream::operator<<(const _CharT*)): Same.
934 (ostream<char>::operator<<(const char*)): Same.
935 (ostream<char>::operator<<(streambuf*)): Same.
936 * testsuite/27_io/ostream_inserter_char.cc (test08): Add tests.
937 * testsuite/27_io/ostream_inserter_other.cc (test02): Modify.
938
939 2002-05-23 Benjamin Kosnik <bkoz@redhat.com>
940
941 * configure.in (release_VERSION): Update to 3.1.1.
942 (libtool_VERSION): Update to 4:1:0.
943 * configure: Regenerate.
944
945 2002-05-21 Phil Edwards <pme@gcc.gnu.org>
946
947 * include/bits/stl_pair.h: Tweak comment markup.
948
949 2002-05-21 Phil Edwards <pme@gcc.gnu.org>
950
951 * include/ext/stdio_filebuf.h: Add header guards. Doxygenate.
952
953 2002-05-21 Phil Edwards <pme@gcc.gnu.org>
954
955 * docs/doxygen/user.cfg.in (EXCLUDE): Add 'CVS'.
956
957 2002-05-21 Phil Edwards <pme@gcc.gnu.org>
958
959 * include/bits/stl_vector.h: Reformat to follow C++STYLE.
960 Doxygenate all public members. Reorder to follow 14882.
961 (vector::push_back(void)): Remove previously-deprecated fn.
962 (vector::insert(iterator), vector::_M_insert_aux(iterator)):
963 Deprecate for removal in 3.3.
964
965 2002-05-20 Phil Edwards <pme@gcc.gnu.org>
966
967 * docs/html/faq/index.html (5.4): Recommend against -I options for
968 finding the ext headers.
969 * docs/html/faq/index.txt: Regenerate.
970
971 2002-05-19 Paolo Carlini <pcarlini@unitus.it>
972
973 * testsuite/23_containers/deque_operators.cc (test01):
974 Fix minor typo in last commit.
975
976 2002-05-18 Paolo Carlini <pcarlini@unitus.it>
977
978 PR libstdc++/6503
979 * include/bits/stl_deque.h (_Deque_iterator::operator==,
980 operator!=, operator<, operator>, operator>=, operator<=):
981 Make non-member functions, to allow comparing const and
982 non-const iterators in any order.
983 * testsuite/23_containers/deque_operators.cc: New testfile.
984
985 2002-05-16 Phil Edwards <pme@gcc.gnu.org>
986
987 * docs/html/faq/index.html: Update not-a-bug list with basic_file.h.
988 * docs/html/faq/index.txt: Regenerate.
989
990 2002-05-16 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
991
992 * Makefile.am: Allow for PWDCMD to override hardcoded pwd.
993 * acinclude.m4: Likewise.
994 * docs/html/Makefile: Likewise.
995 * aclocal.m4: Regenerate.
996 * configure: Regenerate.
997 * Makefile.in: Regenerate.
998
999 2002-05-15 Loren J. Rittle <ljrittle@acm.org>
1000
1001 libstdc++/6641
1002 * include/bits/c++config (__USE_MALLOC): Report case where
1003 the user improperly defined it on the command line.
1004
1005 2002-05-15 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
1006
1007 * testsuite/testsuite_hooks.h (__set_testsuite_memlimit):
1008 Retrieve current limits before setting.
1009
1010 2002-05-15 Benjamin Kosnik <bkoz@redhat.com>
1011
1012 PR libstdc++/6518
1013 * include/bits/ostream.tcc (ostream::operator<<(const char*)): Fix
1014 for null case.
1015 (ostream::operator<<(const _CharT*)): Same.
1016 (ostream<char>::operator<<(const char*)): Same.
1017 * testsuite/27_io/ostream_inserter_char.cc (test07): Add test.
1018
1019 2002-05-15 Benjamin Kosnik <bkoz@redhat.com>
1020
1021 PR libstdc++/6594
1022 * src/strstream.cc (strstreambuf): Fix leak.
1023
1024 2002-05-15 Paolo Carlini <pcarlini@unitus.it>
1025
1026 PR libstdc++/6648
1027 * include/bits/istream.tcc (istream::getline, ignore):
1028 Upon __idelim (__delim) call sbumpc() not snextc().
1029 * testsuite/27_io/narrow_stream_objects.cc:
1030 Add test08 and test09.
1031
1032 2002-05-13 Benjamin Kosnik <bkoz@redhat.com>
1033
1034 * testsuite/22_locale/ctype_scan_char.cc: Tweak.
1035 * testsuite/22_locale/ctype_scan_wchar_t.cc: New.
1036
1037 * docs/html/install.html: Fix.
1038
1039 2002-05-13 Benjamin Kosnik <bkoz@redhat.com>
1040
1041 * include/bits/fstream.tcc
1042 (basic_filebuf::_M_allocate_internal_buffer): Remove extraneous
1043 try/catch blocks.
1044 * src/localename.cc (locale::_Impl::_M_install_facet): Same.
1045
1046 * docs/html/install.html: Tweak, add bits about required locales
1047 for the 22_locale tests when using the gnu model.
1048
1049 * testsuite/27_io/istream_sentry.cc: Tweak.
1050
1051 2002-05-13 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1052
1053 * config/os/irix/irix5.2/bits/ctype_inline.h (scan_is, scan_not):
1054 Fix typo, use this->is() rather than manually (and perhaps
1055 incorrectly) inlining it.
1056 * config/os/irix/irix6.5/bits/ctype_inline.h (scan_is, scan_not):
1057 Likewise.
1058 * testsuite/22_locale/ctype_scan_char.cc: New file.
1059
1060 2002-05-13 Paolo Carlini <pcarlini@unitus.it>
1061 Jakub Jelinek <jakub@redhat.com>
1062
1063 * testsuite/22_locale/money_get_members_char.cc
1064 (test01, test02, test04): Use the de_DE@euro named locale
1065 instead of de_DE to allow for an uniform behaviour with
1066 both old and Euro-era localedata; tweak some tests.
1067 * testsuite/22_locale/money_get_members_wchar_t.cc
1068 (test01, test02, test04): Likewise.
1069 * testsuite/22_locale/money_put_members_char.cc
1070 (test01, test02, test04): Likewise.
1071 * testsuite/22_locale/money_put_members_wchar_t.cc
1072 (test01, test02, test04): Likewise.
1073
1074 2002-05-13 Paolo Carlini <pcarlini@unitus.it>
1075
1076 * testsuite/22_locale/codecvt_members_char_char.cc
1077 (test03): Robustify wrt localedata.
1078 * testsuite/22_locale/codecvt_members_wchar_t_char.cc (test03): Likewise.
1079 * testsuite/22_locale/collate_members_char.cc (test04): Likewise.
1080 * testsuite/22_locale/collate_members_wchar_t.cc (test04): Likewise.
1081 * testsuite/22_locale/ctype_members_char.cc (test05): Likewise.
1082 * testsuite/22_locale/ctype_members_wchar_t.cc (test04): Likewise.
1083 * testsuite/22_locale/messages_members_char.cc (test03): Likewise.
1084 * testsuite/22_locale/money_get_members_char.cc (test08): Likewise.
1085 * testsuite/22_locale/money_get_members_wchar_t.cc (test08): Likewise.
1086 * testsuite/22_locale/money_put_members_char.cc (test07): Likewise.
1087 * testsuite/22_locale/money_put_members_wchar_t.cc (test07): Likewise.
1088 * testsuite/22_locale/moneypunct_members_char.cc (test03): Likewise.
1089 * testsuite/22_locale/moneypunct_members_wchar_t.cc (test03): Likewise.
1090 * testsuite/22_locale/num_get_members_char.cc (test06): Likewise.
1091 * testsuite/22_locale/num_get_members_wchar_t.cc (test06): Likewise.
1092 * testsuite/22_locale/num_put_members_char.cc (test04): Add comment.
1093 * testsuite/22_locale/num_put_members_wchar_t.cc (test04): Likewise.
1094 * testsuite/22_locale/numpunct_members_char.cc (test03): Likewise.
1095 * testsuite/22_locale/numpunct_members_wchar_t.cc (test03): Likewise.
1096 * testsuite/22_locale/time_get_members_char.cc (test08): Likewise.
1097 * testsuite/22_locale/time_get_members_wchar_t.cc (test08): Likewise.
1098 * testsuite/22_locale/time_put_members_char.cc (test04): Likewise.
1099 * testsuite/22_locale/time_put_members_wchar_t.cc (test04): Likewise.
1100
1101 2002-05-12 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1102
1103 * config/os/irix/irix5.2/bits/os_defines.h: Revert 2002-05-06
1104 change.
1105
1106 2002-05-11 John David Anglin <dave@hiauly1.hia.nrc.ca>
1107
1108 * config/os/gnu-linux/bits/os_defines.h (__glibcpp_long_bits): Define
1109 to 64 for hppa 64-bit port.
1110 (__glibcpp_long_double_bits): Define to 64 for all hppa ports.
1111
1112 2002-05-10 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
1113
1114 * acinclude.m4 (enable_symvers): Quote $LD.
1115 * aclocal.m4: Regenerate.
1116 * configure: Likewise.
1117
1118 2002-05-09 Jakub Jelinek <jakub@redhat.com>
1119
1120 * testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3-init): Append all
1121 multilib dirs containing libgcc_s*.so.1 below gcc object dir to
1122 LD_LIBRARY_PATH.
1123
1124 2002-05-08 Alexandre Oliva <aoliva@redhat.com>
1125
1126 * configure.in (ORIGINAL_LD_FOR_MULTILIBS): Preserve LD at
1127 script entry, and set LD to it when configuring multilibs.
1128 * configure: Rebuilt.
1129
1130 2002-05-07 Mark Mitchell <mark@codesourcery.com>
1131
1132 * configure.in: Add support for WindISS.
1133 * configure: Regenerated.
1134 * configure.target: Add support for WindISS.
1135 * config/os/windiss/bits/ctype_base.h: New file.
1136 * config/os/windiss/bits/ctype_inline.h: Likewise.
1137 * config/os/windiss/bits/ctype_noninline.h: Likewise.
1138 * config/os/windiss/bits/os_defines.h: Likewise.
1139
1140 2002-05-06 Paolo Carlini <pcarlini@unitus.it>
1141
1142 Test all the facets for the temporary "C" locale switch issue.
1143 * testsuite/22_locale/codecvt_members_char_char.cc: Add test03.
1144 * testsuite/22_locale/codecvt_members_wchar_t_char.cc: Likewise.
1145 * testsuite/22_locale/collate_members_char.cc: Add test04.
1146 * testsuite/22_locale/collate_members_wchar_t.cc: Likewise.
1147 * testsuite/22_locale/ctype_members_char.cc: Add test05.
1148 * testsuite/22_locale/ctype_members_wchar_t.cc: Add test04.
1149 * testsuite/22_locale/messages_members_char.cc: Add test03.
1150 * testsuite/22_locale/money_get_members_char.cc: Add test08.
1151 * testsuite/22_locale/money_get_members_wchar_t.cc: Likewise.
1152 * testsuite/22_locale/money_put_members_char.cc: Add test07.
1153 * testsuite/22_locale/money_put_members_wchar_t.cc: Likewise.
1154 * testsuite/22_locale/moneypunct_members_char.cc: Add test03.
1155 * testsuite/22_locale/moneypunct_members_wchar_t.cc: Likewise.
1156 * testsuite/22_locale/num_get_members_char.cc: Add test06.
1157 * testsuite/22_locale/num_get_members_wchar_t.cc: Likewise.
1158 * testsuite/22_locale/numpunct_members_char.cc: Add test03.
1159 * testsuite/22_locale/numpunct_members_wchar_t.cc: Likewise.
1160 * testsuite/22_locale/time_get_members_char.cc: Add test08.
1161 * testsuite/22_locale/time_get_members_wchar_t.cc: Likewise.
1162 * testsuite/22_locale/time_put_members_char.cc: Add test04.
1163 * testsuite/22_locale/time_put_members_wchar_t.cc: Likewise.
1164
1165 * testsuite/22_locale/num_put_members_char.cc (test04): Add comment.
1166 * testsuite/22_locale/num_put_members_wchar_t.cc (test04): Likewise.
1167
1168 2002-05-06 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1169
1170 * config/os/irix/irix5.2/bits/os_defines.h (_SGI_SOURCE,
1171 __EXTENSIONS__): Ensure they are always defined.
1172
1173 2002-05-06 Phil Edwards <pme@gcc.gnu.org>
1174
1175 * docs/html/documentation.html: Fix broken link.
1176
1177 2002-05-04 Benjamin Kosnik <bkoz@redhat.com>
1178 Paolo Carlini <pcarlini@unitus.it>
1179
1180 * testsuite/22_locale/num_put_members_char.cc: Add test04(),
1181 testing for the locale_facets.tcc entry of the previous commit.
1182 * testsuite/22_locale/num_put_members_wchar_t.cc: Likewise.
1183
1184 2002-05-04 Takeshi Kobayakawa <tskoba@mte.biglobe.ne.jp>
1185
1186 * config/locale/generic/c_locale.cc
1187 (__convert_to_v(float, double, long double)):
1188 Fix the temporary switch to the "C" locale, saving and
1189 restoring in the proper way the current locale.
1190 * config/locale/generic/time_members.cc
1191 (__timepunct<char, wchar_t>::_M_put): Likewise.
1192 * config/locale/gnu/messages_members.cc
1193 (messages<char>::do_get): Likewise.
1194 * config/locale/gnu/messages_members.h
1195 (messages<_CharT>::do_get): Likewise.
1196 * config/locale/gnu/time_members.cc
1197 (__timepunct<char, wchar_t>::_M_put): Likewise.
1198 * include/bits/locale_facets.tcc (__convert_from_v): Likewise.
1199
1200 2002-05-04 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1201
1202 * configure.in (AC_CHECK_HEADERS): Check for string.h & stdlib.h.
1203 * libsupc++/Makefile.am (LTCOMPILE): Add $(DEFS).
1204
1205 * Makefile.in, config.h.in, configure: Regenerate.
1206
1207 2002-05-03 Benjamin Kosnik <bkoz@redhat.com>
1208
1209 PR libstdc++/6549.
1210 * include/bits/fstream.tcc (filebuf::_M_underflow_common): Revert.
1211 * testsuite/27_io/narrow_stream_objects.cc (test07): Add.
1212
1213 2002-05-03 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1214
1215 * config/os/irix/irix5.2/bits/ctype_noninline.h (classic_table):
1216 Return __ctype + 1.
1217 (ctype:_M_table): Initialize to classic_table(), not __ctype.
1218
1219 2002-05-03 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
1220
1221 * configure.in: Update local install.html, configopts.html paths.
1222 * configure: Regenerate.
1223
1224 2002-05-02 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1225
1226 * config/os/irix/irix5.2/bits/os_defines.h
1227 (__glibcpp_long_double_bits, __glibcpp_long_bits): Define.
1228
1229 * config/os/irix/irix5.2/bits/ctype_inline.h: Cast to unsigned
1230 char.
1231
1232 2002-05-02 Phil Edwards <pme@gcc.gnu.org>
1233
1234 * docs/html/faq/index.html: Update list in #4.1.
1235 * docs/html/faq/index.txt: Regenerated.
1236
1237 2002-05-02 Benjamin Kosnik <bkoz@redhat.com>
1238
1239 * docs/html/17_intro/RELEASE-NOTES (New): Update.
1240
1241 2002-05-01 Phil Edwards <pme@gcc.gnu.org>
1242
1243 * include/std/std_bitset.h: Fix doxygen comments.
1244 * docs/html/documentation.html: Minor tweaks for 3.1.
1245 * docs/html/27_io/howto.html: Likewise.
1246 * docs/html/ext/howto.html: Likewise, mention stdio_filebuf.
1247 * docs/html/faq/index.html: Likewise.
1248 * docs/html/faq/index.txt: Regenerated.
1249
1250 2002-05-01 Benjamin Kosnik <bkoz@redhat.com>
1251
1252 PR libstdc++/6533
1253 * include/bits/streambuf_iterator.h (istreambuf_iterator::_M_get): New.
1254 (istreambuf_iterator::equal): Use it.
1255 (istreambuf_iterator::operator*): Use it.
1256
1257 2002-05-01 Paolo Carlini <pcarlini@unitus.it>
1258
1259 PR libstdc++/6513
1260 * include/bits/stl_uninitialized.h
1261 (uninitialized_copy(_InputIter, _InputIter, _ForwardIter)):
1262 Fix typo in 2001-07-17 commit: typedef _ValueType to
1263 iterator_traits<_ForwardIter> not <_InputIter>.
1264 * testsuite/23_containers/vector_ctor.cc: Add test04.
1265
1266 2002-04-30 John David Anglin <dave@hiauly1.hia.nrc.ca>
1267
1268 PR libstdc++/6501
1269 * include/c_std/std_cctype.h: Include bits/c++config.h.
1270 * config/os/hpux/bits/os_defines.h (_SB_CTYPE_MACROS): Define.
1271
1272 2002-04-30 Benjamin Kosnik <bkoz@redhat.com>
1273
1274 * include/ext/stdio_filebuf.h: New file.
1275 * include/ext/enc_filebuf.h: New file.
1276 * config/io/basic_file_stdio.h (__basic_file::sys_open): Add fd ctor.
1277 * config/io/basic_file_stdio.cc: Same.
1278 * include/bits/fstream.tcc (filebuf::_M_allocate_internal_buffer):
1279 Remove _M_unbuf hacks.
1280 (filebuf::_M_destroy_internal_buffer): Same.
1281 (filebuf::filebuf(cfile, openmode, int_type): Remove definition.
1282 (filebuf::fd): Remove.
1283 * include/std/std_fstream.h (filebuf::_M_unbuf): Remove.
1284 (filebuf::filebuf(__c_file*, openmode, int_type)): Remove.
1285 (filebuf::fd): Remove.
1286 * src/ios.cc (ios_base::_S_ios_create): Change to use specialized
1287 filebufs.
1288 (ios_base::_S_ios_destroy): Same.
1289 * src/misc-inst.cc (file_filebuf<char>): Add instantiation.
1290 * include/Makefile.am (ext_headers): Add ext_filebuf.h,
1291 stdio_filebuf.h. * include/Makefile.in: Regenerate.
1292
1293 2002-04-30 Benjamin Kosnik <bkoz@redhat.com>
1294
1295 PR libstdc++/6511
1296 * config/os/solaris/solaris2.7/bits/ctype_noninline.h: Fix typo.
1297
1298 2002-04-29 Benjamin Kosnik <bkoz@redhat.com>
1299
1300 PR libstdc++/5820
1301 * include/bits/fstream.tcc (basic_filebuf::_M_underflow_common):
1302 Check for eof.
1303 * include/bits/streambuf_iterator.h: Match stream_iterator.h.
1304 (istreambuf_iterator::operator++): Invalidate on eof.
1305 (istreambuf_iterator::operator++(int)): Same.
1306 (istreambuf_iterator::operator*): Same.
1307
1308 2002-04-29 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
1309
1310 * testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3-init): Set all
1311 of LD_LIBRARY_PATH, SHLIB_PATH, LD_LIBRARYN32_PATH,
1312 LD_LIBRARY64_PATH.
1313
1314 2002-04-28 Benjamin Kosnik <bkoz@redhat.com>
1315
1316 PR libstdc++/5820
1317 * config/io/basic_file_stdio.h (__basic_file::sys_getc): Return int.
1318 (__basic_file::sys_ungetc): Take int.
1319 * config/io/basic_file_stdio.cc (__basic_file::sys_ungetc): Same.
1320 * include/bits/fstream.tcc (basic_filebuf::_M_underflow_common):
1321 Use sys_getc for unbuffered input.
1322 * testsuite/27_io/narrow_stream_objects.cc (test06): New.
1323
1324 * src/ios.cc (_M_grow_words): Adjust error checking.
1325 * testsuite/27_io/ios_base_storage.cc: Same.
1326
1327 2002-04-28 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
1328
1329 * include/ext/stl_hashtable.h: Import __iterator_category
1330
1331 2002-04-28 Paolo Carlini <pcarlini@unitus.it>
1332 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
1333
1334 * testsuite/ext/hash_set.cc: New testfile.
1335
1336 2002-04-27 Benjamin Kosnik <bkoz@redhat.com>
1337
1338 * config/os/solaris/solaris2.5/bits/os_defines.h: Remove
1339 _G_USING_THUNKS.
1340 * config/os/solaris/solaris2.6/bits/os_defines.h: Same.
1341 * config/os/solaris/solaris2.7/bits/os_defines.h: Same.
1342
1343 2002-04-26 Paolo Carlini <pcarlini@unitus.it>
1344
1345 * include/bits/basic_string.h (replace(__pos, __n1, __s, __n2):
1346 Fix and tighten __throw_length_error check.
1347 * testsuite/21_strings/replace.cc (test05): New.
1348 * testsuite/21_strings/replace.cc (test02, test03, test04): Tweak.
1349
1350 2002-04-23 Loren J. Rittle <ljrittle@acm.org>
1351
1352 * include/std/std_fstream.h (basic_filebuf::sync): Hoist
1353 unconditional flush on lower-layer handle to here...
1354 * include/bits/fstream.tcc (basic_filebuf::_M_really_overflow):
1355 ...from here. Optimize remaining _M_file.sync() call pattern.
1356 * testsuite/27_io/narrow_stream_objects.cc (test04): New test.
1357 (test05): Likewise.
1358
1359 2002-04-23 Jason Merrill <jason@redhat.com>
1360
1361 * include/bits/fstream.tcc (basic_filebuf::seekoff): Fix for
1362 output-only filebufs.
1363 * include/std/std_fstream.h (basic_filebuf::_M_set_indeterminate):
1364 Likewise.
1365 (basic_filebuf::_M_set_determinate): Likewise.
1366
1367 PR libstdc++/6414
1368 * include/bits/fstream.tcc (basic_filebuf::seekoff): Adjust return
1369 value properly in the trivial case.
1370 * testsuite/27_io/istream_seeks.cc (test04): Make sure that
1371 tellg() returns the right value after a read.
1372
1373 2002-04-23 Hans-Peter Nilsson <hp@bitrange.com>
1374
1375 * config/cpu/mmix/bits/cpu_limits.h: New file.
1376 * configure.target (CPULIMITSH): Use it.
1377
1378 2002-04-22 Loren J. Rittle <ljrittle@acm.org>
1379
1380 * docs/html/17_intro/porting.texi (_GLIBCPP_AVOID_FSEEK): Remove.
1381 * docs/html/17_intro/porting.html: Rebuilt.
1382
1383 2002-04-20 Jason Merrill <jason@redhat.com>
1384
1385 PR libstdc++/4150
1386 * include/std/std_streambuf.h (basic_streambuf::_M_set_indeterminate):
1387 Move to filebuf.
1388 (basic_streambuf::_M_set_determinate): Likewise.
1389 (basic_streambuf::_M_is_indeterminate): Likewise.
1390 * include/bits/std_fstream.h (basic_filebuf::_M_filepos): New
1391 non-static data member.
1392 (basic_filebuf::_M_underflow_common): New non-static member function.
1393 (basic_filebuf::_M_underflow, _M_uflow): Call it.
1394 (basic_filebuf::sync): Avoid useless seeking.
1395 (basic_filebuf::_M_set_indeterminate): Move here from streambuf.
1396 Set _M_filepos.
1397 (basic_filebuf::_M_set_determinate): Likewise.
1398 (basic_filebuf::_M_is_indeterminate): Likewise.
1399 * include/bits/fstream.tcc (basic_filebuf::_M_really_overflow): Seek
1400 back to _M_out_beg if necessary.
1401 (basic_filebuf::seekoff): Likewise.
1402 (basic_filebuf::_M_underflow_common): Generalization of old
1403 underflow(). Don't seek back to _M_in_beg.
1404 * src/ios.cc: Lose _GLIBCPP_AVOID_FSEEK stuff.
1405 * config/os/solaris/solaris2.?/bits/os_defines.h: Likewise.
1406 * config/os/bsd/freebsd/bits/os_defines.h: Likewise.
1407 * config/os/mingw32/bits/os_defines.h: Likewise.
1408 * testsuite/27_io/filebuf_virtuals.cc (test05): Don't overspecify
1409 ungetc test.
1410
1411 2002-04-22 Benjamin Kosnik <bkoz@redhat.com>
1412
1413 * include/bits/istream.tcc (istream::read): Fix.
1414 * testsuite/27_io/istream_unformatted.cc (main): Add.
1415
1416 2002-04-20 Benjamin Kosnik <bkoz@redhat.com>
1417
1418 PR libstdc++/6360
1419 * include/bits/istream.tcc (istream::ignore): Streamline, use
1420 delimiter as is.
1421 * include/bits/streambuf.tcc: Use this->gptr.
1422 * testsuite/27_io/istream_unformatted.cc (test08): Add test.
1423
1424 2002-04-18 Benjamin Kosnik <bkoz@redhat.com>
1425
1426 * include/bits/localefwd.h (locale::id::_M_id): Do this correctly,
1427 as type safety is important, especially on solaris.
1428 * include/bits/istream.tcc (istream::read): Clean.
1429 (istream::readsome): Same.
1430 * locale.cc: Wrap lines.
1431
1432 * testsuite/21_strings/inserters_extractors.cc: Tweaks.
1433 * testsuite/27_io/instantiations.cc (test): Add bool variable...
1434 * testsuite/21_strings/capacity.cc: Clean.
1435
1436 2002-04-17 Phil Edwards <pme@gcc.gnu.org>
1437
1438 * docs/doxygen/doxygroups.cc: New group on binary searching.
1439 * include/bits/stl_algo.h: Document binary searches and merges.
1440 * include/bits/stl_deque.h: The 'map' member is not the 'map' class.
1441
1442 2002-04-17 Phil Edwards <pme@gcc.gnu.org>
1443
1444 * docs/doxygen/mainpage.html: Doxygen logo is now a PNG file.
1445 * docs/doxygen/run_doxygen: Bump required version.
1446 * docs/doxygen/user.cfg.in: Revert accidental change.
1447 * docs/html/faq/index.html: Reindent a block of links.
1448 (4.4): New note on using dlsym.
1449 * docs/html/faq/index.txt: Regenerated.
1450
1451 2002-04-17 Phil Edwards <pme@gcc.gnu.org>
1452
1453 * testsuite_flags.in (cxxflags): Also pass @EXTRA_CXX_FLAGS@.
1454
1455 2002-04-17 Benjamin Kosnik <bkoz@redhat.com>
1456
1457 * config/linker-map.gnu (__malloc_alloc_template): Add.
1458 (__default_alloc_template): Same.
1459 * include/bits/stl_alloc.h (__malloc_alloc_template): Add extern
1460 template.
1461 (__default_alloc_template): Same.
1462
1463 2002-04-17 Benjamin Kosnik <bkoz@redhat.com>
1464
1465 * testsuite/27_io/filebuf_virtuals.cc: Add _S_pback_size instantiation.
1466
1467 2002-04-16 Benjamin Kosnik <bkoz@redhat.com>
1468
1469 * src/concept-inst.cc (vector<locale::facet*>): Remove instantiations.
1470 * src/stl-inst.cc (vector::_M_insert_aux): Remove instantiation.
1471 (__malloc_alloc_template): Conditionalize.
1472
1473 * include/bits/istream.tcc: Remove sputbackc calls.
1474
1475 * testsuite/19_diagnostics/stdexceptions.cc: Fix comment.
1476
1477 2002-04-16 Paolo Carlini <pcarlini@unitus.it>
1478
1479 * testsuite/24_iterators/rel_ops.cc: New test.
1480
1481 2002-04-16 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
1482
1483 * include/bits/type_traits.h (__normal_iterator): Declare in
1484 __gnu_cxx. Adjust use at global namespace.
1485 * include/bits/stl_iterator.h (__normal_iterator): Move definition
1486 into __gnu_cxx::. Add more operator overloads. Tidy existing ones.
1487 * include/bits/basic_string.h (basic_string): Adjust use of
1488 __normal_iterator.
1489 * include/bits/stl_vector.h (_Alloc>): Likewise.
1490 * src/concept-inst.cc (__gnu_cxx): __normal_iterator<> is now here.
1491 * src/string-inst.cc (operator==): Instantiate in __gnu_cxx.
1492
1493 2002-04-15 Benjamin Kosnik <bkoz@redhat.com>
1494
1495 PR libstdc++/4164
1496 Valgrind fixes.
1497 * config/io/basic_file_stdio.cc (__basic_file::~__basic_file):
1498 Call close.
1499 (__basic_file::close): Call fflush. Correct return if fclose ok.
1500 (__basic_file::is_open): Make const.
1501 Change __c_file_type to __c_file.
1502 * config/io/basic_file_stdio.h: Change __c_file_type to __c_file.
1503 (__basic_file::is_open): Make const.
1504 * config/io/c_io_stdio.h: Change __c_file_type to __c_file.
1505 * include/std/std_fstream.h (filebuf::_M_allocate_file): Remove.
1506 (filebuf::_M_unbuf): Add.
1507 (filebuf::_M_file): Change to non-pointer.
1508 (filebuf::_M_allocate_pback_buffer): Remove.
1509 * include/bits/fstream.tcc (filebuf::_M_allocate_file): Remove.
1510 (filebuf::_M_allocate_internal_buffer): Use _M_unbuf.
1511 Change initialization list for _M_file change.
1512 (filebuf::_M_allocate_pback_buffer): Remove.
1513 Change _M_file usage to reflect non-pointer data member.
1514
1515 * config/locale/generic/c_locale.cc
1516 (locale::facet::_S_create_c_locale): Add parameter.
1517 * config/locale/generic/collate_members.cc: Change
1518 _M_compare_helper to _M_compare.
1519 Change _M_transform_helper to _M_transform.
1520 * config/locale/generic/monetary_members.cc: Changeup data types.
1521 Add dtors.
1522 * config/locale/generic/numeric_members.cc: Add dtors.
1523 * config/locale/generic/time_members.cc: Add dtors.
1524 * config/locale/gnu/c_locale.cc: Add parameter.
1525 * config/locale/gnu/collate_members.cc:Change
1526 _M_compare_helper to _M_compare.
1527 Change _M_transform_helper to _M_transform.
1528 * config/locale/gnu/ctype_members.cc: Better error checking.
1529 * config/os/gnu-linux/bits/ctype_noninline.h: Better error checking.
1530 * config/locale/gnu/messages_members.cc: Tweak comment.
1531 * config/locale/gnu/monetary_members.cc: Change data types.
1532 Add dtors.
1533 * config/locale/gnu/numeric_members.cc: Add dtors, better error
1534 checking.
1535 * config/locale/gnu/time_members.cc: Same.
1536 * config/locale/ieee_1003.1-2001/c_locale.cc
1537 (locale::facet::_S_create_c_locale): Add parameter.
1538 * config/locale/ieee_1003.1-2001/c_locale.h: Correct typedef.
1539 * config/locale/ieee_1003.1-2001/codecvt_specializations.h: Remove
1540 bogus ctor.
1541
1542 * include/bits/locale_facets.h (moneypunct): Use string literals.
1543 Don't define dtor.
1544 (numpunct): Same.
1545 (__timepunct): Same.
1546 (locale::_Impl::_M_facets): Change from vector to array.
1547 (locale::_Impl::_M_names): Change from array of strings to array
1548 of string literals.
1549 (locale::facet::_S_create_c_locale): Add parameter.
1550 (locale::locale::_S_num_facets): Move to...
1551 (locale::_Impl::_M_facets_size): Here.
1552 * include/bits/locale_facets.tcc: Fixups for _M_facets, _M_name
1553 changes.
1554 * include/bits/localefwd.h: (locale::id::_M_id): Add member function.
1555 (locale::_Impl::_Impl(facet**, size_t, bool)): Add.
1556 (locale::_Impl::_Impl(string, size_t)): Change to
1557 (locale::_Impl::_Impl(const char*, size_t)): This.
1558
1559 * include/bits/streambuf.tcc (streambuf::_S_pback_size): Define.
1560 * include/std/std_streambuf.h (streambuf::_M_pback_size): Change to
1561 (streambuf::_S_pback_size): This.
1562
1563 * src/globals.cc: Add pre-allocations for "C" facets.
1564 * src/locale-inst.cc: Remove vector instantiations.
1565 * src/locale.cc: Remove vector include. Fixups for _M_names,
1566 _M_facets changes.
1567 * src/localename.cc: Same.
1568
1569 * include/bits/stl_vector.h: Fix odd formatting.
1570
1571 * include/bits/basic_string.tcc: Tweak comment.
1572
1573 * libsupc++/new: Make sure parameters are uglified.
1574 * libsupc++/typeinfo: Same.
1575
1576 * testsuite/22_locale/num_get_members_char.cc: Fixup.
1577 * testsuite/22_locale/num_get_members_wchar_t.cc: Same.
1578 * testsuite/27_io/filebuf_members.cc: Same.
1579
1580 2002-04-12 Steve Ellcey <sje@cup.hp.com>
1581
1582 * gcc/libstdc++-v3/config/os/hpux/bits/os_defines.h
1583 (strtoll, strtoull): In 64 bit mode HP-UX (IA64 and HPPA)
1584 does not define strtoll or strtoull, but does define strtol
1585 and strtoul which are the same since in 64 bit mode
1586 sizeof(long) == sizeof(long long).
1587
1588 2002-04-12 Phil Edwards <pme@gcc.gnu.org>
1589
1590 * include/std/std_bitset.h: Doxygenate std::bitset<>. Clean up
1591 trailing spaces, indentation, and macro names. Make exception
1592 messages more informative.
1593
1594 2002-04-11 Richard Henderson <rth@redhat.com>
1595
1596 * include/bits/fstream.tcc (basic_filebuf<>::open): Fix & ordering.
1597 * include/bits/ostream.tcc (basic_ostream<>::operator<<(long)): Same.
1598 (basic_ostream<>::operator<<(long long)): Same.
1599
1600 2002-04-11 Richard Henderson <rth@redhat.com>
1601
1602 * config/linker-map.gnu: Add __gxx_personality_sj0.
1603
1604 2002-04-09 Benjamin Kosnik <bkoz@redhat.com>
1605
1606 libstdc++/1072
1607 * include/bits/localefwd.h (locale::_Impl::_M_facets): Change from
1608 pointer to vector.
1609 Remove forward declaration of vector.
1610 Include vector.
1611 * include/bits/locale_facets.tcc: Remove vector include.
1612 (use_locale): Adjust.
1613 (has_locale): Adjust.
1614 * src/locale.cc: Adjust.
1615 * src/localename.cc: Same.
1616
1617 2002-04-09 Benjamin Kosnik <bkoz@redhat.com>
1618 Richard Henderson <rth@redhat.com>
1619
1620 * include/bits/sstream.tcc: Clean up bit ops.
1621 * include/bits/fstream.tcc: Same.
1622
1623 2002-04-09 Jakub Jelinek <jakub@redhat.com>
1624
1625 * include/bits/locale_facets.h (__num_base::_S_scale_hex): Remove.
1626 (__num_base::_S_scale_oct): Remove.
1627 * src/locale.cc (__num_base::_S_scale_hex): Remove.
1628 (__num_base::_S_scale_oct): Remove.
1629
1630 2002-04-09 Benjamin Kosnik <bkoz@redhat.com>
1631
1632 libstdc++/6124
1633 * testsuite/23_containers/bitset_members.cc: New test.
1634 * include/std/std_bitset.h (_Bit_count::_S_bit_count): Move..
1635 (_S_bit_count): Here.
1636 (_First_one::_S_first_one): Move...
1637 (_S_first_one): Here.
1638 Format.
1639 * src/bitset.cc: Adjust.
1640 * config/linker-map.gnu: Export.
1641
1642 2002-04-08 Benjamin Kosnik <bkoz@redhat.com>
1643
1644 libstdc++/5180
1645 * include/bits/fstream.tcc (filebuf::seekpos): Fix.
1646 * include/std/std_fstream.h: Clean.
1647 * include/bits/ostream.tcc: Remove extraneous variables.
1648 * include/bits/sstream.tcc (stringbuf::seekoff): Be strict about
1649 open modes and which modes.
1650 (stringbuf::seekpos): Same.
1651 * testsuite/27_io/stringbuf_virtuals.cc: New tests.
1652
1653 2002-04-05 Jonathan Wakely <jw@kayari.org>
1654
1655 * include/bits/stl_algo.h (unique_copy, __gcd, rotate, rotate_copy,
1656 random_shuffle, partition, stable_partition, sort, stable_sort,
1657 partial_sort, partial_sort_copy, nth_element): Doxygenate.
1658
1659 2002-04-05 David S. Miller <davem@redhat.com>
1660
1661 * config/os/gnu-linux/bits/os_defines.h
1662 (__glibcpp_long_double_bits): Set to 64 on 32-bit Sparc.
1663
1664 2002-04-04 Benjamin Kosnik <bkoz@redhat.com>
1665
1666 libstdc++/3457
1667 via gawrilow@math.tu-berlin.de
1668 * acinclude.m4 (version_specific_libs): Fix combo usage with
1669 --with-gxx-include-dir.
1670 * aclocal.m4: Regenerate.
1671 * configure: Same.
1672
1673 2002-04-03 Benjamin Kosnik <bkoz@redhat.com>
1674
1675 As per DR 184, libstdc++/3139
1676 * include/std/std_limits.h (__glibcpp_bool_digits): Change to 1.
1677 (numeric_limits<bool>::is_iec559): False.
1678 (numeric_limits<bool>::is_modulo): False.
1679
1680 * testsuite/27_io/ios_init.cc: Add instantiations.
1681
1682 2002-04-02 Benjamin Kosnik <bkoz@redhat.com>
1683
1684 libstdc++/5268
1685 * src/ios.cc: (ios_base::Init::_S_ios_destroy): Remove flush calls.
1686 * testsuite/27_io/ios_init.cc (tests04): Add test.
1687
1688 libstdc++/3983
1689 * include/bits/basic_ios.h (basic_ios::_M_get_fctype_ios): Remove.
1690 (basic_ios::_M_ios_fctype): Consistently name to _M_fctype.
1691 * include/bits/basic_ios.tcc: Same. Remove outdated comments.
1692 * include/bits/istream.tcc: Use _M_fctype, make consistent with
1693 ostream.
1694 * testsuite/27_io/ios_init.cc (tests03): Add test.
1695
1696 2002-04-02 Phil Edwards <pme@gcc.gnu.org>
1697
1698 * include/Makefile.am (install-data-local): Use mkinstalldirs.
1699 * include/Makefile.in: Regenerate.
1700
1701 2002-04-02 Paolo Carlini <pcarlini@unitus.it>
1702 Nathan Myers <ncm@cantrip.org>
1703 Philip Martin <philip@codematters.co.uk>
1704
1705 * include/bits/basic_string.h
1706 (replace(i1, i2, _CharT* k1, _CharT* k2),
1707 replace(i2, i2, const _CharT* k1, const _CharT* k2),
1708 replace(i1, i2, iterator k1, iterator k2,
1709 replace(i1, i2, const_iterator k1, const_iterator k2):
1710 New specializations to optimize for the common cases of
1711 pointers and iterators.
1712 (replace(pos, n1, s, n2)): Tweak.
1713 * include/bits/basic_string.tcc: Tweak comments.
1714 * testsuite/21_strings/replace.cc (test04): New tests.
1715
1716 2002-04-01 Benjamin Kosnik <bkoz@redhat.com>
1717
1718 libstdc++/5542
1719 * acinclude: More extensive checks for msgfmt, --enable-nls.
1720 * aclocal.m4: Regenerate.
1721 * configure: Regenerate.
1722
1723 2002-04-01 Phil Edwards <pme@gcc.gnu.org>
1724
1725 * libsupc++/exception (__verbose_terminate_handler): Point to docs.
1726 * docs/doxygen/doxygroups.cc: Doxygen hooks for abi::__cxa_demangle.
1727 * docs/html/18_support/howto.html: Document the demangler.
1728 * docs/html/17_intro/howto.html: And link to it.
1729
1730 * docs/doxygen/mainpage.html: Describe user-vs-maintainer docs.
1731 * docs/doxygen/run_doxygen: Print user-vs-maintainer.
1732
1733 2002-04-01 Phil Edwards <pme@gcc.gnu.org>
1734
1735 * config/linker-map.gnu: Export __verbose_terminate_handler.
1736 * libsupc++/Makefile.am (sources): Add cxa_demangle.c, dyn-string.c.
1737 Make new LTCOMPILE variable, use it in new special build rules.
1738 * libsupc++/Makefile.in: Rebuild.
1739 * src/vterminate.cc (__verbose_terminate_handler): Enable use of
1740 runtime __cxa_demangle.
1741
1742 * docs/html/install.html: Update prereqs and instructions.
1743 * docs/html/19_diagnostics/howto.html: Bring naming for
1744 verbose_terminate_handler into line with reality.
1745
1746 2002-04-01 Benjamin Kosnik <bkoz@redhat.com>
1747
1748 libstdc++/3129
1749 * include/bits/basic_ios.h (basic_ios::_M_exception): Move.
1750 (basic_ios::_M_streambuf_state): Move.
1751 * include/bits/ios_base (ios_base): To here.
1752 * include/bits/ios_base.h (ios_base::_S_local_words): To
1753 _S_local_word_size.
1754 (ios_base::_M_word_array): To _M_local_word.
1755 (ios_base::_M_words_limit): To _M_word_size.
1756 (ios_base::_M_words): To _M_word.
1757 Comment.
1758 * include/bits/basic_ios.tcc: Adjust.
1759 * src/ios.cc (ios_base::_M_grow_words): Tweak.
1760 * testsuite/27_io/ios_base_storage.cc: Add tests.
1761
1762 libstdc++/5207
1763 Kenny Simpson <theonetruekenny@yahoo.com>
1764 * include/bits/ios_base.h: Fix.
1765
1766 Richard Henderson <rth@redhat.com>
1767 * include/bits/ostream.tcc (ostream::operator<<(_CharT)): Correct
1768 last change.
1769
1770 * include/bits/basic_string.h: Tweak formatting.
1771
1772 2002-04-01 Paolo Carlini <pcarlini@unitus.it>
1773
1774 * config/locale/ieee_1003.1-2001/codecvt_specializations.h
1775 (codecvt::do_out, codecvt::do_unshift, codecvt::do_in):
1776 By definition, sizeof(char) == 1.
1777 * include/bits/locale_facets.tcc (money_get::do_get,
1778 money_put::do_put): Ditto.
1779 * testsuite/21_strings/inserters_extractors.cc
1780 (test04): Ditto.
1781
1782 2002-03-30 Richard Henderson <rth@redhat.com>
1783
1784 PR c++/3719
1785 * libsupc++/eh_personality.cc (__cxa_call_unexpected): Copy handler
1786 data out of the exception struct before calling unexpectedHandler.
1787
1788 2002-03-28 Roger Sayle <roger@eyesopen.com>
1789
1790 * include/c_std/std_cmath.h: To prevent problems overloading
1791 g++ builtins, use the double variants from the global namespace
1792 before defining float and long double variants in std::.
1793
1794 2002-03-28 Loren J. Rittle <ljrittle@acm.org>
1795
1796 * testsuite/18_support/numeric_limits.cc (test_extrema): Fix typo.
1797
1798 2002-03-28 Paolo Carlini <pcarlini@unitus.it>
1799
1800 * testsuite/24_iterators/istream_iterator.cc
1801 (test02): New tests.
1802
1803 2002-03-28 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
1804 Paolo Carlini <pcarlini@unitus.it>
1805
1806 * testsuite/22_locale/codecvt_members_unicode_wchar_t.cc
1807 (test01): Protect the test with _GLIBCPP_USE_WCHAR_T;
1808 fix i_lit_base e_lit_base arrays, making them independent
1809 from the endianness of the platform; tweak UCS4 to UCS-4BE.
1810
1811 2002-03-27 Benjamin Kosnik <bkoz@redhat.com>
1812
1813 * include/bits/ostream.tcc (ostream::operator<<(_CharT)): Always
1814 allocate at least a byte.
1815
1816 * testsuite/18_support/numeric_limits.cc (test_extrema): Make
1817 debugger-friendly.
1818 * testsuite/27_io/streambuf.cc (test07): Fix.
1819 (test06): Enable.
1820
1821 2002-03-27 Phil Edwards <pme@gcc.gnu.org>
1822
1823 * docs/doxygen/Intro.3: Date tweak.
1824 * docs/doxygen/TODO: Update.
1825 * docs/doxygen/doxygroups.cc: Point to tables.html.
1826 * docs/doxygen/mainpage.html: Date tweak.
1827 * docs/doxygen/run_doxygen: Version tweak. Copy tables.html over.
1828 * docs/doxygen/tables.html: Fill in the blanks.
1829
1830 * docs/doxygen/user.cfg.in (ALIASES): Remove maint and endmaint.
1831 * include/bits/stl_algo.h: Likewise; use expanded form.
1832 * include/bits/stl_alloc.h: Likewise.
1833 * include/bits/stl_construct.h: Likewise.
1834 * include/bits/stl_deque.h: Likewise.
1835 * include/bits/stl_iterator_base_types.h: Likewise.
1836 * include/bits/stl_list.h: Likewise.
1837 * include/bits/stl_relops.h: Likewise.
1838 * include/bits/stl_tempbuf.h: Likewise.
1839 * include/bits/stl_vector.h: Likewise.
1840 * include/std/std_memory.h: Likewise.
1841
1842 * include/bits/stl_deque.h: Point into tables.html and add @ingroup.
1843 * include/bits/stl_list.h: Likewise.
1844 * include/bits/stl_vector.h: Likewise.
1845
1846 2002-03-26 Benjamin Kosnik <bkoz@redhat.com>
1847
1848 * include/c/: Guard with _CPP_.
1849 * include/c_std/: Same.
1850 * include/Makefile.am: Fixup install, link routines for null
1851 c_base_headers_extra scenarios.
1852 * include/Makefile.in: Regerate.
1853
1854 2002-03-25 Paolo Carlini <pcarlini@unitus.it>
1855 Richard Henderson <rth@redhat.com>
1856
1857 * testsuite/22_locale/codecvt_members_unicode_char.cc
1858 (test01, test02): make sure that the i_lit_base array
1859 is sufficiently aligned.
1860
1861 2002-03-25 Benjamin Kosnik <bkoz@redhat.com>
1862
1863 * config/os/newlib/bits/ctype_noninline.h (ctype::classic): Set to
1864 _ctype_.
1865
1866 2002-03-25 Paolo Carlini <pcarlini@unitus.it>
1867
1868 * testsuite/22_locale/collate_byname.cc
1869 (test01): compare the result of collate::compare with
1870 that of collate::transform + string::compare, not with
1871 that of collate::transform + collate::compare; values
1872 returned by collate::compare are normalized, therefore
1873 test against +-1.
1874
1875 2002-03-25 Benjamin Kosnik <bkoz@redhat.com>
1876 Jakub Jelinek <jakub@redhat.com>
1877
1878 * config/locale/gnu/messages_members.h: Correct conditional.
1879 * config/locale/gnu/messages_members.cc: Same.
1880 * config/locale/gnu/time_members.cc: Same.
1881
1882 2002-03-25 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
1883 Paolo Carlini <pcarlini@unitus.it>
1884
1885 * testsuite/22_locale/codecvt_members_unicode_char.cc
1886 (test01, test02): Fix i_lit_base arrays, making them
1887 independent from the endianness of the platform.
1888
1889 2002-03-22 Benjamin Kosnik <bkoz@redhat.com>
1890
1891 * acinclude.m4 (GLIBCPP_CHECK_COMPLEX_MATH_SUPP): Just test for
1892 signbit and __signbit directly.
1893 * aclocal.m4: Regenerate.
1894 * configure: Regenerate.
1895 * config.h.in: Regenerate.
1896 * libmath/Makefile.am: Simplify.
1897 * libmath/Makefile.in: Regenerate.
1898 * include/c_std/std_cmath.h: Update paths for include of cmath.tcc.
1899
1900 * include/Makefile.am: Clean up handling of extra "C" header files.
1901 Add hooks for "C" compatibility headers.
1902 * include/Makefile.in: Regenerate.
1903
1904 * include/c/*: Formatting tweaks, cleanups.
1905 * include/c_std/*: Same.
1906
1907 2002-03-22 Benjamin Kosnik <bkoz@redhat.com>
1908
1909 * config/locale/gnu/messages_members.h: Add __uselocale bits.
1910 * config/locale/gnu/messages_members.cc: Same.
1911 * config/locale/gnu/time_members.cc: Same.
1912
1913 2002-03-22 Benjamin Kosnik <bkoz@redhat.com>
1914
1915 * src/vterminate.cc: Format, -fno-exceptions cleanup.
1916
1917 2002-03-21 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
1918
1919 * acinclude.m4 (GLIBCPP_CHECK_STDLIB_DECL_AND_LINKAGE_3): New.
1920 (GLIBCPP_CONFIGURE_TESTSUITE): Use it to check for setenv.
1921 * aclocal.m4: Regenerate.
1922 * configure: Likewise.
1923
1924 2002-03-19 Paolo Carlini <pcarlini@unitus.it>
1925 Ulrich Drepper <drepper@redhat.com>
1926
1927 * src/locale-inst.cc (__convert_from_v): Add an additional
1928 __size parameter in the declarations.
1929 * include/bits/locale_facets.tcc
1930 (__convert_from_v): When available (that is,
1931 _GLIBCPP_USE_C99 defined) use snprintf instead of sprintf.
1932 (num_put::_M_convert_float): Depending on _GLIBCPP_USE_C99
1933 being defined or not, call and use __convert_from_v in the
1934 appropriate way.
1935 (num_put::_M_convert_int): Same here.
1936 (money_put::do_put(long double)): Same here.
1937
1938 2002-03-19 Phil Edwards <pme@gcc.gnu.org>
1939
1940 * docs/html/faq/index.html (#3.6): Rewrap and close <a href> tags.
1941 * docs/html/faq/index.txt: Regenerate.
1942
1943 2002-03-19 Steve Ellcey <sje@cup.hp.com>
1944
1945 * acinclude.m4 (GLIBCPP_ENABLE_LIBUNWIND_EXCEPTIONS): Define
1946 GLIBCPP_ENABLE_LIBUNWIND_EXCEPTIONS to set LIBUNWIND_FLAG if
1947 --enable-libunwind-exceptions is set.
1948 * configure.in (GLIBCPP_ENABLE_LIBUNWIND_EXCEPTIONS): Call new
1949 macro to check for libunwind.
1950 * configure: Regenerate.
1951 * src/Makefile.am (libstdc___la_LDFLAGS): Add
1952 LIBUNWIND_FLAG to libstdc link line.
1953 * src/Makefile.in: Regenerate.
1954
1955 2002-03-19 Benjamin Kosnik <bkoz@redhat.com>
1956
1957 * docs/html/faq/index.html: Add OS X workaround.
1958 * docs/html/17_intro/TODO: Update.
1959
1960 2002-03-18 Paolo Carlini <pcarlini@unitus.it>
1961
1962 * include/bits/locale_facets.tcc
1963 (money_put::do_put(long double)): Fix dimensioning of
1964 temporary buffers to avoid risk of overruns.
1965 (money_put::do_put(string)): Same for the buffer used to
1966 add the grouping chars.
1967 * testsuite/22_locale/money_put_members_char.cc: Add test06.
1968 * testsuite/22_locale/money_put_members_wchar_t.cc: Ditto.
1969
1970 * include/bits/locale_facets.tcc
1971 (collate::do_transform): Simplify.
1972
1973 2002-03-18 Phil Edwards <pme@gcc.gnu.org>
1974
1975 * acinclude.m4 (GLIBCPP_CONFIGURE): Make indentation/spacing uniform.
1976 * configure.in: Add comments pointing the way for autoconf 2.5x.
1977 * aclocal.m4, config.h.in, configure: Regenerate.
1978
1979 2002-03-18 Philipp Thomas <pthomas@suse.de>
1980
1981 * include/backward/hash_map.h: hash, hashtable, hash_map and
1982 hash_multimap are in namespace __gnu_cxx.
1983 include/backward/hash_set.h: hash, hashtable, hash_set and
1984 hash_multiset are in namespace __gnu_cxx.
1985 include/backward/hashtable.h: hash and hashtable are in
1986 namespace __gnu_cxx.
1987 include/backward/rope.h: char_producer, sequence_buffer,
1988 rope, crope and wrope are in namespace __gnu_cxx.
1989 include/backward/slist.h: slist is in namespace __gnu_cxx.
1990 * testsuite/backward/header_hash_map_h.cc
1991 testsuite/backward/header_hash_set_h.cc
1992 testsuite/backward/header_hashtable_h.cc
1993 testsuite/backward/header_rope_h.cc
1994 testsuite/backward/header_slist_h.cc
1995 testsuite/backward/header_tempbuf_h.cc: New tests for
1996 checking that we're using the correct namespace.
1997
1998 2002-03-17 Jason Merrill <jason@redhat.com>
1999
2000 PR c++/4381
2001 * libsupc++/eh_personality.cc (get_adjusted_ptr): New static fn.
2002 (check_exception_spec): Call it. Take the thrown pointer.
2003 (__cxa_call_unexpected): Pass it.
2004 (PERSONALITY_FUNCTION): Likewise. Use get_adjusted_ptr.
2005
2006 2002-03-15 Anthony Green <green@redhat.com>
2007
2008 * configure.in: Remove useless is_mingw32.
2009 * configure: Rebuilt.
2010
2011 2002-03-15 Paolo Carlini <pcarlini@unitus.it>
2012
2013 * testsuite/22_locale/collate_members_char.cc
2014 (test01): compare the result of collate::compare with
2015 that of collate::transform + string::compare, not with
2016 that of collate::transform + collate::compare.
2017 (test01): values returned by collate::compare are
2018 normalized, therefore test against +-1.
2019 * testsuite/22_locale/collate_members_wchar_t.cc: Ditto.
2020
2021 2002-03-12 Loren Rittle <ljrittle@acm.org>
2022
2023 reported by Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
2024 * testsuite/thread/pthread4.cc: Lower nominal iteration counter.
2025
2026 2002-03-12 Benjamin Kosnik <bkoz@redhat.com>
2027 Per Liboriussen <liborius@stofanet.dk>
2028
2029 * config/os/gnu-linux/bits/ctype_noninline.h: Cast to
2030 unsigned char.
2031 * config/os/gnu-linux/bits/ctype_inline.h: Same.
2032
2033 * config/os/irix/irix6.5/bits/ctype_inline.h: Same.
2034
2035 * config/os/solaris/solaris2.5/bits/ctype_inline.h: Same.
2036 * config/os/solaris/solaris2.5/bits/ctype_noninline.h: Same.
2037
2038 * config/os/solaris/solaris2.6/bits/ctype_inline.h: Same.
2039 * config/os/solaris/solaris2.6/bits/ctype_noninline.h: Same.
2040
2041 * config/os/solaris/solaris2.7/bits/ctype_inline.h: Same.
2042 * config/os/solaris/solaris2.7/bits/ctype_noninline.h: Same.
2043
2044 * testsuite/22_locale/ctype_members_char.cc (main): Add tests.
2045
2046 2002-03-12 Benjamin Kosnik <bkoz@redhat.com>
2047
2048 * include/bits/basic_string.tcc (string::_S_construct(_InIter,
2049 _InIter, const _Alloc&, forward_iterator_tag): Check for null.
2050 (string::basic_string(const _CharT* __s, const _Alloc& __a)): Same.
2051 * testsuite/21_strings/ctor_copy_dtor.cc (test01): Re-enable, now
2052 that memory limits are in place.
2053 (test03): Add tests.
2054
2055 2002-03-11 Benjamin Kosnik <bkoz@redhat.com>
2056
2057 * acinclude.m4 (GLIBCPP_CHECK_WCHAR_T_SUPPORT): Check for wctype.h.
2058 * aclocal.m4: Regenerate.
2059 * config.h.in: Regenerate.
2060 * configure: Regenerate.
2061 * include/c_std/std_cwctype.h: Guard.
2062
2063 2002-03-11 Chris Demetriou <cgd@broadcom.com>
2064
2065 * acinclude.m4 (GLIBCPP_ENABLE_SYMVERS): Enhance check for
2066 whether GLIBCPP_CHECK_LINKER_FEATURES has been used.
2067 * aclocal.m4: Regenerate.
2068 * configure: Regenerate.
2069
2070 2002-03-11 Benjamin Kosnik <bkoz@redhat.com>
2071
2072 * include/bits/stl_bvector.h: Fix warning.
2073
2074 2002-03-11 Richard Henderson <rth@redhat.com>
2075
2076 * include/bits/stl_bvector.h (_Bit_type): New. Use throughout.
2077
2078 2002-03-11 Phil Edwards <pme@gcc.gnu.org>
2079
2080 * testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3-list-sourcefiles):
2081 New function. Build the list of tests to run in testsuite_files.
2082 * testsuite/libstdc++-v3.dg/dg.exp: Use it.
2083
2084 2002-03-11 Phil Edwards <pme@gcc.gnu.org>
2085
2086 * testsuite/21_strings/capacity.cc: Only explicitly instantiate on
2087 platforms with no weak support.
2088 * testsuite/27_io/ios_init.cc: Likewise.
2089
2090 2002-03-10 Paolo Carlini <pcarlini@unitus.it>
2091
2092 * include/bits/locale_facets.tcc (time_put::do_put):
2093 Consider sizeof(char_type) in allocating the buffer.
2094
2095 * include/bits/locale_facets.tcc (collate::do_tranform):
2096 Remove redundant variable.
2097
2098 2002-03-10 Ulrich Drepper <drepper@redhat.com>
2099 Paolo Carlini <pcarlini@unitus.it>
2100
2101 * config/locale/generic/collate_members.cc
2102 (collate<char,wchar_t>::_M_compare_helper): normalize
2103 values returned by strcoll and wcscoll.
2104 * config/locale/gnu/collate_members.cc
2105 (collate<char,wchar_t>::_M_compare_helper): ditto
2106 for __strcoll_l and __wcscoll_l.
2107
2108 2002-03-10 Anthony Green <green@redhat.com>
2109
2110 * configure.in: Support cross builds to mingw32 target.
2111 * configure: Rebuilt.
2112
2113 2002-03-09 Paolo Carlini <pcarlini@unitus.it>
2114
2115 * include/bits/locale_facets.tcc (collate::do_transform):
2116 Rewrite to fix problems with long transformed strings.
2117
2118 2002-03-08 Benjamin Kosnik <bkoz@redhat.com>
2119
2120 * c_locale_generic.cc: Move to...
2121 * generic/c_locale.cc
2122 * c_locale_generic.h: Move to...
2123 * generic/c_locale.h
2124 * codecvt_specializations_generic.h: Move to...
2125 * generic/codecvt_specializations.h
2126 * collate_members_generic.cc: Move to...
2127 * generic/collate_members.cc
2128 * ctype_members_generic.cc: Move to...
2129 * generic/ctype_members.cc
2130 * messages_members_generic.cc: Move to...
2131 * generic/messages_members.cc
2132 * messages_members_generic.h: Move to...
2133 * generic/messages_members.h
2134 * moneypunct_members_generic.cc: Move to...
2135 * generic/monetary_members.cc
2136 * numpunct_members_generic.cc: Move to...
2137 * generic/numeric_members.cc
2138 * time_members_generic.cc: Move to...
2139 * generic/time_members.cc
2140 * c_locale_gnu.cc: Move to...
2141 * gnu/c_locale.cc
2142 * c_locale_gnu.h: Move to...
2143 * gnu/c_locale.h
2144 * collate_members_gnu.cc: Move to...
2145 * gnu/collate_members.cc
2146 * ctype_members_gnu.cc: Move to...
2147 * gnu/ctype_members.cc
2148 * messages_members_gnu.cc: Move to...
2149 * gnu/messages_members.cc
2150 * messages_members_gnu.h: Move to...
2151 * gnu/messages_members.h
2152 * moneypunct_members_gnu.cc: Move to...
2153 * gnu/monetary_members.cc
2154 * numpunct_members_gnu.cc: Move to...
2155 * gnu/numeric_members.cc
2156 * time_members_gnu.cc: Move to...
2157 * gnu/time_members.cc
2158 * c_locale_ieee_1003.1-200x.cc: Move to...
2159 * ieee_1003.1-2001/c_locale.cc
2160 * c_locale_ieee_1003.1-200x.h: Move to...
2161 * ieee_1003.1-2001/c_locale.h
2162 * codecvt_specializations_ieee_1003.1-200x.h: Move to...
2163 * ieee_1003.1-2001/codecvt_specializations.h
2164 * messages_members_ieee_1003.1-200x.cc: Move to...
2165 * ieee_1003.1-2001/messages_members.cc
2166 * messages_members_ieee_1003.1-200x.h: Move to...
2167 * ieee_1003.1-2001/messages_members.h
2168
2169 * acinclude.m4 (GLIBCPP_ENABLE_CLOCALE): Make consistent.
2170 * aclocal.m4: Regenerate.
2171 * configure: Regenerate.
2172 * src/Makefile.am (sources): Change to monetary and numeric.
2173 * src/Makefile.in: Regenerate.
2174 * docs/html/configopts.html: Update to ieee_1003.1-2001.
2175
2176 2002-03-08 scott snyder <snyder@fnal.gov>
2177
2178 libstdc++/5875
2179 * include/bits/locale_facets.tcc (num_put::_M_convert_float):
2180 Allow one more digit of precision.
2181 * testsuite/27_io/ostream_inserter_arith.cc: Test that we can
2182 write a double and read back in the same value.
2183
2184 2002-03-08 Benjamin Kosnik <bkoz@redhat.com>
2185
2186 * include/std/std_limits.h: Move static const data members out of
2187 generic template, into base class __numeric_limits_base.
2188 * src/limits.cc: Add definitions.
2189 * config/linker-map.gnu: Add __numeric_limits_base.
2190 * testsuite/18_support/numeric_limits.cc: Declare test in scope.
2191
2192 2002-03-07 Benjamin Kosnik <bkoz@redhat.com>
2193
2194 * include/bits/stl_alloc.h: Add extern implicit allocator
2195 instantiations.
2196 * include/bits/basic_string.tcc: Tweak.
2197 * include/bits/locale_facets.tcc: Remove default args. Add
2198 has_facet, use_facet extern instantiations.
2199 * src/stl-inst.cc: Add explicit instantiation.
2200 * src/locale-inst.cc: Clean. Remove locale member template
2201 instantiations.
2202
2203 * testsuite/22_locale/operators.cc (test02): Enable.
2204
2205 2002-03-06 Benjamin Kosnik <bkoz@redhat.com>
2206 Stephen M. Webb <stephen.webb@bregmasoft.com>
2207
2208 * include/bits/stl_tree.h (_S_rb_tree_red): Make enum.
2209 (_S_rb_tree_black): Make enum.
2210 Clean. Format.
2211 * include/bits/stl_bvector.h (__WORD_BIT): To _M_word_bit, enum.
2212 * include/bits/stl_algo.h (__stl_chunk_size): _M_chunk_size, enum.
2213 (__stl_threshold): _M_threshold, enum.
2214 * src/stl-inst.cc: Same.
2215 * config/linker-map.gnu: Remove.
2216
2217 * testsuite/23_containers/vector_bool.cc: New.
2218
2219 2002-03-06 Phil Edwards <pme@gcc.gnu.org>
2220
2221 * docs/doxygen/user.cfg.in: Also document deprecated entries.
2222 * docs/html/Makefile: Example rule to rebuild porting-howto.html.
2223 * docs/html/17_intro/howto.html: "gcc"->"GCC" changes, when
2224 referring to the collection as a whole. New section on which macros
2225 can be redefined by the user.
2226 * docs/html/19_diagnostics/howto.html: Update note for concepts.
2227 * docs/html/20_util/howto.html: Update link to SGI.
2228 * docs/html/faq/index.html: Update snapshot versions. New entry
2229 on why g++ (but not gcc) must currently predefine certain macros.
2230 * docs/html/faq/index.txt: Regenerated.
2231
2232 * include/bits/basic_string.h (basic_string::_S_construct): Fix
2233 names in declaration.
2234 (basic_string::compare): These are no longer optional.
2235 * include/bits/ostream.tcc: Tweak closing brace placement.
2236 * include/bits/stl_algo.h: Lots of initial doxygen comment hooks.
2237 * include/std/std_sstream.h: Fix typo in comment.
2238 * include/bits/locale_facets.tcc: Remove unneeded header inclusion.
2239 * src/locale.cc: Likewise.
2240
2241 2002-03-06 Phil Edwards <pme@gcc.gnu.org>
2242
2243 PR libstdc++/5734
2244 * include/bits/stl_vector.h (vector::push_back()): Guard with
2245 _GLIBCPP_DEPRECATED.
2246
2247 2002-03-06 Phil Edwards <pme@gcc.gnu.org>
2248
2249 * include/bits/c++config: Fix misplaced leading blanks on first line.
2250
2251 2002-03-05 Benjamin Kosnik <bkoz@redhat.com>
2252
2253 * docs/html/17_intro/RELEASE-NOTES: Fix usage.
2254 * README (libmath): Make clear.
2255
2256 2002-03-05 Jakub Jelinek <jakub@redhat.com>
2257
2258 * acinclude.m4 (GLIBCPP_ENABLE_SYMVERS): Check for version
2259 script globbing in ld.
2260 * aclocal.m4: Rebuilt.
2261 * configure: Rebuilt.
2262
2263 2002-03-05 Benjamin Kosnik <bkoz@redhat.com>
2264
2265 * docs/html/17_intro/RELEASE-NOTES: Update.
2266 * README: Format subdirectories.
2267
2268 2002-03-05 Paolo Carlini <pcarlini@unitus.it>
2269
2270 libstdc++/5816
2271 * include/bits/locale_facets.tcc
2272 (num_get::_M_extract_float): Fix the parsing of __dec, since
2273 the standard prescribes that if no grouping characters are
2274 seen, no grouping check is applied.
2275 * testsuite/22_locale/num_get_members_char.cc: Add test05
2276 distilled from the PR.
2277 * testsuite/22_locale/num_get_members_wchar_t.cc: Ditto.
2278
2279 2002-03-04 Craig Rodrigues <rodrigc@gcc.gnu.org>
2280
2281 * docs/html/17_intro/porting-howto.xml: Refer to
2282 http://www.oasis-open.org for docbookx.dtd.
2283 * docs/html/17_intro/porting-howto.html: Regenerated.
2284
2285 2002-03-03 Phil Edwards <pme@gcc.gnu.org>
2286
2287 PR libstdc++/3955
2288 * include/std/std_sstream.h: Remove trailing spaces.
2289 (basic_stringbuf::_M_stringbuf_init): Also check for ios_base::app.
2290 * testsuite/27_io/stringbuf.cc (test05, test06): New tests.
2291
2292 2002-03-02 Paolo Carlini <pcarlini@unitus.it>
2293
2294 * testsuite/22_locale/num_get_members_char.cc (test04):
2295 Use a named locale expecting grouping (de_DE).
2296 * testsuite/22_locale/num_get_members_wchar_t.cc (test04):
2297 Ditto.
2298 * testsuite/27_io/ios_manip_basefield.cc (test01):
2299 Extend coverage, uniform treatment of hexs and octs.
2300
2301 2002-02-28 Richard Henderson <rth@redhat.com>
2302
2303 * config/linker-map.gnu: Export operator new with unsigned long,
2304 and with std::nothrow_t. Likewise operator delete.
2305
2306 2002-02-28 Paolo Carlini <pcarlini@unitus.it>
2307
2308 * include/bits/locale_facets.tcc (num_get::_M_extract_int):
2309 Admit grouping for octals and hexadecimals too.
2310 * testsuite/22_locale/num_get_members_char.cc: Add test04.
2311 (test01): Tweak "." -> "," in void* test.
2312 * testsuite/22_locale/num_get_members_wchar_t.cc: Ditto.
2313
2314 * testsuite/27_io/ios_manip_basefield.cc: Remove static keyword.
2315 * testsuite/27_io/ios_manip_fmtflags.cc: Remove two of them.
2316
2317 2002-02-27 Paolo Carlini <pcarlini@unitus.it>
2318
2319 * testsuite/27_io/ios_manip_basefield.cc (test01):
2320 Fix for 64 bit machines.
2321
2322 2002-02-26 Benjamin Kosnik <bkoz@redhat.com>
2323
2324 libstdc++/3983
2325 * include/bits/basic_ios.tcc (basic_ios::init): Set _M_fill to zero.
2326 Adjust comment.
2327 * include/bits/basic_ios.h (basic_ios::_M_fill): Make mutable.
2328 (basic_ios::_M_fill_init): New.
2329 (basic_ios::fill()): Delay dealing with _M_fill.
2330 Adjust comment.
2331 * ios.cc (ios_base::ios_base()): Initialize _M_callbacks, _M_words.
2332 (ios_base::_M_call_callbacks): Adjust.
2333 * testsuite/27_io/ios_init.cc (test02): Adjust testcase.
2334
2335 2002-02-26 Loren Rittle <ljrittle@acm.org>
2336
2337 * include/Makefile.am (thread_target_headers): Unconditionally
2338 stage and install gthr-posix.h.
2339 (${target_builddir}/gthr-posix.h): New rule cloned off
2340 ${target_builddir}/gthr-default.h.
2341 (${target_builddir}/gthr-default.h): Support chained inclusion
2342 of gthr support headers.
2343 * include/Makefile.in: Rebuilt.
2344
2345 2002-02-26 Paolo Carlini <pcarlini@unitus.it>
2346
2347 * include/bits/locale_facets.tcc (num_put::_M_widen_int):
2348 Group all the integral types, not only decs.
2349 * testsuite/27_io/ios_manip_basefield.cc (test01): Tweak existing
2350 tests, add a few more.
2351
2352 2002-02-25 Benjamin Kosnik <bkoz@redhat.com>
2353
2354 * src/ios.cc (ios_base::~ios_base): Tweak.
2355 (ios_base::_M_call_callbacks): Deal with null __p.
2356 (ios_base::ios_base): Set _M_callbacks.
2357 * include/bits/basic_ios.tcc (basic_ios::init): Adjust comment.
2358 * testsuite/27_io/ios_init.cc (test02): Fix.
2359
2360 * mkcheck.in (static_fail): Failed links go to output file.
2361
2362 2002-02-25 Phil Edwards <pme@gcc.gnu.org>
2363
2364 * docs/html/faq/index.html: Update.
2365 * docs/html/faq/index.txt: Regenerate.
2366
2367 2002-02-22 Phil Edwards <pme@gcc.gnu.org>
2368
2369 * acinclude.m4 (GLIBCPP_ENABLE_SYMVERS): Fix comment.
2370 * aclocal.m4: Regenerate.
2371 * docs/html/configopts.html: Document --enable-symvers.
2372 * config/linker-map.gnu: Break libsupc++ symbols out to their own tag.
2373
2374 2002-02-22 Philipp Thomas <pthomas@suse.de>
2375
2376 * include/backward/tempbuf.h: get_temporary_buffer and
2377 return_temporary_buffer are in namespace std, not in __gnu_cxx.
2378
2379 2002-02-21 Benjamin Kosnik <bkoz@redhat.com>
2380
2381 * configure.in (target_alias): Default to yes.
2382 * acinclude.m4 (GLIBCPP_ENABLE_SYMVERS): Add check for shared
2383 libgcc to default case.
2384
2385 2002-02-20 Phil Edwards <pme@gcc.gnu.org>
2386
2387 * acinclude.m4 (GLIBCPP_CHECK_LINKER_FEATURES): Also check version.
2388 (GLIBCPP_ENABLE_SYMVERS): Redo logic, use linker version.
2389 * configure.in (GLIBCPP_ENABLE_SYMVERS): Move later in the script.
2390 * aclocal.m4: Regenerate.
2391 * configure: Regenerate.
2392 * config/linker-map.dummy: New file. Contains nothing useful.
2393
2394 2002-02-20 Benjamin Kosnik <bkoz@redhat.com>
2395
2396 * testsuite/22_locale/money_put_members_char.cc: Fix.
2397 * testsuite/22_locale/money_put_members_wchar_t.cc: Fix.
2398
2399 * testsuite/27_io/standard_manipulators.cc: New file.
2400
2401 * testsuite/27_io/ios_manip_basefield.cc: Check results, now failing.
2402 * testsuite/27_io/ios_manip_fmtflags.cc: Use locale::classic().
2403
2404 2002-02-20 Danny Smith <dannysmith@users.sourceforge.net>
2405
2406 * config/os/mingw32/bits/ctype_noninline.h
2407 (ctype<char>::ctype): Remove default args from parm list.
2408 * config/os/djgpp/bits/ctype_noninline.h: Same.
2409
2410 2002-02-19 Benjamin Kosnik <bkoz@redhat.com>
2411
2412 * include/std/std_iomanip.h: Inline, tweaks.
2413 * config/linker-map.gnu: Remove hacks.
2414
2415 * testsuite/21_strings/capacity.cc: Add explicit instantiations.
2416 * testsuite/27_io/ios_init.cc: Same.
2417 * testsuite/22_locale/money_get_members_char.cc (test07): Fix.
2418 * testsuite/22_locale/money_get_members_wchar_t.cc (test07): Same.
2419
2420 2002-02-19 Benjamin Kosnik <bkoz@redhat.com>
2421
2422 * config/linker-map.gnu: Export global vtable, typeinfo, guard
2423 variable, and thunk info as per CXXABI docs.
2424
2425 2002-02-19 Loren Rittle <ljrittle@acm.org>
2426
2427 * include/Makefile.am: Use CONFIG_HEADER instead of ad hoc names.
2428 * include/Makefile.in: Rebuilt.
2429
2430 2002-02-18 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
2431
2432 * testsuite/22_locale/collate_byname.cc (test01): Replace size4
2433 with size3 for the string collations of str5.
2434
2435 2002-02-18 Paolo Carlini <pcarlini@unitus.it>
2436
2437 libstdc++/5708
2438 * include/bits/locale_facets.tcc (money_put::do_put):
2439 For the space field use __fill instead of ' ', uniformly.
2440 * testsuite/22_locale/money_put_members_char.cc:
2441 Add test05 distilled from PR.
2442 (test01-02-03): Trim some '*' to ' '.
2443 * testsuite/22_locale/money_put_members_wchar_t.cc: Ditto.
2444
2445 2002-02-18 Loren Rittle <ljrittle@acm.org>
2446
2447 libstdc++/5697
2448 * include/Makefile.am (thread_builddir): Remove (map all
2449 existing uses to target_builddir).
2450 (thread_headers): Rename to...
2451 (thread_target_headers): ...this.
2452 (stamp-thread): Remove.
2453 (stamp-target): Correctly state the position as built.
2454 Update all dependencies to match the new reality. Remove all
2455 dependency calculations on directories.
2456 * include/Makefile.in: Rebuilt.
2457
2458 2002-02-16 Benjamin Kosnik <bkoz@redhat.com>
2459
2460 * include/bits/locale_facets.tcc: Add pragma GCC system_header.
2461 * include/bits/fstream.tcc: Same.
2462 * include/bits/sstream.tcc: Same.
2463 * include/bits/ostream.tcc: Same.
2464 * include/bits/istream.tcc: Same.
2465 * include/bits/streambuf.tcc: Same.
2466 * include/bits/basic_ios.tcc: Same.
2467 * include/bits/basic_string.tcc: Same.
2468
2469 2002-02-15 Benjamin Kosnik <bkoz@redhat.com>
2470
2471 * include/std/std_iosfwd.h: Don't guard typedefs with
2472 _GLIBCPP_USE_WCHAR_T
2473 * include/bits/stringfwd.h: Same.
2474
2475 2002-02-15 Benjamin Kosnik <bkoz@redhat.com>
2476
2477 * src/locale.cc (moneypunct_byname): Remove definitions.
2478 * include/std/std_streambuf.h (streambuf::operator=): Return.
2479
2480 2002-02-15 Benjamin Kosnik <bkoz@redhat.com>
2481
2482 Tune for size.
2483 * src/string-inst.cc (string::_Rep::_S_terminal): Remove redundant
2484 explicit instantiation.
2485 (string::_Rep::_S_max_size): Same.
2486 * include/bits/basic_string.tcc: Add extern explicit
2487 instantiations for string, wstring.
2488 * include/bits/basic_ios.tcc: Add extern explicit instantiations
2489 for ios, wios.
2490 * include/bits/streambuf.tcc: Same, for streambuf, wstreambuf.
2491 * include/bits/istream.tcc: Same, for istream, wistream.
2492 * include/bits/ostream.tcc: Same for ostream, wostream, iostream,
2493 wiostream.
2494 * include/bits/sstream.tcc: Same, for stringbuf, wstringbuf,
2495 istringstream, wistringstream, ostringstream, wostringstream,
2496 stringstream, wstringstream.
2497 * include/bits/fstream.tcc: Same, for filebuf, wfilebuf, ifstream,
2498 wifstream, ofstream, wofstream, fstream, wfstream.
2499 * src/misc-inst.cc: Correct comments.
2500 Add iomanip instantiations for wide streams.
2501 * include/std/std_iomanip.h: Same.
2502 * include/bits/locale_facets.tcc: Same.
2503
2504 * include/std/std_streambuf.h: Correct
2505 _GLIBCPP_FULLY_COMPLIANT_HEADERS guard.
2506 * include/std/std_sstream.h: Same.
2507 * include/std/std_ostream.h: Same.
2508 * include/std/std_istream.h: Same.
2509 * include/std/std_fstream.h: Same.
2510
2511 * include/std/std_streambuf.h: Add definitions for private copy
2512 ctor and assignment operator.
2513 * include/std/std_istream.h: Remove declared but undefined copy
2514 ctor and assignment operator. This is taken care of in ios_base,
2515 so adding it in the derived class as well is superfluous.
2516 * include/std/std_ostream.h: Same.
2517
2518 * include/bits/basic_ios.h (basic_ios::clear): Don't inline.
2519 * include/bits/basic_ios.tcc (basic_ios::clear): Move definition here.
2520
2521 2002-02-14 Benjamin Kosnik <bkoz@redhat.com>
2522
2523 * config/linker-map.gnu: Change tag from GCC_3.1 to GLIBCPP_3.1.
2524 Add typeinfo bits. Smooth.
2525 * aclocal.m4: Regenerate.
2526 * configure: Same.
2527 * src/Makefile.in: Same.
2528
2529 2001-02-14 Joel Sherrill <joel@OARcorp.com>
2530
2531 * config/cpu/m68k/bits/atomicity.h: Corrected for RTEMS targets
2532 which do not have a CAS instruction.
2533
2534 2002-02-14 Phil Edwards <pme@gcc.gnu.org>
2535
2536 * acinclude.m4 (GLIBCPP_ENABLE_SYMVERS): New macro, initial revision.
2537 * configure.in: Call it.
2538 * config/linker-map.gnu: New file, initial incomplete revision.
2539 * src/Makefile.am: Optionally pass version script to the linker.
2540 * aclocal.m4: Regenerate.
2541 * configure: Regenerate.
2542 * src/Makefile.in: Regenerate.
2543
2544 2002-02-13 Benjamin Kosnik <bkoz@redhat.com>
2545
2546 * src/localename.cc: Remove stdexcept include.
2547 * src/locale-inst.cc: Same.
2548 * src/locale.cc: Same.
2549 * src/functexcept.cc: Remove string includes.
2550 * include/std/std_bitset.h: Remove stdexcept include.
2551 * testsuite/23_containers/bitset_members.cc: Add stdexcept.
2552 * testsuite/23_containers/bitset_ctor.cc: Same.
2553
2554 2002-02-11 Benjamin Kosnik <bkoz@redhat.com>
2555
2556 * include/bits/stl_algo (__stl_threshold): Declare external.
2557 (__stl_chunk_size): Same.
2558 * include/bits/stl_bvector.h (__WORD_BIT): Same.
2559 * include/bits/stl_tree.h (_S_rb_tree_red): Same.
2560 (_S_rb_tree_black): Same.
2561 * src/stl-inst.cc (__stl_threshold): Define.
2562 (__stl_chunk_size): Same.
2563 (__WORD_BIT): Same.
2564 (_S_rb_tree_red): Same.
2565 (_S_rb_tree_black): Same.
2566
2567 * config/io/basic_file_libio.h (__basic_file): Add declarations.
2568 * include/bits/basic_file.h: Remove.
2569 * config/io/c_io_stdio.h: Remove _GLIBCPP_BASIC_FILE_ENCAPSULATION
2570 Declare generic types, specialization.
2571 * config/io/basic_file_stdio.cc: Definitions.
2572 * config/io/c_io_libio.h: Remove _GLIBCPP_BASIC_FILE_INHERITANCE.
2573 Declare generic types.
2574 * include/Makefile.am (bits_headers): Remove basic_file.h.
2575 (extra_target_headers): Change basic_file_model.h to basic_file.h.
2576 (stamp-target): Same.
2577
2578 * include/bits/stl_alloc.h: Tweaks.
2579 * include/bits/localefwd.h: Same.
2580
2581 2002-02-11 Aaron W LaFramboise <AWLaFramboise@aol.com>
2582
2583 * include/bits/locale_facets.tcc (collate::do_hash): Fix.
2584 * testsuite/22_locale/collate_members_char.cc (test03): New test.
2585 * testsuite/22_locale/collate_members_wchar_t.cc (test03): Same.
2586
2587 2002-02-10 Phil Edwards <pme@gcc.gnu.org>
2588
2589 * include/bits/stl_algo.h (transform (both signatures), generate_n):
2590 Use __typeof__ in concept checks.
2591
2592 2002-02-10 Jonathan Wakely <cow@compsoc.man.ac.uk>
2593
2594 * include/bits/stl_algo.h (__median, for_each, find, find_if,
2595 adjacent_find, count, count_if, search, search_n, swap_ranges,
2596 transform, replace, replace_if, replace_copy, replace_copy_if,
2597 generate, generate_n, remove_copy, remove_copy_if, remove, remove_if,
2598 unique, unique_copy, reverse, reverse_copy): Doxygenate.
2599
2600 2002-02-08 Benjamin Kosnik <bkoz@redhat.com>
2601
2602 * include/bits/locale_facets.h
2603 (numpunct<_CharT>::_M_initialize_numpunct): Remove definition.
2604 (__timepunct<_CharT>::_M_initialize_timepunct): Same.
2605 (__timepunct<_CharT>::_M_put_helper): Same.
2606 (moneypunct<_CharT, _Intl>::_M_initialize_moneypunct): Same.
2607
2608 * include/bits/fstream.tcc (filebuf::underflow): Remove
2609 __codecvt_type typedef.
2610 (filebuf::_M_convert_to_external): Same.
2611
2612 2002-02-08 Phil Edwards <pme@gcc.gnu.org>
2613
2614 * docs/doxygen/TODO: Update.
2615 * docs/doxygen/doxygroups.cc: Tweak __gnu_cxx description.
2616 * docs/doxygen/mainpage.html: Add TODO list link.
2617 * docs/doxygen/user.cfg.in: Add @doctodo hook.
2618 * docs/doxygen/tables.html: New file, emoty structure only.
2619
2620 * include/bits/stl_iterator.h: Doxygenate just about everything.
2621 * include/bits/stl_iterator_base_funcs.h: Ditto, clean up spaces.
2622 * include/bits/stl_iterator_base_types.h: Add notes.
2623
2624 2002-02-07 Stephan Buys <sbproxy@icon.co.za>
2625
2626 * include/bits/stl_map.h: Tweak doxygen markup.
2627 * include/bits/stl_multimap.h: Doxygenate and remove extra spaces.
2628 * include/bits/stl_vector.h: Likewise.
2629
2630 2002-02-07 Benjamin Kosnik <bkoz@redhat.com>
2631
2632 libstdc++/5286
2633 libstdc++/3860
2634 * include/std/std_fstream.h (filebuf::__file_type): Change to
2635 __basic_file<char>.
2636 (filebuf::_M_convert_to_external): Declare.
2637 * include/bits/fstream.tcc (filebuf::_M_convert_to_external): Define
2638 codecvt bits for wide streams.
2639 (filebuf::_M_really_overflow): Use it.
2640 (filebuf::underflow): Use codecvt.
2641 * config/locale/codecvt_specializations_ieee_1003.1-200x.h:
2642 (codecvt<__enc_traits>::do_out): Deal with partial.
2643 (codecvt<__enc_traits>::do_encoding): Return something useful.
2644 * src/codecvt.cc (codecvt<wchar_t>::do_encoding): Return sizeof
2645 wchar_t.
2646 * testsuite/22_locale/codecvt_members_unicode_char.cc (test01):
2647 Change expected encoding output.
2648 (test02): Same.
2649 * testsuite/22_locale/codecvt_members_wchar_t_char.cc (test01): Same.
2650 (test02): Same.
2651
2652 2002-02-07 Benjamin Kosnik <bkoz@redhat.com>
2653 Wolfgang Bangerth <wolfgang.bangerth@iwr.uni-heidelberg.de>
2654
2655 * include/bits/basic_ios.tcc (basic_ios::narrow): Add default value.
2656 (basic_ios::widen): Same.
2657
2658 2002-02-07 Paolo Carlini <pcarlini@unitus.it>
2659
2660 * testsuite/22_locale/money_get_members_char.cc:
2661 Add comment, tidy up.
2662 (test01): more "en_HK" tests (without showbase).
2663 * testsuite/22_locale/money_get_members_wchar_t.cc: Ditto.
2664
2665 2002-02-06 Loren Rittle <ljrittle@acm.org>
2666
2667 * config/locale/c_locale_generic.cc: Do not trust
2668 _GLIBCPP_HAVE_STRTOF or _GLIBCPP_HAVE_STRTOLD as
2669 set by configure.
2670
2671 2002-02-06 Loren Rittle <ljrittle@acm.org>
2672
2673 * acinclude.m4: Add C++ linkage check for strtof.
2674 * aclocal.m4: Rebuilt.
2675 * config.h.in: Rebuilt.
2676 * configure: Rebuilt.
2677 * config/locale/c_locale_generic.cc: Conditionally include
2678 <ieeefp.h>. Improve handling and error checking of float
2679 and long double input for non-C99 configurations.
2680
2681 2002-02-06 Paolo Carlini <pcarlini@unitus.it>
2682
2683 * include/bits/locale_facets.tcc (money_get::do_get(string)):
2684 In case money_base::symbol deal properly with multi-char sign
2685 for patterns {X,Y,Z,symbol} and {X,Y,symbol,none}.
2686 * testsuite/22_locale/money_get_members_char.cc: Add test07.
2687 * testsuite/22_locale/money_get_members_wchar_t.cc: Add test07.
2688
2689 2002-02-05 Paolo Carlini <pcarlini@unitus.it>
2690
2691 * include/bits/locale_facets.tcc (money_get::do_get(string)):
2692 First construct a tentative returned string, then, only if the
2693 parsing succeeds, copy it into the string passed by reference.
2694 * testsuite/22_locale/money_get_members_char.cc: Add test06.
2695 * testsuite/22_locale/money_get_members_wchar_t.cc: Add test06.
2696
2697 2002-02-04 Phil Edwards <pme@gcc.gnu.org>
2698
2699 * docs/doxygen/TODO: Impl-defined behavior now documented...
2700 * docs/html/17_intro/howto.html: ...here.
2701 * docs/doxygen/mainpage.doxy: Remove, rename...
2702 * docs/doxygen/mainpage.html: ...to this. Tweak HTML, add license.
2703 * docs/doxygen/style.css: Add small text.
2704 * docs/doxygen/run_doxygen: Adjust for new mainpage.
2705 * docs/doxygen/user.cfg.in: Likewise.
2706
2707 2002-02-04 Stephan Buys <sbproxy@icon.co.za>
2708
2709 * include/bits/stl_map.h: Initial doxygen markup.
2710 * include/std/std_fstream.h: Initial doxygen markup.
2711
2712 2002-02-04 Paolo Carlini <pcarlini@unitus.it>
2713
2714 libstdc++/5579
2715 * include/bits/locale_facets.tcc (money_get::do_get(string)):
2716 Deal correctly with !(__io.flags() & ios_base::showbase)
2717 for case money_base::symbol.
2718 * testsuite/22_locale/money_get_members_char.cc: Add test05.
2719 * testsuite/22_locale/money_get_members_wchar_t.cc: Add test05.
2720
2721 2002-02-02 Paolo Carlini <pcarlini@unitus.it>
2722
2723 * testsuite/22_locale/operators.cc
2724 (gnu_collate::do_compare()): Add return statement to
2725 suppress "no return statement" warning.
2726
2727 2002-02-01 Paolo Carlini <pcarlini@unitus.it>
2728
2729 * testsuite/27_io/ostream_manip.cc: Enable test02.
2730
2731 2002-02-01 Phil Edwards <pme@gcc.gnu.org>
2732
2733 * docs/html/documentation.html: Update for 3.0.96.
2734 * docs/html/faq/index.html: Update for 3.0.96.
2735 * docs/html/faq/index.txt: Regenerated.
2736 * docs/doxygen/TODO: Update notes.
2737 * docs/html/17_intro/howto.html: Initial impl-specific listing.
2738
2739 2002-01-31 Benjamin Kosnik <bkoz@redhat.com>
2740
2741 * config/locale/codecvt_specializations_ieee_1003.1-200x.h:
2742 Initialize all data members in copy ctor. Make ctors explicit.
2743 (__enc_traits::__enc_traits()): Default ctor does nothing.
2744 (__enc_traits::_M_init): Guard against multiple iconv_opens.
2745 * include/std/std_sstream.h (basic_stringbuf): Make data members
2746 protected.
2747 * include/std/std_fstream.h (basic_filebuf): Same.
2748 * include/std/std_streambuf.h: Tweak.
2749 * include/bits/streambuf.tcc: Same.
2750 * include/bits/sstream.tcc: Same.
2751 * include/bits/fstream.tcc: Same.
2752
2753 2002-01-31 Loren Rittle <ljrittle@acm.org>
2754
2755 * testsuite/22_locale/codecvt_members_char_char.cc: Do not
2756 allow NULL argument to be passed to setenv().
2757 * testsuite/22_locale/codecvt_members_wchar_t_char.cc: Likewise.
2758 * testsuite/22_locale/collate_members_char.cc: Likewise.
2759 * testsuite/22_locale/collate_members_wchar_t.cc: Likewise.
2760 * testsuite/22_locale/ctype_members_char.cc: Likewise.
2761 * testsuite/22_locale/ctype_members_wchar_t.cc: Likewise.
2762 * testsuite/22_locale/messages_members_char.cc: Likewise.
2763 * testsuite/22_locale/money_get_members_char.cc: Likewise.
2764 * testsuite/22_locale/money_get_members_wchar_t.cc: Likewise.
2765 * testsuite/22_locale/money_put_members_char.cc: Likewise.
2766 * testsuite/22_locale/money_put_members_wchar_t.cc: Likewise.
2767 * testsuite/22_locale/moneypunct_members_char.cc: Likewise.
2768 * testsuite/22_locale/moneypunct_members_wchar_t.cc: Likewise.
2769 * testsuite/22_locale/num_get_members_char.cc: Likewise.
2770 * testsuite/22_locale/num_get_members_wchar_t.cc: Likewise.
2771 * testsuite/22_locale/num_put_members_char.cc: Likewise.
2772 * testsuite/22_locale/num_put_members_wchar_t.cc: Likewise.
2773 * testsuite/22_locale/numpunct_members_char.cc: Likewise.
2774 * testsuite/22_locale/numpunct_members_wchar_t.cc: Likewise.
2775 * testsuite/22_locale/time_get_members_char.cc: Likewise.
2776 * testsuite/22_locale/time_get_members_wchar_t.cc: Likewise.
2777 * testsuite/22_locale/time_put_members_char.cc: Likewise.
2778 * testsuite/22_locale/time_put_members_wchar_t.cc: Likewise.
2779
2780 2002-01-30 Benjamin Kosnik <bkoz@redhat.com>
2781
2782 * config/locale/c_locale_gnu.cc: Same errno fixes as generic.
2783
2784 * ChangeLog-2001: Fix spelling errors...
2785 * docs/html/17_intro/RELEASE-NOTES: Update.
2786 * docs/html/17_intro/TODO: Update.
2787 * README (file): Update.
2788
2789 2002-01-30 Loren Rittle <ljrittle@acm.org>
2790
2791 * config/locale/c_locale_generic.cc: Check errno for ERANGE
2792 instead of non-zero to aid portability.
2793
2794 2002-01-30 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
2795
2796 * docs/html/22_locale/messages.html: Fix example code.
2797
2798 2002-01-30 Richard Henderson <rth@redhat.com>
2799
2800 * testsuite/27_io/ostream_inserter_arith.cc (test03_check): Break
2801 out from test03 and templatize.
2802 (test03): Use it.
2803
2804 2002-01-30 Paolo Carlini <pcarlini@unitus.it>
2805
2806 * config/locale/numpunct_members_gnu.cc
2807 (numpunct<char, wchar_t>::_M_initialize_numpunct()):
2808 Fix initialization of _M_grouping for locales which have
2809 _M_thousands_sep == '\0'(L'\0', respectively).
2810 * testsuite/22_locale/numpunct_byname.cc (test02): Add test.
2811
2812 2002-01-30 Paolo Carlini <pcarlini@unitus.it>
2813
2814 * testsuite/27_io/ostream_inserter_arith.cc (test03):
2815 Better fix for 32/64 bit architectures, avoiding the
2816 implicit assumption that CHAR_BIT == 8.
2817
2818 2002-01-28 Phil Edwards <pme@gcc.gnu.org>
2819
2820 * Makefile.am (doxygen, doxygen-maint, doxygen-man): Tweak targets.
2821 * Makefile.in: Regenerate.
2822
2823 * docs/doxygen/run_doxygen: Update, mostly for man pages.
2824 * docs/doxygen/Intro.3: Update.
2825 * docs/doxygen/TODO: Update.
2826 * docs/doxygen/doxygroups.cc: Add namespace hook for __gnu_cxx.
2827 * docs/doxygen/mainpage.doxy: Update.
2828 * docs/doxygen/user.cfg.in: Update for header rename. Also
2829 regenerate comments and variables with 1.2.12.
2830 * docs/doxygen/maint.cfg.in: Remove file.
2831
2832 * include/bits/stl_relops.h: Doxygenate.
2833 * include/bits/stl_tempbuf.h (std::_Temporary_buffer): Likewise.
2834
2835 * include/c_std/std_cassert.h, include/c_std/std_cctype.h,
2836 include/c_std/std_cerrno.h, include/c_std/std_cfloat.h,
2837 include/c_std/std_ciso646.h, include/c_std/std_climits.h,
2838 include/c_std/std_clocale.h, include/c_std/std_cmath.h,
2839 include/c_std/std_csetjmp.h, include/c_std/std_csignal.h,
2840 include/c_std/std_cstdarg.h, include/c_std/std_cstddef.h,
2841 include/c_std/std_cstdio.h, include/c_std/std_cstdlib.h,
2842 include/c_std/std_cstring.h, include/c_std/std_ctime.h,
2843 include/c_std/std_cwchar.h, include/c_std/std_cwctype.h,
2844 include/ext/algorithm, include/ext/functional, include/ext/hash_map,
2845 include/ext/hash_set, include/ext/iterator, include/ext/memory,
2846 include/ext/numeric, include/ext/rb_tree, include/ext/rope,
2847 include/ext/ropeimpl.h, include/ext/slist, include/ext/stl_hash_fun.h,
2848 include/ext/stl_hashtable.h, include/ext/stl_rope.h,
2849 include/std/std_algorithm.h, include/std/std_bitset.h,
2850 include/std/std_complex.h, include/std/std_deque.h,
2851 include/std/std_fstream.h, include/std/std_functional.h,
2852 include/std/std_iomanip.h, include/std/std_ios.h,
2853 include/std/std_iosfwd.h, include/std/std_iostream.h,
2854 include/std/std_istream.h, include/std/std_iterator.h,
2855 include/std/std_limits.h, include/std/std_list.h,
2856 include/std/std_locale.h, include/std/std_map.h,
2857 include/std/std_memory.h, include/std/std_numeric.h,
2858 include/std/std_ostream.h, include/std/std_queue.h,
2859 include/std/std_set.h, include/std/std_sstream.h,
2860 include/std/std_stack.h, include/std/std_stdexcept.h,
2861 include/std/std_streambuf.h, include/std/std_string.h,
2862 include/std/std_utility.h, include/std/std_valarray.h,
2863 include/std/std_vector.h: Add/correct @file doxygen hook.
2864
2865 * include/ext/memory: Doxygenate most of rest of file.
2866 * libsupc++/exception: Doxygen output formatting.
2867 * libsupc++/new: Say which header it is.
2868
2869 * testsuite/lib/libstdc++-v3-dg.exp: Fix spacing.
2870 * docs/html/19_diagnostics/howto.html: Describe concept-checks switch.
2871 * docs/html/23_containers/howto.html: Describe O(n) list::size().
2872 * docs/html/27_io/howto.html: Also link to Langer and Kreft text.
2873
2874 2002-01-28 Paolo Carlini <pcarlini@unitus.it>
2875 Charles Leggett <CGLeggett@lbl.gov>
2876
2877 * testsuite/27_io/filebuf_members.cc (test_05): Add test.
2878
2879 2002-01-28 Paolo Carlini <pcarlini@unitus.it>
2880
2881 * testsuite/27_io/ostream_inserter_arith.cc (test03):
2882 Fix to deal correctly with both 32 bit and 64 bit architectures
2883
2884 2002-01-25 Loren Rittle <ljrittle@acm.org>
2885
2886 * testsuite/thread/pthread1.cc: Use one condition variable
2887 per predicate instead of tricky use of one condition variable.
2888
2889 2002-01-25 Benjamin Kosnik <bkoz@redhat.com>
2890
2891 * include/bits/fstream.tcc (filebuf::close()): Fix close for input
2892 streams.
2893 (filebuf::_M_really_overflow): Match indeterminate and sync calls.
2894 * testsuite/27_io/filebuf.cc: Compile only.
2895 * testsuite/27_io/filebuf_members.cc: Move tests to here.
2896 * testsuite/27_io/filebuf_virtuals.cc: And here.
2897 Revert sungetc, sync changes for expected values.
2898 * testsuite/27_io/filebuf-*: Move to...
2899 * testsuite/27_io/filebuf_virtuals-*: ...here.
2900 * testsuite/27_io/istream.cc: Compile only, activate.
2901 * testsuite/27_io/ostream.cc: Same.
2902 * testsuite/27_io/iostream.cc: New.
2903 * testsuite/27_io/iostream_members.cc: New.
2904
2905 2002-01-25 David Billinghurst <David.Billinghurst@riotinto.com>
2906
2907 * testsuite/thread/pthread1.cc: Enable on cygwin.
2908 * testsuite/thread/pthread2.cc: Likewise.
2909 * testsuite/thread/pthread3.cc: Likewise.
2910 * testsuite/thread/pthread4.cc: Likewise.
2911 * testsuite/thread/pthread5.cc: Likewise.
2912 * testsuite/thread/pthread6.cc: Likewise.
2913
2914 2002-01-24 Benjamin Kosnik <bkoz@redhat.com>
2915
2916 * testsuite/27_io/ostream_inserter_char.cc (test07): New.
2917
2918 2002-01-24 Benjamin Kosnik <bkoz@redhat.com>
2919
2920 * include/bits/basic_ios.h (basic_ios::_M_check_facet): Make
2921 const, tweak.
2922 (basic_ios::fill(char_type)): Use fill().
2923 * include/bits/basic_ios.tcc (basic_ios::widen): Use _M_check_facet.
2924 (basic_ios::narrow): Same.
2925 (basic_ios::_M_cache_facets): Explicitly set cached facets to zero
2926 if they are invalid.
2927 (basic_ios::init): Comment.
2928 * testsuite/27_io/ios_init.cc (test02): New.
2929
2930 2002-01-24 Phil Edwards <pme@gcc.gnu.org>
2931
2932 * include/bits/stl_tempbuf.h (_Temporary_buffer): Add doxygen hook.
2933 * include/bits/stl_algo.h: Include stl_tempbuf.h.
2934 * include/ext/memory: Do not include stl_tempbuf.h.
2935 (temporary_buffer): Add doxygen hook.
2936 (__get_temporary_buffer, get_temporary_buffer,
2937 return_temporary_buffer): Move back to std:: header...
2938 * include/std/std_memory.h: ...here. Do not include stl_tempbuf.h.
2939 * include/ext/rope: Do not include stl_tempbuf.h.
2940 * include/ext/stl_hashtable.h: Likewise.
2941 * include/std/std_algorithm.h: Likewise.
2942 * testsuite/20_util/temporary_buffer.cc: New file.
2943
2944 2002-01-24 andrew@andypo.net
2945 (tweaks, test and commit by Loren J. Rittle <ljrittle@acm.org>)
2946
2947 libstdc++/5432
2948 * include/bits/ios_base.h: Use _Atomic_word for reference counts.
2949 * include/bits/localefwd.h: Likewise.
2950 Also use for std::locale::id::_S_highwater.
2951 * src/ios.cc (ios_base::xalloc): Use _Atomic_word.
2952 * src/locale.cc: Support new usage of _Atomic_word.
2953 (std::locale::classic): Guard entire function against reentry.
2954 * src/localename.cc: Support new usage of _Atomic_word.
2955
2956 2002-01-24 Benjamin Kosnik <bkoz@redhat.com>
2957
2958 * testsuite/22_locale/num_put_members_wchar_t.cc (test03): Use
2959 _GLIBCPP_HAVE_SETENV.
2960 * testsuite/22_locale/codecvt_members_wchar_t_char.cc (test02): Same.
2961 * testsuite/22_locale/collate_members_char.cc (test02): Same.
2962 * testsuite/22_locale/ctype_members_char.cc (test03): Same.
2963 * testsuite/22_locale/ctype_members_wchar_t.cc (test03): Same.
2964 * testsuite/22_locale/messages_members_char.cc (test02): Same.
2965 * testsuite/22_locale/moneypunct_members_char.cc (test02): Same.
2966 * testsuite/22_locale/moneypunct_members_wchar_t.cc (test02): Same.
2967 * testsuite/22_locale/money_put_members_char.cc (test04): Same.
2968 * testsuite/22_locale/money_put_members_wchar_t.cc (test04): Same.
2969 * testsuite/22_locale/num_get_members_char.cc (test03): Same.
2970 * testsuite/22_locale/num_get_members_wchar_t.cc (test03): Same.
2971 * testsuite/22_locale/numpunct_members_char.cc (test02): Same.
2972 * testsuite/22_locale/numpunct_members_wchar_t.cc (test02): Same.
2973 * testsuite/22_locale/time_get_members_char.cc (test07): Same.
2974 * testsuite/22_locale/time_get_members_wchar_t.cc (test07): Same.
2975 * testsuite/22_locale/time_put_members_char.cc (test03): Same.
2976 * testsuite/22_locale/time_put_members_wchar_t.cc (test03): Same.
2977 * testsuite/22_locale/num_put_members_char.cc (test03): Same.
2978 * acinclude.m4 (GLIBCPP_CONFIGURE_TESTSUITE): Check for setenv.
2979 * aclocal.m4: Regenerate.
2980 * configure: Regenerate.
2981 * config.h.in: Regenerate.
2982
2983 2002-01-23 Loren Rittle <ljrittle@acm.org>
2984
2985 * testsuite/thread/pthread1.cc: New test.
2986 * testsuite/thread/pthread2.cc: New test adapted from libstdc++/5347.
2987 * testsuite/thread/pthread3.cc: Likewise.
2988 * testsuite/thread/pthread4.cc: New test adapted from
2989 http://gcc.gnu.org/ml/gcc-bugs/2002-01/msg00679.html
2990 * testsuite/thread/pthread5.cc: New test adapted from libstdc++/5464.
2991 * testsuite/thread/pthread6.cc: New test adapted from libstdc++/5444.
2992
2993 2002-01-23 Richard Henderson <rth@redhat.com>
2994
2995 PR libstdc++/5198
2996 * config/cpu/m68k/bits/atomicity.h (__exchange_and_add): Only use
2997 CAS on the cpu variants that support it. Add versions that use
2998 TAS and that disable interrupts.
2999 (__atomic_add): Use __exchange_and_add to guarantee atomicity.
3000
3001 2002-01-23 Matt Kraai <kraai@alumni.cmu.edu>
3002
3003 * include/bits/locale_facets.tcc: Remove old comments.
3004
3005 2002-01-23 Andreas Tobler <toa@pop.agri.ch>
3006
3007 * include/bits/locale_facets.tcc (__convert_to_v): Change template
3008 parameter to _Tv.
3009 (__convert_from_v): Same.
3010
3011 2002-01-23 Benjamin Kosnik <bkoz@redhat.com>
3012
3013 * include/bits/locale_facets.h (num_get::_M_extract_int): Change
3014 prototype.
3015 * include/bits/locale_facets.tcc (num_get::_M_extract_int): Remove
3016 __max_digits checks, adjust arguments.
3017 (num_get::do_get(*)): Changeup.
3018
3019 2002-01-23 Loren Rittle <ljrittle@acm.org>
3020
3021 * config/locale/c_locale_generic.cc: Fix typename usage.
3022
3023 2002-01-22 Benjamin Kosnik <bkoz@redhat.com>
3024
3025 * config/locale/c_locale_generic.cc: Fix.
3026
3027 2002-01-22 Benjamin Kosnik <bkoz@redhat.com>
3028
3029 * docs/html/22_locale/messages.html: Remove angle brackets.
3030 * docs/html/17_intro/TODO: Add.
3031
3032 2002-01-22 Paolo Carlini <pcarlini@unitus.it>
3033
3034 * testsuite/27_io/ios_manip_basefield.cc: Enable test02.
3035 * testsuite/27_io/ostream_inserter_arith.cc: Enable test03.
3036 * testsuite/27_io/ostream_inserter_char.cc: Enable test01.
3037 * testsuite/27_io/ostream_inserter_other.cc: Enable test04.
3038
3039 2002-01-22 Benjamin Kosnik <bkoz@redhat.com>
3040
3041 Audit for LANG independence.
3042 * include/bits/localefwd.h: Tweaks.
3043 * include/bits/locale_facets.tcc (money_get::do_get(long double)):
3044 Use __convert_to_v.
3045 (time_get::do_get_year): Same.
3046 (__convert_from_v): Add.
3047 (num_put::_M_convert_float): Use.
3048 (num_put::_M_convert_int): Same.
3049 (money_put::do_put): Same.
3050
3051 * src/locale-inst.cc: Add instantiations for __convert_from_v.
3052 * config/locale/time_members_gnu.cc: Cleanup setlocale usage.
3053 * config/locale/time_members_generic.cc:
3054 * config/locale/messages_members_gnu.cc: Same.
3055 * config/locale/messages_members_gnu.h: Same.
3056
3057 * testsuite/22_locale/codecvt_members_wchar_t_char.cc (test02): New.
3058 * testsuite/22_locale/codecvt_members_char_char.cc (test02): New.
3059 * testsuite/22_locale/collate_members_wchar_t.cc (test02): New.
3060 * testsuite/22_locale/collate_members_char.cc (test02): New.
3061 * testsuite/22_locale/ctype_members_wchar_t.cc (test03): New.
3062 * testsuite/22_locale/ctype_members_char.cc (test03): New.
3063 * testsuite/22_locale/messages_members_char.cc (test02): New.
3064 * testsuite/22_locale/moneypunct_members_wchar_t.cc (test02): New.
3065 * testsuite/22_locale/moneypunct_members_char.cc (test02): New.
3066 * testsuite/22_locale/money_get_members_wchar_t.cc (test04): New.
3067 * testsuite/22_locale/money_get_members_char.cc (test04): New.
3068 * testsuite/22_locale/money_put_members_wchar_t.cc (test04): New.
3069 * testsuite/22_locale/money_put_members_char.cc (test04): New.
3070 * testsuite/22_locale/numpunct_members_wchar_t.cc (test02): New.
3071 * testsuite/22_locale/numpunct_members_char.cc (test02): New.
3072 * testsuite/22_locale/time_put_members_wchar_t.cc (test03): New.
3073 * testsuite/22_locale/time_put_members_char.cc (test03): New.
3074 * testsuite/22_locale/time_get_members_wchar_t.cc (test07): New.
3075 * testsuite/22_locale/time_get_members_char.cc (test07): New.
3076 * testsuite/22_locale/num_get_members_wchar_t.cc (test03): New.
3077 * testsuite/22_locale/num_get_members_char.cc (test03): New.
3078 * testsuite/22_locale/num_put_members_wchar_t.cc (test03): New.
3079 * testsuite/22_locale/num_put_members_char.cc (test03): New.
3080
3081 * testsuite/22_locale/time_get_members_char.cc: Fixups for global
3082 locale issues.
3083 * testsuite/22_locale/time_get_members_char.cc: Same.
3084
3085 2002-01-22 Benjamin Kosnik <bkoz@redhat.com>
3086
3087 libstdc++/5280
3088 * include/bits/localefwd.h: Tweak comments.
3089 * include/bits/locale_facets.h (__convert_to_v): Add.
3090 * include/bits/locale_facets.tcc (num_get::do_get(double)): Use it.
3091 (num_get::do_get(float)): Same.
3092 (num_get::do_get(long double)): Same.
3093 (num_get::do_get(bool)): Same.
3094 (num_get::do_get(long)): Same.
3095 (num_get::do_get(long long)): Same.
3096 (num_get::do_get(unsigned int)): Same.
3097 (num_get::do_get(unsigned short)): Same.
3098 (num_get::do_get(unsigned long)): Same.
3099 (num_get::do_get(unsigned long long)): Same.
3100 * config/locale/c_locale_gnu.cc (__convert_to_v): Specialize.
3101 * config/locale/c_locale_generic.cc: Same.
3102
3103 2002-01-22 Loren Rittle <ljrittle@acm.org>
3104
3105 * include/Makefile.am (c_base_builddir): Remove redundant slash.
3106 (std_builddir): Likewise.
3107 (std_headers_rename): Fix cut-n-paste typo.
3108 (install-data-local): Concat path per element instead of once to
3109 first element of list.
3110 * include/Makefile.in: Rebuilt.
3111
3112 2002-01-22 Benjamin Kosnik <bkoz@redhat.com>
3113
3114 * config/os/aix/bits/ctype_noninline.h: Fix formatting.
3115 * config/os/bsd/netbsd/bits/ctype_noninline.h: Fix typo.
3116 * config/os/bsd/freebsd/bits/ctype_noninline.h: Fix formatting.
3117
3118 2002-01-20 Benjamin Kosnik <bkoz@redhat.com>
3119
3120 * include/bits/locale_facets.h (ctype<char>::classic_table):
3121 Remove definition.
3122 (ctype<char>::_S_ctable): Remove.
3123 * config/os/gnu-linux/bits/ctype_noninline.h
3124 (ctype<char>::_S_table): Remove definition.
3125 (ctype<char>::classic_table): Define.
3126 (ctype<char>::ctype): Replace _S_ctable with classic_table().
3127 * config/os/aix/bits/ctype_noninline.h: Same.
3128 * config/os/bsd/freebsd/bits/ctype_noninline.h: Same.
3129 * config/os/bsd/netbsd/bits/ctype_noninline.h: Same.
3130 * config/os/djgpp/bits/ctype_noninline.h: Same.
3131 * config/os/generic/bits/ctype_noninline.h: Same.
3132 * config/os/gnu-linux/bits/ctype_noninline.h: Same.
3133 * config/os/hpux/bits/ctype_noninline.h: Same.
3134 * config/os/irix/irix5.2/bits/ctype_noninline.h: Same.
3135 * config/os/irix/irix6.5/bits/ctype_noninline.h: Same.
3136 * config/os/mingw32/bits/ctype_noninline.h: Same.
3137 * config/os/newlib/bits/ctype_noninline.h: Same.
3138 * config/os/solaris/solaris2.5/bits/ctype_noninline.h: Same.
3139 * config/os/solaris/solaris2.6/bits/ctype_noninline.h: Same.
3140 * config/os/solaris/solaris2.7/bits/ctype_noninline.h: Same.
3141
3142 2002-01-20 Danny Smith <dannysmith@users.sourceforge.net>
3143
3144 * config/os/mingw32/bits/ctype_noninline.h: Declare _ctype instead
3145 of _pctype. Use to define _S_ctable. Add definition for alternate
3146 ctor. Initialise _M_ctable to _S_ctable in ctors.
3147 (do_toupper, do_tolower): Use inline code appropriate for C-locale
3148 rather than ::toupper, ::tolower.
3149
3150 2002-01-18 Loren Rittle <ljrittle@acm.org>
3151
3152 * testsuite/18_support/numeric_limits.cc (test_extrema<long double>):
3153 Add specialization for FreeBSD systems only to avoid losing test
3154 only due to extra precision unmentioned in system headers.
3155
3156 2002-01-18 David Billinghurst <David.Billinghurst@riotinto.com>
3157
3158 * config/os/irix/irix6.5/bits/ctype_noninline.h: Fix typo
3159
3160 2002-01-17 Nick Clifton <nickc@cambridge.redhat.com>
3161
3162 * testsuite/testsuite_hooks.h: Fix comment typo. Memory
3163 limiting is only attempted if _GLIBCPP_MEM_LIMIT is defined.
3164
3165 2002-01-17 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
3166
3167 * testsuite/22_locale/ctor_copy_dtor.cc: Remove check.
3168
3169 2002-01-17 David Edelsohn <edelsohn@gnu.org>
3170
3171 * configure.target: Define OPT_LDFLAGS for AIX case.
3172
3173 2002-01-17 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
3174
3175 * include/std/std_limits.h (__glibcpp_float_has_quiet_NaN,
3176 __glibcpp_double_has_quiet_NaN): Correct mispelling.
3177
3178 2002-01-17 Andreas Tobler <toa@pop.agri.ch>
3179
3180 * config/os/solaris/solaris2.6/bits/ctype_noninline.h: Fix.
3181
3182 2002-01-16 David Edelsohn <dje@watson.ibm.com>
3183
3184 * acinclude.m4 (GLIBCPP_CHECK_LINKER_FEATURES): Do not clear
3185 SECTION_LDFLAGS and OPT_LDFLAGS. Fix ac_sectionLDflags type.
3186 * aclocal.m4: Regenerate.
3187 * configure: Regenerate.
3188
3189 2002-01-16 Benjamin Kosnik <bkoz@redhat.com>
3190
3191 * include/Makefile.am (c_base_headers_rename): New.
3192 (c_base_headers_extra): New.
3193 (stamp-c_base): Modify.
3194 (install-data-local): Use both.
3195 * include/Makefile.in: Regenerate.
3196 * include/c/[cctype ciso646 cmath cstdarg cstdlib cerrno climits
3197 csetjmp cstddef cstring cwchar cassert cfloat clocale csignal
3198 cstdio ctime cwctype]: Move to..
3199 * include/c/std_*: Here.
3200 * include/c_std/[cctype ciso646 cmath cstdarg cstdlib cerrno climits
3201 csetjmp cstddef cstring cwchar cassert cfloat clocale csignal
3202 cstdio ctime cwctype]: Move to..
3203 * include/c_std/std_*: Here.
3204
3205 Alexandre Oliva <aoliva@redhat.com>
3206 * include/Makefile.am (.PRECIOUS): Add rule.
3207 * include/Makefile.in: Regenerate.
3208
3209 2002-01-16 Benjamin Kosnik <bkoz@redhat.com>
3210 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
3211
3212 * include/bits/stl_iterator.h (reverse_iterator::_M_current):
3213 Deuglify, should be current.
3214 (back_insert_iterator::_M_container): Deuglify, should be container.
3215 (front_insert_iterator::_M_container): Same.
3216 (insert_iterator::_M_container): Same.
3217 * testsuite/24_iterators/reverse_iterator.cc: Add check.
3218 * testsuite/24_iterators/back_insert_iterator.cc: Add check.
3219 * testsuite/24_iterators/front_insert_iterator.cc: Same.
3220 * testsuite/24_iterators/insert_iterator.cc: Same.
3221
3222 2002-01-16 Benjamin Kosnik <bkoz@redhat.com>
3223
3224 * include/bits/locale_facets.h (ctype<char>::classic_table): Make
3225 static.
3226 (ctype<char>::_M_ctable): Make static, change name to _S_ctable.
3227 * config/os/gnu-linux/bits/ctype_noninline.h: Define _S_ctable.
3228 * config/os/solaris/solaris2.7/bits/ctype_noninline.h: Same.
3229 * config/os/solaris/solaris2.6/bits/ctype_noninline.h: Same.
3230 * config/os/solaris/solaris2.5/bits/ctype_noninline.h: Same.
3231 * config/os/newlib/bits/ctype_noninline.h: Same.
3232 * config/os/irix/irix6.5/bits/ctype_noninline.h: Same.
3233 * config/os/irix/irix5.2/bits/ctype_noninline.h: Same.
3234 * config/os/hpux/bits/ctype_noninline.h: Same.
3235 * config/os/djgpp/bits/ctype_noninline.h: Same.
3236 * config/os/bsd/netbsd/bits/ctype_noninline.h: Same.
3237 * config/os/bsd/freebsd/bits/ctype_noninline.h: Same.
3238 * config/os/aix/bits/ctype_noninline.h: Same.
3239
3240 Testcase by Dietmar Kühl via Peter Schmid
3241 * testsuite/22_locale/ctype_members_char.cc (char>): Add test for
3242 classic_table().
3243
3244 2002-01-16 Benjamin Kosnik <bkoz@redhat.com>
3245
3246 * libmath/signbitl.c: Copyright years as list, not range.
3247 * libmath/Makefile.am: Same.
3248 * libmath/Makefie.in: Regenerate.
3249 * libmath/signbit.c: Same.
3250 * libmath/nan.c: Same.
3251 * libmath/copysignf.c: Same.
3252 * libmath/signbitf.c: Same.
3253 * testsuite/22_locale/money_get_members_char.cc: Same.
3254 * testsuite/22_locale/money_get_members_wchar_t.cc: Same.
3255 * testsuite/22_locale/money_put_members_char.cc: Same.
3256 * testsuite/22_locale/money_put_members_wchar_t.cc: Same.
3257 * testsuite/22_locale/time_get_members_char.cc: Same.
3258 * testsuite/22_locale/time_get_members_wchar_t.cc: Same.
3259 * testsuite/22_locale/time_put_members_char.cc: Same.
3260 * testsuite/22_locale/time_put_members_wchar_t.cc: Same.
3261 * testsuite/21_strings/nonmember.cc: Same.
3262 * testsuite/21_strings/compare.cc: Same.
3263 * testsuite/27_io/stringstream.cc: Same.
3264 * testsuite/27_io/stringbuf.cc: Same.
3265 * testsuite/27_io/filebuf.cc: Same.
3266 * testsuite/27_io/ios_manip_basefield.cc: Same.
3267 * testsuite/27_io/ios_manip_fmtflags.cc: Same.
3268 * include/bits/cpp_type_traits.h: Same.
3269 * include/bits/generic_shadow.h: Same.
3270 * include/bits/gslice_array.h: Same.
3271 * include/bits/gslice.h: Same.
3272 * include/bits/indirect_array.h: Same.
3273 * include/bits/slice_array.h: Same.
3274 * include/bits/sstream.tcc: Same.
3275 * include/bits/streambuf_iterator.h: Same.
3276 * include/bits/valarray_array.tcc: Same.
3277 * include/bits/valarray_meta.h: Same.
3278 * include/bits/valarray_array.h: Same.
3279 * config/os/mingw32/bits/ctype_noninline.h: Same.
3280 * config/os/mingw32/bits/ctype_base.h: Same.
3281 * config/os/hpux/bits/ctype_noninline.h: Same.
3282 * config/os/hpux/bits/ctype_base.h: Same.
3283 * config/os/gnu-linux/bits/ctype_noninline.h: Same.
3284 * config/os/gnu-linux/bits/ctype_base.h: Same.
3285 * config/os/generic/bits/ctype_noninline.h: Same.
3286 * config/os/generic/bits/ctype_base.h: Same.
3287
3288 * libsupc++/tinfo.h: Tweaks.
3289
3290 2002-01-15 Benjamin Kosnik <bkoz@redhat.com>
3291
3292 * testsuite/22_locale/num_put_members_wchar_t.cc (test02): Same.
3293 * testsuite/22_locale/num_put_members_char.cc (test01): Tweak.
3294 * testsuite/22_locale/ctype_members_char.cc: Tweak.
3295
3296 2002-01-15 Benjamin Kosnik <bkoz@redhat.com>
3297
3298 * include/bits/locale_facets.tcc (num_put::do_put(bool): Fix.
3299 (num_put::do_put(void*)): Fix.
3300 * testsuite/22_locale/num_put_members_char.cc (test02): Add.
3301 * testsuite/22_locale/num_put_members_wchar_t.cc (test02): Add.
3302 * testsuite/22_locale/num_get_members_char.cc (test02): Add
3303 long double, void, bool types.
3304 * testsuite/22_locale/num_get_members_wchar_t.cc (test02): Add.
3305
3306 2002-01-15 Benjamin Kosnik <bkoz@redhat.com>
3307 Alexandre Oliva <aoliva@redhat.com>
3308
3309 * libmath/Makefile.am (LINK): Add --tag CC.
3310 * libmath/Makefile.in: Regenerate.
3311
3312 2002-01-15 John David Anglin <dave@hiauly1.hia.nrc.ca>
3313
3314 * config/os/hpux/bits/ctype_noninline.h: Use __SB_masks for address
3315 of character to attribute mapping table.
3316
3317 2002-01-15 David Billinghurst <David.Billinghurst@riotinto.com>
3318
3319 * testsuite/26_numerics/c99_classification_macros_c.cc
3320 Remove dg-error and dg-excess-errors comments.
3321
3322 2002-01-14 Benjamin Kosnik <bkoz@redhat.com>
3323
3324 * include/bits/locale_facets.tcc (time_put::put): Correct output
3325 iterator positions.
3326 * testsuite/22_locale/time_put_members_char.cc (test02): Add.
3327 * testsuite/22_locale/time_put_members_wchar_t.cc (test02): Add.
3328 * testsuite/22_locale/time_get_members_wchar_t.cc (test06): Add.
3329 * testsuite/22_locale/time_get_members_char.cc (test06): Add.
3330
3331 2002-01-14 Craig Rodrigues <rodrigc@gcc.gnu.org>
3332
3333 * docs/html/17_intro/porting-howto.xml: Update filebuf section.
3334
3335 2002-01-14 Paolo Carlini <pcarlini@unitus.it>
3336 Nathan Myers <ncm@cantrip.org>
3337
3338 * include/bits/basic_string.h
3339 (replace(__pos, __n1, __s, __n2)): Optimize by avoiding
3340 temporaries (i.e., call _M_replace_safe) when possible.
3341 (replace(__pos, __n, __str)): Call replace(__pos, __n1, __s, __n2).
3342 (replace(__pos, __n1, __s)): Call replace(__pos, __n1, __s , __n2).
3343 (replace(__i1, __i2, __str)): Call replace(__i1, __i2, __s, __n).
3344 (replace(__i1, __i2, __s)): Call replace(__i1, __i2, __s, __n).
3345 (replace(__i1, __i2, __s, __n)): Call replace(__pos1, __n1, __s, __n2).
3346 * include/bits/basic_string.tcc
3347 (replace(__pos1, __n1, __str, __pos2, __n2)): Call
3348 replace(__pos, __n1, __s, __n2).
3349 * testsuite/21_strings/replace.cc (test03): New testcases.
3350
3351 * include/bits/basic_string.h (insert(__pos, __s, __n)):
3352 Adjust comparison wrt overflow.
3353
3354 2002-01-12 Benjamin Kosnik <bkoz@redhat.com>
3355
3356 * include/Makefile.am (std_headers_rename): New variable.
3357 (install-data-local): Use it.
3358 * include/Makefile.in: Regenerate.
3359
3360 2002-01-12 Benjamin Kosnik <bkoz@redhat.com>
3361
3362 * include/bits/locale_facets.tcc (money_put::do_put(string):
3363 Correct output iterator value.
3364 * testsuite/22_locale/money_put_members_char.cc (test03): Add.
3365 * testsuite/22_locale/money_put_members_wchar_t.cc: Same.
3366
3367 2002-01-11 Phil Edwards <pme@gcc.gnu.org>
3368
3369 * include/Makefile.am, include/Makefile.in (stamp-std): Fix typo from
3370 previous commit.
3371
3372 2002-01-11 Phil Edwards <pme@gcc.gnu.org>
3373
3374 * include/Makefile.am (std_headers): Update list with new names.
3375 (stamp-std): Link to standardized name.
3376 * include/Makefile.in: Regenerate.
3377
3378 * include/std/algorithm, include/std/bitset, include/std/complex,
3379 include/std/deque, include/std/fstream, include/std/functional,
3380 include/std/iomanip, include/std/ios, include/std/iosfwd,
3381 include/std/iostream, include/std/istream, include/std/iterator,
3382 include/std/limits, include/std/list, include/std/locale,
3383 include/std/map, include/std/memory, include/std/numeric,
3384 include/std/ostream, include/std/queue, include/std/set,
3385 include/std/sstream, include/std/stack, include/std/stdexcept,
3386 include/std/streambuf, include/std/string, include/std/utility,
3387 include/std/valarray, include/std/vector: Rename to...
3388
3389 * include/std/std_algorithm.h, include/std/std_bitset.h,
3390 include/std/std_complex.h, include/std/std_deque.h,
3391 include/std/std_fstream.h, include/std/std_functional.h,
3392 include/std/std_iomanip.h, include/std/std_ios.h,
3393 include/std/std_iosfwd.h, include/std/std_iostream.h,
3394 include/std/std_istream.h, include/std/std_iterator.h,
3395 include/std/std_limits.h, include/std/std_list.h,
3396 include/std/std_locale.h, include/std/std_map.h,
3397 include/std/std_memory.h, include/std/std_numeric.h,
3398 include/std/std_ostream.h, include/std/std_queue.h,
3399 include/std/std_set.h, include/std/std_sstream.h,
3400 include/std/std_stack.h, include/std/std_stdexcept.h,
3401 include/std/std_streambuf.h, include/std/std_string.h,
3402 include/std/std_utility.h, include/std/std_valarray.h,
3403 include/std/std_vector.h: ...this.
3404
3405 2002-01-11 Loren Rittle <ljrittle@acm.org>
3406
3407 * include/Makefile.am (extra_target_headers): New list of all
3408 target files built with ad hoc naming rules.
3409 (stamp-*): Handle LN_S failure in manner portable across make
3410 implementations.
3411 (install-data-local): Install header files from human-maintained
3412 file lists and directory components instead of non-robust find.
3413 * include/Makefile.in: Rebuilt.
3414
3415 2002-01-11 Benjamin Kosnik <bkoz@redhat.com>
3416
3417 * include/bits/locale_facets.tcc (money_get::do_get(string)):
3418 Check for zero-length negative sign before adding it to output
3419 string.
3420 (money_get::do_get(long double)): Return beg.
3421 * testsuite/22_locale/money_get_members_char.cc (test02): Add
3422 iterator checks.
3423 * testsuite/22_locale/money_get_members_wchar_t.cc: Same.
3424
3425 2002-01-10 David Seymour <seymour_dj@yahoo.com>
3426
3427 libstdc++/5331
3428 * include/bits/locale_facets.h (num_get<>): Return advanced iterator
3429 for _M_extract_float and _M_extract_int
3430 * include/bits/locale_facets.tcc (num_get<>::_M_extract_float)
3431 (num_get<>::_M_extract_int): Likewise, all callers changed
3432 * testsuite/22_locale/num_get_members_char.cc: Testcase
3433
3434 2002-01-09 Paolo Carlini <pcarlini@unitus.it>
3435
3436 * libsupc++/exception (bad_exception): Add comment.
3437 * libsupc++/new (bad_alloc): Same.
3438 * libsupc++/typeinfo (bad_cast, bad_typeid): Same.
3439
3440 2002-01-09 Paolo Carlini <pcarlini@unitus.it>
3441
3442 libstdc++/3150: revert 2001-11-30 commit. DR266 only means
3443 that the destructors should be removed from the descriptions
3444 in the standard: writing them explicitly allows the vtable
3445 heuristic to work. For additional information see:
3446 http://gcc.gnu.org/ml/libstdc++/2002-01/msg00090.html
3447 http://gcc.gnu.org/ml/libstdc++/2002-01/msg00110.html
3448 http://gcc.gnu.org/ml/libstdc++/2002-01/msg00155.html
3449 * libsupc++/exception (bad_exception::~bad_exception()):
3450 Reintroduce declaration.
3451 * libsupc++/new (bad_alloc::~bad_alloc()): Same.
3452 * libsupc++/typeinfo (bad_cast::~bad_cast()): Same.
3453 (bad_typeid::~bad_typeid()): Same.
3454 * libsupc++/eh_exception.cc (bad_exception::~bad_exception()):
3455 Reintroduce definition.
3456 * libsupc++/new_handler.cc (bad_alloc::~bad_alloc()): Same.
3457 * libsupc++/tinfo.cc (bad_cast::~bad_cast()): Same.
3458 (bad_typeid::~bad_typeid()): Same.
3459
3460 2002-01-09 Benjamin Kosnik <bkoz@redhat.com>
3461
3462 * include/Makefile.am (c_base_srcdir): Remove duplicate '/'.
3463 * include/Makefile.in: Regenerate.
3464
3465 2002-01-09 Bo Thorsen <bo@suse.co.uk>
3466
3467 * config/cpu/x86-64/bits/cpu_limits.h (__glibcpp_long_bits): Add
3468 definition.
3469
3470 2002-01-08 Benjamin Kosnik <bkoz@redhat.com>
3471
3472 libstdc++/2913
3473 libstdc++/4879
3474 * include/bits/fstream.tcc (filebuf::_M_really_overflow): Test
3475 return value of _M_file->sync().
3476 (filebuf::showmanyc): Check for is_open.
3477 * include/std/fstream (filebuf::sync): Tweak.
3478 * testsuite/27_io/filebuf.cc: Tweak.
3479
3480 2002-01-08 John Fardo <jfardo@laurelnetworks.com>
3481 Brad Garcia <garsh@attbi.com>
3482
3483 * testsuite/27_io/filebuf_members.cc: Add test.
3484
3485 2002-01-07 Benjamin Kosnik <bkoz@redhat.com>
3486 Craig Rodrigues <rodrigc@mediaone.net>
3487
3488 libstdc++/5174
3489 * po/Makefile.am (mkinstalldirs): Add.
3490 * po/Makefile.in: Regenerate.
3491
3492 2002-01-07 David Billinghurst <David.Billinghurst@riotinto.com>
3493
3494 * testsuite_flags.in: Add -fmessage-length=0 to CXXFLAGS *
3495 testsuite/lib/prune.exp: Delete lines ":In function ..." from
3496 compiler output.
3497 * testsuite/23_containers/map_operators.cc: Remove
3498 dg-excess-errors comment.
3499 * testsuite/23_containers/set_operators.cc: Likewise.
3500
3501 2002-01-06 Paolo Carlini <pcarlini@unitus.it>
3502
3503 * include/bits/stl_function.h: Remove two lines of comments;
3504 adjust copyright years.
3505
3506 2002-01-04 Benjamin Kosnik <bkoz@redhat.com>
3507
3508 * include/Makefile.am (std_headers): Remove cXXX from list.
3509 (c_base_srcdir): No bits subdirectory.
3510 (c_base_builddir): Same.
3511 (c_base_headers): Adjust names, add ciso646.
3512 (bits_headers): Remove std_xxx.h headers.
3513 * include/Makefile.in: Regenerate.
3514
3515 * include/ext/iterator: Adjust includes.
3516 * include/ext/ropeimpl.h: Same.
3517 * include/ext/stl_hash_fun.h: Same.
3518 * include/ext/algorithm: Same.
3519
3520 * include/backward/bvector.h: Adjust includes.
3521 * include/backward/vector.h: Same.
3522 * include/backward/strstream: Same.
3523 * include/backward/streambuf.h: Same.
3524 * include/backward/stack.h: Same.
3525 * include/backward/set.h: Same.
3526 * include/backward/queue.h: Same.
3527 * include/backward/multiset.h: Same.
3528 * include/backward/multimap.h: Same.
3529 * include/backward/map.h: Same.
3530 * include/backward/list.h: Same.
3531 * include/backward/iterator.h: Same.
3532 * include/backward/iostream.h: Same.
3533 * include/backward/iomanip.h: Same.
3534 * include/backward/fstream.h: Same.
3535 * include/backward/deque.h: Same.
3536 * include/backward/complex.h: Same.
3537
3538 * include/bits/std_algorithm.h: Move to...
3539 * include/std/algorithm: ...here.
3540 * include/bits/std_iosfwd.h, std_locale.h, std_stack.h,
3541 std_bitset.h, std_ios.h, std_map.h, std_stdexcept.h,
3542 std_complex.h, std_iostream.h, std_memory.h, std_streambuf.h,
3543 std_deque.h, std_istream.h, std_numeric.h, std_string.h,
3544 std_fstream.h, std_ostream.h, std_utility.h, std_iterator.h,
3545 std_queue.h, std_valarray.h, std_functional.h, std_limits.h,
3546 std_set.h, std_vector.h, std_iomanip.h, std_list.h, std_sstream.h:
3547 Same.
3548
3549 * include/c_std/bits/std_cassert.h: Move to...
3550 * include/c_std/cassert: Here.
3551 * include/c_std/std_cctype.h, std_cerrno.h, std_cfloat.h,
3552 std_climits.h, std_clocale.h, std_cmath.h, std_csetjmp.h,
3553 std_csignal.h, std_cstdarg.h, std_cstddef.h, std_cstdio.h,
3554 std_cstdlib.h, std_cstring.h, std_ctime.h, std_cwchar.h,
3555 std_cwctype.h: Same.
3556 * include/c_std/cmath: Adjust cmath.tcc include.
3557 * include/c_std/cstdlib: Adjust includes.
3558 * include/c_std/cwchar: Same.
3559 * include/c_std/ctime: Same.
3560 * include/c_std/cstring: Same.
3561 * include/c_std/cstdio: Same.
3562 * include/c_std/bits: Remove directory.
3563
3564 * include/c/bits/std_cassert.h: Move to...
3565 * include/c/cassert: Here.
3566 * include/c/std_cctype.h, std_cerrno.h, std_cfloat.h,
3567 std_climits.h, std_clocale.h, std_cmath.h, std_csetjmp.h,
3568 std_csignal.h, std_cstdarg.h, std_cstddef.h, std_cstdio.h,
3569 std_cstdlib.h, std_cstring.h, std_ctime.h, std_cwchar.h,
3570 std_cwctype.h: Same.
3571 * include/c/bits: Remove directory.
3572
3573 * include/std/cwctype: Remove.
3574 * include/std/cwchar: Remove.
3575 * include/std/ctime: Remove.
3576 * include/std/cstring: Remove.
3577 * include/std/cstdlib: Remove.
3578 * include/std/cstdio: Remove.
3579 * include/std/cstddef: Remove.
3580 * include/std/cstdarg: Remove.
3581 * include/std/csignal: Remove.
3582 * include/std/csetjmp: Remove.
3583 * include/std/cmath: Remove.
3584 * include/std/clocale: Remove.
3585 * include/std/climits: Remove.
3586 * include/std/ciso646: Remove.
3587 * include/std/cfloat: Remove.
3588 * include/std/cerrno: Remove.
3589 * include/std/cctype: Remove.
3590 * include/std/cassert: Remove.
3591
3592 * include/bits/fpos.h: Adjust includes, removing <bits/std_xxx.h>
3593 files and subsituting <xxx>.
3594 * include/bits/valarray_array.h: Same.
3595 * include/bits/stl_uninitialized.h: Same.
3596 * include/bits/stl_alloc.h: Same.
3597 * include/bits/stl_algobase.h: Same.
3598 * include/bits/sstream.tcc: Same.
3599 * include/bits/pthread_allocimpl.h: Same.
3600 * include/bits/ostream.tcc: Same.
3601 * include/bits/localefwd.h: Same.
3602 * include/bits/locale_facets.tcc: Same.
3603 * include/bits/locale_facets.h: Same.
3604 * include/bits/istream.tcc: Same.
3605 * include/bits/char_traits.h: Same.
3606 * include/bits/boost_concept_check.h: Same.
3607 * include/bits/basic_file.h: Same.
3608 * include/std/bitset: Same.
3609 * include/std/complex: Same.
3610 * include/std/fstream: Same.
3611 * include/std/functional: Same.
3612 * include/std/ios: Same.
3613 * include/std/iostream: Same.
3614 * include/std/ostream: Same.
3615 * include/std/sstream: Same.
3616 * include/std/streambuf: Same.
3617 * include/std/string: Same.
3618 * include/std/iterator: Same.
3619 * include/std/valarray: Same.
3620
3621 * src/ios.cc: Adjust includes.
3622 * src/valarray-inst.cc: Same.
3623 * src/string-inst.cc: Same.
3624 * src/stl-inst.cc: Same.
3625 * src/stdexcept.cc: Same.
3626 * src/misc-inst.cc: Same.
3627 * src/localename.cc: Same.
3628 * src/locale-inst.cc: Same.
3629 * src/locale.cc: Same.
3630 * src/limits.cc: Same.
3631 * src/concept-inst.cc: Same.
3632 * src/complex_io.cc: Same.
3633 * src/codecvt.cc: Same.
3634 * src/bitset.cc: Same.
3635 * src/cmath.cc: Same.
3636
3637 2002-01-04 Paolo Carlini <pcarlini@unitus.it>
3638
3639 * include/bits/stl_tree.h (rb_tree): Move to...
3640 * include/ext/rb_tree: ...here, new file.
3641 * include/Makefile.am (ext_headers): Add new file.
3642 * include/Makefile.in: Regenerate.
3643 * include/bits/stl_tempbuf.h (get_temporary_buffer + helper,
3644 return_temporary_buffer, struct temporary_buffer): Move to...
3645 * include/ext/memory: ...here.
3646 * testsuite/ext/headers.cc: Include <ext/rb_tree>.
3647 * include/backward/tempbuf.h: Include <ext/memory>, tweak.
3648 * include/backward/tree.h: Include <ext/rb_tree), tweak.
3649
3650 2002-01-03 Paolo Carlini <pcarlini@unitus.it>
3651
3652 * include/bits/stl_numeric.h (power + helpers, iota): Move to...
3653 * include/ext/numeric: ...here, new file.
3654 * include/bits/stl_function.h (identity_element, unary_compose,
3655 binary_compose, compose1, compose2, identity, select1st,
3656 select2nd, project1st + helper, project2nd + helper,
3657 constant_void_fun + helper, constant_unary_fun + helper,
3658 costant_binary_fun + helper, constant0, constant1, constant2,
3659 subtractive_rng, mem_fun1, mem_fun1_ref): Move to...
3660 * include/ext/functional: ...here, new file.
3661 * include/Makefile.am (ext_headers): Add new files.
3662 * include/Makefile.in: Regenerate.
3663 * testsuite/ext/headers.cc: Include <ext/numeric> and
3664 <ext/functional>.
3665 * include/backward/algo.h: Include <ext/numeric>, tweak.
3666 * include/backward/function.h: Include <ext/functional>, tweak.
3667 * include/ext/ropeimpl.h: Include <ext/numeric>.
3668
3669 2002-01-03 Jeffrey A Law <law@redhat.com>
3670
3671 * config/os/hpux/bits/os_defines.h: Prefix __strtoll and
3672 __strtoull declarations with __extension__.
3673
3674 2002-01-03 David Billinghurst <David.Billinghurst@riotinto.com>
3675
3676 * testsuite/lib/prune.exp: Correct regular expression for
3677 -ffunction-sections
3678
3679 2002-01-02 Phil Edwards <pme@gcc.gnu.org>
3680
3681 * include/bits/stl_algo.h (upper_bound, equal_range, binary_search):
3682 Change concept checks, as with lower_bound and PR 2054.
3683 * testsuite/ext/concept_checks.cc: Expand test to include those.
3684
3685 2002-01-02 Phil Edwards <pme@gcc.gnu.org>
3686
3687 * include/bits/boost_concept_check.h: Import some changes from
3688 upsteam (Boost) version.
3689
3690 2002-01-02 Paolo Carlini <pcarlini@unitus.it>
3691
3692 * include/bits/stl_algobase.h (copy_n + helpers,
3693 lexicographical_compare_3way + helpers): Move to...
3694 * include/ext/algorithm: ...here.
3695 * include/bits/stl_uninitialized.h (uninitialized_copy_n +
3696 helpers): Move to...
3697 * include/ext/memory: ...here, new file.
3698 * include/Makefile.am (ext_headers): Add new file.
3699 * include/Makefile.in: Regenerate.
3700 * testsuite/ext/headers.cc: Include <ext/memory>.
3701 * include/backward/algobase.h: Include <ext/memory> and
3702 <ext/algorithm>, tweak.
3703 * include/ext/ropeimpl.h: Include <ext/memory>, tweak.
3704 * include/ext/stl_rope.h: Include <ext/memory>, tweak.
3705
3706 2002-01-01 Roger Sayle <roger@eyesopen.com>
3707
3708 * libmath/stubs.c (sinf,cosf): Implement stubs to enable the
3709 equivalent ___builtin__ versions.
3710
3711 * include/c_shadow/bits/std_cmath.h: All __builtin math functions
3712 are available in libstdc++ as the necessary stub implementations
3713 are provided by libmath/stubs.c.
3714
3715 2002-01-01 Jason Thorpe <thorpej@wasabisystems.com>
3716
3717 * configure.in: Add support for NetBSD cross compiles.
3718 * configure: Regenerate.