1 2002-01-16 Benjamin Kosnik <bkoz@redhat.com>
3 * include/Makefile.am (c_base_headers_rename): New.
4 (c_base_headers_extra): New.
5 (stamp-c_base): Modify.
6 (install-data-local): Use both.
7 * include/Makefile.in: Regenerate.
8 * include/c/[cctype ciso646 cmath cstdarg cstdlib cerrno climits
9 csetjmp cstddef cstring cwchar cassert cfloat clocale csignal
10 cstdio ctime cwctype]: Move to..
11 * include/c/std_*: Here.
12 * include/c_std/[cctype ciso646 cmath cstdarg cstdlib cerrno climits
13 csetjmp cstddef cstring cwchar cassert cfloat clocale csignal
14 cstdio ctime cwctype]: Move to..
15 * include/c_std/std_*: Here.
17 Alexandre Oliva <aoliva@redhat.com>
18 * include/Makefile.am (.PRECIOUS): Add rule.
19 * include/Makefile.in: Regenerate.
21 2002-01-16 Benjamin Kosnik <bkoz@redhat.com>
22 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
24 * include/bits/stl_iterator.h (reverse_iterator::_M_current):
25 Deuglify, should be current.
26 (back_insert_iterator::_M_container): Deuglify, should be container.
27 (front_insert_iterator::_M_container): Same.
28 (insert_iterator::_M_container): Same.
29 * testsuite/24_iterators/reverse_iterator.cc: Add check.
30 * testsuite/24_iterators/back_insert_iterator.cc: Add check.
31 * testsuite/24_iterators/front_insert_iterator.cc: Same.
32 * testsuite/24_iterators/insert_iterator.cc: Same.
34 2002-01-16 Benjamin Kosnik <bkoz@redhat.com>
36 * include/bits/locale_facets.h (ctype<char>::classic_table): Make
38 (ctype<char>::_M_ctable): Make static, change name to _S_ctable.
39 * config/os/gnu-linux/bits/ctype_noninline.h: Define _S_ctable.
40 * config/os/solaris/solaris2.7/bits/ctype_noninline.h: Same.
41 * config/os/solaris/solaris2.6/bits/ctype_noninline.h: Same.
42 * config/os/solaris/solaris2.5/bits/ctype_noninline.h: Same.
43 * config/os/newlib/bits/ctype_noninline.h: Same.
44 * config/os/irix/irix6.5/bits/ctype_noninline.h: Same.
45 * config/os/irix/irix5.2/bits/ctype_noninline.h: Same.
46 * config/os/hpux/bits/ctype_noninline.h: Same.
47 * config/os/djgpp/bits/ctype_noninline.h: Same.
48 * config/os/bsd/netbsd/bits/ctype_noninline.h: Same.
49 * config/os/bsd/freebsd/bits/ctype_noninline.h: Same.
50 * config/os/aix/bits/ctype_noninline.h: Same.
52 Testcase by Dietmar Kühl via Peter Schmid
53 * testsuite/22_locale/ctype_members_char.cc (char>): Add test for
56 2002-01-16 Benjamin Kosnik <bkoz@redhat.com>
58 * libmath/signbitl.c: Copyright years as list, not range.
59 * libmath/Makefile.am: Same.
60 * libmath/Makefie.in: Regenerate.
61 * libmath/signbit.c: Same.
62 * libmath/nan.c: Same.
63 * libmath/copysignf.c: Same.
64 * libmath/signbitf.c: Same.
65 * testsuite/22_locale/money_get_members_char.cc: Same.
66 * testsuite/22_locale/money_get_members_wchar_t.cc: Same.
67 * testsuite/22_locale/money_put_members_char.cc: Same.
68 * testsuite/22_locale/money_put_members_wchar_t.cc: Same.
69 * testsuite/22_locale/time_get_members_char.cc: Same.
70 * testsuite/22_locale/time_get_members_wchar_t.cc: Same.
71 * testsuite/22_locale/time_put_members_char.cc: Same.
72 * testsuite/22_locale/time_put_members_wchar_t.cc: Same.
73 * testsuite/21_strings/nonmember.cc: Same.
74 * testsuite/21_strings/compare.cc: Same.
75 * testsuite/27_io/stringstream.cc: Same.
76 * testsuite/27_io/stringbuf.cc: Same.
77 * testsuite/27_io/filebuf.cc: Same.
78 * testsuite/27_io/ios_manip_basefield.cc: Same.
79 * testsuite/27_io/ios_manip_fmtflags.cc: Same.
80 * include/bits/cpp_type_traits.h: Same.
81 * include/bits/generic_shadow.h: Same.
82 * include/bits/gslice_array.h: Same.
83 * include/bits/gslice.h: Same.
84 * include/bits/indirect_array.h: Same.
85 * include/bits/slice_array.h: Same.
86 * include/bits/sstream.tcc: Same.
87 * include/bits/streambuf_iterator.h: Same.
88 * include/bits/valarray_array.tcc: Same.
89 * include/bits/valarray_meta.h: Same.
90 * include/bits/valarray_array.h: Same.
91 * config/os/mingw32/bits/ctype_noninline.h: Same.
92 * config/os/mingw32/bits/ctype_base.h: Same.
93 * config/os/hpux/bits/ctype_noninline.h: Same.
94 * config/os/hpux/bits/ctype_base.h: Same.
95 * config/os/gnu-linux/bits/ctype_noninline.h: Same.
96 * config/os/gnu-linux/bits/ctype_base.h: Same.
97 * config/os/generic/bits/ctype_noninline.h: Same.
98 * config/os/generic/bits/ctype_base.h: Same.
100 * libsupc++/tinfo.h: Tweaks.
102 2002-01-15 Benjamin Kosnik <bkoz@redhat.com>
104 * testsuite/22_locale/num_put_members_wchar_t.cc (test02): Same.
105 * testsuite/22_locale/num_put_members_char.cc (test01): Tweak.
106 * testsuite/22_locale/ctype_members_char.cc: Tweak.
108 2002-01-15 Benjamin Kosnik <bkoz@redhat.com>
110 * include/bits/locale_facets.tcc (num_put::do_put(bool): Fix.
111 (num_put::do_put(void*)): Fix.
112 * testsuite/22_locale/num_put_members_char.cc (test02): Add.
113 * testsuite/22_locale/num_put_members_wchar_t.cc (test02): Add.
114 * testsuite/22_locale/num_get_members_char.cc (test02): Add
115 long double, void, bool types.
116 * testsuite/22_locale/num_get_members_wchar_t.cc (test02): Add.
118 2002-01-15 Benjamin Kosnik <bkoz@redhat.com>
119 Alexandre Oliva <aoliva@redhat.com>
121 * libmath/Makefile.am (LINK): Add --tag CC.
122 * libmath/Makefile.in: Regenerate.
124 2002-01-15 John David Anglin <dave@hiauly1.hia.nrc.ca>
126 * config/os/hpux/bits/ctype_noninline.h: Use __SB_masks for address
127 of character to attribute mapping table.
129 2002-01-15 David Billinghurst <David.Billinghurst@riotinto.com>
131 * testsuite/26_numerics/c99_classification_macros_c.cc
132 Remove dg-error and dg-excess-errors comments.
134 2002-01-14 Benjamin Kosnik <bkoz@redhat.com>
136 * include/bits/locale_facets.tcc (time_put::put): Correct output
138 * testsuite/22_locale/time_put_members_char.cc (test02): Add.
139 * testsuite/22_locale/time_put_members_wchar_t.cc (test02): Add.
140 * testsuite/22_locale/time_get_members_wchar_t.cc (test06): Add.
141 * testsuite/22_locale/time_get_members_char.cc (test06): Add.
143 2002-01-14 Craig Rodrigues <rodrigc@gcc.gnu.org>
145 * docs/html/17_intro/porting-howto.xml: Update filebuf section.
147 2002-01-14 Paolo Carlini <pcarlini@unitus.it>
148 Nathan Myers <ncm@cantrip.org>
150 * include/bits/basic_string.h
151 (replace(__pos, __n1, __s, __n2)): Optimize by avoiding
152 temporaries (i.e., call _M_replace_safe) when possible.
153 (replace(__pos, __n, __str)): Call replace(__pos, __n1, __s, __n2).
154 (replace(__pos, __n1, __s)): Call replace(__pos, __n1, __s , __n2).
155 (replace(__i1, __i2, __str)): Call replace(__i1, __i2, __s, __n).
156 (replace(__i1, __i2, __s)): Call replace(__i1, __i2, __s, __n).
157 (replace(__i1, __i2, __s, __n)): Call replace(__pos1, __n1, __s, __n2).
158 * include/bits/basic_string.tcc
159 (replace(__pos1, __n1, __str, __pos2, __n2)): Call
160 replace(__pos, __n1, __s, __n2).
161 * testsuite/21_strings/replace.cc (test03): New testcases.
163 * include/bits/basic_string.h (insert(__pos, __s, __n)):
164 Adjust comparison wrt overflow.
166 2002-01-12 Benjamin Kosnik <bkoz@redhat.com>
168 * include/Makefile.am (std_headers_rename): New variable.
169 (install-data-local): Use it.
170 * include/Makefile.in: Regenerate.
172 2002-01-12 Benjamin Kosnik <bkoz@redhat.com>
174 * include/bits/locale_facets.tcc (money_put::do_put(string):
175 Correct output iterator value.
176 * testsuite/22_locale/money_put_members_char.cc (test03): Add.
177 * testsuite/22_locale/money_put_members_wchar_t.cc: Same.
179 2002-01-11 Phil Edwards <pme@gcc.gnu.org>
181 * include/Makefile.am, include/Makefile.in (stamp-std): Fix typo from
184 2002-01-11 Phil Edwards <pme@gcc.gnu.org>
186 * include/Makefile.am (std_headers): Update list with new names.
187 (stamp-std): Link to standardized name.
188 * include/Makefile.in: Regenerate.
190 * include/std/algorithm, include/std/bitset, include/std/complex,
191 include/std/deque, include/std/fstream, include/std/functional,
192 include/std/iomanip, include/std/ios, include/std/iosfwd,
193 include/std/iostream, include/std/istream, include/std/iterator,
194 include/std/limits, include/std/list, include/std/locale,
195 include/std/map, include/std/memory, include/std/numeric,
196 include/std/ostream, include/std/queue, include/std/set,
197 include/std/sstream, include/std/stack, include/std/stdexcept,
198 include/std/streambuf, include/std/string, include/std/utility,
199 include/std/valarray, include/std/vector: Rename to...
201 * include/std/std_algorithm.h, include/std/std_bitset.h,
202 include/std/std_complex.h, include/std/std_deque.h,
203 include/std/std_fstream.h, include/std/std_functional.h,
204 include/std/std_iomanip.h, include/std/std_ios.h,
205 include/std/std_iosfwd.h, include/std/std_iostream.h,
206 include/std/std_istream.h, include/std/std_iterator.h,
207 include/std/std_limits.h, include/std/std_list.h,
208 include/std/std_locale.h, include/std/std_map.h,
209 include/std/std_memory.h, include/std/std_numeric.h,
210 include/std/std_ostream.h, include/std/std_queue.h,
211 include/std/std_set.h, include/std/std_sstream.h,
212 include/std/std_stack.h, include/std/std_stdexcept.h,
213 include/std/std_streambuf.h, include/std/std_string.h,
214 include/std/std_utility.h, include/std/std_valarray.h,
215 include/std/std_vector.h: ...this.
217 2002-01-11 Loren Rittle <ljrittle@acm.org>
219 * include/Makefile.am (extra_target_headers): New list of all
220 target files built with ad hoc naming rules.
221 (stamp-*): Handle LN_S failure in manner portable across make
223 (install-data-local): Install header files from human-maintained
224 file lists and directory components instead of non-robust find.
225 * include/Makefile.in: Rebuilt.
227 2002-01-11 Benjamin Kosnik <bkoz@redhat.com>
229 * include/bits/locale_facets.tcc (money_get::do_get(string)):
230 Check for zero-length negative sign before adding it to output
232 (money_get::do_get(long double)): Return beg.
233 * testsuite/22_locale/money_get_members_char.cc (test02): Add
235 * testsuite/22_locale/money_get_members_wchar_t.cc: Same.
237 2002-01-10 David Seymour <seymour_dj@yahoo.com>
240 * include/bits/locale_facets.h (num_get<>): Return advanced iterator
241 for _M_extract_float and _M_extract_int
242 * include/bits/locale_facets.tcc (num_get<>::_M_extract_float)
243 (num_get<>::_M_extract_int): Likewise, all callers changed
244 * testsuite/22_locale/num_get_members_char.cc: Testcase
246 2002-01-09 Paolo Carlini <pcarlini@unitus.it>
248 * libsupc++/exception (bad_exception): Add comment.
249 * libsupc++/new (bad_alloc): Same.
250 * libsupc++/typeinfo (bad_cast, bad_typeid): Same.
252 2002-01-09 Paolo Carlini <pcarlini@unitus.it>
254 libstdc++/3150: revert 2001-11-30 commit. DR266 only means
255 that the destructors should be removed from the descriptions
256 in the standard: writing them explicitly allows the vtable
257 heuristic to work. For additional information see:
258 http://gcc.gnu.org/ml/libstdc++/2002-01/msg00090.html
259 http://gcc.gnu.org/ml/libstdc++/2002-01/msg00110.html
260 http://gcc.gnu.org/ml/libstdc++/2002-01/msg00155.html
261 * libsupc++/exception (bad_exception::~bad_exception()):
262 Reintroduce declaration.
263 * libsupc++/new (bad_alloc::~bad_alloc()): Same.
264 * libsupc++/typeinfo (bad_cast::~bad_cast()): Same.
265 (bad_typeid::~bad_typeid()): Same.
266 * libsupc++/eh_exception.cc (bad_exception::~bad_exception()):
267 Reintroduce definition.
268 * libsupc++/new_handler.cc (bad_alloc::~bad_alloc()): Same.
269 * libsupc++/tinfo.cc (bad_cast::~bad_cast()): Same.
270 (bad_typeid::~bad_typeid()): Same.
272 2002-01-09 Benjamin Kosnik <bkoz@redhat.com>
274 * include/Makefile.am (c_base_srcdir): Remove duplicate '/'.
275 * include/Makefile.in: Regenerate.
277 2002-01-09 Bo Thorsen <bo@suse.co.uk>
279 * config/cpu/x86-64/bits/cpu_limits.h (__glibcpp_long_bits): Add
282 2002-01-08 Benjamin Kosnik <bkoz@redhat.com>
286 * include/bits/fstream.tcc (filebuf::_M_really_overflow): Test
287 return value of _M_file->sync().
288 (filebuf::showmanyc): Check for is_open.
289 * include/std/fstream (filebuf::sync): Tweak.
290 * testsuite/27_io/filebuf.cc: Tweak.
292 2002-01-08 John Fardo <jfardo@laurelnetworks.com>
293 Brad Garcia <garsh@attbi.com>
295 * testsuite/27_io/filebuf_members.cc: Add test.
297 2002-01-07 Benjamin Kosnik <bkoz@redhat.com>
298 Craig Rodrigues <rodrigc@mediaone.net>
301 * po/Makefile.am (mkinstalldirs): Add.
302 * po/Makefile.in: Regenerate.
304 2002-01-07 David Billinghurst <David.Billinghurst@riotinto.com>
306 * testsuite_flags.in: Add -fmessage-length=0 to CXXFLAGS *
307 testsuite/lib/prune.exp: Delete lines ":In function ..." from
309 * testsuite/23_containers/map_operators.cc: Remove
310 dg-excess-errors comment.
311 * testsuite/23_containers/set_operators.cc: Likewise.
313 2002-01-06 Paolo Carlini <pcarlini@unitus.it>
315 * include/bits/stl_function.h: Remove two lines of comments;
316 adjust copyright years.
318 2002-01-04 Benjamin Kosnik <bkoz@redhat.com>
320 * include/Makefile.am (std_headers): Remove cXXX from list.
321 (c_base_srcdir): No bits subdirectory.
322 (c_base_builddir): Same.
323 (c_base_headers): Adjust names, add ciso646.
324 (bits_headers): Remove std_xxx.h headers.
325 * include/Makefile.in: Regenerate.
327 * include/ext/iterator: Adjust includes.
328 * include/ext/ropeimpl.h: Same.
329 * include/ext/stl_hash_fun.h: Same.
330 * include/ext/algorithm: Same.
332 * include/backward/bvector.h: Adjust includes.
333 * include/backward/vector.h: Same.
334 * include/backward/strstream: Same.
335 * include/backward/streambuf.h: Same.
336 * include/backward/stack.h: Same.
337 * include/backward/set.h: Same.
338 * include/backward/queue.h: Same.
339 * include/backward/multiset.h: Same.
340 * include/backward/multimap.h: Same.
341 * include/backward/map.h: Same.
342 * include/backward/list.h: Same.
343 * include/backward/iterator.h: Same.
344 * include/backward/iostream.h: Same.
345 * include/backward/iomanip.h: Same.
346 * include/backward/fstream.h: Same.
347 * include/backward/deque.h: Same.
348 * include/backward/complex.h: Same.
350 * include/bits/std_algorithm.h: Move to...
351 * include/std/algorithm: ...here.
352 * include/bits/std_iosfwd.h, std_locale.h, std_stack.h,
353 std_bitset.h, std_ios.h, std_map.h, std_stdexcept.h,
354 std_complex.h, std_iostream.h, std_memory.h, std_streambuf.h,
355 std_deque.h, std_istream.h, std_numeric.h, std_string.h,
356 std_fstream.h, std_ostream.h, std_utility.h, std_iterator.h,
357 std_queue.h, std_valarray.h, std_functional.h, std_limits.h,
358 std_set.h, std_vector.h, std_iomanip.h, std_list.h, std_sstream.h:
361 * include/c_std/bits/std_cassert.h: Move to...
362 * include/c_std/cassert: Here.
363 * include/c_std/std_cctype.h, std_cerrno.h, std_cfloat.h,
364 std_climits.h, std_clocale.h, std_cmath.h, std_csetjmp.h,
365 std_csignal.h, std_cstdarg.h, std_cstddef.h, std_cstdio.h,
366 std_cstdlib.h, std_cstring.h, std_ctime.h, std_cwchar.h,
368 * include/c_std/cmath: Adjust cmath.tcc include.
369 * include/c_std/cstdlib: Adjust includes.
370 * include/c_std/cwchar: Same.
371 * include/c_std/ctime: Same.
372 * include/c_std/cstring: Same.
373 * include/c_std/cstdio: Same.
374 * include/c_std/bits: Remove directory.
376 * include/c/bits/std_cassert.h: Move to...
377 * include/c/cassert: Here.
378 * include/c/std_cctype.h, std_cerrno.h, std_cfloat.h,
379 std_climits.h, std_clocale.h, std_cmath.h, std_csetjmp.h,
380 std_csignal.h, std_cstdarg.h, std_cstddef.h, std_cstdio.h,
381 std_cstdlib.h, std_cstring.h, std_ctime.h, std_cwchar.h,
383 * include/c/bits: Remove directory.
385 * include/std/cwctype: Remove.
386 * include/std/cwchar: Remove.
387 * include/std/ctime: Remove.
388 * include/std/cstring: Remove.
389 * include/std/cstdlib: Remove.
390 * include/std/cstdio: Remove.
391 * include/std/cstddef: Remove.
392 * include/std/cstdarg: Remove.
393 * include/std/csignal: Remove.
394 * include/std/csetjmp: Remove.
395 * include/std/cmath: Remove.
396 * include/std/clocale: Remove.
397 * include/std/climits: Remove.
398 * include/std/ciso646: Remove.
399 * include/std/cfloat: Remove.
400 * include/std/cerrno: Remove.
401 * include/std/cctype: Remove.
402 * include/std/cassert: Remove.
404 * include/bits/fpos.h: Adjust includes, removing <bits/std_xxx.h>
405 files and subsituting <.xxx>
406 * include/bits/valarray_array.h: Same.
407 * include/bits/stl_uninitialized.h: Same.
408 * include/bits/stl_alloc.h: Same.
409 * include/bits/stl_algobase.h: Same.
410 * include/bits/sstream.tcc: Same.
411 * include/bits/pthread_allocimpl.h: Same.
412 * include/bits/ostream.tcc: Same.
413 * include/bits/localefwd.h: Same.
414 * include/bits/locale_facets.tcc: Same.
415 * include/bits/locale_facets.h: Same.
416 * include/bits/istream.tcc: Same.
417 * include/bits/char_traits.h: Same.
418 * include/bits/boost_concept_check.h: Same.
419 * include/bits/basic_file.h: Same.
420 * include/std/bitset: Same.
421 * include/std/complex: Same.
422 * include/std/fstream: Same.
423 * include/std/functional: Same.
424 * include/std/ios: Same.
425 * include/std/iostream: Same.
426 * include/std/ostream: Same.
427 * include/std/sstream: Same.
428 * include/std/streambuf: Same.
429 * include/std/string: Same.
430 * include/std/iterator: Same.
431 * include/std/valarray: Same.
433 * src/ios.cc: Adjust includes.
434 * src/valarray-inst.cc: Same.
435 * src/string-inst.cc: Same.
436 * src/stl-inst.cc: Same.
437 * src/stdexcept.cc: Same.
438 * src/misc-inst.cc: Same.
439 * src/localename.cc: Same.
440 * src/locale-inst.cc: Same.
441 * src/locale.cc: Same.
442 * src/limits.cc: Same.
443 * src/concept-inst.cc: Same.
444 * src/complex_io.cc: Same.
445 * src/codecvt.cc: Same.
446 * src/bitset.cc: Same.
447 * src/cmath.cc: Same.
449 2002-01-04 Paolo Carlini <pcarlini@unitus.it>
451 * include/bits/stl_tree.h (rb_tree): Move to...
452 * include/ext/rb_tree: ...here, new file.
453 * include/Makefile.am (ext_headers): Add new file.
454 * include/Makefile.in: Regenerate.
455 * include/bits/stl_tempbuf.h (get_temporary_buffer + helper,
456 return_temporary_buffer, struct temporary_buffer): Move to...
457 * include/ext/memory: ...here.
458 * testsuite/ext/headers.cc: Include <ext/rb_tree>.
459 * include/backward/tempbuf.h: Include <ext/memory>, tweak.
460 * include/backward/tree.h: Include <ext/rb_tree), tweak.
462 2002-01-03 Paolo Carlini <pcarlini@unitus.it>
464 * include/bits/stl_numeric.h (power + helpers, iota): Move to...
465 * include/ext/numeric: ...here, new file.
466 * include/bits/stl_function.h (identity_element, unary_compose,
467 binary_compose, compose1, compose2, identity, select1st,
468 select2nd, project1st + helper, project2nd + helper,
469 constant_void_fun + helper, constant_unary_fun + helper,
470 costant_binary_fun + helper, constant0, constant1, constant2,
471 subtractive_rng, mem_fun1, mem_fun1_ref): Move to...
472 * include/ext/functional: ...here, new file.
473 * include/Makefile.am (ext_headers): Add new files.
474 * include/Makefile.in: Regenerate.
475 * testsuite/ext/headers.cc: Include <ext/numeric> and
477 * include/backward/algo.h: Include <ext/numeric>, tweak.
478 * include/backward/function.h: Include <ext/functional>, tweak.
479 * include/ext/ropeimpl.h: Include <ext/numeric>.
481 2002-01-03 Jeffrey A Law <law@redhat.com>
483 * config/os/hpux/bits/os_defines.h: Prefix __strtoll and
484 __strtoull declarations with __extension__.
486 2002-01-03 David Billinghurst <David.Billinghurst@riotinto.com>
488 * testsuite/lib/prune.exp: Correct regular expression for
491 2002-01-02 Phil Edwards <pme@gcc.gnu.org>
493 * include/bits/stl_algo.h (upper_bound, equal_range, binary_search):
494 Change concept checks, as with lower_bound and PR 2054.
495 * testsuite/ext/concept_checks.cc: Expand test to include those.
497 2002-01-02 Phil Edwards <pme@gcc.gnu.org>
499 * include/bits/boost_concept_check.h: Import some changes from
500 upsteam (Boost) version.
502 2002-01-02 Paolo Carlini <pcarlini@unitus.it>
504 * include/bits/stl_algobase.h (copy_n + helpers,
505 lexicographical_compare_3way + helpers): Move to...
506 * include/ext/algorithm: ...here.
507 * include/bits/stl_uninitialized.h (uninitialized_copy_n +
509 * include/ext/memory: ...here, new file.
510 * include/Makefile.am (ext_headers): Add new file.
511 * include/Makefile.in: Regenerate.
512 * testsuite/ext/headers.cc: Include <ext/memory>.
513 * include/backward/algobase.h: Include <ext/memory> and
514 <ext/algorithm>, tweak.
515 * include/ext/ropeimpl.h: Include <ext/memory>, tweak.
516 * include/ext/stl_rope.h: Include <ext/memory>, tweak.
518 2002-01-01 Roger Sayle <roger@eyesopen.com>
520 * libmath/stubs.c (sinf,cosf): Implement stubs to enable the
521 equivalent ___builtin__ versions.
523 * include/c_shadow/bits/std_cmath.h: All __builtin math functions
524 are available in libstdc++ as the necessary stub implementations
525 are provided by libmath/stubs.c.
527 2002-01-01 Jason Thorpe <thorpej@wasabisystems.com>
529 * configure.in: Add support for NetBSD cross compiles.
530 * configure: Regenerate.
532 2001-12-31 Paolo Carlini <pcarlini@unitus.it>
534 * include/ext/iterator: Add #include <bits/std_iterator.h>, tweak.
535 * testsuite/ext/headers.cc: Add <ext/iterator>.
537 2001-12-31 Paolo Carlini <pcarlini@unitus.it>
539 * include/backward/algo.h: Add two more using declarations.
540 * include/backward/iterator.h: Include <ext/iterator>,
541 add using declaration.
542 * include/ext/algorithm: Add #pragma GCC system_header.
544 2001-12-31 Phil Edwards <pme@gcc.gnu.org>
546 * include/bits/stl_bvector.h: Change calls to 3-argument distance()
547 into standard 2-argument version.
548 * include/bits/stl_deque.h: Likewise.
549 * include/bits/stl_tempbuf.h: Likewise.
550 * include/bits/stl_tree.h: Likewise.
551 * include/bits/stl_vector.h: Likewise.
552 * include/ext/stl_hashtable.h: Likewise.
553 * include/bits/stl_iterator_base_funcs.h: Move distance() extension...
554 * include/ext/iterator: to here. New file.
555 * include/Makefile.am (ext_headers): Add new file, alphabatize.
556 * include/Makefile.in: Regenerate.
558 2001-12-31 Phil Edwards <pme@gcc.gnu.org>
560 * include/bits/stl_deque.h: Doxygenate with initial/example hooks.
561 Clean up spacing and indentation.
563 2001-12-31 Paolo Carlini <pcarlini@unitus.it>
565 * include/ext/slist: Move into __gnu_cxx,
566 tweak, add using declarations.
568 2001-12-31 Paolo Carlini <pcarlini@unitus.it>
570 * include/ext/hash_map: Move into __gnu_cxx,
571 tweak, add using declarations.
572 * include/ext/hash_set: Ditto.
573 * include/ext/ropeimpl.h: Ditto.
574 * include/ext/stl_hash_fun.h: Ditto.
575 * include/ext/stl_hashtable.h: Ditto.
576 * include/ext/stl_rope.h: Ditto.
577 * src/ext-inst.cc: Tweak.
578 * testsuite/ext/rope.cc: Tweak.
580 2001-12-31 Paolo Carlini <pcarlini@unitus.it>
582 * include/backward/algo.h: Include <ext/algorithm>,
583 tweak using declarations.
585 2001-12-29 Richard Henderson <rth@redhat.com>
587 * config/os/hpux/bits/os_defines.h: Don't define __glibcpp_long_bits.
588 * config/os/hpux/bits/cpu_limits.h: New file.
589 * configure.target (CPULIMITSH): Use it.
591 2001-12-28 Richard Henderson <rth@redhat.com>
593 * config/cpu/ia64/bits/cpu_limits.h: New file.
594 * config/os/osf/osf5.0/bits/cpu_limits.h: New file.
595 * configure.target (CPULIMITSH): Use them.
597 2001-12-28 Phil Edwards <pme@gcc.gnu.org>
599 * include/bits/c++config: Move doxygen hook comment...
600 * docs/doxygen/doxygroups.cc: ...to here.
602 2001-12-28 Phil Edwards <pme@gcc.gnu.org>
605 * include/bits/stl_algo.h (lower_bound): Relax concept checks.
606 * testsuite/ext/concept_checks.cc: New file.
608 2001-12-28 Paolo Carlini <pcarlini@unitus.it>
610 * include/bits/stl_algo.h (count returning void,
611 count_if returning void, __random_sample, random_sample,
612 random_sample_n, __is_heap, is_heap, is_sorted): Move to...
613 * include/ext/algorithm: ...here, new file.
614 * include/Makefile.am (ext_headers): Add new file.
615 * include/Makefile.in: Regenerate.
616 * testsuite/ext/headers.cc: Include <ext/algorithm>.
618 2001-12-28 Paolo Carlini <pcarlini@unitus.it>
619 Nathan Myers <ncm@cantrip.org>
621 * include/bits/basic_string.h (insert(__pos, __s, __n)):
622 Optimize by avoiding temporaries and working in-place when possible.
623 (insert(__pos1, __str)): Call insert(__pos1, __str, __pos2, __n).
624 (insert(__pos1, __str, __pos2, __n)): Call insert(__pos, __s, __n).
625 * testsuite/21_strings/insert.cc (test02): New testcases.
627 2001-12-27 Phil Edwards <pme@gcc.gnu.org>
629 * testsuite/testsuite_hooks.h (gnu_counting_struct): Add.
630 * testsuite/23_containers/deque_ctor.cc: New file.
632 2001-12-27 Paolo Carlini <pcarlini@unitus.it>
634 * include/bits/locale_facets.tcc (collate::do_transform):
635 Adjust implicit typename.
636 * config/locale/messages_members_generic.h (messages::open,
637 messages::do_open, messages::do_get): Adjust implicit typename.
638 * config/locale/messages_members_gnu.h (messages::open,
639 messages::do_open, messages::do_get): Adjust Implicit typename.
640 * config/locale/messages_members_ieee_1003.1-200x.h (messages::open,
641 messages::do_open, messages::do_get): Adjust implicit typename.
643 2001-12-27 Phil Edwards <pme@gcc.gnu.org>
646 * src/misc-inst.cc: Many additional I/O-related instantiations.
647 * testsuite/27_io/instantiations.cc: New file.
649 2001-12-26 Benjamin Kosnik <bkoz@waller.constant.com>
651 * testsuite/24_iterators/insert_iterator.cc (test02): Add.
652 * testsuite/24_iterators/front_insert_iterator.cc (test02): Add.
653 * testsuite/24_iterators/back_insert_iterator.cc (test02): Add.
654 * testsuite/24_iterators/reverse_iterator.cc (test02): Add.
656 * include/bits/stl_iterator.h (reverse_iterator): Uglify member
657 current to _M_current.
658 (back_insert_iterator): Uglify member container to _M_container.
659 (front_insert_iterator): Same.
660 (insert_iterator): Same.
662 2001-12-25 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
664 * include/bits/std_limits.h (__glibcpp_xxx_is_modulo): New
665 macros for signed types; default value is true.
666 (numeric_limits<>::is_modulo): Get value from corresponding
667 __glibcpp_xxx_is_modulo macro.
669 2001-12-23 Jeffrey A Law <law@redhat.com>
671 * config/os/hpux/bits/os_defines.h: Do not include <_sys/inttypes.h>.
672 Twiddle return types for strtoll and strtoull to avoid using
673 intmax_t and uintmax-t.
675 2001-12-22 Richard Henderson <rth@redhat.com>
677 * configure.target (CPULIMITSH): Fix typo in alpha case.
679 2001-12-22 Jeffrey A Law <law@redhat.com>
681 * config/os/hpux/bits/os_defines.h: Update to avoid #defines
682 for strtoll and strtoull.
684 2001-12-21 Jeffrey A Law <law@redhat.com>
686 * config/os/hpux/bits/os_defines.h: Include <sys/_inttypes.h.
687 Define strtoll and strtoull. Provide prototypes for
688 __strtoll and __strtoull. Define _GLIBCPP_USE_LONG_LONG
691 * src/locale-inst.cc: Include <bits/std_cstdlib.h>
693 * configure.target: Fix typo in hpux case.
695 2001-12-21 Paolo Carlini <pcarlini@unitus.it>
697 * include/ext/stl_rope.h (_Rope_iterator):
698 Add local typedef to fix implicit typename problems.
700 2001-12-19 Phil Edwards <pme@gcc.gnu.org>
702 * docs/doxygen/Intro.3: New 'Allocators' module.
703 * docs/doxygen/TODO: Update.
704 * docs/doxygen/doxygroups.cc: Update.
705 * docs/doxygen/run_doxygen: Update.
707 * include/bits/stl_alloc.h: Tweak doxygen hooks in comments.
708 * include/bits/std_memory.h: Doxygenate.
709 * include/bits/stl_iterator_base_types.h: Likewise.
710 * include/bits/stl_raw_storage_iter.h: Likewise.
711 * include/bits/stl_tempbuf.h: Likewise.
712 (get_temporary_buffer): Remove unused nonstandard overload.
713 * include/bits/stl_uninitialized.h: Likewise.
715 * include/bits/stl_iterator_base_types.h (input_iterator,
716 output_iterator, forward_iterator, bidirectional_iterator,
717 random_access_iterator): Move old names...
718 * include/backward/iterator.h: ...to here.
719 * include/bits/stl_bvector.h: Update.
720 * include/ext/stl_rope.h: Update.
722 2001-12-19 Phil Edwards <pme@gcc.gnu.org>
724 * docs/html/configopts.html: Describe recent options.
725 * docs/html/documentation.html: Point to new doxygen tarballs.
726 * docs/html/install.html: Brief updates.
727 * docs/html/17_intro/RELEASE-NOTES: Remove weird control character.
728 * docs/html/ext/howto.html: Fix typos, describe filebuf::fd().
729 * docs/html/faq/index.html: Update for 3.0.95.
730 * docs/html/faq/index.txt: Regenerate.
732 2001-12-19 David Billinghurst <David.Billinghurst@riotinto.com>
735 * testsuite/lib/libstdc++-v3-dg.exp: Append .exe to
738 2001-12-18 Benjamin Kosnik <bkoz@redhat.com>
740 * docs/html/17_intro/TODO: Update.
741 * docs/html/17_intro/RELEASE-NOTES: Edits, update.
742 * README: Edit for clarity, update to reflect current directory
745 2001-12-18 Benjamin Kosnik <bkoz@redhat.com>
747 * acinclude.m4 (GLIBCPP_ENABLE_CLOCALE): Extended checking before
749 * aclocal.m4: Rebuild.
750 * configure: Rebuild.
752 2001-12-18 Paolo Carlini <pcarlini@unitus.it>
753 Nathan Myers <ncm@cantrip.org>
755 * include/bits/basic_string.h (assign(__str, __pos, __n)):
756 Call assign(__s, __n).
757 (assign(__s, __n)): Terminate the string with _S_terminal.
759 2001-12-17 Benjamin Kosnik <bkoz@redhat.com>
761 * include/bits/std_limits.h (__glibcpp_long_double_is_bounded):
762 Set to true, like float and double.
764 2001-12-17 David Billinghurst <David.Billinghurst@riotinto.com>
767 * testsuite/lib/prune.exp: New file
768 * testsuite/lib/libstdc++-v3-dg.exp: Use it
770 2001-12-17 Phil Edwards <pme@gcc.gnu.org>
772 * include/bits/basic_file.h (__basic_file::fd): New function.
773 * config/io/basic_file_stdio.h (__basic_file::fd): Define.
774 * include/bits/std_fstream.h (basic_filebuf::fd): New function.
775 * include/bits/fstream.tcc (basic_filebuf::fd): Define.
776 * testsuite/27_io/filebuf_members.cc (test_02): New test.
778 2001-12-16 Nathan Sidwell <nathan@codesourcery.com>
780 * po/Makefile.am (.po.mo): Use POSIXLY_CORRECT argument ordering.
781 * po/Makefile.in: Regenerated.
783 2001-12-16 Paolo Carlini <pcarlini@unitus.it>
785 * testsuite/21_strings/assign.cc (test01): Add tests.
787 2001-12-15 Paolo Carlini <pcarlini@unitus.it>
788 Nathan Myers <ncm@cantrip.org>
790 * include/bits/basic_string.h
791 (assign(__str, __pos, __n), assign(__s, __n)): Optimize
792 by avoiding unnecessary temporaries.
793 (assign(__s)): Call assign(__s, __n).
794 * include/bits/basic_string.tcc (_M_replace_safe): Adjust comment.
795 * include/bits/std_string.h: include stl_function.h.
796 * testsuite/21_strings/assign.cc (test02, test03): New tests.
798 2001-12-15 Benjamin Kosnik <bkoz@redhat.com>
800 * acinclude.m4 (GLIBCPP_ENABLE_CLOCALE): Enable gnu locale model
802 * aclocal.m4: Regenerate.
803 * configure: Regenerate.
805 2001-12-14 Benjamin Kosnik <bkoz@redhat.com>
807 Clean up initialization and simplfy caching of underlying "C"
808 default locale objects.
809 * src/localename.cc (locale::_Impl::_Impl(string, size_t):
810 Unconditionally create __clocale object for all named locales,
811 including "C" and "POSIX".
812 * config/locale/c_locale_generic.cc
813 (locale::facet::_S_create_c_locale): Always set __cloc to zero.
814 * config/locale/c_locale_gnu.cc: Always delete.
815 * include/bits/localefwd.h (locale::facet::_S_c_locale): New.
816 * src/locale.cc (locale::classic()): Initialize
817 locale::facet::_S_c_locale.
818 (locale::facet::_S_c_locale): Define.
820 * include/bits/locale_facets.h: Add ctype_byname<wchar_t> ctor
822 * src/locale.cc: Add definition here.
823 * config/os/gnu-linux/bits/ctype_inline.h: Tweak.
824 * config/os/gnu-linux/bits/ctype_noninline.h: Adjust initializations.
825 * include/bits/locale_facets.h (ctype<char>::_M_c_locale_ctype): Add.
827 (ctype<char>::_M_toupper): Remove const&.
828 (ctype<char>::_M_tolower): Remove const&.
829 (ctype<char>::_M_ctable): Remove const&.
831 * include/bits/locale_facets.h (collate): Clean up initialization
832 of _M_c_locale_collate in ctors and dtors.
833 * config/locale/collate_members_gnu.cc: Always use extended
836 * include/bits/locale_facets.h (messages): Clean up inits in ctor/dtor.
837 (messages_byname): Same.
838 * config/locale/messages_members_generic.h (messages::~messages):
840 * config/locale/messages_members_gnu.h: Same.
842 * include/bits/localefwd.h: Clean. Move dtor definitions to
843 * src/locale.cc: Here.
844 * testsuite/22_locale/facet.cc: Fix spelling.
846 Named locale support for ctype<wchar_t>.
847 * acinclude.m4 (GLIBCPP_ENABLE_CLOCALE): Add variable
848 ctype_members_* bits.
849 * aclocal.m4: Regenerate.
850 * configure: Regenerate.
851 * src/Makefile.am (sources): Add ctype.cc.
852 * src/Makefile.in: Regenerate.
853 * config/locale/ctype_members_generic.cc: New file.
854 * config/locale/ctype_members_gnu.cc: New file.
855 * src/locale.cc: Remove ctype<wchart_t> definitions.
857 2001-12-13 Roger Sayle <roger@eyesopen.com>
859 * acconfig.h: Test for __builtin_sqrt instead of
861 * acinclude.m4: Same.
862 * include/c_shadow/bits/std_cmath.h: Same.
863 * aclocal.m4: Regenerated.
864 * config.h.in: Regenerated.
865 * configure: Regenerated.
867 2001-12-13 Phil Edwards <pme@gcc.gnu.org>
869 * docs/html/ext/howto.html: Fix typos.
871 2001-12-13 Benjamin Kosnik <bkoz@redhat.com>
874 * src/locale.cc (locale::locale(const char*)): Deal with locales
876 * testsuite/22_locale/ctor_copy_dtor.cc (test01): Modify.
878 2001-12-12 Paolo Carlini <pcarlini@unitus.it>
880 * include/ext/ropeimpl.h (rope::_S_leaf_concat_char_iter,
881 _S_destr_leaf_concat_char_iter, _S_tree_concat, _S_concat_char_iter,
882 _S_destr_concat_char_iter, _S_concat, _S_substring, _S_balance)
883 : Adjust implicit typename.
884 * include/ext/stl_rope.h (_Rope_iterator::operator=, rope::npos):
885 Adjust implicit typename.
886 * testsuite/27_io/streambuf.cc: Adjust implicit typename.
888 2001-12-12 Benjamin Kosnik <bkoz@redhat.com>
890 Named locale support for ctype<char>.
891 * config/locale/c_locale_gnu.h (_GLIBCPP_C_LOCALE_GNU): New.
892 * config/os/gnu-linux/bits/ctype_noninline.h (ctype<char>): Add
893 definitions for alternate constructor.
894 * config/os/solaris/solaris2.7/bits/ctype_noninline.h (ctype): Same.
895 * config/os/solaris/solaris2.6/bits/ctype_noninline.h (ctype): Same.
896 * config/os/solaris/solaris2.5/bits/ctype_noninline.h (ctype): Same.
897 * config/os/newlib/bits/ctype_noninline.h (ctype): Same.
898 * config/os/irix/irix6.5/bits/ctype_noninline.h (ctype): Same.
899 * config/os/irix/irix5.2/bits/ctype_noninline.h (ctype): Same.
900 * config/os/hpux/bits/ctype_noninline.h (ctype): Same.
901 * config/os/generic/bits/ctype_noninline.h (ctype): Same.
902 * config/os/djgpp/bits/ctype_noninline.h (ctype): Same.
903 * config/os/bsd/netbsd/bits/ctype_noninline.h (ctype): Same.
904 * config/os/bsd/freebsd/bits/ctype_noninline.h (ctype): Same.
905 * config/os/aix/bits/ctype_noninline.h (ctype): Same.
906 * include/bits/locale_facets.h (ctype<_CharT>): Remove dummy
907 definitions for all virtual functions. These are now explicitly
908 undefined for non-required factets, ie any non-char, non-wchar_t
910 * src/localename.cc (locale::_Impl::_Impl(string, size_t): Named
911 locales use alternate constructor for ctype facet.
912 * include/bits/locale_facets.h (ctype<char>::ctype(__c_locale, const
913 mask*, bool, size_t): Add.
914 (ctype<wchar_t>::ctype(__c_locale, size_t): Add.
915 * src/locale.cc (ctype<wchar_t>::ctype(__c_locale, size_t)): Add
918 * testsuite/22_locale/ctype_members_char.cc (test02): Add, mark
919 XFAIL for non-gnu locale models.
921 2001-12-12 Philip Martin <philip@codematters.co.uk>
922 Ross Smith <r-smith@ihug.co.nz>
923 Paolo Carlini <pcarlini@unitus.it>
926 * include/bits/std_limits.h (defines, numeric_limits<bool>::digits10):
927 Fix digits10 values for integral types.
928 * include/bits/locale_facets.tcc (num_get::do_get for integral types):
929 Tweak _M_extract_int call.
930 * testsuite/27_io/istream_extractor_arith.cc (test13, test12_aux):
931 Tweak overflowing number of digits.
932 * testsuite/18_support/numeric_limits.cc (test03): New testcase.
934 2001-12-11 Benjamin Kosnik <bkoz@redhat.com>
936 * config/os/generic/bits/ctype_inline.h: Remove spaces.
937 * config/os/gnu-linux/bits/ctype_noninline.h: Same.
938 * include/bits/locale_facets.h (__num_base): Move double data
939 members to first in class.
940 * include/bits/locale_facets.tcc: Re-arrange, tweak.
941 * src/locale.cc: Clean.
942 *include/bits/stl_vector.h: Space typedefs.
944 2001-12-11 Phil Edwards <pme@gcc.gnu.org>
946 * testsuite/ext/allocators.cc: New file.
948 2001-12-11 Jason Merrill <jason@redhat.com>
950 * include/bits/locale_facets.tcc (_M_extract_int): Avoid
951 uninitialized warning.
953 2001-12-11 Loren Rittle <ljrittle@acm.org>
955 * config/cpu/sparc/sparc32/bits/atomicity.h
956 (__Atomicity_lock<0>::_S_atomicity_lock): Add.
958 2001-12-10 Paolo Carlini <pcarlini@unitus.it>
960 * include/bits/basic_string.tcc (_M_replace_safe): Fix typos.
961 * include/bits/basic_string.h: Fix typos.
963 2001-12-10 Paolo Carlini <pcarlini@unitus.it>
964 Nathan Myers <ncm@cantrip.org>
966 * include/bits/basic_string.tcc (_M_replace_safe): New function.
967 (_M_replace(input_iterator_tag), append members): Use it.
968 (_M_replace(forward_iterator_tag)): Remove.
969 * include/bits/basic_string.h: Adjust declarations.
970 * src/string-inst.cc: Adjust declarations.
972 2001-12-09 Benjamin Kosnik <bkoz@redhat.com>
973 Philip Martin <pmartin@uklinux.net>
975 * include/bits/locale_facets.h (__num_base::_S_scale_hex): Add.
976 (__num_base::_S_scale_oct): Add.
977 * include/bits/locale_facets.tcc (_M_extract_int): Use them.
978 * src/locale.cc: Add definitions.
979 * testsuite/27_io/istream_extractor_arith.cc (main): Call test13.
981 * testsuite/testsuite_hooks.h: Remove duplicate VERIFY define.
983 2001-12-07 Nathan Myers <ncm@cantrip.org>
984 Loren Rittle <ljrittle@acm.org>
987 * config/cpu/sparc/sparc32/bits/atomicity.h
988 (struct __Atomicity_lock<__inst>): Add.
989 (__Atomicity_lock<__inst>::_S_atomicity_lock): Add.
990 (__exchange_and_add): Use __Atomicity_lock<0>::_S_atomicity_lock
991 instead of lock local to static function.
992 (__atomic_add): Likewise.
994 2001-12-07 Phil Edwards <pme@gcc.gnu.org>
996 * src/globals.cc: Remove __GTHREADS guard.
998 2001-12-07 Paolo Carlini <pcarlini@unitus.it>
1000 * include/bits/locale_facets.tcc (num_put::_M_convert_float):
1001 Extend comment, reduce __cs_size for non-fixed outputs.
1003 2001-12-07 Paolo Carlini <pcarlini@unitus.it>
1005 * include/bits/basic_string.tcc (_M_mutate): Fix typo
1006 in the previous check in.
1008 2001-12-06 Paolo Carlini <pcarlini@unitus.it>
1009 Loren J. Rittle <ljrittle@acm.org>
1011 * include/bits/basic_string.tcc (_M_mutate, _M_clone): Implement
1012 exponential growth policy to meet linear amortized time
1013 requirements of the standard.
1014 (_S_create): Adjust comment.
1016 2001-12-06 Benjamin Kosnik <bkoz@redhat.com>
1019 * include/bits/locale_facets.tcc (num_put): Clean.
1020 (num_get::_M_extract_float): Change argument to string.
1021 (num_get::do_get(float)): Fixup.
1022 (num_get::do_get(double)): Same.
1023 (num_get::do_get(long double)): Same.
1024 (num_get::_M_extract_int): Add maximum length parameter, __max.
1025 (num_get::_M_extract_float): Correct zeros, use string.
1026 * include/bits/locale_facets.h (num_get::_M_extract_float): Change
1028 * src/locale.cc (__num_base::_S_atoms): Remove x, X.
1029 * testsuite/27_io/istream_extractor_arith.cc (test13): Add.
1031 2001-12-06 Philip Martin <pmartin@uklinux.net>
1033 * testsuite/27_io/istream_extractor_arith.cc (test12): Add
1034 tests for excess input digits.
1036 2001-12-06 Phil Edwards <pme@gcc.gnu.org>
1038 * include/bits/std_bitset.h: Use GLIBCPP in multiple-inclusion guard.
1039 * include/bits/stl_algo.h: Likewise.
1040 * include/bits/stl_algobase.h: Likewise.
1041 * include/bits/stl_bvector.h: Likewise.
1042 * include/bits/stl_deque.h: Likewise.
1043 * include/bits/stl_function.h: Likewise.
1044 * include/bits/stl_iterator.h: Likewise.
1045 * include/bits/stl_iterator_base_funcs.h: Likewise.
1046 * include/bits/stl_iterator_base_types.h: Likewise.
1047 * include/bits/stl_list.h: Likewise.
1048 * include/bits/stl_multimap.h: Likewise.
1049 * include/bits/stl_multiset.h: Likewise.
1050 * include/bits/stl_pair.h: Likewise.
1051 * include/bits/stl_queue.h: Likewise.
1052 * include/bits/stl_set.h: Likewise.
1053 * include/bits/stl_stack.h: Likewise.
1054 * include/bits/stl_tempbuf.h: Likewise.
1055 * include/bits/stl_tree.h: Likewise.
1056 * include/bits/stl_vector.h: Likewise.
1058 * include/bits/stl_alloc.h: Use our own multiple inclusion guards.
1059 Doxygenate more comments. Correct historical artifacts in comments.
1060 (alloc, single_alloc): Uglify non-standard names.
1061 (__default_alloc_template::_NFREELISTS): Calculate from other
1063 (__default_alloc_template::_S_free_list): Remove SunPro workaround.
1064 (__default_alloc_template::_Lock): Mark as "unused".
1065 * include/backward/alloc.h: Update.
1066 * include/bits/stl_bvector.h: Likewise.
1067 * include/ext/ropeimpl.h: Likewise.
1068 * include/ext/stl_hashtable.h: Likewise.
1070 2001-12-05 Benjamin Kosnik <bkoz@redhat.com>
1073 * include/bits/locale_facets.tcc (num_put::_M_widen_float): Add
1074 grouping to floating point types.
1075 * testsuite/27_io/ostream_inserter_arith.cc (test02): Add test.
1077 2001-12-04 Paolo Carlini <pcarlini@unitus.it>
1080 * testsuite/27_io/ostream_inserter_arith.cc (test02): Add testcase
1082 * include/bits/locale_facets.tcc (num_put::_M_convert_float):
1083 Deal properly with long ios_base::fixed floats.
1084 (num_put::_M_widen_float): use
1085 __len in __builtin_alloca call.
1087 2001-12-04 Benjamin Kosnik <bkoz@redhat.com>
1089 * src/Makefile.am (sources): Add ext-inst.cc.
1090 * src/Makefile.in: Regenerate.
1091 * src/ext-inst.cc: New file.
1092 * include/bits/stl_threads.h: Format.
1093 * src/globals.cc: Add instantiation for _S_swap_lock.
1095 * testsuite/18_support/numeric_limits.cc: Add numeric_limits<B>
1098 2001-12-04 John David Anglin <dave@hiauly1.hia.nrc.ca>
1100 * testsuite/22_locale/numpunct_members_wchar_t.cc: Only compile
1101 and execute test01 if _GLIBCPP_USE_WCHAR_T is defined.
1102 * testsuite/26_numerics/complex_inserters_extractors.cc: Provide
1103 for explicit instantiation of class std::basic_string<char,
1104 gnu_char_traits, std::allocator<char> >.
1106 2001-12-03 Benjamin Kosnik <bkoz@redhat.com>
1108 * testsuite/22_locale/collate.cc: Compile-only.
1109 * testsuite/22_locale/time_get.cc: Same.
1110 * testsuite/22_locale/time_put.cc: Same.
1111 * testsuite/22_locale/numpunct.cc: Same.
1112 * testsuite/22_locale/num_put.cc: Same.
1113 * testsuite/22_locale/num_get.cc: Same.
1114 * testsuite/22_locale/moneypunct.cc: Same.
1115 * testsuite/22_locale/money_get.cc: Same.
1116 * testsuite/22_locale/messages.cc: Same.
1117 * testsuite/22_locale/ctype.cc: Same.
1119 2001-12-03 Benjamin Kosnik <bkoz@redhat.com>
1121 * src/string-inst.cc (string::_Rep::_S_terminal): Add static data
1122 member instantiations.
1124 2001-12-03 Steve Ellcey <sje@cup.hp.com>
1126 * libstdc++-v3/configure.in: Add support for hpux cross compiles,
1127 combine common linux/hpux/generic cross compile support to reduce
1129 * libstdc++-v3/configure: Regenerate.
1131 2001-12-03 Loren J. Rittle <ljrittle@acm.org>
1133 * docs/html/ext/howto.html: Update commentary.
1134 * include/bits/c++config: Update threading configuration comment.
1135 (__STL_GTHREADS): Remove macro definition.
1136 (__STL_THREADS): Likewise.
1137 * include/bits/stl_threads.h: Leave only the configuration
1138 path which had been guarded by __STL_GTHREADS. Remove all
1139 guards related to __STL_GTHREADS, __STL_SGI_THREADS,
1140 __STL_PTHREADS, __STL_UITHREADS and __STL_WIN32THREADS.
1141 * include/bits/stl_alloc.h: Leave only the configuration path
1142 which had been guarded by __STL_THREADS. Remove configuration
1143 path and guards for __STL_SGI_THREADS.
1144 (__NODE_ALLOCATOR_THREADS): Remove macro definition. Unroll its use.
1145 (__NODE_ALLOCATOR_LOCK): Likewise.
1146 (__NODE_ALLOCATOR_UNLOCK): Likewise.
1147 (_NOTHREADS): Remove guards related to macro.
1148 * include/ext/stl_rope.h: Remove configuration path and guards
1149 for __STL_SGI_THREADS.
1150 * src/stl-inst.cc: Remove use of __NODE_ALLOCATOR_THREADS.
1152 2001-12-02 Phil Edwards <pme@gcc.gnu.org>
1154 * docs/html/ext/howto.html: Update list of implemented DRs.
1155 * docs/html/ext/lwg-active.html: Import R20 from upstream.
1156 * docs/html/ext/lwg-defects.html: Import R20 from upstream.
1158 2001-11-30 Benjamin Kosnik <bkoz@redhat.com>
1162 * libsupc++/exception (bad_exception::~bad_exception()): Remove
1164 * libsupc++/new (bad_alloc::~bad_alloc()): Remove.
1165 * libsupc++/typeinfo (bad_cast::~bad_cast()): Remove.
1166 (bad_typeid::~bad_typeid()): Remove.
1167 * libsupc++/tinfo.cc (bad_cast::~bad_cast()): Remove definition.
1168 (bad_typeid::~bad_typeid()): Same.
1169 * libsupc++/new_handler.cc (bad_alloc::~bad_alloc()): Same.
1170 * libsupc++/eh_exception.cc (bad_exception::~bad_exception()): Same.
1172 * include/bits/std_iomanip.h: Tweak.
1174 2001-11-29 Paolo Carlini <pcarlini@unitus.it>
1177 * include/bits/locale_facets.tcc (__pad): Add bool parameter to
1178 correctly pad internal-adjusted const char*-type objects.
1179 * include/bits/locale_facts.tcc (num_put::_M_insert): Update call.
1180 * include/bits/ostream.tcc (operator<<(_CharT , char, const
1181 _CharT*, const char*, const basic_string&): Update calls.
1182 * src/locale-inst.tcc: Update declarations.
1183 * testsuite/27_io/ostream_inserter_arith.cc (test04): Add test.
1185 2001-11-29 Phil Edwards <pme@gcc.gnu.org>
1187 * docs/html/ext/howto.html: Finish allocator notes (inst and 3.0).
1189 2001-11-29 Benjamin Kosnik <bkoz@redhat.com>
1191 * include/bits/locale_facets.tcc (num_get::do_get(long double)):
1192 Fix __traits_type typo.
1194 2001-11-28 Paolo Carlini <pcarlini@unitus.it>
1196 * include/bits/locale_facets.tcc (__pad): Correctly pad
1197 internal-adjusted hex numbers.
1198 * testsuite/27_io/ostream_inserter_arith.cc: Add testcase.
1200 2001-11-28 Paolo Carlini <pcarlini@unitus.it>
1201 Loren J. Rittle <ljrittle@acm.org>
1203 * include/bits/basic_string.h
1204 (basic_string::_Rep::__default_excess, _S_excess_slop):
1206 * include/bits/basic_string.tcc: Remove dead code.
1207 * include/bits/c++config: Remove comment.
1209 2001-11-28 Benjamin Kosnik <bkoz@redhat.com>
1210 Jakub Jelinek <jakub@redhat.com>
1212 * config/locale/moneypunct_members_gnu.cc
1213 (moneypunct<wchar_t>::_M_initialize_moneypunct): Correctly cast
1215 * config/locale/numpunct_members_gnu.cc
1216 (numpunct<wchar_t>::_M_initialize_numpunct): Same.
1218 2001-11-27 Benjamin Kosnik <bkoz@redhat.com>
1220 * include/bits/locale_facets.tcc: Formatting tweaks.
1222 * testsuite/23_containers/map_operators.cc: Don't xfail.
1223 * testsuite/23_containers/set_operators.cc: Same.
1224 * testsuite/backward/header_iterator_h.cc: Pass in -Wno-deprecated.
1225 * testsuite/backward/header_deque_h.cc: Same.
1227 2001-11-27 Loren J. Rittle <ljrittle@acm.org>
1228 Paolo Carlini <pcarlini@unitus.it>
1230 * include/bits/basic_string.tcc (basic_string::_Rep::_S_create):
1231 Enforce allocation size blocking policy to reduce
1232 fragmentation and enhance performance with common malloc
1235 2001-11-27 Benjamin Kosnik <bkoz@redhat.com>
1237 Numeric facets cleanup.
1238 * include/bits/locale_facets.h (__num_base::_S_atoms): Add, remove
1240 (__num_base::_M_zero): Add
1241 (__num_base::_M_e): Add.
1242 (__num_base::_M_E): Add.
1243 * include/bits/locale_facets.tcc (num_get::_M_extract): Remove.
1244 (num_get::_M_extract_float): New.
1245 (num_get::_M_extract_int): New.
1246 * src/locale.cc (num_get::_M_extract): Remove.
1248 * include/bits/locale_facets.tcc (num_put::_M_insert_float):
1249 Simplify, use _M_insert.
1250 (num_put::do_put(bool)): Simplify, remove __pad.
1252 (__pad_output): Change to __pad.
1253 * include/bits/ostream.tcc: And here.
1254 * src/locale-inst: Remove instantiations.
1256 * include/bits/locale_facets.h: Move helper functions in to class
1258 (num_put::_M_insert_float): Same, for __output_integer.
1259 (num_put::_M_insert_int): Same, for __output_float.
1260 (num_put::_M_insert): New.
1262 (__num_base::_S_format_float): Move
1263 __build_float_format into class __num_base.
1264 (__num_base::_S_format_int): Move __build_int_format into class
1266 * include/bits/locale_facets.tcc (__group_digits): Change to
1267 (__add_grouping): This.
1268 * src/locale-inst.cc: And here. Tweak instantiations.
1269 * src/misc-inst.cc: Remove instantiations.
1271 * include/bits/ostream.tcc (__pad_char): Rename, adjust inserters
1272 for new calling conventions, move to...
1273 * include/bits/locale_facets.tcc (__pad_output): Here. Adjust
1274 signature to make it useful for both ostream and num_put.
1275 (__pad_numeric): Remove.
1276 * src/misc-inst.cc: Remove instantiations.
1277 * src/locale-inst.cc: Same.
1279 * include/bits/locale_facets.h (_Numeric_get): Remove.
1280 (_Numeric_put): Remove.
1281 (num_get::get(short)): Remove.
1282 (num_get::get(int)): Remove.
1283 (num_get::do_get(short)): Remove.
1284 (num_get::do_get(int)): Remove.
1285 * include/bits/istream.tcc (istream::operator>>(short)): Fix as
1287 (istream::operator>>(int)): Same.
1289 * include/bits/locale_facets.h (_Format_cache): Remove.
1290 * include/bits/locale_facets.tcc: Same.
1291 * src/locale.cc: Same.
1292 * src/locale-inst.cc: Same.
1293 * include/bits/ostream.tcc: Same.
1294 * src/ios.cc (ios_base::imbue): Remove here as well.
1296 * testsuite/22_locale/num_get.cc: New file.
1297 * testsuite/22_locale/num_get_members_char.cc: New file.
1298 * testsuite/22_locale/num_get_members_wchar_t.cc: New.
1299 * testsuite/22_locale/numpunct_members_wchar_t.cc: New file.
1300 * testsuite/22_locale/num_put.cc: New file.
1301 * testsuite/22_locale/num_put_members_char.cc: New file.
1302 * testsuite/22_locale/num_put_members_wchar_t.cc: New file.
1303 * testsuite/27_io/ostream_inserter_arith.cc: Fix.
1304 * testsuite/27_io/istream_extractor_arith.cc: Fix.
1306 2001-11-27 Phil Edwards <pme@gcc.gnu.org>
1308 * docs/html/explanations.html: New section, empty for now.
1309 * docs/html/17_intro/howto.html: Cleanup. Move unrelated link...
1310 * docs/html/23_containers/howto.html: ...to here. Break up and
1311 rewrap threading discussion to emphasize warning. Move malloc text...
1312 * docs/html/ext/howto.html: ...to here. New section. Describe
1313 allocators and __USE_MALLOC effects.
1314 * docs/html/ext/sgiexts.html: Mention their code.
1316 2001-11-24 Joseph S. Myers <jsm28@cam.ac.uk>
1318 * docs/doxygen/maint.cfg.in, docs/doxygen/user.cfg.in,
1319 docs/html/27_io/binary_iostreams_kuehl.txt: Revert previous
1322 2001-11-23 Phil Edwards <pme@gcc.gnu.org>
1324 * Makefile.am (doxygen-maint): The script isn't executable in CVS.
1325 * Makefile.in: Regenerated.
1326 * docs/doxygen/TODO: New file listing doxygen work to be done.
1327 * docs/doxygen/run_doxygen: Fix up man pages.
1328 * docs/doxygen/user.cfg.in: Insert maint-only toggles.
1329 * docs/doxygen/maint.cfg.in: Copy from user.cfg and turn toggles on.
1330 * include/bits/stl_construct.h: Use new hooks for internal functions.
1332 * docs/html/17_intro/TODO: Small updates.
1333 * docs/html/faq/index.html: Likewise.
1334 * docs/html/faq/index.txt: Regenerated.
1336 * include/bits/stl_alloc.h: Doxygenate, reindent comments, remove
1337 SGI-isms and wrappers.
1338 (simple_alloc, debug_alloc): Uglify class names.
1339 (__default_alloc_template): Uglify "threads" template parameter and
1340 update corresponding macros.
1341 * include/backward/alloc.h: Bring up to date.
1343 2001-11-23 Jason Merrill <jason@redhat.com>
1345 * src/vterminate.cc (__verbose_terminate_handler): Add leading
1348 2001-11-23 Joseph S. Myers <jsm28@cam.ac.uk>
1350 * ChangeLog, docs/doxygen/maint.cfg.in, docs/doxygen/user.cfg.in,
1351 docs/doxygen/doxygroups.cc, docs/doxygen/Intro.3,
1352 docs/html/17_intro/BUGS, docs/html/17_intro/C++STYLE,
1353 docs/html/17_intro/CHECKLIST, docs/html/17_intro/DESIGN,
1354 docs/html/17_intro/howto.html, docs/html/17_intro/porting.html,
1355 docs/html/17_intro/porting.texi, docs/html/18_support/howto.html,
1356 docs/html/19_diagnostics/howto.html, docs/html/20_util/howto.html,
1357 docs/html/21_strings/howto.html,
1358 docs/html/23_containers/howto.html,
1359 docs/html/26_numerics/howto.html, docs/html/27_io/howto.html,
1360 docs/html/27_io/binary_iostreams_kuehl.txt,
1361 docs/html/ext/sgiexts.html, docs/html/faq/index.html,
1362 docs/html/faq/index.txt, testsuite/24_iterators/iterator.cc,
1363 include/bits/basic_file.h, include/bits/locale_facets.h,
1364 include/bits/locale_facets.tcc, include/bits/std_sstream.h,
1365 include/ext/ropeimpl.h, include/ext/stl_rope.h,
1366 libsupc++/tinfo.cc, libsupc++/cxxabi.h, libsupc++/typeinfo,
1367 libsupc++/eh_throw.cc, acinclude.m4, aclocal.m4, configure,
1368 configure.target, ChangeLog-2000: Fix spelling errors.
1370 * config/locale/moneypunct_members_gnu.cc,
1371 include/bits/locale_facets.h: Fix spelling errors.
1373 2001-11-22 Stephen M. Webb <stephen@bregmasoft.com>
1375 * testsuite/23_containers/list_capacity.cc: New file.
1376 * testsuite/23_containers/list_ctor.cc: New file.
1377 * testsuite/23_containers/list_modifiers.cc: New file.
1378 * testsuite/23_containers/list_operators.cc: New file.
1380 2001-11-22 Stephen M. Webb <stephen@bregmasoft.com>
1382 * include/bits/stl_list.h: Reformatted according to C++STYLE rules.
1383 (size): Replaced nonstandard distance() call with the standard one.
1384 (transfer): Uglified to _M_transfer.
1386 2001-11-21 Paolo Carlini <pcarlini@unitus.it>
1389 * include/bits/basic_string.tcc (basic_string::reserve): Never shrink
1390 below the current size.
1391 * testsuite/21_strings/capacity.cc (test02): Add test.
1393 2001-11-19 Phil Edwards <pme@gcc.gnu.org>
1395 * docs/doxygen/Intro.3: More notes.
1396 * docs/doxygen/style.css: Update to default style from Doxygen 1.2.10.
1397 * include/bits/stl_algobase.h: Add doxygen hooks for functions.
1398 * include/ext/hash_map: Add @file hook.
1399 * include/ext/hash_set: Likewise.
1400 * include/ext/rope: Likewise.
1401 * include/ext/ropeimpl.h: Likewise.
1402 * include/ext/slist: Likewise.
1403 * include/ext/stl_hash_fun.h: Likewise.
1404 * include/ext/stl_hashtable.h: Likewise.
1405 * include/ext/stl_rope.h: Likewise.
1407 * docs/html/17_intro/license.html: Remove "experimental" sentence.
1408 * docs/html/19_diagnostics/howto.html: Document new verbose
1410 * testsuite/27_io/filebuf.cc: Fix comment, move tweakable parameter
1411 to more visible (closer to description) position.
1413 * libsupc++/eh_type.cc: Formatting tweak.
1414 * libsupc++/exception: Likewise.
1415 * src/vterminate.cc: Likewise.
1417 * docs/html/17_intro/porting.html: Regenerate.
1418 * docs/html/faq/index.txt: Regenerate.
1420 2001-11-18 Jason Merrill <jason@redhat.com>
1422 * libsupc++/eh_personality.cc (__cxa_call_unexpected): Take void*.
1423 * libsupc++/eh_catch.cc (__cxa_begin_catch): Likewise.
1424 * libsupc++/unwind-cxx.h: Adjust.
1425 * src/Makefile.am (strstream.o): Pass -Wno-deprecated.
1427 * libsupc++/eh_type.cc (__cxa_current_exception_type): New file.
1428 * libsupc++/cxxabi.h: Declare it.
1429 * libsupc++/Makefile.am (sources): Add it.
1430 * src/vterminate.cc (verbose_terminate_handler): New file.
1431 * libsupc++/exception: Declare it.
1432 * src/Makefile.am (sources): Add it.
1434 * src/Makefile.am (VPATH): Check the src directory before the top one.
1436 2001-11-16 Paolo Carlini <pcarlini@unitus.it>
1438 * include/bits/stl_deque.h (deque::erase()): Fix memory leak.
1440 2001-11-16 Loren J. Rittle <ljrittle@acm.org>
1442 * docs/html/17_intro/howto.html (Thread-safety): Rename
1443 section to ``The Standard C++ library and multithreading'' and
1444 update information based on recent mailing list traffic. Move
1445 all discussion of __USE_MALLOC to...
1446 * docs/html/23_containers/howto.html (Containers and multithreading):
1447 ...here and rework it based on recent mailing list traffic.
1449 2001-11-15 Loren J. Rittle <ljrittle@acm.org>
1451 * docs/html/faq/index.html (Is libstdc++-v3 thread-safe?): Clarify
1454 2001-11-15 <bjornw@planetarion.com>
1455 Loren J. Rittle <ljrittle@acm.org>
1458 * include/bits/stl_alloc.h (alloc): Update to use __mem_interface.
1459 (single_client_alloc): Likewise.
1461 2001-11-08 Danny Smith <dannysmith@users.sourceforge.net>
1463 * configure.target: Add os_include_dir for mingw32* target.
1464 * docs/html/17_intro/porting.texi: Mention mingw32 as target benefiting
1465 from _GLIBCPP_AVOID_FSEEK.
1466 * config/os/mingw32/bits/ctype_base.h: New file.
1467 * config/os/mingw32/bits/ctype_inline.h: New file.
1468 * config/os/mingw32/bits/ctype_noninline.h: New file.
1469 * config/os/mingw32/bits/os_defines.h: New file.
1471 2001-11-07 Nathan Myers <ncm@cantrip.org>
1473 * docs/html/faq/index.html (5.8): New entry on ABIs.
1474 * docs/html/faq/index.txt: Regenerate.
1476 2001-11-07 Phil Edwards <pme@gcc.gnu.org>
1478 * docs/html/faq/index.html: Explain libsupc++, mention 'long long'
1479 bugfixes on Solaris.
1480 * docs/html/faq/index.txt: Regenerate.
1482 2001-11-06 Phil Edwards <pme@gcc.gnu.org>
1484 * acinclude.m4 (GLIBCPP_ENABLE_LONG_LONG): Run the test in
1485 LANG_CPLUSPLUS mode.
1486 * aclocal.m4: Regenerate.
1487 * configure: Regenerate.
1489 2001-11-05 Phil Edwards <pme@gcc.gnu.org>
1491 * porting.texi: Move...
1492 * docs/html/17_intro/porting.texi: ...to here.
1493 * docs/html/Makefile: Add rule to rebuild...
1494 * docs/html/17_intro/porting.html: ...this. New file.
1496 2001-11-05 Felix Natter <fnatter@gmx.net>
1498 * docs/html/17_intro/porting-howto.xml: check in v0.9.4
1499 * docs/html/17_intro/porting-howto.html: regenerate
1501 2001-11-02 Loren J. Rittle <ljrittle@acm.org>
1503 * include/bits/stl_threads.h (_Atomic_swap): Only enable path
1504 when platform supports __GTHREAD_MUTEX_INIT.
1506 2001-11-02 Phil Edwards <pme@gcc.gnu.org>
1508 * acconfig.h: Update comments.
1509 * acinclude.m4 (GLIBCPP_ENABLE_C99): Move strtoll, strtoull tests...
1510 (GLIBCPP_ENABLE_LONG_LONG): ...to here. Don't check enable_c99.
1511 * aclocal.m4: Regenerate.
1512 * config.h.in: Regenerate.
1513 * configure: Regenerate.
1515 * include/bits/boost_concept_check.h: Unconditionally compile uses
1516 of 'long long' which require only compiler support, not C lib support.
1517 * include/bits/cpp_type_traits.h: Likewise.
1518 * include/bits/std_limits.h: Likewise.
1519 * include/bits/type_traits.h: Likewise.
1520 * src/concept-inst.cc: Likewise.
1521 * src/limits.cc: Likewise.
1522 * include/c_shadow/stdlib.h: Compile conditionally on _GLIBCPP_USE_C99
1523 instead of _GLIBCPP_USE_LONG_LONG.
1524 * include/c_shadow/bits/std_cstdlib.h: Likewise.
1526 2001-11-02 Phil Edwards <pme@gcc.gnu.org>
1528 * config/io/c_io_stdio.h: Correct grammar in comments.
1529 * docs/doxygen/Intro.3: Expand "top-level" man page.
1530 * docs/doxygen/doxygroups.cc: New module definitions (comments).
1531 * docs/doxygen/mainpage.doxy: Tweaks.
1532 * docs/doxygen/run_doxygen: Update Doxygen version, massage man pages.
1534 Add @file hooks so that headers are considered to be documented.
1535 * include/bits/basic_ios.h, include/bits/basic_file.h,
1536 include/bits/basic_string.h, include/bits/boost_concept_check.h,
1537 include/bits/char_traits.h, include/bits/codecvt.h,
1538 include/bits/concept_check.h, include/bits/cpp_type_traits.h,
1539 include/bits/fpos.h, include/bits/gslice.h, include/bits/gslice_array.h,
1540 include/bits/indirect_array.h, include/bits/ios_base.h,
1541 include/bits/locale_facets.h, include/bits/localefwd.h,
1542 include/bits/mask_array.h, include/bits/pthread_allocimpl.h,
1543 include/bits/slice.h, include/bits/slice_array.h,
1544 include/bits/std_algorithm.h, include/bits/std_bitset.h,
1545 include/bits/std_complex.h, include/bits/std_deque.h,
1546 include/bits/std_fstream.h, include/bits/std_functional.h,
1547 include/bits/std_iomanip.h, include/bits/std_ios.h,
1548 include/bits/std_iosfwd.h, include/bits/std_iostream.h,
1549 include/bits/std_istream.h, include/bits/std_iterator.h,
1550 include/bits/std_limits.h, include/bits/std_list.h,
1551 include/bits/std_locale.h, include/bits/std_map.h,
1552 include/bits/std_memory.h, include/bits/std_numeric.h,
1553 include/bits/std_ostream.h, include/bits/std_queue.h,
1554 include/bits/std_set.h, include/bits/std_sstream.h,
1555 include/bits/std_stack.h, include/bits/std_streambuf.h,
1556 include/bits/std_string.h, include/bits/std_utility.h,
1557 include/bits/std_valarray.h, include/bits/std_vector.h,
1558 include/bits/stl_algo.h, include/bits/stl_alloc.h,
1559 include/bits/stl_bvector.h, include/bits/stl_construct.h,
1560 include/bits/stl_deque.h, include/bits/stl_heap.h,
1561 include/bits/stl_iterator.h, include/bits/stl_iterator_base_funcs.h,
1562 include/bits/stl_iterator_base_types.h, include/bits/stl_list.h,
1563 include/bits/stl_map.h, include/bits/stl_multimap.h,
1564 include/bits/stl_multiset.h, include/bits/stl_numeric.h,
1565 include/bits/stl_pair.h, include/bits/stl_pthread_alloc.h,
1566 include/bits/stl_queue.h, include/bits/stl_raw_storage_iter.h,
1567 include/bits/stl_relops.h, include/bits/stl_set.h,
1568 include/bits/stl_stack.h, include/bits/stl_tempbuf.h,
1569 include/bits/stl_threads.h, include/bits/stl_tree.h,
1570 include/bits/stl_uninitialized.h, include/bits/stl_vector.h,
1571 include/bits/stream_iterator.h, include/bits/streambuf_iterator.h,
1572 include/bits/stringfwd.h, include/bits/type_traits.h,
1573 include/bits/valarray_array.h, include/bits/valarray_meta.h:
1574 Add hooks, tweak comments only.
1576 * include/bits/stl_algobase.h (swap, min, iter_swap): Also
1577 document these functions.
1578 * include/bits/stl_function.h: Tweak link comments.
1580 2001-11-01 Paolo Carlini <pcarlini@unitus.it>
1581 Benjamin Kosnik <bkoz@redhat.com>
1583 * testsuite/27_io/ios_manip_fmtflags.cc: Fix for non-interactive
1585 * include/bits/locale_facets.tcc (num_put::do_put(bool)): Fix.
1587 2001-11-01 Egor Duda <deo@logos-m.ru>
1589 * config/os/newlib/bits/ctype_noninline.h
1590 (ctype<char>::do_toupper(char __c)): Check for proper character class.
1591 (ctype<char>::do_tolower(char __c)): Ditto.
1593 2001-11-01 Phil Edwards <pme@gcc.gnu.org>
1595 * acinclude.m4: Fix spacing.
1596 (GLIBCPP_ENABLE_CONCEPT_CHECKS): New macro.
1597 * configure.in: Call here.
1598 * acconfig.h: Add _GLIBCPP_CONCEPT_CHECKS.
1599 * include/bits/boost_concept_check.h: Fix headers.
1600 (__function_requires): Make inline.
1601 * include/bits/c++config (_GLIBCPP_CONCEPT_CHECKS): Remove.
1602 * aclocal.m4: Regenerate.
1603 * config.h.in: Regenerate.
1604 * configure: Regenerate.
1606 Move trailing ';' inside macro, PR libstdc++/3666.
1607 * include/bits/concept_check.h: Add semicolon.
1608 * include/bits/stl_algo.h: Remove semicolon.
1609 * include/bits/stl_algobase.h: Likewise.
1610 * include/bits/stl_deque.h: Likewise.
1611 * include/bits/stl_heap.h: Likewise.
1612 * include/bits/stl_iterator_base_funcs.h: Likewise.
1613 * include/bits/stl_list.h: Likewise.
1614 * include/bits/stl_map.h: Likewise.
1615 * include/bits/stl_multimap.h: Likewise.
1616 * include/bits/stl_multiset.h: Likewise.
1617 * include/bits/stl_numeric.h: Likewise.
1618 * include/bits/stl_queue.h: Likewise.
1619 * include/bits/stl_set.h: Likewise.
1620 * include/bits/stl_stack.h: Likewise.
1621 * include/bits/stl_vector.h: Likewise.
1622 * include/ext/hash_map: Likewise.
1623 * include/ext/hash_set: Likewise.
1624 * include/ext/slist: Likewise.
1626 * src/concept-inst.cc: New file with explicit instantiations.
1627 * src/Makefile.am (sources): Add here, with special build rules.
1628 * src/Makefile.in: Regenerate.
1630 2001-11-01 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
1632 * include/bits/std_complex.h (_Norm_helper): New class template.
1634 (abs): Tweak. Fix Thinko.
1636 2001-10-31 Benjamin Kosnik <bkoz@redhat.com>
1639 * include/bits/codecvt.h: Add virtual member function declarations.
1640 * src/codecvt.cc: Tweaks.
1641 * testsuite/22_locale/codecvt.cc: Test compilation only,
1642 non-required facets not required to have linkage.
1644 2001-10-31 Edward E. Meyer <edward.e.meyer@boeing.com>
1647 * include/bits/std_complex.h (complex::operator/=): Correct sign.
1649 2001-10-30 Paolo Carlini <pcarlini@unitus.it>
1650 Benjamin Kosnik <bkoz@redhat.com>
1653 * include/bits/basic_string.h: Tweaks.
1654 * include/bits/basic_string.tcc (string::_M_replace(iterator,
1655 iterator, _ForwardIter, _ForwardIter, forward_iterator_tag): Fix.
1656 * src/string-inst.cc: Tweaks, add instantiation.
1657 * testsuite/21_strings/replace.cc (test02): Add test.
1658 * testsuite/21_strings/assign.cc (test01): New file.
1660 2001-10-30 Jakub Jelinek <jakub@redhat.com>
1662 * include/bits/stl_deque.h (_M_new_elements_at_front): Use
1663 __throw_exception_again.
1664 (_M_new_elements_at_back): Likewise.
1666 2001-10-29 Benjamin Kosnik <bkoz@redhat.com>
1669 * include/bits/fstream.tcc (filebuf::showmanyc): Simplify.
1670 * testsuite/27_io/filebuf.cc (test07): New test.
1671 (test03): Modify showmanyc test.
1673 2001-10-26 Benjamin Kosnik <bkoz@redhat.com>
1676 * config/locale/codecvt_specializations_ieee_1003.1-200x.h
1677 (__enc_traits::~__enc_traits): Fix.
1678 (__enc_traits::_M_init): Add error checking.
1680 2001-10-25 Benjamin Kosnik <bkoz@redhat.com>
1683 * include/bits/locale_facets.tcc (time_get::_M_extract_name): Fix.
1685 2001-10-25 Benjamin Kosnik <bkoz@redhat.com>
1688 * include/bits/ostream.tcc (ostream::operator<<(streambuf*)): Fix
1690 * include/bits/istream.tcc (istream::operator>>(streambuf*): Make
1691 consistent, where possible.
1692 * include/bits/streambuf.tcc: Tweak.
1694 2001-10-25 Brendan Kehoe <brendan@zen.org>
1697 * bits/ostream.tcc (seekp): Scope use as ios_base::failbit.
1698 * bits/istream.tcc (seekg): Likewise.
1700 2001-10-25 Benjamin Kosnik <bkoz@redhat.com>
1701 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
1702 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
1704 * config/os/gnu-linux/bits/os_defines.h: Set to 64 bit longs with
1706 * include/bits/std_limits.h: Fix wchar_t issues.
1707 * config/os/aix/bits/os_defines.h: Fix.
1709 2001-10-25 Benjamin Kosnik <bkoz@redhat.com>
1711 * include/bits/locale_facets.tcc (collate::do_transform): Fix.
1713 2001-10-25 Phil Edwards <pme@gcc.gnu.org>
1715 * docs/html/documentation.html: Fix typo.
1717 2001-10-23 Benjamin Kosnik <bkoz@redhat.com>
1719 Make -fno-exceptions work.
1720 * config/locale/c_locale_gnu.cc: Use functexcept.
1721 * include/bits/c++config (__stl_assert): Remove.
1722 (__STL_USE_EXCEPTIONS): Same.
1724 (__STL_CATCH_ALL): Same.
1725 (__STL_THROW): Same.
1726 (__STL_RETHROW): Same.
1727 (__STL_NOTHROW): Same.
1728 (__STL_UNWIND): Same.
1729 * include/bits/pthread_allocimpl.h: Fix.
1730 * include/bits/std_bitset.h: Same.
1731 * include/bits/std_list.h: Same.
1732 * include/bits/std_memory.h: Same.
1733 * include/bits/std_queue.h: Same.
1734 * include/bits/stl_alloc.h: Same.
1735 * include/bits/stl_deque.h: Same.
1736 * include/bits/stl_list.h: Same.
1737 * include/bits/stl_queue.h: Same.
1738 * include/bits/stl_tempbuf.h: Same.
1739 * include/bits/stl_tree.h: Same.
1740 * include/bits/stl_uninitialized.h: Same.
1741 * include/bits/stl_vector.h: Same.
1742 * include/ext/ropeimpl.h: Same.
1743 * include/ext/slist: Same.
1744 * include/ext/stl_hashtable.h: Same.
1745 * include/ext/stl_rope.h: Same.
1746 * libsupc++/new_op.cc: Include cstdlib.
1747 * libsupc++/eh_personality.cc: Add exception_defines include. Use
1748 __throw_exception_again, tweak.
1749 * libsupc++/eh_aux_runtime.cc: Include stdlib for abort.
1750 * libsupc++/vec.cc: Tweak.
1751 * src/functexcept.cc: Remove unused arguments.
1752 * testsuite/23_containers/bitset_members.cc: Tweak.
1754 2001-10-22 Benjamin Kosnik <bkoz@redhat.com>
1756 * config/cpu/i386/bits/limits.h: Move to...
1757 * config/cpu/i386/bits/cpu_limits.h: ...here.
1758 * config/cpu/cris/bits/cpu_limits.h: Same.
1759 * config/cpu/powerpc/bits/cpu_limits.h: Same.
1760 * config/cpu/x86-64/bits/cpu_limits.h: Same.
1761 * config/cpu/alpha/bits/cpu_limits.h: New.
1762 * config/cpu/m68k/bits/cpu_limits.h: New.
1763 * config/cpu/s390/bits/cpu_limits.h: New.
1764 * config/os/aix/bits/os_defines.h: Tweaks.
1765 * config/os/bsd/freebsd/bits/os_defines.h: Same.
1766 * config/os/bsd/netbsd/bits/os_defines.h: Same.
1767 * config/os/djgpp/bits/os_defines.h: Same.
1768 * config/os/generic/bits/os_defines.h: Same.
1769 * config/os/gnu-linux/bits/os_defines.h: Same.
1770 * config/os/hpux/bits/os_defines.h: Same.
1771 * config/os/irix/irix5.2/bits/os_defines.h: Same.
1772 * config/os/irix/irix6.5/bits/os_defines.h: Same.
1773 * config/os/newlib/bits/os_defines.h: Same.
1774 * config/os/solaris/solaris2.5/bits/os_defines.h: Same.
1775 * config/os/solaris/solaris2.6/bits/os_defines.h: Same.
1776 * config/os/solaris/solaris2.7/bits/os_defines.h: Same.
1778 * include/bits/c++config: Remove include.
1779 * include/bits/limits_generic.h: Remove.
1780 * include/bits/std_limits.h: Include cpu_limits.h.
1781 * include/Makefile.am: Fixup.
1782 * src/limits.cc: Tweak.
1783 * src/limits_generic.cc: Remove.
1784 * src/gen-num-limits.cc: Remove.
1785 * mknumeric_limits: Remove.
1787 2001-10-20 Brendan Kehoe <brendan@zen.org>
1789 * bits/type_traits.h (_Bool): Removed this type.
1790 (__true_type, __false_type): Change to be plain structs.
1791 * src/string-inst.cc (__destroy_aux): Change third parm to be
1792 __false_type instead of _Bool<false>.
1793 * src/misc-inst.cc (__uninitialized_fill_n_aux,
1794 __uninitialized_copy_aux): Likewise.
1796 2001-10-19 Benjamin Kosnik <bkoz@redhat.com>
1798 * mkcheck.in (static_fail): Remove older memory limit functionality.
1799 Disable E_TIME due to formatting issues.
1803 2001-10-19 Brendan Kehoe <brendan@zen.org>
1805 * include/bits/std_complex.h: Default initialize second argument
1806 of polar to 0, as specified in Library DR #79
1808 2001-10-19 Brendan Kehoe <brendan@zen.org>
1810 * include/bits/stl_raw_storage_iter.h (operator=): Fix to call
1811 _Construct instead of construct.
1813 2001-10-19 Brendan Kehoe <brendan@zen.org>
1815 * include/bits/basic_string.tcc (find_first_not_of): Take out check for
1816 __n being non-zero, since the standard does not mandate that.
1817 e.g., a search for "" in "" should yield position 0, not npos.
1818 (find_last_not_of): Likewise.
1820 2001-10-19 Brendan Kehoe <brendan@zen.org>
1822 * include/bits/stl_bvector.h (vector<bool>::_M_range_check): Fix
1823 to throw out_of_range, not range_error, thus sayeth $23.1.1.13.
1825 2001-10-19 Brendan Kehoe <brendan@zen.org>
1827 * include/bits/stl_iterator.h (reverse_iterator::current): Rename
1828 member from _M_current, and change all uses; thus sayeth $24.4.1.1.
1830 2001-10-19 Brendan Kehoe <brendan@zen.org>
1832 * include/bits/stl_algo.h (partial_sort): Add missing `>' on the
1833 template parameter _ValueType.
1835 2001-10-19 Brendan Kehoe <brendan@zen.org>
1837 * include/bits/std_limits.h: Clean up extra semicolons.
1838 * include/bits/locale_facets.h: Likewise.
1839 * include/bits/type_traits.h: Likewise.
1841 2001-10-19 Brendan Kehoe <brendan@zen.org>
1843 * include/bits/localefwd.h (locale::combine): Add const for lib DR 14.
1844 * include/bits/locale_facets.tcc (locale::combine): Likewise.
1846 2001-10-19 Benjamin Kosnik <bkoz@redhat.com>
1848 * include/bits/locale_facets.h (__timepunct::_M_put_helper):
1849 Declare specializations for char, wchar_t.
1851 2001-10-19 Andreas Jaeger <aj@suse.de>
1853 * config/cpu/x86-64/bits/limits.h: New file.
1854 * config/cpu/x86-64/bits/atomicity.h: New file.
1855 * configure.target: Add x86-64.
1857 2001-10-17 Phil Edwards <pme@gcc.gnu.org>
1859 * docs/html/17_intro/howto.html: Remove 1999 links (and explain
1860 why). Add link to recent message.
1861 * docs/html/faq/index.html (5.6): Reformat text only; fixup <pre>
1863 * docs/html/faq/index.txt: Regenerate.
1865 2001-10-12 Loren J. Rittle <ljrittle@acm.org>
1867 * docs/html/faq/index.html (Is libstdc++-v3 thread-safe?): Update
1868 based on Nathan's review. Use Nathan's words.
1870 2001-10-11 Matt Kraai <kraai@alumni.carnegiemellon.edu>
1872 * docs/html/configopts.html: Quote StyleSheet attribute values.
1873 * docs/html/documentation.html: Likewise.
1874 * docs/html/explanations.html: Likewise.
1875 * docs/html/install.html: Likewise.
1876 * docs/html/17_intro/howto.html: Likewise.
1877 * docs/html/17_intro/license.html: Likewise.
1878 * docs/html/18_support/howto.html: Likewise.
1879 * docs/html/19_diagnostics/howto.html: Likewise.
1880 * docs/html/20_util/howto.html: Likewise.
1881 * docs/html/21_strings/howto.html: Likewise.
1882 * docs/html/22_locale/howto.html: Likewise.
1883 * docs/html/23_containers/howto.html: Likewise.
1884 * docs/html/24_iterators/howto.html: Likewise.
1885 * docs/html/25_algorithms/howto.html: Likewise.
1886 * docs/html/26_numerics/howto.html: Likewise.
1887 * docs/html/27_io/howto.html: Likewise.
1888 * docs/html/ext/howto.html: Likewise.
1889 * docs/html/ext/sgiexts.html: Likewise.
1890 * docs/html/faq/index.html: Likewise.
1892 2001-10-11 Loren J. Rittle <ljrittle@acm.org>
1894 * docs/html/faq/index.html (Is libstdc++-v3 thread-safe?): Rewrite.
1895 * docs/html/23_containers/howto.html (Containers and multithreading):
1898 2001-10-09 Phil Edwards <pme@gcc.gnu.org>
1900 * docs/html/17_intro/howto.html: Tweak markup and value type.
1901 * docs/html/27_io/howto.html: Tweak markup, describe setbuf() for
1902 nonzero arguments, add new note on threading.
1903 * docs/html/faq/index.html: Update.
1904 * docs/html/faq/index.txt: Regenerate.
1906 2001-10-09 Phil Edwards <pme@gcc.gnu.org>
1908 * docs/html/configopts.html: More HTML->XHTML and lowercasing of tags.
1909 * docs/html/documentation.html: Likewise.
1910 * docs/html/explanations.html: Likewise.
1911 * docs/html/install.html: Likewise.
1912 * docs/html/17_intro/howto.html: Likewise.
1913 * docs/html/17_intro/license.html: Likewise. Tighten up language.
1914 * docs/html/18_support/howto.html: Likewise.
1915 * docs/html/19_diagnostics/howto.html: Likewise.
1916 * docs/html/20_util/howto.html: Likewise.
1917 * docs/html/21_strings/howto.html: Likewise.
1918 * docs/html/22_locale/howto.html: Likewise.
1919 * docs/html/23_containers/howto.html: Likewise.
1920 * docs/html/24_iterators/howto.html: Likewise.
1921 * docs/html/25_algorithms/howto.html: Likewise.
1922 * docs/html/26_numerics/howto.html: Likewise.
1923 * docs/html/27_io/howto.html: Likewise.
1924 * docs/html/ext/howto.html: Likewise.
1925 * docs/html/ext/sgiexts.html: Likewise.
1926 * docs/html/faq/index.html: Likewise. Not so many absolute links.
1927 * docs/html/faq/index.txt: Regenerate.
1929 2001-10-07 Joseph S. Myers <jsm28@cam.ac.uk>
1931 * docs/html/22_locale/locale.html, docs/html/faq/index.html: Fix
1932 spelling errors of "separate" as "seperate", and corresponding
1933 spelling errors of related words.
1934 * docs/html/faq/index.txt: Regenerate.
1936 2001-10-05 Phil Edwards <pme@gcc.gnu.org>
1938 * config/cpu/alpha/bits/atomicity.h (__compare_and_swap): Remove
1940 * config/cpu/arm/bits/atomicity.h: Likewise.
1941 * config/cpu/generic/bits/atomicity.h: Likewise.
1942 * config/cpu/i486/bits/atomicity.h: Likewise.
1943 * config/cpu/ia64/bits/atomicity.h: Likewise.
1944 * config/cpu/mips/bits/atomicity.h: Likewise.
1945 * config/cpu/powerpc/bits/atomicity.h: Likewise.
1946 * config/cpu/sparc/sparc32/bits/atomicity.h: Likewise.
1947 * config/cpu/sparc/sparc64/bits/atomicity.h: Likewise.
1949 2001-10-04 Phil Edwards <pme@gcc.gnu.org>
1951 * docs/html/faq/index.html: Describe DR #22, and a workaround.
1952 * docs/html/faq/index.txt: Regenerate.
1954 2001-10-04 Phil Edwards <pme@gcc.gnu.org>
1956 * docs/html/17_intro/COPYING.DOC: New file, GFDL v1.1 from the FSF.
1957 * docs/html/17_intro/license.html: New file. Explain the licenses
1960 * docs/html/configopts.html: Link to license.html.
1961 * docs/html/documentation.html: Likewise.
1962 * docs/html/explanations.html: Likewise.
1963 * docs/html/install.html: Likewise.
1964 * docs/html/17_intro/howto.html: Likewise.
1965 * docs/html/18_support/howto.html: Likewise.
1966 * docs/html/19_diagnostics/howto.html: Likewise.
1967 * docs/html/20_util/howto.html: Likewise.
1968 * docs/html/21_strings/howto.html: Likewise.
1969 * docs/html/22_locale/howto.html: Likewise.
1970 * docs/html/23_containers/howto.html: Likewise.
1971 * docs/html/24_iterators/howto.html: Likewise.
1972 * docs/html/25_algorithms/howto.html: Likewise.
1973 * docs/html/26_numerics/howto.html: Likewise.
1974 * docs/html/27_io/howto.html: Likewise.
1975 * docs/html/ext/howto.html: Likewise.
1976 * docs/html/ext/sgiexts.html: Likewise.
1977 * docs/html/faq/index.html: Likewise. New question, linking to
1978 the new license.html.
1980 2001-10-04 Phil Edwards <pme@gcc.gnu.org>
1982 * docs/html/17_intro/howto.html: Fix mis-sed in header from 20010917.
1983 * docs/html/18_support/howto.html: Likewise.
1984 * docs/html/19_diagnostics/howto.html: Likewise.
1985 * docs/html/20_util/howto.html: Likewise.
1986 * docs/html/21_strings/howto.html: Likewise.
1987 * docs/html/22_locale/howto.html: Likewise.
1988 * docs/html/23_containers/howto.html: Likewise.
1989 * docs/html/24_iterators/howto.html: Likewise.
1990 * docs/html/25_algorithms/howto.html: Likewise.
1991 * docs/html/26_numerics/howto.html: Likewise.
1992 * docs/html/27_io/howto.html: Likewise.
1993 * docs/html/ext/howto.html: Likewise.
1994 * docs/html/faq/index.html: Likewise. Spacing fix.
1996 2001-10-03 Dimitris Vyzovitis <vyzo@media.mit.edu>
1998 * include/bits/stl_threads.h (_Atomic_swap): New function.
1999 (_Swap_lock_struct<__dummy>::_S_swap_lock): New data.
2000 * testsuite/ext/rope.cc: New file.
2002 2001-10-02 Benjamin Kosnik <bkoz@redhat.com>
2004 * config/locale/time_members_gnu.h: Remove.
2005 * config/locale/time_members_generic.h: Remove.
2006 * config/locale/time_members_gnu.cc (__timepunct::_M_put_helper): Add.
2007 * config/locale/time_members_generic.cc: Same.
2008 * include/bits/locale_facets.h: Add data members.
2009 (__timepunct::_M_put_helper): Change signature.
2010 (__timepunct::_M_date_formats): Same.
2011 (__timepunct::_M_time_formats): Same.
2012 (__timepunct::_M_ampm): Add.
2013 (__timepunct::_M_date_time_formats): Add.
2014 (time_get::_M_extract_via_format): Add.
2015 (time_get::_M_extract_time): Change to...
2016 (time_get::_M_extract_num): ... this, modify signature.
2017 * include/bits/locale_facets.tcc (time_get::do_get_year): Fix.
2018 (time_get::do_get_time): Fix.
2019 (time_get::do_get_date): Fix.
2021 * acinclude.m4: Remove CTIME_H.
2022 * aclocal.m4: Regenerate.
2023 * include/Makefile.am: Same.
2024 * include/Makefile.in: Regenerate.
2025 * configure: Regenerate.
2027 * testsuite/22_locale/time_get_members_char.cc: Fix.
2028 * testsuite/22_locale/time_get_members_wchar_t.cc: Add.
2029 * testsuite/22_locale/time_put_members_wchar_t.cc: Add.
2031 2001-10-01 Hans-Peter Nilsson <hp@axis.com>
2033 * config/cpu/cris/bits/atomicity.h: Correct file header.
2035 2001-09-29 Hans-Peter Nilsson <hp@axis.com>
2037 * configure.target (LIMITSH): Set for cris.
2038 (cpu_include_dir): Set for cris-*-*.
2039 * config/cpu/cris/bits/atomicity.h: New file.
2040 * config/cpu/cris/bits/limits.h: New file.
2042 2001-09-28 Benjamin Kosnik <bkoz@redhat.com>
2044 * config/locale/time_members_gnu.h (__timepunct::_M_get_helper): Add.
2045 (__timepunct::_M_put_helper): Add.
2046 * config/locale/time_members_generic.h: Same.
2047 * include/bits/locale_facets.h (__match_parallel): Remove. Format.
2048 (__timepunct): Add data members.
2049 (__timepunct::_M_days): Add.
2050 (__timepunct::_M_days_abbreviated): Add.
2051 (__timepunct::_M_months): Add.
2052 (__timepunct::_M_months_abbreviated): Add.
2053 (__timepunct::_M_initialize_timepunct): Add.
2054 * include/bits/locale_facets.tcc: Same.
2055 * src/locale-inst.cc: Remove instantiations for __match_parallel.
2056 * acinclude.m4 (GLIBCPP_ENABLE_CLOCALE): Add CTIME_CC.
2057 * aclocal.m4: Regenerate.
2058 * configure: Regenerate.
2059 * testsuite/22_locale/time_put_members_char.cc: Mark XFAIL.
2060 * testsuite/22_locale/time_put_members_char.cc (test01): New file.
2061 * testsuite/22_locale/time_get.cc: New file.
2063 2001-09-28 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
2065 * testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3-init): Use
2066 correct multilib builddir.
2067 Properly locate libgcc_s.
2069 2001-09-27 Phil Edwards <pme@gcc.gnu.org>
2071 * include/std/*: Add Doxygen hooks.
2072 * docs/doxygen/Intro.3: New file, general intro to the man pages.
2073 * docs/doxygen/mainpage.doxy: Formatting tweaks. List our own links
2074 rather than using a generated index.
2075 * docs/doxygen/user.cfg.in: Disable the index, enable man pages.
2076 * docs/doxygen/run_doxygen: Massage the generated man pages, using...
2077 * docs/doxygen/stdheader.cc: ...this new file.
2079 2001-09-26 Stan Shebs <shebs@apple.com>
2081 * include/Makefile.am: Remove RCS Id strings.
2082 * src/Makefile.am: Ditto.
2083 * docs/doxygen/run_doxygen: Ditto.
2084 * docs/html/configopts.html: Ditto.
2085 * docs/html/documentation.html: Ditto.
2086 * docs/html/explanations.html: Ditto.
2087 * docs/html/install.html: Ditto.
2088 * docs/html/17_intro/howto.html: Ditto.
2089 * docs/html/18_support/howto.html: Ditto.
2090 * docs/html/19_diagnostics/howto.html: Ditto.
2091 * docs/html/20_util/howto.html: Ditto.
2092 * docs/html/21_strings/howto.html: Ditto.
2093 * docs/html/22_locale/howto.html: Ditto.
2094 * docs/html/23_containers/howto.html: Ditto.
2095 * docs/html/24_iterators/howto.html: Ditto.
2096 * docs/html/25_algorithms/howto.html: Ditto.
2097 * docs/html/26_numerics/howto.html: Ditto.
2098 * docs/html/27_io/howto.html: Ditto.
2099 * docs/html/ext/howto.html: Ditto.
2100 * docs/html/ext/sgiexts.html: Ditto.
2101 * docs/html/faq/index.html: Ditto.
2102 * docs/html/faq/index.txt: Ditto.
2104 2001-09-25 Phil Edwards <pme@gcc.gnu.org>
2106 * testsuite/21_strings/c_strings.cc (test01, test02): Increase
2109 2001-09-25 Phil Edwards <pme@gcc.gnu.org>
2111 * docs/html/20_util/howto.html: Add anchor name.
2112 * docs/html/23_containers/howto.html: Line wrapping, another link.
2113 * docs/html/25_algorithms/howto.html: Another note.
2115 * docs/html/ext/howto.html: Link to SGI extensions. List DRs and
2117 * docs/html/ext/lwg-active.html: ...in this new file (from R19),
2118 * docs/html/ext/lwg-defects.html: and this new file (from R19).
2119 * docs/html/ext/sgiexts.html: New file. Mention SGI extensions
2120 carried over to libstdc++-v3.
2121 * docs/html/faq/index.html: Link to SGI extensions. Mention the
2122 "missing .." pseudobug.
2123 * docs/html/faq/index.txt: Regenerate.
2125 * include/bits/ios_base.h: DR-related comment cleanup.
2126 * include/bits/istream.tcc: Likewise.
2127 * include/bits/locale_facets.h: Likewise.
2128 * include/bits/locale_facets.tcc: Likewise.
2129 * include/bits/ostream.tcc: Likewise.
2130 * include/bits/std_bitset.h: Likewise.
2131 * include/bits/std_iosfwd.h: Likewise.
2132 * include/bits/std_istream.h: Likewise.
2133 * include/bits/std_ostream.h: Likewise.
2134 * include/bits/std_streambuf.h: Likewise.
2135 * include/bits/stl_pair.h: Likewise.
2136 * include/bits/streambuf_iterator.h: Likewise.
2138 * include/bits/std_map.h: Remove unused header inclusion guard
2139 _CPP_BITS_STL_TREE_H from around bits/stl_tree.h.
2140 * include/bits/std_set.h: Likewise.
2142 * include/bits/stl_function.h: Doxygen markup.
2143 * docs/doxygen/doxygroups.cc: New file, specifying module grouping.
2144 * libsupc++/typeinfo: Doxygen markup tweak.
2146 2001-09-20 Scott Johnston <scott@accom.com>
2147 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
2149 * include/backward/alloc.h: Conditionally define malloc_alloc
2150 * testsuite/backward/header_deque_h.cc: New file.
2152 2001-09-20 Sylvain Pion <Sylvain.Pion@sophia.inria.fr>
2154 * libstdc++-v3/include/bits/locale_facets.tcc (money_put::do_put):
2155 change variable name so that it works with -fno-for-scope.
2157 2001-09-20 Benjamin Kosnik <bkoz@redhat.com>
2159 * testsuite/22_locale/numpunct_members_char.cc (test01): Remove
2160 redundant sanity checks.
2161 * testsuite/22_locale/money_put_members_wchar_t.cc (test01): Same.
2163 * testsuite/22_locale/money_put_members_char.cc (test01): Same.
2165 * testsuite/22_locale/moneypunct_members_wchar_t.cc (test01): Same.
2166 * testsuite/22_locale/moneypunct_members_char.cc (test01): Same.
2167 * testsuite/22_locale/money_get_members_wchar_t.cc (test01): Same.
2169 * testsuite/22_locale/money_get_members_char.cc (test01): Same.
2172 2001-09-19 Benjamin Kosnik <bkoz@redhat.com>
2174 Implement std::time_put.
2175 * include/bits/locale_facets.h: Include time_members.h.
2177 (time_put): Implement.
2178 * include/bits/locale_facets.tcc (do_put): Put generic versions here.
2179 * include/bits/localefwd.h: Bump number of facets.
2180 * config/locale/time_members_generic.h: New file.
2181 * config/locale/time_members_gnu.h: New file.
2182 * config/locale/c_locale_generic.h: Include clocale.
2183 * src/locale-inst.cc: Add use_facet instantiations for __timepunct.
2184 * src/locale.cc: Add __timepunct initializations.
2185 * src/localename.cc (locale::_Impl::_Impl(string, size_t)): Same.
2186 * include/Makefile.am (stamp-target): Add time_members.h.
2187 * include/Makefile.in: Regenerate.
2188 * acinclude.m4 (GLIBCPP_ENABLE_CLOCALE): Add CTIME_H.
2189 * aclocal.m4: Regenerate.
2190 * configure: Regenerate.
2191 * testsuite/22_locale/time_put.cc: New file.
2192 * testsuite/22_locale/time_put_members_char.cc: New file.
2194 * docs/html/22_locale/locale.html: Add note.
2196 2001-09-17 Phil Edwards <pme@gcc.gnu.org>
2198 * docs/html/configopts.html: HTML to XHTML change. Lowercase tags.
2199 * docs/html/documentation.html: Likewise.
2200 * docs/html/explanations.html: Likewise.
2201 * docs/html/install.html: Likewise.
2202 * docs/html/17_intro/howto.html: Likewise.
2203 * docs/html/18_support/howto.html: Likewise.
2204 * docs/html/19_diagnostics/howto.html: Likewise.
2205 * docs/html/20_util/howto.html: Likewise.
2206 * docs/html/21_strings/howto.html: Likewise.
2207 * docs/html/22_locale/codecvt.html: Likewise.
2208 * docs/html/22_locale/ctype.html: Likewise.
2209 * docs/html/22_locale/howto.html: Likewise.
2210 * docs/html/22_locale/locale.html: Likewise.
2211 * docs/html/22_locale/messages.html: Likewise.
2212 * docs/html/23_containers/howto.html: Likewise.
2213 * docs/html/24_iterators/howto.html: Likewise.
2214 * docs/html/25_algorithms/howto.html: Likewise.
2215 * docs/html/26_numerics/howto.html: Likewise.
2216 * docs/html/27_io/howto.html: Likewise.
2217 * docs/html/ext/howto.html: Likewise.
2218 * docs/html/faq/index.html: Likewise.
2219 * docs/html/faq/index.txt: Regenerated.
2221 2001-09-14 Phil Edwards <pme@sources.redhat.com>
2223 * docs/html/17_intro/headers_cc.txt: "Sync"/copy real file over.
2224 * docs/html/17_intro/howto.html: Spacing and HTML markup fixes.
2225 * docs/html/18_support/howto.html: It won't compile; it's not code.
2226 * docs/html/19_diagnostics/howto.html: Point diagram seekers to
2228 * docs/html/22_locale/howto.html: Comment for future work.
2229 * docs/html/23_containers/howto.html: More comments.
2230 * docs/html/25_algorithms/howto.html: It's a comment, not a
2231 blunt command to the reader. (English grammar.)
2233 2001-09-14 Benjamin Kosnik <bkoz@redhat.com>
2235 * config/locale/moneypunct_members_gnu.cc: Fix initialization of
2237 * testsuite/22_locale/money_get_members_wchar_t.cc (test02): New file.
2238 * testsuite/22_locale/money_put_members_wchar_t.cc (test02): Fix.
2240 2001-09-14 Benjamin Kosnik <bkoz@redhat.com>
2242 * include/bits/locale_facets.tcc: Conditionalize use of strtold.
2244 2001-09-13 Alexandre Petit-Bianco <apbianco@redhat.com>
2246 * testsuite/22_locale/money_get_members_char.cc: Fixed typo in comment.
2247 * testsuite/22_locale/money_put_members_char.cc: Likewise.
2248 * testsuite/22_locale/money_put_members_wchar_t.cc: Likewise.
2250 2001-09-13 Benjamin Kosnik <bkoz@redhat.com>
2252 Implement std::money_get.
2253 * include/bits/locale_facets.tcc (money_get::do_get): Implement.
2254 * include/bits/locale_facets.h (money_get): Correct signatures.
2255 * testsuite/22_locale/money_get.cc: New file.
2256 * testsuite/22_locale/money_get_members_char.cc: New file.
2258 * include/bits/locale_facets.tcc (__verify_grouping): New
2259 function. Consolidate num_get and money_get group checking into
2261 (money_get): Use it.
2262 * src/locale.cc (num_get::_M_extract): Use it.
2263 * src/locale-inst.cc: Add instantiation.
2265 2001-09-12 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
2267 * include/bits/std_limits.h (numeric_limits<float>::radix,
2268 numeric_limits<float>::epsilon: Fix thinko.
2270 2001-09-10 Benjamin Kosnik <bkoz@redhat.com>
2272 * configure.in: Fix cross compiling math routines. Correct
2273 comments for cross compiling and limits. Add floating point math
2274 routines found in newlib.
2275 * configure: Regenerate.
2276 * acconfig.h: Add macros.
2277 * config.h.in: Regenerate.
2279 2001-09-10 Benjamin Kosnik <bkoz@redhat.com>
2281 * config/locale/moneypunct_members_generic.cc
2282 (money_base::_S_construct_pattern): Remove unused parameters.
2284 2001-09-10 Benjamin Kosnik <bkoz@redhat.com>
2286 * include/Makefile.am (stamp-target): Remove link to self.
2287 * inclulde/Makefile.in: Regenerate.
2289 2001-09-09 Benjamin Kosnik <bkoz@redhat.com>
2291 Implement std::money_put.
2292 * include/bits/locale_facets.h
2293 (moneypunct::_M_initialize_moneypunct): Split up specializations
2294 to account for _Intl. More grody hacking to get around the
2295 ill-considered use of const bool as a template parameter.
2296 * config/locale/moneypunct_members_gnu.cc: And here.
2297 * config/locale/moneypunct_members_generic.cc: And here.
2298 * testsuite/22_locale/moneypunct_members_char.cc: Add tests.
2299 * testsuite/22_locale/moneypunct.cc: Add tests.
2300 * testsuite/22_locale/money_put_members_wchar_t.cc: New file.
2301 * testsuite/22_locale/moneypunct_members_wchar_t.cc: New file.
2303 * src/locale.cc (money_base::_S_construct_pattern): Move into
2305 * config/locale/moneypunct_members_gnu.cc: Add here.
2306 * config/locale/moneypunct_members_generic.cc: Add generic version
2309 * include/bits/locale_facets.tcc (money_put::do_put): Move member
2310 function definitions here.
2311 * include/bits/locale_facets.h (money_put): Implement.
2312 * src/locale-inst.cc: Add use_facet instantiations for moneypunct.
2313 Correct money_get, money_put instantiations.
2314 * src/locale.cc (money_base::_S_construct_pattern): Handle case
2316 * testsuite/22_locale/money_put_members_char.cc: Add tests.
2318 2001-09-05 Phil Edwards <pme@sources.redhat.com>
2320 * testsuite_flags.in: No longer need to search testsuite builddir.
2321 * src/stl-inst.cc (__sink_unused_warning): Unused, remove.
2322 * Makefile.am: The testsuite directory never needs to be made here.
2323 * Makefile.in: Regenerate.
2324 * include/Makefile.in: Regenerate.
2325 * libio/Makefile.in: Regenerate.
2326 * libmath/Makefile.in: Regenerate.
2327 * libsupc++/Makefile.in: Regenerate.
2328 * po/Makefile.in: Regenerate.
2329 * src/Makefile.in: Regenerate.
2330 * testsuite/Makefile.in: Regenerate.
2332 2001-09-04 Scott Johnston <scott@accom.com>
2333 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
2335 * include/backward/iterator.h: Include <bits/std_iterator.h>,
2336 remove reverse_bidirectional_iterator.
2337 * testsuite/backward: New directory.
2338 * testsuite/backward/header_iterator_h.cc: New file.
2340 2001-09-04 Benjamin Kosnik <bkoz@redhat.com>
2342 * include/c_std/bits/std_c*.h: Don't use include_next.
2344 2001-09-03 Richard Sandiford <rsandifo@redhat.com>
2346 * libsupc++/eh_personality.cc (parse_lsda_header): Change type of
2347 tmp from _Unwind_Ptr to _Unwind_Word.
2349 2001-08-31 Jason Merrill <jason_merrill@redhat.com>
2351 * libsupc++/eh_personality.cc (PERSONALITY_FUNCTION): Simplify
2354 2001-08-28 Loren J. Rittle <ljrittle@acm.org>
2356 * include/Makefile.am: Use toplevel_srcdir to refer to src files
2357 outside this component.
2358 * include/Makefile.in: Regenerate.
2360 2001-08-27 Benjamin Kosnik <bkoz@redhat.com>
2362 * config/locale/c_locale_gnu.cc: Move facet info to separate files...
2363 * config/locale/c_locale_generic.cc: Same.
2364 * config/locale/moneypunct_members_gnu.cc: New file.
2365 * config/locale/moneypunct_members_generic.cc: New file.
2366 * config/locale/numpunct_members_gnu.cc: New file.
2367 * config/locale/numpunct_members_generic.cc: New file.
2368 * acinclude.m4 (GLIBCPP_ENABLE_CLOCALE): Add moneypunct, numpunct
2370 * aclocal.m4: Regenerate.
2371 * configure: Regenerate.
2372 * src/Makefile.am (sources): And here.
2373 * src/Makefile.in: Regenerate.
2375 Rename for consistency with rest of testsuite.
2376 * testsuite/22_locale/codecvt.cc: New file.
2377 * testsuite/22_locale/money_put.cc: New file.
2378 * testsuite/22_locale/money_put_members_char.cc: New file.
2380 2001-08-27 Phil Edwards <pme@sources.redhat.com>
2383 * acinclude.m4 (GLIBCPP_EXPORT_INSTALL_INFO): Handle enable/disable
2384 correctly for version-specific-runtime-libs.
2385 * aclocal.m4: Regenerate.
2386 * configure: Regenerate.
2388 2001-08-24 Loren J. Rittle <ljrittle@acm.org>
2390 * config/cpu/i386/bits/limits.h (__glibcpp_long_double_bits): Only
2391 define if not already provided by per-OS file.
2392 * config/os/bsd/freebsd/bits/os_defines.h (__glibcpp_long_double_bits):
2395 2001-08-24 Jan van Male <jan.vanmale@fenk.wau.nl>
2397 * docs/html/17_intro/C++STYLE: Fix typo.
2399 2001-08-24 Phil Edwards <pme@sources.redhat.com>
2401 * docs/html/23_containers/howto.html: Describe implementation of
2402 insertion with hints.
2404 2001-08-24 Kenny Simpson <kenny.simpson@gs.com>
2407 * include/bits/std_sstream.h (basic_ostringstream): Fix ctor.
2409 2001-08-24 Sylvain Pion <Sylvain.Pion@sophia.inria.fr>
2410 Phil Edwards <pme@sources.redhat.com>
2413 * include/bits/stl_tree.h (insert_unique): Revert last change.
2414 Values inserted at begin() must be less, not greater, than *begin()'s.
2415 * testsuite/23_containers/map_insert.cc: New file.
2417 2001-08-23 Benjamin Kosnik <bkoz@redhat.com>
2419 * config/locale/c_locale_gnu.cc: Minor tweaks.
2420 (moneypunct<wchar_t>): Implement.
2421 * include/bits/locale_facets.h: Same.
2422 * testsuite/22_locale/moneypunct.cc: New file.
2423 * testsuite/22_locale/moneypunct_byname.cc: New file.
2424 * testsuite/22_locale/moneypunct_char_members.cc: New file.
2426 2001-08-23 David Edelsohn <edelsohn@gnu.org>
2428 * config/os/gnu-linux/bits/os_defines.h: Correct __s390__ definitions.
2429 Set __powerpc__ long double definition based on __LONG_DOUBLE_128__.
2431 2001-08-23 Jason Merrill <jason_merrill@redhat.com>
2433 * testsuite_flags.in (build-includes): Re-add backward.
2435 2001-08-22 Benjamin Kosnik <bkoz@redhat.com>
2437 * testsuite/22_locale/collate_wchar_t_members.cc: Guard
2438 with _GLIBCPP_USE_WCHAR_T.
2440 2001-08-21 Benjamin Kosnik <bkoz@redhat.com>
2442 * testsuite/22_locale/collate_byname.cc (test01): Fix.
2444 2001-08-18 Vladimir A Merzliakov <wanderer@rsu.ru>
2446 * include/bits/locale_facets.tcc (collate::do_transform): Add typename.
2448 2001-08-18 Benjamin Kosnik <bkoz@redhat.com>
2450 * testsuite/22_locale/operators.cc: Add test.
2452 2001-08-17 Benjamin Kosnik <bkoz@redhat.com>
2454 Implement std::collate.
2455 * config/locale/collate_specializations_gnu.cc: Add here, implement in
2457 * config/locale/collate_specializations_generic.cc: Add here, but
2458 in a less sophisticated manner.
2459 * include/bits/locale_facets.tcc (collate): Add generic definition.
2460 * include/bits/locale_facets.h (~collate): Mark virtual.
2461 (collate::_M_compare_helper): New.
2462 (collate::_M_transform_helper): New.
2463 * src/locale.cc: Remove unnecessary specializations.
2464 * src/string-inst.cc: Tweak instantiation of ctors.
2466 * acinclude.m4 (GLIBCPP_ENABLE_CLOCALE): Do configury for collate.
2467 * aclocal.m4: Regenerate.
2468 * configure: Regenerate.
2469 * src/Makefile.am (sources): Add collate.cc.
2470 * src/Makefile.in: Regenerate.
2472 * testsuite/22_locale/collate_byname.cc: New.
2473 * testsuite/22_locale/collate.cc: New file.
2474 * testsuite/22_locale/collate_char_members.cc: New file.
2475 * testsuite/22_locale/collate_wchar_t_members.cc: New file.
2477 2001-08-16 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
2479 * configure.target: Set LIMITSH for powerpc-*-*.
2480 * config/cpu/powerpc/bits/limits.h: New file.
2482 2001-08-16 Marc Espie <espie@openbsd.org>
2484 * configure.in: Check for <sys/types.h>.
2485 * configure: Rebuild.
2486 * config.h.in: Rebuild.
2487 * libmath/mathconf.h: Include <sys/types.h> prior to
2488 <machine/endian.h> if available.
2490 2001-08-15 Andreas Schwab <schwab@suse.de>
2492 * configure.target (cpu_include_dir): Set to `config/cpu/m68k' for
2493 m68k and m680[246]0.
2494 * config/cpu/m68k/bits/atomicity.h: New file.
2496 * include/bits/std_limits.h [__glibcpp_long_double_bits == 96]:
2497 Define appropriate long double limits for m68k extended floating
2499 (__glibcpp_f32_digits10): Corrected, off by one.
2500 (__glibcpp_f80_digits10): Likewise.
2501 (__glibcpp_f128_digits10): Likewise.
2502 * config/os/gnu-linux/bits/os_defines.h
2503 (__glibcpp_long_double_bits) [__mc68000__]: Define to 96.
2505 2001-08-15 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
2507 * testsuite/18_support/numeric_limits.cc: Add more tests.
2508 * include/bits/std_limits.h (numeric_limits<char>::max): Fix
2511 2001-08-14 Ulrich Weigand <uweigand@de.ibm.com>
2513 * configure.target (cpu_include_dir): Set to `config/cpu/s390'
2516 * config/cpu/s390/bits/atomicity.h: New.
2518 2001-08-14 Gabriel Dos Reis <gdr@codesourcery.com>
2520 * include/bits/std_limits.h: Fix thinko.
2522 2001-08-14 Benjamin Kosnik <bkoz@redhat.com>
2524 * include/Makefile.am: Consolidate target rules. Don't clean stamp
2525 files. Tweak target build directory stamp.
2526 * include/Makefile.in: Regenerate.
2528 2001-08-14 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
2530 * libstdc++-v3/libmath/stubs.c: Fix PR/3988, replace
2531 _GBLICPP_HAVE_LOGL with HAVE_LOGL
2533 2001-08-13 Benjamin Kosnik <bkoz@redhat.com>
2535 * configure.in (libtool_VERSION): Add.
2536 (VERSION): Change to
2537 (release_VERSION): This.
2538 * configure: Regenerate.
2539 * src/Makefile.am (libstdc___la_LDFLAGS): Use -version-info with
2541 * src/Makefile.in: Regenerate.
2543 * intl/Makefile.am: Remove.
2544 * intl/Makefile.in: Remove.
2546 * Makefile.am (SUBDIRS): Remove intl.
2547 * po/Makefile.am (DISTFILES): Add string_literals.cc
2549 * po/string_literals.cc: Add.
2550 * po/POTFILES.in: Fix path.
2551 * acinclude.m4 (GLIBCPP_ENABLE_CLOCALE): Don't call AM_GNU_GETTEXT.
2552 * aclocal.m4: Regenerate.
2553 * configure.in: Remove AC_OUTPUT of intl/Makefile.
2555 * include/backward/backward_warning.h: Clarify message.
2557 * testsuite_flags.in (--cxxflags): Use same debug flags for
2558 library and testsuite.
2560 * include/Makefile.am (c_compatibility): Remove.
2561 * include/Makefile.in: Regenerate.
2563 2001-08-13 Mark Mitchell <mark@codesourcery.com>
2565 * configure.in (LIMITS_INC_SRCDIR): New variable.
2566 * configure.target (LIMITSH): New variable.
2567 * porting.texi: Discuss numeric limits.
2568 * config/cpu/generic/bits/limits.h: New file.
2569 * config/cpu/i386/bits/limits.h: New file.
2570 * include/Makefile.am: Install bits/limits.h.
2571 * include/bits/c++config: Include bits/limits.h.
2573 2001-08-13 H.J. Lu (hjl@gnu.org)
2575 * testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3-copy-files):
2577 (libstdc++-v3-init ): Use it.
2579 2001-08-13 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
2581 * include/bits/ostream.tcc (__pad_char): Change toplevel '__fmt'
2582 to '__adjust' to avoid shadowing in nested scope.
2584 2001-08-10 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
2586 * include/bits/std_limits.h(__glibcpp_char_is_signed): Use
2589 * config/os/gnu-linux/bits/os_defines.h(__glibcpp_char_is_signed):
2591 * config/os/aix/bits/os_defines.h(__glibcpp_plain_char_is_signed):
2594 2001-08-10 Loren J. Rittle <ljrittle@acm.org>
2596 * testsuite/testsuite_hooks.h (__set_testsuite_memlimit): Add
2597 dummy default argument to the non-limit implementation.
2600 * include/Makefile.am: Use relative file path in rule to allow
2602 * include/Makefile.in: Rebuilt.
2604 2001-08-10 Gunter Winkler <gunter.winkler@mathematik.tu-chemnitz.de>
2606 * include/bits/std_complex.h (complex<long double>::operator*=,
2607 complex<long double>::operator/=): Fix thinko.
2609 2001-08-10 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
2611 * include/bits/std_limits.h: New file.
2612 * include/Makefile.am (bits_headers): Add std_limits.h
2613 (all-local): std_limits.h is no longer built.
2614 (${target_builddir}/std_limits.h): Remove.
2615 * include/Makefile.in: Regenerate.
2616 * src/limits.cc: New file.
2617 * src/Makefile.am (sources): Add limits.cc in replacement of
2619 * src/Makefile.in: Regenerate.
2621 2001-08-09 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
2623 * src/gen-num-limits.cc (digits10): Fix thinko.
2625 2001-08-09 Benjamin Kosnik <bkoz@redhat.com>
2627 * po/Makefile.am (check-no): Add.
2629 * po/Makefile.in: Regenerate.
2631 2001-08-09 Benjamin Kosnik <bkoz@redhat.com>
2633 * acconfig.h (_GLIBCPP_MEM_LIMITS): Define.
2634 * config.h.in: Regenerate.
2635 * acinclude.m4 (GLIBCPP_CHECK_SETRLIMIT): Check for setrlimit
2637 * aclocal.m4: Regenerate.
2638 * configure.in: Remove duplicate AM_CONFIG_HEADER.
2639 (AM_CONFIG_HEADER): Remove testsuite/testsuite_hooks.h.
2640 Only call GLIBCPP_CHECK_SETRLIMIT for native compiles.
2641 * configure: Regenerate.
2642 * testsuite_hooks.h.in: Move to...
2643 * testsuite_hooks.h: Here, include c++config.h. Use it.
2645 * Makefile.am (SUBDIRS): Move testsuite to last directory.
2646 * Makefile.in: Regenerate.
2647 * po/Makefile.am (stamp-po): Add.
2649 2001-08-09 David Edelsohn <edelsohn@gnu.org>
2651 * config/os/aix/bits/os_defines.h: Define std_limits.h macros.
2652 * config/os/generic/bits/os_defines.h: Likewise.
2653 * config/os/gnu-linux/bits/os_defines.h: Likewise.
2654 * config/os/hpux/bits/os_defines.h: Likewise.
2655 * config/os/irix/irix6.5/bits/os_defines.h: Likewise.
2656 * config/os/solaris/solaris2.7/bits/os_defines.h: Likewise.
2658 2001-08-08 Benjamin Kosnik <bkoz@redhat.com>
2660 * src/Makefile.am (libstdc___la_LDFLAGS): Use -release instead of
2661 -version-info, use substituted VERSION info.
2662 * src/Makefile.in: Regenerate.
2664 2001-08-07 Benjamin Kosnik <bkoz@redhat.com>
2666 Implement std::messages.
2667 Make config a fully-nested directory.
2668 * config/locale: New directory.
2669 * config/c_locale_generic.cc: Move into locale subdirectory.
2670 * config/c_locale_generic.h: Same.
2671 * config/c_locale_gnu.cc: Same.
2672 * config/c_locale_gnu.h: Same.
2673 * config/c_locale_ieee_1003.1-200x.cc: Same.
2674 * config/c_locale_ieee_1003.1-200x_.h: Same.
2675 * config/codecvt_specializations_generic.h: Same.
2676 * config/codecvt_specializations_ieee_1003.1-200x.h: Same.
2677 * config/messages_members_gnu.h: Same.
2678 * config/messaages_members_gnu.cc: Same.
2679 * config/messages_members_generic.h: Same.
2680 * config/messaages_members_generic.cc: Same.
2681 * config/messages_members_ieee_1003.1-200x.h: Same.
2682 * config/messaages_members_ieee_1003.1-200x.cc: Same.
2683 * config/io: New directory.
2684 * config/basic_file_libio.h: Move into io subdirectory.
2685 * config/basic_file_libio.cc: Same.
2686 * config/c_io_libio.h: Same.
2687 * config/c_io_libio_codecvt.c: Same.
2688 * config/basic_file_stdio.h: Same.
2689 * config/basic_file_stdio.cc: Same.
2690 * config/c_io_stdio.h: Same.
2692 * po: New directory.
2693 * po/POTFILES.in: New file.
2694 * po/Makefile.am: New file.
2695 * po/Makefile.in: New file.
2696 * po/libstdc++.pot: Generic translation file.
2697 * po/fr.po: Preliminary French translation.
2698 * po/de.po: Preliminary German translation.
2699 * intl: New directory.
2700 * intl/Makefile.am: New file.
2701 * intl/Makefile.in: New file.
2702 * intl/string_literals.cc: New file.
2703 * acinclude.m4 (GLIBCPP_CONFIGURE): Bump VERSION to 3.1.0. Add
2704 requisite setup for gettext. Re-arrange.
2705 * aclocal.m4: Regenerate.
2706 * configure.in: Don't call GLIBCPP_CHECK_COMPILER_VERSION.
2707 Output Makefile bits for po and intl.
2708 * configure: Regenerate.
2709 * Makefile.am (SUBDIRS): Add intl, po. Add rule for dist.
2710 * Makefile.in: Regenerate.
2711 * acconfig.h: Add ENABLE_NLS, HAVE_CATGETS, HAVE_GETTEXT, HAVE_STPCPY.
2712 * config.h.in: Regenerate.
2714 * acinclude.m4 (AC_REPLACE_STRINGFUNCS): Remove.
2716 * include/Makefile.am (install-data-local): Don't install Makefile.
2717 * include/Makefile.in: Regenerate.
2719 * include/bits/locale_facet.h (locale::facet::_S_clone_c_locale):
2721 * config/locale/c_locale_gnu.cc (_S_clone_c_locale): Add definition.
2722 * config/locale/c_locale_generic.cc: Same.
2723 * config/locale/c_locale_ieee_1003.1-200x.cc: Same.
2725 * include/bits/codecvt.h: Excise non-standard, non-required
2726 bits. This includes __enc_traits, and partial specializations of
2727 codecvt for __enc_traits.
2728 * src/codecvt.cc (__enc_traits::_S_max_size): Guard
2729 * config/codecvt_partials_ieee_1003.1-200x.h: New file.
2730 * config/codecvt_partials_generic.h: New file.
2731 * include/Makefile.am (allstamps): Add stamp-codecvt_model.
2732 (stamp-codecvt_model): Add.
2733 * include/Makefile.in: Regenerate.
2734 * acinclude.m4 (GLIBCPP_ENABLE_CLOCALE): Add in codecvt configury.
2735 * aclocal.m4: Regenerate.
2736 * configure: Regenerate.
2737 * testsuite/22_locale/codecvt_unicode_wchar_t.cc: Use macro guard.
2738 * testsuite/22_locale/codecvt_unicode_char.cc: Same.
2739 * testsuite/22_locale/ctor_copy_dtor.cc: And here.
2741 * include/bits/localefwd.h (class locale::facet): Add __enc_traits
2742 as a friend for _S_*_c_locale functions.
2743 * include/bits/codecvt.h (__enc_traits::__enc_traits): Add locale
2744 argument to default constructor so that CODESET information can be
2746 * include/bits/locale_facets.h (messages_byname):
2747 Re-implement. Remove specializations.
2748 * src/locale.cc (messages_byname<char>): Remove specialization.
2749 (messages_byname<wchar_t>): Same.
2750 * config/locale/c_locale_ieee_1003.1-200x.cc: New file.
2751 * config/locale/c_locale_ieee_1003.1-200x.h: New file.
2752 * config/locale/messages_members_ieee_1003.1-200x.cc: New file.
2753 * config/locale/messages_members_ieee_1003.1-200x.h: New file.
2754 * config/locale/messages_members_gnu.cc: New file.
2755 * config/locale/messages_members_gnu.h: New file.
2756 * config/locale/messages_members_generic.cc: New file.
2757 * config/locale/messages_members_generic.h: New file.
2759 * docs/html/configopts.html: Add documentation for new locale
2760 model, ieee_1003.1. Adjust other flags for current defaults.
2761 * docs/html/22_locale/locale.html: Update.
2762 * docs/html/22_locale/howto.html: Add link to messages.html. Organize.
2763 * docs/html/22_locale/messages.html: New.
2765 * src/Makefile.am (sources): Add messages_virtuals.cc.
2766 * src/Makefile.in: Regenerate.
2767 * include/Makefile.am (allstamps): Add stamp-messages_model.
2768 (stamp-messages_model): Add.
2769 * include/Makefile.in: Regenerate.
2770 * acinclude.m4 (GLIBCPP_ENABLE_CLOCALE): Add in messages configury.
2771 * aclocal.m4: Regenerate.
2772 * configure: Regenerate.
2774 * testsuite_flags.in (--cxxflags): Add LOCALEDIR.
2775 * testsuite/lib/libstdc++-v3-dg.exp: Remove broken LD_LIBRARY_PATH
2777 * acinclude (GLIBCPP_ENABLE_CLOCALE): Set glibcpp_localedir to the
2778 build directories message catalog base directory, and export.
2779 Eventually this should probably be made to deal with build and
2780 install directories. For now, punt on this as the library itself
2781 doesn't use message catalogs (yet).
2782 * testsuite/22_locale/messages.cc: New file.
2783 * testsuite/22_locale/messages_char_members.cc: New file.
2784 * testsuite/22_locale/messages_byname.cc: New file.
2786 2001-08-06 Phil Edwards <pme@sources.redhat.com>
2788 * acinclude.m4 (GLIBCPP_CONFIGURE_TESTSUITE): New macro, calls...
2789 (GLIBCPP_CHECK_SETRLIMIT): ...this new macro, which also uses...
2790 (GLIBCPP_CHECK_SETRLIMIT_ancilliary): ...this new macro.
2791 * configure.in (AM_CONFIG_HEADER): Also generate testsuite_hooks.h.
2792 Call GLIBCPP_CONFIGURE_TESTSUITE.
2793 * aclocal.m4: Regenerate.
2794 * config.h.in: Regenerate.
2795 * configure: Regenerate.
2797 * testsuite/lib/libstdc++-v3-dg.exp: Download new header instead
2800 * testsuite_flags.in: Add build dir's testsuite to INCLUDES.
2801 * testsuite/debug_assert.h: Removed; contents merged into...
2802 * testsuite/testsuite_hooks.h.in: ...here. New file.
2803 * testsuite/17_intro/header_ciso646.cc: No longer include
2804 debug_assert.h, include testsuite_hooks.h instead.
2805 * testsuite/17_intro/header_fstream.cc: Likewise.
2806 * testsuite/17_intro/header_iomanip.cc: Likewise.
2807 * testsuite/17_intro/header_ios.cc: Likewise.
2808 * testsuite/17_intro/header_iosfwd.cc: Likewise.
2809 * testsuite/17_intro/header_iostream.cc: Likewise.
2810 * testsuite/17_intro/header_istream.cc: Likewise.
2811 * testsuite/17_intro/header_ostream.cc: Likewise.
2812 * testsuite/17_intro/header_sstream.cc: Likewise.
2813 * testsuite/17_intro/header_streambuf.cc: Likewise.
2814 * testsuite/18_support/numeric_limits.cc: Likewise.
2815 * testsuite/19_diagnostics/stdexceptions.cc: Likewise.
2816 * testsuite/20_util/allocator_members.cc: Likewise.
2817 * testsuite/20_util/auto_ptr.cc: Likewise.
2818 * testsuite/20_util/pairs.cc: Likewise.
2819 * testsuite/21_strings/append.cc: Likewise.
2820 * testsuite/21_strings/capacity.cc: Likewise.
2821 * testsuite/21_strings/char_traits_requirements.cc: Likewise.
2822 * testsuite/21_strings/compare.cc: Likewise.
2823 * testsuite/21_strings/ctor_copy_dtor.cc: Likewise. Also set up
2824 call to (disabled) __set_testsuite_memlimit() wrapper.
2825 * testsuite/21_strings/element_access.cc: Likewise.
2826 * testsuite/21_strings/find.cc: Likewise.
2827 * testsuite/21_strings/insert.cc: Likewise. Also set up call to
2828 (disabled) __set_testsuite_memlimit() wrapper.
2829 * testsuite/21_strings/inserters_extractors.cc: Likewise.
2830 * testsuite/21_strings/invariants.cc: Likewise.
2831 * testsuite/21_strings/nonmember.cc: Likewise.
2832 * testsuite/21_strings/operations.cc: Likewise.
2833 * testsuite/21_strings/replace.cc: Likewise.
2834 * testsuite/21_strings/rfind.cc: Likewise.
2835 * testsuite/21_strings/substr.cc: Likewise.
2836 * testsuite/22_locale/codecvt_char_char.cc: Likewise.
2837 * testsuite/22_locale/codecvt_unicode_char.cc: Likewise.
2838 * testsuite/22_locale/codecvt_unicode_wchar_t.cc: Likewise.
2839 * testsuite/22_locale/codecvt_wchar_t_char.cc: Likewise.
2840 * testsuite/22_locale/ctor_copy_dtor.cc: Likewise.
2841 * testsuite/22_locale/ctype_char_members.cc: Likewise.
2842 * testsuite/22_locale/ctype_wchar_t_members.cc: Likewise.
2843 * testsuite/22_locale/facet.cc: Likewise.
2844 * testsuite/22_locale/global_templates.cc: Likewise.
2845 * testsuite/22_locale/members.cc: Likewise.
2846 * testsuite/22_locale/numpunct_byname.cc: Likewise.
2847 * testsuite/22_locale/numpunct_char_members.cc: Likewise.
2848 * testsuite/22_locale/operators.cc: Likewise.
2849 * testsuite/22_locale/static_members.cc: Likewise.
2850 * testsuite/23_containers/bitset_ctor.cc: Likewise.
2851 * testsuite/23_containers/bitset_members.cc: Likewise.
2852 * testsuite/23_containers/bitset_shift.cc: Likewise.
2853 * testsuite/23_containers/vector_capacity.cc: Likewise.
2854 * testsuite/23_containers/vector_ctor.cc: Likewise.
2855 * testsuite/23_containers/vector_element_access.cc: Likewise.
2856 * testsuite/23_containers/vector_modifiers.cc: Likewise.
2857 * testsuite/24_iterators/istreambuf_iterator.cc: Likewise.
2858 * testsuite/24_iterators/iterator.cc: Likewise.
2859 * testsuite/24_iterators/ostreambuf_iterator.cc: Likewise.
2860 * testsuite/25_algorithms/binary_search.cc: Likewise.
2861 * testsuite/25_algorithms/copy.cc: Likewise.
2862 * testsuite/25_algorithms/heap.cc: Likewise.
2863 * testsuite/25_algorithms/lower_bound.cc: Likewise.
2864 * testsuite/25_algorithms/min_max.cc: Likewise.
2865 * testsuite/25_algorithms/partition.cc: Likewise.
2866 * testsuite/25_algorithms/rotate.cc: Likewise.
2867 * testsuite/25_algorithms/sort.cc: Likewise.
2868 * testsuite/26_numerics/c_math.cc: Likewise.
2869 * testsuite/26_numerics/complex_inserters_extractors.cc: Likewise.
2870 * testsuite/26_numerics/complex_value.cc: Likewise.
2871 * testsuite/27_io/filebuf.cc: Likewise.
2872 * testsuite/27_io/filebuf_members.cc: Likewise.
2873 * testsuite/27_io/filebuf_virtuals.cc: Likewise.
2874 * testsuite/27_io/fpos.cc: Likewise.
2875 * testsuite/27_io/fstream_members.cc: Likewise.
2876 * testsuite/27_io/ifstream_members.cc: Likewise.
2877 * testsuite/27_io/ios_base_callbacks.cc: Likewise.
2878 * testsuite/27_io/ios_base_members_static.cc: Likewise.
2879 * testsuite/27_io/ios_base_storage.cc: Likewise.
2880 * testsuite/27_io/ios_ctor.cc: Likewise.
2881 * testsuite/27_io/ios_init.cc: Likewise.
2882 * testsuite/27_io/ios_manip_basefield.cc: Likewise.
2883 * testsuite/27_io/ios_manip_fmtflags.cc: Likewise.
2884 * testsuite/27_io/ios_members.cc: Likewise.
2885 * testsuite/27_io/istream_extractor_arith.cc: Likewise.
2886 * testsuite/27_io/istream_extractor_char.cc: Likewise.
2887 * testsuite/27_io/istream_extractor_other.cc: Likewise.
2888 * testsuite/27_io/istream_manip.cc: Likewise.
2889 * testsuite/27_io/istream_seeks.cc: Likewise.
2890 * testsuite/27_io/istream_sentry.cc: Likewise.
2891 * testsuite/27_io/istream_unformatted.cc: Likewise.
2892 * testsuite/27_io/istringstream_members.cc: Likewise.
2893 * testsuite/27_io/narrow_stream_objects.cc: Likewise.
2894 * testsuite/27_io/ofstream_members.cc: Likewise.
2895 * testsuite/27_io/ostream_inserter_arith.cc: Likewise.
2896 * testsuite/27_io/ostream_inserter_char.cc: Likewise.
2897 * testsuite/27_io/ostream_inserter_other.cc: Likewise.
2898 * testsuite/27_io/ostream_manip.cc: Likewise.
2899 * testsuite/27_io/ostream_seeks.cc: Likewise.
2900 * testsuite/27_io/ostream_unformatted.cc: Likewise.
2901 * testsuite/27_io/ostringstream_members.cc: Likewise.
2902 * testsuite/27_io/streambuf.cc: Likewise.
2903 * testsuite/27_io/stringbuf.cc: Likewise.
2904 * testsuite/27_io/stringbuf_virtuals.cc: Likewise.
2905 * testsuite/27_io/stringstream.cc: Likewise.
2906 * testsuite/27_io/stringstream_members.cc: Likewise.
2907 * testsuite/27_io/wide_stream_objects.cc: Likewise.
2909 2001-07-31 Loren J. Rittle <ljrittle@acm.org>
2911 * src/gen-num-limits.cc: Use __LONG_LONG_MAX__.
2913 2001-07-30 Benjamin Kosnik <bkoz@redhat.com>
2915 * configure.target: Remove mips from cpu table.
2916 * config/cpu/mips/bits/atomicity.h: Remove generic
2917 versions. Comment sgidefs include.
2919 2001-07-25 H.J. Lu <hjl@gnu.org>
2921 * configure.target (cpu_include_dir): Set to `config/cpu/mips'
2924 * config/cpu/mips/bits/atomicity.h: New.
2926 2001-07-25 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
2928 * acinclude.m4: CHECK_MATH_DECL_AND_LINKAGE for hypot, hypotf,
2929 hypotl, atan2f, atan2l. Remove from REPLACE_MATHFUNCS list.
2930 * aclocal.m4: Regenerate.
2931 * config.h.in: Likewise.
2932 * configure: Likewise.
2933 * libmath/Makefile.am (EXTRA_LONG_DOUBLE_yes): Remove hypotl.c
2934 (EXTRA_DIST): Remove hypot.c hypotf.c.
2935 * libmath/Makefile.am: Regenerate.
2936 * libmath/hypotf.c: Remove.
2937 * libmath/hypot.c: Likewise.
2938 * libmath/hypotl.c: Likewise.
2939 * libmath/stubs.c: The macros seen here are HAVE_xxx, not
2940 _GLIBCPP_HAVE_xxx. Add long double versions.
2942 2001-07-23 David Edelsohn <edelsohn@gnu.org>
2944 * include/bits/limits_generic.h (int): Set digits and digits10
2945 appropriately for word size.
2946 (unsigned int,long,unsigned long): Likewise.
2948 2001-07-19 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
2950 * include/bits/stl_algo.h : Fix typos.
2951 * testsuite/25_algorithms/unique.cc: New file.
2953 2001-07-19 Phil Edwards <pme@sources.redhat.com>
2954 Mark Mitchell <mark@codesourcery.com>
2956 Merge from cp-parser-branch.
2957 * include/bits/basic_string.h: Qualify symbols with 'template'.
2958 * include/bits/basic_string.tcc: Likewise.
2959 * include/bits/fstream.tcc: Likewise.
2960 * include/bits/istream.tcc: Likewise.
2961 * include/bits/sstream.tcc: Likewise.
2962 * include/bits/std_istream.h: Likewise.
2963 * include/bits/stl_iterator.h: Likewise.
2964 * include/bits/streambuf.tcc: Likewise.
2965 * src/gen-num-limits.cc: Add 'template<>' to specializations.
2966 * src/locale.cc: Likewise.
2968 2001-07-19 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
2969 Bert De Knuydt <Bert.Deknuydt@esat.kuleuven.ac.be>
2971 * src/gen-num-limits.cc (set_signals_handler): New function.
2972 Factor out signals setting. Set signal handler for SIGILL.
2974 2001-07-18 Phil Edwards <pme@sources.redhat.com>
2976 * docs/html/27_io/howto.html: Fix typo.
2977 * docs/html/faq/index.html: Minor updates for 3.0 all around.
2978 * docs/html/faq/index.txt: Regenerated.
2980 2001-07-18 Stephen M. Webb <stephen@bregmasoft..com>
2981 Roman Sulzhyk <roman_sulzhyk@yahoo.com>
2984 * include/bits/ostream.tcc (ostream::put): Fixed error condition check.
2985 * testsuite/27_io/streambuf.cc (test07): Added new regression test.
2987 2001-07-17 Stephen M. Webb <stephen@bregmasoft.com>r
2989 All occurrences of the __value_type() and __distance_type()
2990 functions, which were required to support the HP STL, have been
2991 removed along with all the auxiliary forwarding functions that
2992 were required to support their use.
2994 The __iterator_category() function was pretty much left alone
2995 because there was no benefit to removing it and its use made code
2996 just a little more readable.
2998 Incidences of distance() with nonstandard argument list were
2999 replaced by calls to the standard function (only in the files
3000 affected by the removal of the other HP functions).
3002 The signature of the rotate() algorithm was changed to match the
3005 Headers were reformatted under C++STYLE guidelines (indentation,
3006 linebreaks, typename keyword).
3008 * include/bits/stl_algo.h: replaced __value_type() and
3009 __distance_type() with iterator_traits, eliminated auxiliary
3010 support functions required to support said function usage.
3011 Changed nonstandard distance() call to standard call.
3013 * include/bits/stl_algobase.h: Same.
3014 * include/bits/stl_heap.h: Same.
3015 * include/bits/stl_numeric.h: Same.
3016 * include/bits/stl_uninitialized.h: Same.
3017 * include/bits/stl_iterator_base_types.h (__value_type()):
3019 (__distance_type()): Removed.
3020 (value_type()): Gone.
3021 (distance_type()): Done in.
3022 (iterator_category()): Hasta la vista, baby.
3024 * include/bits/stl_iterator_base_funcs.h (iterator_category()):
3025 Replaced with __iterator_category().
3026 * include/backward/iterator.h: moved definition of value_type(),
3027 distance_type(), and iterator_category() out of std:: and into
3029 * testsuite/23_containers/vector_ctor.cc (test03): New testcases.
3030 * testsuite/23_containers/vector_modifiers.cc (test03): New testcases.
3031 * testsuite/25_algorithms/rotate.cc: New testcase.
3032 * testsuite/25_algorithms/copy.cc: New testcase.
3033 * testsuite/25_algorithms/sort.cc: Same.
3034 * testsuite/25_algorithms/heap.cc: Same.
3035 * testsuite/25_algorithms/partition.cc: Same.
3036 * testsuite/25_algorithms/binary_search.cc: Same.
3037 * testsuite/26_numerics/sum_diff.cc: Ditto.
3039 001-07-17 Benjamin Kosnik <bkoz@redhat.com>
3041 * testsuite/README: Add notes on naming test cases.
3042 * testsuite/22_locale/members.cc: Mark as xfail.
3043 * testsuite/22_locale/numpunct_char_members.cc: Same.
3045 2001-07-16 Stephen M. Webb <stephen@bregmasoft.com>
3047 * acinclude.m4 (GLIBCPP_ENABLE_CHEADERS): Use glibcpp_srcdir when
3048 setting C_INCLUDE_DIR.
3049 * configure.in: Revert yesterday's LN_S change.
3050 * aclocal.m4: Regenerate.
3051 * configure: Regenerate.
3053 2001-07-15 Phil Edwards <pme@sources.redhat.com>
3055 * configure.in: Temporarily force LN_S to copy instead of symlink.
3056 * configure: Regenerate.
3058 2001-07-13 Phil Edwards <pme@sources.redhat.com>
3060 * include/bits/std_sstream.h (basic_stringbuf::basic_stringbuf(string):
3061 Initialize _M_string with pointer-and-size constructor, not just
3062 pointer. Fix some comments.
3063 * testsuite/21_strings/ctor_copy_dtor.cc (test03): New test.
3064 * testsuite/27_io/stringbuf.cc (test02): Remove unused variable.
3065 (test03): Add embedded-NUL tests.
3067 * mkcheck.in: When printing totals, match the order of the tests.
3068 * include/bits/stringfwd.h: Use same declaration keywords.
3069 * include/bits/std_iosfwd.h: Cosmetic spacing.
3071 2001-07-13 Stephen M. Webb <stephen@bregmasoft.com>
3072 Loren J. Rittle <ljrittle@acm.org>
3073 Phil Edwards <pme@sources.redhat.com>
3075 * include/Makefile.am: New file encapsulating header generation rules.
3076 * Makefile.am (SUBDIRS): Prepend 'include' directory.
3077 * acinclude.m4: Moved/removed rules for building various headers.
3078 * configure.in (AC_OUTPUT): Add include/Makefile.
3079 * mkc++config: Removed.
3081 * testsuite_flags.in: Changed build-includes to match new scheme.
3082 * mknumeric_limits: Likewise.
3083 * libio/Makefile.am: Changed INCLUDES to maatch new header scheme.
3084 * libmath/Makefile.am: Likewise.
3085 * libsupc++/Makefile.am: Likewise.
3086 * src/Makefile.am: Likewise; removed rules to build headers.
3087 * libmath/mathconf.h: Changed #include'd header names to match.
3088 * libmath/stubs.c: Likewise.
3089 * src/gen-num-limits.cc: Likewise.
3091 * configure: Regenerated.
3092 * config.h.in: Regenerated.
3093 * aclocal.m4: Regenerated.
3094 * Makefile.in: Regenerated.
3095 * include/Makefile.in: Regenerated.
3096 * libio/Makefile.in: Regenerated.
3097 * libmath/Makefile.in: Regenerated.
3098 * libsupc++/Makefile.in: Regenerated.
3099 * src/Makefile.in: Regenerated.
3100 * testsuite/Makefile.in: Regenerated.
3102 2001-07-11 Felix Natter <fnatter@gmx.net>
3104 * docs/html/17_intro/porting-howto.xml: Initial checkin of
3106 * docs/html/17_intro/porting-howto.html: check in v0.9.3
3108 2001-07-11 Phil Edwards <pme@sources.redhat.com>
3110 * docs/doxygen/run_doxygen: Don't keep output from previous run.
3111 * docs/doxygen/user.cfg.in: Tweaks.
3112 * include/bits/c++config: Documentation comments for Doxygen.
3113 * include/bits/char_traits.h: Likewise.
3114 * include/bits/limits_generic.h: Likewise.
3115 * include/bits/std_stdexcept.h: Likewise.
3116 * include/bits/stl_pair.h: Likewise.
3117 * libsupc++/exception: Likewise.
3118 * libsupc++/new: Likewise.
3119 * libsupc++/typeinfo: Likewise.
3120 * libmath/Makefile.am: Update and correct copyright.
3122 2001-07-10 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
3124 * acinclude.m4: Don't AC_REPLACE_MATHFUNCS expf and atan2f.
3125 * aclocal.m4: Regenerate.
3128 2001-07-09 Phil Edwards <pme@sources.redhat.com>
3130 * docs/html/configopts.html: Fix thinko.
3131 * docs/html/27_io/howto.html: Fix thinko and HTML markup.
3132 * include/bits/stl_iterator.h: Fix typo.
3134 2001-07-09 Phil Edwards <pme@sources.redhat.com>
3136 * docs/html/explanations.html: New file.
3137 * docs/html/configopts.html: Link to it to provide more notes
3138 on cstdio. Minor markup and spacing fixes.
3139 * docs/html/27_io/howto.html: Talk about sync_with_stdio.
3141 2001-07-09 Kriang Lerdsuwanakij <lerdsuwa@users.sourceforge.net>
3143 * include/bits/valarray_meta.h (_Expr::operator+): Use qualified id
3144 for _Expr template template argument.
3145 (_Expr::operator-): Likewise.
3146 (_Expr::operator~): Likewise.
3147 (_Expr::operator!): Likewise.
3148 (_DEFINE_EXPR_UNARY_OPERATOR): Likewise.
3150 2001-07-06 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
3152 * libmath/Makefile.am (EXTRA_DIST): Remove atan2f.c and expf.c
3153 * libmath/Makefile.in: Regenerate.
3154 * libmath/expf.c: Remove.
3155 * libmath/atan2f.c: Likewise.
3157 2001-07-06 Daniel Jacobowitz <drow@mvista.com>
3159 * configure.in: Remove NATIVE, NULL_TARGET.
3160 Set CANADIAN only for Canadian crosses. Set xcompiling
3161 for both Canadian crosses and host-x-host crosses.
3162 * configure: Regenerated.
3164 2001-07-06 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
3166 * include/bits/stl_vector.h (vector::_M_initialize_aux): Fix typo.
3168 2001-07-05 Jason Merrill <jason_merrill@redhat.com>
3170 * testsuite_flags.in (--build-includes): backward, not backwards.
3172 2001-07-04 Jeffrey Oldham <oldham@codesourcery.com>
3174 * include/ext/ropeimpl.h (_Rope_RopeRep::_M_free_c_string):
3175 Replace destroy by _Destroy.
3176 (_Rope_RopeRep::_S_free_string): Likewise.
3177 (rope::c_str()): Likewise.
3178 * include/ext/slist (_Slist_base::_M_erase_after>): Likewise.
3179 (_Slist_base::_M_erase_after): Likewise.
3180 (slist::_M_create_node): Replace construct by _Construct.
3181 (slist::pop_front): Replace destroy by _Destroy.
3182 * include/ext/stl_hashtable.h (hashtable::_M_new_node): Replace
3183 construct by _Construct.
3184 (hashtable::_M_delete_node): Replace destroy by _Destroy.
3185 * include/ext/stl_rope.h (rope::rope): Replace construct by
3187 (rope::copy): Replace destroy by _Destroy.
3189 2001-07-03 Benjamin Kosnik <bkoz@redhat.com>
3191 * include/bits/localefwd.h: Format.
3192 * include/bits/locale_facts.tcc (locale::combine): Adjust.
3193 * src/locale.cc (locale::locale::(_Impl)): Don't call
3195 (locale::facet::_M_remove_reference): Simplify.
3196 * src/globals.cc (locale_impl_c): New. Format.
3198 * src/ios.cc (ios_base::Init::Init): Increment _S_ios_base_init last.
3200 2001-07-02 Loren J. Rittle <ljrittle@acm.org>
3202 * acinclude.m4 (GLIBCPP_ENABLE_THREADS): Protect variable from shell
3203 expansion (thanks to Alexandre Oliva).
3204 * aclocal.m4: Regenerate.
3205 * configure: Regenerate.
3207 2001-07-02 Benjamin Kosnik <bkoz@redhat.com>
3209 * src/locale.cc (locale::locale(const char*)): Make sure global
3210 locales are initialized.
3211 * include/bits/locale_facets.tcc (locale::combine): Refcout should
3212 be zero, not one as it's return-by-value.
3213 * testsuite/27_io/ios_base_callbacks.cc (test01): Don't check for
3215 * testsuite/22_locale/ctor_copy_dtor.cc (test01): Instead, check
3218 * libsupc++/eh_alloc.cc: Use climits, not limits.h.
3220 2001-07-02 Loren J. Rittle <ljrittle@acm.org>
3223 * acinclude.m4 (GLIBCPP_ENABLE_THREADS): Portability enhancement.
3224 * aclocal.m4: Regenerate.
3225 * configure: Regenerate.
3227 2001-07-02 Loren J. Rittle <ljrittle@acm.org>
3230 * acinclude.m4 (GLIBCPP_ENABLE_THREADS): Add relative path to
3231 staged/installed area to support -I-. Document.
3232 * aclocal.m4: Regenerate.
3233 * configure: Regenerate.
3235 2001-07-02 Loren J. Rittle <ljrittle@acm.org>
3238 * src/ios.cc (ios_base::Init::_S_ios_create): Rename __bufsize to
3239 __out_bufsize. Add __in_bufsize, document it and use it.
3241 2001-07-01 Stephen M. Webb <stephen@bregmasoft.com>
3243 * include/bits/stl_construct.h (construct): Remove.
3245 (__destroy): Replaced by use of iterator_traits.
3246 * include/bits/stl_deque.h: replaced HP iterator functions with
3248 (construct): changed to _Construct.
3249 (destroy): changed to _Destroy.
3250 * include/bits/stl_tempbuf.h: Same.
3251 * include/bits/stl_tree.h: Same.
3252 * include/bits/stl_vector.h: Same.
3253 * include/backward/iterator.h (construct): moved definition to here.
3256 2001-06-29 Benjamin Kosnik <bkoz@redhat.com>
3258 * include/bits/locale_facets.tcc (locale::combine): Clone _Impl.
3259 before replacing facet.
3260 * include/bits/localefwd.h (locale::_Impl::_M_remove_reference):
3262 * src/localename.cc (locale::_Impl): Correct ctor initialization
3263 lists. Initialize ref count with one. Simplify.
3264 * src/locale.cc: Add comment.
3265 * testsuite/22_locale/numpunct.cc (test01): Add derivation test.
3266 * testsuite/22_locale/numpunct_char_members.cc (test01): Add tests.
3267 * testsuite/22_locale/members.cc (test02): Fix.
3269 2001-06-27 Phil Edwards <pme@sources.redhat.com>
3271 * include/backward/algo.h: Add "GPL plus runtime exception" comment
3272 block, this time for real.
3273 * include/backward/algobase.h: Likewise.
3274 * include/backward/alloc.h: Likewise.
3275 * include/backward/bvector.h: Likewise.
3276 * include/backward/defalloc.h: Likewise.
3277 * include/backward/deque.h: Likewise.
3278 * include/backward/function.h: Likewise.
3279 * include/backward/hash_map.h: Likewise.
3280 * include/backward/hash_set.h: Likewise.
3281 * include/backward/hashtable.h: Likewise.
3282 * include/backward/heap.h: Likewise.
3283 * include/backward/iterator.h: Likewise.
3284 * include/backward/list.h: Likewise.
3285 * include/backward/map.h: Likewise.
3286 * include/backward/multimap.h: Likewise.
3287 * include/backward/multiset.h: Likewise.
3288 * include/backward/pair.h: Likewise.
3289 * include/backward/rope.h: Likewise.
3290 * include/backward/set.h: Likewise.
3291 * include/backward/slist.h: Likewise.
3292 * include/backward/stack.h: Likewise.
3293 * include/backward/strstream: Likewise.
3294 * include/backward/tempbuf.h: Likewise.
3295 * include/backward/tree.h: Likewise.
3296 * include/backward/vector.h: Likewise.
3297 * include/bits/pthread_allocimpl.h: Likewise.
3298 * include/bits/std_algorithm.h: Likewise.
3299 * include/bits/std_bitset.h: Likewise.
3300 * include/bits/std_deque.h: Likewise.
3301 * include/bits/std_functional.h: Likewise.
3302 * include/bits/std_iterator.h: Likewise.
3303 * include/bits/std_list.h: Likewise.
3304 * include/bits/std_map.h: Likewise.
3305 * include/bits/std_memory.h: Likewise.
3306 * include/bits/std_numeric.h: Likewise.
3307 * include/bits/std_queue.h: Likewise.
3308 * include/bits/std_set.h: Likewise.
3309 * include/bits/std_stack.h: Likewise.
3310 * include/bits/std_utility.h: Likewise.
3311 * include/bits/std_vector.h: Likewise.
3312 * include/bits/stl_algo.h: Likewise.
3313 * include/bits/stl_algobase.h: Likewise.
3314 * include/bits/stl_alloc.h: Likewise.
3315 * include/bits/stl_bvector.h: Likewise.
3316 * include/bits/stl_construct.h: Likewise.
3317 * include/bits/stl_deque.h: Likewise.
3318 * include/bits/stl_function.h: Likewise.
3319 * include/bits/stl_heap.h: Likewise.
3320 * include/bits/stl_iterator.h: Likewise.
3321 * include/bits/stl_iterator_base_funcs.h: Likewise.
3322 * include/bits/stl_iterator_base_types.h: Likewise.
3323 * include/bits/stl_list.h: Likewise.
3324 * include/bits/stl_map.h: Likewise.
3325 * include/bits/stl_multimap.h: Likewise.
3326 * include/bits/stl_multiset.h: Likewise.
3327 * include/bits/stl_numeric.h: Likewise.
3328 * include/bits/stl_pair.h: Likewise.
3329 * include/bits/stl_pthread_alloc.h: Likewise.
3330 * include/bits/stl_queue.h: Likewise.
3331 * include/bits/stl_raw_storage_iter.h: Likewise.
3332 * include/bits/stl_relops.h: Likewise.
3333 * include/bits/stl_set.h: Likewise.
3334 * include/bits/stl_stack.h: Likewise.
3335 * include/bits/stl_tempbuf.h: Likewise.
3336 * include/bits/stl_threads.h: Likewise.
3337 * include/bits/stl_tree.h: Likewise.
3338 * include/bits/stl_uninitialized.h: Likewise.
3339 * include/bits/stl_vector.h: Likewise.
3340 * include/bits/type_traits.h: Likewise.
3341 * include/ext/hash_map: Likewise.
3342 * include/ext/hash_set: Likewise.
3343 * include/ext/rope: Likewise.
3344 * include/ext/ropeimpl.h: Likewise.
3345 * include/ext/slist: Likewise.
3346 * include/ext/stl_hash_fun.h: Likewise.
3347 * include/ext/stl_hashtable.h: Likewise.
3348 * include/ext/stl_rope.h: Likewise.
3349 * src/bitset.cc: Likewise.
3350 * src/strstream.cc: Likewise.
3352 2001-06-26 Benjamin Kosnik <bkoz@redhat.com>
3353 <vakatov@ncbi.nlm.nih.gov>
3356 * include/bits/streambuf.tcc (__copy_streambufs): Don't set eofbit.
3357 * testsuite/27_io/ostream_inserter_other.cc (test04): Add test.
3358 * testsuite/27_io/istream_extractor_other.cc: Fix.
3360 2001-06-26 Zoltan Hidvegi <hzoli@austin.ibm.com>
3362 * acinclude.m4 (glibcpp_toolexeclibdir): Make multilib safe.
3363 * aclocal.m4: Regenerate.
3364 * configure: Regenerate.
3366 2001-06-26 Benjamin Kosnik <bkoz@redhat.com>
3368 * include/bits/stream_iterator.h (istream_iterator): Add copy ctor.
3369 (ostream_iterator): Same.
3370 * include/bits/stl_iterator.h (front_insert_iterator::operator=):
3371 Change argument to const_reference.
3372 (back_insert_iterator): Same.
3374 2001-06-26 Benjamin Kosnik <bkoz@redhat.com>
3376 * include/bits/sbuf_iter.h: Change to..
3377 * include/bits/streambuf_iterator.h: This.
3378 * include/bits/stl_iterator.h: Take out of here...
3379 * include/bits/stream_iterator.h: Add.
3380 * src/Makefile.am (base_headers): Add streambuf_iterator,
3382 * src/Makefile.in: Regenerate.
3383 * include/bits/std_string.h: Adjust includes.
3384 * include/bits/basic_ios.h: Same.
3385 * include/bits/locale_facets.tcc: Same.
3386 * include/bits/std_iosfwd.h: Same.
3388 * include/bits/std_iterator.h: Add istream, ostream includes.
3389 * include/bits/stl_iterator.h: Tweak.
3390 * testsuite/24_iterators/ostream_iterator.cc: Add test.
3391 * testsuite/24_iterators/istream_iterator.cc: Same.
3392 * testsuite/23_containers/multiset.cc: Add iterator include.
3394 2001-06-26 Phil Edwards <pme@sources.redhat.com>
3396 * acinclude.m4: Clean extraneous tabs, rewrap 'test' lines.
3397 * aclocal.m4: Regenerate.
3398 * configure: Regenerate.
3400 2001-06-26 Felix Natter <f.natter@ndh.net>
3402 * docs/html/17_intro/porting-howto.html: Fixed some errors.
3404 2001-06-26 Benjamin Kosnik <bkoz@redhat.com>
3406 * include/bits/stl_iterator.h (istream_iterator::operator->): Fix
3408 (istream_iterator::operator*): Same.
3410 2001-06-26 Benjamin Kosnik <bkoz@redhat.com>
3411 Alexandre Petit-Bianco <apbianco@redhat.com>
3413 * testsuite/21_strings/element_access.cc (test01): Chill Out Cafe
3414 is on 41st, not 14th.
3416 2001-06-26 Benjamin Kosnik <bkoz@redhat.com>
3418 * include/bits/std_iterator.h: Include sbuf_iter.h via std_ios.h.
3420 * include/bits/stl_iterator.h (istream_iterator): Inherit from
3422 (ostream_iterator): Same.
3423 * testsuite/24_iterators/istream_iterator.cc: New file.
3424 * testsuite/24_iterators/ostream_iterator.cc: New file.
3426 * include/bits/sbuf_iter.h: Remove self typedef.
3427 * testsuite/24_iterators/ostreambuf_iterator.cc: Add test.
3428 * testsuite/24_iterators/istreambuf_iterator.cc: Add test.
3430 * include/bits/stl_iterator.h (reverse_iterator): Remove
3431 extraneous typedefs. Add typename.
3432 (__normal_iterator): Remove typedefs referring to self. Add typename.
3433 (reverse_bidiretional_iterator): Remove, not longer required.
3435 2001-06-26 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
3437 * include/bits/stl_iterator.h (__normal_iterator<>): Qualify
3438 dependent names with `typename'. Bring in various required
3439 iterator_traits members. Can't imagine why that used to work.
3441 2001-06-25 Phil Edwards <pme@sources.redhat.com>
3442 Kurt Garloff <garloff@suse.de>
3445 * src/cmath.cc: New [version of an old] file; instantiate
3446 __cmath_power to start with.
3447 * src/Makefile.am (sources): Add cmath.cc (and alphabetize).
3448 * Makefile.in: Regenerate.
3449 * libio/Makefile.in: Regenerate.
3450 * libmath/Makefile.in: Regenerate.
3451 * libsupc++/Makefile.in: Regenerate.
3452 * src/Makefile.in: Regenerate.
3453 * testsuite/Makefile.in: Regenerate.
3455 2001-06-24 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
3457 * libmath/stubs.c: Fix thinko.
3459 2001-06-24 David Edelsohn <dje@watson.ibm.com>
3461 * libmath/stubs.c (sqrtf): Define.
3462 (tanf): Correct typo.
3464 2001-06-22 Benjamin Kosnik <bkoz@redhat.com>
3466 * include/bits/stl_iterator.h (reverse_iterator): Inherit from
3468 (back_insert_iterator): Same.
3469 (front_insert_iterator): Same.
3470 (insert_iterator): Same.
3472 * testsuite/20_util/raw_storage_iterator.cc: Modify.
3473 * testsuite/24_iterators/reverse_iterator.cc: New file.
3474 * testsuite/24_iterators/back_insert_iterator.cc: New file.
3475 * testsuite/24_iterators/front_insert_iterator.cc: New file.
3476 * testsuite/24_iterators/insert_iterator.cc: New file.
3478 2001-06-22 Phil Edwards <pme@sources.redhat.com>
3480 * include/*: Revert comment/license change from yesterday for all
3481 except libsupc++/unwind-cxx.h.
3482 * src/bitset.cc: Likewise.
3483 * src/strstream.cc: Likewise.
3485 2001-06-22 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
3487 * libmath/stubs.c: New file.
3491 * libmath/Makefile.am (libmath_la_SOURCES): Add.
3492 * libmath/Makefile.in. Regenerate.
3494 2001-06-21 Phil Edwards <pme@sources.redhat.com>
3496 * include/backward/algo.h: Add "GPL plus runtime exception" comment.
3497 * include/backward/algobase.h: Likewise.
3498 * include/backward/alloc.h: Likewise.
3499 * include/backward/bvector.h: Likewise.
3500 * include/backward/defalloc.h: Likewise.
3501 * include/backward/deque.h: Likewise.
3502 * include/backward/function.h: Likewise.
3503 * include/backward/hash_map.h: Likewise.
3504 * include/backward/hash_set.h: Likewise.
3505 * include/backward/hashtable.h: Likewise.
3506 * include/backward/heap.h: Likewise.
3507 * include/backward/iterator.h: Likewise.
3508 * include/backward/list.h: Likewise.
3509 * include/backward/map.h: Likewise.
3510 * include/backward/multimap.h: Likewise.
3511 * include/backward/multiset.h: Likewise.
3512 * include/backward/pair.h: Likewise.
3513 * include/backward/rope.h: Likewise.
3514 * include/backward/set.h: Likewise.
3515 * include/backward/slist.h: Likewise.
3516 * include/backward/stack.h: Likewise.
3517 * include/backward/strstream: Likewise.
3518 * include/backward/tempbuf.h: Likewise.
3519 * include/backward/tree.h: Likewise.
3520 * include/backward/vector.h: Likewise.
3521 * include/bits/pthread_allocimpl.h: Likewise.
3522 * include/bits/std_algorithm.h: Likewise.
3523 * include/bits/std_bitset.h: Likewise.
3524 * include/bits/std_deque.h: Likewise.
3525 * include/bits/std_functional.h: Likewise.
3526 * include/bits/std_iterator.h: Likewise.
3527 * include/bits/std_list.h: Likewise.
3528 * include/bits/std_map.h: Likewise.
3529 * include/bits/std_memory.h: Likewise.
3530 * include/bits/std_numeric.h: Likewise.
3531 * include/bits/std_queue.h: Likewise.
3532 * include/bits/std_set.h: Likewise.
3533 * include/bits/std_stack.h: Likewise.
3534 * include/bits/std_utility.h: Likewise.
3535 * include/bits/std_vector.h: Likewise.
3536 * include/bits/stl_algo.h: Likewise.
3537 * include/bits/stl_algobase.h: Likewise.
3538 * include/bits/stl_alloc.h: Likewise.
3539 * include/bits/stl_bvector.h: Likewise.
3540 * include/bits/stl_construct.h: Likewise.
3541 * include/bits/stl_deque.h: Likewise.
3542 * include/bits/stl_function.h: Likewise.
3543 * include/bits/stl_heap.h: Likewise.
3544 * include/bits/stl_iterator.h: Likewise.
3545 * include/bits/stl_iterator_base_funcs.h: Likewise.
3546 * include/bits/stl_iterator_base_types.h: Likewise.
3547 * include/bits/stl_list.h: Likewise.
3548 * include/bits/stl_map.h: Likewise.
3549 * include/bits/stl_multimap.h: Likewise.
3550 * include/bits/stl_multiset.h: Likewise.
3551 * include/bits/stl_numeric.h: Likewise.
3552 * include/bits/stl_pair.h: Likewise.
3553 * include/bits/stl_pthread_alloc.h: Likewise.
3554 * include/bits/stl_queue.h: Likewise.
3555 * include/bits/stl_raw_storage_iter.h: Likewise.
3556 * include/bits/stl_relops.h: Likewise.
3557 * include/bits/stl_set.h: Likewise.
3558 * include/bits/stl_stack.h: Likewise.
3559 * include/bits/stl_tempbuf.h: Likewise.
3560 * include/bits/stl_threads.h: Likewise.
3561 * include/bits/stl_tree.h: Likewise.
3562 * include/bits/stl_uninitialized.h: Likewise.
3563 * include/bits/stl_vector.h: Likewise.
3564 * include/bits/type_traits.h: Likewise.
3565 * include/ext/hash_map: Likewise.
3566 * include/ext/hash_set: Likewise.
3567 * include/ext/rope: Likewise.
3568 * include/ext/ropeimpl.h: Likewise.
3569 * include/ext/slist: Likewise.
3570 * include/ext/stl_hash_fun.h: Likewise.
3571 * include/ext/stl_hashtable.h: Likewise.
3572 * include/ext/stl_rope.h: Likewise.
3573 * libsupc++/unwind-cxx.h: Likewise.
3574 * src/bitset.cc: Likewise.
3575 * src/strstream.cc: Likewise.
3577 2001-06-21 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
3579 * include/bits/indirect_array.h (indirect_array<>::operator=):
3580 Make copy and assignment operator public. Implement. Format.
3582 * include/bits/valarray_array.h (__valarray_copy): Add overloads
3583 for copy between index arrays. Format.
3585 2001-06-19 Benjamin Kosnik <bkoz@redhat.com>
3587 * mknumeric_limits: Add static definitions, format.
3588 * testsuite/18_support/numeric_limits.cc (test02): Add test.
3590 * include/c_std/bits/std_cwchar.h: Include ctime.
3591 * testsuite/17_intro/header_cwchar.cc : Check.
3593 * include/c_std/bits/std_cwctype.h: Inject wctype.
3594 * testsuite/17_intro/header_cwctype.cc: Update.
3596 2001-06-18 Benjamin Kosnik <bkoz@redhat.com>
3598 * include/bits/stl_raw_storage_iter.h: Format. Correct derivation.
3599 * testsuite/20_util/raw_storage_iterator.cc: Same.
3601 * include/bits/stl_alloc.h (_S_chunk_alloc): Change malloc to
3603 (__mem_interface): New typedef for switching between malloc and new.
3604 * testsuite/20_util/allocator_members.cc: New file.
3606 * testsuite/20_util/comparisons.cc: New file.
3607 * testsuite/20_util/pairs.cc: New file.
3609 2001-06-15 Phil Edwards <pme@sources.redhat.com>
3611 * docs/html/documentation.html: Point to new doxygen'ed collection.
3613 2001-06-14 Nathan Sidwell <nathan@codesourcery.com>
3615 * configure.in (auxdir): Replace by ...
3616 (toprel): ... new variable.
3617 (toplevel_srcdir): Construct from $toprel.
3618 * acinclude.m4 (GLIBCPP_ENABLE_THREADS): Use $toprel
3619 rather than .. to locate gcc source directory.
3620 (GLIBCPP_CONFIGURE): Replace $auxdir with $srcdir/$toprel.
3621 * aclocal.m4, configure: Rebuilt.
3623 2001-06-13 John David Anglin <dave@hiauly1.hia.nrc.ca>
3625 (Approved by Mark and Benjamin. Applied by Loren.)
3627 * src/globals.cc: Define globals _GLIBCPP_mutex_init (),
3628 _GLIBCPP_mutex_address_init (), _GLIBCPP_once, _GLIBCPP_mutex
3629 and _GLIBCPP_mutex_address.
3630 * include/bits/stl_threads.h (_STL_mutex_lock): Use above to provide
3631 once-only runtime initialization of _M_lock mutex when
3632 __GTHREAD_MUTEX_INIT_FUNCTION is defined.
3633 (__STL_MUTEX_INITIALIZER): Provide initializer for _STL_mutex_lock
3634 for __GTHREAD_MUTEX_INIT_FUNCTION case.
3636 2001-06-13 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
3638 * testsuite/26_numerics/slice_array_assignment.cc (main): New test.
3640 * include/bits/slice_array.h (slice_array<>::operator=): Make
3641 public and implement.
3642 (slice_array<>::slice_array): Make copy-constructor public.
3644 * include/bits/valarray_array.h (__valarray_copy): Add another
3645 overload to copy between strided arrays.
3647 2001-06-13 Benjamin Kosnik <bkoz@redhat.com>
3649 * acinclude.m4 (GLIBCPP_CONFIGURE): Bump version to 3.0.0.
3650 * aclocal.m4: Regenerate.
3651 * configure: Regenerate.
3652 * include/bits/c++config (__GLIBCPP__): Update date.
3654 2001-06-12 Benjamin Kosnik <bkoz@redhat.com>
3656 * include/bits/fpos.h (fpos::operator-): Don't return reference,
3657 return original, non-modified version.
3658 (fpos::operator+): Same.
3659 * testsuite/27_io/fpos.cc: Add test.
3661 2001-06-12 Loren J. Rittle <ljrittle@acm.org>
3664 * porting.texi: Add documentation about libstdc++-v3-specific
3665 macros that are currently included in os_defines.h files.
3667 * config/basic_file_stdio.h (sys_getc): New method.
3668 (sys_ungetc): New method.
3669 * include/bits/basic_file.h: (sys_getc): New method signature.
3670 (sys_ungetc): New method signature.
3672 * include/bits/fstream.tcc (underflow): Add conditional code
3673 paths which avoid using short seeks on streams (especially
3674 useful when the stream might be interactive or a pipe). At
3675 the moment, this alternate path only avoids seeking when the
3676 ``buffer size'' of underflow() is 1 since the C standard only
3677 guarantees buffer space for one ungetc (this technique could
3678 be extended since *-*-solaris* supports buffering for 4 calls
3679 to ungetc and *-*-*bsd* supports buffering limited only by
3680 memory resources). Also, _GLIBCPP_AVOID_FSEEK must be defined
3681 in a port's os_defines.h file for this alternate path to even
3682 be considered. As a bonus, the idiom of using getc/ungetc
3683 requires no system calls whereas fseek maps to one or two
3684 system call(s) on many platforms.
3686 * config/os/bsd/freebsd/bits/os_defines.h (_GLIBCPP_AVOID_FSEEK):
3688 * config/os/solaris/solaris2.5/bits/os_defines.h
3689 (_GLIBCPP_AVOID_FSEEK): Likewise.
3690 * config/os/solaris/solaris2.6/bits/os_defines.h
3691 (_GLIBCPP_AVOID_FSEEK): Likewise.
3692 * config/os/solaris/solaris2.7/bits/os_defines.h
3693 (_GLIBCPP_AVOID_FSEEK): Likewise.
3695 2001-06-12 Benjamin Kosnik <bkoz@redhat.com>
3697 * acinclude.m4 (GLIBCPP_CHECK_COMPILER_VERSION): Change to
3698 AC_TRY_COMPILE, so that the built compiler is checked, and
3699 bootstraps or cross compiles with an older compile still work.
3700 * aclocal.m4: Regenerate.
3701 * configure: Regenerate.
3703 2001-06-12 Benjamin Kosnik <bkoz@redhat.com>
3706 * include/bits/std_sstream.h: Add allocator_type, as per DR 251.
3709 * include/bits/istream.tcc (getline, get): Fix as per DR 243.
3712 * include/bits/std_bitset.h (bitset::set): Fix as per DR 186.
3715 * include/bits/limits_generic.h: Fix as per DR 184.
3717 2001-06-11 Benjamin Kosnik <bkoz@redhat.com>
3720 * include/bits/basic_string.h (string::compare): Adjust signatures
3722 * include/bits/basic_string.tcc: And here.
3725 * config/c_io_stdio.h: Remove whitespace.
3726 * testsuite/27_io/istream_seeks.cc (test03): Add regression.
3727 (test02): Add regression.
3728 * testsuite/27_io/istream_seeks-3.tst: New file.
3730 2001-06-11 Phil Edwards <pme@sources.redhat.com>
3732 * README: Update to reflect reality.
3733 * acinclude.m4: Update descriptions, fix typos. Comment changes only.
3734 * configure.in: Make certain target_alias is set and subst'd for 2.50.
3735 * aclocal.m4: Regenerate.
3736 * configure: Regenerate (with 2.13).
3738 2001-06-11 Benjamin Kosnik <bkoz@redhat.com>
3741 * include/bits/ostream.tcc (ostream::seekp): Add error checking as
3743 * include/bits/istream.tcc (istream::seekg): Same.
3744 * testsuite/27_io/istream_seeks.cc: Fix.
3747 * include/bits/stl_function.h (binder2nd): Fix as per DR 109.
3749 * include/bits/std_queue.h: Add c++config.h.
3750 * testsuite/20_util/binders.cc: New test.
3752 2001-06-11 Matthias Klose <doko@debian.org>
3753 Phil Edwards <pme@sources.redhat.com>
3755 * docs/doxygen/run_doxygen (find_doxygen): Tweak version check.
3756 (main script): Echo more information.
3758 2001-06-10 Benjamin Kosnik <bkoz@redhat.com>
3760 * include/c_std/bits/std_cwchar.h: Alphabetize.
3761 * include/bits/char_traits.h: Tweak.
3762 * acinclude.m4 (GLIBCPP_CHECK_WCHAR_T_SUPPORT): Check for
3763 everything used by std_cwchar.h.
3764 * aclocal.m4: Regenerate.
3765 * configure.in: Regenerate.
3766 * config.h.in: Regenerate.
3768 2001-06-10 Benjamin Kosnik <bkoz@redhat.com>
3770 * acinclude.m4 (GLIBCPP_ENABLE_C99): Add stdio.h checking.
3771 Add checking for strtof, _Exit in stdlib.h
3772 * aclocal.m4: Regenerate.
3773 * configure.in: Regenerate.
3774 * include/c_std/bits/std_cstdio.h: Alphabetize lists.
3775 (snprintf): Put C99 functions into __gnu_cxx namespace.
3780 * include/c_std/bits/std_cstdlib.h: Alphabetize lists. Put undefs
3781 for C99 functions within _GLIBCPP_USE_C99 guard.
3785 * include/bits/locale_facets.tcc: Check if C99 is enabled.
3786 * include/c_std/bits/std_cwchar.h (__gnu_cxx): Put undefs within
3788 * include/c_std/bits/cmath.tcc: Formatting tweak.
3789 * include/c_std/bits/std_cmath.h: Same.
3791 2001-06-10 Benjamin Kosnik <bkoz@redhat.com>
3793 * include/c_std/bits/std_cstdio.h: Include cstddef for size_t.
3795 2001-06-09 Alexandre Oliva <aoliva@redhat.com>
3796 Stephen L Moshier <moshier@mediaone.net>
3798 * acinclude.m4 (AC_EXEEXT): Work around in case it expands to
3799 nothing, as in autoconf 2.50.
3800 * configure: Rebuilt.
3802 2001-06-09 Benjamin Kosnik <bkoz@redhat.com>
3804 * include/c_std/bits/std_cwchar.h: Remove size_t injection,
3805 include std_cstddef.
3806 * include/c_std/bits/std_ctime.h: Same.
3807 * include/c_std/bits/std_cstring.h: Same.
3808 * include/c_std/bits/std_cstdlib.h: Same.
3810 * include/c_std/bits/std_cstdio.h: Remove vsnprintf, snprintf.
3811 * include/c_std/bits/std_cctype.h: Remove isblank.
3813 2001-06-09 Benjamin Kosnik <bkoz@redhat.com>
3815 * acinclude.m4 (GLIBCPP_CHECK_WCHAR_T_SUPPORT): Check for fgetwc,
3817 * aclocal.m4: Regenerate.
3818 * configure: Regenerate.
3819 * include/c_std/bits/std_cwchar.h: Remove duplicate fgetwc
3820 injection, guard fgetwc, fgetws.
3821 * include/c_std/bits/std_cstdio.h: Remove superfluous includes.
3822 * include/c_std/bits/std_clocale.h: And here.
3823 * include/c_std/bits/std_cctype.h: And here.
3824 * include/c_std/bits/std_cstdlib.h (strtof): Guard strtof injection.
3826 * config/basic_file_stdio.h: Don't include unistd.h.
3827 * config/c_io_stdio.h: Don't use compatibility headers.
3828 * libsupc++/eh_terminate.cc: Qualify abort.
3829 (__terminate): And here.
3830 * libsupc++/eh_catch.cc (__cxa_end_catch): Qualify abort.
3832 2001-06-08 Benjamin Kosnik <bkoz@redhat.com>
3834 * include/c_std/bits/std_cstdlib.h: Remove _Exit, strtof injections.
3836 2001-06-08 Benjamin Kosnik <bkoz@redhat.com>
3841 * include/std/*: Add copyright notice.
3842 * include/c_std/bits/*: Use using statements instead of extern "C".
3843 * include/c_std/bits/std_cmath.h: Don't overload double versions
3844 of math functions with __buitin versions, use global version to
3845 prevent ambiguities. Remove define hacks.
3846 * include/c_std/bits/std_cwchar.h: Using declarations for "C"
3847 functions that have changed signatures and std::
3848 declarations. Remove define hacks.
3849 * include/c_std/bits/std_cwchar.h: Same, plus remove ambiguous
3850 __builtins in std::. Remove define hacks.
3851 * testsuite/17_intro/headers_c.cc: Add tests.
3852 * testsuite/17_intro/headers_c++.cc: Add test.
3854 2001-06-07 Loren J. Rittle <ljrittle@acm.org>
3855 John David Anglin <dave@hiauly1.hia.nrc.ca>
3858 * libsupc++/eh_alloc.cc: Ensure that required macros are
3859 defined before including gthr.h. Ensure that we get the
3860 version of gthr.h for which we know how to provide a
3862 * libsupc++/eh_globals.cc: Likewise. And, bring the threading
3863 code path into line with the current EH model. Use std, where
3866 2001-06-07 Loren J. Rittle <ljrittle@acm.org>
3867 John David Anglin <dave@hiauly1.hia.nrc.ca>
3869 * config/threads-no.h: Remove file.
3870 * config/threads-posix.h: Remove file.
3872 * acconfig.h (_GLIBCPP_USE_THREADS): Remove.
3873 (_GLIBCPP_SUPPORTS_WEAK): Add (required by namespace-clean gthr*.h).
3874 (_GLIBCPP_HAVE_GTHR_DEFAULT): Likewise.
3875 * config.h.in: Regenerate.
3877 * acinclude.m4 (GLIBCPP_ENABLE_THREADS): Completely rework to
3878 setup and use gthr*.h files. In particular, make gthr.h files
3879 namespace-clean in the staging area (they don't have to be for
3881 * aclocal.m4: Regenerate.
3882 * configure: Regenerate.
3884 * src/Makefile.am (build_headers): Remove bits/c++threads.h
3885 and add bits/gthr.h bits/gthr-single.h bits/gthr-default.h.
3886 * src/Makefile.in: Regenerate.
3888 * include/bits/c++config: Cleanup threading configuration macros.
3889 In particular, define __STL_GTHREADS macro which controls...
3890 * include/bits/stl_threads.h: ...a brand new gthr.h-based
3893 * config/c_io_stdio.h: Include staged gthr.h instead of local
3894 thread configuration file. Always use __gthread_mutex_t
3895 instead of __mutext_type (or int).
3896 * include/bits/std_fstream.h: Likewise.
3898 * docs/html/17_intro/howto.html: Remove placeholder comment in
3899 case this configuration patch didn't make it. Add advice that
3900 section only applies if configured with --enable-threads.
3901 * docs/html/23_containers/howto.html: Reword to make clear
3902 that _PTHREADS is no longer required for any port to be
3903 correctly using STL with threads. Add advice that section
3904 only applies if configured with --enable-threads.
3906 2001-06-06 Benjamin Kosnik <bkoz@redhat.com>
3908 * src/string-inst.cc (_Rep::_S_max_size): Add instantiation.
3910 2001-06-05 Benjamin Kosnik <bkoz@redhat.com>
3913 * include/bits/basic_ios.tcc: Formatting tweaks.
3914 * include/bits/ios_base.h: Formatting tweaks.
3915 * src/ios.cc (ios_base::Init::_S_ios_create): Use filebufs here.
3916 (ios_base::Init::_S_ios_destroy): ..and here. Explicitly call dtors.
3917 * src/globals.cc: Allocate filebufs for standard streams here.
3918 (buf_cout, buf_cin, buf_cerr): Like so.
3919 (buf_wcout, buf_wcin, buf_wcerr): And so.
3920 * testsuite/27_io/ios_init.cc: Add.
3922 2001-06-04 Brendan Kehoe <brendan@zen.org>
3923 Benjamin Kosnik <bkoz@redhat.com>
3926 * include/bits/locale_facets.h (ctype<_CharT>): Add definitions
3927 for generic ctype virtuals.
3928 * src/locale.cc: Minor tweaks, naming consistency.
3929 * testsuite/22_locale/ctype.cc: Add test.
3931 2001-06-04 Kenny Simpson <theonetruekenny@yahoo.com>
3932 Phil Edwards <pme@sources.redhat.com>
3934 PR libstdc++/3035 and PR libstdc++/3036
3935 * include/bits/stl_pair.h: Fix pair ctor and make_pair according
3936 to LWG DR 181 and 265.
3938 2001-06-04 Phil Edwards <pme@sources.redhat.com>
3941 * include/bits/stl_multiset.h (find, lower_bound, upper_bound,
3942 equal_range): Add const overloads as per LWG DR 214.
3943 * include/bits/stl_set.h: Likewise.
3945 2001-06-04 Brendan Kehoe <brendan@zen.org>
3946 Phil Edwards <pme@sources.redhat.com>
3949 * include/bits/std_bitset.h (bitset::test): Fix __pos >= _Nb
3950 comparison; all positions must be < _Nb.
3951 * testsuite/23_containers/bitset_members.cc: New file.
3953 2001-06-04 Brendan Kehoe <brendan@zen.org>
3956 * include/bits/stl_queue.h (classes queue, priority_queue): Fix
3957 ctors to match the standard.
3959 2001-06-04 Jeffrey Oldham <oldham@codesourcery.com>
3961 * include/bits/char_traits.h (move): Reverse qualification of
3963 (copy): Reverse qualification of memcpy with std::.
3965 2001-06-04 Jeffrey Oldham <oldham@codesourcery.com>
3967 * include/bits/char_traits.h (move): Qualify memmove with std::.
3968 (copy): Qualify memcpy with std::.
3969 * testsuite/27_io/filebuf_virtuals.cc (test01): Qualify strlen and
3972 * testsuite/27_io/stringbuf_virtuals.cc (test01): Likewise.
3974 2001-06-04 Hans-Peter Nilsson <hp@axis.com>
3976 * libsupc++/Makefile.am (install-glibcppinstallHEADERS,
3977 uninstall-glibcppinstallHEADERS): Have explicit rules catering to
3978 SUN make VPATH peculiarities.
3979 * libsupc++/Makefile.in: Regenerate.
3981 2001-06-01 Hans-Peter Nilsson <hp@axis.com>
3983 * src/Makefile.am (VPATH): Delimit with ":", not space.
3984 * src/Makefile.in: Regenerate.
3986 * configure.in (use of GLIBCPP_CHECK_GNU_MAKE): Don't fail if GNU
3988 * configure: Regenerate.
3990 2001-05-31 scott snyder <snyder@fnal.gov>
3993 * include/bits/istream.tcc: Include std_ostream.h.
3995 2001-05-31 Benjamin Kosnik <bkoz@redhat.com>
3998 * src/bitset.cc: Qualify size_t with std::.
4000 2001-05-30 Benjamin Kosnik <bkoz@redhat.com>
4002 * acconfig.h (_GLIBCPP_BUGGY_FLOAT_COMPLEX): Remove.
4003 (_GLIBCPP_BUGGY_COMPLEX): Remove.
4004 * config.h.in: Regenerate.
4005 * acinclude.m4 (GLIBCPP_CHECK_COMPLEX_MATH_COMPILER_SUPPORT): Remove.
4006 * aclocal.m4: Regenerate.
4007 * configure.in: Don't call it.
4008 * configure: Regenerate.
4011 * src/complex_io.cc (operator<<(ostream&, const complex&): Fix.
4012 * testsuite/26_numerics/complex_inserters_extractors.cc (test01):
4016 * include/bits/std_complex.h: Include sstream. Put definitions for
4017 complex inserters and extractors here, and remove them from...
4018 * src/complex_io.cc: ...here.
4019 * include/bits/basic_ios.h (basic_ios::__numput_type): Add _Traits
4021 (basic_ios::__numget_type): Same.
4022 * include/bits/std_istream.h: Same.
4023 * include/bits/std_ostream.h: Same.
4024 * include/bits/sbuf_iter.h (ostreambuf_iterator): Fix typo in base
4025 class iterator template arguments.
4026 * src/locale-inst.cc: Add explicit has_facet instantiations.
4027 * include/bits/basic_ios.h (basic_ios::_M_get_fctype_ios): Remove.
4028 (_M_get_fnumput): Remove.
4029 (_M_get_fnumget): Remove.
4030 (basic_ios::_M_check_facet): New function.
4031 (basic_ios::_M_cache_facets): New function.
4032 * include/bits/basic_ios.tcc: Definition for _M_cache_facets.
4033 (basic_ios::imbue): Call _M_cache_facets.
4034 (basic_ios::init): Same.
4035 * include/bits/istream.tcc: Format, use _M_check_facet.
4036 * include/bits/ostream.tcc: Same.
4037 * include/bits/locale_facets.tcc (__output_float): Change
4038 signature, add _Traits.
4039 * testsuite/26_numerics/complex_inserters_extractors.cc (test02):
4042 2001-05-30 Loren J. Rittle <ljrittle@acm.org>
4044 * include/bits/c++config (__USE_MALLOC): Do not define it.
4045 Document why not and give pointers to more information.
4047 * docs/html/23_containers/howto.html: Update documentation
4048 to reflect recent understanding of problem.
4049 * docs/html/17_intro/howto.html: Likewise.
4051 2001-05-30 Phil Edwards <pme@sources.redhat.com>
4053 * docs/doxygen/user.cfg.in: Minor addition.
4054 * docs/html/documentation.html: Reorganize. Put most-looked-at
4056 * docs/html/install.html: Update for 3.0. HTML fixups.
4057 * docs/html/17_intro/howto.html: Likewise.
4058 * docs/html/18_support/howto.html: Likewise.
4059 * docs/html/19_diagnostics/howto.html: Likewise.
4060 * docs/html/20_util/howto.html: Likewise.
4061 * docs/html/23_containers/howto.html: Likewise.
4062 * docs/html/24_iterators/howto.html: Likewise. More notes.
4063 * docs/html/25_algorithms/howto.html: Likewise.
4064 * docs/html/26_numerics/howto.html: Likewise. More notes.
4065 * docs/html/27_io/howto.html: Likewise.
4066 * docs/html/ext/howto.html: Likewise.
4067 * docs/html/faq/index.html: Likewise.
4068 * docs/html/faq/index.txt: Regenerate.
4069 * docs/html/27_io/iostreams_hierarchy.pdf: Remove in favor of
4070 Doxygen-created documentation.
4072 2001-05-30 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
4074 * testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3-init): Use
4075 get_multilibs to find gcc.
4077 2001-05-30 Phil Edwards <pme@sources.redhat.com>
4079 * acinclude.m4 (GLIBCPP_ENABLE_C99): Reorder output messages.
4080 * aclocal.m4: Regenerate.
4081 * configure: Regenerate.
4083 2001-05-29 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
4085 * include/c_std/bits/std_cstdlib.h:: Move C99 thingies to __gnu_cxx::.
4086 * include/c_std/bits/std_cwchar.h (__gnu_cxx): Likewise.
4088 2001-05-27 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
4090 * include/c_std/bits/std_cmath.h: Move C99 functions in __gnu_cxx::.
4091 * include/c_std/bits/std_cstdlib.h: Same.
4092 * include/c_std/bits/std_cwchar.h: Same.
4094 2001-05-30 Loren J. Rittle <ljrittle@acm.org>
4096 * docs/html/17_intro/howto.html: Update link.
4097 * docs/html/23_containers/howto.html: Likewise. Add new link.
4099 2001-05-26 Gabriel Dos Reis <gdr@codesourcery.com>
4101 * include/c_std/bits/std_cmath.h (sqrt): #undef.
4103 2001-05-23 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
4105 * mknumeric_limits: Stop if gen-num-limits dies.
4107 2001-05-25 Benjamin Kosnik <bkoz@redhat.com>
4110 * acinclude.m4 (GLIBCPP_ENABLE_C99): Use AC_TRY_COMPILE.
4111 * aclocal.m4: Regenerate.
4114 2001-05-24 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
4115 Phil Edwards <pme@sources.redhat.com>
4116 Alexandre Oliva <aoliva@redhat.com>
4118 * acinclude.m4 (GLIBCPP_EXPORT_INSTALL_INFO): Set glibcpp_srcdir
4119 in an amd-safe manner. Revert glibcpp_prefixdir.
4121 2001-05-25 Gabriel Dos Reis <gdr@codesourcery.com>
4123 * include/c_std/bits/std_cmath.h: Tweak. #define away abs, cos,
4124 fabs, sin, sqrt. They are now implemented in terms of __builtin_
4127 2001-05-24 Benjamin Kosnik <bkoz@redhat.com>
4130 * testsuite/21_strings/inserters_extractors.cc (test09): New test.
4131 * include/bits/ostream.tcc: Format to match istream.tcc.
4132 (operator<<(basic_ostream __out, const basic_string __s)): Fix.
4134 2001-05-24 Phil Edwards <pme@sources.redhat.com>
4136 * libsupc++/eh_alloc.cc (__cxa_allocate_exception): Qualify
4138 (__cxa_free_exception): Likewise with free.
4140 2001-05-24 Mark Mitchell <mark@codesourcery.com>
4142 * include/c_std/bin/std_cstring.h: #define away all global
4143 functions we will redeclare in namespace `std'.
4144 * libsupc++/eh_alloc.cc (__cxa_allocate_exception): Use
4145 std::memset, instead of memset.
4146 * testsuite/19_diagnostics/stdexceptions.cc: Use `std::strcmp',
4148 * testsuite/21_strings/c_strings.cc: Use `std::strcpy' instead of
4151 2001-05-24 Benjamin Kosnik <bkoz@redhat.com>
4154 * include/bits/basic_ios.tcc: Small tweak.
4155 * include/bits/std_fstream.h (ifstream): Add buffer member. Adjust
4156 ctors and dtors, and rdbuf settings.
4159 * include/bits/std_sstream.h: Same, but for stringstream classes.
4160 * testsuite/27_io/ostringstream_members.cc: New.
4161 * testsuite/27_io/stringstream_members.cc: New.
4162 * testsuite/27_io/fstream_members.cc: New.
4163 * testsuite/27_io/ifstream_members.cc: Add test.
4164 * testsuite/27_io/istringstream_members.cc: Add test.
4165 * testsuite/27_io/ofstream_members.cc: Add test.
4167 2001-05-24 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
4169 * include/bits/c++config(__NO_MATH_INLINES): Move to...
4170 * config/os/gnu-linux/bits/os_defines.h: ...here.
4172 2001-05-24 Gabriel Dos Reis <gdr@codesourcery.com>
4174 * include/bits/c++config (__NO_MATH_INLINES): New macro.
4175 * testsuite/26_numerics/fabs_inline.cc (main): New test.
4177 2001-05-22 Benjamin Kosnik <bkoz@redhat.com>
4180 * testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3-init): Set
4182 (libstdc++-v3_set_ld_library_path): New, copied from g++.exp.
4183 (libstdc++-v3-finish): Remove.
4184 (libstdc++-v3_exit): Remove.
4186 2001-05-22 Phil Edwards <pme@sources.redhat.com>
4188 * docs/html/documentation.html: Point to doxygen output.
4190 2001-05-21 Benjamin Kosnik <bkoz@redhat.com>
4192 * mkcheck.in (static_fail): Remove S_FLAG decoration on output.
4194 * include/bits/std_sstream.h (stringbuf::setbuf): Require both
4195 arguments to be non-null.
4196 * include/bits/fstream.tcc (filebuf::_M_allocate_buffers): Only
4197 try allocations if allocated size is greater than zero.
4198 (filebuf::_M_filebuf_init): Change to
4199 (filebuf::_M_allocate_file): Which is what it does now.
4200 (filebuf::_M_allocate_bufers): Change to
4201 (filebuf::_M_allocate_internal_buffer): This, and create
4202 (filebuf::_M_allocate_pback_buffer): New.
4203 (filebuf::_M_destroy_internal_buffer): New.
4204 (filebuf::_M_buf_allocated): New data member.
4205 (filebuf::setbuf): Use new logic, allow use of external buffer.
4206 * testsuite/27_io/stringbuf_virtuals.cc: New file.
4207 * testsuite/27_io/filebuf_virtuals.cc: New file.
4209 2001-05-21 Stephen M. Webb <stephen@bregmasoft.com>
4211 * include/c_std/bits/std_cstring.h (memchr): Define "C" functions to
4213 (strchr): Same, but to __glibcpp_strchr.
4217 * include/c_std/bits/std_cwchar.h (wcschr): Same.
4223 2001-05-21 Benjamin Kosnik <bkoz@redhat.com>
4225 * testsuite/21_strings/c_strings.cc (main): Fix.
4227 2001-05-19 Phil Edwards <pme@sources.redhat.com>
4229 * acinclude.m4: Fix --help spacing, correct comments.
4230 * aclocal.m4: Regenerate.
4231 * configure: Regenerate.
4232 * mkcheck.in: Add usage comments.
4233 * docs/html/documentation.html: Point to doxygen'd tarball.
4235 2001-05-18 Benjamin Kosnik <bkoz@redhat.com>
4237 * testsuite/README: Add notes.
4239 * src/Makefile.am (libstdc++.INC): Remove.
4240 * src/Makefile.in: Regenerate.
4242 Phil Edwards <pedwards@disaster.jaj.com>
4243 * mkcheck.in: Add missing '#'.
4245 2001-05-18 Angela Marie Thomas <angela@cygnus.com>
4247 * testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3-init): Set flags
4248 appropriately for remote testing and testing installed files without
4251 2001-05-18 Benjamin Kosnik <bkoz@redhat.com>
4253 * acinclude.m4 (GLIBCPP_EXPORT_INSTALL_INFO): Set glibcpp_srcdir
4254 amd glibcpp_prefixdir with absolute paths.
4256 * include/bits/c++config (__GLIBCPP__): Bump.
4257 * acinclude.m4 (GLIBCPP_CONFIGURE): Correct version number.
4259 2001-05-18 Gabriel Dos Reis <gdr@codesourcery.com>
4261 * include/bits/std_valarray.h (valarray<>::operator[] const):
4262 Return a const reference.
4263 * testsuite/26_numerics/valarray_const_bracket.cc: New test.
4265 2001-05-18 Alexandre Oliva <aoliva@redhat.com>
4267 * configure.target (ATOMICITYH): Actually use AIX-specific code on
4268 earlier versions of AIX 4.*.
4270 2001-05-18 Angela Marie Thomas <angela@cygnus.com>
4272 * testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3-dg-test): Set
4273 output_file based on the name of the testcase.
4275 2001-05-18 Angela Marie Thomas <angela@cygnus.com>
4277 * testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3-init): Build
4278 gluefile and use it if needs_status_wrapper is set.
4280 2001-05-18 Alexandre Oliva <aoliva@redhat.com>
4282 * configure.target (ATOMICITYH): Use cpu/generic code on earlier
4285 2001-05-17 Alexandre Oliva <aoliva@redhat.com>
4287 * configure.target (ATOMICITYH): Don't use AIX 4.3-specific code
4288 on earlier versions of AIX.
4290 2001-05-15 Benjamin Kosnik <bkoz@redhat.com>
4292 * testsuite_flags.in (query): Add backwards, ext directories.
4294 2001-05-15 Mark Mitchell <mark@codesourcery.com>
4296 * porting.texi: Correct documentation about handling
4297 _LARRGEFILE_SOURCE and its ilk.
4298 * config/os/solaris/solaris2.5/bits/os_defines.h: Remove
4299 definitions of _XOPEN_SOURCE, _LARGEFILE64_SOURCE, and
4301 * config/os/solaris/solaris2.6/bits/os_defines.h: Likewise.
4302 * config/os/solaris/solaris2.7/bits/os_defines.h: Likewise.
4304 2001-05-15 Zack Weinberg <zackw@stanford.edu>
4306 * testsuite/21_strings/inserters_extractors.cc,
4307 testsuite/27_io/istream_unformatted.cc,
4308 testsuite/27_io/stringstream.cc:
4309 Replace multi-line string constants with C89-style
4310 concatenated string constants.
4312 2001-05-14 Richard Henderson <rth@redhat.com>
4314 * mknumeric_limits: Build with -fno-exceptions.
4316 2001-05-13 Benjamin Kosnik <bkoz@redhat.com>
4318 Switch over to new harness.
4319 * testsuite_flags.in: Tweaks via Gaby.
4320 * testsuite/Makefile.am: Change tool to libstdc++-v3.
4321 (EXPECT): Quote directly.
4323 * configure.in: Output testsuite_flags.
4324 * acinclude.m4: Substitute src, bld, and prefix dirs.
4325 Remove glibcpp_expect, glibcpp_runtestflags.
4326 * Makefile.am (RUNTESTFLAGS): Pass this down to subdirs.
4327 * mkcheck.in: Port to new interface.
4329 * aclocal.m4: Regerate.
4330 * configure: Regnerate.
4331 * Makefile.in: Regnerate.
4332 * */Makefile.in: Regenerate.
4334 * tests_flags.in: Remove.
4335 * testsuite/lib/libstdc++.exp: Remove.
4336 * testsuite/libstdc++.tests/tests.exp: Remove.
4338 2001-05-13 Alexandre Oliva <aoliva@redhat.com>
4340 * configure.target: Remove detection of AIX pthread multilib, now
4341 obtained from `gcc -v'.
4343 2001-05-13 John David Anglin <dave@hiauly1.hia.nrc.ca>
4345 * mkcheck.in (setup_size_command): Use Berkeley "-B" mode with GNU
4346 size. Add hpux case for HP size.
4348 2001-05-11 Benjamin Kosnik <bkoz@redhat.com>
4350 * testsuite_flags.in: New, simplified interface.
4351 * testsuite/lib/libstdc++-v3-dg.exp: New test harness.
4352 * testsuite/libstdc++-v3.dg: Add.
4353 * testsuite/libstdc++-v3.dg/dg.exp: Add.
4355 2001-05-11 Benjamin Kosnik <bkoz@redhat.com>
4357 * testsuite/*/*.cc: Remove spaces, make sure testcases return zero.
4358 * testsuite/config/default.exp: Update bugs email address.
4360 2001-05-11 Richard Henderson <rth@redhat.com>
4362 * libsupc++/eh_personality.cc: Include unwind-pe.h. Remove
4363 all pointer encoding logic.
4364 (struct lsda_header_info): Add ttype_base.
4365 (get_ttype_entry): Use it instead of a context.
4366 (check_exception_spec): Likewise.
4367 (PERSONALITY_FUNCTION): Initialize ttype_base. Store it in
4368 the c++ exception header for __cxa_call_unexpected.
4369 (__cxa_call_unexpected): Use it.
4371 2001-05-09 Benjamin Kosnik <bkoz@redhat.com>
4373 * testsuite/lib/libstdc++.exp: Use libgloss.exp. Call
4374 libgloss_link_flags to find crt0.o for targets that use libgloss
4376 Change LDFLAGS to LIBS.
4377 Consistently name procedures libstdc++-XXX.
4378 * testsuite/libstdc++.tests/tests.exp: Use new procedure names.
4380 2001-05-08 Benjamin Kosnik <bkoz@fillmore.constant.com>
4382 * include/c_std/bits/std_cstring.h (memchr): Correct definitions.
4387 * include/c_std/bits/std_cwchar.h (wcschr): Same.
4392 * testsuite/21_strings/c_strings.cc: Add tests.
4394 2001-05-07 Benjamin Kosnik <bkoz@redhat.com>
4397 * include/bits/std_fstream.h (basic_filebuf): Change signature.
4398 * include/bits/fstream.tcc (basic_filebuf): Change bool argument
4399 to int_type, pass in buffer size info.
4400 * include/bits/std_streambuf.h (_M_is_indeterminate): Check for
4401 unbuffered situation.
4402 (underflow): Remove codecvt bits for the time being.
4403 * include/bits/istream.tcc (istream::sentry): Avoid sputbackc call.
4404 * include/bits/locale_facets.tcc (_M_extract): Cache dereference
4405 values from iterators, clean.
4406 * src/locale.cc: Ditto.
4407 * include/bits/sbuf_iter.h: Format.
4408 * src/ios.cc: Explicitly pass in buffer sizes at creation time.
4409 * testsuite/27_io/narrow_stream_objects.cc: Add tests.
4410 * testsuite/27_io/filebuf.cc: Tweaks.
4411 * testsuite/27_io/filebuf_members.cc: Tweaks.
4413 2001-05-07 Mark Mitchell <mark@codesourcery.com>
4415 * config/os/solaris/solaris2.7/bits/os_defines.h
4416 (_LARGEFILE_SOURCE): Define it.
4418 2001-05-03 Alexandre Oliva <aoliva@redhat.com>
4420 * configure.in (LIBSUPCXX_PICFLAGS): Set it to -prefer-pic or
4421 -prefer-non-pic depending on whether libtool has shared libraries
4422 enabled or disabled.
4423 * libsupc++/Makefile.am (LIBSUPCXX_CXXFLAGS): Set to
4424 $(LIBSUPCXX_PICFLAGS).
4425 * configure, */Makefile.in: Rebuilt.
4427 2001-05-01 Benjamin Kosnik <bkoz@redhat.com>
4429 * include/bits/sbuf_iter.h (istreambuf_iterator): Correct.
4430 * testsuite/24_iterators/istreambuf_iterator.cc (test02): Add test.
4432 * include/bits/std_sstream.h (stringbuf): Leak
4434 * testsuite/24_iterators/ostreambuf_iterator.cc: Correct.
4436 2001-05-01 Tom Browder <tbrowder@home.com>
4438 * docs/html/ext/howto.html: Fix typo.
4440 2001-05-01 Gabriel Dos Reis <gdr@codesourcery.com>
4442 * testsuite/libstdc++.tests/tests.exp: Add comment.
4444 2001-05-01 Gabriel Dos Reis <gdr@codesourcery.com>
4446 * testsuite/libstdc++.tests/tests.exp: Set ulimits.
4448 2001-04-30 Mark Mitchell <mark@codesourcery.com>
4450 * porting.texi: Use the GFDL.
4452 2001-04-30 Benjamin Kosnik <bkoz@redhat.com>
4455 * testsuite/24_iterators/ostreambuf_iterator.cc: New file.
4456 * include/bits/sbuf_iter.h (ostreambuf_iterator): Remove bogus
4459 2001-04-30 Benjamin Kosnik <bkoz@redhat.com>
4462 * include/bits/stl_iterator_base_funcs.h (__advance): Fix.
4464 2001-04-28 Phil Edwards <pme@sources.redhat.com>
4466 * docs/doxygen/run_doxygen: Minor tweaks.
4467 * docs/doxygen/style.css: New file.
4468 * docs/doxygen/user.cfg.in: Update using "doxygen -u" to get the
4469 latest parameters available. Use style.css.
4471 2001-04-27 Benjamin Kosnik <bkoz@redhat.com>
4473 * docs/doxygen/mainpage.doxy: New.
4474 * docs/doxygen/user.cfg.in: Change default configuration. Single
4475 frame, other tweaks.
4477 2001-04-26 Mark Mitchell <mark@codesourcery.com>
4479 * docs/html/17_intro/BADNAMES: Remove EGCS reference.
4480 Indicate obsolete nature of thelist for G++ 3.0.
4482 2001-04-26 Alexandre Oliva <aoliva@redhat.com>
4484 * acinclude.m4 (GLIBCPP_ENABLE_THREADS): Obtain
4485 target_thread_file with `gcc -v'.
4486 * aclocal.m4, configure: Rebuilt.
4488 2001-04-25 Benjamin Kosnik <bkoz@redhat.com>
4490 * include/c_std/bits/std_cmath.h (std): Explicitly inject c99 names.
4491 * include/c_std/bits/std_cstdlib.h (std): Same, except for llabs.
4492 * include/c_std/bits/std_cwchar.h (std): Same.
4493 * acconfig.h (std): Remove c99 injection into std.
4494 * config.h.in: Regenerate.
4496 * testsuite/README: Fix typo.
4498 * include/bits/codecvt.h: Remove warnings.
4500 2001-04-24 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
4502 * include/ext/slist: Include required header files.
4504 2001-04-23 Loren J. Rittle <ljrittle@acm.org>
4506 * include/c_std/bits/std_cerrno.h (errno): Define macro from
4507 identifier declared with external linkage, if needed.
4508 * include/c_std/bits/std_csetjmp.h (setjmp): Likewise.
4509 * include/c_std/bits/std_cstdarg.h (va_end): Likewise.
4511 2001-04-23 Benjamin Kosnik <bkoz@fillmore.constant.com>
4513 * acinclude.m4 (CXX): Set to glibcpp_CXX so that in-directory
4514 re-configures find the build compiler.
4515 (GLIBCPP_ENABLE_C99): Do all fp-tests with 0.0, not 0. Fixes
4517 * aclocal.m4: Regenerate.
4518 * configure: Regenerate.
4520 2001-04-20 Benjamin Kosnik <bkoz@redhat.com>
4522 * acinclude.m4 (GLIBCPP_ENABLE_LONG_LONG): Make sure required C99
4523 support is enabled correctly before long long is activated.
4524 * aclocal.m4: Regenerate.
4525 * configure: Regenerate.
4527 * include/backward/backward_warning.h: Format correctly.
4529 * testsuite/26_numerics/c99_classification_macros_c.cc: Add.
4530 * testsuite/26_numerics/c99_classification_macros_c++.cc: Add.
4531 * testsuite/26_numerics/c99_macros.cc: Remove.
4533 2001-04-20 Phil Edwards <pme@sources.redhat.com>
4535 * include/bits/stl_bvector.h: Replace __ITERATOR_CATEGORY with
4536 __iterator_category.
4538 2001-04-19 Benjamin Kosnik <bkoz@redhat.com>
4540 * acconfig.h (_GLIBCPP_USE_C99): Add.
4541 * config.h.in: Regenerate.
4542 * acinclude.m4 (GLIBCPP_ENABLE_C99): New macro. Test for ISO/IEC
4544 * aclocal.m4: Regenerate.
4545 * configure.in (GLIBCPP_ENABLE_C99): Use it, on by default.
4546 * configure: Regenerate.
4547 * configure.in (GLIBCPP_ENABLE_LONG_LONG): Set default to yes.
4548 * configure: Regenerate.
4549 * include/c_std/bits/std_cwchar.h: Put wcstold, wcstoll, wcstoull
4551 * include/c_std/bits/std_cmath.h: Bring C99 functions into c99
4553 * include/c_std/bits/std_cstdlib.h: Same.
4554 * docs/html/configopts.html: Update.
4555 * testsuite/26_numerics/c99_macros.cc: Edit, use cmath instead of
4557 (test_c99_classify): Add.
4558 * config/os/gnu-linux/bits/os_defines.h (_GNU_SOURCE): Remove.
4559 (_ISOC99_SOURCE): Remove.
4561 * include/bits/stl_algo.h: Use _GLIBCPP_HAVE_DRAND48.
4562 * include/bits/c++config (__STL_ASSERTIONS): Simplify.
4563 * acinclude.m4 (GLIBCPP_CHECK_STDLIB_SUPPORT): Add check for drand48.
4564 * aclocal.m4: Regenerate.
4565 * configure: Regenerate.
4567 2001-04-19 Phil Edwards <pme@sources.redhat.com>
4569 * Makefile.am (doxygen): Assume script is missing execute perms.
4570 * Makefile.in: Regenerated.
4571 * docs/doxygen/user.cfg.in: Add class diagrams and source browsing.
4573 2001-04-17 Loren J. Rittle <ljrittle@acm.org>
4575 * testsuite/27_io/istream_seeks.cc: Inform DejaGnu of required files.
4577 2001-04-17 Benjamin Kosnik <bkoz@redhat.com>
4579 * testsuite/23_containers/map_operators.cc: Add dg-excess-errors.
4580 * testsuite/23_containers/set_operators.cc: Same.
4582 * include/bits/c++config: Add _GLIBCPP_CONCEPT_CHECKS. Disable by
4584 (__GLIBCPP__): Bump from value of last release.
4585 * include/bits/concept_check.h: Default to off, edit comments.
4586 * src/stl-inst.cc: Use _GLIBCPP_CONCEPT_CHECKS.
4587 * src/Makefile.am (AM_CXXFLAGS): Remove _GLIBCPP_NO_CONCEPT_CHECKS.
4588 * src/Makefile.in: Regenerate.
4590 2001-04-14 Martin Reinecke <martin@MPA-Garching.MPG.DE>
4592 * include/bits/boost_concept_check.h(_Mutable_ContainerConcept):
4593 Properly uglify member.
4595 2001-04-13 Phil Edwards <pme@sources.redhat.com>
4597 * include/bits/stl_algobase.h (equal): Use EqualOpConcept instead
4601 2001-04-13 Phil Edwards <pme@sources.redhat.com>
4603 * include/bits/boost_concept_check.h: Uglify, fork from Boost.
4604 * include/bits/concept_check.h: Uglify.
4605 * include/bits/stl_algo.h: Likewise.
4606 * include/bits/stl_algobase.h: Likewise.
4607 * include/bits/stl_deque.h: Likewise.
4608 * include/bits/stl_heap.h: Likewise.
4609 * include/bits/stl_iterator_base_funcs.h: Likewise.
4610 * include/bits/stl_list.h: Likewise.
4611 * include/bits/stl_map.h: Likewise.
4612 * include/bits/stl_multimap.h: Likewise.
4613 * include/bits/stl_multiset.h: Likewise.
4614 * include/bits/stl_numeric.h: Likewise.
4615 * include/bits/stl_queue.h: Likewise.
4616 * include/bits/stl_set.h: Likewise.
4617 * include/bits/stl_stack.h: Likewise.
4618 * include/bits/stl_vector.h: Likewise.
4619 * include/ext/hash_map: Likewise.
4620 * include/ext/hash_set: Likewise.
4621 * include/ext/slist: Likewise.
4623 2001-04-13 Gabriel Dos Reis <gdr@codesourcery.com>
4625 * testsuite/23_containers/set_operators.cc: Just try to compile.
4627 * testsuite/23_containers/map_operators.cc: Same.
4629 2001-04-12 Jason Merrill <jason_merrill@redhat.com>
4631 * testsuite/lib/libstdc++.exp (libstdc++-dg-test): Prepend "./" to
4633 (dg-test): Revert rth's change.
4635 2001-04-12 Nathan Sidwell <nathan@codesourcery.com>
4637 * libsupc++/eh_alloc.cc (__cxa_allocate_exception): Don't
4638 terminate holding the mutex. Make sure size fits in EMERGENCY_OBJ_SIZE.
4640 2001-04-12 Gabriel Dos Reis <gdr@codesourcery.com>
4642 * testsuite/README: Add DejaGnu specific documentation.
4644 2001-04-11 Benjamin Kosnik <bkoz@redhat.com>
4646 * acinclude.m4: AC_CHECK_TOOL for expect.
4647 * aclocal.m4: Regenerate.
4648 * configure: Regenerate.
4649 * testsuite/Makefile.am (RUNTEST): Use substituted.
4652 * configure.in: Remove xcompiling substitution.
4653 * tests_flags.in (CROSS_LIB_PATH): Remove.
4654 (xcompiling): Remove.
4655 (CXX): Use substituted CXX.
4657 2001-04-11 Richard Henderson <rth@redhat.com>
4659 * testsuite/lib/libstdc++.exp: Specify path for output_file.
4661 2001-04-08 Gabriel Dos Reis <gdr@codesourcery.com>
4663 * include/bits/std_valarray.h(valarray<>::operator[]): Make
4666 2001-04-06 Gabriel Dos Reis <gdr@codesourcery.com>
4668 * testsuite/25_algorithms/equal.cc: New test.
4670 2001-04-06 Joe Buck <jbuck@welsh-buck.org>
4672 * stl_algobase.h (std::equal): avoid use of possibly-undefined
4673 operator != (one line patch).
4675 2001-04-06 Benjamin Kosnik <bkoz@redhat.com>
4677 * include/backward/backward_warning.h: Re-enable.
4679 2001-04-06 Benjamin Kosnik <bkoz@redhat.com>
4680 Alexandre Oliva <aoliva@redhat.com>
4682 * tests_flags.in (CROSS_LIB_PATH): Add as -B flag.
4684 2001-04-06 Gabriel Dos Reis <gdr@codesourcery.com>
4686 * include/c_std/bits/std_cmath.h: Get rid of C99 math macros.
4687 * testsuite/26_numerics/c99_macros.cc: Add test.
4689 2001-04-06 Phil Edwards <pme@sources.redhat.com>
4691 * docs/html/faq/index.html: Update for 2.92, grab from RELEASE-NOTES.
4692 * docs/html/faq/index.txt: Regenerated.
4694 2001-04-06 Benjamin Kosnik <bkoz@redhat.com>
4696 * include/backward/backward_warning.h: Temporarily disable until
4697 g++ testsuite changes go in.
4698 * tests_flags.in (CROSS_LIB_PATH): Add.
4700 2001-04-05 Benjamin Kosnik <bkoz@redhat.com>
4702 Warn when using backward headers.
4703 * include/backward/algo.h: Include warning file.
4704 * include/backward/vector.h: Same.
4705 * include/backward/tree.h: Same.
4706 * include/backward/tempbuf.h: Same.
4707 * include/backward/strstream: Same.
4708 * include/backward/streambuf.h: Same.
4709 * include/backward/stream.h: Same.
4710 * include/backward/stack.h: Same.
4711 * include/backward/slist.h: Same.
4712 * include/backward/set.h: Same.
4713 * include/backward/rope.h:
4714 * include/backward/queue.h: Same.
4715 * include/backward/pair.h: Same.
4716 * include/backward/ostream.h: Same.
4717 * include/backward/new.h: Same.
4718 * include/backward/multiset.h: Same.
4719 * include/backward/multimap.h: Same.
4720 * include/backward/map.h: Same.
4721 * include/backward/list.h: Same.
4722 * include/backward/iterator.h: Same.
4723 * include/backward/istream.h: Same.
4724 * include/backward/iostream.h:
4725 * include/backward/iomanip.h:
4726 * include/backward/heap.h: Same.
4727 * include/backward/hashtable.h:
4728 * include/backward/hash_set.h:
4729 * include/backward/hash_map.h:
4730 * include/backward/function.h:
4731 * include/backward/fstream.h:
4732 * include/backward/deque.h:
4733 * include/backward/defalloc.h: Same.
4734 * include/backward/complex.h: Same.
4735 * include/backward/bvector.h:
4736 * include/backward/alloc.h:
4737 * include/backward/algobase.h: Same.
4739 * include/backward/backward_warning.h: New file.
4740 * src/Makefile.am (backward_headers): Add backward_warning.h
4741 * src/Makefile.in: Regenerate.
4743 2001-04-05 Benjamin Kosnik <bkoz@redhat.com>
4745 * src/Makefile.am (myinstalldirs): Make sure backward directory is
4747 (myinstallheaders): Install backward headers in backward directory.
4748 * src/Makefile.in: Regenerate.
4750 2001-04-05 Benjamin Kosnik <bkoz@redhat.com>
4752 Prepare for libstdc++-2.92.
4753 * docs/html/17_intro/RELEASE-NOTES (New): Update.
4754 * docs/html/configopts.html: Fix formatting.
4755 * README (file): Updates.
4756 * include/bits/c++config (__GLIBCPP__): Update.
4758 2001-04-05 Phil Edwards <pme@sources.redhat.com>
4760 * docs/doxygen/run_doxygen: Check for the existence of Doxygen.
4762 2001-04-04 Phil Edwards <pme@sources.redhat.com>
4764 * docs/doxygen/user.cfg.in: Extract all non-private members;
4765 reduce confusing documentation output.
4767 2001-04-04 Geoffrey Keating <geoffk@redhat.com>
4769 * include/backward/fstream.h: Add missing semicolons.
4771 2001-04-03 Benjamin Kosnik <bkoz@redhat.com>
4773 * include/bits/fstream.tcc: Add bool parameter to filebuf ctor.
4774 * include/bits/ios_base.h(ios_base::Init): Remove _M_cout, _M_cin,
4775 _M_cerr, _M_wcout, _M_wcin, _M_wcerr.
4776 (ios_base::Init::_S_ios_create): New.
4777 (ios_base::Init::_S_ios_destroy): New.
4778 * include/bits/std_fstream.h: Change ctor args.
4779 * src/ios.cc (ios_base::Init::Init): Use _S_ios_create.
4780 (ios_base::Init::~Init): Use _S_ios_destroy.
4781 (ios_base::sync_with_stdio): Use new members.
4782 * testsuite/27_io/filebuf_members.cc: Fix calling conventions for
4785 2001-04-03 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
4787 * include/backward/fstream.h: Expose streampos to global
4790 2001-04-03 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
4792 * include/bits/stl_iterator_base_types.h: Fix typo
4794 2001-04-03 Andreas Schwab <schwab@suse.de>
4796 * include/backward/fstream.h: Define filebuf and wfilebuf.
4798 2001-04-02 Phil Edwards <pme@sources.redhat.com>
4800 New concept checking implementation.
4801 * docs/html/19_diagnostics/howto.html: Document.
4802 * docs/html/17_intro/concept_check.diff: New file, for reference.
4803 * include/bits/boost_concept_check.h: New file from Boost.
4804 * include/bits/c++config: Update comments.
4806 * include/bits/concept_check.h: New file.
4807 * include/bits/concept_checks.h: Removed.
4808 * include/bits/container_concepts.h: Removed.
4809 * include/bits/sequence_concepts.h: Removed.
4810 * include/bits/stl_iterator_base.h: Removed; split into...
4811 * include/bits/stl_iterator_base_funcs.h: ...this new file...
4812 * include/bits/stl_iterator_base_types.h: ...and this new file.
4814 * include/bits/sbuf_iter.h: Update to use new implementation.
4815 * include/bits/std_iterator.h: Likewise.
4816 * include/bits/std_memory.h: Likewise.
4817 * include/bits/stl_algo.h: Likewise.
4818 * include/bits/stl_algobase.h: Likewise.
4819 * include/bits/stl_construct.h: Likewise.
4820 * include/bits/stl_deque.h: Likewise.
4821 * include/bits/stl_heap.h: Likewise.
4822 * include/bits/stl_list.h: Likewise.
4823 * include/bits/stl_map.h: Likewise.
4824 * include/bits/stl_multimap.h: Likewise.
4825 * include/bits/stl_multiset.h: Likewise.
4826 * include/bits/stl_numeric.h: Likewise.
4827 * include/bits/stl_queue.h: Likewise.
4828 * include/bits/stl_set.h: Likewise.
4829 * include/bits/stl_stack.h: Likewise.
4830 * include/bits/stl_uninitialized.h: Likewise.
4831 * include/bits/stl_vector.h: Likewise.
4832 * include/ext/hash_map: Likewise.
4833 * include/ext/hash_set: Likewise.
4834 * include/ext/slist: Likewise.
4835 * include/ext/stl_hashtable.h: Likewise.
4837 * src/Makefile.am (base_headers): Update list of headers.
4838 * Makefile.in: Regenerated.
4839 * src/Makefile.in: Regenerated.
4840 * libio/Makefile.in: Regenerated.
4841 * libmath/Makefile.in: Regenerated.
4842 * libsupc++/Makefile.in: Regenerated.
4843 * testsuite/Makefile.in: Regenerated.
4845 * docs/html/install.html: Update contact information.
4846 * docs/html/17_intro/howto.html: Ditto.
4847 * docs/html/18_support/howto.html: Ditto.
4848 * docs/html/20_util/howto.html: Ditto.
4849 * docs/html/21_strings/howto.html: Ditto.
4850 * docs/html/22_locale/howto.html: Ditto.
4851 * docs/html/23_containers/howto.html: Ditto.
4852 * docs/html/24_iterators/howto.html: Ditto.
4853 * docs/html/25_algorithms/howto.html: Ditto.
4854 * docs/html/26_numerics/howto.html: Ditto.
4855 * docs/html/27_io/howto.html: Ditto.
4856 * docs/html/faq/index.html: Ditto, plus info on new checking code.
4857 * docs/html/ext/howto.html: Ditto, plus info on new checking code.
4858 * docs/html/faq/index.txt: Regenerated.
4860 2001-04-02 Zack Weinberg <zackw@stanford.edu>
4862 * testsuite/lib/libstdc++.exp (dg-test): Annotate result
4863 messages with $which_library as well as $tool_flags and
4864 ${dg-extra-tool-flags}. Factor out annotation text into
4867 2001-04-02 Stephen M. Webb <stephen@bregmasoft.com>
4869 * include/c_std/bits/std_cstring.h: Fix for const-correctness.
4870 * include/c_std/bits/std_cwchar.h: Same.
4871 * testsuite/21_strings/c_strings.cc: Add.
4873 2001-04-01 Benjamin Kosnik <bkoz@codesourcery.com>
4875 * docs/html/configopts.html: Add --enable-sjlj-exceptions docs.
4877 2001-04-01 Zack Weinberg <zackw@stanford.edu>
4879 * tests_flags.in: Use test a = b, not test a == b which is not
4882 2001-03-31 Benjamin Kosnik <bkoz@redhat.com>
4884 * configure.target: Remove duplicate aix entry.
4886 2001-03-30 Benjamin Kosnik <bkoz@redhat.com>
4888 * include/ext/stl_bvector.h: Move to...
4889 * include/bits/stl_vector.h: ...here.
4890 * include/ext/bvector: Move to...
4891 * include/backward/bvector.h: ...here.
4892 * include/bits/std_vector.h: Change stl_bvector include.
4893 * include/bits/std_queue.h: Remove bvector include.
4894 * include/ext/tree: Insert using rb_tree, move to...
4895 * include/backward/tree.h: ...here.
4896 * include/backward/hash_map.h: Include ext/hash_map.
4897 * include/backward/hash_set.h: Include ext/hash_set.
4898 * include/backward/queue.h: New file.
4899 * include/backward/stack.h: Edit.
4900 * include/backward/algo.h: Same.
4901 * include/backward/algobase.h: Same.
4902 * include/backward/alloc.h: Same.
4903 * include/backward/function.h: Same.
4904 * include/backward/iomanip.h: Same.
4905 * include/backward/istream.h: Same.
4906 * include/backward/iterator.h: Same.
4907 * include/backward/list.h: Same.
4908 * include/backward/map.h: Same.
4909 * include/backward/multimap.h: Same.
4910 * include/backward/multiset.h: Same.
4911 * include/backward/ostream.h: Same.
4912 * include/backward/pair.h: Same
4913 * include/backward/rope.h: Same.
4914 * include/backward/set.h: Same.
4915 * include/backward/stream.h: Same.
4916 * include/backward/strstream.h: Same.
4917 * include/backward/tempbuf.h: Same.
4918 * src/Makefile.am (ext_headers): Edit.
4919 * src/Makefile.in: Regenerate.
4920 * testsuite/ext/headers.cc (main): Fix.
4923 2001-03-30 Phil Edwards <pme@sources.redhat.com>
4925 * tests_flags.in (LIBS): Pass correct path for installed testing.
4927 2001-03-28 Benjamin Kosnik <bkoz@redhat.com>
4929 * mkcheck.in (LIBTOOL): Don't construct -B argument here...
4930 * tests_flags.in (CXX): Construct here.
4931 (static_fail): Don't remove compile.out. Format with spaces.
4932 (INCLUDES): Deal with xcompiling.
4933 * configure.in (xcompiling): Substitute.
4934 * testsuite/Makefile.am: Snake libjava configury.
4935 * testsuite/Makefile.in: Regenerate.
4936 * testsuite/23_containers/map_operators.cc: Tweaks.
4937 * testsuite/23_containers/set_operators.cc: Tweaks.
4939 2001-03-28 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
4941 Enable dejagnu testing framework.
4942 * configure.in: Generate testsuite/Makefile.
4943 * configure: Regenerate.
4944 * Makefile.am (check-install): Change rule from this...
4945 (check-script-install): ...to this.
4946 (check): Change rule from this...
4947 (check-script):...to this.
4948 * Makefile.in: Regenerate.
4950 2001-03-28 Alexandre Oliva <aoliva@redhat.com>
4952 * libsupc++/Makefile.am (CXXLINK): Add --tag disable-shared after
4954 (LIBTOOL): Let automake take care of its definition.
4955 * libsupc++/Makefile.in: Rebuilt.
4957 2001-03-28 Richard Henderson <rth@redhat.com>
4959 IA-64 ABI Exception Handling:
4960 * acinclude.m4 (GLIBCPP_ENABLE_SJLJ_EXCEPTIONS): New.
4961 * configure.in: Use it.
4962 * Makefile.in, aclocal.m4, config.h.in, configure: Regenerate.
4963 * libsupc++/Makefile.am (sources): Update files list.
4964 * libsupc++/Makefile.in: Regenerate.
4965 * libsupc++/eh_alloc.cc, libsupc++/eh_aux_runtime.cc: New files.
4966 * libsupc++/eh_catch.cc, libsupc++/eh_exception.cc: New files.
4967 * libsupc++/eh_globals.cc, libsupc++/eh_personality.cc: New files.
4968 * libsupc++/eh_terminate.cc, libsupc++/eh_throw.cc: New files.
4969 * libsupc++/exception_support.cc: Remove.
4970 * libsupc++/exception_support.h: Remove.
4971 * libsupc++/pure.cc: Use std::terminate.
4972 * libsupc++/tinfo2.cc (__throw_type_match_rtti_2): Remove.
4973 (__is_pointer): Remove.
4974 * libsupc++/unwind-cxx.h: New file.
4975 * libsupc++/vec.cc (uncatch_exception): Update for new abi.
4977 2001-03-27 Alexandre Oliva <aoliva@redhat.com>
4979 * libsupc++/Makefile.am (CXXLINK): Use CXX again, and choose
4981 * src/Makefile.am (CXXLINK): Likewise.
4982 * libsupc++/Makefile.in, src/Makefile.in: Rebuilt.
4984 2001-03-27 Benjamin Kosnik <bkoz@redhat.com>
4986 * include/bits/c++config (_STL_USE_CONCEPT_CHECKS): Disable by default.
4988 2001-03-26 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
4990 * libstdc++-v3/tests_flags.in: Change the order of libstdc++
4993 2001-03-26 Benjamin Kosnik <bkoz@redhat.com>
4995 * include/bits/basic_file.h (get_fileno): Remove.
4996 (_M_fileno): Remove.
4997 (_M_cfile_created): Add.
4998 (basic_file::basic_file(__c_file_type*, openmode): Add.
4999 (basic_file::basic_file(int, const char*, openmode): Remove.
5000 * include/bits/fstream.tcc (basic_fstream::basic_filebuf(int __fd,
5001 const char*, ios_base::openmode): Don't allocate
5002 internal buffers. Turn off internal buffers.
5003 (basic_filebuf::overflow): Remove test for null buffer.
5004 (basic_filebuf::_M_really_overflow): Same. Allow unbuffered use.
5005 * include/bits/streambuf.cc: Tweak.
5006 * include/bits/std_ostream.h: Tweak.
5007 * config/basic_file_libio.h: Same.
5008 * config/basic_file_stdio.h: Same.
5009 * src/ios.cc (ios_base::Init::Init()): Unbuffer stdout by default.
5010 * testsuite/27_io/filebuf_members.cc: Tweaks.
5011 * testsuite/27_io/ios_base_members_static.cc: Tweaks.
5013 2001-03-24 Phil Edwards <pme@sources.redhat.com>
5015 * Makefile.am: New targets, doxygen and doxygen-maint.
5016 * Makefile.in: Regenerated.
5017 * docs/doxygen/run_doxygen: Finally implemented.
5018 * docs/doxygen/maint.cfg.in: New file.
5019 * docs/doxygen/user.cfg.in: New file.
5021 2001-03-24 Phil Edwards <pme@sources.redhat.com>
5023 * acinclude.m4 (GLIBCPP_CHECK_COMPILER_FEATURES): Update comment.
5024 * src/Makefile.am: Replace leading spaces with tabs on continuation
5026 * aclocal.m4: Regenerated.
5028 * Makefile.in: Ditto.
5029 * src/Makefile.in: Ditto.
5030 * libio/Makefile.in: Ditto.
5031 * libmath/Makefile.in: Ditto.
5032 * libsupc++/Makefile.in: Ditto.
5034 2001-03-24 Phil Edwards <pme@sources.redhat.com>
5036 * docs/html/19_diagnostics/howto.html: HTML fixup. Describe
5037 concept-checking code and current status of same.
5038 * docs/html/ext/howto.html: Ditto.
5039 * docs/html/faq/index.html: Ditto.
5040 * docs/html/faq/index.txt: Regenerated.
5042 2001-03-24 Phil Edwards <pme@sources.redhat.com>
5044 * include/bits/std_bitset.h: Include ostream and istream headers
5045 instead of iostream.
5047 2001-03-22 Greg Bumgardner <bumgard@roguewave.com>
5049 * include/bits/ostream.tcc: Use __builtin_alloca.
5051 2001-03-22 Benjamin Kosnik <bkoz@redhat.com>
5053 * src/misc-inst.cc (__sink_unused_warning): Move to...
5054 * src/locale-inst.cc (__sink_unused_warning): Move to...
5055 * src/stl-inst.cc: Here.
5056 * include/bits/c++config (_STL_NO_CONCEPT_CHECKS): Add define,
5059 2001-03-21 Theodore Papadopoulo <Theodore.Papadopoulo@sophia.inria.fr>
5061 * intclude/bits/basic_file.h: Fix typos in comments.
5063 2001-03-20 Richard Henderson <rth@redhat.com>
5065 * src/gen-num-limits.cc: Instantiate for wchar_t.
5066 * config/os/aix/bits/ctype_base.h (mask): Use unsigned int.
5068 2001-03-20 Jason Merrill <jason@redhat.com>
5070 * libsupc++/vec.cc (__cxa_vec_cleanup): New fn.
5071 (__cxa_vec_ctor, __cxa_vec_cctor, __cxa_vec_dtor): Call it.
5072 * libsupc++/cxxabi.h: Declare it.
5074 2001-03-16 Alexandre Oliva <aoliva@redhat.com>
5076 * src/gen-num-limits.cc (signal_adapter): Overloaded to match
5077 signal_func with an unspecified argument list.
5079 2001-03-15 Benjamin Kosnik <bkoz@redhat.com>
5081 * tests_flags.in (CXXFLAGS): Link libstdc++ before libsupc++.
5083 2001-03-15 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
5085 * include/bits/basic_string.tcc (operator+): Fix thinko.
5087 2001-03-14 Benjamin Kosnik <bkoz@redhat.com>
5090 * include/bits/std_streambuf.h: Remove cached locale facets.
5091 (basic_streambuf::_M_buf_fctype): Remove.
5092 (basic_streambuf::~basic_streambuf): Remove here.
5093 (basic_streambuf::basic_streambuf): Same.
5094 (basic_streambuf::imbue): Same.
5095 * include/bits/fstream.tcc (filebuf::imbue): Remove _M_buf_fctype.
5096 * include/bits/std_fstream.h (basic_filebuf::_M_fcvt): Remove.
5097 (basic_filebuf::~basic_filebuf()): Remove here.
5098 * include/bits/fstream.tcc (basic_filebuf::basic_filebuf): Same.
5099 (basic_filebuf::imbue): Same.
5100 * include/bits/localefwd.h (_Count_ones): Remove.
5101 (locale::_S_num_categories): Just use 6, since this doesn't
5102 actually change, ever.
5103 * include/bits/locale_facets.tcc (has_facet): Simplify.
5105 * testsuite/27_io/filebuf.cc (test06): Add tests.
5107 2001-03-13 Steve Ellcey <sje@cup.hp.com>
5109 * libstdc++-v3/config/os/hpux/bits/ctype_base.h: Make ctype masks
5110 match HP-UX ctype.h header file.
5112 2001-03-13 Andris Pavenis <pavenis@latnet.lv>
5114 * config/djgpp/bits/ctype_noninline.h: Fix typo and remove
5115 duplicate definitions of __dj_ctype_*
5117 2001-03-13 Benjamin Kosnik <bkoz@redhat.com>
5119 * libsupc++/new: Remove pragma interface.
5120 * libsupc++/typeinfo: Same.
5121 * libsupc++/exception: Same.
5122 * libsupc++/new_handler.cc: Remove pragma implementation.
5123 (bad_alloc::~bad_alloc()): Add.
5124 * libsupc++/exception_support.cc: Same.
5125 (exception::~exception): Add.
5126 (bad_exception::~bad_exception): Add.
5127 * libsupc++/tinfo.cc: Same.
5128 (bad_cast::~bad_cast): Add.
5129 (bad_typeid::~bad_typeid): Add.
5131 2001-03-13 Phil Edwards <pme@sources.redhat.com>
5133 * mkcheck.in: Fix IFS regression for non-bash-2.01 hosts.
5135 2001-03-12 Felix Lee <flee@redhat.com>
5137 * mkcheck.in: workaround for bash 2.01 IFS bug.
5139 2001-03-12 Benjamin Kosnik <bkoz@redhat.com>
5141 Fixups for -fno-for-scope
5142 * include/bits/locale_facets.tcc (__match_parallel): Fixup.
5143 * src/valarray-inst.cc (__gslice_to_index): Same.
5145 2001-03-12 Rodney Brown <RodneyBrown@mynd.com>
5147 * src/gen-num-limits.cc (traps) [SPECIALIZE_TRAPPING]: Add fflush
5148 prior to trapping signal (UnixWare 7 workaround).
5150 2001-03-12 Craig Rodrigues <rodrigc@mediaone.net>
5152 * include/backward/hashtable.h: Same.
5153 * include/backward/rope.h: Fix include.
5155 2001-03-12 Benjamin Kosnik <bkoz@redhat.com>
5157 * include/backward/vector.h: Include std_vector.h.
5159 * include/bits/istream.tcc (basic_istream<_CharT, _Traits>&
5160 operator>>(basic_istream<_CharT, _Traits>& __in, _CharT* __s)):
5163 2001-03-11 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
5165 * include/ext/stl_hashtable.h: Change type of __n to size_t
5166 * include/backward/bvector.h: Include <ext/stl_bvector.h>
5168 2001-03-09 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
5170 * include/bits/istream.tcc ( basic_istream<_CharT, _Traits>&
5171 operator>>(basic_istream<_CharT, _Traits>& __in, _CharT* __s)):
5172 Use streamsize, not int_type.
5174 2001-03-08 Benjamin Kosnik <bkoz@redhat.com>
5176 * testsuite/27_io/streambuf.cc (test06): New test, disabled at the
5179 2001-03-08 Andreas Schwab <schwab@suse.de>
5181 * acinclude.m4 (GLIBCPP_EXPORT_INSTALL_INFO): Fix syntax in test
5183 * aclocal.m4, configure: Regenerated.
5185 2001-03-07 Benjamin Kosnik <bkoz@redhat.com>
5187 * include/bits/std_iosfwd.h: Remove string forward decls here.
5188 * include/bits/stringfwd.h: Add forward decls for char_traits
5190 * config/c_io_libio.h (wstreamoff): Delete.
5191 * config/c_io_stdio.h (wstreamoff): Same.
5192 * include/bits/char_traits.h: Use streamoff not wstreamoff for
5193 char_traits<wchar_t>::off_type.
5194 Remove duplicate typedefs.
5195 * include/bits/fpos.h: Define streampos/wstreampos here.
5196 * testsuite/27_io/istream_seeks.cc (test04): Explicitly cast int
5199 Changeup output files.
5200 * testsuite/27_io/istream_unformatted.cc: Change output files.
5201 * testsuite/27_io/istream_seeks-1.txt: Add.
5202 * testsuite/27_io/istream_seeks-2.tst: Add.
5203 * testsuite/27_io/istream_seeks-1.tst: Add.
5204 * testsuite/27_io/istream_unformatted-2.tst: Delete.
5205 * testsuite/27_io/istream_unformatted-3.tst: Delete.
5206 * testsuite/27_io/istream_unformatted-3.txt: Delete.
5208 2001-03-07 Alexandre Oliva <aoliva@redhat.com>
5210 Add Irix 5.2, 6.3 support.
5211 * config/os/irix/bits: Renamed to...
5212 * config/os/irix/irix6.5/bits: this.
5213 * config/os/irix/irix5.2/bits: New, copied from irix6.5/bits.
5214 * config/os/irix/irix5.2/bits/ctype_base.h: Use _U, _L, _N,
5215 _X, _S, _P, _C and _B instead of IRIX-6.5 _IS* macros.
5216 * config/os/irix/irix5.2/bits/ctype_noninline.h
5217 (ctype<char>::ctype): Initialize _M_table with __ctype.
5218 * configure.target: Adjust.
5220 2001-03-06 Benjamin Kosnik <bkoz@redhat.com>
5223 * include/bits/istream.tcc (basic_istream<_CharT, _Traits>::
5224 operator>>(__istream_type& (*__pf)(__istream_type&)): Don't use
5226 (basic_istream<_CharT, _Traits>:: operator>>(__ios_type&
5227 (*__pf)(__ios_type&)): Same.
5228 (basic_istream<_CharT, _Traits>:: operator>>(ios_base&
5229 (*__pf)(ios_base&))): Same.
5230 * testsuite/27_io/istream_extractor_other.cc: Add tests.
5231 * testsuite/27_io/istream_manip.cc (test01): Fix.
5233 2001-03-06 Nathan Myers <ncm@cantrip.org>
5234 Benjamin Kosnik <bkoz@redhat.com>
5236 * include/c_std/bits/std_cerrno.h: Don't define errno in std::.
5237 * testsuite/17_intro/header_cerrno.cc (test01): New file.
5238 * testsuite/17_intro/header_cassert.cc (test01): New file.
5239 * testsuite/17_intro/header_cstddef.cc (test01): New file.
5240 * testsuite/17_intro/header_csetjmp.cc (test01): New file.
5241 * testsuite/17_intro/header_cstdarg.cc (test01): New file.
5243 2001-03-05 scott snyder <snyder@fnal.gov>
5246 * include/c_std/bits/std_cmath.h: Move abs(long), div(long,long)
5248 * include/c_std/bits/std_cstdlib.h: ... to here.
5249 * testsuite/17_intro/header_cstdlib.cc: Add test.
5251 2001-03-05 Stephen M. Webb <stephen.webb@cybersafe.com>
5253 * libsupc++/vec.cc (__cxxa_vec_new2): Qualify size_t.
5255 2001-03-05 Laurynas Biveinis <lauras@softhome.net>
5257 * config/os/djgpp/ctype_base.h (ctype_base): fix __to_type
5258 definition. Replace enum with static const variables.
5260 * config/os/djgpp/ctype_inline.h (ctype<char>::is): remove
5261 throw specification, fix typos, use <static_cast>.
5262 (ctype<char>::scan_is): remove throw specification.
5263 (ctype<char>::scan_not): likewise.
5265 * config/os/djgpp/ctype_noninline.h (ctype<char>::ctype): fix typo.
5266 (ctype<char>::do_toupper(char)): use <static_cast>.
5267 (ctype<char>::do_toupper(char *, const char *)): likewise.
5268 (ctype<char>::do_tolower(char)): likewise.
5269 (ctype<char>::do_tolower(char *, const char *)): likewise.
5271 2001-03-04 Phil Edwards <pme@sources.redhat.com>
5273 http://gcc.gnu.org/ml/libstdc++/2001-03/msg00015.html
5274 * include/backward/algo.h: Use std not __STD. Remove unneeded
5275 macros and "never happens" code. Adjust to C++STYLE guidelines.
5276 * include/backward/algobase.h: Likewise.
5277 * include/backward/alloc.h: Likewise.
5278 * include/backward/bvector.h: Likewise.
5279 * include/backward/deque.h: Likewise.
5280 * include/backward/function.h: Likewise.
5281 * include/backward/hash_map.h: Likewise.
5282 * include/backward/hash_set.h: Likewise.
5283 * include/backward/hashtable.h: Likewise.
5284 * include/backward/heap.h: Likewise.
5285 * include/backward/iterator.h: Likewise.
5286 * include/backward/list.h: Likewise.
5287 * include/backward/map.h: Likewise.
5288 * include/backward/multimap.h: Likewise.
5289 * include/backward/multiset.h: Likewise.
5290 * include/backward/pair.h: Likewise.
5291 * include/backward/rope.h: Likewise.
5292 * include/backward/set.h: Likewise.
5293 * include/backward/slist.h: Likewise.
5294 * include/backward/stack.h: Likewise.
5295 * include/backward/strstream: Likewise.
5296 * include/backward/tempbuf.h: Likewise.
5297 * include/backward/tree.h: Likewise.
5298 * include/backward/vector.h: Likewise.
5299 * include/bits/basic_ios.h: Likewise.
5300 * include/bits/basic_ios.tcc: Likewise.
5301 * include/bits/basic_string.h: Likewise.
5302 * include/bits/c++config: Likewise.
5303 * include/bits/concept_checks.h: Likewise.
5304 * include/bits/fpos.h: Likewise.
5305 * include/bits/fstream.tcc: Likewise.
5306 * include/bits/functexcept.h: Likewise.
5307 * include/bits/ios_base.h: Likewise.
5308 * include/bits/istream.tcc: Likewise.
5309 * include/bits/mask_array.h: Likewise.
5310 * include/bits/ostream.tcc: Likewise.
5311 * include/bits/pthread_allocimpl.h: Likewise.
5312 * include/bits/sbuf_iter.h: Likewise.
5313 * include/bits/slice.h: Likewise.
5314 * include/bits/slice_array.h: Likewise.
5315 * include/bits/sstream.tcc: Likewise.
5316 * include/bits/std_bitset.h: Likewise.
5317 * include/bits/std_fstream.h: Likewise.
5318 * include/bits/std_iomanip.h: Likewise.
5319 * include/bits/std_ios.h: Likewise.
5320 * include/bits/std_istream.h: Likewise.
5321 * include/bits/std_iterator.h: Likewise.
5322 * include/bits/std_memory.h: Likewise.
5323 * include/bits/std_ostream.h: Likewise.
5324 * include/bits/std_sstream.h: Likewise.
5325 * include/bits/std_streambuf.h: Likewise.
5326 * include/bits/std_string.h: Likewise.
5327 * include/bits/std_valarray.h: Likewise.
5328 * include/bits/stl_algo.h: Likewise.
5329 * include/bits/stl_algobase.h: Likewise.
5330 * include/bits/stl_alloc.h: Likewise.
5331 * include/bits/stl_construct.h: Likewise.
5332 * include/bits/stl_deque.h: Likewise.
5333 * include/bits/stl_function.h: Likewise.
5334 * include/bits/stl_heap.h: Likewise.
5335 * include/bits/stl_iterator.h: Likewise.
5336 * include/bits/stl_iterator_base.h: Likewise.
5337 * include/bits/stl_list.h: Likewise.
5338 * include/bits/stl_map.h: Likewise.
5339 * include/bits/stl_multimap.h: Likewise.
5340 * include/bits/stl_multiset.h: Likewise.
5341 * include/bits/stl_numeric.h: Likewise.
5342 * include/bits/stl_pair.h: Likewise.
5343 * include/bits/stl_pthread_alloc.h: Likewise.
5344 * include/bits/stl_queue.h: Likewise.
5345 * include/bits/stl_raw_storage_iter.h: Likewise.
5346 * include/bits/stl_relops.h: Likewise.
5347 * include/bits/stl_set.h: Likewise.
5348 * include/bits/stl_stack.h: Likewise.
5349 * include/bits/stl_tempbuf.h: Likewise.
5350 * include/bits/stl_threads.h: Likewise.
5351 * include/bits/stl_tree.h: Likewise.
5352 * include/bits/stl_uninitialized.h: Likewise.
5353 * include/bits/stl_vector.h: Likewise.
5354 * include/bits/streambuf.tcc: Likewise.
5355 * include/bits/type_traits.h: Likewise.
5356 * include/bits/valarray_meta.h: Likewise.
5357 * include/ext/bvector: Likewise.
5358 * include/ext/hash_map: Likewise.
5359 * include/ext/hash_set: Likewise.
5360 * include/ext/ropeimpl.h: Likewise.
5361 * include/ext/slist: Likewise.
5362 * include/ext/stl_bvector.h: Likewise.
5363 * include/ext/stl_hash_fun.h: Likewise.
5364 * include/ext/stl_hashtable.h: Likewise.
5365 * include/ext/stl_rope.h: Likewise.
5366 * src/complex_io.cc: Likewise.
5367 * src/ios.cc: Likewise.
5368 * src/locale-inst.cc: Likewise.
5369 * src/locale.cc: Likewise.
5370 * src/localename.cc: Likewise.
5371 * src/misc-inst.cc: Likewise.
5372 * src/stdexcept.cc: Likewise.
5373 * src/stl-inst.cc: Likewise.
5374 * src/strstream.cc: Likewise.
5375 * src/valarray-inst.cc: Likewise.
5377 2001-03-03 Benjamin Kosnik <bkoz@redhat.com>
5379 * src/misc-inst.cc (__copy_streambufs): Fix typo for alpha.
5381 2001-03-02 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
5383 * include/bits/istream.tcc: change type of __extracted to __size_type
5385 2001-03-02 Benjamin Kosnik <bkoz@redhat.com>
5387 * src/wstring-inst.cc: New file.
5388 * src/Makefile.am (EXTRA_LTLIBRARIES): Remove.
5389 (libinst_wstring_la_SOURCES): Remove.
5390 (libstdc___la_LIBADD): Remove libinst_wstring_la.
5391 (sources): Add wstring-inst.cc
5392 * acinclude.m4 (GLIBCPP_CHECK_WCHAR_T_SUPPORT): Remove
5395 2001-03-02 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
5397 * src/locale.cc: initialise __ret with zero
5398 * src/strstream.cc:cast gptr to int_type
5400 2001-03-01 Phil Edwards <pme@sources.redhat.com>
5402 * docs/html/faq/index.html: Update broken links.
5403 * docs/html/faq/index.txt: Regenerated.
5405 2001-02-28 Benjamin Kosnik <bkoz@redhat.com>
5408 * configure.target: Change irix* to irix6.5* in target_os table.
5410 2001-02-28 Benjamin Kosnik <bkoz@redhat.com>
5413 * include/bits/c++config (__GLIBCPP__): Bump number in
5414 anticipation of 2.92.
5416 * include/bits/codecvt.h: Fix typo.
5417 * include/bits/basic_file.h (__basic_file): Don't use _M_wfile for
5419 * acinclude.m4 (GLIBCPP_ENABLE_CSTDIO): Enable wchar_t
5420 instantiations for stdio model.
5422 2001-02-28 Phil Edwards <pme@sources.redhat.com>
5424 * acinclude.m4 (GLIBCPP_CONFIGURE): Remove GLIBCPP_CFLAGS
5425 and GLIBCPP_CXXFLAGS as unused variables.
5426 * configure.host: Likewise.
5427 * configure.target: Likewise.
5428 * aclocal.m4: Regenerated.
5429 * configure: Regenerated.
5430 * Makefile.in: Regenerated.
5431 * libio/Makefile.in: Regenerated.
5432 * libmath/Makefile.in: Regenerated.
5433 * libsupc++/Makefile.in: Regenerated.
5434 * src/Makefile.in: Regenerated.
5436 2001-02-27 Benjamin Kosnik <bkoz@redhat.com>
5439 * include/bits/basic_file.h: Include basic_file_model.h.
5440 * config/c_io_libio.cc: Move to...
5441 * config/basic_file_libio.cc: Here.
5442 * config/basic_file_libio.h: New file.
5443 * config/c_io_stdio.cc: Move to...
5444 * config/basic_file_stdio.cc: Here.
5445 * config/basic_file_stdio.h: New file.
5446 * config/c_io_libio.h: Tweak.
5447 * config/c_io_stdio.h: Tweak.
5448 * src/Makefile.am (build_headers): Add basic_file_model.h.
5449 (sources): Add basic_file.cc, remove c++io.cc.
5450 * src/Makefile.in: Regenerate.
5451 * acinclude.m4 (GLIBCPP_ENABLE_CSTDIO): Add support for
5452 basic_file_model.h and basic_file.cc.
5453 * aclocal.m4: Regenerate.
5454 * configure: Regenerate.
5455 * testsuite/27_io/filebuf.cc (test05): Add regression.
5457 2001-02-27 Benjamin Kosnik <bkoz@redhat.com>
5460 * config/cpu/alpha/bits/atomicity.h: Change.
5461 * config/cpu/arm/bits/atomicit3y.h
5462 * config/cpu/generic/bits/atomicity.h
5463 * config/cpu/i386/bits/atomicity.h
5464 * config/cpu/i486/bits/atomicity.h
5465 * config/cpu/ia64/bits/atomicity.h
5466 * config/cpu/powerpc/bits/atomicity.h
5467 * config/cpu/sparc/sparc32/bits/atomicity.h
5468 * config/cpu/sparc/sparc64/bits/atomicity.h
5469 * config/os/aix/bits/atomicity.h
5470 * config/os/irix/bits/atomicity.h
5472 2001-02-27 Benjamin Kosnik <bkoz@redhat.com>
5474 * include/bits/std_stdexcept.h (runtime_error): Make string
5476 (logic_error): Same.
5477 * testsuite/19_diagnostics/stdexceptions.cc (test04): Add test.
5480 2001-02-26 Benjamin Kosnik <bkoz@redhat.com>
5484 * include/bits/std_stdexcept.h (logic_error::logic_error): Use
5485 string object, not reference.
5486 (runtime_error::runtime_error): Same.
5487 * testsuite/19_diagnostics/stdexceptions.cc: New file.
5489 2001-02-26 Phil Edwards <pme@sources.redhat.com>
5491 * acinclude.m4 (GLIBCPP_CONFIGURE): Update required compiler version.
5492 (GLIBCPP_CHECK_COMPILER_FEATURES): Can safely assume new
5493 diagnostics. Remove WFMT_FLAGS.
5494 * configure.in: Replace WFMT_FLAGS with diagnostics options.
5495 * libsupc++/Makefile.am: Likewise.
5496 * src/Makefile.am: Likewise.
5497 * aclocal.m4: Regenerated.
5498 * configure: Regenerated.
5499 * Makefile.in: Regenerated.
5500 * libio/Makefile.in: Regenerated.
5501 * libmath/Makefile.in: Regenerated.
5502 * libsupc++/Makefile.in: Regenerated.
5503 * src/Makefile.in: Regenerated.
5505 2001-02-26 Phil Edwards <pme@sources.redhat.com>
5507 Fixes libstdc++/2079
5508 * include/backward/iomanip.h: Expose <ios> manipulators to global
5510 * include/backward/iostream.h: Also expose std::ws.
5512 2001-02-25 Greg Freemyer <freemyer@NorcrossGroup.com>
5514 * libmath/mathconf.h (GET_LDOUBLE_MSW64): Fix thinko.
5516 2001-02-23 Benjamin Kosnik <bkoz@redhat.com>
5518 * include/bits/codecvt.h: Use __builtin_alloca.
5519 * include/bits/ostream.tcc: Same.
5520 * include/bits/fstream.tcc: Same.
5522 2001-02-23 Alexandre Oliva <aoliva@redhat.com>
5524 * mknumeric_limits (CC): Use VAR=${VAR=...} form.
5526 2001-02-23 David Edelsohn <dje@watson.ibm.com>
5528 * mknumeric_limits (CC): Use $BUILD_DIR/../../gcc/xgcc
5530 2001-02-23 Phil Edwards <pme@sources.redhat.com>
5533 * include/backward/iostream.h: Expose std::flush in old headers.
5535 2001-02-23 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
5537 * mknumeric_limits: Remove special-casing on target. Use gcc
5538 instead of g++ to build gen-num-limits.cc
5540 2001-02-22 Benjamin Kosnik <bkoz@redhat.com>
5542 * tests_flags.in (CXXFLAGS): Add -rpath to gcc build dir.
5544 * include/bits/codecvt.h: Use alloca instead of __extension__ for
5546 * include/bits/ostream.tcc: Same.
5547 * include/bits/std_ostream.h: Same.
5548 * include/bits/fstream.tcc: Same.
5549 * include/bits/locale_facets.tcc: Add typename.
5550 * include/bits/c++config (_GLIBCPP_FULLY_COMPLIANT_HEADERS): Enable.
5552 2001-02-21 Phil Edwards <pme@sources.redhat.com>
5554 * tests_flags.in: Remove -n flag from call to echo.
5556 2001-02-20 Benjamin Kosnik <bkoz@redhat.com>
5558 * config/c_locale_gnu.h: Add clocale include.
5560 2001-02-20 Phil Edwards <pme@sources.redhat.com>
5562 * include/bits/stl_config.h: Remove file.
5563 * src/Makefile.am (base_headers): Remove from list.
5564 * configure: Regenerate.
5565 * Makefile.in: Ditto.
5566 * libio/Makefile.in: Ditto.
5567 * libmath/Makefile.in: Ditto.
5568 * libsupc++/Makefile.in: Ditto.
5569 * src/Makefile.in: Ditto.
5571 * include/bits/c++config: Move relevant macros to here.
5572 * include/backward/alloc.h: Include c++config.h instead.
5573 * include/backward/function.h: Ditto.
5574 * include/backward/heap.h: Ditto.
5575 * include/backward/pair.h: Ditto.
5576 * include/bits/pthread_allocimpl.h: Ditto.
5577 * include/bits/std_functional.h: Ditto.
5578 * include/bits/std_iterator.h: Ditto.
5579 * include/bits/std_numeric.h: Ditto.
5580 * include/bits/std_utility.h: Ditto.
5581 * include/bits/stl_algobase.h: Ditto.
5582 * include/bits/type_traits.h: Ditto.
5583 * src/stl-inst.cc: Ditto.
5585 2001-02-19 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
5587 * include/bits/basic_file.h: Add #pragma system_header
5588 * include/bits/basic_ios.h: Ditto.
5589 * include/bits/basic_string.h: Ditto.
5590 * include/bits/char_traits.h: Ditto.
5591 * include/bits/codecvt.h: Ditto.
5592 * include/bits/cpp_type_traits.h: Ditto.
5593 * include/bits/fpos.h: Ditto.
5594 * include/bits/gslice.h: Ditto.
5595 * include/bits/gslice_array.h: Ditto.
5596 * include/bits/indirect_array.h: Ditto.
5597 * include/bits/ios_base.h: Ditto.
5598 * include/bits/limits_generic.h: Ditto.
5599 * include/bits/locale_facets.h: Ditto.
5600 * include/bits/localefwd.h: Ditto.
5601 * include/bits/mask_array.h: Ditto.
5602 * include/bits/sbuf_iter.h: Ditto.
5603 * include/bits/sequence_concepts.h: Ditto.
5604 * include/bits/slice.h: Ditto.
5605 * include/bits/slice_array.h: Ditto.
5606 * include/bits/std_algorithm.h: Likewise.
5607 * include/bits/std_bitset.h: Likewise.
5608 * include/bits/std_complex.h: Likewise.
5609 * include/bits/std_deque.h: Likewise.
5610 * include/bits/std_fstream.h: Likewise.
5611 * include/bits/std_functional.h: Likewise.
5612 * include/bits/std_iomanip.h: Likewise.
5613 * include/bits/std_ios.h: Likewise.
5614 * include/bits/std_iosfwd.h: Likewise.
5615 * include/bits/std_iostream.h: Likewise.
5616 * include/bits/std_istream.h: Likewise.
5617 * include/bits/std_iterator.h: Likewise.
5618 * include/bits/std_list.h: Likewise.
5619 * include/bits/std_locale.h: Likewise.
5620 * include/bits/std_map.h: Likewise.
5621 * include/bits/std_memory.h: Likewise.
5622 * include/bits/std_numeric.h: Likewise.
5623 * include/bits/std_ostream.h: Likewise.
5624 * include/bits/std_queue.h: Likewise.
5625 * include/bits/std_set.h: Likewise.
5626 * include/bits/std_sstream.h: Likewise.
5627 * include/bits/std_stack.h: Likewise.
5628 * include/bits/std_stdexcept.h: Likewise.
5629 * include/bits/std_streambuf.h: Likewise.
5630 * include/bits/std_string.h: Likewise.
5631 * include/bits/std_utility.h: Likewise.
5632 * include/bits/std_valarray.h: Likewise.
5633 * include/bits/std_vector.h: Likewise.
5634 * include/bits/stringfwd.h: Likewise.
5635 * include/bits/type_traits.h: Likewise.
5636 * include/bits/valarray_array.h: Likewise.
5637 * include/bits/valarray_meta.h: Likewise.
5639 2001-02-19 Andreas Jaeger <aj@suse.de>
5641 * config/cpu/sparc/sparc64/bits/atomicity.h (__compare_and_swap):
5644 2001-02-16 Greg Bumgardner <bumgard@roguewave.com>
5647 * include/bits/std_ostream.h: Replaced usage of
5648 _Traits::_S_eos() with _CharT() as per section 17.2.2.1.3.
5649 * include/bits/char_traits.h: Removed non-standard
5650 methods that cannot be used elsewhere.
5653 * include/bits/basic_ios.h: Uncommented #include of
5657 * include/bits/codecvt.h: See next...
5658 * include/bits/fstream.tcc: See next...
5659 * include/bits/ostream.tcc: Add __extension__
5660 to variable-length arrays.
5663 * include/bits/localefwd.h: Changed int counter type to size_t.
5666 * include/bits/std_fstream.h: Added typedef for __ctype_type.
5668 2001-02-16 Benjamin Kosnik <bkoz@redhat.com>
5670 * testsuite/21_strings/char_traits.cc: Move to ...
5671 * testsuite/21_strings/char_traits_requirements.cc: ..here.
5672 * testsuite/21_strings/char_traits-int_type.cc: Move to ...
5673 * testsuite/21_strings/char_traits_typedefs.cc: ..here.
5675 2001-02-16 Gabriel Dos Reis <gdr@codesourcery.com>
5677 * libmath/mathconf.h (FINITE_P, INFINITE_P): Remove macro
5680 2001-02-15 Benjamin Kosnik <bkoz@redhat.com>
5682 * include/bits/c++config: Revert.
5684 2001-02-15 Mark Mitchell <mark@codesourcery.com>
5686 * include/bits/istream.tcc: Use ios_base::iostate in place of
5687 iostate throughout. Insert `typename' keyword where necessary.
5688 * include/bits/ostream.tcc: Insert `typename' keyword where
5691 2001-02-15 Jeffrey Oldham <oldham@codesourcery.com>
5693 * include/bits/c++config (_GLIBCPP_FULLY_COMPLIANT_HEADERS):
5694 Define so library is compliant.
5696 2001-02-15 Anthony Green <green@redhat.com>
5698 * acinclude.m4 (glibcpp_toolexeclibdir): Fix test for cross
5700 * aclocal.m4: Regenerate.
5701 * configure: Regenerate.
5703 2001-02-15 Rodney Brown <RodneyBrown@mynd.com>
5705 * acinclude.m4 (GLIBCPP_CHECK_MATH_DECL_1):
5706 Include ieeefp.h for fpclass on UnixWare{2,7}.
5707 * aclocal.m4: Regenerate.
5708 * configure: Regenerate.
5709 * mkcheck.in (size_command): Do without GNU-grep when using
5712 2001-02-15 Mark Mitchell <mark@codesourcery.com>
5714 Remove old ABI support from libsupc++.
5715 * libsupc++/cxxabi.h: Remove conditionally compiled code.
5716 * libsupc++/exception_support.cc: Likewise.
5717 * libsupc++/pure.cc: Likewise.
5718 * libsupc++/tinfo.cc: Likewise.
5719 * libsupc++/tinfo.h: Likewise.
5720 * libsupc++/tinfo2.cc: Likewise.
5721 * libsupc++/typeinfo: Likewise.
5722 * libsupc++/vec.cc: Likewise.
5724 2001-02-15 Benjamin Kosnik <bkoz@redhat.com>
5726 Add support for -fno-exceptions.
5727 * include/bits/exception_support.h: Remove.
5728 * include/bits/basic_string.h: Remove exception_support.
5729 (string::_M_check): Replace __OUTOFRANGE with __throw_out_of_range.
5731 (string::substr): Same.
5732 * include/bits/basic_string.tcc (string::reserve): Replace
5733 __LENGTHERROR with __throw_length_error.
5734 (string::_S_create): Same.
5735 (string::resize): Same.
5736 (string::_M_replace): Same.
5737 (string::replace): Same.
5738 (string::copy): Replace __OUTOFRANGE with __throw_out_of_range.
5739 (string::compare): Same.
5740 * include/bits/stl_vector.h: Remove exception_support.
5741 * src/Makefile.am (base_headers): Remove here.
5742 * src/Makefile.in: Regenerate.
5744 * include/bits/stl_range_errors.h: Remove.
5745 * include/bits/stl_deque.h: Use __throw_range_error.
5746 * include/bits/std_deque.h: Include functexcept.h.
5747 * include/bits/std_vector.h: Same.
5748 * src/Makefile.am (base_headers): Remove here.
5749 * src/Makefile.in: Regenerate.
5750 * include/ext/stl_bvector.h (class __BVECTOR): Use __throw_range_error.
5751 * include/ext/bvector: Remove stl_range_errors.h
5753 * include/bits/c++config (_GLIBCPP_USE_EXCEPTIONS): Remove.
5755 * include/bits/functexcept.h: New file.
5756 * src/functexcept.cc: New file. Definitions for function-based
5758 * src/Makefile.am (sources): Add functexcept.cc.
5759 * src/Makefile.in: Regenerate.
5761 * include/bits/stl_config.h (__STL_USE_EXCEPTIONS): Wrap with
5764 * include/bits/localefwd.h: Include functexcept.h.
5765 * include/bits/std_iosfwd.h: Same.
5767 * include/bits/basic_ios.h: Use __throw_ios_failure instead of
5768 throw basic_ios::failure.
5769 * include/bits/fstream.tcc (filebuf::_M_allocate_buffers):
5770 Use __throw_exception_again.
5771 (filebuf::_M_filebuf_init): Same.
5772 * include/bits/streambuf.tcc (__copy_streambufs): Same.
5773 * include/bits/ostream.tcc (ostream::operator<<): Same.
5774 * include/bits/istream.tcc (istream::operator>>): Same.
5775 * include/bits/basic_string.tcc (string::_M_mutate): Same.
5776 (string::_S_construct): Same.
5777 (string::_M_clone): Same.
5778 * include/bits/locale_facets.tcc (use_facet(const locale&)): Use
5780 (num_put<_CharT, _OutIter>::do_put): Use __throw_exception_again.
5781 * src/localename.cc (locale::_Imp::_Imp(const _Impl&, size_t): Use
5782 __throw_exception_again.
5783 (locale::_Imp::_Imp(string, size_t): Same.
5784 (locale::_Imp::_M_replace_facet): Use __throw_runtime_error.
5785 * src/locale.cc (locale::_M_coalesce): Use __throw_exception_again.
5786 (locale::locale(const char*)): Use __throw_runtime_error.
5787 (locale::classic): Use __throw_exception_again.
5788 (locale::_S_normalize_category): Use __throw_runtime_error.
5790 * src/stdexcept.cc: Remove cruft.
5792 * libsupc++/exception_defines.h: New file.
5793 * libsupc++/new_opnt.cc: Include exception_defines.h.
5794 * libsupc++/vec.cc: Same.
5795 (__cxa_vec_new2): Use __throw_exception_again.
5796 (__cxa_vec_new3): Same.
5797 (__cxa_vec_ctor): Same.
5798 (__cxa_vec_delete3): Same.
5799 (__cxa_vec_cctor): Same.
5800 (__cxa_vec_delete2): Same.
5801 (__cxa_vec_dtor): Same.
5802 * libsupc++/exception_support.cc: Include exception_defines.h. Only
5803 compile exception-handling bits if __EXCEPTIONS is defined.
5804 Remove old ABI support.
5805 * libsupc++/new_op.cc (new): Include exception_defines.h. Use
5806 std::__throw_bad_alloc() instead of throw bad_alloc.
5807 * libsupc++/Makefile.am: Add exception_defines.h.
5808 * libsupc++/Makefile.in: Reformat.
5809 * libsupc++/*: Format.
5811 2001-02-15 Phil Edwards <pme@sources.redhat.com>
5813 * docs/html/configopts.html: Minor updates and typo fixes.
5814 * docs/html/faq/index.html: Updates of the "not really bugs" list.
5815 * docs/html/faq/index.txt: Regenerated.
5817 2001-02-15 Gabriel Dos Reis <gdr@codesourcery.com>
5819 * testsuite/lib/libstdc++.exp: Lift, temporarily, out of
5820 dejagnu/dg.exp. Adapt to log options used to run testcases.
5822 2001-02-13 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
5824 * testsuite/lib/libstdc++.exp(dg-test): Lift temporarily from
5827 2001-02-13 Dirk Mueller <dmuell@gmx.net>
5828 Phil Edwards <pme@sources.redhat.com>
5830 * include/backward/function.h: Do not use rel_ops for older
5832 * include/backward/pair.h: Likewise.
5834 2001-02-12 Mark Mitchell <mark@codesourcery.com>
5836 * src/locale.cc: Remove bogus locale::id definitions.
5838 2001-02-11 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
5840 * include/bits/std_valarray.h: #undef _DEFINE_LOGICAL_OPERATOR,
5841 not _DEFINE_VALARRAY_OPERATOR which is not existent.
5843 * include/bits/valarray_meta.h (_RefFunClos<>_RefRunClos): Fix
5844 thinko in member initialisation.
5846 2001-02-11 Gabriel Dos Reis <gdr@codesourcery.com>
5848 * include/bits/std_valarray.h(valarray<>::shift): Avoid
5849 comparaison between signed and unsigned integer types.
5850 (valarray<>::cshift): Reformat.
5852 2001-02-11 Alexandre Oliva <aoliva@redhat.com>
5854 * src/gen-num-limits.cc: Use sigsetjmp and siglongjmp if available.
5855 * mknumeric_limits: Compile it with -DHAVE_CONFIG_H.
5856 * configure.in: Test for sigsetjmp.
5857 * configure, config.h.in: Rebuilt.
5859 2001-02-11 Gabriel Dos Reis <gdr@codesourcery.com>
5861 * src/valarray-inst.cc (gslice::_Indexer::_Indexer): Don't flip
5862 lengths and strides.
5863 (__gslice_to_index): Document.
5865 2001-02-11 Gabriel Dos Reis <gdr@codesourcery.com>
5867 * include/bits/char_traits.h char_traits<char>::int_type: Change
5868 to `int' to match 21.1.3.1/2.
5870 * testsuite/21_strings/char_traits-int_type.C: New test.
5872 2001-02-10 Gabriel Dos Reis <gdr@codesourcery.com>
5874 * testsuite/Makefile.am: New file.
5876 2001-02-09 Nathan Sidwell <nathan@codesourcery.com>
5878 * include/c_shadow/bits/std_cstdlib.h (lldiv_t): Fix typo.
5880 2001-02-08 Loren J. Rittle <ljrittle@acm.org>
5882 * src/locale-inst.cc (fill_n): Instantiate with size_t arguments.
5884 2001-02-08 David Edelsohn <edelsohn@gnu.org>
5886 * configure.target (aix4*): Remove extra set of brackets.
5888 2001-02-07 Benjamin Kosnik <bkoz@redhat.com>
5891 * include/bits/stringfwd.h: New file.
5892 * include/bits/stl_string_fwd.h: Remove.
5893 * include/bits/localefwd.h: Remove declaration for allocator.
5894 * include/bits/std_iosfwd: Same.
5895 * include/bits/std_string.h: Include it.
5896 * include/bits/std_ios.h: Remove include.
5897 * include/bits/basic_string.h: Tweak.
5898 * libsupc++/new: Format.
5899 * src/Makefile.am (base_headers): Add stringfwd.h, remove
5901 * src/Makefile.in: Regenerate.
5902 * include/bits/std_stdexcept.h: Rewrite.
5903 * src/stdexcept.cc: Same.
5905 2001-02-06 Benjamin Kosnik <bkoz@redhat.com>
5907 * acinclude.m4 (GLIBCPP_EXPORT_INSTALL_INFO): Deal with library
5908 install locations too.
5909 * aclocal.m4: Regenerate.
5910 * configure.in: Remove USE_LIBDIR.
5911 * configure: Regenerate.
5912 * src/Makefile.am (toolexecdir): Simplify, use
5913 glibcpp_toolexecdir, glibcpp_toolexeclibdir.
5914 * src/Makefile.in: Regenerate.
5915 * libsupc++/Makefile.am: Same.
5916 * libsupc++/Makefile.in: Regenerate.
5918 * src/Makefile.am: Just remove special rules for locale-inst.cc and
5919 misc-inst.cc as no longer necessary.
5921 Follow C++STYLE for naming non-static functions.
5922 * include/bits/ostream.tcc (_S_pad_char): Not static, rename to
5924 * include/bits/streambuf.tcc: Same.
5925 * include/bits/ostream.tcc: Same.
5926 * include/bits/istream.tcc: Same.
5927 * include/bits/locale_facets.tcc (_S_pad_numeric): To __pad_numeric.
5928 (_S_output_float): To __output_float.
5929 * include/bits/std_streambuf.h (_S_copy_streambufs): To
5931 * include/bits/locale_facets.tcc (_S_build_float_format): To
5932 __build_float_format.
5933 (_S_format): To __output_integer.
5934 (_S_fill): To __pad.
5935 * src/locale.cc: Same.
5936 * src/misc-inst.cc: Fix formatting. Fix signature for wchar_t. Correct
5938 * include/bits/locale_facets.tcc (_S_group_digits): To
5940 * src/locale-inst.cc: Fixup names. Add use_facet instantiations
5941 for collate, numpunct.
5943 2001-02-06 Phil Edwards <pme@sources.redhat.com>
5945 * docs/html/configopts.html: Fix HTML markup.
5946 * docs/html/install.html: Bring up to date.
5947 * docs/html/17_intro/C++STYLE: Add global variable conventions.
5948 * docs/html/21_strings/howto.html: More notes.
5949 * docs/html/22_locale/howto.html: Fix HTML markup.
5950 * docs/html/27_io/howto.html: More notes.
5951 * docs/html/27_io/binary_iostreams_kanze.txt: New file.
5952 * docs/html/27_io/binary_iostreams_kuehl.txt: New file.
5954 2001-02-06 Jeffrey Oldham <oldham@codesourcery.com>
5956 * src/misc-inst.cc (_S_pad_char): Modify declaration's parameters
5957 to match header files.
5958 (_S_output_float): Likewise.
5959 (_S_copy_streambufs): Likewise.
5961 2001-02-06 Hyman Rosen <Hyman.Rosen@kbcfp.com>
5962 Phil Edwards <pme@sources.redhat.com>
5964 * include/bits/std_istream.h (op>> signed,unsigned char): Must
5965 use reinterpret_cast, not static_cast.
5967 2001-02-06 Benjamin Kosnik <bkoz@redhat.com>
5969 * acinclude.m4 (gxx_include_dir): Quote, fix regression.
5970 * aclocal.m4: Regenerate.
5971 * configure: Regenerate.
5973 2001-02-05 Benjamin Kosnik <bkoz@redhat.com>
5975 * include/bits/locale_facets.h (class moneypunct): Fix typos.
5976 * libsupc++/pure.cc: Revert.
5978 2001-02-05 Benjamin Kosnik <bkoz@redhat.com>
5980 * acinclude.m4 (GLIBCPP_CHECK_MATH_DECL_1): New macro.
5981 (GLIBCPP_CHECK_MATH_DECL_2): New macro.
5982 (GLIBCPP_CHECK_MATH_DECL_3): New macro.
5983 (GLIBCPP_CHECK_MATH_DECL_AND_LINKAGE_1): Use it, check for _* too.
5984 (GLIBCPP_CHECK_MATH_DECL_AND_LINKAGE_2): Same.
5985 (GLIBCPP_CHECK_MATH_DECL_AND_LINKAGE_3): Same.
5986 (GLIBCPP_CHECK_MATH_SUPPORT): Remove explicit checks for _* versions.
5987 * aclocal.m4: Regenerate.
5988 * configure: Regenerate.
5990 2001-02-05 Mark Mitchell <mark@codesourcery.com>
5992 * include/bits/locale_facets.tcc: Remove `static' keyword on
5993 function definitions.
5994 * include/bits/std_streambuf.h: Likewise.
5995 * src/Makefile.am: Remove use of -fimplicit-templates.
5996 * src/Makefile.in: Regenerated.
5997 * src/locale-inst.cc: Explicitly instantiate more functions.
5998 * src/misc-inst.cc: Likewise.
5999 * src/string-inst.cc: Likewise.
6001 2001-02-05 Benjamin Kosnik <bkoz@redhat.com>
6003 * acinclude.m4 (GLIBCPP_EXPORT_INSTALL_INFO): New
6004 macro. Consolidate all the bits to do with where includes might be
6006 * aclocal.m4: Regenerate.
6007 * configure.in: Use it.
6008 * configure: Regenerate.
6009 * src/Makefile.am (targetincludep): Use simplified rules.
6010 (targetincludep): Rename gxx_target_include_dir.
6011 (myincludep): Rename gxx_include_dir.
6012 * src/Makefile.in: Regenerate.
6013 * libsupc++/Makefile.am: Use simplified rules.
6014 * libsupc++/Makefile.in: Regenerate.
6016 2001-02-05 Benjamin Kosnik <bkoz@redhat.com>
6018 * include/c_std/bits/std_cerrno.h: Correct date format for copyright.
6019 * include/c_std/bits/std_cctype.h: Same.
6020 * include/c_std/bits/std_cassert.h: Same.
6021 * include/c_std/bits/std_cstdarg.h: Same.
6022 * include/c_std/bits/std_cstddef.h: Same.
6024 * include/c_std/bits/std_cstdio.h: Undefine all names brought into
6026 * include/c_std/bits/std_ctime.h: Same.
6027 * include/c_std/bits/std_clocale.h: Same.
6028 * include/c_std/bits/std_cmath.h: Same.
6029 * include/c_std/bits/std_csetjmp.h: Same.
6030 * include/c_std/bits/std_csignal.h: Same.
6031 * include/c_std/bits/std_cstring.h: Same.
6032 * include/c_std/bits/std_cstdlib.h: Same.
6033 * include/c_std/bits/std_cwchar.h: Same.
6035 2001-02-05 Phil Edwards <pme@sources.redhat.com>
6037 * testsuite/27_io/ios_base_members_static.cc: Swap order of tests.
6039 2001-02-05 Mark Mitchell <mark@codesourcery.com>
6041 * src/string-inst.cc (string::_M_replace): Explicitly instantiate.
6042 (string::_S_construct): Likewise.
6044 2001-02-05 Gabriel Dos Reis <gdr@codesourcery.com>
6046 * testsuite/config/default.exp: New file.
6047 * testsuite/config: New directory.
6049 2001-02-04 Mark Mitchell <mark@codesourcery.com>
6051 * libsupc++/typeinfo (__GXX_MERGED_TYPEINFO_NAMES): New macro.
6052 * libsupc++/tinfo.cc (std::typeinfo::operator==): Use strcmp
6053 whenever !__GXX_MERGED_TYPEINFO_NAMES.
6054 * libsupc++/tinfo2.cc (std::typeinfo::before): Likewise.
6056 2001-02-03 Alexandre Oliva <aoliva@redhat.com>
6057 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
6059 * Makefile.am (mkinstalldirs): Set.
6060 * src/Makefile.am (mkinstalldirs): Set.
6061 * libmath/Makefile.am (mkinstalldirs): Set.
6062 * libsup++/Makefile.am (mkinstalldirs): Set.
6063 * libio/Makefile.am (mkinstalldirs): Set.
6064 * */Makefile.in: Regenerate.
6066 2001-02-03 Benjamin Kosnik <bkoz@redhat.com>
6068 * include/bits/stl_threads.h (struct _STL_mutex_lock): Same.
6069 * include/bits/localefwd.h: More initialization cleanups.
6071 2001-02-03 Jeffrey A Law <law@cygnus.com>
6073 * include/bits/ios_base.h (_S_ios_fmtflags_end): Initialize
6074 correctly targets with 16bit ints.
6075 (_S_ios_openmode_end): Similarly.
6076 (_S_ios_iostate_end): Similarly.
6077 (_S_ios_Seekdir_end): Similarly.
6079 2001-02-02 Phil Edwards <pme@sources.redhat.com>
6081 * mkcheck.in: Also limit virtual memory size, for mmap-based mallocs.
6083 2001-02-01 Alexandre Oliva <aoliva@redhat.com>
6085 * configure.in (toplevel_srcdir, auxdir): Set.
6086 * acinclude.m4 (glibcpp_basedir): Set based on auxdir.
6087 * aclocal.m4, configure, Makefile.in: Rebuilt.
6088 * libio/Makefile.in, math/Makefile.in, src/Makefile.in: Likewise.
6089 * libsupc++-v3/Makefile.am (INCLUDES): Use toplevel_srcdir.
6090 * libsupc++-v3/Makefile.in: Rebuilt.
6091 * libsupc++-v3/configure.in, libsupc++-v3/configure: Removed.
6092 * libsupc++-v3/aclocal.m4, libsupc++-v3/config.h.in: Likewise.
6094 2001-01-30 Benjamin Kosnik <bkoz@redhat.com>
6096 * config/c_locale_generic.cc: Remove langinfo include.
6098 2001-01-29 Benjamin Kosnik <bkoz@redhat.com>
6100 Preliminary named locales.
6101 * acinclude.m4 (GLIBCPP_ENABLE_CLOCALE): New macro.
6102 * aclocal.m4: Regenerate.
6103 * configure.in: Use it.
6104 * configure: Regerate.
6105 * src/Makefile.am (sources): Add c++locale.cc.
6106 (build_headers): Add c++locale.h.
6107 * src/Makefile.in: Regenerate.
6108 * config/c_locale_gnu.h: New file.
6109 * config/c_locale_gnu.cc: New file. Non-inline member functions
6110 for named locales, gnu-specific.
6111 * config/c_locale_generic.h: New file.
6112 * config/c_locale_generic.cc: New file. Non-inline member
6113 functions for named locales, generic version.
6114 * docs/html/configopts.html: Add documentation on new options.
6116 * include/bits/locale_facets.h (class _Messages): Remove.
6117 (class _Moneypunct): Remove.
6118 * src/locale-inst.cc: Remove.
6120 * include/bits/locale_facets.h (class _Collate): Remove.
6121 * src/locale-inst.cc (std): Remove.
6122 * src/locale.cc: And here.
6124 * include/bits/localefwd.h (locale::_M_coalesce): New
6125 function. Correctly put together multi-name locales.
6126 (_Impl(const _Impl&, category, size_t)): Remove.
6128 * include/bits/localefwd.h (locale::_Impl): Remove _M_construct_*
6130 (_M_normalize_category_names): Remove.
6131 (_M_replace_categories): Fix.
6133 * src/localename.cc (locale::_Impl::_M_construct_collate): Remove.
6134 (locale::_Impl::_M_construct_ctype): Remove.
6135 (locale::_Impl::_M_construct_monetary): Remove.
6136 (locale::_Impl::_M_construct_numeric): Remove.
6137 (locale::_Impl::_M_construct_time): Remove.
6138 (locale::_Impl::_M_construct_messages): Remove.
6140 * include/bits/locale_facets.h (_Bad_use_facet): Remove.
6141 (_Use_facet_failure_handle): Remove.
6142 * src/locale.cc: Remove definitions.
6143 * src/locale-inst.cc: And here.
6145 * testsuite/22_locale/ctor_copy_dtor.cc (test01): Fixup. Add tests.
6147 * src/localename.cc (locale::facet::_S_create_c_locale): Properly
6148 create and error-check underlying locale object.
6149 (locale::facet::_S_destroy_c_locale): Add, take care of properly
6150 tearing down underlying locale object.
6151 * include/bits/localefwd.h (locale::facet): Declare.
6152 * testsuite/22_locale/members.cc: Don't test "fr_FR" locale for
6153 correctness, as glibc apparently has incorrect info in it. Test
6154 with it when it works again.....
6156 * include/bits/localefwd.h (locale::_Impl::__vec_string):
6157 Remove. Number of categories is fixed at six, so just simplify and
6158 make this an array of strings.
6159 (locale::_Impl::_M_has_name): Remove.
6160 (locale::_Impl::_M_name): Remove.
6161 (locale::_Impl::_M_category_names): Turns into...
6162 (locale::_Impl::_M_names): ...this.
6163 (locale::_Impl::_M_has_same_name()): New function.
6164 * src/localename.cc (locale::_Impl::~_Impl()): Remove here.
6165 (locale::_Impl::_Impl(size_t __refs, string __str)): Simplify
6167 * src/locale.cc (locale::name()): Construct mangled name
6168 accurately reflecting combined locale categories.
6170 * src/locale.cc (locale::classic()): Don't initialize here.
6171 * src/localename.cc (locale::_Impl::_Impl(size_t __num, size_t
6172 __refs, bool __has_name, string __str): Do it here.
6174 * include/bits/localefwd.h: _S_categories_num to
6175 _S_num_categories. _S_facets_num to _S_num_facets.
6176 (locale::id::id()): Explicitly set _M_index to zero.
6177 * src/locale.cc: Same.
6179 * src/locale.cc: (locale::locale(const char*)): Construct named
6182 * src/locale.cc: Remove numpunct_byname ctors.
6183 * testsuite/22_locale/numpunct_byname.cc: New file.
6184 * testsuite/22_locale/numpunct.cc: New file.
6186 * include/bits/localefwd.h (class locale): Change data members to
6187 protected, from private.
6188 (_Impl::_M_get_c_locale): Add member function.
6189 (locale::facet::_M_get_global_impl()): Add member function.
6190 * include/bits/locale_facets.h (numpunct::_M_init): Change to take
6191 a __c_locale pointer.
6192 (numpunct::numpunct( __c_locale*, size_t)): Add additonal ctor for
6194 * testsuite/22_locale/members.cc: New file, test name and combine.
6196 * include/bits/locale_facets.h (class numpunct): Remove class
6197 _Punct and _Numpunct. Rewrite class numpunct to be correct for
6199 * include/bits/localefwd.h (locale::_Imp::_M_c_locale): Add.
6200 * src/localename.cc (_Impl::~_Impl()): Call __frelocale.
6201 (_Imp::_Impl(size_t, size_t, bool, string)) Initialize _M_c_locale.
6202 * src/locale-inst.cc: Remove _Numpunct, _Punct instantiations.
6203 * testsuite/22_locale/numpunct_char_members.cc: New file.
6205 2001-01-28 Gabriel Dos Reis <gdr@codesourcery.com>
6207 * testsuite/README: Add more comment.
6208 * testsuite/lib/libstdc++.exp: Tweak comment.
6210 2001-01-26 Benjamin Kosnik <bkoz@kredhat.com>
6212 * libsupc++/pure.cc (writestr): Just use cstdio and std::fputs.
6214 2001-01-25 Loren J. Rittle <ljrittle@acm.org>
6216 * testsuite/21_strings/inserters_extractors.cc: Remove
6217 explicit reference to 'testsuite/'.
6219 2001-01-25 Richard Henderson <rth@redhat.com>
6221 * config/cpu/alpha/bits/atomicity.h: Remove tricky .subsetion
6222 bits. Fixes Tru64 build issues.
6224 2001-01-25 Michael Sokolov <msokolov@ivan.Harhan.ORG>
6226 * acinclude.m4 (GLIBCPP_CHECK_GNU_MAKE): Bourne shell portability bug
6227 (use ${MAKE-make}, not ${MAKE:-make}).
6228 * aclocal.m4, configure: Regenerate.
6230 2001-01-25 Mark Mitchell <mark@codesourcery.com>
6232 * src/ios.cc: Remove accidental inclusion of <stdio.h> in last
6235 * src/Makefile.am (sources): Add globals.cc.
6236 * src/Makefile.in: Regenerated.
6237 * src/globals.cc: New file.
6238 * src/ios.cc (cin): Don't define here, just declare extern.
6247 2001-01-25 Phil Edwards <pme@sources.redhat.com>
6249 * include/bits/std_iterator.h: Do not include stl_relops.h.
6250 * include/bits/std_numeric.h: Ditto.
6251 * include/bits/stl_algobase.h: Ditto.
6252 * include/bits/stl_relops.h: Add comment warning about problems.
6254 2001-01-25 Gabriel Dos Reis <gdr@codesourcery.com>
6256 * testsuite/27_io/*.cc: Remove explicit reference to 'testsuite/'
6257 in testcases. Prepare for the DejaGnu based framework.
6258 * mkcheck.in: Adjust call to tests_flags. Don't mmkdir testsuite
6259 directory -- it is now mkcheck working directory.
6260 * tests_flags.in: Remove reference to $(top_srcdir). Use
6262 * Makefile.am (check, check-install): Change mkcheck invocation
6264 * Makefile.in: Regenerate.
6266 2001-01-24 Mark Mitchell <mark@codesourcery.com>
6268 * config/os/aix/bits/atomicity.h (__compare_and_swap): Remove.
6269 (__always_swap): Likewise.
6271 2001-01-23 Chris Demetriou <cgd@broadcom.com>
6273 * libsupc++/exception_support.cc (__terminate_func): Remove
6275 (__terminate_func_ptr): New typedef.
6276 (__terminate, __terminate_set_func): New extern function
6278 (std::terminate): Use __terminate function.
6279 (std::set_terminate): Use __terminate_set_func function.
6281 2001-01-23 Benjamin Kosnik <bkoz@redhat.com>
6283 * configure.target: Just use os_include_dir always.
6284 * configure.in: Remove calls to GLIBCPP_CHECK_CTYPE_SUPPORT.
6285 Link atomicity files and ctype files here.
6286 * configure: Regenerate.
6287 * acinclude.m4 (GLIBCPP_CHECK_CTYPE_SUPPORT): Remove.
6288 (GLIBCPP_ENABLE_ATOMICITY): Remove.
6289 * aclocal.m4: Regenerate.
6291 2001-01-23 Chris Demetriou <cgd@broadcom.com>
6293 * configure.in: Place definition of MULTISUBDIR in
6294 libsupc++/Makefile as is done for src/Makefile.
6295 * configure: Regenerate.
6297 2001-01-23 Phil Edwards <pme@sources.redhat.com>
6299 * acinclude.m4: Cosmetic changes only.
6300 * aclocal.m4: Regenerated.
6301 * configure: Regenerated.
6302 * configure.target: Update documented list of changed variables.
6303 * docs/html/install.html: Fix typo.
6304 * docs/html/20_util/howto.html: More notes on auto_ptr.
6305 * docs/html/27_io/howto.html: More notes on streabufs.
6306 * docs/html/faq/index.html: Add rel_ops problem and mention the
6307 DEC as(1) .subsection difficulty.
6308 * docs/html/faq/index.txt: Regenerated.
6310 2001-01-23 Mark Mitchell <mark@codesourcery.com>
6312 * ainclude.m4 (GLIBCPP_CHEC_MATH_DECLS_AND_LINKAGE_1): New macro.
6313 (GLIBCPP_CHECK_MATH_SUPPORT): Use it.
6314 (GLIBCPP_CHECK_TYPE_SUPPORT): Don't autoconf ctype information if
6315 its already provided in config.target.
6316 * aclocal.m4: Regenerated.
6317 * configure: Likewise.
6318 * configure.target: Set ctype_include_dir for lots of systems.
6319 * libsupc++/Makefile.am: Explicitly include --tag disable-shared.
6320 * libsupc++/Makefile.in: Regenerated.
6322 2001-01-23 Gabriel Dos Reis <gdr@codesourcery.com>
6324 * testsuite/lib/libstdc++.exp: Improve. Add support for @xxx#
6327 * testsuite/README: Add comment.
6329 2001-01-21 Phil Edwards <pme@sources.redhat.com>
6331 * docs/html/configopts.html: Update for current status. Fix HTML.
6332 * docs/html/install.html: Update for current status.
6334 2001-01-20 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
6336 * testsuite/libstdc++.tests/tests.exp: New file.
6337 * testsuite/lib/libstdc++.exp: Itou.
6338 * testsuite/README: Itou.
6340 2001-01-20 Gabriel Dos Reis <gdr@codesourcery.com>
6342 * tests_flags.in: Just output the bare minimum to run tests.
6343 Let's the caller do its own arrangement.
6345 * mkcheck.in: Rename INC_PATH to INCLUDES. Adjust flags
6348 2001-01-19 Gabriel Dos Reis <gdr@codesourcery.com>
6350 * testsuite/17_intro: Prepare testcases for new style DejaGnu
6353 2001-01-18 Gabriel Dos Reis <gdr@codesourcery.com>
6355 * testsuite/libstdc++.tests, testsuite/lib: New directories.
6357 2001-01-17 Loren J. Rittle <ljrittle@acm.org>
6359 * mkcheck.in: Construct file names that match $objdir structure.
6360 * testsuite/27_io/filebuf_members-1.txt: New file.
6361 * testsuite/27_io/ifstream_members-1.txt: New file.
6362 * testsuite/27_io/ostream_inserter_char-1.txt: New file.
6364 * testsuite/27_io/ios_base_members_static.cc (test02): Add test.
6365 * testsuite/27_io/ios_base_members_static-1.tst: Add expected output.
6367 2001-01-17 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
6369 * testsuite/27_io/istream_sentry.cc (test02): Fix.
6371 2001-01-17 Benjamin Kosnik <bkoz@redhat.com>
6374 * include/bits/ios_base.h (ios_base::failure): Tighten up throw specs.
6375 * src/ios.cc (ios_base::failure): Make definitions match.
6376 * libsupc++/typeinfo (class bad_typeid): Add throw specs.
6377 (class bad_cast): Same.
6378 * libsupc++/exception (class exception): Add throw specs.
6379 * libsupc++/exception_support.cc (set_terminate): Add throw specs.
6380 (set_unexpected): Same.
6381 (uncaught_exception): Same.
6384 * docs/html/17_intro/C++STYLE (classname): Fix.
6386 2001-01-16 Mark Mitchell <mark@codesourcery.com>
6388 * src/gen-num-limits.cc (INSTANTIATIONS): New macro.
6389 Use it do explicitly instantiate predicate<T> and value<T> for
6392 2001-01-16 Nathan Sidwell <nathan@codesourcery.com>
6394 * libsupc++/exception_support.cc (__cp_pop_exception): Fix
6395 uninitialized thinko in last change.
6397 2001-01-16 Mark Mitchell <mark@codesourcery.com>
6399 * libsupc++/exception_support.cc (__cp_pop_exception): Change
6402 2001-01-16 Benjamin Kosnik <bkoz@redhat.com>
6404 * docs/html/17_intro/C++STYLE (classname): Add more existing
6405 and stylish patterns.
6408 * include/bits/istream.tcc (istream::sentry::sentry()): Set
6409 failbit if the state of the stream is not good.
6410 * testsuite/27_io/istream_sentry.cc (test02): Add test.
6411 * testsuite/27_io/istream_manip.cc (test01): Modify.
6414 reported by Paolo Carlini <pcarlini@unitus.it>
6415 * include/bits/istream.tcc (operator>>(istream&, string&)): Fix.
6416 * testsuite/21_strings/inserters_extractors.cc (test08): Add test.
6419 * include/bits/std_streambuf.h (setp): Set _M_buf_size correctly.
6420 * include/bits/streambuf.tcc (xsputn): Remove outside if clause.
6421 (xsgetn): Same. Simplify.
6422 * testsuite/27_io/streambuf.cc (test04): Add testcases.
6424 reported by Larry Evans <jcampbell3@prodigy.net>
6425 * include/bits/streambuf.tcc (streambuf::xsputn): Just check for
6426 equality with eof on returned value from overflow.
6428 2001-01-14 Andreas Jaeger <aj@suse.de>
6430 * libio/libio.h: Add test for glibc 2.0.
6432 2001-01-12 Benjamin Kosnik <bkoz@redhat.com>
6434 * config/os/djgpp/bits/*: Fix dates.
6436 * include/bits/basic_string.h (_S_find(const _CharT* __beg, const
6437 _CharT* __end, _CharT __c): Remove.
6438 * include/bits/basic_string.tcc: Substitute traits::find for _S_find.
6439 * include/bits/char_traits.h: Tweak.
6441 2001-01-12 Laurynas Biveinis <lauras@softhome.net>
6443 * acinclude.m4 (GLIBCPP_CHECK_CTYPE_SUPPORT): check for DJGPP <ctype.h>
6444 (LIB_AC_PROG_CXX): replace [/\\] with [\\/] to work around older
6446 * aclocal.m4: regenerated.
6447 * configure.target: set os_include_dir to config/os/djgpp under DJGPP.
6448 * configure: regenerated.
6449 * config/os/djgpp, config/os/djgpp/bits: new directories.
6450 * config/os/djgpp/bits/ctype_base.h,
6451 config/os/djgpp/bits/ctype_inline.h,
6452 config/os/djgpp/bits/ctype_noninline.h,
6453 config/os/djgpp/bits/os_defines.h: new files.
6455 2001-01-11 Joseph S. Myers <jsm28@cam.ac.uk>
6457 * include/c_std/bits/std_cstdio.h: Undef printf.
6459 2001-01-10 Benjamin Kosnik <bkoz@redhat.com>
6461 * src/ios.cc: Fix typo: change cout->wcout.
6463 * src/Makefile.am (targetincludep): Fix for version-specific-libs.
6464 * src/Makefile.in: Regenerate.
6466 2001-01-10 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
6468 * include/bits/std_complex.h: Fix a typo.
6470 2001-01-09 Benjamin Kosnik <bkoz@redhat.com>
6473 Fixes for libstdc++/1576
6474 * src/stdstreams.cc: Initialize with NULL filebuf. Delete
6475 file, move contents into....
6476 * src/ios.cc: ...Here. Put defines for iostreams objects and
6477 initialization routines into one file to simplify DSO interaction.
6478 * include/bits/std_iostream.h: Touch.
6479 * include/bits/ios_base.h (_S_synched_with_stdio): Make static.
6480 * src/Makefile.am (sources): Remove stdstreams.cc.
6481 * src/Makefile.in: Regenerate.
6483 2001-01-10 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
6485 * tests_flags.in (check_directory): Fix typo.
6487 2001-01-09 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
6489 * include/bits/std_complex.h: Fix a typo.
6491 2001-01-09 Loren J. Rittle <ljrittle@acm.org>
6493 * config/os/bsd/freebsd/bits/ctype_inline.h (is): (Make right
6494 code path:) Remove magic constants and restructure to handle
6495 ctype.h bit mask layout changes more gracefully. (Make fast
6496 code path:) Use __maskrune (), if available.
6497 (is): Remove special case for digit and xdigit masks.
6499 2001-01-09 Robert Lipe <robertlipe@usa.net>
6501 * include/c_std/bits/std_ctime.h: Undefine difftime.
6503 2001-01-09 Alexandre Oliva <aoliva@redhat.com>
6505 * src/gen-num-limits.cc (signal_adapter): New template function.
6506 (signal_handler): Use it, instead of signal.
6507 (traps<T>): Likewise. Install SIGTRAP handler too. Don't
6508 require both tests to trap to set trap_flag.
6510 2001-01-08 Benjamin Kosnik <bkoz@redhat.com>
6512 * include/bits/fpos.h (fpos:::fpos(streamoff __pos)): Explicitly
6513 initialize mbstate_t member, name offset data members *off, not pos.
6514 * include/bits/fstream.tcc (filebuf::filebuf): Same.
6516 2001-01-08 Benjamin Kosnik <bkoz@redhat.com>
6518 reported by Chris G. Demetriou <cgd@sibyte.com>
6519 * configure.in: Change -linux-* to -linux*.
6520 * configure: Regenerate.
6522 2001-01-05 Benjamin Kosnik <bkoz@redhat.com>
6524 Fix 27_io/filebuf_members.cc
6525 * src/localename.cc (locale::_Impl::_Impl(const _Impl& __imp,
6526 const string& __name, category __cat, size_t __refs): Set
6527 _M_has_name with _M_name.
6528 * include/bits/localefwd.h (locale::operator!=): Protect member
6529 function call with this->.
6530 * src/locale.cc (locale::operator==): Make fast checks first.
6531 * include/bits/basic_ios.tcc (basic_ios::init): Simplify.
6533 * include/bits/ios_base.h (_M_synced_with_stdio): Add data member
6535 * src/ios.cc (ios_base::Init::Init): Initialize here.
6536 (ios_base::sync_with_stdio): Set here.
6538 2001-01-04 Loren J. Rittle <ljrittle@acm.org>
6540 * config/c_io_stdio.cc (__basic_file<_CharT>::sys_open()): On
6541 systems that support it, call dup() before fdopen().
6543 2001-01-03 Benjamin Kosnik <bkoz@redhat.com>
6545 * include/c_std/bits/std_cwctype.h: Include std_cwchar.h for wint_t.
6546 * testsuite/17_intro/header_cwctype.cc (main): New file.
6548 * src/Makefile.am (base_headers): Change.
6549 * include/bits/std_string.h: And here.
6550 * include/bits/string.tcc: Tweaks, move to...
6551 * include/bits/basic_string.tcc: ...Here.
6552 * src/string-inst.cc: Simplify, just instantiate the whole class,
6553 not member-by-member.
6555 2001-01-02 Benjamin Kosnik <bkoz@redhat.com>
6557 * acinclude.m4 (GLIBCPP_ENABLD_CSTDIO): Add in default value.
6558 * aclocal.m4: Regenerate.
6559 * configure: Regenerate.
6561 * include/bits/c++config (__GLIBCPP__): Bump version number.
6563 * ChangeLog: Start new log for year 2001
6564 * ChangeLog-2000: New file.
6566 * docs/html/configopts.html: Make sure default values are current,
6569 2001-01-01 Benjamin Kosnik <bkoz@fillmore.redhat.com>
6571 * include/c_std/bits/std_cwchar.h: Same.
6572 * testsuite/17_intro/header_cwchar.cc: Same.
6573 * include/c_std/bits/std_ctime.h: Same.
6574 * testsuite/17_intro/header_ctime.cc: Same.
6575 * include/c_std/bits/std_cstdlib.h: Same.
6576 Clean up undefs, make consistent with cwchar and cmath, etc.
6577 * testsuite/17_intro/header_cstdlib.cc: Same.
6578 * include/c_std/bits/std_cstdio.h: Same here.
6579 * testsuite/17_intro/header_cstring.cc: Same.
6580 * include/c_std/bits/std_cstring.h: Include std_cstddef.h for size_t.
6581 * testsuite/17_intro/header_cstring.cc: New file. Check for
6582 size_t in namespace std.
6584 * include/c_std/bits/std_cwchar.h: Explicit checks for mbstate_t.
6585 * acconfig.h (HAVE_MBSTATE_T): Add.
6586 * config.h.in: Regenerate.
6587 * acinclude.m4(GLIBCPP_CHECK_WCHAR_T_SUPPORT): Always test for
6589 * aclocal.m4: Regenerate.
6590 * configure: Regenerate.
6591 * testsuite/17_intro/headers_c++.cc: New file.
6592 * testsuite/17_intro/headers_c.cc: Small changes.
6594 2001-01-01 David Billinghurst <David.Billinghurst@riotinto.com>
6596 * tests_flags.in: Fix typo in usage.
6598 * tests_flags.in: Set target specific LIBS for cygwin.