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