1 2002-01-22 Benjamin Kosnik <bkoz@redhat.com>
3 * config/os/aix/bits/ctype_noninline.h: Fix formatting.
4 * config/os/bsd/netbsd/bits/ctype_noninline.h: Fix typo.
5 * config/os/bsd/freebsd/bits/ctype_noninline.h: Fix formatting.
7 2002-01-20 Benjamin Kosnik <bkoz@redhat.com>
9 * include/bits/locale_facets.h (ctype<char>::classic_table):
11 (ctype<char>::_S_ctable): Remove.
12 * config/os/gnu-linux/bits/ctype_noninline.h
13 (ctype<char>::_S_table): Remove definition.
14 (ctype<char>::classic_table): Define.
15 (ctype<char>::ctype): Replace _S_ctable with classic_table().
16 * config/os/aix/bits/ctype_noninline.h: Same.
17 * config/os/bsd/freebsd/bits/ctype_noninline.h: Same.
18 * config/os/bsd/netbsd/bits/ctype_noninline.h: Same.
19 * config/os/djgpp/bits/ctype_noninline.h: Same.
20 * config/os/generic/bits/ctype_noninline.h: Same.
21 * config/os/gnu-linux/bits/ctype_noninline.h: Same.
22 * config/os/hpux/bits/ctype_noninline.h: Same.
23 * config/os/irix/irix5.2/bits/ctype_noninline.h: Same.
24 * config/os/irix/irix6.5/bits/ctype_noninline.h: Same.
25 * config/os/mingw32/bits/ctype_noninline.h: Same.
26 * config/os/newlib/bits/ctype_noninline.h: Same.
27 * config/os/solaris/solaris2.5/bits/ctype_noninline.h: Same.
28 * config/os/solaris/solaris2.6/bits/ctype_noninline.h: Same.
29 * config/os/solaris/solaris2.7/bits/ctype_noninline.h: Same.
31 2002-01-20 Danny Smith <dannysmith@users.sourceforge.net>
33 * config/os/mingw32/bits/ctype_noninline.h: Declare _ctype instead
34 of _pctype. Use to define _S_ctable. Add definition for alternate
35 ctor. Initialise _M_ctable to _S_ctable in ctors.
36 (do_toupper, do_tolower): Use inline code appropriate for C-locale
37 rather than ::toupper, ::tolower.
39 2002-01-18 Loren Rittle <ljrittle@acm.org>
41 * testsuite/18_support/numeric_limits.cc (test_extrema<long double>):
42 Add specialization for FreeBSD systems only to avoid losing test
43 only due to extra precision unmentioned in system headers.
45 2002-01-18 David Billinghurst <David.Billinghurst@riotinto.com>
47 * config/os/irix/irix6.5/bits/ctype_noninline.h: Fix typo
49 2002-01-17 Nick Clifton <nickc@cambridge.redhat.com>
51 * testsuite/testsuite_hooks.h: Fix comment typo. Memory
52 limiting is only attempted if _GLIBCPP_MEM_LIMIT is defined.
54 2002-01-17 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
56 * testsuite/22_locale/ctor_copy_dtor.cc: Remove check.
58 2002-01-17 David Edelsohn <edelsohn@gnu.org>
60 * configure.target: Define OPT_LDFLAGS for AIX case.
62 2002-01-17 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
64 * include/std/std_limits.h (__glibcpp_float_has_quiet_NaN,
65 __glibcpp_double_has_quiet_NaN): Correct mispelling.
67 2002-01-17 Andreas Tobler <toa@pop.agri.ch>
69 * config/os/solaris/solaris2.6/bits/ctype_noninline.h: Fix.
71 2002-01-16 David Edelsohn <dje@watson.ibm.com>
73 * acinclude.m4 (GLIBCPP_CHECK_LINKER_FEATURES): Do not clear
74 SECTION_LDFLAGS and OPT_LDFLAGS. Fix ac_sectionLDflags type.
75 * aclocal.m4: Regenerate.
76 * configure: Regenerate.
78 2002-01-16 Benjamin Kosnik <bkoz@redhat.com>
80 * include/Makefile.am (c_base_headers_rename): New.
81 (c_base_headers_extra): New.
82 (stamp-c_base): Modify.
83 (install-data-local): Use both.
84 * include/Makefile.in: Regenerate.
85 * include/c/[cctype ciso646 cmath cstdarg cstdlib cerrno climits
86 csetjmp cstddef cstring cwchar cassert cfloat clocale csignal
87 cstdio ctime cwctype]: Move to..
88 * include/c/std_*: Here.
89 * include/c_std/[cctype ciso646 cmath cstdarg cstdlib cerrno climits
90 csetjmp cstddef cstring cwchar cassert cfloat clocale csignal
91 cstdio ctime cwctype]: Move to..
92 * include/c_std/std_*: Here.
94 Alexandre Oliva <aoliva@redhat.com>
95 * include/Makefile.am (.PRECIOUS): Add rule.
96 * include/Makefile.in: Regenerate.
98 2002-01-16 Benjamin Kosnik <bkoz@redhat.com>
99 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
101 * include/bits/stl_iterator.h (reverse_iterator::_M_current):
102 Deuglify, should be current.
103 (back_insert_iterator::_M_container): Deuglify, should be container.
104 (front_insert_iterator::_M_container): Same.
105 (insert_iterator::_M_container): Same.
106 * testsuite/24_iterators/reverse_iterator.cc: Add check.
107 * testsuite/24_iterators/back_insert_iterator.cc: Add check.
108 * testsuite/24_iterators/front_insert_iterator.cc: Same.
109 * testsuite/24_iterators/insert_iterator.cc: Same.
111 2002-01-16 Benjamin Kosnik <bkoz@redhat.com>
113 * include/bits/locale_facets.h (ctype<char>::classic_table): Make
115 (ctype<char>::_M_ctable): Make static, change name to _S_ctable.
116 * config/os/gnu-linux/bits/ctype_noninline.h: Define _S_ctable.
117 * config/os/solaris/solaris2.7/bits/ctype_noninline.h: Same.
118 * config/os/solaris/solaris2.6/bits/ctype_noninline.h: Same.
119 * config/os/solaris/solaris2.5/bits/ctype_noninline.h: Same.
120 * config/os/newlib/bits/ctype_noninline.h: Same.
121 * config/os/irix/irix6.5/bits/ctype_noninline.h: Same.
122 * config/os/irix/irix5.2/bits/ctype_noninline.h: Same.
123 * config/os/hpux/bits/ctype_noninline.h: Same.
124 * config/os/djgpp/bits/ctype_noninline.h: Same.
125 * config/os/bsd/netbsd/bits/ctype_noninline.h: Same.
126 * config/os/bsd/freebsd/bits/ctype_noninline.h: Same.
127 * config/os/aix/bits/ctype_noninline.h: Same.
129 Testcase by Dietmar Kühl via Peter Schmid
130 * testsuite/22_locale/ctype_members_char.cc (char>): Add test for
133 2002-01-16 Benjamin Kosnik <bkoz@redhat.com>
135 * libmath/signbitl.c: Copyright years as list, not range.
136 * libmath/Makefile.am: Same.
137 * libmath/Makefie.in: Regenerate.
138 * libmath/signbit.c: Same.
139 * libmath/nan.c: Same.
140 * libmath/copysignf.c: Same.
141 * libmath/signbitf.c: Same.
142 * testsuite/22_locale/money_get_members_char.cc: Same.
143 * testsuite/22_locale/money_get_members_wchar_t.cc: Same.
144 * testsuite/22_locale/money_put_members_char.cc: Same.
145 * testsuite/22_locale/money_put_members_wchar_t.cc: Same.
146 * testsuite/22_locale/time_get_members_char.cc: Same.
147 * testsuite/22_locale/time_get_members_wchar_t.cc: Same.
148 * testsuite/22_locale/time_put_members_char.cc: Same.
149 * testsuite/22_locale/time_put_members_wchar_t.cc: Same.
150 * testsuite/21_strings/nonmember.cc: Same.
151 * testsuite/21_strings/compare.cc: Same.
152 * testsuite/27_io/stringstream.cc: Same.
153 * testsuite/27_io/stringbuf.cc: Same.
154 * testsuite/27_io/filebuf.cc: Same.
155 * testsuite/27_io/ios_manip_basefield.cc: Same.
156 * testsuite/27_io/ios_manip_fmtflags.cc: Same.
157 * include/bits/cpp_type_traits.h: Same.
158 * include/bits/generic_shadow.h: Same.
159 * include/bits/gslice_array.h: Same.
160 * include/bits/gslice.h: Same.
161 * include/bits/indirect_array.h: Same.
162 * include/bits/slice_array.h: Same.
163 * include/bits/sstream.tcc: Same.
164 * include/bits/streambuf_iterator.h: Same.
165 * include/bits/valarray_array.tcc: Same.
166 * include/bits/valarray_meta.h: Same.
167 * include/bits/valarray_array.h: Same.
168 * config/os/mingw32/bits/ctype_noninline.h: Same.
169 * config/os/mingw32/bits/ctype_base.h: Same.
170 * config/os/hpux/bits/ctype_noninline.h: Same.
171 * config/os/hpux/bits/ctype_base.h: Same.
172 * config/os/gnu-linux/bits/ctype_noninline.h: Same.
173 * config/os/gnu-linux/bits/ctype_base.h: Same.
174 * config/os/generic/bits/ctype_noninline.h: Same.
175 * config/os/generic/bits/ctype_base.h: Same.
177 * libsupc++/tinfo.h: Tweaks.
179 2002-01-15 Benjamin Kosnik <bkoz@redhat.com>
181 * testsuite/22_locale/num_put_members_wchar_t.cc (test02): Same.
182 * testsuite/22_locale/num_put_members_char.cc (test01): Tweak.
183 * testsuite/22_locale/ctype_members_char.cc: Tweak.
185 2002-01-15 Benjamin Kosnik <bkoz@redhat.com>
187 * include/bits/locale_facets.tcc (num_put::do_put(bool): Fix.
188 (num_put::do_put(void*)): Fix.
189 * testsuite/22_locale/num_put_members_char.cc (test02): Add.
190 * testsuite/22_locale/num_put_members_wchar_t.cc (test02): Add.
191 * testsuite/22_locale/num_get_members_char.cc (test02): Add
192 long double, void, bool types.
193 * testsuite/22_locale/num_get_members_wchar_t.cc (test02): Add.
195 2002-01-15 Benjamin Kosnik <bkoz@redhat.com>
196 Alexandre Oliva <aoliva@redhat.com>
198 * libmath/Makefile.am (LINK): Add --tag CC.
199 * libmath/Makefile.in: Regenerate.
201 2002-01-15 John David Anglin <dave@hiauly1.hia.nrc.ca>
203 * config/os/hpux/bits/ctype_noninline.h: Use __SB_masks for address
204 of character to attribute mapping table.
206 2002-01-15 David Billinghurst <David.Billinghurst@riotinto.com>
208 * testsuite/26_numerics/c99_classification_macros_c.cc
209 Remove dg-error and dg-excess-errors comments.
211 2002-01-14 Benjamin Kosnik <bkoz@redhat.com>
213 * include/bits/locale_facets.tcc (time_put::put): Correct output
215 * testsuite/22_locale/time_put_members_char.cc (test02): Add.
216 * testsuite/22_locale/time_put_members_wchar_t.cc (test02): Add.
217 * testsuite/22_locale/time_get_members_wchar_t.cc (test06): Add.
218 * testsuite/22_locale/time_get_members_char.cc (test06): Add.
220 2002-01-14 Craig Rodrigues <rodrigc@gcc.gnu.org>
222 * docs/html/17_intro/porting-howto.xml: Update filebuf section.
224 2002-01-14 Paolo Carlini <pcarlini@unitus.it>
225 Nathan Myers <ncm@cantrip.org>
227 * include/bits/basic_string.h
228 (replace(__pos, __n1, __s, __n2)): Optimize by avoiding
229 temporaries (i.e., call _M_replace_safe) when possible.
230 (replace(__pos, __n, __str)): Call replace(__pos, __n1, __s, __n2).
231 (replace(__pos, __n1, __s)): Call replace(__pos, __n1, __s , __n2).
232 (replace(__i1, __i2, __str)): Call replace(__i1, __i2, __s, __n).
233 (replace(__i1, __i2, __s)): Call replace(__i1, __i2, __s, __n).
234 (replace(__i1, __i2, __s, __n)): Call replace(__pos1, __n1, __s, __n2).
235 * include/bits/basic_string.tcc
236 (replace(__pos1, __n1, __str, __pos2, __n2)): Call
237 replace(__pos, __n1, __s, __n2).
238 * testsuite/21_strings/replace.cc (test03): New testcases.
240 * include/bits/basic_string.h (insert(__pos, __s, __n)):
241 Adjust comparison wrt overflow.
243 2002-01-12 Benjamin Kosnik <bkoz@redhat.com>
245 * include/Makefile.am (std_headers_rename): New variable.
246 (install-data-local): Use it.
247 * include/Makefile.in: Regenerate.
249 2002-01-12 Benjamin Kosnik <bkoz@redhat.com>
251 * include/bits/locale_facets.tcc (money_put::do_put(string):
252 Correct output iterator value.
253 * testsuite/22_locale/money_put_members_char.cc (test03): Add.
254 * testsuite/22_locale/money_put_members_wchar_t.cc: Same.
256 2002-01-11 Phil Edwards <pme@gcc.gnu.org>
258 * include/Makefile.am, include/Makefile.in (stamp-std): Fix typo from
261 2002-01-11 Phil Edwards <pme@gcc.gnu.org>
263 * include/Makefile.am (std_headers): Update list with new names.
264 (stamp-std): Link to standardized name.
265 * include/Makefile.in: Regenerate.
267 * include/std/algorithm, include/std/bitset, include/std/complex,
268 include/std/deque, include/std/fstream, include/std/functional,
269 include/std/iomanip, include/std/ios, include/std/iosfwd,
270 include/std/iostream, include/std/istream, include/std/iterator,
271 include/std/limits, include/std/list, include/std/locale,
272 include/std/map, include/std/memory, include/std/numeric,
273 include/std/ostream, include/std/queue, include/std/set,
274 include/std/sstream, include/std/stack, include/std/stdexcept,
275 include/std/streambuf, include/std/string, include/std/utility,
276 include/std/valarray, include/std/vector: Rename to...
278 * include/std/std_algorithm.h, include/std/std_bitset.h,
279 include/std/std_complex.h, include/std/std_deque.h,
280 include/std/std_fstream.h, include/std/std_functional.h,
281 include/std/std_iomanip.h, include/std/std_ios.h,
282 include/std/std_iosfwd.h, include/std/std_iostream.h,
283 include/std/std_istream.h, include/std/std_iterator.h,
284 include/std/std_limits.h, include/std/std_list.h,
285 include/std/std_locale.h, include/std/std_map.h,
286 include/std/std_memory.h, include/std/std_numeric.h,
287 include/std/std_ostream.h, include/std/std_queue.h,
288 include/std/std_set.h, include/std/std_sstream.h,
289 include/std/std_stack.h, include/std/std_stdexcept.h,
290 include/std/std_streambuf.h, include/std/std_string.h,
291 include/std/std_utility.h, include/std/std_valarray.h,
292 include/std/std_vector.h: ...this.
294 2002-01-11 Loren Rittle <ljrittle@acm.org>
296 * include/Makefile.am (extra_target_headers): New list of all
297 target files built with ad hoc naming rules.
298 (stamp-*): Handle LN_S failure in manner portable across make
300 (install-data-local): Install header files from human-maintained
301 file lists and directory components instead of non-robust find.
302 * include/Makefile.in: Rebuilt.
304 2002-01-11 Benjamin Kosnik <bkoz@redhat.com>
306 * include/bits/locale_facets.tcc (money_get::do_get(string)):
307 Check for zero-length negative sign before adding it to output
309 (money_get::do_get(long double)): Return beg.
310 * testsuite/22_locale/money_get_members_char.cc (test02): Add
312 * testsuite/22_locale/money_get_members_wchar_t.cc: Same.
314 2002-01-10 David Seymour <seymour_dj@yahoo.com>
317 * include/bits/locale_facets.h (num_get<>): Return advanced iterator
318 for _M_extract_float and _M_extract_int
319 * include/bits/locale_facets.tcc (num_get<>::_M_extract_float)
320 (num_get<>::_M_extract_int): Likewise, all callers changed
321 * testsuite/22_locale/num_get_members_char.cc: Testcase
323 2002-01-09 Paolo Carlini <pcarlini@unitus.it>
325 * libsupc++/exception (bad_exception): Add comment.
326 * libsupc++/new (bad_alloc): Same.
327 * libsupc++/typeinfo (bad_cast, bad_typeid): Same.
329 2002-01-09 Paolo Carlini <pcarlini@unitus.it>
331 libstdc++/3150: revert 2001-11-30 commit. DR266 only means
332 that the destructors should be removed from the descriptions
333 in the standard: writing them explicitly allows the vtable
334 heuristic to work. For additional information see:
335 http://gcc.gnu.org/ml/libstdc++/2002-01/msg00090.html
336 http://gcc.gnu.org/ml/libstdc++/2002-01/msg00110.html
337 http://gcc.gnu.org/ml/libstdc++/2002-01/msg00155.html
338 * libsupc++/exception (bad_exception::~bad_exception()):
339 Reintroduce declaration.
340 * libsupc++/new (bad_alloc::~bad_alloc()): Same.
341 * libsupc++/typeinfo (bad_cast::~bad_cast()): Same.
342 (bad_typeid::~bad_typeid()): Same.
343 * libsupc++/eh_exception.cc (bad_exception::~bad_exception()):
344 Reintroduce definition.
345 * libsupc++/new_handler.cc (bad_alloc::~bad_alloc()): Same.
346 * libsupc++/tinfo.cc (bad_cast::~bad_cast()): Same.
347 (bad_typeid::~bad_typeid()): Same.
349 2002-01-09 Benjamin Kosnik <bkoz@redhat.com>
351 * include/Makefile.am (c_base_srcdir): Remove duplicate '/'.
352 * include/Makefile.in: Regenerate.
354 2002-01-09 Bo Thorsen <bo@suse.co.uk>
356 * config/cpu/x86-64/bits/cpu_limits.h (__glibcpp_long_bits): Add
359 2002-01-08 Benjamin Kosnik <bkoz@redhat.com>
363 * include/bits/fstream.tcc (filebuf::_M_really_overflow): Test
364 return value of _M_file->sync().
365 (filebuf::showmanyc): Check for is_open.
366 * include/std/fstream (filebuf::sync): Tweak.
367 * testsuite/27_io/filebuf.cc: Tweak.
369 2002-01-08 John Fardo <jfardo@laurelnetworks.com>
370 Brad Garcia <garsh@attbi.com>
372 * testsuite/27_io/filebuf_members.cc: Add test.
374 2002-01-07 Benjamin Kosnik <bkoz@redhat.com>
375 Craig Rodrigues <rodrigc@mediaone.net>
378 * po/Makefile.am (mkinstalldirs): Add.
379 * po/Makefile.in: Regenerate.
381 2002-01-07 David Billinghurst <David.Billinghurst@riotinto.com>
383 * testsuite_flags.in: Add -fmessage-length=0 to CXXFLAGS *
384 testsuite/lib/prune.exp: Delete lines ":In function ..." from
386 * testsuite/23_containers/map_operators.cc: Remove
387 dg-excess-errors comment.
388 * testsuite/23_containers/set_operators.cc: Likewise.
390 2002-01-06 Paolo Carlini <pcarlini@unitus.it>
392 * include/bits/stl_function.h: Remove two lines of comments;
393 adjust copyright years.
395 2002-01-04 Benjamin Kosnik <bkoz@redhat.com>
397 * include/Makefile.am (std_headers): Remove cXXX from list.
398 (c_base_srcdir): No bits subdirectory.
399 (c_base_builddir): Same.
400 (c_base_headers): Adjust names, add ciso646.
401 (bits_headers): Remove std_xxx.h headers.
402 * include/Makefile.in: Regenerate.
404 * include/ext/iterator: Adjust includes.
405 * include/ext/ropeimpl.h: Same.
406 * include/ext/stl_hash_fun.h: Same.
407 * include/ext/algorithm: Same.
409 * include/backward/bvector.h: Adjust includes.
410 * include/backward/vector.h: Same.
411 * include/backward/strstream: Same.
412 * include/backward/streambuf.h: Same.
413 * include/backward/stack.h: Same.
414 * include/backward/set.h: Same.
415 * include/backward/queue.h: Same.
416 * include/backward/multiset.h: Same.
417 * include/backward/multimap.h: Same.
418 * include/backward/map.h: Same.
419 * include/backward/list.h: Same.
420 * include/backward/iterator.h: Same.
421 * include/backward/iostream.h: Same.
422 * include/backward/iomanip.h: Same.
423 * include/backward/fstream.h: Same.
424 * include/backward/deque.h: Same.
425 * include/backward/complex.h: Same.
427 * include/bits/std_algorithm.h: Move to...
428 * include/std/algorithm: ...here.
429 * include/bits/std_iosfwd.h, std_locale.h, std_stack.h,
430 std_bitset.h, std_ios.h, std_map.h, std_stdexcept.h,
431 std_complex.h, std_iostream.h, std_memory.h, std_streambuf.h,
432 std_deque.h, std_istream.h, std_numeric.h, std_string.h,
433 std_fstream.h, std_ostream.h, std_utility.h, std_iterator.h,
434 std_queue.h, std_valarray.h, std_functional.h, std_limits.h,
435 std_set.h, std_vector.h, std_iomanip.h, std_list.h, std_sstream.h:
438 * include/c_std/bits/std_cassert.h: Move to...
439 * include/c_std/cassert: Here.
440 * include/c_std/std_cctype.h, std_cerrno.h, std_cfloat.h,
441 std_climits.h, std_clocale.h, std_cmath.h, std_csetjmp.h,
442 std_csignal.h, std_cstdarg.h, std_cstddef.h, std_cstdio.h,
443 std_cstdlib.h, std_cstring.h, std_ctime.h, std_cwchar.h,
445 * include/c_std/cmath: Adjust cmath.tcc include.
446 * include/c_std/cstdlib: Adjust includes.
447 * include/c_std/cwchar: Same.
448 * include/c_std/ctime: Same.
449 * include/c_std/cstring: Same.
450 * include/c_std/cstdio: Same.
451 * include/c_std/bits: Remove directory.
453 * include/c/bits/std_cassert.h: Move to...
454 * include/c/cassert: Here.
455 * include/c/std_cctype.h, std_cerrno.h, std_cfloat.h,
456 std_climits.h, std_clocale.h, std_cmath.h, std_csetjmp.h,
457 std_csignal.h, std_cstdarg.h, std_cstddef.h, std_cstdio.h,
458 std_cstdlib.h, std_cstring.h, std_ctime.h, std_cwchar.h,
460 * include/c/bits: Remove directory.
462 * include/std/cwctype: Remove.
463 * include/std/cwchar: Remove.
464 * include/std/ctime: Remove.
465 * include/std/cstring: Remove.
466 * include/std/cstdlib: Remove.
467 * include/std/cstdio: Remove.
468 * include/std/cstddef: Remove.
469 * include/std/cstdarg: Remove.
470 * include/std/csignal: Remove.
471 * include/std/csetjmp: Remove.
472 * include/std/cmath: Remove.
473 * include/std/clocale: Remove.
474 * include/std/climits: Remove.
475 * include/std/ciso646: Remove.
476 * include/std/cfloat: Remove.
477 * include/std/cerrno: Remove.
478 * include/std/cctype: Remove.
479 * include/std/cassert: Remove.
481 * include/bits/fpos.h: Adjust includes, removing <bits/std_xxx.h>
482 files and subsituting <.xxx>
483 * include/bits/valarray_array.h: Same.
484 * include/bits/stl_uninitialized.h: Same.
485 * include/bits/stl_alloc.h: Same.
486 * include/bits/stl_algobase.h: Same.
487 * include/bits/sstream.tcc: Same.
488 * include/bits/pthread_allocimpl.h: Same.
489 * include/bits/ostream.tcc: Same.
490 * include/bits/localefwd.h: Same.
491 * include/bits/locale_facets.tcc: Same.
492 * include/bits/locale_facets.h: Same.
493 * include/bits/istream.tcc: Same.
494 * include/bits/char_traits.h: Same.
495 * include/bits/boost_concept_check.h: Same.
496 * include/bits/basic_file.h: Same.
497 * include/std/bitset: Same.
498 * include/std/complex: Same.
499 * include/std/fstream: Same.
500 * include/std/functional: Same.
501 * include/std/ios: Same.
502 * include/std/iostream: Same.
503 * include/std/ostream: Same.
504 * include/std/sstream: Same.
505 * include/std/streambuf: Same.
506 * include/std/string: Same.
507 * include/std/iterator: Same.
508 * include/std/valarray: Same.
510 * src/ios.cc: Adjust includes.
511 * src/valarray-inst.cc: Same.
512 * src/string-inst.cc: Same.
513 * src/stl-inst.cc: Same.
514 * src/stdexcept.cc: Same.
515 * src/misc-inst.cc: Same.
516 * src/localename.cc: Same.
517 * src/locale-inst.cc: Same.
518 * src/locale.cc: Same.
519 * src/limits.cc: Same.
520 * src/concept-inst.cc: Same.
521 * src/complex_io.cc: Same.
522 * src/codecvt.cc: Same.
523 * src/bitset.cc: Same.
524 * src/cmath.cc: Same.
526 2002-01-04 Paolo Carlini <pcarlini@unitus.it>
528 * include/bits/stl_tree.h (rb_tree): Move to...
529 * include/ext/rb_tree: ...here, new file.
530 * include/Makefile.am (ext_headers): Add new file.
531 * include/Makefile.in: Regenerate.
532 * include/bits/stl_tempbuf.h (get_temporary_buffer + helper,
533 return_temporary_buffer, struct temporary_buffer): Move to...
534 * include/ext/memory: ...here.
535 * testsuite/ext/headers.cc: Include <ext/rb_tree>.
536 * include/backward/tempbuf.h: Include <ext/memory>, tweak.
537 * include/backward/tree.h: Include <ext/rb_tree), tweak.
539 2002-01-03 Paolo Carlini <pcarlini@unitus.it>
541 * include/bits/stl_numeric.h (power + helpers, iota): Move to...
542 * include/ext/numeric: ...here, new file.
543 * include/bits/stl_function.h (identity_element, unary_compose,
544 binary_compose, compose1, compose2, identity, select1st,
545 select2nd, project1st + helper, project2nd + helper,
546 constant_void_fun + helper, constant_unary_fun + helper,
547 costant_binary_fun + helper, constant0, constant1, constant2,
548 subtractive_rng, mem_fun1, mem_fun1_ref): Move to...
549 * include/ext/functional: ...here, new file.
550 * include/Makefile.am (ext_headers): Add new files.
551 * include/Makefile.in: Regenerate.
552 * testsuite/ext/headers.cc: Include <ext/numeric> and
554 * include/backward/algo.h: Include <ext/numeric>, tweak.
555 * include/backward/function.h: Include <ext/functional>, tweak.
556 * include/ext/ropeimpl.h: Include <ext/numeric>.
558 2002-01-03 Jeffrey A Law <law@redhat.com>
560 * config/os/hpux/bits/os_defines.h: Prefix __strtoll and
561 __strtoull declarations with __extension__.
563 2002-01-03 David Billinghurst <David.Billinghurst@riotinto.com>
565 * testsuite/lib/prune.exp: Correct regular expression for
568 2002-01-02 Phil Edwards <pme@gcc.gnu.org>
570 * include/bits/stl_algo.h (upper_bound, equal_range, binary_search):
571 Change concept checks, as with lower_bound and PR 2054.
572 * testsuite/ext/concept_checks.cc: Expand test to include those.
574 2002-01-02 Phil Edwards <pme@gcc.gnu.org>
576 * include/bits/boost_concept_check.h: Import some changes from
577 upsteam (Boost) version.
579 2002-01-02 Paolo Carlini <pcarlini@unitus.it>
581 * include/bits/stl_algobase.h (copy_n + helpers,
582 lexicographical_compare_3way + helpers): Move to...
583 * include/ext/algorithm: ...here.
584 * include/bits/stl_uninitialized.h (uninitialized_copy_n +
586 * include/ext/memory: ...here, new file.
587 * include/Makefile.am (ext_headers): Add new file.
588 * include/Makefile.in: Regenerate.
589 * testsuite/ext/headers.cc: Include <ext/memory>.
590 * include/backward/algobase.h: Include <ext/memory> and
591 <ext/algorithm>, tweak.
592 * include/ext/ropeimpl.h: Include <ext/memory>, tweak.
593 * include/ext/stl_rope.h: Include <ext/memory>, tweak.
595 2002-01-01 Roger Sayle <roger@eyesopen.com>
597 * libmath/stubs.c (sinf,cosf): Implement stubs to enable the
598 equivalent ___builtin__ versions.
600 * include/c_shadow/bits/std_cmath.h: All __builtin math functions
601 are available in libstdc++ as the necessary stub implementations
602 are provided by libmath/stubs.c.
604 2002-01-01 Jason Thorpe <thorpej@wasabisystems.com>
606 * configure.in: Add support for NetBSD cross compiles.
607 * configure: Regenerate.
609 2001-12-31 Paolo Carlini <pcarlini@unitus.it>
611 * include/ext/iterator: Add #include <bits/std_iterator.h>, tweak.
612 * testsuite/ext/headers.cc: Add <ext/iterator>.
614 2001-12-31 Paolo Carlini <pcarlini@unitus.it>
616 * include/backward/algo.h: Add two more using declarations.
617 * include/backward/iterator.h: Include <ext/iterator>,
618 add using declaration.
619 * include/ext/algorithm: Add #pragma GCC system_header.
621 2001-12-31 Phil Edwards <pme@gcc.gnu.org>
623 * include/bits/stl_bvector.h: Change calls to 3-argument distance()
624 into standard 2-argument version.
625 * include/bits/stl_deque.h: Likewise.
626 * include/bits/stl_tempbuf.h: Likewise.
627 * include/bits/stl_tree.h: Likewise.
628 * include/bits/stl_vector.h: Likewise.
629 * include/ext/stl_hashtable.h: Likewise.
630 * include/bits/stl_iterator_base_funcs.h: Move distance() extension...
631 * include/ext/iterator: to here. New file.
632 * include/Makefile.am (ext_headers): Add new file, alphabatize.
633 * include/Makefile.in: Regenerate.
635 2001-12-31 Phil Edwards <pme@gcc.gnu.org>
637 * include/bits/stl_deque.h: Doxygenate with initial/example hooks.
638 Clean up spacing and indentation.
640 2001-12-31 Paolo Carlini <pcarlini@unitus.it>
642 * include/ext/slist: Move into __gnu_cxx,
643 tweak, add using declarations.
645 2001-12-31 Paolo Carlini <pcarlini@unitus.it>
647 * include/ext/hash_map: Move into __gnu_cxx,
648 tweak, add using declarations.
649 * include/ext/hash_set: Ditto.
650 * include/ext/ropeimpl.h: Ditto.
651 * include/ext/stl_hash_fun.h: Ditto.
652 * include/ext/stl_hashtable.h: Ditto.
653 * include/ext/stl_rope.h: Ditto.
654 * src/ext-inst.cc: Tweak.
655 * testsuite/ext/rope.cc: Tweak.
657 2001-12-31 Paolo Carlini <pcarlini@unitus.it>
659 * include/backward/algo.h: Include <ext/algorithm>,
660 tweak using declarations.
662 2001-12-29 Richard Henderson <rth@redhat.com>
664 * config/os/hpux/bits/os_defines.h: Don't define __glibcpp_long_bits.
665 * config/os/hpux/bits/cpu_limits.h: New file.
666 * configure.target (CPULIMITSH): Use it.
668 2001-12-28 Richard Henderson <rth@redhat.com>
670 * config/cpu/ia64/bits/cpu_limits.h: New file.
671 * config/os/osf/osf5.0/bits/cpu_limits.h: New file.
672 * configure.target (CPULIMITSH): Use them.
674 2001-12-28 Phil Edwards <pme@gcc.gnu.org>
676 * include/bits/c++config: Move doxygen hook comment...
677 * docs/doxygen/doxygroups.cc: ...to here.
679 2001-12-28 Phil Edwards <pme@gcc.gnu.org>
682 * include/bits/stl_algo.h (lower_bound): Relax concept checks.
683 * testsuite/ext/concept_checks.cc: New file.
685 2001-12-28 Paolo Carlini <pcarlini@unitus.it>
687 * include/bits/stl_algo.h (count returning void,
688 count_if returning void, __random_sample, random_sample,
689 random_sample_n, __is_heap, is_heap, is_sorted): Move to...
690 * include/ext/algorithm: ...here, new file.
691 * include/Makefile.am (ext_headers): Add new file.
692 * include/Makefile.in: Regenerate.
693 * testsuite/ext/headers.cc: Include <ext/algorithm>.
695 2001-12-28 Paolo Carlini <pcarlini@unitus.it>
696 Nathan Myers <ncm@cantrip.org>
698 * include/bits/basic_string.h (insert(__pos, __s, __n)):
699 Optimize by avoiding temporaries and working in-place when possible.
700 (insert(__pos1, __str)): Call insert(__pos1, __str, __pos2, __n).
701 (insert(__pos1, __str, __pos2, __n)): Call insert(__pos, __s, __n).
702 * testsuite/21_strings/insert.cc (test02): New testcases.
704 2001-12-27 Phil Edwards <pme@gcc.gnu.org>
706 * testsuite/testsuite_hooks.h (gnu_counting_struct): Add.
707 * testsuite/23_containers/deque_ctor.cc: New file.
709 2001-12-27 Paolo Carlini <pcarlini@unitus.it>
711 * include/bits/locale_facets.tcc (collate::do_transform):
712 Adjust implicit typename.
713 * config/locale/messages_members_generic.h (messages::open,
714 messages::do_open, messages::do_get): Adjust implicit typename.
715 * config/locale/messages_members_gnu.h (messages::open,
716 messages::do_open, messages::do_get): Adjust Implicit typename.
717 * config/locale/messages_members_ieee_1003.1-200x.h (messages::open,
718 messages::do_open, messages::do_get): Adjust implicit typename.
720 2001-12-27 Phil Edwards <pme@gcc.gnu.org>
723 * src/misc-inst.cc: Many additional I/O-related instantiations.
724 * testsuite/27_io/instantiations.cc: New file.
726 2001-12-26 Benjamin Kosnik <bkoz@waller.constant.com>
728 * testsuite/24_iterators/insert_iterator.cc (test02): Add.
729 * testsuite/24_iterators/front_insert_iterator.cc (test02): Add.
730 * testsuite/24_iterators/back_insert_iterator.cc (test02): Add.
731 * testsuite/24_iterators/reverse_iterator.cc (test02): Add.
733 * include/bits/stl_iterator.h (reverse_iterator): Uglify member
734 current to _M_current.
735 (back_insert_iterator): Uglify member container to _M_container.
736 (front_insert_iterator): Same.
737 (insert_iterator): Same.
739 2001-12-25 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
741 * include/bits/std_limits.h (__glibcpp_xxx_is_modulo): New
742 macros for signed types; default value is true.
743 (numeric_limits<>::is_modulo): Get value from corresponding
744 __glibcpp_xxx_is_modulo macro.
746 2001-12-23 Jeffrey A Law <law@redhat.com>
748 * config/os/hpux/bits/os_defines.h: Do not include <_sys/inttypes.h>.
749 Twiddle return types for strtoll and strtoull to avoid using
750 intmax_t and uintmax-t.
752 2001-12-22 Richard Henderson <rth@redhat.com>
754 * configure.target (CPULIMITSH): Fix typo in alpha case.
756 2001-12-22 Jeffrey A Law <law@redhat.com>
758 * config/os/hpux/bits/os_defines.h: Update to avoid #defines
759 for strtoll and strtoull.
761 2001-12-21 Jeffrey A Law <law@redhat.com>
763 * config/os/hpux/bits/os_defines.h: Include <sys/_inttypes.h.
764 Define strtoll and strtoull. Provide prototypes for
765 __strtoll and __strtoull. Define _GLIBCPP_USE_LONG_LONG
768 * src/locale-inst.cc: Include <bits/std_cstdlib.h>
770 * configure.target: Fix typo in hpux case.
772 2001-12-21 Paolo Carlini <pcarlini@unitus.it>
774 * include/ext/stl_rope.h (_Rope_iterator):
775 Add local typedef to fix implicit typename problems.
777 2001-12-19 Phil Edwards <pme@gcc.gnu.org>
779 * docs/doxygen/Intro.3: New 'Allocators' module.
780 * docs/doxygen/TODO: Update.
781 * docs/doxygen/doxygroups.cc: Update.
782 * docs/doxygen/run_doxygen: Update.
784 * include/bits/stl_alloc.h: Tweak doxygen hooks in comments.
785 * include/bits/std_memory.h: Doxygenate.
786 * include/bits/stl_iterator_base_types.h: Likewise.
787 * include/bits/stl_raw_storage_iter.h: Likewise.
788 * include/bits/stl_tempbuf.h: Likewise.
789 (get_temporary_buffer): Remove unused nonstandard overload.
790 * include/bits/stl_uninitialized.h: Likewise.
792 * include/bits/stl_iterator_base_types.h (input_iterator,
793 output_iterator, forward_iterator, bidirectional_iterator,
794 random_access_iterator): Move old names...
795 * include/backward/iterator.h: ...to here.
796 * include/bits/stl_bvector.h: Update.
797 * include/ext/stl_rope.h: Update.
799 2001-12-19 Phil Edwards <pme@gcc.gnu.org>
801 * docs/html/configopts.html: Describe recent options.
802 * docs/html/documentation.html: Point to new doxygen tarballs.
803 * docs/html/install.html: Brief updates.
804 * docs/html/17_intro/RELEASE-NOTES: Remove weird control character.
805 * docs/html/ext/howto.html: Fix typos, describe filebuf::fd().
806 * docs/html/faq/index.html: Update for 3.0.95.
807 * docs/html/faq/index.txt: Regenerate.
809 2001-12-19 David Billinghurst <David.Billinghurst@riotinto.com>
812 * testsuite/lib/libstdc++-v3-dg.exp: Append .exe to
815 2001-12-18 Benjamin Kosnik <bkoz@redhat.com>
817 * docs/html/17_intro/TODO: Update.
818 * docs/html/17_intro/RELEASE-NOTES: Edits, update.
819 * README: Edit for clarity, update to reflect current directory
822 2001-12-18 Benjamin Kosnik <bkoz@redhat.com>
824 * acinclude.m4 (GLIBCPP_ENABLE_CLOCALE): Extended checking before
826 * aclocal.m4: Rebuild.
827 * configure: Rebuild.
829 2001-12-18 Paolo Carlini <pcarlini@unitus.it>
830 Nathan Myers <ncm@cantrip.org>
832 * include/bits/basic_string.h (assign(__str, __pos, __n)):
833 Call assign(__s, __n).
834 (assign(__s, __n)): Terminate the string with _S_terminal.
836 2001-12-17 Benjamin Kosnik <bkoz@redhat.com>
838 * include/bits/std_limits.h (__glibcpp_long_double_is_bounded):
839 Set to true, like float and double.
841 2001-12-17 David Billinghurst <David.Billinghurst@riotinto.com>
844 * testsuite/lib/prune.exp: New file
845 * testsuite/lib/libstdc++-v3-dg.exp: Use it
847 2001-12-17 Phil Edwards <pme@gcc.gnu.org>
849 * include/bits/basic_file.h (__basic_file::fd): New function.
850 * config/io/basic_file_stdio.h (__basic_file::fd): Define.
851 * include/bits/std_fstream.h (basic_filebuf::fd): New function.
852 * include/bits/fstream.tcc (basic_filebuf::fd): Define.
853 * testsuite/27_io/filebuf_members.cc (test_02): New test.
855 2001-12-16 Nathan Sidwell <nathan@codesourcery.com>
857 * po/Makefile.am (.po.mo): Use POSIXLY_CORRECT argument ordering.
858 * po/Makefile.in: Regenerated.
860 2001-12-16 Paolo Carlini <pcarlini@unitus.it>
862 * testsuite/21_strings/assign.cc (test01): Add tests.
864 2001-12-15 Paolo Carlini <pcarlini@unitus.it>
865 Nathan Myers <ncm@cantrip.org>
867 * include/bits/basic_string.h
868 (assign(__str, __pos, __n), assign(__s, __n)): Optimize
869 by avoiding unnecessary temporaries.
870 (assign(__s)): Call assign(__s, __n).
871 * include/bits/basic_string.tcc (_M_replace_safe): Adjust comment.
872 * include/bits/std_string.h: include stl_function.h.
873 * testsuite/21_strings/assign.cc (test02, test03): New tests.
875 2001-12-15 Benjamin Kosnik <bkoz@redhat.com>
877 * acinclude.m4 (GLIBCPP_ENABLE_CLOCALE): Enable gnu locale model
879 * aclocal.m4: Regenerate.
880 * configure: Regenerate.
882 2001-12-14 Benjamin Kosnik <bkoz@redhat.com>
884 Clean up initialization and simplfy caching of underlying "C"
885 default locale objects.
886 * src/localename.cc (locale::_Impl::_Impl(string, size_t):
887 Unconditionally create __clocale object for all named locales,
888 including "C" and "POSIX".
889 * config/locale/c_locale_generic.cc
890 (locale::facet::_S_create_c_locale): Always set __cloc to zero.
891 * config/locale/c_locale_gnu.cc: Always delete.
892 * include/bits/localefwd.h (locale::facet::_S_c_locale): New.
893 * src/locale.cc (locale::classic()): Initialize
894 locale::facet::_S_c_locale.
895 (locale::facet::_S_c_locale): Define.
897 * include/bits/locale_facets.h: Add ctype_byname<wchar_t> ctor
899 * src/locale.cc: Add definition here.
900 * config/os/gnu-linux/bits/ctype_inline.h: Tweak.
901 * config/os/gnu-linux/bits/ctype_noninline.h: Adjust initializations.
902 * include/bits/locale_facets.h (ctype<char>::_M_c_locale_ctype): Add.
904 (ctype<char>::_M_toupper): Remove const&.
905 (ctype<char>::_M_tolower): Remove const&.
906 (ctype<char>::_M_ctable): Remove const&.
908 * include/bits/locale_facets.h (collate): Clean up initialization
909 of _M_c_locale_collate in ctors and dtors.
910 * config/locale/collate_members_gnu.cc: Always use extended
913 * include/bits/locale_facets.h (messages): Clean up inits in ctor/dtor.
914 (messages_byname): Same.
915 * config/locale/messages_members_generic.h (messages::~messages):
917 * config/locale/messages_members_gnu.h: Same.
919 * include/bits/localefwd.h: Clean. Move dtor definitions to
920 * src/locale.cc: Here.
921 * testsuite/22_locale/facet.cc: Fix spelling.
923 Named locale support for ctype<wchar_t>.
924 * acinclude.m4 (GLIBCPP_ENABLE_CLOCALE): Add variable
925 ctype_members_* bits.
926 * aclocal.m4: Regenerate.
927 * configure: Regenerate.
928 * src/Makefile.am (sources): Add ctype.cc.
929 * src/Makefile.in: Regenerate.
930 * config/locale/ctype_members_generic.cc: New file.
931 * config/locale/ctype_members_gnu.cc: New file.
932 * src/locale.cc: Remove ctype<wchart_t> definitions.
934 2001-12-13 Roger Sayle <roger@eyesopen.com>
936 * acconfig.h: Test for __builtin_sqrt instead of
938 * acinclude.m4: Same.
939 * include/c_shadow/bits/std_cmath.h: Same.
940 * aclocal.m4: Regenerated.
941 * config.h.in: Regenerated.
942 * configure: Regenerated.
944 2001-12-13 Phil Edwards <pme@gcc.gnu.org>
946 * docs/html/ext/howto.html: Fix typos.
948 2001-12-13 Benjamin Kosnik <bkoz@redhat.com>
951 * src/locale.cc (locale::locale(const char*)): Deal with locales
953 * testsuite/22_locale/ctor_copy_dtor.cc (test01): Modify.
955 2001-12-12 Paolo Carlini <pcarlini@unitus.it>
957 * include/ext/ropeimpl.h (rope::_S_leaf_concat_char_iter,
958 _S_destr_leaf_concat_char_iter, _S_tree_concat, _S_concat_char_iter,
959 _S_destr_concat_char_iter, _S_concat, _S_substring, _S_balance)
960 : Adjust implicit typename.
961 * include/ext/stl_rope.h (_Rope_iterator::operator=, rope::npos):
962 Adjust implicit typename.
963 * testsuite/27_io/streambuf.cc: Adjust implicit typename.
965 2001-12-12 Benjamin Kosnik <bkoz@redhat.com>
967 Named locale support for ctype<char>.
968 * config/locale/c_locale_gnu.h (_GLIBCPP_C_LOCALE_GNU): New.
969 * config/os/gnu-linux/bits/ctype_noninline.h (ctype<char>): Add
970 definitions for alternate constructor.
971 * config/os/solaris/solaris2.7/bits/ctype_noninline.h (ctype): Same.
972 * config/os/solaris/solaris2.6/bits/ctype_noninline.h (ctype): Same.
973 * config/os/solaris/solaris2.5/bits/ctype_noninline.h (ctype): Same.
974 * config/os/newlib/bits/ctype_noninline.h (ctype): Same.
975 * config/os/irix/irix6.5/bits/ctype_noninline.h (ctype): Same.
976 * config/os/irix/irix5.2/bits/ctype_noninline.h (ctype): Same.
977 * config/os/hpux/bits/ctype_noninline.h (ctype): Same.
978 * config/os/generic/bits/ctype_noninline.h (ctype): Same.
979 * config/os/djgpp/bits/ctype_noninline.h (ctype): Same.
980 * config/os/bsd/netbsd/bits/ctype_noninline.h (ctype): Same.
981 * config/os/bsd/freebsd/bits/ctype_noninline.h (ctype): Same.
982 * config/os/aix/bits/ctype_noninline.h (ctype): Same.
983 * include/bits/locale_facets.h (ctype<_CharT>): Remove dummy
984 definitions for all virtual functions. These are now explicitly
985 undefined for non-required factets, ie any non-char, non-wchar_t
987 * src/localename.cc (locale::_Impl::_Impl(string, size_t): Named
988 locales use alternate constructor for ctype facet.
989 * include/bits/locale_facets.h (ctype<char>::ctype(__c_locale, const
990 mask*, bool, size_t): Add.
991 (ctype<wchar_t>::ctype(__c_locale, size_t): Add.
992 * src/locale.cc (ctype<wchar_t>::ctype(__c_locale, size_t)): Add
995 * testsuite/22_locale/ctype_members_char.cc (test02): Add, mark
996 XFAIL for non-gnu locale models.
998 2001-12-12 Philip Martin <philip@codematters.co.uk>
999 Ross Smith <r-smith@ihug.co.nz>
1000 Paolo Carlini <pcarlini@unitus.it>
1003 * include/bits/std_limits.h (defines, numeric_limits<bool>::digits10):
1004 Fix digits10 values for integral types.
1005 * include/bits/locale_facets.tcc (num_get::do_get for integral types):
1006 Tweak _M_extract_int call.
1007 * testsuite/27_io/istream_extractor_arith.cc (test13, test12_aux):
1008 Tweak overflowing number of digits.
1009 * testsuite/18_support/numeric_limits.cc (test03): New testcase.
1011 2001-12-11 Benjamin Kosnik <bkoz@redhat.com>
1013 * config/os/generic/bits/ctype_inline.h: Remove spaces.
1014 * config/os/gnu-linux/bits/ctype_noninline.h: Same.
1015 * include/bits/locale_facets.h (__num_base): Move double data
1016 members to first in class.
1017 * include/bits/locale_facets.tcc: Re-arrange, tweak.
1018 * src/locale.cc: Clean.
1019 *include/bits/stl_vector.h: Space typedefs.
1021 2001-12-11 Phil Edwards <pme@gcc.gnu.org>
1023 * testsuite/ext/allocators.cc: New file.
1025 2001-12-11 Jason Merrill <jason@redhat.com>
1027 * include/bits/locale_facets.tcc (_M_extract_int): Avoid
1028 uninitialized warning.
1030 2001-12-11 Loren Rittle <ljrittle@acm.org>
1032 * config/cpu/sparc/sparc32/bits/atomicity.h
1033 (__Atomicity_lock<0>::_S_atomicity_lock): Add.
1035 2001-12-10 Paolo Carlini <pcarlini@unitus.it>
1037 * include/bits/basic_string.tcc (_M_replace_safe): Fix typos.
1038 * include/bits/basic_string.h: Fix typos.
1040 2001-12-10 Paolo Carlini <pcarlini@unitus.it>
1041 Nathan Myers <ncm@cantrip.org>
1043 * include/bits/basic_string.tcc (_M_replace_safe): New function.
1044 (_M_replace(input_iterator_tag), append members): Use it.
1045 (_M_replace(forward_iterator_tag)): Remove.
1046 * include/bits/basic_string.h: Adjust declarations.
1047 * src/string-inst.cc: Adjust declarations.
1049 2001-12-09 Benjamin Kosnik <bkoz@redhat.com>
1050 Philip Martin <pmartin@uklinux.net>
1052 * include/bits/locale_facets.h (__num_base::_S_scale_hex): Add.
1053 (__num_base::_S_scale_oct): Add.
1054 * include/bits/locale_facets.tcc (_M_extract_int): Use them.
1055 * src/locale.cc: Add definitions.
1056 * testsuite/27_io/istream_extractor_arith.cc (main): Call test13.
1058 * testsuite/testsuite_hooks.h: Remove duplicate VERIFY define.
1060 2001-12-07 Nathan Myers <ncm@cantrip.org>
1061 Loren Rittle <ljrittle@acm.org>
1064 * config/cpu/sparc/sparc32/bits/atomicity.h
1065 (struct __Atomicity_lock<__inst>): Add.
1066 (__Atomicity_lock<__inst>::_S_atomicity_lock): Add.
1067 (__exchange_and_add): Use __Atomicity_lock<0>::_S_atomicity_lock
1068 instead of lock local to static function.
1069 (__atomic_add): Likewise.
1071 2001-12-07 Phil Edwards <pme@gcc.gnu.org>
1073 * src/globals.cc: Remove __GTHREADS guard.
1075 2001-12-07 Paolo Carlini <pcarlini@unitus.it>
1077 * include/bits/locale_facets.tcc (num_put::_M_convert_float):
1078 Extend comment, reduce __cs_size for non-fixed outputs.
1080 2001-12-07 Paolo Carlini <pcarlini@unitus.it>
1082 * include/bits/basic_string.tcc (_M_mutate): Fix typo
1083 in the previous check in.
1085 2001-12-06 Paolo Carlini <pcarlini@unitus.it>
1086 Loren J. Rittle <ljrittle@acm.org>
1088 * include/bits/basic_string.tcc (_M_mutate, _M_clone): Implement
1089 exponential growth policy to meet linear amortized time
1090 requirements of the standard.
1091 (_S_create): Adjust comment.
1093 2001-12-06 Benjamin Kosnik <bkoz@redhat.com>
1096 * include/bits/locale_facets.tcc (num_put): Clean.
1097 (num_get::_M_extract_float): Change argument to string.
1098 (num_get::do_get(float)): Fixup.
1099 (num_get::do_get(double)): Same.
1100 (num_get::do_get(long double)): Same.
1101 (num_get::_M_extract_int): Add maximum length parameter, __max.
1102 (num_get::_M_extract_float): Correct zeros, use string.
1103 * include/bits/locale_facets.h (num_get::_M_extract_float): Change
1105 * src/locale.cc (__num_base::_S_atoms): Remove x, X.
1106 * testsuite/27_io/istream_extractor_arith.cc (test13): Add.
1108 2001-12-06 Philip Martin <pmartin@uklinux.net>
1110 * testsuite/27_io/istream_extractor_arith.cc (test12): Add
1111 tests for excess input digits.
1113 2001-12-06 Phil Edwards <pme@gcc.gnu.org>
1115 * include/bits/std_bitset.h: Use GLIBCPP in multiple-inclusion guard.
1116 * include/bits/stl_algo.h: Likewise.
1117 * include/bits/stl_algobase.h: Likewise.
1118 * include/bits/stl_bvector.h: Likewise.
1119 * include/bits/stl_deque.h: Likewise.
1120 * include/bits/stl_function.h: Likewise.
1121 * include/bits/stl_iterator.h: Likewise.
1122 * include/bits/stl_iterator_base_funcs.h: Likewise.
1123 * include/bits/stl_iterator_base_types.h: Likewise.
1124 * include/bits/stl_list.h: Likewise.
1125 * include/bits/stl_multimap.h: Likewise.
1126 * include/bits/stl_multiset.h: Likewise.
1127 * include/bits/stl_pair.h: Likewise.
1128 * include/bits/stl_queue.h: Likewise.
1129 * include/bits/stl_set.h: Likewise.
1130 * include/bits/stl_stack.h: Likewise.
1131 * include/bits/stl_tempbuf.h: Likewise.
1132 * include/bits/stl_tree.h: Likewise.
1133 * include/bits/stl_vector.h: Likewise.
1135 * include/bits/stl_alloc.h: Use our own multiple inclusion guards.
1136 Doxygenate more comments. Correct historical artifacts in comments.
1137 (alloc, single_alloc): Uglify non-standard names.
1138 (__default_alloc_template::_NFREELISTS): Calculate from other
1140 (__default_alloc_template::_S_free_list): Remove SunPro workaround.
1141 (__default_alloc_template::_Lock): Mark as "unused".
1142 * include/backward/alloc.h: Update.
1143 * include/bits/stl_bvector.h: Likewise.
1144 * include/ext/ropeimpl.h: Likewise.
1145 * include/ext/stl_hashtable.h: Likewise.
1147 2001-12-05 Benjamin Kosnik <bkoz@redhat.com>
1150 * include/bits/locale_facets.tcc (num_put::_M_widen_float): Add
1151 grouping to floating point types.
1152 * testsuite/27_io/ostream_inserter_arith.cc (test02): Add test.
1154 2001-12-04 Paolo Carlini <pcarlini@unitus.it>
1157 * testsuite/27_io/ostream_inserter_arith.cc (test02): Add testcase
1159 * include/bits/locale_facets.tcc (num_put::_M_convert_float):
1160 Deal properly with long ios_base::fixed floats.
1161 (num_put::_M_widen_float): use
1162 __len in __builtin_alloca call.
1164 2001-12-04 Benjamin Kosnik <bkoz@redhat.com>
1166 * src/Makefile.am (sources): Add ext-inst.cc.
1167 * src/Makefile.in: Regenerate.
1168 * src/ext-inst.cc: New file.
1169 * include/bits/stl_threads.h: Format.
1170 * src/globals.cc: Add instantiation for _S_swap_lock.
1172 * testsuite/18_support/numeric_limits.cc: Add numeric_limits<B>
1175 2001-12-04 John David Anglin <dave@hiauly1.hia.nrc.ca>
1177 * testsuite/22_locale/numpunct_members_wchar_t.cc: Only compile
1178 and execute test01 if _GLIBCPP_USE_WCHAR_T is defined.
1179 * testsuite/26_numerics/complex_inserters_extractors.cc: Provide
1180 for explicit instantiation of class std::basic_string<char,
1181 gnu_char_traits, std::allocator<char> >.
1183 2001-12-03 Benjamin Kosnik <bkoz@redhat.com>
1185 * testsuite/22_locale/collate.cc: Compile-only.
1186 * testsuite/22_locale/time_get.cc: Same.
1187 * testsuite/22_locale/time_put.cc: Same.
1188 * testsuite/22_locale/numpunct.cc: Same.
1189 * testsuite/22_locale/num_put.cc: Same.
1190 * testsuite/22_locale/num_get.cc: Same.
1191 * testsuite/22_locale/moneypunct.cc: Same.
1192 * testsuite/22_locale/money_get.cc: Same.
1193 * testsuite/22_locale/messages.cc: Same.
1194 * testsuite/22_locale/ctype.cc: Same.
1196 2001-12-03 Benjamin Kosnik <bkoz@redhat.com>
1198 * src/string-inst.cc (string::_Rep::_S_terminal): Add static data
1199 member instantiations.
1201 2001-12-03 Steve Ellcey <sje@cup.hp.com>
1203 * libstdc++-v3/configure.in: Add support for hpux cross compiles,
1204 combine common linux/hpux/generic cross compile support to reduce
1206 * libstdc++-v3/configure: Regenerate.
1208 2001-12-03 Loren J. Rittle <ljrittle@acm.org>
1210 * docs/html/ext/howto.html: Update commentary.
1211 * include/bits/c++config: Update threading configuration comment.
1212 (__STL_GTHREADS): Remove macro definition.
1213 (__STL_THREADS): Likewise.
1214 * include/bits/stl_threads.h: Leave only the configuration
1215 path which had been guarded by __STL_GTHREADS. Remove all
1216 guards related to __STL_GTHREADS, __STL_SGI_THREADS,
1217 __STL_PTHREADS, __STL_UITHREADS and __STL_WIN32THREADS.
1218 * include/bits/stl_alloc.h: Leave only the configuration path
1219 which had been guarded by __STL_THREADS. Remove configuration
1220 path and guards for __STL_SGI_THREADS.
1221 (__NODE_ALLOCATOR_THREADS): Remove macro definition. Unroll its use.
1222 (__NODE_ALLOCATOR_LOCK): Likewise.
1223 (__NODE_ALLOCATOR_UNLOCK): Likewise.
1224 (_NOTHREADS): Remove guards related to macro.
1225 * include/ext/stl_rope.h: Remove configuration path and guards
1226 for __STL_SGI_THREADS.
1227 * src/stl-inst.cc: Remove use of __NODE_ALLOCATOR_THREADS.
1229 2001-12-02 Phil Edwards <pme@gcc.gnu.org>
1231 * docs/html/ext/howto.html: Update list of implemented DRs.
1232 * docs/html/ext/lwg-active.html: Import R20 from upstream.
1233 * docs/html/ext/lwg-defects.html: Import R20 from upstream.
1235 2001-11-30 Benjamin Kosnik <bkoz@redhat.com>
1239 * libsupc++/exception (bad_exception::~bad_exception()): Remove
1241 * libsupc++/new (bad_alloc::~bad_alloc()): Remove.
1242 * libsupc++/typeinfo (bad_cast::~bad_cast()): Remove.
1243 (bad_typeid::~bad_typeid()): Remove.
1244 * libsupc++/tinfo.cc (bad_cast::~bad_cast()): Remove definition.
1245 (bad_typeid::~bad_typeid()): Same.
1246 * libsupc++/new_handler.cc (bad_alloc::~bad_alloc()): Same.
1247 * libsupc++/eh_exception.cc (bad_exception::~bad_exception()): Same.
1249 * include/bits/std_iomanip.h: Tweak.
1251 2001-11-29 Paolo Carlini <pcarlini@unitus.it>
1254 * include/bits/locale_facets.tcc (__pad): Add bool parameter to
1255 correctly pad internal-adjusted const char*-type objects.
1256 * include/bits/locale_facts.tcc (num_put::_M_insert): Update call.
1257 * include/bits/ostream.tcc (operator<<(_CharT , char, const
1258 _CharT*, const char*, const basic_string&): Update calls.
1259 * src/locale-inst.tcc: Update declarations.
1260 * testsuite/27_io/ostream_inserter_arith.cc (test04): Add test.
1262 2001-11-29 Phil Edwards <pme@gcc.gnu.org>
1264 * docs/html/ext/howto.html: Finish allocator notes (inst and 3.0).
1266 2001-11-29 Benjamin Kosnik <bkoz@redhat.com>
1268 * include/bits/locale_facets.tcc (num_get::do_get(long double)):
1269 Fix __traits_type typo.
1271 2001-11-28 Paolo Carlini <pcarlini@unitus.it>
1273 * include/bits/locale_facets.tcc (__pad): Correctly pad
1274 internal-adjusted hex numbers.
1275 * testsuite/27_io/ostream_inserter_arith.cc: Add testcase.
1277 2001-11-28 Paolo Carlini <pcarlini@unitus.it>
1278 Loren J. Rittle <ljrittle@acm.org>
1280 * include/bits/basic_string.h
1281 (basic_string::_Rep::__default_excess, _S_excess_slop):
1283 * include/bits/basic_string.tcc: Remove dead code.
1284 * include/bits/c++config: Remove comment.
1286 2001-11-28 Benjamin Kosnik <bkoz@redhat.com>
1287 Jakub Jelinek <jakub@redhat.com>
1289 * config/locale/moneypunct_members_gnu.cc
1290 (moneypunct<wchar_t>::_M_initialize_moneypunct): Correctly cast
1292 * config/locale/numpunct_members_gnu.cc
1293 (numpunct<wchar_t>::_M_initialize_numpunct): Same.
1295 2001-11-27 Benjamin Kosnik <bkoz@redhat.com>
1297 * include/bits/locale_facets.tcc: Formatting tweaks.
1299 * testsuite/23_containers/map_operators.cc: Don't xfail.
1300 * testsuite/23_containers/set_operators.cc: Same.
1301 * testsuite/backward/header_iterator_h.cc: Pass in -Wno-deprecated.
1302 * testsuite/backward/header_deque_h.cc: Same.
1304 2001-11-27 Loren J. Rittle <ljrittle@acm.org>
1305 Paolo Carlini <pcarlini@unitus.it>
1307 * include/bits/basic_string.tcc (basic_string::_Rep::_S_create):
1308 Enforce allocation size blocking policy to reduce
1309 fragmentation and enhance performance with common malloc
1312 2001-11-27 Benjamin Kosnik <bkoz@redhat.com>
1314 Numeric facets cleanup.
1315 * include/bits/locale_facets.h (__num_base::_S_atoms): Add, remove
1317 (__num_base::_M_zero): Add
1318 (__num_base::_M_e): Add.
1319 (__num_base::_M_E): Add.
1320 * include/bits/locale_facets.tcc (num_get::_M_extract): Remove.
1321 (num_get::_M_extract_float): New.
1322 (num_get::_M_extract_int): New.
1323 * src/locale.cc (num_get::_M_extract): Remove.
1325 * include/bits/locale_facets.tcc (num_put::_M_insert_float):
1326 Simplify, use _M_insert.
1327 (num_put::do_put(bool)): Simplify, remove __pad.
1329 (__pad_output): Change to __pad.
1330 * include/bits/ostream.tcc: And here.
1331 * src/locale-inst: Remove instantiations.
1333 * include/bits/locale_facets.h: Move helper functions in to class
1335 (num_put::_M_insert_float): Same, for __output_integer.
1336 (num_put::_M_insert_int): Same, for __output_float.
1337 (num_put::_M_insert): New.
1339 (__num_base::_S_format_float): Move
1340 __build_float_format into class __num_base.
1341 (__num_base::_S_format_int): Move __build_int_format into class
1343 * include/bits/locale_facets.tcc (__group_digits): Change to
1344 (__add_grouping): This.
1345 * src/locale-inst.cc: And here. Tweak instantiations.
1346 * src/misc-inst.cc: Remove instantiations.
1348 * include/bits/ostream.tcc (__pad_char): Rename, adjust inserters
1349 for new calling conventions, move to...
1350 * include/bits/locale_facets.tcc (__pad_output): Here. Adjust
1351 signature to make it useful for both ostream and num_put.
1352 (__pad_numeric): Remove.
1353 * src/misc-inst.cc: Remove instantiations.
1354 * src/locale-inst.cc: Same.
1356 * include/bits/locale_facets.h (_Numeric_get): Remove.
1357 (_Numeric_put): Remove.
1358 (num_get::get(short)): Remove.
1359 (num_get::get(int)): Remove.
1360 (num_get::do_get(short)): Remove.
1361 (num_get::do_get(int)): Remove.
1362 * include/bits/istream.tcc (istream::operator>>(short)): Fix as
1364 (istream::operator>>(int)): Same.
1366 * include/bits/locale_facets.h (_Format_cache): Remove.
1367 * include/bits/locale_facets.tcc: Same.
1368 * src/locale.cc: Same.
1369 * src/locale-inst.cc: Same.
1370 * include/bits/ostream.tcc: Same.
1371 * src/ios.cc (ios_base::imbue): Remove here as well.
1373 * testsuite/22_locale/num_get.cc: New file.
1374 * testsuite/22_locale/num_get_members_char.cc: New file.
1375 * testsuite/22_locale/num_get_members_wchar_t.cc: New.
1376 * testsuite/22_locale/numpunct_members_wchar_t.cc: New file.
1377 * testsuite/22_locale/num_put.cc: New file.
1378 * testsuite/22_locale/num_put_members_char.cc: New file.
1379 * testsuite/22_locale/num_put_members_wchar_t.cc: New file.
1380 * testsuite/27_io/ostream_inserter_arith.cc: Fix.
1381 * testsuite/27_io/istream_extractor_arith.cc: Fix.
1383 2001-11-27 Phil Edwards <pme@gcc.gnu.org>
1385 * docs/html/explanations.html: New section, empty for now.
1386 * docs/html/17_intro/howto.html: Cleanup. Move unrelated link...
1387 * docs/html/23_containers/howto.html: ...to here. Break up and
1388 rewrap threading discussion to emphasize warning. Move malloc text...
1389 * docs/html/ext/howto.html: ...to here. New section. Describe
1390 allocators and __USE_MALLOC effects.
1391 * docs/html/ext/sgiexts.html: Mention their code.
1393 2001-11-24 Joseph S. Myers <jsm28@cam.ac.uk>
1395 * docs/doxygen/maint.cfg.in, docs/doxygen/user.cfg.in,
1396 docs/html/27_io/binary_iostreams_kuehl.txt: Revert previous
1399 2001-11-23 Phil Edwards <pme@gcc.gnu.org>
1401 * Makefile.am (doxygen-maint): The script isn't executable in CVS.
1402 * Makefile.in: Regenerated.
1403 * docs/doxygen/TODO: New file listing doxygen work to be done.
1404 * docs/doxygen/run_doxygen: Fix up man pages.
1405 * docs/doxygen/user.cfg.in: Insert maint-only toggles.
1406 * docs/doxygen/maint.cfg.in: Copy from user.cfg and turn toggles on.
1407 * include/bits/stl_construct.h: Use new hooks for internal functions.
1409 * docs/html/17_intro/TODO: Small updates.
1410 * docs/html/faq/index.html: Likewise.
1411 * docs/html/faq/index.txt: Regenerated.
1413 * include/bits/stl_alloc.h: Doxygenate, reindent comments, remove
1414 SGI-isms and wrappers.
1415 (simple_alloc, debug_alloc): Uglify class names.
1416 (__default_alloc_template): Uglify "threads" template parameter and
1417 update corresponding macros.
1418 * include/backward/alloc.h: Bring up to date.
1420 2001-11-23 Jason Merrill <jason@redhat.com>
1422 * src/vterminate.cc (__verbose_terminate_handler): Add leading
1425 2001-11-23 Joseph S. Myers <jsm28@cam.ac.uk>
1427 * ChangeLog, docs/doxygen/maint.cfg.in, docs/doxygen/user.cfg.in,
1428 docs/doxygen/doxygroups.cc, docs/doxygen/Intro.3,
1429 docs/html/17_intro/BUGS, docs/html/17_intro/C++STYLE,
1430 docs/html/17_intro/CHECKLIST, docs/html/17_intro/DESIGN,
1431 docs/html/17_intro/howto.html, docs/html/17_intro/porting.html,
1432 docs/html/17_intro/porting.texi, docs/html/18_support/howto.html,
1433 docs/html/19_diagnostics/howto.html, docs/html/20_util/howto.html,
1434 docs/html/21_strings/howto.html,
1435 docs/html/23_containers/howto.html,
1436 docs/html/26_numerics/howto.html, docs/html/27_io/howto.html,
1437 docs/html/27_io/binary_iostreams_kuehl.txt,
1438 docs/html/ext/sgiexts.html, docs/html/faq/index.html,
1439 docs/html/faq/index.txt, testsuite/24_iterators/iterator.cc,
1440 include/bits/basic_file.h, include/bits/locale_facets.h,
1441 include/bits/locale_facets.tcc, include/bits/std_sstream.h,
1442 include/ext/ropeimpl.h, include/ext/stl_rope.h,
1443 libsupc++/tinfo.cc, libsupc++/cxxabi.h, libsupc++/typeinfo,
1444 libsupc++/eh_throw.cc, acinclude.m4, aclocal.m4, configure,
1445 configure.target, ChangeLog-2000: Fix spelling errors.
1447 * config/locale/moneypunct_members_gnu.cc,
1448 include/bits/locale_facets.h: Fix spelling errors.
1450 2001-11-22 Stephen M. Webb <stephen@bregmasoft.com>
1452 * testsuite/23_containers/list_capacity.cc: New file.
1453 * testsuite/23_containers/list_ctor.cc: New file.
1454 * testsuite/23_containers/list_modifiers.cc: New file.
1455 * testsuite/23_containers/list_operators.cc: New file.
1457 2001-11-22 Stephen M. Webb <stephen@bregmasoft.com>
1459 * include/bits/stl_list.h: Reformatted according to C++STYLE rules.
1460 (size): Replaced nonstandard distance() call with the standard one.
1461 (transfer): Uglified to _M_transfer.
1463 2001-11-21 Paolo Carlini <pcarlini@unitus.it>
1466 * include/bits/basic_string.tcc (basic_string::reserve): Never shrink
1467 below the current size.
1468 * testsuite/21_strings/capacity.cc (test02): Add test.
1470 2001-11-19 Phil Edwards <pme@gcc.gnu.org>
1472 * docs/doxygen/Intro.3: More notes.
1473 * docs/doxygen/style.css: Update to default style from Doxygen 1.2.10.
1474 * include/bits/stl_algobase.h: Add doxygen hooks for functions.
1475 * include/ext/hash_map: Add @file hook.
1476 * include/ext/hash_set: Likewise.
1477 * include/ext/rope: Likewise.
1478 * include/ext/ropeimpl.h: Likewise.
1479 * include/ext/slist: Likewise.
1480 * include/ext/stl_hash_fun.h: Likewise.
1481 * include/ext/stl_hashtable.h: Likewise.
1482 * include/ext/stl_rope.h: Likewise.
1484 * docs/html/17_intro/license.html: Remove "experimental" sentence.
1485 * docs/html/19_diagnostics/howto.html: Document new verbose
1487 * testsuite/27_io/filebuf.cc: Fix comment, move tweakable parameter
1488 to more visible (closer to description) position.
1490 * libsupc++/eh_type.cc: Formatting tweak.
1491 * libsupc++/exception: Likewise.
1492 * src/vterminate.cc: Likewise.
1494 * docs/html/17_intro/porting.html: Regenerate.
1495 * docs/html/faq/index.txt: Regenerate.
1497 2001-11-18 Jason Merrill <jason@redhat.com>
1499 * libsupc++/eh_personality.cc (__cxa_call_unexpected): Take void*.
1500 * libsupc++/eh_catch.cc (__cxa_begin_catch): Likewise.
1501 * libsupc++/unwind-cxx.h: Adjust.
1502 * src/Makefile.am (strstream.o): Pass -Wno-deprecated.
1504 * libsupc++/eh_type.cc (__cxa_current_exception_type): New file.
1505 * libsupc++/cxxabi.h: Declare it.
1506 * libsupc++/Makefile.am (sources): Add it.
1507 * src/vterminate.cc (verbose_terminate_handler): New file.
1508 * libsupc++/exception: Declare it.
1509 * src/Makefile.am (sources): Add it.
1511 * src/Makefile.am (VPATH): Check the src directory before the top one.
1513 2001-11-16 Paolo Carlini <pcarlini@unitus.it>
1515 * include/bits/stl_deque.h (deque::erase()): Fix memory leak.
1517 2001-11-16 Loren J. Rittle <ljrittle@acm.org>
1519 * docs/html/17_intro/howto.html (Thread-safety): Rename
1520 section to ``The Standard C++ library and multithreading'' and
1521 update information based on recent mailing list traffic. Move
1522 all discussion of __USE_MALLOC to...
1523 * docs/html/23_containers/howto.html (Containers and multithreading):
1524 ...here and rework it based on recent mailing list traffic.
1526 2001-11-15 Loren J. Rittle <ljrittle@acm.org>
1528 * docs/html/faq/index.html (Is libstdc++-v3 thread-safe?): Clarify
1531 2001-11-15 <bjornw@planetarion.com>
1532 Loren J. Rittle <ljrittle@acm.org>
1535 * include/bits/stl_alloc.h (alloc): Update to use __mem_interface.
1536 (single_client_alloc): Likewise.
1538 2001-11-08 Danny Smith <dannysmith@users.sourceforge.net>
1540 * configure.target: Add os_include_dir for mingw32* target.
1541 * docs/html/17_intro/porting.texi: Mention mingw32 as target benefiting
1542 from _GLIBCPP_AVOID_FSEEK.
1543 * config/os/mingw32/bits/ctype_base.h: New file.
1544 * config/os/mingw32/bits/ctype_inline.h: New file.
1545 * config/os/mingw32/bits/ctype_noninline.h: New file.
1546 * config/os/mingw32/bits/os_defines.h: New file.
1548 2001-11-07 Nathan Myers <ncm@cantrip.org>
1550 * docs/html/faq/index.html (5.8): New entry on ABIs.
1551 * docs/html/faq/index.txt: Regenerate.
1553 2001-11-07 Phil Edwards <pme@gcc.gnu.org>
1555 * docs/html/faq/index.html: Explain libsupc++, mention 'long long'
1556 bugfixes on Solaris.
1557 * docs/html/faq/index.txt: Regenerate.
1559 2001-11-06 Phil Edwards <pme@gcc.gnu.org>
1561 * acinclude.m4 (GLIBCPP_ENABLE_LONG_LONG): Run the test in
1562 LANG_CPLUSPLUS mode.
1563 * aclocal.m4: Regenerate.
1564 * configure: Regenerate.
1566 2001-11-05 Phil Edwards <pme@gcc.gnu.org>
1568 * porting.texi: Move...
1569 * docs/html/17_intro/porting.texi: ...to here.
1570 * docs/html/Makefile: Add rule to rebuild...
1571 * docs/html/17_intro/porting.html: ...this. New file.
1573 2001-11-05 Felix Natter <fnatter@gmx.net>
1575 * docs/html/17_intro/porting-howto.xml: check in v0.9.4
1576 * docs/html/17_intro/porting-howto.html: regenerate
1578 2001-11-02 Loren J. Rittle <ljrittle@acm.org>
1580 * include/bits/stl_threads.h (_Atomic_swap): Only enable path
1581 when platform supports __GTHREAD_MUTEX_INIT.
1583 2001-11-02 Phil Edwards <pme@gcc.gnu.org>
1585 * acconfig.h: Update comments.
1586 * acinclude.m4 (GLIBCPP_ENABLE_C99): Move strtoll, strtoull tests...
1587 (GLIBCPP_ENABLE_LONG_LONG): ...to here. Don't check enable_c99.
1588 * aclocal.m4: Regenerate.
1589 * config.h.in: Regenerate.
1590 * configure: Regenerate.
1592 * include/bits/boost_concept_check.h: Unconditionally compile uses
1593 of 'long long' which require only compiler support, not C lib support.
1594 * include/bits/cpp_type_traits.h: Likewise.
1595 * include/bits/std_limits.h: Likewise.
1596 * include/bits/type_traits.h: Likewise.
1597 * src/concept-inst.cc: Likewise.
1598 * src/limits.cc: Likewise.
1599 * include/c_shadow/stdlib.h: Compile conditionally on _GLIBCPP_USE_C99
1600 instead of _GLIBCPP_USE_LONG_LONG.
1601 * include/c_shadow/bits/std_cstdlib.h: Likewise.
1603 2001-11-02 Phil Edwards <pme@gcc.gnu.org>
1605 * config/io/c_io_stdio.h: Correct grammar in comments.
1606 * docs/doxygen/Intro.3: Expand "top-level" man page.
1607 * docs/doxygen/doxygroups.cc: New module definitions (comments).
1608 * docs/doxygen/mainpage.doxy: Tweaks.
1609 * docs/doxygen/run_doxygen: Update Doxygen version, massage man pages.
1611 Add @file hooks so that headers are considered to be documented.
1612 * include/bits/basic_ios.h, include/bits/basic_file.h,
1613 include/bits/basic_string.h, include/bits/boost_concept_check.h,
1614 include/bits/char_traits.h, include/bits/codecvt.h,
1615 include/bits/concept_check.h, include/bits/cpp_type_traits.h,
1616 include/bits/fpos.h, include/bits/gslice.h, include/bits/gslice_array.h,
1617 include/bits/indirect_array.h, include/bits/ios_base.h,
1618 include/bits/locale_facets.h, include/bits/localefwd.h,
1619 include/bits/mask_array.h, include/bits/pthread_allocimpl.h,
1620 include/bits/slice.h, include/bits/slice_array.h,
1621 include/bits/std_algorithm.h, include/bits/std_bitset.h,
1622 include/bits/std_complex.h, include/bits/std_deque.h,
1623 include/bits/std_fstream.h, include/bits/std_functional.h,
1624 include/bits/std_iomanip.h, include/bits/std_ios.h,
1625 include/bits/std_iosfwd.h, include/bits/std_iostream.h,
1626 include/bits/std_istream.h, include/bits/std_iterator.h,
1627 include/bits/std_limits.h, include/bits/std_list.h,
1628 include/bits/std_locale.h, include/bits/std_map.h,
1629 include/bits/std_memory.h, include/bits/std_numeric.h,
1630 include/bits/std_ostream.h, include/bits/std_queue.h,
1631 include/bits/std_set.h, include/bits/std_sstream.h,
1632 include/bits/std_stack.h, include/bits/std_streambuf.h,
1633 include/bits/std_string.h, include/bits/std_utility.h,
1634 include/bits/std_valarray.h, include/bits/std_vector.h,
1635 include/bits/stl_algo.h, include/bits/stl_alloc.h,
1636 include/bits/stl_bvector.h, include/bits/stl_construct.h,
1637 include/bits/stl_deque.h, include/bits/stl_heap.h,
1638 include/bits/stl_iterator.h, include/bits/stl_iterator_base_funcs.h,
1639 include/bits/stl_iterator_base_types.h, include/bits/stl_list.h,
1640 include/bits/stl_map.h, include/bits/stl_multimap.h,
1641 include/bits/stl_multiset.h, include/bits/stl_numeric.h,
1642 include/bits/stl_pair.h, include/bits/stl_pthread_alloc.h,
1643 include/bits/stl_queue.h, include/bits/stl_raw_storage_iter.h,
1644 include/bits/stl_relops.h, include/bits/stl_set.h,
1645 include/bits/stl_stack.h, include/bits/stl_tempbuf.h,
1646 include/bits/stl_threads.h, include/bits/stl_tree.h,
1647 include/bits/stl_uninitialized.h, include/bits/stl_vector.h,
1648 include/bits/stream_iterator.h, include/bits/streambuf_iterator.h,
1649 include/bits/stringfwd.h, include/bits/type_traits.h,
1650 include/bits/valarray_array.h, include/bits/valarray_meta.h:
1651 Add hooks, tweak comments only.
1653 * include/bits/stl_algobase.h (swap, min, iter_swap): Also
1654 document these functions.
1655 * include/bits/stl_function.h: Tweak link comments.
1657 2001-11-01 Paolo Carlini <pcarlini@unitus.it>
1658 Benjamin Kosnik <bkoz@redhat.com>
1660 * testsuite/27_io/ios_manip_fmtflags.cc: Fix for non-interactive
1662 * include/bits/locale_facets.tcc (num_put::do_put(bool)): Fix.
1664 2001-11-01 Egor Duda <deo@logos-m.ru>
1666 * config/os/newlib/bits/ctype_noninline.h
1667 (ctype<char>::do_toupper(char __c)): Check for proper character class.
1668 (ctype<char>::do_tolower(char __c)): Ditto.
1670 2001-11-01 Phil Edwards <pme@gcc.gnu.org>
1672 * acinclude.m4: Fix spacing.
1673 (GLIBCPP_ENABLE_CONCEPT_CHECKS): New macro.
1674 * configure.in: Call here.
1675 * acconfig.h: Add _GLIBCPP_CONCEPT_CHECKS.
1676 * include/bits/boost_concept_check.h: Fix headers.
1677 (__function_requires): Make inline.
1678 * include/bits/c++config (_GLIBCPP_CONCEPT_CHECKS): Remove.
1679 * aclocal.m4: Regenerate.
1680 * config.h.in: Regenerate.
1681 * configure: Regenerate.
1683 Move trailing ';' inside macro, PR libstdc++/3666.
1684 * include/bits/concept_check.h: Add semicolon.
1685 * include/bits/stl_algo.h: Remove semicolon.
1686 * include/bits/stl_algobase.h: Likewise.
1687 * include/bits/stl_deque.h: Likewise.
1688 * include/bits/stl_heap.h: Likewise.
1689 * include/bits/stl_iterator_base_funcs.h: Likewise.
1690 * include/bits/stl_list.h: Likewise.
1691 * include/bits/stl_map.h: Likewise.
1692 * include/bits/stl_multimap.h: Likewise.
1693 * include/bits/stl_multiset.h: Likewise.
1694 * include/bits/stl_numeric.h: Likewise.
1695 * include/bits/stl_queue.h: Likewise.
1696 * include/bits/stl_set.h: Likewise.
1697 * include/bits/stl_stack.h: Likewise.
1698 * include/bits/stl_vector.h: Likewise.
1699 * include/ext/hash_map: Likewise.
1700 * include/ext/hash_set: Likewise.
1701 * include/ext/slist: Likewise.
1703 * src/concept-inst.cc: New file with explicit instantiations.
1704 * src/Makefile.am (sources): Add here, with special build rules.
1705 * src/Makefile.in: Regenerate.
1707 2001-11-01 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
1709 * include/bits/std_complex.h (_Norm_helper): New class template.
1711 (abs): Tweak. Fix Thinko.
1713 2001-10-31 Benjamin Kosnik <bkoz@redhat.com>
1716 * include/bits/codecvt.h: Add virtual member function declarations.
1717 * src/codecvt.cc: Tweaks.
1718 * testsuite/22_locale/codecvt.cc: Test compilation only,
1719 non-required facets not required to have linkage.
1721 2001-10-31 Edward E. Meyer <edward.e.meyer@boeing.com>
1724 * include/bits/std_complex.h (complex::operator/=): Correct sign.
1726 2001-10-30 Paolo Carlini <pcarlini@unitus.it>
1727 Benjamin Kosnik <bkoz@redhat.com>
1730 * include/bits/basic_string.h: Tweaks.
1731 * include/bits/basic_string.tcc (string::_M_replace(iterator,
1732 iterator, _ForwardIter, _ForwardIter, forward_iterator_tag): Fix.
1733 * src/string-inst.cc: Tweaks, add instantiation.
1734 * testsuite/21_strings/replace.cc (test02): Add test.
1735 * testsuite/21_strings/assign.cc (test01): New file.
1737 2001-10-30 Jakub Jelinek <jakub@redhat.com>
1739 * include/bits/stl_deque.h (_M_new_elements_at_front): Use
1740 __throw_exception_again.
1741 (_M_new_elements_at_back): Likewise.
1743 2001-10-29 Benjamin Kosnik <bkoz@redhat.com>
1746 * include/bits/fstream.tcc (filebuf::showmanyc): Simplify.
1747 * testsuite/27_io/filebuf.cc (test07): New test.
1748 (test03): Modify showmanyc test.
1750 2001-10-26 Benjamin Kosnik <bkoz@redhat.com>
1753 * config/locale/codecvt_specializations_ieee_1003.1-200x.h
1754 (__enc_traits::~__enc_traits): Fix.
1755 (__enc_traits::_M_init): Add error checking.
1757 2001-10-25 Benjamin Kosnik <bkoz@redhat.com>
1760 * include/bits/locale_facets.tcc (time_get::_M_extract_name): Fix.
1762 2001-10-25 Benjamin Kosnik <bkoz@redhat.com>
1765 * include/bits/ostream.tcc (ostream::operator<<(streambuf*)): Fix
1767 * include/bits/istream.tcc (istream::operator>>(streambuf*): Make
1768 consistent, where possible.
1769 * include/bits/streambuf.tcc: Tweak.
1771 2001-10-25 Brendan Kehoe <brendan@zen.org>
1774 * bits/ostream.tcc (seekp): Scope use as ios_base::failbit.
1775 * bits/istream.tcc (seekg): Likewise.
1777 2001-10-25 Benjamin Kosnik <bkoz@redhat.com>
1778 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
1779 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
1781 * config/os/gnu-linux/bits/os_defines.h: Set to 64 bit longs with
1783 * include/bits/std_limits.h: Fix wchar_t issues.
1784 * config/os/aix/bits/os_defines.h: Fix.
1786 2001-10-25 Benjamin Kosnik <bkoz@redhat.com>
1788 * include/bits/locale_facets.tcc (collate::do_transform): Fix.
1790 2001-10-25 Phil Edwards <pme@gcc.gnu.org>
1792 * docs/html/documentation.html: Fix typo.
1794 2001-10-23 Benjamin Kosnik <bkoz@redhat.com>
1796 Make -fno-exceptions work.
1797 * config/locale/c_locale_gnu.cc: Use functexcept.
1798 * include/bits/c++config (__stl_assert): Remove.
1799 (__STL_USE_EXCEPTIONS): Same.
1801 (__STL_CATCH_ALL): Same.
1802 (__STL_THROW): Same.
1803 (__STL_RETHROW): Same.
1804 (__STL_NOTHROW): Same.
1805 (__STL_UNWIND): Same.
1806 * include/bits/pthread_allocimpl.h: Fix.
1807 * include/bits/std_bitset.h: Same.
1808 * include/bits/std_list.h: Same.
1809 * include/bits/std_memory.h: Same.
1810 * include/bits/std_queue.h: Same.
1811 * include/bits/stl_alloc.h: Same.
1812 * include/bits/stl_deque.h: Same.
1813 * include/bits/stl_list.h: Same.
1814 * include/bits/stl_queue.h: Same.
1815 * include/bits/stl_tempbuf.h: Same.
1816 * include/bits/stl_tree.h: Same.
1817 * include/bits/stl_uninitialized.h: Same.
1818 * include/bits/stl_vector.h: Same.
1819 * include/ext/ropeimpl.h: Same.
1820 * include/ext/slist: Same.
1821 * include/ext/stl_hashtable.h: Same.
1822 * include/ext/stl_rope.h: Same.
1823 * libsupc++/new_op.cc: Include cstdlib.
1824 * libsupc++/eh_personality.cc: Add exception_defines include. Use
1825 __throw_exception_again, tweak.
1826 * libsupc++/eh_aux_runtime.cc: Include stdlib for abort.
1827 * libsupc++/vec.cc: Tweak.
1828 * src/functexcept.cc: Remove unused arguments.
1829 * testsuite/23_containers/bitset_members.cc: Tweak.
1831 2001-10-22 Benjamin Kosnik <bkoz@redhat.com>
1833 * config/cpu/i386/bits/limits.h: Move to...
1834 * config/cpu/i386/bits/cpu_limits.h: ...here.
1835 * config/cpu/cris/bits/cpu_limits.h: Same.
1836 * config/cpu/powerpc/bits/cpu_limits.h: Same.
1837 * config/cpu/x86-64/bits/cpu_limits.h: Same.
1838 * config/cpu/alpha/bits/cpu_limits.h: New.
1839 * config/cpu/m68k/bits/cpu_limits.h: New.
1840 * config/cpu/s390/bits/cpu_limits.h: New.
1841 * config/os/aix/bits/os_defines.h: Tweaks.
1842 * config/os/bsd/freebsd/bits/os_defines.h: Same.
1843 * config/os/bsd/netbsd/bits/os_defines.h: Same.
1844 * config/os/djgpp/bits/os_defines.h: Same.
1845 * config/os/generic/bits/os_defines.h: Same.
1846 * config/os/gnu-linux/bits/os_defines.h: Same.
1847 * config/os/hpux/bits/os_defines.h: Same.
1848 * config/os/irix/irix5.2/bits/os_defines.h: Same.
1849 * config/os/irix/irix6.5/bits/os_defines.h: Same.
1850 * config/os/newlib/bits/os_defines.h: Same.
1851 * config/os/solaris/solaris2.5/bits/os_defines.h: Same.
1852 * config/os/solaris/solaris2.6/bits/os_defines.h: Same.
1853 * config/os/solaris/solaris2.7/bits/os_defines.h: Same.
1855 * include/bits/c++config: Remove include.
1856 * include/bits/limits_generic.h: Remove.
1857 * include/bits/std_limits.h: Include cpu_limits.h.
1858 * include/Makefile.am: Fixup.
1859 * src/limits.cc: Tweak.
1860 * src/limits_generic.cc: Remove.
1861 * src/gen-num-limits.cc: Remove.
1862 * mknumeric_limits: Remove.
1864 2001-10-20 Brendan Kehoe <brendan@zen.org>
1866 * bits/type_traits.h (_Bool): Removed this type.
1867 (__true_type, __false_type): Change to be plain structs.
1868 * src/string-inst.cc (__destroy_aux): Change third parm to be
1869 __false_type instead of _Bool<false>.
1870 * src/misc-inst.cc (__uninitialized_fill_n_aux,
1871 __uninitialized_copy_aux): Likewise.
1873 2001-10-19 Benjamin Kosnik <bkoz@redhat.com>
1875 * mkcheck.in (static_fail): Remove older memory limit functionality.
1876 Disable E_TIME due to formatting issues.
1880 2001-10-19 Brendan Kehoe <brendan@zen.org>
1882 * include/bits/std_complex.h: Default initialize second argument
1883 of polar to 0, as specified in Library DR #79
1885 2001-10-19 Brendan Kehoe <brendan@zen.org>
1887 * include/bits/stl_raw_storage_iter.h (operator=): Fix to call
1888 _Construct instead of construct.
1890 2001-10-19 Brendan Kehoe <brendan@zen.org>
1892 * include/bits/basic_string.tcc (find_first_not_of): Take out check for
1893 __n being non-zero, since the standard does not mandate that.
1894 e.g., a search for "" in "" should yield position 0, not npos.
1895 (find_last_not_of): Likewise.
1897 2001-10-19 Brendan Kehoe <brendan@zen.org>
1899 * include/bits/stl_bvector.h (vector<bool>::_M_range_check): Fix
1900 to throw out_of_range, not range_error, thus sayeth $23.1.1.13.
1902 2001-10-19 Brendan Kehoe <brendan@zen.org>
1904 * include/bits/stl_iterator.h (reverse_iterator::current): Rename
1905 member from _M_current, and change all uses; thus sayeth $24.4.1.1.
1907 2001-10-19 Brendan Kehoe <brendan@zen.org>
1909 * include/bits/stl_algo.h (partial_sort): Add missing `>' on the
1910 template parameter _ValueType.
1912 2001-10-19 Brendan Kehoe <brendan@zen.org>
1914 * include/bits/std_limits.h: Clean up extra semicolons.
1915 * include/bits/locale_facets.h: Likewise.
1916 * include/bits/type_traits.h: Likewise.
1918 2001-10-19 Brendan Kehoe <brendan@zen.org>
1920 * include/bits/localefwd.h (locale::combine): Add const for lib DR 14.
1921 * include/bits/locale_facets.tcc (locale::combine): Likewise.
1923 2001-10-19 Benjamin Kosnik <bkoz@redhat.com>
1925 * include/bits/locale_facets.h (__timepunct::_M_put_helper):
1926 Declare specializations for char, wchar_t.
1928 2001-10-19 Andreas Jaeger <aj@suse.de>
1930 * config/cpu/x86-64/bits/limits.h: New file.
1931 * config/cpu/x86-64/bits/atomicity.h: New file.
1932 * configure.target: Add x86-64.
1934 2001-10-17 Phil Edwards <pme@gcc.gnu.org>
1936 * docs/html/17_intro/howto.html: Remove 1999 links (and explain
1937 why). Add link to recent message.
1938 * docs/html/faq/index.html (5.6): Reformat text only; fixup <pre>
1940 * docs/html/faq/index.txt: Regenerate.
1942 2001-10-12 Loren J. Rittle <ljrittle@acm.org>
1944 * docs/html/faq/index.html (Is libstdc++-v3 thread-safe?): Update
1945 based on Nathan's review. Use Nathan's words.
1947 2001-10-11 Matt Kraai <kraai@alumni.carnegiemellon.edu>
1949 * docs/html/configopts.html: Quote StyleSheet attribute values.
1950 * docs/html/documentation.html: Likewise.
1951 * docs/html/explanations.html: Likewise.
1952 * docs/html/install.html: Likewise.
1953 * docs/html/17_intro/howto.html: Likewise.
1954 * docs/html/17_intro/license.html: Likewise.
1955 * docs/html/18_support/howto.html: Likewise.
1956 * docs/html/19_diagnostics/howto.html: Likewise.
1957 * docs/html/20_util/howto.html: Likewise.
1958 * docs/html/21_strings/howto.html: Likewise.
1959 * docs/html/22_locale/howto.html: Likewise.
1960 * docs/html/23_containers/howto.html: Likewise.
1961 * docs/html/24_iterators/howto.html: Likewise.
1962 * docs/html/25_algorithms/howto.html: Likewise.
1963 * docs/html/26_numerics/howto.html: Likewise.
1964 * docs/html/27_io/howto.html: Likewise.
1965 * docs/html/ext/howto.html: Likewise.
1966 * docs/html/ext/sgiexts.html: Likewise.
1967 * docs/html/faq/index.html: Likewise.
1969 2001-10-11 Loren J. Rittle <ljrittle@acm.org>
1971 * docs/html/faq/index.html (Is libstdc++-v3 thread-safe?): Rewrite.
1972 * docs/html/23_containers/howto.html (Containers and multithreading):
1975 2001-10-09 Phil Edwards <pme@gcc.gnu.org>
1977 * docs/html/17_intro/howto.html: Tweak markup and value type.
1978 * docs/html/27_io/howto.html: Tweak markup, describe setbuf() for
1979 nonzero arguments, add new note on threading.
1980 * docs/html/faq/index.html: Update.
1981 * docs/html/faq/index.txt: Regenerate.
1983 2001-10-09 Phil Edwards <pme@gcc.gnu.org>
1985 * docs/html/configopts.html: More HTML->XHTML and lowercasing of tags.
1986 * docs/html/documentation.html: Likewise.
1987 * docs/html/explanations.html: Likewise.
1988 * docs/html/install.html: Likewise.
1989 * docs/html/17_intro/howto.html: Likewise.
1990 * docs/html/17_intro/license.html: Likewise. Tighten up language.
1991 * docs/html/18_support/howto.html: Likewise.
1992 * docs/html/19_diagnostics/howto.html: Likewise.
1993 * docs/html/20_util/howto.html: Likewise.
1994 * docs/html/21_strings/howto.html: Likewise.
1995 * docs/html/22_locale/howto.html: Likewise.
1996 * docs/html/23_containers/howto.html: Likewise.
1997 * docs/html/24_iterators/howto.html: Likewise.
1998 * docs/html/25_algorithms/howto.html: Likewise.
1999 * docs/html/26_numerics/howto.html: Likewise.
2000 * docs/html/27_io/howto.html: Likewise.
2001 * docs/html/ext/howto.html: Likewise.
2002 * docs/html/ext/sgiexts.html: Likewise.
2003 * docs/html/faq/index.html: Likewise. Not so many absolute links.
2004 * docs/html/faq/index.txt: Regenerate.
2006 2001-10-07 Joseph S. Myers <jsm28@cam.ac.uk>
2008 * docs/html/22_locale/locale.html, docs/html/faq/index.html: Fix
2009 spelling errors of "separate" as "seperate", and corresponding
2010 spelling errors of related words.
2011 * docs/html/faq/index.txt: Regenerate.
2013 2001-10-05 Phil Edwards <pme@gcc.gnu.org>
2015 * config/cpu/alpha/bits/atomicity.h (__compare_and_swap): Remove
2017 * config/cpu/arm/bits/atomicity.h: Likewise.
2018 * config/cpu/generic/bits/atomicity.h: Likewise.
2019 * config/cpu/i486/bits/atomicity.h: Likewise.
2020 * config/cpu/ia64/bits/atomicity.h: Likewise.
2021 * config/cpu/mips/bits/atomicity.h: Likewise.
2022 * config/cpu/powerpc/bits/atomicity.h: Likewise.
2023 * config/cpu/sparc/sparc32/bits/atomicity.h: Likewise.
2024 * config/cpu/sparc/sparc64/bits/atomicity.h: Likewise.
2026 2001-10-04 Phil Edwards <pme@gcc.gnu.org>
2028 * docs/html/faq/index.html: Describe DR #22, and a workaround.
2029 * docs/html/faq/index.txt: Regenerate.
2031 2001-10-04 Phil Edwards <pme@gcc.gnu.org>
2033 * docs/html/17_intro/COPYING.DOC: New file, GFDL v1.1 from the FSF.
2034 * docs/html/17_intro/license.html: New file. Explain the licenses
2037 * docs/html/configopts.html: Link to license.html.
2038 * docs/html/documentation.html: Likewise.
2039 * docs/html/explanations.html: Likewise.
2040 * docs/html/install.html: Likewise.
2041 * docs/html/17_intro/howto.html: Likewise.
2042 * docs/html/18_support/howto.html: Likewise.
2043 * docs/html/19_diagnostics/howto.html: Likewise.
2044 * docs/html/20_util/howto.html: Likewise.
2045 * docs/html/21_strings/howto.html: Likewise.
2046 * docs/html/22_locale/howto.html: Likewise.
2047 * docs/html/23_containers/howto.html: Likewise.
2048 * docs/html/24_iterators/howto.html: Likewise.
2049 * docs/html/25_algorithms/howto.html: Likewise.
2050 * docs/html/26_numerics/howto.html: Likewise.
2051 * docs/html/27_io/howto.html: Likewise.
2052 * docs/html/ext/howto.html: Likewise.
2053 * docs/html/ext/sgiexts.html: Likewise.
2054 * docs/html/faq/index.html: Likewise. New question, linking to
2055 the new license.html.
2057 2001-10-04 Phil Edwards <pme@gcc.gnu.org>
2059 * docs/html/17_intro/howto.html: Fix mis-sed in header from 20010917.
2060 * docs/html/18_support/howto.html: Likewise.
2061 * docs/html/19_diagnostics/howto.html: Likewise.
2062 * docs/html/20_util/howto.html: Likewise.
2063 * docs/html/21_strings/howto.html: Likewise.
2064 * docs/html/22_locale/howto.html: Likewise.
2065 * docs/html/23_containers/howto.html: Likewise.
2066 * docs/html/24_iterators/howto.html: Likewise.
2067 * docs/html/25_algorithms/howto.html: Likewise.
2068 * docs/html/26_numerics/howto.html: Likewise.
2069 * docs/html/27_io/howto.html: Likewise.
2070 * docs/html/ext/howto.html: Likewise.
2071 * docs/html/faq/index.html: Likewise. Spacing fix.
2073 2001-10-03 Dimitris Vyzovitis <vyzo@media.mit.edu>
2075 * include/bits/stl_threads.h (_Atomic_swap): New function.
2076 (_Swap_lock_struct<__dummy>::_S_swap_lock): New data.
2077 * testsuite/ext/rope.cc: New file.
2079 2001-10-02 Benjamin Kosnik <bkoz@redhat.com>
2081 * config/locale/time_members_gnu.h: Remove.
2082 * config/locale/time_members_generic.h: Remove.
2083 * config/locale/time_members_gnu.cc (__timepunct::_M_put_helper): Add.
2084 * config/locale/time_members_generic.cc: Same.
2085 * include/bits/locale_facets.h: Add data members.
2086 (__timepunct::_M_put_helper): Change signature.
2087 (__timepunct::_M_date_formats): Same.
2088 (__timepunct::_M_time_formats): Same.
2089 (__timepunct::_M_ampm): Add.
2090 (__timepunct::_M_date_time_formats): Add.
2091 (time_get::_M_extract_via_format): Add.
2092 (time_get::_M_extract_time): Change to...
2093 (time_get::_M_extract_num): ... this, modify signature.
2094 * include/bits/locale_facets.tcc (time_get::do_get_year): Fix.
2095 (time_get::do_get_time): Fix.
2096 (time_get::do_get_date): Fix.
2098 * acinclude.m4: Remove CTIME_H.
2099 * aclocal.m4: Regenerate.
2100 * include/Makefile.am: Same.
2101 * include/Makefile.in: Regenerate.
2102 * configure: Regenerate.
2104 * testsuite/22_locale/time_get_members_char.cc: Fix.
2105 * testsuite/22_locale/time_get_members_wchar_t.cc: Add.
2106 * testsuite/22_locale/time_put_members_wchar_t.cc: Add.
2108 2001-10-01 Hans-Peter Nilsson <hp@axis.com>
2110 * config/cpu/cris/bits/atomicity.h: Correct file header.
2112 2001-09-29 Hans-Peter Nilsson <hp@axis.com>
2114 * configure.target (LIMITSH): Set for cris.
2115 (cpu_include_dir): Set for cris-*-*.
2116 * config/cpu/cris/bits/atomicity.h: New file.
2117 * config/cpu/cris/bits/limits.h: New file.
2119 2001-09-28 Benjamin Kosnik <bkoz@redhat.com>
2121 * config/locale/time_members_gnu.h (__timepunct::_M_get_helper): Add.
2122 (__timepunct::_M_put_helper): Add.
2123 * config/locale/time_members_generic.h: Same.
2124 * include/bits/locale_facets.h (__match_parallel): Remove. Format.
2125 (__timepunct): Add data members.
2126 (__timepunct::_M_days): Add.
2127 (__timepunct::_M_days_abbreviated): Add.
2128 (__timepunct::_M_months): Add.
2129 (__timepunct::_M_months_abbreviated): Add.
2130 (__timepunct::_M_initialize_timepunct): Add.
2131 * include/bits/locale_facets.tcc: Same.
2132 * src/locale-inst.cc: Remove instantiations for __match_parallel.
2133 * acinclude.m4 (GLIBCPP_ENABLE_CLOCALE): Add CTIME_CC.
2134 * aclocal.m4: Regenerate.
2135 * configure: Regenerate.
2136 * testsuite/22_locale/time_put_members_char.cc: Mark XFAIL.
2137 * testsuite/22_locale/time_put_members_char.cc (test01): New file.
2138 * testsuite/22_locale/time_get.cc: New file.
2140 2001-09-28 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
2142 * testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3-init): Use
2143 correct multilib builddir.
2144 Properly locate libgcc_s.
2146 2001-09-27 Phil Edwards <pme@gcc.gnu.org>
2148 * include/std/*: Add Doxygen hooks.
2149 * docs/doxygen/Intro.3: New file, general intro to the man pages.
2150 * docs/doxygen/mainpage.doxy: Formatting tweaks. List our own links
2151 rather than using a generated index.
2152 * docs/doxygen/user.cfg.in: Disable the index, enable man pages.
2153 * docs/doxygen/run_doxygen: Massage the generated man pages, using...
2154 * docs/doxygen/stdheader.cc: ...this new file.
2156 2001-09-26 Stan Shebs <shebs@apple.com>
2158 * include/Makefile.am: Remove RCS Id strings.
2159 * src/Makefile.am: Ditto.
2160 * docs/doxygen/run_doxygen: Ditto.
2161 * docs/html/configopts.html: Ditto.
2162 * docs/html/documentation.html: Ditto.
2163 * docs/html/explanations.html: Ditto.
2164 * docs/html/install.html: Ditto.
2165 * docs/html/17_intro/howto.html: Ditto.
2166 * docs/html/18_support/howto.html: Ditto.
2167 * docs/html/19_diagnostics/howto.html: Ditto.
2168 * docs/html/20_util/howto.html: Ditto.
2169 * docs/html/21_strings/howto.html: Ditto.
2170 * docs/html/22_locale/howto.html: Ditto.
2171 * docs/html/23_containers/howto.html: Ditto.
2172 * docs/html/24_iterators/howto.html: Ditto.
2173 * docs/html/25_algorithms/howto.html: Ditto.
2174 * docs/html/26_numerics/howto.html: Ditto.
2175 * docs/html/27_io/howto.html: Ditto.
2176 * docs/html/ext/howto.html: Ditto.
2177 * docs/html/ext/sgiexts.html: Ditto.
2178 * docs/html/faq/index.html: Ditto.
2179 * docs/html/faq/index.txt: Ditto.
2181 2001-09-25 Phil Edwards <pme@gcc.gnu.org>
2183 * testsuite/21_strings/c_strings.cc (test01, test02): Increase
2186 2001-09-25 Phil Edwards <pme@gcc.gnu.org>
2188 * docs/html/20_util/howto.html: Add anchor name.
2189 * docs/html/23_containers/howto.html: Line wrapping, another link.
2190 * docs/html/25_algorithms/howto.html: Another note.
2192 * docs/html/ext/howto.html: Link to SGI extensions. List DRs and
2194 * docs/html/ext/lwg-active.html: ...in this new file (from R19),
2195 * docs/html/ext/lwg-defects.html: and this new file (from R19).
2196 * docs/html/ext/sgiexts.html: New file. Mention SGI extensions
2197 carried over to libstdc++-v3.
2198 * docs/html/faq/index.html: Link to SGI extensions. Mention the
2199 "missing .." pseudobug.
2200 * docs/html/faq/index.txt: Regenerate.
2202 * include/bits/ios_base.h: DR-related comment cleanup.
2203 * include/bits/istream.tcc: Likewise.
2204 * include/bits/locale_facets.h: Likewise.
2205 * include/bits/locale_facets.tcc: Likewise.
2206 * include/bits/ostream.tcc: Likewise.
2207 * include/bits/std_bitset.h: Likewise.
2208 * include/bits/std_iosfwd.h: Likewise.
2209 * include/bits/std_istream.h: Likewise.
2210 * include/bits/std_ostream.h: Likewise.
2211 * include/bits/std_streambuf.h: Likewise.
2212 * include/bits/stl_pair.h: Likewise.
2213 * include/bits/streambuf_iterator.h: Likewise.
2215 * include/bits/std_map.h: Remove unused header inclusion guard
2216 _CPP_BITS_STL_TREE_H from around bits/stl_tree.h.
2217 * include/bits/std_set.h: Likewise.
2219 * include/bits/stl_function.h: Doxygen markup.
2220 * docs/doxygen/doxygroups.cc: New file, specifying module grouping.
2221 * libsupc++/typeinfo: Doxygen markup tweak.
2223 2001-09-20 Scott Johnston <scott@accom.com>
2224 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
2226 * include/backward/alloc.h: Conditionally define malloc_alloc
2227 * testsuite/backward/header_deque_h.cc: New file.
2229 2001-09-20 Sylvain Pion <Sylvain.Pion@sophia.inria.fr>
2231 * libstdc++-v3/include/bits/locale_facets.tcc (money_put::do_put):
2232 change variable name so that it works with -fno-for-scope.
2234 2001-09-20 Benjamin Kosnik <bkoz@redhat.com>
2236 * testsuite/22_locale/numpunct_members_char.cc (test01): Remove
2237 redundant sanity checks.
2238 * testsuite/22_locale/money_put_members_wchar_t.cc (test01): Same.
2240 * testsuite/22_locale/money_put_members_char.cc (test01): Same.
2242 * testsuite/22_locale/moneypunct_members_wchar_t.cc (test01): Same.
2243 * testsuite/22_locale/moneypunct_members_char.cc (test01): Same.
2244 * testsuite/22_locale/money_get_members_wchar_t.cc (test01): Same.
2246 * testsuite/22_locale/money_get_members_char.cc (test01): Same.
2249 2001-09-19 Benjamin Kosnik <bkoz@redhat.com>
2251 Implement std::time_put.
2252 * include/bits/locale_facets.h: Include time_members.h.
2254 (time_put): Implement.
2255 * include/bits/locale_facets.tcc (do_put): Put generic versions here.
2256 * include/bits/localefwd.h: Bump number of facets.
2257 * config/locale/time_members_generic.h: New file.
2258 * config/locale/time_members_gnu.h: New file.
2259 * config/locale/c_locale_generic.h: Include clocale.
2260 * src/locale-inst.cc: Add use_facet instantiations for __timepunct.
2261 * src/locale.cc: Add __timepunct initializations.
2262 * src/localename.cc (locale::_Impl::_Impl(string, size_t)): Same.
2263 * include/Makefile.am (stamp-target): Add time_members.h.
2264 * include/Makefile.in: Regenerate.
2265 * acinclude.m4 (GLIBCPP_ENABLE_CLOCALE): Add CTIME_H.
2266 * aclocal.m4: Regenerate.
2267 * configure: Regenerate.
2268 * testsuite/22_locale/time_put.cc: New file.
2269 * testsuite/22_locale/time_put_members_char.cc: New file.
2271 * docs/html/22_locale/locale.html: Add note.
2273 2001-09-17 Phil Edwards <pme@gcc.gnu.org>
2275 * docs/html/configopts.html: HTML to XHTML change. Lowercase tags.
2276 * docs/html/documentation.html: Likewise.
2277 * docs/html/explanations.html: Likewise.
2278 * docs/html/install.html: Likewise.
2279 * docs/html/17_intro/howto.html: Likewise.
2280 * docs/html/18_support/howto.html: Likewise.
2281 * docs/html/19_diagnostics/howto.html: Likewise.
2282 * docs/html/20_util/howto.html: Likewise.
2283 * docs/html/21_strings/howto.html: Likewise.
2284 * docs/html/22_locale/codecvt.html: Likewise.
2285 * docs/html/22_locale/ctype.html: Likewise.
2286 * docs/html/22_locale/howto.html: Likewise.
2287 * docs/html/22_locale/locale.html: Likewise.
2288 * docs/html/22_locale/messages.html: Likewise.
2289 * docs/html/23_containers/howto.html: Likewise.
2290 * docs/html/24_iterators/howto.html: Likewise.
2291 * docs/html/25_algorithms/howto.html: Likewise.
2292 * docs/html/26_numerics/howto.html: Likewise.
2293 * docs/html/27_io/howto.html: Likewise.
2294 * docs/html/ext/howto.html: Likewise.
2295 * docs/html/faq/index.html: Likewise.
2296 * docs/html/faq/index.txt: Regenerated.
2298 2001-09-14 Phil Edwards <pme@sources.redhat.com>
2300 * docs/html/17_intro/headers_cc.txt: "Sync"/copy real file over.
2301 * docs/html/17_intro/howto.html: Spacing and HTML markup fixes.
2302 * docs/html/18_support/howto.html: It won't compile; it's not code.
2303 * docs/html/19_diagnostics/howto.html: Point diagram seekers to
2305 * docs/html/22_locale/howto.html: Comment for future work.
2306 * docs/html/23_containers/howto.html: More comments.
2307 * docs/html/25_algorithms/howto.html: It's a comment, not a
2308 blunt command to the reader. (English grammar.)
2310 2001-09-14 Benjamin Kosnik <bkoz@redhat.com>
2312 * config/locale/moneypunct_members_gnu.cc: Fix initialization of
2314 * testsuite/22_locale/money_get_members_wchar_t.cc (test02): New file.
2315 * testsuite/22_locale/money_put_members_wchar_t.cc (test02): Fix.
2317 2001-09-14 Benjamin Kosnik <bkoz@redhat.com>
2319 * include/bits/locale_facets.tcc: Conditionalize use of strtold.
2321 2001-09-13 Alexandre Petit-Bianco <apbianco@redhat.com>
2323 * testsuite/22_locale/money_get_members_char.cc: Fixed typo in comment.
2324 * testsuite/22_locale/money_put_members_char.cc: Likewise.
2325 * testsuite/22_locale/money_put_members_wchar_t.cc: Likewise.
2327 2001-09-13 Benjamin Kosnik <bkoz@redhat.com>
2329 Implement std::money_get.
2330 * include/bits/locale_facets.tcc (money_get::do_get): Implement.
2331 * include/bits/locale_facets.h (money_get): Correct signatures.
2332 * testsuite/22_locale/money_get.cc: New file.
2333 * testsuite/22_locale/money_get_members_char.cc: New file.
2335 * include/bits/locale_facets.tcc (__verify_grouping): New
2336 function. Consolidate num_get and money_get group checking into
2338 (money_get): Use it.
2339 * src/locale.cc (num_get::_M_extract): Use it.
2340 * src/locale-inst.cc: Add instantiation.
2342 2001-09-12 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
2344 * include/bits/std_limits.h (numeric_limits<float>::radix,
2345 numeric_limits<float>::epsilon: Fix thinko.
2347 2001-09-10 Benjamin Kosnik <bkoz@redhat.com>
2349 * configure.in: Fix cross compiling math routines. Correct
2350 comments for cross compiling and limits. Add floating point math
2351 routines found in newlib.
2352 * configure: Regenerate.
2353 * acconfig.h: Add macros.
2354 * config.h.in: Regenerate.
2356 2001-09-10 Benjamin Kosnik <bkoz@redhat.com>
2358 * config/locale/moneypunct_members_generic.cc
2359 (money_base::_S_construct_pattern): Remove unused parameters.
2361 2001-09-10 Benjamin Kosnik <bkoz@redhat.com>
2363 * include/Makefile.am (stamp-target): Remove link to self.
2364 * inclulde/Makefile.in: Regenerate.
2366 2001-09-09 Benjamin Kosnik <bkoz@redhat.com>
2368 Implement std::money_put.
2369 * include/bits/locale_facets.h
2370 (moneypunct::_M_initialize_moneypunct): Split up specializations
2371 to account for _Intl. More grody hacking to get around the
2372 ill-considered use of const bool as a template parameter.
2373 * config/locale/moneypunct_members_gnu.cc: And here.
2374 * config/locale/moneypunct_members_generic.cc: And here.
2375 * testsuite/22_locale/moneypunct_members_char.cc: Add tests.
2376 * testsuite/22_locale/moneypunct.cc: Add tests.
2377 * testsuite/22_locale/money_put_members_wchar_t.cc: New file.
2378 * testsuite/22_locale/moneypunct_members_wchar_t.cc: New file.
2380 * src/locale.cc (money_base::_S_construct_pattern): Move into
2382 * config/locale/moneypunct_members_gnu.cc: Add here.
2383 * config/locale/moneypunct_members_generic.cc: Add generic version
2386 * include/bits/locale_facets.tcc (money_put::do_put): Move member
2387 function definitions here.
2388 * include/bits/locale_facets.h (money_put): Implement.
2389 * src/locale-inst.cc: Add use_facet instantiations for moneypunct.
2390 Correct money_get, money_put instantiations.
2391 * src/locale.cc (money_base::_S_construct_pattern): Handle case
2393 * testsuite/22_locale/money_put_members_char.cc: Add tests.
2395 2001-09-05 Phil Edwards <pme@sources.redhat.com>
2397 * testsuite_flags.in: No longer need to search testsuite builddir.
2398 * src/stl-inst.cc (__sink_unused_warning): Unused, remove.
2399 * Makefile.am: The testsuite directory never needs to be made here.
2400 * Makefile.in: Regenerate.
2401 * include/Makefile.in: Regenerate.
2402 * libio/Makefile.in: Regenerate.
2403 * libmath/Makefile.in: Regenerate.
2404 * libsupc++/Makefile.in: Regenerate.
2405 * po/Makefile.in: Regenerate.
2406 * src/Makefile.in: Regenerate.
2407 * testsuite/Makefile.in: Regenerate.
2409 2001-09-04 Scott Johnston <scott@accom.com>
2410 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
2412 * include/backward/iterator.h: Include <bits/std_iterator.h>,
2413 remove reverse_bidirectional_iterator.
2414 * testsuite/backward: New directory.
2415 * testsuite/backward/header_iterator_h.cc: New file.
2417 2001-09-04 Benjamin Kosnik <bkoz@redhat.com>
2419 * include/c_std/bits/std_c*.h: Don't use include_next.
2421 2001-09-03 Richard Sandiford <rsandifo@redhat.com>
2423 * libsupc++/eh_personality.cc (parse_lsda_header): Change type of
2424 tmp from _Unwind_Ptr to _Unwind_Word.
2426 2001-08-31 Jason Merrill <jason_merrill@redhat.com>
2428 * libsupc++/eh_personality.cc (PERSONALITY_FUNCTION): Simplify
2431 2001-08-28 Loren J. Rittle <ljrittle@acm.org>
2433 * include/Makefile.am: Use toplevel_srcdir to refer to src files
2434 outside this component.
2435 * include/Makefile.in: Regenerate.
2437 2001-08-27 Benjamin Kosnik <bkoz@redhat.com>
2439 * config/locale/c_locale_gnu.cc: Move facet info to separate files...
2440 * config/locale/c_locale_generic.cc: Same.
2441 * config/locale/moneypunct_members_gnu.cc: New file.
2442 * config/locale/moneypunct_members_generic.cc: New file.
2443 * config/locale/numpunct_members_gnu.cc: New file.
2444 * config/locale/numpunct_members_generic.cc: New file.
2445 * acinclude.m4 (GLIBCPP_ENABLE_CLOCALE): Add moneypunct, numpunct
2447 * aclocal.m4: Regenerate.
2448 * configure: Regenerate.
2449 * src/Makefile.am (sources): And here.
2450 * src/Makefile.in: Regenerate.
2452 Rename for consistency with rest of testsuite.
2453 * testsuite/22_locale/codecvt.cc: New file.
2454 * testsuite/22_locale/money_put.cc: New file.
2455 * testsuite/22_locale/money_put_members_char.cc: New file.
2457 2001-08-27 Phil Edwards <pme@sources.redhat.com>
2460 * acinclude.m4 (GLIBCPP_EXPORT_INSTALL_INFO): Handle enable/disable
2461 correctly for version-specific-runtime-libs.
2462 * aclocal.m4: Regenerate.
2463 * configure: Regenerate.
2465 2001-08-24 Loren J. Rittle <ljrittle@acm.org>
2467 * config/cpu/i386/bits/limits.h (__glibcpp_long_double_bits): Only
2468 define if not already provided by per-OS file.
2469 * config/os/bsd/freebsd/bits/os_defines.h (__glibcpp_long_double_bits):
2472 2001-08-24 Jan van Male <jan.vanmale@fenk.wau.nl>
2474 * docs/html/17_intro/C++STYLE: Fix typo.
2476 2001-08-24 Phil Edwards <pme@sources.redhat.com>
2478 * docs/html/23_containers/howto.html: Describe implementation of
2479 insertion with hints.
2481 2001-08-24 Kenny Simpson <kenny.simpson@gs.com>
2484 * include/bits/std_sstream.h (basic_ostringstream): Fix ctor.
2486 2001-08-24 Sylvain Pion <Sylvain.Pion@sophia.inria.fr>
2487 Phil Edwards <pme@sources.redhat.com>
2490 * include/bits/stl_tree.h (insert_unique): Revert last change.
2491 Values inserted at begin() must be less, not greater, than *begin()'s.
2492 * testsuite/23_containers/map_insert.cc: New file.
2494 2001-08-23 Benjamin Kosnik <bkoz@redhat.com>
2496 * config/locale/c_locale_gnu.cc: Minor tweaks.
2497 (moneypunct<wchar_t>): Implement.
2498 * include/bits/locale_facets.h: Same.
2499 * testsuite/22_locale/moneypunct.cc: New file.
2500 * testsuite/22_locale/moneypunct_byname.cc: New file.
2501 * testsuite/22_locale/moneypunct_char_members.cc: New file.
2503 2001-08-23 David Edelsohn <edelsohn@gnu.org>
2505 * config/os/gnu-linux/bits/os_defines.h: Correct __s390__ definitions.
2506 Set __powerpc__ long double definition based on __LONG_DOUBLE_128__.
2508 2001-08-23 Jason Merrill <jason_merrill@redhat.com>
2510 * testsuite_flags.in (build-includes): Re-add backward.
2512 2001-08-22 Benjamin Kosnik <bkoz@redhat.com>
2514 * testsuite/22_locale/collate_wchar_t_members.cc: Guard
2515 with _GLIBCPP_USE_WCHAR_T.
2517 2001-08-21 Benjamin Kosnik <bkoz@redhat.com>
2519 * testsuite/22_locale/collate_byname.cc (test01): Fix.
2521 2001-08-18 Vladimir A Merzliakov <wanderer@rsu.ru>
2523 * include/bits/locale_facets.tcc (collate::do_transform): Add typename.
2525 2001-08-18 Benjamin Kosnik <bkoz@redhat.com>
2527 * testsuite/22_locale/operators.cc: Add test.
2529 2001-08-17 Benjamin Kosnik <bkoz@redhat.com>
2531 Implement std::collate.
2532 * config/locale/collate_specializations_gnu.cc: Add here, implement in
2534 * config/locale/collate_specializations_generic.cc: Add here, but
2535 in a less sophisticated manner.
2536 * include/bits/locale_facets.tcc (collate): Add generic definition.
2537 * include/bits/locale_facets.h (~collate): Mark virtual.
2538 (collate::_M_compare_helper): New.
2539 (collate::_M_transform_helper): New.
2540 * src/locale.cc: Remove unnecessary specializations.
2541 * src/string-inst.cc: Tweak instantiation of ctors.
2543 * acinclude.m4 (GLIBCPP_ENABLE_CLOCALE): Do configury for collate.
2544 * aclocal.m4: Regenerate.
2545 * configure: Regenerate.
2546 * src/Makefile.am (sources): Add collate.cc.
2547 * src/Makefile.in: Regenerate.
2549 * testsuite/22_locale/collate_byname.cc: New.
2550 * testsuite/22_locale/collate.cc: New file.
2551 * testsuite/22_locale/collate_char_members.cc: New file.
2552 * testsuite/22_locale/collate_wchar_t_members.cc: New file.
2554 2001-08-16 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
2556 * configure.target: Set LIMITSH for powerpc-*-*.
2557 * config/cpu/powerpc/bits/limits.h: New file.
2559 2001-08-16 Marc Espie <espie@openbsd.org>
2561 * configure.in: Check for <sys/types.h>.
2562 * configure: Rebuild.
2563 * config.h.in: Rebuild.
2564 * libmath/mathconf.h: Include <sys/types.h> prior to
2565 <machine/endian.h> if available.
2567 2001-08-15 Andreas Schwab <schwab@suse.de>
2569 * configure.target (cpu_include_dir): Set to `config/cpu/m68k' for
2570 m68k and m680[246]0.
2571 * config/cpu/m68k/bits/atomicity.h: New file.
2573 * include/bits/std_limits.h [__glibcpp_long_double_bits == 96]:
2574 Define appropriate long double limits for m68k extended floating
2576 (__glibcpp_f32_digits10): Corrected, off by one.
2577 (__glibcpp_f80_digits10): Likewise.
2578 (__glibcpp_f128_digits10): Likewise.
2579 * config/os/gnu-linux/bits/os_defines.h
2580 (__glibcpp_long_double_bits) [__mc68000__]: Define to 96.
2582 2001-08-15 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
2584 * testsuite/18_support/numeric_limits.cc: Add more tests.
2585 * include/bits/std_limits.h (numeric_limits<char>::max): Fix
2588 2001-08-14 Ulrich Weigand <uweigand@de.ibm.com>
2590 * configure.target (cpu_include_dir): Set to `config/cpu/s390'
2593 * config/cpu/s390/bits/atomicity.h: New.
2595 2001-08-14 Gabriel Dos Reis <gdr@codesourcery.com>
2597 * include/bits/std_limits.h: Fix thinko.
2599 2001-08-14 Benjamin Kosnik <bkoz@redhat.com>
2601 * include/Makefile.am: Consolidate target rules. Don't clean stamp
2602 files. Tweak target build directory stamp.
2603 * include/Makefile.in: Regenerate.
2605 2001-08-14 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
2607 * libstdc++-v3/libmath/stubs.c: Fix PR/3988, replace
2608 _GBLICPP_HAVE_LOGL with HAVE_LOGL
2610 2001-08-13 Benjamin Kosnik <bkoz@redhat.com>
2612 * configure.in (libtool_VERSION): Add.
2613 (VERSION): Change to
2614 (release_VERSION): This.
2615 * configure: Regenerate.
2616 * src/Makefile.am (libstdc___la_LDFLAGS): Use -version-info with
2618 * src/Makefile.in: Regenerate.
2620 * intl/Makefile.am: Remove.
2621 * intl/Makefile.in: Remove.
2623 * Makefile.am (SUBDIRS): Remove intl.
2624 * po/Makefile.am (DISTFILES): Add string_literals.cc
2626 * po/string_literals.cc: Add.
2627 * po/POTFILES.in: Fix path.
2628 * acinclude.m4 (GLIBCPP_ENABLE_CLOCALE): Don't call AM_GNU_GETTEXT.
2629 * aclocal.m4: Regenerate.
2630 * configure.in: Remove AC_OUTPUT of intl/Makefile.
2632 * include/backward/backward_warning.h: Clarify message.
2634 * testsuite_flags.in (--cxxflags): Use same debug flags for
2635 library and testsuite.
2637 * include/Makefile.am (c_compatibility): Remove.
2638 * include/Makefile.in: Regenerate.
2640 2001-08-13 Mark Mitchell <mark@codesourcery.com>
2642 * configure.in (LIMITS_INC_SRCDIR): New variable.
2643 * configure.target (LIMITSH): New variable.
2644 * porting.texi: Discuss numeric limits.
2645 * config/cpu/generic/bits/limits.h: New file.
2646 * config/cpu/i386/bits/limits.h: New file.
2647 * include/Makefile.am: Install bits/limits.h.
2648 * include/bits/c++config: Include bits/limits.h.
2650 2001-08-13 H.J. Lu (hjl@gnu.org)
2652 * testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3-copy-files):
2654 (libstdc++-v3-init ): Use it.
2656 2001-08-13 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
2658 * include/bits/ostream.tcc (__pad_char): Change toplevel '__fmt'
2659 to '__adjust' to avoid shadowing in nested scope.
2661 2001-08-10 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
2663 * include/bits/std_limits.h(__glibcpp_char_is_signed): Use
2666 * config/os/gnu-linux/bits/os_defines.h(__glibcpp_char_is_signed):
2668 * config/os/aix/bits/os_defines.h(__glibcpp_plain_char_is_signed):
2671 2001-08-10 Loren J. Rittle <ljrittle@acm.org>
2673 * testsuite/testsuite_hooks.h (__set_testsuite_memlimit): Add
2674 dummy default argument to the non-limit implementation.
2677 * include/Makefile.am: Use relative file path in rule to allow
2679 * include/Makefile.in: Rebuilt.
2681 2001-08-10 Gunter Winkler <gunter.winkler@mathematik.tu-chemnitz.de>
2683 * include/bits/std_complex.h (complex<long double>::operator*=,
2684 complex<long double>::operator/=): Fix thinko.
2686 2001-08-10 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
2688 * include/bits/std_limits.h: New file.
2689 * include/Makefile.am (bits_headers): Add std_limits.h
2690 (all-local): std_limits.h is no longer built.
2691 (${target_builddir}/std_limits.h): Remove.
2692 * include/Makefile.in: Regenerate.
2693 * src/limits.cc: New file.
2694 * src/Makefile.am (sources): Add limits.cc in replacement of
2696 * src/Makefile.in: Regenerate.
2698 2001-08-09 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
2700 * src/gen-num-limits.cc (digits10): Fix thinko.
2702 2001-08-09 Benjamin Kosnik <bkoz@redhat.com>
2704 * po/Makefile.am (check-no): Add.
2706 * po/Makefile.in: Regenerate.
2708 2001-08-09 Benjamin Kosnik <bkoz@redhat.com>
2710 * acconfig.h (_GLIBCPP_MEM_LIMITS): Define.
2711 * config.h.in: Regenerate.
2712 * acinclude.m4 (GLIBCPP_CHECK_SETRLIMIT): Check for setrlimit
2714 * aclocal.m4: Regenerate.
2715 * configure.in: Remove duplicate AM_CONFIG_HEADER.
2716 (AM_CONFIG_HEADER): Remove testsuite/testsuite_hooks.h.
2717 Only call GLIBCPP_CHECK_SETRLIMIT for native compiles.
2718 * configure: Regenerate.
2719 * testsuite_hooks.h.in: Move to...
2720 * testsuite_hooks.h: Here, include c++config.h. Use it.
2722 * Makefile.am (SUBDIRS): Move testsuite to last directory.
2723 * Makefile.in: Regenerate.
2724 * po/Makefile.am (stamp-po): Add.
2726 2001-08-09 David Edelsohn <edelsohn@gnu.org>
2728 * config/os/aix/bits/os_defines.h: Define std_limits.h macros.
2729 * config/os/generic/bits/os_defines.h: Likewise.
2730 * config/os/gnu-linux/bits/os_defines.h: Likewise.
2731 * config/os/hpux/bits/os_defines.h: Likewise.
2732 * config/os/irix/irix6.5/bits/os_defines.h: Likewise.
2733 * config/os/solaris/solaris2.7/bits/os_defines.h: Likewise.
2735 2001-08-08 Benjamin Kosnik <bkoz@redhat.com>
2737 * src/Makefile.am (libstdc___la_LDFLAGS): Use -release instead of
2738 -version-info, use substituted VERSION info.
2739 * src/Makefile.in: Regenerate.
2741 2001-08-07 Benjamin Kosnik <bkoz@redhat.com>
2743 Implement std::messages.
2744 Make config a fully-nested directory.
2745 * config/locale: New directory.
2746 * config/c_locale_generic.cc: Move into locale subdirectory.
2747 * config/c_locale_generic.h: Same.
2748 * config/c_locale_gnu.cc: Same.
2749 * config/c_locale_gnu.h: Same.
2750 * config/c_locale_ieee_1003.1-200x.cc: Same.
2751 * config/c_locale_ieee_1003.1-200x_.h: Same.
2752 * config/codecvt_specializations_generic.h: Same.
2753 * config/codecvt_specializations_ieee_1003.1-200x.h: Same.
2754 * config/messages_members_gnu.h: Same.
2755 * config/messaages_members_gnu.cc: Same.
2756 * config/messages_members_generic.h: Same.
2757 * config/messaages_members_generic.cc: Same.
2758 * config/messages_members_ieee_1003.1-200x.h: Same.
2759 * config/messaages_members_ieee_1003.1-200x.cc: Same.
2760 * config/io: New directory.
2761 * config/basic_file_libio.h: Move into io subdirectory.
2762 * config/basic_file_libio.cc: Same.
2763 * config/c_io_libio.h: Same.
2764 * config/c_io_libio_codecvt.c: Same.
2765 * config/basic_file_stdio.h: Same.
2766 * config/basic_file_stdio.cc: Same.
2767 * config/c_io_stdio.h: Same.
2769 * po: New directory.
2770 * po/POTFILES.in: New file.
2771 * po/Makefile.am: New file.
2772 * po/Makefile.in: New file.
2773 * po/libstdc++.pot: Generic translation file.
2774 * po/fr.po: Preliminary French translation.
2775 * po/de.po: Preliminary German translation.
2776 * intl: New directory.
2777 * intl/Makefile.am: New file.
2778 * intl/Makefile.in: New file.
2779 * intl/string_literals.cc: New file.
2780 * acinclude.m4 (GLIBCPP_CONFIGURE): Bump VERSION to 3.1.0. Add
2781 requisite setup for gettext. Re-arrange.
2782 * aclocal.m4: Regenerate.
2783 * configure.in: Don't call GLIBCPP_CHECK_COMPILER_VERSION.
2784 Output Makefile bits for po and intl.
2785 * configure: Regenerate.
2786 * Makefile.am (SUBDIRS): Add intl, po. Add rule for dist.
2787 * Makefile.in: Regenerate.
2788 * acconfig.h: Add ENABLE_NLS, HAVE_CATGETS, HAVE_GETTEXT, HAVE_STPCPY.
2789 * config.h.in: Regenerate.
2791 * acinclude.m4 (AC_REPLACE_STRINGFUNCS): Remove.
2793 * include/Makefile.am (install-data-local): Don't install Makefile.
2794 * include/Makefile.in: Regenerate.
2796 * include/bits/locale_facet.h (locale::facet::_S_clone_c_locale):
2798 * config/locale/c_locale_gnu.cc (_S_clone_c_locale): Add definition.
2799 * config/locale/c_locale_generic.cc: Same.
2800 * config/locale/c_locale_ieee_1003.1-200x.cc: Same.
2802 * include/bits/codecvt.h: Excise non-standard, non-required
2803 bits. This includes __enc_traits, and partial specializations of
2804 codecvt for __enc_traits.
2805 * src/codecvt.cc (__enc_traits::_S_max_size): Guard
2806 * config/codecvt_partials_ieee_1003.1-200x.h: New file.
2807 * config/codecvt_partials_generic.h: New file.
2808 * include/Makefile.am (allstamps): Add stamp-codecvt_model.
2809 (stamp-codecvt_model): Add.
2810 * include/Makefile.in: Regenerate.
2811 * acinclude.m4 (GLIBCPP_ENABLE_CLOCALE): Add in codecvt configury.
2812 * aclocal.m4: Regenerate.
2813 * configure: Regenerate.
2814 * testsuite/22_locale/codecvt_unicode_wchar_t.cc: Use macro guard.
2815 * testsuite/22_locale/codecvt_unicode_char.cc: Same.
2816 * testsuite/22_locale/ctor_copy_dtor.cc: And here.
2818 * include/bits/localefwd.h (class locale::facet): Add __enc_traits
2819 as a friend for _S_*_c_locale functions.
2820 * include/bits/codecvt.h (__enc_traits::__enc_traits): Add locale
2821 argument to default constructor so that CODESET information can be
2823 * include/bits/locale_facets.h (messages_byname):
2824 Re-implement. Remove specializations.
2825 * src/locale.cc (messages_byname<char>): Remove specialization.
2826 (messages_byname<wchar_t>): Same.
2827 * config/locale/c_locale_ieee_1003.1-200x.cc: New file.
2828 * config/locale/c_locale_ieee_1003.1-200x.h: New file.
2829 * config/locale/messages_members_ieee_1003.1-200x.cc: New file.
2830 * config/locale/messages_members_ieee_1003.1-200x.h: New file.
2831 * config/locale/messages_members_gnu.cc: New file.
2832 * config/locale/messages_members_gnu.h: New file.
2833 * config/locale/messages_members_generic.cc: New file.
2834 * config/locale/messages_members_generic.h: New file.
2836 * docs/html/configopts.html: Add documentation for new locale
2837 model, ieee_1003.1. Adjust other flags for current defaults.
2838 * docs/html/22_locale/locale.html: Update.
2839 * docs/html/22_locale/howto.html: Add link to messages.html. Organize.
2840 * docs/html/22_locale/messages.html: New.
2842 * src/Makefile.am (sources): Add messages_virtuals.cc.
2843 * src/Makefile.in: Regenerate.
2844 * include/Makefile.am (allstamps): Add stamp-messages_model.
2845 (stamp-messages_model): Add.
2846 * include/Makefile.in: Regenerate.
2847 * acinclude.m4 (GLIBCPP_ENABLE_CLOCALE): Add in messages configury.
2848 * aclocal.m4: Regenerate.
2849 * configure: Regenerate.
2851 * testsuite_flags.in (--cxxflags): Add LOCALEDIR.
2852 * testsuite/lib/libstdc++-v3-dg.exp: Remove broken LD_LIBRARY_PATH
2854 * acinclude (GLIBCPP_ENABLE_CLOCALE): Set glibcpp_localedir to the
2855 build directories message catalog base directory, and export.
2856 Eventually this should probably be made to deal with build and
2857 install directories. For now, punt on this as the library itself
2858 doesn't use message catalogs (yet).
2859 * testsuite/22_locale/messages.cc: New file.
2860 * testsuite/22_locale/messages_char_members.cc: New file.
2861 * testsuite/22_locale/messages_byname.cc: New file.
2863 2001-08-06 Phil Edwards <pme@sources.redhat.com>
2865 * acinclude.m4 (GLIBCPP_CONFIGURE_TESTSUITE): New macro, calls...
2866 (GLIBCPP_CHECK_SETRLIMIT): ...this new macro, which also uses...
2867 (GLIBCPP_CHECK_SETRLIMIT_ancilliary): ...this new macro.
2868 * configure.in (AM_CONFIG_HEADER): Also generate testsuite_hooks.h.
2869 Call GLIBCPP_CONFIGURE_TESTSUITE.
2870 * aclocal.m4: Regenerate.
2871 * config.h.in: Regenerate.
2872 * configure: Regenerate.
2874 * testsuite/lib/libstdc++-v3-dg.exp: Download new header instead
2877 * testsuite_flags.in: Add build dir's testsuite to INCLUDES.
2878 * testsuite/debug_assert.h: Removed; contents merged into...
2879 * testsuite/testsuite_hooks.h.in: ...here. New file.
2880 * testsuite/17_intro/header_ciso646.cc: No longer include
2881 debug_assert.h, include testsuite_hooks.h instead.
2882 * testsuite/17_intro/header_fstream.cc: Likewise.
2883 * testsuite/17_intro/header_iomanip.cc: Likewise.
2884 * testsuite/17_intro/header_ios.cc: Likewise.
2885 * testsuite/17_intro/header_iosfwd.cc: Likewise.
2886 * testsuite/17_intro/header_iostream.cc: Likewise.
2887 * testsuite/17_intro/header_istream.cc: Likewise.
2888 * testsuite/17_intro/header_ostream.cc: Likewise.
2889 * testsuite/17_intro/header_sstream.cc: Likewise.
2890 * testsuite/17_intro/header_streambuf.cc: Likewise.
2891 * testsuite/18_support/numeric_limits.cc: Likewise.
2892 * testsuite/19_diagnostics/stdexceptions.cc: Likewise.
2893 * testsuite/20_util/allocator_members.cc: Likewise.
2894 * testsuite/20_util/auto_ptr.cc: Likewise.
2895 * testsuite/20_util/pairs.cc: Likewise.
2896 * testsuite/21_strings/append.cc: Likewise.
2897 * testsuite/21_strings/capacity.cc: Likewise.
2898 * testsuite/21_strings/char_traits_requirements.cc: Likewise.
2899 * testsuite/21_strings/compare.cc: Likewise.
2900 * testsuite/21_strings/ctor_copy_dtor.cc: Likewise. Also set up
2901 call to (disabled) __set_testsuite_memlimit() wrapper.
2902 * testsuite/21_strings/element_access.cc: Likewise.
2903 * testsuite/21_strings/find.cc: Likewise.
2904 * testsuite/21_strings/insert.cc: Likewise. Also set up call to
2905 (disabled) __set_testsuite_memlimit() wrapper.
2906 * testsuite/21_strings/inserters_extractors.cc: Likewise.
2907 * testsuite/21_strings/invariants.cc: Likewise.
2908 * testsuite/21_strings/nonmember.cc: Likewise.
2909 * testsuite/21_strings/operations.cc: Likewise.
2910 * testsuite/21_strings/replace.cc: Likewise.
2911 * testsuite/21_strings/rfind.cc: Likewise.
2912 * testsuite/21_strings/substr.cc: Likewise.
2913 * testsuite/22_locale/codecvt_char_char.cc: Likewise.
2914 * testsuite/22_locale/codecvt_unicode_char.cc: Likewise.
2915 * testsuite/22_locale/codecvt_unicode_wchar_t.cc: Likewise.
2916 * testsuite/22_locale/codecvt_wchar_t_char.cc: Likewise.
2917 * testsuite/22_locale/ctor_copy_dtor.cc: Likewise.
2918 * testsuite/22_locale/ctype_char_members.cc: Likewise.
2919 * testsuite/22_locale/ctype_wchar_t_members.cc: Likewise.
2920 * testsuite/22_locale/facet.cc: Likewise.
2921 * testsuite/22_locale/global_templates.cc: Likewise.
2922 * testsuite/22_locale/members.cc: Likewise.
2923 * testsuite/22_locale/numpunct_byname.cc: Likewise.
2924 * testsuite/22_locale/numpunct_char_members.cc: Likewise.
2925 * testsuite/22_locale/operators.cc: Likewise.
2926 * testsuite/22_locale/static_members.cc: Likewise.
2927 * testsuite/23_containers/bitset_ctor.cc: Likewise.
2928 * testsuite/23_containers/bitset_members.cc: Likewise.
2929 * testsuite/23_containers/bitset_shift.cc: Likewise.
2930 * testsuite/23_containers/vector_capacity.cc: Likewise.
2931 * testsuite/23_containers/vector_ctor.cc: Likewise.
2932 * testsuite/23_containers/vector_element_access.cc: Likewise.
2933 * testsuite/23_containers/vector_modifiers.cc: Likewise.
2934 * testsuite/24_iterators/istreambuf_iterator.cc: Likewise.
2935 * testsuite/24_iterators/iterator.cc: Likewise.
2936 * testsuite/24_iterators/ostreambuf_iterator.cc: Likewise.
2937 * testsuite/25_algorithms/binary_search.cc: Likewise.
2938 * testsuite/25_algorithms/copy.cc: Likewise.
2939 * testsuite/25_algorithms/heap.cc: Likewise.
2940 * testsuite/25_algorithms/lower_bound.cc: Likewise.
2941 * testsuite/25_algorithms/min_max.cc: Likewise.
2942 * testsuite/25_algorithms/partition.cc: Likewise.
2943 * testsuite/25_algorithms/rotate.cc: Likewise.
2944 * testsuite/25_algorithms/sort.cc: Likewise.
2945 * testsuite/26_numerics/c_math.cc: Likewise.
2946 * testsuite/26_numerics/complex_inserters_extractors.cc: Likewise.
2947 * testsuite/26_numerics/complex_value.cc: Likewise.
2948 * testsuite/27_io/filebuf.cc: Likewise.
2949 * testsuite/27_io/filebuf_members.cc: Likewise.
2950 * testsuite/27_io/filebuf_virtuals.cc: Likewise.
2951 * testsuite/27_io/fpos.cc: Likewise.
2952 * testsuite/27_io/fstream_members.cc: Likewise.
2953 * testsuite/27_io/ifstream_members.cc: Likewise.
2954 * testsuite/27_io/ios_base_callbacks.cc: Likewise.
2955 * testsuite/27_io/ios_base_members_static.cc: Likewise.
2956 * testsuite/27_io/ios_base_storage.cc: Likewise.
2957 * testsuite/27_io/ios_ctor.cc: Likewise.
2958 * testsuite/27_io/ios_init.cc: Likewise.
2959 * testsuite/27_io/ios_manip_basefield.cc: Likewise.
2960 * testsuite/27_io/ios_manip_fmtflags.cc: Likewise.
2961 * testsuite/27_io/ios_members.cc: Likewise.
2962 * testsuite/27_io/istream_extractor_arith.cc: Likewise.
2963 * testsuite/27_io/istream_extractor_char.cc: Likewise.
2964 * testsuite/27_io/istream_extractor_other.cc: Likewise.
2965 * testsuite/27_io/istream_manip.cc: Likewise.
2966 * testsuite/27_io/istream_seeks.cc: Likewise.
2967 * testsuite/27_io/istream_sentry.cc: Likewise.
2968 * testsuite/27_io/istream_unformatted.cc: Likewise.
2969 * testsuite/27_io/istringstream_members.cc: Likewise.
2970 * testsuite/27_io/narrow_stream_objects.cc: Likewise.
2971 * testsuite/27_io/ofstream_members.cc: Likewise.
2972 * testsuite/27_io/ostream_inserter_arith.cc: Likewise.
2973 * testsuite/27_io/ostream_inserter_char.cc: Likewise.
2974 * testsuite/27_io/ostream_inserter_other.cc: Likewise.
2975 * testsuite/27_io/ostream_manip.cc: Likewise.
2976 * testsuite/27_io/ostream_seeks.cc: Likewise.
2977 * testsuite/27_io/ostream_unformatted.cc: Likewise.
2978 * testsuite/27_io/ostringstream_members.cc: Likewise.
2979 * testsuite/27_io/streambuf.cc: Likewise.
2980 * testsuite/27_io/stringbuf.cc: Likewise.
2981 * testsuite/27_io/stringbuf_virtuals.cc: Likewise.
2982 * testsuite/27_io/stringstream.cc: Likewise.
2983 * testsuite/27_io/stringstream_members.cc: Likewise.
2984 * testsuite/27_io/wide_stream_objects.cc: Likewise.
2986 2001-07-31 Loren J. Rittle <ljrittle@acm.org>
2988 * src/gen-num-limits.cc: Use __LONG_LONG_MAX__.
2990 2001-07-30 Benjamin Kosnik <bkoz@redhat.com>
2992 * configure.target: Remove mips from cpu table.
2993 * config/cpu/mips/bits/atomicity.h: Remove generic
2994 versions. Comment sgidefs include.
2996 2001-07-25 H.J. Lu <hjl@gnu.org>
2998 * configure.target (cpu_include_dir): Set to `config/cpu/mips'
3001 * config/cpu/mips/bits/atomicity.h: New.
3003 2001-07-25 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
3005 * acinclude.m4: CHECK_MATH_DECL_AND_LINKAGE for hypot, hypotf,
3006 hypotl, atan2f, atan2l. Remove from REPLACE_MATHFUNCS list.
3007 * aclocal.m4: Regenerate.
3008 * config.h.in: Likewise.
3009 * configure: Likewise.
3010 * libmath/Makefile.am (EXTRA_LONG_DOUBLE_yes): Remove hypotl.c
3011 (EXTRA_DIST): Remove hypot.c hypotf.c.
3012 * libmath/Makefile.am: Regenerate.
3013 * libmath/hypotf.c: Remove.
3014 * libmath/hypot.c: Likewise.
3015 * libmath/hypotl.c: Likewise.
3016 * libmath/stubs.c: The macros seen here are HAVE_xxx, not
3017 _GLIBCPP_HAVE_xxx. Add long double versions.
3019 2001-07-23 David Edelsohn <edelsohn@gnu.org>
3021 * include/bits/limits_generic.h (int): Set digits and digits10
3022 appropriately for word size.
3023 (unsigned int,long,unsigned long): Likewise.
3025 2001-07-19 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
3027 * include/bits/stl_algo.h : Fix typos.
3028 * testsuite/25_algorithms/unique.cc: New file.
3030 2001-07-19 Phil Edwards <pme@sources.redhat.com>
3031 Mark Mitchell <mark@codesourcery.com>
3033 Merge from cp-parser-branch.
3034 * include/bits/basic_string.h: Qualify symbols with 'template'.
3035 * include/bits/basic_string.tcc: Likewise.
3036 * include/bits/fstream.tcc: Likewise.
3037 * include/bits/istream.tcc: Likewise.
3038 * include/bits/sstream.tcc: Likewise.
3039 * include/bits/std_istream.h: Likewise.
3040 * include/bits/stl_iterator.h: Likewise.
3041 * include/bits/streambuf.tcc: Likewise.
3042 * src/gen-num-limits.cc: Add 'template<>' to specializations.
3043 * src/locale.cc: Likewise.
3045 2001-07-19 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
3046 Bert De Knuydt <Bert.Deknuydt@esat.kuleuven.ac.be>
3048 * src/gen-num-limits.cc (set_signals_handler): New function.
3049 Factor out signals setting. Set signal handler for SIGILL.
3051 2001-07-18 Phil Edwards <pme@sources.redhat.com>
3053 * docs/html/27_io/howto.html: Fix typo.
3054 * docs/html/faq/index.html: Minor updates for 3.0 all around.
3055 * docs/html/faq/index.txt: Regenerated.
3057 2001-07-18 Stephen M. Webb <stephen@bregmasoft..com>
3058 Roman Sulzhyk <roman_sulzhyk@yahoo.com>
3061 * include/bits/ostream.tcc (ostream::put): Fixed error condition check.
3062 * testsuite/27_io/streambuf.cc (test07): Added new regression test.
3064 2001-07-17 Stephen M. Webb <stephen@bregmasoft.com>r
3066 All occurrences of the __value_type() and __distance_type()
3067 functions, which were required to support the HP STL, have been
3068 removed along with all the auxiliary forwarding functions that
3069 were required to support their use.
3071 The __iterator_category() function was pretty much left alone
3072 because there was no benefit to removing it and its use made code
3073 just a little more readable.
3075 Incidences of distance() with nonstandard argument list were
3076 replaced by calls to the standard function (only in the files
3077 affected by the removal of the other HP functions).
3079 The signature of the rotate() algorithm was changed to match the
3082 Headers were reformatted under C++STYLE guidelines (indentation,
3083 linebreaks, typename keyword).
3085 * include/bits/stl_algo.h: replaced __value_type() and
3086 __distance_type() with iterator_traits, eliminated auxiliary
3087 support functions required to support said function usage.
3088 Changed nonstandard distance() call to standard call.
3090 * include/bits/stl_algobase.h: Same.
3091 * include/bits/stl_heap.h: Same.
3092 * include/bits/stl_numeric.h: Same.
3093 * include/bits/stl_uninitialized.h: Same.
3094 * include/bits/stl_iterator_base_types.h (__value_type()):
3096 (__distance_type()): Removed.
3097 (value_type()): Gone.
3098 (distance_type()): Done in.
3099 (iterator_category()): Hasta la vista, baby.
3101 * include/bits/stl_iterator_base_funcs.h (iterator_category()):
3102 Replaced with __iterator_category().
3103 * include/backward/iterator.h: moved definition of value_type(),
3104 distance_type(), and iterator_category() out of std:: and into
3106 * testsuite/23_containers/vector_ctor.cc (test03): New testcases.
3107 * testsuite/23_containers/vector_modifiers.cc (test03): New testcases.
3108 * testsuite/25_algorithms/rotate.cc: New testcase.
3109 * testsuite/25_algorithms/copy.cc: New testcase.
3110 * testsuite/25_algorithms/sort.cc: Same.
3111 * testsuite/25_algorithms/heap.cc: Same.
3112 * testsuite/25_algorithms/partition.cc: Same.
3113 * testsuite/25_algorithms/binary_search.cc: Same.
3114 * testsuite/26_numerics/sum_diff.cc: Ditto.
3116 001-07-17 Benjamin Kosnik <bkoz@redhat.com>
3118 * testsuite/README: Add notes on naming test cases.
3119 * testsuite/22_locale/members.cc: Mark as xfail.
3120 * testsuite/22_locale/numpunct_char_members.cc: Same.
3122 2001-07-16 Stephen M. Webb <stephen@bregmasoft.com>
3124 * acinclude.m4 (GLIBCPP_ENABLE_CHEADERS): Use glibcpp_srcdir when
3125 setting C_INCLUDE_DIR.
3126 * configure.in: Revert yesterday's LN_S change.
3127 * aclocal.m4: Regenerate.
3128 * configure: Regenerate.
3130 2001-07-15 Phil Edwards <pme@sources.redhat.com>
3132 * configure.in: Temporarily force LN_S to copy instead of symlink.
3133 * configure: Regenerate.
3135 2001-07-13 Phil Edwards <pme@sources.redhat.com>
3137 * include/bits/std_sstream.h (basic_stringbuf::basic_stringbuf(string):
3138 Initialize _M_string with pointer-and-size constructor, not just
3139 pointer. Fix some comments.
3140 * testsuite/21_strings/ctor_copy_dtor.cc (test03): New test.
3141 * testsuite/27_io/stringbuf.cc (test02): Remove unused variable.
3142 (test03): Add embedded-NUL tests.
3144 * mkcheck.in: When printing totals, match the order of the tests.
3145 * include/bits/stringfwd.h: Use same declaration keywords.
3146 * include/bits/std_iosfwd.h: Cosmetic spacing.
3148 2001-07-13 Stephen M. Webb <stephen@bregmasoft.com>
3149 Loren J. Rittle <ljrittle@acm.org>
3150 Phil Edwards <pme@sources.redhat.com>
3152 * include/Makefile.am: New file encapsulating header generation rules.
3153 * Makefile.am (SUBDIRS): Prepend 'include' directory.
3154 * acinclude.m4: Moved/removed rules for building various headers.
3155 * configure.in (AC_OUTPUT): Add include/Makefile.
3156 * mkc++config: Removed.
3158 * testsuite_flags.in: Changed build-includes to match new scheme.
3159 * mknumeric_limits: Likewise.
3160 * libio/Makefile.am: Changed INCLUDES to maatch new header scheme.
3161 * libmath/Makefile.am: Likewise.
3162 * libsupc++/Makefile.am: Likewise.
3163 * src/Makefile.am: Likewise; removed rules to build headers.
3164 * libmath/mathconf.h: Changed #include'd header names to match.
3165 * libmath/stubs.c: Likewise.
3166 * src/gen-num-limits.cc: Likewise.
3168 * configure: Regenerated.
3169 * config.h.in: Regenerated.
3170 * aclocal.m4: Regenerated.
3171 * Makefile.in: Regenerated.
3172 * include/Makefile.in: Regenerated.
3173 * libio/Makefile.in: Regenerated.
3174 * libmath/Makefile.in: Regenerated.
3175 * libsupc++/Makefile.in: Regenerated.
3176 * src/Makefile.in: Regenerated.
3177 * testsuite/Makefile.in: Regenerated.
3179 2001-07-11 Felix Natter <fnatter@gmx.net>
3181 * docs/html/17_intro/porting-howto.xml: Initial checkin of
3183 * docs/html/17_intro/porting-howto.html: check in v0.9.3
3185 2001-07-11 Phil Edwards <pme@sources.redhat.com>
3187 * docs/doxygen/run_doxygen: Don't keep output from previous run.
3188 * docs/doxygen/user.cfg.in: Tweaks.
3189 * include/bits/c++config: Documentation comments for Doxygen.
3190 * include/bits/char_traits.h: Likewise.
3191 * include/bits/limits_generic.h: Likewise.
3192 * include/bits/std_stdexcept.h: Likewise.
3193 * include/bits/stl_pair.h: Likewise.
3194 * libsupc++/exception: Likewise.
3195 * libsupc++/new: Likewise.
3196 * libsupc++/typeinfo: Likewise.
3197 * libmath/Makefile.am: Update and correct copyright.
3199 2001-07-10 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
3201 * acinclude.m4: Don't AC_REPLACE_MATHFUNCS expf and atan2f.
3202 * aclocal.m4: Regenerate.
3205 2001-07-09 Phil Edwards <pme@sources.redhat.com>
3207 * docs/html/configopts.html: Fix thinko.
3208 * docs/html/27_io/howto.html: Fix thinko and HTML markup.
3209 * include/bits/stl_iterator.h: Fix typo.
3211 2001-07-09 Phil Edwards <pme@sources.redhat.com>
3213 * docs/html/explanations.html: New file.
3214 * docs/html/configopts.html: Link to it to provide more notes
3215 on cstdio. Minor markup and spacing fixes.
3216 * docs/html/27_io/howto.html: Talk about sync_with_stdio.
3218 2001-07-09 Kriang Lerdsuwanakij <lerdsuwa@users.sourceforge.net>
3220 * include/bits/valarray_meta.h (_Expr::operator+): Use qualified id
3221 for _Expr template template argument.
3222 (_Expr::operator-): Likewise.
3223 (_Expr::operator~): Likewise.
3224 (_Expr::operator!): Likewise.
3225 (_DEFINE_EXPR_UNARY_OPERATOR): Likewise.
3227 2001-07-06 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
3229 * libmath/Makefile.am (EXTRA_DIST): Remove atan2f.c and expf.c
3230 * libmath/Makefile.in: Regenerate.
3231 * libmath/expf.c: Remove.
3232 * libmath/atan2f.c: Likewise.
3234 2001-07-06 Daniel Jacobowitz <drow@mvista.com>
3236 * configure.in: Remove NATIVE, NULL_TARGET.
3237 Set CANADIAN only for Canadian crosses. Set xcompiling
3238 for both Canadian crosses and host-x-host crosses.
3239 * configure: Regenerated.
3241 2001-07-06 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
3243 * include/bits/stl_vector.h (vector::_M_initialize_aux): Fix typo.
3245 2001-07-05 Jason Merrill <jason_merrill@redhat.com>
3247 * testsuite_flags.in (--build-includes): backward, not backwards.
3249 2001-07-04 Jeffrey Oldham <oldham@codesourcery.com>
3251 * include/ext/ropeimpl.h (_Rope_RopeRep::_M_free_c_string):
3252 Replace destroy by _Destroy.
3253 (_Rope_RopeRep::_S_free_string): Likewise.
3254 (rope::c_str()): Likewise.
3255 * include/ext/slist (_Slist_base::_M_erase_after>): Likewise.
3256 (_Slist_base::_M_erase_after): Likewise.
3257 (slist::_M_create_node): Replace construct by _Construct.
3258 (slist::pop_front): Replace destroy by _Destroy.
3259 * include/ext/stl_hashtable.h (hashtable::_M_new_node): Replace
3260 construct by _Construct.
3261 (hashtable::_M_delete_node): Replace destroy by _Destroy.
3262 * include/ext/stl_rope.h (rope::rope): Replace construct by
3264 (rope::copy): Replace destroy by _Destroy.
3266 2001-07-03 Benjamin Kosnik <bkoz@redhat.com>
3268 * include/bits/localefwd.h: Format.
3269 * include/bits/locale_facts.tcc (locale::combine): Adjust.
3270 * src/locale.cc (locale::locale::(_Impl)): Don't call
3272 (locale::facet::_M_remove_reference): Simplify.
3273 * src/globals.cc (locale_impl_c): New. Format.
3275 * src/ios.cc (ios_base::Init::Init): Increment _S_ios_base_init last.
3277 2001-07-02 Loren J. Rittle <ljrittle@acm.org>
3279 * acinclude.m4 (GLIBCPP_ENABLE_THREADS): Protect variable from shell
3280 expansion (thanks to Alexandre Oliva).
3281 * aclocal.m4: Regenerate.
3282 * configure: Regenerate.
3284 2001-07-02 Benjamin Kosnik <bkoz@redhat.com>
3286 * src/locale.cc (locale::locale(const char*)): Make sure global
3287 locales are initialized.
3288 * include/bits/locale_facets.tcc (locale::combine): Refcout should
3289 be zero, not one as it's return-by-value.
3290 * testsuite/27_io/ios_base_callbacks.cc (test01): Don't check for
3292 * testsuite/22_locale/ctor_copy_dtor.cc (test01): Instead, check
3295 * libsupc++/eh_alloc.cc: Use climits, not limits.h.
3297 2001-07-02 Loren J. Rittle <ljrittle@acm.org>
3300 * acinclude.m4 (GLIBCPP_ENABLE_THREADS): Portability enhancement.
3301 * aclocal.m4: Regenerate.
3302 * configure: Regenerate.
3304 2001-07-02 Loren J. Rittle <ljrittle@acm.org>
3307 * acinclude.m4 (GLIBCPP_ENABLE_THREADS): Add relative path to
3308 staged/installed area to support -I-. Document.
3309 * aclocal.m4: Regenerate.
3310 * configure: Regenerate.
3312 2001-07-02 Loren J. Rittle <ljrittle@acm.org>
3315 * src/ios.cc (ios_base::Init::_S_ios_create): Rename __bufsize to
3316 __out_bufsize. Add __in_bufsize, document it and use it.
3318 2001-07-01 Stephen M. Webb <stephen@bregmasoft.com>
3320 * include/bits/stl_construct.h (construct): Remove.
3322 (__destroy): Replaced by use of iterator_traits.
3323 * include/bits/stl_deque.h: replaced HP iterator functions with
3325 (construct): changed to _Construct.
3326 (destroy): changed to _Destroy.
3327 * include/bits/stl_tempbuf.h: Same.
3328 * include/bits/stl_tree.h: Same.
3329 * include/bits/stl_vector.h: Same.
3330 * include/backward/iterator.h (construct): moved definition to here.
3333 2001-06-29 Benjamin Kosnik <bkoz@redhat.com>
3335 * include/bits/locale_facets.tcc (locale::combine): Clone _Impl.
3336 before replacing facet.
3337 * include/bits/localefwd.h (locale::_Impl::_M_remove_reference):
3339 * src/localename.cc (locale::_Impl): Correct ctor initialization
3340 lists. Initialize ref count with one. Simplify.
3341 * src/locale.cc: Add comment.
3342 * testsuite/22_locale/numpunct.cc (test01): Add derivation test.
3343 * testsuite/22_locale/numpunct_char_members.cc (test01): Add tests.
3344 * testsuite/22_locale/members.cc (test02): Fix.
3346 2001-06-27 Phil Edwards <pme@sources.redhat.com>
3348 * include/backward/algo.h: Add "GPL plus runtime exception" comment
3349 block, this time for real.
3350 * include/backward/algobase.h: Likewise.
3351 * include/backward/alloc.h: Likewise.
3352 * include/backward/bvector.h: Likewise.
3353 * include/backward/defalloc.h: Likewise.
3354 * include/backward/deque.h: Likewise.
3355 * include/backward/function.h: Likewise.
3356 * include/backward/hash_map.h: Likewise.
3357 * include/backward/hash_set.h: Likewise.
3358 * include/backward/hashtable.h: Likewise.
3359 * include/backward/heap.h: Likewise.
3360 * include/backward/iterator.h: Likewise.
3361 * include/backward/list.h: Likewise.
3362 * include/backward/map.h: Likewise.
3363 * include/backward/multimap.h: Likewise.
3364 * include/backward/multiset.h: Likewise.
3365 * include/backward/pair.h: Likewise.
3366 * include/backward/rope.h: Likewise.
3367 * include/backward/set.h: Likewise.
3368 * include/backward/slist.h: Likewise.
3369 * include/backward/stack.h: Likewise.
3370 * include/backward/strstream: Likewise.
3371 * include/backward/tempbuf.h: Likewise.
3372 * include/backward/tree.h: Likewise.
3373 * include/backward/vector.h: Likewise.
3374 * include/bits/pthread_allocimpl.h: Likewise.
3375 * include/bits/std_algorithm.h: Likewise.
3376 * include/bits/std_bitset.h: Likewise.
3377 * include/bits/std_deque.h: Likewise.
3378 * include/bits/std_functional.h: Likewise.
3379 * include/bits/std_iterator.h: Likewise.
3380 * include/bits/std_list.h: Likewise.
3381 * include/bits/std_map.h: Likewise.
3382 * include/bits/std_memory.h: Likewise.
3383 * include/bits/std_numeric.h: Likewise.
3384 * include/bits/std_queue.h: Likewise.
3385 * include/bits/std_set.h: Likewise.
3386 * include/bits/std_stack.h: Likewise.
3387 * include/bits/std_utility.h: Likewise.
3388 * include/bits/std_vector.h: Likewise.
3389 * include/bits/stl_algo.h: Likewise.
3390 * include/bits/stl_algobase.h: Likewise.
3391 * include/bits/stl_alloc.h: Likewise.
3392 * include/bits/stl_bvector.h: Likewise.
3393 * include/bits/stl_construct.h: Likewise.
3394 * include/bits/stl_deque.h: Likewise.
3395 * include/bits/stl_function.h: Likewise.
3396 * include/bits/stl_heap.h: Likewise.
3397 * include/bits/stl_iterator.h: Likewise.
3398 * include/bits/stl_iterator_base_funcs.h: Likewise.
3399 * include/bits/stl_iterator_base_types.h: Likewise.
3400 * include/bits/stl_list.h: Likewise.
3401 * include/bits/stl_map.h: Likewise.
3402 * include/bits/stl_multimap.h: Likewise.
3403 * include/bits/stl_multiset.h: Likewise.
3404 * include/bits/stl_numeric.h: Likewise.
3405 * include/bits/stl_pair.h: Likewise.
3406 * include/bits/stl_pthread_alloc.h: Likewise.
3407 * include/bits/stl_queue.h: Likewise.
3408 * include/bits/stl_raw_storage_iter.h: Likewise.
3409 * include/bits/stl_relops.h: Likewise.
3410 * include/bits/stl_set.h: Likewise.
3411 * include/bits/stl_stack.h: Likewise.
3412 * include/bits/stl_tempbuf.h: Likewise.
3413 * include/bits/stl_threads.h: Likewise.
3414 * include/bits/stl_tree.h: Likewise.
3415 * include/bits/stl_uninitialized.h: Likewise.
3416 * include/bits/stl_vector.h: Likewise.
3417 * include/bits/type_traits.h: Likewise.
3418 * include/ext/hash_map: Likewise.
3419 * include/ext/hash_set: Likewise.
3420 * include/ext/rope: Likewise.
3421 * include/ext/ropeimpl.h: Likewise.
3422 * include/ext/slist: Likewise.
3423 * include/ext/stl_hash_fun.h: Likewise.
3424 * include/ext/stl_hashtable.h: Likewise.
3425 * include/ext/stl_rope.h: Likewise.
3426 * src/bitset.cc: Likewise.
3427 * src/strstream.cc: Likewise.
3429 2001-06-26 Benjamin Kosnik <bkoz@redhat.com>
3430 <vakatov@ncbi.nlm.nih.gov>
3433 * include/bits/streambuf.tcc (__copy_streambufs): Don't set eofbit.
3434 * testsuite/27_io/ostream_inserter_other.cc (test04): Add test.
3435 * testsuite/27_io/istream_extractor_other.cc: Fix.
3437 2001-06-26 Zoltan Hidvegi <hzoli@austin.ibm.com>
3439 * acinclude.m4 (glibcpp_toolexeclibdir): Make multilib safe.
3440 * aclocal.m4: Regenerate.
3441 * configure: Regenerate.
3443 2001-06-26 Benjamin Kosnik <bkoz@redhat.com>
3445 * include/bits/stream_iterator.h (istream_iterator): Add copy ctor.
3446 (ostream_iterator): Same.
3447 * include/bits/stl_iterator.h (front_insert_iterator::operator=):
3448 Change argument to const_reference.
3449 (back_insert_iterator): Same.
3451 2001-06-26 Benjamin Kosnik <bkoz@redhat.com>
3453 * include/bits/sbuf_iter.h: Change to..
3454 * include/bits/streambuf_iterator.h: This.
3455 * include/bits/stl_iterator.h: Take out of here...
3456 * include/bits/stream_iterator.h: Add.
3457 * src/Makefile.am (base_headers): Add streambuf_iterator,
3459 * src/Makefile.in: Regenerate.
3460 * include/bits/std_string.h: Adjust includes.
3461 * include/bits/basic_ios.h: Same.
3462 * include/bits/locale_facets.tcc: Same.
3463 * include/bits/std_iosfwd.h: Same.
3465 * include/bits/std_iterator.h: Add istream, ostream includes.
3466 * include/bits/stl_iterator.h: Tweak.
3467 * testsuite/24_iterators/ostream_iterator.cc: Add test.
3468 * testsuite/24_iterators/istream_iterator.cc: Same.
3469 * testsuite/23_containers/multiset.cc: Add iterator include.
3471 2001-06-26 Phil Edwards <pme@sources.redhat.com>
3473 * acinclude.m4: Clean extraneous tabs, rewrap 'test' lines.
3474 * aclocal.m4: Regenerate.
3475 * configure: Regenerate.
3477 2001-06-26 Felix Natter <f.natter@ndh.net>
3479 * docs/html/17_intro/porting-howto.html: Fixed some errors.
3481 2001-06-26 Benjamin Kosnik <bkoz@redhat.com>
3483 * include/bits/stl_iterator.h (istream_iterator::operator->): Fix
3485 (istream_iterator::operator*): Same.
3487 2001-06-26 Benjamin Kosnik <bkoz@redhat.com>
3488 Alexandre Petit-Bianco <apbianco@redhat.com>
3490 * testsuite/21_strings/element_access.cc (test01): Chill Out Cafe
3491 is on 41st, not 14th.
3493 2001-06-26 Benjamin Kosnik <bkoz@redhat.com>
3495 * include/bits/std_iterator.h: Include sbuf_iter.h via std_ios.h.
3497 * include/bits/stl_iterator.h (istream_iterator): Inherit from
3499 (ostream_iterator): Same.
3500 * testsuite/24_iterators/istream_iterator.cc: New file.
3501 * testsuite/24_iterators/ostream_iterator.cc: New file.
3503 * include/bits/sbuf_iter.h: Remove self typedef.
3504 * testsuite/24_iterators/ostreambuf_iterator.cc: Add test.
3505 * testsuite/24_iterators/istreambuf_iterator.cc: Add test.
3507 * include/bits/stl_iterator.h (reverse_iterator): Remove
3508 extraneous typedefs. Add typename.
3509 (__normal_iterator): Remove typedefs referring to self. Add typename.
3510 (reverse_bidiretional_iterator): Remove, not longer required.
3512 2001-06-26 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
3514 * include/bits/stl_iterator.h (__normal_iterator<>): Qualify
3515 dependent names with `typename'. Bring in various required
3516 iterator_traits members. Can't imagine why that used to work.
3518 2001-06-25 Phil Edwards <pme@sources.redhat.com>
3519 Kurt Garloff <garloff@suse.de>
3522 * src/cmath.cc: New [version of an old] file; instantiate
3523 __cmath_power to start with.
3524 * src/Makefile.am (sources): Add cmath.cc (and alphabetize).
3525 * Makefile.in: Regenerate.
3526 * libio/Makefile.in: Regenerate.
3527 * libmath/Makefile.in: Regenerate.
3528 * libsupc++/Makefile.in: Regenerate.
3529 * src/Makefile.in: Regenerate.
3530 * testsuite/Makefile.in: Regenerate.
3532 2001-06-24 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
3534 * libmath/stubs.c: Fix thinko.
3536 2001-06-24 David Edelsohn <dje@watson.ibm.com>
3538 * libmath/stubs.c (sqrtf): Define.
3539 (tanf): Correct typo.
3541 2001-06-22 Benjamin Kosnik <bkoz@redhat.com>
3543 * include/bits/stl_iterator.h (reverse_iterator): Inherit from
3545 (back_insert_iterator): Same.
3546 (front_insert_iterator): Same.
3547 (insert_iterator): Same.
3549 * testsuite/20_util/raw_storage_iterator.cc: Modify.
3550 * testsuite/24_iterators/reverse_iterator.cc: New file.
3551 * testsuite/24_iterators/back_insert_iterator.cc: New file.
3552 * testsuite/24_iterators/front_insert_iterator.cc: New file.
3553 * testsuite/24_iterators/insert_iterator.cc: New file.
3555 2001-06-22 Phil Edwards <pme@sources.redhat.com>
3557 * include/*: Revert comment/license change from yesterday for all
3558 except libsupc++/unwind-cxx.h.
3559 * src/bitset.cc: Likewise.
3560 * src/strstream.cc: Likewise.
3562 2001-06-22 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
3564 * libmath/stubs.c: New file.
3568 * libmath/Makefile.am (libmath_la_SOURCES): Add.
3569 * libmath/Makefile.in. Regenerate.
3571 2001-06-21 Phil Edwards <pme@sources.redhat.com>
3573 * include/backward/algo.h: Add "GPL plus runtime exception" comment.
3574 * include/backward/algobase.h: Likewise.
3575 * include/backward/alloc.h: Likewise.
3576 * include/backward/bvector.h: Likewise.
3577 * include/backward/defalloc.h: Likewise.
3578 * include/backward/deque.h: Likewise.
3579 * include/backward/function.h: Likewise.
3580 * include/backward/hash_map.h: Likewise.
3581 * include/backward/hash_set.h: Likewise.
3582 * include/backward/hashtable.h: Likewise.
3583 * include/backward/heap.h: Likewise.
3584 * include/backward/iterator.h: Likewise.
3585 * include/backward/list.h: Likewise.
3586 * include/backward/map.h: Likewise.
3587 * include/backward/multimap.h: Likewise.
3588 * include/backward/multiset.h: Likewise.
3589 * include/backward/pair.h: Likewise.
3590 * include/backward/rope.h: Likewise.
3591 * include/backward/set.h: Likewise.
3592 * include/backward/slist.h: Likewise.
3593 * include/backward/stack.h: Likewise.
3594 * include/backward/strstream: Likewise.
3595 * include/backward/tempbuf.h: Likewise.
3596 * include/backward/tree.h: Likewise.
3597 * include/backward/vector.h: Likewise.
3598 * include/bits/pthread_allocimpl.h: Likewise.
3599 * include/bits/std_algorithm.h: Likewise.
3600 * include/bits/std_bitset.h: Likewise.
3601 * include/bits/std_deque.h: Likewise.
3602 * include/bits/std_functional.h: Likewise.
3603 * include/bits/std_iterator.h: Likewise.
3604 * include/bits/std_list.h: Likewise.
3605 * include/bits/std_map.h: Likewise.
3606 * include/bits/std_memory.h: Likewise.
3607 * include/bits/std_numeric.h: Likewise.
3608 * include/bits/std_queue.h: Likewise.
3609 * include/bits/std_set.h: Likewise.
3610 * include/bits/std_stack.h: Likewise.
3611 * include/bits/std_utility.h: Likewise.
3612 * include/bits/std_vector.h: Likewise.
3613 * include/bits/stl_algo.h: Likewise.
3614 * include/bits/stl_algobase.h: Likewise.
3615 * include/bits/stl_alloc.h: Likewise.
3616 * include/bits/stl_bvector.h: Likewise.
3617 * include/bits/stl_construct.h: Likewise.
3618 * include/bits/stl_deque.h: Likewise.
3619 * include/bits/stl_function.h: Likewise.
3620 * include/bits/stl_heap.h: Likewise.
3621 * include/bits/stl_iterator.h: Likewise.
3622 * include/bits/stl_iterator_base_funcs.h: Likewise.
3623 * include/bits/stl_iterator_base_types.h: Likewise.
3624 * include/bits/stl_list.h: Likewise.
3625 * include/bits/stl_map.h: Likewise.
3626 * include/bits/stl_multimap.h: Likewise.
3627 * include/bits/stl_multiset.h: Likewise.
3628 * include/bits/stl_numeric.h: Likewise.
3629 * include/bits/stl_pair.h: Likewise.
3630 * include/bits/stl_pthread_alloc.h: Likewise.
3631 * include/bits/stl_queue.h: Likewise.
3632 * include/bits/stl_raw_storage_iter.h: Likewise.
3633 * include/bits/stl_relops.h: Likewise.
3634 * include/bits/stl_set.h: Likewise.
3635 * include/bits/stl_stack.h: Likewise.
3636 * include/bits/stl_tempbuf.h: Likewise.
3637 * include/bits/stl_threads.h: Likewise.
3638 * include/bits/stl_tree.h: Likewise.
3639 * include/bits/stl_uninitialized.h: Likewise.
3640 * include/bits/stl_vector.h: Likewise.
3641 * include/bits/type_traits.h: Likewise.
3642 * include/ext/hash_map: Likewise.
3643 * include/ext/hash_set: Likewise.
3644 * include/ext/rope: Likewise.
3645 * include/ext/ropeimpl.h: Likewise.
3646 * include/ext/slist: Likewise.
3647 * include/ext/stl_hash_fun.h: Likewise.
3648 * include/ext/stl_hashtable.h: Likewise.
3649 * include/ext/stl_rope.h: Likewise.
3650 * libsupc++/unwind-cxx.h: Likewise.
3651 * src/bitset.cc: Likewise.
3652 * src/strstream.cc: Likewise.
3654 2001-06-21 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
3656 * include/bits/indirect_array.h (indirect_array<>::operator=):
3657 Make copy and assignment operator public. Implement. Format.
3659 * include/bits/valarray_array.h (__valarray_copy): Add overloads
3660 for copy between index arrays. Format.
3662 2001-06-19 Benjamin Kosnik <bkoz@redhat.com>
3664 * mknumeric_limits: Add static definitions, format.
3665 * testsuite/18_support/numeric_limits.cc (test02): Add test.
3667 * include/c_std/bits/std_cwchar.h: Include ctime.
3668 * testsuite/17_intro/header_cwchar.cc : Check.
3670 * include/c_std/bits/std_cwctype.h: Inject wctype.
3671 * testsuite/17_intro/header_cwctype.cc: Update.
3673 2001-06-18 Benjamin Kosnik <bkoz@redhat.com>
3675 * include/bits/stl_raw_storage_iter.h: Format. Correct derivation.
3676 * testsuite/20_util/raw_storage_iterator.cc: Same.
3678 * include/bits/stl_alloc.h (_S_chunk_alloc): Change malloc to
3680 (__mem_interface): New typedef for switching between malloc and new.
3681 * testsuite/20_util/allocator_members.cc: New file.
3683 * testsuite/20_util/comparisons.cc: New file.
3684 * testsuite/20_util/pairs.cc: New file.
3686 2001-06-15 Phil Edwards <pme@sources.redhat.com>
3688 * docs/html/documentation.html: Point to new doxygen'ed collection.
3690 2001-06-14 Nathan Sidwell <nathan@codesourcery.com>
3692 * configure.in (auxdir): Replace by ...
3693 (toprel): ... new variable.
3694 (toplevel_srcdir): Construct from $toprel.
3695 * acinclude.m4 (GLIBCPP_ENABLE_THREADS): Use $toprel
3696 rather than .. to locate gcc source directory.
3697 (GLIBCPP_CONFIGURE): Replace $auxdir with $srcdir/$toprel.
3698 * aclocal.m4, configure: Rebuilt.
3700 2001-06-13 John David Anglin <dave@hiauly1.hia.nrc.ca>
3702 (Approved by Mark and Benjamin. Applied by Loren.)
3704 * src/globals.cc: Define globals _GLIBCPP_mutex_init (),
3705 _GLIBCPP_mutex_address_init (), _GLIBCPP_once, _GLIBCPP_mutex
3706 and _GLIBCPP_mutex_address.
3707 * include/bits/stl_threads.h (_STL_mutex_lock): Use above to provide
3708 once-only runtime initialization of _M_lock mutex when
3709 __GTHREAD_MUTEX_INIT_FUNCTION is defined.
3710 (__STL_MUTEX_INITIALIZER): Provide initializer for _STL_mutex_lock
3711 for __GTHREAD_MUTEX_INIT_FUNCTION case.
3713 2001-06-13 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
3715 * testsuite/26_numerics/slice_array_assignment.cc (main): New test.
3717 * include/bits/slice_array.h (slice_array<>::operator=): Make
3718 public and implement.
3719 (slice_array<>::slice_array): Make copy-constructor public.
3721 * include/bits/valarray_array.h (__valarray_copy): Add another
3722 overload to copy between strided arrays.
3724 2001-06-13 Benjamin Kosnik <bkoz@redhat.com>
3726 * acinclude.m4 (GLIBCPP_CONFIGURE): Bump version to 3.0.0.
3727 * aclocal.m4: Regenerate.
3728 * configure: Regenerate.
3729 * include/bits/c++config (__GLIBCPP__): Update date.
3731 2001-06-12 Benjamin Kosnik <bkoz@redhat.com>
3733 * include/bits/fpos.h (fpos::operator-): Don't return reference,
3734 return original, non-modified version.
3735 (fpos::operator+): Same.
3736 * testsuite/27_io/fpos.cc: Add test.
3738 2001-06-12 Loren J. Rittle <ljrittle@acm.org>
3741 * porting.texi: Add documentation about libstdc++-v3-specific
3742 macros that are currently included in os_defines.h files.
3744 * config/basic_file_stdio.h (sys_getc): New method.
3745 (sys_ungetc): New method.
3746 * include/bits/basic_file.h: (sys_getc): New method signature.
3747 (sys_ungetc): New method signature.
3749 * include/bits/fstream.tcc (underflow): Add conditional code
3750 paths which avoid using short seeks on streams (especially
3751 useful when the stream might be interactive or a pipe). At
3752 the moment, this alternate path only avoids seeking when the
3753 ``buffer size'' of underflow() is 1 since the C standard only
3754 guarantees buffer space for one ungetc (this technique could
3755 be extended since *-*-solaris* supports buffering for 4 calls
3756 to ungetc and *-*-*bsd* supports buffering limited only by
3757 memory resources). Also, _GLIBCPP_AVOID_FSEEK must be defined
3758 in a port's os_defines.h file for this alternate path to even
3759 be considered. As a bonus, the idiom of using getc/ungetc
3760 requires no system calls whereas fseek maps to one or two
3761 system call(s) on many platforms.
3763 * config/os/bsd/freebsd/bits/os_defines.h (_GLIBCPP_AVOID_FSEEK):
3765 * config/os/solaris/solaris2.5/bits/os_defines.h
3766 (_GLIBCPP_AVOID_FSEEK): Likewise.
3767 * config/os/solaris/solaris2.6/bits/os_defines.h
3768 (_GLIBCPP_AVOID_FSEEK): Likewise.
3769 * config/os/solaris/solaris2.7/bits/os_defines.h
3770 (_GLIBCPP_AVOID_FSEEK): Likewise.
3772 2001-06-12 Benjamin Kosnik <bkoz@redhat.com>
3774 * acinclude.m4 (GLIBCPP_CHECK_COMPILER_VERSION): Change to
3775 AC_TRY_COMPILE, so that the built compiler is checked, and
3776 bootstraps or cross compiles with an older compile still work.
3777 * aclocal.m4: Regenerate.
3778 * configure: Regenerate.
3780 2001-06-12 Benjamin Kosnik <bkoz@redhat.com>
3783 * include/bits/std_sstream.h: Add allocator_type, as per DR 251.
3786 * include/bits/istream.tcc (getline, get): Fix as per DR 243.
3789 * include/bits/std_bitset.h (bitset::set): Fix as per DR 186.
3792 * include/bits/limits_generic.h: Fix as per DR 184.
3794 2001-06-11 Benjamin Kosnik <bkoz@redhat.com>
3797 * include/bits/basic_string.h (string::compare): Adjust signatures
3799 * include/bits/basic_string.tcc: And here.
3802 * config/c_io_stdio.h: Remove whitespace.
3803 * testsuite/27_io/istream_seeks.cc (test03): Add regression.
3804 (test02): Add regression.
3805 * testsuite/27_io/istream_seeks-3.tst: New file.
3807 2001-06-11 Phil Edwards <pme@sources.redhat.com>
3809 * README: Update to reflect reality.
3810 * acinclude.m4: Update descriptions, fix typos. Comment changes only.
3811 * configure.in: Make certain target_alias is set and subst'd for 2.50.
3812 * aclocal.m4: Regenerate.
3813 * configure: Regenerate (with 2.13).
3815 2001-06-11 Benjamin Kosnik <bkoz@redhat.com>
3818 * include/bits/ostream.tcc (ostream::seekp): Add error checking as
3820 * include/bits/istream.tcc (istream::seekg): Same.
3821 * testsuite/27_io/istream_seeks.cc: Fix.
3824 * include/bits/stl_function.h (binder2nd): Fix as per DR 109.
3826 * include/bits/std_queue.h: Add c++config.h.
3827 * testsuite/20_util/binders.cc: New test.
3829 2001-06-11 Matthias Klose <doko@debian.org>
3830 Phil Edwards <pme@sources.redhat.com>