1 2002-01-23 Loren Rittle <ljrittle@acm.org>
3 * testsuite/thread/pthread1.cc: New test.
4 * testsuite/thread/pthread2.cc: New test adapted from libstdc++/5347.
5 * testsuite/thread/pthread3.cc: Likewise.
6 * testsuite/thread/pthread4.cc: New test adapted from
7 http://gcc.gnu.org/ml/gcc-bugs/2002-01/msg00679.html
8 * testsuite/thread/pthread5.cc: New test adapted from libstdc++/5464.
9 * testsuite/thread/pthread6.cc: New test adapted from libstdc++/5444.
11 2002-01-23 Richard Henderson <rth@redhat.com>
14 * config/cpu/m68k/bits/atomicity.h (__exchange_and_add): Only use
15 CAS on the cpu variants that support it. Add versions that use
16 TAS and that disable interrupts.
17 (__atomic_add): Use __exchange_and_add to guarantee atomicity.
19 2002-01-23 Matt Kraai <kraai@alumni.cmu.edu>
21 * include/bits/locale_facets.tcc: Remove old comments.
23 2002-01-23 Andreas Tobler <toa@pop.agri.ch>
25 * include/bits/locale_facets.tcc (__convert_to_v): Change template
27 (__convert_from_v): Same.
29 2002-01-23 Benjamin Kosnik <bkoz@redhat.com>
31 * include/bits/locale_facets.h (num_get::_M_extract_int): Change
33 * include/bits/locale_facets.tcc (num_get::_M_extract_int): Remove
34 __max_digits checks, adjust arguments.
35 (num_get::do_get(*)): Changeup.
37 2002-01-23 Loren Rittle <ljrittle@acm.org>
39 * config/locale/c_locale_generic.cc: Fix typename usage.
41 2002-01-22 Benjamin Kosnik <bkoz@redhat.com>
43 * config/locale/c_locale_generic.cc: Fix.
45 2002-01-22 Benjamin Kosnik <bkoz@redhat.com>
47 * docs/html/22_locale/messages.html: Remove angle brackets.
48 * docs/html/17_intro/TODO: Add.
50 2002-01-22 Paolo Carlini <pcarlini@unitus.it>
52 * testsuite/27_io/ios_manip_basefield.cc: Enable test02.
53 * testsuite/27_io/ostream_inserter_arith.cc: Enable test03.
54 * testsuite/27_io/ostream_inserter_char.cc: Enable test01.
55 * testsuite/27_io/ostream_inserter_other.cc: Enable test04.
57 2002-01-22 Benjamin Kosnik <bkoz@redhat.com>
59 Audit for LANG independence.
60 * include/bits/localefwd.h: Tweaks.
61 * include/bits/locale_facets.tcc (money_get::do_get(long double)):
63 (time_get::do_get_year): Same.
64 (__convert_from_v): Add.
65 (num_put::_M_convert_float): Use.
66 (num_put::_M_convert_int): Same.
67 (money_put::do_put): Same.
69 * src/locale-inst.cc: Add instantiations for __convert_from_v.
70 * config/locale/time_members_gnu.cc: Cleanup setlocale usage.
71 * config/locale/time_members_generic.cc:
72 * config/locale/messages_members_gnu.cc: Same.
73 * config/locale/messages_members_gnu.h: Same.
75 * testsuite/22_locale/codecvt_members_wchar_t_char.cc (test02): New.
76 * testsuite/22_locale/codecvt_members_char_char.cc (test02): New.
77 * testsuite/22_locale/collate_members_wchar_t.cc (test02): New.
78 * testsuite/22_locale/collate_members_char.cc (test02): New.
79 * testsuite/22_locale/ctype_members_wchar_t.cc (test03): New.
80 * testsuite/22_locale/ctype_members_char.cc (test03): New.
81 * testsuite/22_locale/messages_members_char.cc (test02): New.
82 * testsuite/22_locale/moneypunct_members_wchar_t.cc (test02): New.
83 * testsuite/22_locale/moneypunct_members_char.cc (test02): New.
84 * testsuite/22_locale/money_get_members_wchar_t.cc (test04): New.
85 * testsuite/22_locale/money_get_members_char.cc (test04): New.
86 * testsuite/22_locale/money_put_members_wchar_t.cc (test04): New.
87 * testsuite/22_locale/money_put_members_char.cc (test04): New.
88 * testsuite/22_locale/numpunct_members_wchar_t.cc (test02): New.
89 * testsuite/22_locale/numpunct_members_char.cc (test02): New.
90 * testsuite/22_locale/time_put_members_wchar_t.cc (test03): New.
91 * testsuite/22_locale/time_put_members_char.cc (test03): New.
92 * testsuite/22_locale/time_get_members_wchar_t.cc (test07): New.
93 * testsuite/22_locale/time_get_members_char.cc (test07): New.
94 * testsuite/22_locale/num_get_members_wchar_t.cc (test03): New.
95 * testsuite/22_locale/num_get_members_char.cc (test03): New.
96 * testsuite/22_locale/num_put_members_wchar_t.cc (test03): New.
97 * testsuite/22_locale/num_put_members_char.cc (test03): New.
99 * testsuite/22_locale/time_get_members_char.cc: Fixups for global
101 * testsuite/22_locale/time_get_members_char.cc: Same.
103 2002-01-22 Benjamin Kosnik <bkoz@redhat.com>
106 * include/bits/localefwd.h: Tweak comments.
107 * include/bits/locale_facets.h (__convert_to_v): Add.
108 * include/bits/locale_facets.tcc (num_get::do_get(double)): Use it.
109 (num_get::do_get(float)): Same.
110 (num_get::do_get(long double)): Same.
111 (num_get::do_get(bool)): Same.
112 (num_get::do_get(long)): Same.
113 (num_get::do_get(long long)): Same.
114 (num_get::do_get(unsigned int)): Same.
115 (num_get::do_get(unsigned short)): Same.
116 (num_get::do_get(unsigned long)): Same.
117 (num_get::do_get(unsigned long long)): Same.
118 * config/locale/c_locale_gnu.cc (__convert_to_v): Specialize.
119 * config/locale/c_locale_generic.cc: Same.
121 2002-01-22 Loren Rittle <ljrittle@acm.org>
123 * include/Makefile.am (c_base_builddir): Remove redundant slash.
124 (std_builddir): Likewise.
125 (std_headers_rename): Fix cut-n-paste typo.
126 (install-data-local): Concat path per element instead of once to
127 first element of list.
128 * include/Makefile.in: Rebuilt.
130 2002-01-22 Benjamin Kosnik <bkoz@redhat.com>
132 * config/os/aix/bits/ctype_noninline.h: Fix formatting.
133 * config/os/bsd/netbsd/bits/ctype_noninline.h: Fix typo.
134 * config/os/bsd/freebsd/bits/ctype_noninline.h: Fix formatting.
136 2002-01-20 Benjamin Kosnik <bkoz@redhat.com>
138 * include/bits/locale_facets.h (ctype<char>::classic_table):
140 (ctype<char>::_S_ctable): Remove.
141 * config/os/gnu-linux/bits/ctype_noninline.h
142 (ctype<char>::_S_table): Remove definition.
143 (ctype<char>::classic_table): Define.
144 (ctype<char>::ctype): Replace _S_ctable with classic_table().
145 * config/os/aix/bits/ctype_noninline.h: Same.
146 * config/os/bsd/freebsd/bits/ctype_noninline.h: Same.
147 * config/os/bsd/netbsd/bits/ctype_noninline.h: Same.
148 * config/os/djgpp/bits/ctype_noninline.h: Same.
149 * config/os/generic/bits/ctype_noninline.h: Same.
150 * config/os/gnu-linux/bits/ctype_noninline.h: Same.
151 * config/os/hpux/bits/ctype_noninline.h: Same.
152 * config/os/irix/irix5.2/bits/ctype_noninline.h: Same.
153 * config/os/irix/irix6.5/bits/ctype_noninline.h: Same.
154 * config/os/mingw32/bits/ctype_noninline.h: Same.
155 * config/os/newlib/bits/ctype_noninline.h: Same.
156 * config/os/solaris/solaris2.5/bits/ctype_noninline.h: Same.
157 * config/os/solaris/solaris2.6/bits/ctype_noninline.h: Same.
158 * config/os/solaris/solaris2.7/bits/ctype_noninline.h: Same.
160 2002-01-20 Danny Smith <dannysmith@users.sourceforge.net>
162 * config/os/mingw32/bits/ctype_noninline.h: Declare _ctype instead
163 of _pctype. Use to define _S_ctable. Add definition for alternate
164 ctor. Initialise _M_ctable to _S_ctable in ctors.
165 (do_toupper, do_tolower): Use inline code appropriate for C-locale
166 rather than ::toupper, ::tolower.
168 2002-01-18 Loren Rittle <ljrittle@acm.org>
170 * testsuite/18_support/numeric_limits.cc (test_extrema<long double>):
171 Add specialization for FreeBSD systems only to avoid losing test
172 only due to extra precision unmentioned in system headers.
174 2002-01-18 David Billinghurst <David.Billinghurst@riotinto.com>
176 * config/os/irix/irix6.5/bits/ctype_noninline.h: Fix typo
178 2002-01-17 Nick Clifton <nickc@cambridge.redhat.com>
180 * testsuite/testsuite_hooks.h: Fix comment typo. Memory
181 limiting is only attempted if _GLIBCPP_MEM_LIMIT is defined.
183 2002-01-17 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
185 * testsuite/22_locale/ctor_copy_dtor.cc: Remove check.
187 2002-01-17 David Edelsohn <edelsohn@gnu.org>
189 * configure.target: Define OPT_LDFLAGS for AIX case.
191 2002-01-17 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
193 * include/std/std_limits.h (__glibcpp_float_has_quiet_NaN,
194 __glibcpp_double_has_quiet_NaN): Correct mispelling.
196 2002-01-17 Andreas Tobler <toa@pop.agri.ch>
198 * config/os/solaris/solaris2.6/bits/ctype_noninline.h: Fix.
200 2002-01-16 David Edelsohn <dje@watson.ibm.com>
202 * acinclude.m4 (GLIBCPP_CHECK_LINKER_FEATURES): Do not clear
203 SECTION_LDFLAGS and OPT_LDFLAGS. Fix ac_sectionLDflags type.
204 * aclocal.m4: Regenerate.
205 * configure: Regenerate.
207 2002-01-16 Benjamin Kosnik <bkoz@redhat.com>
209 * include/Makefile.am (c_base_headers_rename): New.
210 (c_base_headers_extra): New.
211 (stamp-c_base): Modify.
212 (install-data-local): Use both.
213 * include/Makefile.in: Regenerate.
214 * include/c/[cctype ciso646 cmath cstdarg cstdlib cerrno climits
215 csetjmp cstddef cstring cwchar cassert cfloat clocale csignal
216 cstdio ctime cwctype]: Move to..
217 * include/c/std_*: Here.
218 * include/c_std/[cctype ciso646 cmath cstdarg cstdlib cerrno climits
219 csetjmp cstddef cstring cwchar cassert cfloat clocale csignal
220 cstdio ctime cwctype]: Move to..
221 * include/c_std/std_*: Here.
223 Alexandre Oliva <aoliva@redhat.com>
224 * include/Makefile.am (.PRECIOUS): Add rule.
225 * include/Makefile.in: Regenerate.
227 2002-01-16 Benjamin Kosnik <bkoz@redhat.com>
228 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
230 * include/bits/stl_iterator.h (reverse_iterator::_M_current):
231 Deuglify, should be current.
232 (back_insert_iterator::_M_container): Deuglify, should be container.
233 (front_insert_iterator::_M_container): Same.
234 (insert_iterator::_M_container): Same.
235 * testsuite/24_iterators/reverse_iterator.cc: Add check.
236 * testsuite/24_iterators/back_insert_iterator.cc: Add check.
237 * testsuite/24_iterators/front_insert_iterator.cc: Same.
238 * testsuite/24_iterators/insert_iterator.cc: Same.
240 2002-01-16 Benjamin Kosnik <bkoz@redhat.com>
242 * include/bits/locale_facets.h (ctype<char>::classic_table): Make
244 (ctype<char>::_M_ctable): Make static, change name to _S_ctable.
245 * config/os/gnu-linux/bits/ctype_noninline.h: Define _S_ctable.
246 * config/os/solaris/solaris2.7/bits/ctype_noninline.h: Same.
247 * config/os/solaris/solaris2.6/bits/ctype_noninline.h: Same.
248 * config/os/solaris/solaris2.5/bits/ctype_noninline.h: Same.
249 * config/os/newlib/bits/ctype_noninline.h: Same.
250 * config/os/irix/irix6.5/bits/ctype_noninline.h: Same.
251 * config/os/irix/irix5.2/bits/ctype_noninline.h: Same.
252 * config/os/hpux/bits/ctype_noninline.h: Same.
253 * config/os/djgpp/bits/ctype_noninline.h: Same.
254 * config/os/bsd/netbsd/bits/ctype_noninline.h: Same.
255 * config/os/bsd/freebsd/bits/ctype_noninline.h: Same.
256 * config/os/aix/bits/ctype_noninline.h: Same.
258 Testcase by Dietmar Kühl via Peter Schmid
259 * testsuite/22_locale/ctype_members_char.cc (char>): Add test for
262 2002-01-16 Benjamin Kosnik <bkoz@redhat.com>
264 * libmath/signbitl.c: Copyright years as list, not range.
265 * libmath/Makefile.am: Same.
266 * libmath/Makefie.in: Regenerate.
267 * libmath/signbit.c: Same.
268 * libmath/nan.c: Same.
269 * libmath/copysignf.c: Same.
270 * libmath/signbitf.c: Same.
271 * testsuite/22_locale/money_get_members_char.cc: Same.
272 * testsuite/22_locale/money_get_members_wchar_t.cc: Same.
273 * testsuite/22_locale/money_put_members_char.cc: Same.
274 * testsuite/22_locale/money_put_members_wchar_t.cc: Same.
275 * testsuite/22_locale/time_get_members_char.cc: Same.
276 * testsuite/22_locale/time_get_members_wchar_t.cc: Same.
277 * testsuite/22_locale/time_put_members_char.cc: Same.
278 * testsuite/22_locale/time_put_members_wchar_t.cc: Same.
279 * testsuite/21_strings/nonmember.cc: Same.
280 * testsuite/21_strings/compare.cc: Same.
281 * testsuite/27_io/stringstream.cc: Same.
282 * testsuite/27_io/stringbuf.cc: Same.
283 * testsuite/27_io/filebuf.cc: Same.
284 * testsuite/27_io/ios_manip_basefield.cc: Same.
285 * testsuite/27_io/ios_manip_fmtflags.cc: Same.
286 * include/bits/cpp_type_traits.h: Same.
287 * include/bits/generic_shadow.h: Same.
288 * include/bits/gslice_array.h: Same.
289 * include/bits/gslice.h: Same.
290 * include/bits/indirect_array.h: Same.
291 * include/bits/slice_array.h: Same.
292 * include/bits/sstream.tcc: Same.
293 * include/bits/streambuf_iterator.h: Same.
294 * include/bits/valarray_array.tcc: Same.
295 * include/bits/valarray_meta.h: Same.
296 * include/bits/valarray_array.h: Same.
297 * config/os/mingw32/bits/ctype_noninline.h: Same.
298 * config/os/mingw32/bits/ctype_base.h: Same.
299 * config/os/hpux/bits/ctype_noninline.h: Same.
300 * config/os/hpux/bits/ctype_base.h: Same.
301 * config/os/gnu-linux/bits/ctype_noninline.h: Same.
302 * config/os/gnu-linux/bits/ctype_base.h: Same.
303 * config/os/generic/bits/ctype_noninline.h: Same.
304 * config/os/generic/bits/ctype_base.h: Same.
306 * libsupc++/tinfo.h: Tweaks.
308 2002-01-15 Benjamin Kosnik <bkoz@redhat.com>
310 * testsuite/22_locale/num_put_members_wchar_t.cc (test02): Same.
311 * testsuite/22_locale/num_put_members_char.cc (test01): Tweak.
312 * testsuite/22_locale/ctype_members_char.cc: Tweak.
314 2002-01-15 Benjamin Kosnik <bkoz@redhat.com>
316 * include/bits/locale_facets.tcc (num_put::do_put(bool): Fix.
317 (num_put::do_put(void*)): Fix.
318 * testsuite/22_locale/num_put_members_char.cc (test02): Add.
319 * testsuite/22_locale/num_put_members_wchar_t.cc (test02): Add.
320 * testsuite/22_locale/num_get_members_char.cc (test02): Add
321 long double, void, bool types.
322 * testsuite/22_locale/num_get_members_wchar_t.cc (test02): Add.
324 2002-01-15 Benjamin Kosnik <bkoz@redhat.com>
325 Alexandre Oliva <aoliva@redhat.com>
327 * libmath/Makefile.am (LINK): Add --tag CC.
328 * libmath/Makefile.in: Regenerate.
330 2002-01-15 John David Anglin <dave@hiauly1.hia.nrc.ca>
332 * config/os/hpux/bits/ctype_noninline.h: Use __SB_masks for address
333 of character to attribute mapping table.
335 2002-01-15 David Billinghurst <David.Billinghurst@riotinto.com>
337 * testsuite/26_numerics/c99_classification_macros_c.cc
338 Remove dg-error and dg-excess-errors comments.
340 2002-01-14 Benjamin Kosnik <bkoz@redhat.com>
342 * include/bits/locale_facets.tcc (time_put::put): Correct output
344 * testsuite/22_locale/time_put_members_char.cc (test02): Add.
345 * testsuite/22_locale/time_put_members_wchar_t.cc (test02): Add.
346 * testsuite/22_locale/time_get_members_wchar_t.cc (test06): Add.
347 * testsuite/22_locale/time_get_members_char.cc (test06): Add.
349 2002-01-14 Craig Rodrigues <rodrigc@gcc.gnu.org>
351 * docs/html/17_intro/porting-howto.xml: Update filebuf section.
353 2002-01-14 Paolo Carlini <pcarlini@unitus.it>
354 Nathan Myers <ncm@cantrip.org>
356 * include/bits/basic_string.h
357 (replace(__pos, __n1, __s, __n2)): Optimize by avoiding
358 temporaries (i.e., call _M_replace_safe) when possible.
359 (replace(__pos, __n, __str)): Call replace(__pos, __n1, __s, __n2).
360 (replace(__pos, __n1, __s)): Call replace(__pos, __n1, __s , __n2).
361 (replace(__i1, __i2, __str)): Call replace(__i1, __i2, __s, __n).
362 (replace(__i1, __i2, __s)): Call replace(__i1, __i2, __s, __n).
363 (replace(__i1, __i2, __s, __n)): Call replace(__pos1, __n1, __s, __n2).
364 * include/bits/basic_string.tcc
365 (replace(__pos1, __n1, __str, __pos2, __n2)): Call
366 replace(__pos, __n1, __s, __n2).
367 * testsuite/21_strings/replace.cc (test03): New testcases.
369 * include/bits/basic_string.h (insert(__pos, __s, __n)):
370 Adjust comparison wrt overflow.
372 2002-01-12 Benjamin Kosnik <bkoz@redhat.com>
374 * include/Makefile.am (std_headers_rename): New variable.
375 (install-data-local): Use it.
376 * include/Makefile.in: Regenerate.
378 2002-01-12 Benjamin Kosnik <bkoz@redhat.com>
380 * include/bits/locale_facets.tcc (money_put::do_put(string):
381 Correct output iterator value.
382 * testsuite/22_locale/money_put_members_char.cc (test03): Add.
383 * testsuite/22_locale/money_put_members_wchar_t.cc: Same.
385 2002-01-11 Phil Edwards <pme@gcc.gnu.org>
387 * include/Makefile.am, include/Makefile.in (stamp-std): Fix typo from
390 2002-01-11 Phil Edwards <pme@gcc.gnu.org>
392 * include/Makefile.am (std_headers): Update list with new names.
393 (stamp-std): Link to standardized name.
394 * include/Makefile.in: Regenerate.
396 * include/std/algorithm, include/std/bitset, include/std/complex,
397 include/std/deque, include/std/fstream, include/std/functional,
398 include/std/iomanip, include/std/ios, include/std/iosfwd,
399 include/std/iostream, include/std/istream, include/std/iterator,
400 include/std/limits, include/std/list, include/std/locale,
401 include/std/map, include/std/memory, include/std/numeric,
402 include/std/ostream, include/std/queue, include/std/set,
403 include/std/sstream, include/std/stack, include/std/stdexcept,
404 include/std/streambuf, include/std/string, include/std/utility,
405 include/std/valarray, include/std/vector: Rename to...
407 * include/std/std_algorithm.h, include/std/std_bitset.h,
408 include/std/std_complex.h, include/std/std_deque.h,
409 include/std/std_fstream.h, include/std/std_functional.h,
410 include/std/std_iomanip.h, include/std/std_ios.h,
411 include/std/std_iosfwd.h, include/std/std_iostream.h,
412 include/std/std_istream.h, include/std/std_iterator.h,
413 include/std/std_limits.h, include/std/std_list.h,
414 include/std/std_locale.h, include/std/std_map.h,
415 include/std/std_memory.h, include/std/std_numeric.h,
416 include/std/std_ostream.h, include/std/std_queue.h,
417 include/std/std_set.h, include/std/std_sstream.h,
418 include/std/std_stack.h, include/std/std_stdexcept.h,
419 include/std/std_streambuf.h, include/std/std_string.h,
420 include/std/std_utility.h, include/std/std_valarray.h,
421 include/std/std_vector.h: ...this.
423 2002-01-11 Loren Rittle <ljrittle@acm.org>
425 * include/Makefile.am (extra_target_headers): New list of all
426 target files built with ad hoc naming rules.
427 (stamp-*): Handle LN_S failure in manner portable across make
429 (install-data-local): Install header files from human-maintained
430 file lists and directory components instead of non-robust find.
431 * include/Makefile.in: Rebuilt.
433 2002-01-11 Benjamin Kosnik <bkoz@redhat.com>
435 * include/bits/locale_facets.tcc (money_get::do_get(string)):
436 Check for zero-length negative sign before adding it to output
438 (money_get::do_get(long double)): Return beg.
439 * testsuite/22_locale/money_get_members_char.cc (test02): Add
441 * testsuite/22_locale/money_get_members_wchar_t.cc: Same.
443 2002-01-10 David Seymour <seymour_dj@yahoo.com>
446 * include/bits/locale_facets.h (num_get<>): Return advanced iterator
447 for _M_extract_float and _M_extract_int
448 * include/bits/locale_facets.tcc (num_get<>::_M_extract_float)
449 (num_get<>::_M_extract_int): Likewise, all callers changed
450 * testsuite/22_locale/num_get_members_char.cc: Testcase
452 2002-01-09 Paolo Carlini <pcarlini@unitus.it>
454 * libsupc++/exception (bad_exception): Add comment.
455 * libsupc++/new (bad_alloc): Same.
456 * libsupc++/typeinfo (bad_cast, bad_typeid): Same.
458 2002-01-09 Paolo Carlini <pcarlini@unitus.it>
460 libstdc++/3150: revert 2001-11-30 commit. DR266 only means
461 that the destructors should be removed from the descriptions
462 in the standard: writing them explicitly allows the vtable
463 heuristic to work. For additional information see:
464 http://gcc.gnu.org/ml/libstdc++/2002-01/msg00090.html
465 http://gcc.gnu.org/ml/libstdc++/2002-01/msg00110.html
466 http://gcc.gnu.org/ml/libstdc++/2002-01/msg00155.html
467 * libsupc++/exception (bad_exception::~bad_exception()):
468 Reintroduce declaration.
469 * libsupc++/new (bad_alloc::~bad_alloc()): Same.
470 * libsupc++/typeinfo (bad_cast::~bad_cast()): Same.
471 (bad_typeid::~bad_typeid()): Same.
472 * libsupc++/eh_exception.cc (bad_exception::~bad_exception()):
473 Reintroduce definition.
474 * libsupc++/new_handler.cc (bad_alloc::~bad_alloc()): Same.
475 * libsupc++/tinfo.cc (bad_cast::~bad_cast()): Same.
476 (bad_typeid::~bad_typeid()): Same.
478 2002-01-09 Benjamin Kosnik <bkoz@redhat.com>
480 * include/Makefile.am (c_base_srcdir): Remove duplicate '/'.
481 * include/Makefile.in: Regenerate.
483 2002-01-09 Bo Thorsen <bo@suse.co.uk>
485 * config/cpu/x86-64/bits/cpu_limits.h (__glibcpp_long_bits): Add
488 2002-01-08 Benjamin Kosnik <bkoz@redhat.com>
492 * include/bits/fstream.tcc (filebuf::_M_really_overflow): Test
493 return value of _M_file->sync().
494 (filebuf::showmanyc): Check for is_open.
495 * include/std/fstream (filebuf::sync): Tweak.
496 * testsuite/27_io/filebuf.cc: Tweak.
498 2002-01-08 John Fardo <jfardo@laurelnetworks.com>
499 Brad Garcia <garsh@attbi.com>
501 * testsuite/27_io/filebuf_members.cc: Add test.
503 2002-01-07 Benjamin Kosnik <bkoz@redhat.com>
504 Craig Rodrigues <rodrigc@mediaone.net>
507 * po/Makefile.am (mkinstalldirs): Add.
508 * po/Makefile.in: Regenerate.
510 2002-01-07 David Billinghurst <David.Billinghurst@riotinto.com>
512 * testsuite_flags.in: Add -fmessage-length=0 to CXXFLAGS *
513 testsuite/lib/prune.exp: Delete lines ":In function ..." from
515 * testsuite/23_containers/map_operators.cc: Remove
516 dg-excess-errors comment.
517 * testsuite/23_containers/set_operators.cc: Likewise.
519 2002-01-06 Paolo Carlini <pcarlini@unitus.it>
521 * include/bits/stl_function.h: Remove two lines of comments;
522 adjust copyright years.
524 2002-01-04 Benjamin Kosnik <bkoz@redhat.com>
526 * include/Makefile.am (std_headers): Remove cXXX from list.
527 (c_base_srcdir): No bits subdirectory.
528 (c_base_builddir): Same.
529 (c_base_headers): Adjust names, add ciso646.
530 (bits_headers): Remove std_xxx.h headers.
531 * include/Makefile.in: Regenerate.
533 * include/ext/iterator: Adjust includes.
534 * include/ext/ropeimpl.h: Same.
535 * include/ext/stl_hash_fun.h: Same.
536 * include/ext/algorithm: Same.
538 * include/backward/bvector.h: Adjust includes.
539 * include/backward/vector.h: Same.
540 * include/backward/strstream: Same.
541 * include/backward/streambuf.h: Same.
542 * include/backward/stack.h: Same.
543 * include/backward/set.h: Same.
544 * include/backward/queue.h: Same.
545 * include/backward/multiset.h: Same.
546 * include/backward/multimap.h: Same.
547 * include/backward/map.h: Same.
548 * include/backward/list.h: Same.
549 * include/backward/iterator.h: Same.
550 * include/backward/iostream.h: Same.
551 * include/backward/iomanip.h: Same.
552 * include/backward/fstream.h: Same.
553 * include/backward/deque.h: Same.
554 * include/backward/complex.h: Same.
556 * include/bits/std_algorithm.h: Move to...
557 * include/std/algorithm: ...here.
558 * include/bits/std_iosfwd.h, std_locale.h, std_stack.h,
559 std_bitset.h, std_ios.h, std_map.h, std_stdexcept.h,
560 std_complex.h, std_iostream.h, std_memory.h, std_streambuf.h,
561 std_deque.h, std_istream.h, std_numeric.h, std_string.h,
562 std_fstream.h, std_ostream.h, std_utility.h, std_iterator.h,
563 std_queue.h, std_valarray.h, std_functional.h, std_limits.h,
564 std_set.h, std_vector.h, std_iomanip.h, std_list.h, std_sstream.h:
567 * include/c_std/bits/std_cassert.h: Move to...
568 * include/c_std/cassert: Here.
569 * include/c_std/std_cctype.h, std_cerrno.h, std_cfloat.h,
570 std_climits.h, std_clocale.h, std_cmath.h, std_csetjmp.h,
571 std_csignal.h, std_cstdarg.h, std_cstddef.h, std_cstdio.h,
572 std_cstdlib.h, std_cstring.h, std_ctime.h, std_cwchar.h,
574 * include/c_std/cmath: Adjust cmath.tcc include.
575 * include/c_std/cstdlib: Adjust includes.
576 * include/c_std/cwchar: Same.
577 * include/c_std/ctime: Same.
578 * include/c_std/cstring: Same.
579 * include/c_std/cstdio: Same.
580 * include/c_std/bits: Remove directory.
582 * include/c/bits/std_cassert.h: Move to...
583 * include/c/cassert: Here.
584 * include/c/std_cctype.h, std_cerrno.h, std_cfloat.h,
585 std_climits.h, std_clocale.h, std_cmath.h, std_csetjmp.h,
586 std_csignal.h, std_cstdarg.h, std_cstddef.h, std_cstdio.h,
587 std_cstdlib.h, std_cstring.h, std_ctime.h, std_cwchar.h,
589 * include/c/bits: Remove directory.
591 * include/std/cwctype: Remove.
592 * include/std/cwchar: Remove.
593 * include/std/ctime: Remove.
594 * include/std/cstring: Remove.
595 * include/std/cstdlib: Remove.
596 * include/std/cstdio: Remove.
597 * include/std/cstddef: Remove.
598 * include/std/cstdarg: Remove.
599 * include/std/csignal: Remove.
600 * include/std/csetjmp: Remove.
601 * include/std/cmath: Remove.
602 * include/std/clocale: Remove.
603 * include/std/climits: Remove.
604 * include/std/ciso646: Remove.
605 * include/std/cfloat: Remove.
606 * include/std/cerrno: Remove.
607 * include/std/cctype: Remove.
608 * include/std/cassert: Remove.
610 * include/bits/fpos.h: Adjust includes, removing <bits/std_xxx.h>
611 files and subsituting <.xxx>
612 * include/bits/valarray_array.h: Same.
613 * include/bits/stl_uninitialized.h: Same.
614 * include/bits/stl_alloc.h: Same.
615 * include/bits/stl_algobase.h: Same.
616 * include/bits/sstream.tcc: Same.
617 * include/bits/pthread_allocimpl.h: Same.
618 * include/bits/ostream.tcc: Same.
619 * include/bits/localefwd.h: Same.
620 * include/bits/locale_facets.tcc: Same.
621 * include/bits/locale_facets.h: Same.
622 * include/bits/istream.tcc: Same.
623 * include/bits/char_traits.h: Same.
624 * include/bits/boost_concept_check.h: Same.
625 * include/bits/basic_file.h: Same.
626 * include/std/bitset: Same.
627 * include/std/complex: Same.
628 * include/std/fstream: Same.
629 * include/std/functional: Same.
630 * include/std/ios: Same.
631 * include/std/iostream: Same.
632 * include/std/ostream: Same.
633 * include/std/sstream: Same.
634 * include/std/streambuf: Same.
635 * include/std/string: Same.
636 * include/std/iterator: Same.
637 * include/std/valarray: Same.
639 * src/ios.cc: Adjust includes.
640 * src/valarray-inst.cc: Same.
641 * src/string-inst.cc: Same.
642 * src/stl-inst.cc: Same.
643 * src/stdexcept.cc: Same.
644 * src/misc-inst.cc: Same.
645 * src/localename.cc: Same.
646 * src/locale-inst.cc: Same.
647 * src/locale.cc: Same.
648 * src/limits.cc: Same.
649 * src/concept-inst.cc: Same.
650 * src/complex_io.cc: Same.
651 * src/codecvt.cc: Same.
652 * src/bitset.cc: Same.
653 * src/cmath.cc: Same.
655 2002-01-04 Paolo Carlini <pcarlini@unitus.it>
657 * include/bits/stl_tree.h (rb_tree): Move to...
658 * include/ext/rb_tree: ...here, new file.
659 * include/Makefile.am (ext_headers): Add new file.
660 * include/Makefile.in: Regenerate.
661 * include/bits/stl_tempbuf.h (get_temporary_buffer + helper,
662 return_temporary_buffer, struct temporary_buffer): Move to...
663 * include/ext/memory: ...here.
664 * testsuite/ext/headers.cc: Include <ext/rb_tree>.
665 * include/backward/tempbuf.h: Include <ext/memory>, tweak.
666 * include/backward/tree.h: Include <ext/rb_tree), tweak.
668 2002-01-03 Paolo Carlini <pcarlini@unitus.it>
670 * include/bits/stl_numeric.h (power + helpers, iota): Move to...
671 * include/ext/numeric: ...here, new file.
672 * include/bits/stl_function.h (identity_element, unary_compose,
673 binary_compose, compose1, compose2, identity, select1st,
674 select2nd, project1st + helper, project2nd + helper,
675 constant_void_fun + helper, constant_unary_fun + helper,
676 costant_binary_fun + helper, constant0, constant1, constant2,
677 subtractive_rng, mem_fun1, mem_fun1_ref): Move to...
678 * include/ext/functional: ...here, new file.
679 * include/Makefile.am (ext_headers): Add new files.
680 * include/Makefile.in: Regenerate.
681 * testsuite/ext/headers.cc: Include <ext/numeric> and
683 * include/backward/algo.h: Include <ext/numeric>, tweak.
684 * include/backward/function.h: Include <ext/functional>, tweak.
685 * include/ext/ropeimpl.h: Include <ext/numeric>.
687 2002-01-03 Jeffrey A Law <law@redhat.com>
689 * config/os/hpux/bits/os_defines.h: Prefix __strtoll and
690 __strtoull declarations with __extension__.
692 2002-01-03 David Billinghurst <David.Billinghurst@riotinto.com>
694 * testsuite/lib/prune.exp: Correct regular expression for
697 2002-01-02 Phil Edwards <pme@gcc.gnu.org>
699 * include/bits/stl_algo.h (upper_bound, equal_range, binary_search):
700 Change concept checks, as with lower_bound and PR 2054.
701 * testsuite/ext/concept_checks.cc: Expand test to include those.
703 2002-01-02 Phil Edwards <pme@gcc.gnu.org>
705 * include/bits/boost_concept_check.h: Import some changes from
706 upsteam (Boost) version.
708 2002-01-02 Paolo Carlini <pcarlini@unitus.it>
710 * include/bits/stl_algobase.h (copy_n + helpers,
711 lexicographical_compare_3way + helpers): Move to...
712 * include/ext/algorithm: ...here.
713 * include/bits/stl_uninitialized.h (uninitialized_copy_n +
715 * include/ext/memory: ...here, new file.
716 * include/Makefile.am (ext_headers): Add new file.
717 * include/Makefile.in: Regenerate.
718 * testsuite/ext/headers.cc: Include <ext/memory>.
719 * include/backward/algobase.h: Include <ext/memory> and
720 <ext/algorithm>, tweak.
721 * include/ext/ropeimpl.h: Include <ext/memory>, tweak.
722 * include/ext/stl_rope.h: Include <ext/memory>, tweak.
724 2002-01-01 Roger Sayle <roger@eyesopen.com>
726 * libmath/stubs.c (sinf,cosf): Implement stubs to enable the
727 equivalent ___builtin__ versions.
729 * include/c_shadow/bits/std_cmath.h: All __builtin math functions
730 are available in libstdc++ as the necessary stub implementations
731 are provided by libmath/stubs.c.
733 2002-01-01 Jason Thorpe <thorpej@wasabisystems.com>
735 * configure.in: Add support for NetBSD cross compiles.
736 * configure: Regenerate.
738 2001-12-31 Paolo Carlini <pcarlini@unitus.it>
740 * include/ext/iterator: Add #include <bits/std_iterator.h>, tweak.
741 * testsuite/ext/headers.cc: Add <ext/iterator>.
743 2001-12-31 Paolo Carlini <pcarlini@unitus.it>
745 * include/backward/algo.h: Add two more using declarations.
746 * include/backward/iterator.h: Include <ext/iterator>,
747 add using declaration.
748 * include/ext/algorithm: Add #pragma GCC system_header.
750 2001-12-31 Phil Edwards <pme@gcc.gnu.org>
752 * include/bits/stl_bvector.h: Change calls to 3-argument distance()
753 into standard 2-argument version.
754 * include/bits/stl_deque.h: Likewise.
755 * include/bits/stl_tempbuf.h: Likewise.
756 * include/bits/stl_tree.h: Likewise.
757 * include/bits/stl_vector.h: Likewise.
758 * include/ext/stl_hashtable.h: Likewise.
759 * include/bits/stl_iterator_base_funcs.h: Move distance() extension...
760 * include/ext/iterator: to here. New file.
761 * include/Makefile.am (ext_headers): Add new file, alphabatize.
762 * include/Makefile.in: Regenerate.
764 2001-12-31 Phil Edwards <pme@gcc.gnu.org>
766 * include/bits/stl_deque.h: Doxygenate with initial/example hooks.
767 Clean up spacing and indentation.
769 2001-12-31 Paolo Carlini <pcarlini@unitus.it>
771 * include/ext/slist: Move into __gnu_cxx,
772 tweak, add using declarations.
774 2001-12-31 Paolo Carlini <pcarlini@unitus.it>
776 * include/ext/hash_map: Move into __gnu_cxx,
777 tweak, add using declarations.
778 * include/ext/hash_set: Ditto.
779 * include/ext/ropeimpl.h: Ditto.
780 * include/ext/stl_hash_fun.h: Ditto.
781 * include/ext/stl_hashtable.h: Ditto.
782 * include/ext/stl_rope.h: Ditto.
783 * src/ext-inst.cc: Tweak.
784 * testsuite/ext/rope.cc: Tweak.
786 2001-12-31 Paolo Carlini <pcarlini@unitus.it>
788 * include/backward/algo.h: Include <ext/algorithm>,
789 tweak using declarations.
791 2001-12-29 Richard Henderson <rth@redhat.com>
793 * config/os/hpux/bits/os_defines.h: Don't define __glibcpp_long_bits.
794 * config/os/hpux/bits/cpu_limits.h: New file.
795 * configure.target (CPULIMITSH): Use it.
797 2001-12-28 Richard Henderson <rth@redhat.com>
799 * config/cpu/ia64/bits/cpu_limits.h: New file.
800 * config/os/osf/osf5.0/bits/cpu_limits.h: New file.
801 * configure.target (CPULIMITSH): Use them.
803 2001-12-28 Phil Edwards <pme@gcc.gnu.org>
805 * include/bits/c++config: Move doxygen hook comment...
806 * docs/doxygen/doxygroups.cc: ...to here.
808 2001-12-28 Phil Edwards <pme@gcc.gnu.org>
811 * include/bits/stl_algo.h (lower_bound): Relax concept checks.
812 * testsuite/ext/concept_checks.cc: New file.
814 2001-12-28 Paolo Carlini <pcarlini@unitus.it>
816 * include/bits/stl_algo.h (count returning void,
817 count_if returning void, __random_sample, random_sample,
818 random_sample_n, __is_heap, is_heap, is_sorted): Move to...
819 * include/ext/algorithm: ...here, new file.
820 * include/Makefile.am (ext_headers): Add new file.
821 * include/Makefile.in: Regenerate.
822 * testsuite/ext/headers.cc: Include <ext/algorithm>.
824 2001-12-28 Paolo Carlini <pcarlini@unitus.it>
825 Nathan Myers <ncm@cantrip.org>
827 * include/bits/basic_string.h (insert(__pos, __s, __n)):
828 Optimize by avoiding temporaries and working in-place when possible.
829 (insert(__pos1, __str)): Call insert(__pos1, __str, __pos2, __n).
830 (insert(__pos1, __str, __pos2, __n)): Call insert(__pos, __s, __n).
831 * testsuite/21_strings/insert.cc (test02): New testcases.
833 2001-12-27 Phil Edwards <pme@gcc.gnu.org>
835 * testsuite/testsuite_hooks.h (gnu_counting_struct): Add.
836 * testsuite/23_containers/deque_ctor.cc: New file.
838 2001-12-27 Paolo Carlini <pcarlini@unitus.it>
840 * include/bits/locale_facets.tcc (collate::do_transform):
841 Adjust implicit typename.
842 * config/locale/messages_members_generic.h (messages::open,
843 messages::do_open, messages::do_get): Adjust implicit typename.
844 * config/locale/messages_members_gnu.h (messages::open,
845 messages::do_open, messages::do_get): Adjust Implicit typename.
846 * config/locale/messages_members_ieee_1003.1-200x.h (messages::open,
847 messages::do_open, messages::do_get): Adjust implicit typename.
849 2001-12-27 Phil Edwards <pme@gcc.gnu.org>
852 * src/misc-inst.cc: Many additional I/O-related instantiations.
853 * testsuite/27_io/instantiations.cc: New file.
855 2001-12-26 Benjamin Kosnik <bkoz@waller.constant.com>
857 * testsuite/24_iterators/insert_iterator.cc (test02): Add.
858 * testsuite/24_iterators/front_insert_iterator.cc (test02): Add.
859 * testsuite/24_iterators/back_insert_iterator.cc (test02): Add.
860 * testsuite/24_iterators/reverse_iterator.cc (test02): Add.
862 * include/bits/stl_iterator.h (reverse_iterator): Uglify member
863 current to _M_current.
864 (back_insert_iterator): Uglify member container to _M_container.
865 (front_insert_iterator): Same.
866 (insert_iterator): Same.
868 2001-12-25 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
870 * include/bits/std_limits.h (__glibcpp_xxx_is_modulo): New
871 macros for signed types; default value is true.
872 (numeric_limits<>::is_modulo): Get value from corresponding
873 __glibcpp_xxx_is_modulo macro.
875 2001-12-23 Jeffrey A Law <law@redhat.com>
877 * config/os/hpux/bits/os_defines.h: Do not include <_sys/inttypes.h>.
878 Twiddle return types for strtoll and strtoull to avoid using
879 intmax_t and uintmax-t.
881 2001-12-22 Richard Henderson <rth@redhat.com>
883 * configure.target (CPULIMITSH): Fix typo in alpha case.
885 2001-12-22 Jeffrey A Law <law@redhat.com>
887 * config/os/hpux/bits/os_defines.h: Update to avoid #defines
888 for strtoll and strtoull.
890 2001-12-21 Jeffrey A Law <law@redhat.com>
892 * config/os/hpux/bits/os_defines.h: Include <sys/_inttypes.h.
893 Define strtoll and strtoull. Provide prototypes for
894 __strtoll and __strtoull. Define _GLIBCPP_USE_LONG_LONG
897 * src/locale-inst.cc: Include <bits/std_cstdlib.h>
899 * configure.target: Fix typo in hpux case.
901 2001-12-21 Paolo Carlini <pcarlini@unitus.it>
903 * include/ext/stl_rope.h (_Rope_iterator):
904 Add local typedef to fix implicit typename problems.
906 2001-12-19 Phil Edwards <pme@gcc.gnu.org>
908 * docs/doxygen/Intro.3: New 'Allocators' module.
909 * docs/doxygen/TODO: Update.
910 * docs/doxygen/doxygroups.cc: Update.
911 * docs/doxygen/run_doxygen: Update.
913 * include/bits/stl_alloc.h: Tweak doxygen hooks in comments.
914 * include/bits/std_memory.h: Doxygenate.
915 * include/bits/stl_iterator_base_types.h: Likewise.
916 * include/bits/stl_raw_storage_iter.h: Likewise.
917 * include/bits/stl_tempbuf.h: Likewise.
918 (get_temporary_buffer): Remove unused nonstandard overload.
919 * include/bits/stl_uninitialized.h: Likewise.
921 * include/bits/stl_iterator_base_types.h (input_iterator,
922 output_iterator, forward_iterator, bidirectional_iterator,
923 random_access_iterator): Move old names...
924 * include/backward/iterator.h: ...to here.
925 * include/bits/stl_bvector.h: Update.
926 * include/ext/stl_rope.h: Update.
928 2001-12-19 Phil Edwards <pme@gcc.gnu.org>
930 * docs/html/configopts.html: Describe recent options.
931 * docs/html/documentation.html: Point to new doxygen tarballs.
932 * docs/html/install.html: Brief updates.
933 * docs/html/17_intro/RELEASE-NOTES: Remove weird control character.
934 * docs/html/ext/howto.html: Fix typos, describe filebuf::fd().
935 * docs/html/faq/index.html: Update for 3.0.95.
936 * docs/html/faq/index.txt: Regenerate.
938 2001-12-19 David Billinghurst <David.Billinghurst@riotinto.com>
941 * testsuite/lib/libstdc++-v3-dg.exp: Append .exe to
944 2001-12-18 Benjamin Kosnik <bkoz@redhat.com>
946 * docs/html/17_intro/TODO: Update.
947 * docs/html/17_intro/RELEASE-NOTES: Edits, update.
948 * README: Edit for clarity, update to reflect current directory
951 2001-12-18 Benjamin Kosnik <bkoz@redhat.com>
953 * acinclude.m4 (GLIBCPP_ENABLE_CLOCALE): Extended checking before
955 * aclocal.m4: Rebuild.
956 * configure: Rebuild.
958 2001-12-18 Paolo Carlini <pcarlini@unitus.it>
959 Nathan Myers <ncm@cantrip.org>
961 * include/bits/basic_string.h (assign(__str, __pos, __n)):
962 Call assign(__s, __n).
963 (assign(__s, __n)): Terminate the string with _S_terminal.
965 2001-12-17 Benjamin Kosnik <bkoz@redhat.com>
967 * include/bits/std_limits.h (__glibcpp_long_double_is_bounded):
968 Set to true, like float and double.
970 2001-12-17 David Billinghurst <David.Billinghurst@riotinto.com>
973 * testsuite/lib/prune.exp: New file
974 * testsuite/lib/libstdc++-v3-dg.exp: Use it
976 2001-12-17 Phil Edwards <pme@gcc.gnu.org>
978 * include/bits/basic_file.h (__basic_file::fd): New function.
979 * config/io/basic_file_stdio.h (__basic_file::fd): Define.
980 * include/bits/std_fstream.h (basic_filebuf::fd): New function.
981 * include/bits/fstream.tcc (basic_filebuf::fd): Define.
982 * testsuite/27_io/filebuf_members.cc (test_02): New test.
984 2001-12-16 Nathan Sidwell <nathan@codesourcery.com>
986 * po/Makefile.am (.po.mo): Use POSIXLY_CORRECT argument ordering.
987 * po/Makefile.in: Regenerated.
989 2001-12-16 Paolo Carlini <pcarlini@unitus.it>
991 * testsuite/21_strings/assign.cc (test01): Add tests.
993 2001-12-15 Paolo Carlini <pcarlini@unitus.it>
994 Nathan Myers <ncm@cantrip.org>
996 * include/bits/basic_string.h
997 (assign(__str, __pos, __n), assign(__s, __n)): Optimize
998 by avoiding unnecessary temporaries.
999 (assign(__s)): Call assign(__s, __n).
1000 * include/bits/basic_string.tcc (_M_replace_safe): Adjust comment.
1001 * include/bits/std_string.h: include stl_function.h.
1002 * testsuite/21_strings/assign.cc (test02, test03): New tests.
1004 2001-12-15 Benjamin Kosnik <bkoz@redhat.com>
1006 * acinclude.m4 (GLIBCPP_ENABLE_CLOCALE): Enable gnu locale model
1007 on linux by default.
1008 * aclocal.m4: Regenerate.
1009 * configure: Regenerate.
1011 2001-12-14 Benjamin Kosnik <bkoz@redhat.com>
1013 Clean up initialization and simplfy caching of underlying "C"
1014 default locale objects.
1015 * src/localename.cc (locale::_Impl::_Impl(string, size_t):
1016 Unconditionally create __clocale object for all named locales,
1017 including "C" and "POSIX".
1018 * config/locale/c_locale_generic.cc
1019 (locale::facet::_S_create_c_locale): Always set __cloc to zero.
1020 * config/locale/c_locale_gnu.cc: Always delete.
1021 * include/bits/localefwd.h (locale::facet::_S_c_locale): New.
1022 * src/locale.cc (locale::classic()): Initialize
1023 locale::facet::_S_c_locale.
1024 (locale::facet::_S_c_locale): Define.
1026 * include/bits/locale_facets.h: Add ctype_byname<wchar_t> ctor
1028 * src/locale.cc: Add definition here.
1029 * config/os/gnu-linux/bits/ctype_inline.h: Tweak.
1030 * config/os/gnu-linux/bits/ctype_noninline.h: Adjust initializations.
1031 * include/bits/locale_facets.h (ctype<char>::_M_c_locale_ctype): Add.
1032 Adjust ctors, dtors.
1033 (ctype<char>::_M_toupper): Remove const&.
1034 (ctype<char>::_M_tolower): Remove const&.
1035 (ctype<char>::_M_ctable): Remove const&.
1037 * include/bits/locale_facets.h (collate): Clean up initialization
1038 of _M_c_locale_collate in ctors and dtors.
1039 * config/locale/collate_members_gnu.cc: Always use extended
1042 * include/bits/locale_facets.h (messages): Clean up inits in ctor/dtor.
1043 (messages_byname): Same.
1044 * config/locale/messages_members_generic.h (messages::~messages):
1046 * config/locale/messages_members_gnu.h: Same.
1048 * include/bits/localefwd.h: Clean. Move dtor definitions to
1049 * src/locale.cc: Here.
1050 * testsuite/22_locale/facet.cc: Fix spelling.
1052 Named locale support for ctype<wchar_t>.
1053 * acinclude.m4 (GLIBCPP_ENABLE_CLOCALE): Add variable
1054 ctype_members_* bits.
1055 * aclocal.m4: Regenerate.
1056 * configure: Regenerate.
1057 * src/Makefile.am (sources): Add ctype.cc.
1058 * src/Makefile.in: Regenerate.
1059 * config/locale/ctype_members_generic.cc: New file.
1060 * config/locale/ctype_members_gnu.cc: New file.
1061 * src/locale.cc: Remove ctype<wchart_t> definitions.
1063 2001-12-13 Roger Sayle <roger@eyesopen.com>
1065 * acconfig.h: Test for __builtin_sqrt instead of
1067 * acinclude.m4: Same.
1068 * include/c_shadow/bits/std_cmath.h: Same.
1069 * aclocal.m4: Regenerated.
1070 * config.h.in: Regenerated.
1071 * configure: Regenerated.
1073 2001-12-13 Phil Edwards <pme@gcc.gnu.org>
1075 * docs/html/ext/howto.html: Fix typos.
1077 2001-12-13 Benjamin Kosnik <bkoz@redhat.com>
1080 * src/locale.cc (locale::locale(const char*)): Deal with locales
1082 * testsuite/22_locale/ctor_copy_dtor.cc (test01): Modify.
1084 2001-12-12 Paolo Carlini <pcarlini@unitus.it>
1086 * include/ext/ropeimpl.h (rope::_S_leaf_concat_char_iter,
1087 _S_destr_leaf_concat_char_iter, _S_tree_concat, _S_concat_char_iter,
1088 _S_destr_concat_char_iter, _S_concat, _S_substring, _S_balance)
1089 : Adjust implicit typename.
1090 * include/ext/stl_rope.h (_Rope_iterator::operator=, rope::npos):
1091 Adjust implicit typename.
1092 * testsuite/27_io/streambuf.cc: Adjust implicit typename.
1094 2001-12-12 Benjamin Kosnik <bkoz@redhat.com>
1096 Named locale support for ctype<char>.
1097 * config/locale/c_locale_gnu.h (_GLIBCPP_C_LOCALE_GNU): New.
1098 * config/os/gnu-linux/bits/ctype_noninline.h (ctype<char>): Add
1099 definitions for alternate constructor.
1100 * config/os/solaris/solaris2.7/bits/ctype_noninline.h (ctype): Same.
1101 * config/os/solaris/solaris2.6/bits/ctype_noninline.h (ctype): Same.
1102 * config/os/solaris/solaris2.5/bits/ctype_noninline.h (ctype): Same.
1103 * config/os/newlib/bits/ctype_noninline.h (ctype): Same.
1104 * config/os/irix/irix6.5/bits/ctype_noninline.h (ctype): Same.
1105 * config/os/irix/irix5.2/bits/ctype_noninline.h (ctype): Same.
1106 * config/os/hpux/bits/ctype_noninline.h (ctype): Same.
1107 * config/os/generic/bits/ctype_noninline.h (ctype): Same.
1108 * config/os/djgpp/bits/ctype_noninline.h (ctype): Same.
1109 * config/os/bsd/netbsd/bits/ctype_noninline.h (ctype): Same.
1110 * config/os/bsd/freebsd/bits/ctype_noninline.h (ctype): Same.
1111 * config/os/aix/bits/ctype_noninline.h (ctype): Same.
1112 * include/bits/locale_facets.h (ctype<_CharT>): Remove dummy
1113 definitions for all virtual functions. These are now explicitly
1114 undefined for non-required factets, ie any non-char, non-wchar_t
1116 * src/localename.cc (locale::_Impl::_Impl(string, size_t): Named
1117 locales use alternate constructor for ctype facet.
1118 * include/bits/locale_facets.h (ctype<char>::ctype(__c_locale, const
1119 mask*, bool, size_t): Add.
1120 (ctype<wchar_t>::ctype(__c_locale, size_t): Add.
1121 * src/locale.cc (ctype<wchar_t>::ctype(__c_locale, size_t)): Add
1124 * testsuite/22_locale/ctype_members_char.cc (test02): Add, mark
1125 XFAIL for non-gnu locale models.
1127 2001-12-12 Philip Martin <philip@codematters.co.uk>
1128 Ross Smith <r-smith@ihug.co.nz>
1129 Paolo Carlini <pcarlini@unitus.it>
1132 * include/bits/std_limits.h (defines, numeric_limits<bool>::digits10):
1133 Fix digits10 values for integral types.
1134 * include/bits/locale_facets.tcc (num_get::do_get for integral types):
1135 Tweak _M_extract_int call.
1136 * testsuite/27_io/istream_extractor_arith.cc (test13, test12_aux):
1137 Tweak overflowing number of digits.
1138 * testsuite/18_support/numeric_limits.cc (test03): New testcase.
1140 2001-12-11 Benjamin Kosnik <bkoz@redhat.com>
1142 * config/os/generic/bits/ctype_inline.h: Remove spaces.
1143 * config/os/gnu-linux/bits/ctype_noninline.h: Same.
1144 * include/bits/locale_facets.h (__num_base): Move double data
1145 members to first in class.
1146 * include/bits/locale_facets.tcc: Re-arrange, tweak.
1147 * src/locale.cc: Clean.
1148 *include/bits/stl_vector.h: Space typedefs.
1150 2001-12-11 Phil Edwards <pme@gcc.gnu.org>
1152 * testsuite/ext/allocators.cc: New file.
1154 2001-12-11 Jason Merrill <jason@redhat.com>
1156 * include/bits/locale_facets.tcc (_M_extract_int): Avoid
1157 uninitialized warning.
1159 2001-12-11 Loren Rittle <ljrittle@acm.org>
1161 * config/cpu/sparc/sparc32/bits/atomicity.h
1162 (__Atomicity_lock<0>::_S_atomicity_lock): Add.
1164 2001-12-10 Paolo Carlini <pcarlini@unitus.it>
1166 * include/bits/basic_string.tcc (_M_replace_safe): Fix typos.
1167 * include/bits/basic_string.h: Fix typos.
1169 2001-12-10 Paolo Carlini <pcarlini@unitus.it>
1170 Nathan Myers <ncm@cantrip.org>
1172 * include/bits/basic_string.tcc (_M_replace_safe): New function.
1173 (_M_replace(input_iterator_tag), append members): Use it.
1174 (_M_replace(forward_iterator_tag)): Remove.
1175 * include/bits/basic_string.h: Adjust declarations.
1176 * src/string-inst.cc: Adjust declarations.
1178 2001-12-09 Benjamin Kosnik <bkoz@redhat.com>
1179 Philip Martin <pmartin@uklinux.net>
1181 * include/bits/locale_facets.h (__num_base::_S_scale_hex): Add.
1182 (__num_base::_S_scale_oct): Add.
1183 * include/bits/locale_facets.tcc (_M_extract_int): Use them.
1184 * src/locale.cc: Add definitions.
1185 * testsuite/27_io/istream_extractor_arith.cc (main): Call test13.
1187 * testsuite/testsuite_hooks.h: Remove duplicate VERIFY define.
1189 2001-12-07 Nathan Myers <ncm@cantrip.org>
1190 Loren Rittle <ljrittle@acm.org>
1193 * config/cpu/sparc/sparc32/bits/atomicity.h
1194 (struct __Atomicity_lock<__inst>): Add.
1195 (__Atomicity_lock<__inst>::_S_atomicity_lock): Add.
1196 (__exchange_and_add): Use __Atomicity_lock<0>::_S_atomicity_lock
1197 instead of lock local to static function.
1198 (__atomic_add): Likewise.
1200 2001-12-07 Phil Edwards <pme@gcc.gnu.org>
1202 * src/globals.cc: Remove __GTHREADS guard.
1204 2001-12-07 Paolo Carlini <pcarlini@unitus.it>
1206 * include/bits/locale_facets.tcc (num_put::_M_convert_float):
1207 Extend comment, reduce __cs_size for non-fixed outputs.
1209 2001-12-07 Paolo Carlini <pcarlini@unitus.it>
1211 * include/bits/basic_string.tcc (_M_mutate): Fix typo
1212 in the previous check in.
1214 2001-12-06 Paolo Carlini <pcarlini@unitus.it>
1215 Loren J. Rittle <ljrittle@acm.org>
1217 * include/bits/basic_string.tcc (_M_mutate, _M_clone): Implement
1218 exponential growth policy to meet linear amortized time
1219 requirements of the standard.
1220 (_S_create): Adjust comment.
1222 2001-12-06 Benjamin Kosnik <bkoz@redhat.com>
1225 * include/bits/locale_facets.tcc (num_put): Clean.
1226 (num_get::_M_extract_float): Change argument to string.
1227 (num_get::do_get(float)): Fixup.
1228 (num_get::do_get(double)): Same.
1229 (num_get::do_get(long double)): Same.
1230 (num_get::_M_extract_int): Add maximum length parameter, __max.
1231 (num_get::_M_extract_float): Correct zeros, use string.
1232 * include/bits/locale_facets.h (num_get::_M_extract_float): Change
1234 * src/locale.cc (__num_base::_S_atoms): Remove x, X.
1235 * testsuite/27_io/istream_extractor_arith.cc (test13): Add.
1237 2001-12-06 Philip Martin <pmartin@uklinux.net>
1239 * testsuite/27_io/istream_extractor_arith.cc (test12): Add
1240 tests for excess input digits.
1242 2001-12-06 Phil Edwards <pme@gcc.gnu.org>
1244 * include/bits/std_bitset.h: Use GLIBCPP in multiple-inclusion guard.
1245 * include/bits/stl_algo.h: Likewise.
1246 * include/bits/stl_algobase.h: Likewise.
1247 * include/bits/stl_bvector.h: Likewise.
1248 * include/bits/stl_deque.h: Likewise.
1249 * include/bits/stl_function.h: Likewise.
1250 * include/bits/stl_iterator.h: Likewise.
1251 * include/bits/stl_iterator_base_funcs.h: Likewise.
1252 * include/bits/stl_iterator_base_types.h: Likewise.
1253 * include/bits/stl_list.h: Likewise.
1254 * include/bits/stl_multimap.h: Likewise.
1255 * include/bits/stl_multiset.h: Likewise.
1256 * include/bits/stl_pair.h: Likewise.
1257 * include/bits/stl_queue.h: Likewise.
1258 * include/bits/stl_set.h: Likewise.
1259 * include/bits/stl_stack.h: Likewise.
1260 * include/bits/stl_tempbuf.h: Likewise.
1261 * include/bits/stl_tree.h: Likewise.
1262 * include/bits/stl_vector.h: Likewise.
1264 * include/bits/stl_alloc.h: Use our own multiple inclusion guards.
1265 Doxygenate more comments. Correct historical artifacts in comments.
1266 (alloc, single_alloc): Uglify non-standard names.
1267 (__default_alloc_template::_NFREELISTS): Calculate from other
1269 (__default_alloc_template::_S_free_list): Remove SunPro workaround.
1270 (__default_alloc_template::_Lock): Mark as "unused".
1271 * include/backward/alloc.h: Update.
1272 * include/bits/stl_bvector.h: Likewise.
1273 * include/ext/ropeimpl.h: Likewise.
1274 * include/ext/stl_hashtable.h: Likewise.
1276 2001-12-05 Benjamin Kosnik <bkoz@redhat.com>
1279 * include/bits/locale_facets.tcc (num_put::_M_widen_float): Add
1280 grouping to floating point types.
1281 * testsuite/27_io/ostream_inserter_arith.cc (test02): Add test.
1283 2001-12-04 Paolo Carlini <pcarlini@unitus.it>
1286 * testsuite/27_io/ostream_inserter_arith.cc (test02): Add testcase
1288 * include/bits/locale_facets.tcc (num_put::_M_convert_float):
1289 Deal properly with long ios_base::fixed floats.
1290 (num_put::_M_widen_float): use
1291 __len in __builtin_alloca call.
1293 2001-12-04 Benjamin Kosnik <bkoz@redhat.com>
1295 * src/Makefile.am (sources): Add ext-inst.cc.
1296 * src/Makefile.in: Regenerate.
1297 * src/ext-inst.cc: New file.
1298 * include/bits/stl_threads.h: Format.
1299 * src/globals.cc: Add instantiation for _S_swap_lock.
1301 * testsuite/18_support/numeric_limits.cc: Add numeric_limits<B>
1304 2001-12-04 John David Anglin <dave@hiauly1.hia.nrc.ca>
1306 * testsuite/22_locale/numpunct_members_wchar_t.cc: Only compile
1307 and execute test01 if _GLIBCPP_USE_WCHAR_T is defined.
1308 * testsuite/26_numerics/complex_inserters_extractors.cc: Provide
1309 for explicit instantiation of class std::basic_string<char,
1310 gnu_char_traits, std::allocator<char> >.
1312 2001-12-03 Benjamin Kosnik <bkoz@redhat.com>
1314 * testsuite/22_locale/collate.cc: Compile-only.
1315 * testsuite/22_locale/time_get.cc: Same.
1316 * testsuite/22_locale/time_put.cc: Same.
1317 * testsuite/22_locale/numpunct.cc: Same.
1318 * testsuite/22_locale/num_put.cc: Same.
1319 * testsuite/22_locale/num_get.cc: Same.
1320 * testsuite/22_locale/moneypunct.cc: Same.
1321 * testsuite/22_locale/money_get.cc: Same.
1322 * testsuite/22_locale/messages.cc: Same.
1323 * testsuite/22_locale/ctype.cc: Same.
1325 2001-12-03 Benjamin Kosnik <bkoz@redhat.com>
1327 * src/string-inst.cc (string::_Rep::_S_terminal): Add static data
1328 member instantiations.
1330 2001-12-03 Steve Ellcey <sje@cup.hp.com>
1332 * libstdc++-v3/configure.in: Add support for hpux cross compiles,
1333 combine common linux/hpux/generic cross compile support to reduce
1335 * libstdc++-v3/configure: Regenerate.
1337 2001-12-03 Loren J. Rittle <ljrittle@acm.org>
1339 * docs/html/ext/howto.html: Update commentary.
1340 * include/bits/c++config: Update threading configuration comment.
1341 (__STL_GTHREADS): Remove macro definition.
1342 (__STL_THREADS): Likewise.
1343 * include/bits/stl_threads.h: Leave only the configuration
1344 path which had been guarded by __STL_GTHREADS. Remove all
1345 guards related to __STL_GTHREADS, __STL_SGI_THREADS,
1346 __STL_PTHREADS, __STL_UITHREADS and __STL_WIN32THREADS.
1347 * include/bits/stl_alloc.h: Leave only the configuration path
1348 which had been guarded by __STL_THREADS. Remove configuration
1349 path and guards for __STL_SGI_THREADS.
1350 (__NODE_ALLOCATOR_THREADS): Remove macro definition. Unroll its use.
1351 (__NODE_ALLOCATOR_LOCK): Likewise.
1352 (__NODE_ALLOCATOR_UNLOCK): Likewise.
1353 (_NOTHREADS): Remove guards related to macro.
1354 * include/ext/stl_rope.h: Remove configuration path and guards
1355 for __STL_SGI_THREADS.
1356 * src/stl-inst.cc: Remove use of __NODE_ALLOCATOR_THREADS.
1358 2001-12-02 Phil Edwards <pme@gcc.gnu.org>
1360 * docs/html/ext/howto.html: Update list of implemented DRs.
1361 * docs/html/ext/lwg-active.html: Import R20 from upstream.
1362 * docs/html/ext/lwg-defects.html: Import R20 from upstream.
1364 2001-11-30 Benjamin Kosnik <bkoz@redhat.com>
1368 * libsupc++/exception (bad_exception::~bad_exception()): Remove
1370 * libsupc++/new (bad_alloc::~bad_alloc()): Remove.
1371 * libsupc++/typeinfo (bad_cast::~bad_cast()): Remove.
1372 (bad_typeid::~bad_typeid()): Remove.
1373 * libsupc++/tinfo.cc (bad_cast::~bad_cast()): Remove definition.
1374 (bad_typeid::~bad_typeid()): Same.
1375 * libsupc++/new_handler.cc (bad_alloc::~bad_alloc()): Same.
1376 * libsupc++/eh_exception.cc (bad_exception::~bad_exception()): Same.
1378 * include/bits/std_iomanip.h: Tweak.
1380 2001-11-29 Paolo Carlini <pcarlini@unitus.it>
1383 * include/bits/locale_facets.tcc (__pad): Add bool parameter to
1384 correctly pad internal-adjusted const char*-type objects.
1385 * include/bits/locale_facts.tcc (num_put::_M_insert): Update call.
1386 * include/bits/ostream.tcc (operator<<(_CharT , char, const
1387 _CharT*, const char*, const basic_string&): Update calls.
1388 * src/locale-inst.tcc: Update declarations.
1389 * testsuite/27_io/ostream_inserter_arith.cc (test04): Add test.
1391 2001-11-29 Phil Edwards <pme@gcc.gnu.org>
1393 * docs/html/ext/howto.html: Finish allocator notes (inst and 3.0).
1395 2001-11-29 Benjamin Kosnik <bkoz@redhat.com>
1397 * include/bits/locale_facets.tcc (num_get::do_get(long double)):
1398 Fix __traits_type typo.
1400 2001-11-28 Paolo Carlini <pcarlini@unitus.it>
1402 * include/bits/locale_facets.tcc (__pad): Correctly pad
1403 internal-adjusted hex numbers.
1404 * testsuite/27_io/ostream_inserter_arith.cc: Add testcase.
1406 2001-11-28 Paolo Carlini <pcarlini@unitus.it>
1407 Loren J. Rittle <ljrittle@acm.org>
1409 * include/bits/basic_string.h
1410 (basic_string::_Rep::__default_excess, _S_excess_slop):
1412 * include/bits/basic_string.tcc: Remove dead code.
1413 * include/bits/c++config: Remove comment.
1415 2001-11-28 Benjamin Kosnik <bkoz@redhat.com>
1416 Jakub Jelinek <jakub@redhat.com>
1418 * config/locale/moneypunct_members_gnu.cc
1419 (moneypunct<wchar_t>::_M_initialize_moneypunct): Correctly cast
1421 * config/locale/numpunct_members_gnu.cc
1422 (numpunct<wchar_t>::_M_initialize_numpunct): Same.
1424 2001-11-27 Benjamin Kosnik <bkoz@redhat.com>
1426 * include/bits/locale_facets.tcc: Formatting tweaks.
1428 * testsuite/23_containers/map_operators.cc: Don't xfail.
1429 * testsuite/23_containers/set_operators.cc: Same.
1430 * testsuite/backward/header_iterator_h.cc: Pass in -Wno-deprecated.
1431 * testsuite/backward/header_deque_h.cc: Same.
1433 2001-11-27 Loren J. Rittle <ljrittle@acm.org>
1434 Paolo Carlini <pcarlini@unitus.it>
1436 * include/bits/basic_string.tcc (basic_string::_Rep::_S_create):
1437 Enforce allocation size blocking policy to reduce
1438 fragmentation and enhance performance with common malloc
1441 2001-11-27 Benjamin Kosnik <bkoz@redhat.com>
1443 Numeric facets cleanup.
1444 * include/bits/locale_facets.h (__num_base::_S_atoms): Add, remove
1446 (__num_base::_M_zero): Add
1447 (__num_base::_M_e): Add.
1448 (__num_base::_M_E): Add.
1449 * include/bits/locale_facets.tcc (num_get::_M_extract): Remove.
1450 (num_get::_M_extract_float): New.
1451 (num_get::_M_extract_int): New.
1452 * src/locale.cc (num_get::_M_extract): Remove.
1454 * include/bits/locale_facets.tcc (num_put::_M_insert_float):
1455 Simplify, use _M_insert.
1456 (num_put::do_put(bool)): Simplify, remove __pad.
1458 (__pad_output): Change to __pad.
1459 * include/bits/ostream.tcc: And here.
1460 * src/locale-inst: Remove instantiations.
1462 * include/bits/locale_facets.h: Move helper functions in to class
1464 (num_put::_M_insert_float): Same, for __output_integer.
1465 (num_put::_M_insert_int): Same, for __output_float.
1466 (num_put::_M_insert): New.
1468 (__num_base::_S_format_float): Move
1469 __build_float_format into class __num_base.
1470 (__num_base::_S_format_int): Move __build_int_format into class
1472 * include/bits/locale_facets.tcc (__group_digits): Change to
1473 (__add_grouping): This.
1474 * src/locale-inst.cc: And here. Tweak instantiations.
1475 * src/misc-inst.cc: Remove instantiations.
1477 * include/bits/ostream.tcc (__pad_char): Rename, adjust inserters
1478 for new calling conventions, move to...
1479 * include/bits/locale_facets.tcc (__pad_output): Here. Adjust
1480 signature to make it useful for both ostream and num_put.
1481 (__pad_numeric): Remove.
1482 * src/misc-inst.cc: Remove instantiations.
1483 * src/locale-inst.cc: Same.
1485 * include/bits/locale_facets.h (_Numeric_get): Remove.
1486 (_Numeric_put): Remove.
1487 (num_get::get(short)): Remove.
1488 (num_get::get(int)): Remove.
1489 (num_get::do_get(short)): Remove.
1490 (num_get::do_get(int)): Remove.
1491 * include/bits/istream.tcc (istream::operator>>(short)): Fix as
1493 (istream::operator>>(int)): Same.
1495 * include/bits/locale_facets.h (_Format_cache): Remove.
1496 * include/bits/locale_facets.tcc: Same.
1497 * src/locale.cc: Same.
1498 * src/locale-inst.cc: Same.
1499 * include/bits/ostream.tcc: Same.
1500 * src/ios.cc (ios_base::imbue): Remove here as well.
1502 * testsuite/22_locale/num_get.cc: New file.
1503 * testsuite/22_locale/num_get_members_char.cc: New file.
1504 * testsuite/22_locale/num_get_members_wchar_t.cc: New.
1505 * testsuite/22_locale/numpunct_members_wchar_t.cc: New file.
1506 * testsuite/22_locale/num_put.cc: New file.
1507 * testsuite/22_locale/num_put_members_char.cc: New file.
1508 * testsuite/22_locale/num_put_members_wchar_t.cc: New file.
1509 * testsuite/27_io/ostream_inserter_arith.cc: Fix.
1510 * testsuite/27_io/istream_extractor_arith.cc: Fix.
1512 2001-11-27 Phil Edwards <pme@gcc.gnu.org>
1514 * docs/html/explanations.html: New section, empty for now.
1515 * docs/html/17_intro/howto.html: Cleanup. Move unrelated link...
1516 * docs/html/23_containers/howto.html: ...to here. Break up and
1517 rewrap threading discussion to emphasize warning. Move malloc text...
1518 * docs/html/ext/howto.html: ...to here. New section. Describe
1519 allocators and __USE_MALLOC effects.
1520 * docs/html/ext/sgiexts.html: Mention their code.
1522 2001-11-24 Joseph S. Myers <jsm28@cam.ac.uk>
1524 * docs/doxygen/maint.cfg.in, docs/doxygen/user.cfg.in,
1525 docs/html/27_io/binary_iostreams_kuehl.txt: Revert previous
1528 2001-11-23 Phil Edwards <pme@gcc.gnu.org>
1530 * Makefile.am (doxygen-maint): The script isn't executable in CVS.
1531 * Makefile.in: Regenerated.
1532 * docs/doxygen/TODO: New file listing doxygen work to be done.
1533 * docs/doxygen/run_doxygen: Fix up man pages.
1534 * docs/doxygen/user.cfg.in: Insert maint-only toggles.
1535 * docs/doxygen/maint.cfg.in: Copy from user.cfg and turn toggles on.
1536 * include/bits/stl_construct.h: Use new hooks for internal functions.
1538 * docs/html/17_intro/TODO: Small updates.
1539 * docs/html/faq/index.html: Likewise.
1540 * docs/html/faq/index.txt: Regenerated.
1542 * include/bits/stl_alloc.h: Doxygenate, reindent comments, remove
1543 SGI-isms and wrappers.
1544 (simple_alloc, debug_alloc): Uglify class names.
1545 (__default_alloc_template): Uglify "threads" template parameter and
1546 update corresponding macros.
1547 * include/backward/alloc.h: Bring up to date.
1549 2001-11-23 Jason Merrill <jason@redhat.com>
1551 * src/vterminate.cc (__verbose_terminate_handler): Add leading
1554 2001-11-23 Joseph S. Myers <jsm28@cam.ac.uk>
1556 * ChangeLog, docs/doxygen/maint.cfg.in, docs/doxygen/user.cfg.in,
1557 docs/doxygen/doxygroups.cc, docs/doxygen/Intro.3,
1558 docs/html/17_intro/BUGS, docs/html/17_intro/C++STYLE,
1559 docs/html/17_intro/CHECKLIST, docs/html/17_intro/DESIGN,
1560 docs/html/17_intro/howto.html, docs/html/17_intro/porting.html,
1561 docs/html/17_intro/porting.texi, docs/html/18_support/howto.html,
1562 docs/html/19_diagnostics/howto.html, docs/html/20_util/howto.html,
1563 docs/html/21_strings/howto.html,
1564 docs/html/23_containers/howto.html,
1565 docs/html/26_numerics/howto.html, docs/html/27_io/howto.html,
1566 docs/html/27_io/binary_iostreams_kuehl.txt,
1567 docs/html/ext/sgiexts.html, docs/html/faq/index.html,
1568 docs/html/faq/index.txt, testsuite/24_iterators/iterator.cc,
1569 include/bits/basic_file.h, include/bits/locale_facets.h,
1570 include/bits/locale_facets.tcc, include/bits/std_sstream.h,
1571 include/ext/ropeimpl.h, include/ext/stl_rope.h,
1572 libsupc++/tinfo.cc, libsupc++/cxxabi.h, libsupc++/typeinfo,
1573 libsupc++/eh_throw.cc, acinclude.m4, aclocal.m4, configure,
1574 configure.target, ChangeLog-2000: Fix spelling errors.
1576 * config/locale/moneypunct_members_gnu.cc,
1577 include/bits/locale_facets.h: Fix spelling errors.
1579 2001-11-22 Stephen M. Webb <stephen@bregmasoft.com>
1581 * testsuite/23_containers/list_capacity.cc: New file.
1582 * testsuite/23_containers/list_ctor.cc: New file.
1583 * testsuite/23_containers/list_modifiers.cc: New file.
1584 * testsuite/23_containers/list_operators.cc: New file.
1586 2001-11-22 Stephen M. Webb <stephen@bregmasoft.com>
1588 * include/bits/stl_list.h: Reformatted according to C++STYLE rules.
1589 (size): Replaced nonstandard distance() call with the standard one.
1590 (transfer): Uglified to _M_transfer.
1592 2001-11-21 Paolo Carlini <pcarlini@unitus.it>
1595 * include/bits/basic_string.tcc (basic_string::reserve): Never shrink
1596 below the current size.
1597 * testsuite/21_strings/capacity.cc (test02): Add test.
1599 2001-11-19 Phil Edwards <pme@gcc.gnu.org>
1601 * docs/doxygen/Intro.3: More notes.
1602 * docs/doxygen/style.css: Update to default style from Doxygen 1.2.10.
1603 * include/bits/stl_algobase.h: Add doxygen hooks for functions.
1604 * include/ext/hash_map: Add @file hook.
1605 * include/ext/hash_set: Likewise.
1606 * include/ext/rope: Likewise.
1607 * include/ext/ropeimpl.h: Likewise.
1608 * include/ext/slist: Likewise.
1609 * include/ext/stl_hash_fun.h: Likewise.
1610 * include/ext/stl_hashtable.h: Likewise.
1611 * include/ext/stl_rope.h: Likewise.
1613 * docs/html/17_intro/license.html: Remove "experimental" sentence.
1614 * docs/html/19_diagnostics/howto.html: Document new verbose
1616 * testsuite/27_io/filebuf.cc: Fix comment, move tweakable parameter
1617 to more visible (closer to description) position.
1619 * libsupc++/eh_type.cc: Formatting tweak.
1620 * libsupc++/exception: Likewise.
1621 * src/vterminate.cc: Likewise.
1623 * docs/html/17_intro/porting.html: Regenerate.
1624 * docs/html/faq/index.txt: Regenerate.
1626 2001-11-18 Jason Merrill <jason@redhat.com>
1628 * libsupc++/eh_personality.cc (__cxa_call_unexpected): Take void*.
1629 * libsupc++/eh_catch.cc (__cxa_begin_catch): Likewise.
1630 * libsupc++/unwind-cxx.h: Adjust.
1631 * src/Makefile.am (strstream.o): Pass -Wno-deprecated.
1633 * libsupc++/eh_type.cc (__cxa_current_exception_type): New file.
1634 * libsupc++/cxxabi.h: Declare it.
1635 * libsupc++/Makefile.am (sources): Add it.
1636 * src/vterminate.cc (verbose_terminate_handler): New file.
1637 * libsupc++/exception: Declare it.
1638 * src/Makefile.am (sources): Add it.
1640 * src/Makefile.am (VPATH): Check the src directory before the top one.
1642 2001-11-16 Paolo Carlini <pcarlini@unitus.it>
1644 * include/bits/stl_deque.h (deque::erase()): Fix memory leak.
1646 2001-11-16 Loren J. Rittle <ljrittle@acm.org>
1648 * docs/html/17_intro/howto.html (Thread-safety): Rename
1649 section to ``The Standard C++ library and multithreading'' and
1650 update information based on recent mailing list traffic. Move
1651 all discussion of __USE_MALLOC to...
1652 * docs/html/23_containers/howto.html (Containers and multithreading):
1653 ...here and rework it based on recent mailing list traffic.
1655 2001-11-15 Loren J. Rittle <ljrittle@acm.org>
1657 * docs/html/faq/index.html (Is libstdc++-v3 thread-safe?): Clarify
1660 2001-11-15 <bjornw@planetarion.com>
1661 Loren J. Rittle <ljrittle@acm.org>
1664 * include/bits/stl_alloc.h (alloc): Update to use __mem_interface.
1665 (single_client_alloc): Likewise.
1667 2001-11-08 Danny Smith <dannysmith@users.sourceforge.net>
1669 * configure.target: Add os_include_dir for mingw32* target.
1670 * docs/html/17_intro/porting.texi: Mention mingw32 as target benefiting
1671 from _GLIBCPP_AVOID_FSEEK.
1672 * config/os/mingw32/bits/ctype_base.h: New file.
1673 * config/os/mingw32/bits/ctype_inline.h: New file.
1674 * config/os/mingw32/bits/ctype_noninline.h: New file.
1675 * config/os/mingw32/bits/os_defines.h: New file.
1677 2001-11-07 Nathan Myers <ncm@cantrip.org>
1679 * docs/html/faq/index.html (5.8): New entry on ABIs.
1680 * docs/html/faq/index.txt: Regenerate.
1682 2001-11-07 Phil Edwards <pme@gcc.gnu.org>
1684 * docs/html/faq/index.html: Explain libsupc++, mention 'long long'
1685 bugfixes on Solaris.
1686 * docs/html/faq/index.txt: Regenerate.
1688 2001-11-06 Phil Edwards <pme@gcc.gnu.org>
1690 * acinclude.m4 (GLIBCPP_ENABLE_LONG_LONG): Run the test in
1691 LANG_CPLUSPLUS mode.
1692 * aclocal.m4: Regenerate.
1693 * configure: Regenerate.
1695 2001-11-05 Phil Edwards <pme@gcc.gnu.org>
1697 * porting.texi: Move...
1698 * docs/html/17_intro/porting.texi: ...to here.
1699 * docs/html/Makefile: Add rule to rebuild...
1700 * docs/html/17_intro/porting.html: ...this. New file.
1702 2001-11-05 Felix Natter <fnatter@gmx.net>
1704 * docs/html/17_intro/porting-howto.xml: check in v0.9.4
1705 * docs/html/17_intro/porting-howto.html: regenerate
1707 2001-11-02 Loren J. Rittle <ljrittle@acm.org>
1709 * include/bits/stl_threads.h (_Atomic_swap): Only enable path
1710 when platform supports __GTHREAD_MUTEX_INIT.
1712 2001-11-02 Phil Edwards <pme@gcc.gnu.org>
1714 * acconfig.h: Update comments.
1715 * acinclude.m4 (GLIBCPP_ENABLE_C99): Move strtoll, strtoull tests...
1716 (GLIBCPP_ENABLE_LONG_LONG): ...to here. Don't check enable_c99.
1717 * aclocal.m4: Regenerate.
1718 * config.h.in: Regenerate.
1719 * configure: Regenerate.
1721 * include/bits/boost_concept_check.h: Unconditionally compile uses
1722 of 'long long' which require only compiler support, not C lib support.
1723 * include/bits/cpp_type_traits.h: Likewise.
1724 * include/bits/std_limits.h: Likewise.
1725 * include/bits/type_traits.h: Likewise.
1726 * src/concept-inst.cc: Likewise.
1727 * src/limits.cc: Likewise.
1728 * include/c_shadow/stdlib.h: Compile conditionally on _GLIBCPP_USE_C99
1729 instead of _GLIBCPP_USE_LONG_LONG.
1730 * include/c_shadow/bits/std_cstdlib.h: Likewise.
1732 2001-11-02 Phil Edwards <pme@gcc.gnu.org>
1734 * config/io/c_io_stdio.h: Correct grammar in comments.
1735 * docs/doxygen/Intro.3: Expand "top-level" man page.
1736 * docs/doxygen/doxygroups.cc: New module definitions (comments).
1737 * docs/doxygen/mainpage.doxy: Tweaks.
1738 * docs/doxygen/run_doxygen: Update Doxygen version, massage man pages.
1740 Add @file hooks so that headers are considered to be documented.
1741 * include/bits/basic_ios.h, include/bits/basic_file.h,
1742 include/bits/basic_string.h, include/bits/boost_concept_check.h,
1743 include/bits/char_traits.h, include/bits/codecvt.h,
1744 include/bits/concept_check.h, include/bits/cpp_type_traits.h,
1745 include/bits/fpos.h, include/bits/gslice.h, include/bits/gslice_array.h,
1746 include/bits/indirect_array.h, include/bits/ios_base.h,
1747 include/bits/locale_facets.h, include/bits/localefwd.h,
1748 include/bits/mask_array.h, include/bits/pthread_allocimpl.h,
1749 include/bits/slice.h, include/bits/slice_array.h,
1750 include/bits/std_algorithm.h, include/bits/std_bitset.h,
1751 include/bits/std_complex.h, include/bits/std_deque.h,
1752 include/bits/std_fstream.h, include/bits/std_functional.h,
1753 include/bits/std_iomanip.h, include/bits/std_ios.h,
1754 include/bits/std_iosfwd.h, include/bits/std_iostream.h,
1755 include/bits/std_istream.h, include/bits/std_iterator.h,
1756 include/bits/std_limits.h, include/bits/std_list.h,
1757 include/bits/std_locale.h, include/bits/std_map.h,
1758 include/bits/std_memory.h, include/bits/std_numeric.h,
1759 include/bits/std_ostream.h, include/bits/std_queue.h,
1760 include/bits/std_set.h, include/bits/std_sstream.h,
1761 include/bits/std_stack.h, include/bits/std_streambuf.h,
1762 include/bits/std_string.h, include/bits/std_utility.h,
1763 include/bits/std_valarray.h, include/bits/std_vector.h,
1764 include/bits/stl_algo.h, include/bits/stl_alloc.h,
1765 include/bits/stl_bvector.h, include/bits/stl_construct.h,
1766 include/bits/stl_deque.h, include/bits/stl_heap.h,
1767 include/bits/stl_iterator.h, include/bits/stl_iterator_base_funcs.h,
1768 include/bits/stl_iterator_base_types.h, include/bits/stl_list.h,
1769 include/bits/stl_map.h, include/bits/stl_multimap.h,
1770 include/bits/stl_multiset.h, include/bits/stl_numeric.h,
1771 include/bits/stl_pair.h, include/bits/stl_pthread_alloc.h,
1772 include/bits/stl_queue.h, include/bits/stl_raw_storage_iter.h,
1773 include/bits/stl_relops.h, include/bits/stl_set.h,
1774 include/bits/stl_stack.h, include/bits/stl_tempbuf.h,
1775 include/bits/stl_threads.h, include/bits/stl_tree.h,
1776 include/bits/stl_uninitialized.h, include/bits/stl_vector.h,
1777 include/bits/stream_iterator.h, include/bits/streambuf_iterator.h,
1778 include/bits/stringfwd.h, include/bits/type_traits.h,
1779 include/bits/valarray_array.h, include/bits/valarray_meta.h:
1780 Add hooks, tweak comments only.
1782 * include/bits/stl_algobase.h (swap, min, iter_swap): Also
1783 document these functions.
1784 * include/bits/stl_function.h: Tweak link comments.
1786 2001-11-01 Paolo Carlini <pcarlini@unitus.it>
1787 Benjamin Kosnik <bkoz@redhat.com>
1789 * testsuite/27_io/ios_manip_fmtflags.cc: Fix for non-interactive
1791 * include/bits/locale_facets.tcc (num_put::do_put(bool)): Fix.
1793 2001-11-01 Egor Duda <deo@logos-m.ru>
1795 * config/os/newlib/bits/ctype_noninline.h
1796 (ctype<char>::do_toupper(char __c)): Check for proper character class.
1797 (ctype<char>::do_tolower(char __c)): Ditto.
1799 2001-11-01 Phil Edwards <pme@gcc.gnu.org>
1801 * acinclude.m4: Fix spacing.
1802 (GLIBCPP_ENABLE_CONCEPT_CHECKS): New macro.
1803 * configure.in: Call here.
1804 * acconfig.h: Add _GLIBCPP_CONCEPT_CHECKS.
1805 * include/bits/boost_concept_check.h: Fix headers.
1806 (__function_requires): Make inline.
1807 * include/bits/c++config (_GLIBCPP_CONCEPT_CHECKS): Remove.
1808 * aclocal.m4: Regenerate.
1809 * config.h.in: Regenerate.
1810 * configure: Regenerate.
1812 Move trailing ';' inside macro, PR libstdc++/3666.
1813 * include/bits/concept_check.h: Add semicolon.
1814 * include/bits/stl_algo.h: Remove semicolon.
1815 * include/bits/stl_algobase.h: Likewise.
1816 * include/bits/stl_deque.h: Likewise.
1817 * include/bits/stl_heap.h: Likewise.
1818 * include/bits/stl_iterator_base_funcs.h: Likewise.
1819 * include/bits/stl_list.h: Likewise.
1820 * include/bits/stl_map.h: Likewise.
1821 * include/bits/stl_multimap.h: Likewise.
1822 * include/bits/stl_multiset.h: Likewise.
1823 * include/bits/stl_numeric.h: Likewise.
1824 * include/bits/stl_queue.h: Likewise.
1825 * include/bits/stl_set.h: Likewise.
1826 * include/bits/stl_stack.h: Likewise.
1827 * include/bits/stl_vector.h: Likewise.
1828 * include/ext/hash_map: Likewise.
1829 * include/ext/hash_set: Likewise.
1830 * include/ext/slist: Likewise.
1832 * src/concept-inst.cc: New file with explicit instantiations.
1833 * src/Makefile.am (sources): Add here, with special build rules.
1834 * src/Makefile.in: Regenerate.
1836 2001-11-01 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
1838 * include/bits/std_complex.h (_Norm_helper): New class template.
1840 (abs): Tweak. Fix Thinko.
1842 2001-10-31 Benjamin Kosnik <bkoz@redhat.com>
1845 * include/bits/codecvt.h: Add virtual member function declarations.
1846 * src/codecvt.cc: Tweaks.
1847 * testsuite/22_locale/codecvt.cc: Test compilation only,
1848 non-required facets not required to have linkage.
1850 2001-10-31 Edward E. Meyer <edward.e.meyer@boeing.com>
1853 * include/bits/std_complex.h (complex::operator/=): Correct sign.
1855 2001-10-30 Paolo Carlini <pcarlini@unitus.it>
1856 Benjamin Kosnik <bkoz@redhat.com>
1859 * include/bits/basic_string.h: Tweaks.
1860 * include/bits/basic_string.tcc (string::_M_replace(iterator,
1861 iterator, _ForwardIter, _ForwardIter, forward_iterator_tag): Fix.
1862 * src/string-inst.cc: Tweaks, add instantiation.
1863 * testsuite/21_strings/replace.cc (test02): Add test.
1864 * testsuite/21_strings/assign.cc (test01): New file.
1866 2001-10-30 Jakub Jelinek <jakub@redhat.com>
1868 * include/bits/stl_deque.h (_M_new_elements_at_front): Use
1869 __throw_exception_again.
1870 (_M_new_elements_at_back): Likewise.
1872 2001-10-29 Benjamin Kosnik <bkoz@redhat.com>
1875 * include/bits/fstream.tcc (filebuf::showmanyc): Simplify.
1876 * testsuite/27_io/filebuf.cc (test07): New test.
1877 (test03): Modify showmanyc test.
1879 2001-10-26 Benjamin Kosnik <bkoz@redhat.com>
1882 * config/locale/codecvt_specializations_ieee_1003.1-200x.h
1883 (__enc_traits::~__enc_traits): Fix.
1884 (__enc_traits::_M_init): Add error checking.
1886 2001-10-25 Benjamin Kosnik <bkoz@redhat.com>
1889 * include/bits/locale_facets.tcc (time_get::_M_extract_name): Fix.
1891 2001-10-25 Benjamin Kosnik <bkoz@redhat.com>
1894 * include/bits/ostream.tcc (ostream::operator<<(streambuf*)): Fix
1896 * include/bits/istream.tcc (istream::operator>>(streambuf*): Make
1897 consistent, where possible.
1898 * include/bits/streambuf.tcc: Tweak.
1900 2001-10-25 Brendan Kehoe <brendan@zen.org>
1903 * bits/ostream.tcc (seekp): Scope use as ios_base::failbit.
1904 * bits/istream.tcc (seekg): Likewise.
1906 2001-10-25 Benjamin Kosnik <bkoz@redhat.com>
1907 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
1908 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
1910 * config/os/gnu-linux/bits/os_defines.h: Set to 64 bit longs with
1912 * include/bits/std_limits.h: Fix wchar_t issues.
1913 * config/os/aix/bits/os_defines.h: Fix.
1915 2001-10-25 Benjamin Kosnik <bkoz@redhat.com>
1917 * include/bits/locale_facets.tcc (collate::do_transform): Fix.
1919 2001-10-25 Phil Edwards <pme@gcc.gnu.org>
1921 * docs/html/documentation.html: Fix typo.
1923 2001-10-23 Benjamin Kosnik <bkoz@redhat.com>
1925 Make -fno-exceptions work.
1926 * config/locale/c_locale_gnu.cc: Use functexcept.
1927 * include/bits/c++config (__stl_assert): Remove.
1928 (__STL_USE_EXCEPTIONS): Same.
1930 (__STL_CATCH_ALL): Same.
1931 (__STL_THROW): Same.
1932 (__STL_RETHROW): Same.
1933 (__STL_NOTHROW): Same.
1934 (__STL_UNWIND): Same.
1935 * include/bits/pthread_allocimpl.h: Fix.
1936 * include/bits/std_bitset.h: Same.
1937 * include/bits/std_list.h: Same.
1938 * include/bits/std_memory.h: Same.
1939 * include/bits/std_queue.h: Same.
1940 * include/bits/stl_alloc.h: Same.
1941 * include/bits/stl_deque.h: Same.
1942 * include/bits/stl_list.h: Same.
1943 * include/bits/stl_queue.h: Same.
1944 * include/bits/stl_tempbuf.h: Same.
1945 * include/bits/stl_tree.h: Same.
1946 * include/bits/stl_uninitialized.h: Same.
1947 * include/bits/stl_vector.h: Same.
1948 * include/ext/ropeimpl.h: Same.
1949 * include/ext/slist: Same.
1950 * include/ext/stl_hashtable.h: Same.
1951 * include/ext/stl_rope.h: Same.
1952 * libsupc++/new_op.cc: Include cstdlib.
1953 * libsupc++/eh_personality.cc: Add exception_defines include. Use
1954 __throw_exception_again, tweak.
1955 * libsupc++/eh_aux_runtime.cc: Include stdlib for abort.
1956 * libsupc++/vec.cc: Tweak.
1957 * src/functexcept.cc: Remove unused arguments.
1958 * testsuite/23_containers/bitset_members.cc: Tweak.
1960 2001-10-22 Benjamin Kosnik <bkoz@redhat.com>
1962 * config/cpu/i386/bits/limits.h: Move to...
1963 * config/cpu/i386/bits/cpu_limits.h: ...here.
1964 * config/cpu/cris/bits/cpu_limits.h: Same.
1965 * config/cpu/powerpc/bits/cpu_limits.h: Same.
1966 * config/cpu/x86-64/bits/cpu_limits.h: Same.
1967 * config/cpu/alpha/bits/cpu_limits.h: New.
1968 * config/cpu/m68k/bits/cpu_limits.h: New.
1969 * config/cpu/s390/bits/cpu_limits.h: New.
1970 * config/os/aix/bits/os_defines.h: Tweaks.
1971 * config/os/bsd/freebsd/bits/os_defines.h: Same.
1972 * config/os/bsd/netbsd/bits/os_defines.h: Same.
1973 * config/os/djgpp/bits/os_defines.h: Same.
1974 * config/os/generic/bits/os_defines.h: Same.
1975 * config/os/gnu-linux/bits/os_defines.h: Same.
1976 * config/os/hpux/bits/os_defines.h: Same.
1977 * config/os/irix/irix5.2/bits/os_defines.h: Same.
1978 * config/os/irix/irix6.5/bits/os_defines.h: Same.
1979 * config/os/newlib/bits/os_defines.h: Same.
1980 * config/os/solaris/solaris2.5/bits/os_defines.h: Same.
1981 * config/os/solaris/solaris2.6/bits/os_defines.h: Same.
1982 * config/os/solaris/solaris2.7/bits/os_defines.h: Same.
1984 * include/bits/c++config: Remove include.
1985 * include/bits/limits_generic.h: Remove.
1986 * include/bits/std_limits.h: Include cpu_limits.h.
1987 * include/Makefile.am: Fixup.
1988 * src/limits.cc: Tweak.
1989 * src/limits_generic.cc: Remove.
1990 * src/gen-num-limits.cc: Remove.
1991 * mknumeric_limits: Remove.
1993 2001-10-20 Brendan Kehoe <brendan@zen.org>
1995 * bits/type_traits.h (_Bool): Removed this type.
1996 (__true_type, __false_type): Change to be plain structs.
1997 * src/string-inst.cc (__destroy_aux): Change third parm to be
1998 __false_type instead of _Bool<false>.
1999 * src/misc-inst.cc (__uninitialized_fill_n_aux,
2000 __uninitialized_copy_aux): Likewise.
2002 2001-10-19 Benjamin Kosnik <bkoz@redhat.com>
2004 * mkcheck.in (static_fail): Remove older memory limit functionality.
2005 Disable E_TIME due to formatting issues.
2009 2001-10-19 Brendan Kehoe <brendan@zen.org>
2011 * include/bits/std_complex.h: Default initialize second argument
2012 of polar to 0, as specified in Library DR #79
2014 2001-10-19 Brendan Kehoe <brendan@zen.org>
2016 * include/bits/stl_raw_storage_iter.h (operator=): Fix to call
2017 _Construct instead of construct.
2019 2001-10-19 Brendan Kehoe <brendan@zen.org>
2021 * include/bits/basic_string.tcc (find_first_not_of): Take out check for
2022 __n being non-zero, since the standard does not mandate that.
2023 e.g., a search for "" in "" should yield position 0, not npos.
2024 (find_last_not_of): Likewise.
2026 2001-10-19 Brendan Kehoe <brendan@zen.org>
2028 * include/bits/stl_bvector.h (vector<bool>::_M_range_check): Fix
2029 to throw out_of_range, not range_error, thus sayeth $23.1.1.13.
2031 2001-10-19 Brendan Kehoe <brendan@zen.org>
2033 * include/bits/stl_iterator.h (reverse_iterator::current): Rename
2034 member from _M_current, and change all uses; thus sayeth $24.4.1.1.
2036 2001-10-19 Brendan Kehoe <brendan@zen.org>
2038 * include/bits/stl_algo.h (partial_sort): Add missing `>' on the
2039 template parameter _ValueType.
2041 2001-10-19 Brendan Kehoe <brendan@zen.org>
2043 * include/bits/std_limits.h: Clean up extra semicolons.
2044 * include/bits/locale_facets.h: Likewise.
2045 * include/bits/type_traits.h: Likewise.
2047 2001-10-19 Brendan Kehoe <brendan@zen.org>
2049 * include/bits/localefwd.h (locale::combine): Add const for lib DR 14.
2050 * include/bits/locale_facets.tcc (locale::combine): Likewise.
2052 2001-10-19 Benjamin Kosnik <bkoz@redhat.com>
2054 * include/bits/locale_facets.h (__timepunct::_M_put_helper):
2055 Declare specializations for char, wchar_t.
2057 2001-10-19 Andreas Jaeger <aj@suse.de>
2059 * config/cpu/x86-64/bits/limits.h: New file.
2060 * config/cpu/x86-64/bits/atomicity.h: New file.
2061 * configure.target: Add x86-64.
2063 2001-10-17 Phil Edwards <pme@gcc.gnu.org>
2065 * docs/html/17_intro/howto.html: Remove 1999 links (and explain
2066 why). Add link to recent message.
2067 * docs/html/faq/index.html (5.6): Reformat text only; fixup <pre>
2069 * docs/html/faq/index.txt: Regenerate.
2071 2001-10-12 Loren J. Rittle <ljrittle@acm.org>
2073 * docs/html/faq/index.html (Is libstdc++-v3 thread-safe?): Update
2074 based on Nathan's review. Use Nathan's words.
2076 2001-10-11 Matt Kraai <kraai@alumni.carnegiemellon.edu>
2078 * docs/html/configopts.html: Quote StyleSheet attribute values.
2079 * docs/html/documentation.html: Likewise.
2080 * docs/html/explanations.html: Likewise.
2081 * docs/html/install.html: Likewise.
2082 * docs/html/17_intro/howto.html: Likewise.
2083 * docs/html/17_intro/license.html: Likewise.
2084 * docs/html/18_support/howto.html: Likewise.
2085 * docs/html/19_diagnostics/howto.html: Likewise.
2086 * docs/html/20_util/howto.html: Likewise.
2087 * docs/html/21_strings/howto.html: Likewise.
2088 * docs/html/22_locale/howto.html: Likewise.
2089 * docs/html/23_containers/howto.html: Likewise.
2090 * docs/html/24_iterators/howto.html: Likewise.
2091 * docs/html/25_algorithms/howto.html: Likewise.
2092 * docs/html/26_numerics/howto.html: Likewise.
2093 * docs/html/27_io/howto.html: Likewise.
2094 * docs/html/ext/howto.html: Likewise.
2095 * docs/html/ext/sgiexts.html: Likewise.
2096 * docs/html/faq/index.html: Likewise.
2098 2001-10-11 Loren J. Rittle <ljrittle@acm.org>
2100 * docs/html/faq/index.html (Is libstdc++-v3 thread-safe?): Rewrite.
2101 * docs/html/23_containers/howto.html (Containers and multithreading):
2104 2001-10-09 Phil Edwards <pme@gcc.gnu.org>
2106 * docs/html/17_intro/howto.html: Tweak markup and value type.
2107 * docs/html/27_io/howto.html: Tweak markup, describe setbuf() for
2108 nonzero arguments, add new note on threading.
2109 * docs/html/faq/index.html: Update.
2110 * docs/html/faq/index.txt: Regenerate.
2112 2001-10-09 Phil Edwards <pme@gcc.gnu.org>
2114 * docs/html/configopts.html: More HTML->XHTML and lowercasing of tags.
2115 * docs/html/documentation.html: Likewise.
2116 * docs/html/explanations.html: Likewise.
2117 * docs/html/install.html: Likewise.
2118 * docs/html/17_intro/howto.html: Likewise.
2119 * docs/html/17_intro/license.html: Likewise. Tighten up language.
2120 * docs/html/18_support/howto.html: Likewise.
2121 * docs/html/19_diagnostics/howto.html: Likewise.
2122 * docs/html/20_util/howto.html: Likewise.
2123 * docs/html/21_strings/howto.html: Likewise.
2124 * docs/html/22_locale/howto.html: Likewise.
2125 * docs/html/23_containers/howto.html: Likewise.
2126 * docs/html/24_iterators/howto.html: Likewise.
2127 * docs/html/25_algorithms/howto.html: Likewise.
2128 * docs/html/26_numerics/howto.html: Likewise.
2129 * docs/html/27_io/howto.html: Likewise.
2130 * docs/html/ext/howto.html: Likewise.
2131 * docs/html/ext/sgiexts.html: Likewise.
2132 * docs/html/faq/index.html: Likewise. Not so many absolute links.
2133 * docs/html/faq/index.txt: Regenerate.
2135 2001-10-07 Joseph S. Myers <jsm28@cam.ac.uk>
2137 * docs/html/22_locale/locale.html, docs/html/faq/index.html: Fix
2138 spelling errors of "separate" as "seperate", and corresponding
2139 spelling errors of related words.
2140 * docs/html/faq/index.txt: Regenerate.
2142 2001-10-05 Phil Edwards <pme@gcc.gnu.org>
2144 * config/cpu/alpha/bits/atomicity.h (__compare_and_swap): Remove
2146 * config/cpu/arm/bits/atomicity.h: Likewise.
2147 * config/cpu/generic/bits/atomicity.h: Likewise.
2148 * config/cpu/i486/bits/atomicity.h: Likewise.
2149 * config/cpu/ia64/bits/atomicity.h: Likewise.
2150 * config/cpu/mips/bits/atomicity.h: Likewise.
2151 * config/cpu/powerpc/bits/atomicity.h: Likewise.
2152 * config/cpu/sparc/sparc32/bits/atomicity.h: Likewise.
2153 * config/cpu/sparc/sparc64/bits/atomicity.h: Likewise.
2155 2001-10-04 Phil Edwards <pme@gcc.gnu.org>
2157 * docs/html/faq/index.html: Describe DR #22, and a workaround.
2158 * docs/html/faq/index.txt: Regenerate.
2160 2001-10-04 Phil Edwards <pme@gcc.gnu.org>
2162 * docs/html/17_intro/COPYING.DOC: New file, GFDL v1.1 from the FSF.
2163 * docs/html/17_intro/license.html: New file. Explain the licenses
2166 * docs/html/configopts.html: Link to license.html.
2167 * docs/html/documentation.html: Likewise.
2168 * docs/html/explanations.html: Likewise.
2169 * docs/html/install.html: Likewise.
2170 * docs/html/17_intro/howto.html: Likewise.
2171 * docs/html/18_support/howto.html: Likewise.
2172 * docs/html/19_diagnostics/howto.html: Likewise.
2173 * docs/html/20_util/howto.html: Likewise.
2174 * docs/html/21_strings/howto.html: Likewise.
2175 * docs/html/22_locale/howto.html: Likewise.
2176 * docs/html/23_containers/howto.html: Likewise.
2177 * docs/html/24_iterators/howto.html: Likewise.
2178 * docs/html/25_algorithms/howto.html: Likewise.
2179 * docs/html/26_numerics/howto.html: Likewise.
2180 * docs/html/27_io/howto.html: Likewise.
2181 * docs/html/ext/howto.html: Likewise.
2182 * docs/html/ext/sgiexts.html: Likewise.
2183 * docs/html/faq/index.html: Likewise. New question, linking to
2184 the new license.html.
2186 2001-10-04 Phil Edwards <pme@gcc.gnu.org>
2188 * docs/html/17_intro/howto.html: Fix mis-sed in header from 20010917.
2189 * docs/html/18_support/howto.html: Likewise.
2190 * docs/html/19_diagnostics/howto.html: Likewise.
2191 * docs/html/20_util/howto.html: Likewise.
2192 * docs/html/21_strings/howto.html: Likewise.
2193 * docs/html/22_locale/howto.html: Likewise.
2194 * docs/html/23_containers/howto.html: Likewise.
2195 * docs/html/24_iterators/howto.html: Likewise.
2196 * docs/html/25_algorithms/howto.html: Likewise.
2197 * docs/html/26_numerics/howto.html: Likewise.
2198 * docs/html/27_io/howto.html: Likewise.
2199 * docs/html/ext/howto.html: Likewise.
2200 * docs/html/faq/index.html: Likewise. Spacing fix.
2202 2001-10-03 Dimitris Vyzovitis <vyzo@media.mit.edu>
2204 * include/bits/stl_threads.h (_Atomic_swap): New function.
2205 (_Swap_lock_struct<__dummy>::_S_swap_lock): New data.
2206 * testsuite/ext/rope.cc: New file.
2208 2001-10-02 Benjamin Kosnik <bkoz@redhat.com>
2210 * config/locale/time_members_gnu.h: Remove.
2211 * config/locale/time_members_generic.h: Remove.
2212 * config/locale/time_members_gnu.cc (__timepunct::_M_put_helper): Add.
2213 * config/locale/time_members_generic.cc: Same.
2214 * include/bits/locale_facets.h: Add data members.
2215 (__timepunct::_M_put_helper): Change signature.
2216 (__timepunct::_M_date_formats): Same.
2217 (__timepunct::_M_time_formats): Same.
2218 (__timepunct::_M_ampm): Add.
2219 (__timepunct::_M_date_time_formats): Add.
2220 (time_get::_M_extract_via_format): Add.
2221 (time_get::_M_extract_time): Change to...
2222 (time_get::_M_extract_num): ... this, modify signature.
2223 * include/bits/locale_facets.tcc (time_get::do_get_year): Fix.
2224 (time_get::do_get_time): Fix.
2225 (time_get::do_get_date): Fix.
2227 * acinclude.m4: Remove CTIME_H.
2228 * aclocal.m4: Regenerate.
2229 * include/Makefile.am: Same.
2230 * include/Makefile.in: Regenerate.
2231 * configure: Regenerate.
2233 * testsuite/22_locale/time_get_members_char.cc: Fix.
2234 * testsuite/22_locale/time_get_members_wchar_t.cc: Add.
2235 * testsuite/22_locale/time_put_members_wchar_t.cc: Add.
2237 2001-10-01 Hans-Peter Nilsson <hp@axis.com>
2239 * config/cpu/cris/bits/atomicity.h: Correct file header.
2241 2001-09-29 Hans-Peter Nilsson <hp@axis.com>
2243 * configure.target (LIMITSH): Set for cris.
2244 (cpu_include_dir): Set for cris-*-*.
2245 * config/cpu/cris/bits/atomicity.h: New file.
2246 * config/cpu/cris/bits/limits.h: New file.
2248 2001-09-28 Benjamin Kosnik <bkoz@redhat.com>
2250 * config/locale/time_members_gnu.h (__timepunct::_M_get_helper): Add.
2251 (__timepunct::_M_put_helper): Add.
2252 * config/locale/time_members_generic.h: Same.
2253 * include/bits/locale_facets.h (__match_parallel): Remove. Format.
2254 (__timepunct): Add data members.
2255 (__timepunct::_M_days): Add.
2256 (__timepunct::_M_days_abbreviated): Add.
2257 (__timepunct::_M_months): Add.
2258 (__timepunct::_M_months_abbreviated): Add.
2259 (__timepunct::_M_initialize_timepunct): Add.
2260 * include/bits/locale_facets.tcc: Same.
2261 * src/locale-inst.cc: Remove instantiations for __match_parallel.
2262 * acinclude.m4 (GLIBCPP_ENABLE_CLOCALE): Add CTIME_CC.
2263 * aclocal.m4: Regenerate.
2264 * configure: Regenerate.
2265 * testsuite/22_locale/time_put_members_char.cc: Mark XFAIL.
2266 * testsuite/22_locale/time_put_members_char.cc (test01): New file.
2267 * testsuite/22_locale/time_get.cc: New file.
2269 2001-09-28 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
2271 * testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3-init): Use
2272 correct multilib builddir.
2273 Properly locate libgcc_s.
2275 2001-09-27 Phil Edwards <pme@gcc.gnu.org>
2277 * include/std/*: Add Doxygen hooks.
2278 * docs/doxygen/Intro.3: New file, general intro to the man pages.
2279 * docs/doxygen/mainpage.doxy: Formatting tweaks. List our own links
2280 rather than using a generated index.
2281 * docs/doxygen/user.cfg.in: Disable the index, enable man pages.
2282 * docs/doxygen/run_doxygen: Massage the generated man pages, using...
2283 * docs/doxygen/stdheader.cc: ...this new file.
2285 2001-09-26 Stan Shebs <shebs@apple.com>
2287 * include/Makefile.am: Remove RCS Id strings.
2288 * src/Makefile.am: Ditto.
2289 * docs/doxygen/run_doxygen: Ditto.
2290 * docs/html/configopts.html: Ditto.
2291 * docs/html/documentation.html: Ditto.
2292 * docs/html/explanations.html: Ditto.
2293 * docs/html/install.html: Ditto.
2294 * docs/html/17_intro/howto.html: Ditto.
2295 * docs/html/18_support/howto.html: Ditto.
2296 * docs/html/19_diagnostics/howto.html: Ditto.
2297 * docs/html/20_util/howto.html: Ditto.
2298 * docs/html/21_strings/howto.html: Ditto.
2299 * docs/html/22_locale/howto.html: Ditto.
2300 * docs/html/23_containers/howto.html: Ditto.
2301 * docs/html/24_iterators/howto.html: Ditto.
2302 * docs/html/25_algorithms/howto.html: Ditto.
2303 * docs/html/26_numerics/howto.html: Ditto.
2304 * docs/html/27_io/howto.html: Ditto.
2305 * docs/html/ext/howto.html: Ditto.
2306 * docs/html/ext/sgiexts.html: Ditto.
2307 * docs/html/faq/index.html: Ditto.
2308 * docs/html/faq/index.txt: Ditto.
2310 2001-09-25 Phil Edwards <pme@gcc.gnu.org>
2312 * testsuite/21_strings/c_strings.cc (test01, test02): Increase
2315 2001-09-25 Phil Edwards <pme@gcc.gnu.org>
2317 * docs/html/20_util/howto.html: Add anchor name.
2318 * docs/html/23_containers/howto.html: Line wrapping, another link.
2319 * docs/html/25_algorithms/howto.html: Another note.
2321 * docs/html/ext/howto.html: Link to SGI extensions. List DRs and
2323 * docs/html/ext/lwg-active.html: ...in this new file (from R19),
2324 * docs/html/ext/lwg-defects.html: and this new file (from R19).
2325 * docs/html/ext/sgiexts.html: New file. Mention SGI extensions
2326 carried over to libstdc++-v3.
2327 * docs/html/faq/index.html: Link to SGI extensions. Mention the
2328 "missing .." pseudobug.
2329 * docs/html/faq/index.txt: Regenerate.
2331 * include/bits/ios_base.h: DR-related comment cleanup.
2332 * include/bits/istream.tcc: Likewise.
2333 * include/bits/locale_facets.h: Likewise.
2334 * include/bits/locale_facets.tcc: Likewise.
2335 * include/bits/ostream.tcc: Likewise.
2336 * include/bits/std_bitset.h: Likewise.
2337 * include/bits/std_iosfwd.h: Likewise.
2338 * include/bits/std_istream.h: Likewise.
2339 * include/bits/std_ostream.h: Likewise.
2340 * include/bits/std_streambuf.h: Likewise.
2341 * include/bits/stl_pair.h: Likewise.
2342 * include/bits/streambuf_iterator.h: Likewise.
2344 * include/bits/std_map.h: Remove unused header inclusion guard
2345 _CPP_BITS_STL_TREE_H from around bits/stl_tree.h.
2346 * include/bits/std_set.h: Likewise.
2348 * include/bits/stl_function.h: Doxygen markup.
2349 * docs/doxygen/doxygroups.cc: New file, specifying module grouping.
2350 * libsupc++/typeinfo: Doxygen markup tweak.
2352 2001-09-20 Scott Johnston <scott@accom.com>
2353 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
2355 * include/backward/alloc.h: Conditionally define malloc_alloc
2356 * testsuite/backward/header_deque_h.cc: New file.
2358 2001-09-20 Sylvain Pion <Sylvain.Pion@sophia.inria.fr>
2360 * libstdc++-v3/include/bits/locale_facets.tcc (money_put::do_put):
2361 change variable name so that it works with -fno-for-scope.
2363 2001-09-20 Benjamin Kosnik <bkoz@redhat.com>
2365 * testsuite/22_locale/numpunct_members_char.cc (test01): Remove
2366 redundant sanity checks.
2367 * testsuite/22_locale/money_put_members_wchar_t.cc (test01): Same.
2369 * testsuite/22_locale/money_put_members_char.cc (test01): Same.
2371 * testsuite/22_locale/moneypunct_members_wchar_t.cc (test01): Same.
2372 * testsuite/22_locale/moneypunct_members_char.cc (test01): Same.
2373 * testsuite/22_locale/money_get_members_wchar_t.cc (test01): Same.
2375 * testsuite/22_locale/money_get_members_char.cc (test01): Same.
2378 2001-09-19 Benjamin Kosnik <bkoz@redhat.com>
2380 Implement std::time_put.
2381 * include/bits/locale_facets.h: Include time_members.h.
2383 (time_put): Implement.
2384 * include/bits/locale_facets.tcc (do_put): Put generic versions here.
2385 * include/bits/localefwd.h: Bump number of facets.
2386 * config/locale/time_members_generic.h: New file.
2387 * config/locale/time_members_gnu.h: New file.
2388 * config/locale/c_locale_generic.h: Include clocale.
2389 * src/locale-inst.cc: Add use_facet instantiations for __timepunct.
2390 * src/locale.cc: Add __timepunct initializations.
2391 * src/localename.cc (locale::_Impl::_Impl(string, size_t)): Same.
2392 * include/Makefile.am (stamp-target): Add time_members.h.
2393 * include/Makefile.in: Regenerate.
2394 * acinclude.m4 (GLIBCPP_ENABLE_CLOCALE): Add CTIME_H.
2395 * aclocal.m4: Regenerate.
2396 * configure: Regenerate.
2397 * testsuite/22_locale/time_put.cc: New file.
2398 * testsuite/22_locale/time_put_members_char.cc: New file.
2400 * docs/html/22_locale/locale.html: Add note.
2402 2001-09-17 Phil Edwards <pme@gcc.gnu.org>
2404 * docs/html/configopts.html: HTML to XHTML change. Lowercase tags.
2405 * docs/html/documentation.html: Likewise.
2406 * docs/html/explanations.html: Likewise.
2407 * docs/html/install.html: Likewise.
2408 * docs/html/17_intro/howto.html: Likewise.
2409 * docs/html/18_support/howto.html: Likewise.
2410 * docs/html/19_diagnostics/howto.html: Likewise.
2411 * docs/html/20_util/howto.html: Likewise.
2412 * docs/html/21_strings/howto.html: Likewise.
2413 * docs/html/22_locale/codecvt.html: Likewise.
2414 * docs/html/22_locale/ctype.html: Likewise.
2415 * docs/html/22_locale/howto.html: Likewise.
2416 * docs/html/22_locale/locale.html: Likewise.
2417 * docs/html/22_locale/messages.html: Likewise.
2418 * docs/html/23_containers/howto.html: Likewise.
2419 * docs/html/24_iterators/howto.html: Likewise.
2420 * docs/html/25_algorithms/howto.html: Likewise.
2421 * docs/html/26_numerics/howto.html: Likewise.
2422 * docs/html/27_io/howto.html: Likewise.
2423 * docs/html/ext/howto.html: Likewise.
2424 * docs/html/faq/index.html: Likewise.
2425 * docs/html/faq/index.txt: Regenerated.
2427 2001-09-14 Phil Edwards <pme@sources.redhat.com>
2429 * docs/html/17_intro/headers_cc.txt: "Sync"/copy real file over.
2430 * docs/html/17_intro/howto.html: Spacing and HTML markup fixes.
2431 * docs/html/18_support/howto.html: It won't compile; it's not code.
2432 * docs/html/19_diagnostics/howto.html: Point diagram seekers to
2434 * docs/html/22_locale/howto.html: Comment for future work.
2435 * docs/html/23_containers/howto.html: More comments.
2436 * docs/html/25_algorithms/howto.html: It's a comment, not a
2437 blunt command to the reader. (English grammar.)
2439 2001-09-14 Benjamin Kosnik <bkoz@redhat.com>
2441 * config/locale/moneypunct_members_gnu.cc: Fix initialization of
2443 * testsuite/22_locale/money_get_members_wchar_t.cc (test02): New file.
2444 * testsuite/22_locale/money_put_members_wchar_t.cc (test02): Fix.
2446 2001-09-14 Benjamin Kosnik <bkoz@redhat.com>
2448 * include/bits/locale_facets.tcc: Conditionalize use of strtold.
2450 2001-09-13 Alexandre Petit-Bianco <apbianco@redhat.com>
2452 * testsuite/22_locale/money_get_members_char.cc: Fixed typo in comment.
2453 * testsuite/22_locale/money_put_members_char.cc: Likewise.
2454 * testsuite/22_locale/money_put_members_wchar_t.cc: Likewise.
2456 2001-09-13 Benjamin Kosnik <bkoz@redhat.com>
2458 Implement std::money_get.
2459 * include/bits/locale_facets.tcc (money_get::do_get): Implement.
2460 * include/bits/locale_facets.h (money_get): Correct signatures.
2461 * testsuite/22_locale/money_get.cc: New file.
2462 * testsuite/22_locale/money_get_members_char.cc: New file.
2464 * include/bits/locale_facets.tcc (__verify_grouping): New
2465 function. Consolidate num_get and money_get group checking into
2467 (money_get): Use it.
2468 * src/locale.cc (num_get::_M_extract): Use it.
2469 * src/locale-inst.cc: Add instantiation.
2471 2001-09-12 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
2473 * include/bits/std_limits.h (numeric_limits<float>::radix,
2474 numeric_limits<float>::epsilon: Fix thinko.
2476 2001-09-10 Benjamin Kosnik <bkoz@redhat.com>
2478 * configure.in: Fix cross compiling math routines. Correct
2479 comments for cross compiling and limits. Add floating point math
2480 routines found in newlib.
2481 * configure: Regenerate.
2482 * acconfig.h: Add macros.
2483 * config.h.in: Regenerate.
2485 2001-09-10 Benjamin Kosnik <bkoz@redhat.com>
2487 * config/locale/moneypunct_members_generic.cc
2488 (money_base::_S_construct_pattern): Remove unused parameters.
2490 2001-09-10 Benjamin Kosnik <bkoz@redhat.com>
2492 * include/Makefile.am (stamp-target): Remove link to self.
2493 * inclulde/Makefile.in: Regenerate.
2495 2001-09-09 Benjamin Kosnik <bkoz@redhat.com>
2497 Implement std::money_put.
2498 * include/bits/locale_facets.h
2499 (moneypunct::_M_initialize_moneypunct): Split up specializations
2500 to account for _Intl. More grody hacking to get around the
2501 ill-considered use of const bool as a template parameter.
2502 * config/locale/moneypunct_members_gnu.cc: And here.
2503 * config/locale/moneypunct_members_generic.cc: And here.
2504 * testsuite/22_locale/moneypunct_members_char.cc: Add tests.
2505 * testsuite/22_locale/moneypunct.cc: Add tests.
2506 * testsuite/22_locale/money_put_members_wchar_t.cc: New file.
2507 * testsuite/22_locale/moneypunct_members_wchar_t.cc: New file.
2509 * src/locale.cc (money_base::_S_construct_pattern): Move into
2511 * config/locale/moneypunct_members_gnu.cc: Add here.
2512 * config/locale/moneypunct_members_generic.cc: Add generic version
2515 * include/bits/locale_facets.tcc (money_put::do_put): Move member
2516 function definitions here.
2517 * include/bits/locale_facets.h (money_put): Implement.
2518 * src/locale-inst.cc: Add use_facet instantiations for moneypunct.
2519 Correct money_get, money_put instantiations.
2520 * src/locale.cc (money_base::_S_construct_pattern): Handle case
2522 * testsuite/22_locale/money_put_members_char.cc: Add tests.
2524 2001-09-05 Phil Edwards <pme@sources.redhat.com>
2526 * testsuite_flags.in: No longer need to search testsuite builddir.
2527 * src/stl-inst.cc (__sink_unused_warning): Unused, remove.
2528 * Makefile.am: The testsuite directory never needs to be made here.
2529 * Makefile.in: Regenerate.
2530 * include/Makefile.in: Regenerate.
2531 * libio/Makefile.in: Regenerate.
2532 * libmath/Makefile.in: Regenerate.
2533 * libsupc++/Makefile.in: Regenerate.
2534 * po/Makefile.in: Regenerate.
2535 * src/Makefile.in: Regenerate.
2536 * testsuite/Makefile.in: Regenerate.
2538 2001-09-04 Scott Johnston <scott@accom.com>
2539 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
2541 * include/backward/iterator.h: Include <bits/std_iterator.h>,
2542 remove reverse_bidirectional_iterator.
2543 * testsuite/backward: New directory.
2544 * testsuite/backward/header_iterator_h.cc: New file.
2546 2001-09-04 Benjamin Kosnik <bkoz@redhat.com>
2548 * include/c_std/bits/std_c*.h: Don't use include_next.
2550 2001-09-03 Richard Sandiford <rsandifo@redhat.com>
2552 * libsupc++/eh_personality.cc (parse_lsda_header): Change type of
2553 tmp from _Unwind_Ptr to _Unwind_Word.
2555 2001-08-31 Jason Merrill <jason_merrill@redhat.com>
2557 * libsupc++/eh_personality.cc (PERSONALITY_FUNCTION): Simplify
2560 2001-08-28 Loren J. Rittle <ljrittle@acm.org>
2562 * include/Makefile.am: Use toplevel_srcdir to refer to src files
2563 outside this component.
2564 * include/Makefile.in: Regenerate.
2566 2001-08-27 Benjamin Kosnik <bkoz@redhat.com>
2568 * config/locale/c_locale_gnu.cc: Move facet info to separate files...
2569 * config/locale/c_locale_generic.cc: Same.
2570 * config/locale/moneypunct_members_gnu.cc: New file.
2571 * config/locale/moneypunct_members_generic.cc: New file.
2572 * config/locale/numpunct_members_gnu.cc: New file.
2573 * config/locale/numpunct_members_generic.cc: New file.
2574 * acinclude.m4 (GLIBCPP_ENABLE_CLOCALE): Add moneypunct, numpunct
2576 * aclocal.m4: Regenerate.
2577 * configure: Regenerate.
2578 * src/Makefile.am (sources): And here.
2579 * src/Makefile.in: Regenerate.
2581 Rename for consistency with rest of testsuite.
2582 * testsuite/22_locale/codecvt.cc: New file.
2583 * testsuite/22_locale/money_put.cc: New file.
2584 * testsuite/22_locale/money_put_members_char.cc: New file.
2586 2001-08-27 Phil Edwards <pme@sources.redhat.com>
2589 * acinclude.m4 (GLIBCPP_EXPORT_INSTALL_INFO): Handle enable/disable
2590 correctly for version-specific-runtime-libs.
2591 * aclocal.m4: Regenerate.
2592 * configure: Regenerate.
2594 2001-08-24 Loren J. Rittle <ljrittle@acm.org>
2596 * config/cpu/i386/bits/limits.h (__glibcpp_long_double_bits): Only
2597 define if not already provided by per-OS file.
2598 * config/os/bsd/freebsd/bits/os_defines.h (__glibcpp_long_double_bits):
2601 2001-08-24 Jan van Male <jan.vanmale@fenk.wau.nl>
2603 * docs/html/17_intro/C++STYLE: Fix typo.
2605 2001-08-24 Phil Edwards <pme@sources.redhat.com>
2607 * docs/html/23_containers/howto.html: Describe implementation of
2608 insertion with hints.
2610 2001-08-24 Kenny Simpson <kenny.simpson@gs.com>
2613 * include/bits/std_sstream.h (basic_ostringstream): Fix ctor.
2615 2001-08-24 Sylvain Pion <Sylvain.Pion@sophia.inria.fr>
2616 Phil Edwards <pme@sources.redhat.com>
2619 * include/bits/stl_tree.h (insert_unique): Revert last change.
2620 Values inserted at begin() must be less, not greater, than *begin()'s.
2621 * testsuite/23_containers/map_insert.cc: New file.
2623 2001-08-23 Benjamin Kosnik <bkoz@redhat.com>
2625 * config/locale/c_locale_gnu.cc: Minor tweaks.
2626 (moneypunct<wchar_t>): Implement.
2627 * include/bits/locale_facets.h: Same.
2628 * testsuite/22_locale/moneypunct.cc: New file.
2629 * testsuite/22_locale/moneypunct_byname.cc: New file.
2630 * testsuite/22_locale/moneypunct_char_members.cc: New file.
2632 2001-08-23 David Edelsohn <edelsohn@gnu.org>
2634 * config/os/gnu-linux/bits/os_defines.h: Correct __s390__ definitions.
2635 Set __powerpc__ long double definition based on __LONG_DOUBLE_128__.
2637 2001-08-23 Jason Merrill <jason_merrill@redhat.com>
2639 * testsuite_flags.in (build-includes): Re-add backward.
2641 2001-08-22 Benjamin Kosnik <bkoz@redhat.com>
2643 * testsuite/22_locale/collate_wchar_t_members.cc: Guard
2644 with _GLIBCPP_USE_WCHAR_T.
2646 2001-08-21 Benjamin Kosnik <bkoz@redhat.com>
2648 * testsuite/22_locale/collate_byname.cc (test01): Fix.
2650 2001-08-18 Vladimir A Merzliakov <wanderer@rsu.ru>
2652 * include/bits/locale_facets.tcc (collate::do_transform): Add typename.
2654 2001-08-18 Benjamin Kosnik <bkoz@redhat.com>
2656 * testsuite/22_locale/operators.cc: Add test.
2658 2001-08-17 Benjamin Kosnik <bkoz@redhat.com>
2660 Implement std::collate.
2661 * config/locale/collate_specializations_gnu.cc: Add here, implement in
2663 * config/locale/collate_specializations_generic.cc: Add here, but
2664 in a less sophisticated manner.
2665 * include/bits/locale_facets.tcc (collate): Add generic definition.
2666 * include/bits/locale_facets.h (~collate): Mark virtual.
2667 (collate::_M_compare_helper): New.
2668 (collate::_M_transform_helper): New.
2669 * src/locale.cc: Remove unnecessary specializations.
2670 * src/string-inst.cc: Tweak instantiation of ctors.
2672 * acinclude.m4 (GLIBCPP_ENABLE_CLOCALE): Do configury for collate.
2673 * aclocal.m4: Regenerate.
2674 * configure: Regenerate.
2675 * src/Makefile.am (sources): Add collate.cc.
2676 * src/Makefile.in: Regenerate.
2678 * testsuite/22_locale/collate_byname.cc: New.
2679 * testsuite/22_locale/collate.cc: New file.
2680 * testsuite/22_locale/collate_char_members.cc: New file.
2681 * testsuite/22_locale/collate_wchar_t_members.cc: New file.
2683 2001-08-16 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
2685 * configure.target: Set LIMITSH for powerpc-*-*.
2686 * config/cpu/powerpc/bits/limits.h: New file.
2688 2001-08-16 Marc Espie <espie@openbsd.org>
2690 * configure.in: Check for <sys/types.h>.
2691 * configure: Rebuild.
2692 * config.h.in: Rebuild.
2693 * libmath/mathconf.h: Include <sys/types.h> prior to
2694 <machine/endian.h> if available.
2696 2001-08-15 Andreas Schwab <schwab@suse.de>
2698 * configure.target (cpu_include_dir): Set to `config/cpu/m68k' for
2699 m68k and m680[246]0.
2700 * config/cpu/m68k/bits/atomicity.h: New file.
2702 * include/bits/std_limits.h [__glibcpp_long_double_bits == 96]:
2703 Define appropriate long double limits for m68k extended floating
2705 (__glibcpp_f32_digits10): Corrected, off by one.
2706 (__glibcpp_f80_digits10): Likewise.
2707 (__glibcpp_f128_digits10): Likewise.
2708 * config/os/gnu-linux/bits/os_defines.h
2709 (__glibcpp_long_double_bits) [__mc68000__]: Define to 96.
2711 2001-08-15 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
2713 * testsuite/18_support/numeric_limits.cc: Add more tests.
2714 * include/bits/std_limits.h (numeric_limits<char>::max): Fix
2717 2001-08-14 Ulrich Weigand <uweigand@de.ibm.com>
2719 * configure.target (cpu_include_dir): Set to `config/cpu/s390'
2722 * config/cpu/s390/bits/atomicity.h: New.
2724 2001-08-14 Gabriel Dos Reis <gdr@codesourcery.com>
2726 * include/bits/std_limits.h: Fix thinko.
2728 2001-08-14 Benjamin Kosnik <bkoz@redhat.com>
2730 * include/Makefile.am: Consolidate target rules. Don't clean stamp
2731 files. Tweak target build directory stamp.
2732 * include/Makefile.in: Regenerate.
2734 2001-08-14 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
2736 * libstdc++-v3/libmath/stubs.c: Fix PR/3988, replace
2737 _GBLICPP_HAVE_LOGL with HAVE_LOGL
2739 2001-08-13 Benjamin Kosnik <bkoz@redhat.com>
2741 * configure.in (libtool_VERSION): Add.
2742 (VERSION): Change to
2743 (release_VERSION): This.
2744 * configure: Regenerate.
2745 * src/Makefile.am (libstdc___la_LDFLAGS): Use -version-info with
2747 * src/Makefile.in: Regenerate.
2749 * intl/Makefile.am: Remove.
2750 * intl/Makefile.in: Remove.
2752 * Makefile.am (SUBDIRS): Remove intl.
2753 * po/Makefile.am (DISTFILES): Add string_literals.cc
2755 * po/string_literals.cc: Add.
2756 * po/POTFILES.in: Fix path.
2757 * acinclude.m4 (GLIBCPP_ENABLE_CLOCALE): Don't call AM_GNU_GETTEXT.
2758 * aclocal.m4: Regenerate.
2759 * configure.in: Remove AC_OUTPUT of intl/Makefile.
2761 * include/backward/backward_warning.h: Clarify message.
2763 * testsuite_flags.in (--cxxflags): Use same debug flags for
2764 library and testsuite.
2766 * include/Makefile.am (c_compatibility): Remove.
2767 * include/Makefile.in: Regenerate.
2769 2001-08-13 Mark Mitchell <mark@codesourcery.com>
2771 * configure.in (LIMITS_INC_SRCDIR): New variable.
2772 * configure.target (LIMITSH): New variable.
2773 * porting.texi: Discuss numeric limits.
2774 * config/cpu/generic/bits/limits.h: New file.
2775 * config/cpu/i386/bits/limits.h: New file.
2776 * include/Makefile.am: Install bits/limits.h.
2777 * include/bits/c++config: Include bits/limits.h.
2779 2001-08-13 H.J. Lu (hjl@gnu.org)
2781 * testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3-copy-files):
2783 (libstdc++-v3-init ): Use it.
2785 2001-08-13 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
2787 * include/bits/ostream.tcc (__pad_char): Change toplevel '__fmt'
2788 to '__adjust' to avoid shadowing in nested scope.
2790 2001-08-10 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
2792 * include/bits/std_limits.h(__glibcpp_char_is_signed): Use
2795 * config/os/gnu-linux/bits/os_defines.h(__glibcpp_char_is_signed):
2797 * config/os/aix/bits/os_defines.h(__glibcpp_plain_char_is_signed):
2800 2001-08-10 Loren J. Rittle <ljrittle@acm.org>
2802 * testsuite/testsuite_hooks.h (__set_testsuite_memlimit): Add
2803 dummy default argument to the non-limit implementation.
2806 * include/Makefile.am: Use relative file path in rule to allow
2808 * include/Makefile.in: Rebuilt.
2810 2001-08-10 Gunter Winkler <gunter.winkler@mathematik.tu-chemnitz.de>
2812 * include/bits/std_complex.h (complex<long double>::operator*=,
2813 complex<long double>::operator/=): Fix thinko.
2815 2001-08-10 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
2817 * include/bits/std_limits.h: New file.
2818 * include/Makefile.am (bits_headers): Add std_limits.h
2819 (all-local): std_limits.h is no longer built.
2820 (${target_builddir}/std_limits.h): Remove.
2821 * include/Makefile.in: Regenerate.
2822 * src/limits.cc: New file.
2823 * src/Makefile.am (sources): Add limits.cc in replacement of
2825 * src/Makefile.in: Regenerate.
2827 2001-08-09 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
2829 * src/gen-num-limits.cc (digits10): Fix thinko.
2831 2001-08-09 Benjamin Kosnik <bkoz@redhat.com>
2833 * po/Makefile.am (check-no): Add.
2835 * po/Makefile.in: Regenerate.
2837 2001-08-09 Benjamin Kosnik <bkoz@redhat.com>
2839 * acconfig.h (_GLIBCPP_MEM_LIMITS): Define.
2840 * config.h.in: Regenerate.
2841 * acinclude.m4 (GLIBCPP_CHECK_SETRLIMIT): Check for setrlimit
2843 * aclocal.m4: Regenerate.
2844 * configure.in: Remove duplicate AM_CONFIG_HEADER.
2845 (AM_CONFIG_HEADER): Remove testsuite/testsuite_hooks.h.
2846 Only call GLIBCPP_CHECK_SETRLIMIT for native compiles.
2847 * configure: Regenerate.
2848 * testsuite_hooks.h.in: Move to...
2849 * testsuite_hooks.h: Here, include c++config.h. Use it.
2851 * Makefile.am (SUBDIRS): Move testsuite to last directory.
2852 * Makefile.in: Regenerate.
2853 * po/Makefile.am (stamp-po): Add.
2855 2001-08-09 David Edelsohn <edelsohn@gnu.org>
2857 * config/os/aix/bits/os_defines.h: Define std_limits.h macros.
2858 * config/os/generic/bits/os_defines.h: Likewise.
2859 * config/os/gnu-linux/bits/os_defines.h: Likewise.
2860 * config/os/hpux/bits/os_defines.h: Likewise.
2861 * config/os/irix/irix6.5/bits/os_defines.h: Likewise.
2862 * config/os/solaris/solaris2.7/bits/os_defines.h: Likewise.
2864 2001-08-08 Benjamin Kosnik <bkoz@redhat.com>
2866 * src/Makefile.am (libstdc___la_LDFLAGS): Use -release instead of
2867 -version-info, use substituted VERSION info.
2868 * src/Makefile.in: Regenerate.
2870 2001-08-07 Benjamin Kosnik <bkoz@redhat.com>
2872 Implement std::messages.
2873 Make config a fully-nested directory.
2874 * config/locale: New directory.
2875 * config/c_locale_generic.cc: Move into locale subdirectory.
2876 * config/c_locale_generic.h: Same.
2877 * config/c_locale_gnu.cc: Same.
2878 * config/c_locale_gnu.h: Same.
2879 * config/c_locale_ieee_1003.1-200x.cc: Same.
2880 * config/c_locale_ieee_1003.1-200x_.h: Same.
2881 * config/codecvt_specializations_generic.h: Same.
2882 * config/codecvt_specializations_ieee_1003.1-200x.h: Same.
2883 * config/messages_members_gnu.h: Same.
2884 * config/messaages_members_gnu.cc: Same.
2885 * config/messages_members_generic.h: Same.
2886 * config/messaages_members_generic.cc: Same.
2887 * config/messages_members_ieee_1003.1-200x.h: Same.
2888 * config/messaages_members_ieee_1003.1-200x.cc: Same.
2889 * config/io: New directory.
2890 * config/basic_file_libio.h: Move into io subdirectory.
2891 * config/basic_file_libio.cc: Same.
2892 * config/c_io_libio.h: Same.
2893 * config/c_io_libio_codecvt.c: Same.
2894 * config/basic_file_stdio.h: Same.
2895 * config/basic_file_stdio.cc: Same.
2896 * config/c_io_stdio.h: Same.
2898 * po: New directory.
2899 * po/POTFILES.in: New file.
2900 * po/Makefile.am: New file.
2901 * po/Makefile.in: New file.
2902 * po/libstdc++.pot: Generic translation file.
2903 * po/fr.po: Preliminary French translation.
2904 * po/de.po: Preliminary German translation.
2905 * intl: New directory.
2906 * intl/Makefile.am: New file.
2907 * intl/Makefile.in: New file.
2908 * intl/string_literals.cc: New file.
2909 * acinclude.m4 (GLIBCPP_CONFIGURE): Bump VERSION to 3.1.0. Add
2910 requisite setup for gettext. Re-arrange.
2911 * aclocal.m4: Regenerate.
2912 * configure.in: Don't call GLIBCPP_CHECK_COMPILER_VERSION.
2913 Output Makefile bits for po and intl.
2914 * configure: Regenerate.
2915 * Makefile.am (SUBDIRS): Add intl, po. Add rule for dist.
2916 * Makefile.in: Regenerate.
2917 * acconfig.h: Add ENABLE_NLS, HAVE_CATGETS, HAVE_GETTEXT, HAVE_STPCPY.
2918 * config.h.in: Regenerate.
2920 * acinclude.m4 (AC_REPLACE_STRINGFUNCS): Remove.
2922 * include/Makefile.am (install-data-local): Don't install Makefile.
2923 * include/Makefile.in: Regenerate.
2925 * include/bits/locale_facet.h (locale::facet::_S_clone_c_locale):
2927 * config/locale/c_locale_gnu.cc (_S_clone_c_locale): Add definition.
2928 * config/locale/c_locale_generic.cc: Same.
2929 * config/locale/c_locale_ieee_1003.1-200x.cc: Same.
2931 * include/bits/codecvt.h: Excise non-standard, non-required
2932 bits. This includes __enc_traits, and partial specializations of
2933 codecvt for __enc_traits.
2934 * src/codecvt.cc (__enc_traits::_S_max_size): Guard
2935 * config/codecvt_partials_ieee_1003.1-200x.h: New file.
2936 * config/codecvt_partials_generic.h: New file.
2937 * include/Makefile.am (allstamps): Add stamp-codecvt_model.
2938 (stamp-codecvt_model): Add.
2939 * include/Makefile.in: Regenerate.
2940 * acinclude.m4 (GLIBCPP_ENABLE_CLOCALE): Add in codecvt configury.
2941 * aclocal.m4: Regenerate.
2942 * configure: Regenerate.
2943 * testsuite/22_locale/codecvt_unicode_wchar_t.cc: Use macro guard.
2944 * testsuite/22_locale/codecvt_unicode_char.cc: Same.
2945 * testsuite/22_locale/ctor_copy_dtor.cc: And here.
2947 * include/bits/localefwd.h (class locale::facet): Add __enc_traits
2948 as a friend for _S_*_c_locale functions.
2949 * include/bits/codecvt.h (__enc_traits::__enc_traits): Add locale
2950 argument to default constructor so that CODESET information can be
2952 * include/bits/locale_facets.h (messages_byname):
2953 Re-implement. Remove specializations.
2954 * src/locale.cc (messages_byname<char>): Remove specialization.
2955 (messages_byname<wchar_t>): Same.
2956 * config/locale/c_locale_ieee_1003.1-200x.cc: New file.
2957 * config/locale/c_locale_ieee_1003.1-200x.h: New file.
2958 * config/locale/messages_members_ieee_1003.1-200x.cc: New file.
2959 * config/locale/messages_members_ieee_1003.1-200x.h: New file.
2960 * config/locale/messages_members_gnu.cc: New file.
2961 * config/locale/messages_members_gnu.h: New file.
2962 * config/locale/messages_members_generic.cc: New file.
2963 * config/locale/messages_members_generic.h: New file.
2965 * docs/html/configopts.html: Add documentation for new locale
2966 model, ieee_1003.1. Adjust other flags for current defaults.
2967 * docs/html/22_locale/locale.html: Update.
2968 * docs/html/22_locale/howto.html: Add link to messages.html. Organize.
2969 * docs/html/22_locale/messages.html: New.
2971 * src/Makefile.am (sources): Add messages_virtuals.cc.
2972 * src/Makefile.in: Regenerate.
2973 * include/Makefile.am (allstamps): Add stamp-messages_model.
2974 (stamp-messages_model): Add.
2975 * include/Makefile.in: Regenerate.
2976 * acinclude.m4 (GLIBCPP_ENABLE_CLOCALE): Add in messages configury.
2977 * aclocal.m4: Regenerate.
2978 * configure: Regenerate.
2980 * testsuite_flags.in (--cxxflags): Add LOCALEDIR.
2981 * testsuite/lib/libstdc++-v3-dg.exp: Remove broken LD_LIBRARY_PATH
2983 * acinclude (GLIBCPP_ENABLE_CLOCALE): Set glibcpp_localedir to the
2984 build directories message catalog base directory, and export.
2985 Eventually this should probably be made to deal with build and
2986 install directories. For now, punt on this as the library itself
2987 doesn't use message catalogs (yet).
2988 * testsuite/22_locale/messages.cc: New file.
2989 * testsuite/22_locale/messages_char_members.cc: New file.
2990 * testsuite/22_locale/messages_byname.cc: New file.
2992 2001-08-06 Phil Edwards <pme@sources.redhat.com>
2994 * acinclude.m4 (GLIBCPP_CONFIGURE_TESTSUITE): New macro, calls...
2995 (GLIBCPP_CHECK_SETRLIMIT): ...this new macro, which also uses...
2996 (GLIBCPP_CHECK_SETRLIMIT_ancilliary): ...this new macro.
2997 * configure.in (AM_CONFIG_HEADER): Also generate testsuite_hooks.h.
2998 Call GLIBCPP_CONFIGURE_TESTSUITE.
2999 * aclocal.m4: Regenerate.
3000 * config.h.in: Regenerate.
3001 * configure: Regenerate.
3003 * testsuite/lib/libstdc++-v3-dg.exp: Download new header instead
3006 * testsuite_flags.in: Add build dir's testsuite to INCLUDES.
3007 * testsuite/debug_assert.h: Removed; contents merged into...
3008 * testsuite/testsuite_hooks.h.in: ...here. New file.
3009 * testsuite/17_intro/header_ciso646.cc: No longer include
3010 debug_assert.h, include testsuite_hooks.h instead.
3011 * testsuite/17_intro/header_fstream.cc: Likewise.
3012 * testsuite/17_intro/header_iomanip.cc: Likewise.
3013 * testsuite/17_intro/header_ios.cc: Likewise.
3014 * testsuite/17_intro/header_iosfwd.cc: Likewise.
3015 * testsuite/17_intro/header_iostream.cc: Likewise.
3016 * testsuite/17_intro/header_istream.cc: Likewise.
3017 * testsuite/17_intro/header_ostream.cc: Likewise.
3018 * testsuite/17_intro/header_sstream.cc: Likewise.
3019 * testsuite/17_intro/header_streambuf.cc: Likewise.
3020 * testsuite/18_support/numeric_limits.cc: Likewise.
3021 * testsuite/19_diagnostics/stdexceptions.cc: Likewise.
3022 * testsuite/20_util/allocator_members.cc: Likewise.
3023 * testsuite/20_util/auto_ptr.cc: Likewise.
3024 * testsuite/20_util/pairs.cc: Likewise.
3025 * testsuite/21_strings/append.cc: Likewise.
3026 * testsuite/21_strings/capacity.cc: Likewise.
3027 * testsuite/21_strings/char_traits_requirements.cc: Likewise.
3028 * testsuite/21_strings/compare.cc: Likewise.
3029 * testsuite/21_strings/ctor_copy_dtor.cc: Likewise. Also set up
3030 call to (disabled) __set_testsuite_memlimit() wrapper.
3031 * testsuite/21_strings/element_access.cc: Likewise.
3032 * testsuite/21_strings/find.cc: Likewise.
3033 * testsuite/21_strings/insert.cc: Likewise. Also set up call to
3034 (disabled) __set_testsuite_memlimit() wrapper.
3035 * testsuite/21_strings/inserters_extractors.cc: Likewise.
3036 * testsuite/21_strings/invariants.cc: Likewise.
3037 * testsuite/21_strings/nonmember.cc: Likewise.
3038 * testsuite/21_strings/operations.cc: Likewise.
3039 * testsuite/21_strings/replace.cc: Likewise.
3040 * testsuite/21_strings/rfind.cc: Likewise.
3041 * testsuite/21_strings/substr.cc: Likewise.
3042 * testsuite/22_locale/codecvt_char_char.cc: Likewise.
3043 * testsuite/22_locale/codecvt_unicode_char.cc: Likewise.
3044 * testsuite/22_locale/codecvt_unicode_wchar_t.cc: Likewise.
3045 * testsuite/22_locale/codecvt_wchar_t_char.cc: Likewise.
3046 * testsuite/22_locale/ctor_copy_dtor.cc: Likewise.
3047 * testsuite/22_locale/ctype_char_members.cc: Likewise.
3048 * testsuite/22_locale/ctype_wchar_t_members.cc: Likewise.
3049 * testsuite/22_locale/facet.cc: Likewise.
3050 * testsuite/22_locale/global_templates.cc: Likewise.
3051 * testsuite/22_locale/members.cc: Likewise.
3052 * testsuite/22_locale/numpunct_byname.cc: Likewise.
3053 * testsuite/22_locale/numpunct_char_members.cc: Likewise.
3054 * testsuite/22_locale/operators.cc: Likewise.
3055 * testsuite/22_locale/static_members.cc: Likewise.
3056 * testsuite/23_containers/bitset_ctor.cc: Likewise.
3057 * testsuite/23_containers/bitset_members.cc: Likewise.
3058 * testsuite/23_containers/bitset_shift.cc: Likewise.
3059 * testsuite/23_containers/vector_capacity.cc: Likewise.
3060 * testsuite/23_containers/vector_ctor.cc: Likewise.
3061 * testsuite/23_containers/vector_element_access.cc: Likewise.
3062 * testsuite/23_containers/vector_modifiers.cc: Likewise.
3063 * testsuite/24_iterators/istreambuf_iterator.cc: Likewise.
3064 * testsuite/24_iterators/iterator.cc: Likewise.
3065 * testsuite/24_iterators/ostreambuf_iterator.cc: Likewise.
3066 * testsuite/25_algorithms/binary_search.cc: Likewise.
3067 * testsuite/25_algorithms/copy.cc: Likewise.
3068 * testsuite/25_algorithms/heap.cc: Likewise.
3069 * testsuite/25_algorithms/lower_bound.cc: Likewise.
3070 * testsuite/25_algorithms/min_max.cc: Likewise.
3071 * testsuite/25_algorithms/partition.cc: Likewise.
3072 * testsuite/25_algorithms/rotate.cc: Likewise.
3073 * testsuite/25_algorithms/sort.cc: Likewise.
3074 * testsuite/26_numerics/c_math.cc: Likewise.
3075 * testsuite/26_numerics/complex_inserters_extractors.cc: Likewise.
3076 * testsuite/26_numerics/complex_value.cc: Likewise.
3077 * testsuite/27_io/filebuf.cc: Likewise.
3078 * testsuite/27_io/filebuf_members.cc: Likewise.
3079 * testsuite/27_io/filebuf_virtuals.cc: Likewise.
3080 * testsuite/27_io/fpos.cc: Likewise.
3081 * testsuite/27_io/fstream_members.cc: Likewise.
3082 * testsuite/27_io/ifstream_members.cc: Likewise.
3083 * testsuite/27_io/ios_base_callbacks.cc: Likewise.
3084 * testsuite/27_io/ios_base_members_static.cc: Likewise.
3085 * testsuite/27_io/ios_base_storage.cc: Likewise.
3086 * testsuite/27_io/ios_ctor.cc: Likewise.
3087 * testsuite/27_io/ios_init.cc: Likewise.
3088 * testsuite/27_io/ios_manip_basefield.cc: Likewise.
3089 * testsuite/27_io/ios_manip_fmtflags.cc: Likewise.
3090 * testsuite/27_io/ios_members.cc: Likewise.
3091 * testsuite/27_io/istream_extractor_arith.cc: Likewise.
3092 * testsuite/27_io/istream_extractor_char.cc: Likewise.
3093 * testsuite/27_io/istream_extractor_other.cc: Likewise.
3094 * testsuite/27_io/istream_manip.cc: Likewise.
3095 * testsuite/27_io/istream_seeks.cc: Likewise.
3096 * testsuite/27_io/istream_sentry.cc: Likewise.
3097 * testsuite/27_io/istream_unformatted.cc: Likewise.
3098 * testsuite/27_io/istringstream_members.cc: Likewise.
3099 * testsuite/27_io/narrow_stream_objects.cc: Likewise.
3100 * testsuite/27_io/ofstream_members.cc: Likewise.
3101 * testsuite/27_io/ostream_inserter_arith.cc: Likewise.
3102 * testsuite/27_io/ostream_inserter_char.cc: Likewise.
3103 * testsuite/27_io/ostream_inserter_other.cc: Likewise.
3104 * testsuite/27_io/ostream_manip.cc: Likewise.
3105 * testsuite/27_io/ostream_seeks.cc: Likewise.
3106 * testsuite/27_io/ostream_unformatted.cc: Likewise.
3107 * testsuite/27_io/ostringstream_members.cc: Likewise.
3108 * testsuite/27_io/streambuf.cc: Likewise.
3109 * testsuite/27_io/stringbuf.cc: Likewise.
3110 * testsuite/27_io/stringbuf_virtuals.cc: Likewise.
3111 * testsuite/27_io/stringstream.cc: Likewise.
3112 * testsuite/27_io/stringstream_members.cc: Likewise.
3113 * testsuite/27_io/wide_stream_objects.cc: Likewise.
3115 2001-07-31 Loren J. Rittle <ljrittle@acm.org>
3117 * src/gen-num-limits.cc: Use __LONG_LONG_MAX__.
3119 2001-07-30 Benjamin Kosnik <bkoz@redhat.com>
3121 * configure.target: Remove mips from cpu table.
3122 * config/cpu/mips/bits/atomicity.h: Remove generic
3123 versions. Comment sgidefs include.
3125 2001-07-25 H.J. Lu <hjl@gnu.org>
3127 * configure.target (cpu_include_dir): Set to `config/cpu/mips'
3130 * config/cpu/mips/bits/atomicity.h: New.
3132 2001-07-25 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
3134 * acinclude.m4: CHECK_MATH_DECL_AND_LINKAGE for hypot, hypotf,
3135 hypotl, atan2f, atan2l. Remove from REPLACE_MATHFUNCS list.
3136 * aclocal.m4: Regenerate.
3137 * config.h.in: Likewise.
3138 * configure: Likewise.
3139 * libmath/Makefile.am (EXTRA_LONG_DOUBLE_yes): Remove hypotl.c
3140 (EXTRA_DIST): Remove hypot.c hypotf.c.
3141 * libmath/Makefile.am: Regenerate.
3142 * libmath/hypotf.c: Remove.
3143 * libmath/hypot.c: Likewise.
3144 * libmath/hypotl.c: Likewise.
3145 * libmath/stubs.c: The macros seen here are HAVE_xxx, not
3146 _GLIBCPP_HAVE_xxx. Add long double versions.
3148 2001-07-23 David Edelsohn <edelsohn@gnu.org>
3150 * include/bits/limits_generic.h (int): Set digits and digits10
3151 appropriately for word size.
3152 (unsigned int,long,unsigned long): Likewise.
3154 2001-07-19 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
3156 * include/bits/stl_algo.h : Fix typos.
3157 * testsuite/25_algorithms/unique.cc: New file.
3159 2001-07-19 Phil Edwards <pme@sources.redhat.com>
3160 Mark Mitchell <mark@codesourcery.com>
3162 Merge from cp-parser-branch.
3163 * include/bits/basic_string.h: Qualify symbols with 'template'.
3164 * include/bits/basic_string.tcc: Likewise.
3165 * include/bits/fstream.tcc: Likewise.
3166 * include/bits/istream.tcc: Likewise.
3167 * include/bits/sstream.tcc: Likewise.
3168 * include/bits/std_istream.h: Likewise.
3169 * include/bits/stl_iterator.h: Likewise.
3170 * include/bits/streambuf.tcc: Likewise.
3171 * src/gen-num-limits.cc: Add 'template<>' to specializations.
3172 * src/locale.cc: Likewise.
3174 2001-07-19 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
3175 Bert De Knuydt <Bert.Deknuydt@esat.kuleuven.ac.be>
3177 * src/gen-num-limits.cc (set_signals_handler): New function.
3178 Factor out signals setting. Set signal handler for SIGILL.
3180 2001-07-18 Phil Edwards <pme@sources.redhat.com>
3182 * docs/html/27_io/howto.html: Fix typo.
3183 * docs/html/faq/index.html: Minor updates for 3.0 all around.
3184 * docs/html/faq/index.txt: Regenerated.
3186 2001-07-18 Stephen M. Webb <stephen@bregmasoft..com>
3187 Roman Sulzhyk <roman_sulzhyk@yahoo.com>
3190 * include/bits/ostream.tcc (ostream::put): Fixed error condition check.
3191 * testsuite/27_io/streambuf.cc (test07): Added new regression test.
3193 2001-07-17 Stephen M. Webb <stephen@bregmasoft.com>r
3195 All occurrences of the __value_type() and __distance_type()
3196 functions, which were required to support the HP STL, have been
3197 removed along with all the auxiliary forwarding functions that
3198 were required to support their use.
3200 The __iterator_category() function was pretty much left alone
3201 because there was no benefit to removing it and its use made code
3202 just a little more readable.
3204 Incidences of distance() with nonstandard argument list were
3205 replaced by calls to the standard function (only in the files
3206 affected by the removal of the other HP functions).
3208 The signature of the rotate() algorithm was changed to match the
3211 Headers were reformatted under C++STYLE guidelines (indentation,
3212 linebreaks, typename keyword).
3214 * include/bits/stl_algo.h: replaced __value_type() and
3215 __distance_type() with iterator_traits, eliminated auxiliary
3216 support functions required to support said function usage.
3217 Changed nonstandard distance() call to standard call.
3219 * include/bits/stl_algobase.h: Same.
3220 * include/bits/stl_heap.h: Same.
3221 * include/bits/stl_numeric.h: Same.
3222 * include/bits/stl_uninitialized.h: Same.
3223 * include/bits/stl_iterator_base_types.h (__value_type()):
3225 (__distance_type()): Removed.
3226 (value_type()): Gone.
3227 (distance_type()): Done in.
3228 (iterator_category()): Hasta la vista, baby.
3230 * include/bits/stl_iterator_base_funcs.h (iterator_category()):
3231 Replaced with __iterator_category().
3232 * include/backward/iterator.h: moved definition of value_type(),
3233 distance_type(), and iterator_category() out of std:: and into
3235 * testsuite/23_containers/vector_ctor.cc (test03): New testcases.
3236 * testsuite/23_containers/vector_modifiers.cc (test03): New testcases.
3237 * testsuite/25_algorithms/rotate.cc: New testcase.
3238 * testsuite/25_algorithms/copy.cc: New testcase.
3239 * testsuite/25_algorithms/sort.cc: Same.
3240 * testsuite/25_algorithms/heap.cc: Same.
3241 * testsuite/25_algorithms/partition.cc: Same.
3242 * testsuite/25_algorithms/binary_search.cc: Same.
3243 * testsuite/26_numerics/sum_diff.cc: Ditto.
3245 001-07-17 Benjamin Kosnik <bkoz@redhat.com>
3247 * testsuite/README: Add notes on naming test cases.
3248 * testsuite/22_locale/members.cc: Mark as xfail.
3249 * testsuite/22_locale/numpunct_char_members.cc: Same.
3251 2001-07-16 Stephen M. Webb <stephen@bregmasoft.com>
3253 * acinclude.m4 (GLIBCPP_ENABLE_CHEADERS): Use glibcpp_srcdir when
3254 setting C_INCLUDE_DIR.
3255 * configure.in: Revert yesterday's LN_S change.
3256 * aclocal.m4: Regenerate.
3257 * configure: Regenerate.
3259 2001-07-15 Phil Edwards <pme@sources.redhat.com>
3261 * configure.in: Temporarily force LN_S to copy instead of symlink.
3262 * configure: Regenerate.
3264 2001-07-13 Phil Edwards <pme@sources.redhat.com>
3266 * include/bits/std_sstream.h (basic_stringbuf::basic_stringbuf(string):
3267 Initialize _M_string with pointer-and-size constructor, not just
3268 pointer. Fix some comments.
3269 * testsuite/21_strings/ctor_copy_dtor.cc (test03): New test.
3270 * testsuite/27_io/stringbuf.cc (test02): Remove unused variable.
3271 (test03): Add embedded-NUL tests.
3273 * mkcheck.in: When printing totals, match the order of the tests.
3274 * include/bits/stringfwd.h: Use same declaration keywords.
3275 * include/bits/std_iosfwd.h: Cosmetic spacing.
3277 2001-07-13 Stephen M. Webb <stephen@bregmasoft.com>
3278 Loren J. Rittle <ljrittle@acm.org>
3279 Phil Edwards <pme@sources.redhat.com>
3281 * include/Makefile.am: New file encapsulating header generation rules.
3282 * Makefile.am (SUBDIRS): Prepend 'include' directory.
3283 * acinclude.m4: Moved/removed rules for building various headers.
3284 * configure.in (AC_OUTPUT): Add include/Makefile.
3285 * mkc++config: Removed.
3287 * testsuite_flags.in: Changed build-includes to match new scheme.
3288 * mknumeric_limits: Likewise.
3289 * libio/Makefile.am: Changed INCLUDES to maatch new header scheme.
3290 * libmath/Makefile.am: Likewise.
3291 * libsupc++/Makefile.am: Likewise.
3292 * src/Makefile.am: Likewise; removed rules to build headers.
3293 * libmath/mathconf.h: Changed #include'd header names to match.
3294 * libmath/stubs.c: Likewise.