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