1 2002-01-22 Loren Rittle <ljrittle@acm.org>
3 * include/Makefile.am (c_base_builddir): Remove redundant slash.
4 (std_builddir): Likewise.
5 (std_headers_rename): Fix cut-n-paste typo.
6 (install-data-local): Concat path per element instead of once to
8 * include/Makefile.in: Rebuilt.
10 2002-01-22 Benjamin Kosnik <bkoz@redhat.com>
12 * config/os/aix/bits/ctype_noninline.h: Fix formatting.
13 * config/os/bsd/netbsd/bits/ctype_noninline.h: Fix typo.
14 * config/os/bsd/freebsd/bits/ctype_noninline.h: Fix formatting.
16 2002-01-20 Benjamin Kosnik <bkoz@redhat.com>
18 * include/bits/locale_facets.h (ctype<char>::classic_table):
20 (ctype<char>::_S_ctable): Remove.
21 * config/os/gnu-linux/bits/ctype_noninline.h
22 (ctype<char>::_S_table): Remove definition.
23 (ctype<char>::classic_table): Define.
24 (ctype<char>::ctype): Replace _S_ctable with classic_table().
25 * config/os/aix/bits/ctype_noninline.h: Same.
26 * config/os/bsd/freebsd/bits/ctype_noninline.h: Same.
27 * config/os/bsd/netbsd/bits/ctype_noninline.h: Same.
28 * config/os/djgpp/bits/ctype_noninline.h: Same.
29 * config/os/generic/bits/ctype_noninline.h: Same.
30 * config/os/gnu-linux/bits/ctype_noninline.h: Same.
31 * config/os/hpux/bits/ctype_noninline.h: Same.
32 * config/os/irix/irix5.2/bits/ctype_noninline.h: Same.
33 * config/os/irix/irix6.5/bits/ctype_noninline.h: Same.
34 * config/os/mingw32/bits/ctype_noninline.h: Same.
35 * config/os/newlib/bits/ctype_noninline.h: Same.
36 * config/os/solaris/solaris2.5/bits/ctype_noninline.h: Same.
37 * config/os/solaris/solaris2.6/bits/ctype_noninline.h: Same.
38 * config/os/solaris/solaris2.7/bits/ctype_noninline.h: Same.
40 2002-01-20 Danny Smith <dannysmith@users.sourceforge.net>
42 * config/os/mingw32/bits/ctype_noninline.h: Declare _ctype instead
43 of _pctype. Use to define _S_ctable. Add definition for alternate
44 ctor. Initialise _M_ctable to _S_ctable in ctors.
45 (do_toupper, do_tolower): Use inline code appropriate for C-locale
46 rather than ::toupper, ::tolower.
48 2002-01-18 Loren Rittle <ljrittle@acm.org>
50 * testsuite/18_support/numeric_limits.cc (test_extrema<long double>):
51 Add specialization for FreeBSD systems only to avoid losing test
52 only due to extra precision unmentioned in system headers.
54 2002-01-18 David Billinghurst <David.Billinghurst@riotinto.com>
56 * config/os/irix/irix6.5/bits/ctype_noninline.h: Fix typo
58 2002-01-17 Nick Clifton <nickc@cambridge.redhat.com>
60 * testsuite/testsuite_hooks.h: Fix comment typo. Memory
61 limiting is only attempted if _GLIBCPP_MEM_LIMIT is defined.
63 2002-01-17 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
65 * testsuite/22_locale/ctor_copy_dtor.cc: Remove check.
67 2002-01-17 David Edelsohn <edelsohn@gnu.org>
69 * configure.target: Define OPT_LDFLAGS for AIX case.
71 2002-01-17 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
73 * include/std/std_limits.h (__glibcpp_float_has_quiet_NaN,
74 __glibcpp_double_has_quiet_NaN): Correct mispelling.
76 2002-01-17 Andreas Tobler <toa@pop.agri.ch>
78 * config/os/solaris/solaris2.6/bits/ctype_noninline.h: Fix.
80 2002-01-16 David Edelsohn <dje@watson.ibm.com>
82 * acinclude.m4 (GLIBCPP_CHECK_LINKER_FEATURES): Do not clear
83 SECTION_LDFLAGS and OPT_LDFLAGS. Fix ac_sectionLDflags type.
84 * aclocal.m4: Regenerate.
85 * configure: Regenerate.
87 2002-01-16 Benjamin Kosnik <bkoz@redhat.com>
89 * include/Makefile.am (c_base_headers_rename): New.
90 (c_base_headers_extra): New.
91 (stamp-c_base): Modify.
92 (install-data-local): Use both.
93 * include/Makefile.in: Regenerate.
94 * include/c/[cctype ciso646 cmath cstdarg cstdlib cerrno climits
95 csetjmp cstddef cstring cwchar cassert cfloat clocale csignal
96 cstdio ctime cwctype]: Move to..
97 * include/c/std_*: Here.
98 * include/c_std/[cctype ciso646 cmath cstdarg cstdlib cerrno climits
99 csetjmp cstddef cstring cwchar cassert cfloat clocale csignal
100 cstdio ctime cwctype]: Move to..
101 * include/c_std/std_*: Here.
103 Alexandre Oliva <aoliva@redhat.com>
104 * include/Makefile.am (.PRECIOUS): Add rule.
105 * include/Makefile.in: Regenerate.
107 2002-01-16 Benjamin Kosnik <bkoz@redhat.com>
108 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
110 * include/bits/stl_iterator.h (reverse_iterator::_M_current):
111 Deuglify, should be current.
112 (back_insert_iterator::_M_container): Deuglify, should be container.
113 (front_insert_iterator::_M_container): Same.
114 (insert_iterator::_M_container): Same.
115 * testsuite/24_iterators/reverse_iterator.cc: Add check.
116 * testsuite/24_iterators/back_insert_iterator.cc: Add check.
117 * testsuite/24_iterators/front_insert_iterator.cc: Same.
118 * testsuite/24_iterators/insert_iterator.cc: Same.
120 2002-01-16 Benjamin Kosnik <bkoz@redhat.com>
122 * include/bits/locale_facets.h (ctype<char>::classic_table): Make
124 (ctype<char>::_M_ctable): Make static, change name to _S_ctable.
125 * config/os/gnu-linux/bits/ctype_noninline.h: Define _S_ctable.
126 * config/os/solaris/solaris2.7/bits/ctype_noninline.h: Same.
127 * config/os/solaris/solaris2.6/bits/ctype_noninline.h: Same.
128 * config/os/solaris/solaris2.5/bits/ctype_noninline.h: Same.
129 * config/os/newlib/bits/ctype_noninline.h: Same.
130 * config/os/irix/irix6.5/bits/ctype_noninline.h: Same.
131 * config/os/irix/irix5.2/bits/ctype_noninline.h: Same.
132 * config/os/hpux/bits/ctype_noninline.h: Same.
133 * config/os/djgpp/bits/ctype_noninline.h: Same.
134 * config/os/bsd/netbsd/bits/ctype_noninline.h: Same.
135 * config/os/bsd/freebsd/bits/ctype_noninline.h: Same.
136 * config/os/aix/bits/ctype_noninline.h: Same.
138 Testcase by Dietmar Kühl via Peter Schmid
139 * testsuite/22_locale/ctype_members_char.cc (char>): Add test for
142 2002-01-16 Benjamin Kosnik <bkoz@redhat.com>
144 * libmath/signbitl.c: Copyright years as list, not range.
145 * libmath/Makefile.am: Same.
146 * libmath/Makefie.in: Regenerate.
147 * libmath/signbit.c: Same.
148 * libmath/nan.c: Same.
149 * libmath/copysignf.c: Same.
150 * libmath/signbitf.c: Same.
151 * testsuite/22_locale/money_get_members_char.cc: Same.
152 * testsuite/22_locale/money_get_members_wchar_t.cc: Same.
153 * testsuite/22_locale/money_put_members_char.cc: Same.
154 * testsuite/22_locale/money_put_members_wchar_t.cc: Same.
155 * testsuite/22_locale/time_get_members_char.cc: Same.
156 * testsuite/22_locale/time_get_members_wchar_t.cc: Same.
157 * testsuite/22_locale/time_put_members_char.cc: Same.
158 * testsuite/22_locale/time_put_members_wchar_t.cc: Same.
159 * testsuite/21_strings/nonmember.cc: Same.
160 * testsuite/21_strings/compare.cc: Same.
161 * testsuite/27_io/stringstream.cc: Same.
162 * testsuite/27_io/stringbuf.cc: Same.
163 * testsuite/27_io/filebuf.cc: Same.
164 * testsuite/27_io/ios_manip_basefield.cc: Same.
165 * testsuite/27_io/ios_manip_fmtflags.cc: Same.
166 * include/bits/cpp_type_traits.h: Same.
167 * include/bits/generic_shadow.h: Same.
168 * include/bits/gslice_array.h: Same.
169 * include/bits/gslice.h: Same.
170 * include/bits/indirect_array.h: Same.
171 * include/bits/slice_array.h: Same.
172 * include/bits/sstream.tcc: Same.
173 * include/bits/streambuf_iterator.h: Same.
174 * include/bits/valarray_array.tcc: Same.
175 * include/bits/valarray_meta.h: Same.
176 * include/bits/valarray_array.h: Same.
177 * config/os/mingw32/bits/ctype_noninline.h: Same.
178 * config/os/mingw32/bits/ctype_base.h: Same.
179 * config/os/hpux/bits/ctype_noninline.h: Same.
180 * config/os/hpux/bits/ctype_base.h: Same.
181 * config/os/gnu-linux/bits/ctype_noninline.h: Same.
182 * config/os/gnu-linux/bits/ctype_base.h: Same.
183 * config/os/generic/bits/ctype_noninline.h: Same.
184 * config/os/generic/bits/ctype_base.h: Same.
186 * libsupc++/tinfo.h: Tweaks.
188 2002-01-15 Benjamin Kosnik <bkoz@redhat.com>
190 * testsuite/22_locale/num_put_members_wchar_t.cc (test02): Same.
191 * testsuite/22_locale/num_put_members_char.cc (test01): Tweak.
192 * testsuite/22_locale/ctype_members_char.cc: Tweak.
194 2002-01-15 Benjamin Kosnik <bkoz@redhat.com>
196 * include/bits/locale_facets.tcc (num_put::do_put(bool): Fix.
197 (num_put::do_put(void*)): Fix.
198 * testsuite/22_locale/num_put_members_char.cc (test02): Add.
199 * testsuite/22_locale/num_put_members_wchar_t.cc (test02): Add.
200 * testsuite/22_locale/num_get_members_char.cc (test02): Add
201 long double, void, bool types.
202 * testsuite/22_locale/num_get_members_wchar_t.cc (test02): Add.
204 2002-01-15 Benjamin Kosnik <bkoz@redhat.com>
205 Alexandre Oliva <aoliva@redhat.com>
207 * libmath/Makefile.am (LINK): Add --tag CC.
208 * libmath/Makefile.in: Regenerate.
210 2002-01-15 John David Anglin <dave@hiauly1.hia.nrc.ca>
212 * config/os/hpux/bits/ctype_noninline.h: Use __SB_masks for address
213 of character to attribute mapping table.
215 2002-01-15 David Billinghurst <David.Billinghurst@riotinto.com>
217 * testsuite/26_numerics/c99_classification_macros_c.cc
218 Remove dg-error and dg-excess-errors comments.
220 2002-01-14 Benjamin Kosnik <bkoz@redhat.com>
222 * include/bits/locale_facets.tcc (time_put::put): Correct output
224 * testsuite/22_locale/time_put_members_char.cc (test02): Add.
225 * testsuite/22_locale/time_put_members_wchar_t.cc (test02): Add.
226 * testsuite/22_locale/time_get_members_wchar_t.cc (test06): Add.
227 * testsuite/22_locale/time_get_members_char.cc (test06): Add.
229 2002-01-14 Craig Rodrigues <rodrigc@gcc.gnu.org>
231 * docs/html/17_intro/porting-howto.xml: Update filebuf section.
233 2002-01-14 Paolo Carlini <pcarlini@unitus.it>
234 Nathan Myers <ncm@cantrip.org>
236 * include/bits/basic_string.h
237 (replace(__pos, __n1, __s, __n2)): Optimize by avoiding
238 temporaries (i.e., call _M_replace_safe) when possible.
239 (replace(__pos, __n, __str)): Call replace(__pos, __n1, __s, __n2).
240 (replace(__pos, __n1, __s)): Call replace(__pos, __n1, __s , __n2).
241 (replace(__i1, __i2, __str)): Call replace(__i1, __i2, __s, __n).
242 (replace(__i1, __i2, __s)): Call replace(__i1, __i2, __s, __n).
243 (replace(__i1, __i2, __s, __n)): Call replace(__pos1, __n1, __s, __n2).
244 * include/bits/basic_string.tcc
245 (replace(__pos1, __n1, __str, __pos2, __n2)): Call
246 replace(__pos, __n1, __s, __n2).
247 * testsuite/21_strings/replace.cc (test03): New testcases.
249 * include/bits/basic_string.h (insert(__pos, __s, __n)):
250 Adjust comparison wrt overflow.
252 2002-01-12 Benjamin Kosnik <bkoz@redhat.com>
254 * include/Makefile.am (std_headers_rename): New variable.
255 (install-data-local): Use it.
256 * include/Makefile.in: Regenerate.
258 2002-01-12 Benjamin Kosnik <bkoz@redhat.com>
260 * include/bits/locale_facets.tcc (money_put::do_put(string):
261 Correct output iterator value.
262 * testsuite/22_locale/money_put_members_char.cc (test03): Add.
263 * testsuite/22_locale/money_put_members_wchar_t.cc: Same.
265 2002-01-11 Phil Edwards <pme@gcc.gnu.org>
267 * include/Makefile.am, include/Makefile.in (stamp-std): Fix typo from
270 2002-01-11 Phil Edwards <pme@gcc.gnu.org>
272 * include/Makefile.am (std_headers): Update list with new names.
273 (stamp-std): Link to standardized name.
274 * include/Makefile.in: Regenerate.
276 * include/std/algorithm, include/std/bitset, include/std/complex,
277 include/std/deque, include/std/fstream, include/std/functional,
278 include/std/iomanip, include/std/ios, include/std/iosfwd,
279 include/std/iostream, include/std/istream, include/std/iterator,
280 include/std/limits, include/std/list, include/std/locale,
281 include/std/map, include/std/memory, include/std/numeric,
282 include/std/ostream, include/std/queue, include/std/set,
283 include/std/sstream, include/std/stack, include/std/stdexcept,
284 include/std/streambuf, include/std/string, include/std/utility,
285 include/std/valarray, include/std/vector: Rename to...
287 * include/std/std_algorithm.h, include/std/std_bitset.h,
288 include/std/std_complex.h, include/std/std_deque.h,
289 include/std/std_fstream.h, include/std/std_functional.h,
290 include/std/std_iomanip.h, include/std/std_ios.h,
291 include/std/std_iosfwd.h, include/std/std_iostream.h,
292 include/std/std_istream.h, include/std/std_iterator.h,
293 include/std/std_limits.h, include/std/std_list.h,
294 include/std/std_locale.h, include/std/std_map.h,
295 include/std/std_memory.h, include/std/std_numeric.h,
296 include/std/std_ostream.h, include/std/std_queue.h,
297 include/std/std_set.h, include/std/std_sstream.h,
298 include/std/std_stack.h, include/std/std_stdexcept.h,
299 include/std/std_streambuf.h, include/std/std_string.h,
300 include/std/std_utility.h, include/std/std_valarray.h,
301 include/std/std_vector.h: ...this.
303 2002-01-11 Loren Rittle <ljrittle@acm.org>
305 * include/Makefile.am (extra_target_headers): New list of all
306 target files built with ad hoc naming rules.
307 (stamp-*): Handle LN_S failure in manner portable across make
309 (install-data-local): Install header files from human-maintained
310 file lists and directory components instead of non-robust find.
311 * include/Makefile.in: Rebuilt.
313 2002-01-11 Benjamin Kosnik <bkoz@redhat.com>
315 * include/bits/locale_facets.tcc (money_get::do_get(string)):
316 Check for zero-length negative sign before adding it to output
318 (money_get::do_get(long double)): Return beg.
319 * testsuite/22_locale/money_get_members_char.cc (test02): Add
321 * testsuite/22_locale/money_get_members_wchar_t.cc: Same.
323 2002-01-10 David Seymour <seymour_dj@yahoo.com>
326 * include/bits/locale_facets.h (num_get<>): Return advanced iterator
327 for _M_extract_float and _M_extract_int
328 * include/bits/locale_facets.tcc (num_get<>::_M_extract_float)
329 (num_get<>::_M_extract_int): Likewise, all callers changed
330 * testsuite/22_locale/num_get_members_char.cc: Testcase
332 2002-01-09 Paolo Carlini <pcarlini@unitus.it>
334 * libsupc++/exception (bad_exception): Add comment.
335 * libsupc++/new (bad_alloc): Same.
336 * libsupc++/typeinfo (bad_cast, bad_typeid): Same.
338 2002-01-09 Paolo Carlini <pcarlini@unitus.it>
340 libstdc++/3150: revert 2001-11-30 commit. DR266 only means
341 that the destructors should be removed from the descriptions
342 in the standard: writing them explicitly allows the vtable
343 heuristic to work. For additional information see:
344 http://gcc.gnu.org/ml/libstdc++/2002-01/msg00090.html
345 http://gcc.gnu.org/ml/libstdc++/2002-01/msg00110.html
346 http://gcc.gnu.org/ml/libstdc++/2002-01/msg00155.html
347 * libsupc++/exception (bad_exception::~bad_exception()):
348 Reintroduce declaration.
349 * libsupc++/new (bad_alloc::~bad_alloc()): Same.
350 * libsupc++/typeinfo (bad_cast::~bad_cast()): Same.
351 (bad_typeid::~bad_typeid()): Same.
352 * libsupc++/eh_exception.cc (bad_exception::~bad_exception()):
353 Reintroduce definition.
354 * libsupc++/new_handler.cc (bad_alloc::~bad_alloc()): Same.
355 * libsupc++/tinfo.cc (bad_cast::~bad_cast()): Same.
356 (bad_typeid::~bad_typeid()): Same.
358 2002-01-09 Benjamin Kosnik <bkoz@redhat.com>
360 * include/Makefile.am (c_base_srcdir): Remove duplicate '/'.
361 * include/Makefile.in: Regenerate.
363 2002-01-09 Bo Thorsen <bo@suse.co.uk>
365 * config/cpu/x86-64/bits/cpu_limits.h (__glibcpp_long_bits): Add
368 2002-01-08 Benjamin Kosnik <bkoz@redhat.com>
372 * include/bits/fstream.tcc (filebuf::_M_really_overflow): Test
373 return value of _M_file->sync().
374 (filebuf::showmanyc): Check for is_open.
375 * include/std/fstream (filebuf::sync): Tweak.
376 * testsuite/27_io/filebuf.cc: Tweak.
378 2002-01-08 John Fardo <jfardo@laurelnetworks.com>
379 Brad Garcia <garsh@attbi.com>
381 * testsuite/27_io/filebuf_members.cc: Add test.
383 2002-01-07 Benjamin Kosnik <bkoz@redhat.com>
384 Craig Rodrigues <rodrigc@mediaone.net>
387 * po/Makefile.am (mkinstalldirs): Add.
388 * po/Makefile.in: Regenerate.
390 2002-01-07 David Billinghurst <David.Billinghurst@riotinto.com>
392 * testsuite_flags.in: Add -fmessage-length=0 to CXXFLAGS *
393 testsuite/lib/prune.exp: Delete lines ":In function ..." from
395 * testsuite/23_containers/map_operators.cc: Remove
396 dg-excess-errors comment.
397 * testsuite/23_containers/set_operators.cc: Likewise.
399 2002-01-06 Paolo Carlini <pcarlini@unitus.it>
401 * include/bits/stl_function.h: Remove two lines of comments;
402 adjust copyright years.
404 2002-01-04 Benjamin Kosnik <bkoz@redhat.com>
406 * include/Makefile.am (std_headers): Remove cXXX from list.
407 (c_base_srcdir): No bits subdirectory.
408 (c_base_builddir): Same.
409 (c_base_headers): Adjust names, add ciso646.
410 (bits_headers): Remove std_xxx.h headers.
411 * include/Makefile.in: Regenerate.
413 * include/ext/iterator: Adjust includes.
414 * include/ext/ropeimpl.h: Same.
415 * include/ext/stl_hash_fun.h: Same.
416 * include/ext/algorithm: Same.
418 * include/backward/bvector.h: Adjust includes.
419 * include/backward/vector.h: Same.
420 * include/backward/strstream: Same.
421 * include/backward/streambuf.h: Same.
422 * include/backward/stack.h: Same.
423 * include/backward/set.h: Same.
424 * include/backward/queue.h: Same.
425 * include/backward/multiset.h: Same.
426 * include/backward/multimap.h: Same.
427 * include/backward/map.h: Same.
428 * include/backward/list.h: Same.
429 * include/backward/iterator.h: Same.
430 * include/backward/iostream.h: Same.
431 * include/backward/iomanip.h: Same.
432 * include/backward/fstream.h: Same.
433 * include/backward/deque.h: Same.
434 * include/backward/complex.h: Same.
436 * include/bits/std_algorithm.h: Move to...
437 * include/std/algorithm: ...here.
438 * include/bits/std_iosfwd.h, std_locale.h, std_stack.h,
439 std_bitset.h, std_ios.h, std_map.h, std_stdexcept.h,
440 std_complex.h, std_iostream.h, std_memory.h, std_streambuf.h,
441 std_deque.h, std_istream.h, std_numeric.h, std_string.h,
442 std_fstream.h, std_ostream.h, std_utility.h, std_iterator.h,
443 std_queue.h, std_valarray.h, std_functional.h, std_limits.h,
444 std_set.h, std_vector.h, std_iomanip.h, std_list.h, std_sstream.h:
447 * include/c_std/bits/std_cassert.h: Move to...
448 * include/c_std/cassert: Here.
449 * include/c_std/std_cctype.h, std_cerrno.h, std_cfloat.h,
450 std_climits.h, std_clocale.h, std_cmath.h, std_csetjmp.h,
451 std_csignal.h, std_cstdarg.h, std_cstddef.h, std_cstdio.h,
452 std_cstdlib.h, std_cstring.h, std_ctime.h, std_cwchar.h,
454 * include/c_std/cmath: Adjust cmath.tcc include.
455 * include/c_std/cstdlib: Adjust includes.
456 * include/c_std/cwchar: Same.
457 * include/c_std/ctime: Same.
458 * include/c_std/cstring: Same.
459 * include/c_std/cstdio: Same.
460 * include/c_std/bits: Remove directory.
462 * include/c/bits/std_cassert.h: Move to...
463 * include/c/cassert: Here.
464 * include/c/std_cctype.h, std_cerrno.h, std_cfloat.h,
465 std_climits.h, std_clocale.h, std_cmath.h, std_csetjmp.h,
466 std_csignal.h, std_cstdarg.h, std_cstddef.h, std_cstdio.h,
467 std_cstdlib.h, std_cstring.h, std_ctime.h, std_cwchar.h,
469 * include/c/bits: Remove directory.
471 * include/std/cwctype: Remove.
472 * include/std/cwchar: Remove.
473 * include/std/ctime: Remove.
474 * include/std/cstring: Remove.
475 * include/std/cstdlib: Remove.
476 * include/std/cstdio: Remove.
477 * include/std/cstddef: Remove.
478 * include/std/cstdarg: Remove.
479 * include/std/csignal: Remove.
480 * include/std/csetjmp: Remove.
481 * include/std/cmath: Remove.
482 * include/std/clocale: Remove.
483 * include/std/climits: Remove.
484 * include/std/ciso646: Remove.
485 * include/std/cfloat: Remove.
486 * include/std/cerrno: Remove.
487 * include/std/cctype: Remove.
488 * include/std/cassert: Remove.
490 * include/bits/fpos.h: Adjust includes, removing <bits/std_xxx.h>
491 files and subsituting <.xxx>
492 * include/bits/valarray_array.h: Same.
493 * include/bits/stl_uninitialized.h: Same.
494 * include/bits/stl_alloc.h: Same.
495 * include/bits/stl_algobase.h: Same.
496 * include/bits/sstream.tcc: Same.
497 * include/bits/pthread_allocimpl.h: Same.
498 * include/bits/ostream.tcc: Same.
499 * include/bits/localefwd.h: Same.
500 * include/bits/locale_facets.tcc: Same.
501 * include/bits/locale_facets.h: Same.
502 * include/bits/istream.tcc: Same.
503 * include/bits/char_traits.h: Same.
504 * include/bits/boost_concept_check.h: Same.
505 * include/bits/basic_file.h: Same.
506 * include/std/bitset: Same.
507 * include/std/complex: Same.
508 * include/std/fstream: Same.
509 * include/std/functional: Same.
510 * include/std/ios: Same.
511 * include/std/iostream: Same.
512 * include/std/ostream: Same.
513 * include/std/sstream: Same.
514 * include/std/streambuf: Same.
515 * include/std/string: Same.
516 * include/std/iterator: Same.
517 * include/std/valarray: Same.
519 * src/ios.cc: Adjust includes.
520 * src/valarray-inst.cc: Same.
521 * src/string-inst.cc: Same.
522 * src/stl-inst.cc: Same.
523 * src/stdexcept.cc: Same.
524 * src/misc-inst.cc: Same.
525 * src/localename.cc: Same.
526 * src/locale-inst.cc: Same.
527 * src/locale.cc: Same.
528 * src/limits.cc: Same.
529 * src/concept-inst.cc: Same.
530 * src/complex_io.cc: Same.
531 * src/codecvt.cc: Same.
532 * src/bitset.cc: Same.
533 * src/cmath.cc: Same.
535 2002-01-04 Paolo Carlini <pcarlini@unitus.it>
537 * include/bits/stl_tree.h (rb_tree): Move to...
538 * include/ext/rb_tree: ...here, new file.
539 * include/Makefile.am (ext_headers): Add new file.
540 * include/Makefile.in: Regenerate.
541 * include/bits/stl_tempbuf.h (get_temporary_buffer + helper,
542 return_temporary_buffer, struct temporary_buffer): Move to...
543 * include/ext/memory: ...here.
544 * testsuite/ext/headers.cc: Include <ext/rb_tree>.
545 * include/backward/tempbuf.h: Include <ext/memory>, tweak.
546 * include/backward/tree.h: Include <ext/rb_tree), tweak.
548 2002-01-03 Paolo Carlini <pcarlini@unitus.it>
550 * include/bits/stl_numeric.h (power + helpers, iota): Move to...
551 * include/ext/numeric: ...here, new file.
552 * include/bits/stl_function.h (identity_element, unary_compose,
553 binary_compose, compose1, compose2, identity, select1st,
554 select2nd, project1st + helper, project2nd + helper,
555 constant_void_fun + helper, constant_unary_fun + helper,
556 costant_binary_fun + helper, constant0, constant1, constant2,
557 subtractive_rng, mem_fun1, mem_fun1_ref): Move to...
558 * include/ext/functional: ...here, new file.
559 * include/Makefile.am (ext_headers): Add new files.
560 * include/Makefile.in: Regenerate.
561 * testsuite/ext/headers.cc: Include <ext/numeric> and
563 * include/backward/algo.h: Include <ext/numeric>, tweak.
564 * include/backward/function.h: Include <ext/functional>, tweak.
565 * include/ext/ropeimpl.h: Include <ext/numeric>.
567 2002-01-03 Jeffrey A Law <law@redhat.com>
569 * config/os/hpux/bits/os_defines.h: Prefix __strtoll and
570 __strtoull declarations with __extension__.
572 2002-01-03 David Billinghurst <David.Billinghurst@riotinto.com>
574 * testsuite/lib/prune.exp: Correct regular expression for
577 2002-01-02 Phil Edwards <pme@gcc.gnu.org>
579 * include/bits/stl_algo.h (upper_bound, equal_range, binary_search):
580 Change concept checks, as with lower_bound and PR 2054.
581 * testsuite/ext/concept_checks.cc: Expand test to include those.
583 2002-01-02 Phil Edwards <pme@gcc.gnu.org>
585 * include/bits/boost_concept_check.h: Import some changes from
586 upsteam (Boost) version.
588 2002-01-02 Paolo Carlini <pcarlini@unitus.it>
590 * include/bits/stl_algobase.h (copy_n + helpers,
591 lexicographical_compare_3way + helpers): Move to...
592 * include/ext/algorithm: ...here.
593 * include/bits/stl_uninitialized.h (uninitialized_copy_n +
595 * include/ext/memory: ...here, new file.
596 * include/Makefile.am (ext_headers): Add new file.
597 * include/Makefile.in: Regenerate.
598 * testsuite/ext/headers.cc: Include <ext/memory>.
599 * include/backward/algobase.h: Include <ext/memory> and
600 <ext/algorithm>, tweak.
601 * include/ext/ropeimpl.h: Include <ext/memory>, tweak.
602 * include/ext/stl_rope.h: Include <ext/memory>, tweak.
604 2002-01-01 Roger Sayle <roger@eyesopen.com>
606 * libmath/stubs.c (sinf,cosf): Implement stubs to enable the
607 equivalent ___builtin__ versions.
609 * include/c_shadow/bits/std_cmath.h: All __builtin math functions
610 are available in libstdc++ as the necessary stub implementations
611 are provided by libmath/stubs.c.
613 2002-01-01 Jason Thorpe <thorpej@wasabisystems.com>
615 * configure.in: Add support for NetBSD cross compiles.
616 * configure: Regenerate.
618 2001-12-31 Paolo Carlini <pcarlini@unitus.it>
620 * include/ext/iterator: Add #include <bits/std_iterator.h>, tweak.
621 * testsuite/ext/headers.cc: Add <ext/iterator>.
623 2001-12-31 Paolo Carlini <pcarlini@unitus.it>
625 * include/backward/algo.h: Add two more using declarations.
626 * include/backward/iterator.h: Include <ext/iterator>,
627 add using declaration.
628 * include/ext/algorithm: Add #pragma GCC system_header.
630 2001-12-31 Phil Edwards <pme@gcc.gnu.org>
632 * include/bits/stl_bvector.h: Change calls to 3-argument distance()
633 into standard 2-argument version.
634 * include/bits/stl_deque.h: Likewise.
635 * include/bits/stl_tempbuf.h: Likewise.
636 * include/bits/stl_tree.h: Likewise.
637 * include/bits/stl_vector.h: Likewise.
638 * include/ext/stl_hashtable.h: Likewise.
639 * include/bits/stl_iterator_base_funcs.h: Move distance() extension...
640 * include/ext/iterator: to here. New file.
641 * include/Makefile.am (ext_headers): Add new file, alphabatize.
642 * include/Makefile.in: Regenerate.
644 2001-12-31 Phil Edwards <pme@gcc.gnu.org>
646 * include/bits/stl_deque.h: Doxygenate with initial/example hooks.
647 Clean up spacing and indentation.
649 2001-12-31 Paolo Carlini <pcarlini@unitus.it>
651 * include/ext/slist: Move into __gnu_cxx,
652 tweak, add using declarations.
654 2001-12-31 Paolo Carlini <pcarlini@unitus.it>
656 * include/ext/hash_map: Move into __gnu_cxx,
657 tweak, add using declarations.
658 * include/ext/hash_set: Ditto.
659 * include/ext/ropeimpl.h: Ditto.
660 * include/ext/stl_hash_fun.h: Ditto.
661 * include/ext/stl_hashtable.h: Ditto.
662 * include/ext/stl_rope.h: Ditto.
663 * src/ext-inst.cc: Tweak.
664 * testsuite/ext/rope.cc: Tweak.
666 2001-12-31 Paolo Carlini <pcarlini@unitus.it>
668 * include/backward/algo.h: Include <ext/algorithm>,
669 tweak using declarations.
671 2001-12-29 Richard Henderson <rth@redhat.com>
673 * config/os/hpux/bits/os_defines.h: Don't define __glibcpp_long_bits.
674 * config/os/hpux/bits/cpu_limits.h: New file.
675 * configure.target (CPULIMITSH): Use it.
677 2001-12-28 Richard Henderson <rth@redhat.com>
679 * config/cpu/ia64/bits/cpu_limits.h: New file.
680 * config/os/osf/osf5.0/bits/cpu_limits.h: New file.
681 * configure.target (CPULIMITSH): Use them.
683 2001-12-28 Phil Edwards <pme@gcc.gnu.org>
685 * include/bits/c++config: Move doxygen hook comment...
686 * docs/doxygen/doxygroups.cc: ...to here.
688 2001-12-28 Phil Edwards <pme@gcc.gnu.org>
691 * include/bits/stl_algo.h (lower_bound): Relax concept checks.
692 * testsuite/ext/concept_checks.cc: New file.
694 2001-12-28 Paolo Carlini <pcarlini@unitus.it>
696 * include/bits/stl_algo.h (count returning void,
697 count_if returning void, __random_sample, random_sample,
698 random_sample_n, __is_heap, is_heap, is_sorted): Move to...
699 * include/ext/algorithm: ...here, new file.
700 * include/Makefile.am (ext_headers): Add new file.
701 * include/Makefile.in: Regenerate.
702 * testsuite/ext/headers.cc: Include <ext/algorithm>.
704 2001-12-28 Paolo Carlini <pcarlini@unitus.it>
705 Nathan Myers <ncm@cantrip.org>
707 * include/bits/basic_string.h (insert(__pos, __s, __n)):
708 Optimize by avoiding temporaries and working in-place when possible.
709 (insert(__pos1, __str)): Call insert(__pos1, __str, __pos2, __n).
710 (insert(__pos1, __str, __pos2, __n)): Call insert(__pos, __s, __n).
711 * testsuite/21_strings/insert.cc (test02): New testcases.
713 2001-12-27 Phil Edwards <pme@gcc.gnu.org>
715 * testsuite/testsuite_hooks.h (gnu_counting_struct): Add.
716 * testsuite/23_containers/deque_ctor.cc: New file.
718 2001-12-27 Paolo Carlini <pcarlini@unitus.it>
720 * include/bits/locale_facets.tcc (collate::do_transform):
721 Adjust implicit typename.
722 * config/locale/messages_members_generic.h (messages::open,
723 messages::do_open, messages::do_get): Adjust implicit typename.
724 * config/locale/messages_members_gnu.h (messages::open,
725 messages::do_open, messages::do_get): Adjust Implicit typename.
726 * config/locale/messages_members_ieee_1003.1-200x.h (messages::open,
727 messages::do_open, messages::do_get): Adjust implicit typename.
729 2001-12-27 Phil Edwards <pme@gcc.gnu.org>
732 * src/misc-inst.cc: Many additional I/O-related instantiations.
733 * testsuite/27_io/instantiations.cc: New file.
735 2001-12-26 Benjamin Kosnik <bkoz@waller.constant.com>
737 * testsuite/24_iterators/insert_iterator.cc (test02): Add.
738 * testsuite/24_iterators/front_insert_iterator.cc (test02): Add.
739 * testsuite/24_iterators/back_insert_iterator.cc (test02): Add.
740 * testsuite/24_iterators/reverse_iterator.cc (test02): Add.
742 * include/bits/stl_iterator.h (reverse_iterator): Uglify member
743 current to _M_current.
744 (back_insert_iterator): Uglify member container to _M_container.
745 (front_insert_iterator): Same.
746 (insert_iterator): Same.
748 2001-12-25 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
750 * include/bits/std_limits.h (__glibcpp_xxx_is_modulo): New
751 macros for signed types; default value is true.
752 (numeric_limits<>::is_modulo): Get value from corresponding
753 __glibcpp_xxx_is_modulo macro.
755 2001-12-23 Jeffrey A Law <law@redhat.com>
757 * config/os/hpux/bits/os_defines.h: Do not include <_sys/inttypes.h>.
758 Twiddle return types for strtoll and strtoull to avoid using
759 intmax_t and uintmax-t.
761 2001-12-22 Richard Henderson <rth@redhat.com>
763 * configure.target (CPULIMITSH): Fix typo in alpha case.
765 2001-12-22 Jeffrey A Law <law@redhat.com>
767 * config/os/hpux/bits/os_defines.h: Update to avoid #defines
768 for strtoll and strtoull.
770 2001-12-21 Jeffrey A Law <law@redhat.com>
772 * config/os/hpux/bits/os_defines.h: Include <sys/_inttypes.h.
773 Define strtoll and strtoull. Provide prototypes for
774 __strtoll and __strtoull. Define _GLIBCPP_USE_LONG_LONG
777 * src/locale-inst.cc: Include <bits/std_cstdlib.h>
779 * configure.target: Fix typo in hpux case.
781 2001-12-21 Paolo Carlini <pcarlini@unitus.it>
783 * include/ext/stl_rope.h (_Rope_iterator):
784 Add local typedef to fix implicit typename problems.
786 2001-12-19 Phil Edwards <pme@gcc.gnu.org>
788 * docs/doxygen/Intro.3: New 'Allocators' module.
789 * docs/doxygen/TODO: Update.
790 * docs/doxygen/doxygroups.cc: Update.
791 * docs/doxygen/run_doxygen: Update.
793 * include/bits/stl_alloc.h: Tweak doxygen hooks in comments.
794 * include/bits/std_memory.h: Doxygenate.
795 * include/bits/stl_iterator_base_types.h: Likewise.
796 * include/bits/stl_raw_storage_iter.h: Likewise.
797 * include/bits/stl_tempbuf.h: Likewise.
798 (get_temporary_buffer): Remove unused nonstandard overload.
799 * include/bits/stl_uninitialized.h: Likewise.
801 * include/bits/stl_iterator_base_types.h (input_iterator,
802 output_iterator, forward_iterator, bidirectional_iterator,
803 random_access_iterator): Move old names...
804 * include/backward/iterator.h: ...to here.
805 * include/bits/stl_bvector.h: Update.
806 * include/ext/stl_rope.h: Update.
808 2001-12-19 Phil Edwards <pme@gcc.gnu.org>
810 * docs/html/configopts.html: Describe recent options.
811 * docs/html/documentation.html: Point to new doxygen tarballs.
812 * docs/html/install.html: Brief updates.
813 * docs/html/17_intro/RELEASE-NOTES: Remove weird control character.
814 * docs/html/ext/howto.html: Fix typos, describe filebuf::fd().
815 * docs/html/faq/index.html: Update for 3.0.95.
816 * docs/html/faq/index.txt: Regenerate.
818 2001-12-19 David Billinghurst <David.Billinghurst@riotinto.com>
821 * testsuite/lib/libstdc++-v3-dg.exp: Append .exe to
824 2001-12-18 Benjamin Kosnik <bkoz@redhat.com>
826 * docs/html/17_intro/TODO: Update.
827 * docs/html/17_intro/RELEASE-NOTES: Edits, update.
828 * README: Edit for clarity, update to reflect current directory
831 2001-12-18 Benjamin Kosnik <bkoz@redhat.com>
833 * acinclude.m4 (GLIBCPP_ENABLE_CLOCALE): Extended checking before
835 * aclocal.m4: Rebuild.
836 * configure: Rebuild.
838 2001-12-18 Paolo Carlini <pcarlini@unitus.it>
839 Nathan Myers <ncm@cantrip.org>
841 * include/bits/basic_string.h (assign(__str, __pos, __n)):
842 Call assign(__s, __n).
843 (assign(__s, __n)): Terminate the string with _S_terminal.
845 2001-12-17 Benjamin Kosnik <bkoz@redhat.com>
847 * include/bits/std_limits.h (__glibcpp_long_double_is_bounded):
848 Set to true, like float and double.
850 2001-12-17 David Billinghurst <David.Billinghurst@riotinto.com>
853 * testsuite/lib/prune.exp: New file
854 * testsuite/lib/libstdc++-v3-dg.exp: Use it
856 2001-12-17 Phil Edwards <pme@gcc.gnu.org>
858 * include/bits/basic_file.h (__basic_file::fd): New function.
859 * config/io/basic_file_stdio.h (__basic_file::fd): Define.
860 * include/bits/std_fstream.h (basic_filebuf::fd): New function.
861 * include/bits/fstream.tcc (basic_filebuf::fd): Define.
862 * testsuite/27_io/filebuf_members.cc (test_02): New test.
864 2001-12-16 Nathan Sidwell <nathan@codesourcery.com>
866 * po/Makefile.am (.po.mo): Use POSIXLY_CORRECT argument ordering.
867 * po/Makefile.in: Regenerated.
869 2001-12-16 Paolo Carlini <pcarlini@unitus.it>
871 * testsuite/21_strings/assign.cc (test01): Add tests.
873 2001-12-15 Paolo Carlini <pcarlini@unitus.it>
874 Nathan Myers <ncm@cantrip.org>
876 * include/bits/basic_string.h
877 (assign(__str, __pos, __n), assign(__s, __n)): Optimize
878 by avoiding unnecessary temporaries.
879 (assign(__s)): Call assign(__s, __n).
880 * include/bits/basic_string.tcc (_M_replace_safe): Adjust comment.
881 * include/bits/std_string.h: include stl_function.h.
882 * testsuite/21_strings/assign.cc (test02, test03): New tests.
884 2001-12-15 Benjamin Kosnik <bkoz@redhat.com>
886 * acinclude.m4 (GLIBCPP_ENABLE_CLOCALE): Enable gnu locale model
888 * aclocal.m4: Regenerate.
889 * configure: Regenerate.
891 2001-12-14 Benjamin Kosnik <bkoz@redhat.com>
893 Clean up initialization and simplfy caching of underlying "C"
894 default locale objects.
895 * src/localename.cc (locale::_Impl::_Impl(string, size_t):
896 Unconditionally create __clocale object for all named locales,
897 including "C" and "POSIX".
898 * config/locale/c_locale_generic.cc
899 (locale::facet::_S_create_c_locale): Always set __cloc to zero.
900 * config/locale/c_locale_gnu.cc: Always delete.
901 * include/bits/localefwd.h (locale::facet::_S_c_locale): New.
902 * src/locale.cc (locale::classic()): Initialize
903 locale::facet::_S_c_locale.
904 (locale::facet::_S_c_locale): Define.
906 * include/bits/locale_facets.h: Add ctype_byname<wchar_t> ctor
908 * src/locale.cc: Add definition here.
909 * config/os/gnu-linux/bits/ctype_inline.h: Tweak.
910 * config/os/gnu-linux/bits/ctype_noninline.h: Adjust initializations.
911 * include/bits/locale_facets.h (ctype<char>::_M_c_locale_ctype): Add.
913 (ctype<char>::_M_toupper): Remove const&.
914 (ctype<char>::_M_tolower): Remove const&.
915 (ctype<char>::_M_ctable): Remove const&.
917 * include/bits/locale_facets.h (collate): Clean up initialization
918 of _M_c_locale_collate in ctors and dtors.
919 * config/locale/collate_members_gnu.cc: Always use extended
922 * include/bits/locale_facets.h (messages): Clean up inits in ctor/dtor.
923 (messages_byname): Same.
924 * config/locale/messages_members_generic.h (messages::~messages):
926 * config/locale/messages_members_gnu.h: Same.
928 * include/bits/localefwd.h: Clean. Move dtor definitions to
929 * src/locale.cc: Here.
930 * testsuite/22_locale/facet.cc: Fix spelling.
932 Named locale support for ctype<wchar_t>.
933 * acinclude.m4 (GLIBCPP_ENABLE_CLOCALE): Add variable
934 ctype_members_* bits.
935 * aclocal.m4: Regenerate.
936 * configure: Regenerate.
937 * src/Makefile.am (sources): Add ctype.cc.
938 * src/Makefile.in: Regenerate.
939 * config/locale/ctype_members_generic.cc: New file.
940 * config/locale/ctype_members_gnu.cc: New file.
941 * src/locale.cc: Remove ctype<wchart_t> definitions.
943 2001-12-13 Roger Sayle <roger@eyesopen.com>
945 * acconfig.h: Test for __builtin_sqrt instead of
947 * acinclude.m4: Same.
948 * include/c_shadow/bits/std_cmath.h: Same.
949 * aclocal.m4: Regenerated.
950 * config.h.in: Regenerated.
951 * configure: Regenerated.
953 2001-12-13 Phil Edwards <pme@gcc.gnu.org>
955 * docs/html/ext/howto.html: Fix typos.
957 2001-12-13 Benjamin Kosnik <bkoz@redhat.com>
960 * src/locale.cc (locale::locale(const char*)): Deal with locales
962 * testsuite/22_locale/ctor_copy_dtor.cc (test01): Modify.
964 2001-12-12 Paolo Carlini <pcarlini@unitus.it>
966 * include/ext/ropeimpl.h (rope::_S_leaf_concat_char_iter,
967 _S_destr_leaf_concat_char_iter, _S_tree_concat, _S_concat_char_iter,
968 _S_destr_concat_char_iter, _S_concat, _S_substring, _S_balance)
969 : Adjust implicit typename.
970 * include/ext/stl_rope.h (_Rope_iterator::operator=, rope::npos):
971 Adjust implicit typename.
972 * testsuite/27_io/streambuf.cc: Adjust implicit typename.
974 2001-12-12 Benjamin Kosnik <bkoz@redhat.com>
976 Named locale support for ctype<char>.
977 * config/locale/c_locale_gnu.h (_GLIBCPP_C_LOCALE_GNU): New.
978 * config/os/gnu-linux/bits/ctype_noninline.h (ctype<char>): Add
979 definitions for alternate constructor.
980 * config/os/solaris/solaris2.7/bits/ctype_noninline.h (ctype): Same.
981 * config/os/solaris/solaris2.6/bits/ctype_noninline.h (ctype): Same.
982 * config/os/solaris/solaris2.5/bits/ctype_noninline.h (ctype): Same.
983 * config/os/newlib/bits/ctype_noninline.h (ctype): Same.
984 * config/os/irix/irix6.5/bits/ctype_noninline.h (ctype): Same.
985 * config/os/irix/irix5.2/bits/ctype_noninline.h (ctype): Same.
986 * config/os/hpux/bits/ctype_noninline.h (ctype): Same.
987 * config/os/generic/bits/ctype_noninline.h (ctype): Same.
988 * config/os/djgpp/bits/ctype_noninline.h (ctype): Same.
989 * config/os/bsd/netbsd/bits/ctype_noninline.h (ctype): Same.
990 * config/os/bsd/freebsd/bits/ctype_noninline.h (ctype): Same.
991 * config/os/aix/bits/ctype_noninline.h (ctype): Same.
992 * include/bits/locale_facets.h (ctype<_CharT>): Remove dummy
993 definitions for all virtual functions. These are now explicitly
994 undefined for non-required factets, ie any non-char, non-wchar_t
996 * src/localename.cc (locale::_Impl::_Impl(string, size_t): Named
997 locales use alternate constructor for ctype facet.
998 * include/bits/locale_facets.h (ctype<char>::ctype(__c_locale, const
999 mask*, bool, size_t): Add.
1000 (ctype<wchar_t>::ctype(__c_locale, size_t): Add.
1001 * src/locale.cc (ctype<wchar_t>::ctype(__c_locale, size_t)): Add
1004 * testsuite/22_locale/ctype_members_char.cc (test02): Add, mark
1005 XFAIL for non-gnu locale models.
1007 2001-12-12 Philip Martin <philip@codematters.co.uk>
1008 Ross Smith <r-smith@ihug.co.nz>
1009 Paolo Carlini <pcarlini@unitus.it>
1012 * include/bits/std_limits.h (defines, numeric_limits<bool>::digits10):
1013 Fix digits10 values for integral types.
1014 * include/bits/locale_facets.tcc (num_get::do_get for integral types):
1015 Tweak _M_extract_int call.
1016 * testsuite/27_io/istream_extractor_arith.cc (test13, test12_aux):
1017 Tweak overflowing number of digits.
1018 * testsuite/18_support/numeric_limits.cc (test03): New testcase.
1020 2001-12-11 Benjamin Kosnik <bkoz@redhat.com>
1022 * config/os/generic/bits/ctype_inline.h: Remove spaces.
1023 * config/os/gnu-linux/bits/ctype_noninline.h: Same.
1024 * include/bits/locale_facets.h (__num_base): Move double data
1025 members to first in class.
1026 * include/bits/locale_facets.tcc: Re-arrange, tweak.
1027 * src/locale.cc: Clean.
1028 *include/bits/stl_vector.h: Space typedefs.
1030 2001-12-11 Phil Edwards <pme@gcc.gnu.org>
1032 * testsuite/ext/allocators.cc: New file.
1034 2001-12-11 Jason Merrill <jason@redhat.com>
1036 * include/bits/locale_facets.tcc (_M_extract_int): Avoid
1037 uninitialized warning.
1039 2001-12-11 Loren Rittle <ljrittle@acm.org>
1041 * config/cpu/sparc/sparc32/bits/atomicity.h
1042 (__Atomicity_lock<0>::_S_atomicity_lock): Add.
1044 2001-12-10 Paolo Carlini <pcarlini@unitus.it>
1046 * include/bits/basic_string.tcc (_M_replace_safe): Fix typos.
1047 * include/bits/basic_string.h: Fix typos.
1049 2001-12-10 Paolo Carlini <pcarlini@unitus.it>
1050 Nathan Myers <ncm@cantrip.org>
1052 * include/bits/basic_string.tcc (_M_replace_safe): New function.
1053 (_M_replace(input_iterator_tag), append members): Use it.
1054 (_M_replace(forward_iterator_tag)): Remove.
1055 * include/bits/basic_string.h: Adjust declarations.
1056 * src/string-inst.cc: Adjust declarations.
1058 2001-12-09 Benjamin Kosnik <bkoz@redhat.com>
1059 Philip Martin <pmartin@uklinux.net>
1061 * include/bits/locale_facets.h (__num_base::_S_scale_hex): Add.
1062 (__num_base::_S_scale_oct): Add.
1063 * include/bits/locale_facets.tcc (_M_extract_int): Use them.
1064 * src/locale.cc: Add definitions.
1065 * testsuite/27_io/istream_extractor_arith.cc (main): Call test13.
1067 * testsuite/testsuite_hooks.h: Remove duplicate VERIFY define.
1069 2001-12-07 Nathan Myers <ncm@cantrip.org>
1070 Loren Rittle <ljrittle@acm.org>
1073 * config/cpu/sparc/sparc32/bits/atomicity.h
1074 (struct __Atomicity_lock<__inst>): Add.
1075 (__Atomicity_lock<__inst>::_S_atomicity_lock): Add.
1076 (__exchange_and_add): Use __Atomicity_lock<0>::_S_atomicity_lock
1077 instead of lock local to static function.
1078 (__atomic_add): Likewise.
1080 2001-12-07 Phil Edwards <pme@gcc.gnu.org>
1082 * src/globals.cc: Remove __GTHREADS guard.
1084 2001-12-07 Paolo Carlini <pcarlini@unitus.it>
1086 * include/bits/locale_facets.tcc (num_put::_M_convert_float):
1087 Extend comment, reduce __cs_size for non-fixed outputs.
1089 2001-12-07 Paolo Carlini <pcarlini@unitus.it>
1091 * include/bits/basic_string.tcc (_M_mutate): Fix typo
1092 in the previous check in.
1094 2001-12-06 Paolo Carlini <pcarlini@unitus.it>
1095 Loren J. Rittle <ljrittle@acm.org>
1097 * include/bits/basic_string.tcc (_M_mutate, _M_clone): Implement
1098 exponential growth policy to meet linear amortized time
1099 requirements of the standard.
1100 (_S_create): Adjust comment.
1102 2001-12-06 Benjamin Kosnik <bkoz@redhat.com>
1105 * include/bits/locale_facets.tcc (num_put): Clean.
1106 (num_get::_M_extract_float): Change argument to string.
1107 (num_get::do_get(float)): Fixup.
1108 (num_get::do_get(double)): Same.
1109 (num_get::do_get(long double)): Same.
1110 (num_get::_M_extract_int): Add maximum length parameter, __max.
1111 (num_get::_M_extract_float): Correct zeros, use string.
1112 * include/bits/locale_facets.h (num_get::_M_extract_float): Change
1114 * src/locale.cc (__num_base::_S_atoms): Remove x, X.
1115 * testsuite/27_io/istream_extractor_arith.cc (test13): Add.
1117 2001-12-06 Philip Martin <pmartin@uklinux.net>
1119 * testsuite/27_io/istream_extractor_arith.cc (test12): Add
1120 tests for excess input digits.
1122 2001-12-06 Phil Edwards <pme@gcc.gnu.org>
1124 * include/bits/std_bitset.h: Use GLIBCPP in multiple-inclusion guard.
1125 * include/bits/stl_algo.h: Likewise.
1126 * include/bits/stl_algobase.h: Likewise.
1127 * include/bits/stl_bvector.h: Likewise.
1128 * include/bits/stl_deque.h: Likewise.
1129 * include/bits/stl_function.h: Likewise.
1130 * include/bits/stl_iterator.h: Likewise.
1131 * include/bits/stl_iterator_base_funcs.h: Likewise.
1132 * include/bits/stl_iterator_base_types.h: Likewise.
1133 * include/bits/stl_list.h: Likewise.
1134 * include/bits/stl_multimap.h: Likewise.
1135 * include/bits/stl_multiset.h: Likewise.
1136 * include/bits/stl_pair.h: Likewise.
1137 * include/bits/stl_queue.h: Likewise.
1138 * include/bits/stl_set.h: Likewise.
1139 * include/bits/stl_stack.h: Likewise.
1140 * include/bits/stl_tempbuf.h: Likewise.
1141 * include/bits/stl_tree.h: Likewise.
1142 * include/bits/stl_vector.h: Likewise.
1144 * include/bits/stl_alloc.h: Use our own multiple inclusion guards.
1145 Doxygenate more comments. Correct historical artifacts in comments.
1146 (alloc, single_alloc): Uglify non-standard names.
1147 (__default_alloc_template::_NFREELISTS): Calculate from other
1149 (__default_alloc_template::_S_free_list): Remove SunPro workaround.
1150 (__default_alloc_template::_Lock): Mark as "unused".
1151 * include/backward/alloc.h: Update.
1152 * include/bits/stl_bvector.h: Likewise.
1153 * include/ext/ropeimpl.h: Likewise.
1154 * include/ext/stl_hashtable.h: Likewise.
1156 2001-12-05 Benjamin Kosnik <bkoz@redhat.com>
1159 * include/bits/locale_facets.tcc (num_put::_M_widen_float): Add
1160 grouping to floating point types.
1161 * testsuite/27_io/ostream_inserter_arith.cc (test02): Add test.
1163 2001-12-04 Paolo Carlini <pcarlini@unitus.it>
1166 * testsuite/27_io/ostream_inserter_arith.cc (test02): Add testcase
1168 * include/bits/locale_facets.tcc (num_put::_M_convert_float):
1169 Deal properly with long ios_base::fixed floats.
1170 (num_put::_M_widen_float): use
1171 __len in __builtin_alloca call.
1173 2001-12-04 Benjamin Kosnik <bkoz@redhat.com>
1175 * src/Makefile.am (sources): Add ext-inst.cc.
1176 * src/Makefile.in: Regenerate.
1177 * src/ext-inst.cc: New file.
1178 * include/bits/stl_threads.h: Format.
1179 * src/globals.cc: Add instantiation for _S_swap_lock.
1181 * testsuite/18_support/numeric_limits.cc: Add numeric_limits<B>
1184 2001-12-04 John David Anglin <dave@hiauly1.hia.nrc.ca>
1186 * testsuite/22_locale/numpunct_members_wchar_t.cc: Only compile
1187 and execute test01 if _GLIBCPP_USE_WCHAR_T is defined.
1188 * testsuite/26_numerics/complex_inserters_extractors.cc: Provide
1189 for explicit instantiation of class std::basic_string<char,
1190 gnu_char_traits, std::allocator<char> >.
1192 2001-12-03 Benjamin Kosnik <bkoz@redhat.com>
1194 * testsuite/22_locale/collate.cc: Compile-only.
1195 * testsuite/22_locale/time_get.cc: Same.
1196 * testsuite/22_locale/time_put.cc: Same.
1197 * testsuite/22_locale/numpunct.cc: Same.
1198 * testsuite/22_locale/num_put.cc: Same.
1199 * testsuite/22_locale/num_get.cc: Same.
1200 * testsuite/22_locale/moneypunct.cc: Same.
1201 * testsuite/22_locale/money_get.cc: Same.
1202 * testsuite/22_locale/messages.cc: Same.
1203 * testsuite/22_locale/ctype.cc: Same.
1205 2001-12-03 Benjamin Kosnik <bkoz@redhat.com>
1207 * src/string-inst.cc (string::_Rep::_S_terminal): Add static data
1208 member instantiations.
1210 2001-12-03 Steve Ellcey <sje@cup.hp.com>
1212 * libstdc++-v3/configure.in: Add support for hpux cross compiles,
1213 combine common linux/hpux/generic cross compile support to reduce
1215 * libstdc++-v3/configure: Regenerate.
1217 2001-12-03 Loren J. Rittle <ljrittle@acm.org>
1219 * docs/html/ext/howto.html: Update commentary.
1220 * include/bits/c++config: Update threading configuration comment.
1221 (__STL_GTHREADS): Remove macro definition.
1222 (__STL_THREADS): Likewise.
1223 * include/bits/stl_threads.h: Leave only the configuration
1224 path which had been guarded by __STL_GTHREADS. Remove all
1225 guards related to __STL_GTHREADS, __STL_SGI_THREADS,
1226 __STL_PTHREADS, __STL_UITHREADS and __STL_WIN32THREADS.
1227 * include/bits/stl_alloc.h: Leave only the configuration path
1228 which had been guarded by __STL_THREADS. Remove configuration
1229 path and guards for __STL_SGI_THREADS.
1230 (__NODE_ALLOCATOR_THREADS): Remove macro definition. Unroll its use.
1231 (__NODE_ALLOCATOR_LOCK): Likewise.
1232 (__NODE_ALLOCATOR_UNLOCK): Likewise.
1233 (_NOTHREADS): Remove guards related to macro.
1234 * include/ext/stl_rope.h: Remove configuration path and guards
1235 for __STL_SGI_THREADS.
1236 * src/stl-inst.cc: Remove use of __NODE_ALLOCATOR_THREADS.
1238 2001-12-02 Phil Edwards <pme@gcc.gnu.org>
1240 * docs/html/ext/howto.html: Update list of implemented DRs.
1241 * docs/html/ext/lwg-active.html: Import R20 from upstream.
1242 * docs/html/ext/lwg-defects.html: Import R20 from upstream.
1244 2001-11-30 Benjamin Kosnik <bkoz@redhat.com>
1248 * libsupc++/exception (bad_exception::~bad_exception()): Remove
1250 * libsupc++/new (bad_alloc::~bad_alloc()): Remove.
1251 * libsupc++/typeinfo (bad_cast::~bad_cast()): Remove.
1252 (bad_typeid::~bad_typeid()): Remove.
1253 * libsupc++/tinfo.cc (bad_cast::~bad_cast()): Remove definition.
1254 (bad_typeid::~bad_typeid()): Same.
1255 * libsupc++/new_handler.cc (bad_alloc::~bad_alloc()): Same.
1256 * libsupc++/eh_exception.cc (bad_exception::~bad_exception()): Same.
1258 * include/bits/std_iomanip.h: Tweak.
1260 2001-11-29 Paolo Carlini <pcarlini@unitus.it>
1263 * include/bits/locale_facets.tcc (__pad): Add bool parameter to
1264 correctly pad internal-adjusted const char*-type objects.
1265 * include/bits/locale_facts.tcc (num_put::_M_insert): Update call.
1266 * include/bits/ostream.tcc (operator<<(_CharT , char, const
1267 _CharT*, const char*, const basic_string&): Update calls.
1268 * src/locale-inst.tcc: Update declarations.
1269 * testsuite/27_io/ostream_inserter_arith.cc (test04): Add test.
1271 2001-11-29 Phil Edwards <pme@gcc.gnu.org>
1273 * docs/html/ext/howto.html: Finish allocator notes (inst and 3.0).
1275 2001-11-29 Benjamin Kosnik <bkoz@redhat.com>
1277 * include/bits/locale_facets.tcc (num_get::do_get(long double)):
1278 Fix __traits_type typo.
1280 2001-11-28 Paolo Carlini <pcarlini@unitus.it>
1282 * include/bits/locale_facets.tcc (__pad): Correctly pad
1283 internal-adjusted hex numbers.
1284 * testsuite/27_io/ostream_inserter_arith.cc: Add testcase.
1286 2001-11-28 Paolo Carlini <pcarlini@unitus.it>
1287 Loren J. Rittle <ljrittle@acm.org>
1289 * include/bits/basic_string.h
1290 (basic_string::_Rep::__default_excess, _S_excess_slop):
1292 * include/bits/basic_string.tcc: Remove dead code.
1293 * include/bits/c++config: Remove comment.
1295 2001-11-28 Benjamin Kosnik <bkoz@redhat.com>
1296 Jakub Jelinek <jakub@redhat.com>
1298 * config/locale/moneypunct_members_gnu.cc
1299 (moneypunct<wchar_t>::_M_initialize_moneypunct): Correctly cast
1301 * config/locale/numpunct_members_gnu.cc
1302 (numpunct<wchar_t>::_M_initialize_numpunct): Same.
1304 2001-11-27 Benjamin Kosnik <bkoz@redhat.com>
1306 * include/bits/locale_facets.tcc: Formatting tweaks.
1308 * testsuite/23_containers/map_operators.cc: Don't xfail.
1309 * testsuite/23_containers/set_operators.cc: Same.
1310 * testsuite/backward/header_iterator_h.cc: Pass in -Wno-deprecated.
1311 * testsuite/backward/header_deque_h.cc: Same.
1313 2001-11-27 Loren J. Rittle <ljrittle@acm.org>
1314 Paolo Carlini <pcarlini@unitus.it>
1316 * include/bits/basic_string.tcc (basic_string::_Rep::_S_create):
1317 Enforce allocation size blocking policy to reduce
1318 fragmentation and enhance performance with common malloc
1321 2001-11-27 Benjamin Kosnik <bkoz@redhat.com>
1323 Numeric facets cleanup.
1324 * include/bits/locale_facets.h (__num_base::_S_atoms): Add, remove
1326 (__num_base::_M_zero): Add
1327 (__num_base::_M_e): Add.
1328 (__num_base::_M_E): Add.
1329 * include/bits/locale_facets.tcc (num_get::_M_extract): Remove.
1330 (num_get::_M_extract_float): New.
1331 (num_get::_M_extract_int): New.
1332 * src/locale.cc (num_get::_M_extract): Remove.
1334 * include/bits/locale_facets.tcc (num_put::_M_insert_float):
1335 Simplify, use _M_insert.
1336 (num_put::do_put(bool)): Simplify, remove __pad.
1338 (__pad_output): Change to __pad.
1339 * include/bits/ostream.tcc: And here.
1340 * src/locale-inst: Remove instantiations.
1342 * include/bits/locale_facets.h: Move helper functions in to class
1344 (num_put::_M_insert_float): Same, for __output_integer.
1345 (num_put::_M_insert_int): Same, for __output_float.
1346 (num_put::_M_insert): New.
1348 (__num_base::_S_format_float): Move
1349 __build_float_format into class __num_base.
1350 (__num_base::_S_format_int): Move __build_int_format into class
1352 * include/bits/locale_facets.tcc (__group_digits): Change to
1353 (__add_grouping): This.
1354 * src/locale-inst.cc: And here. Tweak instantiations.
1355 * src/misc-inst.cc: Remove instantiations.
1357 * include/bits/ostream.tcc (__pad_char): Rename, adjust inserters
1358 for new calling conventions, move to...
1359 * include/bits/locale_facets.tcc (__pad_output): Here. Adjust
1360 signature to make it useful for both ostream and num_put.
1361 (__pad_numeric): Remove.
1362 * src/misc-inst.cc: Remove instantiations.
1363 * src/locale-inst.cc: Same.
1365 * include/bits/locale_facets.h (_Numeric_get): Remove.
1366 (_Numeric_put): Remove.
1367 (num_get::get(short)): Remove.
1368 (num_get::get(int)): Remove.
1369 (num_get::do_get(short)): Remove.
1370 (num_get::do_get(int)): Remove.
1371 * include/bits/istream.tcc (istream::operator>>(short)): Fix as
1373 (istream::operator>>(int)): Same.
1375 * include/bits/locale_facets.h (_Format_cache): Remove.
1376 * include/bits/locale_facets.tcc: Same.
1377 * src/locale.cc: Same.
1378 * src/locale-inst.cc: Same.
1379 * include/bits/ostream.tcc: Same.
1380 * src/ios.cc (ios_base::imbue): Remove here as well.
1382 * testsuite/22_locale/num_get.cc: New file.
1383 * testsuite/22_locale/num_get_members_char.cc: New file.
1384 * testsuite/22_locale/num_get_members_wchar_t.cc: New.
1385 * testsuite/22_locale/numpunct_members_wchar_t.cc: New file.
1386 * testsuite/22_locale/num_put.cc: New file.
1387 * testsuite/22_locale/num_put_members_char.cc: New file.
1388 * testsuite/22_locale/num_put_members_wchar_t.cc: New file.
1389 * testsuite/27_io/ostream_inserter_arith.cc: Fix.
1390 * testsuite/27_io/istream_extractor_arith.cc: Fix.
1392 2001-11-27 Phil Edwards <pme@gcc.gnu.org>
1394 * docs/html/explanations.html: New section, empty for now.
1395 * docs/html/17_intro/howto.html: Cleanup. Move unrelated link...
1396 * docs/html/23_containers/howto.html: ...to here. Break up and
1397 rewrap threading discussion to emphasize warning. Move malloc text...
1398 * docs/html/ext/howto.html: ...to here. New section. Describe
1399 allocators and __USE_MALLOC effects.
1400 * docs/html/ext/sgiexts.html: Mention their code.
1402 2001-11-24 Joseph S. Myers <jsm28@cam.ac.uk>
1404 * docs/doxygen/maint.cfg.in, docs/doxygen/user.cfg.in,
1405 docs/html/27_io/binary_iostreams_kuehl.txt: Revert previous
1408 2001-11-23 Phil Edwards <pme@gcc.gnu.org>
1410 * Makefile.am (doxygen-maint): The script isn't executable in CVS.
1411 * Makefile.in: Regenerated.
1412 * docs/doxygen/TODO: New file listing doxygen work to be done.
1413 * docs/doxygen/run_doxygen: Fix up man pages.
1414 * docs/doxygen/user.cfg.in: Insert maint-only toggles.
1415 * docs/doxygen/maint.cfg.in: Copy from user.cfg and turn toggles on.
1416 * include/bits/stl_construct.h: Use new hooks for internal functions.
1418 * docs/html/17_intro/TODO: Small updates.
1419 * docs/html/faq/index.html: Likewise.
1420 * docs/html/faq/index.txt: Regenerated.
1422 * include/bits/stl_alloc.h: Doxygenate, reindent comments, remove
1423 SGI-isms and wrappers.
1424 (simple_alloc, debug_alloc): Uglify class names.
1425 (__default_alloc_template): Uglify "threads" template parameter and
1426 update corresponding macros.
1427 * include/backward/alloc.h: Bring up to date.
1429 2001-11-23 Jason Merrill <jason@redhat.com>
1431 * src/vterminate.cc (__verbose_terminate_handler): Add leading
1434 2001-11-23 Joseph S. Myers <jsm28@cam.ac.uk>
1436 * ChangeLog, docs/doxygen/maint.cfg.in, docs/doxygen/user.cfg.in,
1437 docs/doxygen/doxygroups.cc, docs/doxygen/Intro.3,
1438 docs/html/17_intro/BUGS, docs/html/17_intro/C++STYLE,
1439 docs/html/17_intro/CHECKLIST, docs/html/17_intro/DESIGN,
1440 docs/html/17_intro/howto.html, docs/html/17_intro/porting.html,
1441 docs/html/17_intro/porting.texi, docs/html/18_support/howto.html,
1442 docs/html/19_diagnostics/howto.html, docs/html/20_util/howto.html,
1443 docs/html/21_strings/howto.html,
1444 docs/html/23_containers/howto.html,
1445 docs/html/26_numerics/howto.html, docs/html/27_io/howto.html,
1446 docs/html/27_io/binary_iostreams_kuehl.txt,
1447 docs/html/ext/sgiexts.html, docs/html/faq/index.html,
1448 docs/html/faq/index.txt, testsuite/24_iterators/iterator.cc,
1449 include/bits/basic_file.h, include/bits/locale_facets.h,
1450 include/bits/locale_facets.tcc, include/bits/std_sstream.h,
1451 include/ext/ropeimpl.h, include/ext/stl_rope.h,
1452 libsupc++/tinfo.cc, libsupc++/cxxabi.h, libsupc++/typeinfo,
1453 libsupc++/eh_throw.cc, acinclude.m4, aclocal.m4, configure,
1454 configure.target, ChangeLog-2000: Fix spelling errors.
1456 * config/locale/moneypunct_members_gnu.cc,
1457 include/bits/locale_facets.h: Fix spelling errors.
1459 2001-11-22 Stephen M. Webb <stephen@bregmasoft.com>
1461 * testsuite/23_containers/list_capacity.cc: New file.
1462 * testsuite/23_containers/list_ctor.cc: New file.
1463 * testsuite/23_containers/list_modifiers.cc: New file.
1464 * testsuite/23_containers/list_operators.cc: New file.
1466 2001-11-22 Stephen M. Webb <stephen@bregmasoft.com>
1468 * include/bits/stl_list.h: Reformatted according to C++STYLE rules.
1469 (size): Replaced nonstandard distance() call with the standard one.
1470 (transfer): Uglified to _M_transfer.
1472 2001-11-21 Paolo Carlini <pcarlini@unitus.it>
1475 * include/bits/basic_string.tcc (basic_string::reserve): Never shrink
1476 below the current size.
1477 * testsuite/21_strings/capacity.cc (test02): Add test.
1479 2001-11-19 Phil Edwards <pme@gcc.gnu.org>
1481 * docs/doxygen/Intro.3: More notes.
1482 * docs/doxygen/style.css: Update to default style from Doxygen 1.2.10.
1483 * include/bits/stl_algobase.h: Add doxygen hooks for functions.
1484 * include/ext/hash_map: Add @file hook.
1485 * include/ext/hash_set: Likewise.
1486 * include/ext/rope: Likewise.
1487 * include/ext/ropeimpl.h: Likewise.
1488 * include/ext/slist: Likewise.
1489 * include/ext/stl_hash_fun.h: Likewise.
1490 * include/ext/stl_hashtable.h: Likewise.
1491 * include/ext/stl_rope.h: Likewise.
1493 * docs/html/17_intro/license.html: Remove "experimental" sentence.
1494 * docs/html/19_diagnostics/howto.html: Document new verbose
1496 * testsuite/27_io/filebuf.cc: Fix comment, move tweakable parameter
1497 to more visible (closer to description) position.
1499 * libsupc++/eh_type.cc: Formatting tweak.
1500 * libsupc++/exception: Likewise.
1501 * src/vterminate.cc: Likewise.
1503 * docs/html/17_intro/porting.html: Regenerate.
1504 * docs/html/faq/index.txt: Regenerate.
1506 2001-11-18 Jason Merrill <jason@redhat.com>
1508 * libsupc++/eh_personality.cc (__cxa_call_unexpected): Take void*.
1509 * libsupc++/eh_catch.cc (__cxa_begin_catch): Likewise.
1510 * libsupc++/unwind-cxx.h: Adjust.
1511 * src/Makefile.am (strstream.o): Pass -Wno-deprecated.
1513 * libsupc++/eh_type.cc (__cxa_current_exception_type): New file.
1514 * libsupc++/cxxabi.h: Declare it.
1515 * libsupc++/Makefile.am (sources): Add it.
1516 * src/vterminate.cc (verbose_terminate_handler): New file.
1517 * libsupc++/exception: Declare it.
1518 * src/Makefile.am (sources): Add it.
1520 * src/Makefile.am (VPATH): Check the src directory before the top one.
1522 2001-11-16 Paolo Carlini <pcarlini@unitus.it>
1524 * include/bits/stl_deque.h (deque::erase()): Fix memory leak.
1526 2001-11-16 Loren J. Rittle <ljrittle@acm.org>
1528 * docs/html/17_intro/howto.html (Thread-safety): Rename
1529 section to ``The Standard C++ library and multithreading'' and
1530 update information based on recent mailing list traffic. Move
1531 all discussion of __USE_MALLOC to...
1532 * docs/html/23_containers/howto.html (Containers and multithreading):
1533 ...here and rework it based on recent mailing list traffic.
1535 2001-11-15 Loren J. Rittle <ljrittle@acm.org>
1537 * docs/html/faq/index.html (Is libstdc++-v3 thread-safe?): Clarify
1540 2001-11-15 <bjornw@planetarion.com>
1541 Loren J. Rittle <ljrittle@acm.org>
1544 * include/bits/stl_alloc.h (alloc): Update to use __mem_interface.
1545 (single_client_alloc): Likewise.
1547 2001-11-08 Danny Smith <dannysmith@users.sourceforge.net>
1549 * configure.target: Add os_include_dir for mingw32* target.
1550 * docs/html/17_intro/porting.texi: Mention mingw32 as target benefiting
1551 from _GLIBCPP_AVOID_FSEEK.
1552 * config/os/mingw32/bits/ctype_base.h: New file.
1553 * config/os/mingw32/bits/ctype_inline.h: New file.
1554 * config/os/mingw32/bits/ctype_noninline.h: New file.
1555 * config/os/mingw32/bits/os_defines.h: New file.
1557 2001-11-07 Nathan Myers <ncm@cantrip.org>
1559 * docs/html/faq/index.html (5.8): New entry on ABIs.
1560 * docs/html/faq/index.txt: Regenerate.
1562 2001-11-07 Phil Edwards <pme@gcc.gnu.org>
1564 * docs/html/faq/index.html: Explain libsupc++, mention 'long long'
1565 bugfixes on Solaris.
1566 * docs/html/faq/index.txt: Regenerate.
1568 2001-11-06 Phil Edwards <pme@gcc.gnu.org>
1570 * acinclude.m4 (GLIBCPP_ENABLE_LONG_LONG): Run the test in
1571 LANG_CPLUSPLUS mode.
1572 * aclocal.m4: Regenerate.
1573 * configure: Regenerate.
1575 2001-11-05 Phil Edwards <pme@gcc.gnu.org>
1577 * porting.texi: Move...
1578 * docs/html/17_intro/porting.texi: ...to here.
1579 * docs/html/Makefile: Add rule to rebuild...
1580 * docs/html/17_intro/porting.html: ...this. New file.
1582 2001-11-05 Felix Natter <fnatter@gmx.net>
1584 * docs/html/17_intro/porting-howto.xml: check in v0.9.4
1585 * docs/html/17_intro/porting-howto.html: regenerate
1587 2001-11-02 Loren J. Rittle <ljrittle@acm.org>
1589 * include/bits/stl_threads.h (_Atomic_swap): Only enable path
1590 when platform supports __GTHREAD_MUTEX_INIT.
1592 2001-11-02 Phil Edwards <pme@gcc.gnu.org>
1594 * acconfig.h: Update comments.
1595 * acinclude.m4 (GLIBCPP_ENABLE_C99): Move strtoll, strtoull tests...
1596 (GLIBCPP_ENABLE_LONG_LONG): ...to here. Don't check enable_c99.
1597 * aclocal.m4: Regenerate.
1598 * config.h.in: Regenerate.
1599 * configure: Regenerate.
1601 * include/bits/boost_concept_check.h: Unconditionally compile uses
1602 of 'long long' which require only compiler support, not C lib support.
1603 * include/bits/cpp_type_traits.h: Likewise.
1604 * include/bits/std_limits.h: Likewise.
1605 * include/bits/type_traits.h: Likewise.
1606 * src/concept-inst.cc: Likewise.
1607 * src/limits.cc: Likewise.
1608 * include/c_shadow/stdlib.h: Compile conditionally on _GLIBCPP_USE_C99
1609 instead of _GLIBCPP_USE_LONG_LONG.
1610 * include/c_shadow/bits/std_cstdlib.h: Likewise.
1612 2001-11-02 Phil Edwards <pme@gcc.gnu.org>
1614 * config/io/c_io_stdio.h: Correct grammar in comments.
1615 * docs/doxygen/Intro.3: Expand "top-level" man page.
1616 * docs/doxygen/doxygroups.cc: New module definitions (comments).
1617 * docs/doxygen/mainpage.doxy: Tweaks.
1618 * docs/doxygen/run_doxygen: Update Doxygen version, massage man pages.
1620 Add @file hooks so that headers are considered to be documented.
1621 * include/bits/basic_ios.h, include/bits/basic_file.h,
1622 include/bits/basic_string.h, include/bits/boost_concept_check.h,
1623 include/bits/char_traits.h, include/bits/codecvt.h,
1624 include/bits/concept_check.h, include/bits/cpp_type_traits.h,
1625 include/bits/fpos.h, include/bits/gslice.h, include/bits/gslice_array.h,
1626 include/bits/indirect_array.h, include/bits/ios_base.h,
1627 include/bits/locale_facets.h, include/bits/localefwd.h,
1628 include/bits/mask_array.h, include/bits/pthread_allocimpl.h,
1629 include/bits/slice.h, include/bits/slice_array.h,
1630 include/bits/std_algorithm.h, include/bits/std_bitset.h,
1631 include/bits/std_complex.h, include/bits/std_deque.h,
1632 include/bits/std_fstream.h, include/bits/std_functional.h,
1633 include/bits/std_iomanip.h, include/bits/std_ios.h,
1634 include/bits/std_iosfwd.h, include/bits/std_iostream.h,
1635 include/bits/std_istream.h, include/bits/std_iterator.h,
1636 include/bits/std_limits.h, include/bits/std_list.h,
1637 include/bits/std_locale.h, include/bits/std_map.h,
1638 include/bits/std_memory.h, include/bits/std_numeric.h,
1639 include/bits/std_ostream.h, include/bits/std_queue.h,
1640 include/bits/std_set.h, include/bits/std_sstream.h,
1641 include/bits/std_stack.h, include/bits/std_streambuf.h,
1642 include/bits/std_string.h, include/bits/std_utility.h,
1643 include/bits/std_valarray.h, include/bits/std_vector.h,
1644 include/bits/stl_algo.h, include/bits/stl_alloc.h,
1645 include/bits/stl_bvector.h, include/bits/stl_construct.h,
1646 include/bits/stl_deque.h, include/bits/stl_heap.h,
1647 include/bits/stl_iterator.h, include/bits/stl_iterator_base_funcs.h,
1648 include/bits/stl_iterator_base_types.h, include/bits/stl_list.h,
1649 include/bits/stl_map.h, include/bits/stl_multimap.h,
1650 include/bits/stl_multiset.h, include/bits/stl_numeric.h,
1651 include/bits/stl_pair.h, include/bits/stl_pthread_alloc.h,
1652 include/bits/stl_queue.h, include/bits/stl_raw_storage_iter.h,
1653 include/bits/stl_relops.h, include/bits/stl_set.h,
1654 include/bits/stl_stack.h, include/bits/stl_tempbuf.h,
1655 include/bits/stl_threads.h, include/bits/stl_tree.h,
1656 include/bits/stl_uninitialized.h, include/bits/stl_vector.h,
1657 include/bits/stream_iterator.h, include/bits/streambuf_iterator.h,
1658 include/bits/stringfwd.h, include/bits/type_traits.h,
1659 include/bits/valarray_array.h, include/bits/valarray_meta.h:
1660 Add hooks, tweak comments only.
1662 * include/bits/stl_algobase.h (swap, min, iter_swap): Also
1663 document these functions.
1664 * include/bits/stl_function.h: Tweak link comments.
1666 2001-11-01 Paolo Carlini <pcarlini@unitus.it>
1667 Benjamin Kosnik <bkoz@redhat.com>
1669 * testsuite/27_io/ios_manip_fmtflags.cc: Fix for non-interactive
1671 * include/bits/locale_facets.tcc (num_put::do_put(bool)): Fix.
1673 2001-11-01 Egor Duda <deo@logos-m.ru>
1675 * config/os/newlib/bits/ctype_noninline.h
1676 (ctype<char>::do_toupper(char __c)): Check for proper character class.
1677 (ctype<char>::do_tolower(char __c)): Ditto.
1679 2001-11-01 Phil Edwards <pme@gcc.gnu.org>
1681 * acinclude.m4: Fix spacing.
1682 (GLIBCPP_ENABLE_CONCEPT_CHECKS): New macro.
1683 * configure.in: Call here.
1684 * acconfig.h: Add _GLIBCPP_CONCEPT_CHECKS.
1685 * include/bits/boost_concept_check.h: Fix headers.
1686 (__function_requires): Make inline.
1687 * include/bits/c++config (_GLIBCPP_CONCEPT_CHECKS): Remove.
1688 * aclocal.m4: Regenerate.
1689 * config.h.in: Regenerate.
1690 * configure: Regenerate.
1692 Move trailing ';' inside macro, PR libstdc++/3666.
1693 * include/bits/concept_check.h: Add semicolon.
1694 * include/bits/stl_algo.h: Remove semicolon.
1695 * include/bits/stl_algobase.h: Likewise.
1696 * include/bits/stl_deque.h: Likewise.
1697 * include/bits/stl_heap.h: Likewise.
1698 * include/bits/stl_iterator_base_funcs.h: Likewise.
1699 * include/bits/stl_list.h: Likewise.
1700 * include/bits/stl_map.h: Likewise.
1701 * include/bits/stl_multimap.h: Likewise.
1702 * include/bits/stl_multiset.h: Likewise.
1703 * include/bits/stl_numeric.h: Likewise.
1704 * include/bits/stl_queue.h: Likewise.
1705 * include/bits/stl_set.h: Likewise.
1706 * include/bits/stl_stack.h: Likewise.
1707 * include/bits/stl_vector.h: Likewise.
1708 * include/ext/hash_map: Likewise.
1709 * include/ext/hash_set: Likewise.
1710 * include/ext/slist: Likewise.
1712 * src/concept-inst.cc: New file with explicit instantiations.
1713 * src/Makefile.am (sources): Add here, with special build rules.
1714 * src/Makefile.in: Regenerate.
1716 2001-11-01 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
1718 * include/bits/std_complex.h (_Norm_helper): New class template.
1720 (abs): Tweak. Fix Thinko.
1722 2001-10-31 Benjamin Kosnik <bkoz@redhat.com>
1725 * include/bits/codecvt.h: Add virtual member function declarations.
1726 * src/codecvt.cc: Tweaks.
1727 * testsuite/22_locale/codecvt.cc: Test compilation only,
1728 non-required facets not required to have linkage.
1730 2001-10-31 Edward E. Meyer <edward.e.meyer@boeing.com>
1733 * include/bits/std_complex.h (complex::operator/=): Correct sign.
1735 2001-10-30 Paolo Carlini <pcarlini@unitus.it>
1736 Benjamin Kosnik <bkoz@redhat.com>
1739 * include/bits/basic_string.h: Tweaks.
1740 * include/bits/basic_string.tcc (string::_M_replace(iterator,
1741 iterator, _ForwardIter, _ForwardIter, forward_iterator_tag): Fix.
1742 * src/string-inst.cc: Tweaks, add instantiation.
1743 * testsuite/21_strings/replace.cc (test02): Add test.
1744 * testsuite/21_strings/assign.cc (test01): New file.
1746 2001-10-30 Jakub Jelinek <jakub@redhat.com>
1748 * include/bits/stl_deque.h (_M_new_elements_at_front): Use
1749 __throw_exception_again.
1750 (_M_new_elements_at_back): Likewise.
1752 2001-10-29 Benjamin Kosnik <bkoz@redhat.com>
1755 * include/bits/fstream.tcc (filebuf::showmanyc): Simplify.
1756 * testsuite/27_io/filebuf.cc (test07): New test.
1757 (test03): Modify showmanyc test.
1759 2001-10-26 Benjamin Kosnik <bkoz@redhat.com>
1762 * config/locale/codecvt_specializations_ieee_1003.1-200x.h
1763 (__enc_traits::~__enc_traits): Fix.
1764 (__enc_traits::_M_init): Add error checking.
1766 2001-10-25 Benjamin Kosnik <bkoz@redhat.com>
1769 * include/bits/locale_facets.tcc (time_get::_M_extract_name): Fix.
1771 2001-10-25 Benjamin Kosnik <bkoz@redhat.com>
1774 * include/bits/ostream.tcc (ostream::operator<<(streambuf*)): Fix
1776 * include/bits/istream.tcc (istream::operator>>(streambuf*): Make
1777 consistent, where possible.
1778 * include/bits/streambuf.tcc: Tweak.
1780 2001-10-25 Brendan Kehoe <brendan@zen.org>
1783 * bits/ostream.tcc (seekp): Scope use as ios_base::failbit.
1784 * bits/istream.tcc (seekg): Likewise.
1786 2001-10-25 Benjamin Kosnik <bkoz@redhat.com>
1787 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
1788 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
1790 * config/os/gnu-linux/bits/os_defines.h: Set to 64 bit longs with
1792 * include/bits/std_limits.h: Fix wchar_t issues.
1793 * config/os/aix/bits/os_defines.h: Fix.
1795 2001-10-25 Benjamin Kosnik <bkoz@redhat.com>
1797 * include/bits/locale_facets.tcc (collate::do_transform): Fix.
1799 2001-10-25 Phil Edwards <pme@gcc.gnu.org>
1801 * docs/html/documentation.html: Fix typo.
1803 2001-10-23 Benjamin Kosnik <bkoz@redhat.com>
1805 Make -fno-exceptions work.
1806 * config/locale/c_locale_gnu.cc: Use functexcept.
1807 * include/bits/c++config (__stl_assert): Remove.
1808 (__STL_USE_EXCEPTIONS): Same.
1810 (__STL_CATCH_ALL): Same.
1811 (__STL_THROW): Same.
1812 (__STL_RETHROW): Same.
1813 (__STL_NOTHROW): Same.
1814 (__STL_UNWIND): Same.
1815 * include/bits/pthread_allocimpl.h: Fix.
1816 * include/bits/std_bitset.h: Same.
1817 * include/bits/std_list.h: Same.
1818 * include/bits/std_memory.h: Same.
1819 * include/bits/std_queue.h: Same.
1820 * include/bits/stl_alloc.h: Same.
1821 * include/bits/stl_deque.h: Same.
1822 * include/bits/stl_list.h: Same.
1823 * include/bits/stl_queue.h: Same.
1824 * include/bits/stl_tempbuf.h: Same.
1825 * include/bits/stl_tree.h: Same.
1826 * include/bits/stl_uninitialized.h: Same.
1827 * include/bits/stl_vector.h: Same.
1828 * include/ext/ropeimpl.h: Same.
1829 * include/ext/slist: Same.
1830 * include/ext/stl_hashtable.h: Same.
1831 * include/ext/stl_rope.h: Same.
1832 * libsupc++/new_op.cc: Include cstdlib.
1833 * libsupc++/eh_personality.cc: Add exception_defines include. Use
1834 __throw_exception_again, tweak.
1835 * libsupc++/eh_aux_runtime.cc: Include stdlib for abort.
1836 * libsupc++/vec.cc: Tweak.
1837 * src/functexcept.cc: Remove unused arguments.
1838 * testsuite/23_containers/bitset_members.cc: Tweak.
1840 2001-10-22 Benjamin Kosnik <bkoz@redhat.com>
1842 * config/cpu/i386/bits/limits.h: Move to...
1843 * config/cpu/i386/bits/cpu_limits.h: ...here.
1844 * config/cpu/cris/bits/cpu_limits.h: Same.
1845 * config/cpu/powerpc/bits/cpu_limits.h: Same.
1846 * config/cpu/x86-64/bits/cpu_limits.h: Same.
1847 * config/cpu/alpha/bits/cpu_limits.h: New.
1848 * config/cpu/m68k/bits/cpu_limits.h: New.
1849 * config/cpu/s390/bits/cpu_limits.h: New.
1850 * config/os/aix/bits/os_defines.h: Tweaks.
1851 * config/os/bsd/freebsd/bits/os_defines.h: Same.
1852 * config/os/bsd/netbsd/bits/os_defines.h: Same.
1853 * config/os/djgpp/bits/os_defines.h: Same.
1854 * config/os/generic/bits/os_defines.h: Same.
1855 * config/os/gnu-linux/bits/os_defines.h: Same.
1856 * config/os/hpux/bits/os_defines.h: Same.
1857 * config/os/irix/irix5.2/bits/os_defines.h: Same.
1858 * config/os/irix/irix6.5/bits/os_defines.h: Same.
1859 * config/os/newlib/bits/os_defines.h: Same.
1860 * config/os/solaris/solaris2.5/bits/os_defines.h: Same.
1861 * config/os/solaris/solaris2.6/bits/os_defines.h: Same.
1862 * config/os/solaris/solaris2.7/bits/os_defines.h: Same.
1864 * include/bits/c++config: Remove include.
1865 * include/bits/limits_generic.h: Remove.
1866 * include/bits/std_limits.h: Include cpu_limits.h.
1867 * include/Makefile.am: Fixup.
1868 * src/limits.cc: Tweak.
1869 * src/limits_generic.cc: Remove.
1870 * src/gen-num-limits.cc: Remove.
1871 * mknumeric_limits: Remove.
1873 2001-10-20 Brendan Kehoe <brendan@zen.org>
1875 * bits/type_traits.h (_Bool): Removed this type.
1876 (__true_type, __false_type): Change to be plain structs.
1877 * src/string-inst.cc (__destroy_aux): Change third parm to be
1878 __false_type instead of _Bool<false>.
1879 * src/misc-inst.cc (__uninitialized_fill_n_aux,
1880 __uninitialized_copy_aux): Likewise.
1882 2001-10-19 Benjamin Kosnik <bkoz@redhat.com>
1884 * mkcheck.in (static_fail): Remove older memory limit functionality.
1885 Disable E_TIME due to formatting issues.
1889 2001-10-19 Brendan Kehoe <brendan@zen.org>
1891 * include/bits/std_complex.h: Default initialize second argument
1892 of polar to 0, as specified in Library DR #79
1894 2001-10-19 Brendan Kehoe <brendan@zen.org>
1896 * include/bits/stl_raw_storage_iter.h (operator=): Fix to call
1897 _Construct instead of construct.
1899 2001-10-19 Brendan Kehoe <brendan@zen.org>
1901 * include/bits/basic_string.tcc (find_first_not_of): Take out check for
1902 __n being non-zero, since the standard does not mandate that.
1903 e.g., a search for "" in "" should yield position 0, not npos.
1904 (find_last_not_of): Likewise.
1906 2001-10-19 Brendan Kehoe <brendan@zen.org>
1908 * include/bits/stl_bvector.h (vector<bool>::_M_range_check): Fix
1909 to throw out_of_range, not range_error, thus sayeth $23.1.1.13.
1911 2001-10-19 Brendan Kehoe <brendan@zen.org>
1913 * include/bits/stl_iterator.h (reverse_iterator::current): Rename
1914 member from _M_current, and change all uses; thus sayeth $24.4.1.1.
1916 2001-10-19 Brendan Kehoe <brendan@zen.org>
1918 * include/bits/stl_algo.h (partial_sort): Add missing `>' on the
1919 template parameter _ValueType.
1921 2001-10-19 Brendan Kehoe <brendan@zen.org>
1923 * include/bits/std_limits.h: Clean up extra semicolons.
1924 * include/bits/locale_facets.h: Likewise.
1925 * include/bits/type_traits.h: Likewise.
1927 2001-10-19 Brendan Kehoe <brendan@zen.org>
1929 * include/bits/localefwd.h (locale::combine): Add const for lib DR 14.
1930 * include/bits/locale_facets.tcc (locale::combine): Likewise.
1932 2001-10-19 Benjamin Kosnik <bkoz@redhat.com>
1934 * include/bits/locale_facets.h (__timepunct::_M_put_helper):
1935 Declare specializations for char, wchar_t.
1937 2001-10-19 Andreas Jaeger <aj@suse.de>
1939 * config/cpu/x86-64/bits/limits.h: New file.
1940 * config/cpu/x86-64/bits/atomicity.h: New file.
1941 * configure.target: Add x86-64.
1943 2001-10-17 Phil Edwards <pme@gcc.gnu.org>
1945 * docs/html/17_intro/howto.html: Remove 1999 links (and explain
1946 why). Add link to recent message.
1947 * docs/html/faq/index.html (5.6): Reformat text only; fixup <pre>
1949 * docs/html/faq/index.txt: Regenerate.
1951 2001-10-12 Loren J. Rittle <ljrittle@acm.org>
1953 * docs/html/faq/index.html (Is libstdc++-v3 thread-safe?): Update
1954 based on Nathan's review. Use Nathan's words.
1956 2001-10-11 Matt Kraai <kraai@alumni.carnegiemellon.edu>
1958 * docs/html/configopts.html: Quote StyleSheet attribute values.
1959 * docs/html/documentation.html: Likewise.
1960 * docs/html/explanations.html: Likewise.
1961 * docs/html/install.html: Likewise.
1962 * docs/html/17_intro/howto.html: Likewise.
1963 * docs/html/17_intro/license.html: Likewise.
1964 * docs/html/18_support/howto.html: Likewise.
1965 * docs/html/19_diagnostics/howto.html: Likewise.
1966 * docs/html/20_util/howto.html: Likewise.
1967 * docs/html/21_strings/howto.html: Likewise.
1968 * docs/html/22_locale/howto.html: Likewise.
1969 * docs/html/23_containers/howto.html: Likewise.
1970 * docs/html/24_iterators/howto.html: Likewise.
1971 * docs/html/25_algorithms/howto.html: Likewise.
1972 * docs/html/26_numerics/howto.html: Likewise.
1973 * docs/html/27_io/howto.html: Likewise.
1974 * docs/html/ext/howto.html: Likewise.
1975 * docs/html/ext/sgiexts.html: Likewise.
1976 * docs/html/faq/index.html: Likewise.
1978 2001-10-11 Loren J. Rittle <ljrittle@acm.org>
1980 * docs/html/faq/index.html (Is libstdc++-v3 thread-safe?): Rewrite.
1981 * docs/html/23_containers/howto.html (Containers and multithreading):
1984 2001-10-09 Phil Edwards <pme@gcc.gnu.org>
1986 * docs/html/17_intro/howto.html: Tweak markup and value type.
1987 * docs/html/27_io/howto.html: Tweak markup, describe setbuf() for
1988 nonzero arguments, add new note on threading.
1989 * docs/html/faq/index.html: Update.
1990 * docs/html/faq/index.txt: Regenerate.
1992 2001-10-09 Phil Edwards <pme@gcc.gnu.org>
1994 * docs/html/configopts.html: More HTML->XHTML and lowercasing of tags.
1995 * docs/html/documentation.html: Likewise.
1996 * docs/html/explanations.html: Likewise.
1997 * docs/html/install.html: Likewise.
1998 * docs/html/17_intro/howto.html: Likewise.
1999 * docs/html/17_intro/license.html: Likewise. Tighten up language.
2000 * docs/html/18_support/howto.html: Likewise.
2001 * docs/html/19_diagnostics/howto.html: Likewise.
2002 * docs/html/20_util/howto.html: Likewise.
2003 * docs/html/21_strings/howto.html: Likewise.
2004 * docs/html/22_locale/howto.html: Likewise.
2005 * docs/html/23_containers/howto.html: Likewise.
2006 * docs/html/24_iterators/howto.html: Likewise.
2007 * docs/html/25_algorithms/howto.html: Likewise.
2008 * docs/html/26_numerics/howto.html: Likewise.
2009 * docs/html/27_io/howto.html: Likewise.
2010 * docs/html/ext/howto.html: Likewise.
2011 * docs/html/ext/sgiexts.html: Likewise.
2012 * docs/html/faq/index.html: Likewise. Not so many absolute links.
2013 * docs/html/faq/index.txt: Regenerate.
2015 2001-10-07 Joseph S. Myers <jsm28@cam.ac.uk>
2017 * docs/html/22_locale/locale.html, docs/html/faq/index.html: Fix
2018 spelling errors of "separate" as "seperate", and corresponding
2019 spelling errors of related words.
2020 * docs/html/faq/index.txt: Regenerate.
2022 2001-10-05 Phil Edwards <pme@gcc.gnu.org>
2024 * config/cpu/alpha/bits/atomicity.h (__compare_and_swap): Remove
2026 * config/cpu/arm/bits/atomicity.h: Likewise.
2027 * config/cpu/generic/bits/atomicity.h: Likewise.
2028 * config/cpu/i486/bits/atomicity.h: Likewise.
2029 * config/cpu/ia64/bits/atomicity.h: Likewise.
2030 * config/cpu/mips/bits/atomicity.h: Likewise.
2031 * config/cpu/powerpc/bits/atomicity.h: Likewise.
2032 * config/cpu/sparc/sparc32/bits/atomicity.h: Likewise.
2033 * config/cpu/sparc/sparc64/bits/atomicity.h: Likewise.
2035 2001-10-04 Phil Edwards <pme@gcc.gnu.org>
2037 * docs/html/faq/index.html: Describe DR #22, and a workaround.
2038 * docs/html/faq/index.txt: Regenerate.
2040 2001-10-04 Phil Edwards <pme@gcc.gnu.org>
2042 * docs/html/17_intro/COPYING.DOC: New file, GFDL v1.1 from the FSF.
2043 * docs/html/17_intro/license.html: New file. Explain the licenses
2046 * docs/html/configopts.html: Link to license.html.
2047 * docs/html/documentation.html: Likewise.
2048 * docs/html/explanations.html: Likewise.
2049 * docs/html/install.html: Likewise.
2050 * docs/html/17_intro/howto.html: Likewise.
2051 * docs/html/18_support/howto.html: Likewise.
2052 * docs/html/19_diagnostics/howto.html: Likewise.
2053 * docs/html/20_util/howto.html: Likewise.
2054 * docs/html/21_strings/howto.html: Likewise.
2055 * docs/html/22_locale/howto.html: Likewise.
2056 * docs/html/23_containers/howto.html: Likewise.
2057 * docs/html/24_iterators/howto.html: Likewise.
2058 * docs/html/25_algorithms/howto.html: Likewise.
2059 * docs/html/26_numerics/howto.html: Likewise.
2060 * docs/html/27_io/howto.html: Likewise.
2061 * docs/html/ext/howto.html: Likewise.
2062 * docs/html/ext/sgiexts.html: Likewise.
2063 * docs/html/faq/index.html: Likewise. New question, linking to
2064 the new license.html.
2066 2001-10-04 Phil Edwards <pme@gcc.gnu.org>
2068 * docs/html/17_intro/howto.html: Fix mis-sed in header from 20010917.
2069 * docs/html/18_support/howto.html: Likewise.
2070 * docs/html/19_diagnostics/howto.html: Likewise.
2071 * docs/html/20_util/howto.html: Likewise.
2072 * docs/html/21_strings/howto.html: Likewise.
2073 * docs/html/22_locale/howto.html: Likewise.
2074 * docs/html/23_containers/howto.html: Likewise.
2075 * docs/html/24_iterators/howto.html: Likewise.
2076 * docs/html/25_algorithms/howto.html: Likewise.
2077 * docs/html/26_numerics/howto.html: Likewise.
2078 * docs/html/27_io/howto.html: Likewise.
2079 * docs/html/ext/howto.html: Likewise.
2080 * docs/html/faq/index.html: Likewise. Spacing fix.
2082 2001-10-03 Dimitris Vyzovitis <vyzo@media.mit.edu>
2084 * include/bits/stl_threads.h (_Atomic_swap): New function.
2085 (_Swap_lock_struct<__dummy>::_S_swap_lock): New data.
2086 * testsuite/ext/rope.cc: New file.
2088 2001-10-02 Benjamin Kosnik <bkoz@redhat.com>
2090 * config/locale/time_members_gnu.h: Remove.
2091 * config/locale/time_members_generic.h: Remove.
2092 * config/locale/time_members_gnu.cc (__timepunct::_M_put_helper): Add.
2093 * config/locale/time_members_generic.cc: Same.
2094 * include/bits/locale_facets.h: Add data members.
2095 (__timepunct::_M_put_helper): Change signature.
2096 (__timepunct::_M_date_formats): Same.
2097 (__timepunct::_M_time_formats): Same.
2098 (__timepunct::_M_ampm): Add.
2099 (__timepunct::_M_date_time_formats): Add.
2100 (time_get::_M_extract_via_format): Add.
2101 (time_get::_M_extract_time): Change to...
2102 (time_get::_M_extract_num): ... this, modify signature.
2103 * include/bits/locale_facets.tcc (time_get::do_get_year): Fix.
2104 (time_get::do_get_time): Fix.
2105 (time_get::do_get_date): Fix.
2107 * acinclude.m4: Remove CTIME_H.
2108 * aclocal.m4: Regenerate.
2109 * include/Makefile.am: Same.
2110 * include/Makefile.in: Regenerate.
2111 * configure: Regenerate.
2113 * testsuite/22_locale/time_get_members_char.cc: Fix.
2114 * testsuite/22_locale/time_get_members_wchar_t.cc: Add.
2115 * testsuite/22_locale/time_put_members_wchar_t.cc: Add.
2117 2001-10-01 Hans-Peter Nilsson <hp@axis.com>
2119 * config/cpu/cris/bits/atomicity.h: Correct file header.
2121 2001-09-29 Hans-Peter Nilsson <hp@axis.com>
2123 * configure.target (LIMITSH): Set for cris.
2124 (cpu_include_dir): Set for cris-*-*.
2125 * config/cpu/cris/bits/atomicity.h: New file.
2126 * config/cpu/cris/bits/limits.h: New file.
2128 2001-09-28 Benjamin Kosnik <bkoz@redhat.com>
2130 * config/locale/time_members_gnu.h (__timepunct::_M_get_helper): Add.
2131 (__timepunct::_M_put_helper): Add.
2132 * config/locale/time_members_generic.h: Same.
2133 * include/bits/locale_facets.h (__match_parallel): Remove. Format.
2134 (__timepunct): Add data members.
2135 (__timepunct::_M_days): Add.
2136 (__timepunct::_M_days_abbreviated): Add.
2137 (__timepunct::_M_months): Add.
2138 (__timepunct::_M_months_abbreviated): Add.
2139 (__timepunct::_M_initialize_timepunct): Add.
2140 * include/bits/locale_facets.tcc: Same.
2141 * src/locale-inst.cc: Remove instantiations for __match_parallel.
2142 * acinclude.m4 (GLIBCPP_ENABLE_CLOCALE): Add CTIME_CC.
2143 * aclocal.m4: Regenerate.
2144 * configure: Regenerate.
2145 * testsuite/22_locale/time_put_members_char.cc: Mark XFAIL.
2146 * testsuite/22_locale/time_put_members_char.cc (test01): New file.
2147 * testsuite/22_locale/time_get.cc: New file.
2149 2001-09-28 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
2151 * testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3-init): Use
2152 correct multilib builddir.
2153 Properly locate libgcc_s.
2155 2001-09-27 Phil Edwards <pme@gcc.gnu.org>
2157 * include/std/*: Add Doxygen hooks.
2158 * docs/doxygen/Intro.3: New file, general intro to the man pages.
2159 * docs/doxygen/mainpage.doxy: Formatting tweaks. List our own links
2160 rather than using a generated index.
2161 * docs/doxygen/user.cfg.in: Disable the index, enable man pages.
2162 * docs/doxygen/run_doxygen: Massage the generated man pages, using...
2163 * docs/doxygen/stdheader.cc: ...this new file.
2165 2001-09-26 Stan Shebs <shebs@apple.com>
2167 * include/Makefile.am: Remove RCS Id strings.
2168 * src/Makefile.am: Ditto.
2169 * docs/doxygen/run_doxygen: Ditto.
2170 * docs/html/configopts.html: Ditto.
2171 * docs/html/documentation.html: Ditto.
2172 * docs/html/explanations.html: Ditto.
2173 * docs/html/install.html: Ditto.
2174 * docs/html/17_intro/howto.html: Ditto.
2175 * docs/html/18_support/howto.html: Ditto.
2176 * docs/html/19_diagnostics/howto.html: Ditto.
2177 * docs/html/20_util/howto.html: Ditto.
2178 * docs/html/21_strings/howto.html: Ditto.
2179 * docs/html/22_locale/howto.html: Ditto.
2180 * docs/html/23_containers/howto.html: Ditto.
2181 * docs/html/24_iterators/howto.html: Ditto.
2182 * docs/html/25_algorithms/howto.html: Ditto.
2183 * docs/html/26_numerics/howto.html: Ditto.
2184 * docs/html/27_io/howto.html: Ditto.
2185 * docs/html/ext/howto.html: Ditto.
2186 * docs/html/ext/sgiexts.html: Ditto.
2187 * docs/html/faq/index.html: Ditto.
2188 * docs/html/faq/index.txt: Ditto.
2190 2001-09-25 Phil Edwards <pme@gcc.gnu.org>
2192 * testsuite/21_strings/c_strings.cc (test01, test02): Increase
2195 2001-09-25 Phil Edwards <pme@gcc.gnu.org>
2197 * docs/html/20_util/howto.html: Add anchor name.
2198 * docs/html/23_containers/howto.html: Line wrapping, another link.
2199 * docs/html/25_algorithms/howto.html: Another note.
2201 * docs/html/ext/howto.html: Link to SGI extensions. List DRs and
2203 * docs/html/ext/lwg-active.html: ...in this new file (from R19),
2204 * docs/html/ext/lwg-defects.html: and this new file (from R19).
2205 * docs/html/ext/sgiexts.html: New file. Mention SGI extensions
2206 carried over to libstdc++-v3.
2207 * docs/html/faq/index.html: Link to SGI extensions. Mention the
2208 "missing .." pseudobug.
2209 * docs/html/faq/index.txt: Regenerate.
2211 * include/bits/ios_base.h: DR-related comment cleanup.
2212 * include/bits/istream.tcc: Likewise.
2213 * include/bits/locale_facets.h: Likewise.
2214 * include/bits/locale_facets.tcc: Likewise.
2215 * include/bits/ostream.tcc: Likewise.
2216 * include/bits/std_bitset.h: Likewise.
2217 * include/bits/std_iosfwd.h: Likewise.
2218 * include/bits/std_istream.h: Likewise.
2219 * include/bits/std_ostream.h: Likewise.
2220 * include/bits/std_streambuf.h: Likewise.
2221 * include/bits/stl_pair.h: Likewise.
2222 * include/bits/streambuf_iterator.h: Likewise.
2224 * include/bits/std_map.h: Remove unused header inclusion guard
2225 _CPP_BITS_STL_TREE_H from around bits/stl_tree.h.
2226 * include/bits/std_set.h: Likewise.
2228 * include/bits/stl_function.h: Doxygen markup.
2229 * docs/doxygen/doxygroups.cc: New file, specifying module grouping.
2230 * libsupc++/typeinfo: Doxygen markup tweak.
2232 2001-09-20 Scott Johnston <scott@accom.com>
2233 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
2235 * include/backward/alloc.h: Conditionally define malloc_alloc
2236 * testsuite/backward/header_deque_h.cc: New file.
2238 2001-09-20 Sylvain Pion <Sylvain.Pion@sophia.inria.fr>
2240 * libstdc++-v3/include/bits/locale_facets.tcc (money_put::do_put):
2241 change variable name so that it works with -fno-for-scope.
2243 2001-09-20 Benjamin Kosnik <bkoz@redhat.com>
2245 * testsuite/22_locale/numpunct_members_char.cc (test01): Remove
2246 redundant sanity checks.
2247 * testsuite/22_locale/money_put_members_wchar_t.cc (test01): Same.
2249 * testsuite/22_locale/money_put_members_char.cc (test01): Same.
2251 * testsuite/22_locale/moneypunct_members_wchar_t.cc (test01): Same.
2252 * testsuite/22_locale/moneypunct_members_char.cc (test01): Same.
2253 * testsuite/22_locale/money_get_members_wchar_t.cc (test01): Same.
2255 * testsuite/22_locale/money_get_members_char.cc (test01): Same.
2258 2001-09-19 Benjamin Kosnik <bkoz@redhat.com>
2260 Implement std::time_put.
2261 * include/bits/locale_facets.h: Include time_members.h.
2263 (time_put): Implement.
2264 * include/bits/locale_facets.tcc (do_put): Put generic versions here.
2265 * include/bits/localefwd.h: Bump number of facets.
2266 * config/locale/time_members_generic.h: New file.
2267 * config/locale/time_members_gnu.h: New file.
2268 * config/locale/c_locale_generic.h: Include clocale.
2269 * src/locale-inst.cc: Add use_facet instantiations for __timepunct.
2270 * src/locale.cc: Add __timepunct initializations.
2271 * src/localename.cc (locale::_Impl::_Impl(string, size_t)): Same.
2272 * include/Makefile.am (stamp-target): Add time_members.h.
2273 * include/Makefile.in: Regenerate.
2274 * acinclude.m4 (GLIBCPP_ENABLE_CLOCALE): Add CTIME_H.
2275 * aclocal.m4: Regenerate.
2276 * configure: Regenerate.
2277 * testsuite/22_locale/time_put.cc: New file.
2278 * testsuite/22_locale/time_put_members_char.cc: New file.
2280 * docs/html/22_locale/locale.html: Add note.
2282 2001-09-17 Phil Edwards <pme@gcc.gnu.org>
2284 * docs/html/configopts.html: HTML to XHTML change. Lowercase tags.
2285 * docs/html/documentation.html: Likewise.
2286 * docs/html/explanations.html: Likewise.
2287 * docs/html/install.html: Likewise.
2288 * docs/html/17_intro/howto.html: Likewise.
2289 * docs/html/18_support/howto.html: Likewise.
2290 * docs/html/19_diagnostics/howto.html: Likewise.
2291 * docs/html/20_util/howto.html: Likewise.
2292 * docs/html/21_strings/howto.html: Likewise.
2293 * docs/html/22_locale/codecvt.html: Likewise.
2294 * docs/html/22_locale/ctype.html: Likewise.
2295 * docs/html/22_locale/howto.html: Likewise.
2296 * docs/html/22_locale/locale.html: Likewise.
2297 * docs/html/22_locale/messages.html: Likewise.
2298 * docs/html/23_containers/howto.html: Likewise.
2299 * docs/html/24_iterators/howto.html: Likewise.
2300 * docs/html/25_algorithms/howto.html: Likewise.
2301 * docs/html/26_numerics/howto.html: Likewise.
2302 * docs/html/27_io/howto.html: Likewise.
2303 * docs/html/ext/howto.html: Likewise.
2304 * docs/html/faq/index.html: Likewise.
2305 * docs/html/faq/index.txt: Regenerated.
2307 2001-09-14 Phil Edwards <pme@sources.redhat.com>
2309 * docs/html/17_intro/headers_cc.txt: "Sync"/copy real file over.
2310 * docs/html/17_intro/howto.html: Spacing and HTML markup fixes.
2311 * docs/html/18_support/howto.html: It won't compile; it's not code.
2312 * docs/html/19_diagnostics/howto.html: Point diagram seekers to
2314 * docs/html/22_locale/howto.html: Comment for future work.
2315 * docs/html/23_containers/howto.html: More comments.
2316 * docs/html/25_algorithms/howto.html: It's a comment, not a
2317 blunt command to the reader. (English grammar.)
2319 2001-09-14 Benjamin Kosnik <bkoz@redhat.com>
2321 * config/locale/moneypunct_members_gnu.cc: Fix initialization of
2323 * testsuite/22_locale/money_get_members_wchar_t.cc (test02): New file.
2324 * testsuite/22_locale/money_put_members_wchar_t.cc (test02): Fix.
2326 2001-09-14 Benjamin Kosnik <bkoz@redhat.com>
2328 * include/bits/locale_facets.tcc: Conditionalize use of strtold.
2330 2001-09-13 Alexandre Petit-Bianco <apbianco@redhat.com>
2332 * testsuite/22_locale/money_get_members_char.cc: Fixed typo in comment.
2333 * testsuite/22_locale/money_put_members_char.cc: Likewise.
2334 * testsuite/22_locale/money_put_members_wchar_t.cc: Likewise.
2336 2001-09-13 Benjamin Kosnik <bkoz@redhat.com>
2338 Implement std::money_get.
2339 * include/bits/locale_facets.tcc (money_get::do_get): Implement.
2340 * include/bits/locale_facets.h (money_get): Correct signatures.
2341 * testsuite/22_locale/money_get.cc: New file.
2342 * testsuite/22_locale/money_get_members_char.cc: New file.
2344 * include/bits/locale_facets.tcc (__verify_grouping): New
2345 function. Consolidate num_get and money_get group checking into
2347 (money_get): Use it.
2348 * src/locale.cc (num_get::_M_extract): Use it.
2349 * src/locale-inst.cc: Add instantiation.
2351 2001-09-12 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
2353 * include/bits/std_limits.h (numeric_limits<float>::radix,
2354 numeric_limits<float>::epsilon: Fix thinko.
2356 2001-09-10 Benjamin Kosnik <bkoz@redhat.com>
2358 * configure.in: Fix cross compiling math routines. Correct
2359 comments for cross compiling and limits. Add floating point math
2360 routines found in newlib.
2361 * configure: Regenerate.
2362 * acconfig.h: Add macros.
2363 * config.h.in: Regenerate.
2365 2001-09-10 Benjamin Kosnik <bkoz@redhat.com>
2367 * config/locale/moneypunct_members_generic.cc
2368 (money_base::_S_construct_pattern): Remove unused parameters.
2370 2001-09-10 Benjamin Kosnik <bkoz@redhat.com>
2372 * include/Makefile.am (stamp-target): Remove link to self.
2373 * inclulde/Makefile.in: Regenerate.
2375 2001-09-09 Benjamin Kosnik <bkoz@redhat.com>
2377 Implement std::money_put.
2378 * include/bits/locale_facets.h
2379 (moneypunct::_M_initialize_moneypunct): Split up specializations
2380 to account for _Intl. More grody hacking to get around the
2381 ill-considered use of const bool as a template parameter.
2382 * config/locale/moneypunct_members_gnu.cc: And here.
2383 * config/locale/moneypunct_members_generic.cc: And here.
2384 * testsuite/22_locale/moneypunct_members_char.cc: Add tests.
2385 * testsuite/22_locale/moneypunct.cc: Add tests.
2386 * testsuite/22_locale/money_put_members_wchar_t.cc: New file.
2387 * testsuite/22_locale/moneypunct_members_wchar_t.cc: New file.
2389 * src/locale.cc (money_base::_S_construct_pattern): Move into
2391 * config/locale/moneypunct_members_gnu.cc: Add here.
2392 * config/locale/moneypunct_members_generic.cc: Add generic version
2395 * include/bits/locale_facets.tcc (money_put::do_put): Move member
2396 function definitions here.
2397 * include/bits/locale_facets.h (money_put): Implement.
2398 * src/locale-inst.cc: Add use_facet instantiations for moneypunct.
2399 Correct money_get, money_put instantiations.
2400 * src/locale.cc (money_base::_S_construct_pattern): Handle case
2402 * testsuite/22_locale/money_put_members_char.cc: Add tests.
2404 2001-09-05 Phil Edwards <pme@sources.redhat.com>
2406 * testsuite_flags.in: No longer need to search testsuite builddir.
2407 * src/stl-inst.cc (__sink_unused_warning): Unused, remove.
2408 * Makefile.am: The testsuite directory never needs to be made here.
2409 * Makefile.in: Regenerate.
2410 * include/Makefile.in: Regenerate.
2411 * libio/Makefile.in: Regenerate.
2412 * libmath/Makefile.in: Regenerate.
2413 * libsupc++/Makefile.in: Regenerate.
2414 * po/Makefile.in: Regenerate.
2415 * src/Makefile.in: Regenerate.
2416 * testsuite/Makefile.in: Regenerate.
2418 2001-09-04 Scott Johnston <scott@accom.com>
2419 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
2421 * include/backward/iterator.h: Include <bits/std_iterator.h>,
2422 remove reverse_bidirectional_iterator.
2423 * testsuite/backward: New directory.
2424 * testsuite/backward/header_iterator_h.cc: New file.
2426 2001-09-04 Benjamin Kosnik <bkoz@redhat.com>
2428 * include/c_std/bits/std_c*.h: Don't use include_next.
2430 2001-09-03 Richard Sandiford <rsandifo@redhat.com>
2432 * libsupc++/eh_personality.cc (parse_lsda_header): Change type of
2433 tmp from _Unwind_Ptr to _Unwind_Word.
2435 2001-08-31 Jason Merrill <jason_merrill@redhat.com>
2437 * libsupc++/eh_personality.cc (PERSONALITY_FUNCTION): Simplify
2440 2001-08-28 Loren J. Rittle <ljrittle@acm.org>
2442 * include/Makefile.am: Use toplevel_srcdir to refer to src files
2443 outside this component.
2444 * include/Makefile.in: Regenerate.
2446 2001-08-27 Benjamin Kosnik <bkoz@redhat.com>
2448 * config/locale/c_locale_gnu.cc: Move facet info to separate files...
2449 * config/locale/c_locale_generic.cc: Same.
2450 * config/locale/moneypunct_members_gnu.cc: New file.
2451 * config/locale/moneypunct_members_generic.cc: New file.
2452 * config/locale/numpunct_members_gnu.cc: New file.
2453 * config/locale/numpunct_members_generic.cc: New file.
2454 * acinclude.m4 (GLIBCPP_ENABLE_CLOCALE): Add moneypunct, numpunct
2456 * aclocal.m4: Regenerate.
2457 * configure: Regenerate.
2458 * src/Makefile.am (sources): And here.
2459 * src/Makefile.in: Regenerate.
2461 Rename for consistency with rest of testsuite.
2462 * testsuite/22_locale/codecvt.cc: New file.
2463 * testsuite/22_locale/money_put.cc: New file.
2464 * testsuite/22_locale/money_put_members_char.cc: New file.
2466 2001-08-27 Phil Edwards <pme@sources.redhat.com>
2469 * acinclude.m4 (GLIBCPP_EXPORT_INSTALL_INFO): Handle enable/disable
2470 correctly for version-specific-runtime-libs.
2471 * aclocal.m4: Regenerate.
2472 * configure: Regenerate.
2474 2001-08-24 Loren J. Rittle <ljrittle@acm.org>
2476 * config/cpu/i386/bits/limits.h (__glibcpp_long_double_bits): Only
2477 define if not already provided by per-OS file.
2478 * config/os/bsd/freebsd/bits/os_defines.h (__glibcpp_long_double_bits):
2481 2001-08-24 Jan van Male <jan.vanmale@fenk.wau.nl>
2483 * docs/html/17_intro/C++STYLE: Fix typo.
2485 2001-08-24 Phil Edwards <pme@sources.redhat.com>
2487 * docs/html/23_containers/howto.html: Describe implementation of
2488 insertion with hints.
2490 2001-08-24 Kenny Simpson <kenny.simpson@gs.com>
2493 * include/bits/std_sstream.h (basic_ostringstream): Fix ctor.
2495 2001-08-24 Sylvain Pion <Sylvain.Pion@sophia.inria.fr>
2496 Phil Edwards <pme@sources.redhat.com>
2499 * include/bits/stl_tree.h (insert_unique): Revert last change.
2500 Values inserted at begin() must be less, not greater, than *begin()'s.
2501 * testsuite/23_containers/map_insert.cc: New file.
2503 2001-08-23 Benjamin Kosnik <bkoz@redhat.com>
2505 * config/locale/c_locale_gnu.cc: Minor tweaks.
2506 (moneypunct<wchar_t>): Implement.
2507 * include/bits/locale_facets.h: Same.
2508 * testsuite/22_locale/moneypunct.cc: New file.
2509 * testsuite/22_locale/moneypunct_byname.cc: New file.
2510 * testsuite/22_locale/moneypunct_char_members.cc: New file.
2512 2001-08-23 David Edelsohn <edelsohn@gnu.org>
2514 * config/os/gnu-linux/bits/os_defines.h: Correct __s390__ definitions.
2515 Set __powerpc__ long double definition based on __LONG_DOUBLE_128__.
2517 2001-08-23 Jason Merrill <jason_merrill@redhat.com>
2519 * testsuite_flags.in (build-includes): Re-add backward.
2521 2001-08-22 Benjamin Kosnik <bkoz@redhat.com>
2523 * testsuite/22_locale/collate_wchar_t_members.cc: Guard
2524 with _GLIBCPP_USE_WCHAR_T.
2526 2001-08-21 Benjamin Kosnik <bkoz@redhat.com>
2528 * testsuite/22_locale/collate_byname.cc (test01): Fix.
2530 2001-08-18 Vladimir A Merzliakov <wanderer@rsu.ru>
2532 * include/bits/locale_facets.tcc (collate::do_transform): Add typename.
2534 2001-08-18 Benjamin Kosnik <bkoz@redhat.com>
2536 * testsuite/22_locale/operators.cc: Add test.
2538 2001-08-17 Benjamin Kosnik <bkoz@redhat.com>
2540 Implement std::collate.
2541 * config/locale/collate_specializations_gnu.cc: Add here, implement in
2543 * config/locale/collate_specializations_generic.cc: Add here, but
2544 in a less sophisticated manner.
2545 * include/bits/locale_facets.tcc (collate): Add generic definition.
2546 * include/bits/locale_facets.h (~collate): Mark virtual.
2547 (collate::_M_compare_helper): New.
2548 (collate::_M_transform_helper): New.
2549 * src/locale.cc: Remove unnecessary specializations.
2550 * src/string-inst.cc: Tweak instantiation of ctors.
2552 * acinclude.m4 (GLIBCPP_ENABLE_CLOCALE): Do configury for collate.
2553 * aclocal.m4: Regenerate.
2554 * configure: Regenerate.
2555 * src/Makefile.am (sources): Add collate.cc.
2556 * src/Makefile.in: Regenerate.
2558 * testsuite/22_locale/collate_byname.cc: New.
2559 * testsuite/22_locale/collate.cc: New file.
2560 * testsuite/22_locale/collate_char_members.cc: New file.
2561 * testsuite/22_locale/collate_wchar_t_members.cc: New file.
2563 2001-08-16 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
2565 * configure.target: Set LIMITSH for powerpc-*-*.
2566 * config/cpu/powerpc/bits/limits.h: New file.
2568 2001-08-16 Marc Espie <espie@openbsd.org>
2570 * configure.in: Check for <sys/types.h>.
2571 * configure: Rebuild.
2572 * config.h.in: Rebuild.
2573 * libmath/mathconf.h: Include <sys/types.h> prior to
2574 <machine/endian.h> if available.
2576 2001-08-15 Andreas Schwab <schwab@suse.de>
2578 * configure.target (cpu_include_dir): Set to `config/cpu/m68k' for
2579 m68k and m680[246]0.
2580 * config/cpu/m68k/bits/atomicity.h: New file.
2582 * include/bits/std_limits.h [__glibcpp_long_double_bits == 96]:
2583 Define appropriate long double limits for m68k extended floating
2585 (__glibcpp_f32_digits10): Corrected, off by one.
2586 (__glibcpp_f80_digits10): Likewise.
2587 (__glibcpp_f128_digits10): Likewise.
2588 * config/os/gnu-linux/bits/os_defines.h
2589 (__glibcpp_long_double_bits) [__mc68000__]: Define to 96.
2591 2001-08-15 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
2593 * testsuite/18_support/numeric_limits.cc: Add more tests.
2594 * include/bits/std_limits.h (numeric_limits<char>::max): Fix
2597 2001-08-14 Ulrich Weigand <uweigand@de.ibm.com>
2599 * configure.target (cpu_include_dir): Set to `config/cpu/s390'
2602 * config/cpu/s390/bits/atomicity.h: New.
2604 2001-08-14 Gabriel Dos Reis <gdr@codesourcery.com>
2606 * include/bits/std_limits.h: Fix thinko.
2608 2001-08-14 Benjamin Kosnik <bkoz@redhat.com>
2610 * include/Makefile.am: Consolidate target rules. Don't clean stamp
2611 files. Tweak target build directory stamp.
2612 * include/Makefile.in: Regenerate.
2614 2001-08-14 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
2616 * libstdc++-v3/libmath/stubs.c: Fix PR/3988, replace
2617 _GBLICPP_HAVE_LOGL with HAVE_LOGL
2619 2001-08-13 Benjamin Kosnik <bkoz@redhat.com>
2621 * configure.in (libtool_VERSION): Add.
2622 (VERSION): Change to
2623 (release_VERSION): This.
2624 * configure: Regenerate.
2625 * src/Makefile.am (libstdc___la_LDFLAGS): Use -version-info with
2627 * src/Makefile.in: Regenerate.
2629 * intl/Makefile.am: Remove.
2630 * intl/Makefile.in: Remove.
2632 * Makefile.am (SUBDIRS): Remove intl.
2633 * po/Makefile.am (DISTFILES): Add string_literals.cc
2635 * po/string_literals.cc: Add.
2636 * po/POTFILES.in: Fix path.
2637 * acinclude.m4 (GLIBCPP_ENABLE_CLOCALE): Don't call AM_GNU_GETTEXT.
2638 * aclocal.m4: Regenerate.
2639 * configure.in: Remove AC_OUTPUT of intl/Makefile.
2641 * include/backward/backward_warning.h: Clarify message.
2643 * testsuite_flags.in (--cxxflags): Use same debug flags for
2644 library and testsuite.
2646 * include/Makefile.am (c_compatibility): Remove.
2647 * include/Makefile.in: Regenerate.
2649 2001-08-13 Mark Mitchell <mark@codesourcery.com>
2651 * configure.in (LIMITS_INC_SRCDIR): New variable.
2652 * configure.target (LIMITSH): New variable.
2653 * porting.texi: Discuss numeric limits.
2654 * config/cpu/generic/bits/limits.h: New file.
2655 * config/cpu/i386/bits/limits.h: New file.
2656 * include/Makefile.am: Install bits/limits.h.
2657 * include/bits/c++config: Include bits/limits.h.
2659 2001-08-13 H.J. Lu (hjl@gnu.org)
2661 * testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3-copy-files):
2663 (libstdc++-v3-init ): Use it.
2665 2001-08-13 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
2667 * include/bits/ostream.tcc (__pad_char): Change toplevel '__fmt'
2668 to '__adjust' to avoid shadowing in nested scope.
2670 2001-08-10 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
2672 * include/bits/std_limits.h(__glibcpp_char_is_signed): Use
2675 * config/os/gnu-linux/bits/os_defines.h(__glibcpp_char_is_signed):
2677 * config/os/aix/bits/os_defines.h(__glibcpp_plain_char_is_signed):
2680 2001-08-10 Loren J. Rittle <ljrittle@acm.org>
2682 * testsuite/testsuite_hooks.h (__set_testsuite_memlimit): Add
2683 dummy default argument to the non-limit implementation.
2686 * include/Makefile.am: Use relative file path in rule to allow
2688 * include/Makefile.in: Rebuilt.
2690 2001-08-10 Gunter Winkler <gunter.winkler@mathematik.tu-chemnitz.de>
2692 * include/bits/std_complex.h (complex<long double>::operator*=,
2693 complex<long double>::operator/=): Fix thinko.
2695 2001-08-10 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
2697 * include/bits/std_limits.h: New file.
2698 * include/Makefile.am (bits_headers): Add std_limits.h
2699 (all-local): std_limits.h is no longer built.
2700 (${target_builddir}/std_limits.h): Remove.
2701 * include/Makefile.in: Regenerate.
2702 * src/limits.cc: New file.
2703 * src/Makefile.am (sources): Add limits.cc in replacement of
2705 * src/Makefile.in: Regenerate.
2707 2001-08-09 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
2709 * src/gen-num-limits.cc (digits10): Fix thinko.
2711 2001-08-09 Benjamin Kosnik <bkoz@redhat.com>
2713 * po/Makefile.am (check-no): Add.
2715 * po/Makefile.in: Regenerate.
2717 2001-08-09 Benjamin Kosnik <bkoz@redhat.com>
2719 * acconfig.h (_GLIBCPP_MEM_LIMITS): Define.
2720 * config.h.in: Regenerate.
2721 * acinclude.m4 (GLIBCPP_CHECK_SETRLIMIT): Check for setrlimit
2723 * aclocal.m4: Regenerate.
2724 * configure.in: Remove duplicate AM_CONFIG_HEADER.
2725 (AM_CONFIG_HEADER): Remove testsuite/testsuite_hooks.h.
2726 Only call GLIBCPP_CHECK_SETRLIMIT for native compiles.
2727 * configure: Regenerate.
2728 * testsuite_hooks.h.in: Move to...
2729 * testsuite_hooks.h: Here, include c++config.h. Use it.
2731 * Makefile.am (SUBDIRS): Move testsuite to last directory.
2732 * Makefile.in: Regenerate.
2733 * po/Makefile.am (stamp-po): Add.
2735 2001-08-09 David Edelsohn <edelsohn@gnu.org>
2737 * config/os/aix/bits/os_defines.h: Define std_limits.h macros.
2738 * config/os/generic/bits/os_defines.h: Likewise.
2739 * config/os/gnu-linux/bits/os_defines.h: Likewise.
2740 * config/os/hpux/bits/os_defines.h: Likewise.
2741 * config/os/irix/irix6.5/bits/os_defines.h: Likewise.
2742 * config/os/solaris/solaris2.7/bits/os_defines.h: Likewise.
2744 2001-08-08 Benjamin Kosnik <bkoz@redhat.com>
2746 * src/Makefile.am (libstdc___la_LDFLAGS): Use -release instead of
2747 -version-info, use substituted VERSION info.
2748 * src/Makefile.in: Regenerate.
2750 2001-08-07 Benjamin Kosnik <bkoz@redhat.com>
2752 Implement std::messages.
2753 Make config a fully-nested directory.
2754 * config/locale: New directory.
2755 * config/c_locale_generic.cc: Move into locale subdirectory.
2756 * config/c_locale_generic.h: Same.
2757 * config/c_locale_gnu.cc: Same.
2758 * config/c_locale_gnu.h: Same.
2759 * config/c_locale_ieee_1003.1-200x.cc: Same.
2760 * config/c_locale_ieee_1003.1-200x_.h: Same.
2761 * config/codecvt_specializations_generic.h: Same.
2762 * config/codecvt_specializations_ieee_1003.1-200x.h: Same.
2763 * config/messages_members_gnu.h: Same.
2764 * config/messaages_members_gnu.cc: Same.
2765 * config/messages_members_generic.h: Same.
2766 * config/messaages_members_generic.cc: Same.
2767 * config/messages_members_ieee_1003.1-200x.h: Same.
2768 * config/messaages_members_ieee_1003.1-200x.cc: Same.
2769 * config/io: New directory.
2770 * config/basic_file_libio.h: Move into io subdirectory.
2771 * config/basic_file_libio.cc: Same.
2772 * config/c_io_libio.h: Same.
2773 * config/c_io_libio_codecvt.c: Same.
2774 * config/basic_file_stdio.h: Same.
2775 * config/basic_file_stdio.cc: Same.
2776 * config/c_io_stdio.h: Same.
2778 * po: New directory.
2779 * po/POTFILES.in: New file.
2780 * po/Makefile.am: New file.
2781 * po/Makefile.in: New file.
2782 * po/libstdc++.pot: Generic translation file.
2783 * po/fr.po: Preliminary French translation.
2784 * po/de.po: Preliminary German translation.
2785 * intl: New directory.
2786 * intl/Makefile.am: New file.
2787 * intl/Makefile.in: New file.
2788 * intl/string_literals.cc: New file.
2789 * acinclude.m4 (GLIBCPP_CONFIGURE): Bump VERSION to 3.1.0. Add
2790 requisite setup for gettext. Re-arrange.
2791 * aclocal.m4: Regenerate.
2792 * configure.in: Don't call GLIBCPP_CHECK_COMPILER_VERSION.
2793 Output Makefile bits for po and intl.
2794 * configure: Regenerate.
2795 * Makefile.am (SUBDIRS): Add intl, po. Add rule for dist.
2796 * Makefile.in: Regenerate.
2797 * acconfig.h: Add ENABLE_NLS, HAVE_CATGETS, HAVE_GETTEXT, HAVE_STPCPY.
2798 * config.h.in: Regenerate.
2800 * acinclude.m4 (AC_REPLACE_STRINGFUNCS): Remove.
2802 * include/Makefile.am (install-data-local): Don't install Makefile.
2803 * include/Makefile.in: Regenerate.
2805 * include/bits/locale_facet.h (locale::facet::_S_clone_c_locale):
2807 * config/locale/c_locale_gnu.cc (_S_clone_c_locale): Add definition.
2808 * config/locale/c_locale_generic.cc: Same.
2809 * config/locale/c_locale_ieee_1003.1-200x.cc: Same.
2811 * include/bits/codecvt.h: Excise non-standard, non-required
2812 bits. This includes __enc_traits, and partial specializations of
2813 codecvt for __enc_traits.
2814 * src/codecvt.cc (__enc_traits::_S_max_size): Guard
2815 * config/codecvt_partials_ieee_1003.1-200x.h: New file.
2816 * config/codecvt_partials_generic.h: New file.
2817 * include/Makefile.am (allstamps): Add stamp-codecvt_model.
2818 (stamp-codecvt_model): Add.
2819 * include/Makefile.in: Regenerate.
2820 * acinclude.m4 (GLIBCPP_ENABLE_CLOCALE): Add in codecvt configury.
2821 * aclocal.m4: Regenerate.
2822 * configure: Regenerate.
2823 * testsuite/22_locale/codecvt_unicode_wchar_t.cc: Use macro guard.
2824 * testsuite/22_locale/codecvt_unicode_char.cc: Same.
2825 * testsuite/22_locale/ctor_copy_dtor.cc: And here.
2827 * include/bits/localefwd.h (class locale::facet): Add __enc_traits
2828 as a friend for _S_*_c_locale functions.
2829 * include/bits/codecvt.h (__enc_traits::__enc_traits): Add locale
2830 argument to default constructor so that CODESET information can be
2832 * include/bits/locale_facets.h (messages_byname):
2833 Re-implement. Remove specializations.
2834 * src/locale.cc (messages_byname<char>): Remove specialization.
2835 (messages_byname<wchar_t>): Same.
2836 * config/locale/c_locale_ieee_1003.1-200x.cc: New file.
2837 * config/locale/c_locale_ieee_1003.1-200x.h: New file.
2838 * config/locale/messages_members_ieee_1003.1-200x.cc: New file.
2839 * config/locale/messages_members_ieee_1003.1-200x.h: New file.
2840 * config/locale/messages_members_gnu.cc: New file.
2841 * config/locale/messages_members_gnu.h: New file.
2842 * config/locale/messages_members_generic.cc: New file.
2843 * config/locale/messages_members_generic.h: New file.
2845 * docs/html/configopts.html: Add documentation for new locale
2846 model, ieee_1003.1. Adjust other flags for current defaults.
2847 * docs/html/22_locale/locale.html: Update.
2848 * docs/html/22_locale/howto.html: Add link to messages.html. Organize.
2849 * docs/html/22_locale/messages.html: New.
2851 * src/Makefile.am (sources): Add messages_virtuals.cc.
2852 * src/Makefile.in: Regenerate.
2853 * include/Makefile.am (allstamps): Add stamp-messages_model.
2854 (stamp-messages_model): Add.
2855 * include/Makefile.in: Regenerate.
2856 * acinclude.m4 (GLIBCPP_ENABLE_CLOCALE): Add in messages configury.
2857 * aclocal.m4: Regenerate.
2858 * configure: Regenerate.
2860 * testsuite_flags.in (--cxxflags): Add LOCALEDIR.
2861 * testsuite/lib/libstdc++-v3-dg.exp: Remove broken LD_LIBRARY_PATH
2863 * acinclude (GLIBCPP_ENABLE_CLOCALE): Set glibcpp_localedir to the
2864 build directories message catalog base directory, and export.
2865 Eventually this should probably be made to deal with build and
2866 install directories. For now, punt on this as the library itself
2867 doesn't use message catalogs (yet).
2868 * testsuite/22_locale/messages.cc: New file.
2869 * testsuite/22_locale/messages_char_members.cc: New file.
2870 * testsuite/22_locale/messages_byname.cc: New file.
2872 2001-08-06 Phil Edwards <pme@sources.redhat.com>
2874 * acinclude.m4 (GLIBCPP_CONFIGURE_TESTSUITE): New macro, calls...
2875 (GLIBCPP_CHECK_SETRLIMIT): ...this new macro, which also uses...
2876 (GLIBCPP_CHECK_SETRLIMIT_ancilliary): ...this new macro.
2877 * configure.in (AM_CONFIG_HEADER): Also generate testsuite_hooks.h.
2878 Call GLIBCPP_CONFIGURE_TESTSUITE.
2879 * aclocal.m4: Regenerate.
2880 * config.h.in: Regenerate.
2881 * configure: Regenerate.
2883 * testsuite/lib/libstdc++-v3-dg.exp: Download new header instead
2886 * testsuite_flags.in: Add build dir's testsuite to INCLUDES.
2887 * testsuite/debug_assert.h: Removed; contents merged into...
2888 * testsuite/testsuite_hooks.h.in: ...here. New file.
2889 * testsuite/17_intro/header_ciso646.cc: No longer include
2890 debug_assert.h, include testsuite_hooks.h instead.
2891 * testsuite/17_intro/header_fstream.cc: Likewise.
2892 * testsuite/17_intro/header_iomanip.cc: Likewise.
2893 * testsuite/17_intro/header_ios.cc: Likewise.
2894 * testsuite/17_intro/header_iosfwd.cc: Likewise.
2895 * testsuite/17_intro/header_iostream.cc: Likewise.
2896 * testsuite/17_intro/header_istream.cc: Likewise.
2897 * testsuite/17_intro/header_ostream.cc: Likewise.
2898 * testsuite/17_intro/header_sstream.cc: Likewise.
2899 * testsuite/17_intro/header_streambuf.cc: Likewise.
2900 * testsuite/18_support/numeric_limits.cc: Likewise.
2901 * testsuite/19_diagnostics/stdexceptions.cc: Likewise.
2902 * testsuite/20_util/allocator_members.cc: Likewise.
2903 * testsuite/20_util/auto_ptr.cc: Likewise.
2904 * testsuite/20_util/pairs.cc: Likewise.
2905 * testsuite/21_strings/append.cc: Likewise.
2906 * testsuite/21_strings/capacity.cc: Likewise.
2907 * testsuite/21_strings/char_traits_requirements.cc: Likewise.
2908 * testsuite/21_strings/compare.cc: Likewise.
2909 * testsuite/21_strings/ctor_copy_dtor.cc: Likewise. Also set up
2910 call to (disabled) __set_testsuite_memlimit() wrapper.
2911 * testsuite/21_strings/element_access.cc: Likewise.
2912 * testsuite/21_strings/find.cc: Likewise.
2913 * testsuite/21_strings/insert.cc: Likewise. Also set up call to
2914 (disabled) __set_testsuite_memlimit() wrapper.
2915 * testsuite/21_strings/inserters_extractors.cc: Likewise.
2916 * testsuite/21_strings/invariants.cc: Likewise.
2917 * testsuite/21_strings/nonmember.cc: Likewise.
2918 * testsuite/21_strings/operations.cc: Likewise.
2919 * testsuite/21_strings/replace.cc: Likewise.
2920 * testsuite/21_strings/rfind.cc: Likewise.
2921 * testsuite/21_strings/substr.cc: Likewise.
2922 * testsuite/22_locale/codecvt_char_char.cc: Likewise.
2923 * testsuite/22_locale/codecvt_unicode_char.cc: Likewise.
2924 * testsuite/22_locale/codecvt_unicode_wchar_t.cc: Likewise.
2925 * testsuite/22_locale/codecvt_wchar_t_char.cc: Likewise.
2926 * testsuite/22_locale/ctor_copy_dtor.cc: Likewise.
2927 * testsuite/22_locale/ctype_char_members.cc: Likewise.
2928 * testsuite/22_locale/ctype_wchar_t_members.cc: Likewise.
2929 * testsuite/22_locale/facet.cc: Likewise.
2930 * testsuite/22_locale/global_templates.cc: Likewise.
2931 * testsuite/22_locale/members.cc: Likewise.
2932 * testsuite/22_locale/numpunct_byname.cc: Likewise.
2933 * testsuite/22_locale/numpunct_char_members.cc: Likewise.
2934 * testsuite/22_locale/operators.cc: Likewise.
2935 * testsuite/22_locale/static_members.cc: Likewise.
2936 * testsuite/23_containers/bitset_ctor.cc: Likewise.
2937 * testsuite/23_containers/bitset_members.cc: Likewise.
2938 * testsuite/23_containers/bitset_shift.cc: Likewise.
2939 * testsuite/23_containers/vector_capacity.cc: Likewise.
2940 * testsuite/23_containers/vector_ctor.cc: Likewise.
2941 * testsuite/23_containers/vector_element_access.cc: Likewise.
2942 * testsuite/23_containers/vector_modifiers.cc: Likewise.
2943 * testsuite/24_iterators/istreambuf_iterator.cc: Likewise.
2944 * testsuite/24_iterators/iterator.cc: Likewise.
2945 * testsuite/24_iterators/ostreambuf_iterator.cc: Likewise.
2946 * testsuite/25_algorithms/binary_search.cc: Likewise.
2947 * testsuite/25_algorithms/copy.cc: Likewise.
2948 * testsuite/25_algorithms/heap.cc: Likewise.
2949 * testsuite/25_algorithms/lower_bound.cc: Likewise.
2950 * testsuite/25_algorithms/min_max.cc: Likewise.
2951 * testsuite/25_algorithms/partition.cc: Likewise.
2952 * testsuite/25_algorithms/rotate.cc: Likewise.
2953 * testsuite/25_algorithms/sort.cc: Likewise.
2954 * testsuite/26_numerics/c_math.cc: Likewise.
2955 * testsuite/26_numerics/complex_inserters_extractors.cc: Likewise.
2956 * testsuite/26_numerics/complex_value.cc: Likewise.
2957 * testsuite/27_io/filebuf.cc: Likewise.
2958 * testsuite/27_io/filebuf_members.cc: Likewise.
2959 * testsuite/27_io/filebuf_virtuals.cc: Likewise.
2960 * testsuite/27_io/fpos.cc: Likewise.
2961 * testsuite/27_io/fstream_members.cc: Likewise.
2962 * testsuite/27_io/ifstream_members.cc: Likewise.
2963 * testsuite/27_io/ios_base_callbacks.cc: Likewise.
2964 * testsuite/27_io/ios_base_members_static.cc: Likewise.
2965 * testsuite/27_io/ios_base_storage.cc: Likewise.
2966 * testsuite/27_io/ios_ctor.cc: Likewise.
2967 * testsuite/27_io/ios_init.cc: Likewise.
2968 * testsuite/27_io/ios_manip_basefield.cc: Likewise.
2969 * testsuite/27_io/ios_manip_fmtflags.cc: Likewise.
2970 * testsuite/27_io/ios_members.cc: Likewise.
2971 * testsuite/27_io/istream_extractor_arith.cc: Likewise.
2972 * testsuite/27_io/istream_extractor_char.cc: Likewise.
2973 * testsuite/27_io/istream_extractor_other.cc: Likewise.
2974 * testsuite/27_io/istream_manip.cc: Likewise.
2975 * testsuite/27_io/istream_seeks.cc: Likewise.
2976 * testsuite/27_io/istream_sentry.cc: Likewise.
2977 * testsuite/27_io/istream_unformatted.cc: Likewise.
2978 * testsuite/27_io/istringstream_members.cc: Likewise.
2979 * testsuite/27_io/narrow_stream_objects.cc: Likewise.
2980 * testsuite/27_io/ofstream_members.cc: Likewise.
2981 * testsuite/27_io/ostream_inserter_arith.cc: Likewise.
2982 * testsuite/27_io/ostream_inserter_char.cc: Likewise.
2983 * testsuite/27_io/ostream_inserter_other.cc: Likewise.
2984 * testsuite/27_io/ostream_manip.cc: Likewise.
2985 * testsuite/27_io/ostream_seeks.cc: Likewise.
2986 * testsuite/27_io/ostream_unformatted.cc: Likewise.
2987 * testsuite/27_io/ostringstream_members.cc: Likewise.
2988 * testsuite/27_io/streambuf.cc: Likewise.
2989 * testsuite/27_io/stringbuf.cc: Likewise.
2990 * testsuite/27_io/stringbuf_virtuals.cc: Likewise.
2991 * testsuite/27_io/stringstream.cc: Likewise.
2992 * testsuite/27_io/stringstream_members.cc: Likewise.
2993 * testsuite/27_io/wide_stream_objects.cc: Likewise.
2995 2001-07-31 Loren J. Rittle <ljrittle@acm.org>
2997 * src/gen-num-limits.cc: Use __LONG_LONG_MAX__.
2999 2001-07-30 Benjamin Kosnik <bkoz@redhat.com>
3001 * configure.target: Remove mips from cpu table.
3002 * config/cpu/mips/bits/atomicity.h: Remove generic
3003 versions. Comment sgidefs include.
3005 2001-07-25 H.J. Lu <hjl@gnu.org>
3007 * configure.target (cpu_include_dir): Set to `config/cpu/mips'
3010 * config/cpu/mips/bits/atomicity.h: New.
3012 2001-07-25 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
3014 * acinclude.m4: CHECK_MATH_DECL_AND_LINKAGE for hypot, hypotf,
3015 hypotl, atan2f, atan2l. Remove from REPLACE_MATHFUNCS list.
3016 * aclocal.m4: Regenerate.
3017 * config.h.in: Likewise.
3018 * configure: Likewise.
3019 * libmath/Makefile.am (EXTRA_LONG_DOUBLE_yes): Remove hypotl.c
3020 (EXTRA_DIST): Remove hypot.c hypotf.c.
3021 * libmath/Makefile.am: Regenerate.
3022 * libmath/hypotf.c: Remove.
3023 * libmath/hypot.c: Likewise.
3024 * libmath/hypotl.c: Likewise.
3025 * libmath/stubs.c: The macros seen here are HAVE_xxx, not
3026 _GLIBCPP_HAVE_xxx. Add long double versions.
3028 2001-07-23 David Edelsohn <edelsohn@gnu.org>
3030 * include/bits/limits_generic.h (int): Set digits and digits10
3031 appropriately for word size.
3032 (unsigned int,long,unsigned long): Likewise.
3034 2001-07-19 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
3036 * include/bits/stl_algo.h : Fix typos.
3037 * testsuite/25_algorithms/unique.cc: New file.
3039 2001-07-19 Phil Edwards <pme@sources.redhat.com>
3040 Mark Mitchell <mark@codesourcery.com>
3042 Merge from cp-parser-branch.
3043 * include/bits/basic_string.h: Qualify symbols with 'template'.
3044 * include/bits/basic_string.tcc: Likewise.
3045 * include/bits/fstream.tcc: Likewise.
3046 * include/bits/istream.tcc: Likewise.
3047 * include/bits/sstream.tcc: Likewise.
3048 * include/bits/std_istream.h: Likewise.
3049 * include/bits/stl_iterator.h: Likewise.
3050 * include/bits/streambuf.tcc: Likewise.
3051 * src/gen-num-limits.cc: Add 'template<>' to specializations.
3052 * src/locale.cc: Likewise.
3054 2001-07-19 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
3055 Bert De Knuydt <Bert.Deknuydt@esat.kuleuven.ac.be>
3057 * src/gen-num-limits.cc (set_signals_handler): New function.
3058 Factor out signals setting. Set signal handler for SIGILL.
3060 2001-07-18 Phil Edwards <pme@sources.redhat.com>
3062 * docs/html/27_io/howto.html: Fix typo.
3063 * docs/html/faq/index.html: Minor updates for 3.0 all around.
3064 * docs/html/faq/index.txt: Regenerated.
3066 2001-07-18 Stephen M. Webb <stephen@bregmasoft..com>
3067 Roman Sulzhyk <roman_sulzhyk@yahoo.com>
3070 * include/bits/ostream.tcc (ostream::put): Fixed error condition check.
3071 * testsuite/27_io/streambuf.cc (test07): Added new regression test.
3073 2001-07-17 Stephen M. Webb <stephen@bregmasoft.com>r
3075 All occurrences of the __value_type() and __distance_type()
3076 functions, which were required to support the HP STL, have been
3077 removed along with all the auxiliary forwarding functions that
3078 were required to support their use.
3080 The __iterator_category() function was pretty much left alone
3081 because there was no benefit to removing it and its use made code
3082 just a little more readable.
3084 Incidences of distance() with nonstandard argument list were
3085 replaced by calls to the standard function (only in the files
3086 affected by the removal of the other HP functions).
3088 The signature of the rotate() algorithm was changed to match the
3091 Headers were reformatted under C++STYLE guidelines (indentation,
3092 linebreaks, typename keyword).
3094 * include/bits/stl_algo.h: replaced __value_type() and
3095 __distance_type() with iterator_traits, eliminated auxiliary
3096 support functions required to support said function usage.
3097 Changed nonstandard distance() call to standard call.
3099 * include/bits/stl_algobase.h: Same.
3100 * include/bits/stl_heap.h: Same.
3101 * include/bits/stl_numeric.h: Same.
3102 * include/bits/stl_uninitialized.h: Same.
3103 * include/bits/stl_iterator_base_types.h (__value_type()):
3105 (__distance_type()): Removed.
3106 (value_type()): Gone.
3107 (distance_type()): Done in.
3108 (iterator_category()): Hasta la vista, baby.
3110 * include/bits/stl_iterator_base_funcs.h (iterator_category()):
3111 Replaced with __iterator_category().
3112 * include/backward/iterator.h: moved definition of value_type(),
3113 distance_type(), and iterator_category() out of std:: and into
3115 * testsuite/23_containers/vector_ctor.cc (test03): New testcases.
3116 * testsuite/23_containers/vector_modifiers.cc (test03): New testcases.
3117 * testsuite/25_algorithms/rotate.cc: New testcase.
3118 * testsuite/25_algorithms/copy.cc: New testcase.
3119 * testsuite/25_algorithms/sort.cc: Same.
3120 * testsuite/25_algorithms/heap.cc: Same.
3121 * testsuite/25_algorithms/partition.cc: Same.
3122 * testsuite/25_algorithms/binary_search.cc: Same.
3123 * testsuite/26_numerics/sum_diff.cc: Ditto.
3125 001-07-17 Benjamin Kosnik <bkoz@redhat.com>
3127 * testsuite/README: Add notes on naming test cases.
3128 * testsuite/22_locale/members.cc: Mark as xfail.
3129 * testsuite/22_locale/numpunct_char_members.cc: Same.
3131 2001-07-16 Stephen M. Webb <stephen@bregmasoft.com>
3133 * acinclude.m4 (GLIBCPP_ENABLE_CHEADERS): Use glibcpp_srcdir when
3134 setting C_INCLUDE_DIR.
3135 * configure.in: Revert yesterday's LN_S change.
3136 * aclocal.m4: Regenerate.
3137 * configure: Regenerate.
3139 2001-07-15 Phil Edwards <pme@sources.redhat.com>
3141 * configure.in: Temporarily force LN_S to copy instead of symlink.
3142 * configure: Regenerate.
3144 2001-07-13 Phil Edwards <pme@sources.redhat.com>
3146 * include/bits/std_sstream.h (basic_stringbuf::basic_stringbuf(string):
3147 Initialize _M_string with pointer-and-size constructor, not just
3148 pointer. Fix some comments.
3149 * testsuite/21_strings/ctor_copy_dtor.cc (test03): New test.
3150 * testsuite/27_io/stringbuf.cc (test02): Remove unused variable.
3151 (test03): Add embedded-NUL tests.
3153 * mkcheck.in: When printing totals, match the order of the tests.
3154 * include/bits/stringfwd.h: Use same declaration keywords.
3155 * include/bits/std_iosfwd.h: Cosmetic spacing.
3157 2001-07-13 Stephen M. Webb <stephen@bregmasoft.com>
3158 Loren J. Rittle <ljrittle@acm.org>
3159 Phil Edwards <pme@sources.redhat.com>
3161 * include/Makefile.am: New file encapsulating header generation rules.
3162 * Makefile.am (SUBDIRS): Prepend 'include' directory.
3163 * acinclude.m4: Moved/removed rules for building various headers.
3164 * configure.in (AC_OUTPUT): Add include/Makefile.
3165 * mkc++config: Removed.
3167 * testsuite_flags.in: Changed build-includes to match new scheme.
3168 * mknumeric_limits: Likewise.
3169 * libio/Makefile.am: Changed INCLUDES to maatch new header scheme.
3170 * libmath/Makefile.am: Likewise.
3171 * libsupc++/Makefile.am: Likewise.
3172 * src/Makefile.am: Likewise; removed rules to build headers.
3173 * libmath/mathconf.h: Changed #include'd header names to match.
3174 * libmath/stubs.c: Likewise.
3175 * src/gen-num-limits.cc: Likewise.
3177 * configure: Regenerated.
3178 * config.h.in: Regenerated.
3179 * aclocal.m4: Regenerated.
3180 * Makefile.in: Regenerated.
3181 * include/Makefile.in: Regenerated.
3182 * libio/Makefile.in: Regenerated.
3183 * libmath/Makefile.in: Regenerated.
3184 * libsupc++/Makefile.in: Regenerated.
3185 * src/Makefile.in: Regenerated.
3186 * testsuite/Makefile.in: Regenerated.
3188 2001-07-11 Felix Natter <fnatter@gmx.net>
3190 * docs/html/17_intro/porting-howto.xml: Initial checkin of
3192 * docs/html/17_intro/porting-howto.html: check in v0.9.3
3194 2001-07-11 Phil Edwards <pme@sources.redhat.com>
3196 * docs/doxygen/run_doxygen: Don't keep output from previous run.
3197 * docs/doxygen/user.cfg.in: Tweaks.
3198 * include/bits/c++config: Documentation comments for Doxygen.
3199 * include/bits/char_traits.h: Likewise.
3200 * include/bits/limits_generic.h: Likewise.
3201 * include/bits/std_stdexcept.h: Likewise.
3202 * include/bits/stl_pair.h: Likewise.
3203 * libsupc++/exception: Likewise.
3204 * libsupc++/new: Likewise.
3205 * libsupc++/typeinfo: Likewise.
3206 * libmath/Makefile.am: Update and correct copyright.
3208 2001-07-10 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
3210 * acinclude.m4: Don't AC_REPLACE_MATHFUNCS expf and atan2f.
3211 * aclocal.m4: Regenerate.
3214 2001-07-09 Phil Edwards <pme@sources.redhat.com>
3216 * docs/html/configopts.html: Fix thinko.
3217 * docs/html/27_io/howto.html: Fix thinko and HTML markup.
3218 * include/bits/stl_iterator.h: Fix typo.
3220 2001-07-09 Phil Edwards <pme@sources.redhat.com>
3222 * docs/html/explanations.html: New file.
3223 * docs/html/configopts.html: Link to it to provide more notes
3224 on cstdio. Minor markup and spacing fixes.
3225 * docs/html/27_io/howto.html: Talk about sync_with_stdio.
3227 2001-07-09 Kriang Lerdsuwanakij <lerdsuwa@users.sourceforge.net>
3229 * include/bits/valarray_meta.h (_Expr::operator+): Use qualified id
3230 for _Expr template template argument.
3231 (_Expr::operator-): Likewise.
3232 (_Expr::operator~): Likewise.
3233 (_Expr::operator!): Likewise.
3234 (_DEFINE_EXPR_UNARY_OPERATOR): Likewise.
3236 2001-07-06 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
3238 * libmath/Makefile.am (EXTRA_DIST): Remove atan2f.c and expf.c
3239 * libmath/Makefile.in: Regenerate.
3240 * libmath/expf.c: Remove.
3241 * libmath/atan2f.c: Likewise.
3243 2001-07-06 Daniel Jacobowitz <drow@mvista.com>
3245 * configure.in: Remove NATIVE, NULL_TARGET.
3246 Set CANADIAN only for Canadian crosses. Set xcompiling
3247 for both Canadian crosses and host-x-host crosses.
3248 * configure: Regenerated.
3250 2001-07-06 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
3252 * include/bits/stl_vector.h (vector::_M_initialize_aux): Fix typo.
3254 2001-07-05 Jason Merrill <jason_merrill@redhat.com>
3256 * testsuite_flags.in (--build-includes): backward, not backwards.
3258 2001-07-04 Jeffrey Oldham <oldham@codesourcery.com>
3260 * include/ext/ropeimpl.h (_Rope_RopeRep::_M_free_c_string):
3261 Replace destroy by _Destroy.
3262 (_Rope_RopeRep::_S_free_string): Likewise.
3263 (rope::c_str()): Likewise.
3264 * include/ext/slist (_Slist_base::_M_erase_after>): Likewise.
3265 (_Slist_base::_M_erase_after): Likewise.
3266 (slist::_M_create_node): Replace construct by _Construct.
3267 (slist::pop_front): Replace destroy by _Destroy.
3268 * include/ext/stl_hashtable.h (hashtable::_M_new_node): Replace
3269 construct by _Construct.
3270 (hashtable::_M_delete_node): Replace destroy by _Destroy.
3271 * include/ext/stl_rope.h (rope::rope): Replace construct by
3273 (rope::copy): Replace destroy by _Destroy.
3275 2001-07-03 Benjamin Kosnik <bkoz@redhat.com>
3277 * include/bits/localefwd.h: Format.
3278 * include/bits/locale_facts.tcc (locale::combine): Adjust.
3279 * src/locale.cc (locale::locale::(_Impl)): Don't call
3281 (locale::facet::_M_remove_reference): Simplify.
3282 * src/globals.cc (locale_impl_c): New. Format.
3284 * src/ios.cc (ios_base::Init::Init): Increment _S_ios_base_init last.
3286 2001-07-02 Loren J. Rittle <ljrittle@acm.org>
3288 * acinclude.m4 (GLIBCPP_ENABLE_THREADS): Protect variable from shell
3289 expansion (thanks to Alexandre Oliva).
3290 * aclocal.m4: Regenerate.
3291 * configure: Regenerate.
3293 2001-07-02 Benjamin Kosnik <bkoz@redhat.com>
3295 * src/locale.cc (locale::locale(const char*)): Make sure global
3296 locales are initialized.
3297 * include/bits/locale_facets.tcc (locale::combine): Refcout should
3298 be zero, not one as it's return-by-value.
3299 * testsuite/27_io/ios_base_callbacks.cc (test01): Don't check for
3301 * testsuite/22_locale/ctor_copy_dtor.cc (test01): Instead, check
3304 * libsupc++/eh_alloc.cc: Use climits, not limits.h.
3306 2001-07-02 Loren J. Rittle <ljrittle@acm.org>
3309 * acinclude.m4 (GLIBCPP_ENABLE_THREADS): Portability enhancement.
3310 * aclocal.m4: Regenerate.
3311 * configure: Regenerate.
3313 2001-07-02 Loren J. Rittle <ljrittle@acm.org>
3316 * acinclude.m4 (GLIBCPP_ENABLE_THREADS): Add relative path to
3317 staged/installed area to support -I-. Document.
3318 * aclocal.m4: Regenerate.
3319 * configure: Regenerate.
3321 2001-07-02 Loren J. Rittle <ljrittle@acm.org>
3324 * src/ios.cc (ios_base::Init::_S_ios_create): Rename __bufsize to
3325 __out_bufsize. Add __in_bufsize, document it and use it.
3327 2001-07-01 Stephen M. Webb <stephen@bregmasoft.com>
3329 * include/bits/stl_construct.h (construct): Remove.
3331 (__destroy): Replaced by use of iterator_traits.
3332 * include/bits/stl_deque.h: replaced HP iterator functions with
3334 (construct): changed to _Construct.
3335 (destroy): changed to _Destroy.
3336 * include/bits/stl_tempbuf.h: Same.
3337 * include/bits/stl_tree.h: Same.
3338 * include/bits/stl_vector.h: Same.
3339 * include/backward/iterator.h (construct): moved definition to here.
3342 2001-06-29 Benjamin Kosnik <bkoz@redhat.com>
3344 * include/bits/locale_facets.tcc (locale::combine): Clone _Impl.
3345 before replacing facet.
3346 * include/bits/localefwd.h (locale::_Impl::_M_remove_reference):
3348 * src/localename.cc (locale::_Impl): Correct ctor initialization
3349 lists. Initialize ref count with one. Simplify.
3350 * src/locale.cc: Add comment.
3351 * testsuite/22_locale/numpunct.cc (test01): Add derivation test.
3352 * testsuite/22_locale/numpunct_char_members.cc (test01): Add tests.
3353 * testsuite/22_locale/members.cc (test02): Fix.
3355 2001-06-27 Phil Edwards <pme@sources.redhat.com>
3357 * include/backward/algo.h: Add "GPL plus runtime exception" comment
3358 block, this time for real.
3359 * include/backward/algobase.h: Likewise.
3360 * include/backward/alloc.h: Likewise.
3361 * include/backward/bvector.h: Likewise.
3362 * include/backward/defalloc.h: Likewise.
3363 * include/backward/deque.h: Likewise.
3364 * include/backward/function.h: Likewise.
3365 * include/backward/hash_map.h: Likewise.
3366 * include/backward/hash_set.h: Likewise.
3367 * include/backward/hashtable.h: Likewise.
3368 * include/backward/heap.h: Likewise.
3369 * include/backward/iterator.h: Likewise.
3370 * include/backward/list.h: Likewise.
3371 * include/backward/map.h: Likewise.
3372 * include/backward/multimap.h: Likewise.
3373 * include/backward/multiset.h: Likewise.
3374 * include/backward/pair.h: Likewise.
3375 * include/backward/rope.h: Likewise.
3376 * include/backward/set.h: Likewise.
3377 * include/backward/slist.h: Likewise.
3378 * include/backward/stack.h: Likewise.
3379 * include/backward/strstream: Likewise.
3380 * include/backward/tempbuf.h: Likewise.
3381 * include/backward/tree.h: Likewise.
3382 * include/backward/vector.h: Likewise.
3383 * include/bits/pthread_allocimpl.h: Likewise.
3384 * include/bits/std_algorithm.h: Likewise.
3385 * include/bits/std_bitset.h: Likewise.
3386 * include/bits/std_deque.h: Likewise.
3387 * include/bits/std_functional.h: Likewise.
3388 * include/bits/std_iterator.h: Likewise.
3389 * include/bits/std_list.h: Likewise.
3390 * include/bits/std_map.h: Likewise.
3391 * include/bits/std_memory.h: Likewise.
3392 * include/bits/std_numeric.h: Likewise.
3393 * include/bits/std_queue.h: Likewise.
3394 * include/bits/std_set.h: Likewise.
3395 * include/bits/std_stack.h: Likewise.
3396 * include/bits/std_utility.h: Likewise.
3397 * include/bits/std_vector.h: Likewise.
3398 * include/bits/stl_algo.h: Likewise.
3399 * include/bits/stl_algobase.h: Likewise.
3400 * include/bits/stl_alloc.h: Likewise.
3401 * include/bits/stl_bvector.h: Likewise.
3402 * include/bits/stl_construct.h: Likewise.
3403 * include/bits/stl_deque.h: Likewise.
3404 * include/bits/stl_function.h: Likewise.
3405 * include/bits/stl_heap.h: Likewise.
3406 * include/bits/stl_iterator.h: Likewise.
3407 * include/bits/stl_iterator_base_funcs.h: Likewise.
3408 * include/bits/stl_iterator_base_types.h: Likewise.
3409 * include/bits/stl_list.h: Likewise.
3410 * include/bits/stl_map.h: Likewise.
3411 * include/bits/stl_multimap.h: Likewise.
3412 * include/bits/stl_multiset.h: Likewise.
3413 * include/bits/stl_numeric.h: Likewise.
3414 * include/bits/stl_pair.h: Likewise.
3415 * include/bits/stl_pthread_alloc.h: Likewise.
3416 * include/bits/stl_queue.h: Likewise.
3417 * include/bits/stl_raw_storage_iter.h: Likewise.
3418 * include/bits/stl_relops.h: Likewise.
3419 * include/bits/stl_set.h: Likewise.
3420 * include/bits/stl_stack.h: Likewise.
3421 * include/bits/stl_tempbuf.h: Likewise.
3422 * include/bits/stl_threads.h: Likewise.
3423 * include/bits/stl_tree.h: Likewise.
3424 * include/bits/stl_uninitialized.h: Likewise.
3425 * include/bits/stl_vector.h: Likewise.
3426 * include/bits/type_traits.h: Likewise.
3427 * include/ext/hash_map: Likewise.
3428 * include/ext/hash_set: Likewise.
3429 * include/ext/rope: Likewise.
3430 * include/ext/ropeimpl.h: Likewise.
3431 * include/ext/slist: Likewise.
3432 * include/ext/stl_hash_fun.h: Likewise.
3433 * include/ext/stl_hashtable.h: Likewise.
3434 * include/ext/stl_rope.h: Likewise.
3435 * src/bitset.cc: Likewise.
3436 * src/strstream.cc: Likewise.
3438 2001-06-26 Benjamin Kosnik <bkoz@redhat.com>
3439 <vakatov@ncbi.nlm.nih.gov>
3442 * include/bits/streambuf.tcc (__copy_streambufs): Don't set eofbit.
3443 * testsuite/27_io/ostream_inserter_other.cc (test04): Add test.
3444 * testsuite/27_io/istream_extractor_other.cc: Fix.
3446 2001-06-26 Zoltan Hidvegi <hzoli@austin.ibm.com>
3448 * acinclude.m4 (glibcpp_toolexeclibdir): Make multilib safe.
3449 * aclocal.m4: Regenerate.
3450 * configure: Regenerate.
3452 2001-06-26 Benjamin Kosnik <bkoz@redhat.com>
3454 * include/bits/stream_iterator.h (istream_iterator): Add copy ctor.
3455 (ostream_iterator): Same.
3456 * include/bits/stl_iterator.h (front_insert_iterator::operator=):
3457 Change argument to const_reference.
3458 (back_insert_iterator): Same.
3460 2001-06-26 Benjamin Kosnik <bkoz@redhat.com>
3462 * include/bits/sbuf_iter.h: Change to..
3463 * include/bits/streambuf_iterator.h: This.
3464 * include/bits/stl_iterator.h: Take out of here...
3465 * include/bits/stream_iterator.h: Add.
3466 * src/Makefile.am (base_headers): Add streambuf_iterator,
3468 * src/Makefile.in: Regenerate.
3469 * include/bits/std_string.h: Adjust includes.
3470 * include/bits/basic_ios.h: Same.
3471 * include/bits/locale_facets.tcc: Same.
3472 * include/bits/std_iosfwd.h: Same.
3474 * include/bits/std_iterator.h: Add istream, ostream includes.
3475 * include/bits/stl_iterator.h: Tweak.
3476 * testsuite/24_iterators/ostream_iterator.cc: Add test.
3477 * testsuite/24_iterators/istream_iterator.cc: Same.
3478 * testsuite/23_containers/multiset.cc: Add iterator include.
3480 2001-06-26 Phil Edwards <pme@sources.redhat.com>
3482 * acinclude.m4: Clean extraneous tabs, rewrap 'test' lines.
3483 * aclocal.m4: Regenerate.
3484 * configure: Regenerate.
3486 2001-06-26 Felix Natter <f.natter@ndh.net>
3488 * docs/html/17_intro/porting-howto.html: Fixed some errors.
3490 2001-06-26 Benjamin Kosnik <bkoz@redhat.com>
3492 * include/bits/stl_iterator.h (istream_iterator::operator->): Fix
3494 (istream_iterator::operator*): Same.
3496 2001-06-26 Benjamin Kosnik <bkoz@redhat.com>
3497 Alexandre Petit-Bianco <apbianco@redhat.com>
3499 * testsuite/21_strings/element_access.cc (test01): Chill Out Cafe
3500 is on 41st, not 14th.
3502 2001-06-26 Benjamin Kosnik <bkoz@redhat.com>
3504 * include/bits/std_iterator.h: Include sbuf_iter.h via std_ios.h.
3506 * include/bits/stl_iterator.h (istream_iterator): Inherit from
3508 (ostream_iterator): Same.
3509 * testsuite/24_iterators/istream_iterator.cc: New file.
3510 * testsuite/24_iterators/ostream_iterator.cc: New file.
3512 * include/bits/sbuf_iter.h: Remove self typedef.
3513 * testsuite/24_iterators/ostreambuf_iterator.cc: Add test.
3514 * testsuite/24_iterators/istreambuf_iterator.cc: Add test.
3516 * include/bits/stl_iterator.h (reverse_iterator): Remove
3517 extraneous typedefs. Add typename.
3518 (__normal_iterator): Remove typedefs referring to self. Add typename.
3519 (reverse_bidiretional_iterator): Remove, not longer required.
3521 2001-06-26 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
3523 * include/bits/stl_iterator.h (__normal_iterator<>): Qualify
3524 dependent names with `typename'. Bring in various required
3525 iterator_traits members. Can't imagine why that used to work.
3527 2001-06-25 Phil Edwards <pme@sources.redhat.com>
3528 Kurt Garloff <garloff@suse.de>
3531 * src/cmath.cc: New [version of an old] file; instantiate
3532 __cmath_power to start with.
3533 * src/Makefile.am (sources): Add cmath.cc (and alphabetize).
3534 * Makefile.in: Regenerate.
3535 * libio/Makefile.in: Regenerate.
3536 * libmath/Makefile.in: Regenerate.
3537 * libsupc++/Makefile.in: Regenerate.
3538 * src/Makefile.in: Regenerate.
3539 * testsuite/Makefile.in: Regenerate.
3541 2001-06-24 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
3543 * libmath/stubs.c: Fix thinko.
3545 2001-06-24 David Edelsohn <dje@watson.ibm.com>
3547 * libmath/stubs.c (sqrtf): Define.
3548 (tanf): Correct typo.
3550 2001-06-22 Benjamin Kosnik <bkoz@redhat.com>
3552 * include/bits/stl_iterator.h (reverse_iterator): Inherit from
3554 (back_insert_iterator): Same.
3555 (front_insert_iterator): Same.
3556 (insert_iterator): Same.
3558 * testsuite/20_util/raw_storage_iterator.cc: Modify.
3559 * testsuite/24_iterators/reverse_iterator.cc: New file.
3560 * testsuite/24_iterators/back_insert_iterator.cc: New file.
3561 * testsuite/24_iterators/front_insert_iterator.cc: New file.
3562 * testsuite/24_iterators/insert_iterator.cc: New file.
3564 2001-06-22 Phil Edwards <pme@sources.redhat.com>
3566 * include/*: Revert comment/license change from yesterday for all
3567 except libsupc++/unwind-cxx.h.
3568 * src/bitset.cc: Likewise.
3569 * src/strstream.cc: Likewise.
3571 2001-06-22 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
3573 * libmath/stubs.c: New file.
3577 * libmath/Makefile.am (libmath_la_SOURCES): Add.
3578 * libmath/Makefile.in. Regenerate.
3580 2001-06-21 Phil Edwards <pme@sources.redhat.com>
3582 * include/backward/algo.h: Add "GPL plus runtime exception" comment.
3583 * include/backward/algobase.h: Likewise.
3584 * include/backward/alloc.h: Likewise.
3585 * include/backward/bvector.h: Likewise.
3586 * include/backward/defalloc.h: Likewise.
3587 * include/backward/deque.h: Likewise.
3588 * include/backward/function.h: Likewise.
3589 * include/backward/hash_map.h: Likewise.
3590 * include/backward/hash_set.h: Likewise.
3591 * include/backward/hashtable.h: Likewise.
3592 * include/backward/heap.h: Likewise.
3593 * include/backward/iterator.h: Likewise.
3594 * include/backward/list.h: Likewise.
3595 * include/backward/map.h: Likewise.
3596 * include/backward/multimap.h: Likewise.
3597 * include/backward/multiset.h: Likewise.
3598 * include/backward/pair.h: Likewise.
3599 * include/backward/rope.h: Likewise.
3600 * include/backward/set.h: Likewise.
3601 * include/backward/slist.h: Likewise.
3602 * include/backward/stack.h: Likewise.
3603 * include/backward/strstream: Likewise.
3604 * include/backward/tempbuf.h: Likewise.
3605 * include/backward/tree.h: Likewise.
3606 * include/backward/vector.h: Likewise.
3607 * include/bits/pthread_allocimpl.h: Likewise.
3608 * include/bits/std_algorithm.h: Likewise.
3609 * include/bits/std_bitset.h: Likewise.
3610 * include/bits/std_deque.h: Likewise.
3611 * include/bits/std_functional.h: Likewise.
3612 * include/bits/std_iterator.h: Likewise.
3613 * include/bits/std_list.h: Likewise.
3614 * include/bits/std_map.h: Likewise.
3615 * include/bits/std_memory.h: Likewise.
3616 * include/bits/std_numeric.h: Likewise.
3617 * include/bits/std_queue.h: Likewise.
3618 * include/bits/std_set.h: Likewise.
3619 * include/bits/std_stack.h: Likewise.
3620 * include/bits/std_utility.h: Likewise.
3621 * include/bits/std_vector.h: Likewise.
3622 * include/bits/stl_algo.h: Likewise.
3623 * include/bits/stl_algobase.h: Likewise.
3624 * include/bits/stl_alloc.h: Likewise.
3625 * include/bits/stl_bvector.h: Likewise.
3626 * include/bits/stl_construct.h: Likewise.
3627 * include/bits/stl_deque.h: Likewise.
3628 * include/bits/stl_function.h: Likewise.
3629 * include/bits/stl_heap.h: Likewise.
3630 * include/bits/stl_iterator.h: Likewise.
3631 * include/bits/stl_iterator_base_funcs.h: Likewise.
3632 * include/bits/stl_iterator_base_types.h: Likewise.
3633 * include/bits/stl_list.h: Likewise.
3634 * include/bits/stl_map.h: Likewise.
3635 * include/bits/stl_multimap.h: Likewise.
3636 * include/bits/stl_multiset.h: Likewise.
3637 * include/bits/stl_numeric.h: Likewise.
3638 * include/bits/stl_pair.h: Likewise.
3639 * include/bits/stl_pthread_alloc.h: Likewise.
3640 * include/bits/stl_queue.h: Likewise.
3641 * include/bits/stl_raw_storage_iter.h: Likewise.
3642 * include/bits/stl_relops.h: Likewise.
3643 * include/bits/stl_set.h: Likewise.
3644 * include/bits/stl_stack.h: Likewise.
3645 * include/bits/stl_tempbuf.h: Likewise.
3646 * include/bits/stl_threads.h: Likewise.
3647 * include/bits/stl_tree.h: Likewise.
3648 * include/bits/stl_uninitialized.h: Likewise.
3649 * include/bits/stl_vector.h: Likewise.
3650 * include/bits/type_traits.h: Likewise.
3651 * include/ext/hash_map: Likewise.
3652 * include/ext/hash_set: Likewise.
3653 * include/ext/rope: Likewise.
3654 * include/ext/ropeimpl.h: Likewise.
3655 * include/ext/slist: Likewise.
3656 * include/ext/stl_hash_fun.h: Likewise.
3657 * include/ext/stl_hashtable.h: Likewise.
3658 * include/ext/stl_rope.h: Likewise.
3659 * libsupc++/unwind-cxx.h: Likewise.
3660 * src/bitset.cc: Likewise.
3661 * src/strstream.cc: Likewise.
3663 2001-06-21 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
3665 * include/bits/indirect_array.h (indirect_array<>::operator=):
3666 Make copy and assignment operator public. Implement. Format.
3668 * include/bits/valarray_array.h (__valarray_copy): Add overloads
3669 for copy between index arrays. Format.
3671 2001-06-19 Benjamin Kosnik <bkoz@redhat.com>
3673 * mknumeric_limits: Add static definitions, format.
3674 * testsuite/18_support/numeric_limits.cc (test02): Add test.
3676 * include/c_std/bits/std_cwchar.h: Include ctime.
3677 * testsuite/17_intro/header_cwchar.cc : Check.
3679 * include/c_std/bits/std_cwctype.h: Inject wctype.
3680 * testsuite/17_intro/header_cwctype.cc: Update.
3682 2001-06-18 Benjamin Kosnik <bkoz@redhat.com>
3684 * include/bits/stl_raw_storage_iter.h: Format. Correct derivation.
3685 * testsuite/20_util/raw_storage_iterator.cc: Same.
3687 * include/bits/stl_alloc.h (_S_chunk_alloc): Change malloc to
3689 (__mem_interface): New typedef for switching between malloc and new.
3690 * testsuite/20_util/allocator_members.cc: New file.
3692 * testsuite/20_util/comparisons.cc: New file.
3693 * testsuite/20_util/pairs.cc: New file.
3695 2001-06-15 Phil Edwards <pme@sources.redhat.com>
3697 * docs/html/documentation.html: Point to new doxygen'ed collection.
3699 2001-06-14 Nathan Sidwell <nathan@codesourcery.com>
3701 * configure.in (auxdir): Replace by ...
3702 (toprel): ... new variable.
3703 (toplevel_srcdir): Construct from $toprel.
3704 * acinclude.m4 (GLIBCPP_ENABLE_THREADS): Use $toprel
3705 rather than .. to locate gcc source directory.
3706 (GLIBCPP_CONFIGURE): Replace $auxdir with $srcdir/$toprel.
3707 * aclocal.m4, configure: Rebuilt.
3709 2001-06-13 John David Anglin <dave@hiauly1.hia.nrc.ca>
3711 (Approved by Mark and Benjamin. Applied by Loren.)
3713 * src/globals.cc: Define globals _GLIBCPP_mutex_init (),
3714 _GLIBCPP_mutex_address_init (), _GLIBCPP_once, _GLIBCPP_mutex
3715 and _GLIBCPP_mutex_address.
3716 * include/bits/stl_threads.h (_STL_mutex_lock): Use above to provide
3717 once-only runtime initialization of _M_lock mutex when
3718 __GTHREAD_MUTEX_INIT_FUNCTION is defined.
3719 (__STL_MUTEX_INITIALIZER): Provide initializer for _STL_mutex_lock
3720 for __GTHREAD_MUTEX_INIT_FUNCTION case.
3722 2001-06-13 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
3724 * testsuite/26_numerics/slice_array_assignment.cc (main): New test.
3726 * include/bits/slice_array.h (slice_array<>::operator=): Make
3727 public and implement.
3728 (slice_array<>::slice_array): Make copy-constructor public.
3730 * include/bits/valarray_array.h (__valarray_copy): Add another
3731 overload to copy between strided arrays.
3733 2001-06-13 Benjamin Kosnik <bkoz@redhat.com>
3735 * acinclude.m4 (GLIBCPP_CONFIGURE): Bump version to 3.0.0.
3736 * aclocal.m4: Regenerate.
3737 * configure: Regenerate.
3738 * include/bits/c++config (__GLIBCPP__): Update date.
3740 2001-06-12 Benjamin Kosnik <bkoz@redhat.com>
3742 * include/bits/fpos.h (fpos::operator-): Don't return reference,
3743 return original, non-modified version.
3744 (fpos::operator+): Same.
3745 * testsuite/27_io/fpos.cc: Add test.
3747 2001-06-12 Loren J. Rittle <ljrittle@acm.org>
3750 * porting.texi: Add documentation about libstdc++-v3-specific
3751 macros that are currently included in os_defines.h files.
3753 * config/basic_file_stdio.h (sys_getc): New method.
3754 (sys_ungetc): New method.
3755 * include/bits/basic_file.h: (sys_getc): New method signature.
3756 (sys_ungetc): New method signature.
3758 * include/bits/fstream.tcc (underflow): Add conditional code
3759 paths which avoid using short seeks on streams (especially
3760 useful when the stream might be interactive or a pipe). At
3761 the moment, this alternate path only avoids seeking when the
3762 ``buffer size'' of underflow() is 1 since the C standard only
3763 guarantees buffer space for one ungetc (this technique could
3764 be extended since *-*-solaris* supports buffering for 4 calls
3765 to ungetc and *-*-*bsd* supports buffering limited only by
3766 memory resources). Also, _GLIBCPP_AVOID_FSEEK must be defined
3767 in a port's os_defines.h file for this alternate path to even
3768 be considered. As a bonus, the idiom of using getc/ungetc
3769 requires no system calls whereas fseek maps to one or two
3770 system call(s) on many platforms.
3772 * config/os/bsd/freebsd/bits/os_defines.h (_GLIBCPP_AVOID_FSEEK):
3774 * config/os/solaris/solaris2.5/bits/os_defines.h
3775 (_GLIBCPP_AVOID_FSEEK): Likewise.
3776 * config/os/solaris/solaris2.6/bits/os_defines.h
3777 (_GLIBCPP_AVOID_FSEEK): Likewise.
3778 * config/os/solaris/solaris2.7/bits/os_defines.h
3779 (_GLIBCPP_AVOID_FSEEK): Likewise.
3781 2001-06-12 Benjamin Kosnik <bkoz@redhat.com>
3783 * acinclude.m4 (GLIBCPP_CHECK_COMPILER_VERSION): Change to
3784 AC_TRY_COMPILE, so that the built compiler is checked, and
3785 bootstraps or cross compiles with an older compile still work.
3786 * aclocal.m4: Regenerate.
3787 * configure: Regenerate.
3789 2001-06-12 Benjamin Kosnik <bkoz@redhat.com>
3792 * include/bits/std_sstream.h: Add allocator_type, as per DR 251.
3795 * include/bits/istream.tcc (getline, get): Fix as per DR 243.
3798 * include/bits/std_bitset.h (bitset::set): Fix as per DR 186.
3801 * include/bits/limits_generic.h: Fix as per DR 184.
3803 2001-06-11 Benjamin Kosnik <bkoz@redhat.com>
3806 * include/bits/basic_string.h (string::compare): Adjust signatures
3808 * include/bits/basic_string.tcc: And here.
3811 * config/c_io_stdio.h: Remove whitespace.
3812 * testsuite/27_io/istream_seeks.cc (test03): Add regression.
3813 (test02): Add regression.
3814 * testsuite/27_io/istream_seeks-3.tst: New file.
3816 2001-06-11 Phil Edwards <pme@sources.redhat.com>
3818 * README: Update to reflect reality.
3819 * acinclude.m4: Update descriptions, fix typos. Comment changes only.
3820 * configure.in: Make certain target_alias is set and subst'd for 2.50.
3821 * aclocal.m4: Regenerate.
3822 * configure: Regenerate (with 2.13).
3824 2001-06-11 Benjamin Kosnik <bkoz@redhat.com>
3827 * include/bits/ostream.tcc (ostream::seekp): Add error checking as
3829 * include/bits/istream.tcc (istream::seekg): Same.
3830 * testsuite/27_io/istream_seeks.cc: Fix.
3833 * include/bits/stl_function.h (binder2nd): Fix as per DR 109.
3835 * include/bits/std_queue.h: Add c++config.h.
3836 * testsuite/20_util/binders.cc: New test.
3838 2001-06-11 Matthias Klose <doko@debian.org>
3839 Phil Edwards <pme@sources.redhat.com>
3841 * docs/doxygen/run_doxygen (find_doxygen): Tweak version check.
3842 (main script): Echo more information.
3844 2001-06-10 Benjamin Kosnik <bkoz@redhat.com>
3846 * include/c_std/bits/std_cwchar.h: Alphabetize.
3847 * include/bits/char_traits.h: Tweak.
3848 * acinclude.m4 (GLIBCPP_CHECK_WCHAR_T_SUPPORT): Check for
3849 everything used by std_cwchar.h.
3850 * aclocal.m4: Regenerate.
3851 * configure.in: Regenerate.
3852 * config.h.in: Regenerate.
3854 2001-06-10 Benjamin Kosnik <bkoz@redhat.com>
3856 * acinclude.m4 (GLIBCPP_ENABLE_C99): Add stdio.h checking.
3857 Add checking for strtof, _Exit in stdlib.h
3858 * aclocal.m4: Regenerate.
3859 * configure.in: Regenerate.
3860 * include/c_std/bits/std_cstdio.h: Alphabetize lists.
3861 (snprintf): Put C99 functions into __gnu_cxx namespace.
3866 * include/c_std/bits/std_cstdlib.h: Alphabetize lists. Put undefs
3867 for C99 functions within _GLIBCPP_USE_C99 guard.
3871 * include/bits/locale_facets.tcc: Check if C99 is enabled.
3872 * include/c_std/bits/std_cwchar.h (__gnu_cxx): Put undefs within
3874 * include/c_std/bits/cmath.tcc: Formatting tweak.
3875 * include/c_std/bits/std_cmath.h: Same.
3877 2001-06-10 Benjamin Kosnik <bkoz@redhat.com>
3879 * include/c_std/bits/std_cstdio.h: Include cstddef for size_t.
3881 2001-06-09 Alexandre Oliva <aoliva@redhat.com>
3882 Stephen L Moshier <moshier@mediaone.net>
3884 * acinclude.m4 (AC_EXEEXT): Work around in case it expands to
3885 nothing, as in autoconf 2.50.
3886 * configure: Rebuilt.
3888 2001-06-09 Benjamin Kosnik <bkoz@redhat.com>
3890 * include/c_std/bits/std_cwchar.h: Remove size_t injection,
3891 include std_cstddef.
3892 * include/c_std/bits/std_ctime.h: Same.
3893 * include/c_std/bits/std_cstring.h: Same.
3894 * include/c_std/bits/std_cstdlib.h: Same.
3896 * include/c_std/bits/std_cstdio.h: Remove vsnprintf, snprintf.
3897 * include/c_std/bits/std_cctype.h: Remove isblank.
3899 2001-06-09 Benjamin Kosnik <bkoz@redhat.com>
3901 * acinclude.m4 (GLIBCPP_CHECK_WCHAR_T_SUPPORT): Check for fgetwc,
3903 * aclocal.m4: Regenerate.
3904 * configure: Regenerate.
3905 * include/c_std/bits/std_cwchar.h: Remove duplicate fgetwc
3906 injection, guard fgetwc, fgetws.
3907 * include/c_std/bits/std_cstdio.h: Remove superfluous includes.
3908 * include/c_std/bits/std_clocale.h: And here.
3909 * include/c_std/bits/std_cctype.h: And here.
3910 * include/c_std/bits/std_cstdlib.h (strtof): Guard strtof injection.
3912 * config/basic_file_stdio.h: Don't include unistd.h.
3913 * config/c_io_stdio.h: Don't use compatibility headers.
3914 * libsupc++/eh_terminate.cc: Qualify abort.
3915 (__terminate): And here.
3916 * libsupc++/eh_catch.cc (__cxa_end_catch): Qualify abort.
3918 2001-06-08 Benjamin Kosnik <bkoz@redhat.com>
3920 * include/c_std/bits/std_cstdlib.h: Remove _Exit, strtof injections.
3922 2001-06-08 Benjamin Kosnik <bkoz@redhat.com>
3927 * include/std/*: Add copyright notice.
3928 * include/c_std/bits/*: Use using statements instead of extern "C".
3929 * include/c_std/bits/std_cmath.h: Don't overload double versions
3930 of math functions with __buitin versions, use global version to
3931 prevent ambiguities. Remove define hacks.
3932 * include/c_std/bits/std_cwchar.h: Using declarations for "C"
3933 functions that have changed signatures and std::
3934 declarations. Remove define hacks.
3935 * include/c_std/bits/std_cwchar.h: Same, plus remove ambiguous
3936 __builtins in std::. Remove define hacks.
3937 * testsuite/17_intro/headers_c.cc: Add tests.
3938 * testsuite/17_intro/headers_c++.cc: Add test.
3940 2001-06-07 Loren J. Rittle <ljrittle@acm.org>
3941 John David Anglin <dave@hiauly1.hia.nrc.ca>
3944 * libsupc++/eh_alloc.cc: Ensure that required macros are
3945 defined before including gthr.h. Ensure that we get the
3946 version of gthr.h for which we know how to provide a
3948 * libsupc++/eh_globals.cc: Likewise. And, bring the threading
3949 code path into line with the current EH model. Use std, where
3952 2001-06-07 Loren J. Rittle <ljrittle@acm.org>
3953 John David Anglin <dave@hiauly1.hia.nrc.ca>
3955 * config/threads-no.h: Remove file.
3956 * config/threads-posix.h: Remove file.
3958 * acconfig.h (_GLIBCPP_USE_THREADS): Remove.
3959 (_GLIBCPP_SUPPORTS_WEAK): Add (required by namespace-clean gthr*.h).
3960 (_GLIBCPP_HAVE_GTHR_DEFAULT): Likewise.
3961 * config.h.in: Regenerate.
3963 * acinclude.m4 (GLIBCPP_ENABLE_THREADS): Completely rework to
3964 setup and use gthr*.h files. In particular, make gthr.h files
3965 namespace-clean in the staging area (they don't have to be for
3967 * aclocal.m4: Regenerate.
3968 * configure: Regenerate.
3970 * src/Makefile.am (build_headers): Remove bits/c++threads.h
3971 and add bits/gthr.h bits/gthr-single.h bits/gthr-default.h.
3972 * src/Makefile.in: Regenerate.
3974 * include/bits/c++config: Cleanup threading configuration macros.
3975 In particular, define __STL_GTHREADS macro which controls...
3976 * include/bits/stl_threads.h: ...a brand new gthr.h-based
3979 * config/c_io_stdio.h: Include staged gthr.h instead of local
3980 thread configuration file. Always use __gthread_mutex_t
3981 instead of __mutext_type (or int).
3982 * include/bits/std_fstream.h: Likewise.
3984 * docs/html/17_intro/howto.html: Remove placeholder comment in
3985 case this configuration patch didn't make it. Add advice that
3986 section only applies if configured with --enable-threads.
3987 * docs/html/23_containers/howto.html: Reword to make clear
3988 that _PTHREADS is no longer required for any port to be
3989 correctly using STL with threads. Add advice that section
3990 only applies if configured with --enable-threads.
3992 2001-06-06 Benjamin Kosnik <bkoz@redhat.com>
3994 * src/string-inst.cc (_Rep::_S_max_size): Add instantiation.
3996 2001-06-05 Benjamin Kosnik <bkoz@redhat.com>
3999 * include/bits/basic_ios.tcc: Formatting tweaks.
4000 * include/bits/ios_base.h: Formatting tweaks.
4001 * src/ios.cc (ios_base::Init::_S_ios_create): Use filebufs here.
4002 (ios_base::Init::_S_ios_destroy): ..and here. Explicitly call dtors.
4003 * src/globals.cc: Allocate filebufs for standard streams here.
4004 (buf_cout, buf_cin, buf_cerr): Like so.
4005 (buf_wcout, buf_wcin, buf_wcerr): And so.
4006 * testsuite/27_io/ios_init.cc: Add.
4008 2001-06-04 Brendan Kehoe <brendan@zen.org>
4009 Benjamin Kosnik <bkoz@redhat.com>
4012 * include/bits/locale_facets.h (ctype<_CharT>): Add definitions
4013 for generic ctype virtuals.
4014 * src/locale.cc: Minor tweaks, naming consistency.
4015 * testsuite/22_locale/ctype.cc: Add test.
4017 2001-06-04 Kenny Simpson <theonetruekenny@yahoo.com>
4018 Phil Edwards <pme@sources.redhat.com>
4020 PR libstdc++/3035 and PR libstdc++/3036
4021 * include/bits/stl_pair.h: Fix pair ctor and make_pair according
4022 to LWG DR 181 and 265.
4024 2001-06-04 Phil Edwards <pme@sources.redhat.com>
4027 * include/bits/stl_multiset.h (find, lower_bound, upper_bound,
4028 equal_range): Add const overloads as per LWG DR 214.
4029 * include/bits/stl_set.h: Likewise.
4031 2001-06-04 Brendan Kehoe <brendan@zen.org>
4032 Phil Edwards <pme@sources.redhat.com>
4035 * include/bits/std_bitset.h (bitset::test): Fix __pos >= _Nb
4036 comparison; all positions must be < _Nb.
4037 * testsuite/23_containers/bitset_members.cc: New file.
4039 2001-06-04 Brendan Kehoe <brendan@zen.org>
4042 * include/bits/stl_queue.h (classes queue, priority_queue): Fix
4043 ctors to match the standard.
4045 2001-06-04 Jeffrey Oldham <oldham@codesourcery.com>
4047 * include/bits/char_traits.h (move): Reverse qualification of
4049 (copy): Reverse qualification of memcpy with std::.
4051 2001-06-04 Jeffrey Oldham <oldham@codesourcery.com>
4053 * include/bits/char_traits.h (move): Qualify memmove with std::.
4054 (copy): Qualify memcpy with std::.
4055 * testsuite/27_io/filebuf_virtuals.cc (test01): Qualify strlen and
4058 * testsuite/27_io/stringbuf_virtuals.cc (test01): Likewise.
4060 2001-06-04 Hans-Peter Nilsson <hp@axis.com>
4062 * libsupc++/Makefile.am (install-glibcppinstallHEADERS,
4063 uninstall-glibcppinstallHEADERS): Have explicit rules catering to
4064 SUN make VPATH peculiarities.
4065 * libsupc++/Makefile.in: Regenerate.
4067 2001-06-01 Hans-Peter Nilsson <hp@axis.com>
4069 * src/Makefile.am (VPATH): Delimit with ":", not space.
4070 * src/Makefile.in: Regenerate.
4072 * configure.in (use of GLIBCPP_CHECK_GNU_MAKE): Don't fail if GNU
4074 * configure: Regenerate.
4076 2001-05-31 scott snyder <snyder@fnal.gov>
4079 * include/bits/istream.tcc: Include std_ostream.h.
4081 2001-05-31 Benjamin Kosnik <bkoz@redhat.com>
4084 * src/bitset.cc: Qualify size_t with std::.
4086 2001-05-30 Benjamin Kosnik <bkoz@redhat.com>
4088 * acconfig.h (_GLIBCPP_BUGGY_FLOAT_COMPLEX): Remove.
4089 (_GLIBCPP_BUGGY_COMPLEX): Remove.
4090 * config.h.in: Regenerate.
4091 * acinclude.m4 (GLIBCPP_CHECK_COMPLEX_MATH_COMPILER_SUPPORT): Remove.
4092 * aclocal.m4: Regenerate.
4093 * configure.in: Don't call it.
4094 * configure: Regenerate.
4097 * src/complex_io.cc (operator<<(ostream&, const complex&): Fix.
4098 * testsuite/26_numerics/complex_inserters_extractors.cc (test01):
4102 * include/bits/std_complex.h: Include sstream. Put definitions for
4103 complex inserters and extractors here, and remove them from...
4104 * src/complex_io.cc: ...here.
4105 * include/bits/basic_ios.h (basic_ios::__numput_type): Add _Traits
4107 (basic_ios::__numget_type): Same.
4108 * include/bits/std_istream.h: Same.
4109 * include/bits/std_ostream.h: Same.
4110 * include/bits/sbuf_iter.h (ostreambuf_iterator): Fix typo in base
4111 class iterator template arguments.
4112 * src/locale-inst.cc: Add explicit has_facet instantiations.
4113 * include/bits/basic_ios.h (basic_ios::_M_get_fctype_ios): Remove.
4114 (_M_get_fnumput): Remove.
4115 (_M_get_fnumget): Remove.
4116 (basic_ios::_M_check_facet): New function.
4117 (basic_ios::_M_cache_facets): New function.
4118 * include/bits/basic_ios.tcc: Definition for _M_cache_facets.
4119 (basic_ios::imbue): Call _M_cache_facets.
4120 (basic_ios::init): Same.
4121 * include/bits/istream.tcc: Format, use _M_check_facet.
4122 * include/bits/ostream.tcc: Same.
4123 * include/bits/locale_facets.tcc (__output_float): Change
4124 signature, add _Traits.
4125 * testsuite/26_numerics/complex_inserters_extractors.cc (test02):
4128 2001-05-30 Loren J. Rittle <ljrittle@acm.org>
4130 * include/bits/c++config (__USE_MALLOC): Do not define it.
4131 Document why not and give pointers to more information.
4133 * docs/html/23_containers/howto.html: Update documentation
4134 to reflect recent understanding of problem.
4135 * docs/html/17_intro/howto.html: Likewise.
4137 2001-05-30 Phil Edwards <pme@sources.redhat.com>
4139 * docs/doxygen/user.cfg.in: Minor addition.
4140 * docs/html/documentation.html: Reorganize. Put most-looked-at
4142 * docs/html/install.html: Update for 3.0. HTML fixups.
4143 * docs/html/17_intro/howto.html: Likewise.
4144 * docs/html/18_support/howto.html: Likewise.
4145 * docs/html/19_diagnostics/howto.html: Likewise.
4146 * docs/html/20_util/howto.html: Likewise.
4147 * docs/html/23_containers/howto.html: Likewise.
4148 * docs/html/24_iterators/howto.html: Likewise. More notes.
4149 * docs/html/25_algorithms/howto.html: Likewise.
4150 * docs/html/26_numerics/howto.html: Likewise. More notes.
4151 * docs/html/27_io/howto.html: Likewise.
4152 * docs/html/ext/howto.html: Likewise.
4153 * docs/html/faq/index.html: Likewise.
4154 * docs/html/faq/index.txt: Regenerate.
4155 * docs/html/27_io/iostreams_hierarchy.pdf: Remove in favor of
4156 Doxygen-created documentation.
4158 2001-05-30 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
4160 * testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3-init): Use
4161 get_multilibs to find gcc.
4163 2001-05-30 Phil Edwards <pme@sources.redhat.com>
4165 * acinclude.m4 (GLIBCPP_ENABLE_C99): Reorder output messages.
4166 * aclocal.m4: Regenerate.
4167 * configure: Regenerate.
4169 2001-05-29 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
4171 * include/c_std/bits/std_cstdlib.h:: Move C99 thingies to __gnu_cxx::.
4172 * include/c_std/bits/std_cwchar.h (__gnu_cxx): Likewise.
4174 2001-05-27 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
4176 * include/c_std/bits/std_cmath.h: Move C99 functions in __gnu_cxx::.
4177 * include/c_std/bits/std_cstdlib.h: Same.
4178 * include/c_std/bits/std_cwchar.h: Same.
4180 2001-05-30 Loren J. Rittle <ljrittle@acm.org>
4182 * docs/html/17_intro/howto.html: Update link.
4183 * docs/html/23_containers/howto.html: Likewise. Add new link.
4185 2001-05-26 Gabriel Dos Reis <gdr@codesourcery.com>
4187 * include/c_std/bits/std_cmath.h (sqrt): #undef.
4189 2001-05-23 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
4191 * mknumeric_limits: Stop if gen-num-limits dies.
4193 2001-05-25 Benjamin Kosnik <bkoz@redhat.com>
4196 * acinclude.m4 (GLIBCPP_ENABLE_C99): Use AC_TRY_COMPILE.
4197 * aclocal.m4: Regenerate.
4200 2001-05-24 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
4201 Phil Edwards <pme@sources.redhat.com>
4202 Alexandre Oliva <aoliva@redhat.com>
4204 * acinclude.m4 (GLIBCPP_EXPORT_INSTALL_INFO): Set glibcpp_srcdir
4205 in an amd-safe manner. Revert glibcpp_prefixdir.
4207 2001-05-25 Gabriel Dos Reis <gdr@codesourcery.com>
4209 * include/c_std/bits/std_cmath.h: Tweak. #define away abs, cos,
4210 fabs, sin, sqrt. They are now implemented in terms of __builtin_
4213 2001-05-24 Benjamin Kosnik <bkoz@redhat.com>
4216 * testsuite/21_strings/inserters_extractors.cc (test09): New test.
4217 * include/bits/ostream.tcc: Format to match istream.tcc.
4218 (operator<<(basic_ostream __out, const basic_string __s)): Fix.
4220 2001-05-24 Phil Edwards <pme@sources.redhat.com>
4222 * libsupc++/eh_alloc.cc (__cxa_allocate_exception): Qualify
4224 (__cxa_free_exception): Likewise with free.
4226 2001-05-24 Mark Mitchell <mark@codesourcery.com>
4228 * include/c_std/bin/std_cstring.h: #define away all global
4229 functions we will redeclare in namespace `std'.
4230 * libsupc++/eh_alloc.cc (__cxa_allocate_exception): Use
4231 std::memset, instead of memset.
4232 * testsuite/19_diagnostics/stdexceptions.cc: Use `std::strcmp',
4234 * testsuite/21_strings/c_strings.cc: Use `std::strcpy' instead of
4237 2001-05-24 Benjamin Kosnik <bkoz@redhat.com>
4240 * include/bits/basic_ios.tcc: Small tweak.
4241 * include/bits/std_fstream.h (ifstream): Add buffer member. Adjust
4242 ctors and dtors, and rdbuf settings.
4245 * include/bits/std_sstream.h: Same, but for stringstream classes.
4246 * testsuite/27_io/ostringstream_members.cc: New.
4247 * testsuite/27_io/stringstream_members.cc: New.
4248 * testsuite/27_io/fstream_members.cc: New.
4249 * testsuite/27_io/ifstream_members.cc: Add test.
4250 * testsuite/27_io/istringstream_members.cc: Add test.
4251 * testsuite/27_io/ofstream_members.cc: Add test.
4253 2001-05-24 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
4255 * include/bits/c++config(__NO_MATH_INLINES): Move to...
4256 * config/os/gnu-linux/bits/os_defines.h: ...here.
4258 2001-05-24 Gabriel Dos Reis <gdr@codesourcery.com>
4260 * include/bits/c++config (__NO_MATH_INLINES): New macro.
4261 * testsuite/26_numerics/fabs_inline.cc (main): New test.
4263 2001-05-22 Benjamin Kosnik <bkoz@redhat.com>
4266 * testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3-init): Set
4268 (libstdc++-v3_set_ld_library_path): New, copied from g++.exp.
4269 (libstdc++-v3-finish): Remove.
4270 (libstdc++-v3_exit): Remove.
4272 2001-05-22 Phil Edwards <pme@sources.redhat.com>
4274 * docs/html/documentation.html: Point to doxygen output.
4276 2001-05-21 Benjamin Kosnik <bkoz@redhat.com>
4278 * mkcheck.in (static_fail): Remove S_FLAG decoration on output.
4280 * include/bits/std_sstream.h (stringbuf::setbuf): Require both
4281 arguments to be non-null.
4282 * include/bits/fstream.tcc (filebuf::_M_allocate_buffers): Only
4283 try allocations if allocated size is greater than zero.
4284 (filebuf::_M_filebuf_init): Change to
4285 (filebuf::_M_allocate_file): Which is what it does now.
4286 (filebuf::_M_allocate_bufers): Change to
4287 (filebuf::_M_allocate_internal_buffer): This, and create
4288 (filebuf::_M_allocate_pback_buffer): New.
4289 (filebuf::_M_destroy_internal_buffer): New.
4290 (filebuf::_M_buf_allocated): New data member.
4291 (filebuf::setbuf): Use new logic, allow use of external buffer.
4292 * testsuite/27_io/stringbuf_virtuals.cc: New file.
4293 * testsuite/27_io/filebuf_virtuals.cc: New file.
4295 2001-05-21 Stephen M. Webb <stephen@bregmasoft.com>
4297 * include/c_std/bits/std_cstring.h (memchr): Define "C" functions to
4299 (strchr): Same, but to __glibcpp_strchr.
4303 * include/c_std/bits/std_cwchar.h (wcschr): Same.
4309 2001-05-21 Benjamin Kosnik <bkoz@redhat.com>
4311 * testsuite/21_strings/c_strings.cc (main): Fix.
4313 2001-05-19 Phil Edwards <pme@sources.redhat.com>
4315 * acinclude.m4: Fix --help spacing, correct comments.
4316 * aclocal.m4: Regenerate.
4317 * configure: Regenerate.
4318 * mkcheck.in: Add usage comments.
4319 * docs/html/documentation.html: Point to doxygen'd tarball.
4321 2001-05-18 Benjamin Kosnik <bkoz@redhat.com>
4323 * testsuite/README: Add notes.
4325 * src/Makefile.am (libstdc++.INC): Remove.
4326 * src/Makefile.in: Regenerate.
4328 Phil Edwards <pedwards@disaster.jaj.com>
4329 * mkcheck.in: Add missing '#'.
4331 2001-05-18 Angela Marie Thomas <angela@cygnus.com>
4333 * testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3-init): Set flags
4334 appropriately for remote testing and testing installed files without
4337 2001-05-18 Benjamin Kosnik <bkoz@redhat.com>
4339 * acinclude.m4 (GLIBCPP_EXPORT_INSTALL_INFO): Set glibcpp_srcdir
4340 amd glibcpp_prefixdir with absolute paths.
4342 * include/bits/c++config (__GLIBCPP__): Bump.
4343 * acinclude.m4 (GLIBCPP_CONFIGURE): Correct version number.
4345 2001-05-18 Gabriel Dos Reis <gdr@codesourcery.com>
4347 * include/bits/std_valarray.h (valarray<>::operator[] const):
4348 Return a const reference.
4349 * testsuite/26_numerics/valarray_const_bracket.cc: New test.
4351 2001-05-18 Alexandre Oliva <aoliva@redhat.com>
4353 * configure.target (ATOMICITYH): Actually use AIX-specific code on
4354 earlier versions of AIX 4.*.
4356 2001-05-18 Angela Marie Thomas <angela@cygnus.com>
4358 * testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3-dg-test): Set
4359 output_file based on the name of the testcase.
4361 2001-05-18 Angela Marie Thomas <angela@cygnus.com>
4363 * testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3-init): Build
4364 gluefile and use it if needs_status_wrapper is set.
4366 2001-05-18 Alexandre Oliva <aoliva@redhat.com>
4368 * configure.target (ATOMICITYH): Use cpu/generic code on earlier
4371 2001-05-17 Alexandre Oliva <aoliva@redhat.com>
4373 * configure.target (ATOMICITYH): Don't use AIX 4.3-specific code
4374 on earlier versions of AIX.
4376 2001-05-15 Benjamin Kosnik <bkoz@redhat.com>
4378 * testsuite_flags.in (query): Add backwards, ext directories.
4380 2001-05-15 Mark Mitchell <mark@codesourcery.com>
4382 * porting.texi: Correct documentation about handling
4383 _LARRGEFILE_SOURCE and its ilk.
4384 * config/os/solaris/solaris2.5/bits/os_defines.h: Remove
4385 definitions of _XOPEN_SOURCE, _LARGEFILE64_SOURCE, and
4387 * config/os/solaris/solaris2.6/bits/os_defines.h: Likewise.
4388 * config/os/solaris/solaris2.7/bits/os_defines.h: Likewise.
4390 2001-05-15 Zack Weinberg <zackw@stanford.edu>
4392 * testsuite/21_strings/inserters_extractors.cc,
4393 testsuite/27_io/istream_unformatted.cc,
4394 testsuite/27_io/stringstream.cc:
4395 Replace multi-line string constants with C89-style
4396 concatenated string constants.
4398 2001-05-14 Richard Henderson <rth@redhat.com>
4400 * mknumeric_limits: Build with -fno-exceptions.
4402 2001-05-13 Benjamin Kosnik <bkoz@redhat.com>
4404 Switch over to new harness.
4405 * testsuite_flags.in: Tweaks via Gaby.
4406 * testsuite/Makefile.am: Change tool to libstdc++-v3.
4407 (EXPECT): Quote directly.
4409 * configure.in: Output testsuite_flags.
4410 * acinclude.m4: Substitute src, bld, and prefix dirs.
4411 Remove glibcpp_expect, glibcpp_runtestflags.
4412 * Makefile.am (RUNTESTFLAGS): Pass this down to subdirs.
4413 * mkcheck.in: Port to new interface.
4415 * aclocal.m4: Regerate.
4416 * configure: Regnerate.
4417 * Makefile.in: Regnerate.
4418 * */Makefile.in: Regenerate.
4420 * tests_flags.in: Remove.
4421 * testsuite/lib/libstdc++.exp: Remove.
4422 * testsuite/libstdc++.tests/tests.exp: Remove.
4424 2001-05-13 Alexandre Oliva <aoliva@redhat.com>
4426 * configure.target: Remove detection of AIX pthread multilib, now
4427 obtained from `gcc -v'.
4429 2001-05-13 John David Anglin <dave@hiauly1.hia.nrc.ca>
4431 * mkcheck.in (setup_size_command): Use Berkeley "-B" mode with GNU
4432 size. Add hpux case for HP size.
4434 2001-05-11 Benjamin Kosnik <bkoz@redhat.com>
4436 * testsuite_flags.in: New, simplified interface.
4437 * testsuite/lib/libstdc++-v3-dg.exp: New test harness.
4438 * testsuite/libstdc++-v3.dg: Add.
4439 * testsuite/libstdc++-v3.dg/dg.exp: Add.
4441 2001-05-11 Benjamin Kosnik <bkoz@redhat.com>
4443 * testsuite/*/*.cc: Remove spaces, make sure testcases return zero.
4444 * testsuite/config/default.exp: Update bugs email address.
4446 2001-05-11 Richard Henderson <rth@redhat.com>
4448 * libsupc++/eh_personality.cc: Include unwind-pe.h. Remove
4449 all pointer encoding logic.
4450 (struct lsda_header_info): Add ttype_base.
4451 (get_ttype_entry): Use it instead of a context.
4452 (check_exception_spec): Likewise.
4453 (PERSONALITY_FUNCTION): Initialize ttype_base. Store it in
4454 the c++ exception header for __cxa_call_unexpected.
4455 (__cxa_call_unexpected): Use it.
4457 2001-05-09 Benjamin Kosnik <bkoz@redhat.com>
4459 * testsuite/lib/libstdc++.exp: Use libgloss.exp. Call
4460 libgloss_link_flags to find crt0.o for targets that use libgloss
4462 Change LDFLAGS to LIBS.
4463 Consistently name procedures libstdc++-XXX.
4464 * testsuite/libstdc++.tests/tests.exp: Use new procedure names.
4466 2001-05-08 Benjamin Kosnik <bkoz@fillmore.constant.com>
4468 * include/c_std/bits/std_cstring.h (memchr): Correct definitions.
4473 * include/c_std/bits/std_cwchar.h (wcschr): Same.
4478 * testsuite/21_strings/c_strings.cc: Add tests.
4480 2001-05-07 Benjamin Kosnik <bkoz@redhat.com>
4483 * include/bits/std_fstream.h (basic_filebuf): Change signature.
4484 * include/bits/fstream.tcc (basic_filebuf): Change bool argument
4485 to int_type, pass in buffer size info.
4486 * include/bits/std_streambuf.h (_M_is_indeterminate): Check for
4487 unbuffered situation.
4488 (underflow): Remove codecvt bits for the time being.
4489 * include/bits/istream.tcc (istream::sentry): Avoid sputbackc call.
4490 * include/bits/locale_facets.tcc (_M_extract): Cache dereference
4491 values from iterators, clean.
4492 * src/locale.cc: Ditto.
4493 * include/bits/sbuf_iter.h: Format.
4494 * src/ios.cc: Explicitly pass in buffer sizes at creation time.
4495 * testsuite/27_io/narrow_stream_objects.cc: Add tests.
4496 * testsuite/27_io/filebuf.cc: Tweaks.
4497 * testsuite/27_io/filebuf_members.cc: Tweaks.
4499 2001-05-07 Mark Mitchell <mark@codesourcery.com>
4501 * config/os/solaris/solaris2.7/bits/os_defines.h
4502 (_LARGEFILE_SOURCE): Define it.
4504 2001-05-03 Alexandre Oliva <aoliva@redhat.com>
4506 * configure.in (LIBSUPCXX_PICFLAGS): Set it to -prefer-pic or
4507 -prefer-non-pic depending on whether libtool has shared libraries
4508 enabled or disabled.
4509 * libsupc++/Makefile.am (LIBSUPCXX_CXXFLAGS): Set to
4510 $(LIBSUPCXX_PICFLAGS).
4511 * configure, */Makefile.in: Rebuilt.
4513 2001-05-01 Benjamin Kosnik <bkoz@redhat.com>
4515 * include/bits/sbuf_iter.h (istreambuf_iterator): Correct.
4516 * testsuite/24_iterators/istreambuf_iterator.cc (test02): Add test.
4518 * include/bits/std_sstream.h (stringbuf): Leak
4520 * testsuite/24_iterators/ostreambuf_iterator.cc: Correct.
4522 2001-05-01 Tom Browder <tbrowder@home.com>
4524 * docs/html/ext/howto.html: Fix typo.
4526 2001-05-01 Gabriel Dos Reis <gdr@codesourcery.com>
4528 * testsuite/libstdc++.tests/tests.exp: Add comment.
4530 2001-05-01 Gabriel Dos Reis <gdr@codesourcery.com>
4532 * testsuite/libstdc++.tests/tests.exp: Set ulimits.
4534 2001-04-30 Mark Mitchell <mark@codesourcery.com>
4536 * porting.texi: Use the GFDL.
4538 2001-04-30 Benjamin Kosnik <bkoz@redhat.com>
4541 * testsuite/24_iterators/ostreambuf_iterator.cc: New file.
4542 * include/bits/sbuf_iter.h (ostreambuf_iterator): Remove bogus
4545 2001-04-30 Benjamin Kosnik <bkoz@redhat.com>
4548 * include/bits/stl_iterator_base_funcs.h (__advance): Fix.
4550 2001-04-28 Phil Edwards <pme@sources.redhat.com>
4552 * docs/doxygen/run_doxygen: Minor tweaks.
4553 * docs/doxygen/style.css: New file.
4554 * docs/doxygen/user.cfg.in: Update using "doxygen -u" to get the
4555 latest parameters available. Use style.css.
4557 2001-04-27 Benjamin Kosnik <bkoz@redhat.com>
4559 * docs/doxygen/mainpage.doxy: New.
4560 * docs/doxygen/user.cfg.in: Change default configuration. Single
4561 frame, other tweaks.
4563 2001-04-26 Mark Mitchell <mark@codesourcery.com>
4565 * docs/html/17_intro/BADNAMES: Remove EGCS reference.
4566 Indicate obsolete nature of thelist for G++ 3.0.
4568 2001-04-26 Alexandre Oliva <aoliva@redhat.com>
4570 * acinclude.m4 (GLIBCPP_ENABLE_THREADS): Obtain
4571 target_thread_file with `gcc -v'.
4572 * aclocal.m4, configure: Rebuilt.
4574 2001-04-25 Benjamin Kosnik <bkoz@redhat.com>
4576 * include/c_std/bits/std_cmath.h (std): Explicitly inject c99 names.
4577 * include/c_std/bits/std_cstdlib.h (std): Same, except for llabs.
4578 * include/c_std/bits/std_cwchar.h (std): Same.
4579 * acconfig.h (std): Remove c99 injection into std.
4580 * config.h.in: Regenerate.
4582 * testsuite/README: Fix typo.
4584 * include/bits/codecvt.h: Remove warnings.
4586 2001-04-24 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
4588 * include/ext/slist: Include required header files.
4590 2001-04-23 Loren J. Rittle <ljrittle@acm.org>
4592 * include/c_std/bits/std_cerrno.h (errno): Define macro from
4593 identifier declared with external linkage, if needed.
4594 * include/c_std/bits/std_csetjmp.h (setjmp): Likewise.
4595 * include/c_std/bits/std_cstdarg.h (va_end): Likewise.
4597 2001-04-23 Benjamin Kosnik <bkoz@fillmore.constant.com>
4599 * acinclude.m4 (CXX): Set to glibcpp_CXX so that in-directory
4600 re-configures find the build compiler.
4601 (GLIBCPP_ENABLE_C99): Do all fp-tests with 0.0, not 0. Fixes
4603 * aclocal.m4: Regenerate.
4604 * configure: Regenerate.
4606 2001-04-20 Benjamin Kosnik <bkoz@redhat.com>
4608 * acinclude.m4 (GLIBCPP_ENABLE_LONG_LONG): Make sure required C99
4609 support is enabled correctly before long long is activated.
4610 * aclocal.m4: Regenerate.
4611 * configure: Regenerate.
4613 * include/backward/backward_warning.h: Format correctly.
4615 * testsuite/26_numerics/c99_classification_macros_c.cc: Add.
4616 * testsuite/26_numerics/c99_classification_macros_c++.cc: Add.
4617 * testsuite/26_numerics/c99_macros.cc: Remove.
4619 2001-04-20 Phil Edwards <pme@sources.redhat.com>
4621 * include/bits/stl_bvector.h: Replace __ITERATOR_CATEGORY with
4622 __iterator_category.
4624 2001-04-19 Benjamin Kosnik <bkoz@redhat.com>
4626 * acconfig.h (_GLIBCPP_USE_C99): Add.
4627 * config.h.in: Regenerate.
4628 * acinclude.m4 (GLIBCPP_ENABLE_C99): New macro. Test for ISO/IEC
4630 * aclocal.m4: Regenerate.
4631 * configure.in (GLIBCPP_ENABLE_C99): Use it, on by default.
4632 * configure: Regenerate.
4633 * configure.in (GLIBCPP_ENABLE_LONG_LONG): Set default to yes.
4634 * configure: Regenerate.
4635 * include/c_std/bits/std_cwchar.h: Put wcstold, wcstoll, wcstoull
4637 * include/c_std/bits/std_cmath.h: Bring C99 functions into c99
4639 * include/c_std/bits/std_cstdlib.h: Same.
4640 * docs/html/configopts.html: Update.
4641 * testsuite/26_numerics/c99_macros.cc: Edit, use cmath instead of
4643 (test_c99_classify): Add.
4644 * config/os/gnu-linux/bits/os_defines.h (_GNU_SOURCE): Remove.
4645 (_ISOC99_SOURCE): Remove.
4647 * include/bits/stl_algo.h: Use _GLIBCPP_HAVE_DRAND48.
4648 * include/bits/c++config (__STL_ASSERTIONS): Simplify.
4649 * acinclude.m4 (GLIBCPP_CHECK_STDLIB_SUPPORT): Add check for drand48.
4650 * aclocal.m4: Regenerate.
4651 * configure: Regenerate.
4653 2001-04-19 Phil Edwards <pme@sources.redhat.com>
4655 * Makefile.am (doxygen): Assume script is missing execute perms.
4656 * Makefile.in: Regenerated.
4657 * docs/doxygen/user.cfg.in: Add class diagrams and source browsing.
4659 2001-04-17 Loren J. Rittle <ljrittle@acm.org>
4661 * testsuite/27_io/istream_seeks.cc: Inform DejaGnu of required files.
4663 2001-04-17 Benjamin Kosnik <bkoz@redhat.com>
4665 * testsuite/23_containers/map_operators.cc: Add dg-excess-errors.
4666 * testsuite/23_containers/set_operators.cc: Same.
4668 * include/bits/c++config: Add _GLIBCPP_CONCEPT_CHECKS. Disable by
4670 (__GLIBCPP__): Bump from value of last release.
4671 * include/bits/concept_check.h: Default to off, edit comments.
4672 * src/stl-inst.cc: Use _GLIBCPP_CONCEPT_CHECKS.
4673 * src/Makefile.am (AM_CXXFLAGS): Remove _GLIBCPP_NO_CONCEPT_CHECKS.
4674 * src/Makefile.in: Regenerate.
4676 2001-04-14 Martin Reinecke <martin@MPA-Garching.MPG.DE>
4678 * include/bits/boost_concept_check.h(_Mutable_ContainerConcept):
4679 Properly uglify member.
4681 2001-04-13 Phil Edwards <pme@sources.redhat.com>
4683 * include/bits/stl_algobase.h (equal): Use EqualOpConcept instead
4687 2001-04-13 Phil Edwards <pme@sources.redhat.com>
4689 * include/bits/boost_concept_check.h: Uglify, fork from Boost.
4690 * include/bits/concept_check.h: Uglify.
4691 * include/bits/stl_algo.h: Likewise.
4692 * include/bits/stl_algobase.h: Likewise.
4693 * include/bits/stl_deque.h: Likewise.
4694 * include/bits/stl_heap.h: Likewise.
4695 * include/bits/stl_iterator_base_funcs.h: Likewise.
4696 * include/bits/stl_list.h: Likewise.
4697 * include/bits/stl_map.h: Likewise.
4698 * include/bits/stl_multimap.h: Likewise.
4699 * include/bits/stl_multiset.h: Likewise.
4700 * include/bits/stl_numeric.h: Likewise.
4701 * include/bits/stl_queue.h: Likewise.
4702 * include/bits/stl_set.h: Likewise.
4703 * include/bits/stl_stack.h: Likewise.
4704 * include/bits/stl_vector.h: Likewise.
4705 * include/ext/hash_map: Likewise.
4706 * include/ext/hash_set: Likewise.
4707 * include/ext/slist: Likewise.
4709 2001-04-13 Gabriel Dos Reis <gdr@codesourcery.com>
4711 * testsuite/23_containers/set_operators.cc: Just try to compile.
4713 * testsuite/23_containers/map_operators.cc: Same.
4715 2001-04-12 Jason Merrill <jason_merrill@redhat.com>
4717 * testsuite/lib/libstdc++.exp (libstdc++-dg-test): Prepend "./" to
4719 (dg-test): Revert rth's change.
4721 2001-04-12 Nathan Sidwell <nathan@codesourcery.com>
4723 * libsupc++/eh_alloc.cc (__cxa_allocate_exception): Don't
4724 terminate holding the mutex. Make sure size fits in EMERGENCY_OBJ_SIZE.
4726 2001-04-12 Gabriel Dos Reis <gdr@codesourcery.com>
4728 * testsuite/README: Add DejaGnu specific documentation.
4730 2001-04-11 Benjamin Kosnik <bkoz@redhat.com>
4732 * acinclude.m4: AC_CHECK_TOOL for expect.
4733 * aclocal.m4: Regenerate.
4734 * configure: Regenerate.
4735 * testsuite/Makefile.am (RUNTEST): Use substituted.
4738 * configure.in: Remove xcompiling substitution.
4739 * tests_flags.in (CROSS_LIB_PATH): Remove.
4740 (xcompiling): Remove.
4741 (CXX): Use substituted CXX.
4743 2001-04-11 Richard Henderson <rth@redhat.com>
4745 * testsuite/lib/libstdc++.exp: Specify path for output_file.
4747 2001-04-08 Gabriel Dos Reis <gdr@codesourcery.com>
4749 * include/bits/std_valarray.h(valarray<>::operator[]): Make
4752 2001-04-06 Gabriel Dos Reis <gdr@codesourcery.com>
4754 * testsuite/25_algorithms/equal.cc: New test.
4756 2001-04-06 Joe Buck <jbuck@welsh-buck.org>
4758 * stl_algobase.h (std::equal): avoid use of possibly-undefined
4759 operator != (one line patch).
4761 2001-04-06 Benjamin Kosnik <bkoz@redhat.com>
4763 * include/backward/backward_warning.h: Re-enable.
4765 2001-04-06 Benjamin Kosnik <bkoz@redhat.com>
4766 Alexandre Oliva <aoliva@redhat.com>
4768 * tests_flags.in (CROSS_LIB_PATH): Add as -B flag.
4770 2001-04-06 Gabriel Dos Reis <gdr@codesourcery.com>
4772 * include/c_std/bits/std_cmath.h: Get rid of C99 math macros.
4773 * testsuite/26_numerics/c99_macros.cc: Add test.
4775 2001-04-06 Phil Edwards <pme@sources.redhat.com>
4777 * docs/html/faq/index.html: Update for 2.92, grab from RELEASE-NOTES.
4778 * docs/html/faq/index.txt: Regenerated.
4780 2001-04-06 Benjamin Kosnik <bkoz@redhat.com>
4782 * include/backward/backward_warning.h: Temporarily disable until
4783 g++ testsuite changes go in.
4784 * tests_flags.in (CROSS_LIB_PATH): Add.
4786 2001-04-05 Benjamin Kosnik <bkoz@redhat.com>
4788 Warn when using backward headers.
4789 * include/backward/algo.h: Include warning file.
4790 * include/backward/vector.h: Same.
4791 * include/backward/tree.h: Same.
4792 * include/backward/tempbuf.h: Same.
4793 * include/backward/strstream: Same.
4794 * include/backward/streambuf.h: Same.
4795 * include/backward/stream.h: Same.
4796 * include/backward/stack.h: Same.
4797 * include/backward/slist.h: Same.
4798 * include/backward/set.h: Same.
4799 * include/backward/rope.h:
4800 * include/backward/queue.h: Same.
4801 * include/backward/pair.h: Same.
4802 * include/backward/ostream.h: Same.
4803 * include/backward/new.h: Same.
4804 * include/backward/multiset.h: Same.
4805 * include/backward/multimap.h: Same.
4806 * include/backward/map.h: Same.
4807 * include/backward/list.h: Same.
4808 * include/backward/iterator.h: Same.
4809 * include/backward/istream.h: Same.
4810 * include/backward/iostream.h:
4811 * include/backward/iomanip.h:
4812 * include/backward/heap.h: Same.
4813 * include/backward/hashtable.h:
4814 * include/backward/hash_set.h:
4815 * include/backward/hash_map.h:
4816 * include/backward/function.h:
4817 * include/backward/fstream.h:
4818 * include/backward/deque.h:
4819 * include/backward/defalloc.h: Same.
4820 * include/backward/complex.h: Same.
4821 * include/backward/bvector.h:
4822 * include/backward/alloc.h:
4823 * include/backward/algobase.h: Same.
4825 * include/backward/backward_warning.h: New file.
4826 * src/Makefile.am (backward_headers): Add backward_warning.h
4827 * src/Makefile.in: Regenerate.
4829 2001-04-05 Benjamin Kosnik <bkoz@redhat.com>
4831 * src/Makefile.am (myinstalldirs): Make sure backward directory is
4833 (myinstallheaders): Install backward headers in backward directory.
4834 * src/Makefile.in: Regenerate.
4836 2001-04-05 Benjamin Kosnik <bkoz@redhat.com>
4838 Prepare for libstdc++-2.92.
4839 * docs/html/17_intro/RELEASE-NOTES (New): Update.
4840 * docs/html/configopts.html: Fix formatting.
4841 * README (file): Updates.
4842 * include/bits/c++config (__GLIBCPP__): Update.
4844 2001-04-05 Phil Edwards <pme@sources.redhat.com>
4846 * docs/doxygen/run_doxygen: Check for the existence of Doxygen.
4848 2001-04-04 Phil Edwards <pme@sources.redhat.com>
4850 * docs/doxygen/user.cfg.in: Extract all non-private members;
4851 reduce confusing documentation output.
4853 2001-04-04 Geoffrey Keating <geoffk@redhat.com>
4855 * include/backward/fstream.h: Add missing semicolons.
4857 2001-04-03 Benjamin Kosnik <bkoz@redhat.com>
4859 * include/bits/fstream.tcc: Add bool parameter to filebuf ctor.
4860 * include/bits/ios_base.h(ios_base::Init): Remove _M_cout, _M_cin,
4861 _M_cerr, _M_wcout, _M_wcin, _M_wcerr.
4862 (ios_base::Init::_S_ios_create): New.
4863 (ios_base::Init::_S_ios_destroy): New.
4864 * include/bits/std_fstream.h: Change ctor args.
4865 * src/ios.cc (ios_base::Init::Init): Use _S_ios_create.
4866 (ios_base::Init::~Init): Use _S_ios_destroy.
4867 (ios_base::sync_with_stdio): Use new members.
4868 * testsuite/27_io/filebuf_members.cc: Fix calling conventions for
4871 2001-04-03 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
4873 * include/backward/fstream.h: Expose streampos to global
4876 2001-04-03 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
4878 * include/bits/stl_iterator_base_types.h: Fix typo
4880 2001-04-03 Andreas Schwab <schwab@suse.de>
4882 * include/backward/fstream.h: Define filebuf and wfilebuf.
4884 2001-04-02 Phil Edwards <pme@sources.redhat.com>
4886 New concept checking implementation.
4887 * docs/html/19_diagnostics/howto.html: Document.
4888 * docs/html/17_intro/concept_check.diff: New file, for reference.
4889 * include/bits/boost_concept_check.h: New file from Boost.
4890 * include/bits/c++config: Update comments.
4892 * include/bits/concept_check.h: New file.
4893 * include/bits/concept_checks.h: Removed.
4894 * include/bits/container_concepts.h: Removed.
4895 * include/bits/sequence_concepts.h: Removed.
4896 * include/bits/stl_iterator_base.h: Removed; split into...
4897 * include/bits/stl_iterator_base_funcs.h: ...this new file...
4898 * include/bits/stl_iterator_base_types.h: ...and this new file.
4900 * include/bits/sbuf_iter.h: Update to use new implementation.
4901 * include/bits/std_iterator.h: Likewise.
4902 * include/bits/std_memory.h: Likewise.
4903 * include/bits/stl_algo.h: Likewise.
4904 * include/bits/stl_algobase.h: Likewise.
4905 * include/bits/stl_construct.h: Likewise.
4906 * include/bits/stl_deque.h: Likewise.
4907 * include/bits/stl_heap.h: Likewise.
4908 * include/bits/stl_list.h: Likewise.
4909 * include/bits/stl_map.h: Likewise.
4910 * include/bits/stl_multimap.h: Likewise.
4911 * include/bits/stl_multiset.h: Likewise.
4912 * include/bits/stl_numeric.h: Likewise.
4913 * include/bits/stl_queue.h: Likewise.
4914 * include/bits/stl_set.h: Likewise.
4915 * include/bits/stl_stack.h: Likewise.
4916 * include/bits/stl_uninitialized.h: Likewise.
4917 * include/bits/stl_vector.h: Likewise.
4918 * include/ext/hash_map: Likewise.
4919 * include/ext/hash_set: Likewise.
4920 * include/ext/slist: Likewise.
4921 * include/ext/stl_hashtable.h: Likewise.
4923 * src/Makefile.am (base_headers): Update list of headers.
4924 * Makefile.in: Regenerated.
4925 * src/Makefile.in: Regenerated.
4926 * libio/Makefile.in: Regenerated.
4927 * libmath/Makefile.in: Regenerated.
4928 * libsupc++/Makefile.in: Regenerated.
4929 * testsuite/Makefile.in: Regenerated.
4931 * docs/html/install.html: Update contact information.
4932 * docs/html/17_intro/howto.html: Ditto.
4933 * docs/html/18_support/howto.html: Ditto.
4934 * docs/html/20_util/howto.html: Ditto.
4935 * docs/html/21_strings/howto.html: Ditto.
4936 * docs/html/22_locale/howto.html: Ditto.
4937 * docs/html/23_containers/howto.html: Ditto.
4938 * docs/html/24_iterators/howto.html: Ditto.
4939 * docs/html/25_algorithms/howto.html: Ditto.
4940 * docs/html/26_numerics/howto.html: Ditto.
4941 * docs/html/27_io/howto.html: Ditto.
4942 * docs/html/faq/index.html: Ditto, plus info on new checking code.
4943 * docs/html/ext/howto.html: Ditto, plus info on new checking code.
4944 * docs/html/faq/index.txt: Regenerated.
4946 2001-04-02 Zack Weinberg <zackw@stanford.edu>
4948 * testsuite/lib/libstdc++.exp (dg-test): Annotate result
4949 messages with $which_library as well as $tool_flags and
4950 ${dg-extra-tool-flags}. Factor out annotation text into
4953 2001-04-02 Stephen M. Webb <stephen@bregmasoft.com>
4955 * include/c_std/bits/std_cstring.h: Fix for const-correctness.
4956 * include/c_std/bits/std_cwchar.h: Same.
4957 * testsuite/21_strings/c_strings.cc: Add.
4959 2001-04-01 Benjamin Kosnik <bkoz@codesourcery.com>
4961 * docs/html/configopts.html: Add --enable-sjlj-exceptions docs.
4963 2001-04-01 Zack Weinberg <zackw@stanford.edu>
4965 * tests_flags.in: Use test a = b, not test a == b which is not
4968 2001-03-31 Benjamin Kosnik <bkoz@redhat.com>
4970 * configure.target: Remove duplicate aix entry.
4972 2001-03-30 Benjamin Kosnik <bkoz@redhat.com>
4974 * include/ext/stl_bvector.h: Move to...
4975 * include/bits/stl_vector.h: ...here.
4976 * include/ext/bvector: Move to...
4977 * include/backward/bvector.h: ...here.
4978 * include/bits/std_vector.h: Change stl_bvector include.
4979 * include/bits/std_queue.h: Remove bvector include.
4980 * include/ext/tree: Insert using rb_tree, move to...
4981 * include/backward/tree.h: ...here.
4982 * include/backward/hash_map.h: Include ext/hash_map.
4983 * include/backward/hash_set.h: Include ext/hash_set.
4984 * include/backward/queue.h: New file.
4985 * include/backward/stack.h: Edit.
4986 * include/backward/algo.h: Same.
4987 * include/backward/algobase.h: Same.
4988 * include/backward/alloc.h: Same.
4989 * include/backward/function.h: Same.
4990 * include/backward/iomanip.h: Same.
4991 * include/backward/istream.h: Same.
4992 * include/backward/iterator.h: Same.
4993 * include/backward/list.h: Same.
4994 * include/backward/map.h: Same.
4995 * include/backward/multimap.h: Same.
4996 * include/backward/multiset.h: Same.
4997 * include/backward/ostream.h: Same.
4998 * include/backward/pair.h: Same
4999 * include/backward/rope.h: Same.
5000 * include/backward/set.h: Same.
5001 * include/backward/stream.h: Same.
5002 * include/backward/strstream.h: Same.
5003 * include/backward/tempbuf.h: Same.
5004 * src/Makefile.am (ext_headers): Edit.
5005 * src/Makefile.in: Regenerate.
5006 * testsuite/ext/headers.cc (main): Fix.
5009 2001-03-30 Phil Edwards <pme@sources.redhat.com>
5011 * tests_flags.in (LIBS): Pass correct path for installed testing.
5013 2001-03-28 Benjamin Kosnik <bkoz@redhat.com>
5015 * mkcheck.in (LIBTOOL): Don't construct -B argument here...
5016 * tests_flags.in (CXX): Construct here.
5017 (static_fail): Don't remove compile.out. Format with spaces.
5018 (INCLUDES): Deal with xcompiling.
5019 * configure.in (xcompiling): Substitute.
5020 * testsuite/Makefile.am: Snake libjava configury.
5021 * testsuite/Makefile.in: Regenerate.
5022 * testsuite/23_containers/map_operators.cc: Tweaks.
5023 * testsuite/23_containers/set_operators.cc: Tweaks.
5025 2001-03-28 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
5027 Enable dejagnu testing framework.
5028 * configure.in: Generate testsuite/Makefile.
5029 * configure: Regenerate.
5030 * Makefile.am (check-install): Change rule from this...
5031 (check-script-install): ...to this.
5032 (check): Change rule from this...
5033 (check-script):...to this.
5034 * Makefile.in: Regenerate.
5036 2001-03-28 Alexandre Oliva <aoliva@redhat.com>
5038 * libsupc++/Makefile.am (CXXLINK): Add --tag disable-shared after
5040 (LIBTOOL): Let automake take care of its definition.
5041 * libsupc++/Makefile.in: Rebuilt.
5043 2001-03-28 Richard Henderson <rth@redhat.com>
5045 IA-64 ABI Exception Handling:
5046 * acinclude.m4 (GLIBCPP_ENABLE_SJLJ_EXCEPTIONS): New.
5047 * configure.in: Use it.
5048 * Makefile.in, aclocal.m4, config.h.in, configure: Regenerate.
5049 * libsupc++/Makefile.am (sources): Update files list.
5050 * libsupc++/Makefile.in: Regenerate.
5051 * libsupc++/eh_alloc.cc, libsupc++/eh_aux_runtime.cc: New files.
5052 * libsupc++/eh_catch.cc, libsupc++/eh_exception.cc: New files.
5053 * libsupc++/eh_globals.cc, libsupc++/eh_personality.cc: New files.
5054 * libsupc++/eh_terminate.cc, libsupc++/eh_throw.cc: New files.
5055 * libsupc++/exception_support.cc: Remove.
5056 * libsupc++/exception_support.h: Remove.
5057 * libsupc++/pure.cc: Use std::terminate.
5058 * libsupc++/tinfo2.cc (__throw_type_match_rtti_2): Remove.
5059 (__is_pointer): Remove.
5060 * libsupc++/unwind-cxx.h: New file.
5061 * libsupc++/vec.cc (uncatch_exception): Update for new abi.
5063 2001-03-27 Alexandre Oliva <aoliva@redhat.com>
5065 * libsupc++/Makefile.am (CXXLINK): Use CXX again, and choose
5067 * src/Makefile.am (CXXLINK): Likewise.
5068 * libsupc++/Makefile.in, src/Makefile.in: Rebuilt.
5070 2001-03-27 Benjamin Kosnik <bkoz@redhat.com>
5072 * include/bits/c++config (_STL_USE_CONCEPT_CHECKS): Disable by default.
5074 2001-03-26 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
5076 * libstdc++-v3/tests_flags.in: Change the order of libstdc++
5079 2001-03-26 Benjamin Kosnik <bkoz@redhat.com>
5081 * include/bits/basic_file.h (get_fileno): Remove.
5082 (_M_fileno): Remove.
5083 (_M_cfile_created): Add.
5084 (basic_file::basic_file(__c_file_type*, openmode): Add.
5085 (basic_file::basic_file(int, const char*, openmode): Remove.
5086 * include/bits/fstream.tcc (basic_fstream::basic_filebuf(int __fd,
5087 const char*, ios_base::openmode): Don't allocate
5088 internal buffers. Turn off internal buffers.
5089 (basic_filebuf::overflow): Remove test for null buffer.
5090 (basic_filebuf::_M_really_overflow): Same. Allow unbuffered use.
5091 * include/bits/streambuf.cc: Tweak.
5092 * include/bits/std_ostream.h: Tweak.
5093 * config/basic_file_libio.h: Same.
5094 * config/basic_file_stdio.h: Same.
5095 * src/ios.cc (ios_base::Init::Init()): Unbuffer stdout by default.
5096 * testsuite/27_io/filebuf_members.cc: Tweaks.
5097 * testsuite/27_io/ios_base_members_static.cc: Tweaks.
5099 2001-03-24 Phil Edwards <pme@sources.redhat.com>
5101 * Makefile.am: New targets, doxygen and doxygen-maint.
5102 * Makefile.in: Regenerated.
5103 * docs/doxygen/run_doxygen: Finally implemented.
5104 * docs/doxygen/maint.cfg.in: New file.
5105 * docs/doxygen/user.cfg.in: New file.
5107 2001-03-24 Phil Edwards <pme@sources.redhat.com>
5109 * acinclude.m4 (GLIBCPP_CHECK_COMPILER_FEATURES): Update comment.
5110 * src/Makefile.am: Replace leading spaces with tabs on continuation
5112 * aclocal.m4: Regenerated.
5114 * Makefile.in: Ditto.
5115 * src/Makefile.in: Ditto.
5116 * libio/Makefile.in: Ditto.
5117 * libmath/Makefile.in: Ditto.
5118 * libsupc++/Makefile.in: Ditto.
5120 2001-03-24 Phil Edwards <pme@sources.redhat.com>
5122 * docs/html/19_diagnostics/howto.html: HTML fixup. Describe
5123 concept-checking code and current status of same.
5124 * docs/html/ext/howto.html: Ditto.
5125 * docs/html/faq/index.html: Ditto.
5126 * docs/html/faq/index.txt: Regenerated.
5128 2001-03-24 Phil Edwards <pme@sources.redhat.com>
5130 * include/bits/std_bitset.h: Include ostream and istream headers
5131 instead of iostream.
5133 2001-03-22 Greg Bumgardner <bumgard@roguewave.com>
5135 * include/bits/ostream.tcc: Use __builtin_alloca.
5137 2001-03-22 Benjamin Kosnik <bkoz@redhat.com>
5139 * src/misc-inst.cc (__sink_unused_warning): Move to...
5140 * src/locale-inst.cc (__sink_unused_warning): Move to...
5141 * src/stl-inst.cc: Here.
5142 * include/bits/c++config (_STL_NO_CONCEPT_CHECKS): Add define,
5145 2001-03-21 Theodore Papadopoulo <Theodore.Papadopoulo@sophia.inria.fr>
5147 * intclude/bits/basic_file.h: Fix typos in comments.
5149 2001-03-20 Richard Henderson <rth@redhat.com>
5151 * src/gen-num-limits.cc: Instantiate for wchar_t.
5152 * config/os/aix/bits/ctype_base.h (mask): Use unsigned int.
5154 2001-03-20 Jason Merrill <jason@redhat.com>
5156 * libsupc++/vec.cc (__cxa_vec_cleanup): New fn.
5157 (__cxa_vec_ctor, __cxa_vec_cctor, __cxa_vec_dtor): Call it.
5158 * libsupc++/cxxabi.h: Declare it.
5160 2001-03-16 Alexandre Oliva <aoliva@redhat.com>
5162 * src/gen-num-limits.cc (signal_adapter): Overloaded to match
5163 signal_func with an unspecified argument list.
5165 2001-03-15 Benjamin Kosnik <bkoz@redhat.com>
5167 * tests_flags.in (CXXFLAGS): Link libstdc++ before libsupc++.
5169 2001-03-15 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
5171 * include/bits/basic_string.tcc (operator+): Fix thinko.
5173 2001-03-14 Benjamin Kosnik <bkoz@redhat.com>
5176 * include/bits/std_streambuf.h: Remove cached locale facets.
5177 (basic_streambuf::_M_buf_fctype): Remove.
5178 (basic_streambuf::~basic_streambuf): Remove here.
5179 (basic_streambuf::basic_streambuf): Same.
5180 (basic_streambuf::imbue): Same.
5181 * include/bits/fstream.tcc (filebuf::imbue): Remove _M_buf_fctype.
5182 * include/bits/std_fstream.h (basic_filebuf::_M_fcvt): Remove.
5183 (basic_filebuf::~basic_filebuf()): Remove here.
5184 * include/bits/fstream.tcc (basic_filebuf::basic_filebuf): Same.
5185 (basic_filebuf::imbue): Same.
5186 * include/bits/localefwd.h (_Count_ones): Remove.
5187 (locale::_S_num_categories): Just use 6, since this doesn't
5188 actually change, ever.
5189 * include/bits/locale_facets.tcc (has_facet): Simplify.
5191 * testsuite/27_io/filebuf.cc (test06): Add tests.
5193 2001-03-13 Steve Ellcey <sje@cup.hp.com>
5195 * libstdc++-v3/config/os/hpux/bits/ctype_base.h: Make ctype masks
5196 match HP-UX ctype.h header file.
5198 2001-03-13 Andris Pavenis <pavenis@latnet.lv>
5200 * config/djgpp/bits/ctype_noninline.h: Fix typo and remove
5201 duplicate definitions of __dj_ctype_*
5203 2001-03-13 Benjamin Kosnik <bkoz@redhat.com>
5205 * libsupc++/new: Remove pragma interface.
5206 * libsupc++/typeinfo: Same.
5207 * libsupc++/exception: Same.
5208 * libsupc++/new_handler.cc: Remove pragma implementation.
5209 (bad_alloc::~bad_alloc()): Add.
5210 * libsupc++/exception_support.cc: Same.
5211 (exception::~exception): Add.
5212 (bad_exception::~bad_exception): Add.
5213 * libsupc++/tinfo.cc: Same.
5214 (bad_cast::~bad_cast): Add.
5215 (bad_typeid::~bad_typeid): Add.
5217 2001-03-13 Phil Edwards <pme@sources.redhat.com>
5219 * mkcheck.in: Fix IFS regression for non-bash-2.01 hosts.
5221 2001-03-12 Felix Lee <flee@redhat.com>
5223 * mkcheck.in: workaround for bash 2.01 IFS bug.
5225 2001-03-12 Benjamin Kosnik <bkoz@redhat.com>
5227 Fixups for -fno-for-scope
5228 * include/bits/locale_facets.tcc (__match_parallel): Fixup.
5229 * src/valarray-inst.cc (__gslice_to_index): Same.
5231 2001-03-12 Rodney Brown <RodneyBrown@mynd.com>
5233 * src/gen-num-limits.cc (traps) [SPECIALIZE_TRAPPING]: Add fflush
5234 prior to trapping signal (UnixWare 7 workaround).
5236 2001-03-12 Craig Rodrigues <rodrigc@mediaone.net>
5238 * include/backward/hashtable.h: Same.
5239 * include/backward/rope.h: Fix include.
5241 2001-03-12 Benjamin Kosnik <bkoz@redhat.com>
5243 * include/backward/vector.h: Include std_vector.h.
5245 * include/bits/istream.tcc (basic_istream<_CharT, _Traits>&
5246 operator>>(basic_istream<_CharT, _Traits>& __in, _CharT* __s)):
5249 2001-03-11 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
5251 * include/ext/stl_hashtable.h: Change type of __n to size_t
5252 * include/backward/bvector.h: Include <ext/stl_bvector.h>
5254 2001-03-09 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
5256 * include/bits/istream.tcc ( basic_istream<_CharT, _Traits>&
5257 operator>>(basic_istream<_CharT, _Traits>& __in, _CharT* __s)):
5258 Use streamsize, not int_type.
5260 2001-03-08 Benjamin Kosnik <bkoz@redhat.com>
5262 * testsuite/27_io/streambuf.cc (test06): New test, disabled at the
5265 2001-03-08 Andreas Schwab <schwab@suse.de>
5267 * acinclude.m4 (GLIBCPP_EXPORT_INSTALL_INFO): Fix syntax in test
5269 * aclocal.m4, configure: Regenerated.
5271 2001-03-07 Benjamin Kosnik <bkoz@redhat.com>
5273 * include/bits/std_iosfwd.h: Remove string forward decls here.
5274 * include/bits/stringfwd.h: Add forward decls for char_traits
5276 * config/c_io_libio.h (wstreamoff): Delete.
5277 * config/c_io_stdio.h (wstreamoff): Same.
5278 * include/bits/char_traits.h: Use streamoff not wstreamoff for
5279 char_traits<wchar_t>::off_type.
5280 Remove duplicate typedefs.
5281 * include/bits/fpos.h: Define streampos/wstreampos here.
5282 * testsuite/27_io/istream_seeks.cc (test04): Explicitly cast int
5285 Changeup output files.
5286 * testsuite/27_io/istream_unformatted.cc: Change output files.
5287 * testsuite/27_io/istream_seeks-1.txt: Add.
5288 * testsuite/27_io/istream_seeks-2.tst: Add.
5289 * testsuite/27_io/istream_seeks-1.tst: Add.
5290 * testsuite/27_io/istream_unformatted-2.tst: Delete.
5291 * testsuite/27_io/istream_unformatted-3.tst: Delete.
5292 * testsuite/27_io/istream_unformatted-3.txt: Delete.
5294 2001-03-07 Alexandre Oliva <aoliva@redhat.com>
5296 Add Irix 5.2, 6.3 support.
5297 * config/os/irix/bits: Renamed to...
5298 * config/os/irix/irix6.5/bits: this.
5299 * config/os/irix/irix5.2/bits: New, copied from irix6.5/bits.
5300 * config/os/irix/irix5.2/bits/ctype_base.h: Use _U, _L, _N,
5301 _X, _S, _P, _C and _B instead of IRIX-6.5 _IS* macros.
5302 * config/os/irix/irix5.2/bits/ctype_noninline.h
5303 (ctype<char>::ctype): Initialize _M_table with __ctype.
5304 * configure.target: Adjust.
5306 2001-03-06 Benjamin Kosnik <bkoz@redhat.com>
5309 * include/bits/istream.tcc (basic_istream<_CharT, _Traits>::
5310 operator>>(__istream_type& (*__pf)(__istream_type&)): Don't use
5312 (basic_istream<_CharT, _Traits>:: operator>>(__ios_type&
5313 (*__pf)(__ios_type&)): Same.
5314 (basic_istream<_CharT, _Traits>:: operator>>(ios_base&
5315 (*__pf)(ios_base&))): Same.
5316 * testsuite/27_io/istream_extractor_other.cc: Add tests.
5317 * testsuite/27_io/istream_manip.cc (test01): Fix.
5319 2001-03-06 Nathan Myers <ncm@cantrip.org>
5320 Benjamin Kosnik <bkoz@redhat.com>
5322 * include/c_std/bits/std_cerrno.h: Don't define errno in std::.
5323 * testsuite/17_intro/header_cerrno.cc (test01): New file.
5324 * testsuite/17_intro/header_cassert.cc (test01): New file.
5325 * testsuite/17_intro/header_cstddef.cc (test01): New file.
5326 * testsuite/17_intro/header_csetjmp.cc (test01): New file.
5327 * testsuite/17_intro/header_cstdarg.cc (test01): New file.
5329 2001-03-05 scott snyder <snyder@fnal.gov>
5332 * include/c_std/bits/std_cmath.h: Move abs(long), div(long,long)
5334 * include/c_std/bits/std_cstdlib.h: ... to here.
5335 * testsuite/17_intro/header_cstdlib.cc: Add test.
5337 2001-03-05 Stephen M. Webb <stephen.webb@cybersafe.com>
5339 * libsupc++/vec.cc (__cxxa_vec_new2): Qualify size_t.
5341 2001-03-05 Laurynas Biveinis <lauras@softhome.net>
5343 * config/os/djgpp/ctype_base.h (ctype_base): fix __to_type
5344 definition. Replace enum with static const variables.
5346 * config/os/djgpp/ctype_inline.h (ctype<char>::is): remove
5347 throw specification, fix typos, use <static_cast>.
5348 (ctype<char>::scan_is): remove throw specification.
5349 (ctype<char>::scan_not): likewise.
5351 * config/os/djgpp/ctype_noninline.h (ctype<char>::ctype): fix typo.
5352 (ctype<char>::do_toupper(char)): use <static_cast>.
5353 (ctype<char>::do_toupper(char *, const char *)): likewise.
5354 (ctype<char>::do_tolower(char)): likewise.
5355 (ctype<char>::do_tolower(char *, const char *)): likewise.
5357 2001-03-04 Phil Edwards <pme@sources.redhat.com>
5359 http://gcc.gnu.org/ml/libstdc++/2001-03/msg00015.html
5360 * include/backward/algo.h: Use std not __STD. Remove unneeded
5361 macros and "never happens" code. Adjust to C++STYLE guidelines.
5362 * include/backward/algobase.h: Likewise.
5363 * include/backward/alloc.h: Likewise.
5364 * include/backward/bvector.h: Likewise.
5365 * include/backward/deque.h: Likewise.
5366 * include/backward/function.h: Likewise.
5367 * include/backward/hash_map.h: Likewise.
5368 * include/backward/hash_set.h: Likewise.
5369 * include/backward/hashtable.h: Likewise.
5370 * include/backward/heap.h: Likewise.
5371 * include/backward/iterator.h: Likewise.
5372 * include/backward/list.h: Likewise.
5373 * include/backward/map.h: Likewise.
5374 * include/backward/multimap.h: Likewise.
5375 * include/backward/multiset.h: Likewise.
5376 * include/backward/pair.h: Likewise.
5377 * include/backward/rope.h: Likewise.
5378 * include/backward/set.h: Likewise.
5379 * include/backward/slist.h: Likewise.
5380 * include/backward/stack.h: Likewise.
5381 * include/backward/strstream: Likewise.
5382 * include/backward/tempbuf.h: Likewise.
5383 * include/backward/tree.h: Likewise.
5384 * include/backward/vector.h: Likewise.
5385 * include/bits/basic_ios.h: Likewise.
5386 * include/bits/basic_ios.tcc: Likewise.
5387 * include/bits/basic_string.h: Likewise.
5388 * include/bits/c++config: Likewise.
5389 * include/bits/concept_checks.h: Likewise.
5390 * include/bits/fpos.h: Likewise.
5391 * include/bits/fstream.tcc: Likewise.
5392 * include/bits/functexcept.h: Likewise.
5393 * include/bits/ios_base.h: Likewise.
5394 * include/bits/istream.tcc: Likewise.
5395 * include/bits/mask_array.h: Likewise.
5396 * include/bits/ostream.tcc: Likewise.
5397 * include/bits/pthread_allocimpl.h: Likewise.
5398 * include/bits/sbuf_iter.h: Likewise.
5399 * include/bits/slice.h: Likewise.
5400 * include/bits/slice_array.h: Likewise.
5401 * include/bits/sstream.tcc: Likewise.
5402 * include/bits/std_bitset.h: Likewise.
5403 * include/bits/std_fstream.h: Likewise.
5404 * include/bits/std_iomanip.h: Likewise.
5405 * include/bits/std_ios.h: Likewise.
5406 * include/bits/std_istream.h: Likewise.
5407 * include/bits/std_iterator.h: Likewise.
5408 * include/bits/std_memory.h: Likewise.
5409 * include/bits/std_ostream.h: Likewise.
5410 * include/bits/std_sstream.h: Likewise.
5411 * include/bits/std_streambuf.h: Likewise.
5412 * include/bits/std_string.h: Likewise.
5413 * include/bits/std_valarray.h: Likewise.
5414 * include/bits/stl_algo.h: Likewise.
5415 * include/bits/stl_algobase.h: Likewise.
5416 * include/bits/stl_alloc.h: Likewise.
5417 * include/bits/stl_construct.h: Likewise.
5418 * include/bits/stl_deque.h: Likewise.
5419 * include/bits/stl_function.h: Likewise.
5420 * include/bits/stl_heap.h: Likewise.
5421 * include/bits/stl_iterator.h: Likewise.
5422 * include/bits/stl_iterator_base.h: Likewise.
5423 * include/bits/stl_list.h: Likewise.
5424 * include/bits/stl_map.h: Likewise.
5425 * include/bits/stl_multimap.h: Likewise.
5426 * include/bits/stl_multiset.h: Likewise.
5427 * include/bits/stl_numeric.h: Likewise.
5428 * include/bits/stl_pair.h: Likewise.
5429 * include/bits/stl_pthread_alloc.h: Likewise.
5430 * include/bits/stl_queue.h: Likewise.
5431 * include/bits/stl_raw_storage_iter.h: Likewise.
5432 * include/bits/stl_relops.h: Likewise.
5433 * include/bits/stl_set.h: Likewise.
5434 * include/bits/stl_stack.h: Likewise.
5435 * include/bits/stl_tempbuf.h: Likewise.
5436 * include/bits/stl_threads.h: Likewise.
5437 * include/bits/stl_tree.h: Likewise.
5438 * include/bits/stl_uninitialized.h: Likewise.
5439 * include/bits/stl_vector.h: Likewise.
5440 * include/bits/streambuf.tcc: Likewise.
5441 * include/bits/type_traits.h: Likewise.
5442 * include/bits/valarray_meta.h: Likewise.
5443 * include/ext/bvector: Likewise.
5444 * include/ext/hash_map: Likewise.
5445 * include/ext/hash_set: Likewise.
5446 * include/ext/ropeimpl.h: Likewise.
5447 * include/ext/slist: Likewise.
5448 * include/ext/stl_bvector.h: Likewise.
5449 * include/ext/stl_hash_fun.h: Likewise.
5450 * include/ext/stl_hashtable.h: Likewise.
5451 * include/ext/stl_rope.h: Likewise.
5452 * src/complex_io.cc: Likewise.
5453 * src/ios.cc: Likewise.
5454 * src/locale-inst.cc: Likewise.
5455 * src/locale.cc: Likewise.
5456 * src/localename.cc: Likewise.
5457 * src/misc-inst.cc: Likewise.
5458 * src/stdexcept.cc: Likewise.
5459 * src/stl-inst.cc: Likewise.
5460 * src/strstream.cc: Likewise.
5461 * src/valarray-inst.cc: Likewise.
5463 2001-03-03 Benjamin Kosnik <bkoz@redhat.com>
5465 * src/misc-inst.cc (__copy_streambufs): Fix typo for alpha.
5467 2001-03-02 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
5469 * include/bits/istream.tcc: change type of __extracted to __size_type
5471 2001-03-02 Benjamin Kosnik <bkoz@redhat.com>
5473 * src/wstring-inst.cc: New file.
5474 * src/Makefile.am (EXTRA_LTLIBRARIES): Remove.
5475 (libinst_wstring_la_SOURCES): Remove.
5476 (libstdc___la_LIBADD): Remove libinst_wstring_la.
5477 (sources): Add wstring-inst.cc
5478 * acinclude.m4 (GLIBCPP_CHECK_WCHAR_T_SUPPORT): Remove
5481 2001-03-02 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
5483 * src/locale.cc: initialise __ret with zero
5484 * src/strstream.cc:cast gptr to int_type
5486 2001-03-01 Phil Edwards <pme@sources.redhat.com>
5488 * docs/html/faq/index.html: Update broken links.
5489 * docs/html/faq/index.txt: Regenerated.
5491 2001-02-28 Benjamin Kosnik <bkoz@redhat.com>
5494 * configure.target: Change irix* to irix6.5* in target_os table.
5496 2001-02-28 Benjamin Kosnik <bkoz@redhat.com>
5499 * include/bits/c++config (__GLIBCPP__): Bump number in
5500 anticipation of 2.92.
5502 * include/bits/codecvt.h: Fix typo.
5503 * include/bits/basic_file.h (__basic_file): Don't use _M_wfile for
5505 * acinclude.m4 (GLIBCPP_ENABLE_CSTDIO): Enable wchar_t
5506 instantiations for stdio model.
5508 2001-02-28 Phil Edwards <pme@sources.redhat.com>
5510 * acinclude.m4 (GLIBCPP_CONFIGURE): Remove GLIBCPP_CFLAGS
5511 and GLIBCPP_CXXFLAGS as unused variables.
5512 * configure.host: Likewise.
5513 * configure.target: Likewise.
5514 * aclocal.m4: Regenerated.
5515 * configure: Regenerated.
5516 * Makefile.in: Regenerated.
5517 * libio/Makefile.in: Regenerated.
5518 * libmath/Makefile.in: Regenerated.
5519 * libsupc++/Makefile.in: Regenerated.
5520 * src/Makefile.in: Regenerated.
5522 2001-02-27 Benjamin Kosnik <bkoz@redhat.com>
5525 * include/bits/basic_file.h: Include basic_file_model.h.
5526 * config/c_io_libio.cc: Move to...
5527 * config/basic_file_libio.cc: Here.
5528 * config/basic_file_libio.h: New file.
5529 * config/c_io_stdio.cc: Move to...
5530 * config/basic_file_stdio.cc: Here.
5531 * config/basic_file_stdio.h: New file.
5532 * config/c_io_libio.h: Tweak.
5533 * config/c_io_stdio.h: Tweak.
5534 * src/Makefile.am (build_headers): Add basic_file_model.h.
5535 (sources): Add basic_file.cc, remove c++io.cc.
5536 * src/Makefile.in: Regenerate.
5537 * acinclude.m4 (GLIBCPP_ENABLE_CSTDIO): Add support for
5538 basic_file_model.h and basic_file.cc.
5539 * aclocal.m4: Regenerate.
5540 * configure: Regenerate.
5541 * testsuite/27_io/filebuf.cc (test05): Add regression.
5543 2001-02-27 Benjamin Kosnik <bkoz@redhat.com>
5546 * config/cpu/alpha/bits/atomicity.h: Change.
5547 * config/cpu/arm/bits/atomicit3y.h
5548 * config/cpu/generic/bits/atomicity.h
5549 * config/cpu/i386/bits/atomicity.h
5550 * config/cpu/i486/bits/atomicity.h
5551 * config/cpu/ia64/bits/atomicity.h
5552 * config/cpu/powerpc/bits/atomicity.h
5553 * config/cpu/sparc/sparc32/bits/atomicity.h
5554 * config/cpu/sparc/sparc64/bits/atomicity.h
5555 * config/os/aix/bits/atomicity.h
5556 * config/os/irix/bits/atomicity.h
5558 2001-02-27 Benjamin Kosnik <bkoz@redhat.com>
5560 * include/bits/std_stdexcept.h (runtime_error): Make string
5562 (logic_error): Same.
5563 * testsuite/19_diagnostics/stdexceptions.cc (test04): Add test.
5566 2001-02-26 Benjamin Kosnik <bkoz@redhat.com>
5570 * include/bits/std_stdexcept.h (logic_error::logic_error): Use
5571 string object, not reference.
5572 (runtime_error::runtime_error): Same.
5573 * testsuite/19_diagnostics/stdexceptions.cc: New file.
5575 2001-02-26 Phil Edwards <pme@sources.redhat.com>
5577 * acinclude.m4 (GLIBCPP_CONFIGURE): Update required compiler version.
5578 (GLIBCPP_CHECK_COMPILER_FEATURES): Can safely assume new
5579 diagnostics. Remove WFMT_FLAGS.
5580 * configure.in: Replace WFMT_FLAGS with diagnostics options.
5581 * libsupc++/Makefile.am: Likewise.
5582 * src/Makefile.am: Likewise.
5583 * aclocal.m4: Regenerated.
5584 * configure: Regenerated.
5585 * Makefile.in: Regenerated.
5586 * libio/Makefile.in: Regenerated.
5587 * libmath/Makefile.in: Regenerated.
5588 * libsupc++/Makefile.in: Regenerated.
5589 * src/Makefile.in: Regenerated.
5591 2001-02-26 Phil Edwards <pme@sources.redhat.com>
5593 Fixes libstdc++/2079
5594 * include/backward/iomanip.h: Expose <ios> manipulators to global
5596 * include/backward/iostream.h: Also expose std::ws.
5598 2001-02-25 Greg Freemyer <freemyer@NorcrossGroup.com>
5600 * libmath/mathconf.h (GET_LDOUBLE_MSW64): Fix thinko.
5602 2001-02-23 Benjamin Kosnik <bkoz@redhat.com>
5604 * include/bits/codecvt.h: Use __builtin_alloca.
5605 * include/bits/ostream.tcc: Same.
5606 * include/bits/fstream.tcc: Same.
5608 2001-02-23 Alexandre Oliva <aoliva@redhat.com>
5610 * mknumeric_limits (CC): Use VAR=${VAR=...} form.
5612 2001-02-23 David Edelsohn <dje@watson.ibm.com>
5614 * mknumeric_limits (CC): Use $BUILD_DIR/../../gcc/xgcc
5616 2001-02-23 Phil Edwards <pme@sources.redhat.com>
5619 * include/backward/iostream.h: Expose std::flush in old headers.
5621 2001-02-23 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
5623 * mknumeric_limits: Remove special-casing on target. Use gcc
5624 instead of g++ to build gen-num-limits.cc
5626 2001-02-22 Benjamin Kosnik <bkoz@redhat.com>
5628 * tests_flags.in (CXXFLAGS): Add -rpath to gcc build dir.
5630 * include/bits/codecvt.h: Use alloca instead of __extension__ for
5632 * include/bits/ostream.tcc: Same.
5633 * include/bits/std_ostream.h: Same.
5634 * include/bits/fstream.tcc: Same.
5635 * include/bits/locale_facets.tcc: Add typename.
5636 * include/bits/c++config (_GLIBCPP_FULLY_COMPLIANT_HEADERS): Enable.
5638 2001-02-21 Phil Edwards <pme@sources.redhat.com>
5640 * tests_flags.in: Remove -n flag from call to echo.
5642 2001-02-20 Benjamin Kosnik <bkoz@redhat.com>
5644 * config/c_locale_gnu.h: Add clocale include.
5646 2001-02-20 Phil Edwards <pme@sources.redhat.com>
5648 * include/bits/stl_config.h: Remove file.
5649 * src/Makefile.am (base_headers): Remove from list.
5650 * configure: Regenerate.
5651 * Makefile.in: Ditto.
5652 * libio/Makefile.in: Ditto.
5653 * libmath/Makefile.in: Ditto.
5654 * libsupc++/Makefile.in: Ditto.
5655 * src/Makefile.in: Ditto.
5657 * include/bits/c++config: Move relevant macros to here.
5658 * include/backward/alloc.h: Include c++config.h instead.
5659 * include/backward/function.h: Ditto.
5660 * include/backward/heap.h: Ditto.
5661 * include/backward/pair.h: Ditto.
5662 * include/bits/pthread_allocimpl.h: Ditto.
5663 * include/bits/std_functional.h: Ditto.
5664 * include/bits/std_iterator.h: Ditto.
5665 * include/bits/std_numeric.h: Ditto.
5666 * include/bits/std_utility.h: Ditto.
5667 * include/bits/stl_algobase.h: Ditto.
5668 * include/bits/type_traits.h: Ditto.
5669 * src/stl-inst.cc: Ditto.
5671 2001-02-19 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
5673 * include/bits/basic_file.h: Add #pragma system_header
5674 * include/bits/basic_ios.h: Ditto.
5675 * include/bits/basic_string.h: Ditto.
5676 * include/bits/char_traits.h: Ditto.
5677 * include/bits/codecvt.h: Ditto.
5678 * include/bits/cpp_type_traits.h: Ditto.
5679 * include/bits/fpos.h: Ditto.
5680 * include/bits/gslice.h: Ditto.
5681 * include/bits/gslice_array.h: Ditto.
5682 * include/bits/indirect_array.h: Ditto.
5683 * include/bits/ios_base.h: Ditto.
5684 * include/bits/limits_generic.h: Ditto.
5685 * include/bits/locale_facets.h: Ditto.
5686 * include/bits/localefwd.h: Ditto.
5687 * include/bits/mask_array.h: Ditto.
5688 * include/bits/sbuf_iter.h: Ditto.
5689 * include/bits/sequence_concepts.h: Ditto.
5690 * include/bits/slice.h: Ditto.
5691 * include/bits/slice_array.h: Ditto.
5692 * include/bits/std_algorithm.h: Likewise.
5693 * include/bits/std_bitset.h: Likewise.
5694 * include/bits/std_complex.h: Likewise.
5695 * include/bits/std_deque.h: Likewise.
5696 * include/bits/std_fstream.h: Likewise.
5697 * include/bits/std_functional.h: Likewise.
5698 * include/bits/std_iomanip.h: Likewise.
5699 * include/bits/std_ios.h: Likewise.
5700 * include/bits/std_iosfwd.h: Likewise.
5701 * include/bits/std_iostream.h: Likewise.
5702 * include/bits/std_istream.h: Likewise.
5703 * include/bits/std_iterator.h: Likewise.
5704 * include/bits/std_list.h: Likewise.
5705 * include/bits/std_locale.h: Likewise.
5706 * include/bits/std_map.h: Likewise.
5707 * include/bits/std_memory.h: Likewise.
5708 * include/bits/std_numeric.h: Likewise.
5709 * include/bits/std_ostream.h: Likewise.
5710 * include/bits/std_queue.h: Likewise.
5711 * include/bits/std_set.h: Likewise.
5712 * include/bits/std_sstream.h: Likewise.
5713 * include/bits/std_stack.h: Likewise.
5714 * include/bits/std_stdexcept.h: Likewise.
5715 * include/bits/std_streambuf.h: Likewise.
5716 * include/bits/std_string.h: Likewise.
5717 * include/bits/std_utility.h: Likewise.
5718 * include/bits/std_valarray.h: Likewise.
5719 * include/bits/std_vector.h: Likewise.
5720 * include/bits/stringfwd.h: Likewise.
5721 * include/bits/type_traits.h: Likewise.
5722 * include/bits/valarray_array.h: Likewise.
5723 * include/bits/valarray_meta.h: Likewise.
5725 2001-02-19 Andreas Jaeger <aj@suse.de>
5727 * config/cpu/sparc/sparc64/bits/atomicity.h (__compare_and_swap):
5730 2001-02-16 Greg Bumgardner <bumgard@roguewave.com>
5733 * include/bits/std_ostream.h: Replaced usage of
5734 _Traits::_S_eos() with _CharT() as per section 17.2.2.1.3.
5735 * include/bits/char_traits.h: Removed non-standard
5736 methods that cannot be used elsewhere.
5739 * include/bits/basic_ios.h: Uncommented #include of
5743 * include/bits/codecvt.h: See next...
5744 * include/bits/fstream.tcc: See next...
5745 * include/bits/ostream.tcc: Add __extension__
5746 to variable-length arrays.
5749 * include/bits/localefwd.h: Changed int counter type to size_t.
5752 * include/bits/std_fstream.h: Added typedef for __ctype_type.
5754 2001-02-16 Benjamin Kosnik <bkoz@redhat.com>
5756 * testsuite/21_strings/char_traits.cc: Move to ...
5757 * testsuite/21_strings/char_traits_requirements.cc: ..here.
5758 * testsuite/21_strings/char_traits-int_type.cc: Move to ...
5759 * testsuite/21_strings/char_traits_typedefs.cc: ..here.
5761 2001-02-16 Gabriel Dos Reis <gdr@codesourcery.com>
5763 * libmath/mathconf.h (FINITE_P, INFINITE_P): Remove macro
5766 2001-02-15 Benjamin Kosnik <bkoz@redhat.com>
5768 * include/bits/c++config: Revert.
5770 2001-02-15 Mark Mitchell <mark@codesourcery.com>
5772 * include/bits/istream.tcc: Use ios_base::iostate in place of
5773 iostate throughout. Insert `typename' keyword where necessary.
5774 * include/bits/ostream.tcc: Insert `typename' keyword where
5777 2001-02-15 Jeffrey Oldham <oldham@codesourcery.com>
5779 * include/bits/c++config (_GLIBCPP_FULLY_COMPLIANT_HEADERS):
5780 Define so library is compliant.
5782 2001-02-15 Anthony Green <green@redhat.com>
5784 * acinclude.m4 (glibcpp_toolexeclibdir): Fix test for cross
5786 * aclocal.m4: Regenerate.
5787 * configure: Regenerate.
5789 2001-02-15 Rodney Brown <RodneyBrown@mynd.com>
5791 * acinclude.m4 (GLIBCPP_CHECK_MATH_DECL_1):
5792 Include ieeefp.h for fpclass on UnixWare{2,7}.
5793 * aclocal.m4: Regenerate.
5794 * configure: Regenerate.
5795 * mkcheck.in (size_command): Do without GNU-grep when using
5798 2001-02-15 Mark Mitchell <mark@codesourcery.com>
5800 Remove old ABI support from libsupc++.
5801 * libsupc++/cxxabi.h: Remove conditionally compiled code.
5802 * libsupc++/exception_support.cc: Likewise.
5803 * libsupc++/pure.cc: Likewise.
5804 * libsupc++/tinfo.cc: Likewise.
5805 * libsupc++/tinfo.h: Likewise.
5806 * libsupc++/tinfo2.cc: Likewise.
5807 * libsupc++/typeinfo: Likewise.
5808 * libsupc++/vec.cc: Likewise.
5810 2001-02-15 Benjamin Kosnik <bkoz@redhat.com>
5812 Add support for -fno-exceptions.
5813 * include/bits/exception_support.h: Remove.
5814 * include/bits/basic_string.h: Remove exception_support.
5815 (string::_M_check): Replace __OUTOFRANGE with __throw_out_of_range.
5817 (string::substr): Same.
5818 * include/bits/basic_string.tcc (string::reserve): Replace
5819 __LENGTHERROR with __throw_length_error.
5820 (string::_S_create): Same.
5821 (string::resize): Same.
5822 (string::_M_replace): Same.
5823 (string::replace): Same.
5824 (string::copy): Replace __OUTOFRANGE with __throw_out_of_range.
5825 (string::compare): Same.
5826 * include/bits/stl_vector.h: Remove exception_support.
5827 * src/Makefile.am (base_headers): Remove here.
5828 * src/Makefile.in: Regenerate.
5830 * include/bits/stl_range_errors.h: Remove.
5831 * include/bits/stl_deque.h: Use __throw_range_error.
5832 * include/bits/std_deque.h: Include functexcept.h.
5833 * include/bits/std_vector.h: Same.
5834 * src/Makefile.am (base_headers): Remove here.
5835 * src/Makefile.in: Regenerate.
5836 * include/ext/stl_bvector.h (class __BVECTOR): Use __throw_range_error.
5837 * include/ext/bvector: Remove stl_range_errors.h
5839 * include/bits/c++config (_GLIBCPP_USE_EXCEPTIONS): Remove.
5841 * include/bits/functexcept.h: New file.
5842 * src/functexcept.cc: New file. Definitions for function-based
5844 * src/Makefile.am (sources): Add functexcept.cc.
5845 * src/Makefile.in: Regenerate.
5847 * include/bits/stl_config.h (__STL_USE_EXCEPTIONS): Wrap with
5850 * include/bits/localefwd.h: Include functexcept.h.
5851 * include/bits/std_iosfwd.h: Same.
5853 * include/bits/basic_ios.h: Use __throw_ios_failure instead of
5854 throw basic_ios::failure.
5855 * include/bits/fstream.tcc (filebuf::_M_allocate_buffers):
5856 Use __throw_exception_again.
5857 (filebuf::_M_filebuf_init): Same.
5858 * include/bits/streambuf.tcc (__copy_streambufs): Same.
5859 * include/bits/ostream.tcc (ostream::operator<<): Same.
5860 * include/bits/istream.tcc (istream::operator>>): Same.
5861 * include/bits/basic_string.tcc (string::_M_mutate): Same.
5862 (string::_S_construct): Same.
5863 (string::_M_clone): Same.
5864 * include/bits/locale_facets.tcc (use_facet(const locale&)): Use
5866 (num_put<_CharT, _OutIter>::do_put): Use __throw_exception_again.
5867 * src/localename.cc (locale::_Imp::_Imp(const _Impl&, size_t): Use
5868 __throw_exception_again.
5869 (locale::_Imp::_Imp(string, size_t): Same.
5870 (locale::_Imp::_M_replace_facet): Use __throw_runtime_error.
5871 * src/locale.cc (locale::_M_coalesce): Use __throw_exception_again.
5872 (locale::locale(const char*)): Use __throw_runtime_error.
5873 (locale::classic): Use __throw_exception_again.
5874 (locale::_S_normalize_category): Use __throw_runtime_error.
5876 * src/stdexcept.cc: Remove cruft.
5878 * libsupc++/exception_defines.h: New file.
5879 * libsupc++/new_opnt.cc: Include exception_defines.h.
5880 * libsupc++/vec.cc: Same.
5881 (__cxa_vec_new2): Use __throw_exception_again.
5882 (__cxa_vec_new3): Same.
5883 (__cxa_vec_ctor): Same.
5884 (__cxa_vec_delete3): Same.
5885 (__cxa_vec_cctor): Same.
5886 (__cxa_vec_delete2): Same.
5887 (__cxa_vec_dtor): Same.
5888 * libsupc++/exception_support.cc: Include exception_defines.h. Only
5889 compile exception-handling bits if __EXCEPTIONS is defined.
5890 Remove old ABI support.
5891 * libsupc++/new_op.cc (new): Include exception_defines.h. Use
5892 std::__throw_bad_alloc() instead of throw bad_alloc.
5893 * libsupc++/Makefile.am: Add exception_defines.h.
5894 * libsupc++/Makefile.in: Reformat.
5895 * libsupc++/*: Format.
5897 2001-02-15 Phil Edwards <pme@sources.redhat.com>
5899 * docs/html/configopts.html: Minor updates and typo fixes.
5900 * docs/html/faq/index.html: Updates of the "not really bugs" list.
5901 * docs/html/faq/index.txt: Regenerated.
5903 2001-02-15 Gabriel Dos Reis <gdr@codesourcery.com>
5905 * testsuite/lib/libstdc++.exp: Lift, temporarily, out of
5906 dejagnu/dg.exp. Adapt to log options used to run testcases.
5908 2001-02-13 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
5910 * testsuite/lib/libstdc++.exp(dg-test): Lift temporarily from
5913 2001-02-13 Dirk Mueller <dmuell@gmx.net>
5914 Phil Edwards <pme@sources.redhat.com>
5916 * include/backward/function.h: Do not use rel_ops for older
5918 * include/backward/pair.h: Likewise.
5920 2001-02-12 Mark Mitchell <mark@codesourcery.com>
5922 * src/locale.cc: Remove bogus locale::id definitions.
5924 2001-02-11 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
5926 * include/bits/std_valarray.h: #undef _DEFINE_LOGICAL_OPERATOR,
5927 not _DEFINE_VALARRAY_OPERATOR which is not existent.
5929 * include/bits/valarray_meta.h (_RefFunClos<>_RefRunClos): Fix
5930 thinko in member initialisation.
5932 2001-02-11 Gabriel Dos Reis <gdr@codesourcery.com>
5934 * include/bits/std_valarray.h(valarray<>::shift): Avoid
5935 comparaison between signed and unsigned integer types.
5936 (valarray<>::cshift): Reformat.
5938 2001-02-11 Alexandre Oliva <aoliva@redhat.com>
5940 * src/gen-num-limits.cc: Use sigsetjmp and siglongjmp if available.
5941 * mknumeric_limits: Compile it with -DHAVE_CONFIG_H.
5942 * configure.in: Test for sigsetjmp.
5943 * configure, config.h.in: Rebuilt.
5945 2001-02-11 Gabriel Dos Reis <gdr@codesourcery.com>
5947 * src/valarray-inst.cc (gslice::_Indexer::_Indexer): Don't flip
5948 lengths and strides.
5949 (__gslice_to_index): Document.
5951 2001-02-11 Gabriel Dos Reis <gdr@codesourcery.com>
5953 * include/bits/char_traits.h char_traits<char>::int_type: Change
5954 to `int' to match 21.1.3.1/2.
5956 * testsuite/21_strings/char_traits-int_type.C: New test.
5958 2001-02-10 Gabriel Dos Reis <gdr@codesourcery.com>
5960 * testsuite/Makefile.am: New file.
5962 2001-02-09 Nathan Sidwell <nathan@codesourcery.com>
5964 * include/c_shadow/bits/std_cstdlib.h (lldiv_t): Fix typo.
5966 2001-02-08 Loren J. Rittle <ljrittle@acm.org>
5968 * src/locale-inst.cc (fill_n): Instantiate with size_t arguments.
5970 2001-02-08 David Edelsohn <edelsohn@gnu.org>
5972 * configure.target (aix4*): Remove extra set of brackets.
5974 2001-02-07 Benjamin Kosnik <bkoz@redhat.com>
5977 * include/bits/stringfwd.h: New file.
5978 * include/bits/stl_string_fwd.h: Remove.
5979 * include/bits/localefwd.h: Remove declaration for allocator.
5980 * include/bits/std_iosfwd: Same.
5981 * include/bits/std_string.h: Include it.
5982 * include/bits/std_ios.h: Remove include.
5983 * include/bits/basic_string.h: Tweak.
5984 * libsupc++/new: Format.
5985 * src/Makefile.am (base_headers): Add stringfwd.h, remove
5987 * src/Makefile.in: Regenerate.
5988 * include/bits/std_stdexcept.h: Rewrite.
5989 * src/stdexcept.cc: Same.
5991 2001-02-06 Benjamin Kosnik <bkoz@redhat.com>
5993 * acinclude.m4 (GLIBCPP_EXPORT_INSTALL_INFO): Deal with library
5994 install locations too.
5995 * aclocal.m4: Regenerate.
5996 * configure.in: Remove USE_LIBDIR.
5997 * configure: Regenerate.
5998 * src/Makefile.am (toolexecdir): Simplify, use
5999 glibcpp_toolexecdir, glibcpp_toolexeclibdir.
6000 * src/Makefile.in: Regenerate.
6001 * libsupc++/Makefile.am: Same.
6002 * libsupc++/Makefile.in: Regenerate.
6004 * src/Makefile.am: Just remove special rules for locale-inst.cc and
6005 misc-inst.cc as no longer necessary.
6007 Follow C++STYLE for naming non-static functions.
6008 * include/bits/ostream.tcc (_S_pad_char): Not static, rename to
6010 * include/bits/streambuf.tcc: Same.
6011 * include/bits/ostream.tcc: Same.
6012 * include/bits/istream.tcc: Same.
6013 * include/bits/locale_facets.tcc (_S_pad_numeric): To __pad_numeric.
6014 (_S_output_float): To __output_float.
6015 * include/bits/std_streambuf.h (_S_copy_streambufs): To
6017 * include/bits/locale_facets.tcc (_S_build_float_format): To
6018 __build_float_format.
6019 (_S_format): To __output_integer.
6020 (_S_fill): To __pad.
6021 * src/locale.cc: Same.
6022 * src/misc-inst.cc: Fix formatting. Fix signature for wchar_t. Correct
6024 * include/bits/locale_facets.tcc (_S_group_digits): To
6026 * src/locale-inst.cc: Fixup names. Add use_facet instantiations
6027 for collate, numpunct.
6029 2001-02-06 Phil Edwards <pme@sources.redhat.com>
6031 * docs/html/configopts.html: Fix HTML markup.
6032 * docs/html/install.html: Bring up to date.
6033 * docs/html/17_intro/C++STYLE: Add global variable conventions.
6034 * docs/html/21_strings/howto.html: More notes.
6035 * docs/html/22_locale/howto.html: Fix HTML markup.
6036 * docs/html/27_io/howto.html: More notes.
6037 * docs/html/27_io/binary_iostreams_kanze.txt: New file.
6038 * docs/html/27_io/binary_iostreams_kuehl.txt: New file.
6040 2001-02-06 Jeffrey Oldham <oldham@codesourcery.com>
6042 * src/misc-inst.cc (_S_pad_char): Modify declaration's parameters
6043 to match header files.
6044 (_S_output_float): Likewise.
6045 (_S_copy_streambufs): Likewise.
6047 2001-02-06 Hyman Rosen <Hyman.Rosen@kbcfp.com>
6048 Phil Edwards <pme@sources.redhat.com>
6050 * include/bits/std_istream.h (op>> signed,unsigned char): Must
6051 use reinterpret_cast, not static_cast.
6053 2001-02-06 Benjamin Kosnik <bkoz@redhat.com>
6055 * acinclude.m4 (gxx_include_dir): Quote, fix regression.
6056 * aclocal.m4: Regenerate.
6057 * configure: Regenerate.
6059 2001-02-05 Benjamin Kosnik <bkoz@redhat.com>
6061 * include/bits/locale_facets.h (class moneypunct): Fix typos.
6062 * libsupc++/pure.cc: Revert.
6064 2001-02-05 Benjamin Kosnik <bkoz@redhat.com>
6066 * acinclude.m4 (GLIBCPP_CHECK_MATH_DECL_1): New macro.
6067 (GLIBCPP_CHECK_MATH_DECL_2): New macro.
6068 (GLIBCPP_CHECK_MATH_DECL_3): New macro.
6069 (GLIBCPP_CHECK_MATH_DECL_AND_LINKAGE_1): Use it, check for _* too.
6070 (GLIBCPP_CHECK_MATH_DECL_AND_LINKAGE_2): Same.
6071 (GLIBCPP_CHECK_MATH_DECL_AND_LINKAGE_3): Same.
6072 (GLIBCPP_CHECK_MATH_SUPPORT): Remove explicit checks for _* versions.
6073 * aclocal.m4: Regenerate.
6074 * configure: Regenerate.
6076 2001-02-05 Mark Mitchell <mark@codesourcery.com>
6078 * include/bits/locale_facets.tcc: Remove `static' keyword on
6079 function definitions.
6080 * include/bits/std_streambuf.h: Likewise.
6081 * src/Makefile.am: Remove use of -fimplicit-templates.
6082 * src/Makefile.in: Regenerated.
6083 * src/locale-inst.cc: Explicitly instantiate more functions.
6084 * src/misc-inst.cc: Likewise.
6085 * src/string-inst.cc: Likewise.
6087 2001-02-05 Benjamin Kosnik <bkoz@redhat.com>
6089 * acinclude.m4 (GLIBCPP_EXPORT_INSTALL_INFO): New
6090 macro. Consolidate all the bits to do with where includes might be
6092 * aclocal.m4: Regenerate.
6093 * configure.in: Use it.
6094 * configure: Regenerate.
6095 * src/Makefile.am (targetincludep): Use simplified rules.
6096 (targetincludep): Rename gxx_target_include_dir.
6097 (myincludep): Rename gxx_include_dir.
6098 * src/Makefile.in: Regenerate.
6099 * libsupc++/Makefile.am: Use simplified rules.
6100 * libsupc++/Makefile.in: Regenerate.
6102 2001-02-05 Benjamin Kosnik <bkoz@redhat.com>
6104 * include/c_std/bits/std_cerrno.h: Correct date format for copyright.
6105 * include/c_std/bits/std_cctype.h: Same.
6106 * include/c_std/bits/std_cassert.h: Same.
6107 * include/c_std/bits/std_cstdarg.h: Same.
6108 * include/c_std/bits/std_cstddef.h: Same.
6110 * include/c_std/bits/std_cstdio.h: Undefine all names brought into
6112 * include/c_std/bits/std_ctime.h: Same.
6113 * include/c_std/bits/std_clocale.h: Same.
6114 * include/c_std/bits/std_cmath.h: Same.
6115 * include/c_std/bits/std_csetjmp.h: Same.
6116 * include/c_std/bits/std_csignal.h: Same.
6117 * include/c_std/bits/std_cstring.h: Same.
6118 * include/c_std/bits/std_cstdlib.h: Same.
6119 * include/c_std/bits/std_cwchar.h: Same.
6121 2001-02-05 Phil Edwards <pme@sources.redhat.com>
6123 * testsuite/27_io/ios_base_members_static.cc: Swap order of tests.
6125 2001-02-05 Mark Mitchell <mark@codesourcery.com>
6127 * src/string-inst.cc (string::_M_replace): Explicitly instantiate.
6128 (string::_S_construct): Likewise.
6130 2001-02-05 Gabriel Dos Reis <gdr@codesourcery.com>
6132 * testsuite/config/default.exp: New file.
6133 * testsuite/config: New directory.
6135 2001-02-04 Mark Mitchell <mark@codesourcery.com>
6137 * libsupc++/typeinfo (__GXX_MERGED_TYPEINFO_NAMES): New macro.
6138 * libsupc++/tinfo.cc (std::typeinfo::operator==): Use strcmp
6139 whenever !__GXX_MERGED_TYPEINFO_NAMES.
6140 * libsupc++/tinfo2.cc (std::typeinfo::before): Likewise.
6142 2001-02-03 Alexandre Oliva <aoliva@redhat.com>
6143 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
6145 * Makefile.am (mkinstalldirs): Set.
6146 * src/Makefile.am (mkinstalldirs): Set.
6147 * libmath/Makefile.am (mkinstalldirs): Set.
6148 * libsup++/Makefile.am (mkinstalldirs): Set.
6149 * libio/Makefile.am (mkinstalldirs): Set.
6150 * */Makefile.in: Regenerate.
6152 2001-02-03 Benjamin Kosnik <bkoz@redhat.com>
6154 * include/bits/stl_threads.h (struct _STL_mutex_lock): Same.
6155 * include/bits/localefwd.h: More initialization cleanups.
6157 2001-02-03 Jeffrey A Law <law@cygnus.com>
6159 * include/bits/ios_base.h (_S_ios_fmtflags_end): Initialize
6160 correctly targets with 16bit ints.
6161 (_S_ios_openmode_end): Similarly.
6162 (_S_ios_iostate_end): Similarly.
6163 (_S_ios_Seekdir_end): Similarly.
6165 2001-02-02 Phil Edwards <pme@sources.redhat.com>
6167 * mkcheck.in: Also limit virtual memory size, for mmap-based mallocs.
6169 2001-02-01 Alexandre Oliva <aoliva@redhat.com>
6171 * configure.in (toplevel_srcdir, auxdir): Set.
6172 * acinclude.m4 (glibcpp_basedir): Set based on auxdir.
6173 * aclocal.m4, configure, Makefile.in: Rebuilt.
6174 * libio/Makefile.in, math/Makefile.in, src/Makefile.in: Likewise.
6175 * libsupc++-v3/Makefile.am (INCLUDES): Use toplevel_srcdir.
6176 * libsupc++-v3/Makefile.in: Rebuilt.
6177 * libsupc++-v3/configure.in, libsupc++-v3/configure: Removed.
6178 * libsupc++-v3/aclocal.m4, libsupc++-v3/config.h.in: Likewise.
6180 2001-01-30 Benjamin Kosnik <bkoz@redhat.com>
6182 * config/c_locale_generic.cc: Remove langinfo include.
6184 2001-01-29 Benjamin Kosnik <bkoz@redhat.com>
6186 Preliminary named locales.
6187 * acinclude.m4 (GLIBCPP_ENABLE_CLOCALE): New macro.
6188 * aclocal.m4: Regenerate.
6189 * configure.in: Use it.
6190 * configure: Regerate.
6191 * src/Makefile.am (sources): Add c++locale.cc.
6192 (build_headers): Add c++locale.h.
6193 * src/Makefile.in: Regenerate.
6194 * config/c_locale_gnu.h: New file.
6195 * config/c_locale_gnu.cc: New file. Non-inline member functions
6196 for named locales, gnu-specific.
6197 * config/c_locale_generic.h: New file.
6198 * config/c_locale_generic.cc: New file. Non-inline member
6199 functions for named locales, generic version.
6200 * docs/html/configopts.html: Add documentation on new options.
6202 * include/bits/locale_facets.h (class _Messages): Remove.
6203 (class _Moneypunct): Remove.
6204 * src/locale-inst.cc: Remove.
6206 * include/bits/locale_facets.h (class _Collate): Remove.
6207 * src/locale-inst.cc (std): Remove.
6208 * src/locale.cc: And here.
6210 * include/bits/localefwd.h (locale::_M_coalesce): New
6211 function. Correctly put together multi-name locales.
6212 (_Impl(const _Impl&, category, size_t)): Remove.
6214 * include/bits/localefwd.h (locale::_Impl): Remove _M_construct_*
6216 (_M_normalize_category_names): Remove.
6217 (_M_replace_categories): Fix.
6219 * src/localename.cc (locale::_Impl::_M_construct_collate): Remove.
6220 (locale::_Impl::_M_construct_ctype): Remove.
6221 (locale::_Impl::_M_construct_monetary): Remove.
6222 (locale::_Impl::_M_construct_numeric): Remove.
6223 (locale::_Impl::_M_construct_time): Remove.
6224 (locale::_Impl::_M_construct_messages): Remove.
6226 * include/bits/locale_facets.h (_Bad_use_facet): Remove.
6227 (_Use_facet_failure_handle): Remove.
6228 * src/locale.cc: Remove definitions.
6229 * src/locale-inst.cc: And here.
6231 * testsuite/22_locale/ctor_copy_dtor.cc (test01): Fixup. Add tests.
6233 * src/localename.cc (locale::facet::_S_create_c_locale): Properly
6234 create and error-check underlying locale object.
6235 (locale::facet::_S_destroy_c_locale): Add, take care of properly
6236 tearing down underlying locale object.
6237 * include/bits/localefwd.h (locale::facet): Declare.
6238 * testsuite/22_locale/members.cc: Don't test "fr_FR" locale for
6239 correctness, as glibc apparently has incorrect info in it. Test
6240 with it when it works again.....
6242 * include/bits/localefwd.h (locale::_Impl::__vec_string):
6243 Remove. Number of categories is fixed at six, so just simplify and
6244 make this an array of strings.
6245 (locale::_Impl::_M_has_name): Remove.
6246 (locale::_Impl::_M_name): Remove.
6247 (locale::_Impl::_M_category_names): Turns into...
6248 (locale::_Impl::_M_names): ...this.
6249 (locale::_Impl::_M_has_same_name()): New function.
6250 * src/localename.cc (locale::_Impl::~_Impl()): Remove here.
6251 (locale::_Impl::_Impl(size_t __refs, string __str)): Simplify
6253 * src/locale.cc (locale::name()): Construct mangled name
6254 accurately reflecting combined locale categories.
6256 * src/locale.cc (locale::classic()): Don't initialize here.
6257 * src/localename.cc (locale::_Impl::_Impl(size_t __num, size_t
6258 __refs, bool __has_name, string __str): Do it here.
6260 * include/bits/localefwd.h: _S_categories_num to
6261 _S_num_categories. _S_facets_num to _S_num_facets.
6262 (locale::id::id()): Explicitly set _M_index to zero.
6263 * src/locale.cc: Same.
6265 * src/locale.cc: (locale::locale(const char*)): Construct named
6268 * src/locale.cc: Remove numpunct_byname ctors.
6269 * testsuite/22_locale/numpunct_byname.cc: New file.
6270 * testsuite/22_locale/numpunct.cc: New file.
6272 * include/bits/localefwd.h (class locale): Change data members to
6273 protected, from private.
6274 (_Impl::_M_get_c_locale): Add member function.
6275 (locale::facet::_M_get_global_impl()): Add member function.
6276 * include/bits/locale_facets.h (numpunct::_M_init): Change to take
6277 a __c_locale pointer.
6278 (numpunct::numpunct( __c_locale*, size_t)): Add additonal ctor for
6280 * testsuite/22_locale/members.cc: New file, test name and combine.
6282 * include/bits/locale_facets.h (class numpunct): Remove class
6283 _Punct and _Numpunct. Rewrite class numpunct to be correct for
6285 * include/bits/localefwd.h (locale::_Imp::_M_c_locale): Add.
6286 * src/localename.cc (_Impl::~_Impl()): Call __frelocale.
6287 (_Imp::_Impl(size_t, size_t, bool, string)) Initialize _M_c_locale.
6288 * src/locale-inst.cc: Remove _Numpunct, _Punct instantiations.
6289 * testsuite/22_locale/numpunct_char_members.cc: New file.
6291 2001-01-28 Gabriel Dos Reis <gdr@codesourcery.com>
6293 * testsuite/README: Add more comment.
6294 * testsuite/lib/libstdc++.exp: Tweak comment.
6296 2001-01-26 Benjamin Kosnik <bkoz@kredhat.com>
6298 * libsupc++/pure.cc (writestr): Just use cstdio and std::fputs.
6300 2001-01-25 Loren J. Rittle <ljrittle@acm.org>
6302 * testsuite/21_strings/inserters_extractors.cc: Remove
6303 explicit reference to 'testsuite/'.
6305 2001-01-25 Richard Henderson <rth@redhat.com>
6307 * config/cpu/alpha/bits/atomicity.h: Remove tricky .subsetion
6308 bits. Fixes Tru64 build issues.
6310 2001-01-25 Michael Sokolov <msokolov@ivan.Harhan.ORG>
6312 * acinclude.m4 (GLIBCPP_CHECK_GNU_MAKE): Bourne shell portability bug
6313 (use ${MAKE-make}, not ${MAKE:-make}).
6314 * aclocal.m4, configure: Regenerate.
6316 2001-01-25 Mark Mitchell <mark@codesourcery.com>
6318 * src/ios.cc: Remove accidental inclusion of <stdio.h> in last
6321 * src/Makefile.am (sources): Add globals.cc.
6322 * src/Makefile.in: Regenerated.
6323 * src/globals.cc: New file.
6324 * src/ios.cc (cin): Don't define here, just declare extern.
6333 2001-01-25 Phil Edwards <pme@sources.redhat.com>
6335 * include/bits/std_iterator.h: Do not include stl_relops.h.
6336 * include/bits/std_numeric.h: Ditto.
6337 * include/bits/stl_algobase.h: Ditto.
6338 * include/bits/stl_relops.h: Add comment warning about problems.
6340 2001-01-25 Gabriel Dos Reis <gdr@codesourcery.com>
6342 * testsuite/27_io/*.cc: Remove explicit reference to 'testsuite/'
6343 in testcases. Prepare for the DejaGnu based framework.
6344 * mkcheck.in: Adjust call to tests_flags. Don't mmkdir testsuite
6345 directory -- it is now mkcheck working directory.
6346 * tests_flags.in: Remove reference to $(top_srcdir). Use
6348 * Makefile.am (check, check-install): Change mkcheck invocation
6350 * Makefile.in: Regenerate.
6352 2001-01-24 Mark Mitchell <mark@codesourcery.com>
6354 * config/os/aix/bits/atomicity.h (__compare_and_swap): Remove.
6355 (__always_swap): Likewise.
6357 2001-01-23 Chris Demetriou <cgd@broadcom.com>
6359 * libsupc++/exception_support.cc (__terminate_func): Remove
6361 (__terminate_func_ptr): New typedef.
6362 (__terminate, __terminate_set_func): New extern function
6364 (std::terminate): Use __terminate function.
6365 (std::set_terminate): Use __terminate_set_func function.
6367 2001-01-23 Benjamin Kosnik <bkoz@redhat.com>
6369 * configure.target: Just use os_include_dir always.
6370 * configure.in: Remove calls to GLIBCPP_CHECK_CTYPE_SUPPORT.
6371 Link atomicity files and ctype files here.
6372 * configure: Regenerate.
6373 * acinclude.m4 (GLIBCPP_CHECK_CTYPE_SUPPORT): Remove.
6374 (GLIBCPP_ENABLE_ATOMICITY): Remove.
6375 * aclocal.m4: Regenerate.
6377 2001-01-23 Chris Demetriou <cgd@broadcom.com>
6379 * configure.in: Place definition of MULTISUBDIR in
6380 libsupc++/Makefile as is done for src/Makefile.
6381 * configure: Regenerate.
6383 2001-01-23 Phil Edwards <pme@sources.redhat.com>
6385 * acinclude.m4: Cosmetic changes only.
6386 * aclocal.m4: Regenerated.
6387 * configure: Regenerated.
6388 * configure.target: Update documented list of changed variables.
6389 * docs/html/install.html: Fix typo.
6390 * docs/html/20_util/howto.html: More notes on auto_ptr.
6391 * docs/html/27_io/howto.html: More notes on streabufs.
6392 * docs/html/faq/index.html: Add rel_ops problem and mention the
6393 DEC as(1) .subsection difficulty.
6394 * docs/html/faq/index.txt: Regenerated.
6396 2001-01-23 Mark Mitchell <mark@codesourcery.com>
6398 * ainclude.m4 (GLIBCPP_CHEC_MATH_DECLS_AND_LINKAGE_1): New macro.
6399 (GLIBCPP_CHECK_MATH_SUPPORT): Use it.
6400 (GLIBCPP_CHECK_TYPE_SUPPORT): Don't autoconf ctype information if
6401 its already provided in config.target.
6402 * aclocal.m4: Regenerated.
6403 * configure: Likewise.
6404 * configure.target: Set ctype_include_dir for lots of systems.
6405 * libsupc++/Makefile.am: Explicitly include --tag disable-shared.
6406 * libsupc++/Makefile.in: Regenerated.
6408 2001-01-23 Gabriel Dos Reis <gdr@codesourcery.com>
6410 * testsuite/lib/libstdc++.exp: Improve. Add support for @xxx#
6413 * testsuite/README: Add comment.
6415 2001-01-21 Phil Edwards <pme@sources.redhat.com>
6417 * docs/html/configopts.html: Update for current status. Fix HTML.
6418 * docs/html/install.html: Update for current status.
6420 2001-01-20 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
6422 * testsuite/libstdc++.tests/tests.exp: New file.
6423 * testsuite/lib/libstdc++.exp: Itou.
6424 * testsuite/README: Itou.
6426 2001-01-20 Gabriel Dos Reis <gdr@codesourcery.com>
6428 * tests_flags.in: Just output the bare minimum to run tests.
6429 Let's the caller do its own arrangement.
6431 * mkcheck.in: Rename INC_PATH to INCLUDES. Adjust flags
6434 2001-01-19 Gabriel Dos Reis <gdr@codesourcery.com>
6436 * testsuite/17_intro: Prepare testcases for new style DejaGnu
6439 2001-01-18 Gabriel Dos Reis <gdr@codesourcery.com>
6441 * testsuite/libstdc++.tests, testsuite/lib: New directories.
6443 2001-01-17 Loren J. Rittle <ljrittle@acm.org>
6445 * mkcheck.in: Construct file names that match $objdir structure.
6446 * testsuite/27_io/filebuf_members-1.txt: New file.
6447 * testsuite/27_io/ifstream_members-1.txt: New file.
6448 * testsuite/27_io/ostream_inserter_char-1.txt: New file.
6450 * testsuite/27_io/ios_base_members_static.cc (test02): Add test.
6451 * testsuite/27_io/ios_base_members_static-1.tst: Add expected output.
6453 2001-01-17 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
6455 * testsuite/27_io/istream_sentry.cc (test02): Fix.
6457 2001-01-17 Benjamin Kosnik <bkoz@redhat.com>
6460 * include/bits/ios_base.h (ios_base::failure): Tighten up throw specs.
6461 * src/ios.cc (ios_base::failure): Make definitions match.
6462 * libsupc++/typeinfo (class bad_typeid): Add throw specs.
6463 (class bad_cast): Same.
6464 * libsupc++/exception (class exception): Add throw specs.
6465 * libsupc++/exception_support.cc (set_terminate): Add throw specs.
6466 (set_unexpected): Same.
6467 (uncaught_exception): Same.
6470 * docs/html/17_intro/C++STYLE (classname): Fix.
6472 2001-01-16 Mark Mitchell <mark@codesourcery.com>
6474 * src/gen-num-limits.cc (INSTANTIATIONS): New macro.
6475 Use it do explicitly instantiate predicate<T> and value<T> for
6478 2001-01-16 Nathan Sidwell <nathan@codesourcery.com>
6480 * libsupc++/exception_support.cc (__cp_pop_exception): Fix
6481 uninitialized thinko in last change.
6483 2001-01-16 Mark Mitchell <mark@codesourcery.com>
6485 * libsupc++/exception_support.cc (__cp_pop_exception): Change
6488 2001-01-16 Benjamin Kosnik <bkoz@redhat.com>
6490 * docs/html/17_intro/C++STYLE (classname): Add more existing
6491 and stylish patterns.
6494 * include/bits/istream.tcc (istream::sentry::sentry()): Set
6495 failbit if the state of the stream is not good.
6496 * testsuite/27_io/istream_sentry.cc (test02): Add test.
6497 * testsuite/27_io/istream_manip.cc (test01): Modify.
6500 reported by Paolo Carlini <pcarlini@unitus.it>
6501 * include/bits/istream.tcc (operator>>(istream&, string&)): Fix.
6502 * testsuite/21_strings/inserters_extractors.cc (test08): Add test.
6505 * include/bits/std_streambuf.h (setp): Set _M_buf_size correctly.
6506 * include/bits/streambuf.tcc (xsputn): Remove outside if clause.
6507 (xsgetn): Same. Simplify.
6508 * testsuite/27_io/streambuf.cc (test04): Add testcases.
6510 reported by Larry Evans <jcampbell3@prodigy.net>
6511 * include/bits/streambuf.tcc (streambuf::xsputn): Just check for
6512 equality with eof on returned value from overflow.
6514 2001-01-14 Andreas Jaeger <aj@suse.de>
6516 * libio/libio.h: Add test for glibc 2.0.
6518 2001-01-12 Benjamin Kosnik <bkoz@redhat.com>
6520 * config/os/djgpp/bits/*: Fix dates.
6522 * include/bits/basic_string.h (_S_find(const _CharT* __beg, const
6523 _CharT* __end, _CharT __c): Remove.
6524 * include/bits/basic_string.tcc: Substitute traits::find for _S_find.
6525 * include/bits/char_traits.h: Tweak.
6527 2001-01-12 Laurynas Biveinis <lauras@softhome.net>
6529 * acinclude.m4 (GLIBCPP_CHECK_CTYPE_SUPPORT): check for DJGPP <ctype.h>
6530 (LIB_AC_PROG_CXX): replace [/\\] with [\\/] to work around older
6532 * aclocal.m4: regenerated.
6533 * configure.target: set os_include_dir to config/os/djgpp under DJGPP.
6534 * configure: regenerated.
6535 * config/os/djgpp, config/os/djgpp/bits: new directories.
6536 * config/os/djgpp/bits/ctype_base.h,
6537 config/os/djgpp/bits/ctype_inline.h,
6538 config/os/djgpp/bits/ctype_noninline.h,
6539 config/os/djgpp/bits/os_defines.h: new files.
6541 2001-01-11 Joseph S. Myers <jsm28@cam.ac.uk>
6543 * include/c_std/bits/std_cstdio.h: Undef printf.
6545 2001-01-10 Benjamin Kosnik <bkoz@redhat.com>
6547 * src/ios.cc: Fix typo: change cout->wcout.
6549 * src/Makefile.am (targetincludep): Fix for version-specific-libs.
6550 * src/Makefile.in: Regenerate.
6552 2001-01-10 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
6554 * include/bits/std_complex.h: Fix a typo.
6556 2001-01-09 Benjamin Kosnik <bkoz@redhat.com>
6559 Fixes for libstdc++/1576
6560 * src/stdstreams.cc: Initialize with NULL filebuf. Delete
6561 file, move contents into....
6562 * src/ios.cc: ...Here. Put defines for iostreams objects and
6563 initialization routines into one file to simplify DSO interaction.
6564 * include/bits/std_iostream.h: Touch.
6565 * include/bits/ios_base.h (_S_synched_with_stdio): Make static.
6566 * src/Makefile.am (sources): Remove stdstreams.cc.
6567 * src/Makefile.in: Regenerate.
6569 2001-01-10 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
6571 * tests_flags.in (check_directory): Fix typo.
6573 2001-01-09 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
6575 * include/bits/std_complex.h: Fix a typo.
6577 2001-01-09 Loren J. Rittle <ljrittle@acm.org>
6579 * config/os/bsd/freebsd/bits/ctype_inline.h (is): (Make right
6580 code path:) Remove magic constants and restructure to handle
6581 ctype.h bit mask layout changes more gracefully. (Make fast
6582 code path:) Use __maskrune (), if available.
6583 (is): Remove special case for digit and xdigit masks.
6585 2001-01-09 Robert Lipe <robertlipe@usa.net>
6587 * include/c_std/bits/std_ctime.h: Undefine difftime.
6589 2001-01-09 Alexandre Oliva <aoliva@redhat.com>
6591 * src/gen-num-limits.cc (signal_adapter): New template function.
6592 (signal_handler): Use it, instead of signal.
6593 (traps<T>): Likewise. Install SIGTRAP handler too. Don't
6594 require both tests to trap to set trap_flag.
6596 2001-01-08 Benjamin Kosnik <bkoz@redhat.com>
6598 * include/bits/fpos.h (fpos:::fpos(streamoff __pos)): Explicitly
6599 initialize mbstate_t member, name offset data members *off, not pos.
6600 * include/bits/fstream.tcc (filebuf::filebuf): Same.
6602 2001-01-08 Benjamin Kosnik <bkoz@redhat.com>
6604 reported by Chris G. Demetriou <cgd@sibyte.com>
6605 * configure.in: Change -linux-* to -linux*.
6606 * configure: Regenerate.
6608 2001-01-05 Benjamin Kosnik <bkoz@redhat.com>
6610 Fix 27_io/filebuf_members.cc
6611 * src/localename.cc (locale::_Impl::_Impl(const _Impl& __imp,
6612 const string& __name, category __cat, size_t __refs): Set
6613 _M_has_name with _M_name.
6614 * include/bits/localefwd.h (locale::operator!=): Protect member
6615 function call with this->.
6616 * src/locale.cc (locale::operator==): Make fast checks first.
6617 * include/bits/basic_ios.tcc (basic_ios::init): Simplify.
6619 * include/bits/ios_base.h (_M_synced_with_stdio): Add data member
6621 * src/ios.cc (ios_base::Init::Init): Initialize here.
6622 (ios_base::sync_with_stdio): Set here.
6624 2001-01-04 Loren J. Rittle <ljrittle@acm.org>
6626 * config/c_io_stdio.cc (__basic_file<_CharT>::sys_open()): On
6627 systems that support it, call dup() before fdopen().
6629 2001-01-03 Benjamin Kosnik <bkoz@redhat.com>
6631 * include/c_std/bits/std_cwctype.h: Include std_cwchar.h for wint_t.
6632 * testsuite/17_intro/header_cwctype.cc (main): New file.
6634 * src/Makefile.am (base_headers): Change.
6635 * include/bits/std_string.h: And here.
6636 * include/bits/string.tcc: Tweaks, move to...
6637 * include/bits/basic_string.tcc: ...Here.
6638 * src/string-inst.cc: Simplify, just instantiate the whole class,
6639 not member-by-member.
6641 2001-01-02 Benjamin Kosnik <bkoz@redhat.com>
6643 * acinclude.m4 (GLIBCPP_ENABLD_CSTDIO): Add in default value.
6644 * aclocal.m4: Regenerate.
6645 * configure: Regenerate.
6647 * include/bits/c++config (__GLIBCPP__): Bump version number.
6649 * ChangeLog: Start new log for year 2001
6650 * ChangeLog-2000: New file.
6652 * docs/html/configopts.html: Make sure default values are current,
6655 2001-01-01 Benjamin Kosnik <bkoz@fillmore.redhat.com>
6657 * include/c_std/bits/std_cwchar.h: Same.
6658 * testsuite/17_intro/header_cwchar.cc: Same.
6659 * include/c_std/bits/std_ctime.h: Same.
6660 * testsuite/17_intro/header_ctime.cc: Same.
6661 * include/c_std/bits/std_cstdlib.h: Same.
6662 Clean up undefs, make consistent with cwchar and cmath, etc.
6663 * testsuite/17_intro/header_cstdlib.cc: Same.
6664 * include/c_std/bits/std_cstdio.h: Same here.
6665 * testsuite/17_intro/header_cstring.cc: Same.
6666 * include/c_std/bits/std_cstring.h: Include std_cstddef.h for size_t.
6667 * testsuite/17_intro/header_cstring.cc: New file. Check for
6668 size_t in namespace std.
6670 * include/c_std/bits/std_cwchar.h: Explicit checks for mbstate_t.
6671 * acconfig.h (HAVE_MBSTATE_T): Add.
6672 * config.h.in: Regenerate.
6673 * acinclude.m4(GLIBCPP_CHECK_WCHAR_T_SUPPORT): Always test for
6675 * aclocal.m4: Regenerate.
6676 * configure: Regenerate.
6677 * testsuite/17_intro/headers_c++.cc: New file.
6678 * testsuite/17_intro/headers_c.cc: Small changes.
6680 2001-01-01 David Billinghurst <David.Billinghurst@riotinto.com>
6682 * tests_flags.in: Fix typo in usage.
6684 * tests_flags.in: Set target specific LIBS for cygwin.