1 2002-01-17 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
3 * include/std/std_limits.h (__glibcpp_float_has_quiet_NaN,
4 __glibcpp_double_has_quiet_NaN): Correct mispelling.
6 2002-01-17 Andreas Tobler <toa@pop.agri.ch>
8 * config/os/solaris/solaris2.6/bits/ctype_noninline.h: Fix.
10 2002-01-16 David Edelsohn <dje@watson.ibm.com>
12 * acinclude.m4 (GLIBCPP_CHECK_LINKER_FEATURES): Do not clear
13 SECTION_LDFLAGS and OPT_LDFLAGS. Fix ac_sectionLDflags type.
14 * aclocal.m4: Regenerate.
15 * configure: Regenerate.
17 2002-01-16 Benjamin Kosnik <bkoz@redhat.com>
19 * include/Makefile.am (c_base_headers_rename): New.
20 (c_base_headers_extra): New.
21 (stamp-c_base): Modify.
22 (install-data-local): Use both.
23 * include/Makefile.in: Regenerate.
24 * include/c/[cctype ciso646 cmath cstdarg cstdlib cerrno climits
25 csetjmp cstddef cstring cwchar cassert cfloat clocale csignal
26 cstdio ctime cwctype]: Move to..
27 * include/c/std_*: Here.
28 * include/c_std/[cctype ciso646 cmath cstdarg cstdlib cerrno climits
29 csetjmp cstddef cstring cwchar cassert cfloat clocale csignal
30 cstdio ctime cwctype]: Move to..
31 * include/c_std/std_*: Here.
33 Alexandre Oliva <aoliva@redhat.com>
34 * include/Makefile.am (.PRECIOUS): Add rule.
35 * include/Makefile.in: Regenerate.
37 2002-01-16 Benjamin Kosnik <bkoz@redhat.com>
38 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
40 * include/bits/stl_iterator.h (reverse_iterator::_M_current):
41 Deuglify, should be current.
42 (back_insert_iterator::_M_container): Deuglify, should be container.
43 (front_insert_iterator::_M_container): Same.
44 (insert_iterator::_M_container): Same.
45 * testsuite/24_iterators/reverse_iterator.cc: Add check.
46 * testsuite/24_iterators/back_insert_iterator.cc: Add check.
47 * testsuite/24_iterators/front_insert_iterator.cc: Same.
48 * testsuite/24_iterators/insert_iterator.cc: Same.
50 2002-01-16 Benjamin Kosnik <bkoz@redhat.com>
52 * include/bits/locale_facets.h (ctype<char>::classic_table): Make
54 (ctype<char>::_M_ctable): Make static, change name to _S_ctable.
55 * config/os/gnu-linux/bits/ctype_noninline.h: Define _S_ctable.
56 * config/os/solaris/solaris2.7/bits/ctype_noninline.h: Same.
57 * config/os/solaris/solaris2.6/bits/ctype_noninline.h: Same.
58 * config/os/solaris/solaris2.5/bits/ctype_noninline.h: Same.
59 * config/os/newlib/bits/ctype_noninline.h: Same.
60 * config/os/irix/irix6.5/bits/ctype_noninline.h: Same.
61 * config/os/irix/irix5.2/bits/ctype_noninline.h: Same.
62 * config/os/hpux/bits/ctype_noninline.h: Same.
63 * config/os/djgpp/bits/ctype_noninline.h: Same.
64 * config/os/bsd/netbsd/bits/ctype_noninline.h: Same.
65 * config/os/bsd/freebsd/bits/ctype_noninline.h: Same.
66 * config/os/aix/bits/ctype_noninline.h: Same.
68 Testcase by Dietmar Kühl via Peter Schmid
69 * testsuite/22_locale/ctype_members_char.cc (char>): Add test for
72 2002-01-16 Benjamin Kosnik <bkoz@redhat.com>
74 * libmath/signbitl.c: Copyright years as list, not range.
75 * libmath/Makefile.am: Same.
76 * libmath/Makefie.in: Regenerate.
77 * libmath/signbit.c: Same.
78 * libmath/nan.c: Same.
79 * libmath/copysignf.c: Same.
80 * libmath/signbitf.c: Same.
81 * testsuite/22_locale/money_get_members_char.cc: Same.
82 * testsuite/22_locale/money_get_members_wchar_t.cc: Same.
83 * testsuite/22_locale/money_put_members_char.cc: Same.
84 * testsuite/22_locale/money_put_members_wchar_t.cc: Same.
85 * testsuite/22_locale/time_get_members_char.cc: Same.
86 * testsuite/22_locale/time_get_members_wchar_t.cc: Same.
87 * testsuite/22_locale/time_put_members_char.cc: Same.
88 * testsuite/22_locale/time_put_members_wchar_t.cc: Same.
89 * testsuite/21_strings/nonmember.cc: Same.
90 * testsuite/21_strings/compare.cc: Same.
91 * testsuite/27_io/stringstream.cc: Same.
92 * testsuite/27_io/stringbuf.cc: Same.
93 * testsuite/27_io/filebuf.cc: Same.
94 * testsuite/27_io/ios_manip_basefield.cc: Same.
95 * testsuite/27_io/ios_manip_fmtflags.cc: Same.
96 * include/bits/cpp_type_traits.h: Same.
97 * include/bits/generic_shadow.h: Same.
98 * include/bits/gslice_array.h: Same.
99 * include/bits/gslice.h: Same.
100 * include/bits/indirect_array.h: Same.
101 * include/bits/slice_array.h: Same.
102 * include/bits/sstream.tcc: Same.
103 * include/bits/streambuf_iterator.h: Same.
104 * include/bits/valarray_array.tcc: Same.
105 * include/bits/valarray_meta.h: Same.
106 * include/bits/valarray_array.h: Same.
107 * config/os/mingw32/bits/ctype_noninline.h: Same.
108 * config/os/mingw32/bits/ctype_base.h: Same.
109 * config/os/hpux/bits/ctype_noninline.h: Same.
110 * config/os/hpux/bits/ctype_base.h: Same.
111 * config/os/gnu-linux/bits/ctype_noninline.h: Same.
112 * config/os/gnu-linux/bits/ctype_base.h: Same.
113 * config/os/generic/bits/ctype_noninline.h: Same.
114 * config/os/generic/bits/ctype_base.h: Same.
116 * libsupc++/tinfo.h: Tweaks.
118 2002-01-15 Benjamin Kosnik <bkoz@redhat.com>
120 * testsuite/22_locale/num_put_members_wchar_t.cc (test02): Same.
121 * testsuite/22_locale/num_put_members_char.cc (test01): Tweak.
122 * testsuite/22_locale/ctype_members_char.cc: Tweak.
124 2002-01-15 Benjamin Kosnik <bkoz@redhat.com>
126 * include/bits/locale_facets.tcc (num_put::do_put(bool): Fix.
127 (num_put::do_put(void*)): Fix.
128 * testsuite/22_locale/num_put_members_char.cc (test02): Add.
129 * testsuite/22_locale/num_put_members_wchar_t.cc (test02): Add.
130 * testsuite/22_locale/num_get_members_char.cc (test02): Add
131 long double, void, bool types.
132 * testsuite/22_locale/num_get_members_wchar_t.cc (test02): Add.
134 2002-01-15 Benjamin Kosnik <bkoz@redhat.com>
135 Alexandre Oliva <aoliva@redhat.com>
137 * libmath/Makefile.am (LINK): Add --tag CC.
138 * libmath/Makefile.in: Regenerate.
140 2002-01-15 John David Anglin <dave@hiauly1.hia.nrc.ca>
142 * config/os/hpux/bits/ctype_noninline.h: Use __SB_masks for address
143 of character to attribute mapping table.
145 2002-01-15 David Billinghurst <David.Billinghurst@riotinto.com>
147 * testsuite/26_numerics/c99_classification_macros_c.cc
148 Remove dg-error and dg-excess-errors comments.
150 2002-01-14 Benjamin Kosnik <bkoz@redhat.com>
152 * include/bits/locale_facets.tcc (time_put::put): Correct output
154 * testsuite/22_locale/time_put_members_char.cc (test02): Add.
155 * testsuite/22_locale/time_put_members_wchar_t.cc (test02): Add.
156 * testsuite/22_locale/time_get_members_wchar_t.cc (test06): Add.
157 * testsuite/22_locale/time_get_members_char.cc (test06): Add.
159 2002-01-14 Craig Rodrigues <rodrigc@gcc.gnu.org>
161 * docs/html/17_intro/porting-howto.xml: Update filebuf section.
163 2002-01-14 Paolo Carlini <pcarlini@unitus.it>
164 Nathan Myers <ncm@cantrip.org>
166 * include/bits/basic_string.h
167 (replace(__pos, __n1, __s, __n2)): Optimize by avoiding
168 temporaries (i.e., call _M_replace_safe) when possible.
169 (replace(__pos, __n, __str)): Call replace(__pos, __n1, __s, __n2).
170 (replace(__pos, __n1, __s)): Call replace(__pos, __n1, __s , __n2).
171 (replace(__i1, __i2, __str)): Call replace(__i1, __i2, __s, __n).
172 (replace(__i1, __i2, __s)): Call replace(__i1, __i2, __s, __n).
173 (replace(__i1, __i2, __s, __n)): Call replace(__pos1, __n1, __s, __n2).
174 * include/bits/basic_string.tcc
175 (replace(__pos1, __n1, __str, __pos2, __n2)): Call
176 replace(__pos, __n1, __s, __n2).
177 * testsuite/21_strings/replace.cc (test03): New testcases.
179 * include/bits/basic_string.h (insert(__pos, __s, __n)):
180 Adjust comparison wrt overflow.
182 2002-01-12 Benjamin Kosnik <bkoz@redhat.com>
184 * include/Makefile.am (std_headers_rename): New variable.
185 (install-data-local): Use it.
186 * include/Makefile.in: Regenerate.
188 2002-01-12 Benjamin Kosnik <bkoz@redhat.com>
190 * include/bits/locale_facets.tcc (money_put::do_put(string):
191 Correct output iterator value.
192 * testsuite/22_locale/money_put_members_char.cc (test03): Add.
193 * testsuite/22_locale/money_put_members_wchar_t.cc: Same.
195 2002-01-11 Phil Edwards <pme@gcc.gnu.org>
197 * include/Makefile.am, include/Makefile.in (stamp-std): Fix typo from
200 2002-01-11 Phil Edwards <pme@gcc.gnu.org>
202 * include/Makefile.am (std_headers): Update list with new names.
203 (stamp-std): Link to standardized name.
204 * include/Makefile.in: Regenerate.
206 * include/std/algorithm, include/std/bitset, include/std/complex,
207 include/std/deque, include/std/fstream, include/std/functional,
208 include/std/iomanip, include/std/ios, include/std/iosfwd,
209 include/std/iostream, include/std/istream, include/std/iterator,
210 include/std/limits, include/std/list, include/std/locale,
211 include/std/map, include/std/memory, include/std/numeric,
212 include/std/ostream, include/std/queue, include/std/set,
213 include/std/sstream, include/std/stack, include/std/stdexcept,
214 include/std/streambuf, include/std/string, include/std/utility,
215 include/std/valarray, include/std/vector: Rename to...
217 * include/std/std_algorithm.h, include/std/std_bitset.h,
218 include/std/std_complex.h, include/std/std_deque.h,
219 include/std/std_fstream.h, include/std/std_functional.h,
220 include/std/std_iomanip.h, include/std/std_ios.h,
221 include/std/std_iosfwd.h, include/std/std_iostream.h,
222 include/std/std_istream.h, include/std/std_iterator.h,
223 include/std/std_limits.h, include/std/std_list.h,
224 include/std/std_locale.h, include/std/std_map.h,
225 include/std/std_memory.h, include/std/std_numeric.h,
226 include/std/std_ostream.h, include/std/std_queue.h,
227 include/std/std_set.h, include/std/std_sstream.h,
228 include/std/std_stack.h, include/std/std_stdexcept.h,
229 include/std/std_streambuf.h, include/std/std_string.h,
230 include/std/std_utility.h, include/std/std_valarray.h,
231 include/std/std_vector.h: ...this.
233 2002-01-11 Loren Rittle <ljrittle@acm.org>
235 * include/Makefile.am (extra_target_headers): New list of all
236 target files built with ad hoc naming rules.
237 (stamp-*): Handle LN_S failure in manner portable across make
239 (install-data-local): Install header files from human-maintained
240 file lists and directory components instead of non-robust find.
241 * include/Makefile.in: Rebuilt.
243 2002-01-11 Benjamin Kosnik <bkoz@redhat.com>
245 * include/bits/locale_facets.tcc (money_get::do_get(string)):
246 Check for zero-length negative sign before adding it to output
248 (money_get::do_get(long double)): Return beg.
249 * testsuite/22_locale/money_get_members_char.cc (test02): Add
251 * testsuite/22_locale/money_get_members_wchar_t.cc: Same.
253 2002-01-10 David Seymour <seymour_dj@yahoo.com>
256 * include/bits/locale_facets.h (num_get<>): Return advanced iterator
257 for _M_extract_float and _M_extract_int
258 * include/bits/locale_facets.tcc (num_get<>::_M_extract_float)
259 (num_get<>::_M_extract_int): Likewise, all callers changed
260 * testsuite/22_locale/num_get_members_char.cc: Testcase
262 2002-01-09 Paolo Carlini <pcarlini@unitus.it>
264 * libsupc++/exception (bad_exception): Add comment.
265 * libsupc++/new (bad_alloc): Same.
266 * libsupc++/typeinfo (bad_cast, bad_typeid): Same.
268 2002-01-09 Paolo Carlini <pcarlini@unitus.it>
270 libstdc++/3150: revert 2001-11-30 commit. DR266 only means
271 that the destructors should be removed from the descriptions
272 in the standard: writing them explicitly allows the vtable
273 heuristic to work. For additional information see:
274 http://gcc.gnu.org/ml/libstdc++/2002-01/msg00090.html
275 http://gcc.gnu.org/ml/libstdc++/2002-01/msg00110.html
276 http://gcc.gnu.org/ml/libstdc++/2002-01/msg00155.html
277 * libsupc++/exception (bad_exception::~bad_exception()):
278 Reintroduce declaration.
279 * libsupc++/new (bad_alloc::~bad_alloc()): Same.
280 * libsupc++/typeinfo (bad_cast::~bad_cast()): Same.
281 (bad_typeid::~bad_typeid()): Same.
282 * libsupc++/eh_exception.cc (bad_exception::~bad_exception()):
283 Reintroduce definition.
284 * libsupc++/new_handler.cc (bad_alloc::~bad_alloc()): Same.
285 * libsupc++/tinfo.cc (bad_cast::~bad_cast()): Same.
286 (bad_typeid::~bad_typeid()): Same.
288 2002-01-09 Benjamin Kosnik <bkoz@redhat.com>
290 * include/Makefile.am (c_base_srcdir): Remove duplicate '/'.
291 * include/Makefile.in: Regenerate.
293 2002-01-09 Bo Thorsen <bo@suse.co.uk>
295 * config/cpu/x86-64/bits/cpu_limits.h (__glibcpp_long_bits): Add
298 2002-01-08 Benjamin Kosnik <bkoz@redhat.com>
302 * include/bits/fstream.tcc (filebuf::_M_really_overflow): Test
303 return value of _M_file->sync().
304 (filebuf::showmanyc): Check for is_open.
305 * include/std/fstream (filebuf::sync): Tweak.
306 * testsuite/27_io/filebuf.cc: Tweak.
308 2002-01-08 John Fardo <jfardo@laurelnetworks.com>
309 Brad Garcia <garsh@attbi.com>
311 * testsuite/27_io/filebuf_members.cc: Add test.
313 2002-01-07 Benjamin Kosnik <bkoz@redhat.com>
314 Craig Rodrigues <rodrigc@mediaone.net>
317 * po/Makefile.am (mkinstalldirs): Add.
318 * po/Makefile.in: Regenerate.
320 2002-01-07 David Billinghurst <David.Billinghurst@riotinto.com>
322 * testsuite_flags.in: Add -fmessage-length=0 to CXXFLAGS *
323 testsuite/lib/prune.exp: Delete lines ":In function ..." from
325 * testsuite/23_containers/map_operators.cc: Remove
326 dg-excess-errors comment.
327 * testsuite/23_containers/set_operators.cc: Likewise.
329 2002-01-06 Paolo Carlini <pcarlini@unitus.it>
331 * include/bits/stl_function.h: Remove two lines of comments;
332 adjust copyright years.
334 2002-01-04 Benjamin Kosnik <bkoz@redhat.com>
336 * include/Makefile.am (std_headers): Remove cXXX from list.
337 (c_base_srcdir): No bits subdirectory.
338 (c_base_builddir): Same.
339 (c_base_headers): Adjust names, add ciso646.
340 (bits_headers): Remove std_xxx.h headers.
341 * include/Makefile.in: Regenerate.
343 * include/ext/iterator: Adjust includes.
344 * include/ext/ropeimpl.h: Same.
345 * include/ext/stl_hash_fun.h: Same.
346 * include/ext/algorithm: Same.
348 * include/backward/bvector.h: Adjust includes.
349 * include/backward/vector.h: Same.
350 * include/backward/strstream: Same.
351 * include/backward/streambuf.h: Same.
352 * include/backward/stack.h: Same.
353 * include/backward/set.h: Same.
354 * include/backward/queue.h: Same.
355 * include/backward/multiset.h: Same.
356 * include/backward/multimap.h: Same.
357 * include/backward/map.h: Same.
358 * include/backward/list.h: Same.
359 * include/backward/iterator.h: Same.
360 * include/backward/iostream.h: Same.
361 * include/backward/iomanip.h: Same.
362 * include/backward/fstream.h: Same.
363 * include/backward/deque.h: Same.
364 * include/backward/complex.h: Same.
366 * include/bits/std_algorithm.h: Move to...
367 * include/std/algorithm: ...here.
368 * include/bits/std_iosfwd.h, std_locale.h, std_stack.h,
369 std_bitset.h, std_ios.h, std_map.h, std_stdexcept.h,
370 std_complex.h, std_iostream.h, std_memory.h, std_streambuf.h,
371 std_deque.h, std_istream.h, std_numeric.h, std_string.h,
372 std_fstream.h, std_ostream.h, std_utility.h, std_iterator.h,
373 std_queue.h, std_valarray.h, std_functional.h, std_limits.h,
374 std_set.h, std_vector.h, std_iomanip.h, std_list.h, std_sstream.h:
377 * include/c_std/bits/std_cassert.h: Move to...
378 * include/c_std/cassert: Here.
379 * include/c_std/std_cctype.h, std_cerrno.h, std_cfloat.h,
380 std_climits.h, std_clocale.h, std_cmath.h, std_csetjmp.h,
381 std_csignal.h, std_cstdarg.h, std_cstddef.h, std_cstdio.h,
382 std_cstdlib.h, std_cstring.h, std_ctime.h, std_cwchar.h,
384 * include/c_std/cmath: Adjust cmath.tcc include.
385 * include/c_std/cstdlib: Adjust includes.
386 * include/c_std/cwchar: Same.
387 * include/c_std/ctime: Same.
388 * include/c_std/cstring: Same.
389 * include/c_std/cstdio: Same.
390 * include/c_std/bits: Remove directory.
392 * include/c/bits/std_cassert.h: Move to...
393 * include/c/cassert: Here.
394 * include/c/std_cctype.h, std_cerrno.h, std_cfloat.h,
395 std_climits.h, std_clocale.h, std_cmath.h, std_csetjmp.h,
396 std_csignal.h, std_cstdarg.h, std_cstddef.h, std_cstdio.h,
397 std_cstdlib.h, std_cstring.h, std_ctime.h, std_cwchar.h,
399 * include/c/bits: Remove directory.
401 * include/std/cwctype: Remove.
402 * include/std/cwchar: Remove.
403 * include/std/ctime: Remove.
404 * include/std/cstring: Remove.
405 * include/std/cstdlib: Remove.
406 * include/std/cstdio: Remove.
407 * include/std/cstddef: Remove.
408 * include/std/cstdarg: Remove.
409 * include/std/csignal: Remove.
410 * include/std/csetjmp: Remove.
411 * include/std/cmath: Remove.
412 * include/std/clocale: Remove.
413 * include/std/climits: Remove.
414 * include/std/ciso646: Remove.
415 * include/std/cfloat: Remove.
416 * include/std/cerrno: Remove.
417 * include/std/cctype: Remove.
418 * include/std/cassert: Remove.
420 * include/bits/fpos.h: Adjust includes, removing <bits/std_xxx.h>
421 files and subsituting <.xxx>
422 * include/bits/valarray_array.h: Same.
423 * include/bits/stl_uninitialized.h: Same.
424 * include/bits/stl_alloc.h: Same.
425 * include/bits/stl_algobase.h: Same.
426 * include/bits/sstream.tcc: Same.
427 * include/bits/pthread_allocimpl.h: Same.
428 * include/bits/ostream.tcc: Same.
429 * include/bits/localefwd.h: Same.
430 * include/bits/locale_facets.tcc: Same.
431 * include/bits/locale_facets.h: Same.
432 * include/bits/istream.tcc: Same.
433 * include/bits/char_traits.h: Same.
434 * include/bits/boost_concept_check.h: Same.
435 * include/bits/basic_file.h: Same.
436 * include/std/bitset: Same.
437 * include/std/complex: Same.
438 * include/std/fstream: Same.
439 * include/std/functional: Same.
440 * include/std/ios: Same.
441 * include/std/iostream: Same.
442 * include/std/ostream: Same.
443 * include/std/sstream: Same.
444 * include/std/streambuf: Same.
445 * include/std/string: Same.
446 * include/std/iterator: Same.
447 * include/std/valarray: Same.
449 * src/ios.cc: Adjust includes.
450 * src/valarray-inst.cc: Same.
451 * src/string-inst.cc: Same.
452 * src/stl-inst.cc: Same.
453 * src/stdexcept.cc: Same.
454 * src/misc-inst.cc: Same.
455 * src/localename.cc: Same.
456 * src/locale-inst.cc: Same.
457 * src/locale.cc: Same.
458 * src/limits.cc: Same.
459 * src/concept-inst.cc: Same.
460 * src/complex_io.cc: Same.
461 * src/codecvt.cc: Same.
462 * src/bitset.cc: Same.
463 * src/cmath.cc: Same.
465 2002-01-04 Paolo Carlini <pcarlini@unitus.it>
467 * include/bits/stl_tree.h (rb_tree): Move to...
468 * include/ext/rb_tree: ...here, new file.
469 * include/Makefile.am (ext_headers): Add new file.
470 * include/Makefile.in: Regenerate.
471 * include/bits/stl_tempbuf.h (get_temporary_buffer + helper,
472 return_temporary_buffer, struct temporary_buffer): Move to...
473 * include/ext/memory: ...here.
474 * testsuite/ext/headers.cc: Include <ext/rb_tree>.
475 * include/backward/tempbuf.h: Include <ext/memory>, tweak.
476 * include/backward/tree.h: Include <ext/rb_tree), tweak.
478 2002-01-03 Paolo Carlini <pcarlini@unitus.it>
480 * include/bits/stl_numeric.h (power + helpers, iota): Move to...
481 * include/ext/numeric: ...here, new file.
482 * include/bits/stl_function.h (identity_element, unary_compose,
483 binary_compose, compose1, compose2, identity, select1st,
484 select2nd, project1st + helper, project2nd + helper,
485 constant_void_fun + helper, constant_unary_fun + helper,
486 costant_binary_fun + helper, constant0, constant1, constant2,
487 subtractive_rng, mem_fun1, mem_fun1_ref): Move to...
488 * include/ext/functional: ...here, new file.
489 * include/Makefile.am (ext_headers): Add new files.
490 * include/Makefile.in: Regenerate.
491 * testsuite/ext/headers.cc: Include <ext/numeric> and
493 * include/backward/algo.h: Include <ext/numeric>, tweak.
494 * include/backward/function.h: Include <ext/functional>, tweak.
495 * include/ext/ropeimpl.h: Include <ext/numeric>.
497 2002-01-03 Jeffrey A Law <law@redhat.com>
499 * config/os/hpux/bits/os_defines.h: Prefix __strtoll and
500 __strtoull declarations with __extension__.
502 2002-01-03 David Billinghurst <David.Billinghurst@riotinto.com>
504 * testsuite/lib/prune.exp: Correct regular expression for
507 2002-01-02 Phil Edwards <pme@gcc.gnu.org>
509 * include/bits/stl_algo.h (upper_bound, equal_range, binary_search):
510 Change concept checks, as with lower_bound and PR 2054.
511 * testsuite/ext/concept_checks.cc: Expand test to include those.
513 2002-01-02 Phil Edwards <pme@gcc.gnu.org>
515 * include/bits/boost_concept_check.h: Import some changes from
516 upsteam (Boost) version.
518 2002-01-02 Paolo Carlini <pcarlini@unitus.it>
520 * include/bits/stl_algobase.h (copy_n + helpers,
521 lexicographical_compare_3way + helpers): Move to...
522 * include/ext/algorithm: ...here.
523 * include/bits/stl_uninitialized.h (uninitialized_copy_n +
525 * include/ext/memory: ...here, new file.
526 * include/Makefile.am (ext_headers): Add new file.
527 * include/Makefile.in: Regenerate.
528 * testsuite/ext/headers.cc: Include <ext/memory>.
529 * include/backward/algobase.h: Include <ext/memory> and
530 <ext/algorithm>, tweak.
531 * include/ext/ropeimpl.h: Include <ext/memory>, tweak.
532 * include/ext/stl_rope.h: Include <ext/memory>, tweak.
534 2002-01-01 Roger Sayle <roger@eyesopen.com>
536 * libmath/stubs.c (sinf,cosf): Implement stubs to enable the
537 equivalent ___builtin__ versions.
539 * include/c_shadow/bits/std_cmath.h: All __builtin math functions
540 are available in libstdc++ as the necessary stub implementations
541 are provided by libmath/stubs.c.
543 2002-01-01 Jason Thorpe <thorpej@wasabisystems.com>
545 * configure.in: Add support for NetBSD cross compiles.
546 * configure: Regenerate.
548 2001-12-31 Paolo Carlini <pcarlini@unitus.it>
550 * include/ext/iterator: Add #include <bits/std_iterator.h>, tweak.
551 * testsuite/ext/headers.cc: Add <ext/iterator>.
553 2001-12-31 Paolo Carlini <pcarlini@unitus.it>
555 * include/backward/algo.h: Add two more using declarations.
556 * include/backward/iterator.h: Include <ext/iterator>,
557 add using declaration.
558 * include/ext/algorithm: Add #pragma GCC system_header.
560 2001-12-31 Phil Edwards <pme@gcc.gnu.org>
562 * include/bits/stl_bvector.h: Change calls to 3-argument distance()
563 into standard 2-argument version.
564 * include/bits/stl_deque.h: Likewise.
565 * include/bits/stl_tempbuf.h: Likewise.
566 * include/bits/stl_tree.h: Likewise.
567 * include/bits/stl_vector.h: Likewise.
568 * include/ext/stl_hashtable.h: Likewise.
569 * include/bits/stl_iterator_base_funcs.h: Move distance() extension...
570 * include/ext/iterator: to here. New file.
571 * include/Makefile.am (ext_headers): Add new file, alphabatize.
572 * include/Makefile.in: Regenerate.
574 2001-12-31 Phil Edwards <pme@gcc.gnu.org>
576 * include/bits/stl_deque.h: Doxygenate with initial/example hooks.
577 Clean up spacing and indentation.
579 2001-12-31 Paolo Carlini <pcarlini@unitus.it>
581 * include/ext/slist: Move into __gnu_cxx,
582 tweak, add using declarations.
584 2001-12-31 Paolo Carlini <pcarlini@unitus.it>
586 * include/ext/hash_map: Move into __gnu_cxx,
587 tweak, add using declarations.
588 * include/ext/hash_set: Ditto.
589 * include/ext/ropeimpl.h: Ditto.
590 * include/ext/stl_hash_fun.h: Ditto.
591 * include/ext/stl_hashtable.h: Ditto.
592 * include/ext/stl_rope.h: Ditto.
593 * src/ext-inst.cc: Tweak.
594 * testsuite/ext/rope.cc: Tweak.
596 2001-12-31 Paolo Carlini <pcarlini@unitus.it>
598 * include/backward/algo.h: Include <ext/algorithm>,
599 tweak using declarations.
601 2001-12-29 Richard Henderson <rth@redhat.com>
603 * config/os/hpux/bits/os_defines.h: Don't define __glibcpp_long_bits.
604 * config/os/hpux/bits/cpu_limits.h: New file.
605 * configure.target (CPULIMITSH): Use it.
607 2001-12-28 Richard Henderson <rth@redhat.com>
609 * config/cpu/ia64/bits/cpu_limits.h: New file.
610 * config/os/osf/osf5.0/bits/cpu_limits.h: New file.
611 * configure.target (CPULIMITSH): Use them.
613 2001-12-28 Phil Edwards <pme@gcc.gnu.org>
615 * include/bits/c++config: Move doxygen hook comment...
616 * docs/doxygen/doxygroups.cc: ...to here.
618 2001-12-28 Phil Edwards <pme@gcc.gnu.org>
621 * include/bits/stl_algo.h (lower_bound): Relax concept checks.
622 * testsuite/ext/concept_checks.cc: New file.
624 2001-12-28 Paolo Carlini <pcarlini@unitus.it>
626 * include/bits/stl_algo.h (count returning void,
627 count_if returning void, __random_sample, random_sample,
628 random_sample_n, __is_heap, is_heap, is_sorted): Move to...
629 * include/ext/algorithm: ...here, new file.
630 * include/Makefile.am (ext_headers): Add new file.
631 * include/Makefile.in: Regenerate.
632 * testsuite/ext/headers.cc: Include <ext/algorithm>.
634 2001-12-28 Paolo Carlini <pcarlini@unitus.it>
635 Nathan Myers <ncm@cantrip.org>
637 * include/bits/basic_string.h (insert(__pos, __s, __n)):
638 Optimize by avoiding temporaries and working in-place when possible.
639 (insert(__pos1, __str)): Call insert(__pos1, __str, __pos2, __n).
640 (insert(__pos1, __str, __pos2, __n)): Call insert(__pos, __s, __n).
641 * testsuite/21_strings/insert.cc (test02): New testcases.
643 2001-12-27 Phil Edwards <pme@gcc.gnu.org>
645 * testsuite/testsuite_hooks.h (gnu_counting_struct): Add.
646 * testsuite/23_containers/deque_ctor.cc: New file.
648 2001-12-27 Paolo Carlini <pcarlini@unitus.it>
650 * include/bits/locale_facets.tcc (collate::do_transform):
651 Adjust implicit typename.
652 * config/locale/messages_members_generic.h (messages::open,
653 messages::do_open, messages::do_get): Adjust implicit typename.
654 * config/locale/messages_members_gnu.h (messages::open,
655 messages::do_open, messages::do_get): Adjust Implicit typename.
656 * config/locale/messages_members_ieee_1003.1-200x.h (messages::open,
657 messages::do_open, messages::do_get): Adjust implicit typename.
659 2001-12-27 Phil Edwards <pme@gcc.gnu.org>
662 * src/misc-inst.cc: Many additional I/O-related instantiations.
663 * testsuite/27_io/instantiations.cc: New file.
665 2001-12-26 Benjamin Kosnik <bkoz@waller.constant.com>
667 * testsuite/24_iterators/insert_iterator.cc (test02): Add.
668 * testsuite/24_iterators/front_insert_iterator.cc (test02): Add.
669 * testsuite/24_iterators/back_insert_iterator.cc (test02): Add.
670 * testsuite/24_iterators/reverse_iterator.cc (test02): Add.
672 * include/bits/stl_iterator.h (reverse_iterator): Uglify member
673 current to _M_current.
674 (back_insert_iterator): Uglify member container to _M_container.
675 (front_insert_iterator): Same.
676 (insert_iterator): Same.
678 2001-12-25 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
680 * include/bits/std_limits.h (__glibcpp_xxx_is_modulo): New
681 macros for signed types; default value is true.
682 (numeric_limits<>::is_modulo): Get value from corresponding
683 __glibcpp_xxx_is_modulo macro.
685 2001-12-23 Jeffrey A Law <law@redhat.com>
687 * config/os/hpux/bits/os_defines.h: Do not include <_sys/inttypes.h>.
688 Twiddle return types for strtoll and strtoull to avoid using
689 intmax_t and uintmax-t.
691 2001-12-22 Richard Henderson <rth@redhat.com>
693 * configure.target (CPULIMITSH): Fix typo in alpha case.
695 2001-12-22 Jeffrey A Law <law@redhat.com>
697 * config/os/hpux/bits/os_defines.h: Update to avoid #defines
698 for strtoll and strtoull.
700 2001-12-21 Jeffrey A Law <law@redhat.com>
702 * config/os/hpux/bits/os_defines.h: Include <sys/_inttypes.h.
703 Define strtoll and strtoull. Provide prototypes for
704 __strtoll and __strtoull. Define _GLIBCPP_USE_LONG_LONG
707 * src/locale-inst.cc: Include <bits/std_cstdlib.h>
709 * configure.target: Fix typo in hpux case.
711 2001-12-21 Paolo Carlini <pcarlini@unitus.it>
713 * include/ext/stl_rope.h (_Rope_iterator):
714 Add local typedef to fix implicit typename problems.
716 2001-12-19 Phil Edwards <pme@gcc.gnu.org>
718 * docs/doxygen/Intro.3: New 'Allocators' module.
719 * docs/doxygen/TODO: Update.
720 * docs/doxygen/doxygroups.cc: Update.
721 * docs/doxygen/run_doxygen: Update.
723 * include/bits/stl_alloc.h: Tweak doxygen hooks in comments.
724 * include/bits/std_memory.h: Doxygenate.
725 * include/bits/stl_iterator_base_types.h: Likewise.
726 * include/bits/stl_raw_storage_iter.h: Likewise.
727 * include/bits/stl_tempbuf.h: Likewise.
728 (get_temporary_buffer): Remove unused nonstandard overload.
729 * include/bits/stl_uninitialized.h: Likewise.
731 * include/bits/stl_iterator_base_types.h (input_iterator,
732 output_iterator, forward_iterator, bidirectional_iterator,
733 random_access_iterator): Move old names...
734 * include/backward/iterator.h: ...to here.
735 * include/bits/stl_bvector.h: Update.
736 * include/ext/stl_rope.h: Update.
738 2001-12-19 Phil Edwards <pme@gcc.gnu.org>
740 * docs/html/configopts.html: Describe recent options.
741 * docs/html/documentation.html: Point to new doxygen tarballs.
742 * docs/html/install.html: Brief updates.
743 * docs/html/17_intro/RELEASE-NOTES: Remove weird control character.
744 * docs/html/ext/howto.html: Fix typos, describe filebuf::fd().
745 * docs/html/faq/index.html: Update for 3.0.95.
746 * docs/html/faq/index.txt: Regenerate.
748 2001-12-19 David Billinghurst <David.Billinghurst@riotinto.com>
751 * testsuite/lib/libstdc++-v3-dg.exp: Append .exe to
754 2001-12-18 Benjamin Kosnik <bkoz@redhat.com>
756 * docs/html/17_intro/TODO: Update.
757 * docs/html/17_intro/RELEASE-NOTES: Edits, update.
758 * README: Edit for clarity, update to reflect current directory
761 2001-12-18 Benjamin Kosnik <bkoz@redhat.com>
763 * acinclude.m4 (GLIBCPP_ENABLE_CLOCALE): Extended checking before
765 * aclocal.m4: Rebuild.
766 * configure: Rebuild.
768 2001-12-18 Paolo Carlini <pcarlini@unitus.it>
769 Nathan Myers <ncm@cantrip.org>
771 * include/bits/basic_string.h (assign(__str, __pos, __n)):
772 Call assign(__s, __n).
773 (assign(__s, __n)): Terminate the string with _S_terminal.
775 2001-12-17 Benjamin Kosnik <bkoz@redhat.com>
777 * include/bits/std_limits.h (__glibcpp_long_double_is_bounded):
778 Set to true, like float and double.
780 2001-12-17 David Billinghurst <David.Billinghurst@riotinto.com>
783 * testsuite/lib/prune.exp: New file
784 * testsuite/lib/libstdc++-v3-dg.exp: Use it
786 2001-12-17 Phil Edwards <pme@gcc.gnu.org>
788 * include/bits/basic_file.h (__basic_file::fd): New function.
789 * config/io/basic_file_stdio.h (__basic_file::fd): Define.
790 * include/bits/std_fstream.h (basic_filebuf::fd): New function.
791 * include/bits/fstream.tcc (basic_filebuf::fd): Define.
792 * testsuite/27_io/filebuf_members.cc (test_02): New test.
794 2001-12-16 Nathan Sidwell <nathan@codesourcery.com>
796 * po/Makefile.am (.po.mo): Use POSIXLY_CORRECT argument ordering.
797 * po/Makefile.in: Regenerated.
799 2001-12-16 Paolo Carlini <pcarlini@unitus.it>
801 * testsuite/21_strings/assign.cc (test01): Add tests.
803 2001-12-15 Paolo Carlini <pcarlini@unitus.it>
804 Nathan Myers <ncm@cantrip.org>
806 * include/bits/basic_string.h
807 (assign(__str, __pos, __n), assign(__s, __n)): Optimize
808 by avoiding unnecessary temporaries.
809 (assign(__s)): Call assign(__s, __n).
810 * include/bits/basic_string.tcc (_M_replace_safe): Adjust comment.
811 * include/bits/std_string.h: include stl_function.h.
812 * testsuite/21_strings/assign.cc (test02, test03): New tests.
814 2001-12-15 Benjamin Kosnik <bkoz@redhat.com>
816 * acinclude.m4 (GLIBCPP_ENABLE_CLOCALE): Enable gnu locale model
818 * aclocal.m4: Regenerate.
819 * configure: Regenerate.
821 2001-12-14 Benjamin Kosnik <bkoz@redhat.com>
823 Clean up initialization and simplfy caching of underlying "C"
824 default locale objects.
825 * src/localename.cc (locale::_Impl::_Impl(string, size_t):
826 Unconditionally create __clocale object for all named locales,
827 including "C" and "POSIX".
828 * config/locale/c_locale_generic.cc
829 (locale::facet::_S_create_c_locale): Always set __cloc to zero.
830 * config/locale/c_locale_gnu.cc: Always delete.
831 * include/bits/localefwd.h (locale::facet::_S_c_locale): New.
832 * src/locale.cc (locale::classic()): Initialize
833 locale::facet::_S_c_locale.
834 (locale::facet::_S_c_locale): Define.
836 * include/bits/locale_facets.h: Add ctype_byname<wchar_t> ctor
838 * src/locale.cc: Add definition here.
839 * config/os/gnu-linux/bits/ctype_inline.h: Tweak.
840 * config/os/gnu-linux/bits/ctype_noninline.h: Adjust initializations.
841 * include/bits/locale_facets.h (ctype<char>::_M_c_locale_ctype): Add.
843 (ctype<char>::_M_toupper): Remove const&.
844 (ctype<char>::_M_tolower): Remove const&.
845 (ctype<char>::_M_ctable): Remove const&.
847 * include/bits/locale_facets.h (collate): Clean up initialization
848 of _M_c_locale_collate in ctors and dtors.
849 * config/locale/collate_members_gnu.cc: Always use extended
852 * include/bits/locale_facets.h (messages): Clean up inits in ctor/dtor.
853 (messages_byname): Same.
854 * config/locale/messages_members_generic.h (messages::~messages):
856 * config/locale/messages_members_gnu.h: Same.
858 * include/bits/localefwd.h: Clean. Move dtor definitions to
859 * src/locale.cc: Here.
860 * testsuite/22_locale/facet.cc: Fix spelling.
862 Named locale support for ctype<wchar_t>.
863 * acinclude.m4 (GLIBCPP_ENABLE_CLOCALE): Add variable
864 ctype_members_* bits.
865 * aclocal.m4: Regenerate.
866 * configure: Regenerate.
867 * src/Makefile.am (sources): Add ctype.cc.
868 * src/Makefile.in: Regenerate.
869 * config/locale/ctype_members_generic.cc: New file.
870 * config/locale/ctype_members_gnu.cc: New file.
871 * src/locale.cc: Remove ctype<wchart_t> definitions.
873 2001-12-13 Roger Sayle <roger@eyesopen.com>
875 * acconfig.h: Test for __builtin_sqrt instead of
877 * acinclude.m4: Same.
878 * include/c_shadow/bits/std_cmath.h: Same.
879 * aclocal.m4: Regenerated.
880 * config.h.in: Regenerated.
881 * configure: Regenerated.
883 2001-12-13 Phil Edwards <pme@gcc.gnu.org>
885 * docs/html/ext/howto.html: Fix typos.
887 2001-12-13 Benjamin Kosnik <bkoz@redhat.com>
890 * src/locale.cc (locale::locale(const char*)): Deal with locales
892 * testsuite/22_locale/ctor_copy_dtor.cc (test01): Modify.
894 2001-12-12 Paolo Carlini <pcarlini@unitus.it>
896 * include/ext/ropeimpl.h (rope::_S_leaf_concat_char_iter,
897 _S_destr_leaf_concat_char_iter, _S_tree_concat, _S_concat_char_iter,
898 _S_destr_concat_char_iter, _S_concat, _S_substring, _S_balance)
899 : Adjust implicit typename.
900 * include/ext/stl_rope.h (_Rope_iterator::operator=, rope::npos):
901 Adjust implicit typename.
902 * testsuite/27_io/streambuf.cc: Adjust implicit typename.
904 2001-12-12 Benjamin Kosnik <bkoz@redhat.com>
906 Named locale support for ctype<char>.
907 * config/locale/c_locale_gnu.h (_GLIBCPP_C_LOCALE_GNU): New.
908 * config/os/gnu-linux/bits/ctype_noninline.h (ctype<char>): Add
909 definitions for alternate constructor.
910 * config/os/solaris/solaris2.7/bits/ctype_noninline.h (ctype): Same.
911 * config/os/solaris/solaris2.6/bits/ctype_noninline.h (ctype): Same.
912 * config/os/solaris/solaris2.5/bits/ctype_noninline.h (ctype): Same.
913 * config/os/newlib/bits/ctype_noninline.h (ctype): Same.
914 * config/os/irix/irix6.5/bits/ctype_noninline.h (ctype): Same.
915 * config/os/irix/irix5.2/bits/ctype_noninline.h (ctype): Same.
916 * config/os/hpux/bits/ctype_noninline.h (ctype): Same.
917 * config/os/generic/bits/ctype_noninline.h (ctype): Same.
918 * config/os/djgpp/bits/ctype_noninline.h (ctype): Same.
919 * config/os/bsd/netbsd/bits/ctype_noninline.h (ctype): Same.
920 * config/os/bsd/freebsd/bits/ctype_noninline.h (ctype): Same.
921 * config/os/aix/bits/ctype_noninline.h (ctype): Same.
922 * include/bits/locale_facets.h (ctype<_CharT>): Remove dummy
923 definitions for all virtual functions. These are now explicitly
924 undefined for non-required factets, ie any non-char, non-wchar_t
926 * src/localename.cc (locale::_Impl::_Impl(string, size_t): Named
927 locales use alternate constructor for ctype facet.
928 * include/bits/locale_facets.h (ctype<char>::ctype(__c_locale, const
929 mask*, bool, size_t): Add.
930 (ctype<wchar_t>::ctype(__c_locale, size_t): Add.
931 * src/locale.cc (ctype<wchar_t>::ctype(__c_locale, size_t)): Add
934 * testsuite/22_locale/ctype_members_char.cc (test02): Add, mark
935 XFAIL for non-gnu locale models.
937 2001-12-12 Philip Martin <philip@codematters.co.uk>
938 Ross Smith <r-smith@ihug.co.nz>
939 Paolo Carlini <pcarlini@unitus.it>
942 * include/bits/std_limits.h (defines, numeric_limits<bool>::digits10):
943 Fix digits10 values for integral types.
944 * include/bits/locale_facets.tcc (num_get::do_get for integral types):
945 Tweak _M_extract_int call.
946 * testsuite/27_io/istream_extractor_arith.cc (test13, test12_aux):
947 Tweak overflowing number of digits.
948 * testsuite/18_support/numeric_limits.cc (test03): New testcase.
950 2001-12-11 Benjamin Kosnik <bkoz@redhat.com>
952 * config/os/generic/bits/ctype_inline.h: Remove spaces.
953 * config/os/gnu-linux/bits/ctype_noninline.h: Same.
954 * include/bits/locale_facets.h (__num_base): Move double data
955 members to first in class.
956 * include/bits/locale_facets.tcc: Re-arrange, tweak.
957 * src/locale.cc: Clean.
958 *include/bits/stl_vector.h: Space typedefs.
960 2001-12-11 Phil Edwards <pme@gcc.gnu.org>
962 * testsuite/ext/allocators.cc: New file.
964 2001-12-11 Jason Merrill <jason@redhat.com>
966 * include/bits/locale_facets.tcc (_M_extract_int): Avoid
967 uninitialized warning.
969 2001-12-11 Loren Rittle <ljrittle@acm.org>
971 * config/cpu/sparc/sparc32/bits/atomicity.h
972 (__Atomicity_lock<0>::_S_atomicity_lock): Add.
974 2001-12-10 Paolo Carlini <pcarlini@unitus.it>
976 * include/bits/basic_string.tcc (_M_replace_safe): Fix typos.
977 * include/bits/basic_string.h: Fix typos.
979 2001-12-10 Paolo Carlini <pcarlini@unitus.it>
980 Nathan Myers <ncm@cantrip.org>
982 * include/bits/basic_string.tcc (_M_replace_safe): New function.
983 (_M_replace(input_iterator_tag), append members): Use it.
984 (_M_replace(forward_iterator_tag)): Remove.
985 * include/bits/basic_string.h: Adjust declarations.
986 * src/string-inst.cc: Adjust declarations.
988 2001-12-09 Benjamin Kosnik <bkoz@redhat.com>
989 Philip Martin <pmartin@uklinux.net>
991 * include/bits/locale_facets.h (__num_base::_S_scale_hex): Add.
992 (__num_base::_S_scale_oct): Add.
993 * include/bits/locale_facets.tcc (_M_extract_int): Use them.
994 * src/locale.cc: Add definitions.
995 * testsuite/27_io/istream_extractor_arith.cc (main): Call test13.
997 * testsuite/testsuite_hooks.h: Remove duplicate VERIFY define.
999 2001-12-07 Nathan Myers <ncm@cantrip.org>
1000 Loren Rittle <ljrittle@acm.org>
1003 * config/cpu/sparc/sparc32/bits/atomicity.h
1004 (struct __Atomicity_lock<__inst>): Add.
1005 (__Atomicity_lock<__inst>::_S_atomicity_lock): Add.
1006 (__exchange_and_add): Use __Atomicity_lock<0>::_S_atomicity_lock
1007 instead of lock local to static function.
1008 (__atomic_add): Likewise.
1010 2001-12-07 Phil Edwards <pme@gcc.gnu.org>
1012 * src/globals.cc: Remove __GTHREADS guard.
1014 2001-12-07 Paolo Carlini <pcarlini@unitus.it>
1016 * include/bits/locale_facets.tcc (num_put::_M_convert_float):
1017 Extend comment, reduce __cs_size for non-fixed outputs.
1019 2001-12-07 Paolo Carlini <pcarlini@unitus.it>
1021 * include/bits/basic_string.tcc (_M_mutate): Fix typo
1022 in the previous check in.
1024 2001-12-06 Paolo Carlini <pcarlini@unitus.it>
1025 Loren J. Rittle <ljrittle@acm.org>
1027 * include/bits/basic_string.tcc (_M_mutate, _M_clone): Implement
1028 exponential growth policy to meet linear amortized time
1029 requirements of the standard.
1030 (_S_create): Adjust comment.
1032 2001-12-06 Benjamin Kosnik <bkoz@redhat.com>
1035 * include/bits/locale_facets.tcc (num_put): Clean.
1036 (num_get::_M_extract_float): Change argument to string.
1037 (num_get::do_get(float)): Fixup.
1038 (num_get::do_get(double)): Same.
1039 (num_get::do_get(long double)): Same.
1040 (num_get::_M_extract_int): Add maximum length parameter, __max.
1041 (num_get::_M_extract_float): Correct zeros, use string.
1042 * include/bits/locale_facets.h (num_get::_M_extract_float): Change
1044 * src/locale.cc (__num_base::_S_atoms): Remove x, X.
1045 * testsuite/27_io/istream_extractor_arith.cc (test13): Add.
1047 2001-12-06 Philip Martin <pmartin@uklinux.net>
1049 * testsuite/27_io/istream_extractor_arith.cc (test12): Add
1050 tests for excess input digits.
1052 2001-12-06 Phil Edwards <pme@gcc.gnu.org>
1054 * include/bits/std_bitset.h: Use GLIBCPP in multiple-inclusion guard.
1055 * include/bits/stl_algo.h: Likewise.
1056 * include/bits/stl_algobase.h: Likewise.
1057 * include/bits/stl_bvector.h: Likewise.
1058 * include/bits/stl_deque.h: Likewise.
1059 * include/bits/stl_function.h: Likewise.
1060 * include/bits/stl_iterator.h: Likewise.
1061 * include/bits/stl_iterator_base_funcs.h: Likewise.
1062 * include/bits/stl_iterator_base_types.h: Likewise.
1063 * include/bits/stl_list.h: Likewise.
1064 * include/bits/stl_multimap.h: Likewise.
1065 * include/bits/stl_multiset.h: Likewise.
1066 * include/bits/stl_pair.h: Likewise.
1067 * include/bits/stl_queue.h: Likewise.
1068 * include/bits/stl_set.h: Likewise.
1069 * include/bits/stl_stack.h: Likewise.
1070 * include/bits/stl_tempbuf.h: Likewise.
1071 * include/bits/stl_tree.h: Likewise.
1072 * include/bits/stl_vector.h: Likewise.
1074 * include/bits/stl_alloc.h: Use our own multiple inclusion guards.
1075 Doxygenate more comments. Correct historical artifacts in comments.
1076 (alloc, single_alloc): Uglify non-standard names.
1077 (__default_alloc_template::_NFREELISTS): Calculate from other
1079 (__default_alloc_template::_S_free_list): Remove SunPro workaround.
1080 (__default_alloc_template::_Lock): Mark as "unused".
1081 * include/backward/alloc.h: Update.
1082 * include/bits/stl_bvector.h: Likewise.
1083 * include/ext/ropeimpl.h: Likewise.
1084 * include/ext/stl_hashtable.h: Likewise.
1086 2001-12-05 Benjamin Kosnik <bkoz@redhat.com>
1089 * include/bits/locale_facets.tcc (num_put::_M_widen_float): Add
1090 grouping to floating point types.
1091 * testsuite/27_io/ostream_inserter_arith.cc (test02): Add test.
1093 2001-12-04 Paolo Carlini <pcarlini@unitus.it>
1096 * testsuite/27_io/ostream_inserter_arith.cc (test02): Add testcase
1098 * include/bits/locale_facets.tcc (num_put::_M_convert_float):
1099 Deal properly with long ios_base::fixed floats.
1100 (num_put::_M_widen_float): use
1101 __len in __builtin_alloca call.
1103 2001-12-04 Benjamin Kosnik <bkoz@redhat.com>
1105 * src/Makefile.am (sources): Add ext-inst.cc.
1106 * src/Makefile.in: Regenerate.
1107 * src/ext-inst.cc: New file.
1108 * include/bits/stl_threads.h: Format.
1109 * src/globals.cc: Add instantiation for _S_swap_lock.
1111 * testsuite/18_support/numeric_limits.cc: Add numeric_limits<B>
1114 2001-12-04 John David Anglin <dave@hiauly1.hia.nrc.ca>
1116 * testsuite/22_locale/numpunct_members_wchar_t.cc: Only compile
1117 and execute test01 if _GLIBCPP_USE_WCHAR_T is defined.
1118 * testsuite/26_numerics/complex_inserters_extractors.cc: Provide
1119 for explicit instantiation of class std::basic_string<char,
1120 gnu_char_traits, std::allocator<char> >.
1122 2001-12-03 Benjamin Kosnik <bkoz@redhat.com>
1124 * testsuite/22_locale/collate.cc: Compile-only.
1125 * testsuite/22_locale/time_get.cc: Same.
1126 * testsuite/22_locale/time_put.cc: Same.
1127 * testsuite/22_locale/numpunct.cc: Same.
1128 * testsuite/22_locale/num_put.cc: Same.
1129 * testsuite/22_locale/num_get.cc: Same.
1130 * testsuite/22_locale/moneypunct.cc: Same.
1131 * testsuite/22_locale/money_get.cc: Same.
1132 * testsuite/22_locale/messages.cc: Same.
1133 * testsuite/22_locale/ctype.cc: Same.
1135 2001-12-03 Benjamin Kosnik <bkoz@redhat.com>
1137 * src/string-inst.cc (string::_Rep::_S_terminal): Add static data
1138 member instantiations.
1140 2001-12-03 Steve Ellcey <sje@cup.hp.com>
1142 * libstdc++-v3/configure.in: Add support for hpux cross compiles,
1143 combine common linux/hpux/generic cross compile support to reduce
1145 * libstdc++-v3/configure: Regenerate.
1147 2001-12-03 Loren J. Rittle <ljrittle@acm.org>
1149 * docs/html/ext/howto.html: Update commentary.
1150 * include/bits/c++config: Update threading configuration comment.
1151 (__STL_GTHREADS): Remove macro definition.
1152 (__STL_THREADS): Likewise.
1153 * include/bits/stl_threads.h: Leave only the configuration
1154 path which had been guarded by __STL_GTHREADS. Remove all
1155 guards related to __STL_GTHREADS, __STL_SGI_THREADS,
1156 __STL_PTHREADS, __STL_UITHREADS and __STL_WIN32THREADS.
1157 * include/bits/stl_alloc.h: Leave only the configuration path
1158 which had been guarded by __STL_THREADS. Remove configuration
1159 path and guards for __STL_SGI_THREADS.
1160 (__NODE_ALLOCATOR_THREADS): Remove macro definition. Unroll its use.
1161 (__NODE_ALLOCATOR_LOCK): Likewise.
1162 (__NODE_ALLOCATOR_UNLOCK): Likewise.
1163 (_NOTHREADS): Remove guards related to macro.
1164 * include/ext/stl_rope.h: Remove configuration path and guards
1165 for __STL_SGI_THREADS.
1166 * src/stl-inst.cc: Remove use of __NODE_ALLOCATOR_THREADS.
1168 2001-12-02 Phil Edwards <pme@gcc.gnu.org>
1170 * docs/html/ext/howto.html: Update list of implemented DRs.
1171 * docs/html/ext/lwg-active.html: Import R20 from upstream.
1172 * docs/html/ext/lwg-defects.html: Import R20 from upstream.
1174 2001-11-30 Benjamin Kosnik <bkoz@redhat.com>
1178 * libsupc++/exception (bad_exception::~bad_exception()): Remove
1180 * libsupc++/new (bad_alloc::~bad_alloc()): Remove.
1181 * libsupc++/typeinfo (bad_cast::~bad_cast()): Remove.
1182 (bad_typeid::~bad_typeid()): Remove.
1183 * libsupc++/tinfo.cc (bad_cast::~bad_cast()): Remove definition.
1184 (bad_typeid::~bad_typeid()): Same.
1185 * libsupc++/new_handler.cc (bad_alloc::~bad_alloc()): Same.
1186 * libsupc++/eh_exception.cc (bad_exception::~bad_exception()): Same.
1188 * include/bits/std_iomanip.h: Tweak.
1190 2001-11-29 Paolo Carlini <pcarlini@unitus.it>
1193 * include/bits/locale_facets.tcc (__pad): Add bool parameter to
1194 correctly pad internal-adjusted const char*-type objects.
1195 * include/bits/locale_facts.tcc (num_put::_M_insert): Update call.
1196 * include/bits/ostream.tcc (operator<<(_CharT , char, const
1197 _CharT*, const char*, const basic_string&): Update calls.
1198 * src/locale-inst.tcc: Update declarations.
1199 * testsuite/27_io/ostream_inserter_arith.cc (test04): Add test.
1201 2001-11-29 Phil Edwards <pme@gcc.gnu.org>
1203 * docs/html/ext/howto.html: Finish allocator notes (inst and 3.0).
1205 2001-11-29 Benjamin Kosnik <bkoz@redhat.com>
1207 * include/bits/locale_facets.tcc (num_get::do_get(long double)):
1208 Fix __traits_type typo.
1210 2001-11-28 Paolo Carlini <pcarlini@unitus.it>
1212 * include/bits/locale_facets.tcc (__pad): Correctly pad
1213 internal-adjusted hex numbers.
1214 * testsuite/27_io/ostream_inserter_arith.cc: Add testcase.
1216 2001-11-28 Paolo Carlini <pcarlini@unitus.it>
1217 Loren J. Rittle <ljrittle@acm.org>
1219 * include/bits/basic_string.h
1220 (basic_string::_Rep::__default_excess, _S_excess_slop):
1222 * include/bits/basic_string.tcc: Remove dead code.
1223 * include/bits/c++config: Remove comment.
1225 2001-11-28 Benjamin Kosnik <bkoz@redhat.com>
1226 Jakub Jelinek <jakub@redhat.com>
1228 * config/locale/moneypunct_members_gnu.cc
1229 (moneypunct<wchar_t>::_M_initialize_moneypunct): Correctly cast
1231 * config/locale/numpunct_members_gnu.cc
1232 (numpunct<wchar_t>::_M_initialize_numpunct): Same.
1234 2001-11-27 Benjamin Kosnik <bkoz@redhat.com>
1236 * include/bits/locale_facets.tcc: Formatting tweaks.
1238 * testsuite/23_containers/map_operators.cc: Don't xfail.
1239 * testsuite/23_containers/set_operators.cc: Same.
1240 * testsuite/backward/header_iterator_h.cc: Pass in -Wno-deprecated.
1241 * testsuite/backward/header_deque_h.cc: Same.
1243 2001-11-27 Loren J. Rittle <ljrittle@acm.org>
1244 Paolo Carlini <pcarlini@unitus.it>
1246 * include/bits/basic_string.tcc (basic_string::_Rep::_S_create):
1247 Enforce allocation size blocking policy to reduce
1248 fragmentation and enhance performance with common malloc
1251 2001-11-27 Benjamin Kosnik <bkoz@redhat.com>
1253 Numeric facets cleanup.
1254 * include/bits/locale_facets.h (__num_base::_S_atoms): Add, remove
1256 (__num_base::_M_zero): Add
1257 (__num_base::_M_e): Add.
1258 (__num_base::_M_E): Add.
1259 * include/bits/locale_facets.tcc (num_get::_M_extract): Remove.
1260 (num_get::_M_extract_float): New.
1261 (num_get::_M_extract_int): New.
1262 * src/locale.cc (num_get::_M_extract): Remove.
1264 * include/bits/locale_facets.tcc (num_put::_M_insert_float):
1265 Simplify, use _M_insert.
1266 (num_put::do_put(bool)): Simplify, remove __pad.
1268 (__pad_output): Change to __pad.
1269 * include/bits/ostream.tcc: And here.
1270 * src/locale-inst: Remove instantiations.
1272 * include/bits/locale_facets.h: Move helper functions in to class
1274 (num_put::_M_insert_float): Same, for __output_integer.
1275 (num_put::_M_insert_int): Same, for __output_float.
1276 (num_put::_M_insert): New.
1278 (__num_base::_S_format_float): Move
1279 __build_float_format into class __num_base.
1280 (__num_base::_S_format_int): Move __build_int_format into class
1282 * include/bits/locale_facets.tcc (__group_digits): Change to
1283 (__add_grouping): This.
1284 * src/locale-inst.cc: And here. Tweak instantiations.
1285 * src/misc-inst.cc: Remove instantiations.
1287 * include/bits/ostream.tcc (__pad_char): Rename, adjust inserters
1288 for new calling conventions, move to...
1289 * include/bits/locale_facets.tcc (__pad_output): Here. Adjust
1290 signature to make it useful for both ostream and num_put.
1291 (__pad_numeric): Remove.
1292 * src/misc-inst.cc: Remove instantiations.
1293 * src/locale-inst.cc: Same.
1295 * include/bits/locale_facets.h (_Numeric_get): Remove.
1296 (_Numeric_put): Remove.
1297 (num_get::get(short)): Remove.
1298 (num_get::get(int)): Remove.
1299 (num_get::do_get(short)): Remove.
1300 (num_get::do_get(int)): Remove.
1301 * include/bits/istream.tcc (istream::operator>>(short)): Fix as
1303 (istream::operator>>(int)): Same.
1305 * include/bits/locale_facets.h (_Format_cache): Remove.
1306 * include/bits/locale_facets.tcc: Same.
1307 * src/locale.cc: Same.
1308 * src/locale-inst.cc: Same.
1309 * include/bits/ostream.tcc: Same.
1310 * src/ios.cc (ios_base::imbue): Remove here as well.
1312 * testsuite/22_locale/num_get.cc: New file.
1313 * testsuite/22_locale/num_get_members_char.cc: New file.
1314 * testsuite/22_locale/num_get_members_wchar_t.cc: New.
1315 * testsuite/22_locale/numpunct_members_wchar_t.cc: New file.
1316 * testsuite/22_locale/num_put.cc: New file.
1317 * testsuite/22_locale/num_put_members_char.cc: New file.
1318 * testsuite/22_locale/num_put_members_wchar_t.cc: New file.
1319 * testsuite/27_io/ostream_inserter_arith.cc: Fix.
1320 * testsuite/27_io/istream_extractor_arith.cc: Fix.
1322 2001-11-27 Phil Edwards <pme@gcc.gnu.org>
1324 * docs/html/explanations.html: New section, empty for now.
1325 * docs/html/17_intro/howto.html: Cleanup. Move unrelated link...
1326 * docs/html/23_containers/howto.html: ...to here. Break up and
1327 rewrap threading discussion to emphasize warning. Move malloc text...
1328 * docs/html/ext/howto.html: ...to here. New section. Describe
1329 allocators and __USE_MALLOC effects.
1330 * docs/html/ext/sgiexts.html: Mention their code.
1332 2001-11-24 Joseph S. Myers <jsm28@cam.ac.uk>
1334 * docs/doxygen/maint.cfg.in, docs/doxygen/user.cfg.in,
1335 docs/html/27_io/binary_iostreams_kuehl.txt: Revert previous
1338 2001-11-23 Phil Edwards <pme@gcc.gnu.org>
1340 * Makefile.am (doxygen-maint): The script isn't executable in CVS.
1341 * Makefile.in: Regenerated.
1342 * docs/doxygen/TODO: New file listing doxygen work to be done.
1343 * docs/doxygen/run_doxygen: Fix up man pages.
1344 * docs/doxygen/user.cfg.in: Insert maint-only toggles.
1345 * docs/doxygen/maint.cfg.in: Copy from user.cfg and turn toggles on.
1346 * include/bits/stl_construct.h: Use new hooks for internal functions.
1348 * docs/html/17_intro/TODO: Small updates.
1349 * docs/html/faq/index.html: Likewise.
1350 * docs/html/faq/index.txt: Regenerated.
1352 * include/bits/stl_alloc.h: Doxygenate, reindent comments, remove
1353 SGI-isms and wrappers.
1354 (simple_alloc, debug_alloc): Uglify class names.
1355 (__default_alloc_template): Uglify "threads" template parameter and
1356 update corresponding macros.
1357 * include/backward/alloc.h: Bring up to date.
1359 2001-11-23 Jason Merrill <jason@redhat.com>
1361 * src/vterminate.cc (__verbose_terminate_handler): Add leading
1364 2001-11-23 Joseph S. Myers <jsm28@cam.ac.uk>
1366 * ChangeLog, docs/doxygen/maint.cfg.in, docs/doxygen/user.cfg.in,
1367 docs/doxygen/doxygroups.cc, docs/doxygen/Intro.3,
1368 docs/html/17_intro/BUGS, docs/html/17_intro/C++STYLE,
1369 docs/html/17_intro/CHECKLIST, docs/html/17_intro/DESIGN,
1370 docs/html/17_intro/howto.html, docs/html/17_intro/porting.html,
1371 docs/html/17_intro/porting.texi, docs/html/18_support/howto.html,
1372 docs/html/19_diagnostics/howto.html, docs/html/20_util/howto.html,
1373 docs/html/21_strings/howto.html,
1374 docs/html/23_containers/howto.html,
1375 docs/html/26_numerics/howto.html, docs/html/27_io/howto.html,
1376 docs/html/27_io/binary_iostreams_kuehl.txt,
1377 docs/html/ext/sgiexts.html, docs/html/faq/index.html,
1378 docs/html/faq/index.txt, testsuite/24_iterators/iterator.cc,
1379 include/bits/basic_file.h, include/bits/locale_facets.h,
1380 include/bits/locale_facets.tcc, include/bits/std_sstream.h,
1381 include/ext/ropeimpl.h, include/ext/stl_rope.h,
1382 libsupc++/tinfo.cc, libsupc++/cxxabi.h, libsupc++/typeinfo,
1383 libsupc++/eh_throw.cc, acinclude.m4, aclocal.m4, configure,
1384 configure.target, ChangeLog-2000: Fix spelling errors.
1386 * config/locale/moneypunct_members_gnu.cc,
1387 include/bits/locale_facets.h: Fix spelling errors.
1389 2001-11-22 Stephen M. Webb <stephen@bregmasoft.com>
1391 * testsuite/23_containers/list_capacity.cc: New file.
1392 * testsuite/23_containers/list_ctor.cc: New file.
1393 * testsuite/23_containers/list_modifiers.cc: New file.
1394 * testsuite/23_containers/list_operators.cc: New file.
1396 2001-11-22 Stephen M. Webb <stephen@bregmasoft.com>
1398 * include/bits/stl_list.h: Reformatted according to C++STYLE rules.
1399 (size): Replaced nonstandard distance() call with the standard one.
1400 (transfer): Uglified to _M_transfer.
1402 2001-11-21 Paolo Carlini <pcarlini@unitus.it>
1405 * include/bits/basic_string.tcc (basic_string::reserve): Never shrink
1406 below the current size.
1407 * testsuite/21_strings/capacity.cc (test02): Add test.
1409 2001-11-19 Phil Edwards <pme@gcc.gnu.org>
1411 * docs/doxygen/Intro.3: More notes.
1412 * docs/doxygen/style.css: Update to default style from Doxygen 1.2.10.
1413 * include/bits/stl_algobase.h: Add doxygen hooks for functions.
1414 * include/ext/hash_map: Add @file hook.
1415 * include/ext/hash_set: Likewise.
1416 * include/ext/rope: Likewise.
1417 * include/ext/ropeimpl.h: Likewise.
1418 * include/ext/slist: Likewise.
1419 * include/ext/stl_hash_fun.h: Likewise.
1420 * include/ext/stl_hashtable.h: Likewise.
1421 * include/ext/stl_rope.h: Likewise.
1423 * docs/html/17_intro/license.html: Remove "experimental" sentence.
1424 * docs/html/19_diagnostics/howto.html: Document new verbose
1426 * testsuite/27_io/filebuf.cc: Fix comment, move tweakable parameter
1427 to more visible (closer to description) position.
1429 * libsupc++/eh_type.cc: Formatting tweak.
1430 * libsupc++/exception: Likewise.
1431 * src/vterminate.cc: Likewise.
1433 * docs/html/17_intro/porting.html: Regenerate.
1434 * docs/html/faq/index.txt: Regenerate.
1436 2001-11-18 Jason Merrill <jason@redhat.com>
1438 * libsupc++/eh_personality.cc (__cxa_call_unexpected): Take void*.
1439 * libsupc++/eh_catch.cc (__cxa_begin_catch): Likewise.
1440 * libsupc++/unwind-cxx.h: Adjust.
1441 * src/Makefile.am (strstream.o): Pass -Wno-deprecated.
1443 * libsupc++/eh_type.cc (__cxa_current_exception_type): New file.
1444 * libsupc++/cxxabi.h: Declare it.
1445 * libsupc++/Makefile.am (sources): Add it.
1446 * src/vterminate.cc (verbose_terminate_handler): New file.
1447 * libsupc++/exception: Declare it.
1448 * src/Makefile.am (sources): Add it.
1450 * src/Makefile.am (VPATH): Check the src directory before the top one.
1452 2001-11-16 Paolo Carlini <pcarlini@unitus.it>
1454 * include/bits/stl_deque.h (deque::erase()): Fix memory leak.
1456 2001-11-16 Loren J. Rittle <ljrittle@acm.org>
1458 * docs/html/17_intro/howto.html (Thread-safety): Rename
1459 section to ``The Standard C++ library and multithreading'' and
1460 update information based on recent mailing list traffic. Move
1461 all discussion of __USE_MALLOC to...
1462 * docs/html/23_containers/howto.html (Containers and multithreading):
1463 ...here and rework it based on recent mailing list traffic.
1465 2001-11-15 Loren J. Rittle <ljrittle@acm.org>
1467 * docs/html/faq/index.html (Is libstdc++-v3 thread-safe?): Clarify
1470 2001-11-15 <bjornw@planetarion.com>
1471 Loren J. Rittle <ljrittle@acm.org>
1474 * include/bits/stl_alloc.h (alloc): Update to use __mem_interface.
1475 (single_client_alloc): Likewise.
1477 2001-11-08 Danny Smith <dannysmith@users.sourceforge.net>
1479 * configure.target: Add os_include_dir for mingw32* target.
1480 * docs/html/17_intro/porting.texi: Mention mingw32 as target benefiting
1481 from _GLIBCPP_AVOID_FSEEK.
1482 * config/os/mingw32/bits/ctype_base.h: New file.
1483 * config/os/mingw32/bits/ctype_inline.h: New file.
1484 * config/os/mingw32/bits/ctype_noninline.h: New file.
1485 * config/os/mingw32/bits/os_defines.h: New file.
1487 2001-11-07 Nathan Myers <ncm@cantrip.org>
1489 * docs/html/faq/index.html (5.8): New entry on ABIs.
1490 * docs/html/faq/index.txt: Regenerate.
1492 2001-11-07 Phil Edwards <pme@gcc.gnu.org>
1494 * docs/html/faq/index.html: Explain libsupc++, mention 'long long'
1495 bugfixes on Solaris.
1496 * docs/html/faq/index.txt: Regenerate.
1498 2001-11-06 Phil Edwards <pme@gcc.gnu.org>
1500 * acinclude.m4 (GLIBCPP_ENABLE_LONG_LONG): Run the test in
1501 LANG_CPLUSPLUS mode.
1502 * aclocal.m4: Regenerate.
1503 * configure: Regenerate.
1505 2001-11-05 Phil Edwards <pme@gcc.gnu.org>
1507 * porting.texi: Move...
1508 * docs/html/17_intro/porting.texi: ...to here.
1509 * docs/html/Makefile: Add rule to rebuild...
1510 * docs/html/17_intro/porting.html: ...this. New file.
1512 2001-11-05 Felix Natter <fnatter@gmx.net>
1514 * docs/html/17_intro/porting-howto.xml: check in v0.9.4
1515 * docs/html/17_intro/porting-howto.html: regenerate
1517 2001-11-02 Loren J. Rittle <ljrittle@acm.org>
1519 * include/bits/stl_threads.h (_Atomic_swap): Only enable path
1520 when platform supports __GTHREAD_MUTEX_INIT.
1522 2001-11-02 Phil Edwards <pme@gcc.gnu.org>
1524 * acconfig.h: Update comments.
1525 * acinclude.m4 (GLIBCPP_ENABLE_C99): Move strtoll, strtoull tests...
1526 (GLIBCPP_ENABLE_LONG_LONG): ...to here. Don't check enable_c99.
1527 * aclocal.m4: Regenerate.
1528 * config.h.in: Regenerate.
1529 * configure: Regenerate.
1531 * include/bits/boost_concept_check.h: Unconditionally compile uses
1532 of 'long long' which require only compiler support, not C lib support.
1533 * include/bits/cpp_type_traits.h: Likewise.
1534 * include/bits/std_limits.h: Likewise.
1535 * include/bits/type_traits.h: Likewise.
1536 * src/concept-inst.cc: Likewise.
1537 * src/limits.cc: Likewise.
1538 * include/c_shadow/stdlib.h: Compile conditionally on _GLIBCPP_USE_C99
1539 instead of _GLIBCPP_USE_LONG_LONG.
1540 * include/c_shadow/bits/std_cstdlib.h: Likewise.
1542 2001-11-02 Phil Edwards <pme@gcc.gnu.org>
1544 * config/io/c_io_stdio.h: Correct grammar in comments.
1545 * docs/doxygen/Intro.3: Expand "top-level" man page.
1546 * docs/doxygen/doxygroups.cc: New module definitions (comments).
1547 * docs/doxygen/mainpage.doxy: Tweaks.
1548 * docs/doxygen/run_doxygen: Update Doxygen version, massage man pages.
1550 Add @file hooks so that headers are considered to be documented.
1551 * include/bits/basic_ios.h, include/bits/basic_file.h,
1552 include/bits/basic_string.h, include/bits/boost_concept_check.h,
1553 include/bits/char_traits.h, include/bits/codecvt.h,
1554 include/bits/concept_check.h, include/bits/cpp_type_traits.h,
1555 include/bits/fpos.h, include/bits/gslice.h, include/bits/gslice_array.h,
1556 include/bits/indirect_array.h, include/bits/ios_base.h,
1557 include/bits/locale_facets.h, include/bits/localefwd.h,
1558 include/bits/mask_array.h, include/bits/pthread_allocimpl.h,
1559 include/bits/slice.h, include/bits/slice_array.h,
1560 include/bits/std_algorithm.h, include/bits/std_bitset.h,
1561 include/bits/std_complex.h, include/bits/std_deque.h,
1562 include/bits/std_fstream.h, include/bits/std_functional.h,
1563 include/bits/std_iomanip.h, include/bits/std_ios.h,
1564 include/bits/std_iosfwd.h, include/bits/std_iostream.h,
1565 include/bits/std_istream.h, include/bits/std_iterator.h,
1566 include/bits/std_limits.h, include/bits/std_list.h,
1567 include/bits/std_locale.h, include/bits/std_map.h,
1568 include/bits/std_memory.h, include/bits/std_numeric.h,
1569 include/bits/std_ostream.h, include/bits/std_queue.h,
1570 include/bits/std_set.h, include/bits/std_sstream.h,
1571 include/bits/std_stack.h, include/bits/std_streambuf.h,
1572 include/bits/std_string.h, include/bits/std_utility.h,
1573 include/bits/std_valarray.h, include/bits/std_vector.h,
1574 include/bits/stl_algo.h, include/bits/stl_alloc.h,
1575 include/bits/stl_bvector.h, include/bits/stl_construct.h,
1576 include/bits/stl_deque.h, include/bits/stl_heap.h,
1577 include/bits/stl_iterator.h, include/bits/stl_iterator_base_funcs.h,
1578 include/bits/stl_iterator_base_types.h, include/bits/stl_list.h,
1579 include/bits/stl_map.h, include/bits/stl_multimap.h,
1580 include/bits/stl_multiset.h, include/bits/stl_numeric.h,
1581 include/bits/stl_pair.h, include/bits/stl_pthread_alloc.h,
1582 include/bits/stl_queue.h, include/bits/stl_raw_storage_iter.h,
1583 include/bits/stl_relops.h, include/bits/stl_set.h,
1584 include/bits/stl_stack.h, include/bits/stl_tempbuf.h,
1585 include/bits/stl_threads.h, include/bits/stl_tree.h,
1586 include/bits/stl_uninitialized.h, include/bits/stl_vector.h,
1587 include/bits/stream_iterator.h, include/bits/streambuf_iterator.h,
1588 include/bits/stringfwd.h, include/bits/type_traits.h,
1589 include/bits/valarray_array.h, include/bits/valarray_meta.h:
1590 Add hooks, tweak comments only.
1592 * include/bits/stl_algobase.h (swap, min, iter_swap): Also
1593 document these functions.
1594 * include/bits/stl_function.h: Tweak link comments.
1596 2001-11-01 Paolo Carlini <pcarlini@unitus.it>
1597 Benjamin Kosnik <bkoz@redhat.com>
1599 * testsuite/27_io/ios_manip_fmtflags.cc: Fix for non-interactive
1601 * include/bits/locale_facets.tcc (num_put::do_put(bool)): Fix.
1603 2001-11-01 Egor Duda <deo@logos-m.ru>
1605 * config/os/newlib/bits/ctype_noninline.h
1606 (ctype<char>::do_toupper(char __c)): Check for proper character class.
1607 (ctype<char>::do_tolower(char __c)): Ditto.
1609 2001-11-01 Phil Edwards <pme@gcc.gnu.org>
1611 * acinclude.m4: Fix spacing.
1612 (GLIBCPP_ENABLE_CONCEPT_CHECKS): New macro.
1613 * configure.in: Call here.
1614 * acconfig.h: Add _GLIBCPP_CONCEPT_CHECKS.
1615 * include/bits/boost_concept_check.h: Fix headers.
1616 (__function_requires): Make inline.
1617 * include/bits/c++config (_GLIBCPP_CONCEPT_CHECKS): Remove.
1618 * aclocal.m4: Regenerate.
1619 * config.h.in: Regenerate.
1620 * configure: Regenerate.
1622 Move trailing ';' inside macro, PR libstdc++/3666.
1623 * include/bits/concept_check.h: Add semicolon.
1624 * include/bits/stl_algo.h: Remove semicolon.
1625 * include/bits/stl_algobase.h: Likewise.
1626 * include/bits/stl_deque.h: Likewise.
1627 * include/bits/stl_heap.h: Likewise.
1628 * include/bits/stl_iterator_base_funcs.h: Likewise.
1629 * include/bits/stl_list.h: Likewise.
1630 * include/bits/stl_map.h: Likewise.
1631 * include/bits/stl_multimap.h: Likewise.
1632 * include/bits/stl_multiset.h: Likewise.
1633 * include/bits/stl_numeric.h: Likewise.
1634 * include/bits/stl_queue.h: Likewise.
1635 * include/bits/stl_set.h: Likewise.
1636 * include/bits/stl_stack.h: Likewise.
1637 * include/bits/stl_vector.h: Likewise.
1638 * include/ext/hash_map: Likewise.
1639 * include/ext/hash_set: Likewise.
1640 * include/ext/slist: Likewise.
1642 * src/concept-inst.cc: New file with explicit instantiations.
1643 * src/Makefile.am (sources): Add here, with special build rules.
1644 * src/Makefile.in: Regenerate.
1646 2001-11-01 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
1648 * include/bits/std_complex.h (_Norm_helper): New class template.
1650 (abs): Tweak. Fix Thinko.
1652 2001-10-31 Benjamin Kosnik <bkoz@redhat.com>
1655 * include/bits/codecvt.h: Add virtual member function declarations.
1656 * src/codecvt.cc: Tweaks.
1657 * testsuite/22_locale/codecvt.cc: Test compilation only,
1658 non-required facets not required to have linkage.
1660 2001-10-31 Edward E. Meyer <edward.e.meyer@boeing.com>
1663 * include/bits/std_complex.h (complex::operator/=): Correct sign.
1665 2001-10-30 Paolo Carlini <pcarlini@unitus.it>
1666 Benjamin Kosnik <bkoz@redhat.com>
1669 * include/bits/basic_string.h: Tweaks.
1670 * include/bits/basic_string.tcc (string::_M_replace(iterator,
1671 iterator, _ForwardIter, _ForwardIter, forward_iterator_tag): Fix.
1672 * src/string-inst.cc: Tweaks, add instantiation.
1673 * testsuite/21_strings/replace.cc (test02): Add test.
1674 * testsuite/21_strings/assign.cc (test01): New file.
1676 2001-10-30 Jakub Jelinek <jakub@redhat.com>
1678 * include/bits/stl_deque.h (_M_new_elements_at_front): Use
1679 __throw_exception_again.
1680 (_M_new_elements_at_back): Likewise.
1682 2001-10-29 Benjamin Kosnik <bkoz@redhat.com>
1685 * include/bits/fstream.tcc (filebuf::showmanyc): Simplify.
1686 * testsuite/27_io/filebuf.cc (test07): New test.
1687 (test03): Modify showmanyc test.
1689 2001-10-26 Benjamin Kosnik <bkoz@redhat.com>
1692 * config/locale/codecvt_specializations_ieee_1003.1-200x.h
1693 (__enc_traits::~__enc_traits): Fix.
1694 (__enc_traits::_M_init): Add error checking.
1696 2001-10-25 Benjamin Kosnik <bkoz@redhat.com>
1699 * include/bits/locale_facets.tcc (time_get::_M_extract_name): Fix.
1701 2001-10-25 Benjamin Kosnik <bkoz@redhat.com>
1704 * include/bits/ostream.tcc (ostream::operator<<(streambuf*)): Fix
1706 * include/bits/istream.tcc (istream::operator>>(streambuf*): Make
1707 consistent, where possible.
1708 * include/bits/streambuf.tcc: Tweak.
1710 2001-10-25 Brendan Kehoe <brendan@zen.org>
1713 * bits/ostream.tcc (seekp): Scope use as ios_base::failbit.
1714 * bits/istream.tcc (seekg): Likewise.
1716 2001-10-25 Benjamin Kosnik <bkoz@redhat.com>
1717 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
1718 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
1720 * config/os/gnu-linux/bits/os_defines.h: Set to 64 bit longs with
1722 * include/bits/std_limits.h: Fix wchar_t issues.
1723 * config/os/aix/bits/os_defines.h: Fix.
1725 2001-10-25 Benjamin Kosnik <bkoz@redhat.com>
1727 * include/bits/locale_facets.tcc (collate::do_transform): Fix.
1729 2001-10-25 Phil Edwards <pme@gcc.gnu.org>
1731 * docs/html/documentation.html: Fix typo.
1733 2001-10-23 Benjamin Kosnik <bkoz@redhat.com>
1735 Make -fno-exceptions work.
1736 * config/locale/c_locale_gnu.cc: Use functexcept.
1737 * include/bits/c++config (__stl_assert): Remove.
1738 (__STL_USE_EXCEPTIONS): Same.
1740 (__STL_CATCH_ALL): Same.
1741 (__STL_THROW): Same.
1742 (__STL_RETHROW): Same.
1743 (__STL_NOTHROW): Same.
1744 (__STL_UNWIND): Same.
1745 * include/bits/pthread_allocimpl.h: Fix.
1746 * include/bits/std_bitset.h: Same.
1747 * include/bits/std_list.h: Same.
1748 * include/bits/std_memory.h: Same.
1749 * include/bits/std_queue.h: Same.
1750 * include/bits/stl_alloc.h: Same.
1751 * include/bits/stl_deque.h: Same.
1752 * include/bits/stl_list.h: Same.
1753 * include/bits/stl_queue.h: Same.
1754 * include/bits/stl_tempbuf.h: Same.
1755 * include/bits/stl_tree.h: Same.
1756 * include/bits/stl_uninitialized.h: Same.
1757 * include/bits/stl_vector.h: Same.
1758 * include/ext/ropeimpl.h: Same.
1759 * include/ext/slist: Same.
1760 * include/ext/stl_hashtable.h: Same.
1761 * include/ext/stl_rope.h: Same.
1762 * libsupc++/new_op.cc: Include cstdlib.
1763 * libsupc++/eh_personality.cc: Add exception_defines include. Use
1764 __throw_exception_again, tweak.
1765 * libsupc++/eh_aux_runtime.cc: Include stdlib for abort.
1766 * libsupc++/vec.cc: Tweak.
1767 * src/functexcept.cc: Remove unused arguments.
1768 * testsuite/23_containers/bitset_members.cc: Tweak.
1770 2001-10-22 Benjamin Kosnik <bkoz@redhat.com>
1772 * config/cpu/i386/bits/limits.h: Move to...
1773 * config/cpu/i386/bits/cpu_limits.h: ...here.
1774 * config/cpu/cris/bits/cpu_limits.h: Same.
1775 * config/cpu/powerpc/bits/cpu_limits.h: Same.
1776 * config/cpu/x86-64/bits/cpu_limits.h: Same.
1777 * config/cpu/alpha/bits/cpu_limits.h: New.
1778 * config/cpu/m68k/bits/cpu_limits.h: New.
1779 * config/cpu/s390/bits/cpu_limits.h: New.
1780 * config/os/aix/bits/os_defines.h: Tweaks.
1781 * config/os/bsd/freebsd/bits/os_defines.h: Same.
1782 * config/os/bsd/netbsd/bits/os_defines.h: Same.
1783 * config/os/djgpp/bits/os_defines.h: Same.
1784 * config/os/generic/bits/os_defines.h: Same.
1785 * config/os/gnu-linux/bits/os_defines.h: Same.
1786 * config/os/hpux/bits/os_defines.h: Same.
1787 * config/os/irix/irix5.2/bits/os_defines.h: Same.
1788 * config/os/irix/irix6.5/bits/os_defines.h: Same.
1789 * config/os/newlib/bits/os_defines.h: Same.
1790 * config/os/solaris/solaris2.5/bits/os_defines.h: Same.
1791 * config/os/solaris/solaris2.6/bits/os_defines.h: Same.
1792 * config/os/solaris/solaris2.7/bits/os_defines.h: Same.
1794 * include/bits/c++config: Remove include.
1795 * include/bits/limits_generic.h: Remove.
1796 * include/bits/std_limits.h: Include cpu_limits.h.
1797 * include/Makefile.am: Fixup.
1798 * src/limits.cc: Tweak.
1799 * src/limits_generic.cc: Remove.
1800 * src/gen-num-limits.cc: Remove.
1801 * mknumeric_limits: Remove.
1803 2001-10-20 Brendan Kehoe <brendan@zen.org>
1805 * bits/type_traits.h (_Bool): Removed this type.
1806 (__true_type, __false_type): Change to be plain structs.
1807 * src/string-inst.cc (__destroy_aux): Change third parm to be
1808 __false_type instead of _Bool<false>.
1809 * src/misc-inst.cc (__uninitialized_fill_n_aux,
1810 __uninitialized_copy_aux): Likewise.
1812 2001-10-19 Benjamin Kosnik <bkoz@redhat.com>
1814 * mkcheck.in (static_fail): Remove older memory limit functionality.
1815 Disable E_TIME due to formatting issues.
1819 2001-10-19 Brendan Kehoe <brendan@zen.org>
1821 * include/bits/std_complex.h: Default initialize second argument
1822 of polar to 0, as specified in Library DR #79
1824 2001-10-19 Brendan Kehoe <brendan@zen.org>
1826 * include/bits/stl_raw_storage_iter.h (operator=): Fix to call
1827 _Construct instead of construct.
1829 2001-10-19 Brendan Kehoe <brendan@zen.org>
1831 * include/bits/basic_string.tcc (find_first_not_of): Take out check for
1832 __n being non-zero, since the standard does not mandate that.
1833 e.g., a search for "" in "" should yield position 0, not npos.
1834 (find_last_not_of): Likewise.
1836 2001-10-19 Brendan Kehoe <brendan@zen.org>
1838 * include/bits/stl_bvector.h (vector<bool>::_M_range_check): Fix
1839 to throw out_of_range, not range_error, thus sayeth $23.1.1.13.
1841 2001-10-19 Brendan Kehoe <brendan@zen.org>
1843 * include/bits/stl_iterator.h (reverse_iterator::current): Rename
1844 member from _M_current, and change all uses; thus sayeth $24.4.1.1.
1846 2001-10-19 Brendan Kehoe <brendan@zen.org>
1848 * include/bits/stl_algo.h (partial_sort): Add missing `>' on the
1849 template parameter _ValueType.
1851 2001-10-19 Brendan Kehoe <brendan@zen.org>
1853 * include/bits/std_limits.h: Clean up extra semicolons.
1854 * include/bits/locale_facets.h: Likewise.
1855 * include/bits/type_traits.h: Likewise.
1857 2001-10-19 Brendan Kehoe <brendan@zen.org>
1859 * include/bits/localefwd.h (locale::combine): Add const for lib DR 14.
1860 * include/bits/locale_facets.tcc (locale::combine): Likewise.
1862 2001-10-19 Benjamin Kosnik <bkoz@redhat.com>
1864 * include/bits/locale_facets.h (__timepunct::_M_put_helper):
1865 Declare specializations for char, wchar_t.
1867 2001-10-19 Andreas Jaeger <aj@suse.de>
1869 * config/cpu/x86-64/bits/limits.h: New file.
1870 * config/cpu/x86-64/bits/atomicity.h: New file.
1871 * configure.target: Add x86-64.
1873 2001-10-17 Phil Edwards <pme@gcc.gnu.org>
1875 * docs/html/17_intro/howto.html: Remove 1999 links (and explain
1876 why). Add link to recent message.
1877 * docs/html/faq/index.html (5.6): Reformat text only; fixup <pre>
1879 * docs/html/faq/index.txt: Regenerate.
1881 2001-10-12 Loren J. Rittle <ljrittle@acm.org>
1883 * docs/html/faq/index.html (Is libstdc++-v3 thread-safe?): Update
1884 based on Nathan's review. Use Nathan's words.
1886 2001-10-11 Matt Kraai <kraai@alumni.carnegiemellon.edu>
1888 * docs/html/configopts.html: Quote StyleSheet attribute values.
1889 * docs/html/documentation.html: Likewise.
1890 * docs/html/explanations.html: Likewise.
1891 * docs/html/install.html: Likewise.
1892 * docs/html/17_intro/howto.html: Likewise.
1893 * docs/html/17_intro/license.html: Likewise.
1894 * docs/html/18_support/howto.html: Likewise.
1895 * docs/html/19_diagnostics/howto.html: Likewise.
1896 * docs/html/20_util/howto.html: Likewise.
1897 * docs/html/21_strings/howto.html: Likewise.
1898 * docs/html/22_locale/howto.html: Likewise.
1899 * docs/html/23_containers/howto.html: Likewise.
1900 * docs/html/24_iterators/howto.html: Likewise.
1901 * docs/html/25_algorithms/howto.html: Likewise.
1902 * docs/html/26_numerics/howto.html: Likewise.
1903 * docs/html/27_io/howto.html: Likewise.
1904 * docs/html/ext/howto.html: Likewise.
1905 * docs/html/ext/sgiexts.html: Likewise.
1906 * docs/html/faq/index.html: Likewise.
1908 2001-10-11 Loren J. Rittle <ljrittle@acm.org>
1910 * docs/html/faq/index.html (Is libstdc++-v3 thread-safe?): Rewrite.
1911 * docs/html/23_containers/howto.html (Containers and multithreading):
1914 2001-10-09 Phil Edwards <pme@gcc.gnu.org>
1916 * docs/html/17_intro/howto.html: Tweak markup and value type.
1917 * docs/html/27_io/howto.html: Tweak markup, describe setbuf() for
1918 nonzero arguments, add new note on threading.
1919 * docs/html/faq/index.html: Update.
1920 * docs/html/faq/index.txt: Regenerate.
1922 2001-10-09 Phil Edwards <pme@gcc.gnu.org>
1924 * docs/html/configopts.html: More HTML->XHTML and lowercasing of tags.
1925 * docs/html/documentation.html: Likewise.
1926 * docs/html/explanations.html: Likewise.
1927 * docs/html/install.html: Likewise.
1928 * docs/html/17_intro/howto.html: Likewise.
1929 * docs/html/17_intro/license.html: Likewise. Tighten up language.
1930 * docs/html/18_support/howto.html: Likewise.
1931 * docs/html/19_diagnostics/howto.html: Likewise.
1932 * docs/html/20_util/howto.html: Likewise.
1933 * docs/html/21_strings/howto.html: Likewise.
1934 * docs/html/22_locale/howto.html: Likewise.
1935 * docs/html/23_containers/howto.html: Likewise.
1936 * docs/html/24_iterators/howto.html: Likewise.
1937 * docs/html/25_algorithms/howto.html: Likewise.
1938 * docs/html/26_numerics/howto.html: Likewise.
1939 * docs/html/27_io/howto.html: Likewise.
1940 * docs/html/ext/howto.html: Likewise.
1941 * docs/html/ext/sgiexts.html: Likewise.
1942 * docs/html/faq/index.html: Likewise. Not so many absolute links.
1943 * docs/html/faq/index.txt: Regenerate.
1945 2001-10-07 Joseph S. Myers <jsm28@cam.ac.uk>
1947 * docs/html/22_locale/locale.html, docs/html/faq/index.html: Fix
1948 spelling errors of "separate" as "seperate", and corresponding
1949 spelling errors of related words.
1950 * docs/html/faq/index.txt: Regenerate.
1952 2001-10-05 Phil Edwards <pme@gcc.gnu.org>
1954 * config/cpu/alpha/bits/atomicity.h (__compare_and_swap): Remove
1956 * config/cpu/arm/bits/atomicity.h: Likewise.
1957 * config/cpu/generic/bits/atomicity.h: Likewise.
1958 * config/cpu/i486/bits/atomicity.h: Likewise.
1959 * config/cpu/ia64/bits/atomicity.h: Likewise.
1960 * config/cpu/mips/bits/atomicity.h: Likewise.
1961 * config/cpu/powerpc/bits/atomicity.h: Likewise.
1962 * config/cpu/sparc/sparc32/bits/atomicity.h: Likewise.
1963 * config/cpu/sparc/sparc64/bits/atomicity.h: Likewise.
1965 2001-10-04 Phil Edwards <pme@gcc.gnu.org>
1967 * docs/html/faq/index.html: Describe DR #22, and a workaround.
1968 * docs/html/faq/index.txt: Regenerate.
1970 2001-10-04 Phil Edwards <pme@gcc.gnu.org>
1972 * docs/html/17_intro/COPYING.DOC: New file, GFDL v1.1 from the FSF.
1973 * docs/html/17_intro/license.html: New file. Explain the licenses
1976 * docs/html/configopts.html: Link to license.html.
1977 * docs/html/documentation.html: Likewise.
1978 * docs/html/explanations.html: Likewise.
1979 * docs/html/install.html: Likewise.
1980 * docs/html/17_intro/howto.html: Likewise.
1981 * docs/html/18_support/howto.html: Likewise.
1982 * docs/html/19_diagnostics/howto.html: Likewise.
1983 * docs/html/20_util/howto.html: Likewise.
1984 * docs/html/21_strings/howto.html: Likewise.
1985 * docs/html/22_locale/howto.html: Likewise.
1986 * docs/html/23_containers/howto.html: Likewise.
1987 * docs/html/24_iterators/howto.html: Likewise.
1988 * docs/html/25_algorithms/howto.html: Likewise.
1989 * docs/html/26_numerics/howto.html: Likewise.
1990 * docs/html/27_io/howto.html: Likewise.
1991 * docs/html/ext/howto.html: Likewise.
1992 * docs/html/ext/sgiexts.html: Likewise.
1993 * docs/html/faq/index.html: Likewise. New question, linking to
1994 the new license.html.
1996 2001-10-04 Phil Edwards <pme@gcc.gnu.org>
1998 * docs/html/17_intro/howto.html: Fix mis-sed in header from 20010917.
1999 * docs/html/18_support/howto.html: Likewise.
2000 * docs/html/19_diagnostics/howto.html: Likewise.
2001 * docs/html/20_util/howto.html: Likewise.
2002 * docs/html/21_strings/howto.html: Likewise.
2003 * docs/html/22_locale/howto.html: Likewise.
2004 * docs/html/23_containers/howto.html: Likewise.
2005 * docs/html/24_iterators/howto.html: Likewise.
2006 * docs/html/25_algorithms/howto.html: Likewise.
2007 * docs/html/26_numerics/howto.html: Likewise.
2008 * docs/html/27_io/howto.html: Likewise.
2009 * docs/html/ext/howto.html: Likewise.
2010 * docs/html/faq/index.html: Likewise. Spacing fix.
2012 2001-10-03 Dimitris Vyzovitis <vyzo@media.mit.edu>
2014 * include/bits/stl_threads.h (_Atomic_swap): New function.
2015 (_Swap_lock_struct<__dummy>::_S_swap_lock): New data.
2016 * testsuite/ext/rope.cc: New file.
2018 2001-10-02 Benjamin Kosnik <bkoz@redhat.com>
2020 * config/locale/time_members_gnu.h: Remove.
2021 * config/locale/time_members_generic.h: Remove.
2022 * config/locale/time_members_gnu.cc (__timepunct::_M_put_helper): Add.
2023 * config/locale/time_members_generic.cc: Same.
2024 * include/bits/locale_facets.h: Add data members.
2025 (__timepunct::_M_put_helper): Change signature.
2026 (__timepunct::_M_date_formats): Same.
2027 (__timepunct::_M_time_formats): Same.
2028 (__timepunct::_M_ampm): Add.
2029 (__timepunct::_M_date_time_formats): Add.
2030 (time_get::_M_extract_via_format): Add.
2031 (time_get::_M_extract_time): Change to...
2032 (time_get::_M_extract_num): ... this, modify signature.
2033 * include/bits/locale_facets.tcc (time_get::do_get_year): Fix.
2034 (time_get::do_get_time): Fix.
2035 (time_get::do_get_date): Fix.
2037 * acinclude.m4: Remove CTIME_H.
2038 * aclocal.m4: Regenerate.
2039 * include/Makefile.am: Same.
2040 * include/Makefile.in: Regenerate.
2041 * configure: Regenerate.
2043 * testsuite/22_locale/time_get_members_char.cc: Fix.
2044 * testsuite/22_locale/time_get_members_wchar_t.cc: Add.
2045 * testsuite/22_locale/time_put_members_wchar_t.cc: Add.
2047 2001-10-01 Hans-Peter Nilsson <hp@axis.com>
2049 * config/cpu/cris/bits/atomicity.h: Correct file header.
2051 2001-09-29 Hans-Peter Nilsson <hp@axis.com>
2053 * configure.target (LIMITSH): Set for cris.
2054 (cpu_include_dir): Set for cris-*-*.
2055 * config/cpu/cris/bits/atomicity.h: New file.
2056 * config/cpu/cris/bits/limits.h: New file.
2058 2001-09-28 Benjamin Kosnik <bkoz@redhat.com>
2060 * config/locale/time_members_gnu.h (__timepunct::_M_get_helper): Add.
2061 (__timepunct::_M_put_helper): Add.
2062 * config/locale/time_members_generic.h: Same.
2063 * include/bits/locale_facets.h (__match_parallel): Remove. Format.
2064 (__timepunct): Add data members.
2065 (__timepunct::_M_days): Add.
2066 (__timepunct::_M_days_abbreviated): Add.
2067 (__timepunct::_M_months): Add.
2068 (__timepunct::_M_months_abbreviated): Add.
2069 (__timepunct::_M_initialize_timepunct): Add.
2070 * include/bits/locale_facets.tcc: Same.
2071 * src/locale-inst.cc: Remove instantiations for __match_parallel.
2072 * acinclude.m4 (GLIBCPP_ENABLE_CLOCALE): Add CTIME_CC.
2073 * aclocal.m4: Regenerate.
2074 * configure: Regenerate.
2075 * testsuite/22_locale/time_put_members_char.cc: Mark XFAIL.
2076 * testsuite/22_locale/time_put_members_char.cc (test01): New file.
2077 * testsuite/22_locale/time_get.cc: New file.
2079 2001-09-28 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
2081 * testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3-init): Use
2082 correct multilib builddir.
2083 Properly locate libgcc_s.
2085 2001-09-27 Phil Edwards <pme@gcc.gnu.org>
2087 * include/std/*: Add Doxygen hooks.
2088 * docs/doxygen/Intro.3: New file, general intro to the man pages.
2089 * docs/doxygen/mainpage.doxy: Formatting tweaks. List our own links
2090 rather than using a generated index.
2091 * docs/doxygen/user.cfg.in: Disable the index, enable man pages.
2092 * docs/doxygen/run_doxygen: Massage the generated man pages, using...
2093 * docs/doxygen/stdheader.cc: ...this new file.
2095 2001-09-26 Stan Shebs <shebs@apple.com>
2097 * include/Makefile.am: Remove RCS Id strings.
2098 * src/Makefile.am: Ditto.
2099 * docs/doxygen/run_doxygen: Ditto.
2100 * docs/html/configopts.html: Ditto.
2101 * docs/html/documentation.html: Ditto.
2102 * docs/html/explanations.html: Ditto.
2103 * docs/html/install.html: Ditto.
2104 * docs/html/17_intro/howto.html: Ditto.
2105 * docs/html/18_support/howto.html: Ditto.
2106 * docs/html/19_diagnostics/howto.html: Ditto.
2107 * docs/html/20_util/howto.html: Ditto.
2108 * docs/html/21_strings/howto.html: Ditto.
2109 * docs/html/22_locale/howto.html: Ditto.
2110 * docs/html/23_containers/howto.html: Ditto.
2111 * docs/html/24_iterators/howto.html: Ditto.
2112 * docs/html/25_algorithms/howto.html: Ditto.
2113 * docs/html/26_numerics/howto.html: Ditto.
2114 * docs/html/27_io/howto.html: Ditto.
2115 * docs/html/ext/howto.html: Ditto.
2116 * docs/html/ext/sgiexts.html: Ditto.
2117 * docs/html/faq/index.html: Ditto.
2118 * docs/html/faq/index.txt: Ditto.
2120 2001-09-25 Phil Edwards <pme@gcc.gnu.org>
2122 * testsuite/21_strings/c_strings.cc (test01, test02): Increase
2125 2001-09-25 Phil Edwards <pme@gcc.gnu.org>
2127 * docs/html/20_util/howto.html: Add anchor name.
2128 * docs/html/23_containers/howto.html: Line wrapping, another link.
2129 * docs/html/25_algorithms/howto.html: Another note.
2131 * docs/html/ext/howto.html: Link to SGI extensions. List DRs and
2133 * docs/html/ext/lwg-active.html: ...in this new file (from R19),
2134 * docs/html/ext/lwg-defects.html: and this new file (from R19).
2135 * docs/html/ext/sgiexts.html: New file. Mention SGI extensions
2136 carried over to libstdc++-v3.
2137 * docs/html/faq/index.html: Link to SGI extensions. Mention the
2138 "missing .." pseudobug.
2139 * docs/html/faq/index.txt: Regenerate.
2141 * include/bits/ios_base.h: DR-related comment cleanup.
2142 * include/bits/istream.tcc: Likewise.
2143 * include/bits/locale_facets.h: Likewise.
2144 * include/bits/locale_facets.tcc: Likewise.
2145 * include/bits/ostream.tcc: Likewise.
2146 * include/bits/std_bitset.h: Likewise.
2147 * include/bits/std_iosfwd.h: Likewise.
2148 * include/bits/std_istream.h: Likewise.
2149 * include/bits/std_ostream.h: Likewise.
2150 * include/bits/std_streambuf.h: Likewise.
2151 * include/bits/stl_pair.h: Likewise.
2152 * include/bits/streambuf_iterator.h: Likewise.
2154 * include/bits/std_map.h: Remove unused header inclusion guard
2155 _CPP_BITS_STL_TREE_H from around bits/stl_tree.h.
2156 * include/bits/std_set.h: Likewise.
2158 * include/bits/stl_function.h: Doxygen markup.
2159 * docs/doxygen/doxygroups.cc: New file, specifying module grouping.
2160 * libsupc++/typeinfo: Doxygen markup tweak.
2162 2001-09-20 Scott Johnston <scott@accom.com>
2163 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
2165 * include/backward/alloc.h: Conditionally define malloc_alloc
2166 * testsuite/backward/header_deque_h.cc: New file.
2168 2001-09-20 Sylvain Pion <Sylvain.Pion@sophia.inria.fr>
2170 * libstdc++-v3/include/bits/locale_facets.tcc (money_put::do_put):
2171 change variable name so that it works with -fno-for-scope.
2173 2001-09-20 Benjamin Kosnik <bkoz@redhat.com>
2175 * testsuite/22_locale/numpunct_members_char.cc (test01): Remove
2176 redundant sanity checks.
2177 * testsuite/22_locale/money_put_members_wchar_t.cc (test01): Same.
2179 * testsuite/22_locale/money_put_members_char.cc (test01): Same.
2181 * testsuite/22_locale/moneypunct_members_wchar_t.cc (test01): Same.
2182 * testsuite/22_locale/moneypunct_members_char.cc (test01): Same.
2183 * testsuite/22_locale/money_get_members_wchar_t.cc (test01): Same.
2185 * testsuite/22_locale/money_get_members_char.cc (test01): Same.
2188 2001-09-19 Benjamin Kosnik <bkoz@redhat.com>
2190 Implement std::time_put.
2191 * include/bits/locale_facets.h: Include time_members.h.
2193 (time_put): Implement.
2194 * include/bits/locale_facets.tcc (do_put): Put generic versions here.
2195 * include/bits/localefwd.h: Bump number of facets.
2196 * config/locale/time_members_generic.h: New file.
2197 * config/locale/time_members_gnu.h: New file.
2198 * config/locale/c_locale_generic.h: Include clocale.
2199 * src/locale-inst.cc: Add use_facet instantiations for __timepunct.
2200 * src/locale.cc: Add __timepunct initializations.
2201 * src/localename.cc (locale::_Impl::_Impl(string, size_t)): Same.
2202 * include/Makefile.am (stamp-target): Add time_members.h.
2203 * include/Makefile.in: Regenerate.
2204 * acinclude.m4 (GLIBCPP_ENABLE_CLOCALE): Add CTIME_H.
2205 * aclocal.m4: Regenerate.
2206 * configure: Regenerate.
2207 * testsuite/22_locale/time_put.cc: New file.
2208 * testsuite/22_locale/time_put_members_char.cc: New file.
2210 * docs/html/22_locale/locale.html: Add note.
2212 2001-09-17 Phil Edwards <pme@gcc.gnu.org>
2214 * docs/html/configopts.html: HTML to XHTML change. Lowercase tags.
2215 * docs/html/documentation.html: Likewise.
2216 * docs/html/explanations.html: Likewise.
2217 * docs/html/install.html: Likewise.
2218 * docs/html/17_intro/howto.html: Likewise.
2219 * docs/html/18_support/howto.html: Likewise.
2220 * docs/html/19_diagnostics/howto.html: Likewise.
2221 * docs/html/20_util/howto.html: Likewise.
2222 * docs/html/21_strings/howto.html: Likewise.
2223 * docs/html/22_locale/codecvt.html: Likewise.
2224 * docs/html/22_locale/ctype.html: Likewise.
2225 * docs/html/22_locale/howto.html: Likewise.
2226 * docs/html/22_locale/locale.html: Likewise.
2227 * docs/html/22_locale/messages.html: Likewise.
2228 * docs/html/23_containers/howto.html: Likewise.
2229 * docs/html/24_iterators/howto.html: Likewise.
2230 * docs/html/25_algorithms/howto.html: Likewise.
2231 * docs/html/26_numerics/howto.html: Likewise.
2232 * docs/html/27_io/howto.html: Likewise.
2233 * docs/html/ext/howto.html: Likewise.
2234 * docs/html/faq/index.html: Likewise.
2235 * docs/html/faq/index.txt: Regenerated.
2237 2001-09-14 Phil Edwards <pme@sources.redhat.com>
2239 * docs/html/17_intro/headers_cc.txt: "Sync"/copy real file over.
2240 * docs/html/17_intro/howto.html: Spacing and HTML markup fixes.
2241 * docs/html/18_support/howto.html: It won't compile; it's not code.
2242 * docs/html/19_diagnostics/howto.html: Point diagram seekers to
2244 * docs/html/22_locale/howto.html: Comment for future work.
2245 * docs/html/23_containers/howto.html: More comments.
2246 * docs/html/25_algorithms/howto.html: It's a comment, not a
2247 blunt command to the reader. (English grammar.)
2249 2001-09-14 Benjamin Kosnik <bkoz@redhat.com>
2251 * config/locale/moneypunct_members_gnu.cc: Fix initialization of
2253 * testsuite/22_locale/money_get_members_wchar_t.cc (test02): New file.
2254 * testsuite/22_locale/money_put_members_wchar_t.cc (test02): Fix.
2256 2001-09-14 Benjamin Kosnik <bkoz@redhat.com>
2258 * include/bits/locale_facets.tcc: Conditionalize use of strtold.
2260 2001-09-13 Alexandre Petit-Bianco <apbianco@redhat.com>
2262 * testsuite/22_locale/money_get_members_char.cc: Fixed typo in comment.
2263 * testsuite/22_locale/money_put_members_char.cc: Likewise.
2264 * testsuite/22_locale/money_put_members_wchar_t.cc: Likewise.
2266 2001-09-13 Benjamin Kosnik <bkoz@redhat.com>
2268 Implement std::money_get.
2269 * include/bits/locale_facets.tcc (money_get::do_get): Implement.
2270 * include/bits/locale_facets.h (money_get): Correct signatures.
2271 * testsuite/22_locale/money_get.cc: New file.
2272 * testsuite/22_locale/money_get_members_char.cc: New file.
2274 * include/bits/locale_facets.tcc (__verify_grouping): New
2275 function. Consolidate num_get and money_get group checking into
2277 (money_get): Use it.
2278 * src/locale.cc (num_get::_M_extract): Use it.
2279 * src/locale-inst.cc: Add instantiation.
2281 2001-09-12 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
2283 * include/bits/std_limits.h (numeric_limits<float>::radix,
2284 numeric_limits<float>::epsilon: Fix thinko.
2286 2001-09-10 Benjamin Kosnik <bkoz@redhat.com>
2288 * configure.in: Fix cross compiling math routines. Correct
2289 comments for cross compiling and limits. Add floating point math
2290 routines found in newlib.
2291 * configure: Regenerate.
2292 * acconfig.h: Add macros.
2293 * config.h.in: Regenerate.
2295 2001-09-10 Benjamin Kosnik <bkoz@redhat.com>
2297 * config/locale/moneypunct_members_generic.cc
2298 (money_base::_S_construct_pattern): Remove unused parameters.
2300 2001-09-10 Benjamin Kosnik <bkoz@redhat.com>
2302 * include/Makefile.am (stamp-target): Remove link to self.
2303 * inclulde/Makefile.in: Regenerate.
2305 2001-09-09 Benjamin Kosnik <bkoz@redhat.com>
2307 Implement std::money_put.
2308 * include/bits/locale_facets.h
2309 (moneypunct::_M_initialize_moneypunct): Split up specializations
2310 to account for _Intl. More grody hacking to get around the
2311 ill-considered use of const bool as a template parameter.
2312 * config/locale/moneypunct_members_gnu.cc: And here.
2313 * config/locale/moneypunct_members_generic.cc: And here.
2314 * testsuite/22_locale/moneypunct_members_char.cc: Add tests.
2315 * testsuite/22_locale/moneypunct.cc: Add tests.
2316 * testsuite/22_locale/money_put_members_wchar_t.cc: New file.
2317 * testsuite/22_locale/moneypunct_members_wchar_t.cc: New file.
2319 * src/locale.cc (money_base::_S_construct_pattern): Move into
2321 * config/locale/moneypunct_members_gnu.cc: Add here.
2322 * config/locale/moneypunct_members_generic.cc: Add generic version
2325 * include/bits/locale_facets.tcc (money_put::do_put): Move member
2326 function definitions here.
2327 * include/bits/locale_facets.h (money_put): Implement.
2328 * src/locale-inst.cc: Add use_facet instantiations for moneypunct.
2329 Correct money_get, money_put instantiations.
2330 * src/locale.cc (money_base::_S_construct_pattern): Handle case
2332 * testsuite/22_locale/money_put_members_char.cc: Add tests.
2334 2001-09-05 Phil Edwards <pme@sources.redhat.com>
2336 * testsuite_flags.in: No longer need to search testsuite builddir.
2337 * src/stl-inst.cc (__sink_unused_warning): Unused, remove.
2338 * Makefile.am: The testsuite directory never needs to be made here.
2339 * Makefile.in: Regenerate.
2340 * include/Makefile.in: Regenerate.
2341 * libio/Makefile.in: Regenerate.
2342 * libmath/Makefile.in: Regenerate.
2343 * libsupc++/Makefile.in: Regenerate.
2344 * po/Makefile.in: Regenerate.
2345 * src/Makefile.in: Regenerate.
2346 * testsuite/Makefile.in: Regenerate.
2348 2001-09-04 Scott Johnston <scott@accom.com>
2349 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
2351 * include/backward/iterator.h: Include <bits/std_iterator.h>,
2352 remove reverse_bidirectional_iterator.
2353 * testsuite/backward: New directory.
2354 * testsuite/backward/header_iterator_h.cc: New file.
2356 2001-09-04 Benjamin Kosnik <bkoz@redhat.com>
2358 * include/c_std/bits/std_c*.h: Don't use include_next.
2360 2001-09-03 Richard Sandiford <rsandifo@redhat.com>
2362 * libsupc++/eh_personality.cc (parse_lsda_header): Change type of
2363 tmp from _Unwind_Ptr to _Unwind_Word.
2365 2001-08-31 Jason Merrill <jason_merrill@redhat.com>
2367 * libsupc++/eh_personality.cc (PERSONALITY_FUNCTION): Simplify
2370 2001-08-28 Loren J. Rittle <ljrittle@acm.org>
2372 * include/Makefile.am: Use toplevel_srcdir to refer to src files
2373 outside this component.
2374 * include/Makefile.in: Regenerate.
2376 2001-08-27 Benjamin Kosnik <bkoz@redhat.com>
2378 * config/locale/c_locale_gnu.cc: Move facet info to separate files...
2379 * config/locale/c_locale_generic.cc: Same.
2380 * config/locale/moneypunct_members_gnu.cc: New file.
2381 * config/locale/moneypunct_members_generic.cc: New file.
2382 * config/locale/numpunct_members_gnu.cc: New file.
2383 * config/locale/numpunct_members_generic.cc: New file.
2384 * acinclude.m4 (GLIBCPP_ENABLE_CLOCALE): Add moneypunct, numpunct
2386 * aclocal.m4: Regenerate.
2387 * configure: Regenerate.
2388 * src/Makefile.am (sources): And here.
2389 * src/Makefile.in: Regenerate.
2391 Rename for consistency with rest of testsuite.
2392 * testsuite/22_locale/codecvt.cc: New file.
2393 * testsuite/22_locale/money_put.cc: New file.
2394 * testsuite/22_locale/money_put_members_char.cc: New file.
2396 2001-08-27 Phil Edwards <pme@sources.redhat.com>
2399 * acinclude.m4 (GLIBCPP_EXPORT_INSTALL_INFO): Handle enable/disable
2400 correctly for version-specific-runtime-libs.
2401 * aclocal.m4: Regenerate.
2402 * configure: Regenerate.
2404 2001-08-24 Loren J. Rittle <ljrittle@acm.org>
2406 * config/cpu/i386/bits/limits.h (__glibcpp_long_double_bits): Only
2407 define if not already provided by per-OS file.
2408 * config/os/bsd/freebsd/bits/os_defines.h (__glibcpp_long_double_bits):
2411 2001-08-24 Jan van Male <jan.vanmale@fenk.wau.nl>
2413 * docs/html/17_intro/C++STYLE: Fix typo.
2415 2001-08-24 Phil Edwards <pme@sources.redhat.com>
2417 * docs/html/23_containers/howto.html: Describe implementation of
2418 insertion with hints.
2420 2001-08-24 Kenny Simpson <kenny.simpson@gs.com>
2423 * include/bits/std_sstream.h (basic_ostringstream): Fix ctor.
2425 2001-08-24 Sylvain Pion <Sylvain.Pion@sophia.inria.fr>
2426 Phil Edwards <pme@sources.redhat.com>
2429 * include/bits/stl_tree.h (insert_unique): Revert last change.
2430 Values inserted at begin() must be less, not greater, than *begin()'s.
2431 * testsuite/23_containers/map_insert.cc: New file.
2433 2001-08-23 Benjamin Kosnik <bkoz@redhat.com>
2435 * config/locale/c_locale_gnu.cc: Minor tweaks.
2436 (moneypunct<wchar_t>): Implement.
2437 * include/bits/locale_facets.h: Same.
2438 * testsuite/22_locale/moneypunct.cc: New file.
2439 * testsuite/22_locale/moneypunct_byname.cc: New file.
2440 * testsuite/22_locale/moneypunct_char_members.cc: New file.
2442 2001-08-23 David Edelsohn <edelsohn@gnu.org>
2444 * config/os/gnu-linux/bits/os_defines.h: Correct __s390__ definitions.
2445 Set __powerpc__ long double definition based on __LONG_DOUBLE_128__.
2447 2001-08-23 Jason Merrill <jason_merrill@redhat.com>
2449 * testsuite_flags.in (build-includes): Re-add backward.
2451 2001-08-22 Benjamin Kosnik <bkoz@redhat.com>
2453 * testsuite/22_locale/collate_wchar_t_members.cc: Guard
2454 with _GLIBCPP_USE_WCHAR_T.
2456 2001-08-21 Benjamin Kosnik <bkoz@redhat.com>
2458 * testsuite/22_locale/collate_byname.cc (test01): Fix.
2460 2001-08-18 Vladimir A Merzliakov <wanderer@rsu.ru>
2462 * include/bits/locale_facets.tcc (collate::do_transform): Add typename.
2464 2001-08-18 Benjamin Kosnik <bkoz@redhat.com>
2466 * testsuite/22_locale/operators.cc: Add test.
2468 2001-08-17 Benjamin Kosnik <bkoz@redhat.com>
2470 Implement std::collate.
2471 * config/locale/collate_specializations_gnu.cc: Add here, implement in
2473 * config/locale/collate_specializations_generic.cc: Add here, but
2474 in a less sophisticated manner.
2475 * include/bits/locale_facets.tcc (collate): Add generic definition.
2476 * include/bits/locale_facets.h (~collate): Mark virtual.
2477 (collate::_M_compare_helper): New.
2478 (collate::_M_transform_helper): New.
2479 * src/locale.cc: Remove unnecessary specializations.
2480 * src/string-inst.cc: Tweak instantiation of ctors.
2482 * acinclude.m4 (GLIBCPP_ENABLE_CLOCALE): Do configury for collate.
2483 * aclocal.m4: Regenerate.
2484 * configure: Regenerate.
2485 * src/Makefile.am (sources): Add collate.cc.
2486 * src/Makefile.in: Regenerate.
2488 * testsuite/22_locale/collate_byname.cc: New.
2489 * testsuite/22_locale/collate.cc: New file.
2490 * testsuite/22_locale/collate_char_members.cc: New file.
2491 * testsuite/22_locale/collate_wchar_t_members.cc: New file.
2493 2001-08-16 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
2495 * configure.target: Set LIMITSH for powerpc-*-*.
2496 * config/cpu/powerpc/bits/limits.h: New file.
2498 2001-08-16 Marc Espie <espie@openbsd.org>
2500 * configure.in: Check for <sys/types.h>.
2501 * configure: Rebuild.
2502 * config.h.in: Rebuild.
2503 * libmath/mathconf.h: Include <sys/types.h> prior to
2504 <machine/endian.h> if available.
2506 2001-08-15 Andreas Schwab <schwab@suse.de>
2508 * configure.target (cpu_include_dir): Set to `config/cpu/m68k' for
2509 m68k and m680[246]0.
2510 * config/cpu/m68k/bits/atomicity.h: New file.
2512 * include/bits/std_limits.h [__glibcpp_long_double_bits == 96]:
2513 Define appropriate long double limits for m68k extended floating
2515 (__glibcpp_f32_digits10): Corrected, off by one.
2516 (__glibcpp_f80_digits10): Likewise.
2517 (__glibcpp_f128_digits10): Likewise.
2518 * config/os/gnu-linux/bits/os_defines.h
2519 (__glibcpp_long_double_bits) [__mc68000__]: Define to 96.
2521 2001-08-15 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
2523 * testsuite/18_support/numeric_limits.cc: Add more tests.
2524 * include/bits/std_limits.h (numeric_limits<char>::max): Fix
2527 2001-08-14 Ulrich Weigand <uweigand@de.ibm.com>
2529 * configure.target (cpu_include_dir): Set to `config/cpu/s390'
2532 * config/cpu/s390/bits/atomicity.h: New.
2534 2001-08-14 Gabriel Dos Reis <gdr@codesourcery.com>
2536 * include/bits/std_limits.h: Fix thinko.
2538 2001-08-14 Benjamin Kosnik <bkoz@redhat.com>
2540 * include/Makefile.am: Consolidate target rules. Don't clean stamp
2541 files. Tweak target build directory stamp.
2542 * include/Makefile.in: Regenerate.
2544 2001-08-14 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
2546 * libstdc++-v3/libmath/stubs.c: Fix PR/3988, replace
2547 _GBLICPP_HAVE_LOGL with HAVE_LOGL
2549 2001-08-13 Benjamin Kosnik <bkoz@redhat.com>
2551 * configure.in (libtool_VERSION): Add.
2552 (VERSION): Change to
2553 (release_VERSION): This.
2554 * configure: Regenerate.
2555 * src/Makefile.am (libstdc___la_LDFLAGS): Use -version-info with
2557 * src/Makefile.in: Regenerate.
2559 * intl/Makefile.am: Remove.
2560 * intl/Makefile.in: Remove.
2562 * Makefile.am (SUBDIRS): Remove intl.
2563 * po/Makefile.am (DISTFILES): Add string_literals.cc
2565 * po/string_literals.cc: Add.
2566 * po/POTFILES.in: Fix path.
2567 * acinclude.m4 (GLIBCPP_ENABLE_CLOCALE): Don't call AM_GNU_GETTEXT.
2568 * aclocal.m4: Regenerate.
2569 * configure.in: Remove AC_OUTPUT of intl/Makefile.
2571 * include/backward/backward_warning.h: Clarify message.
2573 * testsuite_flags.in (--cxxflags): Use same debug flags for
2574 library and testsuite.
2576 * include/Makefile.am (c_compatibility): Remove.
2577 * include/Makefile.in: Regenerate.
2579 2001-08-13 Mark Mitchell <mark@codesourcery.com>
2581 * configure.in (LIMITS_INC_SRCDIR): New variable.
2582 * configure.target (LIMITSH): New variable.
2583 * porting.texi: Discuss numeric limits.
2584 * config/cpu/generic/bits/limits.h: New file.
2585 * config/cpu/i386/bits/limits.h: New file.
2586 * include/Makefile.am: Install bits/limits.h.
2587 * include/bits/c++config: Include bits/limits.h.
2589 2001-08-13 H.J. Lu (hjl@gnu.org)
2591 * testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3-copy-files):
2593 (libstdc++-v3-init ): Use it.
2595 2001-08-13 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
2597 * include/bits/ostream.tcc (__pad_char): Change toplevel '__fmt'
2598 to '__adjust' to avoid shadowing in nested scope.
2600 2001-08-10 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
2602 * include/bits/std_limits.h(__glibcpp_char_is_signed): Use
2605 * config/os/gnu-linux/bits/os_defines.h(__glibcpp_char_is_signed):
2607 * config/os/aix/bits/os_defines.h(__glibcpp_plain_char_is_signed):
2610 2001-08-10 Loren J. Rittle <ljrittle@acm.org>
2612 * testsuite/testsuite_hooks.h (__set_testsuite_memlimit): Add
2613 dummy default argument to the non-limit implementation.
2616 * include/Makefile.am: Use relative file path in rule to allow
2618 * include/Makefile.in: Rebuilt.
2620 2001-08-10 Gunter Winkler <gunter.winkler@mathematik.tu-chemnitz.de>
2622 * include/bits/std_complex.h (complex<long double>::operator*=,
2623 complex<long double>::operator/=): Fix thinko.
2625 2001-08-10 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
2627 * include/bits/std_limits.h: New file.
2628 * include/Makefile.am (bits_headers): Add std_limits.h
2629 (all-local): std_limits.h is no longer built.
2630 (${target_builddir}/std_limits.h): Remove.
2631 * include/Makefile.in: Regenerate.
2632 * src/limits.cc: New file.
2633 * src/Makefile.am (sources): Add limits.cc in replacement of
2635 * src/Makefile.in: Regenerate.
2637 2001-08-09 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
2639 * src/gen-num-limits.cc (digits10): Fix thinko.
2641 2001-08-09 Benjamin Kosnik <bkoz@redhat.com>
2643 * po/Makefile.am (check-no): Add.
2645 * po/Makefile.in: Regenerate.
2647 2001-08-09 Benjamin Kosnik <bkoz@redhat.com>
2649 * acconfig.h (_GLIBCPP_MEM_LIMITS): Define.
2650 * config.h.in: Regenerate.
2651 * acinclude.m4 (GLIBCPP_CHECK_SETRLIMIT): Check for setrlimit
2653 * aclocal.m4: Regenerate.
2654 * configure.in: Remove duplicate AM_CONFIG_HEADER.
2655 (AM_CONFIG_HEADER): Remove testsuite/testsuite_hooks.h.
2656 Only call GLIBCPP_CHECK_SETRLIMIT for native compiles.
2657 * configure: Regenerate.
2658 * testsuite_hooks.h.in: Move to...
2659 * testsuite_hooks.h: Here, include c++config.h. Use it.
2661 * Makefile.am (SUBDIRS): Move testsuite to last directory.
2662 * Makefile.in: Regenerate.
2663 * po/Makefile.am (stamp-po): Add.
2665 2001-08-09 David Edelsohn <edelsohn@gnu.org>
2667 * config/os/aix/bits/os_defines.h: Define std_limits.h macros.
2668 * config/os/generic/bits/os_defines.h: Likewise.
2669 * config/os/gnu-linux/bits/os_defines.h: Likewise.
2670 * config/os/hpux/bits/os_defines.h: Likewise.
2671 * config/os/irix/irix6.5/bits/os_defines.h: Likewise.
2672 * config/os/solaris/solaris2.7/bits/os_defines.h: Likewise.
2674 2001-08-08 Benjamin Kosnik <bkoz@redhat.com>
2676 * src/Makefile.am (libstdc___la_LDFLAGS): Use -release instead of
2677 -version-info, use substituted VERSION info.
2678 * src/Makefile.in: Regenerate.
2680 2001-08-07 Benjamin Kosnik <bkoz@redhat.com>
2682 Implement std::messages.
2683 Make config a fully-nested directory.
2684 * config/locale: New directory.
2685 * config/c_locale_generic.cc: Move into locale subdirectory.
2686 * config/c_locale_generic.h: Same.
2687 * config/c_locale_gnu.cc: Same.
2688 * config/c_locale_gnu.h: Same.
2689 * config/c_locale_ieee_1003.1-200x.cc: Same.
2690 * config/c_locale_ieee_1003.1-200x_.h: Same.
2691 * config/codecvt_specializations_generic.h: Same.
2692 * config/codecvt_specializations_ieee_1003.1-200x.h: Same.
2693 * config/messages_members_gnu.h: Same.
2694 * config/messaages_members_gnu.cc: Same.
2695 * config/messages_members_generic.h: Same.
2696 * config/messaages_members_generic.cc: Same.
2697 * config/messages_members_ieee_1003.1-200x.h: Same.
2698 * config/messaages_members_ieee_1003.1-200x.cc: Same.
2699 * config/io: New directory.
2700 * config/basic_file_libio.h: Move into io subdirectory.
2701 * config/basic_file_libio.cc: Same.
2702 * config/c_io_libio.h: Same.
2703 * config/c_io_libio_codecvt.c: Same.
2704 * config/basic_file_stdio.h: Same.
2705 * config/basic_file_stdio.cc: Same.
2706 * config/c_io_stdio.h: Same.
2708 * po: New directory.
2709 * po/POTFILES.in: New file.
2710 * po/Makefile.am: New file.
2711 * po/Makefile.in: New file.
2712 * po/libstdc++.pot: Generic translation file.
2713 * po/fr.po: Preliminary French translation.
2714 * po/de.po: Preliminary German translation.
2715 * intl: New directory.
2716 * intl/Makefile.am: New file.
2717 * intl/Makefile.in: New file.
2718 * intl/string_literals.cc: New file.
2719 * acinclude.m4 (GLIBCPP_CONFIGURE): Bump VERSION to 3.1.0. Add
2720 requisite setup for gettext. Re-arrange.
2721 * aclocal.m4: Regenerate.
2722 * configure.in: Don't call GLIBCPP_CHECK_COMPILER_VERSION.
2723 Output Makefile bits for po and intl.
2724 * configure: Regenerate.
2725 * Makefile.am (SUBDIRS): Add intl, po. Add rule for dist.
2726 * Makefile.in: Regenerate.
2727 * acconfig.h: Add ENABLE_NLS, HAVE_CATGETS, HAVE_GETTEXT, HAVE_STPCPY.
2728 * config.h.in: Regenerate.
2730 * acinclude.m4 (AC_REPLACE_STRINGFUNCS): Remove.
2732 * include/Makefile.am (install-data-local): Don't install Makefile.
2733 * include/Makefile.in: Regenerate.
2735 * include/bits/locale_facet.h (locale::facet::_S_clone_c_locale):
2737 * config/locale/c_locale_gnu.cc (_S_clone_c_locale): Add definition.
2738 * config/locale/c_locale_generic.cc: Same.
2739 * config/locale/c_locale_ieee_1003.1-200x.cc: Same.
2741 * include/bits/codecvt.h: Excise non-standard, non-required
2742 bits. This includes __enc_traits, and partial specializations of
2743 codecvt for __enc_traits.
2744 * src/codecvt.cc (__enc_traits::_S_max_size): Guard
2745 * config/codecvt_partials_ieee_1003.1-200x.h: New file.
2746 * config/codecvt_partials_generic.h: New file.
2747 * include/Makefile.am (allstamps): Add stamp-codecvt_model.
2748 (stamp-codecvt_model): Add.
2749 * include/Makefile.in: Regenerate.
2750 * acinclude.m4 (GLIBCPP_ENABLE_CLOCALE): Add in codecvt configury.
2751 * aclocal.m4: Regenerate.
2752 * configure: Regenerate.
2753 * testsuite/22_locale/codecvt_unicode_wchar_t.cc: Use macro guard.
2754 * testsuite/22_locale/codecvt_unicode_char.cc: Same.
2755 * testsuite/22_locale/ctor_copy_dtor.cc: And here.
2757 * include/bits/localefwd.h (class locale::facet): Add __enc_traits
2758 as a friend for _S_*_c_locale functions.
2759 * include/bits/codecvt.h (__enc_traits::__enc_traits): Add locale
2760 argument to default constructor so that CODESET information can be
2762 * include/bits/locale_facets.h (messages_byname):
2763 Re-implement. Remove specializations.
2764 * src/locale.cc (messages_byname<char>): Remove specialization.
2765 (messages_byname<wchar_t>): Same.
2766 * config/locale/c_locale_ieee_1003.1-200x.cc: New file.
2767 * config/locale/c_locale_ieee_1003.1-200x.h: New file.
2768 * config/locale/messages_members_ieee_1003.1-200x.cc: New file.
2769 * config/locale/messages_members_ieee_1003.1-200x.h: New file.
2770 * config/locale/messages_members_gnu.cc: New file.
2771 * config/locale/messages_members_gnu.h: New file.
2772 * config/locale/messages_members_generic.cc: New file.
2773 * config/locale/messages_members_generic.h: New file.
2775 * docs/html/configopts.html: Add documentation for new locale
2776 model, ieee_1003.1. Adjust other flags for current defaults.
2777 * docs/html/22_locale/locale.html: Update.
2778 * docs/html/22_locale/howto.html: Add link to messages.html. Organize.
2779 * docs/html/22_locale/messages.html: New.
2781 * src/Makefile.am (sources): Add messages_virtuals.cc.
2782 * src/Makefile.in: Regenerate.
2783 * include/Makefile.am (allstamps): Add stamp-messages_model.
2784 (stamp-messages_model): Add.
2785 * include/Makefile.in: Regenerate.
2786 * acinclude.m4 (GLIBCPP_ENABLE_CLOCALE): Add in messages configury.
2787 * aclocal.m4: Regenerate.
2788 * configure: Regenerate.
2790 * testsuite_flags.in (--cxxflags): Add LOCALEDIR.
2791 * testsuite/lib/libstdc++-v3-dg.exp: Remove broken LD_LIBRARY_PATH
2793 * acinclude (GLIBCPP_ENABLE_CLOCALE): Set glibcpp_localedir to the
2794 build directories message catalog base directory, and export.
2795 Eventually this should probably be made to deal with build and
2796 install directories. For now, punt on this as the library itself
2797 doesn't use message catalogs (yet).
2798 * testsuite/22_locale/messages.cc: New file.
2799 * testsuite/22_locale/messages_char_members.cc: New file.
2800 * testsuite/22_locale/messages_byname.cc: New file.
2802 2001-08-06 Phil Edwards <pme@sources.redhat.com>
2804 * acinclude.m4 (GLIBCPP_CONFIGURE_TESTSUITE): New macro, calls...
2805 (GLIBCPP_CHECK_SETRLIMIT): ...this new macro, which also uses...
2806 (GLIBCPP_CHECK_SETRLIMIT_ancilliary): ...this new macro.
2807 * configure.in (AM_CONFIG_HEADER): Also generate testsuite_hooks.h.
2808 Call GLIBCPP_CONFIGURE_TESTSUITE.
2809 * aclocal.m4: Regenerate.
2810 * config.h.in: Regenerate.
2811 * configure: Regenerate.
2813 * testsuite/lib/libstdc++-v3-dg.exp: Download new header instead
2816 * testsuite_flags.in: Add build dir's testsuite to INCLUDES.
2817 * testsuite/debug_assert.h: Removed; contents merged into...
2818 * testsuite/testsuite_hooks.h.in: ...here. New file.
2819 * testsuite/17_intro/header_ciso646.cc: No longer include
2820 debug_assert.h, include testsuite_hooks.h instead.
2821 * testsuite/17_intro/header_fstream.cc: Likewise.
2822 * testsuite/17_intro/header_iomanip.cc: Likewise.
2823 * testsuite/17_intro/header_ios.cc: Likewise.
2824 * testsuite/17_intro/header_iosfwd.cc: Likewise.
2825 * testsuite/17_intro/header_iostream.cc: Likewise.
2826 * testsuite/17_intro/header_istream.cc: Likewise.
2827 * testsuite/17_intro/header_ostream.cc: Likewise.
2828 * testsuite/17_intro/header_sstream.cc: Likewise.
2829 * testsuite/17_intro/header_streambuf.cc: Likewise.
2830 * testsuite/18_support/numeric_limits.cc: Likewise.
2831 * testsuite/19_diagnostics/stdexceptions.cc: Likewise.
2832 * testsuite/20_util/allocator_members.cc: Likewise.
2833 * testsuite/20_util/auto_ptr.cc: Likewise.
2834 * testsuite/20_util/pairs.cc: Likewise.
2835 * testsuite/21_strings/append.cc: Likewise.
2836 * testsuite/21_strings/capacity.cc: Likewise.
2837 * testsuite/21_strings/char_traits_requirements.cc: Likewise.
2838 * testsuite/21_strings/compare.cc: Likewise.
2839 * testsuite/21_strings/ctor_copy_dtor.cc: Likewise. Also set up
2840 call to (disabled) __set_testsuite_memlimit() wrapper.
2841 * testsuite/21_strings/element_access.cc: Likewise.
2842 * testsuite/21_strings/find.cc: Likewise.
2843 * testsuite/21_strings/insert.cc: Likewise. Also set up call to
2844 (disabled) __set_testsuite_memlimit() wrapper.
2845 * testsuite/21_strings/inserters_extractors.cc: Likewise.
2846 * testsuite/21_strings/invariants.cc: Likewise.
2847 * testsuite/21_strings/nonmember.cc: Likewise.
2848 * testsuite/21_strings/operations.cc: Likewise.
2849 * testsuite/21_strings/replace.cc: Likewise.
2850 * testsuite/21_strings/rfind.cc: Likewise.
2851 * testsuite/21_strings/substr.cc: Likewise.
2852 * testsuite/22_locale/codecvt_char_char.cc: Likewise.
2853 * testsuite/22_locale/codecvt_unicode_char.cc: Likewise.
2854 * testsuite/22_locale/codecvt_unicode_wchar_t.cc: Likewise.
2855 * testsuite/22_locale/codecvt_wchar_t_char.cc: Likewise.
2856 * testsuite/22_locale/ctor_copy_dtor.cc: Likewise.
2857 * testsuite/22_locale/ctype_char_members.cc: Likewise.
2858 * testsuite/22_locale/ctype_wchar_t_members.cc: Likewise.
2859 * testsuite/22_locale/facet.cc: Likewise.
2860 * testsuite/22_locale/global_templates.cc: Likewise.
2861 * testsuite/22_locale/members.cc: Likewise.
2862 * testsuite/22_locale/numpunct_byname.cc: Likewise.
2863 * testsuite/22_locale/numpunct_char_members.cc: Likewise.
2864 * testsuite/22_locale/operators.cc: Likewise.
2865 * testsuite/22_locale/static_members.cc: Likewise.
2866 * testsuite/23_containers/bitset_ctor.cc: Likewise.
2867 * testsuite/23_containers/bitset_members.cc: Likewise.
2868 * testsuite/23_containers/bitset_shift.cc: Likewise.
2869 * testsuite/23_containers/vector_capacity.cc: Likewise.
2870 * testsuite/23_containers/vector_ctor.cc: Likewise.
2871 * testsuite/23_containers/vector_element_access.cc: Likewise.
2872 * testsuite/23_containers/vector_modifiers.cc: Likewise.
2873 * testsuite/24_iterators/istreambuf_iterator.cc: Likewise.
2874 * testsuite/24_iterators/iterator.cc: Likewise.
2875 * testsuite/24_iterators/ostreambuf_iterator.cc: Likewise.
2876 * testsuite/25_algorithms/binary_search.cc: Likewise.
2877 * testsuite/25_algorithms/copy.cc: Likewise.
2878 * testsuite/25_algorithms/heap.cc: Likewise.
2879 * testsuite/25_algorithms/lower_bound.cc: Likewise.
2880 * testsuite/25_algorithms/min_max.cc: Likewise.
2881 * testsuite/25_algorithms/partition.cc: Likewise.
2882 * testsuite/25_algorithms/rotate.cc: Likewise.
2883 * testsuite/25_algorithms/sort.cc: Likewise.
2884 * testsuite/26_numerics/c_math.cc: Likewise.
2885 * testsuite/26_numerics/complex_inserters_extractors.cc: Likewise.
2886 * testsuite/26_numerics/complex_value.cc: Likewise.
2887 * testsuite/27_io/filebuf.cc: Likewise.
2888 * testsuite/27_io/filebuf_members.cc: Likewise.
2889 * testsuite/27_io/filebuf_virtuals.cc: Likewise.
2890 * testsuite/27_io/fpos.cc: Likewise.
2891 * testsuite/27_io/fstream_members.cc: Likewise.
2892 * testsuite/27_io/ifstream_members.cc: Likewise.
2893 * testsuite/27_io/ios_base_callbacks.cc: Likewise.
2894 * testsuite/27_io/ios_base_members_static.cc: Likewise.
2895 * testsuite/27_io/ios_base_storage.cc: Likewise.
2896 * testsuite/27_io/ios_ctor.cc: Likewise.
2897 * testsuite/27_io/ios_init.cc: Likewise.
2898 * testsuite/27_io/ios_manip_basefield.cc: Likewise.
2899 * testsuite/27_io/ios_manip_fmtflags.cc: Likewise.
2900 * testsuite/27_io/ios_members.cc: Likewise.
2901 * testsuite/27_io/istream_extractor_arith.cc: Likewise.
2902 * testsuite/27_io/istream_extractor_char.cc: Likewise.
2903 * testsuite/27_io/istream_extractor_other.cc: Likewise.
2904 * testsuite/27_io/istream_manip.cc: Likewise.
2905 * testsuite/27_io/istream_seeks.cc: Likewise.
2906 * testsuite/27_io/istream_sentry.cc: Likewise.
2907 * testsuite/27_io/istream_unformatted.cc: Likewise.
2908 * testsuite/27_io/istringstream_members.cc: Likewise.
2909 * testsuite/27_io/narrow_stream_objects.cc: Likewise.
2910 * testsuite/27_io/ofstream_members.cc: Likewise.
2911 * testsuite/27_io/ostream_inserter_arith.cc: Likewise.
2912 * testsuite/27_io/ostream_inserter_char.cc: Likewise.
2913 * testsuite/27_io/ostream_inserter_other.cc: Likewise.
2914 * testsuite/27_io/ostream_manip.cc: Likewise.
2915 * testsuite/27_io/ostream_seeks.cc: Likewise.
2916 * testsuite/27_io/ostream_unformatted.cc: Likewise.
2917 * testsuite/27_io/ostringstream_members.cc: Likewise.
2918 * testsuite/27_io/streambuf.cc: Likewise.
2919 * testsuite/27_io/stringbuf.cc: Likewise.
2920 * testsuite/27_io/stringbuf_virtuals.cc: Likewise.
2921 * testsuite/27_io/stringstream.cc: Likewise.
2922 * testsuite/27_io/stringstream_members.cc: Likewise.
2923 * testsuite/27_io/wide_stream_objects.cc: Likewise.
2925 2001-07-31 Loren J. Rittle <ljrittle@acm.org>
2927 * src/gen-num-limits.cc: Use __LONG_LONG_MAX__.
2929 2001-07-30 Benjamin Kosnik <bkoz@redhat.com>
2931 * configure.target: Remove mips from cpu table.
2932 * config/cpu/mips/bits/atomicity.h: Remove generic
2933 versions. Comment sgidefs include.
2935 2001-07-25 H.J. Lu <hjl@gnu.org>
2937 * configure.target (cpu_include_dir): Set to `config/cpu/mips'
2940 * config/cpu/mips/bits/atomicity.h: New.
2942 2001-07-25 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
2944 * acinclude.m4: CHECK_MATH_DECL_AND_LINKAGE for hypot, hypotf,
2945 hypotl, atan2f, atan2l. Remove from REPLACE_MATHFUNCS list.
2946 * aclocal.m4: Regenerate.
2947 * config.h.in: Likewise.
2948 * configure: Likewise.
2949 * libmath/Makefile.am (EXTRA_LONG_DOUBLE_yes): Remove hypotl.c
2950 (EXTRA_DIST): Remove hypot.c hypotf.c.
2951 * libmath/Makefile.am: Regenerate.
2952 * libmath/hypotf.c: Remove.
2953 * libmath/hypot.c: Likewise.
2954 * libmath/hypotl.c: Likewise.
2955 * libmath/stubs.c: The macros seen here are HAVE_xxx, not
2956 _GLIBCPP_HAVE_xxx. Add long double versions.
2958 2001-07-23 David Edelsohn <edelsohn@gnu.org>
2960 * include/bits/limits_generic.h (int): Set digits and digits10
2961 appropriately for word size.
2962 (unsigned int,long,unsigned long): Likewise.
2964 2001-07-19 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
2966 * include/bits/stl_algo.h : Fix typos.
2967 * testsuite/25_algorithms/unique.cc: New file.
2969 2001-07-19 Phil Edwards <pme@sources.redhat.com>
2970 Mark Mitchell <mark@codesourcery.com>
2972 Merge from cp-parser-branch.
2973 * include/bits/basic_string.h: Qualify symbols with 'template'.
2974 * include/bits/basic_string.tcc: Likewise.
2975 * include/bits/fstream.tcc: Likewise.
2976 * include/bits/istream.tcc: Likewise.
2977 * include/bits/sstream.tcc: Likewise.
2978 * include/bits/std_istream.h: Likewise.
2979 * include/bits/stl_iterator.h: Likewise.
2980 * include/bits/streambuf.tcc: Likewise.
2981 * src/gen-num-limits.cc: Add 'template<>' to specializations.
2982 * src/locale.cc: Likewise.
2984 2001-07-19 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
2985 Bert De Knuydt <Bert.Deknuydt@esat.kuleuven.ac.be>
2987 * src/gen-num-limits.cc (set_signals_handler): New function.
2988 Factor out signals setting. Set signal handler for SIGILL.
2990 2001-07-18 Phil Edwards <pme@sources.redhat.com>
2992 * docs/html/27_io/howto.html: Fix typo.
2993 * docs/html/faq/index.html: Minor updates for 3.0 all around.
2994 * docs/html/faq/index.txt: Regenerated.
2996 2001-07-18 Stephen M. Webb <stephen@bregmasoft..com>
2997 Roman Sulzhyk <roman_sulzhyk@yahoo.com>
3000 * include/bits/ostream.tcc (ostream::put): Fixed error condition check.
3001 * testsuite/27_io/streambuf.cc (test07): Added new regression test.
3003 2001-07-17 Stephen M. Webb <stephen@bregmasoft.com>r
3005 All occurrences of the __value_type() and __distance_type()
3006 functions, which were required to support the HP STL, have been
3007 removed along with all the auxiliary forwarding functions that
3008 were required to support their use.
3010 The __iterator_category() function was pretty much left alone
3011 because there was no benefit to removing it and its use made code
3012 just a little more readable.
3014 Incidences of distance() with nonstandard argument list were
3015 replaced by calls to the standard function (only in the files
3016 affected by the removal of the other HP functions).
3018 The signature of the rotate() algorithm was changed to match the
3021 Headers were reformatted under C++STYLE guidelines (indentation,
3022 linebreaks, typename keyword).
3024 * include/bits/stl_algo.h: replaced __value_type() and
3025 __distance_type() with iterator_traits, eliminated auxiliary
3026 support functions required to support said function usage.
3027 Changed nonstandard distance() call to standard call.
3029 * include/bits/stl_algobase.h: Same.
3030 * include/bits/stl_heap.h: Same.
3031 * include/bits/stl_numeric.h: Same.
3032 * include/bits/stl_uninitialized.h: Same.
3033 * include/bits/stl_iterator_base_types.h (__value_type()):
3035 (__distance_type()): Removed.
3036 (value_type()): Gone.
3037 (distance_type()): Done in.
3038 (iterator_category()): Hasta la vista, baby.
3040 * include/bits/stl_iterator_base_funcs.h (iterator_category()):
3041 Replaced with __iterator_category().
3042 * include/backward/iterator.h: moved definition of value_type(),
3043 distance_type(), and iterator_category() out of std:: and into
3045 * testsuite/23_containers/vector_ctor.cc (test03): New testcases.
3046 * testsuite/23_containers/vector_modifiers.cc (test03): New testcases.
3047 * testsuite/25_algorithms/rotate.cc: New testcase.
3048 * testsuite/25_algorithms/copy.cc: New testcase.
3049 * testsuite/25_algorithms/sort.cc: Same.
3050 * testsuite/25_algorithms/heap.cc: Same.
3051 * testsuite/25_algorithms/partition.cc: Same.
3052 * testsuite/25_algorithms/binary_search.cc: Same.
3053 * testsuite/26_numerics/sum_diff.cc: Ditto.
3055 001-07-17 Benjamin Kosnik <bkoz@redhat.com>
3057 * testsuite/README: Add notes on naming test cases.
3058 * testsuite/22_locale/members.cc: Mark as xfail.
3059 * testsuite/22_locale/numpunct_char_members.cc: Same.
3061 2001-07-16 Stephen M. Webb <stephen@bregmasoft.com>
3063 * acinclude.m4 (GLIBCPP_ENABLE_CHEADERS): Use glibcpp_srcdir when
3064 setting C_INCLUDE_DIR.
3065 * configure.in: Revert yesterday's LN_S change.
3066 * aclocal.m4: Regenerate.
3067 * configure: Regenerate.
3069 2001-07-15 Phil Edwards <pme@sources.redhat.com>
3071 * configure.in: Temporarily force LN_S to copy instead of symlink.
3072 * configure: Regenerate.
3074 2001-07-13 Phil Edwards <pme@sources.redhat.com>
3076 * include/bits/std_sstream.h (basic_stringbuf::basic_stringbuf(string):
3077 Initialize _M_string with pointer-and-size constructor, not just
3078 pointer. Fix some comments.
3079 * testsuite/21_strings/ctor_copy_dtor.cc (test03): New test.
3080 * testsuite/27_io/stringbuf.cc (test02): Remove unused variable.
3081 (test03): Add embedded-NUL tests.
3083 * mkcheck.in: When printing totals, match the order of the tests.
3084 * include/bits/stringfwd.h: Use same declaration keywords.
3085 * include/bits/std_iosfwd.h: Cosmetic spacing.
3087 2001-07-13 Stephen M. Webb <stephen@bregmasoft.com>
3088 Loren J. Rittle <ljrittle@acm.org>
3089 Phil Edwards <pme@sources.redhat.com>
3091 * include/Makefile.am: New file encapsulating header generation rules.
3092 * Makefile.am (SUBDIRS): Prepend 'include' directory.
3093 * acinclude.m4: Moved/removed rules for building various headers.
3094 * configure.in (AC_OUTPUT): Add include/Makefile.
3095 * mkc++config: Removed.
3097 * testsuite_flags.in: Changed build-includes to match new scheme.
3098 * mknumeric_limits: Likewise.
3099 * libio/Makefile.am: Changed INCLUDES to maatch new header scheme.
3100 * libmath/Makefile.am: Likewise.
3101 * libsupc++/Makefile.am: Likewise.
3102 * src/Makefile.am: Likewise; removed rules to build headers.
3103 * libmath/mathconf.h: Changed #include'd header names to match.
3104 * libmath/stubs.c: Likewise.
3105 * src/gen-num-limits.cc: Likewise.
3107 * configure: Regenerated.
3108 * config.h.in: Regenerated.
3109 * aclocal.m4: Regenerated.
3110 * Makefile.in: Regenerated.
3111 * include/Makefile.in: Regenerated.
3112 * libio/Makefile.in: Regenerated.
3113 * libmath/Makefile.in: Regenerated.
3114 * libsupc++/Makefile.in: Regenerated.
3115 * src/Makefile.in: Regenerated.
3116 * testsuite/Makefile.in: Regenerated.
3118 2001-07-11 Felix Natter <fnatter@gmx.net>
3120 * docs/html/17_intro/porting-howto.xml: Initial checkin of
3122 * docs/html/17_intro/porting-howto.html: check in v0.9.3
3124 2001-07-11 Phil Edwards <pme@sources.redhat.com>
3126 * docs/doxygen/run_doxygen: Don't keep output from previous run.
3127 * docs/doxygen/user.cfg.in: Tweaks.
3128 * include/bits/c++config: Documentation comments for Doxygen.
3129 * include/bits/char_traits.h: Likewise.
3130 * include/bits/limits_generic.h: Likewise.
3131 * include/bits/std_stdexcept.h: Likewise.
3132 * include/bits/stl_pair.h: Likewise.
3133 * libsupc++/exception: Likewise.
3134 * libsupc++/new: Likewise.
3135 * libsupc++/typeinfo: Likewise.
3136 * libmath/Makefile.am: Update and correct copyright.
3138 2001-07-10 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
3140 * acinclude.m4: Don't AC_REPLACE_MATHFUNCS expf and atan2f.
3141 * aclocal.m4: Regenerate.
3144 2001-07-09 Phil Edwards <pme@sources.redhat.com>
3146 * docs/html/configopts.html: Fix thinko.
3147 * docs/html/27_io/howto.html: Fix thinko and HTML markup.
3148 * include/bits/stl_iterator.h: Fix typo.
3150 2001-07-09 Phil Edwards <pme@sources.redhat.com>
3152 * docs/html/explanations.html: New file.
3153 * docs/html/configopts.html: Link to it to provide more notes
3154 on cstdio. Minor markup and spacing fixes.
3155 * docs/html/27_io/howto.html: Talk about sync_with_stdio.
3157 2001-07-09 Kriang Lerdsuwanakij <lerdsuwa@users.sourceforge.net>
3159 * include/bits/valarray_meta.h (_Expr::operator+): Use qualified id
3160 for _Expr template template argument.
3161 (_Expr::operator-): Likewise.
3162 (_Expr::operator~): Likewise.
3163 (_Expr::operator!): Likewise.
3164 (_DEFINE_EXPR_UNARY_OPERATOR): Likewise.
3166 2001-07-06 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
3168 * libmath/Makefile.am (EXTRA_DIST): Remove atan2f.c and expf.c
3169 * libmath/Makefile.in: Regenerate.
3170 * libmath/expf.c: Remove.
3171 * libmath/atan2f.c: Likewise.
3173 2001-07-06 Daniel Jacobowitz <drow@mvista.com>
3175 * configure.in: Remove NATIVE, NULL_TARGET.
3176 Set CANADIAN only for Canadian crosses. Set xcompiling
3177 for both Canadian crosses and host-x-host crosses.
3178 * configure: Regenerated.
3180 2001-07-06 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
3182 * include/bits/stl_vector.h (vector::_M_initialize_aux): Fix typo.
3184 2001-07-05 Jason Merrill <jason_merrill@redhat.com>
3186 * testsuite_flags.in (--build-includes): backward, not backwards.
3188 2001-07-04 Jeffrey Oldham <oldham@codesourcery.com>
3190 * include/ext/ropeimpl.h (_Rope_RopeRep::_M_free_c_string):
3191 Replace destroy by _Destroy.
3192 (_Rope_RopeRep::_S_free_string): Likewise.
3193 (rope::c_str()): Likewise.
3194 * include/ext/slist (_Slist_base::_M_erase_after>): Likewise.
3195 (_Slist_base::_M_erase_after): Likewise.
3196 (slist::_M_create_node): Replace construct by _Construct.
3197 (slist::pop_front): Replace destroy by _Destroy.
3198 * include/ext/stl_hashtable.h (hashtable::_M_new_node): Replace
3199 construct by _Construct.
3200 (hashtable::_M_delete_node): Replace destroy by _Destroy.
3201 * include/ext/stl_rope.h (rope::rope): Replace construct by
3203 (rope::copy): Replace destroy by _Destroy.
3205 2001-07-03 Benjamin Kosnik <bkoz@redhat.com>
3207 * include/bits/localefwd.h: Format.
3208 * include/bits/locale_facts.tcc (locale::combine): Adjust.
3209 * src/locale.cc (locale::locale::(_Impl)): Don't call
3211 (locale::facet::_M_remove_reference): Simplify.
3212 * src/globals.cc (locale_impl_c): New. Format.
3214 * src/ios.cc (ios_base::Init::Init): Increment _S_ios_base_init last.
3216 2001-07-02 Loren J. Rittle <ljrittle@acm.org>
3218 * acinclude.m4 (GLIBCPP_ENABLE_THREADS): Protect variable from shell
3219 expansion (thanks to Alexandre Oliva).
3220 * aclocal.m4: Regenerate.
3221 * configure: Regenerate.
3223 2001-07-02 Benjamin Kosnik <bkoz@redhat.com>
3225 * src/locale.cc (locale::locale(const char*)): Make sure global
3226 locales are initialized.
3227 * include/bits/locale_facets.tcc (locale::combine): Refcout should
3228 be zero, not one as it's return-by-value.
3229 * testsuite/27_io/ios_base_callbacks.cc (test01): Don't check for
3231 * testsuite/22_locale/ctor_copy_dtor.cc (test01): Instead, check
3234 * libsupc++/eh_alloc.cc: Use climits, not limits.h.
3236 2001-07-02 Loren J. Rittle <ljrittle@acm.org>
3239 * acinclude.m4 (GLIBCPP_ENABLE_THREADS): Portability enhancement.
3240 * aclocal.m4: Regenerate.
3241 * configure: Regenerate.
3243 2001-07-02 Loren J. Rittle <ljrittle@acm.org>
3246 * acinclude.m4 (GLIBCPP_ENABLE_THREADS): Add relative path to
3247 staged/installed area to support -I-. Document.
3248 * aclocal.m4: Regenerate.
3249 * configure: Regenerate.
3251 2001-07-02 Loren J. Rittle <ljrittle@acm.org>
3254 * src/ios.cc (ios_base::Init::_S_ios_create): Rename __bufsize to
3255 __out_bufsize. Add __in_bufsize, document it and use it.
3257 2001-07-01 Stephen M. Webb <stephen@bregmasoft.com>
3259 * include/bits/stl_construct.h (construct): Remove.
3261 (__destroy): Replaced by use of iterator_traits.
3262 * include/bits/stl_deque.h: replaced HP iterator functions with
3264 (construct): changed to _Construct.
3265 (destroy): changed to _Destroy.
3266 * include/bits/stl_tempbuf.h: Same.
3267 * include/bits/stl_tree.h: Same.
3268 * include/bits/stl_vector.h: Same.
3269 * include/backward/iterator.h (construct): moved definition to here.
3272 2001-06-29 Benjamin Kosnik <bkoz@redhat.com>
3274 * include/bits/locale_facets.tcc (locale::combine): Clone _Impl.
3275 before replacing facet.
3276 * include/bits/localefwd.h (locale::_Impl::_M_remove_reference):
3278 * src/localename.cc (locale::_Impl): Correct ctor initialization
3279 lists. Initialize ref count with one. Simplify.
3280 * src/locale.cc: Add comment.
3281 * testsuite/22_locale/numpunct.cc (test01): Add derivation test.
3282 * testsuite/22_locale/numpunct_char_members.cc (test01): Add tests.
3283 * testsuite/22_locale/members.cc (test02): Fix.
3285 2001-06-27 Phil Edwards <pme@sources.redhat.com>
3287 * include/backward/algo.h: Add "GPL plus runtime exception" comment
3288 block, this time for real.
3289 * include/backward/algobase.h: Likewise.
3290 * include/backward/alloc.h: Likewise.
3291 * include/backward/bvector.h: Likewise.
3292 * include/backward/defalloc.h: Likewise.
3293 * include/backward/deque.h: Likewise.
3294 * include/backward/function.h: Likewise.
3295 * include/backward/hash_map.h: Likewise.
3296 * include/backward/hash_set.h: Likewise.
3297 * include/backward/hashtable.h: Likewise.
3298 * include/backward/heap.h: Likewise.
3299 * include/backward/iterator.h: Likewise.
3300 * include/backward/list.h: Likewise.
3301 * include/backward/map.h: Likewise.
3302 * include/backward/multimap.h: Likewise.
3303 * include/backward/multiset.h: Likewise.
3304 * include/backward/pair.h: Likewise.
3305 * include/backward/rope.h: Likewise.
3306 * include/backward/set.h: Likewise.
3307 * include/backward/slist.h: Likewise.
3308 * include/backward/stack.h: Likewise.
3309 * include/backward/strstream: Likewise.
3310 * include/backward/tempbuf.h: Likewise.
3311 * include/backward/tree.h: Likewise.
3312 * include/backward/vector.h: Likewise.
3313 * include/bits/pthread_allocimpl.h: Likewise.
3314 * include/bits/std_algorithm.h: Likewise.
3315 * include/bits/std_bitset.h: Likewise.
3316 * include/bits/std_deque.h: Likewise.
3317 * include/bits/std_functional.h: Likewise.
3318 * include/bits/std_iterator.h: Likewise.
3319 * include/bits/std_list.h: Likewise.
3320 * include/bits/std_map.h: Likewise.
3321 * include/bits/std_memory.h: Likewise.
3322 * include/bits/std_numeric.h: Likewise.
3323 * include/bits/std_queue.h: Likewise.
3324 * include/bits/std_set.h: Likewise.
3325 * include/bits/std_stack.h: Likewise.
3326 * include/bits/std_utility.h: Likewise.
3327 * include/bits/std_vector.h: Likewise.
3328 * include/bits/stl_algo.h: Likewise.
3329 * include/bits/stl_algobase.h: Likewise.
3330 * include/bits/stl_alloc.h: Likewise.
3331 * include/bits/stl_bvector.h: Likewise.
3332 * include/bits/stl_construct.h: Likewise.
3333 * include/bits/stl_deque.h: Likewise.
3334 * include/bits/stl_function.h: Likewise.
3335 * include/bits/stl_heap.h: Likewise.
3336 * include/bits/stl_iterator.h: Likewise.
3337 * include/bits/stl_iterator_base_funcs.h: Likewise.
3338 * include/bits/stl_iterator_base_types.h: Likewise.
3339 * include/bits/stl_list.h: Likewise.
3340 * include/bits/stl_map.h: Likewise.
3341 * include/bits/stl_multimap.h: Likewise.
3342 * include/bits/stl_multiset.h: Likewise.
3343 * include/bits/stl_numeric.h: Likewise.
3344 * include/bits/stl_pair.h: Likewise.
3345 * include/bits/stl_pthread_alloc.h: Likewise.
3346 * include/bits/stl_queue.h: Likewise.
3347 * include/bits/stl_raw_storage_iter.h: Likewise.
3348 * include/bits/stl_relops.h: Likewise.
3349 * include/bits/stl_set.h: Likewise.
3350 * include/bits/stl_stack.h: Likewise.
3351 * include/bits/stl_tempbuf.h: Likewise.
3352 * include/bits/stl_threads.h: Likewise.
3353 * include/bits/stl_tree.h: Likewise.
3354 * include/bits/stl_uninitialized.h: Likewise.
3355 * include/bits/stl_vector.h: Likewise.
3356 * include/bits/type_traits.h: Likewise.
3357 * include/ext/hash_map: Likewise.
3358 * include/ext/hash_set: Likewise.
3359 * include/ext/rope: Likewise.
3360 * include/ext/ropeimpl.h: Likewise.
3361 * include/ext/slist: Likewise.
3362 * include/ext/stl_hash_fun.h: Likewise.
3363 * include/ext/stl_hashtable.h: Likewise.
3364 * include/ext/stl_rope.h: Likewise.
3365 * src/bitset.cc: Likewise.
3366 * src/strstream.cc: Likewise.
3368 2001-06-26 Benjamin Kosnik <bkoz@redhat.com>
3369 <vakatov@ncbi.nlm.nih.gov>
3372 * include/bits/streambuf.tcc (__copy_streambufs): Don't set eofbit.
3373 * testsuite/27_io/ostream_inserter_other.cc (test04): Add test.
3374 * testsuite/27_io/istream_extractor_other.cc: Fix.
3376 2001-06-26 Zoltan Hidvegi <hzoli@austin.ibm.com>
3378 * acinclude.m4 (glibcpp_toolexeclibdir): Make multilib safe.
3379 * aclocal.m4: Regenerate.
3380 * configure: Regenerate.
3382 2001-06-26 Benjamin Kosnik <bkoz@redhat.com>
3384 * include/bits/stream_iterator.h (istream_iterator): Add copy ctor.
3385 (ostream_iterator): Same.
3386 * include/bits/stl_iterator.h (front_insert_iterator::operator=):
3387 Change argument to const_reference.
3388 (back_insert_iterator): Same.
3390 2001-06-26 Benjamin Kosnik <bkoz@redhat.com>
3392 * include/bits/sbuf_iter.h: Change to..
3393 * include/bits/streambuf_iterator.h: This.
3394 * include/bits/stl_iterator.h: Take out of here...
3395 * include/bits/stream_iterator.h: Add.
3396 * src/Makefile.am (base_headers): Add streambuf_iterator,
3398 * src/Makefile.in: Regenerate.
3399 * include/bits/std_string.h: Adjust includes.
3400 * include/bits/basic_ios.h: Same.
3401 * include/bits/locale_facets.tcc: Same.
3402 * include/bits/std_iosfwd.h: Same.
3404 * include/bits/std_iterator.h: Add istream, ostream includes.
3405 * include/bits/stl_iterator.h: Tweak.
3406 * testsuite/24_iterators/ostream_iterator.cc: Add test.
3407 * testsuite/24_iterators/istream_iterator.cc: Same.
3408 * testsuite/23_containers/multiset.cc: Add iterator include.
3410 2001-06-26 Phil Edwards <pme@sources.redhat.com>
3412 * acinclude.m4: Clean extraneous tabs, rewrap 'test' lines.
3413 * aclocal.m4: Regenerate.
3414 * configure: Regenerate.
3416 2001-06-26 Felix Natter <f.natter@ndh.net>
3418 * docs/html/17_intro/porting-howto.html: Fixed some errors.
3420 2001-06-26 Benjamin Kosnik <bkoz@redhat.com>
3422 * include/bits/stl_iterator.h (istream_iterator::operator->): Fix
3424 (istream_iterator::operator*): Same.
3426 2001-06-26 Benjamin Kosnik <bkoz@redhat.com>
3427 Alexandre Petit-Bianco <apbianco@redhat.com>
3429 * testsuite/21_strings/element_access.cc (test01): Chill Out Cafe
3430 is on 41st, not 14th.
3432 2001-06-26 Benjamin Kosnik <bkoz@redhat.com>
3434 * include/bits/std_iterator.h: Include sbuf_iter.h via std_ios.h.
3436 * include/bits/stl_iterator.h (istream_iterator): Inherit from
3438 (ostream_iterator): Same.
3439 * testsuite/24_iterators/istream_iterator.cc: New file.
3440 * testsuite/24_iterators/ostream_iterator.cc: New file.
3442 * include/bits/sbuf_iter.h: Remove self typedef.
3443 * testsuite/24_iterators/ostreambuf_iterator.cc: Add test.
3444 * testsuite/24_iterators/istreambuf_iterator.cc: Add test.
3446 * include/bits/stl_iterator.h (reverse_iterator): Remove
3447 extraneous typedefs. Add typename.
3448 (__normal_iterator): Remove typedefs referring to self. Add typename.
3449 (reverse_bidiretional_iterator): Remove, not longer required.
3451 2001-06-26 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
3453 * include/bits/stl_iterator.h (__normal_iterator<>): Qualify
3454 dependent names with `typename'. Bring in various required
3455 iterator_traits members. Can't imagine why that used to work.
3457 2001-06-25 Phil Edwards <pme@sources.redhat.com>
3458 Kurt Garloff <garloff@suse.de>
3461 * src/cmath.cc: New [version of an old] file; instantiate
3462 __cmath_power to start with.
3463 * src/Makefile.am (sources): Add cmath.cc (and alphabetize).
3464 * Makefile.in: Regenerate.
3465 * libio/Makefile.in: Regenerate.
3466 * libmath/Makefile.in: Regenerate.
3467 * libsupc++/Makefile.in: Regenerate.
3468 * src/Makefile.in: Regenerate.
3469 * testsuite/Makefile.in: Regenerate.
3471 2001-06-24 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
3473 * libmath/stubs.c: Fix thinko.
3475 2001-06-24 David Edelsohn <dje@watson.ibm.com>
3477 * libmath/stubs.c (sqrtf): Define.
3478 (tanf): Correct typo.
3480 2001-06-22 Benjamin Kosnik <bkoz@redhat.com>
3482 * include/bits/stl_iterator.h (reverse_iterator): Inherit from
3484 (back_insert_iterator): Same.
3485 (front_insert_iterator): Same.
3486 (insert_iterator): Same.
3488 * testsuite/20_util/raw_storage_iterator.cc: Modify.
3489 * testsuite/24_iterators/reverse_iterator.cc: New file.
3490 * testsuite/24_iterators/back_insert_iterator.cc: New file.
3491 * testsuite/24_iterators/front_insert_iterator.cc: New file.
3492 * testsuite/24_iterators/insert_iterator.cc: New file.
3494 2001-06-22 Phil Edwards <pme@sources.redhat.com>
3496 * include/*: Revert comment/license change from yesterday for all
3497 except libsupc++/unwind-cxx.h.
3498 * src/bitset.cc: Likewise.
3499 * src/strstream.cc: Likewise.
3501 2001-06-22 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
3503 * libmath/stubs.c: New file.
3507 * libmath/Makefile.am (libmath_la_SOURCES): Add.
3508 * libmath/Makefile.in. Regenerate.
3510 2001-06-21 Phil Edwards <pme@sources.redhat.com>
3512 * include/backward/algo.h: Add "GPL plus runtime exception" comment.
3513 * include/backward/algobase.h: Likewise.
3514 * include/backward/alloc.h: Likewise.
3515 * include/backward/bvector.h: Likewise.
3516 * include/backward/defalloc.h: Likewise.
3517 * include/backward/deque.h: Likewise.
3518 * include/backward/function.h: Likewise.
3519 * include/backward/hash_map.h: Likewise.
3520 * include/backward/hash_set.h: Likewise.
3521 * include/backward/hashtable.h: Likewise.
3522 * include/backward/heap.h: Likewise.
3523 * include/backward/iterator.h: Likewise.
3524 * include/backward/list.h: Likewise.
3525 * include/backward/map.h: Likewise.
3526 * include/backward/multimap.h: Likewise.
3527 * include/backward/multiset.h: Likewise.
3528 * include/backward/pair.h: Likewise.
3529 * include/backward/rope.h: Likewise.
3530 * include/backward/set.h: Likewise.
3531 * include/backward/slist.h: Likewise.
3532 * include/backward/stack.h: Likewise.
3533 * include/backward/strstream: Likewise.
3534 * include/backward/tempbuf.h: Likewise.
3535 * include/backward/tree.h: Likewise.
3536 * include/backward/vector.h: Likewise.
3537 * include/bits/pthread_allocimpl.h: Likewise.
3538 * include/bits/std_algorithm.h: Likewise.
3539 * include/bits/std_bitset.h: Likewise.
3540 * include/bits/std_deque.h: Likewise.
3541 * include/bits/std_functional.h: Likewise.
3542 * include/bits/std_iterator.h: Likewise.
3543 * include/bits/std_list.h: Likewise.
3544 * include/bits/std_map.h: Likewise.
3545 * include/bits/std_memory.h: Likewise.
3546 * include/bits/std_numeric.h: Likewise.
3547 * include/bits/std_queue.h: Likewise.
3548 * include/bits/std_set.h: Likewise.
3549 * include/bits/std_stack.h: Likewise.
3550 * include/bits/std_utility.h: Likewise.
3551 * include/bits/std_vector.h: Likewise.
3552 * include/bits/stl_algo.h: Likewise.
3553 * include/bits/stl_algobase.h: Likewise.
3554 * include/bits/stl_alloc.h: Likewise.
3555 * include/bits/stl_bvector.h: Likewise.
3556 * include/bits/stl_construct.h: Likewise.
3557 * include/bits/stl_deque.h: Likewise.
3558 * include/bits/stl_function.h: Likewise.
3559 * include/bits/stl_heap.h: Likewise.
3560 * include/bits/stl_iterator.h: Likewise.
3561 * include/bits/stl_iterator_base_funcs.h: Likewise.
3562 * include/bits/stl_iterator_base_types.h: Likewise.
3563 * include/bits/stl_list.h: Likewise.
3564 * include/bits/stl_map.h: Likewise.
3565 * include/bits/stl_multimap.h: Likewise.
3566 * include/bits/stl_multiset.h: Likewise.
3567 * include/bits/stl_numeric.h: Likewise.
3568 * include/bits/stl_pair.h: Likewise.
3569 * include/bits/stl_pthread_alloc.h: Likewise.
3570 * include/bits/stl_queue.h: Likewise.
3571 * include/bits/stl_raw_storage_iter.h: Likewise.
3572 * include/bits/stl_relops.h: Likewise.
3573 * include/bits/stl_set.h: Likewise.
3574 * include/bits/stl_stack.h: Likewise.
3575 * include/bits/stl_tempbuf.h: Likewise.
3576 * include/bits/stl_threads.h: Likewise.
3577 * include/bits/stl_tree.h: Likewise.
3578 * include/bits/stl_uninitialized.h: Likewise.
3579 * include/bits/stl_vector.h: Likewise.
3580 * include/bits/type_traits.h: Likewise.
3581 * include/ext/hash_map: Likewise.
3582 * include/ext/hash_set: Likewise.
3583 * include/ext/rope: Likewise.
3584 * include/ext/ropeimpl.h: Likewise.
3585 * include/ext/slist: Likewise.
3586 * include/ext/stl_hash_fun.h: Likewise.
3587 * include/ext/stl_hashtable.h: Likewise.
3588 * include/ext/stl_rope.h: Likewise.
3589 * libsupc++/unwind-cxx.h: Likewise.
3590 * src/bitset.cc: Likewise.
3591 * src/strstream.cc: Likewise.
3593 2001-06-21 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
3595 * include/bits/indirect_array.h (indirect_array<>::operator=):
3596 Make copy and assignment operator public. Implement. Format.
3598 * include/bits/valarray_array.h (__valarray_copy): Add overloads
3599 for copy between index arrays. Format.
3601 2001-06-19 Benjamin Kosnik <bkoz@redhat.com>
3603 * mknumeric_limits: Add static definitions, format.
3604 * testsuite/18_support/numeric_limits.cc (test02): Add test.
3606 * include/c_std/bits/std_cwchar.h: Include ctime.
3607 * testsuite/17_intro/header_cwchar.cc : Check.
3609 * include/c_std/bits/std_cwctype.h: Inject wctype.
3610 * testsuite/17_intro/header_cwctype.cc: Update.
3612 2001-06-18 Benjamin Kosnik <bkoz@redhat.com>
3614 * include/bits/stl_raw_storage_iter.h: Format. Correct derivation.
3615 * testsuite/20_util/raw_storage_iterator.cc: Same.
3617 * include/bits/stl_alloc.h (_S_chunk_alloc): Change malloc to
3619 (__mem_interface): New typedef for switching between malloc and new.
3620 * testsuite/20_util/allocator_members.cc: New file.
3622 * testsuite/20_util/comparisons.cc: New file.
3623 * testsuite/20_util/pairs.cc: New file.
3625 2001-06-15 Phil Edwards <pme@sources.redhat.com>
3627 * docs/html/documentation.html: Point to new doxygen'ed collection.
3629 2001-06-14 Nathan Sidwell <nathan@codesourcery.com>
3631 * configure.in (auxdir): Replace by ...
3632 (toprel): ... new variable.
3633 (toplevel_srcdir): Construct from $toprel.
3634 * acinclude.m4 (GLIBCPP_ENABLE_THREADS): Use $toprel
3635 rather than .. to locate gcc source directory.
3636 (GLIBCPP_CONFIGURE): Replace $auxdir with $srcdir/$toprel.
3637 * aclocal.m4, configure: Rebuilt.
3639 2001-06-13 John David Anglin <dave@hiauly1.hia.nrc.ca>
3641 (Approved by Mark and Benjamin. Applied by Loren.)
3643 * src/globals.cc: Define globals _GLIBCPP_mutex_init (),
3644 _GLIBCPP_mutex_address_init (), _GLIBCPP_once, _GLIBCPP_mutex
3645 and _GLIBCPP_mutex_address.
3646 * include/bits/stl_threads.h (_STL_mutex_lock): Use above to provide
3647 once-only runtime initialization of _M_lock mutex when
3648 __GTHREAD_MUTEX_INIT_FUNCTION is defined.
3649 (__STL_MUTEX_INITIALIZER): Provide initializer for _STL_mutex_lock
3650 for __GTHREAD_MUTEX_INIT_FUNCTION case.
3652 2001-06-13 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
3654 * testsuite/26_numerics/slice_array_assignment.cc (main): New test.
3656 * include/bits/slice_array.h (slice_array<>::operator=): Make
3657 public and implement.
3658 (slice_array<>::slice_array): Make copy-constructor public.
3660 * include/bits/valarray_array.h (__valarray_copy): Add another
3661 overload to copy between strided arrays.
3663 2001-06-13 Benjamin Kosnik <bkoz@redhat.com>
3665 * acinclude.m4 (GLIBCPP_CONFIGURE): Bump version to 3.0.0.
3666 * aclocal.m4: Regenerate.
3667 * configure: Regenerate.
3668 * include/bits/c++config (__GLIBCPP__): Update date.
3670 2001-06-12 Benjamin Kosnik <bkoz@redhat.com>
3672 * include/bits/fpos.h (fpos::operator-): Don't return reference,
3673 return original, non-modified version.
3674 (fpos::operator+): Same.
3675 * testsuite/27_io/fpos.cc: Add test.
3677 2001-06-12 Loren J. Rittle <ljrittle@acm.org>
3680 * porting.texi: Add documentation about libstdc++-v3-specific
3681 macros that are currently included in os_defines.h files.
3683 * config/basic_file_stdio.h (sys_getc): New method.
3684 (sys_ungetc): New method.
3685 * include/bits/basic_file.h: (sys_getc): New method signature.
3686 (sys_ungetc): New method signature.
3688 * include/bits/fstream.tcc (underflow): Add conditional code
3689 paths which avoid using short seeks on streams (especially
3690 useful when the stream might be interactive or a pipe). At
3691 the moment, this alternate path only avoids seeking when the
3692 ``buffer size'' of underflow() is 1 since the C standard only
3693 guarantees buffer space for one ungetc (this technique could
3694 be extended since *-*-solaris* supports buffering for 4 calls
3695 to ungetc and *-*-*bsd* supports buffering limited only by
3696 memory resources). Also, _GLIBCPP_AVOID_FSEEK must be defined
3697 in a port's os_defines.h file for this alternate path to even
3698 be considered. As a bonus, the idiom of using getc/ungetc
3699 requires no system calls whereas fseek maps to one or two
3700 system call(s) on many platforms.
3702 * config/os/bsd/freebsd/bits/os_defines.h (_GLIBCPP_AVOID_FSEEK):
3704 * config/os/solaris/solaris2.5/bits/os_defines.h
3705 (_GLIBCPP_AVOID_FSEEK): Likewise.
3706 * config/os/solaris/solaris2.6/bits/os_defines.h
3707 (_GLIBCPP_AVOID_FSEEK): Likewise.
3708 * config/os/solaris/solaris2.7/bits/os_defines.h
3709 (_GLIBCPP_AVOID_FSEEK): Likewise.
3711 2001-06-12 Benjamin Kosnik <bkoz@redhat.com>
3713 * acinclude.m4 (GLIBCPP_CHECK_COMPILER_VERSION): Change to
3714 AC_TRY_COMPILE, so that the built compiler is checked, and
3715 bootstraps or cross compiles with an older compile still work.
3716 * aclocal.m4: Regenerate.
3717 * configure: Regenerate.
3719 2001-06-12 Benjamin Kosnik <bkoz@redhat.com>
3722 * include/bits/std_sstream.h: Add allocator_type, as per DR 251.
3725 * include/bits/istream.tcc (getline, get): Fix as per DR 243.
3728 * include/bits/std_bitset.h (bitset::set): Fix as per DR 186.
3731 * include/bits/limits_generic.h: Fix as per DR 184.
3733 2001-06-11 Benjamin Kosnik <bkoz@redhat.com>
3736 * include/bits/basic_string.h (string::compare): Adjust signatures
3738 * include/bits/basic_string.tcc: And here.
3741 * config/c_io_stdio.h: Remove whitespace.
3742 * testsuite/27_io/istream_seeks.cc (test03): Add regression.
3743 (test02): Add regression.
3744 * testsuite/27_io/istream_seeks-3.tst: New file.
3746 2001-06-11 Phil Edwards <pme@sources.redhat.com>
3748 * README: Update to reflect reality.
3749 * acinclude.m4: Update descriptions, fix typos. Comment changes only.
3750 * configure.in: Make certain target_alias is set and subst'd for 2.50.
3751 * aclocal.m4: Regenerate.
3752 * configure: Regenerate (with 2.13).
3754 2001-06-11 Benjamin Kosnik <bkoz@redhat.com>
3757 * include/bits/ostream.tcc (ostream::seekp): Add error checking as
3759 * include/bits/istream.tcc (istream::seekg): Same.
3760 * testsuite/27_io/istream_seeks.cc: Fix.
3763 * include/bits/stl_function.h (binder2nd): Fix as per DR 109.
3765 * include/bits/std_queue.h: Add c++config.h.
3766 * testsuite/20_util/binders.cc: New test.
3768 2001-06-11 Matthias Klose <doko@debian.org>
3769 Phil Edwards <pme@sources.redhat.com>
3771 * docs/doxygen/run_doxygen (find_doxygen): Tweak version check.
3772 (main script): Echo more information.
3774 2001-06-10 Benjamin Kosnik <bkoz@redhat.com>
3776 * include/c_std/bits/std_cwchar.h: Alphabetize.
3777 * include/bits/char_traits.h: Tweak.
3778 * acinclude.m4 (GLIBCPP_CHECK_WCHAR_T_SUPPORT): Check for
3779 everything used by std_cwchar.h.
3780 * aclocal.m4: Regenerate.
3781 * configure.in: Regenerate.
3782 * config.h.in: Regenerate.
3784 2001-06-10 Benjamin Kosnik <bkoz@redhat.com>
3786 * acinclude.m4 (GLIBCPP_ENABLE_C99): Add stdio.h checking.
3787 Add checking for strtof, _Exit in stdlib.h
3788 * aclocal.m4: Regenerate.
3789 * configure.in: Regenerate.
3790 * include/c_std/bits/std_cstdio.h: Alphabetize lists.
3791 (snprintf): Put C99 functions into __gnu_cxx namespace.
3796 * include/c_std/bits/std_cstdlib.h: Alphabetize lists. Put undefs
3797 for C99 functions within _GLIBCPP_USE_C99 guard.
3801 * include/bits/locale_facets.tcc: Check if C99 is enabled.
3802 * include/c_std/bits/std_cwchar.h (__gnu_cxx): Put undefs within
3804 * include/c_std/bits/cmath.tcc: Formatting tweak.
3805 * include/c_std/bits/std_cmath.h: Same.
3807 2001-06-10 Benjamin Kosnik <bkoz@redhat.com>
3809 * include/c_std/bits/std_cstdio.h: Include cstddef for size_t.
3811 2001-06-09 Alexandre Oliva <aoliva@redhat.com>
3812 Stephen L Moshier <moshier@mediaone.net>
3814 * acinclude.m4 (AC_EXEEXT): Work around in case it expands to
3815 nothing, as in autoconf 2.50.
3816 * configure: Rebuilt.
3818 2001-06-09 Benjamin Kosnik <bkoz@redhat.com>
3820 * include/c_std/bits/std_cwchar.h: Remove size_t injection,
3821 include std_cstddef.
3822 * include/c_std/bits/std_ctime.h: Same.
3823 * include/c_std/bits/std_cstring.h: Same.
3824 * include/c_std/bits/std_cstdlib.h: Same.
3826 * include/c_std/bits/std_cstdio.h: Remove vsnprintf, snprintf.
3827 * include/c_std/bits/std_cctype.h: Remove isblank.
3829 2001-06-09 Benjamin Kosnik <bkoz@redhat.com>
3831 * acinclude.m4 (GLIBCPP_CHECK_WCHAR_T_SUPPORT): Check for fgetwc,
3833 * aclocal.m4: Regenerate.
3834 * configure: Regenerate.
3835 * include/c_std/bits/std_cwchar.h: Remove duplicate fgetwc
3836 injection, guard fgetwc, fgetws.
3837 * include/c_std/bits/std_cstdio.h: Remove superfluous includes.
3838 * include/c_std/bits/std_clocale.h: And here.
3839 * include/c_std/bits/std_cctype.h: And here.
3840 * include/c_std/bits/std_cstdlib.h (strtof): Guard strtof injection.
3842 * config/basic_file_stdio.h: Don't include unistd.h.
3843 * config/c_io_stdio.h: Don't use compatibility headers.
3844 * libsupc++/eh_terminate.cc: Qualify abort.
3845 (__terminate): And here.
3846 * libsupc++/eh_catch.cc (__cxa_end_catch): Qualify abort.
3848 2001-06-08 Benjamin Kosnik <bkoz@redhat.com>
3850 * include/c_std/bits/std_cstdlib.h: Remove _Exit, strtof injections.
3852 2001-06-08 Benjamin Kosnik <bkoz@redhat.com>
3857 * include/std/*: Add copyright notice.
3858 * include/c_std/bits/*: Use using statements instead of extern "C".
3859 * include/c_std/bits/std_cmath.h: Don't overload double versions
3860 of math functions with __buitin versions, use global version to
3861 prevent ambiguities. Remove define hacks.
3862 * include/c_std/bits/std_cwchar.h: Using declarations for "C"
3863 functions that have changed signatures and std::
3864 declarations. Remove define hacks.
3865 * include/c_std/bits/std_cwchar.h: Same, plus remove ambiguous
3866 __builtins in std::. Remove define hacks.
3867 * testsuite/17_intro/headers_c.cc: Add tests.
3868 * testsuite/17_intro/headers_c++.cc: Add test.
3870 2001-06-07 Loren J. Rittle <ljrittle@acm.org>
3871 John David Anglin <dave@hiauly1.hia.nrc.ca>
3874 * libsupc++/eh_alloc.cc: Ensure that required macros are
3875 defined before including gthr.h. Ensure that we get the
3876 version of gthr.h for which we know how to provide a
3878 * libsupc++/eh_globals.cc: Likewise. And, bring the threading
3879 code path into line with the current EH model. Use std, where
3882 2001-06-07 Loren J. Rittle <ljrittle@acm.org>
3883 John David Anglin <dave@hiauly1.hia.nrc.ca>
3885 * config/threads-no.h: Remove file.
3886 * config/threads-posix.h: Remove file.
3888 * acconfig.h (_GLIBCPP_USE_THREADS): Remove.
3889 (_GLIBCPP_SUPPORTS_WEAK): Add (required by namespace-clean gthr*.h).
3890 (_GLIBCPP_HAVE_GTHR_DEFAULT): Likewise.
3891 * config.h.in: Regenerate.
3893 * acinclude.m4 (GLIBCPP_ENABLE_THREADS): Completely rework to
3894 setup and use gthr*.h files. In particular, make gthr.h files
3895 namespace-clean in the staging area (they don't have to be for
3897 * aclocal.m4: Regenerate.
3898 * configure: Regenerate.
3900 * src/Makefile.am (build_headers): Remove bits/c++threads.h
3901 and add bits/gthr.h bits/gthr-single.h bits/gthr-default.h.
3902 * src/Makefile.in: Regenerate.
3904 * include/bits/c++config: Cleanup threading configuration macros.
3905 In particular, define __STL_GTHREADS macro which controls...
3906 * include/bits/stl_threads.h: ...a brand new gthr.h-based
3909 * config/c_io_stdio.h: Include staged gthr.h instead of local
3910 thread configuration file. Always use __gthread_mutex_t
3911 instead of __mutext_type (or int).
3912 * include/bits/std_fstream.h: Likewise.
3914 * docs/html/17_intro/howto.html: Remove placeholder comment in
3915 case this configuration patch didn't make it. Add advice that
3916 section only applies if configured with --enable-threads.
3917 * docs/html/23_containers/howto.html: Reword to make clear
3918 that _PTHREADS is no longer required for any port to be
3919 correctly using STL with threads. Add advice that section
3920 only applies if configured with --enable-threads.
3922 2001-06-06 Benjamin Kosnik <bkoz@redhat.com>
3924 * src/string-inst.cc (_Rep::_S_max_size): Add instantiation.
3926 2001-06-05 Benjamin Kosnik <bkoz@redhat.com>
3929 * include/bits/basic_ios.tcc: Formatting tweaks.
3930 * include/bits/ios_base.h: Formatting tweaks.
3931 * src/ios.cc (ios_base::Init::_S_ios_create): Use filebufs here.
3932 (ios_base::Init::_S_ios_destroy): ..and here. Explicitly call dtors.
3933 * src/globals.cc: Allocate filebufs for standard streams here.
3934 (buf_cout, buf_cin, buf_cerr): Like so.
3935 (buf_wcout, buf_wcin, buf_wcerr): And so.
3936 * testsuite/27_io/ios_init.cc: Add.
3938 2001-06-04 Brendan Kehoe <brendan@zen.org>
3939 Benjamin Kosnik <bkoz@redhat.com>
3942 * include/bits/locale_facets.h (ctype<_CharT>): Add definitions
3943 for generic ctype virtuals.
3944 * src/locale.cc: Minor tweaks, naming consistency.
3945 * testsuite/22_locale/ctype.cc: Add test.
3947 2001-06-04 Kenny Simpson <theonetruekenny@yahoo.com>
3948 Phil Edwards <pme@sources.redhat.com>
3950 PR libstdc++/3035 and PR libstdc++/3036
3951 * include/bits/stl_pair.h: Fix pair ctor and make_pair according
3952 to LWG DR 181 and 265.
3954 2001-06-04 Phil Edwards <pme@sources.redhat.com>
3957 * include/bits/stl_multiset.h (find, lower_bound, upper_bound,
3958 equal_range): Add const overloads as per LWG DR 214.
3959 * include/bits/stl_set.h: Likewise.
3961 2001-06-04 Brendan Kehoe <brendan@zen.org>
3962 Phil Edwards <pme@sources.redhat.com>
3965 * include/bits/std_bitset.h (bitset::test): Fix __pos >= _Nb
3966 comparison; all positions must be < _Nb.
3967 * testsuite/23_containers/bitset_members.cc: New file.
3969 2001-06-04 Brendan Kehoe <brendan@zen.org>
3972 * include/bits/stl_queue.h (classes queue, priority_queue): Fix
3973 ctors to match the standard.
3975 2001-06-04 Jeffrey Oldham <oldham@codesourcery.com>
3977 * include/bits/char_traits.h (move): Reverse qualification of
3979 (copy): Reverse qualification of memcpy with std::.
3981 2001-06-04 Jeffrey Oldham <oldham@codesourcery.com>
3983 * include/bits/char_traits.h (move): Qualify memmove with std::.
3984 (copy): Qualify memcpy with std::.
3985 * testsuite/27_io/filebuf_virtuals.cc (test01): Qualify strlen and
3988 * testsuite/27_io/stringbuf_virtuals.cc (test01): Likewise.
3990 2001-06-04 Hans-Peter Nilsson <hp@axis.com>
3992 * libsupc++/Makefile.am (install-glibcppinstallHEADERS,
3993 uninstall-glibcppinstallHEADERS): Have explicit rules catering to
3994 SUN make VPATH peculiarities.
3995 * libsupc++/Makefile.in: Regenerate.
3997 2001-06-01 Hans-Peter Nilsson <hp@axis.com>
3999 * src/Makefile.am (VPATH): Delimit with ":", not space.
4000 * src/Makefile.in: Regenerate.
4002 * configure.in (use of GLIBCPP_CHECK_GNU_MAKE): Don't fail if GNU
4004 * configure: Regenerate.
4006 2001-05-31 scott snyder <snyder@fnal.gov>
4009 * include/bits/istream.tcc: Include std_ostream.h.
4011 2001-05-31 Benjamin Kosnik <bkoz@redhat.com>
4014 * src/bitset.cc: Qualify size_t with std::.
4016 2001-05-30 Benjamin Kosnik <bkoz@redhat.com>
4018 * acconfig.h (_GLIBCPP_BUGGY_FLOAT_COMPLEX): Remove.
4019 (_GLIBCPP_BUGGY_COMPLEX): Remove.
4020 * config.h.in: Regenerate.
4021 * acinclude.m4 (GLIBCPP_CHECK_COMPLEX_MATH_COMPILER_SUPPORT): Remove.
4022 * aclocal.m4: Regenerate.
4023 * configure.in: Don't call it.
4024 * configure: Regenerate.
4027 * src/complex_io.cc (operator<<(ostream&, const complex&): Fix.
4028 * testsuite/26_numerics/complex_inserters_extractors.cc (test01):
4032 * include/bits/std_complex.h: Include sstream. Put definitions for
4033 complex inserters and extractors here, and remove them from...
4034 * src/complex_io.cc: ...here.
4035 * include/bits/basic_ios.h (basic_ios::__numput_type): Add _Traits
4037 (basic_ios::__numget_type): Same.
4038 * include/bits/std_istream.h: Same.
4039 * include/bits/std_ostream.h: Same.
4040 * include/bits/sbuf_iter.h (ostreambuf_iterator): Fix typo in base
4041 class iterator template arguments.
4042 * src/locale-inst.cc: Add explicit has_facet instantiations.
4043 * include/bits/basic_ios.h (basic_ios::_M_get_fctype_ios): Remove.
4044 (_M_get_fnumput): Remove.
4045 (_M_get_fnumget): Remove.
4046 (basic_ios::_M_check_facet): New function.
4047 (basic_ios::_M_cache_facets): New function.
4048 * include/bits/basic_ios.tcc: Definition for _M_cache_facets.
4049 (basic_ios::imbue): Call _M_cache_facets.
4050 (basic_ios::init): Same.
4051 * include/bits/istream.tcc: Format, use _M_check_facet.
4052 * include/bits/ostream.tcc: Same.
4053 * include/bits/locale_facets.tcc (__output_float): Change
4054 signature, add _Traits.
4055 * testsuite/26_numerics/complex_inserters_extractors.cc (test02):
4058 2001-05-30 Loren J. Rittle <ljrittle@acm.org>
4060 * include/bits/c++config (__USE_MALLOC): Do not define it.
4061 Document why not and give pointers to more information.
4063 * docs/html/23_containers/howto.html: Update documentation
4064 to reflect recent understanding of problem.
4065 * docs/html/17_intro/howto.html: Likewise.
4067 2001-05-30 Phil Edwards <pme@sources.redhat.com>
4069 * docs/doxygen/user.cfg.in: Minor addition.
4070 * docs/html/documentation.html: Reorganize. Put most-looked-at
4072 * docs/html/install.html: Update for 3.0. HTML fixups.
4073 * docs/html/17_intro/howto.html: Likewise.
4074 * docs/html/18_support/howto.html: Likewise.
4075 * docs/html/19_diagnostics/howto.html: Likewise.
4076 * docs/html/20_util/howto.html: Likewise.
4077 * docs/html/23_containers/howto.html: Likewise.
4078 * docs/html/24_iterators/howto.html: Likewise. More notes.
4079 * docs/html/25_algorithms/howto.html: Likewise.
4080 * docs/html/26_numerics/howto.html: Likewise. More notes.
4081 * docs/html/27_io/howto.html: Likewise.
4082 * docs/html/ext/howto.html: Likewise.
4083 * docs/html/faq/index.html: Likewise.
4084 * docs/html/faq/index.txt: Regenerate.
4085 * docs/html/27_io/iostreams_hierarchy.pdf: Remove in favor of
4086 Doxygen-created documentation.
4088 2001-05-30 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
4090 * testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3-init): Use
4091 get_multilibs to find gcc.
4093 2001-05-30 Phil Edwards <pme@sources.redhat.com>
4095 * acinclude.m4 (GLIBCPP_ENABLE_C99): Reorder output messages.
4096 * aclocal.m4: Regenerate.
4097 * configure: Regenerate.
4099 2001-05-29 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
4101 * include/c_std/bits/std_cstdlib.h:: Move C99 thingies to __gnu_cxx::.
4102 * include/c_std/bits/std_cwchar.h (__gnu_cxx): Likewise.
4104 2001-05-27 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
4106 * include/c_std/bits/std_cmath.h: Move C99 functions in __gnu_cxx::.
4107 * include/c_std/bits/std_cstdlib.h: Same.
4108 * include/c_std/bits/std_cwchar.h: Same.
4110 2001-05-30 Loren J. Rittle <ljrittle@acm.org>
4112 * docs/html/17_intro/howto.html: Update link.
4113 * docs/html/23_containers/howto.html: Likewise. Add new link.
4115 2001-05-26 Gabriel Dos Reis <gdr@codesourcery.com>
4117 * include/c_std/bits/std_cmath.h (sqrt): #undef.
4119 2001-05-23 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
4121 * mknumeric_limits: Stop if gen-num-limits dies.
4123 2001-05-25 Benjamin Kosnik <bkoz@redhat.com>
4126 * acinclude.m4 (GLIBCPP_ENABLE_C99): Use AC_TRY_COMPILE.
4127 * aclocal.m4: Regenerate.
4130 2001-05-24 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
4131 Phil Edwards <pme@sources.redhat.com>
4132 Alexandre Oliva <aoliva@redhat.com>
4134 * acinclude.m4 (GLIBCPP_EXPORT_INSTALL_INFO): Set glibcpp_srcdir
4135 in an amd-safe manner. Revert glibcpp_prefixdir.
4137 2001-05-25 Gabriel Dos Reis <gdr@codesourcery.com>
4139 * include/c_std/bits/std_cmath.h: Tweak. #define away abs, cos,
4140 fabs, sin, sqrt. They are now implemented in terms of __builtin_
4143 2001-05-24 Benjamin Kosnik <bkoz@redhat.com>
4146 * testsuite/21_strings/inserters_extractors.cc (test09): New test.
4147 * include/bits/ostream.tcc: Format to match istream.tcc.
4148 (operator<<(basic_ostream __out, const basic_string __s)): Fix.
4150 2001-05-24 Phil Edwards <pme@sources.redhat.com>
4152 * libsupc++/eh_alloc.cc (__cxa_allocate_exception): Qualify
4154 (__cxa_free_exception): Likewise with free.
4156 2001-05-24 Mark Mitchell <mark@codesourcery.com>
4158 * include/c_std/bin/std_cstring.h: #define away all global
4159 functions we will redeclare in namespace `std'.
4160 * libsupc++/eh_alloc.cc (__cxa_allocate_exception): Use
4161 std::memset, instead of memset.
4162 * testsuite/19_diagnostics/stdexceptions.cc: Use `std::strcmp',
4164 * testsuite/21_strings/c_strings.cc: Use `std::strcpy' instead of
4167 2001-05-24 Benjamin Kosnik <bkoz@redhat.com>
4170 * include/bits/basic_ios.tcc: Small tweak.
4171 * include/bits/std_fstream.h (ifstream): Add buffer member. Adjust
4172 ctors and dtors, and rdbuf settings.
4175 * include/bits/std_sstream.h: Same, but for stringstream classes.
4176 * testsuite/27_io/ostringstream_members.cc: New.
4177 * testsuite/27_io/stringstream_members.cc: New.
4178 * testsuite/27_io/fstream_members.cc: New.
4179 * testsuite/27_io/ifstream_members.cc: Add test.
4180 * testsuite/27_io/istringstream_members.cc: Add test.
4181 * testsuite/27_io/ofstream_members.cc: Add test.
4183 2001-05-24 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
4185 * include/bits/c++config(__NO_MATH_INLINES): Move to...
4186 * config/os/gnu-linux/bits/os_defines.h: ...here.
4188 2001-05-24 Gabriel Dos Reis <gdr@codesourcery.com>
4190 * include/bits/c++config (__NO_MATH_INLINES): New macro.
4191 * testsuite/26_numerics/fabs_inline.cc (main): New test.
4193 2001-05-22 Benjamin Kosnik <bkoz@redhat.com>
4196 * testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3-init): Set
4198 (libstdc++-v3_set_ld_library_path): New, copied from g++.exp.
4199 (libstdc++-v3-finish): Remove.
4200 (libstdc++-v3_exit): Remove.
4202 2001-05-22 Phil Edwards <pme@sources.redhat.com>
4204 * docs/html/documentation.html: Point to doxygen output.
4206 2001-05-21 Benjamin Kosnik <bkoz@redhat.com>
4208 * mkcheck.in (static_fail): Remove S_FLAG decoration on output.
4210 * include/bits/std_sstream.h (stringbuf::setbuf): Require both
4211 arguments to be non-null.
4212 * include/bits/fstream.tcc (filebuf::_M_allocate_buffers): Only
4213 try allocations if allocated size is greater than zero.
4214 (filebuf::_M_filebuf_init): Change to
4215 (filebuf::_M_allocate_file): Which is what it does now.
4216 (filebuf::_M_allocate_bufers): Change to
4217 (filebuf::_M_allocate_internal_buffer): This, and create
4218 (filebuf::_M_allocate_pback_buffer): New.
4219 (filebuf::_M_destroy_internal_buffer): New.
4220 (filebuf::_M_buf_allocated): New data member.
4221 (filebuf::setbuf): Use new logic, allow use of external buffer.
4222 * testsuite/27_io/stringbuf_virtuals.cc: New file.
4223 * testsuite/27_io/filebuf_virtuals.cc: New file.
4225 2001-05-21 Stephen M. Webb <stephen@bregmasoft.com>
4227 * include/c_std/bits/std_cstring.h (memchr): Define "C" functions to
4229 (strchr): Same, but to __glibcpp_strchr.
4233 * include/c_std/bits/std_cwchar.h (wcschr): Same.
4239 2001-05-21 Benjamin Kosnik <bkoz@redhat.com>
4241 * testsuite/21_strings/c_strings.cc (main): Fix.
4243 2001-05-19 Phil Edwards <pme@sources.redhat.com>
4245 * acinclude.m4: Fix --help spacing, correct comments.
4246 * aclocal.m4: Regenerate.
4247 * configure: Regenerate.
4248 * mkcheck.in: Add usage comments.
4249 * docs/html/documentation.html: Point to doxygen'd tarball.
4251 2001-05-18 Benjamin Kosnik <bkoz@redhat.com>
4253 * testsuite/README: Add notes.
4255 * src/Makefile.am (libstdc++.INC): Remove.
4256 * src/Makefile.in: Regenerate.
4258 Phil Edwards <pedwards@disaster.jaj.com>
4259 * mkcheck.in: Add missing '#'.
4261 2001-05-18 Angela Marie Thomas <angela@cygnus.com>
4263 * testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3-init): Set flags
4264 appropriately for remote testing and testing installed files without
4267 2001-05-18 Benjamin Kosnik <bkoz@redhat.com>
4269 * acinclude.m4 (GLIBCPP_EXPORT_INSTALL_INFO): Set glibcpp_srcdir
4270 amd glibcpp_prefixdir with absolute paths.
4272 * include/bits/c++config (__GLIBCPP__): Bump.
4273 * acinclude.m4 (GLIBCPP_CONFIGURE): Correct version number.
4275 2001-05-18 Gabriel Dos Reis <gdr@codesourcery.com>
4277 * include/bits/std_valarray.h (valarray<>::operator[] const):
4278 Return a const reference.
4279 * testsuite/26_numerics/valarray_const_bracket.cc: New test.
4281 2001-05-18 Alexandre Oliva <aoliva@redhat.com>
4283 * configure.target (ATOMICITYH): Actually use AIX-specific code on
4284 earlier versions of AIX 4.*.
4286 2001-05-18 Angela Marie Thomas <angela@cygnus.com>
4288 * testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3-dg-test): Set
4289 output_file based on the name of the testcase.
4291 2001-05-18 Angela Marie Thomas <angela@cygnus.com>
4293 * testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3-init): Build
4294 gluefile and use it if needs_status_wrapper is set.
4296 2001-05-18 Alexandre Oliva <aoliva@redhat.com>
4298 * configure.target (ATOMICITYH): Use cpu/generic code on earlier
4301 2001-05-17 Alexandre Oliva <aoliva@redhat.com>
4303 * configure.target (ATOMICITYH): Don't use AIX 4.3-specific code
4304 on earlier versions of AIX.
4306 2001-05-15 Benjamin Kosnik <bkoz@redhat.com>
4308 * testsuite_flags.in (query): Add backwards, ext directories.
4310 2001-05-15 Mark Mitchell <mark@codesourcery.com>
4312 * porting.texi: Correct documentation about handling
4313 _LARRGEFILE_SOURCE and its ilk.
4314 * config/os/solaris/solaris2.5/bits/os_defines.h: Remove
4315 definitions of _XOPEN_SOURCE, _LARGEFILE64_SOURCE, and
4317 * config/os/solaris/solaris2.6/bits/os_defines.h: Likewise.
4318 * config/os/solaris/solaris2.7/bits/os_defines.h: Likewise.
4320 2001-05-15 Zack Weinberg <zackw@stanford.edu>
4322 * testsuite/21_strings/inserters_extractors.cc,
4323 testsuite/27_io/istream_unformatted.cc,
4324 testsuite/27_io/stringstream.cc:
4325 Replace multi-line string constants with C89-style
4326 concatenated string constants.
4328 2001-05-14 Richard Henderson <rth@redhat.com>
4330 * mknumeric_limits: Build with -fno-exceptions.
4332 2001-05-13 Benjamin Kosnik <bkoz@redhat.com>
4334 Switch over to new harness.
4335 * testsuite_flags.in: Tweaks via Gaby.
4336 * testsuite/Makefile.am: Change tool to libstdc++-v3.
4337 (EXPECT): Quote directly.
4339 * configure.in: Output testsuite_flags.
4340 * acinclude.m4: Substitute src, bld, and prefix dirs.
4341 Remove glibcpp_expect, glibcpp_runtestflags.
4342 * Makefile.am (RUNTESTFLAGS): Pass this down to subdirs.
4343 * mkcheck.in: Port to new interface.
4345 * aclocal.m4: Regerate.
4346 * configure: Regnerate.
4347 * Makefile.in: Regnerate.
4348 * */Makefile.in: Regenerate.
4350 * tests_flags.in: Remove.
4351 * testsuite/lib/libstdc++.exp: Remove.
4352 * testsuite/libstdc++.tests/tests.exp: Remove.
4354 2001-05-13 Alexandre Oliva <aoliva@redhat.com>
4356 * configure.target: Remove detection of AIX pthread multilib, now
4357 obtained from `gcc -v'.
4359 2001-05-13 John David Anglin <dave@hiauly1.hia.nrc.ca>
4361 * mkcheck.in (setup_size_command): Use Berkeley "-B" mode with GNU
4362 size. Add hpux case for HP size.
4364 2001-05-11 Benjamin Kosnik <bkoz@redhat.com>
4366 * testsuite_flags.in: New, simplified interface.
4367 * testsuite/lib/libstdc++-v3-dg.exp: New test harness.
4368 * testsuite/libstdc++-v3.dg: Add.
4369 * testsuite/libstdc++-v3.dg/dg.exp: Add.
4371 2001-05-11 Benjamin Kosnik <bkoz@redhat.com>
4373 * testsuite/*/*.cc: Remove spaces, make sure testcases return zero.
4374 * testsuite/config/default.exp: Update bugs email address.
4376 2001-05-11 Richard Henderson <rth@redhat.com>
4378 * libsupc++/eh_personality.cc: Include unwind-pe.h. Remove
4379 all pointer encoding logic.
4380 (struct lsda_header_info): Add ttype_base.
4381 (get_ttype_entry): Use it instead of a context.
4382 (check_exception_spec): Likewise.
4383 (PERSONALITY_FUNCTION): Initialize ttype_base. Store it in
4384 the c++ exception header for __cxa_call_unexpected.
4385 (__cxa_call_unexpected): Use it.
4387 2001-05-09 Benjamin Kosnik <bkoz@redhat.com>
4389 * testsuite/lib/libstdc++.exp: Use libgloss.exp. Call
4390 libgloss_link_flags to find crt0.o for targets that use libgloss
4392 Change LDFLAGS to LIBS.
4393 Consistently name procedures libstdc++-XXX.
4394 * testsuite/libstdc++.tests/tests.exp: Use new procedure names.
4396 2001-05-08 Benjamin Kosnik <bkoz@fillmore.constant.com>
4398 * include/c_std/bits/std_cstring.h (memchr): Correct definitions.
4403 * include/c_std/bits/std_cwchar.h (wcschr): Same.
4408 * testsuite/21_strings/c_strings.cc: Add tests.
4410 2001-05-07 Benjamin Kosnik <bkoz@redhat.com>
4413 * include/bits/std_fstream.h (basic_filebuf): Change signature.
4414 * include/bits/fstream.tcc (basic_filebuf): Change bool argument
4415 to int_type, pass in buffer size info.
4416 * include/bits/std_streambuf.h (_M_is_indeterminate): Check for
4417 unbuffered situation.
4418 (underflow): Remove codecvt bits for the time being.
4419 * include/bits/istream.tcc (istream::sentry): Avoid sputbackc call.
4420 * include/bits/locale_facets.tcc (_M_extract): Cache dereference
4421 values from iterators, clean.
4422 * src/locale.cc: Ditto.
4423 * include/bits/sbuf_iter.h: Format.
4424 * src/ios.cc: Explicitly pass in buffer sizes at creation time.
4425 * testsuite/27_io/narrow_stream_objects.cc: Add tests.
4426 * testsuite/27_io/filebuf.cc: Tweaks.
4427 * testsuite/27_io/filebuf_members.cc: Tweaks.
4429 2001-05-07 Mark Mitchell <mark@codesourcery.com>
4431 * config/os/solaris/solaris2.7/bits/os_defines.h
4432 (_LARGEFILE_SOURCE): Define it.
4434 2001-05-03 Alexandre Oliva <aoliva@redhat.com>
4436 * configure.in (LIBSUPCXX_PICFLAGS): Set it to -prefer-pic or
4437 -prefer-non-pic depending on whether libtool has shared libraries
4438 enabled or disabled.
4439 * libsupc++/Makefile.am (LIBSUPCXX_CXXFLAGS): Set to
4440 $(LIBSUPCXX_PICFLAGS).
4441 * configure, */Makefile.in: Rebuilt.
4443 2001-05-01 Benjamin Kosnik <bkoz@redhat.com>
4445 * include/bits/sbuf_iter.h (istreambuf_iterator): Correct.
4446 * testsuite/24_iterators/istreambuf_iterator.cc (test02): Add test.
4448 * include/bits/std_sstream.h (stringbuf): Leak
4450 * testsuite/24_iterators/ostreambuf_iterator.cc: Correct.
4452 2001-05-01 Tom Browder <tbrowder@home.com>
4454 * docs/html/ext/howto.html: Fix typo.
4456 2001-05-01 Gabriel Dos Reis <gdr@codesourcery.com>
4458 * testsuite/libstdc++.tests/tests.exp: Add comment.
4460 2001-05-01 Gabriel Dos Reis <gdr@codesourcery.com>
4462 * testsuite/libstdc++.tests/tests.exp: Set ulimits.
4464 2001-04-30 Mark Mitchell <mark@codesourcery.com>
4466 * porting.texi: Use the GFDL.
4468 2001-04-30 Benjamin Kosnik <bkoz@redhat.com>
4471 * testsuite/24_iterators/ostreambuf_iterator.cc: New file.
4472 * include/bits/sbuf_iter.h (ostreambuf_iterator): Remove bogus
4475 2001-04-30 Benjamin Kosnik <bkoz@redhat.com>
4478 * include/bits/stl_iterator_base_funcs.h (__advance): Fix.
4480 2001-04-28 Phil Edwards <pme@sources.redhat.com>
4482 * docs/doxygen/run_doxygen: Minor tweaks.
4483 * docs/doxygen/style.css: New file.
4484 * docs/doxygen/user.cfg.in: Update using "doxygen -u" to get the
4485 latest parameters available. Use style.css.
4487 2001-04-27 Benjamin Kosnik <bkoz@redhat.com>
4489 * docs/doxygen/mainpage.doxy: New.
4490 * docs/doxygen/user.cfg.in: Change default configuration. Single
4491 frame, other tweaks.
4493 2001-04-26 Mark Mitchell <mark@codesourcery.com>
4495 * docs/html/17_intro/BADNAMES: Remove EGCS reference.
4496 Indicate obsolete nature of thelist for G++ 3.0.
4498 2001-04-26 Alexandre Oliva <aoliva@redhat.com>
4500 * acinclude.m4 (GLIBCPP_ENABLE_THREADS): Obtain
4501 target_thread_file with `gcc -v'.
4502 * aclocal.m4, configure: Rebuilt.
4504 2001-04-25 Benjamin Kosnik <bkoz@redhat.com>
4506 * include/c_std/bits/std_cmath.h (std): Explicitly inject c99 names.
4507 * include/c_std/bits/std_cstdlib.h (std): Same, except for llabs.
4508 * include/c_std/bits/std_cwchar.h (std): Same.
4509 * acconfig.h (std): Remove c99 injection into std.
4510 * config.h.in: Regenerate.
4512 * testsuite/README: Fix typo.
4514 * include/bits/codecvt.h: Remove warnings.
4516 2001-04-24 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
4518 * include/ext/slist: Include required header files.
4520 2001-04-23 Loren J. Rittle <ljrittle@acm.org>
4522 * include/c_std/bits/std_cerrno.h (errno): Define macro from
4523 identifier declared with external linkage, if needed.
4524 * include/c_std/bits/std_csetjmp.h (setjmp): Likewise.
4525 * include/c_std/bits/std_cstdarg.h (va_end): Likewise.
4527 2001-04-23 Benjamin Kosnik <bkoz@fillmore.constant.com>
4529 * acinclude.m4 (CXX): Set to glibcpp_CXX so that in-directory
4530 re-configures find the build compiler.
4531 (GLIBCPP_ENABLE_C99): Do all fp-tests with 0.0, not 0. Fixes
4533 * aclocal.m4: Regenerate.
4534 * configure: Regenerate.
4536 2001-04-20 Benjamin Kosnik <bkoz@redhat.com>
4538 * acinclude.m4 (GLIBCPP_ENABLE_LONG_LONG): Make sure required C99
4539 support is enabled correctly before long long is activated.
4540 * aclocal.m4: Regenerate.
4541 * configure: Regenerate.
4543 * include/backward/backward_warning.h: Format correctly.
4545 * testsuite/26_numerics/c99_classification_macros_c.cc: Add.
4546 * testsuite/26_numerics/c99_classification_macros_c++.cc: Add.
4547 * testsuite/26_numerics/c99_macros.cc: Remove.
4549 2001-04-20 Phil Edwards <pme@sources.redhat.com>
4551 * include/bits/stl_bvector.h: Replace __ITERATOR_CATEGORY with
4552 __iterator_category.
4554 2001-04-19 Benjamin Kosnik <bkoz@redhat.com>
4556 * acconfig.h (_GLIBCPP_USE_C99): Add.
4557 * config.h.in: Regenerate.
4558 * acinclude.m4 (GLIBCPP_ENABLE_C99): New macro. Test for ISO/IEC
4560 * aclocal.m4: Regenerate.
4561 * configure.in (GLIBCPP_ENABLE_C99): Use it, on by default.
4562 * configure: Regenerate.
4563 * configure.in (GLIBCPP_ENABLE_LONG_LONG): Set default to yes.
4564 * configure: Regenerate.
4565 * include/c_std/bits/std_cwchar.h: Put wcstold, wcstoll, wcstoull
4567 * include/c_std/bits/std_cmath.h: Bring C99 functions into c99
4569 * include/c_std/bits/std_cstdlib.h: Same.
4570 * docs/html/configopts.html: Update.
4571 * testsuite/26_numerics/c99_macros.cc: Edit, use cmath instead of
4573 (test_c99_classify): Add.
4574 * config/os/gnu-linux/bits/os_defines.h (_GNU_SOURCE): Remove.
4575 (_ISOC99_SOURCE): Remove.
4577 * include/bits/stl_algo.h: Use _GLIBCPP_HAVE_DRAND48.
4578 * include/bits/c++config (__STL_ASSERTIONS): Simplify.
4579 * acinclude.m4 (GLIBCPP_CHECK_STDLIB_SUPPORT): Add check for drand48.
4580 * aclocal.m4: Regenerate.
4581 * configure: Regenerate.
4583 2001-04-19 Phil Edwards <pme@sources.redhat.com>
4585 * Makefile.am (doxygen): Assume script is missing execute perms.
4586 * Makefile.in: Regenerated.
4587 * docs/doxygen/user.cfg.in: Add class diagrams and source browsing.
4589 2001-04-17 Loren J. Rittle <ljrittle@acm.org>
4591 * testsuite/27_io/istream_seeks.cc: Inform DejaGnu of required files.
4593 2001-04-17 Benjamin Kosnik <bkoz@redhat.com>
4595 * testsuite/23_containers/map_operators.cc: Add dg-excess-errors.
4596 * testsuite/23_containers/set_operators.cc: Same.
4598 * include/bits/c++config: Add _GLIBCPP_CONCEPT_CHECKS. Disable by
4600 (__GLIBCPP__): Bump from value of last release.
4601 * include/bits/concept_check.h: Default to off, edit comments.
4602 * src/stl-inst.cc: Use _GLIBCPP_CONCEPT_CHECKS.
4603 * src/Makefile.am (AM_CXXFLAGS): Remove _GLIBCPP_NO_CONCEPT_CHECKS.
4604 * src/Makefile.in: Regenerate.
4606 2001-04-14 Martin Reinecke <martin@MPA-Garching.MPG.DE>
4608 * include/bits/boost_concept_check.h(_Mutable_ContainerConcept):
4609 Properly uglify member.
4611 2001-04-13 Phil Edwards <pme@sources.redhat.com>
4613 * include/bits/stl_algobase.h (equal): Use EqualOpConcept instead
4617 2001-04-13 Phil Edwards <pme@sources.redhat.com>
4619 * include/bits/boost_concept_check.h: Uglify, fork from Boost.
4620 * include/bits/concept_check.h: Uglify.
4621 * include/bits/stl_algo.h: Likewise.
4622 * include/bits/stl_algobase.h: Likewise.
4623 * include/bits/stl_deque.h: Likewise.
4624 * include/bits/stl_heap.h: Likewise.
4625 * include/bits/stl_iterator_base_funcs.h: Likewise.
4626 * include/bits/stl_list.h: Likewise.
4627 * include/bits/stl_map.h: Likewise.
4628 * include/bits/stl_multimap.h: Likewise.
4629 * include/bits/stl_multiset.h: Likewise.
4630 * include/bits/stl_numeric.h: Likewise.
4631 * include/bits/stl_queue.h: Likewise.
4632 * include/bits/stl_set.h: Likewise.
4633 * include/bits/stl_stack.h: Likewise.
4634 * include/bits/stl_vector.h: Likewise.
4635 * include/ext/hash_map: Likewise.
4636 * include/ext/hash_set: Likewise.
4637 * include/ext/slist: Likewise.
4639 2001-04-13 Gabriel Dos Reis <gdr@codesourcery.com>
4641 * testsuite/23_containers/set_operators.cc: Just try to compile.
4643 * testsuite/23_containers/map_operators.cc: Same.
4645 2001-04-12 Jason Merrill <jason_merrill@redhat.com>
4647 * testsuite/lib/libstdc++.exp (libstdc++-dg-test): Prepend "./" to
4649 (dg-test): Revert rth's change.
4651 2001-04-12 Nathan Sidwell <nathan@codesourcery.com>
4653 * libsupc++/eh_alloc.cc (__cxa_allocate_exception): Don't
4654 terminate holding the mutex. Make sure size fits in EMERGENCY_OBJ_SIZE.
4656 2001-04-12 Gabriel Dos Reis <gdr@codesourcery.com>
4658 * testsuite/README: Add DejaGnu specific documentation.
4660 2001-04-11 Benjamin Kosnik <bkoz@redhat.com>
4662 * acinclude.m4: AC_CHECK_TOOL for expect.
4663 * aclocal.m4: Regenerate.
4664 * configure: Regenerate.
4665 * testsuite/Makefile.am (RUNTEST): Use substituted.
4668 * configure.in: Remove xcompiling substitution.
4669 * tests_flags.in (CROSS_LIB_PATH): Remove.
4670 (xcompiling): Remove.
4671 (CXX): Use substituted CXX.
4673 2001-04-11 Richard Henderson <rth@redhat.com>
4675 * testsuite/lib/libstdc++.exp: Specify path for output_file.
4677 2001-04-08 Gabriel Dos Reis <gdr@codesourcery.com>
4679 * include/bits/std_valarray.h(valarray<>::operator[]): Make
4682 2001-04-06 Gabriel Dos Reis <gdr@codesourcery.com>
4684 * testsuite/25_algorithms/equal.cc: New test.
4686 2001-04-06 Joe Buck <jbuck@welsh-buck.org>
4688 * stl_algobase.h (std::equal): avoid use of possibly-undefined
4689 operator != (one line patch).
4691 2001-04-06 Benjamin Kosnik <bkoz@redhat.com>
4693 * include/backward/backward_warning.h: Re-enable.
4695 2001-04-06 Benjamin Kosnik <bkoz@redhat.com>
4696 Alexandre Oliva <aoliva@redhat.com>
4698 * tests_flags.in (CROSS_LIB_PATH): Add as -B flag.
4700 2001-04-06 Gabriel Dos Reis <gdr@codesourcery.com>
4702 * include/c_std/bits/std_cmath.h: Get rid of C99 math macros.
4703 * testsuite/26_numerics/c99_macros.cc: Add test.
4705 2001-04-06 Phil Edwards <pme@sources.redhat.com>
4707 * docs/html/faq/index.html: Update for 2.92, grab from RELEASE-NOTES.
4708 * docs/html/faq/index.txt: Regenerated.
4710 2001-04-06 Benjamin Kosnik <bkoz@redhat.com>
4712 * include/backward/backward_warning.h: Temporarily disable until
4713 g++ testsuite changes go in.
4714 * tests_flags.in (CROSS_LIB_PATH): Add.
4716 2001-04-05 Benjamin Kosnik <bkoz@redhat.com>
4718 Warn when using backward headers.
4719 * include/backward/algo.h: Include warning file.
4720 * include/backward/vector.h: Same.
4721 * include/backward/tree.h: Same.
4722 * include/backward/tempbuf.h: Same.
4723 * include/backward/strstream: Same.
4724 * include/backward/streambuf.h: Same.
4725 * include/backward/stream.h: Same.
4726 * include/backward/stack.h: Same.
4727 * include/backward/slist.h: Same.
4728 * include/backward/set.h: Same.
4729 * include/backward/rope.h:
4730 * include/backward/queue.h: Same.
4731 * include/backward/pair.h: Same.
4732 * include/backward/ostream.h: Same.
4733 * include/backward/new.h: Same.
4734 * include/backward/multiset.h: Same.
4735 * include/backward/multimap.h: Same.
4736 * include/backward/map.h: Same.
4737 * include/backward/list.h: Same.
4738 * include/backward/iterator.h: Same.
4739 * include/backward/istream.h: Same.
4740 * include/backward/iostream.h:
4741 * include/backward/iomanip.h:
4742 * include/backward/heap.h: Same.
4743 * include/backward/hashtable.h:
4744 * include/backward/hash_set.h:
4745 * include/backward/hash_map.h:
4746 * include/backward/function.h:
4747 * include/backward/fstream.h:
4748 * include/backward/deque.h:
4749 * include/backward/defalloc.h: Same.
4750 * include/backward/complex.h: Same.
4751 * include/backward/bvector.h:
4752 * include/backward/alloc.h:
4753 * include/backward/algobase.h: Same.
4755 * include/backward/backward_warning.h: New file.
4756 * src/Makefile.am (backward_headers): Add backward_warning.h
4757 * src/Makefile.in: Regenerate.
4759 2001-04-05 Benjamin Kosnik <bkoz@redhat.com>
4761 * src/Makefile.am (myinstalldirs): Make sure backward directory is
4763 (myinstallheaders): Install backward headers in backward directory.
4764 * src/Makefile.in: Regenerate.
4766 2001-04-05 Benjamin Kosnik <bkoz@redhat.com>
4768 Prepare for libstdc++-2.92.
4769 * docs/html/17_intro/RELEASE-NOTES (New): Update.
4770 * docs/html/configopts.html: Fix formatting.
4771 * README (file): Updates.
4772 * include/bits/c++config (__GLIBCPP__): Update.
4774 2001-04-05 Phil Edwards <pme@sources.redhat.com>
4776 * docs/doxygen/run_doxygen: Check for the existence of Doxygen.
4778 2001-04-04 Phil Edwards <pme@sources.redhat.com>
4780 * docs/doxygen/user.cfg.in: Extract all non-private members;
4781 reduce confusing documentation output.
4783 2001-04-04 Geoffrey Keating <geoffk@redhat.com>
4785 * include/backward/fstream.h: Add missing semicolons.
4787 2001-04-03 Benjamin Kosnik <bkoz@redhat.com>
4789 * include/bits/fstream.tcc: Add bool parameter to filebuf ctor.
4790 * include/bits/ios_base.h(ios_base::Init): Remove _M_cout, _M_cin,
4791 _M_cerr, _M_wcout, _M_wcin, _M_wcerr.
4792 (ios_base::Init::_S_ios_create): New.
4793 (ios_base::Init::_S_ios_destroy): New.
4794 * include/bits/std_fstream.h: Change ctor args.
4795 * src/ios.cc (ios_base::Init::Init): Use _S_ios_create.
4796 (ios_base::Init::~Init): Use _S_ios_destroy.
4797 (ios_base::sync_with_stdio): Use new members.
4798 * testsuite/27_io/filebuf_members.cc: Fix calling conventions for
4801 2001-04-03 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
4803 * include/backward/fstream.h: Expose streampos to global
4806 2001-04-03 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
4808 * include/bits/stl_iterator_base_types.h: Fix typo
4810 2001-04-03 Andreas Schwab <schwab@suse.de>
4812 * include/backward/fstream.h: Define filebuf and wfilebuf.
4814 2001-04-02 Phil Edwards <pme@sources.redhat.com>
4816 New concept checking implementation.
4817 * docs/html/19_diagnostics/howto.html: Document.
4818 * docs/html/17_intro/concept_check.diff: New file, for reference.
4819 * include/bits/boost_concept_check.h: New file from Boost.
4820 * include/bits/c++config: Update comments.
4822 * include/bits/concept_check.h: New file.
4823 * include/bits/concept_checks.h: Removed.
4824 * include/bits/container_concepts.h: Removed.
4825 * include/bits/sequence_concepts.h: Removed.
4826 * include/bits/stl_iterator_base.h: Removed; split into...
4827 * include/bits/stl_iterator_base_funcs.h: ...this new file...
4828 * include/bits/stl_iterator_base_types.h: ...and this new file.
4830 * include/bits/sbuf_iter.h: Update to use new implementation.
4831 * include/bits/std_iterator.h: Likewise.
4832 * include/bits/std_memory.h: Likewise.
4833 * include/bits/stl_algo.h: Likewise.
4834 * include/bits/stl_algobase.h: Likewise.
4835 * include/bits/stl_construct.h: Likewise.
4836 * include/bits/stl_deque.h: Likewise.
4837 * include/bits/stl_heap.h: Likewise.
4838 * include/bits/stl_list.h: Likewise.
4839 * include/bits/stl_map.h: Likewise.
4840 * include/bits/stl_multimap.h: Likewise.
4841 * include/bits/stl_multiset.h: Likewise.
4842 * include/bits/stl_numeric.h: Likewise.
4843 * include/bits/stl_queue.h: Likewise.
4844 * include/bits/stl_set.h: Likewise.
4845 * include/bits/stl_stack.h: Likewise.
4846 * include/bits/stl_uninitialized.h: Likewise.
4847 * include/bits/stl_vector.h: Likewise.
4848 * include/ext/hash_map: Likewise.
4849 * include/ext/hash_set: Likewise.
4850 * include/ext/slist: Likewise.
4851 * include/ext/stl_hashtable.h: Likewise.
4853 * src/Makefile.am (base_headers): Update list of headers.
4854 * Makefile.in: Regenerated.
4855 * src/Makefile.in: Regenerated.
4856 * libio/Makefile.in: Regenerated.
4857 * libmath/Makefile.in: Regenerated.
4858 * libsupc++/Makefile.in: Regenerated.
4859 * testsuite/Makefile.in: Regenerated.
4861 * docs/html/install.html: Update contact information.
4862 * docs/html/17_intro/howto.html: Ditto.
4863 * docs/html/18_support/howto.html: Ditto.
4864 * docs/html/20_util/howto.html: Ditto.
4865 * docs/html/21_strings/howto.html: Ditto.
4866 * docs/html/22_locale/howto.html: Ditto.
4867 * docs/html/23_containers/howto.html: Ditto.
4868 * docs/html/24_iterators/howto.html: Ditto.
4869 * docs/html/25_algorithms/howto.html: Ditto.
4870 * docs/html/26_numerics/howto.html: Ditto.
4871 * docs/html/27_io/howto.html: Ditto.
4872 * docs/html/faq/index.html: Ditto, plus info on new checking code.
4873 * docs/html/ext/howto.html: Ditto, plus info on new checking code.
4874 * docs/html/faq/index.txt: Regenerated.
4876 2001-04-02 Zack Weinberg <zackw@stanford.edu>
4878 * testsuite/lib/libstdc++.exp (dg-test): Annotate result
4879 messages with $which_library as well as $tool_flags and
4880 ${dg-extra-tool-flags}. Factor out annotation text into
4883 2001-04-02 Stephen M. Webb <stephen@bregmasoft.com>
4885 * include/c_std/bits/std_cstring.h: Fix for const-correctness.
4886 * include/c_std/bits/std_cwchar.h: Same.
4887 * testsuite/21_strings/c_strings.cc: Add.
4889 2001-04-01 Benjamin Kosnik <bkoz@codesourcery.com>
4891 * docs/html/configopts.html: Add --enable-sjlj-exceptions docs.
4893 2001-04-01 Zack Weinberg <zackw@stanford.edu>
4895 * tests_flags.in: Use test a = b, not test a == b which is not
4898 2001-03-31 Benjamin Kosnik <bkoz@redhat.com>
4900 * configure.target: Remove duplicate aix entry.
4902 2001-03-30 Benjamin Kosnik <bkoz@redhat.com>
4904 * include/ext/stl_bvector.h: Move to...
4905 * include/bits/stl_vector.h: ...here.
4906 * include/ext/bvector: Move to...
4907 * include/backward/bvector.h: ...here.
4908 * include/bits/std_vector.h: Change stl_bvector include.
4909 * include/bits/std_queue.h: Remove bvector include.
4910 * include/ext/tree: Insert using rb_tree, move to...
4911 * include/backward/tree.h: ...here.
4912 * include/backward/hash_map.h: Include ext/hash_map.
4913 * include/backward/hash_set.h: Include ext/hash_set.
4914 * include/backward/queue.h: New file.
4915 * include/backward/stack.h: Edit.
4916 * include/backward/algo.h: Same.
4917 * include/backward/algobase.h: Same.
4918 * include/backward/alloc.h: Same.
4919 * include/backward/function.h: Same.
4920 * include/backward/iomanip.h: Same.
4921 * include/backward/istream.h: Same.
4922 * include/backward/iterator.h: Same.
4923 * include/backward/list.h: Same.
4924 * include/backward/map.h: Same.
4925 * include/backward/multimap.h: Same.
4926 * include/backward/multiset.h: Same.
4927 * include/backward/ostream.h: Same.
4928 * include/backward/pair.h: Same
4929 * include/backward/rope.h: Same.
4930 * include/backward/set.h: Same.
4931 * include/backward/stream.h: Same.
4932 * include/backward/strstream.h: Same.
4933 * include/backward/tempbuf.h: Same.
4934 * src/Makefile.am (ext_headers): Edit.
4935 * src/Makefile.in: Regenerate.
4936 * testsuite/ext/headers.cc (main): Fix.
4939 2001-03-30 Phil Edwards <pme@sources.redhat.com>
4941 * tests_flags.in (LIBS): Pass correct path for installed testing.
4943 2001-03-28 Benjamin Kosnik <bkoz@redhat.com>
4945 * mkcheck.in (LIBTOOL): Don't construct -B argument here...
4946 * tests_flags.in (CXX): Construct here.
4947 (static_fail): Don't remove compile.out. Format with spaces.
4948 (INCLUDES): Deal with xcompiling.
4949 * configure.in (xcompiling): Substitute.
4950 * testsuite/Makefile.am: Snake libjava configury.
4951 * testsuite/Makefile.in: Regenerate.
4952 * testsuite/23_containers/map_operators.cc: Tweaks.
4953 * testsuite/23_containers/set_operators.cc: Tweaks.
4955 2001-03-28 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
4957 Enable dejagnu testing framework.
4958 * configure.in: Generate testsuite/Makefile.
4959 * configure: Regenerate.
4960 * Makefile.am (check-install): Change rule from this...
4961 (check-script-install): ...to this.
4962 (check): Change rule from this...
4963 (check-script):...to this.
4964 * Makefile.in: Regenerate.
4966 2001-03-28 Alexandre Oliva <aoliva@redhat.com>
4968 * libsupc++/Makefile.am (CXXLINK): Add --tag disable-shared after
4970 (LIBTOOL): Let automake take care of its definition.
4971 * libsupc++/Makefile.in: Rebuilt.
4973 2001-03-28 Richard Henderson <rth@redhat.com>
4975 IA-64 ABI Exception Handling:
4976 * acinclude.m4 (GLIBCPP_ENABLE_SJLJ_EXCEPTIONS): New.
4977 * configure.in: Use it.
4978 * Makefile.in, aclocal.m4, config.h.in, configure: Regenerate.
4979 * libsupc++/Makefile.am (sources): Update files list.
4980 * libsupc++/Makefile.in: Regenerate.
4981 * libsupc++/eh_alloc.cc, libsupc++/eh_aux_runtime.cc: New files.
4982 * libsupc++/eh_catch.cc, libsupc++/eh_exception.cc: New files.
4983 * libsupc++/eh_globals.cc, libsupc++/eh_personality.cc: New files.
4984 * libsupc++/eh_terminate.cc, libsupc++/eh_throw.cc: New files.
4985 * libsupc++/exception_support.cc: Remove.
4986 * libsupc++/exception_support.h: Remove.
4987 * libsupc++/pure.cc: Use std::terminate.
4988 * libsupc++/tinfo2.cc (__throw_type_match_rtti_2): Remove.
4989 (__is_pointer): Remove.
4990 * libsupc++/unwind-cxx.h: New file.
4991 * libsupc++/vec.cc (uncatch_exception): Update for new abi.
4993 2001-03-27 Alexandre Oliva <aoliva@redhat.com>
4995 * libsupc++/Makefile.am (CXXLINK): Use CXX again, and choose
4997 * src/Makefile.am (CXXLINK): Likewise.
4998 * libsupc++/Makefile.in, src/Makefile.in: Rebuilt.
5000 2001-03-27 Benjamin Kosnik <bkoz@redhat.com>
5002 * include/bits/c++config (_STL_USE_CONCEPT_CHECKS): Disable by default.
5004 2001-03-26 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
5006 * libstdc++-v3/tests_flags.in: Change the order of libstdc++
5009 2001-03-26 Benjamin Kosnik <bkoz@redhat.com>
5011 * include/bits/basic_file.h (get_fileno): Remove.
5012 (_M_fileno): Remove.
5013 (_M_cfile_created): Add.
5014 (basic_file::basic_file(__c_file_type*, openmode): Add.
5015 (basic_file::basic_file(int, const char*, openmode): Remove.
5016 * include/bits/fstream.tcc (basic_fstream::basic_filebuf(int __fd,
5017 const char*, ios_base::openmode): Don't allocate
5018 internal buffers. Turn off internal buffers.
5019 (basic_filebuf::overflow): Remove test for null buffer.
5020 (basic_filebuf::_M_really_overflow): Same. Allow unbuffered use.
5021 * include/bits/streambuf.cc: Tweak.
5022 * include/bits/std_ostream.h: Tweak.
5023 * config/basic_file_libio.h: Same.
5024 * config/basic_file_stdio.h: Same.
5025 * src/ios.cc (ios_base::Init::Init()): Unbuffer stdout by default.
5026 * testsuite/27_io/filebuf_members.cc: Tweaks.
5027 * testsuite/27_io/ios_base_members_static.cc: Tweaks.
5029 2001-03-24 Phil Edwards <pme@sources.redhat.com>
5031 * Makefile.am: New targets, doxygen and doxygen-maint.
5032 * Makefile.in: Regenerated.
5033 * docs/doxygen/run_doxygen: Finally implemented.
5034 * docs/doxygen/maint.cfg.in: New file.
5035 * docs/doxygen/user.cfg.in: New file.
5037 2001-03-24 Phil Edwards <pme@sources.redhat.com>
5039 * acinclude.m4 (GLIBCPP_CHECK_COMPILER_FEATURES): Update comment.
5040 * src/Makefile.am: Replace leading spaces with tabs on continuation
5042 * aclocal.m4: Regenerated.
5044 * Makefile.in: Ditto.
5045 * src/Makefile.in: Ditto.
5046 * libio/Makefile.in: Ditto.
5047 * libmath/Makefile.in: Ditto.
5048 * libsupc++/Makefile.in: Ditto.
5050 2001-03-24 Phil Edwards <pme@sources.redhat.com>
5052 * docs/html/19_diagnostics/howto.html: HTML fixup. Describe
5053 concept-checking code and current status of same.
5054 * docs/html/ext/howto.html: Ditto.
5055 * docs/html/faq/index.html: Ditto.
5056 * docs/html/faq/index.txt: Regenerated.
5058 2001-03-24 Phil Edwards <pme@sources.redhat.com>
5060 * include/bits/std_bitset.h: Include ostream and istream headers
5061 instead of iostream.
5063 2001-03-22 Greg Bumgardner <bumgard@roguewave.com>
5065 * include/bits/ostream.tcc: Use __builtin_alloca.
5067 2001-03-22 Benjamin Kosnik <bkoz@redhat.com>
5069 * src/misc-inst.cc (__sink_unused_warning): Move to...
5070 * src/locale-inst.cc (__sink_unused_warning): Move to...
5071 * src/stl-inst.cc: Here.
5072 * include/bits/c++config (_STL_NO_CONCEPT_CHECKS): Add define,
5075 2001-03-21 Theodore Papadopoulo <Theodore.Papadopoulo@sophia.inria.fr>
5077 * intclude/bits/basic_file.h: Fix typos in comments.
5079 2001-03-20 Richard Henderson <rth@redhat.com>
5081 * src/gen-num-limits.cc: Instantiate for wchar_t.
5082 * config/os/aix/bits/ctype_base.h (mask): Use unsigned int.
5084 2001-03-20 Jason Merrill <jason@redhat.com>
5086 * libsupc++/vec.cc (__cxa_vec_cleanup): New fn.
5087 (__cxa_vec_ctor, __cxa_vec_cctor, __cxa_vec_dtor): Call it.
5088 * libsupc++/cxxabi.h: Declare it.
5090 2001-03-16 Alexandre Oliva <aoliva@redhat.com>
5092 * src/gen-num-limits.cc (signal_adapter): Overloaded to match
5093 signal_func with an unspecified argument list.
5095 2001-03-15 Benjamin Kosnik <bkoz@redhat.com>
5097 * tests_flags.in (CXXFLAGS): Link libstdc++ before libsupc++.
5099 2001-03-15 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
5101 * include/bits/basic_string.tcc (operator+): Fix thinko.
5103 2001-03-14 Benjamin Kosnik <bkoz@redhat.com>
5106 * include/bits/std_streambuf.h: Remove cached locale facets.
5107 (basic_streambuf::_M_buf_fctype): Remove.
5108 (basic_streambuf::~basic_streambuf): Remove here.
5109 (basic_streambuf::basic_streambuf): Same.
5110 (basic_streambuf::imbue): Same.
5111 * include/bits/fstream.tcc (filebuf::imbue): Remove _M_buf_fctype.
5112 * include/bits/std_fstream.h (basic_filebuf::_M_fcvt): Remove.
5113 (basic_filebuf::~basic_filebuf()): Remove here.
5114 * include/bits/fstream.tcc (basic_filebuf::basic_filebuf): Same.
5115 (basic_filebuf::imbue): Same.
5116 * include/bits/localefwd.h (_Count_ones): Remove.
5117 (locale::_S_num_categories): Just use 6, since this doesn't
5118 actually change, ever.
5119 * include/bits/locale_facets.tcc (has_facet): Simplify.
5121 * testsuite/27_io/filebuf.cc (test06): Add tests.
5123 2001-03-13 Steve Ellcey <sje@cup.hp.com>
5125 * libstdc++-v3/config/os/hpux/bits/ctype_base.h: Make ctype masks
5126 match HP-UX ctype.h header file.
5128 2001-03-13 Andris Pavenis <pavenis@latnet.lv>
5130 * config/djgpp/bits/ctype_noninline.h: Fix typo and remove
5131 duplicate definitions of __dj_ctype_*
5133 2001-03-13 Benjamin Kosnik <bkoz@redhat.com>
5135 * libsupc++/new: Remove pragma interface.
5136 * libsupc++/typeinfo: Same.
5137 * libsupc++/exception: Same.
5138 * libsupc++/new_handler.cc: Remove pragma implementation.
5139 (bad_alloc::~bad_alloc()): Add.
5140 * libsupc++/exception_support.cc: Same.
5141 (exception::~exception): Add.
5142 (bad_exception::~bad_exception): Add.
5143 * libsupc++/tinfo.cc: Same.
5144 (bad_cast::~bad_cast): Add.
5145 (bad_typeid::~bad_typeid): Add.
5147 2001-03-13 Phil Edwards <pme@sources.redhat.com>
5149 * mkcheck.in: Fix IFS regression for non-bash-2.01 hosts.
5151 2001-03-12 Felix Lee <flee@redhat.com>
5153 * mkcheck.in: workaround for bash 2.01 IFS bug.
5155 2001-03-12 Benjamin Kosnik <bkoz@redhat.com>
5157 Fixups for -fno-for-scope
5158 * include/bits/locale_facets.tcc (__match_parallel): Fixup.
5159 * src/valarray-inst.cc (__gslice_to_index): Same.
5161 2001-03-12 Rodney Brown <RodneyBrown@mynd.com>
5163 * src/gen-num-limits.cc (traps) [SPECIALIZE_TRAPPING]: Add fflush
5164 prior to trapping signal (UnixWare 7 workaround).
5166 2001-03-12 Craig Rodrigues <rodrigc@mediaone.net>
5168 * include/backward/hashtable.h: Same.
5169 * include/backward/rope.h: Fix include.
5171 2001-03-12 Benjamin Kosnik <bkoz@redhat.com>
5173 * include/backward/vector.h: Include std_vector.h.
5175 * include/bits/istream.tcc (basic_istream<_CharT, _Traits>&
5176 operator>>(basic_istream<_CharT, _Traits>& __in, _CharT* __s)):
5179 2001-03-11 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
5181 * include/ext/stl_hashtable.h: Change type of __n to size_t
5182 * include/backward/bvector.h: Include <ext/stl_bvector.h>
5184 2001-03-09 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
5186 * include/bits/istream.tcc ( basic_istream<_CharT, _Traits>&
5187 operator>>(basic_istream<_CharT, _Traits>& __in, _CharT* __s)):
5188 Use streamsize, not int_type.
5190 2001-03-08 Benjamin Kosnik <bkoz@redhat.com>
5192 * testsuite/27_io/streambuf.cc (test06): New test, disabled at the
5195 2001-03-08 Andreas Schwab <schwab@suse.de>
5197 * acinclude.m4 (GLIBCPP_EXPORT_INSTALL_INFO): Fix syntax in test
5199 * aclocal.m4, configure: Regenerated.
5201 2001-03-07 Benjamin Kosnik <bkoz@redhat.com>
5203 * include/bits/std_iosfwd.h: Remove string forward decls here.
5204 * include/bits/stringfwd.h: Add forward decls for char_traits
5206 * config/c_io_libio.h (wstreamoff): Delete.
5207 * config/c_io_stdio.h (wstreamoff): Same.
5208 * include/bits/char_traits.h: Use streamoff not wstreamoff for
5209 char_traits<wchar_t>::off_type.
5210 Remove duplicate typedefs.
5211 * include/bits/fpos.h: Define streampos/wstreampos here.
5212 * testsuite/27_io/istream_seeks.cc (test04): Explicitly cast int
5215 Changeup output files.
5216 * testsuite/27_io/istream_unformatted.cc: Change output files.
5217 * testsuite/27_io/istream_seeks-1.txt: Add.
5218 * testsuite/27_io/istream_seeks-2.tst: Add.
5219 * testsuite/27_io/istream_seeks-1.tst: Add.
5220 * testsuite/27_io/istream_unformatted-2.tst: Delete.
5221 * testsuite/27_io/istream_unformatted-3.tst: Delete.
5222 * testsuite/27_io/istream_unformatted-3.txt: Delete.
5224 2001-03-07 Alexandre Oliva <aoliva@redhat.com>
5226 Add Irix 5.2, 6.3 support.
5227 * config/os/irix/bits: Renamed to...
5228 * config/os/irix/irix6.5/bits: this.
5229 * config/os/irix/irix5.2/bits: New, copied from irix6.5/bits.
5230 * config/os/irix/irix5.2/bits/ctype_base.h: Use _U, _L, _N,
5231 _X, _S, _P, _C and _B instead of IRIX-6.5 _IS* macros.
5232 * config/os/irix/irix5.2/bits/ctype_noninline.h
5233 (ctype<char>::ctype): Initialize _M_table with __ctype.
5234 * configure.target: Adjust.
5236 2001-03-06 Benjamin Kosnik <bkoz@redhat.com>
5239 * include/bits/istream.tcc (basic_istream<_CharT, _Traits>::
5240 operator>>(__istream_type& (*__pf)(__istream_type&)): Don't use
5242 (basic_istream<_CharT, _Traits>:: operator>>(__ios_type&
5243 (*__pf)(__ios_type&)): Same.
5244 (basic_istream<_CharT, _Traits>:: operator>>(ios_base&
5245 (*__pf)(ios_base&))): Same.
5246 * testsuite/27_io/istream_extractor_other.cc: Add tests.
5247 * testsuite/27_io/istream_manip.cc (test01): Fix.
5249 2001-03-06 Nathan Myers <ncm@cantrip.org>
5250 Benjamin Kosnik <bkoz@redhat.com>
5252 * include/c_std/bits/std_cerrno.h: Don't define errno in std::.
5253 * testsuite/17_intro/header_cerrno.cc (test01): New file.
5254 * testsuite/17_intro/header_cassert.cc (test01): New file.
5255 * testsuite/17_intro/header_cstddef.cc (test01): New file.
5256 * testsuite/17_intro/header_csetjmp.cc (test01): New file.
5257 * testsuite/17_intro/header_cstdarg.cc (test01): New file.
5259 2001-03-05 scott snyder <snyder@fnal.gov>
5262 * include/c_std/bits/std_cmath.h: Move abs(long), div(long,long)
5264 * include/c_std/bits/std_cstdlib.h: ... to here.
5265 * testsuite/17_intro/header_cstdlib.cc: Add test.
5267 2001-03-05 Stephen M. Webb <stephen.webb@cybersafe.com>
5269 * libsupc++/vec.cc (__cxxa_vec_new2): Qualify size_t.
5271 2001-03-05 Laurynas Biveinis <lauras@softhome.net>
5273 * config/os/djgpp/ctype_base.h (ctype_base): fix __to_type
5274 definition. Replace enum with static const variables.
5276 * config/os/djgpp/ctype_inline.h (ctype<char>::is): remove
5277 throw specification, fix typos, use <static_cast>.
5278 (ctype<char>::scan_is): remove throw specification.
5279 (ctype<char>::scan_not): likewise.
5281 * config/os/djgpp/ctype_noninline.h (ctype<char>::ctype): fix typo.
5282 (ctype<char>::do_toupper(char)): use <static_cast>.
5283 (ctype<char>::do_toupper(char *, const char *)): likewise.
5284 (ctype<char>::do_tolower(char)): likewise.
5285 (ctype<char>::do_tolower(char *, const char *)): likewise.
5287 2001-03-04 Phil Edwards <pme@sources.redhat.com>
5289 http://gcc.gnu.org/ml/libstdc++/2001-03/msg00015.html
5290 * include/backward/algo.h: Use std not __STD. Remove unneeded
5291 macros and "never happens" code. Adjust to C++STYLE guidelines.
5292 * include/backward/algobase.h: Likewise.
5293 * include/backward/alloc.h: Likewise.
5294 * include/backward/bvector.h: Likewise.
5295 * include/backward/deque.h: Likewise.
5296 * include/backward/function.h: Likewise.
5297 * include/backward/hash_map.h: Likewise.
5298 * include/backward/hash_set.h: Likewise.
5299 * include/backward/hashtable.h: Likewise.
5300 * include/backward/heap.h: Likewise.
5301 * include/backward/iterator.h: Likewise.
5302 * include/backward/list.h: Likewise.
5303 * include/backward/map.h: Likewise.
5304 * include/backward/multimap.h: Likewise.
5305 * include/backward/multiset.h: Likewise.
5306 * include/backward/pair.h: Likewise.
5307 * include/backward/rope.h: Likewise.
5308 * include/backward/set.h: Likewise.
5309 * include/backward/slist.h: Likewise.
5310 * include/backward/stack.h: Likewise.
5311 * include/backward/strstream: Likewise.
5312 * include/backward/tempbuf.h: Likewise.
5313 * include/backward/tree.h: Likewise.
5314 * include/backward/vector.h: Likewise.
5315 * include/bits/basic_ios.h: Likewise.
5316 * include/bits/basic_ios.tcc: Likewise.
5317 * include/bits/basic_string.h: Likewise.
5318 * include/bits/c++config: Likewise.
5319 * include/bits/concept_checks.h: Likewise.
5320 * include/bits/fpos.h: Likewise.
5321 * include/bits/fstream.tcc: Likewise.
5322 * include/bits/functexcept.h: Likewise.
5323 * include/bits/ios_base.h: Likewise.
5324 * include/bits/istream.tcc: Likewise.
5325 * include/bits/mask_array.h: Likewise.
5326 * include/bits/ostream.tcc: Likewise.
5327 * include/bits/pthread_allocimpl.h: Likewise.
5328 * include/bits/sbuf_iter.h: Likewise.
5329 * include/bits/slice.h: Likewise.
5330 * include/bits/slice_array.h: Likewise.
5331 * include/bits/sstream.tcc: Likewise.
5332 * include/bits/std_bitset.h: Likewise.
5333 * include/bits/std_fstream.h: Likewise.
5334 * include/bits/std_iomanip.h: Likewise.
5335 * include/bits/std_ios.h: Likewise.
5336 * include/bits/std_istream.h: Likewise.
5337 * include/bits/std_iterator.h: Likewise.
5338 * include/bits/std_memory.h: Likewise.
5339 * include/bits/std_ostream.h: Likewise.
5340 * include/bits/std_sstream.h: Likewise.
5341 * include/bits/std_streambuf.h: Likewise.
5342 * include/bits/std_string.h: Likewise.
5343 * include/bits/std_valarray.h: Likewise.
5344 * include/bits/stl_algo.h: Likewise.
5345 * include/bits/stl_algobase.h: Likewise.
5346 * include/bits/stl_alloc.h: Likewise.
5347 * include/bits/stl_construct.h: Likewise.
5348 * include/bits/stl_deque.h: Likewise.
5349 * include/bits/stl_function.h: Likewise.
5350 * include/bits/stl_heap.h: Likewise.
5351 * include/bits/stl_iterator.h: Likewise.
5352 * include/bits/stl_iterator_base.h: Likewise.
5353 * include/bits/stl_list.h: Likewise.
5354 * include/bits/stl_map.h: Likewise.
5355 * include/bits/stl_multimap.h: Likewise.
5356 * include/bits/stl_multiset.h: Likewise.
5357 * include/bits/stl_numeric.h: Likewise.
5358 * include/bits/stl_pair.h: Likewise.
5359 * include/bits/stl_pthread_alloc.h: Likewise.
5360 * include/bits/stl_queue.h: Likewise.
5361 * include/bits/stl_raw_storage_iter.h: Likewise.
5362 * include/bits/stl_relops.h: Likewise.
5363 * include/bits/stl_set.h: Likewise.
5364 * include/bits/stl_stack.h: Likewise.
5365 * include/bits/stl_tempbuf.h: Likewise.
5366 * include/bits/stl_threads.h: Likewise.
5367 * include/bits/stl_tree.h: Likewise.
5368 * include/bits/stl_uninitialized.h: Likewise.
5369 * include/bits/stl_vector.h: Likewise.
5370 * include/bits/streambuf.tcc: Likewise.
5371 * include/bits/type_traits.h: Likewise.
5372 * include/bits/valarray_meta.h: Likewise.
5373 * include/ext/bvector: Likewise.
5374 * include/ext/hash_map: Likewise.
5375 * include/ext/hash_set: Likewise.
5376 * include/ext/ropeimpl.h: Likewise.
5377 * include/ext/slist: Likewise.
5378 * include/ext/stl_bvector.h: Likewise.
5379 * include/ext/stl_hash_fun.h: Likewise.
5380 * include/ext/stl_hashtable.h: Likewise.
5381 * include/ext/stl_rope.h: Likewise.
5382 * src/complex_io.cc: Likewise.
5383 * src/ios.cc: Likewise.
5384 * src/locale-inst.cc: Likewise.
5385 * src/locale.cc: Likewise.
5386 * src/localename.cc: Likewise.
5387 * src/misc-inst.cc: Likewise.
5388 * src/stdexcept.cc: Likewise.
5389 * src/stl-inst.cc: Likewise.
5390 * src/strstream.cc: Likewise.
5391 * src/valarray-inst.cc: Likewise.
5393 2001-03-03 Benjamin Kosnik <bkoz@redhat.com>
5395 * src/misc-inst.cc (__copy_streambufs): Fix typo for alpha.
5397 2001-03-02 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
5399 * include/bits/istream.tcc: change type of __extracted to __size_type
5401 2001-03-02 Benjamin Kosnik <bkoz@redhat.com>
5403 * src/wstring-inst.cc: New file.
5404 * src/Makefile.am (EXTRA_LTLIBRARIES): Remove.
5405 (libinst_wstring_la_SOURCES): Remove.
5406 (libstdc___la_LIBADD): Remove libinst_wstring_la.
5407 (sources): Add wstring-inst.cc
5408 * acinclude.m4 (GLIBCPP_CHECK_WCHAR_T_SUPPORT): Remove
5411 2001-03-02 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
5413 * src/locale.cc: initialise __ret with zero
5414 * src/strstream.cc:cast gptr to int_type
5416 2001-03-01 Phil Edwards <pme@sources.redhat.com>
5418 * docs/html/faq/index.html: Update broken links.
5419 * docs/html/faq/index.txt: Regenerated.
5421 2001-02-28 Benjamin Kosnik <bkoz@redhat.com>
5424 * configure.target: Change irix* to irix6.5* in target_os table.
5426 2001-02-28 Benjamin Kosnik <bkoz@redhat.com>
5429 * include/bits/c++config (__GLIBCPP__): Bump number in
5430 anticipation of 2.92.
5432 * include/bits/codecvt.h: Fix typo.
5433 * include/bits/basic_file.h (__basic_file): Don't use _M_wfile for
5435 * acinclude.m4 (GLIBCPP_ENABLE_CSTDIO): Enable wchar_t
5436 instantiations for stdio model.
5438 2001-02-28 Phil Edwards <pme@sources.redhat.com>
5440 * acinclude.m4 (GLIBCPP_CONFIGURE): Remove GLIBCPP_CFLAGS
5441 and GLIBCPP_CXXFLAGS as unused variables.
5442 * configure.host: Likewise.
5443 * configure.target: Likewise.
5444 * aclocal.m4: Regenerated.
5445 * configure: Regenerated.
5446 * Makefile.in: Regenerated.
5447 * libio/Makefile.in: Regenerated.
5448 * libmath/Makefile.in: Regenerated.
5449 * libsupc++/Makefile.in: Regenerated.
5450 * src/Makefile.in: Regenerated.
5452 2001-02-27 Benjamin Kosnik <bkoz@redhat.com>
5455 * include/bits/basic_file.h: Include basic_file_model.h.
5456 * config/c_io_libio.cc: Move to...
5457 * config/basic_file_libio.cc: Here.
5458 * config/basic_file_libio.h: New file.
5459 * config/c_io_stdio.cc: Move to...
5460 * config/basic_file_stdio.cc: Here.
5461 * config/basic_file_stdio.h: New file.
5462 * config/c_io_libio.h: Tweak.
5463 * config/c_io_stdio.h: Tweak.
5464 * src/Makefile.am (build_headers): Add basic_file_model.h.
5465 (sources): Add basic_file.cc, remove c++io.cc.
5466 * src/Makefile.in: Regenerate.
5467 * acinclude.m4 (GLIBCPP_ENABLE_CSTDIO): Add support for
5468 basic_file_model.h and basic_file.cc.
5469 * aclocal.m4: Regenerate.
5470 * configure: Regenerate.
5471 * testsuite/27_io/filebuf.cc (test05): Add regression.
5473 2001-02-27 Benjamin Kosnik <bkoz@redhat.com>
5476 * config/cpu/alpha/bits/atomicity.h: Change.
5477 * config/cpu/arm/bits/atomicit3y.h
5478 * config/cpu/generic/bits/atomicity.h
5479 * config/cpu/i386/bits/atomicity.h
5480 * config/cpu/i486/bits/atomicity.h
5481 * config/cpu/ia64/bits/atomicity.h
5482 * config/cpu/powerpc/bits/atomicity.h
5483 * config/cpu/sparc/sparc32/bits/atomicity.h
5484 * config/cpu/sparc/sparc64/bits/atomicity.h
5485 * config/os/aix/bits/atomicity.h
5486 * config/os/irix/bits/atomicity.h
5488 2001-02-27 Benjamin Kosnik <bkoz@redhat.com>
5490 * include/bits/std_stdexcept.h (runtime_error): Make string
5492 (logic_error): Same.
5493 * testsuite/19_diagnostics/stdexceptions.cc (test04): Add test.
5496 2001-02-26 Benjamin Kosnik <bkoz@redhat.com>
5500 * include/bits/std_stdexcept.h (logic_error::logic_error): Use
5501 string object, not reference.
5502 (runtime_error::runtime_error): Same.
5503 * testsuite/19_diagnostics/stdexceptions.cc: New file.
5505 2001-02-26 Phil Edwards <pme@sources.redhat.com>
5507 * acinclude.m4 (GLIBCPP_CONFIGURE): Update required compiler version.
5508 (GLIBCPP_CHECK_COMPILER_FEATURES): Can safely assume new
5509 diagnostics. Remove WFMT_FLAGS.
5510 * configure.in: Replace WFMT_FLAGS with diagnostics options.
5511 * libsupc++/Makefile.am: Likewise.
5512 * src/Makefile.am: Likewise.
5513 * aclocal.m4: Regenerated.
5514 * configure: Regenerated.
5515 * Makefile.in: Regenerated.
5516 * libio/Makefile.in: Regenerated.
5517 * libmath/Makefile.in: Regenerated.
5518 * libsupc++/Makefile.in: Regenerated.
5519 * src/Makefile.in: Regenerated.
5521 2001-02-26 Phil Edwards <pme@sources.redhat.com>
5523 Fixes libstdc++/2079
5524 * include/backward/iomanip.h: Expose <ios> manipulators to global
5526 * include/backward/iostream.h: Also expose std::ws.
5528 2001-02-25 Greg Freemyer <freemyer@NorcrossGroup.com>
5530 * libmath/mathconf.h (GET_LDOUBLE_MSW64): Fix thinko.
5532 2001-02-23 Benjamin Kosnik <bkoz@redhat.com>
5534 * include/bits/codecvt.h: Use __builtin_alloca.
5535 * include/bits/ostream.tcc: Same.
5536 * include/bits/fstream.tcc: Same.
5538 2001-02-23 Alexandre Oliva <aoliva@redhat.com>
5540 * mknumeric_limits (CC): Use VAR=${VAR=...} form.
5542 2001-02-23 David Edelsohn <dje@watson.ibm.com>
5544 * mknumeric_limits (CC): Use $BUILD_DIR/../../gcc/xgcc
5546 2001-02-23 Phil Edwards <pme@sources.redhat.com>
5549 * include/backward/iostream.h: Expose std::flush in old headers.
5551 2001-02-23 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
5553 * mknumeric_limits: Remove special-casing on target. Use gcc
5554 instead of g++ to build gen-num-limits.cc
5556 2001-02-22 Benjamin Kosnik <bkoz@redhat.com>
5558 * tests_flags.in (CXXFLAGS): Add -rpath to gcc build dir.
5560 * include/bits/codecvt.h: Use alloca instead of __extension__ for
5562 * include/bits/ostream.tcc: Same.
5563 * include/bits/std_ostream.h: Same.
5564 * include/bits/fstream.tcc: Same.
5565 * include/bits/locale_facets.tcc: Add typename.
5566 * include/bits/c++config (_GLIBCPP_FULLY_COMPLIANT_HEADERS): Enable.
5568 2001-02-21 Phil Edwards <pme@sources.redhat.com>
5570 * tests_flags.in: Remove -n flag from call to echo.
5572 2001-02-20 Benjamin Kosnik <bkoz@redhat.com>
5574 * config/c_locale_gnu.h: Add clocale include.
5576 2001-02-20 Phil Edwards <pme@sources.redhat.com>
5578 * include/bits/stl_config.h: Remove file.
5579 * src/Makefile.am (base_headers): Remove from list.
5580 * configure: Regenerate.
5581 * Makefile.in: Ditto.
5582 * libio/Makefile.in: Ditto.
5583 * libmath/Makefile.in: Ditto.
5584 * libsupc++/Makefile.in: Ditto.
5585 * src/Makefile.in: Ditto.
5587 * include/bits/c++config: Move relevant macros to here.
5588 * include/backward/alloc.h: Include c++config.h instead.
5589 * include/backward/function.h: Ditto.
5590 * include/backward/heap.h: Ditto.
5591 * include/backward/pair.h: Ditto.
5592 * include/bits/pthread_allocimpl.h: Ditto.
5593 * include/bits/std_functional.h: Ditto.
5594 * include/bits/std_iterator.h: Ditto.
5595 * include/bits/std_numeric.h: Ditto.
5596 * include/bits/std_utility.h: Ditto.
5597 * include/bits/stl_algobase.h: Ditto.
5598 * include/bits/type_traits.h: Ditto.
5599 * src/stl-inst.cc: Ditto.
5601 2001-02-19 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
5603 * include/bits/basic_file.h: Add #pragma system_header
5604 * include/bits/basic_ios.h: Ditto.
5605 * include/bits/basic_string.h: Ditto.
5606 * include/bits/char_traits.h: Ditto.
5607 * include/bits/codecvt.h: Ditto.
5608 * include/bits/cpp_type_traits.h: Ditto.
5609 * include/bits/fpos.h: Ditto.
5610 * include/bits/gslice.h: Ditto.
5611 * include/bits/gslice_array.h: Ditto.
5612 * include/bits/indirect_array.h: Ditto.
5613 * include/bits/ios_base.h: Ditto.
5614 * include/bits/limits_generic.h: Ditto.
5615 * include/bits/locale_facets.h: Ditto.
5616 * include/bits/localefwd.h: Ditto.
5617 * include/bits/mask_array.h: Ditto.
5618 * include/bits/sbuf_iter.h: Ditto.
5619 * include/bits/sequence_concepts.h: Ditto.
5620 * include/bits/slice.h: Ditto.
5621 * include/bits/slice_array.h: Ditto.
5622 * include/bits/std_algorithm.h: Likewise.
5623 * include/bits/std_bitset.h: Likewise.
5624 * include/bits/std_complex.h: Likewise.
5625 * include/bits/std_deque.h: Likewise.
5626 * include/bits/std_fstream.h: Likewise.
5627 * include/bits/std_functional.h: Likewise.
5628 * include/bits/std_iomanip.h: Likewise.
5629 * include/bits/std_ios.h: Likewise.
5630 * include/bits/std_iosfwd.h: Likewise.
5631 * include/bits/std_iostream.h: Likewise.
5632 * include/bits/std_istream.h: Likewise.
5633 * include/bits/std_iterator.h: Likewise.
5634 * include/bits/std_list.h: Likewise.
5635 * include/bits/std_locale.h: Likewise.
5636 * include/bits/std_map.h: Likewise.
5637 * include/bits/std_memory.h: Likewise.
5638 * include/bits/std_numeric.h: Likewise.
5639 * include/bits/std_ostream.h: Likewise.
5640 * include/bits/std_queue.h: Likewise.
5641 * include/bits/std_set.h: Likewise.
5642 * include/bits/std_sstream.h: Likewise.
5643 * include/bits/std_stack.h: Likewise.
5644 * include/bits/std_stdexcept.h: Likewise.
5645 * include/bits/std_streambuf.h: Likewise.
5646 * include/bits/std_string.h: Likewise.
5647 * include/bits/std_utility.h: Likewise.
5648 * include/bits/std_valarray.h: Likewise.
5649 * include/bits/std_vector.h: Likewise.
5650 * include/bits/stringfwd.h: Likewise.
5651 * include/bits/type_traits.h: Likewise.
5652 * include/bits/valarray_array.h: Likewise.
5653 * include/bits/valarray_meta.h: Likewise.
5655 2001-02-19 Andreas Jaeger <aj@suse.de>
5657 * config/cpu/sparc/sparc64/bits/atomicity.h (__compare_and_swap):
5660 2001-02-16 Greg Bumgardner <bumgard@roguewave.com>
5663 * include/bits/std_ostream.h: Replaced usage of
5664 _Traits::_S_eos() with _CharT() as per section 17.2.2.1.3.
5665 * include/bits/char_traits.h: Removed non-standard
5666 methods that cannot be used elsewhere.
5669 * include/bits/basic_ios.h: Uncommented #include of
5673 * include/bits/codecvt.h: See next...
5674 * include/bits/fstream.tcc: See next...
5675 * include/bits/ostream.tcc: Add __extension__
5676 to variable-length arrays.
5679 * include/bits/localefwd.h: Changed int counter type to size_t.
5682 * include/bits/std_fstream.h: Added typedef for __ctype_type.
5684 2001-02-16 Benjamin Kosnik <bkoz@redhat.com>
5686 * testsuite/21_strings/char_traits.cc: Move to ...
5687 * testsuite/21_strings/char_traits_requirements.cc: ..here.
5688 * testsuite/21_strings/char_traits-int_type.cc: Move to ...
5689 * testsuite/21_strings/char_traits_typedefs.cc: ..here.
5691 2001-02-16 Gabriel Dos Reis <gdr@codesourcery.com>
5693 * libmath/mathconf.h (FINITE_P, INFINITE_P): Remove macro
5696 2001-02-15 Benjamin Kosnik <bkoz@redhat.com>
5698 * include/bits/c++config: Revert.
5700 2001-02-15 Mark Mitchell <mark@codesourcery.com>
5702 * include/bits/istream.tcc: Use ios_base::iostate in place of
5703 iostate throughout. Insert `typename' keyword where necessary.
5704 * include/bits/ostream.tcc: Insert `typename' keyword where
5707 2001-02-15 Jeffrey Oldham <oldham@codesourcery.com>
5709 * include/bits/c++config (_GLIBCPP_FULLY_COMPLIANT_HEADERS):
5710 Define so library is compliant.
5712 2001-02-15 Anthony Green <green@redhat.com>
5714 * acinclude.m4 (glibcpp_toolexeclibdir): Fix test for cross
5716 * aclocal.m4: Regenerate.
5717 * configure: Regenerate.
5719 2001-02-15 Rodney Brown <RodneyBrown@mynd.com>
5721 * acinclude.m4 (GLIBCPP_CHECK_MATH_DECL_1):
5722 Include ieeefp.h for fpclass on UnixWare{2,7}.
5723 * aclocal.m4: Regenerate.
5724 * configure: Regenerate.
5725 * mkcheck.in (size_command): Do without GNU-grep when using
5728 2001-02-15 Mark Mitchell <mark@codesourcery.com>
5730 Remove old ABI support from libsupc++.
5731 * libsupc++/cxxabi.h: Remove conditionally compiled code.
5732 * libsupc++/exception_support.cc: Likewise.
5733 * libsupc++/pure.cc: Likewise.
5734 * libsupc++/tinfo.cc: Likewise.
5735 * libsupc++/tinfo.h: Likewise.
5736 * libsupc++/tinfo2.cc: Likewise.
5737 * libsupc++/typeinfo: Likewise.
5738 * libsupc++/vec.cc: Likewise.
5740 2001-02-15 Benjamin Kosnik <bkoz@redhat.com>
5742 Add support for -fno-exceptions.
5743 * include/bits/exception_support.h: Remove.
5744 * include/bits/basic_string.h: Remove exception_support.
5745 (string::_M_check): Replace __OUTOFRANGE with __throw_out_of_range.
5747 (string::substr): Same.
5748 * include/bits/basic_string.tcc (string::reserve): Replace
5749 __LENGTHERROR with __throw_length_error.
5750 (string::_S_create): Same.
5751 (string::resize): Same.
5752 (string::_M_replace): Same.
5753 (string::replace): Same.
5754 (string::copy): Replace __OUTOFRANGE with __throw_out_of_range.
5755 (string::compare): Same.
5756 * include/bits/stl_vector.h: Remove exception_support.
5757 * src/Makefile.am (base_headers): Remove here.
5758 * src/Makefile.in: Regenerate.
5760 * include/bits/stl_range_errors.h: Remove.
5761 * include/bits/stl_deque.h: Use __throw_range_error.
5762 * include/bits/std_deque.h: Include functexcept.h.
5763 * include/bits/std_vector.h: Same.
5764 * src/Makefile.am (base_headers): Remove here.
5765 * src/Makefile.in: Regenerate.
5766 * include/ext/stl_bvector.h (class __BVECTOR): Use __throw_range_error.
5767 * include/ext/bvector: Remove stl_range_errors.h
5769 * include/bits/c++config (_GLIBCPP_USE_EXCEPTIONS): Remove.
5771 * include/bits/functexcept.h: New file.
5772 * src/functexcept.cc: New file. Definitions for function-based
5774 * src/Makefile.am (sources): Add functexcept.cc.
5775 * src/Makefile.in: Regenerate.
5777 * include/bits/stl_config.h (__STL_USE_EXCEPTIONS): Wrap with
5780 * include/bits/localefwd.h: Include functexcept.h.
5781 * include/bits/std_iosfwd.h: Same.
5783 * include/bits/basic_ios.h: Use __throw_ios_failure instead of
5784 throw basic_ios::failure.
5785 * include/bits/fstream.tcc (filebuf::_M_allocate_buffers):
5786 Use __throw_exception_again.
5787 (filebuf::_M_filebuf_init): Same.
5788 * include/bits/streambuf.tcc (__copy_streambufs): Same.
5789 * include/bits/ostream.tcc (ostream::operator<<): Same.
5790 * include/bits/istream.tcc (istream::operator>>): Same.
5791 * include/bits/basic_string.tcc (string::_M_mutate): Same.
5792 (string::_S_construct): Same.
5793 (string::_M_clone): Same.
5794 * include/bits/locale_facets.tcc (use_facet(const locale&)): Use
5796 (num_put<_CharT, _OutIter>::do_put): Use __throw_exception_again.
5797 * src/localename.cc (locale::_Imp::_Imp(const _Impl&, size_t): Use
5798 __throw_exception_again.
5799 (locale::_Imp::_Imp(string, size_t): Same.
5800 (locale::_Imp::_M_replace_facet): Use __throw_runtime_error.
5801 * src/locale.cc (locale::_M_coalesce): Use __throw_exception_again.
5802 (locale::locale(const char*)): Use __throw_runtime_error.
5803 (locale::classic): Use __throw_exception_again.
5804 (locale::_S_normalize_category): Use __throw_runtime_error.
5806 * src/stdexcept.cc: Remove cruft.
5808 * libsupc++/exception_defines.h: New file.
5809 * libsupc++/new_opnt.cc: Include exception_defines.h.
5810 * libsupc++/vec.cc: Same.
5811 (__cxa_vec_new2): Use __throw_exception_again.
5812 (__cxa_vec_new3): Same.
5813 (__cxa_vec_ctor): Same.
5814 (__cxa_vec_delete3): Same.
5815 (__cxa_vec_cctor): Same.
5816 (__cxa_vec_delete2): Same.
5817 (__cxa_vec_dtor): Same.
5818 * libsupc++/exception_support.cc: Include exception_defines.h. Only
5819 compile exception-handling bits if __EXCEPTIONS is defined.
5820 Remove old ABI support.
5821 * libsupc++/new_op.cc (new): Include exception_defines.h. Use
5822 std::__throw_bad_alloc() instead of throw bad_alloc.
5823 * libsupc++/Makefile.am: Add exception_defines.h.
5824 * libsupc++/Makefile.in: Reformat.
5825 * libsupc++/*: Format.
5827 2001-02-15 Phil Edwards <pme@sources.redhat.com>
5829 * docs/html/configopts.html: Minor updates and typo fixes.
5830 * docs/html/faq/index.html: Updates of the "not really bugs" list.
5831 * docs/html/faq/index.txt: Regenerated.
5833 2001-02-15 Gabriel Dos Reis <gdr@codesourcery.com>
5835 * testsuite/lib/libstdc++.exp: Lift, temporarily, out of
5836 dejagnu/dg.exp. Adapt to log options used to run testcases.
5838 2001-02-13 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
5840 * testsuite/lib/libstdc++.exp(dg-test): Lift temporarily from
5843 2001-02-13 Dirk Mueller <dmuell@gmx.net>
5844 Phil Edwards <pme@sources.redhat.com>
5846 * include/backward/function.h: Do not use rel_ops for older
5848 * include/backward/pair.h: Likewise.
5850 2001-02-12 Mark Mitchell <mark@codesourcery.com>
5852 * src/locale.cc: Remove bogus locale::id definitions.
5854 2001-02-11 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
5856 * include/bits/std_valarray.h: #undef _DEFINE_LOGICAL_OPERATOR,
5857 not _DEFINE_VALARRAY_OPERATOR which is not existent.
5859 * include/bits/valarray_meta.h (_RefFunClos<>_RefRunClos): Fix
5860 thinko in member initialisation.
5862 2001-02-11 Gabriel Dos Reis <gdr@codesourcery.com>
5864 * include/bits/std_valarray.h(valarray<>::shift): Avoid
5865 comparaison between signed and unsigned integer types.
5866 (valarray<>::cshift): Reformat.
5868 2001-02-11 Alexandre Oliva <aoliva@redhat.com>
5870 * src/gen-num-limits.cc: Use sigsetjmp and siglongjmp if available.
5871 * mknumeric_limits: Compile it with -DHAVE_CONFIG_H.
5872 * configure.in: Test for sigsetjmp.
5873 * configure, config.h.in: Rebuilt.
5875 2001-02-11 Gabriel Dos Reis <gdr@codesourcery.com>
5877 * src/valarray-inst.cc (gslice::_Indexer::_Indexer): Don't flip
5878 lengths and strides.
5879 (__gslice_to_index): Document.
5881 2001-02-11 Gabriel Dos Reis <gdr@codesourcery.com>
5883 * include/bits/char_traits.h char_traits<char>::int_type: Change
5884 to `int' to match 21.1.3.1/2.
5886 * testsuite/21_strings/char_traits-int_type.C: New test.
5888 2001-02-10 Gabriel Dos Reis <gdr@codesourcery.com>
5890 * testsuite/Makefile.am: New file.
5892 2001-02-09 Nathan Sidwell <nathan@codesourcery.com>
5894 * include/c_shadow/bits/std_cstdlib.h (lldiv_t): Fix typo.
5896 2001-02-08 Loren J. Rittle <ljrittle@acm.org>
5898 * src/locale-inst.cc (fill_n): Instantiate with size_t arguments.
5900 2001-02-08 David Edelsohn <edelsohn@gnu.org>
5902 * configure.target (aix4*): Remove extra set of brackets.
5904 2001-02-07 Benjamin Kosnik <bkoz@redhat.com>
5907 * include/bits/stringfwd.h: New file.
5908 * include/bits/stl_string_fwd.h: Remove.
5909 * include/bits/localefwd.h: Remove declaration for allocator.
5910 * include/bits/std_iosfwd: Same.
5911 * include/bits/std_string.h: Include it.
5912 * include/bits/std_ios.h: Remove include.
5913 * include/bits/basic_string.h: Tweak.
5914 * libsupc++/new: Format.
5915 * src/Makefile.am (base_headers): Add stringfwd.h, remove
5917 * src/Makefile.in: Regenerate.
5918 * include/bits/std_stdexcept.h: Rewrite.
5919 * src/stdexcept.cc: Same.
5921 2001-02-06 Benjamin Kosnik <bkoz@redhat.com>
5923 * acinclude.m4 (GLIBCPP_EXPORT_INSTALL_INFO): Deal with library
5924 install locations too.
5925 * aclocal.m4: Regenerate.
5926 * configure.in: Remove USE_LIBDIR.
5927 * configure: Regenerate.
5928 * src/Makefile.am (toolexecdir): Simplify, use
5929 glibcpp_toolexecdir, glibcpp_toolexeclibdir.
5930 * src/Makefile.in: Regenerate.
5931 * libsupc++/Makefile.am: Same.
5932 * libsupc++/Makefile.in: Regenerate.
5934 * src/Makefile.am: Just remove special rules for locale-inst.cc and
5935 misc-inst.cc as no longer necessary.
5937 Follow C++STYLE for naming non-static functions.
5938 * include/bits/ostream.tcc (_S_pad_char): Not static, rename to
5940 * include/bits/streambuf.tcc: Same.
5941 * include/bits/ostream.tcc: Same.
5942 * include/bits/istream.tcc: Same.
5943 * include/bits/locale_facets.tcc (_S_pad_numeric): To __pad_numeric.
5944 (_S_output_float): To __output_float.
5945 * include/bits/std_streambuf.h (_S_copy_streambufs): To
5947 * include/bits/locale_facets.tcc (_S_build_float_format): To
5948 __build_float_format.
5949 (_S_format): To __output_integer.
5950 (_S_fill): To __pad.
5951 * src/locale.cc: Same.
5952 * src/misc-inst.cc: Fix formatting. Fix signature for wchar_t. Correct
5954 * include/bits/locale_facets.tcc (_S_group_digits): To
5956 * src/locale-inst.cc: Fixup names. Add use_facet instantiations
5957 for collate, numpunct.
5959 2001-02-06 Phil Edwards <pme@sources.redhat.com>
5961 * docs/html/configopts.html: Fix HTML markup.
5962 * docs/html/install.html: Bring up to date.
5963 * docs/html/17_intro/C++STYLE: Add global variable conventions.
5964 * docs/html/21_strings/howto.html: More notes.
5965 * docs/html/22_locale/howto.html: Fix HTML markup.
5966 * docs/html/27_io/howto.html: More notes.
5967 * docs/html/27_io/binary_iostreams_kanze.txt: New file.
5968 * docs/html/27_io/binary_iostreams_kuehl.txt: New file.
5970 2001-02-06 Jeffrey Oldham <oldham@codesourcery.com>
5972 * src/misc-inst.cc (_S_pad_char): Modify declaration's parameters
5973 to match header files.
5974 (_S_output_float): Likewise.
5975 (_S_copy_streambufs): Likewise.
5977 2001-02-06 Hyman Rosen <Hyman.Rosen@kbcfp.com>
5978 Phil Edwards <pme@sources.redhat.com>
5980 * include/bits/std_istream.h (op>> signed,unsigned char): Must
5981 use reinterpret_cast, not static_cast.
5983 2001-02-06 Benjamin Kosnik <bkoz@redhat.com>
5985 * acinclude.m4 (gxx_include_dir): Quote, fix regression.
5986 * aclocal.m4: Regenerate.
5987 * configure: Regenerate.
5989 2001-02-05 Benjamin Kosnik <bkoz@redhat.com>
5991 * include/bits/locale_facets.h (class moneypunct): Fix typos.
5992 * libsupc++/pure.cc: Revert.
5994 2001-02-05 Benjamin Kosnik <bkoz@redhat.com>
5996 * acinclude.m4 (GLIBCPP_CHECK_MATH_DECL_1): New macro.
5997 (GLIBCPP_CHECK_MATH_DECL_2): New macro.
5998 (GLIBCPP_CHECK_MATH_DECL_3): New macro.
5999 (GLIBCPP_CHECK_MATH_DECL_AND_LINKAGE_1): Use it, check for _* too.
6000 (GLIBCPP_CHECK_MATH_DECL_AND_LINKAGE_2): Same.
6001 (GLIBCPP_CHECK_MATH_DECL_AND_LINKAGE_3): Same.
6002 (GLIBCPP_CHECK_MATH_SUPPORT): Remove explicit checks for _* versions.
6003 * aclocal.m4: Regenerate.
6004 * configure: Regenerate.
6006 2001-02-05 Mark Mitchell <mark@codesourcery.com>
6008 * include/bits/locale_facets.tcc: Remove `static' keyword on
6009 function definitions.
6010 * include/bits/std_streambuf.h: Likewise.
6011 * src/Makefile.am: Remove use of -fimplicit-templates.
6012 * src/Makefile.in: Regenerated.
6013 * src/locale-inst.cc: Explicitly instantiate more functions.
6014 * src/misc-inst.cc: Likewise.
6015 * src/string-inst.cc: Likewise.
6017 2001-02-05 Benjamin Kosnik <bkoz@redhat.com>
6019 * acinclude.m4 (GLIBCPP_EXPORT_INSTALL_INFO): New
6020 macro. Consolidate all the bits to do with where includes might be
6022 * aclocal.m4: Regenerate.
6023 * configure.in: Use it.
6024 * configure: Regenerate.
6025 * src/Makefile.am (targetincludep): Use simplified rules.
6026 (targetincludep): Rename gxx_target_include_dir.
6027 (myincludep): Rename gxx_include_dir.
6028 * src/Makefile.in: Regenerate.
6029 * libsupc++/Makefile.am: Use simplified rules.
6030 * libsupc++/Makefile.in: Regenerate.
6032 2001-02-05 Benjamin Kosnik <bkoz@redhat.com>
6034 * include/c_std/bits/std_cerrno.h: Correct date format for copyright.
6035 * include/c_std/bits/std_cctype.h: Same.
6036 * include/c_std/bits/std_cassert.h: Same.
6037 * include/c_std/bits/std_cstdarg.h: Same.
6038 * include/c_std/bits/std_cstddef.h: Same.
6040 * include/c_std/bits/std_cstdio.h: Undefine all names brought into
6042 * include/c_std/bits/std_ctime.h: Same.
6043 * include/c_std/bits/std_clocale.h: Same.
6044 * include/c_std/bits/std_cmath.h: Same.
6045 * include/c_std/bits/std_csetjmp.h: Same.
6046 * include/c_std/bits/std_csignal.h: Same.
6047 * include/c_std/bits/std_cstring.h: Same.
6048 * include/c_std/bits/std_cstdlib.h: Same.
6049 * include/c_std/bits/std_cwchar.h: Same.
6051 2001-02-05 Phil Edwards <pme@sources.redhat.com>
6053 * testsuite/27_io/ios_base_members_static.cc: Swap order of tests.
6055 2001-02-05 Mark Mitchell <mark@codesourcery.com>
6057 * src/string-inst.cc (string::_M_replace): Explicitly instantiate.
6058 (string::_S_construct): Likewise.
6060 2001-02-05 Gabriel Dos Reis <gdr@codesourcery.com>
6062 * testsuite/config/default.exp: New file.
6063 * testsuite/config: New directory.
6065 2001-02-04 Mark Mitchell <mark@codesourcery.com>
6067 * libsupc++/typeinfo (__GXX_MERGED_TYPEINFO_NAMES): New macro.
6068 * libsupc++/tinfo.cc (std::typeinfo::operator==): Use strcmp
6069 whenever !__GXX_MERGED_TYPEINFO_NAMES.
6070 * libsupc++/tinfo2.cc (std::typeinfo::before): Likewise.
6072 2001-02-03 Alexandre Oliva <aoliva@redhat.com>
6073 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
6075 * Makefile.am (mkinstalldirs): Set.
6076 * src/Makefile.am (mkinstalldirs): Set.
6077 * libmath/Makefile.am (mkinstalldirs): Set.
6078 * libsup++/Makefile.am (mkinstalldirs): Set.
6079 * libio/Makefile.am (mkinstalldirs): Set.
6080 * */Makefile.in: Regenerate.
6082 2001-02-03 Benjamin Kosnik <bkoz@redhat.com>
6084 * include/bits/stl_threads.h (struct _STL_mutex_lock): Same.
6085 * include/bits/localefwd.h: More initialization cleanups.
6087 2001-02-03 Jeffrey A Law <law@cygnus.com>
6089 * include/bits/ios_base.h (_S_ios_fmtflags_end): Initialize
6090 correctly targets with 16bit ints.
6091 (_S_ios_openmode_end): Similarly.
6092 (_S_ios_iostate_end): Similarly.
6093 (_S_ios_Seekdir_end): Similarly.
6095 2001-02-02 Phil Edwards <pme@sources.redhat.com>
6097 * mkcheck.in: Also limit virtual memory size, for mmap-based mallocs.
6099 2001-02-01 Alexandre Oliva <aoliva@redhat.com>
6101 * configure.in (toplevel_srcdir, auxdir): Set.
6102 * acinclude.m4 (glibcpp_basedir): Set based on auxdir.
6103 * aclocal.m4, configure, Makefile.in: Rebuilt.
6104 * libio/Makefile.in, math/Makefile.in, src/Makefile.in: Likewise.
6105 * libsupc++-v3/Makefile.am (INCLUDES): Use toplevel_srcdir.
6106 * libsupc++-v3/Makefile.in: Rebuilt.
6107 * libsupc++-v3/configure.in, libsupc++-v3/configure: Removed.
6108 * libsupc++-v3/aclocal.m4, libsupc++-v3/config.h.in: Likewise.
6110 2001-01-30 Benjamin Kosnik <bkoz@redhat.com>
6112 * config/c_locale_generic.cc: Remove langinfo include.
6114 2001-01-29 Benjamin Kosnik <bkoz@redhat.com>
6116 Preliminary named locales.
6117 * acinclude.m4 (GLIBCPP_ENABLE_CLOCALE): New macro.
6118 * aclocal.m4: Regenerate.
6119 * configure.in: Use it.
6120 * configure: Regerate.
6121 * src/Makefile.am (sources): Add c++locale.cc.
6122 (build_headers): Add c++locale.h.
6123 * src/Makefile.in: Regenerate.
6124 * config/c_locale_gnu.h: New file.
6125 * config/c_locale_gnu.cc: New file. Non-inline member functions
6126 for named locales, gnu-specific.
6127 * config/c_locale_generic.h: New file.
6128 * config/c_locale_generic.cc: New file. Non-inline member
6129 functions for named locales, generic version.
6130 * docs/html/configopts.html: Add documentation on new options.
6132 * include/bits/locale_facets.h (class _Messages): Remove.
6133 (class _Moneypunct): Remove.
6134 * src/locale-inst.cc: Remove.
6136 * include/bits/locale_facets.h (class _Collate): Remove.
6137 * src/locale-inst.cc (std): Remove.
6138 * src/locale.cc: And here.
6140 * include/bits/localefwd.h (locale::_M_coalesce): New
6141 function. Correctly put together multi-name locales.
6142 (_Impl(const _Impl&, category, size_t)): Remove.
6144 * include/bits/localefwd.h (locale::_Impl): Remove _M_construct_*
6146 (_M_normalize_category_names): Remove.
6147 (_M_replace_categories): Fix.
6149 * src/localename.cc (locale::_Impl::_M_construct_collate): Remove.
6150 (locale::_Impl::_M_construct_ctype): Remove.
6151 (locale::_Impl::_M_construct_monetary): Remove.
6152 (locale::_Impl::_M_construct_numeric): Remove.
6153 (locale::_Impl::_M_construct_time): Remove.
6154 (locale::_Impl::_M_construct_messages): Remove.
6156 * include/bits/locale_facets.h (_Bad_use_facet): Remove.
6157 (_Use_facet_failure_handle): Remove.
6158 * src/locale.cc: Remove definitions.
6159 * src/locale-inst.cc: And here.
6161 * testsuite/22_locale/ctor_copy_dtor.cc (test01): Fixup. Add tests.
6163 * src/localename.cc (locale::facet::_S_create_c_locale): Properly
6164 create and error-check underlying locale object.
6165 (locale::facet::_S_destroy_c_locale): Add, take care of properly
6166 tearing down underlying locale object.
6167 * include/bits/localefwd.h (locale::facet): Declare.
6168 * testsuite/22_locale/members.cc: Don't test "fr_FR" locale for
6169 correctness, as glibc apparently has incorrect info in it. Test
6170 with it when it works again.....
6172 * include/bits/localefwd.h (locale::_Impl::__vec_string):
6173 Remove. Number of categories is fixed at six, so just simplify and
6174 make this an array of strings.
6175 (locale::_Impl::_M_has_name): Remove.
6176 (locale::_Impl::_M_name): Remove.
6177 (locale::_Impl::_M_category_names): Turns into...
6178 (locale::_Impl::_M_names): ...this.
6179 (locale::_Impl::_M_has_same_name()): New function.
6180 * src/localename.cc (locale::_Impl::~_Impl()): Remove here.
6181 (locale::_Impl::_Impl(size_t __refs, string __str)): Simplify
6183 * src/locale.cc (locale::name()): Construct mangled name
6184 accurately reflecting combined locale categories.
6186 * src/locale.cc (locale::classic()): Don't initialize here.
6187 * src/localename.cc (locale::_Impl::_Impl(size_t __num, size_t
6188 __refs, bool __has_name, string __str): Do it here.
6190 * include/bits/localefwd.h: _S_categories_num to
6191 _S_num_categories. _S_facets_num to _S_num_facets.
6192 (locale::id::id()): Explicitly set _M_index to zero.
6193 * src/locale.cc: Same.
6195 * src/locale.cc: (locale::locale(const char*)): Construct named
6198 * src/locale.cc: Remove numpunct_byname ctors.
6199 * testsuite/22_locale/numpunct_byname.cc: New file.
6200 * testsuite/22_locale/numpunct.cc: New file.
6202 * include/bits/localefwd.h (class locale): Change data members to
6203 protected, from private.
6204 (_Impl::_M_get_c_locale): Add member function.
6205 (locale::facet::_M_get_global_impl()): Add member function.
6206 * include/bits/locale_facets.h (numpunct::_M_init): Change to take
6207 a __c_locale pointer.
6208 (numpunct::numpunct( __c_locale*, size_t)): Add additonal ctor for
6210 * testsuite/22_locale/members.cc: New file, test name and combine.
6212 * include/bits/locale_facets.h (class numpunct): Remove class
6213 _Punct and _Numpunct. Rewrite class numpunct to be correct for
6215 * include/bits/localefwd.h (locale::_Imp::_M_c_locale): Add.
6216 * src/localename.cc (_Impl::~_Impl()): Call __frelocale.
6217 (_Imp::_Impl(size_t, size_t, bool, string)) Initialize _M_c_locale.
6218 * src/locale-inst.cc: Remove _Numpunct, _Punct instantiations.
6219 * testsuite/22_locale/numpunct_char_members.cc: New file.
6221 2001-01-28 Gabriel Dos Reis <gdr@codesourcery.com>
6223 * testsuite/README: Add more comment.
6224 * testsuite/lib/libstdc++.exp: Tweak comment.
6226 2001-01-26 Benjamin Kosnik <bkoz@kredhat.com>
6228 * libsupc++/pure.cc (writestr): Just use cstdio and std::fputs.
6230 2001-01-25 Loren J. Rittle <ljrittle@acm.org>
6232 * testsuite/21_strings/inserters_extractors.cc: Remove
6233 explicit reference to 'testsuite/'.
6235 2001-01-25 Richard Henderson <rth@redhat.com>
6237 * config/cpu/alpha/bits/atomicity.h: Remove tricky .subsetion
6238 bits. Fixes Tru64 build issues.
6240 2001-01-25 Michael Sokolov <msokolov@ivan.Harhan.ORG>
6242 * acinclude.m4 (GLIBCPP_CHECK_GNU_MAKE): Bourne shell portability bug
6243 (use ${MAKE-make}, not ${MAKE:-make}).
6244 * aclocal.m4, configure: Regenerate.
6246 2001-01-25 Mark Mitchell <mark@codesourcery.com>
6248 * src/ios.cc: Remove accidental inclusion of <stdio.h> in last
6251 * src/Makefile.am (sources): Add globals.cc.
6252 * src/Makefile.in: Regenerated.
6253 * src/globals.cc: New file.
6254 * src/ios.cc (cin): Don't define here, just declare extern.
6263 2001-01-25 Phil Edwards <pme@sources.redhat.com>
6265 * include/bits/std_iterator.h: Do not include stl_relops.h.
6266 * include/bits/std_numeric.h: Ditto.
6267 * include/bits/stl_algobase.h: Ditto.
6268 * include/bits/stl_relops.h: Add comment warning about problems.
6270 2001-01-25 Gabriel Dos Reis <gdr@codesourcery.com>
6272 * testsuite/27_io/*.cc: Remove explicit reference to 'testsuite/'
6273 in testcases. Prepare for the DejaGnu based framework.
6274 * mkcheck.in: Adjust call to tests_flags. Don't mmkdir testsuite
6275 directory -- it is now mkcheck working directory.
6276 * tests_flags.in: Remove reference to $(top_srcdir). Use
6278 * Makefile.am (check, check-install): Change mkcheck invocation
6280 * Makefile.in: Regenerate.
6282 2001-01-24 Mark Mitchell <mark@codesourcery.com>
6284 * config/os/aix/bits/atomicity.h (__compare_and_swap): Remove.
6285 (__always_swap): Likewise.
6287 2001-01-23 Chris Demetriou <cgd@broadcom.com>
6289 * libsupc++/exception_support.cc (__terminate_func): Remove
6291 (__terminate_func_ptr): New typedef.
6292 (__terminate, __terminate_set_func): New extern function
6294 (std::terminate): Use __terminate function.
6295 (std::set_terminate): Use __terminate_set_func function.
6297 2001-01-23 Benjamin Kosnik <bkoz@redhat.com>
6299 * configure.target: Just use os_include_dir always.
6300 * configure.in: Remove calls to GLIBCPP_CHECK_CTYPE_SUPPORT.
6301 Link atomicity files and ctype files here.
6302 * configure: Regenerate.
6303 * acinclude.m4 (GLIBCPP_CHECK_CTYPE_SUPPORT): Remove.
6304 (GLIBCPP_ENABLE_ATOMICITY): Remove.
6305 * aclocal.m4: Regenerate.
6307 2001-01-23 Chris Demetriou <cgd@broadcom.com>
6309 * configure.in: Place definition of MULTISUBDIR in
6310 libsupc++/Makefile as is done for src/Makefile.
6311 * configure: Regenerate.
6313 2001-01-23 Phil Edwards <pme@sources.redhat.com>
6315 * acinclude.m4: Cosmetic changes only.
6316 * aclocal.m4: Regenerated.
6317 * configure: Regenerated.
6318 * configure.target: Update documented list of changed variables.
6319 * docs/html/install.html: Fix typo.
6320 * docs/html/20_util/howto.html: More notes on auto_ptr.
6321 * docs/html/27_io/howto.html: More notes on streabufs.
6322 * docs/html/faq/index.html: Add rel_ops problem and mention the
6323 DEC as(1) .subsection difficulty.
6324 * docs/html/faq/index.txt: Regenerated.
6326 2001-01-23 Mark Mitchell <mark@codesourcery.com>
6328 * ainclude.m4 (GLIBCPP_CHEC_MATH_DECLS_AND_LINKAGE_1): New macro.
6329 (GLIBCPP_CHECK_MATH_SUPPORT): Use it.
6330 (GLIBCPP_CHECK_TYPE_SUPPORT): Don't autoconf ctype information if
6331 its already provided in config.target.
6332 * aclocal.m4: Regenerated.
6333 * configure: Likewise.
6334 * configure.target: Set ctype_include_dir for lots of systems.
6335 * libsupc++/Makefile.am: Explicitly include --tag disable-shared.
6336 * libsupc++/Makefile.in: Regenerated.
6338 2001-01-23 Gabriel Dos Reis <gdr@codesourcery.com>
6340 * testsuite/lib/libstdc++.exp: Improve. Add support for @xxx#
6343 * testsuite/README: Add comment.
6345 2001-01-21 Phil Edwards <pme@sources.redhat.com>
6347 * docs/html/configopts.html: Update for current status. Fix HTML.
6348 * docs/html/install.html: Update for current status.
6350 2001-01-20 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
6352 * testsuite/libstdc++.tests/tests.exp: New file.
6353 * testsuite/lib/libstdc++.exp: Itou.
6354 * testsuite/README: Itou.
6356 2001-01-20 Gabriel Dos Reis <gdr@codesourcery.com>
6358 * tests_flags.in: Just output the bare minimum to run tests.
6359 Let's the caller do its own arrangement.
6361 * mkcheck.in: Rename INC_PATH to INCLUDES. Adjust flags
6364 2001-01-19 Gabriel Dos Reis <gdr@codesourcery.com>
6366 * testsuite/17_intro: Prepare testcases for new style DejaGnu
6369 2001-01-18 Gabriel Dos Reis <gdr@codesourcery.com>
6371 * testsuite/libstdc++.tests, testsuite/lib: New directories.
6373 2001-01-17 Loren J. Rittle <ljrittle@acm.org>
6375 * mkcheck.in: Construct file names that match $objdir structure.
6376 * testsuite/27_io/filebuf_members-1.txt: New file.
6377 * testsuite/27_io/ifstream_members-1.txt: New file.
6378 * testsuite/27_io/ostream_inserter_char-1.txt: New file.
6380 * testsuite/27_io/ios_base_members_static.cc (test02): Add test.
6381 * testsuite/27_io/ios_base_members_static-1.tst: Add expected output.
6383 2001-01-17 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
6385 * testsuite/27_io/istream_sentry.cc (test02): Fix.
6387 2001-01-17 Benjamin Kosnik <bkoz@redhat.com>
6390 * include/bits/ios_base.h (ios_base::failure): Tighten up throw specs.
6391 * src/ios.cc (ios_base::failure): Make definitions match.
6392 * libsupc++/typeinfo (class bad_typeid): Add throw specs.
6393 (class bad_cast): Same.
6394 * libsupc++/exception (class exception): Add throw specs.
6395 * libsupc++/exception_support.cc (set_terminate): Add throw specs.
6396 (set_unexpected): Same.
6397 (uncaught_exception): Same.
6400 * docs/html/17_intro/C++STYLE (classname): Fix.
6402 2001-01-16 Mark Mitchell <mark@codesourcery.com>
6404 * src/gen-num-limits.cc (INSTANTIATIONS): New macro.
6405 Use it do explicitly instantiate predicate<T> and value<T> for
6408 2001-01-16 Nathan Sidwell <nathan@codesourcery.com>
6410 * libsupc++/exception_support.cc (__cp_pop_exception): Fix
6411 uninitialized thinko in last change.
6413 2001-01-16 Mark Mitchell <mark@codesourcery.com>
6415 * libsupc++/exception_support.cc (__cp_pop_exception): Change
6418 2001-01-16 Benjamin Kosnik <bkoz@redhat.com>
6420 * docs/html/17_intro/C++STYLE (classname): Add more existing
6421 and stylish patterns.
6424 * include/bits/istream.tcc (istream::sentry::sentry()): Set
6425 failbit if the state of the stream is not good.
6426 * testsuite/27_io/istream_sentry.cc (test02): Add test.
6427 * testsuite/27_io/istream_manip.cc (test01): Modify.
6430 reported by Paolo Carlini <pcarlini@unitus.it>
6431 * include/bits/istream.tcc (operator>>(istream&, string&)): Fix.
6432 * testsuite/21_strings/inserters_extractors.cc (test08): Add test.
6435 * include/bits/std_streambuf.h (setp): Set _M_buf_size correctly.
6436 * include/bits/streambuf.tcc (xsputn): Remove outside if clause.
6437 (xsgetn): Same. Simplify.
6438 * testsuite/27_io/streambuf.cc (test04): Add testcases.
6440 reported by Larry Evans <jcampbell3@prodigy.net>
6441 * include/bits/streambuf.tcc (streambuf::xsputn): Just check for
6442 equality with eof on returned value from overflow.
6444 2001-01-14 Andreas Jaeger <aj@suse.de>
6446 * libio/libio.h: Add test for glibc 2.0.
6448 2001-01-12 Benjamin Kosnik <bkoz@redhat.com>
6450 * config/os/djgpp/bits/*: Fix dates.
6452 * include/bits/basic_string.h (_S_find(const _CharT* __beg, const
6453 _CharT* __end, _CharT __c): Remove.
6454 * include/bits/basic_string.tcc: Substitute traits::find for _S_find.
6455 * include/bits/char_traits.h: Tweak.
6457 2001-01-12 Laurynas Biveinis <lauras@softhome.net>
6459 * acinclude.m4 (GLIBCPP_CHECK_CTYPE_SUPPORT): check for DJGPP <ctype.h>
6460 (LIB_AC_PROG_CXX): replace [/\\] with [\\/] to work around older
6462 * aclocal.m4: regenerated.
6463 * configure.target: set os_include_dir to config/os/djgpp under DJGPP.
6464 * configure: regenerated.
6465 * config/os/djgpp, config/os/djgpp/bits: new directories.
6466 * config/os/djgpp/bits/ctype_base.h,
6467 config/os/djgpp/bits/ctype_inline.h,
6468 config/os/djgpp/bits/ctype_noninline.h,
6469 config/os/djgpp/bits/os_defines.h: new files.
6471 2001-01-11 Joseph S. Myers <jsm28@cam.ac.uk>
6473 * include/c_std/bits/std_cstdio.h: Undef printf.
6475 2001-01-10 Benjamin Kosnik <bkoz@redhat.com>
6477 * src/ios.cc: Fix typo: change cout->wcout.
6479 * src/Makefile.am (targetincludep): Fix for version-specific-libs.
6480 * src/Makefile.in: Regenerate.
6482 2001-01-10 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
6484 * include/bits/std_complex.h: Fix a typo.
6486 2001-01-09 Benjamin Kosnik <bkoz@redhat.com>
6489 Fixes for libstdc++/1576
6490 * src/stdstreams.cc: Initialize with NULL filebuf. Delete
6491 file, move contents into....
6492 * src/ios.cc: ...Here. Put defines for iostreams objects and
6493 initialization routines into one file to simplify DSO interaction.
6494 * include/bits/std_iostream.h: Touch.
6495 * include/bits/ios_base.h (_S_synched_with_stdio): Make static.
6496 * src/Makefile.am (sources): Remove stdstreams.cc.
6497 * src/Makefile.in: Regenerate.
6499 2001-01-10 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
6501 * tests_flags.in (check_directory): Fix typo.
6503 2001-01-09 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
6505 * include/bits/std_complex.h: Fix a typo.
6507 2001-01-09 Loren J. Rittle <ljrittle@acm.org>
6509 * config/os/bsd/freebsd/bits/ctype_inline.h (is): (Make right
6510 code path:) Remove magic constants and restructure to handle
6511 ctype.h bit mask layout changes more gracefully. (Make fast
6512 code path:) Use __maskrune (), if available.
6513 (is): Remove special case for digit and xdigit masks.
6515 2001-01-09 Robert Lipe <robertlipe@usa.net>
6517 * include/c_std/bits/std_ctime.h: Undefine difftime.
6519 2001-01-09 Alexandre Oliva <aoliva@redhat.com>
6521 * src/gen-num-limits.cc (signal_adapter): New template function.
6522 (signal_handler): Use it, instead of signal.
6523 (traps<T>): Likewise. Install SIGTRAP handler too. Don't
6524 require both tests to trap to set trap_flag.
6526 2001-01-08 Benjamin Kosnik <bkoz@redhat.com>
6528 * include/bits/fpos.h (fpos:::fpos(streamoff __pos)): Explicitly
6529 initialize mbstate_t member, name offset data members *off, not pos.
6530 * include/bits/fstream.tcc (filebuf::filebuf): Same.
6532 2001-01-08 Benjamin Kosnik <bkoz@redhat.com>
6534 reported by Chris G. Demetriou <cgd@sibyte.com>
6535 * configure.in: Change -linux-* to -linux*.
6536 * configure: Regenerate.
6538 2001-01-05 Benjamin Kosnik <bkoz@redhat.com>
6540 Fix 27_io/filebuf_members.cc
6541 * src/localename.cc (locale::_Impl::_Impl(const _Impl& __imp,
6542 const string& __name, category __cat, size_t __refs): Set
6543 _M_has_name with _M_name.
6544 * include/bits/localefwd.h (locale::operator!=): Protect member
6545 function call with this->.
6546 * src/locale.cc (locale::operator==): Make fast checks first.
6547 * include/bits/basic_ios.tcc (basic_ios::init): Simplify.
6549 * include/bits/ios_base.h (_M_synced_with_stdio): Add data member
6551 * src/ios.cc (ios_base::Init::Init): Initialize here.
6552 (ios_base::sync_with_stdio): Set here.
6554 2001-01-04 Loren J. Rittle <ljrittle@acm.org>
6556 * config/c_io_stdio.cc (__basic_file<_CharT>::sys_open()): On
6557 systems that support it, call dup() before fdopen().
6559 2001-01-03 Benjamin Kosnik <bkoz@redhat.com>
6561 * include/c_std/bits/std_cwctype.h: Include std_cwchar.h for wint_t.
6562 * testsuite/17_intro/header_cwctype.cc (main): New file.
6564 * src/Makefile.am (base_headers): Change.
6565 * include/bits/std_string.h: And here.
6566 * include/bits/string.tcc: Tweaks, move to...
6567 * include/bits/basic_string.tcc: ...Here.
6568 * src/string-inst.cc: Simplify, just instantiate the whole class,
6569 not member-by-member.
6571 2001-01-02 Benjamin Kosnik <bkoz@redhat.com>
6573 * acinclude.m4 (GLIBCPP_ENABLD_CSTDIO): Add in default value.
6574 * aclocal.m4: Regenerate.
6575 * configure: Regenerate.
6577 * include/bits/c++config (__GLIBCPP__): Bump version number.
6579 * ChangeLog: Start new log for year 2001
6580 * ChangeLog-2000: New file.
6582 * docs/html/configopts.html: Make sure default values are current,
6585 2001-01-01 Benjamin Kosnik <bkoz@fillmore.redhat.com>
6587 * include/c_std/bits/std_cwchar.h: Same.
6588 * testsuite/17_intro/header_cwchar.cc: Same.
6589 * include/c_std/bits/std_ctime.h: Same.
6590 * testsuite/17_intro/header_ctime.cc: Same.
6591 * include/c_std/bits/std_cstdlib.h: Same.
6592 Clean up undefs, make consistent with cwchar and cmath, etc.
6593 * testsuite/17_intro/header_cstdlib.cc: Same.
6594 * include/c_std/bits/std_cstdio.h: Same here.
6595 * testsuite/17_intro/header_cstring.cc: Same.
6596 * include/c_std/bits/std_cstring.h: Include std_cstddef.h for size_t.
6597 * testsuite/17_intro/header_cstring.cc: New file. Check for
6598 size_t in namespace std.
6600 * include/c_std/bits/std_cwchar.h: Explicit checks for mbstate_t.
6601 * acconfig.h (HAVE_MBSTATE_T): Add.
6602 * config.h.in: Regenerate.
6603 * acinclude.m4(GLIBCPP_CHECK_WCHAR_T_SUPPORT): Always test for
6605 * aclocal.m4: Regenerate.
6606 * configure: Regenerate.
6607 * testsuite/17_intro/headers_c++.cc: New file.
6608 * testsuite/17_intro/headers_c.cc: Small changes.
6610 2001-01-01 David Billinghurst <David.Billinghurst@riotinto.com>
6612 * tests_flags.in: Fix typo in usage.
6614 * tests_flags.in: Set target specific LIBS for cygwin.