1 2003-08-27 Daniel Jacobowitz <drow@mvista.com>
3 * acinclude.m4: Include no-executables.m4.
4 * configure.ac: Uncomment GCC_NO_EXECUTABLES.
5 * aclocal.m4: Regenerated.
6 * configure: Regenerated.
8 2003-08-27 Daniel Jacobowitz <drow@mvista.com>
10 * acinclude.m4: Don't call AC_ISC_POSIX.
11 * aclocal.m4: Regenerated.
12 * configure: Regenerated.
14 2003-08-27 Phil Edwards <pme@gcc.gnu.org>
16 * acinclude.m4 (GLIBCXX_CONDITIONAL): New macro. Wrap
17 AM_CONDITIONAL. Replace all calls to AM_CONDITIONAL with this one.
18 (GLIBCXX_ENABLE_HOSTED): New macro, sets new variable is_hosted,
19 used elsewhere in this file.
20 (GLIBCXX_EVALUATE_CONDITIONALS): New macro...
21 * configure.ac: ...called here to expand all conditionals.
22 * Makefile.am: Conditionalize SUBDIRS on GLIBCXX_HOSTED.
23 * include/Makefile.am: Remove redundant gxx_include_dir assignment.
24 (install-freestanding-headers): New target, a subset of
25 install-headers. Conditionalize install-data-local on GLIBCXX_HOSTED.
27 * aclocal.m4, configure, Makefile.in, include/Makefile.in,
28 libmath/Makefile.in, libsupc++/Makefile.in, po/Makefile.in,
29 src/Makefile.in, testsuite/Makefile.in: Regenerated.
31 2003-08-26 Phil Edwards <pme@gcc.gnu.org>
33 * docs/doxygen/run_doxygen: Shell fixes. Remove hardcoded local
34 pathnames from generated tag file.
36 2003-08-26 Phil Edwards <pme@gcc.gnu.org>
38 * Makefile.am: Add comment.
39 * acinclude.m4 (GLIBCXX_CONFIGURE): Set new glibcxx_SUBDIRS and
41 * configure.ac: Use them both here, instead of hardcoded lists.
43 * fragment.am: Add STAMP varaible.
44 * include/Makefile.am: Cosmetic whitespace cleanup. Use $(LN_S)
46 (stamp-*): Move file creation rule outside of 'if' branches to
47 ensure the stamp-* files are actually updated. Use $(STAMP).
48 * src/Makefile.am: Remove now-nonexistant variable.
49 * libsupc++/Makefile.am: Likewise. Snap the assignment chain
51 * po/Makefile.am: Include same fragment as all the others.
53 * aclocal.m4, configure, Makefile.in, include/Makefile.in,
54 libsupc++/Makefile.in, po/Makefile.in, src/Makefile.in: Regenerated.
56 2003-08-26 Loren J. Rittle <ljrittle@acm.org>
58 * testsuite/data/cin_unget-1.txt: New.
59 * testsuite/27_io/objects/char/12048.cc: New.
61 2003-08-25 Zack Weinberg <zack@codesourcery.com>
63 * config/os/hpux/os_defines.h: Unconditionally define
64 _GLIBCXX_GTHREAD_USE_WEAK to 0.
66 2003-08-19 Geoffrey Keating <geoffk@apple.com>
68 * crossconfig.m4 (*-darwin*): Add a large and boring stanza for
69 crosses to Darwin targets.
70 * configure: Regenerate.
72 2003-08-19 Petur Runolfsson <peturr02@ru.is>
74 * include/ext/ropeimpl.h: #include <ostream> instead of <iostream>
76 2003-08-17 Phil Edwards <pme@gcc.gnu.org>
78 * configure.ac: GCC_NO_EXECUTABLES was supposed to be commented
79 in the patch from 3 minutes ago. Boy, is my face red.
80 * configure: At least I remembered to regenerate this.
82 2003-08-17 Phil Edwards <pme@gcc.gnu.org>
84 * acinclude.m4 (GLIBCXX_EXPORT_INCLUDES): Remove LIBMATH_INCLUDES
85 and LIBSUPCXX_INCLUDES. Re-purpose TOPLEVEL_INCLUDES to refer to
86 things from the top level.
87 * configure.ac (GLIBCXX_IS_NATIVE): Determine earlier and re-order.
88 Comment out the conditionals for CANADIAN and GLIBCXX_BUILD_LIBMATH
89 (currently unused). Strip the fake-VPATH shell fragment from
90 automake-generated rules, if present.
91 * linkage.m4: Add comment.
93 * fragment.am: New file, containing factored-out common settings.
94 (AM_CPPFLAGS): Absorb the deprecated INCLUDES variable contents.
95 * Makefile.am: Include fragment.am. Remove common variables.
96 * include/Makefile.am: Likewise.
97 * libmath/Makefile.am: Likewise.
98 * libsupc++/Makefile.am: Likewise.
99 * po/Makefile.am: Likewise. Print rules during check.
100 * src/Makefile.am: Likewise.
101 * testsuite/Makefile.am: Likewise.
103 * aclocal.m4, configure, Makefile.in, include/Makefile.in,
104 libmath/Makefile.in, libsupc++/Makefile.in, po/Makefile.in,
105 src/Makefile.in, testsuite/Makefile.in: Regenerate.
107 2003-08-11 John Levon <levon@movementarian.org>
109 * docs/html/ext/howto/guide.html (GLIBCXX_FORCE_NEW): Update
110 remaining places for the name change from GLIBCPP_FORCE_NEW
113 2003-08-11 Benjamin Kosnik <bkoz@redhat.com>
115 * include/bits/basic_ios.h: Remove *_iter typedefs, change num*
117 * include/bits/basic_ios.tcc: Same.
118 * include/bits/istream.tcc: Same.
119 * include/bits/locale_facets.h: Same.
120 * include/bits/ostream.tcc: Same.
121 * include/std/std_istream.h: Same.
122 * include/std/std_ostream.h: Same.
123 * testsuite/26_numerics/complex_inserters_extractors.cc: Fix.
125 * include/ext/rope: Remove build warning.
127 2003-08-11 Andreas Jaeger <aj@suse.de>
129 * include/Makefile.am (stamp-c_base): Add dependency on stamp-bits
131 * include/Makefile.in: Regenerated.
133 2003-08-11 Phil Edwards <pme@gcc.gnu.org>
135 * acinclude.m4 (GLIBCXX_CONFIGURE): Unprecious CC and CFLAGS
136 when calling AC_PROG_CC.
137 * aclocal.m4, configure: Regenerate.
139 2003-08-11 Phil Edwards <pme@gcc.gnu.org>
141 * acinclude.m4: Properly quote variable which will be expanded
142 inside makefiles. Use CXX instead of CC to extract compiler info.
143 * configure.ac (AC_INIT): Use the new 4-arg form to finally get the
144 correct form in PACKAGE.
145 * aclocal.m4, configure: Regenerate.
147 2003-08-08 Benjamin Kosnik <bkoz@redhat.com>
149 * testsuite/Makefile.am (check-abi): Change libstdc++-v3 to libstdc++.
150 (check-abi-verbose): Same.
151 * testsuite/testsuite_performance.h (report_performance): Same.
153 2003-08-08 Loren J. Rittle <ljrittle@acm.org>
155 * testsuite/testsuite_performance.h (__FreeBSD__): Add fake mallinfo.
157 2003-08-07 Doug Gregor <dgregor@apple.com>
159 * include/bits/char_traits.h (char_traits::not_eof): Match operand
162 2003-08-07 Bernardo Innocenti <bernie@develer.com>
165 * libstdc++-v3/config/cpu/m68k/atomicity.h (__exchange_and_add):
166 Replace variants with new BSET-based version.
168 2003-08-07 Carlo Wood <carlo@alinoe.com>
170 * include/bits/demangle.h: Do not use cctype functions that depend
173 2003-08-05 Phil Edwards <pme@gcc.gnu.org>
175 * configure.in: Rename...
176 * configure.ac: ...to this.
177 * docs/html/17_intro/porting.texi: Update name.
179 * docs/html/17_intro/porting.html: Regenerate.
180 * config.h.in, Makefile.in, include/Makefile.in, libmath/Makefile.in,
181 libsupc++/Makefile.in, po/Makefile.in, src/Makefile.in,
182 testsuite/Makefile.in: Regenerate (picks up new dependancy).
184 2003-08-05 Phil Edwards <pme@gcc.gnu.org>
186 * acinclude.m4 (GLIBCXX_ENABLE_SJLJ_EXCEPTIONS): Put down the crack
187 pipe, open the window to let out the fumes, redo the option-handling
188 logic to properly execute the detection test.
189 * aclocal.m4, configure: Regenerate.
191 2003-08-04 Phil Edwards <pme@gcc.gnu.org>
193 Convert to new autotools.
194 * acconfig.h: Update with correct names.
195 * configure.host (ATOMICITYH): Rename to atomicity_include_dir.
196 (qnx6.[12]*): 'q' comes before 's', not after 'w'.
197 * configure.in: Update. Split hardcoded cross-configury settings
199 * crossconfig.m4: ...here. New file. Contents untouched.
200 * acinclude.m4: Reorganize and rewrite as needed. Split large
202 * linkage.m4: ...here. New file. Math and stdlib linkage tests.
204 * scripts/testsuite_flags.in: Update.
206 * Makefile.am: Remove unneeded AUTOMAKE_OPTIONS settings and other
207 variables (already generated by automake).
208 * include/Makefile.am: Ditto.
209 * libmath/Makefile.am: Ditto.
210 * libsupc++/Makefile.am: Ditto.
211 * po/Makefile.am: Ditto.
212 * src/Makefile.am: Ditto.
214 * aclocal.m4: Regenerate using new versions.
215 * config.h.in: Ditto.
217 * Makefile.in: Ditto.
218 * include/Makefile.in: Ditto.
219 * libmath/Makefile.in: Ditto.
220 * libsupc++/Makefile.in: Ditto.
221 * po/Makefile.in: Ditto.
222 * src/Makefile.in: Ditto.
223 * testsuite/Makefile.in: Ditto.
225 2003-08-04 Phil Edwards <pme@gcc.gnu.org>
227 * po/libstdc++.pot: Re-extract/regenerate.
229 2003-08-04 Phil Edwards <pme@gcc.gnu.org>
231 * testsuite/Makefile.am (DEJATOOL,EXPECT,RUNTEST,RUNTESTFLAGS):
232 Remove unneeded variable assignments. Leave them for automake.
233 * testsuite/lib/libstdc++-v3.exp: Rename...
234 * testsuite/lib/libstdc++.exp: ...to this. Adjust function names
236 * testsuite/libstdc++-v3.dg/dg.exp: Rename...
237 * testsuite/libstdc++-dg/normal.exp: ...to this. Adjust function
240 2003-08-04 Phil Edwards <pme@gcc.gnu.org>
242 * docs/doxygen/guide.html: run_doxygen uses bash.
243 * docs/doxygen/mainpage.html: We'll be shipping tag files.
244 * docs/doxygen/run_doxygen: Tweaks and improvements.
245 * docs/doxygen/user.cfg.in: Set GENERATE_TAGFILE.
246 * docs/html/install.html: Update autoconf/automake requirements.
247 * docs/html/test.html: Add section describing DejaGNU support.
248 * docs/html/17_intro/confdeps.dot: New file, generates...
249 * docs/html/17_intro/confdeps.png: ...this new file.
250 * docs/html/Makefile: Generated here.
251 * docs/html/17_intro/configury.html: New file.
253 2003-07-31 Phil Edwards <pme@gcc.gnu.org>
255 * testsuite/lib/libstdc++-v3-dg.exp: Rename...
256 * testsuite/lib/libstdc++-v3.exp: ...to this.
257 * testsuite/libstdc++-v3.dg/dg.exp: No special case needed now.
259 2003-07-31 Doug Gregor <dgregor@apple.com>
261 Add user specialization tests.
262 * testsuite/23_containers/deque/1.cc: New.
263 * testsuite/23_containers/list/1.cc: New.
264 * testsuite/23_containers/map/1.cc: New.
265 * testsuite/23_containers/multimap/1.cc: New.
266 * testsuite/23_containers/multiset/1.cc: New.
267 * testsuite/23_containers/set/1.cc: New.
268 * testsuite/23_containers/vector/1.cc: New.
270 2003-07-31 Benjamin Kosnik <bkoz@redhat.com>
272 Reshuffle 23_containers testsuite.
273 * 23_containers/adaptors.cc, bitset_ctor.cc,bitset_members.cc,
274 bitset_shift.cc, deque_ctor.cc, deque_operators.cc,
275 list_capacity.cc, list_ctor.cc, list_modifiers.cc, list_operators.cc,
276 map_insert.cc, map_operators.cc, map_operators_neg.cc, multiset.cc,
277 set_operators_neg.cc, vector_bool.cc, vector_capacity.cc,
278 vector_ctor.cc, vector_element_access.cc, vector_modifiers.cc,
279 vector_resize.cc: Split into...
280 * 23_containers/bitset/cons/1.cc: New.
281 * 23_containers/bitset/cons/6282.cc: New.
282 * 23_containers/bitset/count/6124.cc: New.
283 * 23_containers/bitset/operations/1.cc: New.
284 * 23_containers/bitset/operations/2.cc: New.
285 * 23_containers/bitset/test/1.cc: New.
286 * 23_containers/bitset/to_ulong/1.cc: New.
287 * 23_containers/deque/cons/1.cc: New.
288 * 23_containers/deque/cons/2.cc: New.
289 * 23_containers/deque/operators/1.cc: New.
290 * 23_containers/list/capacity/1.cc: New.
291 * 23_containers/list/cons/1.cc: New.
292 * 23_containers/list/cons/2.cc: New.
293 * 23_containers/list/cons/3.cc: New.
294 * 23_containers/list/cons/4.cc: New.
295 * 23_containers/list/cons/5.cc: New.
296 * 23_containers/list/cons/6.cc: New.
297 * 23_containers/list/cons/7.cc: New.
298 * 23_containers/list/cons/8.cc: New.
299 * 23_containers/list/cons/9.cc: New.
300 * 23_containers/list/modifiers/1.cc: New.
301 * 23_containers/list/modifiers/2.cc: New.
302 * 23_containers/list/modifiers/3.cc: New.
303 * 23_containers/list/operators/1.cc: New.
304 * 23_containers/list/operators/2.cc: New.
305 * 23_containers/list/operators/3.cc: New.
306 * 23_containers/list/operators/4.cc: New.
307 * 23_containers/map/insert/1.cc: New.
308 * 23_containers/map/operators/1.cc: New.
309 * 23_containers/map/operators/1_neg.cc: New.
310 * 23_containers/multiset/insert/1.cc: New.
311 * 23_containers/priority_queue/members/7161.cc: New.
312 * 23_containers/queue/members/7157.cc: New.
313 * 23_containers/set/operators/1_neg.cc: New.
314 * 23_containers/stack/members/7158.cc: New.
315 * 23_containers/vector/bool/1.cc: New.
316 * 23_containers/vector/bool/6886.cc: New.
317 * 23_containers/vector/capacity/1.cc: New.
318 * 23_containers/vector/capacity/2.cc: New.
319 * 23_containers/vector/capacity/8230.cc: New.
320 * 23_containers/vector/cons/1.cc: New.
321 * 23_containers/vector/cons/2.cc: New.
322 * 23_containers/vector/cons/3.cc: New.
323 * 23_containers/vector/cons/4.cc: New.
324 * 23_containers/vector/cons/6513.cc: New.
325 * 23_containers/vector/element_access/1.cc: New.
326 * 23_containers/vector/modifiers/1.cc: New.
327 * 23_containers/vector/modifiers/2.cc: New.
328 * 23_containers/vector/resize/1.cc: New.
330 2003-07-31 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
332 * testsuite/thread/pthread1.cc: Add alpha*-*-osf* to dg-do run,
334 * testsuite/thread/pthread2.cc: Likewise.
335 * testsuite/thread/pthread3.cc: Likewise.
336 * testsuite/thread/pthread4.cc: Likewise.
337 * testsuite/thread/pthread5.cc: Likewise.
338 * testsuite/thread/pthread6.cc: Likewise.
339 * testsuite/thread/pthread7-rope.cc: Likewise.
341 2003-07-30 Phil Edwards <pme@gcc.gnu.org>
343 * include/bits/c++config: Partial reversion (comment placement) of
346 2003-07-30 Benjamin Kosnik <bkoz@redhat.com>
348 * include/bits/c++config (_GLIBCXX_FULLY_COMPLIANT_HEADERS): Remove.
349 (_GLIBCXX_NO_TEMPLATE_EXPORT): To _GLIBCXX_EXPORT_TEMPLATE.
350 (_GLIBCXX_AT_AT): Remove.
351 (__USE_MALLOC): Remove.
352 * include/std/std_fstream.h: Modify.
353 * include/bits/basic_ios.h: Same.
354 * include/bits/valarray_array.h: Same.
355 * include/c_std/std_cmath.h: Same.
356 * include/c_std/cmath.tcc: Same.
357 * include/std/std_vector.h: Same.
358 * include/std/std_string.h: Same.
359 * include/std/std_stack.h: Same.
360 * include/std/std_queue.h: Same.
361 * include/std/std_list.h: Same.
362 * include/std/std_deque.h: Same.
363 * include/std/std_streambuf.h: Same.
364 * include/std/std_sstream.h: Same.
365 * include/std/std_ostream.h: Same.
366 * include/std/std_istream.h: Same.
367 * include/bits/valarray_array.tcc: Same, format.
369 * include/c/std_cctype.h: Fix include guards.
370 * include/c/std_cerrno.h: Same.
371 * include/c/std_cfloat.h: Same.
372 * include/c/std_climits.h: Same.
373 * include/c/std_clocale.h: Same.
374 * include/c/std_cmath.h: Same.
375 * include/c/std_csetjmp.h: Same.
376 * include/c/std_csignal.h: Same.
377 * include/c/std_cstdarg.h: Same.
378 * include/c/std_cstddef.h: Same.
379 * include/c/std_cstdio.h: Same.
380 * include/c/std_cstdlib.h: Same.
381 * include/c/std_cstring.h: Same.
382 * include/c/std_ctime.h: Same.
383 * include/c/std_cwchar.h: Same.
384 * include/c/std_cwctype.h: Same.
385 * include/c_std/cmath.tcc: Same.
386 * include/c_std/std_cmath.h: Same.
388 2003-07-30 Gawain Bolton <gp.bolton@computer.org>
391 * include/bits/stl_tree.h: Replace C-style casts with C++-style
392 casts. Changes to avoid casting away constness. Eliminate
393 _Rb_tree_base_iterator class. Change _Rb_tree_iterator to use
394 initialization lists. Move out implementation of __black_count()
396 * src/stl_tree.cc: ...here and rename _Rb_tree_black_count().
397 Rename_Rb_tree_base_iterator::_M_increment() to
398 _Rb_tree_increment and _Rb_tree_base_iterator::_M_decrement() to
400 * config/linker-map.gnu: Add and change symbols here.
402 2003-07-30 Jonathan Wakely <redi@gcc.gnu.org>
404 * docs/html/22_locale/howto.html: Use locale::classic() instead
407 2003-07-28 Benjamin Kosnik <bkoz@redhat.com>
409 * testsuite/testsuite_hooks.h: Remove list include.
410 (func_callback): Define as unique type, not std::list.
411 Change DEBUG_ASSERT to _GLIBCXX_ASSERT.
412 * testsuite/libstdc++-v3.dg/dg.exp: Same.
413 * testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3-init): Same.
414 * testsuite/23_containers/bitset_ctor.cc:
415 * testsuite/17_intro/header_ciso646.cc: Remove DEBUG_ASSERT.
416 * testsuite/18_support/numeric_limits.cc: Same.
417 * testsuite/21_strings/basic_string/append/char/1.cc: Same.
418 * testsuite/21_strings/basic_string/append/wchar_t/1.cc: Same.
419 * testsuite/21_strings/basic_string/compare/char/1.cc: Same.
420 * testsuite/21_strings/basic_string/compare/wchar_t/1.cc: Same.
421 * testsuite/21_strings/basic_string/element_access/char/1.cc: Same.
422 * testsuite/21_strings/basic_string/element_access/char/2.cc: Same.
423 * testsuite/21_strings/basic_string/element_access/char/3.cc: Same.
424 * testsuite/21_strings/basic_string/element_access/wchar_t/1.cc: Same.
425 * testsuite/21_strings/basic_string/element_access/wchar_t/2.cc: Same.
426 * testsuite/21_strings/basic_string/element_access/wchar_t/3.cc: Same.
427 * testsuite/21_strings/basic_string/find/char/1.cc: Same.
428 * testsuite/21_strings/basic_string/find/char/2.cc: Same.
429 * testsuite/21_strings/basic_string/find/char/3.cc: Same.
430 * testsuite/21_strings/basic_string/find/wchar_t/1.cc: Same.
431 * testsuite/21_strings/basic_string/find/wchar_t/2.cc: Same.
432 * testsuite/21_strings/basic_string/find/wchar_t/3.cc: Same.
433 * testsuite/21_strings/basic_string/insert/char/1.cc: Same.
434 * testsuite/21_strings/basic_string/insert/char/2.cc: Same.
435 * testsuite/21_strings/basic_string/insert/wchar_t/1.cc: Same.
436 * testsuite/21_strings/basic_string/insert/wchar_t/2.cc: Same.
437 * testsuite/21_strings/basic_string/inserters_extractors/char/1.cc:
438 * testsuite/21_strings/basic_string/inserters_extractors/char/4.cc:
439 * testsuite/21_strings/basic_string/inserters_extractors/char/5.cc:
440 * testsuite/21_strings/basic_string/inserters_extractors/char/6.cc:
441 * testsuite/21_strings/basic_string/inserters_extractors/char/7.cc:
442 * testsuite/21_strings/basic_string/inserters_extractors/wchar_t/1.cc:
443 * testsuite/21_strings/basic_string/inserters_extractors/wchar_t/4.cc:
444 * testsuite/21_strings/basic_string/inserters_extractors/wchar_t/5.cc:
445 * testsuite/21_strings/basic_string/inserters_extractors/wchar_t/6.cc:
446 * testsuite/21_strings/basic_string/inserters_extractors/wchar_t/7.cc:
447 * testsuite/21_strings/basic_string/operators/char/1.cc: Same.
448 * testsuite/21_strings/basic_string/operators/char/2.cc: Same.
449 * testsuite/21_strings/basic_string/operators/wchar_t/1.cc: Same.
450 * testsuite/21_strings/basic_string/operators/wchar_t/2.cc: Same.
451 * testsuite/21_strings/basic_string/replace/char/1.cc: Same.
452 * testsuite/21_strings/basic_string/replace/wchar_t/1.cc: Same.
453 * testsuite/21_strings/basic_string/rfind/char/1.cc: Same.
454 * testsuite/21_strings/basic_string/rfind/char/2.cc: Same.
455 * testsuite/21_strings/basic_string/rfind/char/3.cc: Same.
456 * testsuite/21_strings/basic_string/rfind/wchar_t/1.cc: Same.
457 * testsuite/21_strings/basic_string/rfind/wchar_t/2.cc: Same.
458 * testsuite/21_strings/basic_string/rfind/wchar_t/3.cc: Same.
459 * testsuite/21_strings/basic_string/substr/char/1.cc: Same.
460 * testsuite/21_strings/basic_string/substr/wchar_t/1.cc: Same.
461 * testsuite/23_containers/bitset_ctor.cc: Same.
462 * testsuite/23_containers/bitset_shift.cc: Same.
463 * testsuite/23_containers/vector_ctor.cc: Same.
464 * testsuite/23_containers/vector_element_access.cc: Same.
465 * testsuite/24_iterators/istreambuf_iterator.cc: Same.
466 * testsuite/24_iterators/iterator.cc: Same.
467 * testsuite/24_iterators/ostreambuf_iterator.cc: Same.
468 * testsuite/25_algorithms/lower_bound.cc: Same.
469 * testsuite/26_numerics/complex_inserters_extractors.cc: Same.
470 * testsuite/27_io/basic_istream/extractors_arithmetic/char/01.cc: Same.
471 * testsuite/27_io/basic_istream/extractors_arithmetic/char/02.cc: Same.
472 * testsuite/27_io/basic_istream/extractors_arithmetic/char/03.cc: Same.
473 * testsuite/27_io/basic_istream/extractors_arithmetic/char/06.cc: Same.
474 * testsuite/27_io/basic_istream/extractors_arithmetic/char/07.cc: Same.
475 * testsuite/27_io/basic_istream/extractors_arithmetic/char/08.cc: Same.
476 * testsuite/27_io/basic_istream/extractors_arithmetic/char/09.cc: Same.
477 * testsuite/27_io/basic_istream/extractors_arithmetic/char/10.cc: Same.
478 * testsuite/27_io/basic_ostream/inserters_arithmetic/char/1.cc: Same.
479 * testsuite/27_io/basic_ostream/inserters_arithmetic/wchar_t/1.cc:
482 2003-07-28 Phil Edwards <pme@gcc.gnu.org>
484 * docs/doxygen/user.cfg.in, docs/html/abi.txt, docs/html/debug.html,
485 docs/html/test.html, docs/html/17_intro/headers_cc.txt,
486 docs/html/17_intro/howto.html, docs/html/ext/howto.html: Change
487 GLIBCPP to GLIBCXX (and explain as needed).
489 2003-07-28 Phil Edwards <pme@gcc.gnu.org>
493 2003-07-28 Phil Edwards <pme@gcc.gnu.org>
495 * testsuite/22_locale/messages/members/char/1.cc,
496 testsuite/22_locale/messages/members/char/2.cc,
497 testsuite/22_locale/messages/members/char/3.cc,
498 testsuite/22_locale/messages_byname/1.cc: Update comment regarding
499 the origin of LOCALEDIR.
500 * testsuite/lib/libstdc++-v3.exp: New file.
502 2003-07-25 Benjamin Kosnik <bkoz@redhat.com>
504 * include/bits/char_traits.h: Update copyright, tweak.
505 * testsuite/ext/pod_char_traits.cc: Explicitly qualify namespace
508 2003-07-24 Matt Austern <austern@apple.com>
510 * /include/bits/char_traits.h (class char_traits): Put all the
511 real work into the new class template __gnu_cxx::char_traits.
512 Gave generic definitions for member functions. Types are taken
513 from the new class template __gnu_cxx::_Char_types.
514 * testsuite/21_strings/char_traits/requirements/short/1.cc: New
515 file. Test of std::char_traits<short>, which serves as a test of
516 the char_traits primary template.
518 2003-07-24 Benjamin Kosnik <bkoz@redhat.com>
520 * testsuite/*: Change __gnu_cxx_test to __gnu_test.
522 2003-07-24 Nathan Myers <ncm-nospam@cantrip.org>
524 * testsuite/23_containers/map_operators.cc: Conform to
525 container requirement as value must be Assignable.
527 2003-07-23 Alexandre Oliva <aoliva@redhat.com>
529 * acinclude.m4 (GLIBCXX_ENABLE_PCH): Rework test such that it
530 tests not only generation of pch files, but also their use.
531 * aclocal.m4, configure: Rebuilt.
533 2003-07-23 Steve Ellcey <sje@cup.hp.com>
535 * config/cpu/hppa/atomicity.h: Change
536 _GLIBCXX_INST_GLIBCXX_ATOMICITY_LOCK to _GLIBCXX_INST_ATOMICITY_LOCK
537 to match misc-inst.cc
539 2003-07-23 Steve Ellcey <sje@cup.hp.com>
541 * include/c_std/cmath.tcc: Use _GLIBCXX_ prefix on file guard.
542 * include/c_std/std_cctype.h: Ditto.
543 * include/c_std/std_cerrno.h: Ditto.
544 * include/c_std/std_cfloat.h: Ditto.
545 * include/c_std/std_climits.h: Ditto.
546 * include/c_std/std_clocale.h: Ditto.
547 * include/c_std/std_cmath.h: Ditto.
548 * include/c_std/std_csetjmp.h: Ditto.
549 * include/c_std/std_csignal.h: Ditto.
550 * include/c_std/std_cstdarg.h: Ditto.
551 * include/c_std/std_cstddef.h: Ditto.
552 * include/c_std/std_cstdio.h: Ditto.
553 * include/c_std/std_cstdlib.h: Ditto.
554 * include/c_std/std_cstring.h: Ditto.
555 * include/c_std/std_ctime.h: Ditto.
556 * include/c_std/std_cwchar.h: Ditto.
557 * include/c_std/std_cwctype.h: Ditto.
558 * include/std/std_algorithm.h: Ditto.
559 * include/std/std_bitset.h: Ditto.
560 * include/std/std_complex.h: Ditto.
561 * include/std/std_deque.h: Ditto.
562 * include/std/std_fstream.h: Ditto.
563 * include/std/std_functional.h: Ditto.
564 * include/std/std_iomanip.h: Ditto.
565 * include/std/std_ios.h: Ditto.
566 * include/std/std_iosfwd.h: Ditto.
567 * include/std/std_iostream.h: Ditto.
568 * include/std/std_istream.h: Ditto.
569 * include/std/std_iterator.h: Ditto.
570 * include/std/std_limits.h: Ditto.
571 * include/std/std_list.h: Ditto.
572 * include/std/std_locale.h: Ditto.
573 * include/std/std_map.h: Ditto.
574 * include/std/std_memory.h: Ditto.
575 * include/std/std_numeric.h: Ditto.
576 * include/std/std_ostream.h: Ditto.
577 * include/std/std_queue.h: Ditto.
578 * include/std/std_set.h: Ditto.
579 * include/std/std_sstream.h: Ditto.
580 * include/std/std_stack.h: Ditto.
581 * include/std/std_stdexcept.h: Ditto.
582 * include/std/std_streambuf.h: Ditto.
583 * include/std/std_string.h: Ditto.
584 * include/std/std_utility.h: Ditto.
585 * include/std/std_valarray.h: Ditto.
586 * include/std/std_vector.h: Ditto.
588 2003-07-22 Doug Gregor <dgregor@apple.com>
590 * include/bits/basic_string.h (basic_string::insert): Deprecate
593 2003-07-21 Benjamin Kosnik <bkoz@redhat.com>
595 * scripts/testsuite_flags.in (--build-includes): Remove extraneous
597 * testsuite/27_io/basic_istream/sentry/char/3983-fstream.cc
598 (test03): Include typeinfo for bad_cast.
599 * testsuite/27_io/basic_ostream/sentry/char/3983-sstream.cc: Same.
600 * testsuite/27_io/basic_ostream/sentry/char/3983-fstream.cc: Same.
601 * testsuite/27_io/basic_istream/sentry/char/3983-sstream.cc: Same.
603 2003-07-21 Doug Gregor <dgregor@apple.com>
605 * include/bits/boost_concept_check.h:
606 (_EqualityComparableConcept::__constraints): Remove != from the
607 list of constraints; it is not listed in Table 28 of the C++98
610 2003-07-18 Andreas Jaeger <aj@suse.de>
612 * config/abi/sparc-linux-gnu/baseline_symbols.txt: New file.
613 * config/abi/mips-linux-gnu/baseline_symbols.txt: New file.
614 * config/abi/hppa-linux-gnu/baseline_symbols.txt: New file.
615 * config/abi/x86_64-linux-gnu/baseline_symbols.txt: Regenerated.
617 2003-07-17 Benjamin Kosnik <bkoz@redhat.com>
619 * config/linker-map.gnu: Add __moneypunct_cache, __timepunct_cache.
620 * config/locale/generic/messages_members.h: Tweaks.
621 * config/locale/generic/monetary_members.cc
622 (moneypunct::_M_initialize_moneypunct): Use cache.
623 (moneypunct::~moneypunct): Delete cache.
624 * config/locale/generic/time_members.cc:
625 (__timepunct::_M_initialize_timepunct): Use cache.
626 * config/locale/generic/time_members.h:
627 (__timepunct::~__timepunct): Delete cache.
628 (__timepunct::__timepunct): Set cache.
629 * config/locale/gnu/messages_members.h: Tweaks.
630 * config/locale/gnu/monetary_members.cc:
631 (moneypunct::_M_initialize_moneypunct): Use cache.
632 (moneypunct::~moneypunct): Delete cache.
633 * config/locale/gnu/time_members.cc:
634 (__timepunct::_M_initialize_timepunct): Use cache.
635 * config/locale/gnu/time_members.h:
636 (__timepunct::~__timepunct): Delete cache.
637 (__timepunct::__timepunct): Set cache.
638 * include/bits/locale_facets.h (__timepunct_cache): New.
639 (__moneypunct_cache): New.
640 * include/bits/locale_facets.tcc: Tweak.
641 * src/locale.cc (__timepunct::_S_timezones): Adjust for cache.
642 * src/locale-inst.cc: Instantiate caches.
643 * src/globals.cc: Add "C" caches.
644 * src/localename.cc: Use external "C" caches.
646 2003-07-17 Phil Edwards <pme@gcc.gnu.org>
648 * docs/doxygen/guide.html: Fix typo.
650 2003-07-16 Benjamin Kosnik <bkoz@redhat.com>
652 * include/ext/pod_char_traits.h: Add state template argument.
654 2003-07-16 Benjamin Kosnik <bkoz@redhat.com>
656 * include/bits/locale_facets.h (__num_base::_S_atoms_in): Add -+xX.
657 (num_get::_M_convert_int): To _M_insert_int.
658 (num_get::_M_convert_float): To _M_insert_float.
659 * include/bits/locale_facets.tcc (num_get::_M_extract_float):
660 Use caches for ctype, num_get.
661 (num_get::_M_extract_int): Same.
662 (num_get::get(bool)): Same.
663 (__verify_grouping): Use size_t.
664 * src/locale-inst.cc: Update.
665 * src/locale.cc: Adjust _S_atoms_in.
667 2003-07-16 Phil Edwards <pme@gcc.gnu.org>
669 * docs/doxygen/mainpage.html: Move building/writing instructions...
670 * docs/doxygen/guide.html: ...to here. New file.
672 2003-07-16 Jonathan Wakely <redi@gcc.gnu.org>
674 * docs/html/ext/howto.html: Update URL for SGI STL docs.
675 * docs/html/faq/index.html: Same.
676 * docs/html/faq/index.txt: Regenerate.
678 2003-07-16 Paolo Carlini <pcarlini@unitus.it>
681 * include/bits/locale_facets.tcc (money_get::do_get):
682 Strip only _leading_ zeros.
683 * testsuite/22_locale/money_get/get/char/11528.cc: Add.
684 * testsuite/22_locale/money_get/get/wchar_t/11528.cc: Add.
686 2003-07-16 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
688 * include/ext/hash_map (class hash_multimap): Remove extra
689 semicolons from __glibcxx_class_requires3 entries.
690 * include/ext/hash_set (class hash_set): Ditto.
691 (class hash_multiset): Ditto.
693 2003-07-15 Petur Runolfsson <peturr02@ru.is>
695 * include/bits/char_traits.h (char_traits<wchar_t>::move):
696 Change last parameter from int_type to size_t.
698 2003-07-15 Jerry Quinn <jlquinn@optonline.net>
700 * include/bits/stl_algo.h (includes, set_union, set_intersection,
701 set_difference, set_symmetric_difference, max_element, min_element,
702 next_permutation, prev_permutation, find_first_of, find_end):
704 * include/bits/stl_algobase.h (copy,copy_backward): Clarify overlap
705 restrictions in docs.
706 * include/bits/stl_heap.h (push_heap, pop_heap, make_heap, sort_heap):
708 * docs/doxygen/doxygroups.cc (setoperations): New group.
710 2003-07-15 Jerry Quinn <jlquinn@optonline.net>
712 * include/bits/basic_string.h: Document public functions.
713 * docs/doxygen/TODO: Update c21 todo.
715 2003-07-15 Jerry Quinn <jlquinn@optonline.net>
717 * include/bits/stl_list.h: Document more functions.
718 * docs/doxygen/TODO: Update c23 todo.
720 2003-07-14 Paolo Carlini <pcarlini@unitus.it>
722 * config/locale/gnu/c_locale.h (__convert_from_v): One more
725 2003-07-14 Paolo Carlini <pcarlini@unitus.it>
727 * include/bits/stl_tempbuf.h: Qualify free with std::.
728 * src/locale.cc: Include <cstdlib>, qualify getenv.
730 2003-07-14 Paolo Carlini <pcarlini@unitus.it>
732 * config/locale/gnu/c_locale.h (__convert_from_v): Include
733 <cstdio>. Qualify names.
734 * config/locale/generic/c_locale.h (__convert_from_v): Ditto.
736 2003-07-14 Paolo Carlini <pcarlini@unitus.it>
737 Nathan C. Myers <ncm-nospam@cantrip.org>
740 * include/std/std_fstream.h (xsputn): Declare only.
741 * include/bits/fstream.tcc (xsputn): Define, optimize for the
742 always_noconv() case: when __n is sufficiently large flush
743 the buffer and issue a direct write, if possible combining the
744 two with writev in __basic_file<>::xsputn_2.
745 * config/io/basic_file_stdio.h (__basic_file<>::xsputn_2):
747 * config/io/basic_file_stdio.cc (__basic_file<>::xsputn_2):
749 * acinclude.m4 (GLIBCXX_CHECK_WRITE): New macro, checking for
750 the availability of writev in <sys/uio.h>.
751 * configure.in: Call here.
752 * acconfig.h: Add undef for the corresponding symbol.
753 * aclocal.m4: Regenerate.
754 * configure: Regenerate.
755 * config.h.in: Regenerate.
756 * testsuite/27_io/basic_filebuf/setbuf/char/3.cc: Tweak.
758 * include/std/std_fstream.h (sync): Constify a variable.
760 2003-07-14 Benjamin Kosnik <bkoz@redhat.com>
762 * testsuite/27_io/ios_base/cons/assign_neg.cc: Fix line numbers.
763 * testsuite/27_io/ios_base/cons/copy_neg.cc: Same.
765 2003-07-14 Gabriel Dos Reis <gcc@integrable-solutions.net>
767 * config/locale/gnu/c_locale.h (__convert_from_v): Include
768 <cstring> and <cstdlib>. Qualify names.
770 2003-07-13 Mark Mitchell <mark@codesourcery.com>
772 * config/locale/generic/c_locale.h: Include <cstdlib> and
774 * include/bits/boost_concept_check.h: Add this-> to unqualified
776 * include/bits/deque.tcc: Likewise.
777 * include/bits/locale_facets.h : Likewise.
778 * include/bits/ostream.tcc: Likewise.
779 * include/bits/stl_algo.h: Likewise.
780 * include/bits/stl_bvector.h: Likewise.
781 * include/bits/stl_deque.h: Likewise.
782 * include/bits/stl_list.h: Likewise.
783 * include/bits/stl_tree.h: Likewise.
784 * include/bits/stl_vector.h: Likewise.
785 * include/bits/vector.tcc: Likewise.
786 * include/ext/rope: Likewise.
787 * include/ext/ropeimpl.h: Likewise.
788 * include/ext/stdio_filebuf.h: Likewise.
790 2003-07-11 Jerry Quinn <jlquinn@optonline.net>
792 * include/bits/basic_ios.h (copyfmt): Document.
793 * include/bits/ios_base.h (event, event_callback, register_callback,
794 xalloc, iword, pword): Document.
795 (imbue, ~ios_base): Update docs on callbacks.
797 2003-07-11 Phil Edwards <pme@gcc.gnu.org>
799 * acinclude.m4 (GLIBCC_ENABLE_SYMVERS): Tweak comments. Add
800 warning messages if the environment cannot support symbol versioning.
801 (port_specific_symbol_file): It's plural, add an 's' on the end.
802 * configure.host: Likewise.
803 * src/Makefile.am: Likewise.
804 * config/linker-map.gnu: Remove one semicolon, heh.
805 * scripts/extract_symvers: Don't assume useful 'export' syntax.
806 Set LANG as well as LC_ALL for possibly-broken sort(1)s.
807 * aclocal.m4, configure, src/Makefile.in: Regenerated.
809 2003-07-09 Benjamin Kosnik <bkoz@redhat.com>
811 * include/bits/locale_facets.tcc: Use function object for
812 __use_cache instead of template function. Partially specialize for
814 * include/bits/locale_classes.h: Update friend declaration for
816 (_M_install_cache): No throw exception specs.
817 * src/locale.cc: Remove __use_cache specializations.
818 * include/ext/pod_char_traits.h (length): Tweak.
819 * include/bits/locale_facets.h (__numpunct_cache): Remove
821 * testsuite/testsuite_hooks.h (pod_unsigned_int): Remove.
823 * testsuite/22_locale/numpunct/members/char/cache_1.cc: New.
824 * testsuite/22_locale/numpunct/members/char/cache_2.cc: New.
825 * testsuite/22_locale/numpunct/members/wchar_t/cache_1.cc: New.
826 * testsuite/22_locale/numpunct/members/wchar_t/cache_2.cc: New.
827 * testsuite/22_locale/numpunct/members/pod/1.cc: New.
828 * testsuite/22_locale/numpunct/members/pod/2.cc: New.
830 2003-07-09 Jerry Quinn <jlquinn@optonline.net>
832 * src/ios.cc (_M_grow_words): Fix spelling.
834 2003-07-09 Gawain Bolton <gp.bolton@computer.org>
836 * include/bits/stl_tree.h: Move larger member functions in
837 _Rb_tree_base_iterator and _Rb_tree_node to...
838 * src/stl_tree.cc: Here.
839 * src/Makefile.in: Add stl_tree.cc.
840 * src/Makefile.in: Regenerated.
841 * config/linker-map.gnu: Add symbols here.
843 2003-07-08 Benjamin Kosnik <bkoz@redhat.com>
845 * testsuite/ext/pod_char_traits.cc: New.
846 * include/ext/pod_char_traits.h: New.
847 * include/Makefile.am (ext_headers): Add pod_char_traits.h.
848 * include/Makefile.in: Regenerate.
849 * docs/html/21_strings/howto.html: Update.
851 2003-07-08 Gawain Bolton <gp.bolton@computer.org>
853 * testsuite/performance/list_create_fill_sort.cc: New.
855 2003-07-08 Benjamin Kosnik <bkoz@redhat.com>
857 * config/locale/generic/numeric_members.cc: Correct type info.
858 * config/locale/gnu/numeric_members.cc: Same.
859 * include/bits/locale_facets.h: Same.
861 * include/bits/char_traits.h: Correct spacing.
863 * src/locale.cc: Wrap to 80 col.
865 2003-07-07 Paolo Carlini <pcarlini@unitus.it>
867 * include/std/std_complex.h: Partially revert last
868 changes: cmath functions must not be qualified.
870 2003-07-06 Phil Edwards <pme@gcc.gnu.org>
872 * acinclude.m4 (GLIBCXX_ENABLE_SYMVERS): Do not test for binutils
873 2.11 with globbing backport fix.
874 * aclocal.m4, configure: Regenerated.
876 2003-07-06 Paolo Carlini <pcarlini@unitus.it>
878 * include/std/std_fstream.h (xsputn): Don't call _M_destroy_pback:
879 if output is at all possible (!_M_reading), cannot be active.
881 * include/std/std_fstream.h: Tweak comments to doxygen style.
883 2003-07-06 Paolo Carlini <pcarlini@unitus.it>
885 * include/bits/locale_classes.h: Fully qualify standard
886 functions with std::, thus avoiding Koenig lookup.
887 * include/bits/locale_facets.tcc: Likewise.
888 * src/locale.cc: Likewise.
889 * src/localename.cc: Likewise.
891 2003-07-06 Phil Edwards <pme@gcc.gnu.org>
893 * include/bits/allocator_traits.h: Fix doxygen markup.
894 * include/ext/mt_allocator.h: Likewise.
896 2003-07-06 Phil Edwards <pme@gcc.gnu.org>
898 * testsuite/testsuite_hooks.h: Guard against a missing unlink().
900 2003-07-05 Phil Edwards <pme@gcc.gnu.org>
902 * acinclude.m4 (GLIBCXX_ENABLE_SYMVERS): Bump minimal version
903 requirement. Add port_specific_symbol_file variable.
904 * configure.host: Add docs for port_specific_symbol_file.
905 Clean up try_cpu block for x86.
906 * config/linker-map.gnu: No more "last symbol can't have a
907 semicolon" kaka. Add hook for port-specific symbols.
908 * src/Makefile.am: Remove trailing whitespace.
909 (libstdc++-symbol.ver): Detect the presence of port-specific
910 symbols, and add them accordingly.
912 * docs/html/17_intro/porting.texi: Bring up to date.
914 * src/Makefile.in, aclocal.m4, configure,
915 docs/html/17_intro/porting.html: Regenerated.
917 2003-07-05 Phil Edwards <pme@gcc.gnu.org>
919 * scripts/create_testsuite_files: New file.
920 * testsuite/Makefile.am (all-local, check-performance): Use it.
921 * testsuite/lib/libstdc++-v3-dg.exp (v3-computer-tests): Remove.
922 * testsuite/Makefile.in: Regenerated.
924 * testsuite/performance/filebuf_sputc.cc: Remove the temporary
926 * testsuite/performance/fstream_seek_write.cc: Likewise.
927 * testsuite/performance/ofstream_insert_float.cc: Likewise.
928 * testsuite/performance/ofstream_insert_int.cc: Likewise.
929 * testsuite/abi_check.cc (main): Nicer spacing in usage output.
931 2003-07-05 Gawain Bolton <gp.bolton@computer.org>
933 * include/bits/stl_list.h: Performance and memory usage
934 improvements. In particular, the behaviour of the constructor and
935 destructor as the list header node is no longer dynamically
936 allocated/de-allocated.
937 * include/bits/list.tcc: Likewise.
939 2003-07-05 Paolo Carlini <pcarlini@unitus.it>
941 * include/std/std_complex.h: Fully qualify standard
942 functions with std::, thus avoiding Koenig lookup.
943 * include/std/std_memory.h: Likewise.
944 * include/std/std_valarray.h: Likewise.
946 2003-07-05 Gawain Bolton <gp.bolton@computer.org>
948 * include/bits/stl_tree.h: _Rb_tree_rebalance(): Add local
949 variable for grandparent and use const
951 2003-07-05 David Billinghurst <David.Billinghurst@riotinto.com>
953 * testsuite/27_io/basic_filebuf/close/char/4879.cc: xfail on cygwin
954 * testsuite/27_io/basic_filebuf/close/char/9964.cc: Ditto
955 * testsuite/27_io/basic_filebuf/open/char/9507.cc: Ditto
956 * testsuite/27_io/basic_filebuf/showmanyc/char/9533-1.cc: Ditto
957 * testsuite/27_io/basic_filebuf/underflow/char/10097.cc: Ditto
958 * testsuite/27_io/objects/char/7.cc: Ditto
959 * testsuite/27_io/objects/char/9661-1.cc: Ditto
961 2003-07-05 Paolo Carlini <pcarlini@unitus.it>
963 * include/std/std_bitset.h: Fully qualify standard
964 functions with std::, thus avoiding Koenig lookup.
966 * include/std/std_fstream.h: Change comment to doxygen style.
968 2003-07-05 Phil Edwards <pme@gcc.gnu.org>
970 * include/std/std_limits.h: More CPP->CXX changes.
971 * scripts/check_survey.in: Likewise.
973 2003-07-04 Benjamin Kosnik <bkoz@redhat.com>
975 Move from CPP to CXX.
976 * include/bits/c++config: Move to GLIBCXX from GLIBCPP.
977 * testsuite/Makefile.am: Same.
978 * testsuite/Makefile.in: Regenerate.
979 * po/Makefile.am: Same.
980 * po/Makefile.in: Regenerate.
981 * libsupc++/Makefile.am: Same.
982 * libsupc++/Makefile.in: Regenerate.
983 * libmath/Makefile.am: Same.
984 * libmath/Makefile.in: Regenerate.
985 * include/Makefile.am: Same.
986 * include/Makefile.in: Regenerate.
987 * src/Makefile.am: Same.
988 * src/Makefile.in: Regenerate.
990 * configure.host: Same.
991 * configure.in: Same.
992 * configure: Regenerate.
993 * acinclude.m4: Same.
995 * src: Change all files in this directory.
997 * include: Same, standardize include guards.
1001 2003-07-04 Zack Weinberg <zack@codesourcery.com>
1003 * testsuite/22_locale/collate/compare/wchar_t/2.cc
1004 * testsuite/22_locale/collate/compare/wchar_t/wrapped_env.cc
1005 * testsuite/22_locale/collate/compare/wchar_t/wrapped_locale.cc
1006 * testsuite/22_locale/collate/hash/wchar_t/2.cc
1007 * testsuite/22_locale/collate/hash/wchar_t/wrapped_env.cc
1008 * testsuite/22_locale/collate/hash/wchar_t/wrapped_locale.cc
1009 * testsuite/22_locale/collate/transform/wchar_t/2.cc
1010 * testsuite/22_locale/collate/transform/wchar_t/wrapped_env.cc
1011 * testsuite/22_locale/collate/transform/wchar_t/wrapped_locale.cc:
1012 XFAIL on all targets.
1014 2003-07-04 Benjamin Kosnik <bkoz@redhat.com>
1016 * acinclude.m4 (GLIBCPP_ENABLE_PCH): Fix missed variable.
1017 * aclocal.m4: Regenerate.
1018 * configure: Regenerate.
1020 2003-07-04 Jerry Quinn <jlquinn@optonline.net>
1022 * include/bits/locale_facets.tcc (__int_to_char): Move common case
1025 2003-07-04 Benjamin Kosnik <bkoz@redhat.com>
1026 Petur Runolfsson <peturr02@ru.is>
1028 * config/io/basic_file_stdio.cc: Revert.
1030 2003-07-04 Paolo Carlini <pcarlini@unitus.it>
1032 * include/bits/deque.tcc: Fully qualify standard
1033 functions with std::, thus avoiding Koenig lookup.
1034 * include/bits/gslice_array.h: Likewise.
1035 * include/bits/indirect_array.h: Likewise.
1036 * include/bits/list.tcc: Likewise.
1037 * include/bits/mask_array.h: Likewise.
1038 * include/bits/slice_array.h: Likewise.
1040 2003-07-04 Gawain Bolton <gbolton@free.fr>
1042 * include/bits/stl_tree.h: Performance and memory usage
1045 2003-07-04 H.J. Lu <hongjiu.lu@intel.com>
1047 * Makefile.am: Replace PWD with PWD_COMMAND.
1048 * Makefile.in: Regenerated.
1049 * docs/html/Makefile: Likewise.
1051 2003-07-04 Paolo Carlini <pcarlini@unitus.it>
1053 * include/bits/valarray_array.h: Fully qualify standard
1054 functions with std::, thus avoiding Koenig lookup.
1055 * include/bits/vector.tcc: Likewise.
1057 2003-07-04 Benjamin Kosnik <bkoz@redhat.com>
1059 * include/Makefile.am: Update target_ to host_.
1060 * include/Makefile.in: Regenerate.
1061 * src/Makefile.am: Same.
1062 * src/Makefile.in: Regenerate.
1064 * config/os/gnu-linux/os_defines.h: Remove glibc-2.0 support.
1066 2003-07-04 Benjamin Kosnik <bkoz@redhat.com>
1068 * acinclude.m4 (GLIBCPP_ENABLE_DEBUG_FLAGS): To
1069 --enable-libstdcxx-debug-flags.
1070 (GLIBCPP_ENABLE_DEBUG_FLAGS): To --enable-libstdcxx-debug.
1071 (GLIBCPP_ENABLE_PCH): To --enable-libstdcxx-pch.
1072 * aclocal.m4: Regenerate.
1074 * docs/html/configopts.html: Update.
1076 2003-07-04 Paolo Carlini <pcarlini@unitus.it>
1078 Revert the fix for libstdc++/11378.
1080 2003-07-04 Paolo Carlini <pcarlini@unitus.it>
1083 * include/std/std_fstream.h (xsputn): In the unbuffered case,
1084 provided always_noconv(), issue directly _M_file.xsputn.
1085 * testsuite/performance/filebuf_unbuf_sputn.cc: New.
1087 2003-07-04 Paolo Carlini <pcarlini@unitus.it>
1089 * include/bits/stl_list.h: Fully qualify standard
1090 functions with std::, thus avoiding Koenig lookup.
1091 * include/bits/stl_queue.h: Likewise.
1092 * include/bits/stl_raw_storage_iter.h: Likewise.
1093 * include/bits/stl_tempbuf.h: Likewise.
1094 * include/bits/stl_tree.h: Likewise.
1095 * include/bits/stl_uninitialized.h: Likewise.
1096 * include/bits/stl_vector.h: Likewise.
1097 * include/ext/rope: Change includes order.
1099 2003-07-04 Benjamin Kosnik <bkoz@redhat.com>
1101 * configure.host (fpos_include_dir): Fix.
1103 2003-07-04 Paolo Carlini <pcarlini@unitus.it>
1105 * include/bits/stl_heap.h: Fully qualify standard
1106 functions with std::, thus avoiding Koenig lookup.
1107 * include/bits/stl_iterator_base_funcs.h: Likewise.
1109 * include/bits/stl_algo.h: Qualify __iterator_category too.
1110 * include/bits/stl_algobase.h: Likewise.
1111 * include/bits/stl_bvector.h: Likewise.
1113 * include/bits/stl_algo.h: Don't qualify the pair type.
1115 2003-07-03 Benjamin Kosnik <bkoz@redhat.com>
1117 * include/Makefile.am (target_headers): Add fpos.h
1118 (bits_headers): Remove.
1119 * include/Makefile.in: Regenerate.
1120 * configure.in: Add FPOS_INC_SRCDIR, substitute it.
1121 * configure: Regenerate.
1122 * configure.host: Add fpos_include_dir.
1123 * config/os/gnu-linux/fpos.h: New.
1124 * config/os/generic/fpos.h: Add.
1125 * include/bits/fpos.h: Remove.
1127 * config/io/c_io_stdio.h: Remove fpos_t typedef.
1129 * include/bits/fstream.tcc: Tweaks.
1130 * include/std/std_fstream.h: Same.
1132 * testsuite/27_io/fpos/1.cc (test01): Uncomment. Move to...
1133 * testsuite/27_io/fpos/mbstate_t/1.cc: ...here.
1134 * testsuite/27_io/fpos/mbstate_t/2.cc: Same.
1135 * testsuite/27_io/fpos/mbstate_t/3.cc: Same.
1136 * testsuite/27_io/fpos/1.cc: New.
1138 2003-07-03 Benjamin Kosnik <bkoz@redhat.com>
1139 Petur Runolfsson <peturr02@ru.is>
1141 * include/std/std_streambuf.h: Remove _M_pos.
1142 * config/io/basic_file_stdio.h: Use seekpos instead of seekoff.
1143 * config/io/basic_file_stdio.cc: Same, use fseek instead of lseek,
1144 use fread/fwrite instead of read/write.
1145 * testsuite/27_io/basic_filebuf/showmanyc/char/9533-2.cc: Fix.
1146 * testsuite/27_io/basic_filebuf/sputn/char/9339.cc: Close filebufs
1147 before reading again.
1148 * testsuite/27_io/objects/char/6.cc: Tweak.
1150 2003-07-03 David Edelsohn <edelsohn@gnu.org>
1152 * testsuite/22_locale/num_put/put/char/7.cc: Guard with
1153 _GLIBCPP_USE_WCHAR_T.
1155 2003-07-02 Paolo Carlini <pcarlini@unitus.it>
1157 * include/bits/basic_string.tcc (_M_replace_aux): Constify
1160 2003-07-02 Paolo Carlini <pcarlini@unitus.it>
1162 * include/bits/stl_bvector.h: Fully qualify standard
1163 functions with std::, thus avoiding Koenig lookup.
1164 * include/bits/stl_construct.h: Likewise.
1165 * include/bits/stl_deque.h: Likewise.
1167 2003-07-02 Paolo Carlini <pcarlini@unitus.it>
1169 * testsuite/22_locale/num_put/put/char/7.cc: Include
1170 <testsuite_hooks.h>, tweak.
1171 * testsuite/22_locale/num_put/put/wchar_t/7.cc: Likewise.
1173 2003-07-01 Phil Edwards <pme@gcc.gnu.org>
1175 * testsuite/Makefile.am (AM_MAKEFLAGS): Set to -j1 (affects
1176 check* targets, but not libs/programs).
1177 * testsuite/Makefile.in: Regenerate.
1179 2003-07-01 Roger Sayle <roger@eyesopen.com>
1181 * acinclude.m4 (GLIBCPP_CHECK_STDLIB_SUPPORT): Fix typo in CXXFLAGS.
1182 (GLIBCPP_CHECK_MATH_SUPPORT): Likewise.
1183 * aclocal.m4: Regenerate.
1184 * configure: Regenerate.
1186 2003-07-01 Benjamin Kosnik <bkoz@redhat.com>
1188 * acinclude.m4 (GLIBCPP_ENABLE_PCH): Fix obvious error.
1189 * aclocal.m4: Regenerated.
1190 * configure: Regenerated.
1192 2003-07-01 Paolo Carlini <pcarlini@unitus.it>
1195 * include/bits/fstream.tcc (underflow): For encoding() == 0
1196 don't read more than __buflen chars.
1197 * testsuite/27_io/basic_filebuf/underflow/wchar_t/11389-1.cc: New.
1198 * testsuite/27_io/basic_filebuf/underflow/wchar_t/11389-2.cc: New.
1199 * testsuite/27_io/basic_filebuf/underflow/wchar_t/11389-3.cc: New.
1200 * testsuite/27_io/basic_filebuf/underflow/wchar_t/11389-4.cc: New.
1202 2003-07-01 Jerry Quinn <jlquinn@optonline.net>
1204 * 22_locale/num_put/put/char/7.cc: New.
1205 * 22_locale/num_put/put/wchar_t/7.cc: New.
1207 2003-06-30 Jerry Quinn <jlquinn@optonline.net>
1209 * src/locale.cc (__use_cache<numpunct>): Revert previous relocation.
1210 * include/bits/locale_facets.tcc (__use_cache<numpunct>): Ditto.
1212 2003-06-30 Benjamin Kosnik <bkoz@redhat.com>
1214 * 27_io/basic_filebuf/seekoff/char/1-in.cc: New.
1215 * 27_io/basic_filebuf/seekoff/char/1-io.cc: New.
1216 * 27_io/basic_filebuf/seekoff/char/1-out.cc: New.
1217 * 27_io/basic_filebuf/seekoff/char/2-in.cc: New.
1218 * 27_io/basic_filebuf/seekoff/char/2-io.cc: New.
1219 * 27_io/basic_filebuf/seekoff/char/2-out.cc: New.
1220 * 27_io/basic_filebuf/seekoff/char/2.cc: Remove.
1221 * 27_io/basic_filebuf/seekoff/char/3-in.cc: New.
1222 * 27_io/basic_filebuf/seekoff/char/3-io.cc: Change.
1223 * 27_io/basic_filebuf/seekoff/char/3-out.cc: New.
1224 * 27_io/basic_filebuf/seekoff/char/4-io.cc: Remove.
1225 * 27_io/basic_filebuf/seekpos/char/1-in.cc: New.
1226 * 27_io/basic_filebuf/seekpos/char/1-io.cc: New.
1227 * 27_io/basic_filebuf/seekpos/char/1-out.cc: New.
1228 * 27_io/basic_filebuf/seekpos/char/2-in.cc: New.
1229 * 27_io/basic_filebuf/seekpos/char/2-io.cc: New.
1230 * 27_io/basic_filebuf/seekpos/char/2-out.cc: New.
1231 * 27_io/basic_filebuf/seekpos/char/2.cc: Change.
1232 * 27_io/basic_filebuf/seekpos/char/3-in.cc: New.
1233 * 27_io/basic_filebuf/seekpos/char/3-io.cc: Remove.
1234 * 27_io/basic_filebuf/seekpos/char/3-out.cc: New.
1235 * 27_io/basic_filebuf/seekpos/char/4-io.cc: Remove.
1236 * data/seekoff-1.tst: Remove.
1237 * data/seekoff-1io.tst: New.
1238 * data/seekoff-1out.tst: New.
1239 * data/seekoff-2.tst: Remove.
1240 * data/seekoff-2io.tst: New.
1241 * data/seekoff-2out.tst: New.
1243 * data/seekpos-1.tst: Remove.
1244 * data/seekpos-1io.tst: New.
1245 * data/seekpos-1out.tst: New.
1246 * data/seekpos-2.tst: Remove.
1247 * data/seekpos-2io.tst: New.
1248 * data/seekpos-2out.tst: New.
1249 * data/seekpos.txt: New.
1251 2003-06-30 Jerry Quinn <jlquinn@optonline.net>
1253 * src/locale.cc (__use_cache<numpunct>): Move from here ...
1254 * include/bits/locale_facets.tcc (__use_cache<numpunct>): To
1257 2003-06-30 Paolo Carlini <pcarlini@unitus.it>
1259 * include/bits/stl_algobase.h: Fully qualify standard
1260 functions with std::, thus avoiding Koenig lookup.
1262 2003-06-30 Doug Gregor <dgregor@apple.com>
1264 * include/bits/locale_facets.tcc (money_get::do_get): Avoid
1265 subscripting empty string.
1267 2003-06-30 Phil Edwards <pme@gcc.gnu.org>
1269 * testsuite/Makefile.am (check-am): Do not override.
1270 (baseline_symbols): Declare as PHONY, so no need to 'touch' it.
1271 * testsuite/Makefile.in: Regenerate.
1273 2003-06-30 Doug Gregor <dgregor@apple.com>
1275 * testsuite/24_iterators/insert_iterator.cc (test01, test02):
1276 Don't initialize an insert_iterator with a singular iterator.
1278 2003-06-30 Benjamin Kosnik <bkoz@redhat.com>
1280 * acinclude.m4 (GLIBCPP_ENABLE_PCH): Add bits for --enable-pch.
1281 * aclocal.m4: Regenerate.
1282 * configure.in (GLIBCPP_CHECK_PCH): Move, change to
1283 GLIBCPP_ENABLE_PCH, default to yes.
1284 * configure: Regenerate.
1285 * docs/html/configopts.html: Add --enable-pch.
1287 2003-06-30 Phil Edwards <pme@gcc.gnu.org>
1289 * testsuite/lib/libstdc++-v3-dg.exp: Add comments.
1290 (libstdc++-v3-init): Also set LD_RUN_PATH.
1292 2003-06-30 Paolo Carlini <pcarlini@unitus.it>
1294 * include/std/std_streambuf.h (_M_mode): Unused by streambuf, move
1295 from here to filebuf and stringbuf.
1296 (~basic_streambuf()): Don't set _M_mode.
1297 (basic_streambuf()): Don't set _M_mode.
1298 * include/std/std_fstream.h (_M_mode): Move here, from streambuf.
1299 (~basic_filebuf()): Clean up.
1300 * include/bits/fstream.tcc (basic_filebuf()): Set _M_mode.
1301 * include/std/std_sstream.h (_M_mode): Move here, from streambuf.
1302 * testsuite/27_io/basic_streambuf/cons/char/1.cc: Don't set _M_mode.
1303 * testsuite/27_io/basic_streambuf/overflow/char/1.cc: Likewise.
1304 * testsuite/27_io/basic_streambuf/sgetc/char/1.cc: Likewise.
1305 * testsuite/27_io/basic_streambuf/sgetn/char/1.cc: Likewise.
1306 * testsuite/27_io/basic_streambuf/sputn/char/1.cc: Likewise.
1308 2003-06-30 Paolo Carlini <pcarlini@unitus.it>
1310 * include/std/std_fstream.h (_M_underflow): Remove.
1311 (uflow): Remove, inherited from streambuf.
1312 (underflow): Only declare.
1313 * include/bits/fstream.tcc (_M_underflow): Rename to
1314 underflow, to which is equivalent for __bump == false,
1316 * include/std/std_sstream.h (_M_underflow): Remove.
1317 (uflow): Remove, inherited from streambuf.
1318 (underflow): Only declare.
1319 * include/bits/sstream.tcc (_M_underflow): Rename to
1320 underflow, to which is equivalent for __bump == false,
1323 2003-06-29 Paolo Carlini <pcarlini@unitus.it>
1325 * include/bits/stl_algo.h: Fully qualify standard functions
1326 with std::, thus avoiding Koenig lookup.
1328 2003-06-29 Paolo Carlini <pcarlini@unitus.it>
1330 * testsuite/27_io/basic_filebuf/overflow/wchar_t/11305-1.cc:
1331 Improve type correctness-wise.
1332 * testsuite/27_io/basic_filebuf/overflow/wchar_t/11305-2.cc:
1334 * testsuite/27_io/basic_filebuf/overflow/wchar_t/11305-3.cc:
1336 * testsuite/27_io/basic_filebuf/overflow/wchar_t/11305-4.cc:
1339 2003-06-29 Paolo Carlini <pcarlini@unitus.it>
1341 * include/std/std_streambuf.h (uflow): According to
1342 27.5.2.4.3,p16, don't check gptr() < egptr().
1344 2003-06-28 Paolo Carlini <pcarlini@unitus.it>
1347 * include/bits/fstream.tcc (seekoff): Fix for encoding() > 0.
1348 (seekpos): Likewise.
1349 * testsuite/27_io/basic_filebuf/seekoff/wchar_t/9875_seekoff.cc:
1351 * testsuite/27_io/basic_filebuf/seekpos/wchar_t/9875_seekpos.cc:
1354 2003-06-27 Benjamin Kosnik <bkoz@redhat.com>
1356 * testsuite/testsuite_performance.h (__gnu_cxx_test): Change
1357 output name to libstdc++-v3-performance.sum.
1358 * testsuite/Makefile.am (CLEANFILES): Remove .performance.
1359 * testsuite/Makefile.in: Regenerate.
1361 2003-06-27 Matthias Klose <doko@debian.org>
1363 * testsuite/Makefile.am (check-abi, check-abi-verbose): Save
1364 output of abi-check in libstdc++-v3-abi.sum.
1365 * testsuite/Makefile.in: Regenerate.
1367 2003-06-27 Krister Walfridsson <cato@df.lth.se>
1369 * config/os/bsd/netbsd/ctype_noninline.h
1370 (_C_ctype_): Declare.
1371 (ctype<char>::classic_table): Return _C_ctype_ + 1.
1372 (ctype<char>::ctype): Use classic_table.
1374 2003-06-27 Paolo Carlini <pcarlini@unitus.it>
1375 Nathan C. Myers <ncm-nospam@cantrip.org>
1378 * include/bits/fstream.tcc (_M_underflow): Properly estimate
1379 the worst-case number of external bytes for a given get area.
1380 * testsuite/27_io/basic_filebuf/underflow/wchar_t/9178.cc: New.
1382 2003-06-27 Paolo Carlini <pcarlini@unitus.it>
1383 Petur Runolfsson <peturr02@ru.is>
1386 * include/bits/fstream.tcc (overflow): Properly estimate the
1387 worst-case number of external bytes for a given put area
1388 (by using codecvt::max_length()).
1389 * testsuite/27_io/basic_filebuf/overflow/wchar_t/11305-1: New.
1390 * testsuite/27_io/basic_filebuf/overflow/wchar_t/11305-2: New.
1391 * testsuite/27_io/basic_filebuf/overflow/wchar_t/11305-3: New.
1392 * testsuite/27_io/basic_filebuf/overflow/wchar_t/11305-4: New.
1394 2003-06-27 Nathan Sidwell <nathan@codesourcery.com>
1396 * config/linker-map.gnu: Remove ; after __numpunct_cache.
1398 2003-06-26 Benjamin Kosnik <bkoz@redhat.com>
1400 * include/bits/ios_base.h (ios_base::_M_getloc): Return reference
1401 to the imbued locale.
1402 * include/bits/locale_facets.tcc (num_put::_M_convert_int): Use
1404 (num_put::_M_convert_float): Use.
1406 2003-06-26 Benjamin Kosnik <bkoz@redhat.com>
1407 Jerry Quinn <jlquinn@optonline.net>
1409 * config/linker-map.gnu: Add __numpunct_cache.
1410 * config/locale/gnu/numeric_members.cc
1411 (numpunct::_M_initialize_numpunct): Account for _M_data, fill in
1412 all elements for "C" locale.
1413 (numpunct::~numpunct): Delete _M_data.
1414 * config/locale/generic/numeric_members.cc: Same.
1415 * include/bits/basic_ios.tcc
1416 (basic_ios::init): Remove __locale_cache bits.
1417 (basic_ios::_M_cache_locale): Same.
1418 * include/bits/ios_base.h: Same. Tweaks.
1419 * include/bits/locale_classes.h: Tweaks. Reorder classes.
1420 (__use_cache): Make friends with _Impl, locale.
1421 (_Impl::_M_caches): Add.
1422 (_Impl::_M_install_cache): Add.
1423 * include/bits/locale_facets.h (__numpunct_cache): New.
1424 (numpunct): Encapsulate data members in __numpunct_cache member,
1425 _M_data. Adjust virtuals.
1426 (numpunct::numpunct): New ctor for the same.
1427 (__locale_cache_base): Remove.
1428 (__locale_cache): Remove.
1429 * include/bits/locale_facets.tcc (__use_cache): New function,
1431 (num_put::_M_convert_int, _M_convert_float, do_put): Use it.
1432 * src/globals.cc: Add cache_vec, numpunct_cache_c, numpunct_cache_w.
1433 * src/ios.cc (ios_base::ios_base): Remove __locale_cache.
1434 * src/locale-inst.cc: Same. Add __numpunct_cache.
1435 * src/locale.cc: Tweak inlines.
1436 (__use_cache): Define specializations.
1437 * src/localename.cc: Use global bits.
1438 (_Impl::~Impl): Deal with __numpunct_cache destruction.
1439 (_Impl::_Impl): Same. Pre-cache standard numpunct facets.
1440 (_Impl::_M_init_facet): Take into account __numpunct_cache.
1441 * testsuite/27_io/ios_base/cons/assign_neg.cc: Update line numbers.
1442 * testsuite/27_io/ios_base/cons/copy_neg.cc: Same.
1444 2003-06-26 Nathan C. Myers <ncm-nospam@cantrip.org>
1445 Paolo Carlini <pcarlini@unitus.it>
1447 * testsuite/performance/filebuf_copy.cc: New, testing char
1450 2003-06-26 Paolo Carlini <pcarlini@unitus.it>
1451 Nathan C. Myers <ncm-nospam@cantrip.org>
1453 * include/bits/fstream.tcc (_M_underflow): When the actual
1454 end of file is reached, set 'uncommitted' mode to allow a
1455 next write without an intervening seek (see C++98 27.8.1.1,2
1457 * testsuite/27_io/basic_filebuf/underflow/char/2.cc: New.
1459 2003-06-25 Nathan C. Myers <ncm-nospam@cantrip.org>
1461 * include/bits/streambuf.tcc (sbumpc, sputbackc, sungetc,
1462 sputc): Move inline, from here...
1463 * include/std/std_streambuf.h: ... to here.
1465 * include/std/std_streambuf.h (snextc, sbumpc, sgetc,
1466 sputbackc, sungetc, sputc): Use __builtin_expect.
1468 2003-06-24 Phil Edwards <pme@gcc.gnu.org>
1470 * docs/doxygen/mainpage.html: Use a useful title.
1472 2003-06-24 Benjamin Kosnik <bkoz@redhat.com>
1474 * docs/html/documentation.html: Remove assignment info.
1475 * docs/html/17_intro/contribute.html: Edits.
1476 * docs/html/17_intro/libstdc++-assign.tx: Remove.
1478 * docs/html/test.html: Update.
1482 2003-06-24 Benjamin Kosnik <bkoz@redhat.com>
1483 Ulrich Drepper <drepper@redhat.com>
1485 * testsuite/testsuite_performance.h: Tweak mallinfo.
1487 2003-06-24 Paolo Carlini <pcarlini@unitus.it>
1488 Nathan C. Myers <ncm-nospam@cantrip.org>
1490 * include/std/std_fstream.h (_M_filepos): Remove.
1491 (_M_reading, _M_writing): New, encode the various I/O modes:
1492 'read', 'write' and 'uncommitted'.
1493 (sync): If there is something to flush, do it, then go to
1495 * include/bits/fstream.tcc (_M_set_buffer): Overhaul to deal
1496 with three different cases: __off > 0 (upon underflow),
1497 __off == 0 (upon overflow), __off == -1 (upon open, setbuf,
1499 (_M_underflow): Don't call overflow, set _M_reading to true
1501 (pbackfail): Set _M_reading to true on pback creation, tweak.
1502 (overflow): Don't seek, deal with overflow in 'uncommitted' mode,
1503 set _M_writing to true on success, tweak.
1504 (seekoff): Simplify, set _M_reading, _M_writing to false, call
1505 _M_set_buffer(-1) ('uncommitted').
1506 (open, close, setbuf): Set _M_reading, _M_writing to false and
1507 call _M_set_buffer(-1), tweak.
1508 (basic_filebuf): Don't set _M_buf_unified.
1509 (_M_destroy_internal_buffer): Don't call setg and setp.
1510 * include/ext/stdio_filebuf.h (stdio_filebuf): Use _M_reading,
1511 _M_writing and _M_set_buffer(-1).
1512 * include/std/std_streambuf.h (_M_move_out_cur, _M_move_in_cur,
1513 _M_out_lim, _M_buf_unified): Remove.
1514 (basic_streambuf): Don't set _M_out_lim and _M_buf_unified.
1515 (setp): Don't set _M_out_lim.
1516 * testsuite/27_io/basic_filebuf/sbumpc/char/1-io.cc: Fix for
1517 the new logic ('read', 'write' and 'uncommitted' modes): e.g.,
1518 upon open the mode is 'uncommitted' and therefore the put area
1520 * testsuite/27_io/basic_filebuf/sbumpc/char/1-out.cc: Ditto.
1521 * testsuite/27_io/basic_filebuf/seekoff/char/3-io.cc: Ditto.
1522 * testsuite/27_io/basic_filebuf/seekpos/char/3-io.cc: Ditto.
1523 * testsuite/27_io/basic_filebuf/setbuf/char/1.cc: Ditto.
1524 * testsuite/27_io/basic_filebuf/sgetc/char/1-io.cc: Ditto.
1525 * testsuite/27_io/basic_filebuf/sgetc/char/1-out.cc: Ditto.
1526 * testsuite/27_io/basic_filebuf/sgetn/char/1-io.cc: Ditto.
1527 * testsuite/27_io/basic_filebuf/sgetn/char/1-out.cc: Ditto.
1528 * testsuite/27_io/basic_filebuf/snextc/char/1-io.cc: Ditto.
1529 * testsuite/27_io/basic_filebuf/snextc/char/1-out.cc: Ditto.
1530 * testsuite/27_io/basic_filebuf/sputbackc/char/1-io.cc: Ditto.
1531 * testsuite/27_io/basic_filebuf/sputbackc/char/1-out.cc: Ditto.
1532 * testsuite/27_io/basic_filebuf/sputc/char/1-io.cc: Ditto.
1533 * testsuite/27_io/basic_filebuf/sputc/char/1-out.cc: Ditto.
1534 * testsuite/27_io/basic_filebuf/sputc/char/9701-2.cc: Ditto.
1535 * testsuite/27_io/basic_filebuf/sputn/char/1-io.cc: Ditto.
1536 * testsuite/27_io/basic_filebuf/sputn/char/1-out.cc: Ditto.
1537 * testsuite/27_io/basic_filebuf/sputn/char/9701-1.cc: Ditto.
1538 * testsuite/27_io/basic_filebuf/sungetc/char/1-io.cc: Ditto.
1539 * testsuite/27_io/basic_filebuf/sungetc/char/1-out.cc: Ditto.
1541 * include/bits/fstream.tcc (showmanyc): Use only the
1542 documented derivation interface to basic_streambuf (gptr(),
1543 setg(), etc.) to work right with user specializations.
1544 * include/bits/streambuf.tcc (sbumpc, sputbackc, sungetc,
1545 sputc, xsgetn, xsputn, __copy_streambufs): Likewise.
1546 * include/std/std_streambuf.h (in_avail, sgetc, uflow, stossc):
1548 * include/std/std_fstream.h (_M_create_pback, _M_destroy_pback,
1551 2003-06-23 Loren J. Rittle <ljrittle@acm.org>
1553 * configure.host (freebsd*): Set abi_baseline_pair.
1554 * config/abi/i386-freebsd4/baseline_symbols.txt: Update from 3.2
1555 (at or near first release) to 3.3.
1556 * config/abi/i386-freebsd5/baseline_symbols.txt: New file.
1557 * config/abi/alpha-freebsd5/baseline_symbols.txt: New file.
1558 * config/abi/sparc-freebsd5/baseline_symbols.txt: New file.
1560 * include/ext/mt_allocator.h: Portability.
1561 * testsuite/testsuite_performance.h: Likewise.
1563 2003-06-23 Benjamin Kosnik <bkoz@redhat.com>
1565 * docs/html/17_intro/libstdc++-assign.txt: Update address.
1567 * testsuite/performance/ifstream_getline.cc: Fix.
1569 2003-06-23 Doug Gregor <dgregor@apple.com>
1571 * include/bits/boost_concept_check.h: Don't use _D or _R for type
1574 2003-06-22 Paolo Carlini <pcarlini@unitus.it>
1575 Nathan C. Myers <ncm-nospam@cantrip.org>
1577 * include/std/std_streambuf.h (_M_move_out_cur): _M_out_lim
1578 is now used only for filebuf, when _M_buf_unified is true.
1579 epgtr() plays the role of _M_out_lim but it's only updated
1580 upon overflow, underflow, uflow, seekoff/pos.
1581 * include/bits/sstream.tcc (_M_underflow): New, implements
1582 stringbuf::underflow and uflow.
1583 (seekoff, seekpos): Tweak, use _M_update_egptr.
1584 * include/std/std_sstream.h (str): Rewrote, deal correctly
1585 with the new logic, in particular, when pptr() > egptr().
1586 (_M_sync): When __testout && !__testin set all the get area
1587 pointers to the current string end.
1588 (_M_update_egptr): New, internal function updating egptr()
1589 to the actual string end.
1590 (_M_underflow): New, declare.
1591 (underflow): Dispatch to _M_underflow(false).
1592 (uflow): Dispatch to _M_underflow(true).
1594 * include/bits/sstream.tcc (pbackfail, overflow, seekoff,
1595 seekpos): Use only the documented derivation interface to
1596 basic_streambuf (gptr(), setg(), etc.) to work right with
1597 user specializations.
1598 * include/std/std_sstream.h (str, _M_sync): Likewise.
1600 2003-06-20 Doug Gregor <dgregor@apple.com>
1602 * testsuite/20_util/auto_ptr.cc: Don't dereference NULL auto_ptr
1603 * testsuite/21_strings/basic_string/replace/char/4.cc: Don't
1604 dereference end iterator.
1605 * testsuite/21_strings/basic_string/replace/wchar_t/4.cc: Same.
1606 * testsuite/22_locale/ctype/narrow/char/1.cc: Don't subscript with
1607 index equal to the length of a string.
1608 * testsuite/22_locale/ctype/narrow/char/2.cc: Same.
1609 * testsuite/22_locale/ctype/narrow/wchar_t/1.cc: Same.
1610 * testsuite/22_locale/ctype/narrow/wchar_t/2.cc: Same.
1611 * testsuite/22_locale/ctype/widen/char/1.cc: Same.
1612 * testsuite/22_locale/ctype/widen/wchar_t/1.cc: Same.
1613 * testsuite/23_containers/list_modifiers.cc: Don't dereference
1614 singular reverse iterator.
1615 * testsuite/23_containers/vector_bool.cc: Don't increment singular
1617 * testsuite/24_iterators/rel_ops.cc: Don't compare singular iterator.
1619 2003-06-20 Doug Gregor <dgregor@apple.com>
1621 * include/bits/basic_string.h (basic_string::replace): Dispatch
1622 _InputIterator version based on _Is_integer.
1623 * include/bits/basic_string.tcc (basic_string::replace):
1624 Renamed replace(iterator, iterator, size_type, _CharT) to
1626 * testsuite/21_strings/basic_string/assign/char/1.cc (test01):
1627 Test basic_string::assign(_InputIterator, _InputIterator),
1628 which calls basic_string::replace(iterator, iterator,
1629 _Input_iterator, _InputIterator).
1631 2003-06-20 Benjamin Kosnik <bkoz@redhat.com>
1633 * testsuite/testsuite_performance.h (resource_counter): Don't use
1634 mallinfo at the moment.
1636 2003-06-20 Matthias Klose <doko@debian.org>
1638 * configure.host: Set try_cpu to target_cpu for existing
1641 2003-06-19 Andreas Jaeger <aj@suse.de>
1643 * testsuite/Makefile.am (extract_symvers): Revert accidental
1645 * testsuite/Makefile.in: Regenerate.
1647 * configure.in: Pass MULTISUBDIR to testsuite/Makefile.
1648 * configure: Regenerated.
1650 2003-06-19 Paolo Carlini <pcarlini@unitus.it>
1652 * include/std/std_sstream.h (_M_sync): Make non virtual.
1654 2003-06-18 Benjamin Kosnik <bkoz@redhat.com>
1656 * testsuite/testsuite_performance.h (time_counter): New.
1657 (resource_counter): New.
1658 (report_performance): New.
1659 (start_counters): New.
1660 (stop_counters): New.
1661 (clear_counters): New.
1662 * testsuite/performance/allocator.cc: Instrument.
1663 * testsuite/performance/cout_insert_int.cc: Same.
1664 * testsuite/performance/complex_norm.cc: Same.
1665 * testsuite/performance/filebuf_sputc.cc: New.
1666 * testsuite/performance/fstream_seek_write.cc: Same.
1667 * testsuite/performance/ifstream_getline.cc: Same.
1668 * testsuite/performance/map_create_fill.cc: Same.
1669 * testsuite/performance/ofstream_insert_float.cc: Same.
1670 * testsuite/performance/ofstream_insert_int.cc: Same.
1671 * testsuite/performance/string_append.cc: Convert.
1672 * scripts/check_performance: New.
1673 * testsuite/Makefile.am (check-performance): New.
1676 2003-06-18 Paolo Carlini <pcarlini@unitus.it>
1677 Benjamin Kosnik <bkoz@redhat.com>
1679 * include/std/std_sstream.h (setbuf): Check __n >= 0.
1680 * include/bits/fstream.tcc (setbuf): Tweak.
1682 2003-06-18 Paolo Carlini <pcarlini@unitus.it>
1684 * include/bits/sstream.tcc (seekoff): We can't seek beyond
1685 _M_out_lim, therefore _M_move_out_cur boils down to simply
1686 updating _M_out_cur.
1687 (seekpos): Likewise, clean up.
1689 2003-06-18 Nathan C. Myers <ncm-nospam@cantrip.org>
1690 Paolo Carlini <pcarlini@unitus.it>
1692 * include/bits/fstream.tcc (setbuf): Allow (__s, 1) too,
1693 simply equivalent to the unbuffered case (0, 0) as far as
1694 _M_buf_size is concerned.
1696 2003-06-18 Andreas Jaeger <aj@suse.de>
1698 * testsuite/Makefile.am (new-abi-baseline): Create baseline
1700 (baseline_file): Use baseline_dir.
1701 (baseline_dir): New.
1702 (mkinstalldirs): New.
1704 * acinclude.m4: Rename baseline_file to baseline_dir, strip
1705 filename from baseline_dir.
1707 * testsuite/Makefile.in: Regenerated.
1708 * Makefile.in: Regenerated.
1709 * aclocal.m4: Regenerated.
1710 * configure: Regenerated.
1712 2003-06-17 Benjamin Kosnik <bkoz@redhat.com>
1714 * configure.in: Missed check_survey bit.
1715 * configure: Regenerated.
1717 2003-06-17 Benjamin Kosnik <bkoz@redhat.com>
1720 * config/abi/extract_symvers: Move to...
1721 * scripts/extract_symvers: ...here.
1722 * mkcheck.in: Move to..
1723 * scripts/check_survey.in: ...here.
1724 * testsuite_flags.in: Move to..
1725 * scripts/testsuite_flags.in: ...here.
1726 * configure.in: Change check and testsuite_flags locations.
1727 * configure: Regenerate.
1728 * testsuite/Makefile.am (current_symbols.txt): Change location.
1729 * testsuite/Makefile.in: Regenerate.
1730 * testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3-init): Modify
1731 location of testsuite_flags.
1732 * Makefile.am (check-script): Move..
1733 (check-script-install): Move...
1734 * testsuite/Makefile.am: ... here.
1735 * testsuite/Makefile.in: Regenerate.
1736 * Makefile.in: Regenerate.
1738 2003-06-17 Benjamin Kosnik <bkoz@redhat.com>
1740 * config/abi/i486-linux-gnu/baseline_symbols.txt: Update to 3.3.0.
1742 2003-06-16 Benjamin Kosnik <bkoz@redhat.com>
1744 * Makefile.am (check-abi): Move...
1745 (new-abi-baseline): Move...
1746 * testsuite/Makefile.am: ...here.
1747 (new-abi-baseline): Conditionalize.
1748 (check-abi): Conditionalize.
1749 (check-abi-verbose): New.
1750 * Makefile.in: Regenerate.
1751 * testsuite/Makefile.in: Regenerate.
1752 * configure.in: Consolidate testsuite configure bits.
1753 * acinclude.m4 (GLIBCPP_CONFIGURE_TESTSUITE): Same.
1754 * configure: Regenerate.
1755 * aclocal.m4: Regenerate.
1756 * testsuite/abi_check.cc: Add --check-verbose.
1757 Only output detailed information if --check-verbose.
1759 2003-06-16 Andreas Jaeger <aj@suse.de>
1761 * testsuite/abi_check.cc: Create summary report.
1763 2003-06-16 Paolo Carlini <pcarlini@unitus.it>
1765 * testsuite/27_io/basic_filebuf/sgetn/char/1-in.cc: Fix
1766 for systems with BUFSIZ != 8192.
1767 * testsuite/27_io/basic_filebuf/sgetn/char/1-io.cc: Ditto.
1768 * testsuite/27_io/basic_filebuf/sgetn/char/1-out.cc:
1771 2003-06-16 Andreas Jaeger <aj@suse.de>
1773 * acinclude.m4 (GLIBCPP_CONFIGURE_TESTSUITE): Make
1774 check-abi multilib aware.
1775 * aclocal.m4: Regenerate.
1776 * configure: Regenerate.
1778 2003-06-16 Benjamin Kosnik <bkoz@redhat.com>
1779 Andreas Jaeger <aj@suse.de>
1781 * configure.host: Set x86_64 abi_baseline pair correctly.
1783 2003-06-16 Paolo Carlini <pcarlini@unitus.it>
1785 * testsuite/27_io/basic_filebuf/sungetc/char/1.cc: Split and
1786 fix for missing seeks between gets and puts into...
1787 * testsuite/27_io/basic_filebuf/sungetc/char/1-in.cc: New.
1788 * testsuite/27_io/basic_filebuf/sungetc/char/1-io.cc: New.
1789 * testsuite/27_io/basic_filebuf/sungetc/char/1-out.cc: New.
1790 * testsuite/27_io/basic_filebuf/sungetc/char/2-in.cc: New.
1791 * testsuite/27_io/basic_filebuf/sungetc/char/2-io.cc: New.
1792 * testsuite/27_io/basic_filebuf/sungetc/char/2-out.cc: New.
1794 2003-06-15 Richard Henderson <rth@redhat.com>
1796 * config/linker-map.gnu: Export virtual function thunks for
1799 2003-06-13 Benjamin Kosnik <bkoz@redhat.com>
1801 * config/abi/i686-pc-linux-gnu: To..
1802 * config/abi/i486-linux-gnu: ...this.
1803 * config/abi/alphaev67-unknown-linux-gnu: To..
1804 * config/abi/alpha-linux-gnu: ...this.
1805 * config/abi/ia64-unknown-linux-gnu: To...
1806 * config/abi/ia64-linux-gnu: ...this.
1807 * config/abi/x86_64-unknown-linux-gnu: To...
1808 * config/abi/x86_64-linux-gnu: ...this.
1809 * config/abi/i386-unknown-freebsd4: To...
1810 * config/abi/i386-freebsd4: ...this.
1811 * config/linker-map.gnu: Cleanups, move libsupc++ bits into
1813 * configure.host: abi_baseline_triplet to abi_baseline_pair.
1814 Simplify cpu bits so that abi_baseline_pair can use the same
1816 * acinclude.m4: Same.
1817 * aclocal.m4: Regenerate.
1818 * configure.in: Can't get enable_abi_check to yes unless native.
1819 * configure: Regenerate.
1821 2003-06-13 Paolo Carlini <pcarlini@unitus.it>
1823 * testsuite/27_io/basic_filebuf/seekoff/char/1.cc: Split and
1824 fix for missing seeks between gets and puts into...
1825 * testsuite/27_io/basic_filebuf/seekoff/char/3-io.cc: New.
1826 * testsuite/27_io/basic_filebuf/seekoff/char/4-io.cc: New.
1827 * testsuite/27_io/basic_filebuf/seekpos/char/1.cc: Same, into...
1828 * testsuite/27_io/basic_filebuf/seekpos/char/3-io.cc: New.
1829 * testsuite/27_io/basic_filebuf/seekpos/char/4-io.cc: New.
1830 * testsuite/27_io/basic_filebuf/sputbackc/char/1-io.cc: Fix
1831 for missing seeks between gets and puts.
1832 * testsuite/27_io/basic_filebuf/sputbackc/char/2-io.cc: Ditto.
1833 * testsuite/data/seekoff-1.tst: New.
1834 * testsuite/data/seekoff-2.tst: New.
1835 * testsuite/data/seekpos-1.tst: New.
1836 * testsuite/data/seekpos-2.tst: New.
1838 2003-06-13 Nathan C. Myers <ncm-nospam@cantrip.org>
1840 Avoid multi-processor bus contention on increment/decrement-and-
1841 test of the reference count in the empty-string object, by comparing
1842 addresses first, and never touching the reference count of the empty-
1844 * include/bits/basic_string.h:
1845 (_S_empty_rep_storage): Move into basic_string<>::_Rep for use by its
1847 (_Rep::_S_empty_rep()): New accessor.
1848 (_Rep::_M_length, _Rep::_M_capacity, _Rep::_M_references): Move to
1849 a base class _Rep_base.
1850 (_Rep::_M_dispose, _Rep::_M_refcopy): Check for the empty string.
1851 (basic_string()): Change to use _M_refdata() in place of _M_refcopy(),
1852 since no longer must increment its refcount.
1853 * include/bits/basic_string.tcc:
1854 (_Rep::_M_destroy, _M_leak_hard): Check for the empty string and
1855 return immediately. The former might be unnecessary. The latter
1856 prevents begin() and end() from cloning it unnecessarily.
1857 (_S_construct(_InIterator, _InIterator, const _Alloc&,
1858 input_iterator_tag), _S_construct(_InIterator, _InIterator,
1859 const _Alloc&, forward_iterator_tag), _S_construct(size_type, _CharT,
1860 const _Alloc&)): Change to use _M_refdata() in place of _M_refcopy().
1861 (_M_mutate): Check for the empty string and treat it as shared.
1862 This is necessary here because _M_mutate is sometimes called with
1863 all-zero arguments; in all other uses of _M_is_shared, the test comes
1866 2003-06-12 Benjamin Kosnik <bkoz@redhat.com>
1868 * src/allocator-inst.cc: Explicitly instantiate.
1869 * include/ext/pool_allocator.h: Inhibit implicit instantiations.
1871 * config/linker-map.gnu: Add __pool_alloc bits. Tweaks.
1873 2003-06-11 Benjamin Kosnik <bkoz@redhat.com>
1875 * acinclude.m4 (GLIBCPP_ENABLE_CSTDIO): Simplify.
1876 * aclocal.m4: Regenerate.
1877 * Makefile.am (SUBDIRS): Remove libio.
1878 * Makefile.in: Regenerate.
1879 * configure.in: Same.
1880 * configure: Regenerate.
1881 * config/io/basic_file_libio.cc: Remove.
1882 * config/io/basic_file_libio.h: Remove.
1883 * config/io/c_io_libio_codecvt.c: Remove.
1884 * config/io/c_io_libio.h: Remove.
1886 * src/Makefile.am: Same.
1887 * src/Makefile.in: Regenerate.
1888 * docs/html/configopts.html: Edits.
1889 * docs/html/explanations.html: Edits.
1891 2003-06-11 Benjamin Kosnik <bkoz@redhat.com>
1893 * include/bits/stl_alloc.h (__debug_alloc): Move out.
1894 (__malloc_alloc): Same.
1895 (__pool_alloc): Same.
1896 (__new_alloc): Same.
1898 * include/bits/allocator.h: ...this.
1899 * include/bits/stl_deque.h: Modify comment.
1900 * include/bits/stl_tree.h: Modify include.
1901 * include/std/std_memory.h: Same.
1902 * include/ext/rope: Same.
1903 * include/ext/slist: Same.
1904 * include/std/std_vector.h: Same.
1905 * include/std/std_stack.h: Same.
1906 * include/std/std_queue.h: Same.
1907 * include/std/std_list.h: Same.
1908 * include/std/std_deque.h: Same.
1909 * include/backward/alloc.h: Same.
1910 * include/ext/debug_allocator.h: New.
1911 * include/ext/malloc_allocator.h: New.
1912 * include/ext/pool_allocator.h: New.
1913 * include/ext/new_allocator.h: New.
1914 * include/bits/pthread_allocimpl.h: Remove.
1915 * include/bits/stl_pthread_alloc.h: Remove.
1916 * include/Makefile.am (ext_headers): Add.
1917 * include/Makefile.in: Regenerate.
1918 * src/stl-inst.cc: Use __gnu_cxx namespace.
1919 * src/stl-inst.cc: Move to...
1920 * src/allocator-inst.cc: Here.
1921 * src/Makefile.am (sources): Update.
1922 * src/Makefile.in: Regenerate.
1923 * config/linker-map.gnu: Remove __pool_alloc bits.
1924 * testsuite/ext/headers.cc: Add.
1925 * testsuite/ext/allocators.cc: Fixup.
1927 2003-06-11 Stefan Olsson <stefan@snon.net>
1928 Ola Rönnerup <fnolis@home.se>
1930 * include/Makefile.am (ext_headers): Add.
1931 * include/Makefile.in: Regenerate.
1932 * include/ext/mt_allocator.h: New file.
1934 2003-06-10 Paolo Carlini <pcarlini@unitus.it>
1936 * include/bits/fstream.tcc (close): Clean up a bit.
1938 * include/bits/streambuf.tcc (sbumpc): Clean up a bit.
1940 * include/std/std_fstream.h (_M_destroy_pback): _M_pback_cur_save
1941 - the saved _M_in_cur, that is - cannot be null.
1942 (sync): Constify a variable.
1944 * include/std/std_streambuf.h: Tweak a comment.
1945 (in_avail): Constify a variable.
1947 2003-06-10 Phil Edwards <pme@gcc.gnu.org>
1949 * docs/html/17_intro/BUGS: Update from 2.90.8 snapshot.
1950 * docs/html/17_intro/CHECKLIST: Bring up to date with respect to
1951 correctness of container::iterator typedefs. Fix whitespace.
1952 * docs/html/20_util/howto.html, docs/html/ext/howto.html: Add links
1954 * docs/html/documentation.html: Regenerate.
1956 * include/bits/basic_string.h, include/bits/basic_string.tcc,
1957 include/bits/deque.tcc, include/bits/list.tcc, include/bits/stl_algo.h,
1958 include/bits/stl_algobase.h, include/bits/stl_bvector.h,
1959 include/bits/stl_deque.h, include/bits/stl_iterator_base_funcs.h,
1960 include/bits/stl_list.h, include/bits/stl_uninitialized.h,
1961 include/bits/stl_vector.h, include/bits/vector.tcc,
1962 include/ext/algorithm, include/ext/slist, include/std/std_bitset.h:
1963 Change _Iter names to _Iterator, and __pos to __position.
1965 * include/bits/stl_relops.h, include/bits/stl_numeric.h,
1966 include/bits/stl_multiset.h, include/bits/stl_set.h:
1967 Remove emacs markers.
1969 * include/bits/stl_threads.h (_STL_auto_lock): Add __unused__.
1971 2003-06-10 Paolo Carlini <pcarlini@unitus.it>
1973 * include/bits/fstream.tcc (overflow): According to
1974 27.5.2.4.5, overflow() returns not_eof(eof()).
1975 * testsuite/27_io/basic_filebuf/overflow/char/2.cc: New.
1976 * testsuite/27_io/basic_filebuf/overflow/char/2-unbuf.cc: Ditto.
1978 2003-06-10 Paolo Carlini <pcarlini@unitus.it>
1980 * include/bits/fstream.tcc (_M_underflow): Check overflow return
1981 value; tweak slightly.
1983 2003-06-09 Paolo Carlini <pcarlini@unitus.it>
1985 * include/bits/fstream.tcc (_M_underflow): Do not special
1986 case the unbuffered case, which really means simply a one char
1988 (basic_filebuf): Initialize _M_buf_size.
1989 (setbuf): Unbuffered means _M_buf_size == 1, since only
1990 _M_buf_size - 1 == 0 chars are going to be used for the
1991 put area and 1 for the get area.
1992 * include/std/std_streambuf.h (_M_buf_size): Move to basic_filebuf.
1993 (~basic_streambuf): Tweak.
1994 (basic_streambuf): Do not initialize _M_buf_size.
1995 * include/std/std_fstream.h (_M_buf_size): Add from basic_streambuf.
1996 (~basic_filebuf): Tweak.
1997 (_M_set_buffer): Tweak, considering that _M_buf_size == 1 is the
1998 unbuffered situation (i.e., put area pointers NULL).
1999 * include/bits/streambuf.tcc (sbumpc): Clean up.
2000 * testsuite/27_io/basic_filebuf/sputbackc/char/1.cc: Split into...
2001 * testsuite/27_io/basic_filebuf/sputbackc/char/1-in.cc: New.
2002 * testsuite/27_io/basic_filebuf/sputbackc/char/1-io.cc: New.
2003 * testsuite/27_io/basic_filebuf/sputbackc/char/1-out.cc: New.
2004 * testsuite/27_io/basic_filebuf/sputbackc/char/2-in.cc: New.
2005 * testsuite/27_io/basic_filebuf/sputbackc/char/2-io.cc: New.
2006 * testsuite/27_io/basic_filebuf/sputbackc/char/2-out.cc: New.
2008 2003-06-09 Phil Edwards <pme@gcc.gnu.org>
2010 * acinclude.m4: Move all AM_CONDITIONAL calls out.
2011 (GLIBCPP_CONFIGURE): Set defaults for variables used in AM_CONDITIONAL
2013 * configure.in: Centralize AM_CONDITIONALs so that they are always
2014 run. Make use of GLIBCPP_IS_CROSS_COMPILING.
2015 * aclocal.m4, configure: Regenerated.
2017 2003-06-09 Paolo Carlini <pcarlini@unitus.it>
2019 * docs/html/ext/howto.html ('LWG Issues'): Add issue 235.
2021 2003-06-06 Nathan Myers <ncm-nospam@cantrip.org>
2023 * include/bits/stl_iterator.h
2024 (reverse_iterator::reverse_iterator()): Apply DR235: default
2025 constructor default-initializes data member. Instantiated on a
2026 pointer type, the member has to end up equal to zero.
2028 2003-06-06 Benjamin Kosnik <bkoz@redhat.com>
2030 * include/bits/stl_alloc.h: Cleanups.
2031 * include/ext/functional: Same.
2032 * include/ext/hash_map: Same.
2033 * include/ext/hash_set: Same.
2034 * include/ext/iterator: Same.
2035 * include/ext/memory: Same.
2036 * include/ext/numeric: Same.
2037 * include/ext/rb_tree: Same.
2038 * include/ext/ropeimpl.h: Same.
2039 * include/ext/slist: Same.
2040 * include/ext/stdio_filebuf.h: Same.
2041 * include/ext/stdio_sync_filebuf.h: Same.
2042 * include/ext/stl_rope.h: Move to...
2043 * include/ext/rope: ...here.
2044 * include/ext/stl_hash_fun.h: Move to...
2045 * include/ext/hash_fun.h: ...here.
2046 * include/ext/stl_hashtable.h: Move to...
2047 * include/ext/hashtable.h: ...here.
2048 * include/backward/hashtable.h: Reflect new names.
2049 * include/Makefile.am: Same.
2050 * include/Makefile.in: Regenerated.
2052 2003-06-05 Benjamin Kosnik <bkoz@redhat.com>
2055 * include/bits/fstream.tcc (_M_underflow): Fix for unbuffered.
2056 * include/bits/stl_algobase.h: Tweak.
2057 * include/std/std_fstream.h: Move _M_buf_size to...
2058 * include/std/std_streambuf.h: ...here. Modify.
2059 * include/bits/streambuf.tcc: Same.
2060 * testsuite/testsuite_hooks.h: Tweak.
2061 * testsuite/testsuite_io.h (constraint_filebuf): New.
2062 * testsuite/27_io/basic_filebuf/sbumpc/char/1.cc: Split into...
2063 * testsuite/27_io/basic_filebuf/sbumpc/char/1-in.cc: New.
2064 * testsuite/27_io/basic_filebuf/sbumpc/char/1-io.cc: New.
2065 * testsuite/27_io/basic_filebuf/sbumpc/char/1-out.cc: New.
2066 * testsuite/27_io/basic_filebuf/sbumpc/char/2-in.cc: New.
2067 * testsuite/27_io/basic_filebuf/sbumpc/char/2-io.cc: New.
2068 * testsuite/27_io/basic_filebuf/sbumpc/char/2-out.cc: New.
2069 * testsuite/27_io/basic_filebuf/sgetc/char/1.cc: Split into...
2070 * testsuite/27_io/basic_filebuf/sgetc/char/1-in.cc: New.
2071 * testsuite/27_io/basic_filebuf/sgetc/char/1-io.cc: New.
2072 * testsuite/27_io/basic_filebuf/sgetc/char/1-out.cc: New.
2073 * testsuite/27_io/basic_filebuf/sgetc/char/2-in.cc: New.
2074 * testsuite/27_io/basic_filebuf/sgetc/char/2-io.cc: New.
2075 * testsuite/27_io/basic_filebuf/sgetc/char/2-out.cc: New.
2076 * testsuite/27_io/basic_filebuf/sgetn/char/1.cc: Split into...
2077 * testsuite/27_io/basic_filebuf/sgetn/char/1-in.cc: New.
2078 * testsuite/27_io/basic_filebuf/sgetn/char/1-io.cc: New.
2079 * testsuite/27_io/basic_filebuf/sgetn/char/1-out.cc: New.
2080 * testsuite/27_io/basic_filebuf/sgetn/char/2.cc: Split into...
2081 * testsuite/27_io/basic_filebuf/sgetn/char/2-in.cc: New.
2082 * testsuite/27_io/basic_filebuf/sgetn/char/2-io.cc: New.
2083 * testsuite/27_io/basic_filebuf/sgetn/char/2-out.cc: New.
2084 * testsuite/27_io/basic_filebuf/sgetn/char/3.cc: New.
2085 * testsuite/27_io/basic_filebuf/snextc/char/1.cc: Split into...
2086 * testsuite/27_io/basic_filebuf/snextc/char/1-in.cc: New.
2087 * testsuite/27_io/basic_filebuf/snextc/char/1-io.cc: New.
2088 * testsuite/27_io/basic_filebuf/snextc/char/1-out.cc: New.
2089 * testsuite/27_io/basic_filebuf/snextc/char/2-in.cc: New.
2090 * testsuite/27_io/basic_filebuf/snextc/char/2-io.cc: New.
2091 * testsuite/27_io/basic_filebuf/snextc/char/2-out.cc: New.
2092 * testsuite/27_io/basic_filebuf/sputc/char/1.cc: Split into...
2093 * testsuite/27_io/basic_filebuf/sputc/char/1-in.cc: New.
2094 * testsuite/27_io/basic_filebuf/sputc/char/1-io.cc: New.
2095 * testsuite/27_io/basic_filebuf/sputc/char/1-out.cc: New.
2096 * testsuite/27_io/basic_filebuf/sputc/char/2.cc: Split into...
2097 * testsuite/27_io/basic_filebuf/sputc/char/2-in.cc: New.
2098 * testsuite/27_io/basic_filebuf/sputc/char/2-io.cc: New.
2099 * testsuite/27_io/basic_filebuf/sputc/char/2-out.cc: New.
2100 * testsuite/27_io/basic_filebuf/sputn/char/1.cc: Split into...
2101 * testsuite/27_io/basic_filebuf/sputn/char/1-in.cc: New.
2102 * testsuite/27_io/basic_filebuf/sputn/char/1-io.cc: New.
2103 * testsuite/27_io/basic_filebuf/sputn/char/1-out.cc: New.
2104 * testsuite/27_io/basic_filebuf/sputn/char/2-in.cc: New.
2105 * testsuite/27_io/basic_filebuf/sputn/char/2-io.cc: New.
2106 * testsuite/27_io/basic_filebuf/sputn/char/2-out.cc: New.
2107 * testsuite/data/sgetc.txt: New.
2108 * testsuite/data/sgetn.txt: New.
2110 2003-06-05 Paolo Carlini <pcarlini@unitus.it>
2113 * include/bits/istream.tcc (operator>>(basic_istream&, _CharT*)):
2114 Deal with width() smaller than zero.
2115 * include/bits/ostream.tcc (operator<<(basic_ostream&, _CharT),
2116 operator<<(basic_ostream&, char), operator<<(basic_ostream&, const
2117 _CharT*), operator<<(basic_ostream<_CharT, _Traits>&, const
2118 char*), operator<<(basic_ostream<char, _Traits>&, const char*),
2119 operator<<(basic_ostream, const basic_string&)): Likewise.
2121 * testsuite/27_io/basic_istream/extractors_character/char/
2122 (11095-i.cc, 11095-oa.cc, 11095-ob.cc, 11095-oc.cc): New.
2123 * testsuite/27_io/basic_ostream/inserters_character/char/
2124 (11095-oa.cc, 11095-ob.cc, 11095-oc.cc): New.
2125 * testsuite/27_io/basic_ostream/inserters_character/wchar_t/
2126 (11095-od.cc, 11095-oe.cc, 11095-of.cc): New.
2128 2003-06-05 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
2130 * acinclude.m4 (GLIBCPP_CHECK_PCH): Only set glibcpp_PCHFLAGS if
2131 .gch compilation works.
2132 * aclocal.m4, configure: Regenerate.
2133 * testsuite_flags.in (--build-cxx): Use glibcpp_PCHFLAGS to
2134 initialize PCHFLAGS.
2136 2003-06-04 Paolo Carlini <pcarlini@unitus.it>
2138 * include/bits/basic_string.h (_M_fold, insert(iterator, _CharT),
2139 erase(iterator), erase(iterator, iterator), c_str,
2140 compare(const basic_string&)): Constify various variables.
2141 * include/bits/basic_string.tcc (_S_construct(_InIter, _InIter,
2142 const _Alloc&, input_iterator_tag), _M_destroy, _M_mutate,
2143 _S_create, resize, _M_replace, _M_replace_safe,
2144 append(const basic_string&), append(const basic_string&, size_type,
2145 size_type), append(const _CharT*, size_type), append(size_type,
2146 _CharT), operator+(const _CharT*, const basic_string&),
2147 operator+(_CharT, const basic_string&), replace(iterator, iterator,
2148 size_type, _CharT), find(const _CharT*, size_type, size_type),
2149 find(_CharT, size_type), rfind(const _CharT*, size_type, size_type),
2150 rfind(_CharT, size_type), compare(size_type, size_type,
2151 const basic_string&), compare(size_type, size_type,
2152 const basic_string&, size_type, size_type), compare(const _CharT*),
2153 compare(size_type, size_type, const _CharT*), compare(size_type,
2154 size_type, const _CharT*, size_type)): Likewise.
2156 2003-06-03 Benjamin Kosnik <bkoz@redhat.com>
2158 * include/bits/fstream.tcc (pbackfail): Make a rarely taken
2159 'if' branch less obscure.
2161 2003-06-02 Andrew Pinski <pinskia@physics.uc.edu>
2164 * config/cpu/i386/atomicity.h (__exchange_and_add): add intel
2166 * config/cpu/i486/atomicity.h (__exchange_and_add): Likewise.
2167 (__atomic_add): likewise.
2169 2003-06-02 Paolo Carlini <pcarlini@unitus.it>
2171 * include/bits/sstream.tcc (pbackfail): Minor clean up and
2172 reformatting, consistent with basic_filebuf::pbackfail.
2174 2003-06-02 Richard Kreckel <Richard.Kreckel@GiNaC.DE>
2177 * config/cpu/mips/atomicity.h: Change __attribute__ ((unused)) to
2178 __attribute__ ((__unused__)).
2179 * config/os/aix/atomicity.h: Likewise.
2181 2003-06-02 Paolo Carlini <pcarlini@unitus.it>
2184 * include/bits/fstream.tcc (pbackfail): If the pback buffer
2185 is already active don't try to store in it a second char.
2186 * testsuite/27_io/basic_filebuf/pbackfail/char/9761.cc: New.
2188 * include/bits/fstream.tcc (pbackfail): Add unbuffered bits.
2190 2003-06-02 Paolo Carlini <pcarlini@unitus.it>
2192 * testsuite/27_io/basic_stringbuf/seekpos/char/3.cc: Tweak
2195 2003-06-02 Paolo Carlini <pcarlini@unitus.it>
2197 * include/std/std_fstream.h (_M_destroy_pback): Use _M_in_beg
2198 instead of unnecessarily taking the address of _M_pback.
2199 (xsgetn): Simplify slightly for a single char pback buffer.
2201 2003-06-02 Paolo Carlini <pcarlini@unitus.it>
2203 * include/bits/sstream.tcc (seekoff): Remove four unnecessary
2204 variables and two 'if', clean up.
2206 2003-06-02 Paolo Carlini <pcarlini@unitus.it>
2208 * include/bits/sstream.tcc (seekpos): Test against _M_out_lim
2209 not _M_out_end, since the former actually points to the string
2210 end (vs buffer end).
2211 * testsuite/27_io/basic_stringbuf/seekpos/char/3.cc: New.
2213 2003-05-30 Phil Edwards <pme@gcc.gnu.org>
2215 * docs/doxygen/filter: New file.
2216 * docs/doxygen/filter.sed: New file.
2217 * docs/doxygen/run_doxygen: Add g flag to sed substitutions. Duh.
2218 * docs/doxygen/user.cfg.in (INPUT_FILTER): Point to new filter.
2219 * docs/html/documentation.html: Fix links to doxygen pages.
2221 2003-05-30 Paolo Carlini <pcarlini@unitus.it>
2223 * include/bits/fstream.tcc (_M_convert_to_external): Don't
2224 check for __ilen > 0.
2226 2003-05-29 Sylvain Pion <Sylvain.Pion@mpi-sb.mpg.de>
2229 * include/bits/stl_iterator.h (class __normal_iterator):
2230 Don't inherit from iterator, add missing typedefs.
2232 2003-05-29 Paolo Carlini <pcarlini@unitus.it>
2234 * testsuite/24_iterators/reverse_iterator.cc: Split up, as follows.
2235 * testsuite/24_iterators/reverse_iterator/1.cc: New.
2236 * testsuite/24_iterators/reverse_iterator/2.cc: New.
2237 * testsuite/24_iterators/reverse_iterator/3.cc: New, from
2240 2003-05-27 Steve Ellcey <sje@cup.hp.com>
2242 * config/os/hpux/os_defines.h: Define _LIBUNWIND_STD_ABI if we are
2244 * libsupc++/eh_throw.cc: Don't call _Unwind_Resume_or_Rethrow if
2245 _LIBUNWIND_STD_ABI is set.
2247 2003-05-26 Brendan Kehoe <brendan@zen.org>
2249 * include/bits/locale_facets.tcc (do_get): Honor $22.2.6.3.3/8 and
2250 make sure the number of digits required after the decimal-point
2251 (if any) is exactly the value returned by frac_digits().
2252 * testsuite/22_locale/money_get/get/char/9.cc: New.
2253 * testsuite/22_locale/money_get/get/wchar_t/9.cc: New.
2255 2003-05-27 Jonathan Wakely <redi@gcc.gnu.org>
2257 * include/std/std_istream.h, include/std/std_ostream.h: Typo in
2260 2003-05-26 Benjamin Kosnik <bkoz@redhat.com>
2263 * include/std/std_fstream.h (basic_filebuf::_M_overflow): Remove.
2264 (_M_pback): No array necessary.
2265 * include/bits/fstream.tcc (basic_filebuf::_M_overflow): Add
2266 unbuffered case, coalesec into ...
2267 (basic_filebuf::overflow): ...this.
2268 * testsuite/27_io/basic_filebuf/sputn/char/9339.cc: New.
2269 * testsuite/27_io/basic_filebuf/sputc/char/2.cc: Unbuffered.
2271 2003-05-24 Nathanael Nerode <neroden@gcc.gnu.org>
2273 * libsupc++/Makefile.am, libsupc++/cxxabi.h, libsupc++/del_op.cc,
2274 libsupc++/del_opnt.cc, libsupc++/del_opv.cc, libsupc++/del_opvnt.cc,
2275 libsupc++/eh_alloc.cc, libsupc++/eh_aux_runtime.cc,
2276 libsupc++/eh_catch.cc, libsupc++/eh_exception.cc,
2277 libsupc++/eh_globals.cc, libsupc++/eh_personality.cc,
2278 libsupc++/eh_term_handler.cc, libsupc++/eh_terminate.cc,
2279 libsupc++/eh_throw.cc, libsupc++/eh_type.cc,
2280 libsupc++/eh_unex_handler.cc, libsupc++/exception,
2281 libsupc++/new, libsupc++/new_handler.cc, libsupc++/new_op.cc,
2282 libsupc++/new_opnt.cc, libsupc++/new_opv.cc, libsupc++/new_opvnt.cc,
2283 libsupc++/pure.cc, libsupc++/tinfo.cc, libsupc++/tinfo2.cc,
2284 libsupc++/typeinfo, libsupc++/unwind-cxx.h, libsupc++/vec.cc:
2285 Replace "GNU CC" with "GCC".
2287 * include/backward/new.h: Replace "GNU CC" with "GCC".
2289 2003-05-22 Benjamin Kosnik <bkoz@redhat.com>
2292 * configure.in: Switch target to host, don't assume newlib.
2293 (target_alias): Remove.
2294 * configure: Regenerate.
2295 * acinclude.m4: Same.
2296 * aclocal.m4: Regenerate.
2297 * configure.target: Same. Rename to...
2298 * configure.host: This.
2300 2003-05-22 Paolo Carlini <pcarlini@unitus.it>
2302 * include/std/std_fstream.h (_S_pback_size): Remove definition.
2303 (_M_create_pback(), _M_destroy_pback()): Simplify for a single-char
2305 * include/bits/fstream.tcc (_S_pback_size): Remove declaration.
2306 * testsuite/27_io/basic_filebuf/3.cc: Remove explicit instantiation
2307 of _S_pback_size for systems with no COMDAT or weak support.
2308 * testsuite/27_io/basic_filebuf/seekoff/10132-2.cc: Likewise.
2309 * testsuite/27_io/basic_filebuf/seekpos/10132-3.cc: Likewise.
2310 * testsuite/27_io/basic_filebuf/underflow/10096.cc: Likewise.
2311 * testsuite/27_io/basic_fstream/3.cc: Likewise.
2312 * testsuite/27_io/basic_ifstream/3.cc: Likewise.
2313 * testsuite/27_io/basic_istream/sentry/char/3983-fstream.cc: Likewise.
2314 * testsuite/27_io/basic_ofstream/3.cc: Likewise.
2315 * testsuite/27_io/basic_ostream/sentry/char/3983-fstream.cc: Likewise.
2316 * testsuite/27_io/basic_streambuf/3.cc: Likewise.
2318 2003-05-22 Paolo Carlini <pcarlini@unitus.it>
2320 * include/bits/fstream.tcc (_M_underflow): Simplify:
2321 !__testout implies _M_filepos == _M_in_end, therefore
2322 the first _M_file.seekoff call is never issued.
2324 2003-05-22 Benjamin Kosnik <bkoz@redhat.com>
2326 * configure.in: Sort cross table.
2327 * configure: Regenerate.
2329 2003-05-22 Brad Spencer <spencer@infointeractive.com>
2332 * configure.in: Add Solaris cross bits.
2334 2003-05-21 Danny Smith <dannysmith@users.sourceforge.net>
2336 * libstdc++-v3/config/os/mingw32/os_defines.h
2337 (__GTHREAD_HIDE_WIN32API): Define to 1 by defualt.
2338 (NOMINMAX): Define. Update copyright year.
2340 2003-05-21 Paolo Carlini <pcarlini@unitus.it>
2342 * include/std/std_fstream.h (_M_set_buffer): Fix indentation.
2344 2003-05-21 Jonathan Wakely <redi@gcc.gnu.org>
2346 * docs/html/faq/index.html: Fix typo.
2347 * docs/html/faq/index.txt: Regenerate.
2349 2003-05-21 Jonathan Wakely <redi@gcc.gnu.org>
2351 * docs/html/test.html: Fix markup.
2353 2003-05-21 Danny Smith <dannysmith@users.sourceforge.net>
2355 * libmath/stubs.c (hypot, hypotf, hypotl): Don't divide by
2357 Update copyright year.
2359 2003-05-20 Paolo Carlini <pcarlini@unitus.it>
2361 * testsuite/27_io/basic_filebuf/close/char/4.cc: Fix typo.
2363 2003-05-20 Paolo Carlini <pcarlini@unitus.it>
2365 * testsuite/27_io/basic_filebuf/close/char/5.cc: New file,
2366 further testing that upon filebuf::close() 27.8.1.1,3 is enforced.
2368 2003-05-20 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
2370 * include/bits/stl_alloc.h (__default_alloc_template::_S_chunk_alloc):
2371 Cast via void* to avoid -Wcast-align warnings.
2372 (__default_alloc_template::_S_refill): Likewise.
2374 2003-05-20 Benjamin Kosnik <bkoz@redhat.com>
2376 * testsuite/README: Move to...
2377 * docs/html/test.html: ...here. Add documentation.
2378 * docs/html/install.html: Move testing bits out..
2379 * docs/html/documentation.html: Add separate testing link.
2380 * testsuite/performance: Add.
2381 * testsuite/performance/allocator.cc: New.
2382 * testsuite/performance/complex_norm.cc: New.
2383 * testsuite/performance/cout_insert_int.cc: New.
2384 * testsuite/performance/fstream_seek_write.cc: New.
2385 * testsuite/performance/ifstream_getline.cc: New.
2386 * testsuite/performance/map_create_fill.cc: New.
2387 * testsuite/performance/ofstream_insert_float.cc: New.
2388 * testsuite/performance/ofstream_insert_int.cc: New.
2389 * testsuite/performance/string_append.cc: New.
2390 * testsuite/lib/libstdc++-v3-dg.exp (v3-compute-tests): Filter
2393 2003-05-20 Gabriel Dos Reis <gdr@integrable-solutions.net>
2396 * include/std/std_complex.h (pow): Tidy.
2398 2003-05-19 Paolo Carlini <pcarlini@unitus.it>
2400 * testsuite/27_io/basic_filebuf/close/char/4.cc: New file, testing
2401 that upon filebuf::close() 27.8.1.1,3 is enforced.
2403 2003-05-15 Loren J. Rittle <ljrittle@acm.org>
2405 * testsuite/thread/pthread4.cc: Further tweak to avoid fini race.
2407 2003-05-15 Paolo Carlini <pcarlini@unitus.it>
2408 Nathan Myers <ncm@cantrip.org>
2410 * include/bits/fstream.tcc (_M_overflow): Rewrote to call
2411 _M_convert_to_external only once (_M_buf_size is now the size of
2412 the put area + 1 for the overflow char of a full area); call
2413 _M_set_buffer instead of _M_set_indeterminate.
2414 (setbuf): Don't accept a buffer smaller than 2 chars.
2415 (_M_underflow): Refill _M_buf_size - 1 chars; call _M_set_buffer,
2416 instead of _M_set_determinate.
2417 (open): Call _M_set_buffer, instead of _M_set_indeterminate.
2418 (seekoff): Likewise.
2419 * include/ext/stdio_filebuf.h (stdio_filebuf(int,
2420 std::ios_base::openmode, bool, size_t),
2421 stdio_filebuf(std::__c_file*, std::ios_base::openmode, size_t):
2423 * include/std/std_fstream.h (_M_set_indeterminate): Remove.
2424 (_M_set_determinate): Rename as _M_set_buffer, _M_buf_size ->
2426 * include/std/std_streambuf.h: Tweak _M_out_lim comment.
2427 * testsuite/27_io/basic_filebuf/sgetn/char/1.cc: Tweak, taking
2428 into account that, for _M_buf_size == BUFSIZ == 8192, the size of
2429 the put area is now BUFSIZ - 1.
2430 * testsuite/ext/stdio_filebuf_2.cc: Tweak, taking into account
2431 that now the smallest _M_buf_size is 2 (still fails, for the same
2434 2003-05-14 Loren J. Rittle <ljrittle@acm.org>
2436 * testsuite/thread/pthread4.cc: Tweak test.
2438 2003-05-13 Benjamin Kosnik <bkoz@redhat.com>
2440 * testsuite/27_io/ios_base/cons/copy_neg.cc: Remove
2441 excess errors dg marker, use dg-errors instead.
2442 * testsuite/27_io/ios_base/cons/assign_neg.cc: Same.
2443 * testsuite/20_util/auto_ptr_neg.cc: Same.
2445 2003-05-12 Benjamin Kosnik <bkoz@redhat.com>
2447 * include/std/std_fstream.h (basic_filebuf::_M_codecvt): Add
2449 * include/bits/fstream.tcc (basic_filebuf::basic_filebuf):
2450 Initialize _M_codecvt.
2451 (basic_filebuf::imbue): Same.
2452 (basic_filebuf::showmanyc): Use it.
2453 (basic_filebuf::underflow): Use it.
2454 (basic_filebuf::_M_convert_to_external): Use it.
2455 (basic_filebuf::seekoff): Use it.
2456 (basic_filebuf::imbue): Use it, tweaks.
2457 * include/bits/localefwd.h (__check_facet): New.
2458 * include/bits/locale_classes.h: Tweaks.
2459 * include/bits/locale_facets.tcc: Tweaks.
2460 * include/bits/basic_ios.h (basic_ios::_M_check_facet): Remove.
2461 _M_fctype to _M_ctype, _M_fnumput to _M_num_put, _M_fnumget to
2462 _M_num_get. Change _M_check_facet to __check_facet. Tweaks.
2463 * include/bits/basic_ios.tcc: Same.
2464 * include/bits/istream.tcc: Same.
2465 * include/bits/ostream.tcc: Same.
2466 * include/std/std_streambuf.h: Same.
2467 * testsuite/27_io/basic_filebuf/imbue/char/2.cc: New.
2468 * testsuite/27_io/basic_filebuf/imbue/char/3.cc: New.
2469 * testsuite/27_io/basic_filebuf/imbue/wchar_t/1.cc: New.
2470 * testsuite/27_io/basic_filebuf/imbue/wchar_t/2.cc: New.
2471 * testsuite/27_io/basic_filebuf/imbue/wchar_t/3.cc: New.
2472 * testsuite/27_io/basic_filebuf/imbue/wchar_t/9322.cc: New.
2474 2003-05-12 Paolo Carlini <pcarlini@unitus.it>
2476 * testsuite/27_io/basic_filebuf/sgetc/char/1.cc: Remove
2477 unnecessary includes and unused string literals.
2478 * testsuite/27_io/basic_filebuf/sputbackc/char/1.cc: Likewise.
2479 * testsuite/27_io/basic_filebuf/sputc/char/1.cc: Likewise.
2480 * testsuite/27_io/basic_filebuf/sputn/char/1.cc: Likewise.
2481 * testsuite/27_io/basic_filebuf/sungetc/char/1.cc: Likewise.
2483 2003-05-12 Benjamin Kosnik <bkoz@redhat.com>
2485 * include/bits/fstream.tcc (_M_overflow): Remove unbuffered bits.
2487 2003-05-12 Paolo Carlini <pcarlini@unitus.it>
2489 * include/std/std_fstream.h (_M_convert_to_external): Change
2490 to return bool, take two less streamsize parameters.
2491 * include/bits/fstream.tcc (_M_convert_to_external): Tweak
2492 consistently definition.
2493 (_M_overflow): Adjust call points.
2495 2003-05-12 Benjamin Kosnik <bkoz@redhat.com>
2497 * testsuite/27_io/basic_filebuf/underflow/10096.cc: Add weak bits.
2499 2003-05-11 Phil Edwards <pme@gcc.gnu.org>
2501 * testsuite/Makefile.am: Properly quote /both/ LD_RUN_PATHs.
2502 * testsuite/Makefile.in: Regenerate.
2504 2003-05-11 Phil Edwards <pme@gcc.gnu.org>
2506 * testsuite/Makefile.am: Properly quote LD_RUN_PATH.
2507 * testsuite/Makefile.in: Regenerate.
2509 2003-05-11 Gabriel Dos Reis <gdr@integrable-solutions.net>
2512 * include/c_std/std_cmath.h: #include <bits/cpp_type_traits.h>
2513 (acos): Handle integer argument.
2532 * include/bits/cpp_type_traits.h (__are_same<>): New traits.
2533 (__enable_if): Likewise.
2534 * testsuite/26_numerics/cmath/overloads.C: New test.
2536 2003-05-10 Petur Runolfsson <peturr02@ru.is>
2541 * include/bits/fstream.tcc (basic_file::_M_underflow): Add generic
2542 implementation, based on old wchar_t specialization, add support
2543 for codecvt::in() return value of codecvt_base::noconv, remove
2544 _M_file.sys_ungetc() call.
2545 * include/std/std_fstream.h (basic_file::underflow,
2546 basic_file::uflow, basic_file::_M_underflow): Remove
2547 specialization declarations, call _M_underflow from generic versions
2548 of underflow and uflow.
2549 * src/fstream.cc (basic_file::underflow, basic_file::uflow,
2550 basic_file::_M_underflow): Remove specializations.
2551 * src/Makefile.am (sources): Remove fstream.cc.
2552 * src/Makefile.in: Regenerated.
2553 * testsuite/27_io/basic_filebuf/underflow/10096.cc: New test.
2554 * testsuite/27_io/basic_filebuf/underflow/char/1.cc: New test.
2555 * testsuite/27_io/basic_filebuf/underflow/char/9027.cc: New test.
2556 * testsuite/27_io/basic_filebuf/underflow/wchar_t/9520.cc: New test.
2558 2003-05-10 Benjamin Kosnik <bkoz@redhat.com>
2560 * include/ext/stdio_filebuf.h (__stdio_filebuf): Remove stack
2562 * config/io/basic_file_stdio.h (__basic_file::xsgetn): Remove
2564 (__basic_file::xsputn): Same.
2565 (__basic_file::seekoff): Same.
2566 (__basic_file::seekpos): Same.
2567 (__basic_file::showmanyc): Same.
2568 * config/io/basic_file_stdio.cc: Same.
2569 * include/std/std_fstream.h: Same.
2570 * include/bits/fstream.tcc: Same.
2571 * src/fstream.cc: Same.
2572 * testsuite/27_io/basic_filebuf/sgetn/char/1.cc (test05): Tidy.
2574 2003-05-10 Petur Runolfsson <peturr02@ru.is>
2579 * include/ext/stdio_sync_filebuf.h: New file.
2580 (basic_stdiobuf): New.
2581 * include/Makefile.am (ext_headers): Add ext/stdio_sync_filebuf.h
2582 * include/Makefile.in: Regenerate.
2583 * include/bits/ios_base.h (Init::_S_create_buffers,
2584 Init::_S_destroy_buffers): Remove declarations.
2585 * src/globals.cc (buf_cout_sync, buf_cin_sync, buf_cerr_sync,
2586 buf_wcout_sync, buf_wcin_sync, buf_wcerr_sync): Define.
2587 * src/ios.cc (Init::_S_create_buffers,
2588 Init::_S_destroy_buffers): Remove.
2589 (Init::Init): Create and use syncronized buffers.
2590 (ios_base::sync_with_stdio): Destroy syncronized buffers,
2591 create and install unsyncronized buffers.
2592 * testsuite/27_io/objects/char/10.cc: New test.
2593 * testsuite/27_io/objects/char/9.cc: New test.
2594 * testsuite/27_io/objects/char/9661-1.cc: New test.
2595 * testsuite/27_io/objects/char/9661-2_xin.cc: New test.
2596 * testsuite/27_io/objects/char/9661-2_xin.in: New.
2597 * testsuite/27_io/objects/wchar_t/1.cc: New test.
2598 * testsuite/27_io/objects/wchar_t/10.cc: New test.
2599 * testsuite/27_io/objects/wchar_t/2.cc: New test.
2600 * testsuite/27_io/objects/wchar_t/2523-1_xin.cc: New test.
2601 * testsuite/27_io/objects/wchar_t/2523-1_xin.in: New.
2602 * testsuite/27_io/objects/wchar_t/2523-2_xin.cc: New test.
2603 * testsuite/27_io/objects/wchar_t/2523-2_xin.in: New.
2604 * testsuite/27_io/objects/wchar_t/3045.cc: New test.
2605 * testsuite/27_io/objects/wchar_t/3647.cc: New test.
2606 * testsuite/27_io/objects/wchar_t/3_xin.cc: New test.
2607 * testsuite/27_io/objects/wchar_t/3_xin.in: New.
2608 * testsuite/27_io/objects/wchar_t/4_xin.cc: New test.
2609 * testsuite/27_io/objects/wchar_t/4_xin.in: New.
2610 * testsuite/27_io/objects/wchar_t/5.cc: New test.
2611 * testsuite/27_io/objects/wchar_t/5268.cc: New test.
2612 * testsuite/27_io/objects/wchar_t/5280_xin.cc: New test.
2613 * testsuite/27_io/objects/wchar_t/5280_xin.in: New.
2614 * testsuite/27_io/objects/wchar_t/6.cc: New test.
2615 * testsuite/27_io/objects/wchar_t/6548_xin.cc: New test.
2616 * testsuite/27_io/objects/wchar_t/6548_xin.in: New.
2617 * testsuite/27_io/objects/wchar_t/6648-1_xin.cc: New test.
2618 * testsuite/27_io/objects/wchar_t/6648-1_xin.in: New.
2619 * testsuite/27_io/objects/wchar_t/6648-2_xin.cc: New test.
2620 * testsuite/27_io/objects/wchar_t/6648-2_xin.in: New.
2621 * testsuite/27_io/objects/wchar_t/7.cc: New test.
2622 * testsuite/27_io/objects/wchar_t/7744_xin.cc: New test.
2623 * testsuite/27_io/objects/wchar_t/7744_xin.in: New.
2624 * testsuite/27_io/objects/wchar_t/8.cc: New test.
2625 * testsuite/27_io/objects/wchar_t/9_xin.cc: New test.
2626 * testsuite/27_io/objects/wchar_t/9_xin.in: New.
2627 * testsuite/27_io/objects/wchar_t/9520.cc: New test.
2628 * testsuite/27_io/objects/wchar_t/9661-1.cc: New test.
2629 * testsuite/27_io/objects/wchar_t/9661-2_xin.cc: New test.
2630 * testsuite/27_io/objects/wchar_t/9661-2_xin.in: New.
2631 * testsuite/27_io/objects/wchar_t/9662.cc: New test.
2632 * testsuite/ext/stdiobuf_char.cc: New test.
2633 * testsuite/ext/stdiobuf_wchar_t.cc: New test.
2635 2003-05-10 Paolo Carlini <pcarlini@unitus.it>
2637 * testsuite/27_io/basic_filebuf/close/char/3.cc: Remove
2638 unnecessary includes and unused string literals.
2639 * testsuite/27_io/basic_filebuf/in_avail/char/1.cc: Likewise.
2641 2003-05-08 Paolo Carlini <pcarlini@unitus.it>
2643 * include/std/std_streambuf.h (setg, setp): Don't touch _M_mode.
2645 2003-05-07 Richard Henderson <rth@redhat.com>
2648 * libsupc++/eh_catch.cc (__cxa_begin_catch): Handle foreign exceptions.
2649 (__cxa_end_catch): Likewise.
2650 * libsupc++/eh_throw.cc (__cxa_rethrow): Likewise. Use
2651 _Unwind_Resume_or_Rethrow.
2652 * libsupc++/eh_personality.cc (empty_exception_spec): New.
2653 (PERSONALITY_FUNCTION): Don't ignore terminate or catch-all
2654 for _UA_FORCE_UNWIND. Honor empty filter spec for foreign
2655 exceptions. Don't push terminate/unexpected to cxa functions.
2656 (__cxa_call_unexpected): Remove foreign exception fixmes.
2658 2003-05-07 Benjamin Kosnik <bkoz@redhat.com>
2660 * testsuite/27_io/ios_base/cons: New.
2661 * testsuite/27_io/ios_base/cons/assign_neg.cc: New.
2662 * testsuite/27_io/ios_base/cons/copy_neg.cc: New.
2664 2003-05-07 Paolo Carlini <pcarlini@unitus.it>
2666 * include/std/std_fstream.h (_M_is_indeterminate): Remove.
2668 (basic_filebuf<char/wchar_t>::_M_underflow): Simplify: either
2669 there is no buffer or __testget == !__testinit.
2672 (basic_filebuf<char/wchar_t>::_M_underflow): _M_set_determinate()
2673 automatically sets, if appropriate, _M_out_cur == _M_in_cur.
2675 * include/std/std_fstream.h (_M_destroy_pback): Don't set
2676 unnecessarily _M_pback_cur_save and _M_pback_end_save.
2678 * include/std/std_fstream.h (_M_set_determinate): Minor tweak.
2680 * include/std/std_sstream.h (_M_sync): Minor tweak.
2682 * include/bits/fstream.tcc (close): No need to call
2683 _M_destroy_pback, setting _M_pback_init to false suffices
2686 2003-05-06 Benjamin Kosnik <bkoz@redhat.com>
2688 * include/bits/stl_algo.h: Enums as _S_.
2689 * include/bits/stl_tree.h: Same.
2690 * include/bits/stl_bvector.h: Same.
2691 * include/bits/ios_base.h: Same.
2692 * include/bits/stl_alloc.h: Same.
2693 * include/ext/stl_hashtable.h: Same.
2694 * src/ios.cc: And here.
2696 * include/std/std_sstream.h: Replace _M_really_sync to _M_sync.
2697 * include/bits/sstream.tcc: Same.
2699 * include/bits/basic_ios.h: Correct spacing for '< ctype'.
2701 * include/bits/locale_facets.tcc: Replace __temp to __tmp.
2703 * include/bits/locale_facets.h (__num_base): Remove protected.
2704 Use _S_[io]* names for enumerations.
2705 (_S_format_int): Remove.
2706 * include/bits/locale_facets.tcc: Same.
2707 * src/locale.cc: Same.
2709 * include/std/std_sstream.h (stringbuf::str): Tweak formatting.
2711 2003-05-06 Phil Edwards <pme@gcc.gnu.org>
2713 * docs/html/faq/index.html (3.10): Add note about mips atomicity.h.
2714 * docs/html/faq/index.txt: Regenerated.
2716 2003-05-06 Michael Ritzert <Ritzert@t-online.de>
2717 Matt Kraai <kraai@alumni.cmu.edu>
2719 * include/ext/stl_rope.h (_Rope_RopeRep<>::_M_c_string_lock): Tweak.
2722 2003-05-06 Richard Sandiford <rsandifo@redhat.com>
2724 * configure.target (mips*): Use the generic atomicity.h by default.
2726 2003-05-05 Loren J. Rittle <ljrittle@acm.org>
2727 (Inspired by an alternate patch from Danny Smith.)
2729 * include/bits/stl_threads.h (_Atomic_swap): Kill it...
2730 (_Swap_lock_struct<>): ...and the horse it rode in on.
2731 * src/globals.cc (_Swap_lock_struct<>): Likewise.
2732 * include/ext/stl_rope.h (_Rope_RopeRep<>::_M_c_string_lock): New
2733 member to support...
2734 * include/ext/ropeimpl.h (rope<>::c_str): Follow *all* memory
2735 visibility rules related to POSIX threads.
2736 * testsuite/thread/pthread7-rope.cc: New test.
2738 2003-05-04 Paolo Carlini <pcarlini@unitus.it>
2740 * testsuite/21_strings/basic_string/find/char/3.cc: New
2741 file, testing basic_string<char>::find_first_not_of.
2742 * testsuite/21_strings/basic_string/find/wchar_t/3.cc:
2743 Likewise for basic_string<wchar_t>.
2745 2003-05-03 Loren J. Rittle <ljrittle@acm.org>
2747 * testsuite/thread/pthread1.cc: Remove special case for FreeBSD.
2749 2003-05-02 Benjamin Kosnik <bkoz@redhat.com>
2751 * include/Makefile.am (CLEANFILES): Remove PCH files in target
2753 * include/Makefile.in: Regenerate.
2755 2003-05-02 Paolo Carlini <pcarlini@unitus.it>
2757 * include/std/std_sstream.h (str()): Tidy.
2759 2003-05-02 Nathan Myers <ncm@cantrip.org>
2760 Paolo Carlini <pcarlini@unitus.it>
2762 * include/bits/streambuf.tcc (__copy_streambufs): Rewrote.
2764 2003-05-02 Jonathan Wakely <redi@gcc.gnu.org>
2766 * include/bits/basic_string.h (swap): Remove redundant template
2767 parameters from declaration of non-template member function.
2769 2003-05-01 Phil Edwards <pme@gcc.gnu.org>
2771 * acconfig.h (_GLIBCPP_USE_NLS): New symbol.
2772 * configure.in: Move libintl.h header test...
2773 * acinclude.m4 (GLIBCPP_ENABLE_CLOCALE): ...to here. Gather all
2774 the NLS-related test results into one symbol.
2775 * src/functexcept.cc: Use it here.
2776 * aclocal.m4, config.h.in, configure: Regenerated.
2778 2003-05-01 Paolo Carlini <pcarlini@unitus.it>
2780 * include/bits/sstream.tcc (overflow): Instead of calling
2781 str(), then _M_string.reserve, thus copying the contents
2782 of the current buffer two times, just copy the latter in
2783 a temporary, then use the 'swap trick'.
2785 2003-05-01 Paolo Carlini <pcarlini@unitus.it>
2787 * include/std/std_sstream.h (str()): Revert the best of the
2788 previous 'improvement', incorrect due to the COW nature of
2789 v3 basic_string; simplify.
2791 2003-05-01 Paolo Carlini <pcarlini@unitus.it>
2793 * include/bits/streambuf.tcc (__copy_streambufs): Adjust the
2794 type of __avail to ptrdiff_t to avoid signed-unsigned warning.
2796 2003-05-01 Benjamin Kosnik <bkoz@redhat.com>
2798 * testsuite/abi_check.cc (check_version): Update known versions.
2799 Check added symbols for version_name != base version. Add missing
2800 symbols to incompatible list.
2802 2003-05-01 Benjamin Kosnik <bkoz@redhat.com>
2804 * acinclude.m4 (GLIBCPP_EXPORT_FLAGS): Remove -Winline.
2805 * aclocal.m4: Regenerated.
2806 * configure: Regenerated.
2808 2003-05-01 Paolo Carlini <pcarlini@unitus.it>
2810 * include/bits/streambuf.tcc (basic_streambuf::xsgetn):
2811 Const-ify some variables.
2812 (basic_streambuf::xsputn): Likewise; change the type of some
2813 variables to size_t.
2814 (__copy_streambufs): Change some variables to size_t.
2816 2003-05-01 Paolo Carlini <pcarlini@unitus.it>
2818 * include/std/std_sstream.h (str()): Avoid constructing
2819 a basic_string temporary not only when it would turn out
2820 to be zero-sized but also when identical to the current
2823 2003-05-01 Paolo Carlini <pcarlini@unitus.it>
2825 * include/ext/stdio_filebuf.h
2826 (stdio_filebuf(int, std::ios_base::openmode, bool, size_t),
2827 stdio_filebuf(std::__c_file*, std::ios_base::openmode, size_t)):
2828 Shorten a bit (-10 lines) by factoring out some code.
2830 2003-04-30 Phil Edwards <pme@gcc.gnu.org>
2832 * acinclude.m4: Add bit missing from previous patch.
2833 * aclocal.m4, configure: Regenerated.
2835 2003-04-29 Phil Edwards <pme@gcc.gnu.org>
2837 * docs/doxygen/mainpage.html: Bring up to date.
2838 * docs/doxygen/run_doxygen: Cosmetic tweaks. Work around a bug
2840 * docs/doxygen/user.cfg.in: Scanning the precompiled headers
2841 breaks everything. Don't scan them.
2842 * docs/html/documentation.html: Point to "Write after approval"
2845 2003-04-29 Phil Edwards <pme@gcc.gnu.org>
2847 * acinclude.m4 (GLIBCPP_ENABLE_CLOCALE): Search for gettext outside
2848 of libc if message translations are being used. Fix info text in
2849 xieee_1003.1-2001 case.
2850 * aclocal.m4, configure: Regenerate.
2852 2003-04-29 Joel Sherrill <joel.sherrill@OARcorp.com>
2853 Loren J. Rittle <ljrittle@acm.org>
2854 Martin v. Loewis <martin@v.loewis.de>
2856 * config/cpu/i386/atomicity.h: New file.
2858 2003-04-29 Paolo Carlini <pcarlini@unitus.it>
2860 * include/bits/fstream.tcc (open): Change to single return.
2862 2003-04-29 Paolo Carlini <pcarlini@unitus.it>
2864 * include/std/std_sstream.h (underflow): Change to single return.
2866 2003-04-28 Paolo Carlini <pcarlini@unitus.it>
2868 * include/std/std_streambuf.h (_M_buf): is currently
2869 used only for basic_filebuf, therefore move it there.
2870 (basic_streambuf(), ~basic_streambuf()): Adjust.
2871 * include/std/std_fstream.h (_M_buf): Moved here.
2872 * include/std/std_sstream.h (setbuf): Don't set _M_buf,
2873 is actually redundant for basic_stringbuf.
2874 (_M_really_sync): Likewise.
2875 * include/bits/fstream.tcc (basic_filebuf()): Adjust.
2876 * include/bits/sstream.tcc (seekoff): Adjust.
2878 2003-04-28 Benjamin Kosnik <bkoz@redhat.com>
2880 * src/localename.cc: Standardize exception strings.
2881 * src/locale.cc: Same.
2883 * include/bits/basic_string.tcc: Same.
2884 * include/bits/basic_ios.tcc: Same.
2885 * include/std/std_bitset.h: Same.
2886 * include/ext/ropeimpl.h: Same.
2887 * include/bits/stl_vector.h: Same.
2888 * include/bits/stl_deque.h: Same.
2889 * include/bits/stl_bvector.h: Same.
2890 * config/locale/generic/c_locale.cc: Same.
2891 * config/locale/gnu/c_locale.cc: Same.
2892 * config/locale/ieee_1003.1-2001/codecvt_specializations.h: Same.
2894 * testsuite/testsuite_hooks.cc (__gnu_cxx_test): Modify.
2896 2003-04-28 Paolo Carlini <pcarlini@unitus.it>
2898 * include/std/std_streambuf.h (_M_buf_size): is currently
2899 used only for basic_filebuf, therefore move it there.
2900 (basic_streambuf(), ~basic_streambuf()): Adjust.
2901 * include/std/std_fstream.h (_M_buf_size): Moved here.
2902 * include/bits/fstream.tcc (basic_filebuf()): Adjust.
2904 2003-04-28 Paolo Carlini <pcarlini@unitus.it>
2906 * include/bits/streambuf.tcc (__copy_streambufs): Don't use
2907 _M_buf_size (synced input is now correctly dealt with
2908 elsewhere); when the output buffer is full don't fall back
2909 to a snextc-sputc loop, call overflow instead.
2911 2003-04-28 Paolo Carlini <pcarlini@unitus.it>
2913 * include/bits/sstream.tcc (pbackfail): Shorten a bit (6 lines)
2914 the innermost 'if' by factoring out some code.
2916 2003-04-28 Phil Edwards <pme@gcc.gnu.org>
2918 * configure.in: Test for libintl.h.
2919 * include/bits/c++config: Define __N for everybody.
2920 * include/bits/basic_string.h, include/bits/stl_bvector.h,
2921 include/bits/stl_deque.h, include/bits/stl_vector.h,
2922 include/std/std_bitset.h: Wrap all __throw* text with __N.
2923 * po/Makefile.am (pot): New rule, mostly working.
2924 * src/functexcept.cc: Call gettext on all __throw* arguments when
2925 -fexceptions is in effect.
2926 * po/Makefile.in, config.h.in, configure: Regenerate.
2928 2003-04-28 Petur Runolfsson <peturr02@ru.is>
2931 * include/bits/ios_base.h (Init::_S_ios_create,
2932 Init::_S_ios_destroy): Remove declarations.
2933 (Init::_S_create_buffers,
2934 Init::_S_destroy_buffers): Declare
2935 * src/ios.cc (Init::_S_ios_create): Remove
2936 (Init::_S_create_buffers): Create buffers and add to streams.
2937 (Init::_S_ios_destroy): Rename to...
2938 (Init::_S_destroy_buffers): this.
2939 (Init::Init): Only construct streams once.
2940 (Init::~Init): Flush streams, don't destroy them.
2941 (ios_base::sync_with_stdio): Don't destroy streams, only buffers.
2942 * testsuite/27_io/ios_base/sync_with_stdio/9523.cc: New test.
2943 * testsuite/27_io/objects/char/5.cc: New test.
2944 * testsuite/27_io/objects/char/5268.cc: Avoid undefined behavior.
2945 * testsuite/27_io/objects/char/6.cc: New test.
2946 * testsuite/27_io/objects/char/7.cc: New test.
2948 2003-04-28 Benjamin Kosnik <bkoz@redhat.com>
2950 * testsuite/27_io/objects/char/8.cc: New test.
2952 2003-04-28 Benjamin Kosnik <bkoz@redhat.com>
2954 * testsuite/22_locale/codecvt/unicode/char.cc: Remove bom usage.
2955 * testsuite/22_locale/codecvt/unicode/wchar_t.cc: Same.
2957 2003-04-27 Benjamin Kosnik <bkoz@redhat.com>
2959 * include/std/std_fstream.h (basic_filebuf): _M_pback_destroy to
2960 _M_destroy_pback. _M_pback_create to
2961 _M_create_pback. _M_underflow_common to
2962 _M_underflow. _M_really_overflow to _M_overflow.
2963 * include/bits/fstream.tcc: Same.
2964 * src/fstream.cc: Same.
2965 * include/std/std_streambuf.h (basic_streambuf): _M_in_cur_move to
2966 _M_move_in_cur. _M_out_cur_move to _M_move_out_cur.
2967 * include/bits/streambuf.tcc: Same.
2968 * include/bits/fstream.tcc: Same.
2969 * include/bits/sstream.tcc: Same.
2971 2003-04-27 Benjamin Kosnik <bkoz@redhat.com>
2973 * include/bits/locale_classes.h (locale::_Impl): Change _M_names
2974 from fixed size array.
2975 (locale): Change _S_categories as well.
2977 * include/bits/locale_facets.tcc: Tweak.
2978 * config/locale/gnu/c_locale.cc: Assign _S_categories.
2979 * config/locale/generic/c_locale.cc: Same.
2980 * src/locale.cc: Tweak.
2981 * src/globals.cc: Change facet_name to name_vec, add names_c.
2982 * src/localename.cc: Use them.
2983 (locale::_Impl::~_Impl): Destroy _M_names.
2984 (locale::_Impl::_Impl): Create _M_names.
2986 2003-04-27 Andreas Schwab <schwab@suse.de>
2988 * config/locale/ieee_1003.1-2001/codecvt_specializations.h
2989 (__enc_traits): Use __ibom and __ebom instead of ignoring them.
2991 2003-04-27 Nathan Myers <ncm@cantrip.org>
2993 Move some basic_string members out of line because
2994 they are too big to reasonably be inline.
2995 * include/bits/basic_string.h
2996 (assign(const basic_string&, size_type, size_type),
2997 assign(const _CharT*, size_type),
2998 insert(size_type, const basic_string&, size_type, size_type),
2999 insert(size_type, const _CharT*, size_type),
3000 replace(size_type, size_type, const _CharT*, size_type)):
3001 Move from here to...
3002 * include/bits/basic_string.tcc: ...here.
3004 2003-04-26 Paolo Carlini <pcarlini@unitus.it>
3006 * include/bits/fstream.tcc (pbackfail): Shorten a bit (10 lines)
3007 the innermost 'if' by factoring out some code.
3009 2003-04-26 Paolo Carlini <pcarlini@unitus.it>
3011 * include/bits/streambuf.tcc (__copy_streambufs): Don't
3012 use in_avail(), simplify.
3014 2003-04-26 Paolo Carlini <pcarlini@unitus.it>
3016 * include/std/std_sstream.h (setbuf): don't set _M_buf_size,
3017 in basic_stringbuf it's unused.
3019 * include/std/std_sstream.h (underflow): consistently use
3020 _M_in_cur, not gptr().
3022 2003-04-25 Ranjit Mathew <rmathew@hotmail.com>
3023 Phil Edwards <pme@gcc.gnu.org>
3025 * testsuite_flags.in: Guard against the possibility
3026 of having "xgcc" as a part of a folder name in the
3027 path to the GCC build folder.
3028 * testsuite/Makefile.am: Likewise.
3029 * testsuite/Makefile.in: Regenerated.
3031 2003-04-25 Benjamin Kosnik <bkoz@redhat.com>
3034 * include/std/std_fstream.h (basic_filebuf::is_open): Add throw()
3035 exception specifications.
3036 (basic_filebuf::close): Same.
3037 (basic_filebuf::_M_pback_destroy): Same.
3038 (basic_filebuf::_M_destroy_internal_buffer): Same.
3039 (basic_filebuf): Remove __res_type typedef.
3040 * src/fstream.cc: Same.
3041 * include/bits/fstream.tcc
3042 (basic_filebuf::_M_convert_to_external): Simplify.
3043 (basic_filebuf::seekoff): Use has_facet before use_facet.
3044 (basic_filebuf::close): Add exception specification of throw().
3045 * testsuite/27_io/basic_filebuf/cons: New.
3046 * testsuite/27_io/basic_filebuf/cons/wchar_t: New.
3047 * testsuite/27_io/basic_filebuf/cons/wchar_t/10132-1.cc: New.
3048 * testsuite/27_io/basic_filebuf/seekoff/10132-2.cc: New.
3049 * testsuite/27_io/basic_filebuf/seekpos/10132-3.cc: New.
3051 2003-04-25 Benjamin Kosnik <bkoz@redhat.com>
3053 * include/bits/locale_classes.h
3054 (locale::_S_extra_categories_size): Remove.
3055 * src/locale.cc: Remove _S_extra_categories_size.
3056 * src/localename.cc: Same.
3057 * config/locale/gnu/c_locale.cc: Same.
3058 * config/locale/generic/c_locale.cc: Same.
3060 2003-04-24 Richard Sandiford <rsandifo@redhat.com>
3062 * src/localename.cc (__gnu_cxx::facet_vec): Correct types.
3064 2003-04-24 Phil Edwards <pme@gcc.gnu.org>
3066 * docs/html/17_intro/howto.html: Update some links.
3067 * docs/html/18_support/howto.html: Link doxygen numeric_limits notes.
3068 * docs/html/27_io/howto.html: Link doxygen stdio_filebuf notes.
3069 * docs/html/ext/howto.html: Link to demangler notes and API.
3070 * docs/html/faq/index.html: Remove trailing whitespace.
3071 (1.4, 2.4, 3.8, 4.1): Bring up to date.
3072 (5.6): Change to a bulleted list.
3074 * docs/html/faq/index.txt, docs/html/documentation.html,
3075 docs/html/17_intro/porting.html: Regenerate.
3077 2003-04-23 Paolo Carlini <pcarlini@unitus.it>
3079 * testsuite/27_io/basic_filebuf/3.cc: _S_pback_size now
3080 belongs to basic_filebuf.
3081 * testsuite/27_io/basic_fstream/3.cc: Likewise.
3082 * testsuite/27_io/basic_ifstream/3.cc: Likewise.
3083 * testsuite/27_io/basic_ios/3.cc: Remove _S_pback_size
3084 instantiation (now belongs to basic_filebuf).
3085 * testsuite/27_io/basic_iostream/3.cc: Likewise.
3086 * testsuite/27_io/basic_istream/3.cc: Likewise.
3087 * testsuite/27_io/basic_istream/sentry/char/3983-fstream.cc:
3088 _S_pback_size now belongs to basic_filebuf.
3089 * testsuite/27_io/basic_istringstream/3.cc: Remove _S_pback_size
3090 instantiation (now belongs to basic_filebuf).
3091 * testsuite/27_io/basic_ofstream/3.cc: _S_pback_size now
3092 belongs to basic_filebuf.
3093 * testsuite/27_io/basic_ostream/3.cc: Remove _S_pback_size
3094 instantiation (now belongs to basic_filebuf).
3095 * testsuite/27_io/basic_ostream/sentry/char/3983-fstream.cc:
3096 _S_pback_size now belongs to basic_filebuf.
3097 * testsuite/27_io/basic_ostringstream/3.cc: Remove _S_pback_size
3098 instantiation (now belongs to basic_filebuf).
3099 * testsuite/27_io/basic_streambuf/3.cc: _S_pback_size now belongs
3101 * testsuite/27_io/basic_stringbuf/3.cc: Remove _S_pback_size
3102 instantiation (now belongs to basic_filebuf).
3103 * testsuite/27_io/basic_stringstream/3.cc: Likewise.
3105 2003-04-23 Benjamin Kosnik <bkoz@redhat.com>
3107 * configure.in: Move GLIBCPP_CHECK_PCH before native/cross conditions.
3108 * configure: Regenerated.
3110 2003-04-23 Benjamin Kosnik <bkoz@redhat.com>
3112 * config/locale/generic/c_locale.h (__convert_from_v): Use
3115 2003-04-23 Phil Edwards <pme@gcc.gnu.org>
3117 * docs/html/ext/howto.html ('LWG Issues'): Add issue 60, partial
3118 implementation only.
3119 * include/bits/istream.tcc (putback, unget, sync, tellg, seekg):
3120 Comment and change to comply with DR 60 and the effect on gcount().
3121 * include/std/std_istream.h: Update comments.
3122 * testsuite/27_io/basic_istream/putback/char/1.cc (test01): Add
3123 comments about reasons for tests. Test sync() against gcount().
3124 * testsuite/27_io/basic_istream/seekg/char/2.cc: New file, test
3125 for effect on gcount().
3126 * testsuite/27_io/basic_istream/tellg/char/2.cc: New file, test
3127 for effect on gcount().
3129 2003-04-22 Loren J. Rittle <ljrittle@acm.org>
3131 * testsuite/27_io/basic_filebuf/close/char/9964.cc (test_07):
3134 2003-04-22 Paolo Carlini <pcarlini@unitus.it>
3136 * include/std/std_streambuf.h (_S_pback_size, _M_pback,
3137 _M_pback_cur_save, _M_pback_end_save, _M_pback_init,
3138 _M_pback_create(), _M_pback_destroy()): Move to basic_filebuf.
3139 (basic_streambuf::basic_streambuf()): Adjust.
3140 * include/std/std_fstream.h (_S_pback_size, _M_pback,
3141 _M_pback_cur_save, _M_pback_end_save, _M_pback_init,
3142 _M_pback_create(), _M_pback_destroy()): Moved here
3143 from basic_streambuf.
3144 * include/bits/fstream.tcc (basic_filebuf::basic_filebuf()):
3146 (basic_filebuf::_S_pback_size): Add declaration.
3147 * include/bits/streambuf.tcc (basic_streambuf::_S_pback_size):
3150 2003-04-21 Paolo Carlini <pcarlini@unitus.it>
3152 Consistently use _M_in_beg instead of eback(), _M_in_cur
3153 instead of gptr(), and so on.
3154 * include/bits/fstream.tcc (pbackfail, imbue): Here.
3155 * include/bits/sstream.tcc (pbackfail, seekoff, seekpos): Ditto.
3156 * include/bits/streambuf.tcc (sbumpc, sputbackc,
3157 __copy_streambufs): Ditto.
3158 * include/std/std_streambuf.h (sgetc): Ditto.
3160 2003-04-21 Paolo Carlini <pcarlini@unitus.it>
3162 * include/bits/sstream.tcc (pbackfail, overflow):
3165 2003-04-21 Paolo Carlini <pcarlini@unitus.it>
3167 * include/std/std_streambuf.h (uflow()): It's used only by
3168 basic_stringbuf (i.e., basic_filebuf provide its own uflow()),
3169 therefore do not consider the _M_buf_unified == true case.
3171 * include/std/std_streambuf.h (sgetc()): Restore __ret variable.
3173 2003-04-20 Paolo Carlini <pcarlini@unitus.it>
3175 * docs/html/ext/howto.html ('LWG Issues'):
3176 Add issues 19, 90, 171, 231, 271.
3178 2003-04-20 Paolo Carlini <pcarlini@unitus.it>
3180 * include/bits/sstream.tcc (pbackfail): Remove redundant
3181 NULL pointer check from test involving _M_in_*.
3182 (overflow, seekoff, seekpos): Const qualify bool variables.
3183 * include/std/std_sstream.h (underflow): Remove redundant
3184 NULL pointer check from test involving _M_in_*.
3185 (_M_really_sync): Const qualify bool variables.
3186 * src/fstream.cc (_M_underflow_common): Remove redundant
3187 NULL pointer check from test involving _M_in_*, const qualify
3190 * include/std/std_streambuf.h (sgetc): Remove redundant
3193 2003-04-18 Paolo Carlini <pcarlini@unitus.it>
3195 According to 5.9 para 2 (second bullet) for pointers p, q
3196 pointing to the same type, with p == 0 and q == 0, (p < q)
3198 * include/bits/fstream.tcc (close, overflow, _M_really_overflow,
3199 seekoff): Remove redundant NULL pointer checks from tests
3200 involving _M_out_* and _M_in_*, const qualify bool variables.
3201 (showmanyc, pbackfail, _M_convert_to_external, imbue): Const
3202 qualify bool variables.
3203 * include/bits/streambuf.tcc (sbumpc, sputbackc, sungetc, sputc):
3204 Remove redundant NULL pointer checks from tests involving
3205 _M_out_* and _M_in_*, const qualify bool variables.
3206 * include/std/std_fstream.h (sync): Likewise.
3207 (_M_is_indeterminate): Const qualify bool variables.
3208 * include/std/std_streambuf.h (sgetc, uflow): Remove redundant
3209 NULL pointer checks from tests involving _M_out_* and _M_in_*,
3210 const qualify bool variables.
3211 (_M_in_cur_move, _M_out_cur_move, uflow): Const qualify bool
3214 2003-04-18 Loren J. Rittle <ljrittle@acm.org>
3216 * include/c_std/std_cmath.h (C99 FP capture): Only undefine said
3217 C99 FP macros, if actually captured.
3219 * docs/html/17_intro/porting.texi (_GLIBCPP_USE_C99_CHECK): New macro.
3220 (_GLIBCPP_USE_C99_DYNAMIC): New macro.
3221 (_GLIBCPP_USE_C99_LONG_LONG_CHECK): New macro.
3222 (_GLIBCPP_USE_C99_LONG_LONG_DYNAMIC): New macro.
3223 * config/os/bsd/freebsd/os_defines.h (_GLIBCPP_USE_C99_CHECK):
3225 (_GLIBCPP_USE_C99_DYNAMIC): New macro.
3226 (_GLIBCPP_USE_C99_LONG_LONG_CHECK): New macro.
3227 (_GLIBCPP_USE_C99_LONG_LONG_DYNAMIC): New macro.
3228 * include/c_std/std_cstdlib.h: Use new macros.
3229 * include/c_std/std_cstdio.h: Use new macros.
3230 * include/c_std/std_cwchar.h: Use new macros.
3232 2003-04-17 Benjamin Kosnik <bkoz@redhat.com>
3235 * include/bits/ostream.tcc: Catch all exceptions for formatted
3236 output, instead of std::exception and derivatives.
3237 * include/bits/istream.tcc: Same.
3238 * testsuite/27_io/basic_ostream/inserters_arithmetic/char/9555-oa.cc:
3239 * testsuite/27_io/basic_ostream/inserters_character/char/9555-oc.cc:
3240 * testsuite/27_io/basic_ostream/inserters_other/char/9555-oo.cc:
3241 * testsuite/27_io/basic_istream/extractors_arithmetic/char/9555-ia.cc:
3242 * testsuite/27_io/basic_istream/extractors_character/char/9555-ic.cc:
3243 * testsuite/27_io/basic_istream/extractors_other/char/9555-io.cc:
3246 2003-04-17 Phil Edwards <pme@gcc.gnu.org>
3248 * include/bits/c++config: Minor cosmetic tweaks.
3250 2003-04-17 Loren J. Rittle <ljrittle@acm.org>
3252 * testsuite_flags.in (PCHFLAGS): Find PCH in new home.
3253 * include/Makefile.am (pch_input): Find in ${target_builddir}.
3254 (pch_output): Rename to...
3255 (pch_output_builddir): ..this. Find in ${target_builddir}.
3256 (pch_source): Tweak.
3257 (pch_build): Key off a built file.
3258 (pch_output rule): Rename to...
3259 (pch_input rule): ...this. Produce ${pch_output_builddir}
3260 instead of ${pch_output}.
3261 (install-pch rule): Install ${pch_output_builddir}.
3262 * include/Makefile.in: Regenerated.
3264 2003-04-17 Paolo Carlini <pcarlini@unitus.it>
3266 * include/std/std_streambuf.h (setp): _M_out_lim, being
3267 the end limit of used put area, is set equal to _M_out_beg.
3269 2003-04-16 Benjamin Kosnik <bkoz@redhat.com>
3271 * acinclude.m4 (GLIBCPP_CHECK_PCH): New.
3272 * aclocal.m4: Regenerated.
3273 * configure.in: Remove old demangler bits.
3275 * configure: Regenerate.
3276 * config.h.in: Regenerate.
3277 * include/Makefile.am (allstamps): Now allstamped.
3278 (allcreated): Define this.
3279 (all-local): Use 'em.
3280 Conditionally define pch_build, pch_install based on
3282 (${pch_output}): New rule.
3283 (install-pch): New rule.
3284 (install-headers): New rule.
3285 (install-data-local): Install headers and conditionally pch.
3286 * include/Makefile.in: Regenerate.
3287 * testsuite_flags.in (--build-cxx): Use pch file.
3289 2003-04-16 Jonathan Wakely <redi@gcc.gnu.org>
3291 * docs/html/ext/sgiexts.html: Fix path to stylesheet.
3293 2003-04-15 Benjamin Kosnik <bkoz at redhat dot com>
3294 Paolo Carlini <pcarlini at unitus dot it>
3297 * docs/html/27_io/howto.html
3298 ('The buffering is screwing up my program!'): Explain that
3299 opening counts as an I/O operation.
3301 2003-04-15 Andreas Tobler <a.tobler@schweiz.ch>
3303 * testsuite/thread/pthread1.cc: Enable for darwin test.
3304 * testsuite/thread/pthread2.cc: Same.
3305 * testsuite/thread/pthread3.cc: Same.
3306 * testsuite/thread/pthread4.cc: Same.
3307 * testsuite/thread/pthread5.cc: Same.
3308 * testsuite/thread/pthread6.cc: Same.
3310 2003-04-15 Loren J. Rittle <ljrittle@acm.org>
3313 * include/c_std/std_cmath.h (__gnu_cx::__c99_binding): New namespace.
3314 Populate it with multiple legal ways to obtain the C99 float
3315 transcendentals. Use them instead of direct global reference.
3316 (C99 FP capture): Guard usage with _GLIBCPP_USE_C99_FP_MACROS_DYNAMIC.
3317 * docs/html/17_intro/porting.texi
3318 (_GLIBCPP_USE_C99_FLOAT_TRANSCENDENTALS_CHECK): New macro.
3319 (_GLIBCPP_USE_C99_FLOAT_TRANSCENDENTALS_DYNAMIC): New macro.
3320 (_GLIBCPP_USE_C99_FP_MACROS_DYNAMIC): New macro.
3321 * config/os/bsd/freebsd/os_defines.h
3322 (_GLIBCPP_USE_C99_FLOAT_TRANSCENDENTALS_CHECK): New macro.
3323 (_GLIBCPP_USE_C99_FLOAT_TRANSCENDENTALS_DYNAMIC): New macro.
3324 * testsuite/26_numerics/c_math_dynamic.cc: New file.
3326 2003-04-14 Andreas Tobler <toa@pop.agri.ch>
3327 Benjamin Kosnik <bkoz@redhat.com>
3329 * config/os/generic/ctype_inline.h: Fix.
3331 2003-04-14 Benjamin Kosnik <bkoz@redhat.com>
3333 * testsuite/testsuite_hooks.h
3334 (__gnu_cxx_test::run_test_wrapped_generic_locale_exception_catcher):
3335 Change to try_named_locale.
3336 * testsuite/testsuite_hooks.cc (__gnu_cxx_test): Same.
3338 * testsuite/22_locale/codecvt/always_noconv/wchar_t/2.cc: Use
3340 * testsuite/22_locale/codecvt/always_noconv/wchar_t/3.cc: Same.
3341 * testsuite/22_locale/codecvt/always_noconv/wchar_t/4.cc: Same.
3342 * testsuite/22_locale/codecvt/encoding/wchar_t/2.cc: Same.
3343 * testsuite/22_locale/codecvt/encoding/wchar_t/3.cc: Same.
3344 * testsuite/22_locale/codecvt/encoding/wchar_t/4.cc: Same.
3345 * testsuite/22_locale/codecvt/in/wchar_t/2.cc: Same.
3346 * testsuite/22_locale/codecvt/in/wchar_t/3.cc: Same.
3347 * testsuite/22_locale/codecvt/in/wchar_t/4.cc: Same.
3348 * testsuite/22_locale/codecvt/in/wchar_t/7.cc: Same.
3349 * testsuite/22_locale/codecvt/in/wchar_t/8.cc: Same.
3350 * testsuite/22_locale/codecvt/in/wchar_t/9.cc: Same.
3351 * testsuite/22_locale/codecvt/length/wchar_t/2.cc: Same.
3352 * testsuite/22_locale/codecvt/length/wchar_t/3.cc: Same.
3353 * testsuite/22_locale/codecvt/length/wchar_t/4.cc: Same.
3354 * testsuite/22_locale/codecvt/length/wchar_t/7.cc: Same.
3355 * testsuite/22_locale/codecvt/max_length/wchar_t/2.cc: Same.
3356 * testsuite/22_locale/codecvt/max_length/wchar_t/3.cc: Same.
3357 * testsuite/22_locale/codecvt/max_length/wchar_t/4.cc: Same.
3358 * testsuite/22_locale/codecvt/out/wchar_t/2.cc: Same.
3359 * testsuite/22_locale/codecvt/out/wchar_t/3.cc: Same.
3360 * testsuite/22_locale/codecvt/out/wchar_t/4.cc: Same.
3361 * testsuite/22_locale/codecvt/out/wchar_t/7.cc: Same.
3362 * testsuite/22_locale/codecvt/unshift/wchar_t/2.cc: Same.
3363 * testsuite/22_locale/codecvt/unshift/wchar_t/3.cc: Same.
3364 * testsuite/22_locale/codecvt/unshift/wchar_t/4.cc: Same.
3365 * testsuite/22_locale/collate/compare/char/1.cc: Same.
3366 * testsuite/22_locale/collate/compare/char/2.cc: Same.
3367 * testsuite/22_locale/collate/compare/char/3.cc: Same.
3368 * testsuite/22_locale/collate/compare/wchar_t/1.cc: Same.
3369 * testsuite/22_locale/collate/compare/wchar_t/2.cc: Same.
3370 * testsuite/22_locale/collate/compare/wchar_t/3.cc: Same.
3371 * testsuite/22_locale/collate/hash/char/2.cc: Same.
3372 * testsuite/22_locale/collate/hash/wchar_t/2.cc: Same.
3373 * testsuite/22_locale/collate/transform/char/2.cc: Same.
3374 * testsuite/22_locale/collate/transform/char/3.cc: Same.
3375 * testsuite/22_locale/collate/transform/wchar_t/2.cc: Same.
3376 * testsuite/22_locale/collate/transform/wchar_t/3.cc: Same.
3377 * testsuite/22_locale/collate_byname/1.cc: Same.
3378 * testsuite/22_locale/ctype/is/char/2.cc: Same.
3379 * testsuite/22_locale/ctype/is/wchar_t/2.cc: Same.
3380 * testsuite/22_locale/ctype/narrow/wchar_t/3.cc: Same.
3381 * testsuite/22_locale/ctype/widen/wchar_t/2.cc: Same.
3382 * testsuite/22_locale/ctype/widen/wchar_t/3.cc: Same.
3383 * testsuite/22_locale/facet/2.cc: Same.
3384 * testsuite/22_locale/locale/cons/2.cc: Same.
3385 * testsuite/22_locale/locale/cons/4.cc: Same.
3386 * testsuite/22_locale/locale/cons/5.cc: Same.
3387 * testsuite/22_locale/locale/cons/7.cc: Same.
3388 * testsuite/22_locale/locale/cons/7222-c.cc: Same.
3389 * testsuite/22_locale/locale/cons/7222-env.cc: Same.
3390 * testsuite/22_locale/locale/global_locale_objects/2.cc: Same.
3391 * testsuite/22_locale/messages/members/char/1.cc: Same.
3392 * testsuite/22_locale/messages/members/char/2.cc: Same.
3393 * testsuite/22_locale/messages/members/char/3.cc: Same.
3394 * testsuite/22_locale/messages_byname/1.cc: Same.
3395 * testsuite/22_locale/money_get/get/char/1.cc: Same.
3396 * testsuite/22_locale/money_get/get/char/2.cc: Same.
3397 * testsuite/22_locale/money_get/get/char/3.cc: Same.
3398 * testsuite/22_locale/money_get/get/char/4.cc: Same.
3399 * testsuite/22_locale/money_get/get/wchar_t/1.cc: Same.
3400 * testsuite/22_locale/money_get/get/wchar_t/2.cc: Same.
3401 * testsuite/22_locale/money_get/get/wchar_t/3.cc: Same.
3402 * testsuite/22_locale/money_get/get/wchar_t/4.cc: Same.
3403 * testsuite/22_locale/money_put/put/char/1.cc: Same.
3404 * testsuite/22_locale/money_put/put/char/2.cc: Same.
3405 * testsuite/22_locale/money_put/put/char/3.cc: Same.
3406 * testsuite/22_locale/money_put/put/wchar_t/1.cc: Same.
3407 * testsuite/22_locale/money_put/put/wchar_t/2.cc: Same.
3408 * testsuite/22_locale/money_put/put/wchar_t/3.cc: Same.
3409 * testsuite/22_locale/moneypunct/members/char/2.cc: Same.
3410 * testsuite/22_locale/moneypunct/members/wchar_t/2.cc: Same.
3411 * testsuite/22_locale/moneypunct_byname/1.cc: Same.
3412 * testsuite/22_locale/num_get/get/char/1.cc: Same.
3413 * testsuite/22_locale/num_get/get/char/2.cc: Same.
3414 * testsuite/22_locale/num_get/get/char/3.cc: Same.
3415 * testsuite/22_locale/num_get/get/char/5.cc: Same.
3416 * testsuite/22_locale/num_get/get/char/6.cc: Same.
3417 * testsuite/22_locale/num_get/get/wchar_t/1.cc: Same.
3418 * testsuite/22_locale/num_get/get/wchar_t/2.cc: Same.
3419 * testsuite/22_locale/num_get/get/wchar_t/3.cc: Same.
3420 * testsuite/22_locale/num_get/get/wchar_t/5.cc: Same.
3421 * testsuite/22_locale/num_get/get/wchar_t/6.cc: Same.
3422 * testsuite/22_locale/num_put/put/char/1.cc: Same.
3423 * testsuite/22_locale/num_put/put/char/2.cc: Same.
3424 * testsuite/22_locale/num_put/put/char/3.cc: Same.
3425 * testsuite/22_locale/num_put/put/char/5.cc: Same.
3426 * testsuite/22_locale/num_put/put/wchar_t/1.cc: Same.
3427 * testsuite/22_locale/num_put/put/wchar_t/2.cc: Same.
3428 * testsuite/22_locale/num_put/put/wchar_t/3.cc: Same.
3429 * testsuite/22_locale/num_put/put/wchar_t/5.cc: Same.
3430 * testsuite/22_locale/numpunct/members/char/1.cc: Same.
3431 * testsuite/22_locale/numpunct/members/char/2.cc: Same.
3432 * testsuite/22_locale/numpunct/members/wchar_t/1.cc: Same.
3433 * testsuite/22_locale/numpunct/members/wchar_t/2.cc: Same.
3434 * testsuite/22_locale/numpunct_byname/1.cc: Same.
3435 * testsuite/22_locale/numpunct_byname/2.cc: Same.
3436 * testsuite/22_locale/time_get/date_order/char/1.cc: Same.
3437 * testsuite/22_locale/time_get/date_order/wchar_t/1.cc: Same.
3438 * testsuite/22_locale/time_get/get_date/char/1.cc: Same.
3439 * testsuite/22_locale/time_get/get_date/char/2.cc: Same.
3440 * testsuite/22_locale/time_get/get_date/wchar_t/1.cc: Same.
3441 * testsuite/22_locale/time_get/get_date/wchar_t/2.cc: Same.
3442 * testsuite/22_locale/time_get/get_monthname/char/1.cc: Same.
3443 * testsuite/22_locale/time_get/get_monthname/char/2.cc: Same.
3444 * testsuite/22_locale/time_get/get_monthname/wchar_t/1.cc: Same.
3445 * testsuite/22_locale/time_get/get_monthname/wchar_t/2.cc: Same.
3446 * testsuite/22_locale/time_get/get_time/char/1.cc: Same.
3447 * testsuite/22_locale/time_get/get_time/char/2.cc: Same.
3448 * testsuite/22_locale/time_get/get_time/wchar_t/1.cc: Same.
3449 * testsuite/22_locale/time_get/get_time/wchar_t/2.cc: Same.
3450 * testsuite/22_locale/time_get/get_weekday/char/1.cc: Same.
3451 * testsuite/22_locale/time_get/get_weekday/char/2.cc: Same.
3452 * testsuite/22_locale/time_get/get_weekday/wchar_t/1.cc: Same.
3453 * testsuite/22_locale/time_get/get_weekday/wchar_t/2.cc: Same.
3454 * testsuite/22_locale/time_get/get_year/char/1.cc: Same.
3455 * testsuite/22_locale/time_get/get_year/wchar_t/1.cc: Same.
3456 * testsuite/22_locale/time_put/put/char/1.cc: Same.
3457 * testsuite/22_locale/time_put/put/char/2.cc: Same.
3458 * testsuite/22_locale/time_put/put/char/3.cc: Same.
3459 * testsuite/22_locale/time_put/put/char/4.cc: Same.
3460 * testsuite/22_locale/time_put/put/char/5.cc: Same.
3461 * testsuite/22_locale/time_put/put/char/6.cc: Same.
3462 * testsuite/22_locale/time_put/put/char/7.cc: Same.
3463 * testsuite/22_locale/time_put/put/char/8.cc: Same.
3464 * testsuite/22_locale/time_put/put/wchar_t/1.cc: Same.
3465 * testsuite/22_locale/time_put/put/wchar_t/2.cc: Same.
3466 * testsuite/22_locale/time_put/put/wchar_t/3.cc: Same.
3467 * testsuite/22_locale/time_put/put/wchar_t/4.cc: Same.
3468 * testsuite/22_locale/time_put/put/wchar_t/5.cc: Same.
3469 * testsuite/22_locale/time_put/put/wchar_t/6.cc: Same.
3470 * testsuite/22_locale/time_put/put/wchar_t/7.cc: Same.
3471 * testsuite/22_locale/time_put/put/wchar_t/8.cc: Same.
3472 * testsuite/27_io/basic_filebuf/imbue/char/9322.cc: Same.
3473 * testsuite/27_io/basic_ios/copyfmt/char/2.cc: Same.
3474 * testsuite/27_io/basic_ostream/inserters_arithmetic/char/2.cc: Same.
3475 * testsuite/27_io/basic_streambuf/imbue/char/9322.cc: Same.
3476 * testsuite/27_io/basic_stringbuf/imbue/char/9322.cc: Same.
3478 2003-04-14 Andreas Tobler <toa@pop.agri.ch>
3480 * configure.target (_cpu_incdir_fullpath): Solaris 2.9 uses
3481 solaris includes, not generic.
3483 2003-04-14 Loren J. Rittle <ljrittle@acm.org>
3485 * testsuite/26_numerics/c99_classification_macros_c.cc: Add XFAIL.
3487 * include/std/std_bitset.h (_M_do_find_next): Fix -Wall nit.
3488 * include/bits/concept_check.h: Fix multi-line comment.
3489 * testsuite/17_intro/headers.cc (dg-options): Add -Wall -Wsystem-header
3490 when target is *-*-freebsd*.
3492 2003-04-14 Nathan Myers <ncm@cantrip.org>
3493 Paolo Carlini <pcarlini@unitus.it>
3495 PR libstdc++/9701 (in_avail())
3496 * include/std/std_streambuf.h (in_avail): Simplify, in_avail
3497 doesn't care if there is anything in some putback cell.
3498 * testsuite/27_io/basic_streambuf/in_avail/char/9701-3.cc: Add.
3500 * testsuite/27_io/basic_filebuf/in_avail/char/1.cc: Remove some
3501 unused string literals.
3503 2003-04-14 Paolo Carlini <pcarlini@unitus.it>
3505 * include/bits/fstream.tcc (basic_filebuf::setbuf): Don't set
3506 _M_out_end, _M_set_indeterminate() does it.
3508 2003-04-12 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
3510 * os/hpux/ctype_inline.h: Replace with gnu-linux version.
3512 2003-04-12 David Edelsohn <edelsohn@gnu.org>
3514 * testsuite/27_io/basic_istream/sentry/char/3983-fstream.cc:
3515 Change basic_streambuf instantiation to "unsigned char".
3516 * testsuite/27_io/basic_ostream/sentry/char/3983-fstream.cc: Same.
3518 2003-04-12 Paolo Carlini <pcarlini@unitus.it>
3520 Remove _M_buf_size_opt, use directly _M_buf_size instead.
3521 * include/bits/fstream.tcc
3522 (basic_filebuf::_M_allocate_internal_buffer, setbuf): Remove
3523 references to _M_buf_size_opt.
3524 * include/bits/sstream.tcc (basic_stringbuf::overflow): Likewise.
3525 * include/bits/streambuf.tcc (__copy_streambufs): Likewise, rename
3526 __bufsize to __in_avail and __size_opt to __buf_size.
3527 * include/ext/stdio_filebuf.h (stdio_filebuf::stdio_filebuf): Likewise.
3528 * include/std/std_sstream.h (_M_stringbuf_init, setbuf): Likewise.
3529 * include/std/std_streambuf.h (~basic_streambuf(),
3530 basic_streambuf()): Likewise, remove _M_buf_size_opt member.
3531 * testsuite/27_io/basic_filebuf/close/char/3.cc: Set _M_buf_size.
3532 * testsuite/27_io/basic_filebuf/in_avail/char/1.cc: Likewise.
3533 * testsuite/27_io/basic_filebuf/sbumpc/char/1.cc: Likewise.
3534 * testsuite/27_io/basic_filebuf/seekoff/char/1.cc: Likewise.
3535 * testsuite/27_io/basic_filebuf/seekpos/char/1.cc: Likewise.
3536 * testsuite/27_io/basic_filebuf/sgetc/char/1.cc: Likewise.
3537 * testsuite/27_io/basic_filebuf/sgetn/char/1.cc: Likewise.
3538 * testsuite/27_io/basic_filebuf/snextc/char/1.cc: Likewise.
3539 * testsuite/27_io/basic_filebuf/sputbackc/char/1.cc: Likewise.
3540 * testsuite/27_io/basic_filebuf/sputc/char/1.cc: Likewise.
3541 * testsuite/27_io/basic_filebuf/sputn/char/1.cc: Likewise.
3542 * testsuite/27_io/basic_filebuf/sungetc/char/1.cc: Likewise.
3544 2003-04-12 Paolo Carlini <pcarlini at unitus dot it>
3546 * include/ext/stdio_filebuf.h
3547 (stdio_filebuf::stdio_filebuf(int, openmode, bool, size_t),
3548 stdio_filebuf::stdio_filebuf(__c_file*, openmode, size_t):
3549 _M_buf_size_opt == 0 only means "not to use an allocated buffer"
3550 since a stack-based buffer is used for small values of the size_t
3552 * include/bits/fstream.tcc (basic_filebuf::_M_really_overflow).
3553 If _M_buf_size != 0 flush out the buffer (any kind, stack-based too).
3554 * testsuite/ext/stdio_filebuf_2.cc: New testfile.
3556 2003-04-12 Paolo Carlini <pcarlini@unitus.it>
3559 * testsuite/27_io/basic_filebuf/showmanyc/char/9533-1.cc: New.
3560 * testsuite/27_io/basic_filebuf/showmanyc/char/9533-2.cc: Ditto.
3562 2003-04-11 Benjamin Kosnik <bkoz@redhat.com>
3564 * testsuite/22_locale/locale/cons/3.cc: Split.
3565 * testsuite/22_locale/locale/cons/7222-c.cc: New.
3566 * testsuite/22_locale/locale/cons/7222-env.cc: New.
3567 Check before trying to create a locale from the environment.
3568 * testsuite/27_io/ios_base/state/1.cc (test02): Use "C" locale.
3569 * testsuite/27_io/basic_istream/extractors_arithmetic/char/12.cc:
3572 2003-04-11 Benjamin Kosnik <bkoz@redhat.com>
3574 * testsuite/22_locale/ctype/is/char/3.cc (test03): Use the classic
3575 locale to construct this hybrid locale, not the global locale.
3577 2003-04-11 Benjamin Kosnik <bkoz@redhat.com>
3579 * testsuite/27_io/basic_istream/sentry/char/3983-fstream.cc: Add
3580 instantiation for AIX.
3581 * testsuite/27_io/basic_ostream/sentry/char/3983-fstream.cc: Same.
3582 * testsuite/25_algorithms/min_max.cc: Same.
3584 2003-04-10 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
3586 * basic_file_stdio.cc (__basic_file<char>::close): Don't flush stream
3587 twice. Always set _M_cfile to 0 when stream was open.
3589 2003-04-09 Benjamin Kosnik <bkoz@redhat.com>
3591 Reshuffle 27_io testsuite. * testsuite/27_io/filebuf.cc,
3592 filebuf_members-1.tst, filebuf_members-1.txt, filebuf_members.cc,
3593 filebuf_virtuals-1.tst, filebuf_virtuals-1.txt,
3594 filebuf_virtuals-2.tst, filebuf_virtuals-3.tst,
3595 filebuf_virtuals.cc, fpos.cc, fstream.cc, fstream_members.cc,
3596 ifstream.cc, ifstream_members-1.tst, ifstream_members-1.txt,
3597 ifstream_members.cc, instantiations.cc, ios.cc,
3598 ios_base_callbacks.cc, ios_base_members_static-1.tst,
3599 ios_base_members_static.cc, ios_base_storage.cc,
3600 ios_base_types.cc, ios_ctor.cc, ios_init.cc,
3601 ios_manip_basefield.cc, ios_manip_fmtflags.cc, ios_members.cc,
3602 iostream.cc, iostream_members.cc, istream.cc,
3603 istream_exception.cc, istream_extractor_char.cc,
3604 istream_extractor_other-1.tst, istream_extractor_other-1.txt,
3605 istream_extractor_other-2.tst, istream_extractor_other.cc,
3606 istream_manip.cc, istream_seeks-1.tst, istream_seeks-1.txt,
3607 istream_seeks-2.tst, istream_seeks-3.tst, istream_seeks.cc,
3608 istream_sentry.cc, istream_unformatted-1.tst,
3609 istream_unformatted-1.txt, istream_unformatted.cc,
3610 istringstream.cc, istringstream_members.cc,
3611 narrow_stream_objects.cc, ofstream.cc, ofstream_members-1.tst,
3612 ofstream_members.cc, ostream.cc, ostream_exception.cc,
3613 ostream_fail.cc, ostream_inserter_arith.cc,
3614 ostream_inserter_char-1.tst, ostream_inserter_char-1.txt,
3615 ostream_inserter_char.cc, ostream_inserter_other-1.tst,
3616 ostream_inserter_other-2.tst, ostream_inserter_other.cc,
3617 ostream_manip.cc, ostream_seeks-1.tst, ostream_seeks.cc,
3618 ostream_sentry.cc, ostream_unformatted.cc, ostringstream.cc,
3619 ostringstream_members.cc, standard_manipulators.cc, streambuf.cc,
3620 streambuf_members.cc, stringbuf.cc, stringbuf_members.cc,
3621 stringbuf_virtuals.cc, stringstream.cc, stringstream_members.cc,
3622 wide_stream_objects.cc, istream_extractor_arith/01.cc,
3623 istream_extractor_arith/02.cc, istream_extractor_arith/03.cc,
3624 istream_extractor_arith/06.cc, istream_extractor_arith/07.cc,
3625 istream_extractor_arith/08.cc, istream_extractor_arith/09.cc,
3626 istream_extractor_arith/10.cc, istream_extractor_arith/11.cc,
3627 istream_extractor_arith/12.cc, istream_extractor_arith/13.cc:
3629 * 27_io/basic_filebuf/1.cc: New.
3630 * 27_io/basic_filebuf/2.cc: New.
3631 * 27_io/basic_filebuf/3.cc: New.
3632 * 27_io/basic_filebuf/4.cc: New.
3633 * 27_io/basic_filebuf/close/char/1.cc: New.
3634 * 27_io/basic_filebuf/close/char/2.cc: New.
3635 * 27_io/basic_filebuf/close/char/3.cc: New.
3636 * 27_io/basic_filebuf/close/char/4879.cc: New.
3637 * 27_io/basic_filebuf/close/char/9964.cc: New.
3638 * 27_io/basic_filebuf/imbue/char/1.cc: New.
3639 * 27_io/basic_filebuf/imbue/char/9322.cc: New.
3640 * 27_io/basic_filebuf/in_avail/char/1.cc: New.
3641 * 27_io/basic_filebuf/is_open/char/1.cc: New.
3642 * 27_io/basic_filebuf/open/char/1.cc: New.
3643 * 27_io/basic_filebuf/open/char/2.cc: New.
3644 * 27_io/basic_filebuf/open/char/3.cc: New.
3645 * 27_io/basic_filebuf/open/char/9507.cc: New.
3646 * 27_io/basic_filebuf/overflow/char/1.cc: New.
3647 * 27_io/basic_filebuf/overflow/char/3599.cc: New.
3648 * 27_io/basic_filebuf/overflow/char/9169.cc: New.
3649 * 27_io/basic_filebuf/overflow/char/9182-2.cc: New.
3650 * 27_io/basic_filebuf/overflow/char/9988.cc: New.
3651 * 27_io/basic_filebuf/sbumpc/char/1.cc: New.
3652 * 27_io/basic_filebuf/sbumpc/char/9825.cc: New.
3653 * 27_io/basic_filebuf/seekoff/char/1.cc: New.
3654 * 27_io/basic_filebuf/seekoff/char/2.cc: New.
3655 * 27_io/basic_filebuf/seekpos/char/1.cc: New.
3656 * 27_io/basic_filebuf/seekpos/char/2.cc: New.
3657 * 27_io/basic_filebuf/setbuf/char/1.cc: New.
3658 * 27_io/basic_filebuf/setbuf/char/2.cc: New.
3659 * 27_io/basic_filebuf/setbuf/char/3.cc: New.
3660 * 27_io/basic_filebuf/sgetc/char/1.cc: New.
3661 * 27_io/basic_filebuf/sgetn/char/1.cc: New.
3662 * 27_io/basic_filebuf/sgetn/char/2.cc: New.
3663 * 27_io/basic_filebuf/snextc/char/1.cc: New.
3664 * 27_io/basic_filebuf/sputbackc/char/1.cc: New.
3665 * 27_io/basic_filebuf/sputbackc/char/9425.cc: New.
3666 * 27_io/basic_filebuf/sputc/char/1.cc: New.
3667 * 27_io/basic_filebuf/sputc/char/1057.cc: New.
3668 * 27_io/basic_filebuf/sputc/char/9701-2.cc: New.
3669 * 27_io/basic_filebuf/sputn/char/1.cc: New.
3670 * 27_io/basic_filebuf/sputn/char/1057.cc: New.
3671 * 27_io/basic_filebuf/sputn/char/9701-1.cc: New.
3672 * 27_io/basic_filebuf/sungetc/char/1.cc: New.
3673 * 27_io/basic_filebuf/sync/char/1057.cc: New.
3674 * 27_io/basic_filebuf/sync/char/9182-1.cc: New.
3675 * 27_io/basic_filebuf/underflow/char/10097.cc: New.
3676 * 27_io/basic_fstream/1.cc: New.
3677 * 27_io/basic_fstream/2.cc: New.
3678 * 27_io/basic_fstream/3.cc: New.
3679 * 27_io/basic_fstream/4.cc: New.
3680 * 27_io/basic_fstream/rdbuf/char/2832.cc: New.
3681 * 27_io/basic_ifstream/1.cc: New.
3682 * 27_io/basic_ifstream/2.cc: New.
3683 * 27_io/basic_ifstream/3.cc: New.
3684 * 27_io/basic_ifstream/4.cc: New.
3685 * 27_io/basic_ifstream/cons/char/1.cc: New.
3686 * 27_io/basic_ifstream/open/char/1.cc: New.
3687 * 27_io/basic_ifstream/rdbuf/char/2832.cc: New.
3688 * 27_io/basic_ios/1.cc: New.
3689 * 27_io/basic_ios/2.cc: New.
3690 * 27_io/basic_ios/3.cc: New.
3691 * 27_io/basic_ios/4.cc: New.
3692 * 27_io/basic_ios/clear/char/1.cc: New.
3693 * 27_io/basic_ios/cons/char/1.cc: New.
3694 * 27_io/basic_ios/cons/char/2.cc: New.
3695 * 27_io/basic_ios/cons/char/3.cc: New.
3696 * 27_io/basic_ios/copyfmt/char/1.cc: New.
3697 * 27_io/basic_ios/copyfmt/char/2.cc: New.
3698 * 27_io/basic_ios/exceptions/char/1.cc: New.
3699 * 27_io/basic_ios/locales/char/1.cc: New.
3700 * 27_io/basic_iostream/1.cc: New.
3701 * 27_io/basic_iostream/2.cc: New.
3702 * 27_io/basic_iostream/3.cc: New.
3703 * 27_io/basic_iostream/4.cc: New.
3704 * 27_io/basic_istream/1.cc: New.
3705 * 27_io/basic_istream/2.cc: New.
3706 * 27_io/basic_istream/3.cc: New.
3707 * 27_io/basic_istream/4.cc: New.
3708 * 27_io/basic_istream/exceptions/char/9561.cc: New.
3709 * 27_io/basic_istream/extractors_arithmetic/char/01.cc: New.
3710 * 27_io/basic_istream/extractors_arithmetic/char/02.cc: New.
3711 * 27_io/basic_istream/extractors_arithmetic/char/03.cc: New.
3712 * 27_io/basic_istream/extractors_arithmetic/char/06.cc: New.
3713 * 27_io/basic_istream/extractors_arithmetic/char/07.cc: New.
3714 * 27_io/basic_istream/extractors_arithmetic/char/08.cc: New.
3715 * 27_io/basic_istream/extractors_arithmetic/char/09.cc: New.
3716 * 27_io/basic_istream/extractors_arithmetic/char/10.cc: New.
3717 * 27_io/basic_istream/extractors_arithmetic/char/11.cc: New.
3718 * 27_io/basic_istream/extractors_arithmetic/char/12.cc: New.
3719 * 27_io/basic_istream/extractors_arithmetic/char/13.cc: New.
3720 * 27_io/basic_istream/extractors_character/char/1.cc: New.
3721 * 27_io/basic_istream/extractors_character/char/2.cc: New.
3722 * 27_io/basic_istream/extractors_character/char/3.cc: New.
3723 * 27_io/basic_istream/extractors_character/char/9826.cc: New.
3724 * 27_io/basic_istream/extractors_other/char/1.cc: New.
3725 * 27_io/basic_istream/extractors_other/char/2.cc: New.
3726 * 27_io/basic_istream/extractors_other/char/3.cc: New.
3727 * 27_io/basic_istream/extractors_other/char/9318-in.cc: New.
3728 * 27_io/basic_istream/extractors_other/char/9424-in.cc: New.
3729 * 27_io/basic_istream/get/char/1.cc: New.
3730 * 27_io/basic_istream/get/char/2.cc: New.
3731 * 27_io/basic_istream/getline/char/1.cc: New.
3732 * 27_io/basic_istream/getline/char/2.cc: New.
3733 * 27_io/basic_istream/getline/char/3.cc: New.
3734 * 27_io/basic_istream/ignore/char/1.cc: New.
3735 * 27_io/basic_istream/ignore/char/6360.cc: New.
3736 * 27_io/basic_istream/ignore/char/7220.cc: New.
3737 * 27_io/basic_istream/peek/char/1.cc: New.
3738 * 27_io/basic_istream/peek/char/6414.cc: New.
3739 * 27_io/basic_istream/putback/char/1.cc: New.
3740 * 27_io/basic_istream/read/char/1.cc: New.
3741 * 27_io/basic_istream/read/char/2.cc: New.
3742 * 27_io/basic_istream/read/char/3.cc: New.
3743 * 27_io/basic_istream/readsome/char/6746-1.cc: New.
3744 * 27_io/basic_istream/readsome/char/6746-2.cc: New.
3745 * 27_io/basic_istream/readsome/char/8258.cc: New.
3746 * 27_io/basic_istream/seekg/char/2346-fstream.cc: New.
3747 * 27_io/basic_istream/seekg/char/2346-sstream.cc: New.
3748 * 27_io/basic_istream/seekg/char/8348-1.cc: New.
3749 * 27_io/basic_istream/seekg/char/8348-2.cc: New.
3750 * 27_io/basic_istream/seekg/char/fstream.cc: New.
3751 * 27_io/basic_istream/seekg/char/sstream.cc: New.
3752 * 27_io/basic_istream/sentry/char/1.cc: New.
3753 * 27_io/basic_istream/sentry/char/2.cc: New.
3754 * 27_io/basic_istream/sentry/char/3.cc: New.
3755 * 27_io/basic_istream/sentry/char/3983-fstream.cc: New.
3756 * 27_io/basic_istream/sentry/char/3983-sstream.cc: New.
3757 * 27_io/basic_istream/tellg/char/1.cc: New.
3758 * 27_io/basic_istream/tellg/char/8348.cc: New.
3759 * 27_io/basic_istream/tellg/char/fstream.cc: New.
3760 * 27_io/basic_istream/tellg/char/sstream.cc: New.
3761 * 27_io/basic_istream/ws/char/1.cc: New.
3762 * 27_io/basic_istringstream/1.cc: New.
3763 * 27_io/basic_istringstream/2.cc: New.
3764 * 27_io/basic_istringstream/3.cc: New.
3765 * 27_io/basic_istringstream/4.cc: New.
3766 * 27_io/basic_istringstream/rdbuf/char/2832.cc: New.
3767 * 27_io/basic_istringstream/str/char/1.cc: New.
3768 * 27_io/basic_ofstream/1.cc: New.
3769 * 27_io/basic_ofstream/2.cc: New.
3770 * 27_io/basic_ofstream/3.cc: New.
3771 * 27_io/basic_ofstream/4.cc: New.
3772 * 27_io/basic_ofstream/cons/char/2.cc: New.
3773 * 27_io/basic_ofstream/open/char/1.cc: New.
3774 * 27_io/basic_ofstream/rdbuf/char/2832.cc: New.
3775 * 27_io/basic_ostream/1.cc: New.
3776 * 27_io/basic_ostream/2.cc: New.
3777 * 27_io/basic_ostream/3.cc: New.
3778 * 27_io/basic_ostream/4.cc: New.
3779 * 27_io/basic_ostream/cons/char/9827.cc: New.
3780 * 27_io/basic_ostream/endl/char/1.cc: New.
3781 * 27_io/basic_ostream/ends/char/1.cc: New.
3782 * 27_io/basic_ostream/ends/char/2.cc: New.
3783 * 27_io/basic_ostream/exceptions/char/9561.cc: New.
3784 * 27_io/basic_ostream/flush/char/1.cc: New.
3785 * 27_io/basic_ostream/inserters_arithmetic/char/1.cc: New.
3786 * 27_io/basic_ostream/inserters_arithmetic/char/2.cc: New.
3787 * 27_io/basic_ostream/inserters_arithmetic/char/3.cc: New.
3788 * 27_io/basic_ostream/inserters_arithmetic/char/4.cc: New.
3789 * 27_io/basic_ostream/inserters_arithmetic/char/4402.cc: New.
3790 * 27_io/basic_ostream/inserters_arithmetic/char/5.cc: New.
3791 * 27_io/basic_ostream/inserters_arithmetic/char/6.cc: New.
3792 * 27_io/basic_ostream/inserters_arithmetic/wchar_t/1.cc: New.
3793 * 27_io/basic_ostream/inserters_character/char/1.cc: New.
3794 * 27_io/basic_ostream/inserters_character/char/2.cc: New.
3795 * 27_io/basic_ostream/inserters_character/char/3.cc: New.
3796 * 27_io/basic_ostream/inserters_character/char/4.cc: New.
3797 * 27_io/basic_ostream/inserters_character/char/5.cc: New.
3798 * 27_io/basic_ostream/inserters_character/char/6.cc: New.
3799 * 27_io/basic_ostream/inserters_character/char/8.cc: New.
3800 * 27_io/basic_ostream/inserters_character/wchar_t/7.cc: New.
3801 * 27_io/basic_ostream/inserters_character/wchar_t/8.cc: New.
3802 * 27_io/basic_ostream/inserters_other/char/1.cc: New.
3803 * 27_io/basic_ostream/inserters_other/char/2.cc: New.
3804 * 27_io/basic_ostream/inserters_other/char/3.cc: New.
3805 * 27_io/basic_ostream/inserters_other/char/4.cc: New.
3806 * 27_io/basic_ostream/inserters_other/char/9318-out.cc: New.
3807 * 27_io/basic_ostream/inserters_other/char/9424-out.cc: New.
3808 * 27_io/basic_ostream/sentry/char/1.cc: New.
3809 * 27_io/basic_ostream/sentry/char/2.cc: New.
3810 * 27_io/basic_ostream/sentry/char/3983-fstream.cc: New.
3811 * 27_io/basic_ostream/sentry/char/3983-sstream.cc: New.
3812 * 27_io/basic_ostream/tellp/char/1.cc: New.
3813 * 27_io/basic_ostream/tellp/char/2.cc: New.
3814 * 27_io/basic_ostringstream/1.cc: New.
3815 * 27_io/basic_ostringstream/2.cc: New.
3816 * 27_io/basic_ostringstream/3.cc: New.
3817 * 27_io/basic_ostringstream/4.cc: New.
3818 * 27_io/basic_ostringstream/cons/char/3.cc: New.
3819 * 27_io/basic_ostringstream/rdbuf/char/2832.cc: New.
3820 * 27_io/basic_ostringstream/str/char/1.cc: New.
3821 * 27_io/basic_ostringstream/str/char/2.cc: New.
3822 * 27_io/basic_streambuf/1.cc: New.
3823 * 27_io/basic_streambuf/2.cc: New.
3824 * 27_io/basic_streambuf/3.cc: New.
3825 * 27_io/basic_streambuf/cons/char/1.cc: New.
3826 * 27_io/basic_streambuf/imbue/char/1.cc: New.
3827 * 27_io/basic_streambuf/imbue/char/9322.cc: New.
3828 * 27_io/basic_streambuf/overflow/char/1.cc: New.
3829 * 27_io/basic_streambuf/overflow/char/2.cc: New.
3830 * 27_io/basic_streambuf/overflow/char/3599.cc: New.
3831 * 27_io/basic_streambuf/sgetc/char/1.cc: New.
3832 * 27_io/basic_streambuf/sgetn/char/1.cc: New.
3833 * 27_io/basic_streambuf/sputbackc/char/9538.cc: New.
3834 * 27_io/basic_streambuf/sputc/char/1057.cc: New.
3835 * 27_io/basic_streambuf/sputn/char/1.cc: New.
3836 * 27_io/basic_streambuf/sputn/char/1057.cc: New.
3837 * 27_io/basic_streambuf/sync/char/1057.cc: New.
3838 * 27_io/basic_stringbuf/1.cc: New.
3839 * 27_io/basic_stringbuf/2.cc: New.
3840 * 27_io/basic_stringbuf/3.cc: New.
3841 * 27_io/basic_stringbuf/4.cc: New.
3842 * 27_io/basic_stringbuf/5.cc: New.
3843 * 27_io/basic_stringbuf/imbue/char/1.cc: New.
3844 * 27_io/basic_stringbuf/imbue/char/9322.cc: New.
3845 * 27_io/basic_stringbuf/in_avail/char/1.cc: New.
3846 * 27_io/basic_stringbuf/overflow/char/2.cc: New.
3847 * 27_io/basic_stringbuf/overflow/char/3599.cc: New.
3848 * 27_io/basic_stringbuf/overflow/char/9988.cc: New.
3849 * 27_io/basic_stringbuf/sbumpc/char/1.cc: New.
3850 * 27_io/basic_stringbuf/sbumpc/char/9825.cc: New.
3851 * 27_io/basic_stringbuf/seekoff/char/1.cc: New.
3852 * 27_io/basic_stringbuf/seekoff/char/2.cc: New.
3853 * 27_io/basic_stringbuf/seekpos/char/1.cc: New.
3854 * 27_io/basic_stringbuf/seekpos/char/2.cc: New.
3855 * 27_io/basic_stringbuf/setbuf/char/1.cc: New.
3856 * 27_io/basic_stringbuf/setbuf/char/2.cc: New.
3857 * 27_io/basic_stringbuf/setbuf/char/3.cc: New.
3858 * 27_io/basic_stringbuf/sgetc/char/1.cc: New.
3859 * 27_io/basic_stringbuf/sgetn/char/1.cc: New.
3860 * 27_io/basic_stringbuf/snextc/char/1.cc: New.
3861 * 27_io/basic_stringbuf/sputbackc/char/1.cc: New.
3862 * 27_io/basic_stringbuf/sputbackc/char/9425.cc: New.
3863 * 27_io/basic_stringbuf/sputc/char/1.cc: New.
3864 * 27_io/basic_stringbuf/sputc/char/1057.cc: New.
3865 * 27_io/basic_stringbuf/sputc/char/9404-1.cc: New.
3866 * 27_io/basic_stringbuf/sputn/char/1.cc: New.
3867 * 27_io/basic_stringbuf/sputn/char/1057.cc: New.
3868 * 27_io/basic_stringbuf/sputn/char/9404-2.cc: New.
3869 * 27_io/basic_stringbuf/str/char/1.cc: New.
3870 * 27_io/basic_stringbuf/str/char/2.cc: New.
3871 * 27_io/basic_stringbuf/str/char/3.cc: New.
3872 * 27_io/basic_stringbuf/str/char/3955.cc: New.
3873 * 27_io/basic_stringbuf/sungetc/char/1.cc: New.
3874 * 27_io/basic_stringbuf/sync/char/1057.cc: New.
3875 * 27_io/basic_stringstream/1.cc: New.
3876 * 27_io/basic_stringstream/2.cc: New.
3877 * 27_io/basic_stringstream/3.cc: New.
3878 * 27_io/basic_stringstream/4.cc: New.
3879 * 27_io/basic_stringstream/rdbuf/char/2832.cc: New.
3880 * 27_io/basic_stringstream/str/char/1.cc: New.
3881 * 27_io/basic_stringstream/str/char/2.cc: New.
3882 * 27_io/basic_stringstream/str/char/3.cc: New.
3883 * 27_io/basic_stringstream/str/char/4.cc: New.
3884 * 27_io/fpos/1.cc: New.
3885 * 27_io/fpos/2.cc: New.
3886 * 27_io/fpos/3.cc: New.
3887 * 27_io/ios_base/callbacks/1.cc: New.
3888 * 27_io/ios_base/state/1.cc: New.
3889 * 27_io/ios_base/storage/1.cc: New.
3890 * 27_io/ios_base/storage/2.cc: New.
3891 * 27_io/ios_base/storage/3.cc: New.
3892 * 27_io/ios_base/sync_with_stdio/1.cc: New.
3893 * 27_io/ios_base/sync_with_stdio/2.cc: New.
3894 * 27_io/manipulators/adjustfield/char/1.cc: New.
3895 * 27_io/manipulators/adjustfield/char/2.cc: New.
3896 * 27_io/manipulators/basefield/char/1.cc: New.
3897 * 27_io/manipulators/standard/char/1.cc: New.
3898 * 27_io/manipulators/standard/char/2.cc: New.
3899 * 27_io/objects/char/1.cc: New.
3900 * 27_io/objects/char/2.cc: New.
3901 * 27_io/objects/char/2523-1_xin.cc: New.
3902 * 27_io/objects/char/2523-1_xin.in: New.
3903 * 27_io/objects/char/2523-2_xin.cc: New.
3904 * 27_io/objects/char/2523-2_xin.in: New.
3905 * 27_io/objects/char/3045.cc: New.
3906 * 27_io/objects/char/3647.cc: New.
3907 * 27_io/objects/char/3_xin.cc: New.
3908 * 27_io/objects/char/3_xin.in: New.
3909 * 27_io/objects/char/4_xin.cc: New.
3910 * 27_io/objects/char/4_xin.in: New.
3911 * 27_io/objects/char/5268.cc: New.
3912 * 27_io/objects/char/5280_xin.cc: New.
3913 * 27_io/objects/char/5280_xin.in: New.
3914 * 27_io/objects/char/6548_xin.cc: New.
3915 * 27_io/objects/char/6548_xin.in: New.
3916 * 27_io/objects/char/6648-1_xin.cc: New.
3917 * 27_io/objects/char/6648-1_xin.in: New.
3918 * 27_io/objects/char/6648-2_xin.cc: New.
3919 * 27_io/objects/char/6648-2_xin.in: New.
3920 * 27_io/objects/char/7744_xin.cc: New.
3921 * 27_io/objects/char/7744_xin.in: New.
3922 * 27_io/objects/wchar_t/1.cc: New.
3923 * 27_io/types/1.cc: New.
3924 * 27_io/types/2.cc: New.
3925 * data/filebuf_members-1.tst: New.
3926 * data/filebuf_members-1.txt: New.
3927 * data/filebuf_virtuals-1.tst: New.
3928 * data/filebuf_virtuals-1.txt: New.
3929 * data/filebuf_virtuals-2.tst: New.
3930 * data/filebuf_virtuals-3.tst: New.
3931 * data/ifstream_members-1.tst: New.
3932 * data/ifstream_members-1.txt: New.
3933 * data/ios_base_members_static-1.tst: New.
3934 * data/istream_extractor_other-1.tst: New.
3935 * data/istream_extractor_other-1.txt: New.
3936 * data/istream_extractor_other-2.tst: New.
3937 * data/istream_seeks-1.tst: New.
3938 * data/istream_seeks-1.txt: New.
3939 * data/istream_seeks-2.tst: New.
3940 * data/istream_seeks-3.tst: New.
3941 * data/istream_unformatted-1.tst: New.
3942 * data/istream_unformatted-1.txt: New.
3943 * data/ofstream_members-1.tst: New.
3944 * data/ostream_inserter_char-1.tst: New.
3945 * data/ostream_inserter_char-1.txt: New.
3946 * data/ostream_inserter_other-1.tst: New.
3947 * data/ostream_inserter_other-2.tst: New.
3948 * data/ostream_seeks-1.tst: New.
3950 2003-04-09 Benjamin Kosnik <bkoz@redhat.com>
3952 * include/bits/sstream.tcc (basic_stringbuf::seekpos): Remove
3953 requirement that __mode must be strict input or output.
3955 * include/std/std_streambuf.h (basic_streambuf::setp): Set
3958 * include/std/std_sstream.h (basic_strinbuf::str): Zero length
3959 output string shouldn't core.
3960 (basic_stringbuf::_M_really_sync): Add base argument. Remove rturn
3962 * include/bits/sstream.tcc: Adjust _M_really_sync bits here.
3964 * include/bits/istream.tcc (basic_istream::putback): Set gcount to
3967 2003-04-09 Benjamin Kosnik <bkoz@redhat.com>
3969 * testsuite/data: New directory.
3970 * testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3-init): Modify
3971 to copy files from the testsuite data directory.
3972 (libstdc++-v3-list-sourcefiles): Add another test list filter, for
3973 testfiles containing _xin, which now means this is an interactive
3974 test and should be run with the interactive dejagnu hooks.
3975 * testsuite/Makefile.am: Remove testsuite_* files.
3976 * testsuite/Makefile.in: Regenerate.
3978 2003-04-09 Zack Weinberg <zack@codesourcery.com>
3980 * docs/html/install.html: Document complete list of locales
3981 required by test suite. Document procedure for installing
3982 said locales under Debian. Solicit instructions for other
3985 2003-04-08 Alexandre Oliva <aoliva@redhat.com>
3987 * include/bits/sstream.tcc (overflow): Make sure operands of min
3988 and max have the same type.
3990 2003-04-04 Jerry Quinn <jlquinn@optonline.net>
3993 * src/ios.cc (ios_base::_M_init): Remove _M_callbacks
3996 2003-03-31 Paolo Carlini <pcarlini@unitus.it>
3998 * include/std/std_streambuf.h (_M_out_buf_size()): Remove.
3999 * include/bits/fstream.tcc (_M_allocate_internal_buffer):
4000 Don't set _M_out_end.
4001 (basic_filebuf::overflow): Replace _M_out_buf_size() with
4002 this->_M_out_cur && this->_M_out_cur < this->_M_out_end.
4003 * include/bits/sstream.tcc (basic_stringbuf::overflow):
4004 Replace _M_out_buf_size() with this->_M_out_cur < this->_M_out_end;
4005 * include/bits/streambuf.tcc (basic_streambuf::sputc):
4006 Replace _M_out_buf_size() with _M_out_cur && _M_out_cur < _M_out_end.
4007 (basic_streambuf::xsputn): Replace _M_out_buf_size() with
4008 _M_out_end - _M_out_cur.
4009 (__copy_streambufs): Likewise.
4010 * include/std/std_fstream.h (_M_set_determinate): Set
4013 2003-03-30 Paolo Carlini <pcarlini@unitus.it>
4015 * include/bits/fstream.tcc (basic_filebuf::showmanyc,
4016 _M_convert_to_external, _M_really_overflow, seekoff): Fix
4017 test for synced buffer.
4018 * include/std/std_fstream.h (sync): Likewise.
4019 * src/fstream.cc (basic_filebuf<char>::_M_underflow_common,
4020 basic_filebuf<wchar_t>::_M_underflow_common): Likewise.
4022 2003-03-28 Benjamin Kosnik <bkoz@redhat.com>
4024 * include/std/std_sstream.h (basic_istringstream): Adjust
4026 (basic_ostringstream): Same.
4027 (basic_stringstream): Same.
4028 * include/std/std_fstream.h (basic_ifstream): Adjust initialization.
4029 (basic_ofstream): Same.
4030 (basic_fstream): Same.
4031 * include/std/std_ostream.h (basic_ostrem): Add protected ctor
4032 that does not call init.
4033 * include/std/std_istream.h (basic_istream): Same.
4034 (basic_iostream): Construct istream, ostream uninitialized, use
4035 init to initialize just once. Add protected ctor that does not
4038 2003-03-28 Paolo Carlini <pcarlini@unitus.it>
4039 Nathan Myers <ncm@cantrip.org>
4042 * include/bits/fstream.tcc (basic_filebuf<>::open): Don't
4044 (basic_filebuf<>::showmanyc): Use the information provided
4045 by codecvt and __basic_file<>::showmanyc_helper to implement
4046 a non-trivial showmanyc.
4047 * config/io/basic_file_stdio.h
4048 (__basic_file<>::showmanyc_helper): New, declare.
4049 * config/io/basic_file_stdio.cc
4050 (__basic_file<>::showmanyc_helper): Define.
4051 (__basic_file<>::_M_open_mode): Don't set O_NONBLOCK.
4052 (__basic_file<char>::open): Don't call fcntl().
4053 * acinclude.m4 (GLIBCPP_CHECK_S_ISREG_OR_S_IFREG,
4054 GLIBCPP_CHECK_POLL): New macros.
4055 * configure.in: Call here.
4056 * acconfig.h: Add #undefs for the corresponding symbols.
4057 * aclocal.m4: Regenerate.
4058 * configure: Regenerate.
4059 * config.h.in: Regenerate.
4061 2003-03-24 Benjamin Kosnik <bkoz@redhat.com>
4063 * config/linker-map.gnu: Remove string export restrictions.
4065 2003-03-24 Paolo Carlini <pcarlini@unitus.it>
4067 * testsuite/21_strings/basic_string/find/char/1.cc: Remove
4068 find_first_of, find_last_of and find_last_not_of tests.
4069 * testsuite/21_strings/basic_string/find/char/2.cc: find_first_of
4070 tests here, new file.
4071 * testsuite/21_strings/basic_string/find/wchar_t/1.cc: Likewise,
4072 remove wchar_t find_first_of, find_last_of and find_last_not_of tests.
4073 * testsuite/21_strings/basic_string/find/wchar_t/2.cc: Likewise,
4074 wchar_t find_first_of tests here, new file.
4075 * testsuite/21_strings/basic_string/rfind/char/2.cc: find_last_of
4077 * testsuite/21_strings/basic_string/rfind/char/3.cc: find_last_not_of
4079 * testsuite/21_strings/basic_string/rfind/wchar_t/2.cc: likewise,
4080 wchar_t find_last_of tests here.
4081 * testsuite/21_strings/basic_string/rfind/wchar_t/3.cc: likewise,
4082 wchar_t find_last_not_of tests here.
4084 2003-03-22 Loren J. Rittle <ljrittle@acm.org>
4086 * config/os/hpux/ctype_noninline.h (ctype<char>::classic_table):
4087 Correct return value.
4089 2003-03-21 Jerry Quinn <jlquinn@optonline.net>
4092 * include/bits/c++config (_GLIBCPP_FAST_MATH): Define.
4093 * include/std/std_complex.h (norm): Use faster,
4094 less accurate computation for builtin float types under --fast-math.
4096 2003-03-21 Magnus Fromreide <gnats@magfr.user.lysator.liu.se>
4098 * testsuite/testsuite_hooks.h: Fix warning nits.
4100 2003-03-19 Alexandre Oliva <aoliva@redhat.com>
4102 * config/cpu/mips/atomicity.h (__exchange_and_add, __atomic_add):
4103 Only .set mips2 for the o32 ABI.
4105 2003-03-19 Paolo Carlini <pcarlini@unitus.it>
4107 * testsuite/21_strings/char_traits/requirements/char/1.cc:
4108 Test char not wchar_t.
4110 2003-03-18 Paolo Carlini <pcarlini@unitus.it>
4112 * testsuite/21_strings/basic_string/append/wchar_t/1.cc:
4113 Correct size, taking into account sizeof(wchar_t).
4115 2003-03-18 Paolo Carlini <pcarlini@unitus.it>
4117 Reshuffle 21_strings testsuite.
4118 * testsuite/21_strings/append.cc, c_strings.cc, invariants.cc,
4119 assign.cc, ctor_copy_dtor.cc, nonmember.cc, capacity.cc,
4120 element_access.cc, operations.cc, char_traits_requirements.cc,
4121 find.cc, replace.cc, char_traits_typedefs.cc, insert.cc, rfind.cc,
4122 compare.cc, inserters_extractors.cc, substr.cc: Split up, add
4123 wchar_t tests as follows.
4124 * 21_strings/basic_string/append/char/1.cc: New.
4125 * 21_strings/basic_string/append/wchar_t/1.cc: New.
4126 * 21_strings/basic_string/assign/char/1.cc: New.
4127 * 21_strings/basic_string/assign/char/2.cc: New.
4128 * 21_strings/basic_string/assign/char/3.cc: New.
4129 * 21_strings/basic_string/assign/wchar_t/1.cc: New.
4130 * 21_strings/basic_string/assign/wchar_t/2.cc: New.
4131 * 21_strings/basic_string/assign/wchar_t/3.cc: New.
4132 * 21_strings/basic_string/capacity/1.cc: New.
4133 * 21_strings/basic_string/capacity/char/1.cc: New.
4134 * 21_strings/basic_string/capacity/char/2.cc: New.
4135 * 21_strings/basic_string/capacity/wchar_t/1.cc: New.
4136 * 21_strings/basic_string/capacity/wchar_t/2.cc: New.
4137 * 21_strings/basic_string/compare/char/1.cc: New.
4138 * 21_strings/basic_string/compare/wchar_t/1.cc: New.
4139 * 21_strings/basic_string/cons/char/1.cc: New.
4140 * 21_strings/basic_string/cons/char/2.cc: New.
4141 * 21_strings/basic_string/cons/char/3.cc: New.
4142 * 21_strings/basic_string/cons/char/4.cc: New.
4143 * 21_strings/basic_string/cons/char/5.cc: New.
4144 * 21_strings/basic_string/cons/wchar_t/1.cc: New.
4145 * 21_strings/basic_string/cons/wchar_t/2.cc: New.
4146 * 21_strings/basic_string/cons/wchar_t/3.cc: New.
4147 * 21_strings/basic_string/cons/wchar_t/4.cc: New.
4148 * 21_strings/basic_string/cons/wchar_t/5.cc: New.
4149 * 21_strings/basic_string/element_access/char/1.cc: New.
4150 * 21_strings/basic_string/element_access/char/2.cc: New.
4151 * 21_strings/basic_string/element_access/char/3.cc: New.
4152 * 21_strings/basic_string/element_access/wchar_t/1.cc: New.
4153 * 21_strings/basic_string/element_access/wchar_t/2.cc: New.
4154 * 21_strings/basic_string/element_access/wchar_t/3.cc: New.
4155 * 21_strings/basic_string/find/char/1.cc: New.
4156 * 21_strings/basic_string/find/wchar_t/1.cc: New.
4157 * 21_strings/basic_string/insert/char/1.cc: New.
4158 * 21_strings/basic_string/insert/char/2.cc: New.
4159 * 21_strings/basic_string/insert/wchar_t/1.cc: New.
4160 * 21_strings/basic_string/insert/wchar_t/2.cc: New.
4161 * 21_strings/basic_string/inserters_extractors/char/1.cc: New.
4162 * 21_strings/basic_string/inserters_extractors/char/4.cc: New.
4163 * 21_strings/basic_string/inserters_extractors/char/5.cc: New.
4164 * 21_strings/basic_string/inserters_extractors/char/6.cc: New.
4165 * 21_strings/basic_string/inserters_extractors/char/7.cc: New.
4166 * 21_strings/basic_string/inserters_extractors/char/8.cc: New.
4167 * 21_strings/basic_string/inserters_extractors/char/9.cc: New.
4168 * 21_strings/basic_string/inserters_extractors/wchar_t/1.cc: New.
4169 * 21_strings/basic_string/inserters_extractors/wchar_t/4.cc: New.
4170 * 21_strings/basic_string/inserters_extractors/wchar_t/5.cc: New.
4171 * 21_strings/basic_string/inserters_extractors/wchar_t/6.cc: New.
4172 * 21_strings/basic_string/inserters_extractors/wchar_t/7.cc: New.
4173 * 21_strings/basic_string/inserters_extractors/wchar_t/8.cc: New.
4174 * 21_strings/basic_string/inserters_extractors/wchar_t/9.cc: New.
4175 * 21_strings/basic_string/operators/char/1.cc: New.
4176 * 21_strings/basic_string/operators/char/2.cc: New.
4177 * 21_strings/basic_string/operators/wchar_t/1.cc: New.
4178 * 21_strings/basic_string/operators/wchar_t/2.cc: New.
4179 * 21_strings/basic_string/replace/char/1.cc: New.
4180 * 21_strings/basic_string/replace/char/2.cc: New.
4181 * 21_strings/basic_string/replace/char/3.cc: New.
4182 * 21_strings/basic_string/replace/char/4.cc: New.
4183 * 21_strings/basic_string/replace/char/5.cc: New.
4184 * 21_strings/basic_string/replace/wchar_t/1.cc: New.
4185 * 21_strings/basic_string/replace/wchar_t/2.cc: New.
4186 * 21_strings/basic_string/replace/wchar_t/3.cc: New.
4187 * 21_strings/basic_string/replace/wchar_t/4.cc: New.
4188 * 21_strings/basic_string/replace/wchar_t/5.cc: New.
4189 * 21_strings/basic_string/rfind/char/1.cc: New.
4190 * 21_strings/basic_string/rfind/char/2.cc: New.
4191 * 21_strings/basic_string/rfind/char/3.cc: New.
4192 * 21_strings/basic_string/rfind/wchar_t/1.cc: New.
4193 * 21_strings/basic_string/rfind/wchar_t/2.cc: New.
4194 * 21_strings/basic_string/rfind/wchar_t/3.cc: New.
4195 * 21_strings/basic_string/substr/char/1.cc: New.
4196 * 21_strings/basic_string/substr/wchar_t/1.cc: New.
4197 * 21_strings/c_strings/char/1.cc: New.
4198 * 21_strings/c_strings/char/2.cc: New.
4199 * 21_strings/c_strings/wchar_t/1.cc: New.
4200 * 21_strings/c_strings/wchar_t/2.cc: New.
4201 * 21_strings/char_traits/requirements/char/1.cc: New.
4202 * 21_strings/char_traits/requirements/wchar_t/1.cc: New.
4203 * 21_strings/char_traits/typedefs/char/1.cc: New.
4205 2003-03-17 Paolo Carlini <pcarlini@unitus.it>
4206 Petur Runolfsson <peturr02@ru.is>
4209 * src/fstream.cc (basic_filebuf<char>::_M_underflow_common,
4210 basic_filebuf<wchar_t>::_M_underflow_common):
4211 if (gptr() < egptr()) return *gptr().
4212 * testsuite/27_io/filebuf_virtuals.cc (test16): Add.
4214 * testsuite/27_io/filebuf_members.cc (test_04): Minor
4215 changes: unlink fifo before making it, fix spelling error.
4217 2003-03-17 Benjamin Kosnik <bkoz@redhat.com>
4219 * testsuite/Makefile.am (CLEANFILES): Add tmp*.
4220 * testsuite/Makefile.in: Regenerate.
4221 * testsuite/27_io/filebuf_members.cc: Consistently name tmp files.
4224 2003-03-17 Petur Runolfsson <peturr02@ru.is>
4227 * include/bits/fstream.tcc (basic_filebuf::close):
4228 Always close file, even when write fails.
4229 * testsuite/27_io/filebuf_members.cc (test_07): New test.
4231 2003-03-17 Danny Smith <dannysmith@users.sourceforge.net>
4233 * libsupc++/Makefile.am (C_COMPILE): Remove.
4234 (LTCOMPILE): Likewise.
4235 * libsupc++/Makefile.in: Regenerate.
4237 2003-03-14 Benjamin Kosnik <bkoz@redhat.com>
4239 * testsuite/23_containers/bitset_members.cc: Add test variable.
4240 * testsuite/23_containers/map_insert.cc: Same.
4241 * testsuite/22_locale/ctype/cons/char/1.cc: Same.
4242 * testsuite/22_locale/codecvt/max_length/wchar_t/1.cc: Same.
4243 * testsuite/22_locale/codecvt/max_length/wchar_t/2.cc: Same.
4244 * testsuite/22_locale/codecvt/max_length/wchar_t/3.cc: Same.
4245 * testsuite/22_locale/codecvt/max_length/wchar_t/4.cc: Same.
4246 * testsuite/22_locale/codecvt/always_noconv/wchar_t/1.cc: Same.
4247 * testsuite/22_locale/codecvt/always_noconv/wchar_t/2.cc: Same.
4248 * testsuite/22_locale/codecvt/always_noconv/wchar_t/3.cc: Same.
4249 * testsuite/22_locale/codecvt/always_noconv/wchar_t/4.cc: Same.
4250 * testsuite/27_io/istream_exception.cc: Same.
4251 * testsuite/27_io/filebuf_virtuals.cc: Same.
4252 * testsuite/27_io/stringbuf_virtuals.cc: Same.
4253 * testsuite/27_io/ostream_inserter_arith.cc: Same.
4254 * testsuite/26_numerics/valarray_operators.cc: Same.
4255 * testsuite/26_numerics/slice.cc: Same.
4256 * testsuite/26_numerics/slice_array_assignment.cc: Same.
4257 * testsuite/24_iterators/istream_iterator.cc: Same.
4258 * mkcheck.in (TESTS_FILE): Use dejagnu-generated file if possible.
4260 2003-03-14 Petur Runolfsson <peturr02@ru.is>
4264 * config/locale/generic/ctype_members.cc,
4265 * config/locale/gnu/ctype_members.cc
4266 (ctype<wchar_t>::do_widen(char)): Cast argument to
4267 unsigned char before passing to btowc.
4268 (ctype<wchar_t>::do_widen(const char*, const char*, wchar_t*)):
4269 Convert characters with btowc instead of mbsrtowcs.
4270 (ctype<wchar_t>::do_narrow(const wchar_t*, const wchar_t*,
4272 Convert characters with wctob instead of wcsrtombs.
4273 * testsuite/22_locale/ctype/narrow/wchar_t/3.cc: New test.
4274 * testsuite/22_locale/ctype/widen/wchar_t/2.cc: New test.
4275 * testsuite/22_locale/ctype/widen/wchar_t/3.cc: New test.
4277 2003-03-14 Benjamin Kosnik <bkoz@redhat.com>
4279 * include/stdc++.h: New.
4280 * libsupc++/exception_defines.h (__EXCEPTION_DEFINES_H): Add guard.
4281 * include/Makefile.am (stamp-std-precompile): Generate stdc++.h.gch
4282 * include/Makefile.in: Regenerate.
4283 * testsuite_flags.in (--build-cxx): Add, but don't use PCHFLAGS.
4284 (--cxxflags): Put -g -O2 here.
4285 * testsuite/libstdc++-v3.dg/dg.exp: Remove -g -O2 here.
4287 2003-03-14 Loren J. Rittle <ljrittle@acm.org>
4289 * testsuite/testsuite_hooks.h: Suppress runtime exception thrown by
4290 missing named locale.
4292 2003-03-14 Andreas Schwab <schwab@suse.de>
4294 * configure.in: Only append to makefiles that are newly created to
4295 avoid multiple multi-do/multi-clean rules.
4296 * configure: Rebuilt.
4298 2003-03-13 Jonathan Wakely <redi@gcc.gnu.org>
4300 * docs/html/configopts.html, docs/html/documentation.html,
4301 docs/html/explanations.html, docs/html/install.html,
4302 docs/html/19_diagnostics/howto.html, docs/html/faq/index.html: Fix
4303 invalid XHTML and make page header style consistent.
4305 2003-03-12 Jonathan Wakely <redi@gcc.gnu.org>
4307 * docs/html/faq/index.html: Explain memory "leaks" due to allocators.
4308 * docs/html/faq/index.txt: Regenerate.
4309 * docs/html/debug.html: Add a bit to allocator text and fix XHTML.
4311 2003-03-12 Andreas Schwab <schwab@suse.de>
4313 * acinclude.m4 (GLIBCPP_EXPORT_INSTALL_INFO): Avoid trailing /. in
4314 glibcpp_toolexeclibdir.
4315 * aclocal.m4, configure: Rebuilt.
4317 2003-03-11 Jonathan Wakely <redi@gcc.gnu.org>
4319 * docs/html/faq/index.html: Update text about location of headers.
4320 * docs/html/faq/index.txt: Regenerate.
4322 2003-03-11 Carlo Wood <carlo@alinoe.com>
4324 * include/bits/demangle.h: Prepend accessors of
4325 class qualifier with 'get_' in order to fix warnings
4326 when compiling with -Wshadow.
4328 2003-03-11 Loren J. Rittle <ljrittle@acm.org>
4330 * config/os/bsd/freebsd/ctype_inline.h: Support _M_table
4332 * testsuite/22_locale/ctype/cons/char/1.cc: Fix typo.
4334 * testsuite/testsuite_hooks.h (run_tests_wrapped_env): Do not
4335 report lack of setenv().
4337 2003-03-09 Paolo Carlini <pcarlini@unitus.it>
4339 * config/io/basic_file_stdio.cc: include <unistd.h>.
4341 2003-03-09 Paolo Carlini <pcarlini@unitus.it>
4342 Nathan Myers <ncm@cantrip.org>
4345 * config/io/basic_file_stdio.h (__basic_file<>::xsgetn, xsputn,
4346 seekoff, seekpos): Add a boolean parameter __stdio.
4347 * config/io/basic_file_stdio.cc (__basic_file<>::xsgetn, xsputn,
4348 seekoff, seekpos): If __stdio == true, use fread (fwrite, fseek/ftell,
4349 fseek/ftell, respectively), otherwise read (write, lseek, lseek,
4351 * include/bits/fstream.tcc (basic_filebuf<>::_M_convert_to_external,
4352 _M_really_overflow, seekoff): Use the boolean parameter in the calls.
4353 * include/std/std_fstream.h (sync): Likewise.
4354 * src/fstream.cc (basic_filebuf<>::_M_underflow_common): Likewise.
4355 * src/ios.cc (ios_base::Init::_S_ios_create(bool)): Revert
4356 libstdc++/8399 commit involving isatty(0).
4357 * acinclude.m4 (GLIBCPP_CHECK_UNISTD_DECL_AND_LINKAGE_1): Remove.
4358 (GLIBCPP_CHECK_UNISTD_SUPPORT): Remove
4359 * configure.in: Remove call.
4360 * aclocal.m4: Regenerate.
4361 * config.h.in: Regenerate.
4362 * configure: Regenerate.
4363 * testsuite/27_io/narrow_stream_objects.cc (test11): Add.
4365 2003-03-09 Paolo Carlini <pcarlini@unitus.it>
4368 * include/bits/fstream.tcc (overflow): don't write EOF to file.
4369 * testsuite/27_io/filebuf_virtuals.cc (test15): Add.
4371 2003-03-08 Jerry Quinn <jlquinn@optonline.net>
4374 * include/bits/basic_ios.h (_M_setstate): New.
4375 * include/bits/ostream.tcc (operator<<): Use it.
4376 * include/bits/istream.tcc (operator>>): Use it.
4377 * include/std/std_ostream.h (operator<<): Make friends.
4378 * include/std/std_istream.h (operator>>): Make friends.
4379 * testsuite/27_io/ostream_exception.cc,
4380 testsuite/27_io/istream_exception.cc: New tests.
4382 2003-03-08 Benjamin Kosnik <bkoz@redhat.com>
4384 * include/bits/locale_facets.tcc: Fix typo.
4386 2003-03-08 Loren J. Rittle <ljrittle@acm.org>
4388 * testsuite/26_numerics/c99_classification_macros_c.cc: Tweak test.
4390 * config/locale/generic/c_locale.cc
4391 (locale::facet::_S_create_c_locale): Throw runtime exception when
4392 unsupported language is specified.
4393 * testsuite/testsuite_hooks.h
4394 (run_test_wrapped_generic_locale_exception_catcher): New function.
4395 * testsuite/testsuite_hooks.cc (run_tests_wrapped_locale):
4396 Suppress runtime exception thrown by generic implementation.
4397 (run_tests_wrapped_env): Likewise.
4398 (run_test_wrapped_generic_locale_exception_catcher): New function.
4399 * testsuite/22_locale/collate/compare/char/1.cc: New test wrap.
4400 * testsuite/22_locale/collate/compare/char/2.cc: New test wrap.
4401 * testsuite/22_locale/collate/compare/char/3.cc: New test wrap.
4402 * testsuite/22_locale/collate/hash/char/2.cc: New test wrap.
4403 * testsuite/22_locale/collate/transform/char/2.cc: New test wrap.
4404 * testsuite/22_locale/collate/transform/char/3.cc: New test wrap.
4405 * testsuite/22_locale/collate_byname/1.cc: New test wrap.
4406 * testsuite/22_locale/ctype/is/char/2.cc: New test wrap.
4407 * testsuite/22_locale/facet/2.cc: New test wrap.
4408 * testsuite/22_locale/locale/cons/4.cc: New test wrap.
4409 * testsuite/22_locale/locale/cons/5.cc: New test wrap.
4410 * testsuite/22_locale/locale/cons/7.cc: New test wrap.
4411 * testsuite/22_locale/messages/members/char/1.cc: New test wrap.
4412 * testsuite/22_locale/messages/members/char/2.cc: New test wrap.
4413 * testsuite/22_locale/messages/members/char/3.cc: New test wrap.
4414 * testsuite/22_locale/messages_byname/1.cc: New test wrap.
4415 * testsuite/22_locale/money_get/get/char/1.cc: New test wrap.
4416 * testsuite/22_locale/money_get/get/char/2.cc: New test wrap.
4417 * testsuite/22_locale/money_get/get/char/3.cc: New test wrap.
4418 * testsuite/22_locale/money_get/get/char/4.cc: New test wrap.
4419 * testsuite/22_locale/money_put/put/char/1.cc: New test wrap.
4420 * testsuite/22_locale/money_put/put/char/2.cc: New test wrap.
4421 * testsuite/22_locale/money_put/put/char/3.cc: New test wrap.
4422 * testsuite/22_locale/moneypunct/members/char/2.cc: New test wrap.
4423 * testsuite/22_locale/moneypunct_byname/1.cc: New test wrap.
4424 * testsuite/22_locale/num_get/get/char/1.cc: New test wrap.
4425 * testsuite/22_locale/num_get/get/char/2.cc: New test wrap.
4426 * testsuite/22_locale/num_get/get/char/3.cc: New test wrap.
4427 * testsuite/22_locale/num_get/get/char/5.cc: New test wrap.
4428 * testsuite/22_locale/num_get/get/char/6.cc: New test wrap.
4429 * testsuite/22_locale/num_put/put/char/1.cc: New test wrap.
4430 * testsuite/22_locale/num_put/put/char/2.cc: New test wrap.
4431 * testsuite/22_locale/num_put/put/char/3.cc: New test wrap.
4432 * testsuite/22_locale/num_put/put/char/5.cc: New test wrap.
4433 * testsuite/22_locale/numpunct/members/char/1.cc: New test wrap.
4434 * testsuite/22_locale/numpunct/members/char/2.cc: New test wrap.
4435 * testsuite/22_locale/numpunct_byname/1.cc: New test wrap.
4436 * testsuite/22_locale/numpunct_byname/2.cc: New test wrap.
4437 * testsuite/22_locale/time_get/date_order/char/1.cc: New test wrap.
4438 * testsuite/22_locale/time_get/get_date/char/1.cc: New test wrap.
4439 * testsuite/22_locale/time_get/get_date/char/2.cc: New test wrap.
4440 * testsuite/22_locale/time_get/get_monthname/char/1.cc: New test wrap.
4441 * testsuite/22_locale/time_get/get_monthname/char/2.cc: New test wrap.
4442 * testsuite/22_locale/time_get/get_time/char/1.cc: New test wrap.
4443 * testsuite/22_locale/time_get/get_time/char/2.cc: New test wrap.
4444 * testsuite/22_locale/time_get/get_weekday/char/1.cc: New test wrap.
4445 * testsuite/22_locale/time_get/get_weekday/char/2.cc: New test wrap.
4446 * testsuite/22_locale/time_get/get_year/char/1.cc: New test wrap.
4447 * testsuite/22_locale/time_put/put/char/1.cc: New test wrap.
4448 * testsuite/22_locale/time_put/put/char/2.cc: New test wrap.
4449 * testsuite/22_locale/time_put/put/char/3.cc: New test wrap.
4450 * testsuite/22_locale/time_put/put/char/4.cc: New test wrap.
4451 * testsuite/22_locale/time_put/put/char/5.cc: New test wrap.
4452 * testsuite/22_locale/time_put/put/char/6.cc: New test wrap.
4453 * testsuite/22_locale/time_put/put/char/7.cc: New test wrap.
4454 * testsuite/22_locale/time_put/put/char/8.cc: New test wrap.
4455 * testsuite/27_io/filebuf_virtuals.cc: New test wrap.
4456 * testsuite/27_io/ios_members.cc: New test wrap.
4457 * testsuite/27_io/ostream_inserter_arith.cc (test02): Make void.
4459 * testsuite/27_io/streambuf_members.cc: New test wrap.
4460 * testsuite/27_io/stringbuf_virtuals.cc: New test wrap.
4462 2003-03-08 Paolo Carlini <pcarlini@unitus.it>
4463 Petur Runolfsson <peturr02@ru.is>
4466 * include/bits/streambuf.tcc (__copy_streambufs): Use
4467 sgetn-sputn only when sputn cannot fail, otherwise fall back
4468 to safe snextc-sputc.
4469 * testsuite/27_io/streambuf_members.cc (test11, test12): Add.
4471 2003-03-08 Jerry Quinn <jlquinn@optonline.net>
4473 * include/bits/locale_facets.tcc (num_put::do_put(bool)): Use
4474 locale cache for truename and falsename.
4476 2003-03-08 Jerry Quinn <jlquinn@optonline.net>
4478 * src/ios.cc (ios_base::ios_base): Correct order of _M_word and
4479 _M_word_size initialization.
4481 2003-03-07 Paolo Carlini <pcarlini@unitus.it>
4483 * include/bits/fstream.tcc (_M_convert_to_external):
4484 Set __elen to zero if codecvt::out eventually fails.
4486 2003-03-07 Paolo Carlini <pcarlini@unitus.it>
4489 * include/bits/fstream.tcc (_M_really_overflow): Check
4490 for _M_convert_to_external possible failures.
4491 * include/std/std_fstream.h (sync): Check _M_really_overflow
4492 return value and return -1 in case of failure.
4493 * testsuite/27_io/filebuf_virtuals.cc (test13, test14): Add.
4495 2003-03-07 Paolo Carlini <pcarlini@unitus.it>
4498 * include/bits/istream.tcc (operator>>(_CharT*),
4499 operator>>(basic_string&), ws): Pass a char_type to __ctype.is.
4500 * testsuite/27_io/stringstream.cc (test02): Add.
4502 * include/bits/istream.tcc (operator>>(_CharT*)):
4503 Assign a char_type to *__s.
4505 2003-03-07 Petur Runolfsson <peturr02@ru.is>
4508 * include/bits/locale_facets.tcc
4509 (collate::do_compare, collate::do_transform):
4510 Handle nul characters in input.
4511 * testsuite/22_locale/collate/compare/char/3.cc: New test.
4512 * testsuite/22_locale/collate/compare/wchar_t/3.cc: New test.
4513 * testsuite/22_locale/collate/transform/char/3.cc: New test.
4514 * testsuite/22_locale/collate/transform/wchar_t/3.cc: New test.
4516 2003-03-07 Jerry Quinn <jlquinn@optonline.net>
4518 * include/bits/streambuf_iterator.h (_M_put): Set _M_failed if
4520 * testsuite/27_io/ostream_fail.cc: New test.
4522 2003-03-07 Matthias Klose <doko@debian.org>
4524 * Makefile.am (AM_MAKEFLAGS): Also pass gxx_include_dir.
4525 FLAGS_TO_PASS: Set to AM_MAKEFLAGS
4526 * Makefile.in: Regenerate.
4527 * libsupc++/Makefile.am: Express glibcppinstalldir in terms
4529 AM_MAKEFLAGS: Pass gxx_include_dir.
4530 * libsupc++/Makefile.in: Regenerate.
4532 2003-03-06 Jerry Quinn <jlquinn@optonline.net>
4534 * testsuite/27_io/ios_base_storage.cc (test02): Set exception
4535 mask. Test setting small-numbered pword and iword slots. Test
4536 behavior at limit of numeric_limits::max. Check that values are
4537 still good after failures.
4539 2003-03-06 Jerry Quinn <jlquinn@optonline.net>
4541 * src/ios.cc (ios_base::_M_init): Remove _M_word_size.
4542 (ios_base::ios_base): Set _M_word, _M_word_size.
4543 (ios_base::~ios_base): Remove redundant test.
4544 * testsuite/27_io/ios_base_storage.cc (test03): New.
4546 2003-03-04 Alexandre Oliva <aoliva@redhat.com>
4548 * src/strstream.cc, include/bits/basic_string.tcc: Remove
4549 incorrect whitespace added in my previous change.
4551 2003-03-05 Carlo Wood <carlo@alinoe.com>
4553 * include/bits/ios_base.h(ios_base::Init::_S_initialized()): Added
4554 _S_initialized() in order to allow debugging libraries to detect
4555 when the std streams are initialized from an overloaded operator
4558 2003-03-05 Benjamin Kosnik <bkoz@redhat.com>
4560 * libsupc++/demangle.h: Move to..
4561 * include/bits/demangle.h: ...here.
4562 * src/demangle.cc: Adjust include.
4563 * include/Makefile.am (bits_headers): Add.
4564 * include/Makefile.in: Regenerate.
4566 2003-03-04 Benjamin Kosnik <bkoz@redhat.com>
4568 * src/globals.cc: Clarify comments, remove c_locale_imp_compat.
4570 * config/linker-map.gnu: Filter typeinfo and vtable info.
4572 2003-03-04 Jerry Quinn <jlquinn@optonline.net>
4574 * src/ios.cc (ios_base::_M_grow_words): Don't delete _M_word on
4575 new failure. Throw exception if badbit and exception mask when ix
4576 >= numeric_limits<int>::max().
4578 2003-03-04 Alexandre Oliva <aoliva@redhat.com>
4580 * src/strstream.cc (strstreambuf::overflow): Make sure operands of
4581 min and max have the same type.
4582 * include/bits/basic_string.tcc (append, rfind, compare): Likewise.
4584 2003-03-04 Benjamin Kosnik <bkoz@redhat.com>
4586 * include/Makefile.am (allstamps): Remove stamp-std-precompile.
4587 * include/Makefile.in: Regenerate.
4589 2003-03-03 Benjamin Kosnik <bkoz@redhat.com>
4591 * testsuite/abi_check.cc (report_symbol_info): Add version info.
4593 * config/linker-map.gnu: Hide more stuff.
4594 * include/Makefile.am: Cleanups.
4595 * include/Makefile.in: Regenerate.
4597 2003-02-27 Jerry Quinn <jlquinn@optonline.net>
4599 * config/locale/generic/messages_members.h (messages::messages):
4600 Remove name from unused parameter.
4602 2003-02-27 Benjamin Kosnik <bkoz@redhat.com>
4604 * src/Makefile.am (sources): Add demangle.cc.
4607 * src/Makefile.in: Regenerate.
4608 * libsupc++/Makefile.am: Remove old __cxa_demangle bits.
4609 * libsupc++/Makefile.in: Regenerate.
4611 * testsuite/testsuite_hooks.h
4612 (__gnu_cxx_test::verify_demangle): New.
4613 * testsuite/testsuite_hooks.cc: Define.
4615 2003-02-27 Carlo Wood <carlo@alinoe.com>
4617 * src/demangle.cc: New.
4618 * libsupc++/demangle.h: New.
4620 2003-02-27 Benjamin Kosnik <bkoz@redhat.com>
4621 Carlo Wood <carlo@alinoe.com>
4623 * testsuite/demangle/abi_examples/01.cc: New.
4624 * testsuite/demangle/abi_examples/02.cc: New.
4625 * testsuite/demangle/abi_examples/03.cc: New.
4626 * testsuite/demangle/abi_examples/04.cc: New.
4627 * testsuite/demangle/abi_examples/05.cc: New.
4628 * testsuite/demangle/abi_examples/06.cc: New.
4629 * testsuite/demangle/abi_examples/07.cc: New.
4630 * testsuite/demangle/abi_examples/08.cc: New.
4631 * testsuite/demangle/abi_examples/09.cc: New.
4632 * testsuite/demangle/abi_examples/10.cc: New.
4633 * testsuite/demangle/abi_examples/11.cc: New.
4634 * testsuite/demangle/abi_examples/12.cc: New.
4635 * testsuite/demangle/abi_examples/13.cc: New.
4636 * testsuite/demangle/abi_examples/14.cc: New.
4637 * testsuite/demangle/abi_examples/15.cc: New.
4638 * testsuite/demangle/abi_examples/16.cc: New.
4639 * testsuite/demangle/abi_examples/17.cc: New.
4640 * testsuite/demangle/abi_examples/18.cc: New.
4641 * testsuite/demangle/abi_examples/19.cc: New.
4642 * testsuite/demangle/abi_examples/20.cc: New.
4643 * testsuite/demangle/abi_examples/21.cc: New.
4644 * testsuite/demangle/abi_examples/22.cc: New.
4645 * testsuite/demangle/abi_examples/23.cc: New.
4646 * testsuite/demangle/abi_examples/24.cc: New.
4647 * testsuite/demangle/abi_examples/25.cc: New.
4648 * testsuite/demangle/abi_examples/26.cc: New.
4649 * testsuite/demangle/abi_text/01.cc: New.
4650 * testsuite/demangle/abi_text/02.cc: New.
4651 * testsuite/demangle/abi_text/03.cc: New.
4652 * testsuite/demangle/abi_text/04.cc: New.
4653 * testsuite/demangle/abi_text/05.cc: New.
4654 * testsuite/demangle/abi_text/06.cc: New.
4655 * testsuite/demangle/abi_text/07.cc: New.
4656 * testsuite/demangle/abi_text/08.cc: New.
4657 * testsuite/demangle/abi_text/09.cc: New.
4658 * testsuite/demangle/abi_text/10.cc: New.
4659 * testsuite/demangle/abi_text/11.cc: New.
4660 * testsuite/demangle/abi_text/12.cc: New.
4661 * testsuite/demangle/abi_text/13.cc: New.
4662 * testsuite/demangle/abi_text/14.cc: New.
4663 * testsuite/demangle/regression/3111-1.cc: New.
4664 * testsuite/demangle/regression/3111-2.cc: New.
4665 * testsuite/demangle/regression/7986-01.cc: New.
4666 * testsuite/demangle/regression/7986-02.cc: New.
4667 * testsuite/demangle/regression/7986-03.cc: New.
4668 * testsuite/demangle/regression/7986-04.cc: New.
4669 * testsuite/demangle/regression/7986-05.cc: New.
4670 * testsuite/demangle/regression/7986-06.cc: New.
4671 * testsuite/demangle/regression/7986-07.cc: New.
4672 * testsuite/demangle/regression/7986-08.cc: New.
4673 * testsuite/demangle/regression/7986-09.cc: New.
4674 * testsuite/demangle/regression/7986-10.cc: New.
4675 * testsuite/demangle/regression/7986-11.cc: New.
4676 * testsuite/demangle/regression/7986-12.cc: New.
4677 * testsuite/demangle/regression/7986.cc: New.
4678 * testsuite/demangle/regression/8897.cc: New.
4679 * testsuite/demangle/regression/cw-01.cc: New.
4680 * testsuite/demangle/regression/cw-02.cc: New.
4681 * testsuite/demangle/regression/cw-03.cc: New.
4682 * testsuite/demangle/regression/cw-04.cc: New.
4683 * testsuite/demangle/regression/cw-05.cc: New.
4684 * testsuite/demangle/regression/cw-06.cc: New.
4685 * testsuite/demangle/regression/cw-07.cc: New.
4686 * testsuite/demangle/regression/cw-08.cc: New.
4687 * testsuite/demangle/regression/cw-09.cc: New.
4688 * testsuite/demangle/regression/cw-10.cc: New.
4689 * testsuite/demangle/regression/cw-11.cc: New.
4690 * testsuite/demangle/regression/cw-12.cc: New.
4691 * testsuite/demangle/regression/cw-13.cc: New.
4692 * testsuite/demangle/regression/cw-14.cc: New.
4693 * testsuite/demangle/regression/old.cc: New.
4695 2003-02-25 Phil Edwards <pme@gcc.gnu.org>
4697 * docs/doxygen/Intro.3: Update with new (proper) names.
4698 * docs/doxygen/TODO: Update.
4699 * docs/doxygen/run_doxygen: More comments, fix up man pages.
4700 Fake entries for standard typedefs.
4701 * docs/doxygen/user.cfg.in: Turn INLINE_INHERITED_MEMB back on.
4702 * docs/html/documentation.html: Top-level man page is now called
4704 * include/std/std_limits.h: Doxygenate.
4706 2003-02-25 Scott Snyder <snyder@fnal.gov>
4709 * include/bits/stl_map.h (lower_bound, upper_bound, equal_range):
4710 Correct documentation.
4711 * include/bits/stl_multimap.h (lower_bound, upper_bound,
4712 equal_range): Likewise.
4714 2003-02-24 Paolo Carlini <pcarlini@unitus.it>
4718 (basic_filebuf<char/wchar_t>::_M_underflow_common): When
4719 __bump is true (uflow), always increment the read pointer
4720 (_M_in_cur) before returning successfully.
4721 * testsuite/27_io/filebuf_virtuals.cc (test12): Add.
4723 2003-02-24 Paolo Carlini <pcarlini@unitus.it>
4724 Nathan Myers <ncm@cantrip.org>
4726 PR libstdc++/9404, PR libstdc++/9701 (partial)
4727 (aka pptr == epptr implies overflow)
4728 * include/bits/fstream.tcc (_M_allocate_internal_buffer):
4729 Consistently, _M_out_end points to the end of the buffer just
4731 (overflow): Tweak to use _M_out_buf_size().
4732 (_M_convert_to_external): The role of the old _M_out_end is
4733 now played by _M_out_lim.
4734 (_M_really_overflow): Likewise.
4735 (seekoff): Likewise.
4736 (setbuf): _M_out_end points to the end of the external buffer.
4737 * include/bits/sstream.tcc (overflow): Rewrote, taking into
4738 account the resolution of DR 169 (TC).
4739 (seekoff): Use _M_string.capacity(); ios_base::end is now _M_out_lim.
4740 (seekpos): Use _M_string.capacity(); tweak.
4741 * include/bits/streambuf.tcc (sputc, xsputn): Remove comments.
4742 * include/std/std_fstream.h (sync): The role of the old
4743 _M_out_end is now played by _M_out_lim.
4744 (_M_set_indeterminate): Use _M_set_determinate.
4745 (_M_set_determinate): _M_out_end is now _M_out_lim.
4746 (_M_is_indeterminate): Likewise.
4747 * include/std/std_sstream.h (str()): _M_out_end is now _M_out_lim.
4748 (_M_stringbuf_init): Don't set _M_buf_size, unused for sstreams,
4749 which have the information readily available as _M_string.capacity();
4750 for ate and app modes, pass the string size to _M_really_sync.
4751 (_M_really_sync): Consistently set _M_out_end and _M_out_lim, to
4752 point to the end of the buffer (i.e., epptr) and to the string end,
4754 * include/std/std_streambuf.h: tweak comments, add _M_out_lim,
4755 which points to the right limit of the used put area.
4756 (_M_out_cur_move): The role of the old _M_out_end is now played
4758 (_M_out_buf_size): Simplify: now (when _M_out_cur) return simply
4759 _M_out_end - _M_out_cur (i.e., pptr), _very_ close to the letter
4761 (basic_streambuf()): Initialize _M_out_lim too.
4762 * testsuite/27_io/filebuf_virtuals.cc (test10): Trivial tweak.
4763 * testsuite/27_io/filebuf_virtuals.cc (test11): Add.
4764 * testsuite/27_io/stringbuf_virtuals.cc (test09): Add.
4766 2003-02-24 Benjamin Kosnik <bkoz@redhat.com>
4768 * testsuite/27_io/ios_base_storage.cc (main): Call
4771 2003-02-21 Jerry Quinn <jlquinn@optonline.net>
4773 * include/bits/locale_facets.tcc (_M_convert_float): Replace
4774 numpunct facet accesses with data from __locale_cache.
4776 2003-02-20 Phil Edwards <pme@gcc.gnu.org>
4778 * docs/html/faq/index.html (3.9): New note, wchar_t on FreeBSD.
4779 * docs/html/faq/index.txt: Regenerate.
4781 2003-02-20 Phil Edwards <pme@gcc.gnu.org>
4783 * config/linker-map.gnu: Also export locking symbols needed for the
4784 generic atomicity.h case.
4786 2003-02-20 Alexandre Oliva <aoliva@redhat.com>
4788 * configure.in: Propagate ORIGINAL_LD_FOR_MULTILIBS to
4790 * configure: Rebuilt.
4792 2003-02-19 Paolo Carlini <pcarlini@unitus.it>
4794 * include/bits/sstream.tcc (overflow): According to
4795 27.7.1.3, p5, actual output is performed by sputc(c).
4797 2003-02-19 Phil Edwards <pme@gcc.gnu.org>
4800 * include/bits/stl_alloc.h: Remove all traces of assert().
4802 2003-02-18 Paolo Carlini <pcarlini@unitus.it>
4804 * include/std/std_sstream.h (str()): the size of the
4805 current string may be different from the initial one
4806 whenever _M_out_end > _M_out_beg.
4807 * testsuite/27_io/stringbuf_members.cc (test07): Add.
4809 2003-02-18 Paolo Carlini <pcarlini@unitus.it>
4812 * include/bits/stl_alloc.h (__pool_alloc::allocate): Remove assert.
4814 2003-02-17 Benjamin Kosnik <bkoz@redhat.com>
4816 * include/bits/basic_ios.tcc (copyfmt): Copy locale data as well.
4817 * testsuite/27_io/ios_members.cc (test03): New.
4819 2003-02-17 Jerry Quinn <jlquinn@optonline.net>
4821 * include/bits/basic_ios.h (basic_ios::_M_cache_locale): Declare.
4822 (basic_ios::_M_cache_facets): Move into above.
4823 * include/bits/basic_ios.tcc (basic_ios::copyfmt): Rebuild locale
4825 (basic_ios::imbue): Force locale cache to be built.
4826 (basic_ios::_M_init): Create and initialize locale cache.
4827 * include/bits/ios_base.h (__locale_cache_base): Declare.
4828 (ios_base::_M_locale_cache): New.
4829 (ios_base::_M_cache): Define.
4830 * include/bits/locale_facets.h: (__num_base): Fix comment. Add
4832 (__locale_cache_base,__locale_cache<_CharT>): New classes.
4833 (__locale_cache<char>, __locale_cache<wchar_t>): New specializations.
4834 * include/bits/locale_facets.tcc (num_put::_M_convert_int): Use locale
4835 cache literal string, grouping flag, thousands separator.
4836 (__locale_cache<_CharT>::__locale_cache): New.
4837 (__locale_cache<_CharT>::_M_init): New.
4838 * src/ios.cc: Clear _M_locale_cache in constructor.
4839 * src/locale-inst.cc (__locale_cache<char>, __locale_cache<_char_t>):
4842 2003-02-17 Paolo Carlini <pcarlini@unitus.it>
4844 * src/locale-inst.cc: Do not include <cassert>.
4845 * src/locale.cc: Likewise.
4847 2003-02-17 Paolo Carlini <pcarlini@unitus.it>
4850 * include/std/std_fstream.h: Declare underflow and uflow
4851 specializations, change generic definitions to do nothing.
4852 * src/fstream.cc: Add underflow and uflow specializations.
4854 2003-02-17 Paolo Carlini <pcarlini@unitus.it>
4857 * include/bits/fstream.tcc (_M_convert_to_external):
4858 Deal correctly with noconv, as prescribed by 27.8.1.4,p8.
4859 * testsuite/27_io/filebuf_virtuals.cc (test10): Add.
4861 2003-02-13 Benjamin Kosnik <bkoz@redhat.com>
4863 * include/bits/c++config (_GLIBCPP_EXTERN_TEMPLATE): Define.
4864 * include/bits/basic_ios.tcc: Guard use of extern template.
4865 * include/std/std_iomanip.h: Same.
4866 * include/bits/streambuf.tcc: Same.
4867 * include/bits/stl_alloc.h: Same.
4868 * include/bits/locale_facets.tcc: Same.
4869 * include/bits/ostream.tcc: Same.
4870 * include/bits/istream.tcc: Same.
4871 * include/bits/fstream.tcc: Same.
4872 * include/bits/basic_string.tcc: Same.
4874 2003-02-13 Paolo Carlini <pcarlini@unitus.it>
4876 * include/bits/ostream.tcc (sentry::sentry): Improve
4877 performance-wise the fix for libstdc++/9563.
4879 2003-02-12 Phil Edwards <pme@gcc.gnu.org>
4881 * config/cpu/generic/atomicity.h (_Atomic_add_mutex): Fix declaration.
4882 (_GLIBCPP_NEED_GENERIC_MUTEX): Define for this file.
4883 (_Atomic_add_mutex_once, __gthread_atomic_add_mutex_once): Declare
4884 when we don't have static mutex initialization.
4885 (__exchange_and_add): Use _Atomic_add_mutex_once.
4886 * src/misc-inst.cc: Definitions of all the above.
4888 2003-02-12 Paolo Carlini <pcarlini@unitus.it>
4891 * include/bits/ostream.tcc (sentry::sentry): Check
4892 the state of the stream after the preparation.
4893 * testsuite/27_io/ostream_sentry.cc (test02): Add.
4895 2003-02-11 Benjamin Kosnik <bkoz@redhat.com>
4897 * include/Makefile.am (stamp-std-precompile): Add rule.
4898 * include/Makefile.in: Regenerated.
4900 2003-02-11 Jerry Quinn <jlquinn@optonline.net>
4901 Benjamin Kosnik <benjamin@redhat.com>
4903 * include/bits/locale_facets.h (__num_base): Add _S_atoms_out.
4904 Add indexes into this array.
4905 (__num_base::_S_atoms): To _S_atoms_in.
4906 (num_put::_M_insert): Rename to _M_pad.
4907 (num_put::_M_convert_int): Adjust remove __mod, __modl arguments.
4908 (num_put::_M_widen_int): Rename to _M_group_int.
4909 (num_put::_M_widen_float): Rename to _M_group_float.
4910 * include/bits/locale_facets.tcc (__int_to_char): New inline
4911 function and adapter functions.
4912 (num_put::_M_group_int): Streamline.
4913 (num_put::_M_group_float): Streamline.
4914 (num_put::_M_convert_int): Remove unused parameter names. Choose
4915 large enough buffer for text. Use __int_to_char instead of
4916 __convert_from_v. Formatted text is now at the end of the buffer.
4917 (num_put::_M_convert_float): Preliminary fixups.
4918 * src/locale-inst.cc (__convert_from_v<long long>): Add ifdef.
4919 (__int_to_char<unsigned long long>): Same.
4920 (__int_to_char<char, unsigned long>): New.
4921 (__int_to_char<char, unsigned long long>): New.
4922 (__int_to_char<wchar_t, unsigned long>): New.
4923 (__int_to_char<wchar_t, unsigned long long>): New.
4925 2003-02-11 Scott Snyder <snyder@fnal.gov>
4928 * include/bits/fstream.tcc (seekoff): Avoid operator+
4931 2003-02-11 Paolo Carlini <pcarlini@unitus.it>
4934 * include/ext/stdio_filebuf.h
4935 (stdio_filebuf(int, std::ios_base::openmode, bool, int_type),
4936 stdio_filebuf(std::__c_file*, std::ios_base::openmode, int_type)):
4937 Change to take a __size parameter of type size_t, not
4938 of type (template parameter dependent) int_type.
4939 * src/ios.cc (ios_base::Init::_S_ios_create): Change type of
4940 size vars to size_t.
4941 * testsuite/ext/stdio_filebuf.cc: Add.
4943 2003-02-11 Paolo Carlini <pcarlini@unitus.it>
4944 Petur Runolfsson <peturr02@ru.is>
4947 * include/bits/streambuf.tcc (__copy_streambufs):
4948 Don't conditionalize the copy to __testput.
4949 * testsuite/27_io/streambuf_members.cc (test09, test10): Add.
4951 2002-02-11 DJ Delorie <dj@redhat.com>
4953 * acinclude.m4: Check for native targets that can't link at
4954 this point in the build.
4955 * aclocal.m4: Regenerate.
4956 * configure: Regenerate.
4958 2003-02-08 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
4960 * hppa/atomicity.h (__Atomicity_lock<__inst>::_S_atomicity_lock):
4962 (__exchange_and_add, __atomic_add): Use PA 2.0 ordered store to reset
4965 2003-02-07 Paolo Carlini <pcarlini@unitus.it>
4967 * testsuite/27_io/filebuf_virtuals.cc (test08): Fix for
4968 unsigned char platforms.
4970 2003-02-06 Paolo Carlini <pcarlini@unitus.it>
4973 * include/std/std_istream.h
4974 (basic_istream::sentry::operator bool()): Make const.
4975 * include/std/std_ostream.h
4976 (basic_ostream::sentry::operator bool()): Likewise.
4977 * testsuite/27_io/istream_sentry.cc (test03): Add.
4978 * testsuite/27_io/ostream_sentry.cc: Add.
4980 2003-02-06 Paolo Carlini <pcarlini@unitus.it>
4983 Implement resolution of DR 231 (Ready)
4984 * include/bits/locale_facets.h (__num_base::_S_format_float):
4985 Change declaration: return void, remove __prec parameter.
4986 * src/locale.cc (__num_base::_S_format_float): Implement
4987 resolution of DR 231.
4988 * include/bits/locale_facets.tcc (num_put::_M_convert_float):
4989 Tweak uses. Check for negative precision.
4990 * testsuite/22_locale/num_put/put/char/6.cc: Add
4991 * testsuite/22_locale/num_put/put/wchar_t/6.cc: Likewise.
4993 2003-02-06 Peter Soetens <peter.soetens@mech.kuleuven.ac.be>
4995 * config/io/basic_file_libio.h: Fixups.
4996 * config/io/c_io_libio.h: Same.
4997 * libio/Makefile.am: Same.
4998 * libio/Makefile.in: Regenerated.
5000 2003-02-06 Benjamin Kosnik <bkoz@redhat.com>
5002 * testsuite/22_locale/codecvt/encoding/wchar_t/1.cc (test01):
5003 Explicitly use the "C" locale.
5004 * testsuite/22_locale/codecvt/max_length/wchar_t/1.cc (test01): Same.
5006 2003-02-06 Petur Runolfsson <peturr02@ru.is>
5010 PR libstdc++/9028 (partial)
5016 (codecvt<wchar_t, char, mbstate_t>::do_encoding,
5017 codecvt<wchar_t, char, mbstate_t>::do_length,
5018 codecvt<wchar_t, char, mbstate_t>::do_max_length):
5020 * config/locale/generic/codecvt_members.cc: ...here.
5021 * config/locale/gnu/codecvt_members.cc: ...and here.
5023 * config/locale/generic/codecvt_members.cc,
5024 * config/locale/gnu/codecvt_members.cc
5025 (codecvt<wchar_t, char, mbstate_t>::do_encoding
5026 codecvt<wchar_t, char, mbstate_t>::do_in,
5027 codecvt<wchar_t, char, mbstate_t>::do_length,
5028 codecvt<wchar_t, char, mbstate_t>::do_max_length,
5029 codecvt<wchar_t, char, mbstate_t>::do_out):
5030 New implementation that handles stateless encodings,
5033 * config/locale/generic/codecvt_members.cc,
5034 * config/locale/gnu/codecvt_members.cc,
5035 * config/locale/ieee_1003.1-2001/codecvt_specializations.h,
5036 * include/bits/codecvt.h,
5038 (codecvt::length, codecvt::do_length):
5039 Change type of first argument of length and do_length from
5040 'const state_type&' to 'state_type&' according to DR 75.
5042 * testsuite/22_locale/codecvt/always_noconv/wchar_t/1.cc: Cleanup.
5043 * testsuite/22_locale/codecvt/always_noconv/wchar_t/2.cc: New test.
5044 * testsuite/22_locale/codecvt/always_noconv/wchar_t/3.cc: New test.
5045 * testsuite/22_locale/codecvt/always_noconv/wchar_t/4.cc: New test.
5046 * testsuite/22_locale/codecvt/encoding/wchar_t/1.cc:
5047 Cleanup and check for correct return value from encoding
5049 * testsuite/22_locale/codecvt/encoding/wchar_t/2.cc: New test.
5050 * testsuite/22_locale/codecvt/encoding/wchar_t/3.cc: New test.
5051 * testsuite/22_locale/codecvt/encoding/wchar_t/4.cc: New test.
5052 * testsuite/22_locale/codecvt/in/wchar_t/1.cc: Cleanup.
5053 * testsuite/22_locale/codecvt/in/wchar_t/2.cc: New test.
5054 * testsuite/22_locale/codecvt/in/wchar_t/3.cc: New test.
5055 * testsuite/22_locale/codecvt/in/wchar_t/4.cc: New test.
5056 * testsuite/22_locale/codecvt/in/wchar_t/5.cc: New test.
5057 * testsuite/22_locale/codecvt/in/wchar_t/6.cc: New test.
5058 * testsuite/22_locale/codecvt/in/wchar_t/7.cc: New test.
5059 * testsuite/22_locale/codecvt/in/wchar_t/8.cc: New test.
5060 * testsuite/22_locale/codecvt/in/wchar_t/9.cc: New test.
5061 * testsuite/22_locale/codecvt/length/char/1.cc: Cleanup.
5062 * testsuite/22_locale/codecvt/length/char/2.cc: New test.
5063 * testsuite/22_locale/codecvt/length/wchar_t/1.cc: Cleanup.
5064 * testsuite/22_locale/codecvt/length/wchar_t/2.cc: New test.
5065 * testsuite/22_locale/codecvt/length/wchar_t/3.cc: New test.
5066 * testsuite/22_locale/codecvt/length/wchar_t/4.cc: New test.
5067 * testsuite/22_locale/codecvt/length/wchar_t/5.cc: New test.
5068 * testsuite/22_locale/codecvt/length/wchar_t/6.cc: New test.
5069 * testsuite/22_locale/codecvt/length/wchar_t/7.cc: New test.
5070 * testsuite/22_locale/codecvt/max_length/wchar_t/1.cc: Cleanup.
5071 * testsuite/22_locale/codecvt/max_length/wchar_t/2.cc: New test.
5072 * testsuite/22_locale/codecvt/max_length/wchar_t/3.cc: New test.
5073 * testsuite/22_locale/codecvt/max_length/wchar_t/4.cc: New test.
5074 * testsuite/22_locale/codecvt/out/wchar_t/1.cc: Cleanup.
5075 * testsuite/22_locale/codecvt/out/wchar_t/2.cc: New test.
5076 * testsuite/22_locale/codecvt/out/wchar_t/3.cc: New test.
5077 * testsuite/22_locale/codecvt/out/wchar_t/4.cc: New test.
5078 * testsuite/22_locale/codecvt/out/wchar_t/5.cc: New test.
5079 * testsuite/22_locale/codecvt/out/wchar_t/6.cc: New test.
5080 * testsuite/22_locale/codecvt/out/wchar_t/7.cc: New test.
5081 * testsuite/22_locale/codecvt/unicode/1.cc: New test.
5082 * testsuite/22_locale/codecvt/unshift/wchar_t/1.cc: Cleanup.
5083 * testsuite/22_locale/codecvt/unshift/wchar_t/2.cc: New test.
5084 * testsuite/22_locale/codecvt/unshift/wchar_t/3.cc: New test.
5085 * testsuite/22_locale/codecvt/unshfit/wchar_t/4.cc: New test.
5087 2003-02-05 Benjamin Kosnik <bkoz@redhat.com>
5089 * include/bits/locale_facets.tcc (time_put::do_put): Use __write.
5090 (money_put::do_put): Same.
5092 2003-02-05 Jerry Quinn <jlquinn@optonline.net>
5094 * include/bits/ios_base.h (ios_base): Document reserved storage.
5096 * include/bits/locale_facets.h: (struct __pad): Comment on
5098 (__verify_grouping): Same.
5099 (__add_grouping): Same.
5100 * include/bits/locale_facets.tcc (__verify_grouping): Move
5101 comments to declaration.
5102 (__add_grouping): Same.
5104 * include/bits/locale_facets.tcc:
5105 (__write<_CharT, _OutIter>): New function.
5106 (__write<_CharT>): New function specialization.
5107 (num_put::_M_insert): Remove explicit loop over iterator. Use
5109 (num_put::_M_widen_float): Remove __basefield.
5110 (num_put::_M_widen_int): Move __basefield to within grouping block.
5112 * include/bits/streambuf_iterator.h: Include <streambuf>.
5113 (ostreambuf_iterator::_M_put): Add.
5115 2003-02-05 Paolo Carlini <pcarlini@unitus.it>
5117 * testsuite/26_numerics/valarray_name_lookup.cc: Fix typo.
5119 2003-02-04 Nathan Myers <ncm@cantrip.org>
5121 * testsuite/25_algorithms/min_max.cc (test02): Add.
5123 2003-02-04 Paolo Carlini <pcarlini@unitus.it>
5125 PR libstdc++/9439, PR libstdc++/9425
5126 * config/io/basic_file_stdio.cc
5127 (__basic_file<char>::seekoff, seekpos): Return -1L if
5129 * include/bits/fstream.tcc (basic_filebuf::seekoff):
5130 Check _M_file.seekoff return value; always return
5131 pos_type(off_type(-1)) in case of failure.
5132 (basic_filebuf::pbackfail): Check this->seekoff return
5133 value and return traits_type::eof() in case of failure.
5134 * testsuite/27_io/filebuf_virtuals.cc (test09): Add.
5136 2003-02-04 Jerry Quinn <jlquinn@optonline.net>
5138 * include/std/std_ostream.h (ostream::_M_write): Declare.
5139 * ostream.tcc (ostream::_M_write): Define.
5140 (basic_ostream::write): Use it.
5141 (operator<<(basic_ostream, _CharT)): Ditto.
5142 (operator<<(basic_ostream, char)): Ditto.
5143 (operator<<(basic_ostream, _CharT*)): Ditto.
5144 (operator<<(basic_ostream, char*)): Ditto.
5145 (operator<<(basic_ostream, basic_string)): Ditto.
5147 2003-02-04 Benjamin Kosnik <bkoz@redhat.com>
5149 * testsuite/26_numerics/valarray_name_lookup.cc: Fix.
5151 2002-02-04 Jonathan Wakely <redi@gcc.gnu.org>
5153 * docs/html/27_io/howto.html: Link to Dietmar Kuehl's IOStream page,
5154 add HTML comment about updating links if numbering changes.
5156 2003-02-04 Paolo Carlini <pcarlini@unitus.it>
5159 * include/bits/streambuf.tcc (sputbackc): Access
5160 this->gptr()[-1] only if _M_in_beg < _M_in_cur.
5161 * testsuite/27_io/filebuf_virtuals.cc (test08): Add.
5163 2003-02-04 Paolo Carlini <pcarlini@unitus.it>
5166 * include/bits/fstream.tcc (open): If the 'ate' repositioning
5167 operation fails, calls close _and_ returns a null pointer
5168 to indicate failure (27.8.1.3,4).
5169 * testsuite/27_io/filebuf_members.cc (test_06): Add.
5171 2003-02-04 Petur Runolfsson <peturr02@ru.is>
5173 * testsuite/27_io/filebuf_members.cc (test_04): Remove exit(0).
5175 2002-02-04 Jonathan Wakely <redi@gcc.gnu.org>
5177 * docs/html/27_io/howto.html: New section on stdio_filebuf.
5178 * docs/html/ext/howto.html: Move stdio_filebuf notes to 27_io.
5179 * docs/html/documentation.html: Regenerate.
5181 2003-02-04 Joseph S. Myers <jsm@polyomino.org.uk>
5183 * docs/html/17_intro/porting.texi: Update to GFDL 1.2.
5184 * docs/html/17_intro/porting.html: Regenerate.
5186 2003-02-03 Falk Hueffner <falk.hueffner@student.uni-tuebingen.de>
5187 Phil Edwards <pme@gcc.gnu.org>
5189 * include/std/std_bitset.h: Replace CHAR_BIT with __CHAR_BIT__, use
5190 numeric_limits for bits-per-word values.
5191 (_Base_bitset::_M_do_count, _Base_bitset<1>::_M_do_count):
5192 Use __builtin_popcountl instead.
5193 (_Base_bitset::_M_do_find_first, _Base_bitset::_M_do_find_next,
5194 _Base_bitset<1>::_M_do_find_first, _Base_bitset<1>::_M_do_find_next):
5195 Use __builtin_ctzl instead.
5196 (_S_bit_count, _S_first_one): Remove.
5197 * config/linker-map.gnu (GLIBCPP_3.4): Remove std::_S_bit_count.
5198 * src/Makefile.am (sources): Remove bitset.cc.
5199 * src/bitset.cc: Delete file.
5200 * src/Makefile.in: Regenerate.
5202 2003-02-03 Phil Edwards <pme@gcc.gnu.org>
5204 PR libstdc++/9527, PR libstdc++/8713
5205 * docs/html/install.html: Mention glibc version requirement.
5206 * docs/html/faq/index.html (3.8): New note, glibc 2.2.5+ is needed
5207 with 3.2.1+ (formatting bugfixes).
5208 * docs/html/faq/index.txt: Regenerate.
5210 2003-02-03 Volker Reichelt <reichelt@igpm.rwth-aachen.de>
5213 * include/bits/valarray_before.h (_UnBase::operator[]): Apply unary
5216 * include/bits/valarray_before.h (__not_equal_to): Use != instead
5219 * testsuite/26_numerics/valarray_operators.cc: New test.
5221 2003-02-01 Phil Edwards <pme@gcc.gnu.org>
5223 * docs/html/faq/index.html: Correct link to libg++ information.
5224 * docs/html/faq/index.txt: Regenerated.
5226 2003-02-01 Paolo Carlini <pcarlini@unitus.it>
5227 Benjamin Kosnik <bkoz@redhat.com>
5229 Const correctness issue:
5230 http://gcc.gnu.org/ml/libstdc++/2003-01/msg00370.html
5231 * include/bits/locale_classes.h
5232 (locale::_Impl::_M_facets): Change type to const facet**.
5233 (locale::_Impl::_M_install_facet): Change declaration to
5235 (locale::facet::_M_references): Make mutable.
5236 (locale::facet::_M_add_reference): Declare const.
5237 (locale::facet::_M_remove_reference): Likewise.
5238 * include/bits/locale_facets.tcc
5239 (use_facet(const locale&)): Tweak for const facet** _M_facets.
5240 (has_facet(const locale&)): Likewise.
5242 (locale::facet::_M_add_reference): Adjust definition.
5243 (locale::facet::_M_remove_reference): Likewise.
5245 (locale::_Impl::_Impl(const _Impl&, size_t)): Tweak for
5246 const facet** _M_facets.
5247 (locale::_Impl::_Impl(const char*, size_t)): Likewise.
5248 (locale::_Impl::_Impl(facet**, size_t, bool)): Likewise.
5249 (locale::_Impl::_M_install_facet): Adjust definition to take
5250 const facet* and for const facet** _M_facets.
5251 * testsuite/22_locale/locale/cons/8.cc: Add.
5253 2003-01-29 Mark Mitchell <mark@codesourcery.com>
5255 * include/std/std_limits.h (numeric_limits<float>::has_infinity):
5256 Use __FLT_HAS_INIFINITY__ to initialize.
5257 (numeric_limits<float>::has_quiet_NaN): Likewise.
5258 (numeric_limits<double>::has_infinity): Use __DBL_HAS_INIFINITY__
5260 (numeric_limits<double>::has_quiet_NaN): Likewise.
5261 (numeric_limits<long double>::has_infinity): Use
5262 __LDBL_HAS_INIFINITY__ to initialize.
5263 (numeric_limits<long_double>::has_quiet_NaN): Likewise.
5265 2003-01-28 Nathan Sidwell <nathan@codesourcery.com>
5268 * libsupc++/tinfo.cc (__vmi_class_type_info::__do_dyncast): Cope
5269 with bases which are very ambiguous.
5271 2003-01-28 Danny Smith <dannysmith@users.sourceforge.net>
5273 * src/Makefile.am (CONFIG_CXXFLAGS): Reverse order of
5274 @EXTRA_CXX_FLAGS@ @SECTION_FLAGS@.
5275 * libsupc++/Makefile.am (CONFIG_CXXFLAGS): Likewise.
5276 * src/Makefile.in: Regenerate.
5277 * libsupc++/Makefile.in: Regenerate.
5279 2003-01-27 Alexandre Oliva <aoliva@redhat.com>
5281 * acinclude.m4 (glibcpp_toolexeclibdir): Instead of
5282 $(MULTISUBDIR), use `$CC -print-multi-os-directory`, unless
5283 version_specific_libs is enabled.
5284 * aclocal.m4, configure: Rebuilt.
5286 2003-01-24 Nathan Sidwell <nathan@codesourcery.com>
5288 * include/bits/valarray_meta.h: Remove, split into ...
5289 * include/bits/valarray_before.h: ... this, and ...
5290 * include/bits/valarray_after.h: ... this.
5291 * include/std/std_valarray.h: Adjust.
5292 * include/Makefile.am (bits_headers): Adjust.
5293 * include/Makefile.in: Regenerate.
5295 2003-01-24 Andreas Schwab <schwab@suse.de>
5297 * config/linker-map.gnu: Fix for size_t variance.
5299 2003-01-23 Petur Runolfsson <peturr02@ru.is>
5302 * include/std/std_streambuf.h
5303 (basic_streambuf::basic_streambuf,
5304 basic_streambuf::~basic_streambuf,
5305 basic_streambuf::getloc, basic_streambuf::imbue):
5306 Remove _M_buf_locale_init
5307 * include/bits/fstream.tcc (basic_filebuf::imbue): Likewise
5308 * testsuite/27_io/filebuf_virtuals.cc (test08): Add.
5309 * testsuite/27_io/streambuf_members.cc (test08): Add.
5310 * testsuite/27_io/stringbuf_virtuals.cc (test08): Add.
5312 2003-01-23 Benjamin Kosnik <bkoz@redhat.com>
5314 Revert include ordering.
5315 * config/locale/generic/c_locale.h: Add include guards.
5316 * config/locale/gnu/c_locale.h: Same.
5317 * include/bits/locale_classes.h: Remove cctype include.
5318 * include/std/std_iosfwd.h: Add c++locale.h, cctype includes.
5319 * include/std/std_fstream.h: Remove streambuf include.
5320 * include/std/std_sstream.h: Remove streambuf include.
5322 2003-01-23 Benjamin Kosnik <bkoz@redhat.com>
5324 * configure.in (libtool_VERSION): To 6:0:0.
5325 * configure: Regenerated.
5326 * config/linker-map.gnu: Clean.
5328 * src/misc-inst.cc: Remove instantiations.
5330 * include/bits/stl_alloc.h (__malloc_alloc_template):
5332 (__default_alloc_template): To __pool_alloc.
5333 * src/stl-inst.cc: Same.
5334 * include/backward/alloc.h: Update.
5335 * testsuite/ext/allocators.cc: Update.
5337 * src/globals.cc (__gnu_cxx): Remove _GLIBCPP_ASM_SYMVER. Should
5338 really try to remove these if possible.
5339 * src/locale.cc (std): Same.
5341 * testsuite/abi_check.cc (check_version): Add.
5343 2003-01-22 Benjamin Kosnik <bkoz@redhat.com>
5344 Sysoltsev Slawa <Vyatcheslav.Sysoltsev@intel.com>
5345 Mark Mitchell <mark@codesourcery.com>
5348 * include/std/std_fstream.h (basic_filebuf::uflow): Declare.
5349 (basic_filebuf::underflow): Declare.
5352 2003-01-22 Benjamin Kosnik <bkoz@redhat.com>
5354 * include/bits/locale_facets.h: Move non-facet classes requiring
5356 * include/bits/locale_classes.h: New.
5357 * include/bits/Makefile.am (bits_headers_src): Add locale_classes.h.
5358 * include/bits/Makefile.in: Regenerate.
5360 * include/bits/locale_facets.tcc (__convert_from_v): Move to...
5361 * config/locale/gnu/c_locale.h: ...here.
5362 * config/locale/generic/c_locale.h: Same.
5364 * include/bits/locale_facets.tcc: Move declarations to...
5365 * include/bits/locale_facets.h: ...here.
5366 * include/bits/basic_ios.h: Tweak includes accordingly.
5367 * include/std/std_sstream.h: Add streambuf include.
5368 * include/std/std_fstream.h: Ditto.
5369 * include/std/std_locale.h: Add locale_classes.h include.
5370 * include/std/std_iosfwd.h: Tweak.
5371 * src/concept-inst.cc: Add iterator include.
5373 * config/linker-map.gnu: Specify __cxa functions, mark __cxa_dyn_*
5374 bits as unexported in the future.
5376 2003-01-21 Benjamin Kosnik <bkoz@redhat.com>
5378 Reshuffle 22_locale testsuite.
5379 * 22_locale/(codecvt.cc money_get.cc
5380 codecvt_members_char_char.cc money_get_members_char.cc
5381 codecvt_members_unicode_char.cc money_get_members_wchar_t.cc
5382 codecvt_members_unicode_wchar_t.cc moneypunct_byname.cc
5383 codecvt_members_wchar_t_char.cc moneypunct.cc collate_byname.cc
5384 moneypunct_members_char.cc collate.cc moneypunct_members_wchar_t.cc
5385 collate_members_char.cc money_put.cc collate_members_wchar_t.cc
5386 money_put_members_char.cc ctor_copy_dtor.cc
5387 money_put_members_wchar_t.cc ctype.cc num_get.cc ctype_is_char.cc
5388 num_get_members_char.cc ctype_is_wchar_t.cc num_get_members_wchar_t.cc
5389 ctype_members_char.cc numpunct_byname.cc ctype_members_wchar_t.cc
5390 numpunct.cc ctype_narrow_char.cc numpunct_members_char.cc
5391 ctype_narrow_wchar_t.cc numpunct_members_wchar_t.cc ctype_scan_char.cc
5392 num_put.cc ctype_scan_wchar_t.cc num_put_members_char.cc
5393 ctype_to_char.cc num_put_members_wchar_t.cc ctype_to_wchar_t.cc
5394 operators.cc ctype_widen_char.cc static_members.cc
5395 ctype_widen_wchar_t.cc time_get.cc facet.cc time_get_members_char.cc
5396 global_templates.cc time_get_members_wchar_t.cc, members.cc,
5397 time_put.cc, messages_byname.cc, time_put_members_char.cc,
5398 messages.cc, time_put_members_wchar_t.cc, messages_members_char.cc):
5399 Split up into individual test cases...
5400 * 22_locale/codecvt/1.cc: New.
5401 * 22_locale/codecvt/2.cc: New.
5402 * 22_locale/codecvt/always_noconv/char/1.cc: New.
5403 * 22_locale/codecvt/always_noconv/char/wrapped_env.cc: New.
5404 * 22_locale/codecvt/always_noconv/char/wrapped_locale.cc: New.
5405 * 22_locale/codecvt/always_noconv/wchar_t/1.cc: New.
5406 * 22_locale/codecvt/always_noconv/wchar_t/wrapped_env.cc: New.
5407 * 22_locale/codecvt/always_noconv/wchar_t/wrapped_locale.cc: New.
5408 * 22_locale/codecvt/encoding/char/1.cc: New.
5409 * 22_locale/codecvt/encoding/char/wrapped_env.cc: New.
5410 * 22_locale/codecvt/encoding/char/wrapped_locale.cc: New.
5411 * 22_locale/codecvt/encoding/wchar_t/1.cc: New.
5412 * 22_locale/codecvt/encoding/wchar_t/wrapped_env.cc: New.
5413 * 22_locale/codecvt/encoding/wchar_t/wrapped_locale.cc: New.
5414 * 22_locale/codecvt/in/char/1.cc: New.
5415 * 22_locale/codecvt/in/char/wrapped_env.cc: New.
5416 * 22_locale/codecvt/in/char/wrapped_locale.cc: New.
5417 * 22_locale/codecvt/in/wchar_t/1.cc: New.
5418 * 22_locale/codecvt/in/wchar_t/wrapped_env.cc: New.
5419 * 22_locale/codecvt/in/wchar_t/wrapped_locale.cc: New.
5420 * 22_locale/codecvt/length/char/1.cc: New.
5421 * 22_locale/codecvt/length/char/wrapped_env.cc: New.
5422 * 22_locale/codecvt/length/char/wrapped_locale.cc: New.
5423 * 22_locale/codecvt/length/wchar_t/1.cc: New.
5424 * 22_locale/codecvt/length/wchar_t/wrapped_env.cc: New.
5425 * 22_locale/codecvt/length/wchar_t/wrapped_locale.cc: New.
5426 * 22_locale/codecvt/max_length/char/1.cc: New.
5427 * 22_locale/codecvt/max_length/char/wrapped_env.cc: New.
5428 * 22_locale/codecvt/max_length/char/wrapped_locale.cc: New.
5429 * 22_locale/codecvt/max_length/wchar_t/1.cc: New.
5430 * 22_locale/codecvt/max_length/wchar_t/wrapped_env.cc: New.
5431 * 22_locale/codecvt/max_length/wchar_t/wrapped_locale.cc: New.
5432 * 22_locale/codecvt/out/char/1.cc: New.
5433 * 22_locale/codecvt/out/char/wrapped_env.cc: New.
5434 * 22_locale/codecvt/out/char/wrapped_locale.cc: New.
5435 * 22_locale/codecvt/out/wchar_t/1.cc: New.
5436 * 22_locale/codecvt/out/wchar_t/wrapped_env.cc: New.
5437 * 22_locale/codecvt/out/wchar_t/wrapped_locale.cc: New.
5438 * 22_locale/codecvt/unicode/char.cc: New.
5439 * 22_locale/codecvt/unicode/wchar_t.cc: New.
5440 * 22_locale/codecvt/unshift/char/1.cc: New.
5441 * 22_locale/codecvt/unshift/char/wrapped_env.cc: New.
5442 * 22_locale/codecvt/unshift/char/wrapped_locale.cc: New.
5443 * 22_locale/codecvt/unshift/wchar_t/1.cc: New.
5444 * 22_locale/codecvt/unshift/wchar_t/wrapped_env.cc: New.
5445 * 22_locale/codecvt/unshift/wchar_t/wrapped_locale.cc: New.
5446 * 22_locale/collate/1.cc: New.
5447 * 22_locale/collate/2.cc: New.
5448 * 22_locale/collate/compare/char/1.cc: New.
5449 * 22_locale/collate/compare/char/2.cc: New.
5450 * 22_locale/collate/compare/char/wrapped_env.cc: New.
5451 * 22_locale/collate/compare/char/wrapped_locale.cc: New.
5452 * 22_locale/collate/compare/wchar_t/1.cc: New.
5453 * 22_locale/collate/compare/wchar_t/2.cc: New.
5454 * 22_locale/collate/compare/wchar_t/wrapped_env.cc: New.
5455 * 22_locale/collate/compare/wchar_t/wrapped_locale.cc: New.
5456 * 22_locale/collate/hash/char/1.cc: New.
5457 * 22_locale/collate/hash/char/2.cc: New.
5458 * 22_locale/collate/hash/char/wrapped_env.cc: New.
5459 * 22_locale/collate/hash/char/wrapped_locale.cc: New.
5460 * 22_locale/collate/hash/wchar_t/1.cc: New.
5461 * 22_locale/collate/hash/wchar_t/2.cc: New.
5462 * 22_locale/collate/hash/wchar_t/wrapped_env.cc: New.
5463 * 22_locale/collate/hash/wchar_t/wrapped_locale.cc: New.
5464 * 22_locale/collate/transform/char/2.cc: New.
5465 * 22_locale/collate/transform/char/wrapped_env.cc: New.
5466 * 22_locale/collate/transform/char/wrapped_locale.cc: New.
5467 * 22_locale/collate/transform/wchar_t/2.cc: New.
5468 * 22_locale/collate/transform/wchar_t/wrapped_env.cc: New.
5469 * 22_locale/collate/transform/wchar_t/wrapped_locale.cc: New.
5470 * 22_locale/collate_byname/1.cc: New.
5471 * 22_locale/ctype/1.cc: New.
5472 * 22_locale/ctype/2.cc: New.
5473 * 22_locale/ctype/cons/char/1.cc: New.
5474 * 22_locale/ctype/cons/char/wrapped_env.cc: New.
5475 * 22_locale/ctype/cons/char/wrapped_locale.cc: New.
5476 * 22_locale/ctype/is/char/1.cc: New.
5477 * 22_locale/ctype/is/char/2.cc: New.
5478 * 22_locale/ctype/is/char/3.cc: New.
5479 * 22_locale/ctype/is/char/wrapped_env.cc: New.
5480 * 22_locale/ctype/is/char/wrapped_locale.cc: New.
5481 * 22_locale/ctype/is/wchar_t/1.cc: New.
5482 * 22_locale/ctype/is/wchar_t/2.cc: New.
5483 * 22_locale/ctype/is/wchar_t/wrapped_env.cc: New.
5484 * 22_locale/ctype/is/wchar_t/wrapped_locale.cc: New.
5485 * 22_locale/ctype/narrow/char/1.cc: New.
5486 * 22_locale/ctype/narrow/char/2.cc: New.
5487 * 22_locale/ctype/narrow/char/wrapped_env.cc: New.
5488 * 22_locale/ctype/narrow/char/wrapped_locale.cc: New.
5489 * 22_locale/ctype/narrow/wchar_t/1.cc: New.
5490 * 22_locale/ctype/narrow/wchar_t/2.cc: New.
5491 * 22_locale/ctype/narrow/wchar_t/wrapped_env.cc: New.
5492 * 22_locale/ctype/narrow/wchar_t/wrapped_locale.cc: New.
5493 * 22_locale/ctype/scan/char/1.cc: New.
5494 * 22_locale/ctype/scan/char/wrapped_env.cc: New.
5495 * 22_locale/ctype/scan/char/wrapped_locale.cc: New.
5496 * 22_locale/ctype/scan/wchar_t/1.cc: New.
5497 * 22_locale/ctype/scan/wchar_t/wrapped_env.cc: New.
5498 * 22_locale/ctype/scan/wchar_t/wrapped_locale.cc: New.
5499 * 22_locale/ctype/to/char/1.cc: New.
5500 * 22_locale/ctype/to/char/wrapped_env.cc: New.
5501 * 22_locale/ctype/to/char/wrapped_locale.cc: New.
5502 * 22_locale/ctype/to/wchar_t/1.cc: New.
5503 * 22_locale/ctype/to/wchar_t/wrapped_env.cc: New.
5504 * 22_locale/ctype/to/wchar_t/wrapped_locale.cc: New.
5505 * 22_locale/ctype/widen/char/1.cc: New.
5506 * 22_locale/ctype/widen/char/wrapped_env.cc: New.
5507 * 22_locale/ctype/widen/char/wrapped_locale.cc: New.
5508 * 22_locale/ctype/widen/wchar_t/1.cc: New.
5509 * 22_locale/ctype/widen/wchar_t/wrapped_env.cc: New.
5510 * 22_locale/ctype/widen/wchar_t/wrapped_locale.cc: New.
5511 * 22_locale/facet/1.cc: New.
5512 * 22_locale/facet/2.cc: New.
5513 * 22_locale/global_templates/1.cc: New.
5514 * 22_locale/locale/cons/1.cc: New.
5515 * 22_locale/locale/cons/2.cc: New.
5516 * 22_locale/locale/cons/3.cc: New.
5517 * 22_locale/locale/cons/4.cc: New.
5518 * 22_locale/locale/cons/5.cc: New.
5519 * 22_locale/locale/cons/6.cc: New.
5520 * 22_locale/locale/cons/7.cc: New.
5521 * 22_locale/locale/global_locale_objects/1.cc: New.
5522 * 22_locale/locale/global_locale_objects/2.cc: New.
5523 * 22_locale/locale/global_locale_objects/3.cc: New.
5524 * 22_locale/locale/operations/1.cc: New.
5525 * 22_locale/locale/operations/2.cc: New.
5526 * 22_locale/messages/1.cc: New.
5527 * 22_locale/messages/2.cc: New.
5528 * 22_locale/messages/members/char/1.cc: New.
5529 * 22_locale/messages/members/char/2.cc: New.
5530 * 22_locale/messages/members/char/3.cc: New.
5531 * 22_locale/messages/members/char/wrapped_env.cc: New.
5532 * 22_locale/messages/members/char/wrapped_locale.cc: New.
5533 * 22_locale/messages_byname/1.cc: New.
5534 * 22_locale/money_get/1.cc: New.
5535 * 22_locale/money_get/2.cc: New.
5536 * 22_locale/money_get/get/char/1.cc: New.
5537 * 22_locale/money_get/get/char/2.cc: New.
5538 * 22_locale/money_get/get/char/3.cc: New.
5539 * 22_locale/money_get/get/char/4.cc: New.
5540 * 22_locale/money_get/get/char/5.cc: New.
5541 * 22_locale/money_get/get/char/6.cc: New.
5542 * 22_locale/money_get/get/char/7.cc: New.
5543 * 22_locale/money_get/get/char/8.cc: New.
5544 * 22_locale/money_get/get/char/wrapped_env.cc: New.
5545 * 22_locale/money_get/get/char/wrapped_locale.cc: New.
5546 * 22_locale/money_get/get/wchar_t/1.cc: New.
5547 * 22_locale/money_get/get/wchar_t/2.cc: New.
5548 * 22_locale/money_get/get/wchar_t/3.cc: New.
5549 * 22_locale/money_get/get/wchar_t/4.cc: New.
5550 * 22_locale/money_get/get/wchar_t/5.cc: New.
5551 * 22_locale/money_get/get/wchar_t/6.cc: New.
5552 * 22_locale/money_get/get/wchar_t/7.cc: New.
5553 * 22_locale/money_get/get/wchar_t/8.cc: New.
5554 * 22_locale/money_get/get/wchar_t/wrapped_env.cc: New.
5555 * 22_locale/money_get/get/wchar_t/wrapped_locale.cc: New.
5556 * 22_locale/money_put/1.cc: New.
5557 * 22_locale/money_put/2.cc: New.
5558 * 22_locale/money_put/put/char/1.cc: New.
5559 * 22_locale/money_put/put/char/2.cc: New.
5560 * 22_locale/money_put/put/char/3.cc: New.
5561 * 22_locale/money_put/put/char/4.cc: New.
5562 * 22_locale/money_put/put/char/5.cc: New.
5563 * 22_locale/money_put/put/char/6.cc: New.
5564 * 22_locale/money_put/put/char/wrapped_env.cc: New.
5565 * 22_locale/money_put/put/char/wrapped_locale.cc: New.
5566 * 22_locale/money_put/put/wchar_t/1.cc: New.
5567 * 22_locale/money_put/put/wchar_t/2.cc: New.
5568 * 22_locale/money_put/put/wchar_t/3.cc: New.
5569 * 22_locale/money_put/put/wchar_t/4.cc: New.
5570 * 22_locale/money_put/put/wchar_t/5.cc: New.
5571 * 22_locale/money_put/put/wchar_t/6.cc: New.
5572 * 22_locale/money_put/put/wchar_t/wrapped_env.cc: New.
5573 * 22_locale/money_put/put/wchar_t/wrapped_locale.cc: New.
5574 * 22_locale/moneypunct/1.cc: New.
5575 * 22_locale/moneypunct/2.cc: New.
5576 * 22_locale/moneypunct/3.cc: New.
5577 * 22_locale/moneypunct/members/char/1.cc: New.
5578 * 22_locale/moneypunct/members/char/2.cc: New.
5579 * 22_locale/moneypunct/members/char/wrapped_env.cc: New.
5580 * 22_locale/moneypunct/members/char/wrapped_locale.cc: New.
5581 * 22_locale/moneypunct/members/wchar_t/1.cc: New.
5582 * 22_locale/moneypunct/members/wchar_t/2.cc: New.
5583 * 22_locale/moneypunct/members/wchar_t/wrapped_env.cc: New.
5584 * 22_locale/moneypunct/members/wchar_t/wrapped_locale.cc: New.
5585 * 22_locale/moneypunct_byname/1.cc: New.
5586 * 22_locale/num_get/1.cc: New.
5587 * 22_locale/num_get/2.cc: New.
5588 * 22_locale/num_get/get/char/1.cc: New.
5589 * 22_locale/num_get/get/char/2.cc: New.
5590 * 22_locale/num_get/get/char/3.cc: New.
5591 * 22_locale/num_get/get/char/4.cc: New.
5592 * 22_locale/num_get/get/char/5.cc: New.
5593 * 22_locale/num_get/get/char/6.cc: New.
5594 * 22_locale/num_get/get/char/wrapped_env.cc: New.
5595 * 22_locale/num_get/get/char/wrapped_locale.cc: New.
5596 * 22_locale/num_get/get/wchar_t/1.cc: New.
5597 * 22_locale/num_get/get/wchar_t/2.cc: New.
5598 * 22_locale/num_get/get/wchar_t/3.cc: New.
5599 * 22_locale/num_get/get/wchar_t/4.cc: New.
5600 * 22_locale/num_get/get/wchar_t/5.cc: New.
5601 * 22_locale/num_get/get/wchar_t/6.cc: New.
5602 * 22_locale/num_get/get/wchar_t/wrapped_env.cc: New.
5603 * 22_locale/num_get/get/wchar_t/wrapped_locale.cc: New.
5604 * 22_locale/num_put/1.cc: New.
5605 * 22_locale/num_put/2.cc: New.
5606 * 22_locale/num_put/put/char/1.cc: New.
5607 * 22_locale/num_put/put/char/2.cc: New.
5608 * 22_locale/num_put/put/char/3.cc: New.
5609 * 22_locale/num_put/put/char/4.cc: New.
5610 * 22_locale/num_put/put/char/5.cc: New.
5611 * 22_locale/num_put/put/char/wrapped_env.cc: New.
5612 * 22_locale/num_put/put/char/wrapped_locale.cc: New.
5613 * 22_locale/num_put/put/wchar_t/1.cc: New.
5614 * 22_locale/num_put/put/wchar_t/2.cc: New.
5615 * 22_locale/num_put/put/wchar_t/3.cc: New.
5616 * 22_locale/num_put/put/wchar_t/4.cc: New.
5617 * 22_locale/num_put/put/wchar_t/5.cc: New.
5618 * 22_locale/num_put/put/wchar_t/wrapped_env.cc: New.
5619 * 22_locale/num_put/put/wchar_t/wrapped_locale.cc: New.
5620 * 22_locale/numpunct/1.cc: New.
5621 * 22_locale/numpunct/2.cc: New.
5622 * 22_locale/numpunct/members/char/1.cc: New.
5623 * 22_locale/numpunct/members/char/2.cc: New.
5624 * 22_locale/numpunct/members/char/wrapped_env.cc: New.
5625 * 22_locale/numpunct/members/char/wrapped_locale.cc: New.
5626 * 22_locale/numpunct/members/wchar_t/1.cc: New.
5627 * 22_locale/numpunct/members/wchar_t/2.cc: New.
5628 * 22_locale/numpunct/members/wchar_t/wrapped_env.cc: New.
5629 * 22_locale/numpunct/members/wchar_t/wrapped_locale.cc: New.
5630 * 22_locale/numpunct_byname/1.cc: New.
5631 * 22_locale/numpunct_byname/2.cc: New.
5632 * 22_locale/time_get/1.cc: New.
5633 * 22_locale/time_get/2.cc: New.
5634 * 22_locale/time_get/date_order/char/1.cc: New.
5635 * 22_locale/time_get/date_order/char/wrapped_env.cc: New.
5636 * 22_locale/time_get/date_order/char/wrapped_locale.cc: New.
5637 * 22_locale/time_get/date_order/wchar_t/1.cc: New.
5638 * 22_locale/time_get/date_order/wchar_t/wrapped_env.cc: New.
5639 * 22_locale/time_get/date_order/wchar_t/wrapped_locale.cc: New.
5640 * 22_locale/time_get/get_date/char/1.cc: New.
5641 * 22_locale/time_get/get_date/char/2.cc: New.
5642 * 22_locale/time_get/get_date/char/3.cc: New.
5643 * 22_locale/time_get/get_date/char/wrapped_env.cc: New.
5644 * 22_locale/time_get/get_date/char/wrapped_locale.cc: New.
5645 * 22_locale/time_get/get_date/wchar_t/1.cc: New.
5646 * 22_locale/time_get/get_date/wchar_t/2.cc: New.
5647 * 22_locale/time_get/get_date/wchar_t/3.cc: New.
5648 * 22_locale/time_get/get_date/wchar_t/wrapped_env.cc: New.
5649 * 22_locale/time_get/get_date/wchar_t/wrapped_locale.cc: New.
5650 * 22_locale/time_get/get_monthname/char/1.cc: New.
5651 * 22_locale/time_get/get_monthname/char/2.cc: New.
5652 * 22_locale/time_get/get_monthname/char/3.cc: New.
5653 * 22_locale/time_get/get_monthname/char/wrapped_env.cc: New.
5654 * 22_locale/time_get/get_monthname/char/wrapped_locale.cc: New.
5655 * 22_locale/time_get/get_monthname/wchar_t/1.cc: New.
5656 * 22_locale/time_get/get_monthname/wchar_t/2.cc: New.
5657 * 22_locale/time_get/get_monthname/wchar_t/3.cc: New.
5658 * 22_locale/time_get/get_monthname/wchar_t/wrapped_env.cc: New.
5659 * 22_locale/time_get/get_monthname/wchar_t/wrapped_locale.cc: New.
5660 * 22_locale/time_get/get_time/char/1.cc: New.
5661 * 22_locale/time_get/get_time/char/2.cc: New.
5662 * 22_locale/time_get/get_time/char/3.cc: New.
5663 * 22_locale/time_get/get_time/char/wrapped_env.cc: New.
5664 * 22_locale/time_get/get_time/char/wrapped_locale.cc: New.
5665 * 22_locale/time_get/get_time/wchar_t/1.cc: New.
5666 * 22_locale/time_get/get_time/wchar_t/2.cc: New.
5667 * 22_locale/time_get/get_time/wchar_t/3.cc: New.
5668 * 22_locale/time_get/get_time/wchar_t/wrapped_env.cc: New.
5669 * 22_locale/time_get/get_time/wchar_t/wrapped_locale.cc: New.
5670 * 22_locale/time_get/get_weekday/char/1.cc: New.
5671 * 22_locale/time_get/get_weekday/char/2.cc: New.
5672 * 22_locale/time_get/get_weekday/char/3.cc: New.
5673 * 22_locale/time_get/get_weekday/char/wrapped_env.cc: New.
5674 * 22_locale/time_get/get_weekday/char/wrapped_locale.cc: New.
5675 * 22_locale/time_get/get_weekday/wchar_t/1.cc: New.
5676 * 22_locale/time_get/get_weekday/wchar_t/2.cc: New.
5677 * 22_locale/time_get/get_weekday/wchar_t/3.cc: New.
5678 * 22_locale/time_get/get_weekday/wchar_t/wrapped_env.cc: New.
5679 * 22_locale/time_get/get_weekday/wchar_t/wrapped_locale.cc: New.
5680 * 22_locale/time_get/get_year/char/1.cc: New.
5681 * 22_locale/time_get/get_year/char/3.cc: New.
5682 * 22_locale/time_get/get_year/char/wrapped_env.cc: New.
5683 * 22_locale/time_get/get_year/char/wrapped_locale.cc: New.
5684 * 22_locale/time_get/get_year/wchar_t/1.cc: New.
5685 * 22_locale/time_get/get_year/wchar_t/3.cc: New.
5686 * 22_locale/time_get/get_year/wchar_t/wrapped_env.cc: New.
5687 * 22_locale/time_get/get_year/wchar_t/wrapped_locale.cc: New.
5688 * 22_locale/time_put/1.cc: New.
5689 * 22_locale/time_put/2.cc: New.
5690 * 22_locale/time_put/put/char/1.cc: New.
5691 * 22_locale/time_put/put/char/10.cc: New.
5692 * 22_locale/time_put/put/char/2.cc: New.
5693 * 22_locale/time_put/put/char/3.cc: New.
5694 * 22_locale/time_put/put/char/4.cc: New.
5695 * 22_locale/time_put/put/char/5.cc: New.
5696 * 22_locale/time_put/put/char/6.cc: New.
5697 * 22_locale/time_put/put/char/7.cc: New.
5698 * 22_locale/time_put/put/char/8.cc: New.
5699 * 22_locale/time_put/put/char/9.cc: New.
5700 * 22_locale/time_put/put/char/wrapped_env.cc: New.
5701 * 22_locale/time_put/put/char/wrapped_locale.cc: New.
5702 * 22_locale/time_put/put/wchar_t/1.cc: New.
5703 * 22_locale/time_put/put/wchar_t/10.cc: New.
5704 * 22_locale/time_put/put/wchar_t/2.cc: New.
5705 * 22_locale/time_put/put/wchar_t/3.cc: New.
5706 * 22_locale/time_put/put/wchar_t/4.cc: New.
5707 * 22_locale/time_put/put/wchar_t/5.cc: New.
5708 * 22_locale/time_put/put/wchar_t/6.cc: New.
5709 * 22_locale/time_put/put/wchar_t/7.cc: New.
5710 * 22_locale/time_put/put/wchar_t/8.cc: New.
5711 * 22_locale/time_put/put/wchar_t/9.cc: New.
5712 * 22_locale/time_put/put/wchar_t/wrapped_env.cc: New.
5713 * 22_locale/time_put/put/wchar_t/wrapped_locale.cc: New.
5715 2003-01-16 Jeffrey D. Oldham <oldham@codesourcery.com>
5717 * config/locale/generic/messages_members.h
5718 (messages_byname<_CharT>::messages_byname): Use this-> to refer to
5719 unqualified members of base clasess.
5721 2003-01-16 Mark Mitchell <mark@codesourcery.com>
5722 Jeffrey Oldham <oldham@codesourcery.com>
5724 * config/locale/gnu/messages_members.h: Use this-> to refer to
5725 unqualified members of base clasess.
5726 * config/locale/ieee_1003.1-2001/codecvt_specializations.h: Likewise.
5727 * include/bits/codecvt.h: Likewise.
5728 * include/bits/deque.tcc: Likewise.
5729 * include/bits/fstream.tcc: Likewise.
5730 * include/bits/istream.tcc: Likewise.
5731 * include/bits/list.tcc: Likewise.
5732 * include/bits/locale_facets.h: Likewise.
5733 * include/bits/ostream.tcc: Likewise.
5734 * include/bits/sstream.tcc: Likewise.
5735 * include/bits/stl_bvector.h: Likewise.
5736 * include/bits/stl_deque.h: Likewise.
5737 * include/bits/stl_list.h: Likewise.
5738 * include/bits/stl_tree.h: Likewise.
5739 * include/bits/stl_vector.h: Likewise.
5740 * include/bits/vector.tcc: Likewise.
5741 * include/ext/ropeimpl.h: Likewise.
5742 * include/ext/stdio_filebuf.h: Likewise.
5743 * include/ext/stl_rope.h: Likewise.
5744 * include/std/std_fstream.h: Likewise.
5745 * include/std/std_sstream.h: Likewise.
5747 2003-01-15 Phil Edwards <pme@gcc.gnu.org>
5749 * include/bits/basic_string.tcc (_S_string_copy): Unused, remove.
5751 2003-01-15 Benjamin Kosnik <bkoz@redhat.com>
5753 * acinclude.m4 (GLIBCPP_CHECK_WCHAR_T_SUPPORT): Substitute
5754 GLIBCPP_TEST_WCHAR_T if building wchar_t bits in the library.
5755 * aclocal.m4: Regenerate.
5756 * configure: Regenerate.
5757 * testsuite/Makefile.am (all-local): Add conditional rule to
5758 generate testsuite_wchar_t.
5759 * testsuite/Makefile.in: Regenerate.
5760 * testsuite/lib/libstdc++-v3-dg.exp
5761 (libstdc++-v3-list-sourcefiles): Remove wchar_t files if
5762 testsuite_wchar_t is not present in the build directory.
5763 * testsuite/libstdc++-v3.dg/dg.exp: Add -g -O2 to DEFAULT_CXXFLAGS.
5764 Remove setulimit bits.
5765 * testsuite/26_numerics/complex_value.cc: Set to noopts.
5766 * testsuite/Makefile.am (CLEANFILES): Add.
5767 * testsuite/Makefile.in: Regenerate.
5769 2003-01-15 John David Anglin <dave@hiauly1.hia.nrc.ca>
5771 * config/os/hpux/os_defines.h (_GLIBCPP_GTHREAD_USE_WEAK): Define for
5774 2003-01-14 Jeffrey D. Oldham <oldham@codesourcery.com>
5776 Further conform g++'s __vmi_class_type_info to the C++ ABI
5778 * libsupc++/cxxabi.h
5779 (__vmi_class_type_info::__flags_masks): Remove enumerations not
5780 required by the specification.
5782 2003-01-12 Benjamin Kosnik <bkoz@redhat.com>
5784 Renames, namespaces for testsuite utilities.
5785 * testsuite/testsuite_hooks.h: Put into namespace __gnu_cxx_test.
5786 (gnu_allocator_tracker): Rename to allocation_tracker.
5787 (gnu_new_allocator): Rename to tracker_alloc.
5788 (__set_testsuite_memlimit): Rename to set_memory_limits.
5789 (gnu_assignment_operator): Rename to assignment_operator.
5790 (gnu_destructor): Rename to destructor.
5791 (gnu_copy_tracker): Rename to copy_tracker.
5792 (gnu_char, gnu_int, gnu_long): Rename to pod_char, pod_int, pod_long.
5793 (run_tests_wrapped_locale): New.
5794 (run_tests_wrapped_env): New.
5795 * testsuite/testsuite_hooks.cc: Same.
5796 (class locale_data): Add.
5797 (class enviornment_variable): Add.
5798 (class not_found): Add.
5799 * testsuite/testsuite_allocator.h: Same.
5800 * testsuite/testsuite_allocator.cc: Same.
5801 * testsuite/23_containers/deque_ctor.cc
5802 (test_copy_ctor_exception_safety): Change gnu_allocator_tracker to
5804 Change gnu_new_allocator to tracker_alloc.
5805 Change gnu_counting_struct to counter.
5806 Change gnu_copy_tracker to copy_tracker.
5807 Change gnu_copy_constructor to copy_constructor.
5808 Change gnu_assignment_operator to assignment_operator.
5810 * testsuite/23_containers/vector_capacity.cc: Same.
5811 * testsuite/23_containers/vector_ctor.cc (test01): Same.
5812 * testsuite/23_containers/list_modifiers.cc: Change
5813 gnu_copy_tracker to copy_tracker.
5814 * testsuite/21_strings/ctor_copy_dtor.cc (main): Change
5815 __set_testsuite_memlimit to set_memory_limits.
5816 * testsuite/21_strings/insert.cc (main): Same.
5817 * testsuite/27_io/filebuf.cc: Change gnu_char to pod_char.
5818 * testsuite/27_io/stringstream.cc: Same.
5819 * testsuite/27_io/stringbuf.cc: Same.
5820 * testsuite/27_io/streambuf.cc: Same.
5821 * testsuite/27_io/ostream.cc: Same.
5822 * testsuite/27_io/istream.cc: Same.
5823 * testsuite/27_io/fstream.cc: Same.
5824 * testsuite/lib/libstdc++-v3-dg.exp
5825 (libstdc++-v3-list-sourcefiles): Additionally handle files two and
5826 three levels deeper in glob patterns.
5828 2003-01-11 Phil Edwards <pme@gcc.gnu.org>
5830 * docs/doxygen/tables.html: Finished now.
5831 * docs/doxygen/user.cfg.in: Update to latest version of Doxygen.
5832 * include/bits/basic_ios.h (basic_ios::rdbuf): Add example to
5835 * include/bits/deque.tcc, include/bits/stl_alloc.h,
5836 include/bits/stl_deque.h, include/bits/stl_list.h,
5837 include/bits/stl_vector.h: Remove _GLIBCPP_DEPRECATED bits scheduled
5840 2003-01-09 Benjamin Kosnik <bkoz@redhat.com>
5842 * configure.in: Revert.
5843 * configure: Regenerate.
5845 2003-01-09 Christian Cornelssen <ccorn@cs.tu-berlin.de>
5847 * include/Makefile.am (install-data-local): Prepend
5848 $(DESTDIR) to destination paths in all (un)installation
5849 commands. Use ${c_base_builddir} and ${std_builddir}
5850 as destination subdirectories to achieve consistency with
5851 preceding mkinstalldirs commands. No effect because both
5852 variables contain "." only.
5853 * include/Makefile.in: Regenerate.
5855 2003-01-08 Benjamin Kosnik <bkoz@redhat.com>
5857 * include/Makefile.am (stamp-*): Add checks for existing stamps.
5858 * include/Makefile.in: Regenerate.
5860 * acinclude.m4 (GLIBCPP_ENABLE_DEBUG): Correct comment.
5861 * aclocal.m4: Regenerate.
5863 * configure.in: Don't add new multi-do rules every time the
5864 directory is reconfigured.
5865 * configure: Regenerate.
5867 2003-01-08 Brad Spencer <spencer@infointeractive.com>
5868 Nathan Myers <ncm@cantrip.org>
5870 * src/Makefile.am (stamp-debug): Clean.
5871 * src/Makefile.in: Regenerate.
5873 2003-01-07 Benjamin Kosnik <bkoz@redhat.com>
5876 * Makefile.am (distclean-multi): Fix.
5877 * Makefile.in: Regenerate.
5879 2003-01-06 Benjamin Kosnik <bkoz@redhat.com>
5881 * include/bits/locale_facets.h (messages): Move ctor, dtor
5883 (__timepunct): Same.
5884 * config/locale/gnu/messages_members.h (messages): Add dtor, ctor
5885 definitions. Conditionalize for GNU systems.
5886 * config/locale/generic/messages_members.h (messages): Add dtor, ctor
5888 * config/locale/gnu/time_members.h (messages): New. Add dtor, ctor
5889 definitions. Conditionalize for GNU systems.
5890 * config/locale/generic/time_members.h (messages): New. Add dtor, ctor
5892 * include/bits/localefwd.h (locale::facet::_S_c_name): Add.
5893 * src/locale.cc: Define.
5894 * src/localename.cc (locale::_Impl::_Impl(facet**, size_t, bool):
5896 * config/locale/gnu/time_members.h: Use it.
5897 * config/locale/gnu/messages_members.h: Use it.
5898 * config/linker-map.gnu: Add locale::facets details.
5899 * include/Makefile.am (target_headers_extra): Add time_members.h.
5900 * include/Makefile.in: Regenerate.
5901 * acinclude.m4: Export CTIME_H.
5902 * aclocal.m4: Regenerate.
5903 * configure: Regnerate.
5905 2003-01-06 Paolo Carlini <pcarlini@unitus.it>
5908 (codecvt<char, char, mbstate_t>::do_in, do_out):
5909 Tweak parameters to avoid unused parameter warnings.
5911 2003-01-06 Paolo Carlini <pcarlini@unitus.it>
5914 * include/bits/locale_facets.cc (num_put::_M_convert_float):
5915 Limit __prec to digits10 + 2, not digits10 + 1, taking into
5916 account the possibility of %{g,G} conversion specifiers
5917 inside _S_format_float.
5918 * testsuite/27_io/ostream_inserter_arith.cc (test06): Add.
5920 2003-01-06 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
5922 * testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3-init,
5923 libstdc++-v3-list-sourcefiles): Additionally handle files one
5924 level deeper in glob patterns.
5926 * testsuite/27_io/istream_extractor_arith.cc: Delete, split...
5927 * testsuite/27_io/istream_extractor_arith/01.cc,
5928 testsuite/27_io/istream_extractor_arith/02.cc,
5929 testsuite/27_io/istream_extractor_arith/03.cc,
5930 testsuite/27_io/istream_extractor_arith/06.cc,
5931 testsuite/27_io/istream_extractor_arith/07.cc,
5932 testsuite/27_io/istream_extractor_arith/08.cc,
5933 testsuite/27_io/istream_extractor_arith/09.cc,
5934 testsuite/27_io/istream_extractor_arith/10.cc,
5935 testsuite/27_io/istream_extractor_arith/11.cc,
5936 testsuite/27_io/istream_extractor_arith/12.cc,
5937 testsuite/27_io/istream_extractor_arith/13.cc: ... to new files.
5938 * testsuite/27_io/istream_extractor_arith/12.cc: Add XFAIL for
5941 2003-01-05 Paolo Carlini <pcarlini@unitus.it>
5945 (codecvt<char, char, mbstate_t>::do_in, do_out):
5946 Implement the resolution of DR19 (TC).
5947 * testsuite/22_locale/codecvt_members_char_char.cc
5950 2003-01-02 Jason Merrill <jason@redhat.com>
5952 * config/cpu/i486/atomicity.h (__exchange_and_add, __atomic_add):
5953 *__mem is also an output.
5954 * config/cpu/m68k/atomicity.h (__exchange_and_add): Likewise.