1 2002-01-16 David Edelsohn <dje@watson.ibm.com>
3 * acinclude.m4 (GLIBCPP_CHECK_LINKER_FEATURES): Do not clear
4 SECTION_LDFLAGS and OPT_LDFLAGS. Fix ac_sectionLDflags type.
5 * aclocal.m4: Regenerate.
6 * configure: Regenerate.
8 2002-01-16 Benjamin Kosnik <bkoz@redhat.com>
10 * include/Makefile.am (c_base_headers_rename): New.
11 (c_base_headers_extra): New.
12 (stamp-c_base): Modify.
13 (install-data-local): Use both.
14 * include/Makefile.in: Regenerate.
15 * include/c/[cctype ciso646 cmath cstdarg cstdlib cerrno climits
16 csetjmp cstddef cstring cwchar cassert cfloat clocale csignal
17 cstdio ctime cwctype]: Move to..
18 * include/c/std_*: Here.
19 * include/c_std/[cctype ciso646 cmath cstdarg cstdlib cerrno climits
20 csetjmp cstddef cstring cwchar cassert cfloat clocale csignal
21 cstdio ctime cwctype]: Move to..
22 * include/c_std/std_*: Here.
24 Alexandre Oliva <aoliva@redhat.com>
25 * include/Makefile.am (.PRECIOUS): Add rule.
26 * include/Makefile.in: Regenerate.
28 2002-01-16 Benjamin Kosnik <bkoz@redhat.com>
29 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
31 * include/bits/stl_iterator.h (reverse_iterator::_M_current):
32 Deuglify, should be current.
33 (back_insert_iterator::_M_container): Deuglify, should be container.
34 (front_insert_iterator::_M_container): Same.
35 (insert_iterator::_M_container): Same.
36 * testsuite/24_iterators/reverse_iterator.cc: Add check.
37 * testsuite/24_iterators/back_insert_iterator.cc: Add check.
38 * testsuite/24_iterators/front_insert_iterator.cc: Same.
39 * testsuite/24_iterators/insert_iterator.cc: Same.
41 2002-01-16 Benjamin Kosnik <bkoz@redhat.com>
43 * include/bits/locale_facets.h (ctype<char>::classic_table): Make
45 (ctype<char>::_M_ctable): Make static, change name to _S_ctable.
46 * config/os/gnu-linux/bits/ctype_noninline.h: Define _S_ctable.
47 * config/os/solaris/solaris2.7/bits/ctype_noninline.h: Same.
48 * config/os/solaris/solaris2.6/bits/ctype_noninline.h: Same.
49 * config/os/solaris/solaris2.5/bits/ctype_noninline.h: Same.
50 * config/os/newlib/bits/ctype_noninline.h: Same.
51 * config/os/irix/irix6.5/bits/ctype_noninline.h: Same.
52 * config/os/irix/irix5.2/bits/ctype_noninline.h: Same.
53 * config/os/hpux/bits/ctype_noninline.h: Same.
54 * config/os/djgpp/bits/ctype_noninline.h: Same.
55 * config/os/bsd/netbsd/bits/ctype_noninline.h: Same.
56 * config/os/bsd/freebsd/bits/ctype_noninline.h: Same.
57 * config/os/aix/bits/ctype_noninline.h: Same.
59 Testcase by Dietmar Kühl via Peter Schmid
60 * testsuite/22_locale/ctype_members_char.cc (char>): Add test for
63 2002-01-16 Benjamin Kosnik <bkoz@redhat.com>
65 * libmath/signbitl.c: Copyright years as list, not range.
66 * libmath/Makefile.am: Same.
67 * libmath/Makefie.in: Regenerate.
68 * libmath/signbit.c: Same.
69 * libmath/nan.c: Same.
70 * libmath/copysignf.c: Same.
71 * libmath/signbitf.c: Same.
72 * testsuite/22_locale/money_get_members_char.cc: Same.
73 * testsuite/22_locale/money_get_members_wchar_t.cc: Same.
74 * testsuite/22_locale/money_put_members_char.cc: Same.
75 * testsuite/22_locale/money_put_members_wchar_t.cc: Same.
76 * testsuite/22_locale/time_get_members_char.cc: Same.
77 * testsuite/22_locale/time_get_members_wchar_t.cc: Same.
78 * testsuite/22_locale/time_put_members_char.cc: Same.
79 * testsuite/22_locale/time_put_members_wchar_t.cc: Same.
80 * testsuite/21_strings/nonmember.cc: Same.
81 * testsuite/21_strings/compare.cc: Same.
82 * testsuite/27_io/stringstream.cc: Same.
83 * testsuite/27_io/stringbuf.cc: Same.
84 * testsuite/27_io/filebuf.cc: Same.
85 * testsuite/27_io/ios_manip_basefield.cc: Same.
86 * testsuite/27_io/ios_manip_fmtflags.cc: Same.
87 * include/bits/cpp_type_traits.h: Same.
88 * include/bits/generic_shadow.h: Same.
89 * include/bits/gslice_array.h: Same.
90 * include/bits/gslice.h: Same.
91 * include/bits/indirect_array.h: Same.
92 * include/bits/slice_array.h: Same.
93 * include/bits/sstream.tcc: Same.
94 * include/bits/streambuf_iterator.h: Same.
95 * include/bits/valarray_array.tcc: Same.
96 * include/bits/valarray_meta.h: Same.
97 * include/bits/valarray_array.h: Same.
98 * config/os/mingw32/bits/ctype_noninline.h: Same.
99 * config/os/mingw32/bits/ctype_base.h: Same.
100 * config/os/hpux/bits/ctype_noninline.h: Same.
101 * config/os/hpux/bits/ctype_base.h: Same.
102 * config/os/gnu-linux/bits/ctype_noninline.h: Same.
103 * config/os/gnu-linux/bits/ctype_base.h: Same.
104 * config/os/generic/bits/ctype_noninline.h: Same.
105 * config/os/generic/bits/ctype_base.h: Same.
107 * libsupc++/tinfo.h: Tweaks.
109 2002-01-15 Benjamin Kosnik <bkoz@redhat.com>
111 * testsuite/22_locale/num_put_members_wchar_t.cc (test02): Same.
112 * testsuite/22_locale/num_put_members_char.cc (test01): Tweak.
113 * testsuite/22_locale/ctype_members_char.cc: Tweak.
115 2002-01-15 Benjamin Kosnik <bkoz@redhat.com>
117 * include/bits/locale_facets.tcc (num_put::do_put(bool): Fix.
118 (num_put::do_put(void*)): Fix.
119 * testsuite/22_locale/num_put_members_char.cc (test02): Add.
120 * testsuite/22_locale/num_put_members_wchar_t.cc (test02): Add.
121 * testsuite/22_locale/num_get_members_char.cc (test02): Add
122 long double, void, bool types.
123 * testsuite/22_locale/num_get_members_wchar_t.cc (test02): Add.
125 2002-01-15 Benjamin Kosnik <bkoz@redhat.com>
126 Alexandre Oliva <aoliva@redhat.com>
128 * libmath/Makefile.am (LINK): Add --tag CC.
129 * libmath/Makefile.in: Regenerate.
131 2002-01-15 John David Anglin <dave@hiauly1.hia.nrc.ca>
133 * config/os/hpux/bits/ctype_noninline.h: Use __SB_masks for address
134 of character to attribute mapping table.
136 2002-01-15 David Billinghurst <David.Billinghurst@riotinto.com>
138 * testsuite/26_numerics/c99_classification_macros_c.cc
139 Remove dg-error and dg-excess-errors comments.
141 2002-01-14 Benjamin Kosnik <bkoz@redhat.com>
143 * include/bits/locale_facets.tcc (time_put::put): Correct output
145 * testsuite/22_locale/time_put_members_char.cc (test02): Add.
146 * testsuite/22_locale/time_put_members_wchar_t.cc (test02): Add.
147 * testsuite/22_locale/time_get_members_wchar_t.cc (test06): Add.
148 * testsuite/22_locale/time_get_members_char.cc (test06): Add.
150 2002-01-14 Craig Rodrigues <rodrigc@gcc.gnu.org>
152 * docs/html/17_intro/porting-howto.xml: Update filebuf section.
154 2002-01-14 Paolo Carlini <pcarlini@unitus.it>
155 Nathan Myers <ncm@cantrip.org>
157 * include/bits/basic_string.h
158 (replace(__pos, __n1, __s, __n2)): Optimize by avoiding
159 temporaries (i.e., call _M_replace_safe) when possible.
160 (replace(__pos, __n, __str)): Call replace(__pos, __n1, __s, __n2).
161 (replace(__pos, __n1, __s)): Call replace(__pos, __n1, __s , __n2).
162 (replace(__i1, __i2, __str)): Call replace(__i1, __i2, __s, __n).
163 (replace(__i1, __i2, __s)): Call replace(__i1, __i2, __s, __n).
164 (replace(__i1, __i2, __s, __n)): Call replace(__pos1, __n1, __s, __n2).
165 * include/bits/basic_string.tcc
166 (replace(__pos1, __n1, __str, __pos2, __n2)): Call
167 replace(__pos, __n1, __s, __n2).
168 * testsuite/21_strings/replace.cc (test03): New testcases.
170 * include/bits/basic_string.h (insert(__pos, __s, __n)):
171 Adjust comparison wrt overflow.
173 2002-01-12 Benjamin Kosnik <bkoz@redhat.com>
175 * include/Makefile.am (std_headers_rename): New variable.
176 (install-data-local): Use it.
177 * include/Makefile.in: Regenerate.
179 2002-01-12 Benjamin Kosnik <bkoz@redhat.com>
181 * include/bits/locale_facets.tcc (money_put::do_put(string):
182 Correct output iterator value.
183 * testsuite/22_locale/money_put_members_char.cc (test03): Add.
184 * testsuite/22_locale/money_put_members_wchar_t.cc: Same.
186 2002-01-11 Phil Edwards <pme@gcc.gnu.org>
188 * include/Makefile.am, include/Makefile.in (stamp-std): Fix typo from
191 2002-01-11 Phil Edwards <pme@gcc.gnu.org>
193 * include/Makefile.am (std_headers): Update list with new names.
194 (stamp-std): Link to standardized name.
195 * include/Makefile.in: Regenerate.
197 * include/std/algorithm, include/std/bitset, include/std/complex,
198 include/std/deque, include/std/fstream, include/std/functional,
199 include/std/iomanip, include/std/ios, include/std/iosfwd,
200 include/std/iostream, include/std/istream, include/std/iterator,
201 include/std/limits, include/std/list, include/std/locale,
202 include/std/map, include/std/memory, include/std/numeric,
203 include/std/ostream, include/std/queue, include/std/set,
204 include/std/sstream, include/std/stack, include/std/stdexcept,
205 include/std/streambuf, include/std/string, include/std/utility,
206 include/std/valarray, include/std/vector: Rename to...
208 * include/std/std_algorithm.h, include/std/std_bitset.h,
209 include/std/std_complex.h, include/std/std_deque.h,
210 include/std/std_fstream.h, include/std/std_functional.h,
211 include/std/std_iomanip.h, include/std/std_ios.h,
212 include/std/std_iosfwd.h, include/std/std_iostream.h,
213 include/std/std_istream.h, include/std/std_iterator.h,
214 include/std/std_limits.h, include/std/std_list.h,
215 include/std/std_locale.h, include/std/std_map.h,
216 include/std/std_memory.h, include/std/std_numeric.h,
217 include/std/std_ostream.h, include/std/std_queue.h,
218 include/std/std_set.h, include/std/std_sstream.h,
219 include/std/std_stack.h, include/std/std_stdexcept.h,
220 include/std/std_streambuf.h, include/std/std_string.h,
221 include/std/std_utility.h, include/std/std_valarray.h,
222 include/std/std_vector.h: ...this.
224 2002-01-11 Loren Rittle <ljrittle@acm.org>
226 * include/Makefile.am (extra_target_headers): New list of all
227 target files built with ad hoc naming rules.
228 (stamp-*): Handle LN_S failure in manner portable across make
230 (install-data-local): Install header files from human-maintained
231 file lists and directory components instead of non-robust find.
232 * include/Makefile.in: Rebuilt.
234 2002-01-11 Benjamin Kosnik <bkoz@redhat.com>
236 * include/bits/locale_facets.tcc (money_get::do_get(string)):
237 Check for zero-length negative sign before adding it to output
239 (money_get::do_get(long double)): Return beg.
240 * testsuite/22_locale/money_get_members_char.cc (test02): Add
242 * testsuite/22_locale/money_get_members_wchar_t.cc: Same.
244 2002-01-10 David Seymour <seymour_dj@yahoo.com>
247 * include/bits/locale_facets.h (num_get<>): Return advanced iterator
248 for _M_extract_float and _M_extract_int
249 * include/bits/locale_facets.tcc (num_get<>::_M_extract_float)
250 (num_get<>::_M_extract_int): Likewise, all callers changed
251 * testsuite/22_locale/num_get_members_char.cc: Testcase
253 2002-01-09 Paolo Carlini <pcarlini@unitus.it>
255 * libsupc++/exception (bad_exception): Add comment.
256 * libsupc++/new (bad_alloc): Same.
257 * libsupc++/typeinfo (bad_cast, bad_typeid): Same.
259 2002-01-09 Paolo Carlini <pcarlini@unitus.it>
261 libstdc++/3150: revert 2001-11-30 commit. DR266 only means
262 that the destructors should be removed from the descriptions
263 in the standard: writing them explicitly allows the vtable
264 heuristic to work. For additional information see:
265 http://gcc.gnu.org/ml/libstdc++/2002-01/msg00090.html
266 http://gcc.gnu.org/ml/libstdc++/2002-01/msg00110.html
267 http://gcc.gnu.org/ml/libstdc++/2002-01/msg00155.html
268 * libsupc++/exception (bad_exception::~bad_exception()):
269 Reintroduce declaration.
270 * libsupc++/new (bad_alloc::~bad_alloc()): Same.
271 * libsupc++/typeinfo (bad_cast::~bad_cast()): Same.
272 (bad_typeid::~bad_typeid()): Same.
273 * libsupc++/eh_exception.cc (bad_exception::~bad_exception()):
274 Reintroduce definition.
275 * libsupc++/new_handler.cc (bad_alloc::~bad_alloc()): Same.
276 * libsupc++/tinfo.cc (bad_cast::~bad_cast()): Same.
277 (bad_typeid::~bad_typeid()): Same.
279 2002-01-09 Benjamin Kosnik <bkoz@redhat.com>
281 * include/Makefile.am (c_base_srcdir): Remove duplicate '/'.
282 * include/Makefile.in: Regenerate.
284 2002-01-09 Bo Thorsen <bo@suse.co.uk>
286 * config/cpu/x86-64/bits/cpu_limits.h (__glibcpp_long_bits): Add
289 2002-01-08 Benjamin Kosnik <bkoz@redhat.com>
293 * include/bits/fstream.tcc (filebuf::_M_really_overflow): Test
294 return value of _M_file->sync().
295 (filebuf::showmanyc): Check for is_open.
296 * include/std/fstream (filebuf::sync): Tweak.
297 * testsuite/27_io/filebuf.cc: Tweak.
299 2002-01-08 John Fardo <jfardo@laurelnetworks.com>
300 Brad Garcia <garsh@attbi.com>
302 * testsuite/27_io/filebuf_members.cc: Add test.
304 2002-01-07 Benjamin Kosnik <bkoz@redhat.com>
305 Craig Rodrigues <rodrigc@mediaone.net>
308 * po/Makefile.am (mkinstalldirs): Add.
309 * po/Makefile.in: Regenerate.
311 2002-01-07 David Billinghurst <David.Billinghurst@riotinto.com>
313 * testsuite_flags.in: Add -fmessage-length=0 to CXXFLAGS *
314 testsuite/lib/prune.exp: Delete lines ":In function ..." from
316 * testsuite/23_containers/map_operators.cc: Remove
317 dg-excess-errors comment.
318 * testsuite/23_containers/set_operators.cc: Likewise.
320 2002-01-06 Paolo Carlini <pcarlini@unitus.it>
322 * include/bits/stl_function.h: Remove two lines of comments;
323 adjust copyright years.
325 2002-01-04 Benjamin Kosnik <bkoz@redhat.com>
327 * include/Makefile.am (std_headers): Remove cXXX from list.
328 (c_base_srcdir): No bits subdirectory.
329 (c_base_builddir): Same.
330 (c_base_headers): Adjust names, add ciso646.
331 (bits_headers): Remove std_xxx.h headers.
332 * include/Makefile.in: Regenerate.
334 * include/ext/iterator: Adjust includes.
335 * include/ext/ropeimpl.h: Same.
336 * include/ext/stl_hash_fun.h: Same.
337 * include/ext/algorithm: Same.
339 * include/backward/bvector.h: Adjust includes.
340 * include/backward/vector.h: Same.
341 * include/backward/strstream: Same.
342 * include/backward/streambuf.h: Same.
343 * include/backward/stack.h: Same.
344 * include/backward/set.h: Same.
345 * include/backward/queue.h: Same.
346 * include/backward/multiset.h: Same.
347 * include/backward/multimap.h: Same.
348 * include/backward/map.h: Same.
349 * include/backward/list.h: Same.
350 * include/backward/iterator.h: Same.
351 * include/backward/iostream.h: Same.
352 * include/backward/iomanip.h: Same.
353 * include/backward/fstream.h: Same.
354 * include/backward/deque.h: Same.
355 * include/backward/complex.h: Same.
357 * include/bits/std_algorithm.h: Move to...
358 * include/std/algorithm: ...here.
359 * include/bits/std_iosfwd.h, std_locale.h, std_stack.h,
360 std_bitset.h, std_ios.h, std_map.h, std_stdexcept.h,
361 std_complex.h, std_iostream.h, std_memory.h, std_streambuf.h,
362 std_deque.h, std_istream.h, std_numeric.h, std_string.h,
363 std_fstream.h, std_ostream.h, std_utility.h, std_iterator.h,
364 std_queue.h, std_valarray.h, std_functional.h, std_limits.h,
365 std_set.h, std_vector.h, std_iomanip.h, std_list.h, std_sstream.h:
368 * include/c_std/bits/std_cassert.h: Move to...
369 * include/c_std/cassert: Here.
370 * include/c_std/std_cctype.h, std_cerrno.h, std_cfloat.h,
371 std_climits.h, std_clocale.h, std_cmath.h, std_csetjmp.h,
372 std_csignal.h, std_cstdarg.h, std_cstddef.h, std_cstdio.h,
373 std_cstdlib.h, std_cstring.h, std_ctime.h, std_cwchar.h,
375 * include/c_std/cmath: Adjust cmath.tcc include.
376 * include/c_std/cstdlib: Adjust includes.
377 * include/c_std/cwchar: Same.
378 * include/c_std/ctime: Same.
379 * include/c_std/cstring: Same.
380 * include/c_std/cstdio: Same.
381 * include/c_std/bits: Remove directory.
383 * include/c/bits/std_cassert.h: Move to...
384 * include/c/cassert: Here.
385 * include/c/std_cctype.h, std_cerrno.h, std_cfloat.h,
386 std_climits.h, std_clocale.h, std_cmath.h, std_csetjmp.h,
387 std_csignal.h, std_cstdarg.h, std_cstddef.h, std_cstdio.h,
388 std_cstdlib.h, std_cstring.h, std_ctime.h, std_cwchar.h,
390 * include/c/bits: Remove directory.
392 * include/std/cwctype: Remove.
393 * include/std/cwchar: Remove.
394 * include/std/ctime: Remove.
395 * include/std/cstring: Remove.
396 * include/std/cstdlib: Remove.
397 * include/std/cstdio: Remove.
398 * include/std/cstddef: Remove.
399 * include/std/cstdarg: Remove.
400 * include/std/csignal: Remove.
401 * include/std/csetjmp: Remove.
402 * include/std/cmath: Remove.
403 * include/std/clocale: Remove.
404 * include/std/climits: Remove.
405 * include/std/ciso646: Remove.
406 * include/std/cfloat: Remove.
407 * include/std/cerrno: Remove.
408 * include/std/cctype: Remove.
409 * include/std/cassert: Remove.
411 * include/bits/fpos.h: Adjust includes, removing <bits/std_xxx.h>
412 files and subsituting <.xxx>
413 * include/bits/valarray_array.h: Same.
414 * include/bits/stl_uninitialized.h: Same.
415 * include/bits/stl_alloc.h: Same.
416 * include/bits/stl_algobase.h: Same.
417 * include/bits/sstream.tcc: Same.
418 * include/bits/pthread_allocimpl.h: Same.
419 * include/bits/ostream.tcc: Same.
420 * include/bits/localefwd.h: Same.
421 * include/bits/locale_facets.tcc: Same.
422 * include/bits/locale_facets.h: Same.
423 * include/bits/istream.tcc: Same.
424 * include/bits/char_traits.h: Same.
425 * include/bits/boost_concept_check.h: Same.
426 * include/bits/basic_file.h: Same.
427 * include/std/bitset: Same.
428 * include/std/complex: Same.
429 * include/std/fstream: Same.
430 * include/std/functional: Same.
431 * include/std/ios: Same.
432 * include/std/iostream: Same.
433 * include/std/ostream: Same.
434 * include/std/sstream: Same.
435 * include/std/streambuf: Same.
436 * include/std/string: Same.
437 * include/std/iterator: Same.
438 * include/std/valarray: Same.
440 * src/ios.cc: Adjust includes.
441 * src/valarray-inst.cc: Same.
442 * src/string-inst.cc: Same.
443 * src/stl-inst.cc: Same.
444 * src/stdexcept.cc: Same.
445 * src/misc-inst.cc: Same.
446 * src/localename.cc: Same.
447 * src/locale-inst.cc: Same.
448 * src/locale.cc: Same.
449 * src/limits.cc: Same.
450 * src/concept-inst.cc: Same.
451 * src/complex_io.cc: Same.
452 * src/codecvt.cc: Same.
453 * src/bitset.cc: Same.
454 * src/cmath.cc: Same.
456 2002-01-04 Paolo Carlini <pcarlini@unitus.it>
458 * include/bits/stl_tree.h (rb_tree): Move to...
459 * include/ext/rb_tree: ...here, new file.
460 * include/Makefile.am (ext_headers): Add new file.
461 * include/Makefile.in: Regenerate.
462 * include/bits/stl_tempbuf.h (get_temporary_buffer + helper,
463 return_temporary_buffer, struct temporary_buffer): Move to...
464 * include/ext/memory: ...here.
465 * testsuite/ext/headers.cc: Include <ext/rb_tree>.
466 * include/backward/tempbuf.h: Include <ext/memory>, tweak.
467 * include/backward/tree.h: Include <ext/rb_tree), tweak.
469 2002-01-03 Paolo Carlini <pcarlini@unitus.it>
471 * include/bits/stl_numeric.h (power + helpers, iota): Move to...
472 * include/ext/numeric: ...here, new file.
473 * include/bits/stl_function.h (identity_element, unary_compose,
474 binary_compose, compose1, compose2, identity, select1st,
475 select2nd, project1st + helper, project2nd + helper,
476 constant_void_fun + helper, constant_unary_fun + helper,
477 costant_binary_fun + helper, constant0, constant1, constant2,
478 subtractive_rng, mem_fun1, mem_fun1_ref): Move to...
479 * include/ext/functional: ...here, new file.
480 * include/Makefile.am (ext_headers): Add new files.
481 * include/Makefile.in: Regenerate.
482 * testsuite/ext/headers.cc: Include <ext/numeric> and
484 * include/backward/algo.h: Include <ext/numeric>, tweak.
485 * include/backward/function.h: Include <ext/functional>, tweak.
486 * include/ext/ropeimpl.h: Include <ext/numeric>.
488 2002-01-03 Jeffrey A Law <law@redhat.com>
490 * config/os/hpux/bits/os_defines.h: Prefix __strtoll and
491 __strtoull declarations with __extension__.
493 2002-01-03 David Billinghurst <David.Billinghurst@riotinto.com>
495 * testsuite/lib/prune.exp: Correct regular expression for
498 2002-01-02 Phil Edwards <pme@gcc.gnu.org>
500 * include/bits/stl_algo.h (upper_bound, equal_range, binary_search):
501 Change concept checks, as with lower_bound and PR 2054.
502 * testsuite/ext/concept_checks.cc: Expand test to include those.
504 2002-01-02 Phil Edwards <pme@gcc.gnu.org>
506 * include/bits/boost_concept_check.h: Import some changes from
507 upsteam (Boost) version.
509 2002-01-02 Paolo Carlini <pcarlini@unitus.it>
511 * include/bits/stl_algobase.h (copy_n + helpers,
512 lexicographical_compare_3way + helpers): Move to...
513 * include/ext/algorithm: ...here.
514 * include/bits/stl_uninitialized.h (uninitialized_copy_n +
516 * include/ext/memory: ...here, new file.
517 * include/Makefile.am (ext_headers): Add new file.
518 * include/Makefile.in: Regenerate.
519 * testsuite/ext/headers.cc: Include <ext/memory>.
520 * include/backward/algobase.h: Include <ext/memory> and
521 <ext/algorithm>, tweak.
522 * include/ext/ropeimpl.h: Include <ext/memory>, tweak.
523 * include/ext/stl_rope.h: Include <ext/memory>, tweak.
525 2002-01-01 Roger Sayle <roger@eyesopen.com>
527 * libmath/stubs.c (sinf,cosf): Implement stubs to enable the
528 equivalent ___builtin__ versions.
530 * include/c_shadow/bits/std_cmath.h: All __builtin math functions
531 are available in libstdc++ as the necessary stub implementations
532 are provided by libmath/stubs.c.
534 2002-01-01 Jason Thorpe <thorpej@wasabisystems.com>
536 * configure.in: Add support for NetBSD cross compiles.
537 * configure: Regenerate.
539 2001-12-31 Paolo Carlini <pcarlini@unitus.it>
541 * include/ext/iterator: Add #include <bits/std_iterator.h>, tweak.
542 * testsuite/ext/headers.cc: Add <ext/iterator>.
544 2001-12-31 Paolo Carlini <pcarlini@unitus.it>
546 * include/backward/algo.h: Add two more using declarations.
547 * include/backward/iterator.h: Include <ext/iterator>,
548 add using declaration.
549 * include/ext/algorithm: Add #pragma GCC system_header.
551 2001-12-31 Phil Edwards <pme@gcc.gnu.org>
553 * include/bits/stl_bvector.h: Change calls to 3-argument distance()
554 into standard 2-argument version.
555 * include/bits/stl_deque.h: Likewise.
556 * include/bits/stl_tempbuf.h: Likewise.
557 * include/bits/stl_tree.h: Likewise.
558 * include/bits/stl_vector.h: Likewise.
559 * include/ext/stl_hashtable.h: Likewise.
560 * include/bits/stl_iterator_base_funcs.h: Move distance() extension...
561 * include/ext/iterator: to here. New file.
562 * include/Makefile.am (ext_headers): Add new file, alphabatize.
563 * include/Makefile.in: Regenerate.
565 2001-12-31 Phil Edwards <pme@gcc.gnu.org>
567 * include/bits/stl_deque.h: Doxygenate with initial/example hooks.
568 Clean up spacing and indentation.
570 2001-12-31 Paolo Carlini <pcarlini@unitus.it>
572 * include/ext/slist: Move into __gnu_cxx,
573 tweak, add using declarations.
575 2001-12-31 Paolo Carlini <pcarlini@unitus.it>
577 * include/ext/hash_map: Move into __gnu_cxx,
578 tweak, add using declarations.
579 * include/ext/hash_set: Ditto.
580 * include/ext/ropeimpl.h: Ditto.
581 * include/ext/stl_hash_fun.h: Ditto.
582 * include/ext/stl_hashtable.h: Ditto.
583 * include/ext/stl_rope.h: Ditto.
584 * src/ext-inst.cc: Tweak.
585 * testsuite/ext/rope.cc: Tweak.
587 2001-12-31 Paolo Carlini <pcarlini@unitus.it>
589 * include/backward/algo.h: Include <ext/algorithm>,
590 tweak using declarations.
592 2001-12-29 Richard Henderson <rth@redhat.com>
594 * config/os/hpux/bits/os_defines.h: Don't define __glibcpp_long_bits.
595 * config/os/hpux/bits/cpu_limits.h: New file.
596 * configure.target (CPULIMITSH): Use it.
598 2001-12-28 Richard Henderson <rth@redhat.com>
600 * config/cpu/ia64/bits/cpu_limits.h: New file.
601 * config/os/osf/osf5.0/bits/cpu_limits.h: New file.
602 * configure.target (CPULIMITSH): Use them.
604 2001-12-28 Phil Edwards <pme@gcc.gnu.org>
606 * include/bits/c++config: Move doxygen hook comment...
607 * docs/doxygen/doxygroups.cc: ...to here.
609 2001-12-28 Phil Edwards <pme@gcc.gnu.org>
612 * include/bits/stl_algo.h (lower_bound): Relax concept checks.
613 * testsuite/ext/concept_checks.cc: New file.
615 2001-12-28 Paolo Carlini <pcarlini@unitus.it>
617 * include/bits/stl_algo.h (count returning void,
618 count_if returning void, __random_sample, random_sample,
619 random_sample_n, __is_heap, is_heap, is_sorted): Move to...
620 * include/ext/algorithm: ...here, new file.
621 * include/Makefile.am (ext_headers): Add new file.
622 * include/Makefile.in: Regenerate.
623 * testsuite/ext/headers.cc: Include <ext/algorithm>.
625 2001-12-28 Paolo Carlini <pcarlini@unitus.it>
626 Nathan Myers <ncm@cantrip.org>
628 * include/bits/basic_string.h (insert(__pos, __s, __n)):
629 Optimize by avoiding temporaries and working in-place when possible.
630 (insert(__pos1, __str)): Call insert(__pos1, __str, __pos2, __n).
631 (insert(__pos1, __str, __pos2, __n)): Call insert(__pos, __s, __n).
632 * testsuite/21_strings/insert.cc (test02): New testcases.
634 2001-12-27 Phil Edwards <pme@gcc.gnu.org>
636 * testsuite/testsuite_hooks.h (gnu_counting_struct): Add.
637 * testsuite/23_containers/deque_ctor.cc: New file.
639 2001-12-27 Paolo Carlini <pcarlini@unitus.it>
641 * include/bits/locale_facets.tcc (collate::do_transform):
642 Adjust implicit typename.
643 * config/locale/messages_members_generic.h (messages::open,
644 messages::do_open, messages::do_get): Adjust implicit typename.
645 * config/locale/messages_members_gnu.h (messages::open,
646 messages::do_open, messages::do_get): Adjust Implicit typename.
647 * config/locale/messages_members_ieee_1003.1-200x.h (messages::open,
648 messages::do_open, messages::do_get): Adjust implicit typename.
650 2001-12-27 Phil Edwards <pme@gcc.gnu.org>
653 * src/misc-inst.cc: Many additional I/O-related instantiations.
654 * testsuite/27_io/instantiations.cc: New file.
656 2001-12-26 Benjamin Kosnik <bkoz@waller.constant.com>
658 * testsuite/24_iterators/insert_iterator.cc (test02): Add.
659 * testsuite/24_iterators/front_insert_iterator.cc (test02): Add.
660 * testsuite/24_iterators/back_insert_iterator.cc (test02): Add.
661 * testsuite/24_iterators/reverse_iterator.cc (test02): Add.
663 * include/bits/stl_iterator.h (reverse_iterator): Uglify member
664 current to _M_current.
665 (back_insert_iterator): Uglify member container to _M_container.
666 (front_insert_iterator): Same.
667 (insert_iterator): Same.
669 2001-12-25 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
671 * include/bits/std_limits.h (__glibcpp_xxx_is_modulo): New
672 macros for signed types; default value is true.
673 (numeric_limits<>::is_modulo): Get value from corresponding
674 __glibcpp_xxx_is_modulo macro.
676 2001-12-23 Jeffrey A Law <law@redhat.com>
678 * config/os/hpux/bits/os_defines.h: Do not include <_sys/inttypes.h>.
679 Twiddle return types for strtoll and strtoull to avoid using
680 intmax_t and uintmax-t.
682 2001-12-22 Richard Henderson <rth@redhat.com>
684 * configure.target (CPULIMITSH): Fix typo in alpha case.
686 2001-12-22 Jeffrey A Law <law@redhat.com>
688 * config/os/hpux/bits/os_defines.h: Update to avoid #defines
689 for strtoll and strtoull.
691 2001-12-21 Jeffrey A Law <law@redhat.com>
693 * config/os/hpux/bits/os_defines.h: Include <sys/_inttypes.h.
694 Define strtoll and strtoull. Provide prototypes for
695 __strtoll and __strtoull. Define _GLIBCPP_USE_LONG_LONG
698 * src/locale-inst.cc: Include <bits/std_cstdlib.h>
700 * configure.target: Fix typo in hpux case.
702 2001-12-21 Paolo Carlini <pcarlini@unitus.it>
704 * include/ext/stl_rope.h (_Rope_iterator):
705 Add local typedef to fix implicit typename problems.
707 2001-12-19 Phil Edwards <pme@gcc.gnu.org>
709 * docs/doxygen/Intro.3: New 'Allocators' module.
710 * docs/doxygen/TODO: Update.
711 * docs/doxygen/doxygroups.cc: Update.
712 * docs/doxygen/run_doxygen: Update.
714 * include/bits/stl_alloc.h: Tweak doxygen hooks in comments.
715 * include/bits/std_memory.h: Doxygenate.
716 * include/bits/stl_iterator_base_types.h: Likewise.
717 * include/bits/stl_raw_storage_iter.h: Likewise.
718 * include/bits/stl_tempbuf.h: Likewise.
719 (get_temporary_buffer): Remove unused nonstandard overload.
720 * include/bits/stl_uninitialized.h: Likewise.
722 * include/bits/stl_iterator_base_types.h (input_iterator,
723 output_iterator, forward_iterator, bidirectional_iterator,
724 random_access_iterator): Move old names...
725 * include/backward/iterator.h: ...to here.
726 * include/bits/stl_bvector.h: Update.
727 * include/ext/stl_rope.h: Update.
729 2001-12-19 Phil Edwards <pme@gcc.gnu.org>
731 * docs/html/configopts.html: Describe recent options.
732 * docs/html/documentation.html: Point to new doxygen tarballs.
733 * docs/html/install.html: Brief updates.
734 * docs/html/17_intro/RELEASE-NOTES: Remove weird control character.
735 * docs/html/ext/howto.html: Fix typos, describe filebuf::fd().
736 * docs/html/faq/index.html: Update for 3.0.95.
737 * docs/html/faq/index.txt: Regenerate.
739 2001-12-19 David Billinghurst <David.Billinghurst@riotinto.com>
742 * testsuite/lib/libstdc++-v3-dg.exp: Append .exe to
745 2001-12-18 Benjamin Kosnik <bkoz@redhat.com>
747 * docs/html/17_intro/TODO: Update.
748 * docs/html/17_intro/RELEASE-NOTES: Edits, update.
749 * README: Edit for clarity, update to reflect current directory
752 2001-12-18 Benjamin Kosnik <bkoz@redhat.com>
754 * acinclude.m4 (GLIBCPP_ENABLE_CLOCALE): Extended checking before
756 * aclocal.m4: Rebuild.
757 * configure: Rebuild.
759 2001-12-18 Paolo Carlini <pcarlini@unitus.it>
760 Nathan Myers <ncm@cantrip.org>
762 * include/bits/basic_string.h (assign(__str, __pos, __n)):
763 Call assign(__s, __n).
764 (assign(__s, __n)): Terminate the string with _S_terminal.
766 2001-12-17 Benjamin Kosnik <bkoz@redhat.com>
768 * include/bits/std_limits.h (__glibcpp_long_double_is_bounded):
769 Set to true, like float and double.
771 2001-12-17 David Billinghurst <David.Billinghurst@riotinto.com>
774 * testsuite/lib/prune.exp: New file
775 * testsuite/lib/libstdc++-v3-dg.exp: Use it
777 2001-12-17 Phil Edwards <pme@gcc.gnu.org>
779 * include/bits/basic_file.h (__basic_file::fd): New function.
780 * config/io/basic_file_stdio.h (__basic_file::fd): Define.
781 * include/bits/std_fstream.h (basic_filebuf::fd): New function.
782 * include/bits/fstream.tcc (basic_filebuf::fd): Define.
783 * testsuite/27_io/filebuf_members.cc (test_02): New test.
785 2001-12-16 Nathan Sidwell <nathan@codesourcery.com>
787 * po/Makefile.am (.po.mo): Use POSIXLY_CORRECT argument ordering.
788 * po/Makefile.in: Regenerated.
790 2001-12-16 Paolo Carlini <pcarlini@unitus.it>
792 * testsuite/21_strings/assign.cc (test01): Add tests.
794 2001-12-15 Paolo Carlini <pcarlini@unitus.it>
795 Nathan Myers <ncm@cantrip.org>
797 * include/bits/basic_string.h
798 (assign(__str, __pos, __n), assign(__s, __n)): Optimize
799 by avoiding unnecessary temporaries.
800 (assign(__s)): Call assign(__s, __n).
801 * include/bits/basic_string.tcc (_M_replace_safe): Adjust comment.
802 * include/bits/std_string.h: include stl_function.h.
803 * testsuite/21_strings/assign.cc (test02, test03): New tests.
805 2001-12-15 Benjamin Kosnik <bkoz@redhat.com>
807 * acinclude.m4 (GLIBCPP_ENABLE_CLOCALE): Enable gnu locale model
809 * aclocal.m4: Regenerate.
810 * configure: Regenerate.
812 2001-12-14 Benjamin Kosnik <bkoz@redhat.com>
814 Clean up initialization and simplfy caching of underlying "C"
815 default locale objects.
816 * src/localename.cc (locale::_Impl::_Impl(string, size_t):
817 Unconditionally create __clocale object for all named locales,
818 including "C" and "POSIX".
819 * config/locale/c_locale_generic.cc
820 (locale::facet::_S_create_c_locale): Always set __cloc to zero.
821 * config/locale/c_locale_gnu.cc: Always delete.
822 * include/bits/localefwd.h (locale::facet::_S_c_locale): New.
823 * src/locale.cc (locale::classic()): Initialize
824 locale::facet::_S_c_locale.
825 (locale::facet::_S_c_locale): Define.
827 * include/bits/locale_facets.h: Add ctype_byname<wchar_t> ctor
829 * src/locale.cc: Add definition here.
830 * config/os/gnu-linux/bits/ctype_inline.h: Tweak.
831 * config/os/gnu-linux/bits/ctype_noninline.h: Adjust initializations.
832 * include/bits/locale_facets.h (ctype<char>::_M_c_locale_ctype): Add.
834 (ctype<char>::_M_toupper): Remove const&.
835 (ctype<char>::_M_tolower): Remove const&.
836 (ctype<char>::_M_ctable): Remove const&.
838 * include/bits/locale_facets.h (collate): Clean up initialization
839 of _M_c_locale_collate in ctors and dtors.
840 * config/locale/collate_members_gnu.cc: Always use extended
843 * include/bits/locale_facets.h (messages): Clean up inits in ctor/dtor.
844 (messages_byname): Same.
845 * config/locale/messages_members_generic.h (messages::~messages):
847 * config/locale/messages_members_gnu.h: Same.
849 * include/bits/localefwd.h: Clean. Move dtor definitions to
850 * src/locale.cc: Here.
851 * testsuite/22_locale/facet.cc: Fix spelling.
853 Named locale support for ctype<wchar_t>.
854 * acinclude.m4 (GLIBCPP_ENABLE_CLOCALE): Add variable
855 ctype_members_* bits.
856 * aclocal.m4: Regenerate.
857 * configure: Regenerate.
858 * src/Makefile.am (sources): Add ctype.cc.
859 * src/Makefile.in: Regenerate.
860 * config/locale/ctype_members_generic.cc: New file.
861 * config/locale/ctype_members_gnu.cc: New file.
862 * src/locale.cc: Remove ctype<wchart_t> definitions.
864 2001-12-13 Roger Sayle <roger@eyesopen.com>
866 * acconfig.h: Test for __builtin_sqrt instead of
868 * acinclude.m4: Same.
869 * include/c_shadow/bits/std_cmath.h: Same.
870 * aclocal.m4: Regenerated.
871 * config.h.in: Regenerated.
872 * configure: Regenerated.
874 2001-12-13 Phil Edwards <pme@gcc.gnu.org>
876 * docs/html/ext/howto.html: Fix typos.
878 2001-12-13 Benjamin Kosnik <bkoz@redhat.com>
881 * src/locale.cc (locale::locale(const char*)): Deal with locales
883 * testsuite/22_locale/ctor_copy_dtor.cc (test01): Modify.
885 2001-12-12 Paolo Carlini <pcarlini@unitus.it>
887 * include/ext/ropeimpl.h (rope::_S_leaf_concat_char_iter,
888 _S_destr_leaf_concat_char_iter, _S_tree_concat, _S_concat_char_iter,
889 _S_destr_concat_char_iter, _S_concat, _S_substring, _S_balance)
890 : Adjust implicit typename.
891 * include/ext/stl_rope.h (_Rope_iterator::operator=, rope::npos):
892 Adjust implicit typename.
893 * testsuite/27_io/streambuf.cc: Adjust implicit typename.
895 2001-12-12 Benjamin Kosnik <bkoz@redhat.com>
897 Named locale support for ctype<char>.
898 * config/locale/c_locale_gnu.h (_GLIBCPP_C_LOCALE_GNU): New.
899 * config/os/gnu-linux/bits/ctype_noninline.h (ctype<char>): Add
900 definitions for alternate constructor.
901 * config/os/solaris/solaris2.7/bits/ctype_noninline.h (ctype): Same.
902 * config/os/solaris/solaris2.6/bits/ctype_noninline.h (ctype): Same.
903 * config/os/solaris/solaris2.5/bits/ctype_noninline.h (ctype): Same.
904 * config/os/newlib/bits/ctype_noninline.h (ctype): Same.
905 * config/os/irix/irix6.5/bits/ctype_noninline.h (ctype): Same.
906 * config/os/irix/irix5.2/bits/ctype_noninline.h (ctype): Same.
907 * config/os/hpux/bits/ctype_noninline.h (ctype): Same.
908 * config/os/generic/bits/ctype_noninline.h (ctype): Same.
909 * config/os/djgpp/bits/ctype_noninline.h (ctype): Same.
910 * config/os/bsd/netbsd/bits/ctype_noninline.h (ctype): Same.
911 * config/os/bsd/freebsd/bits/ctype_noninline.h (ctype): Same.
912 * config/os/aix/bits/ctype_noninline.h (ctype): Same.
913 * include/bits/locale_facets.h (ctype<_CharT>): Remove dummy
914 definitions for all virtual functions. These are now explicitly
915 undefined for non-required factets, ie any non-char, non-wchar_t
917 * src/localename.cc (locale::_Impl::_Impl(string, size_t): Named
918 locales use alternate constructor for ctype facet.
919 * include/bits/locale_facets.h (ctype<char>::ctype(__c_locale, const
920 mask*, bool, size_t): Add.
921 (ctype<wchar_t>::ctype(__c_locale, size_t): Add.
922 * src/locale.cc (ctype<wchar_t>::ctype(__c_locale, size_t)): Add
925 * testsuite/22_locale/ctype_members_char.cc (test02): Add, mark
926 XFAIL for non-gnu locale models.
928 2001-12-12 Philip Martin <philip@codematters.co.uk>
929 Ross Smith <r-smith@ihug.co.nz>
930 Paolo Carlini <pcarlini@unitus.it>
933 * include/bits/std_limits.h (defines, numeric_limits<bool>::digits10):
934 Fix digits10 values for integral types.
935 * include/bits/locale_facets.tcc (num_get::do_get for integral types):
936 Tweak _M_extract_int call.
937 * testsuite/27_io/istream_extractor_arith.cc (test13, test12_aux):
938 Tweak overflowing number of digits.
939 * testsuite/18_support/numeric_limits.cc (test03): New testcase.
941 2001-12-11 Benjamin Kosnik <bkoz@redhat.com>
943 * config/os/generic/bits/ctype_inline.h: Remove spaces.
944 * config/os/gnu-linux/bits/ctype_noninline.h: Same.
945 * include/bits/locale_facets.h (__num_base): Move double data
946 members to first in class.
947 * include/bits/locale_facets.tcc: Re-arrange, tweak.
948 * src/locale.cc: Clean.
949 *include/bits/stl_vector.h: Space typedefs.
951 2001-12-11 Phil Edwards <pme@gcc.gnu.org>
953 * testsuite/ext/allocators.cc: New file.
955 2001-12-11 Jason Merrill <jason@redhat.com>
957 * include/bits/locale_facets.tcc (_M_extract_int): Avoid
958 uninitialized warning.
960 2001-12-11 Loren Rittle <ljrittle@acm.org>
962 * config/cpu/sparc/sparc32/bits/atomicity.h
963 (__Atomicity_lock<0>::_S_atomicity_lock): Add.
965 2001-12-10 Paolo Carlini <pcarlini@unitus.it>
967 * include/bits/basic_string.tcc (_M_replace_safe): Fix typos.
968 * include/bits/basic_string.h: Fix typos.
970 2001-12-10 Paolo Carlini <pcarlini@unitus.it>
971 Nathan Myers <ncm@cantrip.org>
973 * include/bits/basic_string.tcc (_M_replace_safe): New function.
974 (_M_replace(input_iterator_tag), append members): Use it.
975 (_M_replace(forward_iterator_tag)): Remove.
976 * include/bits/basic_string.h: Adjust declarations.
977 * src/string-inst.cc: Adjust declarations.
979 2001-12-09 Benjamin Kosnik <bkoz@redhat.com>
980 Philip Martin <pmartin@uklinux.net>
982 * include/bits/locale_facets.h (__num_base::_S_scale_hex): Add.
983 (__num_base::_S_scale_oct): Add.
984 * include/bits/locale_facets.tcc (_M_extract_int): Use them.
985 * src/locale.cc: Add definitions.
986 * testsuite/27_io/istream_extractor_arith.cc (main): Call test13.
988 * testsuite/testsuite_hooks.h: Remove duplicate VERIFY define.
990 2001-12-07 Nathan Myers <ncm@cantrip.org>
991 Loren Rittle <ljrittle@acm.org>
994 * config/cpu/sparc/sparc32/bits/atomicity.h
995 (struct __Atomicity_lock<__inst>): Add.
996 (__Atomicity_lock<__inst>::_S_atomicity_lock): Add.
997 (__exchange_and_add): Use __Atomicity_lock<0>::_S_atomicity_lock
998 instead of lock local to static function.
999 (__atomic_add): Likewise.
1001 2001-12-07 Phil Edwards <pme@gcc.gnu.org>
1003 * src/globals.cc: Remove __GTHREADS guard.
1005 2001-12-07 Paolo Carlini <pcarlini@unitus.it>
1007 * include/bits/locale_facets.tcc (num_put::_M_convert_float):
1008 Extend comment, reduce __cs_size for non-fixed outputs.
1010 2001-12-07 Paolo Carlini <pcarlini@unitus.it>
1012 * include/bits/basic_string.tcc (_M_mutate): Fix typo
1013 in the previous check in.
1015 2001-12-06 Paolo Carlini <pcarlini@unitus.it>
1016 Loren J. Rittle <ljrittle@acm.org>
1018 * include/bits/basic_string.tcc (_M_mutate, _M_clone): Implement
1019 exponential growth policy to meet linear amortized time
1020 requirements of the standard.
1021 (_S_create): Adjust comment.
1023 2001-12-06 Benjamin Kosnik <bkoz@redhat.com>
1026 * include/bits/locale_facets.tcc (num_put): Clean.
1027 (num_get::_M_extract_float): Change argument to string.
1028 (num_get::do_get(float)): Fixup.
1029 (num_get::do_get(double)): Same.
1030 (num_get::do_get(long double)): Same.
1031 (num_get::_M_extract_int): Add maximum length parameter, __max.
1032 (num_get::_M_extract_float): Correct zeros, use string.
1033 * include/bits/locale_facets.h (num_get::_M_extract_float): Change
1035 * src/locale.cc (__num_base::_S_atoms): Remove x, X.
1036 * testsuite/27_io/istream_extractor_arith.cc (test13): Add.
1038 2001-12-06 Philip Martin <pmartin@uklinux.net>
1040 * testsuite/27_io/istream_extractor_arith.cc (test12): Add
1041 tests for excess input digits.
1043 2001-12-06 Phil Edwards <pme@gcc.gnu.org>
1045 * include/bits/std_bitset.h: Use GLIBCPP in multiple-inclusion guard.
1046 * include/bits/stl_algo.h: Likewise.
1047 * include/bits/stl_algobase.h: Likewise.
1048 * include/bits/stl_bvector.h: Likewise.
1049 * include/bits/stl_deque.h: Likewise.
1050 * include/bits/stl_function.h: Likewise.
1051 * include/bits/stl_iterator.h: Likewise.
1052 * include/bits/stl_iterator_base_funcs.h: Likewise.
1053 * include/bits/stl_iterator_base_types.h: Likewise.
1054 * include/bits/stl_list.h: Likewise.
1055 * include/bits/stl_multimap.h: Likewise.
1056 * include/bits/stl_multiset.h: Likewise.
1057 * include/bits/stl_pair.h: Likewise.
1058 * include/bits/stl_queue.h: Likewise.
1059 * include/bits/stl_set.h: Likewise.
1060 * include/bits/stl_stack.h: Likewise.
1061 * include/bits/stl_tempbuf.h: Likewise.
1062 * include/bits/stl_tree.h: Likewise.
1063 * include/bits/stl_vector.h: Likewise.
1065 * include/bits/stl_alloc.h: Use our own multiple inclusion guards.
1066 Doxygenate more comments. Correct historical artifacts in comments.
1067 (alloc, single_alloc): Uglify non-standard names.
1068 (__default_alloc_template::_NFREELISTS): Calculate from other
1070 (__default_alloc_template::_S_free_list): Remove SunPro workaround.
1071 (__default_alloc_template::_Lock): Mark as "unused".
1072 * include/backward/alloc.h: Update.
1073 * include/bits/stl_bvector.h: Likewise.
1074 * include/ext/ropeimpl.h: Likewise.
1075 * include/ext/stl_hashtable.h: Likewise.
1077 2001-12-05 Benjamin Kosnik <bkoz@redhat.com>
1080 * include/bits/locale_facets.tcc (num_put::_M_widen_float): Add
1081 grouping to floating point types.
1082 * testsuite/27_io/ostream_inserter_arith.cc (test02): Add test.
1084 2001-12-04 Paolo Carlini <pcarlini@unitus.it>
1087 * testsuite/27_io/ostream_inserter_arith.cc (test02): Add testcase
1089 * include/bits/locale_facets.tcc (num_put::_M_convert_float):
1090 Deal properly with long ios_base::fixed floats.
1091 (num_put::_M_widen_float): use
1092 __len in __builtin_alloca call.
1094 2001-12-04 Benjamin Kosnik <bkoz@redhat.com>
1096 * src/Makefile.am (sources): Add ext-inst.cc.
1097 * src/Makefile.in: Regenerate.
1098 * src/ext-inst.cc: New file.
1099 * include/bits/stl_threads.h: Format.
1100 * src/globals.cc: Add instantiation for _S_swap_lock.
1102 * testsuite/18_support/numeric_limits.cc: Add numeric_limits<B>
1105 2001-12-04 John David Anglin <dave@hiauly1.hia.nrc.ca>
1107 * testsuite/22_locale/numpunct_members_wchar_t.cc: Only compile
1108 and execute test01 if _GLIBCPP_USE_WCHAR_T is defined.
1109 * testsuite/26_numerics/complex_inserters_extractors.cc: Provide
1110 for explicit instantiation of class std::basic_string<char,
1111 gnu_char_traits, std::allocator<char> >.
1113 2001-12-03 Benjamin Kosnik <bkoz@redhat.com>
1115 * testsuite/22_locale/collate.cc: Compile-only.
1116 * testsuite/22_locale/time_get.cc: Same.
1117 * testsuite/22_locale/time_put.cc: Same.
1118 * testsuite/22_locale/numpunct.cc: Same.
1119 * testsuite/22_locale/num_put.cc: Same.
1120 * testsuite/22_locale/num_get.cc: Same.
1121 * testsuite/22_locale/moneypunct.cc: Same.
1122 * testsuite/22_locale/money_get.cc: Same.
1123 * testsuite/22_locale/messages.cc: Same.
1124 * testsuite/22_locale/ctype.cc: Same.
1126 2001-12-03 Benjamin Kosnik <bkoz@redhat.com>
1128 * src/string-inst.cc (string::_Rep::_S_terminal): Add static data
1129 member instantiations.
1131 2001-12-03 Steve Ellcey <sje@cup.hp.com>
1133 * libstdc++-v3/configure.in: Add support for hpux cross compiles,
1134 combine common linux/hpux/generic cross compile support to reduce
1136 * libstdc++-v3/configure: Regenerate.
1138 2001-12-03 Loren J. Rittle <ljrittle@acm.org>
1140 * docs/html/ext/howto.html: Update commentary.
1141 * include/bits/c++config: Update threading configuration comment.
1142 (__STL_GTHREADS): Remove macro definition.
1143 (__STL_THREADS): Likewise.
1144 * include/bits/stl_threads.h: Leave only the configuration
1145 path which had been guarded by __STL_GTHREADS. Remove all
1146 guards related to __STL_GTHREADS, __STL_SGI_THREADS,
1147 __STL_PTHREADS, __STL_UITHREADS and __STL_WIN32THREADS.
1148 * include/bits/stl_alloc.h: Leave only the configuration path
1149 which had been guarded by __STL_THREADS. Remove configuration
1150 path and guards for __STL_SGI_THREADS.
1151 (__NODE_ALLOCATOR_THREADS): Remove macro definition. Unroll its use.
1152 (__NODE_ALLOCATOR_LOCK): Likewise.
1153 (__NODE_ALLOCATOR_UNLOCK): Likewise.
1154 (_NOTHREADS): Remove guards related to macro.
1155 * include/ext/stl_rope.h: Remove configuration path and guards
1156 for __STL_SGI_THREADS.
1157 * src/stl-inst.cc: Remove use of __NODE_ALLOCATOR_THREADS.
1159 2001-12-02 Phil Edwards <pme@gcc.gnu.org>
1161 * docs/html/ext/howto.html: Update list of implemented DRs.
1162 * docs/html/ext/lwg-active.html: Import R20 from upstream.
1163 * docs/html/ext/lwg-defects.html: Import R20 from upstream.
1165 2001-11-30 Benjamin Kosnik <bkoz@redhat.com>
1169 * libsupc++/exception (bad_exception::~bad_exception()): Remove
1171 * libsupc++/new (bad_alloc::~bad_alloc()): Remove.
1172 * libsupc++/typeinfo (bad_cast::~bad_cast()): Remove.
1173 (bad_typeid::~bad_typeid()): Remove.
1174 * libsupc++/tinfo.cc (bad_cast::~bad_cast()): Remove definition.
1175 (bad_typeid::~bad_typeid()): Same.
1176 * libsupc++/new_handler.cc (bad_alloc::~bad_alloc()): Same.
1177 * libsupc++/eh_exception.cc (bad_exception::~bad_exception()): Same.
1179 * include/bits/std_iomanip.h: Tweak.
1181 2001-11-29 Paolo Carlini <pcarlini@unitus.it>
1184 * include/bits/locale_facets.tcc (__pad): Add bool parameter to
1185 correctly pad internal-adjusted const char*-type objects.
1186 * include/bits/locale_facts.tcc (num_put::_M_insert): Update call.
1187 * include/bits/ostream.tcc (operator<<(_CharT , char, const
1188 _CharT*, const char*, const basic_string&): Update calls.
1189 * src/locale-inst.tcc: Update declarations.
1190 * testsuite/27_io/ostream_inserter_arith.cc (test04): Add test.
1192 2001-11-29 Phil Edwards <pme@gcc.gnu.org>
1194 * docs/html/ext/howto.html: Finish allocator notes (inst and 3.0).
1196 2001-11-29 Benjamin Kosnik <bkoz@redhat.com>
1198 * include/bits/locale_facets.tcc (num_get::do_get(long double)):
1199 Fix __traits_type typo.
1201 2001-11-28 Paolo Carlini <pcarlini@unitus.it>
1203 * include/bits/locale_facets.tcc (__pad): Correctly pad
1204 internal-adjusted hex numbers.
1205 * testsuite/27_io/ostream_inserter_arith.cc: Add testcase.
1207 2001-11-28 Paolo Carlini <pcarlini@unitus.it>
1208 Loren J. Rittle <ljrittle@acm.org>
1210 * include/bits/basic_string.h
1211 (basic_string::_Rep::__default_excess, _S_excess_slop):
1213 * include/bits/basic_string.tcc: Remove dead code.
1214 * include/bits/c++config: Remove comment.
1216 2001-11-28 Benjamin Kosnik <bkoz@redhat.com>
1217 Jakub Jelinek <jakub@redhat.com>
1219 * config/locale/moneypunct_members_gnu.cc
1220 (moneypunct<wchar_t>::_M_initialize_moneypunct): Correctly cast
1222 * config/locale/numpunct_members_gnu.cc
1223 (numpunct<wchar_t>::_M_initialize_numpunct): Same.
1225 2001-11-27 Benjamin Kosnik <bkoz@redhat.com>
1227 * include/bits/locale_facets.tcc: Formatting tweaks.
1229 * testsuite/23_containers/map_operators.cc: Don't xfail.
1230 * testsuite/23_containers/set_operators.cc: Same.
1231 * testsuite/backward/header_iterator_h.cc: Pass in -Wno-deprecated.
1232 * testsuite/backward/header_deque_h.cc: Same.
1234 2001-11-27 Loren J. Rittle <ljrittle@acm.org>
1235 Paolo Carlini <pcarlini@unitus.it>
1237 * include/bits/basic_string.tcc (basic_string::_Rep::_S_create):
1238 Enforce allocation size blocking policy to reduce
1239 fragmentation and enhance performance with common malloc
1242 2001-11-27 Benjamin Kosnik <bkoz@redhat.com>
1244 Numeric facets cleanup.
1245 * include/bits/locale_facets.h (__num_base::_S_atoms): Add, remove
1247 (__num_base::_M_zero): Add
1248 (__num_base::_M_e): Add.
1249 (__num_base::_M_E): Add.
1250 * include/bits/locale_facets.tcc (num_get::_M_extract): Remove.
1251 (num_get::_M_extract_float): New.
1252 (num_get::_M_extract_int): New.
1253 * src/locale.cc (num_get::_M_extract): Remove.
1255 * include/bits/locale_facets.tcc (num_put::_M_insert_float):
1256 Simplify, use _M_insert.
1257 (num_put::do_put(bool)): Simplify, remove __pad.
1259 (__pad_output): Change to __pad.
1260 * include/bits/ostream.tcc: And here.
1261 * src/locale-inst: Remove instantiations.
1263 * include/bits/locale_facets.h: Move helper functions in to class
1265 (num_put::_M_insert_float): Same, for __output_integer.
1266 (num_put::_M_insert_int): Same, for __output_float.
1267 (num_put::_M_insert): New.
1269 (__num_base::_S_format_float): Move
1270 __build_float_format into class __num_base.
1271 (__num_base::_S_format_int): Move __build_int_format into class
1273 * include/bits/locale_facets.tcc (__group_digits): Change to
1274 (__add_grouping): This.
1275 * src/locale-inst.cc: And here. Tweak instantiations.
1276 * src/misc-inst.cc: Remove instantiations.
1278 * include/bits/ostream.tcc (__pad_char): Rename, adjust inserters
1279 for new calling conventions, move to...
1280 * include/bits/locale_facets.tcc (__pad_output): Here. Adjust
1281 signature to make it useful for both ostream and num_put.
1282 (__pad_numeric): Remove.
1283 * src/misc-inst.cc: Remove instantiations.
1284 * src/locale-inst.cc: Same.
1286 * include/bits/locale_facets.h (_Numeric_get): Remove.
1287 (_Numeric_put): Remove.
1288 (num_get::get(short)): Remove.
1289 (num_get::get(int)): Remove.
1290 (num_get::do_get(short)): Remove.
1291 (num_get::do_get(int)): Remove.
1292 * include/bits/istream.tcc (istream::operator>>(short)): Fix as
1294 (istream::operator>>(int)): Same.
1296 * include/bits/locale_facets.h (_Format_cache): Remove.
1297 * include/bits/locale_facets.tcc: Same.
1298 * src/locale.cc: Same.
1299 * src/locale-inst.cc: Same.
1300 * include/bits/ostream.tcc: Same.
1301 * src/ios.cc (ios_base::imbue): Remove here as well.
1303 * testsuite/22_locale/num_get.cc: New file.
1304 * testsuite/22_locale/num_get_members_char.cc: New file.
1305 * testsuite/22_locale/num_get_members_wchar_t.cc: New.
1306 * testsuite/22_locale/numpunct_members_wchar_t.cc: New file.
1307 * testsuite/22_locale/num_put.cc: New file.
1308 * testsuite/22_locale/num_put_members_char.cc: New file.
1309 * testsuite/22_locale/num_put_members_wchar_t.cc: New file.
1310 * testsuite/27_io/ostream_inserter_arith.cc: Fix.
1311 * testsuite/27_io/istream_extractor_arith.cc: Fix.
1313 2001-11-27 Phil Edwards <pme@gcc.gnu.org>
1315 * docs/html/explanations.html: New section, empty for now.
1316 * docs/html/17_intro/howto.html: Cleanup. Move unrelated link...
1317 * docs/html/23_containers/howto.html: ...to here. Break up and
1318 rewrap threading discussion to emphasize warning. Move malloc text...
1319 * docs/html/ext/howto.html: ...to here. New section. Describe
1320 allocators and __USE_MALLOC effects.
1321 * docs/html/ext/sgiexts.html: Mention their code.
1323 2001-11-24 Joseph S. Myers <jsm28@cam.ac.uk>
1325 * docs/doxygen/maint.cfg.in, docs/doxygen/user.cfg.in,
1326 docs/html/27_io/binary_iostreams_kuehl.txt: Revert previous
1329 2001-11-23 Phil Edwards <pme@gcc.gnu.org>
1331 * Makefile.am (doxygen-maint): The script isn't executable in CVS.
1332 * Makefile.in: Regenerated.
1333 * docs/doxygen/TODO: New file listing doxygen work to be done.
1334 * docs/doxygen/run_doxygen: Fix up man pages.
1335 * docs/doxygen/user.cfg.in: Insert maint-only toggles.
1336 * docs/doxygen/maint.cfg.in: Copy from user.cfg and turn toggles on.
1337 * include/bits/stl_construct.h: Use new hooks for internal functions.
1339 * docs/html/17_intro/TODO: Small updates.
1340 * docs/html/faq/index.html: Likewise.
1341 * docs/html/faq/index.txt: Regenerated.
1343 * include/bits/stl_alloc.h: Doxygenate, reindent comments, remove
1344 SGI-isms and wrappers.
1345 (simple_alloc, debug_alloc): Uglify class names.
1346 (__default_alloc_template): Uglify "threads" template parameter and
1347 update corresponding macros.
1348 * include/backward/alloc.h: Bring up to date.
1350 2001-11-23 Jason Merrill <jason@redhat.com>
1352 * src/vterminate.cc (__verbose_terminate_handler): Add leading
1355 2001-11-23 Joseph S. Myers <jsm28@cam.ac.uk>
1357 * ChangeLog, docs/doxygen/maint.cfg.in, docs/doxygen/user.cfg.in,
1358 docs/doxygen/doxygroups.cc, docs/doxygen/Intro.3,
1359 docs/html/17_intro/BUGS, docs/html/17_intro/C++STYLE,
1360 docs/html/17_intro/CHECKLIST, docs/html/17_intro/DESIGN,
1361 docs/html/17_intro/howto.html, docs/html/17_intro/porting.html,
1362 docs/html/17_intro/porting.texi, docs/html/18_support/howto.html,
1363 docs/html/19_diagnostics/howto.html, docs/html/20_util/howto.html,
1364 docs/html/21_strings/howto.html,
1365 docs/html/23_containers/howto.html,
1366 docs/html/26_numerics/howto.html, docs/html/27_io/howto.html,
1367 docs/html/27_io/binary_iostreams_kuehl.txt,
1368 docs/html/ext/sgiexts.html, docs/html/faq/index.html,
1369 docs/html/faq/index.txt, testsuite/24_iterators/iterator.cc,
1370 include/bits/basic_file.h, include/bits/locale_facets.h,
1371 include/bits/locale_facets.tcc, include/bits/std_sstream.h,
1372 include/ext/ropeimpl.h, include/ext/stl_rope.h,
1373 libsupc++/tinfo.cc, libsupc++/cxxabi.h, libsupc++/typeinfo,
1374 libsupc++/eh_throw.cc, acinclude.m4, aclocal.m4, configure,
1375 configure.target, ChangeLog-2000: Fix spelling errors.
1377 * config/locale/moneypunct_members_gnu.cc,
1378 include/bits/locale_facets.h: Fix spelling errors.
1380 2001-11-22 Stephen M. Webb <stephen@bregmasoft.com>
1382 * testsuite/23_containers/list_capacity.cc: New file.
1383 * testsuite/23_containers/list_ctor.cc: New file.
1384 * testsuite/23_containers/list_modifiers.cc: New file.
1385 * testsuite/23_containers/list_operators.cc: New file.
1387 2001-11-22 Stephen M. Webb <stephen@bregmasoft.com>
1389 * include/bits/stl_list.h: Reformatted according to C++STYLE rules.
1390 (size): Replaced nonstandard distance() call with the standard one.
1391 (transfer): Uglified to _M_transfer.
1393 2001-11-21 Paolo Carlini <pcarlini@unitus.it>
1396 * include/bits/basic_string.tcc (basic_string::reserve): Never shrink
1397 below the current size.
1398 * testsuite/21_strings/capacity.cc (test02): Add test.
1400 2001-11-19 Phil Edwards <pme@gcc.gnu.org>
1402 * docs/doxygen/Intro.3: More notes.
1403 * docs/doxygen/style.css: Update to default style from Doxygen 1.2.10.
1404 * include/bits/stl_algobase.h: Add doxygen hooks for functions.
1405 * include/ext/hash_map: Add @file hook.
1406 * include/ext/hash_set: Likewise.
1407 * include/ext/rope: Likewise.
1408 * include/ext/ropeimpl.h: Likewise.
1409 * include/ext/slist: Likewise.
1410 * include/ext/stl_hash_fun.h: Likewise.
1411 * include/ext/stl_hashtable.h: Likewise.
1412 * include/ext/stl_rope.h: Likewise.
1414 * docs/html/17_intro/license.html: Remove "experimental" sentence.
1415 * docs/html/19_diagnostics/howto.html: Document new verbose
1417 * testsuite/27_io/filebuf.cc: Fix comment, move tweakable parameter
1418 to more visible (closer to description) position.
1420 * libsupc++/eh_type.cc: Formatting tweak.
1421 * libsupc++/exception: Likewise.
1422 * src/vterminate.cc: Likewise.
1424 * docs/html/17_intro/porting.html: Regenerate.
1425 * docs/html/faq/index.txt: Regenerate.
1427 2001-11-18 Jason Merrill <jason@redhat.com>
1429 * libsupc++/eh_personality.cc (__cxa_call_unexpected): Take void*.
1430 * libsupc++/eh_catch.cc (__cxa_begin_catch): Likewise.
1431 * libsupc++/unwind-cxx.h: Adjust.
1432 * src/Makefile.am (strstream.o): Pass -Wno-deprecated.
1434 * libsupc++/eh_type.cc (__cxa_current_exception_type): New file.
1435 * libsupc++/cxxabi.h: Declare it.
1436 * libsupc++/Makefile.am (sources): Add it.
1437 * src/vterminate.cc (verbose_terminate_handler): New file.
1438 * libsupc++/exception: Declare it.
1439 * src/Makefile.am (sources): Add it.
1441 * src/Makefile.am (VPATH): Check the src directory before the top one.
1443 2001-11-16 Paolo Carlini <pcarlini@unitus.it>
1445 * include/bits/stl_deque.h (deque::erase()): Fix memory leak.
1447 2001-11-16 Loren J. Rittle <ljrittle@acm.org>
1449 * docs/html/17_intro/howto.html (Thread-safety): Rename
1450 section to ``The Standard C++ library and multithreading'' and
1451 update information based on recent mailing list traffic. Move
1452 all discussion of __USE_MALLOC to...
1453 * docs/html/23_containers/howto.html (Containers and multithreading):
1454 ...here and rework it based on recent mailing list traffic.
1456 2001-11-15 Loren J. Rittle <ljrittle@acm.org>
1458 * docs/html/faq/index.html (Is libstdc++-v3 thread-safe?): Clarify
1461 2001-11-15 <bjornw@planetarion.com>
1462 Loren J. Rittle <ljrittle@acm.org>
1465 * include/bits/stl_alloc.h (alloc): Update to use __mem_interface.
1466 (single_client_alloc): Likewise.
1468 2001-11-08 Danny Smith <dannysmith@users.sourceforge.net>
1470 * configure.target: Add os_include_dir for mingw32* target.
1471 * docs/html/17_intro/porting.texi: Mention mingw32 as target benefiting
1472 from _GLIBCPP_AVOID_FSEEK.
1473 * config/os/mingw32/bits/ctype_base.h: New file.
1474 * config/os/mingw32/bits/ctype_inline.h: New file.
1475 * config/os/mingw32/bits/ctype_noninline.h: New file.
1476 * config/os/mingw32/bits/os_defines.h: New file.
1478 2001-11-07 Nathan Myers <ncm@cantrip.org>
1480 * docs/html/faq/index.html (5.8): New entry on ABIs.
1481 * docs/html/faq/index.txt: Regenerate.
1483 2001-11-07 Phil Edwards <pme@gcc.gnu.org>
1485 * docs/html/faq/index.html: Explain libsupc++, mention 'long long'
1486 bugfixes on Solaris.
1487 * docs/html/faq/index.txt: Regenerate.
1489 2001-11-06 Phil Edwards <pme@gcc.gnu.org>
1491 * acinclude.m4 (GLIBCPP_ENABLE_LONG_LONG): Run the test in
1492 LANG_CPLUSPLUS mode.
1493 * aclocal.m4: Regenerate.
1494 * configure: Regenerate.
1496 2001-11-05 Phil Edwards <pme@gcc.gnu.org>
1498 * porting.texi: Move...
1499 * docs/html/17_intro/porting.texi: ...to here.
1500 * docs/html/Makefile: Add rule to rebuild...
1501 * docs/html/17_intro/porting.html: ...this. New file.
1503 2001-11-05 Felix Natter <fnatter@gmx.net>
1505 * docs/html/17_intro/porting-howto.xml: check in v0.9.4
1506 * docs/html/17_intro/porting-howto.html: regenerate
1508 2001-11-02 Loren J. Rittle <ljrittle@acm.org>
1510 * include/bits/stl_threads.h (_Atomic_swap): Only enable path
1511 when platform supports __GTHREAD_MUTEX_INIT.
1513 2001-11-02 Phil Edwards <pme@gcc.gnu.org>
1515 * acconfig.h: Update comments.
1516 * acinclude.m4 (GLIBCPP_ENABLE_C99): Move strtoll, strtoull tests...
1517 (GLIBCPP_ENABLE_LONG_LONG): ...to here. Don't check enable_c99.
1518 * aclocal.m4: Regenerate.
1519 * config.h.in: Regenerate.
1520 * configure: Regenerate.
1522 * include/bits/boost_concept_check.h: Unconditionally compile uses
1523 of 'long long' which require only compiler support, not C lib support.
1524 * include/bits/cpp_type_traits.h: Likewise.
1525 * include/bits/std_limits.h: Likewise.
1526 * include/bits/type_traits.h: Likewise.
1527 * src/concept-inst.cc: Likewise.
1528 * src/limits.cc: Likewise.
1529 * include/c_shadow/stdlib.h: Compile conditionally on _GLIBCPP_USE_C99
1530 instead of _GLIBCPP_USE_LONG_LONG.
1531 * include/c_shadow/bits/std_cstdlib.h: Likewise.
1533 2001-11-02 Phil Edwards <pme@gcc.gnu.org>
1535 * config/io/c_io_stdio.h: Correct grammar in comments.
1536 * docs/doxygen/Intro.3: Expand "top-level" man page.
1537 * docs/doxygen/doxygroups.cc: New module definitions (comments).
1538 * docs/doxygen/mainpage.doxy: Tweaks.
1539 * docs/doxygen/run_doxygen: Update Doxygen version, massage man pages.
1541 Add @file hooks so that headers are considered to be documented.
1542 * include/bits/basic_ios.h, include/bits/basic_file.h,
1543 include/bits/basic_string.h, include/bits/boost_concept_check.h,
1544 include/bits/char_traits.h, include/bits/codecvt.h,
1545 include/bits/concept_check.h, include/bits/cpp_type_traits.h,
1546 include/bits/fpos.h, include/bits/gslice.h, include/bits/gslice_array.h,
1547 include/bits/indirect_array.h, include/bits/ios_base.h,
1548 include/bits/locale_facets.h, include/bits/localefwd.h,
1549 include/bits/mask_array.h, include/bits/pthread_allocimpl.h,
1550 include/bits/slice.h, include/bits/slice_array.h,
1551 include/bits/std_algorithm.h, include/bits/std_bitset.h,
1552 include/bits/std_complex.h, include/bits/std_deque.h,
1553 include/bits/std_fstream.h, include/bits/std_functional.h,
1554 include/bits/std_iomanip.h, include/bits/std_ios.h,
1555 include/bits/std_iosfwd.h, include/bits/std_iostream.h,
1556 include/bits/std_istream.h, include/bits/std_iterator.h,
1557 include/bits/std_limits.h, include/bits/std_list.h,
1558 include/bits/std_locale.h, include/bits/std_map.h,
1559 include/bits/std_memory.h, include/bits/std_numeric.h,
1560 include/bits/std_ostream.h, include/bits/std_queue.h,
1561 include/bits/std_set.h, include/bits/std_sstream.h,
1562 include/bits/std_stack.h, include/bits/std_streambuf.h,
1563 include/bits/std_string.h, include/bits/std_utility.h,
1564 include/bits/std_valarray.h, include/bits/std_vector.h,
1565 include/bits/stl_algo.h, include/bits/stl_alloc.h,
1566 include/bits/stl_bvector.h, include/bits/stl_construct.h,
1567 include/bits/stl_deque.h, include/bits/stl_heap.h,
1568 include/bits/stl_iterator.h, include/bits/stl_iterator_base_funcs.h,
1569 include/bits/stl_iterator_base_types.h, include/bits/stl_list.h,
1570 include/bits/stl_map.h, include/bits/stl_multimap.h,
1571 include/bits/stl_multiset.h, include/bits/stl_numeric.h,
1572 include/bits/stl_pair.h, include/bits/stl_pthread_alloc.h,
1573 include/bits/stl_queue.h, include/bits/stl_raw_storage_iter.h,
1574 include/bits/stl_relops.h, include/bits/stl_set.h,
1575 include/bits/stl_stack.h, include/bits/stl_tempbuf.h,
1576 include/bits/stl_threads.h, include/bits/stl_tree.h,
1577 include/bits/stl_uninitialized.h, include/bits/stl_vector.h,
1578 include/bits/stream_iterator.h, include/bits/streambuf_iterator.h,
1579 include/bits/stringfwd.h, include/bits/type_traits.h,
1580 include/bits/valarray_array.h, include/bits/valarray_meta.h:
1581 Add hooks, tweak comments only.
1583 * include/bits/stl_algobase.h (swap, min, iter_swap): Also
1584 document these functions.
1585 * include/bits/stl_function.h: Tweak link comments.
1587 2001-11-01 Paolo Carlini <pcarlini@unitus.it>
1588 Benjamin Kosnik <bkoz@redhat.com>
1590 * testsuite/27_io/ios_manip_fmtflags.cc: Fix for non-interactive
1592 * include/bits/locale_facets.tcc (num_put::do_put(bool)): Fix.
1594 2001-11-01 Egor Duda <deo@logos-m.ru>
1596 * config/os/newlib/bits/ctype_noninline.h
1597 (ctype<char>::do_toupper(char __c)): Check for proper character class.
1598 (ctype<char>::do_tolower(char __c)): Ditto.
1600 2001-11-01 Phil Edwards <pme@gcc.gnu.org>
1602 * acinclude.m4: Fix spacing.
1603 (GLIBCPP_ENABLE_CONCEPT_CHECKS): New macro.
1604 * configure.in: Call here.
1605 * acconfig.h: Add _GLIBCPP_CONCEPT_CHECKS.
1606 * include/bits/boost_concept_check.h: Fix headers.
1607 (__function_requires): Make inline.
1608 * include/bits/c++config (_GLIBCPP_CONCEPT_CHECKS): Remove.
1609 * aclocal.m4: Regenerate.
1610 * config.h.in: Regenerate.
1611 * configure: Regenerate.
1613 Move trailing ';' inside macro, PR libstdc++/3666.
1614 * include/bits/concept_check.h: Add semicolon.
1615 * include/bits/stl_algo.h: Remove semicolon.
1616 * include/bits/stl_algobase.h: Likewise.
1617 * include/bits/stl_deque.h: Likewise.
1618 * include/bits/stl_heap.h: Likewise.
1619 * include/bits/stl_iterator_base_funcs.h: Likewise.
1620 * include/bits/stl_list.h: Likewise.
1621 * include/bits/stl_map.h: Likewise.
1622 * include/bits/stl_multimap.h: Likewise.
1623 * include/bits/stl_multiset.h: Likewise.
1624 * include/bits/stl_numeric.h: Likewise.
1625 * include/bits/stl_queue.h: Likewise.
1626 * include/bits/stl_set.h: Likewise.
1627 * include/bits/stl_stack.h: Likewise.
1628 * include/bits/stl_vector.h: Likewise.
1629 * include/ext/hash_map: Likewise.
1630 * include/ext/hash_set: Likewise.
1631 * include/ext/slist: Likewise.
1633 * src/concept-inst.cc: New file with explicit instantiations.
1634 * src/Makefile.am (sources): Add here, with special build rules.
1635 * src/Makefile.in: Regenerate.
1637 2001-11-01 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
1639 * include/bits/std_complex.h (_Norm_helper): New class template.
1641 (abs): Tweak. Fix Thinko.
1643 2001-10-31 Benjamin Kosnik <bkoz@redhat.com>
1646 * include/bits/codecvt.h: Add virtual member function declarations.
1647 * src/codecvt.cc: Tweaks.
1648 * testsuite/22_locale/codecvt.cc: Test compilation only,
1649 non-required facets not required to have linkage.
1651 2001-10-31 Edward E. Meyer <edward.e.meyer@boeing.com>
1654 * include/bits/std_complex.h (complex::operator/=): Correct sign.
1656 2001-10-30 Paolo Carlini <pcarlini@unitus.it>
1657 Benjamin Kosnik <bkoz@redhat.com>
1660 * include/bits/basic_string.h: Tweaks.
1661 * include/bits/basic_string.tcc (string::_M_replace(iterator,
1662 iterator, _ForwardIter, _ForwardIter, forward_iterator_tag): Fix.
1663 * src/string-inst.cc: Tweaks, add instantiation.
1664 * testsuite/21_strings/replace.cc (test02): Add test.
1665 * testsuite/21_strings/assign.cc (test01): New file.
1667 2001-10-30 Jakub Jelinek <jakub@redhat.com>
1669 * include/bits/stl_deque.h (_M_new_elements_at_front): Use
1670 __throw_exception_again.
1671 (_M_new_elements_at_back): Likewise.
1673 2001-10-29 Benjamin Kosnik <bkoz@redhat.com>
1676 * include/bits/fstream.tcc (filebuf::showmanyc): Simplify.
1677 * testsuite/27_io/filebuf.cc (test07): New test.
1678 (test03): Modify showmanyc test.
1680 2001-10-26 Benjamin Kosnik <bkoz@redhat.com>
1683 * config/locale/codecvt_specializations_ieee_1003.1-200x.h
1684 (__enc_traits::~__enc_traits): Fix.
1685 (__enc_traits::_M_init): Add error checking.
1687 2001-10-25 Benjamin Kosnik <bkoz@redhat.com>
1690 * include/bits/locale_facets.tcc (time_get::_M_extract_name): Fix.
1692 2001-10-25 Benjamin Kosnik <bkoz@redhat.com>
1695 * include/bits/ostream.tcc (ostream::operator<<(streambuf*)): Fix
1697 * include/bits/istream.tcc (istream::operator>>(streambuf*): Make
1698 consistent, where possible.
1699 * include/bits/streambuf.tcc: Tweak.
1701 2001-10-25 Brendan Kehoe <brendan@zen.org>
1704 * bits/ostream.tcc (seekp): Scope use as ios_base::failbit.
1705 * bits/istream.tcc (seekg): Likewise.
1707 2001-10-25 Benjamin Kosnik <bkoz@redhat.com>
1708 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
1709 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
1711 * config/os/gnu-linux/bits/os_defines.h: Set to 64 bit longs with
1713 * include/bits/std_limits.h: Fix wchar_t issues.
1714 * config/os/aix/bits/os_defines.h: Fix.
1716 2001-10-25 Benjamin Kosnik <bkoz@redhat.com>
1718 * include/bits/locale_facets.tcc (collate::do_transform): Fix.
1720 2001-10-25 Phil Edwards <pme@gcc.gnu.org>
1722 * docs/html/documentation.html: Fix typo.
1724 2001-10-23 Benjamin Kosnik <bkoz@redhat.com>
1726 Make -fno-exceptions work.
1727 * config/locale/c_locale_gnu.cc: Use functexcept.
1728 * include/bits/c++config (__stl_assert): Remove.
1729 (__STL_USE_EXCEPTIONS): Same.
1731 (__STL_CATCH_ALL): Same.
1732 (__STL_THROW): Same.
1733 (__STL_RETHROW): Same.
1734 (__STL_NOTHROW): Same.
1735 (__STL_UNWIND): Same.
1736 * include/bits/pthread_allocimpl.h: Fix.
1737 * include/bits/std_bitset.h: Same.
1738 * include/bits/std_list.h: Same.
1739 * include/bits/std_memory.h: Same.
1740 * include/bits/std_queue.h: Same.
1741 * include/bits/stl_alloc.h: Same.
1742 * include/bits/stl_deque.h: Same.
1743 * include/bits/stl_list.h: Same.
1744 * include/bits/stl_queue.h: Same.
1745 * include/bits/stl_tempbuf.h: Same.
1746 * include/bits/stl_tree.h: Same.
1747 * include/bits/stl_uninitialized.h: Same.
1748 * include/bits/stl_vector.h: Same.
1749 * include/ext/ropeimpl.h: Same.
1750 * include/ext/slist: Same.
1751 * include/ext/stl_hashtable.h: Same.
1752 * include/ext/stl_rope.h: Same.
1753 * libsupc++/new_op.cc: Include cstdlib.
1754 * libsupc++/eh_personality.cc: Add exception_defines include. Use
1755 __throw_exception_again, tweak.
1756 * libsupc++/eh_aux_runtime.cc: Include stdlib for abort.
1757 * libsupc++/vec.cc: Tweak.
1758 * src/functexcept.cc: Remove unused arguments.
1759 * testsuite/23_containers/bitset_members.cc: Tweak.
1761 2001-10-22 Benjamin Kosnik <bkoz@redhat.com>
1763 * config/cpu/i386/bits/limits.h: Move to...
1764 * config/cpu/i386/bits/cpu_limits.h: ...here.
1765 * config/cpu/cris/bits/cpu_limits.h: Same.
1766 * config/cpu/powerpc/bits/cpu_limits.h: Same.
1767 * config/cpu/x86-64/bits/cpu_limits.h: Same.
1768 * config/cpu/alpha/bits/cpu_limits.h: New.
1769 * config/cpu/m68k/bits/cpu_limits.h: New.
1770 * config/cpu/s390/bits/cpu_limits.h: New.
1771 * config/os/aix/bits/os_defines.h: Tweaks.
1772 * config/os/bsd/freebsd/bits/os_defines.h: Same.
1773 * config/os/bsd/netbsd/bits/os_defines.h: Same.
1774 * config/os/djgpp/bits/os_defines.h: Same.
1775 * config/os/generic/bits/os_defines.h: Same.
1776 * config/os/gnu-linux/bits/os_defines.h: Same.
1777 * config/os/hpux/bits/os_defines.h: Same.
1778 * config/os/irix/irix5.2/bits/os_defines.h: Same.
1779 * config/os/irix/irix6.5/bits/os_defines.h: Same.
1780 * config/os/newlib/bits/os_defines.h: Same.
1781 * config/os/solaris/solaris2.5/bits/os_defines.h: Same.
1782 * config/os/solaris/solaris2.6/bits/os_defines.h: Same.
1783 * config/os/solaris/solaris2.7/bits/os_defines.h: Same.
1785 * include/bits/c++config: Remove include.
1786 * include/bits/limits_generic.h: Remove.
1787 * include/bits/std_limits.h: Include cpu_limits.h.
1788 * include/Makefile.am: Fixup.
1789 * src/limits.cc: Tweak.
1790 * src/limits_generic.cc: Remove.
1791 * src/gen-num-limits.cc: Remove.
1792 * mknumeric_limits: Remove.
1794 2001-10-20 Brendan Kehoe <brendan@zen.org>
1796 * bits/type_traits.h (_Bool): Removed this type.
1797 (__true_type, __false_type): Change to be plain structs.
1798 * src/string-inst.cc (__destroy_aux): Change third parm to be
1799 __false_type instead of _Bool<false>.
1800 * src/misc-inst.cc (__uninitialized_fill_n_aux,
1801 __uninitialized_copy_aux): Likewise.
1803 2001-10-19 Benjamin Kosnik <bkoz@redhat.com>
1805 * mkcheck.in (static_fail): Remove older memory limit functionality.
1806 Disable E_TIME due to formatting issues.
1810 2001-10-19 Brendan Kehoe <brendan@zen.org>
1812 * include/bits/std_complex.h: Default initialize second argument
1813 of polar to 0, as specified in Library DR #79
1815 2001-10-19 Brendan Kehoe <brendan@zen.org>
1817 * include/bits/stl_raw_storage_iter.h (operator=): Fix to call
1818 _Construct instead of construct.
1820 2001-10-19 Brendan Kehoe <brendan@zen.org>
1822 * include/bits/basic_string.tcc (find_first_not_of): Take out check for
1823 __n being non-zero, since the standard does not mandate that.
1824 e.g., a search for "" in "" should yield position 0, not npos.
1825 (find_last_not_of): Likewise.
1827 2001-10-19 Brendan Kehoe <brendan@zen.org>
1829 * include/bits/stl_bvector.h (vector<bool>::_M_range_check): Fix
1830 to throw out_of_range, not range_error, thus sayeth $23.1.1.13.
1832 2001-10-19 Brendan Kehoe <brendan@zen.org>
1834 * include/bits/stl_iterator.h (reverse_iterator::current): Rename
1835 member from _M_current, and change all uses; thus sayeth $24.4.1.1.
1837 2001-10-19 Brendan Kehoe <brendan@zen.org>
1839 * include/bits/stl_algo.h (partial_sort): Add missing `>' on the
1840 template parameter _ValueType.
1842 2001-10-19 Brendan Kehoe <brendan@zen.org>
1844 * include/bits/std_limits.h: Clean up extra semicolons.
1845 * include/bits/locale_facets.h: Likewise.
1846 * include/bits/type_traits.h: Likewise.
1848 2001-10-19 Brendan Kehoe <brendan@zen.org>
1850 * include/bits/localefwd.h (locale::combine): Add const for lib DR 14.
1851 * include/bits/locale_facets.tcc (locale::combine): Likewise.
1853 2001-10-19 Benjamin Kosnik <bkoz@redhat.com>
1855 * include/bits/locale_facets.h (__timepunct::_M_put_helper):
1856 Declare specializations for char, wchar_t.
1858 2001-10-19 Andreas Jaeger <aj@suse.de>
1860 * config/cpu/x86-64/bits/limits.h: New file.
1861 * config/cpu/x86-64/bits/atomicity.h: New file.
1862 * configure.target: Add x86-64.
1864 2001-10-17 Phil Edwards <pme@gcc.gnu.org>
1866 * docs/html/17_intro/howto.html: Remove 1999 links (and explain
1867 why). Add link to recent message.
1868 * docs/html/faq/index.html (5.6): Reformat text only; fixup <pre>
1870 * docs/html/faq/index.txt: Regenerate.
1872 2001-10-12 Loren J. Rittle <ljrittle@acm.org>
1874 * docs/html/faq/index.html (Is libstdc++-v3 thread-safe?): Update
1875 based on Nathan's review. Use Nathan's words.
1877 2001-10-11 Matt Kraai <kraai@alumni.carnegiemellon.edu>
1879 * docs/html/configopts.html: Quote StyleSheet attribute values.
1880 * docs/html/documentation.html: Likewise.
1881 * docs/html/explanations.html: Likewise.
1882 * docs/html/install.html: Likewise.
1883 * docs/html/17_intro/howto.html: Likewise.
1884 * docs/html/17_intro/license.html: Likewise.
1885 * docs/html/18_support/howto.html: Likewise.
1886 * docs/html/19_diagnostics/howto.html: Likewise.
1887 * docs/html/20_util/howto.html: Likewise.
1888 * docs/html/21_strings/howto.html: Likewise.
1889 * docs/html/22_locale/howto.html: Likewise.
1890 * docs/html/23_containers/howto.html: Likewise.
1891 * docs/html/24_iterators/howto.html: Likewise.
1892 * docs/html/25_algorithms/howto.html: Likewise.
1893 * docs/html/26_numerics/howto.html: Likewise.
1894 * docs/html/27_io/howto.html: Likewise.
1895 * docs/html/ext/howto.html: Likewise.
1896 * docs/html/ext/sgiexts.html: Likewise.
1897 * docs/html/faq/index.html: Likewise.
1899 2001-10-11 Loren J. Rittle <ljrittle@acm.org>
1901 * docs/html/faq/index.html (Is libstdc++-v3 thread-safe?): Rewrite.
1902 * docs/html/23_containers/howto.html (Containers and multithreading):
1905 2001-10-09 Phil Edwards <pme@gcc.gnu.org>
1907 * docs/html/17_intro/howto.html: Tweak markup and value type.
1908 * docs/html/27_io/howto.html: Tweak markup, describe setbuf() for
1909 nonzero arguments, add new note on threading.
1910 * docs/html/faq/index.html: Update.
1911 * docs/html/faq/index.txt: Regenerate.
1913 2001-10-09 Phil Edwards <pme@gcc.gnu.org>
1915 * docs/html/configopts.html: More HTML->XHTML and lowercasing of tags.
1916 * docs/html/documentation.html: Likewise.
1917 * docs/html/explanations.html: Likewise.
1918 * docs/html/install.html: Likewise.
1919 * docs/html/17_intro/howto.html: Likewise.
1920 * docs/html/17_intro/license.html: Likewise. Tighten up language.
1921 * docs/html/18_support/howto.html: Likewise.
1922 * docs/html/19_diagnostics/howto.html: Likewise.
1923 * docs/html/20_util/howto.html: Likewise.
1924 * docs/html/21_strings/howto.html: Likewise.
1925 * docs/html/22_locale/howto.html: Likewise.
1926 * docs/html/23_containers/howto.html: Likewise.
1927 * docs/html/24_iterators/howto.html: Likewise.
1928 * docs/html/25_algorithms/howto.html: Likewise.
1929 * docs/html/26_numerics/howto.html: Likewise.
1930 * docs/html/27_io/howto.html: Likewise.
1931 * docs/html/ext/howto.html: Likewise.
1932 * docs/html/ext/sgiexts.html: Likewise.
1933 * docs/html/faq/index.html: Likewise. Not so many absolute links.
1934 * docs/html/faq/index.txt: Regenerate.
1936 2001-10-07 Joseph S. Myers <jsm28@cam.ac.uk>
1938 * docs/html/22_locale/locale.html, docs/html/faq/index.html: Fix
1939 spelling errors of "separate" as "seperate", and corresponding
1940 spelling errors of related words.
1941 * docs/html/faq/index.txt: Regenerate.
1943 2001-10-05 Phil Edwards <pme@gcc.gnu.org>
1945 * config/cpu/alpha/bits/atomicity.h (__compare_and_swap): Remove
1947 * config/cpu/arm/bits/atomicity.h: Likewise.
1948 * config/cpu/generic/bits/atomicity.h: Likewise.
1949 * config/cpu/i486/bits/atomicity.h: Likewise.
1950 * config/cpu/ia64/bits/atomicity.h: Likewise.
1951 * config/cpu/mips/bits/atomicity.h: Likewise.
1952 * config/cpu/powerpc/bits/atomicity.h: Likewise.
1953 * config/cpu/sparc/sparc32/bits/atomicity.h: Likewise.
1954 * config/cpu/sparc/sparc64/bits/atomicity.h: Likewise.
1956 2001-10-04 Phil Edwards <pme@gcc.gnu.org>
1958 * docs/html/faq/index.html: Describe DR #22, and a workaround.
1959 * docs/html/faq/index.txt: Regenerate.
1961 2001-10-04 Phil Edwards <pme@gcc.gnu.org>
1963 * docs/html/17_intro/COPYING.DOC: New file, GFDL v1.1 from the FSF.
1964 * docs/html/17_intro/license.html: New file. Explain the licenses
1967 * docs/html/configopts.html: Link to license.html.
1968 * docs/html/documentation.html: Likewise.
1969 * docs/html/explanations.html: Likewise.
1970 * docs/html/install.html: Likewise.
1971 * docs/html/17_intro/howto.html: Likewise.
1972 * docs/html/18_support/howto.html: Likewise.
1973 * docs/html/19_diagnostics/howto.html: Likewise.
1974 * docs/html/20_util/howto.html: Likewise.
1975 * docs/html/21_strings/howto.html: Likewise.
1976 * docs/html/22_locale/howto.html: Likewise.
1977 * docs/html/23_containers/howto.html: Likewise.
1978 * docs/html/24_iterators/howto.html: Likewise.
1979 * docs/html/25_algorithms/howto.html: Likewise.
1980 * docs/html/26_numerics/howto.html: Likewise.
1981 * docs/html/27_io/howto.html: Likewise.
1982 * docs/html/ext/howto.html: Likewise.
1983 * docs/html/ext/sgiexts.html: Likewise.
1984 * docs/html/faq/index.html: Likewise. New question, linking to
1985 the new license.html.
1987 2001-10-04 Phil Edwards <pme@gcc.gnu.org>
1989 * docs/html/17_intro/howto.html: Fix mis-sed in header from 20010917.
1990 * docs/html/18_support/howto.html: Likewise.
1991 * docs/html/19_diagnostics/howto.html: Likewise.
1992 * docs/html/20_util/howto.html: Likewise.
1993 * docs/html/21_strings/howto.html: Likewise.
1994 * docs/html/22_locale/howto.html: Likewise.
1995 * docs/html/23_containers/howto.html: Likewise.
1996 * docs/html/24_iterators/howto.html: Likewise.
1997 * docs/html/25_algorithms/howto.html: Likewise.
1998 * docs/html/26_numerics/howto.html: Likewise.
1999 * docs/html/27_io/howto.html: Likewise.
2000 * docs/html/ext/howto.html: Likewise.
2001 * docs/html/faq/index.html: Likewise. Spacing fix.
2003 2001-10-03 Dimitris Vyzovitis <vyzo@media.mit.edu>
2005 * include/bits/stl_threads.h (_Atomic_swap): New function.
2006 (_Swap_lock_struct<__dummy>::_S_swap_lock): New data.
2007 * testsuite/ext/rope.cc: New file.
2009 2001-10-02 Benjamin Kosnik <bkoz@redhat.com>
2011 * config/locale/time_members_gnu.h: Remove.
2012 * config/locale/time_members_generic.h: Remove.
2013 * config/locale/time_members_gnu.cc (__timepunct::_M_put_helper): Add.
2014 * config/locale/time_members_generic.cc: Same.
2015 * include/bits/locale_facets.h: Add data members.
2016 (__timepunct::_M_put_helper): Change signature.
2017 (__timepunct::_M_date_formats): Same.
2018 (__timepunct::_M_time_formats): Same.
2019 (__timepunct::_M_ampm): Add.
2020 (__timepunct::_M_date_time_formats): Add.
2021 (time_get::_M_extract_via_format): Add.
2022 (time_get::_M_extract_time): Change to...
2023 (time_get::_M_extract_num): ... this, modify signature.
2024 * include/bits/locale_facets.tcc (time_get::do_get_year): Fix.
2025 (time_get::do_get_time): Fix.
2026 (time_get::do_get_date): Fix.
2028 * acinclude.m4: Remove CTIME_H.
2029 * aclocal.m4: Regenerate.
2030 * include/Makefile.am: Same.
2031 * include/Makefile.in: Regenerate.
2032 * configure: Regenerate.
2034 * testsuite/22_locale/time_get_members_char.cc: Fix.
2035 * testsuite/22_locale/time_get_members_wchar_t.cc: Add.
2036 * testsuite/22_locale/time_put_members_wchar_t.cc: Add.
2038 2001-10-01 Hans-Peter Nilsson <hp@axis.com>
2040 * config/cpu/cris/bits/atomicity.h: Correct file header.
2042 2001-09-29 Hans-Peter Nilsson <hp@axis.com>
2044 * configure.target (LIMITSH): Set for cris.
2045 (cpu_include_dir): Set for cris-*-*.
2046 * config/cpu/cris/bits/atomicity.h: New file.
2047 * config/cpu/cris/bits/limits.h: New file.
2049 2001-09-28 Benjamin Kosnik <bkoz@redhat.com>
2051 * config/locale/time_members_gnu.h (__timepunct::_M_get_helper): Add.
2052 (__timepunct::_M_put_helper): Add.
2053 * config/locale/time_members_generic.h: Same.
2054 * include/bits/locale_facets.h (__match_parallel): Remove. Format.
2055 (__timepunct): Add data members.
2056 (__timepunct::_M_days): Add.
2057 (__timepunct::_M_days_abbreviated): Add.
2058 (__timepunct::_M_months): Add.
2059 (__timepunct::_M_months_abbreviated): Add.
2060 (__timepunct::_M_initialize_timepunct): Add.
2061 * include/bits/locale_facets.tcc: Same.
2062 * src/locale-inst.cc: Remove instantiations for __match_parallel.
2063 * acinclude.m4 (GLIBCPP_ENABLE_CLOCALE): Add CTIME_CC.
2064 * aclocal.m4: Regenerate.
2065 * configure: Regenerate.
2066 * testsuite/22_locale/time_put_members_char.cc: Mark XFAIL.
2067 * testsuite/22_locale/time_put_members_char.cc (test01): New file.
2068 * testsuite/22_locale/time_get.cc: New file.
2070 2001-09-28 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
2072 * testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3-init): Use
2073 correct multilib builddir.
2074 Properly locate libgcc_s.
2076 2001-09-27 Phil Edwards <pme@gcc.gnu.org>
2078 * include/std/*: Add Doxygen hooks.
2079 * docs/doxygen/Intro.3: New file, general intro to the man pages.
2080 * docs/doxygen/mainpage.doxy: Formatting tweaks. List our own links
2081 rather than using a generated index.
2082 * docs/doxygen/user.cfg.in: Disable the index, enable man pages.
2083 * docs/doxygen/run_doxygen: Massage the generated man pages, using...
2084 * docs/doxygen/stdheader.cc: ...this new file.
2086 2001-09-26 Stan Shebs <shebs@apple.com>
2088 * include/Makefile.am: Remove RCS Id strings.
2089 * src/Makefile.am: Ditto.
2090 * docs/doxygen/run_doxygen: Ditto.
2091 * docs/html/configopts.html: Ditto.
2092 * docs/html/documentation.html: Ditto.
2093 * docs/html/explanations.html: Ditto.
2094 * docs/html/install.html: Ditto.
2095 * docs/html/17_intro/howto.html: Ditto.
2096 * docs/html/18_support/howto.html: Ditto.
2097 * docs/html/19_diagnostics/howto.html: Ditto.
2098 * docs/html/20_util/howto.html: Ditto.
2099 * docs/html/21_strings/howto.html: Ditto.
2100 * docs/html/22_locale/howto.html: Ditto.
2101 * docs/html/23_containers/howto.html: Ditto.
2102 * docs/html/24_iterators/howto.html: Ditto.
2103 * docs/html/25_algorithms/howto.html: Ditto.
2104 * docs/html/26_numerics/howto.html: Ditto.
2105 * docs/html/27_io/howto.html: Ditto.
2106 * docs/html/ext/howto.html: Ditto.
2107 * docs/html/ext/sgiexts.html: Ditto.
2108 * docs/html/faq/index.html: Ditto.
2109 * docs/html/faq/index.txt: Ditto.
2111 2001-09-25 Phil Edwards <pme@gcc.gnu.org>
2113 * testsuite/21_strings/c_strings.cc (test01, test02): Increase
2116 2001-09-25 Phil Edwards <pme@gcc.gnu.org>
2118 * docs/html/20_util/howto.html: Add anchor name.
2119 * docs/html/23_containers/howto.html: Line wrapping, another link.
2120 * docs/html/25_algorithms/howto.html: Another note.
2122 * docs/html/ext/howto.html: Link to SGI extensions. List DRs and
2124 * docs/html/ext/lwg-active.html: ...in this new file (from R19),
2125 * docs/html/ext/lwg-defects.html: and this new file (from R19).
2126 * docs/html/ext/sgiexts.html: New file. Mention SGI extensions
2127 carried over to libstdc++-v3.
2128 * docs/html/faq/index.html: Link to SGI extensions. Mention the
2129 "missing .." pseudobug.
2130 * docs/html/faq/index.txt: Regenerate.
2132 * include/bits/ios_base.h: DR-related comment cleanup.
2133 * include/bits/istream.tcc: Likewise.
2134 * include/bits/locale_facets.h: Likewise.
2135 * include/bits/locale_facets.tcc: Likewise.
2136 * include/bits/ostream.tcc: Likewise.
2137 * include/bits/std_bitset.h: Likewise.
2138 * include/bits/std_iosfwd.h: Likewise.
2139 * include/bits/std_istream.h: Likewise.
2140 * include/bits/std_ostream.h: Likewise.
2141 * include/bits/std_streambuf.h: Likewise.
2142 * include/bits/stl_pair.h: Likewise.
2143 * include/bits/streambuf_iterator.h: Likewise.
2145 * include/bits/std_map.h: Remove unused header inclusion guard
2146 _CPP_BITS_STL_TREE_H from around bits/stl_tree.h.
2147 * include/bits/std_set.h: Likewise.
2149 * include/bits/stl_function.h: Doxygen markup.
2150 * docs/doxygen/doxygroups.cc: New file, specifying module grouping.
2151 * libsupc++/typeinfo: Doxygen markup tweak.
2153 2001-09-20 Scott Johnston <scott@accom.com>
2154 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
2156 * include/backward/alloc.h: Conditionally define malloc_alloc
2157 * testsuite/backward/header_deque_h.cc: New file.
2159 2001-09-20 Sylvain Pion <Sylvain.Pion@sophia.inria.fr>
2161 * libstdc++-v3/include/bits/locale_facets.tcc (money_put::do_put):
2162 change variable name so that it works with -fno-for-scope.
2164 2001-09-20 Benjamin Kosnik <bkoz@redhat.com>
2166 * testsuite/22_locale/numpunct_members_char.cc (test01): Remove
2167 redundant sanity checks.
2168 * testsuite/22_locale/money_put_members_wchar_t.cc (test01): Same.
2170 * testsuite/22_locale/money_put_members_char.cc (test01): Same.
2172 * testsuite/22_locale/moneypunct_members_wchar_t.cc (test01): Same.
2173 * testsuite/22_locale/moneypunct_members_char.cc (test01): Same.
2174 * testsuite/22_locale/money_get_members_wchar_t.cc (test01): Same.
2176 * testsuite/22_locale/money_get_members_char.cc (test01): Same.
2179 2001-09-19 Benjamin Kosnik <bkoz@redhat.com>
2181 Implement std::time_put.
2182 * include/bits/locale_facets.h: Include time_members.h.
2184 (time_put): Implement.
2185 * include/bits/locale_facets.tcc (do_put): Put generic versions here.
2186 * include/bits/localefwd.h: Bump number of facets.
2187 * config/locale/time_members_generic.h: New file.
2188 * config/locale/time_members_gnu.h: New file.
2189 * config/locale/c_locale_generic.h: Include clocale.
2190 * src/locale-inst.cc: Add use_facet instantiations for __timepunct.
2191 * src/locale.cc: Add __timepunct initializations.
2192 * src/localename.cc (locale::_Impl::_Impl(string, size_t)): Same.
2193 * include/Makefile.am (stamp-target): Add time_members.h.
2194 * include/Makefile.in: Regenerate.
2195 * acinclude.m4 (GLIBCPP_ENABLE_CLOCALE): Add CTIME_H.
2196 * aclocal.m4: Regenerate.
2197 * configure: Regenerate.
2198 * testsuite/22_locale/time_put.cc: New file.
2199 * testsuite/22_locale/time_put_members_char.cc: New file.
2201 * docs/html/22_locale/locale.html: Add note.
2203 2001-09-17 Phil Edwards <pme@gcc.gnu.org>
2205 * docs/html/configopts.html: HTML to XHTML change. Lowercase tags.
2206 * docs/html/documentation.html: Likewise.
2207 * docs/html/explanations.html: Likewise.
2208 * docs/html/install.html: Likewise.
2209 * docs/html/17_intro/howto.html: Likewise.
2210 * docs/html/18_support/howto.html: Likewise.
2211 * docs/html/19_diagnostics/howto.html: Likewise.
2212 * docs/html/20_util/howto.html: Likewise.
2213 * docs/html/21_strings/howto.html: Likewise.
2214 * docs/html/22_locale/codecvt.html: Likewise.
2215 * docs/html/22_locale/ctype.html: Likewise.
2216 * docs/html/22_locale/howto.html: Likewise.
2217 * docs/html/22_locale/locale.html: Likewise.
2218 * docs/html/22_locale/messages.html: Likewise.
2219 * docs/html/23_containers/howto.html: Likewise.
2220 * docs/html/24_iterators/howto.html: Likewise.
2221 * docs/html/25_algorithms/howto.html: Likewise.
2222 * docs/html/26_numerics/howto.html: Likewise.
2223 * docs/html/27_io/howto.html: Likewise.
2224 * docs/html/ext/howto.html: Likewise.
2225 * docs/html/faq/index.html: Likewise.
2226 * docs/html/faq/index.txt: Regenerated.
2228 2001-09-14 Phil Edwards <pme@sources.redhat.com>
2230 * docs/html/17_intro/headers_cc.txt: "Sync"/copy real file over.
2231 * docs/html/17_intro/howto.html: Spacing and HTML markup fixes.
2232 * docs/html/18_support/howto.html: It won't compile; it's not code.
2233 * docs/html/19_diagnostics/howto.html: Point diagram seekers to
2235 * docs/html/22_locale/howto.html: Comment for future work.
2236 * docs/html/23_containers/howto.html: More comments.
2237 * docs/html/25_algorithms/howto.html: It's a comment, not a
2238 blunt command to the reader. (English grammar.)
2240 2001-09-14 Benjamin Kosnik <bkoz@redhat.com>
2242 * config/locale/moneypunct_members_gnu.cc: Fix initialization of
2244 * testsuite/22_locale/money_get_members_wchar_t.cc (test02): New file.
2245 * testsuite/22_locale/money_put_members_wchar_t.cc (test02): Fix.
2247 2001-09-14 Benjamin Kosnik <bkoz@redhat.com>
2249 * include/bits/locale_facets.tcc: Conditionalize use of strtold.
2251 2001-09-13 Alexandre Petit-Bianco <apbianco@redhat.com>
2253 * testsuite/22_locale/money_get_members_char.cc: Fixed typo in comment.
2254 * testsuite/22_locale/money_put_members_char.cc: Likewise.
2255 * testsuite/22_locale/money_put_members_wchar_t.cc: Likewise.
2257 2001-09-13 Benjamin Kosnik <bkoz@redhat.com>
2259 Implement std::money_get.
2260 * include/bits/locale_facets.tcc (money_get::do_get): Implement.
2261 * include/bits/locale_facets.h (money_get): Correct signatures.
2262 * testsuite/22_locale/money_get.cc: New file.
2263 * testsuite/22_locale/money_get_members_char.cc: New file.
2265 * include/bits/locale_facets.tcc (__verify_grouping): New
2266 function. Consolidate num_get and money_get group checking into
2268 (money_get): Use it.
2269 * src/locale.cc (num_get::_M_extract): Use it.
2270 * src/locale-inst.cc: Add instantiation.
2272 2001-09-12 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
2274 * include/bits/std_limits.h (numeric_limits<float>::radix,
2275 numeric_limits<float>::epsilon: Fix thinko.
2277 2001-09-10 Benjamin Kosnik <bkoz@redhat.com>
2279 * configure.in: Fix cross compiling math routines. Correct
2280 comments for cross compiling and limits. Add floating point math
2281 routines found in newlib.
2282 * configure: Regenerate.
2283 * acconfig.h: Add macros.
2284 * config.h.in: Regenerate.
2286 2001-09-10 Benjamin Kosnik <bkoz@redhat.com>
2288 * config/locale/moneypunct_members_generic.cc
2289 (money_base::_S_construct_pattern): Remove unused parameters.
2291 2001-09-10 Benjamin Kosnik <bkoz@redhat.com>
2293 * include/Makefile.am (stamp-target): Remove link to self.
2294 * inclulde/Makefile.in: Regenerate.
2296 2001-09-09 Benjamin Kosnik <bkoz@redhat.com>
2298 Implement std::money_put.
2299 * include/bits/locale_facets.h
2300 (moneypunct::_M_initialize_moneypunct): Split up specializations
2301 to account for _Intl. More grody hacking to get around the
2302 ill-considered use of const bool as a template parameter.
2303 * config/locale/moneypunct_members_gnu.cc: And here.
2304 * config/locale/moneypunct_members_generic.cc: And here.
2305 * testsuite/22_locale/moneypunct_members_char.cc: Add tests.
2306 * testsuite/22_locale/moneypunct.cc: Add tests.
2307 * testsuite/22_locale/money_put_members_wchar_t.cc: New file.
2308 * testsuite/22_locale/moneypunct_members_wchar_t.cc: New file.
2310 * src/locale.cc (money_base::_S_construct_pattern): Move into
2312 * config/locale/moneypunct_members_gnu.cc: Add here.
2313 * config/locale/moneypunct_members_generic.cc: Add generic version
2316 * include/bits/locale_facets.tcc (money_put::do_put): Move member
2317 function definitions here.
2318 * include/bits/locale_facets.h (money_put): Implement.
2319 * src/locale-inst.cc: Add use_facet instantiations for moneypunct.
2320 Correct money_get, money_put instantiations.
2321 * src/locale.cc (money_base::_S_construct_pattern): Handle case
2323 * testsuite/22_locale/money_put_members_char.cc: Add tests.
2325 2001-09-05 Phil Edwards <pme@sources.redhat.com>
2327 * testsuite_flags.in: No longer need to search testsuite builddir.
2328 * src/stl-inst.cc (__sink_unused_warning): Unused, remove.
2329 * Makefile.am: The testsuite directory never needs to be made here.
2330 * Makefile.in: Regenerate.
2331 * include/Makefile.in: Regenerate.
2332 * libio/Makefile.in: Regenerate.
2333 * libmath/Makefile.in: Regenerate.
2334 * libsupc++/Makefile.in: Regenerate.
2335 * po/Makefile.in: Regenerate.
2336 * src/Makefile.in: Regenerate.
2337 * testsuite/Makefile.in: Regenerate.
2339 2001-09-04 Scott Johnston <scott@accom.com>
2340 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
2342 * include/backward/iterator.h: Include <bits/std_iterator.h>,
2343 remove reverse_bidirectional_iterator.
2344 * testsuite/backward: New directory.
2345 * testsuite/backward/header_iterator_h.cc: New file.
2347 2001-09-04 Benjamin Kosnik <bkoz@redhat.com>
2349 * include/c_std/bits/std_c*.h: Don't use include_next.
2351 2001-09-03 Richard Sandiford <rsandifo@redhat.com>
2353 * libsupc++/eh_personality.cc (parse_lsda_header): Change type of
2354 tmp from _Unwind_Ptr to _Unwind_Word.
2356 2001-08-31 Jason Merrill <jason_merrill@redhat.com>
2358 * libsupc++/eh_personality.cc (PERSONALITY_FUNCTION): Simplify
2361 2001-08-28 Loren J. Rittle <ljrittle@acm.org>
2363 * include/Makefile.am: Use toplevel_srcdir to refer to src files
2364 outside this component.
2365 * include/Makefile.in: Regenerate.
2367 2001-08-27 Benjamin Kosnik <bkoz@redhat.com>
2369 * config/locale/c_locale_gnu.cc: Move facet info to separate files...
2370 * config/locale/c_locale_generic.cc: Same.
2371 * config/locale/moneypunct_members_gnu.cc: New file.
2372 * config/locale/moneypunct_members_generic.cc: New file.
2373 * config/locale/numpunct_members_gnu.cc: New file.
2374 * config/locale/numpunct_members_generic.cc: New file.
2375 * acinclude.m4 (GLIBCPP_ENABLE_CLOCALE): Add moneypunct, numpunct
2377 * aclocal.m4: Regenerate.
2378 * configure: Regenerate.
2379 * src/Makefile.am (sources): And here.
2380 * src/Makefile.in: Regenerate.
2382 Rename for consistency with rest of testsuite.
2383 * testsuite/22_locale/codecvt.cc: New file.
2384 * testsuite/22_locale/money_put.cc: New file.
2385 * testsuite/22_locale/money_put_members_char.cc: New file.
2387 2001-08-27 Phil Edwards <pme@sources.redhat.com>
2390 * acinclude.m4 (GLIBCPP_EXPORT_INSTALL_INFO): Handle enable/disable
2391 correctly for version-specific-runtime-libs.
2392 * aclocal.m4: Regenerate.
2393 * configure: Regenerate.
2395 2001-08-24 Loren J. Rittle <ljrittle@acm.org>
2397 * config/cpu/i386/bits/limits.h (__glibcpp_long_double_bits): Only
2398 define if not already provided by per-OS file.
2399 * config/os/bsd/freebsd/bits/os_defines.h (__glibcpp_long_double_bits):
2402 2001-08-24 Jan van Male <jan.vanmale@fenk.wau.nl>
2404 * docs/html/17_intro/C++STYLE: Fix typo.
2406 2001-08-24 Phil Edwards <pme@sources.redhat.com>
2408 * docs/html/23_containers/howto.html: Describe implementation of
2409 insertion with hints.
2411 2001-08-24 Kenny Simpson <kenny.simpson@gs.com>
2414 * include/bits/std_sstream.h (basic_ostringstream): Fix ctor.
2416 2001-08-24 Sylvain Pion <Sylvain.Pion@sophia.inria.fr>
2417 Phil Edwards <pme@sources.redhat.com>
2420 * include/bits/stl_tree.h (insert_unique): Revert last change.
2421 Values inserted at begin() must be less, not greater, than *begin()'s.
2422 * testsuite/23_containers/map_insert.cc: New file.
2424 2001-08-23 Benjamin Kosnik <bkoz@redhat.com>
2426 * config/locale/c_locale_gnu.cc: Minor tweaks.
2427 (moneypunct<wchar_t>): Implement.
2428 * include/bits/locale_facets.h: Same.
2429 * testsuite/22_locale/moneypunct.cc: New file.
2430 * testsuite/22_locale/moneypunct_byname.cc: New file.
2431 * testsuite/22_locale/moneypunct_char_members.cc: New file.
2433 2001-08-23 David Edelsohn <edelsohn@gnu.org>
2435 * config/os/gnu-linux/bits/os_defines.h: Correct __s390__ definitions.
2436 Set __powerpc__ long double definition based on __LONG_DOUBLE_128__.
2438 2001-08-23 Jason Merrill <jason_merrill@redhat.com>
2440 * testsuite_flags.in (build-includes): Re-add backward.
2442 2001-08-22 Benjamin Kosnik <bkoz@redhat.com>
2444 * testsuite/22_locale/collate_wchar_t_members.cc: Guard
2445 with _GLIBCPP_USE_WCHAR_T.
2447 2001-08-21 Benjamin Kosnik <bkoz@redhat.com>
2449 * testsuite/22_locale/collate_byname.cc (test01): Fix.
2451 2001-08-18 Vladimir A Merzliakov <wanderer@rsu.ru>
2453 * include/bits/locale_facets.tcc (collate::do_transform): Add typename.
2455 2001-08-18 Benjamin Kosnik <bkoz@redhat.com>
2457 * testsuite/22_locale/operators.cc: Add test.
2459 2001-08-17 Benjamin Kosnik <bkoz@redhat.com>
2461 Implement std::collate.
2462 * config/locale/collate_specializations_gnu.cc: Add here, implement in
2464 * config/locale/collate_specializations_generic.cc: Add here, but
2465 in a less sophisticated manner.
2466 * include/bits/locale_facets.tcc (collate): Add generic definition.
2467 * include/bits/locale_facets.h (~collate): Mark virtual.
2468 (collate::_M_compare_helper): New.
2469 (collate::_M_transform_helper): New.
2470 * src/locale.cc: Remove unnecessary specializations.
2471 * src/string-inst.cc: Tweak instantiation of ctors.
2473 * acinclude.m4 (GLIBCPP_ENABLE_CLOCALE): Do configury for collate.
2474 * aclocal.m4: Regenerate.
2475 * configure: Regenerate.
2476 * src/Makefile.am (sources): Add collate.cc.
2477 * src/Makefile.in: Regenerate.
2479 * testsuite/22_locale/collate_byname.cc: New.
2480 * testsuite/22_locale/collate.cc: New file.
2481 * testsuite/22_locale/collate_char_members.cc: New file.
2482 * testsuite/22_locale/collate_wchar_t_members.cc: New file.
2484 2001-08-16 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
2486 * configure.target: Set LIMITSH for powerpc-*-*.
2487 * config/cpu/powerpc/bits/limits.h: New file.
2489 2001-08-16 Marc Espie <espie@openbsd.org>
2491 * configure.in: Check for <sys/types.h>.
2492 * configure: Rebuild.
2493 * config.h.in: Rebuild.
2494 * libmath/mathconf.h: Include <sys/types.h> prior to
2495 <machine/endian.h> if available.
2497 2001-08-15 Andreas Schwab <schwab@suse.de>
2499 * configure.target (cpu_include_dir): Set to `config/cpu/m68k' for
2500 m68k and m680[246]0.
2501 * config/cpu/m68k/bits/atomicity.h: New file.
2503 * include/bits/std_limits.h [__glibcpp_long_double_bits == 96]:
2504 Define appropriate long double limits for m68k extended floating
2506 (__glibcpp_f32_digits10): Corrected, off by one.
2507 (__glibcpp_f80_digits10): Likewise.
2508 (__glibcpp_f128_digits10): Likewise.
2509 * config/os/gnu-linux/bits/os_defines.h
2510 (__glibcpp_long_double_bits) [__mc68000__]: Define to 96.
2512 2001-08-15 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
2514 * testsuite/18_support/numeric_limits.cc: Add more tests.
2515 * include/bits/std_limits.h (numeric_limits<char>::max): Fix
2518 2001-08-14 Ulrich Weigand <uweigand@de.ibm.com>
2520 * configure.target (cpu_include_dir): Set to `config/cpu/s390'
2523 * config/cpu/s390/bits/atomicity.h: New.
2525 2001-08-14 Gabriel Dos Reis <gdr@codesourcery.com>
2527 * include/bits/std_limits.h: Fix thinko.
2529 2001-08-14 Benjamin Kosnik <bkoz@redhat.com>
2531 * include/Makefile.am: Consolidate target rules. Don't clean stamp
2532 files. Tweak target build directory stamp.
2533 * include/Makefile.in: Regenerate.
2535 2001-08-14 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
2537 * libstdc++-v3/libmath/stubs.c: Fix PR/3988, replace
2538 _GBLICPP_HAVE_LOGL with HAVE_LOGL
2540 2001-08-13 Benjamin Kosnik <bkoz@redhat.com>
2542 * configure.in (libtool_VERSION): Add.
2543 (VERSION): Change to
2544 (release_VERSION): This.
2545 * configure: Regenerate.
2546 * src/Makefile.am (libstdc___la_LDFLAGS): Use -version-info with
2548 * src/Makefile.in: Regenerate.
2550 * intl/Makefile.am: Remove.
2551 * intl/Makefile.in: Remove.
2553 * Makefile.am (SUBDIRS): Remove intl.
2554 * po/Makefile.am (DISTFILES): Add string_literals.cc
2556 * po/string_literals.cc: Add.
2557 * po/POTFILES.in: Fix path.
2558 * acinclude.m4 (GLIBCPP_ENABLE_CLOCALE): Don't call AM_GNU_GETTEXT.
2559 * aclocal.m4: Regenerate.
2560 * configure.in: Remove AC_OUTPUT of intl/Makefile.
2562 * include/backward/backward_warning.h: Clarify message.
2564 * testsuite_flags.in (--cxxflags): Use same debug flags for
2565 library and testsuite.
2567 * include/Makefile.am (c_compatibility): Remove.
2568 * include/Makefile.in: Regenerate.
2570 2001-08-13 Mark Mitchell <mark@codesourcery.com>
2572 * configure.in (LIMITS_INC_SRCDIR): New variable.
2573 * configure.target (LIMITSH): New variable.
2574 * porting.texi: Discuss numeric limits.
2575 * config/cpu/generic/bits/limits.h: New file.
2576 * config/cpu/i386/bits/limits.h: New file.
2577 * include/Makefile.am: Install bits/limits.h.
2578 * include/bits/c++config: Include bits/limits.h.
2580 2001-08-13 H.J. Lu (hjl@gnu.org)
2582 * testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3-copy-files):
2584 (libstdc++-v3-init ): Use it.
2586 2001-08-13 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
2588 * include/bits/ostream.tcc (__pad_char): Change toplevel '__fmt'
2589 to '__adjust' to avoid shadowing in nested scope.
2591 2001-08-10 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
2593 * include/bits/std_limits.h(__glibcpp_char_is_signed): Use
2596 * config/os/gnu-linux/bits/os_defines.h(__glibcpp_char_is_signed):
2598 * config/os/aix/bits/os_defines.h(__glibcpp_plain_char_is_signed):
2601 2001-08-10 Loren J. Rittle <ljrittle@acm.org>
2603 * testsuite/testsuite_hooks.h (__set_testsuite_memlimit): Add
2604 dummy default argument to the non-limit implementation.
2607 * include/Makefile.am: Use relative file path in rule to allow
2609 * include/Makefile.in: Rebuilt.
2611 2001-08-10 Gunter Winkler <gunter.winkler@mathematik.tu-chemnitz.de>
2613 * include/bits/std_complex.h (complex<long double>::operator*=,
2614 complex<long double>::operator/=): Fix thinko.
2616 2001-08-10 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
2618 * include/bits/std_limits.h: New file.
2619 * include/Makefile.am (bits_headers): Add std_limits.h
2620 (all-local): std_limits.h is no longer built.
2621 (${target_builddir}/std_limits.h): Remove.
2622 * include/Makefile.in: Regenerate.
2623 * src/limits.cc: New file.
2624 * src/Makefile.am (sources): Add limits.cc in replacement of
2626 * src/Makefile.in: Regenerate.
2628 2001-08-09 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
2630 * src/gen-num-limits.cc (digits10): Fix thinko.
2632 2001-08-09 Benjamin Kosnik <bkoz@redhat.com>
2634 * po/Makefile.am (check-no): Add.
2636 * po/Makefile.in: Regenerate.
2638 2001-08-09 Benjamin Kosnik <bkoz@redhat.com>
2640 * acconfig.h (_GLIBCPP_MEM_LIMITS): Define.
2641 * config.h.in: Regenerate.
2642 * acinclude.m4 (GLIBCPP_CHECK_SETRLIMIT): Check for setrlimit
2644 * aclocal.m4: Regenerate.
2645 * configure.in: Remove duplicate AM_CONFIG_HEADER.
2646 (AM_CONFIG_HEADER): Remove testsuite/testsuite_hooks.h.
2647 Only call GLIBCPP_CHECK_SETRLIMIT for native compiles.
2648 * configure: Regenerate.
2649 * testsuite_hooks.h.in: Move to...
2650 * testsuite_hooks.h: Here, include c++config.h. Use it.
2652 * Makefile.am (SUBDIRS): Move testsuite to last directory.
2653 * Makefile.in: Regenerate.
2654 * po/Makefile.am (stamp-po): Add.
2656 2001-08-09 David Edelsohn <edelsohn@gnu.org>
2658 * config/os/aix/bits/os_defines.h: Define std_limits.h macros.
2659 * config/os/generic/bits/os_defines.h: Likewise.
2660 * config/os/gnu-linux/bits/os_defines.h: Likewise.
2661 * config/os/hpux/bits/os_defines.h: Likewise.
2662 * config/os/irix/irix6.5/bits/os_defines.h: Likewise.
2663 * config/os/solaris/solaris2.7/bits/os_defines.h: Likewise.
2665 2001-08-08 Benjamin Kosnik <bkoz@redhat.com>
2667 * src/Makefile.am (libstdc___la_LDFLAGS): Use -release instead of
2668 -version-info, use substituted VERSION info.
2669 * src/Makefile.in: Regenerate.
2671 2001-08-07 Benjamin Kosnik <bkoz@redhat.com>
2673 Implement std::messages.
2674 Make config a fully-nested directory.
2675 * config/locale: New directory.
2676 * config/c_locale_generic.cc: Move into locale subdirectory.
2677 * config/c_locale_generic.h: Same.
2678 * config/c_locale_gnu.cc: Same.
2679 * config/c_locale_gnu.h: Same.
2680 * config/c_locale_ieee_1003.1-200x.cc: Same.
2681 * config/c_locale_ieee_1003.1-200x_.h: Same.
2682 * config/codecvt_specializations_generic.h: Same.
2683 * config/codecvt_specializations_ieee_1003.1-200x.h: Same.
2684 * config/messages_members_gnu.h: Same.
2685 * config/messaages_members_gnu.cc: Same.
2686 * config/messages_members_generic.h: Same.
2687 * config/messaages_members_generic.cc: Same.
2688 * config/messages_members_ieee_1003.1-200x.h: Same.
2689 * config/messaages_members_ieee_1003.1-200x.cc: Same.
2690 * config/io: New directory.
2691 * config/basic_file_libio.h: Move into io subdirectory.
2692 * config/basic_file_libio.cc: Same.
2693 * config/c_io_libio.h: Same.
2694 * config/c_io_libio_codecvt.c: Same.
2695 * config/basic_file_stdio.h: Same.
2696 * config/basic_file_stdio.cc: Same.
2697 * config/c_io_stdio.h: Same.
2699 * po: New directory.
2700 * po/POTFILES.in: New file.
2701 * po/Makefile.am: New file.
2702 * po/Makefile.in: New file.
2703 * po/libstdc++.pot: Generic translation file.
2704 * po/fr.po: Preliminary French translation.
2705 * po/de.po: Preliminary German translation.
2706 * intl: New directory.
2707 * intl/Makefile.am: New file.
2708 * intl/Makefile.in: New file.
2709 * intl/string_literals.cc: New file.
2710 * acinclude.m4 (GLIBCPP_CONFIGURE): Bump VERSION to 3.1.0. Add
2711 requisite setup for gettext. Re-arrange.
2712 * aclocal.m4: Regenerate.
2713 * configure.in: Don't call GLIBCPP_CHECK_COMPILER_VERSION.
2714 Output Makefile bits for po and intl.
2715 * configure: Regenerate.
2716 * Makefile.am (SUBDIRS): Add intl, po. Add rule for dist.
2717 * Makefile.in: Regenerate.
2718 * acconfig.h: Add ENABLE_NLS, HAVE_CATGETS, HAVE_GETTEXT, HAVE_STPCPY.
2719 * config.h.in: Regenerate.
2721 * acinclude.m4 (AC_REPLACE_STRINGFUNCS): Remove.
2723 * include/Makefile.am (install-data-local): Don't install Makefile.
2724 * include/Makefile.in: Regenerate.
2726 * include/bits/locale_facet.h (locale::facet::_S_clone_c_locale):
2728 * config/locale/c_locale_gnu.cc (_S_clone_c_locale): Add definition.
2729 * config/locale/c_locale_generic.cc: Same.
2730 * config/locale/c_locale_ieee_1003.1-200x.cc: Same.
2732 * include/bits/codecvt.h: Excise non-standard, non-required
2733 bits. This includes __enc_traits, and partial specializations of
2734 codecvt for __enc_traits.
2735 * src/codecvt.cc (__enc_traits::_S_max_size): Guard
2736 * config/codecvt_partials_ieee_1003.1-200x.h: New file.
2737 * config/codecvt_partials_generic.h: New file.
2738 * include/Makefile.am (allstamps): Add stamp-codecvt_model.
2739 (stamp-codecvt_model): Add.
2740 * include/Makefile.in: Regenerate.
2741 * acinclude.m4 (GLIBCPP_ENABLE_CLOCALE): Add in codecvt configury.
2742 * aclocal.m4: Regenerate.
2743 * configure: Regenerate.
2744 * testsuite/22_locale/codecvt_unicode_wchar_t.cc: Use macro guard.
2745 * testsuite/22_locale/codecvt_unicode_char.cc: Same.
2746 * testsuite/22_locale/ctor_copy_dtor.cc: And here.
2748 * include/bits/localefwd.h (class locale::facet): Add __enc_traits
2749 as a friend for _S_*_c_locale functions.
2750 * include/bits/codecvt.h (__enc_traits::__enc_traits): Add locale
2751 argument to default constructor so that CODESET information can be
2753 * include/bits/locale_facets.h (messages_byname):
2754 Re-implement. Remove specializations.
2755 * src/locale.cc (messages_byname<char>): Remove specialization.
2756 (messages_byname<wchar_t>): Same.
2757 * config/locale/c_locale_ieee_1003.1-200x.cc: New file.
2758 * config/locale/c_locale_ieee_1003.1-200x.h: New file.
2759 * config/locale/messages_members_ieee_1003.1-200x.cc: New file.
2760 * config/locale/messages_members_ieee_1003.1-200x.h: New file.
2761 * config/locale/messages_members_gnu.cc: New file.
2762 * config/locale/messages_members_gnu.h: New file.
2763 * config/locale/messages_members_generic.cc: New file.
2764 * config/locale/messages_members_generic.h: New file.
2766 * docs/html/configopts.html: Add documentation for new locale
2767 model, ieee_1003.1. Adjust other flags for current defaults.
2768 * docs/html/22_locale/locale.html: Update.
2769 * docs/html/22_locale/howto.html: Add link to messages.html. Organize.
2770 * docs/html/22_locale/messages.html: New.
2772 * src/Makefile.am (sources): Add messages_virtuals.cc.
2773 * src/Makefile.in: Regenerate.
2774 * include/Makefile.am (allstamps): Add stamp-messages_model.
2775 (stamp-messages_model): Add.
2776 * include/Makefile.in: Regenerate.
2777 * acinclude.m4 (GLIBCPP_ENABLE_CLOCALE): Add in messages configury.
2778 * aclocal.m4: Regenerate.
2779 * configure: Regenerate.
2781 * testsuite_flags.in (--cxxflags): Add LOCALEDIR.
2782 * testsuite/lib/libstdc++-v3-dg.exp: Remove broken LD_LIBRARY_PATH
2784 * acinclude (GLIBCPP_ENABLE_CLOCALE): Set glibcpp_localedir to the
2785 build directories message catalog base directory, and export.
2786 Eventually this should probably be made to deal with build and
2787 install directories. For now, punt on this as the library itself
2788 doesn't use message catalogs (yet).
2789 * testsuite/22_locale/messages.cc: New file.
2790 * testsuite/22_locale/messages_char_members.cc: New file.
2791 * testsuite/22_locale/messages_byname.cc: New file.
2793 2001-08-06 Phil Edwards <pme@sources.redhat.com>
2795 * acinclude.m4 (GLIBCPP_CONFIGURE_TESTSUITE): New macro, calls...
2796 (GLIBCPP_CHECK_SETRLIMIT): ...this new macro, which also uses...
2797 (GLIBCPP_CHECK_SETRLIMIT_ancilliary): ...this new macro.
2798 * configure.in (AM_CONFIG_HEADER): Also generate testsuite_hooks.h.
2799 Call GLIBCPP_CONFIGURE_TESTSUITE.
2800 * aclocal.m4: Regenerate.
2801 * config.h.in: Regenerate.
2802 * configure: Regenerate.
2804 * testsuite/lib/libstdc++-v3-dg.exp: Download new header instead
2807 * testsuite_flags.in: Add build dir's testsuite to INCLUDES.
2808 * testsuite/debug_assert.h: Removed; contents merged into...
2809 * testsuite/testsuite_hooks.h.in: ...here. New file.
2810 * testsuite/17_intro/header_ciso646.cc: No longer include
2811 debug_assert.h, include testsuite_hooks.h instead.
2812 * testsuite/17_intro/header_fstream.cc: Likewise.
2813 * testsuite/17_intro/header_iomanip.cc: Likewise.
2814 * testsuite/17_intro/header_ios.cc: Likewise.
2815 * testsuite/17_intro/header_iosfwd.cc: Likewise.
2816 * testsuite/17_intro/header_iostream.cc: Likewise.
2817 * testsuite/17_intro/header_istream.cc: Likewise.
2818 * testsuite/17_intro/header_ostream.cc: Likewise.
2819 * testsuite/17_intro/header_sstream.cc: Likewise.
2820 * testsuite/17_intro/header_streambuf.cc: Likewise.
2821 * testsuite/18_support/numeric_limits.cc: Likewise.
2822 * testsuite/19_diagnostics/stdexceptions.cc: Likewise.
2823 * testsuite/20_util/allocator_members.cc: Likewise.
2824 * testsuite/20_util/auto_ptr.cc: Likewise.
2825 * testsuite/20_util/pairs.cc: Likewise.
2826 * testsuite/21_strings/append.cc: Likewise.
2827 * testsuite/21_strings/capacity.cc: Likewise.
2828 * testsuite/21_strings/char_traits_requirements.cc: Likewise.
2829 * testsuite/21_strings/compare.cc: Likewise.
2830 * testsuite/21_strings/ctor_copy_dtor.cc: Likewise. Also set up
2831 call to (disabled) __set_testsuite_memlimit() wrapper.
2832 * testsuite/21_strings/element_access.cc: Likewise.
2833 * testsuite/21_strings/find.cc: Likewise.
2834 * testsuite/21_strings/insert.cc: Likewise. Also set up call to
2835 (disabled) __set_testsuite_memlimit() wrapper.
2836 * testsuite/21_strings/inserters_extractors.cc: Likewise.
2837 * testsuite/21_strings/invariants.cc: Likewise.
2838 * testsuite/21_strings/nonmember.cc: Likewise.
2839 * testsuite/21_strings/operations.cc: Likewise.
2840 * testsuite/21_strings/replace.cc: Likewise.
2841 * testsuite/21_strings/rfind.cc: Likewise.
2842 * testsuite/21_strings/substr.cc: Likewise.
2843 * testsuite/22_locale/codecvt_char_char.cc: Likewise.
2844 * testsuite/22_locale/codecvt_unicode_char.cc: Likewise.
2845 * testsuite/22_locale/codecvt_unicode_wchar_t.cc: Likewise.
2846 * testsuite/22_locale/codecvt_wchar_t_char.cc: Likewise.
2847 * testsuite/22_locale/ctor_copy_dtor.cc: Likewise.
2848 * testsuite/22_locale/ctype_char_members.cc: Likewise.
2849 * testsuite/22_locale/ctype_wchar_t_members.cc: Likewise.
2850 * testsuite/22_locale/facet.cc: Likewise.
2851 * testsuite/22_locale/global_templates.cc: Likewise.
2852 * testsuite/22_locale/members.cc: Likewise.
2853 * testsuite/22_locale/numpunct_byname.cc: Likewise.
2854 * testsuite/22_locale/numpunct_char_members.cc: Likewise.
2855 * testsuite/22_locale/operators.cc: Likewise.
2856 * testsuite/22_locale/static_members.cc: Likewise.
2857 * testsuite/23_containers/bitset_ctor.cc: Likewise.
2858 * testsuite/23_containers/bitset_members.cc: Likewise.
2859 * testsuite/23_containers/bitset_shift.cc: Likewise.
2860 * testsuite/23_containers/vector_capacity.cc: Likewise.
2861 * testsuite/23_containers/vector_ctor.cc: Likewise.
2862 * testsuite/23_containers/vector_element_access.cc: Likewise.
2863 * testsuite/23_containers/vector_modifiers.cc: Likewise.
2864 * testsuite/24_iterators/istreambuf_iterator.cc: Likewise.
2865 * testsuite/24_iterators/iterator.cc: Likewise.
2866 * testsuite/24_iterators/ostreambuf_iterator.cc: Likewise.
2867 * testsuite/25_algorithms/binary_search.cc: Likewise.
2868 * testsuite/25_algorithms/copy.cc: Likewise.
2869 * testsuite/25_algorithms/heap.cc: Likewise.
2870 * testsuite/25_algorithms/lower_bound.cc: Likewise.
2871 * testsuite/25_algorithms/min_max.cc: Likewise.
2872 * testsuite/25_algorithms/partition.cc: Likewise.
2873 * testsuite/25_algorithms/rotate.cc: Likewise.
2874 * testsuite/25_algorithms/sort.cc: Likewise.
2875 * testsuite/26_numerics/c_math.cc: Likewise.
2876 * testsuite/26_numerics/complex_inserters_extractors.cc: Likewise.
2877 * testsuite/26_numerics/complex_value.cc: Likewise.
2878 * testsuite/27_io/filebuf.cc: Likewise.
2879 * testsuite/27_io/filebuf_members.cc: Likewise.
2880 * testsuite/27_io/filebuf_virtuals.cc: Likewise.
2881 * testsuite/27_io/fpos.cc: Likewise.
2882 * testsuite/27_io/fstream_members.cc: Likewise.
2883 * testsuite/27_io/ifstream_members.cc: Likewise.
2884 * testsuite/27_io/ios_base_callbacks.cc: Likewise.
2885 * testsuite/27_io/ios_base_members_static.cc: Likewise.
2886 * testsuite/27_io/ios_base_storage.cc: Likewise.
2887 * testsuite/27_io/ios_ctor.cc: Likewise.
2888 * testsuite/27_io/ios_init.cc: Likewise.
2889 * testsuite/27_io/ios_manip_basefield.cc: Likewise.
2890 * testsuite/27_io/ios_manip_fmtflags.cc: Likewise.
2891 * testsuite/27_io/ios_members.cc: Likewise.
2892 * testsuite/27_io/istream_extractor_arith.cc: Likewise.
2893 * testsuite/27_io/istream_extractor_char.cc: Likewise.
2894 * testsuite/27_io/istream_extractor_other.cc: Likewise.
2895 * testsuite/27_io/istream_manip.cc: Likewise.
2896 * testsuite/27_io/istream_seeks.cc: Likewise.
2897 * testsuite/27_io/istream_sentry.cc: Likewise.
2898 * testsuite/27_io/istream_unformatted.cc: Likewise.
2899 * testsuite/27_io/istringstream_members.cc: Likewise.
2900 * testsuite/27_io/narrow_stream_objects.cc: Likewise.
2901 * testsuite/27_io/ofstream_members.cc: Likewise.
2902 * testsuite/27_io/ostream_inserter_arith.cc: Likewise.
2903 * testsuite/27_io/ostream_inserter_char.cc: Likewise.
2904 * testsuite/27_io/ostream_inserter_other.cc: Likewise.
2905 * testsuite/27_io/ostream_manip.cc: Likewise.
2906 * testsuite/27_io/ostream_seeks.cc: Likewise.
2907 * testsuite/27_io/ostream_unformatted.cc: Likewise.
2908 * testsuite/27_io/ostringstream_members.cc: Likewise.
2909 * testsuite/27_io/streambuf.cc: Likewise.
2910 * testsuite/27_io/stringbuf.cc: Likewise.
2911 * testsuite/27_io/stringbuf_virtuals.cc: Likewise.
2912 * testsuite/27_io/stringstream.cc: Likewise.
2913 * testsuite/27_io/stringstream_members.cc: Likewise.
2914 * testsuite/27_io/wide_stream_objects.cc: Likewise.
2916 2001-07-31 Loren J. Rittle <ljrittle@acm.org>
2918 * src/gen-num-limits.cc: Use __LONG_LONG_MAX__.
2920 2001-07-30 Benjamin Kosnik <bkoz@redhat.com>
2922 * configure.target: Remove mips from cpu table.
2923 * config/cpu/mips/bits/atomicity.h: Remove generic
2924 versions. Comment sgidefs include.
2926 2001-07-25 H.J. Lu <hjl@gnu.org>
2928 * configure.target (cpu_include_dir): Set to `config/cpu/mips'
2931 * config/cpu/mips/bits/atomicity.h: New.
2933 2001-07-25 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
2935 * acinclude.m4: CHECK_MATH_DECL_AND_LINKAGE for hypot, hypotf,
2936 hypotl, atan2f, atan2l. Remove from REPLACE_MATHFUNCS list.
2937 * aclocal.m4: Regenerate.
2938 * config.h.in: Likewise.
2939 * configure: Likewise.
2940 * libmath/Makefile.am (EXTRA_LONG_DOUBLE_yes): Remove hypotl.c
2941 (EXTRA_DIST): Remove hypot.c hypotf.c.
2942 * libmath/Makefile.am: Regenerate.
2943 * libmath/hypotf.c: Remove.
2944 * libmath/hypot.c: Likewise.
2945 * libmath/hypotl.c: Likewise.
2946 * libmath/stubs.c: The macros seen here are HAVE_xxx, not
2947 _GLIBCPP_HAVE_xxx. Add long double versions.
2949 2001-07-23 David Edelsohn <edelsohn@gnu.org>
2951 * include/bits/limits_generic.h (int): Set digits and digits10
2952 appropriately for word size.
2953 (unsigned int,long,unsigned long): Likewise.
2955 2001-07-19 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
2957 * include/bits/stl_algo.h : Fix typos.
2958 * testsuite/25_algorithms/unique.cc: New file.
2960 2001-07-19 Phil Edwards <pme@sources.redhat.com>
2961 Mark Mitchell <mark@codesourcery.com>
2963 Merge from cp-parser-branch.
2964 * include/bits/basic_string.h: Qualify symbols with 'template'.
2965 * include/bits/basic_string.tcc: Likewise.
2966 * include/bits/fstream.tcc: Likewise.
2967 * include/bits/istream.tcc: Likewise.
2968 * include/bits/sstream.tcc: Likewise.
2969 * include/bits/std_istream.h: Likewise.
2970 * include/bits/stl_iterator.h: Likewise.
2971 * include/bits/streambuf.tcc: Likewise.
2972 * src/gen-num-limits.cc: Add 'template<>' to specializations.
2973 * src/locale.cc: Likewise.
2975 2001-07-19 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
2976 Bert De Knuydt <Bert.Deknuydt@esat.kuleuven.ac.be>
2978 * src/gen-num-limits.cc (set_signals_handler): New function.
2979 Factor out signals setting. Set signal handler for SIGILL.
2981 2001-07-18 Phil Edwards <pme@sources.redhat.com>
2983 * docs/html/27_io/howto.html: Fix typo.
2984 * docs/html/faq/index.html: Minor updates for 3.0 all around.
2985 * docs/html/faq/index.txt: Regenerated.
2987 2001-07-18 Stephen M. Webb <stephen@bregmasoft..com>
2988 Roman Sulzhyk <roman_sulzhyk@yahoo.com>
2991 * include/bits/ostream.tcc (ostream::put): Fixed error condition check.
2992 * testsuite/27_io/streambuf.cc (test07): Added new regression test.
2994 2001-07-17 Stephen M. Webb <stephen@bregmasoft.com>r
2996 All occurrences of the __value_type() and __distance_type()
2997 functions, which were required to support the HP STL, have been
2998 removed along with all the auxiliary forwarding functions that
2999 were required to support their use.
3001 The __iterator_category() function was pretty much left alone
3002 because there was no benefit to removing it and its use made code
3003 just a little more readable.
3005 Incidences of distance() with nonstandard argument list were
3006 replaced by calls to the standard function (only in the files
3007 affected by the removal of the other HP functions).
3009 The signature of the rotate() algorithm was changed to match the
3012 Headers were reformatted under C++STYLE guidelines (indentation,
3013 linebreaks, typename keyword).
3015 * include/bits/stl_algo.h: replaced __value_type() and
3016 __distance_type() with iterator_traits, eliminated auxiliary
3017 support functions required to support said function usage.
3018 Changed nonstandard distance() call to standard call.
3020 * include/bits/stl_algobase.h: Same.
3021 * include/bits/stl_heap.h: Same.
3022 * include/bits/stl_numeric.h: Same.
3023 * include/bits/stl_uninitialized.h: Same.
3024 * include/bits/stl_iterator_base_types.h (__value_type()):
3026 (__distance_type()): Removed.
3027 (value_type()): Gone.
3028 (distance_type()): Done in.
3029 (iterator_category()): Hasta la vista, baby.
3031 * include/bits/stl_iterator_base_funcs.h (iterator_category()):
3032 Replaced with __iterator_category().
3033 * include/backward/iterator.h: moved definition of value_type(),
3034 distance_type(), and iterator_category() out of std:: and into
3036 * testsuite/23_containers/vector_ctor.cc (test03): New testcases.
3037 * testsuite/23_containers/vector_modifiers.cc (test03): New testcases.
3038 * testsuite/25_algorithms/rotate.cc: New testcase.
3039 * testsuite/25_algorithms/copy.cc: New testcase.
3040 * testsuite/25_algorithms/sort.cc: Same.
3041 * testsuite/25_algorithms/heap.cc: Same.
3042 * testsuite/25_algorithms/partition.cc: Same.
3043 * testsuite/25_algorithms/binary_search.cc: Same.
3044 * testsuite/26_numerics/sum_diff.cc: Ditto.
3046 001-07-17 Benjamin Kosnik <bkoz@redhat.com>
3048 * testsuite/README: Add notes on naming test cases.
3049 * testsuite/22_locale/members.cc: Mark as xfail.
3050 * testsuite/22_locale/numpunct_char_members.cc: Same.
3052 2001-07-16 Stephen M. Webb <stephen@bregmasoft.com>
3054 * acinclude.m4 (GLIBCPP_ENABLE_CHEADERS): Use glibcpp_srcdir when
3055 setting C_INCLUDE_DIR.
3056 * configure.in: Revert yesterday's LN_S change.
3057 * aclocal.m4: Regenerate.
3058 * configure: Regenerate.
3060 2001-07-15 Phil Edwards <pme@sources.redhat.com>
3062 * configure.in: Temporarily force LN_S to copy instead of symlink.
3063 * configure: Regenerate.
3065 2001-07-13 Phil Edwards <pme@sources.redhat.com>
3067 * include/bits/std_sstream.h (basic_stringbuf::basic_stringbuf(string):
3068 Initialize _M_string with pointer-and-size constructor, not just
3069 pointer. Fix some comments.
3070 * testsuite/21_strings/ctor_copy_dtor.cc (test03): New test.
3071 * testsuite/27_io/stringbuf.cc (test02): Remove unused variable.
3072 (test03): Add embedded-NUL tests.
3074 * mkcheck.in: When printing totals, match the order of the tests.
3075 * include/bits/stringfwd.h: Use same declaration keywords.
3076 * include/bits/std_iosfwd.h: Cosmetic spacing.
3078 2001-07-13 Stephen M. Webb <stephen@bregmasoft.com>
3079 Loren J. Rittle <ljrittle@acm.org>
3080 Phil Edwards <pme@sources.redhat.com>
3082 * include/Makefile.am: New file encapsulating header generation rules.
3083 * Makefile.am (SUBDIRS): Prepend 'include' directory.
3084 * acinclude.m4: Moved/removed rules for building various headers.
3085 * configure.in (AC_OUTPUT): Add include/Makefile.
3086 * mkc++config: Removed.
3088 * testsuite_flags.in: Changed build-includes to match new scheme.
3089 * mknumeric_limits: Likewise.
3090 * libio/Makefile.am: Changed INCLUDES to maatch new header scheme.
3091 * libmath/Makefile.am: Likewise.
3092 * libsupc++/Makefile.am: Likewise.
3093 * src/Makefile.am: Likewise; removed rules to build headers.
3094 * libmath/mathconf.h: Changed #include'd header names to match.
3095 * libmath/stubs.c: Likewise.
3096 * src/gen-num-limits.cc: Likewise.
3098 * configure: Regenerated.
3099 * config.h.in: Regenerated.
3100 * aclocal.m4: Regenerated.
3101 * Makefile.in: Regenerated.
3102 * include/Makefile.in: Regenerated.
3103 * libio/Makefile.in: Regenerated.
3104 * libmath/Makefile.in: Regenerated.
3105 * libsupc++/Makefile.in: Regenerated.
3106 * src/Makefile.in: Regenerated.
3107 * testsuite/Makefile.in: Regenerated.
3109 2001-07-11 Felix Natter <fnatter@gmx.net>
3111 * docs/html/17_intro/porting-howto.xml: Initial checkin of
3113 * docs/html/17_intro/porting-howto.html: check in v0.9.3
3115 2001-07-11 Phil Edwards <pme@sources.redhat.com>
3117 * docs/doxygen/run_doxygen: Don't keep output from previous run.
3118 * docs/doxygen/user.cfg.in: Tweaks.
3119 * include/bits/c++config: Documentation comments for Doxygen.
3120 * include/bits/char_traits.h: Likewise.
3121 * include/bits/limits_generic.h: Likewise.
3122 * include/bits/std_stdexcept.h: Likewise.
3123 * include/bits/stl_pair.h: Likewise.
3124 * libsupc++/exception: Likewise.
3125 * libsupc++/new: Likewise.
3126 * libsupc++/typeinfo: Likewise.
3127 * libmath/Makefile.am: Update and correct copyright.
3129 2001-07-10 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
3131 * acinclude.m4: Don't AC_REPLACE_MATHFUNCS expf and atan2f.
3132 * aclocal.m4: Regenerate.
3135 2001-07-09 Phil Edwards <pme@sources.redhat.com>
3137 * docs/html/configopts.html: Fix thinko.
3138 * docs/html/27_io/howto.html: Fix thinko and HTML markup.
3139 * include/bits/stl_iterator.h: Fix typo.
3141 2001-07-09 Phil Edwards <pme@sources.redhat.com>
3143 * docs/html/explanations.html: New file.
3144 * docs/html/configopts.html: Link to it to provide more notes
3145 on cstdio. Minor markup and spacing fixes.
3146 * docs/html/27_io/howto.html: Talk about sync_with_stdio.
3148 2001-07-09 Kriang Lerdsuwanakij <lerdsuwa@users.sourceforge.net>
3150 * include/bits/valarray_meta.h (_Expr::operator+): Use qualified id
3151 for _Expr template template argument.
3152 (_Expr::operator-): Likewise.
3153 (_Expr::operator~): Likewise.
3154 (_Expr::operator!): Likewise.
3155 (_DEFINE_EXPR_UNARY_OPERATOR): Likewise.
3157 2001-07-06 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
3159 * libmath/Makefile.am (EXTRA_DIST): Remove atan2f.c and expf.c
3160 * libmath/Makefile.in: Regenerate.
3161 * libmath/expf.c: Remove.
3162 * libmath/atan2f.c: Likewise.
3164 2001-07-06 Daniel Jacobowitz <drow@mvista.com>
3166 * configure.in: Remove NATIVE, NULL_TARGET.
3167 Set CANADIAN only for Canadian crosses. Set xcompiling
3168 for both Canadian crosses and host-x-host crosses.
3169 * configure: Regenerated.
3171 2001-07-06 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
3173 * include/bits/stl_vector.h (vector::_M_initialize_aux): Fix typo.
3175 2001-07-05 Jason Merrill <jason_merrill@redhat.com>
3177 * testsuite_flags.in (--build-includes): backward, not backwards.
3179 2001-07-04 Jeffrey Oldham <oldham@codesourcery.com>
3181 * include/ext/ropeimpl.h (_Rope_RopeRep::_M_free_c_string):
3182 Replace destroy by _Destroy.
3183 (_Rope_RopeRep::_S_free_string): Likewise.
3184 (rope::c_str()): Likewise.
3185 * include/ext/slist (_Slist_base::_M_erase_after>): Likewise.
3186 (_Slist_base::_M_erase_after): Likewise.
3187 (slist::_M_create_node): Replace construct by _Construct.
3188 (slist::pop_front): Replace destroy by _Destroy.
3189 * include/ext/stl_hashtable.h (hashtable::_M_new_node): Replace
3190 construct by _Construct.
3191 (hashtable::_M_delete_node): Replace destroy by _Destroy.
3192 * include/ext/stl_rope.h (rope::rope): Replace construct by
3194 (rope::copy): Replace destroy by _Destroy.
3196 2001-07-03 Benjamin Kosnik <bkoz@redhat.com>
3198 * include/bits/localefwd.h: Format.
3199 * include/bits/locale_facts.tcc (locale::combine): Adjust.
3200 * src/locale.cc (locale::locale::(_Impl)): Don't call
3202 (locale::facet::_M_remove_reference): Simplify.
3203 * src/globals.cc (locale_impl_c): New. Format.
3205 * src/ios.cc (ios_base::Init::Init): Increment _S_ios_base_init last.
3207 2001-07-02 Loren J. Rittle <ljrittle@acm.org>
3209 * acinclude.m4 (GLIBCPP_ENABLE_THREADS): Protect variable from shell
3210 expansion (thanks to Alexandre Oliva).
3211 * aclocal.m4: Regenerate.
3212 * configure: Regenerate.
3214 2001-07-02 Benjamin Kosnik <bkoz@redhat.com>
3216 * src/locale.cc (locale::locale(const char*)): Make sure global
3217 locales are initialized.
3218 * include/bits/locale_facets.tcc (locale::combine): Refcout should
3219 be zero, not one as it's return-by-value.
3220 * testsuite/27_io/ios_base_callbacks.cc (test01): Don't check for
3222 * testsuite/22_locale/ctor_copy_dtor.cc (test01): Instead, check
3225 * libsupc++/eh_alloc.cc: Use climits, not limits.h.
3227 2001-07-02 Loren J. Rittle <ljrittle@acm.org>
3230 * acinclude.m4 (GLIBCPP_ENABLE_THREADS): Portability enhancement.
3231 * aclocal.m4: Regenerate.
3232 * configure: Regenerate.
3234 2001-07-02 Loren J. Rittle <ljrittle@acm.org>
3237 * acinclude.m4 (GLIBCPP_ENABLE_THREADS): Add relative path to
3238 staged/installed area to support -I-. Document.
3239 * aclocal.m4: Regenerate.
3240 * configure: Regenerate.
3242 2001-07-02 Loren J. Rittle <ljrittle@acm.org>
3245 * src/ios.cc (ios_base::Init::_S_ios_create): Rename __bufsize to
3246 __out_bufsize. Add __in_bufsize, document it and use it.
3248 2001-07-01 Stephen M. Webb <stephen@bregmasoft.com>
3250 * include/bits/stl_construct.h (construct): Remove.
3252 (__destroy): Replaced by use of iterator_traits.
3253 * include/bits/stl_deque.h: replaced HP iterator functions with
3255 (construct): changed to _Construct.
3256 (destroy): changed to _Destroy.
3257 * include/bits/stl_tempbuf.h: Same.
3258 * include/bits/stl_tree.h: Same.
3259 * include/bits/stl_vector.h: Same.
3260 * include/backward/iterator.h (construct): moved definition to here.
3263 2001-06-29 Benjamin Kosnik <bkoz@redhat.com>
3265 * include/bits/locale_facets.tcc (locale::combine): Clone _Impl.
3266 before replacing facet.
3267 * include/bits/localefwd.h (locale::_Impl::_M_remove_reference):
3269 * src/localename.cc (locale::_Impl): Correct ctor initialization
3270 lists. Initialize ref count with one. Simplify.
3271 * src/locale.cc: Add comment.
3272 * testsuite/22_locale/numpunct.cc (test01): Add derivation test.
3273 * testsuite/22_locale/numpunct_char_members.cc (test01): Add tests.
3274 * testsuite/22_locale/members.cc (test02): Fix.
3276 2001-06-27 Phil Edwards <pme@sources.redhat.com>
3278 * include/backward/algo.h: Add "GPL plus runtime exception" comment
3279 block, this time for real.
3280 * include/backward/algobase.h: Likewise.
3281 * include/backward/alloc.h: Likewise.
3282 * include/backward/bvector.h: Likewise.
3283 * include/backward/defalloc.h: Likewise.
3284 * include/backward/deque.h: Likewise.
3285 * include/backward/function.h: Likewise.
3286 * include/backward/hash_map.h: Likewise.
3287 * include/backward/hash_set.h: Likewise.
3288 * include/backward/hashtable.h: Likewise.
3289 * include/backward/heap.h: Likewise.
3290 * include/backward/iterator.h: Likewise.
3291 * include/backward/list.h: Likewise.
3292 * include/backward/map.h: Likewise.
3293 * include/backward/multimap.h: Likewise.
3294 * include/backward/multiset.h: Likewise.
3295 * include/backward/pair.h: Likewise.
3296 * include/backward/rope.h: Likewise.
3297 * include/backward/set.h: Likewise.
3298 * include/backward/slist.h: Likewise.
3299 * include/backward/stack.h: Likewise.
3300 * include/backward/strstream: Likewise.
3301 * include/backward/tempbuf.h: Likewise.
3302 * include/backward/tree.h: Likewise.
3303 * include/backward/vector.h: Likewise.
3304 * include/bits/pthread_allocimpl.h: Likewise.
3305 * include/bits/std_algorithm.h: Likewise.
3306 * include/bits/std_bitset.h: Likewise.
3307 * include/bits/std_deque.h: Likewise.
3308 * include/bits/std_functional.h: Likewise.
3309 * include/bits/std_iterator.h: Likewise.
3310 * include/bits/std_list.h: Likewise.
3311 * include/bits/std_map.h: Likewise.
3312 * include/bits/std_memory.h: Likewise.
3313 * include/bits/std_numeric.h: Likewise.
3314 * include/bits/std_queue.h: Likewise.
3315 * include/bits/std_set.h: Likewise.
3316 * include/bits/std_stack.h: Likewise.
3317 * include/bits/std_utility.h: Likewise.
3318 * include/bits/std_vector.h: Likewise.
3319 * include/bits/stl_algo.h: Likewise.
3320 * include/bits/stl_algobase.h: Likewise.
3321 * include/bits/stl_alloc.h: Likewise.
3322 * include/bits/stl_bvector.h: Likewise.
3323 * include/bits/stl_construct.h: Likewise.
3324 * include/bits/stl_deque.h: Likewise.
3325 * include/bits/stl_function.h: Likewise.
3326 * include/bits/stl_heap.h: Likewise.
3327 * include/bits/stl_iterator.h: Likewise.
3328 * include/bits/stl_iterator_base_funcs.h: Likewise.
3329 * include/bits/stl_iterator_base_types.h: Likewise.
3330 * include/bits/stl_list.h: Likewise.
3331 * include/bits/stl_map.h: Likewise.
3332 * include/bits/stl_multimap.h: Likewise.
3333 * include/bits/stl_multiset.h: Likewise.
3334 * include/bits/stl_numeric.h: Likewise.
3335 * include/bits/stl_pair.h: Likewise.
3336 * include/bits/stl_pthread_alloc.h: Likewise.
3337 * include/bits/stl_queue.h: Likewise.
3338 * include/bits/stl_raw_storage_iter.h: Likewise.
3339 * include/bits/stl_relops.h: Likewise.
3340 * include/bits/stl_set.h: Likewise.
3341 * include/bits/stl_stack.h: Likewise.
3342 * include/bits/stl_tempbuf.h: Likewise.
3343 * include/bits/stl_threads.h: Likewise.
3344 * include/bits/stl_tree.h: Likewise.
3345 * include/bits/stl_uninitialized.h: Likewise.
3346 * include/bits/stl_vector.h: Likewise.
3347 * include/bits/type_traits.h: Likewise.
3348 * include/ext/hash_map: Likewise.
3349 * include/ext/hash_set: Likewise.
3350 * include/ext/rope: Likewise.
3351 * include/ext/ropeimpl.h: Likewise.
3352 * include/ext/slist: Likewise.
3353 * include/ext/stl_hash_fun.h: Likewise.
3354 * include/ext/stl_hashtable.h: Likewise.
3355 * include/ext/stl_rope.h: Likewise.
3356 * src/bitset.cc: Likewise.
3357 * src/strstream.cc: Likewise.
3359 2001-06-26 Benjamin Kosnik <bkoz@redhat.com>
3360 <vakatov@ncbi.nlm.nih.gov>
3363 * include/bits/streambuf.tcc (__copy_streambufs): Don't set eofbit.
3364 * testsuite/27_io/ostream_inserter_other.cc (test04): Add test.
3365 * testsuite/27_io/istream_extractor_other.cc: Fix.
3367 2001-06-26 Zoltan Hidvegi <hzoli@austin.ibm.com>
3369 * acinclude.m4 (glibcpp_toolexeclibdir): Make multilib safe.
3370 * aclocal.m4: Regenerate.
3371 * configure: Regenerate.
3373 2001-06-26 Benjamin Kosnik <bkoz@redhat.com>
3375 * include/bits/stream_iterator.h (istream_iterator): Add copy ctor.
3376 (ostream_iterator): Same.
3377 * include/bits/stl_iterator.h (front_insert_iterator::operator=):
3378 Change argument to const_reference.
3379 (back_insert_iterator): Same.
3381 2001-06-26 Benjamin Kosnik <bkoz@redhat.com>
3383 * include/bits/sbuf_iter.h: Change to..
3384 * include/bits/streambuf_iterator.h: This.
3385 * include/bits/stl_iterator.h: Take out of here...
3386 * include/bits/stream_iterator.h: Add.
3387 * src/Makefile.am (base_headers): Add streambuf_iterator,
3389 * src/Makefile.in: Regenerate.
3390 * include/bits/std_string.h: Adjust includes.
3391 * include/bits/basic_ios.h: Same.
3392 * include/bits/locale_facets.tcc: Same.
3393 * include/bits/std_iosfwd.h: Same.
3395 * include/bits/std_iterator.h: Add istream, ostream includes.
3396 * include/bits/stl_iterator.h: Tweak.
3397 * testsuite/24_iterators/ostream_iterator.cc: Add test.
3398 * testsuite/24_iterators/istream_iterator.cc: Same.
3399 * testsuite/23_containers/multiset.cc: Add iterator include.
3401 2001-06-26 Phil Edwards <pme@sources.redhat.com>
3403 * acinclude.m4: Clean extraneous tabs, rewrap 'test' lines.
3404 * aclocal.m4: Regenerate.
3405 * configure: Regenerate.
3407 2001-06-26 Felix Natter <f.natter@ndh.net>
3409 * docs/html/17_intro/porting-howto.html: Fixed some errors.
3411 2001-06-26 Benjamin Kosnik <bkoz@redhat.com>
3413 * include/bits/stl_iterator.h (istream_iterator::operator->): Fix
3415 (istream_iterator::operator*): Same.
3417 2001-06-26 Benjamin Kosnik <bkoz@redhat.com>
3418 Alexandre Petit-Bianco <apbianco@redhat.com>
3420 * testsuite/21_strings/element_access.cc (test01): Chill Out Cafe
3421 is on 41st, not 14th.
3423 2001-06-26 Benjamin Kosnik <bkoz@redhat.com>
3425 * include/bits/std_iterator.h: Include sbuf_iter.h via std_ios.h.
3427 * include/bits/stl_iterator.h (istream_iterator): Inherit from
3429 (ostream_iterator): Same.
3430 * testsuite/24_iterators/istream_iterator.cc: New file.
3431 * testsuite/24_iterators/ostream_iterator.cc: New file.
3433 * include/bits/sbuf_iter.h: Remove self typedef.
3434 * testsuite/24_iterators/ostreambuf_iterator.cc: Add test.
3435 * testsuite/24_iterators/istreambuf_iterator.cc: Add test.
3437 * include/bits/stl_iterator.h (reverse_iterator): Remove
3438 extraneous typedefs. Add typename.
3439 (__normal_iterator): Remove typedefs referring to self. Add typename.
3440 (reverse_bidiretional_iterator): Remove, not longer required.
3442 2001-06-26 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
3444 * include/bits/stl_iterator.h (__normal_iterator<>): Qualify
3445 dependent names with `typename'. Bring in various required
3446 iterator_traits members. Can't imagine why that used to work.
3448 2001-06-25 Phil Edwards <pme@sources.redhat.com>
3449 Kurt Garloff <garloff@suse.de>
3452 * src/cmath.cc: New [version of an old] file; instantiate
3453 __cmath_power to start with.
3454 * src/Makefile.am (sources): Add cmath.cc (and alphabetize).
3455 * Makefile.in: Regenerate.
3456 * libio/Makefile.in: Regenerate.
3457 * libmath/Makefile.in: Regenerate.
3458 * libsupc++/Makefile.in: Regenerate.
3459 * src/Makefile.in: Regenerate.
3460 * testsuite/Makefile.in: Regenerate.
3462 2001-06-24 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
3464 * libmath/stubs.c: Fix thinko.
3466 2001-06-24 David Edelsohn <dje@watson.ibm.com>
3468 * libmath/stubs.c (sqrtf): Define.
3469 (tanf): Correct typo.
3471 2001-06-22 Benjamin Kosnik <bkoz@redhat.com>
3473 * include/bits/stl_iterator.h (reverse_iterator): Inherit from
3475 (back_insert_iterator): Same.
3476 (front_insert_iterator): Same.
3477 (insert_iterator): Same.
3479 * testsuite/20_util/raw_storage_iterator.cc: Modify.
3480 * testsuite/24_iterators/reverse_iterator.cc: New file.
3481 * testsuite/24_iterators/back_insert_iterator.cc: New file.
3482 * testsuite/24_iterators/front_insert_iterator.cc: New file.
3483 * testsuite/24_iterators/insert_iterator.cc: New file.
3485 2001-06-22 Phil Edwards <pme@sources.redhat.com>
3487 * include/*: Revert comment/license change from yesterday for all
3488 except libsupc++/unwind-cxx.h.
3489 * src/bitset.cc: Likewise.
3490 * src/strstream.cc: Likewise.
3492 2001-06-22 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
3494 * libmath/stubs.c: New file.
3498 * libmath/Makefile.am (libmath_la_SOURCES): Add.
3499 * libmath/Makefile.in. Regenerate.
3501 2001-06-21 Phil Edwards <pme@sources.redhat.com>
3503 * include/backward/algo.h: Add "GPL plus runtime exception" comment.
3504 * include/backward/algobase.h: Likewise.
3505 * include/backward/alloc.h: Likewise.
3506 * include/backward/bvector.h: Likewise.
3507 * include/backward/defalloc.h: Likewise.
3508 * include/backward/deque.h: Likewise.
3509 * include/backward/function.h: Likewise.
3510 * include/backward/hash_map.h: Likewise.
3511 * include/backward/hash_set.h: Likewise.
3512 * include/backward/hashtable.h: Likewise.
3513 * include/backward/heap.h: Likewise.
3514 * include/backward/iterator.h: Likewise.
3515 * include/backward/list.h: Likewise.
3516 * include/backward/map.h: Likewise.
3517 * include/backward/multimap.h: Likewise.
3518 * include/backward/multiset.h: Likewise.
3519 * include/backward/pair.h: Likewise.
3520 * include/backward/rope.h: Likewise.
3521 * include/backward/set.h: Likewise.
3522 * include/backward/slist.h: Likewise.
3523 * include/backward/stack.h: Likewise.
3524 * include/backward/strstream: Likewise.
3525 * include/backward/tempbuf.h: Likewise.
3526 * include/backward/tree.h: Likewise.
3527 * include/backward/vector.h: Likewise.
3528 * include/bits/pthread_allocimpl.h: Likewise.
3529 * include/bits/std_algorithm.h: Likewise.
3530 * include/bits/std_bitset.h: Likewise.
3531 * include/bits/std_deque.h: Likewise.
3532 * include/bits/std_functional.h: Likewise.
3533 * include/bits/std_iterator.h: Likewise.
3534 * include/bits/std_list.h: Likewise.
3535 * include/bits/std_map.h: Likewise.
3536 * include/bits/std_memory.h: Likewise.
3537 * include/bits/std_numeric.h: Likewise.
3538 * include/bits/std_queue.h: Likewise.
3539 * include/bits/std_set.h: Likewise.
3540 * include/bits/std_stack.h: Likewise.
3541 * include/bits/std_utility.h: Likewise.
3542 * include/bits/std_vector.h: Likewise.
3543 * include/bits/stl_algo.h: Likewise.
3544 * include/bits/stl_algobase.h: Likewise.
3545 * include/bits/stl_alloc.h: Likewise.
3546 * include/bits/stl_bvector.h: Likewise.
3547 * include/bits/stl_construct.h: Likewise.
3548 * include/bits/stl_deque.h: Likewise.
3549 * include/bits/stl_function.h: Likewise.
3550 * include/bits/stl_heap.h: Likewise.
3551 * include/bits/stl_iterator.h: Likewise.
3552 * include/bits/stl_iterator_base_funcs.h: Likewise.
3553 * include/bits/stl_iterator_base_types.h: Likewise.
3554 * include/bits/stl_list.h: Likewise.
3555 * include/bits/stl_map.h: Likewise.
3556 * include/bits/stl_multimap.h: Likewise.
3557 * include/bits/stl_multiset.h: Likewise.
3558 * include/bits/stl_numeric.h: Likewise.
3559 * include/bits/stl_pair.h: Likewise.
3560 * include/bits/stl_pthread_alloc.h: Likewise.
3561 * include/bits/stl_queue.h: Likewise.
3562 * include/bits/stl_raw_storage_iter.h: Likewise.
3563 * include/bits/stl_relops.h: Likewise.
3564 * include/bits/stl_set.h: Likewise.
3565 * include/bits/stl_stack.h: Likewise.
3566 * include/bits/stl_tempbuf.h: Likewise.
3567 * include/bits/stl_threads.h: Likewise.
3568 * include/bits/stl_tree.h: Likewise.
3569 * include/bits/stl_uninitialized.h: Likewise.
3570 * include/bits/stl_vector.h: Likewise.
3571 * include/bits/type_traits.h: Likewise.
3572 * include/ext/hash_map: Likewise.
3573 * include/ext/hash_set: Likewise.
3574 * include/ext/rope: Likewise.
3575 * include/ext/ropeimpl.h: Likewise.
3576 * include/ext/slist: Likewise.
3577 * include/ext/stl_hash_fun.h: Likewise.
3578 * include/ext/stl_hashtable.h: Likewise.
3579 * include/ext/stl_rope.h: Likewise.
3580 * libsupc++/unwind-cxx.h: Likewise.
3581 * src/bitset.cc: Likewise.
3582 * src/strstream.cc: Likewise.
3584 2001-06-21 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
3586 * include/bits/indirect_array.h (indirect_array<>::operator=):
3587 Make copy and assignment operator public. Implement. Format.
3589 * include/bits/valarray_array.h (__valarray_copy): Add overloads
3590 for copy between index arrays. Format.
3592 2001-06-19 Benjamin Kosnik <bkoz@redhat.com>
3594 * mknumeric_limits: Add static definitions, format.
3595 * testsuite/18_support/numeric_limits.cc (test02): Add test.
3597 * include/c_std/bits/std_cwchar.h: Include ctime.
3598 * testsuite/17_intro/header_cwchar.cc : Check.
3600 * include/c_std/bits/std_cwctype.h: Inject wctype.
3601 * testsuite/17_intro/header_cwctype.cc: Update.
3603 2001-06-18 Benjamin Kosnik <bkoz@redhat.com>
3605 * include/bits/stl_raw_storage_iter.h: Format. Correct derivation.
3606 * testsuite/20_util/raw_storage_iterator.cc: Same.
3608 * include/bits/stl_alloc.h (_S_chunk_alloc): Change malloc to
3610 (__mem_interface): New typedef for switching between malloc and new.
3611 * testsuite/20_util/allocator_members.cc: New file.
3613 * testsuite/20_util/comparisons.cc: New file.
3614 * testsuite/20_util/pairs.cc: New file.
3616 2001-06-15 Phil Edwards <pme@sources.redhat.com>
3618 * docs/html/documentation.html: Point to new doxygen'ed collection.
3620 2001-06-14 Nathan Sidwell <nathan@codesourcery.com>
3622 * configure.in (auxdir): Replace by ...
3623 (toprel): ... new variable.
3624 (toplevel_srcdir): Construct from $toprel.
3625 * acinclude.m4 (GLIBCPP_ENABLE_THREADS): Use $toprel
3626 rather than .. to locate gcc source directory.
3627 (GLIBCPP_CONFIGURE): Replace $auxdir with $srcdir/$toprel.
3628 * aclocal.m4, configure: Rebuilt.
3630 2001-06-13 John David Anglin <dave@hiauly1.hia.nrc.ca>
3632 (Approved by Mark and Benjamin. Applied by Loren.)
3634 * src/globals.cc: Define globals _GLIBCPP_mutex_init (),
3635 _GLIBCPP_mutex_address_init (), _GLIBCPP_once, _GLIBCPP_mutex
3636 and _GLIBCPP_mutex_address.
3637 * include/bits/stl_threads.h (_STL_mutex_lock): Use above to provide
3638 once-only runtime initialization of _M_lock mutex when
3639 __GTHREAD_MUTEX_INIT_FUNCTION is defined.
3640 (__STL_MUTEX_INITIALIZER): Provide initializer for _STL_mutex_lock
3641 for __GTHREAD_MUTEX_INIT_FUNCTION case.
3643 2001-06-13 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
3645 * testsuite/26_numerics/slice_array_assignment.cc (main): New test.
3647 * include/bits/slice_array.h (slice_array<>::operator=): Make
3648 public and implement.
3649 (slice_array<>::slice_array): Make copy-constructor public.
3651 * include/bits/valarray_array.h (__valarray_copy): Add another
3652 overload to copy between strided arrays.
3654 2001-06-13 Benjamin Kosnik <bkoz@redhat.com>
3656 * acinclude.m4 (GLIBCPP_CONFIGURE): Bump version to 3.0.0.
3657 * aclocal.m4: Regenerate.
3658 * configure: Regenerate.
3659 * include/bits/c++config (__GLIBCPP__): Update date.
3661 2001-06-12 Benjamin Kosnik <bkoz@redhat.com>
3663 * include/bits/fpos.h (fpos::operator-): Don't return reference,
3664 return original, non-modified version.
3665 (fpos::operator+): Same.
3666 * testsuite/27_io/fpos.cc: Add test.
3668 2001-06-12 Loren J. Rittle <ljrittle@acm.org>
3671 * porting.texi: Add documentation about libstdc++-v3-specific
3672 macros that are currently included in os_defines.h files.
3674 * config/basic_file_stdio.h (sys_getc): New method.
3675 (sys_ungetc): New method.
3676 * include/bits/basic_file.h: (sys_getc): New method signature.
3677 (sys_ungetc): New method signature.
3679 * include/bits/fstream.tcc (underflow): Add conditional code
3680 paths which avoid using short seeks on streams (especially
3681 useful when the stream might be interactive or a pipe). At
3682 the moment, this alternate path only avoids seeking when the
3683 ``buffer size'' of underflow() is 1 since the C standard only
3684 guarantees buffer space for one ungetc (this technique could
3685 be extended since *-*-solaris* supports buffering for 4 calls
3686 to ungetc and *-*-*bsd* supports buffering limited only by
3687 memory resources). Also, _GLIBCPP_AVOID_FSEEK must be defined
3688 in a port's os_defines.h file for this alternate path to even
3689 be considered. As a bonus, the idiom of using getc/ungetc
3690 requires no system calls whereas fseek maps to one or two
3691 system call(s) on many platforms.
3693 * config/os/bsd/freebsd/bits/os_defines.h (_GLIBCPP_AVOID_FSEEK):
3695 * config/os/solaris/solaris2.5/bits/os_defines.h
3696 (_GLIBCPP_AVOID_FSEEK): Likewise.
3697 * config/os/solaris/solaris2.6/bits/os_defines.h
3698 (_GLIBCPP_AVOID_FSEEK): Likewise.
3699 * config/os/solaris/solaris2.7/bits/os_defines.h
3700 (_GLIBCPP_AVOID_FSEEK): Likewise.
3702 2001-06-12 Benjamin Kosnik <bkoz@redhat.com>
3704 * acinclude.m4 (GLIBCPP_CHECK_COMPILER_VERSION): Change to
3705 AC_TRY_COMPILE, so that the built compiler is checked, and
3706 bootstraps or cross compiles with an older compile still work.
3707 * aclocal.m4: Regenerate.
3708 * configure: Regenerate.
3710 2001-06-12 Benjamin Kosnik <bkoz@redhat.com>
3713 * include/bits/std_sstream.h: Add allocator_type, as per DR 251.
3716 * include/bits/istream.tcc (getline, get): Fix as per DR 243.
3719 * include/bits/std_bitset.h (bitset::set): Fix as per DR 186.
3722 * include/bits/limits_generic.h: Fix as per DR 184.
3724 2001-06-11 Benjamin Kosnik <bkoz@redhat.com>
3727 * include/bits/basic_string.h (string::compare): Adjust signatures
3729 * include/bits/basic_string.tcc: And here.
3732 * config/c_io_stdio.h: Remove whitespace.
3733 * testsuite/27_io/istream_seeks.cc (test03): Add regression.
3734 (test02): Add regression.
3735 * testsuite/27_io/istream_seeks-3.tst: New file.
3737 2001-06-11 Phil Edwards <pme@sources.redhat.com>
3739 * README: Update to reflect reality.
3740 * acinclude.m4: Update descriptions, fix typos. Comment changes only.
3741 * configure.in: Make certain target_alias is set and subst'd for 2.50.
3742 * aclocal.m4: Regenerate.
3743 * configure: Regenerate (with 2.13).
3745 2001-06-11 Benjamin Kosnik <bkoz@redhat.com>
3748 * include/bits/ostream.tcc (ostream::seekp): Add error checking as
3750 * include/bits/istream.tcc (istream::seekg): Same.
3751 * testsuite/27_io/istream_seeks.cc: Fix.
3754 * include/bits/stl_function.h (binder2nd): Fix as per DR 109.
3756 * include/bits/std_queue.h: Add c++config.h.
3757 * testsuite/20_util/binders.cc: New test.
3759 2001-06-11 Matthias Klose <doko@debian.org>
3760 Phil Edwards <pme@sources.redhat.com>
3762 * docs/doxygen/run_doxygen (find_doxygen): Tweak version check.
3763 (main script): Echo more information.
3765 2001-06-10 Benjamin Kosnik <bkoz@redhat.com>
3767 * include/c_std/bits/std_cwchar.h: Alphabetize.
3768 * include/bits/char_traits.h: Tweak.
3769 * acinclude.m4 (GLIBCPP_CHECK_WCHAR_T_SUPPORT): Check for
3770 everything used by std_cwchar.h.
3771 * aclocal.m4: Regenerate.
3772 * configure.in: Regenerate.
3773 * config.h.in: Regenerate.
3775 2001-06-10 Benjamin Kosnik <bkoz@redhat.com>
3777 * acinclude.m4 (GLIBCPP_ENABLE_C99): Add stdio.h checking.
3778 Add checking for strtof, _Exit in stdlib.h
3779 * aclocal.m4: Regenerate.
3780 * configure.in: Regenerate.
3781 * include/c_std/bits/std_cstdio.h: Alphabetize lists.
3782 (snprintf): Put C99 functions into __gnu_cxx namespace.
3787 * include/c_std/bits/std_cstdlib.h: Alphabetize lists. Put undefs
3788 for C99 functions within _GLIBCPP_USE_C99 guard.
3792 * include/bits/locale_facets.tcc: Check if C99 is enabled.
3793 * include/c_std/bits/std_cwchar.h (__gnu_cxx): Put undefs within
3795 * include/c_std/bits/cmath.tcc: Formatting tweak.
3796 * include/c_std/bits/std_cmath.h: Same.
3798 2001-06-10 Benjamin Kosnik <bkoz@redhat.com>
3800 * include/c_std/bits/std_cstdio.h: Include cstddef for size_t.
3802 2001-06-09 Alexandre Oliva <aoliva@redhat.com>
3803 Stephen L Moshier <moshier@mediaone.net>
3805 * acinclude.m4 (AC_EXEEXT): Work around in case it expands to
3806 nothing, as in autoconf 2.50.
3807 * configure: Rebuilt.
3809 2001-06-09 Benjamin Kosnik <bkoz@redhat.com>
3811 * include/c_std/bits/std_cwchar.h: Remove size_t injection,
3812 include std_cstddef.
3813 * include/c_std/bits/std_ctime.h: Same.
3814 * include/c_std/bits/std_cstring.h: Same.
3815 * include/c_std/bits/std_cstdlib.h: Same.
3817 * include/c_std/bits/std_cstdio.h: Remove vsnprintf, snprintf.
3818 * include/c_std/bits/std_cctype.h: Remove isblank.
3820 2001-06-09 Benjamin Kosnik <bkoz@redhat.com>
3822 * acinclude.m4 (GLIBCPP_CHECK_WCHAR_T_SUPPORT): Check for fgetwc,
3824 * aclocal.m4: Regenerate.
3825 * configure: Regenerate.
3826 * include/c_std/bits/std_cwchar.h: Remove duplicate fgetwc
3827 injection, guard fgetwc, fgetws.
3828 * include/c_std/bits/std_cstdio.h: Remove superfluous includes.
3829 * include/c_std/bits/std_clocale.h: And here.
3830 * include/c_std/bits/std_cctype.h: And here.
3831 * include/c_std/bits/std_cstdlib.h (strtof): Guard strtof injection.
3833 * config/basic_file_stdio.h: Don't include unistd.h.
3834 * config/c_io_stdio.h: Don't use compatibility headers.
3835 * libsupc++/eh_terminate.cc: Qualify abort.
3836 (__terminate): And here.
3837 * libsupc++/eh_catch.cc (__cxa_end_catch): Qualify abort.
3839 2001-06-08 Benjamin Kosnik <bkoz@redhat.com>
3841 * include/c_std/bits/std_cstdlib.h: Remove _Exit, strtof injections.
3843 2001-06-08 Benjamin Kosnik <bkoz@redhat.com>
3848 * include/std/*: Add copyright notice.
3849 * include/c_std/bits/*: Use using statements instead of extern "C".
3850 * include/c_std/bits/std_cmath.h: Don't overload double versions
3851 of math functions with __buitin versions, use global version to
3852 prevent ambiguities. Remove define hacks.
3853 * include/c_std/bits/std_cwchar.h: Using declarations for "C"
3854 functions that have changed signatures and std::
3855 declarations. Remove define hacks.
3856 * include/c_std/bits/std_cwchar.h: Same, plus remove ambiguous
3857 __builtins in std::. Remove define hacks.
3858 * testsuite/17_intro/headers_c.cc: Add tests.
3859 * testsuite/17_intro/headers_c++.cc: Add test.
3861 2001-06-07 Loren J. Rittle <ljrittle@acm.org>
3862 John David Anglin <dave@hiauly1.hia.nrc.ca>
3865 * libsupc++/eh_alloc.cc: Ensure that required macros are
3866 defined before including gthr.h. Ensure that we get the
3867 version of gthr.h for which we know how to provide a
3869 * libsupc++/eh_globals.cc: Likewise. And, bring the threading
3870 code path into line with the current EH model. Use std, where
3873 2001-06-07 Loren J. Rittle <ljrittle@acm.org>
3874 John David Anglin <dave@hiauly1.hia.nrc.ca>
3876 * config/threads-no.h: Remove file.
3877 * config/threads-posix.h: Remove file.
3879 * acconfig.h (_GLIBCPP_USE_THREADS): Remove.
3880 (_GLIBCPP_SUPPORTS_WEAK): Add (required by namespace-clean gthr*.h).
3881 (_GLIBCPP_HAVE_GTHR_DEFAULT): Likewise.
3882 * config.h.in: Regenerate.
3884 * acinclude.m4 (GLIBCPP_ENABLE_THREADS): Completely rework to
3885 setup and use gthr*.h files. In particular, make gthr.h files
3886 namespace-clean in the staging area (they don't have to be for
3888 * aclocal.m4: Regenerate.
3889 * configure: Regenerate.
3891 * src/Makefile.am (build_headers): Remove bits/c++threads.h
3892 and add bits/gthr.h bits/gthr-single.h bits/gthr-default.h.
3893 * src/Makefile.in: Regenerate.
3895 * include/bits/c++config: Cleanup threading configuration macros.
3896 In particular, define __STL_GTHREADS macro which controls...
3897 * include/bits/stl_threads.h: ...a brand new gthr.h-based
3900 * config/c_io_stdio.h: Include staged gthr.h instead of local
3901 thread configuration file. Always use __gthread_mutex_t
3902 instead of __mutext_type (or int).
3903 * include/bits/std_fstream.h: Likewise.
3905 * docs/html/17_intro/howto.html: Remove placeholder comment in
3906 case this configuration patch didn't make it. Add advice that
3907 section only applies if configured with --enable-threads.
3908 * docs/html/23_containers/howto.html: Reword to make clear
3909 that _PTHREADS is no longer required for any port to be
3910 correctly using STL with threads. Add advice that section
3911 only applies if configured with --enable-threads.
3913 2001-06-06 Benjamin Kosnik <bkoz@redhat.com>
3915 * src/string-inst.cc (_Rep::_S_max_size): Add instantiation.
3917 2001-06-05 Benjamin Kosnik <bkoz@redhat.com>
3920 * include/bits/basic_ios.tcc: Formatting tweaks.
3921 * include/bits/ios_base.h: Formatting tweaks.
3922 * src/ios.cc (ios_base::Init::_S_ios_create): Use filebufs here.
3923 (ios_base::Init::_S_ios_destroy): ..and here. Explicitly call dtors.
3924 * src/globals.cc: Allocate filebufs for standard streams here.
3925 (buf_cout, buf_cin, buf_cerr): Like so.
3926 (buf_wcout, buf_wcin, buf_wcerr): And so.
3927 * testsuite/27_io/ios_init.cc: Add.
3929 2001-06-04 Brendan Kehoe <brendan@zen.org>
3930 Benjamin Kosnik <bkoz@redhat.com>
3933 * include/bits/locale_facets.h (ctype<_CharT>): Add definitions
3934 for generic ctype virtuals.
3935 * src/locale.cc: Minor tweaks, naming consistency.
3936 * testsuite/22_locale/ctype.cc: Add test.
3938 2001-06-04 Kenny Simpson <theonetruekenny@yahoo.com>
3939 Phil Edwards <pme@sources.redhat.com>
3941 PR libstdc++/3035 and PR libstdc++/3036
3942 * include/bits/stl_pair.h: Fix pair ctor and make_pair according
3943 to LWG DR 181 and 265.
3945 2001-06-04 Phil Edwards <pme@sources.redhat.com>
3948 * include/bits/stl_multiset.h (find, lower_bound, upper_bound,
3949 equal_range): Add const overloads as per LWG DR 214.
3950 * include/bits/stl_set.h: Likewise.
3952 2001-06-04 Brendan Kehoe <brendan@zen.org>
3953 Phil Edwards <pme@sources.redhat.com>
3956 * include/bits/std_bitset.h (bitset::test): Fix __pos >= _Nb
3957 comparison; all positions must be < _Nb.
3958 * testsuite/23_containers/bitset_members.cc: New file.
3960 2001-06-04 Brendan Kehoe <brendan@zen.org>
3963 * include/bits/stl_queue.h (classes queue, priority_queue): Fix
3964 ctors to match the standard.
3966 2001-06-04 Jeffrey Oldham <oldham@codesourcery.com>
3968 * include/bits/char_traits.h (move): Reverse qualification of
3970 (copy): Reverse qualification of memcpy with std::.
3972 2001-06-04 Jeffrey Oldham <oldham@codesourcery.com>
3974 * include/bits/char_traits.h (move): Qualify memmove with std::.
3975 (copy): Qualify memcpy with std::.
3976 * testsuite/27_io/filebuf_virtuals.cc (test01): Qualify strlen and
3979 * testsuite/27_io/stringbuf_virtuals.cc (test01): Likewise.
3981 2001-06-04 Hans-Peter Nilsson <hp@axis.com>
3983 * libsupc++/Makefile.am (install-glibcppinstallHEADERS,
3984 uninstall-glibcppinstallHEADERS): Have explicit rules catering to
3985 SUN make VPATH peculiarities.
3986 * libsupc++/Makefile.in: Regenerate.
3988 2001-06-01 Hans-Peter Nilsson <hp@axis.com>
3990 * src/Makefile.am (VPATH): Delimit with ":", not space.
3991 * src/Makefile.in: Regenerate.
3993 * configure.in (use of GLIBCPP_CHECK_GNU_MAKE): Don't fail if GNU
3995 * configure: Regenerate.
3997 2001-05-31 scott snyder <snyder@fnal.gov>
4000 * include/bits/istream.tcc: Include std_ostream.h.
4002 2001-05-31 Benjamin Kosnik <bkoz@redhat.com>
4005 * src/bitset.cc: Qualify size_t with std::.
4007 2001-05-30 Benjamin Kosnik <bkoz@redhat.com>
4009 * acconfig.h (_GLIBCPP_BUGGY_FLOAT_COMPLEX): Remove.
4010 (_GLIBCPP_BUGGY_COMPLEX): Remove.
4011 * config.h.in: Regenerate.
4012 * acinclude.m4 (GLIBCPP_CHECK_COMPLEX_MATH_COMPILER_SUPPORT): Remove.
4013 * aclocal.m4: Regenerate.
4014 * configure.in: Don't call it.
4015 * configure: Regenerate.
4018 * src/complex_io.cc (operator<<(ostream&, const complex&): Fix.
4019 * testsuite/26_numerics/complex_inserters_extractors.cc (test01):
4023 * include/bits/std_complex.h: Include sstream. Put definitions for
4024 complex inserters and extractors here, and remove them from...
4025 * src/complex_io.cc: ...here.
4026 * include/bits/basic_ios.h (basic_ios::__numput_type): Add _Traits
4028 (basic_ios::__numget_type): Same.
4029 * include/bits/std_istream.h: Same.
4030 * include/bits/std_ostream.h: Same.
4031 * include/bits/sbuf_iter.h (ostreambuf_iterator): Fix typo in base
4032 class iterator template arguments.
4033 * src/locale-inst.cc: Add explicit has_facet instantiations.
4034 * include/bits/basic_ios.h (basic_ios::_M_get_fctype_ios): Remove.
4035 (_M_get_fnumput): Remove.
4036 (_M_get_fnumget): Remove.
4037 (basic_ios::_M_check_facet): New function.
4038 (basic_ios::_M_cache_facets): New function.
4039 * include/bits/basic_ios.tcc: Definition for _M_cache_facets.
4040 (basic_ios::imbue): Call _M_cache_facets.
4041 (basic_ios::init): Same.
4042 * include/bits/istream.tcc: Format, use _M_check_facet.
4043 * include/bits/ostream.tcc: Same.
4044 * include/bits/locale_facets.tcc (__output_float): Change
4045 signature, add _Traits.
4046 * testsuite/26_numerics/complex_inserters_extractors.cc (test02):
4049 2001-05-30 Loren J. Rittle <ljrittle@acm.org>
4051 * include/bits/c++config (__USE_MALLOC): Do not define it.
4052 Document why not and give pointers to more information.
4054 * docs/html/23_containers/howto.html: Update documentation
4055 to reflect recent understanding of problem.
4056 * docs/html/17_intro/howto.html: Likewise.
4058 2001-05-30 Phil Edwards <pme@sources.redhat.com>
4060 * docs/doxygen/user.cfg.in: Minor addition.
4061 * docs/html/documentation.html: Reorganize. Put most-looked-at
4063 * docs/html/install.html: Update for 3.0. HTML fixups.
4064 * docs/html/17_intro/howto.html: Likewise.
4065 * docs/html/18_support/howto.html: Likewise.
4066 * docs/html/19_diagnostics/howto.html: Likewise.
4067 * docs/html/20_util/howto.html: Likewise.
4068 * docs/html/23_containers/howto.html: Likewise.
4069 * docs/html/24_iterators/howto.html: Likewise. More notes.
4070 * docs/html/25_algorithms/howto.html: Likewise.
4071 * docs/html/26_numerics/howto.html: Likewise. More notes.
4072 * docs/html/27_io/howto.html: Likewise.
4073 * docs/html/ext/howto.html: Likewise.
4074 * docs/html/faq/index.html: Likewise.
4075 * docs/html/faq/index.txt: Regenerate.
4076 * docs/html/27_io/iostreams_hierarchy.pdf: Remove in favor of
4077 Doxygen-created documentation.
4079 2001-05-30 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
4081 * testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3-init): Use
4082 get_multilibs to find gcc.
4084 2001-05-30 Phil Edwards <pme@sources.redhat.com>
4086 * acinclude.m4 (GLIBCPP_ENABLE_C99): Reorder output messages.
4087 * aclocal.m4: Regenerate.
4088 * configure: Regenerate.
4090 2001-05-29 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
4092 * include/c_std/bits/std_cstdlib.h:: Move C99 thingies to __gnu_cxx::.
4093 * include/c_std/bits/std_cwchar.h (__gnu_cxx): Likewise.
4095 2001-05-27 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
4097 * include/c_std/bits/std_cmath.h: Move C99 functions in __gnu_cxx::.
4098 * include/c_std/bits/std_cstdlib.h: Same.
4099 * include/c_std/bits/std_cwchar.h: Same.
4101 2001-05-30 Loren J. Rittle <ljrittle@acm.org>
4103 * docs/html/17_intro/howto.html: Update link.
4104 * docs/html/23_containers/howto.html: Likewise. Add new link.
4106 2001-05-26 Gabriel Dos Reis <gdr@codesourcery.com>
4108 * include/c_std/bits/std_cmath.h (sqrt): #undef.
4110 2001-05-23 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
4112 * mknumeric_limits: Stop if gen-num-limits dies.
4114 2001-05-25 Benjamin Kosnik <bkoz@redhat.com>
4117 * acinclude.m4 (GLIBCPP_ENABLE_C99): Use AC_TRY_COMPILE.
4118 * aclocal.m4: Regenerate.
4121 2001-05-24 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
4122 Phil Edwards <pme@sources.redhat.com>
4123 Alexandre Oliva <aoliva@redhat.com>
4125 * acinclude.m4 (GLIBCPP_EXPORT_INSTALL_INFO): Set glibcpp_srcdir
4126 in an amd-safe manner. Revert glibcpp_prefixdir.
4128 2001-05-25 Gabriel Dos Reis <gdr@codesourcery.com>
4130 * include/c_std/bits/std_cmath.h: Tweak. #define away abs, cos,
4131 fabs, sin, sqrt. They are now implemented in terms of __builtin_
4134 2001-05-24 Benjamin Kosnik <bkoz@redhat.com>
4137 * testsuite/21_strings/inserters_extractors.cc (test09): New test.
4138 * include/bits/ostream.tcc: Format to match istream.tcc.
4139 (operator<<(basic_ostream __out, const basic_string __s)): Fix.
4141 2001-05-24 Phil Edwards <pme@sources.redhat.com>
4143 * libsupc++/eh_alloc.cc (__cxa_allocate_exception): Qualify
4145 (__cxa_free_exception): Likewise with free.
4147 2001-05-24 Mark Mitchell <mark@codesourcery.com>
4149 * include/c_std/bin/std_cstring.h: #define away all global
4150 functions we will redeclare in namespace `std'.
4151 * libsupc++/eh_alloc.cc (__cxa_allocate_exception): Use
4152 std::memset, instead of memset.
4153 * testsuite/19_diagnostics/stdexceptions.cc: Use `std::strcmp',
4155 * testsuite/21_strings/c_strings.cc: Use `std::strcpy' instead of
4158 2001-05-24 Benjamin Kosnik <bkoz@redhat.com>
4161 * include/bits/basic_ios.tcc: Small tweak.
4162 * include/bits/std_fstream.h (ifstream): Add buffer member. Adjust
4163 ctors and dtors, and rdbuf settings.
4166 * include/bits/std_sstream.h: Same, but for stringstream classes.
4167 * testsuite/27_io/ostringstream_members.cc: New.
4168 * testsuite/27_io/stringstream_members.cc: New.
4169 * testsuite/27_io/fstream_members.cc: New.
4170 * testsuite/27_io/ifstream_members.cc: Add test.
4171 * testsuite/27_io/istringstream_members.cc: Add test.
4172 * testsuite/27_io/ofstream_members.cc: Add test.
4174 2001-05-24 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
4176 * include/bits/c++config(__NO_MATH_INLINES): Move to...
4177 * config/os/gnu-linux/bits/os_defines.h: ...here.
4179 2001-05-24 Gabriel Dos Reis <gdr@codesourcery.com>
4181 * include/bits/c++config (__NO_MATH_INLINES): New macro.
4182 * testsuite/26_numerics/fabs_inline.cc (main): New test.
4184 2001-05-22 Benjamin Kosnik <bkoz@redhat.com>
4187 * testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3-init): Set
4189 (libstdc++-v3_set_ld_library_path): New, copied from g++.exp.
4190 (libstdc++-v3-finish): Remove.
4191 (libstdc++-v3_exit): Remove.
4193 2001-05-22 Phil Edwards <pme@sources.redhat.com>
4195 * docs/html/documentation.html: Point to doxygen output.
4197 2001-05-21 Benjamin Kosnik <bkoz@redhat.com>
4199 * mkcheck.in (static_fail): Remove S_FLAG decoration on output.
4201 * include/bits/std_sstream.h (stringbuf::setbuf): Require both
4202 arguments to be non-null.
4203 * include/bits/fstream.tcc (filebuf::_M_allocate_buffers): Only
4204 try allocations if allocated size is greater than zero.
4205 (filebuf::_M_filebuf_init): Change to
4206 (filebuf::_M_allocate_file): Which is what it does now.
4207 (filebuf::_M_allocate_bufers): Change to
4208 (filebuf::_M_allocate_internal_buffer): This, and create
4209 (filebuf::_M_allocate_pback_buffer): New.
4210 (filebuf::_M_destroy_internal_buffer): New.
4211 (filebuf::_M_buf_allocated): New data member.
4212 (filebuf::setbuf): Use new logic, allow use of external buffer.
4213 * testsuite/27_io/stringbuf_virtuals.cc: New file.
4214 * testsuite/27_io/filebuf_virtuals.cc: New file.
4216 2001-05-21 Stephen M. Webb <stephen@bregmasoft.com>
4218 * include/c_std/bits/std_cstring.h (memchr): Define "C" functions to
4220 (strchr): Same, but to __glibcpp_strchr.
4224 * include/c_std/bits/std_cwchar.h (wcschr): Same.
4230 2001-05-21 Benjamin Kosnik <bkoz@redhat.com>
4232 * testsuite/21_strings/c_strings.cc (main): Fix.
4234 2001-05-19 Phil Edwards <pme@sources.redhat.com>
4236 * acinclude.m4: Fix --help spacing, correct comments.
4237 * aclocal.m4: Regenerate.
4238 * configure: Regenerate.
4239 * mkcheck.in: Add usage comments.
4240 * docs/html/documentation.html: Point to doxygen'd tarball.
4242 2001-05-18 Benjamin Kosnik <bkoz@redhat.com>
4244 * testsuite/README: Add notes.
4246 * src/Makefile.am (libstdc++.INC): Remove.
4247 * src/Makefile.in: Regenerate.
4249 Phil Edwards <pedwards@disaster.jaj.com>
4250 * mkcheck.in: Add missing '#'.
4252 2001-05-18 Angela Marie Thomas <angela@cygnus.com>
4254 * testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3-init): Set flags
4255 appropriately for remote testing and testing installed files without
4258 2001-05-18 Benjamin Kosnik <bkoz@redhat.com>
4260 * acinclude.m4 (GLIBCPP_EXPORT_INSTALL_INFO): Set glibcpp_srcdir
4261 amd glibcpp_prefixdir with absolute paths.
4263 * include/bits/c++config (__GLIBCPP__): Bump.
4264 * acinclude.m4 (GLIBCPP_CONFIGURE): Correct version number.
4266 2001-05-18 Gabriel Dos Reis <gdr@codesourcery.com>
4268 * include/bits/std_valarray.h (valarray<>::operator[] const):
4269 Return a const reference.
4270 * testsuite/26_numerics/valarray_const_bracket.cc: New test.
4272 2001-05-18 Alexandre Oliva <aoliva@redhat.com>
4274 * configure.target (ATOMICITYH): Actually use AIX-specific code on
4275 earlier versions of AIX 4.*.
4277 2001-05-18 Angela Marie Thomas <angela@cygnus.com>
4279 * testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3-dg-test): Set
4280 output_file based on the name of the testcase.
4282 2001-05-18 Angela Marie Thomas <angela@cygnus.com>
4284 * testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3-init): Build
4285 gluefile and use it if needs_status_wrapper is set.
4287 2001-05-18 Alexandre Oliva <aoliva@redhat.com>
4289 * configure.target (ATOMICITYH): Use cpu/generic code on earlier
4292 2001-05-17 Alexandre Oliva <aoliva@redhat.com>
4294 * configure.target (ATOMICITYH): Don't use AIX 4.3-specific code
4295 on earlier versions of AIX.
4297 2001-05-15 Benjamin Kosnik <bkoz@redhat.com>
4299 * testsuite_flags.in (query): Add backwards, ext directories.
4301 2001-05-15 Mark Mitchell <mark@codesourcery.com>
4303 * porting.texi: Correct documentation about handling
4304 _LARRGEFILE_SOURCE and its ilk.
4305 * config/os/solaris/solaris2.5/bits/os_defines.h: Remove
4306 definitions of _XOPEN_SOURCE, _LARGEFILE64_SOURCE, and
4308 * config/os/solaris/solaris2.6/bits/os_defines.h: Likewise.
4309 * config/os/solaris/solaris2.7/bits/os_defines.h: Likewise.
4311 2001-05-15 Zack Weinberg <zackw@stanford.edu>
4313 * testsuite/21_strings/inserters_extractors.cc,
4314 testsuite/27_io/istream_unformatted.cc,
4315 testsuite/27_io/stringstream.cc:
4316 Replace multi-line string constants with C89-style
4317 concatenated string constants.
4319 2001-05-14 Richard Henderson <rth@redhat.com>
4321 * mknumeric_limits: Build with -fno-exceptions.
4323 2001-05-13 Benjamin Kosnik <bkoz@redhat.com>
4325 Switch over to new harness.
4326 * testsuite_flags.in: Tweaks via Gaby.
4327 * testsuite/Makefile.am: Change tool to libstdc++-v3.
4328 (EXPECT): Quote directly.
4330 * configure.in: Output testsuite_flags.
4331 * acinclude.m4: Substitute src, bld, and prefix dirs.
4332 Remove glibcpp_expect, glibcpp_runtestflags.
4333 * Makefile.am (RUNTESTFLAGS): Pass this down to subdirs.
4334 * mkcheck.in: Port to new interface.
4336 * aclocal.m4: Regerate.
4337 * configure: Regnerate.
4338 * Makefile.in: Regnerate.
4339 * */Makefile.in: Regenerate.
4341 * tests_flags.in: Remove.
4342 * testsuite/lib/libstdc++.exp: Remove.
4343 * testsuite/libstdc++.tests/tests.exp: Remove.
4345 2001-05-13 Alexandre Oliva <aoliva@redhat.com>
4347 * configure.target: Remove detection of AIX pthread multilib, now
4348 obtained from `gcc -v'.
4350 2001-05-13 John David Anglin <dave@hiauly1.hia.nrc.ca>
4352 * mkcheck.in (setup_size_command): Use Berkeley "-B" mode with GNU
4353 size. Add hpux case for HP size.
4355 2001-05-11 Benjamin Kosnik <bkoz@redhat.com>
4357 * testsuite_flags.in: New, simplified interface.
4358 * testsuite/lib/libstdc++-v3-dg.exp: New test harness.
4359 * testsuite/libstdc++-v3.dg: Add.
4360 * testsuite/libstdc++-v3.dg/dg.exp: Add.
4362 2001-05-11 Benjamin Kosnik <bkoz@redhat.com>
4364 * testsuite/*/*.cc: Remove spaces, make sure testcases return zero.
4365 * testsuite/config/default.exp: Update bugs email address.
4367 2001-05-11 Richard Henderson <rth@redhat.com>
4369 * libsupc++/eh_personality.cc: Include unwind-pe.h. Remove
4370 all pointer encoding logic.
4371 (struct lsda_header_info): Add ttype_base.
4372 (get_ttype_entry): Use it instead of a context.
4373 (check_exception_spec): Likewise.
4374 (PERSONALITY_FUNCTION): Initialize ttype_base. Store it in
4375 the c++ exception header for __cxa_call_unexpected.
4376 (__cxa_call_unexpected): Use it.
4378 2001-05-09 Benjamin Kosnik <bkoz@redhat.com>
4380 * testsuite/lib/libstdc++.exp: Use libgloss.exp. Call
4381 libgloss_link_flags to find crt0.o for targets that use libgloss
4383 Change LDFLAGS to LIBS.
4384 Consistently name procedures libstdc++-XXX.
4385 * testsuite/libstdc++.tests/tests.exp: Use new procedure names.
4387 2001-05-08 Benjamin Kosnik <bkoz@fillmore.constant.com>
4389 * include/c_std/bits/std_cstring.h (memchr): Correct definitions.
4394 * include/c_std/bits/std_cwchar.h (wcschr): Same.
4399 * testsuite/21_strings/c_strings.cc: Add tests.
4401 2001-05-07 Benjamin Kosnik <bkoz@redhat.com>
4404 * include/bits/std_fstream.h (basic_filebuf): Change signature.
4405 * include/bits/fstream.tcc (basic_filebuf): Change bool argument
4406 to int_type, pass in buffer size info.
4407 * include/bits/std_streambuf.h (_M_is_indeterminate): Check for
4408 unbuffered situation.
4409 (underflow): Remove codecvt bits for the time being.
4410 * include/bits/istream.tcc (istream::sentry): Avoid sputbackc call.
4411 * include/bits/locale_facets.tcc (_M_extract): Cache dereference
4412 values from iterators, clean.
4413 * src/locale.cc: Ditto.
4414 * include/bits/sbuf_iter.h: Format.
4415 * src/ios.cc: Explicitly pass in buffer sizes at creation time.
4416 * testsuite/27_io/narrow_stream_objects.cc: Add tests.
4417 * testsuite/27_io/filebuf.cc: Tweaks.
4418 * testsuite/27_io/filebuf_members.cc: Tweaks.
4420 2001-05-07 Mark Mitchell <mark@codesourcery.com>
4422 * config/os/solaris/solaris2.7/bits/os_defines.h
4423 (_LARGEFILE_SOURCE): Define it.
4425 2001-05-03 Alexandre Oliva <aoliva@redhat.com>
4427 * configure.in (LIBSUPCXX_PICFLAGS): Set it to -prefer-pic or
4428 -prefer-non-pic depending on whether libtool has shared libraries
4429 enabled or disabled.
4430 * libsupc++/Makefile.am (LIBSUPCXX_CXXFLAGS): Set to
4431 $(LIBSUPCXX_PICFLAGS).
4432 * configure, */Makefile.in: Rebuilt.
4434 2001-05-01 Benjamin Kosnik <bkoz@redhat.com>
4436 * include/bits/sbuf_iter.h (istreambuf_iterator): Correct.
4437 * testsuite/24_iterators/istreambuf_iterator.cc (test02): Add test.
4439 * include/bits/std_sstream.h (stringbuf): Leak
4441 * testsuite/24_iterators/ostreambuf_iterator.cc: Correct.
4443 2001-05-01 Tom Browder <tbrowder@home.com>
4445 * docs/html/ext/howto.html: Fix typo.
4447 2001-05-01 Gabriel Dos Reis <gdr@codesourcery.com>
4449 * testsuite/libstdc++.tests/tests.exp: Add comment.
4451 2001-05-01 Gabriel Dos Reis <gdr@codesourcery.com>
4453 * testsuite/libstdc++.tests/tests.exp: Set ulimits.
4455 2001-04-30 Mark Mitchell <mark@codesourcery.com>
4457 * porting.texi: Use the GFDL.
4459 2001-04-30 Benjamin Kosnik <bkoz@redhat.com>
4462 * testsuite/24_iterators/ostreambuf_iterator.cc: New file.
4463 * include/bits/sbuf_iter.h (ostreambuf_iterator): Remove bogus
4466 2001-04-30 Benjamin Kosnik <bkoz@redhat.com>
4469 * include/bits/stl_iterator_base_funcs.h (__advance): Fix.
4471 2001-04-28 Phil Edwards <pme@sources.redhat.com>
4473 * docs/doxygen/run_doxygen: Minor tweaks.
4474 * docs/doxygen/style.css: New file.
4475 * docs/doxygen/user.cfg.in: Update using "doxygen -u" to get the
4476 latest parameters available. Use style.css.
4478 2001-04-27 Benjamin Kosnik <bkoz@redhat.com>
4480 * docs/doxygen/mainpage.doxy: New.
4481 * docs/doxygen/user.cfg.in: Change default configuration. Single
4482 frame, other tweaks.
4484 2001-04-26 Mark Mitchell <mark@codesourcery.com>
4486 * docs/html/17_intro/BADNAMES: Remove EGCS reference.
4487 Indicate obsolete nature of thelist for G++ 3.0.
4489 2001-04-26 Alexandre Oliva <aoliva@redhat.com>
4491 * acinclude.m4 (GLIBCPP_ENABLE_THREADS): Obtain
4492 target_thread_file with `gcc -v'.
4493 * aclocal.m4, configure: Rebuilt.
4495 2001-04-25 Benjamin Kosnik <bkoz@redhat.com>
4497 * include/c_std/bits/std_cmath.h (std): Explicitly inject c99 names.
4498 * include/c_std/bits/std_cstdlib.h (std): Same, except for llabs.
4499 * include/c_std/bits/std_cwchar.h (std): Same.
4500 * acconfig.h (std): Remove c99 injection into std.
4501 * config.h.in: Regenerate.
4503 * testsuite/README: Fix typo.
4505 * include/bits/codecvt.h: Remove warnings.
4507 2001-04-24 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
4509 * include/ext/slist: Include required header files.
4511 2001-04-23 Loren J. Rittle <ljrittle@acm.org>
4513 * include/c_std/bits/std_cerrno.h (errno): Define macro from
4514 identifier declared with external linkage, if needed.
4515 * include/c_std/bits/std_csetjmp.h (setjmp): Likewise.
4516 * include/c_std/bits/std_cstdarg.h (va_end): Likewise.
4518 2001-04-23 Benjamin Kosnik <bkoz@fillmore.constant.com>
4520 * acinclude.m4 (CXX): Set to glibcpp_CXX so that in-directory
4521 re-configures find the build compiler.
4522 (GLIBCPP_ENABLE_C99): Do all fp-tests with 0.0, not 0. Fixes
4524 * aclocal.m4: Regenerate.
4525 * configure: Regenerate.
4527 2001-04-20 Benjamin Kosnik <bkoz@redhat.com>
4529 * acinclude.m4 (GLIBCPP_ENABLE_LONG_LONG): Make sure required C99
4530 support is enabled correctly before long long is activated.
4531 * aclocal.m4: Regenerate.
4532 * configure: Regenerate.
4534 * include/backward/backward_warning.h: Format correctly.
4536 * testsuite/26_numerics/c99_classification_macros_c.cc: Add.
4537 * testsuite/26_numerics/c99_classification_macros_c++.cc: Add.
4538 * testsuite/26_numerics/c99_macros.cc: Remove.
4540 2001-04-20 Phil Edwards <pme@sources.redhat.com>
4542 * include/bits/stl_bvector.h: Replace __ITERATOR_CATEGORY with
4543 __iterator_category.
4545 2001-04-19 Benjamin Kosnik <bkoz@redhat.com>
4547 * acconfig.h (_GLIBCPP_USE_C99): Add.
4548 * config.h.in: Regenerate.
4549 * acinclude.m4 (GLIBCPP_ENABLE_C99): New macro. Test for ISO/IEC
4551 * aclocal.m4: Regenerate.
4552 * configure.in (GLIBCPP_ENABLE_C99): Use it, on by default.
4553 * configure: Regenerate.
4554 * configure.in (GLIBCPP_ENABLE_LONG_LONG): Set default to yes.
4555 * configure: Regenerate.
4556 * include/c_std/bits/std_cwchar.h: Put wcstold, wcstoll, wcstoull
4558 * include/c_std/bits/std_cmath.h: Bring C99 functions into c99
4560 * include/c_std/bits/std_cstdlib.h: Same.
4561 * docs/html/configopts.html: Update.
4562 * testsuite/26_numerics/c99_macros.cc: Edit, use cmath instead of
4564 (test_c99_classify): Add.
4565 * config/os/gnu-linux/bits/os_defines.h (_GNU_SOURCE): Remove.
4566 (_ISOC99_SOURCE): Remove.
4568 * include/bits/stl_algo.h: Use _GLIBCPP_HAVE_DRAND48.
4569 * include/bits/c++config (__STL_ASSERTIONS): Simplify.
4570 * acinclude.m4 (GLIBCPP_CHECK_STDLIB_SUPPORT): Add check for drand48.
4571 * aclocal.m4: Regenerate.
4572 * configure: Regenerate.
4574 2001-04-19 Phil Edwards <pme@sources.redhat.com>
4576 * Makefile.am (doxygen): Assume script is missing execute perms.
4577 * Makefile.in: Regenerated.
4578 * docs/doxygen/user.cfg.in: Add class diagrams and source browsing.
4580 2001-04-17 Loren J. Rittle <ljrittle@acm.org>
4582 * testsuite/27_io/istream_seeks.cc: Inform DejaGnu of required files.
4584 2001-04-17 Benjamin Kosnik <bkoz@redhat.com>
4586 * testsuite/23_containers/map_operators.cc: Add dg-excess-errors.
4587 * testsuite/23_containers/set_operators.cc: Same.
4589 * include/bits/c++config: Add _GLIBCPP_CONCEPT_CHECKS. Disable by
4591 (__GLIBCPP__): Bump from value of last release.
4592 * include/bits/concept_check.h: Default to off, edit comments.
4593 * src/stl-inst.cc: Use _GLIBCPP_CONCEPT_CHECKS.
4594 * src/Makefile.am (AM_CXXFLAGS): Remove _GLIBCPP_NO_CONCEPT_CHECKS.
4595 * src/Makefile.in: Regenerate.
4597 2001-04-14 Martin Reinecke <martin@MPA-Garching.MPG.DE>
4599 * include/bits/boost_concept_check.h(_Mutable_ContainerConcept):
4600 Properly uglify member.
4602 2001-04-13 Phil Edwards <pme@sources.redhat.com>
4604 * include/bits/stl_algobase.h (equal): Use EqualOpConcept instead
4608 2001-04-13 Phil Edwards <pme@sources.redhat.com>
4610 * include/bits/boost_concept_check.h: Uglify, fork from Boost.
4611 * include/bits/concept_check.h: Uglify.
4612 * include/bits/stl_algo.h: Likewise.
4613 * include/bits/stl_algobase.h: Likewise.
4614 * include/bits/stl_deque.h: Likewise.
4615 * include/bits/stl_heap.h: Likewise.
4616 * include/bits/stl_iterator_base_funcs.h: Likewise.
4617 * include/bits/stl_list.h: Likewise.
4618 * include/bits/stl_map.h: Likewise.
4619 * include/bits/stl_multimap.h: Likewise.
4620 * include/bits/stl_multiset.h: Likewise.
4621 * include/bits/stl_numeric.h: Likewise.
4622 * include/bits/stl_queue.h: Likewise.
4623 * include/bits/stl_set.h: Likewise.
4624 * include/bits/stl_stack.h: Likewise.
4625 * include/bits/stl_vector.h: Likewise.
4626 * include/ext/hash_map: Likewise.
4627 * include/ext/hash_set: Likewise.
4628 * include/ext/slist: Likewise.
4630 2001-04-13 Gabriel Dos Reis <gdr@codesourcery.com>
4632 * testsuite/23_containers/set_operators.cc: Just try to compile.
4634 * testsuite/23_containers/map_operators.cc: Same.
4636 2001-04-12 Jason Merrill <jason_merrill@redhat.com>
4638 * testsuite/lib/libstdc++.exp (libstdc++-dg-test): Prepend "./" to
4640 (dg-test): Revert rth's change.
4642 2001-04-12 Nathan Sidwell <nathan@codesourcery.com>
4644 * libsupc++/eh_alloc.cc (__cxa_allocate_exception): Don't
4645 terminate holding the mutex. Make sure size fits in EMERGENCY_OBJ_SIZE.
4647 2001-04-12 Gabriel Dos Reis <gdr@codesourcery.com>
4649 * testsuite/README: Add DejaGnu specific documentation.
4651 2001-04-11 Benjamin Kosnik <bkoz@redhat.com>
4653 * acinclude.m4: AC_CHECK_TOOL for expect.
4654 * aclocal.m4: Regenerate.
4655 * configure: Regenerate.
4656 * testsuite/Makefile.am (RUNTEST): Use substituted.
4659 * configure.in: Remove xcompiling substitution.
4660 * tests_flags.in (CROSS_LIB_PATH): Remove.
4661 (xcompiling): Remove.
4662 (CXX): Use substituted CXX.
4664 2001-04-11 Richard Henderson <rth@redhat.com>
4666 * testsuite/lib/libstdc++.exp: Specify path for output_file.
4668 2001-04-08 Gabriel Dos Reis <gdr@codesourcery.com>
4670 * include/bits/std_valarray.h(valarray<>::operator[]): Make
4673 2001-04-06 Gabriel Dos Reis <gdr@codesourcery.com>
4675 * testsuite/25_algorithms/equal.cc: New test.
4677 2001-04-06 Joe Buck <jbuck@welsh-buck.org>
4679 * stl_algobase.h (std::equal): avoid use of possibly-undefined
4680 operator != (one line patch).
4682 2001-04-06 Benjamin Kosnik <bkoz@redhat.com>
4684 * include/backward/backward_warning.h: Re-enable.
4686 2001-04-06 Benjamin Kosnik <bkoz@redhat.com>
4687 Alexandre Oliva <aoliva@redhat.com>
4689 * tests_flags.in (CROSS_LIB_PATH): Add as -B flag.
4691 2001-04-06 Gabriel Dos Reis <gdr@codesourcery.com>
4693 * include/c_std/bits/std_cmath.h: Get rid of C99 math macros.
4694 * testsuite/26_numerics/c99_macros.cc: Add test.
4696 2001-04-06 Phil Edwards <pme@sources.redhat.com>
4698 * docs/html/faq/index.html: Update for 2.92, grab from RELEASE-NOTES.
4699 * docs/html/faq/index.txt: Regenerated.
4701 2001-04-06 Benjamin Kosnik <bkoz@redhat.com>
4703 * include/backward/backward_warning.h: Temporarily disable until
4704 g++ testsuite changes go in.
4705 * tests_flags.in (CROSS_LIB_PATH): Add.
4707 2001-04-05 Benjamin Kosnik <bkoz@redhat.com>
4709 Warn when using backward headers.
4710 * include/backward/algo.h: Include warning file.
4711 * include/backward/vector.h: Same.
4712 * include/backward/tree.h: Same.
4713 * include/backward/tempbuf.h: Same.
4714 * include/backward/strstream: Same.
4715 * include/backward/streambuf.h: Same.
4716 * include/backward/stream.h: Same.
4717 * include/backward/stack.h: Same.
4718 * include/backward/slist.h: Same.
4719 * include/backward/set.h: Same.
4720 * include/backward/rope.h:
4721 * include/backward/queue.h: Same.
4722 * include/backward/pair.h: Same.
4723 * include/backward/ostream.h: Same.
4724 * include/backward/new.h: Same.
4725 * include/backward/multiset.h: Same.
4726 * include/backward/multimap.h: Same.
4727 * include/backward/map.h: Same.
4728 * include/backward/list.h: Same.
4729 * include/backward/iterator.h: Same.
4730 * include/backward/istream.h: Same.
4731 * include/backward/iostream.h:
4732 * include/backward/iomanip.h:
4733 * include/backward/heap.h: Same.
4734 * include/backward/hashtable.h:
4735 * include/backward/hash_set.h:
4736 * include/backward/hash_map.h:
4737 * include/backward/function.h:
4738 * include/backward/fstream.h:
4739 * include/backward/deque.h:
4740 * include/backward/defalloc.h: Same.
4741 * include/backward/complex.h: Same.
4742 * include/backward/bvector.h:
4743 * include/backward/alloc.h:
4744 * include/backward/algobase.h: Same.
4746 * include/backward/backward_warning.h: New file.
4747 * src/Makefile.am (backward_headers): Add backward_warning.h
4748 * src/Makefile.in: Regenerate.
4750 2001-04-05 Benjamin Kosnik <bkoz@redhat.com>
4752 * src/Makefile.am (myinstalldirs): Make sure backward directory is
4754 (myinstallheaders): Install backward headers in backward directory.
4755 * src/Makefile.in: Regenerate.
4757 2001-04-05 Benjamin Kosnik <bkoz@redhat.com>
4759 Prepare for libstdc++-2.92.
4760 * docs/html/17_intro/RELEASE-NOTES (New): Update.
4761 * docs/html/configopts.html: Fix formatting.
4762 * README (file): Updates.
4763 * include/bits/c++config (__GLIBCPP__): Update.
4765 2001-04-05 Phil Edwards <pme@sources.redhat.com>
4767 * docs/doxygen/run_doxygen: Check for the existence of Doxygen.
4769 2001-04-04 Phil Edwards <pme@sources.redhat.com>
4771 * docs/doxygen/user.cfg.in: Extract all non-private members;
4772 reduce confusing documentation output.
4774 2001-04-04 Geoffrey Keating <geoffk@redhat.com>
4776 * include/backward/fstream.h: Add missing semicolons.
4778 2001-04-03 Benjamin Kosnik <bkoz@redhat.com>
4780 * include/bits/fstream.tcc: Add bool parameter to filebuf ctor.
4781 * include/bits/ios_base.h(ios_base::Init): Remove _M_cout, _M_cin,
4782 _M_cerr, _M_wcout, _M_wcin, _M_wcerr.
4783 (ios_base::Init::_S_ios_create): New.
4784 (ios_base::Init::_S_ios_destroy): New.
4785 * include/bits/std_fstream.h: Change ctor args.
4786 * src/ios.cc (ios_base::Init::Init): Use _S_ios_create.
4787 (ios_base::Init::~Init): Use _S_ios_destroy.
4788 (ios_base::sync_with_stdio): Use new members.
4789 * testsuite/27_io/filebuf_members.cc: Fix calling conventions for
4792 2001-04-03 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
4794 * include/backward/fstream.h: Expose streampos to global
4797 2001-04-03 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
4799 * include/bits/stl_iterator_base_types.h: Fix typo
4801 2001-04-03 Andreas Schwab <schwab@suse.de>
4803 * include/backward/fstream.h: Define filebuf and wfilebuf.
4805 2001-04-02 Phil Edwards <pme@sources.redhat.com>
4807 New concept checking implementation.
4808 * docs/html/19_diagnostics/howto.html: Document.
4809 * docs/html/17_intro/concept_check.diff: New file, for reference.
4810 * include/bits/boost_concept_check.h: New file from Boost.
4811 * include/bits/c++config: Update comments.
4813 * include/bits/concept_check.h: New file.
4814 * include/bits/concept_checks.h: Removed.
4815 * include/bits/container_concepts.h: Removed.
4816 * include/bits/sequence_concepts.h: Removed.
4817 * include/bits/stl_iterator_base.h: Removed; split into...
4818 * include/bits/stl_iterator_base_funcs.h: ...this new file...
4819 * include/bits/stl_iterator_base_types.h: ...and this new file.
4821 * include/bits/sbuf_iter.h: Update to use new implementation.
4822 * include/bits/std_iterator.h: Likewise.
4823 * include/bits/std_memory.h: Likewise.
4824 * include/bits/stl_algo.h: Likewise.
4825 * include/bits/stl_algobase.h: Likewise.
4826 * include/bits/stl_construct.h: Likewise.
4827 * include/bits/stl_deque.h: Likewise.
4828 * include/bits/stl_heap.h: Likewise.
4829 * include/bits/stl_list.h: Likewise.
4830 * include/bits/stl_map.h: Likewise.
4831 * include/bits/stl_multimap.h: Likewise.
4832 * include/bits/stl_multiset.h: Likewise.
4833 * include/bits/stl_numeric.h: Likewise.
4834 * include/bits/stl_queue.h: Likewise.
4835 * include/bits/stl_set.h: Likewise.
4836 * include/bits/stl_stack.h: Likewise.
4837 * include/bits/stl_uninitialized.h: Likewise.
4838 * include/bits/stl_vector.h: Likewise.
4839 * include/ext/hash_map: Likewise.
4840 * include/ext/hash_set: Likewise.
4841 * include/ext/slist: Likewise.
4842 * include/ext/stl_hashtable.h: Likewise.
4844 * src/Makefile.am (base_headers): Update list of headers.
4845 * Makefile.in: Regenerated.
4846 * src/Makefile.in: Regenerated.
4847 * libio/Makefile.in: Regenerated.
4848 * libmath/Makefile.in: Regenerated.
4849 * libsupc++/Makefile.in: Regenerated.
4850 * testsuite/Makefile.in: Regenerated.
4852 * docs/html/install.html: Update contact information.
4853 * docs/html/17_intro/howto.html: Ditto.
4854 * docs/html/18_support/howto.html: Ditto.
4855 * docs/html/20_util/howto.html: Ditto.
4856 * docs/html/21_strings/howto.html: Ditto.
4857 * docs/html/22_locale/howto.html: Ditto.
4858 * docs/html/23_containers/howto.html: Ditto.
4859 * docs/html/24_iterators/howto.html: Ditto.
4860 * docs/html/25_algorithms/howto.html: Ditto.
4861 * docs/html/26_numerics/howto.html: Ditto.
4862 * docs/html/27_io/howto.html: Ditto.
4863 * docs/html/faq/index.html: Ditto, plus info on new checking code.
4864 * docs/html/ext/howto.html: Ditto, plus info on new checking code.
4865 * docs/html/faq/index.txt: Regenerated.
4867 2001-04-02 Zack Weinberg <zackw@stanford.edu>
4869 * testsuite/lib/libstdc++.exp (dg-test): Annotate result
4870 messages with $which_library as well as $tool_flags and
4871 ${dg-extra-tool-flags}. Factor out annotation text into
4874 2001-04-02 Stephen M. Webb <stephen@bregmasoft.com>
4876 * include/c_std/bits/std_cstring.h: Fix for const-correctness.
4877 * include/c_std/bits/std_cwchar.h: Same.
4878 * testsuite/21_strings/c_strings.cc: Add.
4880 2001-04-01 Benjamin Kosnik <bkoz@codesourcery.com>
4882 * docs/html/configopts.html: Add --enable-sjlj-exceptions docs.
4884 2001-04-01 Zack Weinberg <zackw@stanford.edu>
4886 * tests_flags.in: Use test a = b, not test a == b which is not
4889 2001-03-31 Benjamin Kosnik <bkoz@redhat.com>
4891 * configure.target: Remove duplicate aix entry.
4893 2001-03-30 Benjamin Kosnik <bkoz@redhat.com>
4895 * include/ext/stl_bvector.h: Move to...
4896 * include/bits/stl_vector.h: ...here.
4897 * include/ext/bvector: Move to...
4898 * include/backward/bvector.h: ...here.
4899 * include/bits/std_vector.h: Change stl_bvector include.
4900 * include/bits/std_queue.h: Remove bvector include.
4901 * include/ext/tree: Insert using rb_tree, move to...
4902 * include/backward/tree.h: ...here.
4903 * include/backward/hash_map.h: Include ext/hash_map.
4904 * include/backward/hash_set.h: Include ext/hash_set.
4905 * include/backward/queue.h: New file.
4906 * include/backward/stack.h: Edit.
4907 * include/backward/algo.h: Same.
4908 * include/backward/algobase.h: Same.
4909 * include/backward/alloc.h: Same.
4910 * include/backward/function.h: Same.
4911 * include/backward/iomanip.h: Same.
4912 * include/backward/istream.h: Same.
4913 * include/backward/iterator.h: Same.
4914 * include/backward/list.h: Same.
4915 * include/backward/map.h: Same.
4916 * include/backward/multimap.h: Same.
4917 * include/backward/multiset.h: Same.
4918 * include/backward/ostream.h: Same.
4919 * include/backward/pair.h: Same
4920 * include/backward/rope.h: Same.
4921 * include/backward/set.h: Same.
4922 * include/backward/stream.h: Same.
4923 * include/backward/strstream.h: Same.
4924 * include/backward/tempbuf.h: Same.
4925 * src/Makefile.am (ext_headers): Edit.
4926 * src/Makefile.in: Regenerate.
4927 * testsuite/ext/headers.cc (main): Fix.
4930 2001-03-30 Phil Edwards <pme@sources.redhat.com>
4932 * tests_flags.in (LIBS): Pass correct path for installed testing.
4934 2001-03-28 Benjamin Kosnik <bkoz@redhat.com>
4936 * mkcheck.in (LIBTOOL): Don't construct -B argument here...
4937 * tests_flags.in (CXX): Construct here.
4938 (static_fail): Don't remove compile.out. Format with spaces.
4939 (INCLUDES): Deal with xcompiling.
4940 * configure.in (xcompiling): Substitute.
4941 * testsuite/Makefile.am: Snake libjava configury.
4942 * testsuite/Makefile.in: Regenerate.
4943 * testsuite/23_containers/map_operators.cc: Tweaks.
4944 * testsuite/23_containers/set_operators.cc: Tweaks.
4946 2001-03-28 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
4948 Enable dejagnu testing framework.
4949 * configure.in: Generate testsuite/Makefile.
4950 * configure: Regenerate.
4951 * Makefile.am (check-install): Change rule from this...
4952 (check-script-install): ...to this.
4953 (check): Change rule from this...
4954 (check-script):...to this.
4955 * Makefile.in: Regenerate.
4957 2001-03-28 Alexandre Oliva <aoliva@redhat.com>
4959 * libsupc++/Makefile.am (CXXLINK): Add --tag disable-shared after
4961 (LIBTOOL): Let automake take care of its definition.
4962 * libsupc++/Makefile.in: Rebuilt.
4964 2001-03-28 Richard Henderson <rth@redhat.com>
4966 IA-64 ABI Exception Handling:
4967 * acinclude.m4 (GLIBCPP_ENABLE_SJLJ_EXCEPTIONS): New.
4968 * configure.in: Use it.
4969 * Makefile.in, aclocal.m4, config.h.in, configure: Regenerate.
4970 * libsupc++/Makefile.am (sources): Update files list.
4971 * libsupc++/Makefile.in: Regenerate.
4972 * libsupc++/eh_alloc.cc, libsupc++/eh_aux_runtime.cc: New files.
4973 * libsupc++/eh_catch.cc, libsupc++/eh_exception.cc: New files.
4974 * libsupc++/eh_globals.cc, libsupc++/eh_personality.cc: New files.
4975 * libsupc++/eh_terminate.cc, libsupc++/eh_throw.cc: New files.
4976 * libsupc++/exception_support.cc: Remove.
4977 * libsupc++/exception_support.h: Remove.
4978 * libsupc++/pure.cc: Use std::terminate.
4979 * libsupc++/tinfo2.cc (__throw_type_match_rtti_2): Remove.
4980 (__is_pointer): Remove.
4981 * libsupc++/unwind-cxx.h: New file.
4982 * libsupc++/vec.cc (uncatch_exception): Update for new abi.
4984 2001-03-27 Alexandre Oliva <aoliva@redhat.com>
4986 * libsupc++/Makefile.am (CXXLINK): Use CXX again, and choose
4988 * src/Makefile.am (CXXLINK): Likewise.
4989 * libsupc++/Makefile.in, src/Makefile.in: Rebuilt.
4991 2001-03-27 Benjamin Kosnik <bkoz@redhat.com>
4993 * include/bits/c++config (_STL_USE_CONCEPT_CHECKS): Disable by default.
4995 2001-03-26 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
4997 * libstdc++-v3/tests_flags.in: Change the order of libstdc++
5000 2001-03-26 Benjamin Kosnik <bkoz@redhat.com>
5002 * include/bits/basic_file.h (get_fileno): Remove.
5003 (_M_fileno): Remove.
5004 (_M_cfile_created): Add.
5005 (basic_file::basic_file(__c_file_type*, openmode): Add.
5006 (basic_file::basic_file(int, const char*, openmode): Remove.
5007 * include/bits/fstream.tcc (basic_fstream::basic_filebuf(int __fd,
5008 const char*, ios_base::openmode): Don't allocate
5009 internal buffers. Turn off internal buffers.
5010 (basic_filebuf::overflow): Remove test for null buffer.
5011 (basic_filebuf::_M_really_overflow): Same. Allow unbuffered use.
5012 * include/bits/streambuf.cc: Tweak.
5013 * include/bits/std_ostream.h: Tweak.
5014 * config/basic_file_libio.h: Same.
5015 * config/basic_file_stdio.h: Same.
5016 * src/ios.cc (ios_base::Init::Init()): Unbuffer stdout by default.
5017 * testsuite/27_io/filebuf_members.cc: Tweaks.
5018 * testsuite/27_io/ios_base_members_static.cc: Tweaks.
5020 2001-03-24 Phil Edwards <pme@sources.redhat.com>
5022 * Makefile.am: New targets, doxygen and doxygen-maint.
5023 * Makefile.in: Regenerated.
5024 * docs/doxygen/run_doxygen: Finally implemented.
5025 * docs/doxygen/maint.cfg.in: New file.
5026 * docs/doxygen/user.cfg.in: New file.
5028 2001-03-24 Phil Edwards <pme@sources.redhat.com>
5030 * acinclude.m4 (GLIBCPP_CHECK_COMPILER_FEATURES): Update comment.
5031 * src/Makefile.am: Replace leading spaces with tabs on continuation
5033 * aclocal.m4: Regenerated.
5035 * Makefile.in: Ditto.
5036 * src/Makefile.in: Ditto.
5037 * libio/Makefile.in: Ditto.
5038 * libmath/Makefile.in: Ditto.
5039 * libsupc++/Makefile.in: Ditto.
5041 2001-03-24 Phil Edwards <pme@sources.redhat.com>
5043 * docs/html/19_diagnostics/howto.html: HTML fixup. Describe
5044 concept-checking code and current status of same.
5045 * docs/html/ext/howto.html: Ditto.
5046 * docs/html/faq/index.html: Ditto.
5047 * docs/html/faq/index.txt: Regenerated.
5049 2001-03-24 Phil Edwards <pme@sources.redhat.com>
5051 * include/bits/std_bitset.h: Include ostream and istream headers
5052 instead of iostream.
5054 2001-03-22 Greg Bumgardner <bumgard@roguewave.com>
5056 * include/bits/ostream.tcc: Use __builtin_alloca.
5058 2001-03-22 Benjamin Kosnik <bkoz@redhat.com>
5060 * src/misc-inst.cc (__sink_unused_warning): Move to...
5061 * src/locale-inst.cc (__sink_unused_warning): Move to...
5062 * src/stl-inst.cc: Here.
5063 * include/bits/c++config (_STL_NO_CONCEPT_CHECKS): Add define,
5066 2001-03-21 Theodore Papadopoulo <Theodore.Papadopoulo@sophia.inria.fr>
5068 * intclude/bits/basic_file.h: Fix typos in comments.
5070 2001-03-20 Richard Henderson <rth@redhat.com>
5072 * src/gen-num-limits.cc: Instantiate for wchar_t.
5073 * config/os/aix/bits/ctype_base.h (mask): Use unsigned int.
5075 2001-03-20 Jason Merrill <jason@redhat.com>
5077 * libsupc++/vec.cc (__cxa_vec_cleanup): New fn.
5078 (__cxa_vec_ctor, __cxa_vec_cctor, __cxa_vec_dtor): Call it.
5079 * libsupc++/cxxabi.h: Declare it.
5081 2001-03-16 Alexandre Oliva <aoliva@redhat.com>
5083 * src/gen-num-limits.cc (signal_adapter): Overloaded to match
5084 signal_func with an unspecified argument list.
5086 2001-03-15 Benjamin Kosnik <bkoz@redhat.com>
5088 * tests_flags.in (CXXFLAGS): Link libstdc++ before libsupc++.
5090 2001-03-15 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
5092 * include/bits/basic_string.tcc (operator+): Fix thinko.
5094 2001-03-14 Benjamin Kosnik <bkoz@redhat.com>
5097 * include/bits/std_streambuf.h: Remove cached locale facets.
5098 (basic_streambuf::_M_buf_fctype): Remove.
5099 (basic_streambuf::~basic_streambuf): Remove here.
5100 (basic_streambuf::basic_streambuf): Same.
5101 (basic_streambuf::imbue): Same.
5102 * include/bits/fstream.tcc (filebuf::imbue): Remove _M_buf_fctype.
5103 * include/bits/std_fstream.h (basic_filebuf::_M_fcvt): Remove.
5104 (basic_filebuf::~basic_filebuf()): Remove here.
5105 * include/bits/fstream.tcc (basic_filebuf::basic_filebuf): Same.
5106 (basic_filebuf::imbue): Same.
5107 * include/bits/localefwd.h (_Count_ones): Remove.
5108 (locale::_S_num_categories): Just use 6, since this doesn't
5109 actually change, ever.
5110 * include/bits/locale_facets.tcc (has_facet): Simplify.
5112 * testsuite/27_io/filebuf.cc (test06): Add tests.
5114 2001-03-13 Steve Ellcey <sje@cup.hp.com>
5116 * libstdc++-v3/config/os/hpux/bits/ctype_base.h: Make ctype masks
5117 match HP-UX ctype.h header file.
5119 2001-03-13 Andris Pavenis <pavenis@latnet.lv>
5121 * config/djgpp/bits/ctype_noninline.h: Fix typo and remove
5122 duplicate definitions of __dj_ctype_*
5124 2001-03-13 Benjamin Kosnik <bkoz@redhat.com>
5126 * libsupc++/new: Remove pragma interface.
5127 * libsupc++/typeinfo: Same.
5128 * libsupc++/exception: Same.
5129 * libsupc++/new_handler.cc: Remove pragma implementation.
5130 (bad_alloc::~bad_alloc()): Add.
5131 * libsupc++/exception_support.cc: Same.
5132 (exception::~exception): Add.
5133 (bad_exception::~bad_exception): Add.
5134 * libsupc++/tinfo.cc: Same.
5135 (bad_cast::~bad_cast): Add.
5136 (bad_typeid::~bad_typeid): Add.
5138 2001-03-13 Phil Edwards <pme@sources.redhat.com>
5140 * mkcheck.in: Fix IFS regression for non-bash-2.01 hosts.
5142 2001-03-12 Felix Lee <flee@redhat.com>
5144 * mkcheck.in: workaround for bash 2.01 IFS bug.
5146 2001-03-12 Benjamin Kosnik <bkoz@redhat.com>
5148 Fixups for -fno-for-scope
5149 * include/bits/locale_facets.tcc (__match_parallel): Fixup.
5150 * src/valarray-inst.cc (__gslice_to_index): Same.
5152 2001-03-12 Rodney Brown <RodneyBrown@mynd.com>
5154 * src/gen-num-limits.cc (traps) [SPECIALIZE_TRAPPING]: Add fflush
5155 prior to trapping signal (UnixWare 7 workaround).
5157 2001-03-12 Craig Rodrigues <rodrigc@mediaone.net>
5159 * include/backward/hashtable.h: Same.
5160 * include/backward/rope.h: Fix include.
5162 2001-03-12 Benjamin Kosnik <bkoz@redhat.com>
5164 * include/backward/vector.h: Include std_vector.h.
5166 * include/bits/istream.tcc (basic_istream<_CharT, _Traits>&
5167 operator>>(basic_istream<_CharT, _Traits>& __in, _CharT* __s)):
5170 2001-03-11 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
5172 * include/ext/stl_hashtable.h: Change type of __n to size_t
5173 * include/backward/bvector.h: Include <ext/stl_bvector.h>
5175 2001-03-09 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
5177 * include/bits/istream.tcc ( basic_istream<_CharT, _Traits>&
5178 operator>>(basic_istream<_CharT, _Traits>& __in, _CharT* __s)):
5179 Use streamsize, not int_type.
5181 2001-03-08 Benjamin Kosnik <bkoz@redhat.com>
5183 * testsuite/27_io/streambuf.cc (test06): New test, disabled at the
5186 2001-03-08 Andreas Schwab <schwab@suse.de>
5188 * acinclude.m4 (GLIBCPP_EXPORT_INSTALL_INFO): Fix syntax in test
5190 * aclocal.m4, configure: Regenerated.
5192 2001-03-07 Benjamin Kosnik <bkoz@redhat.com>
5194 * include/bits/std_iosfwd.h: Remove string forward decls here.
5195 * include/bits/stringfwd.h: Add forward decls for char_traits
5197 * config/c_io_libio.h (wstreamoff): Delete.
5198 * config/c_io_stdio.h (wstreamoff): Same.
5199 * include/bits/char_traits.h: Use streamoff not wstreamoff for
5200 char_traits<wchar_t>::off_type.
5201 Remove duplicate typedefs.
5202 * include/bits/fpos.h: Define streampos/wstreampos here.
5203 * testsuite/27_io/istream_seeks.cc (test04): Explicitly cast int
5206 Changeup output files.
5207 * testsuite/27_io/istream_unformatted.cc: Change output files.
5208 * testsuite/27_io/istream_seeks-1.txt: Add.
5209 * testsuite/27_io/istream_seeks-2.tst: Add.
5210 * testsuite/27_io/istream_seeks-1.tst: Add.
5211 * testsuite/27_io/istream_unformatted-2.tst: Delete.
5212 * testsuite/27_io/istream_unformatted-3.tst: Delete.
5213 * testsuite/27_io/istream_unformatted-3.txt: Delete.
5215 2001-03-07 Alexandre Oliva <aoliva@redhat.com>
5217 Add Irix 5.2, 6.3 support.
5218 * config/os/irix/bits: Renamed to...
5219 * config/os/irix/irix6.5/bits: this.
5220 * config/os/irix/irix5.2/bits: New, copied from irix6.5/bits.
5221 * config/os/irix/irix5.2/bits/ctype_base.h: Use _U, _L, _N,
5222 _X, _S, _P, _C and _B instead of IRIX-6.5 _IS* macros.
5223 * config/os/irix/irix5.2/bits/ctype_noninline.h
5224 (ctype<char>::ctype): Initialize _M_table with __ctype.
5225 * configure.target: Adjust.
5227 2001-03-06 Benjamin Kosnik <bkoz@redhat.com>
5230 * include/bits/istream.tcc (basic_istream<_CharT, _Traits>::
5231 operator>>(__istream_type& (*__pf)(__istream_type&)): Don't use
5233 (basic_istream<_CharT, _Traits>:: operator>>(__ios_type&
5234 (*__pf)(__ios_type&)): Same.
5235 (basic_istream<_CharT, _Traits>:: operator>>(ios_base&
5236 (*__pf)(ios_base&))): Same.
5237 * testsuite/27_io/istream_extractor_other.cc: Add tests.
5238 * testsuite/27_io/istream_manip.cc (test01): Fix.
5240 2001-03-06 Nathan Myers <ncm@cantrip.org>
5241 Benjamin Kosnik <bkoz@redhat.com>
5243 * include/c_std/bits/std_cerrno.h: Don't define errno in std::.
5244 * testsuite/17_intro/header_cerrno.cc (test01): New file.
5245 * testsuite/17_intro/header_cassert.cc (test01): New file.
5246 * testsuite/17_intro/header_cstddef.cc (test01): New file.
5247 * testsuite/17_intro/header_csetjmp.cc (test01): New file.
5248 * testsuite/17_intro/header_cstdarg.cc (test01): New file.
5250 2001-03-05 scott snyder <snyder@fnal.gov>
5253 * include/c_std/bits/std_cmath.h: Move abs(long), div(long,long)
5255 * include/c_std/bits/std_cstdlib.h: ... to here.
5256 * testsuite/17_intro/header_cstdlib.cc: Add test.
5258 2001-03-05 Stephen M. Webb <stephen.webb@cybersafe.com>
5260 * libsupc++/vec.cc (__cxxa_vec_new2): Qualify size_t.
5262 2001-03-05 Laurynas Biveinis <lauras@softhome.net>
5264 * config/os/djgpp/ctype_base.h (ctype_base): fix __to_type
5265 definition. Replace enum with static const variables.
5267 * config/os/djgpp/ctype_inline.h (ctype<char>::is): remove
5268 throw specification, fix typos, use <static_cast>.
5269 (ctype<char>::scan_is): remove throw specification.
5270 (ctype<char>::scan_not): likewise.
5272 * config/os/djgpp/ctype_noninline.h (ctype<char>::ctype): fix typo.
5273 (ctype<char>::do_toupper(char)): use <static_cast>.
5274 (ctype<char>::do_toupper(char *, const char *)): likewise.
5275 (ctype<char>::do_tolower(char)): likewise.
5276 (ctype<char>::do_tolower(char *, const char *)): likewise.
5278 2001-03-04 Phil Edwards <pme@sources.redhat.com>
5280 http://gcc.gnu.org/ml/libstdc++/2001-03/msg00015.html
5281 * include/backward/algo.h: Use std not __STD. Remove unneeded
5282 macros and "never happens" code. Adjust to C++STYLE guidelines.
5283 * include/backward/algobase.h: Likewise.
5284 * include/backward/alloc.h: Likewise.
5285 * include/backward/bvector.h: Likewise.
5286 * include/backward/deque.h: Likewise.
5287 * include/backward/function.h: Likewise.
5288 * include/backward/hash_map.h: Likewise.
5289 * include/backward/hash_set.h: Likewise.
5290 * include/backward/hashtable.h: Likewise.
5291 * include/backward/heap.h: Likewise.
5292 * include/backward/iterator.h: Likewise.
5293 * include/backward/list.h: Likewise.
5294 * include/backward/map.h: Likewise.
5295 * include/backward/multimap.h: Likewise.
5296 * include/backward/multiset.h: Likewise.
5297 * include/backward/pair.h: Likewise.
5298 * include/backward/rope.h: Likewise.
5299 * include/backward/set.h: Likewise.
5300 * include/backward/slist.h: Likewise.
5301 * include/backward/stack.h: Likewise.
5302 * include/backward/strstream: Likewise.
5303 * include/backward/tempbuf.h: Likewise.
5304 * include/backward/tree.h: Likewise.
5305 * include/backward/vector.h: Likewise.
5306 * include/bits/basic_ios.h: Likewise.
5307 * include/bits/basic_ios.tcc: Likewise.
5308 * include/bits/basic_string.h: Likewise.
5309 * include/bits/c++config: Likewise.
5310 * include/bits/concept_checks.h: Likewise.
5311 * include/bits/fpos.h: Likewise.
5312 * include/bits/fstream.tcc: Likewise.
5313 * include/bits/functexcept.h: Likewise.
5314 * include/bits/ios_base.h: Likewise.
5315 * include/bits/istream.tcc: Likewise.
5316 * include/bits/mask_array.h: Likewise.
5317 * include/bits/ostream.tcc: Likewise.
5318 * include/bits/pthread_allocimpl.h: Likewise.
5319 * include/bits/sbuf_iter.h: Likewise.
5320 * include/bits/slice.h: Likewise.
5321 * include/bits/slice_array.h: Likewise.
5322 * include/bits/sstream.tcc: Likewise.
5323 * include/bits/std_bitset.h: Likewise.
5324 * include/bits/std_fstream.h: Likewise.
5325 * include/bits/std_iomanip.h: Likewise.
5326 * include/bits/std_ios.h: Likewise.
5327 * include/bits/std_istream.h: Likewise.
5328 * include/bits/std_iterator.h: Likewise.
5329 * include/bits/std_memory.h: Likewise.
5330 * include/bits/std_ostream.h: Likewise.
5331 * include/bits/std_sstream.h: Likewise.
5332 * include/bits/std_streambuf.h: Likewise.
5333 * include/bits/std_string.h: Likewise.
5334 * include/bits/std_valarray.h: Likewise.
5335 * include/bits/stl_algo.h: Likewise.
5336 * include/bits/stl_algobase.h: Likewise.
5337 * include/bits/stl_alloc.h: Likewise.
5338 * include/bits/stl_construct.h: Likewise.
5339 * include/bits/stl_deque.h: Likewise.
5340 * include/bits/stl_function.h: Likewise.
5341 * include/bits/stl_heap.h: Likewise.
5342 * include/bits/stl_iterator.h: Likewise.
5343 * include/bits/stl_iterator_base.h: Likewise.
5344 * include/bits/stl_list.h: Likewise.
5345 * include/bits/stl_map.h: Likewise.
5346 * include/bits/stl_multimap.h: Likewise.
5347 * include/bits/stl_multiset.h: Likewise.
5348 * include/bits/stl_numeric.h: Likewise.
5349 * include/bits/stl_pair.h: Likewise.
5350 * include/bits/stl_pthread_alloc.h: Likewise.
5351 * include/bits/stl_queue.h: Likewise.
5352 * include/bits/stl_raw_storage_iter.h: Likewise.
5353 * include/bits/stl_relops.h: Likewise.
5354 * include/bits/stl_set.h: Likewise.
5355 * include/bits/stl_stack.h: Likewise.
5356 * include/bits/stl_tempbuf.h: Likewise.
5357 * include/bits/stl_threads.h: Likewise.
5358 * include/bits/stl_tree.h: Likewise.
5359 * include/bits/stl_uninitialized.h: Likewise.
5360 * include/bits/stl_vector.h: Likewise.
5361 * include/bits/streambuf.tcc: Likewise.
5362 * include/bits/type_traits.h: Likewise.
5363 * include/bits/valarray_meta.h: Likewise.
5364 * include/ext/bvector: Likewise.
5365 * include/ext/hash_map: Likewise.
5366 * include/ext/hash_set: Likewise.
5367 * include/ext/ropeimpl.h: Likewise.
5368 * include/ext/slist: Likewise.
5369 * include/ext/stl_bvector.h: Likewise.
5370 * include/ext/stl_hash_fun.h: Likewise.
5371 * include/ext/stl_hashtable.h: Likewise.
5372 * include/ext/stl_rope.h: Likewise.
5373 * src/complex_io.cc: Likewise.
5374 * src/ios.cc: Likewise.
5375 * src/locale-inst.cc: Likewise.
5376 * src/locale.cc: Likewise.
5377 * src/localename.cc: Likewise.
5378 * src/misc-inst.cc: Likewise.
5379 * src/stdexcept.cc: Likewise.
5380 * src/stl-inst.cc: Likewise.
5381 * src/strstream.cc: Likewise.
5382 * src/valarray-inst.cc: Likewise.
5384 2001-03-03 Benjamin Kosnik <bkoz@redhat.com>
5386 * src/misc-inst.cc (__copy_streambufs): Fix typo for alpha.
5388 2001-03-02 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
5390 * include/bits/istream.tcc: change type of __extracted to __size_type
5392 2001-03-02 Benjamin Kosnik <bkoz@redhat.com>
5394 * src/wstring-inst.cc: New file.
5395 * src/Makefile.am (EXTRA_LTLIBRARIES): Remove.
5396 (libinst_wstring_la_SOURCES): Remove.
5397 (libstdc___la_LIBADD): Remove libinst_wstring_la.
5398 (sources): Add wstring-inst.cc
5399 * acinclude.m4 (GLIBCPP_CHECK_WCHAR_T_SUPPORT): Remove
5402 2001-03-02 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
5404 * src/locale.cc: initialise __ret with zero
5405 * src/strstream.cc:cast gptr to int_type
5407 2001-03-01 Phil Edwards <pme@sources.redhat.com>
5409 * docs/html/faq/index.html: Update broken links.
5410 * docs/html/faq/index.txt: Regenerated.
5412 2001-02-28 Benjamin Kosnik <bkoz@redhat.com>
5415 * configure.target: Change irix* to irix6.5* in target_os table.
5417 2001-02-28 Benjamin Kosnik <bkoz@redhat.com>
5420 * include/bits/c++config (__GLIBCPP__): Bump number in
5421 anticipation of 2.92.
5423 * include/bits/codecvt.h: Fix typo.
5424 * include/bits/basic_file.h (__basic_file): Don't use _M_wfile for
5426 * acinclude.m4 (GLIBCPP_ENABLE_CSTDIO): Enable wchar_t
5427 instantiations for stdio model.
5429 2001-02-28 Phil Edwards <pme@sources.redhat.com>
5431 * acinclude.m4 (GLIBCPP_CONFIGURE): Remove GLIBCPP_CFLAGS
5432 and GLIBCPP_CXXFLAGS as unused variables.
5433 * configure.host: Likewise.
5434 * configure.target: Likewise.
5435 * aclocal.m4: Regenerated.
5436 * configure: Regenerated.
5437 * Makefile.in: Regenerated.
5438 * libio/Makefile.in: Regenerated.
5439 * libmath/Makefile.in: Regenerated.
5440 * libsupc++/Makefile.in: Regenerated.
5441 * src/Makefile.in: Regenerated.
5443 2001-02-27 Benjamin Kosnik <bkoz@redhat.com>
5446 * include/bits/basic_file.h: Include basic_file_model.h.
5447 * config/c_io_libio.cc: Move to...
5448 * config/basic_file_libio.cc: Here.
5449 * config/basic_file_libio.h: New file.
5450 * config/c_io_stdio.cc: Move to...
5451 * config/basic_file_stdio.cc: Here.
5452 * config/basic_file_stdio.h: New file.
5453 * config/c_io_libio.h: Tweak.
5454 * config/c_io_stdio.h: Tweak.
5455 * src/Makefile.am (build_headers): Add basic_file_model.h.
5456 (sources): Add basic_file.cc, remove c++io.cc.
5457 * src/Makefile.in: Regenerate.
5458 * acinclude.m4 (GLIBCPP_ENABLE_CSTDIO): Add support for
5459 basic_file_model.h and basic_file.cc.
5460 * aclocal.m4: Regenerate.
5461 * configure: Regenerate.
5462 * testsuite/27_io/filebuf.cc (test05): Add regression.
5464 2001-02-27 Benjamin Kosnik <bkoz@redhat.com>
5467 * config/cpu/alpha/bits/atomicity.h: Change.
5468 * config/cpu/arm/bits/atomicit3y.h
5469 * config/cpu/generic/bits/atomicity.h
5470 * config/cpu/i386/bits/atomicity.h
5471 * config/cpu/i486/bits/atomicity.h
5472 * config/cpu/ia64/bits/atomicity.h
5473 * config/cpu/powerpc/bits/atomicity.h
5474 * config/cpu/sparc/sparc32/bits/atomicity.h
5475 * config/cpu/sparc/sparc64/bits/atomicity.h
5476 * config/os/aix/bits/atomicity.h
5477 * config/os/irix/bits/atomicity.h
5479 2001-02-27 Benjamin Kosnik <bkoz@redhat.com>
5481 * include/bits/std_stdexcept.h (runtime_error): Make string
5483 (logic_error): Same.
5484 * testsuite/19_diagnostics/stdexceptions.cc (test04): Add test.
5487 2001-02-26 Benjamin Kosnik <bkoz@redhat.com>
5491 * include/bits/std_stdexcept.h (logic_error::logic_error): Use
5492 string object, not reference.
5493 (runtime_error::runtime_error): Same.
5494 * testsuite/19_diagnostics/stdexceptions.cc: New file.
5496 2001-02-26 Phil Edwards <pme@sources.redhat.com>
5498 * acinclude.m4 (GLIBCPP_CONFIGURE): Update required compiler version.
5499 (GLIBCPP_CHECK_COMPILER_FEATURES): Can safely assume new
5500 diagnostics. Remove WFMT_FLAGS.
5501 * configure.in: Replace WFMT_FLAGS with diagnostics options.
5502 * libsupc++/Makefile.am: Likewise.
5503 * src/Makefile.am: Likewise.
5504 * aclocal.m4: Regenerated.
5505 * configure: Regenerated.
5506 * Makefile.in: Regenerated.
5507 * libio/Makefile.in: Regenerated.
5508 * libmath/Makefile.in: Regenerated.
5509 * libsupc++/Makefile.in: Regenerated.
5510 * src/Makefile.in: Regenerated.
5512 2001-02-26 Phil Edwards <pme@sources.redhat.com>
5514 Fixes libstdc++/2079
5515 * include/backward/iomanip.h: Expose <ios> manipulators to global
5517 * include/backward/iostream.h: Also expose std::ws.
5519 2001-02-25 Greg Freemyer <freemyer@NorcrossGroup.com>
5521 * libmath/mathconf.h (GET_LDOUBLE_MSW64): Fix thinko.
5523 2001-02-23 Benjamin Kosnik <bkoz@redhat.com>
5525 * include/bits/codecvt.h: Use __builtin_alloca.
5526 * include/bits/ostream.tcc: Same.
5527 * include/bits/fstream.tcc: Same.
5529 2001-02-23 Alexandre Oliva <aoliva@redhat.com>
5531 * mknumeric_limits (CC): Use VAR=${VAR=...} form.
5533 2001-02-23 David Edelsohn <dje@watson.ibm.com>
5535 * mknumeric_limits (CC): Use $BUILD_DIR/../../gcc/xgcc
5537 2001-02-23 Phil Edwards <pme@sources.redhat.com>
5540 * include/backward/iostream.h: Expose std::flush in old headers.
5542 2001-02-23 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
5544 * mknumeric_limits: Remove special-casing on target. Use gcc
5545 instead of g++ to build gen-num-limits.cc
5547 2001-02-22 Benjamin Kosnik <bkoz@redhat.com>
5549 * tests_flags.in (CXXFLAGS): Add -rpath to gcc build dir.
5551 * include/bits/codecvt.h: Use alloca instead of __extension__ for
5553 * include/bits/ostream.tcc: Same.
5554 * include/bits/std_ostream.h: Same.
5555 * include/bits/fstream.tcc: Same.
5556 * include/bits/locale_facets.tcc: Add typename.
5557 * include/bits/c++config (_GLIBCPP_FULLY_COMPLIANT_HEADERS): Enable.
5559 2001-02-21 Phil Edwards <pme@sources.redhat.com>
5561 * tests_flags.in: Remove -n flag from call to echo.
5563 2001-02-20 Benjamin Kosnik <bkoz@redhat.com>
5565 * config/c_locale_gnu.h: Add clocale include.
5567 2001-02-20 Phil Edwards <pme@sources.redhat.com>
5569 * include/bits/stl_config.h: Remove file.
5570 * src/Makefile.am (base_headers): Remove from list.
5571 * configure: Regenerate.
5572 * Makefile.in: Ditto.
5573 * libio/Makefile.in: Ditto.
5574 * libmath/Makefile.in: Ditto.
5575 * libsupc++/Makefile.in: Ditto.
5576 * src/Makefile.in: Ditto.
5578 * include/bits/c++config: Move relevant macros to here.
5579 * include/backward/alloc.h: Include c++config.h instead.
5580 * include/backward/function.h: Ditto.
5581 * include/backward/heap.h: Ditto.
5582 * include/backward/pair.h: Ditto.
5583 * include/bits/pthread_allocimpl.h: Ditto.
5584 * include/bits/std_functional.h: Ditto.
5585 * include/bits/std_iterator.h: Ditto.
5586 * include/bits/std_numeric.h: Ditto.
5587 * include/bits/std_utility.h: Ditto.
5588 * include/bits/stl_algobase.h: Ditto.
5589 * include/bits/type_traits.h: Ditto.
5590 * src/stl-inst.cc: Ditto.
5592 2001-02-19 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
5594 * include/bits/basic_file.h: Add #pragma system_header
5595 * include/bits/basic_ios.h: Ditto.
5596 * include/bits/basic_string.h: Ditto.
5597 * include/bits/char_traits.h: Ditto.
5598 * include/bits/codecvt.h: Ditto.
5599 * include/bits/cpp_type_traits.h: Ditto.
5600 * include/bits/fpos.h: Ditto.
5601 * include/bits/gslice.h: Ditto.
5602 * include/bits/gslice_array.h: Ditto.
5603 * include/bits/indirect_array.h: Ditto.
5604 * include/bits/ios_base.h: Ditto.
5605 * include/bits/limits_generic.h: Ditto.
5606 * include/bits/locale_facets.h: Ditto.
5607 * include/bits/localefwd.h: Ditto.
5608 * include/bits/mask_array.h: Ditto.
5609 * include/bits/sbuf_iter.h: Ditto.
5610 * include/bits/sequence_concepts.h: Ditto.
5611 * include/bits/slice.h: Ditto.
5612 * include/bits/slice_array.h: Ditto.
5613 * include/bits/std_algorithm.h: Likewise.
5614 * include/bits/std_bitset.h: Likewise.
5615 * include/bits/std_complex.h: Likewise.
5616 * include/bits/std_deque.h: Likewise.
5617 * include/bits/std_fstream.h: Likewise.
5618 * include/bits/std_functional.h: Likewise.
5619 * include/bits/std_iomanip.h: Likewise.
5620 * include/bits/std_ios.h: Likewise.
5621 * include/bits/std_iosfwd.h: Likewise.
5622 * include/bits/std_iostream.h: Likewise.
5623 * include/bits/std_istream.h: Likewise.
5624 * include/bits/std_iterator.h: Likewise.
5625 * include/bits/std_list.h: Likewise.
5626 * include/bits/std_locale.h: Likewise.
5627 * include/bits/std_map.h: Likewise.
5628 * include/bits/std_memory.h: Likewise.
5629 * include/bits/std_numeric.h: Likewise.
5630 * include/bits/std_ostream.h: Likewise.
5631 * include/bits/std_queue.h: Likewise.
5632 * include/bits/std_set.h: Likewise.
5633 * include/bits/std_sstream.h: Likewise.
5634 * include/bits/std_stack.h: Likewise.
5635 * include/bits/std_stdexcept.h: Likewise.
5636 * include/bits/std_streambuf.h: Likewise.
5637 * include/bits/std_string.h: Likewise.
5638 * include/bits/std_utility.h: Likewise.
5639 * include/bits/std_valarray.h: Likewise.
5640 * include/bits/std_vector.h: Likewise.
5641 * include/bits/stringfwd.h: Likewise.
5642 * include/bits/type_traits.h: Likewise.
5643 * include/bits/valarray_array.h: Likewise.
5644 * include/bits/valarray_meta.h: Likewise.
5646 2001-02-19 Andreas Jaeger <aj@suse.de>
5648 * config/cpu/sparc/sparc64/bits/atomicity.h (__compare_and_swap):
5651 2001-02-16 Greg Bumgardner <bumgard@roguewave.com>
5654 * include/bits/std_ostream.h: Replaced usage of
5655 _Traits::_S_eos() with _CharT() as per section 17.2.2.1.3.
5656 * include/bits/char_traits.h: Removed non-standard
5657 methods that cannot be used elsewhere.
5660 * include/bits/basic_ios.h: Uncommented #include of
5664 * include/bits/codecvt.h: See next...
5665 * include/bits/fstream.tcc: See next...
5666 * include/bits/ostream.tcc: Add __extension__
5667 to variable-length arrays.
5670 * include/bits/localefwd.h: Changed int counter type to size_t.
5673 * include/bits/std_fstream.h: Added typedef for __ctype_type.
5675 2001-02-16 Benjamin Kosnik <bkoz@redhat.com>
5677 * testsuite/21_strings/char_traits.cc: Move to ...
5678 * testsuite/21_strings/char_traits_requirements.cc: ..here.
5679 * testsuite/21_strings/char_traits-int_type.cc: Move to ...
5680 * testsuite/21_strings/char_traits_typedefs.cc: ..here.
5682 2001-02-16 Gabriel Dos Reis <gdr@codesourcery.com>
5684 * libmath/mathconf.h (FINITE_P, INFINITE_P): Remove macro
5687 2001-02-15 Benjamin Kosnik <bkoz@redhat.com>
5689 * include/bits/c++config: Revert.
5691 2001-02-15 Mark Mitchell <mark@codesourcery.com>
5693 * include/bits/istream.tcc: Use ios_base::iostate in place of
5694 iostate throughout. Insert `typename' keyword where necessary.
5695 * include/bits/ostream.tcc: Insert `typename' keyword where
5698 2001-02-15 Jeffrey Oldham <oldham@codesourcery.com>
5700 * include/bits/c++config (_GLIBCPP_FULLY_COMPLIANT_HEADERS):
5701 Define so library is compliant.
5703 2001-02-15 Anthony Green <green@redhat.com>
5705 * acinclude.m4 (glibcpp_toolexeclibdir): Fix test for cross
5707 * aclocal.m4: Regenerate.
5708 * configure: Regenerate.
5710 2001-02-15 Rodney Brown <RodneyBrown@mynd.com>
5712 * acinclude.m4 (GLIBCPP_CHECK_MATH_DECL_1):
5713 Include ieeefp.h for fpclass on UnixWare{2,7}.
5714 * aclocal.m4: Regenerate.
5715 * configure: Regenerate.
5716 * mkcheck.in (size_command): Do without GNU-grep when using
5719 2001-02-15 Mark Mitchell <mark@codesourcery.com>
5721 Remove old ABI support from libsupc++.
5722 * libsupc++/cxxabi.h: Remove conditionally compiled code.
5723 * libsupc++/exception_support.cc: Likewise.
5724 * libsupc++/pure.cc: Likewise.
5725 * libsupc++/tinfo.cc: Likewise.
5726 * libsupc++/tinfo.h: Likewise.
5727 * libsupc++/tinfo2.cc: Likewise.
5728 * libsupc++/typeinfo: Likewise.
5729 * libsupc++/vec.cc: Likewise.
5731 2001-02-15 Benjamin Kosnik <bkoz@redhat.com>
5733 Add support for -fno-exceptions.
5734 * include/bits/exception_support.h: Remove.
5735 * include/bits/basic_string.h: Remove exception_support.
5736 (string::_M_check): Replace __OUTOFRANGE with __throw_out_of_range.
5738 (string::substr): Same.
5739 * include/bits/basic_string.tcc (string::reserve): Replace
5740 __LENGTHERROR with __throw_length_error.
5741 (string::_S_create): Same.
5742 (string::resize): Same.
5743 (string::_M_replace): Same.
5744 (string::replace): Same.
5745 (string::copy): Replace __OUTOFRANGE with __throw_out_of_range.
5746 (string::compare): Same.
5747 * include/bits/stl_vector.h: Remove exception_support.
5748 * src/Makefile.am (base_headers): Remove here.
5749 * src/Makefile.in: Regenerate.
5751 * include/bits/stl_range_errors.h: Remove.
5752 * include/bits/stl_deque.h: Use __throw_range_error.
5753 * include/bits/std_deque.h: Include functexcept.h.
5754 * include/bits/std_vector.h: Same.
5755 * src/Makefile.am (base_headers): Remove here.
5756 * src/Makefile.in: Regenerate.
5757 * include/ext/stl_bvector.h (class __BVECTOR): Use __throw_range_error.
5758 * include/ext/bvector: Remove stl_range_errors.h
5760 * include/bits/c++config (_GLIBCPP_USE_EXCEPTIONS): Remove.
5762 * include/bits/functexcept.h: New file.
5763 * src/functexcept.cc: New file. Definitions for function-based
5765 * src/Makefile.am (sources): Add functexcept.cc.
5766 * src/Makefile.in: Regenerate.
5768 * include/bits/stl_config.h (__STL_USE_EXCEPTIONS): Wrap with
5771 * include/bits/localefwd.h: Include functexcept.h.
5772 * include/bits/std_iosfwd.h: Same.
5774 * include/bits/basic_ios.h: Use __throw_ios_failure instead of
5775 throw basic_ios::failure.
5776 * include/bits/fstream.tcc (filebuf::_M_allocate_buffers):
5777 Use __throw_exception_again.
5778 (filebuf::_M_filebuf_init): Same.
5779 * include/bits/streambuf.tcc (__copy_streambufs): Same.
5780 * include/bits/ostream.tcc (ostream::operator<<): Same.
5781 * include/bits/istream.tcc (istream::operator>>): Same.
5782 * include/bits/basic_string.tcc (string::_M_mutate): Same.
5783 (string::_S_construct): Same.
5784 (string::_M_clone): Same.
5785 * include/bits/locale_facets.tcc (use_facet(const locale&)): Use
5787 (num_put<_CharT, _OutIter>::do_put): Use __throw_exception_again.
5788 * src/localename.cc (locale::_Imp::_Imp(const _Impl&, size_t): Use
5789 __throw_exception_again.
5790 (locale::_Imp::_Imp(string, size_t): Same.
5791 (locale::_Imp::_M_replace_facet): Use __throw_runtime_error.
5792 * src/locale.cc (locale::_M_coalesce): Use __throw_exception_again.
5793 (locale::locale(const char*)): Use __throw_runtime_error.
5794 (locale::classic): Use __throw_exception_again.
5795 (locale::_S_normalize_category): Use __throw_runtime_error.
5797 * src/stdexcept.cc: Remove cruft.
5799 * libsupc++/exception_defines.h: New file.
5800 * libsupc++/new_opnt.cc: Include exception_defines.h.
5801 * libsupc++/vec.cc: Same.
5802 (__cxa_vec_new2): Use __throw_exception_again.
5803 (__cxa_vec_new3): Same.
5804 (__cxa_vec_ctor): Same.
5805 (__cxa_vec_delete3): Same.
5806 (__cxa_vec_cctor): Same.
5807 (__cxa_vec_delete2): Same.
5808 (__cxa_vec_dtor): Same.
5809 * libsupc++/exception_support.cc: Include exception_defines.h. Only
5810 compile exception-handling bits if __EXCEPTIONS is defined.
5811 Remove old ABI support.
5812 * libsupc++/new_op.cc (new): Include exception_defines.h. Use
5813 std::__throw_bad_alloc() instead of throw bad_alloc.
5814 * libsupc++/Makefile.am: Add exception_defines.h.
5815 * libsupc++/Makefile.in: Reformat.
5816 * libsupc++/*: Format.
5818 2001-02-15 Phil Edwards <pme@sources.redhat.com>
5820 * docs/html/configopts.html: Minor updates and typo fixes.
5821 * docs/html/faq/index.html: Updates of the "not really bugs" list.
5822 * docs/html/faq/index.txt: Regenerated.
5824 2001-02-15 Gabriel Dos Reis <gdr@codesourcery.com>
5826 * testsuite/lib/libstdc++.exp: Lift, temporarily, out of
5827 dejagnu/dg.exp. Adapt to log options used to run testcases.
5829 2001-02-13 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
5831 * testsuite/lib/libstdc++.exp(dg-test): Lift temporarily from
5834 2001-02-13 Dirk Mueller <dmuell@gmx.net>
5835 Phil Edwards <pme@sources.redhat.com>
5837 * include/backward/function.h: Do not use rel_ops for older
5839 * include/backward/pair.h: Likewise.
5841 2001-02-12 Mark Mitchell <mark@codesourcery.com>
5843 * src/locale.cc: Remove bogus locale::id definitions.
5845 2001-02-11 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
5847 * include/bits/std_valarray.h: #undef _DEFINE_LOGICAL_OPERATOR,
5848 not _DEFINE_VALARRAY_OPERATOR which is not existent.
5850 * include/bits/valarray_meta.h (_RefFunClos<>_RefRunClos): Fix
5851 thinko in member initialisation.
5853 2001-02-11 Gabriel Dos Reis <gdr@codesourcery.com>
5855 * include/bits/std_valarray.h(valarray<>::shift): Avoid
5856 comparaison between signed and unsigned integer types.
5857 (valarray<>::cshift): Reformat.
5859 2001-02-11 Alexandre Oliva <aoliva@redhat.com>
5861 * src/gen-num-limits.cc: Use sigsetjmp and siglongjmp if available.
5862 * mknumeric_limits: Compile it with -DHAVE_CONFIG_H.
5863 * configure.in: Test for sigsetjmp.
5864 * configure, config.h.in: Rebuilt.
5866 2001-02-11 Gabriel Dos Reis <gdr@codesourcery.com>
5868 * src/valarray-inst.cc (gslice::_Indexer::_Indexer): Don't flip
5869 lengths and strides.
5870 (__gslice_to_index): Document.
5872 2001-02-11 Gabriel Dos Reis <gdr@codesourcery.com>
5874 * include/bits/char_traits.h char_traits<char>::int_type: Change
5875 to `int' to match 21.1.3.1/2.
5877 * testsuite/21_strings/char_traits-int_type.C: New test.
5879 2001-02-10 Gabriel Dos Reis <gdr@codesourcery.com>
5881 * testsuite/Makefile.am: New file.
5883 2001-02-09 Nathan Sidwell <nathan@codesourcery.com>
5885 * include/c_shadow/bits/std_cstdlib.h (lldiv_t): Fix typo.
5887 2001-02-08 Loren J. Rittle <ljrittle@acm.org>
5889 * src/locale-inst.cc (fill_n): Instantiate with size_t arguments.
5891 2001-02-08 David Edelsohn <edelsohn@gnu.org>
5893 * configure.target (aix4*): Remove extra set of brackets.
5895 2001-02-07 Benjamin Kosnik <bkoz@redhat.com>
5898 * include/bits/stringfwd.h: New file.
5899 * include/bits/stl_string_fwd.h: Remove.
5900 * include/bits/localefwd.h: Remove declaration for allocator.
5901 * include/bits/std_iosfwd: Same.
5902 * include/bits/std_string.h: Include it.
5903 * include/bits/std_ios.h: Remove include.
5904 * include/bits/basic_string.h: Tweak.
5905 * libsupc++/new: Format.
5906 * src/Makefile.am (base_headers): Add stringfwd.h, remove
5908 * src/Makefile.in: Regenerate.
5909 * include/bits/std_stdexcept.h: Rewrite.
5910 * src/stdexcept.cc: Same.
5912 2001-02-06 Benjamin Kosnik <bkoz@redhat.com>
5914 * acinclude.m4 (GLIBCPP_EXPORT_INSTALL_INFO): Deal with library
5915 install locations too.
5916 * aclocal.m4: Regenerate.
5917 * configure.in: Remove USE_LIBDIR.
5918 * configure: Regenerate.
5919 * src/Makefile.am (toolexecdir): Simplify, use
5920 glibcpp_toolexecdir, glibcpp_toolexeclibdir.
5921 * src/Makefile.in: Regenerate.
5922 * libsupc++/Makefile.am: Same.
5923 * libsupc++/Makefile.in: Regenerate.
5925 * src/Makefile.am: Just remove special rules for locale-inst.cc and
5926 misc-inst.cc as no longer necessary.
5928 Follow C++STYLE for naming non-static functions.
5929 * include/bits/ostream.tcc (_S_pad_char): Not static, rename to
5931 * include/bits/streambuf.tcc: Same.
5932 * include/bits/ostream.tcc: Same.
5933 * include/bits/istream.tcc: Same.
5934 * include/bits/locale_facets.tcc (_S_pad_numeric): To __pad_numeric.
5935 (_S_output_float): To __output_float.
5936 * include/bits/std_streambuf.h (_S_copy_streambufs): To
5938 * include/bits/locale_facets.tcc (_S_build_float_format): To
5939 __build_float_format.
5940 (_S_format): To __output_integer.
5941 (_S_fill): To __pad.
5942 * src/locale.cc: Same.
5943 * src/misc-inst.cc: Fix formatting. Fix signature for wchar_t. Correct
5945 * include/bits/locale_facets.tcc (_S_group_digits): To
5947 * src/locale-inst.cc: Fixup names. Add use_facet instantiations
5948 for collate, numpunct.
5950 2001-02-06 Phil Edwards <pme@sources.redhat.com>
5952 * docs/html/configopts.html: Fix HTML markup.
5953 * docs/html/install.html: Bring up to date.
5954 * docs/html/17_intro/C++STYLE: Add global variable conventions.
5955 * docs/html/21_strings/howto.html: More notes.
5956 * docs/html/22_locale/howto.html: Fix HTML markup.
5957 * docs/html/27_io/howto.html: More notes.
5958 * docs/html/27_io/binary_iostreams_kanze.txt: New file.
5959 * docs/html/27_io/binary_iostreams_kuehl.txt: New file.
5961 2001-02-06 Jeffrey Oldham <oldham@codesourcery.com>
5963 * src/misc-inst.cc (_S_pad_char): Modify declaration's parameters
5964 to match header files.
5965 (_S_output_float): Likewise.
5966 (_S_copy_streambufs): Likewise.
5968 2001-02-06 Hyman Rosen <Hyman.Rosen@kbcfp.com>
5969 Phil Edwards <pme@sources.redhat.com>
5971 * include/bits/std_istream.h (op>> signed,unsigned char): Must
5972 use reinterpret_cast, not static_cast.
5974 2001-02-06 Benjamin Kosnik <bkoz@redhat.com>
5976 * acinclude.m4 (gxx_include_dir): Quote, fix regression.
5977 * aclocal.m4: Regenerate.
5978 * configure: Regenerate.
5980 2001-02-05 Benjamin Kosnik <bkoz@redhat.com>
5982 * include/bits/locale_facets.h (class moneypunct): Fix typos.
5983 * libsupc++/pure.cc: Revert.
5985 2001-02-05 Benjamin Kosnik <bkoz@redhat.com>
5987 * acinclude.m4 (GLIBCPP_CHECK_MATH_DECL_1): New macro.
5988 (GLIBCPP_CHECK_MATH_DECL_2): New macro.
5989 (GLIBCPP_CHECK_MATH_DECL_3): New macro.
5990 (GLIBCPP_CHECK_MATH_DECL_AND_LINKAGE_1): Use it, check for _* too.
5991 (GLIBCPP_CHECK_MATH_DECL_AND_LINKAGE_2): Same.
5992 (GLIBCPP_CHECK_MATH_DECL_AND_LINKAGE_3): Same.
5993 (GLIBCPP_CHECK_MATH_SUPPORT): Remove explicit checks for _* versions.
5994 * aclocal.m4: Regenerate.
5995 * configure: Regenerate.
5997 2001-02-05 Mark Mitchell <mark@codesourcery.com>
5999 * include/bits/locale_facets.tcc: Remove `static' keyword on
6000 function definitions.
6001 * include/bits/std_streambuf.h: Likewise.
6002 * src/Makefile.am: Remove use of -fimplicit-templates.
6003 * src/Makefile.in: Regenerated.
6004 * src/locale-inst.cc: Explicitly instantiate more functions.
6005 * src/misc-inst.cc: Likewise.
6006 * src/string-inst.cc: Likewise.
6008 2001-02-05 Benjamin Kosnik <bkoz@redhat.com>
6010 * acinclude.m4 (GLIBCPP_EXPORT_INSTALL_INFO): New
6011 macro. Consolidate all the bits to do with where includes might be
6013 * aclocal.m4: Regenerate.
6014 * configure.in: Use it.
6015 * configure: Regenerate.
6016 * src/Makefile.am (targetincludep): Use simplified rules.
6017 (targetincludep): Rename gxx_target_include_dir.
6018 (myincludep): Rename gxx_include_dir.
6019 * src/Makefile.in: Regenerate.
6020 * libsupc++/Makefile.am: Use simplified rules.
6021 * libsupc++/Makefile.in: Regenerate.
6023 2001-02-05 Benjamin Kosnik <bkoz@redhat.com>
6025 * include/c_std/bits/std_cerrno.h: Correct date format for copyright.
6026 * include/c_std/bits/std_cctype.h: Same.
6027 * include/c_std/bits/std_cassert.h: Same.
6028 * include/c_std/bits/std_cstdarg.h: Same.
6029 * include/c_std/bits/std_cstddef.h: Same.
6031 * include/c_std/bits/std_cstdio.h: Undefine all names brought into
6033 * include/c_std/bits/std_ctime.h: Same.
6034 * include/c_std/bits/std_clocale.h: Same.
6035 * include/c_std/bits/std_cmath.h: Same.
6036 * include/c_std/bits/std_csetjmp.h: Same.
6037 * include/c_std/bits/std_csignal.h: Same.
6038 * include/c_std/bits/std_cstring.h: Same.
6039 * include/c_std/bits/std_cstdlib.h: Same.
6040 * include/c_std/bits/std_cwchar.h: Same.
6042 2001-02-05 Phil Edwards <pme@sources.redhat.com>
6044 * testsuite/27_io/ios_base_members_static.cc: Swap order of tests.
6046 2001-02-05 Mark Mitchell <mark@codesourcery.com>
6048 * src/string-inst.cc (string::_M_replace): Explicitly instantiate.
6049 (string::_S_construct): Likewise.
6051 2001-02-05 Gabriel Dos Reis <gdr@codesourcery.com>
6053 * testsuite/config/default.exp: New file.
6054 * testsuite/config: New directory.
6056 2001-02-04 Mark Mitchell <mark@codesourcery.com>
6058 * libsupc++/typeinfo (__GXX_MERGED_TYPEINFO_NAMES): New macro.
6059 * libsupc++/tinfo.cc (std::typeinfo::operator==): Use strcmp
6060 whenever !__GXX_MERGED_TYPEINFO_NAMES.
6061 * libsupc++/tinfo2.cc (std::typeinfo::before): Likewise.
6063 2001-02-03 Alexandre Oliva <aoliva@redhat.com>
6064 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
6066 * Makefile.am (mkinstalldirs): Set.
6067 * src/Makefile.am (mkinstalldirs): Set.
6068 * libmath/Makefile.am (mkinstalldirs): Set.
6069 * libsup++/Makefile.am (mkinstalldirs): Set.
6070 * libio/Makefile.am (mkinstalldirs): Set.
6071 * */Makefile.in: Regenerate.
6073 2001-02-03 Benjamin Kosnik <bkoz@redhat.com>
6075 * include/bits/stl_threads.h (struct _STL_mutex_lock): Same.
6076 * include/bits/localefwd.h: More initialization cleanups.
6078 2001-02-03 Jeffrey A Law <law@cygnus.com>
6080 * include/bits/ios_base.h (_S_ios_fmtflags_end): Initialize
6081 correctly targets with 16bit ints.
6082 (_S_ios_openmode_end): Similarly.
6083 (_S_ios_iostate_end): Similarly.
6084 (_S_ios_Seekdir_end): Similarly.
6086 2001-02-02 Phil Edwards <pme@sources.redhat.com>
6088 * mkcheck.in: Also limit virtual memory size, for mmap-based mallocs.
6090 2001-02-01 Alexandre Oliva <aoliva@redhat.com>
6092 * configure.in (toplevel_srcdir, auxdir): Set.
6093 * acinclude.m4 (glibcpp_basedir): Set based on auxdir.
6094 * aclocal.m4, configure, Makefile.in: Rebuilt.
6095 * libio/Makefile.in, math/Makefile.in, src/Makefile.in: Likewise.
6096 * libsupc++-v3/Makefile.am (INCLUDES): Use toplevel_srcdir.
6097 * libsupc++-v3/Makefile.in: Rebuilt.
6098 * libsupc++-v3/configure.in, libsupc++-v3/configure: Removed.
6099 * libsupc++-v3/aclocal.m4, libsupc++-v3/config.h.in: Likewise.
6101 2001-01-30 Benjamin Kosnik <bkoz@redhat.com>
6103 * config/c_locale_generic.cc: Remove langinfo include.
6105 2001-01-29 Benjamin Kosnik <bkoz@redhat.com>
6107 Preliminary named locales.
6108 * acinclude.m4 (GLIBCPP_ENABLE_CLOCALE): New macro.
6109 * aclocal.m4: Regenerate.
6110 * configure.in: Use it.
6111 * configure: Regerate.
6112 * src/Makefile.am (sources): Add c++locale.cc.
6113 (build_headers): Add c++locale.h.
6114 * src/Makefile.in: Regenerate.
6115 * config/c_locale_gnu.h: New file.
6116 * config/c_locale_gnu.cc: New file. Non-inline member functions
6117 for named locales, gnu-specific.
6118 * config/c_locale_generic.h: New file.
6119 * config/c_locale_generic.cc: New file. Non-inline member
6120 functions for named locales, generic version.
6121 * docs/html/configopts.html: Add documentation on new options.
6123 * include/bits/locale_facets.h (class _Messages): Remove.
6124 (class _Moneypunct): Remove.
6125 * src/locale-inst.cc: Remove.
6127 * include/bits/locale_facets.h (class _Collate): Remove.
6128 * src/locale-inst.cc (std): Remove.
6129 * src/locale.cc: And here.
6131 * include/bits/localefwd.h (locale::_M_coalesce): New
6132 function. Correctly put together multi-name locales.
6133 (_Impl(const _Impl&, category, size_t)): Remove.
6135 * include/bits/localefwd.h (locale::_Impl): Remove _M_construct_*
6137 (_M_normalize_category_names): Remove.
6138 (_M_replace_categories): Fix.
6140 * src/localename.cc (locale::_Impl::_M_construct_collate): Remove.
6141 (locale::_Impl::_M_construct_ctype): Remove.
6142 (locale::_Impl::_M_construct_monetary): Remove.
6143 (locale::_Impl::_M_construct_numeric): Remove.
6144 (locale::_Impl::_M_construct_time): Remove.
6145 (locale::_Impl::_M_construct_messages): Remove.
6147 * include/bits/locale_facets.h (_Bad_use_facet): Remove.
6148 (_Use_facet_failure_handle): Remove.
6149 * src/locale.cc: Remove definitions.
6150 * src/locale-inst.cc: And here.
6152 * testsuite/22_locale/ctor_copy_dtor.cc (test01): Fixup. Add tests.
6154 * src/localename.cc (locale::facet::_S_create_c_locale): Properly
6155 create and error-check underlying locale object.
6156 (locale::facet::_S_destroy_c_locale): Add, take care of properly
6157 tearing down underlying locale object.
6158 * include/bits/localefwd.h (locale::facet): Declare.
6159 * testsuite/22_locale/members.cc: Don't test "fr_FR" locale for
6160 correctness, as glibc apparently has incorrect info in it. Test
6161 with it when it works again.....
6163 * include/bits/localefwd.h (locale::_Impl::__vec_string):
6164 Remove. Number of categories is fixed at six, so just simplify and
6165 make this an array of strings.
6166 (locale::_Impl::_M_has_name): Remove.
6167 (locale::_Impl::_M_name): Remove.
6168 (locale::_Impl::_M_category_names): Turns into...
6169 (locale::_Impl::_M_names): ...this.
6170 (locale::_Impl::_M_has_same_name()): New function.
6171 * src/localename.cc (locale::_Impl::~_Impl()): Remove here.
6172 (locale::_Impl::_Impl(size_t __refs, string __str)): Simplify
6174 * src/locale.cc (locale::name()): Construct mangled name
6175 accurately reflecting combined locale categories.
6177 * src/locale.cc (locale::classic()): Don't initialize here.
6178 * src/localename.cc (locale::_Impl::_Impl(size_t __num, size_t
6179 __refs, bool __has_name, string __str): Do it here.
6181 * include/bits/localefwd.h: _S_categories_num to
6182 _S_num_categories. _S_facets_num to _S_num_facets.
6183 (locale::id::id()): Explicitly set _M_index to zero.
6184 * src/locale.cc: Same.
6186 * src/locale.cc: (locale::locale(const char*)): Construct named
6189 * src/locale.cc: Remove numpunct_byname ctors.
6190 * testsuite/22_locale/numpunct_byname.cc: New file.
6191 * testsuite/22_locale/numpunct.cc: New file.
6193 * include/bits/localefwd.h (class locale): Change data members to
6194 protected, from private.
6195 (_Impl::_M_get_c_locale): Add member function.
6196 (locale::facet::_M_get_global_impl()): Add member function.
6197 * include/bits/locale_facets.h (numpunct::_M_init): Change to take
6198 a __c_locale pointer.
6199 (numpunct::numpunct( __c_locale*, size_t)): Add additonal ctor for
6201 * testsuite/22_locale/members.cc: New file, test name and combine.
6203 * include/bits/locale_facets.h (class numpunct): Remove class
6204 _Punct and _Numpunct. Rewrite class numpunct to be correct for
6206 * include/bits/localefwd.h (locale::_Imp::_M_c_locale): Add.
6207 * src/localename.cc (_Impl::~_Impl()): Call __frelocale.
6208 (_Imp::_Impl(size_t, size_t, bool, string)) Initialize _M_c_locale.
6209 * src/locale-inst.cc: Remove _Numpunct, _Punct instantiations.
6210 * testsuite/22_locale/numpunct_char_members.cc: New file.
6212 2001-01-28 Gabriel Dos Reis <gdr@codesourcery.com>
6214 * testsuite/README: Add more comment.
6215 * testsuite/lib/libstdc++.exp: Tweak comment.
6217 2001-01-26 Benjamin Kosnik <bkoz@kredhat.com>
6219 * libsupc++/pure.cc (writestr): Just use cstdio and std::fputs.
6221 2001-01-25 Loren J. Rittle <ljrittle@acm.org>
6223 * testsuite/21_strings/inserters_extractors.cc: Remove
6224 explicit reference to 'testsuite/'.
6226 2001-01-25 Richard Henderson <rth@redhat.com>
6228 * config/cpu/alpha/bits/atomicity.h: Remove tricky .subsetion
6229 bits. Fixes Tru64 build issues.
6231 2001-01-25 Michael Sokolov <msokolov@ivan.Harhan.ORG>
6233 * acinclude.m4 (GLIBCPP_CHECK_GNU_MAKE): Bourne shell portability bug
6234 (use ${MAKE-make}, not ${MAKE:-make}).
6235 * aclocal.m4, configure: Regenerate.
6237 2001-01-25 Mark Mitchell <mark@codesourcery.com>
6239 * src/ios.cc: Remove accidental inclusion of <stdio.h> in last
6242 * src/Makefile.am (sources): Add globals.cc.
6243 * src/Makefile.in: Regenerated.
6244 * src/globals.cc: New file.
6245 * src/ios.cc (cin): Don't define here, just declare extern.
6254 2001-01-25 Phil Edwards <pme@sources.redhat.com>
6256 * include/bits/std_iterator.h: Do not include stl_relops.h.
6257 * include/bits/std_numeric.h: Ditto.
6258 * include/bits/stl_algobase.h: Ditto.
6259 * include/bits/stl_relops.h: Add comment warning about problems.
6261 2001-01-25 Gabriel Dos Reis <gdr@codesourcery.com>
6263 * testsuite/27_io/*.cc: Remove explicit reference to 'testsuite/'
6264 in testcases. Prepare for the DejaGnu based framework.
6265 * mkcheck.in: Adjust call to tests_flags. Don't mmkdir testsuite
6266 directory -- it is now mkcheck working directory.
6267 * tests_flags.in: Remove reference to $(top_srcdir). Use
6269 * Makefile.am (check, check-install): Change mkcheck invocation
6271 * Makefile.in: Regenerate.
6273 2001-01-24 Mark Mitchell <mark@codesourcery.com>
6275 * config/os/aix/bits/atomicity.h (__compare_and_swap): Remove.
6276 (__always_swap): Likewise.
6278 2001-01-23 Chris Demetriou <cgd@broadcom.com>
6280 * libsupc++/exception_support.cc (__terminate_func): Remove
6282 (__terminate_func_ptr): New typedef.
6283 (__terminate, __terminate_set_func): New extern function
6285 (std::terminate): Use __terminate function.
6286 (std::set_terminate): Use __terminate_set_func function.
6288 2001-01-23 Benjamin Kosnik <bkoz@redhat.com>
6290 * configure.target: Just use os_include_dir always.
6291 * configure.in: Remove calls to GLIBCPP_CHECK_CTYPE_SUPPORT.
6292 Link atomicity files and ctype files here.
6293 * configure: Regenerate.
6294 * acinclude.m4 (GLIBCPP_CHECK_CTYPE_SUPPORT): Remove.
6295 (GLIBCPP_ENABLE_ATOMICITY): Remove.
6296 * aclocal.m4: Regenerate.
6298 2001-01-23 Chris Demetriou <cgd@broadcom.com>
6300 * configure.in: Place definition of MULTISUBDIR in
6301 libsupc++/Makefile as is done for src/Makefile.
6302 * configure: Regenerate.
6304 2001-01-23 Phil Edwards <pme@sources.redhat.com>
6306 * acinclude.m4: Cosmetic changes only.
6307 * aclocal.m4: Regenerated.
6308 * configure: Regenerated.
6309 * configure.target: Update documented list of changed variables.
6310 * docs/html/install.html: Fix typo.
6311 * docs/html/20_util/howto.html: More notes on auto_ptr.
6312 * docs/html/27_io/howto.html: More notes on streabufs.
6313 * docs/html/faq/index.html: Add rel_ops problem and mention the
6314 DEC as(1) .subsection difficulty.
6315 * docs/html/faq/index.txt: Regenerated.
6317 2001-01-23 Mark Mitchell <mark@codesourcery.com>
6319 * ainclude.m4 (GLIBCPP_CHEC_MATH_DECLS_AND_LINKAGE_1): New macro.
6320 (GLIBCPP_CHECK_MATH_SUPPORT): Use it.
6321 (GLIBCPP_CHECK_TYPE_SUPPORT): Don't autoconf ctype information if
6322 its already provided in config.target.
6323 * aclocal.m4: Regenerated.
6324 * configure: Likewise.
6325 * configure.target: Set ctype_include_dir for lots of systems.
6326 * libsupc++/Makefile.am: Explicitly include --tag disable-shared.
6327 * libsupc++/Makefile.in: Regenerated.
6329 2001-01-23 Gabriel Dos Reis <gdr@codesourcery.com>
6331 * testsuite/lib/libstdc++.exp: Improve. Add support for @xxx#
6334 * testsuite/README: Add comment.
6336 2001-01-21 Phil Edwards <pme@sources.redhat.com>
6338 * docs/html/configopts.html: Update for current status. Fix HTML.
6339 * docs/html/install.html: Update for current status.
6341 2001-01-20 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
6343 * testsuite/libstdc++.tests/tests.exp: New file.
6344 * testsuite/lib/libstdc++.exp: Itou.
6345 * testsuite/README: Itou.
6347 2001-01-20 Gabriel Dos Reis <gdr@codesourcery.com>
6349 * tests_flags.in: Just output the bare minimum to run tests.
6350 Let's the caller do its own arrangement.
6352 * mkcheck.in: Rename INC_PATH to INCLUDES. Adjust flags
6355 2001-01-19 Gabriel Dos Reis <gdr@codesourcery.com>
6357 * testsuite/17_intro: Prepare testcases for new style DejaGnu
6360 2001-01-18 Gabriel Dos Reis <gdr@codesourcery.com>
6362 * testsuite/libstdc++.tests, testsuite/lib: New directories.
6364 2001-01-17 Loren J. Rittle <ljrittle@acm.org>
6366 * mkcheck.in: Construct file names that match $objdir structure.
6367 * testsuite/27_io/filebuf_members-1.txt: New file.
6368 * testsuite/27_io/ifstream_members-1.txt: New file.
6369 * testsuite/27_io/ostream_inserter_char-1.txt: New file.
6371 * testsuite/27_io/ios_base_members_static.cc (test02): Add test.
6372 * testsuite/27_io/ios_base_members_static-1.tst: Add expected output.
6374 2001-01-17 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
6376 * testsuite/27_io/istream_sentry.cc (test02): Fix.
6378 2001-01-17 Benjamin Kosnik <bkoz@redhat.com>
6381 * include/bits/ios_base.h (ios_base::failure): Tighten up throw specs.
6382 * src/ios.cc (ios_base::failure): Make definitions match.
6383 * libsupc++/typeinfo (class bad_typeid): Add throw specs.
6384 (class bad_cast): Same.
6385 * libsupc++/exception (class exception): Add throw specs.
6386 * libsupc++/exception_support.cc (set_terminate): Add throw specs.
6387 (set_unexpected): Same.
6388 (uncaught_exception): Same.
6391 * docs/html/17_intro/C++STYLE (classname): Fix.
6393 2001-01-16 Mark Mitchell <mark@codesourcery.com>
6395 * src/gen-num-limits.cc (INSTANTIATIONS): New macro.
6396 Use it do explicitly instantiate predicate<T> and value<T> for
6399 2001-01-16 Nathan Sidwell <nathan@codesourcery.com>
6401 * libsupc++/exception_support.cc (__cp_pop_exception): Fix
6402 uninitialized thinko in last change.
6404 2001-01-16 Mark Mitchell <mark@codesourcery.com>
6406 * libsupc++/exception_support.cc (__cp_pop_exception): Change
6409 2001-01-16 Benjamin Kosnik <bkoz@redhat.com>
6411 * docs/html/17_intro/C++STYLE (classname): Add more existing
6412 and stylish patterns.
6415 * include/bits/istream.tcc (istream::sentry::sentry()): Set
6416 failbit if the state of the stream is not good.
6417 * testsuite/27_io/istream_sentry.cc (test02): Add test.
6418 * testsuite/27_io/istream_manip.cc (test01): Modify.
6421 reported by Paolo Carlini <pcarlini@unitus.it>
6422 * include/bits/istream.tcc (operator>>(istream&, string&)): Fix.
6423 * testsuite/21_strings/inserters_extractors.cc (test08): Add test.
6426 * include/bits/std_streambuf.h (setp): Set _M_buf_size correctly.
6427 * include/bits/streambuf.tcc (xsputn): Remove outside if clause.
6428 (xsgetn): Same. Simplify.
6429 * testsuite/27_io/streambuf.cc (test04): Add testcases.
6431 reported by Larry Evans <jcampbell3@prodigy.net>
6432 * include/bits/streambuf.tcc (streambuf::xsputn): Just check for
6433 equality with eof on returned value from overflow.
6435 2001-01-14 Andreas Jaeger <aj@suse.de>
6437 * libio/libio.h: Add test for glibc 2.0.
6439 2001-01-12 Benjamin Kosnik <bkoz@redhat.com>
6441 * config/os/djgpp/bits/*: Fix dates.
6443 * include/bits/basic_string.h (_S_find(const _CharT* __beg, const
6444 _CharT* __end, _CharT __c): Remove.
6445 * include/bits/basic_string.tcc: Substitute traits::find for _S_find.
6446 * include/bits/char_traits.h: Tweak.
6448 2001-01-12 Laurynas Biveinis <lauras@softhome.net>
6450 * acinclude.m4 (GLIBCPP_CHECK_CTYPE_SUPPORT): check for DJGPP <ctype.h>
6451 (LIB_AC_PROG_CXX): replace [/\\] with [\\/] to work around older
6453 * aclocal.m4: regenerated.
6454 * configure.target: set os_include_dir to config/os/djgpp under DJGPP.
6455 * configure: regenerated.
6456 * config/os/djgpp, config/os/djgpp/bits: new directories.
6457 * config/os/djgpp/bits/ctype_base.h,
6458 config/os/djgpp/bits/ctype_inline.h,
6459 config/os/djgpp/bits/ctype_noninline.h,
6460 config/os/djgpp/bits/os_defines.h: new files.
6462 2001-01-11 Joseph S. Myers <jsm28@cam.ac.uk>
6464 * include/c_std/bits/std_cstdio.h: Undef printf.
6466 2001-01-10 Benjamin Kosnik <bkoz@redhat.com>
6468 * src/ios.cc: Fix typo: change cout->wcout.
6470 * src/Makefile.am (targetincludep): Fix for version-specific-libs.
6471 * src/Makefile.in: Regenerate.
6473 2001-01-10 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
6475 * include/bits/std_complex.h: Fix a typo.
6477 2001-01-09 Benjamin Kosnik <bkoz@redhat.com>
6480 Fixes for libstdc++/1576
6481 * src/stdstreams.cc: Initialize with NULL filebuf. Delete
6482 file, move contents into....
6483 * src/ios.cc: ...Here. Put defines for iostreams objects and
6484 initialization routines into one file to simplify DSO interaction.
6485 * include/bits/std_iostream.h: Touch.
6486 * include/bits/ios_base.h (_S_synched_with_stdio): Make static.
6487 * src/Makefile.am (sources): Remove stdstreams.cc.
6488 * src/Makefile.in: Regenerate.
6490 2001-01-10 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
6492 * tests_flags.in (check_directory): Fix typo.
6494 2001-01-09 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
6496 * include/bits/std_complex.h: Fix a typo.
6498 2001-01-09 Loren J. Rittle <ljrittle@acm.org>
6500 * config/os/bsd/freebsd/bits/ctype_inline.h (is): (Make right
6501 code path:) Remove magic constants and restructure to handle
6502 ctype.h bit mask layout changes more gracefully. (Make fast
6503 code path:) Use __maskrune (), if available.
6504 (is): Remove special case for digit and xdigit masks.
6506 2001-01-09 Robert Lipe <robertlipe@usa.net>
6508 * include/c_std/bits/std_ctime.h: Undefine difftime.
6510 2001-01-09 Alexandre Oliva <aoliva@redhat.com>
6512 * src/gen-num-limits.cc (signal_adapter): New template function.
6513 (signal_handler): Use it, instead of signal.
6514 (traps<T>): Likewise. Install SIGTRAP handler too. Don't
6515 require both tests to trap to set trap_flag.
6517 2001-01-08 Benjamin Kosnik <bkoz@redhat.com>
6519 * include/bits/fpos.h (fpos:::fpos(streamoff __pos)): Explicitly
6520 initialize mbstate_t member, name offset data members *off, not pos.
6521 * include/bits/fstream.tcc (filebuf::filebuf): Same.
6523 2001-01-08 Benjamin Kosnik <bkoz@redhat.com>
6525 reported by Chris G. Demetriou <cgd@sibyte.com>
6526 * configure.in: Change -linux-* to -linux*.
6527 * configure: Regenerate.
6529 2001-01-05 Benjamin Kosnik <bkoz@redhat.com>
6531 Fix 27_io/filebuf_members.cc
6532 * src/localename.cc (locale::_Impl::_Impl(const _Impl& __imp,
6533 const string& __name, category __cat, size_t __refs): Set
6534 _M_has_name with _M_name.
6535 * include/bits/localefwd.h (locale::operator!=): Protect member
6536 function call with this->.
6537 * src/locale.cc (locale::operator==): Make fast checks first.
6538 * include/bits/basic_ios.tcc (basic_ios::init): Simplify.
6540 * include/bits/ios_base.h (_M_synced_with_stdio): Add data member
6542 * src/ios.cc (ios_base::Init::Init): Initialize here.
6543 (ios_base::sync_with_stdio): Set here.
6545 2001-01-04 Loren J. Rittle <ljrittle@acm.org>
6547 * config/c_io_stdio.cc (__basic_file<_CharT>::sys_open()): On
6548 systems that support it, call dup() before fdopen().
6550 2001-01-03 Benjamin Kosnik <bkoz@redhat.com>
6552 * include/c_std/bits/std_cwctype.h: Include std_cwchar.h for wint_t.
6553 * testsuite/17_intro/header_cwctype.cc (main): New file.
6555 * src/Makefile.am (base_headers): Change.
6556 * include/bits/std_string.h: And here.
6557 * include/bits/string.tcc: Tweaks, move to...
6558 * include/bits/basic_string.tcc: ...Here.
6559 * src/string-inst.cc: Simplify, just instantiate the whole class,
6560 not member-by-member.
6562 2001-01-02 Benjamin Kosnik <bkoz@redhat.com>
6564 * acinclude.m4 (GLIBCPP_ENABLD_CSTDIO): Add in default value.
6565 * aclocal.m4: Regenerate.
6566 * configure: Regenerate.
6568 * include/bits/c++config (__GLIBCPP__): Bump version number.
6570 * ChangeLog: Start new log for year 2001
6571 * ChangeLog-2000: New file.
6573 * docs/html/configopts.html: Make sure default values are current,
6576 2001-01-01 Benjamin Kosnik <bkoz@fillmore.redhat.com>
6578 * include/c_std/bits/std_cwchar.h: Same.
6579 * testsuite/17_intro/header_cwchar.cc: Same.
6580 * include/c_std/bits/std_ctime.h: Same.
6581 * testsuite/17_intro/header_ctime.cc: Same.
6582 * include/c_std/bits/std_cstdlib.h: Same.
6583 Clean up undefs, make consistent with cwchar and cmath, etc.
6584 * testsuite/17_intro/header_cstdlib.cc: Same.
6585 * include/c_std/bits/std_cstdio.h: Same here.
6586 * testsuite/17_intro/header_cstring.cc: Same.
6587 * include/c_std/bits/std_cstring.h: Include std_cstddef.h for size_t.
6588 * testsuite/17_intro/header_cstring.cc: New file. Check for
6589 size_t in namespace std.
6591 * include/c_std/bits/std_cwchar.h: Explicit checks for mbstate_t.
6592 * acconfig.h (HAVE_MBSTATE_T): Add.
6593 * config.h.in: Regenerate.
6594 * acinclude.m4(GLIBCPP_CHECK_WCHAR_T_SUPPORT): Always test for
6596 * aclocal.m4: Regenerate.
6597 * configure: Regenerate.
6598 * testsuite/17_intro/headers_c++.cc: New file.
6599 * testsuite/17_intro/headers_c.cc: Small changes.
6601 2001-01-01 David Billinghurst <David.Billinghurst@riotinto.com>
6603 * tests_flags.in: Fix typo in usage.
6605 * tests_flags.in: Set target specific LIBS for cygwin.