1 2003-09-25 Brad Spencer <spencer@infointeractive.com>
5 * aclocal.m4: Regenerate.
6 * config.h.in: Regenerate.
7 * configure: Regenerate.
8 * crossconfig.m4: Add in wchar_t bits for solaris crosses.
9 * config/io/basic_file_stdio.cc: Guard unistd.h.
10 * include/c_compatibility/wchar.h: Guard extra wchar_t functionality.
11 * include/c_std/std_cwchar.h: Same.
12 * include/c_std/std_cwctype.h: Same.
14 2003-09-25 Benjamin Kosnik <bkoz@redhat.com>
16 * config/locale/gnu/ctype_members.cc (ctype<wchar_t>::do_is): Fix.
17 * config/locale/generic/ctype_members.cc: Same.
18 * testsuite/22_locale/ctype/is/char/1.cc: Initialize mask.
19 * testsuite/22_locale/ctype/is/wchar_t/1.cc: Same.
21 * config/os/generic/ctype_inline.h: Update.
23 2003-09-25 Ulrich Weigand <uweigand@de.ibm.com>
25 * src/Makefile.am (version_dep): New variable.
26 (libstdc___la_DEPENDENCIES): Use it to add dependency on
27 libstdc++-symbol.ver only when using symbol versioning.
28 * src/Makefile.in: Regenerate.
30 2003-09-23 Benjamin Kosnik <bkoz@redhat.com>
32 * include/bits/locale_facets.tcc: Tweak to avoid warnings.
33 * testsuite/testsuite_hooks.h: Same.
34 * testsuite/*/*.cc: Same.
36 2003-09-22 Petur Runolfsson <peturr02@ru.is>
38 * include/bits/istream.tcc (basic_istream::read,
39 basic_istream::readsome, basic_istream::putback,
40 basic_istream::unget, operator>>(basic_istream, CharT)):
41 Avoid redundant setstate(failbit) calls when sentry::operator bool()
44 2003-09-22 Carlo Wood <carlo@alinoe.com>
47 * include/bits/demangle.h (qualifier(int, cv_qualifier_nt,
48 char const*, int, int)): Remove unused identifier
49 cv_qualifier for overloaded constructor.
51 2003-09-18 Benjamin Kosnik <bkoz@redhat.com>
54 * acinclude.m4 (GLIBCXX_EXPORT_FLAGS): Add -Wcast-qual to
55 WARN_FLAGS, remove -Wno-format.
56 * aclocal.m4: Regenerate.
57 * configure: Regenerate.
59 2003-09-18 Petur Runolfsson <peturr02@ru.is>
61 * config/io/basic_file_stdio.cc (sys_getc, sys_ungetc): Delete.
62 * config/io/basic_file_stdio.h: Same.
63 * include/std/std_fstream.h (__ctype_type): Delete.
64 * include/std/std_streambuf.h (__ctype_type, __state_type): Delete.
66 2003-09-17 Benjamin Kosnik <bkoz@redhat.com>
69 * configure.host (abi_baseline_pair): Error out on solaris2
70 configurations without a minor version number.
72 2003-09-13 Phil Edwards <phil@codesourcery.com>
74 * docs/doxygen/run_doxygen: Clear GENERATE_TAGFILE entirely
76 * docs/doxygen/user.cfg.in: And here.
78 2003-09-10 Daniel Jacobowitz <drow@mvista.com>
79 Andreas Jaeger <aj@suse.de>
82 * acinclude.m4 (GLIBCXX_CONFIGURE_TESTSUITE): Don't build
83 abi_check if cross compiling.
84 * aclocal.m4: Regenerated.
85 * configure: Regenerated.
87 2003-09-10 Jeffrey D. Oldham <oldham@codesourcery.com>
89 * libsupc++/vec.cc (__cxa_vec_new2): If the allocator returns
90 NULL, return NULL. This reflects a C++ ABI change 2003 Sep 05.
91 (__cxa_vec_new3): Likewise.
93 2003-09-10 Petur Runolfsson <peturr02@ru.is>
95 * include/bits/fstream.tcc (basic_filebuf::seekoff):
96 Use codecvt::length to handle variable-width stateless encodings
98 * testsuite/27_io/basic_filebuf/seekoff/wchar_t/1.cc: New test.
99 * testsuite/27_io/basic_filebuf/seekoff/wchar_t/2.cc: New test.
101 2003-09-10 Alan Modra <amodra@bigpond.net.au>
103 * config/io/basic_file_stdio.cc (_M_open_mode): Assign __p_mode
106 2003-09-09 Alan Modra <amodra@bigpond.net.au>
108 * configure: Regenerate.
110 2003-09-09 David Edelsohn <edelsohn@gnu.org>
112 * src/ios.cc (ios_base::Init::Init): Remove unnecessary
113 qualifier from _S_synced_with_stdio.
115 2003-09-09 Bernardo Innocenti <bernie@develer.com>
117 * include/c_std/std_cstdlib.h: Avoid using missing C library symbols.
119 2003-09-04 Petur Runolfsson <peturr02@ru.is>
122 * include/bits/fstream.tcc
123 (basic_filebuf::_M_destroy_internal_buffer): Destroy _M_ext_buf.
124 (basic_filebuf::basic_filebuf): Initialize _M_ext_buf,
125 _M_ext_buf_size, _M_ext_next and _M_ext_end.
126 (basic_filebuf::underflow): Handle variable-width stateless
127 encodings (codecvt::encoding() == 0), including UTF-8.
128 * include/std/std_fstream.h (basic_filebuf):
129 Declare _M_ext_buf, _M_ext_buf_size, _M_ext_next, _M_ext_end.
130 * testsuite/27_io/basic_filebuf/underflow/wchar_t/1.cc: New test.
131 * testsuite/27_io/basic_filebuf/underflow/wchar_t/2.cc: New test.
132 * testsuite/27_io/basic_filebuf/underflow/wchar_t/3.cc: New test.
133 * testsuite/27_io/basic_filebuf/underflow/wchar_t/4.cc: New test.
134 * testsuite/27_io/basic_filebuf/underflow/wchar_t/5.cc: New test.
135 * testsuite/27_io/objects/wchar_t/12.cc: New test.
136 * testsuite/27_io/objects/wchar_t/13.cc: New test.
138 2003-09-04 Jonathan Wakely <redi@gcc.gnu.org>
140 * docs/html/faq/index.html: Note that a namespace alias can't be
141 used when specialising templates in extension namespace.
142 * docs/html/faq/index.txt: Regenerate.
144 2003-09-03 Petur Runolfsson <peturr02@ru.is>
147 * include/ext/stdio_sync_filebuf.h
148 (stdio_sync_filebuf::_M_unget_buf): Declare it.
149 (stdio_sync_filebuf::stdio_sync_filebuf): Initialize _M_unget_buf.
150 (stdio_sync_filebuf::uflow): Store the returned character in
152 (stdio_sync_filebuf::pbackfail): If argument is eof(), pass
153 _M_unget_buf to syncungetc(). Set _M_unget_buf to eof().
154 (stdio_sync_filebuf<char>::xsgetn): Store last read character in
155 _M_unget_buf, if any, else eof().
156 (stdio_sync_filebuf<wchar_t>::xsgetn: Store last read character in
157 _M_unget_buf, if any, else eof().
158 * testsuite/27_io/objects/char/12048.cc: Rename to...
159 * testsuite/27_io/objects/char/12048-1.cc: ...this.
160 * testsuite/27_io/objects/char/12048-2.cc: New test.
161 * testsuite/27_io/objects/char/12048-3.cc: New test.
162 * testsuite/27_io/objects/char/12048-4.cc: New test.
163 * testsuite/27_io/objects/char/12048-5.cc: New test. XFAIL.
164 * testsuite/27_io/objects/wchar_t/12048-1.cc: New test.
165 * testsuite/27_io/objects/wchar_t/12048-2.cc: New test.
166 * testsuite/27_io/objects/wchar_t/12048-3.cc: New test.
167 * testsuite/27_io/objects/wchar_t/12048-4.cc: New test.
168 * testsuite/27_io/objects/wchar_t/12048-5.cc: New test. XFAIL.
169 * testsuite/ext/stdio_sync_filebuf_char.cc
170 (test02, test03, test04, test05): New tests.
171 * testsuite/ext/stdio_sync_filebuf_wchar_t.cc
172 (test02, test03, test04, test05): New tests.
174 2003-09-03 Petur Runolfsson <peturr02@ru.is>
176 * docs/html/27_io/howto.html: setbuf(0, 0) has no effect on
177 stringbuf or strstreambuf. Fix typos.
179 2003-09-02 Phil Edwards <phil@codesourcery.com>
181 * acinclude.m4 (GLIBCXX_ENABLE_HOSTED): #define _GLIBCXX_HOSTED
183 * config.h.in: Add _GLIBCXX_HOSTED.
184 * libsupc++/eh_term_handler.cc: Test it here; initialize
185 __terminate_handler to std::abort if freestanding.
186 * aclocal.m4, configure: Regenerated.
187 * docs/html/configopts.html: Document --disable-hosted-libstdcxx.
189 2003-08-29 Nathan Myers <ncm@cantrip.org>
192 * include/bits/locale_facets.tcc (__pad): delete dead code.
194 2003-08-28 Alan Modra <amodra@bigpond.net.au>
196 * configure.ac: Test $with_cross_host against $build_alias, not $build.
197 * configure: Regenerate.
199 2003-08-27 Petur Runolfsson <peturr02@ru.is>
201 * testsuite/27_io/objects/wchar_t/10.cc: Move wcout stuff...
202 * testsuite/27_io/objects/wchar_t/11.cc: ...here. New file.
204 2003-08-27 Phil Edwards <pme@gcc.gnu.org>
206 * Makefile.am: Remove trailing whitespace. Remove needless
207 "foo = @foo@" assignments. Replace direct uses of @foo@ with $(foo).
208 * include/Makefile.am: Likewise.
209 * libmath/Makefile.am: Likewise.
210 * libsupc++/Makefile.am: Likewise.
211 * po/Makefile.am: Likewise.
212 * src/Makefile.am: Likewise.
213 * testsuite/Makefile.am: Likewise.
215 * Makefile.in, include/Makefile.in, libmath/Makefile.in,
216 libsupc++/Makefile.in, po/Makefile.in, src/Makefile.in,
217 testsuite/Makefile.in: Regenerated.
219 2003-08-27 Phil Edwards <pme@gcc.gnu.org>
221 * acinclude.m4 (GLIBCXX_EXPORT_INCLUDES): Change quoting of
223 * aclocal.m4, configure: Regenerate.
225 2003-08-27 Daniel Jacobowitz <drow@mvista.com>
227 * acinclude.m4: Include no-executables.m4.
228 * configure.ac: Uncomment GCC_NO_EXECUTABLES.
229 * aclocal.m4: Regenerated.
230 * configure: Regenerated.
232 2003-08-27 Daniel Jacobowitz <drow@mvista.com>
234 * acinclude.m4: Don't call AC_ISC_POSIX.
235 * aclocal.m4: Regenerated.
236 * configure: Regenerated.
238 2003-08-27 Phil Edwards <pme@gcc.gnu.org>
240 * acinclude.m4 (GLIBCXX_CONDITIONAL): New macro. Wrap
241 AM_CONDITIONAL. Replace all calls to AM_CONDITIONAL with this one.
242 (GLIBCXX_ENABLE_HOSTED): New macro, sets new variable is_hosted,
243 used elsewhere in this file.
244 (GLIBCXX_EVALUATE_CONDITIONALS): New macro...
245 * configure.ac: ...called here to expand all conditionals.
246 * Makefile.am: Conditionalize SUBDIRS on GLIBCXX_HOSTED.
247 * include/Makefile.am: Remove redundant gxx_include_dir assignment.
248 (install-freestanding-headers): New target, a subset of
249 install-headers. Conditionalize install-data-local on GLIBCXX_HOSTED.
251 * aclocal.m4, configure, Makefile.in, include/Makefile.in,
252 libmath/Makefile.in, libsupc++/Makefile.in, po/Makefile.in,
253 src/Makefile.in, testsuite/Makefile.in: Regenerated.
255 2003-08-26 Phil Edwards <pme@gcc.gnu.org>
257 * docs/doxygen/run_doxygen: Shell fixes. Remove hardcoded local
258 pathnames from generated tag file.
260 2003-08-26 Phil Edwards <pme@gcc.gnu.org>
262 * Makefile.am: Add comment.
263 * acinclude.m4 (GLIBCXX_CONFIGURE): Set new glibcxx_SUBDIRS and
265 * configure.ac: Use them both here, instead of hardcoded lists.
267 * fragment.am: Add STAMP varaible.
268 * include/Makefile.am: Cosmetic whitespace cleanup. Use $(LN_S)
270 (stamp-*): Move file creation rule outside of 'if' branches to
271 ensure the stamp-* files are actually updated. Use $(STAMP).
272 * src/Makefile.am: Remove now-nonexistant variable.
273 * libsupc++/Makefile.am: Likewise. Snap the assignment chain
275 * po/Makefile.am: Include same fragment as all the others.
277 * aclocal.m4, configure, Makefile.in, include/Makefile.in,
278 libsupc++/Makefile.in, po/Makefile.in, src/Makefile.in: Regenerated.
280 2003-08-26 Loren J. Rittle <ljrittle@acm.org>
282 * testsuite/data/cin_unget-1.txt: New.
283 * testsuite/27_io/objects/char/12048.cc: New.
285 2003-08-25 Zack Weinberg <zack@codesourcery.com>
287 * config/os/hpux/os_defines.h: Unconditionally define
288 _GLIBCXX_GTHREAD_USE_WEAK to 0.
290 2003-08-19 Geoffrey Keating <geoffk@apple.com>
292 * crossconfig.m4 (*-darwin*): Add a large and boring stanza for
293 crosses to Darwin targets.
294 * configure: Regenerate.
296 2003-08-19 Petur Runolfsson <peturr02@ru.is>
298 * include/ext/ropeimpl.h: #include <ostream> instead of <iostream>
300 2003-08-17 Phil Edwards <pme@gcc.gnu.org>
302 * configure.ac: GCC_NO_EXECUTABLES was supposed to be commented
303 in the patch from 3 minutes ago. Boy, is my face red.
304 * configure: At least I remembered to regenerate this.
306 2003-08-17 Phil Edwards <pme@gcc.gnu.org>
308 * acinclude.m4 (GLIBCXX_EXPORT_INCLUDES): Remove LIBMATH_INCLUDES
309 and LIBSUPCXX_INCLUDES. Re-purpose TOPLEVEL_INCLUDES to refer to
310 things from the top level.
311 * configure.ac (GLIBCXX_IS_NATIVE): Determine earlier and re-order.
312 Comment out the conditionals for CANADIAN and GLIBCXX_BUILD_LIBMATH
313 (currently unused). Strip the fake-VPATH shell fragment from
314 automake-generated rules, if present.
315 * linkage.m4: Add comment.
317 * fragment.am: New file, containing factored-out common settings.
318 (AM_CPPFLAGS): Absorb the deprecated INCLUDES variable contents.
319 * Makefile.am: Include fragment.am. Remove common variables.
320 * include/Makefile.am: Likewise.
321 * libmath/Makefile.am: Likewise.
322 * libsupc++/Makefile.am: Likewise.
323 * po/Makefile.am: Likewise. Print rules during check.
324 * src/Makefile.am: Likewise.
325 * testsuite/Makefile.am: Likewise.
327 * aclocal.m4, configure, Makefile.in, include/Makefile.in,
328 libmath/Makefile.in, libsupc++/Makefile.in, po/Makefile.in,
329 src/Makefile.in, testsuite/Makefile.in: Regenerate.
331 2003-08-11 John Levon <levon@movementarian.org>
333 * docs/html/ext/howto/guide.html (GLIBCXX_FORCE_NEW): Update
334 remaining places for the name change from GLIBCPP_FORCE_NEW
337 2003-08-11 Benjamin Kosnik <bkoz@redhat.com>
339 * include/bits/basic_ios.h: Remove *_iter typedefs, change num*
341 * include/bits/basic_ios.tcc: Same.
342 * include/bits/istream.tcc: Same.
343 * include/bits/locale_facets.h: Same.
344 * include/bits/ostream.tcc: Same.
345 * include/std/std_istream.h: Same.
346 * include/std/std_ostream.h: Same.
347 * testsuite/26_numerics/complex_inserters_extractors.cc: Fix.
349 * include/ext/rope: Remove build warning.
351 2003-08-11 Andreas Jaeger <aj@suse.de>
353 * include/Makefile.am (stamp-c_base): Add dependency on stamp-bits
355 * include/Makefile.in: Regenerated.
357 2003-08-11 Phil Edwards <pme@gcc.gnu.org>
359 * acinclude.m4 (GLIBCXX_CONFIGURE): Unprecious CC and CFLAGS
360 when calling AC_PROG_CC.
361 * aclocal.m4, configure: Regenerate.
363 2003-08-11 Phil Edwards <pme@gcc.gnu.org>
365 * acinclude.m4: Properly quote variable which will be expanded
366 inside makefiles. Use CXX instead of CC to extract compiler info.
367 * configure.ac (AC_INIT): Use the new 4-arg form to finally get the
368 correct form in PACKAGE.
369 * aclocal.m4, configure: Regenerate.
371 2003-08-08 Benjamin Kosnik <bkoz@redhat.com>
373 * testsuite/Makefile.am (check-abi): Change libstdc++-v3 to libstdc++.
374 (check-abi-verbose): Same.
375 * testsuite/testsuite_performance.h (report_performance): Same.
377 2003-08-08 Loren J. Rittle <ljrittle@acm.org>
379 * testsuite/testsuite_performance.h (__FreeBSD__): Add fake mallinfo.
381 2003-08-07 Doug Gregor <dgregor@apple.com>
383 * include/bits/char_traits.h (char_traits::not_eof): Match operand
386 2003-08-07 Bernardo Innocenti <bernie@develer.com>
389 * libstdc++-v3/config/cpu/m68k/atomicity.h (__exchange_and_add):
390 Replace variants with new BSET-based version.
392 2003-08-07 Carlo Wood <carlo@alinoe.com>
394 * include/bits/demangle.h: Do not use cctype functions that depend
397 2003-08-05 Phil Edwards <pme@gcc.gnu.org>
399 * configure.in: Rename...
400 * configure.ac: ...to this.
401 * docs/html/17_intro/porting.texi: Update name.
403 * docs/html/17_intro/porting.html: Regenerate.
404 * config.h.in, Makefile.in, include/Makefile.in, libmath/Makefile.in,
405 libsupc++/Makefile.in, po/Makefile.in, src/Makefile.in,
406 testsuite/Makefile.in: Regenerate (picks up new dependancy).
408 2003-08-05 Phil Edwards <pme@gcc.gnu.org>
410 * acinclude.m4 (GLIBCXX_ENABLE_SJLJ_EXCEPTIONS): Put down the crack
411 pipe, open the window to let out the fumes, redo the option-handling
412 logic to properly execute the detection test.
413 * aclocal.m4, configure: Regenerate.
415 2003-08-04 Phil Edwards <pme@gcc.gnu.org>
417 Convert to new autotools.
418 * acconfig.h: Update with correct names.
419 * configure.host (ATOMICITYH): Rename to atomicity_include_dir.
420 (qnx6.[12]*): 'q' comes before 's', not after 'w'.
421 * configure.in: Update. Split hardcoded cross-configury settings
423 * crossconfig.m4: ...here. New file. Contents untouched.
424 * acinclude.m4: Reorganize and rewrite as needed. Split large
426 * linkage.m4: ...here. New file. Math and stdlib linkage tests.
428 * scripts/testsuite_flags.in: Update.
430 * Makefile.am: Remove unneeded AUTOMAKE_OPTIONS settings and other
431 variables (already generated by automake).
432 * include/Makefile.am: Ditto.
433 * libmath/Makefile.am: Ditto.
434 * libsupc++/Makefile.am: Ditto.
435 * po/Makefile.am: Ditto.
436 * src/Makefile.am: Ditto.
438 * aclocal.m4: Regenerate using new versions.
439 * config.h.in: Ditto.
441 * Makefile.in: Ditto.
442 * include/Makefile.in: Ditto.
443 * libmath/Makefile.in: Ditto.
444 * libsupc++/Makefile.in: Ditto.
445 * po/Makefile.in: Ditto.
446 * src/Makefile.in: Ditto.
447 * testsuite/Makefile.in: Ditto.
449 2003-08-04 Phil Edwards <pme@gcc.gnu.org>
451 * po/libstdc++.pot: Re-extract/regenerate.
453 2003-08-04 Phil Edwards <pme@gcc.gnu.org>
455 * testsuite/Makefile.am (DEJATOOL,EXPECT,RUNTEST,RUNTESTFLAGS):
456 Remove unneeded variable assignments. Leave them for automake.
457 * testsuite/lib/libstdc++-v3.exp: Rename...
458 * testsuite/lib/libstdc++.exp: ...to this. Adjust function names
460 * testsuite/libstdc++-v3.dg/dg.exp: Rename...
461 * testsuite/libstdc++-dg/normal.exp: ...to this. Adjust function
464 2003-08-04 Phil Edwards <pme@gcc.gnu.org>
466 * docs/doxygen/guide.html: run_doxygen uses bash.
467 * docs/doxygen/mainpage.html: We'll be shipping tag files.
468 * docs/doxygen/run_doxygen: Tweaks and improvements.
469 * docs/doxygen/user.cfg.in: Set GENERATE_TAGFILE.
470 * docs/html/install.html: Update autoconf/automake requirements.
471 * docs/html/test.html: Add section describing DejaGNU support.
472 * docs/html/17_intro/confdeps.dot: New file, generates...
473 * docs/html/17_intro/confdeps.png: ...this new file.
474 * docs/html/Makefile: Generated here.
475 * docs/html/17_intro/configury.html: New file.
477 2003-07-31 Phil Edwards <pme@gcc.gnu.org>
479 * testsuite/lib/libstdc++-v3-dg.exp: Rename...
480 * testsuite/lib/libstdc++-v3.exp: ...to this.
481 * testsuite/libstdc++-v3.dg/dg.exp: No special case needed now.
483 2003-07-31 Doug Gregor <dgregor@apple.com>
485 Add user specialization tests.
486 * testsuite/23_containers/deque/1.cc: New.
487 * testsuite/23_containers/list/1.cc: New.
488 * testsuite/23_containers/map/1.cc: New.
489 * testsuite/23_containers/multimap/1.cc: New.
490 * testsuite/23_containers/multiset/1.cc: New.
491 * testsuite/23_containers/set/1.cc: New.
492 * testsuite/23_containers/vector/1.cc: New.
494 2003-07-31 Benjamin Kosnik <bkoz@redhat.com>
496 Reshuffle 23_containers testsuite.
497 * 23_containers/adaptors.cc, bitset_ctor.cc,bitset_members.cc,
498 bitset_shift.cc, deque_ctor.cc, deque_operators.cc,
499 list_capacity.cc, list_ctor.cc, list_modifiers.cc, list_operators.cc,
500 map_insert.cc, map_operators.cc, map_operators_neg.cc, multiset.cc,
501 set_operators_neg.cc, vector_bool.cc, vector_capacity.cc,
502 vector_ctor.cc, vector_element_access.cc, vector_modifiers.cc,
503 vector_resize.cc: Split into...
504 * 23_containers/bitset/cons/1.cc: New.
505 * 23_containers/bitset/cons/6282.cc: New.
506 * 23_containers/bitset/count/6124.cc: New.
507 * 23_containers/bitset/operations/1.cc: New.
508 * 23_containers/bitset/operations/2.cc: New.
509 * 23_containers/bitset/test/1.cc: New.
510 * 23_containers/bitset/to_ulong/1.cc: New.
511 * 23_containers/deque/cons/1.cc: New.
512 * 23_containers/deque/cons/2.cc: New.
513 * 23_containers/deque/operators/1.cc: New.
514 * 23_containers/list/capacity/1.cc: New.
515 * 23_containers/list/cons/1.cc: New.
516 * 23_containers/list/cons/2.cc: New.
517 * 23_containers/list/cons/3.cc: New.
518 * 23_containers/list/cons/4.cc: New.
519 * 23_containers/list/cons/5.cc: New.
520 * 23_containers/list/cons/6.cc: New.
521 * 23_containers/list/cons/7.cc: New.
522 * 23_containers/list/cons/8.cc: New.
523 * 23_containers/list/cons/9.cc: New.
524 * 23_containers/list/modifiers/1.cc: New.
525 * 23_containers/list/modifiers/2.cc: New.
526 * 23_containers/list/modifiers/3.cc: New.
527 * 23_containers/list/operators/1.cc: New.
528 * 23_containers/list/operators/2.cc: New.
529 * 23_containers/list/operators/3.cc: New.
530 * 23_containers/list/operators/4.cc: New.
531 * 23_containers/map/insert/1.cc: New.
532 * 23_containers/map/operators/1.cc: New.
533 * 23_containers/map/operators/1_neg.cc: New.
534 * 23_containers/multiset/insert/1.cc: New.
535 * 23_containers/priority_queue/members/7161.cc: New.
536 * 23_containers/queue/members/7157.cc: New.
537 * 23_containers/set/operators/1_neg.cc: New.
538 * 23_containers/stack/members/7158.cc: New.
539 * 23_containers/vector/bool/1.cc: New.
540 * 23_containers/vector/bool/6886.cc: New.
541 * 23_containers/vector/capacity/1.cc: New.
542 * 23_containers/vector/capacity/2.cc: New.
543 * 23_containers/vector/capacity/8230.cc: New.
544 * 23_containers/vector/cons/1.cc: New.
545 * 23_containers/vector/cons/2.cc: New.
546 * 23_containers/vector/cons/3.cc: New.
547 * 23_containers/vector/cons/4.cc: New.
548 * 23_containers/vector/cons/6513.cc: New.
549 * 23_containers/vector/element_access/1.cc: New.
550 * 23_containers/vector/modifiers/1.cc: New.
551 * 23_containers/vector/modifiers/2.cc: New.
552 * 23_containers/vector/resize/1.cc: New.
554 2003-07-31 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
556 * testsuite/thread/pthread1.cc: Add alpha*-*-osf* to dg-do run,
558 * testsuite/thread/pthread2.cc: Likewise.
559 * testsuite/thread/pthread3.cc: Likewise.
560 * testsuite/thread/pthread4.cc: Likewise.
561 * testsuite/thread/pthread5.cc: Likewise.
562 * testsuite/thread/pthread6.cc: Likewise.
563 * testsuite/thread/pthread7-rope.cc: Likewise.
565 2003-07-30 Phil Edwards <pme@gcc.gnu.org>
567 * include/bits/c++config: Partial reversion (comment placement) of
570 2003-07-30 Benjamin Kosnik <bkoz@redhat.com>
572 * include/bits/c++config (_GLIBCXX_FULLY_COMPLIANT_HEADERS): Remove.
573 (_GLIBCXX_NO_TEMPLATE_EXPORT): To _GLIBCXX_EXPORT_TEMPLATE.
574 (_GLIBCXX_AT_AT): Remove.
575 (__USE_MALLOC): Remove.
576 * include/std/std_fstream.h: Modify.
577 * include/bits/basic_ios.h: Same.
578 * include/bits/valarray_array.h: Same.
579 * include/c_std/std_cmath.h: Same.
580 * include/c_std/cmath.tcc: Same.
581 * include/std/std_vector.h: Same.
582 * include/std/std_string.h: Same.
583 * include/std/std_stack.h: Same.
584 * include/std/std_queue.h: Same.
585 * include/std/std_list.h: Same.
586 * include/std/std_deque.h: Same.
587 * include/std/std_streambuf.h: Same.
588 * include/std/std_sstream.h: Same.
589 * include/std/std_ostream.h: Same.
590 * include/std/std_istream.h: Same.
591 * include/bits/valarray_array.tcc: Same, format.
593 * include/c/std_cctype.h: Fix include guards.
594 * include/c/std_cerrno.h: Same.
595 * include/c/std_cfloat.h: Same.
596 * include/c/std_climits.h: Same.
597 * include/c/std_clocale.h: Same.
598 * include/c/std_cmath.h: Same.
599 * include/c/std_csetjmp.h: Same.
600 * include/c/std_csignal.h: Same.
601 * include/c/std_cstdarg.h: Same.
602 * include/c/std_cstddef.h: Same.
603 * include/c/std_cstdio.h: Same.
604 * include/c/std_cstdlib.h: Same.
605 * include/c/std_cstring.h: Same.
606 * include/c/std_ctime.h: Same.
607 * include/c/std_cwchar.h: Same.
608 * include/c/std_cwctype.h: Same.
609 * include/c_std/cmath.tcc: Same.
610 * include/c_std/std_cmath.h: Same.
612 2003-07-30 Gawain Bolton <gp.bolton@computer.org>
615 * include/bits/stl_tree.h: Replace C-style casts with C++-style
616 casts. Changes to avoid casting away constness. Eliminate
617 _Rb_tree_base_iterator class. Change _Rb_tree_iterator to use
618 initialization lists. Move out implementation of __black_count()
620 * src/stl_tree.cc: ...here and rename _Rb_tree_black_count().
621 Rename_Rb_tree_base_iterator::_M_increment() to
622 _Rb_tree_increment and _Rb_tree_base_iterator::_M_decrement() to
624 * config/linker-map.gnu: Add and change symbols here.
626 2003-07-30 Jonathan Wakely <redi@gcc.gnu.org>
628 * docs/html/22_locale/howto.html: Use locale::classic() instead
631 2003-07-28 Benjamin Kosnik <bkoz@redhat.com>
633 * testsuite/testsuite_hooks.h: Remove list include.
634 (func_callback): Define as unique type, not std::list.
635 Change DEBUG_ASSERT to _GLIBCXX_ASSERT.
636 * testsuite/libstdc++-v3.dg/dg.exp: Same.
637 * testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3-init): Same.
638 * testsuite/23_containers/bitset_ctor.cc:
639 * testsuite/17_intro/header_ciso646.cc: Remove DEBUG_ASSERT.
640 * testsuite/18_support/numeric_limits.cc: Same.
641 * testsuite/21_strings/basic_string/append/char/1.cc: Same.
642 * testsuite/21_strings/basic_string/append/wchar_t/1.cc: Same.
643 * testsuite/21_strings/basic_string/compare/char/1.cc: Same.
644 * testsuite/21_strings/basic_string/compare/wchar_t/1.cc: Same.
645 * testsuite/21_strings/basic_string/element_access/char/1.cc: Same.
646 * testsuite/21_strings/basic_string/element_access/char/2.cc: Same.
647 * testsuite/21_strings/basic_string/element_access/char/3.cc: Same.
648 * testsuite/21_strings/basic_string/element_access/wchar_t/1.cc: Same.
649 * testsuite/21_strings/basic_string/element_access/wchar_t/2.cc: Same.
650 * testsuite/21_strings/basic_string/element_access/wchar_t/3.cc: Same.
651 * testsuite/21_strings/basic_string/find/char/1.cc: Same.
652 * testsuite/21_strings/basic_string/find/char/2.cc: Same.
653 * testsuite/21_strings/basic_string/find/char/3.cc: Same.
654 * testsuite/21_strings/basic_string/find/wchar_t/1.cc: Same.
655 * testsuite/21_strings/basic_string/find/wchar_t/2.cc: Same.
656 * testsuite/21_strings/basic_string/find/wchar_t/3.cc: Same.
657 * testsuite/21_strings/basic_string/insert/char/1.cc: Same.
658 * testsuite/21_strings/basic_string/insert/char/2.cc: Same.
659 * testsuite/21_strings/basic_string/insert/wchar_t/1.cc: Same.
660 * testsuite/21_strings/basic_string/insert/wchar_t/2.cc: Same.
661 * testsuite/21_strings/basic_string/inserters_extractors/char/1.cc:
662 * testsuite/21_strings/basic_string/inserters_extractors/char/4.cc:
663 * testsuite/21_strings/basic_string/inserters_extractors/char/5.cc:
664 * testsuite/21_strings/basic_string/inserters_extractors/char/6.cc:
665 * testsuite/21_strings/basic_string/inserters_extractors/char/7.cc:
666 * testsuite/21_strings/basic_string/inserters_extractors/wchar_t/1.cc:
667 * testsuite/21_strings/basic_string/inserters_extractors/wchar_t/4.cc:
668 * testsuite/21_strings/basic_string/inserters_extractors/wchar_t/5.cc:
669 * testsuite/21_strings/basic_string/inserters_extractors/wchar_t/6.cc:
670 * testsuite/21_strings/basic_string/inserters_extractors/wchar_t/7.cc:
671 * testsuite/21_strings/basic_string/operators/char/1.cc: Same.
672 * testsuite/21_strings/basic_string/operators/char/2.cc: Same.
673 * testsuite/21_strings/basic_string/operators/wchar_t/1.cc: Same.
674 * testsuite/21_strings/basic_string/operators/wchar_t/2.cc: Same.
675 * testsuite/21_strings/basic_string/replace/char/1.cc: Same.
676 * testsuite/21_strings/basic_string/replace/wchar_t/1.cc: Same.
677 * testsuite/21_strings/basic_string/rfind/char/1.cc: Same.
678 * testsuite/21_strings/basic_string/rfind/char/2.cc: Same.
679 * testsuite/21_strings/basic_string/rfind/char/3.cc: Same.
680 * testsuite/21_strings/basic_string/rfind/wchar_t/1.cc: Same.
681 * testsuite/21_strings/basic_string/rfind/wchar_t/2.cc: Same.
682 * testsuite/21_strings/basic_string/rfind/wchar_t/3.cc: Same.
683 * testsuite/21_strings/basic_string/substr/char/1.cc: Same.
684 * testsuite/21_strings/basic_string/substr/wchar_t/1.cc: Same.
685 * testsuite/23_containers/bitset_ctor.cc: Same.
686 * testsuite/23_containers/bitset_shift.cc: Same.
687 * testsuite/23_containers/vector_ctor.cc: Same.
688 * testsuite/23_containers/vector_element_access.cc: Same.
689 * testsuite/24_iterators/istreambuf_iterator.cc: Same.
690 * testsuite/24_iterators/iterator.cc: Same.
691 * testsuite/24_iterators/ostreambuf_iterator.cc: Same.
692 * testsuite/25_algorithms/lower_bound.cc: Same.
693 * testsuite/26_numerics/complex_inserters_extractors.cc: Same.
694 * testsuite/27_io/basic_istream/extractors_arithmetic/char/01.cc: Same.
695 * testsuite/27_io/basic_istream/extractors_arithmetic/char/02.cc: Same.
696 * testsuite/27_io/basic_istream/extractors_arithmetic/char/03.cc: Same.
697 * testsuite/27_io/basic_istream/extractors_arithmetic/char/06.cc: Same.
698 * testsuite/27_io/basic_istream/extractors_arithmetic/char/07.cc: Same.
699 * testsuite/27_io/basic_istream/extractors_arithmetic/char/08.cc: Same.
700 * testsuite/27_io/basic_istream/extractors_arithmetic/char/09.cc: Same.
701 * testsuite/27_io/basic_istream/extractors_arithmetic/char/10.cc: Same.
702 * testsuite/27_io/basic_ostream/inserters_arithmetic/char/1.cc: Same.
703 * testsuite/27_io/basic_ostream/inserters_arithmetic/wchar_t/1.cc:
706 2003-07-28 Phil Edwards <pme@gcc.gnu.org>
708 * docs/doxygen/user.cfg.in, docs/html/abi.txt, docs/html/debug.html,
709 docs/html/test.html, docs/html/17_intro/headers_cc.txt,
710 docs/html/17_intro/howto.html, docs/html/ext/howto.html: Change
711 GLIBCPP to GLIBCXX (and explain as needed).
713 2003-07-28 Phil Edwards <pme@gcc.gnu.org>
717 2003-07-28 Phil Edwards <pme@gcc.gnu.org>
719 * testsuite/22_locale/messages/members/char/1.cc,
720 testsuite/22_locale/messages/members/char/2.cc,
721 testsuite/22_locale/messages/members/char/3.cc,
722 testsuite/22_locale/messages_byname/1.cc: Update comment regarding
723 the origin of LOCALEDIR.
724 * testsuite/lib/libstdc++-v3.exp: New file.
726 2003-07-25 Benjamin Kosnik <bkoz@redhat.com>
728 * include/bits/char_traits.h: Update copyright, tweak.
729 * testsuite/ext/pod_char_traits.cc: Explicitly qualify namespace
732 2003-07-24 Matt Austern <austern@apple.com>
734 * /include/bits/char_traits.h (class char_traits): Put all the
735 real work into the new class template __gnu_cxx::char_traits.
736 Gave generic definitions for member functions. Types are taken
737 from the new class template __gnu_cxx::_Char_types.
738 * testsuite/21_strings/char_traits/requirements/short/1.cc: New
739 file. Test of std::char_traits<short>, which serves as a test of
740 the char_traits primary template.
742 2003-07-24 Benjamin Kosnik <bkoz@redhat.com>
744 * testsuite/*: Change __gnu_cxx_test to __gnu_test.
746 2003-07-24 Nathan Myers <ncm-nospam@cantrip.org>
748 * testsuite/23_containers/map_operators.cc: Conform to
749 container requirement as value must be Assignable.
751 2003-07-23 Alexandre Oliva <aoliva@redhat.com>
753 * acinclude.m4 (GLIBCXX_ENABLE_PCH): Rework test such that it
754 tests not only generation of pch files, but also their use.
755 * aclocal.m4, configure: Rebuilt.
757 2003-07-23 Steve Ellcey <sje@cup.hp.com>
759 * config/cpu/hppa/atomicity.h: Change
760 _GLIBCXX_INST_GLIBCXX_ATOMICITY_LOCK to _GLIBCXX_INST_ATOMICITY_LOCK
761 to match misc-inst.cc
763 2003-07-23 Steve Ellcey <sje@cup.hp.com>
765 * include/c_std/cmath.tcc: Use _GLIBCXX_ prefix on file guard.
766 * include/c_std/std_cctype.h: Ditto.
767 * include/c_std/std_cerrno.h: Ditto.
768 * include/c_std/std_cfloat.h: Ditto.
769 * include/c_std/std_climits.h: Ditto.
770 * include/c_std/std_clocale.h: Ditto.
771 * include/c_std/std_cmath.h: Ditto.
772 * include/c_std/std_csetjmp.h: Ditto.
773 * include/c_std/std_csignal.h: Ditto.
774 * include/c_std/std_cstdarg.h: Ditto.
775 * include/c_std/std_cstddef.h: Ditto.
776 * include/c_std/std_cstdio.h: Ditto.
777 * include/c_std/std_cstdlib.h: Ditto.
778 * include/c_std/std_cstring.h: Ditto.
779 * include/c_std/std_ctime.h: Ditto.
780 * include/c_std/std_cwchar.h: Ditto.
781 * include/c_std/std_cwctype.h: Ditto.
782 * include/std/std_algorithm.h: Ditto.
783 * include/std/std_bitset.h: Ditto.
784 * include/std/std_complex.h: Ditto.
785 * include/std/std_deque.h: Ditto.
786 * include/std/std_fstream.h: Ditto.
787 * include/std/std_functional.h: Ditto.
788 * include/std/std_iomanip.h: Ditto.
789 * include/std/std_ios.h: Ditto.
790 * include/std/std_iosfwd.h: Ditto.
791 * include/std/std_iostream.h: Ditto.
792 * include/std/std_istream.h: Ditto.
793 * include/std/std_iterator.h: Ditto.
794 * include/std/std_limits.h: Ditto.
795 * include/std/std_list.h: Ditto.
796 * include/std/std_locale.h: Ditto.
797 * include/std/std_map.h: Ditto.
798 * include/std/std_memory.h: Ditto.
799 * include/std/std_numeric.h: Ditto.
800 * include/std/std_ostream.h: Ditto.
801 * include/std/std_queue.h: Ditto.
802 * include/std/std_set.h: Ditto.
803 * include/std/std_sstream.h: Ditto.
804 * include/std/std_stack.h: Ditto.
805 * include/std/std_stdexcept.h: Ditto.
806 * include/std/std_streambuf.h: Ditto.
807 * include/std/std_string.h: Ditto.
808 * include/std/std_utility.h: Ditto.
809 * include/std/std_valarray.h: Ditto.
810 * include/std/std_vector.h: Ditto.
812 2003-07-22 Doug Gregor <dgregor@apple.com>
814 * include/bits/basic_string.h (basic_string::insert): Deprecate
817 2003-07-21 Benjamin Kosnik <bkoz@redhat.com>
819 * scripts/testsuite_flags.in (--build-includes): Remove extraneous
821 * testsuite/27_io/basic_istream/sentry/char/3983-fstream.cc
822 (test03): Include typeinfo for bad_cast.
823 * testsuite/27_io/basic_ostream/sentry/char/3983-sstream.cc: Same.
824 * testsuite/27_io/basic_ostream/sentry/char/3983-fstream.cc: Same.
825 * testsuite/27_io/basic_istream/sentry/char/3983-sstream.cc: Same.
827 2003-07-21 Doug Gregor <dgregor@apple.com>
829 * include/bits/boost_concept_check.h:
830 (_EqualityComparableConcept::__constraints): Remove != from the
831 list of constraints; it is not listed in Table 28 of the C++98
834 2003-07-18 Andreas Jaeger <aj@suse.de>
836 * config/abi/sparc-linux-gnu/baseline_symbols.txt: New file.
837 * config/abi/mips-linux-gnu/baseline_symbols.txt: New file.
838 * config/abi/hppa-linux-gnu/baseline_symbols.txt: New file.
839 * config/abi/x86_64-linux-gnu/baseline_symbols.txt: Regenerated.
841 2003-07-17 Benjamin Kosnik <bkoz@redhat.com>
843 * config/linker-map.gnu: Add __moneypunct_cache, __timepunct_cache.
844 * config/locale/generic/messages_members.h: Tweaks.
845 * config/locale/generic/monetary_members.cc
846 (moneypunct::_M_initialize_moneypunct): Use cache.
847 (moneypunct::~moneypunct): Delete cache.
848 * config/locale/generic/time_members.cc:
849 (__timepunct::_M_initialize_timepunct): Use cache.
850 * config/locale/generic/time_members.h:
851 (__timepunct::~__timepunct): Delete cache.
852 (__timepunct::__timepunct): Set cache.
853 * config/locale/gnu/messages_members.h: Tweaks.
854 * config/locale/gnu/monetary_members.cc:
855 (moneypunct::_M_initialize_moneypunct): Use cache.
856 (moneypunct::~moneypunct): Delete cache.
857 * config/locale/gnu/time_members.cc:
858 (__timepunct::_M_initialize_timepunct): Use cache.
859 * config/locale/gnu/time_members.h:
860 (__timepunct::~__timepunct): Delete cache.
861 (__timepunct::__timepunct): Set cache.
862 * include/bits/locale_facets.h (__timepunct_cache): New.
863 (__moneypunct_cache): New.
864 * include/bits/locale_facets.tcc: Tweak.
865 * src/locale.cc (__timepunct::_S_timezones): Adjust for cache.
866 * src/locale-inst.cc: Instantiate caches.
867 * src/globals.cc: Add "C" caches.
868 * src/localename.cc: Use external "C" caches.
870 2003-07-17 Phil Edwards <pme@gcc.gnu.org>
872 * docs/doxygen/guide.html: Fix typo.
874 2003-07-16 Benjamin Kosnik <bkoz@redhat.com>
876 * include/ext/pod_char_traits.h: Add state template argument.
878 2003-07-16 Benjamin Kosnik <bkoz@redhat.com>
880 * include/bits/locale_facets.h (__num_base::_S_atoms_in): Add -+xX.
881 (num_get::_M_convert_int): To _M_insert_int.
882 (num_get::_M_convert_float): To _M_insert_float.
883 * include/bits/locale_facets.tcc (num_get::_M_extract_float):
884 Use caches for ctype, num_get.
885 (num_get::_M_extract_int): Same.
886 (num_get::get(bool)): Same.
887 (__verify_grouping): Use size_t.
888 * src/locale-inst.cc: Update.
889 * src/locale.cc: Adjust _S_atoms_in.
891 2003-07-16 Phil Edwards <pme@gcc.gnu.org>
893 * docs/doxygen/mainpage.html: Move building/writing instructions...
894 * docs/doxygen/guide.html: ...to here. New file.
896 2003-07-16 Jonathan Wakely <redi@gcc.gnu.org>
898 * docs/html/ext/howto.html: Update URL for SGI STL docs.
899 * docs/html/faq/index.html: Same.
900 * docs/html/faq/index.txt: Regenerate.
902 2003-07-16 Paolo Carlini <pcarlini@unitus.it>
905 * include/bits/locale_facets.tcc (money_get::do_get):
906 Strip only _leading_ zeros.
907 * testsuite/22_locale/money_get/get/char/11528.cc: Add.
908 * testsuite/22_locale/money_get/get/wchar_t/11528.cc: Add.
910 2003-07-16 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
912 * include/ext/hash_map (class hash_multimap): Remove extra
913 semicolons from __glibcxx_class_requires3 entries.
914 * include/ext/hash_set (class hash_set): Ditto.
915 (class hash_multiset): Ditto.
917 2003-07-15 Petur Runolfsson <peturr02@ru.is>
919 * include/bits/char_traits.h (char_traits<wchar_t>::move):
920 Change last parameter from int_type to size_t.
922 2003-07-15 Jerry Quinn <jlquinn@optonline.net>
924 * include/bits/stl_algo.h (includes, set_union, set_intersection,
925 set_difference, set_symmetric_difference, max_element, min_element,
926 next_permutation, prev_permutation, find_first_of, find_end):
928 * include/bits/stl_algobase.h (copy,copy_backward): Clarify overlap
929 restrictions in docs.
930 * include/bits/stl_heap.h (push_heap, pop_heap, make_heap, sort_heap):
932 * docs/doxygen/doxygroups.cc (setoperations): New group.
934 2003-07-15 Jerry Quinn <jlquinn@optonline.net>
936 * include/bits/basic_string.h: Document public functions.
937 * docs/doxygen/TODO: Update c21 todo.
939 2003-07-15 Jerry Quinn <jlquinn@optonline.net>
941 * include/bits/stl_list.h: Document more functions.
942 * docs/doxygen/TODO: Update c23 todo.
944 2003-07-14 Paolo Carlini <pcarlini@unitus.it>
946 * config/locale/gnu/c_locale.h (__convert_from_v): One more
949 2003-07-14 Paolo Carlini <pcarlini@unitus.it>
951 * include/bits/stl_tempbuf.h: Qualify free with std::.
952 * src/locale.cc: Include <cstdlib>, qualify getenv.
954 2003-07-14 Paolo Carlini <pcarlini@unitus.it>
956 * config/locale/gnu/c_locale.h (__convert_from_v): Include
957 <cstdio>. Qualify names.
958 * config/locale/generic/c_locale.h (__convert_from_v): Ditto.
960 2003-07-14 Paolo Carlini <pcarlini@unitus.it>
961 Nathan C. Myers <ncm-nospam@cantrip.org>
964 * include/std/std_fstream.h (xsputn): Declare only.
965 * include/bits/fstream.tcc (xsputn): Define, optimize for the
966 always_noconv() case: when __n is sufficiently large flush
967 the buffer and issue a direct write, if possible combining the
968 two with writev in __basic_file<>::xsputn_2.
969 * config/io/basic_file_stdio.h (__basic_file<>::xsputn_2):
971 * config/io/basic_file_stdio.cc (__basic_file<>::xsputn_2):
973 * acinclude.m4 (GLIBCXX_CHECK_WRITE): New macro, checking for
974 the availability of writev in <sys/uio.h>.
975 * configure.in: Call here.
976 * acconfig.h: Add undef for the corresponding symbol.
977 * aclocal.m4: Regenerate.
978 * configure: Regenerate.
979 * config.h.in: Regenerate.
980 * testsuite/27_io/basic_filebuf/setbuf/char/3.cc: Tweak.
982 * include/std/std_fstream.h (sync): Constify a variable.
984 2003-07-14 Benjamin Kosnik <bkoz@redhat.com>
986 * testsuite/27_io/ios_base/cons/assign_neg.cc: Fix line numbers.
987 * testsuite/27_io/ios_base/cons/copy_neg.cc: Same.
989 2003-07-14 Gabriel Dos Reis <gcc@integrable-solutions.net>
991 * config/locale/gnu/c_locale.h (__convert_from_v): Include
992 <cstring> and <cstdlib>. Qualify names.
994 2003-07-13 Mark Mitchell <mark@codesourcery.com>
996 * config/locale/generic/c_locale.h: Include <cstdlib> and
998 * include/bits/boost_concept_check.h: Add this-> to unqualified
1000 * include/bits/deque.tcc: Likewise.
1001 * include/bits/locale_facets.h : Likewise.
1002 * include/bits/ostream.tcc: Likewise.
1003 * include/bits/stl_algo.h: Likewise.
1004 * include/bits/stl_bvector.h: Likewise.
1005 * include/bits/stl_deque.h: Likewise.
1006 * include/bits/stl_list.h: Likewise.
1007 * include/bits/stl_tree.h: Likewise.
1008 * include/bits/stl_vector.h: Likewise.
1009 * include/bits/vector.tcc: Likewise.
1010 * include/ext/rope: Likewise.
1011 * include/ext/ropeimpl.h: Likewise.
1012 * include/ext/stdio_filebuf.h: Likewise.
1014 2003-07-11 Jerry Quinn <jlquinn@optonline.net>
1016 * include/bits/basic_ios.h (copyfmt): Document.
1017 * include/bits/ios_base.h (event, event_callback, register_callback,
1018 xalloc, iword, pword): Document.
1019 (imbue, ~ios_base): Update docs on callbacks.
1021 2003-07-11 Phil Edwards <pme@gcc.gnu.org>
1023 * acinclude.m4 (GLIBCC_ENABLE_SYMVERS): Tweak comments. Add
1024 warning messages if the environment cannot support symbol versioning.
1025 (port_specific_symbol_file): It's plural, add an 's' on the end.
1026 * configure.host: Likewise.
1027 * src/Makefile.am: Likewise.
1028 * config/linker-map.gnu: Remove one semicolon, heh.
1029 * scripts/extract_symvers: Don't assume useful 'export' syntax.
1030 Set LANG as well as LC_ALL for possibly-broken sort(1)s.
1031 * aclocal.m4, configure, src/Makefile.in: Regenerated.
1033 2003-07-09 Benjamin Kosnik <bkoz@redhat.com>
1035 * include/bits/locale_facets.tcc: Use function object for
1036 __use_cache instead of template function. Partially specialize for
1038 * include/bits/locale_classes.h: Update friend declaration for
1040 (_M_install_cache): No throw exception specs.
1041 * src/locale.cc: Remove __use_cache specializations.
1042 * include/ext/pod_char_traits.h (length): Tweak.
1043 * include/bits/locale_facets.h (__numpunct_cache): Remove
1045 * testsuite/testsuite_hooks.h (pod_unsigned_int): Remove.
1047 * testsuite/22_locale/numpunct/members/char/cache_1.cc: New.
1048 * testsuite/22_locale/numpunct/members/char/cache_2.cc: New.
1049 * testsuite/22_locale/numpunct/members/wchar_t/cache_1.cc: New.
1050 * testsuite/22_locale/numpunct/members/wchar_t/cache_2.cc: New.
1051 * testsuite/22_locale/numpunct/members/pod/1.cc: New.
1052 * testsuite/22_locale/numpunct/members/pod/2.cc: New.
1054 2003-07-09 Jerry Quinn <jlquinn@optonline.net>
1056 * src/ios.cc (_M_grow_words): Fix spelling.
1058 2003-07-09 Gawain Bolton <gp.bolton@computer.org>
1060 * include/bits/stl_tree.h: Move larger member functions in
1061 _Rb_tree_base_iterator and _Rb_tree_node to...
1062 * src/stl_tree.cc: Here.
1063 * src/Makefile.in: Add stl_tree.cc.
1064 * src/Makefile.in: Regenerated.
1065 * config/linker-map.gnu: Add symbols here.
1067 2003-07-08 Benjamin Kosnik <bkoz@redhat.com>
1069 * testsuite/ext/pod_char_traits.cc: New.
1070 * include/ext/pod_char_traits.h: New.
1071 * include/Makefile.am (ext_headers): Add pod_char_traits.h.
1072 * include/Makefile.in: Regenerate.
1073 * docs/html/21_strings/howto.html: Update.
1075 2003-07-08 Gawain Bolton <gp.bolton@computer.org>
1077 * testsuite/performance/list_create_fill_sort.cc: New.
1079 2003-07-08 Benjamin Kosnik <bkoz@redhat.com>
1081 * config/locale/generic/numeric_members.cc: Correct type info.
1082 * config/locale/gnu/numeric_members.cc: Same.
1083 * include/bits/locale_facets.h: Same.
1085 * include/bits/char_traits.h: Correct spacing.
1087 * src/locale.cc: Wrap to 80 col.
1089 2003-07-07 Paolo Carlini <pcarlini@unitus.it>
1091 * include/std/std_complex.h: Partially revert last
1092 changes: cmath functions must not be qualified.
1094 2003-07-06 Phil Edwards <pme@gcc.gnu.org>
1096 * acinclude.m4 (GLIBCXX_ENABLE_SYMVERS): Do not test for binutils
1097 2.11 with globbing backport fix.
1098 * aclocal.m4, configure: Regenerated.
1100 2003-07-06 Paolo Carlini <pcarlini@unitus.it>
1102 * include/std/std_fstream.h (xsputn): Don't call _M_destroy_pback:
1103 if output is at all possible (!_M_reading), cannot be active.
1105 * include/std/std_fstream.h: Tweak comments to doxygen style.
1107 2003-07-06 Paolo Carlini <pcarlini@unitus.it>
1109 * include/bits/locale_classes.h: Fully qualify standard
1110 functions with std::, thus avoiding Koenig lookup.
1111 * include/bits/locale_facets.tcc: Likewise.
1112 * src/locale.cc: Likewise.
1113 * src/localename.cc: Likewise.
1115 2003-07-06 Phil Edwards <pme@gcc.gnu.org>
1117 * include/bits/allocator_traits.h: Fix doxygen markup.
1118 * include/ext/mt_allocator.h: Likewise.
1120 2003-07-06 Phil Edwards <pme@gcc.gnu.org>
1122 * testsuite/testsuite_hooks.h: Guard against a missing unlink().
1124 2003-07-05 Phil Edwards <pme@gcc.gnu.org>
1126 * acinclude.m4 (GLIBCXX_ENABLE_SYMVERS): Bump minimal version
1127 requirement. Add port_specific_symbol_file variable.
1128 * configure.host: Add docs for port_specific_symbol_file.
1129 Clean up try_cpu block for x86.
1130 * config/linker-map.gnu: No more "last symbol can't have a
1131 semicolon" kaka. Add hook for port-specific symbols.
1132 * src/Makefile.am: Remove trailing whitespace.
1133 (libstdc++-symbol.ver): Detect the presence of port-specific
1134 symbols, and add them accordingly.
1136 * docs/html/17_intro/porting.texi: Bring up to date.
1138 * src/Makefile.in, aclocal.m4, configure,
1139 docs/html/17_intro/porting.html: Regenerated.
1141 2003-07-05 Phil Edwards <pme@gcc.gnu.org>
1143 * scripts/create_testsuite_files: New file.
1144 * testsuite/Makefile.am (all-local, check-performance): Use it.
1145 * testsuite/lib/libstdc++-v3-dg.exp (v3-computer-tests): Remove.
1146 * testsuite/Makefile.in: Regenerated.
1148 * testsuite/performance/filebuf_sputc.cc: Remove the temporary
1150 * testsuite/performance/fstream_seek_write.cc: Likewise.
1151 * testsuite/performance/ofstream_insert_float.cc: Likewise.
1152 * testsuite/performance/ofstream_insert_int.cc: Likewise.
1153 * testsuite/abi_check.cc (main): Nicer spacing in usage output.
1155 2003-07-05 Gawain Bolton <gp.bolton@computer.org>
1157 * include/bits/stl_list.h: Performance and memory usage
1158 improvements. In particular, the behaviour of the constructor and
1159 destructor as the list header node is no longer dynamically
1160 allocated/de-allocated.
1161 * include/bits/list.tcc: Likewise.
1163 2003-07-05 Paolo Carlini <pcarlini@unitus.it>
1165 * include/std/std_complex.h: Fully qualify standard
1166 functions with std::, thus avoiding Koenig lookup.
1167 * include/std/std_memory.h: Likewise.
1168 * include/std/std_valarray.h: Likewise.
1170 2003-07-05 Gawain Bolton <gp.bolton@computer.org>
1172 * include/bits/stl_tree.h: _Rb_tree_rebalance(): Add local
1173 variable for grandparent and use const
1175 2003-07-05 David Billinghurst <David.Billinghurst@riotinto.com>
1177 * testsuite/27_io/basic_filebuf/close/char/4879.cc: xfail on cygwin
1178 * testsuite/27_io/basic_filebuf/close/char/9964.cc: Ditto
1179 * testsuite/27_io/basic_filebuf/open/char/9507.cc: Ditto
1180 * testsuite/27_io/basic_filebuf/showmanyc/char/9533-1.cc: Ditto
1181 * testsuite/27_io/basic_filebuf/underflow/char/10097.cc: Ditto
1182 * testsuite/27_io/objects/char/7.cc: Ditto
1183 * testsuite/27_io/objects/char/9661-1.cc: Ditto
1185 2003-07-05 Paolo Carlini <pcarlini@unitus.it>
1187 * include/std/std_bitset.h: Fully qualify standard
1188 functions with std::, thus avoiding Koenig lookup.
1190 * include/std/std_fstream.h: Change comment to doxygen style.
1192 2003-07-05 Phil Edwards <pme@gcc.gnu.org>
1194 * include/std/std_limits.h: More CPP->CXX changes.
1195 * scripts/check_survey.in: Likewise.
1197 2003-07-04 Benjamin Kosnik <bkoz@redhat.com>
1199 Move from CPP to CXX.
1200 * include/bits/c++config: Move to GLIBCXX from GLIBCPP.
1201 * testsuite/Makefile.am: Same.
1202 * testsuite/Makefile.in: Regenerate.
1203 * po/Makefile.am: Same.
1204 * po/Makefile.in: Regenerate.
1205 * libsupc++/Makefile.am: Same.
1206 * libsupc++/Makefile.in: Regenerate.
1207 * libmath/Makefile.am: Same.
1208 * libmath/Makefile.in: Regenerate.
1209 * include/Makefile.am: Same.
1210 * include/Makefile.in: Regenerate.
1211 * src/Makefile.am: Same.
1212 * src/Makefile.in: Regenerate.
1214 * configure.host: Same.
1215 * configure.in: Same.
1216 * configure: Regenerate.
1217 * acinclude.m4: Same.
1219 * src: Change all files in this directory.
1221 * include: Same, standardize include guards.
1225 2003-07-04 Zack Weinberg <zack@codesourcery.com>
1227 * testsuite/22_locale/collate/compare/wchar_t/2.cc
1228 * testsuite/22_locale/collate/compare/wchar_t/wrapped_env.cc
1229 * testsuite/22_locale/collate/compare/wchar_t/wrapped_locale.cc
1230 * testsuite/22_locale/collate/hash/wchar_t/2.cc
1231 * testsuite/22_locale/collate/hash/wchar_t/wrapped_env.cc
1232 * testsuite/22_locale/collate/hash/wchar_t/wrapped_locale.cc
1233 * testsuite/22_locale/collate/transform/wchar_t/2.cc
1234 * testsuite/22_locale/collate/transform/wchar_t/wrapped_env.cc
1235 * testsuite/22_locale/collate/transform/wchar_t/wrapped_locale.cc:
1236 XFAIL on all targets.
1238 2003-07-04 Benjamin Kosnik <bkoz@redhat.com>
1240 * acinclude.m4 (GLIBCPP_ENABLE_PCH): Fix missed variable.
1241 * aclocal.m4: Regenerate.
1242 * configure: Regenerate.
1244 2003-07-04 Jerry Quinn <jlquinn@optonline.net>
1246 * include/bits/locale_facets.tcc (__int_to_char): Move common case
1249 2003-07-04 Benjamin Kosnik <bkoz@redhat.com>
1250 Petur Runolfsson <peturr02@ru.is>
1252 * config/io/basic_file_stdio.cc: Revert.
1254 2003-07-04 Paolo Carlini <pcarlini@unitus.it>
1256 * include/bits/deque.tcc: Fully qualify standard
1257 functions with std::, thus avoiding Koenig lookup.
1258 * include/bits/gslice_array.h: Likewise.
1259 * include/bits/indirect_array.h: Likewise.
1260 * include/bits/list.tcc: Likewise.
1261 * include/bits/mask_array.h: Likewise.
1262 * include/bits/slice_array.h: Likewise.
1264 2003-07-04 Gawain Bolton <gbolton@free.fr>
1266 * include/bits/stl_tree.h: Performance and memory usage
1269 2003-07-04 H.J. Lu <hongjiu.lu@intel.com>
1271 * Makefile.am: Replace PWD with PWD_COMMAND.
1272 * Makefile.in: Regenerated.
1273 * docs/html/Makefile: Likewise.
1275 2003-07-04 Paolo Carlini <pcarlini@unitus.it>
1277 * include/bits/valarray_array.h: Fully qualify standard
1278 functions with std::, thus avoiding Koenig lookup.
1279 * include/bits/vector.tcc: Likewise.
1281 2003-07-04 Benjamin Kosnik <bkoz@redhat.com>
1283 * include/Makefile.am: Update target_ to host_.
1284 * include/Makefile.in: Regenerate.
1285 * src/Makefile.am: Same.
1286 * src/Makefile.in: Regenerate.
1288 * config/os/gnu-linux/os_defines.h: Remove glibc-2.0 support.
1290 2003-07-04 Benjamin Kosnik <bkoz@redhat.com>
1292 * acinclude.m4 (GLIBCPP_ENABLE_DEBUG_FLAGS): To
1293 --enable-libstdcxx-debug-flags.
1294 (GLIBCPP_ENABLE_DEBUG_FLAGS): To --enable-libstdcxx-debug.
1295 (GLIBCPP_ENABLE_PCH): To --enable-libstdcxx-pch.
1296 * aclocal.m4: Regenerate.
1298 * docs/html/configopts.html: Update.
1300 2003-07-04 Paolo Carlini <pcarlini@unitus.it>
1302 Revert the fix for libstdc++/11378.
1304 2003-07-04 Paolo Carlini <pcarlini@unitus.it>
1307 * include/std/std_fstream.h (xsputn): In the unbuffered case,
1308 provided always_noconv(), issue directly _M_file.xsputn.
1309 * testsuite/performance/filebuf_unbuf_sputn.cc: New.
1311 2003-07-04 Paolo Carlini <pcarlini@unitus.it>
1313 * include/bits/stl_list.h: Fully qualify standard
1314 functions with std::, thus avoiding Koenig lookup.
1315 * include/bits/stl_queue.h: Likewise.
1316 * include/bits/stl_raw_storage_iter.h: Likewise.
1317 * include/bits/stl_tempbuf.h: Likewise.
1318 * include/bits/stl_tree.h: Likewise.
1319 * include/bits/stl_uninitialized.h: Likewise.
1320 * include/bits/stl_vector.h: Likewise.
1321 * include/ext/rope: Change includes order.
1323 2003-07-04 Benjamin Kosnik <bkoz@redhat.com>
1325 * configure.host (fpos_include_dir): Fix.
1327 2003-07-04 Paolo Carlini <pcarlini@unitus.it>
1329 * include/bits/stl_heap.h: Fully qualify standard
1330 functions with std::, thus avoiding Koenig lookup.
1331 * include/bits/stl_iterator_base_funcs.h: Likewise.
1333 * include/bits/stl_algo.h: Qualify __iterator_category too.
1334 * include/bits/stl_algobase.h: Likewise.
1335 * include/bits/stl_bvector.h: Likewise.
1337 * include/bits/stl_algo.h: Don't qualify the pair type.
1339 2003-07-03 Benjamin Kosnik <bkoz@redhat.com>
1341 * include/Makefile.am (target_headers): Add fpos.h
1342 (bits_headers): Remove.
1343 * include/Makefile.in: Regenerate.
1344 * configure.in: Add FPOS_INC_SRCDIR, substitute it.
1345 * configure: Regenerate.
1346 * configure.host: Add fpos_include_dir.
1347 * config/os/gnu-linux/fpos.h: New.
1348 * config/os/generic/fpos.h: Add.
1349 * include/bits/fpos.h: Remove.
1351 * config/io/c_io_stdio.h: Remove fpos_t typedef.
1353 * include/bits/fstream.tcc: Tweaks.
1354 * include/std/std_fstream.h: Same.
1356 * testsuite/27_io/fpos/1.cc (test01): Uncomment. Move to...
1357 * testsuite/27_io/fpos/mbstate_t/1.cc: ...here.
1358 * testsuite/27_io/fpos/mbstate_t/2.cc: Same.
1359 * testsuite/27_io/fpos/mbstate_t/3.cc: Same.
1360 * testsuite/27_io/fpos/1.cc: New.
1362 2003-07-03 Benjamin Kosnik <bkoz@redhat.com>
1363 Petur Runolfsson <peturr02@ru.is>
1365 * include/std/std_streambuf.h: Remove _M_pos.
1366 * config/io/basic_file_stdio.h: Use seekpos instead of seekoff.
1367 * config/io/basic_file_stdio.cc: Same, use fseek instead of lseek,
1368 use fread/fwrite instead of read/write.
1369 * testsuite/27_io/basic_filebuf/showmanyc/char/9533-2.cc: Fix.
1370 * testsuite/27_io/basic_filebuf/sputn/char/9339.cc: Close filebufs
1371 before reading again.
1372 * testsuite/27_io/objects/char/6.cc: Tweak.
1374 2003-07-03 David Edelsohn <edelsohn@gnu.org>
1376 * testsuite/22_locale/num_put/put/char/7.cc: Guard with
1377 _GLIBCPP_USE_WCHAR_T.
1379 2003-07-02 Paolo Carlini <pcarlini@unitus.it>
1381 * include/bits/basic_string.tcc (_M_replace_aux): Constify
1384 2003-07-02 Paolo Carlini <pcarlini@unitus.it>
1386 * include/bits/stl_bvector.h: Fully qualify standard
1387 functions with std::, thus avoiding Koenig lookup.
1388 * include/bits/stl_construct.h: Likewise.
1389 * include/bits/stl_deque.h: Likewise.
1391 2003-07-02 Paolo Carlini <pcarlini@unitus.it>
1393 * testsuite/22_locale/num_put/put/char/7.cc: Include
1394 <testsuite_hooks.h>, tweak.
1395 * testsuite/22_locale/num_put/put/wchar_t/7.cc: Likewise.
1397 2003-07-01 Phil Edwards <pme@gcc.gnu.org>
1399 * testsuite/Makefile.am (AM_MAKEFLAGS): Set to -j1 (affects
1400 check* targets, but not libs/programs).
1401 * testsuite/Makefile.in: Regenerate.
1403 2003-07-01 Roger Sayle <roger@eyesopen.com>
1405 * acinclude.m4 (GLIBCPP_CHECK_STDLIB_SUPPORT): Fix typo in CXXFLAGS.
1406 (GLIBCPP_CHECK_MATH_SUPPORT): Likewise.
1407 * aclocal.m4: Regenerate.
1408 * configure: Regenerate.
1410 2003-07-01 Benjamin Kosnik <bkoz@redhat.com>
1412 * acinclude.m4 (GLIBCPP_ENABLE_PCH): Fix obvious error.
1413 * aclocal.m4: Regenerated.
1414 * configure: Regenerated.
1416 2003-07-01 Paolo Carlini <pcarlini@unitus.it>
1419 * include/bits/fstream.tcc (underflow): For encoding() == 0
1420 don't read more than __buflen chars.
1421 * testsuite/27_io/basic_filebuf/underflow/wchar_t/11389-1.cc: New.
1422 * testsuite/27_io/basic_filebuf/underflow/wchar_t/11389-2.cc: New.
1423 * testsuite/27_io/basic_filebuf/underflow/wchar_t/11389-3.cc: New.
1424 * testsuite/27_io/basic_filebuf/underflow/wchar_t/11389-4.cc: New.
1426 2003-07-01 Jerry Quinn <jlquinn@optonline.net>
1428 * 22_locale/num_put/put/char/7.cc: New.
1429 * 22_locale/num_put/put/wchar_t/7.cc: New.
1431 2003-06-30 Jerry Quinn <jlquinn@optonline.net>
1433 * src/locale.cc (__use_cache<numpunct>): Revert previous relocation.
1434 * include/bits/locale_facets.tcc (__use_cache<numpunct>): Ditto.
1436 2003-06-30 Benjamin Kosnik <bkoz@redhat.com>
1438 * 27_io/basic_filebuf/seekoff/char/1-in.cc: New.
1439 * 27_io/basic_filebuf/seekoff/char/1-io.cc: New.
1440 * 27_io/basic_filebuf/seekoff/char/1-out.cc: New.
1441 * 27_io/basic_filebuf/seekoff/char/2-in.cc: New.
1442 * 27_io/basic_filebuf/seekoff/char/2-io.cc: New.
1443 * 27_io/basic_filebuf/seekoff/char/2-out.cc: New.
1444 * 27_io/basic_filebuf/seekoff/char/2.cc: Remove.
1445 * 27_io/basic_filebuf/seekoff/char/3-in.cc: New.
1446 * 27_io/basic_filebuf/seekoff/char/3-io.cc: Change.
1447 * 27_io/basic_filebuf/seekoff/char/3-out.cc: New.
1448 * 27_io/basic_filebuf/seekoff/char/4-io.cc: Remove.
1449 * 27_io/basic_filebuf/seekpos/char/1-in.cc: New.
1450 * 27_io/basic_filebuf/seekpos/char/1-io.cc: New.
1451 * 27_io/basic_filebuf/seekpos/char/1-out.cc: New.
1452 * 27_io/basic_filebuf/seekpos/char/2-in.cc: New.
1453 * 27_io/basic_filebuf/seekpos/char/2-io.cc: New.
1454 * 27_io/basic_filebuf/seekpos/char/2-out.cc: New.
1455 * 27_io/basic_filebuf/seekpos/char/2.cc: Change.
1456 * 27_io/basic_filebuf/seekpos/char/3-in.cc: New.
1457 * 27_io/basic_filebuf/seekpos/char/3-io.cc: Remove.
1458 * 27_io/basic_filebuf/seekpos/char/3-out.cc: New.
1459 * 27_io/basic_filebuf/seekpos/char/4-io.cc: Remove.
1460 * data/seekoff-1.tst: Remove.
1461 * data/seekoff-1io.tst: New.
1462 * data/seekoff-1out.tst: New.
1463 * data/seekoff-2.tst: Remove.
1464 * data/seekoff-2io.tst: New.
1465 * data/seekoff-2out.tst: New.
1467 * data/seekpos-1.tst: Remove.
1468 * data/seekpos-1io.tst: New.
1469 * data/seekpos-1out.tst: New.
1470 * data/seekpos-2.tst: Remove.
1471 * data/seekpos-2io.tst: New.
1472 * data/seekpos-2out.tst: New.
1473 * data/seekpos.txt: New.
1475 2003-06-30 Jerry Quinn <jlquinn@optonline.net>
1477 * src/locale.cc (__use_cache<numpunct>): Move from here ...
1478 * include/bits/locale_facets.tcc (__use_cache<numpunct>): To
1481 2003-06-30 Paolo Carlini <pcarlini@unitus.it>
1483 * include/bits/stl_algobase.h: Fully qualify standard
1484 functions with std::, thus avoiding Koenig lookup.
1486 2003-06-30 Doug Gregor <dgregor@apple.com>
1488 * include/bits/locale_facets.tcc (money_get::do_get): Avoid
1489 subscripting empty string.
1491 2003-06-30 Phil Edwards <pme@gcc.gnu.org>
1493 * testsuite/Makefile.am (check-am): Do not override.
1494 (baseline_symbols): Declare as PHONY, so no need to 'touch' it.
1495 * testsuite/Makefile.in: Regenerate.
1497 2003-06-30 Doug Gregor <dgregor@apple.com>
1499 * testsuite/24_iterators/insert_iterator.cc (test01, test02):
1500 Don't initialize an insert_iterator with a singular iterator.
1502 2003-06-30 Benjamin Kosnik <bkoz@redhat.com>
1504 * acinclude.m4 (GLIBCPP_ENABLE_PCH): Add bits for --enable-pch.
1505 * aclocal.m4: Regenerate.
1506 * configure.in (GLIBCPP_CHECK_PCH): Move, change to
1507 GLIBCPP_ENABLE_PCH, default to yes.
1508 * configure: Regenerate.
1509 * docs/html/configopts.html: Add --enable-pch.
1511 2003-06-30 Phil Edwards <pme@gcc.gnu.org>
1513 * testsuite/lib/libstdc++-v3-dg.exp: Add comments.
1514 (libstdc++-v3-init): Also set LD_RUN_PATH.
1516 2003-06-30 Paolo Carlini <pcarlini@unitus.it>
1518 * include/std/std_streambuf.h (_M_mode): Unused by streambuf, move
1519 from here to filebuf and stringbuf.
1520 (~basic_streambuf()): Don't set _M_mode.
1521 (basic_streambuf()): Don't set _M_mode.
1522 * include/std/std_fstream.h (_M_mode): Move here, from streambuf.
1523 (~basic_filebuf()): Clean up.
1524 * include/bits/fstream.tcc (basic_filebuf()): Set _M_mode.
1525 * include/std/std_sstream.h (_M_mode): Move here, from streambuf.
1526 * testsuite/27_io/basic_streambuf/cons/char/1.cc: Don't set _M_mode.
1527 * testsuite/27_io/basic_streambuf/overflow/char/1.cc: Likewise.
1528 * testsuite/27_io/basic_streambuf/sgetc/char/1.cc: Likewise.
1529 * testsuite/27_io/basic_streambuf/sgetn/char/1.cc: Likewise.
1530 * testsuite/27_io/basic_streambuf/sputn/char/1.cc: Likewise.
1532 2003-06-30 Paolo Carlini <pcarlini@unitus.it>
1534 * include/std/std_fstream.h (_M_underflow): Remove.
1535 (uflow): Remove, inherited from streambuf.
1536 (underflow): Only declare.
1537 * include/bits/fstream.tcc (_M_underflow): Rename to
1538 underflow, to which is equivalent for __bump == false,
1540 * include/std/std_sstream.h (_M_underflow): Remove.
1541 (uflow): Remove, inherited from streambuf.
1542 (underflow): Only declare.
1543 * include/bits/sstream.tcc (_M_underflow): Rename to
1544 underflow, to which is equivalent for __bump == false,
1547 2003-06-29 Paolo Carlini <pcarlini@unitus.it>
1549 * include/bits/stl_algo.h: Fully qualify standard functions
1550 with std::, thus avoiding Koenig lookup.
1552 2003-06-29 Paolo Carlini <pcarlini@unitus.it>
1554 * testsuite/27_io/basic_filebuf/overflow/wchar_t/11305-1.cc:
1555 Improve type correctness-wise.
1556 * testsuite/27_io/basic_filebuf/overflow/wchar_t/11305-2.cc:
1558 * testsuite/27_io/basic_filebuf/overflow/wchar_t/11305-3.cc:
1560 * testsuite/27_io/basic_filebuf/overflow/wchar_t/11305-4.cc:
1563 2003-06-29 Paolo Carlini <pcarlini@unitus.it>
1565 * include/std/std_streambuf.h (uflow): According to
1566 27.5.2.4.3,p16, don't check gptr() < egptr().
1568 2003-06-28 Paolo Carlini <pcarlini@unitus.it>
1571 * include/bits/fstream.tcc (seekoff): Fix for encoding() > 0.
1572 (seekpos): Likewise.
1573 * testsuite/27_io/basic_filebuf/seekoff/wchar_t/9875_seekoff.cc:
1575 * testsuite/27_io/basic_filebuf/seekpos/wchar_t/9875_seekpos.cc:
1578 2003-06-27 Benjamin Kosnik <bkoz@redhat.com>
1580 * testsuite/testsuite_performance.h (__gnu_cxx_test): Change
1581 output name to libstdc++-v3-performance.sum.
1582 * testsuite/Makefile.am (CLEANFILES): Remove .performance.
1583 * testsuite/Makefile.in: Regenerate.
1585 2003-06-27 Matthias Klose <doko@debian.org>
1587 * testsuite/Makefile.am (check-abi, check-abi-verbose): Save
1588 output of abi-check in libstdc++-v3-abi.sum.
1589 * testsuite/Makefile.in: Regenerate.
1591 2003-06-27 Krister Walfridsson <cato@df.lth.se>
1593 * config/os/bsd/netbsd/ctype_noninline.h
1594 (_C_ctype_): Declare.
1595 (ctype<char>::classic_table): Return _C_ctype_ + 1.
1596 (ctype<char>::ctype): Use classic_table.
1598 2003-06-27 Paolo Carlini <pcarlini@unitus.it>
1599 Nathan C. Myers <ncm-nospam@cantrip.org>
1602 * include/bits/fstream.tcc (_M_underflow): Properly estimate
1603 the worst-case number of external bytes for a given get area.
1604 * testsuite/27_io/basic_filebuf/underflow/wchar_t/9178.cc: New.
1606 2003-06-27 Paolo Carlini <pcarlini@unitus.it>
1607 Petur Runolfsson <peturr02@ru.is>
1610 * include/bits/fstream.tcc (overflow): Properly estimate the
1611 worst-case number of external bytes for a given put area
1612 (by using codecvt::max_length()).
1613 * testsuite/27_io/basic_filebuf/overflow/wchar_t/11305-1: New.
1614 * testsuite/27_io/basic_filebuf/overflow/wchar_t/11305-2: New.
1615 * testsuite/27_io/basic_filebuf/overflow/wchar_t/11305-3: New.
1616 * testsuite/27_io/basic_filebuf/overflow/wchar_t/11305-4: New.
1618 2003-06-27 Nathan Sidwell <nathan@codesourcery.com>
1620 * config/linker-map.gnu: Remove ; after __numpunct_cache.
1622 2003-06-26 Benjamin Kosnik <bkoz@redhat.com>
1624 * include/bits/ios_base.h (ios_base::_M_getloc): Return reference
1625 to the imbued locale.
1626 * include/bits/locale_facets.tcc (num_put::_M_convert_int): Use
1628 (num_put::_M_convert_float): Use.
1630 2003-06-26 Benjamin Kosnik <bkoz@redhat.com>
1631 Jerry Quinn <jlquinn@optonline.net>
1633 * config/linker-map.gnu: Add __numpunct_cache.
1634 * config/locale/gnu/numeric_members.cc
1635 (numpunct::_M_initialize_numpunct): Account for _M_data, fill in
1636 all elements for "C" locale.
1637 (numpunct::~numpunct): Delete _M_data.
1638 * config/locale/generic/numeric_members.cc: Same.
1639 * include/bits/basic_ios.tcc
1640 (basic_ios::init): Remove __locale_cache bits.
1641 (basic_ios::_M_cache_locale): Same.
1642 * include/bits/ios_base.h: Same. Tweaks.
1643 * include/bits/locale_classes.h: Tweaks. Reorder classes.
1644 (__use_cache): Make friends with _Impl, locale.
1645 (_Impl::_M_caches): Add.
1646 (_Impl::_M_install_cache): Add.
1647 * include/bits/locale_facets.h (__numpunct_cache): New.
1648 (numpunct): Encapsulate data members in __numpunct_cache member,
1649 _M_data. Adjust virtuals.
1650 (numpunct::numpunct): New ctor for the same.
1651 (__locale_cache_base): Remove.
1652 (__locale_cache): Remove.
1653 * include/bits/locale_facets.tcc (__use_cache): New function,
1655 (num_put::_M_convert_int, _M_convert_float, do_put): Use it.
1656 * src/globals.cc: Add cache_vec, numpunct_cache_c, numpunct_cache_w.
1657 * src/ios.cc (ios_base::ios_base): Remove __locale_cache.
1658 * src/locale-inst.cc: Same. Add __numpunct_cache.
1659 * src/locale.cc: Tweak inlines.
1660 (__use_cache): Define specializations.
1661 * src/localename.cc: Use global bits.
1662 (_Impl::~Impl): Deal with __numpunct_cache destruction.
1663 (_Impl::_Impl): Same. Pre-cache standard numpunct facets.
1664 (_Impl::_M_init_facet): Take into account __numpunct_cache.
1665 * testsuite/27_io/ios_base/cons/assign_neg.cc: Update line numbers.
1666 * testsuite/27_io/ios_base/cons/copy_neg.cc: Same.
1668 2003-06-26 Nathan C. Myers <ncm-nospam@cantrip.org>
1669 Paolo Carlini <pcarlini@unitus.it>
1671 * testsuite/performance/filebuf_copy.cc: New, testing char
1674 2003-06-26 Paolo Carlini <pcarlini@unitus.it>
1675 Nathan C. Myers <ncm-nospam@cantrip.org>
1677 * include/bits/fstream.tcc (_M_underflow): When the actual
1678 end of file is reached, set 'uncommitted' mode to allow a
1679 next write without an intervening seek (see C++98 27.8.1.1,2
1681 * testsuite/27_io/basic_filebuf/underflow/char/2.cc: New.
1683 2003-06-25 Nathan C. Myers <ncm-nospam@cantrip.org>
1685 * include/bits/streambuf.tcc (sbumpc, sputbackc, sungetc,
1686 sputc): Move inline, from here...
1687 * include/std/std_streambuf.h: ... to here.
1689 * include/std/std_streambuf.h (snextc, sbumpc, sgetc,
1690 sputbackc, sungetc, sputc): Use __builtin_expect.
1692 2003-06-24 Phil Edwards <pme@gcc.gnu.org>
1694 * docs/doxygen/mainpage.html: Use a useful title.
1696 2003-06-24 Benjamin Kosnik <bkoz@redhat.com>
1698 * docs/html/documentation.html: Remove assignment info.
1699 * docs/html/17_intro/contribute.html: Edits.
1700 * docs/html/17_intro/libstdc++-assign.tx: Remove.
1702 * docs/html/test.html: Update.
1706 2003-06-24 Benjamin Kosnik <bkoz@redhat.com>
1707 Ulrich Drepper <drepper@redhat.com>
1709 * testsuite/testsuite_performance.h: Tweak mallinfo.
1711 2003-06-24 Paolo Carlini <pcarlini@unitus.it>
1712 Nathan C. Myers <ncm-nospam@cantrip.org>
1714 * include/std/std_fstream.h (_M_filepos): Remove.
1715 (_M_reading, _M_writing): New, encode the various I/O modes:
1716 'read', 'write' and 'uncommitted'.
1717 (sync): If there is something to flush, do it, then go to
1719 * include/bits/fstream.tcc (_M_set_buffer): Overhaul to deal
1720 with three different cases: __off > 0 (upon underflow),
1721 __off == 0 (upon overflow), __off == -1 (upon open, setbuf,
1723 (_M_underflow): Don't call overflow, set _M_reading to true
1725 (pbackfail): Set _M_reading to true on pback creation, tweak.
1726 (overflow): Don't seek, deal with overflow in 'uncommitted' mode,
1727 set _M_writing to true on success, tweak.
1728 (seekoff): Simplify, set _M_reading, _M_writing to false, call
1729 _M_set_buffer(-1) ('uncommitted').
1730 (open, close, setbuf): Set _M_reading, _M_writing to false and
1731 call _M_set_buffer(-1), tweak.
1732 (basic_filebuf): Don't set _M_buf_unified.
1733 (_M_destroy_internal_buffer): Don't call setg and setp.
1734 * include/ext/stdio_filebuf.h (stdio_filebuf): Use _M_reading,
1735 _M_writing and _M_set_buffer(-1).
1736 * include/std/std_streambuf.h (_M_move_out_cur, _M_move_in_cur,
1737 _M_out_lim, _M_buf_unified): Remove.
1738 (basic_streambuf): Don't set _M_out_lim and _M_buf_unified.
1739 (setp): Don't set _M_out_lim.
1740 * testsuite/27_io/basic_filebuf/sbumpc/char/1-io.cc: Fix for
1741 the new logic ('read', 'write' and 'uncommitted' modes): e.g.,
1742 upon open the mode is 'uncommitted' and therefore the put area
1744 * testsuite/27_io/basic_filebuf/sbumpc/char/1-out.cc: Ditto.
1745 * testsuite/27_io/basic_filebuf/seekoff/char/3-io.cc: Ditto.
1746 * testsuite/27_io/basic_filebuf/seekpos/char/3-io.cc: Ditto.
1747 * testsuite/27_io/basic_filebuf/setbuf/char/1.cc: Ditto.
1748 * testsuite/27_io/basic_filebuf/sgetc/char/1-io.cc: Ditto.
1749 * testsuite/27_io/basic_filebuf/sgetc/char/1-out.cc: Ditto.
1750 * testsuite/27_io/basic_filebuf/sgetn/char/1-io.cc: Ditto.
1751 * testsuite/27_io/basic_filebuf/sgetn/char/1-out.cc: Ditto.
1752 * testsuite/27_io/basic_filebuf/snextc/char/1-io.cc: Ditto.
1753 * testsuite/27_io/basic_filebuf/snextc/char/1-out.cc: Ditto.
1754 * testsuite/27_io/basic_filebuf/sputbackc/char/1-io.cc: Ditto.
1755 * testsuite/27_io/basic_filebuf/sputbackc/char/1-out.cc: Ditto.
1756 * testsuite/27_io/basic_filebuf/sputc/char/1-io.cc: Ditto.
1757 * testsuite/27_io/basic_filebuf/sputc/char/1-out.cc: Ditto.
1758 * testsuite/27_io/basic_filebuf/sputc/char/9701-2.cc: Ditto.
1759 * testsuite/27_io/basic_filebuf/sputn/char/1-io.cc: Ditto.
1760 * testsuite/27_io/basic_filebuf/sputn/char/1-out.cc: Ditto.
1761 * testsuite/27_io/basic_filebuf/sputn/char/9701-1.cc: Ditto.
1762 * testsuite/27_io/basic_filebuf/sungetc/char/1-io.cc: Ditto.
1763 * testsuite/27_io/basic_filebuf/sungetc/char/1-out.cc: Ditto.
1765 * include/bits/fstream.tcc (showmanyc): Use only the
1766 documented derivation interface to basic_streambuf (gptr(),
1767 setg(), etc.) to work right with user specializations.
1768 * include/bits/streambuf.tcc (sbumpc, sputbackc, sungetc,
1769 sputc, xsgetn, xsputn, __copy_streambufs): Likewise.
1770 * include/std/std_streambuf.h (in_avail, sgetc, uflow, stossc):
1772 * include/std/std_fstream.h (_M_create_pback, _M_destroy_pback,
1775 2003-06-23 Loren J. Rittle <ljrittle@acm.org>
1777 * configure.host (freebsd*): Set abi_baseline_pair.
1778 * config/abi/i386-freebsd4/baseline_symbols.txt: Update from 3.2
1779 (at or near first release) to 3.3.
1780 * config/abi/i386-freebsd5/baseline_symbols.txt: New file.
1781 * config/abi/alpha-freebsd5/baseline_symbols.txt: New file.
1782 * config/abi/sparc-freebsd5/baseline_symbols.txt: New file.
1784 * include/ext/mt_allocator.h: Portability.
1785 * testsuite/testsuite_performance.h: Likewise.
1787 2003-06-23 Benjamin Kosnik <bkoz@redhat.com>
1789 * docs/html/17_intro/libstdc++-assign.txt: Update address.
1791 * testsuite/performance/ifstream_getline.cc: Fix.
1793 2003-06-23 Doug Gregor <dgregor@apple.com>
1795 * include/bits/boost_concept_check.h: Don't use _D or _R for type
1798 2003-06-22 Paolo Carlini <pcarlini@unitus.it>
1799 Nathan C. Myers <ncm-nospam@cantrip.org>
1801 * include/std/std_streambuf.h (_M_move_out_cur): _M_out_lim
1802 is now used only for filebuf, when _M_buf_unified is true.
1803 epgtr() plays the role of _M_out_lim but it's only updated
1804 upon overflow, underflow, uflow, seekoff/pos.
1805 * include/bits/sstream.tcc (_M_underflow): New, implements
1806 stringbuf::underflow and uflow.
1807 (seekoff, seekpos): Tweak, use _M_update_egptr.
1808 * include/std/std_sstream.h (str): Rewrote, deal correctly
1809 with the new logic, in particular, when pptr() > egptr().
1810 (_M_sync): When __testout && !__testin set all the get area
1811 pointers to the current string end.
1812 (_M_update_egptr): New, internal function updating egptr()
1813 to the actual string end.
1814 (_M_underflow): New, declare.
1815 (underflow): Dispatch to _M_underflow(false).
1816 (uflow): Dispatch to _M_underflow(true).
1818 * include/bits/sstream.tcc (pbackfail, overflow, seekoff,
1819 seekpos): Use only the documented derivation interface to
1820 basic_streambuf (gptr(), setg(), etc.) to work right with
1821 user specializations.
1822 * include/std/std_sstream.h (str, _M_sync): Likewise.
1824 2003-06-20 Doug Gregor <dgregor@apple.com>
1826 * testsuite/20_util/auto_ptr.cc: Don't dereference NULL auto_ptr
1827 * testsuite/21_strings/basic_string/replace/char/4.cc: Don't
1828 dereference end iterator.
1829 * testsuite/21_strings/basic_string/replace/wchar_t/4.cc: Same.
1830 * testsuite/22_locale/ctype/narrow/char/1.cc: Don't subscript with
1831 index equal to the length of a string.
1832 * testsuite/22_locale/ctype/narrow/char/2.cc: Same.
1833 * testsuite/22_locale/ctype/narrow/wchar_t/1.cc: Same.
1834 * testsuite/22_locale/ctype/narrow/wchar_t/2.cc: Same.
1835 * testsuite/22_locale/ctype/widen/char/1.cc: Same.
1836 * testsuite/22_locale/ctype/widen/wchar_t/1.cc: Same.
1837 * testsuite/23_containers/list_modifiers.cc: Don't dereference
1838 singular reverse iterator.
1839 * testsuite/23_containers/vector_bool.cc: Don't increment singular
1841 * testsuite/24_iterators/rel_ops.cc: Don't compare singular iterator.
1843 2003-06-20 Doug Gregor <dgregor@apple.com>
1845 * include/bits/basic_string.h (basic_string::replace): Dispatch
1846 _InputIterator version based on _Is_integer.
1847 * include/bits/basic_string.tcc (basic_string::replace):
1848 Renamed replace(iterator, iterator, size_type, _CharT) to
1850 * testsuite/21_strings/basic_string/assign/char/1.cc (test01):
1851 Test basic_string::assign(_InputIterator, _InputIterator),
1852 which calls basic_string::replace(iterator, iterator,
1853 _Input_iterator, _InputIterator).
1855 2003-06-20 Benjamin Kosnik <bkoz@redhat.com>
1857 * testsuite/testsuite_performance.h (resource_counter): Don't use
1858 mallinfo at the moment.
1860 2003-06-20 Matthias Klose <doko@debian.org>
1862 * configure.host: Set try_cpu to target_cpu for existing
1865 2003-06-19 Andreas Jaeger <aj@suse.de>
1867 * testsuite/Makefile.am (extract_symvers): Revert accidental
1869 * testsuite/Makefile.in: Regenerate.
1871 * configure.in: Pass MULTISUBDIR to testsuite/Makefile.
1872 * configure: Regenerated.
1874 2003-06-19 Paolo Carlini <pcarlini@unitus.it>
1876 * include/std/std_sstream.h (_M_sync): Make non virtual.
1878 2003-06-18 Benjamin Kosnik <bkoz@redhat.com>
1880 * testsuite/testsuite_performance.h (time_counter): New.
1881 (resource_counter): New.
1882 (report_performance): New.
1883 (start_counters): New.
1884 (stop_counters): New.
1885 (clear_counters): New.
1886 * testsuite/performance/allocator.cc: Instrument.
1887 * testsuite/performance/cout_insert_int.cc: Same.
1888 * testsuite/performance/complex_norm.cc: Same.
1889 * testsuite/performance/filebuf_sputc.cc: New.
1890 * testsuite/performance/fstream_seek_write.cc: Same.
1891 * testsuite/performance/ifstream_getline.cc: Same.
1892 * testsuite/performance/map_create_fill.cc: Same.
1893 * testsuite/performance/ofstream_insert_float.cc: Same.
1894 * testsuite/performance/ofstream_insert_int.cc: Same.
1895 * testsuite/performance/string_append.cc: Convert.
1896 * scripts/check_performance: New.
1897 * testsuite/Makefile.am (check-performance): New.
1900 2003-06-18 Paolo Carlini <pcarlini@unitus.it>
1901 Benjamin Kosnik <bkoz@redhat.com>
1903 * include/std/std_sstream.h (setbuf): Check __n >= 0.
1904 * include/bits/fstream.tcc (setbuf): Tweak.
1906 2003-06-18 Paolo Carlini <pcarlini@unitus.it>
1908 * include/bits/sstream.tcc (seekoff): We can't seek beyond
1909 _M_out_lim, therefore _M_move_out_cur boils down to simply
1910 updating _M_out_cur.
1911 (seekpos): Likewise, clean up.
1913 2003-06-18 Nathan C. Myers <ncm-nospam@cantrip.org>
1914 Paolo Carlini <pcarlini@unitus.it>
1916 * include/bits/fstream.tcc (setbuf): Allow (__s, 1) too,
1917 simply equivalent to the unbuffered case (0, 0) as far as
1918 _M_buf_size is concerned.
1920 2003-06-18 Andreas Jaeger <aj@suse.de>
1922 * testsuite/Makefile.am (new-abi-baseline): Create baseline
1924 (baseline_file): Use baseline_dir.
1925 (baseline_dir): New.
1926 (mkinstalldirs): New.
1928 * acinclude.m4: Rename baseline_file to baseline_dir, strip
1929 filename from baseline_dir.
1931 * testsuite/Makefile.in: Regenerated.
1932 * Makefile.in: Regenerated.
1933 * aclocal.m4: Regenerated.
1934 * configure: Regenerated.
1936 2003-06-17 Benjamin Kosnik <bkoz@redhat.com>
1938 * configure.in: Missed check_survey bit.
1939 * configure: Regenerated.
1941 2003-06-17 Benjamin Kosnik <bkoz@redhat.com>
1944 * config/abi/extract_symvers: Move to...
1945 * scripts/extract_symvers: ...here.
1946 * mkcheck.in: Move to..
1947 * scripts/check_survey.in: ...here.
1948 * testsuite_flags.in: Move to..
1949 * scripts/testsuite_flags.in: ...here.
1950 * configure.in: Change check and testsuite_flags locations.
1951 * configure: Regenerate.
1952 * testsuite/Makefile.am (current_symbols.txt): Change location.
1953 * testsuite/Makefile.in: Regenerate.
1954 * testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3-init): Modify
1955 location of testsuite_flags.
1956 * Makefile.am (check-script): Move..
1957 (check-script-install): Move...
1958 * testsuite/Makefile.am: ... here.
1959 * testsuite/Makefile.in: Regenerate.
1960 * Makefile.in: Regenerate.
1962 2003-06-17 Benjamin Kosnik <bkoz@redhat.com>
1964 * config/abi/i486-linux-gnu/baseline_symbols.txt: Update to 3.3.0.
1966 2003-06-16 Benjamin Kosnik <bkoz@redhat.com>
1968 * Makefile.am (check-abi): Move...
1969 (new-abi-baseline): Move...
1970 * testsuite/Makefile.am: ...here.
1971 (new-abi-baseline): Conditionalize.
1972 (check-abi): Conditionalize.
1973 (check-abi-verbose): New.
1974 * Makefile.in: Regenerate.
1975 * testsuite/Makefile.in: Regenerate.
1976 * configure.in: Consolidate testsuite configure bits.
1977 * acinclude.m4 (GLIBCPP_CONFIGURE_TESTSUITE): Same.
1978 * configure: Regenerate.
1979 * aclocal.m4: Regenerate.
1980 * testsuite/abi_check.cc: Add --check-verbose.
1981 Only output detailed information if --check-verbose.
1983 2003-06-16 Andreas Jaeger <aj@suse.de>
1985 * testsuite/abi_check.cc: Create summary report.
1987 2003-06-16 Paolo Carlini <pcarlini@unitus.it>
1989 * testsuite/27_io/basic_filebuf/sgetn/char/1-in.cc: Fix
1990 for systems with BUFSIZ != 8192.
1991 * testsuite/27_io/basic_filebuf/sgetn/char/1-io.cc: Ditto.
1992 * testsuite/27_io/basic_filebuf/sgetn/char/1-out.cc:
1995 2003-06-16 Andreas Jaeger <aj@suse.de>
1997 * acinclude.m4 (GLIBCPP_CONFIGURE_TESTSUITE): Make
1998 check-abi multilib aware.
1999 * aclocal.m4: Regenerate.
2000 * configure: Regenerate.
2002 2003-06-16 Benjamin Kosnik <bkoz@redhat.com>
2003 Andreas Jaeger <aj@suse.de>
2005 * configure.host: Set x86_64 abi_baseline pair correctly.
2007 2003-06-16 Paolo Carlini <pcarlini@unitus.it>
2009 * testsuite/27_io/basic_filebuf/sungetc/char/1.cc: Split and
2010 fix for missing seeks between gets and puts into...
2011 * testsuite/27_io/basic_filebuf/sungetc/char/1-in.cc: New.
2012 * testsuite/27_io/basic_filebuf/sungetc/char/1-io.cc: New.
2013 * testsuite/27_io/basic_filebuf/sungetc/char/1-out.cc: New.
2014 * testsuite/27_io/basic_filebuf/sungetc/char/2-in.cc: New.
2015 * testsuite/27_io/basic_filebuf/sungetc/char/2-io.cc: New.
2016 * testsuite/27_io/basic_filebuf/sungetc/char/2-out.cc: New.
2018 2003-06-15 Richard Henderson <rth@redhat.com>
2020 * config/linker-map.gnu: Export virtual function thunks for
2023 2003-06-13 Benjamin Kosnik <bkoz@redhat.com>
2025 * config/abi/i686-pc-linux-gnu: To..
2026 * config/abi/i486-linux-gnu: ...this.
2027 * config/abi/alphaev67-unknown-linux-gnu: To..
2028 * config/abi/alpha-linux-gnu: ...this.
2029 * config/abi/ia64-unknown-linux-gnu: To...
2030 * config/abi/ia64-linux-gnu: ...this.
2031 * config/abi/x86_64-unknown-linux-gnu: To...
2032 * config/abi/x86_64-linux-gnu: ...this.
2033 * config/abi/i386-unknown-freebsd4: To...
2034 * config/abi/i386-freebsd4: ...this.
2035 * config/linker-map.gnu: Cleanups, move libsupc++ bits into
2037 * configure.host: abi_baseline_triplet to abi_baseline_pair.
2038 Simplify cpu bits so that abi_baseline_pair can use the same
2040 * acinclude.m4: Same.
2041 * aclocal.m4: Regenerate.
2042 * configure.in: Can't get enable_abi_check to yes unless native.
2043 * configure: Regenerate.
2045 2003-06-13 Paolo Carlini <pcarlini@unitus.it>
2047 * testsuite/27_io/basic_filebuf/seekoff/char/1.cc: Split and
2048 fix for missing seeks between gets and puts into...
2049 * testsuite/27_io/basic_filebuf/seekoff/char/3-io.cc: New.
2050 * testsuite/27_io/basic_filebuf/seekoff/char/4-io.cc: New.
2051 * testsuite/27_io/basic_filebuf/seekpos/char/1.cc: Same, into...
2052 * testsuite/27_io/basic_filebuf/seekpos/char/3-io.cc: New.
2053 * testsuite/27_io/basic_filebuf/seekpos/char/4-io.cc: New.
2054 * testsuite/27_io/basic_filebuf/sputbackc/char/1-io.cc: Fix
2055 for missing seeks between gets and puts.
2056 * testsuite/27_io/basic_filebuf/sputbackc/char/2-io.cc: Ditto.
2057 * testsuite/data/seekoff-1.tst: New.
2058 * testsuite/data/seekoff-2.tst: New.
2059 * testsuite/data/seekpos-1.tst: New.
2060 * testsuite/data/seekpos-2.tst: New.
2062 2003-06-13 Nathan C. Myers <ncm-nospam@cantrip.org>
2064 Avoid multi-processor bus contention on increment/decrement-and-
2065 test of the reference count in the empty-string object, by comparing
2066 addresses first, and never touching the reference count of the empty-
2068 * include/bits/basic_string.h:
2069 (_S_empty_rep_storage): Move into basic_string<>::_Rep for use by its
2071 (_Rep::_S_empty_rep()): New accessor.
2072 (_Rep::_M_length, _Rep::_M_capacity, _Rep::_M_references): Move to
2073 a base class _Rep_base.
2074 (_Rep::_M_dispose, _Rep::_M_refcopy): Check for the empty string.
2075 (basic_string()): Change to use _M_refdata() in place of _M_refcopy(),
2076 since no longer must increment its refcount.
2077 * include/bits/basic_string.tcc:
2078 (_Rep::_M_destroy, _M_leak_hard): Check for the empty string and
2079 return immediately. The former might be unnecessary. The latter
2080 prevents begin() and end() from cloning it unnecessarily.
2081 (_S_construct(_InIterator, _InIterator, const _Alloc&,
2082 input_iterator_tag), _S_construct(_InIterator, _InIterator,
2083 const _Alloc&, forward_iterator_tag), _S_construct(size_type, _CharT,
2084 const _Alloc&)): Change to use _M_refdata() in place of _M_refcopy().
2085 (_M_mutate): Check for the empty string and treat it as shared.
2086 This is necessary here because _M_mutate is sometimes called with
2087 all-zero arguments; in all other uses of _M_is_shared, the test comes
2090 2003-06-12 Benjamin Kosnik <bkoz@redhat.com>
2092 * src/allocator-inst.cc: Explicitly instantiate.
2093 * include/ext/pool_allocator.h: Inhibit implicit instantiations.
2095 * config/linker-map.gnu: Add __pool_alloc bits. Tweaks.
2097 2003-06-11 Benjamin Kosnik <bkoz@redhat.com>
2099 * acinclude.m4 (GLIBCPP_ENABLE_CSTDIO): Simplify.
2100 * aclocal.m4: Regenerate.
2101 * Makefile.am (SUBDIRS): Remove libio.
2102 * Makefile.in: Regenerate.
2103 * configure.in: Same.
2104 * configure: Regenerate.
2105 * config/io/basic_file_libio.cc: Remove.
2106 * config/io/basic_file_libio.h: Remove.
2107 * config/io/c_io_libio_codecvt.c: Remove.
2108 * config/io/c_io_libio.h: Remove.
2110 * src/Makefile.am: Same.
2111 * src/Makefile.in: Regenerate.
2112 * docs/html/configopts.html: Edits.
2113 * docs/html/explanations.html: Edits.
2115 2003-06-11 Benjamin Kosnik <bkoz@redhat.com>
2117 * include/bits/stl_alloc.h (__debug_alloc): Move out.
2118 (__malloc_alloc): Same.
2119 (__pool_alloc): Same.
2120 (__new_alloc): Same.
2122 * include/bits/allocator.h: ...this.
2123 * include/bits/stl_deque.h: Modify comment.
2124 * include/bits/stl_tree.h: Modify include.
2125 * include/std/std_memory.h: Same.
2126 * include/ext/rope: Same.
2127 * include/ext/slist: Same.
2128 * include/std/std_vector.h: Same.
2129 * include/std/std_stack.h: Same.
2130 * include/std/std_queue.h: Same.
2131 * include/std/std_list.h: Same.
2132 * include/std/std_deque.h: Same.
2133 * include/backward/alloc.h: Same.
2134 * include/ext/debug_allocator.h: New.
2135 * include/ext/malloc_allocator.h: New.
2136 * include/ext/pool_allocator.h: New.
2137 * include/ext/new_allocator.h: New.
2138 * include/bits/pthread_allocimpl.h: Remove.
2139 * include/bits/stl_pthread_alloc.h: Remove.
2140 * include/Makefile.am (ext_headers): Add.
2141 * include/Makefile.in: Regenerate.
2142 * src/stl-inst.cc: Use __gnu_cxx namespace.
2143 * src/stl-inst.cc: Move to...
2144 * src/allocator-inst.cc: Here.
2145 * src/Makefile.am (sources): Update.
2146 * src/Makefile.in: Regenerate.
2147 * config/linker-map.gnu: Remove __pool_alloc bits.
2148 * testsuite/ext/headers.cc: Add.
2149 * testsuite/ext/allocators.cc: Fixup.
2151 2003-06-11 Stefan Olsson <stefan@snon.net>
2152 Ola Rönnerup <fnolis@home.se>
2154 * include/Makefile.am (ext_headers): Add.
2155 * include/Makefile.in: Regenerate.
2156 * include/ext/mt_allocator.h: New file.
2158 2003-06-10 Paolo Carlini <pcarlini@unitus.it>
2160 * include/bits/fstream.tcc (close): Clean up a bit.
2162 * include/bits/streambuf.tcc (sbumpc): Clean up a bit.
2164 * include/std/std_fstream.h (_M_destroy_pback): _M_pback_cur_save
2165 - the saved _M_in_cur, that is - cannot be null.
2166 (sync): Constify a variable.
2168 * include/std/std_streambuf.h: Tweak a comment.
2169 (in_avail): Constify a variable.
2171 2003-06-10 Phil Edwards <pme@gcc.gnu.org>
2173 * docs/html/17_intro/BUGS: Update from 2.90.8 snapshot.
2174 * docs/html/17_intro/CHECKLIST: Bring up to date with respect to
2175 correctness of container::iterator typedefs. Fix whitespace.
2176 * docs/html/20_util/howto.html, docs/html/ext/howto.html: Add links
2178 * docs/html/documentation.html: Regenerate.
2180 * include/bits/basic_string.h, include/bits/basic_string.tcc,
2181 include/bits/deque.tcc, include/bits/list.tcc, include/bits/stl_algo.h,
2182 include/bits/stl_algobase.h, include/bits/stl_bvector.h,
2183 include/bits/stl_deque.h, include/bits/stl_iterator_base_funcs.h,
2184 include/bits/stl_list.h, include/bits/stl_uninitialized.h,
2185 include/bits/stl_vector.h, include/bits/vector.tcc,
2186 include/ext/algorithm, include/ext/slist, include/std/std_bitset.h:
2187 Change _Iter names to _Iterator, and __pos to __position.
2189 * include/bits/stl_relops.h, include/bits/stl_numeric.h,
2190 include/bits/stl_multiset.h, include/bits/stl_set.h:
2191 Remove emacs markers.
2193 * include/bits/stl_threads.h (_STL_auto_lock): Add __unused__.
2195 2003-06-10 Paolo Carlini <pcarlini@unitus.it>
2197 * include/bits/fstream.tcc (overflow): According to
2198 27.5.2.4.5, overflow() returns not_eof(eof()).
2199 * testsuite/27_io/basic_filebuf/overflow/char/2.cc: New.
2200 * testsuite/27_io/basic_filebuf/overflow/char/2-unbuf.cc: Ditto.
2202 2003-06-10 Paolo Carlini <pcarlini@unitus.it>
2204 * include/bits/fstream.tcc (_M_underflow): Check overflow return
2205 value; tweak slightly.
2207 2003-06-09 Paolo Carlini <pcarlini@unitus.it>
2209 * include/bits/fstream.tcc (_M_underflow): Do not special
2210 case the unbuffered case, which really means simply a one char
2212 (basic_filebuf): Initialize _M_buf_size.
2213 (setbuf): Unbuffered means _M_buf_size == 1, since only
2214 _M_buf_size - 1 == 0 chars are going to be used for the
2215 put area and 1 for the get area.
2216 * include/std/std_streambuf.h (_M_buf_size): Move to basic_filebuf.
2217 (~basic_streambuf): Tweak.
2218 (basic_streambuf): Do not initialize _M_buf_size.
2219 * include/std/std_fstream.h (_M_buf_size): Add from basic_streambuf.
2220 (~basic_filebuf): Tweak.
2221 (_M_set_buffer): Tweak, considering that _M_buf_size == 1 is the
2222 unbuffered situation (i.e., put area pointers NULL).
2223 * include/bits/streambuf.tcc (sbumpc): Clean up.
2224 * testsuite/27_io/basic_filebuf/sputbackc/char/1.cc: Split into...
2225 * testsuite/27_io/basic_filebuf/sputbackc/char/1-in.cc: New.
2226 * testsuite/27_io/basic_filebuf/sputbackc/char/1-io.cc: New.
2227 * testsuite/27_io/basic_filebuf/sputbackc/char/1-out.cc: New.
2228 * testsuite/27_io/basic_filebuf/sputbackc/char/2-in.cc: New.
2229 * testsuite/27_io/basic_filebuf/sputbackc/char/2-io.cc: New.
2230 * testsuite/27_io/basic_filebuf/sputbackc/char/2-out.cc: New.
2232 2003-06-09 Phil Edwards <pme@gcc.gnu.org>
2234 * acinclude.m4: Move all AM_CONDITIONAL calls out.
2235 (GLIBCPP_CONFIGURE): Set defaults for variables used in AM_CONDITIONAL
2237 * configure.in: Centralize AM_CONDITIONALs so that they are always
2238 run. Make use of GLIBCPP_IS_CROSS_COMPILING.
2239 * aclocal.m4, configure: Regenerated.
2241 2003-06-09 Paolo Carlini <pcarlini@unitus.it>
2243 * docs/html/ext/howto.html ('LWG Issues'): Add issue 235.
2245 2003-06-06 Nathan Myers <ncm-nospam@cantrip.org>
2247 * include/bits/stl_iterator.h
2248 (reverse_iterator::reverse_iterator()): Apply DR235: default
2249 constructor default-initializes data member. Instantiated on a
2250 pointer type, the member has to end up equal to zero.
2252 2003-06-06 Benjamin Kosnik <bkoz@redhat.com>
2254 * include/bits/stl_alloc.h: Cleanups.
2255 * include/ext/functional: Same.
2256 * include/ext/hash_map: Same.
2257 * include/ext/hash_set: Same.
2258 * include/ext/iterator: Same.
2259 * include/ext/memory: Same.
2260 * include/ext/numeric: Same.
2261 * include/ext/rb_tree: Same.
2262 * include/ext/ropeimpl.h: Same.
2263 * include/ext/slist: Same.
2264 * include/ext/stdio_filebuf.h: Same.
2265 * include/ext/stdio_sync_filebuf.h: Same.
2266 * include/ext/stl_rope.h: Move to...
2267 * include/ext/rope: ...here.
2268 * include/ext/stl_hash_fun.h: Move to...
2269 * include/ext/hash_fun.h: ...here.
2270 * include/ext/stl_hashtable.h: Move to...
2271 * include/ext/hashtable.h: ...here.
2272 * include/backward/hashtable.h: Reflect new names.
2273 * include/Makefile.am: Same.
2274 * include/Makefile.in: Regenerated.
2276 2003-06-05 Benjamin Kosnik <bkoz@redhat.com>
2279 * include/bits/fstream.tcc (_M_underflow): Fix for unbuffered.
2280 * include/bits/stl_algobase.h: Tweak.
2281 * include/std/std_fstream.h: Move _M_buf_size to...
2282 * include/std/std_streambuf.h: ...here. Modify.
2283 * include/bits/streambuf.tcc: Same.
2284 * testsuite/testsuite_hooks.h: Tweak.
2285 * testsuite/testsuite_io.h (constraint_filebuf): New.
2286 * testsuite/27_io/basic_filebuf/sbumpc/char/1.cc: Split into...
2287 * testsuite/27_io/basic_filebuf/sbumpc/char/1-in.cc: New.
2288 * testsuite/27_io/basic_filebuf/sbumpc/char/1-io.cc: New.
2289 * testsuite/27_io/basic_filebuf/sbumpc/char/1-out.cc: New.
2290 * testsuite/27_io/basic_filebuf/sbumpc/char/2-in.cc: New.
2291 * testsuite/27_io/basic_filebuf/sbumpc/char/2-io.cc: New.
2292 * testsuite/27_io/basic_filebuf/sbumpc/char/2-out.cc: New.
2293 * testsuite/27_io/basic_filebuf/sgetc/char/1.cc: Split into...
2294 * testsuite/27_io/basic_filebuf/sgetc/char/1-in.cc: New.
2295 * testsuite/27_io/basic_filebuf/sgetc/char/1-io.cc: New.
2296 * testsuite/27_io/basic_filebuf/sgetc/char/1-out.cc: New.
2297 * testsuite/27_io/basic_filebuf/sgetc/char/2-in.cc: New.
2298 * testsuite/27_io/basic_filebuf/sgetc/char/2-io.cc: New.
2299 * testsuite/27_io/basic_filebuf/sgetc/char/2-out.cc: New.
2300 * testsuite/27_io/basic_filebuf/sgetn/char/1.cc: Split into...
2301 * testsuite/27_io/basic_filebuf/sgetn/char/1-in.cc: New.
2302 * testsuite/27_io/basic_filebuf/sgetn/char/1-io.cc: New.
2303 * testsuite/27_io/basic_filebuf/sgetn/char/1-out.cc: New.
2304 * testsuite/27_io/basic_filebuf/sgetn/char/2.cc: Split into...
2305 * testsuite/27_io/basic_filebuf/sgetn/char/2-in.cc: New.
2306 * testsuite/27_io/basic_filebuf/sgetn/char/2-io.cc: New.
2307 * testsuite/27_io/basic_filebuf/sgetn/char/2-out.cc: New.
2308 * testsuite/27_io/basic_filebuf/sgetn/char/3.cc: New.
2309 * testsuite/27_io/basic_filebuf/snextc/char/1.cc: Split into...
2310 * testsuite/27_io/basic_filebuf/snextc/char/1-in.cc: New.
2311 * testsuite/27_io/basic_filebuf/snextc/char/1-io.cc: New.
2312 * testsuite/27_io/basic_filebuf/snextc/char/1-out.cc: New.
2313 * testsuite/27_io/basic_filebuf/snextc/char/2-in.cc: New.
2314 * testsuite/27_io/basic_filebuf/snextc/char/2-io.cc: New.
2315 * testsuite/27_io/basic_filebuf/snextc/char/2-out.cc: New.
2316 * testsuite/27_io/basic_filebuf/sputc/char/1.cc: Split into...
2317 * testsuite/27_io/basic_filebuf/sputc/char/1-in.cc: New.
2318 * testsuite/27_io/basic_filebuf/sputc/char/1-io.cc: New.
2319 * testsuite/27_io/basic_filebuf/sputc/char/1-out.cc: New.
2320 * testsuite/27_io/basic_filebuf/sputc/char/2.cc: Split into...
2321 * testsuite/27_io/basic_filebuf/sputc/char/2-in.cc: New.
2322 * testsuite/27_io/basic_filebuf/sputc/char/2-io.cc: New.
2323 * testsuite/27_io/basic_filebuf/sputc/char/2-out.cc: New.
2324 * testsuite/27_io/basic_filebuf/sputn/char/1.cc: Split into...
2325 * testsuite/27_io/basic_filebuf/sputn/char/1-in.cc: New.
2326 * testsuite/27_io/basic_filebuf/sputn/char/1-io.cc: New.
2327 * testsuite/27_io/basic_filebuf/sputn/char/1-out.cc: New.
2328 * testsuite/27_io/basic_filebuf/sputn/char/2-in.cc: New.
2329 * testsuite/27_io/basic_filebuf/sputn/char/2-io.cc: New.
2330 * testsuite/27_io/basic_filebuf/sputn/char/2-out.cc: New.
2331 * testsuite/data/sgetc.txt: New.
2332 * testsuite/data/sgetn.txt: New.
2334 2003-06-05 Paolo Carlini <pcarlini@unitus.it>
2337 * include/bits/istream.tcc (operator>>(basic_istream&, _CharT*)):
2338 Deal with width() smaller than zero.
2339 * include/bits/ostream.tcc (operator<<(basic_ostream&, _CharT),
2340 operator<<(basic_ostream&, char), operator<<(basic_ostream&, const
2341 _CharT*), operator<<(basic_ostream<_CharT, _Traits>&, const
2342 char*), operator<<(basic_ostream<char, _Traits>&, const char*),
2343 operator<<(basic_ostream, const basic_string&)): Likewise.
2345 * testsuite/27_io/basic_istream/extractors_character/char/
2346 (11095-i.cc, 11095-oa.cc, 11095-ob.cc, 11095-oc.cc): New.
2347 * testsuite/27_io/basic_ostream/inserters_character/char/
2348 (11095-oa.cc, 11095-ob.cc, 11095-oc.cc): New.
2349 * testsuite/27_io/basic_ostream/inserters_character/wchar_t/
2350 (11095-od.cc, 11095-oe.cc, 11095-of.cc): New.
2352 2003-06-05 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
2354 * acinclude.m4 (GLIBCPP_CHECK_PCH): Only set glibcpp_PCHFLAGS if
2355 .gch compilation works.
2356 * aclocal.m4, configure: Regenerate.
2357 * testsuite_flags.in (--build-cxx): Use glibcpp_PCHFLAGS to
2358 initialize PCHFLAGS.
2360 2003-06-04 Paolo Carlini <pcarlini@unitus.it>
2362 * include/bits/basic_string.h (_M_fold, insert(iterator, _CharT),
2363 erase(iterator), erase(iterator, iterator), c_str,
2364 compare(const basic_string&)): Constify various variables.
2365 * include/bits/basic_string.tcc (_S_construct(_InIter, _InIter,
2366 const _Alloc&, input_iterator_tag), _M_destroy, _M_mutate,
2367 _S_create, resize, _M_replace, _M_replace_safe,
2368 append(const basic_string&), append(const basic_string&, size_type,
2369 size_type), append(const _CharT*, size_type), append(size_type,
2370 _CharT), operator+(const _CharT*, const basic_string&),
2371 operator+(_CharT, const basic_string&), replace(iterator, iterator,
2372 size_type, _CharT), find(const _CharT*, size_type, size_type),
2373 find(_CharT, size_type), rfind(const _CharT*, size_type, size_type),
2374 rfind(_CharT, size_type), compare(size_type, size_type,
2375 const basic_string&), compare(size_type, size_type,
2376 const basic_string&, size_type, size_type), compare(const _CharT*),
2377 compare(size_type, size_type, const _CharT*), compare(size_type,
2378 size_type, const _CharT*, size_type)): Likewise.
2380 2003-06-03 Benjamin Kosnik <bkoz@redhat.com>
2382 * include/bits/fstream.tcc (pbackfail): Make a rarely taken
2383 'if' branch less obscure.
2385 2003-06-02 Andrew Pinski <pinskia@physics.uc.edu>
2388 * config/cpu/i386/atomicity.h (__exchange_and_add): add intel
2390 * config/cpu/i486/atomicity.h (__exchange_and_add): Likewise.
2391 (__atomic_add): likewise.
2393 2003-06-02 Paolo Carlini <pcarlini@unitus.it>
2395 * include/bits/sstream.tcc (pbackfail): Minor clean up and
2396 reformatting, consistent with basic_filebuf::pbackfail.
2398 2003-06-02 Richard Kreckel <Richard.Kreckel@GiNaC.DE>
2401 * config/cpu/mips/atomicity.h: Change __attribute__ ((unused)) to
2402 __attribute__ ((__unused__)).
2403 * config/os/aix/atomicity.h: Likewise.
2405 2003-06-02 Paolo Carlini <pcarlini@unitus.it>
2408 * include/bits/fstream.tcc (pbackfail): If the pback buffer
2409 is already active don't try to store in it a second char.
2410 * testsuite/27_io/basic_filebuf/pbackfail/char/9761.cc: New.
2412 * include/bits/fstream.tcc (pbackfail): Add unbuffered bits.
2414 2003-06-02 Paolo Carlini <pcarlini@unitus.it>
2416 * testsuite/27_io/basic_stringbuf/seekpos/char/3.cc: Tweak
2419 2003-06-02 Paolo Carlini <pcarlini@unitus.it>
2421 * include/std/std_fstream.h (_M_destroy_pback): Use _M_in_beg
2422 instead of unnecessarily taking the address of _M_pback.
2423 (xsgetn): Simplify slightly for a single char pback buffer.
2425 2003-06-02 Paolo Carlini <pcarlini@unitus.it>
2427 * include/bits/sstream.tcc (seekoff): Remove four unnecessary
2428 variables and two 'if', clean up.
2430 2003-06-02 Paolo Carlini <pcarlini@unitus.it>
2432 * include/bits/sstream.tcc (seekpos): Test against _M_out_lim
2433 not _M_out_end, since the former actually points to the string
2434 end (vs buffer end).
2435 * testsuite/27_io/basic_stringbuf/seekpos/char/3.cc: New.
2437 2003-05-30 Phil Edwards <pme@gcc.gnu.org>
2439 * docs/doxygen/filter: New file.
2440 * docs/doxygen/filter.sed: New file.
2441 * docs/doxygen/run_doxygen: Add g flag to sed substitutions. Duh.
2442 * docs/doxygen/user.cfg.in (INPUT_FILTER): Point to new filter.
2443 * docs/html/documentation.html: Fix links to doxygen pages.
2445 2003-05-30 Paolo Carlini <pcarlini@unitus.it>
2447 * include/bits/fstream.tcc (_M_convert_to_external): Don't
2448 check for __ilen > 0.
2450 2003-05-29 Sylvain Pion <Sylvain.Pion@mpi-sb.mpg.de>
2453 * include/bits/stl_iterator.h (class __normal_iterator):
2454 Don't inherit from iterator, add missing typedefs.
2456 2003-05-29 Paolo Carlini <pcarlini@unitus.it>
2458 * testsuite/24_iterators/reverse_iterator.cc: Split up, as follows.
2459 * testsuite/24_iterators/reverse_iterator/1.cc: New.
2460 * testsuite/24_iterators/reverse_iterator/2.cc: New.
2461 * testsuite/24_iterators/reverse_iterator/3.cc: New, from
2464 2003-05-27 Steve Ellcey <sje@cup.hp.com>
2466 * config/os/hpux/os_defines.h: Define _LIBUNWIND_STD_ABI if we are
2468 * libsupc++/eh_throw.cc: Don't call _Unwind_Resume_or_Rethrow if
2469 _LIBUNWIND_STD_ABI is set.
2471 2003-05-26 Brendan Kehoe <brendan@zen.org>
2473 * include/bits/locale_facets.tcc (do_get): Honor $22.2.6.3.3/8 and
2474 make sure the number of digits required after the decimal-point
2475 (if any) is exactly the value returned by frac_digits().
2476 * testsuite/22_locale/money_get/get/char/9.cc: New.
2477 * testsuite/22_locale/money_get/get/wchar_t/9.cc: New.
2479 2003-05-27 Jonathan Wakely <redi@gcc.gnu.org>
2481 * include/std/std_istream.h, include/std/std_ostream.h: Typo in
2484 2003-05-26 Benjamin Kosnik <bkoz@redhat.com>
2487 * include/std/std_fstream.h (basic_filebuf::_M_overflow): Remove.
2488 (_M_pback): No array necessary.
2489 * include/bits/fstream.tcc (basic_filebuf::_M_overflow): Add
2490 unbuffered case, coalesec into ...
2491 (basic_filebuf::overflow): ...this.
2492 * testsuite/27_io/basic_filebuf/sputn/char/9339.cc: New.
2493 * testsuite/27_io/basic_filebuf/sputc/char/2.cc: Unbuffered.
2495 2003-05-24 Nathanael Nerode <neroden@gcc.gnu.org>
2497 * libsupc++/Makefile.am, libsupc++/cxxabi.h, libsupc++/del_op.cc,
2498 libsupc++/del_opnt.cc, libsupc++/del_opv.cc, libsupc++/del_opvnt.cc,
2499 libsupc++/eh_alloc.cc, libsupc++/eh_aux_runtime.cc,
2500 libsupc++/eh_catch.cc, libsupc++/eh_exception.cc,
2501 libsupc++/eh_globals.cc, libsupc++/eh_personality.cc,
2502 libsupc++/eh_term_handler.cc, libsupc++/eh_terminate.cc,
2503 libsupc++/eh_throw.cc, libsupc++/eh_type.cc,
2504 libsupc++/eh_unex_handler.cc, libsupc++/exception,
2505 libsupc++/new, libsupc++/new_handler.cc, libsupc++/new_op.cc,
2506 libsupc++/new_opnt.cc, libsupc++/new_opv.cc, libsupc++/new_opvnt.cc,
2507 libsupc++/pure.cc, libsupc++/tinfo.cc, libsupc++/tinfo2.cc,
2508 libsupc++/typeinfo, libsupc++/unwind-cxx.h, libsupc++/vec.cc:
2509 Replace "GNU CC" with "GCC".
2511 * include/backward/new.h: Replace "GNU CC" with "GCC".
2513 2003-05-22 Benjamin Kosnik <bkoz@redhat.com>
2516 * configure.in: Switch target to host, don't assume newlib.
2517 (target_alias): Remove.
2518 * configure: Regenerate.
2519 * acinclude.m4: Same.
2520 * aclocal.m4: Regenerate.
2521 * configure.target: Same. Rename to...
2522 * configure.host: This.
2524 2003-05-22 Paolo Carlini <pcarlini@unitus.it>
2526 * include/std/std_fstream.h (_S_pback_size): Remove definition.
2527 (_M_create_pback(), _M_destroy_pback()): Simplify for a single-char
2529 * include/bits/fstream.tcc (_S_pback_size): Remove declaration.
2530 * testsuite/27_io/basic_filebuf/3.cc: Remove explicit instantiation
2531 of _S_pback_size for systems with no COMDAT or weak support.
2532 * testsuite/27_io/basic_filebuf/seekoff/10132-2.cc: Likewise.
2533 * testsuite/27_io/basic_filebuf/seekpos/10132-3.cc: Likewise.
2534 * testsuite/27_io/basic_filebuf/underflow/10096.cc: Likewise.
2535 * testsuite/27_io/basic_fstream/3.cc: Likewise.
2536 * testsuite/27_io/basic_ifstream/3.cc: Likewise.
2537 * testsuite/27_io/basic_istream/sentry/char/3983-fstream.cc: Likewise.
2538 * testsuite/27_io/basic_ofstream/3.cc: Likewise.
2539 * testsuite/27_io/basic_ostream/sentry/char/3983-fstream.cc: Likewise.
2540 * testsuite/27_io/basic_streambuf/3.cc: Likewise.
2542 2003-05-22 Paolo Carlini <pcarlini@unitus.it>
2544 * include/bits/fstream.tcc (_M_underflow): Simplify:
2545 !__testout implies _M_filepos == _M_in_end, therefore
2546 the first _M_file.seekoff call is never issued.
2548 2003-05-22 Benjamin Kosnik <bkoz@redhat.com>
2550 * configure.in: Sort cross table.
2551 * configure: Regenerate.
2553 2003-05-22 Brad Spencer <spencer@infointeractive.com>
2556 * configure.in: Add Solaris cross bits.
2558 2003-05-21 Danny Smith <dannysmith@users.sourceforge.net>
2560 * libstdc++-v3/config/os/mingw32/os_defines.h
2561 (__GTHREAD_HIDE_WIN32API): Define to 1 by defualt.
2562 (NOMINMAX): Define. Update copyright year.
2564 2003-05-21 Paolo Carlini <pcarlini@unitus.it>
2566 * include/std/std_fstream.h (_M_set_buffer): Fix indentation.
2568 2003-05-21 Jonathan Wakely <redi@gcc.gnu.org>
2570 * docs/html/faq/index.html: Fix typo.
2571 * docs/html/faq/index.txt: Regenerate.
2573 2003-05-21 Jonathan Wakely <redi@gcc.gnu.org>
2575 * docs/html/test.html: Fix markup.
2577 2003-05-21 Danny Smith <dannysmith@users.sourceforge.net>
2579 * libmath/stubs.c (hypot, hypotf, hypotl): Don't divide by
2581 Update copyright year.
2583 2003-05-20 Paolo Carlini <pcarlini@unitus.it>
2585 * testsuite/27_io/basic_filebuf/close/char/4.cc: Fix typo.
2587 2003-05-20 Paolo Carlini <pcarlini@unitus.it>
2589 * testsuite/27_io/basic_filebuf/close/char/5.cc: New file,
2590 further testing that upon filebuf::close() 27.8.1.1,3 is enforced.
2592 2003-05-20 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
2594 * include/bits/stl_alloc.h (__default_alloc_template::_S_chunk_alloc):
2595 Cast via void* to avoid -Wcast-align warnings.
2596 (__default_alloc_template::_S_refill): Likewise.
2598 2003-05-20 Benjamin Kosnik <bkoz@redhat.com>
2600 * testsuite/README: Move to...
2601 * docs/html/test.html: ...here. Add documentation.
2602 * docs/html/install.html: Move testing bits out..
2603 * docs/html/documentation.html: Add separate testing link.
2604 * testsuite/performance: Add.
2605 * testsuite/performance/allocator.cc: New.
2606 * testsuite/performance/complex_norm.cc: New.
2607 * testsuite/performance/cout_insert_int.cc: New.
2608 * testsuite/performance/fstream_seek_write.cc: New.
2609 * testsuite/performance/ifstream_getline.cc: New.
2610 * testsuite/performance/map_create_fill.cc: New.
2611 * testsuite/performance/ofstream_insert_float.cc: New.
2612 * testsuite/performance/ofstream_insert_int.cc: New.
2613 * testsuite/performance/string_append.cc: New.
2614 * testsuite/lib/libstdc++-v3-dg.exp (v3-compute-tests): Filter
2617 2003-05-20 Gabriel Dos Reis <gdr@integrable-solutions.net>
2620 * include/std/std_complex.h (pow): Tidy.
2622 2003-05-19 Paolo Carlini <pcarlini@unitus.it>
2624 * testsuite/27_io/basic_filebuf/close/char/4.cc: New file, testing
2625 that upon filebuf::close() 27.8.1.1,3 is enforced.
2627 2003-05-15 Loren J. Rittle <ljrittle@acm.org>
2629 * testsuite/thread/pthread4.cc: Further tweak to avoid fini race.
2631 2003-05-15 Paolo Carlini <pcarlini@unitus.it>
2632 Nathan Myers <ncm@cantrip.org>
2634 * include/bits/fstream.tcc (_M_overflow): Rewrote to call
2635 _M_convert_to_external only once (_M_buf_size is now the size of
2636 the put area + 1 for the overflow char of a full area); call
2637 _M_set_buffer instead of _M_set_indeterminate.
2638 (setbuf): Don't accept a buffer smaller than 2 chars.
2639 (_M_underflow): Refill _M_buf_size - 1 chars; call _M_set_buffer,
2640 instead of _M_set_determinate.
2641 (open): Call _M_set_buffer, instead of _M_set_indeterminate.
2642 (seekoff): Likewise.
2643 * include/ext/stdio_filebuf.h (stdio_filebuf(int,
2644 std::ios_base::openmode, bool, size_t),
2645 stdio_filebuf(std::__c_file*, std::ios_base::openmode, size_t):
2647 * include/std/std_fstream.h (_M_set_indeterminate): Remove.
2648 (_M_set_determinate): Rename as _M_set_buffer, _M_buf_size ->
2650 * include/std/std_streambuf.h: Tweak _M_out_lim comment.
2651 * testsuite/27_io/basic_filebuf/sgetn/char/1.cc: Tweak, taking
2652 into account that, for _M_buf_size == BUFSIZ == 8192, the size of
2653 the put area is now BUFSIZ - 1.
2654 * testsuite/ext/stdio_filebuf_2.cc: Tweak, taking into account
2655 that now the smallest _M_buf_size is 2 (still fails, for the same
2658 2003-05-14 Loren J. Rittle <ljrittle@acm.org>
2660 * testsuite/thread/pthread4.cc: Tweak test.
2662 2003-05-13 Benjamin Kosnik <bkoz@redhat.com>
2664 * testsuite/27_io/ios_base/cons/copy_neg.cc: Remove
2665 excess errors dg marker, use dg-errors instead.
2666 * testsuite/27_io/ios_base/cons/assign_neg.cc: Same.
2667 * testsuite/20_util/auto_ptr_neg.cc: Same.
2669 2003-05-12 Benjamin Kosnik <bkoz@redhat.com>
2671 * include/std/std_fstream.h (basic_filebuf::_M_codecvt): Add
2673 * include/bits/fstream.tcc (basic_filebuf::basic_filebuf):
2674 Initialize _M_codecvt.
2675 (basic_filebuf::imbue): Same.
2676 (basic_filebuf::showmanyc): Use it.
2677 (basic_filebuf::underflow): Use it.
2678 (basic_filebuf::_M_convert_to_external): Use it.
2679 (basic_filebuf::seekoff): Use it.
2680 (basic_filebuf::imbue): Use it, tweaks.
2681 * include/bits/localefwd.h (__check_facet): New.
2682 * include/bits/locale_classes.h: Tweaks.
2683 * include/bits/locale_facets.tcc: Tweaks.
2684 * include/bits/basic_ios.h (basic_ios::_M_check_facet): Remove.
2685 _M_fctype to _M_ctype, _M_fnumput to _M_num_put, _M_fnumget to
2686 _M_num_get. Change _M_check_facet to __check_facet. Tweaks.
2687 * include/bits/basic_ios.tcc: Same.
2688 * include/bits/istream.tcc: Same.
2689 * include/bits/ostream.tcc: Same.
2690 * include/std/std_streambuf.h: Same.
2691 * testsuite/27_io/basic_filebuf/imbue/char/2.cc: New.
2692 * testsuite/27_io/basic_filebuf/imbue/char/3.cc: New.
2693 * testsuite/27_io/basic_filebuf/imbue/wchar_t/1.cc: New.
2694 * testsuite/27_io/basic_filebuf/imbue/wchar_t/2.cc: New.
2695 * testsuite/27_io/basic_filebuf/imbue/wchar_t/3.cc: New.
2696 * testsuite/27_io/basic_filebuf/imbue/wchar_t/9322.cc: New.
2698 2003-05-12 Paolo Carlini <pcarlini@unitus.it>
2700 * testsuite/27_io/basic_filebuf/sgetc/char/1.cc: Remove
2701 unnecessary includes and unused string literals.
2702 * testsuite/27_io/basic_filebuf/sputbackc/char/1.cc: Likewise.
2703 * testsuite/27_io/basic_filebuf/sputc/char/1.cc: Likewise.
2704 * testsuite/27_io/basic_filebuf/sputn/char/1.cc: Likewise.
2705 * testsuite/27_io/basic_filebuf/sungetc/char/1.cc: Likewise.
2707 2003-05-12 Benjamin Kosnik <bkoz@redhat.com>
2709 * include/bits/fstream.tcc (_M_overflow): Remove unbuffered bits.
2711 2003-05-12 Paolo Carlini <pcarlini@unitus.it>
2713 * include/std/std_fstream.h (_M_convert_to_external): Change
2714 to return bool, take two less streamsize parameters.
2715 * include/bits/fstream.tcc (_M_convert_to_external): Tweak
2716 consistently definition.
2717 (_M_overflow): Adjust call points.
2719 2003-05-12 Benjamin Kosnik <bkoz@redhat.com>
2721 * testsuite/27_io/basic_filebuf/underflow/10096.cc: Add weak bits.
2723 2003-05-11 Phil Edwards <pme@gcc.gnu.org>
2725 * testsuite/Makefile.am: Properly quote /both/ LD_RUN_PATHs.
2726 * testsuite/Makefile.in: Regenerate.
2728 2003-05-11 Phil Edwards <pme@gcc.gnu.org>
2730 * testsuite/Makefile.am: Properly quote LD_RUN_PATH.
2731 * testsuite/Makefile.in: Regenerate.
2733 2003-05-11 Gabriel Dos Reis <gdr@integrable-solutions.net>
2736 * include/c_std/std_cmath.h: #include <bits/cpp_type_traits.h>
2737 (acos): Handle integer argument.
2756 * include/bits/cpp_type_traits.h (__are_same<>): New traits.
2757 (__enable_if): Likewise.
2758 * testsuite/26_numerics/cmath/overloads.C: New test.
2760 2003-05-10 Petur Runolfsson <peturr02@ru.is>
2765 * include/bits/fstream.tcc (basic_file::_M_underflow): Add generic
2766 implementation, based on old wchar_t specialization, add support
2767 for codecvt::in() return value of codecvt_base::noconv, remove
2768 _M_file.sys_ungetc() call.
2769 * include/std/std_fstream.h (basic_file::underflow,
2770 basic_file::uflow, basic_file::_M_underflow): Remove
2771 specialization declarations, call _M_underflow from generic versions
2772 of underflow and uflow.
2773 * src/fstream.cc (basic_file::underflow, basic_file::uflow,
2774 basic_file::_M_underflow): Remove specializations.
2775 * src/Makefile.am (sources): Remove fstream.cc.
2776 * src/Makefile.in: Regenerated.
2777 * testsuite/27_io/basic_filebuf/underflow/10096.cc: New test.
2778 * testsuite/27_io/basic_filebuf/underflow/char/1.cc: New test.
2779 * testsuite/27_io/basic_filebuf/underflow/char/9027.cc: New test.
2780 * testsuite/27_io/basic_filebuf/underflow/wchar_t/9520.cc: New test.
2782 2003-05-10 Benjamin Kosnik <bkoz@redhat.com>
2784 * include/ext/stdio_filebuf.h (__stdio_filebuf): Remove stack
2786 * config/io/basic_file_stdio.h (__basic_file::xsgetn): Remove
2788 (__basic_file::xsputn): Same.
2789 (__basic_file::seekoff): Same.
2790 (__basic_file::seekpos): Same.
2791 (__basic_file::showmanyc): Same.
2792 * config/io/basic_file_stdio.cc: Same.
2793 * include/std/std_fstream.h: Same.
2794 * include/bits/fstream.tcc: Same.
2795 * src/fstream.cc: Same.
2796 * testsuite/27_io/basic_filebuf/sgetn/char/1.cc (test05): Tidy.
2798 2003-05-10 Petur Runolfsson <peturr02@ru.is>
2803 * include/ext/stdio_sync_filebuf.h: New file.
2804 (basic_stdiobuf): New.
2805 * include/Makefile.am (ext_headers): Add ext/stdio_sync_filebuf.h
2806 * include/Makefile.in: Regenerate.
2807 * include/bits/ios_base.h (Init::_S_create_buffers,
2808 Init::_S_destroy_buffers): Remove declarations.
2809 * src/globals.cc (buf_cout_sync, buf_cin_sync, buf_cerr_sync,
2810 buf_wcout_sync, buf_wcin_sync, buf_wcerr_sync): Define.
2811 * src/ios.cc (Init::_S_create_buffers,
2812 Init::_S_destroy_buffers): Remove.
2813 (Init::Init): Create and use syncronized buffers.
2814 (ios_base::sync_with_stdio): Destroy syncronized buffers,
2815 create and install unsyncronized buffers.
2816 * testsuite/27_io/objects/char/10.cc: New test.
2817 * testsuite/27_io/objects/char/9.cc: New test.
2818 * testsuite/27_io/objects/char/9661-1.cc: New test.
2819 * testsuite/27_io/objects/char/9661-2_xin.cc: New test.
2820 * testsuite/27_io/objects/char/9661-2_xin.in: New.
2821 * testsuite/27_io/objects/wchar_t/1.cc: New test.
2822 * testsuite/27_io/objects/wchar_t/10.cc: New test.
2823 * testsuite/27_io/objects/wchar_t/2.cc: New test.
2824 * testsuite/27_io/objects/wchar_t/2523-1_xin.cc: New test.
2825 * testsuite/27_io/objects/wchar_t/2523-1_xin.in: New.
2826 * testsuite/27_io/objects/wchar_t/2523-2_xin.cc: New test.
2827 * testsuite/27_io/objects/wchar_t/2523-2_xin.in: New.
2828 * testsuite/27_io/objects/wchar_t/3045.cc: New test.
2829 * testsuite/27_io/objects/wchar_t/3647.cc: New test.
2830 * testsuite/27_io/objects/wchar_t/3_xin.cc: New test.
2831 * testsuite/27_io/objects/wchar_t/3_xin.in: New.
2832 * testsuite/27_io/objects/wchar_t/4_xin.cc: New test.
2833 * testsuite/27_io/objects/wchar_t/4_xin.in: New.
2834 * testsuite/27_io/objects/wchar_t/5.cc: New test.
2835 * testsuite/27_io/objects/wchar_t/5268.cc: New test.
2836 * testsuite/27_io/objects/wchar_t/5280_xin.cc: New test.
2837 * testsuite/27_io/objects/wchar_t/5280_xin.in: New.
2838 * testsuite/27_io/objects/wchar_t/6.cc: New test.
2839 * testsuite/27_io/objects/wchar_t/6548_xin.cc: New test.
2840 * testsuite/27_io/objects/wchar_t/6548_xin.in: New.
2841 * testsuite/27_io/objects/wchar_t/6648-1_xin.cc: New test.
2842 * testsuite/27_io/objects/wchar_t/6648-1_xin.in: New.
2843 * testsuite/27_io/objects/wchar_t/6648-2_xin.cc: New test.
2844 * testsuite/27_io/objects/wchar_t/6648-2_xin.in: New.
2845 * testsuite/27_io/objects/wchar_t/7.cc: New test.
2846 * testsuite/27_io/objects/wchar_t/7744_xin.cc: New test.
2847 * testsuite/27_io/objects/wchar_t/7744_xin.in: New.
2848 * testsuite/27_io/objects/wchar_t/8.cc: New test.
2849 * testsuite/27_io/objects/wchar_t/9_xin.cc: New test.
2850 * testsuite/27_io/objects/wchar_t/9_xin.in: New.
2851 * testsuite/27_io/objects/wchar_t/9520.cc: New test.
2852 * testsuite/27_io/objects/wchar_t/9661-1.cc: New test.
2853 * testsuite/27_io/objects/wchar_t/9661-2_xin.cc: New test.
2854 * testsuite/27_io/objects/wchar_t/9661-2_xin.in: New.
2855 * testsuite/27_io/objects/wchar_t/9662.cc: New test.
2856 * testsuite/ext/stdiobuf_char.cc: New test.
2857 * testsuite/ext/stdiobuf_wchar_t.cc: New test.
2859 2003-05-10 Paolo Carlini <pcarlini@unitus.it>
2861 * testsuite/27_io/basic_filebuf/close/char/3.cc: Remove
2862 unnecessary includes and unused string literals.
2863 * testsuite/27_io/basic_filebuf/in_avail/char/1.cc: Likewise.
2865 2003-05-08 Paolo Carlini <pcarlini@unitus.it>
2867 * include/std/std_streambuf.h (setg, setp): Don't touch _M_mode.
2869 2003-05-07 Richard Henderson <rth@redhat.com>
2872 * libsupc++/eh_catch.cc (__cxa_begin_catch): Handle foreign exceptions.
2873 (__cxa_end_catch): Likewise.
2874 * libsupc++/eh_throw.cc (__cxa_rethrow): Likewise. Use
2875 _Unwind_Resume_or_Rethrow.
2876 * libsupc++/eh_personality.cc (empty_exception_spec): New.
2877 (PERSONALITY_FUNCTION): Don't ignore terminate or catch-all
2878 for _UA_FORCE_UNWIND. Honor empty filter spec for foreign
2879 exceptions. Don't push terminate/unexpected to cxa functions.
2880 (__cxa_call_unexpected): Remove foreign exception fixmes.
2882 2003-05-07 Benjamin Kosnik <bkoz@redhat.com>
2884 * testsuite/27_io/ios_base/cons: New.
2885 * testsuite/27_io/ios_base/cons/assign_neg.cc: New.
2886 * testsuite/27_io/ios_base/cons/copy_neg.cc: New.
2888 2003-05-07 Paolo Carlini <pcarlini@unitus.it>
2890 * include/std/std_fstream.h (_M_is_indeterminate): Remove.
2892 (basic_filebuf<char/wchar_t>::_M_underflow): Simplify: either
2893 there is no buffer or __testget == !__testinit.
2896 (basic_filebuf<char/wchar_t>::_M_underflow): _M_set_determinate()
2897 automatically sets, if appropriate, _M_out_cur == _M_in_cur.
2899 * include/std/std_fstream.h (_M_destroy_pback): Don't set
2900 unnecessarily _M_pback_cur_save and _M_pback_end_save.
2902 * include/std/std_fstream.h (_M_set_determinate): Minor tweak.
2904 * include/std/std_sstream.h (_M_sync): Minor tweak.
2906 * include/bits/fstream.tcc (close): No need to call
2907 _M_destroy_pback, setting _M_pback_init to false suffices
2910 2003-05-06 Benjamin Kosnik <bkoz@redhat.com>
2912 * include/bits/stl_algo.h: Enums as _S_.
2913 * include/bits/stl_tree.h: Same.
2914 * include/bits/stl_bvector.h: Same.
2915 * include/bits/ios_base.h: Same.
2916 * include/bits/stl_alloc.h: Same.
2917 * include/ext/stl_hashtable.h: Same.
2918 * src/ios.cc: And here.
2920 * include/std/std_sstream.h: Replace _M_really_sync to _M_sync.
2921 * include/bits/sstream.tcc: Same.
2923 * include/bits/basic_ios.h: Correct spacing for '< ctype'.
2925 * include/bits/locale_facets.tcc: Replace __temp to __tmp.
2927 * include/bits/locale_facets.h (__num_base): Remove protected.
2928 Use _S_[io]* names for enumerations.
2929 (_S_format_int): Remove.
2930 * include/bits/locale_facets.tcc: Same.
2931 * src/locale.cc: Same.
2933 * include/std/std_sstream.h (stringbuf::str): Tweak formatting.
2935 2003-05-06 Phil Edwards <pme@gcc.gnu.org>
2937 * docs/html/faq/index.html (3.10): Add note about mips atomicity.h.
2938 * docs/html/faq/index.txt: Regenerated.
2940 2003-05-06 Michael Ritzert <Ritzert@t-online.de>
2941 Matt Kraai <kraai@alumni.cmu.edu>
2943 * include/ext/stl_rope.h (_Rope_RopeRep<>::_M_c_string_lock): Tweak.
2946 2003-05-06 Richard Sandiford <rsandifo@redhat.com>
2948 * configure.target (mips*): Use the generic atomicity.h by default.
2950 2003-05-05 Loren J. Rittle <ljrittle@acm.org>
2951 (Inspired by an alternate patch from Danny Smith.)
2953 * include/bits/stl_threads.h (_Atomic_swap): Kill it...
2954 (_Swap_lock_struct<>): ...and the horse it rode in on.
2955 * src/globals.cc (_Swap_lock_struct<>): Likewise.
2956 * include/ext/stl_rope.h (_Rope_RopeRep<>::_M_c_string_lock): New
2957 member to support...
2958 * include/ext/ropeimpl.h (rope<>::c_str): Follow *all* memory
2959 visibility rules related to POSIX threads.
2960 * testsuite/thread/pthread7-rope.cc: New test.
2962 2003-05-04 Paolo Carlini <pcarlini@unitus.it>
2964 * testsuite/21_strings/basic_string/find/char/3.cc: New
2965 file, testing basic_string<char>::find_first_not_of.
2966 * testsuite/21_strings/basic_string/find/wchar_t/3.cc:
2967 Likewise for basic_string<wchar_t>.
2969 2003-05-03 Loren J. Rittle <ljrittle@acm.org>
2971 * testsuite/thread/pthread1.cc: Remove special case for FreeBSD.
2973 2003-05-02 Benjamin Kosnik <bkoz@redhat.com>
2975 * include/Makefile.am (CLEANFILES): Remove PCH files in target
2977 * include/Makefile.in: Regenerate.
2979 2003-05-02 Paolo Carlini <pcarlini@unitus.it>
2981 * include/std/std_sstream.h (str()): Tidy.
2983 2003-05-02 Nathan Myers <ncm@cantrip.org>
2984 Paolo Carlini <pcarlini@unitus.it>
2986 * include/bits/streambuf.tcc (__copy_streambufs): Rewrote.
2988 2003-05-02 Jonathan Wakely <redi@gcc.gnu.org>
2990 * include/bits/basic_string.h (swap): Remove redundant template
2991 parameters from declaration of non-template member function.
2993 2003-05-01 Phil Edwards <pme@gcc.gnu.org>
2995 * acconfig.h (_GLIBCPP_USE_NLS): New symbol.
2996 * configure.in: Move libintl.h header test...
2997 * acinclude.m4 (GLIBCPP_ENABLE_CLOCALE): ...to here. Gather all
2998 the NLS-related test results into one symbol.
2999 * src/functexcept.cc: Use it here.
3000 * aclocal.m4, config.h.in, configure: Regenerated.
3002 2003-05-01 Paolo Carlini <pcarlini@unitus.it>
3004 * include/bits/sstream.tcc (overflow): Instead of calling
3005 str(), then _M_string.reserve, thus copying the contents
3006 of the current buffer two times, just copy the latter in
3007 a temporary, then use the 'swap trick'.
3009 2003-05-01 Paolo Carlini <pcarlini@unitus.it>
3011 * include/std/std_sstream.h (str()): Revert the best of the
3012 previous 'improvement', incorrect due to the COW nature of
3013 v3 basic_string; simplify.
3015 2003-05-01 Paolo Carlini <pcarlini@unitus.it>
3017 * include/bits/streambuf.tcc (__copy_streambufs): Adjust the
3018 type of __avail to ptrdiff_t to avoid signed-unsigned warning.
3020 2003-05-01 Benjamin Kosnik <bkoz@redhat.com>
3022 * testsuite/abi_check.cc (check_version): Update known versions.
3023 Check added symbols for version_name != base version. Add missing
3024 symbols to incompatible list.
3026 2003-05-01 Benjamin Kosnik <bkoz@redhat.com>
3028 * acinclude.m4 (GLIBCPP_EXPORT_FLAGS): Remove -Winline.
3029 * aclocal.m4: Regenerated.
3030 * configure: Regenerated.
3032 2003-05-01 Paolo Carlini <pcarlini@unitus.it>
3034 * include/bits/streambuf.tcc (basic_streambuf::xsgetn):
3035 Const-ify some variables.
3036 (basic_streambuf::xsputn): Likewise; change the type of some
3037 variables to size_t.
3038 (__copy_streambufs): Change some variables to size_t.
3040 2003-05-01 Paolo Carlini <pcarlini@unitus.it>
3042 * include/std/std_sstream.h (str()): Avoid constructing
3043 a basic_string temporary not only when it would turn out
3044 to be zero-sized but also when identical to the current
3047 2003-05-01 Paolo Carlini <pcarlini@unitus.it>
3049 * include/ext/stdio_filebuf.h
3050 (stdio_filebuf(int, std::ios_base::openmode, bool, size_t),
3051 stdio_filebuf(std::__c_file*, std::ios_base::openmode, size_t)):
3052 Shorten a bit (-10 lines) by factoring out some code.
3054 2003-04-30 Phil Edwards <pme@gcc.gnu.org>
3056 * acinclude.m4: Add bit missing from previous patch.
3057 * aclocal.m4, configure: Regenerated.
3059 2003-04-29 Phil Edwards <pme@gcc.gnu.org>
3061 * docs/doxygen/mainpage.html: Bring up to date.
3062 * docs/doxygen/run_doxygen: Cosmetic tweaks. Work around a bug
3064 * docs/doxygen/user.cfg.in: Scanning the precompiled headers
3065 breaks everything. Don't scan them.
3066 * docs/html/documentation.html: Point to "Write after approval"
3069 2003-04-29 Phil Edwards <pme@gcc.gnu.org>
3071 * acinclude.m4 (GLIBCPP_ENABLE_CLOCALE): Search for gettext outside
3072 of libc if message translations are being used. Fix info text in
3073 xieee_1003.1-2001 case.
3074 * aclocal.m4, configure: Regenerate.
3076 2003-04-29 Joel Sherrill <joel.sherrill@OARcorp.com>
3077 Loren J. Rittle <ljrittle@acm.org>
3078 Martin v. Loewis <martin@v.loewis.de>
3080 * config/cpu/i386/atomicity.h: New file.
3082 2003-04-29 Paolo Carlini <pcarlini@unitus.it>
3084 * include/bits/fstream.tcc (open): Change to single return.
3086 2003-04-29 Paolo Carlini <pcarlini@unitus.it>
3088 * include/std/std_sstream.h (underflow): Change to single return.
3090 2003-04-28 Paolo Carlini <pcarlini@unitus.it>
3092 * include/std/std_streambuf.h (_M_buf): is currently
3093 used only for basic_filebuf, therefore move it there.
3094 (basic_streambuf(), ~basic_streambuf()): Adjust.
3095 * include/std/std_fstream.h (_M_buf): Moved here.
3096 * include/std/std_sstream.h (setbuf): Don't set _M_buf,
3097 is actually redundant for basic_stringbuf.
3098 (_M_really_sync): Likewise.
3099 * include/bits/fstream.tcc (basic_filebuf()): Adjust.
3100 * include/bits/sstream.tcc (seekoff): Adjust.
3102 2003-04-28 Benjamin Kosnik <bkoz@redhat.com>
3104 * src/localename.cc: Standardize exception strings.
3105 * src/locale.cc: Same.
3107 * include/bits/basic_string.tcc: Same.
3108 * include/bits/basic_ios.tcc: Same.
3109 * include/std/std_bitset.h: Same.
3110 * include/ext/ropeimpl.h: Same.
3111 * include/bits/stl_vector.h: Same.
3112 * include/bits/stl_deque.h: Same.
3113 * include/bits/stl_bvector.h: Same.
3114 * config/locale/generic/c_locale.cc: Same.
3115 * config/locale/gnu/c_locale.cc: Same.
3116 * config/locale/ieee_1003.1-2001/codecvt_specializations.h: Same.
3118 * testsuite/testsuite_hooks.cc (__gnu_cxx_test): Modify.
3120 2003-04-28 Paolo Carlini <pcarlini@unitus.it>
3122 * include/std/std_streambuf.h (_M_buf_size): is currently
3123 used only for basic_filebuf, therefore move it there.
3124 (basic_streambuf(), ~basic_streambuf()): Adjust.
3125 * include/std/std_fstream.h (_M_buf_size): Moved here.
3126 * include/bits/fstream.tcc (basic_filebuf()): Adjust.
3128 2003-04-28 Paolo Carlini <pcarlini@unitus.it>
3130 * include/bits/streambuf.tcc (__copy_streambufs): Don't use
3131 _M_buf_size (synced input is now correctly dealt with
3132 elsewhere); when the output buffer is full don't fall back
3133 to a snextc-sputc loop, call overflow instead.
3135 2003-04-28 Paolo Carlini <pcarlini@unitus.it>
3137 * include/bits/sstream.tcc (pbackfail): Shorten a bit (6 lines)
3138 the innermost 'if' by factoring out some code.
3140 2003-04-28 Phil Edwards <pme@gcc.gnu.org>
3142 * configure.in: Test for libintl.h.
3143 * include/bits/c++config: Define __N for everybody.
3144 * include/bits/basic_string.h, include/bits/stl_bvector.h,
3145 include/bits/stl_deque.h, include/bits/stl_vector.h,
3146 include/std/std_bitset.h: Wrap all __throw* text with __N.
3147 * po/Makefile.am (pot): New rule, mostly working.
3148 * src/functexcept.cc: Call gettext on all __throw* arguments when
3149 -fexceptions is in effect.
3150 * po/Makefile.in, config.h.in, configure: Regenerate.
3152 2003-04-28 Petur Runolfsson <peturr02@ru.is>
3155 * include/bits/ios_base.h (Init::_S_ios_create,
3156 Init::_S_ios_destroy): Remove declarations.
3157 (Init::_S_create_buffers,
3158 Init::_S_destroy_buffers): Declare
3159 * src/ios.cc (Init::_S_ios_create): Remove
3160 (Init::_S_create_buffers): Create buffers and add to streams.
3161 (Init::_S_ios_destroy): Rename to...
3162 (Init::_S_destroy_buffers): this.
3163 (Init::Init): Only construct streams once.
3164 (Init::~Init): Flush streams, don't destroy them.
3165 (ios_base::sync_with_stdio): Don't destroy streams, only buffers.
3166 * testsuite/27_io/ios_base/sync_with_stdio/9523.cc: New test.
3167 * testsuite/27_io/objects/char/5.cc: New test.
3168 * testsuite/27_io/objects/char/5268.cc: Avoid undefined behavior.
3169 * testsuite/27_io/objects/char/6.cc: New test.
3170 * testsuite/27_io/objects/char/7.cc: New test.
3172 2003-04-28 Benjamin Kosnik <bkoz@redhat.com>
3174 * testsuite/27_io/objects/char/8.cc: New test.
3176 2003-04-28 Benjamin Kosnik <bkoz@redhat.com>
3178 * testsuite/22_locale/codecvt/unicode/char.cc: Remove bom usage.
3179 * testsuite/22_locale/codecvt/unicode/wchar_t.cc: Same.
3181 2003-04-27 Benjamin Kosnik <bkoz@redhat.com>
3183 * include/std/std_fstream.h (basic_filebuf): _M_pback_destroy to
3184 _M_destroy_pback. _M_pback_create to
3185 _M_create_pback. _M_underflow_common to
3186 _M_underflow. _M_really_overflow to _M_overflow.
3187 * include/bits/fstream.tcc: Same.
3188 * src/fstream.cc: Same.
3189 * include/std/std_streambuf.h (basic_streambuf): _M_in_cur_move to
3190 _M_move_in_cur. _M_out_cur_move to _M_move_out_cur.
3191 * include/bits/streambuf.tcc: Same.
3192 * include/bits/fstream.tcc: Same.
3193 * include/bits/sstream.tcc: Same.
3195 2003-04-27 Benjamin Kosnik <bkoz@redhat.com>
3197 * include/bits/locale_classes.h (locale::_Impl): Change _M_names
3198 from fixed size array.
3199 (locale): Change _S_categories as well.
3201 * include/bits/locale_facets.tcc: Tweak.
3202 * config/locale/gnu/c_locale.cc: Assign _S_categories.
3203 * config/locale/generic/c_locale.cc: Same.
3204 * src/locale.cc: Tweak.
3205 * src/globals.cc: Change facet_name to name_vec, add names_c.
3206 * src/localename.cc: Use them.
3207 (locale::_Impl::~_Impl): Destroy _M_names.
3208 (locale::_Impl::_Impl): Create _M_names.
3210 2003-04-27 Andreas Schwab <schwab@suse.de>
3212 * config/locale/ieee_1003.1-2001/codecvt_specializations.h
3213 (__enc_traits): Use __ibom and __ebom instead of ignoring them.
3215 2003-04-27 Nathan Myers <ncm@cantrip.org>
3217 Move some basic_string members out of line because
3218 they are too big to reasonably be inline.
3219 * include/bits/basic_string.h
3220 (assign(const basic_string&, size_type, size_type),
3221 assign(const _CharT*, size_type),
3222 insert(size_type, const basic_string&, size_type, size_type),
3223 insert(size_type, const _CharT*, size_type),
3224 replace(size_type, size_type, const _CharT*, size_type)):
3225 Move from here to...
3226 * include/bits/basic_string.tcc: ...here.
3228 2003-04-26 Paolo Carlini <pcarlini@unitus.it>
3230 * include/bits/fstream.tcc (pbackfail): Shorten a bit (10 lines)
3231 the innermost 'if' by factoring out some code.
3233 2003-04-26 Paolo Carlini <pcarlini@unitus.it>
3235 * include/bits/streambuf.tcc (__copy_streambufs): Don't
3236 use in_avail(), simplify.
3238 2003-04-26 Paolo Carlini <pcarlini@unitus.it>
3240 * include/std/std_sstream.h (setbuf): don't set _M_buf_size,
3241 in basic_stringbuf it's unused.
3243 * include/std/std_sstream.h (underflow): consistently use
3244 _M_in_cur, not gptr().
3246 2003-04-25 Ranjit Mathew <rmathew@hotmail.com>
3247 Phil Edwards <pme@gcc.gnu.org>
3249 * testsuite_flags.in: Guard against the possibility
3250 of having "xgcc" as a part of a folder name in the
3251 path to the GCC build folder.
3252 * testsuite/Makefile.am: Likewise.
3253 * testsuite/Makefile.in: Regenerated.
3255 2003-04-25 Benjamin Kosnik <bkoz@redhat.com>
3258 * include/std/std_fstream.h (basic_filebuf::is_open): Add throw()
3259 exception specifications.
3260 (basic_filebuf::close): Same.
3261 (basic_filebuf::_M_pback_destroy): Same.
3262 (basic_filebuf::_M_destroy_internal_buffer): Same.
3263 (basic_filebuf): Remove __res_type typedef.
3264 * src/fstream.cc: Same.
3265 * include/bits/fstream.tcc
3266 (basic_filebuf::_M_convert_to_external): Simplify.
3267 (basic_filebuf::seekoff): Use has_facet before use_facet.
3268 (basic_filebuf::close): Add exception specification of throw().
3269 * testsuite/27_io/basic_filebuf/cons: New.
3270 * testsuite/27_io/basic_filebuf/cons/wchar_t: New.
3271 * testsuite/27_io/basic_filebuf/cons/wchar_t/10132-1.cc: New.
3272 * testsuite/27_io/basic_filebuf/seekoff/10132-2.cc: New.
3273 * testsuite/27_io/basic_filebuf/seekpos/10132-3.cc: New.
3275 2003-04-25 Benjamin Kosnik <bkoz@redhat.com>
3277 * include/bits/locale_classes.h
3278 (locale::_S_extra_categories_size): Remove.
3279 * src/locale.cc: Remove _S_extra_categories_size.
3280 * src/localename.cc: Same.
3281 * config/locale/gnu/c_locale.cc: Same.
3282 * config/locale/generic/c_locale.cc: Same.
3284 2003-04-24 Richard Sandiford <rsandifo@redhat.com>
3286 * src/localename.cc (__gnu_cxx::facet_vec): Correct types.
3288 2003-04-24 Phil Edwards <pme@gcc.gnu.org>
3290 * docs/html/17_intro/howto.html: Update some links.
3291 * docs/html/18_support/howto.html: Link doxygen numeric_limits notes.
3292 * docs/html/27_io/howto.html: Link doxygen stdio_filebuf notes.
3293 * docs/html/ext/howto.html: Link to demangler notes and API.
3294 * docs/html/faq/index.html: Remove trailing whitespace.
3295 (1.4, 2.4, 3.8, 4.1): Bring up to date.
3296 (5.6): Change to a bulleted list.
3298 * docs/html/faq/index.txt, docs/html/documentation.html,
3299 docs/html/17_intro/porting.html: Regenerate.
3301 2003-04-23 Paolo Carlini <pcarlini@unitus.it>
3303 * testsuite/27_io/basic_filebuf/3.cc: _S_pback_size now
3304 belongs to basic_filebuf.
3305 * testsuite/27_io/basic_fstream/3.cc: Likewise.
3306 * testsuite/27_io/basic_ifstream/3.cc: Likewise.
3307 * testsuite/27_io/basic_ios/3.cc: Remove _S_pback_size
3308 instantiation (now belongs to basic_filebuf).
3309 * testsuite/27_io/basic_iostream/3.cc: Likewise.
3310 * testsuite/27_io/basic_istream/3.cc: Likewise.
3311 * testsuite/27_io/basic_istream/sentry/char/3983-fstream.cc:
3312 _S_pback_size now belongs to basic_filebuf.
3313 * testsuite/27_io/basic_istringstream/3.cc: Remove _S_pback_size
3314 instantiation (now belongs to basic_filebuf).
3315 * testsuite/27_io/basic_ofstream/3.cc: _S_pback_size now
3316 belongs to basic_filebuf.
3317 * testsuite/27_io/basic_ostream/3.cc: Remove _S_pback_size
3318 instantiation (now belongs to basic_filebuf).
3319 * testsuite/27_io/basic_ostream/sentry/char/3983-fstream.cc:
3320 _S_pback_size now belongs to basic_filebuf.
3321 * testsuite/27_io/basic_ostringstream/3.cc: Remove _S_pback_size
3322 instantiation (now belongs to basic_filebuf).
3323 * testsuite/27_io/basic_streambuf/3.cc: _S_pback_size now belongs
3325 * testsuite/27_io/basic_stringbuf/3.cc: Remove _S_pback_size
3326 instantiation (now belongs to basic_filebuf).
3327 * testsuite/27_io/basic_stringstream/3.cc: Likewise.
3329 2003-04-23 Benjamin Kosnik <bkoz@redhat.com>
3331 * configure.in: Move GLIBCPP_CHECK_PCH before native/cross conditions.
3332 * configure: Regenerated.
3334 2003-04-23 Benjamin Kosnik <bkoz@redhat.com>
3336 * config/locale/generic/c_locale.h (__convert_from_v): Use
3339 2003-04-23 Phil Edwards <pme@gcc.gnu.org>
3341 * docs/html/ext/howto.html ('LWG Issues'): Add issue 60, partial
3342 implementation only.
3343 * include/bits/istream.tcc (putback, unget, sync, tellg, seekg):
3344 Comment and change to comply with DR 60 and the effect on gcount().
3345 * include/std/std_istream.h: Update comments.
3346 * testsuite/27_io/basic_istream/putback/char/1.cc (test01): Add
3347 comments about reasons for tests. Test sync() against gcount().
3348 * testsuite/27_io/basic_istream/seekg/char/2.cc: New file, test
3349 for effect on gcount().
3350 * testsuite/27_io/basic_istream/tellg/char/2.cc: New file, test
3351 for effect on gcount().
3353 2003-04-22 Loren J. Rittle <ljrittle@acm.org>
3355 * testsuite/27_io/basic_filebuf/close/char/9964.cc (test_07):
3358 2003-04-22 Paolo Carlini <pcarlini@unitus.it>
3360 * include/std/std_streambuf.h (_S_pback_size, _M_pback,
3361 _M_pback_cur_save, _M_pback_end_save, _M_pback_init,
3362 _M_pback_create(), _M_pback_destroy()): Move to basic_filebuf.
3363 (basic_streambuf::basic_streambuf()): Adjust.
3364 * include/std/std_fstream.h (_S_pback_size, _M_pback,
3365 _M_pback_cur_save, _M_pback_end_save, _M_pback_init,
3366 _M_pback_create(), _M_pback_destroy()): Moved here
3367 from basic_streambuf.
3368 * include/bits/fstream.tcc (basic_filebuf::basic_filebuf()):
3370 (basic_filebuf::_S_pback_size): Add declaration.
3371 * include/bits/streambuf.tcc (basic_streambuf::_S_pback_size):
3374 2003-04-21 Paolo Carlini <pcarlini@unitus.it>
3376 Consistently use _M_in_beg instead of eback(), _M_in_cur
3377 instead of gptr(), and so on.
3378 * include/bits/fstream.tcc (pbackfail, imbue): Here.
3379 * include/bits/sstream.tcc (pbackfail, seekoff, seekpos): Ditto.
3380 * include/bits/streambuf.tcc (sbumpc, sputbackc,
3381 __copy_streambufs): Ditto.
3382 * include/std/std_streambuf.h (sgetc): Ditto.
3384 2003-04-21 Paolo Carlini <pcarlini@unitus.it>
3386 * include/bits/sstream.tcc (pbackfail, overflow):
3389 2003-04-21 Paolo Carlini <pcarlini@unitus.it>
3391 * include/std/std_streambuf.h (uflow()): It's used only by
3392 basic_stringbuf (i.e., basic_filebuf provide its own uflow()),
3393 therefore do not consider the _M_buf_unified == true case.
3395 * include/std/std_streambuf.h (sgetc()): Restore __ret variable.
3397 2003-04-20 Paolo Carlini <pcarlini@unitus.it>
3399 * docs/html/ext/howto.html ('LWG Issues'):
3400 Add issues 19, 90, 171, 231, 271.
3402 2003-04-20 Paolo Carlini <pcarlini@unitus.it>
3404 * include/bits/sstream.tcc (pbackfail): Remove redundant
3405 NULL pointer check from test involving _M_in_*.
3406 (overflow, seekoff, seekpos): Const qualify bool variables.
3407 * include/std/std_sstream.h (underflow): Remove redundant
3408 NULL pointer check from test involving _M_in_*.
3409 (_M_really_sync): Const qualify bool variables.
3410 * src/fstream.cc (_M_underflow_common): Remove redundant
3411 NULL pointer check from test involving _M_in_*, const qualify
3414 * include/std/std_streambuf.h (sgetc): Remove redundant
3417 2003-04-18 Paolo Carlini <pcarlini@unitus.it>
3419 According to 5.9 para 2 (second bullet) for pointers p, q
3420 pointing to the same type, with p == 0 and q == 0, (p < q)
3422 * include/bits/fstream.tcc (close, overflow, _M_really_overflow,
3423 seekoff): Remove redundant NULL pointer checks from tests
3424 involving _M_out_* and _M_in_*, const qualify bool variables.
3425 (showmanyc, pbackfail, _M_convert_to_external, imbue): Const
3426 qualify bool variables.
3427 * include/bits/streambuf.tcc (sbumpc, sputbackc, sungetc, sputc):
3428 Remove redundant NULL pointer checks from tests involving
3429 _M_out_* and _M_in_*, const qualify bool variables.
3430 * include/std/std_fstream.h (sync): Likewise.
3431 (_M_is_indeterminate): Const qualify bool variables.
3432 * include/std/std_streambuf.h (sgetc, uflow): Remove redundant
3433 NULL pointer checks from tests involving _M_out_* and _M_in_*,
3434 const qualify bool variables.
3435 (_M_in_cur_move, _M_out_cur_move, uflow): Const qualify bool
3438 2003-04-18 Loren J. Rittle <ljrittle@acm.org>
3440 * include/c_std/std_cmath.h (C99 FP capture): Only undefine said
3441 C99 FP macros, if actually captured.
3443 * docs/html/17_intro/porting.texi (_GLIBCPP_USE_C99_CHECK): New macro.
3444 (_GLIBCPP_USE_C99_DYNAMIC): New macro.
3445 (_GLIBCPP_USE_C99_LONG_LONG_CHECK): New macro.
3446 (_GLIBCPP_USE_C99_LONG_LONG_DYNAMIC): New macro.
3447 * config/os/bsd/freebsd/os_defines.h (_GLIBCPP_USE_C99_CHECK):
3449 (_GLIBCPP_USE_C99_DYNAMIC): New macro.
3450 (_GLIBCPP_USE_C99_LONG_LONG_CHECK): New macro.
3451 (_GLIBCPP_USE_C99_LONG_LONG_DYNAMIC): New macro.
3452 * include/c_std/std_cstdlib.h: Use new macros.
3453 * include/c_std/std_cstdio.h: Use new macros.
3454 * include/c_std/std_cwchar.h: Use new macros.
3456 2003-04-17 Benjamin Kosnik <bkoz@redhat.com>
3459 * include/bits/ostream.tcc: Catch all exceptions for formatted
3460 output, instead of std::exception and derivatives.
3461 * include/bits/istream.tcc: Same.
3462 * testsuite/27_io/basic_ostream/inserters_arithmetic/char/9555-oa.cc:
3463 * testsuite/27_io/basic_ostream/inserters_character/char/9555-oc.cc:
3464 * testsuite/27_io/basic_ostream/inserters_other/char/9555-oo.cc:
3465 * testsuite/27_io/basic_istream/extractors_arithmetic/char/9555-ia.cc:
3466 * testsuite/27_io/basic_istream/extractors_character/char/9555-ic.cc:
3467 * testsuite/27_io/basic_istream/extractors_other/char/9555-io.cc:
3470 2003-04-17 Phil Edwards <pme@gcc.gnu.org>
3472 * include/bits/c++config: Minor cosmetic tweaks.
3474 2003-04-17 Loren J. Rittle <ljrittle@acm.org>
3476 * testsuite_flags.in (PCHFLAGS): Find PCH in new home.
3477 * include/Makefile.am (pch_input): Find in ${target_builddir}.
3478 (pch_output): Rename to...
3479 (pch_output_builddir): ..this. Find in ${target_builddir}.
3480 (pch_source): Tweak.
3481 (pch_build): Key off a built file.
3482 (pch_output rule): Rename to...
3483 (pch_input rule): ...this. Produce ${pch_output_builddir}
3484 instead of ${pch_output}.
3485 (install-pch rule): Install ${pch_output_builddir}.
3486 * include/Makefile.in: Regenerated.
3488 2003-04-17 Paolo Carlini <pcarlini@unitus.it>
3490 * include/std/std_streambuf.h (setp): _M_out_lim, being
3491 the end limit of used put area, is set equal to _M_out_beg.
3493 2003-04-16 Benjamin Kosnik <bkoz@redhat.com>
3495 * acinclude.m4 (GLIBCPP_CHECK_PCH): New.
3496 * aclocal.m4: Regenerated.
3497 * configure.in: Remove old demangler bits.
3499 * configure: Regenerate.
3500 * config.h.in: Regenerate.
3501 * include/Makefile.am (allstamps): Now allstamped.
3502 (allcreated): Define this.
3503 (all-local): Use 'em.
3504 Conditionally define pch_build, pch_install based on
3506 (${pch_output}): New rule.
3507 (install-pch): New rule.
3508 (install-headers): New rule.
3509 (install-data-local): Install headers and conditionally pch.
3510 * include/Makefile.in: Regenerate.
3511 * testsuite_flags.in (--build-cxx): Use pch file.
3513 2003-04-16 Jonathan Wakely <redi@gcc.gnu.org>
3515 * docs/html/ext/sgiexts.html: Fix path to stylesheet.
3517 2003-04-15 Benjamin Kosnik <bkoz at redhat dot com>
3518 Paolo Carlini <pcarlini at unitus dot it>
3521 * docs/html/27_io/howto.html
3522 ('The buffering is screwing up my program!'): Explain that
3523 opening counts as an I/O operation.
3525 2003-04-15 Andreas Tobler <a.tobler@schweiz.ch>
3527 * testsuite/thread/pthread1.cc: Enable for darwin test.
3528 * testsuite/thread/pthread2.cc: Same.
3529 * testsuite/thread/pthread3.cc: Same.
3530 * testsuite/thread/pthread4.cc: Same.
3531 * testsuite/thread/pthread5.cc: Same.
3532 * testsuite/thread/pthread6.cc: Same.
3534 2003-04-15 Loren J. Rittle <ljrittle@acm.org>
3537 * include/c_std/std_cmath.h (__gnu_cx::__c99_binding): New namespace.
3538 Populate it with multiple legal ways to obtain the C99 float
3539 transcendentals. Use them instead of direct global reference.
3540 (C99 FP capture): Guard usage with _GLIBCPP_USE_C99_FP_MACROS_DYNAMIC.
3541 * docs/html/17_intro/porting.texi
3542 (_GLIBCPP_USE_C99_FLOAT_TRANSCENDENTALS_CHECK): New macro.
3543 (_GLIBCPP_USE_C99_FLOAT_TRANSCENDENTALS_DYNAMIC): New macro.
3544 (_GLIBCPP_USE_C99_FP_MACROS_DYNAMIC): New macro.
3545 * config/os/bsd/freebsd/os_defines.h
3546 (_GLIBCPP_USE_C99_FLOAT_TRANSCENDENTALS_CHECK): New macro.
3547 (_GLIBCPP_USE_C99_FLOAT_TRANSCENDENTALS_DYNAMIC): New macro.
3548 * testsuite/26_numerics/c_math_dynamic.cc: New file.
3550 2003-04-14 Andreas Tobler <toa@pop.agri.ch>
3551 Benjamin Kosnik <bkoz@redhat.com>
3553 * config/os/generic/ctype_inline.h: Fix.
3555 2003-04-14 Benjamin Kosnik <bkoz@redhat.com>
3557 * testsuite/testsuite_hooks.h
3558 (__gnu_cxx_test::run_test_wrapped_generic_locale_exception_catcher):
3559 Change to try_named_locale.
3560 * testsuite/testsuite_hooks.cc (__gnu_cxx_test): Same.
3562 * testsuite/22_locale/codecvt/always_noconv/wchar_t/2.cc: Use
3564 * testsuite/22_locale/codecvt/always_noconv/wchar_t/3.cc: Same.
3565 * testsuite/22_locale/codecvt/always_noconv/wchar_t/4.cc: Same.
3566 * testsuite/22_locale/codecvt/encoding/wchar_t/2.cc: Same.
3567 * testsuite/22_locale/codecvt/encoding/wchar_t/3.cc: Same.
3568 * testsuite/22_locale/codecvt/encoding/wchar_t/4.cc: Same.
3569 * testsuite/22_locale/codecvt/in/wchar_t/2.cc: Same.
3570 * testsuite/22_locale/codecvt/in/wchar_t/3.cc: Same.
3571 * testsuite/22_locale/codecvt/in/wchar_t/4.cc: Same.
3572 * testsuite/22_locale/codecvt/in/wchar_t/7.cc: Same.
3573 * testsuite/22_locale/codecvt/in/wchar_t/8.cc: Same.
3574 * testsuite/22_locale/codecvt/in/wchar_t/9.cc: Same.
3575 * testsuite/22_locale/codecvt/length/wchar_t/2.cc: Same.
3576 * testsuite/22_locale/codecvt/length/wchar_t/3.cc: Same.
3577 * testsuite/22_locale/codecvt/length/wchar_t/4.cc: Same.
3578 * testsuite/22_locale/codecvt/length/wchar_t/7.cc: Same.
3579 * testsuite/22_locale/codecvt/max_length/wchar_t/2.cc: Same.
3580 * testsuite/22_locale/codecvt/max_length/wchar_t/3.cc: Same.
3581 * testsuite/22_locale/codecvt/max_length/wchar_t/4.cc: Same.
3582 * testsuite/22_locale/codecvt/out/wchar_t/2.cc: Same.
3583 * testsuite/22_locale/codecvt/out/wchar_t/3.cc: Same.
3584 * testsuite/22_locale/codecvt/out/wchar_t/4.cc: Same.
3585 * testsuite/22_locale/codecvt/out/wchar_t/7.cc: Same.
3586 * testsuite/22_locale/codecvt/unshift/wchar_t/2.cc: Same.
3587 * testsuite/22_locale/codecvt/unshift/wchar_t/3.cc: Same.
3588 * testsuite/22_locale/codecvt/unshift/wchar_t/4.cc: Same.
3589 * testsuite/22_locale/collate/compare/char/1.cc: Same.
3590 * testsuite/22_locale/collate/compare/char/2.cc: Same.
3591 * testsuite/22_locale/collate/compare/char/3.cc: Same.
3592 * testsuite/22_locale/collate/compare/wchar_t/1.cc: Same.
3593 * testsuite/22_locale/collate/compare/wchar_t/2.cc: Same.
3594 * testsuite/22_locale/collate/compare/wchar_t/3.cc: Same.
3595 * testsuite/22_locale/collate/hash/char/2.cc: Same.
3596 * testsuite/22_locale/collate/hash/wchar_t/2.cc: Same.
3597 * testsuite/22_locale/collate/transform/char/2.cc: Same.
3598 * testsuite/22_locale/collate/transform/char/3.cc: Same.
3599 * testsuite/22_locale/collate/transform/wchar_t/2.cc: Same.
3600 * testsuite/22_locale/collate/transform/wchar_t/3.cc: Same.
3601 * testsuite/22_locale/collate_byname/1.cc: Same.
3602 * testsuite/22_locale/ctype/is/char/2.cc: Same.
3603 * testsuite/22_locale/ctype/is/wchar_t/2.cc: Same.
3604 * testsuite/22_locale/ctype/narrow/wchar_t/3.cc: Same.
3605 * testsuite/22_locale/ctype/widen/wchar_t/2.cc: Same.
3606 * testsuite/22_locale/ctype/widen/wchar_t/3.cc: Same.
3607 * testsuite/22_locale/facet/2.cc: Same.
3608 * testsuite/22_locale/locale/cons/2.cc: Same.
3609 * testsuite/22_locale/locale/cons/4.cc: Same.
3610 * testsuite/22_locale/locale/cons/5.cc: Same.
3611 * testsuite/22_locale/locale/cons/7.cc: Same.
3612 * testsuite/22_locale/locale/cons/7222-c.cc: Same.
3613 * testsuite/22_locale/locale/cons/7222-env.cc: Same.
3614 * testsuite/22_locale/locale/global_locale_objects/2.cc: Same.
3615 * testsuite/22_locale/messages/members/char/1.cc: Same.
3616 * testsuite/22_locale/messages/members/char/2.cc: Same.
3617 * testsuite/22_locale/messages/members/char/3.cc: Same.
3618 * testsuite/22_locale/messages_byname/1.cc: Same.
3619 * testsuite/22_locale/money_get/get/char/1.cc: Same.
3620 * testsuite/22_locale/money_get/get/char/2.cc: Same.
3621 * testsuite/22_locale/money_get/get/char/3.cc: Same.
3622 * testsuite/22_locale/money_get/get/char/4.cc: Same.
3623 * testsuite/22_locale/money_get/get/wchar_t/1.cc: Same.
3624 * testsuite/22_locale/money_get/get/wchar_t/2.cc: Same.
3625 * testsuite/22_locale/money_get/get/wchar_t/3.cc: Same.
3626 * testsuite/22_locale/money_get/get/wchar_t/4.cc: Same.
3627 * testsuite/22_locale/money_put/put/char/1.cc: Same.
3628 * testsuite/22_locale/money_put/put/char/2.cc: Same.
3629 * testsuite/22_locale/money_put/put/char/3.cc: Same.
3630 * testsuite/22_locale/money_put/put/wchar_t/1.cc: Same.
3631 * testsuite/22_locale/money_put/put/wchar_t/2.cc: Same.
3632 * testsuite/22_locale/money_put/put/wchar_t/3.cc: Same.
3633 * testsuite/22_locale/moneypunct/members/char/2.cc: Same.
3634 * testsuite/22_locale/moneypunct/members/wchar_t/2.cc: Same.
3635 * testsuite/22_locale/moneypunct_byname/1.cc: Same.
3636 * testsuite/22_locale/num_get/get/char/1.cc: Same.
3637 * testsuite/22_locale/num_get/get/char/2.cc: Same.
3638 * testsuite/22_locale/num_get/get/char/3.cc: Same.
3639 * testsuite/22_locale/num_get/get/char/5.cc: Same.
3640 * testsuite/22_locale/num_get/get/char/6.cc: Same.
3641 * testsuite/22_locale/num_get/get/wchar_t/1.cc: Same.
3642 * testsuite/22_locale/num_get/get/wchar_t/2.cc: Same.
3643 * testsuite/22_locale/num_get/get/wchar_t/3.cc: Same.
3644 * testsuite/22_locale/num_get/get/wchar_t/5.cc: Same.
3645 * testsuite/22_locale/num_get/get/wchar_t/6.cc: Same.
3646 * testsuite/22_locale/num_put/put/char/1.cc: Same.
3647 * testsuite/22_locale/num_put/put/char/2.cc: Same.
3648 * testsuite/22_locale/num_put/put/char/3.cc: Same.
3649 * testsuite/22_locale/num_put/put/char/5.cc: Same.
3650 * testsuite/22_locale/num_put/put/wchar_t/1.cc: Same.
3651 * testsuite/22_locale/num_put/put/wchar_t/2.cc: Same.
3652 * testsuite/22_locale/num_put/put/wchar_t/3.cc: Same.
3653 * testsuite/22_locale/num_put/put/wchar_t/5.cc: Same.
3654 * testsuite/22_locale/numpunct/members/char/1.cc: Same.
3655 * testsuite/22_locale/numpunct/members/char/2.cc: Same.
3656 * testsuite/22_locale/numpunct/members/wchar_t/1.cc: Same.
3657 * testsuite/22_locale/numpunct/members/wchar_t/2.cc: Same.
3658 * testsuite/22_locale/numpunct_byname/1.cc: Same.
3659 * testsuite/22_locale/numpunct_byname/2.cc: Same.
3660 * testsuite/22_locale/time_get/date_order/char/1.cc: Same.
3661 * testsuite/22_locale/time_get/date_order/wchar_t/1.cc: Same.
3662 * testsuite/22_locale/time_get/get_date/char/1.cc: Same.
3663 * testsuite/22_locale/time_get/get_date/char/2.cc: Same.
3664 * testsuite/22_locale/time_get/get_date/wchar_t/1.cc: Same.
3665 * testsuite/22_locale/time_get/get_date/wchar_t/2.cc: Same.
3666 * testsuite/22_locale/time_get/get_monthname/char/1.cc: Same.
3667 * testsuite/22_locale/time_get/get_monthname/char/2.cc: Same.
3668 * testsuite/22_locale/time_get/get_monthname/wchar_t/1.cc: Same.
3669 * testsuite/22_locale/time_get/get_monthname/wchar_t/2.cc: Same.
3670 * testsuite/22_locale/time_get/get_time/char/1.cc: Same.
3671 * testsuite/22_locale/time_get/get_time/char/2.cc: Same.
3672 * testsuite/22_locale/time_get/get_time/wchar_t/1.cc: Same.
3673 * testsuite/22_locale/time_get/get_time/wchar_t/2.cc: Same.
3674 * testsuite/22_locale/time_get/get_weekday/char/1.cc: Same.
3675 * testsuite/22_locale/time_get/get_weekday/char/2.cc: Same.
3676 * testsuite/22_locale/time_get/get_weekday/wchar_t/1.cc: Same.
3677 * testsuite/22_locale/time_get/get_weekday/wchar_t/2.cc: Same.
3678 * testsuite/22_locale/time_get/get_year/char/1.cc: Same.
3679 * testsuite/22_locale/time_get/get_year/wchar_t/1.cc: Same.
3680 * testsuite/22_locale/time_put/put/char/1.cc: Same.
3681 * testsuite/22_locale/time_put/put/char/2.cc: Same.
3682 * testsuite/22_locale/time_put/put/char/3.cc: Same.
3683 * testsuite/22_locale/time_put/put/char/4.cc: Same.
3684 * testsuite/22_locale/time_put/put/char/5.cc: Same.
3685 * testsuite/22_locale/time_put/put/char/6.cc: Same.
3686 * testsuite/22_locale/time_put/put/char/7.cc: Same.
3687 * testsuite/22_locale/time_put/put/char/8.cc: Same.
3688 * testsuite/22_locale/time_put/put/wchar_t/1.cc: Same.
3689 * testsuite/22_locale/time_put/put/wchar_t/2.cc: Same.
3690 * testsuite/22_locale/time_put/put/wchar_t/3.cc: Same.
3691 * testsuite/22_locale/time_put/put/wchar_t/4.cc: Same.
3692 * testsuite/22_locale/time_put/put/wchar_t/5.cc: Same.
3693 * testsuite/22_locale/time_put/put/wchar_t/6.cc: Same.
3694 * testsuite/22_locale/time_put/put/wchar_t/7.cc: Same.
3695 * testsuite/22_locale/time_put/put/wchar_t/8.cc: Same.
3696 * testsuite/27_io/basic_filebuf/imbue/char/9322.cc: Same.
3697 * testsuite/27_io/basic_ios/copyfmt/char/2.cc: Same.
3698 * testsuite/27_io/basic_ostream/inserters_arithmetic/char/2.cc: Same.
3699 * testsuite/27_io/basic_streambuf/imbue/char/9322.cc: Same.
3700 * testsuite/27_io/basic_stringbuf/imbue/char/9322.cc: Same.
3702 2003-04-14 Andreas Tobler <toa@pop.agri.ch>
3704 * configure.target (_cpu_incdir_fullpath): Solaris 2.9 uses
3705 solaris includes, not generic.
3707 2003-04-14 Loren J. Rittle <ljrittle@acm.org>
3709 * testsuite/26_numerics/c99_classification_macros_c.cc: Add XFAIL.
3711 * include/std/std_bitset.h (_M_do_find_next): Fix -Wall nit.
3712 * include/bits/concept_check.h: Fix multi-line comment.
3713 * testsuite/17_intro/headers.cc (dg-options): Add -Wall -Wsystem-header
3714 when target is *-*-freebsd*.
3716 2003-04-14 Nathan Myers <ncm@cantrip.org>
3717 Paolo Carlini <pcarlini@unitus.it>
3719 PR libstdc++/9701 (in_avail())
3720 * include/std/std_streambuf.h (in_avail): Simplify, in_avail
3721 doesn't care if there is anything in some putback cell.
3722 * testsuite/27_io/basic_streambuf/in_avail/char/9701-3.cc: Add.
3724 * testsuite/27_io/basic_filebuf/in_avail/char/1.cc: Remove some
3725 unused string literals.
3727 2003-04-14 Paolo Carlini <pcarlini@unitus.it>
3729 * include/bits/fstream.tcc (basic_filebuf::setbuf): Don't set
3730 _M_out_end, _M_set_indeterminate() does it.
3732 2003-04-12 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
3734 * os/hpux/ctype_inline.h: Replace with gnu-linux version.
3736 2003-04-12 David Edelsohn <edelsohn@gnu.org>
3738 * testsuite/27_io/basic_istream/sentry/char/3983-fstream.cc:
3739 Change basic_streambuf instantiation to "unsigned char".
3740 * testsuite/27_io/basic_ostream/sentry/char/3983-fstream.cc: Same.
3742 2003-04-12 Paolo Carlini <pcarlini@unitus.it>
3744 Remove _M_buf_size_opt, use directly _M_buf_size instead.
3745 * include/bits/fstream.tcc
3746 (basic_filebuf::_M_allocate_internal_buffer, setbuf): Remove
3747 references to _M_buf_size_opt.
3748 * include/bits/sstream.tcc (basic_stringbuf::overflow): Likewise.
3749 * include/bits/streambuf.tcc (__copy_streambufs): Likewise, rename
3750 __bufsize to __in_avail and __size_opt to __buf_size.
3751 * include/ext/stdio_filebuf.h (stdio_filebuf::stdio_filebuf): Likewise.
3752 * include/std/std_sstream.h (_M_stringbuf_init, setbuf): Likewise.
3753 * include/std/std_streambuf.h (~basic_streambuf(),
3754 basic_streambuf()): Likewise, remove _M_buf_size_opt member.
3755 * testsuite/27_io/basic_filebuf/close/char/3.cc: Set _M_buf_size.
3756 * testsuite/27_io/basic_filebuf/in_avail/char/1.cc: Likewise.
3757 * testsuite/27_io/basic_filebuf/sbumpc/char/1.cc: Likewise.
3758 * testsuite/27_io/basic_filebuf/seekoff/char/1.cc: Likewise.
3759 * testsuite/27_io/basic_filebuf/seekpos/char/1.cc: Likewise.
3760 * testsuite/27_io/basic_filebuf/sgetc/char/1.cc: Likewise.
3761 * testsuite/27_io/basic_filebuf/sgetn/char/1.cc: Likewise.
3762 * testsuite/27_io/basic_filebuf/snextc/char/1.cc: Likewise.
3763 * testsuite/27_io/basic_filebuf/sputbackc/char/1.cc: Likewise.
3764 * testsuite/27_io/basic_filebuf/sputc/char/1.cc: Likewise.
3765 * testsuite/27_io/basic_filebuf/sputn/char/1.cc: Likewise.
3766 * testsuite/27_io/basic_filebuf/sungetc/char/1.cc: Likewise.
3768 2003-04-12 Paolo Carlini <pcarlini at unitus dot it>
3770 * include/ext/stdio_filebuf.h
3771 (stdio_filebuf::stdio_filebuf(int, openmode, bool, size_t),
3772 stdio_filebuf::stdio_filebuf(__c_file*, openmode, size_t):
3773 _M_buf_size_opt == 0 only means "not to use an allocated buffer"
3774 since a stack-based buffer is used for small values of the size_t
3776 * include/bits/fstream.tcc (basic_filebuf::_M_really_overflow).
3777 If _M_buf_size != 0 flush out the buffer (any kind, stack-based too).
3778 * testsuite/ext/stdio_filebuf_2.cc: New testfile.
3780 2003-04-12 Paolo Carlini <pcarlini@unitus.it>
3783 * testsuite/27_io/basic_filebuf/showmanyc/char/9533-1.cc: New.
3784 * testsuite/27_io/basic_filebuf/showmanyc/char/9533-2.cc: Ditto.
3786 2003-04-11 Benjamin Kosnik <bkoz@redhat.com>
3788 * testsuite/22_locale/locale/cons/3.cc: Split.
3789 * testsuite/22_locale/locale/cons/7222-c.cc: New.
3790 * testsuite/22_locale/locale/cons/7222-env.cc: New.
3791 Check before trying to create a locale from the environment.
3792 * testsuite/27_io/ios_base/state/1.cc (test02): Use "C" locale.
3793 * testsuite/27_io/basic_istream/extractors_arithmetic/char/12.cc:
3796 2003-04-11 Benjamin Kosnik <bkoz@redhat.com>
3798 * testsuite/22_locale/ctype/is/char/3.cc (test03): Use the classic
3799 locale to construct this hybrid locale, not the global locale.
3801 2003-04-11 Benjamin Kosnik <bkoz@redhat.com>
3803 * testsuite/27_io/basic_istream/sentry/char/3983-fstream.cc: Add
3804 instantiation for AIX.
3805 * testsuite/27_io/basic_ostream/sentry/char/3983-fstream.cc: Same.
3806 * testsuite/25_algorithms/min_max.cc: Same.
3808 2003-04-10 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
3810 * basic_file_stdio.cc (__basic_file<char>::close): Don't flush stream
3811 twice. Always set _M_cfile to 0 when stream was open.
3813 2003-04-09 Benjamin Kosnik <bkoz@redhat.com>
3815 Reshuffle 27_io testsuite. * testsuite/27_io/filebuf.cc,
3816 filebuf_members-1.tst, filebuf_members-1.txt, filebuf_members.cc,
3817 filebuf_virtuals-1.tst, filebuf_virtuals-1.txt,
3818 filebuf_virtuals-2.tst, filebuf_virtuals-3.tst,
3819 filebuf_virtuals.cc, fpos.cc, fstream.cc, fstream_members.cc,
3820 ifstream.cc, ifstream_members-1.tst, ifstream_members-1.txt,
3821 ifstream_members.cc, instantiations.cc, ios.cc,
3822 ios_base_callbacks.cc, ios_base_members_static-1.tst,
3823 ios_base_members_static.cc, ios_base_storage.cc,
3824 ios_base_types.cc, ios_ctor.cc, ios_init.cc,
3825 ios_manip_basefield.cc, ios_manip_fmtflags.cc, ios_members.cc,
3826 iostream.cc, iostream_members.cc, istream.cc,
3827 istream_exception.cc, istream_extractor_char.cc,
3828 istream_extractor_other-1.tst, istream_extractor_other-1.txt,
3829 istream_extractor_other-2.tst, istream_extractor_other.cc,
3830 istream_manip.cc, istream_seeks-1.tst, istream_seeks-1.txt,
3831 istream_seeks-2.tst, istream_seeks-3.tst, istream_seeks.cc,
3832 istream_sentry.cc, istream_unformatted-1.tst,
3833 istream_unformatted-1.txt, istream_unformatted.cc,
3834 istringstream.cc, istringstream_members.cc,
3835 narrow_stream_objects.cc, ofstream.cc, ofstream_members-1.tst,
3836 ofstream_members.cc, ostream.cc, ostream_exception.cc,
3837 ostream_fail.cc, ostream_inserter_arith.cc,
3838 ostream_inserter_char-1.tst, ostream_inserter_char-1.txt,
3839 ostream_inserter_char.cc, ostream_inserter_other-1.tst,
3840 ostream_inserter_other-2.tst, ostream_inserter_other.cc,
3841 ostream_manip.cc, ostream_seeks-1.tst, ostream_seeks.cc,
3842 ostream_sentry.cc, ostream_unformatted.cc, ostringstream.cc,
3843 ostringstream_members.cc, standard_manipulators.cc, streambuf.cc,
3844 streambuf_members.cc, stringbuf.cc, stringbuf_members.cc,
3845 stringbuf_virtuals.cc, stringstream.cc, stringstream_members.cc,
3846 wide_stream_objects.cc, istream_extractor_arith/01.cc,
3847 istream_extractor_arith/02.cc, istream_extractor_arith/03.cc,
3848 istream_extractor_arith/06.cc, istream_extractor_arith/07.cc,
3849 istream_extractor_arith/08.cc, istream_extractor_arith/09.cc,
3850 istream_extractor_arith/10.cc, istream_extractor_arith/11.cc,
3851 istream_extractor_arith/12.cc, istream_extractor_arith/13.cc:
3853 * 27_io/basic_filebuf/1.cc: New.
3854 * 27_io/basic_filebuf/2.cc: New.
3855 * 27_io/basic_filebuf/3.cc: New.
3856 * 27_io/basic_filebuf/4.cc: New.
3857 * 27_io/basic_filebuf/close/char/1.cc: New.
3858 * 27_io/basic_filebuf/close/char/2.cc: New.
3859 * 27_io/basic_filebuf/close/char/3.cc: New.
3860 * 27_io/basic_filebuf/close/char/4879.cc: New.
3861 * 27_io/basic_filebuf/close/char/9964.cc: New.
3862 * 27_io/basic_filebuf/imbue/char/1.cc: New.
3863 * 27_io/basic_filebuf/imbue/char/9322.cc: New.
3864 * 27_io/basic_filebuf/in_avail/char/1.cc: New.
3865 * 27_io/basic_filebuf/is_open/char/1.cc: New.
3866 * 27_io/basic_filebuf/open/char/1.cc: New.
3867 * 27_io/basic_filebuf/open/char/2.cc: New.
3868 * 27_io/basic_filebuf/open/char/3.cc: New.
3869 * 27_io/basic_filebuf/open/char/9507.cc: New.
3870 * 27_io/basic_filebuf/overflow/char/1.cc: New.
3871 * 27_io/basic_filebuf/overflow/char/3599.cc: New.
3872 * 27_io/basic_filebuf/overflow/char/9169.cc: New.
3873 * 27_io/basic_filebuf/overflow/char/9182-2.cc: New.
3874 * 27_io/basic_filebuf/overflow/char/9988.cc: New.
3875 * 27_io/basic_filebuf/sbumpc/char/1.cc: New.
3876 * 27_io/basic_filebuf/sbumpc/char/9825.cc: New.
3877 * 27_io/basic_filebuf/seekoff/char/1.cc: New.
3878 * 27_io/basic_filebuf/seekoff/char/2.cc: New.
3879 * 27_io/basic_filebuf/seekpos/char/1.cc: New.
3880 * 27_io/basic_filebuf/seekpos/char/2.cc: New.
3881 * 27_io/basic_filebuf/setbuf/char/1.cc: New.
3882 * 27_io/basic_filebuf/setbuf/char/2.cc: New.
3883 * 27_io/basic_filebuf/setbuf/char/3.cc: New.
3884 * 27_io/basic_filebuf/sgetc/char/1.cc: New.
3885 * 27_io/basic_filebuf/sgetn/char/1.cc: New.
3886 * 27_io/basic_filebuf/sgetn/char/2.cc: New.
3887 * 27_io/basic_filebuf/snextc/char/1.cc: New.
3888 * 27_io/basic_filebuf/sputbackc/char/1.cc: New.
3889 * 27_io/basic_filebuf/sputbackc/char/9425.cc: New.
3890 * 27_io/basic_filebuf/sputc/char/1.cc: New.
3891 * 27_io/basic_filebuf/sputc/char/1057.cc: New.
3892 * 27_io/basic_filebuf/sputc/char/9701-2.cc: New.
3893 * 27_io/basic_filebuf/sputn/char/1.cc: New.
3894 * 27_io/basic_filebuf/sputn/char/1057.cc: New.
3895 * 27_io/basic_filebuf/sputn/char/9701-1.cc: New.
3896 * 27_io/basic_filebuf/sungetc/char/1.cc: New.
3897 * 27_io/basic_filebuf/sync/char/1057.cc: New.
3898 * 27_io/basic_filebuf/sync/char/9182-1.cc: New.
3899 * 27_io/basic_filebuf/underflow/char/10097.cc: New.
3900 * 27_io/basic_fstream/1.cc: New.
3901 * 27_io/basic_fstream/2.cc: New.
3902 * 27_io/basic_fstream/3.cc: New.
3903 * 27_io/basic_fstream/4.cc: New.
3904 * 27_io/basic_fstream/rdbuf/char/2832.cc: New.
3905 * 27_io/basic_ifstream/1.cc: New.
3906 * 27_io/basic_ifstream/2.cc: New.
3907 * 27_io/basic_ifstream/3.cc: New.
3908 * 27_io/basic_ifstream/4.cc: New.
3909 * 27_io/basic_ifstream/cons/char/1.cc: New.
3910 * 27_io/basic_ifstream/open/char/1.cc: New.
3911 * 27_io/basic_ifstream/rdbuf/char/2832.cc: New.
3912 * 27_io/basic_ios/1.cc: New.
3913 * 27_io/basic_ios/2.cc: New.
3914 * 27_io/basic_ios/3.cc: New.
3915 * 27_io/basic_ios/4.cc: New.
3916 * 27_io/basic_ios/clear/char/1.cc: New.
3917 * 27_io/basic_ios/cons/char/1.cc: New.
3918 * 27_io/basic_ios/cons/char/2.cc: New.
3919 * 27_io/basic_ios/cons/char/3.cc: New.
3920 * 27_io/basic_ios/copyfmt/char/1.cc: New.
3921 * 27_io/basic_ios/copyfmt/char/2.cc: New.
3922 * 27_io/basic_ios/exceptions/char/1.cc: New.
3923 * 27_io/basic_ios/locales/char/1.cc: New.
3924 * 27_io/basic_iostream/1.cc: New.
3925 * 27_io/basic_iostream/2.cc: New.
3926 * 27_io/basic_iostream/3.cc: New.
3927 * 27_io/basic_iostream/4.cc: New.
3928 * 27_io/basic_istream/1.cc: New.
3929 * 27_io/basic_istream/2.cc: New.
3930 * 27_io/basic_istream/3.cc: New.
3931 * 27_io/basic_istream/4.cc: New.
3932 * 27_io/basic_istream/exceptions/char/9561.cc: New.
3933 * 27_io/basic_istream/extractors_arithmetic/char/01.cc: New.
3934 * 27_io/basic_istream/extractors_arithmetic/char/02.cc: New.
3935 * 27_io/basic_istream/extractors_arithmetic/char/03.cc: New.
3936 * 27_io/basic_istream/extractors_arithmetic/char/06.cc: New.
3937 * 27_io/basic_istream/extractors_arithmetic/char/07.cc: New.
3938 * 27_io/basic_istream/extractors_arithmetic/char/08.cc: New.
3939 * 27_io/basic_istream/extractors_arithmetic/char/09.cc: New.
3940 * 27_io/basic_istream/extractors_arithmetic/char/10.cc: New.
3941 * 27_io/basic_istream/extractors_arithmetic/char/11.cc: New.
3942 * 27_io/basic_istream/extractors_arithmetic/char/12.cc: New.
3943 * 27_io/basic_istream/extractors_arithmetic/char/13.cc: New.
3944 * 27_io/basic_istream/extractors_character/char/1.cc: New.
3945 * 27_io/basic_istream/extractors_character/char/2.cc: New.
3946 * 27_io/basic_istream/extractors_character/char/3.cc: New.
3947 * 27_io/basic_istream/extractors_character/char/9826.cc: New.
3948 * 27_io/basic_istream/extractors_other/char/1.cc: New.
3949 * 27_io/basic_istream/extractors_other/char/2.cc: New.
3950 * 27_io/basic_istream/extractors_other/char/3.cc: New.
3951 * 27_io/basic_istream/extractors_other/char/9318-in.cc: New.
3952 * 27_io/basic_istream/extractors_other/char/9424-in.cc: New.
3953 * 27_io/basic_istream/get/char/1.cc: New.
3954 * 27_io/basic_istream/get/char/2.cc: New.
3955 * 27_io/basic_istream/getline/char/1.cc: New.
3956 * 27_io/basic_istream/getline/char/2.cc: New.
3957 * 27_io/basic_istream/getline/char/3.cc: New.
3958 * 27_io/basic_istream/ignore/char/1.cc: New.
3959 * 27_io/basic_istream/ignore/char/6360.cc: New.
3960 * 27_io/basic_istream/ignore/char/7220.cc: New.
3961 * 27_io/basic_istream/peek/char/1.cc: New.
3962 * 27_io/basic_istream/peek/char/6414.cc: New.
3963 * 27_io/basic_istream/putback/char/1.cc: New.
3964 * 27_io/basic_istream/read/char/1.cc: New.
3965 * 27_io/basic_istream/read/char/2.cc: New.
3966 * 27_io/basic_istream/read/char/3.cc: New.
3967 * 27_io/basic_istream/readsome/char/6746-1.cc: New.
3968 * 27_io/basic_istream/readsome/char/6746-2.cc: New.
3969 * 27_io/basic_istream/readsome/char/8258.cc: New.
3970 * 27_io/basic_istream/seekg/char/2346-fstream.cc: New.
3971 * 27_io/basic_istream/seekg/char/2346-sstream.cc: New.
3972 * 27_io/basic_istream/seekg/char/8348-1.cc: New.
3973 * 27_io/basic_istream/seekg/char/8348-2.cc: New.
3974 * 27_io/basic_istream/seekg/char/fstream.cc: New.
3975 * 27_io/basic_istream/seekg/char/sstream.cc: New.
3976 * 27_io/basic_istream/sentry/char/1.cc: New.
3977 * 27_io/basic_istream/sentry/char/2.cc: New.
3978 * 27_io/basic_istream/sentry/char/3.cc: New.
3979 * 27_io/basic_istream/sentry/char/3983-fstream.cc: New.
3980 * 27_io/basic_istream/sentry/char/3983-sstream.cc: New.
3981 * 27_io/basic_istream/tellg/char/1.cc: New.
3982 * 27_io/basic_istream/tellg/char/8348.cc: New.
3983 * 27_io/basic_istream/tellg/char/fstream.cc: New.
3984 * 27_io/basic_istream/tellg/char/sstream.cc: New.
3985 * 27_io/basic_istream/ws/char/1.cc: New.
3986 * 27_io/basic_istringstream/1.cc: New.
3987 * 27_io/basic_istringstream/2.cc: New.
3988 * 27_io/basic_istringstream/3.cc: New.
3989 * 27_io/basic_istringstream/4.cc: New.
3990 * 27_io/basic_istringstream/rdbuf/char/2832.cc: New.
3991 * 27_io/basic_istringstream/str/char/1.cc: New.
3992 * 27_io/basic_ofstream/1.cc: New.
3993 * 27_io/basic_ofstream/2.cc: New.
3994 * 27_io/basic_ofstream/3.cc: New.
3995 * 27_io/basic_ofstream/4.cc: New.
3996 * 27_io/basic_ofstream/cons/char/2.cc: New.
3997 * 27_io/basic_ofstream/open/char/1.cc: New.
3998 * 27_io/basic_ofstream/rdbuf/char/2832.cc: New.
3999 * 27_io/basic_ostream/1.cc: New.
4000 * 27_io/basic_ostream/2.cc: New.
4001 * 27_io/basic_ostream/3.cc: New.
4002 * 27_io/basic_ostream/4.cc: New.
4003 * 27_io/basic_ostream/cons/char/9827.cc: New.
4004 * 27_io/basic_ostream/endl/char/1.cc: New.
4005 * 27_io/basic_ostream/ends/char/1.cc: New.
4006 * 27_io/basic_ostream/ends/char/2.cc: New.
4007 * 27_io/basic_ostream/exceptions/char/9561.cc: New.
4008 * 27_io/basic_ostream/flush/char/1.cc: New.
4009 * 27_io/basic_ostream/inserters_arithmetic/char/1.cc: New.
4010 * 27_io/basic_ostream/inserters_arithmetic/char/2.cc: New.
4011 * 27_io/basic_ostream/inserters_arithmetic/char/3.cc: New.
4012 * 27_io/basic_ostream/inserters_arithmetic/char/4.cc: New.
4013 * 27_io/basic_ostream/inserters_arithmetic/char/4402.cc: New.
4014 * 27_io/basic_ostream/inserters_arithmetic/char/5.cc: New.
4015 * 27_io/basic_ostream/inserters_arithmetic/char/6.cc: New.
4016 * 27_io/basic_ostream/inserters_arithmetic/wchar_t/1.cc: New.
4017 * 27_io/basic_ostream/inserters_character/char/1.cc: New.
4018 * 27_io/basic_ostream/inserters_character/char/2.cc: New.
4019 * 27_io/basic_ostream/inserters_character/char/3.cc: New.
4020 * 27_io/basic_ostream/inserters_character/char/4.cc: New.
4021 * 27_io/basic_ostream/inserters_character/char/5.cc: New.
4022 * 27_io/basic_ostream/inserters_character/char/6.cc: New.
4023 * 27_io/basic_ostream/inserters_character/char/8.cc: New.
4024 * 27_io/basic_ostream/inserters_character/wchar_t/7.cc: New.
4025 * 27_io/basic_ostream/inserters_character/wchar_t/8.cc: New.
4026 * 27_io/basic_ostream/inserters_other/char/1.cc: New.
4027 * 27_io/basic_ostream/inserters_other/char/2.cc: New.
4028 * 27_io/basic_ostream/inserters_other/char/3.cc: New.
4029 * 27_io/basic_ostream/inserters_other/char/4.cc: New.
4030 * 27_io/basic_ostream/inserters_other/char/9318-out.cc: New.
4031 * 27_io/basic_ostream/inserters_other/char/9424-out.cc: New.
4032 * 27_io/basic_ostream/sentry/char/1.cc: New.
4033 * 27_io/basic_ostream/sentry/char/2.cc: New.
4034 * 27_io/basic_ostream/sentry/char/3983-fstream.cc: New.
4035 * 27_io/basic_ostream/sentry/char/3983-sstream.cc: New.
4036 * 27_io/basic_ostream/tellp/char/1.cc: New.
4037 * 27_io/basic_ostream/tellp/char/2.cc: New.
4038 * 27_io/basic_ostringstream/1.cc: New.
4039 * 27_io/basic_ostringstream/2.cc: New.
4040 * 27_io/basic_ostringstream/3.cc: New.
4041 * 27_io/basic_ostringstream/4.cc: New.
4042 * 27_io/basic_ostringstream/cons/char/3.cc: New.
4043 * 27_io/basic_ostringstream/rdbuf/char/2832.cc: New.
4044 * 27_io/basic_ostringstream/str/char/1.cc: New.
4045 * 27_io/basic_ostringstream/str/char/2.cc: New.
4046 * 27_io/basic_streambuf/1.cc: New.
4047 * 27_io/basic_streambuf/2.cc: New.
4048 * 27_io/basic_streambuf/3.cc: New.
4049 * 27_io/basic_streambuf/cons/char/1.cc: New.
4050 * 27_io/basic_streambuf/imbue/char/1.cc: New.
4051 * 27_io/basic_streambuf/imbue/char/9322.cc: New.
4052 * 27_io/basic_streambuf/overflow/char/1.cc: New.
4053 * 27_io/basic_streambuf/overflow/char/2.cc: New.
4054 * 27_io/basic_streambuf/overflow/char/3599.cc: New.
4055 * 27_io/basic_streambuf/sgetc/char/1.cc: New.
4056 * 27_io/basic_streambuf/sgetn/char/1.cc: New.
4057 * 27_io/basic_streambuf/sputbackc/char/9538.cc: New.
4058 * 27_io/basic_streambuf/sputc/char/1057.cc: New.
4059 * 27_io/basic_streambuf/sputn/char/1.cc: New.
4060 * 27_io/basic_streambuf/sputn/char/1057.cc: New.
4061 * 27_io/basic_streambuf/sync/char/1057.cc: New.
4062 * 27_io/basic_stringbuf/1.cc: New.
4063 * 27_io/basic_stringbuf/2.cc: New.
4064 * 27_io/basic_stringbuf/3.cc: New.
4065 * 27_io/basic_stringbuf/4.cc: New.
4066 * 27_io/basic_stringbuf/5.cc: New.
4067 * 27_io/basic_stringbuf/imbue/char/1.cc: New.
4068 * 27_io/basic_stringbuf/imbue/char/9322.cc: New.
4069 * 27_io/basic_stringbuf/in_avail/char/1.cc: New.
4070 * 27_io/basic_stringbuf/overflow/char/2.cc: New.
4071 * 27_io/basic_stringbuf/overflow/char/3599.cc: New.
4072 * 27_io/basic_stringbuf/overflow/char/9988.cc: New.
4073 * 27_io/basic_stringbuf/sbumpc/char/1.cc: New.
4074 * 27_io/basic_stringbuf/sbumpc/char/9825.cc: New.
4075 * 27_io/basic_stringbuf/seekoff/char/1.cc: New.
4076 * 27_io/basic_stringbuf/seekoff/char/2.cc: New.
4077 * 27_io/basic_stringbuf/seekpos/char/1.cc: New.
4078 * 27_io/basic_stringbuf/seekpos/char/2.cc: New.
4079 * 27_io/basic_stringbuf/setbuf/char/1.cc: New.
4080 * 27_io/basic_stringbuf/setbuf/char/2.cc: New.
4081 * 27_io/basic_stringbuf/setbuf/char/3.cc: New.
4082 * 27_io/basic_stringbuf/sgetc/char/1.cc: New.
4083 * 27_io/basic_stringbuf/sgetn/char/1.cc: New.
4084 * 27_io/basic_stringbuf/snextc/char/1.cc: New.
4085 * 27_io/basic_stringbuf/sputbackc/char/1.cc: New.
4086 * 27_io/basic_stringbuf/sputbackc/char/9425.cc: New.
4087 * 27_io/basic_stringbuf/sputc/char/1.cc: New.
4088 * 27_io/basic_stringbuf/sputc/char/1057.cc: New.
4089 * 27_io/basic_stringbuf/sputc/char/9404-1.cc: New.
4090 * 27_io/basic_stringbuf/sputn/char/1.cc: New.
4091 * 27_io/basic_stringbuf/sputn/char/1057.cc: New.
4092 * 27_io/basic_stringbuf/sputn/char/9404-2.cc: New.
4093 * 27_io/basic_stringbuf/str/char/1.cc: New.
4094 * 27_io/basic_stringbuf/str/char/2.cc: New.
4095 * 27_io/basic_stringbuf/str/char/3.cc: New.
4096 * 27_io/basic_stringbuf/str/char/3955.cc: New.
4097 * 27_io/basic_stringbuf/sungetc/char/1.cc: New.
4098 * 27_io/basic_stringbuf/sync/char/1057.cc: New.
4099 * 27_io/basic_stringstream/1.cc: New.
4100 * 27_io/basic_stringstream/2.cc: New.
4101 * 27_io/basic_stringstream/3.cc: New.
4102 * 27_io/basic_stringstream/4.cc: New.
4103 * 27_io/basic_stringstream/rdbuf/char/2832.cc: New.
4104 * 27_io/basic_stringstream/str/char/1.cc: New.
4105 * 27_io/basic_stringstream/str/char/2.cc: New.
4106 * 27_io/basic_stringstream/str/char/3.cc: New.
4107 * 27_io/basic_stringstream/str/char/4.cc: New.
4108 * 27_io/fpos/1.cc: New.
4109 * 27_io/fpos/2.cc: New.
4110 * 27_io/fpos/3.cc: New.
4111 * 27_io/ios_base/callbacks/1.cc: New.
4112 * 27_io/ios_base/state/1.cc: New.
4113 * 27_io/ios_base/storage/1.cc: New.
4114 * 27_io/ios_base/storage/2.cc: New.
4115 * 27_io/ios_base/storage/3.cc: New.
4116 * 27_io/ios_base/sync_with_stdio/1.cc: New.
4117 * 27_io/ios_base/sync_with_stdio/2.cc: New.
4118 * 27_io/manipulators/adjustfield/char/1.cc: New.
4119 * 27_io/manipulators/adjustfield/char/2.cc: New.
4120 * 27_io/manipulators/basefield/char/1.cc: New.
4121 * 27_io/manipulators/standard/char/1.cc: New.
4122 * 27_io/manipulators/standard/char/2.cc: New.
4123 * 27_io/objects/char/1.cc: New.
4124 * 27_io/objects/char/2.cc: New.
4125 * 27_io/objects/char/2523-1_xin.cc: New.
4126 * 27_io/objects/char/2523-1_xin.in: New.
4127 * 27_io/objects/char/2523-2_xin.cc: New.
4128 * 27_io/objects/char/2523-2_xin.in: New.
4129 * 27_io/objects/char/3045.cc: New.
4130 * 27_io/objects/char/3647.cc: New.
4131 * 27_io/objects/char/3_xin.cc: New.
4132 * 27_io/objects/char/3_xin.in: New.
4133 * 27_io/objects/char/4_xin.cc: New.
4134 * 27_io/objects/char/4_xin.in: New.
4135 * 27_io/objects/char/5268.cc: New.
4136 * 27_io/objects/char/5280_xin.cc: New.
4137 * 27_io/objects/char/5280_xin.in: New.
4138 * 27_io/objects/char/6548_xin.cc: New.
4139 * 27_io/objects/char/6548_xin.in: New.
4140 * 27_io/objects/char/6648-1_xin.cc: New.
4141 * 27_io/objects/char/6648-1_xin.in: New.
4142 * 27_io/objects/char/6648-2_xin.cc: New.
4143 * 27_io/objects/char/6648-2_xin.in: New.
4144 * 27_io/objects/char/7744_xin.cc: New.
4145 * 27_io/objects/char/7744_xin.in: New.
4146 * 27_io/objects/wchar_t/1.cc: New.
4147 * 27_io/types/1.cc: New.
4148 * 27_io/types/2.cc: New.
4149 * data/filebuf_members-1.tst: New.
4150 * data/filebuf_members-1.txt: New.
4151 * data/filebuf_virtuals-1.tst: New.
4152 * data/filebuf_virtuals-1.txt: New.
4153 * data/filebuf_virtuals-2.tst: New.
4154 * data/filebuf_virtuals-3.tst: New.
4155 * data/ifstream_members-1.tst: New.
4156 * data/ifstream_members-1.txt: New.
4157 * data/ios_base_members_static-1.tst: New.
4158 * data/istream_extractor_other-1.tst: New.
4159 * data/istream_extractor_other-1.txt: New.
4160 * data/istream_extractor_other-2.tst: New.
4161 * data/istream_seeks-1.tst: New.
4162 * data/istream_seeks-1.txt: New.
4163 * data/istream_seeks-2.tst: New.
4164 * data/istream_seeks-3.tst: New.
4165 * data/istream_unformatted-1.tst: New.
4166 * data/istream_unformatted-1.txt: New.
4167 * data/ofstream_members-1.tst: New.
4168 * data/ostream_inserter_char-1.tst: New.
4169 * data/ostream_inserter_char-1.txt: New.
4170 * data/ostream_inserter_other-1.tst: New.
4171 * data/ostream_inserter_other-2.tst: New.
4172 * data/ostream_seeks-1.tst: New.
4174 2003-04-09 Benjamin Kosnik <bkoz@redhat.com>
4176 * include/bits/sstream.tcc (basic_stringbuf::seekpos): Remove
4177 requirement that __mode must be strict input or output.
4179 * include/std/std_streambuf.h (basic_streambuf::setp): Set
4182 * include/std/std_sstream.h (basic_strinbuf::str): Zero length
4183 output string shouldn't core.
4184 (basic_stringbuf::_M_really_sync): Add base argument. Remove rturn
4186 * include/bits/sstream.tcc: Adjust _M_really_sync bits here.
4188 * include/bits/istream.tcc (basic_istream::putback): Set gcount to
4191 2003-04-09 Benjamin Kosnik <bkoz@redhat.com>
4193 * testsuite/data: New directory.
4194 * testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3-init): Modify
4195 to copy files from the testsuite data directory.
4196 (libstdc++-v3-list-sourcefiles): Add another test list filter, for
4197 testfiles containing _xin, which now means this is an interactive
4198 test and should be run with the interactive dejagnu hooks.
4199 * testsuite/Makefile.am: Remove testsuite_* files.
4200 * testsuite/Makefile.in: Regenerate.
4202 2003-04-09 Zack Weinberg <zack@codesourcery.com>
4204 * docs/html/install.html: Document complete list of locales
4205 required by test suite. Document procedure for installing
4206 said locales under Debian. Solicit instructions for other
4209 2003-04-08 Alexandre Oliva <aoliva@redhat.com>
4211 * include/bits/sstream.tcc (overflow): Make sure operands of min
4212 and max have the same type.
4214 2003-04-04 Jerry Quinn <jlquinn@optonline.net>
4217 * src/ios.cc (ios_base::_M_init): Remove _M_callbacks
4220 2003-03-31 Paolo Carlini <pcarlini@unitus.it>
4222 * include/std/std_streambuf.h (_M_out_buf_size()): Remove.
4223 * include/bits/fstream.tcc (_M_allocate_internal_buffer):
4224 Don't set _M_out_end.
4225 (basic_filebuf::overflow): Replace _M_out_buf_size() with
4226 this->_M_out_cur && this->_M_out_cur < this->_M_out_end.
4227 * include/bits/sstream.tcc (basic_stringbuf::overflow):
4228 Replace _M_out_buf_size() with this->_M_out_cur < this->_M_out_end;
4229 * include/bits/streambuf.tcc (basic_streambuf::sputc):
4230 Replace _M_out_buf_size() with _M_out_cur && _M_out_cur < _M_out_end.
4231 (basic_streambuf::xsputn): Replace _M_out_buf_size() with
4232 _M_out_end - _M_out_cur.
4233 (__copy_streambufs): Likewise.
4234 * include/std/std_fstream.h (_M_set_determinate): Set
4237 2003-03-30 Paolo Carlini <pcarlini@unitus.it>
4239 * include/bits/fstream.tcc (basic_filebuf::showmanyc,
4240 _M_convert_to_external, _M_really_overflow, seekoff): Fix
4241 test for synced buffer.
4242 * include/std/std_fstream.h (sync): Likewise.
4243 * src/fstream.cc (basic_filebuf<char>::_M_underflow_common,
4244 basic_filebuf<wchar_t>::_M_underflow_common): Likewise.
4246 2003-03-28 Benjamin Kosnik <bkoz@redhat.com>
4248 * include/std/std_sstream.h (basic_istringstream): Adjust
4250 (basic_ostringstream): Same.
4251 (basic_stringstream): Same.
4252 * include/std/std_fstream.h (basic_ifstream): Adjust initialization.
4253 (basic_ofstream): Same.
4254 (basic_fstream): Same.
4255 * include/std/std_ostream.h (basic_ostrem): Add protected ctor
4256 that does not call init.
4257 * include/std/std_istream.h (basic_istream): Same.
4258 (basic_iostream): Construct istream, ostream uninitialized, use
4259 init to initialize just once. Add protected ctor that does not
4262 2003-03-28 Paolo Carlini <pcarlini@unitus.it>
4263 Nathan Myers <ncm@cantrip.org>
4266 * include/bits/fstream.tcc (basic_filebuf<>::open): Don't
4268 (basic_filebuf<>::showmanyc): Use the information provided
4269 by codecvt and __basic_file<>::showmanyc_helper to implement
4270 a non-trivial showmanyc.
4271 * config/io/basic_file_stdio.h
4272 (__basic_file<>::showmanyc_helper): New, declare.
4273 * config/io/basic_file_stdio.cc
4274 (__basic_file<>::showmanyc_helper): Define.
4275 (__basic_file<>::_M_open_mode): Don't set O_NONBLOCK.
4276 (__basic_file<char>::open): Don't call fcntl().
4277 * acinclude.m4 (GLIBCPP_CHECK_S_ISREG_OR_S_IFREG,
4278 GLIBCPP_CHECK_POLL): New macros.
4279 * configure.in: Call here.
4280 * acconfig.h: Add #undefs for the corresponding symbols.
4281 * aclocal.m4: Regenerate.
4282 * configure: Regenerate.
4283 * config.h.in: Regenerate.
4285 2003-03-24 Benjamin Kosnik <bkoz@redhat.com>
4287 * config/linker-map.gnu: Remove string export restrictions.
4289 2003-03-24 Paolo Carlini <pcarlini@unitus.it>
4291 * testsuite/21_strings/basic_string/find/char/1.cc: Remove
4292 find_first_of, find_last_of and find_last_not_of tests.
4293 * testsuite/21_strings/basic_string/find/char/2.cc: find_first_of
4294 tests here, new file.
4295 * testsuite/21_strings/basic_string/find/wchar_t/1.cc: Likewise,
4296 remove wchar_t find_first_of, find_last_of and find_last_not_of tests.
4297 * testsuite/21_strings/basic_string/find/wchar_t/2.cc: Likewise,
4298 wchar_t find_first_of tests here, new file.
4299 * testsuite/21_strings/basic_string/rfind/char/2.cc: find_last_of
4301 * testsuite/21_strings/basic_string/rfind/char/3.cc: find_last_not_of
4303 * testsuite/21_strings/basic_string/rfind/wchar_t/2.cc: likewise,
4304 wchar_t find_last_of tests here.
4305 * testsuite/21_strings/basic_string/rfind/wchar_t/3.cc: likewise,
4306 wchar_t find_last_not_of tests here.
4308 2003-03-22 Loren J. Rittle <ljrittle@acm.org>
4310 * config/os/hpux/ctype_noninline.h (ctype<char>::classic_table):
4311 Correct return value.
4313 2003-03-21 Jerry Quinn <jlquinn@optonline.net>
4316 * include/bits/c++config (_GLIBCPP_FAST_MATH): Define.
4317 * include/std/std_complex.h (norm): Use faster,
4318 less accurate computation for builtin float types under --fast-math.
4320 2003-03-21 Magnus Fromreide <gnats@magfr.user.lysator.liu.se>
4322 * testsuite/testsuite_hooks.h: Fix warning nits.
4324 2003-03-19 Alexandre Oliva <aoliva@redhat.com>
4326 * config/cpu/mips/atomicity.h (__exchange_and_add, __atomic_add):
4327 Only .set mips2 for the o32 ABI.
4329 2003-03-19 Paolo Carlini <pcarlini@unitus.it>
4331 * testsuite/21_strings/char_traits/requirements/char/1.cc:
4332 Test char not wchar_t.
4334 2003-03-18 Paolo Carlini <pcarlini@unitus.it>
4336 * testsuite/21_strings/basic_string/append/wchar_t/1.cc:
4337 Correct size, taking into account sizeof(wchar_t).
4339 2003-03-18 Paolo Carlini <pcarlini@unitus.it>
4341 Reshuffle 21_strings testsuite.
4342 * testsuite/21_strings/append.cc, c_strings.cc, invariants.cc,
4343 assign.cc, ctor_copy_dtor.cc, nonmember.cc, capacity.cc,
4344 element_access.cc, operations.cc, char_traits_requirements.cc,
4345 find.cc, replace.cc, char_traits_typedefs.cc, insert.cc, rfind.cc,
4346 compare.cc, inserters_extractors.cc, substr.cc: Split up, add
4347 wchar_t tests as follows.
4348 * 21_strings/basic_string/append/char/1.cc: New.
4349 * 21_strings/basic_string/append/wchar_t/1.cc: New.
4350 * 21_strings/basic_string/assign/char/1.cc: New.
4351 * 21_strings/basic_string/assign/char/2.cc: New.
4352 * 21_strings/basic_string/assign/char/3.cc: New.
4353 * 21_strings/basic_string/assign/wchar_t/1.cc: New.
4354 * 21_strings/basic_string/assign/wchar_t/2.cc: New.
4355 * 21_strings/basic_string/assign/wchar_t/3.cc: New.
4356 * 21_strings/basic_string/capacity/1.cc: New.
4357 * 21_strings/basic_string/capacity/char/1.cc: New.
4358 * 21_strings/basic_string/capacity/char/2.cc: New.
4359 * 21_strings/basic_string/capacity/wchar_t/1.cc: New.
4360 * 21_strings/basic_string/capacity/wchar_t/2.cc: New.
4361 * 21_strings/basic_string/compare/char/1.cc: New.
4362 * 21_strings/basic_string/compare/wchar_t/1.cc: New.
4363 * 21_strings/basic_string/cons/char/1.cc: New.
4364 * 21_strings/basic_string/cons/char/2.cc: New.
4365 * 21_strings/basic_string/cons/char/3.cc: New.
4366 * 21_strings/basic_string/cons/char/4.cc: New.
4367 * 21_strings/basic_string/cons/char/5.cc: New.
4368 * 21_strings/basic_string/cons/wchar_t/1.cc: New.
4369 * 21_strings/basic_string/cons/wchar_t/2.cc: New.
4370 * 21_strings/basic_string/cons/wchar_t/3.cc: New.
4371 * 21_strings/basic_string/cons/wchar_t/4.cc: New.
4372 * 21_strings/basic_string/cons/wchar_t/5.cc: New.
4373 * 21_strings/basic_string/element_access/char/1.cc: New.
4374 * 21_strings/basic_string/element_access/char/2.cc: New.
4375 * 21_strings/basic_string/element_access/char/3.cc: New.
4376 * 21_strings/basic_string/element_access/wchar_t/1.cc: New.
4377 * 21_strings/basic_string/element_access/wchar_t/2.cc: New.
4378 * 21_strings/basic_string/element_access/wchar_t/3.cc: New.
4379 * 21_strings/basic_string/find/char/1.cc: New.
4380 * 21_strings/basic_string/find/wchar_t/1.cc: New.
4381 * 21_strings/basic_string/insert/char/1.cc: New.
4382 * 21_strings/basic_string/insert/char/2.cc: New.
4383 * 21_strings/basic_string/insert/wchar_t/1.cc: New.
4384 * 21_strings/basic_string/insert/wchar_t/2.cc: New.
4385 * 21_strings/basic_string/inserters_extractors/char/1.cc: New.
4386 * 21_strings/basic_string/inserters_extractors/char/4.cc: New.
4387 * 21_strings/basic_string/inserters_extractors/char/5.cc: New.
4388 * 21_strings/basic_string/inserters_extractors/char/6.cc: New.
4389 * 21_strings/basic_string/inserters_extractors/char/7.cc: New.
4390 * 21_strings/basic_string/inserters_extractors/char/8.cc: New.
4391 * 21_strings/basic_string/inserters_extractors/char/9.cc: New.
4392 * 21_strings/basic_string/inserters_extractors/wchar_t/1.cc: New.
4393 * 21_strings/basic_string/inserters_extractors/wchar_t/4.cc: New.
4394 * 21_strings/basic_string/inserters_extractors/wchar_t/5.cc: New.
4395 * 21_strings/basic_string/inserters_extractors/wchar_t/6.cc: New.
4396 * 21_strings/basic_string/inserters_extractors/wchar_t/7.cc: New.
4397 * 21_strings/basic_string/inserters_extractors/wchar_t/8.cc: New.
4398 * 21_strings/basic_string/inserters_extractors/wchar_t/9.cc: New.
4399 * 21_strings/basic_string/operators/char/1.cc: New.
4400 * 21_strings/basic_string/operators/char/2.cc: New.
4401 * 21_strings/basic_string/operators/wchar_t/1.cc: New.
4402 * 21_strings/basic_string/operators/wchar_t/2.cc: New.
4403 * 21_strings/basic_string/replace/char/1.cc: New.
4404 * 21_strings/basic_string/replace/char/2.cc: New.
4405 * 21_strings/basic_string/replace/char/3.cc: New.
4406 * 21_strings/basic_string/replace/char/4.cc: New.
4407 * 21_strings/basic_string/replace/char/5.cc: New.
4408 * 21_strings/basic_string/replace/wchar_t/1.cc: New.
4409 * 21_strings/basic_string/replace/wchar_t/2.cc: New.
4410 * 21_strings/basic_string/replace/wchar_t/3.cc: New.
4411 * 21_strings/basic_string/replace/wchar_t/4.cc: New.
4412 * 21_strings/basic_string/replace/wchar_t/5.cc: New.
4413 * 21_strings/basic_string/rfind/char/1.cc: New.
4414 * 21_strings/basic_string/rfind/char/2.cc: New.
4415 * 21_strings/basic_string/rfind/char/3.cc: New.
4416 * 21_strings/basic_string/rfind/wchar_t/1.cc: New.
4417 * 21_strings/basic_string/rfind/wchar_t/2.cc: New.
4418 * 21_strings/basic_string/rfind/wchar_t/3.cc: New.
4419 * 21_strings/basic_string/substr/char/1.cc: New.
4420 * 21_strings/basic_string/substr/wchar_t/1.cc: New.
4421 * 21_strings/c_strings/char/1.cc: New.
4422 * 21_strings/c_strings/char/2.cc: New.
4423 * 21_strings/c_strings/wchar_t/1.cc: New.
4424 * 21_strings/c_strings/wchar_t/2.cc: New.
4425 * 21_strings/char_traits/requirements/char/1.cc: New.
4426 * 21_strings/char_traits/requirements/wchar_t/1.cc: New.
4427 * 21_strings/char_traits/typedefs/char/1.cc: New.
4429 2003-03-17 Paolo Carlini <pcarlini@unitus.it>
4430 Petur Runolfsson <peturr02@ru.is>
4433 * src/fstream.cc (basic_filebuf<char>::_M_underflow_common,
4434 basic_filebuf<wchar_t>::_M_underflow_common):
4435 if (gptr() < egptr()) return *gptr().
4436 * testsuite/27_io/filebuf_virtuals.cc (test16): Add.
4438 * testsuite/27_io/filebuf_members.cc (test_04): Minor
4439 changes: unlink fifo before making it, fix spelling error.
4441 2003-03-17 Benjamin Kosnik <bkoz@redhat.com>
4443 * testsuite/Makefile.am (CLEANFILES): Add tmp*.
4444 * testsuite/Makefile.in: Regenerate.
4445 * testsuite/27_io/filebuf_members.cc: Consistently name tmp files.
4448 2003-03-17 Petur Runolfsson <peturr02@ru.is>
4451 * include/bits/fstream.tcc (basic_filebuf::close):
4452 Always close file, even when write fails.
4453 * testsuite/27_io/filebuf_members.cc (test_07): New test.
4455 2003-03-17 Danny Smith <dannysmith@users.sourceforge.net>
4457 * libsupc++/Makefile.am (C_COMPILE): Remove.
4458 (LTCOMPILE): Likewise.
4459 * libsupc++/Makefile.in: Regenerate.
4461 2003-03-14 Benjamin Kosnik <bkoz@redhat.com>
4463 * testsuite/23_containers/bitset_members.cc: Add test variable.
4464 * testsuite/23_containers/map_insert.cc: Same.
4465 * testsuite/22_locale/ctype/cons/char/1.cc: Same.
4466 * testsuite/22_locale/codecvt/max_length/wchar_t/1.cc: Same.
4467 * testsuite/22_locale/codecvt/max_length/wchar_t/2.cc: Same.
4468 * testsuite/22_locale/codecvt/max_length/wchar_t/3.cc: Same.
4469 * testsuite/22_locale/codecvt/max_length/wchar_t/4.cc: Same.
4470 * testsuite/22_locale/codecvt/always_noconv/wchar_t/1.cc: Same.
4471 * testsuite/22_locale/codecvt/always_noconv/wchar_t/2.cc: Same.
4472 * testsuite/22_locale/codecvt/always_noconv/wchar_t/3.cc: Same.
4473 * testsuite/22_locale/codecvt/always_noconv/wchar_t/4.cc: Same.
4474 * testsuite/27_io/istream_exception.cc: Same.
4475 * testsuite/27_io/filebuf_virtuals.cc: Same.
4476 * testsuite/27_io/stringbuf_virtuals.cc: Same.
4477 * testsuite/27_io/ostream_inserter_arith.cc: Same.
4478 * testsuite/26_numerics/valarray_operators.cc: Same.
4479 * testsuite/26_numerics/slice.cc: Same.
4480 * testsuite/26_numerics/slice_array_assignment.cc: Same.
4481 * testsuite/24_iterators/istream_iterator.cc: Same.
4482 * mkcheck.in (TESTS_FILE): Use dejagnu-generated file if possible.
4484 2003-03-14 Petur Runolfsson <peturr02@ru.is>
4488 * config/locale/generic/ctype_members.cc,
4489 * config/locale/gnu/ctype_members.cc
4490 (ctype<wchar_t>::do_widen(char)): Cast argument to
4491 unsigned char before passing to btowc.
4492 (ctype<wchar_t>::do_widen(const char*, const char*, wchar_t*)):
4493 Convert characters with btowc instead of mbsrtowcs.
4494 (ctype<wchar_t>::do_narrow(const wchar_t*, const wchar_t*,
4496 Convert characters with wctob instead of wcsrtombs.
4497 * testsuite/22_locale/ctype/narrow/wchar_t/3.cc: New test.
4498 * testsuite/22_locale/ctype/widen/wchar_t/2.cc: New test.
4499 * testsuite/22_locale/ctype/widen/wchar_t/3.cc: New test.
4501 2003-03-14 Benjamin Kosnik <bkoz@redhat.com>
4503 * include/stdc++.h: New.
4504 * libsupc++/exception_defines.h (__EXCEPTION_DEFINES_H): Add guard.
4505 * include/Makefile.am (stamp-std-precompile): Generate stdc++.h.gch
4506 * include/Makefile.in: Regenerate.
4507 * testsuite_flags.in (--build-cxx): Add, but don't use PCHFLAGS.
4508 (--cxxflags): Put -g -O2 here.
4509 * testsuite/libstdc++-v3.dg/dg.exp: Remove -g -O2 here.
4511 2003-03-14 Loren J. Rittle <ljrittle@acm.org>
4513 * testsuite/testsuite_hooks.h: Suppress runtime exception thrown by
4514 missing named locale.
4516 2003-03-14 Andreas Schwab <schwab@suse.de>
4518 * configure.in: Only append to makefiles that are newly created to
4519 avoid multiple multi-do/multi-clean rules.
4520 * configure: Rebuilt.
4522 2003-03-13 Jonathan Wakely <redi@gcc.gnu.org>
4524 * docs/html/configopts.html, docs/html/documentation.html,
4525 docs/html/explanations.html, docs/html/install.html,
4526 docs/html/19_diagnostics/howto.html, docs/html/faq/index.html: Fix
4527 invalid XHTML and make page header style consistent.
4529 2003-03-12 Jonathan Wakely <redi@gcc.gnu.org>
4531 * docs/html/faq/index.html: Explain memory "leaks" due to allocators.
4532 * docs/html/faq/index.txt: Regenerate.
4533 * docs/html/debug.html: Add a bit to allocator text and fix XHTML.
4535 2003-03-12 Andreas Schwab <schwab@suse.de>
4537 * acinclude.m4 (GLIBCPP_EXPORT_INSTALL_INFO): Avoid trailing /. in
4538 glibcpp_toolexeclibdir.
4539 * aclocal.m4, configure: Rebuilt.
4541 2003-03-11 Jonathan Wakely <redi@gcc.gnu.org>
4543 * docs/html/faq/index.html: Update text about location of headers.
4544 * docs/html/faq/index.txt: Regenerate.
4546 2003-03-11 Carlo Wood <carlo@alinoe.com>
4548 * include/bits/demangle.h: Prepend accessors of
4549 class qualifier with 'get_' in order to fix warnings
4550 when compiling with -Wshadow.
4552 2003-03-11 Loren J. Rittle <ljrittle@acm.org>
4554 * config/os/bsd/freebsd/ctype_inline.h: Support _M_table
4556 * testsuite/22_locale/ctype/cons/char/1.cc: Fix typo.
4558 * testsuite/testsuite_hooks.h (run_tests_wrapped_env): Do not
4559 report lack of setenv().
4561 2003-03-09 Paolo Carlini <pcarlini@unitus.it>
4563 * config/io/basic_file_stdio.cc: include <unistd.h>.
4565 2003-03-09 Paolo Carlini <pcarlini@unitus.it>
4566 Nathan Myers <ncm@cantrip.org>
4569 * config/io/basic_file_stdio.h (__basic_file<>::xsgetn, xsputn,
4570 seekoff, seekpos): Add a boolean parameter __stdio.
4571 * config/io/basic_file_stdio.cc (__basic_file<>::xsgetn, xsputn,
4572 seekoff, seekpos): If __stdio == true, use fread (fwrite, fseek/ftell,
4573 fseek/ftell, respectively), otherwise read (write, lseek, lseek,
4575 * include/bits/fstream.tcc (basic_filebuf<>::_M_convert_to_external,
4576 _M_really_overflow, seekoff): Use the boolean parameter in the calls.
4577 * include/std/std_fstream.h (sync): Likewise.
4578 * src/fstream.cc (basic_filebuf<>::_M_underflow_common): Likewise.
4579 * src/ios.cc (ios_base::Init::_S_ios_create(bool)): Revert
4580 libstdc++/8399 commit involving isatty(0).
4581 * acinclude.m4 (GLIBCPP_CHECK_UNISTD_DECL_AND_LINKAGE_1): Remove.
4582 (GLIBCPP_CHECK_UNISTD_SUPPORT): Remove
4583 * configure.in: Remove call.
4584 * aclocal.m4: Regenerate.
4585 * config.h.in: Regenerate.
4586 * configure: Regenerate.
4587 * testsuite/27_io/narrow_stream_objects.cc (test11): Add.
4589 2003-03-09 Paolo Carlini <pcarlini@unitus.it>
4592 * include/bits/fstream.tcc (overflow): don't write EOF to file.
4593 * testsuite/27_io/filebuf_virtuals.cc (test15): Add.
4595 2003-03-08 Jerry Quinn <jlquinn@optonline.net>
4598 * include/bits/basic_ios.h (_M_setstate): New.
4599 * include/bits/ostream.tcc (operator<<): Use it.
4600 * include/bits/istream.tcc (operator>>): Use it.
4601 * include/std/std_ostream.h (operator<<): Make friends.
4602 * include/std/std_istream.h (operator>>): Make friends.
4603 * testsuite/27_io/ostream_exception.cc,
4604 testsuite/27_io/istream_exception.cc: New tests.
4606 2003-03-08 Benjamin Kosnik <bkoz@redhat.com>
4608 * include/bits/locale_facets.tcc: Fix typo.
4610 2003-03-08 Loren J. Rittle <ljrittle@acm.org>
4612 * testsuite/26_numerics/c99_classification_macros_c.cc: Tweak test.
4614 * config/locale/generic/c_locale.cc
4615 (locale::facet::_S_create_c_locale): Throw runtime exception when
4616 unsupported language is specified.
4617 * testsuite/testsuite_hooks.h
4618 (run_test_wrapped_generic_locale_exception_catcher): New function.
4619 * testsuite/testsuite_hooks.cc (run_tests_wrapped_locale):
4620 Suppress runtime exception thrown by generic implementation.
4621 (run_tests_wrapped_env): Likewise.
4622 (run_test_wrapped_generic_locale_exception_catcher): New function.
4623 * testsuite/22_locale/collate/compare/char/1.cc: New test wrap.
4624 * testsuite/22_locale/collate/compare/char/2.cc: New test wrap.
4625 * testsuite/22_locale/collate/compare/char/3.cc: New test wrap.
4626 * testsuite/22_locale/collate/hash/char/2.cc: New test wrap.
4627 * testsuite/22_locale/collate/transform/char/2.cc: New test wrap.
4628 * testsuite/22_locale/collate/transform/char/3.cc: New test wrap.
4629 * testsuite/22_locale/collate_byname/1.cc: New test wrap.
4630 * testsuite/22_locale/ctype/is/char/2.cc: New test wrap.
4631 * testsuite/22_locale/facet/2.cc: New test wrap.
4632 * testsuite/22_locale/locale/cons/4.cc: New test wrap.
4633 * testsuite/22_locale/locale/cons/5.cc: New test wrap.
4634 * testsuite/22_locale/locale/cons/7.cc: New test wrap.
4635 * testsuite/22_locale/messages/members/char/1.cc: New test wrap.
4636 * testsuite/22_locale/messages/members/char/2.cc: New test wrap.
4637 * testsuite/22_locale/messages/members/char/3.cc: New test wrap.
4638 * testsuite/22_locale/messages_byname/1.cc: New test wrap.
4639 * testsuite/22_locale/money_get/get/char/1.cc: New test wrap.
4640 * testsuite/22_locale/money_get/get/char/2.cc: New test wrap.
4641 * testsuite/22_locale/money_get/get/char/3.cc: New test wrap.
4642 * testsuite/22_locale/money_get/get/char/4.cc: New test wrap.
4643 * testsuite/22_locale/money_put/put/char/1.cc: New test wrap.
4644 * testsuite/22_locale/money_put/put/char/2.cc: New test wrap.
4645 * testsuite/22_locale/money_put/put/char/3.cc: New test wrap.
4646 * testsuite/22_locale/moneypunct/members/char/2.cc: New test wrap.
4647 * testsuite/22_locale/moneypunct_byname/1.cc: New test wrap.
4648 * testsuite/22_locale/num_get/get/char/1.cc: New test wrap.
4649 * testsuite/22_locale/num_get/get/char/2.cc: New test wrap.
4650 * testsuite/22_locale/num_get/get/char/3.cc: New test wrap.
4651 * testsuite/22_locale/num_get/get/char/5.cc: New test wrap.
4652 * testsuite/22_locale/num_get/get/char/6.cc: New test wrap.
4653 * testsuite/22_locale/num_put/put/char/1.cc: New test wrap.
4654 * testsuite/22_locale/num_put/put/char/2.cc: New test wrap.
4655 * testsuite/22_locale/num_put/put/char/3.cc: New test wrap.
4656 * testsuite/22_locale/num_put/put/char/5.cc: New test wrap.
4657 * testsuite/22_locale/numpunct/members/char/1.cc: New test wrap.
4658 * testsuite/22_locale/numpunct/members/char/2.cc: New test wrap.
4659 * testsuite/22_locale/numpunct_byname/1.cc: New test wrap.
4660 * testsuite/22_locale/numpunct_byname/2.cc: New test wrap.
4661 * testsuite/22_locale/time_get/date_order/char/1.cc: New test wrap.
4662 * testsuite/22_locale/time_get/get_date/char/1.cc: New test wrap.
4663 * testsuite/22_locale/time_get/get_date/char/2.cc: New test wrap.
4664 * testsuite/22_locale/time_get/get_monthname/char/1.cc: New test wrap.
4665 * testsuite/22_locale/time_get/get_monthname/char/2.cc: New test wrap.
4666 * testsuite/22_locale/time_get/get_time/char/1.cc: New test wrap.
4667 * testsuite/22_locale/time_get/get_time/char/2.cc: New test wrap.
4668 * testsuite/22_locale/time_get/get_weekday/char/1.cc: New test wrap.
4669 * testsuite/22_locale/time_get/get_weekday/char/2.cc: New test wrap.
4670 * testsuite/22_locale/time_get/get_year/char/1.cc: New test wrap.
4671 * testsuite/22_locale/time_put/put/char/1.cc: New test wrap.
4672 * testsuite/22_locale/time_put/put/char/2.cc: New test wrap.
4673 * testsuite/22_locale/time_put/put/char/3.cc: New test wrap.
4674 * testsuite/22_locale/time_put/put/char/4.cc: New test wrap.
4675 * testsuite/22_locale/time_put/put/char/5.cc: New test wrap.
4676 * testsuite/22_locale/time_put/put/char/6.cc: New test wrap.
4677 * testsuite/22_locale/time_put/put/char/7.cc: New test wrap.
4678 * testsuite/22_locale/time_put/put/char/8.cc: New test wrap.
4679 * testsuite/27_io/filebuf_virtuals.cc: New test wrap.
4680 * testsuite/27_io/ios_members.cc: New test wrap.
4681 * testsuite/27_io/ostream_inserter_arith.cc (test02): Make void.
4683 * testsuite/27_io/streambuf_members.cc: New test wrap.
4684 * testsuite/27_io/stringbuf_virtuals.cc: New test wrap.
4686 2003-03-08 Paolo Carlini <pcarlini@unitus.it>
4687 Petur Runolfsson <peturr02@ru.is>
4690 * include/bits/streambuf.tcc (__copy_streambufs): Use
4691 sgetn-sputn only when sputn cannot fail, otherwise fall back
4692 to safe snextc-sputc.
4693 * testsuite/27_io/streambuf_members.cc (test11, test12): Add.
4695 2003-03-08 Jerry Quinn <jlquinn@optonline.net>
4697 * include/bits/locale_facets.tcc (num_put::do_put(bool)): Use
4698 locale cache for truename and falsename.
4700 2003-03-08 Jerry Quinn <jlquinn@optonline.net>
4702 * src/ios.cc (ios_base::ios_base): Correct order of _M_word and
4703 _M_word_size initialization.
4705 2003-03-07 Paolo Carlini <pcarlini@unitus.it>
4707 * include/bits/fstream.tcc (_M_convert_to_external):
4708 Set __elen to zero if codecvt::out eventually fails.
4710 2003-03-07 Paolo Carlini <pcarlini@unitus.it>
4713 * include/bits/fstream.tcc (_M_really_overflow): Check
4714 for _M_convert_to_external possible failures.
4715 * include/std/std_fstream.h (sync): Check _M_really_overflow
4716 return value and return -1 in case of failure.
4717 * testsuite/27_io/filebuf_virtuals.cc (test13, test14): Add.
4719 2003-03-07 Paolo Carlini <pcarlini@unitus.it>
4722 * include/bits/istream.tcc (operator>>(_CharT*),
4723 operator>>(basic_string&), ws): Pass a char_type to __ctype.is.
4724 * testsuite/27_io/stringstream.cc (test02): Add.
4726 * include/bits/istream.tcc (operator>>(_CharT*)):
4727 Assign a char_type to *__s.
4729 2003-03-07 Petur Runolfsson <peturr02@ru.is>
4732 * include/bits/locale_facets.tcc
4733 (collate::do_compare, collate::do_transform):
4734 Handle nul characters in input.
4735 * testsuite/22_locale/collate/compare/char/3.cc: New test.
4736 * testsuite/22_locale/collate/compare/wchar_t/3.cc: New test.
4737 * testsuite/22_locale/collate/transform/char/3.cc: New test.
4738 * testsuite/22_locale/collate/transform/wchar_t/3.cc: New test.
4740 2003-03-07 Jerry Quinn <jlquinn@optonline.net>
4742 * include/bits/streambuf_iterator.h (_M_put): Set _M_failed if
4744 * testsuite/27_io/ostream_fail.cc: New test.
4746 2003-03-07 Matthias Klose <doko@debian.org>
4748 * Makefile.am (AM_MAKEFLAGS): Also pass gxx_include_dir.
4749 FLAGS_TO_PASS: Set to AM_MAKEFLAGS
4750 * Makefile.in: Regenerate.
4751 * libsupc++/Makefile.am: Express glibcppinstalldir in terms
4753 AM_MAKEFLAGS: Pass gxx_include_dir.
4754 * libsupc++/Makefile.in: Regenerate.
4756 2003-03-06 Jerry Quinn <jlquinn@optonline.net>
4758 * testsuite/27_io/ios_base_storage.cc (test02): Set exception
4759 mask. Test setting small-numbered pword and iword slots. Test
4760 behavior at limit of numeric_limits::max. Check that values are
4761 still good after failures.
4763 2003-03-06 Jerry Quinn <jlquinn@optonline.net>
4765 * src/ios.cc (ios_base::_M_init): Remove _M_word_size.
4766 (ios_base::ios_base): Set _M_word, _M_word_size.
4767 (ios_base::~ios_base): Remove redundant test.
4768 * testsuite/27_io/ios_base_storage.cc (test03): New.
4770 2003-03-04 Alexandre Oliva <aoliva@redhat.com>
4772 * src/strstream.cc, include/bits/basic_string.tcc: Remove
4773 incorrect whitespace added in my previous change.
4775 2003-03-05 Carlo Wood <carlo@alinoe.com>
4777 * include/bits/ios_base.h(ios_base::Init::_S_initialized()): Added
4778 _S_initialized() in order to allow debugging libraries to detect
4779 when the std streams are initialized from an overloaded operator
4782 2003-03-05 Benjamin Kosnik <bkoz@redhat.com>
4784 * libsupc++/demangle.h: Move to..
4785 * include/bits/demangle.h: ...here.
4786 * src/demangle.cc: Adjust include.
4787 * include/Makefile.am (bits_headers): Add.
4788 * include/Makefile.in: Regenerate.
4790 2003-03-04 Benjamin Kosnik <bkoz@redhat.com>
4792 * src/globals.cc: Clarify comments, remove c_locale_imp_compat.
4794 * config/linker-map.gnu: Filter typeinfo and vtable info.
4796 2003-03-04 Jerry Quinn <jlquinn@optonline.net>
4798 * src/ios.cc (ios_base::_M_grow_words): Don't delete _M_word on
4799 new failure. Throw exception if badbit and exception mask when ix
4800 >= numeric_limits<int>::max().
4802 2003-03-04 Alexandre Oliva <aoliva@redhat.com>
4804 * src/strstream.cc (strstreambuf::overflow): Make sure operands of
4805 min and max have the same type.
4806 * include/bits/basic_string.tcc (append, rfind, compare): Likewise.
4808 2003-03-04 Benjamin Kosnik <bkoz@redhat.com>
4810 * include/Makefile.am (allstamps): Remove stamp-std-precompile.
4811 * include/Makefile.in: Regenerate.
4813 2003-03-03 Benjamin Kosnik <bkoz@redhat.com>
4815 * testsuite/abi_check.cc (report_symbol_info): Add version info.
4817 * config/linker-map.gnu: Hide more stuff.
4818 * include/Makefile.am: Cleanups.
4819 * include/Makefile.in: Regenerate.
4821 2003-02-27 Jerry Quinn <jlquinn@optonline.net>
4823 * config/locale/generic/messages_members.h (messages::messages):
4824 Remove name from unused parameter.
4826 2003-02-27 Benjamin Kosnik <bkoz@redhat.com>
4828 * src/Makefile.am (sources): Add demangle.cc.
4831 * src/Makefile.in: Regenerate.
4832 * libsupc++/Makefile.am: Remove old __cxa_demangle bits.
4833 * libsupc++/Makefile.in: Regenerate.
4835 * testsuite/testsuite_hooks.h
4836 (__gnu_cxx_test::verify_demangle): New.
4837 * testsuite/testsuite_hooks.cc: Define.
4839 2003-02-27 Carlo Wood <carlo@alinoe.com>
4841 * src/demangle.cc: New.
4842 * libsupc++/demangle.h: New.
4844 2003-02-27 Benjamin Kosnik <bkoz@redhat.com>
4845 Carlo Wood <carlo@alinoe.com>
4847 * testsuite/demangle/abi_examples/01.cc: New.
4848 * testsuite/demangle/abi_examples/02.cc: New.
4849 * testsuite/demangle/abi_examples/03.cc: New.
4850 * testsuite/demangle/abi_examples/04.cc: New.
4851 * testsuite/demangle/abi_examples/05.cc: New.
4852 * testsuite/demangle/abi_examples/06.cc: New.
4853 * testsuite/demangle/abi_examples/07.cc: New.
4854 * testsuite/demangle/abi_examples/08.cc: New.
4855 * testsuite/demangle/abi_examples/09.cc: New.
4856 * testsuite/demangle/abi_examples/10.cc: New.
4857 * testsuite/demangle/abi_examples/11.cc: New.
4858 * testsuite/demangle/abi_examples/12.cc: New.
4859 * testsuite/demangle/abi_examples/13.cc: New.
4860 * testsuite/demangle/abi_examples/14.cc: New.
4861 * testsuite/demangle/abi_examples/15.cc: New.
4862 * testsuite/demangle/abi_examples/16.cc: New.
4863 * testsuite/demangle/abi_examples/17.cc: New.
4864 * testsuite/demangle/abi_examples/18.cc: New.
4865 * testsuite/demangle/abi_examples/19.cc: New.
4866 * testsuite/demangle/abi_examples/20.cc: New.
4867 * testsuite/demangle/abi_examples/21.cc: New.
4868 * testsuite/demangle/abi_examples/22.cc: New.
4869 * testsuite/demangle/abi_examples/23.cc: New.
4870 * testsuite/demangle/abi_examples/24.cc: New.
4871 * testsuite/demangle/abi_examples/25.cc: New.
4872 * testsuite/demangle/abi_examples/26.cc: New.
4873 * testsuite/demangle/abi_text/01.cc: New.
4874 * testsuite/demangle/abi_text/02.cc: New.
4875 * testsuite/demangle/abi_text/03.cc: New.
4876 * testsuite/demangle/abi_text/04.cc: New.
4877 * testsuite/demangle/abi_text/05.cc: New.
4878 * testsuite/demangle/abi_text/06.cc: New.
4879 * testsuite/demangle/abi_text/07.cc: New.
4880 * testsuite/demangle/abi_text/08.cc: New.
4881 * testsuite/demangle/abi_text/09.cc: New.
4882 * testsuite/demangle/abi_text/10.cc: New.
4883 * testsuite/demangle/abi_text/11.cc: New.
4884 * testsuite/demangle/abi_text/12.cc: New.
4885 * testsuite/demangle/abi_text/13.cc: New.
4886 * testsuite/demangle/abi_text/14.cc: New.
4887 * testsuite/demangle/regression/3111-1.cc: New.
4888 * testsuite/demangle/regression/3111-2.cc: New.
4889 * testsuite/demangle/regression/7986-01.cc: New.
4890 * testsuite/demangle/regression/7986-02.cc: New.
4891 * testsuite/demangle/regression/7986-03.cc: New.
4892 * testsuite/demangle/regression/7986-04.cc: New.
4893 * testsuite/demangle/regression/7986-05.cc: New.
4894 * testsuite/demangle/regression/7986-06.cc: New.
4895 * testsuite/demangle/regression/7986-07.cc: New.
4896 * testsuite/demangle/regression/7986-08.cc: New.
4897 * testsuite/demangle/regression/7986-09.cc: New.
4898 * testsuite/demangle/regression/7986-10.cc: New.
4899 * testsuite/demangle/regression/7986-11.cc: New.
4900 * testsuite/demangle/regression/7986-12.cc: New.
4901 * testsuite/demangle/regression/7986.cc: New.
4902 * testsuite/demangle/regression/8897.cc: New.
4903 * testsuite/demangle/regression/cw-01.cc: New.
4904 * testsuite/demangle/regression/cw-02.cc: New.
4905 * testsuite/demangle/regression/cw-03.cc: New.
4906 * testsuite/demangle/regression/cw-04.cc: New.
4907 * testsuite/demangle/regression/cw-05.cc: New.
4908 * testsuite/demangle/regression/cw-06.cc: New.
4909 * testsuite/demangle/regression/cw-07.cc: New.
4910 * testsuite/demangle/regression/cw-08.cc: New.
4911 * testsuite/demangle/regression/cw-09.cc: New.
4912 * testsuite/demangle/regression/cw-10.cc: New.
4913 * testsuite/demangle/regression/cw-11.cc: New.
4914 * testsuite/demangle/regression/cw-12.cc: New.
4915 * testsuite/demangle/regression/cw-13.cc: New.
4916 * testsuite/demangle/regression/cw-14.cc: New.
4917 * testsuite/demangle/regression/old.cc: New.
4919 2003-02-25 Phil Edwards <pme@gcc.gnu.org>
4921 * docs/doxygen/Intro.3: Update with new (proper) names.
4922 * docs/doxygen/TODO: Update.
4923 * docs/doxygen/run_doxygen: More comments, fix up man pages.
4924 Fake entries for standard typedefs.
4925 * docs/doxygen/user.cfg.in: Turn INLINE_INHERITED_MEMB back on.
4926 * docs/html/documentation.html: Top-level man page is now called
4928 * include/std/std_limits.h: Doxygenate.
4930 2003-02-25 Scott Snyder <snyder@fnal.gov>
4933 * include/bits/stl_map.h (lower_bound, upper_bound, equal_range):
4934 Correct documentation.
4935 * include/bits/stl_multimap.h (lower_bound, upper_bound,
4936 equal_range): Likewise.
4938 2003-02-24 Paolo Carlini <pcarlini@unitus.it>
4942 (basic_filebuf<char/wchar_t>::_M_underflow_common): When
4943 __bump is true (uflow), always increment the read pointer
4944 (_M_in_cur) before returning successfully.
4945 * testsuite/27_io/filebuf_virtuals.cc (test12): Add.
4947 2003-02-24 Paolo Carlini <pcarlini@unitus.it>
4948 Nathan Myers <ncm@cantrip.org>
4950 PR libstdc++/9404, PR libstdc++/9701 (partial)
4951 (aka pptr == epptr implies overflow)
4952 * include/bits/fstream.tcc (_M_allocate_internal_buffer):
4953 Consistently, _M_out_end points to the end of the buffer just
4955 (overflow): Tweak to use _M_out_buf_size().
4956 (_M_convert_to_external): The role of the old _M_out_end is
4957 now played by _M_out_lim.
4958 (_M_really_overflow): Likewise.
4959 (seekoff): Likewise.
4960 (setbuf): _M_out_end points to the end of the external buffer.
4961 * include/bits/sstream.tcc (overflow): Rewrote, taking into
4962 account the resolution of DR 169 (TC).
4963 (seekoff): Use _M_string.capacity(); ios_base::end is now _M_out_lim.
4964 (seekpos): Use _M_string.capacity(); tweak.
4965 * include/bits/streambuf.tcc (sputc, xsputn): Remove comments.
4966 * include/std/std_fstream.h (sync): The role of the old
4967 _M_out_end is now played by _M_out_lim.
4968 (_M_set_indeterminate): Use _M_set_determinate.
4969 (_M_set_determinate): _M_out_end is now _M_out_lim.
4970 (_M_is_indeterminate): Likewise.
4971 * include/std/std_sstream.h (str()): _M_out_end is now _M_out_lim.
4972 (_M_stringbuf_init): Don't set _M_buf_size, unused for sstreams,
4973 which have the information readily available as _M_string.capacity();
4974 for ate and app modes, pass the string size to _M_really_sync.
4975 (_M_really_sync): Consistently set _M_out_end and _M_out_lim, to
4976 point to the end of the buffer (i.e., epptr) and to the string end,
4978 * include/std/std_streambuf.h: tweak comments, add _M_out_lim,
4979 which points to the right limit of the used put area.
4980 (_M_out_cur_move): The role of the old _M_out_end is now played
4982 (_M_out_buf_size): Simplify: now (when _M_out_cur) return simply
4983 _M_out_end - _M_out_cur (i.e., pptr), _very_ close to the letter
4985 (basic_streambuf()): Initialize _M_out_lim too.
4986 * testsuite/27_io/filebuf_virtuals.cc (test10): Trivial tweak.
4987 * testsuite/27_io/filebuf_virtuals.cc (test11): Add.
4988 * testsuite/27_io/stringbuf_virtuals.cc (test09): Add.
4990 2003-02-24 Benjamin Kosnik <bkoz@redhat.com>
4992 * testsuite/27_io/ios_base_storage.cc (main): Call
4995 2003-02-21 Jerry Quinn <jlquinn@optonline.net>
4997 * include/bits/locale_facets.tcc (_M_convert_float): Replace
4998 numpunct facet accesses with data from __locale_cache.
5000 2003-02-20 Phil Edwards <pme@gcc.gnu.org>
5002 * docs/html/faq/index.html (3.9): New note, wchar_t on FreeBSD.
5003 * docs/html/faq/index.txt: Regenerate.
5005 2003-02-20 Phil Edwards <pme@gcc.gnu.org>
5007 * config/linker-map.gnu: Also export locking symbols needed for the
5008 generic atomicity.h case.
5010 2003-02-20 Alexandre Oliva <aoliva@redhat.com>
5012 * configure.in: Propagate ORIGINAL_LD_FOR_MULTILIBS to
5014 * configure: Rebuilt.
5016 2003-02-19 Paolo Carlini <pcarlini@unitus.it>
5018 * include/bits/sstream.tcc (overflow): According to
5019 27.7.1.3, p5, actual output is performed by sputc(c).
5021 2003-02-19 Phil Edwards <pme@gcc.gnu.org>
5024 * include/bits/stl_alloc.h: Remove all traces of assert().
5026 2003-02-18 Paolo Carlini <pcarlini@unitus.it>
5028 * include/std/std_sstream.h (str()): the size of the
5029 current string may be different from the initial one
5030 whenever _M_out_end > _M_out_beg.
5031 * testsuite/27_io/stringbuf_members.cc (test07): Add.
5033 2003-02-18 Paolo Carlini <pcarlini@unitus.it>
5036 * include/bits/stl_alloc.h (__pool_alloc::allocate): Remove assert.
5038 2003-02-17 Benjamin Kosnik <bkoz@redhat.com>
5040 * include/bits/basic_ios.tcc (copyfmt): Copy locale data as well.
5041 * testsuite/27_io/ios_members.cc (test03): New.
5043 2003-02-17 Jerry Quinn <jlquinn@optonline.net>
5045 * include/bits/basic_ios.h (basic_ios::_M_cache_locale): Declare.
5046 (basic_ios::_M_cache_facets): Move into above.
5047 * include/bits/basic_ios.tcc (basic_ios::copyfmt): Rebuild locale
5049 (basic_ios::imbue): Force locale cache to be built.
5050 (basic_ios::_M_init): Create and initialize locale cache.
5051 * include/bits/ios_base.h (__locale_cache_base): Declare.
5052 (ios_base::_M_locale_cache): New.
5053 (ios_base::_M_cache): Define.
5054 * include/bits/locale_facets.h: (__num_base): Fix comment. Add
5056 (__locale_cache_base,__locale_cache<_CharT>): New classes.
5057 (__locale_cache<char>, __locale_cache<wchar_t>): New specializations.
5058 * include/bits/locale_facets.tcc (num_put::_M_convert_int): Use locale
5059 cache literal string, grouping flag, thousands separator.
5060 (__locale_cache<_CharT>::__locale_cache): New.
5061 (__locale_cache<_CharT>::_M_init): New.
5062 * src/ios.cc: Clear _M_locale_cache in constructor.
5063 * src/locale-inst.cc (__locale_cache<char>, __locale_cache<_char_t>):
5066 2003-02-17 Paolo Carlini <pcarlini@unitus.it>
5068 * src/locale-inst.cc: Do not include <cassert>.
5069 * src/locale.cc: Likewise.
5071 2003-02-17 Paolo Carlini <pcarlini@unitus.it>
5074 * include/std/std_fstream.h: Declare underflow and uflow
5075 specializations, change generic definitions to do nothing.
5076 * src/fstream.cc: Add underflow and uflow specializations.
5078 2003-02-17 Paolo Carlini <pcarlini@unitus.it>
5081 * include/bits/fstream.tcc (_M_convert_to_external):
5082 Deal correctly with noconv, as prescribed by 27.8.1.4,p8.
5083 * testsuite/27_io/filebuf_virtuals.cc (test10): Add.
5085 2003-02-13 Benjamin Kosnik <bkoz@redhat.com>
5087 * include/bits/c++config (_GLIBCPP_EXTERN_TEMPLATE): Define.
5088 * include/bits/basic_ios.tcc: Guard use of extern template.
5089 * include/std/std_iomanip.h: Same.
5090 * include/bits/streambuf.tcc: Same.
5091 * include/bits/stl_alloc.h: Same.
5092 * include/bits/locale_facets.tcc: Same.
5093 * include/bits/ostream.tcc: Same.
5094 * include/bits/istream.tcc: Same.
5095 * include/bits/fstream.tcc: Same.
5096 * include/bits/basic_string.tcc: Same.
5098 2003-02-13 Paolo Carlini <pcarlini@unitus.it>
5100 * include/bits/ostream.tcc (sentry::sentry): Improve
5101 performance-wise the fix for libstdc++/9563.
5103 2003-02-12 Phil Edwards <pme@gcc.gnu.org>
5105 * config/cpu/generic/atomicity.h (_Atomic_add_mutex): Fix declaration.
5106 (_GLIBCPP_NEED_GENERIC_MUTEX): Define for this file.
5107 (_Atomic_add_mutex_once, __gthread_atomic_add_mutex_once): Declare
5108 when we don't have static mutex initialization.
5109 (__exchange_and_add): Use _Atomic_add_mutex_once.
5110 * src/misc-inst.cc: Definitions of all the above.
5112 2003-02-12 Paolo Carlini <pcarlini@unitus.it>
5115 * include/bits/ostream.tcc (sentry::sentry): Check
5116 the state of the stream after the preparation.
5117 * testsuite/27_io/ostream_sentry.cc (test02): Add.
5119 2003-02-11 Benjamin Kosnik <bkoz@redhat.com>
5121 * include/Makefile.am (stamp-std-precompile): Add rule.
5122 * include/Makefile.in: Regenerated.
5124 2003-02-11 Jerry Quinn <jlquinn@optonline.net>
5125 Benjamin Kosnik <benjamin@redhat.com>
5127 * include/bits/locale_facets.h (__num_base): Add _S_atoms_out.
5128 Add indexes into this array.
5129 (__num_base::_S_atoms): To _S_atoms_in.
5130 (num_put::_M_insert): Rename to _M_pad.
5131 (num_put::_M_convert_int): Adjust remove __mod, __modl arguments.
5132 (num_put::_M_widen_int): Rename to _M_group_int.
5133 (num_put::_M_widen_float): Rename to _M_group_float.
5134 * include/bits/locale_facets.tcc (__int_to_char): New inline
5135 function and adapter functions.
5136 (num_put::_M_group_int): Streamline.
5137 (num_put::_M_group_float): Streamline.
5138 (num_put::_M_convert_int): Remove unused parameter names. Choose
5139 large enough buffer for text. Use __int_to_char instead of
5140 __convert_from_v. Formatted text is now at the end of the buffer.
5141 (num_put::_M_convert_float): Preliminary fixups.
5142 * src/locale-inst.cc (__convert_from_v<long long>): Add ifdef.
5143 (__int_to_char<unsigned long long>): Same.
5144 (__int_to_char<char, unsigned long>): New.
5145 (__int_to_char<char, unsigned long long>): New.
5146 (__int_to_char<wchar_t, unsigned long>): New.
5147 (__int_to_char<wchar_t, unsigned long long>): New.
5149 2003-02-11 Scott Snyder <snyder@fnal.gov>
5152 * include/bits/fstream.tcc (seekoff): Avoid operator+
5155 2003-02-11 Paolo Carlini <pcarlini@unitus.it>
5158 * include/ext/stdio_filebuf.h
5159 (stdio_filebuf(int, std::ios_base::openmode, bool, int_type),
5160 stdio_filebuf(std::__c_file*, std::ios_base::openmode, int_type)):
5161 Change to take a __size parameter of type size_t, not
5162 of type (template parameter dependent) int_type.
5163 * src/ios.cc (ios_base::Init::_S_ios_create): Change type of
5164 size vars to size_t.
5165 * testsuite/ext/stdio_filebuf.cc: Add.
5167 2003-02-11 Paolo Carlini <pcarlini@unitus.it>
5168 Petur Runolfsson <peturr02@ru.is>
5171 * include/bits/streambuf.tcc (__copy_streambufs):
5172 Don't conditionalize the copy to __testput.
5173 * testsuite/27_io/streambuf_members.cc (test09, test10): Add.
5175 2002-02-11 DJ Delorie <dj@redhat.com>
5177 * acinclude.m4: Check for native targets that can't link at
5178 this point in the build.
5179 * aclocal.m4: Regenerate.
5180 * configure: Regenerate.
5182 2003-02-08 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
5184 * hppa/atomicity.h (__Atomicity_lock<__inst>::_S_atomicity_lock):
5186 (__exchange_and_add, __atomic_add): Use PA 2.0 ordered store to reset
5189 2003-02-07 Paolo Carlini <pcarlini@unitus.it>
5191 * testsuite/27_io/filebuf_virtuals.cc (test08): Fix for
5192 unsigned char platforms.
5194 2003-02-06 Paolo Carlini <pcarlini@unitus.it>
5197 * include/std/std_istream.h
5198 (basic_istream::sentry::operator bool()): Make const.
5199 * include/std/std_ostream.h
5200 (basic_ostream::sentry::operator bool()): Likewise.
5201 * testsuite/27_io/istream_sentry.cc (test03): Add.
5202 * testsuite/27_io/ostream_sentry.cc: Add.
5204 2003-02-06 Paolo Carlini <pcarlini@unitus.it>
5207 Implement resolution of DR 231 (Ready)
5208 * include/bits/locale_facets.h (__num_base::_S_format_float):
5209 Change declaration: return void, remove __prec parameter.
5210 * src/locale.cc (__num_base::_S_format_float): Implement
5211 resolution of DR 231.
5212 * include/bits/locale_facets.tcc (num_put::_M_convert_float):
5213 Tweak uses. Check for negative precision.
5214 * testsuite/22_locale/num_put/put/char/6.cc: Add
5215 * testsuite/22_locale/num_put/put/wchar_t/6.cc: Likewise.
5217 2003-02-06 Peter Soetens <peter.soetens@mech.kuleuven.ac.be>
5219 * config/io/basic_file_libio.h: Fixups.
5220 * config/io/c_io_libio.h: Same.
5221 * libio/Makefile.am: Same.
5222 * libio/Makefile.in: Regenerated.
5224 2003-02-06 Benjamin Kosnik <bkoz@redhat.com>
5226 * testsuite/22_locale/codecvt/encoding/wchar_t/1.cc (test01):
5227 Explicitly use the "C" locale.
5228 * testsuite/22_locale/codecvt/max_length/wchar_t/1.cc (test01): Same.
5230 2003-02-06 Petur Runolfsson <peturr02@ru.is>
5234 PR libstdc++/9028 (partial)
5240 (codecvt<wchar_t, char, mbstate_t>::do_encoding,
5241 codecvt<wchar_t, char, mbstate_t>::do_length,
5242 codecvt<wchar_t, char, mbstate_t>::do_max_length):
5244 * config/locale/generic/codecvt_members.cc: ...here.
5245 * config/locale/gnu/codecvt_members.cc: ...and here.
5247 * config/locale/generic/codecvt_members.cc,
5248 * config/locale/gnu/codecvt_members.cc
5249 (codecvt<wchar_t, char, mbstate_t>::do_encoding
5250 codecvt<wchar_t, char, mbstate_t>::do_in,
5251 codecvt<wchar_t, char, mbstate_t>::do_length,
5252 codecvt<wchar_t, char, mbstate_t>::do_max_length,
5253 codecvt<wchar_t, char, mbstate_t>::do_out):
5254 New implementation that handles stateless encodings,
5257 * config/locale/generic/codecvt_members.cc,
5258 * config/locale/gnu/codecvt_members.cc,
5259 * config/locale/ieee_1003.1-2001/codecvt_specializations.h,
5260 * include/bits/codecvt.h,
5262 (codecvt::length, codecvt::do_length):
5263 Change type of first argument of length and do_length from
5264 'const state_type&' to 'state_type&' according to DR 75.
5266 * testsuite/22_locale/codecvt/always_noconv/wchar_t/1.cc: Cleanup.
5267 * testsuite/22_locale/codecvt/always_noconv/wchar_t/2.cc: New test.
5268 * testsuite/22_locale/codecvt/always_noconv/wchar_t/3.cc: New test.
5269 * testsuite/22_locale/codecvt/always_noconv/wchar_t/4.cc: New test.
5270 * testsuite/22_locale/codecvt/encoding/wchar_t/1.cc:
5271 Cleanup and check for correct return value from encoding
5273 * testsuite/22_locale/codecvt/encoding/wchar_t/2.cc: New test.
5274 * testsuite/22_locale/codecvt/encoding/wchar_t/3.cc: New test.
5275 * testsuite/22_locale/codecvt/encoding/wchar_t/4.cc: New test.
5276 * testsuite/22_locale/codecvt/in/wchar_t/1.cc: Cleanup.
5277 * testsuite/22_locale/codecvt/in/wchar_t/2.cc: New test.
5278 * testsuite/22_locale/codecvt/in/wchar_t/3.cc: New test.
5279 * testsuite/22_locale/codecvt/in/wchar_t/4.cc: New test.
5280 * testsuite/22_locale/codecvt/in/wchar_t/5.cc: New test.
5281 * testsuite/22_locale/codecvt/in/wchar_t/6.cc: New test.
5282 * testsuite/22_locale/codecvt/in/wchar_t/7.cc: New test.
5283 * testsuite/22_locale/codecvt/in/wchar_t/8.cc: New test.
5284 * testsuite/22_locale/codecvt/in/wchar_t/9.cc: New test.
5285 * testsuite/22_locale/codecvt/length/char/1.cc: Cleanup.
5286 * testsuite/22_locale/codecvt/length/char/2.cc: New test.
5287 * testsuite/22_locale/codecvt/length/wchar_t/1.cc: Cleanup.
5288 * testsuite/22_locale/codecvt/length/wchar_t/2.cc: New test.
5289 * testsuite/22_locale/codecvt/length/wchar_t/3.cc: New test.
5290 * testsuite/22_locale/codecvt/length/wchar_t/4.cc: New test.
5291 * testsuite/22_locale/codecvt/length/wchar_t/5.cc: New test.
5292 * testsuite/22_locale/codecvt/length/wchar_t/6.cc: New test.
5293 * testsuite/22_locale/codecvt/length/wchar_t/7.cc: New test.
5294 * testsuite/22_locale/codecvt/max_length/wchar_t/1.cc: Cleanup.
5295 * testsuite/22_locale/codecvt/max_length/wchar_t/2.cc: New test.
5296 * testsuite/22_locale/codecvt/max_length/wchar_t/3.cc: New test.
5297 * testsuite/22_locale/codecvt/max_length/wchar_t/4.cc: New test.
5298 * testsuite/22_locale/codecvt/out/wchar_t/1.cc: Cleanup.
5299 * testsuite/22_locale/codecvt/out/wchar_t/2.cc: New test.
5300 * testsuite/22_locale/codecvt/out/wchar_t/3.cc: New test.
5301 * testsuite/22_locale/codecvt/out/wchar_t/4.cc: New test.
5302 * testsuite/22_locale/codecvt/out/wchar_t/5.cc: New test.
5303 * testsuite/22_locale/codecvt/out/wchar_t/6.cc: New test.
5304 * testsuite/22_locale/codecvt/out/wchar_t/7.cc: New test.
5305 * testsuite/22_locale/codecvt/unicode/1.cc: New test.
5306 * testsuite/22_locale/codecvt/unshift/wchar_t/1.cc: Cleanup.
5307 * testsuite/22_locale/codecvt/unshift/wchar_t/2.cc: New test.
5308 * testsuite/22_locale/codecvt/unshift/wchar_t/3.cc: New test.
5309 * testsuite/22_locale/codecvt/unshfit/wchar_t/4.cc: New test.
5311 2003-02-05 Benjamin Kosnik <bkoz@redhat.com>
5313 * include/bits/locale_facets.tcc (time_put::do_put): Use __write.
5314 (money_put::do_put): Same.
5316 2003-02-05 Jerry Quinn <jlquinn@optonline.net>
5318 * include/bits/ios_base.h (ios_base): Document reserved storage.
5320 * include/bits/locale_facets.h: (struct __pad): Comment on
5322 (__verify_grouping): Same.
5323 (__add_grouping): Same.
5324 * include/bits/locale_facets.tcc (__verify_grouping): Move
5325 comments to declaration.
5326 (__add_grouping): Same.
5328 * include/bits/locale_facets.tcc:
5329 (__write<_CharT, _OutIter>): New function.
5330 (__write<_CharT>): New function specialization.
5331 (num_put::_M_insert): Remove explicit loop over iterator. Use
5333 (num_put::_M_widen_float): Remove __basefield.
5334 (num_put::_M_widen_int): Move __basefield to within grouping block.
5336 * include/bits/streambuf_iterator.h: Include <streambuf>.
5337 (ostreambuf_iterator::_M_put): Add.
5339 2003-02-05 Paolo Carlini <pcarlini@unitus.it>
5341 * testsuite/26_numerics/valarray_name_lookup.cc: Fix typo.
5343 2003-02-04 Nathan Myers <ncm@cantrip.org>
5345 * testsuite/25_algorithms/min_max.cc (test02): Add.
5347 2003-02-04 Paolo Carlini <pcarlini@unitus.it>
5349 PR libstdc++/9439, PR libstdc++/9425
5350 * config/io/basic_file_stdio.cc
5351 (__basic_file<char>::seekoff, seekpos): Return -1L if
5353 * include/bits/fstream.tcc (basic_filebuf::seekoff):
5354 Check _M_file.seekoff return value; always return
5355 pos_type(off_type(-1)) in case of failure.
5356 (basic_filebuf::pbackfail): Check this->seekoff return
5357 value and return traits_type::eof() in case of failure.
5358 * testsuite/27_io/filebuf_virtuals.cc (test09): Add.
5360 2003-02-04 Jerry Quinn <jlquinn@optonline.net>
5362 * include/std/std_ostream.h (ostream::_M_write): Declare.
5363 * ostream.tcc (ostream::_M_write): Define.
5364 (basic_ostream::write): Use it.
5365 (operator<<(basic_ostream, _CharT)): Ditto.
5366 (operator<<(basic_ostream, char)): Ditto.
5367 (operator<<(basic_ostream, _CharT*)): Ditto.
5368 (operator<<(basic_ostream, char*)): Ditto.
5369 (operator<<(basic_ostream, basic_string)): Ditto.
5371 2003-02-04 Benjamin Kosnik <bkoz@redhat.com>
5373 * testsuite/26_numerics/valarray_name_lookup.cc: Fix.
5375 2002-02-04 Jonathan Wakely <redi@gcc.gnu.org>
5377 * docs/html/27_io/howto.html: Link to Dietmar Kuehl's IOStream page,
5378 add HTML comment about updating links if numbering changes.
5380 2003-02-04 Paolo Carlini <pcarlini@unitus.it>
5383 * include/bits/streambuf.tcc (sputbackc): Access
5384 this->gptr()[-1] only if _M_in_beg < _M_in_cur.
5385 * testsuite/27_io/filebuf_virtuals.cc (test08): Add.
5387 2003-02-04 Paolo Carlini <pcarlini@unitus.it>
5390 * include/bits/fstream.tcc (open): If the 'ate' repositioning
5391 operation fails, calls close _and_ returns a null pointer
5392 to indicate failure (27.8.1.3,4).
5393 * testsuite/27_io/filebuf_members.cc (test_06): Add.
5395 2003-02-04 Petur Runolfsson <peturr02@ru.is>
5397 * testsuite/27_io/filebuf_members.cc (test_04): Remove exit(0).
5399 2002-02-04 Jonathan Wakely <redi@gcc.gnu.org>
5401 * docs/html/27_io/howto.html: New section on stdio_filebuf.
5402 * docs/html/ext/howto.html: Move stdio_filebuf notes to 27_io.
5403 * docs/html/documentation.html: Regenerate.
5405 2003-02-04 Joseph S. Myers <jsm@polyomino.org.uk>
5407 * docs/html/17_intro/porting.texi: Update to GFDL 1.2.
5408 * docs/html/17_intro/porting.html: Regenerate.
5410 2003-02-03 Falk Hueffner <falk.hueffner@student.uni-tuebingen.de>
5411 Phil Edwards <pme@gcc.gnu.org>
5413 * include/std/std_bitset.h: Replace CHAR_BIT with __CHAR_BIT__, use
5414 numeric_limits for bits-per-word values.
5415 (_Base_bitset::_M_do_count, _Base_bitset<1>::_M_do_count):
5416 Use __builtin_popcountl instead.
5417 (_Base_bitset::_M_do_find_first, _Base_bitset::_M_do_find_next,
5418 _Base_bitset<1>::_M_do_find_first, _Base_bitset<1>::_M_do_find_next):
5419 Use __builtin_ctzl instead.
5420 (_S_bit_count, _S_first_one): Remove.
5421 * config/linker-map.gnu (GLIBCPP_3.4): Remove std::_S_bit_count.
5422 * src/Makefile.am (sources): Remove bitset.cc.
5423 * src/bitset.cc: Delete file.
5424 * src/Makefile.in: Regenerate.
5426 2003-02-03 Phil Edwards <pme@gcc.gnu.org>
5428 PR libstdc++/9527, PR libstdc++/8713
5429 * docs/html/install.html: Mention glibc version requirement.
5430 * docs/html/faq/index.html (3.8): New note, glibc 2.2.5+ is needed
5431 with 3.2.1+ (formatting bugfixes).
5432 * docs/html/faq/index.txt: Regenerate.
5434 2003-02-03 Volker Reichelt <reichelt@igpm.rwth-aachen.de>
5437 * include/bits/valarray_before.h (_UnBase::operator[]): Apply unary
5440 * include/bits/valarray_before.h (__not_equal_to): Use != instead
5443 * testsuite/26_numerics/valarray_operators.cc: New test.
5445 2003-02-01 Phil Edwards <pme@gcc.gnu.org>
5447 * docs/html/faq/index.html: Correct link to libg++ information.
5448 * docs/html/faq/index.txt: Regenerated.
5450 2003-02-01 Paolo Carlini <pcarlini@unitus.it>
5451 Benjamin Kosnik <bkoz@redhat.com>
5453 Const correctness issue:
5454 http://gcc.gnu.org/ml/libstdc++/2003-01/msg00370.html
5455 * include/bits/locale_classes.h
5456 (locale::_Impl::_M_facets): Change type to const facet**.
5457 (locale::_Impl::_M_install_facet): Change declaration to
5459 (locale::facet::_M_references): Make mutable.
5460 (locale::facet::_M_add_reference): Declare const.
5461 (locale::facet::_M_remove_reference): Likewise.
5462 * include/bits/locale_facets.tcc
5463 (use_facet(const locale&)): Tweak for const facet** _M_facets.
5464 (has_facet(const locale&)): Likewise.
5466 (locale::facet::_M_add_reference): Adjust definition.
5467 (locale::facet::_M_remove_reference): Likewise.
5469 (locale::_Impl::_Impl(const _Impl&, size_t)): Tweak for
5470 const facet** _M_facets.
5471 (locale::_Impl::_Impl(const char*, size_t)): Likewise.
5472 (locale::_Impl::_Impl(facet**, size_t, bool)): Likewise.
5473 (locale::_Impl::_M_install_facet): Adjust definition to take
5474 const facet* and for const facet** _M_facets.
5475 * testsuite/22_locale/locale/cons/8.cc: Add.
5477 2003-01-29 Mark Mitchell <mark@codesourcery.com>
5479 * include/std/std_limits.h (numeric_limits<float>::has_infinity):
5480 Use __FLT_HAS_INIFINITY__ to initialize.
5481 (numeric_limits<float>::has_quiet_NaN): Likewise.
5482 (numeric_limits<double>::has_infinity): Use __DBL_HAS_INIFINITY__
5484 (numeric_limits<double>::has_quiet_NaN): Likewise.
5485 (numeric_limits<long double>::has_infinity): Use
5486 __LDBL_HAS_INIFINITY__ to initialize.
5487 (numeric_limits<long_double>::has_quiet_NaN): Likewise.
5489 2003-01-28 Nathan Sidwell <nathan@codesourcery.com>
5492 * libsupc++/tinfo.cc (__vmi_class_type_info::__do_dyncast): Cope
5493 with bases which are very ambiguous.
5495 2003-01-28 Danny Smith <dannysmith@users.sourceforge.net>
5497 * src/Makefile.am (CONFIG_CXXFLAGS): Reverse order of
5498 @EXTRA_CXX_FLAGS@ @SECTION_FLAGS@.
5499 * libsupc++/Makefile.am (CONFIG_CXXFLAGS): Likewise.
5500 * src/Makefile.in: Regenerate.
5501 * libsupc++/Makefile.in: Regenerate.
5503 2003-01-27 Alexandre Oliva <aoliva@redhat.com>
5505 * acinclude.m4 (glibcpp_toolexeclibdir): Instead of
5506 $(MULTISUBDIR), use `$CC -print-multi-os-directory`, unless
5507 version_specific_libs is enabled.
5508 * aclocal.m4, configure: Rebuilt.
5510 2003-01-24 Nathan Sidwell <nathan@codesourcery.com>
5512 * include/bits/valarray_meta.h: Remove, split into ...
5513 * include/bits/valarray_before.h: ... this, and ...
5514 * include/bits/valarray_after.h: ... this.
5515 * include/std/std_valarray.h: Adjust.
5516 * include/Makefile.am (bits_headers): Adjust.
5517 * include/Makefile.in: Regenerate.
5519 2003-01-24 Andreas Schwab <schwab@suse.de>
5521 * config/linker-map.gnu: Fix for size_t variance.
5523 2003-01-23 Petur Runolfsson <peturr02@ru.is>
5526 * include/std/std_streambuf.h
5527 (basic_streambuf::basic_streambuf,
5528 basic_streambuf::~basic_streambuf,
5529 basic_streambuf::getloc, basic_streambuf::imbue):
5530 Remove _M_buf_locale_init
5531 * include/bits/fstream.tcc (basic_filebuf::imbue): Likewise
5532 * testsuite/27_io/filebuf_virtuals.cc (test08): Add.
5533 * testsuite/27_io/streambuf_members.cc (test08): Add.
5534 * testsuite/27_io/stringbuf_virtuals.cc (test08): Add.
5536 2003-01-23 Benjamin Kosnik <bkoz@redhat.com>
5538 Revert include ordering.
5539 * config/locale/generic/c_locale.h: Add include guards.
5540 * config/locale/gnu/c_locale.h: Same.
5541 * include/bits/locale_classes.h: Remove cctype include.
5542 * include/std/std_iosfwd.h: Add c++locale.h, cctype includes.
5543 * include/std/std_fstream.h: Remove streambuf include.
5544 * include/std/std_sstream.h: Remove streambuf include.
5546 2003-01-23 Benjamin Kosnik <bkoz@redhat.com>
5548 * configure.in (libtool_VERSION): To 6:0:0.
5549 * configure: Regenerated.
5550 * config/linker-map.gnu: Clean.
5552 * src/misc-inst.cc: Remove instantiations.
5554 * include/bits/stl_alloc.h (__malloc_alloc_template):
5556 (__default_alloc_template): To __pool_alloc.
5557 * src/stl-inst.cc: Same.
5558 * include/backward/alloc.h: Update.
5559 * testsuite/ext/allocators.cc: Update.
5561 * src/globals.cc (__gnu_cxx): Remove _GLIBCPP_ASM_SYMVER. Should
5562 really try to remove these if possible.
5563 * src/locale.cc (std): Same.
5565 * testsuite/abi_check.cc (check_version): Add.
5567 2003-01-22 Benjamin Kosnik <bkoz@redhat.com>
5568 Sysoltsev Slawa <Vyatcheslav.Sysoltsev@intel.com>
5569 Mark Mitchell <mark@codesourcery.com>
5572 * include/std/std_fstream.h (basic_filebuf::uflow): Declare.
5573 (basic_filebuf::underflow): Declare.
5576 2003-01-22 Benjamin Kosnik <bkoz@redhat.com>
5578 * include/bits/locale_facets.h: Move non-facet classes requiring
5580 * include/bits/locale_classes.h: New.
5581 * include/bits/Makefile.am (bits_headers_src): Add locale_classes.h.
5582 * include/bits/Makefile.in: Regenerate.
5584 * include/bits/locale_facets.tcc (__convert_from_v): Move to...
5585 * config/locale/gnu/c_locale.h: ...here.
5586 * config/locale/generic/c_locale.h: Same.
5588 * include/bits/locale_facets.tcc: Move declarations to...
5589 * include/bits/locale_facets.h: ...here.
5590 * include/bits/basic_ios.h: Tweak includes accordingly.
5591 * include/std/std_sstream.h: Add streambuf include.
5592 * include/std/std_fstream.h: Ditto.
5593 * include/std/std_locale.h: Add locale_classes.h include.
5594 * include/std/std_iosfwd.h: Tweak.
5595 * src/concept-inst.cc: Add iterator include.
5597 * config/linker-map.gnu: Specify __cxa functions, mark __cxa_dyn_*
5598 bits as unexported in the future.
5600 2003-01-21 Benjamin Kosnik <bkoz@redhat.com>
5602 Reshuffle 22_locale testsuite.
5603 * 22_locale/(codecvt.cc money_get.cc
5604 codecvt_members_char_char.cc money_get_members_char.cc
5605 codecvt_members_unicode_char.cc money_get_members_wchar_t.cc
5606 codecvt_members_unicode_wchar_t.cc moneypunct_byname.cc
5607 codecvt_members_wchar_t_char.cc moneypunct.cc collate_byname.cc
5608 moneypunct_members_char.cc collate.cc moneypunct_members_wchar_t.cc
5609 collate_members_char.cc money_put.cc collate_members_wchar_t.cc
5610 money_put_members_char.cc ctor_copy_dtor.cc
5611 money_put_members_wchar_t.cc ctype.cc num_get.cc ctype_is_char.cc
5612 num_get_members_char.cc ctype_is_wchar_t.cc num_get_members_wchar_t.cc
5613 ctype_members_char.cc numpunct_byname.cc ctype_members_wchar_t.cc
5614 numpunct.cc ctype_narrow_char.cc numpunct_members_char.cc
5615 ctype_narrow_wchar_t.cc numpunct_members_wchar_t.cc ctype_scan_char.cc
5616 num_put.cc ctype_scan_wchar_t.cc num_put_members_char.cc
5617 ctype_to_char.cc num_put_members_wchar_t.cc ctype_to_wchar_t.cc
5618 operators.cc ctype_widen_char.cc static_members.cc
5619 ctype_widen_wchar_t.cc time_get.cc facet.cc time_get_members_char.cc
5620 global_templates.cc time_get_members_wchar_t.cc, members.cc,
5621 time_put.cc, messages_byname.cc, time_put_members_char.cc,
5622 messages.cc, time_put_members_wchar_t.cc, messages_members_char.cc):
5623 Split up into individual test cases...
5624 * 22_locale/codecvt/1.cc: New.
5625 * 22_locale/codecvt/2.cc: New.
5626 * 22_locale/codecvt/always_noconv/char/1.cc: New.
5627 * 22_locale/codecvt/always_noconv/char/wrapped_env.cc: New.
5628 * 22_locale/codecvt/always_noconv/char/wrapped_locale.cc: New.
5629 * 22_locale/codecvt/always_noconv/wchar_t/1.cc: New.
5630 * 22_locale/codecvt/always_noconv/wchar_t/wrapped_env.cc: New.
5631 * 22_locale/codecvt/always_noconv/wchar_t/wrapped_locale.cc: New.
5632 * 22_locale/codecvt/encoding/char/1.cc: New.
5633 * 22_locale/codecvt/encoding/char/wrapped_env.cc: New.
5634 * 22_locale/codecvt/encoding/char/wrapped_locale.cc: New.
5635 * 22_locale/codecvt/encoding/wchar_t/1.cc: New.
5636 * 22_locale/codecvt/encoding/wchar_t/wrapped_env.cc: New.
5637 * 22_locale/codecvt/encoding/wchar_t/wrapped_locale.cc: New.
5638 * 22_locale/codecvt/in/char/1.cc: New.
5639 * 22_locale/codecvt/in/char/wrapped_env.cc: New.
5640 * 22_locale/codecvt/in/char/wrapped_locale.cc: New.
5641 * 22_locale/codecvt/in/wchar_t/1.cc: New.
5642 * 22_locale/codecvt/in/wchar_t/wrapped_env.cc: New.
5643 * 22_locale/codecvt/in/wchar_t/wrapped_locale.cc: New.
5644 * 22_locale/codecvt/length/char/1.cc: New.
5645 * 22_locale/codecvt/length/char/wrapped_env.cc: New.
5646 * 22_locale/codecvt/length/char/wrapped_locale.cc: New.
5647 * 22_locale/codecvt/length/wchar_t/1.cc: New.
5648 * 22_locale/codecvt/length/wchar_t/wrapped_env.cc: New.
5649 * 22_locale/codecvt/length/wchar_t/wrapped_locale.cc: New.
5650 * 22_locale/codecvt/max_length/char/1.cc: New.
5651 * 22_locale/codecvt/max_length/char/wrapped_env.cc: New.
5652 * 22_locale/codecvt/max_length/char/wrapped_locale.cc: New.
5653 * 22_locale/codecvt/max_length/wchar_t/1.cc: New.
5654 * 22_locale/codecvt/max_length/wchar_t/wrapped_env.cc: New.
5655 * 22_locale/codecvt/max_length/wchar_t/wrapped_locale.cc: New.
5656 * 22_locale/codecvt/out/char/1.cc: New.
5657 * 22_locale/codecvt/out/char/wrapped_env.cc: New.
5658 * 22_locale/codecvt/out/char/wrapped_locale.cc: New.
5659 * 22_locale/codecvt/out/wchar_t/1.cc: New.
5660 * 22_locale/codecvt/out/wchar_t/wrapped_env.cc: New.
5661 * 22_locale/codecvt/out/wchar_t/wrapped_locale.cc: New.
5662 * 22_locale/codecvt/unicode/char.cc: New.
5663 * 22_locale/codecvt/unicode/wchar_t.cc: New.
5664 * 22_locale/codecvt/unshift/char/1.cc: New.
5665 * 22_locale/codecvt/unshift/char/wrapped_env.cc: New.
5666 * 22_locale/codecvt/unshift/char/wrapped_locale.cc: New.
5667 * 22_locale/codecvt/unshift/wchar_t/1.cc: New.
5668 * 22_locale/codecvt/unshift/wchar_t/wrapped_env.cc: New.
5669 * 22_locale/codecvt/unshift/wchar_t/wrapped_locale.cc: New.
5670 * 22_locale/collate/1.cc: New.
5671 * 22_locale/collate/2.cc: New.
5672 * 22_locale/collate/compare/char/1.cc: New.
5673 * 22_locale/collate/compare/char/2.cc: New.
5674 * 22_locale/collate/compare/char/wrapped_env.cc: New.
5675 * 22_locale/collate/compare/char/wrapped_locale.cc: New.
5676 * 22_locale/collate/compare/wchar_t/1.cc: New.
5677 * 22_locale/collate/compare/wchar_t/2.cc: New.
5678 * 22_locale/collate/compare/wchar_t/wrapped_env.cc: New.
5679 * 22_locale/collate/compare/wchar_t/wrapped_locale.cc: New.
5680 * 22_locale/collate/hash/char/1.cc: New.
5681 * 22_locale/collate/hash/char/2.cc: New.
5682 * 22_locale/collate/hash/char/wrapped_env.cc: New.
5683 * 22_locale/collate/hash/char/wrapped_locale.cc: New.
5684 * 22_locale/collate/hash/wchar_t/1.cc: New.
5685 * 22_locale/collate/hash/wchar_t/2.cc: New.
5686 * 22_locale/collate/hash/wchar_t/wrapped_env.cc: New.
5687 * 22_locale/collate/hash/wchar_t/wrapped_locale.cc: New.
5688 * 22_locale/collate/transform/char/2.cc: New.
5689 * 22_locale/collate/transform/char/wrapped_env.cc: New.
5690 * 22_locale/collate/transform/char/wrapped_locale.cc: New.
5691 * 22_locale/collate/transform/wchar_t/2.cc: New.
5692 * 22_locale/collate/transform/wchar_t/wrapped_env.cc: New.
5693 * 22_locale/collate/transform/wchar_t/wrapped_locale.cc: New.
5694 * 22_locale/collate_byname/1.cc: New.
5695 * 22_locale/ctype/1.cc: New.
5696 * 22_locale/ctype/2.cc: New.
5697 * 22_locale/ctype/cons/char/1.cc: New.
5698 * 22_locale/ctype/cons/char/wrapped_env.cc: New.
5699 * 22_locale/ctype/cons/char/wrapped_locale.cc: New.
5700 * 22_locale/ctype/is/char/1.cc: New.
5701 * 22_locale/ctype/is/char/2.cc: New.
5702 * 22_locale/ctype/is/char/3.cc: New.
5703 * 22_locale/ctype/is/char/wrapped_env.cc: New.
5704 * 22_locale/ctype/is/char/wrapped_locale.cc: New.
5705 * 22_locale/ctype/is/wchar_t/1.cc: New.
5706 * 22_locale/ctype/is/wchar_t/2.cc: New.
5707 * 22_locale/ctype/is/wchar_t/wrapped_env.cc: New.
5708 * 22_locale/ctype/is/wchar_t/wrapped_locale.cc: New.
5709 * 22_locale/ctype/narrow/char/1.cc: New.
5710 * 22_locale/ctype/narrow/char/2.cc: New.
5711 * 22_locale/ctype/narrow/char/wrapped_env.cc: New.
5712 * 22_locale/ctype/narrow/char/wrapped_locale.cc: New.
5713 * 22_locale/ctype/narrow/wchar_t/1.cc: New.
5714 * 22_locale/ctype/narrow/wchar_t/2.cc: New.
5715 * 22_locale/ctype/narrow/wchar_t/wrapped_env.cc: New.
5716 * 22_locale/ctype/narrow/wchar_t/wrapped_locale.cc: New.
5717 * 22_locale/ctype/scan/char/1.cc: New.
5718 * 22_locale/ctype/scan/char/wrapped_env.cc: New.
5719 * 22_locale/ctype/scan/char/wrapped_locale.cc: New.
5720 * 22_locale/ctype/scan/wchar_t/1.cc: New.
5721 * 22_locale/ctype/scan/wchar_t/wrapped_env.cc: New.
5722 * 22_locale/ctype/scan/wchar_t/wrapped_locale.cc: New.
5723 * 22_locale/ctype/to/char/1.cc: New.
5724 * 22_locale/ctype/to/char/wrapped_env.cc: New.
5725 * 22_locale/ctype/to/char/wrapped_locale.cc: New.
5726 * 22_locale/ctype/to/wchar_t/1.cc: New.
5727 * 22_locale/ctype/to/wchar_t/wrapped_env.cc: New.
5728 * 22_locale/ctype/to/wchar_t/wrapped_locale.cc: New.
5729 * 22_locale/ctype/widen/char/1.cc: New.
5730 * 22_locale/ctype/widen/char/wrapped_env.cc: New.
5731 * 22_locale/ctype/widen/char/wrapped_locale.cc: New.
5732 * 22_locale/ctype/widen/wchar_t/1.cc: New.
5733 * 22_locale/ctype/widen/wchar_t/wrapped_env.cc: New.
5734 * 22_locale/ctype/widen/wchar_t/wrapped_locale.cc: New.
5735 * 22_locale/facet/1.cc: New.
5736 * 22_locale/facet/2.cc: New.
5737 * 22_locale/global_templates/1.cc: New.
5738 * 22_locale/locale/cons/1.cc: New.
5739 * 22_locale/locale/cons/2.cc: New.
5740 * 22_locale/locale/cons/3.cc: New.
5741 * 22_locale/locale/cons/4.cc: New.
5742 * 22_locale/locale/cons/5.cc: New.
5743 * 22_locale/locale/cons/6.cc: New.
5744 * 22_locale/locale/cons/7.cc: New.
5745 * 22_locale/locale/global_locale_objects/1.cc: New.
5746 * 22_locale/locale/global_locale_objects/2.cc: New.
5747 * 22_locale/locale/global_locale_objects/3.cc: New.
5748 * 22_locale/locale/operations/1.cc: New.
5749 * 22_locale/locale/operations/2.cc: New.
5750 * 22_locale/messages/1.cc: New.
5751 * 22_locale/messages/2.cc: New.
5752 * 22_locale/messages/members/char/1.cc: New.
5753 * 22_locale/messages/members/char/2.cc: New.
5754 * 22_locale/messages/members/char/3.cc: New.
5755 * 22_locale/messages/members/char/wrapped_env.cc: New.
5756 * 22_locale/messages/members/char/wrapped_locale.cc: New.
5757 * 22_locale/messages_byname/1.cc: New.
5758 * 22_locale/money_get/1.cc: New.
5759 * 22_locale/money_get/2.cc: New.
5760 * 22_locale/money_get/get/char/1.cc: New.
5761 * 22_locale/money_get/get/char/2.cc: New.
5762 * 22_locale/money_get/get/char/3.cc: New.
5763 * 22_locale/money_get/get/char/4.cc: New.
5764 * 22_locale/money_get/get/char/5.cc: New.
5765 * 22_locale/money_get/get/char/6.cc: New.
5766 * 22_locale/money_get/get/char/7.cc: New.
5767 * 22_locale/money_get/get/char/8.cc: New.
5768 * 22_locale/money_get/get/char/wrapped_env.cc: New.
5769 * 22_locale/money_get/get/char/wrapped_locale.cc: New.
5770 * 22_locale/money_get/get/wchar_t/1.cc: New.
5771 * 22_locale/money_get/get/wchar_t/2.cc: New.
5772 * 22_locale/money_get/get/wchar_t/3.cc: New.
5773 * 22_locale/money_get/get/wchar_t/4.cc: New.
5774 * 22_locale/money_get/get/wchar_t/5.cc: New.
5775 * 22_locale/money_get/get/wchar_t/6.cc: New.
5776 * 22_locale/money_get/get/wchar_t/7.cc: New.
5777 * 22_locale/money_get/get/wchar_t/8.cc: New.
5778 * 22_locale/money_get/get/wchar_t/wrapped_env.cc: New.
5779 * 22_locale/money_get/get/wchar_t/wrapped_locale.cc: New.
5780 * 22_locale/money_put/1.cc: New.
5781 * 22_locale/money_put/2.cc: New.
5782 * 22_locale/money_put/put/char/1.cc: New.
5783 * 22_locale/money_put/put/char/2.cc: New.
5784 * 22_locale/money_put/put/char/3.cc: New.
5785 * 22_locale/money_put/put/char/4.cc: New.
5786 * 22_locale/money_put/put/char/5.cc: New.
5787 * 22_locale/money_put/put/char/6.cc: New.
5788 * 22_locale/money_put/put/char/wrapped_env.cc: New.
5789 * 22_locale/money_put/put/char/wrapped_locale.cc: New.
5790 * 22_locale/money_put/put/wchar_t/1.cc: New.
5791 * 22_locale/money_put/put/wchar_t/2.cc: New.
5792 * 22_locale/money_put/put/wchar_t/3.cc: New.
5793 * 22_locale/money_put/put/wchar_t/4.cc: New.
5794 * 22_locale/money_put/put/wchar_t/5.cc: New.
5795 * 22_locale/money_put/put/wchar_t/6.cc: New.
5796 * 22_locale/money_put/put/wchar_t/wrapped_env.cc: New.
5797 * 22_locale/money_put/put/wchar_t/wrapped_locale.cc: New.
5798 * 22_locale/moneypunct/1.cc: New.
5799 * 22_locale/moneypunct/2.cc: New.
5800 * 22_locale/moneypunct/3.cc: New.
5801 * 22_locale/moneypunct/members/char/1.cc: New.
5802 * 22_locale/moneypunct/members/char/2.cc: New.
5803 * 22_locale/moneypunct/members/char/wrapped_env.cc: New.
5804 * 22_locale/moneypunct/members/char/wrapped_locale.cc: New.
5805 * 22_locale/moneypunct/members/wchar_t/1.cc: New.
5806 * 22_locale/moneypunct/members/wchar_t/2.cc: New.
5807 * 22_locale/moneypunct/members/wchar_t/wrapped_env.cc: New.
5808 * 22_locale/moneypunct/members/wchar_t/wrapped_locale.cc: New.
5809 * 22_locale/moneypunct_byname/1.cc: New.
5810 * 22_locale/num_get/1.cc: New.
5811 * 22_locale/num_get/2.cc: New.
5812 * 22_locale/num_get/get/char/1.cc: New.
5813 * 22_locale/num_get/get/char/2.cc: New.
5814 * 22_locale/num_get/get/char/3.cc: New.
5815 * 22_locale/num_get/get/char/4.cc: New.
5816 * 22_locale/num_get/get/char/5.cc: New.
5817 * 22_locale/num_get/get/char/6.cc: New.
5818 * 22_locale/num_get/get/char/wrapped_env.cc: New.
5819 * 22_locale/num_get/get/char/wrapped_locale.cc: New.
5820 * 22_locale/num_get/get/wchar_t/1.cc: New.
5821 * 22_locale/num_get/get/wchar_t/2.cc: New.
5822 * 22_locale/num_get/get/wchar_t/3.cc: New.
5823 * 22_locale/num_get/get/wchar_t/4.cc: New.
5824 * 22_locale/num_get/get/wchar_t/5.cc: New.
5825 * 22_locale/num_get/get/wchar_t/6.cc: New.
5826 * 22_locale/num_get/get/wchar_t/wrapped_env.cc: New.
5827 * 22_locale/num_get/get/wchar_t/wrapped_locale.cc: New.
5828 * 22_locale/num_put/1.cc: New.
5829 * 22_locale/num_put/2.cc: New.
5830 * 22_locale/num_put/put/char/1.cc: New.
5831 * 22_locale/num_put/put/char/2.cc: New.
5832 * 22_locale/num_put/put/char/3.cc: New.
5833 * 22_locale/num_put/put/char/4.cc: New.
5834 * 22_locale/num_put/put/char/5.cc: New.
5835 * 22_locale/num_put/put/char/wrapped_env.cc: New.
5836 * 22_locale/num_put/put/char/wrapped_locale.cc: New.
5837 * 22_locale/num_put/put/wchar_t/1.cc: New.
5838 * 22_locale/num_put/put/wchar_t/2.cc: New.
5839 * 22_locale/num_put/put/wchar_t/3.cc: New.
5840 * 22_locale/num_put/put/wchar_t/4.cc: New.
5841 * 22_locale/num_put/put/wchar_t/5.cc: New.
5842 * 22_locale/num_put/put/wchar_t/wrapped_env.cc: New.
5843 * 22_locale/num_put/put/wchar_t/wrapped_locale.cc: New.
5844 * 22_locale/numpunct/1.cc: New.
5845 * 22_locale/numpunct/2.cc: New.
5846 * 22_locale/numpunct/members/char/1.cc: New.
5847 * 22_locale/numpunct/members/char/2.cc: New.
5848 * 22_locale/numpunct/members/char/wrapped_env.cc: New.
5849 * 22_locale/numpunct/members/char/wrapped_locale.cc: New.
5850 * 22_locale/numpunct/members/wchar_t/1.cc: New.
5851 * 22_locale/numpunct/members/wchar_t/2.cc: New.
5852 * 22_locale/numpunct/members/wchar_t/wrapped_env.cc: New.
5853 * 22_locale/numpunct/members/wchar_t/wrapped_locale.cc: New.
5854 * 22_locale/numpunct_byname/1.cc: New.
5855 * 22_locale/numpunct_byname/2.cc: New.
5856 * 22_locale/time_get/1.cc: New.
5857 * 22_locale/time_get/2.cc: New.
5858 * 22_locale/time_get/date_order/char/1.cc: New.
5859 * 22_locale/time_get/date_order/char/wrapped_env.cc: New.
5860 * 22_locale/time_get/date_order/char/wrapped_locale.cc: New.
5861 * 22_locale/time_get/date_order/wchar_t/1.cc: New.
5862 * 22_locale/time_get/date_order/wchar_t/wrapped_env.cc: New.
5863 * 22_locale/time_get/date_order/wchar_t/wrapped_locale.cc: New.
5864 * 22_locale/time_get/get_date/char/1.cc: New.
5865 * 22_locale/time_get/get_date/char/2.cc: New.
5866 * 22_locale/time_get/get_date/char/3.cc: New.
5867 * 22_locale/time_get/get_date/char/wrapped_env.cc: New.
5868 * 22_locale/time_get/get_date/char/wrapped_locale.cc: New.
5869 * 22_locale/time_get/get_date/wchar_t/1.cc: New.
5870 * 22_locale/time_get/get_date/wchar_t/2.cc: New.
5871 * 22_locale/time_get/get_date/wchar_t/3.cc: New.
5872 * 22_locale/time_get/get_date/wchar_t/wrapped_env.cc: New.
5873 * 22_locale/time_get/get_date/wchar_t/wrapped_locale.cc: New.
5874 * 22_locale/time_get/get_monthname/char/1.cc: New.
5875 * 22_locale/time_get/get_monthname/char/2.cc: New.
5876 * 22_locale/time_get/get_monthname/char/3.cc: New.
5877 * 22_locale/time_get/get_monthname/char/wrapped_env.cc: New.
5878 * 22_locale/time_get/get_monthname/char/wrapped_locale.cc: New.
5879 * 22_locale/time_get/get_monthname/wchar_t/1.cc: New.
5880 * 22_locale/time_get/get_monthname/wchar_t/2.cc: New.
5881 * 22_locale/time_get/get_monthname/wchar_t/3.cc: New.
5882 * 22_locale/time_get/get_monthname/wchar_t/wrapped_env.cc: New.
5883 * 22_locale/time_get/get_monthname/wchar_t/wrapped_locale.cc: New.
5884 * 22_locale/time_get/get_time/char/1.cc: New.
5885 * 22_locale/time_get/get_time/char/2.cc: New.
5886 * 22_locale/time_get/get_time/char/3.cc: New.
5887 * 22_locale/time_get/get_time/char/wrapped_env.cc: New.
5888 * 22_locale/time_get/get_time/char/wrapped_locale.cc: New.
5889 * 22_locale/time_get/get_time/wchar_t/1.cc: New.
5890 * 22_locale/time_get/get_time/wchar_t/2.cc: New.
5891 * 22_locale/time_get/get_time/wchar_t/3.cc: New.
5892 * 22_locale/time_get/get_time/wchar_t/wrapped_env.cc: New.
5893 * 22_locale/time_get/get_time/wchar_t/wrapped_locale.cc: New.
5894 * 22_locale/time_get/get_weekday/char/1.cc: New.
5895 * 22_locale/time_get/get_weekday/char/2.cc: New.
5896 * 22_locale/time_get/get_weekday/char/3.cc: New.
5897 * 22_locale/time_get/get_weekday/char/wrapped_env.cc: New.
5898 * 22_locale/time_get/get_weekday/char/wrapped_locale.cc: New.
5899 * 22_locale/time_get/get_weekday/wchar_t/1.cc: New.
5900 * 22_locale/time_get/get_weekday/wchar_t/2.cc: New.
5901 * 22_locale/time_get/get_weekday/wchar_t/3.cc: New.
5902 * 22_locale/time_get/get_weekday/wchar_t/wrapped_env.cc: New.
5903 * 22_locale/time_get/get_weekday/wchar_t/wrapped_locale.cc: New.
5904 * 22_locale/time_get/get_year/char/1.cc: New.
5905 * 22_locale/time_get/get_year/char/3.cc: New.
5906 * 22_locale/time_get/get_year/char/wrapped_env.cc: New.
5907 * 22_locale/time_get/get_year/char/wrapped_locale.cc: New.
5908 * 22_locale/time_get/get_year/wchar_t/1.cc: New.
5909 * 22_locale/time_get/get_year/wchar_t/3.cc: New.
5910 * 22_locale/time_get/get_year/wchar_t/wrapped_env.cc: New.
5911 * 22_locale/time_get/get_year/wchar_t/wrapped_locale.cc: New.
5912 * 22_locale/time_put/1.cc: New.
5913 * 22_locale/time_put/2.cc: New.
5914 * 22_locale/time_put/put/char/1.cc: New.
5915 * 22_locale/time_put/put/char/10.cc: New.
5916 * 22_locale/time_put/put/char/2.cc: New.
5917 * 22_locale/time_put/put/char/3.cc: New.
5918 * 22_locale/time_put/put/char/4.cc: New.
5919 * 22_locale/time_put/put/char/5.cc: New.
5920 * 22_locale/time_put/put/char/6.cc: New.
5921 * 22_locale/time_put/put/char/7.cc: New.
5922 * 22_locale/time_put/put/char/8.cc: New.
5923 * 22_locale/time_put/put/char/9.cc: New.
5924 * 22_locale/time_put/put/char/wrapped_env.cc: New.
5925 * 22_locale/time_put/put/char/wrapped_locale.cc: New.
5926 * 22_locale/time_put/put/wchar_t/1.cc: New.
5927 * 22_locale/time_put/put/wchar_t/10.cc: New.
5928 * 22_locale/time_put/put/wchar_t/2.cc: New.
5929 * 22_locale/time_put/put/wchar_t/3.cc: New.
5930 * 22_locale/time_put/put/wchar_t/4.cc: New.
5931 * 22_locale/time_put/put/wchar_t/5.cc: New.
5932 * 22_locale/time_put/put/wchar_t/6.cc: New.
5933 * 22_locale/time_put/put/wchar_t/7.cc: New.
5934 * 22_locale/time_put/put/wchar_t/8.cc: New.
5935 * 22_locale/time_put/put/wchar_t/9.cc: New.
5936 * 22_locale/time_put/put/wchar_t/wrapped_env.cc: New.
5937 * 22_locale/time_put/put/wchar_t/wrapped_locale.cc: New.
5939 2003-01-16 Jeffrey D. Oldham <oldham@codesourcery.com>
5941 * config/locale/generic/messages_members.h
5942 (messages_byname<_CharT>::messages_byname): Use this-> to refer to
5943 unqualified members of base clasess.
5945 2003-01-16 Mark Mitchell <mark@codesourcery.com>
5946 Jeffrey Oldham <oldham@codesourcery.com>
5948 * config/locale/gnu/messages_members.h: Use this-> to refer to
5949 unqualified members of base clasess.
5950 * config/locale/ieee_1003.1-2001/codecvt_specializations.h: Likewise.
5951 * include/bits/codecvt.h: Likewise.
5952 * include/bits/deque.tcc: Likewise.
5953 * include/bits/fstream.tcc: Likewise.
5954 * include/bits/istream.tcc: Likewise.
5955 * include/bits/list.tcc: Likewise.
5956 * include/bits/locale_facets.h: Likewise.
5957 * include/bits/ostream.tcc: Likewise.
5958 * include/bits/sstream.tcc: Likewise.
5959 * include/bits/stl_bvector.h: Likewise.
5960 * include/bits/stl_deque.h: Likewise.
5961 * include/bits/stl_list.h: Likewise.
5962 * include/bits/stl_tree.h: Likewise.
5963 * include/bits/stl_vector.h: Likewise.
5964 * include/bits/vector.tcc: Likewise.
5965 * include/ext/ropeimpl.h: Likewise.
5966 * include/ext/stdio_filebuf.h: Likewise.
5967 * include/ext/stl_rope.h: Likewise.
5968 * include/std/std_fstream.h: Likewise.
5969 * include/std/std_sstream.h: Likewise.
5971 2003-01-15 Phil Edwards <pme@gcc.gnu.org>
5973 * include/bits/basic_string.tcc (_S_string_copy): Unused, remove.
5975 2003-01-15 Benjamin Kosnik <bkoz@redhat.com>
5977 * acinclude.m4 (GLIBCPP_CHECK_WCHAR_T_SUPPORT): Substitute
5978 GLIBCPP_TEST_WCHAR_T if building wchar_t bits in the library.
5979 * aclocal.m4: Regenerate.
5980 * configure: Regenerate.
5981 * testsuite/Makefile.am (all-local): Add conditional rule to
5982 generate testsuite_wchar_t.
5983 * testsuite/Makefile.in: Regenerate.
5984 * testsuite/lib/libstdc++-v3-dg.exp
5985 (libstdc++-v3-list-sourcefiles): Remove wchar_t files if
5986 testsuite_wchar_t is not present in the build directory.
5987 * testsuite/libstdc++-v3.dg/dg.exp: Add -g -O2 to DEFAULT_CXXFLAGS.
5988 Remove setulimit bits.
5989 * testsuite/26_numerics/complex_value.cc: Set to noopts.
5990 * testsuite/Makefile.am (CLEANFILES): Add.
5991 * testsuite/Makefile.in: Regenerate.
5993 2003-01-15 John David Anglin <dave@hiauly1.hia.nrc.ca>
5995 * config/os/hpux/os_defines.h (_GLIBCPP_GTHREAD_USE_WEAK): Define for
5998 2003-01-14 Jeffrey D. Oldham <oldham@codesourcery.com>
6000 Further conform g++'s __vmi_class_type_info to the C++ ABI
6002 * libsupc++/cxxabi.h
6003 (__vmi_class_type_info::__flags_masks): Remove enumerations not
6004 required by the specification.
6006 2003-01-12 Benjamin Kosnik <bkoz@redhat.com>
6008 Renames, namespaces for testsuite utilities.
6009 * testsuite/testsuite_hooks.h: Put into namespace __gnu_cxx_test.
6010 (gnu_allocator_tracker): Rename to allocation_tracker.
6011 (gnu_new_allocator): Rename to tracker_alloc.
6012 (__set_testsuite_memlimit): Rename to set_memory_limits.
6013 (gnu_assignment_operator): Rename to assignment_operator.
6014 (gnu_destructor): Rename to destructor.
6015 (gnu_copy_tracker): Rename to copy_tracker.
6016 (gnu_char, gnu_int, gnu_long): Rename to pod_char, pod_int, pod_long.
6017 (run_tests_wrapped_locale): New.
6018 (run_tests_wrapped_env): New.
6019 * testsuite/testsuite_hooks.cc: Same.
6020 (class locale_data): Add.
6021 (class enviornment_variable): Add.
6022 (class not_found): Add.
6023 * testsuite/testsuite_allocator.h: Same.
6024 * testsuite/testsuite_allocator.cc: Same.
6025 * testsuite/23_containers/deque_ctor.cc
6026 (test_copy_ctor_exception_safety): Change gnu_allocator_tracker to
6028 Change gnu_new_allocator to tracker_alloc.
6029 Change gnu_counting_struct to counter.
6030 Change gnu_copy_tracker to copy_tracker.
6031 Change gnu_copy_constructor to copy_constructor.
6032 Change gnu_assignment_operator to assignment_operator.
6034 * testsuite/23_containers/vector_capacity.cc: Same.
6035 * testsuite/23_containers/vector_ctor.cc (test01): Same.
6036 * testsuite/23_containers/list_modifiers.cc: Change
6037 gnu_copy_tracker to copy_tracker.
6038 * testsuite/21_strings/ctor_copy_dtor.cc (main): Change
6039 __set_testsuite_memlimit to set_memory_limits.
6040 * testsuite/21_strings/insert.cc (main): Same.
6041 * testsuite/27_io/filebuf.cc: Change gnu_char to pod_char.
6042 * testsuite/27_io/stringstream.cc: Same.
6043 * testsuite/27_io/stringbuf.cc: Same.
6044 * testsuite/27_io/streambuf.cc: Same.
6045 * testsuite/27_io/ostream.cc: Same.
6046 * testsuite/27_io/istream.cc: Same.
6047 * testsuite/27_io/fstream.cc: Same.
6048 * testsuite/lib/libstdc++-v3-dg.exp
6049 (libstdc++-v3-list-sourcefiles): Additionally handle files two and
6050 three levels deeper in glob patterns.
6052 2003-01-11 Phil Edwards <pme@gcc.gnu.org>
6054 * docs/doxygen/tables.html: Finished now.
6055 * docs/doxygen/user.cfg.in: Update to latest version of Doxygen.
6056 * include/bits/basic_ios.h (basic_ios::rdbuf): Add example to
6059 * include/bits/deque.tcc, include/bits/stl_alloc.h,
6060 include/bits/stl_deque.h, include/bits/stl_list.h,
6061 include/bits/stl_vector.h: Remove _GLIBCPP_DEPRECATED bits scheduled
6064 2003-01-09 Benjamin Kosnik <bkoz@redhat.com>
6066 * configure.in: Revert.
6067 * configure: Regenerate.
6069 2003-01-09 Christian Cornelssen <ccorn@cs.tu-berlin.de>
6071 * include/Makefile.am (install-data-local): Prepend
6072 $(DESTDIR) to destination paths in all (un)installation
6073 commands. Use ${c_base_builddir} and ${std_builddir}
6074 as destination subdirectories to achieve consistency with
6075 preceding mkinstalldirs commands. No effect because both
6076 variables contain "." only.
6077 * include/Makefile.in: Regenerate.
6079 2003-01-08 Benjamin Kosnik <bkoz@redhat.com>
6081 * include/Makefile.am (stamp-*): Add checks for existing stamps.
6082 * include/Makefile.in: Regenerate.
6084 * acinclude.m4 (GLIBCPP_ENABLE_DEBUG): Correct comment.
6085 * aclocal.m4: Regenerate.
6087 * configure.in: Don't add new multi-do rules every time the
6088 directory is reconfigured.
6089 * configure: Regenerate.
6091 2003-01-08 Brad Spencer <spencer@infointeractive.com>
6092 Nathan Myers <ncm@cantrip.org>
6094 * src/Makefile.am (stamp-debug): Clean.
6095 * src/Makefile.in: Regenerate.
6097 2003-01-07 Benjamin Kosnik <bkoz@redhat.com>
6100 * Makefile.am (distclean-multi): Fix.
6101 * Makefile.in: Regenerate.
6103 2003-01-06 Benjamin Kosnik <bkoz@redhat.com>
6105 * include/bits/locale_facets.h (messages): Move ctor, dtor
6107 (__timepunct): Same.
6108 * config/locale/gnu/messages_members.h (messages): Add dtor, ctor
6109 definitions. Conditionalize for GNU systems.
6110 * config/locale/generic/messages_members.h (messages): Add dtor, ctor
6112 * config/locale/gnu/time_members.h (messages): New. Add dtor, ctor
6113 definitions. Conditionalize for GNU systems.
6114 * config/locale/generic/time_members.h (messages): New. Add dtor, ctor
6116 * include/bits/localefwd.h (locale::facet::_S_c_name): Add.
6117 * src/locale.cc: Define.
6118 * src/localename.cc (locale::_Impl::_Impl(facet**, size_t, bool):
6120 * config/locale/gnu/time_members.h: Use it.
6121 * config/locale/gnu/messages_members.h: Use it.
6122 * config/linker-map.gnu: Add locale::facets details.
6123 * include/Makefile.am (target_headers_extra): Add time_members.h.
6124 * include/Makefile.in: Regenerate.
6125 * acinclude.m4: Export CTIME_H.
6126 * aclocal.m4: Regenerate.
6127 * configure: Regnerate.
6129 2003-01-06 Paolo Carlini <pcarlini@unitus.it>
6132 (codecvt<char, char, mbstate_t>::do_in, do_out):
6133 Tweak parameters to avoid unused parameter warnings.
6135 2003-01-06 Paolo Carlini <pcarlini@unitus.it>
6138 * include/bits/locale_facets.cc (num_put::_M_convert_float):
6139 Limit __prec to digits10 + 2, not digits10 + 1, taking into
6140 account the possibility of %{g,G} conversion specifiers
6141 inside _S_format_float.
6142 * testsuite/27_io/ostream_inserter_arith.cc (test06): Add.
6144 2003-01-06 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
6146 * testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3-init,
6147 libstdc++-v3-list-sourcefiles): Additionally handle files one
6148 level deeper in glob patterns.
6150 * testsuite/27_io/istream_extractor_arith.cc: Delete, split...
6151 * testsuite/27_io/istream_extractor_arith/01.cc,
6152 testsuite/27_io/istream_extractor_arith/02.cc,
6153 testsuite/27_io/istream_extractor_arith/03.cc,
6154 testsuite/27_io/istream_extractor_arith/06.cc,
6155 testsuite/27_io/istream_extractor_arith/07.cc,
6156 testsuite/27_io/istream_extractor_arith/08.cc,
6157 testsuite/27_io/istream_extractor_arith/09.cc,
6158 testsuite/27_io/istream_extractor_arith/10.cc,
6159 testsuite/27_io/istream_extractor_arith/11.cc,
6160 testsuite/27_io/istream_extractor_arith/12.cc,
6161 testsuite/27_io/istream_extractor_arith/13.cc: ... to new files.
6162 * testsuite/27_io/istream_extractor_arith/12.cc: Add XFAIL for
6165 2003-01-05 Paolo Carlini <pcarlini@unitus.it>
6169 (codecvt<char, char, mbstate_t>::do_in, do_out):
6170 Implement the resolution of DR19 (TC).
6171 * testsuite/22_locale/codecvt_members_char_char.cc
6174 2003-01-02 Jason Merrill <jason@redhat.com>
6176 * config/cpu/i486/atomicity.h (__exchange_and_add, __atomic_add):
6177 *__mem is also an output.
6178 * config/cpu/m68k/atomicity.h (__exchange_and_add): Likewise.