1 2002-01-22 Benjamin Kosnik <bkoz@redhat.com>
3 * config/locale/c_locale_generic.cc: Fix.
5 2002-01-22 Benjamin Kosnik <bkoz@redhat.com>
7 * docs/html/22_locale/messages.html: Remove angle brackets.
8 * docs/html/17_intro/TODO: Add.
10 2002-01-22 Paolo Carlini <pcarlini@unitus.it>
12 * testsuite/27_io/ios_manip_basefield.cc: Enable test02.
13 * testsuite/27_io/ostream_inserter_arith.cc: Enable test03.
14 * testsuite/27_io/ostream_inserter_char.cc: Enable test01.
15 * testsuite/27_io/ostream_inserter_other.cc: Enable test04.
17 2002-01-22 Benjamin Kosnik <bkoz@redhat.com>
19 Audit for LANG independence.
20 * include/bits/localefwd.h: Tweaks.
21 * include/bits/locale_facets.tcc (money_get::do_get(long double)):
23 (time_get::do_get_year): Same.
24 (__convert_from_v): Add.
25 (num_put::_M_convert_float): Use.
26 (num_put::_M_convert_int): Same.
27 (money_put::do_put): Same.
29 * src/locale-inst.cc: Add instantiations for __convert_from_v.
30 * config/locale/time_members_gnu.cc: Cleanup setlocale usage.
31 * config/locale/time_members_generic.cc:
32 * config/locale/messages_members_gnu.cc: Same.
33 * config/locale/messages_members_gnu.h: Same.
35 * testsuite/22_locale/codecvt_members_wchar_t_char.cc (test02): New.
36 * testsuite/22_locale/codecvt_members_char_char.cc (test02): New.
37 * testsuite/22_locale/collate_members_wchar_t.cc (test02): New.
38 * testsuite/22_locale/collate_members_char.cc (test02): New.
39 * testsuite/22_locale/ctype_members_wchar_t.cc (test03): New.
40 * testsuite/22_locale/ctype_members_char.cc (test03): New.
41 * testsuite/22_locale/messages_members_char.cc (test02): New.
42 * testsuite/22_locale/moneypunct_members_wchar_t.cc (test02): New.
43 * testsuite/22_locale/moneypunct_members_char.cc (test02): New.
44 * testsuite/22_locale/money_get_members_wchar_t.cc (test04): New.
45 * testsuite/22_locale/money_get_members_char.cc (test04): New.
46 * testsuite/22_locale/money_put_members_wchar_t.cc (test04): New.
47 * testsuite/22_locale/money_put_members_char.cc (test04): New.
48 * testsuite/22_locale/numpunct_members_wchar_t.cc (test02): New.
49 * testsuite/22_locale/numpunct_members_char.cc (test02): New.
50 * testsuite/22_locale/time_put_members_wchar_t.cc (test03): New.
51 * testsuite/22_locale/time_put_members_char.cc (test03): New.
52 * testsuite/22_locale/time_get_members_wchar_t.cc (test07): New.
53 * testsuite/22_locale/time_get_members_char.cc (test07): New.
54 * testsuite/22_locale/num_get_members_wchar_t.cc (test03): New.
55 * testsuite/22_locale/num_get_members_char.cc (test03): New.
56 * testsuite/22_locale/num_put_members_wchar_t.cc (test03): New.
57 * testsuite/22_locale/num_put_members_char.cc (test03): New.
59 * testsuite/22_locale/time_get_members_char.cc: Fixups for global
61 * testsuite/22_locale/time_get_members_char.cc: Same.
63 2002-01-22 Benjamin Kosnik <bkoz@redhat.com>
66 * include/bits/localefwd.h: Tweak comments.
67 * include/bits/locale_facets.h (__convert_to_v): Add.
68 * include/bits/locale_facets.tcc (num_get::do_get(double)): Use it.
69 (num_get::do_get(float)): Same.
70 (num_get::do_get(long double)): Same.
71 (num_get::do_get(bool)): Same.
72 (num_get::do_get(long)): Same.
73 (num_get::do_get(long long)): Same.
74 (num_get::do_get(unsigned int)): Same.
75 (num_get::do_get(unsigned short)): Same.
76 (num_get::do_get(unsigned long)): Same.
77 (num_get::do_get(unsigned long long)): Same.
78 * config/locale/c_locale_gnu.cc (__convert_to_v): Specialize.
79 * config/locale/c_locale_generic.cc: Same.
81 2002-01-22 Loren Rittle <ljrittle@acm.org>
83 * include/Makefile.am (c_base_builddir): Remove redundant slash.
84 (std_builddir): Likewise.
85 (std_headers_rename): Fix cut-n-paste typo.
86 (install-data-local): Concat path per element instead of once to
87 first element of list.
88 * include/Makefile.in: Rebuilt.
90 2002-01-22 Benjamin Kosnik <bkoz@redhat.com>
92 * config/os/aix/bits/ctype_noninline.h: Fix formatting.
93 * config/os/bsd/netbsd/bits/ctype_noninline.h: Fix typo.
94 * config/os/bsd/freebsd/bits/ctype_noninline.h: Fix formatting.
96 2002-01-20 Benjamin Kosnik <bkoz@redhat.com>
98 * include/bits/locale_facets.h (ctype<char>::classic_table):
100 (ctype<char>::_S_ctable): Remove.
101 * config/os/gnu-linux/bits/ctype_noninline.h
102 (ctype<char>::_S_table): Remove definition.
103 (ctype<char>::classic_table): Define.
104 (ctype<char>::ctype): Replace _S_ctable with classic_table().
105 * config/os/aix/bits/ctype_noninline.h: Same.
106 * config/os/bsd/freebsd/bits/ctype_noninline.h: Same.
107 * config/os/bsd/netbsd/bits/ctype_noninline.h: Same.
108 * config/os/djgpp/bits/ctype_noninline.h: Same.
109 * config/os/generic/bits/ctype_noninline.h: Same.
110 * config/os/gnu-linux/bits/ctype_noninline.h: Same.
111 * config/os/hpux/bits/ctype_noninline.h: Same.
112 * config/os/irix/irix5.2/bits/ctype_noninline.h: Same.
113 * config/os/irix/irix6.5/bits/ctype_noninline.h: Same.
114 * config/os/mingw32/bits/ctype_noninline.h: Same.
115 * config/os/newlib/bits/ctype_noninline.h: Same.
116 * config/os/solaris/solaris2.5/bits/ctype_noninline.h: Same.
117 * config/os/solaris/solaris2.6/bits/ctype_noninline.h: Same.
118 * config/os/solaris/solaris2.7/bits/ctype_noninline.h: Same.
120 2002-01-20 Danny Smith <dannysmith@users.sourceforge.net>
122 * config/os/mingw32/bits/ctype_noninline.h: Declare _ctype instead
123 of _pctype. Use to define _S_ctable. Add definition for alternate
124 ctor. Initialise _M_ctable to _S_ctable in ctors.
125 (do_toupper, do_tolower): Use inline code appropriate for C-locale
126 rather than ::toupper, ::tolower.
128 2002-01-18 Loren Rittle <ljrittle@acm.org>
130 * testsuite/18_support/numeric_limits.cc (test_extrema<long double>):
131 Add specialization for FreeBSD systems only to avoid losing test
132 only due to extra precision unmentioned in system headers.
134 2002-01-18 David Billinghurst <David.Billinghurst@riotinto.com>
136 * config/os/irix/irix6.5/bits/ctype_noninline.h: Fix typo
138 2002-01-17 Nick Clifton <nickc@cambridge.redhat.com>
140 * testsuite/testsuite_hooks.h: Fix comment typo. Memory
141 limiting is only attempted if _GLIBCPP_MEM_LIMIT is defined.
143 2002-01-17 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
145 * testsuite/22_locale/ctor_copy_dtor.cc: Remove check.
147 2002-01-17 David Edelsohn <edelsohn@gnu.org>
149 * configure.target: Define OPT_LDFLAGS for AIX case.
151 2002-01-17 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
153 * include/std/std_limits.h (__glibcpp_float_has_quiet_NaN,
154 __glibcpp_double_has_quiet_NaN): Correct mispelling.
156 2002-01-17 Andreas Tobler <toa@pop.agri.ch>
158 * config/os/solaris/solaris2.6/bits/ctype_noninline.h: Fix.
160 2002-01-16 David Edelsohn <dje@watson.ibm.com>
162 * acinclude.m4 (GLIBCPP_CHECK_LINKER_FEATURES): Do not clear
163 SECTION_LDFLAGS and OPT_LDFLAGS. Fix ac_sectionLDflags type.
164 * aclocal.m4: Regenerate.
165 * configure: Regenerate.
167 2002-01-16 Benjamin Kosnik <bkoz@redhat.com>
169 * include/Makefile.am (c_base_headers_rename): New.
170 (c_base_headers_extra): New.
171 (stamp-c_base): Modify.
172 (install-data-local): Use both.
173 * include/Makefile.in: Regenerate.
174 * include/c/[cctype ciso646 cmath cstdarg cstdlib cerrno climits
175 csetjmp cstddef cstring cwchar cassert cfloat clocale csignal
176 cstdio ctime cwctype]: Move to..
177 * include/c/std_*: Here.
178 * include/c_std/[cctype ciso646 cmath cstdarg cstdlib cerrno climits
179 csetjmp cstddef cstring cwchar cassert cfloat clocale csignal
180 cstdio ctime cwctype]: Move to..
181 * include/c_std/std_*: Here.
183 Alexandre Oliva <aoliva@redhat.com>
184 * include/Makefile.am (.PRECIOUS): Add rule.
185 * include/Makefile.in: Regenerate.
187 2002-01-16 Benjamin Kosnik <bkoz@redhat.com>
188 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
190 * include/bits/stl_iterator.h (reverse_iterator::_M_current):
191 Deuglify, should be current.
192 (back_insert_iterator::_M_container): Deuglify, should be container.
193 (front_insert_iterator::_M_container): Same.
194 (insert_iterator::_M_container): Same.
195 * testsuite/24_iterators/reverse_iterator.cc: Add check.
196 * testsuite/24_iterators/back_insert_iterator.cc: Add check.
197 * testsuite/24_iterators/front_insert_iterator.cc: Same.
198 * testsuite/24_iterators/insert_iterator.cc: Same.
200 2002-01-16 Benjamin Kosnik <bkoz@redhat.com>
202 * include/bits/locale_facets.h (ctype<char>::classic_table): Make
204 (ctype<char>::_M_ctable): Make static, change name to _S_ctable.
205 * config/os/gnu-linux/bits/ctype_noninline.h: Define _S_ctable.
206 * config/os/solaris/solaris2.7/bits/ctype_noninline.h: Same.
207 * config/os/solaris/solaris2.6/bits/ctype_noninline.h: Same.
208 * config/os/solaris/solaris2.5/bits/ctype_noninline.h: Same.
209 * config/os/newlib/bits/ctype_noninline.h: Same.
210 * config/os/irix/irix6.5/bits/ctype_noninline.h: Same.
211 * config/os/irix/irix5.2/bits/ctype_noninline.h: Same.
212 * config/os/hpux/bits/ctype_noninline.h: Same.
213 * config/os/djgpp/bits/ctype_noninline.h: Same.
214 * config/os/bsd/netbsd/bits/ctype_noninline.h: Same.
215 * config/os/bsd/freebsd/bits/ctype_noninline.h: Same.
216 * config/os/aix/bits/ctype_noninline.h: Same.
218 Testcase by Dietmar Kühl via Peter Schmid
219 * testsuite/22_locale/ctype_members_char.cc (char>): Add test for
222 2002-01-16 Benjamin Kosnik <bkoz@redhat.com>
224 * libmath/signbitl.c: Copyright years as list, not range.
225 * libmath/Makefile.am: Same.
226 * libmath/Makefie.in: Regenerate.
227 * libmath/signbit.c: Same.
228 * libmath/nan.c: Same.
229 * libmath/copysignf.c: Same.
230 * libmath/signbitf.c: Same.
231 * testsuite/22_locale/money_get_members_char.cc: Same.
232 * testsuite/22_locale/money_get_members_wchar_t.cc: Same.
233 * testsuite/22_locale/money_put_members_char.cc: Same.
234 * testsuite/22_locale/money_put_members_wchar_t.cc: Same.
235 * testsuite/22_locale/time_get_members_char.cc: Same.
236 * testsuite/22_locale/time_get_members_wchar_t.cc: Same.
237 * testsuite/22_locale/time_put_members_char.cc: Same.
238 * testsuite/22_locale/time_put_members_wchar_t.cc: Same.
239 * testsuite/21_strings/nonmember.cc: Same.
240 * testsuite/21_strings/compare.cc: Same.
241 * testsuite/27_io/stringstream.cc: Same.
242 * testsuite/27_io/stringbuf.cc: Same.
243 * testsuite/27_io/filebuf.cc: Same.
244 * testsuite/27_io/ios_manip_basefield.cc: Same.
245 * testsuite/27_io/ios_manip_fmtflags.cc: Same.
246 * include/bits/cpp_type_traits.h: Same.
247 * include/bits/generic_shadow.h: Same.
248 * include/bits/gslice_array.h: Same.
249 * include/bits/gslice.h: Same.
250 * include/bits/indirect_array.h: Same.
251 * include/bits/slice_array.h: Same.
252 * include/bits/sstream.tcc: Same.
253 * include/bits/streambuf_iterator.h: Same.
254 * include/bits/valarray_array.tcc: Same.
255 * include/bits/valarray_meta.h: Same.
256 * include/bits/valarray_array.h: Same.
257 * config/os/mingw32/bits/ctype_noninline.h: Same.
258 * config/os/mingw32/bits/ctype_base.h: Same.
259 * config/os/hpux/bits/ctype_noninline.h: Same.
260 * config/os/hpux/bits/ctype_base.h: Same.
261 * config/os/gnu-linux/bits/ctype_noninline.h: Same.
262 * config/os/gnu-linux/bits/ctype_base.h: Same.
263 * config/os/generic/bits/ctype_noninline.h: Same.
264 * config/os/generic/bits/ctype_base.h: Same.
266 * libsupc++/tinfo.h: Tweaks.
268 2002-01-15 Benjamin Kosnik <bkoz@redhat.com>
270 * testsuite/22_locale/num_put_members_wchar_t.cc (test02): Same.
271 * testsuite/22_locale/num_put_members_char.cc (test01): Tweak.
272 * testsuite/22_locale/ctype_members_char.cc: Tweak.
274 2002-01-15 Benjamin Kosnik <bkoz@redhat.com>
276 * include/bits/locale_facets.tcc (num_put::do_put(bool): Fix.
277 (num_put::do_put(void*)): Fix.
278 * testsuite/22_locale/num_put_members_char.cc (test02): Add.
279 * testsuite/22_locale/num_put_members_wchar_t.cc (test02): Add.
280 * testsuite/22_locale/num_get_members_char.cc (test02): Add
281 long double, void, bool types.
282 * testsuite/22_locale/num_get_members_wchar_t.cc (test02): Add.
284 2002-01-15 Benjamin Kosnik <bkoz@redhat.com>
285 Alexandre Oliva <aoliva@redhat.com>
287 * libmath/Makefile.am (LINK): Add --tag CC.
288 * libmath/Makefile.in: Regenerate.
290 2002-01-15 John David Anglin <dave@hiauly1.hia.nrc.ca>
292 * config/os/hpux/bits/ctype_noninline.h: Use __SB_masks for address
293 of character to attribute mapping table.
295 2002-01-15 David Billinghurst <David.Billinghurst@riotinto.com>
297 * testsuite/26_numerics/c99_classification_macros_c.cc
298 Remove dg-error and dg-excess-errors comments.
300 2002-01-14 Benjamin Kosnik <bkoz@redhat.com>
302 * include/bits/locale_facets.tcc (time_put::put): Correct output
304 * testsuite/22_locale/time_put_members_char.cc (test02): Add.
305 * testsuite/22_locale/time_put_members_wchar_t.cc (test02): Add.
306 * testsuite/22_locale/time_get_members_wchar_t.cc (test06): Add.
307 * testsuite/22_locale/time_get_members_char.cc (test06): Add.
309 2002-01-14 Craig Rodrigues <rodrigc@gcc.gnu.org>
311 * docs/html/17_intro/porting-howto.xml: Update filebuf section.
313 2002-01-14 Paolo Carlini <pcarlini@unitus.it>
314 Nathan Myers <ncm@cantrip.org>
316 * include/bits/basic_string.h
317 (replace(__pos, __n1, __s, __n2)): Optimize by avoiding
318 temporaries (i.e., call _M_replace_safe) when possible.
319 (replace(__pos, __n, __str)): Call replace(__pos, __n1, __s, __n2).
320 (replace(__pos, __n1, __s)): Call replace(__pos, __n1, __s , __n2).
321 (replace(__i1, __i2, __str)): Call replace(__i1, __i2, __s, __n).
322 (replace(__i1, __i2, __s)): Call replace(__i1, __i2, __s, __n).
323 (replace(__i1, __i2, __s, __n)): Call replace(__pos1, __n1, __s, __n2).
324 * include/bits/basic_string.tcc
325 (replace(__pos1, __n1, __str, __pos2, __n2)): Call
326 replace(__pos, __n1, __s, __n2).
327 * testsuite/21_strings/replace.cc (test03): New testcases.
329 * include/bits/basic_string.h (insert(__pos, __s, __n)):
330 Adjust comparison wrt overflow.
332 2002-01-12 Benjamin Kosnik <bkoz@redhat.com>
334 * include/Makefile.am (std_headers_rename): New variable.
335 (install-data-local): Use it.
336 * include/Makefile.in: Regenerate.
338 2002-01-12 Benjamin Kosnik <bkoz@redhat.com>
340 * include/bits/locale_facets.tcc (money_put::do_put(string):
341 Correct output iterator value.
342 * testsuite/22_locale/money_put_members_char.cc (test03): Add.
343 * testsuite/22_locale/money_put_members_wchar_t.cc: Same.
345 2002-01-11 Phil Edwards <pme@gcc.gnu.org>
347 * include/Makefile.am, include/Makefile.in (stamp-std): Fix typo from
350 2002-01-11 Phil Edwards <pme@gcc.gnu.org>
352 * include/Makefile.am (std_headers): Update list with new names.
353 (stamp-std): Link to standardized name.
354 * include/Makefile.in: Regenerate.
356 * include/std/algorithm, include/std/bitset, include/std/complex,
357 include/std/deque, include/std/fstream, include/std/functional,
358 include/std/iomanip, include/std/ios, include/std/iosfwd,
359 include/std/iostream, include/std/istream, include/std/iterator,
360 include/std/limits, include/std/list, include/std/locale,
361 include/std/map, include/std/memory, include/std/numeric,
362 include/std/ostream, include/std/queue, include/std/set,
363 include/std/sstream, include/std/stack, include/std/stdexcept,
364 include/std/streambuf, include/std/string, include/std/utility,
365 include/std/valarray, include/std/vector: Rename to...
367 * include/std/std_algorithm.h, include/std/std_bitset.h,
368 include/std/std_complex.h, include/std/std_deque.h,
369 include/std/std_fstream.h, include/std/std_functional.h,
370 include/std/std_iomanip.h, include/std/std_ios.h,
371 include/std/std_iosfwd.h, include/std/std_iostream.h,
372 include/std/std_istream.h, include/std/std_iterator.h,
373 include/std/std_limits.h, include/std/std_list.h,
374 include/std/std_locale.h, include/std/std_map.h,
375 include/std/std_memory.h, include/std/std_numeric.h,
376 include/std/std_ostream.h, include/std/std_queue.h,
377 include/std/std_set.h, include/std/std_sstream.h,
378 include/std/std_stack.h, include/std/std_stdexcept.h,
379 include/std/std_streambuf.h, include/std/std_string.h,
380 include/std/std_utility.h, include/std/std_valarray.h,
381 include/std/std_vector.h: ...this.
383 2002-01-11 Loren Rittle <ljrittle@acm.org>
385 * include/Makefile.am (extra_target_headers): New list of all
386 target files built with ad hoc naming rules.
387 (stamp-*): Handle LN_S failure in manner portable across make
389 (install-data-local): Install header files from human-maintained
390 file lists and directory components instead of non-robust find.
391 * include/Makefile.in: Rebuilt.
393 2002-01-11 Benjamin Kosnik <bkoz@redhat.com>
395 * include/bits/locale_facets.tcc (money_get::do_get(string)):
396 Check for zero-length negative sign before adding it to output
398 (money_get::do_get(long double)): Return beg.
399 * testsuite/22_locale/money_get_members_char.cc (test02): Add
401 * testsuite/22_locale/money_get_members_wchar_t.cc: Same.
403 2002-01-10 David Seymour <seymour_dj@yahoo.com>
406 * include/bits/locale_facets.h (num_get<>): Return advanced iterator
407 for _M_extract_float and _M_extract_int
408 * include/bits/locale_facets.tcc (num_get<>::_M_extract_float)
409 (num_get<>::_M_extract_int): Likewise, all callers changed
410 * testsuite/22_locale/num_get_members_char.cc: Testcase
412 2002-01-09 Paolo Carlini <pcarlini@unitus.it>
414 * libsupc++/exception (bad_exception): Add comment.
415 * libsupc++/new (bad_alloc): Same.
416 * libsupc++/typeinfo (bad_cast, bad_typeid): Same.
418 2002-01-09 Paolo Carlini <pcarlini@unitus.it>
420 libstdc++/3150: revert 2001-11-30 commit. DR266 only means
421 that the destructors should be removed from the descriptions
422 in the standard: writing them explicitly allows the vtable
423 heuristic to work. For additional information see:
424 http://gcc.gnu.org/ml/libstdc++/2002-01/msg00090.html
425 http://gcc.gnu.org/ml/libstdc++/2002-01/msg00110.html
426 http://gcc.gnu.org/ml/libstdc++/2002-01/msg00155.html
427 * libsupc++/exception (bad_exception::~bad_exception()):
428 Reintroduce declaration.
429 * libsupc++/new (bad_alloc::~bad_alloc()): Same.
430 * libsupc++/typeinfo (bad_cast::~bad_cast()): Same.
431 (bad_typeid::~bad_typeid()): Same.
432 * libsupc++/eh_exception.cc (bad_exception::~bad_exception()):
433 Reintroduce definition.
434 * libsupc++/new_handler.cc (bad_alloc::~bad_alloc()): Same.
435 * libsupc++/tinfo.cc (bad_cast::~bad_cast()): Same.
436 (bad_typeid::~bad_typeid()): Same.
438 2002-01-09 Benjamin Kosnik <bkoz@redhat.com>
440 * include/Makefile.am (c_base_srcdir): Remove duplicate '/'.
441 * include/Makefile.in: Regenerate.
443 2002-01-09 Bo Thorsen <bo@suse.co.uk>
445 * config/cpu/x86-64/bits/cpu_limits.h (__glibcpp_long_bits): Add
448 2002-01-08 Benjamin Kosnik <bkoz@redhat.com>
452 * include/bits/fstream.tcc (filebuf::_M_really_overflow): Test
453 return value of _M_file->sync().
454 (filebuf::showmanyc): Check for is_open.
455 * include/std/fstream (filebuf::sync): Tweak.
456 * testsuite/27_io/filebuf.cc: Tweak.
458 2002-01-08 John Fardo <jfardo@laurelnetworks.com>
459 Brad Garcia <garsh@attbi.com>
461 * testsuite/27_io/filebuf_members.cc: Add test.
463 2002-01-07 Benjamin Kosnik <bkoz@redhat.com>
464 Craig Rodrigues <rodrigc@mediaone.net>
467 * po/Makefile.am (mkinstalldirs): Add.
468 * po/Makefile.in: Regenerate.
470 2002-01-07 David Billinghurst <David.Billinghurst@riotinto.com>
472 * testsuite_flags.in: Add -fmessage-length=0 to CXXFLAGS *
473 testsuite/lib/prune.exp: Delete lines ":In function ..." from
475 * testsuite/23_containers/map_operators.cc: Remove
476 dg-excess-errors comment.
477 * testsuite/23_containers/set_operators.cc: Likewise.
479 2002-01-06 Paolo Carlini <pcarlini@unitus.it>
481 * include/bits/stl_function.h: Remove two lines of comments;
482 adjust copyright years.
484 2002-01-04 Benjamin Kosnik <bkoz@redhat.com>
486 * include/Makefile.am (std_headers): Remove cXXX from list.
487 (c_base_srcdir): No bits subdirectory.
488 (c_base_builddir): Same.
489 (c_base_headers): Adjust names, add ciso646.
490 (bits_headers): Remove std_xxx.h headers.
491 * include/Makefile.in: Regenerate.
493 * include/ext/iterator: Adjust includes.
494 * include/ext/ropeimpl.h: Same.
495 * include/ext/stl_hash_fun.h: Same.
496 * include/ext/algorithm: Same.
498 * include/backward/bvector.h: Adjust includes.
499 * include/backward/vector.h: Same.
500 * include/backward/strstream: Same.
501 * include/backward/streambuf.h: Same.
502 * include/backward/stack.h: Same.
503 * include/backward/set.h: Same.
504 * include/backward/queue.h: Same.
505 * include/backward/multiset.h: Same.
506 * include/backward/multimap.h: Same.
507 * include/backward/map.h: Same.
508 * include/backward/list.h: Same.
509 * include/backward/iterator.h: Same.
510 * include/backward/iostream.h: Same.
511 * include/backward/iomanip.h: Same.
512 * include/backward/fstream.h: Same.
513 * include/backward/deque.h: Same.
514 * include/backward/complex.h: Same.
516 * include/bits/std_algorithm.h: Move to...
517 * include/std/algorithm: ...here.
518 * include/bits/std_iosfwd.h, std_locale.h, std_stack.h,
519 std_bitset.h, std_ios.h, std_map.h, std_stdexcept.h,
520 std_complex.h, std_iostream.h, std_memory.h, std_streambuf.h,
521 std_deque.h, std_istream.h, std_numeric.h, std_string.h,
522 std_fstream.h, std_ostream.h, std_utility.h, std_iterator.h,
523 std_queue.h, std_valarray.h, std_functional.h, std_limits.h,
524 std_set.h, std_vector.h, std_iomanip.h, std_list.h, std_sstream.h:
527 * include/c_std/bits/std_cassert.h: Move to...
528 * include/c_std/cassert: Here.
529 * include/c_std/std_cctype.h, std_cerrno.h, std_cfloat.h,
530 std_climits.h, std_clocale.h, std_cmath.h, std_csetjmp.h,
531 std_csignal.h, std_cstdarg.h, std_cstddef.h, std_cstdio.h,
532 std_cstdlib.h, std_cstring.h, std_ctime.h, std_cwchar.h,
534 * include/c_std/cmath: Adjust cmath.tcc include.
535 * include/c_std/cstdlib: Adjust includes.
536 * include/c_std/cwchar: Same.
537 * include/c_std/ctime: Same.
538 * include/c_std/cstring: Same.
539 * include/c_std/cstdio: Same.
540 * include/c_std/bits: Remove directory.
542 * include/c/bits/std_cassert.h: Move to...
543 * include/c/cassert: Here.
544 * include/c/std_cctype.h, std_cerrno.h, std_cfloat.h,
545 std_climits.h, std_clocale.h, std_cmath.h, std_csetjmp.h,
546 std_csignal.h, std_cstdarg.h, std_cstddef.h, std_cstdio.h,
547 std_cstdlib.h, std_cstring.h, std_ctime.h, std_cwchar.h,
549 * include/c/bits: Remove directory.
551 * include/std/cwctype: Remove.
552 * include/std/cwchar: Remove.
553 * include/std/ctime: Remove.
554 * include/std/cstring: Remove.
555 * include/std/cstdlib: Remove.
556 * include/std/cstdio: Remove.
557 * include/std/cstddef: Remove.
558 * include/std/cstdarg: Remove.
559 * include/std/csignal: Remove.
560 * include/std/csetjmp: Remove.
561 * include/std/cmath: Remove.
562 * include/std/clocale: Remove.
563 * include/std/climits: Remove.
564 * include/std/ciso646: Remove.
565 * include/std/cfloat: Remove.
566 * include/std/cerrno: Remove.
567 * include/std/cctype: Remove.
568 * include/std/cassert: Remove.
570 * include/bits/fpos.h: Adjust includes, removing <bits/std_xxx.h>
571 files and subsituting <.xxx>
572 * include/bits/valarray_array.h: Same.
573 * include/bits/stl_uninitialized.h: Same.
574 * include/bits/stl_alloc.h: Same.
575 * include/bits/stl_algobase.h: Same.
576 * include/bits/sstream.tcc: Same.
577 * include/bits/pthread_allocimpl.h: Same.
578 * include/bits/ostream.tcc: Same.
579 * include/bits/localefwd.h: Same.
580 * include/bits/locale_facets.tcc: Same.
581 * include/bits/locale_facets.h: Same.
582 * include/bits/istream.tcc: Same.
583 * include/bits/char_traits.h: Same.
584 * include/bits/boost_concept_check.h: Same.
585 * include/bits/basic_file.h: Same.
586 * include/std/bitset: Same.
587 * include/std/complex: Same.
588 * include/std/fstream: Same.
589 * include/std/functional: Same.
590 * include/std/ios: Same.
591 * include/std/iostream: Same.
592 * include/std/ostream: Same.
593 * include/std/sstream: Same.
594 * include/std/streambuf: Same.
595 * include/std/string: Same.
596 * include/std/iterator: Same.
597 * include/std/valarray: Same.
599 * src/ios.cc: Adjust includes.
600 * src/valarray-inst.cc: Same.
601 * src/string-inst.cc: Same.
602 * src/stl-inst.cc: Same.
603 * src/stdexcept.cc: Same.
604 * src/misc-inst.cc: Same.
605 * src/localename.cc: Same.
606 * src/locale-inst.cc: Same.
607 * src/locale.cc: Same.
608 * src/limits.cc: Same.
609 * src/concept-inst.cc: Same.
610 * src/complex_io.cc: Same.
611 * src/codecvt.cc: Same.
612 * src/bitset.cc: Same.
613 * src/cmath.cc: Same.
615 2002-01-04 Paolo Carlini <pcarlini@unitus.it>
617 * include/bits/stl_tree.h (rb_tree): Move to...
618 * include/ext/rb_tree: ...here, new file.
619 * include/Makefile.am (ext_headers): Add new file.
620 * include/Makefile.in: Regenerate.
621 * include/bits/stl_tempbuf.h (get_temporary_buffer + helper,
622 return_temporary_buffer, struct temporary_buffer): Move to...
623 * include/ext/memory: ...here.
624 * testsuite/ext/headers.cc: Include <ext/rb_tree>.
625 * include/backward/tempbuf.h: Include <ext/memory>, tweak.
626 * include/backward/tree.h: Include <ext/rb_tree), tweak.
628 2002-01-03 Paolo Carlini <pcarlini@unitus.it>
630 * include/bits/stl_numeric.h (power + helpers, iota): Move to...
631 * include/ext/numeric: ...here, new file.
632 * include/bits/stl_function.h (identity_element, unary_compose,
633 binary_compose, compose1, compose2, identity, select1st,
634 select2nd, project1st + helper, project2nd + helper,
635 constant_void_fun + helper, constant_unary_fun + helper,
636 costant_binary_fun + helper, constant0, constant1, constant2,
637 subtractive_rng, mem_fun1, mem_fun1_ref): Move to...
638 * include/ext/functional: ...here, new file.
639 * include/Makefile.am (ext_headers): Add new files.
640 * include/Makefile.in: Regenerate.
641 * testsuite/ext/headers.cc: Include <ext/numeric> and
643 * include/backward/algo.h: Include <ext/numeric>, tweak.
644 * include/backward/function.h: Include <ext/functional>, tweak.
645 * include/ext/ropeimpl.h: Include <ext/numeric>.
647 2002-01-03 Jeffrey A Law <law@redhat.com>
649 * config/os/hpux/bits/os_defines.h: Prefix __strtoll and
650 __strtoull declarations with __extension__.
652 2002-01-03 David Billinghurst <David.Billinghurst@riotinto.com>
654 * testsuite/lib/prune.exp: Correct regular expression for
657 2002-01-02 Phil Edwards <pme@gcc.gnu.org>
659 * include/bits/stl_algo.h (upper_bound, equal_range, binary_search):
660 Change concept checks, as with lower_bound and PR 2054.
661 * testsuite/ext/concept_checks.cc: Expand test to include those.
663 2002-01-02 Phil Edwards <pme@gcc.gnu.org>
665 * include/bits/boost_concept_check.h: Import some changes from
666 upsteam (Boost) version.
668 2002-01-02 Paolo Carlini <pcarlini@unitus.it>
670 * include/bits/stl_algobase.h (copy_n + helpers,
671 lexicographical_compare_3way + helpers): Move to...
672 * include/ext/algorithm: ...here.
673 * include/bits/stl_uninitialized.h (uninitialized_copy_n +
675 * include/ext/memory: ...here, new file.
676 * include/Makefile.am (ext_headers): Add new file.
677 * include/Makefile.in: Regenerate.
678 * testsuite/ext/headers.cc: Include <ext/memory>.
679 * include/backward/algobase.h: Include <ext/memory> and
680 <ext/algorithm>, tweak.
681 * include/ext/ropeimpl.h: Include <ext/memory>, tweak.
682 * include/ext/stl_rope.h: Include <ext/memory>, tweak.
684 2002-01-01 Roger Sayle <roger@eyesopen.com>
686 * libmath/stubs.c (sinf,cosf): Implement stubs to enable the
687 equivalent ___builtin__ versions.
689 * include/c_shadow/bits/std_cmath.h: All __builtin math functions
690 are available in libstdc++ as the necessary stub implementations
691 are provided by libmath/stubs.c.
693 2002-01-01 Jason Thorpe <thorpej@wasabisystems.com>
695 * configure.in: Add support for NetBSD cross compiles.
696 * configure: Regenerate.
698 2001-12-31 Paolo Carlini <pcarlini@unitus.it>
700 * include/ext/iterator: Add #include <bits/std_iterator.h>, tweak.
701 * testsuite/ext/headers.cc: Add <ext/iterator>.
703 2001-12-31 Paolo Carlini <pcarlini@unitus.it>
705 * include/backward/algo.h: Add two more using declarations.
706 * include/backward/iterator.h: Include <ext/iterator>,
707 add using declaration.
708 * include/ext/algorithm: Add #pragma GCC system_header.
710 2001-12-31 Phil Edwards <pme@gcc.gnu.org>
712 * include/bits/stl_bvector.h: Change calls to 3-argument distance()
713 into standard 2-argument version.
714 * include/bits/stl_deque.h: Likewise.
715 * include/bits/stl_tempbuf.h: Likewise.
716 * include/bits/stl_tree.h: Likewise.
717 * include/bits/stl_vector.h: Likewise.
718 * include/ext/stl_hashtable.h: Likewise.
719 * include/bits/stl_iterator_base_funcs.h: Move distance() extension...
720 * include/ext/iterator: to here. New file.
721 * include/Makefile.am (ext_headers): Add new file, alphabatize.
722 * include/Makefile.in: Regenerate.
724 2001-12-31 Phil Edwards <pme@gcc.gnu.org>
726 * include/bits/stl_deque.h: Doxygenate with initial/example hooks.
727 Clean up spacing and indentation.
729 2001-12-31 Paolo Carlini <pcarlini@unitus.it>
731 * include/ext/slist: Move into __gnu_cxx,
732 tweak, add using declarations.
734 2001-12-31 Paolo Carlini <pcarlini@unitus.it>
736 * include/ext/hash_map: Move into __gnu_cxx,
737 tweak, add using declarations.
738 * include/ext/hash_set: Ditto.
739 * include/ext/ropeimpl.h: Ditto.
740 * include/ext/stl_hash_fun.h: Ditto.
741 * include/ext/stl_hashtable.h: Ditto.
742 * include/ext/stl_rope.h: Ditto.
743 * src/ext-inst.cc: Tweak.
744 * testsuite/ext/rope.cc: Tweak.
746 2001-12-31 Paolo Carlini <pcarlini@unitus.it>
748 * include/backward/algo.h: Include <ext/algorithm>,
749 tweak using declarations.
751 2001-12-29 Richard Henderson <rth@redhat.com>
753 * config/os/hpux/bits/os_defines.h: Don't define __glibcpp_long_bits.
754 * config/os/hpux/bits/cpu_limits.h: New file.
755 * configure.target (CPULIMITSH): Use it.
757 2001-12-28 Richard Henderson <rth@redhat.com>
759 * config/cpu/ia64/bits/cpu_limits.h: New file.
760 * config/os/osf/osf5.0/bits/cpu_limits.h: New file.
761 * configure.target (CPULIMITSH): Use them.
763 2001-12-28 Phil Edwards <pme@gcc.gnu.org>
765 * include/bits/c++config: Move doxygen hook comment...
766 * docs/doxygen/doxygroups.cc: ...to here.
768 2001-12-28 Phil Edwards <pme@gcc.gnu.org>
771 * include/bits/stl_algo.h (lower_bound): Relax concept checks.
772 * testsuite/ext/concept_checks.cc: New file.
774 2001-12-28 Paolo Carlini <pcarlini@unitus.it>
776 * include/bits/stl_algo.h (count returning void,
777 count_if returning void, __random_sample, random_sample,
778 random_sample_n, __is_heap, is_heap, is_sorted): Move to...
779 * include/ext/algorithm: ...here, new file.
780 * include/Makefile.am (ext_headers): Add new file.
781 * include/Makefile.in: Regenerate.
782 * testsuite/ext/headers.cc: Include <ext/algorithm>.
784 2001-12-28 Paolo Carlini <pcarlini@unitus.it>
785 Nathan Myers <ncm@cantrip.org>
787 * include/bits/basic_string.h (insert(__pos, __s, __n)):
788 Optimize by avoiding temporaries and working in-place when possible.
789 (insert(__pos1, __str)): Call insert(__pos1, __str, __pos2, __n).
790 (insert(__pos1, __str, __pos2, __n)): Call insert(__pos, __s, __n).
791 * testsuite/21_strings/insert.cc (test02): New testcases.
793 2001-12-27 Phil Edwards <pme@gcc.gnu.org>
795 * testsuite/testsuite_hooks.h (gnu_counting_struct): Add.
796 * testsuite/23_containers/deque_ctor.cc: New file.
798 2001-12-27 Paolo Carlini <pcarlini@unitus.it>
800 * include/bits/locale_facets.tcc (collate::do_transform):
801 Adjust implicit typename.
802 * config/locale/messages_members_generic.h (messages::open,
803 messages::do_open, messages::do_get): Adjust implicit typename.
804 * config/locale/messages_members_gnu.h (messages::open,
805 messages::do_open, messages::do_get): Adjust Implicit typename.
806 * config/locale/messages_members_ieee_1003.1-200x.h (messages::open,
807 messages::do_open, messages::do_get): Adjust implicit typename.
809 2001-12-27 Phil Edwards <pme@gcc.gnu.org>
812 * src/misc-inst.cc: Many additional I/O-related instantiations.
813 * testsuite/27_io/instantiations.cc: New file.
815 2001-12-26 Benjamin Kosnik <bkoz@waller.constant.com>
817 * testsuite/24_iterators/insert_iterator.cc (test02): Add.
818 * testsuite/24_iterators/front_insert_iterator.cc (test02): Add.
819 * testsuite/24_iterators/back_insert_iterator.cc (test02): Add.
820 * testsuite/24_iterators/reverse_iterator.cc (test02): Add.
822 * include/bits/stl_iterator.h (reverse_iterator): Uglify member
823 current to _M_current.
824 (back_insert_iterator): Uglify member container to _M_container.
825 (front_insert_iterator): Same.
826 (insert_iterator): Same.
828 2001-12-25 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
830 * include/bits/std_limits.h (__glibcpp_xxx_is_modulo): New
831 macros for signed types; default value is true.
832 (numeric_limits<>::is_modulo): Get value from corresponding
833 __glibcpp_xxx_is_modulo macro.
835 2001-12-23 Jeffrey A Law <law@redhat.com>
837 * config/os/hpux/bits/os_defines.h: Do not include <_sys/inttypes.h>.
838 Twiddle return types for strtoll and strtoull to avoid using
839 intmax_t and uintmax-t.
841 2001-12-22 Richard Henderson <rth@redhat.com>
843 * configure.target (CPULIMITSH): Fix typo in alpha case.
845 2001-12-22 Jeffrey A Law <law@redhat.com>
847 * config/os/hpux/bits/os_defines.h: Update to avoid #defines
848 for strtoll and strtoull.
850 2001-12-21 Jeffrey A Law <law@redhat.com>
852 * config/os/hpux/bits/os_defines.h: Include <sys/_inttypes.h.
853 Define strtoll and strtoull. Provide prototypes for
854 __strtoll and __strtoull. Define _GLIBCPP_USE_LONG_LONG
857 * src/locale-inst.cc: Include <bits/std_cstdlib.h>
859 * configure.target: Fix typo in hpux case.
861 2001-12-21 Paolo Carlini <pcarlini@unitus.it>
863 * include/ext/stl_rope.h (_Rope_iterator):
864 Add local typedef to fix implicit typename problems.
866 2001-12-19 Phil Edwards <pme@gcc.gnu.org>
868 * docs/doxygen/Intro.3: New 'Allocators' module.
869 * docs/doxygen/TODO: Update.
870 * docs/doxygen/doxygroups.cc: Update.
871 * docs/doxygen/run_doxygen: Update.
873 * include/bits/stl_alloc.h: Tweak doxygen hooks in comments.
874 * include/bits/std_memory.h: Doxygenate.
875 * include/bits/stl_iterator_base_types.h: Likewise.
876 * include/bits/stl_raw_storage_iter.h: Likewise.
877 * include/bits/stl_tempbuf.h: Likewise.
878 (get_temporary_buffer): Remove unused nonstandard overload.
879 * include/bits/stl_uninitialized.h: Likewise.
881 * include/bits/stl_iterator_base_types.h (input_iterator,
882 output_iterator, forward_iterator, bidirectional_iterator,
883 random_access_iterator): Move old names...
884 * include/backward/iterator.h: ...to here.
885 * include/bits/stl_bvector.h: Update.
886 * include/ext/stl_rope.h: Update.
888 2001-12-19 Phil Edwards <pme@gcc.gnu.org>
890 * docs/html/configopts.html: Describe recent options.
891 * docs/html/documentation.html: Point to new doxygen tarballs.
892 * docs/html/install.html: Brief updates.
893 * docs/html/17_intro/RELEASE-NOTES: Remove weird control character.
894 * docs/html/ext/howto.html: Fix typos, describe filebuf::fd().
895 * docs/html/faq/index.html: Update for 3.0.95.
896 * docs/html/faq/index.txt: Regenerate.
898 2001-12-19 David Billinghurst <David.Billinghurst@riotinto.com>
901 * testsuite/lib/libstdc++-v3-dg.exp: Append .exe to
904 2001-12-18 Benjamin Kosnik <bkoz@redhat.com>
906 * docs/html/17_intro/TODO: Update.
907 * docs/html/17_intro/RELEASE-NOTES: Edits, update.
908 * README: Edit for clarity, update to reflect current directory
911 2001-12-18 Benjamin Kosnik <bkoz@redhat.com>
913 * acinclude.m4 (GLIBCPP_ENABLE_CLOCALE): Extended checking before
915 * aclocal.m4: Rebuild.
916 * configure: Rebuild.
918 2001-12-18 Paolo Carlini <pcarlini@unitus.it>
919 Nathan Myers <ncm@cantrip.org>
921 * include/bits/basic_string.h (assign(__str, __pos, __n)):
922 Call assign(__s, __n).
923 (assign(__s, __n)): Terminate the string with _S_terminal.
925 2001-12-17 Benjamin Kosnik <bkoz@redhat.com>
927 * include/bits/std_limits.h (__glibcpp_long_double_is_bounded):
928 Set to true, like float and double.
930 2001-12-17 David Billinghurst <David.Billinghurst@riotinto.com>
933 * testsuite/lib/prune.exp: New file
934 * testsuite/lib/libstdc++-v3-dg.exp: Use it
936 2001-12-17 Phil Edwards <pme@gcc.gnu.org>
938 * include/bits/basic_file.h (__basic_file::fd): New function.
939 * config/io/basic_file_stdio.h (__basic_file::fd): Define.
940 * include/bits/std_fstream.h (basic_filebuf::fd): New function.
941 * include/bits/fstream.tcc (basic_filebuf::fd): Define.
942 * testsuite/27_io/filebuf_members.cc (test_02): New test.
944 2001-12-16 Nathan Sidwell <nathan@codesourcery.com>
946 * po/Makefile.am (.po.mo): Use POSIXLY_CORRECT argument ordering.
947 * po/Makefile.in: Regenerated.
949 2001-12-16 Paolo Carlini <pcarlini@unitus.it>
951 * testsuite/21_strings/assign.cc (test01): Add tests.
953 2001-12-15 Paolo Carlini <pcarlini@unitus.it>
954 Nathan Myers <ncm@cantrip.org>
956 * include/bits/basic_string.h
957 (assign(__str, __pos, __n), assign(__s, __n)): Optimize
958 by avoiding unnecessary temporaries.
959 (assign(__s)): Call assign(__s, __n).
960 * include/bits/basic_string.tcc (_M_replace_safe): Adjust comment.
961 * include/bits/std_string.h: include stl_function.h.
962 * testsuite/21_strings/assign.cc (test02, test03): New tests.
964 2001-12-15 Benjamin Kosnik <bkoz@redhat.com>
966 * acinclude.m4 (GLIBCPP_ENABLE_CLOCALE): Enable gnu locale model
968 * aclocal.m4: Regenerate.
969 * configure: Regenerate.
971 2001-12-14 Benjamin Kosnik <bkoz@redhat.com>
973 Clean up initialization and simplfy caching of underlying "C"
974 default locale objects.
975 * src/localename.cc (locale::_Impl::_Impl(string, size_t):
976 Unconditionally create __clocale object for all named locales,
977 including "C" and "POSIX".
978 * config/locale/c_locale_generic.cc
979 (locale::facet::_S_create_c_locale): Always set __cloc to zero.
980 * config/locale/c_locale_gnu.cc: Always delete.
981 * include/bits/localefwd.h (locale::facet::_S_c_locale): New.
982 * src/locale.cc (locale::classic()): Initialize
983 locale::facet::_S_c_locale.
984 (locale::facet::_S_c_locale): Define.
986 * include/bits/locale_facets.h: Add ctype_byname<wchar_t> ctor
988 * src/locale.cc: Add definition here.
989 * config/os/gnu-linux/bits/ctype_inline.h: Tweak.
990 * config/os/gnu-linux/bits/ctype_noninline.h: Adjust initializations.
991 * include/bits/locale_facets.h (ctype<char>::_M_c_locale_ctype): Add.
993 (ctype<char>::_M_toupper): Remove const&.
994 (ctype<char>::_M_tolower): Remove const&.
995 (ctype<char>::_M_ctable): Remove const&.
997 * include/bits/locale_facets.h (collate): Clean up initialization
998 of _M_c_locale_collate in ctors and dtors.
999 * config/locale/collate_members_gnu.cc: Always use extended
1002 * include/bits/locale_facets.h (messages): Clean up inits in ctor/dtor.
1003 (messages_byname): Same.
1004 * config/locale/messages_members_generic.h (messages::~messages):
1006 * config/locale/messages_members_gnu.h: Same.
1008 * include/bits/localefwd.h: Clean. Move dtor definitions to
1009 * src/locale.cc: Here.
1010 * testsuite/22_locale/facet.cc: Fix spelling.
1012 Named locale support for ctype<wchar_t>.
1013 * acinclude.m4 (GLIBCPP_ENABLE_CLOCALE): Add variable
1014 ctype_members_* bits.
1015 * aclocal.m4: Regenerate.
1016 * configure: Regenerate.
1017 * src/Makefile.am (sources): Add ctype.cc.
1018 * src/Makefile.in: Regenerate.
1019 * config/locale/ctype_members_generic.cc: New file.
1020 * config/locale/ctype_members_gnu.cc: New file.
1021 * src/locale.cc: Remove ctype<wchart_t> definitions.
1023 2001-12-13 Roger Sayle <roger@eyesopen.com>
1025 * acconfig.h: Test for __builtin_sqrt instead of
1027 * acinclude.m4: Same.
1028 * include/c_shadow/bits/std_cmath.h: Same.
1029 * aclocal.m4: Regenerated.
1030 * config.h.in: Regenerated.
1031 * configure: Regenerated.
1033 2001-12-13 Phil Edwards <pme@gcc.gnu.org>
1035 * docs/html/ext/howto.html: Fix typos.
1037 2001-12-13 Benjamin Kosnik <bkoz@redhat.com>
1040 * src/locale.cc (locale::locale(const char*)): Deal with locales
1042 * testsuite/22_locale/ctor_copy_dtor.cc (test01): Modify.
1044 2001-12-12 Paolo Carlini <pcarlini@unitus.it>
1046 * include/ext/ropeimpl.h (rope::_S_leaf_concat_char_iter,
1047 _S_destr_leaf_concat_char_iter, _S_tree_concat, _S_concat_char_iter,
1048 _S_destr_concat_char_iter, _S_concat, _S_substring, _S_balance)
1049 : Adjust implicit typename.
1050 * include/ext/stl_rope.h (_Rope_iterator::operator=, rope::npos):
1051 Adjust implicit typename.
1052 * testsuite/27_io/streambuf.cc: Adjust implicit typename.
1054 2001-12-12 Benjamin Kosnik <bkoz@redhat.com>
1056 Named locale support for ctype<char>.
1057 * config/locale/c_locale_gnu.h (_GLIBCPP_C_LOCALE_GNU): New.
1058 * config/os/gnu-linux/bits/ctype_noninline.h (ctype<char>): Add
1059 definitions for alternate constructor.
1060 * config/os/solaris/solaris2.7/bits/ctype_noninline.h (ctype): Same.
1061 * config/os/solaris/solaris2.6/bits/ctype_noninline.h (ctype): Same.
1062 * config/os/solaris/solaris2.5/bits/ctype_noninline.h (ctype): Same.
1063 * config/os/newlib/bits/ctype_noninline.h (ctype): Same.
1064 * config/os/irix/irix6.5/bits/ctype_noninline.h (ctype): Same.
1065 * config/os/irix/irix5.2/bits/ctype_noninline.h (ctype): Same.
1066 * config/os/hpux/bits/ctype_noninline.h (ctype): Same.
1067 * config/os/generic/bits/ctype_noninline.h (ctype): Same.
1068 * config/os/djgpp/bits/ctype_noninline.h (ctype): Same.
1069 * config/os/bsd/netbsd/bits/ctype_noninline.h (ctype): Same.
1070 * config/os/bsd/freebsd/bits/ctype_noninline.h (ctype): Same.
1071 * config/os/aix/bits/ctype_noninline.h (ctype): Same.
1072 * include/bits/locale_facets.h (ctype<_CharT>): Remove dummy
1073 definitions for all virtual functions. These are now explicitly
1074 undefined for non-required factets, ie any non-char, non-wchar_t
1076 * src/localename.cc (locale::_Impl::_Impl(string, size_t): Named
1077 locales use alternate constructor for ctype facet.
1078 * include/bits/locale_facets.h (ctype<char>::ctype(__c_locale, const
1079 mask*, bool, size_t): Add.
1080 (ctype<wchar_t>::ctype(__c_locale, size_t): Add.
1081 * src/locale.cc (ctype<wchar_t>::ctype(__c_locale, size_t)): Add
1084 * testsuite/22_locale/ctype_members_char.cc (test02): Add, mark
1085 XFAIL for non-gnu locale models.
1087 2001-12-12 Philip Martin <philip@codematters.co.uk>
1088 Ross Smith <r-smith@ihug.co.nz>
1089 Paolo Carlini <pcarlini@unitus.it>
1092 * include/bits/std_limits.h (defines, numeric_limits<bool>::digits10):
1093 Fix digits10 values for integral types.
1094 * include/bits/locale_facets.tcc (num_get::do_get for integral types):
1095 Tweak _M_extract_int call.
1096 * testsuite/27_io/istream_extractor_arith.cc (test13, test12_aux):
1097 Tweak overflowing number of digits.
1098 * testsuite/18_support/numeric_limits.cc (test03): New testcase.
1100 2001-12-11 Benjamin Kosnik <bkoz@redhat.com>
1102 * config/os/generic/bits/ctype_inline.h: Remove spaces.
1103 * config/os/gnu-linux/bits/ctype_noninline.h: Same.
1104 * include/bits/locale_facets.h (__num_base): Move double data
1105 members to first in class.
1106 * include/bits/locale_facets.tcc: Re-arrange, tweak.
1107 * src/locale.cc: Clean.
1108 *include/bits/stl_vector.h: Space typedefs.
1110 2001-12-11 Phil Edwards <pme@gcc.gnu.org>
1112 * testsuite/ext/allocators.cc: New file.
1114 2001-12-11 Jason Merrill <jason@redhat.com>
1116 * include/bits/locale_facets.tcc (_M_extract_int): Avoid
1117 uninitialized warning.
1119 2001-12-11 Loren Rittle <ljrittle@acm.org>
1121 * config/cpu/sparc/sparc32/bits/atomicity.h
1122 (__Atomicity_lock<0>::_S_atomicity_lock): Add.
1124 2001-12-10 Paolo Carlini <pcarlini@unitus.it>
1126 * include/bits/basic_string.tcc (_M_replace_safe): Fix typos.
1127 * include/bits/basic_string.h: Fix typos.
1129 2001-12-10 Paolo Carlini <pcarlini@unitus.it>
1130 Nathan Myers <ncm@cantrip.org>
1132 * include/bits/basic_string.tcc (_M_replace_safe): New function.
1133 (_M_replace(input_iterator_tag), append members): Use it.
1134 (_M_replace(forward_iterator_tag)): Remove.
1135 * include/bits/basic_string.h: Adjust declarations.
1136 * src/string-inst.cc: Adjust declarations.
1138 2001-12-09 Benjamin Kosnik <bkoz@redhat.com>
1139 Philip Martin <pmartin@uklinux.net>
1141 * include/bits/locale_facets.h (__num_base::_S_scale_hex): Add.
1142 (__num_base::_S_scale_oct): Add.
1143 * include/bits/locale_facets.tcc (_M_extract_int): Use them.
1144 * src/locale.cc: Add definitions.
1145 * testsuite/27_io/istream_extractor_arith.cc (main): Call test13.
1147 * testsuite/testsuite_hooks.h: Remove duplicate VERIFY define.
1149 2001-12-07 Nathan Myers <ncm@cantrip.org>
1150 Loren Rittle <ljrittle@acm.org>
1153 * config/cpu/sparc/sparc32/bits/atomicity.h
1154 (struct __Atomicity_lock<__inst>): Add.
1155 (__Atomicity_lock<__inst>::_S_atomicity_lock): Add.
1156 (__exchange_and_add): Use __Atomicity_lock<0>::_S_atomicity_lock
1157 instead of lock local to static function.
1158 (__atomic_add): Likewise.
1160 2001-12-07 Phil Edwards <pme@gcc.gnu.org>
1162 * src/globals.cc: Remove __GTHREADS guard.
1164 2001-12-07 Paolo Carlini <pcarlini@unitus.it>
1166 * include/bits/locale_facets.tcc (num_put::_M_convert_float):
1167 Extend comment, reduce __cs_size for non-fixed outputs.
1169 2001-12-07 Paolo Carlini <pcarlini@unitus.it>
1171 * include/bits/basic_string.tcc (_M_mutate): Fix typo
1172 in the previous check in.
1174 2001-12-06 Paolo Carlini <pcarlini@unitus.it>
1175 Loren J. Rittle <ljrittle@acm.org>
1177 * include/bits/basic_string.tcc (_M_mutate, _M_clone): Implement
1178 exponential growth policy to meet linear amortized time
1179 requirements of the standard.
1180 (_S_create): Adjust comment.
1182 2001-12-06 Benjamin Kosnik <bkoz@redhat.com>
1185 * include/bits/locale_facets.tcc (num_put): Clean.
1186 (num_get::_M_extract_float): Change argument to string.
1187 (num_get::do_get(float)): Fixup.
1188 (num_get::do_get(double)): Same.
1189 (num_get::do_get(long double)): Same.
1190 (num_get::_M_extract_int): Add maximum length parameter, __max.
1191 (num_get::_M_extract_float): Correct zeros, use string.
1192 * include/bits/locale_facets.h (num_get::_M_extract_float): Change
1194 * src/locale.cc (__num_base::_S_atoms): Remove x, X.
1195 * testsuite/27_io/istream_extractor_arith.cc (test13): Add.
1197 2001-12-06 Philip Martin <pmartin@uklinux.net>
1199 * testsuite/27_io/istream_extractor_arith.cc (test12): Add
1200 tests for excess input digits.
1202 2001-12-06 Phil Edwards <pme@gcc.gnu.org>
1204 * include/bits/std_bitset.h: Use GLIBCPP in multiple-inclusion guard.
1205 * include/bits/stl_algo.h: Likewise.
1206 * include/bits/stl_algobase.h: Likewise.
1207 * include/bits/stl_bvector.h: Likewise.
1208 * include/bits/stl_deque.h: Likewise.
1209 * include/bits/stl_function.h: Likewise.
1210 * include/bits/stl_iterator.h: Likewise.
1211 * include/bits/stl_iterator_base_funcs.h: Likewise.
1212 * include/bits/stl_iterator_base_types.h: Likewise.
1213 * include/bits/stl_list.h: Likewise.
1214 * include/bits/stl_multimap.h: Likewise.
1215 * include/bits/stl_multiset.h: Likewise.
1216 * include/bits/stl_pair.h: Likewise.
1217 * include/bits/stl_queue.h: Likewise.
1218 * include/bits/stl_set.h: Likewise.
1219 * include/bits/stl_stack.h: Likewise.
1220 * include/bits/stl_tempbuf.h: Likewise.
1221 * include/bits/stl_tree.h: Likewise.
1222 * include/bits/stl_vector.h: Likewise.
1224 * include/bits/stl_alloc.h: Use our own multiple inclusion guards.
1225 Doxygenate more comments. Correct historical artifacts in comments.
1226 (alloc, single_alloc): Uglify non-standard names.
1227 (__default_alloc_template::_NFREELISTS): Calculate from other
1229 (__default_alloc_template::_S_free_list): Remove SunPro workaround.
1230 (__default_alloc_template::_Lock): Mark as "unused".
1231 * include/backward/alloc.h: Update.
1232 * include/bits/stl_bvector.h: Likewise.
1233 * include/ext/ropeimpl.h: Likewise.
1234 * include/ext/stl_hashtable.h: Likewise.
1236 2001-12-05 Benjamin Kosnik <bkoz@redhat.com>
1239 * include/bits/locale_facets.tcc (num_put::_M_widen_float): Add
1240 grouping to floating point types.
1241 * testsuite/27_io/ostream_inserter_arith.cc (test02): Add test.
1243 2001-12-04 Paolo Carlini <pcarlini@unitus.it>
1246 * testsuite/27_io/ostream_inserter_arith.cc (test02): Add testcase
1248 * include/bits/locale_facets.tcc (num_put::_M_convert_float):
1249 Deal properly with long ios_base::fixed floats.
1250 (num_put::_M_widen_float): use
1251 __len in __builtin_alloca call.
1253 2001-12-04 Benjamin Kosnik <bkoz@redhat.com>
1255 * src/Makefile.am (sources): Add ext-inst.cc.
1256 * src/Makefile.in: Regenerate.
1257 * src/ext-inst.cc: New file.
1258 * include/bits/stl_threads.h: Format.
1259 * src/globals.cc: Add instantiation for _S_swap_lock.
1261 * testsuite/18_support/numeric_limits.cc: Add numeric_limits<B>
1264 2001-12-04 John David Anglin <dave@hiauly1.hia.nrc.ca>
1266 * testsuite/22_locale/numpunct_members_wchar_t.cc: Only compile
1267 and execute test01 if _GLIBCPP_USE_WCHAR_T is defined.
1268 * testsuite/26_numerics/complex_inserters_extractors.cc: Provide
1269 for explicit instantiation of class std::basic_string<char,
1270 gnu_char_traits, std::allocator<char> >.
1272 2001-12-03 Benjamin Kosnik <bkoz@redhat.com>
1274 * testsuite/22_locale/collate.cc: Compile-only.
1275 * testsuite/22_locale/time_get.cc: Same.
1276 * testsuite/22_locale/time_put.cc: Same.
1277 * testsuite/22_locale/numpunct.cc: Same.
1278 * testsuite/22_locale/num_put.cc: Same.
1279 * testsuite/22_locale/num_get.cc: Same.
1280 * testsuite/22_locale/moneypunct.cc: Same.
1281 * testsuite/22_locale/money_get.cc: Same.
1282 * testsuite/22_locale/messages.cc: Same.
1283 * testsuite/22_locale/ctype.cc: Same.
1285 2001-12-03 Benjamin Kosnik <bkoz@redhat.com>
1287 * src/string-inst.cc (string::_Rep::_S_terminal): Add static data
1288 member instantiations.
1290 2001-12-03 Steve Ellcey <sje@cup.hp.com>
1292 * libstdc++-v3/configure.in: Add support for hpux cross compiles,
1293 combine common linux/hpux/generic cross compile support to reduce
1295 * libstdc++-v3/configure: Regenerate.
1297 2001-12-03 Loren J. Rittle <ljrittle@acm.org>
1299 * docs/html/ext/howto.html: Update commentary.
1300 * include/bits/c++config: Update threading configuration comment.
1301 (__STL_GTHREADS): Remove macro definition.
1302 (__STL_THREADS): Likewise.
1303 * include/bits/stl_threads.h: Leave only the configuration
1304 path which had been guarded by __STL_GTHREADS. Remove all
1305 guards related to __STL_GTHREADS, __STL_SGI_THREADS,
1306 __STL_PTHREADS, __STL_UITHREADS and __STL_WIN32THREADS.
1307 * include/bits/stl_alloc.h: Leave only the configuration path
1308 which had been guarded by __STL_THREADS. Remove configuration
1309 path and guards for __STL_SGI_THREADS.
1310 (__NODE_ALLOCATOR_THREADS): Remove macro definition. Unroll its use.
1311 (__NODE_ALLOCATOR_LOCK): Likewise.
1312 (__NODE_ALLOCATOR_UNLOCK): Likewise.
1313 (_NOTHREADS): Remove guards related to macro.
1314 * include/ext/stl_rope.h: Remove configuration path and guards
1315 for __STL_SGI_THREADS.
1316 * src/stl-inst.cc: Remove use of __NODE_ALLOCATOR_THREADS.
1318 2001-12-02 Phil Edwards <pme@gcc.gnu.org>
1320 * docs/html/ext/howto.html: Update list of implemented DRs.
1321 * docs/html/ext/lwg-active.html: Import R20 from upstream.
1322 * docs/html/ext/lwg-defects.html: Import R20 from upstream.
1324 2001-11-30 Benjamin Kosnik <bkoz@redhat.com>
1328 * libsupc++/exception (bad_exception::~bad_exception()): Remove
1330 * libsupc++/new (bad_alloc::~bad_alloc()): Remove.
1331 * libsupc++/typeinfo (bad_cast::~bad_cast()): Remove.
1332 (bad_typeid::~bad_typeid()): Remove.
1333 * libsupc++/tinfo.cc (bad_cast::~bad_cast()): Remove definition.
1334 (bad_typeid::~bad_typeid()): Same.
1335 * libsupc++/new_handler.cc (bad_alloc::~bad_alloc()): Same.
1336 * libsupc++/eh_exception.cc (bad_exception::~bad_exception()): Same.
1338 * include/bits/std_iomanip.h: Tweak.
1340 2001-11-29 Paolo Carlini <pcarlini@unitus.it>
1343 * include/bits/locale_facets.tcc (__pad): Add bool parameter to
1344 correctly pad internal-adjusted const char*-type objects.
1345 * include/bits/locale_facts.tcc (num_put::_M_insert): Update call.
1346 * include/bits/ostream.tcc (operator<<(_CharT , char, const
1347 _CharT*, const char*, const basic_string&): Update calls.
1348 * src/locale-inst.tcc: Update declarations.
1349 * testsuite/27_io/ostream_inserter_arith.cc (test04): Add test.
1351 2001-11-29 Phil Edwards <pme@gcc.gnu.org>
1353 * docs/html/ext/howto.html: Finish allocator notes (inst and 3.0).
1355 2001-11-29 Benjamin Kosnik <bkoz@redhat.com>
1357 * include/bits/locale_facets.tcc (num_get::do_get(long double)):
1358 Fix __traits_type typo.
1360 2001-11-28 Paolo Carlini <pcarlini@unitus.it>
1362 * include/bits/locale_facets.tcc (__pad): Correctly pad
1363 internal-adjusted hex numbers.
1364 * testsuite/27_io/ostream_inserter_arith.cc: Add testcase.
1366 2001-11-28 Paolo Carlini <pcarlini@unitus.it>
1367 Loren J. Rittle <ljrittle@acm.org>
1369 * include/bits/basic_string.h
1370 (basic_string::_Rep::__default_excess, _S_excess_slop):
1372 * include/bits/basic_string.tcc: Remove dead code.
1373 * include/bits/c++config: Remove comment.
1375 2001-11-28 Benjamin Kosnik <bkoz@redhat.com>
1376 Jakub Jelinek <jakub@redhat.com>
1378 * config/locale/moneypunct_members_gnu.cc
1379 (moneypunct<wchar_t>::_M_initialize_moneypunct): Correctly cast
1381 * config/locale/numpunct_members_gnu.cc
1382 (numpunct<wchar_t>::_M_initialize_numpunct): Same.
1384 2001-11-27 Benjamin Kosnik <bkoz@redhat.com>
1386 * include/bits/locale_facets.tcc: Formatting tweaks.
1388 * testsuite/23_containers/map_operators.cc: Don't xfail.
1389 * testsuite/23_containers/set_operators.cc: Same.
1390 * testsuite/backward/header_iterator_h.cc: Pass in -Wno-deprecated.
1391 * testsuite/backward/header_deque_h.cc: Same.
1393 2001-11-27 Loren J. Rittle <ljrittle@acm.org>
1394 Paolo Carlini <pcarlini@unitus.it>
1396 * include/bits/basic_string.tcc (basic_string::_Rep::_S_create):
1397 Enforce allocation size blocking policy to reduce
1398 fragmentation and enhance performance with common malloc
1401 2001-11-27 Benjamin Kosnik <bkoz@redhat.com>
1403 Numeric facets cleanup.
1404 * include/bits/locale_facets.h (__num_base::_S_atoms): Add, remove
1406 (__num_base::_M_zero): Add
1407 (__num_base::_M_e): Add.
1408 (__num_base::_M_E): Add.
1409 * include/bits/locale_facets.tcc (num_get::_M_extract): Remove.
1410 (num_get::_M_extract_float): New.
1411 (num_get::_M_extract_int): New.
1412 * src/locale.cc (num_get::_M_extract): Remove.
1414 * include/bits/locale_facets.tcc (num_put::_M_insert_float):
1415 Simplify, use _M_insert.
1416 (num_put::do_put(bool)): Simplify, remove __pad.
1418 (__pad_output): Change to __pad.
1419 * include/bits/ostream.tcc: And here.
1420 * src/locale-inst: Remove instantiations.
1422 * include/bits/locale_facets.h: Move helper functions in to class
1424 (num_put::_M_insert_float): Same, for __output_integer.
1425 (num_put::_M_insert_int): Same, for __output_float.
1426 (num_put::_M_insert): New.
1428 (__num_base::_S_format_float): Move
1429 __build_float_format into class __num_base.
1430 (__num_base::_S_format_int): Move __build_int_format into class
1432 * include/bits/locale_facets.tcc (__group_digits): Change to
1433 (__add_grouping): This.
1434 * src/locale-inst.cc: And here. Tweak instantiations.
1435 * src/misc-inst.cc: Remove instantiations.
1437 * include/bits/ostream.tcc (__pad_char): Rename, adjust inserters
1438 for new calling conventions, move to...
1439 * include/bits/locale_facets.tcc (__pad_output): Here. Adjust
1440 signature to make it useful for both ostream and num_put.
1441 (__pad_numeric): Remove.
1442 * src/misc-inst.cc: Remove instantiations.
1443 * src/locale-inst.cc: Same.
1445 * include/bits/locale_facets.h (_Numeric_get): Remove.
1446 (_Numeric_put): Remove.
1447 (num_get::get(short)): Remove.
1448 (num_get::get(int)): Remove.
1449 (num_get::do_get(short)): Remove.
1450 (num_get::do_get(int)): Remove.
1451 * include/bits/istream.tcc (istream::operator>>(short)): Fix as
1453 (istream::operator>>(int)): Same.
1455 * include/bits/locale_facets.h (_Format_cache): Remove.
1456 * include/bits/locale_facets.tcc: Same.
1457 * src/locale.cc: Same.
1458 * src/locale-inst.cc: Same.
1459 * include/bits/ostream.tcc: Same.
1460 * src/ios.cc (ios_base::imbue): Remove here as well.
1462 * testsuite/22_locale/num_get.cc: New file.
1463 * testsuite/22_locale/num_get_members_char.cc: New file.
1464 * testsuite/22_locale/num_get_members_wchar_t.cc: New.
1465 * testsuite/22_locale/numpunct_members_wchar_t.cc: New file.
1466 * testsuite/22_locale/num_put.cc: New file.
1467 * testsuite/22_locale/num_put_members_char.cc: New file.
1468 * testsuite/22_locale/num_put_members_wchar_t.cc: New file.
1469 * testsuite/27_io/ostream_inserter_arith.cc: Fix.
1470 * testsuite/27_io/istream_extractor_arith.cc: Fix.
1472 2001-11-27 Phil Edwards <pme@gcc.gnu.org>
1474 * docs/html/explanations.html: New section, empty for now.
1475 * docs/html/17_intro/howto.html: Cleanup. Move unrelated link...
1476 * docs/html/23_containers/howto.html: ...to here. Break up and
1477 rewrap threading discussion to emphasize warning. Move malloc text...
1478 * docs/html/ext/howto.html: ...to here. New section. Describe
1479 allocators and __USE_MALLOC effects.
1480 * docs/html/ext/sgiexts.html: Mention their code.
1482 2001-11-24 Joseph S. Myers <jsm28@cam.ac.uk>
1484 * docs/doxygen/maint.cfg.in, docs/doxygen/user.cfg.in,
1485 docs/html/27_io/binary_iostreams_kuehl.txt: Revert previous
1488 2001-11-23 Phil Edwards <pme@gcc.gnu.org>
1490 * Makefile.am (doxygen-maint): The script isn't executable in CVS.
1491 * Makefile.in: Regenerated.
1492 * docs/doxygen/TODO: New file listing doxygen work to be done.
1493 * docs/doxygen/run_doxygen: Fix up man pages.
1494 * docs/doxygen/user.cfg.in: Insert maint-only toggles.
1495 * docs/doxygen/maint.cfg.in: Copy from user.cfg and turn toggles on.
1496 * include/bits/stl_construct.h: Use new hooks for internal functions.
1498 * docs/html/17_intro/TODO: Small updates.
1499 * docs/html/faq/index.html: Likewise.
1500 * docs/html/faq/index.txt: Regenerated.
1502 * include/bits/stl_alloc.h: Doxygenate, reindent comments, remove
1503 SGI-isms and wrappers.
1504 (simple_alloc, debug_alloc): Uglify class names.
1505 (__default_alloc_template): Uglify "threads" template parameter and
1506 update corresponding macros.
1507 * include/backward/alloc.h: Bring up to date.
1509 2001-11-23 Jason Merrill <jason@redhat.com>
1511 * src/vterminate.cc (__verbose_terminate_handler): Add leading
1514 2001-11-23 Joseph S. Myers <jsm28@cam.ac.uk>
1516 * ChangeLog, docs/doxygen/maint.cfg.in, docs/doxygen/user.cfg.in,
1517 docs/doxygen/doxygroups.cc, docs/doxygen/Intro.3,
1518 docs/html/17_intro/BUGS, docs/html/17_intro/C++STYLE,
1519 docs/html/17_intro/CHECKLIST, docs/html/17_intro/DESIGN,
1520 docs/html/17_intro/howto.html, docs/html/17_intro/porting.html,
1521 docs/html/17_intro/porting.texi, docs/html/18_support/howto.html,
1522 docs/html/19_diagnostics/howto.html, docs/html/20_util/howto.html,
1523 docs/html/21_strings/howto.html,
1524 docs/html/23_containers/howto.html,
1525 docs/html/26_numerics/howto.html, docs/html/27_io/howto.html,
1526 docs/html/27_io/binary_iostreams_kuehl.txt,
1527 docs/html/ext/sgiexts.html, docs/html/faq/index.html,
1528 docs/html/faq/index.txt, testsuite/24_iterators/iterator.cc,
1529 include/bits/basic_file.h, include/bits/locale_facets.h,
1530 include/bits/locale_facets.tcc, include/bits/std_sstream.h,
1531 include/ext/ropeimpl.h, include/ext/stl_rope.h,
1532 libsupc++/tinfo.cc, libsupc++/cxxabi.h, libsupc++/typeinfo,
1533 libsupc++/eh_throw.cc, acinclude.m4, aclocal.m4, configure,
1534 configure.target, ChangeLog-2000: Fix spelling errors.
1536 * config/locale/moneypunct_members_gnu.cc,
1537 include/bits/locale_facets.h: Fix spelling errors.
1539 2001-11-22 Stephen M. Webb <stephen@bregmasoft.com>
1541 * testsuite/23_containers/list_capacity.cc: New file.
1542 * testsuite/23_containers/list_ctor.cc: New file.
1543 * testsuite/23_containers/list_modifiers.cc: New file.
1544 * testsuite/23_containers/list_operators.cc: New file.
1546 2001-11-22 Stephen M. Webb <stephen@bregmasoft.com>
1548 * include/bits/stl_list.h: Reformatted according to C++STYLE rules.
1549 (size): Replaced nonstandard distance() call with the standard one.
1550 (transfer): Uglified to _M_transfer.
1552 2001-11-21 Paolo Carlini <pcarlini@unitus.it>
1555 * include/bits/basic_string.tcc (basic_string::reserve): Never shrink
1556 below the current size.
1557 * testsuite/21_strings/capacity.cc (test02): Add test.
1559 2001-11-19 Phil Edwards <pme@gcc.gnu.org>
1561 * docs/doxygen/Intro.3: More notes.
1562 * docs/doxygen/style.css: Update to default style from Doxygen 1.2.10.
1563 * include/bits/stl_algobase.h: Add doxygen hooks for functions.
1564 * include/ext/hash_map: Add @file hook.
1565 * include/ext/hash_set: Likewise.
1566 * include/ext/rope: Likewise.
1567 * include/ext/ropeimpl.h: Likewise.
1568 * include/ext/slist: Likewise.
1569 * include/ext/stl_hash_fun.h: Likewise.
1570 * include/ext/stl_hashtable.h: Likewise.
1571 * include/ext/stl_rope.h: Likewise.
1573 * docs/html/17_intro/license.html: Remove "experimental" sentence.
1574 * docs/html/19_diagnostics/howto.html: Document new verbose
1576 * testsuite/27_io/filebuf.cc: Fix comment, move tweakable parameter
1577 to more visible (closer to description) position.
1579 * libsupc++/eh_type.cc: Formatting tweak.
1580 * libsupc++/exception: Likewise.
1581 * src/vterminate.cc: Likewise.
1583 * docs/html/17_intro/porting.html: Regenerate.
1584 * docs/html/faq/index.txt: Regenerate.
1586 2001-11-18 Jason Merrill <jason@redhat.com>
1588 * libsupc++/eh_personality.cc (__cxa_call_unexpected): Take void*.
1589 * libsupc++/eh_catch.cc (__cxa_begin_catch): Likewise.
1590 * libsupc++/unwind-cxx.h: Adjust.
1591 * src/Makefile.am (strstream.o): Pass -Wno-deprecated.
1593 * libsupc++/eh_type.cc (__cxa_current_exception_type): New file.
1594 * libsupc++/cxxabi.h: Declare it.
1595 * libsupc++/Makefile.am (sources): Add it.
1596 * src/vterminate.cc (verbose_terminate_handler): New file.
1597 * libsupc++/exception: Declare it.
1598 * src/Makefile.am (sources): Add it.
1600 * src/Makefile.am (VPATH): Check the src directory before the top one.
1602 2001-11-16 Paolo Carlini <pcarlini@unitus.it>
1604 * include/bits/stl_deque.h (deque::erase()): Fix memory leak.
1606 2001-11-16 Loren J. Rittle <ljrittle@acm.org>
1608 * docs/html/17_intro/howto.html (Thread-safety): Rename
1609 section to ``The Standard C++ library and multithreading'' and
1610 update information based on recent mailing list traffic. Move
1611 all discussion of __USE_MALLOC to...
1612 * docs/html/23_containers/howto.html (Containers and multithreading):
1613 ...here and rework it based on recent mailing list traffic.
1615 2001-11-15 Loren J. Rittle <ljrittle@acm.org>
1617 * docs/html/faq/index.html (Is libstdc++-v3 thread-safe?): Clarify
1620 2001-11-15 <bjornw@planetarion.com>
1621 Loren J. Rittle <ljrittle@acm.org>
1624 * include/bits/stl_alloc.h (alloc): Update to use __mem_interface.
1625 (single_client_alloc): Likewise.
1627 2001-11-08 Danny Smith <dannysmith@users.sourceforge.net>
1629 * configure.target: Add os_include_dir for mingw32* target.
1630 * docs/html/17_intro/porting.texi: Mention mingw32 as target benefiting
1631 from _GLIBCPP_AVOID_FSEEK.
1632 * config/os/mingw32/bits/ctype_base.h: New file.
1633 * config/os/mingw32/bits/ctype_inline.h: New file.
1634 * config/os/mingw32/bits/ctype_noninline.h: New file.
1635 * config/os/mingw32/bits/os_defines.h: New file.
1637 2001-11-07 Nathan Myers <ncm@cantrip.org>
1639 * docs/html/faq/index.html (5.8): New entry on ABIs.
1640 * docs/html/faq/index.txt: Regenerate.
1642 2001-11-07 Phil Edwards <pme@gcc.gnu.org>
1644 * docs/html/faq/index.html: Explain libsupc++, mention 'long long'
1645 bugfixes on Solaris.
1646 * docs/html/faq/index.txt: Regenerate.
1648 2001-11-06 Phil Edwards <pme@gcc.gnu.org>
1650 * acinclude.m4 (GLIBCPP_ENABLE_LONG_LONG): Run the test in
1651 LANG_CPLUSPLUS mode.
1652 * aclocal.m4: Regenerate.
1653 * configure: Regenerate.
1655 2001-11-05 Phil Edwards <pme@gcc.gnu.org>
1657 * porting.texi: Move...
1658 * docs/html/17_intro/porting.texi: ...to here.
1659 * docs/html/Makefile: Add rule to rebuild...
1660 * docs/html/17_intro/porting.html: ...this. New file.
1662 2001-11-05 Felix Natter <fnatter@gmx.net>
1664 * docs/html/17_intro/porting-howto.xml: check in v0.9.4
1665 * docs/html/17_intro/porting-howto.html: regenerate
1667 2001-11-02 Loren J. Rittle <ljrittle@acm.org>
1669 * include/bits/stl_threads.h (_Atomic_swap): Only enable path
1670 when platform supports __GTHREAD_MUTEX_INIT.
1672 2001-11-02 Phil Edwards <pme@gcc.gnu.org>
1674 * acconfig.h: Update comments.
1675 * acinclude.m4 (GLIBCPP_ENABLE_C99): Move strtoll, strtoull tests...
1676 (GLIBCPP_ENABLE_LONG_LONG): ...to here. Don't check enable_c99.
1677 * aclocal.m4: Regenerate.
1678 * config.h.in: Regenerate.
1679 * configure: Regenerate.
1681 * include/bits/boost_concept_check.h: Unconditionally compile uses
1682 of 'long long' which require only compiler support, not C lib support.
1683 * include/bits/cpp_type_traits.h: Likewise.
1684 * include/bits/std_limits.h: Likewise.
1685 * include/bits/type_traits.h: Likewise.
1686 * src/concept-inst.cc: Likewise.
1687 * src/limits.cc: Likewise.
1688 * include/c_shadow/stdlib.h: Compile conditionally on _GLIBCPP_USE_C99
1689 instead of _GLIBCPP_USE_LONG_LONG.
1690 * include/c_shadow/bits/std_cstdlib.h: Likewise.
1692 2001-11-02 Phil Edwards <pme@gcc.gnu.org>
1694 * config/io/c_io_stdio.h: Correct grammar in comments.
1695 * docs/doxygen/Intro.3: Expand "top-level" man page.
1696 * docs/doxygen/doxygroups.cc: New module definitions (comments).
1697 * docs/doxygen/mainpage.doxy: Tweaks.
1698 * docs/doxygen/run_doxygen: Update Doxygen version, massage man pages.
1700 Add @file hooks so that headers are considered to be documented.
1701 * include/bits/basic_ios.h, include/bits/basic_file.h,
1702 include/bits/basic_string.h, include/bits/boost_concept_check.h,
1703 include/bits/char_traits.h, include/bits/codecvt.h,
1704 include/bits/concept_check.h, include/bits/cpp_type_traits.h,
1705 include/bits/fpos.h, include/bits/gslice.h, include/bits/gslice_array.h,
1706 include/bits/indirect_array.h, include/bits/ios_base.h,
1707 include/bits/locale_facets.h, include/bits/localefwd.h,
1708 include/bits/mask_array.h, include/bits/pthread_allocimpl.h,
1709 include/bits/slice.h, include/bits/slice_array.h,
1710 include/bits/std_algorithm.h, include/bits/std_bitset.h,
1711 include/bits/std_complex.h, include/bits/std_deque.h,
1712 include/bits/std_fstream.h, include/bits/std_functional.h,
1713 include/bits/std_iomanip.h, include/bits/std_ios.h,
1714 include/bits/std_iosfwd.h, include/bits/std_iostream.h,
1715 include/bits/std_istream.h, include/bits/std_iterator.h,
1716 include/bits/std_limits.h, include/bits/std_list.h,
1717 include/bits/std_locale.h, include/bits/std_map.h,
1718 include/bits/std_memory.h, include/bits/std_numeric.h,
1719 include/bits/std_ostream.h, include/bits/std_queue.h,
1720 include/bits/std_set.h, include/bits/std_sstream.h,
1721 include/bits/std_stack.h, include/bits/std_streambuf.h,
1722 include/bits/std_string.h, include/bits/std_utility.h,
1723 include/bits/std_valarray.h, include/bits/std_vector.h,
1724 include/bits/stl_algo.h, include/bits/stl_alloc.h,
1725 include/bits/stl_bvector.h, include/bits/stl_construct.h,
1726 include/bits/stl_deque.h, include/bits/stl_heap.h,
1727 include/bits/stl_iterator.h, include/bits/stl_iterator_base_funcs.h,
1728 include/bits/stl_iterator_base_types.h, include/bits/stl_list.h,
1729 include/bits/stl_map.h, include/bits/stl_multimap.h,
1730 include/bits/stl_multiset.h, include/bits/stl_numeric.h,
1731 include/bits/stl_pair.h, include/bits/stl_pthread_alloc.h,
1732 include/bits/stl_queue.h, include/bits/stl_raw_storage_iter.h,
1733 include/bits/stl_relops.h, include/bits/stl_set.h,
1734 include/bits/stl_stack.h, include/bits/stl_tempbuf.h,
1735 include/bits/stl_threads.h, include/bits/stl_tree.h,
1736 include/bits/stl_uninitialized.h, include/bits/stl_vector.h,
1737 include/bits/stream_iterator.h, include/bits/streambuf_iterator.h,
1738 include/bits/stringfwd.h, include/bits/type_traits.h,
1739 include/bits/valarray_array.h, include/bits/valarray_meta.h:
1740 Add hooks, tweak comments only.
1742 * include/bits/stl_algobase.h (swap, min, iter_swap): Also
1743 document these functions.
1744 * include/bits/stl_function.h: Tweak link comments.
1746 2001-11-01 Paolo Carlini <pcarlini@unitus.it>
1747 Benjamin Kosnik <bkoz@redhat.com>
1749 * testsuite/27_io/ios_manip_fmtflags.cc: Fix for non-interactive
1751 * include/bits/locale_facets.tcc (num_put::do_put(bool)): Fix.
1753 2001-11-01 Egor Duda <deo@logos-m.ru>
1755 * config/os/newlib/bits/ctype_noninline.h
1756 (ctype<char>::do_toupper(char __c)): Check for proper character class.
1757 (ctype<char>::do_tolower(char __c)): Ditto.
1759 2001-11-01 Phil Edwards <pme@gcc.gnu.org>
1761 * acinclude.m4: Fix spacing.
1762 (GLIBCPP_ENABLE_CONCEPT_CHECKS): New macro.
1763 * configure.in: Call here.
1764 * acconfig.h: Add _GLIBCPP_CONCEPT_CHECKS.
1765 * include/bits/boost_concept_check.h: Fix headers.
1766 (__function_requires): Make inline.
1767 * include/bits/c++config (_GLIBCPP_CONCEPT_CHECKS): Remove.
1768 * aclocal.m4: Regenerate.
1769 * config.h.in: Regenerate.
1770 * configure: Regenerate.
1772 Move trailing ';' inside macro, PR libstdc++/3666.
1773 * include/bits/concept_check.h: Add semicolon.
1774 * include/bits/stl_algo.h: Remove semicolon.
1775 * include/bits/stl_algobase.h: Likewise.
1776 * include/bits/stl_deque.h: Likewise.
1777 * include/bits/stl_heap.h: Likewise.
1778 * include/bits/stl_iterator_base_funcs.h: Likewise.
1779 * include/bits/stl_list.h: Likewise.
1780 * include/bits/stl_map.h: Likewise.
1781 * include/bits/stl_multimap.h: Likewise.
1782 * include/bits/stl_multiset.h: Likewise.
1783 * include/bits/stl_numeric.h: Likewise.
1784 * include/bits/stl_queue.h: Likewise.
1785 * include/bits/stl_set.h: Likewise.
1786 * include/bits/stl_stack.h: Likewise.
1787 * include/bits/stl_vector.h: Likewise.
1788 * include/ext/hash_map: Likewise.
1789 * include/ext/hash_set: Likewise.
1790 * include/ext/slist: Likewise.
1792 * src/concept-inst.cc: New file with explicit instantiations.
1793 * src/Makefile.am (sources): Add here, with special build rules.
1794 * src/Makefile.in: Regenerate.
1796 2001-11-01 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
1798 * include/bits/std_complex.h (_Norm_helper): New class template.
1800 (abs): Tweak. Fix Thinko.
1802 2001-10-31 Benjamin Kosnik <bkoz@redhat.com>
1805 * include/bits/codecvt.h: Add virtual member function declarations.
1806 * src/codecvt.cc: Tweaks.
1807 * testsuite/22_locale/codecvt.cc: Test compilation only,
1808 non-required facets not required to have linkage.
1810 2001-10-31 Edward E. Meyer <edward.e.meyer@boeing.com>
1813 * include/bits/std_complex.h (complex::operator/=): Correct sign.
1815 2001-10-30 Paolo Carlini <pcarlini@unitus.it>
1816 Benjamin Kosnik <bkoz@redhat.com>
1819 * include/bits/basic_string.h: Tweaks.
1820 * include/bits/basic_string.tcc (string::_M_replace(iterator,
1821 iterator, _ForwardIter, _ForwardIter, forward_iterator_tag): Fix.
1822 * src/string-inst.cc: Tweaks, add instantiation.
1823 * testsuite/21_strings/replace.cc (test02): Add test.
1824 * testsuite/21_strings/assign.cc (test01): New file.
1826 2001-10-30 Jakub Jelinek <jakub@redhat.com>
1828 * include/bits/stl_deque.h (_M_new_elements_at_front): Use
1829 __throw_exception_again.
1830 (_M_new_elements_at_back): Likewise.
1832 2001-10-29 Benjamin Kosnik <bkoz@redhat.com>
1835 * include/bits/fstream.tcc (filebuf::showmanyc): Simplify.
1836 * testsuite/27_io/filebuf.cc (test07): New test.
1837 (test03): Modify showmanyc test.
1839 2001-10-26 Benjamin Kosnik <bkoz@redhat.com>
1842 * config/locale/codecvt_specializations_ieee_1003.1-200x.h
1843 (__enc_traits::~__enc_traits): Fix.
1844 (__enc_traits::_M_init): Add error checking.
1846 2001-10-25 Benjamin Kosnik <bkoz@redhat.com>
1849 * include/bits/locale_facets.tcc (time_get::_M_extract_name): Fix.
1851 2001-10-25 Benjamin Kosnik <bkoz@redhat.com>
1854 * include/bits/ostream.tcc (ostream::operator<<(streambuf*)): Fix
1856 * include/bits/istream.tcc (istream::operator>>(streambuf*): Make
1857 consistent, where possible.
1858 * include/bits/streambuf.tcc: Tweak.
1860 2001-10-25 Brendan Kehoe <brendan@zen.org>
1863 * bits/ostream.tcc (seekp): Scope use as ios_base::failbit.
1864 * bits/istream.tcc (seekg): Likewise.
1866 2001-10-25 Benjamin Kosnik <bkoz@redhat.com>
1867 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
1868 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
1870 * config/os/gnu-linux/bits/os_defines.h: Set to 64 bit longs with
1872 * include/bits/std_limits.h: Fix wchar_t issues.
1873 * config/os/aix/bits/os_defines.h: Fix.
1875 2001-10-25 Benjamin Kosnik <bkoz@redhat.com>
1877 * include/bits/locale_facets.tcc (collate::do_transform): Fix.
1879 2001-10-25 Phil Edwards <pme@gcc.gnu.org>
1881 * docs/html/documentation.html: Fix typo.
1883 2001-10-23 Benjamin Kosnik <bkoz@redhat.com>
1885 Make -fno-exceptions work.
1886 * config/locale/c_locale_gnu.cc: Use functexcept.
1887 * include/bits/c++config (__stl_assert): Remove.
1888 (__STL_USE_EXCEPTIONS): Same.
1890 (__STL_CATCH_ALL): Same.
1891 (__STL_THROW): Same.
1892 (__STL_RETHROW): Same.
1893 (__STL_NOTHROW): Same.
1894 (__STL_UNWIND): Same.
1895 * include/bits/pthread_allocimpl.h: Fix.
1896 * include/bits/std_bitset.h: Same.
1897 * include/bits/std_list.h: Same.
1898 * include/bits/std_memory.h: Same.
1899 * include/bits/std_queue.h: Same.
1900 * include/bits/stl_alloc.h: Same.
1901 * include/bits/stl_deque.h: Same.
1902 * include/bits/stl_list.h: Same.
1903 * include/bits/stl_queue.h: Same.
1904 * include/bits/stl_tempbuf.h: Same.
1905 * include/bits/stl_tree.h: Same.
1906 * include/bits/stl_uninitialized.h: Same.
1907 * include/bits/stl_vector.h: Same.
1908 * include/ext/ropeimpl.h: Same.
1909 * include/ext/slist: Same.
1910 * include/ext/stl_hashtable.h: Same.
1911 * include/ext/stl_rope.h: Same.
1912 * libsupc++/new_op.cc: Include cstdlib.
1913 * libsupc++/eh_personality.cc: Add exception_defines include. Use
1914 __throw_exception_again, tweak.
1915 * libsupc++/eh_aux_runtime.cc: Include stdlib for abort.
1916 * libsupc++/vec.cc: Tweak.
1917 * src/functexcept.cc: Remove unused arguments.
1918 * testsuite/23_containers/bitset_members.cc: Tweak.
1920 2001-10-22 Benjamin Kosnik <bkoz@redhat.com>
1922 * config/cpu/i386/bits/limits.h: Move to...
1923 * config/cpu/i386/bits/cpu_limits.h: ...here.
1924 * config/cpu/cris/bits/cpu_limits.h: Same.
1925 * config/cpu/powerpc/bits/cpu_limits.h: Same.
1926 * config/cpu/x86-64/bits/cpu_limits.h: Same.
1927 * config/cpu/alpha/bits/cpu_limits.h: New.
1928 * config/cpu/m68k/bits/cpu_limits.h: New.
1929 * config/cpu/s390/bits/cpu_limits.h: New.
1930 * config/os/aix/bits/os_defines.h: Tweaks.
1931 * config/os/bsd/freebsd/bits/os_defines.h: Same.
1932 * config/os/bsd/netbsd/bits/os_defines.h: Same.
1933 * config/os/djgpp/bits/os_defines.h: Same.
1934 * config/os/generic/bits/os_defines.h: Same.
1935 * config/os/gnu-linux/bits/os_defines.h: Same.
1936 * config/os/hpux/bits/os_defines.h: Same.
1937 * config/os/irix/irix5.2/bits/os_defines.h: Same.
1938 * config/os/irix/irix6.5/bits/os_defines.h: Same.
1939 * config/os/newlib/bits/os_defines.h: Same.
1940 * config/os/solaris/solaris2.5/bits/os_defines.h: Same.
1941 * config/os/solaris/solaris2.6/bits/os_defines.h: Same.
1942 * config/os/solaris/solaris2.7/bits/os_defines.h: Same.
1944 * include/bits/c++config: Remove include.
1945 * include/bits/limits_generic.h: Remove.
1946 * include/bits/std_limits.h: Include cpu_limits.h.
1947 * include/Makefile.am: Fixup.
1948 * src/limits.cc: Tweak.
1949 * src/limits_generic.cc: Remove.
1950 * src/gen-num-limits.cc: Remove.
1951 * mknumeric_limits: Remove.
1953 2001-10-20 Brendan Kehoe <brendan@zen.org>
1955 * bits/type_traits.h (_Bool): Removed this type.
1956 (__true_type, __false_type): Change to be plain structs.
1957 * src/string-inst.cc (__destroy_aux): Change third parm to be
1958 __false_type instead of _Bool<false>.
1959 * src/misc-inst.cc (__uninitialized_fill_n_aux,
1960 __uninitialized_copy_aux): Likewise.
1962 2001-10-19 Benjamin Kosnik <bkoz@redhat.com>
1964 * mkcheck.in (static_fail): Remove older memory limit functionality.
1965 Disable E_TIME due to formatting issues.
1969 2001-10-19 Brendan Kehoe <brendan@zen.org>
1971 * include/bits/std_complex.h: Default initialize second argument
1972 of polar to 0, as specified in Library DR #79
1974 2001-10-19 Brendan Kehoe <brendan@zen.org>
1976 * include/bits/stl_raw_storage_iter.h (operator=): Fix to call
1977 _Construct instead of construct.
1979 2001-10-19 Brendan Kehoe <brendan@zen.org>
1981 * include/bits/basic_string.tcc (find_first_not_of): Take out check for
1982 __n being non-zero, since the standard does not mandate that.
1983 e.g., a search for "" in "" should yield position 0, not npos.
1984 (find_last_not_of): Likewise.
1986 2001-10-19 Brendan Kehoe <brendan@zen.org>
1988 * include/bits/stl_bvector.h (vector<bool>::_M_range_check): Fix
1989 to throw out_of_range, not range_error, thus sayeth $23.1.1.13.
1991 2001-10-19 Brendan Kehoe <brendan@zen.org>
1993 * include/bits/stl_iterator.h (reverse_iterator::current): Rename
1994 member from _M_current, and change all uses; thus sayeth $24.4.1.1.
1996 2001-10-19 Brendan Kehoe <brendan@zen.org>
1998 * include/bits/stl_algo.h (partial_sort): Add missing `>' on the
1999 template parameter _ValueType.
2001 2001-10-19 Brendan Kehoe <brendan@zen.org>
2003 * include/bits/std_limits.h: Clean up extra semicolons.
2004 * include/bits/locale_facets.h: Likewise.
2005 * include/bits/type_traits.h: Likewise.
2007 2001-10-19 Brendan Kehoe <brendan@zen.org>
2009 * include/bits/localefwd.h (locale::combine): Add const for lib DR 14.
2010 * include/bits/locale_facets.tcc (locale::combine): Likewise.
2012 2001-10-19 Benjamin Kosnik <bkoz@redhat.com>
2014 * include/bits/locale_facets.h (__timepunct::_M_put_helper):
2015 Declare specializations for char, wchar_t.
2017 2001-10-19 Andreas Jaeger <aj@suse.de>
2019 * config/cpu/x86-64/bits/limits.h: New file.
2020 * config/cpu/x86-64/bits/atomicity.h: New file.
2021 * configure.target: Add x86-64.
2023 2001-10-17 Phil Edwards <pme@gcc.gnu.org>
2025 * docs/html/17_intro/howto.html: Remove 1999 links (and explain
2026 why). Add link to recent message.
2027 * docs/html/faq/index.html (5.6): Reformat text only; fixup <pre>
2029 * docs/html/faq/index.txt: Regenerate.
2031 2001-10-12 Loren J. Rittle <ljrittle@acm.org>
2033 * docs/html/faq/index.html (Is libstdc++-v3 thread-safe?): Update
2034 based on Nathan's review. Use Nathan's words.
2036 2001-10-11 Matt Kraai <kraai@alumni.carnegiemellon.edu>
2038 * docs/html/configopts.html: Quote StyleSheet attribute values.
2039 * docs/html/documentation.html: Likewise.
2040 * docs/html/explanations.html: Likewise.
2041 * docs/html/install.html: Likewise.
2042 * docs/html/17_intro/howto.html: Likewise.
2043 * docs/html/17_intro/license.html: Likewise.
2044 * docs/html/18_support/howto.html: Likewise.
2045 * docs/html/19_diagnostics/howto.html: Likewise.
2046 * docs/html/20_util/howto.html: Likewise.
2047 * docs/html/21_strings/howto.html: Likewise.
2048 * docs/html/22_locale/howto.html: Likewise.
2049 * docs/html/23_containers/howto.html: Likewise.
2050 * docs/html/24_iterators/howto.html: Likewise.
2051 * docs/html/25_algorithms/howto.html: Likewise.
2052 * docs/html/26_numerics/howto.html: Likewise.
2053 * docs/html/27_io/howto.html: Likewise.
2054 * docs/html/ext/howto.html: Likewise.
2055 * docs/html/ext/sgiexts.html: Likewise.
2056 * docs/html/faq/index.html: Likewise.
2058 2001-10-11 Loren J. Rittle <ljrittle@acm.org>
2060 * docs/html/faq/index.html (Is libstdc++-v3 thread-safe?): Rewrite.
2061 * docs/html/23_containers/howto.html (Containers and multithreading):
2064 2001-10-09 Phil Edwards <pme@gcc.gnu.org>
2066 * docs/html/17_intro/howto.html: Tweak markup and value type.
2067 * docs/html/27_io/howto.html: Tweak markup, describe setbuf() for
2068 nonzero arguments, add new note on threading.
2069 * docs/html/faq/index.html: Update.
2070 * docs/html/faq/index.txt: Regenerate.
2072 2001-10-09 Phil Edwards <pme@gcc.gnu.org>
2074 * docs/html/configopts.html: More HTML->XHTML and lowercasing of tags.
2075 * docs/html/documentation.html: Likewise.
2076 * docs/html/explanations.html: Likewise.
2077 * docs/html/install.html: Likewise.
2078 * docs/html/17_intro/howto.html: Likewise.
2079 * docs/html/17_intro/license.html: Likewise. Tighten up language.
2080 * docs/html/18_support/howto.html: Likewise.
2081 * docs/html/19_diagnostics/howto.html: Likewise.
2082 * docs/html/20_util/howto.html: Likewise.
2083 * docs/html/21_strings/howto.html: Likewise.
2084 * docs/html/22_locale/howto.html: Likewise.
2085 * docs/html/23_containers/howto.html: Likewise.
2086 * docs/html/24_iterators/howto.html: Likewise.
2087 * docs/html/25_algorithms/howto.html: Likewise.
2088 * docs/html/26_numerics/howto.html: Likewise.
2089 * docs/html/27_io/howto.html: Likewise.
2090 * docs/html/ext/howto.html: Likewise.
2091 * docs/html/ext/sgiexts.html: Likewise.
2092 * docs/html/faq/index.html: Likewise. Not so many absolute links.
2093 * docs/html/faq/index.txt: Regenerate.
2095 2001-10-07 Joseph S. Myers <jsm28@cam.ac.uk>
2097 * docs/html/22_locale/locale.html, docs/html/faq/index.html: Fix
2098 spelling errors of "separate" as "seperate", and corresponding
2099 spelling errors of related words.
2100 * docs/html/faq/index.txt: Regenerate.
2102 2001-10-05 Phil Edwards <pme@gcc.gnu.org>
2104 * config/cpu/alpha/bits/atomicity.h (__compare_and_swap): Remove
2106 * config/cpu/arm/bits/atomicity.h: Likewise.
2107 * config/cpu/generic/bits/atomicity.h: Likewise.
2108 * config/cpu/i486/bits/atomicity.h: Likewise.
2109 * config/cpu/ia64/bits/atomicity.h: Likewise.
2110 * config/cpu/mips/bits/atomicity.h: Likewise.
2111 * config/cpu/powerpc/bits/atomicity.h: Likewise.
2112 * config/cpu/sparc/sparc32/bits/atomicity.h: Likewise.
2113 * config/cpu/sparc/sparc64/bits/atomicity.h: Likewise.
2115 2001-10-04 Phil Edwards <pme@gcc.gnu.org>
2117 * docs/html/faq/index.html: Describe DR #22, and a workaround.
2118 * docs/html/faq/index.txt: Regenerate.
2120 2001-10-04 Phil Edwards <pme@gcc.gnu.org>
2122 * docs/html/17_intro/COPYING.DOC: New file, GFDL v1.1 from the FSF.
2123 * docs/html/17_intro/license.html: New file. Explain the licenses
2126 * docs/html/configopts.html: Link to license.html.
2127 * docs/html/documentation.html: Likewise.
2128 * docs/html/explanations.html: Likewise.
2129 * docs/html/install.html: Likewise.
2130 * docs/html/17_intro/howto.html: Likewise.
2131 * docs/html/18_support/howto.html: Likewise.
2132 * docs/html/19_diagnostics/howto.html: Likewise.
2133 * docs/html/20_util/howto.html: Likewise.
2134 * docs/html/21_strings/howto.html: Likewise.
2135 * docs/html/22_locale/howto.html: Likewise.
2136 * docs/html/23_containers/howto.html: Likewise.
2137 * docs/html/24_iterators/howto.html: Likewise.
2138 * docs/html/25_algorithms/howto.html: Likewise.
2139 * docs/html/26_numerics/howto.html: Likewise.
2140 * docs/html/27_io/howto.html: Likewise.
2141 * docs/html/ext/howto.html: Likewise.
2142 * docs/html/ext/sgiexts.html: Likewise.
2143 * docs/html/faq/index.html: Likewise. New question, linking to
2144 the new license.html.
2146 2001-10-04 Phil Edwards <pme@gcc.gnu.org>
2148 * docs/html/17_intro/howto.html: Fix mis-sed in header from 20010917.
2149 * docs/html/18_support/howto.html: Likewise.
2150 * docs/html/19_diagnostics/howto.html: Likewise.
2151 * docs/html/20_util/howto.html: Likewise.
2152 * docs/html/21_strings/howto.html: Likewise.
2153 * docs/html/22_locale/howto.html: Likewise.
2154 * docs/html/23_containers/howto.html: Likewise.
2155 * docs/html/24_iterators/howto.html: Likewise.
2156 * docs/html/25_algorithms/howto.html: Likewise.
2157 * docs/html/26_numerics/howto.html: Likewise.
2158 * docs/html/27_io/howto.html: Likewise.
2159 * docs/html/ext/howto.html: Likewise.
2160 * docs/html/faq/index.html: Likewise. Spacing fix.
2162 2001-10-03 Dimitris Vyzovitis <vyzo@media.mit.edu>
2164 * include/bits/stl_threads.h (_Atomic_swap): New function.
2165 (_Swap_lock_struct<__dummy>::_S_swap_lock): New data.
2166 * testsuite/ext/rope.cc: New file.
2168 2001-10-02 Benjamin Kosnik <bkoz@redhat.com>
2170 * config/locale/time_members_gnu.h: Remove.
2171 * config/locale/time_members_generic.h: Remove.
2172 * config/locale/time_members_gnu.cc (__timepunct::_M_put_helper): Add.
2173 * config/locale/time_members_generic.cc: Same.
2174 * include/bits/locale_facets.h: Add data members.
2175 (__timepunct::_M_put_helper): Change signature.
2176 (__timepunct::_M_date_formats): Same.
2177 (__timepunct::_M_time_formats): Same.
2178 (__timepunct::_M_ampm): Add.
2179 (__timepunct::_M_date_time_formats): Add.
2180 (time_get::_M_extract_via_format): Add.
2181 (time_get::_M_extract_time): Change to...
2182 (time_get::_M_extract_num): ... this, modify signature.
2183 * include/bits/locale_facets.tcc (time_get::do_get_year): Fix.
2184 (time_get::do_get_time): Fix.
2185 (time_get::do_get_date): Fix.
2187 * acinclude.m4: Remove CTIME_H.
2188 * aclocal.m4: Regenerate.
2189 * include/Makefile.am: Same.
2190 * include/Makefile.in: Regenerate.
2191 * configure: Regenerate.
2193 * testsuite/22_locale/time_get_members_char.cc: Fix.
2194 * testsuite/22_locale/time_get_members_wchar_t.cc: Add.
2195 * testsuite/22_locale/time_put_members_wchar_t.cc: Add.
2197 2001-10-01 Hans-Peter Nilsson <hp@axis.com>
2199 * config/cpu/cris/bits/atomicity.h: Correct file header.
2201 2001-09-29 Hans-Peter Nilsson <hp@axis.com>
2203 * configure.target (LIMITSH): Set for cris.
2204 (cpu_include_dir): Set for cris-*-*.
2205 * config/cpu/cris/bits/atomicity.h: New file.
2206 * config/cpu/cris/bits/limits.h: New file.
2208 2001-09-28 Benjamin Kosnik <bkoz@redhat.com>
2210 * config/locale/time_members_gnu.h (__timepunct::_M_get_helper): Add.
2211 (__timepunct::_M_put_helper): Add.
2212 * config/locale/time_members_generic.h: Same.
2213 * include/bits/locale_facets.h (__match_parallel): Remove. Format.
2214 (__timepunct): Add data members.
2215 (__timepunct::_M_days): Add.
2216 (__timepunct::_M_days_abbreviated): Add.
2217 (__timepunct::_M_months): Add.
2218 (__timepunct::_M_months_abbreviated): Add.
2219 (__timepunct::_M_initialize_timepunct): Add.
2220 * include/bits/locale_facets.tcc: Same.
2221 * src/locale-inst.cc: Remove instantiations for __match_parallel.
2222 * acinclude.m4 (GLIBCPP_ENABLE_CLOCALE): Add CTIME_CC.
2223 * aclocal.m4: Regenerate.
2224 * configure: Regenerate.
2225 * testsuite/22_locale/time_put_members_char.cc: Mark XFAIL.
2226 * testsuite/22_locale/time_put_members_char.cc (test01): New file.
2227 * testsuite/22_locale/time_get.cc: New file.
2229 2001-09-28 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
2231 * testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3-init): Use
2232 correct multilib builddir.
2233 Properly locate libgcc_s.
2235 2001-09-27 Phil Edwards <pme@gcc.gnu.org>
2237 * include/std/*: Add Doxygen hooks.
2238 * docs/doxygen/Intro.3: New file, general intro to the man pages.
2239 * docs/doxygen/mainpage.doxy: Formatting tweaks. List our own links
2240 rather than using a generated index.
2241 * docs/doxygen/user.cfg.in: Disable the index, enable man pages.
2242 * docs/doxygen/run_doxygen: Massage the generated man pages, using...
2243 * docs/doxygen/stdheader.cc: ...this new file.
2245 2001-09-26 Stan Shebs <shebs@apple.com>
2247 * include/Makefile.am: Remove RCS Id strings.
2248 * src/Makefile.am: Ditto.
2249 * docs/doxygen/run_doxygen: Ditto.
2250 * docs/html/configopts.html: Ditto.
2251 * docs/html/documentation.html: Ditto.
2252 * docs/html/explanations.html: Ditto.
2253 * docs/html/install.html: Ditto.
2254 * docs/html/17_intro/howto.html: Ditto.
2255 * docs/html/18_support/howto.html: Ditto.
2256 * docs/html/19_diagnostics/howto.html: Ditto.
2257 * docs/html/20_util/howto.html: Ditto.
2258 * docs/html/21_strings/howto.html: Ditto.
2259 * docs/html/22_locale/howto.html: Ditto.
2260 * docs/html/23_containers/howto.html: Ditto.
2261 * docs/html/24_iterators/howto.html: Ditto.
2262 * docs/html/25_algorithms/howto.html: Ditto.
2263 * docs/html/26_numerics/howto.html: Ditto.
2264 * docs/html/27_io/howto.html: Ditto.
2265 * docs/html/ext/howto.html: Ditto.
2266 * docs/html/ext/sgiexts.html: Ditto.
2267 * docs/html/faq/index.html: Ditto.
2268 * docs/html/faq/index.txt: Ditto.
2270 2001-09-25 Phil Edwards <pme@gcc.gnu.org>
2272 * testsuite/21_strings/c_strings.cc (test01, test02): Increase
2275 2001-09-25 Phil Edwards <pme@gcc.gnu.org>
2277 * docs/html/20_util/howto.html: Add anchor name.
2278 * docs/html/23_containers/howto.html: Line wrapping, another link.
2279 * docs/html/25_algorithms/howto.html: Another note.
2281 * docs/html/ext/howto.html: Link to SGI extensions. List DRs and
2283 * docs/html/ext/lwg-active.html: ...in this new file (from R19),
2284 * docs/html/ext/lwg-defects.html: and this new file (from R19).
2285 * docs/html/ext/sgiexts.html: New file. Mention SGI extensions
2286 carried over to libstdc++-v3.
2287 * docs/html/faq/index.html: Link to SGI extensions. Mention the
2288 "missing .." pseudobug.
2289 * docs/html/faq/index.txt: Regenerate.
2291 * include/bits/ios_base.h: DR-related comment cleanup.
2292 * include/bits/istream.tcc: Likewise.
2293 * include/bits/locale_facets.h: Likewise.
2294 * include/bits/locale_facets.tcc: Likewise.
2295 * include/bits/ostream.tcc: Likewise.
2296 * include/bits/std_bitset.h: Likewise.
2297 * include/bits/std_iosfwd.h: Likewise.
2298 * include/bits/std_istream.h: Likewise.
2299 * include/bits/std_ostream.h: Likewise.
2300 * include/bits/std_streambuf.h: Likewise.
2301 * include/bits/stl_pair.h: Likewise.
2302 * include/bits/streambuf_iterator.h: Likewise.
2304 * include/bits/std_map.h: Remove unused header inclusion guard
2305 _CPP_BITS_STL_TREE_H from around bits/stl_tree.h.
2306 * include/bits/std_set.h: Likewise.
2308 * include/bits/stl_function.h: Doxygen markup.
2309 * docs/doxygen/doxygroups.cc: New file, specifying module grouping.
2310 * libsupc++/typeinfo: Doxygen markup tweak.
2312 2001-09-20 Scott Johnston <scott@accom.com>
2313 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
2315 * include/backward/alloc.h: Conditionally define malloc_alloc
2316 * testsuite/backward/header_deque_h.cc: New file.
2318 2001-09-20 Sylvain Pion <Sylvain.Pion@sophia.inria.fr>
2320 * libstdc++-v3/include/bits/locale_facets.tcc (money_put::do_put):
2321 change variable name so that it works with -fno-for-scope.
2323 2001-09-20 Benjamin Kosnik <bkoz@redhat.com>
2325 * testsuite/22_locale/numpunct_members_char.cc (test01): Remove
2326 redundant sanity checks.
2327 * testsuite/22_locale/money_put_members_wchar_t.cc (test01): Same.
2329 * testsuite/22_locale/money_put_members_char.cc (test01): Same.
2331 * testsuite/22_locale/moneypunct_members_wchar_t.cc (test01): Same.
2332 * testsuite/22_locale/moneypunct_members_char.cc (test01): Same.
2333 * testsuite/22_locale/money_get_members_wchar_t.cc (test01): Same.
2335 * testsuite/22_locale/money_get_members_char.cc (test01): Same.
2338 2001-09-19 Benjamin Kosnik <bkoz@redhat.com>
2340 Implement std::time_put.
2341 * include/bits/locale_facets.h: Include time_members.h.
2343 (time_put): Implement.
2344 * include/bits/locale_facets.tcc (do_put): Put generic versions here.
2345 * include/bits/localefwd.h: Bump number of facets.
2346 * config/locale/time_members_generic.h: New file.
2347 * config/locale/time_members_gnu.h: New file.
2348 * config/locale/c_locale_generic.h: Include clocale.
2349 * src/locale-inst.cc: Add use_facet instantiations for __timepunct.
2350 * src/locale.cc: Add __timepunct initializations.
2351 * src/localename.cc (locale::_Impl::_Impl(string, size_t)): Same.
2352 * include/Makefile.am (stamp-target): Add time_members.h.
2353 * include/Makefile.in: Regenerate.
2354 * acinclude.m4 (GLIBCPP_ENABLE_CLOCALE): Add CTIME_H.
2355 * aclocal.m4: Regenerate.
2356 * configure: Regenerate.
2357 * testsuite/22_locale/time_put.cc: New file.
2358 * testsuite/22_locale/time_put_members_char.cc: New file.
2360 * docs/html/22_locale/locale.html: Add note.
2362 2001-09-17 Phil Edwards <pme@gcc.gnu.org>
2364 * docs/html/configopts.html: HTML to XHTML change. Lowercase tags.
2365 * docs/html/documentation.html: Likewise.
2366 * docs/html/explanations.html: Likewise.
2367 * docs/html/install.html: Likewise.
2368 * docs/html/17_intro/howto.html: Likewise.
2369 * docs/html/18_support/howto.html: Likewise.
2370 * docs/html/19_diagnostics/howto.html: Likewise.
2371 * docs/html/20_util/howto.html: Likewise.
2372 * docs/html/21_strings/howto.html: Likewise.
2373 * docs/html/22_locale/codecvt.html: Likewise.
2374 * docs/html/22_locale/ctype.html: Likewise.
2375 * docs/html/22_locale/howto.html: Likewise.
2376 * docs/html/22_locale/locale.html: Likewise.
2377 * docs/html/22_locale/messages.html: Likewise.
2378 * docs/html/23_containers/howto.html: Likewise.
2379 * docs/html/24_iterators/howto.html: Likewise.
2380 * docs/html/25_algorithms/howto.html: Likewise.
2381 * docs/html/26_numerics/howto.html: Likewise.
2382 * docs/html/27_io/howto.html: Likewise.
2383 * docs/html/ext/howto.html: Likewise.
2384 * docs/html/faq/index.html: Likewise.
2385 * docs/html/faq/index.txt: Regenerated.
2387 2001-09-14 Phil Edwards <pme@sources.redhat.com>
2389 * docs/html/17_intro/headers_cc.txt: "Sync"/copy real file over.
2390 * docs/html/17_intro/howto.html: Spacing and HTML markup fixes.
2391 * docs/html/18_support/howto.html: It won't compile; it's not code.
2392 * docs/html/19_diagnostics/howto.html: Point diagram seekers to
2394 * docs/html/22_locale/howto.html: Comment for future work.
2395 * docs/html/23_containers/howto.html: More comments.
2396 * docs/html/25_algorithms/howto.html: It's a comment, not a
2397 blunt command to the reader. (English grammar.)
2399 2001-09-14 Benjamin Kosnik <bkoz@redhat.com>
2401 * config/locale/moneypunct_members_gnu.cc: Fix initialization of
2403 * testsuite/22_locale/money_get_members_wchar_t.cc (test02): New file.
2404 * testsuite/22_locale/money_put_members_wchar_t.cc (test02): Fix.
2406 2001-09-14 Benjamin Kosnik <bkoz@redhat.com>
2408 * include/bits/locale_facets.tcc: Conditionalize use of strtold.
2410 2001-09-13 Alexandre Petit-Bianco <apbianco@redhat.com>
2412 * testsuite/22_locale/money_get_members_char.cc: Fixed typo in comment.
2413 * testsuite/22_locale/money_put_members_char.cc: Likewise.
2414 * testsuite/22_locale/money_put_members_wchar_t.cc: Likewise.
2416 2001-09-13 Benjamin Kosnik <bkoz@redhat.com>
2418 Implement std::money_get.
2419 * include/bits/locale_facets.tcc (money_get::do_get): Implement.
2420 * include/bits/locale_facets.h (money_get): Correct signatures.
2421 * testsuite/22_locale/money_get.cc: New file.
2422 * testsuite/22_locale/money_get_members_char.cc: New file.
2424 * include/bits/locale_facets.tcc (__verify_grouping): New
2425 function. Consolidate num_get and money_get group checking into
2427 (money_get): Use it.
2428 * src/locale.cc (num_get::_M_extract): Use it.
2429 * src/locale-inst.cc: Add instantiation.
2431 2001-09-12 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
2433 * include/bits/std_limits.h (numeric_limits<float>::radix,
2434 numeric_limits<float>::epsilon: Fix thinko.
2436 2001-09-10 Benjamin Kosnik <bkoz@redhat.com>
2438 * configure.in: Fix cross compiling math routines. Correct
2439 comments for cross compiling and limits. Add floating point math
2440 routines found in newlib.
2441 * configure: Regenerate.
2442 * acconfig.h: Add macros.
2443 * config.h.in: Regenerate.
2445 2001-09-10 Benjamin Kosnik <bkoz@redhat.com>
2447 * config/locale/moneypunct_members_generic.cc
2448 (money_base::_S_construct_pattern): Remove unused parameters.
2450 2001-09-10 Benjamin Kosnik <bkoz@redhat.com>
2452 * include/Makefile.am (stamp-target): Remove link to self.
2453 * inclulde/Makefile.in: Regenerate.
2455 2001-09-09 Benjamin Kosnik <bkoz@redhat.com>
2457 Implement std::money_put.
2458 * include/bits/locale_facets.h
2459 (moneypunct::_M_initialize_moneypunct): Split up specializations
2460 to account for _Intl. More grody hacking to get around the
2461 ill-considered use of const bool as a template parameter.
2462 * config/locale/moneypunct_members_gnu.cc: And here.
2463 * config/locale/moneypunct_members_generic.cc: And here.
2464 * testsuite/22_locale/moneypunct_members_char.cc: Add tests.
2465 * testsuite/22_locale/moneypunct.cc: Add tests.
2466 * testsuite/22_locale/money_put_members_wchar_t.cc: New file.
2467 * testsuite/22_locale/moneypunct_members_wchar_t.cc: New file.
2469 * src/locale.cc (money_base::_S_construct_pattern): Move into
2471 * config/locale/moneypunct_members_gnu.cc: Add here.
2472 * config/locale/moneypunct_members_generic.cc: Add generic version
2475 * include/bits/locale_facets.tcc (money_put::do_put): Move member
2476 function definitions here.
2477 * include/bits/locale_facets.h (money_put): Implement.
2478 * src/locale-inst.cc: Add use_facet instantiations for moneypunct.
2479 Correct money_get, money_put instantiations.
2480 * src/locale.cc (money_base::_S_construct_pattern): Handle case
2482 * testsuite/22_locale/money_put_members_char.cc: Add tests.
2484 2001-09-05 Phil Edwards <pme@sources.redhat.com>
2486 * testsuite_flags.in: No longer need to search testsuite builddir.
2487 * src/stl-inst.cc (__sink_unused_warning): Unused, remove.
2488 * Makefile.am: The testsuite directory never needs to be made here.
2489 * Makefile.in: Regenerate.
2490 * include/Makefile.in: Regenerate.
2491 * libio/Makefile.in: Regenerate.
2492 * libmath/Makefile.in: Regenerate.
2493 * libsupc++/Makefile.in: Regenerate.
2494 * po/Makefile.in: Regenerate.
2495 * src/Makefile.in: Regenerate.
2496 * testsuite/Makefile.in: Regenerate.
2498 2001-09-04 Scott Johnston <scott@accom.com>
2499 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
2501 * include/backward/iterator.h: Include <bits/std_iterator.h>,
2502 remove reverse_bidirectional_iterator.
2503 * testsuite/backward: New directory.
2504 * testsuite/backward/header_iterator_h.cc: New file.
2506 2001-09-04 Benjamin Kosnik <bkoz@redhat.com>
2508 * include/c_std/bits/std_c*.h: Don't use include_next.
2510 2001-09-03 Richard Sandiford <rsandifo@redhat.com>
2512 * libsupc++/eh_personality.cc (parse_lsda_header): Change type of
2513 tmp from _Unwind_Ptr to _Unwind_Word.
2515 2001-08-31 Jason Merrill <jason_merrill@redhat.com>
2517 * libsupc++/eh_personality.cc (PERSONALITY_FUNCTION): Simplify
2520 2001-08-28 Loren J. Rittle <ljrittle@acm.org>
2522 * include/Makefile.am: Use toplevel_srcdir to refer to src files
2523 outside this component.
2524 * include/Makefile.in: Regenerate.
2526 2001-08-27 Benjamin Kosnik <bkoz@redhat.com>
2528 * config/locale/c_locale_gnu.cc: Move facet info to separate files...
2529 * config/locale/c_locale_generic.cc: Same.
2530 * config/locale/moneypunct_members_gnu.cc: New file.
2531 * config/locale/moneypunct_members_generic.cc: New file.
2532 * config/locale/numpunct_members_gnu.cc: New file.
2533 * config/locale/numpunct_members_generic.cc: New file.
2534 * acinclude.m4 (GLIBCPP_ENABLE_CLOCALE): Add moneypunct, numpunct
2536 * aclocal.m4: Regenerate.
2537 * configure: Regenerate.
2538 * src/Makefile.am (sources): And here.
2539 * src/Makefile.in: Regenerate.
2541 Rename for consistency with rest of testsuite.
2542 * testsuite/22_locale/codecvt.cc: New file.
2543 * testsuite/22_locale/money_put.cc: New file.
2544 * testsuite/22_locale/money_put_members_char.cc: New file.
2546 2001-08-27 Phil Edwards <pme@sources.redhat.com>
2549 * acinclude.m4 (GLIBCPP_EXPORT_INSTALL_INFO): Handle enable/disable
2550 correctly for version-specific-runtime-libs.
2551 * aclocal.m4: Regenerate.
2552 * configure: Regenerate.
2554 2001-08-24 Loren J. Rittle <ljrittle@acm.org>
2556 * config/cpu/i386/bits/limits.h (__glibcpp_long_double_bits): Only
2557 define if not already provided by per-OS file.
2558 * config/os/bsd/freebsd/bits/os_defines.h (__glibcpp_long_double_bits):
2561 2001-08-24 Jan van Male <jan.vanmale@fenk.wau.nl>
2563 * docs/html/17_intro/C++STYLE: Fix typo.
2565 2001-08-24 Phil Edwards <pme@sources.redhat.com>
2567 * docs/html/23_containers/howto.html: Describe implementation of
2568 insertion with hints.
2570 2001-08-24 Kenny Simpson <kenny.simpson@gs.com>
2573 * include/bits/std_sstream.h (basic_ostringstream): Fix ctor.
2575 2001-08-24 Sylvain Pion <Sylvain.Pion@sophia.inria.fr>
2576 Phil Edwards <pme@sources.redhat.com>
2579 * include/bits/stl_tree.h (insert_unique): Revert last change.
2580 Values inserted at begin() must be less, not greater, than *begin()'s.
2581 * testsuite/23_containers/map_insert.cc: New file.
2583 2001-08-23 Benjamin Kosnik <bkoz@redhat.com>
2585 * config/locale/c_locale_gnu.cc: Minor tweaks.
2586 (moneypunct<wchar_t>): Implement.
2587 * include/bits/locale_facets.h: Same.
2588 * testsuite/22_locale/moneypunct.cc: New file.
2589 * testsuite/22_locale/moneypunct_byname.cc: New file.
2590 * testsuite/22_locale/moneypunct_char_members.cc: New file.
2592 2001-08-23 David Edelsohn <edelsohn@gnu.org>
2594 * config/os/gnu-linux/bits/os_defines.h: Correct __s390__ definitions.
2595 Set __powerpc__ long double definition based on __LONG_DOUBLE_128__.
2597 2001-08-23 Jason Merrill <jason_merrill@redhat.com>
2599 * testsuite_flags.in (build-includes): Re-add backward.
2601 2001-08-22 Benjamin Kosnik <bkoz@redhat.com>
2603 * testsuite/22_locale/collate_wchar_t_members.cc: Guard
2604 with _GLIBCPP_USE_WCHAR_T.
2606 2001-08-21 Benjamin Kosnik <bkoz@redhat.com>
2608 * testsuite/22_locale/collate_byname.cc (test01): Fix.
2610 2001-08-18 Vladimir A Merzliakov <wanderer@rsu.ru>
2612 * include/bits/locale_facets.tcc (collate::do_transform): Add typename.
2614 2001-08-18 Benjamin Kosnik <bkoz@redhat.com>
2616 * testsuite/22_locale/operators.cc: Add test.
2618 2001-08-17 Benjamin Kosnik <bkoz@redhat.com>
2620 Implement std::collate.
2621 * config/locale/collate_specializations_gnu.cc: Add here, implement in
2623 * config/locale/collate_specializations_generic.cc: Add here, but
2624 in a less sophisticated manner.
2625 * include/bits/locale_facets.tcc (collate): Add generic definition.
2626 * include/bits/locale_facets.h (~collate): Mark virtual.
2627 (collate::_M_compare_helper): New.
2628 (collate::_M_transform_helper): New.
2629 * src/locale.cc: Remove unnecessary specializations.
2630 * src/string-inst.cc: Tweak instantiation of ctors.
2632 * acinclude.m4 (GLIBCPP_ENABLE_CLOCALE): Do configury for collate.
2633 * aclocal.m4: Regenerate.
2634 * configure: Regenerate.
2635 * src/Makefile.am (sources): Add collate.cc.
2636 * src/Makefile.in: Regenerate.
2638 * testsuite/22_locale/collate_byname.cc: New.
2639 * testsuite/22_locale/collate.cc: New file.
2640 * testsuite/22_locale/collate_char_members.cc: New file.
2641 * testsuite/22_locale/collate_wchar_t_members.cc: New file.
2643 2001-08-16 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
2645 * configure.target: Set LIMITSH for powerpc-*-*.
2646 * config/cpu/powerpc/bits/limits.h: New file.
2648 2001-08-16 Marc Espie <espie@openbsd.org>
2650 * configure.in: Check for <sys/types.h>.
2651 * configure: Rebuild.
2652 * config.h.in: Rebuild.
2653 * libmath/mathconf.h: Include <sys/types.h> prior to
2654 <machine/endian.h> if available.
2656 2001-08-15 Andreas Schwab <schwab@suse.de>
2658 * configure.target (cpu_include_dir): Set to `config/cpu/m68k' for
2659 m68k and m680[246]0.
2660 * config/cpu/m68k/bits/atomicity.h: New file.
2662 * include/bits/std_limits.h [__glibcpp_long_double_bits == 96]:
2663 Define appropriate long double limits for m68k extended floating
2665 (__glibcpp_f32_digits10): Corrected, off by one.
2666 (__glibcpp_f80_digits10): Likewise.
2667 (__glibcpp_f128_digits10): Likewise.
2668 * config/os/gnu-linux/bits/os_defines.h
2669 (__glibcpp_long_double_bits) [__mc68000__]: Define to 96.
2671 2001-08-15 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
2673 * testsuite/18_support/numeric_limits.cc: Add more tests.
2674 * include/bits/std_limits.h (numeric_limits<char>::max): Fix
2677 2001-08-14 Ulrich Weigand <uweigand@de.ibm.com>
2679 * configure.target (cpu_include_dir): Set to `config/cpu/s390'
2682 * config/cpu/s390/bits/atomicity.h: New.
2684 2001-08-14 Gabriel Dos Reis <gdr@codesourcery.com>
2686 * include/bits/std_limits.h: Fix thinko.
2688 2001-08-14 Benjamin Kosnik <bkoz@redhat.com>
2690 * include/Makefile.am: Consolidate target rules. Don't clean stamp
2691 files. Tweak target build directory stamp.
2692 * include/Makefile.in: Regenerate.
2694 2001-08-14 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
2696 * libstdc++-v3/libmath/stubs.c: Fix PR/3988, replace
2697 _GBLICPP_HAVE_LOGL with HAVE_LOGL
2699 2001-08-13 Benjamin Kosnik <bkoz@redhat.com>
2701 * configure.in (libtool_VERSION): Add.
2702 (VERSION): Change to
2703 (release_VERSION): This.
2704 * configure: Regenerate.
2705 * src/Makefile.am (libstdc___la_LDFLAGS): Use -version-info with
2707 * src/Makefile.in: Regenerate.
2709 * intl/Makefile.am: Remove.
2710 * intl/Makefile.in: Remove.
2712 * Makefile.am (SUBDIRS): Remove intl.
2713 * po/Makefile.am (DISTFILES): Add string_literals.cc
2715 * po/string_literals.cc: Add.
2716 * po/POTFILES.in: Fix path.
2717 * acinclude.m4 (GLIBCPP_ENABLE_CLOCALE): Don't call AM_GNU_GETTEXT.
2718 * aclocal.m4: Regenerate.
2719 * configure.in: Remove AC_OUTPUT of intl/Makefile.
2721 * include/backward/backward_warning.h: Clarify message.
2723 * testsuite_flags.in (--cxxflags): Use same debug flags for
2724 library and testsuite.
2726 * include/Makefile.am (c_compatibility): Remove.
2727 * include/Makefile.in: Regenerate.
2729 2001-08-13 Mark Mitchell <mark@codesourcery.com>
2731 * configure.in (LIMITS_INC_SRCDIR): New variable.
2732 * configure.target (LIMITSH): New variable.
2733 * porting.texi: Discuss numeric limits.
2734 * config/cpu/generic/bits/limits.h: New file.
2735 * config/cpu/i386/bits/limits.h: New file.
2736 * include/Makefile.am: Install bits/limits.h.
2737 * include/bits/c++config: Include bits/limits.h.
2739 2001-08-13 H.J. Lu (hjl@gnu.org)
2741 * testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3-copy-files):
2743 (libstdc++-v3-init ): Use it.
2745 2001-08-13 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
2747 * include/bits/ostream.tcc (__pad_char): Change toplevel '__fmt'
2748 to '__adjust' to avoid shadowing in nested scope.
2750 2001-08-10 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
2752 * include/bits/std_limits.h(__glibcpp_char_is_signed): Use
2755 * config/os/gnu-linux/bits/os_defines.h(__glibcpp_char_is_signed):
2757 * config/os/aix/bits/os_defines.h(__glibcpp_plain_char_is_signed):
2760 2001-08-10 Loren J. Rittle <ljrittle@acm.org>
2762 * testsuite/testsuite_hooks.h (__set_testsuite_memlimit): Add
2763 dummy default argument to the non-limit implementation.
2766 * include/Makefile.am: Use relative file path in rule to allow
2768 * include/Makefile.in: Rebuilt.
2770 2001-08-10 Gunter Winkler <gunter.winkler@mathematik.tu-chemnitz.de>
2772 * include/bits/std_complex.h (complex<long double>::operator*=,
2773 complex<long double>::operator/=): Fix thinko.
2775 2001-08-10 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
2777 * include/bits/std_limits.h: New file.
2778 * include/Makefile.am (bits_headers): Add std_limits.h
2779 (all-local): std_limits.h is no longer built.
2780 (${target_builddir}/std_limits.h): Remove.
2781 * include/Makefile.in: Regenerate.
2782 * src/limits.cc: New file.
2783 * src/Makefile.am (sources): Add limits.cc in replacement of
2785 * src/Makefile.in: Regenerate.
2787 2001-08-09 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
2789 * src/gen-num-limits.cc (digits10): Fix thinko.
2791 2001-08-09 Benjamin Kosnik <bkoz@redhat.com>
2793 * po/Makefile.am (check-no): Add.
2795 * po/Makefile.in: Regenerate.
2797 2001-08-09 Benjamin Kosnik <bkoz@redhat.com>
2799 * acconfig.h (_GLIBCPP_MEM_LIMITS): Define.
2800 * config.h.in: Regenerate.
2801 * acinclude.m4 (GLIBCPP_CHECK_SETRLIMIT): Check for setrlimit
2803 * aclocal.m4: Regenerate.
2804 * configure.in: Remove duplicate AM_CONFIG_HEADER.
2805 (AM_CONFIG_HEADER): Remove testsuite/testsuite_hooks.h.
2806 Only call GLIBCPP_CHECK_SETRLIMIT for native compiles.
2807 * configure: Regenerate.
2808 * testsuite_hooks.h.in: Move to...
2809 * testsuite_hooks.h: Here, include c++config.h. Use it.
2811 * Makefile.am (SUBDIRS): Move testsuite to last directory.
2812 * Makefile.in: Regenerate.
2813 * po/Makefile.am (stamp-po): Add.
2815 2001-08-09 David Edelsohn <edelsohn@gnu.org>
2817 * config/os/aix/bits/os_defines.h: Define std_limits.h macros.
2818 * config/os/generic/bits/os_defines.h: Likewise.
2819 * config/os/gnu-linux/bits/os_defines.h: Likewise.
2820 * config/os/hpux/bits/os_defines.h: Likewise.
2821 * config/os/irix/irix6.5/bits/os_defines.h: Likewise.
2822 * config/os/solaris/solaris2.7/bits/os_defines.h: Likewise.
2824 2001-08-08 Benjamin Kosnik <bkoz@redhat.com>
2826 * src/Makefile.am (libstdc___la_LDFLAGS): Use -release instead of
2827 -version-info, use substituted VERSION info.
2828 * src/Makefile.in: Regenerate.
2830 2001-08-07 Benjamin Kosnik <bkoz@redhat.com>
2832 Implement std::messages.
2833 Make config a fully-nested directory.
2834 * config/locale: New directory.
2835 * config/c_locale_generic.cc: Move into locale subdirectory.
2836 * config/c_locale_generic.h: Same.
2837 * config/c_locale_gnu.cc: Same.
2838 * config/c_locale_gnu.h: Same.
2839 * config/c_locale_ieee_1003.1-200x.cc: Same.
2840 * config/c_locale_ieee_1003.1-200x_.h: Same.
2841 * config/codecvt_specializations_generic.h: Same.
2842 * config/codecvt_specializations_ieee_1003.1-200x.h: Same.
2843 * config/messages_members_gnu.h: Same.
2844 * config/messaages_members_gnu.cc: Same.
2845 * config/messages_members_generic.h: Same.
2846 * config/messaages_members_generic.cc: Same.
2847 * config/messages_members_ieee_1003.1-200x.h: Same.
2848 * config/messaages_members_ieee_1003.1-200x.cc: Same.
2849 * config/io: New directory.
2850 * config/basic_file_libio.h: Move into io subdirectory.
2851 * config/basic_file_libio.cc: Same.
2852 * config/c_io_libio.h: Same.
2853 * config/c_io_libio_codecvt.c: Same.
2854 * config/basic_file_stdio.h: Same.
2855 * config/basic_file_stdio.cc: Same.
2856 * config/c_io_stdio.h: Same.
2858 * po: New directory.
2859 * po/POTFILES.in: New file.
2860 * po/Makefile.am: New file.
2861 * po/Makefile.in: New file.
2862 * po/libstdc++.pot: Generic translation file.
2863 * po/fr.po: Preliminary French translation.
2864 * po/de.po: Preliminary German translation.
2865 * intl: New directory.
2866 * intl/Makefile.am: New file.
2867 * intl/Makefile.in: New file.
2868 * intl/string_literals.cc: New file.
2869 * acinclude.m4 (GLIBCPP_CONFIGURE): Bump VERSION to 3.1.0. Add
2870 requisite setup for gettext. Re-arrange.
2871 * aclocal.m4: Regenerate.
2872 * configure.in: Don't call GLIBCPP_CHECK_COMPILER_VERSION.
2873 Output Makefile bits for po and intl.
2874 * configure: Regenerate.
2875 * Makefile.am (SUBDIRS): Add intl, po. Add rule for dist.
2876 * Makefile.in: Regenerate.
2877 * acconfig.h: Add ENABLE_NLS, HAVE_CATGETS, HAVE_GETTEXT, HAVE_STPCPY.
2878 * config.h.in: Regenerate.
2880 * acinclude.m4 (AC_REPLACE_STRINGFUNCS): Remove.
2882 * include/Makefile.am (install-data-local): Don't install Makefile.
2883 * include/Makefile.in: Regenerate.
2885 * include/bits/locale_facet.h (locale::facet::_S_clone_c_locale):
2887 * config/locale/c_locale_gnu.cc (_S_clone_c_locale): Add definition.
2888 * config/locale/c_locale_generic.cc: Same.
2889 * config/locale/c_locale_ieee_1003.1-200x.cc: Same.
2891 * include/bits/codecvt.h: Excise non-standard, non-required
2892 bits. This includes __enc_traits, and partial specializations of
2893 codecvt for __enc_traits.
2894 * src/codecvt.cc (__enc_traits::_S_max_size): Guard
2895 * config/codecvt_partials_ieee_1003.1-200x.h: New file.
2896 * config/codecvt_partials_generic.h: New file.
2897 * include/Makefile.am (allstamps): Add stamp-codecvt_model.
2898 (stamp-codecvt_model): Add.
2899 * include/Makefile.in: Regenerate.
2900 * acinclude.m4 (GLIBCPP_ENABLE_CLOCALE): Add in codecvt configury.
2901 * aclocal.m4: Regenerate.
2902 * configure: Regenerate.
2903 * testsuite/22_locale/codecvt_unicode_wchar_t.cc: Use macro guard.
2904 * testsuite/22_locale/codecvt_unicode_char.cc: Same.
2905 * testsuite/22_locale/ctor_copy_dtor.cc: And here.
2907 * include/bits/localefwd.h (class locale::facet): Add __enc_traits
2908 as a friend for _S_*_c_locale functions.
2909 * include/bits/codecvt.h (__enc_traits::__enc_traits): Add locale
2910 argument to default constructor so that CODESET information can be
2912 * include/bits/locale_facets.h (messages_byname):
2913 Re-implement. Remove specializations.
2914 * src/locale.cc (messages_byname<char>): Remove specialization.
2915 (messages_byname<wchar_t>): Same.
2916 * config/locale/c_locale_ieee_1003.1-200x.cc: New file.
2917 * config/locale/c_locale_ieee_1003.1-200x.h: New file.
2918 * config/locale/messages_members_ieee_1003.1-200x.cc: New file.
2919 * config/locale/messages_members_ieee_1003.1-200x.h: New file.
2920 * config/locale/messages_members_gnu.cc: New file.
2921 * config/locale/messages_members_gnu.h: New file.
2922 * config/locale/messages_members_generic.cc: New file.
2923 * config/locale/messages_members_generic.h: New file.
2925 * docs/html/configopts.html: Add documentation for new locale
2926 model, ieee_1003.1. Adjust other flags for current defaults.
2927 * docs/html/22_locale/locale.html: Update.
2928 * docs/html/22_locale/howto.html: Add link to messages.html. Organize.
2929 * docs/html/22_locale/messages.html: New.
2931 * src/Makefile.am (sources): Add messages_virtuals.cc.
2932 * src/Makefile.in: Regenerate.
2933 * include/Makefile.am (allstamps): Add stamp-messages_model.
2934 (stamp-messages_model): Add.
2935 * include/Makefile.in: Regenerate.
2936 * acinclude.m4 (GLIBCPP_ENABLE_CLOCALE): Add in messages configury.
2937 * aclocal.m4: Regenerate.
2938 * configure: Regenerate.
2940 * testsuite_flags.in (--cxxflags): Add LOCALEDIR.
2941 * testsuite/lib/libstdc++-v3-dg.exp: Remove broken LD_LIBRARY_PATH
2943 * acinclude (GLIBCPP_ENABLE_CLOCALE): Set glibcpp_localedir to the
2944 build directories message catalog base directory, and export.
2945 Eventually this should probably be made to deal with build and
2946 install directories. For now, punt on this as the library itself
2947 doesn't use message catalogs (yet).
2948 * testsuite/22_locale/messages.cc: New file.
2949 * testsuite/22_locale/messages_char_members.cc: New file.
2950 * testsuite/22_locale/messages_byname.cc: New file.
2952 2001-08-06 Phil Edwards <pme@sources.redhat.com>
2954 * acinclude.m4 (GLIBCPP_CONFIGURE_TESTSUITE): New macro, calls...
2955 (GLIBCPP_CHECK_SETRLIMIT): ...this new macro, which also uses...
2956 (GLIBCPP_CHECK_SETRLIMIT_ancilliary): ...this new macro.
2957 * configure.in (AM_CONFIG_HEADER): Also generate testsuite_hooks.h.
2958 Call GLIBCPP_CONFIGURE_TESTSUITE.
2959 * aclocal.m4: Regenerate.
2960 * config.h.in: Regenerate.
2961 * configure: Regenerate.
2963 * testsuite/lib/libstdc++-v3-dg.exp: Download new header instead
2966 * testsuite_flags.in: Add build dir's testsuite to INCLUDES.
2967 * testsuite/debug_assert.h: Removed; contents merged into...
2968 * testsuite/testsuite_hooks.h.in: ...here. New file.
2969 * testsuite/17_intro/header_ciso646.cc: No longer include
2970 debug_assert.h, include testsuite_hooks.h instead.
2971 * testsuite/17_intro/header_fstream.cc: Likewise.
2972 * testsuite/17_intro/header_iomanip.cc: Likewise.
2973 * testsuite/17_intro/header_ios.cc: Likewise.
2974 * testsuite/17_intro/header_iosfwd.cc: Likewise.
2975 * testsuite/17_intro/header_iostream.cc: Likewise.
2976 * testsuite/17_intro/header_istream.cc: Likewise.
2977 * testsuite/17_intro/header_ostream.cc: Likewise.
2978 * testsuite/17_intro/header_sstream.cc: Likewise.
2979 * testsuite/17_intro/header_streambuf.cc: Likewise.
2980 * testsuite/18_support/numeric_limits.cc: Likewise.
2981 * testsuite/19_diagnostics/stdexceptions.cc: Likewise.
2982 * testsuite/20_util/allocator_members.cc: Likewise.
2983 * testsuite/20_util/auto_ptr.cc: Likewise.
2984 * testsuite/20_util/pairs.cc: Likewise.
2985 * testsuite/21_strings/append.cc: Likewise.
2986 * testsuite/21_strings/capacity.cc: Likewise.
2987 * testsuite/21_strings/char_traits_requirements.cc: Likewise.
2988 * testsuite/21_strings/compare.cc: Likewise.
2989 * testsuite/21_strings/ctor_copy_dtor.cc: Likewise. Also set up
2990 call to (disabled) __set_testsuite_memlimit() wrapper.
2991 * testsuite/21_strings/element_access.cc: Likewise.
2992 * testsuite/21_strings/find.cc: Likewise.
2993 * testsuite/21_strings/insert.cc: Likewise. Also set up call to
2994 (disabled) __set_testsuite_memlimit() wrapper.
2995 * testsuite/21_strings/inserters_extractors.cc: Likewise.
2996 * testsuite/21_strings/invariants.cc: Likewise.
2997 * testsuite/21_strings/nonmember.cc: Likewise.
2998 * testsuite/21_strings/operations.cc: Likewise.
2999 * testsuite/21_strings/replace.cc: Likewise.
3000 * testsuite/21_strings/rfind.cc: Likewise.
3001 * testsuite/21_strings/substr.cc: Likewise.
3002 * testsuite/22_locale/codecvt_char_char.cc: Likewise.
3003 * testsuite/22_locale/codecvt_unicode_char.cc: Likewise.
3004 * testsuite/22_locale/codecvt_unicode_wchar_t.cc: Likewise.
3005 * testsuite/22_locale/codecvt_wchar_t_char.cc: Likewise.
3006 * testsuite/22_locale/ctor_copy_dtor.cc: Likewise.
3007 * testsuite/22_locale/ctype_char_members.cc: Likewise.
3008 * testsuite/22_locale/ctype_wchar_t_members.cc: Likewise.
3009 * testsuite/22_locale/facet.cc: Likewise.
3010 * testsuite/22_locale/global_templates.cc: Likewise.
3011 * testsuite/22_locale/members.cc: Likewise.
3012 * testsuite/22_locale/numpunct_byname.cc: Likewise.
3013 * testsuite/22_locale/numpunct_char_members.cc: Likewise.
3014 * testsuite/22_locale/operators.cc: Likewise.
3015 * testsuite/22_locale/static_members.cc: Likewise.
3016 * testsuite/23_containers/bitset_ctor.cc: Likewise.
3017 * testsuite/23_containers/bitset_members.cc: Likewise.
3018 * testsuite/23_containers/bitset_shift.cc: Likewise.
3019 * testsuite/23_containers/vector_capacity.cc: Likewise.
3020 * testsuite/23_containers/vector_ctor.cc: Likewise.
3021 * testsuite/23_containers/vector_element_access.cc: Likewise.
3022 * testsuite/23_containers/vector_modifiers.cc: Likewise.
3023 * testsuite/24_iterators/istreambuf_iterator.cc: Likewise.
3024 * testsuite/24_iterators/iterator.cc: Likewise.
3025 * testsuite/24_iterators/ostreambuf_iterator.cc: Likewise.
3026 * testsuite/25_algorithms/binary_search.cc: Likewise.
3027 * testsuite/25_algorithms/copy.cc: Likewise.
3028 * testsuite/25_algorithms/heap.cc: Likewise.
3029 * testsuite/25_algorithms/lower_bound.cc: Likewise.
3030 * testsuite/25_algorithms/min_max.cc: Likewise.
3031 * testsuite/25_algorithms/partition.cc: Likewise.
3032 * testsuite/25_algorithms/rotate.cc: Likewise.
3033 * testsuite/25_algorithms/sort.cc: Likewise.
3034 * testsuite/26_numerics/c_math.cc: Likewise.
3035 * testsuite/26_numerics/complex_inserters_extractors.cc: Likewise.
3036 * testsuite/26_numerics/complex_value.cc: Likewise.
3037 * testsuite/27_io/filebuf.cc: Likewise.
3038 * testsuite/27_io/filebuf_members.cc: Likewise.
3039 * testsuite/27_io/filebuf_virtuals.cc: Likewise.
3040 * testsuite/27_io/fpos.cc: Likewise.
3041 * testsuite/27_io/fstream_members.cc: Likewise.
3042 * testsuite/27_io/ifstream_members.cc: Likewise.
3043 * testsuite/27_io/ios_base_callbacks.cc: Likewise.
3044 * testsuite/27_io/ios_base_members_static.cc: Likewise.
3045 * testsuite/27_io/ios_base_storage.cc: Likewise.
3046 * testsuite/27_io/ios_ctor.cc: Likewise.
3047 * testsuite/27_io/ios_init.cc: Likewise.
3048 * testsuite/27_io/ios_manip_basefield.cc: Likewise.
3049 * testsuite/27_io/ios_manip_fmtflags.cc: Likewise.
3050 * testsuite/27_io/ios_members.cc: Likewise.
3051 * testsuite/27_io/istream_extractor_arith.cc: Likewise.
3052 * testsuite/27_io/istream_extractor_char.cc: Likewise.
3053 * testsuite/27_io/istream_extractor_other.cc: Likewise.
3054 * testsuite/27_io/istream_manip.cc: Likewise.
3055 * testsuite/27_io/istream_seeks.cc: Likewise.
3056 * testsuite/27_io/istream_sentry.cc: Likewise.
3057 * testsuite/27_io/istream_unformatted.cc: Likewise.
3058 * testsuite/27_io/istringstream_members.cc: Likewise.
3059 * testsuite/27_io/narrow_stream_objects.cc: Likewise.
3060 * testsuite/27_io/ofstream_members.cc: Likewise.
3061 * testsuite/27_io/ostream_inserter_arith.cc: Likewise.
3062 * testsuite/27_io/ostream_inserter_char.cc: Likewise.
3063 * testsuite/27_io/ostream_inserter_other.cc: Likewise.
3064 * testsuite/27_io/ostream_manip.cc: Likewise.
3065 * testsuite/27_io/ostream_seeks.cc: Likewise.
3066 * testsuite/27_io/ostream_unformatted.cc: Likewise.
3067 * testsuite/27_io/ostringstream_members.cc: Likewise.
3068 * testsuite/27_io/streambuf.cc: Likewise.
3069 * testsuite/27_io/stringbuf.cc: Likewise.
3070 * testsuite/27_io/stringbuf_virtuals.cc: Likewise.
3071 * testsuite/27_io/stringstream.cc: Likewise.
3072 * testsuite/27_io/stringstream_members.cc: Likewise.
3073 * testsuite/27_io/wide_stream_objects.cc: Likewise.
3075 2001-07-31 Loren J. Rittle <ljrittle@acm.org>
3077 * src/gen-num-limits.cc: Use __LONG_LONG_MAX__.
3079 2001-07-30 Benjamin Kosnik <bkoz@redhat.com>
3081 * configure.target: Remove mips from cpu table.
3082 * config/cpu/mips/bits/atomicity.h: Remove generic
3083 versions. Comment sgidefs include.
3085 2001-07-25 H.J. Lu <hjl@gnu.org>
3087 * configure.target (cpu_include_dir): Set to `config/cpu/mips'
3090 * config/cpu/mips/bits/atomicity.h: New.
3092 2001-07-25 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
3094 * acinclude.m4: CHECK_MATH_DECL_AND_LINKAGE for hypot, hypotf,
3095 hypotl, atan2f, atan2l. Remove from REPLACE_MATHFUNCS list.
3096 * aclocal.m4: Regenerate.
3097 * config.h.in: Likewise.
3098 * configure: Likewise.
3099 * libmath/Makefile.am (EXTRA_LONG_DOUBLE_yes): Remove hypotl.c
3100 (EXTRA_DIST): Remove hypot.c hypotf.c.
3101 * libmath/Makefile.am: Regenerate.
3102 * libmath/hypotf.c: Remove.
3103 * libmath/hypot.c: Likewise.
3104 * libmath/hypotl.c: Likewise.
3105 * libmath/stubs.c: The macros seen here are HAVE_xxx, not
3106 _GLIBCPP_HAVE_xxx. Add long double versions.
3108 2001-07-23 David Edelsohn <edelsohn@gnu.org>
3110 * include/bits/limits_generic.h (int): Set digits and digits10
3111 appropriately for word size.
3112 (unsigned int,long,unsigned long): Likewise.
3114 2001-07-19 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
3116 * include/bits/stl_algo.h : Fix typos.
3117 * testsuite/25_algorithms/unique.cc: New file.
3119 2001-07-19 Phil Edwards <pme@sources.redhat.com>
3120 Mark Mitchell <mark@codesourcery.com>
3122 Merge from cp-parser-branch.
3123 * include/bits/basic_string.h: Qualify symbols with 'template'.
3124 * include/bits/basic_string.tcc: Likewise.
3125 * include/bits/fstream.tcc: Likewise.
3126 * include/bits/istream.tcc: Likewise.
3127 * include/bits/sstream.tcc: Likewise.
3128 * include/bits/std_istream.h: Likewise.
3129 * include/bits/stl_iterator.h: Likewise.
3130 * include/bits/streambuf.tcc: Likewise.
3131 * src/gen-num-limits.cc: Add 'template<>' to specializations.
3132 * src/locale.cc: Likewise.
3134 2001-07-19 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
3135 Bert De Knuydt <Bert.Deknuydt@esat.kuleuven.ac.be>
3137 * src/gen-num-limits.cc (set_signals_handler): New function.
3138 Factor out signals setting. Set signal handler for SIGILL.
3140 2001-07-18 Phil Edwards <pme@sources.redhat.com>
3142 * docs/html/27_io/howto.html: Fix typo.
3143 * docs/html/faq/index.html: Minor updates for 3.0 all around.
3144 * docs/html/faq/index.txt: Regenerated.
3146 2001-07-18 Stephen M. Webb <stephen@bregmasoft..com>
3147 Roman Sulzhyk <roman_sulzhyk@yahoo.com>
3150 * include/bits/ostream.tcc (ostream::put): Fixed error condition check.
3151 * testsuite/27_io/streambuf.cc (test07): Added new regression test.
3153 2001-07-17 Stephen M. Webb <stephen@bregmasoft.com>r
3155 All occurrences of the __value_type() and __distance_type()
3156 functions, which were required to support the HP STL, have been
3157 removed along with all the auxiliary forwarding functions that
3158 were required to support their use.
3160 The __iterator_category() function was pretty much left alone
3161 because there was no benefit to removing it and its use made code
3162 just a little more readable.
3164 Incidences of distance() with nonstandard argument list were
3165 replaced by calls to the standard function (only in the files
3166 affected by the removal of the other HP functions).
3168 The signature of the rotate() algorithm was changed to match the
3171 Headers were reformatted under C++STYLE guidelines (indentation,
3172 linebreaks, typename keyword).
3174 * include/bits/stl_algo.h: replaced __value_type() and
3175 __distance_type() with iterator_traits, eliminated auxiliary
3176 support functions required to support said function usage.
3177 Changed nonstandard distance() call to standard call.
3179 * include/bits/stl_algobase.h: Same.
3180 * include/bits/stl_heap.h: Same.
3181 * include/bits/stl_numeric.h: Same.
3182 * include/bits/stl_uninitialized.h: Same.
3183 * include/bits/stl_iterator_base_types.h (__value_type()):
3185 (__distance_type()): Removed.
3186 (value_type()): Gone.
3187 (distance_type()): Done in.
3188 (iterator_category()): Hasta la vista, baby.
3190 * include/bits/stl_iterator_base_funcs.h (iterator_category()):
3191 Replaced with __iterator_category().
3192 * include/backward/iterator.h: moved definition of value_type(),
3193 distance_type(), and iterator_category() out of std:: and into
3195 * testsuite/23_containers/vector_ctor.cc (test03): New testcases.
3196 * testsuite/23_containers/vector_modifiers.cc (test03): New testcases.
3197 * testsuite/25_algorithms/rotate.cc: New testcase.
3198 * testsuite/25_algorithms/copy.cc: New testcase.
3199 * testsuite/25_algorithms/sort.cc: Same.
3200 * testsuite/25_algorithms/heap.cc: Same.
3201 * testsuite/25_algorithms/partition.cc: Same.
3202 * testsuite/25_algorithms/binary_search.cc: Same.
3203 * testsuite/26_numerics/sum_diff.cc: Ditto.
3205 001-07-17 Benjamin Kosnik <bkoz@redhat.com>
3207 * testsuite/README: Add notes on naming test cases.
3208 * testsuite/22_locale/members.cc: Mark as xfail.
3209 * testsuite/22_locale/numpunct_char_members.cc: Same.
3211 2001-07-16 Stephen M. Webb <stephen@bregmasoft.com>
3213 * acinclude.m4 (GLIBCPP_ENABLE_CHEADERS): Use glibcpp_srcdir when
3214 setting C_INCLUDE_DIR.
3215 * configure.in: Revert yesterday's LN_S change.
3216 * aclocal.m4: Regenerate.
3217 * configure: Regenerate.
3219 2001-07-15 Phil Edwards <pme@sources.redhat.com>
3221 * configure.in: Temporarily force LN_S to copy instead of symlink.
3222 * configure: Regenerate.
3224 2001-07-13 Phil Edwards <pme@sources.redhat.com>
3226 * include/bits/std_sstream.h (basic_stringbuf::basic_stringbuf(string):
3227 Initialize _M_string with pointer-and-size constructor, not just
3228 pointer. Fix some comments.
3229 * testsuite/21_strings/ctor_copy_dtor.cc (test03): New test.
3230 * testsuite/27_io/stringbuf.cc (test02): Remove unused variable.
3231 (test03): Add embedded-NUL tests.
3233 * mkcheck.in: When printing totals, match the order of the tests.
3234 * include/bits/stringfwd.h: Use same declaration keywords.
3235 * include/bits/std_iosfwd.h: Cosmetic spacing.
3237 2001-07-13 Stephen M. Webb <stephen@bregmasoft.com>
3238 Loren J. Rittle <ljrittle@acm.org>
3239 Phil Edwards <pme@sources.redhat.com>
3241 * include/Makefile.am: New file encapsulating header generation rules.
3242 * Makefile.am (SUBDIRS): Prepend 'include' directory.
3243 * acinclude.m4: Moved/removed rules for building various headers.
3244 * configure.in (AC_OUTPUT): Add include/Makefile.
3245 * mkc++config: Removed.
3247 * testsuite_flags.in: Changed build-includes to match new scheme.
3248 * mknumeric_limits: Likewise.
3249 * libio/Makefile.am: Changed INCLUDES to maatch new header scheme.
3250 * libmath/Makefile.am: Likewise.
3251 * libsupc++/Makefile.am: Likewise.
3252 * src/Makefile.am: Likewise; removed rules to build headers.
3253 * libmath/mathconf.h: Changed #include'd header names to match.
3254 * libmath/stubs.c: Likewise.
3255 * src/gen-num-limits.cc: Likewise.
3257 * configure: Regenerated.
3258 * config.h.in: Regenerated.
3259 * aclocal.m4: Regenerated.
3260 * Makefile.in: Regenerated.
3261 * include/Makefile.in: Regenerated.
3262 * libio/Makefile.in: Regenerated.
3263 * libmath/Makefile.in: Regenerated.
3264 * libsupc++/Makefile.in: Regenerated.
3265 * src/Makefile.in: Regenerated.
3266 * testsuite/Makefile.in: Regenerated.
3268 2001-07-11 Felix Natter <fnatter@gmx.net>
3270 * docs/html/17_intro/porting-howto.xml: Initial checkin of
3272 * docs/html/17_intro/porting-howto.html: check in v0.9.3
3274 2001-07-11 Phil Edwards <pme@sources.redhat.com>
3276 * docs/doxygen/run_doxygen: Don't keep output from previous run.
3277 * docs/doxygen/user.cfg.in: Tweaks.
3278 * include/bits/c++config: Documentation comments for Doxygen.
3279 * include/bits/char_traits.h: Likewise.
3280 * include/bits/limits_generic.h: Likewise.
3281 * include/bits/std_stdexcept.h: Likewise.
3282 * include/bits/stl_pair.h: Likewise.
3283 * libsupc++/exception: Likewise.
3284 * libsupc++/new: Likewise.
3285 * libsupc++/typeinfo: Likewise.
3286 * libmath/Makefile.am: Update and correct copyright.
3288 2001-07-10 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
3290 * acinclude.m4: Don't AC_REPLACE_MATHFUNCS expf and atan2f.
3291 * aclocal.m4: Regenerate.
3294 2001-07-09 Phil Edwards <pme@sources.redhat.com>
3296 * docs/html/configopts.html: Fix thinko.
3297 * docs/html/27_io/howto.html: Fix thinko and HTML markup.
3298 * include/bits/stl_iterator.h: Fix typo.
3300 2001-07-09 Phil Edwards <pme@sources.redhat.com>
3302 * docs/html/explanations.html: New file.
3303 * docs/html/configopts.html: Link to it to provide more notes
3304 on cstdio. Minor markup and spacing fixes.
3305 * docs/html/27_io/howto.html: Talk about sync_with_stdio.
3307 2001-07-09 Kriang Lerdsuwanakij <lerdsuwa@users.sourceforge.net>
3309 * include/bits/valarray_meta.h (_Expr::operator+): Use qualified id
3310 for _Expr template template argument.
3311 (_Expr::operator-): Likewise.
3312 (_Expr::operator~): Likewise.
3313 (_Expr::operator!): Likewise.
3314 (_DEFINE_EXPR_UNARY_OPERATOR): Likewise.
3316 2001-07-06 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
3318 * libmath/Makefile.am (EXTRA_DIST): Remove atan2f.c and expf.c
3319 * libmath/Makefile.in: Regenerate.
3320 * libmath/expf.c: Remove.
3321 * libmath/atan2f.c: Likewise.
3323 2001-07-06 Daniel Jacobowitz <drow@mvista.com>
3325 * configure.in: Remove NATIVE, NULL_TARGET.
3326 Set CANADIAN only for Canadian crosses. Set xcompiling
3327 for both Canadian crosses and host-x-host crosses.
3328 * configure: Regenerated.
3330 2001-07-06 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
3332 * include/bits/stl_vector.h (vector::_M_initialize_aux): Fix typo.
3334 2001-07-05 Jason Merrill <jason_merrill@redhat.com>
3336 * testsuite_flags.in (--build-includes): backward, not backwards.
3338 2001-07-04 Jeffrey Oldham <oldham@codesourcery.com>
3340 * include/ext/ropeimpl.h (_Rope_RopeRep::_M_free_c_string):
3341 Replace destroy by _Destroy.
3342 (_Rope_RopeRep::_S_free_string): Likewise.
3343 (rope::c_str()): Likewise.
3344 * include/ext/slist (_Slist_base::_M_erase_after>): Likewise.
3345 (_Slist_base::_M_erase_after): Likewise.
3346 (slist::_M_create_node): Replace construct by _Construct.
3347 (slist::pop_front): Replace destroy by _Destroy.
3348 * include/ext/stl_hashtable.h (hashtable::_M_new_node): Replace
3349 construct by _Construct.
3350 (hashtable::_M_delete_node): Replace destroy by _Destroy.
3351 * include/ext/stl_rope.h (rope::rope): Replace construct by
3353 (rope::copy): Replace destroy by _Destroy.
3355 2001-07-03 Benjamin Kosnik <bkoz@redhat.com>
3357 * include/bits/localefwd.h: Format.
3358 * include/bits/locale_facts.tcc (locale::combine): Adjust.
3359 * src/locale.cc (locale::locale::(_Impl)): Don't call
3361 (locale::facet::_M_remove_reference): Simplify.
3362 * src/globals.cc (locale_impl_c): New. Format.
3364 * src/ios.cc (ios_base::Init::Init): Increment _S_ios_base_init last.
3366 2001-07-02 Loren J. Rittle <ljrittle@acm.org>
3368 * acinclude.m4 (GLIBCPP_ENABLE_THREADS): Protect variable from shell
3369 expansion (thanks to Alexandre Oliva).
3370 * aclocal.m4: Regenerate.
3371 * configure: Regenerate.
3373 2001-07-02 Benjamin Kosnik <bkoz@redhat.com>
3375 * src/locale.cc (locale::locale(const char*)): Make sure global
3376 locales are initialized.
3377 * include/bits/locale_facets.tcc (locale::combine): Refcout should
3378 be zero, not one as it's return-by-value.
3379 * testsuite/27_io/ios_base_callbacks.cc (test01): Don't check for
3381 * testsuite/22_locale/ctor_copy_dtor.cc (test01): Instead, check
3384 * libsupc++/eh_alloc.cc: Use climits, not limits.h.
3386 2001-07-02 Loren J. Rittle <ljrittle@acm.org>
3389 * acinclude.m4 (GLIBCPP_ENABLE_THREADS): Portability enhancement.
3390 * aclocal.m4: Regenerate.
3391 * configure: Regenerate.
3393 2001-07-02 Loren J. Rittle <ljrittle@acm.org>
3396 * acinclude.m4 (GLIBCPP_ENABLE_THREADS): Add relative path to
3397 staged/installed area to support -I-. Document.
3398 * aclocal.m4: Regenerate.
3399 * configure: Regenerate.
3401 2001-07-02 Loren J. Rittle <ljrittle@acm.org>
3404 * src/ios.cc (ios_base::Init::_S_ios_create): Rename __bufsize to
3405 __out_bufsize. Add __in_bufsize, document it and use it.
3407 2001-07-01 Stephen M. Webb <stephen@bregmasoft.com>
3409 * include/bits/stl_construct.h (construct): Remove.
3411 (__destroy): Replaced by use of iterator_traits.
3412 * include/bits/stl_deque.h: replaced HP iterator functions with
3414 (construct): changed to _Construct.
3415 (destroy): changed to _Destroy.
3416 * include/bits/stl_tempbuf.h: Same.
3417 * include/bits/stl_tree.h: Same.
3418 * include/bits/stl_vector.h: Same.
3419 * include/backward/iterator.h (construct): moved definition to here.
3422 2001-06-29 Benjamin Kosnik <bkoz@redhat.com>
3424 * include/bits/locale_facets.tcc (locale::combine): Clone _Impl.
3425 before replacing facet.
3426 * include/bits/localefwd.h (locale::_Impl::_M_remove_reference):
3428 * src/localename.cc (locale::_Impl): Correct ctor initialization
3429 lists. Initialize ref count with one. Simplify.
3430 * src/locale.cc: Add comment.
3431 * testsuite/22_locale/numpunct.cc (test01): Add derivation test.
3432 * testsuite/22_locale/numpunct_char_members.cc (test01): Add tests.
3433 * testsuite/22_locale/members.cc (test02): Fix.
3435 2001-06-27 Phil Edwards <pme@sources.redhat.com>
3437 * include/backward/algo.h: Add "GPL plus runtime exception" comment
3438 block, this time for real.
3439 * include/backward/algobase.h: Likewise.
3440 * include/backward/alloc.h: Likewise.
3441 * include/backward/bvector.h: Likewise.
3442 * include/backward/defalloc.h: Likewise.
3443 * include/backward/deque.h: Likewise.
3444 * include/backward/function.h: Likewise.
3445 * include/backward/hash_map.h: Likewise.
3446 * include/backward/hash_set.h: Likewise.
3447 * include/backward/hashtable.h: Likewise.
3448 * include/backward/heap.h: Likewise.
3449 * include/backward/iterator.h: Likewise.
3450 * include/backward/list.h: Likewise.
3451 * include/backward/map.h: Likewise.
3452 * include/backward/multimap.h: Likewise.
3453 * include/backward/multiset.h: Likewise.
3454 * include/backward/pair.h: Likewise.
3455 * include/backward/rope.h: Likewise.
3456 * include/backward/set.h: Likewise.
3457 * include/backward/slist.h: Likewise.
3458 * include/backward/stack.h: Likewise.
3459 * include/backward/strstream: Likewise.
3460 * include/backward/tempbuf.h: Likewise.
3461 * include/backward/tree.h: Likewise.
3462 * include/backward/vector.h: Likewise.
3463 * include/bits/pthread_allocimpl.h: Likewise.
3464 * include/bits/std_algorithm.h: Likewise.
3465 * include/bits/std_bitset.h: Likewise.
3466 * include/bits/std_deque.h: Likewise.
3467 * include/bits/std_functional.h: Likewise.
3468 * include/bits/std_iterator.h: Likewise.
3469 * include/bits/std_list.h: Likewise.
3470 * include/bits/std_map.h: Likewise.
3471 * include/bits/std_memory.h: Likewise.
3472 * include/bits/std_numeric.h: Likewise.
3473 * include/bits/std_queue.h: Likewise.
3474 * include/bits/std_set.h: Likewise.
3475 * include/bits/std_stack.h: Likewise.
3476 * include/bits/std_utility.h: Likewise.
3477 * include/bits/std_vector.h: Likewise.
3478 * include/bits/stl_algo.h: Likewise.
3479 * include/bits/stl_algobase.h: Likewise.
3480 * include/bits/stl_alloc.h: Likewise.
3481 * include/bits/stl_bvector.h: Likewise.
3482 * include/bits/stl_construct.h: Likewise.
3483 * include/bits/stl_deque.h: Likewise.
3484 * include/bits/stl_function.h: Likewise.
3485 * include/bits/stl_heap.h: Likewise.
3486 * include/bits/stl_iterator.h: Likewise.
3487 * include/bits/stl_iterator_base_funcs.h: Likewise.
3488 * include/bits/stl_iterator_base_types.h: Likewise.
3489 * include/bits/stl_list.h: Likewise.
3490 * include/bits/stl_map.h: Likewise.
3491 * include/bits/stl_multimap.h: Likewise.
3492 * include/bits/stl_multiset.h: Likewise.
3493 * include/bits/stl_numeric.h: Likewise.
3494 * include/bits/stl_pair.h: Likewise.
3495 * include/bits/stl_pthread_alloc.h: Likewise.
3496 * include/bits/stl_queue.h: Likewise.
3497 * include/bits/stl_raw_storage_iter.h: Likewise.
3498 * include/bits/stl_relops.h: Likewise.
3499 * include/bits/stl_set.h: Likewise.
3500 * include/bits/stl_stack.h: Likewise.
3501 * include/bits/stl_tempbuf.h: Likewise.
3502 * include/bits/stl_threads.h: Likewise.
3503 * include/bits/stl_tree.h: Likewise.
3504 * include/bits/stl_uninitialized.h: Likewise.
3505 * include/bits/stl_vector.h: Likewise.
3506 * include/bits/type_traits.h: Likewise.
3507 * include/ext/hash_map: Likewise.
3508 * include/ext/hash_set: Likewise.
3509 * include/ext/rope: Likewise.
3510 * include/ext/ropeimpl.h: Likewise.
3511 * include/ext/slist: Likewise.
3512 * include/ext/stl_hash_fun.h: Likewise.
3513 * include/ext/stl_hashtable.h: Likewise.
3514 * include/ext/stl_rope.h: Likewise.
3515 * src/bitset.cc: Likewise.
3516 * src/strstream.cc: Likewise.
3518 2001-06-26 Benjamin Kosnik <bkoz@redhat.com>
3519 <vakatov@ncbi.nlm.nih.gov>
3522 * include/bits/streambuf.tcc (__copy_streambufs): Don't set eofbit.
3523 * testsuite/27_io/ostream_inserter_other.cc (test04): Add test.
3524 * testsuite/27_io/istream_extractor_other.cc: Fix.
3526 2001-06-26 Zoltan Hidvegi <hzoli@austin.ibm.com>
3528 * acinclude.m4 (glibcpp_toolexeclibdir): Make multilib safe.
3529 * aclocal.m4: Regenerate.
3530 * configure: Regenerate.
3532 2001-06-26 Benjamin Kosnik <bkoz@redhat.com>
3534 * include/bits/stream_iterator.h (istream_iterator): Add copy ctor.
3535 (ostream_iterator): Same.
3536 * include/bits/stl_iterator.h (front_insert_iterator::operator=):
3537 Change argument to const_reference.
3538 (back_insert_iterator): Same.
3540 2001-06-26 Benjamin Kosnik <bkoz@redhat.com>
3542 * include/bits/sbuf_iter.h: Change to..
3543 * include/bits/streambuf_iterator.h: This.
3544 * include/bits/stl_iterator.h: Take out of here...
3545 * include/bits/stream_iterator.h: Add.
3546 * src/Makefile.am (base_headers): Add streambuf_iterator,
3548 * src/Makefile.in: Regenerate.
3549 * include/bits/std_string.h: Adjust includes.
3550 * include/bits/basic_ios.h: Same.
3551 * include/bits/locale_facets.tcc: Same.
3552 * include/bits/std_iosfwd.h: Same.
3554 * include/bits/std_iterator.h: Add istream, ostream includes.
3555 * include/bits/stl_iterator.h: Tweak.
3556 * testsuite/24_iterators/ostream_iterator.cc: Add test.
3557 * testsuite/24_iterators/istream_iterator.cc: Same.
3558 * testsuite/23_containers/multiset.cc: Add iterator include.
3560 2001-06-26 Phil Edwards <pme@sources.redhat.com>
3562 * acinclude.m4: Clean extraneous tabs, rewrap 'test' lines.
3563 * aclocal.m4: Regenerate.
3564 * configure: Regenerate.
3566 2001-06-26 Felix Natter <f.natter@ndh.net>
3568 * docs/html/17_intro/porting-howto.html: Fixed some errors.
3570 2001-06-26 Benjamin Kosnik <bkoz@redhat.com>
3572 * include/bits/stl_iterator.h (istream_iterator::operator->): Fix
3574 (istream_iterator::operator*): Same.
3576 2001-06-26 Benjamin Kosnik <bkoz@redhat.com>
3577 Alexandre Petit-Bianco <apbianco@redhat.com>
3579 * testsuite/21_strings/element_access.cc (test01): Chill Out Cafe
3580 is on 41st, not 14th.
3582 2001-06-26 Benjamin Kosnik <bkoz@redhat.com>
3584 * include/bits/std_iterator.h: Include sbuf_iter.h via std_ios.h.
3586 * include/bits/stl_iterator.h (istream_iterator): Inherit from
3588 (ostream_iterator): Same.
3589 * testsuite/24_iterators/istream_iterator.cc: New file.
3590 * testsuite/24_iterators/ostream_iterator.cc: New file.
3592 * include/bits/sbuf_iter.h: Remove self typedef.
3593 * testsuite/24_iterators/ostreambuf_iterator.cc: Add test.
3594 * testsuite/24_iterators/istreambuf_iterator.cc: Add test.
3596 * include/bits/stl_iterator.h (reverse_iterator): Remove
3597 extraneous typedefs. Add typename.
3598 (__normal_iterator): Remove typedefs referring to self. Add typename.
3599 (reverse_bidiretional_iterator): Remove, not longer required.
3601 2001-06-26 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
3603 * include/bits/stl_iterator.h (__normal_iterator<>): Qualify
3604 dependent names with `typename'. Bring in various required
3605 iterator_traits members. Can't imagine why that used to work.
3607 2001-06-25 Phil Edwards <pme@sources.redhat.com>
3608 Kurt Garloff <garloff@suse.de>
3611 * src/cmath.cc: New [version of an old] file; instantiate
3612 __cmath_power to start with.
3613 * src/Makefile.am (sources): Add cmath.cc (and alphabetize).
3614 * Makefile.in: Regenerate.
3615 * libio/Makefile.in: Regenerate.
3616 * libmath/Makefile.in: Regenerate.
3617 * libsupc++/Makefile.in: Regenerate.
3618 * src/Makefile.in: Regenerate.
3619 * testsuite/Makefile.in: Regenerate.
3621 2001-06-24 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
3623 * libmath/stubs.c: Fix thinko.
3625 2001-06-24 David Edelsohn <dje@watson.ibm.com>
3627 * libmath/stubs.c (sqrtf): Define.
3628 (tanf): Correct typo.
3630 2001-06-22 Benjamin Kosnik <bkoz@redhat.com>
3632 * include/bits/stl_iterator.h (reverse_iterator): Inherit from
3634 (back_insert_iterator): Same.
3635 (front_insert_iterator): Same.
3636 (insert_iterator): Same.
3638 * testsuite/20_util/raw_storage_iterator.cc: Modify.
3639 * testsuite/24_iterators/reverse_iterator.cc: New file.
3640 * testsuite/24_iterators/back_insert_iterator.cc: New file.
3641 * testsuite/24_iterators/front_insert_iterator.cc: New file.
3642 * testsuite/24_iterators/insert_iterator.cc: New file.
3644 2001-06-22 Phil Edwards <pme@sources.redhat.com>
3646 * include/*: Revert comment/license change from yesterday for all
3647 except libsupc++/unwind-cxx.h.
3648 * src/bitset.cc: Likewise.
3649 * src/strstream.cc: Likewise.
3651 2001-06-22 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
3653 * libmath/stubs.c: New file.
3657 * libmath/Makefile.am (libmath_la_SOURCES): Add.
3658 * libmath/Makefile.in. Regenerate.
3660 2001-06-21 Phil Edwards <pme@sources.redhat.com>
3662 * include/backward/algo.h: Add "GPL plus runtime exception" comment.
3663 * include/backward/algobase.h: Likewise.
3664 * include/backward/alloc.h: Likewise.
3665 * include/backward/bvector.h: Likewise.
3666 * include/backward/defalloc.h: Likewise.
3667 * include/backward/deque.h: Likewise.
3668 * include/backward/function.h: Likewise.
3669 * include/backward/hash_map.h: Likewise.
3670 * include/backward/hash_set.h: Likewise.
3671 * include/backward/hashtable.h: Likewise.
3672 * include/backward/heap.h: Likewise.
3673 * include/backward/iterator.h: Likewise.
3674 * include/backward/list.h: Likewise.
3675 * include/backward/map.h: Likewise.
3676 * include/backward/multimap.h: Likewise.
3677 * include/backward/multiset.h: Likewise.
3678 * include/backward/pair.h: Likewise.
3679 * include/backward/rope.h: Likewise.
3680 * include/backward/set.h: Likewise.
3681 * include/backward/slist.h: Likewise.
3682 * include/backward/stack.h: Likewise.
3683 * include/backward/strstream: Likewise.
3684 * include/backward/tempbuf.h: Likewise.
3685 * include/backward/tree.h: Likewise.
3686 * include/backward/vector.h: Likewise.
3687 * include/bits/pthread_allocimpl.h: Likewise.
3688 * include/bits/std_algorithm.h: Likewise.
3689 * include/bits/std_bitset.h: Likewise.
3690 * include/bits/std_deque.h: Likewise.
3691 * include/bits/std_functional.h: Likewise.
3692 * include/bits/std_iterator.h: Likewise.
3693 * include/bits/std_list.h: Likewise.
3694 * include/bits/std_map.h: Likewise.
3695 * include/bits/std_memory.h: Likewise.
3696 * include/bits/std_numeric.h: Likewise.
3697 * include/bits/std_queue.h: Likewise.
3698 * include/bits/std_set.h: Likewise.
3699 * include/bits/std_stack.h: Likewise.
3700 * include/bits/std_utility.h: Likewise.
3701 * include/bits/std_vector.h: Likewise.
3702 * include/bits/stl_algo.h: Likewise.
3703 * include/bits/stl_algobase.h: Likewise.
3704 * include/bits/stl_alloc.h: Likewise.
3705 * include/bits/stl_bvector.h: Likewise.
3706 * include/bits/stl_construct.h: Likewise.
3707 * include/bits/stl_deque.h: Likewise.
3708 * include/bits/stl_function.h: Likewise.
3709 * include/bits/stl_heap.h: Likewise.
3710 * include/bits/stl_iterator.h: Likewise.
3711 * include/bits/stl_iterator_base_funcs.h: Likewise.
3712 * include/bits/stl_iterator_base_types.h: Likewise.
3713 * include/bits/stl_list.h: Likewise.
3714 * include/bits/stl_map.h: Likewise.
3715 * include/bits/stl_multimap.h: Likewise.
3716 * include/bits/stl_multiset.h: Likewise.
3717 * include/bits/stl_numeric.h: Likewise.
3718 * include/bits/stl_pair.h: Likewise.
3719 * include/bits/stl_pthread_alloc.h: Likewise.
3720 * include/bits/stl_queue.h: Likewise.
3721 * include/bits/stl_raw_storage_iter.h: Likewise.
3722 * include/bits/stl_relops.h: Likewise.
3723 * include/bits/stl_set.h: Likewise.
3724 * include/bits/stl_stack.h: Likewise.
3725 * include/bits/stl_tempbuf.h: Likewise.
3726 * include/bits/stl_threads.h: Likewise.
3727 * include/bits/stl_tree.h: Likewise.
3728 * include/bits/stl_uninitialized.h: Likewise.
3729 * include/bits/stl_vector.h: Likewise.
3730 * include/bits/type_traits.h: Likewise.
3731 * include/ext/hash_map: Likewise.
3732 * include/ext/hash_set: Likewise.
3733 * include/ext/rope: Likewise.
3734 * include/ext/ropeimpl.h: Likewise.
3735 * include/ext/slist: Likewise.
3736 * include/ext/stl_hash_fun.h: Likewise.
3737 * include/ext/stl_hashtable.h: Likewise.
3738 * include/ext/stl_rope.h: Likewise.
3739 * libsupc++/unwind-cxx.h: Likewise.
3740 * src/bitset.cc: Likewise.
3741 * src/strstream.cc: Likewise.
3743 2001-06-21 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
3745 * include/bits/indirect_array.h (indirect_array<>::operator=):
3746 Make copy and assignment operator public. Implement. Format.
3748 * include/bits/valarray_array.h (__valarray_copy): Add overloads
3749 for copy between index arrays. Format.
3751 2001-06-19 Benjamin Kosnik <bkoz@redhat.com>
3753 * mknumeric_limits: Add static definitions, format.
3754 * testsuite/18_support/numeric_limits.cc (test02): Add test.
3756 * include/c_std/bits/std_cwchar.h: Include ctime.
3757 * testsuite/17_intro/header_cwchar.cc : Check.
3759 * include/c_std/bits/std_cwctype.h: Inject wctype.
3760 * testsuite/17_intro/header_cwctype.cc: Update.
3762 2001-06-18 Benjamin Kosnik <bkoz@redhat.com>
3764 * include/bits/stl_raw_storage_iter.h: Format. Correct derivation.
3765 * testsuite/20_util/raw_storage_iterator.cc: Same.
3767 * include/bits/stl_alloc.h (_S_chunk_alloc): Change malloc to
3769 (__mem_interface): New typedef for switching between malloc and new.
3770 * testsuite/20_util/allocator_members.cc: New file.
3772 * testsuite/20_util/comparisons.cc: New file.
3773 * testsuite/20_util/pairs.cc: New file.
3775 2001-06-15 Phil Edwards <pme@sources.redhat.com>
3777 * docs/html/documentation.html: Point to new doxygen'ed collection.
3779 2001-06-14 Nathan Sidwell <nathan@codesourcery.com>
3781 * configure.in (auxdir): Replace by ...
3782 (toprel): ... new variable.
3783 (toplevel_srcdir): Construct from $toprel.
3784 * acinclude.m4 (GLIBCPP_ENABLE_THREADS): Use $toprel
3785 rather than .. to locate gcc source directory.
3786 (GLIBCPP_CONFIGURE): Replace $auxdir with $srcdir/$toprel.
3787 * aclocal.m4, configure: Rebuilt.
3789 2001-06-13 John David Anglin <dave@hiauly1.hia.nrc.ca>
3791 (Approved by Mark and Benjamin. Applied by Loren.)
3793 * src/globals.cc: Define globals _GLIBCPP_mutex_init (),
3794 _GLIBCPP_mutex_address_init (), _GLIBCPP_once, _GLIBCPP_mutex
3795 and _GLIBCPP_mutex_address.
3796 * include/bits/stl_threads.h (_STL_mutex_lock): Use above to provide
3797 once-only runtime initialization of _M_lock mutex when
3798 __GTHREAD_MUTEX_INIT_FUNCTION is defined.
3799 (__STL_MUTEX_INITIALIZER): Provide initializer for _STL_mutex_lock
3800 for __GTHREAD_MUTEX_INIT_FUNCTION case.
3802 2001-06-13 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
3804 * testsuite/26_numerics/slice_array_assignment.cc (main): New test.
3806 * include/bits/slice_array.h (slice_array<>::operator=): Make
3807 public and implement.
3808 (slice_array<>::slice_array): Make copy-constructor public.
3810 * include/bits/valarray_array.h (__valarray_copy): Add another
3811 overload to copy between strided arrays.
3813 2001-06-13 Benjamin Kosnik <bkoz@redhat.com>
3815 * acinclude.m4 (GLIBCPP_CONFIGURE): Bump version to 3.0.0.
3816 * aclocal.m4: Regenerate.
3817 * configure: Regenerate.
3818 * include/bits/c++config (__GLIBCPP__): Update date.
3820 2001-06-12 Benjamin Kosnik <bkoz@redhat.com>
3822 * include/bits/fpos.h (fpos::operator-): Don't return reference,
3823 return original, non-modified version.
3824 (fpos::operator+): Same.
3825 * testsuite/27_io/fpos.cc: Add test.
3827 2001-06-12 Loren J. Rittle <ljrittle@acm.org>
3830 * porting.texi: Add documentation about libstdc++-v3-specific
3831 macros that are currently included in os_defines.h files.
3833 * config/basic_file_stdio.h (sys_getc): New method.
3834 (sys_ungetc): New method.
3835 * include/bits/basic_file.h: (sys_getc): New method signature.
3836 (sys_ungetc): New method signature.
3838 * include/bits/fstream.tcc (underflow): Add conditional code
3839 paths which avoid using short seeks on streams (especially
3840 useful when the stream might be interactive or a pipe). At
3841 the moment, this alternate path only avoids seeking when the
3842 ``buffer size'' of underflow() is 1 since the C standard only
3843 guarantees buffer space for one ungetc (this technique could
3844 be extended since *-*-solaris* supports buffering for 4 calls
3845 to ungetc and *-*-*bsd* supports buffering limited only by
3846 memory resources). Also, _GLIBCPP_AVOID_FSEEK must be defined
3847 in a port's os_defines.h file for this alternate path to even
3848 be considered. As a bonus, the idiom of using getc/ungetc
3849 requires no system calls whereas fseek maps to one or two
3850 system call(s) on many platforms.
3852 * config/os/bsd/freebsd/bits/os_defines.h (_GLIBCPP_AVOID_FSEEK):
3854 * config/os/solaris/solaris2.5/bits/os_defines.h
3855 (_GLIBCPP_AVOID_FSEEK): Likewise.
3856 * config/os/solaris/solaris2.6/bits/os_defines.h
3857 (_GLIBCPP_AVOID_FSEEK): Likewise.
3858 * config/os/solaris/solaris2.7/bits/os_defines.h
3859 (_GLIBCPP_AVOID_FSEEK): Likewise.
3861 2001-06-12 Benjamin Kosnik <bkoz@redhat.com>
3863 * acinclude.m4 (GLIBCPP_CHECK_COMPILER_VERSION): Change to
3864 AC_TRY_COMPILE, so that the built compiler is checked, and
3865 bootstraps or cross compiles with an older compile still work.
3866 * aclocal.m4: Regenerate.
3867 * configure: Regenerate.
3869 2001-06-12 Benjamin Kosnik <bkoz@redhat.com>
3872 * include/bits/std_sstream.h: Add allocator_type, as per DR 251.
3875 * include/bits/istream.tcc (getline, get): Fix as per DR 243.
3878 * include/bits/std_bitset.h (bitset::set): Fix as per DR 186.
3881 * include/bits/limits_generic.h: Fix as per DR 184.
3883 2001-06-11 Benjamin Kosnik <bkoz@redhat.com>
3886 * include/bits/basic_string.h (string::compare): Adjust signatures
3888 * include/bits/basic_string.tcc: And here.
3891 * config/c_io_stdio.h: Remove whitespace.
3892 * testsuite/27_io/istream_seeks.cc (test03): Add regression.
3893 (test02): Add regression.
3894 * testsuite/27_io/istream_seeks-3.tst: New file.
3896 2001-06-11 Phil Edwards <pme@sources.redhat.com>
3898 * README: Update to reflect reality.
3899 * acinclude.m4: Update descriptions, fix typos. Comment changes only.
3900 * configure.in: Make certain target_alias is set and subst'd for 2.50.
3901 * aclocal.m4: Regenerate.
3902 * configure: Regenerate (with 2.13).
3904 2001-06-11 Benjamin Kosnik <bkoz@redhat.com>
3907 * include/bits/ostream.tcc (ostream::seekp): Add error checking as
3909 * include/bits/istream.tcc (istream::seekg): Same.
3910 * testsuite/27_io/istream_seeks.cc: Fix.
3913 * include/bits/stl_function.h (binder2nd): Fix as per DR 109.
3915 * include/bits/std_queue.h: Add c++config.h.
3916 * testsuite/20_util/binders.cc: New test.
3918 2001-06-11 Matthias Klose <doko@debian.org>
3919 Phil Edwards <pme@sources.redhat.com>
3921 * docs/doxygen/run_doxygen (find_doxygen): Tweak version check.
3922 (main script): Echo more information.
3924 2001-06-10 Benjamin Kosnik <bkoz@redhat.com>
3926 * include/c_std/bits/std_cwchar.h: Alphabetize.
3927 * include/bits/char_traits.h: Tweak.
3928 * acinclude.m4 (GLIBCPP_CHECK_WCHAR_T_SUPPORT): Check for
3929 everything used by std_cwchar.h.
3930 * aclocal.m4: Regenerate.
3931 * configure.in: Regenerate.
3932 * config.h.in: Regenerate.
3934 2001-06-10 Benjamin Kosnik <bkoz@redhat.com>
3936 * acinclude.m4 (GLIBCPP_ENABLE_C99): Add stdio.h checking.
3937 Add checking for strtof, _Exit in stdlib.h
3938 * aclocal.m4: Regenerate.
3939 * configure.in: Regenerate.
3940 * include/c_std/bits/std_cstdio.h: Alphabetize lists.
3941 (snprintf): Put C99 functions into __gnu_cxx namespace.
3946 * include/c_std/bits/std_cstdlib.h: Alphabetize lists. Put undefs
3947 for C99 functions within _GLIBCPP_USE_C99 guard.
3951 * include/bits/locale_facets.tcc: Check if C99 is enabled.
3952 * include/c_std/bits/std_cwchar.h (__gnu_cxx): Put undefs within
3954 * include/c_std/bits/cmath.tcc: Formatting tweak.
3955 * include/c_std/bits/std_cmath.h: Same.
3957 2001-06-10 Benjamin Kosnik <bkoz@redhat.com>
3959 * include/c_std/bits/std_cstdio.h: Include cstddef for size_t.
3961 2001-06-09 Alexandre Oliva <aoliva@redhat.com>
3962 Stephen L Moshier <moshier@mediaone.net>
3964 * acinclude.m4 (AC_EXEEXT): Work around in case it expands to
3965 nothing, as in autoconf 2.50.
3966 * configure: Rebuilt.
3968 2001-06-09 Benjamin Kosnik <bkoz@redhat.com>
3970 * include/c_std/bits/std_cwchar.h: Remove size_t injection,
3971 include std_cstddef.
3972 * include/c_std/bits/std_ctime.h: Same.
3973 * include/c_std/bits/std_cstring.h: Same.
3974 * include/c_std/bits/std_cstdlib.h: Same.
3976 * include/c_std/bits/std_cstdio.h: Remove vsnprintf, snprintf.
3977 * include/c_std/bits/std_cctype.h: Remove isblank.
3979 2001-06-09 Benjamin Kosnik <bkoz@redhat.com>
3981 * acinclude.m4 (GLIBCPP_CHECK_WCHAR_T_SUPPORT): Check for fgetwc,
3983 * aclocal.m4: Regenerate.
3984 * configure: Regenerate.
3985 * include/c_std/bits/std_cwchar.h: Remove duplicate fgetwc
3986 injection, guard fgetwc, fgetws.
3987 * include/c_std/bits/std_cstdio.h: Remove superfluous includes.
3988 * include/c_std/bits/std_clocale.h: And here.
3989 * include/c_std/bits/std_cctype.h: And here.
3990 * include/c_std/bits/std_cstdlib.h (strtof): Guard strtof injection.
3992 * config/basic_file_stdio.h: Don't include unistd.h.
3993 * config/c_io_stdio.h: Don't use compatibility headers.
3994 * libsupc++/eh_terminate.cc: Qualify abort.
3995 (__terminate): And here.
3996 * libsupc++/eh_catch.cc (__cxa_end_catch): Qualify abort.
3998 2001-06-08 Benjamin Kosnik <bkoz@redhat.com>
4000 * include/c_std/bits/std_cstdlib.h: Remove _Exit, strtof injections.
4002 2001-06-08 Benjamin Kosnik <bkoz@redhat.com>
4007 * include/std/*: Add copyright notice.
4008 * include/c_std/bits/*: Use using statements instead of extern "C".
4009 * include/c_std/bits/std_cmath.h: Don't overload double versions
4010 of math functions with __buitin versions, use global version to
4011 prevent ambiguities. Remove define hacks.
4012 * include/c_std/bits/std_cwchar.h: Using declarations for "C"
4013 functions that have changed signatures and std::
4014 declarations. Remove define hacks.
4015 * include/c_std/bits/std_cwchar.h: Same, plus remove ambiguous
4016 __builtins in std::. Remove define hacks.
4017 * testsuite/17_intro/headers_c.cc: Add tests.
4018 * testsuite/17_intro/headers_c++.cc: Add test.
4020 2001-06-07 Loren J. Rittle <ljrittle@acm.org>
4021 John David Anglin <dave@hiauly1.hia.nrc.ca>
4024 * libsupc++/eh_alloc.cc: Ensure that required macros are
4025 defined before including gthr.h. Ensure that we get the
4026 version of gthr.h for which we know how to provide a
4028 * libsupc++/eh_globals.cc: Likewise. And, bring the threading
4029 code path into line with the current EH model. Use std, where
4032 2001-06-07 Loren J. Rittle <ljrittle@acm.org>
4033 John David Anglin <dave@hiauly1.hia.nrc.ca>
4035 * config/threads-no.h: Remove file.
4036 * config/threads-posix.h: Remove file.
4038 * acconfig.h (_GLIBCPP_USE_THREADS): Remove.
4039 (_GLIBCPP_SUPPORTS_WEAK): Add (required by namespace-clean gthr*.h).
4040 (_GLIBCPP_HAVE_GTHR_DEFAULT): Likewise.
4041 * config.h.in: Regenerate.
4043 * acinclude.m4 (GLIBCPP_ENABLE_THREADS): Completely rework to
4044 setup and use gthr*.h files. In particular, make gthr.h files
4045 namespace-clean in the staging area (they don't have to be for
4047 * aclocal.m4: Regenerate.
4048 * configure: Regenerate.
4050 * src/Makefile.am (build_headers): Remove bits/c++threads.h
4051 and add bits/gthr.h bits/gthr-single.h bits/gthr-default.h.
4052 * src/Makefile.in: Regenerate.
4054 * include/bits/c++config: Cleanup threading configuration macros.
4055 In particular, define __STL_GTHREADS macro which controls...
4056 * include/bits/stl_threads.h: ...a brand new gthr.h-based
4059 * config/c_io_stdio.h: Include staged gthr.h instead of local
4060 thread configuration file. Always use __gthread_mutex_t
4061 instead of __mutext_type (or int).
4062 * include/bits/std_fstream.h: Likewise.
4064 * docs/html/17_intro/howto.html: Remove placeholder comment in
4065 case this configuration patch didn't make it. Add advice that
4066 section only applies if configured with --enable-threads.
4067 * docs/html/23_containers/howto.html: Reword to make clear
4068 that _PTHREADS is no longer required for any port to be
4069 correctly using STL with threads. Add advice that section
4070 only applies if configured with --enable-threads.
4072 2001-06-06 Benjamin Kosnik <bkoz@redhat.com>
4074 * src/string-inst.cc (_Rep::_S_max_size): Add instantiation.
4076 2001-06-05 Benjamin Kosnik <bkoz@redhat.com>
4079 * include/bits/basic_ios.tcc: Formatting tweaks.
4080 * include/bits/ios_base.h: Formatting tweaks.
4081 * src/ios.cc (ios_base::Init::_S_ios_create): Use filebufs here.
4082 (ios_base::Init::_S_ios_destroy): ..and here. Explicitly call dtors.
4083 * src/globals.cc: Allocate filebufs for standard streams here.
4084 (buf_cout, buf_cin, buf_cerr): Like so.
4085 (buf_wcout, buf_wcin, buf_wcerr): And so.
4086 * testsuite/27_io/ios_init.cc: Add.
4088 2001-06-04 Brendan Kehoe <brendan@zen.org>
4089 Benjamin Kosnik <bkoz@redhat.com>
4092 * include/bits/locale_facets.h (ctype<_CharT>): Add definitions
4093 for generic ctype virtuals.
4094 * src/locale.cc: Minor tweaks, naming consistency.
4095 * testsuite/22_locale/ctype.cc: Add test.
4097 2001-06-04 Kenny Simpson <theonetruekenny@yahoo.com>
4098 Phil Edwards <pme@sources.redhat.com>
4100 PR libstdc++/3035 and PR libstdc++/3036
4101 * include/bits/stl_pair.h: Fix pair ctor and make_pair according
4102 to LWG DR 181 and 265.
4104 2001-06-04 Phil Edwards <pme@sources.redhat.com>
4107 * include/bits/stl_multiset.h (find, lower_bound, upper_bound,
4108 equal_range): Add const overloads as per LWG DR 214.
4109 * include/bits/stl_set.h: Likewise.
4111 2001-06-04 Brendan Kehoe <brendan@zen.org>
4112 Phil Edwards <pme@sources.redhat.com>
4115 * include/bits/std_bitset.h (bitset::test): Fix __pos >= _Nb
4116 comparison; all positions must be < _Nb.
4117 * testsuite/23_containers/bitset_members.cc: New file.
4119 2001-06-04 Brendan Kehoe <brendan@zen.org>
4122 * include/bits/stl_queue.h (classes queue, priority_queue): Fix
4123 ctors to match the standard.
4125 2001-06-04 Jeffrey Oldham <oldham@codesourcery.com>
4127 * include/bits/char_traits.h (move): Reverse qualification of
4129 (copy): Reverse qualification of memcpy with std::.
4131 2001-06-04 Jeffrey Oldham <oldham@codesourcery.com>
4133 * include/bits/char_traits.h (move): Qualify memmove with std::.
4134 (copy): Qualify memcpy with std::.
4135 * testsuite/27_io/filebuf_virtuals.cc (test01): Qualify strlen and
4138 * testsuite/27_io/stringbuf_virtuals.cc (test01): Likewise.
4140 2001-06-04 Hans-Peter Nilsson <hp@axis.com>
4142 * libsupc++/Makefile.am (install-glibcppinstallHEADERS,
4143 uninstall-glibcppinstallHEADERS): Have explicit rules catering to
4144 SUN make VPATH peculiarities.
4145 * libsupc++/Makefile.in: Regenerate.
4147 2001-06-01 Hans-Peter Nilsson <hp@axis.com>
4149 * src/Makefile.am (VPATH): Delimit with ":", not space.
4150 * src/Makefile.in: Regenerate.
4152 * configure.in (use of GLIBCPP_CHECK_GNU_MAKE): Don't fail if GNU
4154 * configure: Regenerate.
4156 2001-05-31 scott snyder <snyder@fnal.gov>
4159 * include/bits/istream.tcc: Include std_ostream.h.
4161 2001-05-31 Benjamin Kosnik <bkoz@redhat.com>
4164 * src/bitset.cc: Qualify size_t with std::.
4166 2001-05-30 Benjamin Kosnik <bkoz@redhat.com>
4168 * acconfig.h (_GLIBCPP_BUGGY_FLOAT_COMPLEX): Remove.
4169 (_GLIBCPP_BUGGY_COMPLEX): Remove.
4170 * config.h.in: Regenerate.
4171 * acinclude.m4 (GLIBCPP_CHECK_COMPLEX_MATH_COMPILER_SUPPORT): Remove.
4172 * aclocal.m4: Regenerate.
4173 * configure.in: Don't call it.
4174 * configure: Regenerate.
4177 * src/complex_io.cc (operator<<(ostream&, const complex&): Fix.
4178 * testsuite/26_numerics/complex_inserters_extractors.cc (test01):
4182 * include/bits/std_complex.h: Include sstream. Put definitions for
4183 complex inserters and extractors here, and remove them from...
4184 * src/complex_io.cc: ...here.
4185 * include/bits/basic_ios.h (basic_ios::__numput_type): Add _Traits
4187 (basic_ios::__numget_type): Same.
4188 * include/bits/std_istream.h: Same.
4189 * include/bits/std_ostream.h: Same.
4190 * include/bits/sbuf_iter.h (ostreambuf_iterator): Fix typo in base
4191 class iterator template arguments.
4192 * src/locale-inst.cc: Add explicit has_facet instantiations.
4193 * include/bits/basic_ios.h (basic_ios::_M_get_fctype_ios): Remove.
4194 (_M_get_fnumput): Remove.
4195 (_M_get_fnumget): Remove.
4196 (basic_ios::_M_check_facet): New function.
4197 (basic_ios::_M_cache_facets): New function.
4198 * include/bits/basic_ios.tcc: Definition for _M_cache_facets.
4199 (basic_ios::imbue): Call _M_cache_facets.
4200 (basic_ios::init): Same.
4201 * include/bits/istream.tcc: Format, use _M_check_facet.
4202 * include/bits/ostream.tcc: Same.
4203 * include/bits/locale_facets.tcc (__output_float): Change
4204 signature, add _Traits.
4205 * testsuite/26_numerics/complex_inserters_extractors.cc (test02):
4208 2001-05-30 Loren J. Rittle <ljrittle@acm.org>
4210 * include/bits/c++config (__USE_MALLOC): Do not define it.
4211 Document why not and give pointers to more information.
4213 * docs/html/23_containers/howto.html: Update documentation
4214 to reflect recent understanding of problem.
4215 * docs/html/17_intro/howto.html: Likewise.
4217 2001-05-30 Phil Edwards <pme@sources.redhat.com>
4219 * docs/doxygen/user.cfg.in: Minor addition.
4220 * docs/html/documentation.html: Reorganize. Put most-looked-at
4222 * docs/html/install.html: Update for 3.0. HTML fixups.
4223 * docs/html/17_intro/howto.html: Likewise.
4224 * docs/html/18_support/howto.html: Likewise.
4225 * docs/html/19_diagnostics/howto.html: Likewise.
4226 * docs/html/20_util/howto.html: Likewise.
4227 * docs/html/23_containers/howto.html: Likewise.
4228 * docs/html/24_iterators/howto.html: Likewise. More notes.
4229 * docs/html/25_algorithms/howto.html: Likewise.
4230 * docs/html/26_numerics/howto.html: Likewise. More notes.
4231 * docs/html/27_io/howto.html: Likewise.
4232 * docs/html/ext/howto.html: Likewise.
4233 * docs/html/faq/index.html: Likewise.
4234 * docs/html/faq/index.txt: Regenerate.
4235 * docs/html/27_io/iostreams_hierarchy.pdf: Remove in favor of
4236 Doxygen-created documentation.
4238 2001-05-30 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
4240 * testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3-init): Use
4241 get_multilibs to find gcc.
4243 2001-05-30 Phil Edwards <pme@sources.redhat.com>
4245 * acinclude.m4 (GLIBCPP_ENABLE_C99): Reorder output messages.
4246 * aclocal.m4: Regenerate.
4247 * configure: Regenerate.
4249 2001-05-29 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
4251 * include/c_std/bits/std_cstdlib.h:: Move C99 thingies to __gnu_cxx::.
4252 * include/c_std/bits/std_cwchar.h (__gnu_cxx): Likewise.
4254 2001-05-27 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
4256 * include/c_std/bits/std_cmath.h: Move C99 functions in __gnu_cxx::.
4257 * include/c_std/bits/std_cstdlib.h: Same.
4258 * include/c_std/bits/std_cwchar.h: Same.
4260 2001-05-30 Loren J. Rittle <ljrittle@acm.org>
4262 * docs/html/17_intro/howto.html: Update link.
4263 * docs/html/23_containers/howto.html: Likewise. Add new link.
4265 2001-05-26 Gabriel Dos Reis <gdr@codesourcery.com>
4267 * include/c_std/bits/std_cmath.h (sqrt): #undef.
4269 2001-05-23 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
4271 * mknumeric_limits: Stop if gen-num-limits dies.
4273 2001-05-25 Benjamin Kosnik <bkoz@redhat.com>
4276 * acinclude.m4 (GLIBCPP_ENABLE_C99): Use AC_TRY_COMPILE.
4277 * aclocal.m4: Regenerate.
4280 2001-05-24 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
4281 Phil Edwards <pme@sources.redhat.com>
4282 Alexandre Oliva <aoliva@redhat.com>
4284 * acinclude.m4 (GLIBCPP_EXPORT_INSTALL_INFO): Set glibcpp_srcdir
4285 in an amd-safe manner. Revert glibcpp_prefixdir.
4287 2001-05-25 Gabriel Dos Reis <gdr@codesourcery.com>
4289 * include/c_std/bits/std_cmath.h: Tweak. #define away abs, cos,
4290 fabs, sin, sqrt. They are now implemented in terms of __builtin_
4293 2001-05-24 Benjamin Kosnik <bkoz@redhat.com>
4296 * testsuite/21_strings/inserters_extractors.cc (test09): New test.
4297 * include/bits/ostream.tcc: Format to match istream.tcc.
4298 (operator<<(basic_ostream __out, const basic_string __s)): Fix.
4300 2001-05-24 Phil Edwards <pme@sources.redhat.com>
4302 * libsupc++/eh_alloc.cc (__cxa_allocate_exception): Qualify
4304 (__cxa_free_exception): Likewise with free.
4306 2001-05-24 Mark Mitchell <mark@codesourcery.com>
4308 * include/c_std/bin/std_cstring.h: #define away all global
4309 functions we will redeclare in namespace `std'.
4310 * libsupc++/eh_alloc.cc (__cxa_allocate_exception): Use
4311 std::memset, instead of memset.
4312 * testsuite/19_diagnostics/stdexceptions.cc: Use `std::strcmp',
4314 * testsuite/21_strings/c_strings.cc: Use `std::strcpy' instead of
4317 2001-05-24 Benjamin Kosnik <bkoz@redhat.com>
4320 * include/bits/basic_ios.tcc: Small tweak.
4321 * include/bits/std_fstream.h (ifstream): Add buffer member. Adjust
4322 ctors and dtors, and rdbuf settings.
4325 * include/bits/std_sstream.h: Same, but for stringstream classes.
4326 * testsuite/27_io/ostringstream_members.cc: New.
4327 * testsuite/27_io/stringstream_members.cc: New.
4328 * testsuite/27_io/fstream_members.cc: New.
4329 * testsuite/27_io/ifstream_members.cc: Add test.
4330 * testsuite/27_io/istringstream_members.cc: Add test.
4331 * testsuite/27_io/ofstream_members.cc: Add test.
4333 2001-05-24 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
4335 * include/bits/c++config(__NO_MATH_INLINES): Move to...
4336 * config/os/gnu-linux/bits/os_defines.h: ...here.
4338 2001-05-24 Gabriel Dos Reis <gdr@codesourcery.com>
4340 * include/bits/c++config (__NO_MATH_INLINES): New macro.
4341 * testsuite/26_numerics/fabs_inline.cc (main): New test.
4343 2001-05-22 Benjamin Kosnik <bkoz@redhat.com>
4346 * testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3-init): Set
4348 (libstdc++-v3_set_ld_library_path): New, copied from g++.exp.
4349 (libstdc++-v3-finish): Remove.
4350 (libstdc++-v3_exit): Remove.
4352 2001-05-22 Phil Edwards <pme@sources.redhat.com>
4354 * docs/html/documentation.html: Point to doxygen output.
4356 2001-05-21 Benjamin Kosnik <bkoz@redhat.com>
4358 * mkcheck.in (static_fail): Remove S_FLAG decoration on output.
4360 * include/bits/std_sstream.h (stringbuf::setbuf): Require both
4361 arguments to be non-null.
4362 * include/bits/fstream.tcc (filebuf::_M_allocate_buffers): Only
4363 try allocations if allocated size is greater than zero.
4364 (filebuf::_M_filebuf_init): Change to
4365 (filebuf::_M_allocate_file): Which is what it does now.
4366 (filebuf::_M_allocate_bufers): Change to
4367 (filebuf::_M_allocate_internal_buffer): This, and create
4368 (filebuf::_M_allocate_pback_buffer): New.
4369 (filebuf::_M_destroy_internal_buffer): New.
4370 (filebuf::_M_buf_allocated): New data member.
4371 (filebuf::setbuf): Use new logic, allow use of external buffer.
4372 * testsuite/27_io/stringbuf_virtuals.cc: New file.
4373 * testsuite/27_io/filebuf_virtuals.cc: New file.
4375 2001-05-21 Stephen M. Webb <stephen@bregmasoft.com>
4377 * include/c_std/bits/std_cstring.h (memchr): Define "C" functions to
4379 (strchr): Same, but to __glibcpp_strchr.
4383 * include/c_std/bits/std_cwchar.h (wcschr): Same.
4389 2001-05-21 Benjamin Kosnik <bkoz@redhat.com>
4391 * testsuite/21_strings/c_strings.cc (main): Fix.
4393 2001-05-19 Phil Edwards <pme@sources.redhat.com>
4395 * acinclude.m4: Fix --help spacing, correct comments.
4396 * aclocal.m4: Regenerate.
4397 * configure: Regenerate.
4398 * mkcheck.in: Add usage comments.
4399 * docs/html/documentation.html: Point to doxygen'd tarball.
4401 2001-05-18 Benjamin Kosnik <bkoz@redhat.com>
4403 * testsuite/README: Add notes.
4405 * src/Makefile.am (libstdc++.INC): Remove.
4406 * src/Makefile.in: Regenerate.
4408 Phil Edwards <pedwards@disaster.jaj.com>
4409 * mkcheck.in: Add missing '#'.
4411 2001-05-18 Angela Marie Thomas <angela@cygnus.com>
4413 * testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3-init): Set flags
4414 appropriately for remote testing and testing installed files without
4417 2001-05-18 Benjamin Kosnik <bkoz@redhat.com>
4419 * acinclude.m4 (GLIBCPP_EXPORT_INSTALL_INFO): Set glibcpp_srcdir
4420 amd glibcpp_prefixdir with absolute paths.
4422 * include/bits/c++config (__GLIBCPP__): Bump.
4423 * acinclude.m4 (GLIBCPP_CONFIGURE): Correct version number.
4425 2001-05-18 Gabriel Dos Reis <gdr@codesourcery.com>
4427 * include/bits/std_valarray.h (valarray<>::operator[] const):
4428 Return a const reference.
4429 * testsuite/26_numerics/valarray_const_bracket.cc: New test.
4431 2001-05-18 Alexandre Oliva <aoliva@redhat.com>
4433 * configure.target (ATOMICITYH): Actually use AIX-specific code on
4434 earlier versions of AIX 4.*.
4436 2001-05-18 Angela Marie Thomas <angela@cygnus.com>
4438 * testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3-dg-test): Set
4439 output_file based on the name of the testcase.
4441 2001-05-18 Angela Marie Thomas <angela@cygnus.com>
4443 * testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3-init): Build
4444 gluefile and use it if needs_status_wrapper is set.
4446 2001-05-18 Alexandre Oliva <aoliva@redhat.com>
4448 * configure.target (ATOMICITYH): Use cpu/generic code on earlier
4451 2001-05-17 Alexandre Oliva <aoliva@redhat.com>
4453 * configure.target (ATOMICITYH): Don't use AIX 4.3-specific code
4454 on earlier versions of AIX.
4456 2001-05-15 Benjamin Kosnik <bkoz@redhat.com>
4458 * testsuite_flags.in (query): Add backwards, ext directories.
4460 2001-05-15 Mark Mitchell <mark@codesourcery.com>
4462 * porting.texi: Correct documentation about handling
4463 _LARRGEFILE_SOURCE and its ilk.
4464 * config/os/solaris/solaris2.5/bits/os_defines.h: Remove
4465 definitions of _XOPEN_SOURCE, _LARGEFILE64_SOURCE, and
4467 * config/os/solaris/solaris2.6/bits/os_defines.h: Likewise.
4468 * config/os/solaris/solaris2.7/bits/os_defines.h: Likewise.
4470 2001-05-15 Zack Weinberg <zackw@stanford.edu>
4472 * testsuite/21_strings/inserters_extractors.cc,
4473 testsuite/27_io/istream_unformatted.cc,
4474 testsuite/27_io/stringstream.cc:
4475 Replace multi-line string constants with C89-style
4476 concatenated string constants.
4478 2001-05-14 Richard Henderson <rth@redhat.com>
4480 * mknumeric_limits: Build with -fno-exceptions.
4482 2001-05-13 Benjamin Kosnik <bkoz@redhat.com>
4484 Switch over to new harness.
4485 * testsuite_flags.in: Tweaks via Gaby.
4486 * testsuite/Makefile.am: Change tool to libstdc++-v3.
4487 (EXPECT): Quote directly.
4489 * configure.in: Output testsuite_flags.
4490 * acinclude.m4: Substitute src, bld, and prefix dirs.
4491 Remove glibcpp_expect, glibcpp_runtestflags.
4492 * Makefile.am (RUNTESTFLAGS): Pass this down to subdirs.
4493 * mkcheck.in: Port to new interface.
4495 * aclocal.m4: Regerate.
4496 * configure: Regnerate.
4497 * Makefile.in: Regnerate.
4498 * */Makefile.in: Regenerate.
4500 * tests_flags.in: Remove.
4501 * testsuite/lib/libstdc++.exp: Remove.
4502 * testsuite/libstdc++.tests/tests.exp: Remove.
4504 2001-05-13 Alexandre Oliva <aoliva@redhat.com>
4506 * configure.target: Remove detection of AIX pthread multilib, now
4507 obtained from `gcc -v'.
4509 2001-05-13 John David Anglin <dave@hiauly1.hia.nrc.ca>
4511 * mkcheck.in (setup_size_command): Use Berkeley "-B" mode with GNU
4512 size. Add hpux case for HP size.
4514 2001-05-11 Benjamin Kosnik <bkoz@redhat.com>
4516 * testsuite_flags.in: New, simplified interface.
4517 * testsuite/lib/libstdc++-v3-dg.exp: New test harness.
4518 * testsuite/libstdc++-v3.dg: Add.
4519 * testsuite/libstdc++-v3.dg/dg.exp: Add.
4521 2001-05-11 Benjamin Kosnik <bkoz@redhat.com>
4523 * testsuite/*/*.cc: Remove spaces, make sure testcases return zero.
4524 * testsuite/config/default.exp: Update bugs email address.
4526 2001-05-11 Richard Henderson <rth@redhat.com>
4528 * libsupc++/eh_personality.cc: Include unwind-pe.h. Remove
4529 all pointer encoding logic.
4530 (struct lsda_header_info): Add ttype_base.
4531 (get_ttype_entry): Use it instead of a context.
4532 (check_exception_spec): Likewise.
4533 (PERSONALITY_FUNCTION): Initialize ttype_base. Store it in
4534 the c++ exception header for __cxa_call_unexpected.
4535 (__cxa_call_unexpected): Use it.
4537 2001-05-09 Benjamin Kosnik <bkoz@redhat.com>
4539 * testsuite/lib/libstdc++.exp: Use libgloss.exp. Call
4540 libgloss_link_flags to find crt0.o for targets that use libgloss
4542 Change LDFLAGS to LIBS.
4543 Consistently name procedures libstdc++-XXX.
4544 * testsuite/libstdc++.tests/tests.exp: Use new procedure names.
4546 2001-05-08 Benjamin Kosnik <bkoz@fillmore.constant.com>
4548 * include/c_std/bits/std_cstring.h (memchr): Correct definitions.
4553 * include/c_std/bits/std_cwchar.h (wcschr): Same.
4558 * testsuite/21_strings/c_strings.cc: Add tests.
4560 2001-05-07 Benjamin Kosnik <bkoz@redhat.com>
4563 * include/bits/std_fstream.h (basic_filebuf): Change signature.
4564 * include/bits/fstream.tcc (basic_filebuf): Change bool argument
4565 to int_type, pass in buffer size info.
4566 * include/bits/std_streambuf.h (_M_is_indeterminate): Check for
4567 unbuffered situation.
4568 (underflow): Remove codecvt bits for the time being.
4569 * include/bits/istream.tcc (istream::sentry): Avoid sputbackc call.
4570 * include/bits/locale_facets.tcc (_M_extract): Cache dereference
4571 values from iterators, clean.
4572 * src/locale.cc: Ditto.
4573 * include/bits/sbuf_iter.h: Format.
4574 * src/ios.cc: Explicitly pass in buffer sizes at creation time.
4575 * testsuite/27_io/narrow_stream_objects.cc: Add tests.
4576 * testsuite/27_io/filebuf.cc: Tweaks.
4577 * testsuite/27_io/filebuf_members.cc: Tweaks.
4579 2001-05-07 Mark Mitchell <mark@codesourcery.com>
4581 * config/os/solaris/solaris2.7/bits/os_defines.h
4582 (_LARGEFILE_SOURCE): Define it.
4584 2001-05-03 Alexandre Oliva <aoliva@redhat.com>
4586 * configure.in (LIBSUPCXX_PICFLAGS): Set it to -prefer-pic or
4587 -prefer-non-pic depending on whether libtool has shared libraries
4588 enabled or disabled.
4589 * libsupc++/Makefile.am (LIBSUPCXX_CXXFLAGS): Set to
4590 $(LIBSUPCXX_PICFLAGS).
4591 * configure, */Makefile.in: Rebuilt.
4593 2001-05-01 Benjamin Kosnik <bkoz@redhat.com>
4595 * include/bits/sbuf_iter.h (istreambuf_iterator): Correct.
4596 * testsuite/24_iterators/istreambuf_iterator.cc (test02): Add test.
4598 * include/bits/std_sstream.h (stringbuf): Leak
4600 * testsuite/24_iterators/ostreambuf_iterator.cc: Correct.
4602 2001-05-01 Tom Browder <tbrowder@home.com>
4604 * docs/html/ext/howto.html: Fix typo.
4606 2001-05-01 Gabriel Dos Reis <gdr@codesourcery.com>
4608 * testsuite/libstdc++.tests/tests.exp: Add comment.
4610 2001-05-01 Gabriel Dos Reis <gdr@codesourcery.com>
4612 * testsuite/libstdc++.tests/tests.exp: Set ulimits.
4614 2001-04-30 Mark Mitchell <mark@codesourcery.com>
4616 * porting.texi: Use the GFDL.
4618 2001-04-30 Benjamin Kosnik <bkoz@redhat.com>
4621 * testsuite/24_iterators/ostreambuf_iterator.cc: New file.
4622 * include/bits/sbuf_iter.h (ostreambuf_iterator): Remove bogus
4625 2001-04-30 Benjamin Kosnik <bkoz@redhat.com>
4628 * include/bits/stl_iterator_base_funcs.h (__advance): Fix.
4630 2001-04-28 Phil Edwards <pme@sources.redhat.com>
4632 * docs/doxygen/run_doxygen: Minor tweaks.
4633 * docs/doxygen/style.css: New file.
4634 * docs/doxygen/user.cfg.in: Update using "doxygen -u" to get the
4635 latest parameters available. Use style.css.
4637 2001-04-27 Benjamin Kosnik <bkoz@redhat.com>
4639 * docs/doxygen/mainpage.doxy: New.
4640 * docs/doxygen/user.cfg.in: Change default configuration. Single
4641 frame, other tweaks.
4643 2001-04-26 Mark Mitchell <mark@codesourcery.com>
4645 * docs/html/17_intro/BADNAMES: Remove EGCS reference.
4646 Indicate obsolete nature of thelist for G++ 3.0.
4648 2001-04-26 Alexandre Oliva <aoliva@redhat.com>
4650 * acinclude.m4 (GLIBCPP_ENABLE_THREADS): Obtain
4651 target_thread_file with `gcc -v'.
4652 * aclocal.m4, configure: Rebuilt.
4654 2001-04-25 Benjamin Kosnik <bkoz@redhat.com>
4656 * include/c_std/bits/std_cmath.h (std): Explicitly inject c99 names.
4657 * include/c_std/bits/std_cstdlib.h (std): Same, except for llabs.
4658 * include/c_std/bits/std_cwchar.h (std): Same.
4659 * acconfig.h (std): Remove c99 injection into std.
4660 * config.h.in: Regenerate.
4662 * testsuite/README: Fix typo.
4664 * include/bits/codecvt.h: Remove warnings.
4666 2001-04-24 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
4668 * include/ext/slist: Include required header files.
4670 2001-04-23 Loren J. Rittle <ljrittle@acm.org>
4672 * include/c_std/bits/std_cerrno.h (errno): Define macro from
4673 identifier declared with external linkage, if needed.
4674 * include/c_std/bits/std_csetjmp.h (setjmp): Likewise.
4675 * include/c_std/bits/std_cstdarg.h (va_end): Likewise.
4677 2001-04-23 Benjamin Kosnik <bkoz@fillmore.constant.com>
4679 * acinclude.m4 (CXX): Set to glibcpp_CXX so that in-directory
4680 re-configures find the build compiler.
4681 (GLIBCPP_ENABLE_C99): Do all fp-tests with 0.0, not 0. Fixes
4683 * aclocal.m4: Regenerate.
4684 * configure: Regenerate.
4686 2001-04-20 Benjamin Kosnik <bkoz@redhat.com>
4688 * acinclude.m4 (GLIBCPP_ENABLE_LONG_LONG): Make sure required C99
4689 support is enabled correctly before long long is activated.
4690 * aclocal.m4: Regenerate.
4691 * configure: Regenerate.
4693 * include/backward/backward_warning.h: Format correctly.
4695 * testsuite/26_numerics/c99_classification_macros_c.cc: Add.
4696 * testsuite/26_numerics/c99_classification_macros_c++.cc: Add.
4697 * testsuite/26_numerics/c99_macros.cc: Remove.
4699 2001-04-20 Phil Edwards <pme@sources.redhat.com>
4701 * include/bits/stl_bvector.h: Replace __ITERATOR_CATEGORY with
4702 __iterator_category.
4704 2001-04-19 Benjamin Kosnik <bkoz@redhat.com>
4706 * acconfig.h (_GLIBCPP_USE_C99): Add.
4707 * config.h.in: Regenerate.
4708 * acinclude.m4 (GLIBCPP_ENABLE_C99): New macro. Test for ISO/IEC
4710 * aclocal.m4: Regenerate.
4711 * configure.in (GLIBCPP_ENABLE_C99): Use it, on by default.
4712 * configure: Regenerate.
4713 * configure.in (GLIBCPP_ENABLE_LONG_LONG): Set default to yes.
4714 * configure: Regenerate.
4715 * include/c_std/bits/std_cwchar.h: Put wcstold, wcstoll, wcstoull
4717 * include/c_std/bits/std_cmath.h: Bring C99 functions into c99
4719 * include/c_std/bits/std_cstdlib.h: Same.
4720 * docs/html/configopts.html: Update.
4721 * testsuite/26_numerics/c99_macros.cc: Edit, use cmath instead of
4723 (test_c99_classify): Add.
4724 * config/os/gnu-linux/bits/os_defines.h (_GNU_SOURCE): Remove.
4725 (_ISOC99_SOURCE): Remove.
4727 * include/bits/stl_algo.h: Use _GLIBCPP_HAVE_DRAND48.
4728 * include/bits/c++config (__STL_ASSERTIONS): Simplify.
4729 * acinclude.m4 (GLIBCPP_CHECK_STDLIB_SUPPORT): Add check for drand48.
4730 * aclocal.m4: Regenerate.
4731 * configure: Regenerate.
4733 2001-04-19 Phil Edwards <pme@sources.redhat.com>
4735 * Makefile.am (doxygen): Assume script is missing execute perms.
4736 * Makefile.in: Regenerated.
4737 * docs/doxygen/user.cfg.in: Add class diagrams and source browsing.
4739 2001-04-17 Loren J. Rittle <ljrittle@acm.org>
4741 * testsuite/27_io/istream_seeks.cc: Inform DejaGnu of required files.
4743 2001-04-17 Benjamin Kosnik <bkoz@redhat.com>
4745 * testsuite/23_containers/map_operators.cc: Add dg-excess-errors.
4746 * testsuite/23_containers/set_operators.cc: Same.
4748 * include/bits/c++config: Add _GLIBCPP_CONCEPT_CHECKS. Disable by
4750 (__GLIBCPP__): Bump from value of last release.
4751 * include/bits/concept_check.h: Default to off, edit comments.
4752 * src/stl-inst.cc: Use _GLIBCPP_CONCEPT_CHECKS.
4753 * src/Makefile.am (AM_CXXFLAGS): Remove _GLIBCPP_NO_CONCEPT_CHECKS.
4754 * src/Makefile.in: Regenerate.
4756 2001-04-14 Martin Reinecke <martin@MPA-Garching.MPG.DE>
4758 * include/bits/boost_concept_check.h(_Mutable_ContainerConcept):
4759 Properly uglify member.
4761 2001-04-13 Phil Edwards <pme@sources.redhat.com>
4763 * include/bits/stl_algobase.h (equal): Use EqualOpConcept instead
4767 2001-04-13 Phil Edwards <pme@sources.redhat.com>
4769 * include/bits/boost_concept_check.h: Uglify, fork from Boost.
4770 * include/bits/concept_check.h: Uglify.
4771 * include/bits/stl_algo.h: Likewise.
4772 * include/bits/stl_algobase.h: Likewise.
4773 * include/bits/stl_deque.h: Likewise.
4774 * include/bits/stl_heap.h: Likewise.
4775 * include/bits/stl_iterator_base_funcs.h: Likewise.
4776 * include/bits/stl_list.h: Likewise.
4777 * include/bits/stl_map.h: Likewise.
4778 * include/bits/stl_multimap.h: Likewise.
4779 * include/bits/stl_multiset.h: Likewise.
4780 * include/bits/stl_numeric.h: Likewise.
4781 * include/bits/stl_queue.h: Likewise.
4782 * include/bits/stl_set.h: Likewise.
4783 * include/bits/stl_stack.h: Likewise.
4784 * include/bits/stl_vector.h: Likewise.
4785 * include/ext/hash_map: Likewise.
4786 * include/ext/hash_set: Likewise.
4787 * include/ext/slist: Likewise.
4789 2001-04-13 Gabriel Dos Reis <gdr@codesourcery.com>
4791 * testsuite/23_containers/set_operators.cc: Just try to compile.
4793 * testsuite/23_containers/map_operators.cc: Same.
4795 2001-04-12 Jason Merrill <jason_merrill@redhat.com>
4797 * testsuite/lib/libstdc++.exp (libstdc++-dg-test): Prepend "./" to
4799 (dg-test): Revert rth's change.
4801 2001-04-12 Nathan Sidwell <nathan@codesourcery.com>
4803 * libsupc++/eh_alloc.cc (__cxa_allocate_exception): Don't
4804 terminate holding the mutex. Make sure size fits in EMERGENCY_OBJ_SIZE.
4806 2001-04-12 Gabriel Dos Reis <gdr@codesourcery.com>
4808 * testsuite/README: Add DejaGnu specific documentation.
4810 2001-04-11 Benjamin Kosnik <bkoz@redhat.com>
4812 * acinclude.m4: AC_CHECK_TOOL for expect.
4813 * aclocal.m4: Regenerate.
4814 * configure: Regenerate.
4815 * testsuite/Makefile.am (RUNTEST): Use substituted.
4818 * configure.in: Remove xcompiling substitution.
4819 * tests_flags.in (CROSS_LIB_PATH): Remove.
4820 (xcompiling): Remove.
4821 (CXX): Use substituted CXX.
4823 2001-04-11 Richard Henderson <rth@redhat.com>
4825 * testsuite/lib/libstdc++.exp: Specify path for output_file.
4827 2001-04-08 Gabriel Dos Reis <gdr@codesourcery.com>
4829 * include/bits/std_valarray.h(valarray<>::operator[]): Make
4832 2001-04-06 Gabriel Dos Reis <gdr@codesourcery.com>
4834 * testsuite/25_algorithms/equal.cc: New test.
4836 2001-04-06 Joe Buck <jbuck@welsh-buck.org>
4838 * stl_algobase.h (std::equal): avoid use of possibly-undefined
4839 operator != (one line patch).
4841 2001-04-06 Benjamin Kosnik <bkoz@redhat.com>
4843 * include/backward/backward_warning.h: Re-enable.
4845 2001-04-06 Benjamin Kosnik <bkoz@redhat.com>
4846 Alexandre Oliva <aoliva@redhat.com>
4848 * tests_flags.in (CROSS_LIB_PATH): Add as -B flag.
4850 2001-04-06 Gabriel Dos Reis <gdr@codesourcery.com>
4852 * include/c_std/bits/std_cmath.h: Get rid of C99 math macros.
4853 * testsuite/26_numerics/c99_macros.cc: Add test.
4855 2001-04-06 Phil Edwards <pme@sources.redhat.com>
4857 * docs/html/faq/index.html: Update for 2.92, grab from RELEASE-NOTES.
4858 * docs/html/faq/index.txt: Regenerated.
4860 2001-04-06 Benjamin Kosnik <bkoz@redhat.com>
4862 * include/backward/backward_warning.h: Temporarily disable until
4863 g++ testsuite changes go in.
4864 * tests_flags.in (CROSS_LIB_PATH): Add.
4866 2001-04-05 Benjamin Kosnik <bkoz@redhat.com>
4868 Warn when using backward headers.
4869 * include/backward/algo.h: Include warning file.
4870 * include/backward/vector.h: Same.
4871 * include/backward/tree.h: Same.
4872 * include/backward/tempbuf.h: Same.
4873 * include/backward/strstream: Same.
4874 * include/backward/streambuf.h: Same.
4875 * include/backward/stream.h: Same.
4876 * include/backward/stack.h: Same.
4877 * include/backward/slist.h: Same.
4878 * include/backward/set.h: Same.
4879 * include/backward/rope.h:
4880 * include/backward/queue.h: Same.
4881 * include/backward/pair.h: Same.
4882 * include/backward/ostream.h: Same.
4883 * include/backward/new.h: Same.
4884 * include/backward/multiset.h: Same.
4885 * include/backward/multimap.h: Same.
4886 * include/backward/map.h: Same.
4887 * include/backward/list.h: Same.
4888 * include/backward/iterator.h: Same.
4889 * include/backward/istream.h: Same.
4890 * include/backward/iostream.h:
4891 * include/backward/iomanip.h:
4892 * include/backward/heap.h: Same.
4893 * include/backward/hashtable.h:
4894 * include/backward/hash_set.h:
4895 * include/backward/hash_map.h:
4896 * include/backward/function.h:
4897 * include/backward/fstream.h:
4898 * include/backward/deque.h:
4899 * include/backward/defalloc.h: Same.
4900 * include/backward/complex.h: Same.
4901 * include/backward/bvector.h:
4902 * include/backward/alloc.h:
4903 * include/backward/algobase.h: Same.
4905 * include/backward/backward_warning.h: New file.
4906 * src/Makefile.am (backward_headers): Add backward_warning.h
4907 * src/Makefile.in: Regenerate.
4909 2001-04-05 Benjamin Kosnik <bkoz@redhat.com>
4911 * src/Makefile.am (myinstalldirs): Make sure backward directory is
4913 (myinstallheaders): Install backward headers in backward directory.
4914 * src/Makefile.in: Regenerate.
4916 2001-04-05 Benjamin Kosnik <bkoz@redhat.com>
4918 Prepare for libstdc++-2.92.
4919 * docs/html/17_intro/RELEASE-NOTES (New): Update.
4920 * docs/html/configopts.html: Fix formatting.
4921 * README (file): Updates.
4922 * include/bits/c++config (__GLIBCPP__): Update.
4924 2001-04-05 Phil Edwards <pme@sources.redhat.com>
4926 * docs/doxygen/run_doxygen: Check for the existence of Doxygen.
4928 2001-04-04 Phil Edwards <pme@sources.redhat.com>
4930 * docs/doxygen/user.cfg.in: Extract all non-private members;
4931 reduce confusing documentation output.
4933 2001-04-04 Geoffrey Keating <geoffk@redhat.com>
4935 * include/backward/fstream.h: Add missing semicolons.
4937 2001-04-03 Benjamin Kosnik <bkoz@redhat.com>
4939 * include/bits/fstream.tcc: Add bool parameter to filebuf ctor.
4940 * include/bits/ios_base.h(ios_base::Init): Remove _M_cout, _M_cin,
4941 _M_cerr, _M_wcout, _M_wcin, _M_wcerr.
4942 (ios_base::Init::_S_ios_create): New.
4943 (ios_base::Init::_S_ios_destroy): New.
4944 * include/bits/std_fstream.h: Change ctor args.
4945 * src/ios.cc (ios_base::Init::Init): Use _S_ios_create.
4946 (ios_base::Init::~Init): Use _S_ios_destroy.
4947 (ios_base::sync_with_stdio): Use new members.
4948 * testsuite/27_io/filebuf_members.cc: Fix calling conventions for
4951 2001-04-03 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
4953 * include/backward/fstream.h: Expose streampos to global
4956 2001-04-03 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
4958 * include/bits/stl_iterator_base_types.h: Fix typo
4960 2001-04-03 Andreas Schwab <schwab@suse.de>
4962 * include/backward/fstream.h: Define filebuf and wfilebuf.
4964 2001-04-02 Phil Edwards <pme@sources.redhat.com>
4966 New concept checking implementation.
4967 * docs/html/19_diagnostics/howto.html: Document.
4968 * docs/html/17_intro/concept_check.diff: New file, for reference.
4969 * include/bits/boost_concept_check.h: New file from Boost.
4970 * include/bits/c++config: Update comments.
4972 * include/bits/concept_check.h: New file.
4973 * include/bits/concept_checks.h: Removed.
4974 * include/bits/container_concepts.h: Removed.
4975 * include/bits/sequence_concepts.h: Removed.
4976 * include/bits/stl_iterator_base.h: Removed; split into...
4977 * include/bits/stl_iterator_base_funcs.h: ...this new file...
4978 * include/bits/stl_iterator_base_types.h: ...and this new file.
4980 * include/bits/sbuf_iter.h: Update to use new implementation.
4981 * include/bits/std_iterator.h: Likewise.
4982 * include/bits/std_memory.h: Likewise.
4983 * include/bits/stl_algo.h: Likewise.
4984 * include/bits/stl_algobase.h: Likewise.
4985 * include/bits/stl_construct.h: Likewise.
4986 * include/bits/stl_deque.h: Likewise.
4987 * include/bits/stl_heap.h: Likewise.
4988 * include/bits/stl_list.h: Likewise.
4989 * include/bits/stl_map.h: Likewise.
4990 * include/bits/stl_multimap.h: Likewise.
4991 * include/bits/stl_multiset.h: Likewise.
4992 * include/bits/stl_numeric.h: Likewise.
4993 * include/bits/stl_queue.h: Likewise.
4994 * include/bits/stl_set.h: Likewise.
4995 * include/bits/stl_stack.h: Likewise.
4996 * include/bits/stl_uninitialized.h: Likewise.
4997 * include/bits/stl_vector.h: Likewise.
4998 * include/ext/hash_map: Likewise.
4999 * include/ext/hash_set: Likewise.
5000 * include/ext/slist: Likewise.
5001 * include/ext/stl_hashtable.h: Likewise.
5003 * src/Makefile.am (base_headers): Update list of headers.
5004 * Makefile.in: Regenerated.
5005 * src/Makefile.in: Regenerated.
5006 * libio/Makefile.in: Regenerated.
5007 * libmath/Makefile.in: Regenerated.
5008 * libsupc++/Makefile.in: Regenerated.
5009 * testsuite/Makefile.in: Regenerated.
5011 * docs/html/install.html: Update contact information.
5012 * docs/html/17_intro/howto.html: Ditto.
5013 * docs/html/18_support/howto.html: Ditto.
5014 * docs/html/20_util/howto.html: Ditto.
5015 * docs/html/21_strings/howto.html: Ditto.
5016 * docs/html/22_locale/howto.html: Ditto.
5017 * docs/html/23_containers/howto.html: Ditto.
5018 * docs/html/24_iterators/howto.html: Ditto.
5019 * docs/html/25_algorithms/howto.html: Ditto.
5020 * docs/html/26_numerics/howto.html: Ditto.
5021 * docs/html/27_io/howto.html: Ditto.
5022 * docs/html/faq/index.html: Ditto, plus info on new checking code.
5023 * docs/html/ext/howto.html: Ditto, plus info on new checking code.
5024 * docs/html/faq/index.txt: Regenerated.
5026 2001-04-02 Zack Weinberg <zackw@stanford.edu>
5028 * testsuite/lib/libstdc++.exp (dg-test): Annotate result
5029 messages with $which_library as well as $tool_flags and
5030 ${dg-extra-tool-flags}. Factor out annotation text into
5033 2001-04-02 Stephen M. Webb <stephen@bregmasoft.com>
5035 * include/c_std/bits/std_cstring.h: Fix for const-correctness.
5036 * include/c_std/bits/std_cwchar.h: Same.
5037 * testsuite/21_strings/c_strings.cc: Add.
5039 2001-04-01 Benjamin Kosnik <bkoz@codesourcery.com>
5041 * docs/html/configopts.html: Add --enable-sjlj-exceptions docs.
5043 2001-04-01 Zack Weinberg <zackw@stanford.edu>
5045 * tests_flags.in: Use test a = b, not test a == b which is not
5048 2001-03-31 Benjamin Kosnik <bkoz@redhat.com>
5050 * configure.target: Remove duplicate aix entry.
5052 2001-03-30 Benjamin Kosnik <bkoz@redhat.com>
5054 * include/ext/stl_bvector.h: Move to...
5055 * include/bits/stl_vector.h: ...here.
5056 * include/ext/bvector: Move to...
5057 * include/backward/bvector.h: ...here.
5058 * include/bits/std_vector.h: Change stl_bvector include.
5059 * include/bits/std_queue.h: Remove bvector include.
5060 * include/ext/tree: Insert using rb_tree, move to...
5061 * include/backward/tree.h: ...here.
5062 * include/backward/hash_map.h: Include ext/hash_map.
5063 * include/backward/hash_set.h: Include ext/hash_set.
5064 * include/backward/queue.h: New file.
5065 * include/backward/stack.h: Edit.
5066 * include/backward/algo.h: Same.
5067 * include/backward/algobase.h: Same.
5068 * include/backward/alloc.h: Same.
5069 * include/backward/function.h: Same.
5070 * include/backward/iomanip.h: Same.
5071 * include/backward/istream.h: Same.
5072 * include/backward/iterator.h: Same.
5073 * include/backward/list.h: Same.
5074 * include/backward/map.h: Same.
5075 * include/backward/multimap.h: Same.
5076 * include/backward/multiset.h: Same.
5077 * include/backward/ostream.h: Same.
5078 * include/backward/pair.h: Same
5079 * include/backward/rope.h: Same.
5080 * include/backward/set.h: Same.
5081 * include/backward/stream.h: Same.
5082 * include/backward/strstream.h: Same.
5083 * include/backward/tempbuf.h: Same.
5084 * src/Makefile.am (ext_headers): Edit.
5085 * src/Makefile.in: Regenerate.
5086 * testsuite/ext/headers.cc (main): Fix.
5089 2001-03-30 Phil Edwards <pme@sources.redhat.com>
5091 * tests_flags.in (LIBS): Pass correct path for installed testing.
5093 2001-03-28 Benjamin Kosnik <bkoz@redhat.com>
5095 * mkcheck.in (LIBTOOL): Don't construct -B argument here...
5096 * tests_flags.in (CXX): Construct here.
5097 (static_fail): Don't remove compile.out. Format with spaces.
5098 (INCLUDES): Deal with xcompiling.
5099 * configure.in (xcompiling): Substitute.
5100 * testsuite/Makefile.am: Snake libjava configury.
5101 * testsuite/Makefile.in: Regenerate.
5102 * testsuite/23_containers/map_operators.cc: Tweaks.
5103 * testsuite/23_containers/set_operators.cc: Tweaks.
5105 2001-03-28 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
5107 Enable dejagnu testing framework.
5108 * configure.in: Generate testsuite/Makefile.
5109 * configure: Regenerate.
5110 * Makefile.am (check-install): Change rule from this...
5111 (check-script-install): ...to this.
5112 (check): Change rule from this...
5113 (check-script):...to this.
5114 * Makefile.in: Regenerate.
5116 2001-03-28 Alexandre Oliva <aoliva@redhat.com>
5118 * libsupc++/Makefile.am (CXXLINK): Add --tag disable-shared after
5120 (LIBTOOL): Let automake take care of its definition.
5121 * libsupc++/Makefile.in: Rebuilt.
5123 2001-03-28 Richard Henderson <rth@redhat.com>
5125 IA-64 ABI Exception Handling:
5126 * acinclude.m4 (GLIBCPP_ENABLE_SJLJ_EXCEPTIONS): New.
5127 * configure.in: Use it.
5128 * Makefile.in, aclocal.m4, config.h.in, configure: Regenerate.
5129 * libsupc++/Makefile.am (sources): Update files list.
5130 * libsupc++/Makefile.in: Regenerate.
5131 * libsupc++/eh_alloc.cc, libsupc++/eh_aux_runtime.cc: New files.
5132 * libsupc++/eh_catch.cc, libsupc++/eh_exception.cc: New files.
5133 * libsupc++/eh_globals.cc, libsupc++/eh_personality.cc: New files.
5134 * libsupc++/eh_terminate.cc, libsupc++/eh_throw.cc: New files.
5135 * libsupc++/exception_support.cc: Remove.
5136 * libsupc++/exception_support.h: Remove.
5137 * libsupc++/pure.cc: Use std::terminate.
5138 * libsupc++/tinfo2.cc (__throw_type_match_rtti_2): Remove.
5139 (__is_pointer): Remove.
5140 * libsupc++/unwind-cxx.h: New file.
5141 * libsupc++/vec.cc (uncatch_exception): Update for new abi.
5143 2001-03-27 Alexandre Oliva <aoliva@redhat.com>
5145 * libsupc++/Makefile.am (CXXLINK): Use CXX again, and choose
5147 * src/Makefile.am (CXXLINK): Likewise.
5148 * libsupc++/Makefile.in, src/Makefile.in: Rebuilt.
5150 2001-03-27 Benjamin Kosnik <bkoz@redhat.com>
5152 * include/bits/c++config (_STL_USE_CONCEPT_CHECKS): Disable by default.
5154 2001-03-26 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
5156 * libstdc++-v3/tests_flags.in: Change the order of libstdc++
5159 2001-03-26 Benjamin Kosnik <bkoz@redhat.com>
5161 * include/bits/basic_file.h (get_fileno): Remove.
5162 (_M_fileno): Remove.
5163 (_M_cfile_created): Add.
5164 (basic_file::basic_file(__c_file_type*, openmode): Add.
5165 (basic_file::basic_file(int, const char*, openmode): Remove.
5166 * include/bits/fstream.tcc (basic_fstream::basic_filebuf(int __fd,
5167 const char*, ios_base::openmode): Don't allocate
5168 internal buffers. Turn off internal buffers.
5169 (basic_filebuf::overflow): Remove test for null buffer.
5170 (basic_filebuf::_M_really_overflow): Same. Allow unbuffered use.
5171 * include/bits/streambuf.cc: Tweak.
5172 * include/bits/std_ostream.h: Tweak.
5173 * config/basic_file_libio.h: Same.
5174 * config/basic_file_stdio.h: Same.
5175 * src/ios.cc (ios_base::Init::Init()): Unbuffer stdout by default.
5176 * testsuite/27_io/filebuf_members.cc: Tweaks.
5177 * testsuite/27_io/ios_base_members_static.cc: Tweaks.
5179 2001-03-24 Phil Edwards <pme@sources.redhat.com>
5181 * Makefile.am: New targets, doxygen and doxygen-maint.
5182 * Makefile.in: Regenerated.
5183 * docs/doxygen/run_doxygen: Finally implemented.
5184 * docs/doxygen/maint.cfg.in: New file.
5185 * docs/doxygen/user.cfg.in: New file.
5187 2001-03-24 Phil Edwards <pme@sources.redhat.com>
5189 * acinclude.m4 (GLIBCPP_CHECK_COMPILER_FEATURES): Update comment.
5190 * src/Makefile.am: Replace leading spaces with tabs on continuation
5192 * aclocal.m4: Regenerated.
5194 * Makefile.in: Ditto.
5195 * src/Makefile.in: Ditto.
5196 * libio/Makefile.in: Ditto.
5197 * libmath/Makefile.in: Ditto.
5198 * libsupc++/Makefile.in: Ditto.
5200 2001-03-24 Phil Edwards <pme@sources.redhat.com>
5202 * docs/html/19_diagnostics/howto.html: HTML fixup. Describe
5203 concept-checking code and current status of same.
5204 * docs/html/ext/howto.html: Ditto.
5205 * docs/html/faq/index.html: Ditto.
5206 * docs/html/faq/index.txt: Regenerated.
5208 2001-03-24 Phil Edwards <pme@sources.redhat.com>
5210 * include/bits/std_bitset.h: Include ostream and istream headers
5211 instead of iostream.
5213 2001-03-22 Greg Bumgardner <bumgard@roguewave.com>
5215 * include/bits/ostream.tcc: Use __builtin_alloca.
5217 2001-03-22 Benjamin Kosnik <bkoz@redhat.com>
5219 * src/misc-inst.cc (__sink_unused_warning): Move to...
5220 * src/locale-inst.cc (__sink_unused_warning): Move to...
5221 * src/stl-inst.cc: Here.
5222 * include/bits/c++config (_STL_NO_CONCEPT_CHECKS): Add define,
5225 2001-03-21 Theodore Papadopoulo <Theodore.Papadopoulo@sophia.inria.fr>
5227 * intclude/bits/basic_file.h: Fix typos in comments.
5229 2001-03-20 Richard Henderson <rth@redhat.com>
5231 * src/gen-num-limits.cc: Instantiate for wchar_t.
5232 * config/os/aix/bits/ctype_base.h (mask): Use unsigned int.
5234 2001-03-20 Jason Merrill <jason@redhat.com>
5236 * libsupc++/vec.cc (__cxa_vec_cleanup): New fn.
5237 (__cxa_vec_ctor, __cxa_vec_cctor, __cxa_vec_dtor): Call it.
5238 * libsupc++/cxxabi.h: Declare it.
5240 2001-03-16 Alexandre Oliva <aoliva@redhat.com>
5242 * src/gen-num-limits.cc (signal_adapter): Overloaded to match
5243 signal_func with an unspecified argument list.
5245 2001-03-15 Benjamin Kosnik <bkoz@redhat.com>
5247 * tests_flags.in (CXXFLAGS): Link libstdc++ before libsupc++.
5249 2001-03-15 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
5251 * include/bits/basic_string.tcc (operator+): Fix thinko.
5253 2001-03-14 Benjamin Kosnik <bkoz@redhat.com>
5256 * include/bits/std_streambuf.h: Remove cached locale facets.
5257 (basic_streambuf::_M_buf_fctype): Remove.
5258 (basic_streambuf::~basic_streambuf): Remove here.
5259 (basic_streambuf::basic_streambuf): Same.
5260 (basic_streambuf::imbue): Same.
5261 * include/bits/fstream.tcc (filebuf::imbue): Remove _M_buf_fctype.
5262 * include/bits/std_fstream.h (basic_filebuf::_M_fcvt): Remove.
5263 (basic_filebuf::~basic_filebuf()): Remove here.
5264 * include/bits/fstream.tcc (basic_filebuf::basic_filebuf): Same.
5265 (basic_filebuf::imbue): Same.
5266 * include/bits/localefwd.h (_Count_ones): Remove.
5267 (locale::_S_num_categories): Just use 6, since this doesn't
5268 actually change, ever.
5269 * include/bits/locale_facets.tcc (has_facet): Simplify.
5271 * testsuite/27_io/filebuf.cc (test06): Add tests.
5273 2001-03-13 Steve Ellcey <sje@cup.hp.com>
5275 * libstdc++-v3/config/os/hpux/bits/ctype_base.h: Make ctype masks
5276 match HP-UX ctype.h header file.
5278 2001-03-13 Andris Pavenis <pavenis@latnet.lv>
5280 * config/djgpp/bits/ctype_noninline.h: Fix typo and remove
5281 duplicate definitions of __dj_ctype_*
5283 2001-03-13 Benjamin Kosnik <bkoz@redhat.com>
5285 * libsupc++/new: Remove pragma interface.
5286 * libsupc++/typeinfo: Same.
5287 * libsupc++/exception: Same.
5288 * libsupc++/new_handler.cc: Remove pragma implementation.
5289 (bad_alloc::~bad_alloc()): Add.
5290 * libsupc++/exception_support.cc: Same.
5291 (exception::~exception): Add.
5292 (bad_exception::~bad_exception): Add.
5293 * libsupc++/tinfo.cc: Same.
5294 (bad_cast::~bad_cast): Add.
5295 (bad_typeid::~bad_typeid): Add.
5297 2001-03-13 Phil Edwards <pme@sources.redhat.com>
5299 * mkcheck.in: Fix IFS regression for non-bash-2.01 hosts.
5301 2001-03-12 Felix Lee <flee@redhat.com>
5303 * mkcheck.in: workaround for bash 2.01 IFS bug.
5305 2001-03-12 Benjamin Kosnik <bkoz@redhat.com>
5307 Fixups for -fno-for-scope
5308 * include/bits/locale_facets.tcc (__match_parallel): Fixup.
5309 * src/valarray-inst.cc (__gslice_to_index): Same.
5311 2001-03-12 Rodney Brown <RodneyBrown@mynd.com>
5313 * src/gen-num-limits.cc (traps) [SPECIALIZE_TRAPPING]: Add fflush
5314 prior to trapping signal (UnixWare 7 workaround).
5316 2001-03-12 Craig Rodrigues <rodrigc@mediaone.net>
5318 * include/backward/hashtable.h: Same.
5319 * include/backward/rope.h: Fix include.
5321 2001-03-12 Benjamin Kosnik <bkoz@redhat.com>
5323 * include/backward/vector.h: Include std_vector.h.
5325 * include/bits/istream.tcc (basic_istream<_CharT, _Traits>&
5326 operator>>(basic_istream<_CharT, _Traits>& __in, _CharT* __s)):
5329 2001-03-11 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
5331 * include/ext/stl_hashtable.h: Change type of __n to size_t
5332 * include/backward/bvector.h: Include <ext/stl_bvector.h>
5334 2001-03-09 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
5336 * include/bits/istream.tcc ( basic_istream<_CharT, _Traits>&
5337 operator>>(basic_istream<_CharT, _Traits>& __in, _CharT* __s)):
5338 Use streamsize, not int_type.
5340 2001-03-08 Benjamin Kosnik <bkoz@redhat.com>
5342 * testsuite/27_io/streambuf.cc (test06): New test, disabled at the
5345 2001-03-08 Andreas Schwab <schwab@suse.de>
5347 * acinclude.m4 (GLIBCPP_EXPORT_INSTALL_INFO): Fix syntax in test
5349 * aclocal.m4, configure: Regenerated.
5351 2001-03-07 Benjamin Kosnik <bkoz@redhat.com>
5353 * include/bits/std_iosfwd.h: Remove string forward decls here.
5354 * include/bits/stringfwd.h: Add forward decls for char_traits
5356 * config/c_io_libio.h (wstreamoff): Delete.
5357 * config/c_io_stdio.h (wstreamoff): Same.
5358 * include/bits/char_traits.h: Use streamoff not wstreamoff for
5359 char_traits<wchar_t>::off_type.
5360 Remove duplicate typedefs.
5361 * include/bits/fpos.h: Define streampos/wstreampos here.
5362 * testsuite/27_io/istream_seeks.cc (test04): Explicitly cast int
5365 Changeup output files.
5366 * testsuite/27_io/istream_unformatted.cc: Change output files.
5367 * testsuite/27_io/istream_seeks-1.txt: Add.
5368 * testsuite/27_io/istream_seeks-2.tst: Add.
5369 * testsuite/27_io/istream_seeks-1.tst: Add.
5370 * testsuite/27_io/istream_unformatted-2.tst: Delete.
5371 * testsuite/27_io/istream_unformatted-3.tst: Delete.
5372 * testsuite/27_io/istream_unformatted-3.txt: Delete.
5374 2001-03-07 Alexandre Oliva <aoliva@redhat.com>
5376 Add Irix 5.2, 6.3 support.
5377 * config/os/irix/bits: Renamed to...
5378 * config/os/irix/irix6.5/bits: this.
5379 * config/os/irix/irix5.2/bits: New, copied from irix6.5/bits.
5380 * config/os/irix/irix5.2/bits/ctype_base.h: Use _U, _L, _N,
5381 _X, _S, _P, _C and _B instead of IRIX-6.5 _IS* macros.
5382 * config/os/irix/irix5.2/bits/ctype_noninline.h
5383 (ctype<char>::ctype): Initialize _M_table with __ctype.
5384 * configure.target: Adjust.
5386 2001-03-06 Benjamin Kosnik <bkoz@redhat.com>
5389 * include/bits/istream.tcc (basic_istream<_CharT, _Traits>::
5390 operator>>(__istream_type& (*__pf)(__istream_type&)): Don't use
5392 (basic_istream<_CharT, _Traits>:: operator>>(__ios_type&
5393 (*__pf)(__ios_type&)): Same.
5394 (basic_istream<_CharT, _Traits>:: operator>>(ios_base&
5395 (*__pf)(ios_base&))): Same.
5396 * testsuite/27_io/istream_extractor_other.cc: Add tests.
5397 * testsuite/27_io/istream_manip.cc (test01): Fix.
5399 2001-03-06 Nathan Myers <ncm@cantrip.org>
5400 Benjamin Kosnik <bkoz@redhat.com>
5402 * include/c_std/bits/std_cerrno.h: Don't define errno in std::.
5403 * testsuite/17_intro/header_cerrno.cc (test01): New file.
5404 * testsuite/17_intro/header_cassert.cc (test01): New file.
5405 * testsuite/17_intro/header_cstddef.cc (test01): New file.
5406 * testsuite/17_intro/header_csetjmp.cc (test01): New file.
5407 * testsuite/17_intro/header_cstdarg.cc (test01): New file.
5409 2001-03-05 scott snyder <snyder@fnal.gov>
5412 * include/c_std/bits/std_cmath.h: Move abs(long), div(long,long)
5414 * include/c_std/bits/std_cstdlib.h: ... to here.
5415 * testsuite/17_intro/header_cstdlib.cc: Add test.
5417 2001-03-05 Stephen M. Webb <stephen.webb@cybersafe.com>
5419 * libsupc++/vec.cc (__cxxa_vec_new2): Qualify size_t.
5421 2001-03-05 Laurynas Biveinis <lauras@softhome.net>
5423 * config/os/djgpp/ctype_base.h (ctype_base): fix __to_type
5424 definition. Replace enum with static const variables.
5426 * config/os/djgpp/ctype_inline.h (ctype<char>::is): remove
5427 throw specification, fix typos, use <static_cast>.
5428 (ctype<char>::scan_is): remove throw specification.
5429 (ctype<char>::scan_not): likewise.
5431 * config/os/djgpp/ctype_noninline.h (ctype<char>::ctype): fix typo.
5432 (ctype<char>::do_toupper(char)): use <static_cast>.
5433 (ctype<char>::do_toupper(char *, const char *)): likewise.
5434 (ctype<char>::do_tolower(char)): likewise.
5435 (ctype<char>::do_tolower(char *, const char *)): likewise.
5437 2001-03-04 Phil Edwards <pme@sources.redhat.com>
5439 http://gcc.gnu.org/ml/libstdc++/2001-03/msg00015.html
5440 * include/backward/algo.h: Use std not __STD. Remove unneeded
5441 macros and "never happens" code. Adjust to C++STYLE guidelines.
5442 * include/backward/algobase.h: Likewise.
5443 * include/backward/alloc.h: Likewise.
5444 * include/backward/bvector.h: Likewise.
5445 * include/backward/deque.h: Likewise.
5446 * include/backward/function.h: Likewise.
5447 * include/backward/hash_map.h: Likewise.
5448 * include/backward/hash_set.h: Likewise.
5449 * include/backward/hashtable.h: Likewise.
5450 * include/backward/heap.h: Likewise.
5451 * include/backward/iterator.h: Likewise.
5452 * include/backward/list.h: Likewise.
5453 * include/backward/map.h: Likewise.
5454 * include/backward/multimap.h: Likewise.
5455 * include/backward/multiset.h: Likewise.
5456 * include/backward/pair.h: Likewise.
5457 * include/backward/rope.h: Likewise.
5458 * include/backward/set.h: Likewise.
5459 * include/backward/slist.h: Likewise.
5460 * include/backward/stack.h: Likewise.
5461 * include/backward/strstream: Likewise.
5462 * include/backward/tempbuf.h: Likewise.
5463 * include/backward/tree.h: Likewise.
5464 * include/backward/vector.h: Likewise.
5465 * include/bits/basic_ios.h: Likewise.
5466 * include/bits/basic_ios.tcc: Likewise.
5467 * include/bits/basic_string.h: Likewise.
5468 * include/bits/c++config: Likewise.
5469 * include/bits/concept_checks.h: Likewise.
5470 * include/bits/fpos.h: Likewise.
5471 * include/bits/fstream.tcc: Likewise.
5472 * include/bits/functexcept.h: Likewise.
5473 * include/bits/ios_base.h: Likewise.
5474 * include/bits/istream.tcc: Likewise.
5475 * include/bits/mask_array.h: Likewise.
5476 * include/bits/ostream.tcc: Likewise.
5477 * include/bits/pthread_allocimpl.h: Likewise.
5478 * include/bits/sbuf_iter.h: Likewise.
5479 * include/bits/slice.h: Likewise.
5480 * include/bits/slice_array.h: Likewise.
5481 * include/bits/sstream.tcc: Likewise.
5482 * include/bits/std_bitset.h: Likewise.
5483 * include/bits/std_fstream.h: Likewise.
5484 * include/bits/std_iomanip.h: Likewise.
5485 * include/bits/std_ios.h: Likewise.
5486 * include/bits/std_istream.h: Likewise.
5487 * include/bits/std_iterator.h: Likewise.
5488 * include/bits/std_memory.h: Likewise.
5489 * include/bits/std_ostream.h: Likewise.
5490 * include/bits/std_sstream.h: Likewise.
5491 * include/bits/std_streambuf.h: Likewise.
5492 * include/bits/std_string.h: Likewise.
5493 * include/bits/std_valarray.h: Likewise.
5494 * include/bits/stl_algo.h: Likewise.
5495 * include/bits/stl_algobase.h: Likewise.
5496 * include/bits/stl_alloc.h: Likewise.
5497 * include/bits/stl_construct.h: Likewise.
5498 * include/bits/stl_deque.h: Likewise.
5499 * include/bits/stl_function.h: Likewise.
5500 * include/bits/stl_heap.h: Likewise.
5501 * include/bits/stl_iterator.h: Likewise.
5502 * include/bits/stl_iterator_base.h: Likewise.
5503 * include/bits/stl_list.h: Likewise.
5504 * include/bits/stl_map.h: Likewise.
5505 * include/bits/stl_multimap.h: Likewise.
5506 * include/bits/stl_multiset.h: Likewise.
5507 * include/bits/stl_numeric.h: Likewise.
5508 * include/bits/stl_pair.h: Likewise.
5509 * include/bits/stl_pthread_alloc.h: Likewise.
5510 * include/bits/stl_queue.h: Likewise.
5511 * include/bits/stl_raw_storage_iter.h: Likewise.
5512 * include/bits/stl_relops.h: Likewise.
5513 * include/bits/stl_set.h: Likewise.
5514 * include/bits/stl_stack.h: Likewise.
5515 * include/bits/stl_tempbuf.h: Likewise.
5516 * include/bits/stl_threads.h: Likewise.
5517 * include/bits/stl_tree.h: Likewise.
5518 * include/bits/stl_uninitialized.h: Likewise.
5519 * include/bits/stl_vector.h: Likewise.
5520 * include/bits/streambuf.tcc: Likewise.
5521 * include/bits/type_traits.h: Likewise.
5522 * include/bits/valarray_meta.h: Likewise.
5523 * include/ext/bvector: Likewise.
5524 * include/ext/hash_map: Likewise.
5525 * include/ext/hash_set: Likewise.
5526 * include/ext/ropeimpl.h: Likewise.
5527 * include/ext/slist: Likewise.
5528 * include/ext/stl_bvector.h: Likewise.
5529 * include/ext/stl_hash_fun.h: Likewise.
5530 * include/ext/stl_hashtable.h: Likewise.
5531 * include/ext/stl_rope.h: Likewise.
5532 * src/complex_io.cc: Likewise.
5533 * src/ios.cc: Likewise.
5534 * src/locale-inst.cc: Likewise.
5535 * src/locale.cc: Likewise.
5536 * src/localename.cc: Likewise.
5537 * src/misc-inst.cc: Likewise.
5538 * src/stdexcept.cc: Likewise.
5539 * src/stl-inst.cc: Likewise.
5540 * src/strstream.cc: Likewise.
5541 * src/valarray-inst.cc: Likewise.
5543 2001-03-03 Benjamin Kosnik <bkoz@redhat.com>
5545 * src/misc-inst.cc (__copy_streambufs): Fix typo for alpha.
5547 2001-03-02 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
5549 * include/bits/istream.tcc: change type of __extracted to __size_type
5551 2001-03-02 Benjamin Kosnik <bkoz@redhat.com>
5553 * src/wstring-inst.cc: New file.
5554 * src/Makefile.am (EXTRA_LTLIBRARIES): Remove.
5555 (libinst_wstring_la_SOURCES): Remove.
5556 (libstdc___la_LIBADD): Remove libinst_wstring_la.
5557 (sources): Add wstring-inst.cc
5558 * acinclude.m4 (GLIBCPP_CHECK_WCHAR_T_SUPPORT): Remove
5561 2001-03-02 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
5563 * src/locale.cc: initialise __ret with zero
5564 * src/strstream.cc:cast gptr to int_type
5566 2001-03-01 Phil Edwards <pme@sources.redhat.com>
5568 * docs/html/faq/index.html: Update broken links.
5569 * docs/html/faq/index.txt: Regenerated.
5571 2001-02-28 Benjamin Kosnik <bkoz@redhat.com>
5574 * configure.target: Change irix* to irix6.5* in target_os table.
5576 2001-02-28 Benjamin Kosnik <bkoz@redhat.com>
5579 * include/bits/c++config (__GLIBCPP__): Bump number in
5580 anticipation of 2.92.
5582 * include/bits/codecvt.h: Fix typo.
5583 * include/bits/basic_file.h (__basic_file): Don't use _M_wfile for
5585 * acinclude.m4 (GLIBCPP_ENABLE_CSTDIO): Enable wchar_t
5586 instantiations for stdio model.
5588 2001-02-28 Phil Edwards <pme@sources.redhat.com>
5590 * acinclude.m4 (GLIBCPP_CONFIGURE): Remove GLIBCPP_CFLAGS
5591 and GLIBCPP_CXXFLAGS as unused variables.
5592 * configure.host: Likewise.
5593 * configure.target: Likewise.
5594 * aclocal.m4: Regenerated.
5595 * configure: Regenerated.
5596 * Makefile.in: Regenerated.
5597 * libio/Makefile.in: Regenerated.
5598 * libmath/Makefile.in: Regenerated.
5599 * libsupc++/Makefile.in: Regenerated.
5600 * src/Makefile.in: Regenerated.
5602 2001-02-27 Benjamin Kosnik <bkoz@redhat.com>
5605 * include/bits/basic_file.h: Include basic_file_model.h.
5606 * config/c_io_libio.cc: Move to...
5607 * config/basic_file_libio.cc: Here.
5608 * config/basic_file_libio.h: New file.
5609 * config/c_io_stdio.cc: Move to...
5610 * config/basic_file_stdio.cc: Here.
5611 * config/basic_file_stdio.h: New file.
5612 * config/c_io_libio.h: Tweak.
5613 * config/c_io_stdio.h: Tweak.
5614 * src/Makefile.am (build_headers): Add basic_file_model.h.
5615 (sources): Add basic_file.cc, remove c++io.cc.
5616 * src/Makefile.in: Regenerate.
5617 * acinclude.m4 (GLIBCPP_ENABLE_CSTDIO): Add support for
5618 basic_file_model.h and basic_file.cc.
5619 * aclocal.m4: Regenerate.
5620 * configure: Regenerate.
5621 * testsuite/27_io/filebuf.cc (test05): Add regression.
5623 2001-02-27 Benjamin Kosnik <bkoz@redhat.com>
5626 * config/cpu/alpha/bits/atomicity.h: Change.
5627 * config/cpu/arm/bits/atomicit3y.h
5628 * config/cpu/generic/bits/atomicity.h
5629 * config/cpu/i386/bits/atomicity.h
5630 * config/cpu/i486/bits/atomicity.h
5631 * config/cpu/ia64/bits/atomicity.h
5632 * config/cpu/powerpc/bits/atomicity.h
5633 * config/cpu/sparc/sparc32/bits/atomicity.h
5634 * config/cpu/sparc/sparc64/bits/atomicity.h
5635 * config/os/aix/bits/atomicity.h
5636 * config/os/irix/bits/atomicity.h
5638 2001-02-27 Benjamin Kosnik <bkoz@redhat.com>
5640 * include/bits/std_stdexcept.h (runtime_error): Make string
5642 (logic_error): Same.
5643 * testsuite/19_diagnostics/stdexceptions.cc (test04): Add test.
5646 2001-02-26 Benjamin Kosnik <bkoz@redhat.com>
5650 * include/bits/std_stdexcept.h (logic_error::logic_error): Use
5651 string object, not reference.
5652 (runtime_error::runtime_error): Same.
5653 * testsuite/19_diagnostics/stdexceptions.cc: New file.
5655 2001-02-26 Phil Edwards <pme@sources.redhat.com>
5657 * acinclude.m4 (GLIBCPP_CONFIGURE): Update required compiler version.
5658 (GLIBCPP_CHECK_COMPILER_FEATURES): Can safely assume new
5659 diagnostics. Remove WFMT_FLAGS.
5660 * configure.in: Replace WFMT_FLAGS with diagnostics options.
5661 * libsupc++/Makefile.am: Likewise.
5662 * src/Makefile.am: Likewise.
5663 * aclocal.m4: Regenerated.
5664 * configure: Regenerated.
5665 * Makefile.in: Regenerated.
5666 * libio/Makefile.in: Regenerated.
5667 * libmath/Makefile.in: Regenerated.
5668 * libsupc++/Makefile.in: Regenerated.
5669 * src/Makefile.in: Regenerated.
5671 2001-02-26 Phil Edwards <pme@sources.redhat.com>
5673 Fixes libstdc++/2079
5674 * include/backward/iomanip.h: Expose <ios> manipulators to global
5676 * include/backward/iostream.h: Also expose std::ws.
5678 2001-02-25 Greg Freemyer <freemyer@NorcrossGroup.com>
5680 * libmath/mathconf.h (GET_LDOUBLE_MSW64): Fix thinko.
5682 2001-02-23 Benjamin Kosnik <bkoz@redhat.com>
5684 * include/bits/codecvt.h: Use __builtin_alloca.
5685 * include/bits/ostream.tcc: Same.
5686 * include/bits/fstream.tcc: Same.
5688 2001-02-23 Alexandre Oliva <aoliva@redhat.com>
5690 * mknumeric_limits (CC): Use VAR=${VAR=...} form.
5692 2001-02-23 David Edelsohn <dje@watson.ibm.com>
5694 * mknumeric_limits (CC): Use $BUILD_DIR/../../gcc/xgcc
5696 2001-02-23 Phil Edwards <pme@sources.redhat.com>
5699 * include/backward/iostream.h: Expose std::flush in old headers.
5701 2001-02-23 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
5703 * mknumeric_limits: Remove special-casing on target. Use gcc
5704 instead of g++ to build gen-num-limits.cc
5706 2001-02-22 Benjamin Kosnik <bkoz@redhat.com>
5708 * tests_flags.in (CXXFLAGS): Add -rpath to gcc build dir.
5710 * include/bits/codecvt.h: Use alloca instead of __extension__ for
5712 * include/bits/ostream.tcc: Same.
5713 * include/bits/std_ostream.h: Same.
5714 * include/bits/fstream.tcc: Same.
5715 * include/bits/locale_facets.tcc: Add typename.
5716 * include/bits/c++config (_GLIBCPP_FULLY_COMPLIANT_HEADERS): Enable.
5718 2001-02-21 Phil Edwards <pme@sources.redhat.com>
5720 * tests_flags.in: Remove -n flag from call to echo.
5722 2001-02-20 Benjamin Kosnik <bkoz@redhat.com>
5724 * config/c_locale_gnu.h: Add clocale include.
5726 2001-02-20 Phil Edwards <pme@sources.redhat.com>
5728 * include/bits/stl_config.h: Remove file.
5729 * src/Makefile.am (base_headers): Remove from list.
5730 * configure: Regenerate.
5731 * Makefile.in: Ditto.
5732 * libio/Makefile.in: Ditto.
5733 * libmath/Makefile.in: Ditto.
5734 * libsupc++/Makefile.in: Ditto.
5735 * src/Makefile.in: Ditto.
5737 * include/bits/c++config: Move relevant macros to here.
5738 * include/backward/alloc.h: Include c++config.h instead.
5739 * include/backward/function.h: Ditto.
5740 * include/backward/heap.h: Ditto.
5741 * include/backward/pair.h: Ditto.
5742 * include/bits/pthread_allocimpl.h: Ditto.
5743 * include/bits/std_functional.h: Ditto.
5744 * include/bits/std_iterator.h: Ditto.
5745 * include/bits/std_numeric.h: Ditto.
5746 * include/bits/std_utility.h: Ditto.
5747 * include/bits/stl_algobase.h: Ditto.
5748 * include/bits/type_traits.h: Ditto.
5749 * src/stl-inst.cc: Ditto.
5751 2001-02-19 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
5753 * include/bits/basic_file.h: Add #pragma system_header
5754 * include/bits/basic_ios.h: Ditto.
5755 * include/bits/basic_string.h: Ditto.
5756 * include/bits/char_traits.h: Ditto.
5757 * include/bits/codecvt.h: Ditto.
5758 * include/bits/cpp_type_traits.h: Ditto.
5759 * include/bits/fpos.h: Ditto.
5760 * include/bits/gslice.h: Ditto.
5761 * include/bits/gslice_array.h: Ditto.
5762 * include/bits/indirect_array.h: Ditto.
5763 * include/bits/ios_base.h: Ditto.
5764 * include/bits/limits_generic.h: Ditto.
5765 * include/bits/locale_facets.h: Ditto.
5766 * include/bits/localefwd.h: Ditto.
5767 * include/bits/mask_array.h: Ditto.
5768 * include/bits/sbuf_iter.h: Ditto.
5769 * include/bits/sequence_concepts.h: Ditto.
5770 * include/bits/slice.h: Ditto.
5771 * include/bits/slice_array.h: Ditto.
5772 * include/bits/std_algorithm.h: Likewise.
5773 * include/bits/std_bitset.h: Likewise.
5774 * include/bits/std_complex.h: Likewise.
5775 * include/bits/std_deque.h: Likewise.
5776 * include/bits/std_fstream.h: Likewise.
5777 * include/bits/std_functional.h: Likewise.
5778 * include/bits/std_iomanip.h: Likewise.
5779 * include/bits/std_ios.h: Likewise.
5780 * include/bits/std_iosfwd.h: Likewise.
5781 * include/bits/std_iostream.h: Likewise.
5782 * include/bits/std_istream.h: Likewise.
5783 * include/bits/std_iterator.h: Likewise.
5784 * include/bits/std_list.h: Likewise.
5785 * include/bits/std_locale.h: Likewise.
5786 * include/bits/std_map.h: Likewise.
5787 * include/bits/std_memory.h: Likewise.
5788 * include/bits/std_numeric.h: Likewise.
5789 * include/bits/std_ostream.h: Likewise.
5790 * include/bits/std_queue.h: Likewise.
5791 * include/bits/std_set.h: Likewise.
5792 * include/bits/std_sstream.h: Likewise.
5793 * include/bits/std_stack.h: Likewise.
5794 * include/bits/std_stdexcept.h: Likewise.
5795 * include/bits/std_streambuf.h: Likewise.
5796 * include/bits/std_string.h: Likewise.
5797 * include/bits/std_utility.h: Likewise.
5798 * include/bits/std_valarray.h: Likewise.
5799 * include/bits/std_vector.h: Likewise.
5800 * include/bits/stringfwd.h: Likewise.
5801 * include/bits/type_traits.h: Likewise.
5802 * include/bits/valarray_array.h: Likewise.
5803 * include/bits/valarray_meta.h: Likewise.
5805 2001-02-19 Andreas Jaeger <aj@suse.de>
5807 * config/cpu/sparc/sparc64/bits/atomicity.h (__compare_and_swap):
5810 2001-02-16 Greg Bumgardner <bumgard@roguewave.com>
5813 * include/bits/std_ostream.h: Replaced usage of
5814 _Traits::_S_eos() with _CharT() as per section 17.2.2.1.3.
5815 * include/bits/char_traits.h: Removed non-standard
5816 methods that cannot be used elsewhere.
5819 * include/bits/basic_ios.h: Uncommented #include of
5823 * include/bits/codecvt.h: See next...
5824 * include/bits/fstream.tcc: See next...
5825 * include/bits/ostream.tcc: Add __extension__
5826 to variable-length arrays.
5829 * include/bits/localefwd.h: Changed int counter type to size_t.
5832 * include/bits/std_fstream.h: Added typedef for __ctype_type.
5834 2001-02-16 Benjamin Kosnik <bkoz@redhat.com>
5836 * testsuite/21_strings/char_traits.cc: Move to ...
5837 * testsuite/21_strings/char_traits_requirements.cc: ..here.
5838 * testsuite/21_strings/char_traits-int_type.cc: Move to ...
5839 * testsuite/21_strings/char_traits_typedefs.cc: ..here.
5841 2001-02-16 Gabriel Dos Reis <gdr@codesourcery.com>
5843 * libmath/mathconf.h (FINITE_P, INFINITE_P): Remove macro
5846 2001-02-15 Benjamin Kosnik <bkoz@redhat.com>
5848 * include/bits/c++config: Revert.
5850 2001-02-15 Mark Mitchell <mark@codesourcery.com>
5852 * include/bits/istream.tcc: Use ios_base::iostate in place of
5853 iostate throughout. Insert `typename' keyword where necessary.
5854 * include/bits/ostream.tcc: Insert `typename' keyword where
5857 2001-02-15 Jeffrey Oldham <oldham@codesourcery.com>
5859 * include/bits/c++config (_GLIBCPP_FULLY_COMPLIANT_HEADERS):
5860 Define so library is compliant.
5862 2001-02-15 Anthony Green <green@redhat.com>
5864 * acinclude.m4 (glibcpp_toolexeclibdir): Fix test for cross
5866 * aclocal.m4: Regenerate.
5867 * configure: Regenerate.
5869 2001-02-15 Rodney Brown <RodneyBrown@mynd.com>
5871 * acinclude.m4 (GLIBCPP_CHECK_MATH_DECL_1):
5872 Include ieeefp.h for fpclass on UnixWare{2,7}.
5873 * aclocal.m4: Regenerate.
5874 * configure: Regenerate.
5875 * mkcheck.in (size_command): Do without GNU-grep when using
5878 2001-02-15 Mark Mitchell <mark@codesourcery.com>
5880 Remove old ABI support from libsupc++.
5881 * libsupc++/cxxabi.h: Remove conditionally compiled code.
5882 * libsupc++/exception_support.cc: Likewise.
5883 * libsupc++/pure.cc: Likewise.
5884 * libsupc++/tinfo.cc: Likewise.
5885 * libsupc++/tinfo.h: Likewise.
5886 * libsupc++/tinfo2.cc: Likewise.
5887 * libsupc++/typeinfo: Likewise.
5888 * libsupc++/vec.cc: Likewise.
5890 2001-02-15 Benjamin Kosnik <bkoz@redhat.com>
5892 Add support for -fno-exceptions.
5893 * include/bits/exception_support.h: Remove.
5894 * include/bits/basic_string.h: Remove exception_support.
5895 (string::_M_check): Replace __OUTOFRANGE with __throw_out_of_range.
5897 (string::substr): Same.
5898 * include/bits/basic_string.tcc (string::reserve): Replace
5899 __LENGTHERROR with __throw_length_error.
5900 (string::_S_create): Same.
5901 (string::resize): Same.
5902 (string::_M_replace): Same.
5903 (string::replace): Same.
5904 (string::copy): Replace __OUTOFRANGE with __throw_out_of_range.
5905 (string::compare): Same.
5906 * include/bits/stl_vector.h: Remove exception_support.
5907 * src/Makefile.am (base_headers): Remove here.
5908 * src/Makefile.in: Regenerate.
5910 * include/bits/stl_range_errors.h: Remove.
5911 * include/bits/stl_deque.h: Use __throw_range_error.
5912 * include/bits/std_deque.h: Include functexcept.h.
5913 * include/bits/std_vector.h: Same.
5914 * src/Makefile.am (base_headers): Remove here.
5915 * src/Makefile.in: Regenerate.
5916 * include/ext/stl_bvector.h (class __BVECTOR): Use __throw_range_error.
5917 * include/ext/bvector: Remove stl_range_errors.h
5919 * include/bits/c++config (_GLIBCPP_USE_EXCEPTIONS): Remove.
5921 * include/bits/functexcept.h: New file.
5922 * src/functexcept.cc: New file. Definitions for function-based
5924 * src/Makefile.am (sources): Add functexcept.cc.
5925 * src/Makefile.in: Regenerate.
5927 * include/bits/stl_config.h (__STL_USE_EXCEPTIONS): Wrap with
5930 * include/bits/localefwd.h: Include functexcept.h.
5931 * include/bits/std_iosfwd.h: Same.
5933 * include/bits/basic_ios.h: Use __throw_ios_failure instead of
5934 throw basic_ios::failure.
5935 * include/bits/fstream.tcc (filebuf::_M_allocate_buffers):
5936 Use __throw_exception_again.
5937 (filebuf::_M_filebuf_init): Same.
5938 * include/bits/streambuf.tcc (__copy_streambufs): Same.
5939 * include/bits/ostream.tcc (ostream::operator<<): Same.
5940 * include/bits/istream.tcc (istream::operator>>): Same.
5941 * include/bits/basic_string.tcc (string::_M_mutate): Same.
5942 (string::_S_construct): Same.
5943 (string::_M_clone): Same.
5944 * include/bits/locale_facets.tcc (use_facet(const locale&)): Use
5946 (num_put<_CharT, _OutIter>::do_put): Use __throw_exception_again.
5947 * src/localename.cc (locale::_Imp::_Imp(const _Impl&, size_t): Use
5948 __throw_exception_again.
5949 (locale::_Imp::_Imp(string, size_t): Same.
5950 (locale::_Imp::_M_replace_facet): Use __throw_runtime_error.
5951 * src/locale.cc (locale::_M_coalesce): Use __throw_exception_again.
5952 (locale::locale(const char*)): Use __throw_runtime_error.
5953 (locale::classic): Use __throw_exception_again.
5954 (locale::_S_normalize_category): Use __throw_runtime_error.
5956 * src/stdexcept.cc: Remove cruft.
5958 * libsupc++/exception_defines.h: New file.
5959 * libsupc++/new_opnt.cc: Include exception_defines.h.
5960 * libsupc++/vec.cc: Same.
5961 (__cxa_vec_new2): Use __throw_exception_again.
5962 (__cxa_vec_new3): Same.
5963 (__cxa_vec_ctor): Same.
5964 (__cxa_vec_delete3): Same.
5965 (__cxa_vec_cctor): Same.
5966 (__cxa_vec_delete2): Same.
5967 (__cxa_vec_dtor): Same.
5968 * libsupc++/exception_support.cc: Include exception_defines.h. Only
5969 compile exception-handling bits if __EXCEPTIONS is defined.
5970 Remove old ABI support.
5971 * libsupc++/new_op.cc (new): Include exception_defines.h. Use
5972 std::__throw_bad_alloc() instead of throw bad_alloc.
5973 * libsupc++/Makefile.am: Add exception_defines.h.
5974 * libsupc++/Makefile.in: Reformat.
5975 * libsupc++/*: Format.
5977 2001-02-15 Phil Edwards <pme@sources.redhat.com>
5979 * docs/html/configopts.html: Minor updates and typo fixes.
5980 * docs/html/faq/index.html: Updates of the "not really bugs" list.
5981 * docs/html/faq/index.txt: Regenerated.
5983 2001-02-15 Gabriel Dos Reis <gdr@codesourcery.com>
5985 * testsuite/lib/libstdc++.exp: Lift, temporarily, out of
5986 dejagnu/dg.exp. Adapt to log options used to run testcases.
5988 2001-02-13 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
5990 * testsuite/lib/libstdc++.exp(dg-test): Lift temporarily from
5993 2001-02-13 Dirk Mueller <dmuell@gmx.net>
5994 Phil Edwards <pme@sources.redhat.com>
5996 * include/backward/function.h: Do not use rel_ops for older
5998 * include/backward/pair.h: Likewise.
6000 2001-02-12 Mark Mitchell <mark@codesourcery.com>
6002 * src/locale.cc: Remove bogus locale::id definitions.
6004 2001-02-11 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
6006 * include/bits/std_valarray.h: #undef _DEFINE_LOGICAL_OPERATOR,
6007 not _DEFINE_VALARRAY_OPERATOR which is not existent.
6009 * include/bits/valarray_meta.h (_RefFunClos<>_RefRunClos): Fix
6010 thinko in member initialisation.
6012 2001-02-11 Gabriel Dos Reis <gdr@codesourcery.com>
6014 * include/bits/std_valarray.h(valarray<>::shift): Avoid
6015 comparaison between signed and unsigned integer types.
6016 (valarray<>::cshift): Reformat.
6018 2001-02-11 Alexandre Oliva <aoliva@redhat.com>
6020 * src/gen-num-limits.cc: Use sigsetjmp and siglongjmp if available.
6021 * mknumeric_limits: Compile it with -DHAVE_CONFIG_H.
6022 * configure.in: Test for sigsetjmp.
6023 * configure, config.h.in: Rebuilt.
6025 2001-02-11 Gabriel Dos Reis <gdr@codesourcery.com>
6027 * src/valarray-inst.cc (gslice::_Indexer::_Indexer): Don't flip
6028 lengths and strides.
6029 (__gslice_to_index): Document.
6031 2001-02-11 Gabriel Dos Reis <gdr@codesourcery.com>
6033 * include/bits/char_traits.h char_traits<char>::int_type: Change
6034 to `int' to match 21.1.3.1/2.
6036 * testsuite/21_strings/char_traits-int_type.C: New test.
6038 2001-02-10 Gabriel Dos Reis <gdr@codesourcery.com>
6040 * testsuite/Makefile.am: New file.
6042 2001-02-09 Nathan Sidwell <nathan@codesourcery.com>
6044 * include/c_shadow/bits/std_cstdlib.h (lldiv_t): Fix typo.
6046 2001-02-08 Loren J. Rittle <ljrittle@acm.org>
6048 * src/locale-inst.cc (fill_n): Instantiate with size_t arguments.
6050 2001-02-08 David Edelsohn <edelsohn@gnu.org>
6052 * configure.target (aix4*): Remove extra set of brackets.
6054 2001-02-07 Benjamin Kosnik <bkoz@redhat.com>
6057 * include/bits/stringfwd.h: New file.
6058 * include/bits/stl_string_fwd.h: Remove.
6059 * include/bits/localefwd.h: Remove declaration for allocator.
6060 * include/bits/std_iosfwd: Same.
6061 * include/bits/std_string.h: Include it.
6062 * include/bits/std_ios.h: Remove include.
6063 * include/bits/basic_string.h: Tweak.
6064 * libsupc++/new: Format.
6065 * src/Makefile.am (base_headers): Add stringfwd.h, remove
6067 * src/Makefile.in: Regenerate.
6068 * include/bits/std_stdexcept.h: Rewrite.
6069 * src/stdexcept.cc: Same.
6071 2001-02-06 Benjamin Kosnik <bkoz@redhat.com>
6073 * acinclude.m4 (GLIBCPP_EXPORT_INSTALL_INFO): Deal with library
6074 install locations too.
6075 * aclocal.m4: Regenerate.
6076 * configure.in: Remove USE_LIBDIR.
6077 * configure: Regenerate.
6078 * src/Makefile.am (toolexecdir): Simplify, use
6079 glibcpp_toolexecdir, glibcpp_toolexeclibdir.
6080 * src/Makefile.in: Regenerate.
6081 * libsupc++/Makefile.am: Same.
6082 * libsupc++/Makefile.in: Regenerate.
6084 * src/Makefile.am: Just remove special rules for locale-inst.cc and
6085 misc-inst.cc as no longer necessary.
6087 Follow C++STYLE for naming non-static functions.
6088 * include/bits/ostream.tcc (_S_pad_char): Not static, rename to
6090 * include/bits/streambuf.tcc: Same.
6091 * include/bits/ostream.tcc: Same.
6092 * include/bits/istream.tcc: Same.
6093 * include/bits/locale_facets.tcc (_S_pad_numeric): To __pad_numeric.
6094 (_S_output_float): To __output_float.
6095 * include/bits/std_streambuf.h (_S_copy_streambufs): To
6097 * include/bits/locale_facets.tcc (_S_build_float_format): To
6098 __build_float_format.
6099 (_S_format): To __output_integer.
6100 (_S_fill): To __pad.
6101 * src/locale.cc: Same.
6102 * src/misc-inst.cc: Fix formatting. Fix signature for wchar_t. Correct
6104 * include/bits/locale_facets.tcc (_S_group_digits): To
6106 * src/locale-inst.cc: Fixup names. Add use_facet instantiations
6107 for collate, numpunct.
6109 2001-02-06 Phil Edwards <pme@sources.redhat.com>
6111 * docs/html/configopts.html: Fix HTML markup.
6112 * docs/html/install.html: Bring up to date.
6113 * docs/html/17_intro/C++STYLE: Add global variable conventions.
6114 * docs/html/21_strings/howto.html: More notes.
6115 * docs/html/22_locale/howto.html: Fix HTML markup.
6116 * docs/html/27_io/howto.html: More notes.
6117 * docs/html/27_io/binary_iostreams_kanze.txt: New file.
6118 * docs/html/27_io/binary_iostreams_kuehl.txt: New file.
6120 2001-02-06 Jeffrey Oldham <oldham@codesourcery.com>
6122 * src/misc-inst.cc (_S_pad_char): Modify declaration's parameters
6123 to match header files.
6124 (_S_output_float): Likewise.
6125 (_S_copy_streambufs): Likewise.
6127 2001-02-06 Hyman Rosen <Hyman.Rosen@kbcfp.com>
6128 Phil Edwards <pme@sources.redhat.com>
6130 * include/bits/std_istream.h (op>> signed,unsigned char): Must
6131 use reinterpret_cast, not static_cast.
6133 2001-02-06 Benjamin Kosnik <bkoz@redhat.com>
6135 * acinclude.m4 (gxx_include_dir): Quote, fix regression.
6136 * aclocal.m4: Regenerate.
6137 * configure: Regenerate.
6139 2001-02-05 Benjamin Kosnik <bkoz@redhat.com>
6141 * include/bits/locale_facets.h (class moneypunct): Fix typos.
6142 * libsupc++/pure.cc: Revert.
6144 2001-02-05 Benjamin Kosnik <bkoz@redhat.com>
6146 * acinclude.m4 (GLIBCPP_CHECK_MATH_DECL_1): New macro.
6147 (GLIBCPP_CHECK_MATH_DECL_2): New macro.
6148 (GLIBCPP_CHECK_MATH_DECL_3): New macro.
6149 (GLIBCPP_CHECK_MATH_DECL_AND_LINKAGE_1): Use it, check for _* too.
6150 (GLIBCPP_CHECK_MATH_DECL_AND_LINKAGE_2): Same.
6151 (GLIBCPP_CHECK_MATH_DECL_AND_LINKAGE_3): Same.
6152 (GLIBCPP_CHECK_MATH_SUPPORT): Remove explicit checks for _* versions.
6153 * aclocal.m4: Regenerate.
6154 * configure: Regenerate.
6156 2001-02-05 Mark Mitchell <mark@codesourcery.com>
6158 * include/bits/locale_facets.tcc: Remove `static' keyword on
6159 function definitions.
6160 * include/bits/std_streambuf.h: Likewise.
6161 * src/Makefile.am: Remove use of -fimplicit-templates.
6162 * src/Makefile.in: Regenerated.
6163 * src/locale-inst.cc: Explicitly instantiate more functions.
6164 * src/misc-inst.cc: Likewise.
6165 * src/string-inst.cc: Likewise.
6167 2001-02-05 Benjamin Kosnik <bkoz@redhat.com>
6169 * acinclude.m4 (GLIBCPP_EXPORT_INSTALL_INFO): New
6170 macro. Consolidate all the bits to do with where includes might be
6172 * aclocal.m4: Regenerate.
6173 * configure.in: Use it.
6174 * configure: Regenerate.
6175 * src/Makefile.am (targetincludep): Use simplified rules.
6176 (targetincludep): Rename gxx_target_include_dir.
6177 (myincludep): Rename gxx_include_dir.
6178 * src/Makefile.in: Regenerate.
6179 * libsupc++/Makefile.am: Use simplified rules.
6180 * libsupc++/Makefile.in: Regenerate.
6182 2001-02-05 Benjamin Kosnik <bkoz@redhat.com>
6184 * include/c_std/bits/std_cerrno.h: Correct date format for copyright.
6185 * include/c_std/bits/std_cctype.h: Same.
6186 * include/c_std/bits/std_cassert.h: Same.
6187 * include/c_std/bits/std_cstdarg.h: Same.
6188 * include/c_std/bits/std_cstddef.h: Same.
6190 * include/c_std/bits/std_cstdio.h: Undefine all names brought into
6192 * include/c_std/bits/std_ctime.h: Same.
6193 * include/c_std/bits/std_clocale.h: Same.
6194 * include/c_std/bits/std_cmath.h: Same.
6195 * include/c_std/bits/std_csetjmp.h: Same.
6196 * include/c_std/bits/std_csignal.h: Same.
6197 * include/c_std/bits/std_cstring.h: Same.
6198 * include/c_std/bits/std_cstdlib.h: Same.
6199 * include/c_std/bits/std_cwchar.h: Same.
6201 2001-02-05 Phil Edwards <pme@sources.redhat.com>
6203 * testsuite/27_io/ios_base_members_static.cc: Swap order of tests.
6205 2001-02-05 Mark Mitchell <mark@codesourcery.com>
6207 * src/string-inst.cc (string::_M_replace): Explicitly instantiate.
6208 (string::_S_construct): Likewise.
6210 2001-02-05 Gabriel Dos Reis <gdr@codesourcery.com>
6212 * testsuite/config/default.exp: New file.
6213 * testsuite/config: New directory.
6215 2001-02-04 Mark Mitchell <mark@codesourcery.com>
6217 * libsupc++/typeinfo (__GXX_MERGED_TYPEINFO_NAMES): New macro.
6218 * libsupc++/tinfo.cc (std::typeinfo::operator==): Use strcmp
6219 whenever !__GXX_MERGED_TYPEINFO_NAMES.
6220 * libsupc++/tinfo2.cc (std::typeinfo::before): Likewise.
6222 2001-02-03 Alexandre Oliva <aoliva@redhat.com>
6223 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
6225 * Makefile.am (mkinstalldirs): Set.
6226 * src/Makefile.am (mkinstalldirs): Set.
6227 * libmath/Makefile.am (mkinstalldirs): Set.
6228 * libsup++/Makefile.am (mkinstalldirs): Set.
6229 * libio/Makefile.am (mkinstalldirs): Set.
6230 * */Makefile.in: Regenerate.
6232 2001-02-03 Benjamin Kosnik <bkoz@redhat.com>
6234 * include/bits/stl_threads.h (struct _STL_mutex_lock): Same.
6235 * include/bits/localefwd.h: More initialization cleanups.
6237 2001-02-03 Jeffrey A Law <law@cygnus.com>
6239 * include/bits/ios_base.h (_S_ios_fmtflags_end): Initialize
6240 correctly targets with 16bit ints.
6241 (_S_ios_openmode_end): Similarly.
6242 (_S_ios_iostate_end): Similarly.
6243 (_S_ios_Seekdir_end): Similarly.
6245 2001-02-02 Phil Edwards <pme@sources.redhat.com>
6247 * mkcheck.in: Also limit virtual memory size, for mmap-based mallocs.
6249 2001-02-01 Alexandre Oliva <aoliva@redhat.com>
6251 * configure.in (toplevel_srcdir, auxdir): Set.
6252 * acinclude.m4 (glibcpp_basedir): Set based on auxdir.
6253 * aclocal.m4, configure, Makefile.in: Rebuilt.
6254 * libio/Makefile.in, math/Makefile.in, src/Makefile.in: Likewise.
6255 * libsupc++-v3/Makefile.am (INCLUDES): Use toplevel_srcdir.
6256 * libsupc++-v3/Makefile.in: Rebuilt.
6257 * libsupc++-v3/configure.in, libsupc++-v3/configure: Removed.
6258 * libsupc++-v3/aclocal.m4, libsupc++-v3/config.h.in: Likewise.
6260 2001-01-30 Benjamin Kosnik <bkoz@redhat.com>
6262 * config/c_locale_generic.cc: Remove langinfo include.
6264 2001-01-29 Benjamin Kosnik <bkoz@redhat.com>
6266 Preliminary named locales.
6267 * acinclude.m4 (GLIBCPP_ENABLE_CLOCALE): New macro.
6268 * aclocal.m4: Regenerate.
6269 * configure.in: Use it.
6270 * configure: Regerate.
6271 * src/Makefile.am (sources): Add c++locale.cc.
6272 (build_headers): Add c++locale.h.
6273 * src/Makefile.in: Regenerate.
6274 * config/c_locale_gnu.h: New file.
6275 * config/c_locale_gnu.cc: New file. Non-inline member functions
6276 for named locales, gnu-specific.
6277 * config/c_locale_generic.h: New file.
6278 * config/c_locale_generic.cc: New file. Non-inline member
6279 functions for named locales, generic version.
6280 * docs/html/configopts.html: Add documentation on new options.
6282 * include/bits/locale_facets.h (class _Messages): Remove.
6283 (class _Moneypunct): Remove.
6284 * src/locale-inst.cc: Remove.
6286 * include/bits/locale_facets.h (class _Collate): Remove.
6287 * src/locale-inst.cc (std): Remove.
6288 * src/locale.cc: And here.
6290 * include/bits/localefwd.h (locale::_M_coalesce): New
6291 function. Correctly put together multi-name locales.
6292 (_Impl(const _Impl&, category, size_t)): Remove.
6294 * include/bits/localefwd.h (locale::_Impl): Remove _M_construct_*
6296 (_M_normalize_category_names): Remove.
6297 (_M_replace_categories): Fix.
6299 * src/localename.cc (locale::_Impl::_M_construct_collate): Remove.
6300 (locale::_Impl::_M_construct_ctype): Remove.
6301 (locale::_Impl::_M_construct_monetary): Remove.
6302 (locale::_Impl::_M_construct_numeric): Remove.
6303 (locale::_Impl::_M_construct_time): Remove.
6304 (locale::_Impl::_M_construct_messages): Remove.
6306 * include/bits/locale_facets.h (_Bad_use_facet): Remove.
6307 (_Use_facet_failure_handle): Remove.
6308 * src/locale.cc: Remove definitions.
6309 * src/locale-inst.cc: And here.
6311 * testsuite/22_locale/ctor_copy_dtor.cc (test01): Fixup. Add tests.
6313 * src/localename.cc (locale::facet::_S_create_c_locale): Properly
6314 create and error-check underlying locale object.
6315 (locale::facet::_S_destroy_c_locale): Add, take care of properly
6316 tearing down underlying locale object.
6317 * include/bits/localefwd.h (locale::facet): Declare.
6318 * testsuite/22_locale/members.cc: Don't test "fr_FR" locale for
6319 correctness, as glibc apparently has incorrect info in it. Test
6320 with it when it works again.....
6322 * include/bits/localefwd.h (locale::_Impl::__vec_string):
6323 Remove. Number of categories is fixed at six, so just simplify and
6324 make this an array of strings.
6325 (locale::_Impl::_M_has_name): Remove.
6326 (locale::_Impl::_M_name): Remove.
6327 (locale::_Impl::_M_category_names): Turns into...
6328 (locale::_Impl::_M_names): ...this.
6329 (locale::_Impl::_M_has_same_name()): New function.
6330 * src/localename.cc (locale::_Impl::~_Impl()): Remove here.
6331 (locale::_Impl::_Impl(size_t __refs, string __str)): Simplify
6333 * src/locale.cc (locale::name()): Construct mangled name
6334 accurately reflecting combined locale categories.
6336 * src/locale.cc (locale::classic()): Don't initialize here.
6337 * src/localename.cc (locale::_Impl::_Impl(size_t __num, size_t
6338 __refs, bool __has_name, string __str): Do it here.
6340 * include/bits/localefwd.h: _S_categories_num to
6341 _S_num_categories. _S_facets_num to _S_num_facets.
6342 (locale::id::id()): Explicitly set _M_index to zero.
6343 * src/locale.cc: Same.
6345 * src/locale.cc: (locale::locale(const char*)): Construct named
6348 * src/locale.cc: Remove numpunct_byname ctors.
6349 * testsuite/22_locale/numpunct_byname.cc: New file.
6350 * testsuite/22_locale/numpunct.cc: New file.
6352 * include/bits/localefwd.h (class locale): Change data members to
6353 protected, from private.
6354 (_Impl::_M_get_c_locale): Add member function.
6355 (locale::facet::_M_get_global_impl()): Add member function.
6356 * include/bits/locale_facets.h (numpunct::_M_init): Change to take
6357 a __c_locale pointer.
6358 (numpunct::numpunct( __c_locale*, size_t)): Add additonal ctor for
6360 * testsuite/22_locale/members.cc: New file, test name and combine.
6362 * include/bits/locale_facets.h (class numpunct): Remove class
6363 _Punct and _Numpunct. Rewrite class numpunct to be correct for
6365 * include/bits/localefwd.h (locale::_Imp::_M_c_locale): Add.
6366 * src/localename.cc (_Impl::~_Impl()): Call __frelocale.
6367 (_Imp::_Impl(size_t, size_t, bool, string)) Initialize _M_c_locale.
6368 * src/locale-inst.cc: Remove _Numpunct, _Punct instantiations.
6369 * testsuite/22_locale/numpunct_char_members.cc: New file.
6371 2001-01-28 Gabriel Dos Reis <gdr@codesourcery.com>
6373 * testsuite/README: Add more comment.
6374 * testsuite/lib/libstdc++.exp: Tweak comment.
6376 2001-01-26 Benjamin Kosnik <bkoz@kredhat.com>
6378 * libsupc++/pure.cc (writestr): Just use cstdio and std::fputs.
6380 2001-01-25 Loren J. Rittle <ljrittle@acm.org>
6382 * testsuite/21_strings/inserters_extractors.cc: Remove
6383 explicit reference to 'testsuite/'.
6385 2001-01-25 Richard Henderson <rth@redhat.com>
6387 * config/cpu/alpha/bits/atomicity.h: Remove tricky .subsetion
6388 bits. Fixes Tru64 build issues.
6390 2001-01-25 Michael Sokolov <msokolov@ivan.Harhan.ORG>
6392 * acinclude.m4 (GLIBCPP_CHECK_GNU_MAKE): Bourne shell portability bug
6393 (use ${MAKE-make}, not ${MAKE:-make}).
6394 * aclocal.m4, configure: Regenerate.
6396 2001-01-25 Mark Mitchell <mark@codesourcery.com>
6398 * src/ios.cc: Remove accidental inclusion of <stdio.h> in last
6401 * src/Makefile.am (sources): Add globals.cc.
6402 * src/Makefile.in: Regenerated.
6403 * src/globals.cc: New file.
6404 * src/ios.cc (cin): Don't define here, just declare extern.
6413 2001-01-25 Phil Edwards <pme@sources.redhat.com>
6415 * include/bits/std_iterator.h: Do not include stl_relops.h.
6416 * include/bits/std_numeric.h: Ditto.
6417 * include/bits/stl_algobase.h: Ditto.
6418 * include/bits/stl_relops.h: Add comment warning about problems.
6420 2001-01-25 Gabriel Dos Reis <gdr@codesourcery.com>
6422 * testsuite/27_io/*.cc: Remove explicit reference to 'testsuite/'
6423 in testcases. Prepare for the DejaGnu based framework.
6424 * mkcheck.in: Adjust call to tests_flags. Don't mmkdir testsuite
6425 directory -- it is now mkcheck working directory.
6426 * tests_flags.in: Remove reference to $(top_srcdir). Use
6428 * Makefile.am (check, check-install): Change mkcheck invocation
6430 * Makefile.in: Regenerate.
6432 2001-01-24 Mark Mitchell <mark@codesourcery.com>
6434 * config/os/aix/bits/atomicity.h (__compare_and_swap): Remove.
6435 (__always_swap): Likewise.
6437 2001-01-23 Chris Demetriou <cgd@broadcom.com>
6439 * libsupc++/exception_support.cc (__terminate_func): Remove
6441 (__terminate_func_ptr): New typedef.
6442 (__terminate, __terminate_set_func): New extern function
6444 (std::terminate): Use __terminate function.
6445 (std::set_terminate): Use __terminate_set_func function.
6447 2001-01-23 Benjamin Kosnik <bkoz@redhat.com>
6449 * configure.target: Just use os_include_dir always.
6450 * configure.in: Remove calls to GLIBCPP_CHECK_CTYPE_SUPPORT.
6451 Link atomicity files and ctype files here.
6452 * configure: Regenerate.
6453 * acinclude.m4 (GLIBCPP_CHECK_CTYPE_SUPPORT): Remove.
6454 (GLIBCPP_ENABLE_ATOMICITY): Remove.
6455 * aclocal.m4: Regenerate.
6457 2001-01-23 Chris Demetriou <cgd@broadcom.com>
6459 * configure.in: Place definition of MULTISUBDIR in
6460 libsupc++/Makefile as is done for src/Makefile.
6461 * configure: Regenerate.
6463 2001-01-23 Phil Edwards <pme@sources.redhat.com>
6465 * acinclude.m4: Cosmetic changes only.
6466 * aclocal.m4: Regenerated.
6467 * configure: Regenerated.
6468 * configure.target: Update documented list of changed variables.
6469 * docs/html/install.html: Fix typo.
6470 * docs/html/20_util/howto.html: More notes on auto_ptr.
6471 * docs/html/27_io/howto.html: More notes on streabufs.
6472 * docs/html/faq/index.html: Add rel_ops problem and mention the
6473 DEC as(1) .subsection difficulty.
6474 * docs/html/faq/index.txt: Regenerated.
6476 2001-01-23 Mark Mitchell <mark@codesourcery.com>
6478 * ainclude.m4 (GLIBCPP_CHEC_MATH_DECLS_AND_LINKAGE_1): New macro.
6479 (GLIBCPP_CHECK_MATH_SUPPORT): Use it.
6480 (GLIBCPP_CHECK_TYPE_SUPPORT): Don't autoconf ctype information if
6481 its already provided in config.target.
6482 * aclocal.m4: Regenerated.
6483 * configure: Likewise.
6484 * configure.target: Set ctype_include_dir for lots of systems.
6485 * libsupc++/Makefile.am: Explicitly include --tag disable-shared.
6486 * libsupc++/Makefile.in: Regenerated.
6488 2001-01-23 Gabriel Dos Reis <gdr@codesourcery.com>
6490 * testsuite/lib/libstdc++.exp: Improve. Add support for @xxx#
6493 * testsuite/README: Add comment.
6495 2001-01-21 Phil Edwards <pme@sources.redhat.com>
6497 * docs/html/configopts.html: Update for current status. Fix HTML.
6498 * docs/html/install.html: Update for current status.
6500 2001-01-20 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
6502 * testsuite/libstdc++.tests/tests.exp: New file.
6503 * testsuite/lib/libstdc++.exp: Itou.
6504 * testsuite/README: Itou.
6506 2001-01-20 Gabriel Dos Reis <gdr@codesourcery.com>
6508 * tests_flags.in: Just output the bare minimum to run tests.
6509 Let's the caller do its own arrangement.
6511 * mkcheck.in: Rename INC_PATH to INCLUDES. Adjust flags
6514 2001-01-19 Gabriel Dos Reis <gdr@codesourcery.com>
6516 * testsuite/17_intro: Prepare testcases for new style DejaGnu
6519 2001-01-18 Gabriel Dos Reis <gdr@codesourcery.com>
6521 * testsuite/libstdc++.tests, testsuite/lib: New directories.
6523 2001-01-17 Loren J. Rittle <ljrittle@acm.org>
6525 * mkcheck.in: Construct file names that match $objdir structure.
6526 * testsuite/27_io/filebuf_members-1.txt: New file.
6527 * testsuite/27_io/ifstream_members-1.txt: New file.
6528 * testsuite/27_io/ostream_inserter_char-1.txt: New file.
6530 * testsuite/27_io/ios_base_members_static.cc (test02): Add test.
6531 * testsuite/27_io/ios_base_members_static-1.tst: Add expected output.
6533 2001-01-17 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
6535 * testsuite/27_io/istream_sentry.cc (test02): Fix.
6537 2001-01-17 Benjamin Kosnik <bkoz@redhat.com>
6540 * include/bits/ios_base.h (ios_base::failure): Tighten up throw specs.
6541 * src/ios.cc (ios_base::failure): Make definitions match.
6542 * libsupc++/typeinfo (class bad_typeid): Add throw specs.
6543 (class bad_cast): Same.
6544 * libsupc++/exception (class exception): Add throw specs.
6545 * libsupc++/exception_support.cc (set_terminate): Add throw specs.
6546 (set_unexpected): Same.
6547 (uncaught_exception): Same.
6550 * docs/html/17_intro/C++STYLE (classname): Fix.
6552 2001-01-16 Mark Mitchell <mark@codesourcery.com>
6554 * src/gen-num-limits.cc (INSTANTIATIONS): New macro.
6555 Use it do explicitly instantiate predicate<T> and value<T> for
6558 2001-01-16 Nathan Sidwell <nathan@codesourcery.com>
6560 * libsupc++/exception_support.cc (__cp_pop_exception): Fix
6561 uninitialized thinko in last change.
6563 2001-01-16 Mark Mitchell <mark@codesourcery.com>
6565 * libsupc++/exception_support.cc (__cp_pop_exception): Change
6568 2001-01-16 Benjamin Kosnik <bkoz@redhat.com>
6570 * docs/html/17_intro/C++STYLE (classname): Add more existing
6571 and stylish patterns.
6574 * include/bits/istream.tcc (istream::sentry::sentry()): Set
6575 failbit if the state of the stream is not good.
6576 * testsuite/27_io/istream_sentry.cc (test02): Add test.
6577 * testsuite/27_io/istream_manip.cc (test01): Modify.
6580 reported by Paolo Carlini <pcarlini@unitus.it>
6581 * include/bits/istream.tcc (operator>>(istream&, string&)): Fix.
6582 * testsuite/21_strings/inserters_extractors.cc (test08): Add test.
6585 * include/bits/std_streambuf.h (setp): Set _M_buf_size correctly.
6586 * include/bits/streambuf.tcc (xsputn): Remove outside if clause.
6587 (xsgetn): Same. Simplify.
6588 * testsuite/27_io/streambuf.cc (test04): Add testcases.
6590 reported by Larry Evans <jcampbell3@prodigy.net>
6591 * include/bits/streambuf.tcc (streambuf::xsputn): Just check for
6592 equality with eof on returned value from overflow.
6594 2001-01-14 Andreas Jaeger <aj@suse.de>
6596 * libio/libio.h: Add test for glibc 2.0.
6598 2001-01-12 Benjamin Kosnik <bkoz@redhat.com>
6600 * config/os/djgpp/bits/*: Fix dates.
6602 * include/bits/basic_string.h (_S_find(const _CharT* __beg, const
6603 _CharT* __end, _CharT __c): Remove.
6604 * include/bits/basic_string.tcc: Substitute traits::find for _S_find.
6605 * include/bits/char_traits.h: Tweak.
6607 2001-01-12 Laurynas Biveinis <lauras@softhome.net>
6609 * acinclude.m4 (GLIBCPP_CHECK_CTYPE_SUPPORT): check for DJGPP <ctype.h>
6610 (LIB_AC_PROG_CXX): replace [/\\] with [\\/] to work around older
6612 * aclocal.m4: regenerated.
6613 * configure.target: set os_include_dir to config/os/djgpp under DJGPP.
6614 * configure: regenerated.
6615 * config/os/djgpp, config/os/djgpp/bits: new directories.
6616 * config/os/djgpp/bits/ctype_base.h,
6617 config/os/djgpp/bits/ctype_inline.h,
6618 config/os/djgpp/bits/ctype_noninline.h,
6619 config/os/djgpp/bits/os_defines.h: new files.
6621 2001-01-11 Joseph S. Myers <jsm28@cam.ac.uk>
6623 * include/c_std/bits/std_cstdio.h: Undef printf.
6625 2001-01-10 Benjamin Kosnik <bkoz@redhat.com>
6627 * src/ios.cc: Fix typo: change cout->wcout.
6629 * src/Makefile.am (targetincludep): Fix for version-specific-libs.
6630 * src/Makefile.in: Regenerate.
6632 2001-01-10 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
6634 * include/bits/std_complex.h: Fix a typo.
6636 2001-01-09 Benjamin Kosnik <bkoz@redhat.com>
6639 Fixes for libstdc++/1576
6640 * src/stdstreams.cc: Initialize with NULL filebuf. Delete
6641 file, move contents into....
6642 * src/ios.cc: ...Here. Put defines for iostreams objects and
6643 initialization routines into one file to simplify DSO interaction.
6644 * include/bits/std_iostream.h: Touch.
6645 * include/bits/ios_base.h (_S_synched_with_stdio): Make static.
6646 * src/Makefile.am (sources): Remove stdstreams.cc.
6647 * src/Makefile.in: Regenerate.
6649 2001-01-10 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
6651 * tests_flags.in (check_directory): Fix typo.
6653 2001-01-09 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
6655 * include/bits/std_complex.h: Fix a typo.
6657 2001-01-09 Loren J. Rittle <ljrittle@acm.org>
6659 * config/os/bsd/freebsd/bits/ctype_inline.h (is): (Make right
6660 code path:) Remove magic constants and restructure to handle
6661 ctype.h bit mask layout changes more gracefully. (Make fast
6662 code path:) Use __maskrune (), if available.
6663 (is): Remove special case for digit and xdigit masks.
6665 2001-01-09 Robert Lipe <robertlipe@usa.net>
6667 * include/c_std/bits/std_ctime.h: Undefine difftime.
6669 2001-01-09 Alexandre Oliva <aoliva@redhat.com>
6671 * src/gen-num-limits.cc (signal_adapter): New template function.
6672 (signal_handler): Use it, instead of signal.
6673 (traps<T>): Likewise. Install SIGTRAP handler too. Don't
6674 require both tests to trap to set trap_flag.
6676 2001-01-08 Benjamin Kosnik <bkoz@redhat.com>
6678 * include/bits/fpos.h (fpos:::fpos(streamoff __pos)): Explicitly
6679 initialize mbstate_t member, name offset data members *off, not pos.
6680 * include/bits/fstream.tcc (filebuf::filebuf): Same.
6682 2001-01-08 Benjamin Kosnik <bkoz@redhat.com>
6684 reported by Chris G. Demetriou <cgd@sibyte.com>
6685 * configure.in: Change -linux-* to -linux*.
6686 * configure: Regenerate.
6688 2001-01-05 Benjamin Kosnik <bkoz@redhat.com>
6690 Fix 27_io/filebuf_members.cc
6691 * src/localename.cc (locale::_Impl::_Impl(const _Impl& __imp,
6692 const string& __name, category __cat, size_t __refs): Set
6693 _M_has_name with _M_name.
6694 * include/bits/localefwd.h (locale::operator!=): Protect member
6695 function call with this->.
6696 * src/locale.cc (locale::operator==): Make fast checks first.
6697 * include/bits/basic_ios.tcc (basic_ios::init): Simplify.
6699 * include/bits/ios_base.h (_M_synced_with_stdio): Add data member
6701 * src/ios.cc (ios_base::Init::Init): Initialize here.
6702 (ios_base::sync_with_stdio): Set here.
6704 2001-01-04 Loren J. Rittle <ljrittle@acm.org>
6706 * config/c_io_stdio.cc (__basic_file<_CharT>::sys_open()): On
6707 systems that support it, call dup() before fdopen().
6709 2001-01-03 Benjamin Kosnik <bkoz@redhat.com>
6711 * include/c_std/bits/std_cwctype.h: Include std_cwchar.h for wint_t.
6712 * testsuite/17_intro/header_cwctype.cc (main): New file.
6714 * src/Makefile.am (base_headers): Change.
6715 * include/bits/std_string.h: And here.
6716 * include/bits/string.tcc: Tweaks, move to...
6717 * include/bits/basic_string.tcc: ...Here.
6718 * src/string-inst.cc: Simplify, just instantiate the whole class,
6719 not member-by-member.
6721 2001-01-02 Benjamin Kosnik <bkoz@redhat.com>
6723 * acinclude.m4 (GLIBCPP_ENABLD_CSTDIO): Add in default value.
6724 * aclocal.m4: Regenerate.
6725 * configure: Regenerate.
6727 * include/bits/c++config (__GLIBCPP__): Bump version number.
6729 * ChangeLog: Start new log for year 2001
6730 * ChangeLog-2000: New file.
6732 * docs/html/configopts.html: Make sure default values are current,
6735 2001-01-01 Benjamin Kosnik <bkoz@fillmore.redhat.com>
6737 * include/c_std/bits/std_cwchar.h: Same.
6738 * testsuite/17_intro/header_cwchar.cc: Same.
6739 * include/c_std/bits/std_ctime.h: Same.
6740 * testsuite/17_intro/header_ctime.cc: Same.
6741 * include/c_std/bits/std_cstdlib.h: Same.
6742 Clean up undefs, make consistent with cwchar and cmath, etc.
6743 * testsuite/17_intro/header_cstdlib.cc: Same.
6744 * include/c_std/bits/std_cstdio.h: Same here.
6745 * testsuite/17_intro/header_cstring.cc: Same.
6746 * include/c_std/bits/std_cstring.h: Include std_cstddef.h for size_t.
6747 * testsuite/17_intro/header_cstring.cc: New file. Check for
6748 size_t in namespace std.
6750 * include/c_std/bits/std_cwchar.h: Explicit checks for mbstate_t.
6751 * acconfig.h (HAVE_MBSTATE_T): Add.
6752 * config.h.in: Regenerate.
6753 * acinclude.m4(GLIBCPP_CHECK_WCHAR_T_SUPPORT): Always test for
6755 * aclocal.m4: Regenerate.
6756 * configure: Regenerate.
6757 * testsuite/17_intro/headers_c++.cc: New file.
6758 * testsuite/17_intro/headers_c.cc: Small changes.
6760 2001-01-01 David Billinghurst <David.Billinghurst@riotinto.com>
6762 * tests_flags.in: Fix typo in usage.
6764 * tests_flags.in: Set target specific LIBS for cygwin.