1 2002-01-16 Benjamin Kosnik <bkoz@redhat.com>
2 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
4 * include/bits/stl_iterator.h (reverse_iterator::_M_current):
5 Deuglify, should be current.
6 (back_insert_iterator::_M_container): Deuglify, should be container.
7 (front_insert_iterator::_M_container): Same.
8 (insert_iterator::_M_container): Same.
9 * testsuite/24_iterators/reverse_iterator.cc: Add check.
10 * testsuite/24_iterators/back_insert_iterator.cc: Add check.
11 * testsuite/24_iterators/front_insert_iterator.cc: Same.
12 * testsuite/24_iterators/insert_iterator.cc: Same.
14 2002-01-16 Benjamin Kosnik <bkoz@redhat.com>
16 * include/bits/locale_facets.h (ctype<char>::classic_table): Make
18 (ctype<char>::_M_ctable): Make static, change name to _S_ctable.
19 * config/os/gnu-linux/bits/ctype_noninline.h: Define _S_ctable.
20 * config/os/solaris/solaris2.7/bits/ctype_noninline.h: Same.
21 * config/os/solaris/solaris2.6/bits/ctype_noninline.h: Same.
22 * config/os/solaris/solaris2.5/bits/ctype_noninline.h: Same.
23 * config/os/newlib/bits/ctype_noninline.h: Same.
24 * config/os/irix/irix6.5/bits/ctype_noninline.h: Same.
25 * config/os/irix/irix5.2/bits/ctype_noninline.h: Same.
26 * config/os/hpux/bits/ctype_noninline.h: Same.
27 * config/os/djgpp/bits/ctype_noninline.h: Same.
28 * config/os/bsd/netbsd/bits/ctype_noninline.h: Same.
29 * config/os/bsd/freebsd/bits/ctype_noninline.h: Same.
30 * config/os/aix/bits/ctype_noninline.h: Same.
32 Testcase by Dietmar Kühl via Peter Schmid
33 * testsuite/22_locale/ctype_members_char.cc (char>): Add test for
36 2002-01-16 Benjamin Kosnik <bkoz@redhat.com>
38 * libmath/signbitl.c: Copyright years as list, not range.
39 * libmath/Makefile.am: Same.
40 * libmath/Makefie.in: Regenerate.
41 * libmath/signbit.c: Same.
42 * libmath/nan.c: Same.
43 * libmath/copysignf.c: Same.
44 * libmath/signbitf.c: Same.
45 * testsuite/22_locale/money_get_members_char.cc: Same.
46 * testsuite/22_locale/money_get_members_wchar_t.cc: Same.
47 * testsuite/22_locale/money_put_members_char.cc: Same.
48 * testsuite/22_locale/money_put_members_wchar_t.cc: Same.
49 * testsuite/22_locale/time_get_members_char.cc: Same.
50 * testsuite/22_locale/time_get_members_wchar_t.cc: Same.
51 * testsuite/22_locale/time_put_members_char.cc: Same.
52 * testsuite/22_locale/time_put_members_wchar_t.cc: Same.
53 * testsuite/21_strings/nonmember.cc: Same.
54 * testsuite/21_strings/compare.cc: Same.
55 * testsuite/27_io/stringstream.cc: Same.
56 * testsuite/27_io/stringbuf.cc: Same.
57 * testsuite/27_io/filebuf.cc: Same.
58 * testsuite/27_io/ios_manip_basefield.cc: Same.
59 * testsuite/27_io/ios_manip_fmtflags.cc: Same.
60 * include/bits/cpp_type_traits.h: Same.
61 * include/bits/generic_shadow.h: Same.
62 * include/bits/gslice_array.h: Same.
63 * include/bits/gslice.h: Same.
64 * include/bits/indirect_array.h: Same.
65 * include/bits/slice_array.h: Same.
66 * include/bits/sstream.tcc: Same.
67 * include/bits/streambuf_iterator.h: Same.
68 * include/bits/valarray_array.tcc: Same.
69 * include/bits/valarray_meta.h: Same.
70 * include/bits/valarray_array.h: Same.
71 * config/os/mingw32/bits/ctype_noninline.h: Same.
72 * config/os/mingw32/bits/ctype_base.h: Same.
73 * config/os/hpux/bits/ctype_noninline.h: Same.
74 * config/os/hpux/bits/ctype_base.h: Same.
75 * config/os/gnu-linux/bits/ctype_noninline.h: Same.
76 * config/os/gnu-linux/bits/ctype_base.h: Same.
77 * config/os/generic/bits/ctype_noninline.h: Same.
78 * config/os/generic/bits/ctype_base.h: Same.
80 * libsupc++/tinfo.h: Tweaks.
82 2002-01-15 Benjamin Kosnik <bkoz@redhat.com>
84 * testsuite/22_locale/num_put_members_wchar_t.cc (test02): Same.
85 * testsuite/22_locale/num_put_members_char.cc (test01): Tweak.
86 * testsuite/22_locale/ctype_members_char.cc: Tweak.
88 2002-01-15 Benjamin Kosnik <bkoz@redhat.com>
90 * include/bits/locale_facets.tcc (num_put::do_put(bool): Fix.
91 (num_put::do_put(void*)): Fix.
92 * testsuite/22_locale/num_put_members_char.cc (test02): Add.
93 * testsuite/22_locale/num_put_members_wchar_t.cc (test02): Add.
94 * testsuite/22_locale/num_get_members_char.cc (test02): Add
95 long double, void, bool types.
96 * testsuite/22_locale/num_get_members_wchar_t.cc (test02): Add.
98 2002-01-15 Benjamin Kosnik <bkoz@redhat.com>
99 Alexandre Oliva <aoliva@redhat.com>
101 * libmath/Makefile.am (LINK): Add --tag CC.
102 * libmath/Makefile.in: Regenerate.
104 2002-01-15 John David Anglin <dave@hiauly1.hia.nrc.ca>
106 * config/os/hpux/bits/ctype_noninline.h: Use __SB_masks for address
107 of character to attribute mapping table.
109 2002-01-15 David Billinghurst <David.Billinghurst@riotinto.com>
111 * testsuite/26_numerics/c99_classification_macros_c.cc
112 Remove dg-error and dg-excess-errors comments.
114 2002-01-14 Benjamin Kosnik <bkoz@redhat.com>
116 * include/bits/locale_facets.tcc (time_put::put): Correct output
118 * testsuite/22_locale/time_put_members_char.cc (test02): Add.
119 * testsuite/22_locale/time_put_members_wchar_t.cc (test02): Add.
120 * testsuite/22_locale/time_get_members_wchar_t.cc (test06): Add.
121 * testsuite/22_locale/time_get_members_char.cc (test06): Add.
123 2002-01-14 Craig Rodrigues <rodrigc@gcc.gnu.org>
125 * docs/html/17_intro/porting-howto.xml: Update filebuf section.
127 2002-01-14 Paolo Carlini <pcarlini@unitus.it>
128 Nathan Myers <ncm@cantrip.org>
130 * include/bits/basic_string.h
131 (replace(__pos, __n1, __s, __n2)): Optimize by avoiding
132 temporaries (i.e., call _M_replace_safe) when possible.
133 (replace(__pos, __n, __str)): Call replace(__pos, __n1, __s, __n2).
134 (replace(__pos, __n1, __s)): Call replace(__pos, __n1, __s , __n2).
135 (replace(__i1, __i2, __str)): Call replace(__i1, __i2, __s, __n).
136 (replace(__i1, __i2, __s)): Call replace(__i1, __i2, __s, __n).
137 (replace(__i1, __i2, __s, __n)): Call replace(__pos1, __n1, __s, __n2).
138 * include/bits/basic_string.tcc
139 (replace(__pos1, __n1, __str, __pos2, __n2)): Call
140 replace(__pos, __n1, __s, __n2).
141 * testsuite/21_strings/replace.cc (test03): New testcases.
143 * include/bits/basic_string.h (insert(__pos, __s, __n)):
144 Adjust comparison wrt overflow.
146 2002-01-12 Benjamin Kosnik <bkoz@redhat.com>
148 * include/Makefile.am (std_headers_rename): New variable.
149 (install-data-local): Use it.
150 * include/Makefile.in: Regenerate.
152 2002-01-12 Benjamin Kosnik <bkoz@redhat.com>
154 * include/bits/locale_facets.tcc (money_put::do_put(string):
155 Correct output iterator value.
156 * testsuite/22_locale/money_put_members_char.cc (test03): Add.
157 * testsuite/22_locale/money_put_members_wchar_t.cc: Same.
159 2002-01-11 Phil Edwards <pme@gcc.gnu.org>
161 * include/Makefile.am, include/Makefile.in (stamp-std): Fix typo from
164 2002-01-11 Phil Edwards <pme@gcc.gnu.org>
166 * include/Makefile.am (std_headers): Update list with new names.
167 (stamp-std): Link to standardized name.
168 * include/Makefile.in: Regenerate.
170 * include/std/algorithm, include/std/bitset, include/std/complex,
171 include/std/deque, include/std/fstream, include/std/functional,
172 include/std/iomanip, include/std/ios, include/std/iosfwd,
173 include/std/iostream, include/std/istream, include/std/iterator,
174 include/std/limits, include/std/list, include/std/locale,
175 include/std/map, include/std/memory, include/std/numeric,
176 include/std/ostream, include/std/queue, include/std/set,
177 include/std/sstream, include/std/stack, include/std/stdexcept,
178 include/std/streambuf, include/std/string, include/std/utility,
179 include/std/valarray, include/std/vector: Rename to...
181 * include/std/std_algorithm.h, include/std/std_bitset.h,
182 include/std/std_complex.h, include/std/std_deque.h,
183 include/std/std_fstream.h, include/std/std_functional.h,
184 include/std/std_iomanip.h, include/std/std_ios.h,
185 include/std/std_iosfwd.h, include/std/std_iostream.h,
186 include/std/std_istream.h, include/std/std_iterator.h,
187 include/std/std_limits.h, include/std/std_list.h,
188 include/std/std_locale.h, include/std/std_map.h,
189 include/std/std_memory.h, include/std/std_numeric.h,
190 include/std/std_ostream.h, include/std/std_queue.h,
191 include/std/std_set.h, include/std/std_sstream.h,
192 include/std/std_stack.h, include/std/std_stdexcept.h,
193 include/std/std_streambuf.h, include/std/std_string.h,
194 include/std/std_utility.h, include/std/std_valarray.h,
195 include/std/std_vector.h: ...this.
197 2002-01-11 Loren Rittle <ljrittle@acm.org>
199 * include/Makefile.am (extra_target_headers): New list of all
200 target files built with ad hoc naming rules.
201 (stamp-*): Handle LN_S failure in manner portable across make
203 (install-data-local): Install header files from human-maintained
204 file lists and directory components instead of non-robust find.
205 * include/Makefile.in: Rebuilt.
207 2002-01-11 Benjamin Kosnik <bkoz@redhat.com>
209 * include/bits/locale_facets.tcc (money_get::do_get(string)):
210 Check for zero-length negative sign before adding it to output
212 (money_get::do_get(long double)): Return beg.
213 * testsuite/22_locale/money_get_members_char.cc (test02): Add
215 * testsuite/22_locale/money_get_members_wchar_t.cc: Same.
217 2002-01-10 David Seymour <seymour_dj@yahoo.com>
220 * include/bits/locale_facets.h (num_get<>): Return advanced iterator
221 for _M_extract_float and _M_extract_int
222 * include/bits/locale_facets.tcc (num_get<>::_M_extract_float)
223 (num_get<>::_M_extract_int): Likewise, all callers changed
224 * testsuite/22_locale/num_get_members_char.cc: Testcase
226 2002-01-09 Paolo Carlini <pcarlini@unitus.it>
228 * libsupc++/exception (bad_exception): Add comment.
229 * libsupc++/new (bad_alloc): Same.
230 * libsupc++/typeinfo (bad_cast, bad_typeid): Same.
232 2002-01-09 Paolo Carlini <pcarlini@unitus.it>
234 libstdc++/3150: revert 2001-11-30 commit. DR266 only means
235 that the destructors should be removed from the descriptions
236 in the standard: writing them explicitly allows the vtable
237 heuristic to work. For additional information see:
238 http://gcc.gnu.org/ml/libstdc++/2002-01/msg00090.html
239 http://gcc.gnu.org/ml/libstdc++/2002-01/msg00110.html
240 http://gcc.gnu.org/ml/libstdc++/2002-01/msg00155.html
241 * libsupc++/exception (bad_exception::~bad_exception()):
242 Reintroduce declaration.
243 * libsupc++/new (bad_alloc::~bad_alloc()): Same.
244 * libsupc++/typeinfo (bad_cast::~bad_cast()): Same.
245 (bad_typeid::~bad_typeid()): Same.
246 * libsupc++/eh_exception.cc (bad_exception::~bad_exception()):
247 Reintroduce definition.
248 * libsupc++/new_handler.cc (bad_alloc::~bad_alloc()): Same.
249 * libsupc++/tinfo.cc (bad_cast::~bad_cast()): Same.
250 (bad_typeid::~bad_typeid()): Same.
252 2002-01-09 Benjamin Kosnik <bkoz@redhat.com>
254 * include/Makefile.am (c_base_srcdir): Remove duplicate '/'.
255 * include/Makefile.in: Regenerate.
257 2002-01-09 Bo Thorsen <bo@suse.co.uk>
259 * config/cpu/x86-64/bits/cpu_limits.h (__glibcpp_long_bits): Add
262 2002-01-08 Benjamin Kosnik <bkoz@redhat.com>
266 * include/bits/fstream.tcc (filebuf::_M_really_overflow): Test
267 return value of _M_file->sync().
268 (filebuf::showmanyc): Check for is_open.
269 * include/std/fstream (filebuf::sync): Tweak.
270 * testsuite/27_io/filebuf.cc: Tweak.
272 2002-01-08 John Fardo <jfardo@laurelnetworks.com>
273 Brad Garcia <garsh@attbi.com>
275 * testsuite/27_io/filebuf_members.cc: Add test.
277 2002-01-07 Benjamin Kosnik <bkoz@redhat.com>
278 Craig Rodrigues <rodrigc@mediaone.net>
281 * po/Makefile.am (mkinstalldirs): Add.
282 * po/Makefile.in: Regenerate.
284 2002-01-07 David Billinghurst <David.Billinghurst@riotinto.com>
286 * testsuite_flags.in: Add -fmessage-length=0 to CXXFLAGS *
287 testsuite/lib/prune.exp: Delete lines ":In function ..." from
289 * testsuite/23_containers/map_operators.cc: Remove
290 dg-excess-errors comment.
291 * testsuite/23_containers/set_operators.cc: Likewise.
293 2002-01-06 Paolo Carlini <pcarlini@unitus.it>
295 * include/bits/stl_function.h: Remove two lines of comments;
296 adjust copyright years.
298 2002-01-04 Benjamin Kosnik <bkoz@redhat.com>
300 * include/Makefile.am (std_headers): Remove cXXX from list.
301 (c_base_srcdir): No bits subdirectory.
302 (c_base_builddir): Same.
303 (c_base_headers): Adjust names, add ciso646.
304 (bits_headers): Remove std_xxx.h headers.
305 * include/Makefile.in: Regenerate.
307 * include/ext/iterator: Adjust includes.
308 * include/ext/ropeimpl.h: Same.
309 * include/ext/stl_hash_fun.h: Same.
310 * include/ext/algorithm: Same.
312 * include/backward/bvector.h: Adjust includes.
313 * include/backward/vector.h: Same.
314 * include/backward/strstream: Same.
315 * include/backward/streambuf.h: Same.
316 * include/backward/stack.h: Same.
317 * include/backward/set.h: Same.
318 * include/backward/queue.h: Same.
319 * include/backward/multiset.h: Same.
320 * include/backward/multimap.h: Same.
321 * include/backward/map.h: Same.
322 * include/backward/list.h: Same.
323 * include/backward/iterator.h: Same.
324 * include/backward/iostream.h: Same.
325 * include/backward/iomanip.h: Same.
326 * include/backward/fstream.h: Same.
327 * include/backward/deque.h: Same.
328 * include/backward/complex.h: Same.
330 * include/bits/std_algorithm.h: Move to...
331 * include/std/algorithm: ...here.
332 * include/bits/std_iosfwd.h, std_locale.h, std_stack.h,
333 std_bitset.h, std_ios.h, std_map.h, std_stdexcept.h,
334 std_complex.h, std_iostream.h, std_memory.h, std_streambuf.h,
335 std_deque.h, std_istream.h, std_numeric.h, std_string.h,
336 std_fstream.h, std_ostream.h, std_utility.h, std_iterator.h,
337 std_queue.h, std_valarray.h, std_functional.h, std_limits.h,
338 std_set.h, std_vector.h, std_iomanip.h, std_list.h, std_sstream.h:
341 * include/c_std/bits/std_cassert.h: Move to...
342 * include/c_std/cassert: Here.
343 * include/c_std/std_cctype.h, std_cerrno.h, std_cfloat.h,
344 std_climits.h, std_clocale.h, std_cmath.h, std_csetjmp.h,
345 std_csignal.h, std_cstdarg.h, std_cstddef.h, std_cstdio.h,
346 std_cstdlib.h, std_cstring.h, std_ctime.h, std_cwchar.h,
348 * include/c_std/cmath: Adjust cmath.tcc include.
349 * include/c_std/cstdlib: Adjust includes.
350 * include/c_std/cwchar: Same.
351 * include/c_std/ctime: Same.
352 * include/c_std/cstring: Same.
353 * include/c_std/cstdio: Same.
354 * include/c_std/bits: Remove directory.
356 * include/c/bits/std_cassert.h: Move to...
357 * include/c/cassert: Here.
358 * include/c/std_cctype.h, std_cerrno.h, std_cfloat.h,
359 std_climits.h, std_clocale.h, std_cmath.h, std_csetjmp.h,
360 std_csignal.h, std_cstdarg.h, std_cstddef.h, std_cstdio.h,
361 std_cstdlib.h, std_cstring.h, std_ctime.h, std_cwchar.h,
363 * include/c/bits: Remove directory.
365 * include/std/cwctype: Remove.
366 * include/std/cwchar: Remove.
367 * include/std/ctime: Remove.
368 * include/std/cstring: Remove.
369 * include/std/cstdlib: Remove.
370 * include/std/cstdio: Remove.
371 * include/std/cstddef: Remove.
372 * include/std/cstdarg: Remove.
373 * include/std/csignal: Remove.
374 * include/std/csetjmp: Remove.
375 * include/std/cmath: Remove.
376 * include/std/clocale: Remove.
377 * include/std/climits: Remove.
378 * include/std/ciso646: Remove.
379 * include/std/cfloat: Remove.
380 * include/std/cerrno: Remove.
381 * include/std/cctype: Remove.
382 * include/std/cassert: Remove.
384 * include/bits/fpos.h: Adjust includes, removing <bits/std_xxx.h>
385 files and subsituting <.xxx>
386 * include/bits/valarray_array.h: Same.
387 * include/bits/stl_uninitialized.h: Same.
388 * include/bits/stl_alloc.h: Same.
389 * include/bits/stl_algobase.h: Same.
390 * include/bits/sstream.tcc: Same.
391 * include/bits/pthread_allocimpl.h: Same.
392 * include/bits/ostream.tcc: Same.
393 * include/bits/localefwd.h: Same.
394 * include/bits/locale_facets.tcc: Same.
395 * include/bits/locale_facets.h: Same.
396 * include/bits/istream.tcc: Same.
397 * include/bits/char_traits.h: Same.
398 * include/bits/boost_concept_check.h: Same.
399 * include/bits/basic_file.h: Same.
400 * include/std/bitset: Same.
401 * include/std/complex: Same.
402 * include/std/fstream: Same.
403 * include/std/functional: Same.
404 * include/std/ios: Same.
405 * include/std/iostream: Same.
406 * include/std/ostream: Same.
407 * include/std/sstream: Same.
408 * include/std/streambuf: Same.
409 * include/std/string: Same.
410 * include/std/iterator: Same.
411 * include/std/valarray: Same.
413 * src/ios.cc: Adjust includes.
414 * src/valarray-inst.cc: Same.
415 * src/string-inst.cc: Same.
416 * src/stl-inst.cc: Same.
417 * src/stdexcept.cc: Same.
418 * src/misc-inst.cc: Same.
419 * src/localename.cc: Same.
420 * src/locale-inst.cc: Same.
421 * src/locale.cc: Same.
422 * src/limits.cc: Same.
423 * src/concept-inst.cc: Same.
424 * src/complex_io.cc: Same.
425 * src/codecvt.cc: Same.
426 * src/bitset.cc: Same.
427 * src/cmath.cc: Same.
429 2002-01-04 Paolo Carlini <pcarlini@unitus.it>
431 * include/bits/stl_tree.h (rb_tree): Move to...
432 * include/ext/rb_tree: ...here, new file.
433 * include/Makefile.am (ext_headers): Add new file.
434 * include/Makefile.in: Regenerate.
435 * include/bits/stl_tempbuf.h (get_temporary_buffer + helper,
436 return_temporary_buffer, struct temporary_buffer): Move to...
437 * include/ext/memory: ...here.
438 * testsuite/ext/headers.cc: Include <ext/rb_tree>.
439 * include/backward/tempbuf.h: Include <ext/memory>, tweak.
440 * include/backward/tree.h: Include <ext/rb_tree), tweak.
442 2002-01-03 Paolo Carlini <pcarlini@unitus.it>
444 * include/bits/stl_numeric.h (power + helpers, iota): Move to...
445 * include/ext/numeric: ...here, new file.
446 * include/bits/stl_function.h (identity_element, unary_compose,
447 binary_compose, compose1, compose2, identity, select1st,
448 select2nd, project1st + helper, project2nd + helper,
449 constant_void_fun + helper, constant_unary_fun + helper,
450 costant_binary_fun + helper, constant0, constant1, constant2,
451 subtractive_rng, mem_fun1, mem_fun1_ref): Move to...
452 * include/ext/functional: ...here, new file.
453 * include/Makefile.am (ext_headers): Add new files.
454 * include/Makefile.in: Regenerate.
455 * testsuite/ext/headers.cc: Include <ext/numeric> and
457 * include/backward/algo.h: Include <ext/numeric>, tweak.
458 * include/backward/function.h: Include <ext/functional>, tweak.
459 * include/ext/ropeimpl.h: Include <ext/numeric>.
461 2002-01-03 Jeffrey A Law <law@redhat.com>
463 * config/os/hpux/bits/os_defines.h: Prefix __strtoll and
464 __strtoull declarations with __extension__.
466 2002-01-03 David Billinghurst <David.Billinghurst@riotinto.com>
468 * testsuite/lib/prune.exp: Correct regular expression for
471 2002-01-02 Phil Edwards <pme@gcc.gnu.org>
473 * include/bits/stl_algo.h (upper_bound, equal_range, binary_search):
474 Change concept checks, as with lower_bound and PR 2054.
475 * testsuite/ext/concept_checks.cc: Expand test to include those.
477 2002-01-02 Phil Edwards <pme@gcc.gnu.org>
479 * include/bits/boost_concept_check.h: Import some changes from
480 upsteam (Boost) version.
482 2002-01-02 Paolo Carlini <pcarlini@unitus.it>
484 * include/bits/stl_algobase.h (copy_n + helpers,
485 lexicographical_compare_3way + helpers): Move to...
486 * include/ext/algorithm: ...here.
487 * include/bits/stl_uninitialized.h (uninitialized_copy_n +
489 * include/ext/memory: ...here, new file.
490 * include/Makefile.am (ext_headers): Add new file.
491 * include/Makefile.in: Regenerate.
492 * testsuite/ext/headers.cc: Include <ext/memory>.
493 * include/backward/algobase.h: Include <ext/memory> and
494 <ext/algorithm>, tweak.
495 * include/ext/ropeimpl.h: Include <ext/memory>, tweak.
496 * include/ext/stl_rope.h: Include <ext/memory>, tweak.
498 2002-01-01 Roger Sayle <roger@eyesopen.com>
500 * libmath/stubs.c (sinf,cosf): Implement stubs to enable the
501 equivalent ___builtin__ versions.
503 * include/c_shadow/bits/std_cmath.h: All __builtin math functions
504 are available in libstdc++ as the necessary stub implementations
505 are provided by libmath/stubs.c.
507 2002-01-01 Jason Thorpe <thorpej@wasabisystems.com>
509 * configure.in: Add support for NetBSD cross compiles.
510 * configure: Regenerate.
512 2001-12-31 Paolo Carlini <pcarlini@unitus.it>
514 * include/ext/iterator: Add #include <bits/std_iterator.h>, tweak.
515 * testsuite/ext/headers.cc: Add <ext/iterator>.
517 2001-12-31 Paolo Carlini <pcarlini@unitus.it>
519 * include/backward/algo.h: Add two more using declarations.
520 * include/backward/iterator.h: Include <ext/iterator>,
521 add using declaration.
522 * include/ext/algorithm: Add #pragma GCC system_header.
524 2001-12-31 Phil Edwards <pme@gcc.gnu.org>
526 * include/bits/stl_bvector.h: Change calls to 3-argument distance()
527 into standard 2-argument version.
528 * include/bits/stl_deque.h: Likewise.
529 * include/bits/stl_tempbuf.h: Likewise.
530 * include/bits/stl_tree.h: Likewise.
531 * include/bits/stl_vector.h: Likewise.
532 * include/ext/stl_hashtable.h: Likewise.
533 * include/bits/stl_iterator_base_funcs.h: Move distance() extension...
534 * include/ext/iterator: to here. New file.
535 * include/Makefile.am (ext_headers): Add new file, alphabatize.
536 * include/Makefile.in: Regenerate.
538 2001-12-31 Phil Edwards <pme@gcc.gnu.org>
540 * include/bits/stl_deque.h: Doxygenate with initial/example hooks.
541 Clean up spacing and indentation.
543 2001-12-31 Paolo Carlini <pcarlini@unitus.it>
545 * include/ext/slist: Move into __gnu_cxx,
546 tweak, add using declarations.
548 2001-12-31 Paolo Carlini <pcarlini@unitus.it>
550 * include/ext/hash_map: Move into __gnu_cxx,
551 tweak, add using declarations.
552 * include/ext/hash_set: Ditto.
553 * include/ext/ropeimpl.h: Ditto.
554 * include/ext/stl_hash_fun.h: Ditto.
555 * include/ext/stl_hashtable.h: Ditto.
556 * include/ext/stl_rope.h: Ditto.
557 * src/ext-inst.cc: Tweak.
558 * testsuite/ext/rope.cc: Tweak.
560 2001-12-31 Paolo Carlini <pcarlini@unitus.it>
562 * include/backward/algo.h: Include <ext/algorithm>,
563 tweak using declarations.
565 2001-12-29 Richard Henderson <rth@redhat.com>
567 * config/os/hpux/bits/os_defines.h: Don't define __glibcpp_long_bits.
568 * config/os/hpux/bits/cpu_limits.h: New file.
569 * configure.target (CPULIMITSH): Use it.
571 2001-12-28 Richard Henderson <rth@redhat.com>
573 * config/cpu/ia64/bits/cpu_limits.h: New file.
574 * config/os/osf/osf5.0/bits/cpu_limits.h: New file.
575 * configure.target (CPULIMITSH): Use them.
577 2001-12-28 Phil Edwards <pme@gcc.gnu.org>
579 * include/bits/c++config: Move doxygen hook comment...
580 * docs/doxygen/doxygroups.cc: ...to here.
582 2001-12-28 Phil Edwards <pme@gcc.gnu.org>
585 * include/bits/stl_algo.h (lower_bound): Relax concept checks.
586 * testsuite/ext/concept_checks.cc: New file.
588 2001-12-28 Paolo Carlini <pcarlini@unitus.it>
590 * include/bits/stl_algo.h (count returning void,
591 count_if returning void, __random_sample, random_sample,
592 random_sample_n, __is_heap, is_heap, is_sorted): Move to...
593 * include/ext/algorithm: ...here, new file.
594 * include/Makefile.am (ext_headers): Add new file.
595 * include/Makefile.in: Regenerate.
596 * testsuite/ext/headers.cc: Include <ext/algorithm>.
598 2001-12-28 Paolo Carlini <pcarlini@unitus.it>
599 Nathan Myers <ncm@cantrip.org>
601 * include/bits/basic_string.h (insert(__pos, __s, __n)):
602 Optimize by avoiding temporaries and working in-place when possible.
603 (insert(__pos1, __str)): Call insert(__pos1, __str, __pos2, __n).
604 (insert(__pos1, __str, __pos2, __n)): Call insert(__pos, __s, __n).
605 * testsuite/21_strings/insert.cc (test02): New testcases.
607 2001-12-27 Phil Edwards <pme@gcc.gnu.org>
609 * testsuite/testsuite_hooks.h (gnu_counting_struct): Add.
610 * testsuite/23_containers/deque_ctor.cc: New file.
612 2001-12-27 Paolo Carlini <pcarlini@unitus.it>
614 * include/bits/locale_facets.tcc (collate::do_transform):
615 Adjust implicit typename.
616 * config/locale/messages_members_generic.h (messages::open,
617 messages::do_open, messages::do_get): Adjust implicit typename.
618 * config/locale/messages_members_gnu.h (messages::open,
619 messages::do_open, messages::do_get): Adjust Implicit typename.
620 * config/locale/messages_members_ieee_1003.1-200x.h (messages::open,
621 messages::do_open, messages::do_get): Adjust implicit typename.
623 2001-12-27 Phil Edwards <pme@gcc.gnu.org>
626 * src/misc-inst.cc: Many additional I/O-related instantiations.
627 * testsuite/27_io/instantiations.cc: New file.
629 2001-12-26 Benjamin Kosnik <bkoz@waller.constant.com>
631 * testsuite/24_iterators/insert_iterator.cc (test02): Add.
632 * testsuite/24_iterators/front_insert_iterator.cc (test02): Add.
633 * testsuite/24_iterators/back_insert_iterator.cc (test02): Add.
634 * testsuite/24_iterators/reverse_iterator.cc (test02): Add.
636 * include/bits/stl_iterator.h (reverse_iterator): Uglify member
637 current to _M_current.
638 (back_insert_iterator): Uglify member container to _M_container.
639 (front_insert_iterator): Same.
640 (insert_iterator): Same.
642 2001-12-25 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
644 * include/bits/std_limits.h (__glibcpp_xxx_is_modulo): New
645 macros for signed types; default value is true.
646 (numeric_limits<>::is_modulo): Get value from corresponding
647 __glibcpp_xxx_is_modulo macro.
649 2001-12-23 Jeffrey A Law <law@redhat.com>
651 * config/os/hpux/bits/os_defines.h: Do not include <_sys/inttypes.h>.
652 Twiddle return types for strtoll and strtoull to avoid using
653 intmax_t and uintmax-t.
655 2001-12-22 Richard Henderson <rth@redhat.com>
657 * configure.target (CPULIMITSH): Fix typo in alpha case.
659 2001-12-22 Jeffrey A Law <law@redhat.com>
661 * config/os/hpux/bits/os_defines.h: Update to avoid #defines
662 for strtoll and strtoull.
664 2001-12-21 Jeffrey A Law <law@redhat.com>
666 * config/os/hpux/bits/os_defines.h: Include <sys/_inttypes.h.
667 Define strtoll and strtoull. Provide prototypes for
668 __strtoll and __strtoull. Define _GLIBCPP_USE_LONG_LONG
671 * src/locale-inst.cc: Include <bits/std_cstdlib.h>
673 * configure.target: Fix typo in hpux case.
675 2001-12-21 Paolo Carlini <pcarlini@unitus.it>
677 * include/ext/stl_rope.h (_Rope_iterator):
678 Add local typedef to fix implicit typename problems.
680 2001-12-19 Phil Edwards <pme@gcc.gnu.org>
682 * docs/doxygen/Intro.3: New 'Allocators' module.
683 * docs/doxygen/TODO: Update.
684 * docs/doxygen/doxygroups.cc: Update.
685 * docs/doxygen/run_doxygen: Update.
687 * include/bits/stl_alloc.h: Tweak doxygen hooks in comments.
688 * include/bits/std_memory.h: Doxygenate.
689 * include/bits/stl_iterator_base_types.h: Likewise.
690 * include/bits/stl_raw_storage_iter.h: Likewise.
691 * include/bits/stl_tempbuf.h: Likewise.
692 (get_temporary_buffer): Remove unused nonstandard overload.
693 * include/bits/stl_uninitialized.h: Likewise.
695 * include/bits/stl_iterator_base_types.h (input_iterator,
696 output_iterator, forward_iterator, bidirectional_iterator,
697 random_access_iterator): Move old names...
698 * include/backward/iterator.h: ...to here.
699 * include/bits/stl_bvector.h: Update.
700 * include/ext/stl_rope.h: Update.
702 2001-12-19 Phil Edwards <pme@gcc.gnu.org>
704 * docs/html/configopts.html: Describe recent options.
705 * docs/html/documentation.html: Point to new doxygen tarballs.
706 * docs/html/install.html: Brief updates.
707 * docs/html/17_intro/RELEASE-NOTES: Remove weird control character.
708 * docs/html/ext/howto.html: Fix typos, describe filebuf::fd().
709 * docs/html/faq/index.html: Update for 3.0.95.
710 * docs/html/faq/index.txt: Regenerate.
712 2001-12-19 David Billinghurst <David.Billinghurst@riotinto.com>
715 * testsuite/lib/libstdc++-v3-dg.exp: Append .exe to
718 2001-12-18 Benjamin Kosnik <bkoz@redhat.com>
720 * docs/html/17_intro/TODO: Update.
721 * docs/html/17_intro/RELEASE-NOTES: Edits, update.
722 * README: Edit for clarity, update to reflect current directory
725 2001-12-18 Benjamin Kosnik <bkoz@redhat.com>
727 * acinclude.m4 (GLIBCPP_ENABLE_CLOCALE): Extended checking before
729 * aclocal.m4: Rebuild.
730 * configure: Rebuild.
732 2001-12-18 Paolo Carlini <pcarlini@unitus.it>
733 Nathan Myers <ncm@cantrip.org>
735 * include/bits/basic_string.h (assign(__str, __pos, __n)):
736 Call assign(__s, __n).
737 (assign(__s, __n)): Terminate the string with _S_terminal.
739 2001-12-17 Benjamin Kosnik <bkoz@redhat.com>
741 * include/bits/std_limits.h (__glibcpp_long_double_is_bounded):
742 Set to true, like float and double.
744 2001-12-17 David Billinghurst <David.Billinghurst@riotinto.com>
747 * testsuite/lib/prune.exp: New file
748 * testsuite/lib/libstdc++-v3-dg.exp: Use it
750 2001-12-17 Phil Edwards <pme@gcc.gnu.org>
752 * include/bits/basic_file.h (__basic_file::fd): New function.
753 * config/io/basic_file_stdio.h (__basic_file::fd): Define.
754 * include/bits/std_fstream.h (basic_filebuf::fd): New function.
755 * include/bits/fstream.tcc (basic_filebuf::fd): Define.
756 * testsuite/27_io/filebuf_members.cc (test_02): New test.
758 2001-12-16 Nathan Sidwell <nathan@codesourcery.com>
760 * po/Makefile.am (.po.mo): Use POSIXLY_CORRECT argument ordering.
761 * po/Makefile.in: Regenerated.
763 2001-12-16 Paolo Carlini <pcarlini@unitus.it>
765 * testsuite/21_strings/assign.cc (test01): Add tests.
767 2001-12-15 Paolo Carlini <pcarlini@unitus.it>
768 Nathan Myers <ncm@cantrip.org>
770 * include/bits/basic_string.h
771 (assign(__str, __pos, __n), assign(__s, __n)): Optimize
772 by avoiding unnecessary temporaries.
773 (assign(__s)): Call assign(__s, __n).
774 * include/bits/basic_string.tcc (_M_replace_safe): Adjust comment.
775 * include/bits/std_string.h: include stl_function.h.
776 * testsuite/21_strings/assign.cc (test02, test03): New tests.
778 2001-12-15 Benjamin Kosnik <bkoz@redhat.com>
780 * acinclude.m4 (GLIBCPP_ENABLE_CLOCALE): Enable gnu locale model
782 * aclocal.m4: Regenerate.
783 * configure: Regenerate.
785 2001-12-14 Benjamin Kosnik <bkoz@redhat.com>
787 Clean up initialization and simplfy caching of underlying "C"
788 default locale objects.
789 * src/localename.cc (locale::_Impl::_Impl(string, size_t):
790 Unconditionally create __clocale object for all named locales,
791 including "C" and "POSIX".
792 * config/locale/c_locale_generic.cc
793 (locale::facet::_S_create_c_locale): Always set __cloc to zero.
794 * config/locale/c_locale_gnu.cc: Always delete.
795 * include/bits/localefwd.h (locale::facet::_S_c_locale): New.
796 * src/locale.cc (locale::classic()): Initialize
797 locale::facet::_S_c_locale.
798 (locale::facet::_S_c_locale): Define.
800 * include/bits/locale_facets.h: Add ctype_byname<wchar_t> ctor
802 * src/locale.cc: Add definition here.
803 * config/os/gnu-linux/bits/ctype_inline.h: Tweak.
804 * config/os/gnu-linux/bits/ctype_noninline.h: Adjust initializations.
805 * include/bits/locale_facets.h (ctype<char>::_M_c_locale_ctype): Add.
807 (ctype<char>::_M_toupper): Remove const&.
808 (ctype<char>::_M_tolower): Remove const&.
809 (ctype<char>::_M_ctable): Remove const&.
811 * include/bits/locale_facets.h (collate): Clean up initialization
812 of _M_c_locale_collate in ctors and dtors.
813 * config/locale/collate_members_gnu.cc: Always use extended
816 * include/bits/locale_facets.h (messages): Clean up inits in ctor/dtor.
817 (messages_byname): Same.
818 * config/locale/messages_members_generic.h (messages::~messages):
820 * config/locale/messages_members_gnu.h: Same.
822 * include/bits/localefwd.h: Clean. Move dtor definitions to
823 * src/locale.cc: Here.
824 * testsuite/22_locale/facet.cc: Fix spelling.
826 Named locale support for ctype<wchar_t>.
827 * acinclude.m4 (GLIBCPP_ENABLE_CLOCALE): Add variable
828 ctype_members_* bits.
829 * aclocal.m4: Regenerate.
830 * configure: Regenerate.
831 * src/Makefile.am (sources): Add ctype.cc.
832 * src/Makefile.in: Regenerate.
833 * config/locale/ctype_members_generic.cc: New file.
834 * config/locale/ctype_members_gnu.cc: New file.
835 * src/locale.cc: Remove ctype<wchart_t> definitions.
837 2001-12-13 Roger Sayle <roger@eyesopen.com>
839 * acconfig.h: Test for __builtin_sqrt instead of
841 * acinclude.m4: Same.
842 * include/c_shadow/bits/std_cmath.h: Same.
843 * aclocal.m4: Regenerated.
844 * config.h.in: Regenerated.
845 * configure: Regenerated.
847 2001-12-13 Phil Edwards <pme@gcc.gnu.org>
849 * docs/html/ext/howto.html: Fix typos.
851 2001-12-13 Benjamin Kosnik <bkoz@redhat.com>
854 * src/locale.cc (locale::locale(const char*)): Deal with locales
856 * testsuite/22_locale/ctor_copy_dtor.cc (test01): Modify.
858 2001-12-12 Paolo Carlini <pcarlini@unitus.it>
860 * include/ext/ropeimpl.h (rope::_S_leaf_concat_char_iter,
861 _S_destr_leaf_concat_char_iter, _S_tree_concat, _S_concat_char_iter,
862 _S_destr_concat_char_iter, _S_concat, _S_substring, _S_balance)
863 : Adjust implicit typename.
864 * include/ext/stl_rope.h (_Rope_iterator::operator=, rope::npos):
865 Adjust implicit typename.
866 * testsuite/27_io/streambuf.cc: Adjust implicit typename.
868 2001-12-12 Benjamin Kosnik <bkoz@redhat.com>
870 Named locale support for ctype<char>.
871 * config/locale/c_locale_gnu.h (_GLIBCPP_C_LOCALE_GNU): New.
872 * config/os/gnu-linux/bits/ctype_noninline.h (ctype<char>): Add
873 definitions for alternate constructor.
874 * config/os/solaris/solaris2.7/bits/ctype_noninline.h (ctype): Same.
875 * config/os/solaris/solaris2.6/bits/ctype_noninline.h (ctype): Same.
876 * config/os/solaris/solaris2.5/bits/ctype_noninline.h (ctype): Same.
877 * config/os/newlib/bits/ctype_noninline.h (ctype): Same.
878 * config/os/irix/irix6.5/bits/ctype_noninline.h (ctype): Same.
879 * config/os/irix/irix5.2/bits/ctype_noninline.h (ctype): Same.
880 * config/os/hpux/bits/ctype_noninline.h (ctype): Same.
881 * config/os/generic/bits/ctype_noninline.h (ctype): Same.
882 * config/os/djgpp/bits/ctype_noninline.h (ctype): Same.
883 * config/os/bsd/netbsd/bits/ctype_noninline.h (ctype): Same.
884 * config/os/bsd/freebsd/bits/ctype_noninline.h (ctype): Same.
885 * config/os/aix/bits/ctype_noninline.h (ctype): Same.
886 * include/bits/locale_facets.h (ctype<_CharT>): Remove dummy
887 definitions for all virtual functions. These are now explicitly
888 undefined for non-required factets, ie any non-char, non-wchar_t
890 * src/localename.cc (locale::_Impl::_Impl(string, size_t): Named
891 locales use alternate constructor for ctype facet.
892 * include/bits/locale_facets.h (ctype<char>::ctype(__c_locale, const
893 mask*, bool, size_t): Add.
894 (ctype<wchar_t>::ctype(__c_locale, size_t): Add.
895 * src/locale.cc (ctype<wchar_t>::ctype(__c_locale, size_t)): Add
898 * testsuite/22_locale/ctype_members_char.cc (test02): Add, mark
899 XFAIL for non-gnu locale models.
901 2001-12-12 Philip Martin <philip@codematters.co.uk>
902 Ross Smith <r-smith@ihug.co.nz>
903 Paolo Carlini <pcarlini@unitus.it>
906 * include/bits/std_limits.h (defines, numeric_limits<bool>::digits10):
907 Fix digits10 values for integral types.
908 * include/bits/locale_facets.tcc (num_get::do_get for integral types):
909 Tweak _M_extract_int call.
910 * testsuite/27_io/istream_extractor_arith.cc (test13, test12_aux):
911 Tweak overflowing number of digits.
912 * testsuite/18_support/numeric_limits.cc (test03): New testcase.
914 2001-12-11 Benjamin Kosnik <bkoz@redhat.com>
916 * config/os/generic/bits/ctype_inline.h: Remove spaces.
917 * config/os/gnu-linux/bits/ctype_noninline.h: Same.
918 * include/bits/locale_facets.h (__num_base): Move double data
919 members to first in class.
920 * include/bits/locale_facets.tcc: Re-arrange, tweak.
921 * src/locale.cc: Clean.
922 *include/bits/stl_vector.h: Space typedefs.
924 2001-12-11 Phil Edwards <pme@gcc.gnu.org>
926 * testsuite/ext/allocators.cc: New file.
928 2001-12-11 Jason Merrill <jason@redhat.com>
930 * include/bits/locale_facets.tcc (_M_extract_int): Avoid
931 uninitialized warning.
933 2001-12-11 Loren Rittle <ljrittle@acm.org>
935 * config/cpu/sparc/sparc32/bits/atomicity.h
936 (__Atomicity_lock<0>::_S_atomicity_lock): Add.
938 2001-12-10 Paolo Carlini <pcarlini@unitus.it>
940 * include/bits/basic_string.tcc (_M_replace_safe): Fix typos.
941 * include/bits/basic_string.h: Fix typos.
943 2001-12-10 Paolo Carlini <pcarlini@unitus.it>
944 Nathan Myers <ncm@cantrip.org>
946 * include/bits/basic_string.tcc (_M_replace_safe): New function.
947 (_M_replace(input_iterator_tag), append members): Use it.
948 (_M_replace(forward_iterator_tag)): Remove.
949 * include/bits/basic_string.h: Adjust declarations.
950 * src/string-inst.cc: Adjust declarations.
952 2001-12-09 Benjamin Kosnik <bkoz@redhat.com>
953 Philip Martin <pmartin@uklinux.net>
955 * include/bits/locale_facets.h (__num_base::_S_scale_hex): Add.
956 (__num_base::_S_scale_oct): Add.
957 * include/bits/locale_facets.tcc (_M_extract_int): Use them.
958 * src/locale.cc: Add definitions.
959 * testsuite/27_io/istream_extractor_arith.cc (main): Call test13.
961 * testsuite/testsuite_hooks.h: Remove duplicate VERIFY define.
963 2001-12-07 Nathan Myers <ncm@cantrip.org>
964 Loren Rittle <ljrittle@acm.org>
967 * config/cpu/sparc/sparc32/bits/atomicity.h
968 (struct __Atomicity_lock<__inst>): Add.
969 (__Atomicity_lock<__inst>::_S_atomicity_lock): Add.
970 (__exchange_and_add): Use __Atomicity_lock<0>::_S_atomicity_lock
971 instead of lock local to static function.
972 (__atomic_add): Likewise.
974 2001-12-07 Phil Edwards <pme@gcc.gnu.org>
976 * src/globals.cc: Remove __GTHREADS guard.
978 2001-12-07 Paolo Carlini <pcarlini@unitus.it>
980 * include/bits/locale_facets.tcc (num_put::_M_convert_float):
981 Extend comment, reduce __cs_size for non-fixed outputs.
983 2001-12-07 Paolo Carlini <pcarlini@unitus.it>
985 * include/bits/basic_string.tcc (_M_mutate): Fix typo
986 in the previous check in.
988 2001-12-06 Paolo Carlini <pcarlini@unitus.it>
989 Loren J. Rittle <ljrittle@acm.org>
991 * include/bits/basic_string.tcc (_M_mutate, _M_clone): Implement
992 exponential growth policy to meet linear amortized time
993 requirements of the standard.
994 (_S_create): Adjust comment.
996 2001-12-06 Benjamin Kosnik <bkoz@redhat.com>
999 * include/bits/locale_facets.tcc (num_put): Clean.
1000 (num_get::_M_extract_float): Change argument to string.
1001 (num_get::do_get(float)): Fixup.
1002 (num_get::do_get(double)): Same.
1003 (num_get::do_get(long double)): Same.
1004 (num_get::_M_extract_int): Add maximum length parameter, __max.
1005 (num_get::_M_extract_float): Correct zeros, use string.
1006 * include/bits/locale_facets.h (num_get::_M_extract_float): Change
1008 * src/locale.cc (__num_base::_S_atoms): Remove x, X.
1009 * testsuite/27_io/istream_extractor_arith.cc (test13): Add.
1011 2001-12-06 Philip Martin <pmartin@uklinux.net>
1013 * testsuite/27_io/istream_extractor_arith.cc (test12): Add
1014 tests for excess input digits.
1016 2001-12-06 Phil Edwards <pme@gcc.gnu.org>
1018 * include/bits/std_bitset.h: Use GLIBCPP in multiple-inclusion guard.
1019 * include/bits/stl_algo.h: Likewise.
1020 * include/bits/stl_algobase.h: Likewise.
1021 * include/bits/stl_bvector.h: Likewise.
1022 * include/bits/stl_deque.h: Likewise.
1023 * include/bits/stl_function.h: Likewise.
1024 * include/bits/stl_iterator.h: Likewise.
1025 * include/bits/stl_iterator_base_funcs.h: Likewise.
1026 * include/bits/stl_iterator_base_types.h: Likewise.
1027 * include/bits/stl_list.h: Likewise.
1028 * include/bits/stl_multimap.h: Likewise.
1029 * include/bits/stl_multiset.h: Likewise.
1030 * include/bits/stl_pair.h: Likewise.
1031 * include/bits/stl_queue.h: Likewise.
1032 * include/bits/stl_set.h: Likewise.
1033 * include/bits/stl_stack.h: Likewise.
1034 * include/bits/stl_tempbuf.h: Likewise.
1035 * include/bits/stl_tree.h: Likewise.
1036 * include/bits/stl_vector.h: Likewise.
1038 * include/bits/stl_alloc.h: Use our own multiple inclusion guards.
1039 Doxygenate more comments. Correct historical artifacts in comments.
1040 (alloc, single_alloc): Uglify non-standard names.
1041 (__default_alloc_template::_NFREELISTS): Calculate from other
1043 (__default_alloc_template::_S_free_list): Remove SunPro workaround.
1044 (__default_alloc_template::_Lock): Mark as "unused".
1045 * include/backward/alloc.h: Update.
1046 * include/bits/stl_bvector.h: Likewise.
1047 * include/ext/ropeimpl.h: Likewise.
1048 * include/ext/stl_hashtable.h: Likewise.
1050 2001-12-05 Benjamin Kosnik <bkoz@redhat.com>
1053 * include/bits/locale_facets.tcc (num_put::_M_widen_float): Add
1054 grouping to floating point types.
1055 * testsuite/27_io/ostream_inserter_arith.cc (test02): Add test.
1057 2001-12-04 Paolo Carlini <pcarlini@unitus.it>
1060 * testsuite/27_io/ostream_inserter_arith.cc (test02): Add testcase
1062 * include/bits/locale_facets.tcc (num_put::_M_convert_float):
1063 Deal properly with long ios_base::fixed floats.
1064 (num_put::_M_widen_float): use
1065 __len in __builtin_alloca call.
1067 2001-12-04 Benjamin Kosnik <bkoz@redhat.com>
1069 * src/Makefile.am (sources): Add ext-inst.cc.
1070 * src/Makefile.in: Regenerate.
1071 * src/ext-inst.cc: New file.
1072 * include/bits/stl_threads.h: Format.
1073 * src/globals.cc: Add instantiation for _S_swap_lock.
1075 * testsuite/18_support/numeric_limits.cc: Add numeric_limits<B>
1078 2001-12-04 John David Anglin <dave@hiauly1.hia.nrc.ca>
1080 * testsuite/22_locale/numpunct_members_wchar_t.cc: Only compile
1081 and execute test01 if _GLIBCPP_USE_WCHAR_T is defined.
1082 * testsuite/26_numerics/complex_inserters_extractors.cc: Provide
1083 for explicit instantiation of class std::basic_string<char,
1084 gnu_char_traits, std::allocator<char> >.
1086 2001-12-03 Benjamin Kosnik <bkoz@redhat.com>
1088 * testsuite/22_locale/collate.cc: Compile-only.
1089 * testsuite/22_locale/time_get.cc: Same.
1090 * testsuite/22_locale/time_put.cc: Same.
1091 * testsuite/22_locale/numpunct.cc: Same.
1092 * testsuite/22_locale/num_put.cc: Same.
1093 * testsuite/22_locale/num_get.cc: Same.
1094 * testsuite/22_locale/moneypunct.cc: Same.
1095 * testsuite/22_locale/money_get.cc: Same.
1096 * testsuite/22_locale/messages.cc: Same.
1097 * testsuite/22_locale/ctype.cc: Same.
1099 2001-12-03 Benjamin Kosnik <bkoz@redhat.com>
1101 * src/string-inst.cc (string::_Rep::_S_terminal): Add static data
1102 member instantiations.
1104 2001-12-03 Steve Ellcey <sje@cup.hp.com>
1106 * libstdc++-v3/configure.in: Add support for hpux cross compiles,
1107 combine common linux/hpux/generic cross compile support to reduce
1109 * libstdc++-v3/configure: Regenerate.
1111 2001-12-03 Loren J. Rittle <ljrittle@acm.org>
1113 * docs/html/ext/howto.html: Update commentary.
1114 * include/bits/c++config: Update threading configuration comment.
1115 (__STL_GTHREADS): Remove macro definition.
1116 (__STL_THREADS): Likewise.
1117 * include/bits/stl_threads.h: Leave only the configuration
1118 path which had been guarded by __STL_GTHREADS. Remove all
1119 guards related to __STL_GTHREADS, __STL_SGI_THREADS,
1120 __STL_PTHREADS, __STL_UITHREADS and __STL_WIN32THREADS.
1121 * include/bits/stl_alloc.h: Leave only the configuration path
1122 which had been guarded by __STL_THREADS. Remove configuration
1123 path and guards for __STL_SGI_THREADS.
1124 (__NODE_ALLOCATOR_THREADS): Remove macro definition. Unroll its use.
1125 (__NODE_ALLOCATOR_LOCK): Likewise.
1126 (__NODE_ALLOCATOR_UNLOCK): Likewise.
1127 (_NOTHREADS): Remove guards related to macro.
1128 * include/ext/stl_rope.h: Remove configuration path and guards
1129 for __STL_SGI_THREADS.
1130 * src/stl-inst.cc: Remove use of __NODE_ALLOCATOR_THREADS.
1132 2001-12-02 Phil Edwards <pme@gcc.gnu.org>
1134 * docs/html/ext/howto.html: Update list of implemented DRs.
1135 * docs/html/ext/lwg-active.html: Import R20 from upstream.
1136 * docs/html/ext/lwg-defects.html: Import R20 from upstream.
1138 2001-11-30 Benjamin Kosnik <bkoz@redhat.com>
1142 * libsupc++/exception (bad_exception::~bad_exception()): Remove
1144 * libsupc++/new (bad_alloc::~bad_alloc()): Remove.
1145 * libsupc++/typeinfo (bad_cast::~bad_cast()): Remove.
1146 (bad_typeid::~bad_typeid()): Remove.
1147 * libsupc++/tinfo.cc (bad_cast::~bad_cast()): Remove definition.
1148 (bad_typeid::~bad_typeid()): Same.
1149 * libsupc++/new_handler.cc (bad_alloc::~bad_alloc()): Same.
1150 * libsupc++/eh_exception.cc (bad_exception::~bad_exception()): Same.
1152 * include/bits/std_iomanip.h: Tweak.
1154 2001-11-29 Paolo Carlini <pcarlini@unitus.it>
1157 * include/bits/locale_facets.tcc (__pad): Add bool parameter to
1158 correctly pad internal-adjusted const char*-type objects.
1159 * include/bits/locale_facts.tcc (num_put::_M_insert): Update call.
1160 * include/bits/ostream.tcc (operator<<(_CharT , char, const
1161 _CharT*, const char*, const basic_string&): Update calls.
1162 * src/locale-inst.tcc: Update declarations.
1163 * testsuite/27_io/ostream_inserter_arith.cc (test04): Add test.
1165 2001-11-29 Phil Edwards <pme@gcc.gnu.org>
1167 * docs/html/ext/howto.html: Finish allocator notes (inst and 3.0).
1169 2001-11-29 Benjamin Kosnik <bkoz@redhat.com>
1171 * include/bits/locale_facets.tcc (num_get::do_get(long double)):
1172 Fix __traits_type typo.
1174 2001-11-28 Paolo Carlini <pcarlini@unitus.it>
1176 * include/bits/locale_facets.tcc (__pad): Correctly pad
1177 internal-adjusted hex numbers.
1178 * testsuite/27_io/ostream_inserter_arith.cc: Add testcase.
1180 2001-11-28 Paolo Carlini <pcarlini@unitus.it>
1181 Loren J. Rittle <ljrittle@acm.org>
1183 * include/bits/basic_string.h
1184 (basic_string::_Rep::__default_excess, _S_excess_slop):
1186 * include/bits/basic_string.tcc: Remove dead code.
1187 * include/bits/c++config: Remove comment.
1189 2001-11-28 Benjamin Kosnik <bkoz@redhat.com>
1190 Jakub Jelinek <jakub@redhat.com>
1192 * config/locale/moneypunct_members_gnu.cc
1193 (moneypunct<wchar_t>::_M_initialize_moneypunct): Correctly cast
1195 * config/locale/numpunct_members_gnu.cc
1196 (numpunct<wchar_t>::_M_initialize_numpunct): Same.
1198 2001-11-27 Benjamin Kosnik <bkoz@redhat.com>
1200 * include/bits/locale_facets.tcc: Formatting tweaks.
1202 * testsuite/23_containers/map_operators.cc: Don't xfail.
1203 * testsuite/23_containers/set_operators.cc: Same.
1204 * testsuite/backward/header_iterator_h.cc: Pass in -Wno-deprecated.
1205 * testsuite/backward/header_deque_h.cc: Same.
1207 2001-11-27 Loren J. Rittle <ljrittle@acm.org>
1208 Paolo Carlini <pcarlini@unitus.it>
1210 * include/bits/basic_string.tcc (basic_string::_Rep::_S_create):
1211 Enforce allocation size blocking policy to reduce
1212 fragmentation and enhance performance with common malloc
1215 2001-11-27 Benjamin Kosnik <bkoz@redhat.com>
1217 Numeric facets cleanup.
1218 * include/bits/locale_facets.h (__num_base::_S_atoms): Add, remove
1220 (__num_base::_M_zero): Add
1221 (__num_base::_M_e): Add.
1222 (__num_base::_M_E): Add.
1223 * include/bits/locale_facets.tcc (num_get::_M_extract): Remove.
1224 (num_get::_M_extract_float): New.
1225 (num_get::_M_extract_int): New.
1226 * src/locale.cc (num_get::_M_extract): Remove.
1228 * include/bits/locale_facets.tcc (num_put::_M_insert_float):
1229 Simplify, use _M_insert.
1230 (num_put::do_put(bool)): Simplify, remove __pad.
1232 (__pad_output): Change to __pad.
1233 * include/bits/ostream.tcc: And here.
1234 * src/locale-inst: Remove instantiations.
1236 * include/bits/locale_facets.h: Move helper functions in to class
1238 (num_put::_M_insert_float): Same, for __output_integer.
1239 (num_put::_M_insert_int): Same, for __output_float.
1240 (num_put::_M_insert): New.
1242 (__num_base::_S_format_float): Move
1243 __build_float_format into class __num_base.
1244 (__num_base::_S_format_int): Move __build_int_format into class
1246 * include/bits/locale_facets.tcc (__group_digits): Change to
1247 (__add_grouping): This.
1248 * src/locale-inst.cc: And here. Tweak instantiations.
1249 * src/misc-inst.cc: Remove instantiations.
1251 * include/bits/ostream.tcc (__pad_char): Rename, adjust inserters
1252 for new calling conventions, move to...
1253 * include/bits/locale_facets.tcc (__pad_output): Here. Adjust
1254 signature to make it useful for both ostream and num_put.
1255 (__pad_numeric): Remove.
1256 * src/misc-inst.cc: Remove instantiations.
1257 * src/locale-inst.cc: Same.
1259 * include/bits/locale_facets.h (_Numeric_get): Remove.
1260 (_Numeric_put): Remove.
1261 (num_get::get(short)): Remove.
1262 (num_get::get(int)): Remove.
1263 (num_get::do_get(short)): Remove.
1264 (num_get::do_get(int)): Remove.
1265 * include/bits/istream.tcc (istream::operator>>(short)): Fix as
1267 (istream::operator>>(int)): Same.
1269 * include/bits/locale_facets.h (_Format_cache): Remove.
1270 * include/bits/locale_facets.tcc: Same.
1271 * src/locale.cc: Same.
1272 * src/locale-inst.cc: Same.
1273 * include/bits/ostream.tcc: Same.
1274 * src/ios.cc (ios_base::imbue): Remove here as well.
1276 * testsuite/22_locale/num_get.cc: New file.
1277 * testsuite/22_locale/num_get_members_char.cc: New file.
1278 * testsuite/22_locale/num_get_members_wchar_t.cc: New.
1279 * testsuite/22_locale/numpunct_members_wchar_t.cc: New file.
1280 * testsuite/22_locale/num_put.cc: New file.
1281 * testsuite/22_locale/num_put_members_char.cc: New file.
1282 * testsuite/22_locale/num_put_members_wchar_t.cc: New file.
1283 * testsuite/27_io/ostream_inserter_arith.cc: Fix.
1284 * testsuite/27_io/istream_extractor_arith.cc: Fix.
1286 2001-11-27 Phil Edwards <pme@gcc.gnu.org>
1288 * docs/html/explanations.html: New section, empty for now.
1289 * docs/html/17_intro/howto.html: Cleanup. Move unrelated link...
1290 * docs/html/23_containers/howto.html: ...to here. Break up and
1291 rewrap threading discussion to emphasize warning. Move malloc text...
1292 * docs/html/ext/howto.html: ...to here. New section. Describe
1293 allocators and __USE_MALLOC effects.
1294 * docs/html/ext/sgiexts.html: Mention their code.
1296 2001-11-24 Joseph S. Myers <jsm28@cam.ac.uk>
1298 * docs/doxygen/maint.cfg.in, docs/doxygen/user.cfg.in,
1299 docs/html/27_io/binary_iostreams_kuehl.txt: Revert previous
1302 2001-11-23 Phil Edwards <pme@gcc.gnu.org>
1304 * Makefile.am (doxygen-maint): The script isn't executable in CVS.
1305 * Makefile.in: Regenerated.
1306 * docs/doxygen/TODO: New file listing doxygen work to be done.
1307 * docs/doxygen/run_doxygen: Fix up man pages.
1308 * docs/doxygen/user.cfg.in: Insert maint-only toggles.
1309 * docs/doxygen/maint.cfg.in: Copy from user.cfg and turn toggles on.
1310 * include/bits/stl_construct.h: Use new hooks for internal functions.
1312 * docs/html/17_intro/TODO: Small updates.
1313 * docs/html/faq/index.html: Likewise.
1314 * docs/html/faq/index.txt: Regenerated.
1316 * include/bits/stl_alloc.h: Doxygenate, reindent comments, remove
1317 SGI-isms and wrappers.
1318 (simple_alloc, debug_alloc): Uglify class names.
1319 (__default_alloc_template): Uglify "threads" template parameter and
1320 update corresponding macros.
1321 * include/backward/alloc.h: Bring up to date.
1323 2001-11-23 Jason Merrill <jason@redhat.com>
1325 * src/vterminate.cc (__verbose_terminate_handler): Add leading
1328 2001-11-23 Joseph S. Myers <jsm28@cam.ac.uk>
1330 * ChangeLog, docs/doxygen/maint.cfg.in, docs/doxygen/user.cfg.in,
1331 docs/doxygen/doxygroups.cc, docs/doxygen/Intro.3,
1332 docs/html/17_intro/BUGS, docs/html/17_intro/C++STYLE,
1333 docs/html/17_intro/CHECKLIST, docs/html/17_intro/DESIGN,
1334 docs/html/17_intro/howto.html, docs/html/17_intro/porting.html,
1335 docs/html/17_intro/porting.texi, docs/html/18_support/howto.html,
1336 docs/html/19_diagnostics/howto.html, docs/html/20_util/howto.html,
1337 docs/html/21_strings/howto.html,
1338 docs/html/23_containers/howto.html,
1339 docs/html/26_numerics/howto.html, docs/html/27_io/howto.html,
1340 docs/html/27_io/binary_iostreams_kuehl.txt,
1341 docs/html/ext/sgiexts.html, docs/html/faq/index.html,
1342 docs/html/faq/index.txt, testsuite/24_iterators/iterator.cc,
1343 include/bits/basic_file.h, include/bits/locale_facets.h,
1344 include/bits/locale_facets.tcc, include/bits/std_sstream.h,
1345 include/ext/ropeimpl.h, include/ext/stl_rope.h,
1346 libsupc++/tinfo.cc, libsupc++/cxxabi.h, libsupc++/typeinfo,
1347 libsupc++/eh_throw.cc, acinclude.m4, aclocal.m4, configure,
1348 configure.target, ChangeLog-2000: Fix spelling errors.
1350 * config/locale/moneypunct_members_gnu.cc,
1351 include/bits/locale_facets.h: Fix spelling errors.
1353 2001-11-22 Stephen M. Webb <stephen@bregmasoft.com>
1355 * testsuite/23_containers/list_capacity.cc: New file.
1356 * testsuite/23_containers/list_ctor.cc: New file.
1357 * testsuite/23_containers/list_modifiers.cc: New file.
1358 * testsuite/23_containers/list_operators.cc: New file.
1360 2001-11-22 Stephen M. Webb <stephen@bregmasoft.com>
1362 * include/bits/stl_list.h: Reformatted according to C++STYLE rules.
1363 (size): Replaced nonstandard distance() call with the standard one.
1364 (transfer): Uglified to _M_transfer.
1366 2001-11-21 Paolo Carlini <pcarlini@unitus.it>
1369 * include/bits/basic_string.tcc (basic_string::reserve): Never shrink
1370 below the current size.
1371 * testsuite/21_strings/capacity.cc (test02): Add test.
1373 2001-11-19 Phil Edwards <pme@gcc.gnu.org>
1375 * docs/doxygen/Intro.3: More notes.
1376 * docs/doxygen/style.css: Update to default style from Doxygen 1.2.10.
1377 * include/bits/stl_algobase.h: Add doxygen hooks for functions.
1378 * include/ext/hash_map: Add @file hook.
1379 * include/ext/hash_set: Likewise.
1380 * include/ext/rope: Likewise.
1381 * include/ext/ropeimpl.h: Likewise.
1382 * include/ext/slist: Likewise.
1383 * include/ext/stl_hash_fun.h: Likewise.
1384 * include/ext/stl_hashtable.h: Likewise.
1385 * include/ext/stl_rope.h: Likewise.
1387 * docs/html/17_intro/license.html: Remove "experimental" sentence.
1388 * docs/html/19_diagnostics/howto.html: Document new verbose
1390 * testsuite/27_io/filebuf.cc: Fix comment, move tweakable parameter
1391 to more visible (closer to description) position.
1393 * libsupc++/eh_type.cc: Formatting tweak.
1394 * libsupc++/exception: Likewise.
1395 * src/vterminate.cc: Likewise.
1397 * docs/html/17_intro/porting.html: Regenerate.
1398 * docs/html/faq/index.txt: Regenerate.
1400 2001-11-18 Jason Merrill <jason@redhat.com>
1402 * libsupc++/eh_personality.cc (__cxa_call_unexpected): Take void*.
1403 * libsupc++/eh_catch.cc (__cxa_begin_catch): Likewise.
1404 * libsupc++/unwind-cxx.h: Adjust.
1405 * src/Makefile.am (strstream.o): Pass -Wno-deprecated.
1407 * libsupc++/eh_type.cc (__cxa_current_exception_type): New file.
1408 * libsupc++/cxxabi.h: Declare it.
1409 * libsupc++/Makefile.am (sources): Add it.
1410 * src/vterminate.cc (verbose_terminate_handler): New file.
1411 * libsupc++/exception: Declare it.
1412 * src/Makefile.am (sources): Add it.
1414 * src/Makefile.am (VPATH): Check the src directory before the top one.
1416 2001-11-16 Paolo Carlini <pcarlini@unitus.it>
1418 * include/bits/stl_deque.h (deque::erase()): Fix memory leak.
1420 2001-11-16 Loren J. Rittle <ljrittle@acm.org>
1422 * docs/html/17_intro/howto.html (Thread-safety): Rename
1423 section to ``The Standard C++ library and multithreading'' and
1424 update information based on recent mailing list traffic. Move
1425 all discussion of __USE_MALLOC to...
1426 * docs/html/23_containers/howto.html (Containers and multithreading):
1427 ...here and rework it based on recent mailing list traffic.
1429 2001-11-15 Loren J. Rittle <ljrittle@acm.org>
1431 * docs/html/faq/index.html (Is libstdc++-v3 thread-safe?): Clarify
1434 2001-11-15 <bjornw@planetarion.com>
1435 Loren J. Rittle <ljrittle@acm.org>
1438 * include/bits/stl_alloc.h (alloc): Update to use __mem_interface.
1439 (single_client_alloc): Likewise.
1441 2001-11-08 Danny Smith <dannysmith@users.sourceforge.net>
1443 * configure.target: Add os_include_dir for mingw32* target.
1444 * docs/html/17_intro/porting.texi: Mention mingw32 as target benefiting
1445 from _GLIBCPP_AVOID_FSEEK.
1446 * config/os/mingw32/bits/ctype_base.h: New file.
1447 * config/os/mingw32/bits/ctype_inline.h: New file.
1448 * config/os/mingw32/bits/ctype_noninline.h: New file.
1449 * config/os/mingw32/bits/os_defines.h: New file.
1451 2001-11-07 Nathan Myers <ncm@cantrip.org>
1453 * docs/html/faq/index.html (5.8): New entry on ABIs.
1454 * docs/html/faq/index.txt: Regenerate.
1456 2001-11-07 Phil Edwards <pme@gcc.gnu.org>
1458 * docs/html/faq/index.html: Explain libsupc++, mention 'long long'
1459 bugfixes on Solaris.
1460 * docs/html/faq/index.txt: Regenerate.
1462 2001-11-06 Phil Edwards <pme@gcc.gnu.org>
1464 * acinclude.m4 (GLIBCPP_ENABLE_LONG_LONG): Run the test in
1465 LANG_CPLUSPLUS mode.
1466 * aclocal.m4: Regenerate.
1467 * configure: Regenerate.
1469 2001-11-05 Phil Edwards <pme@gcc.gnu.org>
1471 * porting.texi: Move...
1472 * docs/html/17_intro/porting.texi: ...to here.
1473 * docs/html/Makefile: Add rule to rebuild...
1474 * docs/html/17_intro/porting.html: ...this. New file.
1476 2001-11-05 Felix Natter <fnatter@gmx.net>
1478 * docs/html/17_intro/porting-howto.xml: check in v0.9.4
1479 * docs/html/17_intro/porting-howto.html: regenerate
1481 2001-11-02 Loren J. Rittle <ljrittle@acm.org>
1483 * include/bits/stl_threads.h (_Atomic_swap): Only enable path
1484 when platform supports __GTHREAD_MUTEX_INIT.
1486 2001-11-02 Phil Edwards <pme@gcc.gnu.org>
1488 * acconfig.h: Update comments.
1489 * acinclude.m4 (GLIBCPP_ENABLE_C99): Move strtoll, strtoull tests...
1490 (GLIBCPP_ENABLE_LONG_LONG): ...to here. Don't check enable_c99.
1491 * aclocal.m4: Regenerate.
1492 * config.h.in: Regenerate.
1493 * configure: Regenerate.
1495 * include/bits/boost_concept_check.h: Unconditionally compile uses
1496 of 'long long' which require only compiler support, not C lib support.
1497 * include/bits/cpp_type_traits.h: Likewise.
1498 * include/bits/std_limits.h: Likewise.
1499 * include/bits/type_traits.h: Likewise.
1500 * src/concept-inst.cc: Likewise.
1501 * src/limits.cc: Likewise.
1502 * include/c_shadow/stdlib.h: Compile conditionally on _GLIBCPP_USE_C99
1503 instead of _GLIBCPP_USE_LONG_LONG.
1504 * include/c_shadow/bits/std_cstdlib.h: Likewise.
1506 2001-11-02 Phil Edwards <pme@gcc.gnu.org>
1508 * config/io/c_io_stdio.h: Correct grammar in comments.
1509 * docs/doxygen/Intro.3: Expand "top-level" man page.
1510 * docs/doxygen/doxygroups.cc: New module definitions (comments).
1511 * docs/doxygen/mainpage.doxy: Tweaks.
1512 * docs/doxygen/run_doxygen: Update Doxygen version, massage man pages.
1514 Add @file hooks so that headers are considered to be documented.
1515 * include/bits/basic_ios.h, include/bits/basic_file.h,
1516 include/bits/basic_string.h, include/bits/boost_concept_check.h,
1517 include/bits/char_traits.h, include/bits/codecvt.h,
1518 include/bits/concept_check.h, include/bits/cpp_type_traits.h,
1519 include/bits/fpos.h, include/bits/gslice.h, include/bits/gslice_array.h,
1520 include/bits/indirect_array.h, include/bits/ios_base.h,
1521 include/bits/locale_facets.h, include/bits/localefwd.h,
1522 include/bits/mask_array.h, include/bits/pthread_allocimpl.h,
1523 include/bits/slice.h, include/bits/slice_array.h,
1524 include/bits/std_algorithm.h, include/bits/std_bitset.h,
1525 include/bits/std_complex.h, include/bits/std_deque.h,
1526 include/bits/std_fstream.h, include/bits/std_functional.h,
1527 include/bits/std_iomanip.h, include/bits/std_ios.h,
1528 include/bits/std_iosfwd.h, include/bits/std_iostream.h,
1529 include/bits/std_istream.h, include/bits/std_iterator.h,
1530 include/bits/std_limits.h, include/bits/std_list.h,
1531 include/bits/std_locale.h, include/bits/std_map.h,
1532 include/bits/std_memory.h, include/bits/std_numeric.h,
1533 include/bits/std_ostream.h, include/bits/std_queue.h,
1534 include/bits/std_set.h, include/bits/std_sstream.h,
1535 include/bits/std_stack.h, include/bits/std_streambuf.h,
1536 include/bits/std_string.h, include/bits/std_utility.h,
1537 include/bits/std_valarray.h, include/bits/std_vector.h,
1538 include/bits/stl_algo.h, include/bits/stl_alloc.h,
1539 include/bits/stl_bvector.h, include/bits/stl_construct.h,
1540 include/bits/stl_deque.h, include/bits/stl_heap.h,
1541 include/bits/stl_iterator.h, include/bits/stl_iterator_base_funcs.h,
1542 include/bits/stl_iterator_base_types.h, include/bits/stl_list.h,
1543 include/bits/stl_map.h, include/bits/stl_multimap.h,
1544 include/bits/stl_multiset.h, include/bits/stl_numeric.h,
1545 include/bits/stl_pair.h, include/bits/stl_pthread_alloc.h,
1546 include/bits/stl_queue.h, include/bits/stl_raw_storage_iter.h,
1547 include/bits/stl_relops.h, include/bits/stl_set.h,
1548 include/bits/stl_stack.h, include/bits/stl_tempbuf.h,
1549 include/bits/stl_threads.h, include/bits/stl_tree.h,
1550 include/bits/stl_uninitialized.h, include/bits/stl_vector.h,
1551 include/bits/stream_iterator.h, include/bits/streambuf_iterator.h,
1552 include/bits/stringfwd.h, include/bits/type_traits.h,
1553 include/bits/valarray_array.h, include/bits/valarray_meta.h:
1554 Add hooks, tweak comments only.
1556 * include/bits/stl_algobase.h (swap, min, iter_swap): Also
1557 document these functions.
1558 * include/bits/stl_function.h: Tweak link comments.
1560 2001-11-01 Paolo Carlini <pcarlini@unitus.it>
1561 Benjamin Kosnik <bkoz@redhat.com>
1563 * testsuite/27_io/ios_manip_fmtflags.cc: Fix for non-interactive
1565 * include/bits/locale_facets.tcc (num_put::do_put(bool)): Fix.
1567 2001-11-01 Egor Duda <deo@logos-m.ru>
1569 * config/os/newlib/bits/ctype_noninline.h
1570 (ctype<char>::do_toupper(char __c)): Check for proper character class.
1571 (ctype<char>::do_tolower(char __c)): Ditto.
1573 2001-11-01 Phil Edwards <pme@gcc.gnu.org>
1575 * acinclude.m4: Fix spacing.
1576 (GLIBCPP_ENABLE_CONCEPT_CHECKS): New macro.
1577 * configure.in: Call here.
1578 * acconfig.h: Add _GLIBCPP_CONCEPT_CHECKS.
1579 * include/bits/boost_concept_check.h: Fix headers.
1580 (__function_requires): Make inline.
1581 * include/bits/c++config (_GLIBCPP_CONCEPT_CHECKS): Remove.
1582 * aclocal.m4: Regenerate.
1583 * config.h.in: Regenerate.
1584 * configure: Regenerate.
1586 Move trailing ';' inside macro, PR libstdc++/3666.
1587 * include/bits/concept_check.h: Add semicolon.
1588 * include/bits/stl_algo.h: Remove semicolon.
1589 * include/bits/stl_algobase.h: Likewise.
1590 * include/bits/stl_deque.h: Likewise.
1591 * include/bits/stl_heap.h: Likewise.
1592 * include/bits/stl_iterator_base_funcs.h: Likewise.
1593 * include/bits/stl_list.h: Likewise.
1594 * include/bits/stl_map.h: Likewise.
1595 * include/bits/stl_multimap.h: Likewise.
1596 * include/bits/stl_multiset.h: Likewise.
1597 * include/bits/stl_numeric.h: Likewise.
1598 * include/bits/stl_queue.h: Likewise.
1599 * include/bits/stl_set.h: Likewise.
1600 * include/bits/stl_stack.h: Likewise.
1601 * include/bits/stl_vector.h: Likewise.
1602 * include/ext/hash_map: Likewise.
1603 * include/ext/hash_set: Likewise.
1604 * include/ext/slist: Likewise.
1606 * src/concept-inst.cc: New file with explicit instantiations.
1607 * src/Makefile.am (sources): Add here, with special build rules.
1608 * src/Makefile.in: Regenerate.
1610 2001-11-01 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
1612 * include/bits/std_complex.h (_Norm_helper): New class template.
1614 (abs): Tweak. Fix Thinko.
1616 2001-10-31 Benjamin Kosnik <bkoz@redhat.com>
1619 * include/bits/codecvt.h: Add virtual member function declarations.
1620 * src/codecvt.cc: Tweaks.
1621 * testsuite/22_locale/codecvt.cc: Test compilation only,
1622 non-required facets not required to have linkage.
1624 2001-10-31 Edward E. Meyer <edward.e.meyer@boeing.com>
1627 * include/bits/std_complex.h (complex::operator/=): Correct sign.
1629 2001-10-30 Paolo Carlini <pcarlini@unitus.it>
1630 Benjamin Kosnik <bkoz@redhat.com>
1633 * include/bits/basic_string.h: Tweaks.
1634 * include/bits/basic_string.tcc (string::_M_replace(iterator,
1635 iterator, _ForwardIter, _ForwardIter, forward_iterator_tag): Fix.
1636 * src/string-inst.cc: Tweaks, add instantiation.
1637 * testsuite/21_strings/replace.cc (test02): Add test.
1638 * testsuite/21_strings/assign.cc (test01): New file.
1640 2001-10-30 Jakub Jelinek <jakub@redhat.com>
1642 * include/bits/stl_deque.h (_M_new_elements_at_front): Use
1643 __throw_exception_again.
1644 (_M_new_elements_at_back): Likewise.
1646 2001-10-29 Benjamin Kosnik <bkoz@redhat.com>
1649 * include/bits/fstream.tcc (filebuf::showmanyc): Simplify.
1650 * testsuite/27_io/filebuf.cc (test07): New test.
1651 (test03): Modify showmanyc test.
1653 2001-10-26 Benjamin Kosnik <bkoz@redhat.com>
1656 * config/locale/codecvt_specializations_ieee_1003.1-200x.h
1657 (__enc_traits::~__enc_traits): Fix.
1658 (__enc_traits::_M_init): Add error checking.
1660 2001-10-25 Benjamin Kosnik <bkoz@redhat.com>
1663 * include/bits/locale_facets.tcc (time_get::_M_extract_name): Fix.
1665 2001-10-25 Benjamin Kosnik <bkoz@redhat.com>
1668 * include/bits/ostream.tcc (ostream::operator<<(streambuf*)): Fix
1670 * include/bits/istream.tcc (istream::operator>>(streambuf*): Make
1671 consistent, where possible.
1672 * include/bits/streambuf.tcc: Tweak.
1674 2001-10-25 Brendan Kehoe <brendan@zen.org>
1677 * bits/ostream.tcc (seekp): Scope use as ios_base::failbit.
1678 * bits/istream.tcc (seekg): Likewise.
1680 2001-10-25 Benjamin Kosnik <bkoz@redhat.com>
1681 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
1682 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
1684 * config/os/gnu-linux/bits/os_defines.h: Set to 64 bit longs with
1686 * include/bits/std_limits.h: Fix wchar_t issues.
1687 * config/os/aix/bits/os_defines.h: Fix.
1689 2001-10-25 Benjamin Kosnik <bkoz@redhat.com>
1691 * include/bits/locale_facets.tcc (collate::do_transform): Fix.
1693 2001-10-25 Phil Edwards <pme@gcc.gnu.org>
1695 * docs/html/documentation.html: Fix typo.
1697 2001-10-23 Benjamin Kosnik <bkoz@redhat.com>
1699 Make -fno-exceptions work.
1700 * config/locale/c_locale_gnu.cc: Use functexcept.
1701 * include/bits/c++config (__stl_assert): Remove.
1702 (__STL_USE_EXCEPTIONS): Same.
1704 (__STL_CATCH_ALL): Same.
1705 (__STL_THROW): Same.
1706 (__STL_RETHROW): Same.
1707 (__STL_NOTHROW): Same.
1708 (__STL_UNWIND): Same.
1709 * include/bits/pthread_allocimpl.h: Fix.
1710 * include/bits/std_bitset.h: Same.
1711 * include/bits/std_list.h: Same.
1712 * include/bits/std_memory.h: Same.
1713 * include/bits/std_queue.h: Same.
1714 * include/bits/stl_alloc.h: Same.
1715 * include/bits/stl_deque.h: Same.
1716 * include/bits/stl_list.h: Same.
1717 * include/bits/stl_queue.h: Same.
1718 * include/bits/stl_tempbuf.h: Same.
1719 * include/bits/stl_tree.h: Same.
1720 * include/bits/stl_uninitialized.h: Same.
1721 * include/bits/stl_vector.h: Same.
1722 * include/ext/ropeimpl.h: Same.
1723 * include/ext/slist: Same.
1724 * include/ext/stl_hashtable.h: Same.
1725 * include/ext/stl_rope.h: Same.
1726 * libsupc++/new_op.cc: Include cstdlib.
1727 * libsupc++/eh_personality.cc: Add exception_defines include. Use
1728 __throw_exception_again, tweak.
1729 * libsupc++/eh_aux_runtime.cc: Include stdlib for abort.
1730 * libsupc++/vec.cc: Tweak.
1731 * src/functexcept.cc: Remove unused arguments.
1732 * testsuite/23_containers/bitset_members.cc: Tweak.
1734 2001-10-22 Benjamin Kosnik <bkoz@redhat.com>
1736 * config/cpu/i386/bits/limits.h: Move to...
1737 * config/cpu/i386/bits/cpu_limits.h: ...here.
1738 * config/cpu/cris/bits/cpu_limits.h: Same.
1739 * config/cpu/powerpc/bits/cpu_limits.h: Same.
1740 * config/cpu/x86-64/bits/cpu_limits.h: Same.
1741 * config/cpu/alpha/bits/cpu_limits.h: New.
1742 * config/cpu/m68k/bits/cpu_limits.h: New.
1743 * config/cpu/s390/bits/cpu_limits.h: New.
1744 * config/os/aix/bits/os_defines.h: Tweaks.
1745 * config/os/bsd/freebsd/bits/os_defines.h: Same.
1746 * config/os/bsd/netbsd/bits/os_defines.h: Same.
1747 * config/os/djgpp/bits/os_defines.h: Same.
1748 * config/os/generic/bits/os_defines.h: Same.
1749 * config/os/gnu-linux/bits/os_defines.h: Same.
1750 * config/os/hpux/bits/os_defines.h: Same.
1751 * config/os/irix/irix5.2/bits/os_defines.h: Same.
1752 * config/os/irix/irix6.5/bits/os_defines.h: Same.
1753 * config/os/newlib/bits/os_defines.h: Same.
1754 * config/os/solaris/solaris2.5/bits/os_defines.h: Same.
1755 * config/os/solaris/solaris2.6/bits/os_defines.h: Same.
1756 * config/os/solaris/solaris2.7/bits/os_defines.h: Same.
1758 * include/bits/c++config: Remove include.
1759 * include/bits/limits_generic.h: Remove.
1760 * include/bits/std_limits.h: Include cpu_limits.h.
1761 * include/Makefile.am: Fixup.
1762 * src/limits.cc: Tweak.
1763 * src/limits_generic.cc: Remove.
1764 * src/gen-num-limits.cc: Remove.
1765 * mknumeric_limits: Remove.
1767 2001-10-20 Brendan Kehoe <brendan@zen.org>
1769 * bits/type_traits.h (_Bool): Removed this type.
1770 (__true_type, __false_type): Change to be plain structs.
1771 * src/string-inst.cc (__destroy_aux): Change third parm to be
1772 __false_type instead of _Bool<false>.
1773 * src/misc-inst.cc (__uninitialized_fill_n_aux,
1774 __uninitialized_copy_aux): Likewise.
1776 2001-10-19 Benjamin Kosnik <bkoz@redhat.com>
1778 * mkcheck.in (static_fail): Remove older memory limit functionality.
1779 Disable E_TIME due to formatting issues.
1783 2001-10-19 Brendan Kehoe <brendan@zen.org>
1785 * include/bits/std_complex.h: Default initialize second argument
1786 of polar to 0, as specified in Library DR #79
1788 2001-10-19 Brendan Kehoe <brendan@zen.org>
1790 * include/bits/stl_raw_storage_iter.h (operator=): Fix to call
1791 _Construct instead of construct.
1793 2001-10-19 Brendan Kehoe <brendan@zen.org>
1795 * include/bits/basic_string.tcc (find_first_not_of): Take out check for
1796 __n being non-zero, since the standard does not mandate that.
1797 e.g., a search for "" in "" should yield position 0, not npos.
1798 (find_last_not_of): Likewise.
1800 2001-10-19 Brendan Kehoe <brendan@zen.org>
1802 * include/bits/stl_bvector.h (vector<bool>::_M_range_check): Fix
1803 to throw out_of_range, not range_error, thus sayeth $23.1.1.13.
1805 2001-10-19 Brendan Kehoe <brendan@zen.org>
1807 * include/bits/stl_iterator.h (reverse_iterator::current): Rename
1808 member from _M_current, and change all uses; thus sayeth $24.4.1.1.
1810 2001-10-19 Brendan Kehoe <brendan@zen.org>
1812 * include/bits/stl_algo.h (partial_sort): Add missing `>' on the
1813 template parameter _ValueType.
1815 2001-10-19 Brendan Kehoe <brendan@zen.org>
1817 * include/bits/std_limits.h: Clean up extra semicolons.
1818 * include/bits/locale_facets.h: Likewise.
1819 * include/bits/type_traits.h: Likewise.
1821 2001-10-19 Brendan Kehoe <brendan@zen.org>
1823 * include/bits/localefwd.h (locale::combine): Add const for lib DR 14.
1824 * include/bits/locale_facets.tcc (locale::combine): Likewise.
1826 2001-10-19 Benjamin Kosnik <bkoz@redhat.com>
1828 * include/bits/locale_facets.h (__timepunct::_M_put_helper):
1829 Declare specializations for char, wchar_t.
1831 2001-10-19 Andreas Jaeger <aj@suse.de>
1833 * config/cpu/x86-64/bits/limits.h: New file.
1834 * config/cpu/x86-64/bits/atomicity.h: New file.
1835 * configure.target: Add x86-64.
1837 2001-10-17 Phil Edwards <pme@gcc.gnu.org>
1839 * docs/html/17_intro/howto.html: Remove 1999 links (and explain
1840 why). Add link to recent message.
1841 * docs/html/faq/index.html (5.6): Reformat text only; fixup <pre>
1843 * docs/html/faq/index.txt: Regenerate.
1845 2001-10-12 Loren J. Rittle <ljrittle@acm.org>
1847 * docs/html/faq/index.html (Is libstdc++-v3 thread-safe?): Update
1848 based on Nathan's review. Use Nathan's words.
1850 2001-10-11 Matt Kraai <kraai@alumni.carnegiemellon.edu>
1852 * docs/html/configopts.html: Quote StyleSheet attribute values.
1853 * docs/html/documentation.html: Likewise.
1854 * docs/html/explanations.html: Likewise.
1855 * docs/html/install.html: Likewise.
1856 * docs/html/17_intro/howto.html: Likewise.
1857 * docs/html/17_intro/license.html: Likewise.
1858 * docs/html/18_support/howto.html: Likewise.
1859 * docs/html/19_diagnostics/howto.html: Likewise.
1860 * docs/html/20_util/howto.html: Likewise.
1861 * docs/html/21_strings/howto.html: Likewise.
1862 * docs/html/22_locale/howto.html: Likewise.
1863 * docs/html/23_containers/howto.html: Likewise.
1864 * docs/html/24_iterators/howto.html: Likewise.
1865 * docs/html/25_algorithms/howto.html: Likewise.
1866 * docs/html/26_numerics/howto.html: Likewise.
1867 * docs/html/27_io/howto.html: Likewise.
1868 * docs/html/ext/howto.html: Likewise.
1869 * docs/html/ext/sgiexts.html: Likewise.
1870 * docs/html/faq/index.html: Likewise.
1872 2001-10-11 Loren J. Rittle <ljrittle@acm.org>
1874 * docs/html/faq/index.html (Is libstdc++-v3 thread-safe?): Rewrite.
1875 * docs/html/23_containers/howto.html (Containers and multithreading):
1878 2001-10-09 Phil Edwards <pme@gcc.gnu.org>
1880 * docs/html/17_intro/howto.html: Tweak markup and value type.
1881 * docs/html/27_io/howto.html: Tweak markup, describe setbuf() for
1882 nonzero arguments, add new note on threading.
1883 * docs/html/faq/index.html: Update.
1884 * docs/html/faq/index.txt: Regenerate.
1886 2001-10-09 Phil Edwards <pme@gcc.gnu.org>
1888 * docs/html/configopts.html: More HTML->XHTML and lowercasing of tags.
1889 * docs/html/documentation.html: Likewise.
1890 * docs/html/explanations.html: Likewise.
1891 * docs/html/install.html: Likewise.
1892 * docs/html/17_intro/howto.html: Likewise.
1893 * docs/html/17_intro/license.html: Likewise. Tighten up language.
1894 * docs/html/18_support/howto.html: Likewise.
1895 * docs/html/19_diagnostics/howto.html: Likewise.
1896 * docs/html/20_util/howto.html: Likewise.
1897 * docs/html/21_strings/howto.html: Likewise.
1898 * docs/html/22_locale/howto.html: Likewise.
1899 * docs/html/23_containers/howto.html: Likewise.
1900 * docs/html/24_iterators/howto.html: Likewise.
1901 * docs/html/25_algorithms/howto.html: Likewise.
1902 * docs/html/26_numerics/howto.html: Likewise.
1903 * docs/html/27_io/howto.html: Likewise.
1904 * docs/html/ext/howto.html: Likewise.
1905 * docs/html/ext/sgiexts.html: Likewise.
1906 * docs/html/faq/index.html: Likewise. Not so many absolute links.
1907 * docs/html/faq/index.txt: Regenerate.
1909 2001-10-07 Joseph S. Myers <jsm28@cam.ac.uk>
1911 * docs/html/22_locale/locale.html, docs/html/faq/index.html: Fix
1912 spelling errors of "separate" as "seperate", and corresponding
1913 spelling errors of related words.
1914 * docs/html/faq/index.txt: Regenerate.
1916 2001-10-05 Phil Edwards <pme@gcc.gnu.org>
1918 * config/cpu/alpha/bits/atomicity.h (__compare_and_swap): Remove
1920 * config/cpu/arm/bits/atomicity.h: Likewise.
1921 * config/cpu/generic/bits/atomicity.h: Likewise.
1922 * config/cpu/i486/bits/atomicity.h: Likewise.
1923 * config/cpu/ia64/bits/atomicity.h: Likewise.
1924 * config/cpu/mips/bits/atomicity.h: Likewise.
1925 * config/cpu/powerpc/bits/atomicity.h: Likewise.
1926 * config/cpu/sparc/sparc32/bits/atomicity.h: Likewise.
1927 * config/cpu/sparc/sparc64/bits/atomicity.h: Likewise.
1929 2001-10-04 Phil Edwards <pme@gcc.gnu.org>
1931 * docs/html/faq/index.html: Describe DR #22, and a workaround.
1932 * docs/html/faq/index.txt: Regenerate.
1934 2001-10-04 Phil Edwards <pme@gcc.gnu.org>
1936 * docs/html/17_intro/COPYING.DOC: New file, GFDL v1.1 from the FSF.
1937 * docs/html/17_intro/license.html: New file. Explain the licenses
1940 * docs/html/configopts.html: Link to license.html.
1941 * docs/html/documentation.html: Likewise.
1942 * docs/html/explanations.html: Likewise.
1943 * docs/html/install.html: Likewise.
1944 * docs/html/17_intro/howto.html: Likewise.
1945 * docs/html/18_support/howto.html: Likewise.
1946 * docs/html/19_diagnostics/howto.html: Likewise.
1947 * docs/html/20_util/howto.html: Likewise.
1948 * docs/html/21_strings/howto.html: Likewise.
1949 * docs/html/22_locale/howto.html: Likewise.
1950 * docs/html/23_containers/howto.html: Likewise.
1951 * docs/html/24_iterators/howto.html: Likewise.
1952 * docs/html/25_algorithms/howto.html: Likewise.
1953 * docs/html/26_numerics/howto.html: Likewise.
1954 * docs/html/27_io/howto.html: Likewise.
1955 * docs/html/ext/howto.html: Likewise.
1956 * docs/html/ext/sgiexts.html: Likewise.
1957 * docs/html/faq/index.html: Likewise. New question, linking to
1958 the new license.html.
1960 2001-10-04 Phil Edwards <pme@gcc.gnu.org>
1962 * docs/html/17_intro/howto.html: Fix mis-sed in header from 20010917.
1963 * docs/html/18_support/howto.html: Likewise.
1964 * docs/html/19_diagnostics/howto.html: Likewise.
1965 * docs/html/20_util/howto.html: Likewise.
1966 * docs/html/21_strings/howto.html: Likewise.
1967 * docs/html/22_locale/howto.html: Likewise.
1968 * docs/html/23_containers/howto.html: Likewise.
1969 * docs/html/24_iterators/howto.html: Likewise.
1970 * docs/html/25_algorithms/howto.html: Likewise.
1971 * docs/html/26_numerics/howto.html: Likewise.
1972 * docs/html/27_io/howto.html: Likewise.
1973 * docs/html/ext/howto.html: Likewise.
1974 * docs/html/faq/index.html: Likewise. Spacing fix.
1976 2001-10-03 Dimitris Vyzovitis <vyzo@media.mit.edu>
1978 * include/bits/stl_threads.h (_Atomic_swap): New function.
1979 (_Swap_lock_struct<__dummy>::_S_swap_lock): New data.
1980 * testsuite/ext/rope.cc: New file.
1982 2001-10-02 Benjamin Kosnik <bkoz@redhat.com>
1984 * config/locale/time_members_gnu.h: Remove.
1985 * config/locale/time_members_generic.h: Remove.
1986 * config/locale/time_members_gnu.cc (__timepunct::_M_put_helper): Add.
1987 * config/locale/time_members_generic.cc: Same.
1988 * include/bits/locale_facets.h: Add data members.
1989 (__timepunct::_M_put_helper): Change signature.
1990 (__timepunct::_M_date_formats): Same.
1991 (__timepunct::_M_time_formats): Same.
1992 (__timepunct::_M_ampm): Add.
1993 (__timepunct::_M_date_time_formats): Add.
1994 (time_get::_M_extract_via_format): Add.
1995 (time_get::_M_extract_time): Change to...
1996 (time_get::_M_extract_num): ... this, modify signature.
1997 * include/bits/locale_facets.tcc (time_get::do_get_year): Fix.
1998 (time_get::do_get_time): Fix.
1999 (time_get::do_get_date): Fix.
2001 * acinclude.m4: Remove CTIME_H.
2002 * aclocal.m4: Regenerate.
2003 * include/Makefile.am: Same.
2004 * include/Makefile.in: Regenerate.
2005 * configure: Regenerate.
2007 * testsuite/22_locale/time_get_members_char.cc: Fix.
2008 * testsuite/22_locale/time_get_members_wchar_t.cc: Add.
2009 * testsuite/22_locale/time_put_members_wchar_t.cc: Add.
2011 2001-10-01 Hans-Peter Nilsson <hp@axis.com>
2013 * config/cpu/cris/bits/atomicity.h: Correct file header.
2015 2001-09-29 Hans-Peter Nilsson <hp@axis.com>
2017 * configure.target (LIMITSH): Set for cris.
2018 (cpu_include_dir): Set for cris-*-*.
2019 * config/cpu/cris/bits/atomicity.h: New file.
2020 * config/cpu/cris/bits/limits.h: New file.
2022 2001-09-28 Benjamin Kosnik <bkoz@redhat.com>
2024 * config/locale/time_members_gnu.h (__timepunct::_M_get_helper): Add.
2025 (__timepunct::_M_put_helper): Add.
2026 * config/locale/time_members_generic.h: Same.
2027 * include/bits/locale_facets.h (__match_parallel): Remove. Format.
2028 (__timepunct): Add data members.
2029 (__timepunct::_M_days): Add.
2030 (__timepunct::_M_days_abbreviated): Add.
2031 (__timepunct::_M_months): Add.
2032 (__timepunct::_M_months_abbreviated): Add.
2033 (__timepunct::_M_initialize_timepunct): Add.
2034 * include/bits/locale_facets.tcc: Same.
2035 * src/locale-inst.cc: Remove instantiations for __match_parallel.
2036 * acinclude.m4 (GLIBCPP_ENABLE_CLOCALE): Add CTIME_CC.
2037 * aclocal.m4: Regenerate.
2038 * configure: Regenerate.
2039 * testsuite/22_locale/time_put_members_char.cc: Mark XFAIL.
2040 * testsuite/22_locale/time_put_members_char.cc (test01): New file.
2041 * testsuite/22_locale/time_get.cc: New file.
2043 2001-09-28 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
2045 * testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3-init): Use
2046 correct multilib builddir.
2047 Properly locate libgcc_s.
2049 2001-09-27 Phil Edwards <pme@gcc.gnu.org>
2051 * include/std/*: Add Doxygen hooks.
2052 * docs/doxygen/Intro.3: New file, general intro to the man pages.
2053 * docs/doxygen/mainpage.doxy: Formatting tweaks. List our own links
2054 rather than using a generated index.
2055 * docs/doxygen/user.cfg.in: Disable the index, enable man pages.
2056 * docs/doxygen/run_doxygen: Massage the generated man pages, using...
2057 * docs/doxygen/stdheader.cc: ...this new file.
2059 2001-09-26 Stan Shebs <shebs@apple.com>
2061 * include/Makefile.am: Remove RCS Id strings.
2062 * src/Makefile.am: Ditto.
2063 * docs/doxygen/run_doxygen: Ditto.
2064 * docs/html/configopts.html: Ditto.
2065 * docs/html/documentation.html: Ditto.
2066 * docs/html/explanations.html: Ditto.
2067 * docs/html/install.html: Ditto.
2068 * docs/html/17_intro/howto.html: Ditto.
2069 * docs/html/18_support/howto.html: Ditto.
2070 * docs/html/19_diagnostics/howto.html: Ditto.
2071 * docs/html/20_util/howto.html: Ditto.
2072 * docs/html/21_strings/howto.html: Ditto.
2073 * docs/html/22_locale/howto.html: Ditto.
2074 * docs/html/23_containers/howto.html: Ditto.
2075 * docs/html/24_iterators/howto.html: Ditto.
2076 * docs/html/25_algorithms/howto.html: Ditto.
2077 * docs/html/26_numerics/howto.html: Ditto.
2078 * docs/html/27_io/howto.html: Ditto.
2079 * docs/html/ext/howto.html: Ditto.
2080 * docs/html/ext/sgiexts.html: Ditto.
2081 * docs/html/faq/index.html: Ditto.
2082 * docs/html/faq/index.txt: Ditto.
2084 2001-09-25 Phil Edwards <pme@gcc.gnu.org>
2086 * testsuite/21_strings/c_strings.cc (test01, test02): Increase
2089 2001-09-25 Phil Edwards <pme@gcc.gnu.org>
2091 * docs/html/20_util/howto.html: Add anchor name.
2092 * docs/html/23_containers/howto.html: Line wrapping, another link.
2093 * docs/html/25_algorithms/howto.html: Another note.
2095 * docs/html/ext/howto.html: Link to SGI extensions. List DRs and
2097 * docs/html/ext/lwg-active.html: ...in this new file (from R19),
2098 * docs/html/ext/lwg-defects.html: and this new file (from R19).
2099 * docs/html/ext/sgiexts.html: New file. Mention SGI extensions
2100 carried over to libstdc++-v3.
2101 * docs/html/faq/index.html: Link to SGI extensions. Mention the
2102 "missing .." pseudobug.
2103 * docs/html/faq/index.txt: Regenerate.
2105 * include/bits/ios_base.h: DR-related comment cleanup.
2106 * include/bits/istream.tcc: Likewise.
2107 * include/bits/locale_facets.h: Likewise.
2108 * include/bits/locale_facets.tcc: Likewise.
2109 * include/bits/ostream.tcc: Likewise.
2110 * include/bits/std_bitset.h: Likewise.
2111 * include/bits/std_iosfwd.h: Likewise.
2112 * include/bits/std_istream.h: Likewise.
2113 * include/bits/std_ostream.h: Likewise.
2114 * include/bits/std_streambuf.h: Likewise.
2115 * include/bits/stl_pair.h: Likewise.
2116 * include/bits/streambuf_iterator.h: Likewise.
2118 * include/bits/std_map.h: Remove unused header inclusion guard
2119 _CPP_BITS_STL_TREE_H from around bits/stl_tree.h.
2120 * include/bits/std_set.h: Likewise.
2122 * include/bits/stl_function.h: Doxygen markup.
2123 * docs/doxygen/doxygroups.cc: New file, specifying module grouping.
2124 * libsupc++/typeinfo: Doxygen markup tweak.
2126 2001-09-20 Scott Johnston <scott@accom.com>
2127 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
2129 * include/backward/alloc.h: Conditionally define malloc_alloc
2130 * testsuite/backward/header_deque_h.cc: New file.
2132 2001-09-20 Sylvain Pion <Sylvain.Pion@sophia.inria.fr>
2134 * libstdc++-v3/include/bits/locale_facets.tcc (money_put::do_put):
2135 change variable name so that it works with -fno-for-scope.
2137 2001-09-20 Benjamin Kosnik <bkoz@redhat.com>
2139 * testsuite/22_locale/numpunct_members_char.cc (test01): Remove
2140 redundant sanity checks.
2141 * testsuite/22_locale/money_put_members_wchar_t.cc (test01): Same.
2143 * testsuite/22_locale/money_put_members_char.cc (test01): Same.
2145 * testsuite/22_locale/moneypunct_members_wchar_t.cc (test01): Same.
2146 * testsuite/22_locale/moneypunct_members_char.cc (test01): Same.
2147 * testsuite/22_locale/money_get_members_wchar_t.cc (test01): Same.
2149 * testsuite/22_locale/money_get_members_char.cc (test01): Same.
2152 2001-09-19 Benjamin Kosnik <bkoz@redhat.com>
2154 Implement std::time_put.
2155 * include/bits/locale_facets.h: Include time_members.h.
2157 (time_put): Implement.
2158 * include/bits/locale_facets.tcc (do_put): Put generic versions here.
2159 * include/bits/localefwd.h: Bump number of facets.
2160 * config/locale/time_members_generic.h: New file.
2161 * config/locale/time_members_gnu.h: New file.
2162 * config/locale/c_locale_generic.h: Include clocale.
2163 * src/locale-inst.cc: Add use_facet instantiations for __timepunct.
2164 * src/locale.cc: Add __timepunct initializations.
2165 * src/localename.cc (locale::_Impl::_Impl(string, size_t)): Same.
2166 * include/Makefile.am (stamp-target): Add time_members.h.
2167 * include/Makefile.in: Regenerate.
2168 * acinclude.m4 (GLIBCPP_ENABLE_CLOCALE): Add CTIME_H.
2169 * aclocal.m4: Regenerate.
2170 * configure: Regenerate.
2171 * testsuite/22_locale/time_put.cc: New file.
2172 * testsuite/22_locale/time_put_members_char.cc: New file.
2174 * docs/html/22_locale/locale.html: Add note.
2176 2001-09-17 Phil Edwards <pme@gcc.gnu.org>
2178 * docs/html/configopts.html: HTML to XHTML change. Lowercase tags.
2179 * docs/html/documentation.html: Likewise.
2180 * docs/html/explanations.html: Likewise.
2181 * docs/html/install.html: Likewise.
2182 * docs/html/17_intro/howto.html: Likewise.
2183 * docs/html/18_support/howto.html: Likewise.
2184 * docs/html/19_diagnostics/howto.html: Likewise.
2185 * docs/html/20_util/howto.html: Likewise.
2186 * docs/html/21_strings/howto.html: Likewise.
2187 * docs/html/22_locale/codecvt.html: Likewise.
2188 * docs/html/22_locale/ctype.html: Likewise.
2189 * docs/html/22_locale/howto.html: Likewise.
2190 * docs/html/22_locale/locale.html: Likewise.
2191 * docs/html/22_locale/messages.html: Likewise.
2192 * docs/html/23_containers/howto.html: Likewise.
2193 * docs/html/24_iterators/howto.html: Likewise.
2194 * docs/html/25_algorithms/howto.html: Likewise.
2195 * docs/html/26_numerics/howto.html: Likewise.
2196 * docs/html/27_io/howto.html: Likewise.
2197 * docs/html/ext/howto.html: Likewise.
2198 * docs/html/faq/index.html: Likewise.
2199 * docs/html/faq/index.txt: Regenerated.
2201 2001-09-14 Phil Edwards <pme@sources.redhat.com>
2203 * docs/html/17_intro/headers_cc.txt: "Sync"/copy real file over.
2204 * docs/html/17_intro/howto.html: Spacing and HTML markup fixes.
2205 * docs/html/18_support/howto.html: It won't compile; it's not code.
2206 * docs/html/19_diagnostics/howto.html: Point diagram seekers to
2208 * docs/html/22_locale/howto.html: Comment for future work.
2209 * docs/html/23_containers/howto.html: More comments.
2210 * docs/html/25_algorithms/howto.html: It's a comment, not a
2211 blunt command to the reader. (English grammar.)
2213 2001-09-14 Benjamin Kosnik <bkoz@redhat.com>
2215 * config/locale/moneypunct_members_gnu.cc: Fix initialization of
2217 * testsuite/22_locale/money_get_members_wchar_t.cc (test02): New file.
2218 * testsuite/22_locale/money_put_members_wchar_t.cc (test02): Fix.
2220 2001-09-14 Benjamin Kosnik <bkoz@redhat.com>
2222 * include/bits/locale_facets.tcc: Conditionalize use of strtold.
2224 2001-09-13 Alexandre Petit-Bianco <apbianco@redhat.com>
2226 * testsuite/22_locale/money_get_members_char.cc: Fixed typo in comment.
2227 * testsuite/22_locale/money_put_members_char.cc: Likewise.
2228 * testsuite/22_locale/money_put_members_wchar_t.cc: Likewise.
2230 2001-09-13 Benjamin Kosnik <bkoz@redhat.com>
2232 Implement std::money_get.
2233 * include/bits/locale_facets.tcc (money_get::do_get): Implement.
2234 * include/bits/locale_facets.h (money_get): Correct signatures.
2235 * testsuite/22_locale/money_get.cc: New file.
2236 * testsuite/22_locale/money_get_members_char.cc: New file.
2238 * include/bits/locale_facets.tcc (__verify_grouping): New
2239 function. Consolidate num_get and money_get group checking into
2241 (money_get): Use it.
2242 * src/locale.cc (num_get::_M_extract): Use it.
2243 * src/locale-inst.cc: Add instantiation.
2245 2001-09-12 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
2247 * include/bits/std_limits.h (numeric_limits<float>::radix,
2248 numeric_limits<float>::epsilon: Fix thinko.
2250 2001-09-10 Benjamin Kosnik <bkoz@redhat.com>
2252 * configure.in: Fix cross compiling math routines. Correct
2253 comments for cross compiling and limits. Add floating point math
2254 routines found in newlib.
2255 * configure: Regenerate.
2256 * acconfig.h: Add macros.
2257 * config.h.in: Regenerate.
2259 2001-09-10 Benjamin Kosnik <bkoz@redhat.com>
2261 * config/locale/moneypunct_members_generic.cc
2262 (money_base::_S_construct_pattern): Remove unused parameters.
2264 2001-09-10 Benjamin Kosnik <bkoz@redhat.com>
2266 * include/Makefile.am (stamp-target): Remove link to self.
2267 * inclulde/Makefile.in: Regenerate.
2269 2001-09-09 Benjamin Kosnik <bkoz@redhat.com>
2271 Implement std::money_put.
2272 * include/bits/locale_facets.h
2273 (moneypunct::_M_initialize_moneypunct): Split up specializations
2274 to account for _Intl. More grody hacking to get around the
2275 ill-considered use of const bool as a template parameter.
2276 * config/locale/moneypunct_members_gnu.cc: And here.
2277 * config/locale/moneypunct_members_generic.cc: And here.
2278 * testsuite/22_locale/moneypunct_members_char.cc: Add tests.
2279 * testsuite/22_locale/moneypunct.cc: Add tests.
2280 * testsuite/22_locale/money_put_members_wchar_t.cc: New file.
2281 * testsuite/22_locale/moneypunct_members_wchar_t.cc: New file.
2283 * src/locale.cc (money_base::_S_construct_pattern): Move into
2285 * config/locale/moneypunct_members_gnu.cc: Add here.
2286 * config/locale/moneypunct_members_generic.cc: Add generic version
2289 * include/bits/locale_facets.tcc (money_put::do_put): Move member
2290 function definitions here.
2291 * include/bits/locale_facets.h (money_put): Implement.
2292 * src/locale-inst.cc: Add use_facet instantiations for moneypunct.
2293 Correct money_get, money_put instantiations.
2294 * src/locale.cc (money_base::_S_construct_pattern): Handle case
2296 * testsuite/22_locale/money_put_members_char.cc: Add tests.
2298 2001-09-05 Phil Edwards <pme@sources.redhat.com>
2300 * testsuite_flags.in: No longer need to search testsuite builddir.
2301 * src/stl-inst.cc (__sink_unused_warning): Unused, remove.
2302 * Makefile.am: The testsuite directory never needs to be made here.
2303 * Makefile.in: Regenerate.
2304 * include/Makefile.in: Regenerate.
2305 * libio/Makefile.in: Regenerate.
2306 * libmath/Makefile.in: Regenerate.
2307 * libsupc++/Makefile.in: Regenerate.
2308 * po/Makefile.in: Regenerate.
2309 * src/Makefile.in: Regenerate.
2310 * testsuite/Makefile.in: Regenerate.
2312 2001-09-04 Scott Johnston <scott@accom.com>
2313 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
2315 * include/backward/iterator.h: Include <bits/std_iterator.h>,
2316 remove reverse_bidirectional_iterator.
2317 * testsuite/backward: New directory.
2318 * testsuite/backward/header_iterator_h.cc: New file.
2320 2001-09-04 Benjamin Kosnik <bkoz@redhat.com>
2322 * include/c_std/bits/std_c*.h: Don't use include_next.
2324 2001-09-03 Richard Sandiford <rsandifo@redhat.com>
2326 * libsupc++/eh_personality.cc (parse_lsda_header): Change type of
2327 tmp from _Unwind_Ptr to _Unwind_Word.
2329 2001-08-31 Jason Merrill <jason_merrill@redhat.com>
2331 * libsupc++/eh_personality.cc (PERSONALITY_FUNCTION): Simplify
2334 2001-08-28 Loren J. Rittle <ljrittle@acm.org>
2336 * include/Makefile.am: Use toplevel_srcdir to refer to src files
2337 outside this component.
2338 * include/Makefile.in: Regenerate.
2340 2001-08-27 Benjamin Kosnik <bkoz@redhat.com>
2342 * config/locale/c_locale_gnu.cc: Move facet info to separate files...
2343 * config/locale/c_locale_generic.cc: Same.
2344 * config/locale/moneypunct_members_gnu.cc: New file.
2345 * config/locale/moneypunct_members_generic.cc: New file.
2346 * config/locale/numpunct_members_gnu.cc: New file.
2347 * config/locale/numpunct_members_generic.cc: New file.
2348 * acinclude.m4 (GLIBCPP_ENABLE_CLOCALE): Add moneypunct, numpunct
2350 * aclocal.m4: Regenerate.
2351 * configure: Regenerate.
2352 * src/Makefile.am (sources): And here.
2353 * src/Makefile.in: Regenerate.
2355 Rename for consistency with rest of testsuite.
2356 * testsuite/22_locale/codecvt.cc: New file.
2357 * testsuite/22_locale/money_put.cc: New file.
2358 * testsuite/22_locale/money_put_members_char.cc: New file.
2360 2001-08-27 Phil Edwards <pme@sources.redhat.com>
2363 * acinclude.m4 (GLIBCPP_EXPORT_INSTALL_INFO): Handle enable/disable
2364 correctly for version-specific-runtime-libs.
2365 * aclocal.m4: Regenerate.
2366 * configure: Regenerate.
2368 2001-08-24 Loren J. Rittle <ljrittle@acm.org>
2370 * config/cpu/i386/bits/limits.h (__glibcpp_long_double_bits): Only
2371 define if not already provided by per-OS file.
2372 * config/os/bsd/freebsd/bits/os_defines.h (__glibcpp_long_double_bits):
2375 2001-08-24 Jan van Male <jan.vanmale@fenk.wau.nl>
2377 * docs/html/17_intro/C++STYLE: Fix typo.
2379 2001-08-24 Phil Edwards <pme@sources.redhat.com>
2381 * docs/html/23_containers/howto.html: Describe implementation of
2382 insertion with hints.
2384 2001-08-24 Kenny Simpson <kenny.simpson@gs.com>
2387 * include/bits/std_sstream.h (basic_ostringstream): Fix ctor.
2389 2001-08-24 Sylvain Pion <Sylvain.Pion@sophia.inria.fr>
2390 Phil Edwards <pme@sources.redhat.com>
2393 * include/bits/stl_tree.h (insert_unique): Revert last change.
2394 Values inserted at begin() must be less, not greater, than *begin()'s.
2395 * testsuite/23_containers/map_insert.cc: New file.
2397 2001-08-23 Benjamin Kosnik <bkoz@redhat.com>
2399 * config/locale/c_locale_gnu.cc: Minor tweaks.
2400 (moneypunct<wchar_t>): Implement.
2401 * include/bits/locale_facets.h: Same.
2402 * testsuite/22_locale/moneypunct.cc: New file.
2403 * testsuite/22_locale/moneypunct_byname.cc: New file.
2404 * testsuite/22_locale/moneypunct_char_members.cc: New file.
2406 2001-08-23 David Edelsohn <edelsohn@gnu.org>
2408 * config/os/gnu-linux/bits/os_defines.h: Correct __s390__ definitions.
2409 Set __powerpc__ long double definition based on __LONG_DOUBLE_128__.
2411 2001-08-23 Jason Merrill <jason_merrill@redhat.com>
2413 * testsuite_flags.in (build-includes): Re-add backward.
2415 2001-08-22 Benjamin Kosnik <bkoz@redhat.com>
2417 * testsuite/22_locale/collate_wchar_t_members.cc: Guard
2418 with _GLIBCPP_USE_WCHAR_T.
2420 2001-08-21 Benjamin Kosnik <bkoz@redhat.com>
2422 * testsuite/22_locale/collate_byname.cc (test01): Fix.
2424 2001-08-18 Vladimir A Merzliakov <wanderer@rsu.ru>
2426 * include/bits/locale_facets.tcc (collate::do_transform): Add typename.
2428 2001-08-18 Benjamin Kosnik <bkoz@redhat.com>
2430 * testsuite/22_locale/operators.cc: Add test.
2432 2001-08-17 Benjamin Kosnik <bkoz@redhat.com>
2434 Implement std::collate.
2435 * config/locale/collate_specializations_gnu.cc: Add here, implement in
2437 * config/locale/collate_specializations_generic.cc: Add here, but
2438 in a less sophisticated manner.
2439 * include/bits/locale_facets.tcc (collate): Add generic definition.
2440 * include/bits/locale_facets.h (~collate): Mark virtual.
2441 (collate::_M_compare_helper): New.
2442 (collate::_M_transform_helper): New.
2443 * src/locale.cc: Remove unnecessary specializations.
2444 * src/string-inst.cc: Tweak instantiation of ctors.
2446 * acinclude.m4 (GLIBCPP_ENABLE_CLOCALE): Do configury for collate.
2447 * aclocal.m4: Regenerate.
2448 * configure: Regenerate.
2449 * src/Makefile.am (sources): Add collate.cc.
2450 * src/Makefile.in: Regenerate.
2452 * testsuite/22_locale/collate_byname.cc: New.
2453 * testsuite/22_locale/collate.cc: New file.
2454 * testsuite/22_locale/collate_char_members.cc: New file.
2455 * testsuite/22_locale/collate_wchar_t_members.cc: New file.
2457 2001-08-16 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
2459 * configure.target: Set LIMITSH for powerpc-*-*.
2460 * config/cpu/powerpc/bits/limits.h: New file.
2462 2001-08-16 Marc Espie <espie@openbsd.org>
2464 * configure.in: Check for <sys/types.h>.
2465 * configure: Rebuild.
2466 * config.h.in: Rebuild.
2467 * libmath/mathconf.h: Include <sys/types.h> prior to
2468 <machine/endian.h> if available.
2470 2001-08-15 Andreas Schwab <schwab@suse.de>
2472 * configure.target (cpu_include_dir): Set to `config/cpu/m68k' for
2473 m68k and m680[246]0.
2474 * config/cpu/m68k/bits/atomicity.h: New file.
2476 * include/bits/std_limits.h [__glibcpp_long_double_bits == 96]:
2477 Define appropriate long double limits for m68k extended floating
2479 (__glibcpp_f32_digits10): Corrected, off by one.
2480 (__glibcpp_f80_digits10): Likewise.
2481 (__glibcpp_f128_digits10): Likewise.
2482 * config/os/gnu-linux/bits/os_defines.h
2483 (__glibcpp_long_double_bits) [__mc68000__]: Define to 96.
2485 2001-08-15 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
2487 * testsuite/18_support/numeric_limits.cc: Add more tests.
2488 * include/bits/std_limits.h (numeric_limits<char>::max): Fix
2491 2001-08-14 Ulrich Weigand <uweigand@de.ibm.com>
2493 * configure.target (cpu_include_dir): Set to `config/cpu/s390'
2496 * config/cpu/s390/bits/atomicity.h: New.
2498 2001-08-14 Gabriel Dos Reis <gdr@codesourcery.com>
2500 * include/bits/std_limits.h: Fix thinko.
2502 2001-08-14 Benjamin Kosnik <bkoz@redhat.com>
2504 * include/Makefile.am: Consolidate target rules. Don't clean stamp
2505 files. Tweak target build directory stamp.
2506 * include/Makefile.in: Regenerate.
2508 2001-08-14 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
2510 * libstdc++-v3/libmath/stubs.c: Fix PR/3988, replace
2511 _GBLICPP_HAVE_LOGL with HAVE_LOGL
2513 2001-08-13 Benjamin Kosnik <bkoz@redhat.com>
2515 * configure.in (libtool_VERSION): Add.
2516 (VERSION): Change to
2517 (release_VERSION): This.
2518 * configure: Regenerate.
2519 * src/Makefile.am (libstdc___la_LDFLAGS): Use -version-info with
2521 * src/Makefile.in: Regenerate.
2523 * intl/Makefile.am: Remove.
2524 * intl/Makefile.in: Remove.
2526 * Makefile.am (SUBDIRS): Remove intl.
2527 * po/Makefile.am (DISTFILES): Add string_literals.cc
2529 * po/string_literals.cc: Add.
2530 * po/POTFILES.in: Fix path.
2531 * acinclude.m4 (GLIBCPP_ENABLE_CLOCALE): Don't call AM_GNU_GETTEXT.
2532 * aclocal.m4: Regenerate.
2533 * configure.in: Remove AC_OUTPUT of intl/Makefile.
2535 * include/backward/backward_warning.h: Clarify message.
2537 * testsuite_flags.in (--cxxflags): Use same debug flags for
2538 library and testsuite.
2540 * include/Makefile.am (c_compatibility): Remove.
2541 * include/Makefile.in: Regenerate.
2543 2001-08-13 Mark Mitchell <mark@codesourcery.com>
2545 * configure.in (LIMITS_INC_SRCDIR): New variable.
2546 * configure.target (LIMITSH): New variable.
2547 * porting.texi: Discuss numeric limits.
2548 * config/cpu/generic/bits/limits.h: New file.
2549 * config/cpu/i386/bits/limits.h: New file.
2550 * include/Makefile.am: Install bits/limits.h.
2551 * include/bits/c++config: Include bits/limits.h.
2553 2001-08-13 H.J. Lu (hjl@gnu.org)
2555 * testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3-copy-files):
2557 (libstdc++-v3-init ): Use it.
2559 2001-08-13 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
2561 * include/bits/ostream.tcc (__pad_char): Change toplevel '__fmt'
2562 to '__adjust' to avoid shadowing in nested scope.
2564 2001-08-10 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
2566 * include/bits/std_limits.h(__glibcpp_char_is_signed): Use
2569 * config/os/gnu-linux/bits/os_defines.h(__glibcpp_char_is_signed):
2571 * config/os/aix/bits/os_defines.h(__glibcpp_plain_char_is_signed):
2574 2001-08-10 Loren J. Rittle <ljrittle@acm.org>
2576 * testsuite/testsuite_hooks.h (__set_testsuite_memlimit): Add
2577 dummy default argument to the non-limit implementation.
2580 * include/Makefile.am: Use relative file path in rule to allow
2582 * include/Makefile.in: Rebuilt.
2584 2001-08-10 Gunter Winkler <gunter.winkler@mathematik.tu-chemnitz.de>
2586 * include/bits/std_complex.h (complex<long double>::operator*=,
2587 complex<long double>::operator/=): Fix thinko.
2589 2001-08-10 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
2591 * include/bits/std_limits.h: New file.
2592 * include/Makefile.am (bits_headers): Add std_limits.h
2593 (all-local): std_limits.h is no longer built.
2594 (${target_builddir}/std_limits.h): Remove.
2595 * include/Makefile.in: Regenerate.
2596 * src/limits.cc: New file.
2597 * src/Makefile.am (sources): Add limits.cc in replacement of
2599 * src/Makefile.in: Regenerate.
2601 2001-08-09 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
2603 * src/gen-num-limits.cc (digits10): Fix thinko.
2605 2001-08-09 Benjamin Kosnik <bkoz@redhat.com>
2607 * po/Makefile.am (check-no): Add.
2609 * po/Makefile.in: Regenerate.
2611 2001-08-09 Benjamin Kosnik <bkoz@redhat.com>
2613 * acconfig.h (_GLIBCPP_MEM_LIMITS): Define.
2614 * config.h.in: Regenerate.
2615 * acinclude.m4 (GLIBCPP_CHECK_SETRLIMIT): Check for setrlimit
2617 * aclocal.m4: Regenerate.
2618 * configure.in: Remove duplicate AM_CONFIG_HEADER.
2619 (AM_CONFIG_HEADER): Remove testsuite/testsuite_hooks.h.
2620 Only call GLIBCPP_CHECK_SETRLIMIT for native compiles.
2621 * configure: Regenerate.
2622 * testsuite_hooks.h.in: Move to...
2623 * testsuite_hooks.h: Here, include c++config.h. Use it.
2625 * Makefile.am (SUBDIRS): Move testsuite to last directory.
2626 * Makefile.in: Regenerate.
2627 * po/Makefile.am (stamp-po): Add.
2629 2001-08-09 David Edelsohn <edelsohn@gnu.org>
2631 * config/os/aix/bits/os_defines.h: Define std_limits.h macros.
2632 * config/os/generic/bits/os_defines.h: Likewise.
2633 * config/os/gnu-linux/bits/os_defines.h: Likewise.
2634 * config/os/hpux/bits/os_defines.h: Likewise.
2635 * config/os/irix/irix6.5/bits/os_defines.h: Likewise.
2636 * config/os/solaris/solaris2.7/bits/os_defines.h: Likewise.
2638 2001-08-08 Benjamin Kosnik <bkoz@redhat.com>
2640 * src/Makefile.am (libstdc___la_LDFLAGS): Use -release instead of
2641 -version-info, use substituted VERSION info.
2642 * src/Makefile.in: Regenerate.
2644 2001-08-07 Benjamin Kosnik <bkoz@redhat.com>
2646 Implement std::messages.
2647 Make config a fully-nested directory.
2648 * config/locale: New directory.
2649 * config/c_locale_generic.cc: Move into locale subdirectory.
2650 * config/c_locale_generic.h: Same.
2651 * config/c_locale_gnu.cc: Same.
2652 * config/c_locale_gnu.h: Same.
2653 * config/c_locale_ieee_1003.1-200x.cc: Same.
2654 * config/c_locale_ieee_1003.1-200x_.h: Same.
2655 * config/codecvt_specializations_generic.h: Same.
2656 * config/codecvt_specializations_ieee_1003.1-200x.h: Same.
2657 * config/messages_members_gnu.h: Same.
2658 * config/messaages_members_gnu.cc: Same.
2659 * config/messages_members_generic.h: Same.
2660 * config/messaages_members_generic.cc: Same.
2661 * config/messages_members_ieee_1003.1-200x.h: Same.
2662 * config/messaages_members_ieee_1003.1-200x.cc: Same.
2663 * config/io: New directory.
2664 * config/basic_file_libio.h: Move into io subdirectory.
2665 * config/basic_file_libio.cc: Same.
2666 * config/c_io_libio.h: Same.
2667 * config/c_io_libio_codecvt.c: Same.
2668 * config/basic_file_stdio.h: Same.
2669 * config/basic_file_stdio.cc: Same.
2670 * config/c_io_stdio.h: Same.
2672 * po: New directory.
2673 * po/POTFILES.in: New file.
2674 * po/Makefile.am: New file.
2675 * po/Makefile.in: New file.
2676 * po/libstdc++.pot: Generic translation file.
2677 * po/fr.po: Preliminary French translation.
2678 * po/de.po: Preliminary German translation.
2679 * intl: New directory.
2680 * intl/Makefile.am: New file.
2681 * intl/Makefile.in: New file.
2682 * intl/string_literals.cc: New file.
2683 * acinclude.m4 (GLIBCPP_CONFIGURE): Bump VERSION to 3.1.0. Add
2684 requisite setup for gettext. Re-arrange.
2685 * aclocal.m4: Regenerate.
2686 * configure.in: Don't call GLIBCPP_CHECK_COMPILER_VERSION.
2687 Output Makefile bits for po and intl.
2688 * configure: Regenerate.
2689 * Makefile.am (SUBDIRS): Add intl, po. Add rule for dist.
2690 * Makefile.in: Regenerate.
2691 * acconfig.h: Add ENABLE_NLS, HAVE_CATGETS, HAVE_GETTEXT, HAVE_STPCPY.
2692 * config.h.in: Regenerate.
2694 * acinclude.m4 (AC_REPLACE_STRINGFUNCS): Remove.
2696 * include/Makefile.am (install-data-local): Don't install Makefile.
2697 * include/Makefile.in: Regenerate.
2699 * include/bits/locale_facet.h (locale::facet::_S_clone_c_locale):
2701 * config/locale/c_locale_gnu.cc (_S_clone_c_locale): Add definition.
2702 * config/locale/c_locale_generic.cc: Same.
2703 * config/locale/c_locale_ieee_1003.1-200x.cc: Same.
2705 * include/bits/codecvt.h: Excise non-standard, non-required
2706 bits. This includes __enc_traits, and partial specializations of
2707 codecvt for __enc_traits.
2708 * src/codecvt.cc (__enc_traits::_S_max_size): Guard
2709 * config/codecvt_partials_ieee_1003.1-200x.h: New file.
2710 * config/codecvt_partials_generic.h: New file.
2711 * include/Makefile.am (allstamps): Add stamp-codecvt_model.
2712 (stamp-codecvt_model): Add.
2713 * include/Makefile.in: Regenerate.
2714 * acinclude.m4 (GLIBCPP_ENABLE_CLOCALE): Add in codecvt configury.
2715 * aclocal.m4: Regenerate.
2716 * configure: Regenerate.
2717 * testsuite/22_locale/codecvt_unicode_wchar_t.cc: Use macro guard.
2718 * testsuite/22_locale/codecvt_unicode_char.cc: Same.
2719 * testsuite/22_locale/ctor_copy_dtor.cc: And here.
2721 * include/bits/localefwd.h (class locale::facet): Add __enc_traits
2722 as a friend for _S_*_c_locale functions.
2723 * include/bits/codecvt.h (__enc_traits::__enc_traits): Add locale
2724 argument to default constructor so that CODESET information can be
2726 * include/bits/locale_facets.h (messages_byname):
2727 Re-implement. Remove specializations.
2728 * src/locale.cc (messages_byname<char>): Remove specialization.
2729 (messages_byname<wchar_t>): Same.
2730 * config/locale/c_locale_ieee_1003.1-200x.cc: New file.
2731 * config/locale/c_locale_ieee_1003.1-200x.h: New file.
2732 * config/locale/messages_members_ieee_1003.1-200x.cc: New file.
2733 * config/locale/messages_members_ieee_1003.1-200x.h: New file.
2734 * config/locale/messages_members_gnu.cc: New file.
2735 * config/locale/messages_members_gnu.h: New file.
2736 * config/locale/messages_members_generic.cc: New file.
2737 * config/locale/messages_members_generic.h: New file.
2739 * docs/html/configopts.html: Add documentation for new locale
2740 model, ieee_1003.1. Adjust other flags for current defaults.
2741 * docs/html/22_locale/locale.html: Update.
2742 * docs/html/22_locale/howto.html: Add link to messages.html. Organize.
2743 * docs/html/22_locale/messages.html: New.
2745 * src/Makefile.am (sources): Add messages_virtuals.cc.
2746 * src/Makefile.in: Regenerate.
2747 * include/Makefile.am (allstamps): Add stamp-messages_model.
2748 (stamp-messages_model): Add.
2749 * include/Makefile.in: Regenerate.
2750 * acinclude.m4 (GLIBCPP_ENABLE_CLOCALE): Add in messages configury.
2751 * aclocal.m4: Regenerate.
2752 * configure: Regenerate.
2754 * testsuite_flags.in (--cxxflags): Add LOCALEDIR.
2755 * testsuite/lib/libstdc++-v3-dg.exp: Remove broken LD_LIBRARY_PATH
2757 * acinclude (GLIBCPP_ENABLE_CLOCALE): Set glibcpp_localedir to the
2758 build directories message catalog base directory, and export.
2759 Eventually this should probably be made to deal with build and
2760 install directories. For now, punt on this as the library itself
2761 doesn't use message catalogs (yet).
2762 * testsuite/22_locale/messages.cc: New file.
2763 * testsuite/22_locale/messages_char_members.cc: New file.
2764 * testsuite/22_locale/messages_byname.cc: New file.
2766 2001-08-06 Phil Edwards <pme@sources.redhat.com>
2768 * acinclude.m4 (GLIBCPP_CONFIGURE_TESTSUITE): New macro, calls...
2769 (GLIBCPP_CHECK_SETRLIMIT): ...this new macro, which also uses...
2770 (GLIBCPP_CHECK_SETRLIMIT_ancilliary): ...this new macro.
2771 * configure.in (AM_CONFIG_HEADER): Also generate testsuite_hooks.h.
2772 Call GLIBCPP_CONFIGURE_TESTSUITE.
2773 * aclocal.m4: Regenerate.
2774 * config.h.in: Regenerate.
2775 * configure: Regenerate.
2777 * testsuite/lib/libstdc++-v3-dg.exp: Download new header instead
2780 * testsuite_flags.in: Add build dir's testsuite to INCLUDES.
2781 * testsuite/debug_assert.h: Removed; contents merged into...
2782 * testsuite/testsuite_hooks.h.in: ...here. New file.
2783 * testsuite/17_intro/header_ciso646.cc: No longer include
2784 debug_assert.h, include testsuite_hooks.h instead.
2785 * testsuite/17_intro/header_fstream.cc: Likewise.
2786 * testsuite/17_intro/header_iomanip.cc: Likewise.
2787 * testsuite/17_intro/header_ios.cc: Likewise.
2788 * testsuite/17_intro/header_iosfwd.cc: Likewise.
2789 * testsuite/17_intro/header_iostream.cc: Likewise.
2790 * testsuite/17_intro/header_istream.cc: Likewise.
2791 * testsuite/17_intro/header_ostream.cc: Likewise.
2792 * testsuite/17_intro/header_sstream.cc: Likewise.
2793 * testsuite/17_intro/header_streambuf.cc: Likewise.
2794 * testsuite/18_support/numeric_limits.cc: Likewise.
2795 * testsuite/19_diagnostics/stdexceptions.cc: Likewise.
2796 * testsuite/20_util/allocator_members.cc: Likewise.
2797 * testsuite/20_util/auto_ptr.cc: Likewise.
2798 * testsuite/20_util/pairs.cc: Likewise.
2799 * testsuite/21_strings/append.cc: Likewise.
2800 * testsuite/21_strings/capacity.cc: Likewise.
2801 * testsuite/21_strings/char_traits_requirements.cc: Likewise.
2802 * testsuite/21_strings/compare.cc: Likewise.
2803 * testsuite/21_strings/ctor_copy_dtor.cc: Likewise. Also set up
2804 call to (disabled) __set_testsuite_memlimit() wrapper.
2805 * testsuite/21_strings/element_access.cc: Likewise.
2806 * testsuite/21_strings/find.cc: Likewise.
2807 * testsuite/21_strings/insert.cc: Likewise. Also set up call to
2808 (disabled) __set_testsuite_memlimit() wrapper.
2809 * testsuite/21_strings/inserters_extractors.cc: Likewise.
2810 * testsuite/21_strings/invariants.cc: Likewise.
2811 * testsuite/21_strings/nonmember.cc: Likewise.
2812 * testsuite/21_strings/operations.cc: Likewise.
2813 * testsuite/21_strings/replace.cc: Likewise.
2814 * testsuite/21_strings/rfind.cc: Likewise.
2815 * testsuite/21_strings/substr.cc: Likewise.
2816 * testsuite/22_locale/codecvt_char_char.cc: Likewise.
2817 * testsuite/22_locale/codecvt_unicode_char.cc: Likewise.
2818 * testsuite/22_locale/codecvt_unicode_wchar_t.cc: Likewise.
2819 * testsuite/22_locale/codecvt_wchar_t_char.cc: Likewise.
2820 * testsuite/22_locale/ctor_copy_dtor.cc: Likewise.
2821 * testsuite/22_locale/ctype_char_members.cc: Likewise.
2822 * testsuite/22_locale/ctype_wchar_t_members.cc: Likewise.
2823 * testsuite/22_locale/facet.cc: Likewise.
2824 * testsuite/22_locale/global_templates.cc: Likewise.
2825 * testsuite/22_locale/members.cc: Likewise.
2826 * testsuite/22_locale/numpunct_byname.cc: Likewise.
2827 * testsuite/22_locale/numpunct_char_members.cc: Likewise.
2828 * testsuite/22_locale/operators.cc: Likewise.
2829 * testsuite/22_locale/static_members.cc: Likewise.
2830 * testsuite/23_containers/bitset_ctor.cc: Likewise.
2831 * testsuite/23_containers/bitset_members.cc: Likewise.
2832 * testsuite/23_containers/bitset_shift.cc: Likewise.
2833 * testsuite/23_containers/vector_capacity.cc: Likewise.
2834 * testsuite/23_containers/vector_ctor.cc: Likewise.
2835 * testsuite/23_containers/vector_element_access.cc: Likewise.
2836 * testsuite/23_containers/vector_modifiers.cc: Likewise.
2837 * testsuite/24_iterators/istreambuf_iterator.cc: Likewise.
2838 * testsuite/24_iterators/iterator.cc: Likewise.
2839 * testsuite/24_iterators/ostreambuf_iterator.cc: Likewise.
2840 * testsuite/25_algorithms/binary_search.cc: Likewise.
2841 * testsuite/25_algorithms/copy.cc: Likewise.
2842 * testsuite/25_algorithms/heap.cc: Likewise.
2843 * testsuite/25_algorithms/lower_bound.cc: Likewise.
2844 * testsuite/25_algorithms/min_max.cc: Likewise.
2845 * testsuite/25_algorithms/partition.cc: Likewise.
2846 * testsuite/25_algorithms/rotate.cc: Likewise.
2847 * testsuite/25_algorithms/sort.cc: Likewise.
2848 * testsuite/26_numerics/c_math.cc: Likewise.
2849 * testsuite/26_numerics/complex_inserters_extractors.cc: Likewise.
2850 * testsuite/26_numerics/complex_value.cc: Likewise.
2851 * testsuite/27_io/filebuf.cc: Likewise.
2852 * testsuite/27_io/filebuf_members.cc: Likewise.
2853 * testsuite/27_io/filebuf_virtuals.cc: Likewise.
2854 * testsuite/27_io/fpos.cc: Likewise.
2855 * testsuite/27_io/fstream_members.cc: Likewise.
2856 * testsuite/27_io/ifstream_members.cc: Likewise.
2857 * testsuite/27_io/ios_base_callbacks.cc: Likewise.
2858 * testsuite/27_io/ios_base_members_static.cc: Likewise.
2859 * testsuite/27_io/ios_base_storage.cc: Likewise.
2860 * testsuite/27_io/ios_ctor.cc: Likewise.
2861 * testsuite/27_io/ios_init.cc: Likewise.
2862 * testsuite/27_io/ios_manip_basefield.cc: Likewise.
2863 * testsuite/27_io/ios_manip_fmtflags.cc: Likewise.
2864 * testsuite/27_io/ios_members.cc: Likewise.
2865 * testsuite/27_io/istream_extractor_arith.cc: Likewise.
2866 * testsuite/27_io/istream_extractor_char.cc: Likewise.
2867 * testsuite/27_io/istream_extractor_other.cc: Likewise.
2868 * testsuite/27_io/istream_manip.cc: Likewise.
2869 * testsuite/27_io/istream_seeks.cc: Likewise.
2870 * testsuite/27_io/istream_sentry.cc: Likewise.
2871 * testsuite/27_io/istream_unformatted.cc: Likewise.
2872 * testsuite/27_io/istringstream_members.cc: Likewise.
2873 * testsuite/27_io/narrow_stream_objects.cc: Likewise.
2874 * testsuite/27_io/ofstream_members.cc: Likewise.
2875 * testsuite/27_io/ostream_inserter_arith.cc: Likewise.
2876 * testsuite/27_io/ostream_inserter_char.cc: Likewise.
2877 * testsuite/27_io/ostream_inserter_other.cc: Likewise.
2878 * testsuite/27_io/ostream_manip.cc: Likewise.
2879 * testsuite/27_io/ostream_seeks.cc: Likewise.
2880 * testsuite/27_io/ostream_unformatted.cc: Likewise.
2881 * testsuite/27_io/ostringstream_members.cc: Likewise.
2882 * testsuite/27_io/streambuf.cc: Likewise.
2883 * testsuite/27_io/stringbuf.cc: Likewise.
2884 * testsuite/27_io/stringbuf_virtuals.cc: Likewise.
2885 * testsuite/27_io/stringstream.cc: Likewise.
2886 * testsuite/27_io/stringstream_members.cc: Likewise.
2887 * testsuite/27_io/wide_stream_objects.cc: Likewise.
2889 2001-07-31 Loren J. Rittle <ljrittle@acm.org>
2891 * src/gen-num-limits.cc: Use __LONG_LONG_MAX__.
2893 2001-07-30 Benjamin Kosnik <bkoz@redhat.com>
2895 * configure.target: Remove mips from cpu table.
2896 * config/cpu/mips/bits/atomicity.h: Remove generic
2897 versions. Comment sgidefs include.
2899 2001-07-25 H.J. Lu <hjl@gnu.org>
2901 * configure.target (cpu_include_dir): Set to `config/cpu/mips'
2904 * config/cpu/mips/bits/atomicity.h: New.
2906 2001-07-25 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
2908 * acinclude.m4: CHECK_MATH_DECL_AND_LINKAGE for hypot, hypotf,
2909 hypotl, atan2f, atan2l. Remove from REPLACE_MATHFUNCS list.
2910 * aclocal.m4: Regenerate.
2911 * config.h.in: Likewise.
2912 * configure: Likewise.
2913 * libmath/Makefile.am (EXTRA_LONG_DOUBLE_yes): Remove hypotl.c
2914 (EXTRA_DIST): Remove hypot.c hypotf.c.
2915 * libmath/Makefile.am: Regenerate.
2916 * libmath/hypotf.c: Remove.
2917 * libmath/hypot.c: Likewise.
2918 * libmath/hypotl.c: Likewise.
2919 * libmath/stubs.c: The macros seen here are HAVE_xxx, not
2920 _GLIBCPP_HAVE_xxx. Add long double versions.
2922 2001-07-23 David Edelsohn <edelsohn@gnu.org>
2924 * include/bits/limits_generic.h (int): Set digits and digits10
2925 appropriately for word size.
2926 (unsigned int,long,unsigned long): Likewise.
2928 2001-07-19 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
2930 * include/bits/stl_algo.h : Fix typos.
2931 * testsuite/25_algorithms/unique.cc: New file.
2933 2001-07-19 Phil Edwards <pme@sources.redhat.com>
2934 Mark Mitchell <mark@codesourcery.com>
2936 Merge from cp-parser-branch.
2937 * include/bits/basic_string.h: Qualify symbols with 'template'.
2938 * include/bits/basic_string.tcc: Likewise.
2939 * include/bits/fstream.tcc: Likewise.
2940 * include/bits/istream.tcc: Likewise.
2941 * include/bits/sstream.tcc: Likewise.
2942 * include/bits/std_istream.h: Likewise.
2943 * include/bits/stl_iterator.h: Likewise.
2944 * include/bits/streambuf.tcc: Likewise.
2945 * src/gen-num-limits.cc: Add 'template<>' to specializations.
2946 * src/locale.cc: Likewise.
2948 2001-07-19 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
2949 Bert De Knuydt <Bert.Deknuydt@esat.kuleuven.ac.be>
2951 * src/gen-num-limits.cc (set_signals_handler): New function.
2952 Factor out signals setting. Set signal handler for SIGILL.
2954 2001-07-18 Phil Edwards <pme@sources.redhat.com>
2956 * docs/html/27_io/howto.html: Fix typo.
2957 * docs/html/faq/index.html: Minor updates for 3.0 all around.
2958 * docs/html/faq/index.txt: Regenerated.
2960 2001-07-18 Stephen M. Webb <stephen@bregmasoft..com>
2961 Roman Sulzhyk <roman_sulzhyk@yahoo.com>
2964 * include/bits/ostream.tcc (ostream::put): Fixed error condition check.
2965 * testsuite/27_io/streambuf.cc (test07): Added new regression test.
2967 2001-07-17 Stephen M. Webb <stephen@bregmasoft.com>r
2969 All occurrences of the __value_type() and __distance_type()
2970 functions, which were required to support the HP STL, have been
2971 removed along with all the auxiliary forwarding functions that
2972 were required to support their use.
2974 The __iterator_category() function was pretty much left alone
2975 because there was no benefit to removing it and its use made code
2976 just a little more readable.
2978 Incidences of distance() with nonstandard argument list were
2979 replaced by calls to the standard function (only in the files
2980 affected by the removal of the other HP functions).
2982 The signature of the rotate() algorithm was changed to match the
2985 Headers were reformatted under C++STYLE guidelines (indentation,
2986 linebreaks, typename keyword).
2988 * include/bits/stl_algo.h: replaced __value_type() and
2989 __distance_type() with iterator_traits, eliminated auxiliary
2990 support functions required to support said function usage.
2991 Changed nonstandard distance() call to standard call.
2993 * include/bits/stl_algobase.h: Same.
2994 * include/bits/stl_heap.h: Same.
2995 * include/bits/stl_numeric.h: Same.
2996 * include/bits/stl_uninitialized.h: Same.
2997 * include/bits/stl_iterator_base_types.h (__value_type()):
2999 (__distance_type()): Removed.
3000 (value_type()): Gone.
3001 (distance_type()): Done in.
3002 (iterator_category()): Hasta la vista, baby.
3004 * include/bits/stl_iterator_base_funcs.h (iterator_category()):
3005 Replaced with __iterator_category().
3006 * include/backward/iterator.h: moved definition of value_type(),
3007 distance_type(), and iterator_category() out of std:: and into
3009 * testsuite/23_containers/vector_ctor.cc (test03): New testcases.
3010 * testsuite/23_containers/vector_modifiers.cc (test03): New testcases.
3011 * testsuite/25_algorithms/rotate.cc: New testcase.
3012 * testsuite/25_algorithms/copy.cc: New testcase.
3013 * testsuite/25_algorithms/sort.cc: Same.
3014 * testsuite/25_algorithms/heap.cc: Same.
3015 * testsuite/25_algorithms/partition.cc: Same.
3016 * testsuite/25_algorithms/binary_search.cc: Same.
3017 * testsuite/26_numerics/sum_diff.cc: Ditto.
3019 001-07-17 Benjamin Kosnik <bkoz@redhat.com>
3021 * testsuite/README: Add notes on naming test cases.
3022 * testsuite/22_locale/members.cc: Mark as xfail.
3023 * testsuite/22_locale/numpunct_char_members.cc: Same.
3025 2001-07-16 Stephen M. Webb <stephen@bregmasoft.com>
3027 * acinclude.m4 (GLIBCPP_ENABLE_CHEADERS): Use glibcpp_srcdir when
3028 setting C_INCLUDE_DIR.
3029 * configure.in: Revert yesterday's LN_S change.
3030 * aclocal.m4: Regenerate.
3031 * configure: Regenerate.
3033 2001-07-15 Phil Edwards <pme@sources.redhat.com>
3035 * configure.in: Temporarily force LN_S to copy instead of symlink.
3036 * configure: Regenerate.
3038 2001-07-13 Phil Edwards <pme@sources.redhat.com>
3040 * include/bits/std_sstream.h (basic_stringbuf::basic_stringbuf(string):
3041 Initialize _M_string with pointer-and-size constructor, not just
3042 pointer. Fix some comments.
3043 * testsuite/21_strings/ctor_copy_dtor.cc (test03): New test.
3044 * testsuite/27_io/stringbuf.cc (test02): Remove unused variable.
3045 (test03): Add embedded-NUL tests.
3047 * mkcheck.in: When printing totals, match the order of the tests.
3048 * include/bits/stringfwd.h: Use same declaration keywords.
3049 * include/bits/std_iosfwd.h: Cosmetic spacing.
3051 2001-07-13 Stephen M. Webb <stephen@bregmasoft.com>
3052 Loren J. Rittle <ljrittle@acm.org>
3053 Phil Edwards <pme@sources.redhat.com>
3055 * include/Makefile.am: New file encapsulating header generation rules.
3056 * Makefile.am (SUBDIRS): Prepend 'include' directory.
3057 * acinclude.m4: Moved/removed rules for building various headers.
3058 * configure.in (AC_OUTPUT): Add include/Makefile.
3059 * mkc++config: Removed.
3061 * testsuite_flags.in: Changed build-includes to match new scheme.
3062 * mknumeric_limits: Likewise.
3063 * libio/Makefile.am: Changed INCLUDES to maatch new header scheme.
3064 * libmath/Makefile.am: Likewise.
3065 * libsupc++/Makefile.am: Likewise.
3066 * src/Makefile.am: Likewise; removed rules to build headers.
3067 * libmath/mathconf.h: Changed #include'd header names to match.
3068 * libmath/stubs.c: Likewise.
3069 * src/gen-num-limits.cc: Likewise.
3071 * configure: Regenerated.
3072 * config.h.in: Regenerated.
3073 * aclocal.m4: Regenerated.
3074 * Makefile.in: Regenerated.
3075 * include/Makefile.in: Regenerated.
3076 * libio/Makefile.in: Regenerated.
3077 * libmath/Makefile.in: Regenerated.
3078 * libsupc++/Makefile.in: Regenerated.
3079 * src/Makefile.in: Regenerated.
3080 * testsuite/Makefile.in: Regenerated.
3082 2001-07-11 Felix Natter <fnatter@gmx.net>
3084 * docs/html/17_intro/porting-howto.xml: Initial checkin of
3086 * docs/html/17_intro/porting-howto.html: check in v0.9.3
3088 2001-07-11 Phil Edwards <pme@sources.redhat.com>
3090 * docs/doxygen/run_doxygen: Don't keep output from previous run.
3091 * docs/doxygen/user.cfg.in: Tweaks.
3092 * include/bits/c++config: Documentation comments for Doxygen.
3093 * include/bits/char_traits.h: Likewise.
3094 * include/bits/limits_generic.h: Likewise.
3095 * include/bits/std_stdexcept.h: Likewise.
3096 * include/bits/stl_pair.h: Likewise.
3097 * libsupc++/exception: Likewise.
3098 * libsupc++/new: Likewise.
3099 * libsupc++/typeinfo: Likewise.
3100 * libmath/Makefile.am: Update and correct copyright.
3102 2001-07-10 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
3104 * acinclude.m4: Don't AC_REPLACE_MATHFUNCS expf and atan2f.
3105 * aclocal.m4: Regenerate.
3108 2001-07-09 Phil Edwards <pme@sources.redhat.com>
3110 * docs/html/configopts.html: Fix thinko.
3111 * docs/html/27_io/howto.html: Fix thinko and HTML markup.
3112 * include/bits/stl_iterator.h: Fix typo.
3114 2001-07-09 Phil Edwards <pme@sources.redhat.com>
3116 * docs/html/explanations.html: New file.
3117 * docs/html/configopts.html: Link to it to provide more notes
3118 on cstdio. Minor markup and spacing fixes.
3119 * docs/html/27_io/howto.html: Talk about sync_with_stdio.
3121 2001-07-09 Kriang Lerdsuwanakij <lerdsuwa@users.sourceforge.net>
3123 * include/bits/valarray_meta.h (_Expr::operator+): Use qualified id
3124 for _Expr template template argument.
3125 (_Expr::operator-): Likewise.
3126 (_Expr::operator~): Likewise.
3127 (_Expr::operator!): Likewise.
3128 (_DEFINE_EXPR_UNARY_OPERATOR): Likewise.
3130 2001-07-06 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
3132 * libmath/Makefile.am (EXTRA_DIST): Remove atan2f.c and expf.c
3133 * libmath/Makefile.in: Regenerate.
3134 * libmath/expf.c: Remove.
3135 * libmath/atan2f.c: Likewise.
3137 2001-07-06 Daniel Jacobowitz <drow@mvista.com>
3139 * configure.in: Remove NATIVE, NULL_TARGET.
3140 Set CANADIAN only for Canadian crosses. Set xcompiling
3141 for both Canadian crosses and host-x-host crosses.
3142 * configure: Regenerated.
3144 2001-07-06 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
3146 * include/bits/stl_vector.h (vector::_M_initialize_aux): Fix typo.
3148 2001-07-05 Jason Merrill <jason_merrill@redhat.com>
3150 * testsuite_flags.in (--build-includes): backward, not backwards.
3152 2001-07-04 Jeffrey Oldham <oldham@codesourcery.com>
3154 * include/ext/ropeimpl.h (_Rope_RopeRep::_M_free_c_string):
3155 Replace destroy by _Destroy.
3156 (_Rope_RopeRep::_S_free_string): Likewise.
3157 (rope::c_str()): Likewise.
3158 * include/ext/slist (_Slist_base::_M_erase_after>): Likewise.
3159 (_Slist_base::_M_erase_after): Likewise.
3160 (slist::_M_create_node): Replace construct by _Construct.
3161 (slist::pop_front): Replace destroy by _Destroy.
3162 * include/ext/stl_hashtable.h (hashtable::_M_new_node): Replace
3163 construct by _Construct.
3164 (hashtable::_M_delete_node): Replace destroy by _Destroy.
3165 * include/ext/stl_rope.h (rope::rope): Replace construct by
3167 (rope::copy): Replace destroy by _Destroy.
3169 2001-07-03 Benjamin Kosnik <bkoz@redhat.com>
3171 * include/bits/localefwd.h: Format.
3172 * include/bits/locale_facts.tcc (locale::combine): Adjust.
3173 * src/locale.cc (locale::locale::(_Impl)): Don't call
3175 (locale::facet::_M_remove_reference): Simplify.
3176 * src/globals.cc (locale_impl_c): New. Format.
3178 * src/ios.cc (ios_base::Init::Init): Increment _S_ios_base_init last.
3180 2001-07-02 Loren J. Rittle <ljrittle@acm.org>
3182 * acinclude.m4 (GLIBCPP_ENABLE_THREADS): Protect variable from shell
3183 expansion (thanks to Alexandre Oliva).
3184 * aclocal.m4: Regenerate.
3185 * configure: Regenerate.
3187 2001-07-02 Benjamin Kosnik <bkoz@redhat.com>
3189 * src/locale.cc (locale::locale(const char*)): Make sure global
3190 locales are initialized.
3191 * include/bits/locale_facets.tcc (locale::combine): Refcout should
3192 be zero, not one as it's return-by-value.
3193 * testsuite/27_io/ios_base_callbacks.cc (test01): Don't check for
3195 * testsuite/22_locale/ctor_copy_dtor.cc (test01): Instead, check
3198 * libsupc++/eh_alloc.cc: Use climits, not limits.h.
3200 2001-07-02 Loren J. Rittle <ljrittle@acm.org>
3203 * acinclude.m4 (GLIBCPP_ENABLE_THREADS): Portability enhancement.
3204 * aclocal.m4: Regenerate.
3205 * configure: Regenerate.
3207 2001-07-02 Loren J. Rittle <ljrittle@acm.org>
3210 * acinclude.m4 (GLIBCPP_ENABLE_THREADS): Add relative path to
3211 staged/installed area to support -I-. Document.
3212 * aclocal.m4: Regenerate.
3213 * configure: Regenerate.
3215 2001-07-02 Loren J. Rittle <ljrittle@acm.org>
3218 * src/ios.cc (ios_base::Init::_S_ios_create): Rename __bufsize to
3219 __out_bufsize. Add __in_bufsize, document it and use it.
3221 2001-07-01 Stephen M. Webb <stephen@bregmasoft.com>
3223 * include/bits/stl_construct.h (construct): Remove.
3225 (__destroy): Replaced by use of iterator_traits.
3226 * include/bits/stl_deque.h: replaced HP iterator functions with
3228 (construct): changed to _Construct.
3229 (destroy): changed to _Destroy.
3230 * include/bits/stl_tempbuf.h: Same.
3231 * include/bits/stl_tree.h: Same.
3232 * include/bits/stl_vector.h: Same.
3233 * include/backward/iterator.h (construct): moved definition to here.
3236 2001-06-29 Benjamin Kosnik <bkoz@redhat.com>
3238 * include/bits/locale_facets.tcc (locale::combine): Clone _Impl.
3239 before replacing facet.
3240 * include/bits/localefwd.h (locale::_Impl::_M_remove_reference):
3242 * src/localename.cc (locale::_Impl): Correct ctor initialization
3243 lists. Initialize ref count with one. Simplify.
3244 * src/locale.cc: Add comment.
3245 * testsuite/22_locale/numpunct.cc (test01): Add derivation test.
3246 * testsuite/22_locale/numpunct_char_members.cc (test01): Add tests.
3247 * testsuite/22_locale/members.cc (test02): Fix.
3249 2001-06-27 Phil Edwards <pme@sources.redhat.com>
3251 * include/backward/algo.h: Add "GPL plus runtime exception" comment
3252 block, this time for real.
3253 * include/backward/algobase.h: Likewise.
3254 * include/backward/alloc.h: Likewise.
3255 * include/backward/bvector.h: Likewise.
3256 * include/backward/defalloc.h: Likewise.
3257 * include/backward/deque.h: Likewise.
3258 * include/backward/function.h: Likewise.
3259 * include/backward/hash_map.h: Likewise.
3260 * include/backward/hash_set.h: Likewise.
3261 * include/backward/hashtable.h: Likewise.
3262 * include/backward/heap.h: Likewise.
3263 * include/backward/iterator.h: Likewise.
3264 * include/backward/list.h: Likewise.
3265 * include/backward/map.h: Likewise.
3266 * include/backward/multimap.h: Likewise.
3267 * include/backward/multiset.h: Likewise.
3268 * include/backward/pair.h: Likewise.
3269 * include/backward/rope.h: Likewise.
3270 * include/backward/set.h: Likewise.
3271 * include/backward/slist.h: Likewise.
3272 * include/backward/stack.h: Likewise.
3273 * include/backward/strstream: Likewise.
3274 * include/backward/tempbuf.h: Likewise.
3275 * include/backward/tree.h: Likewise.
3276 * include/backward/vector.h: Likewise.
3277 * include/bits/pthread_allocimpl.h: Likewise.
3278 * include/bits/std_algorithm.h: Likewise.
3279 * include/bits/std_bitset.h: Likewise.
3280 * include/bits/std_deque.h: Likewise.
3281 * include/bits/std_functional.h: Likewise.
3282 * include/bits/std_iterator.h: Likewise.
3283 * include/bits/std_list.h: Likewise.
3284 * include/bits/std_map.h: Likewise.
3285 * include/bits/std_memory.h: Likewise.
3286 * include/bits/std_numeric.h: Likewise.
3287 * include/bits/std_queue.h: Likewise.
3288 * include/bits/std_set.h: Likewise.
3289 * include/bits/std_stack.h: Likewise.
3290 * include/bits/std_utility.h: Likewise.
3291 * include/bits/std_vector.h: Likewise.
3292 * include/bits/stl_algo.h: Likewise.
3293 * include/bits/stl_algobase.h: Likewise.
3294 * include/bits/stl_alloc.h: Likewise.
3295 * include/bits/stl_bvector.h: Likewise.
3296 * include/bits/stl_construct.h: Likewise.
3297 * include/bits/stl_deque.h: Likewise.
3298 * include/bits/stl_function.h: Likewise.
3299 * include/bits/stl_heap.h: Likewise.
3300 * include/bits/stl_iterator.h: Likewise.
3301 * include/bits/stl_iterator_base_funcs.h: Likewise.
3302 * include/bits/stl_iterator_base_types.h: Likewise.
3303 * include/bits/stl_list.h: Likewise.
3304 * include/bits/stl_map.h: Likewise.
3305 * include/bits/stl_multimap.h: Likewise.
3306 * include/bits/stl_multiset.h: Likewise.
3307 * include/bits/stl_numeric.h: Likewise.
3308 * include/bits/stl_pair.h: Likewise.
3309 * include/bits/stl_pthread_alloc.h: Likewise.
3310 * include/bits/stl_queue.h: Likewise.
3311 * include/bits/stl_raw_storage_iter.h: Likewise.
3312 * include/bits/stl_relops.h: Likewise.
3313 * include/bits/stl_set.h: Likewise.
3314 * include/bits/stl_stack.h: Likewise.
3315 * include/bits/stl_tempbuf.h: Likewise.
3316 * include/bits/stl_threads.h: Likewise.
3317 * include/bits/stl_tree.h: Likewise.
3318 * include/bits/stl_uninitialized.h: Likewise.
3319 * include/bits/stl_vector.h: Likewise.
3320 * include/bits/type_traits.h: Likewise.
3321 * include/ext/hash_map: Likewise.
3322 * include/ext/hash_set: Likewise.
3323 * include/ext/rope: Likewise.
3324 * include/ext/ropeimpl.h: Likewise.
3325 * include/ext/slist: Likewise.
3326 * include/ext/stl_hash_fun.h: Likewise.
3327 * include/ext/stl_hashtable.h: Likewise.
3328 * include/ext/stl_rope.h: Likewise.
3329 * src/bitset.cc: Likewise.
3330 * src/strstream.cc: Likewise.
3332 2001-06-26 Benjamin Kosnik <bkoz@redhat.com>
3333 <vakatov@ncbi.nlm.nih.gov>
3336 * include/bits/streambuf.tcc (__copy_streambufs): Don't set eofbit.
3337 * testsuite/27_io/ostream_inserter_other.cc (test04): Add test.
3338 * testsuite/27_io/istream_extractor_other.cc: Fix.
3340 2001-06-26 Zoltan Hidvegi <hzoli@austin.ibm.com>
3342 * acinclude.m4 (glibcpp_toolexeclibdir): Make multilib safe.
3343 * aclocal.m4: Regenerate.
3344 * configure: Regenerate.
3346 2001-06-26 Benjamin Kosnik <bkoz@redhat.com>
3348 * include/bits/stream_iterator.h (istream_iterator): Add copy ctor.
3349 (ostream_iterator): Same.
3350 * include/bits/stl_iterator.h (front_insert_iterator::operator=):
3351 Change argument to const_reference.
3352 (back_insert_iterator): Same.
3354 2001-06-26 Benjamin Kosnik <bkoz@redhat.com>
3356 * include/bits/sbuf_iter.h: Change to..
3357 * include/bits/streambuf_iterator.h: This.
3358 * include/bits/stl_iterator.h: Take out of here...
3359 * include/bits/stream_iterator.h: Add.
3360 * src/Makefile.am (base_headers): Add streambuf_iterator,
3362 * src/Makefile.in: Regenerate.
3363 * include/bits/std_string.h: Adjust includes.
3364 * include/bits/basic_ios.h: Same.
3365 * include/bits/locale_facets.tcc: Same.
3366 * include/bits/std_iosfwd.h: Same.
3368 * include/bits/std_iterator.h: Add istream, ostream includes.
3369 * include/bits/stl_iterator.h: Tweak.
3370 * testsuite/24_iterators/ostream_iterator.cc: Add test.
3371 * testsuite/24_iterators/istream_iterator.cc: Same.
3372 * testsuite/23_containers/multiset.cc: Add iterator include.
3374 2001-06-26 Phil Edwards <pme@sources.redhat.com>
3376 * acinclude.m4: Clean extraneous tabs, rewrap 'test' lines.
3377 * aclocal.m4: Regenerate.
3378 * configure: Regenerate.
3380 2001-06-26 Felix Natter <f.natter@ndh.net>
3382 * docs/html/17_intro/porting-howto.html: Fixed some errors.
3384 2001-06-26 Benjamin Kosnik <bkoz@redhat.com>
3386 * include/bits/stl_iterator.h (istream_iterator::operator->): Fix
3388 (istream_iterator::operator*): Same.
3390 2001-06-26 Benjamin Kosnik <bkoz@redhat.com>
3391 Alexandre Petit-Bianco <apbianco@redhat.com>
3393 * testsuite/21_strings/element_access.cc (test01): Chill Out Cafe
3394 is on 41st, not 14th.
3396 2001-06-26 Benjamin Kosnik <bkoz@redhat.com>
3398 * include/bits/std_iterator.h: Include sbuf_iter.h via std_ios.h.
3400 * include/bits/stl_iterator.h (istream_iterator): Inherit from
3402 (ostream_iterator): Same.
3403 * testsuite/24_iterators/istream_iterator.cc: New file.
3404 * testsuite/24_iterators/ostream_iterator.cc: New file.
3406 * include/bits/sbuf_iter.h: Remove self typedef.
3407 * testsuite/24_iterators/ostreambuf_iterator.cc: Add test.
3408 * testsuite/24_iterators/istreambuf_iterator.cc: Add test.
3410 * include/bits/stl_iterator.h (reverse_iterator): Remove
3411 extraneous typedefs. Add typename.
3412 (__normal_iterator): Remove typedefs referring to self. Add typename.
3413 (reverse_bidiretional_iterator): Remove, not longer required.
3415 2001-06-26 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
3417 * include/bits/stl_iterator.h (__normal_iterator<>): Qualify
3418 dependent names with `typename'. Bring in various required
3419 iterator_traits members. Can't imagine why that used to work.
3421 2001-06-25 Phil Edwards <pme@sources.redhat.com>
3422 Kurt Garloff <garloff@suse.de>
3425 * src/cmath.cc: New [version of an old] file; instantiate
3426 __cmath_power to start with.
3427 * src/Makefile.am (sources): Add cmath.cc (and alphabetize).
3428 * Makefile.in: Regenerate.
3429 * libio/Makefile.in: Regenerate.
3430 * libmath/Makefile.in: Regenerate.
3431 * libsupc++/Makefile.in: Regenerate.
3432 * src/Makefile.in: Regenerate.
3433 * testsuite/Makefile.in: Regenerate.
3435 2001-06-24 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
3437 * libmath/stubs.c: Fix thinko.
3439 2001-06-24 David Edelsohn <dje@watson.ibm.com>
3441 * libmath/stubs.c (sqrtf): Define.
3442 (tanf): Correct typo.
3444 2001-06-22 Benjamin Kosnik <bkoz@redhat.com>
3446 * include/bits/stl_iterator.h (reverse_iterator): Inherit from
3448 (back_insert_iterator): Same.
3449 (front_insert_iterator): Same.
3450 (insert_iterator): Same.
3452 * testsuite/20_util/raw_storage_iterator.cc: Modify.
3453 * testsuite/24_iterators/reverse_iterator.cc: New file.
3454 * testsuite/24_iterators/back_insert_iterator.cc: New file.
3455 * testsuite/24_iterators/front_insert_iterator.cc: New file.
3456 * testsuite/24_iterators/insert_iterator.cc: New file.
3458 2001-06-22 Phil Edwards <pme@sources.redhat.com>
3460 * include/*: Revert comment/license change from yesterday for all
3461 except libsupc++/unwind-cxx.h.
3462 * src/bitset.cc: Likewise.
3463 * src/strstream.cc: Likewise.
3465 2001-06-22 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
3467 * libmath/stubs.c: New file.
3471 * libmath/Makefile.am (libmath_la_SOURCES): Add.
3472 * libmath/Makefile.in. Regenerate.
3474 2001-06-21 Phil Edwards <pme@sources.redhat.com>
3476 * include/backward/algo.h: Add "GPL plus runtime exception" comment.
3477 * include/backward/algobase.h: Likewise.
3478 * include/backward/alloc.h: Likewise.
3479 * include/backward/bvector.h: Likewise.
3480 * include/backward/defalloc.h: Likewise.
3481 * include/backward/deque.h: Likewise.
3482 * include/backward/function.h: Likewise.
3483 * include/backward/hash_map.h: Likewise.
3484 * include/backward/hash_set.h: Likewise.
3485 * include/backward/hashtable.h: Likewise.
3486 * include/backward/heap.h: Likewise.
3487 * include/backward/iterator.h: Likewise.
3488 * include/backward/list.h: Likewise.
3489 * include/backward/map.h: Likewise.
3490 * include/backward/multimap.h: Likewise.
3491 * include/backward/multiset.h: Likewise.
3492 * include/backward/pair.h: Likewise.
3493 * include/backward/rope.h: Likewise.
3494 * include/backward/set.h: Likewise.
3495 * include/backward/slist.h: Likewise.
3496 * include/backward/stack.h: Likewise.
3497 * include/backward/strstream: Likewise.
3498 * include/backward/tempbuf.h: Likewise.
3499 * include/backward/tree.h: Likewise.
3500 * include/backward/vector.h: Likewise.
3501 * include/bits/pthread_allocimpl.h: Likewise.
3502 * include/bits/std_algorithm.h: Likewise.
3503 * include/bits/std_bitset.h: Likewise.
3504 * include/bits/std_deque.h: Likewise.
3505 * include/bits/std_functional.h: Likewise.
3506 * include/bits/std_iterator.h: Likewise.
3507 * include/bits/std_list.h: Likewise.
3508 * include/bits/std_map.h: Likewise.
3509 * include/bits/std_memory.h: Likewise.
3510 * include/bits/std_numeric.h: Likewise.
3511 * include/bits/std_queue.h: Likewise.
3512 * include/bits/std_set.h: Likewise.
3513 * include/bits/std_stack.h: Likewise.
3514 * include/bits/std_utility.h: Likewise.
3515 * include/bits/std_vector.h: Likewise.
3516 * include/bits/stl_algo.h: Likewise.
3517 * include/bits/stl_algobase.h: Likewise.
3518 * include/bits/stl_alloc.h: Likewise.
3519 * include/bits/stl_bvector.h: Likewise.
3520 * include/bits/stl_construct.h: Likewise.
3521 * include/bits/stl_deque.h: Likewise.
3522 * include/bits/stl_function.h: Likewise.
3523 * include/bits/stl_heap.h: Likewise.
3524 * include/bits/stl_iterator.h: Likewise.
3525 * include/bits/stl_iterator_base_funcs.h: Likewise.
3526 * include/bits/stl_iterator_base_types.h: Likewise.
3527 * include/bits/stl_list.h: Likewise.
3528 * include/bits/stl_map.h: Likewise.
3529 * include/bits/stl_multimap.h: Likewise.
3530 * include/bits/stl_multiset.h: Likewise.
3531 * include/bits/stl_numeric.h: Likewise.
3532 * include/bits/stl_pair.h: Likewise.
3533 * include/bits/stl_pthread_alloc.h: Likewise.
3534 * include/bits/stl_queue.h: Likewise.
3535 * include/bits/stl_raw_storage_iter.h: Likewise.
3536 * include/bits/stl_relops.h: Likewise.
3537 * include/bits/stl_set.h: Likewise.
3538 * include/bits/stl_stack.h: Likewise.
3539 * include/bits/stl_tempbuf.h: Likewise.
3540 * include/bits/stl_threads.h: Likewise.
3541 * include/bits/stl_tree.h: Likewise.
3542 * include/bits/stl_uninitialized.h: Likewise.
3543 * include/bits/stl_vector.h: Likewise.
3544 * include/bits/type_traits.h: Likewise.
3545 * include/ext/hash_map: Likewise.
3546 * include/ext/hash_set: Likewise.
3547 * include/ext/rope: Likewise.
3548 * include/ext/ropeimpl.h: Likewise.
3549 * include/ext/slist: Likewise.
3550 * include/ext/stl_hash_fun.h: Likewise.
3551 * include/ext/stl_hashtable.h: Likewise.
3552 * include/ext/stl_rope.h: Likewise.
3553 * libsupc++/unwind-cxx.h: Likewise.
3554 * src/bitset.cc: Likewise.
3555 * src/strstream.cc: Likewise.
3557 2001-06-21 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
3559 * include/bits/indirect_array.h (indirect_array<>::operator=):
3560 Make copy and assignment operator public. Implement. Format.
3562 * include/bits/valarray_array.h (__valarray_copy): Add overloads
3563 for copy between index arrays. Format.
3565 2001-06-19 Benjamin Kosnik <bkoz@redhat.com>
3567 * mknumeric_limits: Add static definitions, format.
3568 * testsuite/18_support/numeric_limits.cc (test02): Add test.
3570 * include/c_std/bits/std_cwchar.h: Include ctime.
3571 * testsuite/17_intro/header_cwchar.cc : Check.
3573 * include/c_std/bits/std_cwctype.h: Inject wctype.
3574 * testsuite/17_intro/header_cwctype.cc: Update.
3576 2001-06-18 Benjamin Kosnik <bkoz@redhat.com>
3578 * include/bits/stl_raw_storage_iter.h: Format. Correct derivation.
3579 * testsuite/20_util/raw_storage_iterator.cc: Same.
3581 * include/bits/stl_alloc.h (_S_chunk_alloc): Change malloc to
3583 (__mem_interface): New typedef for switching between malloc and new.
3584 * testsuite/20_util/allocator_members.cc: New file.
3586 * testsuite/20_util/comparisons.cc: New file.
3587 * testsuite/20_util/pairs.cc: New file.
3589 2001-06-15 Phil Edwards <pme@sources.redhat.com>
3591 * docs/html/documentation.html: Point to new doxygen'ed collection.
3593 2001-06-14 Nathan Sidwell <nathan@codesourcery.com>
3595 * configure.in (auxdir): Replace by ...
3596 (toprel): ... new variable.
3597 (toplevel_srcdir): Construct from $toprel.
3598 * acinclude.m4 (GLIBCPP_ENABLE_THREADS): Use $toprel
3599 rather than .. to locate gcc source directory.
3600 (GLIBCPP_CONFIGURE): Replace $auxdir with $srcdir/$toprel.
3601 * aclocal.m4, configure: Rebuilt.
3603 2001-06-13 John David Anglin <dave@hiauly1.hia.nrc.ca>
3605 (Approved by Mark and Benjamin. Applied by Loren.)
3607 * src/globals.cc: Define globals _GLIBCPP_mutex_init (),
3608 _GLIBCPP_mutex_address_init (), _GLIBCPP_once, _GLIBCPP_mutex
3609 and _GLIBCPP_mutex_address.
3610 * include/bits/stl_threads.h (_STL_mutex_lock): Use above to provide
3611 once-only runtime initialization of _M_lock mutex when
3612 __GTHREAD_MUTEX_INIT_FUNCTION is defined.
3613 (__STL_MUTEX_INITIALIZER): Provide initializer for _STL_mutex_lock
3614 for __GTHREAD_MUTEX_INIT_FUNCTION case.
3616 2001-06-13 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
3618 * testsuite/26_numerics/slice_array_assignment.cc (main): New test.
3620 * include/bits/slice_array.h (slice_array<>::operator=): Make
3621 public and implement.
3622 (slice_array<>::slice_array): Make copy-constructor public.
3624 * include/bits/valarray_array.h (__valarray_copy): Add another
3625 overload to copy between strided arrays.
3627 2001-06-13 Benjamin Kosnik <bkoz@redhat.com>
3629 * acinclude.m4 (GLIBCPP_CONFIGURE): Bump version to 3.0.0.
3630 * aclocal.m4: Regenerate.
3631 * configure: Regenerate.
3632 * include/bits/c++config (__GLIBCPP__): Update date.
3634 2001-06-12 Benjamin Kosnik <bkoz@redhat.com>
3636 * include/bits/fpos.h (fpos::operator-): Don't return reference,
3637 return original, non-modified version.
3638 (fpos::operator+): Same.
3639 * testsuite/27_io/fpos.cc: Add test.
3641 2001-06-12 Loren J. Rittle <ljrittle@acm.org>
3644 * porting.texi: Add documentation about libstdc++-v3-specific
3645 macros that are currently included in os_defines.h files.
3647 * config/basic_file_stdio.h (sys_getc): New method.
3648 (sys_ungetc): New method.
3649 * include/bits/basic_file.h: (sys_getc): New method signature.
3650 (sys_ungetc): New method signature.
3652 * include/bits/fstream.tcc (underflow): Add conditional code
3653 paths which avoid using short seeks on streams (especially
3654 useful when the stream might be interactive or a pipe). At
3655 the moment, this alternate path only avoids seeking when the
3656 ``buffer size'' of underflow() is 1 since the C standard only
3657 guarantees buffer space for one ungetc (this technique could
3658 be extended since *-*-solaris* supports buffering for 4 calls
3659 to ungetc and *-*-*bsd* supports buffering limited only by
3660 memory resources). Also, _GLIBCPP_AVOID_FSEEK must be defined
3661 in a port's os_defines.h file for this alternate path to even
3662 be considered. As a bonus, the idiom of using getc/ungetc
3663 requires no system calls whereas fseek maps to one or two
3664 system call(s) on many platforms.
3666 * config/os/bsd/freebsd/bits/os_defines.h (_GLIBCPP_AVOID_FSEEK):
3668 * config/os/solaris/solaris2.5/bits/os_defines.h
3669 (_GLIBCPP_AVOID_FSEEK): Likewise.
3670 * config/os/solaris/solaris2.6/bits/os_defines.h
3671 (_GLIBCPP_AVOID_FSEEK): Likewise.
3672 * config/os/solaris/solaris2.7/bits/os_defines.h
3673 (_GLIBCPP_AVOID_FSEEK): Likewise.
3675 2001-06-12 Benjamin Kosnik <bkoz@redhat.com>
3677 * acinclude.m4 (GLIBCPP_CHECK_COMPILER_VERSION): Change to
3678 AC_TRY_COMPILE, so that the built compiler is checked, and
3679 bootstraps or cross compiles with an older compile still work.
3680 * aclocal.m4: Regenerate.
3681 * configure: Regenerate.
3683 2001-06-12 Benjamin Kosnik <bkoz@redhat.com>
3686 * include/bits/std_sstream.h: Add allocator_type, as per DR 251.
3689 * include/bits/istream.tcc (getline, get): Fix as per DR 243.
3692 * include/bits/std_bitset.h (bitset::set): Fix as per DR 186.
3695 * include/bits/limits_generic.h: Fix as per DR 184.
3697 2001-06-11 Benjamin Kosnik <bkoz@redhat.com>
3700 * include/bits/basic_string.h (string::compare): Adjust signatures
3702 * include/bits/basic_string.tcc: And here.
3705 * config/c_io_stdio.h: Remove whitespace.
3706 * testsuite/27_io/istream_seeks.cc (test03): Add regression.
3707 (test02): Add regression.
3708 * testsuite/27_io/istream_seeks-3.tst: New file.
3710 2001-06-11 Phil Edwards <pme@sources.redhat.com>
3712 * README: Update to reflect reality.
3713 * acinclude.m4: Update descriptions, fix typos. Comment changes only.
3714 * configure.in: Make certain target_alias is set and subst'd for 2.50.
3715 * aclocal.m4: Regenerate.
3716 * configure: Regenerate (with 2.13).
3718 2001-06-11 Benjamin Kosnik <bkoz@redhat.com>
3721 * include/bits/ostream.tcc (ostream::seekp): Add error checking as
3723 * include/bits/istream.tcc (istream::seekg): Same.
3724 * testsuite/27_io/istream_seeks.cc: Fix.
3727 * include/bits/stl_function.h (binder2nd): Fix as per DR 109.
3729 * include/bits/std_queue.h: Add c++config.h.
3730 * testsuite/20_util/binders.cc: New test.
3732 2001-06-11 Matthias Klose <doko@debian.org>
3733 Phil Edwards <pme@sources.redhat.com>
3735 * docs/doxygen/run_doxygen (find_doxygen): Tweak version check.
3736 (main script): Echo more information.
3738 2001-06-10 Benjamin Kosnik <bkoz@redhat.com>
3740 * include/c_std/bits/std_cwchar.h: Alphabetize.
3741 * include/bits/char_traits.h: Tweak.
3742 * acinclude.m4 (GLIBCPP_CHECK_WCHAR_T_SUPPORT): Check for
3743 everything used by std_cwchar.h.
3744 * aclocal.m4: Regenerate.
3745 * configure.in: Regenerate.
3746 * config.h.in: Regenerate.
3748 2001-06-10 Benjamin Kosnik <bkoz@redhat.com>
3750 * acinclude.m4 (GLIBCPP_ENABLE_C99): Add stdio.h checking.
3751 Add checking for strtof, _Exit in stdlib.h
3752 * aclocal.m4: Regenerate.
3753 * configure.in: Regenerate.
3754 * include/c_std/bits/std_cstdio.h: Alphabetize lists.
3755 (snprintf): Put C99 functions into __gnu_cxx namespace.
3760 * include/c_std/bits/std_cstdlib.h: Alphabetize lists. Put undefs
3761 for C99 functions within _GLIBCPP_USE_C99 guard.
3765 * include/bits/locale_facets.tcc: Check if C99 is enabled.
3766 * include/c_std/bits/std_cwchar.h (__gnu_cxx): Put undefs within
3768 * include/c_std/bits/cmath.tcc: Formatting tweak.
3769 * include/c_std/bits/std_cmath.h: Same.
3771 2001-06-10 Benjamin Kosnik <bkoz@redhat.com>
3773 * include/c_std/bits/std_cstdio.h: Include cstddef for size_t.
3775 2001-06-09 Alexandre Oliva <aoliva@redhat.com>
3776 Stephen L Moshier <moshier@mediaone.net>
3778 * acinclude.m4 (AC_EXEEXT): Work around in case it expands to
3779 nothing, as in autoconf 2.50.
3780 * configure: Rebuilt.
3782 2001-06-09 Benjamin Kosnik <bkoz@redhat.com>
3784 * include/c_std/bits/std_cwchar.h: Remove size_t injection,
3785 include std_cstddef.
3786 * include/c_std/bits/std_ctime.h: Same.
3787 * include/c_std/bits/std_cstring.h: Same.
3788 * include/c_std/bits/std_cstdlib.h: Same.
3790 * include/c_std/bits/std_cstdio.h: Remove vsnprintf, snprintf.
3791 * include/c_std/bits/std_cctype.h: Remove isblank.
3793 2001-06-09 Benjamin Kosnik <bkoz@redhat.com>
3795 * acinclude.m4 (GLIBCPP_CHECK_WCHAR_T_SUPPORT): Check for fgetwc,
3797 * aclocal.m4: Regenerate.
3798 * configure: Regenerate.
3799 * include/c_std/bits/std_cwchar.h: Remove duplicate fgetwc
3800 injection, guard fgetwc, fgetws.
3801 * include/c_std/bits/std_cstdio.h: Remove superfluous includes.
3802 * include/c_std/bits/std_clocale.h: And here.
3803 * include/c_std/bits/std_cctype.h: And here.
3804 * include/c_std/bits/std_cstdlib.h (strtof): Guard strtof injection.
3806 * config/basic_file_stdio.h: Don't include unistd.h.
3807 * config/c_io_stdio.h: Don't use compatibility headers.
3808 * libsupc++/eh_terminate.cc: Qualify abort.
3809 (__terminate): And here.
3810 * libsupc++/eh_catch.cc (__cxa_end_catch): Qualify abort.
3812 2001-06-08 Benjamin Kosnik <bkoz@redhat.com>
3814 * include/c_std/bits/std_cstdlib.h: Remove _Exit, strtof injections.
3816 2001-06-08 Benjamin Kosnik <bkoz@redhat.com>
3821 * include/std/*: Add copyright notice.
3822 * include/c_std/bits/*: Use using statements instead of extern "C".
3823 * include/c_std/bits/std_cmath.h: Don't overload double versions
3824 of math functions with __buitin versions, use global version to
3825 prevent ambiguities. Remove define hacks.
3826 * include/c_std/bits/std_cwchar.h: Using declarations for "C"
3827 functions that have changed signatures and std::
3828 declarations. Remove define hacks.
3829 * include/c_std/bits/std_cwchar.h: Same, plus remove ambiguous
3830 __builtins in std::. Remove define hacks.
3831 * testsuite/17_intro/headers_c.cc: Add tests.
3832 * testsuite/17_intro/headers_c++.cc: Add test.
3834 2001-06-07 Loren J. Rittle <ljrittle@acm.org>
3835 John David Anglin <dave@hiauly1.hia.nrc.ca>
3838 * libsupc++/eh_alloc.cc: Ensure that required macros are
3839 defined before including gthr.h. Ensure that we get the
3840 version of gthr.h for which we know how to provide a
3842 * libsupc++/eh_globals.cc: Likewise. And, bring the threading
3843 code path into line with the current EH model. Use std, where
3846 2001-06-07 Loren J. Rittle <ljrittle@acm.org>
3847 John David Anglin <dave@hiauly1.hia.nrc.ca>
3849 * config/threads-no.h: Remove file.
3850 * config/threads-posix.h: Remove file.
3852 * acconfig.h (_GLIBCPP_USE_THREADS): Remove.
3853 (_GLIBCPP_SUPPORTS_WEAK): Add (required by namespace-clean gthr*.h).
3854 (_GLIBCPP_HAVE_GTHR_DEFAULT): Likewise.
3855 * config.h.in: Regenerate.
3857 * acinclude.m4 (GLIBCPP_ENABLE_THREADS): Completely rework to
3858 setup and use gthr*.h files. In particular, make gthr.h files
3859 namespace-clean in the staging area (they don't have to be for
3861 * aclocal.m4: Regenerate.
3862 * configure: Regenerate.
3864 * src/Makefile.am (build_headers): Remove bits/c++threads.h
3865 and add bits/gthr.h bits/gthr-single.h bits/gthr-default.h.
3866 * src/Makefile.in: Regenerate.
3868 * include/bits/c++config: Cleanup threading configuration macros.
3869 In particular, define __STL_GTHREADS macro which controls...
3870 * include/bits/stl_threads.h: ...a brand new gthr.h-based
3873 * config/c_io_stdio.h: Include staged gthr.h instead of local
3874 thread configuration file. Always use __gthread_mutex_t
3875 instead of __mutext_type (or int).
3876 * include/bits/std_fstream.h: Likewise.
3878 * docs/html/17_intro/howto.html: Remove placeholder comment in
3879 case this configuration patch didn't make it. Add advice that
3880 section only applies if configured with --enable-threads.
3881 * docs/html/23_containers/howto.html: Reword to make clear
3882 that _PTHREADS is no longer required for any port to be
3883 correctly using STL with threads. Add advice that section
3884 only applies if configured with --enable-threads.
3886 2001-06-06 Benjamin Kosnik <bkoz@redhat.com>
3888 * src/string-inst.cc (_Rep::_S_max_size): Add instantiation.
3890 2001-06-05 Benjamin Kosnik <bkoz@redhat.com>
3893 * include/bits/basic_ios.tcc: Formatting tweaks.
3894 * include/bits/ios_base.h: Formatting tweaks.
3895 * src/ios.cc (ios_base::Init::_S_ios_create): Use filebufs here.
3896 (ios_base::Init::_S_ios_destroy): ..and here. Explicitly call dtors.
3897 * src/globals.cc: Allocate filebufs for standard streams here.
3898 (buf_cout, buf_cin, buf_cerr): Like so.
3899 (buf_wcout, buf_wcin, buf_wcerr): And so.
3900 * testsuite/27_io/ios_init.cc: Add.
3902 2001-06-04 Brendan Kehoe <brendan@zen.org>
3903 Benjamin Kosnik <bkoz@redhat.com>
3906 * include/bits/locale_facets.h (ctype<_CharT>): Add definitions
3907 for generic ctype virtuals.
3908 * src/locale.cc: Minor tweaks, naming consistency.
3909 * testsuite/22_locale/ctype.cc: Add test.
3911 2001-06-04 Kenny Simpson <theonetruekenny@yahoo.com>
3912 Phil Edwards <pme@sources.redhat.com>
3914 PR libstdc++/3035 and PR libstdc++/3036
3915 * include/bits/stl_pair.h: Fix pair ctor and make_pair according
3916 to LWG DR 181 and 265.
3918 2001-06-04 Phil Edwards <pme@sources.redhat.com>
3921 * include/bits/stl_multiset.h (find, lower_bound, upper_bound,
3922 equal_range): Add const overloads as per LWG DR 214.
3923 * include/bits/stl_set.h: Likewise.
3925 2001-06-04 Brendan Kehoe <brendan@zen.org>
3926 Phil Edwards <pme@sources.redhat.com>
3929 * include/bits/std_bitset.h (bitset::test): Fix __pos >= _Nb
3930 comparison; all positions must be < _Nb.
3931 * testsuite/23_containers/bitset_members.cc: New file.
3933 2001-06-04 Brendan Kehoe <brendan@zen.org>
3936 * include/bits/stl_queue.h (classes queue, priority_queue): Fix
3937 ctors to match the standard.
3939 2001-06-04 Jeffrey Oldham <oldham@codesourcery.com>
3941 * include/bits/char_traits.h (move): Reverse qualification of
3943 (copy): Reverse qualification of memcpy with std::.
3945 2001-06-04 Jeffrey Oldham <oldham@codesourcery.com>
3947 * include/bits/char_traits.h (move): Qualify memmove with std::.
3948 (copy): Qualify memcpy with std::.
3949 * testsuite/27_io/filebuf_virtuals.cc (test01): Qualify strlen and
3952 * testsuite/27_io/stringbuf_virtuals.cc (test01): Likewise.
3954 2001-06-04 Hans-Peter Nilsson <hp@axis.com>
3956 * libsupc++/Makefile.am (install-glibcppinstallHEADERS,
3957 uninstall-glibcppinstallHEADERS): Have explicit rules catering to
3958 SUN make VPATH peculiarities.
3959 * libsupc++/Makefile.in: Regenerate.
3961 2001-06-01 Hans-Peter Nilsson <hp@axis.com>
3963 * src/Makefile.am (VPATH): Delimit with ":", not space.
3964 * src/Makefile.in: Regenerate.
3966 * configure.in (use of GLIBCPP_CHECK_GNU_MAKE): Don't fail if GNU
3968 * configure: Regenerate.
3970 2001-05-31 scott snyder <snyder@fnal.gov>
3973 * include/bits/istream.tcc: Include std_ostream.h.
3975 2001-05-31 Benjamin Kosnik <bkoz@redhat.com>
3978 * src/bitset.cc: Qualify size_t with std::.
3980 2001-05-30 Benjamin Kosnik <bkoz@redhat.com>
3982 * acconfig.h (_GLIBCPP_BUGGY_FLOAT_COMPLEX): Remove.
3983 (_GLIBCPP_BUGGY_COMPLEX): Remove.
3984 * config.h.in: Regenerate.
3985 * acinclude.m4 (GLIBCPP_CHECK_COMPLEX_MATH_COMPILER_SUPPORT): Remove.
3986 * aclocal.m4: Regenerate.
3987 * configure.in: Don't call it.
3988 * configure: Regenerate.
3991 * src/complex_io.cc (operator<<(ostream&, const complex&): Fix.
3992 * testsuite/26_numerics/complex_inserters_extractors.cc (test01):
3996 * include/bits/std_complex.h: Include sstream. Put definitions for
3997 complex inserters and extractors here, and remove them from...
3998 * src/complex_io.cc: ...here.
3999 * include/bits/basic_ios.h (basic_ios::__numput_type): Add _Traits
4001 (basic_ios::__numget_type): Same.
4002 * include/bits/std_istream.h: Same.
4003 * include/bits/std_ostream.h: Same.
4004 * include/bits/sbuf_iter.h (ostreambuf_iterator): Fix typo in base
4005 class iterator template arguments.
4006 * src/locale-inst.cc: Add explicit has_facet instantiations.
4007 * include/bits/basic_ios.h (basic_ios::_M_get_fctype_ios): Remove.
4008 (_M_get_fnumput): Remove.
4009 (_M_get_fnumget): Remove.
4010 (basic_ios::_M_check_facet): New function.
4011 (basic_ios::_M_cache_facets): New function.
4012 * include/bits/basic_ios.tcc: Definition for _M_cache_facets.
4013 (basic_ios::imbue): Call _M_cache_facets.
4014 (basic_ios::init): Same.
4015 * include/bits/istream.tcc: Format, use _M_check_facet.
4016 * include/bits/ostream.tcc: Same.
4017 * include/bits/locale_facets.tcc (__output_float): Change
4018 signature, add _Traits.
4019 * testsuite/26_numerics/complex_inserters_extractors.cc (test02):
4022 2001-05-30 Loren J. Rittle <ljrittle@acm.org>
4024 * include/bits/c++config (__USE_MALLOC): Do not define it.
4025 Document why not and give pointers to more information.
4027 * docs/html/23_containers/howto.html: Update documentation
4028 to reflect recent understanding of problem.
4029 * docs/html/17_intro/howto.html: Likewise.
4031 2001-05-30 Phil Edwards <pme@sources.redhat.com>
4033 * docs/doxygen/user.cfg.in: Minor addition.
4034 * docs/html/documentation.html: Reorganize. Put most-looked-at
4036 * docs/html/install.html: Update for 3.0. HTML fixups.
4037 * docs/html/17_intro/howto.html: Likewise.
4038 * docs/html/18_support/howto.html: Likewise.
4039 * docs/html/19_diagnostics/howto.html: Likewise.
4040 * docs/html/20_util/howto.html: Likewise.
4041 * docs/html/23_containers/howto.html: Likewise.
4042 * docs/html/24_iterators/howto.html: Likewise. More notes.
4043 * docs/html/25_algorithms/howto.html: Likewise.
4044 * docs/html/26_numerics/howto.html: Likewise. More notes.
4045 * docs/html/27_io/howto.html: Likewise.
4046 * docs/html/ext/howto.html: Likewise.
4047 * docs/html/faq/index.html: Likewise.
4048 * docs/html/faq/index.txt: Regenerate.
4049 * docs/html/27_io/iostreams_hierarchy.pdf: Remove in favor of
4050 Doxygen-created documentation.
4052 2001-05-30 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
4054 * testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3-init): Use
4055 get_multilibs to find gcc.
4057 2001-05-30 Phil Edwards <pme@sources.redhat.com>
4059 * acinclude.m4 (GLIBCPP_ENABLE_C99): Reorder output messages.
4060 * aclocal.m4: Regenerate.
4061 * configure: Regenerate.
4063 2001-05-29 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
4065 * include/c_std/bits/std_cstdlib.h:: Move C99 thingies to __gnu_cxx::.
4066 * include/c_std/bits/std_cwchar.h (__gnu_cxx): Likewise.
4068 2001-05-27 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
4070 * include/c_std/bits/std_cmath.h: Move C99 functions in __gnu_cxx::.
4071 * include/c_std/bits/std_cstdlib.h: Same.
4072 * include/c_std/bits/std_cwchar.h: Same.
4074 2001-05-30 Loren J. Rittle <ljrittle@acm.org>
4076 * docs/html/17_intro/howto.html: Update link.
4077 * docs/html/23_containers/howto.html: Likewise. Add new link.
4079 2001-05-26 Gabriel Dos Reis <gdr@codesourcery.com>
4081 * include/c_std/bits/std_cmath.h (sqrt): #undef.
4083 2001-05-23 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
4085 * mknumeric_limits: Stop if gen-num-limits dies.
4087 2001-05-25 Benjamin Kosnik <bkoz@redhat.com>
4090 * acinclude.m4 (GLIBCPP_ENABLE_C99): Use AC_TRY_COMPILE.
4091 * aclocal.m4: Regenerate.
4094 2001-05-24 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
4095 Phil Edwards <pme@sources.redhat.com>
4096 Alexandre Oliva <aoliva@redhat.com>
4098 * acinclude.m4 (GLIBCPP_EXPORT_INSTALL_INFO): Set glibcpp_srcdir
4099 in an amd-safe manner. Revert glibcpp_prefixdir.
4101 2001-05-25 Gabriel Dos Reis <gdr@codesourcery.com>
4103 * include/c_std/bits/std_cmath.h: Tweak. #define away abs, cos,
4104 fabs, sin, sqrt. They are now implemented in terms of __builtin_
4107 2001-05-24 Benjamin Kosnik <bkoz@redhat.com>
4110 * testsuite/21_strings/inserters_extractors.cc (test09): New test.
4111 * include/bits/ostream.tcc: Format to match istream.tcc.
4112 (operator<<(basic_ostream __out, const basic_string __s)): Fix.
4114 2001-05-24 Phil Edwards <pme@sources.redhat.com>
4116 * libsupc++/eh_alloc.cc (__cxa_allocate_exception): Qualify
4118 (__cxa_free_exception): Likewise with free.
4120 2001-05-24 Mark Mitchell <mark@codesourcery.com>
4122 * include/c_std/bin/std_cstring.h: #define away all global
4123 functions we will redeclare in namespace `std'.
4124 * libsupc++/eh_alloc.cc (__cxa_allocate_exception): Use
4125 std::memset, instead of memset.
4126 * testsuite/19_diagnostics/stdexceptions.cc: Use `std::strcmp',
4128 * testsuite/21_strings/c_strings.cc: Use `std::strcpy' instead of
4131 2001-05-24 Benjamin Kosnik <bkoz@redhat.com>
4134 * include/bits/basic_ios.tcc: Small tweak.
4135 * include/bits/std_fstream.h (ifstream): Add buffer member. Adjust
4136 ctors and dtors, and rdbuf settings.
4139 * include/bits/std_sstream.h: Same, but for stringstream classes.
4140 * testsuite/27_io/ostringstream_members.cc: New.
4141 * testsuite/27_io/stringstream_members.cc: New.
4142 * testsuite/27_io/fstream_members.cc: New.
4143 * testsuite/27_io/ifstream_members.cc: Add test.
4144 * testsuite/27_io/istringstream_members.cc: Add test.
4145 * testsuite/27_io/ofstream_members.cc: Add test.
4147 2001-05-24 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
4149 * include/bits/c++config(__NO_MATH_INLINES): Move to...
4150 * config/os/gnu-linux/bits/os_defines.h: ...here.
4152 2001-05-24 Gabriel Dos Reis <gdr@codesourcery.com>
4154 * include/bits/c++config (__NO_MATH_INLINES): New macro.
4155 * testsuite/26_numerics/fabs_inline.cc (main): New test.
4157 2001-05-22 Benjamin Kosnik <bkoz@redhat.com>
4160 * testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3-init): Set
4162 (libstdc++-v3_set_ld_library_path): New, copied from g++.exp.
4163 (libstdc++-v3-finish): Remove.
4164 (libstdc++-v3_exit): Remove.
4166 2001-05-22 Phil Edwards <pme@sources.redhat.com>
4168 * docs/html/documentation.html: Point to doxygen output.
4170 2001-05-21 Benjamin Kosnik <bkoz@redhat.com>
4172 * mkcheck.in (static_fail): Remove S_FLAG decoration on output.
4174 * include/bits/std_sstream.h (stringbuf::setbuf): Require both
4175 arguments to be non-null.
4176 * include/bits/fstream.tcc (filebuf::_M_allocate_buffers): Only
4177 try allocations if allocated size is greater than zero.
4178 (filebuf::_M_filebuf_init): Change to
4179 (filebuf::_M_allocate_file): Which is what it does now.
4180 (filebuf::_M_allocate_bufers): Change to
4181 (filebuf::_M_allocate_internal_buffer): This, and create
4182 (filebuf::_M_allocate_pback_buffer): New.
4183 (filebuf::_M_destroy_internal_buffer): New.
4184 (filebuf::_M_buf_allocated): New data member.
4185 (filebuf::setbuf): Use new logic, allow use of external buffer.
4186 * testsuite/27_io/stringbuf_virtuals.cc: New file.
4187 * testsuite/27_io/filebuf_virtuals.cc: New file.
4189 2001-05-21 Stephen M. Webb <stephen@bregmasoft.com>
4191 * include/c_std/bits/std_cstring.h (memchr): Define "C" functions to
4193 (strchr): Same, but to __glibcpp_strchr.
4197 * include/c_std/bits/std_cwchar.h (wcschr): Same.
4203 2001-05-21 Benjamin Kosnik <bkoz@redhat.com>
4205 * testsuite/21_strings/c_strings.cc (main): Fix.
4207 2001-05-19 Phil Edwards <pme@sources.redhat.com>
4209 * acinclude.m4: Fix --help spacing, correct comments.
4210 * aclocal.m4: Regenerate.
4211 * configure: Regenerate.
4212 * mkcheck.in: Add usage comments.
4213 * docs/html/documentation.html: Point to doxygen'd tarball.
4215 2001-05-18 Benjamin Kosnik <bkoz@redhat.com>
4217 * testsuite/README: Add notes.
4219 * src/Makefile.am (libstdc++.INC): Remove.
4220 * src/Makefile.in: Regenerate.
4222 Phil Edwards <pedwards@disaster.jaj.com>
4223 * mkcheck.in: Add missing '#'.
4225 2001-05-18 Angela Marie Thomas <angela@cygnus.com>
4227 * testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3-init): Set flags
4228 appropriately for remote testing and testing installed files without
4231 2001-05-18 Benjamin Kosnik <bkoz@redhat.com>
4233 * acinclude.m4 (GLIBCPP_EXPORT_INSTALL_INFO): Set glibcpp_srcdir
4234 amd glibcpp_prefixdir with absolute paths.
4236 * include/bits/c++config (__GLIBCPP__): Bump.
4237 * acinclude.m4 (GLIBCPP_CONFIGURE): Correct version number.
4239 2001-05-18 Gabriel Dos Reis <gdr@codesourcery.com>
4241 * include/bits/std_valarray.h (valarray<>::operator[] const):
4242 Return a const reference.
4243 * testsuite/26_numerics/valarray_const_bracket.cc: New test.
4245 2001-05-18 Alexandre Oliva <aoliva@redhat.com>
4247 * configure.target (ATOMICITYH): Actually use AIX-specific code on
4248 earlier versions of AIX 4.*.
4250 2001-05-18 Angela Marie Thomas <angela@cygnus.com>
4252 * testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3-dg-test): Set
4253 output_file based on the name of the testcase.
4255 2001-05-18 Angela Marie Thomas <angela@cygnus.com>
4257 * testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3-init): Build
4258 gluefile and use it if needs_status_wrapper is set.
4260 2001-05-18 Alexandre Oliva <aoliva@redhat.com>
4262 * configure.target (ATOMICITYH): Use cpu/generic code on earlier
4265 2001-05-17 Alexandre Oliva <aoliva@redhat.com>
4267 * configure.target (ATOMICITYH): Don't use AIX 4.3-specific code
4268 on earlier versions of AIX.
4270 2001-05-15 Benjamin Kosnik <bkoz@redhat.com>
4272 * testsuite_flags.in (query): Add backwards, ext directories.
4274 2001-05-15 Mark Mitchell <mark@codesourcery.com>
4276 * porting.texi: Correct documentation about handling
4277 _LARRGEFILE_SOURCE and its ilk.
4278 * config/os/solaris/solaris2.5/bits/os_defines.h: Remove
4279 definitions of _XOPEN_SOURCE, _LARGEFILE64_SOURCE, and
4281 * config/os/solaris/solaris2.6/bits/os_defines.h: Likewise.
4282 * config/os/solaris/solaris2.7/bits/os_defines.h: Likewise.
4284 2001-05-15 Zack Weinberg <zackw@stanford.edu>
4286 * testsuite/21_strings/inserters_extractors.cc,
4287 testsuite/27_io/istream_unformatted.cc,
4288 testsuite/27_io/stringstream.cc:
4289 Replace multi-line string constants with C89-style
4290 concatenated string constants.
4292 2001-05-14 Richard Henderson <rth@redhat.com>
4294 * mknumeric_limits: Build with -fno-exceptions.
4296 2001-05-13 Benjamin Kosnik <bkoz@redhat.com>
4298 Switch over to new harness.
4299 * testsuite_flags.in: Tweaks via Gaby.
4300 * testsuite/Makefile.am: Change tool to libstdc++-v3.
4301 (EXPECT): Quote directly.
4303 * configure.in: Output testsuite_flags.
4304 * acinclude.m4: Substitute src, bld, and prefix dirs.
4305 Remove glibcpp_expect, glibcpp_runtestflags.
4306 * Makefile.am (RUNTESTFLAGS): Pass this down to subdirs.
4307 * mkcheck.in: Port to new interface.
4309 * aclocal.m4: Regerate.
4310 * configure: Regnerate.
4311 * Makefile.in: Regnerate.
4312 * */Makefile.in: Regenerate.
4314 * tests_flags.in: Remove.
4315 * testsuite/lib/libstdc++.exp: Remove.
4316 * testsuite/libstdc++.tests/tests.exp: Remove.
4318 2001-05-13 Alexandre Oliva <aoliva@redhat.com>
4320 * configure.target: Remove detection of AIX pthread multilib, now
4321 obtained from `gcc -v'.
4323 2001-05-13 John David Anglin <dave@hiauly1.hia.nrc.ca>
4325 * mkcheck.in (setup_size_command): Use Berkeley "-B" mode with GNU
4326 size. Add hpux case for HP size.
4328 2001-05-11 Benjamin Kosnik <bkoz@redhat.com>
4330 * testsuite_flags.in: New, simplified interface.
4331 * testsuite/lib/libstdc++-v3-dg.exp: New test harness.
4332 * testsuite/libstdc++-v3.dg: Add.
4333 * testsuite/libstdc++-v3.dg/dg.exp: Add.
4335 2001-05-11 Benjamin Kosnik <bkoz@redhat.com>
4337 * testsuite/*/*.cc: Remove spaces, make sure testcases return zero.
4338 * testsuite/config/default.exp: Update bugs email address.
4340 2001-05-11 Richard Henderson <rth@redhat.com>
4342 * libsupc++/eh_personality.cc: Include unwind-pe.h. Remove
4343 all pointer encoding logic.
4344 (struct lsda_header_info): Add ttype_base.
4345 (get_ttype_entry): Use it instead of a context.
4346 (check_exception_spec): Likewise.
4347 (PERSONALITY_FUNCTION): Initialize ttype_base. Store it in
4348 the c++ exception header for __cxa_call_unexpected.
4349 (__cxa_call_unexpected): Use it.
4351 2001-05-09 Benjamin Kosnik <bkoz@redhat.com>
4353 * testsuite/lib/libstdc++.exp: Use libgloss.exp. Call
4354 libgloss_link_flags to find crt0.o for targets that use libgloss
4356 Change LDFLAGS to LIBS.
4357 Consistently name procedures libstdc++-XXX.
4358 * testsuite/libstdc++.tests/tests.exp: Use new procedure names.
4360 2001-05-08 Benjamin Kosnik <bkoz@fillmore.constant.com>
4362 * include/c_std/bits/std_cstring.h (memchr): Correct definitions.
4367 * include/c_std/bits/std_cwchar.h (wcschr): Same.
4372 * testsuite/21_strings/c_strings.cc: Add tests.
4374 2001-05-07 Benjamin Kosnik <bkoz@redhat.com>
4377 * include/bits/std_fstream.h (basic_filebuf): Change signature.
4378 * include/bits/fstream.tcc (basic_filebuf): Change bool argument
4379 to int_type, pass in buffer size info.
4380 * include/bits/std_streambuf.h (_M_is_indeterminate): Check for
4381 unbuffered situation.
4382 (underflow): Remove codecvt bits for the time being.
4383 * include/bits/istream.tcc (istream::sentry): Avoid sputbackc call.
4384 * include/bits/locale_facets.tcc (_M_extract): Cache dereference
4385 values from iterators, clean.
4386 * src/locale.cc: Ditto.
4387 * include/bits/sbuf_iter.h: Format.
4388 * src/ios.cc: Explicitly pass in buffer sizes at creation time.
4389 * testsuite/27_io/narrow_stream_objects.cc: Add tests.
4390 * testsuite/27_io/filebuf.cc: Tweaks.
4391 * testsuite/27_io/filebuf_members.cc: Tweaks.
4393 2001-05-07 Mark Mitchell <mark@codesourcery.com>
4395 * config/os/solaris/solaris2.7/bits/os_defines.h
4396 (_LARGEFILE_SOURCE): Define it.
4398 2001-05-03 Alexandre Oliva <aoliva@redhat.com>
4400 * configure.in (LIBSUPCXX_PICFLAGS): Set it to -prefer-pic or
4401 -prefer-non-pic depending on whether libtool has shared libraries
4402 enabled or disabled.
4403 * libsupc++/Makefile.am (LIBSUPCXX_CXXFLAGS): Set to
4404 $(LIBSUPCXX_PICFLAGS).
4405 * configure, */Makefile.in: Rebuilt.
4407 2001-05-01 Benjamin Kosnik <bkoz@redhat.com>
4409 * include/bits/sbuf_iter.h (istreambuf_iterator): Correct.
4410 * testsuite/24_iterators/istreambuf_iterator.cc (test02): Add test.
4412 * include/bits/std_sstream.h (stringbuf): Leak
4414 * testsuite/24_iterators/ostreambuf_iterator.cc: Correct.
4416 2001-05-01 Tom Browder <tbrowder@home.com>
4418 * docs/html/ext/howto.html: Fix typo.
4420 2001-05-01 Gabriel Dos Reis <gdr@codesourcery.com>
4422 * testsuite/libstdc++.tests/tests.exp: Add comment.
4424 2001-05-01 Gabriel Dos Reis <gdr@codesourcery.com>
4426 * testsuite/libstdc++.tests/tests.exp: Set ulimits.
4428 2001-04-30 Mark Mitchell <mark@codesourcery.com>
4430 * porting.texi: Use the GFDL.
4432 2001-04-30 Benjamin Kosnik <bkoz@redhat.com>
4435 * testsuite/24_iterators/ostreambuf_iterator.cc: New file.
4436 * include/bits/sbuf_iter.h (ostreambuf_iterator): Remove bogus
4439 2001-04-30 Benjamin Kosnik <bkoz@redhat.com>
4442 * include/bits/stl_iterator_base_funcs.h (__advance): Fix.
4444 2001-04-28 Phil Edwards <pme@sources.redhat.com>
4446 * docs/doxygen/run_doxygen: Minor tweaks.
4447 * docs/doxygen/style.css: New file.
4448 * docs/doxygen/user.cfg.in: Update using "doxygen -u" to get the
4449 latest parameters available. Use style.css.
4451 2001-04-27 Benjamin Kosnik <bkoz@redhat.com>
4453 * docs/doxygen/mainpage.doxy: New.
4454 * docs/doxygen/user.cfg.in: Change default configuration. Single
4455 frame, other tweaks.
4457 2001-04-26 Mark Mitchell <mark@codesourcery.com>
4459 * docs/html/17_intro/BADNAMES: Remove EGCS reference.
4460 Indicate obsolete nature of thelist for G++ 3.0.
4462 2001-04-26 Alexandre Oliva <aoliva@redhat.com>
4464 * acinclude.m4 (GLIBCPP_ENABLE_THREADS): Obtain
4465 target_thread_file with `gcc -v'.
4466 * aclocal.m4, configure: Rebuilt.
4468 2001-04-25 Benjamin Kosnik <bkoz@redhat.com>
4470 * include/c_std/bits/std_cmath.h (std): Explicitly inject c99 names.
4471 * include/c_std/bits/std_cstdlib.h (std): Same, except for llabs.
4472 * include/c_std/bits/std_cwchar.h (std): Same.
4473 * acconfig.h (std): Remove c99 injection into std.
4474 * config.h.in: Regenerate.
4476 * testsuite/README: Fix typo.
4478 * include/bits/codecvt.h: Remove warnings.
4480 2001-04-24 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
4482 * include/ext/slist: Include required header files.
4484 2001-04-23 Loren J. Rittle <ljrittle@acm.org>
4486 * include/c_std/bits/std_cerrno.h (errno): Define macro from
4487 identifier declared with external linkage, if needed.
4488 * include/c_std/bits/std_csetjmp.h (setjmp): Likewise.
4489 * include/c_std/bits/std_cstdarg.h (va_end): Likewise.
4491 2001-04-23 Benjamin Kosnik <bkoz@fillmore.constant.com>
4493 * acinclude.m4 (CXX): Set to glibcpp_CXX so that in-directory
4494 re-configures find the build compiler.
4495 (GLIBCPP_ENABLE_C99): Do all fp-tests with 0.0, not 0. Fixes
4497 * aclocal.m4: Regenerate.
4498 * configure: Regenerate.
4500 2001-04-20 Benjamin Kosnik <bkoz@redhat.com>
4502 * acinclude.m4 (GLIBCPP_ENABLE_LONG_LONG): Make sure required C99
4503 support is enabled correctly before long long is activated.
4504 * aclocal.m4: Regenerate.
4505 * configure: Regenerate.
4507 * include/backward/backward_warning.h: Format correctly.
4509 * testsuite/26_numerics/c99_classification_macros_c.cc: Add.
4510 * testsuite/26_numerics/c99_classification_macros_c++.cc: Add.
4511 * testsuite/26_numerics/c99_macros.cc: Remove.
4513 2001-04-20 Phil Edwards <pme@sources.redhat.com>
4515 * include/bits/stl_bvector.h: Replace __ITERATOR_CATEGORY with
4516 __iterator_category.
4518 2001-04-19 Benjamin Kosnik <bkoz@redhat.com>
4520 * acconfig.h (_GLIBCPP_USE_C99): Add.
4521 * config.h.in: Regenerate.
4522 * acinclude.m4 (GLIBCPP_ENABLE_C99): New macro. Test for ISO/IEC
4524 * aclocal.m4: Regenerate.
4525 * configure.in (GLIBCPP_ENABLE_C99): Use it, on by default.
4526 * configure: Regenerate.
4527 * configure.in (GLIBCPP_ENABLE_LONG_LONG): Set default to yes.
4528 * configure: Regenerate.
4529 * include/c_std/bits/std_cwchar.h: Put wcstold, wcstoll, wcstoull
4531 * include/c_std/bits/std_cmath.h: Bring C99 functions into c99
4533 * include/c_std/bits/std_cstdlib.h: Same.
4534 * docs/html/configopts.html: Update.
4535 * testsuite/26_numerics/c99_macros.cc: Edit, use cmath instead of
4537 (test_c99_classify): Add.
4538 * config/os/gnu-linux/bits/os_defines.h (_GNU_SOURCE): Remove.
4539 (_ISOC99_SOURCE): Remove.
4541 * include/bits/stl_algo.h: Use _GLIBCPP_HAVE_DRAND48.
4542 * include/bits/c++config (__STL_ASSERTIONS): Simplify.
4543 * acinclude.m4 (GLIBCPP_CHECK_STDLIB_SUPPORT): Add check for drand48.
4544 * aclocal.m4: Regenerate.
4545 * configure: Regenerate.
4547 2001-04-19 Phil Edwards <pme@sources.redhat.com>
4549 * Makefile.am (doxygen): Assume script is missing execute perms.
4550 * Makefile.in: Regenerated.
4551 * docs/doxygen/user.cfg.in: Add class diagrams and source browsing.
4553 2001-04-17 Loren J. Rittle <ljrittle@acm.org>
4555 * testsuite/27_io/istream_seeks.cc: Inform DejaGnu of required files.
4557 2001-04-17 Benjamin Kosnik <bkoz@redhat.com>
4559 * testsuite/23_containers/map_operators.cc: Add dg-excess-errors.
4560 * testsuite/23_containers/set_operators.cc: Same.
4562 * include/bits/c++config: Add _GLIBCPP_CONCEPT_CHECKS. Disable by
4564 (__GLIBCPP__): Bump from value of last release.
4565 * include/bits/concept_check.h: Default to off, edit comments.
4566 * src/stl-inst.cc: Use _GLIBCPP_CONCEPT_CHECKS.
4567 * src/Makefile.am (AM_CXXFLAGS): Remove _GLIBCPP_NO_CONCEPT_CHECKS.
4568 * src/Makefile.in: Regenerate.
4570 2001-04-14 Martin Reinecke <martin@MPA-Garching.MPG.DE>
4572 * include/bits/boost_concept_check.h(_Mutable_ContainerConcept):
4573 Properly uglify member.
4575 2001-04-13 Phil Edwards <pme@sources.redhat.com>
4577 * include/bits/stl_algobase.h (equal): Use EqualOpConcept instead
4581 2001-04-13 Phil Edwards <pme@sources.redhat.com>
4583 * include/bits/boost_concept_check.h: Uglify, fork from Boost.
4584 * include/bits/concept_check.h: Uglify.
4585 * include/bits/stl_algo.h: Likewise.
4586 * include/bits/stl_algobase.h: Likewise.
4587 * include/bits/stl_deque.h: Likewise.
4588 * include/bits/stl_heap.h: Likewise.
4589 * include/bits/stl_iterator_base_funcs.h: Likewise.
4590 * include/bits/stl_list.h: Likewise.
4591 * include/bits/stl_map.h: Likewise.
4592 * include/bits/stl_multimap.h: Likewise.
4593 * include/bits/stl_multiset.h: Likewise.
4594 * include/bits/stl_numeric.h: Likewise.
4595 * include/bits/stl_queue.h: Likewise.
4596 * include/bits/stl_set.h: Likewise.
4597 * include/bits/stl_stack.h: Likewise.
4598 * include/bits/stl_vector.h: Likewise.
4599 * include/ext/hash_map: Likewise.
4600 * include/ext/hash_set: Likewise.
4601 * include/ext/slist: Likewise.
4603 2001-04-13 Gabriel Dos Reis <gdr@codesourcery.com>
4605 * testsuite/23_containers/set_operators.cc: Just try to compile.
4607 * testsuite/23_containers/map_operators.cc: Same.
4609 2001-04-12 Jason Merrill <jason_merrill@redhat.com>
4611 * testsuite/lib/libstdc++.exp (libstdc++-dg-test): Prepend "./" to
4613 (dg-test): Revert rth's change.
4615 2001-04-12 Nathan Sidwell <nathan@codesourcery.com>
4617 * libsupc++/eh_alloc.cc (__cxa_allocate_exception): Don't
4618 terminate holding the mutex. Make sure size fits in EMERGENCY_OBJ_SIZE.
4620 2001-04-12 Gabriel Dos Reis <gdr@codesourcery.com>
4622 * testsuite/README: Add DejaGnu specific documentation.
4624 2001-04-11 Benjamin Kosnik <bkoz@redhat.com>
4626 * acinclude.m4: AC_CHECK_TOOL for expect.
4627 * aclocal.m4: Regenerate.
4628 * configure: Regenerate.
4629 * testsuite/Makefile.am (RUNTEST): Use substituted.
4632 * configure.in: Remove xcompiling substitution.
4633 * tests_flags.in (CROSS_LIB_PATH): Remove.
4634 (xcompiling): Remove.
4635 (CXX): Use substituted CXX.
4637 2001-04-11 Richard Henderson <rth@redhat.com>
4639 * testsuite/lib/libstdc++.exp: Specify path for output_file.
4641 2001-04-08 Gabriel Dos Reis <gdr@codesourcery.com>
4643 * include/bits/std_valarray.h(valarray<>::operator[]): Make
4646 2001-04-06 Gabriel Dos Reis <gdr@codesourcery.com>
4648 * testsuite/25_algorithms/equal.cc: New test.
4650 2001-04-06 Joe Buck <jbuck@welsh-buck.org>
4652 * stl_algobase.h (std::equal): avoid use of possibly-undefined
4653 operator != (one line patch).
4655 2001-04-06 Benjamin Kosnik <bkoz@redhat.com>
4657 * include/backward/backward_warning.h: Re-enable.
4659 2001-04-06 Benjamin Kosnik <bkoz@redhat.com>
4660 Alexandre Oliva <aoliva@redhat.com>
4662 * tests_flags.in (CROSS_LIB_PATH): Add as -B flag.
4664 2001-04-06 Gabriel Dos Reis <gdr@codesourcery.com>
4666 * include/c_std/bits/std_cmath.h: Get rid of C99 math macros.
4667 * testsuite/26_numerics/c99_macros.cc: Add test.
4669 2001-04-06 Phil Edwards <pme@sources.redhat.com>
4671 * docs/html/faq/index.html: Update for 2.92, grab from RELEASE-NOTES.
4672 * docs/html/faq/index.txt: Regenerated.
4674 2001-04-06 Benjamin Kosnik <bkoz@redhat.com>
4676 * include/backward/backward_warning.h: Temporarily disable until
4677 g++ testsuite changes go in.
4678 * tests_flags.in (CROSS_LIB_PATH): Add.
4680 2001-04-05 Benjamin Kosnik <bkoz@redhat.com>
4682 Warn when using backward headers.
4683 * include/backward/algo.h: Include warning file.
4684 * include/backward/vector.h: Same.
4685 * include/backward/tree.h: Same.
4686 * include/backward/tempbuf.h: Same.
4687 * include/backward/strstream: Same.
4688 * include/backward/streambuf.h: Same.
4689 * include/backward/stream.h: Same.
4690 * include/backward/stack.h: Same.
4691 * include/backward/slist.h: Same.
4692 * include/backward/set.h: Same.
4693 * include/backward/rope.h:
4694 * include/backward/queue.h: Same.
4695 * include/backward/pair.h: Same.
4696 * include/backward/ostream.h: Same.
4697 * include/backward/new.h: Same.
4698 * include/backward/multiset.h: Same.
4699 * include/backward/multimap.h: Same.
4700 * include/backward/map.h: Same.
4701 * include/backward/list.h: Same.
4702 * include/backward/iterator.h: Same.
4703 * include/backward/istream.h: Same.
4704 * include/backward/iostream.h:
4705 * include/backward/iomanip.h:
4706 * include/backward/heap.h: Same.
4707 * include/backward/hashtable.h:
4708 * include/backward/hash_set.h:
4709 * include/backward/hash_map.h:
4710 * include/backward/function.h:
4711 * include/backward/fstream.h:
4712 * include/backward/deque.h:
4713 * include/backward/defalloc.h: Same.
4714 * include/backward/complex.h: Same.
4715 * include/backward/bvector.h:
4716 * include/backward/alloc.h:
4717 * include/backward/algobase.h: Same.
4719 * include/backward/backward_warning.h: New file.
4720 * src/Makefile.am (backward_headers): Add backward_warning.h
4721 * src/Makefile.in: Regenerate.
4723 2001-04-05 Benjamin Kosnik <bkoz@redhat.com>
4725 * src/Makefile.am (myinstalldirs): Make sure backward directory is
4727 (myinstallheaders): Install backward headers in backward directory.
4728 * src/Makefile.in: Regenerate.
4730 2001-04-05 Benjamin Kosnik <bkoz@redhat.com>
4732 Prepare for libstdc++-2.92.
4733 * docs/html/17_intro/RELEASE-NOTES (New): Update.
4734 * docs/html/configopts.html: Fix formatting.
4735 * README (file): Updates.
4736 * include/bits/c++config (__GLIBCPP__): Update.
4738 2001-04-05 Phil Edwards <pme@sources.redhat.com>
4740 * docs/doxygen/run_doxygen: Check for the existence of Doxygen.
4742 2001-04-04 Phil Edwards <pme@sources.redhat.com>
4744 * docs/doxygen/user.cfg.in: Extract all non-private members;
4745 reduce confusing documentation output.
4747 2001-04-04 Geoffrey Keating <geoffk@redhat.com>
4749 * include/backward/fstream.h: Add missing semicolons.
4751 2001-04-03 Benjamin Kosnik <bkoz@redhat.com>
4753 * include/bits/fstream.tcc: Add bool parameter to filebuf ctor.
4754 * include/bits/ios_base.h(ios_base::Init): Remove _M_cout, _M_cin,
4755 _M_cerr, _M_wcout, _M_wcin, _M_wcerr.
4756 (ios_base::Init::_S_ios_create): New.
4757 (ios_base::Init::_S_ios_destroy): New.
4758 * include/bits/std_fstream.h: Change ctor args.
4759 * src/ios.cc (ios_base::Init::Init): Use _S_ios_create.
4760 (ios_base::Init::~Init): Use _S_ios_destroy.
4761 (ios_base::sync_with_stdio): Use new members.
4762 * testsuite/27_io/filebuf_members.cc: Fix calling conventions for
4765 2001-04-03 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
4767 * include/backward/fstream.h: Expose streampos to global
4770 2001-04-03 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
4772 * include/bits/stl_iterator_base_types.h: Fix typo
4774 2001-04-03 Andreas Schwab <schwab@suse.de>
4776 * include/backward/fstream.h: Define filebuf and wfilebuf.
4778 2001-04-02 Phil Edwards <pme@sources.redhat.com>
4780 New concept checking implementation.
4781 * docs/html/19_diagnostics/howto.html: Document.
4782 * docs/html/17_intro/concept_check.diff: New file, for reference.
4783 * include/bits/boost_concept_check.h: New file from Boost.
4784 * include/bits/c++config: Update comments.
4786 * include/bits/concept_check.h: New file.
4787 * include/bits/concept_checks.h: Removed.
4788 * include/bits/container_concepts.h: Removed.
4789 * include/bits/sequence_concepts.h: Removed.
4790 * include/bits/stl_iterator_base.h: Removed; split into...
4791 * include/bits/stl_iterator_base_funcs.h: ...this new file...
4792 * include/bits/stl_iterator_base_types.h: ...and this new file.
4794 * include/bits/sbuf_iter.h: Update to use new implementation.
4795 * include/bits/std_iterator.h: Likewise.
4796 * include/bits/std_memory.h: Likewise.
4797 * include/bits/stl_algo.h: Likewise.
4798 * include/bits/stl_algobase.h: Likewise.
4799 * include/bits/stl_construct.h: Likewise.
4800 * include/bits/stl_deque.h: Likewise.
4801 * include/bits/stl_heap.h: Likewise.
4802 * include/bits/stl_list.h: Likewise.
4803 * include/bits/stl_map.h: Likewise.
4804 * include/bits/stl_multimap.h: Likewise.
4805 * include/bits/stl_multiset.h: Likewise.
4806 * include/bits/stl_numeric.h: Likewise.
4807 * include/bits/stl_queue.h: Likewise.
4808 * include/bits/stl_set.h: Likewise.
4809 * include/bits/stl_stack.h: Likewise.
4810 * include/bits/stl_uninitialized.h: Likewise.
4811 * include/bits/stl_vector.h: Likewise.
4812 * include/ext/hash_map: Likewise.
4813 * include/ext/hash_set: Likewise.
4814 * include/ext/slist: Likewise.
4815 * include/ext/stl_hashtable.h: Likewise.
4817 * src/Makefile.am (base_headers): Update list of headers.
4818 * Makefile.in: Regenerated.
4819 * src/Makefile.in: Regenerated.
4820 * libio/Makefile.in: Regenerated.
4821 * libmath/Makefile.in: Regenerated.
4822 * libsupc++/Makefile.in: Regenerated.
4823 * testsuite/Makefile.in: Regenerated.
4825 * docs/html/install.html: Update contact information.
4826 * docs/html/17_intro/howto.html: Ditto.
4827 * docs/html/18_support/howto.html: Ditto.
4828 * docs/html/20_util/howto.html: Ditto.
4829 * docs/html/21_strings/howto.html: Ditto.
4830 * docs/html/22_locale/howto.html: Ditto.
4831 * docs/html/23_containers/howto.html: Ditto.
4832 * docs/html/24_iterators/howto.html: Ditto.
4833 * docs/html/25_algorithms/howto.html: Ditto.
4834 * docs/html/26_numerics/howto.html: Ditto.
4835 * docs/html/27_io/howto.html: Ditto.
4836 * docs/html/faq/index.html: Ditto, plus info on new checking code.
4837 * docs/html/ext/howto.html: Ditto, plus info on new checking code.
4838 * docs/html/faq/index.txt: Regenerated.
4840 2001-04-02 Zack Weinberg <zackw@stanford.edu>
4842 * testsuite/lib/libstdc++.exp (dg-test): Annotate result
4843 messages with $which_library as well as $tool_flags and
4844 ${dg-extra-tool-flags}. Factor out annotation text into
4847 2001-04-02 Stephen M. Webb <stephen@bregmasoft.com>
4849 * include/c_std/bits/std_cstring.h: Fix for const-correctness.
4850 * include/c_std/bits/std_cwchar.h: Same.
4851 * testsuite/21_strings/c_strings.cc: Add.
4853 2001-04-01 Benjamin Kosnik <bkoz@codesourcery.com>
4855 * docs/html/configopts.html: Add --enable-sjlj-exceptions docs.
4857 2001-04-01 Zack Weinberg <zackw@stanford.edu>
4859 * tests_flags.in: Use test a = b, not test a == b which is not
4862 2001-03-31 Benjamin Kosnik <bkoz@redhat.com>
4864 * configure.target: Remove duplicate aix entry.
4866 2001-03-30 Benjamin Kosnik <bkoz@redhat.com>
4868 * include/ext/stl_bvector.h: Move to...
4869 * include/bits/stl_vector.h: ...here.
4870 * include/ext/bvector: Move to...
4871 * include/backward/bvector.h: ...here.
4872 * include/bits/std_vector.h: Change stl_bvector include.
4873 * include/bits/std_queue.h: Remove bvector include.
4874 * include/ext/tree: Insert using rb_tree, move to...
4875 * include/backward/tree.h: ...here.
4876 * include/backward/hash_map.h: Include ext/hash_map.
4877 * include/backward/hash_set.h: Include ext/hash_set.
4878 * include/backward/queue.h: New file.
4879 * include/backward/stack.h: Edit.
4880 * include/backward/algo.h: Same.
4881 * include/backward/algobase.h: Same.
4882 * include/backward/alloc.h: Same.
4883 * include/backward/function.h: Same.
4884 * include/backward/iomanip.h: Same.
4885 * include/backward/istream.h: Same.
4886 * include/backward/iterator.h: Same.
4887 * include/backward/list.h: Same.
4888 * include/backward/map.h: Same.
4889 * include/backward/multimap.h: Same.
4890 * include/backward/multiset.h: Same.
4891 * include/backward/ostream.h: Same.
4892 * include/backward/pair.h: Same
4893 * include/backward/rope.h: Same.
4894 * include/backward/set.h: Same.
4895 * include/backward/stream.h: Same.
4896 * include/backward/strstream.h: Same.
4897 * include/backward/tempbuf.h: Same.
4898 * src/Makefile.am (ext_headers): Edit.
4899 * src/Makefile.in: Regenerate.
4900 * testsuite/ext/headers.cc (main): Fix.
4903 2001-03-30 Phil Edwards <pme@sources.redhat.com>
4905 * tests_flags.in (LIBS): Pass correct path for installed testing.
4907 2001-03-28 Benjamin Kosnik <bkoz@redhat.com>
4909 * mkcheck.in (LIBTOOL): Don't construct -B argument here...
4910 * tests_flags.in (CXX): Construct here.
4911 (static_fail): Don't remove compile.out. Format with spaces.
4912 (INCLUDES): Deal with xcompiling.
4913 * configure.in (xcompiling): Substitute.
4914 * testsuite/Makefile.am: Snake libjava configury.
4915 * testsuite/Makefile.in: Regenerate.
4916 * testsuite/23_containers/map_operators.cc: Tweaks.
4917 * testsuite/23_containers/set_operators.cc: Tweaks.
4919 2001-03-28 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
4921 Enable dejagnu testing framework.
4922 * configure.in: Generate testsuite/Makefile.
4923 * configure: Regenerate.
4924 * Makefile.am (check-install): Change rule from this...
4925 (check-script-install): ...to this.
4926 (check): Change rule from this...
4927 (check-script):...to this.
4928 * Makefile.in: Regenerate.
4930 2001-03-28 Alexandre Oliva <aoliva@redhat.com>
4932 * libsupc++/Makefile.am (CXXLINK): Add --tag disable-shared after
4934 (LIBTOOL): Let automake take care of its definition.
4935 * libsupc++/Makefile.in: Rebuilt.
4937 2001-03-28 Richard Henderson <rth@redhat.com>
4939 IA-64 ABI Exception Handling:
4940 * acinclude.m4 (GLIBCPP_ENABLE_SJLJ_EXCEPTIONS): New.
4941 * configure.in: Use it.
4942 * Makefile.in, aclocal.m4, config.h.in, configure: Regenerate.
4943 * libsupc++/Makefile.am (sources): Update files list.
4944 * libsupc++/Makefile.in: Regenerate.
4945 * libsupc++/eh_alloc.cc, libsupc++/eh_aux_runtime.cc: New files.
4946 * libsupc++/eh_catch.cc, libsupc++/eh_exception.cc: New files.
4947 * libsupc++/eh_globals.cc, libsupc++/eh_personality.cc: New files.
4948 * libsupc++/eh_terminate.cc, libsupc++/eh_throw.cc: New files.
4949 * libsupc++/exception_support.cc: Remove.
4950 * libsupc++/exception_support.h: Remove.
4951 * libsupc++/pure.cc: Use std::terminate.
4952 * libsupc++/tinfo2.cc (__throw_type_match_rtti_2): Remove.
4953 (__is_pointer): Remove.
4954 * libsupc++/unwind-cxx.h: New file.
4955 * libsupc++/vec.cc (uncatch_exception): Update for new abi.
4957 2001-03-27 Alexandre Oliva <aoliva@redhat.com>
4959 * libsupc++/Makefile.am (CXXLINK): Use CXX again, and choose
4961 * src/Makefile.am (CXXLINK): Likewise.
4962 * libsupc++/Makefile.in, src/Makefile.in: Rebuilt.
4964 2001-03-27 Benjamin Kosnik <bkoz@redhat.com>
4966 * include/bits/c++config (_STL_USE_CONCEPT_CHECKS): Disable by default.
4968 2001-03-26 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
4970 * libstdc++-v3/tests_flags.in: Change the order of libstdc++
4973 2001-03-26 Benjamin Kosnik <bkoz@redhat.com>
4975 * include/bits/basic_file.h (get_fileno): Remove.
4976 (_M_fileno): Remove.
4977 (_M_cfile_created): Add.
4978 (basic_file::basic_file(__c_file_type*, openmode): Add.
4979 (basic_file::basic_file(int, const char*, openmode): Remove.
4980 * include/bits/fstream.tcc (basic_fstream::basic_filebuf(int __fd,
4981 const char*, ios_base::openmode): Don't allocate
4982 internal buffers. Turn off internal buffers.
4983 (basic_filebuf::overflow): Remove test for null buffer.
4984 (basic_filebuf::_M_really_overflow): Same. Allow unbuffered use.
4985 * include/bits/streambuf.cc: Tweak.
4986 * include/bits/std_ostream.h: Tweak.
4987 * config/basic_file_libio.h: Same.
4988 * config/basic_file_stdio.h: Same.
4989 * src/ios.cc (ios_base::Init::Init()): Unbuffer stdout by default.
4990 * testsuite/27_io/filebuf_members.cc: Tweaks.
4991 * testsuite/27_io/ios_base_members_static.cc: Tweaks.
4993 2001-03-24 Phil Edwards <pme@sources.redhat.com>
4995 * Makefile.am: New targets, doxygen and doxygen-maint.
4996 * Makefile.in: Regenerated.
4997 * docs/doxygen/run_doxygen: Finally implemented.
4998 * docs/doxygen/maint.cfg.in: New file.
4999 * docs/doxygen/user.cfg.in: New file.
5001 2001-03-24 Phil Edwards <pme@sources.redhat.com>
5003 * acinclude.m4 (GLIBCPP_CHECK_COMPILER_FEATURES): Update comment.
5004 * src/Makefile.am: Replace leading spaces with tabs on continuation
5006 * aclocal.m4: Regenerated.
5008 * Makefile.in: Ditto.
5009 * src/Makefile.in: Ditto.
5010 * libio/Makefile.in: Ditto.
5011 * libmath/Makefile.in: Ditto.
5012 * libsupc++/Makefile.in: Ditto.
5014 2001-03-24 Phil Edwards <pme@sources.redhat.com>
5016 * docs/html/19_diagnostics/howto.html: HTML fixup. Describe
5017 concept-checking code and current status of same.
5018 * docs/html/ext/howto.html: Ditto.
5019 * docs/html/faq/index.html: Ditto.
5020 * docs/html/faq/index.txt: Regenerated.
5022 2001-03-24 Phil Edwards <pme@sources.redhat.com>
5024 * include/bits/std_bitset.h: Include ostream and istream headers
5025 instead of iostream.
5027 2001-03-22 Greg Bumgardner <bumgard@roguewave.com>
5029 * include/bits/ostream.tcc: Use __builtin_alloca.
5031 2001-03-22 Benjamin Kosnik <bkoz@redhat.com>
5033 * src/misc-inst.cc (__sink_unused_warning): Move to...
5034 * src/locale-inst.cc (__sink_unused_warning): Move to...
5035 * src/stl-inst.cc: Here.
5036 * include/bits/c++config (_STL_NO_CONCEPT_CHECKS): Add define,
5039 2001-03-21 Theodore Papadopoulo <Theodore.Papadopoulo@sophia.inria.fr>
5041 * intclude/bits/basic_file.h: Fix typos in comments.
5043 2001-03-20 Richard Henderson <rth@redhat.com>
5045 * src/gen-num-limits.cc: Instantiate for wchar_t.
5046 * config/os/aix/bits/ctype_base.h (mask): Use unsigned int.
5048 2001-03-20 Jason Merrill <jason@redhat.com>
5050 * libsupc++/vec.cc (__cxa_vec_cleanup): New fn.
5051 (__cxa_vec_ctor, __cxa_vec_cctor, __cxa_vec_dtor): Call it.
5052 * libsupc++/cxxabi.h: Declare it.
5054 2001-03-16 Alexandre Oliva <aoliva@redhat.com>
5056 * src/gen-num-limits.cc (signal_adapter): Overloaded to match
5057 signal_func with an unspecified argument list.
5059 2001-03-15 Benjamin Kosnik <bkoz@redhat.com>
5061 * tests_flags.in (CXXFLAGS): Link libstdc++ before libsupc++.
5063 2001-03-15 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
5065 * include/bits/basic_string.tcc (operator+): Fix thinko.
5067 2001-03-14 Benjamin Kosnik <bkoz@redhat.com>
5070 * include/bits/std_streambuf.h: Remove cached locale facets.
5071 (basic_streambuf::_M_buf_fctype): Remove.
5072 (basic_streambuf::~basic_streambuf): Remove here.
5073 (basic_streambuf::basic_streambuf): Same.
5074 (basic_streambuf::imbue): Same.
5075 * include/bits/fstream.tcc (filebuf::imbue): Remove _M_buf_fctype.
5076 * include/bits/std_fstream.h (basic_filebuf::_M_fcvt): Remove.
5077 (basic_filebuf::~basic_filebuf()): Remove here.
5078 * include/bits/fstream.tcc (basic_filebuf::basic_filebuf): Same.
5079 (basic_filebuf::imbue): Same.
5080 * include/bits/localefwd.h (_Count_ones): Remove.
5081 (locale::_S_num_categories): Just use 6, since this doesn't
5082 actually change, ever.
5083 * include/bits/locale_facets.tcc (has_facet): Simplify.
5085 * testsuite/27_io/filebuf.cc (test06): Add tests.
5087 2001-03-13 Steve Ellcey <sje@cup.hp.com>
5089 * libstdc++-v3/config/os/hpux/bits/ctype_base.h: Make ctype masks
5090 match HP-UX ctype.h header file.
5092 2001-03-13 Andris Pavenis <pavenis@latnet.lv>
5094 * config/djgpp/bits/ctype_noninline.h: Fix typo and remove
5095 duplicate definitions of __dj_ctype_*
5097 2001-03-13 Benjamin Kosnik <bkoz@redhat.com>
5099 * libsupc++/new: Remove pragma interface.
5100 * libsupc++/typeinfo: Same.
5101 * libsupc++/exception: Same.
5102 * libsupc++/new_handler.cc: Remove pragma implementation.
5103 (bad_alloc::~bad_alloc()): Add.
5104 * libsupc++/exception_support.cc: Same.
5105 (exception::~exception): Add.
5106 (bad_exception::~bad_exception): Add.
5107 * libsupc++/tinfo.cc: Same.
5108 (bad_cast::~bad_cast): Add.
5109 (bad_typeid::~bad_typeid): Add.
5111 2001-03-13 Phil Edwards <pme@sources.redhat.com>
5113 * mkcheck.in: Fix IFS regression for non-bash-2.01 hosts.
5115 2001-03-12 Felix Lee <flee@redhat.com>
5117 * mkcheck.in: workaround for bash 2.01 IFS bug.
5119 2001-03-12 Benjamin Kosnik <bkoz@redhat.com>
5121 Fixups for -fno-for-scope
5122 * include/bits/locale_facets.tcc (__match_parallel): Fixup.
5123 * src/valarray-inst.cc (__gslice_to_index): Same.
5125 2001-03-12 Rodney Brown <RodneyBrown@mynd.com>
5127 * src/gen-num-limits.cc (traps) [SPECIALIZE_TRAPPING]: Add fflush
5128 prior to trapping signal (UnixWare 7 workaround).
5130 2001-03-12 Craig Rodrigues <rodrigc@mediaone.net>
5132 * include/backward/hashtable.h: Same.
5133 * include/backward/rope.h: Fix include.
5135 2001-03-12 Benjamin Kosnik <bkoz@redhat.com>
5137 * include/backward/vector.h: Include std_vector.h.
5139 * include/bits/istream.tcc (basic_istream<_CharT, _Traits>&
5140 operator>>(basic_istream<_CharT, _Traits>& __in, _CharT* __s)):
5143 2001-03-11 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
5145 * include/ext/stl_hashtable.h: Change type of __n to size_t
5146 * include/backward/bvector.h: Include <ext/stl_bvector.h>
5148 2001-03-09 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
5150 * include/bits/istream.tcc ( basic_istream<_CharT, _Traits>&
5151 operator>>(basic_istream<_CharT, _Traits>& __in, _CharT* __s)):
5152 Use streamsize, not int_type.
5154 2001-03-08 Benjamin Kosnik <bkoz@redhat.com>
5156 * testsuite/27_io/streambuf.cc (test06): New test, disabled at the
5159 2001-03-08 Andreas Schwab <schwab@suse.de>
5161 * acinclude.m4 (GLIBCPP_EXPORT_INSTALL_INFO): Fix syntax in test
5163 * aclocal.m4, configure: Regenerated.
5165 2001-03-07 Benjamin Kosnik <bkoz@redhat.com>
5167 * include/bits/std_iosfwd.h: Remove string forward decls here.
5168 * include/bits/stringfwd.h: Add forward decls for char_traits
5170 * config/c_io_libio.h (wstreamoff): Delete.
5171 * config/c_io_stdio.h (wstreamoff): Same.
5172 * include/bits/char_traits.h: Use streamoff not wstreamoff for
5173 char_traits<wchar_t>::off_type.
5174 Remove duplicate typedefs.
5175 * include/bits/fpos.h: Define streampos/wstreampos here.
5176 * testsuite/27_io/istream_seeks.cc (test04): Explicitly cast int
5179 Changeup output files.
5180 * testsuite/27_io/istream_unformatted.cc: Change output files.
5181 * testsuite/27_io/istream_seeks-1.txt: Add.
5182 * testsuite/27_io/istream_seeks-2.tst: Add.
5183 * testsuite/27_io/istream_seeks-1.tst: Add.
5184 * testsuite/27_io/istream_unformatted-2.tst: Delete.
5185 * testsuite/27_io/istream_unformatted-3.tst: Delete.
5186 * testsuite/27_io/istream_unformatted-3.txt: Delete.
5188 2001-03-07 Alexandre Oliva <aoliva@redhat.com>
5190 Add Irix 5.2, 6.3 support.
5191 * config/os/irix/bits: Renamed to...
5192 * config/os/irix/irix6.5/bits: this.
5193 * config/os/irix/irix5.2/bits: New, copied from irix6.5/bits.
5194 * config/os/irix/irix5.2/bits/ctype_base.h: Use _U, _L, _N,
5195 _X, _S, _P, _C and _B instead of IRIX-6.5 _IS* macros.
5196 * config/os/irix/irix5.2/bits/ctype_noninline.h
5197 (ctype<char>::ctype): Initialize _M_table with __ctype.
5198 * configure.target: Adjust.
5200 2001-03-06 Benjamin Kosnik <bkoz@redhat.com>
5203 * include/bits/istream.tcc (basic_istream<_CharT, _Traits>::
5204 operator>>(__istream_type& (*__pf)(__istream_type&)): Don't use
5206 (basic_istream<_CharT, _Traits>:: operator>>(__ios_type&
5207 (*__pf)(__ios_type&)): Same.
5208 (basic_istream<_CharT, _Traits>:: operator>>(ios_base&
5209 (*__pf)(ios_base&))): Same.
5210 * testsuite/27_io/istream_extractor_other.cc: Add tests.
5211 * testsuite/27_io/istream_manip.cc (test01): Fix.
5213 2001-03-06 Nathan Myers <ncm@cantrip.org>
5214 Benjamin Kosnik <bkoz@redhat.com>
5216 * include/c_std/bits/std_cerrno.h: Don't define errno in std::.
5217 * testsuite/17_intro/header_cerrno.cc (test01): New file.
5218 * testsuite/17_intro/header_cassert.cc (test01): New file.
5219 * testsuite/17_intro/header_cstddef.cc (test01): New file.
5220 * testsuite/17_intro/header_csetjmp.cc (test01): New file.
5221 * testsuite/17_intro/header_cstdarg.cc (test01): New file.
5223 2001-03-05 scott snyder <snyder@fnal.gov>
5226 * include/c_std/bits/std_cmath.h: Move abs(long), div(long,long)
5228 * include/c_std/bits/std_cstdlib.h: ... to here.
5229 * testsuite/17_intro/header_cstdlib.cc: Add test.
5231 2001-03-05 Stephen M. Webb <stephen.webb@cybersafe.com>
5233 * libsupc++/vec.cc (__cxxa_vec_new2): Qualify size_t.
5235 2001-03-05 Laurynas Biveinis <lauras@softhome.net>
5237 * config/os/djgpp/ctype_base.h (ctype_base): fix __to_type
5238 definition. Replace enum with static const variables.
5240 * config/os/djgpp/ctype_inline.h (ctype<char>::is): remove
5241 throw specification, fix typos, use <static_cast>.
5242 (ctype<char>::scan_is): remove throw specification.
5243 (ctype<char>::scan_not): likewise.
5245 * config/os/djgpp/ctype_noninline.h (ctype<char>::ctype): fix typo.
5246 (ctype<char>::do_toupper(char)): use <static_cast>.
5247 (ctype<char>::do_toupper(char *, const char *)): likewise.
5248 (ctype<char>::do_tolower(char)): likewise.
5249 (ctype<char>::do_tolower(char *, const char *)): likewise.
5251 2001-03-04 Phil Edwards <pme@sources.redhat.com>
5253 http://gcc.gnu.org/ml/libstdc++/2001-03/msg00015.html
5254 * include/backward/algo.h: Use std not __STD. Remove unneeded
5255 macros and "never happens" code. Adjust to C++STYLE guidelines.
5256 * include/backward/algobase.h: Likewise.
5257 * include/backward/alloc.h: Likewise.
5258 * include/backward/bvector.h: Likewise.
5259 * include/backward/deque.h: Likewise.
5260 * include/backward/function.h: Likewise.
5261 * include/backward/hash_map.h: Likewise.
5262 * include/backward/hash_set.h: Likewise.
5263 * include/backward/hashtable.h: Likewise.
5264 * include/backward/heap.h: Likewise.
5265 * include/backward/iterator.h: Likewise.
5266 * include/backward/list.h: Likewise.
5267 * include/backward/map.h: Likewise.
5268 * include/backward/multimap.h: Likewise.
5269 * include/backward/multiset.h: Likewise.
5270 * include/backward/pair.h: Likewise.
5271 * include/backward/rope.h: Likewise.
5272 * include/backward/set.h: Likewise.
5273 * include/backward/slist.h: Likewise.
5274 * include/backward/stack.h: Likewise.
5275 * include/backward/strstream: Likewise.
5276 * include/backward/tempbuf.h: Likewise.
5277 * include/backward/tree.h: Likewise.
5278 * include/backward/vector.h: Likewise.
5279 * include/bits/basic_ios.h: Likewise.
5280 * include/bits/basic_ios.tcc: Likewise.
5281 * include/bits/basic_string.h: Likewise.
5282 * include/bits/c++config: Likewise.
5283 * include/bits/concept_checks.h: Likewise.
5284 * include/bits/fpos.h: Likewise.
5285 * include/bits/fstream.tcc: Likewise.
5286 * include/bits/functexcept.h: Likewise.
5287 * include/bits/ios_base.h: Likewise.
5288 * include/bits/istream.tcc: Likewise.
5289 * include/bits/mask_array.h: Likewise.
5290 * include/bits/ostream.tcc: Likewise.
5291 * include/bits/pthread_allocimpl.h: Likewise.
5292 * include/bits/sbuf_iter.h: Likewise.
5293 * include/bits/slice.h: Likewise.
5294 * include/bits/slice_array.h: Likewise.
5295 * include/bits/sstream.tcc: Likewise.
5296 * include/bits/std_bitset.h: Likewise.
5297 * include/bits/std_fstream.h: Likewise.
5298 * include/bits/std_iomanip.h: Likewise.
5299 * include/bits/std_ios.h: Likewise.
5300 * include/bits/std_istream.h: Likewise.
5301 * include/bits/std_iterator.h: Likewise.
5302 * include/bits/std_memory.h: Likewise.
5303 * include/bits/std_ostream.h: Likewise.
5304 * include/bits/std_sstream.h: Likewise.
5305 * include/bits/std_streambuf.h: Likewise.
5306 * include/bits/std_string.h: Likewise.
5307 * include/bits/std_valarray.h: Likewise.
5308 * include/bits/stl_algo.h: Likewise.
5309 * include/bits/stl_algobase.h: Likewise.
5310 * include/bits/stl_alloc.h: Likewise.
5311 * include/bits/stl_construct.h: Likewise.
5312 * include/bits/stl_deque.h: Likewise.
5313 * include/bits/stl_function.h: Likewise.
5314 * include/bits/stl_heap.h: Likewise.
5315 * include/bits/stl_iterator.h: Likewise.
5316 * include/bits/stl_iterator_base.h: Likewise.
5317 * include/bits/stl_list.h: Likewise.
5318 * include/bits/stl_map.h: Likewise.
5319 * include/bits/stl_multimap.h: Likewise.
5320 * include/bits/stl_multiset.h: Likewise.
5321 * include/bits/stl_numeric.h: Likewise.
5322 * include/bits/stl_pair.h: Likewise.
5323 * include/bits/stl_pthread_alloc.h: Likewise.
5324 * include/bits/stl_queue.h: Likewise.
5325 * include/bits/stl_raw_storage_iter.h: Likewise.
5326 * include/bits/stl_relops.h: Likewise.
5327 * include/bits/stl_set.h: Likewise.
5328 * include/bits/stl_stack.h: Likewise.
5329 * include/bits/stl_tempbuf.h: Likewise.
5330 * include/bits/stl_threads.h: Likewise.
5331 * include/bits/stl_tree.h: Likewise.
5332 * include/bits/stl_uninitialized.h: Likewise.
5333 * include/bits/stl_vector.h: Likewise.
5334 * include/bits/streambuf.tcc: Likewise.
5335 * include/bits/type_traits.h: Likewise.
5336 * include/bits/valarray_meta.h: Likewise.
5337 * include/ext/bvector: Likewise.
5338 * include/ext/hash_map: Likewise.
5339 * include/ext/hash_set: Likewise.
5340 * include/ext/ropeimpl.h: Likewise.
5341 * include/ext/slist: Likewise.
5342 * include/ext/stl_bvector.h: Likewise.
5343 * include/ext/stl_hash_fun.h: Likewise.
5344 * include/ext/stl_hashtable.h: Likewise.
5345 * include/ext/stl_rope.h: Likewise.
5346 * src/complex_io.cc: Likewise.
5347 * src/ios.cc: Likewise.
5348 * src/locale-inst.cc: Likewise.
5349 * src/locale.cc: Likewise.
5350 * src/localename.cc: Likewise.
5351 * src/misc-inst.cc: Likewise.
5352 * src/stdexcept.cc: Likewise.
5353 * src/stl-inst.cc: Likewise.
5354 * src/strstream.cc: Likewise.
5355 * src/valarray-inst.cc: Likewise.
5357 2001-03-03 Benjamin Kosnik <bkoz@redhat.com>
5359 * src/misc-inst.cc (__copy_streambufs): Fix typo for alpha.
5361 2001-03-02 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
5363 * include/bits/istream.tcc: change type of __extracted to __size_type
5365 2001-03-02 Benjamin Kosnik <bkoz@redhat.com>
5367 * src/wstring-inst.cc: New file.
5368 * src/Makefile.am (EXTRA_LTLIBRARIES): Remove.
5369 (libinst_wstring_la_SOURCES): Remove.
5370 (libstdc___la_LIBADD): Remove libinst_wstring_la.
5371 (sources): Add wstring-inst.cc
5372 * acinclude.m4 (GLIBCPP_CHECK_WCHAR_T_SUPPORT): Remove
5375 2001-03-02 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
5377 * src/locale.cc: initialise __ret with zero
5378 * src/strstream.cc:cast gptr to int_type
5380 2001-03-01 Phil Edwards <pme@sources.redhat.com>
5382 * docs/html/faq/index.html: Update broken links.
5383 * docs/html/faq/index.txt: Regenerated.
5385 2001-02-28 Benjamin Kosnik <bkoz@redhat.com>
5388 * configure.target: Change irix* to irix6.5* in target_os table.
5390 2001-02-28 Benjamin Kosnik <bkoz@redhat.com>
5393 * include/bits/c++config (__GLIBCPP__): Bump number in
5394 anticipation of 2.92.
5396 * include/bits/codecvt.h: Fix typo.
5397 * include/bits/basic_file.h (__basic_file): Don't use _M_wfile for
5399 * acinclude.m4 (GLIBCPP_ENABLE_CSTDIO): Enable wchar_t
5400 instantiations for stdio model.
5402 2001-02-28 Phil Edwards <pme@sources.redhat.com>
5404 * acinclude.m4 (GLIBCPP_CONFIGURE): Remove GLIBCPP_CFLAGS
5405 and GLIBCPP_CXXFLAGS as unused variables.
5406 * configure.host: Likewise.
5407 * configure.target: Likewise.
5408 * aclocal.m4: Regenerated.
5409 * configure: Regenerated.
5410 * Makefile.in: Regenerated.
5411 * libio/Makefile.in: Regenerated.
5412 * libmath/Makefile.in: Regenerated.
5413 * libsupc++/Makefile.in: Regenerated.
5414 * src/Makefile.in: Regenerated.
5416 2001-02-27 Benjamin Kosnik <bkoz@redhat.com>
5419 * include/bits/basic_file.h: Include basic_file_model.h.
5420 * config/c_io_libio.cc: Move to...
5421 * config/basic_file_libio.cc: Here.
5422 * config/basic_file_libio.h: New file.
5423 * config/c_io_stdio.cc: Move to...
5424 * config/basic_file_stdio.cc: Here.
5425 * config/basic_file_stdio.h: New file.
5426 * config/c_io_libio.h: Tweak.
5427 * config/c_io_stdio.h: Tweak.
5428 * src/Makefile.am (build_headers): Add basic_file_model.h.
5429 (sources): Add basic_file.cc, remove c++io.cc.
5430 * src/Makefile.in: Regenerate.
5431 * acinclude.m4 (GLIBCPP_ENABLE_CSTDIO): Add support for
5432 basic_file_model.h and basic_file.cc.
5433 * aclocal.m4: Regenerate.
5434 * configure: Regenerate.
5435 * testsuite/27_io/filebuf.cc (test05): Add regression.
5437 2001-02-27 Benjamin Kosnik <bkoz@redhat.com>
5440 * config/cpu/alpha/bits/atomicity.h: Change.
5441 * config/cpu/arm/bits/atomicit3y.h
5442 * config/cpu/generic/bits/atomicity.h
5443 * config/cpu/i386/bits/atomicity.h
5444 * config/cpu/i486/bits/atomicity.h
5445 * config/cpu/ia64/bits/atomicity.h
5446 * config/cpu/powerpc/bits/atomicity.h
5447 * config/cpu/sparc/sparc32/bits/atomicity.h
5448 * config/cpu/sparc/sparc64/bits/atomicity.h
5449 * config/os/aix/bits/atomicity.h
5450 * config/os/irix/bits/atomicity.h
5452 2001-02-27 Benjamin Kosnik <bkoz@redhat.com>
5454 * include/bits/std_stdexcept.h (runtime_error): Make string
5456 (logic_error): Same.
5457 * testsuite/19_diagnostics/stdexceptions.cc (test04): Add test.
5460 2001-02-26 Benjamin Kosnik <bkoz@redhat.com>
5464 * include/bits/std_stdexcept.h (logic_error::logic_error): Use
5465 string object, not reference.
5466 (runtime_error::runtime_error): Same.
5467 * testsuite/19_diagnostics/stdexceptions.cc: New file.
5469 2001-02-26 Phil Edwards <pme@sources.redhat.com>
5471 * acinclude.m4 (GLIBCPP_CONFIGURE): Update required compiler version.
5472 (GLIBCPP_CHECK_COMPILER_FEATURES): Can safely assume new
5473 diagnostics. Remove WFMT_FLAGS.
5474 * configure.in: Replace WFMT_FLAGS with diagnostics options.
5475 * libsupc++/Makefile.am: Likewise.
5476 * src/Makefile.am: Likewise.
5477 * aclocal.m4: Regenerated.
5478 * configure: Regenerated.
5479 * Makefile.in: Regenerated.
5480 * libio/Makefile.in: Regenerated.
5481 * libmath/Makefile.in: Regenerated.
5482 * libsupc++/Makefile.in: Regenerated.
5483 * src/Makefile.in: Regenerated.
5485 2001-02-26 Phil Edwards <pme@sources.redhat.com>
5487 Fixes libstdc++/2079
5488 * include/backward/iomanip.h: Expose <ios> manipulators to global
5490 * include/backward/iostream.h: Also expose std::ws.
5492 2001-02-25 Greg Freemyer <freemyer@NorcrossGroup.com>
5494 * libmath/mathconf.h (GET_LDOUBLE_MSW64): Fix thinko.
5496 2001-02-23 Benjamin Kosnik <bkoz@redhat.com>
5498 * include/bits/codecvt.h: Use __builtin_alloca.
5499 * include/bits/ostream.tcc: Same.
5500 * include/bits/fstream.tcc: Same.
5502 2001-02-23 Alexandre Oliva <aoliva@redhat.com>
5504 * mknumeric_limits (CC): Use VAR=${VAR=...} form.
5506 2001-02-23 David Edelsohn <dje@watson.ibm.com>
5508 * mknumeric_limits (CC): Use $BUILD_DIR/../../gcc/xgcc
5510 2001-02-23 Phil Edwards <pme@sources.redhat.com>
5513 * include/backward/iostream.h: Expose std::flush in old headers.
5515 2001-02-23 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
5517 * mknumeric_limits: Remove special-casing on target. Use gcc
5518 instead of g++ to build gen-num-limits.cc
5520 2001-02-22 Benjamin Kosnik <bkoz@redhat.com>
5522 * tests_flags.in (CXXFLAGS): Add -rpath to gcc build dir.
5524 * include/bits/codecvt.h: Use alloca instead of __extension__ for
5526 * include/bits/ostream.tcc: Same.
5527 * include/bits/std_ostream.h: Same.
5528 * include/bits/fstream.tcc: Same.
5529 * include/bits/locale_facets.tcc: Add typename.
5530 * include/bits/c++config (_GLIBCPP_FULLY_COMPLIANT_HEADERS): Enable.
5532 2001-02-21 Phil Edwards <pme@sources.redhat.com>
5534 * tests_flags.in: Remove -n flag from call to echo.
5536 2001-02-20 Benjamin Kosnik <bkoz@redhat.com>
5538 * config/c_locale_gnu.h: Add clocale include.
5540 2001-02-20 Phil Edwards <pme@sources.redhat.com>
5542 * include/bits/stl_config.h: Remove file.
5543 * src/Makefile.am (base_headers): Remove from list.
5544 * configure: Regenerate.
5545 * Makefile.in: Ditto.
5546 * libio/Makefile.in: Ditto.
5547 * libmath/Makefile.in: Ditto.
5548 * libsupc++/Makefile.in: Ditto.
5549 * src/Makefile.in: Ditto.
5551 * include/bits/c++config: Move relevant macros to here.
5552 * include/backward/alloc.h: Include c++config.h instead.
5553 * include/backward/function.h: Ditto.
5554 * include/backward/heap.h: Ditto.
5555 * include/backward/pair.h: Ditto.
5556 * include/bits/pthread_allocimpl.h: Ditto.
5557 * include/bits/std_functional.h: Ditto.
5558 * include/bits/std_iterator.h: Ditto.
5559 * include/bits/std_numeric.h: Ditto.
5560 * include/bits/std_utility.h: Ditto.
5561 * include/bits/stl_algobase.h: Ditto.
5562 * include/bits/type_traits.h: Ditto.
5563 * src/stl-inst.cc: Ditto.
5565 2001-02-19 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
5567 * include/bits/basic_file.h: Add #pragma system_header
5568 * include/bits/basic_ios.h: Ditto.
5569 * include/bits/basic_string.h: Ditto.
5570 * include/bits/char_traits.h: Ditto.
5571 * include/bits/codecvt.h: Ditto.
5572 * include/bits/cpp_type_traits.h: Ditto.
5573 * include/bits/fpos.h: Ditto.
5574 * include/bits/gslice.h: Ditto.
5575 * include/bits/gslice_array.h: Ditto.
5576 * include/bits/indirect_array.h: Ditto.
5577 * include/bits/ios_base.h: Ditto.
5578 * include/bits/limits_generic.h: Ditto.
5579 * include/bits/locale_facets.h: Ditto.
5580 * include/bits/localefwd.h: Ditto.
5581 * include/bits/mask_array.h: Ditto.
5582 * include/bits/sbuf_iter.h: Ditto.
5583 * include/bits/sequence_concepts.h: Ditto.
5584 * include/bits/slice.h: Ditto.
5585 * include/bits/slice_array.h: Ditto.
5586 * include/bits/std_algorithm.h: Likewise.
5587 * include/bits/std_bitset.h: Likewise.
5588 * include/bits/std_complex.h: Likewise.
5589 * include/bits/std_deque.h: Likewise.
5590 * include/bits/std_fstream.h: Likewise.
5591 * include/bits/std_functional.h: Likewise.
5592 * include/bits/std_iomanip.h: Likewise.
5593 * include/bits/std_ios.h: Likewise.
5594 * include/bits/std_iosfwd.h: Likewise.
5595 * include/bits/std_iostream.h: Likewise.
5596 * include/bits/std_istream.h: Likewise.
5597 * include/bits/std_iterator.h: Likewise.
5598 * include/bits/std_list.h: Likewise.
5599 * include/bits/std_locale.h: Likewise.
5600 * include/bits/std_map.h: Likewise.
5601 * include/bits/std_memory.h: Likewise.
5602 * include/bits/std_numeric.h: Likewise.
5603 * include/bits/std_ostream.h: Likewise.
5604 * include/bits/std_queue.h: Likewise.
5605 * include/bits/std_set.h: Likewise.
5606 * include/bits/std_sstream.h: Likewise.
5607 * include/bits/std_stack.h: Likewise.
5608 * include/bits/std_stdexcept.h: Likewise.
5609 * include/bits/std_streambuf.h: Likewise.
5610 * include/bits/std_string.h: Likewise.
5611 * include/bits/std_utility.h: Likewise.
5612 * include/bits/std_valarray.h: Likewise.
5613 * include/bits/std_vector.h: Likewise.
5614 * include/bits/stringfwd.h: Likewise.
5615 * include/bits/type_traits.h: Likewise.
5616 * include/bits/valarray_array.h: Likewise.
5617 * include/bits/valarray_meta.h: Likewise.
5619 2001-02-19 Andreas Jaeger <aj@suse.de>
5621 * config/cpu/sparc/sparc64/bits/atomicity.h (__compare_and_swap):
5624 2001-02-16 Greg Bumgardner <bumgard@roguewave.com>
5627 * include/bits/std_ostream.h: Replaced usage of
5628 _Traits::_S_eos() with _CharT() as per section 17.2.2.1.3.
5629 * include/bits/char_traits.h: Removed non-standard
5630 methods that cannot be used elsewhere.
5633 * include/bits/basic_ios.h: Uncommented #include of
5637 * include/bits/codecvt.h: See next...
5638 * include/bits/fstream.tcc: See next...
5639 * include/bits/ostream.tcc: Add __extension__
5640 to variable-length arrays.
5643 * include/bits/localefwd.h: Changed int counter type to size_t.
5646 * include/bits/std_fstream.h: Added typedef for __ctype_type.
5648 2001-02-16 Benjamin Kosnik <bkoz@redhat.com>
5650 * testsuite/21_strings/char_traits.cc: Move to ...
5651 * testsuite/21_strings/char_traits_requirements.cc: ..here.
5652 * testsuite/21_strings/char_traits-int_type.cc: Move to ...
5653 * testsuite/21_strings/char_traits_typedefs.cc: ..here.
5655 2001-02-16 Gabriel Dos Reis <gdr@codesourcery.com>
5657 * libmath/mathconf.h (FINITE_P, INFINITE_P): Remove macro
5660 2001-02-15 Benjamin Kosnik <bkoz@redhat.com>
5662 * include/bits/c++config: Revert.
5664 2001-02-15 Mark Mitchell <mark@codesourcery.com>
5666 * include/bits/istream.tcc: Use ios_base::iostate in place of
5667 iostate throughout. Insert `typename' keyword where necessary.
5668 * include/bits/ostream.tcc: Insert `typename' keyword where
5671 2001-02-15 Jeffrey Oldham <oldham@codesourcery.com>
5673 * include/bits/c++config (_GLIBCPP_FULLY_COMPLIANT_HEADERS):
5674 Define so library is compliant.
5676 2001-02-15 Anthony Green <green@redhat.com>
5678 * acinclude.m4 (glibcpp_toolexeclibdir): Fix test for cross
5680 * aclocal.m4: Regenerate.
5681 * configure: Regenerate.
5683 2001-02-15 Rodney Brown <RodneyBrown@mynd.com>
5685 * acinclude.m4 (GLIBCPP_CHECK_MATH_DECL_1):
5686 Include ieeefp.h for fpclass on UnixWare{2,7}.
5687 * aclocal.m4: Regenerate.
5688 * configure: Regenerate.
5689 * mkcheck.in (size_command): Do without GNU-grep when using
5692 2001-02-15 Mark Mitchell <mark@codesourcery.com>
5694 Remove old ABI support from libsupc++.
5695 * libsupc++/cxxabi.h: Remove conditionally compiled code.
5696 * libsupc++/exception_support.cc: Likewise.
5697 * libsupc++/pure.cc: Likewise.
5698 * libsupc++/tinfo.cc: Likewise.
5699 * libsupc++/tinfo.h: Likewise.
5700 * libsupc++/tinfo2.cc: Likewise.
5701 * libsupc++/typeinfo: Likewise.
5702 * libsupc++/vec.cc: Likewise.
5704 2001-02-15 Benjamin Kosnik <bkoz@redhat.com>
5706 Add support for -fno-exceptions.
5707 * include/bits/exception_support.h: Remove.
5708 * include/bits/basic_string.h: Remove exception_support.
5709 (string::_M_check): Replace __OUTOFRANGE with __throw_out_of_range.
5711 (string::substr): Same.
5712 * include/bits/basic_string.tcc (string::reserve): Replace
5713 __LENGTHERROR with __throw_length_error.
5714 (string::_S_create): Same.
5715 (string::resize): Same.
5716 (string::_M_replace): Same.
5717 (string::replace): Same.
5718 (string::copy): Replace __OUTOFRANGE with __throw_out_of_range.
5719 (string::compare): Same.
5720 * include/bits/stl_vector.h: Remove exception_support.
5721 * src/Makefile.am (base_headers): Remove here.
5722 * src/Makefile.in: Regenerate.
5724 * include/bits/stl_range_errors.h: Remove.
5725 * include/bits/stl_deque.h: Use __throw_range_error.
5726 * include/bits/std_deque.h: Include functexcept.h.
5727 * include/bits/std_vector.h: Same.
5728 * src/Makefile.am (base_headers): Remove here.
5729 * src/Makefile.in: Regenerate.
5730 * include/ext/stl_bvector.h (class __BVECTOR): Use __throw_range_error.
5731 * include/ext/bvector: Remove stl_range_errors.h
5733 * include/bits/c++config (_GLIBCPP_USE_EXCEPTIONS): Remove.
5735 * include/bits/functexcept.h: New file.
5736 * src/functexcept.cc: New file. Definitions for function-based
5738 * src/Makefile.am (sources): Add functexcept.cc.
5739 * src/Makefile.in: Regenerate.
5741 * include/bits/stl_config.h (__STL_USE_EXCEPTIONS): Wrap with
5744 * include/bits/localefwd.h: Include functexcept.h.
5745 * include/bits/std_iosfwd.h: Same.
5747 * include/bits/basic_ios.h: Use __throw_ios_failure instead of
5748 throw basic_ios::failure.
5749 * include/bits/fstream.tcc (filebuf::_M_allocate_buffers):
5750 Use __throw_exception_again.
5751 (filebuf::_M_filebuf_init): Same.
5752 * include/bits/streambuf.tcc (__copy_streambufs): Same.
5753 * include/bits/ostream.tcc (ostream::operator<<): Same.
5754 * include/bits/istream.tcc (istream::operator>>): Same.
5755 * include/bits/basic_string.tcc (string::_M_mutate): Same.
5756 (string::_S_construct): Same.
5757 (string::_M_clone): Same.
5758 * include/bits/locale_facets.tcc (use_facet(const locale&)): Use
5760 (num_put<_CharT, _OutIter>::do_put): Use __throw_exception_again.
5761 * src/localename.cc (locale::_Imp::_Imp(const _Impl&, size_t): Use
5762 __throw_exception_again.
5763 (locale::_Imp::_Imp(string, size_t): Same.
5764 (locale::_Imp::_M_replace_facet): Use __throw_runtime_error.
5765 * src/locale.cc (locale::_M_coalesce): Use __throw_exception_again.
5766 (locale::locale(const char*)): Use __throw_runtime_error.
5767 (locale::classic): Use __throw_exception_again.
5768 (locale::_S_normalize_category): Use __throw_runtime_error.
5770 * src/stdexcept.cc: Remove cruft.
5772 * libsupc++/exception_defines.h: New file.
5773 * libsupc++/new_opnt.cc: Include exception_defines.h.
5774 * libsupc++/vec.cc: Same.
5775 (__cxa_vec_new2): Use __throw_exception_again.
5776 (__cxa_vec_new3): Same.
5777 (__cxa_vec_ctor): Same.
5778 (__cxa_vec_delete3): Same.
5779 (__cxa_vec_cctor): Same.
5780 (__cxa_vec_delete2): Same.
5781 (__cxa_vec_dtor): Same.
5782 * libsupc++/exception_support.cc: Include exception_defines.h. Only
5783 compile exception-handling bits if __EXCEPTIONS is defined.
5784 Remove old ABI support.
5785 * libsupc++/new_op.cc (new): Include exception_defines.h. Use
5786 std::__throw_bad_alloc() instead of throw bad_alloc.
5787 * libsupc++/Makefile.am: Add exception_defines.h.
5788 * libsupc++/Makefile.in: Reformat.
5789 * libsupc++/*: Format.
5791 2001-02-15 Phil Edwards <pme@sources.redhat.com>
5793 * docs/html/configopts.html: Minor updates and typo fixes.
5794 * docs/html/faq/index.html: Updates of the "not really bugs" list.
5795 * docs/html/faq/index.txt: Regenerated.
5797 2001-02-15 Gabriel Dos Reis <gdr@codesourcery.com>
5799 * testsuite/lib/libstdc++.exp: Lift, temporarily, out of
5800 dejagnu/dg.exp. Adapt to log options used to run testcases.
5802 2001-02-13 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
5804 * testsuite/lib/libstdc++.exp(dg-test): Lift temporarily from
5807 2001-02-13 Dirk Mueller <dmuell@gmx.net>
5808 Phil Edwards <pme@sources.redhat.com>
5810 * include/backward/function.h: Do not use rel_ops for older
5812 * include/backward/pair.h: Likewise.
5814 2001-02-12 Mark Mitchell <mark@codesourcery.com>
5816 * src/locale.cc: Remove bogus locale::id definitions.
5818 2001-02-11 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
5820 * include/bits/std_valarray.h: #undef _DEFINE_LOGICAL_OPERATOR,
5821 not _DEFINE_VALARRAY_OPERATOR which is not existent.
5823 * include/bits/valarray_meta.h (_RefFunClos<>_RefRunClos): Fix
5824 thinko in member initialisation.
5826 2001-02-11 Gabriel Dos Reis <gdr@codesourcery.com>
5828 * include/bits/std_valarray.h(valarray<>::shift): Avoid
5829 comparaison between signed and unsigned integer types.
5830 (valarray<>::cshift): Reformat.
5832 2001-02-11 Alexandre Oliva <aoliva@redhat.com>
5834 * src/gen-num-limits.cc: Use sigsetjmp and siglongjmp if available.
5835 * mknumeric_limits: Compile it with -DHAVE_CONFIG_H.
5836 * configure.in: Test for sigsetjmp.
5837 * configure, config.h.in: Rebuilt.
5839 2001-02-11 Gabriel Dos Reis <gdr@codesourcery.com>
5841 * src/valarray-inst.cc (gslice::_Indexer::_Indexer): Don't flip
5842 lengths and strides.
5843 (__gslice_to_index): Document.
5845 2001-02-11 Gabriel Dos Reis <gdr@codesourcery.com>
5847 * include/bits/char_traits.h char_traits<char>::int_type: Change
5848 to `int' to match 21.1.3.1/2.
5850 * testsuite/21_strings/char_traits-int_type.C: New test.
5852 2001-02-10 Gabriel Dos Reis <gdr@codesourcery.com>
5854 * testsuite/Makefile.am: New file.
5856 2001-02-09 Nathan Sidwell <nathan@codesourcery.com>
5858 * include/c_shadow/bits/std_cstdlib.h (lldiv_t): Fix typo.
5860 2001-02-08 Loren J. Rittle <ljrittle@acm.org>
5862 * src/locale-inst.cc (fill_n): Instantiate with size_t arguments.
5864 2001-02-08 David Edelsohn <edelsohn@gnu.org>
5866 * configure.target (aix4*): Remove extra set of brackets.
5868 2001-02-07 Benjamin Kosnik <bkoz@redhat.com>
5871 * include/bits/stringfwd.h: New file.
5872 * include/bits/stl_string_fwd.h: Remove.
5873 * include/bits/localefwd.h: Remove declaration for allocator.
5874 * include/bits/std_iosfwd: Same.
5875 * include/bits/std_string.h: Include it.
5876 * include/bits/std_ios.h: Remove include.
5877 * include/bits/basic_string.h: Tweak.
5878 * libsupc++/new: Format.
5879 * src/Makefile.am (base_headers): Add stringfwd.h, remove
5881 * src/Makefile.in: Regenerate.
5882 * include/bits/std_stdexcept.h: Rewrite.
5883 * src/stdexcept.cc: Same.
5885 2001-02-06 Benjamin Kosnik <bkoz@redhat.com>
5887 * acinclude.m4 (GLIBCPP_EXPORT_INSTALL_INFO): Deal with library
5888 install locations too.
5889 * aclocal.m4: Regenerate.
5890 * configure.in: Remove USE_LIBDIR.
5891 * configure: Regenerate.
5892 * src/Makefile.am (toolexecdir): Simplify, use
5893 glibcpp_toolexecdir, glibcpp_toolexeclibdir.
5894 * src/Makefile.in: Regenerate.
5895 * libsupc++/Makefile.am: Same.
5896 * libsupc++/Makefile.in: Regenerate.
5898 * src/Makefile.am: Just remove special rules for locale-inst.cc and
5899 misc-inst.cc as no longer necessary.
5901 Follow C++STYLE for naming non-static functions.
5902 * include/bits/ostream.tcc (_S_pad_char): Not static, rename to
5904 * include/bits/streambuf.tcc: Same.
5905 * include/bits/ostream.tcc: Same.
5906 * include/bits/istream.tcc: Same.
5907 * include/bits/locale_facets.tcc (_S_pad_numeric): To __pad_numeric.
5908 (_S_output_float): To __output_float.
5909 * include/bits/std_streambuf.h (_S_copy_streambufs): To
5911 * include/bits/locale_facets.tcc (_S_build_float_format): To
5912 __build_float_format.
5913 (_S_format): To __output_integer.
5914 (_S_fill): To __pad.
5915 * src/locale.cc: Same.
5916 * src/misc-inst.cc: Fix formatting. Fix signature for wchar_t. Correct
5918 * include/bits/locale_facets.tcc (_S_group_digits): To
5920 * src/locale-inst.cc: Fixup names. Add use_facet instantiations
5921 for collate, numpunct.
5923 2001-02-06 Phil Edwards <pme@sources.redhat.com>
5925 * docs/html/configopts.html: Fix HTML markup.
5926 * docs/html/install.html: Bring up to date.
5927 * docs/html/17_intro/C++STYLE: Add global variable conventions.
5928 * docs/html/21_strings/howto.html: More notes.
5929 * docs/html/22_locale/howto.html: Fix HTML markup.
5930 * docs/html/27_io/howto.html: More notes.
5931 * docs/html/27_io/binary_iostreams_kanze.txt: New file.
5932 * docs/html/27_io/binary_iostreams_kuehl.txt: New file.
5934 2001-02-06 Jeffrey Oldham <oldham@codesourcery.com>
5936 * src/misc-inst.cc (_S_pad_char): Modify declaration's parameters
5937 to match header files.
5938 (_S_output_float): Likewise.
5939 (_S_copy_streambufs): Likewise.
5941 2001-02-06 Hyman Rosen <Hyman.Rosen@kbcfp.com>
5942 Phil Edwards <pme@sources.redhat.com>
5944 * include/bits/std_istream.h (op>> signed,unsigned char): Must
5945 use reinterpret_cast, not static_cast.
5947 2001-02-06 Benjamin Kosnik <bkoz@redhat.com>
5949 * acinclude.m4 (gxx_include_dir): Quote, fix regression.
5950 * aclocal.m4: Regenerate.
5951 * configure: Regenerate.
5953 2001-02-05 Benjamin Kosnik <bkoz@redhat.com>
5955 * include/bits/locale_facets.h (class moneypunct): Fix typos.
5956 * libsupc++/pure.cc: Revert.
5958 2001-02-05 Benjamin Kosnik <bkoz@redhat.com>
5960 * acinclude.m4 (GLIBCPP_CHECK_MATH_DECL_1): New macro.
5961 (GLIBCPP_CHECK_MATH_DECL_2): New macro.
5962 (GLIBCPP_CHECK_MATH_DECL_3): New macro.
5963 (GLIBCPP_CHECK_MATH_DECL_AND_LINKAGE_1): Use it, check for _* too.
5964 (GLIBCPP_CHECK_MATH_DECL_AND_LINKAGE_2): Same.
5965 (GLIBCPP_CHECK_MATH_DECL_AND_LINKAGE_3): Same.
5966 (GLIBCPP_CHECK_MATH_SUPPORT): Remove explicit checks for _* versions.
5967 * aclocal.m4: Regenerate.
5968 * configure: Regenerate.
5970 2001-02-05 Mark Mitchell <mark@codesourcery.com>
5972 * include/bits/locale_facets.tcc: Remove `static' keyword on
5973 function definitions.
5974 * include/bits/std_streambuf.h: Likewise.
5975 * src/Makefile.am: Remove use of -fimplicit-templates.
5976 * src/Makefile.in: Regenerated.
5977 * src/locale-inst.cc: Explicitly instantiate more functions.
5978 * src/misc-inst.cc: Likewise.
5979 * src/string-inst.cc: Likewise.
5981 2001-02-05 Benjamin Kosnik <bkoz@redhat.com>
5983 * acinclude.m4 (GLIBCPP_EXPORT_INSTALL_INFO): New
5984 macro. Consolidate all the bits to do with where includes might be
5986 * aclocal.m4: Regenerate.
5987 * configure.in: Use it.
5988 * configure: Regenerate.
5989 * src/Makefile.am (targetincludep): Use simplified rules.
5990 (targetincludep): Rename gxx_target_include_dir.
5991 (myincludep): Rename gxx_include_dir.
5992 * src/Makefile.in: Regenerate.
5993 * libsupc++/Makefile.am: Use simplified rules.
5994 * libsupc++/Makefile.in: Regenerate.
5996 2001-02-05 Benjamin Kosnik <bkoz@redhat.com>
5998 * include/c_std/bits/std_cerrno.h: Correct date format for copyright.
5999 * include/c_std/bits/std_cctype.h: Same.
6000 * include/c_std/bits/std_cassert.h: Same.
6001 * include/c_std/bits/std_cstdarg.h: Same.
6002 * include/c_std/bits/std_cstddef.h: Same.
6004 * include/c_std/bits/std_cstdio.h: Undefine all names brought into
6006 * include/c_std/bits/std_ctime.h: Same.
6007 * include/c_std/bits/std_clocale.h: Same.
6008 * include/c_std/bits/std_cmath.h: Same.
6009 * include/c_std/bits/std_csetjmp.h: Same.
6010 * include/c_std/bits/std_csignal.h: Same.
6011 * include/c_std/bits/std_cstring.h: Same.
6012 * include/c_std/bits/std_cstdlib.h: Same.
6013 * include/c_std/bits/std_cwchar.h: Same.
6015 2001-02-05 Phil Edwards <pme@sources.redhat.com>
6017 * testsuite/27_io/ios_base_members_static.cc: Swap order of tests.
6019 2001-02-05 Mark Mitchell <mark@codesourcery.com>
6021 * src/string-inst.cc (string::_M_replace): Explicitly instantiate.
6022 (string::_S_construct): Likewise.
6024 2001-02-05 Gabriel Dos Reis <gdr@codesourcery.com>
6026 * testsuite/config/default.exp: New file.
6027 * testsuite/config: New directory.
6029 2001-02-04 Mark Mitchell <mark@codesourcery.com>
6031 * libsupc++/typeinfo (__GXX_MERGED_TYPEINFO_NAMES): New macro.
6032 * libsupc++/tinfo.cc (std::typeinfo::operator==): Use strcmp
6033 whenever !__GXX_MERGED_TYPEINFO_NAMES.
6034 * libsupc++/tinfo2.cc (std::typeinfo::before): Likewise.
6036 2001-02-03 Alexandre Oliva <aoliva@redhat.com>
6037 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
6039 * Makefile.am (mkinstalldirs): Set.
6040 * src/Makefile.am (mkinstalldirs): Set.
6041 * libmath/Makefile.am (mkinstalldirs): Set.
6042 * libsup++/Makefile.am (mkinstalldirs): Set.
6043 * libio/Makefile.am (mkinstalldirs): Set.
6044 * */Makefile.in: Regenerate.
6046 2001-02-03 Benjamin Kosnik <bkoz@redhat.com>
6048 * include/bits/stl_threads.h (struct _STL_mutex_lock): Same.
6049 * include/bits/localefwd.h: More initialization cleanups.
6051 2001-02-03 Jeffrey A Law <law@cygnus.com>
6053 * include/bits/ios_base.h (_S_ios_fmtflags_end): Initialize
6054 correctly targets with 16bit ints.
6055 (_S_ios_openmode_end): Similarly.
6056 (_S_ios_iostate_end): Similarly.
6057 (_S_ios_Seekdir_end): Similarly.
6059 2001-02-02 Phil Edwards <pme@sources.redhat.com>
6061 * mkcheck.in: Also limit virtual memory size, for mmap-based mallocs.
6063 2001-02-01 Alexandre Oliva <aoliva@redhat.com>
6065 * configure.in (toplevel_srcdir, auxdir): Set.
6066 * acinclude.m4 (glibcpp_basedir): Set based on auxdir.
6067 * aclocal.m4, configure, Makefile.in: Rebuilt.
6068 * libio/Makefile.in, math/Makefile.in, src/Makefile.in: Likewise.
6069 * libsupc++-v3/Makefile.am (INCLUDES): Use toplevel_srcdir.
6070 * libsupc++-v3/Makefile.in: Rebuilt.
6071 * libsupc++-v3/configure.in, libsupc++-v3/configure: Removed.
6072 * libsupc++-v3/aclocal.m4, libsupc++-v3/config.h.in: Likewise.
6074 2001-01-30 Benjamin Kosnik <bkoz@redhat.com>
6076 * config/c_locale_generic.cc: Remove langinfo include.
6078 2001-01-29 Benjamin Kosnik <bkoz@redhat.com>
6080 Preliminary named locales.
6081 * acinclude.m4 (GLIBCPP_ENABLE_CLOCALE): New macro.
6082 * aclocal.m4: Regenerate.
6083 * configure.in: Use it.
6084 * configure: Regerate.
6085 * src/Makefile.am (sources): Add c++locale.cc.
6086 (build_headers): Add c++locale.h.
6087 * src/Makefile.in: Regenerate.
6088 * config/c_locale_gnu.h: New file.
6089 * config/c_locale_gnu.cc: New file. Non-inline member functions
6090 for named locales, gnu-specific.
6091 * config/c_locale_generic.h: New file.
6092 * config/c_locale_generic.cc: New file. Non-inline member
6093 functions for named locales, generic version.
6094 * docs/html/configopts.html: Add documentation on new options.
6096 * include/bits/locale_facets.h (class _Messages): Remove.
6097 (class _Moneypunct): Remove.
6098 * src/locale-inst.cc: Remove.
6100 * include/bits/locale_facets.h (class _Collate): Remove.
6101 * src/locale-inst.cc (std): Remove.
6102 * src/locale.cc: And here.
6104 * include/bits/localefwd.h (locale::_M_coalesce): New
6105 function. Correctly put together multi-name locales.
6106 (_Impl(const _Impl&, category, size_t)): Remove.
6108 * include/bits/localefwd.h (locale::_Impl): Remove _M_construct_*
6110 (_M_normalize_category_names): Remove.
6111 (_M_replace_categories): Fix.
6113 * src/localename.cc (locale::_Impl::_M_construct_collate): Remove.
6114 (locale::_Impl::_M_construct_ctype): Remove.
6115 (locale::_Impl::_M_construct_monetary): Remove.
6116 (locale::_Impl::_M_construct_numeric): Remove.
6117 (locale::_Impl::_M_construct_time): Remove.
6118 (locale::_Impl::_M_construct_messages): Remove.
6120 * include/bits/locale_facets.h (_Bad_use_facet): Remove.
6121 (_Use_facet_failure_handle): Remove.
6122 * src/locale.cc: Remove definitions.
6123 * src/locale-inst.cc: And here.
6125 * testsuite/22_locale/ctor_copy_dtor.cc (test01): Fixup. Add tests.
6127 * src/localename.cc (locale::facet::_S_create_c_locale): Properly
6128 create and error-check underlying locale object.
6129 (locale::facet::_S_destroy_c_locale): Add, take care of properly
6130 tearing down underlying locale object.
6131 * include/bits/localefwd.h (locale::facet): Declare.
6132 * testsuite/22_locale/members.cc: Don't test "fr_FR" locale for
6133 correctness, as glibc apparently has incorrect info in it. Test
6134 with it when it works again.....
6136 * include/bits/localefwd.h (locale::_Impl::__vec_string):
6137 Remove. Number of categories is fixed at six, so just simplify and
6138 make this an array of strings.
6139 (locale::_Impl::_M_has_name): Remove.
6140 (locale::_Impl::_M_name): Remove.
6141 (locale::_Impl::_M_category_names): Turns into...
6142 (locale::_Impl::_M_names): ...this.
6143 (locale::_Impl::_M_has_same_name()): New function.
6144 * src/localename.cc (locale::_Impl::~_Impl()): Remove here.
6145 (locale::_Impl::_Impl(size_t __refs, string __str)): Simplify
6147 * src/locale.cc (locale::name()): Construct mangled name
6148 accurately reflecting combined locale categories.
6150 * src/locale.cc (locale::classic()): Don't initialize here.
6151 * src/localename.cc (locale::_Impl::_Impl(size_t __num, size_t
6152 __refs, bool __has_name, string __str): Do it here.
6154 * include/bits/localefwd.h: _S_categories_num to
6155 _S_num_categories. _S_facets_num to _S_num_facets.
6156 (locale::id::id()): Explicitly set _M_index to zero.
6157 * src/locale.cc: Same.
6159 * src/locale.cc: (locale::locale(const char*)): Construct named
6162 * src/locale.cc: Remove numpunct_byname ctors.
6163 * testsuite/22_locale/numpunct_byname.cc: New file.
6164 * testsuite/22_locale/numpunct.cc: New file.
6166 * include/bits/localefwd.h (class locale): Change data members to
6167 protected, from private.
6168 (_Impl::_M_get_c_locale): Add member function.
6169 (locale::facet::_M_get_global_impl()): Add member function.
6170 * include/bits/locale_facets.h (numpunct::_M_init): Change to take
6171 a __c_locale pointer.
6172 (numpunct::numpunct( __c_locale*, size_t)): Add additonal ctor for
6174 * testsuite/22_locale/members.cc: New file, test name and combine.
6176 * include/bits/locale_facets.h (class numpunct): Remove class
6177 _Punct and _Numpunct. Rewrite class numpunct to be correct for
6179 * include/bits/localefwd.h (locale::_Imp::_M_c_locale): Add.
6180 * src/localename.cc (_Impl::~_Impl()): Call __frelocale.
6181 (_Imp::_Impl(size_t, size_t, bool, string)) Initialize _M_c_locale.
6182 * src/locale-inst.cc: Remove _Numpunct, _Punct instantiations.
6183 * testsuite/22_locale/numpunct_char_members.cc: New file.
6185 2001-01-28 Gabriel Dos Reis <gdr@codesourcery.com>
6187 * testsuite/README: Add more comment.
6188 * testsuite/lib/libstdc++.exp: Tweak comment.
6190 2001-01-26 Benjamin Kosnik <bkoz@kredhat.com>
6192 * libsupc++/pure.cc (writestr): Just use cstdio and std::fputs.
6194 2001-01-25 Loren J. Rittle <ljrittle@acm.org>
6196 * testsuite/21_strings/inserters_extractors.cc: Remove
6197 explicit reference to 'testsuite/'.
6199 2001-01-25 Richard Henderson <rth@redhat.com>
6201 * config/cpu/alpha/bits/atomicity.h: Remove tricky .subsetion
6202 bits. Fixes Tru64 build issues.
6204 2001-01-25 Michael Sokolov <msokolov@ivan.Harhan.ORG>
6206 * acinclude.m4 (GLIBCPP_CHECK_GNU_MAKE): Bourne shell portability bug
6207 (use ${MAKE-make}, not ${MAKE:-make}).
6208 * aclocal.m4, configure: Regenerate.
6210 2001-01-25 Mark Mitchell <mark@codesourcery.com>
6212 * src/ios.cc: Remove accidental inclusion of <stdio.h> in last
6215 * src/Makefile.am (sources): Add globals.cc.
6216 * src/Makefile.in: Regenerated.
6217 * src/globals.cc: New file.
6218 * src/ios.cc (cin): Don't define here, just declare extern.
6227 2001-01-25 Phil Edwards <pme@sources.redhat.com>
6229 * include/bits/std_iterator.h: Do not include stl_relops.h.
6230 * include/bits/std_numeric.h: Ditto.
6231 * include/bits/stl_algobase.h: Ditto.
6232 * include/bits/stl_relops.h: Add comment warning about problems.
6234 2001-01-25 Gabriel Dos Reis <gdr@codesourcery.com>
6236 * testsuite/27_io/*.cc: Remove explicit reference to 'testsuite/'
6237 in testcases. Prepare for the DejaGnu based framework.
6238 * mkcheck.in: Adjust call to tests_flags. Don't mmkdir testsuite
6239 directory -- it is now mkcheck working directory.
6240 * tests_flags.in: Remove reference to $(top_srcdir). Use
6242 * Makefile.am (check, check-install): Change mkcheck invocation
6244 * Makefile.in: Regenerate.
6246 2001-01-24 Mark Mitchell <mark@codesourcery.com>
6248 * config/os/aix/bits/atomicity.h (__compare_and_swap): Remove.
6249 (__always_swap): Likewise.
6251 2001-01-23 Chris Demetriou <cgd@broadcom.com>
6253 * libsupc++/exception_support.cc (__terminate_func): Remove
6255 (__terminate_func_ptr): New typedef.
6256 (__terminate, __terminate_set_func): New extern function
6258 (std::terminate): Use __terminate function.
6259 (std::set_terminate): Use __terminate_set_func function.
6261 2001-01-23 Benjamin Kosnik <bkoz@redhat.com>
6263 * configure.target: Just use os_include_dir always.
6264 * configure.in: Remove calls to GLIBCPP_CHECK_CTYPE_SUPPORT.
6265 Link atomicity files and ctype files here.
6266 * configure: Regenerate.
6267 * acinclude.m4 (GLIBCPP_CHECK_CTYPE_SUPPORT): Remove.
6268 (GLIBCPP_ENABLE_ATOMICITY): Remove.
6269 * aclocal.m4: Regenerate.
6271 2001-01-23 Chris Demetriou <cgd@broadcom.com>
6273 * configure.in: Place definition of MULTISUBDIR in
6274 libsupc++/Makefile as is done for src/Makefile.
6275 * configure: Regenerate.
6277 2001-01-23 Phil Edwards <pme@sources.redhat.com>
6279 * acinclude.m4: Cosmetic changes only.
6280 * aclocal.m4: Regenerated.
6281 * configure: Regenerated.
6282 * configure.target: Update documented list of changed variables.
6283 * docs/html/install.html: Fix typo.
6284 * docs/html/20_util/howto.html: More notes on auto_ptr.
6285 * docs/html/27_io/howto.html: More notes on streabufs.
6286 * docs/html/faq/index.html: Add rel_ops problem and mention the
6287 DEC as(1) .subsection difficulty.
6288 * docs/html/faq/index.txt: Regenerated.
6290 2001-01-23 Mark Mitchell <mark@codesourcery.com>
6292 * ainclude.m4 (GLIBCPP_CHEC_MATH_DECLS_AND_LINKAGE_1): New macro.
6293 (GLIBCPP_CHECK_MATH_SUPPORT): Use it.
6294 (GLIBCPP_CHECK_TYPE_SUPPORT): Don't autoconf ctype information if
6295 its already provided in config.target.
6296 * aclocal.m4: Regenerated.
6297 * configure: Likewise.
6298 * configure.target: Set ctype_include_dir for lots of systems.
6299 * libsupc++/Makefile.am: Explicitly include --tag disable-shared.
6300 * libsupc++/Makefile.in: Regenerated.
6302 2001-01-23 Gabriel Dos Reis <gdr@codesourcery.com>
6304 * testsuite/lib/libstdc++.exp: Improve. Add support for @xxx#
6307 * testsuite/README: Add comment.
6309 2001-01-21 Phil Edwards <pme@sources.redhat.com>
6311 * docs/html/configopts.html: Update for current status. Fix HTML.
6312 * docs/html/install.html: Update for current status.
6314 2001-01-20 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
6316 * testsuite/libstdc++.tests/tests.exp: New file.
6317 * testsuite/lib/libstdc++.exp: Itou.
6318 * testsuite/README: Itou.
6320 2001-01-20 Gabriel Dos Reis <gdr@codesourcery.com>
6322 * tests_flags.in: Just output the bare minimum to run tests.
6323 Let's the caller do its own arrangement.
6325 * mkcheck.in: Rename INC_PATH to INCLUDES. Adjust flags
6328 2001-01-19 Gabriel Dos Reis <gdr@codesourcery.com>
6330 * testsuite/17_intro: Prepare testcases for new style DejaGnu
6333 2001-01-18 Gabriel Dos Reis <gdr@codesourcery.com>
6335 * testsuite/libstdc++.tests, testsuite/lib: New directories.
6337 2001-01-17 Loren J. Rittle <ljrittle@acm.org>
6339 * mkcheck.in: Construct file names that match $objdir structure.
6340 * testsuite/27_io/filebuf_members-1.txt: New file.
6341 * testsuite/27_io/ifstream_members-1.txt: New file.
6342 * testsuite/27_io/ostream_inserter_char-1.txt: New file.
6344 * testsuite/27_io/ios_base_members_static.cc (test02): Add test.
6345 * testsuite/27_io/ios_base_members_static-1.tst: Add expected output.
6347 2001-01-17 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
6349 * testsuite/27_io/istream_sentry.cc (test02): Fix.
6351 2001-01-17 Benjamin Kosnik <bkoz@redhat.com>
6354 * include/bits/ios_base.h (ios_base::failure): Tighten up throw specs.
6355 * src/ios.cc (ios_base::failure): Make definitions match.
6356 * libsupc++/typeinfo (class bad_typeid): Add throw specs.
6357 (class bad_cast): Same.
6358 * libsupc++/exception (class exception): Add throw specs.
6359 * libsupc++/exception_support.cc (set_terminate): Add throw specs.
6360 (set_unexpected): Same.
6361 (uncaught_exception): Same.
6364 * docs/html/17_intro/C++STYLE (classname): Fix.
6366 2001-01-16 Mark Mitchell <mark@codesourcery.com>
6368 * src/gen-num-limits.cc (INSTANTIATIONS): New macro.
6369 Use it do explicitly instantiate predicate<T> and value<T> for
6372 2001-01-16 Nathan Sidwell <nathan@codesourcery.com>
6374 * libsupc++/exception_support.cc (__cp_pop_exception): Fix
6375 uninitialized thinko in last change.
6377 2001-01-16 Mark Mitchell <mark@codesourcery.com>
6379 * libsupc++/exception_support.cc (__cp_pop_exception): Change
6382 2001-01-16 Benjamin Kosnik <bkoz@redhat.com>
6384 * docs/html/17_intro/C++STYLE (classname): Add more existing
6385 and stylish patterns.
6388 * include/bits/istream.tcc (istream::sentry::sentry()): Set
6389 failbit if the state of the stream is not good.
6390 * testsuite/27_io/istream_sentry.cc (test02): Add test.
6391 * testsuite/27_io/istream_manip.cc (test01): Modify.
6394 reported by Paolo Carlini <pcarlini@unitus.it>
6395 * include/bits/istream.tcc (operator>>(istream&, string&)): Fix.
6396 * testsuite/21_strings/inserters_extractors.cc (test08): Add test.
6399 * include/bits/std_streambuf.h (setp): Set _M_buf_size correctly.
6400 * include/bits/streambuf.tcc (xsputn): Remove outside if clause.
6401 (xsgetn): Same. Simplify.
6402 * testsuite/27_io/streambuf.cc (test04): Add testcases.
6404 reported by Larry Evans <jcampbell3@prodigy.net>
6405 * include/bits/streambuf.tcc (streambuf::xsputn): Just check for
6406 equality with eof on returned value from overflow.
6408 2001-01-14 Andreas Jaeger <aj@suse.de>
6410 * libio/libio.h: Add test for glibc 2.0.
6412 2001-01-12 Benjamin Kosnik <bkoz@redhat.com>
6414 * config/os/djgpp/bits/*: Fix dates.
6416 * include/bits/basic_string.h (_S_find(const _CharT* __beg, const
6417 _CharT* __end, _CharT __c): Remove.
6418 * include/bits/basic_string.tcc: Substitute traits::find for _S_find.
6419 * include/bits/char_traits.h: Tweak.
6421 2001-01-12 Laurynas Biveinis <lauras@softhome.net>
6423 * acinclude.m4 (GLIBCPP_CHECK_CTYPE_SUPPORT): check for DJGPP <ctype.h>
6424 (LIB_AC_PROG_CXX): replace [/\\] with [\\/] to work around older
6426 * aclocal.m4: regenerated.
6427 * configure.target: set os_include_dir to config/os/djgpp under DJGPP.
6428 * configure: regenerated.
6429 * config/os/djgpp, config/os/djgpp/bits: new directories.
6430 * config/os/djgpp/bits/ctype_base.h,
6431 config/os/djgpp/bits/ctype_inline.h,
6432 config/os/djgpp/bits/ctype_noninline.h,
6433 config/os/djgpp/bits/os_defines.h: new files.
6435 2001-01-11 Joseph S. Myers <jsm28@cam.ac.uk>
6437 * include/c_std/bits/std_cstdio.h: Undef printf.
6439 2001-01-10 Benjamin Kosnik <bkoz@redhat.com>
6441 * src/ios.cc: Fix typo: change cout->wcout.
6443 * src/Makefile.am (targetincludep): Fix for version-specific-libs.
6444 * src/Makefile.in: Regenerate.
6446 2001-01-10 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
6448 * include/bits/std_complex.h: Fix a typo.
6450 2001-01-09 Benjamin Kosnik <bkoz@redhat.com>
6453 Fixes for libstdc++/1576
6454 * src/stdstreams.cc: Initialize with NULL filebuf. Delete
6455 file, move contents into....
6456 * src/ios.cc: ...Here. Put defines for iostreams objects and
6457 initialization routines into one file to simplify DSO interaction.
6458 * include/bits/std_iostream.h: Touch.
6459 * include/bits/ios_base.h (_S_synched_with_stdio): Make static.
6460 * src/Makefile.am (sources): Remove stdstreams.cc.
6461 * src/Makefile.in: Regenerate.
6463 2001-01-10 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
6465 * tests_flags.in (check_directory): Fix typo.
6467 2001-01-09 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
6469 * include/bits/std_complex.h: Fix a typo.
6471 2001-01-09 Loren J. Rittle <ljrittle@acm.org>
6473 * config/os/bsd/freebsd/bits/ctype_inline.h (is): (Make right
6474 code path:) Remove magic constants and restructure to handle
6475 ctype.h bit mask layout changes more gracefully. (Make fast
6476 code path:) Use __maskrune (), if available.
6477 (is): Remove special case for digit and xdigit masks.
6479 2001-01-09 Robert Lipe <robertlipe@usa.net>
6481 * include/c_std/bits/std_ctime.h: Undefine difftime.
6483 2001-01-09 Alexandre Oliva <aoliva@redhat.com>
6485 * src/gen-num-limits.cc (signal_adapter): New template function.
6486 (signal_handler): Use it, instead of signal.
6487 (traps<T>): Likewise. Install SIGTRAP handler too. Don't
6488 require both tests to trap to set trap_flag.
6490 2001-01-08 Benjamin Kosnik <bkoz@redhat.com>
6492 * include/bits/fpos.h (fpos:::fpos(streamoff __pos)): Explicitly
6493 initialize mbstate_t member, name offset data members *off, not pos.
6494 * include/bits/fstream.tcc (filebuf::filebuf): Same.
6496 2001-01-08 Benjamin Kosnik <bkoz@redhat.com>
6498 reported by Chris G. Demetriou <cgd@sibyte.com>
6499 * configure.in: Change -linux-* to -linux*.
6500 * configure: Regenerate.
6502 2001-01-05 Benjamin Kosnik <bkoz@redhat.com>
6504 Fix 27_io/filebuf_members.cc
6505 * src/localename.cc (locale::_Impl::_Impl(const _Impl& __imp,
6506 const string& __name, category __cat, size_t __refs): Set
6507 _M_has_name with _M_name.
6508 * include/bits/localefwd.h (locale::operator!=): Protect member
6509 function call with this->.
6510 * src/locale.cc (locale::operator==): Make fast checks first.
6511 * include/bits/basic_ios.tcc (basic_ios::init): Simplify.
6513 * include/bits/ios_base.h (_M_synced_with_stdio): Add data member
6515 * src/ios.cc (ios_base::Init::Init): Initialize here.
6516 (ios_base::sync_with_stdio): Set here.
6518 2001-01-04 Loren J. Rittle <ljrittle@acm.org>
6520 * config/c_io_stdio.cc (__basic_file<_CharT>::sys_open()): On
6521 systems that support it, call dup() before fdopen().
6523 2001-01-03 Benjamin Kosnik <bkoz@redhat.com>
6525 * include/c_std/bits/std_cwctype.h: Include std_cwchar.h for wint_t.
6526 * testsuite/17_intro/header_cwctype.cc (main): New file.
6528 * src/Makefile.am (base_headers): Change.
6529 * include/bits/std_string.h: And here.
6530 * include/bits/string.tcc: Tweaks, move to...
6531 * include/bits/basic_string.tcc: ...Here.
6532 * src/string-inst.cc: Simplify, just instantiate the whole class,
6533 not member-by-member.
6535 2001-01-02 Benjamin Kosnik <bkoz@redhat.com>
6537 * acinclude.m4 (GLIBCPP_ENABLD_CSTDIO): Add in default value.
6538 * aclocal.m4: Regenerate.
6539 * configure: Regenerate.
6541 * include/bits/c++config (__GLIBCPP__): Bump version number.
6543 * ChangeLog: Start new log for year 2001
6544 * ChangeLog-2000: New file.
6546 * docs/html/configopts.html: Make sure default values are current,
6549 2001-01-01 Benjamin Kosnik <bkoz@fillmore.redhat.com>
6551 * include/c_std/bits/std_cwchar.h: Same.
6552 * testsuite/17_intro/header_cwchar.cc: Same.
6553 * include/c_std/bits/std_ctime.h: Same.
6554 * testsuite/17_intro/header_ctime.cc: Same.
6555 * include/c_std/bits/std_cstdlib.h: Same.
6556 Clean up undefs, make consistent with cwchar and cmath, etc.
6557 * testsuite/17_intro/header_cstdlib.cc: Same.
6558 * include/c_std/bits/std_cstdio.h: Same here.
6559 * testsuite/17_intro/header_cstring.cc: Same.
6560 * include/c_std/bits/std_cstring.h: Include std_cstddef.h for size_t.
6561 * testsuite/17_intro/header_cstring.cc: New file. Check for
6562 size_t in namespace std.
6564 * include/c_std/bits/std_cwchar.h: Explicit checks for mbstate_t.
6565 * acconfig.h (HAVE_MBSTATE_T): Add.
6566 * config.h.in: Regenerate.
6567 * acinclude.m4(GLIBCPP_CHECK_WCHAR_T_SUPPORT): Always test for
6569 * aclocal.m4: Regenerate.
6570 * configure: Regenerate.
6571 * testsuite/17_intro/headers_c++.cc: New file.
6572 * testsuite/17_intro/headers_c.cc: Small changes.
6574 2001-01-01 David Billinghurst <David.Billinghurst@riotinto.com>
6576 * tests_flags.in: Fix typo in usage.
6578 * tests_flags.in: Set target specific LIBS for cygwin.