1 2002-01-17 David Edelsohn <edelsohn@gnu.org>
3 * configure.target: Define OPT_LDFLAGS for AIX case.
5 2002-01-17 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
7 * include/std/std_limits.h (__glibcpp_float_has_quiet_NaN,
8 __glibcpp_double_has_quiet_NaN): Correct mispelling.
10 2002-01-17 Andreas Tobler <toa@pop.agri.ch>
12 * config/os/solaris/solaris2.6/bits/ctype_noninline.h: Fix.
14 2002-01-16 David Edelsohn <dje@watson.ibm.com>
16 * acinclude.m4 (GLIBCPP_CHECK_LINKER_FEATURES): Do not clear
17 SECTION_LDFLAGS and OPT_LDFLAGS. Fix ac_sectionLDflags type.
18 * aclocal.m4: Regenerate.
19 * configure: Regenerate.
21 2002-01-16 Benjamin Kosnik <bkoz@redhat.com>
23 * include/Makefile.am (c_base_headers_rename): New.
24 (c_base_headers_extra): New.
25 (stamp-c_base): Modify.
26 (install-data-local): Use both.
27 * include/Makefile.in: Regenerate.
28 * include/c/[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_*: Here.
32 * include/c_std/[cctype ciso646 cmath cstdarg cstdlib cerrno climits
33 csetjmp cstddef cstring cwchar cassert cfloat clocale csignal
34 cstdio ctime cwctype]: Move to..
35 * include/c_std/std_*: Here.
37 Alexandre Oliva <aoliva@redhat.com>
38 * include/Makefile.am (.PRECIOUS): Add rule.
39 * include/Makefile.in: Regenerate.
41 2002-01-16 Benjamin Kosnik <bkoz@redhat.com>
42 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
44 * include/bits/stl_iterator.h (reverse_iterator::_M_current):
45 Deuglify, should be current.
46 (back_insert_iterator::_M_container): Deuglify, should be container.
47 (front_insert_iterator::_M_container): Same.
48 (insert_iterator::_M_container): Same.
49 * testsuite/24_iterators/reverse_iterator.cc: Add check.
50 * testsuite/24_iterators/back_insert_iterator.cc: Add check.
51 * testsuite/24_iterators/front_insert_iterator.cc: Same.
52 * testsuite/24_iterators/insert_iterator.cc: Same.
54 2002-01-16 Benjamin Kosnik <bkoz@redhat.com>
56 * include/bits/locale_facets.h (ctype<char>::classic_table): Make
58 (ctype<char>::_M_ctable): Make static, change name to _S_ctable.
59 * config/os/gnu-linux/bits/ctype_noninline.h: Define _S_ctable.
60 * config/os/solaris/solaris2.7/bits/ctype_noninline.h: Same.
61 * config/os/solaris/solaris2.6/bits/ctype_noninline.h: Same.
62 * config/os/solaris/solaris2.5/bits/ctype_noninline.h: Same.
63 * config/os/newlib/bits/ctype_noninline.h: Same.
64 * config/os/irix/irix6.5/bits/ctype_noninline.h: Same.
65 * config/os/irix/irix5.2/bits/ctype_noninline.h: Same.
66 * config/os/hpux/bits/ctype_noninline.h: Same.
67 * config/os/djgpp/bits/ctype_noninline.h: Same.
68 * config/os/bsd/netbsd/bits/ctype_noninline.h: Same.
69 * config/os/bsd/freebsd/bits/ctype_noninline.h: Same.
70 * config/os/aix/bits/ctype_noninline.h: Same.
72 Testcase by Dietmar Kühl via Peter Schmid
73 * testsuite/22_locale/ctype_members_char.cc (char>): Add test for
76 2002-01-16 Benjamin Kosnik <bkoz@redhat.com>
78 * libmath/signbitl.c: Copyright years as list, not range.
79 * libmath/Makefile.am: Same.
80 * libmath/Makefie.in: Regenerate.
81 * libmath/signbit.c: Same.
82 * libmath/nan.c: Same.
83 * libmath/copysignf.c: Same.
84 * libmath/signbitf.c: Same.
85 * testsuite/22_locale/money_get_members_char.cc: Same.
86 * testsuite/22_locale/money_get_members_wchar_t.cc: Same.
87 * testsuite/22_locale/money_put_members_char.cc: Same.
88 * testsuite/22_locale/money_put_members_wchar_t.cc: Same.
89 * testsuite/22_locale/time_get_members_char.cc: Same.
90 * testsuite/22_locale/time_get_members_wchar_t.cc: Same.
91 * testsuite/22_locale/time_put_members_char.cc: Same.
92 * testsuite/22_locale/time_put_members_wchar_t.cc: Same.
93 * testsuite/21_strings/nonmember.cc: Same.
94 * testsuite/21_strings/compare.cc: Same.
95 * testsuite/27_io/stringstream.cc: Same.
96 * testsuite/27_io/stringbuf.cc: Same.
97 * testsuite/27_io/filebuf.cc: Same.
98 * testsuite/27_io/ios_manip_basefield.cc: Same.
99 * testsuite/27_io/ios_manip_fmtflags.cc: Same.
100 * include/bits/cpp_type_traits.h: Same.
101 * include/bits/generic_shadow.h: Same.
102 * include/bits/gslice_array.h: Same.
103 * include/bits/gslice.h: Same.
104 * include/bits/indirect_array.h: Same.
105 * include/bits/slice_array.h: Same.
106 * include/bits/sstream.tcc: Same.
107 * include/bits/streambuf_iterator.h: Same.
108 * include/bits/valarray_array.tcc: Same.
109 * include/bits/valarray_meta.h: Same.
110 * include/bits/valarray_array.h: Same.
111 * config/os/mingw32/bits/ctype_noninline.h: Same.
112 * config/os/mingw32/bits/ctype_base.h: Same.
113 * config/os/hpux/bits/ctype_noninline.h: Same.
114 * config/os/hpux/bits/ctype_base.h: Same.
115 * config/os/gnu-linux/bits/ctype_noninline.h: Same.
116 * config/os/gnu-linux/bits/ctype_base.h: Same.
117 * config/os/generic/bits/ctype_noninline.h: Same.
118 * config/os/generic/bits/ctype_base.h: Same.
120 * libsupc++/tinfo.h: Tweaks.
122 2002-01-15 Benjamin Kosnik <bkoz@redhat.com>
124 * testsuite/22_locale/num_put_members_wchar_t.cc (test02): Same.
125 * testsuite/22_locale/num_put_members_char.cc (test01): Tweak.
126 * testsuite/22_locale/ctype_members_char.cc: Tweak.
128 2002-01-15 Benjamin Kosnik <bkoz@redhat.com>
130 * include/bits/locale_facets.tcc (num_put::do_put(bool): Fix.
131 (num_put::do_put(void*)): Fix.
132 * testsuite/22_locale/num_put_members_char.cc (test02): Add.
133 * testsuite/22_locale/num_put_members_wchar_t.cc (test02): Add.
134 * testsuite/22_locale/num_get_members_char.cc (test02): Add
135 long double, void, bool types.
136 * testsuite/22_locale/num_get_members_wchar_t.cc (test02): Add.
138 2002-01-15 Benjamin Kosnik <bkoz@redhat.com>
139 Alexandre Oliva <aoliva@redhat.com>
141 * libmath/Makefile.am (LINK): Add --tag CC.
142 * libmath/Makefile.in: Regenerate.
144 2002-01-15 John David Anglin <dave@hiauly1.hia.nrc.ca>
146 * config/os/hpux/bits/ctype_noninline.h: Use __SB_masks for address
147 of character to attribute mapping table.
149 2002-01-15 David Billinghurst <David.Billinghurst@riotinto.com>
151 * testsuite/26_numerics/c99_classification_macros_c.cc
152 Remove dg-error and dg-excess-errors comments.
154 2002-01-14 Benjamin Kosnik <bkoz@redhat.com>
156 * include/bits/locale_facets.tcc (time_put::put): Correct output
158 * testsuite/22_locale/time_put_members_char.cc (test02): Add.
159 * testsuite/22_locale/time_put_members_wchar_t.cc (test02): Add.
160 * testsuite/22_locale/time_get_members_wchar_t.cc (test06): Add.
161 * testsuite/22_locale/time_get_members_char.cc (test06): Add.
163 2002-01-14 Craig Rodrigues <rodrigc@gcc.gnu.org>
165 * docs/html/17_intro/porting-howto.xml: Update filebuf section.
167 2002-01-14 Paolo Carlini <pcarlini@unitus.it>
168 Nathan Myers <ncm@cantrip.org>
170 * include/bits/basic_string.h
171 (replace(__pos, __n1, __s, __n2)): Optimize by avoiding
172 temporaries (i.e., call _M_replace_safe) when possible.
173 (replace(__pos, __n, __str)): Call replace(__pos, __n1, __s, __n2).
174 (replace(__pos, __n1, __s)): Call replace(__pos, __n1, __s , __n2).
175 (replace(__i1, __i2, __str)): Call replace(__i1, __i2, __s, __n).
176 (replace(__i1, __i2, __s)): Call replace(__i1, __i2, __s, __n).
177 (replace(__i1, __i2, __s, __n)): Call replace(__pos1, __n1, __s, __n2).
178 * include/bits/basic_string.tcc
179 (replace(__pos1, __n1, __str, __pos2, __n2)): Call
180 replace(__pos, __n1, __s, __n2).
181 * testsuite/21_strings/replace.cc (test03): New testcases.
183 * include/bits/basic_string.h (insert(__pos, __s, __n)):
184 Adjust comparison wrt overflow.
186 2002-01-12 Benjamin Kosnik <bkoz@redhat.com>
188 * include/Makefile.am (std_headers_rename): New variable.
189 (install-data-local): Use it.
190 * include/Makefile.in: Regenerate.
192 2002-01-12 Benjamin Kosnik <bkoz@redhat.com>
194 * include/bits/locale_facets.tcc (money_put::do_put(string):
195 Correct output iterator value.
196 * testsuite/22_locale/money_put_members_char.cc (test03): Add.
197 * testsuite/22_locale/money_put_members_wchar_t.cc: Same.
199 2002-01-11 Phil Edwards <pme@gcc.gnu.org>
201 * include/Makefile.am, include/Makefile.in (stamp-std): Fix typo from
204 2002-01-11 Phil Edwards <pme@gcc.gnu.org>
206 * include/Makefile.am (std_headers): Update list with new names.
207 (stamp-std): Link to standardized name.
208 * include/Makefile.in: Regenerate.
210 * include/std/algorithm, include/std/bitset, include/std/complex,
211 include/std/deque, include/std/fstream, include/std/functional,
212 include/std/iomanip, include/std/ios, include/std/iosfwd,
213 include/std/iostream, include/std/istream, include/std/iterator,
214 include/std/limits, include/std/list, include/std/locale,
215 include/std/map, include/std/memory, include/std/numeric,
216 include/std/ostream, include/std/queue, include/std/set,
217 include/std/sstream, include/std/stack, include/std/stdexcept,
218 include/std/streambuf, include/std/string, include/std/utility,
219 include/std/valarray, include/std/vector: Rename to...
221 * include/std/std_algorithm.h, include/std/std_bitset.h,
222 include/std/std_complex.h, include/std/std_deque.h,
223 include/std/std_fstream.h, include/std/std_functional.h,
224 include/std/std_iomanip.h, include/std/std_ios.h,
225 include/std/std_iosfwd.h, include/std/std_iostream.h,
226 include/std/std_istream.h, include/std/std_iterator.h,
227 include/std/std_limits.h, include/std/std_list.h,
228 include/std/std_locale.h, include/std/std_map.h,
229 include/std/std_memory.h, include/std/std_numeric.h,
230 include/std/std_ostream.h, include/std/std_queue.h,
231 include/std/std_set.h, include/std/std_sstream.h,
232 include/std/std_stack.h, include/std/std_stdexcept.h,
233 include/std/std_streambuf.h, include/std/std_string.h,
234 include/std/std_utility.h, include/std/std_valarray.h,
235 include/std/std_vector.h: ...this.
237 2002-01-11 Loren Rittle <ljrittle@acm.org>
239 * include/Makefile.am (extra_target_headers): New list of all
240 target files built with ad hoc naming rules.
241 (stamp-*): Handle LN_S failure in manner portable across make
243 (install-data-local): Install header files from human-maintained
244 file lists and directory components instead of non-robust find.
245 * include/Makefile.in: Rebuilt.
247 2002-01-11 Benjamin Kosnik <bkoz@redhat.com>
249 * include/bits/locale_facets.tcc (money_get::do_get(string)):
250 Check for zero-length negative sign before adding it to output
252 (money_get::do_get(long double)): Return beg.
253 * testsuite/22_locale/money_get_members_char.cc (test02): Add
255 * testsuite/22_locale/money_get_members_wchar_t.cc: Same.
257 2002-01-10 David Seymour <seymour_dj@yahoo.com>
260 * include/bits/locale_facets.h (num_get<>): Return advanced iterator
261 for _M_extract_float and _M_extract_int
262 * include/bits/locale_facets.tcc (num_get<>::_M_extract_float)
263 (num_get<>::_M_extract_int): Likewise, all callers changed
264 * testsuite/22_locale/num_get_members_char.cc: Testcase
266 2002-01-09 Paolo Carlini <pcarlini@unitus.it>
268 * libsupc++/exception (bad_exception): Add comment.
269 * libsupc++/new (bad_alloc): Same.
270 * libsupc++/typeinfo (bad_cast, bad_typeid): Same.
272 2002-01-09 Paolo Carlini <pcarlini@unitus.it>
274 libstdc++/3150: revert 2001-11-30 commit. DR266 only means
275 that the destructors should be removed from the descriptions
276 in the standard: writing them explicitly allows the vtable
277 heuristic to work. For additional information see:
278 http://gcc.gnu.org/ml/libstdc++/2002-01/msg00090.html
279 http://gcc.gnu.org/ml/libstdc++/2002-01/msg00110.html
280 http://gcc.gnu.org/ml/libstdc++/2002-01/msg00155.html
281 * libsupc++/exception (bad_exception::~bad_exception()):
282 Reintroduce declaration.
283 * libsupc++/new (bad_alloc::~bad_alloc()): Same.
284 * libsupc++/typeinfo (bad_cast::~bad_cast()): Same.
285 (bad_typeid::~bad_typeid()): Same.
286 * libsupc++/eh_exception.cc (bad_exception::~bad_exception()):
287 Reintroduce definition.
288 * libsupc++/new_handler.cc (bad_alloc::~bad_alloc()): Same.
289 * libsupc++/tinfo.cc (bad_cast::~bad_cast()): Same.
290 (bad_typeid::~bad_typeid()): Same.
292 2002-01-09 Benjamin Kosnik <bkoz@redhat.com>
294 * include/Makefile.am (c_base_srcdir): Remove duplicate '/'.
295 * include/Makefile.in: Regenerate.
297 2002-01-09 Bo Thorsen <bo@suse.co.uk>
299 * config/cpu/x86-64/bits/cpu_limits.h (__glibcpp_long_bits): Add
302 2002-01-08 Benjamin Kosnik <bkoz@redhat.com>
306 * include/bits/fstream.tcc (filebuf::_M_really_overflow): Test
307 return value of _M_file->sync().
308 (filebuf::showmanyc): Check for is_open.
309 * include/std/fstream (filebuf::sync): Tweak.
310 * testsuite/27_io/filebuf.cc: Tweak.
312 2002-01-08 John Fardo <jfardo@laurelnetworks.com>
313 Brad Garcia <garsh@attbi.com>
315 * testsuite/27_io/filebuf_members.cc: Add test.
317 2002-01-07 Benjamin Kosnik <bkoz@redhat.com>
318 Craig Rodrigues <rodrigc@mediaone.net>
321 * po/Makefile.am (mkinstalldirs): Add.
322 * po/Makefile.in: Regenerate.
324 2002-01-07 David Billinghurst <David.Billinghurst@riotinto.com>
326 * testsuite_flags.in: Add -fmessage-length=0 to CXXFLAGS *
327 testsuite/lib/prune.exp: Delete lines ":In function ..." from
329 * testsuite/23_containers/map_operators.cc: Remove
330 dg-excess-errors comment.
331 * testsuite/23_containers/set_operators.cc: Likewise.
333 2002-01-06 Paolo Carlini <pcarlini@unitus.it>
335 * include/bits/stl_function.h: Remove two lines of comments;
336 adjust copyright years.
338 2002-01-04 Benjamin Kosnik <bkoz@redhat.com>
340 * include/Makefile.am (std_headers): Remove cXXX from list.
341 (c_base_srcdir): No bits subdirectory.
342 (c_base_builddir): Same.
343 (c_base_headers): Adjust names, add ciso646.
344 (bits_headers): Remove std_xxx.h headers.
345 * include/Makefile.in: Regenerate.
347 * include/ext/iterator: Adjust includes.
348 * include/ext/ropeimpl.h: Same.
349 * include/ext/stl_hash_fun.h: Same.
350 * include/ext/algorithm: Same.
352 * include/backward/bvector.h: Adjust includes.
353 * include/backward/vector.h: Same.
354 * include/backward/strstream: Same.
355 * include/backward/streambuf.h: Same.
356 * include/backward/stack.h: Same.
357 * include/backward/set.h: Same.
358 * include/backward/queue.h: Same.
359 * include/backward/multiset.h: Same.
360 * include/backward/multimap.h: Same.
361 * include/backward/map.h: Same.
362 * include/backward/list.h: Same.
363 * include/backward/iterator.h: Same.
364 * include/backward/iostream.h: Same.
365 * include/backward/iomanip.h: Same.
366 * include/backward/fstream.h: Same.
367 * include/backward/deque.h: Same.
368 * include/backward/complex.h: Same.
370 * include/bits/std_algorithm.h: Move to...
371 * include/std/algorithm: ...here.
372 * include/bits/std_iosfwd.h, std_locale.h, std_stack.h,
373 std_bitset.h, std_ios.h, std_map.h, std_stdexcept.h,
374 std_complex.h, std_iostream.h, std_memory.h, std_streambuf.h,
375 std_deque.h, std_istream.h, std_numeric.h, std_string.h,
376 std_fstream.h, std_ostream.h, std_utility.h, std_iterator.h,
377 std_queue.h, std_valarray.h, std_functional.h, std_limits.h,
378 std_set.h, std_vector.h, std_iomanip.h, std_list.h, std_sstream.h:
381 * include/c_std/bits/std_cassert.h: Move to...
382 * include/c_std/cassert: Here.
383 * include/c_std/std_cctype.h, std_cerrno.h, std_cfloat.h,
384 std_climits.h, std_clocale.h, std_cmath.h, std_csetjmp.h,
385 std_csignal.h, std_cstdarg.h, std_cstddef.h, std_cstdio.h,
386 std_cstdlib.h, std_cstring.h, std_ctime.h, std_cwchar.h,
388 * include/c_std/cmath: Adjust cmath.tcc include.
389 * include/c_std/cstdlib: Adjust includes.
390 * include/c_std/cwchar: Same.
391 * include/c_std/ctime: Same.
392 * include/c_std/cstring: Same.
393 * include/c_std/cstdio: Same.
394 * include/c_std/bits: Remove directory.
396 * include/c/bits/std_cassert.h: Move to...
397 * include/c/cassert: Here.
398 * include/c/std_cctype.h, std_cerrno.h, std_cfloat.h,
399 std_climits.h, std_clocale.h, std_cmath.h, std_csetjmp.h,
400 std_csignal.h, std_cstdarg.h, std_cstddef.h, std_cstdio.h,
401 std_cstdlib.h, std_cstring.h, std_ctime.h, std_cwchar.h,
403 * include/c/bits: Remove directory.
405 * include/std/cwctype: Remove.
406 * include/std/cwchar: Remove.
407 * include/std/ctime: Remove.
408 * include/std/cstring: Remove.
409 * include/std/cstdlib: Remove.
410 * include/std/cstdio: Remove.
411 * include/std/cstddef: Remove.
412 * include/std/cstdarg: Remove.
413 * include/std/csignal: Remove.
414 * include/std/csetjmp: Remove.
415 * include/std/cmath: Remove.
416 * include/std/clocale: Remove.
417 * include/std/climits: Remove.
418 * include/std/ciso646: Remove.
419 * include/std/cfloat: Remove.
420 * include/std/cerrno: Remove.
421 * include/std/cctype: Remove.
422 * include/std/cassert: Remove.
424 * include/bits/fpos.h: Adjust includes, removing <bits/std_xxx.h>
425 files and subsituting <.xxx>
426 * include/bits/valarray_array.h: Same.
427 * include/bits/stl_uninitialized.h: Same.
428 * include/bits/stl_alloc.h: Same.
429 * include/bits/stl_algobase.h: Same.
430 * include/bits/sstream.tcc: Same.
431 * include/bits/pthread_allocimpl.h: Same.
432 * include/bits/ostream.tcc: Same.
433 * include/bits/localefwd.h: Same.
434 * include/bits/locale_facets.tcc: Same.
435 * include/bits/locale_facets.h: Same.
436 * include/bits/istream.tcc: Same.
437 * include/bits/char_traits.h: Same.
438 * include/bits/boost_concept_check.h: Same.
439 * include/bits/basic_file.h: Same.
440 * include/std/bitset: Same.
441 * include/std/complex: Same.
442 * include/std/fstream: Same.
443 * include/std/functional: Same.
444 * include/std/ios: Same.
445 * include/std/iostream: Same.
446 * include/std/ostream: Same.
447 * include/std/sstream: Same.
448 * include/std/streambuf: Same.
449 * include/std/string: Same.
450 * include/std/iterator: Same.
451 * include/std/valarray: Same.
453 * src/ios.cc: Adjust includes.
454 * src/valarray-inst.cc: Same.
455 * src/string-inst.cc: Same.
456 * src/stl-inst.cc: Same.
457 * src/stdexcept.cc: Same.
458 * src/misc-inst.cc: Same.
459 * src/localename.cc: Same.
460 * src/locale-inst.cc: Same.
461 * src/locale.cc: Same.
462 * src/limits.cc: Same.
463 * src/concept-inst.cc: Same.
464 * src/complex_io.cc: Same.
465 * src/codecvt.cc: Same.
466 * src/bitset.cc: Same.
467 * src/cmath.cc: Same.
469 2002-01-04 Paolo Carlini <pcarlini@unitus.it>
471 * include/bits/stl_tree.h (rb_tree): Move to...
472 * include/ext/rb_tree: ...here, new file.
473 * include/Makefile.am (ext_headers): Add new file.
474 * include/Makefile.in: Regenerate.
475 * include/bits/stl_tempbuf.h (get_temporary_buffer + helper,
476 return_temporary_buffer, struct temporary_buffer): Move to...
477 * include/ext/memory: ...here.
478 * testsuite/ext/headers.cc: Include <ext/rb_tree>.
479 * include/backward/tempbuf.h: Include <ext/memory>, tweak.
480 * include/backward/tree.h: Include <ext/rb_tree), tweak.
482 2002-01-03 Paolo Carlini <pcarlini@unitus.it>
484 * include/bits/stl_numeric.h (power + helpers, iota): Move to...
485 * include/ext/numeric: ...here, new file.
486 * include/bits/stl_function.h (identity_element, unary_compose,
487 binary_compose, compose1, compose2, identity, select1st,
488 select2nd, project1st + helper, project2nd + helper,
489 constant_void_fun + helper, constant_unary_fun + helper,
490 costant_binary_fun + helper, constant0, constant1, constant2,
491 subtractive_rng, mem_fun1, mem_fun1_ref): Move to...
492 * include/ext/functional: ...here, new file.
493 * include/Makefile.am (ext_headers): Add new files.
494 * include/Makefile.in: Regenerate.
495 * testsuite/ext/headers.cc: Include <ext/numeric> and
497 * include/backward/algo.h: Include <ext/numeric>, tweak.
498 * include/backward/function.h: Include <ext/functional>, tweak.
499 * include/ext/ropeimpl.h: Include <ext/numeric>.
501 2002-01-03 Jeffrey A Law <law@redhat.com>
503 * config/os/hpux/bits/os_defines.h: Prefix __strtoll and
504 __strtoull declarations with __extension__.
506 2002-01-03 David Billinghurst <David.Billinghurst@riotinto.com>
508 * testsuite/lib/prune.exp: Correct regular expression for
511 2002-01-02 Phil Edwards <pme@gcc.gnu.org>
513 * include/bits/stl_algo.h (upper_bound, equal_range, binary_search):
514 Change concept checks, as with lower_bound and PR 2054.
515 * testsuite/ext/concept_checks.cc: Expand test to include those.
517 2002-01-02 Phil Edwards <pme@gcc.gnu.org>
519 * include/bits/boost_concept_check.h: Import some changes from
520 upsteam (Boost) version.
522 2002-01-02 Paolo Carlini <pcarlini@unitus.it>
524 * include/bits/stl_algobase.h (copy_n + helpers,
525 lexicographical_compare_3way + helpers): Move to...
526 * include/ext/algorithm: ...here.
527 * include/bits/stl_uninitialized.h (uninitialized_copy_n +
529 * include/ext/memory: ...here, new file.
530 * include/Makefile.am (ext_headers): Add new file.
531 * include/Makefile.in: Regenerate.
532 * testsuite/ext/headers.cc: Include <ext/memory>.
533 * include/backward/algobase.h: Include <ext/memory> and
534 <ext/algorithm>, tweak.
535 * include/ext/ropeimpl.h: Include <ext/memory>, tweak.
536 * include/ext/stl_rope.h: Include <ext/memory>, tweak.
538 2002-01-01 Roger Sayle <roger@eyesopen.com>
540 * libmath/stubs.c (sinf,cosf): Implement stubs to enable the
541 equivalent ___builtin__ versions.
543 * include/c_shadow/bits/std_cmath.h: All __builtin math functions
544 are available in libstdc++ as the necessary stub implementations
545 are provided by libmath/stubs.c.
547 2002-01-01 Jason Thorpe <thorpej@wasabisystems.com>
549 * configure.in: Add support for NetBSD cross compiles.
550 * configure: Regenerate.
552 2001-12-31 Paolo Carlini <pcarlini@unitus.it>
554 * include/ext/iterator: Add #include <bits/std_iterator.h>, tweak.
555 * testsuite/ext/headers.cc: Add <ext/iterator>.
557 2001-12-31 Paolo Carlini <pcarlini@unitus.it>
559 * include/backward/algo.h: Add two more using declarations.
560 * include/backward/iterator.h: Include <ext/iterator>,
561 add using declaration.
562 * include/ext/algorithm: Add #pragma GCC system_header.
564 2001-12-31 Phil Edwards <pme@gcc.gnu.org>
566 * include/bits/stl_bvector.h: Change calls to 3-argument distance()
567 into standard 2-argument version.
568 * include/bits/stl_deque.h: Likewise.
569 * include/bits/stl_tempbuf.h: Likewise.
570 * include/bits/stl_tree.h: Likewise.
571 * include/bits/stl_vector.h: Likewise.
572 * include/ext/stl_hashtable.h: Likewise.
573 * include/bits/stl_iterator_base_funcs.h: Move distance() extension...
574 * include/ext/iterator: to here. New file.
575 * include/Makefile.am (ext_headers): Add new file, alphabatize.
576 * include/Makefile.in: Regenerate.
578 2001-12-31 Phil Edwards <pme@gcc.gnu.org>
580 * include/bits/stl_deque.h: Doxygenate with initial/example hooks.
581 Clean up spacing and indentation.
583 2001-12-31 Paolo Carlini <pcarlini@unitus.it>
585 * include/ext/slist: Move into __gnu_cxx,
586 tweak, add using declarations.
588 2001-12-31 Paolo Carlini <pcarlini@unitus.it>
590 * include/ext/hash_map: Move into __gnu_cxx,
591 tweak, add using declarations.
592 * include/ext/hash_set: Ditto.
593 * include/ext/ropeimpl.h: Ditto.
594 * include/ext/stl_hash_fun.h: Ditto.
595 * include/ext/stl_hashtable.h: Ditto.
596 * include/ext/stl_rope.h: Ditto.
597 * src/ext-inst.cc: Tweak.
598 * testsuite/ext/rope.cc: Tweak.
600 2001-12-31 Paolo Carlini <pcarlini@unitus.it>
602 * include/backward/algo.h: Include <ext/algorithm>,
603 tweak using declarations.
605 2001-12-29 Richard Henderson <rth@redhat.com>
607 * config/os/hpux/bits/os_defines.h: Don't define __glibcpp_long_bits.
608 * config/os/hpux/bits/cpu_limits.h: New file.
609 * configure.target (CPULIMITSH): Use it.
611 2001-12-28 Richard Henderson <rth@redhat.com>
613 * config/cpu/ia64/bits/cpu_limits.h: New file.
614 * config/os/osf/osf5.0/bits/cpu_limits.h: New file.
615 * configure.target (CPULIMITSH): Use them.
617 2001-12-28 Phil Edwards <pme@gcc.gnu.org>
619 * include/bits/c++config: Move doxygen hook comment...
620 * docs/doxygen/doxygroups.cc: ...to here.
622 2001-12-28 Phil Edwards <pme@gcc.gnu.org>
625 * include/bits/stl_algo.h (lower_bound): Relax concept checks.
626 * testsuite/ext/concept_checks.cc: New file.
628 2001-12-28 Paolo Carlini <pcarlini@unitus.it>
630 * include/bits/stl_algo.h (count returning void,
631 count_if returning void, __random_sample, random_sample,
632 random_sample_n, __is_heap, is_heap, is_sorted): Move to...
633 * include/ext/algorithm: ...here, new file.
634 * include/Makefile.am (ext_headers): Add new file.
635 * include/Makefile.in: Regenerate.
636 * testsuite/ext/headers.cc: Include <ext/algorithm>.
638 2001-12-28 Paolo Carlini <pcarlini@unitus.it>
639 Nathan Myers <ncm@cantrip.org>
641 * include/bits/basic_string.h (insert(__pos, __s, __n)):
642 Optimize by avoiding temporaries and working in-place when possible.
643 (insert(__pos1, __str)): Call insert(__pos1, __str, __pos2, __n).
644 (insert(__pos1, __str, __pos2, __n)): Call insert(__pos, __s, __n).
645 * testsuite/21_strings/insert.cc (test02): New testcases.
647 2001-12-27 Phil Edwards <pme@gcc.gnu.org>
649 * testsuite/testsuite_hooks.h (gnu_counting_struct): Add.
650 * testsuite/23_containers/deque_ctor.cc: New file.
652 2001-12-27 Paolo Carlini <pcarlini@unitus.it>
654 * include/bits/locale_facets.tcc (collate::do_transform):
655 Adjust implicit typename.
656 * config/locale/messages_members_generic.h (messages::open,
657 messages::do_open, messages::do_get): Adjust implicit typename.
658 * config/locale/messages_members_gnu.h (messages::open,
659 messages::do_open, messages::do_get): Adjust Implicit typename.
660 * config/locale/messages_members_ieee_1003.1-200x.h (messages::open,
661 messages::do_open, messages::do_get): Adjust implicit typename.
663 2001-12-27 Phil Edwards <pme@gcc.gnu.org>
666 * src/misc-inst.cc: Many additional I/O-related instantiations.
667 * testsuite/27_io/instantiations.cc: New file.
669 2001-12-26 Benjamin Kosnik <bkoz@waller.constant.com>
671 * testsuite/24_iterators/insert_iterator.cc (test02): Add.
672 * testsuite/24_iterators/front_insert_iterator.cc (test02): Add.
673 * testsuite/24_iterators/back_insert_iterator.cc (test02): Add.
674 * testsuite/24_iterators/reverse_iterator.cc (test02): Add.
676 * include/bits/stl_iterator.h (reverse_iterator): Uglify member
677 current to _M_current.
678 (back_insert_iterator): Uglify member container to _M_container.
679 (front_insert_iterator): Same.
680 (insert_iterator): Same.
682 2001-12-25 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
684 * include/bits/std_limits.h (__glibcpp_xxx_is_modulo): New
685 macros for signed types; default value is true.
686 (numeric_limits<>::is_modulo): Get value from corresponding
687 __glibcpp_xxx_is_modulo macro.
689 2001-12-23 Jeffrey A Law <law@redhat.com>
691 * config/os/hpux/bits/os_defines.h: Do not include <_sys/inttypes.h>.
692 Twiddle return types for strtoll and strtoull to avoid using
693 intmax_t and uintmax-t.
695 2001-12-22 Richard Henderson <rth@redhat.com>
697 * configure.target (CPULIMITSH): Fix typo in alpha case.
699 2001-12-22 Jeffrey A Law <law@redhat.com>
701 * config/os/hpux/bits/os_defines.h: Update to avoid #defines
702 for strtoll and strtoull.
704 2001-12-21 Jeffrey A Law <law@redhat.com>
706 * config/os/hpux/bits/os_defines.h: Include <sys/_inttypes.h.
707 Define strtoll and strtoull. Provide prototypes for
708 __strtoll and __strtoull. Define _GLIBCPP_USE_LONG_LONG
711 * src/locale-inst.cc: Include <bits/std_cstdlib.h>
713 * configure.target: Fix typo in hpux case.
715 2001-12-21 Paolo Carlini <pcarlini@unitus.it>
717 * include/ext/stl_rope.h (_Rope_iterator):
718 Add local typedef to fix implicit typename problems.
720 2001-12-19 Phil Edwards <pme@gcc.gnu.org>
722 * docs/doxygen/Intro.3: New 'Allocators' module.
723 * docs/doxygen/TODO: Update.
724 * docs/doxygen/doxygroups.cc: Update.
725 * docs/doxygen/run_doxygen: Update.
727 * include/bits/stl_alloc.h: Tweak doxygen hooks in comments.
728 * include/bits/std_memory.h: Doxygenate.
729 * include/bits/stl_iterator_base_types.h: Likewise.
730 * include/bits/stl_raw_storage_iter.h: Likewise.
731 * include/bits/stl_tempbuf.h: Likewise.
732 (get_temporary_buffer): Remove unused nonstandard overload.
733 * include/bits/stl_uninitialized.h: Likewise.
735 * include/bits/stl_iterator_base_types.h (input_iterator,
736 output_iterator, forward_iterator, bidirectional_iterator,
737 random_access_iterator): Move old names...
738 * include/backward/iterator.h: ...to here.
739 * include/bits/stl_bvector.h: Update.
740 * include/ext/stl_rope.h: Update.
742 2001-12-19 Phil Edwards <pme@gcc.gnu.org>
744 * docs/html/configopts.html: Describe recent options.
745 * docs/html/documentation.html: Point to new doxygen tarballs.
746 * docs/html/install.html: Brief updates.
747 * docs/html/17_intro/RELEASE-NOTES: Remove weird control character.
748 * docs/html/ext/howto.html: Fix typos, describe filebuf::fd().
749 * docs/html/faq/index.html: Update for 3.0.95.
750 * docs/html/faq/index.txt: Regenerate.
752 2001-12-19 David Billinghurst <David.Billinghurst@riotinto.com>
755 * testsuite/lib/libstdc++-v3-dg.exp: Append .exe to
758 2001-12-18 Benjamin Kosnik <bkoz@redhat.com>
760 * docs/html/17_intro/TODO: Update.
761 * docs/html/17_intro/RELEASE-NOTES: Edits, update.
762 * README: Edit for clarity, update to reflect current directory
765 2001-12-18 Benjamin Kosnik <bkoz@redhat.com>
767 * acinclude.m4 (GLIBCPP_ENABLE_CLOCALE): Extended checking before
769 * aclocal.m4: Rebuild.
770 * configure: Rebuild.
772 2001-12-18 Paolo Carlini <pcarlini@unitus.it>
773 Nathan Myers <ncm@cantrip.org>
775 * include/bits/basic_string.h (assign(__str, __pos, __n)):
776 Call assign(__s, __n).
777 (assign(__s, __n)): Terminate the string with _S_terminal.
779 2001-12-17 Benjamin Kosnik <bkoz@redhat.com>
781 * include/bits/std_limits.h (__glibcpp_long_double_is_bounded):
782 Set to true, like float and double.
784 2001-12-17 David Billinghurst <David.Billinghurst@riotinto.com>
787 * testsuite/lib/prune.exp: New file
788 * testsuite/lib/libstdc++-v3-dg.exp: Use it
790 2001-12-17 Phil Edwards <pme@gcc.gnu.org>
792 * include/bits/basic_file.h (__basic_file::fd): New function.
793 * config/io/basic_file_stdio.h (__basic_file::fd): Define.
794 * include/bits/std_fstream.h (basic_filebuf::fd): New function.
795 * include/bits/fstream.tcc (basic_filebuf::fd): Define.
796 * testsuite/27_io/filebuf_members.cc (test_02): New test.
798 2001-12-16 Nathan Sidwell <nathan@codesourcery.com>
800 * po/Makefile.am (.po.mo): Use POSIXLY_CORRECT argument ordering.
801 * po/Makefile.in: Regenerated.
803 2001-12-16 Paolo Carlini <pcarlini@unitus.it>
805 * testsuite/21_strings/assign.cc (test01): Add tests.
807 2001-12-15 Paolo Carlini <pcarlini@unitus.it>
808 Nathan Myers <ncm@cantrip.org>
810 * include/bits/basic_string.h
811 (assign(__str, __pos, __n), assign(__s, __n)): Optimize
812 by avoiding unnecessary temporaries.
813 (assign(__s)): Call assign(__s, __n).
814 * include/bits/basic_string.tcc (_M_replace_safe): Adjust comment.
815 * include/bits/std_string.h: include stl_function.h.
816 * testsuite/21_strings/assign.cc (test02, test03): New tests.
818 2001-12-15 Benjamin Kosnik <bkoz@redhat.com>
820 * acinclude.m4 (GLIBCPP_ENABLE_CLOCALE): Enable gnu locale model
822 * aclocal.m4: Regenerate.
823 * configure: Regenerate.
825 2001-12-14 Benjamin Kosnik <bkoz@redhat.com>
827 Clean up initialization and simplfy caching of underlying "C"
828 default locale objects.
829 * src/localename.cc (locale::_Impl::_Impl(string, size_t):
830 Unconditionally create __clocale object for all named locales,
831 including "C" and "POSIX".
832 * config/locale/c_locale_generic.cc
833 (locale::facet::_S_create_c_locale): Always set __cloc to zero.
834 * config/locale/c_locale_gnu.cc: Always delete.
835 * include/bits/localefwd.h (locale::facet::_S_c_locale): New.
836 * src/locale.cc (locale::classic()): Initialize
837 locale::facet::_S_c_locale.
838 (locale::facet::_S_c_locale): Define.
840 * include/bits/locale_facets.h: Add ctype_byname<wchar_t> ctor
842 * src/locale.cc: Add definition here.
843 * config/os/gnu-linux/bits/ctype_inline.h: Tweak.
844 * config/os/gnu-linux/bits/ctype_noninline.h: Adjust initializations.
845 * include/bits/locale_facets.h (ctype<char>::_M_c_locale_ctype): Add.
847 (ctype<char>::_M_toupper): Remove const&.
848 (ctype<char>::_M_tolower): Remove const&.
849 (ctype<char>::_M_ctable): Remove const&.
851 * include/bits/locale_facets.h (collate): Clean up initialization
852 of _M_c_locale_collate in ctors and dtors.
853 * config/locale/collate_members_gnu.cc: Always use extended
856 * include/bits/locale_facets.h (messages): Clean up inits in ctor/dtor.
857 (messages_byname): Same.
858 * config/locale/messages_members_generic.h (messages::~messages):
860 * config/locale/messages_members_gnu.h: Same.
862 * include/bits/localefwd.h: Clean. Move dtor definitions to
863 * src/locale.cc: Here.
864 * testsuite/22_locale/facet.cc: Fix spelling.
866 Named locale support for ctype<wchar_t>.
867 * acinclude.m4 (GLIBCPP_ENABLE_CLOCALE): Add variable
868 ctype_members_* bits.
869 * aclocal.m4: Regenerate.
870 * configure: Regenerate.
871 * src/Makefile.am (sources): Add ctype.cc.
872 * src/Makefile.in: Regenerate.
873 * config/locale/ctype_members_generic.cc: New file.
874 * config/locale/ctype_members_gnu.cc: New file.
875 * src/locale.cc: Remove ctype<wchart_t> definitions.
877 2001-12-13 Roger Sayle <roger@eyesopen.com>
879 * acconfig.h: Test for __builtin_sqrt instead of
881 * acinclude.m4: Same.
882 * include/c_shadow/bits/std_cmath.h: Same.
883 * aclocal.m4: Regenerated.
884 * config.h.in: Regenerated.
885 * configure: Regenerated.
887 2001-12-13 Phil Edwards <pme@gcc.gnu.org>
889 * docs/html/ext/howto.html: Fix typos.
891 2001-12-13 Benjamin Kosnik <bkoz@redhat.com>
894 * src/locale.cc (locale::locale(const char*)): Deal with locales
896 * testsuite/22_locale/ctor_copy_dtor.cc (test01): Modify.
898 2001-12-12 Paolo Carlini <pcarlini@unitus.it>
900 * include/ext/ropeimpl.h (rope::_S_leaf_concat_char_iter,
901 _S_destr_leaf_concat_char_iter, _S_tree_concat, _S_concat_char_iter,
902 _S_destr_concat_char_iter, _S_concat, _S_substring, _S_balance)
903 : Adjust implicit typename.
904 * include/ext/stl_rope.h (_Rope_iterator::operator=, rope::npos):
905 Adjust implicit typename.
906 * testsuite/27_io/streambuf.cc: Adjust implicit typename.
908 2001-12-12 Benjamin Kosnik <bkoz@redhat.com>
910 Named locale support for ctype<char>.
911 * config/locale/c_locale_gnu.h (_GLIBCPP_C_LOCALE_GNU): New.
912 * config/os/gnu-linux/bits/ctype_noninline.h (ctype<char>): Add
913 definitions for alternate constructor.
914 * config/os/solaris/solaris2.7/bits/ctype_noninline.h (ctype): Same.
915 * config/os/solaris/solaris2.6/bits/ctype_noninline.h (ctype): Same.
916 * config/os/solaris/solaris2.5/bits/ctype_noninline.h (ctype): Same.
917 * config/os/newlib/bits/ctype_noninline.h (ctype): Same.
918 * config/os/irix/irix6.5/bits/ctype_noninline.h (ctype): Same.
919 * config/os/irix/irix5.2/bits/ctype_noninline.h (ctype): Same.
920 * config/os/hpux/bits/ctype_noninline.h (ctype): Same.
921 * config/os/generic/bits/ctype_noninline.h (ctype): Same.
922 * config/os/djgpp/bits/ctype_noninline.h (ctype): Same.
923 * config/os/bsd/netbsd/bits/ctype_noninline.h (ctype): Same.
924 * config/os/bsd/freebsd/bits/ctype_noninline.h (ctype): Same.
925 * config/os/aix/bits/ctype_noninline.h (ctype): Same.
926 * include/bits/locale_facets.h (ctype<_CharT>): Remove dummy
927 definitions for all virtual functions. These are now explicitly
928 undefined for non-required factets, ie any non-char, non-wchar_t
930 * src/localename.cc (locale::_Impl::_Impl(string, size_t): Named
931 locales use alternate constructor for ctype facet.
932 * include/bits/locale_facets.h (ctype<char>::ctype(__c_locale, const
933 mask*, bool, size_t): Add.
934 (ctype<wchar_t>::ctype(__c_locale, size_t): Add.
935 * src/locale.cc (ctype<wchar_t>::ctype(__c_locale, size_t)): Add
938 * testsuite/22_locale/ctype_members_char.cc (test02): Add, mark
939 XFAIL for non-gnu locale models.
941 2001-12-12 Philip Martin <philip@codematters.co.uk>
942 Ross Smith <r-smith@ihug.co.nz>
943 Paolo Carlini <pcarlini@unitus.it>
946 * include/bits/std_limits.h (defines, numeric_limits<bool>::digits10):
947 Fix digits10 values for integral types.
948 * include/bits/locale_facets.tcc (num_get::do_get for integral types):
949 Tweak _M_extract_int call.
950 * testsuite/27_io/istream_extractor_arith.cc (test13, test12_aux):
951 Tweak overflowing number of digits.
952 * testsuite/18_support/numeric_limits.cc (test03): New testcase.
954 2001-12-11 Benjamin Kosnik <bkoz@redhat.com>
956 * config/os/generic/bits/ctype_inline.h: Remove spaces.
957 * config/os/gnu-linux/bits/ctype_noninline.h: Same.
958 * include/bits/locale_facets.h (__num_base): Move double data
959 members to first in class.
960 * include/bits/locale_facets.tcc: Re-arrange, tweak.
961 * src/locale.cc: Clean.
962 *include/bits/stl_vector.h: Space typedefs.
964 2001-12-11 Phil Edwards <pme@gcc.gnu.org>
966 * testsuite/ext/allocators.cc: New file.
968 2001-12-11 Jason Merrill <jason@redhat.com>
970 * include/bits/locale_facets.tcc (_M_extract_int): Avoid
971 uninitialized warning.
973 2001-12-11 Loren Rittle <ljrittle@acm.org>
975 * config/cpu/sparc/sparc32/bits/atomicity.h
976 (__Atomicity_lock<0>::_S_atomicity_lock): Add.
978 2001-12-10 Paolo Carlini <pcarlini@unitus.it>
980 * include/bits/basic_string.tcc (_M_replace_safe): Fix typos.
981 * include/bits/basic_string.h: Fix typos.
983 2001-12-10 Paolo Carlini <pcarlini@unitus.it>
984 Nathan Myers <ncm@cantrip.org>
986 * include/bits/basic_string.tcc (_M_replace_safe): New function.
987 (_M_replace(input_iterator_tag), append members): Use it.
988 (_M_replace(forward_iterator_tag)): Remove.
989 * include/bits/basic_string.h: Adjust declarations.
990 * src/string-inst.cc: Adjust declarations.
992 2001-12-09 Benjamin Kosnik <bkoz@redhat.com>
993 Philip Martin <pmartin@uklinux.net>
995 * include/bits/locale_facets.h (__num_base::_S_scale_hex): Add.
996 (__num_base::_S_scale_oct): Add.
997 * include/bits/locale_facets.tcc (_M_extract_int): Use them.
998 * src/locale.cc: Add definitions.
999 * testsuite/27_io/istream_extractor_arith.cc (main): Call test13.
1001 * testsuite/testsuite_hooks.h: Remove duplicate VERIFY define.
1003 2001-12-07 Nathan Myers <ncm@cantrip.org>
1004 Loren Rittle <ljrittle@acm.org>
1007 * config/cpu/sparc/sparc32/bits/atomicity.h
1008 (struct __Atomicity_lock<__inst>): Add.
1009 (__Atomicity_lock<__inst>::_S_atomicity_lock): Add.
1010 (__exchange_and_add): Use __Atomicity_lock<0>::_S_atomicity_lock
1011 instead of lock local to static function.
1012 (__atomic_add): Likewise.
1014 2001-12-07 Phil Edwards <pme@gcc.gnu.org>
1016 * src/globals.cc: Remove __GTHREADS guard.
1018 2001-12-07 Paolo Carlini <pcarlini@unitus.it>
1020 * include/bits/locale_facets.tcc (num_put::_M_convert_float):
1021 Extend comment, reduce __cs_size for non-fixed outputs.
1023 2001-12-07 Paolo Carlini <pcarlini@unitus.it>
1025 * include/bits/basic_string.tcc (_M_mutate): Fix typo
1026 in the previous check in.
1028 2001-12-06 Paolo Carlini <pcarlini@unitus.it>
1029 Loren J. Rittle <ljrittle@acm.org>
1031 * include/bits/basic_string.tcc (_M_mutate, _M_clone): Implement
1032 exponential growth policy to meet linear amortized time
1033 requirements of the standard.
1034 (_S_create): Adjust comment.
1036 2001-12-06 Benjamin Kosnik <bkoz@redhat.com>
1039 * include/bits/locale_facets.tcc (num_put): Clean.
1040 (num_get::_M_extract_float): Change argument to string.
1041 (num_get::do_get(float)): Fixup.
1042 (num_get::do_get(double)): Same.
1043 (num_get::do_get(long double)): Same.
1044 (num_get::_M_extract_int): Add maximum length parameter, __max.
1045 (num_get::_M_extract_float): Correct zeros, use string.
1046 * include/bits/locale_facets.h (num_get::_M_extract_float): Change
1048 * src/locale.cc (__num_base::_S_atoms): Remove x, X.
1049 * testsuite/27_io/istream_extractor_arith.cc (test13): Add.
1051 2001-12-06 Philip Martin <pmartin@uklinux.net>
1053 * testsuite/27_io/istream_extractor_arith.cc (test12): Add
1054 tests for excess input digits.
1056 2001-12-06 Phil Edwards <pme@gcc.gnu.org>
1058 * include/bits/std_bitset.h: Use GLIBCPP in multiple-inclusion guard.
1059 * include/bits/stl_algo.h: Likewise.
1060 * include/bits/stl_algobase.h: Likewise.
1061 * include/bits/stl_bvector.h: Likewise.
1062 * include/bits/stl_deque.h: Likewise.
1063 * include/bits/stl_function.h: Likewise.
1064 * include/bits/stl_iterator.h: Likewise.
1065 * include/bits/stl_iterator_base_funcs.h: Likewise.
1066 * include/bits/stl_iterator_base_types.h: Likewise.
1067 * include/bits/stl_list.h: Likewise.
1068 * include/bits/stl_multimap.h: Likewise.
1069 * include/bits/stl_multiset.h: Likewise.
1070 * include/bits/stl_pair.h: Likewise.
1071 * include/bits/stl_queue.h: Likewise.
1072 * include/bits/stl_set.h: Likewise.
1073 * include/bits/stl_stack.h: Likewise.
1074 * include/bits/stl_tempbuf.h: Likewise.
1075 * include/bits/stl_tree.h: Likewise.
1076 * include/bits/stl_vector.h: Likewise.
1078 * include/bits/stl_alloc.h: Use our own multiple inclusion guards.
1079 Doxygenate more comments. Correct historical artifacts in comments.
1080 (alloc, single_alloc): Uglify non-standard names.
1081 (__default_alloc_template::_NFREELISTS): Calculate from other
1083 (__default_alloc_template::_S_free_list): Remove SunPro workaround.
1084 (__default_alloc_template::_Lock): Mark as "unused".
1085 * include/backward/alloc.h: Update.
1086 * include/bits/stl_bvector.h: Likewise.
1087 * include/ext/ropeimpl.h: Likewise.
1088 * include/ext/stl_hashtable.h: Likewise.
1090 2001-12-05 Benjamin Kosnik <bkoz@redhat.com>
1093 * include/bits/locale_facets.tcc (num_put::_M_widen_float): Add
1094 grouping to floating point types.
1095 * testsuite/27_io/ostream_inserter_arith.cc (test02): Add test.
1097 2001-12-04 Paolo Carlini <pcarlini@unitus.it>
1100 * testsuite/27_io/ostream_inserter_arith.cc (test02): Add testcase
1102 * include/bits/locale_facets.tcc (num_put::_M_convert_float):
1103 Deal properly with long ios_base::fixed floats.
1104 (num_put::_M_widen_float): use
1105 __len in __builtin_alloca call.
1107 2001-12-04 Benjamin Kosnik <bkoz@redhat.com>
1109 * src/Makefile.am (sources): Add ext-inst.cc.
1110 * src/Makefile.in: Regenerate.
1111 * src/ext-inst.cc: New file.
1112 * include/bits/stl_threads.h: Format.
1113 * src/globals.cc: Add instantiation for _S_swap_lock.
1115 * testsuite/18_support/numeric_limits.cc: Add numeric_limits<B>
1118 2001-12-04 John David Anglin <dave@hiauly1.hia.nrc.ca>
1120 * testsuite/22_locale/numpunct_members_wchar_t.cc: Only compile
1121 and execute test01 if _GLIBCPP_USE_WCHAR_T is defined.
1122 * testsuite/26_numerics/complex_inserters_extractors.cc: Provide
1123 for explicit instantiation of class std::basic_string<char,
1124 gnu_char_traits, std::allocator<char> >.
1126 2001-12-03 Benjamin Kosnik <bkoz@redhat.com>
1128 * testsuite/22_locale/collate.cc: Compile-only.
1129 * testsuite/22_locale/time_get.cc: Same.
1130 * testsuite/22_locale/time_put.cc: Same.
1131 * testsuite/22_locale/numpunct.cc: Same.
1132 * testsuite/22_locale/num_put.cc: Same.
1133 * testsuite/22_locale/num_get.cc: Same.
1134 * testsuite/22_locale/moneypunct.cc: Same.
1135 * testsuite/22_locale/money_get.cc: Same.
1136 * testsuite/22_locale/messages.cc: Same.
1137 * testsuite/22_locale/ctype.cc: Same.
1139 2001-12-03 Benjamin Kosnik <bkoz@redhat.com>
1141 * src/string-inst.cc (string::_Rep::_S_terminal): Add static data
1142 member instantiations.
1144 2001-12-03 Steve Ellcey <sje@cup.hp.com>
1146 * libstdc++-v3/configure.in: Add support for hpux cross compiles,
1147 combine common linux/hpux/generic cross compile support to reduce
1149 * libstdc++-v3/configure: Regenerate.
1151 2001-12-03 Loren J. Rittle <ljrittle@acm.org>
1153 * docs/html/ext/howto.html: Update commentary.
1154 * include/bits/c++config: Update threading configuration comment.
1155 (__STL_GTHREADS): Remove macro definition.
1156 (__STL_THREADS): Likewise.
1157 * include/bits/stl_threads.h: Leave only the configuration
1158 path which had been guarded by __STL_GTHREADS. Remove all
1159 guards related to __STL_GTHREADS, __STL_SGI_THREADS,
1160 __STL_PTHREADS, __STL_UITHREADS and __STL_WIN32THREADS.
1161 * include/bits/stl_alloc.h: Leave only the configuration path
1162 which had been guarded by __STL_THREADS. Remove configuration
1163 path and guards for __STL_SGI_THREADS.
1164 (__NODE_ALLOCATOR_THREADS): Remove macro definition. Unroll its use.
1165 (__NODE_ALLOCATOR_LOCK): Likewise.
1166 (__NODE_ALLOCATOR_UNLOCK): Likewise.
1167 (_NOTHREADS): Remove guards related to macro.
1168 * include/ext/stl_rope.h: Remove configuration path and guards
1169 for __STL_SGI_THREADS.
1170 * src/stl-inst.cc: Remove use of __NODE_ALLOCATOR_THREADS.
1172 2001-12-02 Phil Edwards <pme@gcc.gnu.org>
1174 * docs/html/ext/howto.html: Update list of implemented DRs.
1175 * docs/html/ext/lwg-active.html: Import R20 from upstream.
1176 * docs/html/ext/lwg-defects.html: Import R20 from upstream.
1178 2001-11-30 Benjamin Kosnik <bkoz@redhat.com>
1182 * libsupc++/exception (bad_exception::~bad_exception()): Remove
1184 * libsupc++/new (bad_alloc::~bad_alloc()): Remove.
1185 * libsupc++/typeinfo (bad_cast::~bad_cast()): Remove.
1186 (bad_typeid::~bad_typeid()): Remove.
1187 * libsupc++/tinfo.cc (bad_cast::~bad_cast()): Remove definition.
1188 (bad_typeid::~bad_typeid()): Same.
1189 * libsupc++/new_handler.cc (bad_alloc::~bad_alloc()): Same.
1190 * libsupc++/eh_exception.cc (bad_exception::~bad_exception()): Same.
1192 * include/bits/std_iomanip.h: Tweak.
1194 2001-11-29 Paolo Carlini <pcarlini@unitus.it>
1197 * include/bits/locale_facets.tcc (__pad): Add bool parameter to
1198 correctly pad internal-adjusted const char*-type objects.
1199 * include/bits/locale_facts.tcc (num_put::_M_insert): Update call.
1200 * include/bits/ostream.tcc (operator<<(_CharT , char, const
1201 _CharT*, const char*, const basic_string&): Update calls.
1202 * src/locale-inst.tcc: Update declarations.
1203 * testsuite/27_io/ostream_inserter_arith.cc (test04): Add test.
1205 2001-11-29 Phil Edwards <pme@gcc.gnu.org>
1207 * docs/html/ext/howto.html: Finish allocator notes (inst and 3.0).
1209 2001-11-29 Benjamin Kosnik <bkoz@redhat.com>
1211 * include/bits/locale_facets.tcc (num_get::do_get(long double)):
1212 Fix __traits_type typo.
1214 2001-11-28 Paolo Carlini <pcarlini@unitus.it>
1216 * include/bits/locale_facets.tcc (__pad): Correctly pad
1217 internal-adjusted hex numbers.
1218 * testsuite/27_io/ostream_inserter_arith.cc: Add testcase.
1220 2001-11-28 Paolo Carlini <pcarlini@unitus.it>
1221 Loren J. Rittle <ljrittle@acm.org>
1223 * include/bits/basic_string.h
1224 (basic_string::_Rep::__default_excess, _S_excess_slop):
1226 * include/bits/basic_string.tcc: Remove dead code.
1227 * include/bits/c++config: Remove comment.
1229 2001-11-28 Benjamin Kosnik <bkoz@redhat.com>
1230 Jakub Jelinek <jakub@redhat.com>
1232 * config/locale/moneypunct_members_gnu.cc
1233 (moneypunct<wchar_t>::_M_initialize_moneypunct): Correctly cast
1235 * config/locale/numpunct_members_gnu.cc
1236 (numpunct<wchar_t>::_M_initialize_numpunct): Same.
1238 2001-11-27 Benjamin Kosnik <bkoz@redhat.com>
1240 * include/bits/locale_facets.tcc: Formatting tweaks.
1242 * testsuite/23_containers/map_operators.cc: Don't xfail.
1243 * testsuite/23_containers/set_operators.cc: Same.
1244 * testsuite/backward/header_iterator_h.cc: Pass in -Wno-deprecated.
1245 * testsuite/backward/header_deque_h.cc: Same.
1247 2001-11-27 Loren J. Rittle <ljrittle@acm.org>
1248 Paolo Carlini <pcarlini@unitus.it>
1250 * include/bits/basic_string.tcc (basic_string::_Rep::_S_create):
1251 Enforce allocation size blocking policy to reduce
1252 fragmentation and enhance performance with common malloc
1255 2001-11-27 Benjamin Kosnik <bkoz@redhat.com>
1257 Numeric facets cleanup.
1258 * include/bits/locale_facets.h (__num_base::_S_atoms): Add, remove
1260 (__num_base::_M_zero): Add
1261 (__num_base::_M_e): Add.
1262 (__num_base::_M_E): Add.
1263 * include/bits/locale_facets.tcc (num_get::_M_extract): Remove.
1264 (num_get::_M_extract_float): New.
1265 (num_get::_M_extract_int): New.
1266 * src/locale.cc (num_get::_M_extract): Remove.
1268 * include/bits/locale_facets.tcc (num_put::_M_insert_float):
1269 Simplify, use _M_insert.
1270 (num_put::do_put(bool)): Simplify, remove __pad.
1272 (__pad_output): Change to __pad.
1273 * include/bits/ostream.tcc: And here.
1274 * src/locale-inst: Remove instantiations.
1276 * include/bits/locale_facets.h: Move helper functions in to class
1278 (num_put::_M_insert_float): Same, for __output_integer.
1279 (num_put::_M_insert_int): Same, for __output_float.
1280 (num_put::_M_insert): New.
1282 (__num_base::_S_format_float): Move
1283 __build_float_format into class __num_base.
1284 (__num_base::_S_format_int): Move __build_int_format into class
1286 * include/bits/locale_facets.tcc (__group_digits): Change to
1287 (__add_grouping): This.
1288 * src/locale-inst.cc: And here. Tweak instantiations.
1289 * src/misc-inst.cc: Remove instantiations.
1291 * include/bits/ostream.tcc (__pad_char): Rename, adjust inserters
1292 for new calling conventions, move to...
1293 * include/bits/locale_facets.tcc (__pad_output): Here. Adjust
1294 signature to make it useful for both ostream and num_put.
1295 (__pad_numeric): Remove.
1296 * src/misc-inst.cc: Remove instantiations.
1297 * src/locale-inst.cc: Same.
1299 * include/bits/locale_facets.h (_Numeric_get): Remove.
1300 (_Numeric_put): Remove.
1301 (num_get::get(short)): Remove.
1302 (num_get::get(int)): Remove.
1303 (num_get::do_get(short)): Remove.
1304 (num_get::do_get(int)): Remove.
1305 * include/bits/istream.tcc (istream::operator>>(short)): Fix as
1307 (istream::operator>>(int)): Same.
1309 * include/bits/locale_facets.h (_Format_cache): Remove.
1310 * include/bits/locale_facets.tcc: Same.
1311 * src/locale.cc: Same.
1312 * src/locale-inst.cc: Same.
1313 * include/bits/ostream.tcc: Same.
1314 * src/ios.cc (ios_base::imbue): Remove here as well.
1316 * testsuite/22_locale/num_get.cc: New file.
1317 * testsuite/22_locale/num_get_members_char.cc: New file.
1318 * testsuite/22_locale/num_get_members_wchar_t.cc: New.
1319 * testsuite/22_locale/numpunct_members_wchar_t.cc: New file.
1320 * testsuite/22_locale/num_put.cc: New file.
1321 * testsuite/22_locale/num_put_members_char.cc: New file.
1322 * testsuite/22_locale/num_put_members_wchar_t.cc: New file.
1323 * testsuite/27_io/ostream_inserter_arith.cc: Fix.
1324 * testsuite/27_io/istream_extractor_arith.cc: Fix.
1326 2001-11-27 Phil Edwards <pme@gcc.gnu.org>
1328 * docs/html/explanations.html: New section, empty for now.
1329 * docs/html/17_intro/howto.html: Cleanup. Move unrelated link...
1330 * docs/html/23_containers/howto.html: ...to here. Break up and
1331 rewrap threading discussion to emphasize warning. Move malloc text...
1332 * docs/html/ext/howto.html: ...to here. New section. Describe
1333 allocators and __USE_MALLOC effects.
1334 * docs/html/ext/sgiexts.html: Mention their code.
1336 2001-11-24 Joseph S. Myers <jsm28@cam.ac.uk>
1338 * docs/doxygen/maint.cfg.in, docs/doxygen/user.cfg.in,
1339 docs/html/27_io/binary_iostreams_kuehl.txt: Revert previous
1342 2001-11-23 Phil Edwards <pme@gcc.gnu.org>
1344 * Makefile.am (doxygen-maint): The script isn't executable in CVS.
1345 * Makefile.in: Regenerated.
1346 * docs/doxygen/TODO: New file listing doxygen work to be done.
1347 * docs/doxygen/run_doxygen: Fix up man pages.
1348 * docs/doxygen/user.cfg.in: Insert maint-only toggles.
1349 * docs/doxygen/maint.cfg.in: Copy from user.cfg and turn toggles on.
1350 * include/bits/stl_construct.h: Use new hooks for internal functions.
1352 * docs/html/17_intro/TODO: Small updates.
1353 * docs/html/faq/index.html: Likewise.
1354 * docs/html/faq/index.txt: Regenerated.
1356 * include/bits/stl_alloc.h: Doxygenate, reindent comments, remove
1357 SGI-isms and wrappers.
1358 (simple_alloc, debug_alloc): Uglify class names.
1359 (__default_alloc_template): Uglify "threads" template parameter and
1360 update corresponding macros.
1361 * include/backward/alloc.h: Bring up to date.
1363 2001-11-23 Jason Merrill <jason@redhat.com>
1365 * src/vterminate.cc (__verbose_terminate_handler): Add leading
1368 2001-11-23 Joseph S. Myers <jsm28@cam.ac.uk>
1370 * ChangeLog, docs/doxygen/maint.cfg.in, docs/doxygen/user.cfg.in,
1371 docs/doxygen/doxygroups.cc, docs/doxygen/Intro.3,
1372 docs/html/17_intro/BUGS, docs/html/17_intro/C++STYLE,
1373 docs/html/17_intro/CHECKLIST, docs/html/17_intro/DESIGN,
1374 docs/html/17_intro/howto.html, docs/html/17_intro/porting.html,
1375 docs/html/17_intro/porting.texi, docs/html/18_support/howto.html,
1376 docs/html/19_diagnostics/howto.html, docs/html/20_util/howto.html,
1377 docs/html/21_strings/howto.html,
1378 docs/html/23_containers/howto.html,
1379 docs/html/26_numerics/howto.html, docs/html/27_io/howto.html,
1380 docs/html/27_io/binary_iostreams_kuehl.txt,
1381 docs/html/ext/sgiexts.html, docs/html/faq/index.html,
1382 docs/html/faq/index.txt, testsuite/24_iterators/iterator.cc,
1383 include/bits/basic_file.h, include/bits/locale_facets.h,
1384 include/bits/locale_facets.tcc, include/bits/std_sstream.h,
1385 include/ext/ropeimpl.h, include/ext/stl_rope.h,
1386 libsupc++/tinfo.cc, libsupc++/cxxabi.h, libsupc++/typeinfo,
1387 libsupc++/eh_throw.cc, acinclude.m4, aclocal.m4, configure,
1388 configure.target, ChangeLog-2000: Fix spelling errors.
1390 * config/locale/moneypunct_members_gnu.cc,
1391 include/bits/locale_facets.h: Fix spelling errors.
1393 2001-11-22 Stephen M. Webb <stephen@bregmasoft.com>
1395 * testsuite/23_containers/list_capacity.cc: New file.
1396 * testsuite/23_containers/list_ctor.cc: New file.
1397 * testsuite/23_containers/list_modifiers.cc: New file.
1398 * testsuite/23_containers/list_operators.cc: New file.
1400 2001-11-22 Stephen M. Webb <stephen@bregmasoft.com>
1402 * include/bits/stl_list.h: Reformatted according to C++STYLE rules.
1403 (size): Replaced nonstandard distance() call with the standard one.
1404 (transfer): Uglified to _M_transfer.
1406 2001-11-21 Paolo Carlini <pcarlini@unitus.it>
1409 * include/bits/basic_string.tcc (basic_string::reserve): Never shrink
1410 below the current size.
1411 * testsuite/21_strings/capacity.cc (test02): Add test.
1413 2001-11-19 Phil Edwards <pme@gcc.gnu.org>
1415 * docs/doxygen/Intro.3: More notes.
1416 * docs/doxygen/style.css: Update to default style from Doxygen 1.2.10.
1417 * include/bits/stl_algobase.h: Add doxygen hooks for functions.
1418 * include/ext/hash_map: Add @file hook.
1419 * include/ext/hash_set: Likewise.
1420 * include/ext/rope: Likewise.
1421 * include/ext/ropeimpl.h: Likewise.
1422 * include/ext/slist: Likewise.
1423 * include/ext/stl_hash_fun.h: Likewise.
1424 * include/ext/stl_hashtable.h: Likewise.
1425 * include/ext/stl_rope.h: Likewise.
1427 * docs/html/17_intro/license.html: Remove "experimental" sentence.
1428 * docs/html/19_diagnostics/howto.html: Document new verbose
1430 * testsuite/27_io/filebuf.cc: Fix comment, move tweakable parameter
1431 to more visible (closer to description) position.
1433 * libsupc++/eh_type.cc: Formatting tweak.
1434 * libsupc++/exception: Likewise.
1435 * src/vterminate.cc: Likewise.
1437 * docs/html/17_intro/porting.html: Regenerate.
1438 * docs/html/faq/index.txt: Regenerate.
1440 2001-11-18 Jason Merrill <jason@redhat.com>
1442 * libsupc++/eh_personality.cc (__cxa_call_unexpected): Take void*.
1443 * libsupc++/eh_catch.cc (__cxa_begin_catch): Likewise.
1444 * libsupc++/unwind-cxx.h: Adjust.
1445 * src/Makefile.am (strstream.o): Pass -Wno-deprecated.
1447 * libsupc++/eh_type.cc (__cxa_current_exception_type): New file.
1448 * libsupc++/cxxabi.h: Declare it.
1449 * libsupc++/Makefile.am (sources): Add it.
1450 * src/vterminate.cc (verbose_terminate_handler): New file.
1451 * libsupc++/exception: Declare it.
1452 * src/Makefile.am (sources): Add it.
1454 * src/Makefile.am (VPATH): Check the src directory before the top one.
1456 2001-11-16 Paolo Carlini <pcarlini@unitus.it>
1458 * include/bits/stl_deque.h (deque::erase()): Fix memory leak.
1460 2001-11-16 Loren J. Rittle <ljrittle@acm.org>
1462 * docs/html/17_intro/howto.html (Thread-safety): Rename
1463 section to ``The Standard C++ library and multithreading'' and
1464 update information based on recent mailing list traffic. Move
1465 all discussion of __USE_MALLOC to...
1466 * docs/html/23_containers/howto.html (Containers and multithreading):
1467 ...here and rework it based on recent mailing list traffic.
1469 2001-11-15 Loren J. Rittle <ljrittle@acm.org>
1471 * docs/html/faq/index.html (Is libstdc++-v3 thread-safe?): Clarify
1474 2001-11-15 <bjornw@planetarion.com>
1475 Loren J. Rittle <ljrittle@acm.org>
1478 * include/bits/stl_alloc.h (alloc): Update to use __mem_interface.
1479 (single_client_alloc): Likewise.
1481 2001-11-08 Danny Smith <dannysmith@users.sourceforge.net>
1483 * configure.target: Add os_include_dir for mingw32* target.
1484 * docs/html/17_intro/porting.texi: Mention mingw32 as target benefiting
1485 from _GLIBCPP_AVOID_FSEEK.
1486 * config/os/mingw32/bits/ctype_base.h: New file.
1487 * config/os/mingw32/bits/ctype_inline.h: New file.
1488 * config/os/mingw32/bits/ctype_noninline.h: New file.
1489 * config/os/mingw32/bits/os_defines.h: New file.
1491 2001-11-07 Nathan Myers <ncm@cantrip.org>
1493 * docs/html/faq/index.html (5.8): New entry on ABIs.
1494 * docs/html/faq/index.txt: Regenerate.
1496 2001-11-07 Phil Edwards <pme@gcc.gnu.org>
1498 * docs/html/faq/index.html: Explain libsupc++, mention 'long long'
1499 bugfixes on Solaris.
1500 * docs/html/faq/index.txt: Regenerate.
1502 2001-11-06 Phil Edwards <pme@gcc.gnu.org>
1504 * acinclude.m4 (GLIBCPP_ENABLE_LONG_LONG): Run the test in
1505 LANG_CPLUSPLUS mode.
1506 * aclocal.m4: Regenerate.
1507 * configure: Regenerate.
1509 2001-11-05 Phil Edwards <pme@gcc.gnu.org>
1511 * porting.texi: Move...
1512 * docs/html/17_intro/porting.texi: ...to here.
1513 * docs/html/Makefile: Add rule to rebuild...
1514 * docs/html/17_intro/porting.html: ...this. New file.
1516 2001-11-05 Felix Natter <fnatter@gmx.net>
1518 * docs/html/17_intro/porting-howto.xml: check in v0.9.4
1519 * docs/html/17_intro/porting-howto.html: regenerate
1521 2001-11-02 Loren J. Rittle <ljrittle@acm.org>
1523 * include/bits/stl_threads.h (_Atomic_swap): Only enable path
1524 when platform supports __GTHREAD_MUTEX_INIT.
1526 2001-11-02 Phil Edwards <pme@gcc.gnu.org>
1528 * acconfig.h: Update comments.
1529 * acinclude.m4 (GLIBCPP_ENABLE_C99): Move strtoll, strtoull tests...
1530 (GLIBCPP_ENABLE_LONG_LONG): ...to here. Don't check enable_c99.
1531 * aclocal.m4: Regenerate.
1532 * config.h.in: Regenerate.
1533 * configure: Regenerate.
1535 * include/bits/boost_concept_check.h: Unconditionally compile uses
1536 of 'long long' which require only compiler support, not C lib support.
1537 * include/bits/cpp_type_traits.h: Likewise.
1538 * include/bits/std_limits.h: Likewise.
1539 * include/bits/type_traits.h: Likewise.
1540 * src/concept-inst.cc: Likewise.
1541 * src/limits.cc: Likewise.
1542 * include/c_shadow/stdlib.h: Compile conditionally on _GLIBCPP_USE_C99
1543 instead of _GLIBCPP_USE_LONG_LONG.
1544 * include/c_shadow/bits/std_cstdlib.h: Likewise.
1546 2001-11-02 Phil Edwards <pme@gcc.gnu.org>
1548 * config/io/c_io_stdio.h: Correct grammar in comments.
1549 * docs/doxygen/Intro.3: Expand "top-level" man page.
1550 * docs/doxygen/doxygroups.cc: New module definitions (comments).
1551 * docs/doxygen/mainpage.doxy: Tweaks.
1552 * docs/doxygen/run_doxygen: Update Doxygen version, massage man pages.
1554 Add @file hooks so that headers are considered to be documented.
1555 * include/bits/basic_ios.h, include/bits/basic_file.h,
1556 include/bits/basic_string.h, include/bits/boost_concept_check.h,
1557 include/bits/char_traits.h, include/bits/codecvt.h,
1558 include/bits/concept_check.h, include/bits/cpp_type_traits.h,
1559 include/bits/fpos.h, include/bits/gslice.h, include/bits/gslice_array.h,
1560 include/bits/indirect_array.h, include/bits/ios_base.h,
1561 include/bits/locale_facets.h, include/bits/localefwd.h,
1562 include/bits/mask_array.h, include/bits/pthread_allocimpl.h,
1563 include/bits/slice.h, include/bits/slice_array.h,
1564 include/bits/std_algorithm.h, include/bits/std_bitset.h,
1565 include/bits/std_complex.h, include/bits/std_deque.h,
1566 include/bits/std_fstream.h, include/bits/std_functional.h,
1567 include/bits/std_iomanip.h, include/bits/std_ios.h,
1568 include/bits/std_iosfwd.h, include/bits/std_iostream.h,
1569 include/bits/std_istream.h, include/bits/std_iterator.h,
1570 include/bits/std_limits.h, include/bits/std_list.h,
1571 include/bits/std_locale.h, include/bits/std_map.h,
1572 include/bits/std_memory.h, include/bits/std_numeric.h,
1573 include/bits/std_ostream.h, include/bits/std_queue.h,
1574 include/bits/std_set.h, include/bits/std_sstream.h,
1575 include/bits/std_stack.h, include/bits/std_streambuf.h,
1576 include/bits/std_string.h, include/bits/std_utility.h,
1577 include/bits/std_valarray.h, include/bits/std_vector.h,
1578 include/bits/stl_algo.h, include/bits/stl_alloc.h,
1579 include/bits/stl_bvector.h, include/bits/stl_construct.h,
1580 include/bits/stl_deque.h, include/bits/stl_heap.h,
1581 include/bits/stl_iterator.h, include/bits/stl_iterator_base_funcs.h,
1582 include/bits/stl_iterator_base_types.h, include/bits/stl_list.h,
1583 include/bits/stl_map.h, include/bits/stl_multimap.h,
1584 include/bits/stl_multiset.h, include/bits/stl_numeric.h,
1585 include/bits/stl_pair.h, include/bits/stl_pthread_alloc.h,
1586 include/bits/stl_queue.h, include/bits/stl_raw_storage_iter.h,
1587 include/bits/stl_relops.h, include/bits/stl_set.h,
1588 include/bits/stl_stack.h, include/bits/stl_tempbuf.h,
1589 include/bits/stl_threads.h, include/bits/stl_tree.h,
1590 include/bits/stl_uninitialized.h, include/bits/stl_vector.h,
1591 include/bits/stream_iterator.h, include/bits/streambuf_iterator.h,
1592 include/bits/stringfwd.h, include/bits/type_traits.h,
1593 include/bits/valarray_array.h, include/bits/valarray_meta.h:
1594 Add hooks, tweak comments only.
1596 * include/bits/stl_algobase.h (swap, min, iter_swap): Also
1597 document these functions.
1598 * include/bits/stl_function.h: Tweak link comments.
1600 2001-11-01 Paolo Carlini <pcarlini@unitus.it>
1601 Benjamin Kosnik <bkoz@redhat.com>
1603 * testsuite/27_io/ios_manip_fmtflags.cc: Fix for non-interactive
1605 * include/bits/locale_facets.tcc (num_put::do_put(bool)): Fix.
1607 2001-11-01 Egor Duda <deo@logos-m.ru>
1609 * config/os/newlib/bits/ctype_noninline.h
1610 (ctype<char>::do_toupper(char __c)): Check for proper character class.
1611 (ctype<char>::do_tolower(char __c)): Ditto.
1613 2001-11-01 Phil Edwards <pme@gcc.gnu.org>
1615 * acinclude.m4: Fix spacing.
1616 (GLIBCPP_ENABLE_CONCEPT_CHECKS): New macro.
1617 * configure.in: Call here.
1618 * acconfig.h: Add _GLIBCPP_CONCEPT_CHECKS.
1619 * include/bits/boost_concept_check.h: Fix headers.
1620 (__function_requires): Make inline.
1621 * include/bits/c++config (_GLIBCPP_CONCEPT_CHECKS): Remove.
1622 * aclocal.m4: Regenerate.
1623 * config.h.in: Regenerate.
1624 * configure: Regenerate.
1626 Move trailing ';' inside macro, PR libstdc++/3666.
1627 * include/bits/concept_check.h: Add semicolon.
1628 * include/bits/stl_algo.h: Remove semicolon.
1629 * include/bits/stl_algobase.h: Likewise.
1630 * include/bits/stl_deque.h: Likewise.
1631 * include/bits/stl_heap.h: Likewise.
1632 * include/bits/stl_iterator_base_funcs.h: Likewise.
1633 * include/bits/stl_list.h: Likewise.
1634 * include/bits/stl_map.h: Likewise.
1635 * include/bits/stl_multimap.h: Likewise.
1636 * include/bits/stl_multiset.h: Likewise.
1637 * include/bits/stl_numeric.h: Likewise.
1638 * include/bits/stl_queue.h: Likewise.
1639 * include/bits/stl_set.h: Likewise.
1640 * include/bits/stl_stack.h: Likewise.
1641 * include/bits/stl_vector.h: Likewise.
1642 * include/ext/hash_map: Likewise.
1643 * include/ext/hash_set: Likewise.
1644 * include/ext/slist: Likewise.
1646 * src/concept-inst.cc: New file with explicit instantiations.
1647 * src/Makefile.am (sources): Add here, with special build rules.
1648 * src/Makefile.in: Regenerate.
1650 2001-11-01 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
1652 * include/bits/std_complex.h (_Norm_helper): New class template.
1654 (abs): Tweak. Fix Thinko.
1656 2001-10-31 Benjamin Kosnik <bkoz@redhat.com>
1659 * include/bits/codecvt.h: Add virtual member function declarations.
1660 * src/codecvt.cc: Tweaks.
1661 * testsuite/22_locale/codecvt.cc: Test compilation only,
1662 non-required facets not required to have linkage.
1664 2001-10-31 Edward E. Meyer <edward.e.meyer@boeing.com>
1667 * include/bits/std_complex.h (complex::operator/=): Correct sign.
1669 2001-10-30 Paolo Carlini <pcarlini@unitus.it>
1670 Benjamin Kosnik <bkoz@redhat.com>
1673 * include/bits/basic_string.h: Tweaks.
1674 * include/bits/basic_string.tcc (string::_M_replace(iterator,
1675 iterator, _ForwardIter, _ForwardIter, forward_iterator_tag): Fix.
1676 * src/string-inst.cc: Tweaks, add instantiation.
1677 * testsuite/21_strings/replace.cc (test02): Add test.
1678 * testsuite/21_strings/assign.cc (test01): New file.
1680 2001-10-30 Jakub Jelinek <jakub@redhat.com>
1682 * include/bits/stl_deque.h (_M_new_elements_at_front): Use
1683 __throw_exception_again.
1684 (_M_new_elements_at_back): Likewise.
1686 2001-10-29 Benjamin Kosnik <bkoz@redhat.com>
1689 * include/bits/fstream.tcc (filebuf::showmanyc): Simplify.
1690 * testsuite/27_io/filebuf.cc (test07): New test.
1691 (test03): Modify showmanyc test.
1693 2001-10-26 Benjamin Kosnik <bkoz@redhat.com>
1696 * config/locale/codecvt_specializations_ieee_1003.1-200x.h
1697 (__enc_traits::~__enc_traits): Fix.
1698 (__enc_traits::_M_init): Add error checking.
1700 2001-10-25 Benjamin Kosnik <bkoz@redhat.com>
1703 * include/bits/locale_facets.tcc (time_get::_M_extract_name): Fix.
1705 2001-10-25 Benjamin Kosnik <bkoz@redhat.com>
1708 * include/bits/ostream.tcc (ostream::operator<<(streambuf*)): Fix
1710 * include/bits/istream.tcc (istream::operator>>(streambuf*): Make
1711 consistent, where possible.
1712 * include/bits/streambuf.tcc: Tweak.
1714 2001-10-25 Brendan Kehoe <brendan@zen.org>
1717 * bits/ostream.tcc (seekp): Scope use as ios_base::failbit.
1718 * bits/istream.tcc (seekg): Likewise.
1720 2001-10-25 Benjamin Kosnik <bkoz@redhat.com>
1721 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
1722 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
1724 * config/os/gnu-linux/bits/os_defines.h: Set to 64 bit longs with
1726 * include/bits/std_limits.h: Fix wchar_t issues.
1727 * config/os/aix/bits/os_defines.h: Fix.
1729 2001-10-25 Benjamin Kosnik <bkoz@redhat.com>
1731 * include/bits/locale_facets.tcc (collate::do_transform): Fix.
1733 2001-10-25 Phil Edwards <pme@gcc.gnu.org>
1735 * docs/html/documentation.html: Fix typo.
1737 2001-10-23 Benjamin Kosnik <bkoz@redhat.com>
1739 Make -fno-exceptions work.
1740 * config/locale/c_locale_gnu.cc: Use functexcept.
1741 * include/bits/c++config (__stl_assert): Remove.
1742 (__STL_USE_EXCEPTIONS): Same.
1744 (__STL_CATCH_ALL): Same.
1745 (__STL_THROW): Same.
1746 (__STL_RETHROW): Same.
1747 (__STL_NOTHROW): Same.
1748 (__STL_UNWIND): Same.
1749 * include/bits/pthread_allocimpl.h: Fix.
1750 * include/bits/std_bitset.h: Same.
1751 * include/bits/std_list.h: Same.
1752 * include/bits/std_memory.h: Same.
1753 * include/bits/std_queue.h: Same.
1754 * include/bits/stl_alloc.h: Same.
1755 * include/bits/stl_deque.h: Same.
1756 * include/bits/stl_list.h: Same.
1757 * include/bits/stl_queue.h: Same.
1758 * include/bits/stl_tempbuf.h: Same.
1759 * include/bits/stl_tree.h: Same.
1760 * include/bits/stl_uninitialized.h: Same.
1761 * include/bits/stl_vector.h: Same.
1762 * include/ext/ropeimpl.h: Same.
1763 * include/ext/slist: Same.
1764 * include/ext/stl_hashtable.h: Same.
1765 * include/ext/stl_rope.h: Same.
1766 * libsupc++/new_op.cc: Include cstdlib.
1767 * libsupc++/eh_personality.cc: Add exception_defines include. Use
1768 __throw_exception_again, tweak.
1769 * libsupc++/eh_aux_runtime.cc: Include stdlib for abort.
1770 * libsupc++/vec.cc: Tweak.
1771 * src/functexcept.cc: Remove unused arguments.
1772 * testsuite/23_containers/bitset_members.cc: Tweak.
1774 2001-10-22 Benjamin Kosnik <bkoz@redhat.com>
1776 * config/cpu/i386/bits/limits.h: Move to...
1777 * config/cpu/i386/bits/cpu_limits.h: ...here.
1778 * config/cpu/cris/bits/cpu_limits.h: Same.
1779 * config/cpu/powerpc/bits/cpu_limits.h: Same.
1780 * config/cpu/x86-64/bits/cpu_limits.h: Same.
1781 * config/cpu/alpha/bits/cpu_limits.h: New.
1782 * config/cpu/m68k/bits/cpu_limits.h: New.
1783 * config/cpu/s390/bits/cpu_limits.h: New.
1784 * config/os/aix/bits/os_defines.h: Tweaks.
1785 * config/os/bsd/freebsd/bits/os_defines.h: Same.
1786 * config/os/bsd/netbsd/bits/os_defines.h: Same.
1787 * config/os/djgpp/bits/os_defines.h: Same.
1788 * config/os/generic/bits/os_defines.h: Same.
1789 * config/os/gnu-linux/bits/os_defines.h: Same.
1790 * config/os/hpux/bits/os_defines.h: Same.
1791 * config/os/irix/irix5.2/bits/os_defines.h: Same.
1792 * config/os/irix/irix6.5/bits/os_defines.h: Same.
1793 * config/os/newlib/bits/os_defines.h: Same.
1794 * config/os/solaris/solaris2.5/bits/os_defines.h: Same.
1795 * config/os/solaris/solaris2.6/bits/os_defines.h: Same.
1796 * config/os/solaris/solaris2.7/bits/os_defines.h: Same.
1798 * include/bits/c++config: Remove include.
1799 * include/bits/limits_generic.h: Remove.
1800 * include/bits/std_limits.h: Include cpu_limits.h.
1801 * include/Makefile.am: Fixup.
1802 * src/limits.cc: Tweak.
1803 * src/limits_generic.cc: Remove.
1804 * src/gen-num-limits.cc: Remove.
1805 * mknumeric_limits: Remove.
1807 2001-10-20 Brendan Kehoe <brendan@zen.org>
1809 * bits/type_traits.h (_Bool): Removed this type.
1810 (__true_type, __false_type): Change to be plain structs.
1811 * src/string-inst.cc (__destroy_aux): Change third parm to be
1812 __false_type instead of _Bool<false>.
1813 * src/misc-inst.cc (__uninitialized_fill_n_aux,
1814 __uninitialized_copy_aux): Likewise.
1816 2001-10-19 Benjamin Kosnik <bkoz@redhat.com>
1818 * mkcheck.in (static_fail): Remove older memory limit functionality.
1819 Disable E_TIME due to formatting issues.
1823 2001-10-19 Brendan Kehoe <brendan@zen.org>
1825 * include/bits/std_complex.h: Default initialize second argument
1826 of polar to 0, as specified in Library DR #79
1828 2001-10-19 Brendan Kehoe <brendan@zen.org>
1830 * include/bits/stl_raw_storage_iter.h (operator=): Fix to call
1831 _Construct instead of construct.
1833 2001-10-19 Brendan Kehoe <brendan@zen.org>
1835 * include/bits/basic_string.tcc (find_first_not_of): Take out check for
1836 __n being non-zero, since the standard does not mandate that.
1837 e.g., a search for "" in "" should yield position 0, not npos.
1838 (find_last_not_of): Likewise.
1840 2001-10-19 Brendan Kehoe <brendan@zen.org>
1842 * include/bits/stl_bvector.h (vector<bool>::_M_range_check): Fix
1843 to throw out_of_range, not range_error, thus sayeth $23.1.1.13.
1845 2001-10-19 Brendan Kehoe <brendan@zen.org>
1847 * include/bits/stl_iterator.h (reverse_iterator::current): Rename
1848 member from _M_current, and change all uses; thus sayeth $24.4.1.1.
1850 2001-10-19 Brendan Kehoe <brendan@zen.org>
1852 * include/bits/stl_algo.h (partial_sort): Add missing `>' on the
1853 template parameter _ValueType.
1855 2001-10-19 Brendan Kehoe <brendan@zen.org>
1857 * include/bits/std_limits.h: Clean up extra semicolons.
1858 * include/bits/locale_facets.h: Likewise.
1859 * include/bits/type_traits.h: Likewise.
1861 2001-10-19 Brendan Kehoe <brendan@zen.org>
1863 * include/bits/localefwd.h (locale::combine): Add const for lib DR 14.
1864 * include/bits/locale_facets.tcc (locale::combine): Likewise.
1866 2001-10-19 Benjamin Kosnik <bkoz@redhat.com>
1868 * include/bits/locale_facets.h (__timepunct::_M_put_helper):
1869 Declare specializations for char, wchar_t.
1871 2001-10-19 Andreas Jaeger <aj@suse.de>
1873 * config/cpu/x86-64/bits/limits.h: New file.
1874 * config/cpu/x86-64/bits/atomicity.h: New file.
1875 * configure.target: Add x86-64.
1877 2001-10-17 Phil Edwards <pme@gcc.gnu.org>
1879 * docs/html/17_intro/howto.html: Remove 1999 links (and explain
1880 why). Add link to recent message.
1881 * docs/html/faq/index.html (5.6): Reformat text only; fixup <pre>
1883 * docs/html/faq/index.txt: Regenerate.
1885 2001-10-12 Loren J. Rittle <ljrittle@acm.org>
1887 * docs/html/faq/index.html (Is libstdc++-v3 thread-safe?): Update
1888 based on Nathan's review. Use Nathan's words.
1890 2001-10-11 Matt Kraai <kraai@alumni.carnegiemellon.edu>
1892 * docs/html/configopts.html: Quote StyleSheet attribute values.
1893 * docs/html/documentation.html: Likewise.
1894 * docs/html/explanations.html: Likewise.
1895 * docs/html/install.html: Likewise.
1896 * docs/html/17_intro/howto.html: Likewise.
1897 * docs/html/17_intro/license.html: Likewise.
1898 * docs/html/18_support/howto.html: Likewise.
1899 * docs/html/19_diagnostics/howto.html: Likewise.
1900 * docs/html/20_util/howto.html: Likewise.
1901 * docs/html/21_strings/howto.html: Likewise.
1902 * docs/html/22_locale/howto.html: Likewise.
1903 * docs/html/23_containers/howto.html: Likewise.
1904 * docs/html/24_iterators/howto.html: Likewise.
1905 * docs/html/25_algorithms/howto.html: Likewise.
1906 * docs/html/26_numerics/howto.html: Likewise.
1907 * docs/html/27_io/howto.html: Likewise.
1908 * docs/html/ext/howto.html: Likewise.
1909 * docs/html/ext/sgiexts.html: Likewise.
1910 * docs/html/faq/index.html: Likewise.
1912 2001-10-11 Loren J. Rittle <ljrittle@acm.org>
1914 * docs/html/faq/index.html (Is libstdc++-v3 thread-safe?): Rewrite.
1915 * docs/html/23_containers/howto.html (Containers and multithreading):
1918 2001-10-09 Phil Edwards <pme@gcc.gnu.org>
1920 * docs/html/17_intro/howto.html: Tweak markup and value type.
1921 * docs/html/27_io/howto.html: Tweak markup, describe setbuf() for
1922 nonzero arguments, add new note on threading.
1923 * docs/html/faq/index.html: Update.
1924 * docs/html/faq/index.txt: Regenerate.
1926 2001-10-09 Phil Edwards <pme@gcc.gnu.org>
1928 * docs/html/configopts.html: More HTML->XHTML and lowercasing of tags.
1929 * docs/html/documentation.html: Likewise.
1930 * docs/html/explanations.html: Likewise.
1931 * docs/html/install.html: Likewise.
1932 * docs/html/17_intro/howto.html: Likewise.
1933 * docs/html/17_intro/license.html: Likewise. Tighten up language.
1934 * docs/html/18_support/howto.html: Likewise.
1935 * docs/html/19_diagnostics/howto.html: Likewise.
1936 * docs/html/20_util/howto.html: Likewise.
1937 * docs/html/21_strings/howto.html: Likewise.
1938 * docs/html/22_locale/howto.html: Likewise.
1939 * docs/html/23_containers/howto.html: Likewise.
1940 * docs/html/24_iterators/howto.html: Likewise.
1941 * docs/html/25_algorithms/howto.html: Likewise.
1942 * docs/html/26_numerics/howto.html: Likewise.
1943 * docs/html/27_io/howto.html: Likewise.
1944 * docs/html/ext/howto.html: Likewise.
1945 * docs/html/ext/sgiexts.html: Likewise.
1946 * docs/html/faq/index.html: Likewise. Not so many absolute links.
1947 * docs/html/faq/index.txt: Regenerate.
1949 2001-10-07 Joseph S. Myers <jsm28@cam.ac.uk>
1951 * docs/html/22_locale/locale.html, docs/html/faq/index.html: Fix
1952 spelling errors of "separate" as "seperate", and corresponding
1953 spelling errors of related words.
1954 * docs/html/faq/index.txt: Regenerate.
1956 2001-10-05 Phil Edwards <pme@gcc.gnu.org>
1958 * config/cpu/alpha/bits/atomicity.h (__compare_and_swap): Remove
1960 * config/cpu/arm/bits/atomicity.h: Likewise.
1961 * config/cpu/generic/bits/atomicity.h: Likewise.
1962 * config/cpu/i486/bits/atomicity.h: Likewise.
1963 * config/cpu/ia64/bits/atomicity.h: Likewise.
1964 * config/cpu/mips/bits/atomicity.h: Likewise.
1965 * config/cpu/powerpc/bits/atomicity.h: Likewise.
1966 * config/cpu/sparc/sparc32/bits/atomicity.h: Likewise.
1967 * config/cpu/sparc/sparc64/bits/atomicity.h: Likewise.
1969 2001-10-04 Phil Edwards <pme@gcc.gnu.org>
1971 * docs/html/faq/index.html: Describe DR #22, and a workaround.
1972 * docs/html/faq/index.txt: Regenerate.
1974 2001-10-04 Phil Edwards <pme@gcc.gnu.org>
1976 * docs/html/17_intro/COPYING.DOC: New file, GFDL v1.1 from the FSF.
1977 * docs/html/17_intro/license.html: New file. Explain the licenses
1980 * docs/html/configopts.html: Link to license.html.
1981 * docs/html/documentation.html: Likewise.
1982 * docs/html/explanations.html: Likewise.
1983 * docs/html/install.html: Likewise.
1984 * docs/html/17_intro/howto.html: Likewise.
1985 * docs/html/18_support/howto.html: Likewise.
1986 * docs/html/19_diagnostics/howto.html: Likewise.
1987 * docs/html/20_util/howto.html: Likewise.
1988 * docs/html/21_strings/howto.html: Likewise.
1989 * docs/html/22_locale/howto.html: Likewise.
1990 * docs/html/23_containers/howto.html: Likewise.
1991 * docs/html/24_iterators/howto.html: Likewise.
1992 * docs/html/25_algorithms/howto.html: Likewise.
1993 * docs/html/26_numerics/howto.html: Likewise.
1994 * docs/html/27_io/howto.html: Likewise.
1995 * docs/html/ext/howto.html: Likewise.
1996 * docs/html/ext/sgiexts.html: Likewise.
1997 * docs/html/faq/index.html: Likewise. New question, linking to
1998 the new license.html.
2000 2001-10-04 Phil Edwards <pme@gcc.gnu.org>
2002 * docs/html/17_intro/howto.html: Fix mis-sed in header from 20010917.
2003 * docs/html/18_support/howto.html: Likewise.
2004 * docs/html/19_diagnostics/howto.html: Likewise.
2005 * docs/html/20_util/howto.html: Likewise.
2006 * docs/html/21_strings/howto.html: Likewise.
2007 * docs/html/22_locale/howto.html: Likewise.
2008 * docs/html/23_containers/howto.html: Likewise.
2009 * docs/html/24_iterators/howto.html: Likewise.
2010 * docs/html/25_algorithms/howto.html: Likewise.
2011 * docs/html/26_numerics/howto.html: Likewise.
2012 * docs/html/27_io/howto.html: Likewise.
2013 * docs/html/ext/howto.html: Likewise.
2014 * docs/html/faq/index.html: Likewise. Spacing fix.
2016 2001-10-03 Dimitris Vyzovitis <vyzo@media.mit.edu>
2018 * include/bits/stl_threads.h (_Atomic_swap): New function.
2019 (_Swap_lock_struct<__dummy>::_S_swap_lock): New data.
2020 * testsuite/ext/rope.cc: New file.
2022 2001-10-02 Benjamin Kosnik <bkoz@redhat.com>
2024 * config/locale/time_members_gnu.h: Remove.
2025 * config/locale/time_members_generic.h: Remove.
2026 * config/locale/time_members_gnu.cc (__timepunct::_M_put_helper): Add.
2027 * config/locale/time_members_generic.cc: Same.
2028 * include/bits/locale_facets.h: Add data members.
2029 (__timepunct::_M_put_helper): Change signature.
2030 (__timepunct::_M_date_formats): Same.
2031 (__timepunct::_M_time_formats): Same.
2032 (__timepunct::_M_ampm): Add.
2033 (__timepunct::_M_date_time_formats): Add.
2034 (time_get::_M_extract_via_format): Add.
2035 (time_get::_M_extract_time): Change to...
2036 (time_get::_M_extract_num): ... this, modify signature.
2037 * include/bits/locale_facets.tcc (time_get::do_get_year): Fix.
2038 (time_get::do_get_time): Fix.
2039 (time_get::do_get_date): Fix.
2041 * acinclude.m4: Remove CTIME_H.
2042 * aclocal.m4: Regenerate.
2043 * include/Makefile.am: Same.
2044 * include/Makefile.in: Regenerate.
2045 * configure: Regenerate.
2047 * testsuite/22_locale/time_get_members_char.cc: Fix.
2048 * testsuite/22_locale/time_get_members_wchar_t.cc: Add.
2049 * testsuite/22_locale/time_put_members_wchar_t.cc: Add.
2051 2001-10-01 Hans-Peter Nilsson <hp@axis.com>
2053 * config/cpu/cris/bits/atomicity.h: Correct file header.
2055 2001-09-29 Hans-Peter Nilsson <hp@axis.com>
2057 * configure.target (LIMITSH): Set for cris.
2058 (cpu_include_dir): Set for cris-*-*.
2059 * config/cpu/cris/bits/atomicity.h: New file.
2060 * config/cpu/cris/bits/limits.h: New file.
2062 2001-09-28 Benjamin Kosnik <bkoz@redhat.com>
2064 * config/locale/time_members_gnu.h (__timepunct::_M_get_helper): Add.
2065 (__timepunct::_M_put_helper): Add.
2066 * config/locale/time_members_generic.h: Same.
2067 * include/bits/locale_facets.h (__match_parallel): Remove. Format.
2068 (__timepunct): Add data members.
2069 (__timepunct::_M_days): Add.
2070 (__timepunct::_M_days_abbreviated): Add.
2071 (__timepunct::_M_months): Add.
2072 (__timepunct::_M_months_abbreviated): Add.
2073 (__timepunct::_M_initialize_timepunct): Add.
2074 * include/bits/locale_facets.tcc: Same.
2075 * src/locale-inst.cc: Remove instantiations for __match_parallel.
2076 * acinclude.m4 (GLIBCPP_ENABLE_CLOCALE): Add CTIME_CC.
2077 * aclocal.m4: Regenerate.
2078 * configure: Regenerate.
2079 * testsuite/22_locale/time_put_members_char.cc: Mark XFAIL.
2080 * testsuite/22_locale/time_put_members_char.cc (test01): New file.
2081 * testsuite/22_locale/time_get.cc: New file.
2083 2001-09-28 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
2085 * testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3-init): Use
2086 correct multilib builddir.
2087 Properly locate libgcc_s.
2089 2001-09-27 Phil Edwards <pme@gcc.gnu.org>
2091 * include/std/*: Add Doxygen hooks.
2092 * docs/doxygen/Intro.3: New file, general intro to the man pages.
2093 * docs/doxygen/mainpage.doxy: Formatting tweaks. List our own links
2094 rather than using a generated index.
2095 * docs/doxygen/user.cfg.in: Disable the index, enable man pages.
2096 * docs/doxygen/run_doxygen: Massage the generated man pages, using...
2097 * docs/doxygen/stdheader.cc: ...this new file.
2099 2001-09-26 Stan Shebs <shebs@apple.com>
2101 * include/Makefile.am: Remove RCS Id strings.
2102 * src/Makefile.am: Ditto.
2103 * docs/doxygen/run_doxygen: Ditto.
2104 * docs/html/configopts.html: Ditto.
2105 * docs/html/documentation.html: Ditto.
2106 * docs/html/explanations.html: Ditto.
2107 * docs/html/install.html: Ditto.
2108 * docs/html/17_intro/howto.html: Ditto.
2109 * docs/html/18_support/howto.html: Ditto.
2110 * docs/html/19_diagnostics/howto.html: Ditto.
2111 * docs/html/20_util/howto.html: Ditto.
2112 * docs/html/21_strings/howto.html: Ditto.
2113 * docs/html/22_locale/howto.html: Ditto.
2114 * docs/html/23_containers/howto.html: Ditto.
2115 * docs/html/24_iterators/howto.html: Ditto.
2116 * docs/html/25_algorithms/howto.html: Ditto.
2117 * docs/html/26_numerics/howto.html: Ditto.
2118 * docs/html/27_io/howto.html: Ditto.
2119 * docs/html/ext/howto.html: Ditto.
2120 * docs/html/ext/sgiexts.html: Ditto.
2121 * docs/html/faq/index.html: Ditto.
2122 * docs/html/faq/index.txt: Ditto.
2124 2001-09-25 Phil Edwards <pme@gcc.gnu.org>
2126 * testsuite/21_strings/c_strings.cc (test01, test02): Increase
2129 2001-09-25 Phil Edwards <pme@gcc.gnu.org>
2131 * docs/html/20_util/howto.html: Add anchor name.
2132 * docs/html/23_containers/howto.html: Line wrapping, another link.
2133 * docs/html/25_algorithms/howto.html: Another note.
2135 * docs/html/ext/howto.html: Link to SGI extensions. List DRs and
2137 * docs/html/ext/lwg-active.html: ...in this new file (from R19),
2138 * docs/html/ext/lwg-defects.html: and this new file (from R19).
2139 * docs/html/ext/sgiexts.html: New file. Mention SGI extensions
2140 carried over to libstdc++-v3.
2141 * docs/html/faq/index.html: Link to SGI extensions. Mention the
2142 "missing .." pseudobug.
2143 * docs/html/faq/index.txt: Regenerate.
2145 * include/bits/ios_base.h: DR-related comment cleanup.
2146 * include/bits/istream.tcc: Likewise.
2147 * include/bits/locale_facets.h: Likewise.
2148 * include/bits/locale_facets.tcc: Likewise.
2149 * include/bits/ostream.tcc: Likewise.
2150 * include/bits/std_bitset.h: Likewise.
2151 * include/bits/std_iosfwd.h: Likewise.
2152 * include/bits/std_istream.h: Likewise.
2153 * include/bits/std_ostream.h: Likewise.
2154 * include/bits/std_streambuf.h: Likewise.
2155 * include/bits/stl_pair.h: Likewise.
2156 * include/bits/streambuf_iterator.h: Likewise.
2158 * include/bits/std_map.h: Remove unused header inclusion guard
2159 _CPP_BITS_STL_TREE_H from around bits/stl_tree.h.
2160 * include/bits/std_set.h: Likewise.
2162 * include/bits/stl_function.h: Doxygen markup.
2163 * docs/doxygen/doxygroups.cc: New file, specifying module grouping.
2164 * libsupc++/typeinfo: Doxygen markup tweak.
2166 2001-09-20 Scott Johnston <scott@accom.com>
2167 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
2169 * include/backward/alloc.h: Conditionally define malloc_alloc
2170 * testsuite/backward/header_deque_h.cc: New file.
2172 2001-09-20 Sylvain Pion <Sylvain.Pion@sophia.inria.fr>
2174 * libstdc++-v3/include/bits/locale_facets.tcc (money_put::do_put):
2175 change variable name so that it works with -fno-for-scope.
2177 2001-09-20 Benjamin Kosnik <bkoz@redhat.com>
2179 * testsuite/22_locale/numpunct_members_char.cc (test01): Remove
2180 redundant sanity checks.
2181 * testsuite/22_locale/money_put_members_wchar_t.cc (test01): Same.
2183 * testsuite/22_locale/money_put_members_char.cc (test01): Same.
2185 * testsuite/22_locale/moneypunct_members_wchar_t.cc (test01): Same.
2186 * testsuite/22_locale/moneypunct_members_char.cc (test01): Same.
2187 * testsuite/22_locale/money_get_members_wchar_t.cc (test01): Same.
2189 * testsuite/22_locale/money_get_members_char.cc (test01): Same.
2192 2001-09-19 Benjamin Kosnik <bkoz@redhat.com>
2194 Implement std::time_put.
2195 * include/bits/locale_facets.h: Include time_members.h.
2197 (time_put): Implement.
2198 * include/bits/locale_facets.tcc (do_put): Put generic versions here.
2199 * include/bits/localefwd.h: Bump number of facets.
2200 * config/locale/time_members_generic.h: New file.
2201 * config/locale/time_members_gnu.h: New file.
2202 * config/locale/c_locale_generic.h: Include clocale.
2203 * src/locale-inst.cc: Add use_facet instantiations for __timepunct.
2204 * src/locale.cc: Add __timepunct initializations.
2205 * src/localename.cc (locale::_Impl::_Impl(string, size_t)): Same.
2206 * include/Makefile.am (stamp-target): Add time_members.h.
2207 * include/Makefile.in: Regenerate.
2208 * acinclude.m4 (GLIBCPP_ENABLE_CLOCALE): Add CTIME_H.
2209 * aclocal.m4: Regenerate.
2210 * configure: Regenerate.
2211 * testsuite/22_locale/time_put.cc: New file.
2212 * testsuite/22_locale/time_put_members_char.cc: New file.
2214 * docs/html/22_locale/locale.html: Add note.
2216 2001-09-17 Phil Edwards <pme@gcc.gnu.org>
2218 * docs/html/configopts.html: HTML to XHTML change. Lowercase tags.
2219 * docs/html/documentation.html: Likewise.
2220 * docs/html/explanations.html: Likewise.
2221 * docs/html/install.html: Likewise.
2222 * docs/html/17_intro/howto.html: Likewise.
2223 * docs/html/18_support/howto.html: Likewise.
2224 * docs/html/19_diagnostics/howto.html: Likewise.
2225 * docs/html/20_util/howto.html: Likewise.
2226 * docs/html/21_strings/howto.html: Likewise.
2227 * docs/html/22_locale/codecvt.html: Likewise.
2228 * docs/html/22_locale/ctype.html: Likewise.
2229 * docs/html/22_locale/howto.html: Likewise.
2230 * docs/html/22_locale/locale.html: Likewise.
2231 * docs/html/22_locale/messages.html: Likewise.
2232 * docs/html/23_containers/howto.html: Likewise.
2233 * docs/html/24_iterators/howto.html: Likewise.
2234 * docs/html/25_algorithms/howto.html: Likewise.
2235 * docs/html/26_numerics/howto.html: Likewise.
2236 * docs/html/27_io/howto.html: Likewise.
2237 * docs/html/ext/howto.html: Likewise.
2238 * docs/html/faq/index.html: Likewise.
2239 * docs/html/faq/index.txt: Regenerated.
2241 2001-09-14 Phil Edwards <pme@sources.redhat.com>
2243 * docs/html/17_intro/headers_cc.txt: "Sync"/copy real file over.
2244 * docs/html/17_intro/howto.html: Spacing and HTML markup fixes.
2245 * docs/html/18_support/howto.html: It won't compile; it's not code.
2246 * docs/html/19_diagnostics/howto.html: Point diagram seekers to
2248 * docs/html/22_locale/howto.html: Comment for future work.
2249 * docs/html/23_containers/howto.html: More comments.
2250 * docs/html/25_algorithms/howto.html: It's a comment, not a
2251 blunt command to the reader. (English grammar.)
2253 2001-09-14 Benjamin Kosnik <bkoz@redhat.com>
2255 * config/locale/moneypunct_members_gnu.cc: Fix initialization of
2257 * testsuite/22_locale/money_get_members_wchar_t.cc (test02): New file.
2258 * testsuite/22_locale/money_put_members_wchar_t.cc (test02): Fix.
2260 2001-09-14 Benjamin Kosnik <bkoz@redhat.com>
2262 * include/bits/locale_facets.tcc: Conditionalize use of strtold.
2264 2001-09-13 Alexandre Petit-Bianco <apbianco@redhat.com>
2266 * testsuite/22_locale/money_get_members_char.cc: Fixed typo in comment.
2267 * testsuite/22_locale/money_put_members_char.cc: Likewise.
2268 * testsuite/22_locale/money_put_members_wchar_t.cc: Likewise.
2270 2001-09-13 Benjamin Kosnik <bkoz@redhat.com>
2272 Implement std::money_get.
2273 * include/bits/locale_facets.tcc (money_get::do_get): Implement.
2274 * include/bits/locale_facets.h (money_get): Correct signatures.
2275 * testsuite/22_locale/money_get.cc: New file.
2276 * testsuite/22_locale/money_get_members_char.cc: New file.
2278 * include/bits/locale_facets.tcc (__verify_grouping): New
2279 function. Consolidate num_get and money_get group checking into
2281 (money_get): Use it.
2282 * src/locale.cc (num_get::_M_extract): Use it.
2283 * src/locale-inst.cc: Add instantiation.
2285 2001-09-12 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
2287 * include/bits/std_limits.h (numeric_limits<float>::radix,
2288 numeric_limits<float>::epsilon: Fix thinko.
2290 2001-09-10 Benjamin Kosnik <bkoz@redhat.com>
2292 * configure.in: Fix cross compiling math routines. Correct
2293 comments for cross compiling and limits. Add floating point math
2294 routines found in newlib.
2295 * configure: Regenerate.
2296 * acconfig.h: Add macros.
2297 * config.h.in: Regenerate.
2299 2001-09-10 Benjamin Kosnik <bkoz@redhat.com>
2301 * config/locale/moneypunct_members_generic.cc
2302 (money_base::_S_construct_pattern): Remove unused parameters.
2304 2001-09-10 Benjamin Kosnik <bkoz@redhat.com>
2306 * include/Makefile.am (stamp-target): Remove link to self.
2307 * inclulde/Makefile.in: Regenerate.
2309 2001-09-09 Benjamin Kosnik <bkoz@redhat.com>
2311 Implement std::money_put.
2312 * include/bits/locale_facets.h
2313 (moneypunct::_M_initialize_moneypunct): Split up specializations
2314 to account for _Intl. More grody hacking to get around the
2315 ill-considered use of const bool as a template parameter.
2316 * config/locale/moneypunct_members_gnu.cc: And here.
2317 * config/locale/moneypunct_members_generic.cc: And here.
2318 * testsuite/22_locale/moneypunct_members_char.cc: Add tests.
2319 * testsuite/22_locale/moneypunct.cc: Add tests.
2320 * testsuite/22_locale/money_put_members_wchar_t.cc: New file.
2321 * testsuite/22_locale/moneypunct_members_wchar_t.cc: New file.
2323 * src/locale.cc (money_base::_S_construct_pattern): Move into
2325 * config/locale/moneypunct_members_gnu.cc: Add here.
2326 * config/locale/moneypunct_members_generic.cc: Add generic version
2329 * include/bits/locale_facets.tcc (money_put::do_put): Move member
2330 function definitions here.
2331 * include/bits/locale_facets.h (money_put): Implement.
2332 * src/locale-inst.cc: Add use_facet instantiations for moneypunct.
2333 Correct money_get, money_put instantiations.
2334 * src/locale.cc (money_base::_S_construct_pattern): Handle case
2336 * testsuite/22_locale/money_put_members_char.cc: Add tests.
2338 2001-09-05 Phil Edwards <pme@sources.redhat.com>
2340 * testsuite_flags.in: No longer need to search testsuite builddir.
2341 * src/stl-inst.cc (__sink_unused_warning): Unused, remove.
2342 * Makefile.am: The testsuite directory never needs to be made here.
2343 * Makefile.in: Regenerate.
2344 * include/Makefile.in: Regenerate.
2345 * libio/Makefile.in: Regenerate.
2346 * libmath/Makefile.in: Regenerate.
2347 * libsupc++/Makefile.in: Regenerate.
2348 * po/Makefile.in: Regenerate.
2349 * src/Makefile.in: Regenerate.
2350 * testsuite/Makefile.in: Regenerate.
2352 2001-09-04 Scott Johnston <scott@accom.com>
2353 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
2355 * include/backward/iterator.h: Include <bits/std_iterator.h>,
2356 remove reverse_bidirectional_iterator.
2357 * testsuite/backward: New directory.
2358 * testsuite/backward/header_iterator_h.cc: New file.
2360 2001-09-04 Benjamin Kosnik <bkoz@redhat.com>
2362 * include/c_std/bits/std_c*.h: Don't use include_next.
2364 2001-09-03 Richard Sandiford <rsandifo@redhat.com>
2366 * libsupc++/eh_personality.cc (parse_lsda_header): Change type of
2367 tmp from _Unwind_Ptr to _Unwind_Word.
2369 2001-08-31 Jason Merrill <jason_merrill@redhat.com>
2371 * libsupc++/eh_personality.cc (PERSONALITY_FUNCTION): Simplify
2374 2001-08-28 Loren J. Rittle <ljrittle@acm.org>
2376 * include/Makefile.am: Use toplevel_srcdir to refer to src files
2377 outside this component.
2378 * include/Makefile.in: Regenerate.
2380 2001-08-27 Benjamin Kosnik <bkoz@redhat.com>
2382 * config/locale/c_locale_gnu.cc: Move facet info to separate files...
2383 * config/locale/c_locale_generic.cc: Same.
2384 * config/locale/moneypunct_members_gnu.cc: New file.
2385 * config/locale/moneypunct_members_generic.cc: New file.
2386 * config/locale/numpunct_members_gnu.cc: New file.
2387 * config/locale/numpunct_members_generic.cc: New file.
2388 * acinclude.m4 (GLIBCPP_ENABLE_CLOCALE): Add moneypunct, numpunct
2390 * aclocal.m4: Regenerate.
2391 * configure: Regenerate.
2392 * src/Makefile.am (sources): And here.
2393 * src/Makefile.in: Regenerate.
2395 Rename for consistency with rest of testsuite.
2396 * testsuite/22_locale/codecvt.cc: New file.
2397 * testsuite/22_locale/money_put.cc: New file.
2398 * testsuite/22_locale/money_put_members_char.cc: New file.
2400 2001-08-27 Phil Edwards <pme@sources.redhat.com>
2403 * acinclude.m4 (GLIBCPP_EXPORT_INSTALL_INFO): Handle enable/disable
2404 correctly for version-specific-runtime-libs.
2405 * aclocal.m4: Regenerate.
2406 * configure: Regenerate.
2408 2001-08-24 Loren J. Rittle <ljrittle@acm.org>
2410 * config/cpu/i386/bits/limits.h (__glibcpp_long_double_bits): Only
2411 define if not already provided by per-OS file.
2412 * config/os/bsd/freebsd/bits/os_defines.h (__glibcpp_long_double_bits):
2415 2001-08-24 Jan van Male <jan.vanmale@fenk.wau.nl>
2417 * docs/html/17_intro/C++STYLE: Fix typo.
2419 2001-08-24 Phil Edwards <pme@sources.redhat.com>
2421 * docs/html/23_containers/howto.html: Describe implementation of
2422 insertion with hints.
2424 2001-08-24 Kenny Simpson <kenny.simpson@gs.com>
2427 * include/bits/std_sstream.h (basic_ostringstream): Fix ctor.
2429 2001-08-24 Sylvain Pion <Sylvain.Pion@sophia.inria.fr>
2430 Phil Edwards <pme@sources.redhat.com>
2433 * include/bits/stl_tree.h (insert_unique): Revert last change.
2434 Values inserted at begin() must be less, not greater, than *begin()'s.
2435 * testsuite/23_containers/map_insert.cc: New file.
2437 2001-08-23 Benjamin Kosnik <bkoz@redhat.com>
2439 * config/locale/c_locale_gnu.cc: Minor tweaks.
2440 (moneypunct<wchar_t>): Implement.
2441 * include/bits/locale_facets.h: Same.
2442 * testsuite/22_locale/moneypunct.cc: New file.
2443 * testsuite/22_locale/moneypunct_byname.cc: New file.
2444 * testsuite/22_locale/moneypunct_char_members.cc: New file.
2446 2001-08-23 David Edelsohn <edelsohn@gnu.org>
2448 * config/os/gnu-linux/bits/os_defines.h: Correct __s390__ definitions.
2449 Set __powerpc__ long double definition based on __LONG_DOUBLE_128__.
2451 2001-08-23 Jason Merrill <jason_merrill@redhat.com>
2453 * testsuite_flags.in (build-includes): Re-add backward.
2455 2001-08-22 Benjamin Kosnik <bkoz@redhat.com>
2457 * testsuite/22_locale/collate_wchar_t_members.cc: Guard
2458 with _GLIBCPP_USE_WCHAR_T.
2460 2001-08-21 Benjamin Kosnik <bkoz@redhat.com>
2462 * testsuite/22_locale/collate_byname.cc (test01): Fix.
2464 2001-08-18 Vladimir A Merzliakov <wanderer@rsu.ru>
2466 * include/bits/locale_facets.tcc (collate::do_transform): Add typename.
2468 2001-08-18 Benjamin Kosnik <bkoz@redhat.com>
2470 * testsuite/22_locale/operators.cc: Add test.
2472 2001-08-17 Benjamin Kosnik <bkoz@redhat.com>
2474 Implement std::collate.
2475 * config/locale/collate_specializations_gnu.cc: Add here, implement in
2477 * config/locale/collate_specializations_generic.cc: Add here, but
2478 in a less sophisticated manner.
2479 * include/bits/locale_facets.tcc (collate): Add generic definition.
2480 * include/bits/locale_facets.h (~collate): Mark virtual.
2481 (collate::_M_compare_helper): New.
2482 (collate::_M_transform_helper): New.
2483 * src/locale.cc: Remove unnecessary specializations.
2484 * src/string-inst.cc: Tweak instantiation of ctors.
2486 * acinclude.m4 (GLIBCPP_ENABLE_CLOCALE): Do configury for collate.
2487 * aclocal.m4: Regenerate.
2488 * configure: Regenerate.
2489 * src/Makefile.am (sources): Add collate.cc.
2490 * src/Makefile.in: Regenerate.
2492 * testsuite/22_locale/collate_byname.cc: New.
2493 * testsuite/22_locale/collate.cc: New file.
2494 * testsuite/22_locale/collate_char_members.cc: New file.
2495 * testsuite/22_locale/collate_wchar_t_members.cc: New file.
2497 2001-08-16 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
2499 * configure.target: Set LIMITSH for powerpc-*-*.
2500 * config/cpu/powerpc/bits/limits.h: New file.
2502 2001-08-16 Marc Espie <espie@openbsd.org>
2504 * configure.in: Check for <sys/types.h>.
2505 * configure: Rebuild.
2506 * config.h.in: Rebuild.
2507 * libmath/mathconf.h: Include <sys/types.h> prior to
2508 <machine/endian.h> if available.
2510 2001-08-15 Andreas Schwab <schwab@suse.de>
2512 * configure.target (cpu_include_dir): Set to `config/cpu/m68k' for
2513 m68k and m680[246]0.
2514 * config/cpu/m68k/bits/atomicity.h: New file.
2516 * include/bits/std_limits.h [__glibcpp_long_double_bits == 96]:
2517 Define appropriate long double limits for m68k extended floating
2519 (__glibcpp_f32_digits10): Corrected, off by one.
2520 (__glibcpp_f80_digits10): Likewise.
2521 (__glibcpp_f128_digits10): Likewise.
2522 * config/os/gnu-linux/bits/os_defines.h
2523 (__glibcpp_long_double_bits) [__mc68000__]: Define to 96.
2525 2001-08-15 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
2527 * testsuite/18_support/numeric_limits.cc: Add more tests.
2528 * include/bits/std_limits.h (numeric_limits<char>::max): Fix
2531 2001-08-14 Ulrich Weigand <uweigand@de.ibm.com>
2533 * configure.target (cpu_include_dir): Set to `config/cpu/s390'
2536 * config/cpu/s390/bits/atomicity.h: New.
2538 2001-08-14 Gabriel Dos Reis <gdr@codesourcery.com>
2540 * include/bits/std_limits.h: Fix thinko.
2542 2001-08-14 Benjamin Kosnik <bkoz@redhat.com>
2544 * include/Makefile.am: Consolidate target rules. Don't clean stamp
2545 files. Tweak target build directory stamp.
2546 * include/Makefile.in: Regenerate.
2548 2001-08-14 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
2550 * libstdc++-v3/libmath/stubs.c: Fix PR/3988, replace
2551 _GBLICPP_HAVE_LOGL with HAVE_LOGL
2553 2001-08-13 Benjamin Kosnik <bkoz@redhat.com>
2555 * configure.in (libtool_VERSION): Add.
2556 (VERSION): Change to
2557 (release_VERSION): This.
2558 * configure: Regenerate.
2559 * src/Makefile.am (libstdc___la_LDFLAGS): Use -version-info with
2561 * src/Makefile.in: Regenerate.
2563 * intl/Makefile.am: Remove.
2564 * intl/Makefile.in: Remove.
2566 * Makefile.am (SUBDIRS): Remove intl.
2567 * po/Makefile.am (DISTFILES): Add string_literals.cc
2569 * po/string_literals.cc: Add.
2570 * po/POTFILES.in: Fix path.
2571 * acinclude.m4 (GLIBCPP_ENABLE_CLOCALE): Don't call AM_GNU_GETTEXT.
2572 * aclocal.m4: Regenerate.
2573 * configure.in: Remove AC_OUTPUT of intl/Makefile.
2575 * include/backward/backward_warning.h: Clarify message.
2577 * testsuite_flags.in (--cxxflags): Use same debug flags for
2578 library and testsuite.
2580 * include/Makefile.am (c_compatibility): Remove.
2581 * include/Makefile.in: Regenerate.
2583 2001-08-13 Mark Mitchell <mark@codesourcery.com>
2585 * configure.in (LIMITS_INC_SRCDIR): New variable.
2586 * configure.target (LIMITSH): New variable.
2587 * porting.texi: Discuss numeric limits.
2588 * config/cpu/generic/bits/limits.h: New file.
2589 * config/cpu/i386/bits/limits.h: New file.
2590 * include/Makefile.am: Install bits/limits.h.
2591 * include/bits/c++config: Include bits/limits.h.
2593 2001-08-13 H.J. Lu (hjl@gnu.org)
2595 * testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3-copy-files):
2597 (libstdc++-v3-init ): Use it.
2599 2001-08-13 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
2601 * include/bits/ostream.tcc (__pad_char): Change toplevel '__fmt'
2602 to '__adjust' to avoid shadowing in nested scope.
2604 2001-08-10 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
2606 * include/bits/std_limits.h(__glibcpp_char_is_signed): Use
2609 * config/os/gnu-linux/bits/os_defines.h(__glibcpp_char_is_signed):
2611 * config/os/aix/bits/os_defines.h(__glibcpp_plain_char_is_signed):
2614 2001-08-10 Loren J. Rittle <ljrittle@acm.org>
2616 * testsuite/testsuite_hooks.h (__set_testsuite_memlimit): Add
2617 dummy default argument to the non-limit implementation.
2620 * include/Makefile.am: Use relative file path in rule to allow
2622 * include/Makefile.in: Rebuilt.
2624 2001-08-10 Gunter Winkler <gunter.winkler@mathematik.tu-chemnitz.de>
2626 * include/bits/std_complex.h (complex<long double>::operator*=,
2627 complex<long double>::operator/=): Fix thinko.
2629 2001-08-10 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
2631 * include/bits/std_limits.h: New file.
2632 * include/Makefile.am (bits_headers): Add std_limits.h
2633 (all-local): std_limits.h is no longer built.
2634 (${target_builddir}/std_limits.h): Remove.
2635 * include/Makefile.in: Regenerate.
2636 * src/limits.cc: New file.
2637 * src/Makefile.am (sources): Add limits.cc in replacement of
2639 * src/Makefile.in: Regenerate.
2641 2001-08-09 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
2643 * src/gen-num-limits.cc (digits10): Fix thinko.
2645 2001-08-09 Benjamin Kosnik <bkoz@redhat.com>
2647 * po/Makefile.am (check-no): Add.
2649 * po/Makefile.in: Regenerate.
2651 2001-08-09 Benjamin Kosnik <bkoz@redhat.com>
2653 * acconfig.h (_GLIBCPP_MEM_LIMITS): Define.
2654 * config.h.in: Regenerate.
2655 * acinclude.m4 (GLIBCPP_CHECK_SETRLIMIT): Check for setrlimit
2657 * aclocal.m4: Regenerate.
2658 * configure.in: Remove duplicate AM_CONFIG_HEADER.
2659 (AM_CONFIG_HEADER): Remove testsuite/testsuite_hooks.h.
2660 Only call GLIBCPP_CHECK_SETRLIMIT for native compiles.
2661 * configure: Regenerate.
2662 * testsuite_hooks.h.in: Move to...
2663 * testsuite_hooks.h: Here, include c++config.h. Use it.
2665 * Makefile.am (SUBDIRS): Move testsuite to last directory.
2666 * Makefile.in: Regenerate.
2667 * po/Makefile.am (stamp-po): Add.
2669 2001-08-09 David Edelsohn <edelsohn@gnu.org>
2671 * config/os/aix/bits/os_defines.h: Define std_limits.h macros.
2672 * config/os/generic/bits/os_defines.h: Likewise.
2673 * config/os/gnu-linux/bits/os_defines.h: Likewise.
2674 * config/os/hpux/bits/os_defines.h: Likewise.
2675 * config/os/irix/irix6.5/bits/os_defines.h: Likewise.
2676 * config/os/solaris/solaris2.7/bits/os_defines.h: Likewise.
2678 2001-08-08 Benjamin Kosnik <bkoz@redhat.com>
2680 * src/Makefile.am (libstdc___la_LDFLAGS): Use -release instead of
2681 -version-info, use substituted VERSION info.
2682 * src/Makefile.in: Regenerate.
2684 2001-08-07 Benjamin Kosnik <bkoz@redhat.com>
2686 Implement std::messages.
2687 Make config a fully-nested directory.
2688 * config/locale: New directory.
2689 * config/c_locale_generic.cc: Move into locale subdirectory.
2690 * config/c_locale_generic.h: Same.
2691 * config/c_locale_gnu.cc: Same.
2692 * config/c_locale_gnu.h: Same.
2693 * config/c_locale_ieee_1003.1-200x.cc: Same.
2694 * config/c_locale_ieee_1003.1-200x_.h: Same.
2695 * config/codecvt_specializations_generic.h: Same.
2696 * config/codecvt_specializations_ieee_1003.1-200x.h: Same.
2697 * config/messages_members_gnu.h: Same.
2698 * config/messaages_members_gnu.cc: Same.
2699 * config/messages_members_generic.h: Same.
2700 * config/messaages_members_generic.cc: Same.
2701 * config/messages_members_ieee_1003.1-200x.h: Same.
2702 * config/messaages_members_ieee_1003.1-200x.cc: Same.
2703 * config/io: New directory.
2704 * config/basic_file_libio.h: Move into io subdirectory.
2705 * config/basic_file_libio.cc: Same.
2706 * config/c_io_libio.h: Same.
2707 * config/c_io_libio_codecvt.c: Same.
2708 * config/basic_file_stdio.h: Same.
2709 * config/basic_file_stdio.cc: Same.
2710 * config/c_io_stdio.h: Same.
2712 * po: New directory.
2713 * po/POTFILES.in: New file.
2714 * po/Makefile.am: New file.
2715 * po/Makefile.in: New file.
2716 * po/libstdc++.pot: Generic translation file.
2717 * po/fr.po: Preliminary French translation.
2718 * po/de.po: Preliminary German translation.
2719 * intl: New directory.
2720 * intl/Makefile.am: New file.
2721 * intl/Makefile.in: New file.
2722 * intl/string_literals.cc: New file.
2723 * acinclude.m4 (GLIBCPP_CONFIGURE): Bump VERSION to 3.1.0. Add
2724 requisite setup for gettext. Re-arrange.
2725 * aclocal.m4: Regenerate.
2726 * configure.in: Don't call GLIBCPP_CHECK_COMPILER_VERSION.
2727 Output Makefile bits for po and intl.
2728 * configure: Regenerate.
2729 * Makefile.am (SUBDIRS): Add intl, po. Add rule for dist.
2730 * Makefile.in: Regenerate.
2731 * acconfig.h: Add ENABLE_NLS, HAVE_CATGETS, HAVE_GETTEXT, HAVE_STPCPY.
2732 * config.h.in: Regenerate.
2734 * acinclude.m4 (AC_REPLACE_STRINGFUNCS): Remove.
2736 * include/Makefile.am (install-data-local): Don't install Makefile.
2737 * include/Makefile.in: Regenerate.
2739 * include/bits/locale_facet.h (locale::facet::_S_clone_c_locale):
2741 * config/locale/c_locale_gnu.cc (_S_clone_c_locale): Add definition.
2742 * config/locale/c_locale_generic.cc: Same.
2743 * config/locale/c_locale_ieee_1003.1-200x.cc: Same.
2745 * include/bits/codecvt.h: Excise non-standard, non-required
2746 bits. This includes __enc_traits, and partial specializations of
2747 codecvt for __enc_traits.
2748 * src/codecvt.cc (__enc_traits::_S_max_size): Guard
2749 * config/codecvt_partials_ieee_1003.1-200x.h: New file.
2750 * config/codecvt_partials_generic.h: New file.
2751 * include/Makefile.am (allstamps): Add stamp-codecvt_model.
2752 (stamp-codecvt_model): Add.
2753 * include/Makefile.in: Regenerate.
2754 * acinclude.m4 (GLIBCPP_ENABLE_CLOCALE): Add in codecvt configury.
2755 * aclocal.m4: Regenerate.
2756 * configure: Regenerate.
2757 * testsuite/22_locale/codecvt_unicode_wchar_t.cc: Use macro guard.
2758 * testsuite/22_locale/codecvt_unicode_char.cc: Same.
2759 * testsuite/22_locale/ctor_copy_dtor.cc: And here.
2761 * include/bits/localefwd.h (class locale::facet): Add __enc_traits
2762 as a friend for _S_*_c_locale functions.
2763 * include/bits/codecvt.h (__enc_traits::__enc_traits): Add locale
2764 argument to default constructor so that CODESET information can be
2766 * include/bits/locale_facets.h (messages_byname):
2767 Re-implement. Remove specializations.
2768 * src/locale.cc (messages_byname<char>): Remove specialization.
2769 (messages_byname<wchar_t>): Same.
2770 * config/locale/c_locale_ieee_1003.1-200x.cc: New file.
2771 * config/locale/c_locale_ieee_1003.1-200x.h: New file.
2772 * config/locale/messages_members_ieee_1003.1-200x.cc: New file.
2773 * config/locale/messages_members_ieee_1003.1-200x.h: New file.
2774 * config/locale/messages_members_gnu.cc: New file.
2775 * config/locale/messages_members_gnu.h: New file.
2776 * config/locale/messages_members_generic.cc: New file.
2777 * config/locale/messages_members_generic.h: New file.
2779 * docs/html/configopts.html: Add documentation for new locale
2780 model, ieee_1003.1. Adjust other flags for current defaults.
2781 * docs/html/22_locale/locale.html: Update.
2782 * docs/html/22_locale/howto.html: Add link to messages.html. Organize.
2783 * docs/html/22_locale/messages.html: New.
2785 * src/Makefile.am (sources): Add messages_virtuals.cc.
2786 * src/Makefile.in: Regenerate.
2787 * include/Makefile.am (allstamps): Add stamp-messages_model.
2788 (stamp-messages_model): Add.
2789 * include/Makefile.in: Regenerate.
2790 * acinclude.m4 (GLIBCPP_ENABLE_CLOCALE): Add in messages configury.
2791 * aclocal.m4: Regenerate.
2792 * configure: Regenerate.
2794 * testsuite_flags.in (--cxxflags): Add LOCALEDIR.
2795 * testsuite/lib/libstdc++-v3-dg.exp: Remove broken LD_LIBRARY_PATH
2797 * acinclude (GLIBCPP_ENABLE_CLOCALE): Set glibcpp_localedir to the
2798 build directories message catalog base directory, and export.
2799 Eventually this should probably be made to deal with build and
2800 install directories. For now, punt on this as the library itself
2801 doesn't use message catalogs (yet).
2802 * testsuite/22_locale/messages.cc: New file.
2803 * testsuite/22_locale/messages_char_members.cc: New file.
2804 * testsuite/22_locale/messages_byname.cc: New file.
2806 2001-08-06 Phil Edwards <pme@sources.redhat.com>
2808 * acinclude.m4 (GLIBCPP_CONFIGURE_TESTSUITE): New macro, calls...
2809 (GLIBCPP_CHECK_SETRLIMIT): ...this new macro, which also uses...
2810 (GLIBCPP_CHECK_SETRLIMIT_ancilliary): ...this new macro.
2811 * configure.in (AM_CONFIG_HEADER): Also generate testsuite_hooks.h.
2812 Call GLIBCPP_CONFIGURE_TESTSUITE.
2813 * aclocal.m4: Regenerate.
2814 * config.h.in: Regenerate.
2815 * configure: Regenerate.
2817 * testsuite/lib/libstdc++-v3-dg.exp: Download new header instead
2820 * testsuite_flags.in: Add build dir's testsuite to INCLUDES.
2821 * testsuite/debug_assert.h: Removed; contents merged into...
2822 * testsuite/testsuite_hooks.h.in: ...here. New file.
2823 * testsuite/17_intro/header_ciso646.cc: No longer include
2824 debug_assert.h, include testsuite_hooks.h instead.
2825 * testsuite/17_intro/header_fstream.cc: Likewise.
2826 * testsuite/17_intro/header_iomanip.cc: Likewise.
2827 * testsuite/17_intro/header_ios.cc: Likewise.
2828 * testsuite/17_intro/header_iosfwd.cc: Likewise.
2829 * testsuite/17_intro/header_iostream.cc: Likewise.
2830 * testsuite/17_intro/header_istream.cc: Likewise.
2831 * testsuite/17_intro/header_ostream.cc: Likewise.
2832 * testsuite/17_intro/header_sstream.cc: Likewise.
2833 * testsuite/17_intro/header_streambuf.cc: Likewise.
2834 * testsuite/18_support/numeric_limits.cc: Likewise.
2835 * testsuite/19_diagnostics/stdexceptions.cc: Likewise.
2836 * testsuite/20_util/allocator_members.cc: Likewise.
2837 * testsuite/20_util/auto_ptr.cc: Likewise.
2838 * testsuite/20_util/pairs.cc: Likewise.
2839 * testsuite/21_strings/append.cc: Likewise.
2840 * testsuite/21_strings/capacity.cc: Likewise.
2841 * testsuite/21_strings/char_traits_requirements.cc: Likewise.
2842 * testsuite/21_strings/compare.cc: Likewise.
2843 * testsuite/21_strings/ctor_copy_dtor.cc: Likewise. Also set up
2844 call to (disabled) __set_testsuite_memlimit() wrapper.
2845 * testsuite/21_strings/element_access.cc: Likewise.
2846 * testsuite/21_strings/find.cc: Likewise.
2847 * testsuite/21_strings/insert.cc: Likewise. Also set up call to
2848 (disabled) __set_testsuite_memlimit() wrapper.
2849 * testsuite/21_strings/inserters_extractors.cc: Likewise.
2850 * testsuite/21_strings/invariants.cc: Likewise.
2851 * testsuite/21_strings/nonmember.cc: Likewise.
2852 * testsuite/21_strings/operations.cc: Likewise.
2853 * testsuite/21_strings/replace.cc: Likewise.
2854 * testsuite/21_strings/rfind.cc: Likewise.
2855 * testsuite/21_strings/substr.cc: Likewise.
2856 * testsuite/22_locale/codecvt_char_char.cc: Likewise.
2857 * testsuite/22_locale/codecvt_unicode_char.cc: Likewise.
2858 * testsuite/22_locale/codecvt_unicode_wchar_t.cc: Likewise.
2859 * testsuite/22_locale/codecvt_wchar_t_char.cc: Likewise.
2860 * testsuite/22_locale/ctor_copy_dtor.cc: Likewise.
2861 * testsuite/22_locale/ctype_char_members.cc: Likewise.
2862 * testsuite/22_locale/ctype_wchar_t_members.cc: Likewise.
2863 * testsuite/22_locale/facet.cc: Likewise.
2864 * testsuite/22_locale/global_templates.cc: Likewise.
2865 * testsuite/22_locale/members.cc: Likewise.
2866 * testsuite/22_locale/numpunct_byname.cc: Likewise.
2867 * testsuite/22_locale/numpunct_char_members.cc: Likewise.
2868 * testsuite/22_locale/operators.cc: Likewise.
2869 * testsuite/22_locale/static_members.cc: Likewise.
2870 * testsuite/23_containers/bitset_ctor.cc: Likewise.
2871 * testsuite/23_containers/bitset_members.cc: Likewise.
2872 * testsuite/23_containers/bitset_shift.cc: Likewise.
2873 * testsuite/23_containers/vector_capacity.cc: Likewise.
2874 * testsuite/23_containers/vector_ctor.cc: Likewise.
2875 * testsuite/23_containers/vector_element_access.cc: Likewise.
2876 * testsuite/23_containers/vector_modifiers.cc: Likewise.
2877 * testsuite/24_iterators/istreambuf_iterator.cc: Likewise.
2878 * testsuite/24_iterators/iterator.cc: Likewise.
2879 * testsuite/24_iterators/ostreambuf_iterator.cc: Likewise.
2880 * testsuite/25_algorithms/binary_search.cc: Likewise.
2881 * testsuite/25_algorithms/copy.cc: Likewise.
2882 * testsuite/25_algorithms/heap.cc: Likewise.
2883 * testsuite/25_algorithms/lower_bound.cc: Likewise.
2884 * testsuite/25_algorithms/min_max.cc: Likewise.
2885 * testsuite/25_algorithms/partition.cc: Likewise.
2886 * testsuite/25_algorithms/rotate.cc: Likewise.
2887 * testsuite/25_algorithms/sort.cc: Likewise.
2888 * testsuite/26_numerics/c_math.cc: Likewise.
2889 * testsuite/26_numerics/complex_inserters_extractors.cc: Likewise.
2890 * testsuite/26_numerics/complex_value.cc: Likewise.
2891 * testsuite/27_io/filebuf.cc: Likewise.
2892 * testsuite/27_io/filebuf_members.cc: Likewise.
2893 * testsuite/27_io/filebuf_virtuals.cc: Likewise.
2894 * testsuite/27_io/fpos.cc: Likewise.
2895 * testsuite/27_io/fstream_members.cc: Likewise.
2896 * testsuite/27_io/ifstream_members.cc: Likewise.
2897 * testsuite/27_io/ios_base_callbacks.cc: Likewise.
2898 * testsuite/27_io/ios_base_members_static.cc: Likewise.
2899 * testsuite/27_io/ios_base_storage.cc: Likewise.
2900 * testsuite/27_io/ios_ctor.cc: Likewise.
2901 * testsuite/27_io/ios_init.cc: Likewise.
2902 * testsuite/27_io/ios_manip_basefield.cc: Likewise.
2903 * testsuite/27_io/ios_manip_fmtflags.cc: Likewise.
2904 * testsuite/27_io/ios_members.cc: Likewise.
2905 * testsuite/27_io/istream_extractor_arith.cc: Likewise.
2906 * testsuite/27_io/istream_extractor_char.cc: Likewise.
2907 * testsuite/27_io/istream_extractor_other.cc: Likewise.
2908 * testsuite/27_io/istream_manip.cc: Likewise.
2909 * testsuite/27_io/istream_seeks.cc: Likewise.
2910 * testsuite/27_io/istream_sentry.cc: Likewise.
2911 * testsuite/27_io/istream_unformatted.cc: Likewise.
2912 * testsuite/27_io/istringstream_members.cc: Likewise.
2913 * testsuite/27_io/narrow_stream_objects.cc: Likewise.
2914 * testsuite/27_io/ofstream_members.cc: Likewise.
2915 * testsuite/27_io/ostream_inserter_arith.cc: Likewise.
2916 * testsuite/27_io/ostream_inserter_char.cc: Likewise.
2917 * testsuite/27_io/ostream_inserter_other.cc: Likewise.
2918 * testsuite/27_io/ostream_manip.cc: Likewise.
2919 * testsuite/27_io/ostream_seeks.cc: Likewise.
2920 * testsuite/27_io/ostream_unformatted.cc: Likewise.
2921 * testsuite/27_io/ostringstream_members.cc: Likewise.
2922 * testsuite/27_io/streambuf.cc: Likewise.
2923 * testsuite/27_io/stringbuf.cc: Likewise.
2924 * testsuite/27_io/stringbuf_virtuals.cc: Likewise.
2925 * testsuite/27_io/stringstream.cc: Likewise.
2926 * testsuite/27_io/stringstream_members.cc: Likewise.
2927 * testsuite/27_io/wide_stream_objects.cc: Likewise.
2929 2001-07-31 Loren J. Rittle <ljrittle@acm.org>
2931 * src/gen-num-limits.cc: Use __LONG_LONG_MAX__.
2933 2001-07-30 Benjamin Kosnik <bkoz@redhat.com>
2935 * configure.target: Remove mips from cpu table.
2936 * config/cpu/mips/bits/atomicity.h: Remove generic
2937 versions. Comment sgidefs include.
2939 2001-07-25 H.J. Lu <hjl@gnu.org>
2941 * configure.target (cpu_include_dir): Set to `config/cpu/mips'
2944 * config/cpu/mips/bits/atomicity.h: New.
2946 2001-07-25 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
2948 * acinclude.m4: CHECK_MATH_DECL_AND_LINKAGE for hypot, hypotf,
2949 hypotl, atan2f, atan2l. Remove from REPLACE_MATHFUNCS list.
2950 * aclocal.m4: Regenerate.
2951 * config.h.in: Likewise.
2952 * configure: Likewise.
2953 * libmath/Makefile.am (EXTRA_LONG_DOUBLE_yes): Remove hypotl.c
2954 (EXTRA_DIST): Remove hypot.c hypotf.c.
2955 * libmath/Makefile.am: Regenerate.
2956 * libmath/hypotf.c: Remove.
2957 * libmath/hypot.c: Likewise.
2958 * libmath/hypotl.c: Likewise.
2959 * libmath/stubs.c: The macros seen here are HAVE_xxx, not
2960 _GLIBCPP_HAVE_xxx. Add long double versions.
2962 2001-07-23 David Edelsohn <edelsohn@gnu.org>
2964 * include/bits/limits_generic.h (int): Set digits and digits10
2965 appropriately for word size.
2966 (unsigned int,long,unsigned long): Likewise.
2968 2001-07-19 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
2970 * include/bits/stl_algo.h : Fix typos.
2971 * testsuite/25_algorithms/unique.cc: New file.
2973 2001-07-19 Phil Edwards <pme@sources.redhat.com>
2974 Mark Mitchell <mark@codesourcery.com>
2976 Merge from cp-parser-branch.
2977 * include/bits/basic_string.h: Qualify symbols with 'template'.
2978 * include/bits/basic_string.tcc: Likewise.
2979 * include/bits/fstream.tcc: Likewise.
2980 * include/bits/istream.tcc: Likewise.
2981 * include/bits/sstream.tcc: Likewise.
2982 * include/bits/std_istream.h: Likewise.
2983 * include/bits/stl_iterator.h: Likewise.
2984 * include/bits/streambuf.tcc: Likewise.
2985 * src/gen-num-limits.cc: Add 'template<>' to specializations.
2986 * src/locale.cc: Likewise.
2988 2001-07-19 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
2989 Bert De Knuydt <Bert.Deknuydt@esat.kuleuven.ac.be>
2991 * src/gen-num-limits.cc (set_signals_handler): New function.
2992 Factor out signals setting. Set signal handler for SIGILL.
2994 2001-07-18 Phil Edwards <pme@sources.redhat.com>
2996 * docs/html/27_io/howto.html: Fix typo.
2997 * docs/html/faq/index.html: Minor updates for 3.0 all around.
2998 * docs/html/faq/index.txt: Regenerated.
3000 2001-07-18 Stephen M. Webb <stephen@bregmasoft..com>
3001 Roman Sulzhyk <roman_sulzhyk@yahoo.com>
3004 * include/bits/ostream.tcc (ostream::put): Fixed error condition check.
3005 * testsuite/27_io/streambuf.cc (test07): Added new regression test.
3007 2001-07-17 Stephen M. Webb <stephen@bregmasoft.com>r
3009 All occurrences of the __value_type() and __distance_type()
3010 functions, which were required to support the HP STL, have been
3011 removed along with all the auxiliary forwarding functions that
3012 were required to support their use.
3014 The __iterator_category() function was pretty much left alone
3015 because there was no benefit to removing it and its use made code
3016 just a little more readable.
3018 Incidences of distance() with nonstandard argument list were
3019 replaced by calls to the standard function (only in the files
3020 affected by the removal of the other HP functions).
3022 The signature of the rotate() algorithm was changed to match the
3025 Headers were reformatted under C++STYLE guidelines (indentation,
3026 linebreaks, typename keyword).
3028 * include/bits/stl_algo.h: replaced __value_type() and
3029 __distance_type() with iterator_traits, eliminated auxiliary
3030 support functions required to support said function usage.
3031 Changed nonstandard distance() call to standard call.
3033 * include/bits/stl_algobase.h: Same.
3034 * include/bits/stl_heap.h: Same.
3035 * include/bits/stl_numeric.h: Same.
3036 * include/bits/stl_uninitialized.h: Same.
3037 * include/bits/stl_iterator_base_types.h (__value_type()):
3039 (__distance_type()): Removed.
3040 (value_type()): Gone.
3041 (distance_type()): Done in.
3042 (iterator_category()): Hasta la vista, baby.
3044 * include/bits/stl_iterator_base_funcs.h (iterator_category()):
3045 Replaced with __iterator_category().
3046 * include/backward/iterator.h: moved definition of value_type(),
3047 distance_type(), and iterator_category() out of std:: and into
3049 * testsuite/23_containers/vector_ctor.cc (test03): New testcases.
3050 * testsuite/23_containers/vector_modifiers.cc (test03): New testcases.
3051 * testsuite/25_algorithms/rotate.cc: New testcase.
3052 * testsuite/25_algorithms/copy.cc: New testcase.
3053 * testsuite/25_algorithms/sort.cc: Same.
3054 * testsuite/25_algorithms/heap.cc: Same.
3055 * testsuite/25_algorithms/partition.cc: Same.
3056 * testsuite/25_algorithms/binary_search.cc: Same.
3057 * testsuite/26_numerics/sum_diff.cc: Ditto.
3059 001-07-17 Benjamin Kosnik <bkoz@redhat.com>
3061 * testsuite/README: Add notes on naming test cases.
3062 * testsuite/22_locale/members.cc: Mark as xfail.
3063 * testsuite/22_locale/numpunct_char_members.cc: Same.
3065 2001-07-16 Stephen M. Webb <stephen@bregmasoft.com>
3067 * acinclude.m4 (GLIBCPP_ENABLE_CHEADERS): Use glibcpp_srcdir when
3068 setting C_INCLUDE_DIR.
3069 * configure.in: Revert yesterday's LN_S change.
3070 * aclocal.m4: Regenerate.
3071 * configure: Regenerate.
3073 2001-07-15 Phil Edwards <pme@sources.redhat.com>
3075 * configure.in: Temporarily force LN_S to copy instead of symlink.
3076 * configure: Regenerate.
3078 2001-07-13 Phil Edwards <pme@sources.redhat.com>
3080 * include/bits/std_sstream.h (basic_stringbuf::basic_stringbuf(string):
3081 Initialize _M_string with pointer-and-size constructor, not just
3082 pointer. Fix some comments.
3083 * testsuite/21_strings/ctor_copy_dtor.cc (test03): New test.
3084 * testsuite/27_io/stringbuf.cc (test02): Remove unused variable.
3085 (test03): Add embedded-NUL tests.
3087 * mkcheck.in: When printing totals, match the order of the tests.
3088 * include/bits/stringfwd.h: Use same declaration keywords.
3089 * include/bits/std_iosfwd.h: Cosmetic spacing.
3091 2001-07-13 Stephen M. Webb <stephen@bregmasoft.com>
3092 Loren J. Rittle <ljrittle@acm.org>
3093 Phil Edwards <pme@sources.redhat.com>
3095 * include/Makefile.am: New file encapsulating header generation rules.
3096 * Makefile.am (SUBDIRS): Prepend 'include' directory.
3097 * acinclude.m4: Moved/removed rules for building various headers.
3098 * configure.in (AC_OUTPUT): Add include/Makefile.
3099 * mkc++config: Removed.
3101 * testsuite_flags.in: Changed build-includes to match new scheme.
3102 * mknumeric_limits: Likewise.
3103 * libio/Makefile.am: Changed INCLUDES to maatch new header scheme.
3104 * libmath/Makefile.am: Likewise.
3105 * libsupc++/Makefile.am: Likewise.
3106 * src/Makefile.am: Likewise; removed rules to build headers.
3107 * libmath/mathconf.h: Changed #include'd header names to match.
3108 * libmath/stubs.c: Likewise.
3109 * src/gen-num-limits.cc: Likewise.
3111 * configure: Regenerated.
3112 * config.h.in: Regenerated.
3113 * aclocal.m4: Regenerated.
3114 * Makefile.in: Regenerated.
3115 * include/Makefile.in: Regenerated.
3116 * libio/Makefile.in: Regenerated.
3117 * libmath/Makefile.in: Regenerated.
3118 * libsupc++/Makefile.in: Regenerated.
3119 * src/Makefile.in: Regenerated.
3120 * testsuite/Makefile.in: Regenerated.
3122 2001-07-11 Felix Natter <fnatter@gmx.net>
3124 * docs/html/17_intro/porting-howto.xml: Initial checkin of
3126 * docs/html/17_intro/porting-howto.html: check in v0.9.3
3128 2001-07-11 Phil Edwards <pme@sources.redhat.com>
3130 * docs/doxygen/run_doxygen: Don't keep output from previous run.
3131 * docs/doxygen/user.cfg.in: Tweaks.
3132 * include/bits/c++config: Documentation comments for Doxygen.
3133 * include/bits/char_traits.h: Likewise.
3134 * include/bits/limits_generic.h: Likewise.
3135 * include/bits/std_stdexcept.h: Likewise.
3136 * include/bits/stl_pair.h: Likewise.
3137 * libsupc++/exception: Likewise.
3138 * libsupc++/new: Likewise.
3139 * libsupc++/typeinfo: Likewise.
3140 * libmath/Makefile.am: Update and correct copyright.
3142 2001-07-10 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
3144 * acinclude.m4: Don't AC_REPLACE_MATHFUNCS expf and atan2f.
3145 * aclocal.m4: Regenerate.
3148 2001-07-09 Phil Edwards <pme@sources.redhat.com>
3150 * docs/html/configopts.html: Fix thinko.
3151 * docs/html/27_io/howto.html: Fix thinko and HTML markup.
3152 * include/bits/stl_iterator.h: Fix typo.
3154 2001-07-09 Phil Edwards <pme@sources.redhat.com>
3156 * docs/html/explanations.html: New file.
3157 * docs/html/configopts.html: Link to it to provide more notes
3158 on cstdio. Minor markup and spacing fixes.
3159 * docs/html/27_io/howto.html: Talk about sync_with_stdio.
3161 2001-07-09 Kriang Lerdsuwanakij <lerdsuwa@users.sourceforge.net>
3163 * include/bits/valarray_meta.h (_Expr::operator+): Use qualified id
3164 for _Expr template template argument.
3165 (_Expr::operator-): Likewise.
3166 (_Expr::operator~): Likewise.
3167 (_Expr::operator!): Likewise.
3168 (_DEFINE_EXPR_UNARY_OPERATOR): Likewise.
3170 2001-07-06 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
3172 * libmath/Makefile.am (EXTRA_DIST): Remove atan2f.c and expf.c
3173 * libmath/Makefile.in: Regenerate.
3174 * libmath/expf.c: Remove.
3175 * libmath/atan2f.c: Likewise.
3177 2001-07-06 Daniel Jacobowitz <drow@mvista.com>
3179 * configure.in: Remove NATIVE, NULL_TARGET.
3180 Set CANADIAN only for Canadian crosses. Set xcompiling
3181 for both Canadian crosses and host-x-host crosses.
3182 * configure: Regenerated.
3184 2001-07-06 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
3186 * include/bits/stl_vector.h (vector::_M_initialize_aux): Fix typo.
3188 2001-07-05 Jason Merrill <jason_merrill@redhat.com>
3190 * testsuite_flags.in (--build-includes): backward, not backwards.
3192 2001-07-04 Jeffrey Oldham <oldham@codesourcery.com>
3194 * include/ext/ropeimpl.h (_Rope_RopeRep::_M_free_c_string):
3195 Replace destroy by _Destroy.
3196 (_Rope_RopeRep::_S_free_string): Likewise.
3197 (rope::c_str()): Likewise.
3198 * include/ext/slist (_Slist_base::_M_erase_after>): Likewise.
3199 (_Slist_base::_M_erase_after): Likewise.
3200 (slist::_M_create_node): Replace construct by _Construct.
3201 (slist::pop_front): Replace destroy by _Destroy.
3202 * include/ext/stl_hashtable.h (hashtable::_M_new_node): Replace
3203 construct by _Construct.
3204 (hashtable::_M_delete_node): Replace destroy by _Destroy.
3205 * include/ext/stl_rope.h (rope::rope): Replace construct by
3207 (rope::copy): Replace destroy by _Destroy.
3209 2001-07-03 Benjamin Kosnik <bkoz@redhat.com>
3211 * include/bits/localefwd.h: Format.
3212 * include/bits/locale_facts.tcc (locale::combine): Adjust.
3213 * src/locale.cc (locale::locale::(_Impl)): Don't call
3215 (locale::facet::_M_remove_reference): Simplify.
3216 * src/globals.cc (locale_impl_c): New. Format.
3218 * src/ios.cc (ios_base::Init::Init): Increment _S_ios_base_init last.
3220 2001-07-02 Loren J. Rittle <ljrittle@acm.org>
3222 * acinclude.m4 (GLIBCPP_ENABLE_THREADS): Protect variable from shell
3223 expansion (thanks to Alexandre Oliva).
3224 * aclocal.m4: Regenerate.
3225 * configure: Regenerate.
3227 2001-07-02 Benjamin Kosnik <bkoz@redhat.com>
3229 * src/locale.cc (locale::locale(const char*)): Make sure global
3230 locales are initialized.
3231 * include/bits/locale_facets.tcc (locale::combine): Refcout should
3232 be zero, not one as it's return-by-value.
3233 * testsuite/27_io/ios_base_callbacks.cc (test01): Don't check for
3235 * testsuite/22_locale/ctor_copy_dtor.cc (test01): Instead, check
3238 * libsupc++/eh_alloc.cc: Use climits, not limits.h.
3240 2001-07-02 Loren J. Rittle <ljrittle@acm.org>
3243 * acinclude.m4 (GLIBCPP_ENABLE_THREADS): Portability enhancement.
3244 * aclocal.m4: Regenerate.
3245 * configure: Regenerate.
3247 2001-07-02 Loren J. Rittle <ljrittle@acm.org>
3250 * acinclude.m4 (GLIBCPP_ENABLE_THREADS): Add relative path to
3251 staged/installed area to support -I-. Document.
3252 * aclocal.m4: Regenerate.
3253 * configure: Regenerate.
3255 2001-07-02 Loren J. Rittle <ljrittle@acm.org>
3258 * src/ios.cc (ios_base::Init::_S_ios_create): Rename __bufsize to
3259 __out_bufsize. Add __in_bufsize, document it and use it.
3261 2001-07-01 Stephen M. Webb <stephen@bregmasoft.com>
3263 * include/bits/stl_construct.h (construct): Remove.
3265 (__destroy): Replaced by use of iterator_traits.
3266 * include/bits/stl_deque.h: replaced HP iterator functions with
3268 (construct): changed to _Construct.
3269 (destroy): changed to _Destroy.
3270 * include/bits/stl_tempbuf.h: Same.
3271 * include/bits/stl_tree.h: Same.
3272 * include/bits/stl_vector.h: Same.
3273 * include/backward/iterator.h (construct): moved definition to here.
3276 2001-06-29 Benjamin Kosnik <bkoz@redhat.com>
3278 * include/bits/locale_facets.tcc (locale::combine): Clone _Impl.
3279 before replacing facet.
3280 * include/bits/localefwd.h (locale::_Impl::_M_remove_reference):
3282 * src/localename.cc (locale::_Impl): Correct ctor initialization
3283 lists. Initialize ref count with one. Simplify.
3284 * src/locale.cc: Add comment.
3285 * testsuite/22_locale/numpunct.cc (test01): Add derivation test.
3286 * testsuite/22_locale/numpunct_char_members.cc (test01): Add tests.
3287 * testsuite/22_locale/members.cc (test02): Fix.
3289 2001-06-27 Phil Edwards <pme@sources.redhat.com>
3291 * include/backward/algo.h: Add "GPL plus runtime exception" comment
3292 block, this time for real.
3293 * include/backward/algobase.h: Likewise.
3294 * include/backward/alloc.h: Likewise.
3295 * include/backward/bvector.h: Likewise.
3296 * include/backward/defalloc.h: Likewise.
3297 * include/backward/deque.h: Likewise.
3298 * include/backward/function.h: Likewise.
3299 * include/backward/hash_map.h: Likewise.
3300 * include/backward/hash_set.h: Likewise.
3301 * include/backward/hashtable.h: Likewise.
3302 * include/backward/heap.h: Likewise.
3303 * include/backward/iterator.h: Likewise.
3304 * include/backward/list.h: Likewise.
3305 * include/backward/map.h: Likewise.
3306 * include/backward/multimap.h: Likewise.
3307 * include/backward/multiset.h: Likewise.
3308 * include/backward/pair.h: Likewise.
3309 * include/backward/rope.h: Likewise.
3310 * include/backward/set.h: Likewise.
3311 * include/backward/slist.h: Likewise.
3312 * include/backward/stack.h: Likewise.
3313 * include/backward/strstream: Likewise.
3314 * include/backward/tempbuf.h: Likewise.
3315 * include/backward/tree.h: Likewise.
3316 * include/backward/vector.h: Likewise.
3317 * include/bits/pthread_allocimpl.h: Likewise.
3318 * include/bits/std_algorithm.h: Likewise.
3319 * include/bits/std_bitset.h: Likewise.
3320 * include/bits/std_deque.h: Likewise.
3321 * include/bits/std_functional.h: Likewise.
3322 * include/bits/std_iterator.h: Likewise.
3323 * include/bits/std_list.h: Likewise.
3324 * include/bits/std_map.h: Likewise.
3325 * include/bits/std_memory.h: Likewise.
3326 * include/bits/std_numeric.h: Likewise.
3327 * include/bits/std_queue.h: Likewise.
3328 * include/bits/std_set.h: Likewise.
3329 * include/bits/std_stack.h: Likewise.
3330 * include/bits/std_utility.h: Likewise.
3331 * include/bits/std_vector.h: Likewise.
3332 * include/bits/stl_algo.h: Likewise.
3333 * include/bits/stl_algobase.h: Likewise.
3334 * include/bits/stl_alloc.h: Likewise.
3335 * include/bits/stl_bvector.h: Likewise.
3336 * include/bits/stl_construct.h: Likewise.
3337 * include/bits/stl_deque.h: Likewise.
3338 * include/bits/stl_function.h: Likewise.
3339 * include/bits/stl_heap.h: Likewise.
3340 * include/bits/stl_iterator.h: Likewise.
3341 * include/bits/stl_iterator_base_funcs.h: Likewise.
3342 * include/bits/stl_iterator_base_types.h: Likewise.
3343 * include/bits/stl_list.h: Likewise.
3344 * include/bits/stl_map.h: Likewise.
3345 * include/bits/stl_multimap.h: Likewise.
3346 * include/bits/stl_multiset.h: Likewise.
3347 * include/bits/stl_numeric.h: Likewise.
3348 * include/bits/stl_pair.h: Likewise.
3349 * include/bits/stl_pthread_alloc.h: Likewise.
3350 * include/bits/stl_queue.h: Likewise.
3351 * include/bits/stl_raw_storage_iter.h: Likewise.
3352 * include/bits/stl_relops.h: Likewise.
3353 * include/bits/stl_set.h: Likewise.
3354 * include/bits/stl_stack.h: Likewise.
3355 * include/bits/stl_tempbuf.h: Likewise.
3356 * include/bits/stl_threads.h: Likewise.
3357 * include/bits/stl_tree.h: Likewise.
3358 * include/bits/stl_uninitialized.h: Likewise.
3359 * include/bits/stl_vector.h: Likewise.
3360 * include/bits/type_traits.h: Likewise.
3361 * include/ext/hash_map: Likewise.
3362 * include/ext/hash_set: Likewise.
3363 * include/ext/rope: Likewise.
3364 * include/ext/ropeimpl.h: Likewise.
3365 * include/ext/slist: Likewise.
3366 * include/ext/stl_hash_fun.h: Likewise.
3367 * include/ext/stl_hashtable.h: Likewise.
3368 * include/ext/stl_rope.h: Likewise.
3369 * src/bitset.cc: Likewise.
3370 * src/strstream.cc: Likewise.
3372 2001-06-26 Benjamin Kosnik <bkoz@redhat.com>
3373 <vakatov@ncbi.nlm.nih.gov>
3376 * include/bits/streambuf.tcc (__copy_streambufs): Don't set eofbit.
3377 * testsuite/27_io/ostream_inserter_other.cc (test04): Add test.
3378 * testsuite/27_io/istream_extractor_other.cc: Fix.
3380 2001-06-26 Zoltan Hidvegi <hzoli@austin.ibm.com>
3382 * acinclude.m4 (glibcpp_toolexeclibdir): Make multilib safe.
3383 * aclocal.m4: Regenerate.
3384 * configure: Regenerate.
3386 2001-06-26 Benjamin Kosnik <bkoz@redhat.com>
3388 * include/bits/stream_iterator.h (istream_iterator): Add copy ctor.
3389 (ostream_iterator): Same.
3390 * include/bits/stl_iterator.h (front_insert_iterator::operator=):
3391 Change argument to const_reference.
3392 (back_insert_iterator): Same.
3394 2001-06-26 Benjamin Kosnik <bkoz@redhat.com>
3396 * include/bits/sbuf_iter.h: Change to..
3397 * include/bits/streambuf_iterator.h: This.
3398 * include/bits/stl_iterator.h: Take out of here...
3399 * include/bits/stream_iterator.h: Add.
3400 * src/Makefile.am (base_headers): Add streambuf_iterator,
3402 * src/Makefile.in: Regenerate.
3403 * include/bits/std_string.h: Adjust includes.
3404 * include/bits/basic_ios.h: Same.
3405 * include/bits/locale_facets.tcc: Same.
3406 * include/bits/std_iosfwd.h: Same.
3408 * include/bits/std_iterator.h: Add istream, ostream includes.
3409 * include/bits/stl_iterator.h: Tweak.
3410 * testsuite/24_iterators/ostream_iterator.cc: Add test.
3411 * testsuite/24_iterators/istream_iterator.cc: Same.
3412 * testsuite/23_containers/multiset.cc: Add iterator include.
3414 2001-06-26 Phil Edwards <pme@sources.redhat.com>
3416 * acinclude.m4: Clean extraneous tabs, rewrap 'test' lines.
3417 * aclocal.m4: Regenerate.
3418 * configure: Regenerate.
3420 2001-06-26 Felix Natter <f.natter@ndh.net>
3422 * docs/html/17_intro/porting-howto.html: Fixed some errors.
3424 2001-06-26 Benjamin Kosnik <bkoz@redhat.com>
3426 * include/bits/stl_iterator.h (istream_iterator::operator->): Fix
3428 (istream_iterator::operator*): Same.
3430 2001-06-26 Benjamin Kosnik <bkoz@redhat.com>
3431 Alexandre Petit-Bianco <apbianco@redhat.com>
3433 * testsuite/21_strings/element_access.cc (test01): Chill Out Cafe
3434 is on 41st, not 14th.
3436 2001-06-26 Benjamin Kosnik <bkoz@redhat.com>
3438 * include/bits/std_iterator.h: Include sbuf_iter.h via std_ios.h.
3440 * include/bits/stl_iterator.h (istream_iterator): Inherit from
3442 (ostream_iterator): Same.
3443 * testsuite/24_iterators/istream_iterator.cc: New file.
3444 * testsuite/24_iterators/ostream_iterator.cc: New file.
3446 * include/bits/sbuf_iter.h: Remove self typedef.
3447 * testsuite/24_iterators/ostreambuf_iterator.cc: Add test.
3448 * testsuite/24_iterators/istreambuf_iterator.cc: Add test.
3450 * include/bits/stl_iterator.h (reverse_iterator): Remove
3451 extraneous typedefs. Add typename.
3452 (__normal_iterator): Remove typedefs referring to self. Add typename.
3453 (reverse_bidiretional_iterator): Remove, not longer required.
3455 2001-06-26 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
3457 * include/bits/stl_iterator.h (__normal_iterator<>): Qualify
3458 dependent names with `typename'. Bring in various required
3459 iterator_traits members. Can't imagine why that used to work.
3461 2001-06-25 Phil Edwards <pme@sources.redhat.com>
3462 Kurt Garloff <garloff@suse.de>
3465 * src/cmath.cc: New [version of an old] file; instantiate
3466 __cmath_power to start with.
3467 * src/Makefile.am (sources): Add cmath.cc (and alphabetize).
3468 * Makefile.in: Regenerate.
3469 * libio/Makefile.in: Regenerate.
3470 * libmath/Makefile.in: Regenerate.
3471 * libsupc++/Makefile.in: Regenerate.
3472 * src/Makefile.in: Regenerate.
3473 * testsuite/Makefile.in: Regenerate.
3475 2001-06-24 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
3477 * libmath/stubs.c: Fix thinko.
3479 2001-06-24 David Edelsohn <dje@watson.ibm.com>
3481 * libmath/stubs.c (sqrtf): Define.
3482 (tanf): Correct typo.
3484 2001-06-22 Benjamin Kosnik <bkoz@redhat.com>
3486 * include/bits/stl_iterator.h (reverse_iterator): Inherit from
3488 (back_insert_iterator): Same.
3489 (front_insert_iterator): Same.
3490 (insert_iterator): Same.
3492 * testsuite/20_util/raw_storage_iterator.cc: Modify.
3493 * testsuite/24_iterators/reverse_iterator.cc: New file.
3494 * testsuite/24_iterators/back_insert_iterator.cc: New file.
3495 * testsuite/24_iterators/front_insert_iterator.cc: New file.
3496 * testsuite/24_iterators/insert_iterator.cc: New file.
3498 2001-06-22 Phil Edwards <pme@sources.redhat.com>
3500 * include/*: Revert comment/license change from yesterday for all
3501 except libsupc++/unwind-cxx.h.
3502 * src/bitset.cc: Likewise.
3503 * src/strstream.cc: Likewise.
3505 2001-06-22 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
3507 * libmath/stubs.c: New file.
3511 * libmath/Makefile.am (libmath_la_SOURCES): Add.
3512 * libmath/Makefile.in. Regenerate.
3514 2001-06-21 Phil Edwards <pme@sources.redhat.com>
3516 * include/backward/algo.h: Add "GPL plus runtime exception" comment.
3517 * include/backward/algobase.h: Likewise.
3518 * include/backward/alloc.h: Likewise.
3519 * include/backward/bvector.h: Likewise.
3520 * include/backward/defalloc.h: Likewise.
3521 * include/backward/deque.h: Likewise.
3522 * include/backward/function.h: Likewise.
3523 * include/backward/hash_map.h: Likewise.
3524 * include/backward/hash_set.h: Likewise.
3525 * include/backward/hashtable.h: Likewise.
3526 * include/backward/heap.h: Likewise.
3527 * include/backward/iterator.h: Likewise.
3528 * include/backward/list.h: Likewise.
3529 * include/backward/map.h: Likewise.
3530 * include/backward/multimap.h: Likewise.
3531 * include/backward/multiset.h: Likewise.
3532 * include/backward/pair.h: Likewise.
3533 * include/backward/rope.h: Likewise.
3534 * include/backward/set.h: Likewise.
3535 * include/backward/slist.h: Likewise.
3536 * include/backward/stack.h: Likewise.
3537 * include/backward/strstream: Likewise.
3538 * include/backward/tempbuf.h: Likewise.
3539 * include/backward/tree.h: Likewise.
3540 * include/backward/vector.h: Likewise.
3541 * include/bits/pthread_allocimpl.h: Likewise.
3542 * include/bits/std_algorithm.h: Likewise.
3543 * include/bits/std_bitset.h: Likewise.
3544 * include/bits/std_deque.h: Likewise.
3545 * include/bits/std_functional.h: Likewise.
3546 * include/bits/std_iterator.h: Likewise.
3547 * include/bits/std_list.h: Likewise.
3548 * include/bits/std_map.h: Likewise.
3549 * include/bits/std_memory.h: Likewise.
3550 * include/bits/std_numeric.h: Likewise.
3551 * include/bits/std_queue.h: Likewise.
3552 * include/bits/std_set.h: Likewise.
3553 * include/bits/std_stack.h: Likewise.
3554 * include/bits/std_utility.h: Likewise.
3555 * include/bits/std_vector.h: Likewise.
3556 * include/bits/stl_algo.h: Likewise.
3557 * include/bits/stl_algobase.h: Likewise.
3558 * include/bits/stl_alloc.h: Likewise.
3559 * include/bits/stl_bvector.h: Likewise.
3560 * include/bits/stl_construct.h: Likewise.
3561 * include/bits/stl_deque.h: Likewise.
3562 * include/bits/stl_function.h: Likewise.
3563 * include/bits/stl_heap.h: Likewise.
3564 * include/bits/stl_iterator.h: Likewise.
3565 * include/bits/stl_iterator_base_funcs.h: Likewise.
3566 * include/bits/stl_iterator_base_types.h: Likewise.
3567 * include/bits/stl_list.h: Likewise.
3568 * include/bits/stl_map.h: Likewise.
3569 * include/bits/stl_multimap.h: Likewise.
3570 * include/bits/stl_multiset.h: Likewise.
3571 * include/bits/stl_numeric.h: Likewise.
3572 * include/bits/stl_pair.h: Likewise.
3573 * include/bits/stl_pthread_alloc.h: Likewise.
3574 * include/bits/stl_queue.h: Likewise.
3575 * include/bits/stl_raw_storage_iter.h: Likewise.
3576 * include/bits/stl_relops.h: Likewise.
3577 * include/bits/stl_set.h: Likewise.
3578 * include/bits/stl_stack.h: Likewise.
3579 * include/bits/stl_tempbuf.h: Likewise.
3580 * include/bits/stl_threads.h: Likewise.
3581 * include/bits/stl_tree.h: Likewise.
3582 * include/bits/stl_uninitialized.h: Likewise.
3583 * include/bits/stl_vector.h: Likewise.
3584 * include/bits/type_traits.h: Likewise.
3585 * include/ext/hash_map: Likewise.
3586 * include/ext/hash_set: Likewise.
3587 * include/ext/rope: Likewise.
3588 * include/ext/ropeimpl.h: Likewise.
3589 * include/ext/slist: Likewise.
3590 * include/ext/stl_hash_fun.h: Likewise.
3591 * include/ext/stl_hashtable.h: Likewise.
3592 * include/ext/stl_rope.h: Likewise.
3593 * libsupc++/unwind-cxx.h: Likewise.
3594 * src/bitset.cc: Likewise.
3595 * src/strstream.cc: Likewise.
3597 2001-06-21 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
3599 * include/bits/indirect_array.h (indirect_array<>::operator=):
3600 Make copy and assignment operator public. Implement. Format.
3602 * include/bits/valarray_array.h (__valarray_copy): Add overloads
3603 for copy between index arrays. Format.
3605 2001-06-19 Benjamin Kosnik <bkoz@redhat.com>
3607 * mknumeric_limits: Add static definitions, format.
3608 * testsuite/18_support/numeric_limits.cc (test02): Add test.
3610 * include/c_std/bits/std_cwchar.h: Include ctime.
3611 * testsuite/17_intro/header_cwchar.cc : Check.
3613 * include/c_std/bits/std_cwctype.h: Inject wctype.
3614 * testsuite/17_intro/header_cwctype.cc: Update.
3616 2001-06-18 Benjamin Kosnik <bkoz@redhat.com>
3618 * include/bits/stl_raw_storage_iter.h: Format. Correct derivation.
3619 * testsuite/20_util/raw_storage_iterator.cc: Same.
3621 * include/bits/stl_alloc.h (_S_chunk_alloc): Change malloc to
3623 (__mem_interface): New typedef for switching between malloc and new.
3624 * testsuite/20_util/allocator_members.cc: New file.
3626 * testsuite/20_util/comparisons.cc: New file.
3627 * testsuite/20_util/pairs.cc: New file.
3629 2001-06-15 Phil Edwards <pme@sources.redhat.com>
3631 * docs/html/documentation.html: Point to new doxygen'ed collection.
3633 2001-06-14 Nathan Sidwell <nathan@codesourcery.com>
3635 * configure.in (auxdir): Replace by ...
3636 (toprel): ... new variable.
3637 (toplevel_srcdir): Construct from $toprel.
3638 * acinclude.m4 (GLIBCPP_ENABLE_THREADS): Use $toprel
3639 rather than .. to locate gcc source directory.
3640 (GLIBCPP_CONFIGURE): Replace $auxdir with $srcdir/$toprel.
3641 * aclocal.m4, configure: Rebuilt.
3643 2001-06-13 John David Anglin <dave@hiauly1.hia.nrc.ca>
3645 (Approved by Mark and Benjamin. Applied by Loren.)
3647 * src/globals.cc: Define globals _GLIBCPP_mutex_init (),
3648 _GLIBCPP_mutex_address_init (), _GLIBCPP_once, _GLIBCPP_mutex
3649 and _GLIBCPP_mutex_address.
3650 * include/bits/stl_threads.h (_STL_mutex_lock): Use above to provide
3651 once-only runtime initialization of _M_lock mutex when
3652 __GTHREAD_MUTEX_INIT_FUNCTION is defined.
3653 (__STL_MUTEX_INITIALIZER): Provide initializer for _STL_mutex_lock
3654 for __GTHREAD_MUTEX_INIT_FUNCTION case.
3656 2001-06-13 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
3658 * testsuite/26_numerics/slice_array_assignment.cc (main): New test.
3660 * include/bits/slice_array.h (slice_array<>::operator=): Make
3661 public and implement.
3662 (slice_array<>::slice_array): Make copy-constructor public.
3664 * include/bits/valarray_array.h (__valarray_copy): Add another
3665 overload to copy between strided arrays.
3667 2001-06-13 Benjamin Kosnik <bkoz@redhat.com>
3669 * acinclude.m4 (GLIBCPP_CONFIGURE): Bump version to 3.0.0.
3670 * aclocal.m4: Regenerate.
3671 * configure: Regenerate.
3672 * include/bits/c++config (__GLIBCPP__): Update date.
3674 2001-06-12 Benjamin Kosnik <bkoz@redhat.com>
3676 * include/bits/fpos.h (fpos::operator-): Don't return reference,
3677 return original, non-modified version.
3678 (fpos::operator+): Same.
3679 * testsuite/27_io/fpos.cc: Add test.
3681 2001-06-12 Loren J. Rittle <ljrittle@acm.org>
3684 * porting.texi: Add documentation about libstdc++-v3-specific
3685 macros that are currently included in os_defines.h files.
3687 * config/basic_file_stdio.h (sys_getc): New method.
3688 (sys_ungetc): New method.
3689 * include/bits/basic_file.h: (sys_getc): New method signature.
3690 (sys_ungetc): New method signature.
3692 * include/bits/fstream.tcc (underflow): Add conditional code
3693 paths which avoid using short seeks on streams (especially
3694 useful when the stream might be interactive or a pipe). At
3695 the moment, this alternate path only avoids seeking when the
3696 ``buffer size'' of underflow() is 1 since the C standard only
3697 guarantees buffer space for one ungetc (this technique could
3698 be extended since *-*-solaris* supports buffering for 4 calls
3699 to ungetc and *-*-*bsd* supports buffering limited only by
3700 memory resources). Also, _GLIBCPP_AVOID_FSEEK must be defined
3701 in a port's os_defines.h file for this alternate path to even
3702 be considered. As a bonus, the idiom of using getc/ungetc
3703 requires no system calls whereas fseek maps to one or two
3704 system call(s) on many platforms.
3706 * config/os/bsd/freebsd/bits/os_defines.h (_GLIBCPP_AVOID_FSEEK):
3708 * config/os/solaris/solaris2.5/bits/os_defines.h
3709 (_GLIBCPP_AVOID_FSEEK): Likewise.
3710 * config/os/solaris/solaris2.6/bits/os_defines.h
3711 (_GLIBCPP_AVOID_FSEEK): Likewise.
3712 * config/os/solaris/solaris2.7/bits/os_defines.h
3713 (_GLIBCPP_AVOID_FSEEK): Likewise.
3715 2001-06-12 Benjamin Kosnik <bkoz@redhat.com>
3717 * acinclude.m4 (GLIBCPP_CHECK_COMPILER_VERSION): Change to
3718 AC_TRY_COMPILE, so that the built compiler is checked, and
3719 bootstraps or cross compiles with an older compile still work.
3720 * aclocal.m4: Regenerate.
3721 * configure: Regenerate.
3723 2001-06-12 Benjamin Kosnik <bkoz@redhat.com>
3726 * include/bits/std_sstream.h: Add allocator_type, as per DR 251.
3729 * include/bits/istream.tcc (getline, get): Fix as per DR 243.
3732 * include/bits/std_bitset.h (bitset::set): Fix as per DR 186.
3735 * include/bits/limits_generic.h: Fix as per DR 184.
3737 2001-06-11 Benjamin Kosnik <bkoz@redhat.com>
3740 * include/bits/basic_string.h (string::compare): Adjust signatures
3742 * include/bits/basic_string.tcc: And here.
3745 * config/c_io_stdio.h: Remove whitespace.
3746 * testsuite/27_io/istream_seeks.cc (test03): Add regression.
3747 (test02): Add regression.
3748 * testsuite/27_io/istream_seeks-3.tst: New file.
3750 2001-06-11 Phil Edwards <pme@sources.redhat.com>
3752 * README: Update to reflect reality.
3753 * acinclude.m4: Update descriptions, fix typos. Comment changes only.
3754 * configure.in: Make certain target_alias is set and subst'd for 2.50.
3755 * aclocal.m4: Regenerate.
3756 * configure: Regenerate (with 2.13).
3758 2001-06-11 Benjamin Kosnik <bkoz@redhat.com>
3761 * include/bits/ostream.tcc (ostream::seekp): Add error checking as
3763 * include/bits/istream.tcc (istream::seekg): Same.
3764 * testsuite/27_io/istream_seeks.cc: Fix.
3767 * include/bits/stl_function.h (binder2nd): Fix as per DR 109.
3769 * include/bits/std_queue.h: Add c++config.h.
3770 * testsuite/20_util/binders.cc: New test.
3772 2001-06-11 Matthias Klose <doko@debian.org>
3773 Phil Edwards <pme@sources.redhat.com>
3775 * docs/doxygen/run_doxygen (find_doxygen): Tweak version check.
3776 (main script): Echo more information.
3778 2001-06-10 Benjamin Kosnik <bkoz@redhat.com>
3780 * include/c_std/bits/std_cwchar.h: Alphabetize.
3781 * include/bits/char_traits.h: Tweak.
3782 * acinclude.m4 (GLIBCPP_CHECK_WCHAR_T_SUPPORT): Check for
3783 everything used by std_cwchar.h.
3784 * aclocal.m4: Regenerate.
3785 * configure.in: Regenerate.
3786 * config.h.in: Regenerate.
3788 2001-06-10 Benjamin Kosnik <bkoz@redhat.com>
3790 * acinclude.m4 (GLIBCPP_ENABLE_C99): Add stdio.h checking.
3791 Add checking for strtof, _Exit in stdlib.h
3792 * aclocal.m4: Regenerate.
3793 * configure.in: Regenerate.
3794 * include/c_std/bits/std_cstdio.h: Alphabetize lists.
3795 (snprintf): Put C99 functions into __gnu_cxx namespace.
3800 * include/c_std/bits/std_cstdlib.h: Alphabetize lists. Put undefs
3801 for C99 functions within _GLIBCPP_USE_C99 guard.
3805 * include/bits/locale_facets.tcc: Check if C99 is enabled.
3806 * include/c_std/bits/std_cwchar.h (__gnu_cxx): Put undefs within
3808 * include/c_std/bits/cmath.tcc: Formatting tweak.
3809 * include/c_std/bits/std_cmath.h: Same.
3811 2001-06-10 Benjamin Kosnik <bkoz@redhat.com>
3813 * include/c_std/bits/std_cstdio.h: Include cstddef for size_t.
3815 2001-06-09 Alexandre Oliva <aoliva@redhat.com>
3816 Stephen L Moshier <moshier@mediaone.net>
3818 * acinclude.m4 (AC_EXEEXT): Work around in case it expands to
3819 nothing, as in autoconf 2.50.
3820 * configure: Rebuilt.
3822 2001-06-09 Benjamin Kosnik <bkoz@redhat.com>
3824 * include/c_std/bits/std_cwchar.h: Remove size_t injection,
3825 include std_cstddef.
3826 * include/c_std/bits/std_ctime.h: Same.
3827 * include/c_std/bits/std_cstring.h: Same.
3828 * include/c_std/bits/std_cstdlib.h: Same.
3830 * include/c_std/bits/std_cstdio.h: Remove vsnprintf, snprintf.
3831 * include/c_std/bits/std_cctype.h: Remove isblank.
3833 2001-06-09 Benjamin Kosnik <bkoz@redhat.com>
3835 * acinclude.m4 (GLIBCPP_CHECK_WCHAR_T_SUPPORT): Check for fgetwc,
3837 * aclocal.m4: Regenerate.
3838 * configure: Regenerate.
3839 * include/c_std/bits/std_cwchar.h: Remove duplicate fgetwc
3840 injection, guard fgetwc, fgetws.
3841 * include/c_std/bits/std_cstdio.h: Remove superfluous includes.
3842 * include/c_std/bits/std_clocale.h: And here.
3843 * include/c_std/bits/std_cctype.h: And here.
3844 * include/c_std/bits/std_cstdlib.h (strtof): Guard strtof injection.
3846 * config/basic_file_stdio.h: Don't include unistd.h.
3847 * config/c_io_stdio.h: Don't use compatibility headers.
3848 * libsupc++/eh_terminate.cc: Qualify abort.
3849 (__terminate): And here.
3850 * libsupc++/eh_catch.cc (__cxa_end_catch): Qualify abort.
3852 2001-06-08 Benjamin Kosnik <bkoz@redhat.com>
3854 * include/c_std/bits/std_cstdlib.h: Remove _Exit, strtof injections.
3856 2001-06-08 Benjamin Kosnik <bkoz@redhat.com>
3861 * include/std/*: Add copyright notice.
3862 * include/c_std/bits/*: Use using statements instead of extern "C".
3863 * include/c_std/bits/std_cmath.h: Don't overload double versions
3864 of math functions with __buitin versions, use global version to
3865 prevent ambiguities. Remove define hacks.
3866 * include/c_std/bits/std_cwchar.h: Using declarations for "C"
3867 functions that have changed signatures and std::
3868 declarations. Remove define hacks.
3869 * include/c_std/bits/std_cwchar.h: Same, plus remove ambiguous
3870 __builtins in std::. Remove define hacks.
3871 * testsuite/17_intro/headers_c.cc: Add tests.
3872 * testsuite/17_intro/headers_c++.cc: Add test.
3874 2001-06-07 Loren J. Rittle <ljrittle@acm.org>
3875 John David Anglin <dave@hiauly1.hia.nrc.ca>
3878 * libsupc++/eh_alloc.cc: Ensure that required macros are
3879 defined before including gthr.h. Ensure that we get the
3880 version of gthr.h for which we know how to provide a
3882 * libsupc++/eh_globals.cc: Likewise. And, bring the threading
3883 code path into line with the current EH model. Use std, where
3886 2001-06-07 Loren J. Rittle <ljrittle@acm.org>
3887 John David Anglin <dave@hiauly1.hia.nrc.ca>
3889 * config/threads-no.h: Remove file.
3890 * config/threads-posix.h: Remove file.
3892 * acconfig.h (_GLIBCPP_USE_THREADS): Remove.
3893 (_GLIBCPP_SUPPORTS_WEAK): Add (required by namespace-clean gthr*.h).
3894 (_GLIBCPP_HAVE_GTHR_DEFAULT): Likewise.
3895 * config.h.in: Regenerate.
3897 * acinclude.m4 (GLIBCPP_ENABLE_THREADS): Completely rework to
3898 setup and use gthr*.h files. In particular, make gthr.h files
3899 namespace-clean in the staging area (they don't have to be for
3901 * aclocal.m4: Regenerate.
3902 * configure: Regenerate.
3904 * src/Makefile.am (build_headers): Remove bits/c++threads.h
3905 and add bits/gthr.h bits/gthr-single.h bits/gthr-default.h.
3906 * src/Makefile.in: Regenerate.
3908 * include/bits/c++config: Cleanup threading configuration macros.
3909 In particular, define __STL_GTHREADS macro which controls...
3910 * include/bits/stl_threads.h: ...a brand new gthr.h-based
3913 * config/c_io_stdio.h: Include staged gthr.h instead of local
3914 thread configuration file. Always use __gthread_mutex_t
3915 instead of __mutext_type (or int).
3916 * include/bits/std_fstream.h: Likewise.
3918 * docs/html/17_intro/howto.html: Remove placeholder comment in
3919 case this configuration patch didn't make it. Add advice that
3920 section only applies if configured with --enable-threads.
3921 * docs/html/23_containers/howto.html: Reword to make clear
3922 that _PTHREADS is no longer required for any port to be
3923 correctly using STL with threads. Add advice that section
3924 only applies if configured with --enable-threads.
3926 2001-06-06 Benjamin Kosnik <bkoz@redhat.com>
3928 * src/string-inst.cc (_Rep::_S_max_size): Add instantiation.
3930 2001-06-05 Benjamin Kosnik <bkoz@redhat.com>
3933 * include/bits/basic_ios.tcc: Formatting tweaks.
3934 * include/bits/ios_base.h: Formatting tweaks.
3935 * src/ios.cc (ios_base::Init::_S_ios_create): Use filebufs here.
3936 (ios_base::Init::_S_ios_destroy): ..and here. Explicitly call dtors.
3937 * src/globals.cc: Allocate filebufs for standard streams here.
3938 (buf_cout, buf_cin, buf_cerr): Like so.
3939 (buf_wcout, buf_wcin, buf_wcerr): And so.
3940 * testsuite/27_io/ios_init.cc: Add.
3942 2001-06-04 Brendan Kehoe <brendan@zen.org>
3943 Benjamin Kosnik <bkoz@redhat.com>
3946 * include/bits/locale_facets.h (ctype<_CharT>): Add definitions
3947 for generic ctype virtuals.
3948 * src/locale.cc: Minor tweaks, naming consistency.
3949 * testsuite/22_locale/ctype.cc: Add test.
3951 2001-06-04 Kenny Simpson <theonetruekenny@yahoo.com>
3952 Phil Edwards <pme@sources.redhat.com>
3954 PR libstdc++/3035 and PR libstdc++/3036
3955 * include/bits/stl_pair.h: Fix pair ctor and make_pair according
3956 to LWG DR 181 and 265.
3958 2001-06-04 Phil Edwards <pme@sources.redhat.com>
3961 * include/bits/stl_multiset.h (find, lower_bound, upper_bound,
3962 equal_range): Add const overloads as per LWG DR 214.
3963 * include/bits/stl_set.h: Likewise.
3965 2001-06-04 Brendan Kehoe <brendan@zen.org>
3966 Phil Edwards <pme@sources.redhat.com>
3969 * include/bits/std_bitset.h (bitset::test): Fix __pos >= _Nb
3970 comparison; all positions must be < _Nb.
3971 * testsuite/23_containers/bitset_members.cc: New file.
3973 2001-06-04 Brendan Kehoe <brendan@zen.org>
3976 * include/bits/stl_queue.h (classes queue, priority_queue): Fix
3977 ctors to match the standard.
3979 2001-06-04 Jeffrey Oldham <oldham@codesourcery.com>
3981 * include/bits/char_traits.h (move): Reverse qualification of
3983 (copy): Reverse qualification of memcpy with std::.
3985 2001-06-04 Jeffrey Oldham <oldham@codesourcery.com>
3987 * include/bits/char_traits.h (move): Qualify memmove with std::.
3988 (copy): Qualify memcpy with std::.
3989 * testsuite/27_io/filebuf_virtuals.cc (test01): Qualify strlen and
3992 * testsuite/27_io/stringbuf_virtuals.cc (test01): Likewise.
3994 2001-06-04 Hans-Peter Nilsson <hp@axis.com>
3996 * libsupc++/Makefile.am (install-glibcppinstallHEADERS,
3997 uninstall-glibcppinstallHEADERS): Have explicit rules catering to
3998 SUN make VPATH peculiarities.
3999 * libsupc++/Makefile.in: Regenerate.
4001 2001-06-01 Hans-Peter Nilsson <hp@axis.com>
4003 * src/Makefile.am (VPATH): Delimit with ":", not space.
4004 * src/Makefile.in: Regenerate.
4006 * configure.in (use of GLIBCPP_CHECK_GNU_MAKE): Don't fail if GNU
4008 * configure: Regenerate.
4010 2001-05-31 scott snyder <snyder@fnal.gov>
4013 * include/bits/istream.tcc: Include std_ostream.h.
4015 2001-05-31 Benjamin Kosnik <bkoz@redhat.com>
4018 * src/bitset.cc: Qualify size_t with std::.
4020 2001-05-30 Benjamin Kosnik <bkoz@redhat.com>
4022 * acconfig.h (_GLIBCPP_BUGGY_FLOAT_COMPLEX): Remove.
4023 (_GLIBCPP_BUGGY_COMPLEX): Remove.
4024 * config.h.in: Regenerate.
4025 * acinclude.m4 (GLIBCPP_CHECK_COMPLEX_MATH_COMPILER_SUPPORT): Remove.
4026 * aclocal.m4: Regenerate.
4027 * configure.in: Don't call it.
4028 * configure: Regenerate.
4031 * src/complex_io.cc (operator<<(ostream&, const complex&): Fix.
4032 * testsuite/26_numerics/complex_inserters_extractors.cc (test01):
4036 * include/bits/std_complex.h: Include sstream. Put definitions for
4037 complex inserters and extractors here, and remove them from...
4038 * src/complex_io.cc: ...here.
4039 * include/bits/basic_ios.h (basic_ios::__numput_type): Add _Traits
4041 (basic_ios::__numget_type): Same.
4042 * include/bits/std_istream.h: Same.
4043 * include/bits/std_ostream.h: Same.
4044 * include/bits/sbuf_iter.h (ostreambuf_iterator): Fix typo in base
4045 class iterator template arguments.
4046 * src/locale-inst.cc: Add explicit has_facet instantiations.
4047 * include/bits/basic_ios.h (basic_ios::_M_get_fctype_ios): Remove.
4048 (_M_get_fnumput): Remove.
4049 (_M_get_fnumget): Remove.
4050 (basic_ios::_M_check_facet): New function.
4051 (basic_ios::_M_cache_facets): New function.
4052 * include/bits/basic_ios.tcc: Definition for _M_cache_facets.
4053 (basic_ios::imbue): Call _M_cache_facets.
4054 (basic_ios::init): Same.
4055 * include/bits/istream.tcc: Format, use _M_check_facet.
4056 * include/bits/ostream.tcc: Same.
4057 * include/bits/locale_facets.tcc (__output_float): Change
4058 signature, add _Traits.
4059 * testsuite/26_numerics/complex_inserters_extractors.cc (test02):
4062 2001-05-30 Loren J. Rittle <ljrittle@acm.org>
4064 * include/bits/c++config (__USE_MALLOC): Do not define it.
4065 Document why not and give pointers to more information.
4067 * docs/html/23_containers/howto.html: Update documentation
4068 to reflect recent understanding of problem.
4069 * docs/html/17_intro/howto.html: Likewise.
4071 2001-05-30 Phil Edwards <pme@sources.redhat.com>
4073 * docs/doxygen/user.cfg.in: Minor addition.
4074 * docs/html/documentation.html: Reorganize. Put most-looked-at
4076 * docs/html/install.html: Update for 3.0. HTML fixups.
4077 * docs/html/17_intro/howto.html: Likewise.
4078 * docs/html/18_support/howto.html: Likewise.
4079 * docs/html/19_diagnostics/howto.html: Likewise.
4080 * docs/html/20_util/howto.html: Likewise.
4081 * docs/html/23_containers/howto.html: Likewise.
4082 * docs/html/24_iterators/howto.html: Likewise. More notes.
4083 * docs/html/25_algorithms/howto.html: Likewise.
4084 * docs/html/26_numerics/howto.html: Likewise. More notes.
4085 * docs/html/27_io/howto.html: Likewise.
4086 * docs/html/ext/howto.html: Likewise.
4087 * docs/html/faq/index.html: Likewise.
4088 * docs/html/faq/index.txt: Regenerate.
4089 * docs/html/27_io/iostreams_hierarchy.pdf: Remove in favor of
4090 Doxygen-created documentation.
4092 2001-05-30 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
4094 * testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3-init): Use
4095 get_multilibs to find gcc.
4097 2001-05-30 Phil Edwards <pme@sources.redhat.com>
4099 * acinclude.m4 (GLIBCPP_ENABLE_C99): Reorder output messages.
4100 * aclocal.m4: Regenerate.
4101 * configure: Regenerate.
4103 2001-05-29 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
4105 * include/c_std/bits/std_cstdlib.h:: Move C99 thingies to __gnu_cxx::.
4106 * include/c_std/bits/std_cwchar.h (__gnu_cxx): Likewise.
4108 2001-05-27 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
4110 * include/c_std/bits/std_cmath.h: Move C99 functions in __gnu_cxx::.
4111 * include/c_std/bits/std_cstdlib.h: Same.
4112 * include/c_std/bits/std_cwchar.h: Same.
4114 2001-05-30 Loren J. Rittle <ljrittle@acm.org>
4116 * docs/html/17_intro/howto.html: Update link.
4117 * docs/html/23_containers/howto.html: Likewise. Add new link.
4119 2001-05-26 Gabriel Dos Reis <gdr@codesourcery.com>
4121 * include/c_std/bits/std_cmath.h (sqrt): #undef.
4123 2001-05-23 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
4125 * mknumeric_limits: Stop if gen-num-limits dies.
4127 2001-05-25 Benjamin Kosnik <bkoz@redhat.com>
4130 * acinclude.m4 (GLIBCPP_ENABLE_C99): Use AC_TRY_COMPILE.
4131 * aclocal.m4: Regenerate.
4134 2001-05-24 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
4135 Phil Edwards <pme@sources.redhat.com>
4136 Alexandre Oliva <aoliva@redhat.com>
4138 * acinclude.m4 (GLIBCPP_EXPORT_INSTALL_INFO): Set glibcpp_srcdir
4139 in an amd-safe manner. Revert glibcpp_prefixdir.
4141 2001-05-25 Gabriel Dos Reis <gdr@codesourcery.com>
4143 * include/c_std/bits/std_cmath.h: Tweak. #define away abs, cos,
4144 fabs, sin, sqrt. They are now implemented in terms of __builtin_
4147 2001-05-24 Benjamin Kosnik <bkoz@redhat.com>
4150 * testsuite/21_strings/inserters_extractors.cc (test09): New test.
4151 * include/bits/ostream.tcc: Format to match istream.tcc.
4152 (operator<<(basic_ostream __out, const basic_string __s)): Fix.
4154 2001-05-24 Phil Edwards <pme@sources.redhat.com>
4156 * libsupc++/eh_alloc.cc (__cxa_allocate_exception): Qualify
4158 (__cxa_free_exception): Likewise with free.
4160 2001-05-24 Mark Mitchell <mark@codesourcery.com>
4162 * include/c_std/bin/std_cstring.h: #define away all global
4163 functions we will redeclare in namespace `std'.
4164 * libsupc++/eh_alloc.cc (__cxa_allocate_exception): Use
4165 std::memset, instead of memset.
4166 * testsuite/19_diagnostics/stdexceptions.cc: Use `std::strcmp',
4168 * testsuite/21_strings/c_strings.cc: Use `std::strcpy' instead of
4171 2001-05-24 Benjamin Kosnik <bkoz@redhat.com>
4174 * include/bits/basic_ios.tcc: Small tweak.
4175 * include/bits/std_fstream.h (ifstream): Add buffer member. Adjust
4176 ctors and dtors, and rdbuf settings.
4179 * include/bits/std_sstream.h: Same, but for stringstream classes.
4180 * testsuite/27_io/ostringstream_members.cc: New.
4181 * testsuite/27_io/stringstream_members.cc: New.
4182 * testsuite/27_io/fstream_members.cc: New.
4183 * testsuite/27_io/ifstream_members.cc: Add test.
4184 * testsuite/27_io/istringstream_members.cc: Add test.
4185 * testsuite/27_io/ofstream_members.cc: Add test.
4187 2001-05-24 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
4189 * include/bits/c++config(__NO_MATH_INLINES): Move to...
4190 * config/os/gnu-linux/bits/os_defines.h: ...here.
4192 2001-05-24 Gabriel Dos Reis <gdr@codesourcery.com>
4194 * include/bits/c++config (__NO_MATH_INLINES): New macro.
4195 * testsuite/26_numerics/fabs_inline.cc (main): New test.
4197 2001-05-22 Benjamin Kosnik <bkoz@redhat.com>
4200 * testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3-init): Set
4202 (libstdc++-v3_set_ld_library_path): New, copied from g++.exp.
4203 (libstdc++-v3-finish): Remove.
4204 (libstdc++-v3_exit): Remove.
4206 2001-05-22 Phil Edwards <pme@sources.redhat.com>
4208 * docs/html/documentation.html: Point to doxygen output.
4210 2001-05-21 Benjamin Kosnik <bkoz@redhat.com>
4212 * mkcheck.in (static_fail): Remove S_FLAG decoration on output.
4214 * include/bits/std_sstream.h (stringbuf::setbuf): Require both
4215 arguments to be non-null.
4216 * include/bits/fstream.tcc (filebuf::_M_allocate_buffers): Only
4217 try allocations if allocated size is greater than zero.
4218 (filebuf::_M_filebuf_init): Change to
4219 (filebuf::_M_allocate_file): Which is what it does now.
4220 (filebuf::_M_allocate_bufers): Change to
4221 (filebuf::_M_allocate_internal_buffer): This, and create
4222 (filebuf::_M_allocate_pback_buffer): New.
4223 (filebuf::_M_destroy_internal_buffer): New.
4224 (filebuf::_M_buf_allocated): New data member.
4225 (filebuf::setbuf): Use new logic, allow use of external buffer.
4226 * testsuite/27_io/stringbuf_virtuals.cc: New file.
4227 * testsuite/27_io/filebuf_virtuals.cc: New file.
4229 2001-05-21 Stephen M. Webb <stephen@bregmasoft.com>
4231 * include/c_std/bits/std_cstring.h (memchr): Define "C" functions to
4233 (strchr): Same, but to __glibcpp_strchr.
4237 * include/c_std/bits/std_cwchar.h (wcschr): Same.
4243 2001-05-21 Benjamin Kosnik <bkoz@redhat.com>
4245 * testsuite/21_strings/c_strings.cc (main): Fix.
4247 2001-05-19 Phil Edwards <pme@sources.redhat.com>
4249 * acinclude.m4: Fix --help spacing, correct comments.
4250 * aclocal.m4: Regenerate.
4251 * configure: Regenerate.
4252 * mkcheck.in: Add usage comments.
4253 * docs/html/documentation.html: Point to doxygen'd tarball.
4255 2001-05-18 Benjamin Kosnik <bkoz@redhat.com>
4257 * testsuite/README: Add notes.
4259 * src/Makefile.am (libstdc++.INC): Remove.
4260 * src/Makefile.in: Regenerate.
4262 Phil Edwards <pedwards@disaster.jaj.com>
4263 * mkcheck.in: Add missing '#'.
4265 2001-05-18 Angela Marie Thomas <angela@cygnus.com>
4267 * testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3-init): Set flags
4268 appropriately for remote testing and testing installed files without
4271 2001-05-18 Benjamin Kosnik <bkoz@redhat.com>
4273 * acinclude.m4 (GLIBCPP_EXPORT_INSTALL_INFO): Set glibcpp_srcdir
4274 amd glibcpp_prefixdir with absolute paths.
4276 * include/bits/c++config (__GLIBCPP__): Bump.
4277 * acinclude.m4 (GLIBCPP_CONFIGURE): Correct version number.
4279 2001-05-18 Gabriel Dos Reis <gdr@codesourcery.com>
4281 * include/bits/std_valarray.h (valarray<>::operator[] const):
4282 Return a const reference.
4283 * testsuite/26_numerics/valarray_const_bracket.cc: New test.
4285 2001-05-18 Alexandre Oliva <aoliva@redhat.com>
4287 * configure.target (ATOMICITYH): Actually use AIX-specific code on
4288 earlier versions of AIX 4.*.
4290 2001-05-18 Angela Marie Thomas <angela@cygnus.com>
4292 * testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3-dg-test): Set
4293 output_file based on the name of the testcase.
4295 2001-05-18 Angela Marie Thomas <angela@cygnus.com>
4297 * testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3-init): Build
4298 gluefile and use it if needs_status_wrapper is set.
4300 2001-05-18 Alexandre Oliva <aoliva@redhat.com>
4302 * configure.target (ATOMICITYH): Use cpu/generic code on earlier
4305 2001-05-17 Alexandre Oliva <aoliva@redhat.com>
4307 * configure.target (ATOMICITYH): Don't use AIX 4.3-specific code
4308 on earlier versions of AIX.
4310 2001-05-15 Benjamin Kosnik <bkoz@redhat.com>
4312 * testsuite_flags.in (query): Add backwards, ext directories.
4314 2001-05-15 Mark Mitchell <mark@codesourcery.com>
4316 * porting.texi: Correct documentation about handling
4317 _LARRGEFILE_SOURCE and its ilk.
4318 * config/os/solaris/solaris2.5/bits/os_defines.h: Remove
4319 definitions of _XOPEN_SOURCE, _LARGEFILE64_SOURCE, and
4321 * config/os/solaris/solaris2.6/bits/os_defines.h: Likewise.
4322 * config/os/solaris/solaris2.7/bits/os_defines.h: Likewise.
4324 2001-05-15 Zack Weinberg <zackw@stanford.edu>
4326 * testsuite/21_strings/inserters_extractors.cc,
4327 testsuite/27_io/istream_unformatted.cc,
4328 testsuite/27_io/stringstream.cc:
4329 Replace multi-line string constants with C89-style
4330 concatenated string constants.
4332 2001-05-14 Richard Henderson <rth@redhat.com>
4334 * mknumeric_limits: Build with -fno-exceptions.
4336 2001-05-13 Benjamin Kosnik <bkoz@redhat.com>
4338 Switch over to new harness.
4339 * testsuite_flags.in: Tweaks via Gaby.
4340 * testsuite/Makefile.am: Change tool to libstdc++-v3.
4341 (EXPECT): Quote directly.
4343 * configure.in: Output testsuite_flags.
4344 * acinclude.m4: Substitute src, bld, and prefix dirs.
4345 Remove glibcpp_expect, glibcpp_runtestflags.
4346 * Makefile.am (RUNTESTFLAGS): Pass this down to subdirs.
4347 * mkcheck.in: Port to new interface.
4349 * aclocal.m4: Regerate.
4350 * configure: Regnerate.
4351 * Makefile.in: Regnerate.
4352 * */Makefile.in: Regenerate.
4354 * tests_flags.in: Remove.
4355 * testsuite/lib/libstdc++.exp: Remove.
4356 * testsuite/libstdc++.tests/tests.exp: Remove.
4358 2001-05-13 Alexandre Oliva <aoliva@redhat.com>
4360 * configure.target: Remove detection of AIX pthread multilib, now
4361 obtained from `gcc -v'.
4363 2001-05-13 John David Anglin <dave@hiauly1.hia.nrc.ca>
4365 * mkcheck.in (setup_size_command): Use Berkeley "-B" mode with GNU
4366 size. Add hpux case for HP size.
4368 2001-05-11 Benjamin Kosnik <bkoz@redhat.com>
4370 * testsuite_flags.in: New, simplified interface.
4371 * testsuite/lib/libstdc++-v3-dg.exp: New test harness.
4372 * testsuite/libstdc++-v3.dg: Add.
4373 * testsuite/libstdc++-v3.dg/dg.exp: Add.
4375 2001-05-11 Benjamin Kosnik <bkoz@redhat.com>
4377 * testsuite/*/*.cc: Remove spaces, make sure testcases return zero.
4378 * testsuite/config/default.exp: Update bugs email address.
4380 2001-05-11 Richard Henderson <rth@redhat.com>
4382 * libsupc++/eh_personality.cc: Include unwind-pe.h. Remove
4383 all pointer encoding logic.
4384 (struct lsda_header_info): Add ttype_base.
4385 (get_ttype_entry): Use it instead of a context.
4386 (check_exception_spec): Likewise.
4387 (PERSONALITY_FUNCTION): Initialize ttype_base. Store it in
4388 the c++ exception header for __cxa_call_unexpected.
4389 (__cxa_call_unexpected): Use it.
4391 2001-05-09 Benjamin Kosnik <bkoz@redhat.com>
4393 * testsuite/lib/libstdc++.exp: Use libgloss.exp. Call
4394 libgloss_link_flags to find crt0.o for targets that use libgloss
4396 Change LDFLAGS to LIBS.
4397 Consistently name procedures libstdc++-XXX.
4398 * testsuite/libstdc++.tests/tests.exp: Use new procedure names.
4400 2001-05-08 Benjamin Kosnik <bkoz@fillmore.constant.com>
4402 * include/c_std/bits/std_cstring.h (memchr): Correct definitions.
4407 * include/c_std/bits/std_cwchar.h (wcschr): Same.
4412 * testsuite/21_strings/c_strings.cc: Add tests.
4414 2001-05-07 Benjamin Kosnik <bkoz@redhat.com>
4417 * include/bits/std_fstream.h (basic_filebuf): Change signature.
4418 * include/bits/fstream.tcc (basic_filebuf): Change bool argument
4419 to int_type, pass in buffer size info.
4420 * include/bits/std_streambuf.h (_M_is_indeterminate): Check for
4421 unbuffered situation.
4422 (underflow): Remove codecvt bits for the time being.
4423 * include/bits/istream.tcc (istream::sentry): Avoid sputbackc call.
4424 * include/bits/locale_facets.tcc (_M_extract): Cache dereference
4425 values from iterators, clean.
4426 * src/locale.cc: Ditto.
4427 * include/bits/sbuf_iter.h: Format.
4428 * src/ios.cc: Explicitly pass in buffer sizes at creation time.
4429 * testsuite/27_io/narrow_stream_objects.cc: Add tests.
4430 * testsuite/27_io/filebuf.cc: Tweaks.
4431 * testsuite/27_io/filebuf_members.cc: Tweaks.
4433 2001-05-07 Mark Mitchell <mark@codesourcery.com>
4435 * config/os/solaris/solaris2.7/bits/os_defines.h
4436 (_LARGEFILE_SOURCE): Define it.
4438 2001-05-03 Alexandre Oliva <aoliva@redhat.com>
4440 * configure.in (LIBSUPCXX_PICFLAGS): Set it to -prefer-pic or
4441 -prefer-non-pic depending on whether libtool has shared libraries
4442 enabled or disabled.
4443 * libsupc++/Makefile.am (LIBSUPCXX_CXXFLAGS): Set to
4444 $(LIBSUPCXX_PICFLAGS).
4445 * configure, */Makefile.in: Rebuilt.
4447 2001-05-01 Benjamin Kosnik <bkoz@redhat.com>
4449 * include/bits/sbuf_iter.h (istreambuf_iterator): Correct.
4450 * testsuite/24_iterators/istreambuf_iterator.cc (test02): Add test.
4452 * include/bits/std_sstream.h (stringbuf): Leak
4454 * testsuite/24_iterators/ostreambuf_iterator.cc: Correct.
4456 2001-05-01 Tom Browder <tbrowder@home.com>
4458 * docs/html/ext/howto.html: Fix typo.
4460 2001-05-01 Gabriel Dos Reis <gdr@codesourcery.com>
4462 * testsuite/libstdc++.tests/tests.exp: Add comment.
4464 2001-05-01 Gabriel Dos Reis <gdr@codesourcery.com>
4466 * testsuite/libstdc++.tests/tests.exp: Set ulimits.
4468 2001-04-30 Mark Mitchell <mark@codesourcery.com>
4470 * porting.texi: Use the GFDL.
4472 2001-04-30 Benjamin Kosnik <bkoz@redhat.com>
4475 * testsuite/24_iterators/ostreambuf_iterator.cc: New file.
4476 * include/bits/sbuf_iter.h (ostreambuf_iterator): Remove bogus
4479 2001-04-30 Benjamin Kosnik <bkoz@redhat.com>
4482 * include/bits/stl_iterator_base_funcs.h (__advance): Fix.
4484 2001-04-28 Phil Edwards <pme@sources.redhat.com>
4486 * docs/doxygen/run_doxygen: Minor tweaks.
4487 * docs/doxygen/style.css: New file.
4488 * docs/doxygen/user.cfg.in: Update using "doxygen -u" to get the
4489 latest parameters available. Use style.css.
4491 2001-04-27 Benjamin Kosnik <bkoz@redhat.com>
4493 * docs/doxygen/mainpage.doxy: New.
4494 * docs/doxygen/user.cfg.in: Change default configuration. Single
4495 frame, other tweaks.
4497 2001-04-26 Mark Mitchell <mark@codesourcery.com>
4499 * docs/html/17_intro/BADNAMES: Remove EGCS reference.
4500 Indicate obsolete nature of thelist for G++ 3.0.
4502 2001-04-26 Alexandre Oliva <aoliva@redhat.com>
4504 * acinclude.m4 (GLIBCPP_ENABLE_THREADS): Obtain
4505 target_thread_file with `gcc -v'.
4506 * aclocal.m4, configure: Rebuilt.
4508 2001-04-25 Benjamin Kosnik <bkoz@redhat.com>
4510 * include/c_std/bits/std_cmath.h (std): Explicitly inject c99 names.
4511 * include/c_std/bits/std_cstdlib.h (std): Same, except for llabs.
4512 * include/c_std/bits/std_cwchar.h (std): Same.
4513 * acconfig.h (std): Remove c99 injection into std.
4514 * config.h.in: Regenerate.
4516 * testsuite/README: Fix typo.
4518 * include/bits/codecvt.h: Remove warnings.
4520 2001-04-24 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
4522 * include/ext/slist: Include required header files.
4524 2001-04-23 Loren J. Rittle <ljrittle@acm.org>
4526 * include/c_std/bits/std_cerrno.h (errno): Define macro from
4527 identifier declared with external linkage, if needed.
4528 * include/c_std/bits/std_csetjmp.h (setjmp): Likewise.
4529 * include/c_std/bits/std_cstdarg.h (va_end): Likewise.
4531 2001-04-23 Benjamin Kosnik <bkoz@fillmore.constant.com>
4533 * acinclude.m4 (CXX): Set to glibcpp_CXX so that in-directory
4534 re-configures find the build compiler.
4535 (GLIBCPP_ENABLE_C99): Do all fp-tests with 0.0, not 0. Fixes
4537 * aclocal.m4: Regenerate.
4538 * configure: Regenerate.
4540 2001-04-20 Benjamin Kosnik <bkoz@redhat.com>
4542 * acinclude.m4 (GLIBCPP_ENABLE_LONG_LONG): Make sure required C99
4543 support is enabled correctly before long long is activated.
4544 * aclocal.m4: Regenerate.
4545 * configure: Regenerate.
4547 * include/backward/backward_warning.h: Format correctly.
4549 * testsuite/26_numerics/c99_classification_macros_c.cc: Add.
4550 * testsuite/26_numerics/c99_classification_macros_c++.cc: Add.
4551 * testsuite/26_numerics/c99_macros.cc: Remove.
4553 2001-04-20 Phil Edwards <pme@sources.redhat.com>
4555 * include/bits/stl_bvector.h: Replace __ITERATOR_CATEGORY with
4556 __iterator_category.
4558 2001-04-19 Benjamin Kosnik <bkoz@redhat.com>
4560 * acconfig.h (_GLIBCPP_USE_C99): Add.
4561 * config.h.in: Regenerate.
4562 * acinclude.m4 (GLIBCPP_ENABLE_C99): New macro. Test for ISO/IEC
4564 * aclocal.m4: Regenerate.
4565 * configure.in (GLIBCPP_ENABLE_C99): Use it, on by default.
4566 * configure: Regenerate.
4567 * configure.in (GLIBCPP_ENABLE_LONG_LONG): Set default to yes.
4568 * configure: Regenerate.
4569 * include/c_std/bits/std_cwchar.h: Put wcstold, wcstoll, wcstoull
4571 * include/c_std/bits/std_cmath.h: Bring C99 functions into c99
4573 * include/c_std/bits/std_cstdlib.h: Same.
4574 * docs/html/configopts.html: Update.
4575 * testsuite/26_numerics/c99_macros.cc: Edit, use cmath instead of
4577 (test_c99_classify): Add.
4578 * config/os/gnu-linux/bits/os_defines.h (_GNU_SOURCE): Remove.
4579 (_ISOC99_SOURCE): Remove.
4581 * include/bits/stl_algo.h: Use _GLIBCPP_HAVE_DRAND48.
4582 * include/bits/c++config (__STL_ASSERTIONS): Simplify.
4583 * acinclude.m4 (GLIBCPP_CHECK_STDLIB_SUPPORT): Add check for drand48.
4584 * aclocal.m4: Regenerate.
4585 * configure: Regenerate.
4587 2001-04-19 Phil Edwards <pme@sources.redhat.com>
4589 * Makefile.am (doxygen): Assume script is missing execute perms.
4590 * Makefile.in: Regenerated.
4591 * docs/doxygen/user.cfg.in: Add class diagrams and source browsing.
4593 2001-04-17 Loren J. Rittle <ljrittle@acm.org>
4595 * testsuite/27_io/istream_seeks.cc: Inform DejaGnu of required files.
4597 2001-04-17 Benjamin Kosnik <bkoz@redhat.com>
4599 * testsuite/23_containers/map_operators.cc: Add dg-excess-errors.
4600 * testsuite/23_containers/set_operators.cc: Same.
4602 * include/bits/c++config: Add _GLIBCPP_CONCEPT_CHECKS. Disable by
4604 (__GLIBCPP__): Bump from value of last release.
4605 * include/bits/concept_check.h: Default to off, edit comments.
4606 * src/stl-inst.cc: Use _GLIBCPP_CONCEPT_CHECKS.
4607 * src/Makefile.am (AM_CXXFLAGS): Remove _GLIBCPP_NO_CONCEPT_CHECKS.
4608 * src/Makefile.in: Regenerate.
4610 2001-04-14 Martin Reinecke <martin@MPA-Garching.MPG.DE>
4612 * include/bits/boost_concept_check.h(_Mutable_ContainerConcept):
4613 Properly uglify member.
4615 2001-04-13 Phil Edwards <pme@sources.redhat.com>
4617 * include/bits/stl_algobase.h (equal): Use EqualOpConcept instead
4621 2001-04-13 Phil Edwards <pme@sources.redhat.com>
4623 * include/bits/boost_concept_check.h: Uglify, fork from Boost.
4624 * include/bits/concept_check.h: Uglify.
4625 * include/bits/stl_algo.h: Likewise.
4626 * include/bits/stl_algobase.h: Likewise.
4627 * include/bits/stl_deque.h: Likewise.
4628 * include/bits/stl_heap.h: Likewise.
4629 * include/bits/stl_iterator_base_funcs.h: Likewise.
4630 * include/bits/stl_list.h: Likewise.
4631 * include/bits/stl_map.h: Likewise.
4632 * include/bits/stl_multimap.h: Likewise.
4633 * include/bits/stl_multiset.h: Likewise.
4634 * include/bits/stl_numeric.h: Likewise.
4635 * include/bits/stl_queue.h: Likewise.
4636 * include/bits/stl_set.h: Likewise.
4637 * include/bits/stl_stack.h: Likewise.
4638 * include/bits/stl_vector.h: Likewise.
4639 * include/ext/hash_map: Likewise.
4640 * include/ext/hash_set: Likewise.
4641 * include/ext/slist: Likewise.
4643 2001-04-13 Gabriel Dos Reis <gdr@codesourcery.com>
4645 * testsuite/23_containers/set_operators.cc: Just try to compile.
4647 * testsuite/23_containers/map_operators.cc: Same.
4649 2001-04-12 Jason Merrill <jason_merrill@redhat.com>
4651 * testsuite/lib/libstdc++.exp (libstdc++-dg-test): Prepend "./" to
4653 (dg-test): Revert rth's change.
4655 2001-04-12 Nathan Sidwell <nathan@codesourcery.com>
4657 * libsupc++/eh_alloc.cc (__cxa_allocate_exception): Don't
4658 terminate holding the mutex. Make sure size fits in EMERGENCY_OBJ_SIZE.
4660 2001-04-12 Gabriel Dos Reis <gdr@codesourcery.com>
4662 * testsuite/README: Add DejaGnu specific documentation.
4664 2001-04-11 Benjamin Kosnik <bkoz@redhat.com>
4666 * acinclude.m4: AC_CHECK_TOOL for expect.
4667 * aclocal.m4: Regenerate.
4668 * configure: Regenerate.
4669 * testsuite/Makefile.am (RUNTEST): Use substituted.
4672 * configure.in: Remove xcompiling substitution.
4673 * tests_flags.in (CROSS_LIB_PATH): Remove.
4674 (xcompiling): Remove.
4675 (CXX): Use substituted CXX.
4677 2001-04-11 Richard Henderson <rth@redhat.com>
4679 * testsuite/lib/libstdc++.exp: Specify path for output_file.
4681 2001-04-08 Gabriel Dos Reis <gdr@codesourcery.com>
4683 * include/bits/std_valarray.h(valarray<>::operator[]): Make
4686 2001-04-06 Gabriel Dos Reis <gdr@codesourcery.com>
4688 * testsuite/25_algorithms/equal.cc: New test.
4690 2001-04-06 Joe Buck <jbuck@welsh-buck.org>
4692 * stl_algobase.h (std::equal): avoid use of possibly-undefined
4693 operator != (one line patch).
4695 2001-04-06 Benjamin Kosnik <bkoz@redhat.com>
4697 * include/backward/backward_warning.h: Re-enable.
4699 2001-04-06 Benjamin Kosnik <bkoz@redhat.com>
4700 Alexandre Oliva <aoliva@redhat.com>
4702 * tests_flags.in (CROSS_LIB_PATH): Add as -B flag.
4704 2001-04-06 Gabriel Dos Reis <gdr@codesourcery.com>
4706 * include/c_std/bits/std_cmath.h: Get rid of C99 math macros.
4707 * testsuite/26_numerics/c99_macros.cc: Add test.
4709 2001-04-06 Phil Edwards <pme@sources.redhat.com>
4711 * docs/html/faq/index.html: Update for 2.92, grab from RELEASE-NOTES.
4712 * docs/html/faq/index.txt: Regenerated.
4714 2001-04-06 Benjamin Kosnik <bkoz@redhat.com>
4716 * include/backward/backward_warning.h: Temporarily disable until
4717 g++ testsuite changes go in.
4718 * tests_flags.in (CROSS_LIB_PATH): Add.
4720 2001-04-05 Benjamin Kosnik <bkoz@redhat.com>
4722 Warn when using backward headers.
4723 * include/backward/algo.h: Include warning file.
4724 * include/backward/vector.h: Same.
4725 * include/backward/tree.h: Same.
4726 * include/backward/tempbuf.h: Same.
4727 * include/backward/strstream: Same.
4728 * include/backward/streambuf.h: Same.
4729 * include/backward/stream.h: Same.
4730 * include/backward/stack.h: Same.
4731 * include/backward/slist.h: Same.
4732 * include/backward/set.h: Same.
4733 * include/backward/rope.h:
4734 * include/backward/queue.h: Same.
4735 * include/backward/pair.h: Same.
4736 * include/backward/ostream.h: Same.
4737 * include/backward/new.h: Same.
4738 * include/backward/multiset.h: Same.
4739 * include/backward/multimap.h: Same.
4740 * include/backward/map.h: Same.
4741 * include/backward/list.h: Same.
4742 * include/backward/iterator.h: Same.
4743 * include/backward/istream.h: Same.
4744 * include/backward/iostream.h:
4745 * include/backward/iomanip.h:
4746 * include/backward/heap.h: Same.
4747 * include/backward/hashtable.h:
4748 * include/backward/hash_set.h:
4749 * include/backward/hash_map.h:
4750 * include/backward/function.h:
4751 * include/backward/fstream.h:
4752 * include/backward/deque.h:
4753 * include/backward/defalloc.h: Same.
4754 * include/backward/complex.h: Same.
4755 * include/backward/bvector.h:
4756 * include/backward/alloc.h:
4757 * include/backward/algobase.h: Same.
4759 * include/backward/backward_warning.h: New file.
4760 * src/Makefile.am (backward_headers): Add backward_warning.h
4761 * src/Makefile.in: Regenerate.
4763 2001-04-05 Benjamin Kosnik <bkoz@redhat.com>
4765 * src/Makefile.am (myinstalldirs): Make sure backward directory is
4767 (myinstallheaders): Install backward headers in backward directory.
4768 * src/Makefile.in: Regenerate.
4770 2001-04-05 Benjamin Kosnik <bkoz@redhat.com>
4772 Prepare for libstdc++-2.92.
4773 * docs/html/17_intro/RELEASE-NOTES (New): Update.
4774 * docs/html/configopts.html: Fix formatting.
4775 * README (file): Updates.
4776 * include/bits/c++config (__GLIBCPP__): Update.
4778 2001-04-05 Phil Edwards <pme@sources.redhat.com>
4780 * docs/doxygen/run_doxygen: Check for the existence of Doxygen.
4782 2001-04-04 Phil Edwards <pme@sources.redhat.com>
4784 * docs/doxygen/user.cfg.in: Extract all non-private members;
4785 reduce confusing documentation output.
4787 2001-04-04 Geoffrey Keating <geoffk@redhat.com>
4789 * include/backward/fstream.h: Add missing semicolons.
4791 2001-04-03 Benjamin Kosnik <bkoz@redhat.com>
4793 * include/bits/fstream.tcc: Add bool parameter to filebuf ctor.
4794 * include/bits/ios_base.h(ios_base::Init): Remove _M_cout, _M_cin,
4795 _M_cerr, _M_wcout, _M_wcin, _M_wcerr.
4796 (ios_base::Init::_S_ios_create): New.
4797 (ios_base::Init::_S_ios_destroy): New.
4798 * include/bits/std_fstream.h: Change ctor args.
4799 * src/ios.cc (ios_base::Init::Init): Use _S_ios_create.
4800 (ios_base::Init::~Init): Use _S_ios_destroy.
4801 (ios_base::sync_with_stdio): Use new members.
4802 * testsuite/27_io/filebuf_members.cc: Fix calling conventions for
4805 2001-04-03 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
4807 * include/backward/fstream.h: Expose streampos to global
4810 2001-04-03 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
4812 * include/bits/stl_iterator_base_types.h: Fix typo
4814 2001-04-03 Andreas Schwab <schwab@suse.de>
4816 * include/backward/fstream.h: Define filebuf and wfilebuf.
4818 2001-04-02 Phil Edwards <pme@sources.redhat.com>
4820 New concept checking implementation.
4821 * docs/html/19_diagnostics/howto.html: Document.
4822 * docs/html/17_intro/concept_check.diff: New file, for reference.
4823 * include/bits/boost_concept_check.h: New file from Boost.
4824 * include/bits/c++config: Update comments.
4826 * include/bits/concept_check.h: New file.
4827 * include/bits/concept_checks.h: Removed.
4828 * include/bits/container_concepts.h: Removed.
4829 * include/bits/sequence_concepts.h: Removed.
4830 * include/bits/stl_iterator_base.h: Removed; split into...
4831 * include/bits/stl_iterator_base_funcs.h: ...this new file...
4832 * include/bits/stl_iterator_base_types.h: ...and this new file.
4834 * include/bits/sbuf_iter.h: Update to use new implementation.
4835 * include/bits/std_iterator.h: Likewise.
4836 * include/bits/std_memory.h: Likewise.
4837 * include/bits/stl_algo.h: Likewise.
4838 * include/bits/stl_algobase.h: Likewise.
4839 * include/bits/stl_construct.h: Likewise.
4840 * include/bits/stl_deque.h: Likewise.
4841 * include/bits/stl_heap.h: Likewise.
4842 * include/bits/stl_list.h: Likewise.
4843 * include/bits/stl_map.h: Likewise.
4844 * include/bits/stl_multimap.h: Likewise.
4845 * include/bits/stl_multiset.h: Likewise.
4846 * include/bits/stl_numeric.h: Likewise.
4847 * include/bits/stl_queue.h: Likewise.
4848 * include/bits/stl_set.h: Likewise.
4849 * include/bits/stl_stack.h: Likewise.
4850 * include/bits/stl_uninitialized.h: Likewise.
4851 * include/bits/stl_vector.h: Likewise.
4852 * include/ext/hash_map: Likewise.
4853 * include/ext/hash_set: Likewise.
4854 * include/ext/slist: Likewise.
4855 * include/ext/stl_hashtable.h: Likewise.
4857 * src/Makefile.am (base_headers): Update list of headers.
4858 * Makefile.in: Regenerated.
4859 * src/Makefile.in: Regenerated.
4860 * libio/Makefile.in: Regenerated.
4861 * libmath/Makefile.in: Regenerated.
4862 * libsupc++/Makefile.in: Regenerated.
4863 * testsuite/Makefile.in: Regenerated.
4865 * docs/html/install.html: Update contact information.
4866 * docs/html/17_intro/howto.html: Ditto.
4867 * docs/html/18_support/howto.html: Ditto.
4868 * docs/html/20_util/howto.html: Ditto.
4869 * docs/html/21_strings/howto.html: Ditto.
4870 * docs/html/22_locale/howto.html: Ditto.
4871 * docs/html/23_containers/howto.html: Ditto.
4872 * docs/html/24_iterators/howto.html: Ditto.
4873 * docs/html/25_algorithms/howto.html: Ditto.
4874 * docs/html/26_numerics/howto.html: Ditto.
4875 * docs/html/27_io/howto.html: Ditto.
4876 * docs/html/faq/index.html: Ditto, plus info on new checking code.
4877 * docs/html/ext/howto.html: Ditto, plus info on new checking code.
4878 * docs/html/faq/index.txt: Regenerated.
4880 2001-04-02 Zack Weinberg <zackw@stanford.edu>
4882 * testsuite/lib/libstdc++.exp (dg-test): Annotate result
4883 messages with $which_library as well as $tool_flags and
4884 ${dg-extra-tool-flags}. Factor out annotation text into
4887 2001-04-02 Stephen M. Webb <stephen@bregmasoft.com>
4889 * include/c_std/bits/std_cstring.h: Fix for const-correctness.
4890 * include/c_std/bits/std_cwchar.h: Same.
4891 * testsuite/21_strings/c_strings.cc: Add.
4893 2001-04-01 Benjamin Kosnik <bkoz@codesourcery.com>
4895 * docs/html/configopts.html: Add --enable-sjlj-exceptions docs.
4897 2001-04-01 Zack Weinberg <zackw@stanford.edu>
4899 * tests_flags.in: Use test a = b, not test a == b which is not
4902 2001-03-31 Benjamin Kosnik <bkoz@redhat.com>
4904 * configure.target: Remove duplicate aix entry.
4906 2001-03-30 Benjamin Kosnik <bkoz@redhat.com>
4908 * include/ext/stl_bvector.h: Move to...
4909 * include/bits/stl_vector.h: ...here.
4910 * include/ext/bvector: Move to...
4911 * include/backward/bvector.h: ...here.
4912 * include/bits/std_vector.h: Change stl_bvector include.
4913 * include/bits/std_queue.h: Remove bvector include.
4914 * include/ext/tree: Insert using rb_tree, move to...
4915 * include/backward/tree.h: ...here.
4916 * include/backward/hash_map.h: Include ext/hash_map.
4917 * include/backward/hash_set.h: Include ext/hash_set.
4918 * include/backward/queue.h: New file.
4919 * include/backward/stack.h: Edit.
4920 * include/backward/algo.h: Same.
4921 * include/backward/algobase.h: Same.
4922 * include/backward/alloc.h: Same.
4923 * include/backward/function.h: Same.
4924 * include/backward/iomanip.h: Same.
4925 * include/backward/istream.h: Same.
4926 * include/backward/iterator.h: Same.
4927 * include/backward/list.h: Same.
4928 * include/backward/map.h: Same.
4929 * include/backward/multimap.h: Same.
4930 * include/backward/multiset.h: Same.
4931 * include/backward/ostream.h: Same.
4932 * include/backward/pair.h: Same
4933 * include/backward/rope.h: Same.
4934 * include/backward/set.h: Same.
4935 * include/backward/stream.h: Same.
4936 * include/backward/strstream.h: Same.
4937 * include/backward/tempbuf.h: Same.
4938 * src/Makefile.am (ext_headers): Edit.
4939 * src/Makefile.in: Regenerate.
4940 * testsuite/ext/headers.cc (main): Fix.
4943 2001-03-30 Phil Edwards <pme@sources.redhat.com>
4945 * tests_flags.in (LIBS): Pass correct path for installed testing.
4947 2001-03-28 Benjamin Kosnik <bkoz@redhat.com>
4949 * mkcheck.in (LIBTOOL): Don't construct -B argument here...
4950 * tests_flags.in (CXX): Construct here.
4951 (static_fail): Don't remove compile.out. Format with spaces.
4952 (INCLUDES): Deal with xcompiling.
4953 * configure.in (xcompiling): Substitute.
4954 * testsuite/Makefile.am: Snake libjava configury.
4955 * testsuite/Makefile.in: Regenerate.
4956 * testsuite/23_containers/map_operators.cc: Tweaks.
4957 * testsuite/23_containers/set_operators.cc: Tweaks.
4959 2001-03-28 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
4961 Enable dejagnu testing framework.
4962 * configure.in: Generate testsuite/Makefile.
4963 * configure: Regenerate.
4964 * Makefile.am (check-install): Change rule from this...
4965 (check-script-install): ...to this.
4966 (check): Change rule from this...
4967 (check-script):...to this.
4968 * Makefile.in: Regenerate.
4970 2001-03-28 Alexandre Oliva <aoliva@redhat.com>
4972 * libsupc++/Makefile.am (CXXLINK): Add --tag disable-shared after
4974 (LIBTOOL): Let automake take care of its definition.
4975 * libsupc++/Makefile.in: Rebuilt.
4977 2001-03-28 Richard Henderson <rth@redhat.com>
4979 IA-64 ABI Exception Handling:
4980 * acinclude.m4 (GLIBCPP_ENABLE_SJLJ_EXCEPTIONS): New.
4981 * configure.in: Use it.
4982 * Makefile.in, aclocal.m4, config.h.in, configure: Regenerate.
4983 * libsupc++/Makefile.am (sources): Update files list.
4984 * libsupc++/Makefile.in: Regenerate.
4985 * libsupc++/eh_alloc.cc, libsupc++/eh_aux_runtime.cc: New files.
4986 * libsupc++/eh_catch.cc, libsupc++/eh_exception.cc: New files.
4987 * libsupc++/eh_globals.cc, libsupc++/eh_personality.cc: New files.
4988 * libsupc++/eh_terminate.cc, libsupc++/eh_throw.cc: New files.
4989 * libsupc++/exception_support.cc: Remove.
4990 * libsupc++/exception_support.h: Remove.
4991 * libsupc++/pure.cc: Use std::terminate.
4992 * libsupc++/tinfo2.cc (__throw_type_match_rtti_2): Remove.
4993 (__is_pointer): Remove.
4994 * libsupc++/unwind-cxx.h: New file.
4995 * libsupc++/vec.cc (uncatch_exception): Update for new abi.
4997 2001-03-27 Alexandre Oliva <aoliva@redhat.com>
4999 * libsupc++/Makefile.am (CXXLINK): Use CXX again, and choose
5001 * src/Makefile.am (CXXLINK): Likewise.
5002 * libsupc++/Makefile.in, src/Makefile.in: Rebuilt.
5004 2001-03-27 Benjamin Kosnik <bkoz@redhat.com>
5006 * include/bits/c++config (_STL_USE_CONCEPT_CHECKS): Disable by default.
5008 2001-03-26 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
5010 * libstdc++-v3/tests_flags.in: Change the order of libstdc++
5013 2001-03-26 Benjamin Kosnik <bkoz@redhat.com>
5015 * include/bits/basic_file.h (get_fileno): Remove.
5016 (_M_fileno): Remove.
5017 (_M_cfile_created): Add.
5018 (basic_file::basic_file(__c_file_type*, openmode): Add.
5019 (basic_file::basic_file(int, const char*, openmode): Remove.
5020 * include/bits/fstream.tcc (basic_fstream::basic_filebuf(int __fd,
5021 const char*, ios_base::openmode): Don't allocate
5022 internal buffers. Turn off internal buffers.
5023 (basic_filebuf::overflow): Remove test for null buffer.
5024 (basic_filebuf::_M_really_overflow): Same. Allow unbuffered use.
5025 * include/bits/streambuf.cc: Tweak.
5026 * include/bits/std_ostream.h: Tweak.
5027 * config/basic_file_libio.h: Same.
5028 * config/basic_file_stdio.h: Same.
5029 * src/ios.cc (ios_base::Init::Init()): Unbuffer stdout by default.
5030 * testsuite/27_io/filebuf_members.cc: Tweaks.
5031 * testsuite/27_io/ios_base_members_static.cc: Tweaks.
5033 2001-03-24 Phil Edwards <pme@sources.redhat.com>
5035 * Makefile.am: New targets, doxygen and doxygen-maint.
5036 * Makefile.in: Regenerated.
5037 * docs/doxygen/run_doxygen: Finally implemented.
5038 * docs/doxygen/maint.cfg.in: New file.
5039 * docs/doxygen/user.cfg.in: New file.
5041 2001-03-24 Phil Edwards <pme@sources.redhat.com>
5043 * acinclude.m4 (GLIBCPP_CHECK_COMPILER_FEATURES): Update comment.
5044 * src/Makefile.am: Replace leading spaces with tabs on continuation
5046 * aclocal.m4: Regenerated.
5048 * Makefile.in: Ditto.
5049 * src/Makefile.in: Ditto.
5050 * libio/Makefile.in: Ditto.
5051 * libmath/Makefile.in: Ditto.
5052 * libsupc++/Makefile.in: Ditto.
5054 2001-03-24 Phil Edwards <pme@sources.redhat.com>
5056 * docs/html/19_diagnostics/howto.html: HTML fixup. Describe
5057 concept-checking code and current status of same.
5058 * docs/html/ext/howto.html: Ditto.
5059 * docs/html/faq/index.html: Ditto.
5060 * docs/html/faq/index.txt: Regenerated.
5062 2001-03-24 Phil Edwards <pme@sources.redhat.com>
5064 * include/bits/std_bitset.h: Include ostream and istream headers
5065 instead of iostream.
5067 2001-03-22 Greg Bumgardner <bumgard@roguewave.com>
5069 * include/bits/ostream.tcc: Use __builtin_alloca.
5071 2001-03-22 Benjamin Kosnik <bkoz@redhat.com>
5073 * src/misc-inst.cc (__sink_unused_warning): Move to...
5074 * src/locale-inst.cc (__sink_unused_warning): Move to...
5075 * src/stl-inst.cc: Here.
5076 * include/bits/c++config (_STL_NO_CONCEPT_CHECKS): Add define,
5079 2001-03-21 Theodore Papadopoulo <Theodore.Papadopoulo@sophia.inria.fr>
5081 * intclude/bits/basic_file.h: Fix typos in comments.
5083 2001-03-20 Richard Henderson <rth@redhat.com>
5085 * src/gen-num-limits.cc: Instantiate for wchar_t.
5086 * config/os/aix/bits/ctype_base.h (mask): Use unsigned int.
5088 2001-03-20 Jason Merrill <jason@redhat.com>
5090 * libsupc++/vec.cc (__cxa_vec_cleanup): New fn.
5091 (__cxa_vec_ctor, __cxa_vec_cctor, __cxa_vec_dtor): Call it.
5092 * libsupc++/cxxabi.h: Declare it.
5094 2001-03-16 Alexandre Oliva <aoliva@redhat.com>
5096 * src/gen-num-limits.cc (signal_adapter): Overloaded to match
5097 signal_func with an unspecified argument list.
5099 2001-03-15 Benjamin Kosnik <bkoz@redhat.com>
5101 * tests_flags.in (CXXFLAGS): Link libstdc++ before libsupc++.
5103 2001-03-15 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
5105 * include/bits/basic_string.tcc (operator+): Fix thinko.
5107 2001-03-14 Benjamin Kosnik <bkoz@redhat.com>
5110 * include/bits/std_streambuf.h: Remove cached locale facets.
5111 (basic_streambuf::_M_buf_fctype): Remove.
5112 (basic_streambuf::~basic_streambuf): Remove here.
5113 (basic_streambuf::basic_streambuf): Same.
5114 (basic_streambuf::imbue): Same.
5115 * include/bits/fstream.tcc (filebuf::imbue): Remove _M_buf_fctype.
5116 * include/bits/std_fstream.h (basic_filebuf::_M_fcvt): Remove.
5117 (basic_filebuf::~basic_filebuf()): Remove here.
5118 * include/bits/fstream.tcc (basic_filebuf::basic_filebuf): Same.
5119 (basic_filebuf::imbue): Same.
5120 * include/bits/localefwd.h (_Count_ones): Remove.
5121 (locale::_S_num_categories): Just use 6, since this doesn't
5122 actually change, ever.
5123 * include/bits/locale_facets.tcc (has_facet): Simplify.
5125 * testsuite/27_io/filebuf.cc (test06): Add tests.
5127 2001-03-13 Steve Ellcey <sje@cup.hp.com>
5129 * libstdc++-v3/config/os/hpux/bits/ctype_base.h: Make ctype masks
5130 match HP-UX ctype.h header file.
5132 2001-03-13 Andris Pavenis <pavenis@latnet.lv>
5134 * config/djgpp/bits/ctype_noninline.h: Fix typo and remove
5135 duplicate definitions of __dj_ctype_*
5137 2001-03-13 Benjamin Kosnik <bkoz@redhat.com>
5139 * libsupc++/new: Remove pragma interface.
5140 * libsupc++/typeinfo: Same.
5141 * libsupc++/exception: Same.
5142 * libsupc++/new_handler.cc: Remove pragma implementation.
5143 (bad_alloc::~bad_alloc()): Add.
5144 * libsupc++/exception_support.cc: Same.
5145 (exception::~exception): Add.
5146 (bad_exception::~bad_exception): Add.
5147 * libsupc++/tinfo.cc: Same.
5148 (bad_cast::~bad_cast): Add.
5149 (bad_typeid::~bad_typeid): Add.
5151 2001-03-13 Phil Edwards <pme@sources.redhat.com>
5153 * mkcheck.in: Fix IFS regression for non-bash-2.01 hosts.
5155 2001-03-12 Felix Lee <flee@redhat.com>
5157 * mkcheck.in: workaround for bash 2.01 IFS bug.
5159 2001-03-12 Benjamin Kosnik <bkoz@redhat.com>
5161 Fixups for -fno-for-scope
5162 * include/bits/locale_facets.tcc (__match_parallel): Fixup.
5163 * src/valarray-inst.cc (__gslice_to_index): Same.
5165 2001-03-12 Rodney Brown <RodneyBrown@mynd.com>
5167 * src/gen-num-limits.cc (traps) [SPECIALIZE_TRAPPING]: Add fflush
5168 prior to trapping signal (UnixWare 7 workaround).
5170 2001-03-12 Craig Rodrigues <rodrigc@mediaone.net>
5172 * include/backward/hashtable.h: Same.
5173 * include/backward/rope.h: Fix include.
5175 2001-03-12 Benjamin Kosnik <bkoz@redhat.com>
5177 * include/backward/vector.h: Include std_vector.h.
5179 * include/bits/istream.tcc (basic_istream<_CharT, _Traits>&
5180 operator>>(basic_istream<_CharT, _Traits>& __in, _CharT* __s)):
5183 2001-03-11 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
5185 * include/ext/stl_hashtable.h: Change type of __n to size_t
5186 * include/backward/bvector.h: Include <ext/stl_bvector.h>
5188 2001-03-09 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
5190 * include/bits/istream.tcc ( basic_istream<_CharT, _Traits>&
5191 operator>>(basic_istream<_CharT, _Traits>& __in, _CharT* __s)):
5192 Use streamsize, not int_type.
5194 2001-03-08 Benjamin Kosnik <bkoz@redhat.com>
5196 * testsuite/27_io/streambuf.cc (test06): New test, disabled at the
5199 2001-03-08 Andreas Schwab <schwab@suse.de>
5201 * acinclude.m4 (GLIBCPP_EXPORT_INSTALL_INFO): Fix syntax in test
5203 * aclocal.m4, configure: Regenerated.
5205 2001-03-07 Benjamin Kosnik <bkoz@redhat.com>
5207 * include/bits/std_iosfwd.h: Remove string forward decls here.
5208 * include/bits/stringfwd.h: Add forward decls for char_traits
5210 * config/c_io_libio.h (wstreamoff): Delete.
5211 * config/c_io_stdio.h (wstreamoff): Same.
5212 * include/bits/char_traits.h: Use streamoff not wstreamoff for
5213 char_traits<wchar_t>::off_type.
5214 Remove duplicate typedefs.
5215 * include/bits/fpos.h: Define streampos/wstreampos here.
5216 * testsuite/27_io/istream_seeks.cc (test04): Explicitly cast int
5219 Changeup output files.
5220 * testsuite/27_io/istream_unformatted.cc: Change output files.
5221 * testsuite/27_io/istream_seeks-1.txt: Add.
5222 * testsuite/27_io/istream_seeks-2.tst: Add.
5223 * testsuite/27_io/istream_seeks-1.tst: Add.
5224 * testsuite/27_io/istream_unformatted-2.tst: Delete.
5225 * testsuite/27_io/istream_unformatted-3.tst: Delete.
5226 * testsuite/27_io/istream_unformatted-3.txt: Delete.
5228 2001-03-07 Alexandre Oliva <aoliva@redhat.com>
5230 Add Irix 5.2, 6.3 support.
5231 * config/os/irix/bits: Renamed to...
5232 * config/os/irix/irix6.5/bits: this.
5233 * config/os/irix/irix5.2/bits: New, copied from irix6.5/bits.
5234 * config/os/irix/irix5.2/bits/ctype_base.h: Use _U, _L, _N,
5235 _X, _S, _P, _C and _B instead of IRIX-6.5 _IS* macros.
5236 * config/os/irix/irix5.2/bits/ctype_noninline.h
5237 (ctype<char>::ctype): Initialize _M_table with __ctype.
5238 * configure.target: Adjust.
5240 2001-03-06 Benjamin Kosnik <bkoz@redhat.com>
5243 * include/bits/istream.tcc (basic_istream<_CharT, _Traits>::
5244 operator>>(__istream_type& (*__pf)(__istream_type&)): Don't use
5246 (basic_istream<_CharT, _Traits>:: operator>>(__ios_type&
5247 (*__pf)(__ios_type&)): Same.
5248 (basic_istream<_CharT, _Traits>:: operator>>(ios_base&
5249 (*__pf)(ios_base&))): Same.
5250 * testsuite/27_io/istream_extractor_other.cc: Add tests.
5251 * testsuite/27_io/istream_manip.cc (test01): Fix.
5253 2001-03-06 Nathan Myers <ncm@cantrip.org>
5254 Benjamin Kosnik <bkoz@redhat.com>
5256 * include/c_std/bits/std_cerrno.h: Don't define errno in std::.
5257 * testsuite/17_intro/header_cerrno.cc (test01): New file.
5258 * testsuite/17_intro/header_cassert.cc (test01): New file.
5259 * testsuite/17_intro/header_cstddef.cc (test01): New file.
5260 * testsuite/17_intro/header_csetjmp.cc (test01): New file.
5261 * testsuite/17_intro/header_cstdarg.cc (test01): New file.
5263 2001-03-05 scott snyder <snyder@fnal.gov>
5266 * include/c_std/bits/std_cmath.h: Move abs(long), div(long,long)
5268 * include/c_std/bits/std_cstdlib.h: ... to here.
5269 * testsuite/17_intro/header_cstdlib.cc: Add test.
5271 2001-03-05 Stephen M. Webb <stephen.webb@cybersafe.com>
5273 * libsupc++/vec.cc (__cxxa_vec_new2): Qualify size_t.
5275 2001-03-05 Laurynas Biveinis <lauras@softhome.net>
5277 * config/os/djgpp/ctype_base.h (ctype_base): fix __to_type
5278 definition. Replace enum with static const variables.
5280 * config/os/djgpp/ctype_inline.h (ctype<char>::is): remove
5281 throw specification, fix typos, use <static_cast>.
5282 (ctype<char>::scan_is): remove throw specification.
5283 (ctype<char>::scan_not): likewise.
5285 * config/os/djgpp/ctype_noninline.h (ctype<char>::ctype): fix typo.
5286 (ctype<char>::do_toupper(char)): use <static_cast>.
5287 (ctype<char>::do_toupper(char *, const char *)): likewise.
5288 (ctype<char>::do_tolower(char)): likewise.
5289 (ctype<char>::do_tolower(char *, const char *)): likewise.
5291 2001-03-04 Phil Edwards <pme@sources.redhat.com>
5293 http://gcc.gnu.org/ml/libstdc++/2001-03/msg00015.html
5294 * include/backward/algo.h: Use std not __STD. Remove unneeded
5295 macros and "never happens" code. Adjust to C++STYLE guidelines.
5296 * include/backward/algobase.h: Likewise.
5297 * include/backward/alloc.h: Likewise.
5298 * include/backward/bvector.h: Likewise.
5299 * include/backward/deque.h: Likewise.
5300 * include/backward/function.h: Likewise.
5301 * include/backward/hash_map.h: Likewise.
5302 * include/backward/hash_set.h: Likewise.
5303 * include/backward/hashtable.h: Likewise.
5304 * include/backward/heap.h: Likewise.
5305 * include/backward/iterator.h: Likewise.
5306 * include/backward/list.h: Likewise.
5307 * include/backward/map.h: Likewise.
5308 * include/backward/multimap.h: Likewise.
5309 * include/backward/multiset.h: Likewise.
5310 * include/backward/pair.h: Likewise.
5311 * include/backward/rope.h: Likewise.
5312 * include/backward/set.h: Likewise.
5313 * include/backward/slist.h: Likewise.
5314 * include/backward/stack.h: Likewise.
5315 * include/backward/strstream: Likewise.
5316 * include/backward/tempbuf.h: Likewise.
5317 * include/backward/tree.h: Likewise.
5318 * include/backward/vector.h: Likewise.
5319 * include/bits/basic_ios.h: Likewise.
5320 * include/bits/basic_ios.tcc: Likewise.
5321 * include/bits/basic_string.h: Likewise.
5322 * include/bits/c++config: Likewise.
5323 * include/bits/concept_checks.h: Likewise.
5324 * include/bits/fpos.h: Likewise.
5325 * include/bits/fstream.tcc: Likewise.
5326 * include/bits/functexcept.h: Likewise.
5327 * include/bits/ios_base.h: Likewise.
5328 * include/bits/istream.tcc: Likewise.
5329 * include/bits/mask_array.h: Likewise.
5330 * include/bits/ostream.tcc: Likewise.
5331 * include/bits/pthread_allocimpl.h: Likewise.
5332 * include/bits/sbuf_iter.h: Likewise.
5333 * include/bits/slice.h: Likewise.
5334 * include/bits/slice_array.h: Likewise.
5335 * include/bits/sstream.tcc: Likewise.
5336 * include/bits/std_bitset.h: Likewise.
5337 * include/bits/std_fstream.h: Likewise.
5338 * include/bits/std_iomanip.h: Likewise.
5339 * include/bits/std_ios.h: Likewise.
5340 * include/bits/std_istream.h: Likewise.
5341 * include/bits/std_iterator.h: Likewise.
5342 * include/bits/std_memory.h: Likewise.
5343 * include/bits/std_ostream.h: Likewise.
5344 * include/bits/std_sstream.h: Likewise.
5345 * include/bits/std_streambuf.h: Likewise.
5346 * include/bits/std_string.h: Likewise.
5347 * include/bits/std_valarray.h: Likewise.
5348 * include/bits/stl_algo.h: Likewise.
5349 * include/bits/stl_algobase.h: Likewise.
5350 * include/bits/stl_alloc.h: Likewise.
5351 * include/bits/stl_construct.h: Likewise.
5352 * include/bits/stl_deque.h: Likewise.
5353 * include/bits/stl_function.h: Likewise.
5354 * include/bits/stl_heap.h: Likewise.
5355 * include/bits/stl_iterator.h: Likewise.
5356 * include/bits/stl_iterator_base.h: Likewise.
5357 * include/bits/stl_list.h: Likewise.
5358 * include/bits/stl_map.h: Likewise.
5359 * include/bits/stl_multimap.h: Likewise.
5360 * include/bits/stl_multiset.h: Likewise.
5361 * include/bits/stl_numeric.h: Likewise.
5362 * include/bits/stl_pair.h: Likewise.
5363 * include/bits/stl_pthread_alloc.h: Likewise.
5364 * include/bits/stl_queue.h: Likewise.
5365 * include/bits/stl_raw_storage_iter.h: Likewise.
5366 * include/bits/stl_relops.h: Likewise.
5367 * include/bits/stl_set.h: Likewise.
5368 * include/bits/stl_stack.h: Likewise.
5369 * include/bits/stl_tempbuf.h: Likewise.
5370 * include/bits/stl_threads.h: Likewise.
5371 * include/bits/stl_tree.h: Likewise.
5372 * include/bits/stl_uninitialized.h: Likewise.
5373 * include/bits/stl_vector.h: Likewise.
5374 * include/bits/streambuf.tcc: Likewise.
5375 * include/bits/type_traits.h: Likewise.
5376 * include/bits/valarray_meta.h: Likewise.
5377 * include/ext/bvector: Likewise.
5378 * include/ext/hash_map: Likewise.
5379 * include/ext/hash_set: Likewise.
5380 * include/ext/ropeimpl.h: Likewise.
5381 * include/ext/slist: Likewise.
5382 * include/ext/stl_bvector.h: Likewise.
5383 * include/ext/stl_hash_fun.h: Likewise.
5384 * include/ext/stl_hashtable.h: Likewise.
5385 * include/ext/stl_rope.h: Likewise.
5386 * src/complex_io.cc: Likewise.
5387 * src/ios.cc: Likewise.
5388 * src/locale-inst.cc: Likewise.
5389 * src/locale.cc: Likewise.
5390 * src/localename.cc: Likewise.
5391 * src/misc-inst.cc: Likewise.
5392 * src/stdexcept.cc: Likewise.
5393 * src/stl-inst.cc: Likewise.
5394 * src/strstream.cc: Likewise.
5395 * src/valarray-inst.cc: Likewise.
5397 2001-03-03 Benjamin Kosnik <bkoz@redhat.com>
5399 * src/misc-inst.cc (__copy_streambufs): Fix typo for alpha.
5401 2001-03-02 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
5403 * include/bits/istream.tcc: change type of __extracted to __size_type
5405 2001-03-02 Benjamin Kosnik <bkoz@redhat.com>
5407 * src/wstring-inst.cc: New file.
5408 * src/Makefile.am (EXTRA_LTLIBRARIES): Remove.
5409 (libinst_wstring_la_SOURCES): Remove.
5410 (libstdc___la_LIBADD): Remove libinst_wstring_la.
5411 (sources): Add wstring-inst.cc
5412 * acinclude.m4 (GLIBCPP_CHECK_WCHAR_T_SUPPORT): Remove
5415 2001-03-02 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
5417 * src/locale.cc: initialise __ret with zero
5418 * src/strstream.cc:cast gptr to int_type
5420 2001-03-01 Phil Edwards <pme@sources.redhat.com>
5422 * docs/html/faq/index.html: Update broken links.
5423 * docs/html/faq/index.txt: Regenerated.
5425 2001-02-28 Benjamin Kosnik <bkoz@redhat.com>
5428 * configure.target: Change irix* to irix6.5* in target_os table.
5430 2001-02-28 Benjamin Kosnik <bkoz@redhat.com>
5433 * include/bits/c++config (__GLIBCPP__): Bump number in
5434 anticipation of 2.92.
5436 * include/bits/codecvt.h: Fix typo.
5437 * include/bits/basic_file.h (__basic_file): Don't use _M_wfile for
5439 * acinclude.m4 (GLIBCPP_ENABLE_CSTDIO): Enable wchar_t
5440 instantiations for stdio model.
5442 2001-02-28 Phil Edwards <pme@sources.redhat.com>
5444 * acinclude.m4 (GLIBCPP_CONFIGURE): Remove GLIBCPP_CFLAGS
5445 and GLIBCPP_CXXFLAGS as unused variables.
5446 * configure.host: Likewise.
5447 * configure.target: Likewise.
5448 * aclocal.m4: Regenerated.
5449 * configure: Regenerated.
5450 * Makefile.in: Regenerated.
5451 * libio/Makefile.in: Regenerated.
5452 * libmath/Makefile.in: Regenerated.
5453 * libsupc++/Makefile.in: Regenerated.
5454 * src/Makefile.in: Regenerated.
5456 2001-02-27 Benjamin Kosnik <bkoz@redhat.com>
5459 * include/bits/basic_file.h: Include basic_file_model.h.
5460 * config/c_io_libio.cc: Move to...
5461 * config/basic_file_libio.cc: Here.
5462 * config/basic_file_libio.h: New file.
5463 * config/c_io_stdio.cc: Move to...
5464 * config/basic_file_stdio.cc: Here.
5465 * config/basic_file_stdio.h: New file.
5466 * config/c_io_libio.h: Tweak.
5467 * config/c_io_stdio.h: Tweak.
5468 * src/Makefile.am (build_headers): Add basic_file_model.h.
5469 (sources): Add basic_file.cc, remove c++io.cc.
5470 * src/Makefile.in: Regenerate.
5471 * acinclude.m4 (GLIBCPP_ENABLE_CSTDIO): Add support for
5472 basic_file_model.h and basic_file.cc.
5473 * aclocal.m4: Regenerate.
5474 * configure: Regenerate.
5475 * testsuite/27_io/filebuf.cc (test05): Add regression.
5477 2001-02-27 Benjamin Kosnik <bkoz@redhat.com>
5480 * config/cpu/alpha/bits/atomicity.h: Change.
5481 * config/cpu/arm/bits/atomicit3y.h
5482 * config/cpu/generic/bits/atomicity.h
5483 * config/cpu/i386/bits/atomicity.h
5484 * config/cpu/i486/bits/atomicity.h
5485 * config/cpu/ia64/bits/atomicity.h
5486 * config/cpu/powerpc/bits/atomicity.h
5487 * config/cpu/sparc/sparc32/bits/atomicity.h
5488 * config/cpu/sparc/sparc64/bits/atomicity.h
5489 * config/os/aix/bits/atomicity.h
5490 * config/os/irix/bits/atomicity.h
5492 2001-02-27 Benjamin Kosnik <bkoz@redhat.com>
5494 * include/bits/std_stdexcept.h (runtime_error): Make string
5496 (logic_error): Same.
5497 * testsuite/19_diagnostics/stdexceptions.cc (test04): Add test.
5500 2001-02-26 Benjamin Kosnik <bkoz@redhat.com>
5504 * include/bits/std_stdexcept.h (logic_error::logic_error): Use
5505 string object, not reference.
5506 (runtime_error::runtime_error): Same.
5507 * testsuite/19_diagnostics/stdexceptions.cc: New file.
5509 2001-02-26 Phil Edwards <pme@sources.redhat.com>
5511 * acinclude.m4 (GLIBCPP_CONFIGURE): Update required compiler version.
5512 (GLIBCPP_CHECK_COMPILER_FEATURES): Can safely assume new
5513 diagnostics. Remove WFMT_FLAGS.
5514 * configure.in: Replace WFMT_FLAGS with diagnostics options.
5515 * libsupc++/Makefile.am: Likewise.
5516 * src/Makefile.am: Likewise.
5517 * aclocal.m4: Regenerated.
5518 * configure: Regenerated.
5519 * Makefile.in: Regenerated.
5520 * libio/Makefile.in: Regenerated.
5521 * libmath/Makefile.in: Regenerated.
5522 * libsupc++/Makefile.in: Regenerated.
5523 * src/Makefile.in: Regenerated.
5525 2001-02-26 Phil Edwards <pme@sources.redhat.com>
5527 Fixes libstdc++/2079
5528 * include/backward/iomanip.h: Expose <ios> manipulators to global
5530 * include/backward/iostream.h: Also expose std::ws.
5532 2001-02-25 Greg Freemyer <freemyer@NorcrossGroup.com>
5534 * libmath/mathconf.h (GET_LDOUBLE_MSW64): Fix thinko.
5536 2001-02-23 Benjamin Kosnik <bkoz@redhat.com>
5538 * include/bits/codecvt.h: Use __builtin_alloca.
5539 * include/bits/ostream.tcc: Same.
5540 * include/bits/fstream.tcc: Same.
5542 2001-02-23 Alexandre Oliva <aoliva@redhat.com>
5544 * mknumeric_limits (CC): Use VAR=${VAR=...} form.
5546 2001-02-23 David Edelsohn <dje@watson.ibm.com>
5548 * mknumeric_limits (CC): Use $BUILD_DIR/../../gcc/xgcc
5550 2001-02-23 Phil Edwards <pme@sources.redhat.com>
5553 * include/backward/iostream.h: Expose std::flush in old headers.
5555 2001-02-23 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
5557 * mknumeric_limits: Remove special-casing on target. Use gcc
5558 instead of g++ to build gen-num-limits.cc
5560 2001-02-22 Benjamin Kosnik <bkoz@redhat.com>
5562 * tests_flags.in (CXXFLAGS): Add -rpath to gcc build dir.
5564 * include/bits/codecvt.h: Use alloca instead of __extension__ for
5566 * include/bits/ostream.tcc: Same.
5567 * include/bits/std_ostream.h: Same.
5568 * include/bits/fstream.tcc: Same.
5569 * include/bits/locale_facets.tcc: Add typename.
5570 * include/bits/c++config (_GLIBCPP_FULLY_COMPLIANT_HEADERS): Enable.
5572 2001-02-21 Phil Edwards <pme@sources.redhat.com>
5574 * tests_flags.in: Remove -n flag from call to echo.
5576 2001-02-20 Benjamin Kosnik <bkoz@redhat.com>
5578 * config/c_locale_gnu.h: Add clocale include.
5580 2001-02-20 Phil Edwards <pme@sources.redhat.com>
5582 * include/bits/stl_config.h: Remove file.
5583 * src/Makefile.am (base_headers): Remove from list.
5584 * configure: Regenerate.
5585 * Makefile.in: Ditto.
5586 * libio/Makefile.in: Ditto.
5587 * libmath/Makefile.in: Ditto.
5588 * libsupc++/Makefile.in: Ditto.
5589 * src/Makefile.in: Ditto.
5591 * include/bits/c++config: Move relevant macros to here.
5592 * include/backward/alloc.h: Include c++config.h instead.
5593 * include/backward/function.h: Ditto.
5594 * include/backward/heap.h: Ditto.
5595 * include/backward/pair.h: Ditto.
5596 * include/bits/pthread_allocimpl.h: Ditto.
5597 * include/bits/std_functional.h: Ditto.
5598 * include/bits/std_iterator.h: Ditto.
5599 * include/bits/std_numeric.h: Ditto.
5600 * include/bits/std_utility.h: Ditto.
5601 * include/bits/stl_algobase.h: Ditto.
5602 * include/bits/type_traits.h: Ditto.
5603 * src/stl-inst.cc: Ditto.
5605 2001-02-19 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
5607 * include/bits/basic_file.h: Add #pragma system_header
5608 * include/bits/basic_ios.h: Ditto.
5609 * include/bits/basic_string.h: Ditto.
5610 * include/bits/char_traits.h: Ditto.
5611 * include/bits/codecvt.h: Ditto.
5612 * include/bits/cpp_type_traits.h: Ditto.
5613 * include/bits/fpos.h: Ditto.
5614 * include/bits/gslice.h: Ditto.
5615 * include/bits/gslice_array.h: Ditto.
5616 * include/bits/indirect_array.h: Ditto.
5617 * include/bits/ios_base.h: Ditto.
5618 * include/bits/limits_generic.h: Ditto.
5619 * include/bits/locale_facets.h: Ditto.
5620 * include/bits/localefwd.h: Ditto.
5621 * include/bits/mask_array.h: Ditto.
5622 * include/bits/sbuf_iter.h: Ditto.
5623 * include/bits/sequence_concepts.h: Ditto.
5624 * include/bits/slice.h: Ditto.
5625 * include/bits/slice_array.h: Ditto.
5626 * include/bits/std_algorithm.h: Likewise.
5627 * include/bits/std_bitset.h: Likewise.
5628 * include/bits/std_complex.h: Likewise.
5629 * include/bits/std_deque.h: Likewise.
5630 * include/bits/std_fstream.h: Likewise.
5631 * include/bits/std_functional.h: Likewise.
5632 * include/bits/std_iomanip.h: Likewise.
5633 * include/bits/std_ios.h: Likewise.
5634 * include/bits/std_iosfwd.h: Likewise.
5635 * include/bits/std_iostream.h: Likewise.
5636 * include/bits/std_istream.h: Likewise.
5637 * include/bits/std_iterator.h: Likewise.
5638 * include/bits/std_list.h: Likewise.
5639 * include/bits/std_locale.h: Likewise.
5640 * include/bits/std_map.h: Likewise.
5641 * include/bits/std_memory.h: Likewise.
5642 * include/bits/std_numeric.h: Likewise.
5643 * include/bits/std_ostream.h: Likewise.
5644 * include/bits/std_queue.h: Likewise.
5645 * include/bits/std_set.h: Likewise.
5646 * include/bits/std_sstream.h: Likewise.
5647 * include/bits/std_stack.h: Likewise.
5648 * include/bits/std_stdexcept.h: Likewise.
5649 * include/bits/std_streambuf.h: Likewise.
5650 * include/bits/std_string.h: Likewise.
5651 * include/bits/std_utility.h: Likewise.
5652 * include/bits/std_valarray.h: Likewise.
5653 * include/bits/std_vector.h: Likewise.
5654 * include/bits/stringfwd.h: Likewise.
5655 * include/bits/type_traits.h: Likewise.
5656 * include/bits/valarray_array.h: Likewise.
5657 * include/bits/valarray_meta.h: Likewise.
5659 2001-02-19 Andreas Jaeger <aj@suse.de>
5661 * config/cpu/sparc/sparc64/bits/atomicity.h (__compare_and_swap):
5664 2001-02-16 Greg Bumgardner <bumgard@roguewave.com>
5667 * include/bits/std_ostream.h: Replaced usage of
5668 _Traits::_S_eos() with _CharT() as per section 17.2.2.1.3.
5669 * include/bits/char_traits.h: Removed non-standard
5670 methods that cannot be used elsewhere.
5673 * include/bits/basic_ios.h: Uncommented #include of
5677 * include/bits/codecvt.h: See next...
5678 * include/bits/fstream.tcc: See next...
5679 * include/bits/ostream.tcc: Add __extension__
5680 to variable-length arrays.
5683 * include/bits/localefwd.h: Changed int counter type to size_t.
5686 * include/bits/std_fstream.h: Added typedef for __ctype_type.
5688 2001-02-16 Benjamin Kosnik <bkoz@redhat.com>
5690 * testsuite/21_strings/char_traits.cc: Move to ...
5691 * testsuite/21_strings/char_traits_requirements.cc: ..here.
5692 * testsuite/21_strings/char_traits-int_type.cc: Move to ...
5693 * testsuite/21_strings/char_traits_typedefs.cc: ..here.
5695 2001-02-16 Gabriel Dos Reis <gdr@codesourcery.com>
5697 * libmath/mathconf.h (FINITE_P, INFINITE_P): Remove macro
5700 2001-02-15 Benjamin Kosnik <bkoz@redhat.com>
5702 * include/bits/c++config: Revert.
5704 2001-02-15 Mark Mitchell <mark@codesourcery.com>
5706 * include/bits/istream.tcc: Use ios_base::iostate in place of
5707 iostate throughout. Insert `typename' keyword where necessary.
5708 * include/bits/ostream.tcc: Insert `typename' keyword where
5711 2001-02-15 Jeffrey Oldham <oldham@codesourcery.com>
5713 * include/bits/c++config (_GLIBCPP_FULLY_COMPLIANT_HEADERS):
5714 Define so library is compliant.
5716 2001-02-15 Anthony Green <green@redhat.com>
5718 * acinclude.m4 (glibcpp_toolexeclibdir): Fix test for cross
5720 * aclocal.m4: Regenerate.
5721 * configure: Regenerate.
5723 2001-02-15 Rodney Brown <RodneyBrown@mynd.com>
5725 * acinclude.m4 (GLIBCPP_CHECK_MATH_DECL_1):
5726 Include ieeefp.h for fpclass on UnixWare{2,7}.
5727 * aclocal.m4: Regenerate.
5728 * configure: Regenerate.
5729 * mkcheck.in (size_command): Do without GNU-grep when using
5732 2001-02-15 Mark Mitchell <mark@codesourcery.com>
5734 Remove old ABI support from libsupc++.
5735 * libsupc++/cxxabi.h: Remove conditionally compiled code.
5736 * libsupc++/exception_support.cc: Likewise.
5737 * libsupc++/pure.cc: Likewise.
5738 * libsupc++/tinfo.cc: Likewise.
5739 * libsupc++/tinfo.h: Likewise.
5740 * libsupc++/tinfo2.cc: Likewise.
5741 * libsupc++/typeinfo: Likewise.
5742 * libsupc++/vec.cc: Likewise.
5744 2001-02-15 Benjamin Kosnik <bkoz@redhat.com>
5746 Add support for -fno-exceptions.
5747 * include/bits/exception_support.h: Remove.
5748 * include/bits/basic_string.h: Remove exception_support.
5749 (string::_M_check): Replace __OUTOFRANGE with __throw_out_of_range.
5751 (string::substr): Same.
5752 * include/bits/basic_string.tcc (string::reserve): Replace
5753 __LENGTHERROR with __throw_length_error.
5754 (string::_S_create): Same.
5755 (string::resize): Same.
5756 (string::_M_replace): Same.
5757 (string::replace): Same.
5758 (string::copy): Replace __OUTOFRANGE with __throw_out_of_range.
5759 (string::compare): Same.
5760 * include/bits/stl_vector.h: Remove exception_support.
5761 * src/Makefile.am (base_headers): Remove here.
5762 * src/Makefile.in: Regenerate.
5764 * include/bits/stl_range_errors.h: Remove.
5765 * include/bits/stl_deque.h: Use __throw_range_error.
5766 * include/bits/std_deque.h: Include functexcept.h.
5767 * include/bits/std_vector.h: Same.
5768 * src/Makefile.am (base_headers): Remove here.
5769 * src/Makefile.in: Regenerate.
5770 * include/ext/stl_bvector.h (class __BVECTOR): Use __throw_range_error.
5771 * include/ext/bvector: Remove stl_range_errors.h
5773 * include/bits/c++config (_GLIBCPP_USE_EXCEPTIONS): Remove.
5775 * include/bits/functexcept.h: New file.
5776 * src/functexcept.cc: New file. Definitions for function-based
5778 * src/Makefile.am (sources): Add functexcept.cc.
5779 * src/Makefile.in: Regenerate.
5781 * include/bits/stl_config.h (__STL_USE_EXCEPTIONS): Wrap with
5784 * include/bits/localefwd.h: Include functexcept.h.
5785 * include/bits/std_iosfwd.h: Same.
5787 * include/bits/basic_ios.h: Use __throw_ios_failure instead of
5788 throw basic_ios::failure.
5789 * include/bits/fstream.tcc (filebuf::_M_allocate_buffers):
5790 Use __throw_exception_again.
5791 (filebuf::_M_filebuf_init): Same.
5792 * include/bits/streambuf.tcc (__copy_streambufs): Same.
5793 * include/bits/ostream.tcc (ostream::operator<<): Same.
5794 * include/bits/istream.tcc (istream::operator>>): Same.
5795 * include/bits/basic_string.tcc (string::_M_mutate): Same.
5796 (string::_S_construct): Same.
5797 (string::_M_clone): Same.
5798 * include/bits/locale_facets.tcc (use_facet(const locale&)): Use
5800 (num_put<_CharT, _OutIter>::do_put): Use __throw_exception_again.
5801 * src/localename.cc (locale::_Imp::_Imp(const _Impl&, size_t): Use
5802 __throw_exception_again.
5803 (locale::_Imp::_Imp(string, size_t): Same.
5804 (locale::_Imp::_M_replace_facet): Use __throw_runtime_error.
5805 * src/locale.cc (locale::_M_coalesce): Use __throw_exception_again.
5806 (locale::locale(const char*)): Use __throw_runtime_error.
5807 (locale::classic): Use __throw_exception_again.
5808 (locale::_S_normalize_category): Use __throw_runtime_error.
5810 * src/stdexcept.cc: Remove cruft.
5812 * libsupc++/exception_defines.h: New file.
5813 * libsupc++/new_opnt.cc: Include exception_defines.h.
5814 * libsupc++/vec.cc: Same.
5815 (__cxa_vec_new2): Use __throw_exception_again.
5816 (__cxa_vec_new3): Same.
5817 (__cxa_vec_ctor): Same.
5818 (__cxa_vec_delete3): Same.
5819 (__cxa_vec_cctor): Same.
5820 (__cxa_vec_delete2): Same.
5821 (__cxa_vec_dtor): Same.
5822 * libsupc++/exception_support.cc: Include exception_defines.h. Only
5823 compile exception-handling bits if __EXCEPTIONS is defined.
5824 Remove old ABI support.
5825 * libsupc++/new_op.cc (new): Include exception_defines.h. Use
5826 std::__throw_bad_alloc() instead of throw bad_alloc.
5827 * libsupc++/Makefile.am: Add exception_defines.h.
5828 * libsupc++/Makefile.in: Reformat.
5829 * libsupc++/*: Format.
5831 2001-02-15 Phil Edwards <pme@sources.redhat.com>
5833 * docs/html/configopts.html: Minor updates and typo fixes.
5834 * docs/html/faq/index.html: Updates of the "not really bugs" list.
5835 * docs/html/faq/index.txt: Regenerated.
5837 2001-02-15 Gabriel Dos Reis <gdr@codesourcery.com>
5839 * testsuite/lib/libstdc++.exp: Lift, temporarily, out of
5840 dejagnu/dg.exp. Adapt to log options used to run testcases.
5842 2001-02-13 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
5844 * testsuite/lib/libstdc++.exp(dg-test): Lift temporarily from
5847 2001-02-13 Dirk Mueller <dmuell@gmx.net>
5848 Phil Edwards <pme@sources.redhat.com>
5850 * include/backward/function.h: Do not use rel_ops for older
5852 * include/backward/pair.h: Likewise.
5854 2001-02-12 Mark Mitchell <mark@codesourcery.com>
5856 * src/locale.cc: Remove bogus locale::id definitions.
5858 2001-02-11 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
5860 * include/bits/std_valarray.h: #undef _DEFINE_LOGICAL_OPERATOR,
5861 not _DEFINE_VALARRAY_OPERATOR which is not existent.
5863 * include/bits/valarray_meta.h (_RefFunClos<>_RefRunClos): Fix
5864 thinko in member initialisation.
5866 2001-02-11 Gabriel Dos Reis <gdr@codesourcery.com>
5868 * include/bits/std_valarray.h(valarray<>::shift): Avoid
5869 comparaison between signed and unsigned integer types.
5870 (valarray<>::cshift): Reformat.
5872 2001-02-11 Alexandre Oliva <aoliva@redhat.com>
5874 * src/gen-num-limits.cc: Use sigsetjmp and siglongjmp if available.
5875 * mknumeric_limits: Compile it with -DHAVE_CONFIG_H.
5876 * configure.in: Test for sigsetjmp.
5877 * configure, config.h.in: Rebuilt.
5879 2001-02-11 Gabriel Dos Reis <gdr@codesourcery.com>
5881 * src/valarray-inst.cc (gslice::_Indexer::_Indexer): Don't flip
5882 lengths and strides.
5883 (__gslice_to_index): Document.
5885 2001-02-11 Gabriel Dos Reis <gdr@codesourcery.com>
5887 * include/bits/char_traits.h char_traits<char>::int_type: Change
5888 to `int' to match 21.1.3.1/2.
5890 * testsuite/21_strings/char_traits-int_type.C: New test.
5892 2001-02-10 Gabriel Dos Reis <gdr@codesourcery.com>
5894 * testsuite/Makefile.am: New file.
5896 2001-02-09 Nathan Sidwell <nathan@codesourcery.com>
5898 * include/c_shadow/bits/std_cstdlib.h (lldiv_t): Fix typo.
5900 2001-02-08 Loren J. Rittle <ljrittle@acm.org>
5902 * src/locale-inst.cc (fill_n): Instantiate with size_t arguments.
5904 2001-02-08 David Edelsohn <edelsohn@gnu.org>
5906 * configure.target (aix4*): Remove extra set of brackets.
5908 2001-02-07 Benjamin Kosnik <bkoz@redhat.com>
5911 * include/bits/stringfwd.h: New file.
5912 * include/bits/stl_string_fwd.h: Remove.
5913 * include/bits/localefwd.h: Remove declaration for allocator.
5914 * include/bits/std_iosfwd: Same.
5915 * include/bits/std_string.h: Include it.
5916 * include/bits/std_ios.h: Remove include.
5917 * include/bits/basic_string.h: Tweak.
5918 * libsupc++/new: Format.
5919 * src/Makefile.am (base_headers): Add stringfwd.h, remove
5921 * src/Makefile.in: Regenerate.
5922 * include/bits/std_stdexcept.h: Rewrite.
5923 * src/stdexcept.cc: Same.
5925 2001-02-06 Benjamin Kosnik <bkoz@redhat.com>
5927 * acinclude.m4 (GLIBCPP_EXPORT_INSTALL_INFO): Deal with library
5928 install locations too.
5929 * aclocal.m4: Regenerate.
5930 * configure.in: Remove USE_LIBDIR.
5931 * configure: Regenerate.
5932 * src/Makefile.am (toolexecdir): Simplify, use
5933 glibcpp_toolexecdir, glibcpp_toolexeclibdir.
5934 * src/Makefile.in: Regenerate.
5935 * libsupc++/Makefile.am: Same.
5936 * libsupc++/Makefile.in: Regenerate.
5938 * src/Makefile.am: Just remove special rules for locale-inst.cc and
5939 misc-inst.cc as no longer necessary.
5941 Follow C++STYLE for naming non-static functions.
5942 * include/bits/ostream.tcc (_S_pad_char): Not static, rename to
5944 * include/bits/streambuf.tcc: Same.
5945 * include/bits/ostream.tcc: Same.
5946 * include/bits/istream.tcc: Same.
5947 * include/bits/locale_facets.tcc (_S_pad_numeric): To __pad_numeric.
5948 (_S_output_float): To __output_float.
5949 * include/bits/std_streambuf.h (_S_copy_streambufs): To
5951 * include/bits/locale_facets.tcc (_S_build_float_format): To
5952 __build_float_format.
5953 (_S_format): To __output_integer.
5954 (_S_fill): To __pad.
5955 * src/locale.cc: Same.
5956 * src/misc-inst.cc: Fix formatting. Fix signature for wchar_t. Correct
5958 * include/bits/locale_facets.tcc (_S_group_digits): To
5960 * src/locale-inst.cc: Fixup names. Add use_facet instantiations
5961 for collate, numpunct.
5963 2001-02-06 Phil Edwards <pme@sources.redhat.com>
5965 * docs/html/configopts.html: Fix HTML markup.
5966 * docs/html/install.html: Bring up to date.
5967 * docs/html/17_intro/C++STYLE: Add global variable conventions.
5968 * docs/html/21_strings/howto.html: More notes.
5969 * docs/html/22_locale/howto.html: Fix HTML markup.
5970 * docs/html/27_io/howto.html: More notes.
5971 * docs/html/27_io/binary_iostreams_kanze.txt: New file.
5972 * docs/html/27_io/binary_iostreams_kuehl.txt: New file.
5974 2001-02-06 Jeffrey Oldham <oldham@codesourcery.com>
5976 * src/misc-inst.cc (_S_pad_char): Modify declaration's parameters
5977 to match header files.
5978 (_S_output_float): Likewise.
5979 (_S_copy_streambufs): Likewise.
5981 2001-02-06 Hyman Rosen <Hyman.Rosen@kbcfp.com>
5982 Phil Edwards <pme@sources.redhat.com>
5984 * include/bits/std_istream.h (op>> signed,unsigned char): Must
5985 use reinterpret_cast, not static_cast.
5987 2001-02-06 Benjamin Kosnik <bkoz@redhat.com>
5989 * acinclude.m4 (gxx_include_dir): Quote, fix regression.
5990 * aclocal.m4: Regenerate.
5991 * configure: Regenerate.
5993 2001-02-05 Benjamin Kosnik <bkoz@redhat.com>
5995 * include/bits/locale_facets.h (class moneypunct): Fix typos.
5996 * libsupc++/pure.cc: Revert.
5998 2001-02-05 Benjamin Kosnik <bkoz@redhat.com>
6000 * acinclude.m4 (GLIBCPP_CHECK_MATH_DECL_1): New macro.
6001 (GLIBCPP_CHECK_MATH_DECL_2): New macro.
6002 (GLIBCPP_CHECK_MATH_DECL_3): New macro.
6003 (GLIBCPP_CHECK_MATH_DECL_AND_LINKAGE_1): Use it, check for _* too.
6004 (GLIBCPP_CHECK_MATH_DECL_AND_LINKAGE_2): Same.
6005 (GLIBCPP_CHECK_MATH_DECL_AND_LINKAGE_3): Same.
6006 (GLIBCPP_CHECK_MATH_SUPPORT): Remove explicit checks for _* versions.
6007 * aclocal.m4: Regenerate.
6008 * configure: Regenerate.
6010 2001-02-05 Mark Mitchell <mark@codesourcery.com>
6012 * include/bits/locale_facets.tcc: Remove `static' keyword on
6013 function definitions.
6014 * include/bits/std_streambuf.h: Likewise.
6015 * src/Makefile.am: Remove use of -fimplicit-templates.
6016 * src/Makefile.in: Regenerated.
6017 * src/locale-inst.cc: Explicitly instantiate more functions.
6018 * src/misc-inst.cc: Likewise.
6019 * src/string-inst.cc: Likewise.
6021 2001-02-05 Benjamin Kosnik <bkoz@redhat.com>
6023 * acinclude.m4 (GLIBCPP_EXPORT_INSTALL_INFO): New
6024 macro. Consolidate all the bits to do with where includes might be
6026 * aclocal.m4: Regenerate.
6027 * configure.in: Use it.
6028 * configure: Regenerate.
6029 * src/Makefile.am (targetincludep): Use simplified rules.
6030 (targetincludep): Rename gxx_target_include_dir.
6031 (myincludep): Rename gxx_include_dir.
6032 * src/Makefile.in: Regenerate.
6033 * libsupc++/Makefile.am: Use simplified rules.
6034 * libsupc++/Makefile.in: Regenerate.
6036 2001-02-05 Benjamin Kosnik <bkoz@redhat.com>
6038 * include/c_std/bits/std_cerrno.h: Correct date format for copyright.
6039 * include/c_std/bits/std_cctype.h: Same.
6040 * include/c_std/bits/std_cassert.h: Same.
6041 * include/c_std/bits/std_cstdarg.h: Same.
6042 * include/c_std/bits/std_cstddef.h: Same.
6044 * include/c_std/bits/std_cstdio.h: Undefine all names brought into
6046 * include/c_std/bits/std_ctime.h: Same.
6047 * include/c_std/bits/std_clocale.h: Same.
6048 * include/c_std/bits/std_cmath.h: Same.
6049 * include/c_std/bits/std_csetjmp.h: Same.
6050 * include/c_std/bits/std_csignal.h: Same.
6051 * include/c_std/bits/std_cstring.h: Same.
6052 * include/c_std/bits/std_cstdlib.h: Same.
6053 * include/c_std/bits/std_cwchar.h: Same.
6055 2001-02-05 Phil Edwards <pme@sources.redhat.com>
6057 * testsuite/27_io/ios_base_members_static.cc: Swap order of tests.
6059 2001-02-05 Mark Mitchell <mark@codesourcery.com>
6061 * src/string-inst.cc (string::_M_replace): Explicitly instantiate.
6062 (string::_S_construct): Likewise.
6064 2001-02-05 Gabriel Dos Reis <gdr@codesourcery.com>
6066 * testsuite/config/default.exp: New file.
6067 * testsuite/config: New directory.
6069 2001-02-04 Mark Mitchell <mark@codesourcery.com>
6071 * libsupc++/typeinfo (__GXX_MERGED_TYPEINFO_NAMES): New macro.
6072 * libsupc++/tinfo.cc (std::typeinfo::operator==): Use strcmp
6073 whenever !__GXX_MERGED_TYPEINFO_NAMES.
6074 * libsupc++/tinfo2.cc (std::typeinfo::before): Likewise.
6076 2001-02-03 Alexandre Oliva <aoliva@redhat.com>
6077 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
6079 * Makefile.am (mkinstalldirs): Set.
6080 * src/Makefile.am (mkinstalldirs): Set.
6081 * libmath/Makefile.am (mkinstalldirs): Set.
6082 * libsup++/Makefile.am (mkinstalldirs): Set.
6083 * libio/Makefile.am (mkinstalldirs): Set.
6084 * */Makefile.in: Regenerate.
6086 2001-02-03 Benjamin Kosnik <bkoz@redhat.com>
6088 * include/bits/stl_threads.h (struct _STL_mutex_lock): Same.
6089 * include/bits/localefwd.h: More initialization cleanups.
6091 2001-02-03 Jeffrey A Law <law@cygnus.com>
6093 * include/bits/ios_base.h (_S_ios_fmtflags_end): Initialize
6094 correctly targets with 16bit ints.
6095 (_S_ios_openmode_end): Similarly.
6096 (_S_ios_iostate_end): Similarly.
6097 (_S_ios_Seekdir_end): Similarly.
6099 2001-02-02 Phil Edwards <pme@sources.redhat.com>
6101 * mkcheck.in: Also limit virtual memory size, for mmap-based mallocs.
6103 2001-02-01 Alexandre Oliva <aoliva@redhat.com>
6105 * configure.in (toplevel_srcdir, auxdir): Set.
6106 * acinclude.m4 (glibcpp_basedir): Set based on auxdir.
6107 * aclocal.m4, configure, Makefile.in: Rebuilt.
6108 * libio/Makefile.in, math/Makefile.in, src/Makefile.in: Likewise.
6109 * libsupc++-v3/Makefile.am (INCLUDES): Use toplevel_srcdir.
6110 * libsupc++-v3/Makefile.in: Rebuilt.
6111 * libsupc++-v3/configure.in, libsupc++-v3/configure: Removed.
6112 * libsupc++-v3/aclocal.m4, libsupc++-v3/config.h.in: Likewise.
6114 2001-01-30 Benjamin Kosnik <bkoz@redhat.com>
6116 * config/c_locale_generic.cc: Remove langinfo include.
6118 2001-01-29 Benjamin Kosnik <bkoz@redhat.com>
6120 Preliminary named locales.
6121 * acinclude.m4 (GLIBCPP_ENABLE_CLOCALE): New macro.
6122 * aclocal.m4: Regenerate.
6123 * configure.in: Use it.
6124 * configure: Regerate.
6125 * src/Makefile.am (sources): Add c++locale.cc.
6126 (build_headers): Add c++locale.h.
6127 * src/Makefile.in: Regenerate.
6128 * config/c_locale_gnu.h: New file.
6129 * config/c_locale_gnu.cc: New file. Non-inline member functions
6130 for named locales, gnu-specific.
6131 * config/c_locale_generic.h: New file.
6132 * config/c_locale_generic.cc: New file. Non-inline member
6133 functions for named locales, generic version.
6134 * docs/html/configopts.html: Add documentation on new options.
6136 * include/bits/locale_facets.h (class _Messages): Remove.
6137 (class _Moneypunct): Remove.
6138 * src/locale-inst.cc: Remove.
6140 * include/bits/locale_facets.h (class _Collate): Remove.
6141 * src/locale-inst.cc (std): Remove.
6142 * src/locale.cc: And here.
6144 * include/bits/localefwd.h (locale::_M_coalesce): New
6145 function. Correctly put together multi-name locales.
6146 (_Impl(const _Impl&, category, size_t)): Remove.
6148 * include/bits/localefwd.h (locale::_Impl): Remove _M_construct_*
6150 (_M_normalize_category_names): Remove.
6151 (_M_replace_categories): Fix.
6153 * src/localename.cc (locale::_Impl::_M_construct_collate): Remove.
6154 (locale::_Impl::_M_construct_ctype): Remove.
6155 (locale::_Impl::_M_construct_monetary): Remove.
6156 (locale::_Impl::_M_construct_numeric): Remove.
6157 (locale::_Impl::_M_construct_time): Remove.
6158 (locale::_Impl::_M_construct_messages): Remove.
6160 * include/bits/locale_facets.h (_Bad_use_facet): Remove.
6161 (_Use_facet_failure_handle): Remove.
6162 * src/locale.cc: Remove definitions.
6163 * src/locale-inst.cc: And here.
6165 * testsuite/22_locale/ctor_copy_dtor.cc (test01): Fixup. Add tests.
6167 * src/localename.cc (locale::facet::_S_create_c_locale): Properly
6168 create and error-check underlying locale object.
6169 (locale::facet::_S_destroy_c_locale): Add, take care of properly
6170 tearing down underlying locale object.
6171 * include/bits/localefwd.h (locale::facet): Declare.
6172 * testsuite/22_locale/members.cc: Don't test "fr_FR" locale for
6173 correctness, as glibc apparently has incorrect info in it. Test
6174 with it when it works again.....
6176 * include/bits/localefwd.h (locale::_Impl::__vec_string):
6177 Remove. Number of categories is fixed at six, so just simplify and
6178 make this an array of strings.
6179 (locale::_Impl::_M_has_name): Remove.
6180 (locale::_Impl::_M_name): Remove.
6181 (locale::_Impl::_M_category_names): Turns into...
6182 (locale::_Impl::_M_names): ...this.
6183 (locale::_Impl::_M_has_same_name()): New function.
6184 * src/localename.cc (locale::_Impl::~_Impl()): Remove here.
6185 (locale::_Impl::_Impl(size_t __refs, string __str)): Simplify
6187 * src/locale.cc (locale::name()): Construct mangled name
6188 accurately reflecting combined locale categories.
6190 * src/locale.cc (locale::classic()): Don't initialize here.
6191 * src/localename.cc (locale::_Impl::_Impl(size_t __num, size_t
6192 __refs, bool __has_name, string __str): Do it here.
6194 * include/bits/localefwd.h: _S_categories_num to
6195 _S_num_categories. _S_facets_num to _S_num_facets.
6196 (locale::id::id()): Explicitly set _M_index to zero.
6197 * src/locale.cc: Same.
6199 * src/locale.cc: (locale::locale(const char*)): Construct named
6202 * src/locale.cc: Remove numpunct_byname ctors.
6203 * testsuite/22_locale/numpunct_byname.cc: New file.
6204 * testsuite/22_locale/numpunct.cc: New file.
6206 * include/bits/localefwd.h (class locale): Change data members to
6207 protected, from private.
6208 (_Impl::_M_get_c_locale): Add member function.
6209 (locale::facet::_M_get_global_impl()): Add member function.
6210 * include/bits/locale_facets.h (numpunct::_M_init): Change to take
6211 a __c_locale pointer.
6212 (numpunct::numpunct( __c_locale*, size_t)): Add additonal ctor for
6214 * testsuite/22_locale/members.cc: New file, test name and combine.
6216 * include/bits/locale_facets.h (class numpunct): Remove class
6217 _Punct and _Numpunct. Rewrite class numpunct to be correct for
6219 * include/bits/localefwd.h (locale::_Imp::_M_c_locale): Add.
6220 * src/localename.cc (_Impl::~_Impl()): Call __frelocale.
6221 (_Imp::_Impl(size_t, size_t, bool, string)) Initialize _M_c_locale.
6222 * src/locale-inst.cc: Remove _Numpunct, _Punct instantiations.
6223 * testsuite/22_locale/numpunct_char_members.cc: New file.
6225 2001-01-28 Gabriel Dos Reis <gdr@codesourcery.com>
6227 * testsuite/README: Add more comment.
6228 * testsuite/lib/libstdc++.exp: Tweak comment.
6230 2001-01-26 Benjamin Kosnik <bkoz@kredhat.com>
6232 * libsupc++/pure.cc (writestr): Just use cstdio and std::fputs.
6234 2001-01-25 Loren J. Rittle <ljrittle@acm.org>
6236 * testsuite/21_strings/inserters_extractors.cc: Remove
6237 explicit reference to 'testsuite/'.
6239 2001-01-25 Richard Henderson <rth@redhat.com>
6241 * config/cpu/alpha/bits/atomicity.h: Remove tricky .subsetion
6242 bits. Fixes Tru64 build issues.
6244 2001-01-25 Michael Sokolov <msokolov@ivan.Harhan.ORG>
6246 * acinclude.m4 (GLIBCPP_CHECK_GNU_MAKE): Bourne shell portability bug
6247 (use ${MAKE-make}, not ${MAKE:-make}).
6248 * aclocal.m4, configure: Regenerate.
6250 2001-01-25 Mark Mitchell <mark@codesourcery.com>
6252 * src/ios.cc: Remove accidental inclusion of <stdio.h> in last
6255 * src/Makefile.am (sources): Add globals.cc.
6256 * src/Makefile.in: Regenerated.
6257 * src/globals.cc: New file.
6258 * src/ios.cc (cin): Don't define here, just declare extern.
6267 2001-01-25 Phil Edwards <pme@sources.redhat.com>
6269 * include/bits/std_iterator.h: Do not include stl_relops.h.
6270 * include/bits/std_numeric.h: Ditto.
6271 * include/bits/stl_algobase.h: Ditto.
6272 * include/bits/stl_relops.h: Add comment warning about problems.
6274 2001-01-25 Gabriel Dos Reis <gdr@codesourcery.com>
6276 * testsuite/27_io/*.cc: Remove explicit reference to 'testsuite/'
6277 in testcases. Prepare for the DejaGnu based framework.
6278 * mkcheck.in: Adjust call to tests_flags. Don't mmkdir testsuite
6279 directory -- it is now mkcheck working directory.
6280 * tests_flags.in: Remove reference to $(top_srcdir). Use
6282 * Makefile.am (check, check-install): Change mkcheck invocation
6284 * Makefile.in: Regenerate.
6286 2001-01-24 Mark Mitchell <mark@codesourcery.com>
6288 * config/os/aix/bits/atomicity.h (__compare_and_swap): Remove.
6289 (__always_swap): Likewise.
6291 2001-01-23 Chris Demetriou <cgd@broadcom.com>
6293 * libsupc++/exception_support.cc (__terminate_func): Remove
6295 (__terminate_func_ptr): New typedef.
6296 (__terminate, __terminate_set_func): New extern function
6298 (std::terminate): Use __terminate function.
6299 (std::set_terminate): Use __terminate_set_func function.
6301 2001-01-23 Benjamin Kosnik <bkoz@redhat.com>
6303 * configure.target: Just use os_include_dir always.
6304 * configure.in: Remove calls to GLIBCPP_CHECK_CTYPE_SUPPORT.
6305 Link atomicity files and ctype files here.
6306 * configure: Regenerate.
6307 * acinclude.m4 (GLIBCPP_CHECK_CTYPE_SUPPORT): Remove.
6308 (GLIBCPP_ENABLE_ATOMICITY): Remove.
6309 * aclocal.m4: Regenerate.
6311 2001-01-23 Chris Demetriou <cgd@broadcom.com>
6313 * configure.in: Place definition of MULTISUBDIR in
6314 libsupc++/Makefile as is done for src/Makefile.
6315 * configure: Regenerate.
6317 2001-01-23 Phil Edwards <pme@sources.redhat.com>
6319 * acinclude.m4: Cosmetic changes only.
6320 * aclocal.m4: Regenerated.
6321 * configure: Regenerated.
6322 * configure.target: Update documented list of changed variables.
6323 * docs/html/install.html: Fix typo.
6324 * docs/html/20_util/howto.html: More notes on auto_ptr.
6325 * docs/html/27_io/howto.html: More notes on streabufs.
6326 * docs/html/faq/index.html: Add rel_ops problem and mention the
6327 DEC as(1) .subsection difficulty.
6328 * docs/html/faq/index.txt: Regenerated.
6330 2001-01-23 Mark Mitchell <mark@codesourcery.com>
6332 * ainclude.m4 (GLIBCPP_CHEC_MATH_DECLS_AND_LINKAGE_1): New macro.
6333 (GLIBCPP_CHECK_MATH_SUPPORT): Use it.
6334 (GLIBCPP_CHECK_TYPE_SUPPORT): Don't autoconf ctype information if
6335 its already provided in config.target.
6336 * aclocal.m4: Regenerated.
6337 * configure: Likewise.
6338 * configure.target: Set ctype_include_dir for lots of systems.
6339 * libsupc++/Makefile.am: Explicitly include --tag disable-shared.
6340 * libsupc++/Makefile.in: Regenerated.
6342 2001-01-23 Gabriel Dos Reis <gdr@codesourcery.com>
6344 * testsuite/lib/libstdc++.exp: Improve. Add support for @xxx#
6347 * testsuite/README: Add comment.
6349 2001-01-21 Phil Edwards <pme@sources.redhat.com>
6351 * docs/html/configopts.html: Update for current status. Fix HTML.
6352 * docs/html/install.html: Update for current status.
6354 2001-01-20 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
6356 * testsuite/libstdc++.tests/tests.exp: New file.
6357 * testsuite/lib/libstdc++.exp: Itou.
6358 * testsuite/README: Itou.
6360 2001-01-20 Gabriel Dos Reis <gdr@codesourcery.com>
6362 * tests_flags.in: Just output the bare minimum to run tests.
6363 Let's the caller do its own arrangement.
6365 * mkcheck.in: Rename INC_PATH to INCLUDES. Adjust flags
6368 2001-01-19 Gabriel Dos Reis <gdr@codesourcery.com>
6370 * testsuite/17_intro: Prepare testcases for new style DejaGnu
6373 2001-01-18 Gabriel Dos Reis <gdr@codesourcery.com>
6375 * testsuite/libstdc++.tests, testsuite/lib: New directories.
6377 2001-01-17 Loren J. Rittle <ljrittle@acm.org>
6379 * mkcheck.in: Construct file names that match $objdir structure.
6380 * testsuite/27_io/filebuf_members-1.txt: New file.
6381 * testsuite/27_io/ifstream_members-1.txt: New file.
6382 * testsuite/27_io/ostream_inserter_char-1.txt: New file.
6384 * testsuite/27_io/ios_base_members_static.cc (test02): Add test.
6385 * testsuite/27_io/ios_base_members_static-1.tst: Add expected output.
6387 2001-01-17 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
6389 * testsuite/27_io/istream_sentry.cc (test02): Fix.
6391 2001-01-17 Benjamin Kosnik <bkoz@redhat.com>
6394 * include/bits/ios_base.h (ios_base::failure): Tighten up throw specs.
6395 * src/ios.cc (ios_base::failure): Make definitions match.
6396 * libsupc++/typeinfo (class bad_typeid): Add throw specs.
6397 (class bad_cast): Same.
6398 * libsupc++/exception (class exception): Add throw specs.
6399 * libsupc++/exception_support.cc (set_terminate): Add throw specs.
6400 (set_unexpected): Same.
6401 (uncaught_exception): Same.
6404 * docs/html/17_intro/C++STYLE (classname): Fix.
6406 2001-01-16 Mark Mitchell <mark@codesourcery.com>
6408 * src/gen-num-limits.cc (INSTANTIATIONS): New macro.
6409 Use it do explicitly instantiate predicate<T> and value<T> for
6412 2001-01-16 Nathan Sidwell <nathan@codesourcery.com>
6414 * libsupc++/exception_support.cc (__cp_pop_exception): Fix
6415 uninitialized thinko in last change.
6417 2001-01-16 Mark Mitchell <mark@codesourcery.com>
6419 * libsupc++/exception_support.cc (__cp_pop_exception): Change
6422 2001-01-16 Benjamin Kosnik <bkoz@redhat.com>
6424 * docs/html/17_intro/C++STYLE (classname): Add more existing
6425 and stylish patterns.
6428 * include/bits/istream.tcc (istream::sentry::sentry()): Set
6429 failbit if the state of the stream is not good.
6430 * testsuite/27_io/istream_sentry.cc (test02): Add test.
6431 * testsuite/27_io/istream_manip.cc (test01): Modify.
6434 reported by Paolo Carlini <pcarlini@unitus.it>
6435 * include/bits/istream.tcc (operator>>(istream&, string&)): Fix.
6436 * testsuite/21_strings/inserters_extractors.cc (test08): Add test.
6439 * include/bits/std_streambuf.h (setp): Set _M_buf_size correctly.
6440 * include/bits/streambuf.tcc (xsputn): Remove outside if clause.
6441 (xsgetn): Same. Simplify.
6442 * testsuite/27_io/streambuf.cc (test04): Add testcases.
6444 reported by Larry Evans <jcampbell3@prodigy.net>
6445 * include/bits/streambuf.tcc (streambuf::xsputn): Just check for
6446 equality with eof on returned value from overflow.
6448 2001-01-14 Andreas Jaeger <aj@suse.de>
6450 * libio/libio.h: Add test for glibc 2.0.
6452 2001-01-12 Benjamin Kosnik <bkoz@redhat.com>
6454 * config/os/djgpp/bits/*: Fix dates.
6456 * include/bits/basic_string.h (_S_find(const _CharT* __beg, const
6457 _CharT* __end, _CharT __c): Remove.
6458 * include/bits/basic_string.tcc: Substitute traits::find for _S_find.
6459 * include/bits/char_traits.h: Tweak.
6461 2001-01-12 Laurynas Biveinis <lauras@softhome.net>
6463 * acinclude.m4 (GLIBCPP_CHECK_CTYPE_SUPPORT): check for DJGPP <ctype.h>
6464 (LIB_AC_PROG_CXX): replace [/\\] with [\\/] to work around older
6466 * aclocal.m4: regenerated.
6467 * configure.target: set os_include_dir to config/os/djgpp under DJGPP.
6468 * configure: regenerated.
6469 * config/os/djgpp, config/os/djgpp/bits: new directories.
6470 * config/os/djgpp/bits/ctype_base.h,
6471 config/os/djgpp/bits/ctype_inline.h,
6472 config/os/djgpp/bits/ctype_noninline.h,
6473 config/os/djgpp/bits/os_defines.h: new files.
6475 2001-01-11 Joseph S. Myers <jsm28@cam.ac.uk>
6477 * include/c_std/bits/std_cstdio.h: Undef printf.
6479 2001-01-10 Benjamin Kosnik <bkoz@redhat.com>
6481 * src/ios.cc: Fix typo: change cout->wcout.
6483 * src/Makefile.am (targetincludep): Fix for version-specific-libs.
6484 * src/Makefile.in: Regenerate.
6486 2001-01-10 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
6488 * include/bits/std_complex.h: Fix a typo.
6490 2001-01-09 Benjamin Kosnik <bkoz@redhat.com>
6493 Fixes for libstdc++/1576
6494 * src/stdstreams.cc: Initialize with NULL filebuf. Delete
6495 file, move contents into....
6496 * src/ios.cc: ...Here. Put defines for iostreams objects and
6497 initialization routines into one file to simplify DSO interaction.
6498 * include/bits/std_iostream.h: Touch.
6499 * include/bits/ios_base.h (_S_synched_with_stdio): Make static.
6500 * src/Makefile.am (sources): Remove stdstreams.cc.
6501 * src/Makefile.in: Regenerate.
6503 2001-01-10 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
6505 * tests_flags.in (check_directory): Fix typo.
6507 2001-01-09 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
6509 * include/bits/std_complex.h: Fix a typo.
6511 2001-01-09 Loren J. Rittle <ljrittle@acm.org>
6513 * config/os/bsd/freebsd/bits/ctype_inline.h (is): (Make right
6514 code path:) Remove magic constants and restructure to handle
6515 ctype.h bit mask layout changes more gracefully. (Make fast
6516 code path:) Use __maskrune (), if available.
6517 (is): Remove special case for digit and xdigit masks.
6519 2001-01-09 Robert Lipe <robertlipe@usa.net>
6521 * include/c_std/bits/std_ctime.h: Undefine difftime.
6523 2001-01-09 Alexandre Oliva <aoliva@redhat.com>
6525 * src/gen-num-limits.cc (signal_adapter): New template function.
6526 (signal_handler): Use it, instead of signal.
6527 (traps<T>): Likewise. Install SIGTRAP handler too. Don't
6528 require both tests to trap to set trap_flag.
6530 2001-01-08 Benjamin Kosnik <bkoz@redhat.com>
6532 * include/bits/fpos.h (fpos:::fpos(streamoff __pos)): Explicitly
6533 initialize mbstate_t member, name offset data members *off, not pos.
6534 * include/bits/fstream.tcc (filebuf::filebuf): Same.
6536 2001-01-08 Benjamin Kosnik <bkoz@redhat.com>
6538 reported by Chris G. Demetriou <cgd@sibyte.com>
6539 * configure.in: Change -linux-* to -linux*.
6540 * configure: Regenerate.
6542 2001-01-05 Benjamin Kosnik <bkoz@redhat.com>
6544 Fix 27_io/filebuf_members.cc
6545 * src/localename.cc (locale::_Impl::_Impl(const _Impl& __imp,
6546 const string& __name, category __cat, size_t __refs): Set
6547 _M_has_name with _M_name.
6548 * include/bits/localefwd.h (locale::operator!=): Protect member
6549 function call with this->.
6550 * src/locale.cc (locale::operator==): Make fast checks first.
6551 * include/bits/basic_ios.tcc (basic_ios::init): Simplify.
6553 * include/bits/ios_base.h (_M_synced_with_stdio): Add data member
6555 * src/ios.cc (ios_base::Init::Init): Initialize here.
6556 (ios_base::sync_with_stdio): Set here.
6558 2001-01-04 Loren J. Rittle <ljrittle@acm.org>
6560 * config/c_io_stdio.cc (__basic_file<_CharT>::sys_open()): On
6561 systems that support it, call dup() before fdopen().
6563 2001-01-03 Benjamin Kosnik <bkoz@redhat.com>
6565 * include/c_std/bits/std_cwctype.h: Include std_cwchar.h for wint_t.
6566 * testsuite/17_intro/header_cwctype.cc (main): New file.
6568 * src/Makefile.am (base_headers): Change.
6569 * include/bits/std_string.h: And here.
6570 * include/bits/string.tcc: Tweaks, move to...
6571 * include/bits/basic_string.tcc: ...Here.
6572 * src/string-inst.cc: Simplify, just instantiate the whole class,
6573 not member-by-member.
6575 2001-01-02 Benjamin Kosnik <bkoz@redhat.com>
6577 * acinclude.m4 (GLIBCPP_ENABLD_CSTDIO): Add in default value.
6578 * aclocal.m4: Regenerate.
6579 * configure: Regenerate.
6581 * include/bits/c++config (__GLIBCPP__): Bump version number.
6583 * ChangeLog: Start new log for year 2001
6584 * ChangeLog-2000: New file.
6586 * docs/html/configopts.html: Make sure default values are current,
6589 2001-01-01 Benjamin Kosnik <bkoz@fillmore.redhat.com>
6591 * include/c_std/bits/std_cwchar.h: Same.
6592 * testsuite/17_intro/header_cwchar.cc: Same.
6593 * include/c_std/bits/std_ctime.h: Same.
6594 * testsuite/17_intro/header_ctime.cc: Same.
6595 * include/c_std/bits/std_cstdlib.h: Same.
6596 Clean up undefs, make consistent with cwchar and cmath, etc.
6597 * testsuite/17_intro/header_cstdlib.cc: Same.
6598 * include/c_std/bits/std_cstdio.h: Same here.
6599 * testsuite/17_intro/header_cstring.cc: Same.
6600 * include/c_std/bits/std_cstring.h: Include std_cstddef.h for size_t.
6601 * testsuite/17_intro/header_cstring.cc: New file. Check for
6602 size_t in namespace std.
6604 * include/c_std/bits/std_cwchar.h: Explicit checks for mbstate_t.
6605 * acconfig.h (HAVE_MBSTATE_T): Add.
6606 * config.h.in: Regenerate.
6607 * acinclude.m4(GLIBCPP_CHECK_WCHAR_T_SUPPORT): Always test for
6609 * aclocal.m4: Regenerate.
6610 * configure: Regenerate.
6611 * testsuite/17_intro/headers_c++.cc: New file.
6612 * testsuite/17_intro/headers_c.cc: Small changes.
6614 2001-01-01 David Billinghurst <David.Billinghurst@riotinto.com>
6616 * tests_flags.in: Fix typo in usage.
6618 * tests_flags.in: Set target specific LIBS for cygwin.