1 2002-01-18 Loren Rittle <ljrittle@acm.org>
3 * testsuite/18_support/numeric_limits.cc (test_extrema<long double>):
4 Add specialization for FreeBSD systems only to avoid losing test
5 only due to extra precision unmentioned in system headers.
7 2002-01-18 David Billinghurst <David.Billinghurst@riotinto.com>
9 * config/os/irix/irix6.5/bits/ctype_noninline.h: Fix typo
11 2002-01-17 Nick Clifton <nickc@cambridge.redhat.com>
13 * testsuite/testsuite_hooks.h: Fix comment typo. Memory
14 limiting is only attempted if _GLIBCPP_MEM_LIMIT is defined.
16 2002-01-17 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
18 * testsuite/22_locale/ctor_copy_dtor.cc: Remove check.
20 2002-01-17 David Edelsohn <edelsohn@gnu.org>
22 * configure.target: Define OPT_LDFLAGS for AIX case.
24 2002-01-17 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
26 * include/std/std_limits.h (__glibcpp_float_has_quiet_NaN,
27 __glibcpp_double_has_quiet_NaN): Correct mispelling.
29 2002-01-17 Andreas Tobler <toa@pop.agri.ch>
31 * config/os/solaris/solaris2.6/bits/ctype_noninline.h: Fix.
33 2002-01-16 David Edelsohn <dje@watson.ibm.com>
35 * acinclude.m4 (GLIBCPP_CHECK_LINKER_FEATURES): Do not clear
36 SECTION_LDFLAGS and OPT_LDFLAGS. Fix ac_sectionLDflags type.
37 * aclocal.m4: Regenerate.
38 * configure: Regenerate.
40 2002-01-16 Benjamin Kosnik <bkoz@redhat.com>
42 * include/Makefile.am (c_base_headers_rename): New.
43 (c_base_headers_extra): New.
44 (stamp-c_base): Modify.
45 (install-data-local): Use both.
46 * include/Makefile.in: Regenerate.
47 * include/c/[cctype ciso646 cmath cstdarg cstdlib cerrno climits
48 csetjmp cstddef cstring cwchar cassert cfloat clocale csignal
49 cstdio ctime cwctype]: Move to..
50 * include/c/std_*: Here.
51 * include/c_std/[cctype ciso646 cmath cstdarg cstdlib cerrno climits
52 csetjmp cstddef cstring cwchar cassert cfloat clocale csignal
53 cstdio ctime cwctype]: Move to..
54 * include/c_std/std_*: Here.
56 Alexandre Oliva <aoliva@redhat.com>
57 * include/Makefile.am (.PRECIOUS): Add rule.
58 * include/Makefile.in: Regenerate.
60 2002-01-16 Benjamin Kosnik <bkoz@redhat.com>
61 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
63 * include/bits/stl_iterator.h (reverse_iterator::_M_current):
64 Deuglify, should be current.
65 (back_insert_iterator::_M_container): Deuglify, should be container.
66 (front_insert_iterator::_M_container): Same.
67 (insert_iterator::_M_container): Same.
68 * testsuite/24_iterators/reverse_iterator.cc: Add check.
69 * testsuite/24_iterators/back_insert_iterator.cc: Add check.
70 * testsuite/24_iterators/front_insert_iterator.cc: Same.
71 * testsuite/24_iterators/insert_iterator.cc: Same.
73 2002-01-16 Benjamin Kosnik <bkoz@redhat.com>
75 * include/bits/locale_facets.h (ctype<char>::classic_table): Make
77 (ctype<char>::_M_ctable): Make static, change name to _S_ctable.
78 * config/os/gnu-linux/bits/ctype_noninline.h: Define _S_ctable.
79 * config/os/solaris/solaris2.7/bits/ctype_noninline.h: Same.
80 * config/os/solaris/solaris2.6/bits/ctype_noninline.h: Same.
81 * config/os/solaris/solaris2.5/bits/ctype_noninline.h: Same.
82 * config/os/newlib/bits/ctype_noninline.h: Same.
83 * config/os/irix/irix6.5/bits/ctype_noninline.h: Same.
84 * config/os/irix/irix5.2/bits/ctype_noninline.h: Same.
85 * config/os/hpux/bits/ctype_noninline.h: Same.
86 * config/os/djgpp/bits/ctype_noninline.h: Same.
87 * config/os/bsd/netbsd/bits/ctype_noninline.h: Same.
88 * config/os/bsd/freebsd/bits/ctype_noninline.h: Same.
89 * config/os/aix/bits/ctype_noninline.h: Same.
91 Testcase by Dietmar Kühl via Peter Schmid
92 * testsuite/22_locale/ctype_members_char.cc (char>): Add test for
95 2002-01-16 Benjamin Kosnik <bkoz@redhat.com>
97 * libmath/signbitl.c: Copyright years as list, not range.
98 * libmath/Makefile.am: Same.
99 * libmath/Makefie.in: Regenerate.
100 * libmath/signbit.c: Same.
101 * libmath/nan.c: Same.
102 * libmath/copysignf.c: Same.
103 * libmath/signbitf.c: Same.
104 * testsuite/22_locale/money_get_members_char.cc: Same.
105 * testsuite/22_locale/money_get_members_wchar_t.cc: Same.
106 * testsuite/22_locale/money_put_members_char.cc: Same.
107 * testsuite/22_locale/money_put_members_wchar_t.cc: Same.
108 * testsuite/22_locale/time_get_members_char.cc: Same.
109 * testsuite/22_locale/time_get_members_wchar_t.cc: Same.
110 * testsuite/22_locale/time_put_members_char.cc: Same.
111 * testsuite/22_locale/time_put_members_wchar_t.cc: Same.
112 * testsuite/21_strings/nonmember.cc: Same.
113 * testsuite/21_strings/compare.cc: Same.
114 * testsuite/27_io/stringstream.cc: Same.
115 * testsuite/27_io/stringbuf.cc: Same.
116 * testsuite/27_io/filebuf.cc: Same.
117 * testsuite/27_io/ios_manip_basefield.cc: Same.
118 * testsuite/27_io/ios_manip_fmtflags.cc: Same.
119 * include/bits/cpp_type_traits.h: Same.
120 * include/bits/generic_shadow.h: Same.
121 * include/bits/gslice_array.h: Same.
122 * include/bits/gslice.h: Same.
123 * include/bits/indirect_array.h: Same.
124 * include/bits/slice_array.h: Same.
125 * include/bits/sstream.tcc: Same.
126 * include/bits/streambuf_iterator.h: Same.
127 * include/bits/valarray_array.tcc: Same.
128 * include/bits/valarray_meta.h: Same.
129 * include/bits/valarray_array.h: Same.
130 * config/os/mingw32/bits/ctype_noninline.h: Same.
131 * config/os/mingw32/bits/ctype_base.h: Same.
132 * config/os/hpux/bits/ctype_noninline.h: Same.
133 * config/os/hpux/bits/ctype_base.h: Same.
134 * config/os/gnu-linux/bits/ctype_noninline.h: Same.
135 * config/os/gnu-linux/bits/ctype_base.h: Same.
136 * config/os/generic/bits/ctype_noninline.h: Same.
137 * config/os/generic/bits/ctype_base.h: Same.
139 * libsupc++/tinfo.h: Tweaks.
141 2002-01-15 Benjamin Kosnik <bkoz@redhat.com>
143 * testsuite/22_locale/num_put_members_wchar_t.cc (test02): Same.
144 * testsuite/22_locale/num_put_members_char.cc (test01): Tweak.
145 * testsuite/22_locale/ctype_members_char.cc: Tweak.
147 2002-01-15 Benjamin Kosnik <bkoz@redhat.com>
149 * include/bits/locale_facets.tcc (num_put::do_put(bool): Fix.
150 (num_put::do_put(void*)): Fix.
151 * testsuite/22_locale/num_put_members_char.cc (test02): Add.
152 * testsuite/22_locale/num_put_members_wchar_t.cc (test02): Add.
153 * testsuite/22_locale/num_get_members_char.cc (test02): Add
154 long double, void, bool types.
155 * testsuite/22_locale/num_get_members_wchar_t.cc (test02): Add.
157 2002-01-15 Benjamin Kosnik <bkoz@redhat.com>
158 Alexandre Oliva <aoliva@redhat.com>
160 * libmath/Makefile.am (LINK): Add --tag CC.
161 * libmath/Makefile.in: Regenerate.
163 2002-01-15 John David Anglin <dave@hiauly1.hia.nrc.ca>
165 * config/os/hpux/bits/ctype_noninline.h: Use __SB_masks for address
166 of character to attribute mapping table.
168 2002-01-15 David Billinghurst <David.Billinghurst@riotinto.com>
170 * testsuite/26_numerics/c99_classification_macros_c.cc
171 Remove dg-error and dg-excess-errors comments.
173 2002-01-14 Benjamin Kosnik <bkoz@redhat.com>
175 * include/bits/locale_facets.tcc (time_put::put): Correct output
177 * testsuite/22_locale/time_put_members_char.cc (test02): Add.
178 * testsuite/22_locale/time_put_members_wchar_t.cc (test02): Add.
179 * testsuite/22_locale/time_get_members_wchar_t.cc (test06): Add.
180 * testsuite/22_locale/time_get_members_char.cc (test06): Add.
182 2002-01-14 Craig Rodrigues <rodrigc@gcc.gnu.org>
184 * docs/html/17_intro/porting-howto.xml: Update filebuf section.
186 2002-01-14 Paolo Carlini <pcarlini@unitus.it>
187 Nathan Myers <ncm@cantrip.org>
189 * include/bits/basic_string.h
190 (replace(__pos, __n1, __s, __n2)): Optimize by avoiding
191 temporaries (i.e., call _M_replace_safe) when possible.
192 (replace(__pos, __n, __str)): Call replace(__pos, __n1, __s, __n2).
193 (replace(__pos, __n1, __s)): Call replace(__pos, __n1, __s , __n2).
194 (replace(__i1, __i2, __str)): Call replace(__i1, __i2, __s, __n).
195 (replace(__i1, __i2, __s)): Call replace(__i1, __i2, __s, __n).
196 (replace(__i1, __i2, __s, __n)): Call replace(__pos1, __n1, __s, __n2).
197 * include/bits/basic_string.tcc
198 (replace(__pos1, __n1, __str, __pos2, __n2)): Call
199 replace(__pos, __n1, __s, __n2).
200 * testsuite/21_strings/replace.cc (test03): New testcases.
202 * include/bits/basic_string.h (insert(__pos, __s, __n)):
203 Adjust comparison wrt overflow.
205 2002-01-12 Benjamin Kosnik <bkoz@redhat.com>
207 * include/Makefile.am (std_headers_rename): New variable.
208 (install-data-local): Use it.
209 * include/Makefile.in: Regenerate.
211 2002-01-12 Benjamin Kosnik <bkoz@redhat.com>
213 * include/bits/locale_facets.tcc (money_put::do_put(string):
214 Correct output iterator value.
215 * testsuite/22_locale/money_put_members_char.cc (test03): Add.
216 * testsuite/22_locale/money_put_members_wchar_t.cc: Same.
218 2002-01-11 Phil Edwards <pme@gcc.gnu.org>
220 * include/Makefile.am, include/Makefile.in (stamp-std): Fix typo from
223 2002-01-11 Phil Edwards <pme@gcc.gnu.org>
225 * include/Makefile.am (std_headers): Update list with new names.
226 (stamp-std): Link to standardized name.
227 * include/Makefile.in: Regenerate.
229 * include/std/algorithm, include/std/bitset, include/std/complex,
230 include/std/deque, include/std/fstream, include/std/functional,
231 include/std/iomanip, include/std/ios, include/std/iosfwd,
232 include/std/iostream, include/std/istream, include/std/iterator,
233 include/std/limits, include/std/list, include/std/locale,
234 include/std/map, include/std/memory, include/std/numeric,
235 include/std/ostream, include/std/queue, include/std/set,
236 include/std/sstream, include/std/stack, include/std/stdexcept,
237 include/std/streambuf, include/std/string, include/std/utility,
238 include/std/valarray, include/std/vector: Rename to...
240 * include/std/std_algorithm.h, include/std/std_bitset.h,
241 include/std/std_complex.h, include/std/std_deque.h,
242 include/std/std_fstream.h, include/std/std_functional.h,
243 include/std/std_iomanip.h, include/std/std_ios.h,
244 include/std/std_iosfwd.h, include/std/std_iostream.h,
245 include/std/std_istream.h, include/std/std_iterator.h,
246 include/std/std_limits.h, include/std/std_list.h,
247 include/std/std_locale.h, include/std/std_map.h,
248 include/std/std_memory.h, include/std/std_numeric.h,
249 include/std/std_ostream.h, include/std/std_queue.h,
250 include/std/std_set.h, include/std/std_sstream.h,
251 include/std/std_stack.h, include/std/std_stdexcept.h,
252 include/std/std_streambuf.h, include/std/std_string.h,
253 include/std/std_utility.h, include/std/std_valarray.h,
254 include/std/std_vector.h: ...this.
256 2002-01-11 Loren Rittle <ljrittle@acm.org>
258 * include/Makefile.am (extra_target_headers): New list of all
259 target files built with ad hoc naming rules.
260 (stamp-*): Handle LN_S failure in manner portable across make
262 (install-data-local): Install header files from human-maintained
263 file lists and directory components instead of non-robust find.
264 * include/Makefile.in: Rebuilt.
266 2002-01-11 Benjamin Kosnik <bkoz@redhat.com>
268 * include/bits/locale_facets.tcc (money_get::do_get(string)):
269 Check for zero-length negative sign before adding it to output
271 (money_get::do_get(long double)): Return beg.
272 * testsuite/22_locale/money_get_members_char.cc (test02): Add
274 * testsuite/22_locale/money_get_members_wchar_t.cc: Same.
276 2002-01-10 David Seymour <seymour_dj@yahoo.com>
279 * include/bits/locale_facets.h (num_get<>): Return advanced iterator
280 for _M_extract_float and _M_extract_int
281 * include/bits/locale_facets.tcc (num_get<>::_M_extract_float)
282 (num_get<>::_M_extract_int): Likewise, all callers changed
283 * testsuite/22_locale/num_get_members_char.cc: Testcase
285 2002-01-09 Paolo Carlini <pcarlini@unitus.it>
287 * libsupc++/exception (bad_exception): Add comment.
288 * libsupc++/new (bad_alloc): Same.
289 * libsupc++/typeinfo (bad_cast, bad_typeid): Same.
291 2002-01-09 Paolo Carlini <pcarlini@unitus.it>
293 libstdc++/3150: revert 2001-11-30 commit. DR266 only means
294 that the destructors should be removed from the descriptions
295 in the standard: writing them explicitly allows the vtable
296 heuristic to work. For additional information see:
297 http://gcc.gnu.org/ml/libstdc++/2002-01/msg00090.html
298 http://gcc.gnu.org/ml/libstdc++/2002-01/msg00110.html
299 http://gcc.gnu.org/ml/libstdc++/2002-01/msg00155.html
300 * libsupc++/exception (bad_exception::~bad_exception()):
301 Reintroduce declaration.
302 * libsupc++/new (bad_alloc::~bad_alloc()): Same.
303 * libsupc++/typeinfo (bad_cast::~bad_cast()): Same.
304 (bad_typeid::~bad_typeid()): Same.
305 * libsupc++/eh_exception.cc (bad_exception::~bad_exception()):
306 Reintroduce definition.
307 * libsupc++/new_handler.cc (bad_alloc::~bad_alloc()): Same.
308 * libsupc++/tinfo.cc (bad_cast::~bad_cast()): Same.
309 (bad_typeid::~bad_typeid()): Same.
311 2002-01-09 Benjamin Kosnik <bkoz@redhat.com>
313 * include/Makefile.am (c_base_srcdir): Remove duplicate '/'.
314 * include/Makefile.in: Regenerate.
316 2002-01-09 Bo Thorsen <bo@suse.co.uk>
318 * config/cpu/x86-64/bits/cpu_limits.h (__glibcpp_long_bits): Add
321 2002-01-08 Benjamin Kosnik <bkoz@redhat.com>
325 * include/bits/fstream.tcc (filebuf::_M_really_overflow): Test
326 return value of _M_file->sync().
327 (filebuf::showmanyc): Check for is_open.
328 * include/std/fstream (filebuf::sync): Tweak.
329 * testsuite/27_io/filebuf.cc: Tweak.
331 2002-01-08 John Fardo <jfardo@laurelnetworks.com>
332 Brad Garcia <garsh@attbi.com>
334 * testsuite/27_io/filebuf_members.cc: Add test.
336 2002-01-07 Benjamin Kosnik <bkoz@redhat.com>
337 Craig Rodrigues <rodrigc@mediaone.net>
340 * po/Makefile.am (mkinstalldirs): Add.
341 * po/Makefile.in: Regenerate.
343 2002-01-07 David Billinghurst <David.Billinghurst@riotinto.com>
345 * testsuite_flags.in: Add -fmessage-length=0 to CXXFLAGS *
346 testsuite/lib/prune.exp: Delete lines ":In function ..." from
348 * testsuite/23_containers/map_operators.cc: Remove
349 dg-excess-errors comment.
350 * testsuite/23_containers/set_operators.cc: Likewise.
352 2002-01-06 Paolo Carlini <pcarlini@unitus.it>
354 * include/bits/stl_function.h: Remove two lines of comments;
355 adjust copyright years.
357 2002-01-04 Benjamin Kosnik <bkoz@redhat.com>
359 * include/Makefile.am (std_headers): Remove cXXX from list.
360 (c_base_srcdir): No bits subdirectory.
361 (c_base_builddir): Same.
362 (c_base_headers): Adjust names, add ciso646.
363 (bits_headers): Remove std_xxx.h headers.
364 * include/Makefile.in: Regenerate.
366 * include/ext/iterator: Adjust includes.
367 * include/ext/ropeimpl.h: Same.
368 * include/ext/stl_hash_fun.h: Same.
369 * include/ext/algorithm: Same.
371 * include/backward/bvector.h: Adjust includes.
372 * include/backward/vector.h: Same.
373 * include/backward/strstream: Same.
374 * include/backward/streambuf.h: Same.
375 * include/backward/stack.h: Same.
376 * include/backward/set.h: Same.
377 * include/backward/queue.h: Same.
378 * include/backward/multiset.h: Same.
379 * include/backward/multimap.h: Same.
380 * include/backward/map.h: Same.
381 * include/backward/list.h: Same.
382 * include/backward/iterator.h: Same.
383 * include/backward/iostream.h: Same.
384 * include/backward/iomanip.h: Same.
385 * include/backward/fstream.h: Same.
386 * include/backward/deque.h: Same.
387 * include/backward/complex.h: Same.
389 * include/bits/std_algorithm.h: Move to...
390 * include/std/algorithm: ...here.
391 * include/bits/std_iosfwd.h, std_locale.h, std_stack.h,
392 std_bitset.h, std_ios.h, std_map.h, std_stdexcept.h,
393 std_complex.h, std_iostream.h, std_memory.h, std_streambuf.h,
394 std_deque.h, std_istream.h, std_numeric.h, std_string.h,
395 std_fstream.h, std_ostream.h, std_utility.h, std_iterator.h,
396 std_queue.h, std_valarray.h, std_functional.h, std_limits.h,
397 std_set.h, std_vector.h, std_iomanip.h, std_list.h, std_sstream.h:
400 * include/c_std/bits/std_cassert.h: Move to...
401 * include/c_std/cassert: Here.
402 * include/c_std/std_cctype.h, std_cerrno.h, std_cfloat.h,
403 std_climits.h, std_clocale.h, std_cmath.h, std_csetjmp.h,
404 std_csignal.h, std_cstdarg.h, std_cstddef.h, std_cstdio.h,
405 std_cstdlib.h, std_cstring.h, std_ctime.h, std_cwchar.h,
407 * include/c_std/cmath: Adjust cmath.tcc include.
408 * include/c_std/cstdlib: Adjust includes.
409 * include/c_std/cwchar: Same.
410 * include/c_std/ctime: Same.
411 * include/c_std/cstring: Same.
412 * include/c_std/cstdio: Same.
413 * include/c_std/bits: Remove directory.
415 * include/c/bits/std_cassert.h: Move to...
416 * include/c/cassert: Here.
417 * include/c/std_cctype.h, std_cerrno.h, std_cfloat.h,
418 std_climits.h, std_clocale.h, std_cmath.h, std_csetjmp.h,
419 std_csignal.h, std_cstdarg.h, std_cstddef.h, std_cstdio.h,
420 std_cstdlib.h, std_cstring.h, std_ctime.h, std_cwchar.h,
422 * include/c/bits: Remove directory.
424 * include/std/cwctype: Remove.
425 * include/std/cwchar: Remove.
426 * include/std/ctime: Remove.
427 * include/std/cstring: Remove.
428 * include/std/cstdlib: Remove.
429 * include/std/cstdio: Remove.
430 * include/std/cstddef: Remove.
431 * include/std/cstdarg: Remove.
432 * include/std/csignal: Remove.
433 * include/std/csetjmp: Remove.
434 * include/std/cmath: Remove.
435 * include/std/clocale: Remove.
436 * include/std/climits: Remove.
437 * include/std/ciso646: Remove.
438 * include/std/cfloat: Remove.
439 * include/std/cerrno: Remove.
440 * include/std/cctype: Remove.
441 * include/std/cassert: Remove.
443 * include/bits/fpos.h: Adjust includes, removing <bits/std_xxx.h>
444 files and subsituting <.xxx>
445 * include/bits/valarray_array.h: Same.
446 * include/bits/stl_uninitialized.h: Same.
447 * include/bits/stl_alloc.h: Same.
448 * include/bits/stl_algobase.h: Same.
449 * include/bits/sstream.tcc: Same.
450 * include/bits/pthread_allocimpl.h: Same.
451 * include/bits/ostream.tcc: Same.
452 * include/bits/localefwd.h: Same.
453 * include/bits/locale_facets.tcc: Same.
454 * include/bits/locale_facets.h: Same.
455 * include/bits/istream.tcc: Same.
456 * include/bits/char_traits.h: Same.
457 * include/bits/boost_concept_check.h: Same.
458 * include/bits/basic_file.h: Same.
459 * include/std/bitset: Same.
460 * include/std/complex: Same.
461 * include/std/fstream: Same.
462 * include/std/functional: Same.
463 * include/std/ios: Same.
464 * include/std/iostream: Same.
465 * include/std/ostream: Same.
466 * include/std/sstream: Same.
467 * include/std/streambuf: Same.
468 * include/std/string: Same.
469 * include/std/iterator: Same.
470 * include/std/valarray: Same.
472 * src/ios.cc: Adjust includes.
473 * src/valarray-inst.cc: Same.
474 * src/string-inst.cc: Same.
475 * src/stl-inst.cc: Same.
476 * src/stdexcept.cc: Same.
477 * src/misc-inst.cc: Same.
478 * src/localename.cc: Same.
479 * src/locale-inst.cc: Same.
480 * src/locale.cc: Same.
481 * src/limits.cc: Same.
482 * src/concept-inst.cc: Same.
483 * src/complex_io.cc: Same.
484 * src/codecvt.cc: Same.
485 * src/bitset.cc: Same.
486 * src/cmath.cc: Same.
488 2002-01-04 Paolo Carlini <pcarlini@unitus.it>
490 * include/bits/stl_tree.h (rb_tree): Move to...
491 * include/ext/rb_tree: ...here, new file.
492 * include/Makefile.am (ext_headers): Add new file.
493 * include/Makefile.in: Regenerate.
494 * include/bits/stl_tempbuf.h (get_temporary_buffer + helper,
495 return_temporary_buffer, struct temporary_buffer): Move to...
496 * include/ext/memory: ...here.
497 * testsuite/ext/headers.cc: Include <ext/rb_tree>.
498 * include/backward/tempbuf.h: Include <ext/memory>, tweak.
499 * include/backward/tree.h: Include <ext/rb_tree), tweak.
501 2002-01-03 Paolo Carlini <pcarlini@unitus.it>
503 * include/bits/stl_numeric.h (power + helpers, iota): Move to...
504 * include/ext/numeric: ...here, new file.
505 * include/bits/stl_function.h (identity_element, unary_compose,
506 binary_compose, compose1, compose2, identity, select1st,
507 select2nd, project1st + helper, project2nd + helper,
508 constant_void_fun + helper, constant_unary_fun + helper,
509 costant_binary_fun + helper, constant0, constant1, constant2,
510 subtractive_rng, mem_fun1, mem_fun1_ref): Move to...
511 * include/ext/functional: ...here, new file.
512 * include/Makefile.am (ext_headers): Add new files.
513 * include/Makefile.in: Regenerate.
514 * testsuite/ext/headers.cc: Include <ext/numeric> and
516 * include/backward/algo.h: Include <ext/numeric>, tweak.
517 * include/backward/function.h: Include <ext/functional>, tweak.
518 * include/ext/ropeimpl.h: Include <ext/numeric>.
520 2002-01-03 Jeffrey A Law <law@redhat.com>
522 * config/os/hpux/bits/os_defines.h: Prefix __strtoll and
523 __strtoull declarations with __extension__.
525 2002-01-03 David Billinghurst <David.Billinghurst@riotinto.com>
527 * testsuite/lib/prune.exp: Correct regular expression for
530 2002-01-02 Phil Edwards <pme@gcc.gnu.org>
532 * include/bits/stl_algo.h (upper_bound, equal_range, binary_search):
533 Change concept checks, as with lower_bound and PR 2054.
534 * testsuite/ext/concept_checks.cc: Expand test to include those.
536 2002-01-02 Phil Edwards <pme@gcc.gnu.org>
538 * include/bits/boost_concept_check.h: Import some changes from
539 upsteam (Boost) version.
541 2002-01-02 Paolo Carlini <pcarlini@unitus.it>
543 * include/bits/stl_algobase.h (copy_n + helpers,
544 lexicographical_compare_3way + helpers): Move to...
545 * include/ext/algorithm: ...here.
546 * include/bits/stl_uninitialized.h (uninitialized_copy_n +
548 * include/ext/memory: ...here, new file.
549 * include/Makefile.am (ext_headers): Add new file.
550 * include/Makefile.in: Regenerate.
551 * testsuite/ext/headers.cc: Include <ext/memory>.
552 * include/backward/algobase.h: Include <ext/memory> and
553 <ext/algorithm>, tweak.
554 * include/ext/ropeimpl.h: Include <ext/memory>, tweak.
555 * include/ext/stl_rope.h: Include <ext/memory>, tweak.
557 2002-01-01 Roger Sayle <roger@eyesopen.com>
559 * libmath/stubs.c (sinf,cosf): Implement stubs to enable the
560 equivalent ___builtin__ versions.
562 * include/c_shadow/bits/std_cmath.h: All __builtin math functions
563 are available in libstdc++ as the necessary stub implementations
564 are provided by libmath/stubs.c.
566 2002-01-01 Jason Thorpe <thorpej@wasabisystems.com>
568 * configure.in: Add support for NetBSD cross compiles.
569 * configure: Regenerate.
571 2001-12-31 Paolo Carlini <pcarlini@unitus.it>
573 * include/ext/iterator: Add #include <bits/std_iterator.h>, tweak.
574 * testsuite/ext/headers.cc: Add <ext/iterator>.
576 2001-12-31 Paolo Carlini <pcarlini@unitus.it>
578 * include/backward/algo.h: Add two more using declarations.
579 * include/backward/iterator.h: Include <ext/iterator>,
580 add using declaration.
581 * include/ext/algorithm: Add #pragma GCC system_header.
583 2001-12-31 Phil Edwards <pme@gcc.gnu.org>
585 * include/bits/stl_bvector.h: Change calls to 3-argument distance()
586 into standard 2-argument version.
587 * include/bits/stl_deque.h: Likewise.
588 * include/bits/stl_tempbuf.h: Likewise.
589 * include/bits/stl_tree.h: Likewise.
590 * include/bits/stl_vector.h: Likewise.
591 * include/ext/stl_hashtable.h: Likewise.
592 * include/bits/stl_iterator_base_funcs.h: Move distance() extension...
593 * include/ext/iterator: to here. New file.
594 * include/Makefile.am (ext_headers): Add new file, alphabatize.
595 * include/Makefile.in: Regenerate.
597 2001-12-31 Phil Edwards <pme@gcc.gnu.org>
599 * include/bits/stl_deque.h: Doxygenate with initial/example hooks.
600 Clean up spacing and indentation.
602 2001-12-31 Paolo Carlini <pcarlini@unitus.it>
604 * include/ext/slist: Move into __gnu_cxx,
605 tweak, add using declarations.
607 2001-12-31 Paolo Carlini <pcarlini@unitus.it>
609 * include/ext/hash_map: Move into __gnu_cxx,
610 tweak, add using declarations.
611 * include/ext/hash_set: Ditto.
612 * include/ext/ropeimpl.h: Ditto.
613 * include/ext/stl_hash_fun.h: Ditto.
614 * include/ext/stl_hashtable.h: Ditto.
615 * include/ext/stl_rope.h: Ditto.
616 * src/ext-inst.cc: Tweak.
617 * testsuite/ext/rope.cc: Tweak.
619 2001-12-31 Paolo Carlini <pcarlini@unitus.it>
621 * include/backward/algo.h: Include <ext/algorithm>,
622 tweak using declarations.
624 2001-12-29 Richard Henderson <rth@redhat.com>
626 * config/os/hpux/bits/os_defines.h: Don't define __glibcpp_long_bits.
627 * config/os/hpux/bits/cpu_limits.h: New file.
628 * configure.target (CPULIMITSH): Use it.
630 2001-12-28 Richard Henderson <rth@redhat.com>
632 * config/cpu/ia64/bits/cpu_limits.h: New file.
633 * config/os/osf/osf5.0/bits/cpu_limits.h: New file.
634 * configure.target (CPULIMITSH): Use them.
636 2001-12-28 Phil Edwards <pme@gcc.gnu.org>
638 * include/bits/c++config: Move doxygen hook comment...
639 * docs/doxygen/doxygroups.cc: ...to here.
641 2001-12-28 Phil Edwards <pme@gcc.gnu.org>
644 * include/bits/stl_algo.h (lower_bound): Relax concept checks.
645 * testsuite/ext/concept_checks.cc: New file.
647 2001-12-28 Paolo Carlini <pcarlini@unitus.it>
649 * include/bits/stl_algo.h (count returning void,
650 count_if returning void, __random_sample, random_sample,
651 random_sample_n, __is_heap, is_heap, is_sorted): Move to...
652 * include/ext/algorithm: ...here, new file.
653 * include/Makefile.am (ext_headers): Add new file.
654 * include/Makefile.in: Regenerate.
655 * testsuite/ext/headers.cc: Include <ext/algorithm>.
657 2001-12-28 Paolo Carlini <pcarlini@unitus.it>
658 Nathan Myers <ncm@cantrip.org>
660 * include/bits/basic_string.h (insert(__pos, __s, __n)):
661 Optimize by avoiding temporaries and working in-place when possible.
662 (insert(__pos1, __str)): Call insert(__pos1, __str, __pos2, __n).
663 (insert(__pos1, __str, __pos2, __n)): Call insert(__pos, __s, __n).
664 * testsuite/21_strings/insert.cc (test02): New testcases.
666 2001-12-27 Phil Edwards <pme@gcc.gnu.org>
668 * testsuite/testsuite_hooks.h (gnu_counting_struct): Add.
669 * testsuite/23_containers/deque_ctor.cc: New file.
671 2001-12-27 Paolo Carlini <pcarlini@unitus.it>
673 * include/bits/locale_facets.tcc (collate::do_transform):
674 Adjust implicit typename.
675 * config/locale/messages_members_generic.h (messages::open,
676 messages::do_open, messages::do_get): Adjust implicit typename.
677 * config/locale/messages_members_gnu.h (messages::open,
678 messages::do_open, messages::do_get): Adjust Implicit typename.
679 * config/locale/messages_members_ieee_1003.1-200x.h (messages::open,
680 messages::do_open, messages::do_get): Adjust implicit typename.
682 2001-12-27 Phil Edwards <pme@gcc.gnu.org>
685 * src/misc-inst.cc: Many additional I/O-related instantiations.
686 * testsuite/27_io/instantiations.cc: New file.
688 2001-12-26 Benjamin Kosnik <bkoz@waller.constant.com>
690 * testsuite/24_iterators/insert_iterator.cc (test02): Add.
691 * testsuite/24_iterators/front_insert_iterator.cc (test02): Add.
692 * testsuite/24_iterators/back_insert_iterator.cc (test02): Add.
693 * testsuite/24_iterators/reverse_iterator.cc (test02): Add.
695 * include/bits/stl_iterator.h (reverse_iterator): Uglify member
696 current to _M_current.
697 (back_insert_iterator): Uglify member container to _M_container.
698 (front_insert_iterator): Same.
699 (insert_iterator): Same.
701 2001-12-25 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
703 * include/bits/std_limits.h (__glibcpp_xxx_is_modulo): New
704 macros for signed types; default value is true.
705 (numeric_limits<>::is_modulo): Get value from corresponding
706 __glibcpp_xxx_is_modulo macro.
708 2001-12-23 Jeffrey A Law <law@redhat.com>
710 * config/os/hpux/bits/os_defines.h: Do not include <_sys/inttypes.h>.
711 Twiddle return types for strtoll and strtoull to avoid using
712 intmax_t and uintmax-t.
714 2001-12-22 Richard Henderson <rth@redhat.com>
716 * configure.target (CPULIMITSH): Fix typo in alpha case.
718 2001-12-22 Jeffrey A Law <law@redhat.com>
720 * config/os/hpux/bits/os_defines.h: Update to avoid #defines
721 for strtoll and strtoull.
723 2001-12-21 Jeffrey A Law <law@redhat.com>
725 * config/os/hpux/bits/os_defines.h: Include <sys/_inttypes.h.
726 Define strtoll and strtoull. Provide prototypes for
727 __strtoll and __strtoull. Define _GLIBCPP_USE_LONG_LONG
730 * src/locale-inst.cc: Include <bits/std_cstdlib.h>
732 * configure.target: Fix typo in hpux case.
734 2001-12-21 Paolo Carlini <pcarlini@unitus.it>
736 * include/ext/stl_rope.h (_Rope_iterator):
737 Add local typedef to fix implicit typename problems.
739 2001-12-19 Phil Edwards <pme@gcc.gnu.org>
741 * docs/doxygen/Intro.3: New 'Allocators' module.
742 * docs/doxygen/TODO: Update.
743 * docs/doxygen/doxygroups.cc: Update.
744 * docs/doxygen/run_doxygen: Update.
746 * include/bits/stl_alloc.h: Tweak doxygen hooks in comments.
747 * include/bits/std_memory.h: Doxygenate.
748 * include/bits/stl_iterator_base_types.h: Likewise.
749 * include/bits/stl_raw_storage_iter.h: Likewise.
750 * include/bits/stl_tempbuf.h: Likewise.
751 (get_temporary_buffer): Remove unused nonstandard overload.
752 * include/bits/stl_uninitialized.h: Likewise.
754 * include/bits/stl_iterator_base_types.h (input_iterator,
755 output_iterator, forward_iterator, bidirectional_iterator,
756 random_access_iterator): Move old names...
757 * include/backward/iterator.h: ...to here.
758 * include/bits/stl_bvector.h: Update.
759 * include/ext/stl_rope.h: Update.
761 2001-12-19 Phil Edwards <pme@gcc.gnu.org>
763 * docs/html/configopts.html: Describe recent options.
764 * docs/html/documentation.html: Point to new doxygen tarballs.
765 * docs/html/install.html: Brief updates.
766 * docs/html/17_intro/RELEASE-NOTES: Remove weird control character.
767 * docs/html/ext/howto.html: Fix typos, describe filebuf::fd().
768 * docs/html/faq/index.html: Update for 3.0.95.
769 * docs/html/faq/index.txt: Regenerate.
771 2001-12-19 David Billinghurst <David.Billinghurst@riotinto.com>
774 * testsuite/lib/libstdc++-v3-dg.exp: Append .exe to
777 2001-12-18 Benjamin Kosnik <bkoz@redhat.com>
779 * docs/html/17_intro/TODO: Update.
780 * docs/html/17_intro/RELEASE-NOTES: Edits, update.
781 * README: Edit for clarity, update to reflect current directory
784 2001-12-18 Benjamin Kosnik <bkoz@redhat.com>
786 * acinclude.m4 (GLIBCPP_ENABLE_CLOCALE): Extended checking before
788 * aclocal.m4: Rebuild.
789 * configure: Rebuild.
791 2001-12-18 Paolo Carlini <pcarlini@unitus.it>
792 Nathan Myers <ncm@cantrip.org>
794 * include/bits/basic_string.h (assign(__str, __pos, __n)):
795 Call assign(__s, __n).
796 (assign(__s, __n)): Terminate the string with _S_terminal.
798 2001-12-17 Benjamin Kosnik <bkoz@redhat.com>
800 * include/bits/std_limits.h (__glibcpp_long_double_is_bounded):
801 Set to true, like float and double.
803 2001-12-17 David Billinghurst <David.Billinghurst@riotinto.com>
806 * testsuite/lib/prune.exp: New file
807 * testsuite/lib/libstdc++-v3-dg.exp: Use it
809 2001-12-17 Phil Edwards <pme@gcc.gnu.org>
811 * include/bits/basic_file.h (__basic_file::fd): New function.
812 * config/io/basic_file_stdio.h (__basic_file::fd): Define.
813 * include/bits/std_fstream.h (basic_filebuf::fd): New function.
814 * include/bits/fstream.tcc (basic_filebuf::fd): Define.
815 * testsuite/27_io/filebuf_members.cc (test_02): New test.
817 2001-12-16 Nathan Sidwell <nathan@codesourcery.com>
819 * po/Makefile.am (.po.mo): Use POSIXLY_CORRECT argument ordering.
820 * po/Makefile.in: Regenerated.
822 2001-12-16 Paolo Carlini <pcarlini@unitus.it>
824 * testsuite/21_strings/assign.cc (test01): Add tests.
826 2001-12-15 Paolo Carlini <pcarlini@unitus.it>
827 Nathan Myers <ncm@cantrip.org>
829 * include/bits/basic_string.h
830 (assign(__str, __pos, __n), assign(__s, __n)): Optimize
831 by avoiding unnecessary temporaries.
832 (assign(__s)): Call assign(__s, __n).
833 * include/bits/basic_string.tcc (_M_replace_safe): Adjust comment.
834 * include/bits/std_string.h: include stl_function.h.
835 * testsuite/21_strings/assign.cc (test02, test03): New tests.
837 2001-12-15 Benjamin Kosnik <bkoz@redhat.com>
839 * acinclude.m4 (GLIBCPP_ENABLE_CLOCALE): Enable gnu locale model
841 * aclocal.m4: Regenerate.
842 * configure: Regenerate.
844 2001-12-14 Benjamin Kosnik <bkoz@redhat.com>
846 Clean up initialization and simplfy caching of underlying "C"
847 default locale objects.
848 * src/localename.cc (locale::_Impl::_Impl(string, size_t):
849 Unconditionally create __clocale object for all named locales,
850 including "C" and "POSIX".
851 * config/locale/c_locale_generic.cc
852 (locale::facet::_S_create_c_locale): Always set __cloc to zero.
853 * config/locale/c_locale_gnu.cc: Always delete.
854 * include/bits/localefwd.h (locale::facet::_S_c_locale): New.
855 * src/locale.cc (locale::classic()): Initialize
856 locale::facet::_S_c_locale.
857 (locale::facet::_S_c_locale): Define.
859 * include/bits/locale_facets.h: Add ctype_byname<wchar_t> ctor
861 * src/locale.cc: Add definition here.
862 * config/os/gnu-linux/bits/ctype_inline.h: Tweak.
863 * config/os/gnu-linux/bits/ctype_noninline.h: Adjust initializations.
864 * include/bits/locale_facets.h (ctype<char>::_M_c_locale_ctype): Add.
866 (ctype<char>::_M_toupper): Remove const&.
867 (ctype<char>::_M_tolower): Remove const&.
868 (ctype<char>::_M_ctable): Remove const&.
870 * include/bits/locale_facets.h (collate): Clean up initialization
871 of _M_c_locale_collate in ctors and dtors.
872 * config/locale/collate_members_gnu.cc: Always use extended
875 * include/bits/locale_facets.h (messages): Clean up inits in ctor/dtor.
876 (messages_byname): Same.
877 * config/locale/messages_members_generic.h (messages::~messages):
879 * config/locale/messages_members_gnu.h: Same.
881 * include/bits/localefwd.h: Clean. Move dtor definitions to
882 * src/locale.cc: Here.
883 * testsuite/22_locale/facet.cc: Fix spelling.
885 Named locale support for ctype<wchar_t>.
886 * acinclude.m4 (GLIBCPP_ENABLE_CLOCALE): Add variable
887 ctype_members_* bits.
888 * aclocal.m4: Regenerate.
889 * configure: Regenerate.
890 * src/Makefile.am (sources): Add ctype.cc.
891 * src/Makefile.in: Regenerate.
892 * config/locale/ctype_members_generic.cc: New file.
893 * config/locale/ctype_members_gnu.cc: New file.
894 * src/locale.cc: Remove ctype<wchart_t> definitions.
896 2001-12-13 Roger Sayle <roger@eyesopen.com>
898 * acconfig.h: Test for __builtin_sqrt instead of
900 * acinclude.m4: Same.
901 * include/c_shadow/bits/std_cmath.h: Same.
902 * aclocal.m4: Regenerated.
903 * config.h.in: Regenerated.
904 * configure: Regenerated.
906 2001-12-13 Phil Edwards <pme@gcc.gnu.org>
908 * docs/html/ext/howto.html: Fix typos.
910 2001-12-13 Benjamin Kosnik <bkoz@redhat.com>
913 * src/locale.cc (locale::locale(const char*)): Deal with locales
915 * testsuite/22_locale/ctor_copy_dtor.cc (test01): Modify.
917 2001-12-12 Paolo Carlini <pcarlini@unitus.it>
919 * include/ext/ropeimpl.h (rope::_S_leaf_concat_char_iter,
920 _S_destr_leaf_concat_char_iter, _S_tree_concat, _S_concat_char_iter,
921 _S_destr_concat_char_iter, _S_concat, _S_substring, _S_balance)
922 : Adjust implicit typename.
923 * include/ext/stl_rope.h (_Rope_iterator::operator=, rope::npos):
924 Adjust implicit typename.
925 * testsuite/27_io/streambuf.cc: Adjust implicit typename.
927 2001-12-12 Benjamin Kosnik <bkoz@redhat.com>
929 Named locale support for ctype<char>.
930 * config/locale/c_locale_gnu.h (_GLIBCPP_C_LOCALE_GNU): New.
931 * config/os/gnu-linux/bits/ctype_noninline.h (ctype<char>): Add
932 definitions for alternate constructor.
933 * config/os/solaris/solaris2.7/bits/ctype_noninline.h (ctype): Same.
934 * config/os/solaris/solaris2.6/bits/ctype_noninline.h (ctype): Same.
935 * config/os/solaris/solaris2.5/bits/ctype_noninline.h (ctype): Same.
936 * config/os/newlib/bits/ctype_noninline.h (ctype): Same.
937 * config/os/irix/irix6.5/bits/ctype_noninline.h (ctype): Same.
938 * config/os/irix/irix5.2/bits/ctype_noninline.h (ctype): Same.
939 * config/os/hpux/bits/ctype_noninline.h (ctype): Same.
940 * config/os/generic/bits/ctype_noninline.h (ctype): Same.
941 * config/os/djgpp/bits/ctype_noninline.h (ctype): Same.
942 * config/os/bsd/netbsd/bits/ctype_noninline.h (ctype): Same.
943 * config/os/bsd/freebsd/bits/ctype_noninline.h (ctype): Same.
944 * config/os/aix/bits/ctype_noninline.h (ctype): Same.
945 * include/bits/locale_facets.h (ctype<_CharT>): Remove dummy
946 definitions for all virtual functions. These are now explicitly
947 undefined for non-required factets, ie any non-char, non-wchar_t
949 * src/localename.cc (locale::_Impl::_Impl(string, size_t): Named
950 locales use alternate constructor for ctype facet.
951 * include/bits/locale_facets.h (ctype<char>::ctype(__c_locale, const
952 mask*, bool, size_t): Add.
953 (ctype<wchar_t>::ctype(__c_locale, size_t): Add.
954 * src/locale.cc (ctype<wchar_t>::ctype(__c_locale, size_t)): Add
957 * testsuite/22_locale/ctype_members_char.cc (test02): Add, mark
958 XFAIL for non-gnu locale models.
960 2001-12-12 Philip Martin <philip@codematters.co.uk>
961 Ross Smith <r-smith@ihug.co.nz>
962 Paolo Carlini <pcarlini@unitus.it>
965 * include/bits/std_limits.h (defines, numeric_limits<bool>::digits10):
966 Fix digits10 values for integral types.
967 * include/bits/locale_facets.tcc (num_get::do_get for integral types):
968 Tweak _M_extract_int call.
969 * testsuite/27_io/istream_extractor_arith.cc (test13, test12_aux):
970 Tweak overflowing number of digits.
971 * testsuite/18_support/numeric_limits.cc (test03): New testcase.
973 2001-12-11 Benjamin Kosnik <bkoz@redhat.com>
975 * config/os/generic/bits/ctype_inline.h: Remove spaces.
976 * config/os/gnu-linux/bits/ctype_noninline.h: Same.
977 * include/bits/locale_facets.h (__num_base): Move double data
978 members to first in class.
979 * include/bits/locale_facets.tcc: Re-arrange, tweak.
980 * src/locale.cc: Clean.
981 *include/bits/stl_vector.h: Space typedefs.
983 2001-12-11 Phil Edwards <pme@gcc.gnu.org>
985 * testsuite/ext/allocators.cc: New file.
987 2001-12-11 Jason Merrill <jason@redhat.com>
989 * include/bits/locale_facets.tcc (_M_extract_int): Avoid
990 uninitialized warning.
992 2001-12-11 Loren Rittle <ljrittle@acm.org>
994 * config/cpu/sparc/sparc32/bits/atomicity.h
995 (__Atomicity_lock<0>::_S_atomicity_lock): Add.
997 2001-12-10 Paolo Carlini <pcarlini@unitus.it>
999 * include/bits/basic_string.tcc (_M_replace_safe): Fix typos.
1000 * include/bits/basic_string.h: Fix typos.
1002 2001-12-10 Paolo Carlini <pcarlini@unitus.it>
1003 Nathan Myers <ncm@cantrip.org>
1005 * include/bits/basic_string.tcc (_M_replace_safe): New function.
1006 (_M_replace(input_iterator_tag), append members): Use it.
1007 (_M_replace(forward_iterator_tag)): Remove.
1008 * include/bits/basic_string.h: Adjust declarations.
1009 * src/string-inst.cc: Adjust declarations.
1011 2001-12-09 Benjamin Kosnik <bkoz@redhat.com>
1012 Philip Martin <pmartin@uklinux.net>
1014 * include/bits/locale_facets.h (__num_base::_S_scale_hex): Add.
1015 (__num_base::_S_scale_oct): Add.
1016 * include/bits/locale_facets.tcc (_M_extract_int): Use them.
1017 * src/locale.cc: Add definitions.
1018 * testsuite/27_io/istream_extractor_arith.cc (main): Call test13.
1020 * testsuite/testsuite_hooks.h: Remove duplicate VERIFY define.
1022 2001-12-07 Nathan Myers <ncm@cantrip.org>
1023 Loren Rittle <ljrittle@acm.org>
1026 * config/cpu/sparc/sparc32/bits/atomicity.h
1027 (struct __Atomicity_lock<__inst>): Add.
1028 (__Atomicity_lock<__inst>::_S_atomicity_lock): Add.
1029 (__exchange_and_add): Use __Atomicity_lock<0>::_S_atomicity_lock
1030 instead of lock local to static function.
1031 (__atomic_add): Likewise.
1033 2001-12-07 Phil Edwards <pme@gcc.gnu.org>
1035 * src/globals.cc: Remove __GTHREADS guard.
1037 2001-12-07 Paolo Carlini <pcarlini@unitus.it>
1039 * include/bits/locale_facets.tcc (num_put::_M_convert_float):
1040 Extend comment, reduce __cs_size for non-fixed outputs.
1042 2001-12-07 Paolo Carlini <pcarlini@unitus.it>
1044 * include/bits/basic_string.tcc (_M_mutate): Fix typo
1045 in the previous check in.
1047 2001-12-06 Paolo Carlini <pcarlini@unitus.it>
1048 Loren J. Rittle <ljrittle@acm.org>
1050 * include/bits/basic_string.tcc (_M_mutate, _M_clone): Implement
1051 exponential growth policy to meet linear amortized time
1052 requirements of the standard.
1053 (_S_create): Adjust comment.
1055 2001-12-06 Benjamin Kosnik <bkoz@redhat.com>
1058 * include/bits/locale_facets.tcc (num_put): Clean.
1059 (num_get::_M_extract_float): Change argument to string.
1060 (num_get::do_get(float)): Fixup.
1061 (num_get::do_get(double)): Same.
1062 (num_get::do_get(long double)): Same.
1063 (num_get::_M_extract_int): Add maximum length parameter, __max.
1064 (num_get::_M_extract_float): Correct zeros, use string.
1065 * include/bits/locale_facets.h (num_get::_M_extract_float): Change
1067 * src/locale.cc (__num_base::_S_atoms): Remove x, X.
1068 * testsuite/27_io/istream_extractor_arith.cc (test13): Add.
1070 2001-12-06 Philip Martin <pmartin@uklinux.net>
1072 * testsuite/27_io/istream_extractor_arith.cc (test12): Add
1073 tests for excess input digits.
1075 2001-12-06 Phil Edwards <pme@gcc.gnu.org>
1077 * include/bits/std_bitset.h: Use GLIBCPP in multiple-inclusion guard.
1078 * include/bits/stl_algo.h: Likewise.
1079 * include/bits/stl_algobase.h: Likewise.
1080 * include/bits/stl_bvector.h: Likewise.
1081 * include/bits/stl_deque.h: Likewise.
1082 * include/bits/stl_function.h: Likewise.
1083 * include/bits/stl_iterator.h: Likewise.
1084 * include/bits/stl_iterator_base_funcs.h: Likewise.
1085 * include/bits/stl_iterator_base_types.h: Likewise.
1086 * include/bits/stl_list.h: Likewise.
1087 * include/bits/stl_multimap.h: Likewise.
1088 * include/bits/stl_multiset.h: Likewise.
1089 * include/bits/stl_pair.h: Likewise.
1090 * include/bits/stl_queue.h: Likewise.
1091 * include/bits/stl_set.h: Likewise.
1092 * include/bits/stl_stack.h: Likewise.
1093 * include/bits/stl_tempbuf.h: Likewise.
1094 * include/bits/stl_tree.h: Likewise.
1095 * include/bits/stl_vector.h: Likewise.
1097 * include/bits/stl_alloc.h: Use our own multiple inclusion guards.
1098 Doxygenate more comments. Correct historical artifacts in comments.
1099 (alloc, single_alloc): Uglify non-standard names.
1100 (__default_alloc_template::_NFREELISTS): Calculate from other
1102 (__default_alloc_template::_S_free_list): Remove SunPro workaround.
1103 (__default_alloc_template::_Lock): Mark as "unused".
1104 * include/backward/alloc.h: Update.
1105 * include/bits/stl_bvector.h: Likewise.
1106 * include/ext/ropeimpl.h: Likewise.
1107 * include/ext/stl_hashtable.h: Likewise.
1109 2001-12-05 Benjamin Kosnik <bkoz@redhat.com>
1112 * include/bits/locale_facets.tcc (num_put::_M_widen_float): Add
1113 grouping to floating point types.
1114 * testsuite/27_io/ostream_inserter_arith.cc (test02): Add test.
1116 2001-12-04 Paolo Carlini <pcarlini@unitus.it>
1119 * testsuite/27_io/ostream_inserter_arith.cc (test02): Add testcase
1121 * include/bits/locale_facets.tcc (num_put::_M_convert_float):
1122 Deal properly with long ios_base::fixed floats.
1123 (num_put::_M_widen_float): use
1124 __len in __builtin_alloca call.
1126 2001-12-04 Benjamin Kosnik <bkoz@redhat.com>
1128 * src/Makefile.am (sources): Add ext-inst.cc.
1129 * src/Makefile.in: Regenerate.
1130 * src/ext-inst.cc: New file.
1131 * include/bits/stl_threads.h: Format.
1132 * src/globals.cc: Add instantiation for _S_swap_lock.
1134 * testsuite/18_support/numeric_limits.cc: Add numeric_limits<B>
1137 2001-12-04 John David Anglin <dave@hiauly1.hia.nrc.ca>
1139 * testsuite/22_locale/numpunct_members_wchar_t.cc: Only compile
1140 and execute test01 if _GLIBCPP_USE_WCHAR_T is defined.
1141 * testsuite/26_numerics/complex_inserters_extractors.cc: Provide
1142 for explicit instantiation of class std::basic_string<char,
1143 gnu_char_traits, std::allocator<char> >.
1145 2001-12-03 Benjamin Kosnik <bkoz@redhat.com>
1147 * testsuite/22_locale/collate.cc: Compile-only.
1148 * testsuite/22_locale/time_get.cc: Same.
1149 * testsuite/22_locale/time_put.cc: Same.
1150 * testsuite/22_locale/numpunct.cc: Same.
1151 * testsuite/22_locale/num_put.cc: Same.
1152 * testsuite/22_locale/num_get.cc: Same.
1153 * testsuite/22_locale/moneypunct.cc: Same.
1154 * testsuite/22_locale/money_get.cc: Same.
1155 * testsuite/22_locale/messages.cc: Same.
1156 * testsuite/22_locale/ctype.cc: Same.
1158 2001-12-03 Benjamin Kosnik <bkoz@redhat.com>
1160 * src/string-inst.cc (string::_Rep::_S_terminal): Add static data
1161 member instantiations.
1163 2001-12-03 Steve Ellcey <sje@cup.hp.com>
1165 * libstdc++-v3/configure.in: Add support for hpux cross compiles,
1166 combine common linux/hpux/generic cross compile support to reduce
1168 * libstdc++-v3/configure: Regenerate.
1170 2001-12-03 Loren J. Rittle <ljrittle@acm.org>
1172 * docs/html/ext/howto.html: Update commentary.
1173 * include/bits/c++config: Update threading configuration comment.
1174 (__STL_GTHREADS): Remove macro definition.
1175 (__STL_THREADS): Likewise.
1176 * include/bits/stl_threads.h: Leave only the configuration
1177 path which had been guarded by __STL_GTHREADS. Remove all
1178 guards related to __STL_GTHREADS, __STL_SGI_THREADS,
1179 __STL_PTHREADS, __STL_UITHREADS and __STL_WIN32THREADS.
1180 * include/bits/stl_alloc.h: Leave only the configuration path
1181 which had been guarded by __STL_THREADS. Remove configuration
1182 path and guards for __STL_SGI_THREADS.
1183 (__NODE_ALLOCATOR_THREADS): Remove macro definition. Unroll its use.
1184 (__NODE_ALLOCATOR_LOCK): Likewise.
1185 (__NODE_ALLOCATOR_UNLOCK): Likewise.
1186 (_NOTHREADS): Remove guards related to macro.
1187 * include/ext/stl_rope.h: Remove configuration path and guards
1188 for __STL_SGI_THREADS.
1189 * src/stl-inst.cc: Remove use of __NODE_ALLOCATOR_THREADS.
1191 2001-12-02 Phil Edwards <pme@gcc.gnu.org>
1193 * docs/html/ext/howto.html: Update list of implemented DRs.
1194 * docs/html/ext/lwg-active.html: Import R20 from upstream.
1195 * docs/html/ext/lwg-defects.html: Import R20 from upstream.
1197 2001-11-30 Benjamin Kosnik <bkoz@redhat.com>
1201 * libsupc++/exception (bad_exception::~bad_exception()): Remove
1203 * libsupc++/new (bad_alloc::~bad_alloc()): Remove.
1204 * libsupc++/typeinfo (bad_cast::~bad_cast()): Remove.
1205 (bad_typeid::~bad_typeid()): Remove.
1206 * libsupc++/tinfo.cc (bad_cast::~bad_cast()): Remove definition.
1207 (bad_typeid::~bad_typeid()): Same.
1208 * libsupc++/new_handler.cc (bad_alloc::~bad_alloc()): Same.
1209 * libsupc++/eh_exception.cc (bad_exception::~bad_exception()): Same.
1211 * include/bits/std_iomanip.h: Tweak.
1213 2001-11-29 Paolo Carlini <pcarlini@unitus.it>
1216 * include/bits/locale_facets.tcc (__pad): Add bool parameter to
1217 correctly pad internal-adjusted const char*-type objects.
1218 * include/bits/locale_facts.tcc (num_put::_M_insert): Update call.
1219 * include/bits/ostream.tcc (operator<<(_CharT , char, const
1220 _CharT*, const char*, const basic_string&): Update calls.
1221 * src/locale-inst.tcc: Update declarations.
1222 * testsuite/27_io/ostream_inserter_arith.cc (test04): Add test.
1224 2001-11-29 Phil Edwards <pme@gcc.gnu.org>
1226 * docs/html/ext/howto.html: Finish allocator notes (inst and 3.0).
1228 2001-11-29 Benjamin Kosnik <bkoz@redhat.com>
1230 * include/bits/locale_facets.tcc (num_get::do_get(long double)):
1231 Fix __traits_type typo.
1233 2001-11-28 Paolo Carlini <pcarlini@unitus.it>
1235 * include/bits/locale_facets.tcc (__pad): Correctly pad
1236 internal-adjusted hex numbers.
1237 * testsuite/27_io/ostream_inserter_arith.cc: Add testcase.
1239 2001-11-28 Paolo Carlini <pcarlini@unitus.it>
1240 Loren J. Rittle <ljrittle@acm.org>
1242 * include/bits/basic_string.h
1243 (basic_string::_Rep::__default_excess, _S_excess_slop):
1245 * include/bits/basic_string.tcc: Remove dead code.
1246 * include/bits/c++config: Remove comment.
1248 2001-11-28 Benjamin Kosnik <bkoz@redhat.com>
1249 Jakub Jelinek <jakub@redhat.com>
1251 * config/locale/moneypunct_members_gnu.cc
1252 (moneypunct<wchar_t>::_M_initialize_moneypunct): Correctly cast
1254 * config/locale/numpunct_members_gnu.cc
1255 (numpunct<wchar_t>::_M_initialize_numpunct): Same.
1257 2001-11-27 Benjamin Kosnik <bkoz@redhat.com>
1259 * include/bits/locale_facets.tcc: Formatting tweaks.
1261 * testsuite/23_containers/map_operators.cc: Don't xfail.
1262 * testsuite/23_containers/set_operators.cc: Same.
1263 * testsuite/backward/header_iterator_h.cc: Pass in -Wno-deprecated.
1264 * testsuite/backward/header_deque_h.cc: Same.
1266 2001-11-27 Loren J. Rittle <ljrittle@acm.org>
1267 Paolo Carlini <pcarlini@unitus.it>
1269 * include/bits/basic_string.tcc (basic_string::_Rep::_S_create):
1270 Enforce allocation size blocking policy to reduce
1271 fragmentation and enhance performance with common malloc
1274 2001-11-27 Benjamin Kosnik <bkoz@redhat.com>
1276 Numeric facets cleanup.
1277 * include/bits/locale_facets.h (__num_base::_S_atoms): Add, remove
1279 (__num_base::_M_zero): Add
1280 (__num_base::_M_e): Add.
1281 (__num_base::_M_E): Add.
1282 * include/bits/locale_facets.tcc (num_get::_M_extract): Remove.
1283 (num_get::_M_extract_float): New.
1284 (num_get::_M_extract_int): New.
1285 * src/locale.cc (num_get::_M_extract): Remove.
1287 * include/bits/locale_facets.tcc (num_put::_M_insert_float):
1288 Simplify, use _M_insert.
1289 (num_put::do_put(bool)): Simplify, remove __pad.
1291 (__pad_output): Change to __pad.
1292 * include/bits/ostream.tcc: And here.
1293 * src/locale-inst: Remove instantiations.
1295 * include/bits/locale_facets.h: Move helper functions in to class
1297 (num_put::_M_insert_float): Same, for __output_integer.
1298 (num_put::_M_insert_int): Same, for __output_float.
1299 (num_put::_M_insert): New.
1301 (__num_base::_S_format_float): Move
1302 __build_float_format into class __num_base.
1303 (__num_base::_S_format_int): Move __build_int_format into class
1305 * include/bits/locale_facets.tcc (__group_digits): Change to
1306 (__add_grouping): This.
1307 * src/locale-inst.cc: And here. Tweak instantiations.
1308 * src/misc-inst.cc: Remove instantiations.
1310 * include/bits/ostream.tcc (__pad_char): Rename, adjust inserters
1311 for new calling conventions, move to...
1312 * include/bits/locale_facets.tcc (__pad_output): Here. Adjust
1313 signature to make it useful for both ostream and num_put.
1314 (__pad_numeric): Remove.
1315 * src/misc-inst.cc: Remove instantiations.
1316 * src/locale-inst.cc: Same.
1318 * include/bits/locale_facets.h (_Numeric_get): Remove.
1319 (_Numeric_put): Remove.
1320 (num_get::get(short)): Remove.
1321 (num_get::get(int)): Remove.
1322 (num_get::do_get(short)): Remove.
1323 (num_get::do_get(int)): Remove.
1324 * include/bits/istream.tcc (istream::operator>>(short)): Fix as
1326 (istream::operator>>(int)): Same.
1328 * include/bits/locale_facets.h (_Format_cache): Remove.
1329 * include/bits/locale_facets.tcc: Same.
1330 * src/locale.cc: Same.
1331 * src/locale-inst.cc: Same.
1332 * include/bits/ostream.tcc: Same.
1333 * src/ios.cc (ios_base::imbue): Remove here as well.
1335 * testsuite/22_locale/num_get.cc: New file.
1336 * testsuite/22_locale/num_get_members_char.cc: New file.
1337 * testsuite/22_locale/num_get_members_wchar_t.cc: New.
1338 * testsuite/22_locale/numpunct_members_wchar_t.cc: New file.
1339 * testsuite/22_locale/num_put.cc: New file.
1340 * testsuite/22_locale/num_put_members_char.cc: New file.
1341 * testsuite/22_locale/num_put_members_wchar_t.cc: New file.
1342 * testsuite/27_io/ostream_inserter_arith.cc: Fix.
1343 * testsuite/27_io/istream_extractor_arith.cc: Fix.
1345 2001-11-27 Phil Edwards <pme@gcc.gnu.org>
1347 * docs/html/explanations.html: New section, empty for now.
1348 * docs/html/17_intro/howto.html: Cleanup. Move unrelated link...
1349 * docs/html/23_containers/howto.html: ...to here. Break up and
1350 rewrap threading discussion to emphasize warning. Move malloc text...
1351 * docs/html/ext/howto.html: ...to here. New section. Describe
1352 allocators and __USE_MALLOC effects.
1353 * docs/html/ext/sgiexts.html: Mention their code.
1355 2001-11-24 Joseph S. Myers <jsm28@cam.ac.uk>
1357 * docs/doxygen/maint.cfg.in, docs/doxygen/user.cfg.in,
1358 docs/html/27_io/binary_iostreams_kuehl.txt: Revert previous
1361 2001-11-23 Phil Edwards <pme@gcc.gnu.org>
1363 * Makefile.am (doxygen-maint): The script isn't executable in CVS.
1364 * Makefile.in: Regenerated.
1365 * docs/doxygen/TODO: New file listing doxygen work to be done.
1366 * docs/doxygen/run_doxygen: Fix up man pages.
1367 * docs/doxygen/user.cfg.in: Insert maint-only toggles.
1368 * docs/doxygen/maint.cfg.in: Copy from user.cfg and turn toggles on.
1369 * include/bits/stl_construct.h: Use new hooks for internal functions.
1371 * docs/html/17_intro/TODO: Small updates.
1372 * docs/html/faq/index.html: Likewise.
1373 * docs/html/faq/index.txt: Regenerated.
1375 * include/bits/stl_alloc.h: Doxygenate, reindent comments, remove
1376 SGI-isms and wrappers.
1377 (simple_alloc, debug_alloc): Uglify class names.
1378 (__default_alloc_template): Uglify "threads" template parameter and
1379 update corresponding macros.
1380 * include/backward/alloc.h: Bring up to date.
1382 2001-11-23 Jason Merrill <jason@redhat.com>
1384 * src/vterminate.cc (__verbose_terminate_handler): Add leading
1387 2001-11-23 Joseph S. Myers <jsm28@cam.ac.uk>
1389 * ChangeLog, docs/doxygen/maint.cfg.in, docs/doxygen/user.cfg.in,
1390 docs/doxygen/doxygroups.cc, docs/doxygen/Intro.3,
1391 docs/html/17_intro/BUGS, docs/html/17_intro/C++STYLE,
1392 docs/html/17_intro/CHECKLIST, docs/html/17_intro/DESIGN,
1393 docs/html/17_intro/howto.html, docs/html/17_intro/porting.html,
1394 docs/html/17_intro/porting.texi, docs/html/18_support/howto.html,
1395 docs/html/19_diagnostics/howto.html, docs/html/20_util/howto.html,
1396 docs/html/21_strings/howto.html,
1397 docs/html/23_containers/howto.html,
1398 docs/html/26_numerics/howto.html, docs/html/27_io/howto.html,
1399 docs/html/27_io/binary_iostreams_kuehl.txt,
1400 docs/html/ext/sgiexts.html, docs/html/faq/index.html,
1401 docs/html/faq/index.txt, testsuite/24_iterators/iterator.cc,
1402 include/bits/basic_file.h, include/bits/locale_facets.h,
1403 include/bits/locale_facets.tcc, include/bits/std_sstream.h,
1404 include/ext/ropeimpl.h, include/ext/stl_rope.h,
1405 libsupc++/tinfo.cc, libsupc++/cxxabi.h, libsupc++/typeinfo,
1406 libsupc++/eh_throw.cc, acinclude.m4, aclocal.m4, configure,
1407 configure.target, ChangeLog-2000: Fix spelling errors.
1409 * config/locale/moneypunct_members_gnu.cc,
1410 include/bits/locale_facets.h: Fix spelling errors.
1412 2001-11-22 Stephen M. Webb <stephen@bregmasoft.com>
1414 * testsuite/23_containers/list_capacity.cc: New file.
1415 * testsuite/23_containers/list_ctor.cc: New file.
1416 * testsuite/23_containers/list_modifiers.cc: New file.
1417 * testsuite/23_containers/list_operators.cc: New file.
1419 2001-11-22 Stephen M. Webb <stephen@bregmasoft.com>
1421 * include/bits/stl_list.h: Reformatted according to C++STYLE rules.
1422 (size): Replaced nonstandard distance() call with the standard one.
1423 (transfer): Uglified to _M_transfer.
1425 2001-11-21 Paolo Carlini <pcarlini@unitus.it>
1428 * include/bits/basic_string.tcc (basic_string::reserve): Never shrink
1429 below the current size.
1430 * testsuite/21_strings/capacity.cc (test02): Add test.
1432 2001-11-19 Phil Edwards <pme@gcc.gnu.org>
1434 * docs/doxygen/Intro.3: More notes.
1435 * docs/doxygen/style.css: Update to default style from Doxygen 1.2.10.
1436 * include/bits/stl_algobase.h: Add doxygen hooks for functions.
1437 * include/ext/hash_map: Add @file hook.
1438 * include/ext/hash_set: Likewise.
1439 * include/ext/rope: Likewise.
1440 * include/ext/ropeimpl.h: Likewise.
1441 * include/ext/slist: Likewise.
1442 * include/ext/stl_hash_fun.h: Likewise.
1443 * include/ext/stl_hashtable.h: Likewise.
1444 * include/ext/stl_rope.h: Likewise.
1446 * docs/html/17_intro/license.html: Remove "experimental" sentence.
1447 * docs/html/19_diagnostics/howto.html: Document new verbose
1449 * testsuite/27_io/filebuf.cc: Fix comment, move tweakable parameter
1450 to more visible (closer to description) position.
1452 * libsupc++/eh_type.cc: Formatting tweak.
1453 * libsupc++/exception: Likewise.
1454 * src/vterminate.cc: Likewise.
1456 * docs/html/17_intro/porting.html: Regenerate.
1457 * docs/html/faq/index.txt: Regenerate.
1459 2001-11-18 Jason Merrill <jason@redhat.com>
1461 * libsupc++/eh_personality.cc (__cxa_call_unexpected): Take void*.
1462 * libsupc++/eh_catch.cc (__cxa_begin_catch): Likewise.
1463 * libsupc++/unwind-cxx.h: Adjust.
1464 * src/Makefile.am (strstream.o): Pass -Wno-deprecated.
1466 * libsupc++/eh_type.cc (__cxa_current_exception_type): New file.
1467 * libsupc++/cxxabi.h: Declare it.
1468 * libsupc++/Makefile.am (sources): Add it.
1469 * src/vterminate.cc (verbose_terminate_handler): New file.
1470 * libsupc++/exception: Declare it.
1471 * src/Makefile.am (sources): Add it.
1473 * src/Makefile.am (VPATH): Check the src directory before the top one.
1475 2001-11-16 Paolo Carlini <pcarlini@unitus.it>
1477 * include/bits/stl_deque.h (deque::erase()): Fix memory leak.
1479 2001-11-16 Loren J. Rittle <ljrittle@acm.org>
1481 * docs/html/17_intro/howto.html (Thread-safety): Rename
1482 section to ``The Standard C++ library and multithreading'' and
1483 update information based on recent mailing list traffic. Move
1484 all discussion of __USE_MALLOC to...
1485 * docs/html/23_containers/howto.html (Containers and multithreading):
1486 ...here and rework it based on recent mailing list traffic.
1488 2001-11-15 Loren J. Rittle <ljrittle@acm.org>
1490 * docs/html/faq/index.html (Is libstdc++-v3 thread-safe?): Clarify
1493 2001-11-15 <bjornw@planetarion.com>
1494 Loren J. Rittle <ljrittle@acm.org>
1497 * include/bits/stl_alloc.h (alloc): Update to use __mem_interface.
1498 (single_client_alloc): Likewise.
1500 2001-11-08 Danny Smith <dannysmith@users.sourceforge.net>
1502 * configure.target: Add os_include_dir for mingw32* target.
1503 * docs/html/17_intro/porting.texi: Mention mingw32 as target benefiting
1504 from _GLIBCPP_AVOID_FSEEK.
1505 * config/os/mingw32/bits/ctype_base.h: New file.
1506 * config/os/mingw32/bits/ctype_inline.h: New file.
1507 * config/os/mingw32/bits/ctype_noninline.h: New file.
1508 * config/os/mingw32/bits/os_defines.h: New file.
1510 2001-11-07 Nathan Myers <ncm@cantrip.org>
1512 * docs/html/faq/index.html (5.8): New entry on ABIs.
1513 * docs/html/faq/index.txt: Regenerate.
1515 2001-11-07 Phil Edwards <pme@gcc.gnu.org>
1517 * docs/html/faq/index.html: Explain libsupc++, mention 'long long'
1518 bugfixes on Solaris.
1519 * docs/html/faq/index.txt: Regenerate.
1521 2001-11-06 Phil Edwards <pme@gcc.gnu.org>
1523 * acinclude.m4 (GLIBCPP_ENABLE_LONG_LONG): Run the test in
1524 LANG_CPLUSPLUS mode.
1525 * aclocal.m4: Regenerate.
1526 * configure: Regenerate.
1528 2001-11-05 Phil Edwards <pme@gcc.gnu.org>
1530 * porting.texi: Move...
1531 * docs/html/17_intro/porting.texi: ...to here.
1532 * docs/html/Makefile: Add rule to rebuild...
1533 * docs/html/17_intro/porting.html: ...this. New file.
1535 2001-11-05 Felix Natter <fnatter@gmx.net>
1537 * docs/html/17_intro/porting-howto.xml: check in v0.9.4
1538 * docs/html/17_intro/porting-howto.html: regenerate
1540 2001-11-02 Loren J. Rittle <ljrittle@acm.org>
1542 * include/bits/stl_threads.h (_Atomic_swap): Only enable path
1543 when platform supports __GTHREAD_MUTEX_INIT.
1545 2001-11-02 Phil Edwards <pme@gcc.gnu.org>
1547 * acconfig.h: Update comments.
1548 * acinclude.m4 (GLIBCPP_ENABLE_C99): Move strtoll, strtoull tests...
1549 (GLIBCPP_ENABLE_LONG_LONG): ...to here. Don't check enable_c99.
1550 * aclocal.m4: Regenerate.
1551 * config.h.in: Regenerate.
1552 * configure: Regenerate.
1554 * include/bits/boost_concept_check.h: Unconditionally compile uses
1555 of 'long long' which require only compiler support, not C lib support.
1556 * include/bits/cpp_type_traits.h: Likewise.
1557 * include/bits/std_limits.h: Likewise.
1558 * include/bits/type_traits.h: Likewise.
1559 * src/concept-inst.cc: Likewise.
1560 * src/limits.cc: Likewise.
1561 * include/c_shadow/stdlib.h: Compile conditionally on _GLIBCPP_USE_C99
1562 instead of _GLIBCPP_USE_LONG_LONG.
1563 * include/c_shadow/bits/std_cstdlib.h: Likewise.
1565 2001-11-02 Phil Edwards <pme@gcc.gnu.org>
1567 * config/io/c_io_stdio.h: Correct grammar in comments.
1568 * docs/doxygen/Intro.3: Expand "top-level" man page.
1569 * docs/doxygen/doxygroups.cc: New module definitions (comments).
1570 * docs/doxygen/mainpage.doxy: Tweaks.
1571 * docs/doxygen/run_doxygen: Update Doxygen version, massage man pages.
1573 Add @file hooks so that headers are considered to be documented.
1574 * include/bits/basic_ios.h, include/bits/basic_file.h,
1575 include/bits/basic_string.h, include/bits/boost_concept_check.h,
1576 include/bits/char_traits.h, include/bits/codecvt.h,
1577 include/bits/concept_check.h, include/bits/cpp_type_traits.h,
1578 include/bits/fpos.h, include/bits/gslice.h, include/bits/gslice_array.h,
1579 include/bits/indirect_array.h, include/bits/ios_base.h,
1580 include/bits/locale_facets.h, include/bits/localefwd.h,
1581 include/bits/mask_array.h, include/bits/pthread_allocimpl.h,
1582 include/bits/slice.h, include/bits/slice_array.h,
1583 include/bits/std_algorithm.h, include/bits/std_bitset.h,
1584 include/bits/std_complex.h, include/bits/std_deque.h,
1585 include/bits/std_fstream.h, include/bits/std_functional.h,
1586 include/bits/std_iomanip.h, include/bits/std_ios.h,
1587 include/bits/std_iosfwd.h, include/bits/std_iostream.h,
1588 include/bits/std_istream.h, include/bits/std_iterator.h,
1589 include/bits/std_limits.h, include/bits/std_list.h,
1590 include/bits/std_locale.h, include/bits/std_map.h,
1591 include/bits/std_memory.h, include/bits/std_numeric.h,
1592 include/bits/std_ostream.h, include/bits/std_queue.h,
1593 include/bits/std_set.h, include/bits/std_sstream.h,
1594 include/bits/std_stack.h, include/bits/std_streambuf.h,
1595 include/bits/std_string.h, include/bits/std_utility.h,
1596 include/bits/std_valarray.h, include/bits/std_vector.h,
1597 include/bits/stl_algo.h, include/bits/stl_alloc.h,
1598 include/bits/stl_bvector.h, include/bits/stl_construct.h,
1599 include/bits/stl_deque.h, include/bits/stl_heap.h,
1600 include/bits/stl_iterator.h, include/bits/stl_iterator_base_funcs.h,
1601 include/bits/stl_iterator_base_types.h, include/bits/stl_list.h,
1602 include/bits/stl_map.h, include/bits/stl_multimap.h,
1603 include/bits/stl_multiset.h, include/bits/stl_numeric.h,
1604 include/bits/stl_pair.h, include/bits/stl_pthread_alloc.h,
1605 include/bits/stl_queue.h, include/bits/stl_raw_storage_iter.h,
1606 include/bits/stl_relops.h, include/bits/stl_set.h,
1607 include/bits/stl_stack.h, include/bits/stl_tempbuf.h,
1608 include/bits/stl_threads.h, include/bits/stl_tree.h,
1609 include/bits/stl_uninitialized.h, include/bits/stl_vector.h,
1610 include/bits/stream_iterator.h, include/bits/streambuf_iterator.h,
1611 include/bits/stringfwd.h, include/bits/type_traits.h,
1612 include/bits/valarray_array.h, include/bits/valarray_meta.h:
1613 Add hooks, tweak comments only.
1615 * include/bits/stl_algobase.h (swap, min, iter_swap): Also
1616 document these functions.
1617 * include/bits/stl_function.h: Tweak link comments.
1619 2001-11-01 Paolo Carlini <pcarlini@unitus.it>
1620 Benjamin Kosnik <bkoz@redhat.com>
1622 * testsuite/27_io/ios_manip_fmtflags.cc: Fix for non-interactive
1624 * include/bits/locale_facets.tcc (num_put::do_put(bool)): Fix.
1626 2001-11-01 Egor Duda <deo@logos-m.ru>
1628 * config/os/newlib/bits/ctype_noninline.h
1629 (ctype<char>::do_toupper(char __c)): Check for proper character class.
1630 (ctype<char>::do_tolower(char __c)): Ditto.
1632 2001-11-01 Phil Edwards <pme@gcc.gnu.org>
1634 * acinclude.m4: Fix spacing.
1635 (GLIBCPP_ENABLE_CONCEPT_CHECKS): New macro.
1636 * configure.in: Call here.
1637 * acconfig.h: Add _GLIBCPP_CONCEPT_CHECKS.
1638 * include/bits/boost_concept_check.h: Fix headers.
1639 (__function_requires): Make inline.
1640 * include/bits/c++config (_GLIBCPP_CONCEPT_CHECKS): Remove.
1641 * aclocal.m4: Regenerate.
1642 * config.h.in: Regenerate.
1643 * configure: Regenerate.
1645 Move trailing ';' inside macro, PR libstdc++/3666.
1646 * include/bits/concept_check.h: Add semicolon.
1647 * include/bits/stl_algo.h: Remove semicolon.
1648 * include/bits/stl_algobase.h: Likewise.
1649 * include/bits/stl_deque.h: Likewise.
1650 * include/bits/stl_heap.h: Likewise.
1651 * include/bits/stl_iterator_base_funcs.h: Likewise.
1652 * include/bits/stl_list.h: Likewise.
1653 * include/bits/stl_map.h: Likewise.
1654 * include/bits/stl_multimap.h: Likewise.
1655 * include/bits/stl_multiset.h: Likewise.
1656 * include/bits/stl_numeric.h: Likewise.
1657 * include/bits/stl_queue.h: Likewise.
1658 * include/bits/stl_set.h: Likewise.
1659 * include/bits/stl_stack.h: Likewise.
1660 * include/bits/stl_vector.h: Likewise.
1661 * include/ext/hash_map: Likewise.
1662 * include/ext/hash_set: Likewise.
1663 * include/ext/slist: Likewise.
1665 * src/concept-inst.cc: New file with explicit instantiations.
1666 * src/Makefile.am (sources): Add here, with special build rules.
1667 * src/Makefile.in: Regenerate.
1669 2001-11-01 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
1671 * include/bits/std_complex.h (_Norm_helper): New class template.
1673 (abs): Tweak. Fix Thinko.
1675 2001-10-31 Benjamin Kosnik <bkoz@redhat.com>
1678 * include/bits/codecvt.h: Add virtual member function declarations.
1679 * src/codecvt.cc: Tweaks.
1680 * testsuite/22_locale/codecvt.cc: Test compilation only,
1681 non-required facets not required to have linkage.
1683 2001-10-31 Edward E. Meyer <edward.e.meyer@boeing.com>
1686 * include/bits/std_complex.h (complex::operator/=): Correct sign.
1688 2001-10-30 Paolo Carlini <pcarlini@unitus.it>
1689 Benjamin Kosnik <bkoz@redhat.com>
1692 * include/bits/basic_string.h: Tweaks.
1693 * include/bits/basic_string.tcc (string::_M_replace(iterator,
1694 iterator, _ForwardIter, _ForwardIter, forward_iterator_tag): Fix.
1695 * src/string-inst.cc: Tweaks, add instantiation.
1696 * testsuite/21_strings/replace.cc (test02): Add test.
1697 * testsuite/21_strings/assign.cc (test01): New file.
1699 2001-10-30 Jakub Jelinek <jakub@redhat.com>
1701 * include/bits/stl_deque.h (_M_new_elements_at_front): Use
1702 __throw_exception_again.
1703 (_M_new_elements_at_back): Likewise.
1705 2001-10-29 Benjamin Kosnik <bkoz@redhat.com>
1708 * include/bits/fstream.tcc (filebuf::showmanyc): Simplify.
1709 * testsuite/27_io/filebuf.cc (test07): New test.
1710 (test03): Modify showmanyc test.
1712 2001-10-26 Benjamin Kosnik <bkoz@redhat.com>
1715 * config/locale/codecvt_specializations_ieee_1003.1-200x.h
1716 (__enc_traits::~__enc_traits): Fix.
1717 (__enc_traits::_M_init): Add error checking.
1719 2001-10-25 Benjamin Kosnik <bkoz@redhat.com>
1722 * include/bits/locale_facets.tcc (time_get::_M_extract_name): Fix.
1724 2001-10-25 Benjamin Kosnik <bkoz@redhat.com>
1727 * include/bits/ostream.tcc (ostream::operator<<(streambuf*)): Fix
1729 * include/bits/istream.tcc (istream::operator>>(streambuf*): Make
1730 consistent, where possible.
1731 * include/bits/streambuf.tcc: Tweak.
1733 2001-10-25 Brendan Kehoe <brendan@zen.org>
1736 * bits/ostream.tcc (seekp): Scope use as ios_base::failbit.
1737 * bits/istream.tcc (seekg): Likewise.
1739 2001-10-25 Benjamin Kosnik <bkoz@redhat.com>
1740 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
1741 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
1743 * config/os/gnu-linux/bits/os_defines.h: Set to 64 bit longs with
1745 * include/bits/std_limits.h: Fix wchar_t issues.
1746 * config/os/aix/bits/os_defines.h: Fix.
1748 2001-10-25 Benjamin Kosnik <bkoz@redhat.com>
1750 * include/bits/locale_facets.tcc (collate::do_transform): Fix.
1752 2001-10-25 Phil Edwards <pme@gcc.gnu.org>
1754 * docs/html/documentation.html: Fix typo.
1756 2001-10-23 Benjamin Kosnik <bkoz@redhat.com>
1758 Make -fno-exceptions work.
1759 * config/locale/c_locale_gnu.cc: Use functexcept.
1760 * include/bits/c++config (__stl_assert): Remove.
1761 (__STL_USE_EXCEPTIONS): Same.
1763 (__STL_CATCH_ALL): Same.
1764 (__STL_THROW): Same.
1765 (__STL_RETHROW): Same.
1766 (__STL_NOTHROW): Same.
1767 (__STL_UNWIND): Same.
1768 * include/bits/pthread_allocimpl.h: Fix.
1769 * include/bits/std_bitset.h: Same.
1770 * include/bits/std_list.h: Same.
1771 * include/bits/std_memory.h: Same.
1772 * include/bits/std_queue.h: Same.
1773 * include/bits/stl_alloc.h: Same.
1774 * include/bits/stl_deque.h: Same.
1775 * include/bits/stl_list.h: Same.
1776 * include/bits/stl_queue.h: Same.
1777 * include/bits/stl_tempbuf.h: Same.
1778 * include/bits/stl_tree.h: Same.
1779 * include/bits/stl_uninitialized.h: Same.
1780 * include/bits/stl_vector.h: Same.
1781 * include/ext/ropeimpl.h: Same.
1782 * include/ext/slist: Same.
1783 * include/ext/stl_hashtable.h: Same.
1784 * include/ext/stl_rope.h: Same.
1785 * libsupc++/new_op.cc: Include cstdlib.
1786 * libsupc++/eh_personality.cc: Add exception_defines include. Use
1787 __throw_exception_again, tweak.
1788 * libsupc++/eh_aux_runtime.cc: Include stdlib for abort.
1789 * libsupc++/vec.cc: Tweak.
1790 * src/functexcept.cc: Remove unused arguments.
1791 * testsuite/23_containers/bitset_members.cc: Tweak.
1793 2001-10-22 Benjamin Kosnik <bkoz@redhat.com>
1795 * config/cpu/i386/bits/limits.h: Move to...
1796 * config/cpu/i386/bits/cpu_limits.h: ...here.
1797 * config/cpu/cris/bits/cpu_limits.h: Same.
1798 * config/cpu/powerpc/bits/cpu_limits.h: Same.
1799 * config/cpu/x86-64/bits/cpu_limits.h: Same.
1800 * config/cpu/alpha/bits/cpu_limits.h: New.
1801 * config/cpu/m68k/bits/cpu_limits.h: New.
1802 * config/cpu/s390/bits/cpu_limits.h: New.
1803 * config/os/aix/bits/os_defines.h: Tweaks.
1804 * config/os/bsd/freebsd/bits/os_defines.h: Same.
1805 * config/os/bsd/netbsd/bits/os_defines.h: Same.
1806 * config/os/djgpp/bits/os_defines.h: Same.
1807 * config/os/generic/bits/os_defines.h: Same.
1808 * config/os/gnu-linux/bits/os_defines.h: Same.
1809 * config/os/hpux/bits/os_defines.h: Same.
1810 * config/os/irix/irix5.2/bits/os_defines.h: Same.
1811 * config/os/irix/irix6.5/bits/os_defines.h: Same.
1812 * config/os/newlib/bits/os_defines.h: Same.
1813 * config/os/solaris/solaris2.5/bits/os_defines.h: Same.
1814 * config/os/solaris/solaris2.6/bits/os_defines.h: Same.
1815 * config/os/solaris/solaris2.7/bits/os_defines.h: Same.
1817 * include/bits/c++config: Remove include.
1818 * include/bits/limits_generic.h: Remove.
1819 * include/bits/std_limits.h: Include cpu_limits.h.
1820 * include/Makefile.am: Fixup.
1821 * src/limits.cc: Tweak.
1822 * src/limits_generic.cc: Remove.
1823 * src/gen-num-limits.cc: Remove.
1824 * mknumeric_limits: Remove.
1826 2001-10-20 Brendan Kehoe <brendan@zen.org>
1828 * bits/type_traits.h (_Bool): Removed this type.
1829 (__true_type, __false_type): Change to be plain structs.
1830 * src/string-inst.cc (__destroy_aux): Change third parm to be
1831 __false_type instead of _Bool<false>.
1832 * src/misc-inst.cc (__uninitialized_fill_n_aux,
1833 __uninitialized_copy_aux): Likewise.
1835 2001-10-19 Benjamin Kosnik <bkoz@redhat.com>
1837 * mkcheck.in (static_fail): Remove older memory limit functionality.
1838 Disable E_TIME due to formatting issues.
1842 2001-10-19 Brendan Kehoe <brendan@zen.org>
1844 * include/bits/std_complex.h: Default initialize second argument
1845 of polar to 0, as specified in Library DR #79
1847 2001-10-19 Brendan Kehoe <brendan@zen.org>
1849 * include/bits/stl_raw_storage_iter.h (operator=): Fix to call
1850 _Construct instead of construct.
1852 2001-10-19 Brendan Kehoe <brendan@zen.org>
1854 * include/bits/basic_string.tcc (find_first_not_of): Take out check for
1855 __n being non-zero, since the standard does not mandate that.
1856 e.g., a search for "" in "" should yield position 0, not npos.
1857 (find_last_not_of): Likewise.
1859 2001-10-19 Brendan Kehoe <brendan@zen.org>
1861 * include/bits/stl_bvector.h (vector<bool>::_M_range_check): Fix
1862 to throw out_of_range, not range_error, thus sayeth $23.1.1.13.
1864 2001-10-19 Brendan Kehoe <brendan@zen.org>
1866 * include/bits/stl_iterator.h (reverse_iterator::current): Rename
1867 member from _M_current, and change all uses; thus sayeth $24.4.1.1.
1869 2001-10-19 Brendan Kehoe <brendan@zen.org>
1871 * include/bits/stl_algo.h (partial_sort): Add missing `>' on the
1872 template parameter _ValueType.
1874 2001-10-19 Brendan Kehoe <brendan@zen.org>
1876 * include/bits/std_limits.h: Clean up extra semicolons.
1877 * include/bits/locale_facets.h: Likewise.
1878 * include/bits/type_traits.h: Likewise.
1880 2001-10-19 Brendan Kehoe <brendan@zen.org>
1882 * include/bits/localefwd.h (locale::combine): Add const for lib DR 14.
1883 * include/bits/locale_facets.tcc (locale::combine): Likewise.
1885 2001-10-19 Benjamin Kosnik <bkoz@redhat.com>
1887 * include/bits/locale_facets.h (__timepunct::_M_put_helper):
1888 Declare specializations for char, wchar_t.
1890 2001-10-19 Andreas Jaeger <aj@suse.de>
1892 * config/cpu/x86-64/bits/limits.h: New file.
1893 * config/cpu/x86-64/bits/atomicity.h: New file.
1894 * configure.target: Add x86-64.
1896 2001-10-17 Phil Edwards <pme@gcc.gnu.org>
1898 * docs/html/17_intro/howto.html: Remove 1999 links (and explain
1899 why). Add link to recent message.
1900 * docs/html/faq/index.html (5.6): Reformat text only; fixup <pre>
1902 * docs/html/faq/index.txt: Regenerate.
1904 2001-10-12 Loren J. Rittle <ljrittle@acm.org>
1906 * docs/html/faq/index.html (Is libstdc++-v3 thread-safe?): Update
1907 based on Nathan's review. Use Nathan's words.
1909 2001-10-11 Matt Kraai <kraai@alumni.carnegiemellon.edu>
1911 * docs/html/configopts.html: Quote StyleSheet attribute values.
1912 * docs/html/documentation.html: Likewise.
1913 * docs/html/explanations.html: Likewise.
1914 * docs/html/install.html: Likewise.
1915 * docs/html/17_intro/howto.html: Likewise.
1916 * docs/html/17_intro/license.html: Likewise.
1917 * docs/html/18_support/howto.html: Likewise.
1918 * docs/html/19_diagnostics/howto.html: Likewise.
1919 * docs/html/20_util/howto.html: Likewise.
1920 * docs/html/21_strings/howto.html: Likewise.
1921 * docs/html/22_locale/howto.html: Likewise.
1922 * docs/html/23_containers/howto.html: Likewise.
1923 * docs/html/24_iterators/howto.html: Likewise.
1924 * docs/html/25_algorithms/howto.html: Likewise.
1925 * docs/html/26_numerics/howto.html: Likewise.
1926 * docs/html/27_io/howto.html: Likewise.
1927 * docs/html/ext/howto.html: Likewise.
1928 * docs/html/ext/sgiexts.html: Likewise.
1929 * docs/html/faq/index.html: Likewise.
1931 2001-10-11 Loren J. Rittle <ljrittle@acm.org>
1933 * docs/html/faq/index.html (Is libstdc++-v3 thread-safe?): Rewrite.
1934 * docs/html/23_containers/howto.html (Containers and multithreading):
1937 2001-10-09 Phil Edwards <pme@gcc.gnu.org>
1939 * docs/html/17_intro/howto.html: Tweak markup and value type.
1940 * docs/html/27_io/howto.html: Tweak markup, describe setbuf() for
1941 nonzero arguments, add new note on threading.
1942 * docs/html/faq/index.html: Update.
1943 * docs/html/faq/index.txt: Regenerate.
1945 2001-10-09 Phil Edwards <pme@gcc.gnu.org>
1947 * docs/html/configopts.html: More HTML->XHTML and lowercasing of tags.
1948 * docs/html/documentation.html: Likewise.
1949 * docs/html/explanations.html: Likewise.
1950 * docs/html/install.html: Likewise.
1951 * docs/html/17_intro/howto.html: Likewise.
1952 * docs/html/17_intro/license.html: Likewise. Tighten up language.
1953 * docs/html/18_support/howto.html: Likewise.
1954 * docs/html/19_diagnostics/howto.html: Likewise.
1955 * docs/html/20_util/howto.html: Likewise.
1956 * docs/html/21_strings/howto.html: Likewise.
1957 * docs/html/22_locale/howto.html: Likewise.
1958 * docs/html/23_containers/howto.html: Likewise.
1959 * docs/html/24_iterators/howto.html: Likewise.
1960 * docs/html/25_algorithms/howto.html: Likewise.
1961 * docs/html/26_numerics/howto.html: Likewise.
1962 * docs/html/27_io/howto.html: Likewise.
1963 * docs/html/ext/howto.html: Likewise.
1964 * docs/html/ext/sgiexts.html: Likewise.
1965 * docs/html/faq/index.html: Likewise. Not so many absolute links.
1966 * docs/html/faq/index.txt: Regenerate.
1968 2001-10-07 Joseph S. Myers <jsm28@cam.ac.uk>
1970 * docs/html/22_locale/locale.html, docs/html/faq/index.html: Fix
1971 spelling errors of "separate" as "seperate", and corresponding
1972 spelling errors of related words.
1973 * docs/html/faq/index.txt: Regenerate.
1975 2001-10-05 Phil Edwards <pme@gcc.gnu.org>
1977 * config/cpu/alpha/bits/atomicity.h (__compare_and_swap): Remove
1979 * config/cpu/arm/bits/atomicity.h: Likewise.
1980 * config/cpu/generic/bits/atomicity.h: Likewise.
1981 * config/cpu/i486/bits/atomicity.h: Likewise.
1982 * config/cpu/ia64/bits/atomicity.h: Likewise.
1983 * config/cpu/mips/bits/atomicity.h: Likewise.
1984 * config/cpu/powerpc/bits/atomicity.h: Likewise.
1985 * config/cpu/sparc/sparc32/bits/atomicity.h: Likewise.
1986 * config/cpu/sparc/sparc64/bits/atomicity.h: Likewise.
1988 2001-10-04 Phil Edwards <pme@gcc.gnu.org>
1990 * docs/html/faq/index.html: Describe DR #22, and a workaround.
1991 * docs/html/faq/index.txt: Regenerate.
1993 2001-10-04 Phil Edwards <pme@gcc.gnu.org>
1995 * docs/html/17_intro/COPYING.DOC: New file, GFDL v1.1 from the FSF.
1996 * docs/html/17_intro/license.html: New file. Explain the licenses
1999 * docs/html/configopts.html: Link to license.html.
2000 * docs/html/documentation.html: Likewise.
2001 * docs/html/explanations.html: Likewise.
2002 * docs/html/install.html: Likewise.
2003 * docs/html/17_intro/howto.html: Likewise.
2004 * docs/html/18_support/howto.html: Likewise.
2005 * docs/html/19_diagnostics/howto.html: Likewise.
2006 * docs/html/20_util/howto.html: Likewise.
2007 * docs/html/21_strings/howto.html: Likewise.
2008 * docs/html/22_locale/howto.html: Likewise.
2009 * docs/html/23_containers/howto.html: Likewise.
2010 * docs/html/24_iterators/howto.html: Likewise.
2011 * docs/html/25_algorithms/howto.html: Likewise.
2012 * docs/html/26_numerics/howto.html: Likewise.
2013 * docs/html/27_io/howto.html: Likewise.
2014 * docs/html/ext/howto.html: Likewise.
2015 * docs/html/ext/sgiexts.html: Likewise.
2016 * docs/html/faq/index.html: Likewise. New question, linking to
2017 the new license.html.
2019 2001-10-04 Phil Edwards <pme@gcc.gnu.org>
2021 * docs/html/17_intro/howto.html: Fix mis-sed in header from 20010917.
2022 * docs/html/18_support/howto.html: Likewise.
2023 * docs/html/19_diagnostics/howto.html: Likewise.
2024 * docs/html/20_util/howto.html: Likewise.
2025 * docs/html/21_strings/howto.html: Likewise.
2026 * docs/html/22_locale/howto.html: Likewise.
2027 * docs/html/23_containers/howto.html: Likewise.
2028 * docs/html/24_iterators/howto.html: Likewise.
2029 * docs/html/25_algorithms/howto.html: Likewise.
2030 * docs/html/26_numerics/howto.html: Likewise.
2031 * docs/html/27_io/howto.html: Likewise.
2032 * docs/html/ext/howto.html: Likewise.
2033 * docs/html/faq/index.html: Likewise. Spacing fix.
2035 2001-10-03 Dimitris Vyzovitis <vyzo@media.mit.edu>
2037 * include/bits/stl_threads.h (_Atomic_swap): New function.
2038 (_Swap_lock_struct<__dummy>::_S_swap_lock): New data.
2039 * testsuite/ext/rope.cc: New file.
2041 2001-10-02 Benjamin Kosnik <bkoz@redhat.com>
2043 * config/locale/time_members_gnu.h: Remove.
2044 * config/locale/time_members_generic.h: Remove.
2045 * config/locale/time_members_gnu.cc (__timepunct::_M_put_helper): Add.
2046 * config/locale/time_members_generic.cc: Same.
2047 * include/bits/locale_facets.h: Add data members.
2048 (__timepunct::_M_put_helper): Change signature.
2049 (__timepunct::_M_date_formats): Same.
2050 (__timepunct::_M_time_formats): Same.
2051 (__timepunct::_M_ampm): Add.
2052 (__timepunct::_M_date_time_formats): Add.
2053 (time_get::_M_extract_via_format): Add.
2054 (time_get::_M_extract_time): Change to...
2055 (time_get::_M_extract_num): ... this, modify signature.
2056 * include/bits/locale_facets.tcc (time_get::do_get_year): Fix.
2057 (time_get::do_get_time): Fix.
2058 (time_get::do_get_date): Fix.
2060 * acinclude.m4: Remove CTIME_H.
2061 * aclocal.m4: Regenerate.
2062 * include/Makefile.am: Same.
2063 * include/Makefile.in: Regenerate.
2064 * configure: Regenerate.
2066 * testsuite/22_locale/time_get_members_char.cc: Fix.
2067 * testsuite/22_locale/time_get_members_wchar_t.cc: Add.
2068 * testsuite/22_locale/time_put_members_wchar_t.cc: Add.
2070 2001-10-01 Hans-Peter Nilsson <hp@axis.com>
2072 * config/cpu/cris/bits/atomicity.h: Correct file header.
2074 2001-09-29 Hans-Peter Nilsson <hp@axis.com>
2076 * configure.target (LIMITSH): Set for cris.
2077 (cpu_include_dir): Set for cris-*-*.
2078 * config/cpu/cris/bits/atomicity.h: New file.
2079 * config/cpu/cris/bits/limits.h: New file.
2081 2001-09-28 Benjamin Kosnik <bkoz@redhat.com>
2083 * config/locale/time_members_gnu.h (__timepunct::_M_get_helper): Add.
2084 (__timepunct::_M_put_helper): Add.
2085 * config/locale/time_members_generic.h: Same.
2086 * include/bits/locale_facets.h (__match_parallel): Remove. Format.
2087 (__timepunct): Add data members.
2088 (__timepunct::_M_days): Add.
2089 (__timepunct::_M_days_abbreviated): Add.
2090 (__timepunct::_M_months): Add.
2091 (__timepunct::_M_months_abbreviated): Add.
2092 (__timepunct::_M_initialize_timepunct): Add.
2093 * include/bits/locale_facets.tcc: Same.
2094 * src/locale-inst.cc: Remove instantiations for __match_parallel.
2095 * acinclude.m4 (GLIBCPP_ENABLE_CLOCALE): Add CTIME_CC.
2096 * aclocal.m4: Regenerate.
2097 * configure: Regenerate.
2098 * testsuite/22_locale/time_put_members_char.cc: Mark XFAIL.
2099 * testsuite/22_locale/time_put_members_char.cc (test01): New file.
2100 * testsuite/22_locale/time_get.cc: New file.
2102 2001-09-28 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
2104 * testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3-init): Use
2105 correct multilib builddir.
2106 Properly locate libgcc_s.
2108 2001-09-27 Phil Edwards <pme@gcc.gnu.org>
2110 * include/std/*: Add Doxygen hooks.
2111 * docs/doxygen/Intro.3: New file, general intro to the man pages.
2112 * docs/doxygen/mainpage.doxy: Formatting tweaks. List our own links
2113 rather than using a generated index.
2114 * docs/doxygen/user.cfg.in: Disable the index, enable man pages.
2115 * docs/doxygen/run_doxygen: Massage the generated man pages, using...
2116 * docs/doxygen/stdheader.cc: ...this new file.
2118 2001-09-26 Stan Shebs <shebs@apple.com>
2120 * include/Makefile.am: Remove RCS Id strings.
2121 * src/Makefile.am: Ditto.
2122 * docs/doxygen/run_doxygen: Ditto.
2123 * docs/html/configopts.html: Ditto.
2124 * docs/html/documentation.html: Ditto.
2125 * docs/html/explanations.html: Ditto.
2126 * docs/html/install.html: Ditto.
2127 * docs/html/17_intro/howto.html: Ditto.
2128 * docs/html/18_support/howto.html: Ditto.
2129 * docs/html/19_diagnostics/howto.html: Ditto.
2130 * docs/html/20_util/howto.html: Ditto.
2131 * docs/html/21_strings/howto.html: Ditto.
2132 * docs/html/22_locale/howto.html: Ditto.
2133 * docs/html/23_containers/howto.html: Ditto.
2134 * docs/html/24_iterators/howto.html: Ditto.
2135 * docs/html/25_algorithms/howto.html: Ditto.
2136 * docs/html/26_numerics/howto.html: Ditto.
2137 * docs/html/27_io/howto.html: Ditto.
2138 * docs/html/ext/howto.html: Ditto.
2139 * docs/html/ext/sgiexts.html: Ditto.
2140 * docs/html/faq/index.html: Ditto.
2141 * docs/html/faq/index.txt: Ditto.
2143 2001-09-25 Phil Edwards <pme@gcc.gnu.org>
2145 * testsuite/21_strings/c_strings.cc (test01, test02): Increase
2148 2001-09-25 Phil Edwards <pme@gcc.gnu.org>
2150 * docs/html/20_util/howto.html: Add anchor name.
2151 * docs/html/23_containers/howto.html: Line wrapping, another link.
2152 * docs/html/25_algorithms/howto.html: Another note.
2154 * docs/html/ext/howto.html: Link to SGI extensions. List DRs and
2156 * docs/html/ext/lwg-active.html: ...in this new file (from R19),
2157 * docs/html/ext/lwg-defects.html: and this new file (from R19).
2158 * docs/html/ext/sgiexts.html: New file. Mention SGI extensions
2159 carried over to libstdc++-v3.
2160 * docs/html/faq/index.html: Link to SGI extensions. Mention the
2161 "missing .." pseudobug.
2162 * docs/html/faq/index.txt: Regenerate.
2164 * include/bits/ios_base.h: DR-related comment cleanup.
2165 * include/bits/istream.tcc: Likewise.
2166 * include/bits/locale_facets.h: Likewise.
2167 * include/bits/locale_facets.tcc: Likewise.
2168 * include/bits/ostream.tcc: Likewise.
2169 * include/bits/std_bitset.h: Likewise.
2170 * include/bits/std_iosfwd.h: Likewise.
2171 * include/bits/std_istream.h: Likewise.
2172 * include/bits/std_ostream.h: Likewise.
2173 * include/bits/std_streambuf.h: Likewise.
2174 * include/bits/stl_pair.h: Likewise.
2175 * include/bits/streambuf_iterator.h: Likewise.
2177 * include/bits/std_map.h: Remove unused header inclusion guard
2178 _CPP_BITS_STL_TREE_H from around bits/stl_tree.h.
2179 * include/bits/std_set.h: Likewise.
2181 * include/bits/stl_function.h: Doxygen markup.
2182 * docs/doxygen/doxygroups.cc: New file, specifying module grouping.
2183 * libsupc++/typeinfo: Doxygen markup tweak.
2185 2001-09-20 Scott Johnston <scott@accom.com>
2186 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
2188 * include/backward/alloc.h: Conditionally define malloc_alloc
2189 * testsuite/backward/header_deque_h.cc: New file.
2191 2001-09-20 Sylvain Pion <Sylvain.Pion@sophia.inria.fr>
2193 * libstdc++-v3/include/bits/locale_facets.tcc (money_put::do_put):
2194 change variable name so that it works with -fno-for-scope.
2196 2001-09-20 Benjamin Kosnik <bkoz@redhat.com>
2198 * testsuite/22_locale/numpunct_members_char.cc (test01): Remove
2199 redundant sanity checks.
2200 * testsuite/22_locale/money_put_members_wchar_t.cc (test01): Same.
2202 * testsuite/22_locale/money_put_members_char.cc (test01): Same.
2204 * testsuite/22_locale/moneypunct_members_wchar_t.cc (test01): Same.
2205 * testsuite/22_locale/moneypunct_members_char.cc (test01): Same.
2206 * testsuite/22_locale/money_get_members_wchar_t.cc (test01): Same.
2208 * testsuite/22_locale/money_get_members_char.cc (test01): Same.
2211 2001-09-19 Benjamin Kosnik <bkoz@redhat.com>
2213 Implement std::time_put.
2214 * include/bits/locale_facets.h: Include time_members.h.
2216 (time_put): Implement.
2217 * include/bits/locale_facets.tcc (do_put): Put generic versions here.
2218 * include/bits/localefwd.h: Bump number of facets.
2219 * config/locale/time_members_generic.h: New file.
2220 * config/locale/time_members_gnu.h: New file.
2221 * config/locale/c_locale_generic.h: Include clocale.
2222 * src/locale-inst.cc: Add use_facet instantiations for __timepunct.
2223 * src/locale.cc: Add __timepunct initializations.
2224 * src/localename.cc (locale::_Impl::_Impl(string, size_t)): Same.
2225 * include/Makefile.am (stamp-target): Add time_members.h.
2226 * include/Makefile.in: Regenerate.
2227 * acinclude.m4 (GLIBCPP_ENABLE_CLOCALE): Add CTIME_H.
2228 * aclocal.m4: Regenerate.
2229 * configure: Regenerate.
2230 * testsuite/22_locale/time_put.cc: New file.
2231 * testsuite/22_locale/time_put_members_char.cc: New file.
2233 * docs/html/22_locale/locale.html: Add note.
2235 2001-09-17 Phil Edwards <pme@gcc.gnu.org>
2237 * docs/html/configopts.html: HTML to XHTML change. Lowercase tags.
2238 * docs/html/documentation.html: Likewise.
2239 * docs/html/explanations.html: Likewise.
2240 * docs/html/install.html: Likewise.
2241 * docs/html/17_intro/howto.html: Likewise.
2242 * docs/html/18_support/howto.html: Likewise.
2243 * docs/html/19_diagnostics/howto.html: Likewise.
2244 * docs/html/20_util/howto.html: Likewise.
2245 * docs/html/21_strings/howto.html: Likewise.
2246 * docs/html/22_locale/codecvt.html: Likewise.
2247 * docs/html/22_locale/ctype.html: Likewise.
2248 * docs/html/22_locale/howto.html: Likewise.
2249 * docs/html/22_locale/locale.html: Likewise.
2250 * docs/html/22_locale/messages.html: Likewise.
2251 * docs/html/23_containers/howto.html: Likewise.
2252 * docs/html/24_iterators/howto.html: Likewise.
2253 * docs/html/25_algorithms/howto.html: Likewise.
2254 * docs/html/26_numerics/howto.html: Likewise.
2255 * docs/html/27_io/howto.html: Likewise.
2256 * docs/html/ext/howto.html: Likewise.
2257 * docs/html/faq/index.html: Likewise.
2258 * docs/html/faq/index.txt: Regenerated.
2260 2001-09-14 Phil Edwards <pme@sources.redhat.com>
2262 * docs/html/17_intro/headers_cc.txt: "Sync"/copy real file over.
2263 * docs/html/17_intro/howto.html: Spacing and HTML markup fixes.
2264 * docs/html/18_support/howto.html: It won't compile; it's not code.
2265 * docs/html/19_diagnostics/howto.html: Point diagram seekers to
2267 * docs/html/22_locale/howto.html: Comment for future work.
2268 * docs/html/23_containers/howto.html: More comments.
2269 * docs/html/25_algorithms/howto.html: It's a comment, not a
2270 blunt command to the reader. (English grammar.)
2272 2001-09-14 Benjamin Kosnik <bkoz@redhat.com>
2274 * config/locale/moneypunct_members_gnu.cc: Fix initialization of
2276 * testsuite/22_locale/money_get_members_wchar_t.cc (test02): New file.
2277 * testsuite/22_locale/money_put_members_wchar_t.cc (test02): Fix.
2279 2001-09-14 Benjamin Kosnik <bkoz@redhat.com>
2281 * include/bits/locale_facets.tcc: Conditionalize use of strtold.
2283 2001-09-13 Alexandre Petit-Bianco <apbianco@redhat.com>
2285 * testsuite/22_locale/money_get_members_char.cc: Fixed typo in comment.
2286 * testsuite/22_locale/money_put_members_char.cc: Likewise.
2287 * testsuite/22_locale/money_put_members_wchar_t.cc: Likewise.
2289 2001-09-13 Benjamin Kosnik <bkoz@redhat.com>
2291 Implement std::money_get.
2292 * include/bits/locale_facets.tcc (money_get::do_get): Implement.
2293 * include/bits/locale_facets.h (money_get): Correct signatures.
2294 * testsuite/22_locale/money_get.cc: New file.
2295 * testsuite/22_locale/money_get_members_char.cc: New file.
2297 * include/bits/locale_facets.tcc (__verify_grouping): New
2298 function. Consolidate num_get and money_get group checking into
2300 (money_get): Use it.
2301 * src/locale.cc (num_get::_M_extract): Use it.
2302 * src/locale-inst.cc: Add instantiation.
2304 2001-09-12 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
2306 * include/bits/std_limits.h (numeric_limits<float>::radix,
2307 numeric_limits<float>::epsilon: Fix thinko.
2309 2001-09-10 Benjamin Kosnik <bkoz@redhat.com>
2311 * configure.in: Fix cross compiling math routines. Correct
2312 comments for cross compiling and limits. Add floating point math
2313 routines found in newlib.
2314 * configure: Regenerate.
2315 * acconfig.h: Add macros.
2316 * config.h.in: Regenerate.
2318 2001-09-10 Benjamin Kosnik <bkoz@redhat.com>
2320 * config/locale/moneypunct_members_generic.cc
2321 (money_base::_S_construct_pattern): Remove unused parameters.
2323 2001-09-10 Benjamin Kosnik <bkoz@redhat.com>
2325 * include/Makefile.am (stamp-target): Remove link to self.
2326 * inclulde/Makefile.in: Regenerate.
2328 2001-09-09 Benjamin Kosnik <bkoz@redhat.com>
2330 Implement std::money_put.
2331 * include/bits/locale_facets.h
2332 (moneypunct::_M_initialize_moneypunct): Split up specializations
2333 to account for _Intl. More grody hacking to get around the
2334 ill-considered use of const bool as a template parameter.
2335 * config/locale/moneypunct_members_gnu.cc: And here.
2336 * config/locale/moneypunct_members_generic.cc: And here.
2337 * testsuite/22_locale/moneypunct_members_char.cc: Add tests.
2338 * testsuite/22_locale/moneypunct.cc: Add tests.
2339 * testsuite/22_locale/money_put_members_wchar_t.cc: New file.
2340 * testsuite/22_locale/moneypunct_members_wchar_t.cc: New file.
2342 * src/locale.cc (money_base::_S_construct_pattern): Move into
2344 * config/locale/moneypunct_members_gnu.cc: Add here.
2345 * config/locale/moneypunct_members_generic.cc: Add generic version
2348 * include/bits/locale_facets.tcc (money_put::do_put): Move member
2349 function definitions here.
2350 * include/bits/locale_facets.h (money_put): Implement.
2351 * src/locale-inst.cc: Add use_facet instantiations for moneypunct.
2352 Correct money_get, money_put instantiations.
2353 * src/locale.cc (money_base::_S_construct_pattern): Handle case
2355 * testsuite/22_locale/money_put_members_char.cc: Add tests.
2357 2001-09-05 Phil Edwards <pme@sources.redhat.com>
2359 * testsuite_flags.in: No longer need to search testsuite builddir.
2360 * src/stl-inst.cc (__sink_unused_warning): Unused, remove.
2361 * Makefile.am: The testsuite directory never needs to be made here.
2362 * Makefile.in: Regenerate.
2363 * include/Makefile.in: Regenerate.
2364 * libio/Makefile.in: Regenerate.
2365 * libmath/Makefile.in: Regenerate.
2366 * libsupc++/Makefile.in: Regenerate.
2367 * po/Makefile.in: Regenerate.
2368 * src/Makefile.in: Regenerate.
2369 * testsuite/Makefile.in: Regenerate.
2371 2001-09-04 Scott Johnston <scott@accom.com>
2372 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
2374 * include/backward/iterator.h: Include <bits/std_iterator.h>,
2375 remove reverse_bidirectional_iterator.
2376 * testsuite/backward: New directory.
2377 * testsuite/backward/header_iterator_h.cc: New file.
2379 2001-09-04 Benjamin Kosnik <bkoz@redhat.com>
2381 * include/c_std/bits/std_c*.h: Don't use include_next.
2383 2001-09-03 Richard Sandiford <rsandifo@redhat.com>
2385 * libsupc++/eh_personality.cc (parse_lsda_header): Change type of
2386 tmp from _Unwind_Ptr to _Unwind_Word.
2388 2001-08-31 Jason Merrill <jason_merrill@redhat.com>
2390 * libsupc++/eh_personality.cc (PERSONALITY_FUNCTION): Simplify
2393 2001-08-28 Loren J. Rittle <ljrittle@acm.org>
2395 * include/Makefile.am: Use toplevel_srcdir to refer to src files
2396 outside this component.
2397 * include/Makefile.in: Regenerate.
2399 2001-08-27 Benjamin Kosnik <bkoz@redhat.com>
2401 * config/locale/c_locale_gnu.cc: Move facet info to separate files...
2402 * config/locale/c_locale_generic.cc: Same.
2403 * config/locale/moneypunct_members_gnu.cc: New file.
2404 * config/locale/moneypunct_members_generic.cc: New file.
2405 * config/locale/numpunct_members_gnu.cc: New file.
2406 * config/locale/numpunct_members_generic.cc: New file.
2407 * acinclude.m4 (GLIBCPP_ENABLE_CLOCALE): Add moneypunct, numpunct
2409 * aclocal.m4: Regenerate.
2410 * configure: Regenerate.
2411 * src/Makefile.am (sources): And here.
2412 * src/Makefile.in: Regenerate.
2414 Rename for consistency with rest of testsuite.
2415 * testsuite/22_locale/codecvt.cc: New file.
2416 * testsuite/22_locale/money_put.cc: New file.
2417 * testsuite/22_locale/money_put_members_char.cc: New file.
2419 2001-08-27 Phil Edwards <pme@sources.redhat.com>
2422 * acinclude.m4 (GLIBCPP_EXPORT_INSTALL_INFO): Handle enable/disable
2423 correctly for version-specific-runtime-libs.
2424 * aclocal.m4: Regenerate.
2425 * configure: Regenerate.
2427 2001-08-24 Loren J. Rittle <ljrittle@acm.org>
2429 * config/cpu/i386/bits/limits.h (__glibcpp_long_double_bits): Only
2430 define if not already provided by per-OS file.
2431 * config/os/bsd/freebsd/bits/os_defines.h (__glibcpp_long_double_bits):
2434 2001-08-24 Jan van Male <jan.vanmale@fenk.wau.nl>
2436 * docs/html/17_intro/C++STYLE: Fix typo.
2438 2001-08-24 Phil Edwards <pme@sources.redhat.com>
2440 * docs/html/23_containers/howto.html: Describe implementation of
2441 insertion with hints.
2443 2001-08-24 Kenny Simpson <kenny.simpson@gs.com>
2446 * include/bits/std_sstream.h (basic_ostringstream): Fix ctor.
2448 2001-08-24 Sylvain Pion <Sylvain.Pion@sophia.inria.fr>
2449 Phil Edwards <pme@sources.redhat.com>
2452 * include/bits/stl_tree.h (insert_unique): Revert last change.
2453 Values inserted at begin() must be less, not greater, than *begin()'s.
2454 * testsuite/23_containers/map_insert.cc: New file.
2456 2001-08-23 Benjamin Kosnik <bkoz@redhat.com>
2458 * config/locale/c_locale_gnu.cc: Minor tweaks.
2459 (moneypunct<wchar_t>): Implement.
2460 * include/bits/locale_facets.h: Same.
2461 * testsuite/22_locale/moneypunct.cc: New file.
2462 * testsuite/22_locale/moneypunct_byname.cc: New file.
2463 * testsuite/22_locale/moneypunct_char_members.cc: New file.
2465 2001-08-23 David Edelsohn <edelsohn@gnu.org>
2467 * config/os/gnu-linux/bits/os_defines.h: Correct __s390__ definitions.
2468 Set __powerpc__ long double definition based on __LONG_DOUBLE_128__.
2470 2001-08-23 Jason Merrill <jason_merrill@redhat.com>
2472 * testsuite_flags.in (build-includes): Re-add backward.
2474 2001-08-22 Benjamin Kosnik <bkoz@redhat.com>
2476 * testsuite/22_locale/collate_wchar_t_members.cc: Guard
2477 with _GLIBCPP_USE_WCHAR_T.
2479 2001-08-21 Benjamin Kosnik <bkoz@redhat.com>
2481 * testsuite/22_locale/collate_byname.cc (test01): Fix.
2483 2001-08-18 Vladimir A Merzliakov <wanderer@rsu.ru>
2485 * include/bits/locale_facets.tcc (collate::do_transform): Add typename.
2487 2001-08-18 Benjamin Kosnik <bkoz@redhat.com>
2489 * testsuite/22_locale/operators.cc: Add test.
2491 2001-08-17 Benjamin Kosnik <bkoz@redhat.com>
2493 Implement std::collate.
2494 * config/locale/collate_specializations_gnu.cc: Add here, implement in
2496 * config/locale/collate_specializations_generic.cc: Add here, but
2497 in a less sophisticated manner.
2498 * include/bits/locale_facets.tcc (collate): Add generic definition.
2499 * include/bits/locale_facets.h (~collate): Mark virtual.
2500 (collate::_M_compare_helper): New.
2501 (collate::_M_transform_helper): New.
2502 * src/locale.cc: Remove unnecessary specializations.
2503 * src/string-inst.cc: Tweak instantiation of ctors.
2505 * acinclude.m4 (GLIBCPP_ENABLE_CLOCALE): Do configury for collate.
2506 * aclocal.m4: Regenerate.
2507 * configure: Regenerate.
2508 * src/Makefile.am (sources): Add collate.cc.
2509 * src/Makefile.in: Regenerate.
2511 * testsuite/22_locale/collate_byname.cc: New.
2512 * testsuite/22_locale/collate.cc: New file.
2513 * testsuite/22_locale/collate_char_members.cc: New file.
2514 * testsuite/22_locale/collate_wchar_t_members.cc: New file.
2516 2001-08-16 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
2518 * configure.target: Set LIMITSH for powerpc-*-*.
2519 * config/cpu/powerpc/bits/limits.h: New file.
2521 2001-08-16 Marc Espie <espie@openbsd.org>
2523 * configure.in: Check for <sys/types.h>.
2524 * configure: Rebuild.
2525 * config.h.in: Rebuild.
2526 * libmath/mathconf.h: Include <sys/types.h> prior to
2527 <machine/endian.h> if available.
2529 2001-08-15 Andreas Schwab <schwab@suse.de>
2531 * configure.target (cpu_include_dir): Set to `config/cpu/m68k' for
2532 m68k and m680[246]0.
2533 * config/cpu/m68k/bits/atomicity.h: New file.
2535 * include/bits/std_limits.h [__glibcpp_long_double_bits == 96]:
2536 Define appropriate long double limits for m68k extended floating
2538 (__glibcpp_f32_digits10): Corrected, off by one.
2539 (__glibcpp_f80_digits10): Likewise.
2540 (__glibcpp_f128_digits10): Likewise.
2541 * config/os/gnu-linux/bits/os_defines.h
2542 (__glibcpp_long_double_bits) [__mc68000__]: Define to 96.
2544 2001-08-15 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
2546 * testsuite/18_support/numeric_limits.cc: Add more tests.
2547 * include/bits/std_limits.h (numeric_limits<char>::max): Fix
2550 2001-08-14 Ulrich Weigand <uweigand@de.ibm.com>
2552 * configure.target (cpu_include_dir): Set to `config/cpu/s390'
2555 * config/cpu/s390/bits/atomicity.h: New.
2557 2001-08-14 Gabriel Dos Reis <gdr@codesourcery.com>
2559 * include/bits/std_limits.h: Fix thinko.
2561 2001-08-14 Benjamin Kosnik <bkoz@redhat.com>
2563 * include/Makefile.am: Consolidate target rules. Don't clean stamp
2564 files. Tweak target build directory stamp.
2565 * include/Makefile.in: Regenerate.
2567 2001-08-14 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
2569 * libstdc++-v3/libmath/stubs.c: Fix PR/3988, replace
2570 _GBLICPP_HAVE_LOGL with HAVE_LOGL
2572 2001-08-13 Benjamin Kosnik <bkoz@redhat.com>
2574 * configure.in (libtool_VERSION): Add.
2575 (VERSION): Change to
2576 (release_VERSION): This.
2577 * configure: Regenerate.
2578 * src/Makefile.am (libstdc___la_LDFLAGS): Use -version-info with
2580 * src/Makefile.in: Regenerate.
2582 * intl/Makefile.am: Remove.
2583 * intl/Makefile.in: Remove.
2585 * Makefile.am (SUBDIRS): Remove intl.
2586 * po/Makefile.am (DISTFILES): Add string_literals.cc
2588 * po/string_literals.cc: Add.
2589 * po/POTFILES.in: Fix path.
2590 * acinclude.m4 (GLIBCPP_ENABLE_CLOCALE): Don't call AM_GNU_GETTEXT.
2591 * aclocal.m4: Regenerate.
2592 * configure.in: Remove AC_OUTPUT of intl/Makefile.
2594 * include/backward/backward_warning.h: Clarify message.
2596 * testsuite_flags.in (--cxxflags): Use same debug flags for
2597 library and testsuite.
2599 * include/Makefile.am (c_compatibility): Remove.
2600 * include/Makefile.in: Regenerate.
2602 2001-08-13 Mark Mitchell <mark@codesourcery.com>
2604 * configure.in (LIMITS_INC_SRCDIR): New variable.
2605 * configure.target (LIMITSH): New variable.
2606 * porting.texi: Discuss numeric limits.
2607 * config/cpu/generic/bits/limits.h: New file.
2608 * config/cpu/i386/bits/limits.h: New file.
2609 * include/Makefile.am: Install bits/limits.h.
2610 * include/bits/c++config: Include bits/limits.h.
2612 2001-08-13 H.J. Lu (hjl@gnu.org)
2614 * testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3-copy-files):
2616 (libstdc++-v3-init ): Use it.
2618 2001-08-13 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
2620 * include/bits/ostream.tcc (__pad_char): Change toplevel '__fmt'
2621 to '__adjust' to avoid shadowing in nested scope.
2623 2001-08-10 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
2625 * include/bits/std_limits.h(__glibcpp_char_is_signed): Use
2628 * config/os/gnu-linux/bits/os_defines.h(__glibcpp_char_is_signed):
2630 * config/os/aix/bits/os_defines.h(__glibcpp_plain_char_is_signed):
2633 2001-08-10 Loren J. Rittle <ljrittle@acm.org>
2635 * testsuite/testsuite_hooks.h (__set_testsuite_memlimit): Add
2636 dummy default argument to the non-limit implementation.
2639 * include/Makefile.am: Use relative file path in rule to allow
2641 * include/Makefile.in: Rebuilt.
2643 2001-08-10 Gunter Winkler <gunter.winkler@mathematik.tu-chemnitz.de>
2645 * include/bits/std_complex.h (complex<long double>::operator*=,
2646 complex<long double>::operator/=): Fix thinko.
2648 2001-08-10 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
2650 * include/bits/std_limits.h: New file.
2651 * include/Makefile.am (bits_headers): Add std_limits.h
2652 (all-local): std_limits.h is no longer built.
2653 (${target_builddir}/std_limits.h): Remove.
2654 * include/Makefile.in: Regenerate.
2655 * src/limits.cc: New file.
2656 * src/Makefile.am (sources): Add limits.cc in replacement of
2658 * src/Makefile.in: Regenerate.
2660 2001-08-09 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
2662 * src/gen-num-limits.cc (digits10): Fix thinko.
2664 2001-08-09 Benjamin Kosnik <bkoz@redhat.com>
2666 * po/Makefile.am (check-no): Add.
2668 * po/Makefile.in: Regenerate.
2670 2001-08-09 Benjamin Kosnik <bkoz@redhat.com>
2672 * acconfig.h (_GLIBCPP_MEM_LIMITS): Define.
2673 * config.h.in: Regenerate.
2674 * acinclude.m4 (GLIBCPP_CHECK_SETRLIMIT): Check for setrlimit
2676 * aclocal.m4: Regenerate.
2677 * configure.in: Remove duplicate AM_CONFIG_HEADER.
2678 (AM_CONFIG_HEADER): Remove testsuite/testsuite_hooks.h.
2679 Only call GLIBCPP_CHECK_SETRLIMIT for native compiles.
2680 * configure: Regenerate.
2681 * testsuite_hooks.h.in: Move to...
2682 * testsuite_hooks.h: Here, include c++config.h. Use it.
2684 * Makefile.am (SUBDIRS): Move testsuite to last directory.
2685 * Makefile.in: Regenerate.
2686 * po/Makefile.am (stamp-po): Add.
2688 2001-08-09 David Edelsohn <edelsohn@gnu.org>
2690 * config/os/aix/bits/os_defines.h: Define std_limits.h macros.
2691 * config/os/generic/bits/os_defines.h: Likewise.
2692 * config/os/gnu-linux/bits/os_defines.h: Likewise.
2693 * config/os/hpux/bits/os_defines.h: Likewise.
2694 * config/os/irix/irix6.5/bits/os_defines.h: Likewise.
2695 * config/os/solaris/solaris2.7/bits/os_defines.h: Likewise.
2697 2001-08-08 Benjamin Kosnik <bkoz@redhat.com>
2699 * src/Makefile.am (libstdc___la_LDFLAGS): Use -release instead of
2700 -version-info, use substituted VERSION info.
2701 * src/Makefile.in: Regenerate.
2703 2001-08-07 Benjamin Kosnik <bkoz@redhat.com>
2705 Implement std::messages.
2706 Make config a fully-nested directory.
2707 * config/locale: New directory.
2708 * config/c_locale_generic.cc: Move into locale subdirectory.
2709 * config/c_locale_generic.h: Same.
2710 * config/c_locale_gnu.cc: Same.
2711 * config/c_locale_gnu.h: Same.
2712 * config/c_locale_ieee_1003.1-200x.cc: Same.
2713 * config/c_locale_ieee_1003.1-200x_.h: Same.
2714 * config/codecvt_specializations_generic.h: Same.
2715 * config/codecvt_specializations_ieee_1003.1-200x.h: Same.
2716 * config/messages_members_gnu.h: Same.
2717 * config/messaages_members_gnu.cc: Same.
2718 * config/messages_members_generic.h: Same.
2719 * config/messaages_members_generic.cc: Same.
2720 * config/messages_members_ieee_1003.1-200x.h: Same.
2721 * config/messaages_members_ieee_1003.1-200x.cc: Same.
2722 * config/io: New directory.
2723 * config/basic_file_libio.h: Move into io subdirectory.
2724 * config/basic_file_libio.cc: Same.
2725 * config/c_io_libio.h: Same.
2726 * config/c_io_libio_codecvt.c: Same.
2727 * config/basic_file_stdio.h: Same.
2728 * config/basic_file_stdio.cc: Same.
2729 * config/c_io_stdio.h: Same.
2731 * po: New directory.
2732 * po/POTFILES.in: New file.
2733 * po/Makefile.am: New file.
2734 * po/Makefile.in: New file.
2735 * po/libstdc++.pot: Generic translation file.
2736 * po/fr.po: Preliminary French translation.
2737 * po/de.po: Preliminary German translation.
2738 * intl: New directory.
2739 * intl/Makefile.am: New file.
2740 * intl/Makefile.in: New file.
2741 * intl/string_literals.cc: New file.
2742 * acinclude.m4 (GLIBCPP_CONFIGURE): Bump VERSION to 3.1.0. Add
2743 requisite setup for gettext. Re-arrange.
2744 * aclocal.m4: Regenerate.
2745 * configure.in: Don't call GLIBCPP_CHECK_COMPILER_VERSION.
2746 Output Makefile bits for po and intl.
2747 * configure: Regenerate.
2748 * Makefile.am (SUBDIRS): Add intl, po. Add rule for dist.
2749 * Makefile.in: Regenerate.
2750 * acconfig.h: Add ENABLE_NLS, HAVE_CATGETS, HAVE_GETTEXT, HAVE_STPCPY.
2751 * config.h.in: Regenerate.
2753 * acinclude.m4 (AC_REPLACE_STRINGFUNCS): Remove.
2755 * include/Makefile.am (install-data-local): Don't install Makefile.
2756 * include/Makefile.in: Regenerate.
2758 * include/bits/locale_facet.h (locale::facet::_S_clone_c_locale):
2760 * config/locale/c_locale_gnu.cc (_S_clone_c_locale): Add definition.
2761 * config/locale/c_locale_generic.cc: Same.
2762 * config/locale/c_locale_ieee_1003.1-200x.cc: Same.
2764 * include/bits/codecvt.h: Excise non-standard, non-required
2765 bits. This includes __enc_traits, and partial specializations of
2766 codecvt for __enc_traits.
2767 * src/codecvt.cc (__enc_traits::_S_max_size): Guard
2768 * config/codecvt_partials_ieee_1003.1-200x.h: New file.
2769 * config/codecvt_partials_generic.h: New file.
2770 * include/Makefile.am (allstamps): Add stamp-codecvt_model.
2771 (stamp-codecvt_model): Add.
2772 * include/Makefile.in: Regenerate.
2773 * acinclude.m4 (GLIBCPP_ENABLE_CLOCALE): Add in codecvt configury.
2774 * aclocal.m4: Regenerate.
2775 * configure: Regenerate.
2776 * testsuite/22_locale/codecvt_unicode_wchar_t.cc: Use macro guard.
2777 * testsuite/22_locale/codecvt_unicode_char.cc: Same.
2778 * testsuite/22_locale/ctor_copy_dtor.cc: And here.
2780 * include/bits/localefwd.h (class locale::facet): Add __enc_traits
2781 as a friend for _S_*_c_locale functions.
2782 * include/bits/codecvt.h (__enc_traits::__enc_traits): Add locale
2783 argument to default constructor so that CODESET information can be
2785 * include/bits/locale_facets.h (messages_byname):
2786 Re-implement. Remove specializations.
2787 * src/locale.cc (messages_byname<char>): Remove specialization.
2788 (messages_byname<wchar_t>): Same.
2789 * config/locale/c_locale_ieee_1003.1-200x.cc: New file.
2790 * config/locale/c_locale_ieee_1003.1-200x.h: New file.
2791 * config/locale/messages_members_ieee_1003.1-200x.cc: New file.
2792 * config/locale/messages_members_ieee_1003.1-200x.h: New file.
2793 * config/locale/messages_members_gnu.cc: New file.
2794 * config/locale/messages_members_gnu.h: New file.
2795 * config/locale/messages_members_generic.cc: New file.
2796 * config/locale/messages_members_generic.h: New file.
2798 * docs/html/configopts.html: Add documentation for new locale
2799 model, ieee_1003.1. Adjust other flags for current defaults.
2800 * docs/html/22_locale/locale.html: Update.
2801 * docs/html/22_locale/howto.html: Add link to messages.html. Organize.
2802 * docs/html/22_locale/messages.html: New.
2804 * src/Makefile.am (sources): Add messages_virtuals.cc.
2805 * src/Makefile.in: Regenerate.
2806 * include/Makefile.am (allstamps): Add stamp-messages_model.
2807 (stamp-messages_model): Add.
2808 * include/Makefile.in: Regenerate.
2809 * acinclude.m4 (GLIBCPP_ENABLE_CLOCALE): Add in messages configury.
2810 * aclocal.m4: Regenerate.
2811 * configure: Regenerate.
2813 * testsuite_flags.in (--cxxflags): Add LOCALEDIR.
2814 * testsuite/lib/libstdc++-v3-dg.exp: Remove broken LD_LIBRARY_PATH
2816 * acinclude (GLIBCPP_ENABLE_CLOCALE): Set glibcpp_localedir to the
2817 build directories message catalog base directory, and export.
2818 Eventually this should probably be made to deal with build and
2819 install directories. For now, punt on this as the library itself
2820 doesn't use message catalogs (yet).
2821 * testsuite/22_locale/messages.cc: New file.
2822 * testsuite/22_locale/messages_char_members.cc: New file.
2823 * testsuite/22_locale/messages_byname.cc: New file.
2825 2001-08-06 Phil Edwards <pme@sources.redhat.com>
2827 * acinclude.m4 (GLIBCPP_CONFIGURE_TESTSUITE): New macro, calls...
2828 (GLIBCPP_CHECK_SETRLIMIT): ...this new macro, which also uses...
2829 (GLIBCPP_CHECK_SETRLIMIT_ancilliary): ...this new macro.
2830 * configure.in (AM_CONFIG_HEADER): Also generate testsuite_hooks.h.
2831 Call GLIBCPP_CONFIGURE_TESTSUITE.
2832 * aclocal.m4: Regenerate.
2833 * config.h.in: Regenerate.
2834 * configure: Regenerate.
2836 * testsuite/lib/libstdc++-v3-dg.exp: Download new header instead
2839 * testsuite_flags.in: Add build dir's testsuite to INCLUDES.
2840 * testsuite/debug_assert.h: Removed; contents merged into...
2841 * testsuite/testsuite_hooks.h.in: ...here. New file.
2842 * testsuite/17_intro/header_ciso646.cc: No longer include
2843 debug_assert.h, include testsuite_hooks.h instead.
2844 * testsuite/17_intro/header_fstream.cc: Likewise.
2845 * testsuite/17_intro/header_iomanip.cc: Likewise.
2846 * testsuite/17_intro/header_ios.cc: Likewise.
2847 * testsuite/17_intro/header_iosfwd.cc: Likewise.
2848 * testsuite/17_intro/header_iostream.cc: Likewise.
2849 * testsuite/17_intro/header_istream.cc: Likewise.
2850 * testsuite/17_intro/header_ostream.cc: Likewise.
2851 * testsuite/17_intro/header_sstream.cc: Likewise.
2852 * testsuite/17_intro/header_streambuf.cc: Likewise.
2853 * testsuite/18_support/numeric_limits.cc: Likewise.
2854 * testsuite/19_diagnostics/stdexceptions.cc: Likewise.
2855 * testsuite/20_util/allocator_members.cc: Likewise.
2856 * testsuite/20_util/auto_ptr.cc: Likewise.
2857 * testsuite/20_util/pairs.cc: Likewise.
2858 * testsuite/21_strings/append.cc: Likewise.
2859 * testsuite/21_strings/capacity.cc: Likewise.
2860 * testsuite/21_strings/char_traits_requirements.cc: Likewise.
2861 * testsuite/21_strings/compare.cc: Likewise.
2862 * testsuite/21_strings/ctor_copy_dtor.cc: Likewise. Also set up
2863 call to (disabled) __set_testsuite_memlimit() wrapper.
2864 * testsuite/21_strings/element_access.cc: Likewise.
2865 * testsuite/21_strings/find.cc: Likewise.
2866 * testsuite/21_strings/insert.cc: Likewise. Also set up call to
2867 (disabled) __set_testsuite_memlimit() wrapper.
2868 * testsuite/21_strings/inserters_extractors.cc: Likewise.
2869 * testsuite/21_strings/invariants.cc: Likewise.
2870 * testsuite/21_strings/nonmember.cc: Likewise.
2871 * testsuite/21_strings/operations.cc: Likewise.
2872 * testsuite/21_strings/replace.cc: Likewise.
2873 * testsuite/21_strings/rfind.cc: Likewise.
2874 * testsuite/21_strings/substr.cc: Likewise.
2875 * testsuite/22_locale/codecvt_char_char.cc: Likewise.
2876 * testsuite/22_locale/codecvt_unicode_char.cc: Likewise.
2877 * testsuite/22_locale/codecvt_unicode_wchar_t.cc: Likewise.
2878 * testsuite/22_locale/codecvt_wchar_t_char.cc: Likewise.
2879 * testsuite/22_locale/ctor_copy_dtor.cc: Likewise.
2880 * testsuite/22_locale/ctype_char_members.cc: Likewise.
2881 * testsuite/22_locale/ctype_wchar_t_members.cc: Likewise.
2882 * testsuite/22_locale/facet.cc: Likewise.
2883 * testsuite/22_locale/global_templates.cc: Likewise.
2884 * testsuite/22_locale/members.cc: Likewise.
2885 * testsuite/22_locale/numpunct_byname.cc: Likewise.
2886 * testsuite/22_locale/numpunct_char_members.cc: Likewise.
2887 * testsuite/22_locale/operators.cc: Likewise.
2888 * testsuite/22_locale/static_members.cc: Likewise.
2889 * testsuite/23_containers/bitset_ctor.cc: Likewise.
2890 * testsuite/23_containers/bitset_members.cc: Likewise.
2891 * testsuite/23_containers/bitset_shift.cc: Likewise.
2892 * testsuite/23_containers/vector_capacity.cc: Likewise.
2893 * testsuite/23_containers/vector_ctor.cc: Likewise.
2894 * testsuite/23_containers/vector_element_access.cc: Likewise.
2895 * testsuite/23_containers/vector_modifiers.cc: Likewise.
2896 * testsuite/24_iterators/istreambuf_iterator.cc: Likewise.
2897 * testsuite/24_iterators/iterator.cc: Likewise.
2898 * testsuite/24_iterators/ostreambuf_iterator.cc: Likewise.
2899 * testsuite/25_algorithms/binary_search.cc: Likewise.
2900 * testsuite/25_algorithms/copy.cc: Likewise.
2901 * testsuite/25_algorithms/heap.cc: Likewise.
2902 * testsuite/25_algorithms/lower_bound.cc: Likewise.
2903 * testsuite/25_algorithms/min_max.cc: Likewise.
2904 * testsuite/25_algorithms/partition.cc: Likewise.
2905 * testsuite/25_algorithms/rotate.cc: Likewise.
2906 * testsuite/25_algorithms/sort.cc: Likewise.
2907 * testsuite/26_numerics/c_math.cc: Likewise.
2908 * testsuite/26_numerics/complex_inserters_extractors.cc: Likewise.
2909 * testsuite/26_numerics/complex_value.cc: Likewise.
2910 * testsuite/27_io/filebuf.cc: Likewise.
2911 * testsuite/27_io/filebuf_members.cc: Likewise.
2912 * testsuite/27_io/filebuf_virtuals.cc: Likewise.
2913 * testsuite/27_io/fpos.cc: Likewise.
2914 * testsuite/27_io/fstream_members.cc: Likewise.
2915 * testsuite/27_io/ifstream_members.cc: Likewise.
2916 * testsuite/27_io/ios_base_callbacks.cc: Likewise.
2917 * testsuite/27_io/ios_base_members_static.cc: Likewise.
2918 * testsuite/27_io/ios_base_storage.cc: Likewise.
2919 * testsuite/27_io/ios_ctor.cc: Likewise.
2920 * testsuite/27_io/ios_init.cc: Likewise.
2921 * testsuite/27_io/ios_manip_basefield.cc: Likewise.
2922 * testsuite/27_io/ios_manip_fmtflags.cc: Likewise.
2923 * testsuite/27_io/ios_members.cc: Likewise.
2924 * testsuite/27_io/istream_extractor_arith.cc: Likewise.
2925 * testsuite/27_io/istream_extractor_char.cc: Likewise.
2926 * testsuite/27_io/istream_extractor_other.cc: Likewise.
2927 * testsuite/27_io/istream_manip.cc: Likewise.
2928 * testsuite/27_io/istream_seeks.cc: Likewise.
2929 * testsuite/27_io/istream_sentry.cc: Likewise.
2930 * testsuite/27_io/istream_unformatted.cc: Likewise.
2931 * testsuite/27_io/istringstream_members.cc: Likewise.
2932 * testsuite/27_io/narrow_stream_objects.cc: Likewise.
2933 * testsuite/27_io/ofstream_members.cc: Likewise.
2934 * testsuite/27_io/ostream_inserter_arith.cc: Likewise.
2935 * testsuite/27_io/ostream_inserter_char.cc: Likewise.
2936 * testsuite/27_io/ostream_inserter_other.cc: Likewise.
2937 * testsuite/27_io/ostream_manip.cc: Likewise.
2938 * testsuite/27_io/ostream_seeks.cc: Likewise.
2939 * testsuite/27_io/ostream_unformatted.cc: Likewise.
2940 * testsuite/27_io/ostringstream_members.cc: Likewise.
2941 * testsuite/27_io/streambuf.cc: Likewise.
2942 * testsuite/27_io/stringbuf.cc: Likewise.
2943 * testsuite/27_io/stringbuf_virtuals.cc: Likewise.
2944 * testsuite/27_io/stringstream.cc: Likewise.
2945 * testsuite/27_io/stringstream_members.cc: Likewise.
2946 * testsuite/27_io/wide_stream_objects.cc: Likewise.
2948 2001-07-31 Loren J. Rittle <ljrittle@acm.org>
2950 * src/gen-num-limits.cc: Use __LONG_LONG_MAX__.
2952 2001-07-30 Benjamin Kosnik <bkoz@redhat.com>
2954 * configure.target: Remove mips from cpu table.
2955 * config/cpu/mips/bits/atomicity.h: Remove generic
2956 versions. Comment sgidefs include.
2958 2001-07-25 H.J. Lu <hjl@gnu.org>
2960 * configure.target (cpu_include_dir): Set to `config/cpu/mips'
2963 * config/cpu/mips/bits/atomicity.h: New.
2965 2001-07-25 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
2967 * acinclude.m4: CHECK_MATH_DECL_AND_LINKAGE for hypot, hypotf,
2968 hypotl, atan2f, atan2l. Remove from REPLACE_MATHFUNCS list.
2969 * aclocal.m4: Regenerate.
2970 * config.h.in: Likewise.
2971 * configure: Likewise.
2972 * libmath/Makefile.am (EXTRA_LONG_DOUBLE_yes): Remove hypotl.c
2973 (EXTRA_DIST): Remove hypot.c hypotf.c.
2974 * libmath/Makefile.am: Regenerate.
2975 * libmath/hypotf.c: Remove.
2976 * libmath/hypot.c: Likewise.
2977 * libmath/hypotl.c: Likewise.
2978 * libmath/stubs.c: The macros seen here are HAVE_xxx, not
2979 _GLIBCPP_HAVE_xxx. Add long double versions.
2981 2001-07-23 David Edelsohn <edelsohn@gnu.org>
2983 * include/bits/limits_generic.h (int): Set digits and digits10
2984 appropriately for word size.
2985 (unsigned int,long,unsigned long): Likewise.
2987 2001-07-19 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
2989 * include/bits/stl_algo.h : Fix typos.
2990 * testsuite/25_algorithms/unique.cc: New file.
2992 2001-07-19 Phil Edwards <pme@sources.redhat.com>
2993 Mark Mitchell <mark@codesourcery.com>
2995 Merge from cp-parser-branch.
2996 * include/bits/basic_string.h: Qualify symbols with 'template'.
2997 * include/bits/basic_string.tcc: Likewise.
2998 * include/bits/fstream.tcc: Likewise.
2999 * include/bits/istream.tcc: Likewise.
3000 * include/bits/sstream.tcc: Likewise.
3001 * include/bits/std_istream.h: Likewise.
3002 * include/bits/stl_iterator.h: Likewise.
3003 * include/bits/streambuf.tcc: Likewise.
3004 * src/gen-num-limits.cc: Add 'template<>' to specializations.
3005 * src/locale.cc: Likewise.
3007 2001-07-19 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
3008 Bert De Knuydt <Bert.Deknuydt@esat.kuleuven.ac.be>
3010 * src/gen-num-limits.cc (set_signals_handler): New function.
3011 Factor out signals setting. Set signal handler for SIGILL.
3013 2001-07-18 Phil Edwards <pme@sources.redhat.com>
3015 * docs/html/27_io/howto.html: Fix typo.
3016 * docs/html/faq/index.html: Minor updates for 3.0 all around.
3017 * docs/html/faq/index.txt: Regenerated.
3019 2001-07-18 Stephen M. Webb <stephen@bregmasoft..com>
3020 Roman Sulzhyk <roman_sulzhyk@yahoo.com>
3023 * include/bits/ostream.tcc (ostream::put): Fixed error condition check.
3024 * testsuite/27_io/streambuf.cc (test07): Added new regression test.
3026 2001-07-17 Stephen M. Webb <stephen@bregmasoft.com>r
3028 All occurrences of the __value_type() and __distance_type()
3029 functions, which were required to support the HP STL, have been
3030 removed along with all the auxiliary forwarding functions that
3031 were required to support their use.
3033 The __iterator_category() function was pretty much left alone
3034 because there was no benefit to removing it and its use made code
3035 just a little more readable.
3037 Incidences of distance() with nonstandard argument list were
3038 replaced by calls to the standard function (only in the files
3039 affected by the removal of the other HP functions).
3041 The signature of the rotate() algorithm was changed to match the
3044 Headers were reformatted under C++STYLE guidelines (indentation,
3045 linebreaks, typename keyword).
3047 * include/bits/stl_algo.h: replaced __value_type() and
3048 __distance_type() with iterator_traits, eliminated auxiliary
3049 support functions required to support said function usage.
3050 Changed nonstandard distance() call to standard call.
3052 * include/bits/stl_algobase.h: Same.
3053 * include/bits/stl_heap.h: Same.
3054 * include/bits/stl_numeric.h: Same.
3055 * include/bits/stl_uninitialized.h: Same.
3056 * include/bits/stl_iterator_base_types.h (__value_type()):
3058 (__distance_type()): Removed.
3059 (value_type()): Gone.
3060 (distance_type()): Done in.
3061 (iterator_category()): Hasta la vista, baby.
3063 * include/bits/stl_iterator_base_funcs.h (iterator_category()):
3064 Replaced with __iterator_category().
3065 * include/backward/iterator.h: moved definition of value_type(),
3066 distance_type(), and iterator_category() out of std:: and into
3068 * testsuite/23_containers/vector_ctor.cc (test03): New testcases.
3069 * testsuite/23_containers/vector_modifiers.cc (test03): New testcases.
3070 * testsuite/25_algorithms/rotate.cc: New testcase.
3071 * testsuite/25_algorithms/copy.cc: New testcase.
3072 * testsuite/25_algorithms/sort.cc: Same.
3073 * testsuite/25_algorithms/heap.cc: Same.
3074 * testsuite/25_algorithms/partition.cc: Same.
3075 * testsuite/25_algorithms/binary_search.cc: Same.
3076 * testsuite/26_numerics/sum_diff.cc: Ditto.
3078 001-07-17 Benjamin Kosnik <bkoz@redhat.com>
3080 * testsuite/README: Add notes on naming test cases.
3081 * testsuite/22_locale/members.cc: Mark as xfail.
3082 * testsuite/22_locale/numpunct_char_members.cc: Same.
3084 2001-07-16 Stephen M. Webb <stephen@bregmasoft.com>
3086 * acinclude.m4 (GLIBCPP_ENABLE_CHEADERS): Use glibcpp_srcdir when
3087 setting C_INCLUDE_DIR.
3088 * configure.in: Revert yesterday's LN_S change.
3089 * aclocal.m4: Regenerate.
3090 * configure: Regenerate.
3092 2001-07-15 Phil Edwards <pme@sources.redhat.com>
3094 * configure.in: Temporarily force LN_S to copy instead of symlink.
3095 * configure: Regenerate.
3097 2001-07-13 Phil Edwards <pme@sources.redhat.com>
3099 * include/bits/std_sstream.h (basic_stringbuf::basic_stringbuf(string):
3100 Initialize _M_string with pointer-and-size constructor, not just
3101 pointer. Fix some comments.
3102 * testsuite/21_strings/ctor_copy_dtor.cc (test03): New test.
3103 * testsuite/27_io/stringbuf.cc (test02): Remove unused variable.
3104 (test03): Add embedded-NUL tests.
3106 * mkcheck.in: When printing totals, match the order of the tests.
3107 * include/bits/stringfwd.h: Use same declaration keywords.
3108 * include/bits/std_iosfwd.h: Cosmetic spacing.
3110 2001-07-13 Stephen M. Webb <stephen@bregmasoft.com>
3111 Loren J. Rittle <ljrittle@acm.org>
3112 Phil Edwards <pme@sources.redhat.com>
3114 * include/Makefile.am: New file encapsulating header generation rules.
3115 * Makefile.am (SUBDIRS): Prepend 'include' directory.
3116 * acinclude.m4: Moved/removed rules for building various headers.
3117 * configure.in (AC_OUTPUT): Add include/Makefile.
3118 * mkc++config: Removed.
3120 * testsuite_flags.in: Changed build-includes to match new scheme.
3121 * mknumeric_limits: Likewise.
3122 * libio/Makefile.am: Changed INCLUDES to maatch new header scheme.
3123 * libmath/Makefile.am: Likewise.
3124 * libsupc++/Makefile.am: Likewise.
3125 * src/Makefile.am: Likewise; removed rules to build headers.
3126 * libmath/mathconf.h: Changed #include'd header names to match.
3127 * libmath/stubs.c: Likewise.
3128 * src/gen-num-limits.cc: Likewise.
3130 * configure: Regenerated.
3131 * config.h.in: Regenerated.
3132 * aclocal.m4: Regenerated.
3133 * Makefile.in: Regenerated.
3134 * include/Makefile.in: Regenerated.
3135 * libio/Makefile.in: Regenerated.
3136 * libmath/Makefile.in: Regenerated.
3137 * libsupc++/Makefile.in: Regenerated.
3138 * src/Makefile.in: Regenerated.
3139 * testsuite/Makefile.in: Regenerated.
3141 2001-07-11 Felix Natter <fnatter@gmx.net>
3143 * docs/html/17_intro/porting-howto.xml: Initial checkin of
3145 * docs/html/17_intro/porting-howto.html: check in v0.9.3
3147 2001-07-11 Phil Edwards <pme@sources.redhat.com>
3149 * docs/doxygen/run_doxygen: Don't keep output from previous run.
3150 * docs/doxygen/user.cfg.in: Tweaks.
3151 * include/bits/c++config: Documentation comments for Doxygen.
3152 * include/bits/char_traits.h: Likewise.
3153 * include/bits/limits_generic.h: Likewise.
3154 * include/bits/std_stdexcept.h: Likewise.
3155 * include/bits/stl_pair.h: Likewise.
3156 * libsupc++/exception: Likewise.
3157 * libsupc++/new: Likewise.
3158 * libsupc++/typeinfo: Likewise.
3159 * libmath/Makefile.am: Update and correct copyright.
3161 2001-07-10 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
3163 * acinclude.m4: Don't AC_REPLACE_MATHFUNCS expf and atan2f.
3164 * aclocal.m4: Regenerate.
3167 2001-07-09 Phil Edwards <pme@sources.redhat.com>
3169 * docs/html/configopts.html: Fix thinko.
3170 * docs/html/27_io/howto.html: Fix thinko and HTML markup.
3171 * include/bits/stl_iterator.h: Fix typo.
3173 2001-07-09 Phil Edwards <pme@sources.redhat.com>
3175 * docs/html/explanations.html: New file.
3176 * docs/html/configopts.html: Link to it to provide more notes
3177 on cstdio. Minor markup and spacing fixes.
3178 * docs/html/27_io/howto.html: Talk about sync_with_stdio.
3180 2001-07-09 Kriang Lerdsuwanakij <lerdsuwa@users.sourceforge.net>
3182 * include/bits/valarray_meta.h (_Expr::operator+): Use qualified id
3183 for _Expr template template argument.
3184 (_Expr::operator-): Likewise.
3185 (_Expr::operator~): Likewise.
3186 (_Expr::operator!): Likewise.
3187 (_DEFINE_EXPR_UNARY_OPERATOR): Likewise.
3189 2001-07-06 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
3191 * libmath/Makefile.am (EXTRA_DIST): Remove atan2f.c and expf.c
3192 * libmath/Makefile.in: Regenerate.
3193 * libmath/expf.c: Remove.
3194 * libmath/atan2f.c: Likewise.
3196 2001-07-06 Daniel Jacobowitz <drow@mvista.com>
3198 * configure.in: Remove NATIVE, NULL_TARGET.
3199 Set CANADIAN only for Canadian crosses. Set xcompiling
3200 for both Canadian crosses and host-x-host crosses.
3201 * configure: Regenerated.
3203 2001-07-06 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
3205 * include/bits/stl_vector.h (vector::_M_initialize_aux): Fix typo.
3207 2001-07-05 Jason Merrill <jason_merrill@redhat.com>
3209 * testsuite_flags.in (--build-includes): backward, not backwards.
3211 2001-07-04 Jeffrey Oldham <oldham@codesourcery.com>
3213 * include/ext/ropeimpl.h (_Rope_RopeRep::_M_free_c_string):
3214 Replace destroy by _Destroy.
3215 (_Rope_RopeRep::_S_free_string): Likewise.
3216 (rope::c_str()): Likewise.
3217 * include/ext/slist (_Slist_base::_M_erase_after>): Likewise.
3218 (_Slist_base::_M_erase_after): Likewise.
3219 (slist::_M_create_node): Replace construct by _Construct.
3220 (slist::pop_front): Replace destroy by _Destroy.
3221 * include/ext/stl_hashtable.h (hashtable::_M_new_node): Replace
3222 construct by _Construct.
3223 (hashtable::_M_delete_node): Replace destroy by _Destroy.
3224 * include/ext/stl_rope.h (rope::rope): Replace construct by
3226 (rope::copy): Replace destroy by _Destroy.
3228 2001-07-03 Benjamin Kosnik <bkoz@redhat.com>
3230 * include/bits/localefwd.h: Format.
3231 * include/bits/locale_facts.tcc (locale::combine): Adjust.
3232 * src/locale.cc (locale::locale::(_Impl)): Don't call
3234 (locale::facet::_M_remove_reference): Simplify.
3235 * src/globals.cc (locale_impl_c): New. Format.
3237 * src/ios.cc (ios_base::Init::Init): Increment _S_ios_base_init last.
3239 2001-07-02 Loren J. Rittle <ljrittle@acm.org>
3241 * acinclude.m4 (GLIBCPP_ENABLE_THREADS): Protect variable from shell
3242 expansion (thanks to Alexandre Oliva).
3243 * aclocal.m4: Regenerate.
3244 * configure: Regenerate.
3246 2001-07-02 Benjamin Kosnik <bkoz@redhat.com>
3248 * src/locale.cc (locale::locale(const char*)): Make sure global
3249 locales are initialized.
3250 * include/bits/locale_facets.tcc (locale::combine): Refcout should
3251 be zero, not one as it's return-by-value.
3252 * testsuite/27_io/ios_base_callbacks.cc (test01): Don't check for
3254 * testsuite/22_locale/ctor_copy_dtor.cc (test01): Instead, check
3257 * libsupc++/eh_alloc.cc: Use climits, not limits.h.
3259 2001-07-02 Loren J. Rittle <ljrittle@acm.org>
3262 * acinclude.m4 (GLIBCPP_ENABLE_THREADS): Portability enhancement.
3263 * aclocal.m4: Regenerate.
3264 * configure: Regenerate.
3266 2001-07-02 Loren J. Rittle <ljrittle@acm.org>
3269 * acinclude.m4 (GLIBCPP_ENABLE_THREADS): Add relative path to
3270 staged/installed area to support -I-. Document.
3271 * aclocal.m4: Regenerate.
3272 * configure: Regenerate.
3274 2001-07-02 Loren J. Rittle <ljrittle@acm.org>
3277 * src/ios.cc (ios_base::Init::_S_ios_create): Rename __bufsize to
3278 __out_bufsize. Add __in_bufsize, document it and use it.
3280 2001-07-01 Stephen M. Webb <stephen@bregmasoft.com>
3282 * include/bits/stl_construct.h (construct): Remove.
3284 (__destroy): Replaced by use of iterator_traits.
3285 * include/bits/stl_deque.h: replaced HP iterator functions with
3287 (construct): changed to _Construct.
3288 (destroy): changed to _Destroy.
3289 * include/bits/stl_tempbuf.h: Same.
3290 * include/bits/stl_tree.h: Same.
3291 * include/bits/stl_vector.h: Same.
3292 * include/backward/iterator.h (construct): moved definition to here.
3295 2001-06-29 Benjamin Kosnik <bkoz@redhat.com>
3297 * include/bits/locale_facets.tcc (locale::combine): Clone _Impl.
3298 before replacing facet.
3299 * include/bits/localefwd.h (locale::_Impl::_M_remove_reference):
3301 * src/localename.cc (locale::_Impl): Correct ctor initialization
3302 lists. Initialize ref count with one. Simplify.
3303 * src/locale.cc: Add comment.
3304 * testsuite/22_locale/numpunct.cc (test01): Add derivation test.
3305 * testsuite/22_locale/numpunct_char_members.cc (test01): Add tests.
3306 * testsuite/22_locale/members.cc (test02): Fix.
3308 2001-06-27 Phil Edwards <pme@sources.redhat.com>
3310 * include/backward/algo.h: Add "GPL plus runtime exception" comment
3311 block, this time for real.
3312 * include/backward/algobase.h: Likewise.
3313 * include/backward/alloc.h: Likewise.
3314 * include/backward/bvector.h: Likewise.
3315 * include/backward/defalloc.h: Likewise.
3316 * include/backward/deque.h: Likewise.
3317 * include/backward/function.h: Likewise.
3318 * include/backward/hash_map.h: Likewise.
3319 * include/backward/hash_set.h: Likewise.
3320 * include/backward/hashtable.h: Likewise.
3321 * include/backward/heap.h: Likewise.
3322 * include/backward/iterator.h: Likewise.
3323 * include/backward/list.h: Likewise.
3324 * include/backward/map.h: Likewise.
3325 * include/backward/multimap.h: Likewise.
3326 * include/backward/multiset.h: Likewise.
3327 * include/backward/pair.h: Likewise.
3328 * include/backward/rope.h: Likewise.
3329 * include/backward/set.h: Likewise.
3330 * include/backward/slist.h: Likewise.
3331 * include/backward/stack.h: Likewise.
3332 * include/backward/strstream: Likewise.
3333 * include/backward/tempbuf.h: Likewise.
3334 * include/backward/tree.h: Likewise.
3335 * include/backward/vector.h: Likewise.
3336 * include/bits/pthread_allocimpl.h: Likewise.
3337 * include/bits/std_algorithm.h: Likewise.
3338 * include/bits/std_bitset.h: Likewise.
3339 * include/bits/std_deque.h: Likewise.
3340 * include/bits/std_functional.h: Likewise.
3341 * include/bits/std_iterator.h: Likewise.
3342 * include/bits/std_list.h: Likewise.
3343 * include/bits/std_map.h: Likewise.
3344 * include/bits/std_memory.h: Likewise.
3345 * include/bits/std_numeric.h: Likewise.
3346 * include/bits/std_queue.h: Likewise.
3347 * include/bits/std_set.h: Likewise.
3348 * include/bits/std_stack.h: Likewise.
3349 * include/bits/std_utility.h: Likewise.
3350 * include/bits/std_vector.h: Likewise.
3351 * include/bits/stl_algo.h: Likewise.
3352 * include/bits/stl_algobase.h: Likewise.
3353 * include/bits/stl_alloc.h: Likewise.
3354 * include/bits/stl_bvector.h: Likewise.
3355 * include/bits/stl_construct.h: Likewise.
3356 * include/bits/stl_deque.h: Likewise.
3357 * include/bits/stl_function.h: Likewise.
3358 * include/bits/stl_heap.h: Likewise.
3359 * include/bits/stl_iterator.h: Likewise.
3360 * include/bits/stl_iterator_base_funcs.h: Likewise.
3361 * include/bits/stl_iterator_base_types.h: Likewise.
3362 * include/bits/stl_list.h: Likewise.
3363 * include/bits/stl_map.h: Likewise.
3364 * include/bits/stl_multimap.h: Likewise.
3365 * include/bits/stl_multiset.h: Likewise.
3366 * include/bits/stl_numeric.h: Likewise.
3367 * include/bits/stl_pair.h: Likewise.
3368 * include/bits/stl_pthread_alloc.h: Likewise.
3369 * include/bits/stl_queue.h: Likewise.
3370 * include/bits/stl_raw_storage_iter.h: Likewise.
3371 * include/bits/stl_relops.h: Likewise.
3372 * include/bits/stl_set.h: Likewise.
3373 * include/bits/stl_stack.h: Likewise.
3374 * include/bits/stl_tempbuf.h: Likewise.
3375 * include/bits/stl_threads.h: Likewise.
3376 * include/bits/stl_tree.h: Likewise.
3377 * include/bits/stl_uninitialized.h: Likewise.
3378 * include/bits/stl_vector.h: Likewise.
3379 * include/bits/type_traits.h: Likewise.
3380 * include/ext/hash_map: Likewise.
3381 * include/ext/hash_set: Likewise.
3382 * include/ext/rope: Likewise.
3383 * include/ext/ropeimpl.h: Likewise.
3384 * include/ext/slist: Likewise.
3385 * include/ext/stl_hash_fun.h: Likewise.
3386 * include/ext/stl_hashtable.h: Likewise.
3387 * include/ext/stl_rope.h: Likewise.
3388 * src/bitset.cc: Likewise.
3389 * src/strstream.cc: Likewise.
3391 2001-06-26 Benjamin Kosnik <bkoz@redhat.com>
3392 <vakatov@ncbi.nlm.nih.gov>
3395 * include/bits/streambuf.tcc (__copy_streambufs): Don't set eofbit.
3396 * testsuite/27_io/ostream_inserter_other.cc (test04): Add test.
3397 * testsuite/27_io/istream_extractor_other.cc: Fix.
3399 2001-06-26 Zoltan Hidvegi <hzoli@austin.ibm.com>
3401 * acinclude.m4 (glibcpp_toolexeclibdir): Make multilib safe.
3402 * aclocal.m4: Regenerate.
3403 * configure: Regenerate.
3405 2001-06-26 Benjamin Kosnik <bkoz@redhat.com>
3407 * include/bits/stream_iterator.h (istream_iterator): Add copy ctor.
3408 (ostream_iterator): Same.
3409 * include/bits/stl_iterator.h (front_insert_iterator::operator=):
3410 Change argument to const_reference.
3411 (back_insert_iterator): Same.
3413 2001-06-26 Benjamin Kosnik <bkoz@redhat.com>
3415 * include/bits/sbuf_iter.h: Change to..
3416 * include/bits/streambuf_iterator.h: This.
3417 * include/bits/stl_iterator.h: Take out of here...
3418 * include/bits/stream_iterator.h: Add.
3419 * src/Makefile.am (base_headers): Add streambuf_iterator,
3421 * src/Makefile.in: Regenerate.
3422 * include/bits/std_string.h: Adjust includes.
3423 * include/bits/basic_ios.h: Same.
3424 * include/bits/locale_facets.tcc: Same.
3425 * include/bits/std_iosfwd.h: Same.
3427 * include/bits/std_iterator.h: Add istream, ostream includes.
3428 * include/bits/stl_iterator.h: Tweak.
3429 * testsuite/24_iterators/ostream_iterator.cc: Add test.
3430 * testsuite/24_iterators/istream_iterator.cc: Same.
3431 * testsuite/23_containers/multiset.cc: Add iterator include.
3433 2001-06-26 Phil Edwards <pme@sources.redhat.com>
3435 * acinclude.m4: Clean extraneous tabs, rewrap 'test' lines.
3436 * aclocal.m4: Regenerate.
3437 * configure: Regenerate.
3439 2001-06-26 Felix Natter <f.natter@ndh.net>
3441 * docs/html/17_intro/porting-howto.html: Fixed some errors.
3443 2001-06-26 Benjamin Kosnik <bkoz@redhat.com>
3445 * include/bits/stl_iterator.h (istream_iterator::operator->): Fix
3447 (istream_iterator::operator*): Same.
3449 2001-06-26 Benjamin Kosnik <bkoz@redhat.com>
3450 Alexandre Petit-Bianco <apbianco@redhat.com>
3452 * testsuite/21_strings/element_access.cc (test01): Chill Out Cafe
3453 is on 41st, not 14th.
3455 2001-06-26 Benjamin Kosnik <bkoz@redhat.com>
3457 * include/bits/std_iterator.h: Include sbuf_iter.h via std_ios.h.
3459 * include/bits/stl_iterator.h (istream_iterator): Inherit from
3461 (ostream_iterator): Same.
3462 * testsuite/24_iterators/istream_iterator.cc: New file.
3463 * testsuite/24_iterators/ostream_iterator.cc: New file.
3465 * include/bits/sbuf_iter.h: Remove self typedef.
3466 * testsuite/24_iterators/ostreambuf_iterator.cc: Add test.
3467 * testsuite/24_iterators/istreambuf_iterator.cc: Add test.
3469 * include/bits/stl_iterator.h (reverse_iterator): Remove
3470 extraneous typedefs. Add typename.
3471 (__normal_iterator): Remove typedefs referring to self. Add typename.
3472 (reverse_bidiretional_iterator): Remove, not longer required.
3474 2001-06-26 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
3476 * include/bits/stl_iterator.h (__normal_iterator<>): Qualify
3477 dependent names with `typename'. Bring in various required
3478 iterator_traits members. Can't imagine why that used to work.
3480 2001-06-25 Phil Edwards <pme@sources.redhat.com>
3481 Kurt Garloff <garloff@suse.de>
3484 * src/cmath.cc: New [version of an old] file; instantiate
3485 __cmath_power to start with.
3486 * src/Makefile.am (sources): Add cmath.cc (and alphabetize).
3487 * Makefile.in: Regenerate.
3488 * libio/Makefile.in: Regenerate.
3489 * libmath/Makefile.in: Regenerate.
3490 * libsupc++/Makefile.in: Regenerate.
3491 * src/Makefile.in: Regenerate.
3492 * testsuite/Makefile.in: Regenerate.
3494 2001-06-24 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
3496 * libmath/stubs.c: Fix thinko.
3498 2001-06-24 David Edelsohn <dje@watson.ibm.com>
3500 * libmath/stubs.c (sqrtf): Define.
3501 (tanf): Correct typo.
3503 2001-06-22 Benjamin Kosnik <bkoz@redhat.com>
3505 * include/bits/stl_iterator.h (reverse_iterator): Inherit from
3507 (back_insert_iterator): Same.
3508 (front_insert_iterator): Same.
3509 (insert_iterator): Same.
3511 * testsuite/20_util/raw_storage_iterator.cc: Modify.
3512 * testsuite/24_iterators/reverse_iterator.cc: New file.
3513 * testsuite/24_iterators/back_insert_iterator.cc: New file.
3514 * testsuite/24_iterators/front_insert_iterator.cc: New file.
3515 * testsuite/24_iterators/insert_iterator.cc: New file.
3517 2001-06-22 Phil Edwards <pme@sources.redhat.com>
3519 * include/*: Revert comment/license change from yesterday for all
3520 except libsupc++/unwind-cxx.h.
3521 * src/bitset.cc: Likewise.
3522 * src/strstream.cc: Likewise.
3524 2001-06-22 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
3526 * libmath/stubs.c: New file.
3530 * libmath/Makefile.am (libmath_la_SOURCES): Add.
3531 * libmath/Makefile.in. Regenerate.
3533 2001-06-21 Phil Edwards <pme@sources.redhat.com>
3535 * include/backward/algo.h: Add "GPL plus runtime exception" comment.
3536 * include/backward/algobase.h: Likewise.
3537 * include/backward/alloc.h: Likewise.
3538 * include/backward/bvector.h: Likewise.
3539 * include/backward/defalloc.h: Likewise.
3540 * include/backward/deque.h: Likewise.
3541 * include/backward/function.h: Likewise.
3542 * include/backward/hash_map.h: Likewise.
3543 * include/backward/hash_set.h: Likewise.
3544 * include/backward/hashtable.h: Likewise.
3545 * include/backward/heap.h: Likewise.
3546 * include/backward/iterator.h: Likewise.
3547 * include/backward/list.h: Likewise.
3548 * include/backward/map.h: Likewise.
3549 * include/backward/multimap.h: Likewise.
3550 * include/backward/multiset.h: Likewise.
3551 * include/backward/pair.h: Likewise.
3552 * include/backward/rope.h: Likewise.
3553 * include/backward/set.h: Likewise.
3554 * include/backward/slist.h: Likewise.
3555 * include/backward/stack.h: Likewise.
3556 * include/backward/strstream: Likewise.
3557 * include/backward/tempbuf.h: Likewise.
3558 * include/backward/tree.h: Likewise.
3559 * include/backward/vector.h: Likewise.
3560 * include/bits/pthread_allocimpl.h: Likewise.
3561 * include/bits/std_algorithm.h: Likewise.
3562 * include/bits/std_bitset.h: Likewise.
3563 * include/bits/std_deque.h: Likewise.
3564 * include/bits/std_functional.h: Likewise.
3565 * include/bits/std_iterator.h: Likewise.
3566 * include/bits/std_list.h: Likewise.
3567 * include/bits/std_map.h: Likewise.
3568 * include/bits/std_memory.h: Likewise.
3569 * include/bits/std_numeric.h: Likewise.
3570 * include/bits/std_queue.h: Likewise.
3571 * include/bits/std_set.h: Likewise.
3572 * include/bits/std_stack.h: Likewise.
3573 * include/bits/std_utility.h: Likewise.
3574 * include/bits/std_vector.h: Likewise.
3575 * include/bits/stl_algo.h: Likewise.
3576 * include/bits/stl_algobase.h: Likewise.
3577 * include/bits/stl_alloc.h: Likewise.
3578 * include/bits/stl_bvector.h: Likewise.
3579 * include/bits/stl_construct.h: Likewise.
3580 * include/bits/stl_deque.h: Likewise.
3581 * include/bits/stl_function.h: Likewise.
3582 * include/bits/stl_heap.h: Likewise.
3583 * include/bits/stl_iterator.h: Likewise.
3584 * include/bits/stl_iterator_base_funcs.h: Likewise.
3585 * include/bits/stl_iterator_base_types.h: Likewise.
3586 * include/bits/stl_list.h: Likewise.
3587 * include/bits/stl_map.h: Likewise.
3588 * include/bits/stl_multimap.h: Likewise.
3589 * include/bits/stl_multiset.h: Likewise.
3590 * include/bits/stl_numeric.h: Likewise.
3591 * include/bits/stl_pair.h: Likewise.
3592 * include/bits/stl_pthread_alloc.h: Likewise.
3593 * include/bits/stl_queue.h: Likewise.
3594 * include/bits/stl_raw_storage_iter.h: Likewise.
3595 * include/bits/stl_relops.h: Likewise.
3596 * include/bits/stl_set.h: Likewise.
3597 * include/bits/stl_stack.h: Likewise.
3598 * include/bits/stl_tempbuf.h: Likewise.
3599 * include/bits/stl_threads.h: Likewise.
3600 * include/bits/stl_tree.h: Likewise.
3601 * include/bits/stl_uninitialized.h: Likewise.
3602 * include/bits/stl_vector.h: Likewise.
3603 * include/bits/type_traits.h: Likewise.
3604 * include/ext/hash_map: Likewise.
3605 * include/ext/hash_set: Likewise.
3606 * include/ext/rope: Likewise.
3607 * include/ext/ropeimpl.h: Likewise.
3608 * include/ext/slist: Likewise.
3609 * include/ext/stl_hash_fun.h: Likewise.
3610 * include/ext/stl_hashtable.h: Likewise.
3611 * include/ext/stl_rope.h: Likewise.
3612 * libsupc++/unwind-cxx.h: Likewise.
3613 * src/bitset.cc: Likewise.
3614 * src/strstream.cc: Likewise.
3616 2001-06-21 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
3618 * include/bits/indirect_array.h (indirect_array<>::operator=):
3619 Make copy and assignment operator public. Implement. Format.
3621 * include/bits/valarray_array.h (__valarray_copy): Add overloads
3622 for copy between index arrays. Format.
3624 2001-06-19 Benjamin Kosnik <bkoz@redhat.com>
3626 * mknumeric_limits: Add static definitions, format.
3627 * testsuite/18_support/numeric_limits.cc (test02): Add test.
3629 * include/c_std/bits/std_cwchar.h: Include ctime.
3630 * testsuite/17_intro/header_cwchar.cc : Check.
3632 * include/c_std/bits/std_cwctype.h: Inject wctype.
3633 * testsuite/17_intro/header_cwctype.cc: Update.
3635 2001-06-18 Benjamin Kosnik <bkoz@redhat.com>
3637 * include/bits/stl_raw_storage_iter.h: Format. Correct derivation.
3638 * testsuite/20_util/raw_storage_iterator.cc: Same.
3640 * include/bits/stl_alloc.h (_S_chunk_alloc): Change malloc to
3642 (__mem_interface): New typedef for switching between malloc and new.
3643 * testsuite/20_util/allocator_members.cc: New file.
3645 * testsuite/20_util/comparisons.cc: New file.
3646 * testsuite/20_util/pairs.cc: New file.
3648 2001-06-15 Phil Edwards <pme@sources.redhat.com>
3650 * docs/html/documentation.html: Point to new doxygen'ed collection.
3652 2001-06-14 Nathan Sidwell <nathan@codesourcery.com>
3654 * configure.in (auxdir): Replace by ...
3655 (toprel): ... new variable.
3656 (toplevel_srcdir): Construct from $toprel.
3657 * acinclude.m4 (GLIBCPP_ENABLE_THREADS): Use $toprel
3658 rather than .. to locate gcc source directory.
3659 (GLIBCPP_CONFIGURE): Replace $auxdir with $srcdir/$toprel.
3660 * aclocal.m4, configure: Rebuilt.
3662 2001-06-13 John David Anglin <dave@hiauly1.hia.nrc.ca>
3664 (Approved by Mark and Benjamin. Applied by Loren.)
3666 * src/globals.cc: Define globals _GLIBCPP_mutex_init (),
3667 _GLIBCPP_mutex_address_init (), _GLIBCPP_once, _GLIBCPP_mutex
3668 and _GLIBCPP_mutex_address.
3669 * include/bits/stl_threads.h (_STL_mutex_lock): Use above to provide
3670 once-only runtime initialization of _M_lock mutex when
3671 __GTHREAD_MUTEX_INIT_FUNCTION is defined.
3672 (__STL_MUTEX_INITIALIZER): Provide initializer for _STL_mutex_lock
3673 for __GTHREAD_MUTEX_INIT_FUNCTION case.
3675 2001-06-13 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
3677 * testsuite/26_numerics/slice_array_assignment.cc (main): New test.
3679 * include/bits/slice_array.h (slice_array<>::operator=): Make
3680 public and implement.
3681 (slice_array<>::slice_array): Make copy-constructor public.
3683 * include/bits/valarray_array.h (__valarray_copy): Add another
3684 overload to copy between strided arrays.
3686 2001-06-13 Benjamin Kosnik <bkoz@redhat.com>
3688 * acinclude.m4 (GLIBCPP_CONFIGURE): Bump version to 3.0.0.
3689 * aclocal.m4: Regenerate.
3690 * configure: Regenerate.
3691 * include/bits/c++config (__GLIBCPP__): Update date.
3693 2001-06-12 Benjamin Kosnik <bkoz@redhat.com>
3695 * include/bits/fpos.h (fpos::operator-): Don't return reference,
3696 return original, non-modified version.
3697 (fpos::operator+): Same.
3698 * testsuite/27_io/fpos.cc: Add test.
3700 2001-06-12 Loren J. Rittle <ljrittle@acm.org>
3703 * porting.texi: Add documentation about libstdc++-v3-specific
3704 macros that are currently included in os_defines.h files.
3706 * config/basic_file_stdio.h (sys_getc): New method.
3707 (sys_ungetc): New method.
3708 * include/bits/basic_file.h: (sys_getc): New method signature.
3709 (sys_ungetc): New method signature.
3711 * include/bits/fstream.tcc (underflow): Add conditional code
3712 paths which avoid using short seeks on streams (especially
3713 useful when the stream might be interactive or a pipe). At
3714 the moment, this alternate path only avoids seeking when the
3715 ``buffer size'' of underflow() is 1 since the C standard only
3716 guarantees buffer space for one ungetc (this technique could
3717 be extended since *-*-solaris* supports buffering for 4 calls
3718 to ungetc and *-*-*bsd* supports buffering limited only by
3719 memory resources). Also, _GLIBCPP_AVOID_FSEEK must be defined
3720 in a port's os_defines.h file for this alternate path to even
3721 be considered. As a bonus, the idiom of using getc/ungetc
3722 requires no system calls whereas fseek maps to one or two
3723 system call(s) on many platforms.
3725 * config/os/bsd/freebsd/bits/os_defines.h (_GLIBCPP_AVOID_FSEEK):
3727 * config/os/solaris/solaris2.5/bits/os_defines.h
3728 (_GLIBCPP_AVOID_FSEEK): Likewise.
3729 * config/os/solaris/solaris2.6/bits/os_defines.h
3730 (_GLIBCPP_AVOID_FSEEK): Likewise.
3731 * config/os/solaris/solaris2.7/bits/os_defines.h
3732 (_GLIBCPP_AVOID_FSEEK): Likewise.
3734 2001-06-12 Benjamin Kosnik <bkoz@redhat.com>
3736 * acinclude.m4 (GLIBCPP_CHECK_COMPILER_VERSION): Change to
3737 AC_TRY_COMPILE, so that the built compiler is checked, and
3738 bootstraps or cross compiles with an older compile still work.
3739 * aclocal.m4: Regenerate.
3740 * configure: Regenerate.
3742 2001-06-12 Benjamin Kosnik <bkoz@redhat.com>
3745 * include/bits/std_sstream.h: Add allocator_type, as per DR 251.
3748 * include/bits/istream.tcc (getline, get): Fix as per DR 243.
3751 * include/bits/std_bitset.h (bitset::set): Fix as per DR 186.
3754 * include/bits/limits_generic.h: Fix as per DR 184.
3756 2001-06-11 Benjamin Kosnik <bkoz@redhat.com>
3759 * include/bits/basic_string.h (string::compare): Adjust signatures
3761 * include/bits/basic_string.tcc: And here.
3764 * config/c_io_stdio.h: Remove whitespace.
3765 * testsuite/27_io/istream_seeks.cc (test03): Add regression.
3766 (test02): Add regression.
3767 * testsuite/27_io/istream_seeks-3.tst: New file.
3769 2001-06-11 Phil Edwards <pme@sources.redhat.com>
3771 * README: Update to reflect reality.
3772 * acinclude.m4: Update descriptions, fix typos. Comment changes only.
3773 * configure.in: Make certain target_alias is set and subst'd for 2.50.
3774 * aclocal.m4: Regenerate.
3775 * configure: Regenerate (with 2.13).
3777 2001-06-11 Benjamin Kosnik <bkoz@redhat.com>
3780 * include/bits/ostream.tcc (ostream::seekp): Add error checking as
3782 * include/bits/istream.tcc (istream::seekg): Same.
3783 * testsuite/27_io/istream_seeks.cc: Fix.
3786 * include/bits/stl_function.h (binder2nd): Fix as per DR 109.
3788 * include/bits/std_queue.h: Add c++config.h.
3789 * testsuite/20_util/binders.cc: New test.
3791 2001-06-11 Matthias Klose <doko@debian.org>
3792 Phil Edwards <pme@sources.redhat.com>
3794 * docs/doxygen/run_doxygen (find_doxygen): Tweak version check.
3795 (main script): Echo more information.
3797 2001-06-10 Benjamin Kosnik <bkoz@redhat.com>
3799 * include/c_std/bits/std_cwchar.h: Alphabetize.
3800 * include/bits/char_traits.h: Tweak.
3801 * acinclude.m4 (GLIBCPP_CHECK_WCHAR_T_SUPPORT): Check for
3802 everything used by std_cwchar.h.
3803 * aclocal.m4: Regenerate.
3804 * configure.in: Regenerate.
3805 * config.h.in: Regenerate.
3807 2001-06-10 Benjamin Kosnik <bkoz@redhat.com>
3809 * acinclude.m4 (GLIBCPP_ENABLE_C99): Add stdio.h checking.
3810 Add checking for strtof, _Exit in stdlib.h
3811 * aclocal.m4: Regenerate.
3812 * configure.in: Regenerate.
3813 * include/c_std/bits/std_cstdio.h: Alphabetize lists.
3814 (snprintf): Put C99 functions into __gnu_cxx namespace.
3819 * include/c_std/bits/std_cstdlib.h: Alphabetize lists. Put undefs
3820 for C99 functions within _GLIBCPP_USE_C99 guard.
3824 * include/bits/locale_facets.tcc: Check if C99 is enabled.
3825 * include/c_std/bits/std_cwchar.h (__gnu_cxx): Put undefs within
3827 * include/c_std/bits/cmath.tcc: Formatting tweak.
3828 * include/c_std/bits/std_cmath.h: Same.
3830 2001-06-10 Benjamin Kosnik <bkoz@redhat.com>
3832 * include/c_std/bits/std_cstdio.h: Include cstddef for size_t.
3834 2001-06-09 Alexandre Oliva <aoliva@redhat.com>
3835 Stephen L Moshier <moshier@mediaone.net>
3837 * acinclude.m4 (AC_EXEEXT): Work around in case it expands to
3838 nothing, as in autoconf 2.50.
3839 * configure: Rebuilt.
3841 2001-06-09 Benjamin Kosnik <bkoz@redhat.com>
3843 * include/c_std/bits/std_cwchar.h: Remove size_t injection,
3844 include std_cstddef.
3845 * include/c_std/bits/std_ctime.h: Same.
3846 * include/c_std/bits/std_cstring.h: Same.
3847 * include/c_std/bits/std_cstdlib.h: Same.
3849 * include/c_std/bits/std_cstdio.h: Remove vsnprintf, snprintf.
3850 * include/c_std/bits/std_cctype.h: Remove isblank.
3852 2001-06-09 Benjamin Kosnik <bkoz@redhat.com>
3854 * acinclude.m4 (GLIBCPP_CHECK_WCHAR_T_SUPPORT): Check for fgetwc,
3856 * aclocal.m4: Regenerate.
3857 * configure: Regenerate.
3858 * include/c_std/bits/std_cwchar.h: Remove duplicate fgetwc
3859 injection, guard fgetwc, fgetws.
3860 * include/c_std/bits/std_cstdio.h: Remove superfluous includes.
3861 * include/c_std/bits/std_clocale.h: And here.
3862 * include/c_std/bits/std_cctype.h: And here.
3863 * include/c_std/bits/std_cstdlib.h (strtof): Guard strtof injection.
3865 * config/basic_file_stdio.h: Don't include unistd.h.
3866 * config/c_io_stdio.h: Don't use compatibility headers.
3867 * libsupc++/eh_terminate.cc: Qualify abort.
3868 (__terminate): And here.
3869 * libsupc++/eh_catch.cc (__cxa_end_catch): Qualify abort.
3871 2001-06-08 Benjamin Kosnik <bkoz@redhat.com>
3873 * include/c_std/bits/std_cstdlib.h: Remove _Exit, strtof injections.
3875 2001-06-08 Benjamin Kosnik <bkoz@redhat.com>
3880 * include/std/*: Add copyright notice.
3881 * include/c_std/bits/*: Use using statements instead of extern "C".
3882 * include/c_std/bits/std_cmath.h: Don't overload double versions
3883 of math functions with __buitin versions, use global version to
3884 prevent ambiguities. Remove define hacks.
3885 * include/c_std/bits/std_cwchar.h: Using declarations for "C"
3886 functions that have changed signatures and std::
3887 declarations. Remove define hacks.
3888 * include/c_std/bits/std_cwchar.h: Same, plus remove ambiguous
3889 __builtins in std::. Remove define hacks.
3890 * testsuite/17_intro/headers_c.cc: Add tests.
3891 * testsuite/17_intro/headers_c++.cc: Add test.
3893 2001-06-07 Loren J. Rittle <ljrittle@acm.org>
3894 John David Anglin <dave@hiauly1.hia.nrc.ca>
3897 * libsupc++/eh_alloc.cc: Ensure that required macros are
3898 defined before including gthr.h. Ensure that we get the
3899 version of gthr.h for which we know how to provide a
3901 * libsupc++/eh_globals.cc: Likewise. And, bring the threading
3902 code path into line with the current EH model. Use std, where
3905 2001-06-07 Loren J. Rittle <ljrittle@acm.org>
3906 John David Anglin <dave@hiauly1.hia.nrc.ca>
3908 * config/threads-no.h: Remove file.
3909 * config/threads-posix.h: Remove file.
3911 * acconfig.h (_GLIBCPP_USE_THREADS): Remove.
3912 (_GLIBCPP_SUPPORTS_WEAK): Add (required by namespace-clean gthr*.h).
3913 (_GLIBCPP_HAVE_GTHR_DEFAULT): Likewise.
3914 * config.h.in: Regenerate.
3916 * acinclude.m4 (GLIBCPP_ENABLE_THREADS): Completely rework to
3917 setup and use gthr*.h files. In particular, make gthr.h files
3918 namespace-clean in the staging area (they don't have to be for
3920 * aclocal.m4: Regenerate.
3921 * configure: Regenerate.
3923 * src/Makefile.am (build_headers): Remove bits/c++threads.h
3924 and add bits/gthr.h bits/gthr-single.h bits/gthr-default.h.
3925 * src/Makefile.in: Regenerate.
3927 * include/bits/c++config: Cleanup threading configuration macros.
3928 In particular, define __STL_GTHREADS macro which controls...
3929 * include/bits/stl_threads.h: ...a brand new gthr.h-based
3932 * config/c_io_stdio.h: Include staged gthr.h instead of local
3933 thread configuration file. Always use __gthread_mutex_t
3934 instead of __mutext_type (or int).
3935 * include/bits/std_fstream.h: Likewise.
3937 * docs/html/17_intro/howto.html: Remove placeholder comment in
3938 case this configuration patch didn't make it. Add advice that
3939 section only applies if configured with --enable-threads.
3940 * docs/html/23_containers/howto.html: Reword to make clear
3941 that _PTHREADS is no longer required for any port to be
3942 correctly using STL with threads. Add advice that section
3943 only applies if configured with --enable-threads.
3945 2001-06-06 Benjamin Kosnik <bkoz@redhat.com>
3947 * src/string-inst.cc (_Rep::_S_max_size): Add instantiation.
3949 2001-06-05 Benjamin Kosnik <bkoz@redhat.com>
3952 * include/bits/basic_ios.tcc: Formatting tweaks.
3953 * include/bits/ios_base.h: Formatting tweaks.
3954 * src/ios.cc (ios_base::Init::_S_ios_create): Use filebufs here.
3955 (ios_base::Init::_S_ios_destroy): ..and here. Explicitly call dtors.
3956 * src/globals.cc: Allocate filebufs for standard streams here.
3957 (buf_cout, buf_cin, buf_cerr): Like so.
3958 (buf_wcout, buf_wcin, buf_wcerr): And so.
3959 * testsuite/27_io/ios_init.cc: Add.
3961 2001-06-04 Brendan Kehoe <brendan@zen.org>
3962 Benjamin Kosnik <bkoz@redhat.com>
3965 * include/bits/locale_facets.h (ctype<_CharT>): Add definitions
3966 for generic ctype virtuals.
3967 * src/locale.cc: Minor tweaks, naming consistency.
3968 * testsuite/22_locale/ctype.cc: Add test.
3970 2001-06-04 Kenny Simpson <theonetruekenny@yahoo.com>
3971 Phil Edwards <pme@sources.redhat.com>
3973 PR libstdc++/3035 and PR libstdc++/3036
3974 * include/bits/stl_pair.h: Fix pair ctor and make_pair according
3975 to LWG DR 181 and 265.
3977 2001-06-04 Phil Edwards <pme@sources.redhat.com>
3980 * include/bits/stl_multiset.h (find, lower_bound, upper_bound,
3981 equal_range): Add const overloads as per LWG DR 214.
3982 * include/bits/stl_set.h: Likewise.
3984 2001-06-04 Brendan Kehoe <brendan@zen.org>
3985 Phil Edwards <pme@sources.redhat.com>
3988 * include/bits/std_bitset.h (bitset::test): Fix __pos >= _Nb
3989 comparison; all positions must be < _Nb.
3990 * testsuite/23_containers/bitset_members.cc: New file.
3992 2001-06-04 Brendan Kehoe <brendan@zen.org>
3995 * include/bits/stl_queue.h (classes queue, priority_queue): Fix
3996 ctors to match the standard.
3998 2001-06-04 Jeffrey Oldham <oldham@codesourcery.com>
4000 * include/bits/char_traits.h (move): Reverse qualification of
4002 (copy): Reverse qualification of memcpy with std::.
4004 2001-06-04 Jeffrey Oldham <oldham@codesourcery.com>
4006 * include/bits/char_traits.h (move): Qualify memmove with std::.
4007 (copy): Qualify memcpy with std::.
4008 * testsuite/27_io/filebuf_virtuals.cc (test01): Qualify strlen and
4011 * testsuite/27_io/stringbuf_virtuals.cc (test01): Likewise.
4013 2001-06-04 Hans-Peter Nilsson <hp@axis.com>
4015 * libsupc++/Makefile.am (install-glibcppinstallHEADERS,
4016 uninstall-glibcppinstallHEADERS): Have explicit rules catering to
4017 SUN make VPATH peculiarities.
4018 * libsupc++/Makefile.in: Regenerate.
4020 2001-06-01 Hans-Peter Nilsson <hp@axis.com>
4022 * src/Makefile.am (VPATH): Delimit with ":", not space.
4023 * src/Makefile.in: Regenerate.
4025 * configure.in (use of GLIBCPP_CHECK_GNU_MAKE): Don't fail if GNU
4027 * configure: Regenerate.
4029 2001-05-31 scott snyder <snyder@fnal.gov>
4032 * include/bits/istream.tcc: Include std_ostream.h.
4034 2001-05-31 Benjamin Kosnik <bkoz@redhat.com>
4037 * src/bitset.cc: Qualify size_t with std::.
4039 2001-05-30 Benjamin Kosnik <bkoz@redhat.com>
4041 * acconfig.h (_GLIBCPP_BUGGY_FLOAT_COMPLEX): Remove.
4042 (_GLIBCPP_BUGGY_COMPLEX): Remove.
4043 * config.h.in: Regenerate.
4044 * acinclude.m4 (GLIBCPP_CHECK_COMPLEX_MATH_COMPILER_SUPPORT): Remove.
4045 * aclocal.m4: Regenerate.
4046 * configure.in: Don't call it.
4047 * configure: Regenerate.
4050 * src/complex_io.cc (operator<<(ostream&, const complex&): Fix.
4051 * testsuite/26_numerics/complex_inserters_extractors.cc (test01):
4055 * include/bits/std_complex.h: Include sstream. Put definitions for
4056 complex inserters and extractors here, and remove them from...
4057 * src/complex_io.cc: ...here.
4058 * include/bits/basic_ios.h (basic_ios::__numput_type): Add _Traits
4060 (basic_ios::__numget_type): Same.
4061 * include/bits/std_istream.h: Same.
4062 * include/bits/std_ostream.h: Same.
4063 * include/bits/sbuf_iter.h (ostreambuf_iterator): Fix typo in base
4064 class iterator template arguments.
4065 * src/locale-inst.cc: Add explicit has_facet instantiations.
4066 * include/bits/basic_ios.h (basic_ios::_M_get_fctype_ios): Remove.
4067 (_M_get_fnumput): Remove.
4068 (_M_get_fnumget): Remove.
4069 (basic_ios::_M_check_facet): New function.
4070 (basic_ios::_M_cache_facets): New function.
4071 * include/bits/basic_ios.tcc: Definition for _M_cache_facets.
4072 (basic_ios::imbue): Call _M_cache_facets.
4073 (basic_ios::init): Same.
4074 * include/bits/istream.tcc: Format, use _M_check_facet.
4075 * include/bits/ostream.tcc: Same.
4076 * include/bits/locale_facets.tcc (__output_float): Change
4077 signature, add _Traits.
4078 * testsuite/26_numerics/complex_inserters_extractors.cc (test02):
4081 2001-05-30 Loren J. Rittle <ljrittle@acm.org>
4083 * include/bits/c++config (__USE_MALLOC): Do not define it.
4084 Document why not and give pointers to more information.
4086 * docs/html/23_containers/howto.html: Update documentation
4087 to reflect recent understanding of problem.
4088 * docs/html/17_intro/howto.html: Likewise.
4090 2001-05-30 Phil Edwards <pme@sources.redhat.com>
4092 * docs/doxygen/user.cfg.in: Minor addition.
4093 * docs/html/documentation.html: Reorganize. Put most-looked-at
4095 * docs/html/install.html: Update for 3.0. HTML fixups.
4096 * docs/html/17_intro/howto.html: Likewise.
4097 * docs/html/18_support/howto.html: Likewise.
4098 * docs/html/19_diagnostics/howto.html: Likewise.
4099 * docs/html/20_util/howto.html: Likewise.
4100 * docs/html/23_containers/howto.html: Likewise.
4101 * docs/html/24_iterators/howto.html: Likewise. More notes.
4102 * docs/html/25_algorithms/howto.html: Likewise.
4103 * docs/html/26_numerics/howto.html: Likewise. More notes.
4104 * docs/html/27_io/howto.html: Likewise.
4105 * docs/html/ext/howto.html: Likewise.
4106 * docs/html/faq/index.html: Likewise.
4107 * docs/html/faq/index.txt: Regenerate.
4108 * docs/html/27_io/iostreams_hierarchy.pdf: Remove in favor of
4109 Doxygen-created documentation.
4111 2001-05-30 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
4113 * testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3-init): Use
4114 get_multilibs to find gcc.
4116 2001-05-30 Phil Edwards <pme@sources.redhat.com>
4118 * acinclude.m4 (GLIBCPP_ENABLE_C99): Reorder output messages.
4119 * aclocal.m4: Regenerate.
4120 * configure: Regenerate.
4122 2001-05-29 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
4124 * include/c_std/bits/std_cstdlib.h:: Move C99 thingies to __gnu_cxx::.
4125 * include/c_std/bits/std_cwchar.h (__gnu_cxx): Likewise.
4127 2001-05-27 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
4129 * include/c_std/bits/std_cmath.h: Move C99 functions in __gnu_cxx::.
4130 * include/c_std/bits/std_cstdlib.h: Same.
4131 * include/c_std/bits/std_cwchar.h: Same.
4133 2001-05-30 Loren J. Rittle <ljrittle@acm.org>
4135 * docs/html/17_intro/howto.html: Update link.
4136 * docs/html/23_containers/howto.html: Likewise. Add new link.
4138 2001-05-26 Gabriel Dos Reis <gdr@codesourcery.com>
4140 * include/c_std/bits/std_cmath.h (sqrt): #undef.
4142 2001-05-23 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
4144 * mknumeric_limits: Stop if gen-num-limits dies.
4146 2001-05-25 Benjamin Kosnik <bkoz@redhat.com>
4149 * acinclude.m4 (GLIBCPP_ENABLE_C99): Use AC_TRY_COMPILE.
4150 * aclocal.m4: Regenerate.
4153 2001-05-24 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
4154 Phil Edwards <pme@sources.redhat.com>
4155 Alexandre Oliva <aoliva@redhat.com>
4157 * acinclude.m4 (GLIBCPP_EXPORT_INSTALL_INFO): Set glibcpp_srcdir
4158 in an amd-safe manner. Revert glibcpp_prefixdir.
4160 2001-05-25 Gabriel Dos Reis <gdr@codesourcery.com>
4162 * include/c_std/bits/std_cmath.h: Tweak. #define away abs, cos,
4163 fabs, sin, sqrt. They are now implemented in terms of __builtin_
4166 2001-05-24 Benjamin Kosnik <bkoz@redhat.com>
4169 * testsuite/21_strings/inserters_extractors.cc (test09): New test.
4170 * include/bits/ostream.tcc: Format to match istream.tcc.
4171 (operator<<(basic_ostream __out, const basic_string __s)): Fix.
4173 2001-05-24 Phil Edwards <pme@sources.redhat.com>
4175 * libsupc++/eh_alloc.cc (__cxa_allocate_exception): Qualify
4177 (__cxa_free_exception): Likewise with free.
4179 2001-05-24 Mark Mitchell <mark@codesourcery.com>
4181 * include/c_std/bin/std_cstring.h: #define away all global
4182 functions we will redeclare in namespace `std'.
4183 * libsupc++/eh_alloc.cc (__cxa_allocate_exception): Use
4184 std::memset, instead of memset.
4185 * testsuite/19_diagnostics/stdexceptions.cc: Use `std::strcmp',
4187 * testsuite/21_strings/c_strings.cc: Use `std::strcpy' instead of
4190 2001-05-24 Benjamin Kosnik <bkoz@redhat.com>
4193 * include/bits/basic_ios.tcc: Small tweak.
4194 * include/bits/std_fstream.h (ifstream): Add buffer member. Adjust
4195 ctors and dtors, and rdbuf settings.
4198 * include/bits/std_sstream.h: Same, but for stringstream classes.
4199 * testsuite/27_io/ostringstream_members.cc: New.
4200 * testsuite/27_io/stringstream_members.cc: New.
4201 * testsuite/27_io/fstream_members.cc: New.
4202 * testsuite/27_io/ifstream_members.cc: Add test.
4203 * testsuite/27_io/istringstream_members.cc: Add test.
4204 * testsuite/27_io/ofstream_members.cc: Add test.
4206 2001-05-24 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
4208 * include/bits/c++config(__NO_MATH_INLINES): Move to...
4209 * config/os/gnu-linux/bits/os_defines.h: ...here.
4211 2001-05-24 Gabriel Dos Reis <gdr@codesourcery.com>
4213 * include/bits/c++config (__NO_MATH_INLINES): New macro.
4214 * testsuite/26_numerics/fabs_inline.cc (main): New test.
4216 2001-05-22 Benjamin Kosnik <bkoz@redhat.com>
4219 * testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3-init): Set
4221 (libstdc++-v3_set_ld_library_path): New, copied from g++.exp.
4222 (libstdc++-v3-finish): Remove.
4223 (libstdc++-v3_exit): Remove.
4225 2001-05-22 Phil Edwards <pme@sources.redhat.com>
4227 * docs/html/documentation.html: Point to doxygen output.
4229 2001-05-21 Benjamin Kosnik <bkoz@redhat.com>
4231 * mkcheck.in (static_fail): Remove S_FLAG decoration on output.
4233 * include/bits/std_sstream.h (stringbuf::setbuf): Require both
4234 arguments to be non-null.
4235 * include/bits/fstream.tcc (filebuf::_M_allocate_buffers): Only
4236 try allocations if allocated size is greater than zero.
4237 (filebuf::_M_filebuf_init): Change to
4238 (filebuf::_M_allocate_file): Which is what it does now.
4239 (filebuf::_M_allocate_bufers): Change to
4240 (filebuf::_M_allocate_internal_buffer): This, and create
4241 (filebuf::_M_allocate_pback_buffer): New.
4242 (filebuf::_M_destroy_internal_buffer): New.
4243 (filebuf::_M_buf_allocated): New data member.
4244 (filebuf::setbuf): Use new logic, allow use of external buffer.
4245 * testsuite/27_io/stringbuf_virtuals.cc: New file.
4246 * testsuite/27_io/filebuf_virtuals.cc: New file.
4248 2001-05-21 Stephen M. Webb <stephen@bregmasoft.com>
4250 * include/c_std/bits/std_cstring.h (memchr): Define "C" functions to
4252 (strchr): Same, but to __glibcpp_strchr.
4256 * include/c_std/bits/std_cwchar.h (wcschr): Same.
4262 2001-05-21 Benjamin Kosnik <bkoz@redhat.com>
4264 * testsuite/21_strings/c_strings.cc (main): Fix.
4266 2001-05-19 Phil Edwards <pme@sources.redhat.com>
4268 * acinclude.m4: Fix --help spacing, correct comments.
4269 * aclocal.m4: Regenerate.
4270 * configure: Regenerate.
4271 * mkcheck.in: Add usage comments.
4272 * docs/html/documentation.html: Point to doxygen'd tarball.
4274 2001-05-18 Benjamin Kosnik <bkoz@redhat.com>
4276 * testsuite/README: Add notes.
4278 * src/Makefile.am (libstdc++.INC): Remove.
4279 * src/Makefile.in: Regenerate.
4281 Phil Edwards <pedwards@disaster.jaj.com>
4282 * mkcheck.in: Add missing '#'.
4284 2001-05-18 Angela Marie Thomas <angela@cygnus.com>
4286 * testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3-init): Set flags
4287 appropriately for remote testing and testing installed files without
4290 2001-05-18 Benjamin Kosnik <bkoz@redhat.com>
4292 * acinclude.m4 (GLIBCPP_EXPORT_INSTALL_INFO): Set glibcpp_srcdir
4293 amd glibcpp_prefixdir with absolute paths.
4295 * include/bits/c++config (__GLIBCPP__): Bump.
4296 * acinclude.m4 (GLIBCPP_CONFIGURE): Correct version number.
4298 2001-05-18 Gabriel Dos Reis <gdr@codesourcery.com>
4300 * include/bits/std_valarray.h (valarray<>::operator[] const):
4301 Return a const reference.
4302 * testsuite/26_numerics/valarray_const_bracket.cc: New test.
4304 2001-05-18 Alexandre Oliva <aoliva@redhat.com>
4306 * configure.target (ATOMICITYH): Actually use AIX-specific code on
4307 earlier versions of AIX 4.*.
4309 2001-05-18 Angela Marie Thomas <angela@cygnus.com>
4311 * testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3-dg-test): Set
4312 output_file based on the name of the testcase.
4314 2001-05-18 Angela Marie Thomas <angela@cygnus.com>
4316 * testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3-init): Build
4317 gluefile and use it if needs_status_wrapper is set.
4319 2001-05-18 Alexandre Oliva <aoliva@redhat.com>
4321 * configure.target (ATOMICITYH): Use cpu/generic code on earlier
4324 2001-05-17 Alexandre Oliva <aoliva@redhat.com>
4326 * configure.target (ATOMICITYH): Don't use AIX 4.3-specific code
4327 on earlier versions of AIX.
4329 2001-05-15 Benjamin Kosnik <bkoz@redhat.com>
4331 * testsuite_flags.in (query): Add backwards, ext directories.
4333 2001-05-15 Mark Mitchell <mark@codesourcery.com>
4335 * porting.texi: Correct documentation about handling
4336 _LARRGEFILE_SOURCE and its ilk.
4337 * config/os/solaris/solaris2.5/bits/os_defines.h: Remove
4338 definitions of _XOPEN_SOURCE, _LARGEFILE64_SOURCE, and
4340 * config/os/solaris/solaris2.6/bits/os_defines.h: Likewise.
4341 * config/os/solaris/solaris2.7/bits/os_defines.h: Likewise.
4343 2001-05-15 Zack Weinberg <zackw@stanford.edu>
4345 * testsuite/21_strings/inserters_extractors.cc,
4346 testsuite/27_io/istream_unformatted.cc,
4347 testsuite/27_io/stringstream.cc:
4348 Replace multi-line string constants with C89-style
4349 concatenated string constants.
4351 2001-05-14 Richard Henderson <rth@redhat.com>
4353 * mknumeric_limits: Build with -fno-exceptions.
4355 2001-05-13 Benjamin Kosnik <bkoz@redhat.com>
4357 Switch over to new harness.
4358 * testsuite_flags.in: Tweaks via Gaby.
4359 * testsuite/Makefile.am: Change tool to libstdc++-v3.
4360 (EXPECT): Quote directly.
4362 * configure.in: Output testsuite_flags.
4363 * acinclude.m4: Substitute src, bld, and prefix dirs.
4364 Remove glibcpp_expect, glibcpp_runtestflags.
4365 * Makefile.am (RUNTESTFLAGS): Pass this down to subdirs.
4366 * mkcheck.in: Port to new interface.
4368 * aclocal.m4: Regerate.
4369 * configure: Regnerate.
4370 * Makefile.in: Regnerate.
4371 * */Makefile.in: Regenerate.
4373 * tests_flags.in: Remove.
4374 * testsuite/lib/libstdc++.exp: Remove.
4375 * testsuite/libstdc++.tests/tests.exp: Remove.
4377 2001-05-13 Alexandre Oliva <aoliva@redhat.com>
4379 * configure.target: Remove detection of AIX pthread multilib, now
4380 obtained from `gcc -v'.
4382 2001-05-13 John David Anglin <dave@hiauly1.hia.nrc.ca>
4384 * mkcheck.in (setup_size_command): Use Berkeley "-B" mode with GNU
4385 size. Add hpux case for HP size.
4387 2001-05-11 Benjamin Kosnik <bkoz@redhat.com>
4389 * testsuite_flags.in: New, simplified interface.
4390 * testsuite/lib/libstdc++-v3-dg.exp: New test harness.
4391 * testsuite/libstdc++-v3.dg: Add.
4392 * testsuite/libstdc++-v3.dg/dg.exp: Add.
4394 2001-05-11 Benjamin Kosnik <bkoz@redhat.com>
4396 * testsuite/*/*.cc: Remove spaces, make sure testcases return zero.
4397 * testsuite/config/default.exp: Update bugs email address.
4399 2001-05-11 Richard Henderson <rth@redhat.com>
4401 * libsupc++/eh_personality.cc: Include unwind-pe.h. Remove
4402 all pointer encoding logic.
4403 (struct lsda_header_info): Add ttype_base.
4404 (get_ttype_entry): Use it instead of a context.
4405 (check_exception_spec): Likewise.
4406 (PERSONALITY_FUNCTION): Initialize ttype_base. Store it in
4407 the c++ exception header for __cxa_call_unexpected.
4408 (__cxa_call_unexpected): Use it.
4410 2001-05-09 Benjamin Kosnik <bkoz@redhat.com>
4412 * testsuite/lib/libstdc++.exp: Use libgloss.exp. Call
4413 libgloss_link_flags to find crt0.o for targets that use libgloss
4415 Change LDFLAGS to LIBS.
4416 Consistently name procedures libstdc++-XXX.
4417 * testsuite/libstdc++.tests/tests.exp: Use new procedure names.
4419 2001-05-08 Benjamin Kosnik <bkoz@fillmore.constant.com>
4421 * include/c_std/bits/std_cstring.h (memchr): Correct definitions.
4426 * include/c_std/bits/std_cwchar.h (wcschr): Same.
4431 * testsuite/21_strings/c_strings.cc: Add tests.
4433 2001-05-07 Benjamin Kosnik <bkoz@redhat.com>
4436 * include/bits/std_fstream.h (basic_filebuf): Change signature.
4437 * include/bits/fstream.tcc (basic_filebuf): Change bool argument
4438 to int_type, pass in buffer size info.
4439 * include/bits/std_streambuf.h (_M_is_indeterminate): Check for
4440 unbuffered situation.
4441 (underflow): Remove codecvt bits for the time being.
4442 * include/bits/istream.tcc (istream::sentry): Avoid sputbackc call.
4443 * include/bits/locale_facets.tcc (_M_extract): Cache dereference
4444 values from iterators, clean.
4445 * src/locale.cc: Ditto.
4446 * include/bits/sbuf_iter.h: Format.
4447 * src/ios.cc: Explicitly pass in buffer sizes at creation time.
4448 * testsuite/27_io/narrow_stream_objects.cc: Add tests.
4449 * testsuite/27_io/filebuf.cc: Tweaks.
4450 * testsuite/27_io/filebuf_members.cc: Tweaks.
4452 2001-05-07 Mark Mitchell <mark@codesourcery.com>
4454 * config/os/solaris/solaris2.7/bits/os_defines.h
4455 (_LARGEFILE_SOURCE): Define it.
4457 2001-05-03 Alexandre Oliva <aoliva@redhat.com>
4459 * configure.in (LIBSUPCXX_PICFLAGS): Set it to -prefer-pic or
4460 -prefer-non-pic depending on whether libtool has shared libraries
4461 enabled or disabled.
4462 * libsupc++/Makefile.am (LIBSUPCXX_CXXFLAGS): Set to
4463 $(LIBSUPCXX_PICFLAGS).
4464 * configure, */Makefile.in: Rebuilt.
4466 2001-05-01 Benjamin Kosnik <bkoz@redhat.com>
4468 * include/bits/sbuf_iter.h (istreambuf_iterator): Correct.
4469 * testsuite/24_iterators/istreambuf_iterator.cc (test02): Add test.
4471 * include/bits/std_sstream.h (stringbuf): Leak
4473 * testsuite/24_iterators/ostreambuf_iterator.cc: Correct.
4475 2001-05-01 Tom Browder <tbrowder@home.com>
4477 * docs/html/ext/howto.html: Fix typo.
4479 2001-05-01 Gabriel Dos Reis <gdr@codesourcery.com>
4481 * testsuite/libstdc++.tests/tests.exp: Add comment.
4483 2001-05-01 Gabriel Dos Reis <gdr@codesourcery.com>
4485 * testsuite/libstdc++.tests/tests.exp: Set ulimits.
4487 2001-04-30 Mark Mitchell <mark@codesourcery.com>
4489 * porting.texi: Use the GFDL.
4491 2001-04-30 Benjamin Kosnik <bkoz@redhat.com>
4494 * testsuite/24_iterators/ostreambuf_iterator.cc: New file.
4495 * include/bits/sbuf_iter.h (ostreambuf_iterator): Remove bogus
4498 2001-04-30 Benjamin Kosnik <bkoz@redhat.com>
4501 * include/bits/stl_iterator_base_funcs.h (__advance): Fix.
4503 2001-04-28 Phil Edwards <pme@sources.redhat.com>
4505 * docs/doxygen/run_doxygen: Minor tweaks.
4506 * docs/doxygen/style.css: New file.
4507 * docs/doxygen/user.cfg.in: Update using "doxygen -u" to get the
4508 latest parameters available. Use style.css.
4510 2001-04-27 Benjamin Kosnik <bkoz@redhat.com>
4512 * docs/doxygen/mainpage.doxy: New.
4513 * docs/doxygen/user.cfg.in: Change default configuration. Single
4514 frame, other tweaks.
4516 2001-04-26 Mark Mitchell <mark@codesourcery.com>
4518 * docs/html/17_intro/BADNAMES: Remove EGCS reference.
4519 Indicate obsolete nature of thelist for G++ 3.0.
4521 2001-04-26 Alexandre Oliva <aoliva@redhat.com>
4523 * acinclude.m4 (GLIBCPP_ENABLE_THREADS): Obtain
4524 target_thread_file with `gcc -v'.
4525 * aclocal.m4, configure: Rebuilt.
4527 2001-04-25 Benjamin Kosnik <bkoz@redhat.com>
4529 * include/c_std/bits/std_cmath.h (std): Explicitly inject c99 names.
4530 * include/c_std/bits/std_cstdlib.h (std): Same, except for llabs.
4531 * include/c_std/bits/std_cwchar.h (std): Same.
4532 * acconfig.h (std): Remove c99 injection into std.
4533 * config.h.in: Regenerate.
4535 * testsuite/README: Fix typo.
4537 * include/bits/codecvt.h: Remove warnings.
4539 2001-04-24 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
4541 * include/ext/slist: Include required header files.
4543 2001-04-23 Loren J. Rittle <ljrittle@acm.org>
4545 * include/c_std/bits/std_cerrno.h (errno): Define macro from
4546 identifier declared with external linkage, if needed.
4547 * include/c_std/bits/std_csetjmp.h (setjmp): Likewise.
4548 * include/c_std/bits/std_cstdarg.h (va_end): Likewise.
4550 2001-04-23 Benjamin Kosnik <bkoz@fillmore.constant.com>
4552 * acinclude.m4 (CXX): Set to glibcpp_CXX so that in-directory
4553 re-configures find the build compiler.
4554 (GLIBCPP_ENABLE_C99): Do all fp-tests with 0.0, not 0. Fixes
4556 * aclocal.m4: Regenerate.
4557 * configure: Regenerate.
4559 2001-04-20 Benjamin Kosnik <bkoz@redhat.com>
4561 * acinclude.m4 (GLIBCPP_ENABLE_LONG_LONG): Make sure required C99
4562 support is enabled correctly before long long is activated.
4563 * aclocal.m4: Regenerate.
4564 * configure: Regenerate.
4566 * include/backward/backward_warning.h: Format correctly.
4568 * testsuite/26_numerics/c99_classification_macros_c.cc: Add.
4569 * testsuite/26_numerics/c99_classification_macros_c++.cc: Add.
4570 * testsuite/26_numerics/c99_macros.cc: Remove.
4572 2001-04-20 Phil Edwards <pme@sources.redhat.com>
4574 * include/bits/stl_bvector.h: Replace __ITERATOR_CATEGORY with
4575 __iterator_category.
4577 2001-04-19 Benjamin Kosnik <bkoz@redhat.com>
4579 * acconfig.h (_GLIBCPP_USE_C99): Add.
4580 * config.h.in: Regenerate.
4581 * acinclude.m4 (GLIBCPP_ENABLE_C99): New macro. Test for ISO/IEC
4583 * aclocal.m4: Regenerate.
4584 * configure.in (GLIBCPP_ENABLE_C99): Use it, on by default.
4585 * configure: Regenerate.
4586 * configure.in (GLIBCPP_ENABLE_LONG_LONG): Set default to yes.
4587 * configure: Regenerate.
4588 * include/c_std/bits/std_cwchar.h: Put wcstold, wcstoll, wcstoull
4590 * include/c_std/bits/std_cmath.h: Bring C99 functions into c99
4592 * include/c_std/bits/std_cstdlib.h: Same.
4593 * docs/html/configopts.html: Update.
4594 * testsuite/26_numerics/c99_macros.cc: Edit, use cmath instead of
4596 (test_c99_classify): Add.
4597 * config/os/gnu-linux/bits/os_defines.h (_GNU_SOURCE): Remove.
4598 (_ISOC99_SOURCE): Remove.
4600 * include/bits/stl_algo.h: Use _GLIBCPP_HAVE_DRAND48.
4601 * include/bits/c++config (__STL_ASSERTIONS): Simplify.
4602 * acinclude.m4 (GLIBCPP_CHECK_STDLIB_SUPPORT): Add check for drand48.
4603 * aclocal.m4: Regenerate.
4604 * configure: Regenerate.
4606 2001-04-19 Phil Edwards <pme@sources.redhat.com>
4608 * Makefile.am (doxygen): Assume script is missing execute perms.
4609 * Makefile.in: Regenerated.
4610 * docs/doxygen/user.cfg.in: Add class diagrams and source browsing.
4612 2001-04-17 Loren J. Rittle <ljrittle@acm.org>
4614 * testsuite/27_io/istream_seeks.cc: Inform DejaGnu of required files.
4616 2001-04-17 Benjamin Kosnik <bkoz@redhat.com>
4618 * testsuite/23_containers/map_operators.cc: Add dg-excess-errors.
4619 * testsuite/23_containers/set_operators.cc: Same.
4621 * include/bits/c++config: Add _GLIBCPP_CONCEPT_CHECKS. Disable by
4623 (__GLIBCPP__): Bump from value of last release.
4624 * include/bits/concept_check.h: Default to off, edit comments.
4625 * src/stl-inst.cc: Use _GLIBCPP_CONCEPT_CHECKS.
4626 * src/Makefile.am (AM_CXXFLAGS): Remove _GLIBCPP_NO_CONCEPT_CHECKS.
4627 * src/Makefile.in: Regenerate.
4629 2001-04-14 Martin Reinecke <martin@MPA-Garching.MPG.DE>
4631 * include/bits/boost_concept_check.h(_Mutable_ContainerConcept):
4632 Properly uglify member.
4634 2001-04-13 Phil Edwards <pme@sources.redhat.com>
4636 * include/bits/stl_algobase.h (equal): Use EqualOpConcept instead
4640 2001-04-13 Phil Edwards <pme@sources.redhat.com>
4642 * include/bits/boost_concept_check.h: Uglify, fork from Boost.
4643 * include/bits/concept_check.h: Uglify.
4644 * include/bits/stl_algo.h: Likewise.
4645 * include/bits/stl_algobase.h: Likewise.
4646 * include/bits/stl_deque.h: Likewise.
4647 * include/bits/stl_heap.h: Likewise.
4648 * include/bits/stl_iterator_base_funcs.h: Likewise.
4649 * include/bits/stl_list.h: Likewise.
4650 * include/bits/stl_map.h: Likewise.
4651 * include/bits/stl_multimap.h: Likewise.
4652 * include/bits/stl_multiset.h: Likewise.
4653 * include/bits/stl_numeric.h: Likewise.
4654 * include/bits/stl_queue.h: Likewise.
4655 * include/bits/stl_set.h: Likewise.
4656 * include/bits/stl_stack.h: Likewise.
4657 * include/bits/stl_vector.h: Likewise.
4658 * include/ext/hash_map: Likewise.
4659 * include/ext/hash_set: Likewise.
4660 * include/ext/slist: Likewise.
4662 2001-04-13 Gabriel Dos Reis <gdr@codesourcery.com>
4664 * testsuite/23_containers/set_operators.cc: Just try to compile.
4666 * testsuite/23_containers/map_operators.cc: Same.
4668 2001-04-12 Jason Merrill <jason_merrill@redhat.com>
4670 * testsuite/lib/libstdc++.exp (libstdc++-dg-test): Prepend "./" to
4672 (dg-test): Revert rth's change.
4674 2001-04-12 Nathan Sidwell <nathan@codesourcery.com>
4676 * libsupc++/eh_alloc.cc (__cxa_allocate_exception): Don't
4677 terminate holding the mutex. Make sure size fits in EMERGENCY_OBJ_SIZE.
4679 2001-04-12 Gabriel Dos Reis <gdr@codesourcery.com>
4681 * testsuite/README: Add DejaGnu specific documentation.
4683 2001-04-11 Benjamin Kosnik <bkoz@redhat.com>
4685 * acinclude.m4: AC_CHECK_TOOL for expect.
4686 * aclocal.m4: Regenerate.
4687 * configure: Regenerate.
4688 * testsuite/Makefile.am (RUNTEST): Use substituted.
4691 * configure.in: Remove xcompiling substitution.
4692 * tests_flags.in (CROSS_LIB_PATH): Remove.
4693 (xcompiling): Remove.
4694 (CXX): Use substituted CXX.
4696 2001-04-11 Richard Henderson <rth@redhat.com>
4698 * testsuite/lib/libstdc++.exp: Specify path for output_file.
4700 2001-04-08 Gabriel Dos Reis <gdr@codesourcery.com>
4702 * include/bits/std_valarray.h(valarray<>::operator[]): Make
4705 2001-04-06 Gabriel Dos Reis <gdr@codesourcery.com>
4707 * testsuite/25_algorithms/equal.cc: New test.
4709 2001-04-06 Joe Buck <jbuck@welsh-buck.org>
4711 * stl_algobase.h (std::equal): avoid use of possibly-undefined
4712 operator != (one line patch).
4714 2001-04-06 Benjamin Kosnik <bkoz@redhat.com>
4716 * include/backward/backward_warning.h: Re-enable.
4718 2001-04-06 Benjamin Kosnik <bkoz@redhat.com>
4719 Alexandre Oliva <aoliva@redhat.com>
4721 * tests_flags.in (CROSS_LIB_PATH): Add as -B flag.
4723 2001-04-06 Gabriel Dos Reis <gdr@codesourcery.com>
4725 * include/c_std/bits/std_cmath.h: Get rid of C99 math macros.
4726 * testsuite/26_numerics/c99_macros.cc: Add test.
4728 2001-04-06 Phil Edwards <pme@sources.redhat.com>
4730 * docs/html/faq/index.html: Update for 2.92, grab from RELEASE-NOTES.
4731 * docs/html/faq/index.txt: Regenerated.
4733 2001-04-06 Benjamin Kosnik <bkoz@redhat.com>
4735 * include/backward/backward_warning.h: Temporarily disable until
4736 g++ testsuite changes go in.
4737 * tests_flags.in (CROSS_LIB_PATH): Add.
4739 2001-04-05 Benjamin Kosnik <bkoz@redhat.com>
4741 Warn when using backward headers.
4742 * include/backward/algo.h: Include warning file.
4743 * include/backward/vector.h: Same.
4744 * include/backward/tree.h: Same.
4745 * include/backward/tempbuf.h: Same.
4746 * include/backward/strstream: Same.
4747 * include/backward/streambuf.h: Same.
4748 * include/backward/stream.h: Same.
4749 * include/backward/stack.h: Same.
4750 * include/backward/slist.h: Same.
4751 * include/backward/set.h: Same.
4752 * include/backward/rope.h:
4753 * include/backward/queue.h: Same.
4754 * include/backward/pair.h: Same.
4755 * include/backward/ostream.h: Same.
4756 * include/backward/new.h: Same.
4757 * include/backward/multiset.h: Same.
4758 * include/backward/multimap.h: Same.
4759 * include/backward/map.h: Same.
4760 * include/backward/list.h: Same.
4761 * include/backward/iterator.h: Same.
4762 * include/backward/istream.h: Same.
4763 * include/backward/iostream.h:
4764 * include/backward/iomanip.h:
4765 * include/backward/heap.h: Same.
4766 * include/backward/hashtable.h:
4767 * include/backward/hash_set.h:
4768 * include/backward/hash_map.h:
4769 * include/backward/function.h:
4770 * include/backward/fstream.h:
4771 * include/backward/deque.h:
4772 * include/backward/defalloc.h: Same.
4773 * include/backward/complex.h: Same.
4774 * include/backward/bvector.h:
4775 * include/backward/alloc.h:
4776 * include/backward/algobase.h: Same.
4778 * include/backward/backward_warning.h: New file.
4779 * src/Makefile.am (backward_headers): Add backward_warning.h
4780 * src/Makefile.in: Regenerate.
4782 2001-04-05 Benjamin Kosnik <bkoz@redhat.com>
4784 * src/Makefile.am (myinstalldirs): Make sure backward directory is
4786 (myinstallheaders): Install backward headers in backward directory.
4787 * src/Makefile.in: Regenerate.
4789 2001-04-05 Benjamin Kosnik <bkoz@redhat.com>
4791 Prepare for libstdc++-2.92.
4792 * docs/html/17_intro/RELEASE-NOTES (New): Update.
4793 * docs/html/configopts.html: Fix formatting.
4794 * README (file): Updates.
4795 * include/bits/c++config (__GLIBCPP__): Update.
4797 2001-04-05 Phil Edwards <pme@sources.redhat.com>
4799 * docs/doxygen/run_doxygen: Check for the existence of Doxygen.
4801 2001-04-04 Phil Edwards <pme@sources.redhat.com>
4803 * docs/doxygen/user.cfg.in: Extract all non-private members;
4804 reduce confusing documentation output.
4806 2001-04-04 Geoffrey Keating <geoffk@redhat.com>
4808 * include/backward/fstream.h: Add missing semicolons.
4810 2001-04-03 Benjamin Kosnik <bkoz@redhat.com>
4812 * include/bits/fstream.tcc: Add bool parameter to filebuf ctor.
4813 * include/bits/ios_base.h(ios_base::Init): Remove _M_cout, _M_cin,
4814 _M_cerr, _M_wcout, _M_wcin, _M_wcerr.
4815 (ios_base::Init::_S_ios_create): New.
4816 (ios_base::Init::_S_ios_destroy): New.
4817 * include/bits/std_fstream.h: Change ctor args.
4818 * src/ios.cc (ios_base::Init::Init): Use _S_ios_create.
4819 (ios_base::Init::~Init): Use _S_ios_destroy.
4820 (ios_base::sync_with_stdio): Use new members.
4821 * testsuite/27_io/filebuf_members.cc: Fix calling conventions for
4824 2001-04-03 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
4826 * include/backward/fstream.h: Expose streampos to global
4829 2001-04-03 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
4831 * include/bits/stl_iterator_base_types.h: Fix typo
4833 2001-04-03 Andreas Schwab <schwab@suse.de>
4835 * include/backward/fstream.h: Define filebuf and wfilebuf.
4837 2001-04-02 Phil Edwards <pme@sources.redhat.com>
4839 New concept checking implementation.
4840 * docs/html/19_diagnostics/howto.html: Document.
4841 * docs/html/17_intro/concept_check.diff: New file, for reference.
4842 * include/bits/boost_concept_check.h: New file from Boost.
4843 * include/bits/c++config: Update comments.
4845 * include/bits/concept_check.h: New file.
4846 * include/bits/concept_checks.h: Removed.
4847 * include/bits/container_concepts.h: Removed.
4848 * include/bits/sequence_concepts.h: Removed.
4849 * include/bits/stl_iterator_base.h: Removed; split into...
4850 * include/bits/stl_iterator_base_funcs.h: ...this new file...
4851 * include/bits/stl_iterator_base_types.h: ...and this new file.
4853 * include/bits/sbuf_iter.h: Update to use new implementation.
4854 * include/bits/std_iterator.h: Likewise.
4855 * include/bits/std_memory.h: Likewise.
4856 * include/bits/stl_algo.h: Likewise.
4857 * include/bits/stl_algobase.h: Likewise.
4858 * include/bits/stl_construct.h: Likewise.
4859 * include/bits/stl_deque.h: Likewise.
4860 * include/bits/stl_heap.h: Likewise.
4861 * include/bits/stl_list.h: Likewise.
4862 * include/bits/stl_map.h: Likewise.
4863 * include/bits/stl_multimap.h: Likewise.
4864 * include/bits/stl_multiset.h: Likewise.
4865 * include/bits/stl_numeric.h: Likewise.
4866 * include/bits/stl_queue.h: Likewise.
4867 * include/bits/stl_set.h: Likewise.
4868 * include/bits/stl_stack.h: Likewise.
4869 * include/bits/stl_uninitialized.h: Likewise.
4870 * include/bits/stl_vector.h: Likewise.
4871 * include/ext/hash_map: Likewise.
4872 * include/ext/hash_set: Likewise.
4873 * include/ext/slist: Likewise.
4874 * include/ext/stl_hashtable.h: Likewise.
4876 * src/Makefile.am (base_headers): Update list of headers.
4877 * Makefile.in: Regenerated.
4878 * src/Makefile.in: Regenerated.
4879 * libio/Makefile.in: Regenerated.
4880 * libmath/Makefile.in: Regenerated.
4881 * libsupc++/Makefile.in: Regenerated.
4882 * testsuite/Makefile.in: Regenerated.
4884 * docs/html/install.html: Update contact information.
4885 * docs/html/17_intro/howto.html: Ditto.
4886 * docs/html/18_support/howto.html: Ditto.
4887 * docs/html/20_util/howto.html: Ditto.
4888 * docs/html/21_strings/howto.html: Ditto.
4889 * docs/html/22_locale/howto.html: Ditto.
4890 * docs/html/23_containers/howto.html: Ditto.
4891 * docs/html/24_iterators/howto.html: Ditto.
4892 * docs/html/25_algorithms/howto.html: Ditto.
4893 * docs/html/26_numerics/howto.html: Ditto.
4894 * docs/html/27_io/howto.html: Ditto.
4895 * docs/html/faq/index.html: Ditto, plus info on new checking code.
4896 * docs/html/ext/howto.html: Ditto, plus info on new checking code.
4897 * docs/html/faq/index.txt: Regenerated.
4899 2001-04-02 Zack Weinberg <zackw@stanford.edu>
4901 * testsuite/lib/libstdc++.exp (dg-test): Annotate result
4902 messages with $which_library as well as $tool_flags and
4903 ${dg-extra-tool-flags}. Factor out annotation text into
4906 2001-04-02 Stephen M. Webb <stephen@bregmasoft.com>
4908 * include/c_std/bits/std_cstring.h: Fix for const-correctness.
4909 * include/c_std/bits/std_cwchar.h: Same.
4910 * testsuite/21_strings/c_strings.cc: Add.
4912 2001-04-01 Benjamin Kosnik <bkoz@codesourcery.com>
4914 * docs/html/configopts.html: Add --enable-sjlj-exceptions docs.
4916 2001-04-01 Zack Weinberg <zackw@stanford.edu>
4918 * tests_flags.in: Use test a = b, not test a == b which is not
4921 2001-03-31 Benjamin Kosnik <bkoz@redhat.com>
4923 * configure.target: Remove duplicate aix entry.
4925 2001-03-30 Benjamin Kosnik <bkoz@redhat.com>
4927 * include/ext/stl_bvector.h: Move to...
4928 * include/bits/stl_vector.h: ...here.
4929 * include/ext/bvector: Move to...
4930 * include/backward/bvector.h: ...here.
4931 * include/bits/std_vector.h: Change stl_bvector include.
4932 * include/bits/std_queue.h: Remove bvector include.
4933 * include/ext/tree: Insert using rb_tree, move to...
4934 * include/backward/tree.h: ...here.
4935 * include/backward/hash_map.h: Include ext/hash_map.
4936 * include/backward/hash_set.h: Include ext/hash_set.
4937 * include/backward/queue.h: New file.
4938 * include/backward/stack.h: Edit.
4939 * include/backward/algo.h: Same.
4940 * include/backward/algobase.h: Same.
4941 * include/backward/alloc.h: Same.
4942 * include/backward/function.h: Same.
4943 * include/backward/iomanip.h: Same.
4944 * include/backward/istream.h: Same.
4945 * include/backward/iterator.h: Same.
4946 * include/backward/list.h: Same.
4947 * include/backward/map.h: Same.
4948 * include/backward/multimap.h: Same.
4949 * include/backward/multiset.h: Same.
4950 * include/backward/ostream.h: Same.
4951 * include/backward/pair.h: Same
4952 * include/backward/rope.h: Same.
4953 * include/backward/set.h: Same.
4954 * include/backward/stream.h: Same.
4955 * include/backward/strstream.h: Same.
4956 * include/backward/tempbuf.h: Same.
4957 * src/Makefile.am (ext_headers): Edit.
4958 * src/Makefile.in: Regenerate.
4959 * testsuite/ext/headers.cc (main): Fix.
4962 2001-03-30 Phil Edwards <pme@sources.redhat.com>
4964 * tests_flags.in (LIBS): Pass correct path for installed testing.
4966 2001-03-28 Benjamin Kosnik <bkoz@redhat.com>
4968 * mkcheck.in (LIBTOOL): Don't construct -B argument here...
4969 * tests_flags.in (CXX): Construct here.
4970 (static_fail): Don't remove compile.out. Format with spaces.
4971 (INCLUDES): Deal with xcompiling.
4972 * configure.in (xcompiling): Substitute.
4973 * testsuite/Makefile.am: Snake libjava configury.
4974 * testsuite/Makefile.in: Regenerate.
4975 * testsuite/23_containers/map_operators.cc: Tweaks.
4976 * testsuite/23_containers/set_operators.cc: Tweaks.
4978 2001-03-28 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
4980 Enable dejagnu testing framework.
4981 * configure.in: Generate testsuite/Makefile.
4982 * configure: Regenerate.
4983 * Makefile.am (check-install): Change rule from this...
4984 (check-script-install): ...to this.
4985 (check): Change rule from this...
4986 (check-script):...to this.
4987 * Makefile.in: Regenerate.
4989 2001-03-28 Alexandre Oliva <aoliva@redhat.com>
4991 * libsupc++/Makefile.am (CXXLINK): Add --tag disable-shared after
4993 (LIBTOOL): Let automake take care of its definition.
4994 * libsupc++/Makefile.in: Rebuilt.
4996 2001-03-28 Richard Henderson <rth@redhat.com>
4998 IA-64 ABI Exception Handling:
4999 * acinclude.m4 (GLIBCPP_ENABLE_SJLJ_EXCEPTIONS): New.
5000 * configure.in: Use it.
5001 * Makefile.in, aclocal.m4, config.h.in, configure: Regenerate.
5002 * libsupc++/Makefile.am (sources): Update files list.
5003 * libsupc++/Makefile.in: Regenerate.
5004 * libsupc++/eh_alloc.cc, libsupc++/eh_aux_runtime.cc: New files.
5005 * libsupc++/eh_catch.cc, libsupc++/eh_exception.cc: New files.
5006 * libsupc++/eh_globals.cc, libsupc++/eh_personality.cc: New files.
5007 * libsupc++/eh_terminate.cc, libsupc++/eh_throw.cc: New files.
5008 * libsupc++/exception_support.cc: Remove.
5009 * libsupc++/exception_support.h: Remove.
5010 * libsupc++/pure.cc: Use std::terminate.
5011 * libsupc++/tinfo2.cc (__throw_type_match_rtti_2): Remove.
5012 (__is_pointer): Remove.
5013 * libsupc++/unwind-cxx.h: New file.
5014 * libsupc++/vec.cc (uncatch_exception): Update for new abi.
5016 2001-03-27 Alexandre Oliva <aoliva@redhat.com>
5018 * libsupc++/Makefile.am (CXXLINK): Use CXX again, and choose
5020 * src/Makefile.am (CXXLINK): Likewise.
5021 * libsupc++/Makefile.in, src/Makefile.in: Rebuilt.
5023 2001-03-27 Benjamin Kosnik <bkoz@redhat.com>
5025 * include/bits/c++config (_STL_USE_CONCEPT_CHECKS): Disable by default.
5027 2001-03-26 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
5029 * libstdc++-v3/tests_flags.in: Change the order of libstdc++
5032 2001-03-26 Benjamin Kosnik <bkoz@redhat.com>
5034 * include/bits/basic_file.h (get_fileno): Remove.
5035 (_M_fileno): Remove.
5036 (_M_cfile_created): Add.
5037 (basic_file::basic_file(__c_file_type*, openmode): Add.
5038 (basic_file::basic_file(int, const char*, openmode): Remove.
5039 * include/bits/fstream.tcc (basic_fstream::basic_filebuf(int __fd,
5040 const char*, ios_base::openmode): Don't allocate
5041 internal buffers. Turn off internal buffers.
5042 (basic_filebuf::overflow): Remove test for null buffer.
5043 (basic_filebuf::_M_really_overflow): Same. Allow unbuffered use.
5044 * include/bits/streambuf.cc: Tweak.
5045 * include/bits/std_ostream.h: Tweak.
5046 * config/basic_file_libio.h: Same.
5047 * config/basic_file_stdio.h: Same.
5048 * src/ios.cc (ios_base::Init::Init()): Unbuffer stdout by default.
5049 * testsuite/27_io/filebuf_members.cc: Tweaks.
5050 * testsuite/27_io/ios_base_members_static.cc: Tweaks.
5052 2001-03-24 Phil Edwards <pme@sources.redhat.com>
5054 * Makefile.am: New targets, doxygen and doxygen-maint.
5055 * Makefile.in: Regenerated.
5056 * docs/doxygen/run_doxygen: Finally implemented.
5057 * docs/doxygen/maint.cfg.in: New file.
5058 * docs/doxygen/user.cfg.in: New file.
5060 2001-03-24 Phil Edwards <pme@sources.redhat.com>
5062 * acinclude.m4 (GLIBCPP_CHECK_COMPILER_FEATURES): Update comment.
5063 * src/Makefile.am: Replace leading spaces with tabs on continuation
5065 * aclocal.m4: Regenerated.
5067 * Makefile.in: Ditto.
5068 * src/Makefile.in: Ditto.
5069 * libio/Makefile.in: Ditto.
5070 * libmath/Makefile.in: Ditto.
5071 * libsupc++/Makefile.in: Ditto.
5073 2001-03-24 Phil Edwards <pme@sources.redhat.com>
5075 * docs/html/19_diagnostics/howto.html: HTML fixup. Describe
5076 concept-checking code and current status of same.
5077 * docs/html/ext/howto.html: Ditto.
5078 * docs/html/faq/index.html: Ditto.
5079 * docs/html/faq/index.txt: Regenerated.
5081 2001-03-24 Phil Edwards <pme@sources.redhat.com>
5083 * include/bits/std_bitset.h: Include ostream and istream headers
5084 instead of iostream.
5086 2001-03-22 Greg Bumgardner <bumgard@roguewave.com>
5088 * include/bits/ostream.tcc: Use __builtin_alloca.
5090 2001-03-22 Benjamin Kosnik <bkoz@redhat.com>
5092 * src/misc-inst.cc (__sink_unused_warning): Move to...
5093 * src/locale-inst.cc (__sink_unused_warning): Move to...
5094 * src/stl-inst.cc: Here.
5095 * include/bits/c++config (_STL_NO_CONCEPT_CHECKS): Add define,
5098 2001-03-21 Theodore Papadopoulo <Theodore.Papadopoulo@sophia.inria.fr>
5100 * intclude/bits/basic_file.h: Fix typos in comments.
5102 2001-03-20 Richard Henderson <rth@redhat.com>
5104 * src/gen-num-limits.cc: Instantiate for wchar_t.
5105 * config/os/aix/bits/ctype_base.h (mask): Use unsigned int.
5107 2001-03-20 Jason Merrill <jason@redhat.com>
5109 * libsupc++/vec.cc (__cxa_vec_cleanup): New fn.
5110 (__cxa_vec_ctor, __cxa_vec_cctor, __cxa_vec_dtor): Call it.
5111 * libsupc++/cxxabi.h: Declare it.
5113 2001-03-16 Alexandre Oliva <aoliva@redhat.com>
5115 * src/gen-num-limits.cc (signal_adapter): Overloaded to match
5116 signal_func with an unspecified argument list.
5118 2001-03-15 Benjamin Kosnik <bkoz@redhat.com>
5120 * tests_flags.in (CXXFLAGS): Link libstdc++ before libsupc++.
5122 2001-03-15 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
5124 * include/bits/basic_string.tcc (operator+): Fix thinko.
5126 2001-03-14 Benjamin Kosnik <bkoz@redhat.com>
5129 * include/bits/std_streambuf.h: Remove cached locale facets.
5130 (basic_streambuf::_M_buf_fctype): Remove.
5131 (basic_streambuf::~basic_streambuf): Remove here.
5132 (basic_streambuf::basic_streambuf): Same.
5133 (basic_streambuf::imbue): Same.
5134 * include/bits/fstream.tcc (filebuf::imbue): Remove _M_buf_fctype.
5135 * include/bits/std_fstream.h (basic_filebuf::_M_fcvt): Remove.
5136 (basic_filebuf::~basic_filebuf()): Remove here.
5137 * include/bits/fstream.tcc (basic_filebuf::basic_filebuf): Same.
5138 (basic_filebuf::imbue): Same.
5139 * include/bits/localefwd.h (_Count_ones): Remove.
5140 (locale::_S_num_categories): Just use 6, since this doesn't
5141 actually change, ever.
5142 * include/bits/locale_facets.tcc (has_facet): Simplify.
5144 * testsuite/27_io/filebuf.cc (test06): Add tests.
5146 2001-03-13 Steve Ellcey <sje@cup.hp.com>
5148 * libstdc++-v3/config/os/hpux/bits/ctype_base.h: Make ctype masks
5149 match HP-UX ctype.h header file.
5151 2001-03-13 Andris Pavenis <pavenis@latnet.lv>
5153 * config/djgpp/bits/ctype_noninline.h: Fix typo and remove
5154 duplicate definitions of __dj_ctype_*
5156 2001-03-13 Benjamin Kosnik <bkoz@redhat.com>
5158 * libsupc++/new: Remove pragma interface.
5159 * libsupc++/typeinfo: Same.
5160 * libsupc++/exception: Same.
5161 * libsupc++/new_handler.cc: Remove pragma implementation.
5162 (bad_alloc::~bad_alloc()): Add.
5163 * libsupc++/exception_support.cc: Same.
5164 (exception::~exception): Add.
5165 (bad_exception::~bad_exception): Add.
5166 * libsupc++/tinfo.cc: Same.
5167 (bad_cast::~bad_cast): Add.
5168 (bad_typeid::~bad_typeid): Add.
5170 2001-03-13 Phil Edwards <pme@sources.redhat.com>
5172 * mkcheck.in: Fix IFS regression for non-bash-2.01 hosts.
5174 2001-03-12 Felix Lee <flee@redhat.com>
5176 * mkcheck.in: workaround for bash 2.01 IFS bug.
5178 2001-03-12 Benjamin Kosnik <bkoz@redhat.com>
5180 Fixups for -fno-for-scope
5181 * include/bits/locale_facets.tcc (__match_parallel): Fixup.
5182 * src/valarray-inst.cc (__gslice_to_index): Same.
5184 2001-03-12 Rodney Brown <RodneyBrown@mynd.com>
5186 * src/gen-num-limits.cc (traps) [SPECIALIZE_TRAPPING]: Add fflush
5187 prior to trapping signal (UnixWare 7 workaround).
5189 2001-03-12 Craig Rodrigues <rodrigc@mediaone.net>
5191 * include/backward/hashtable.h: Same.
5192 * include/backward/rope.h: Fix include.
5194 2001-03-12 Benjamin Kosnik <bkoz@redhat.com>
5196 * include/backward/vector.h: Include std_vector.h.
5198 * include/bits/istream.tcc (basic_istream<_CharT, _Traits>&
5199 operator>>(basic_istream<_CharT, _Traits>& __in, _CharT* __s)):
5202 2001-03-11 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
5204 * include/ext/stl_hashtable.h: Change type of __n to size_t
5205 * include/backward/bvector.h: Include <ext/stl_bvector.h>
5207 2001-03-09 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
5209 * include/bits/istream.tcc ( basic_istream<_CharT, _Traits>&
5210 operator>>(basic_istream<_CharT, _Traits>& __in, _CharT* __s)):
5211 Use streamsize, not int_type.
5213 2001-03-08 Benjamin Kosnik <bkoz@redhat.com>
5215 * testsuite/27_io/streambuf.cc (test06): New test, disabled at the
5218 2001-03-08 Andreas Schwab <schwab@suse.de>
5220 * acinclude.m4 (GLIBCPP_EXPORT_INSTALL_INFO): Fix syntax in test
5222 * aclocal.m4, configure: Regenerated.
5224 2001-03-07 Benjamin Kosnik <bkoz@redhat.com>
5226 * include/bits/std_iosfwd.h: Remove string forward decls here.
5227 * include/bits/stringfwd.h: Add forward decls for char_traits
5229 * config/c_io_libio.h (wstreamoff): Delete.
5230 * config/c_io_stdio.h (wstreamoff): Same.
5231 * include/bits/char_traits.h: Use streamoff not wstreamoff for
5232 char_traits<wchar_t>::off_type.
5233 Remove duplicate typedefs.
5234 * include/bits/fpos.h: Define streampos/wstreampos here.
5235 * testsuite/27_io/istream_seeks.cc (test04): Explicitly cast int
5238 Changeup output files.
5239 * testsuite/27_io/istream_unformatted.cc: Change output files.
5240 * testsuite/27_io/istream_seeks-1.txt: Add.
5241 * testsuite/27_io/istream_seeks-2.tst: Add.
5242 * testsuite/27_io/istream_seeks-1.tst: Add.
5243 * testsuite/27_io/istream_unformatted-2.tst: Delete.
5244 * testsuite/27_io/istream_unformatted-3.tst: Delete.
5245 * testsuite/27_io/istream_unformatted-3.txt: Delete.
5247 2001-03-07 Alexandre Oliva <aoliva@redhat.com>
5249 Add Irix 5.2, 6.3 support.
5250 * config/os/irix/bits: Renamed to...
5251 * config/os/irix/irix6.5/bits: this.
5252 * config/os/irix/irix5.2/bits: New, copied from irix6.5/bits.
5253 * config/os/irix/irix5.2/bits/ctype_base.h: Use _U, _L, _N,
5254 _X, _S, _P, _C and _B instead of IRIX-6.5 _IS* macros.
5255 * config/os/irix/irix5.2/bits/ctype_noninline.h
5256 (ctype<char>::ctype): Initialize _M_table with __ctype.
5257 * configure.target: Adjust.
5259 2001-03-06 Benjamin Kosnik <bkoz@redhat.com>
5262 * include/bits/istream.tcc (basic_istream<_CharT, _Traits>::
5263 operator>>(__istream_type& (*__pf)(__istream_type&)): Don't use
5265 (basic_istream<_CharT, _Traits>:: operator>>(__ios_type&
5266 (*__pf)(__ios_type&)): Same.
5267 (basic_istream<_CharT, _Traits>:: operator>>(ios_base&
5268 (*__pf)(ios_base&))): Same.
5269 * testsuite/27_io/istream_extractor_other.cc: Add tests.
5270 * testsuite/27_io/istream_manip.cc (test01): Fix.
5272 2001-03-06 Nathan Myers <ncm@cantrip.org>
5273 Benjamin Kosnik <bkoz@redhat.com>
5275 * include/c_std/bits/std_cerrno.h: Don't define errno in std::.
5276 * testsuite/17_intro/header_cerrno.cc (test01): New file.
5277 * testsuite/17_intro/header_cassert.cc (test01): New file.
5278 * testsuite/17_intro/header_cstddef.cc (test01): New file.
5279 * testsuite/17_intro/header_csetjmp.cc (test01): New file.
5280 * testsuite/17_intro/header_cstdarg.cc (test01): New file.
5282 2001-03-05 scott snyder <snyder@fnal.gov>
5285 * include/c_std/bits/std_cmath.h: Move abs(long), div(long,long)
5287 * include/c_std/bits/std_cstdlib.h: ... to here.
5288 * testsuite/17_intro/header_cstdlib.cc: Add test.
5290 2001-03-05 Stephen M. Webb <stephen.webb@cybersafe.com>
5292 * libsupc++/vec.cc (__cxxa_vec_new2): Qualify size_t.
5294 2001-03-05 Laurynas Biveinis <lauras@softhome.net>
5296 * config/os/djgpp/ctype_base.h (ctype_base): fix __to_type
5297 definition. Replace enum with static const variables.
5299 * config/os/djgpp/ctype_inline.h (ctype<char>::is): remove
5300 throw specification, fix typos, use <static_cast>.
5301 (ctype<char>::scan_is): remove throw specification.
5302 (ctype<char>::scan_not): likewise.
5304 * config/os/djgpp/ctype_noninline.h (ctype<char>::ctype): fix typo.
5305 (ctype<char>::do_toupper(char)): use <static_cast>.
5306 (ctype<char>::do_toupper(char *, const char *)): likewise.
5307 (ctype<char>::do_tolower(char)): likewise.
5308 (ctype<char>::do_tolower(char *, const char *)): likewise.
5310 2001-03-04 Phil Edwards <pme@sources.redhat.com>
5312 http://gcc.gnu.org/ml/libstdc++/2001-03/msg00015.html
5313 * include/backward/algo.h: Use std not __STD. Remove unneeded
5314 macros and "never happens" code. Adjust to C++STYLE guidelines.
5315 * include/backward/algobase.h: Likewise.
5316 * include/backward/alloc.h: Likewise.
5317 * include/backward/bvector.h: Likewise.
5318 * include/backward/deque.h: Likewise.
5319 * include/backward/function.h: Likewise.
5320 * include/backward/hash_map.h: Likewise.
5321 * include/backward/hash_set.h: Likewise.
5322 * include/backward/hashtable.h: Likewise.
5323 * include/backward/heap.h: Likewise.
5324 * include/backward/iterator.h: Likewise.
5325 * include/backward/list.h: Likewise.
5326 * include/backward/map.h: Likewise.
5327 * include/backward/multimap.h: Likewise.
5328 * include/backward/multiset.h: Likewise.
5329 * include/backward/pair.h: Likewise.
5330 * include/backward/rope.h: Likewise.
5331 * include/backward/set.h: Likewise.
5332 * include/backward/slist.h: Likewise.
5333 * include/backward/stack.h: Likewise.
5334 * include/backward/strstream: Likewise.
5335 * include/backward/tempbuf.h: Likewise.
5336 * include/backward/tree.h: Likewise.
5337 * include/backward/vector.h: Likewise.
5338 * include/bits/basic_ios.h: Likewise.
5339 * include/bits/basic_ios.tcc: Likewise.
5340 * include/bits/basic_string.h: Likewise.
5341 * include/bits/c++config: Likewise.
5342 * include/bits/concept_checks.h: Likewise.
5343 * include/bits/fpos.h: Likewise.
5344 * include/bits/fstream.tcc: Likewise.
5345 * include/bits/functexcept.h: Likewise.
5346 * include/bits/ios_base.h: Likewise.
5347 * include/bits/istream.tcc: Likewise.
5348 * include/bits/mask_array.h: Likewise.
5349 * include/bits/ostream.tcc: Likewise.
5350 * include/bits/pthread_allocimpl.h: Likewise.
5351 * include/bits/sbuf_iter.h: Likewise.
5352 * include/bits/slice.h: Likewise.
5353 * include/bits/slice_array.h: Likewise.
5354 * include/bits/sstream.tcc: Likewise.
5355 * include/bits/std_bitset.h: Likewise.
5356 * include/bits/std_fstream.h: Likewise.
5357 * include/bits/std_iomanip.h: Likewise.
5358 * include/bits/std_ios.h: Likewise.
5359 * include/bits/std_istream.h: Likewise.
5360 * include/bits/std_iterator.h: Likewise.
5361 * include/bits/std_memory.h: Likewise.
5362 * include/bits/std_ostream.h: Likewise.
5363 * include/bits/std_sstream.h: Likewise.
5364 * include/bits/std_streambuf.h: Likewise.
5365 * include/bits/std_string.h: Likewise.
5366 * include/bits/std_valarray.h: Likewise.
5367 * include/bits/stl_algo.h: Likewise.
5368 * include/bits/stl_algobase.h: Likewise.
5369 * include/bits/stl_alloc.h: Likewise.
5370 * include/bits/stl_construct.h: Likewise.
5371 * include/bits/stl_deque.h: Likewise.
5372 * include/bits/stl_function.h: Likewise.
5373 * include/bits/stl_heap.h: Likewise.
5374 * include/bits/stl_iterator.h: Likewise.
5375 * include/bits/stl_iterator_base.h: Likewise.
5376 * include/bits/stl_list.h: Likewise.
5377 * include/bits/stl_map.h: Likewise.
5378 * include/bits/stl_multimap.h: Likewise.
5379 * include/bits/stl_multiset.h: Likewise.
5380 * include/bits/stl_numeric.h: Likewise.
5381 * include/bits/stl_pair.h: Likewise.
5382 * include/bits/stl_pthread_alloc.h: Likewise.
5383 * include/bits/stl_queue.h: Likewise.
5384 * include/bits/stl_raw_storage_iter.h: Likewise.
5385 * include/bits/stl_relops.h: Likewise.
5386 * include/bits/stl_set.h: Likewise.
5387 * include/bits/stl_stack.h: Likewise.
5388 * include/bits/stl_tempbuf.h: Likewise.
5389 * include/bits/stl_threads.h: Likewise.
5390 * include/bits/stl_tree.h: Likewise.
5391 * include/bits/stl_uninitialized.h: Likewise.
5392 * include/bits/stl_vector.h: Likewise.
5393 * include/bits/streambuf.tcc: Likewise.
5394 * include/bits/type_traits.h: Likewise.
5395 * include/bits/valarray_meta.h: Likewise.
5396 * include/ext/bvector: Likewise.
5397 * include/ext/hash_map: Likewise.
5398 * include/ext/hash_set: Likewise.
5399 * include/ext/ropeimpl.h: Likewise.
5400 * include/ext/slist: Likewise.
5401 * include/ext/stl_bvector.h: Likewise.
5402 * include/ext/stl_hash_fun.h: Likewise.
5403 * include/ext/stl_hashtable.h: Likewise.
5404 * include/ext/stl_rope.h: Likewise.
5405 * src/complex_io.cc: Likewise.
5406 * src/ios.cc: Likewise.
5407 * src/locale-inst.cc: Likewise.
5408 * src/locale.cc: Likewise.
5409 * src/localename.cc: Likewise.
5410 * src/misc-inst.cc: Likewise.
5411 * src/stdexcept.cc: Likewise.
5412 * src/stl-inst.cc: Likewise.
5413 * src/strstream.cc: Likewise.
5414 * src/valarray-inst.cc: Likewise.
5416 2001-03-03 Benjamin Kosnik <bkoz@redhat.com>
5418 * src/misc-inst.cc (__copy_streambufs): Fix typo for alpha.
5420 2001-03-02 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
5422 * include/bits/istream.tcc: change type of __extracted to __size_type
5424 2001-03-02 Benjamin Kosnik <bkoz@redhat.com>
5426 * src/wstring-inst.cc: New file.
5427 * src/Makefile.am (EXTRA_LTLIBRARIES): Remove.
5428 (libinst_wstring_la_SOURCES): Remove.
5429 (libstdc___la_LIBADD): Remove libinst_wstring_la.
5430 (sources): Add wstring-inst.cc
5431 * acinclude.m4 (GLIBCPP_CHECK_WCHAR_T_SUPPORT): Remove
5434 2001-03-02 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
5436 * src/locale.cc: initialise __ret with zero
5437 * src/strstream.cc:cast gptr to int_type
5439 2001-03-01 Phil Edwards <pme@sources.redhat.com>
5441 * docs/html/faq/index.html: Update broken links.
5442 * docs/html/faq/index.txt: Regenerated.
5444 2001-02-28 Benjamin Kosnik <bkoz@redhat.com>
5447 * configure.target: Change irix* to irix6.5* in target_os table.
5449 2001-02-28 Benjamin Kosnik <bkoz@redhat.com>
5452 * include/bits/c++config (__GLIBCPP__): Bump number in
5453 anticipation of 2.92.
5455 * include/bits/codecvt.h: Fix typo.
5456 * include/bits/basic_file.h (__basic_file): Don't use _M_wfile for
5458 * acinclude.m4 (GLIBCPP_ENABLE_CSTDIO): Enable wchar_t
5459 instantiations for stdio model.
5461 2001-02-28 Phil Edwards <pme@sources.redhat.com>
5463 * acinclude.m4 (GLIBCPP_CONFIGURE): Remove GLIBCPP_CFLAGS
5464 and GLIBCPP_CXXFLAGS as unused variables.
5465 * configure.host: Likewise.
5466 * configure.target: Likewise.
5467 * aclocal.m4: Regenerated.
5468 * configure: Regenerated.
5469 * Makefile.in: Regenerated.
5470 * libio/Makefile.in: Regenerated.
5471 * libmath/Makefile.in: Regenerated.
5472 * libsupc++/Makefile.in: Regenerated.
5473 * src/Makefile.in: Regenerated.
5475 2001-02-27 Benjamin Kosnik <bkoz@redhat.com>
5478 * include/bits/basic_file.h: Include basic_file_model.h.
5479 * config/c_io_libio.cc: Move to...
5480 * config/basic_file_libio.cc: Here.
5481 * config/basic_file_libio.h: New file.
5482 * config/c_io_stdio.cc: Move to...
5483 * config/basic_file_stdio.cc: Here.
5484 * config/basic_file_stdio.h: New file.
5485 * config/c_io_libio.h: Tweak.
5486 * config/c_io_stdio.h: Tweak.
5487 * src/Makefile.am (build_headers): Add basic_file_model.h.
5488 (sources): Add basic_file.cc, remove c++io.cc.
5489 * src/Makefile.in: Regenerate.
5490 * acinclude.m4 (GLIBCPP_ENABLE_CSTDIO): Add support for
5491 basic_file_model.h and basic_file.cc.
5492 * aclocal.m4: Regenerate.
5493 * configure: Regenerate.
5494 * testsuite/27_io/filebuf.cc (test05): Add regression.
5496 2001-02-27 Benjamin Kosnik <bkoz@redhat.com>
5499 * config/cpu/alpha/bits/atomicity.h: Change.
5500 * config/cpu/arm/bits/atomicit3y.h
5501 * config/cpu/generic/bits/atomicity.h
5502 * config/cpu/i386/bits/atomicity.h
5503 * config/cpu/i486/bits/atomicity.h
5504 * config/cpu/ia64/bits/atomicity.h
5505 * config/cpu/powerpc/bits/atomicity.h
5506 * config/cpu/sparc/sparc32/bits/atomicity.h
5507 * config/cpu/sparc/sparc64/bits/atomicity.h
5508 * config/os/aix/bits/atomicity.h
5509 * config/os/irix/bits/atomicity.h
5511 2001-02-27 Benjamin Kosnik <bkoz@redhat.com>
5513 * include/bits/std_stdexcept.h (runtime_error): Make string
5515 (logic_error): Same.
5516 * testsuite/19_diagnostics/stdexceptions.cc (test04): Add test.
5519 2001-02-26 Benjamin Kosnik <bkoz@redhat.com>
5523 * include/bits/std_stdexcept.h (logic_error::logic_error): Use
5524 string object, not reference.
5525 (runtime_error::runtime_error): Same.
5526 * testsuite/19_diagnostics/stdexceptions.cc: New file.
5528 2001-02-26 Phil Edwards <pme@sources.redhat.com>
5530 * acinclude.m4 (GLIBCPP_CONFIGURE): Update required compiler version.
5531 (GLIBCPP_CHECK_COMPILER_FEATURES): Can safely assume new
5532 diagnostics. Remove WFMT_FLAGS.
5533 * configure.in: Replace WFMT_FLAGS with diagnostics options.
5534 * libsupc++/Makefile.am: Likewise.
5535 * src/Makefile.am: Likewise.
5536 * aclocal.m4: Regenerated.
5537 * configure: Regenerated.
5538 * Makefile.in: Regenerated.
5539 * libio/Makefile.in: Regenerated.
5540 * libmath/Makefile.in: Regenerated.
5541 * libsupc++/Makefile.in: Regenerated.
5542 * src/Makefile.in: Regenerated.
5544 2001-02-26 Phil Edwards <pme@sources.redhat.com>
5546 Fixes libstdc++/2079
5547 * include/backward/iomanip.h: Expose <ios> manipulators to global
5549 * include/backward/iostream.h: Also expose std::ws.
5551 2001-02-25 Greg Freemyer <freemyer@NorcrossGroup.com>
5553 * libmath/mathconf.h (GET_LDOUBLE_MSW64): Fix thinko.
5555 2001-02-23 Benjamin Kosnik <bkoz@redhat.com>
5557 * include/bits/codecvt.h: Use __builtin_alloca.
5558 * include/bits/ostream.tcc: Same.
5559 * include/bits/fstream.tcc: Same.
5561 2001-02-23 Alexandre Oliva <aoliva@redhat.com>
5563 * mknumeric_limits (CC): Use VAR=${VAR=...} form.
5565 2001-02-23 David Edelsohn <dje@watson.ibm.com>
5567 * mknumeric_limits (CC): Use $BUILD_DIR/../../gcc/xgcc
5569 2001-02-23 Phil Edwards <pme@sources.redhat.com>
5572 * include/backward/iostream.h: Expose std::flush in old headers.
5574 2001-02-23 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
5576 * mknumeric_limits: Remove special-casing on target. Use gcc
5577 instead of g++ to build gen-num-limits.cc
5579 2001-02-22 Benjamin Kosnik <bkoz@redhat.com>
5581 * tests_flags.in (CXXFLAGS): Add -rpath to gcc build dir.
5583 * include/bits/codecvt.h: Use alloca instead of __extension__ for
5585 * include/bits/ostream.tcc: Same.
5586 * include/bits/std_ostream.h: Same.
5587 * include/bits/fstream.tcc: Same.
5588 * include/bits/locale_facets.tcc: Add typename.
5589 * include/bits/c++config (_GLIBCPP_FULLY_COMPLIANT_HEADERS): Enable.
5591 2001-02-21 Phil Edwards <pme@sources.redhat.com>
5593 * tests_flags.in: Remove -n flag from call to echo.
5595 2001-02-20 Benjamin Kosnik <bkoz@redhat.com>
5597 * config/c_locale_gnu.h: Add clocale include.
5599 2001-02-20 Phil Edwards <pme@sources.redhat.com>
5601 * include/bits/stl_config.h: Remove file.
5602 * src/Makefile.am (base_headers): Remove from list.
5603 * configure: Regenerate.
5604 * Makefile.in: Ditto.
5605 * libio/Makefile.in: Ditto.
5606 * libmath/Makefile.in: Ditto.
5607 * libsupc++/Makefile.in: Ditto.
5608 * src/Makefile.in: Ditto.
5610 * include/bits/c++config: Move relevant macros to here.
5611 * include/backward/alloc.h: Include c++config.h instead.
5612 * include/backward/function.h: Ditto.
5613 * include/backward/heap.h: Ditto.
5614 * include/backward/pair.h: Ditto.
5615 * include/bits/pthread_allocimpl.h: Ditto.
5616 * include/bits/std_functional.h: Ditto.
5617 * include/bits/std_iterator.h: Ditto.
5618 * include/bits/std_numeric.h: Ditto.
5619 * include/bits/std_utility.h: Ditto.
5620 * include/bits/stl_algobase.h: Ditto.
5621 * include/bits/type_traits.h: Ditto.
5622 * src/stl-inst.cc: Ditto.
5624 2001-02-19 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
5626 * include/bits/basic_file.h: Add #pragma system_header
5627 * include/bits/basic_ios.h: Ditto.
5628 * include/bits/basic_string.h: Ditto.
5629 * include/bits/char_traits.h: Ditto.
5630 * include/bits/codecvt.h: Ditto.
5631 * include/bits/cpp_type_traits.h: Ditto.
5632 * include/bits/fpos.h: Ditto.
5633 * include/bits/gslice.h: Ditto.
5634 * include/bits/gslice_array.h: Ditto.
5635 * include/bits/indirect_array.h: Ditto.
5636 * include/bits/ios_base.h: Ditto.
5637 * include/bits/limits_generic.h: Ditto.
5638 * include/bits/locale_facets.h: Ditto.
5639 * include/bits/localefwd.h: Ditto.
5640 * include/bits/mask_array.h: Ditto.
5641 * include/bits/sbuf_iter.h: Ditto.
5642 * include/bits/sequence_concepts.h: Ditto.
5643 * include/bits/slice.h: Ditto.
5644 * include/bits/slice_array.h: Ditto.
5645 * include/bits/std_algorithm.h: Likewise.
5646 * include/bits/std_bitset.h: Likewise.
5647 * include/bits/std_complex.h: Likewise.
5648 * include/bits/std_deque.h: Likewise.
5649 * include/bits/std_fstream.h: Likewise.
5650 * include/bits/std_functional.h: Likewise.
5651 * include/bits/std_iomanip.h: Likewise.
5652 * include/bits/std_ios.h: Likewise.
5653 * include/bits/std_iosfwd.h: Likewise.
5654 * include/bits/std_iostream.h: Likewise.
5655 * include/bits/std_istream.h: Likewise.
5656 * include/bits/std_iterator.h: Likewise.
5657 * include/bits/std_list.h: Likewise.
5658 * include/bits/std_locale.h: Likewise.
5659 * include/bits/std_map.h: Likewise.
5660 * include/bits/std_memory.h: Likewise.
5661 * include/bits/std_numeric.h: Likewise.
5662 * include/bits/std_ostream.h: Likewise.
5663 * include/bits/std_queue.h: Likewise.
5664 * include/bits/std_set.h: Likewise.
5665 * include/bits/std_sstream.h: Likewise.
5666 * include/bits/std_stack.h: Likewise.
5667 * include/bits/std_stdexcept.h: Likewise.
5668 * include/bits/std_streambuf.h: Likewise.
5669 * include/bits/std_string.h: Likewise.
5670 * include/bits/std_utility.h: Likewise.
5671 * include/bits/std_valarray.h: Likewise.
5672 * include/bits/std_vector.h: Likewise.
5673 * include/bits/stringfwd.h: Likewise.
5674 * include/bits/type_traits.h: Likewise.
5675 * include/bits/valarray_array.h: Likewise.
5676 * include/bits/valarray_meta.h: Likewise.
5678 2001-02-19 Andreas Jaeger <aj@suse.de>
5680 * config/cpu/sparc/sparc64/bits/atomicity.h (__compare_and_swap):
5683 2001-02-16 Greg Bumgardner <bumgard@roguewave.com>
5686 * include/bits/std_ostream.h: Replaced usage of
5687 _Traits::_S_eos() with _CharT() as per section 17.2.2.1.3.
5688 * include/bits/char_traits.h: Removed non-standard
5689 methods that cannot be used elsewhere.
5692 * include/bits/basic_ios.h: Uncommented #include of
5696 * include/bits/codecvt.h: See next...
5697 * include/bits/fstream.tcc: See next...
5698 * include/bits/ostream.tcc: Add __extension__
5699 to variable-length arrays.
5702 * include/bits/localefwd.h: Changed int counter type to size_t.
5705 * include/bits/std_fstream.h: Added typedef for __ctype_type.
5707 2001-02-16 Benjamin Kosnik <bkoz@redhat.com>
5709 * testsuite/21_strings/char_traits.cc: Move to ...
5710 * testsuite/21_strings/char_traits_requirements.cc: ..here.
5711 * testsuite/21_strings/char_traits-int_type.cc: Move to ...
5712 * testsuite/21_strings/char_traits_typedefs.cc: ..here.
5714 2001-02-16 Gabriel Dos Reis <gdr@codesourcery.com>
5716 * libmath/mathconf.h (FINITE_P, INFINITE_P): Remove macro
5719 2001-02-15 Benjamin Kosnik <bkoz@redhat.com>
5721 * include/bits/c++config: Revert.
5723 2001-02-15 Mark Mitchell <mark@codesourcery.com>
5725 * include/bits/istream.tcc: Use ios_base::iostate in place of
5726 iostate throughout. Insert `typename' keyword where necessary.
5727 * include/bits/ostream.tcc: Insert `typename' keyword where
5730 2001-02-15 Jeffrey Oldham <oldham@codesourcery.com>
5732 * include/bits/c++config (_GLIBCPP_FULLY_COMPLIANT_HEADERS):
5733 Define so library is compliant.
5735 2001-02-15 Anthony Green <green@redhat.com>
5737 * acinclude.m4 (glibcpp_toolexeclibdir): Fix test for cross
5739 * aclocal.m4: Regenerate.
5740 * configure: Regenerate.
5742 2001-02-15 Rodney Brown <RodneyBrown@mynd.com>
5744 * acinclude.m4 (GLIBCPP_CHECK_MATH_DECL_1):
5745 Include ieeefp.h for fpclass on UnixWare{2,7}.
5746 * aclocal.m4: Regenerate.
5747 * configure: Regenerate.
5748 * mkcheck.in (size_command): Do without GNU-grep when using
5751 2001-02-15 Mark Mitchell <mark@codesourcery.com>
5753 Remove old ABI support from libsupc++.
5754 * libsupc++/cxxabi.h: Remove conditionally compiled code.
5755 * libsupc++/exception_support.cc: Likewise.
5756 * libsupc++/pure.cc: Likewise.
5757 * libsupc++/tinfo.cc: Likewise.
5758 * libsupc++/tinfo.h: Likewise.
5759 * libsupc++/tinfo2.cc: Likewise.
5760 * libsupc++/typeinfo: Likewise.
5761 * libsupc++/vec.cc: Likewise.
5763 2001-02-15 Benjamin Kosnik <bkoz@redhat.com>
5765 Add support for -fno-exceptions.
5766 * include/bits/exception_support.h: Remove.
5767 * include/bits/basic_string.h: Remove exception_support.
5768 (string::_M_check): Replace __OUTOFRANGE with __throw_out_of_range.
5770 (string::substr): Same.
5771 * include/bits/basic_string.tcc (string::reserve): Replace
5772 __LENGTHERROR with __throw_length_error.
5773 (string::_S_create): Same.
5774 (string::resize): Same.
5775 (string::_M_replace): Same.
5776 (string::replace): Same.
5777 (string::copy): Replace __OUTOFRANGE with __throw_out_of_range.
5778 (string::compare): Same.
5779 * include/bits/stl_vector.h: Remove exception_support.
5780 * src/Makefile.am (base_headers): Remove here.
5781 * src/Makefile.in: Regenerate.
5783 * include/bits/stl_range_errors.h: Remove.
5784 * include/bits/stl_deque.h: Use __throw_range_error.
5785 * include/bits/std_deque.h: Include functexcept.h.
5786 * include/bits/std_vector.h: Same.
5787 * src/Makefile.am (base_headers): Remove here.
5788 * src/Makefile.in: Regenerate.
5789 * include/ext/stl_bvector.h (class __BVECTOR): Use __throw_range_error.
5790 * include/ext/bvector: Remove stl_range_errors.h
5792 * include/bits/c++config (_GLIBCPP_USE_EXCEPTIONS): Remove.
5794 * include/bits/functexcept.h: New file.
5795 * src/functexcept.cc: New file. Definitions for function-based
5797 * src/Makefile.am (sources): Add functexcept.cc.
5798 * src/Makefile.in: Regenerate.
5800 * include/bits/stl_config.h (__STL_USE_EXCEPTIONS): Wrap with
5803 * include/bits/localefwd.h: Include functexcept.h.
5804 * include/bits/std_iosfwd.h: Same.
5806 * include/bits/basic_ios.h: Use __throw_ios_failure instead of
5807 throw basic_ios::failure.
5808 * include/bits/fstream.tcc (filebuf::_M_allocate_buffers):
5809 Use __throw_exception_again.
5810 (filebuf::_M_filebuf_init): Same.
5811 * include/bits/streambuf.tcc (__copy_streambufs): Same.
5812 * include/bits/ostream.tcc (ostream::operator<<): Same.
5813 * include/bits/istream.tcc (istream::operator>>): Same.
5814 * include/bits/basic_string.tcc (string::_M_mutate): Same.
5815 (string::_S_construct): Same.
5816 (string::_M_clone): Same.
5817 * include/bits/locale_facets.tcc (use_facet(const locale&)): Use
5819 (num_put<_CharT, _OutIter>::do_put): Use __throw_exception_again.
5820 * src/localename.cc (locale::_Imp::_Imp(const _Impl&, size_t): Use
5821 __throw_exception_again.
5822 (locale::_Imp::_Imp(string, size_t): Same.
5823 (locale::_Imp::_M_replace_facet): Use __throw_runtime_error.
5824 * src/locale.cc (locale::_M_coalesce): Use __throw_exception_again.
5825 (locale::locale(const char*)): Use __throw_runtime_error.
5826 (locale::classic): Use __throw_exception_again.
5827 (locale::_S_normalize_category): Use __throw_runtime_error.
5829 * src/stdexcept.cc: Remove cruft.
5831 * libsupc++/exception_defines.h: New file.
5832 * libsupc++/new_opnt.cc: Include exception_defines.h.
5833 * libsupc++/vec.cc: Same.
5834 (__cxa_vec_new2): Use __throw_exception_again.
5835 (__cxa_vec_new3): Same.
5836 (__cxa_vec_ctor): Same.
5837 (__cxa_vec_delete3): Same.
5838 (__cxa_vec_cctor): Same.
5839 (__cxa_vec_delete2): Same.
5840 (__cxa_vec_dtor): Same.
5841 * libsupc++/exception_support.cc: Include exception_defines.h. Only
5842 compile exception-handling bits if __EXCEPTIONS is defined.
5843 Remove old ABI support.
5844 * libsupc++/new_op.cc (new): Include exception_defines.h. Use
5845 std::__throw_bad_alloc() instead of throw bad_alloc.
5846 * libsupc++/Makefile.am: Add exception_defines.h.
5847 * libsupc++/Makefile.in: Reformat.
5848 * libsupc++/*: Format.
5850 2001-02-15 Phil Edwards <pme@sources.redhat.com>
5852 * docs/html/configopts.html: Minor updates and typo fixes.
5853 * docs/html/faq/index.html: Updates of the "not really bugs" list.
5854 * docs/html/faq/index.txt: Regenerated.
5856 2001-02-15 Gabriel Dos Reis <gdr@codesourcery.com>
5858 * testsuite/lib/libstdc++.exp: Lift, temporarily, out of
5859 dejagnu/dg.exp. Adapt to log options used to run testcases.
5861 2001-02-13 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
5863 * testsuite/lib/libstdc++.exp(dg-test): Lift temporarily from
5866 2001-02-13 Dirk Mueller <dmuell@gmx.net>
5867 Phil Edwards <pme@sources.redhat.com>
5869 * include/backward/function.h: Do not use rel_ops for older
5871 * include/backward/pair.h: Likewise.
5873 2001-02-12 Mark Mitchell <mark@codesourcery.com>
5875 * src/locale.cc: Remove bogus locale::id definitions.
5877 2001-02-11 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
5879 * include/bits/std_valarray.h: #undef _DEFINE_LOGICAL_OPERATOR,
5880 not _DEFINE_VALARRAY_OPERATOR which is not existent.
5882 * include/bits/valarray_meta.h (_RefFunClos<>_RefRunClos): Fix
5883 thinko in member initialisation.
5885 2001-02-11 Gabriel Dos Reis <gdr@codesourcery.com>
5887 * include/bits/std_valarray.h(valarray<>::shift): Avoid
5888 comparaison between signed and unsigned integer types.
5889 (valarray<>::cshift): Reformat.
5891 2001-02-11 Alexandre Oliva <aoliva@redhat.com>
5893 * src/gen-num-limits.cc: Use sigsetjmp and siglongjmp if available.
5894 * mknumeric_limits: Compile it with -DHAVE_CONFIG_H.
5895 * configure.in: Test for sigsetjmp.
5896 * configure, config.h.in: Rebuilt.
5898 2001-02-11 Gabriel Dos Reis <gdr@codesourcery.com>
5900 * src/valarray-inst.cc (gslice::_Indexer::_Indexer): Don't flip
5901 lengths and strides.
5902 (__gslice_to_index): Document.
5904 2001-02-11 Gabriel Dos Reis <gdr@codesourcery.com>
5906 * include/bits/char_traits.h char_traits<char>::int_type: Change
5907 to `int' to match 21.1.3.1/2.
5909 * testsuite/21_strings/char_traits-int_type.C: New test.
5911 2001-02-10 Gabriel Dos Reis <gdr@codesourcery.com>
5913 * testsuite/Makefile.am: New file.
5915 2001-02-09 Nathan Sidwell <nathan@codesourcery.com>
5917 * include/c_shadow/bits/std_cstdlib.h (lldiv_t): Fix typo.
5919 2001-02-08 Loren J. Rittle <ljrittle@acm.org>
5921 * src/locale-inst.cc (fill_n): Instantiate with size_t arguments.
5923 2001-02-08 David Edelsohn <edelsohn@gnu.org>
5925 * configure.target (aix4*): Remove extra set of brackets.
5927 2001-02-07 Benjamin Kosnik <bkoz@redhat.com>
5930 * include/bits/stringfwd.h: New file.
5931 * include/bits/stl_string_fwd.h: Remove.
5932 * include/bits/localefwd.h: Remove declaration for allocator.
5933 * include/bits/std_iosfwd: Same.
5934 * include/bits/std_string.h: Include it.
5935 * include/bits/std_ios.h: Remove include.
5936 * include/bits/basic_string.h: Tweak.
5937 * libsupc++/new: Format.
5938 * src/Makefile.am (base_headers): Add stringfwd.h, remove
5940 * src/Makefile.in: Regenerate.
5941 * include/bits/std_stdexcept.h: Rewrite.
5942 * src/stdexcept.cc: Same.
5944 2001-02-06 Benjamin Kosnik <bkoz@redhat.com>
5946 * acinclude.m4 (GLIBCPP_EXPORT_INSTALL_INFO): Deal with library
5947 install locations too.
5948 * aclocal.m4: Regenerate.
5949 * configure.in: Remove USE_LIBDIR.
5950 * configure: Regenerate.
5951 * src/Makefile.am (toolexecdir): Simplify, use
5952 glibcpp_toolexecdir, glibcpp_toolexeclibdir.
5953 * src/Makefile.in: Regenerate.
5954 * libsupc++/Makefile.am: Same.
5955 * libsupc++/Makefile.in: Regenerate.
5957 * src/Makefile.am: Just remove special rules for locale-inst.cc and
5958 misc-inst.cc as no longer necessary.
5960 Follow C++STYLE for naming non-static functions.
5961 * include/bits/ostream.tcc (_S_pad_char): Not static, rename to
5963 * include/bits/streambuf.tcc: Same.
5964 * include/bits/ostream.tcc: Same.
5965 * include/bits/istream.tcc: Same.
5966 * include/bits/locale_facets.tcc (_S_pad_numeric): To __pad_numeric.
5967 (_S_output_float): To __output_float.
5968 * include/bits/std_streambuf.h (_S_copy_streambufs): To
5970 * include/bits/locale_facets.tcc (_S_build_float_format): To
5971 __build_float_format.
5972 (_S_format): To __output_integer.
5973 (_S_fill): To __pad.
5974 * src/locale.cc: Same.
5975 * src/misc-inst.cc: Fix formatting. Fix signature for wchar_t. Correct
5977 * include/bits/locale_facets.tcc (_S_group_digits): To
5979 * src/locale-inst.cc: Fixup names. Add use_facet instantiations
5980 for collate, numpunct.
5982 2001-02-06 Phil Edwards <pme@sources.redhat.com>
5984 * docs/html/configopts.html: Fix HTML markup.
5985 * docs/html/install.html: Bring up to date.
5986 * docs/html/17_intro/C++STYLE: Add global variable conventions.
5987 * docs/html/21_strings/howto.html: More notes.
5988 * docs/html/22_locale/howto.html: Fix HTML markup.
5989 * docs/html/27_io/howto.html: More notes.
5990 * docs/html/27_io/binary_iostreams_kanze.txt: New file.
5991 * docs/html/27_io/binary_iostreams_kuehl.txt: New file.
5993 2001-02-06 Jeffrey Oldham <oldham@codesourcery.com>
5995 * src/misc-inst.cc (_S_pad_char): Modify declaration's parameters
5996 to match header files.
5997 (_S_output_float): Likewise.
5998 (_S_copy_streambufs): Likewise.
6000 2001-02-06 Hyman Rosen <Hyman.Rosen@kbcfp.com>
6001 Phil Edwards <pme@sources.redhat.com>
6003 * include/bits/std_istream.h (op>> signed,unsigned char): Must
6004 use reinterpret_cast, not static_cast.
6006 2001-02-06 Benjamin Kosnik <bkoz@redhat.com>
6008 * acinclude.m4 (gxx_include_dir): Quote, fix regression.
6009 * aclocal.m4: Regenerate.
6010 * configure: Regenerate.
6012 2001-02-05 Benjamin Kosnik <bkoz@redhat.com>
6014 * include/bits/locale_facets.h (class moneypunct): Fix typos.
6015 * libsupc++/pure.cc: Revert.
6017 2001-02-05 Benjamin Kosnik <bkoz@redhat.com>
6019 * acinclude.m4 (GLIBCPP_CHECK_MATH_DECL_1): New macro.
6020 (GLIBCPP_CHECK_MATH_DECL_2): New macro.
6021 (GLIBCPP_CHECK_MATH_DECL_3): New macro.
6022 (GLIBCPP_CHECK_MATH_DECL_AND_LINKAGE_1): Use it, check for _* too.
6023 (GLIBCPP_CHECK_MATH_DECL_AND_LINKAGE_2): Same.
6024 (GLIBCPP_CHECK_MATH_DECL_AND_LINKAGE_3): Same.
6025 (GLIBCPP_CHECK_MATH_SUPPORT): Remove explicit checks for _* versions.
6026 * aclocal.m4: Regenerate.
6027 * configure: Regenerate.
6029 2001-02-05 Mark Mitchell <mark@codesourcery.com>
6031 * include/bits/locale_facets.tcc: Remove `static' keyword on
6032 function definitions.
6033 * include/bits/std_streambuf.h: Likewise.
6034 * src/Makefile.am: Remove use of -fimplicit-templates.
6035 * src/Makefile.in: Regenerated.
6036 * src/locale-inst.cc: Explicitly instantiate more functions.
6037 * src/misc-inst.cc: Likewise.
6038 * src/string-inst.cc: Likewise.
6040 2001-02-05 Benjamin Kosnik <bkoz@redhat.com>
6042 * acinclude.m4 (GLIBCPP_EXPORT_INSTALL_INFO): New
6043 macro. Consolidate all the bits to do with where includes might be
6045 * aclocal.m4: Regenerate.
6046 * configure.in: Use it.
6047 * configure: Regenerate.
6048 * src/Makefile.am (targetincludep): Use simplified rules.
6049 (targetincludep): Rename gxx_target_include_dir.
6050 (myincludep): Rename gxx_include_dir.
6051 * src/Makefile.in: Regenerate.
6052 * libsupc++/Makefile.am: Use simplified rules.
6053 * libsupc++/Makefile.in: Regenerate.
6055 2001-02-05 Benjamin Kosnik <bkoz@redhat.com>
6057 * include/c_std/bits/std_cerrno.h: Correct date format for copyright.
6058 * include/c_std/bits/std_cctype.h: Same.
6059 * include/c_std/bits/std_cassert.h: Same.
6060 * include/c_std/bits/std_cstdarg.h: Same.
6061 * include/c_std/bits/std_cstddef.h: Same.
6063 * include/c_std/bits/std_cstdio.h: Undefine all names brought into
6065 * include/c_std/bits/std_ctime.h: Same.
6066 * include/c_std/bits/std_clocale.h: Same.
6067 * include/c_std/bits/std_cmath.h: Same.
6068 * include/c_std/bits/std_csetjmp.h: Same.
6069 * include/c_std/bits/std_csignal.h: Same.
6070 * include/c_std/bits/std_cstring.h: Same.
6071 * include/c_std/bits/std_cstdlib.h: Same.
6072 * include/c_std/bits/std_cwchar.h: Same.
6074 2001-02-05 Phil Edwards <pme@sources.redhat.com>
6076 * testsuite/27_io/ios_base_members_static.cc: Swap order of tests.
6078 2001-02-05 Mark Mitchell <mark@codesourcery.com>
6080 * src/string-inst.cc (string::_M_replace): Explicitly instantiate.
6081 (string::_S_construct): Likewise.
6083 2001-02-05 Gabriel Dos Reis <gdr@codesourcery.com>
6085 * testsuite/config/default.exp: New file.
6086 * testsuite/config: New directory.
6088 2001-02-04 Mark Mitchell <mark@codesourcery.com>
6090 * libsupc++/typeinfo (__GXX_MERGED_TYPEINFO_NAMES): New macro.
6091 * libsupc++/tinfo.cc (std::typeinfo::operator==): Use strcmp
6092 whenever !__GXX_MERGED_TYPEINFO_NAMES.
6093 * libsupc++/tinfo2.cc (std::typeinfo::before): Likewise.
6095 2001-02-03 Alexandre Oliva <aoliva@redhat.com>
6096 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
6098 * Makefile.am (mkinstalldirs): Set.
6099 * src/Makefile.am (mkinstalldirs): Set.
6100 * libmath/Makefile.am (mkinstalldirs): Set.
6101 * libsup++/Makefile.am (mkinstalldirs): Set.
6102 * libio/Makefile.am (mkinstalldirs): Set.
6103 * */Makefile.in: Regenerate.
6105 2001-02-03 Benjamin Kosnik <bkoz@redhat.com>
6107 * include/bits/stl_threads.h (struct _STL_mutex_lock): Same.
6108 * include/bits/localefwd.h: More initialization cleanups.
6110 2001-02-03 Jeffrey A Law <law@cygnus.com>
6112 * include/bits/ios_base.h (_S_ios_fmtflags_end): Initialize
6113 correctly targets with 16bit ints.
6114 (_S_ios_openmode_end): Similarly.
6115 (_S_ios_iostate_end): Similarly.
6116 (_S_ios_Seekdir_end): Similarly.
6118 2001-02-02 Phil Edwards <pme@sources.redhat.com>
6120 * mkcheck.in: Also limit virtual memory size, for mmap-based mallocs.
6122 2001-02-01 Alexandre Oliva <aoliva@redhat.com>
6124 * configure.in (toplevel_srcdir, auxdir): Set.
6125 * acinclude.m4 (glibcpp_basedir): Set based on auxdir.
6126 * aclocal.m4, configure, Makefile.in: Rebuilt.
6127 * libio/Makefile.in, math/Makefile.in, src/Makefile.in: Likewise.
6128 * libsupc++-v3/Makefile.am (INCLUDES): Use toplevel_srcdir.
6129 * libsupc++-v3/Makefile.in: Rebuilt.
6130 * libsupc++-v3/configure.in, libsupc++-v3/configure: Removed.
6131 * libsupc++-v3/aclocal.m4, libsupc++-v3/config.h.in: Likewise.
6133 2001-01-30 Benjamin Kosnik <bkoz@redhat.com>
6135 * config/c_locale_generic.cc: Remove langinfo include.
6137 2001-01-29 Benjamin Kosnik <bkoz@redhat.com>
6139 Preliminary named locales.
6140 * acinclude.m4 (GLIBCPP_ENABLE_CLOCALE): New macro.
6141 * aclocal.m4: Regenerate.
6142 * configure.in: Use it.
6143 * configure: Regerate.
6144 * src/Makefile.am (sources): Add c++locale.cc.
6145 (build_headers): Add c++locale.h.
6146 * src/Makefile.in: Regenerate.
6147 * config/c_locale_gnu.h: New file.
6148 * config/c_locale_gnu.cc: New file. Non-inline member functions
6149 for named locales, gnu-specific.
6150 * config/c_locale_generic.h: New file.
6151 * config/c_locale_generic.cc: New file. Non-inline member
6152 functions for named locales, generic version.
6153 * docs/html/configopts.html: Add documentation on new options.
6155 * include/bits/locale_facets.h (class _Messages): Remove.
6156 (class _Moneypunct): Remove.
6157 * src/locale-inst.cc: Remove.
6159 * include/bits/locale_facets.h (class _Collate): Remove.
6160 * src/locale-inst.cc (std): Remove.
6161 * src/locale.cc: And here.
6163 * include/bits/localefwd.h (locale::_M_coalesce): New
6164 function. Correctly put together multi-name locales.
6165 (_Impl(const _Impl&, category, size_t)): Remove.
6167 * include/bits/localefwd.h (locale::_Impl): Remove _M_construct_*
6169 (_M_normalize_category_names): Remove.
6170 (_M_replace_categories): Fix.
6172 * src/localename.cc (locale::_Impl::_M_construct_collate): Remove.
6173 (locale::_Impl::_M_construct_ctype): Remove.
6174 (locale::_Impl::_M_construct_monetary): Remove.
6175 (locale::_Impl::_M_construct_numeric): Remove.
6176 (locale::_Impl::_M_construct_time): Remove.
6177 (locale::_Impl::_M_construct_messages): Remove.
6179 * include/bits/locale_facets.h (_Bad_use_facet): Remove.
6180 (_Use_facet_failure_handle): Remove.
6181 * src/locale.cc: Remove definitions.
6182 * src/locale-inst.cc: And here.
6184 * testsuite/22_locale/ctor_copy_dtor.cc (test01): Fixup. Add tests.
6186 * src/localename.cc (locale::facet::_S_create_c_locale): Properly
6187 create and error-check underlying locale object.
6188 (locale::facet::_S_destroy_c_locale): Add, take care of properly
6189 tearing down underlying locale object.
6190 * include/bits/localefwd.h (locale::facet): Declare.
6191 * testsuite/22_locale/members.cc: Don't test "fr_FR" locale for
6192 correctness, as glibc apparently has incorrect info in it. Test
6193 with it when it works again.....
6195 * include/bits/localefwd.h (locale::_Impl::__vec_string):
6196 Remove. Number of categories is fixed at six, so just simplify and
6197 make this an array of strings.
6198 (locale::_Impl::_M_has_name): Remove.
6199 (locale::_Impl::_M_name): Remove.
6200 (locale::_Impl::_M_category_names): Turns into...
6201 (locale::_Impl::_M_names): ...this.
6202 (locale::_Impl::_M_has_same_name()): New function.
6203 * src/localename.cc (locale::_Impl::~_Impl()): Remove here.
6204 (locale::_Impl::_Impl(size_t __refs, string __str)): Simplify
6206 * src/locale.cc (locale::name()): Construct mangled name
6207 accurately reflecting combined locale categories.
6209 * src/locale.cc (locale::classic()): Don't initialize here.
6210 * src/localename.cc (locale::_Impl::_Impl(size_t __num, size_t
6211 __refs, bool __has_name, string __str): Do it here.
6213 * include/bits/localefwd.h: _S_categories_num to
6214 _S_num_categories. _S_facets_num to _S_num_facets.
6215 (locale::id::id()): Explicitly set _M_index to zero.
6216 * src/locale.cc: Same.
6218 * src/locale.cc: (locale::locale(const char*)): Construct named
6221 * src/locale.cc: Remove numpunct_byname ctors.
6222 * testsuite/22_locale/numpunct_byname.cc: New file.
6223 * testsuite/22_locale/numpunct.cc: New file.
6225 * include/bits/localefwd.h (class locale): Change data members to
6226 protected, from private.
6227 (_Impl::_M_get_c_locale): Add member function.
6228 (locale::facet::_M_get_global_impl()): Add member function.
6229 * include/bits/locale_facets.h (numpunct::_M_init): Change to take
6230 a __c_locale pointer.
6231 (numpunct::numpunct( __c_locale*, size_t)): Add additonal ctor for
6233 * testsuite/22_locale/members.cc: New file, test name and combine.
6235 * include/bits/locale_facets.h (class numpunct): Remove class
6236 _Punct and _Numpunct. Rewrite class numpunct to be correct for
6238 * include/bits/localefwd.h (locale::_Imp::_M_c_locale): Add.
6239 * src/localename.cc (_Impl::~_Impl()): Call __frelocale.
6240 (_Imp::_Impl(size_t, size_t, bool, string)) Initialize _M_c_locale.
6241 * src/locale-inst.cc: Remove _Numpunct, _Punct instantiations.
6242 * testsuite/22_locale/numpunct_char_members.cc: New file.
6244 2001-01-28 Gabriel Dos Reis <gdr@codesourcery.com>
6246 * testsuite/README: Add more comment.
6247 * testsuite/lib/libstdc++.exp: Tweak comment.
6249 2001-01-26 Benjamin Kosnik <bkoz@kredhat.com>
6251 * libsupc++/pure.cc (writestr): Just use cstdio and std::fputs.
6253 2001-01-25 Loren J. Rittle <ljrittle@acm.org>
6255 * testsuite/21_strings/inserters_extractors.cc: Remove
6256 explicit reference to 'testsuite/'.
6258 2001-01-25 Richard Henderson <rth@redhat.com>
6260 * config/cpu/alpha/bits/atomicity.h: Remove tricky .subsetion
6261 bits. Fixes Tru64 build issues.
6263 2001-01-25 Michael Sokolov <msokolov@ivan.Harhan.ORG>
6265 * acinclude.m4 (GLIBCPP_CHECK_GNU_MAKE): Bourne shell portability bug
6266 (use ${MAKE-make}, not ${MAKE:-make}).
6267 * aclocal.m4, configure: Regenerate.
6269 2001-01-25 Mark Mitchell <mark@codesourcery.com>
6271 * src/ios.cc: Remove accidental inclusion of <stdio.h> in last
6274 * src/Makefile.am (sources): Add globals.cc.
6275 * src/Makefile.in: Regenerated.
6276 * src/globals.cc: New file.
6277 * src/ios.cc (cin): Don't define here, just declare extern.
6286 2001-01-25 Phil Edwards <pme@sources.redhat.com>
6288 * include/bits/std_iterator.h: Do not include stl_relops.h.
6289 * include/bits/std_numeric.h: Ditto.
6290 * include/bits/stl_algobase.h: Ditto.
6291 * include/bits/stl_relops.h: Add comment warning about problems.
6293 2001-01-25 Gabriel Dos Reis <gdr@codesourcery.com>
6295 * testsuite/27_io/*.cc: Remove explicit reference to 'testsuite/'
6296 in testcases. Prepare for the DejaGnu based framework.
6297 * mkcheck.in: Adjust call to tests_flags. Don't mmkdir testsuite
6298 directory -- it is now mkcheck working directory.
6299 * tests_flags.in: Remove reference to $(top_srcdir). Use
6301 * Makefile.am (check, check-install): Change mkcheck invocation
6303 * Makefile.in: Regenerate.
6305 2001-01-24 Mark Mitchell <mark@codesourcery.com>
6307 * config/os/aix/bits/atomicity.h (__compare_and_swap): Remove.
6308 (__always_swap): Likewise.
6310 2001-01-23 Chris Demetriou <cgd@broadcom.com>
6312 * libsupc++/exception_support.cc (__terminate_func): Remove
6314 (__terminate_func_ptr): New typedef.
6315 (__terminate, __terminate_set_func): New extern function
6317 (std::terminate): Use __terminate function.
6318 (std::set_terminate): Use __terminate_set_func function.
6320 2001-01-23 Benjamin Kosnik <bkoz@redhat.com>
6322 * configure.target: Just use os_include_dir always.
6323 * configure.in: Remove calls to GLIBCPP_CHECK_CTYPE_SUPPORT.
6324 Link atomicity files and ctype files here.
6325 * configure: Regenerate.
6326 * acinclude.m4 (GLIBCPP_CHECK_CTYPE_SUPPORT): Remove.
6327 (GLIBCPP_ENABLE_ATOMICITY): Remove.
6328 * aclocal.m4: Regenerate.
6330 2001-01-23 Chris Demetriou <cgd@broadcom.com>
6332 * configure.in: Place definition of MULTISUBDIR in
6333 libsupc++/Makefile as is done for src/Makefile.
6334 * configure: Regenerate.
6336 2001-01-23 Phil Edwards <pme@sources.redhat.com>
6338 * acinclude.m4: Cosmetic changes only.
6339 * aclocal.m4: Regenerated.
6340 * configure: Regenerated.
6341 * configure.target: Update documented list of changed variables.
6342 * docs/html/install.html: Fix typo.
6343 * docs/html/20_util/howto.html: More notes on auto_ptr.
6344 * docs/html/27_io/howto.html: More notes on streabufs.
6345 * docs/html/faq/index.html: Add rel_ops problem and mention the
6346 DEC as(1) .subsection difficulty.
6347 * docs/html/faq/index.txt: Regenerated.
6349 2001-01-23 Mark Mitchell <mark@codesourcery.com>
6351 * ainclude.m4 (GLIBCPP_CHEC_MATH_DECLS_AND_LINKAGE_1): New macro.
6352 (GLIBCPP_CHECK_MATH_SUPPORT): Use it.
6353 (GLIBCPP_CHECK_TYPE_SUPPORT): Don't autoconf ctype information if
6354 its already provided in config.target.
6355 * aclocal.m4: Regenerated.
6356 * configure: Likewise.
6357 * configure.target: Set ctype_include_dir for lots of systems.
6358 * libsupc++/Makefile.am: Explicitly include --tag disable-shared.
6359 * libsupc++/Makefile.in: Regenerated.
6361 2001-01-23 Gabriel Dos Reis <gdr@codesourcery.com>
6363 * testsuite/lib/libstdc++.exp: Improve. Add support for @xxx#
6366 * testsuite/README: Add comment.
6368 2001-01-21 Phil Edwards <pme@sources.redhat.com>
6370 * docs/html/configopts.html: Update for current status. Fix HTML.
6371 * docs/html/install.html: Update for current status.
6373 2001-01-20 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
6375 * testsuite/libstdc++.tests/tests.exp: New file.
6376 * testsuite/lib/libstdc++.exp: Itou.
6377 * testsuite/README: Itou.
6379 2001-01-20 Gabriel Dos Reis <gdr@codesourcery.com>
6381 * tests_flags.in: Just output the bare minimum to run tests.
6382 Let's the caller do its own arrangement.
6384 * mkcheck.in: Rename INC_PATH to INCLUDES. Adjust flags
6387 2001-01-19 Gabriel Dos Reis <gdr@codesourcery.com>
6389 * testsuite/17_intro: Prepare testcases for new style DejaGnu
6392 2001-01-18 Gabriel Dos Reis <gdr@codesourcery.com>
6394 * testsuite/libstdc++.tests, testsuite/lib: New directories.
6396 2001-01-17 Loren J. Rittle <ljrittle@acm.org>
6398 * mkcheck.in: Construct file names that match $objdir structure.
6399 * testsuite/27_io/filebuf_members-1.txt: New file.
6400 * testsuite/27_io/ifstream_members-1.txt: New file.
6401 * testsuite/27_io/ostream_inserter_char-1.txt: New file.
6403 * testsuite/27_io/ios_base_members_static.cc (test02): Add test.
6404 * testsuite/27_io/ios_base_members_static-1.tst: Add expected output.
6406 2001-01-17 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
6408 * testsuite/27_io/istream_sentry.cc (test02): Fix.
6410 2001-01-17 Benjamin Kosnik <bkoz@redhat.com>
6413 * include/bits/ios_base.h (ios_base::failure): Tighten up throw specs.
6414 * src/ios.cc (ios_base::failure): Make definitions match.
6415 * libsupc++/typeinfo (class bad_typeid): Add throw specs.
6416 (class bad_cast): Same.
6417 * libsupc++/exception (class exception): Add throw specs.
6418 * libsupc++/exception_support.cc (set_terminate): Add throw specs.
6419 (set_unexpected): Same.
6420 (uncaught_exception): Same.
6423 * docs/html/17_intro/C++STYLE (classname): Fix.
6425 2001-01-16 Mark Mitchell <mark@codesourcery.com>
6427 * src/gen-num-limits.cc (INSTANTIATIONS): New macro.
6428 Use it do explicitly instantiate predicate<T> and value<T> for
6431 2001-01-16 Nathan Sidwell <nathan@codesourcery.com>
6433 * libsupc++/exception_support.cc (__cp_pop_exception): Fix
6434 uninitialized thinko in last change.
6436 2001-01-16 Mark Mitchell <mark@codesourcery.com>
6438 * libsupc++/exception_support.cc (__cp_pop_exception): Change
6441 2001-01-16 Benjamin Kosnik <bkoz@redhat.com>
6443 * docs/html/17_intro/C++STYLE (classname): Add more existing
6444 and stylish patterns.
6447 * include/bits/istream.tcc (istream::sentry::sentry()): Set
6448 failbit if the state of the stream is not good.
6449 * testsuite/27_io/istream_sentry.cc (test02): Add test.
6450 * testsuite/27_io/istream_manip.cc (test01): Modify.
6453 reported by Paolo Carlini <pcarlini@unitus.it>
6454 * include/bits/istream.tcc (operator>>(istream&, string&)): Fix.
6455 * testsuite/21_strings/inserters_extractors.cc (test08): Add test.
6458 * include/bits/std_streambuf.h (setp): Set _M_buf_size correctly.
6459 * include/bits/streambuf.tcc (xsputn): Remove outside if clause.
6460 (xsgetn): Same. Simplify.
6461 * testsuite/27_io/streambuf.cc (test04): Add testcases.
6463 reported by Larry Evans <jcampbell3@prodigy.net>
6464 * include/bits/streambuf.tcc (streambuf::xsputn): Just check for
6465 equality with eof on returned value from overflow.
6467 2001-01-14 Andreas Jaeger <aj@suse.de>
6469 * libio/libio.h: Add test for glibc 2.0.
6471 2001-01-12 Benjamin Kosnik <bkoz@redhat.com>
6473 * config/os/djgpp/bits/*: Fix dates.
6475 * include/bits/basic_string.h (_S_find(const _CharT* __beg, const
6476 _CharT* __end, _CharT __c): Remove.
6477 * include/bits/basic_string.tcc: Substitute traits::find for _S_find.
6478 * include/bits/char_traits.h: Tweak.
6480 2001-01-12 Laurynas Biveinis <lauras@softhome.net>
6482 * acinclude.m4 (GLIBCPP_CHECK_CTYPE_SUPPORT): check for DJGPP <ctype.h>
6483 (LIB_AC_PROG_CXX): replace [/\\] with [\\/] to work around older
6485 * aclocal.m4: regenerated.
6486 * configure.target: set os_include_dir to config/os/djgpp under DJGPP.
6487 * configure: regenerated.
6488 * config/os/djgpp, config/os/djgpp/bits: new directories.
6489 * config/os/djgpp/bits/ctype_base.h,
6490 config/os/djgpp/bits/ctype_inline.h,
6491 config/os/djgpp/bits/ctype_noninline.h,
6492 config/os/djgpp/bits/os_defines.h: new files.
6494 2001-01-11 Joseph S. Myers <jsm28@cam.ac.uk>
6496 * include/c_std/bits/std_cstdio.h: Undef printf.
6498 2001-01-10 Benjamin Kosnik <bkoz@redhat.com>
6500 * src/ios.cc: Fix typo: change cout->wcout.
6502 * src/Makefile.am (targetincludep): Fix for version-specific-libs.
6503 * src/Makefile.in: Regenerate.
6505 2001-01-10 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
6507 * include/bits/std_complex.h: Fix a typo.
6509 2001-01-09 Benjamin Kosnik <bkoz@redhat.com>
6512 Fixes for libstdc++/1576
6513 * src/stdstreams.cc: Initialize with NULL filebuf. Delete
6514 file, move contents into....
6515 * src/ios.cc: ...Here. Put defines for iostreams objects and
6516 initialization routines into one file to simplify DSO interaction.
6517 * include/bits/std_iostream.h: Touch.
6518 * include/bits/ios_base.h (_S_synched_with_stdio): Make static.
6519 * src/Makefile.am (sources): Remove stdstreams.cc.
6520 * src/Makefile.in: Regenerate.
6522 2001-01-10 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
6524 * tests_flags.in (check_directory): Fix typo.
6526 2001-01-09 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
6528 * include/bits/std_complex.h: Fix a typo.
6530 2001-01-09 Loren J. Rittle <ljrittle@acm.org>
6532 * config/os/bsd/freebsd/bits/ctype_inline.h (is): (Make right
6533 code path:) Remove magic constants and restructure to handle
6534 ctype.h bit mask layout changes more gracefully. (Make fast
6535 code path:) Use __maskrune (), if available.
6536 (is): Remove special case for digit and xdigit masks.
6538 2001-01-09 Robert Lipe <robertlipe@usa.net>
6540 * include/c_std/bits/std_ctime.h: Undefine difftime.
6542 2001-01-09 Alexandre Oliva <aoliva@redhat.com>
6544 * src/gen-num-limits.cc (signal_adapter): New template function.
6545 (signal_handler): Use it, instead of signal.
6546 (traps<T>): Likewise. Install SIGTRAP handler too. Don't
6547 require both tests to trap to set trap_flag.
6549 2001-01-08 Benjamin Kosnik <bkoz@redhat.com>
6551 * include/bits/fpos.h (fpos:::fpos(streamoff __pos)): Explicitly
6552 initialize mbstate_t member, name offset data members *off, not pos.
6553 * include/bits/fstream.tcc (filebuf::filebuf): Same.
6555 2001-01-08 Benjamin Kosnik <bkoz@redhat.com>
6557 reported by Chris G. Demetriou <cgd@sibyte.com>
6558 * configure.in: Change -linux-* to -linux*.
6559 * configure: Regenerate.
6561 2001-01-05 Benjamin Kosnik <bkoz@redhat.com>
6563 Fix 27_io/filebuf_members.cc
6564 * src/localename.cc (locale::_Impl::_Impl(const _Impl& __imp,
6565 const string& __name, category __cat, size_t __refs): Set
6566 _M_has_name with _M_name.
6567 * include/bits/localefwd.h (locale::operator!=): Protect member
6568 function call with this->.
6569 * src/locale.cc (locale::operator==): Make fast checks first.
6570 * include/bits/basic_ios.tcc (basic_ios::init): Simplify.
6572 * include/bits/ios_base.h (_M_synced_with_stdio): Add data member
6574 * src/ios.cc (ios_base::Init::Init): Initialize here.
6575 (ios_base::sync_with_stdio): Set here.
6577 2001-01-04 Loren J. Rittle <ljrittle@acm.org>
6579 * config/c_io_stdio.cc (__basic_file<_CharT>::sys_open()): On
6580 systems that support it, call dup() before fdopen().
6582 2001-01-03 Benjamin Kosnik <bkoz@redhat.com>
6584 * include/c_std/bits/std_cwctype.h: Include std_cwchar.h for wint_t.
6585 * testsuite/17_intro/header_cwctype.cc (main): New file.
6587 * src/Makefile.am (base_headers): Change.
6588 * include/bits/std_string.h: And here.
6589 * include/bits/string.tcc: Tweaks, move to...
6590 * include/bits/basic_string.tcc: ...Here.
6591 * src/string-inst.cc: Simplify, just instantiate the whole class,
6592 not member-by-member.
6594 2001-01-02 Benjamin Kosnik <bkoz@redhat.com>
6596 * acinclude.m4 (GLIBCPP_ENABLD_CSTDIO): Add in default value.
6597 * aclocal.m4: Regenerate.
6598 * configure: Regenerate.
6600 * include/bits/c++config (__GLIBCPP__): Bump version number.
6602 * ChangeLog: Start new log for year 2001
6603 * ChangeLog-2000: New file.
6605 * docs/html/configopts.html: Make sure default values are current,
6608 2001-01-01 Benjamin Kosnik <bkoz@fillmore.redhat.com>
6610 * include/c_std/bits/std_cwchar.h: Same.
6611 * testsuite/17_intro/header_cwchar.cc: Same.
6612 * include/c_std/bits/std_ctime.h: Same.
6613 * testsuite/17_intro/header_ctime.cc: Same.
6614 * include/c_std/bits/std_cstdlib.h: Same.
6615 Clean up undefs, make consistent with cwchar and cmath, etc.
6616 * testsuite/17_intro/header_cstdlib.cc: Same.
6617 * include/c_std/bits/std_cstdio.h: Same here.
6618 * testsuite/17_intro/header_cstring.cc: Same.
6619 * include/c_std/bits/std_cstring.h: Include std_cstddef.h for size_t.
6620 * testsuite/17_intro/header_cstring.cc: New file. Check for
6621 size_t in namespace std.
6623 * include/c_std/bits/std_cwchar.h: Explicit checks for mbstate_t.
6624 * acconfig.h (HAVE_MBSTATE_T): Add.
6625 * config.h.in: Regenerate.
6626 * acinclude.m4(GLIBCPP_CHECK_WCHAR_T_SUPPORT): Always test for
6628 * aclocal.m4: Regenerate.
6629 * configure: Regenerate.
6630 * testsuite/17_intro/headers_c++.cc: New file.
6631 * testsuite/17_intro/headers_c.cc: Small changes.
6633 2001-01-01 David Billinghurst <David.Billinghurst@riotinto.com>
6635 * tests_flags.in: Fix typo in usage.
6637 * tests_flags.in: Set target specific LIBS for cygwin.