1 2001-06-27 Phil Edwards <pme@sources.redhat.com>
3 * include/backward/algo.h: Add "GPL plus runtime exception" comment
4 block, this time for real.
5 * include/backward/algobase.h: Likewise.
6 * include/backward/alloc.h: Likewise.
7 * include/backward/bvector.h: Likewise.
8 * include/backward/defalloc.h: Likewise.
9 * include/backward/deque.h: Likewise.
10 * include/backward/function.h: Likewise.
11 * include/backward/hash_map.h: Likewise.
12 * include/backward/hash_set.h: Likewise.
13 * include/backward/hashtable.h: Likewise.
14 * include/backward/heap.h: Likewise.
15 * include/backward/iterator.h: Likewise.
16 * include/backward/list.h: Likewise.
17 * include/backward/map.h: Likewise.
18 * include/backward/multimap.h: Likewise.
19 * include/backward/multiset.h: Likewise.
20 * include/backward/pair.h: Likewise.
21 * include/backward/rope.h: Likewise.
22 * include/backward/set.h: Likewise.
23 * include/backward/slist.h: Likewise.
24 * include/backward/stack.h: Likewise.
25 * include/backward/strstream: Likewise.
26 * include/backward/tempbuf.h: Likewise.
27 * include/backward/tree.h: Likewise.
28 * include/backward/vector.h: Likewise.
29 * include/bits/pthread_allocimpl.h: Likewise.
30 * include/bits/std_algorithm.h: Likewise.
31 * include/bits/std_bitset.h: Likewise.
32 * include/bits/std_deque.h: Likewise.
33 * include/bits/std_functional.h: Likewise.
34 * include/bits/std_iterator.h: Likewise.
35 * include/bits/std_list.h: Likewise.
36 * include/bits/std_map.h: Likewise.
37 * include/bits/std_memory.h: Likewise.
38 * include/bits/std_numeric.h: Likewise.
39 * include/bits/std_queue.h: Likewise.
40 * include/bits/std_set.h: Likewise.
41 * include/bits/std_stack.h: Likewise.
42 * include/bits/std_utility.h: Likewise.
43 * include/bits/std_vector.h: Likewise.
44 * include/bits/stl_algo.h: Likewise.
45 * include/bits/stl_algobase.h: Likewise.
46 * include/bits/stl_alloc.h: Likewise.
47 * include/bits/stl_bvector.h: Likewise.
48 * include/bits/stl_construct.h: Likewise.
49 * include/bits/stl_deque.h: Likewise.
50 * include/bits/stl_function.h: Likewise.
51 * include/bits/stl_heap.h: Likewise.
52 * include/bits/stl_iterator.h: Likewise.
53 * include/bits/stl_iterator_base_funcs.h: Likewise.
54 * include/bits/stl_iterator_base_types.h: Likewise.
55 * include/bits/stl_list.h: Likewise.
56 * include/bits/stl_map.h: Likewise.
57 * include/bits/stl_multimap.h: Likewise.
58 * include/bits/stl_multiset.h: Likewise.
59 * include/bits/stl_numeric.h: Likewise.
60 * include/bits/stl_pair.h: Likewise.
61 * include/bits/stl_pthread_alloc.h: Likewise.
62 * include/bits/stl_queue.h: Likewise.
63 * include/bits/stl_raw_storage_iter.h: Likewise.
64 * include/bits/stl_relops.h: Likewise.
65 * include/bits/stl_set.h: Likewise.
66 * include/bits/stl_stack.h: Likewise.
67 * include/bits/stl_tempbuf.h: Likewise.
68 * include/bits/stl_threads.h: Likewise.
69 * include/bits/stl_tree.h: Likewise.
70 * include/bits/stl_uninitialized.h: Likewise.
71 * include/bits/stl_vector.h: Likewise.
72 * include/bits/type_traits.h: Likewise.
73 * include/ext/hash_map: Likewise.
74 * include/ext/hash_set: Likewise.
75 * include/ext/rope: Likewise.
76 * include/ext/ropeimpl.h: Likewise.
77 * include/ext/slist: Likewise.
78 * include/ext/stl_hash_fun.h: Likewise.
79 * include/ext/stl_hashtable.h: Likewise.
80 * include/ext/stl_rope.h: Likewise.
81 * src/bitset.cc: Likewise.
82 * src/strstream.cc: Likewise.
84 2001-06-26 Benjamin Kosnik <bkoz@fillmore.constant.com>
85 <vakatov@ncbi.nlm.nih.gov>
88 * include/bits/streambuf.tcc (__copy_streambufs): Don't set eofbit.
89 * testsuite/27_io/ostream_inserter_other.cc (test04): Add test.
90 * testsuite/27_io/istream_extractor_other.cc: Fix.
92 2001-06-26 Zoltan Hidvegi <hzoli@austin.ibm.com>
94 * acinclude.m4 (glibcpp_toolexeclibdir): Make multilib safe.
95 * aclocal.m4: Regenerate.
96 * configure: Regenerate.
98 2001-06-26 Benjamin Kosnik <bkoz@redhat.com>
100 * include/bits/stream_iterator.h (istream_iterator): Add copy ctor.
101 (ostream_iterator): Same.
102 * include/bits/stl_iterator.h (front_insert_iterator::operator=):
103 Change argument to const_reference.
104 (back_insert_iterator): Same.
106 2001-06-26 Benjamin Kosnik <bkoz@redhat.com>
108 * include/bits/sbuf_iter.h: Change to..
109 * include/bits/streambuf_iterator.h: This.
110 * include/bits/stl_iterator.h: Take out of here...
111 * include/bits/stream_iterator.h: Add.
112 * src/Makefile.am (base_headers): Add streambuf_iterator,
114 * src/Makefile.in: Regenerate.
115 * include/bits/std_string.h: Adjust includes.
116 * include/bits/basic_ios.h: Same.
117 * include/bits/locale_facets.tcc: Same.
118 * include/bits/std_iosfwd.h: Same.
120 * include/bits/std_iterator.h: Add istream, ostream includes.
121 * include/bits/stl_iterator.h: Tweak.
122 * testsuite/24_iterators/ostream_iterator.cc: Add test.
123 * testsuite/24_iterators/istream_iterator.cc: Same.
124 * testsuite/23_containers/multiset.cc: Add iterator include.
126 2001-06-26 Phil Edwards <pme@sources.redhat.com>
128 * acinclude.m4: Clean extraneous tabs, rewrap 'test' lines.
129 * aclocal.m4: Regenerate.
130 * configure: Regenerate.
132 2001-06-26 Felix Natter <f.natter@ndh.net>
134 * docs/html/17_intro/porting-howto.html: Fixed some errors.
136 2001-06-26 Benjamin Kosnik <bkoz@redhat.com>
138 * include/bits/stl_iterator.h (istream_iterator::operator->): Fix
140 (istream_iterator::operator*): Same.
142 2001-06-26 Benjamin Kosnik <bkoz@redhat.com>
143 Alexandre Petit-Bianco <apbianco@redhat.com>
145 * testsuite/21_strings/element_access.cc (test01): Chill Out Cafe
146 is on 41st, not 14th.
148 2001-06-26 Benjamin Kosnik <bkoz@redhat.com>
150 * include/bits/std_iterator.h: Include sbuf_iter.h via std_ios.h.
152 * include/bits/stl_iterator.h (istream_iterator): Inherit from
154 (ostream_iterator): Same.
155 * testsuite/24_iterators/istream_iterator.cc: New file.
156 * testsuite/24_iterators/ostream_iterator.cc: New file.
158 * include/bits/sbuf_iter.h: Remove self typedef.
159 * testsuite/24_iterators/ostreambuf_iterator.cc: Add test.
160 * testsuite/24_iterators/istreambuf_iterator.cc: Add test.
162 * include/bits/stl_iterator.h (reverse_iterator): Remove
163 extraneous typedefs. Add typename.
164 (__normal_iterator): Remove typedefs referring to self. Add typename.
165 (reverse_bidiretional_iterator): Remove, not longer required.
167 2001-06-26 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
169 * include/bits/stl_iterator.h (__normal_iterator<>): Qualify
170 dependent names with `typename'. Bring in various required
171 iterator_traits members. Can't imagine why that used to work.
173 2001-06-25 Phil Edwards <pme@sources.redhat.com>
174 Kurt Garloff <garloff@suse.de>
177 * src/cmath.cc: New [version of an old] file; instantiate
178 __cmath_power to start with.
179 * src/Makefile.am (sources): Add cmath.cc (and alphabetize).
180 * Makefile.in: Regenerate.
181 * libio/Makefile.in: Regenerate.
182 * libmath/Makefile.in: Regenerate.
183 * libsupc++/Makefile.in: Regenerate.
184 * src/Makefile.in: Regenerate.
185 * testsuite/Makefile.in: Regenerate.
187 2001-06-24 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
189 * libmath/stubs.c: Fix thinko.
191 2001-06-24 David Edelsohn <dje@watson.ibm.com>
193 * libmath/stubs.c (sqrtf): Define.
194 (tanf): Correct typo.
196 2001-06-22 Benjamin Kosnik <bkoz@redhat.com>
198 * include/bits/stl_iterator.h (reverse_iterator): Inherit from
200 (back_insert_iterator): Same.
201 (front_insert_iterator): Same.
202 (insert_iterator): Same.
204 * testsuite/20_util/raw_storage_iterator.cc: Modify.
205 * testsuite/24_iterators/reverse_iterator.cc: New file.
206 * testsuite/24_iterators/back_insert_iterator.cc: New file.
207 * testsuite/24_iterators/front_insert_iterator.cc: New file.
208 * testsuite/24_iterators/insert_iterator.cc: New file.
210 2001-06-22 Phil Edwards <pme@sources.redhat.com>
212 * include/*: Revert comment/license change from yesterday for all
213 except libsupc++/unwind-cxx.h.
214 * src/bitset.cc: Likewise.
215 * src/strstream.cc: Likewise.
217 2001-06-22 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
219 * libmath/stubs.c: New file.
223 * libmath/Makefile.am (libmath_la_SOURCES): Add.
224 * libmath/Makefile.in. Regenerate.
226 2001-06-21 Phil Edwards <pme@sources.redhat.com>
228 * include/backward/algo.h: Add "GPL plus runtime exception" comment.
229 * include/backward/algobase.h: Likewise.
230 * include/backward/alloc.h: Likewise.
231 * include/backward/bvector.h: Likewise.
232 * include/backward/defalloc.h: Likewise.
233 * include/backward/deque.h: Likewise.
234 * include/backward/function.h: Likewise.
235 * include/backward/hash_map.h: Likewise.
236 * include/backward/hash_set.h: Likewise.
237 * include/backward/hashtable.h: Likewise.
238 * include/backward/heap.h: Likewise.
239 * include/backward/iterator.h: Likewise.
240 * include/backward/list.h: Likewise.
241 * include/backward/map.h: Likewise.
242 * include/backward/multimap.h: Likewise.
243 * include/backward/multiset.h: Likewise.
244 * include/backward/pair.h: Likewise.
245 * include/backward/rope.h: Likewise.
246 * include/backward/set.h: Likewise.
247 * include/backward/slist.h: Likewise.
248 * include/backward/stack.h: Likewise.
249 * include/backward/strstream: Likewise.
250 * include/backward/tempbuf.h: Likewise.
251 * include/backward/tree.h: Likewise.
252 * include/backward/vector.h: Likewise.
253 * include/bits/pthread_allocimpl.h: Likewise.
254 * include/bits/std_algorithm.h: Likewise.
255 * include/bits/std_bitset.h: Likewise.
256 * include/bits/std_deque.h: Likewise.
257 * include/bits/std_functional.h: Likewise.
258 * include/bits/std_iterator.h: Likewise.
259 * include/bits/std_list.h: Likewise.
260 * include/bits/std_map.h: Likewise.
261 * include/bits/std_memory.h: Likewise.
262 * include/bits/std_numeric.h: Likewise.
263 * include/bits/std_queue.h: Likewise.
264 * include/bits/std_set.h: Likewise.
265 * include/bits/std_stack.h: Likewise.
266 * include/bits/std_utility.h: Likewise.
267 * include/bits/std_vector.h: Likewise.
268 * include/bits/stl_algo.h: Likewise.
269 * include/bits/stl_algobase.h: Likewise.
270 * include/bits/stl_alloc.h: Likewise.
271 * include/bits/stl_bvector.h: Likewise.
272 * include/bits/stl_construct.h: Likewise.
273 * include/bits/stl_deque.h: Likewise.
274 * include/bits/stl_function.h: Likewise.
275 * include/bits/stl_heap.h: Likewise.
276 * include/bits/stl_iterator.h: Likewise.
277 * include/bits/stl_iterator_base_funcs.h: Likewise.
278 * include/bits/stl_iterator_base_types.h: Likewise.
279 * include/bits/stl_list.h: Likewise.
280 * include/bits/stl_map.h: Likewise.
281 * include/bits/stl_multimap.h: Likewise.
282 * include/bits/stl_multiset.h: Likewise.
283 * include/bits/stl_numeric.h: Likewise.
284 * include/bits/stl_pair.h: Likewise.
285 * include/bits/stl_pthread_alloc.h: Likewise.
286 * include/bits/stl_queue.h: Likewise.
287 * include/bits/stl_raw_storage_iter.h: Likewise.
288 * include/bits/stl_relops.h: Likewise.
289 * include/bits/stl_set.h: Likewise.
290 * include/bits/stl_stack.h: Likewise.
291 * include/bits/stl_tempbuf.h: Likewise.
292 * include/bits/stl_threads.h: Likewise.
293 * include/bits/stl_tree.h: Likewise.
294 * include/bits/stl_uninitialized.h: Likewise.
295 * include/bits/stl_vector.h: Likewise.
296 * include/bits/type_traits.h: Likewise.
297 * include/ext/hash_map: Likewise.
298 * include/ext/hash_set: Likewise.
299 * include/ext/rope: Likewise.
300 * include/ext/ropeimpl.h: Likewise.
301 * include/ext/slist: Likewise.
302 * include/ext/stl_hash_fun.h: Likewise.
303 * include/ext/stl_hashtable.h: Likewise.
304 * include/ext/stl_rope.h: Likewise.
305 * libsupc++/unwind-cxx.h: Likewise.
306 * src/bitset.cc: Likewise.
307 * src/strstream.cc: Likewise.
309 2001-06-21 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
311 * include/bits/indirect_array.h (indirect_array<>::operator=):
312 Make copy and assignment operator public. Implement. Format.
314 * include/bits/valarray_array.h (__valarray_copy): Add overloads
315 for copy between index arrays. Format.
317 2001-06-19 Benjamin Kosnik <bkoz@redhat.com>
319 * mknumeric_limits: Add static definitions, format.
320 * testsuite/18_support/numeric_limits.cc (test02): Add test.
322 * include/c_std/bits/std_cwchar.h: Include ctime.
323 * testsuite/17_intro/header_cwchar.cc : Check.
325 * include/c_std/bits/std_cwctype.h: Inject wctype.
326 * testsuite/17_intro/header_cwctype.cc: Update.
328 2001-06-18 Benjamin Kosnik <bkoz@redhat.com>
330 * include/bits/stl_raw_storage_iter.h: Format. Correct derivation.
331 * testsuite/20_util/raw_storage_iterator.cc: Same.
333 * include/bits/stl_alloc.h (_S_chunk_alloc): Change malloc to
335 (__mem_interface): New typedef for switching between malloc and new.
336 * testsuite/20_util/allocator_members.cc: New file.
338 * testsuite/20_util/comparisons.cc: New file.
339 * testsuite/20_util/pairs.cc: New file.
341 2001-06-15 Phil Edwards <pme@sources.redhat.com>
343 * docs/html/documentation.html: Point to new doxygen'ed collection.
345 2001-06-14 Nathan Sidwell <nathan@codesourcery.com>
347 * configure.in (auxdir): Replace by ...
348 (toprel): ... new variable.
349 (toplevel_srcdir): Construct from $toprel.
350 * acinclude.m4 (GLIBCPP_ENABLE_THREADS): Use $toprel
351 rather than .. to locate gcc source directory.
352 (GLIBCPP_CONFIGURE): Replace $auxdir with $srcdir/$toprel.
353 * aclocal.m4, configure: Rebuilt.
355 2001-06-13 John David Anglin <dave@hiauly1.hia.nrc.ca>
357 (Approved by Mark and Benjamin. Applied by Loren.)
359 * src/globals.cc: Define globals _GLIBCPP_mutex_init (),
360 _GLIBCPP_mutex_address_init (), _GLIBCPP_once, _GLIBCPP_mutex
361 and _GLIBCPP_mutex_address.
362 * include/bits/stl_threads.h (_STL_mutex_lock): Use above to provide
363 once-only runtime initialization of _M_lock mutex when
364 __GTHREAD_MUTEX_INIT_FUNCTION is defined.
365 (__STL_MUTEX_INITIALIZER): Provide initializer for _STL_mutex_lock
366 for __GTHREAD_MUTEX_INIT_FUNCTION case.
368 2001-06-13 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
370 * testsuite/26_numerics/slice_array_assignment.cc (main): New test.
372 * include/bits/slice_array.h (slice_array<>::operator=): Make
373 public and implement.
374 (slice_array<>::slice_array): Make copy-constructor public.
376 * include/bits/valarray_array.h (__valarray_copy): Add another
377 overload to copy between strided arrays.
379 2001-06-13 Benjamin Kosnik <bkoz@redhat.com>
381 * acinclude.m4 (GLIBCPP_CONFIGURE): Bump version to 3.0.0.
382 * aclocal.m4: Regenerate.
383 * configure: Regenerate.
384 * include/bits/c++config (__GLIBCPP__): Update date.
386 2001-06-12 Benjamin Kosnik <bkoz@redhat.com>
388 * include/bits/fpos.h (fpos::operator-): Don't return reference,
389 return original, non-modified version.
390 (fpos::operator+): Same.
391 * testsuite/27_io/fpos.cc: Add test.
393 2001-06-12 Loren J. Rittle <ljrittle@acm.org>
396 * porting.texi: Add documentation about libstdc++-v3-specific
397 macros that are currently included in os_defines.h files.
399 * config/basic_file_stdio.h (sys_getc): New method.
400 (sys_ungetc): New method.
401 * include/bits/basic_file.h: (sys_getc): New method signature.
402 (sys_ungetc): New method signature.
404 * include/bits/fstream.tcc (underflow): Add conditional code
405 paths which avoid using short seeks on streams (especially
406 useful when the stream might be interactive or a pipe). At
407 the moment, this alternate path only avoids seeking when the
408 ``buffer size'' of underflow() is 1 since the C standard only
409 guarantees buffer space for one ungetc (this technique could
410 be extended since *-*-solaris* supports buffering for 4 calls
411 to ungetc and *-*-*bsd* supports buffering limited only by
412 memory resources). Also, _GLIBCPP_AVOID_FSEEK must be defined
413 in a port's os_defines.h file for this alternate path to even
414 be considered. As a bonus, the idiom of using getc/ungetc
415 requires no system calls whereas fseek maps to one or two
416 system call(s) on many platforms.
418 * config/os/bsd/freebsd/bits/os_defines.h (_GLIBCPP_AVOID_FSEEK):
420 * config/os/solaris/solaris2.5/bits/os_defines.h
421 (_GLIBCPP_AVOID_FSEEK): Likewise.
422 * config/os/solaris/solaris2.6/bits/os_defines.h
423 (_GLIBCPP_AVOID_FSEEK): Likewise.
424 * config/os/solaris/solaris2.7/bits/os_defines.h
425 (_GLIBCPP_AVOID_FSEEK): Likewise.
427 2001-06-12 Benjamin Kosnik <bkoz@redhat.com>
429 * acinclude.m4 (GLIBCPP_CHECK_COMPILER_VERSION): Change to
430 AC_TRY_COMPILE, so that the built compiler is checked, and
431 bootstraps or cross compiles with an older compile still work.
432 * aclocal.m4: Regenerate.
433 * configure: Regenerate.
435 2001-06-12 Benjamin Kosnik <bkoz@redhat.com>
438 * include/bits/std_sstream.h: Add allocator_type, as per DR 251.
441 * include/bits/istream.tcc (getline, get): Fix as per DR 243.
444 * include/bits/std_bitset.h (bitset::set): Fix as per DR 186.
447 * include/bits/limits_generic.h: Fix as per DR 184.
449 2001-06-11 Benjamin Kosnik <bkoz@redhat.com>
452 * include/bits/basic_string.h (string::compare): Adjust signatures
454 * include/bits/basic_string.tcc: And here.
457 * config/c_io_stdio.h: Remove whitespace.
458 * testsuite/27_io/istream_seeks.cc (test03): Add regression.
459 (test02): Add regression.
460 * testsuite/27_io/istream_seeks-3.tst: New file.
462 2001-06-11 Phil Edwards <pme@sources.redhat.com>
464 * README: Update to reflect reality.
465 * acinclude.m4: Update descriptions, fix typos. Comment changes only.
466 * configure.in: Make certain target_alias is set and subst'd for 2.50.
467 * aclocal.m4: Regenerate.
468 * configure: Regenerate (with 2.13).
470 2001-06-11 Benjamin Kosnik <bkoz@redhat.com>
473 * include/bits/ostream.tcc (ostream::seekp): Add error checking as
475 * include/bits/istream.tcc (istream::seekg): Same.
476 * testsuite/27_io/istream_seeks.cc: Fix.
479 * include/bits/stl_function.h (binder2nd): Fix as per DR 109.
481 * include/bits/std_queue.h: Add c++config.h.
482 * testsuite/20_util/binders.cc: New test.
484 2001-06-11 Matthias Klose <doko@debian.org>
485 Phil Edwards <pme@sources.redhat.com>
487 * docs/doxygen/run_doxygen (find_doxygen): Tweak version check.
488 (main script): Echo more information.
490 2001-06-10 Benjamin Kosnik <bkoz@redhat.com>
492 * include/c_std/bits/std_cwchar.h: Alphabetize.
493 * include/bits/char_traits.h: Tweak.
494 * acinclude.m4 (GLIBCPP_CHECK_WCHAR_T_SUPPORT): Check for
495 everything used by std_cwchar.h.
496 * aclocal.m4: Regenerate.
497 * configure.in: Regenerate.
498 * config.h.in: Regenerate.
500 2001-06-10 Benjamin Kosnik <bkoz@redhat.com>
502 * acinclude.m4 (GLIBCPP_ENABLE_C99): Add stdio.h checking.
503 Add checking for strtof, _Exit in stdlib.h
504 * aclocal.m4: Regenerate.
505 * configure.in: Regenerate.
506 * include/c_std/bits/std_cstdio.h: Alphabetize lists.
507 (snprintf): Put C99 functions into __gnu_cxx namespace.
512 * include/c_std/bits/std_cstdlib.h: Alphabetize lists. Put undefs
513 for C99 functions within _GLIBCPP_USE_C99 guard.
517 * include/bits/locale_facets.tcc: Check if C99 is enabled.
518 * include/c_std/bits/std_cwchar.h (__gnu_cxx): Put undefs within
520 * include/c_std/bits/cmath.tcc: Formatting tweak.
521 * include/c_std/bits/std_cmath.h: Same.
523 2001-06-10 Benjamin Kosnik <bkoz@redhat.com>
525 * include/c_std/bits/std_cstdio.h: Include cstddef for size_t.
527 2001-06-09 Alexandre Oliva <aoliva@redhat.com>
528 Stephen L Moshier <moshier@mediaone.net>
530 * acinclude.m4 (AC_EXEEXT): Work around in case it expands to
531 nothing, as in autoconf 2.50.
532 * configure: Rebuilt.
534 2001-06-09 Benjamin Kosnik <bkoz@redhat.com>
536 * include/c_std/bits/std_cwchar.h: Remove size_t injection,
538 * include/c_std/bits/std_ctime.h: Same.
539 * include/c_std/bits/std_cstring.h: Same.
540 * include/c_std/bits/std_cstdlib.h: Same.
542 * include/c_std/bits/std_cstdio.h: Remove vsnprintf, snprintf.
543 * include/c_std/bits/std_cctype.h: Remove isblank.
545 2001-06-09 Benjamin Kosnik <bkoz@redhat.com>
547 * acinclude.m4 (GLIBCPP_CHECK_WCHAR_T_SUPPORT): Check for fgetwc,
549 * aclocal.m4: Regenerate.
550 * configure: Regenerate.
551 * include/c_std/bits/std_cwchar.h: Remove duplicate fgetwc
552 injection, guard fgetwc, fgetws.
553 * include/c_std/bits/std_cstdio.h: Remove superfluous includes.
554 * include/c_std/bits/std_clocale.h: And here.
555 * include/c_std/bits/std_cctype.h: And here.
556 * include/c_std/bits/std_cstdlib.h (strtof): Guard strtof injection.
558 * config/basic_file_stdio.h: Don't include unistd.h.
559 * config/c_io_stdio.h: Don't use compatibility headers.
560 * libsupc++/eh_terminate.cc: Qualify abort.
561 (__terminate): And here.
562 * libsupc++/eh_catch.cc (__cxa_end_catch): Qualify abort.
564 2001-06-08 Benjamin Kosnik <bkoz@redhat.com>
566 * include/c_std/bits/std_cstdlib.h: Remove _Exit, strtof injections.
568 2001-06-08 Benjamin Kosnik <bkoz@redhat.com>
573 * include/std/*: Add copyright notice.
574 * include/c_std/bits/*: Use using statements instead of extern "C".
575 * include/c_std/bits/std_cmath.h: Don't overload double versions
576 of math functions with __buitin versions, use global version to
577 prevent ambiguities. Remove define hacks.
578 * include/c_std/bits/std_cwchar.h: Using declarations for "C"
579 functions that have changed signatures and std::
580 declarations. Remove define hacks.
581 * include/c_std/bits/std_cwchar.h: Same, plus remove ambiguous
582 __builtins in std::. Remove define hacks.
583 * testsuite/17_intro/headers_c.cc: Add tests.
584 * testsuite/17_intro/headers_c++.cc: Add test.
586 2001-06-07 Loren J. Rittle <ljrittle@acm.org>
587 John David Anglin <dave@hiauly1.hia.nrc.ca>
590 * libsupc++/eh_alloc.cc: Ensure that required macros are
591 defined before including gthr.h. Ensure that we get the
592 version of gthr.h for which we know how to provide a
594 * libsupc++/eh_globals.cc: Likewise. And, bring the threading
595 code path into line with the current EH model. Use std, where
598 2001-06-07 Loren J. Rittle <ljrittle@acm.org>
599 John David Anglin <dave@hiauly1.hia.nrc.ca>
601 * config/threads-no.h: Remove file.
602 * config/threads-posix.h: Remove file.
604 * acconfig.h (_GLIBCPP_USE_THREADS): Remove.
605 (_GLIBCPP_SUPPORTS_WEAK): Add (required by namespace-clean gthr*.h).
606 (_GLIBCPP_HAVE_GTHR_DEFAULT): Likewise.
607 * config.h.in: Regenerate.
609 * acinclude.m4 (GLIBCPP_ENABLE_THREADS): Completely rework to
610 setup and use gthr*.h files. In particular, make gthr.h files
611 namespace-clean in the staging area (they don't have to be for
613 * aclocal.m4: Regenerate.
614 * configure: Regenerate.
616 * src/Makefile.am (build_headers): Remove bits/c++threads.h
617 and add bits/gthr.h bits/gthr-single.h bits/gthr-default.h.
618 * src/Makefile.in: Regenerate.
620 * include/bits/c++config: Cleanup threading configuration macros.
621 In particular, define __STL_GTHREADS macro which controls...
622 * include/bits/stl_threads.h: ...a brand new gthr.h-based
625 * config/c_io_stdio.h: Include staged gthr.h instead of local
626 thread configuration file. Always use __gthread_mutex_t
627 instead of __mutext_type (or int).
628 * include/bits/std_fstream.h: Likewise.
630 * docs/html/17_intro/howto.html: Remove placeholder comment in
631 case this configuration patch didn't make it. Add advice that
632 section only applies if configured with --enable-threads.
633 * docs/html/23_containers/howto.html: Reword to make clear
634 that _PTHREADS is no longer required for any port to be
635 correctly using STL with threads. Add advice that section
636 only applies if configured with --enable-threads.
638 2001-06-06 Benjamin Kosnik <bkoz@redhat.com>
640 * src/string-inst.cc (_Rep::_S_max_size): Add instantiation.
642 2001-06-05 Benjamin Kosnik <bkoz@redhat.com>
645 * include/bits/basic_ios.tcc: Formatting tweaks.
646 * include/bits/ios_base.h: Formatting tweaks.
647 * src/ios.cc (ios_base::Init::_S_ios_create): Use filebufs here.
648 (ios_base::Init::_S_ios_destroy): ..and here. Explicitly call dtors.
649 * src/globals.cc: Allocate filebufs for standard streams here.
650 (buf_cout, buf_cin, buf_cerr): Like so.
651 (buf_wcout, buf_wcin, buf_wcerr): And so.
652 * testsuite/27_io/ios_init.cc: Add.
654 2001-06-04 Brendan Kehoe <brendan@zen.org>
655 Benjamin Kosnik <bkoz@redhat.com>
658 * include/bits/locale_facets.h (ctype<_CharT>): Add definitions
659 for generic ctype virtuals.
660 * src/locale.cc: Minor tweaks, naming consistency.
661 * testsuite/22_locale/ctype.cc: Add test.
663 2001-06-04 Kenny Simpson <theonetruekenny@yahoo.com>
664 Phil Edwards <pme@sources.redhat.com>
666 PR libstdc++/3035 and PR libstdc++/3036
667 * include/bits/stl_pair.h: Fix pair ctor and make_pair according
668 to LWG DR 181 and 265.
670 2001-06-04 Phil Edwards <pme@sources.redhat.com>
673 * include/bits/stl_multiset.h (find, lower_bound, upper_bound,
674 equal_range): Add const overloads as per LWG DR 214.
675 * include/bits/stl_set.h: Likewise.
677 2001-06-04 Brendan Kehoe <brendan@zen.org>
678 Phil Edwards <pme@sources.redhat.com>
681 * include/bits/std_bitset.h (bitset::test): Fix __pos >= _Nb
682 comparison; all positions must be < _Nb.
683 * testsuite/23_containers/bitset_members.cc: New file.
685 2001-06-04 Brendan Kehoe <brendan@zen.org>
688 * include/bits/stl_queue.h (classes queue, priority_queue): Fix
689 ctors to match the standard.
691 2001-06-04 Jeffrey Oldham <oldham@codesourcery.com>
693 * include/bits/char_traits.h (move): Reverse qualification of
695 (copy): Reverse qualification of memcpy with std::.
697 2001-06-04 Jeffrey Oldham <oldham@codesourcery.com>
699 * include/bits/char_traits.h (move): Qualify memmove with std::.
700 (copy): Qualify memcpy with std::.
701 * testsuite/27_io/filebuf_virtuals.cc (test01): Qualify strlen and
704 * testsuite/27_io/stringbuf_virtuals.cc (test01): Likewise.
706 2001-06-04 Hans-Peter Nilsson <hp@axis.com>
708 * libsupc++/Makefile.am (install-glibcppinstallHEADERS,
709 uninstall-glibcppinstallHEADERS): Have explicit rules catering to
710 SUN make VPATH peculiarities.
711 * libsupc++/Makefile.in: Regenerate.
713 2001-06-01 Hans-Peter Nilsson <hp@axis.com>
715 * src/Makefile.am (VPATH): Delimit with ":", not space.
716 * src/Makefile.in: Regenerate.
718 * configure.in (use of GLIBCPP_CHECK_GNU_MAKE): Don't fail if GNU
720 * configure: Regenerate.
722 2001-05-31 scott snyder <snyder@fnal.gov>
725 * include/bits/istream.tcc: Include std_ostream.h.
727 2001-05-31 Benjamin Kosnik <bkoz@redhat.com>
730 * src/bitset.cc: Qualify size_t with std::.
732 2001-05-30 Benjamin Kosnik <bkoz@redhat.com>
734 * acconfig.h (_GLIBCPP_BUGGY_FLOAT_COMPLEX): Remove.
735 (_GLIBCPP_BUGGY_COMPLEX): Remove.
736 * config.h.in: Regenerate.
737 * acinclude.m4 (GLIBCPP_CHECK_COMPLEX_MATH_COMPILER_SUPPORT): Remove.
738 * aclocal.m4: Regenerate.
739 * configure.in: Don't call it.
740 * configure: Regenerate.
743 * src/complex_io.cc (operator<<(ostream&, const complex&): Fix.
744 * testsuite/26_numerics/complex_inserters_extractors.cc (test01):
748 * include/bits/std_complex.h: Include sstream. Put definitions for
749 complex inserters and extractors here, and remove them from...
750 * src/complex_io.cc: ...here.
751 * include/bits/basic_ios.h (basic_ios::__numput_type): Add _Traits
753 (basic_ios::__numget_type): Same.
754 * include/bits/std_istream.h: Same.
755 * include/bits/std_ostream.h: Same.
756 * include/bits/sbuf_iter.h (ostreambuf_iterator): Fix typo in base
757 class iterator template arguments.
758 * src/locale-inst.cc: Add explicit has_facet instantiations.
759 * include/bits/basic_ios.h (basic_ios::_M_get_fctype_ios): Remove.
760 (_M_get_fnumput): Remove.
761 (_M_get_fnumget): Remove.
762 (basic_ios::_M_check_facet): New function.
763 (basic_ios::_M_cache_facets): New function.
764 * include/bits/basic_ios.tcc: Definition for _M_cache_facets.
765 (basic_ios::imbue): Call _M_cache_facets.
766 (basic_ios::init): Same.
767 * include/bits/istream.tcc: Format, use _M_check_facet.
768 * include/bits/ostream.tcc: Same.
769 * include/bits/locale_facets.tcc (__output_float): Change
770 signature, add _Traits.
771 * testsuite/26_numerics/complex_inserters_extractors.cc (test02):
774 2001-05-30 Loren J. Rittle <ljrittle@acm.org>
776 * include/bits/c++config (__USE_MALLOC): Do not define it.
777 Document why not and give pointers to more information.
779 * docs/html/23_containers/howto.html: Update documentation
780 to reflect recent understanding of problem.
781 * docs/html/17_intro/howto.html: Likewise.
783 2001-05-30 Phil Edwards <pme@sources.redhat.com>
785 * docs/doxygen/user.cfg.in: Minor addition.
786 * docs/html/documentation.html: Reorganize. Put most-looked-at
788 * docs/html/install.html: Update for 3.0. HTML fixups.
789 * docs/html/17_intro/howto.html: Likewise.
790 * docs/html/18_support/howto.html: Likewise.
791 * docs/html/19_diagnostics/howto.html: Likewise.
792 * docs/html/20_util/howto.html: Likewise.
793 * docs/html/23_containers/howto.html: Likewise.
794 * docs/html/24_iterators/howto.html: Likewise. More notes.
795 * docs/html/25_algorithms/howto.html: Likewise.
796 * docs/html/26_numerics/howto.html: Likewise. More notes.
797 * docs/html/27_io/howto.html: Likewise.
798 * docs/html/ext/howto.html: Likewise.
799 * docs/html/faq/index.html: Likewise.
800 * docs/html/faq/index.txt: Regenerate.
801 * docs/html/27_io/iostreams_hierarchy.pdf: Remove in favor of
802 Doxygen-created documentation.
804 2001-05-30 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
806 * testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3-init): Use
807 get_multilibs to find gcc.
809 2001-05-30 Phil Edwards <pme@sources.redhat.com>
811 * acinclude.m4 (GLIBCPP_ENABLE_C99): Reorder output messages.
812 * aclocal.m4: Regenerate.
813 * configure: Regenerate.
815 2001-05-29 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
817 * include/c_std/bits/std_cstdlib.h:: Move C99 thingies to __gnu_cxx::.
818 * include/c_std/bits/std_cwchar.h (__gnu_cxx): Likewise.
820 2001-05-27 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
822 * include/c_std/bits/std_cmath.h: Move C99 functions in __gnu_cxx::.
823 * include/c_std/bits/std_cstdlib.h: Same.
824 * include/c_std/bits/std_cwchar.h: Same.
826 2001-05-30 Loren J. Rittle <ljrittle@acm.org>
828 * docs/html/17_intro/howto.html: Update link.
829 * docs/html/23_containers/howto.html: Likewise. Add new link.
831 2001-05-26 Gabriel Dos Reis <gdr@codesourcery.com>
833 * include/c_std/bits/std_cmath.h (sqrt): #undef.
835 2001-05-23 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
837 * mknumeric_limits: Stop if gen-num-limits dies.
839 2001-05-25 Benjamin Kosnik <bkoz@redhat.com>
842 * acinclude.m4 (GLIBCPP_ENABLE_C99): Use AC_TRY_COMPILE.
843 * aclocal.m4: Regenerate.
846 2001-05-24 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
847 Phil Edwards <pme@sources.redhat.com>
848 Alexandre Oliva <aoliva@redhat.com>
850 * acinclude.m4 (GLIBCPP_EXPORT_INSTALL_INFO): Set glibcpp_srcdir
851 in an amd-safe manner. Revert glibcpp_prefixdir.
853 2001-05-25 Gabriel Dos Reis <gdr@codesourcery.com>
855 * include/c_std/bits/std_cmath.h: Tweak. #define away abs, cos,
856 fabs, sin, sqrt. They are now implemented in terms of __builtin_
859 2001-05-24 Benjamin Kosnik <bkoz@redhat.com>
862 * testsuite/21_strings/inserters_extractors.cc (test09): New test.
863 * include/bits/ostream.tcc: Format to match istream.tcc.
864 (operator<<(basic_ostream __out, const basic_string __s)): Fix.
866 2001-05-24 Phil Edwards <pme@sources.redhat.com>
868 * libsupc++/eh_alloc.cc (__cxa_allocate_exception): Qualify
870 (__cxa_free_exception): Likewise with free.
872 2001-05-24 Mark Mitchell <mark@codesourcery.com>
874 * include/c_std/bin/std_cstring.h: #define away all global
875 functions we will redeclare in namespace `std'.
876 * libsupc++/eh_alloc.cc (__cxa_allocate_exception): Use
877 std::memset, instead of memset.
878 * testsuite/19_diagnostics/stdexceptions.cc: Use `std::strcmp',
880 * testsuite/21_strings/c_strings.cc: Use `std::strcpy' instead of
883 2001-05-24 Benjamin Kosnik <bkoz@redhat.com>
886 * include/bits/basic_ios.tcc: Small tweak.
887 * include/bits/std_fstream.h (ifstream): Add buffer member. Adjust
888 ctors and dtors, and rdbuf settings.
891 * include/bits/std_sstream.h: Same, but for stringstream classes.
892 * testsuite/27_io/ostringstream_members.cc: New.
893 * testsuite/27_io/stringstream_members.cc: New.
894 * testsuite/27_io/fstream_members.cc: New.
895 * testsuite/27_io/ifstream_members.cc: Add test.
896 * testsuite/27_io/istringstream_members.cc: Add test.
897 * testsuite/27_io/ofstream_members.cc: Add test.
899 2001-05-24 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
901 * include/bits/c++config(__NO_MATH_INLINES): Move to...
902 * config/os/gnu-linux/bits/os_defines.h: ...here.
904 2001-05-24 Gabriel Dos Reis <gdr@codesourcery.com>
906 * include/bits/c++config (__NO_MATH_INLINES): New macro.
907 * testsuite/26_numerics/fabs_inline.cc (main): New test.
909 2001-05-22 Benjamin Kosnik <bkoz@redhat.com>
912 * testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3-init): Set
914 (libstdc++-v3_set_ld_library_path): New, copied from g++.exp.
915 (libstdc++-v3-finish): Remove.
916 (libstdc++-v3_exit): Remove.
918 2001-05-22 Phil Edwards <pme@sources.redhat.com>
920 * docs/html/documentation.html: Point to doxygen output.
922 2001-05-21 Benjamin Kosnik <bkoz@redhat.com>
924 * mkcheck.in (static_fail): Remove S_FLAG decoration on output.
926 * include/bits/std_sstream.h (stringbuf::setbuf): Require both
927 arguments to be non-null.
928 * include/bits/fstream.tcc (filebuf::_M_allocate_buffers): Only
929 try allocations if allocated size is greater than zero.
930 (filebuf::_M_filebuf_init): Change to
931 (filebuf::_M_allocate_file): Which is what it does now.
932 (filebuf::_M_allocate_bufers): Change to
933 (filebuf::_M_allocate_internal_buffer): This, and create
934 (filebuf::_M_allocate_pback_buffer): New.
935 (filebuf::_M_destroy_internal_buffer): New.
936 (filebuf::_M_buf_allocated): New data member.
937 (filebuf::setbuf): Use new logic, allow use of external buffer.
938 * testsuite/27_io/stringbuf_virtuals.cc: New file.
939 * testsuite/27_io/filebuf_virtuals.cc: New file.
941 2001-05-21 Stephen M. Webb <stephen@bregmasoft.com>
943 * include/c_std/bits/std_cstring.h (memchr): Define "C" functions to
945 (strchr): Same, but to __glibcpp_strchr.
949 * include/c_std/bits/std_cwchar.h (wcschr): Same.
955 2001-05-21 Benjamin Kosnik <bkoz@redhat.com>
957 * testsuite/21_strings/c_strings.cc (main): Fix.
959 2001-05-19 Phil Edwards <pme@sources.redhat.com>
961 * acinclude.m4: Fix --help spacing, correct comments.
962 * aclocal.m4: Regenerate.
963 * configure: Regenerate.
964 * mkcheck.in: Add usage comments.
965 * docs/html/documentation.html: Point to doxygen'd tarball.
967 2001-05-18 Benjamin Kosnik <bkoz@redhat.com>
969 * testsuite/README: Add notes.
971 * src/Makefile.am (libstdc++.INC): Remove.
972 * src/Makefile.in: Regenerate.
974 Phil Edwards <pedwards@disaster.jaj.com>
975 * mkcheck.in: Add missing '#'.
977 2001-05-18 Angela Marie Thomas <angela@cygnus.com>
979 * testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3-init): Set flags
980 appropriately for remote testing and testing installed files without
983 2001-05-18 Benjamin Kosnik <bkoz@redhat.com>
985 * acinclude.m4 (GLIBCPP_EXPORT_INSTALL_INFO): Set glibcpp_srcdir
986 amd glibcpp_prefixdir with absolute paths.
988 * include/bits/c++config (__GLIBCPP__): Bump.
989 * acinclude.m4 (GLIBCPP_CONFIGURE): Correct version number.
991 2001-05-18 Gabriel Dos Reis <gdr@codesourcery.com>
993 * include/bits/std_valarray.h (valarray<>::operator[] const):
994 Return a const reference.
995 * testsuite/26_numerics/valarray_const_bracket.cc: New test.
997 2001-05-18 Alexandre Oliva <aoliva@redhat.com>
999 * configure.target (ATOMICITYH): Actually use AIX-specific code on
1000 earlier versions of AIX 4.*.
1002 2001-05-18 Angela Marie Thomas <angela@cygnus.com>
1004 * testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3-dg-test): Set
1005 output_file based on the name of the testcase.
1007 2001-05-18 Angela Marie Thomas <angela@cygnus.com>
1009 * testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3-init): Build
1010 gluefile and use it if needs_status_wrapper is set.
1012 2001-05-18 Alexandre Oliva <aoliva@redhat.com>
1014 * configure.target (ATOMICITYH): Use cpu/generic code on earlier
1017 2001-05-17 Alexandre Oliva <aoliva@redhat.com>
1019 * configure.target (ATOMICITYH): Don't use AIX 4.3-specific code
1020 on earlier versions of AIX.
1022 2001-05-15 Benjamin Kosnik <bkoz@redhat.com>
1024 * testsuite_flags.in (query): Add backwards, ext directories.
1026 2001-05-15 Mark Mitchell <mark@codesourcery.com>
1028 * porting.texi: Correct documentation about handling
1029 _LARRGEFILE_SOURCE and its ilk.
1030 * config/os/solaris/solaris2.5/bits/os_defines.h: Remove
1031 definitions of _XOPEN_SOURCE, _LARGEFILE64_SOURCE, and
1033 * config/os/solaris/solaris2.6/bits/os_defines.h: Likewise.
1034 * config/os/solaris/solaris2.7/bits/os_defines.h: Likewise.
1036 2001-05-15 Zack Weinberg <zackw@stanford.edu>
1038 * testsuite/21_strings/inserters_extractors.cc,
1039 testsuite/27_io/istream_unformatted.cc,
1040 testsuite/27_io/stringstream.cc:
1041 Replace multi-line string constants with C89-style
1042 concatenated string constants.
1044 2001-05-14 Richard Henderson <rth@redhat.com>
1046 * mknumeric_limits: Build with -fno-exceptions.
1048 2001-05-13 Benjamin Kosnik <bkoz@redhat.com>
1050 Switch over to new harness.
1051 * testsuite_flags.in: Tweaks via Gaby.
1052 * testsuite/Makefile.am: Change tool to libstdc++-v3.
1053 (EXPECT): Quote directly.
1055 * configure.in: Output testsuite_flags.
1056 * acinclude.m4: Substitute src, bld, and prefix dirs.
1057 Remove glibcpp_expect, glibcpp_runtestflags.
1058 * Makefile.am (RUNTESTFLAGS): Pass this down to subdirs.
1059 * mkcheck.in: Port to new interface.
1061 * aclocal.m4: Regerate.
1062 * configure: Regnerate.
1063 * Makefile.in: Regnerate.
1064 * */Makefile.in: Regenerate.
1066 * tests_flags.in: Remove.
1067 * testsuite/lib/libstdc++.exp: Remove.
1068 * testsuite/libstdc++.tests/tests.exp: Remove.
1070 2001-05-13 Alexandre Oliva <aoliva@redhat.com>
1072 * configure.target: Remove detection of AIX pthread multilib, now
1073 obtained from `gcc -v'.
1075 2001-05-13 John David Anglin <dave@hiauly1.hia.nrc.ca>
1077 * mkcheck.in (setup_size_command): Use Berkeley "-B" mode with GNU
1078 size. Add hpux case for HP size.
1080 2001-05-11 Benjamin Kosnik <bkoz@redhat.com>
1082 * testsuite_flags.in: New, simplified interface.
1083 * testsuite/lib/libstdc++-v3-dg.exp: New test harness.
1084 * testsuite/libstdc++-v3.dg: Add.
1085 * testsuite/libstdc++-v3.dg/dg.exp: Add.
1087 2001-05-11 Benjamin Kosnik <bkoz@redhat.com>
1089 * testsuite/*/*.cc: Remove spaces, make sure testcases return zero.
1090 * testsuite/config/default.exp: Update bugs email address.
1092 2001-05-11 Richard Henderson <rth@redhat.com>
1094 * libsupc++/eh_personality.cc: Include unwind-pe.h. Remove
1095 all pointer encoding logic.
1096 (struct lsda_header_info): Add ttype_base.
1097 (get_ttype_entry): Use it instead of a context.
1098 (check_exception_spec): Likewise.
1099 (PERSONALITY_FUNCTION): Initialize ttype_base. Store it in
1100 the c++ exception header for __cxa_call_unexpected.
1101 (__cxa_call_unexpected): Use it.
1103 2001-05-09 Benjamin Kosnik <bkoz@redhat.com>
1105 * testsuite/lib/libstdc++.exp: Use libgloss.exp. Call
1106 libgloss_link_flags to find crt0.o for targets that use libgloss
1108 Change LDFLAGS to LIBS.
1109 Consistently name procedures libstdc++-XXX.
1110 * testsuite/libstdc++.tests/tests.exp: Use new procedure names.
1112 2001-05-08 Benjamin Kosnik <bkoz@fillmore.constant.com>
1114 * include/c_std/bits/std_cstring.h (memchr): Correct definitions.
1119 * include/c_std/bits/std_cwchar.h (wcschr): Same.
1124 * testsuite/21_strings/c_strings.cc: Add tests.
1126 2001-05-07 Benjamin Kosnik <bkoz@redhat.com>
1129 * include/bits/std_fstream.h (basic_filebuf): Change signature.
1130 * include/bits/fstream.tcc (basic_filebuf): Change bool argument
1131 to int_type, pass in buffer size info.
1132 * include/bits/std_streambuf.h (_M_is_indeterminate): Check for
1133 unbuffered situation.
1134 (underflow): Remove codecvt bits for the time being.
1135 * include/bits/istream.tcc (istream::sentry): Avoid sputbackc call.
1136 * include/bits/locale_facets.tcc (_M_extract): Cache dereference
1137 values from iterators, clean.
1138 * src/locale.cc: Ditto.
1139 * include/bits/sbuf_iter.h: Format.
1140 * src/ios.cc: Explicitly pass in buffer sizes at creation time.
1141 * testsuite/27_io/narrow_stream_objects.cc: Add tests.
1142 * testsuite/27_io/filebuf.cc: Tweaks.
1143 * testsuite/27_io/filebuf_members.cc: Tweaks.
1145 2001-05-07 Mark Mitchell <mark@codesourcery.com>
1147 * config/os/solaris/solaris2.7/bits/os_defines.h
1148 (_LARGEFILE_SOURCE): Define it.
1150 2001-05-03 Alexandre Oliva <aoliva@redhat.com>
1152 * configure.in (LIBSUPCXX_PICFLAGS): Set it to -prefer-pic or
1153 -prefer-non-pic depending on whether libtool has shared libraries
1154 enabled or disabled.
1155 * libsupc++/Makefile.am (LIBSUPCXX_CXXFLAGS): Set to
1156 $(LIBSUPCXX_PICFLAGS).
1157 * configure, */Makefile.in: Rebuilt.
1159 2001-05-01 Benjamin Kosnik <bkoz@redhat.com>
1161 * include/bits/sbuf_iter.h (istreambuf_iterator): Correct.
1162 * testsuite/24_iterators/istreambuf_iterator.cc (test02): Add test.
1164 * include/bits/std_sstream.h (stringbuf): Leak
1166 * testsuite/24_iterators/ostreambuf_iterator.cc: Correct.
1168 2001-05-01 Tom Browder <tbrowder@home.com>
1170 * docs/html/ext/howto.html: Fix typo.
1172 2001-05-01 Gabriel Dos Reis <gdr@codesourcery.com>
1174 * testsuite/libstdc++.tests/tests.exp: Add comment.
1176 2001-05-01 Gabriel Dos Reis <gdr@codesourcery.com>
1178 * testsuite/libstdc++.tests/tests.exp: Set ulimits.
1180 2001-04-30 Mark Mitchell <mark@codesourcery.com>
1182 * porting.texi: Use the GFDL.
1184 2001-04-30 Benjamin Kosnik <bkoz@redhat.com>
1187 * testsuite/24_iterators/ostreambuf_iterator.cc: New file.
1188 * include/bits/sbuf_iter.h (ostreambuf_iterator): Remove bogus
1191 2001-04-30 Benjamin Kosnik <bkoz@redhat.com>
1194 * include/bits/stl_iterator_base_funcs.h (__advance): Fix.
1196 2001-04-28 Phil Edwards <pme@sources.redhat.com>
1198 * docs/doxygen/run_doxygen: Minor tweaks.
1199 * docs/doxygen/style.css: New file.
1200 * docs/doxygen/user.cfg.in: Update using "doxygen -u" to get the
1201 latest parameters available. Use style.css.
1203 2001-04-27 Benjamin Kosnik <bkoz@redhat.com>
1205 * docs/doxygen/mainpage.doxy: New.
1206 * docs/doxygen/user.cfg.in: Change default configuration. Single
1207 frame, other tweaks.
1209 2001-04-26 Mark Mitchell <mark@codesourcery.com>
1211 * docs/html/17_intro/BADNAMES: Remove EGCS reference.
1212 Indicate obsolete nature of thelist for G++ 3.0.
1214 2001-04-26 Alexandre Oliva <aoliva@redhat.com>
1216 * acinclude.m4 (GLIBCPP_ENABLE_THREADS): Obtain
1217 target_thread_file with `gcc -v'.
1218 * aclocal.m4, configure: Rebuilt.
1220 2001-04-25 Benjamin Kosnik <bkoz@redhat.com>
1222 * include/c_std/bits/std_cmath.h (std): Explicitly inject c99 names.
1223 * include/c_std/bits/std_cstdlib.h (std): Same, except for llabs.
1224 * include/c_std/bits/std_cwchar.h (std): Same.
1225 * acconfig.h (std): Remove c99 injection into std.
1226 * config.h.in: Regenerate.
1228 * testsuite/README: Fix typo.
1230 * include/bits/codecvt.h: Remove warnings.
1232 2001-04-24 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
1234 * include/ext/slist: Include required header files.
1236 2001-04-23 Loren J. Rittle <ljrittle@acm.org>
1238 * include/c_std/bits/std_cerrno.h (errno): Define macro from
1239 identifier declared with external linkage, if needed.
1240 * include/c_std/bits/std_csetjmp.h (setjmp): Likewise.
1241 * include/c_std/bits/std_cstdarg.h (va_end): Likewise.
1243 2001-04-23 Benjamin Kosnik <bkoz@fillmore.constant.com>
1245 * acinclude.m4 (CXX): Set to glibcpp_CXX so that in-directory
1246 re-configures find the build compiler.
1247 (GLIBCPP_ENABLE_C99): Do all fp-tests with 0.0, not 0. Fixes
1249 * aclocal.m4: Regenerate.
1250 * configure: Regenerate.
1252 2001-04-20 Benjamin Kosnik <bkoz@redhat.com>
1254 * acinclude.m4 (GLIBCPP_ENABLE_LONG_LONG): Make sure required C99
1255 support is enabled correctly before long long is activated.
1256 * aclocal.m4: Regenerate.
1257 * configure: Regenerate.
1259 * include/backward/backward_warning.h: Format correctly.
1261 * testsuite/26_numerics/c99_classification_macros_c.cc: Add.
1262 * testsuite/26_numerics/c99_classification_macros_c++.cc: Add.
1263 * testsuite/26_numerics/c99_macros.cc: Remove.
1265 2001-04-20 Phil Edwards <pme@sources.redhat.com>
1267 * include/bits/stl_bvector.h: Replace __ITERATOR_CATEGORY with
1268 __iterator_category.
1270 2001-04-19 Benjamin Kosnik <bkoz@redhat.com>
1272 * acconfig.h (_GLIBCPP_USE_C99): Add.
1273 * config.h.in: Regenerate.
1274 * acinclude.m4 (GLIBCPP_ENABLE_C99): New macro. Test for ISO/IEC
1276 * aclocal.m4: Regenerate.
1277 * configure.in (GLIBCPP_ENABLE_C99): Use it, on by default.
1278 * configure: Regenerate.
1279 * configure.in (GLIBCPP_ENABLE_LONG_LONG): Set default to yes.
1280 * configure: Regenerate.
1281 * include/c_std/bits/std_cwchar.h: Put wcstold, wcstoll, wcstoull
1283 * include/c_std/bits/std_cmath.h: Bring C99 functions into c99
1285 * include/c_std/bits/std_cstdlib.h: Same.
1286 * docs/html/configopts.html: Update.
1287 * testsuite/26_numerics/c99_macros.cc: Edit, use cmath instead of
1289 (test_c99_classify): Add.
1290 * config/os/gnu-linux/bits/os_defines.h (_GNU_SOURCE): Remove.
1291 (_ISOC99_SOURCE): Remove.
1293 * include/bits/stl_algo.h: Use _GLIBCPP_HAVE_DRAND48.
1294 * include/bits/c++config (__STL_ASSERTIONS): Simplify.
1295 * acinclude.m4 (GLIBCPP_CHECK_STDLIB_SUPPORT): Add check for drand48.
1296 * aclocal.m4: Regenerate.
1297 * configure: Regenerate.
1299 2001-04-19 Phil Edwards <pme@sources.redhat.com>
1301 * Makefile.am (doxygen): Assume script is missing execute perms.
1302 * Makefile.in: Regenerated.
1303 * docs/doxygen/user.cfg.in: Add class diagrams and source browsing.
1305 2001-04-17 Loren J. Rittle <ljrittle@acm.org>
1307 * testsuite/27_io/istream_seeks.cc: Inform DejaGnu of required files.
1309 2001-04-17 Benjamin Kosnik <bkoz@redhat.com>
1311 * testsuite/23_containers/map_operators.cc: Add dg-excess-errors.
1312 * testsuite/23_containers/set_operators.cc: Same.
1314 * include/bits/c++config: Add _GLIBCPP_CONCEPT_CHECKS. Disable by
1316 (__GLIBCPP__): Bump from value of last release.
1317 * include/bits/concept_check.h: Default to off, edit comments.
1318 * src/stl-inst.cc: Use _GLIBCPP_CONCEPT_CHECKS.
1319 * src/Makefile.am (AM_CXXFLAGS): Remove _GLIBCPP_NO_CONCEPT_CHECKS.
1320 * src/Makefile.in: Regenerate.
1322 2001-04-14 Martin Reinecke <martin@MPA-Garching.MPG.DE>
1324 * include/bits/boost_concept_check.h(_Mutable_ContainerConcept):
1325 Properly uglify member.
1327 2001-04-13 Phil Edwards <pme@sources.redhat.com>
1329 * include/bits/stl_algobase.h (equal): Use EqualOpConcept instead
1333 2001-04-13 Phil Edwards <pme@sources.redhat.com>
1335 * include/bits/boost_concept_check.h: Uglify, fork from Boost.
1336 * include/bits/concept_check.h: Uglify.
1337 * include/bits/stl_algo.h: Likewise.
1338 * include/bits/stl_algobase.h: Likewise.
1339 * include/bits/stl_deque.h: Likewise.
1340 * include/bits/stl_heap.h: Likewise.
1341 * include/bits/stl_iterator_base_funcs.h: Likewise.
1342 * include/bits/stl_list.h: Likewise.
1343 * include/bits/stl_map.h: Likewise.
1344 * include/bits/stl_multimap.h: Likewise.
1345 * include/bits/stl_multiset.h: Likewise.
1346 * include/bits/stl_numeric.h: Likewise.
1347 * include/bits/stl_queue.h: Likewise.
1348 * include/bits/stl_set.h: Likewise.
1349 * include/bits/stl_stack.h: Likewise.
1350 * include/bits/stl_vector.h: Likewise.
1351 * include/ext/hash_map: Likewise.
1352 * include/ext/hash_set: Likewise.
1353 * include/ext/slist: Likewise.
1355 2001-04-13 Gabriel Dos Reis <gdr@codesourcery.com>
1357 * testsuite/23_containers/set_operators.cc: Just try to compile.
1359 * testsuite/23_containers/map_operators.cc: Same.
1361 2001-04-12 Jason Merrill <jason_merrill@redhat.com>
1363 * testsuite/lib/libstdc++.exp (libstdc++-dg-test): Prepend "./" to
1365 (dg-test): Revert rth's change.
1367 2001-04-12 Nathan Sidwell <nathan@codesourcery.com>
1369 * libsupc++/eh_alloc.cc (__cxa_allocate_exception): Don't
1370 terminate holding the mutex. Make sure size fits in EMERGENCY_OBJ_SIZE.
1372 2001-04-12 Gabriel Dos Reis <gdr@codesourcery.com>
1374 * testsuite/README: Add DejaGnu specific documentation.
1376 2001-04-11 Benjamin Kosnik <bkoz@redhat.com>
1378 * acinclude.m4: AC_CHECK_TOOL for expect.
1379 * aclocal.m4: Regenerate.
1380 * configure: Regenerate.
1381 * testsuite/Makefile.am (RUNTEST): Use substituted.
1384 * configure.in: Remove xcompiling substitution.
1385 * tests_flags.in (CROSS_LIB_PATH): Remove.
1386 (xcompiling): Remove.
1387 (CXX): Use substituted CXX.
1389 2001-04-11 Richard Henderson <rth@redhat.com>
1391 * testsuite/lib/libstdc++.exp: Specify path for output_file.
1393 2001-04-08 Gabriel Dos Reis <gdr@codesourcery.com>
1395 * include/bits/std_valarray.h(valarray<>::operator[]): Make
1398 2001-04-06 Gabriel Dos Reis <gdr@codesourcery.com>
1400 * testsuite/25_algorithms/equal.cc: New test.
1402 2001-04-06 Joe Buck <jbuck@welsh-buck.org>
1404 * stl_algobase.h (std::equal): avoid use of possibly-undefined
1405 operator != (one line patch).
1407 2001-04-06 Benjamin Kosnik <bkoz@redhat.com>
1409 * include/backward/backward_warning.h: Re-enable.
1411 2001-04-06 Benjamin Kosnik <bkoz@redhat.com>
1412 Alexandre Oliva <aoliva@redhat.com>
1414 * tests_flags.in (CROSS_LIB_PATH): Add as -B flag.
1416 2001-04-06 Gabriel Dos Reis <gdr@codesourcery.com>
1418 * include/c_std/bits/std_cmath.h: Get rid of C99 math macros.
1419 * testsuite/26_numerics/c99_macros.cc: Add test.
1421 2001-04-06 Phil Edwards <pme@sources.redhat.com>
1423 * docs/html/faq/index.html: Update for 2.92, grab from RELEASE-NOTES.
1424 * docs/html/faq/index.txt: Regenerated.
1426 2001-04-06 Benjamin Kosnik <bkoz@redhat.com>
1428 * include/backward/backward_warning.h: Temporarily disable until
1429 g++ testsuite changes go in.
1430 * tests_flags.in (CROSS_LIB_PATH): Add.
1432 2001-04-05 Benjamin Kosnik <bkoz@redhat.com>
1434 Warn when using backward headers.
1435 * include/backward/algo.h: Include warning file.
1436 * include/backward/vector.h: Same.
1437 * include/backward/tree.h: Same.
1438 * include/backward/tempbuf.h: Same.
1439 * include/backward/strstream: Same.
1440 * include/backward/streambuf.h: Same.
1441 * include/backward/stream.h: Same.
1442 * include/backward/stack.h: Same.
1443 * include/backward/slist.h: Same.
1444 * include/backward/set.h: Same.
1445 * include/backward/rope.h:
1446 * include/backward/queue.h: Same.
1447 * include/backward/pair.h: Same.
1448 * include/backward/ostream.h: Same.
1449 * include/backward/new.h: Same.
1450 * include/backward/multiset.h: Same.
1451 * include/backward/multimap.h: Same.
1452 * include/backward/map.h: Same.
1453 * include/backward/list.h: Same.
1454 * include/backward/iterator.h: Same.
1455 * include/backward/istream.h: Same.
1456 * include/backward/iostream.h:
1457 * include/backward/iomanip.h:
1458 * include/backward/heap.h: Same.
1459 * include/backward/hashtable.h:
1460 * include/backward/hash_set.h:
1461 * include/backward/hash_map.h:
1462 * include/backward/function.h:
1463 * include/backward/fstream.h:
1464 * include/backward/deque.h:
1465 * include/backward/defalloc.h: Same.
1466 * include/backward/complex.h: Same.
1467 * include/backward/bvector.h:
1468 * include/backward/alloc.h:
1469 * include/backward/algobase.h: Same.
1471 * include/backward/backward_warning.h: New file.
1472 * src/Makefile.am (backward_headers): Add backward_warning.h
1473 * src/Makefile.in: Regenerate.
1475 2001-04-05 Benjamin Kosnik <bkoz@redhat.com>
1477 * src/Makefile.am (myinstalldirs): Make sure backward directory is
1479 (myinstallheaders): Install backward headers in backward directory.
1480 * src/Makefile.in: Regenerate.
1482 2001-04-05 Benjamin Kosnik <bkoz@redhat.com>
1484 Prepare for libstdc++-2.92.
1485 * docs/html/17_intro/RELEASE-NOTES (New): Update.
1486 * docs/html/configopts.html: Fix formatting.
1487 * README (file): Updates.
1488 * include/bits/c++config (__GLIBCPP__): Update.
1490 2001-04-05 Phil Edwards <pme@sources.redhat.com>
1492 * docs/doxygen/run_doxygen: Check for the existence of Doxygen.
1494 2001-04-04 Phil Edwards <pme@sources.redhat.com>
1496 * docs/doxygen/user.cfg.in: Extract all non-private members;
1497 reduce confusing documentation output.
1499 2001-04-04 Geoffrey Keating <geoffk@redhat.com>
1501 * include/backward/fstream.h: Add missing semicolons.
1503 2001-04-03 Benjamin Kosnik <bkoz@redhat.com>
1505 * include/bits/fstream.tcc: Add bool parameter to filebuf ctor.
1506 * include/bits/ios_base.h(ios_base::Init): Remove _M_cout, _M_cin,
1507 _M_cerr, _M_wcout, _M_wcin, _M_wcerr.
1508 (ios_base::Init::_S_ios_create): New.
1509 (ios_base::Init::_S_ios_destroy): New.
1510 * include/bits/std_fstream.h: Change ctor args.
1511 * src/ios.cc (ios_base::Init::Init): Use _S_ios_create.
1512 (ios_base::Init::~Init): Use _S_ios_destroy.
1513 (ios_base::sync_with_stdio): Use new members.
1514 * testsuite/27_io/filebuf_members.cc: Fix calling conventions for
1517 2001-04-03 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
1519 * include/backward/fstream.h: Expose streampos to global
1522 2001-04-03 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
1524 * include/bits/stl_iterator_base_types.h: Fix typo
1526 2001-04-03 Andreas Schwab <schwab@suse.de>
1528 * include/backward/fstream.h: Define filebuf and wfilebuf.
1530 2001-04-02 Phil Edwards <pme@sources.redhat.com>
1532 New concept checking implementation.
1533 * docs/html/19_diagnostics/howto.html: Document.
1534 * docs/html/17_intro/concept_check.diff: New file, for reference.
1535 * include/bits/boost_concept_check.h: New file from Boost.
1536 * include/bits/c++config: Update comments.
1538 * include/bits/concept_check.h: New file.
1539 * include/bits/concept_checks.h: Removed.
1540 * include/bits/container_concepts.h: Removed.
1541 * include/bits/sequence_concepts.h: Removed.
1542 * include/bits/stl_iterator_base.h: Removed; split into...
1543 * include/bits/stl_iterator_base_funcs.h: ...this new file...
1544 * include/bits/stl_iterator_base_types.h: ...and this new file.
1546 * include/bits/sbuf_iter.h: Update to use new implementation.
1547 * include/bits/std_iterator.h: Likewise.
1548 * include/bits/std_memory.h: Likewise.
1549 * include/bits/stl_algo.h: Likewise.
1550 * include/bits/stl_algobase.h: Likewise.
1551 * include/bits/stl_construct.h: Likewise.
1552 * include/bits/stl_deque.h: Likewise.
1553 * include/bits/stl_heap.h: Likewise.
1554 * include/bits/stl_list.h: Likewise.
1555 * include/bits/stl_map.h: Likewise.
1556 * include/bits/stl_multimap.h: Likewise.
1557 * include/bits/stl_multiset.h: Likewise.
1558 * include/bits/stl_numeric.h: Likewise.
1559 * include/bits/stl_queue.h: Likewise.
1560 * include/bits/stl_set.h: Likewise.
1561 * include/bits/stl_stack.h: Likewise.
1562 * include/bits/stl_uninitialized.h: Likewise.
1563 * include/bits/stl_vector.h: Likewise.
1564 * include/ext/hash_map: Likewise.
1565 * include/ext/hash_set: Likewise.
1566 * include/ext/slist: Likewise.
1567 * include/ext/stl_hashtable.h: Likewise.
1569 * src/Makefile.am (base_headers): Update list of headers.
1570 * Makefile.in: Regenerated.
1571 * src/Makefile.in: Regenerated.
1572 * libio/Makefile.in: Regenerated.
1573 * libmath/Makefile.in: Regenerated.
1574 * libsupc++/Makefile.in: Regenerated.
1575 * testsuite/Makefile.in: Regenerated.
1577 * docs/html/install.html: Update contact information.
1578 * docs/html/17_intro/howto.html: Ditto.
1579 * docs/html/18_support/howto.html: Ditto.
1580 * docs/html/20_util/howto.html: Ditto.
1581 * docs/html/21_strings/howto.html: Ditto.
1582 * docs/html/22_locale/howto.html: Ditto.
1583 * docs/html/23_containers/howto.html: Ditto.
1584 * docs/html/24_iterators/howto.html: Ditto.
1585 * docs/html/25_algorithms/howto.html: Ditto.
1586 * docs/html/26_numerics/howto.html: Ditto.
1587 * docs/html/27_io/howto.html: Ditto.
1588 * docs/html/faq/index.html: Ditto, plus info on new checking code.
1589 * docs/html/ext/howto.html: Ditto, plus info on new checking code.
1590 * docs/html/faq/index.txt: Regenerated.
1592 2001-04-02 Zack Weinberg <zackw@stanford.edu>
1594 * testsuite/lib/libstdc++.exp (dg-test): Annotate result
1595 messages with $which_library as well as $tool_flags and
1596 ${dg-extra-tool-flags}. Factor out annotation text into
1599 2001-04-02 Stephen M. Webb <stephen@bregmasoft.com>
1601 * include/c_std/bits/std_cstring.h: Fix for const-correctness.
1602 * include/c_std/bits/std_cwchar.h: Same.
1603 * testsuite/21_strings/c_strings.cc: Add.
1605 2001-04-01 Benjamin Kosnik <bkoz@codesourcery.com>
1607 * docs/html/configopts.html: Add --enable-sjlj-exceptions docs.
1609 2001-04-01 Zack Weinberg <zackw@stanford.edu>
1611 * tests_flags.in: Use test a = b, not test a == b which is not
1614 2001-03-31 Benjamin Kosnik <bkoz@redhat.com>
1616 * configure.target: Remove duplicate aix entry.
1618 2001-03-30 Benjamin Kosnik <bkoz@redhat.com>
1620 * include/ext/stl_bvector.h: Move to...
1621 * include/bits/stl_vector.h: ...here.
1622 * include/ext/bvector: Move to...
1623 * include/backward/bvector.h: ...here.
1624 * include/bits/std_vector.h: Change stl_bvector include.
1625 * include/bits/std_queue.h: Remove bvector include.
1626 * include/ext/tree: Insert using rb_tree, move to...
1627 * include/backward/tree.h: ...here.
1628 * include/backward/hash_map.h: Include ext/hash_map.
1629 * include/backward/hash_set.h: Include ext/hash_set.
1630 * include/backward/queue.h: New file.
1631 * include/backward/stack.h: Edit.
1632 * include/backward/algo.h: Same.
1633 * include/backward/algobase.h: Same.
1634 * include/backward/alloc.h: Same.
1635 * include/backward/function.h: Same.
1636 * include/backward/iomanip.h: Same.
1637 * include/backward/istream.h: Same.
1638 * include/backward/iterator.h: Same.
1639 * include/backward/list.h: Same.
1640 * include/backward/map.h: Same.
1641 * include/backward/multimap.h: Same.
1642 * include/backward/multiset.h: Same.
1643 * include/backward/ostream.h: Same.
1644 * include/backward/pair.h: Same
1645 * include/backward/rope.h: Same.
1646 * include/backward/set.h: Same.
1647 * include/backward/stream.h: Same.
1648 * include/backward/strstream.h: Same.
1649 * include/backward/tempbuf.h: Same.
1650 * src/Makefile.am (ext_headers): Edit.
1651 * src/Makefile.in: Regenerate.
1652 * testsuite/ext/headers.cc (main): Fix.
1655 2001-03-30 Phil Edwards <pme@sources.redhat.com>
1657 * tests_flags.in (LIBS): Pass correct path for installed testing.
1659 2001-03-28 Benjamin Kosnik <bkoz@redhat.com>
1661 * mkcheck.in (LIBTOOL): Don't construct -B argument here...
1662 * tests_flags.in (CXX): Construct here.
1663 (static_fail): Don't remove compile.out. Format with spaces.
1664 (INCLUDES): Deal with xcompiling.
1665 * configure.in (xcompiling): Substitute.
1666 * testsuite/Makefile.am: Snake libjava configury.
1667 * testsuite/Makefile.in: Regenerate.
1668 * testsuite/23_containers/map_operators.cc: Tweaks.
1669 * testsuite/23_containers/set_operators.cc: Tweaks.
1671 2001-03-28 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
1673 Enable dejagnu testing framework.
1674 * configure.in: Generate testsuite/Makefile.
1675 * configure: Regenerate.
1676 * Makefile.am (check-install): Change rule from this...
1677 (check-script-install): ...to this.
1678 (check): Change rule from this...
1679 (check-script):...to this.
1680 * Makefile.in: Regenerate.
1682 2001-03-28 Alexandre Oliva <aoliva@redhat.com>
1684 * libsupc++/Makefile.am (CXXLINK): Add --tag disable-shared after
1686 (LIBTOOL): Let automake take care of its definition.
1687 * libsupc++/Makefile.in: Rebuilt.
1689 2001-03-28 Richard Henderson <rth@redhat.com>
1691 IA-64 ABI Exception Handling:
1692 * acinclude.m4 (GLIBCPP_ENABLE_SJLJ_EXCEPTIONS): New.
1693 * configure.in: Use it.
1694 * Makefile.in, aclocal.m4, config.h.in, configure: Regenerate.
1695 * libsupc++/Makefile.am (sources): Update files list.
1696 * libsupc++/Makefile.in: Regenerate.
1697 * libsupc++/eh_alloc.cc, libsupc++/eh_aux_runtime.cc: New files.
1698 * libsupc++/eh_catch.cc, libsupc++/eh_exception.cc: New files.
1699 * libsupc++/eh_globals.cc, libsupc++/eh_personality.cc: New files.
1700 * libsupc++/eh_terminate.cc, libsupc++/eh_throw.cc: New files.
1701 * libsupc++/exception_support.cc: Remove.
1702 * libsupc++/exception_support.h: Remove.
1703 * libsupc++/pure.cc: Use std::terminate.
1704 * libsupc++/tinfo2.cc (__throw_type_match_rtti_2): Remove.
1705 (__is_pointer): Remove.
1706 * libsupc++/unwind-cxx.h: New file.
1707 * libsupc++/vec.cc (uncatch_exception): Update for new abi.
1709 2001-03-27 Alexandre Oliva <aoliva@redhat.com>
1711 * libsupc++/Makefile.am (CXXLINK): Use CXX again, and choose
1713 * src/Makefile.am (CXXLINK): Likewise.
1714 * libsupc++/Makefile.in, src/Makefile.in: Rebuilt.
1716 2001-03-27 Benjamin Kosnik <bkoz@redhat.com>
1718 * include/bits/c++config (_STL_USE_CONCEPT_CHECKS): Disable by default.
1720 2001-03-26 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
1722 * libstdc++-v3/tests_flags.in: Change the order of libstdc++
1725 2001-03-26 Benjamin Kosnik <bkoz@redhat.com>
1727 * include/bits/basic_file.h (get_fileno): Remove.
1728 (_M_fileno): Remove.
1729 (_M_cfile_created): Add.
1730 (basic_file::basic_file(__c_file_type*, openmode): Add.
1731 (basic_file::basic_file(int, const char*, openmode): Remove.
1732 * include/bits/fstream.tcc (basic_fstream::basic_filebuf(int __fd,
1733 const char*, ios_base::openmode): Don't allocate
1734 internal buffers. Turn off internal buffers.
1735 (basic_filebuf::overflow): Remove test for null buffer.
1736 (basic_filebuf::_M_really_overflow): Same. Allow unbuffered use.
1737 * include/bits/streambuf.cc: Tweak.
1738 * include/bits/std_ostream.h: Tweak.
1739 * config/basic_file_libio.h: Same.
1740 * config/basic_file_stdio.h: Same.
1741 * src/ios.cc (ios_base::Init::Init()): Unbuffer stdout by default.
1742 * testsuite/27_io/filebuf_members.cc: Tweaks.
1743 * testsuite/27_io/ios_base_members_static.cc: Tweaks.
1745 2001-03-24 Phil Edwards <pme@sources.redhat.com>
1747 * Makefile.am: New targets, doxygen and doxygen-maint.
1748 * Makefile.in: Regenerated.
1749 * docs/doxygen/run_doxygen: Finally implemented.
1750 * docs/doxygen/maint.cfg.in: New file.
1751 * docs/doxygen/user.cfg.in: New file.
1753 2001-03-24 Phil Edwards <pme@sources.redhat.com>
1755 * acinclude.m4 (GLIBCPP_CHECK_COMPILER_FEATURES): Update comment.
1756 * src/Makefile.am: Replace leading spaces with tabs on continuation
1758 * aclocal.m4: Regenerated.
1760 * Makefile.in: Ditto.
1761 * src/Makefile.in: Ditto.
1762 * libio/Makefile.in: Ditto.
1763 * libmath/Makefile.in: Ditto.
1764 * libsupc++/Makefile.in: Ditto.
1766 2001-03-24 Phil Edwards <pme@sources.redhat.com>
1768 * docs/html/19_diagnostics/howto.html: HTML fixup. Describe
1769 concept-checking code and current status of same.
1770 * docs/html/ext/howto.html: Ditto.
1771 * docs/html/faq/index.html: Ditto.
1772 * docs/html/faq/index.txt: Regenerated.
1774 2001-03-24 Phil Edwards <pme@sources.redhat.com>
1776 * include/bits/std_bitset.h: Include ostream and istream headers
1777 instead of iostream.
1779 2001-03-22 Greg Bumgardner <bumgard@roguewave.com>
1781 * include/bits/ostream.tcc: Use __builtin_alloca.
1783 2001-03-22 Benjamin Kosnik <bkoz@redhat.com>
1785 * src/misc-inst.cc (__sink_unused_warning): Move to...
1786 * src/locale-inst.cc (__sink_unused_warning): Move to...
1787 * src/stl-inst.cc: Here.
1788 * include/bits/c++config (_STL_NO_CONCEPT_CHECKS): Add define,
1791 2001-03-21 Theodore Papadopoulo <Theodore.Papadopoulo@sophia.inria.fr>
1793 * intclude/bits/basic_file.h: Fix typos in comments.
1795 2001-03-20 Richard Henderson <rth@redhat.com>
1797 * src/gen-num-limits.cc: Instantiate for wchar_t.
1798 * config/os/aix/bits/ctype_base.h (mask): Use unsigned int.
1800 2001-03-20 Jason Merrill <jason@redhat.com>
1802 * libsupc++/vec.cc (__cxa_vec_cleanup): New fn.
1803 (__cxa_vec_ctor, __cxa_vec_cctor, __cxa_vec_dtor): Call it.
1804 * libsupc++/cxxabi.h: Declare it.
1806 2001-03-16 Alexandre Oliva <aoliva@redhat.com>
1808 * src/gen-num-limits.cc (signal_adapter): Overloaded to match
1809 signal_func with an unspecified argument list.
1811 2001-03-15 Benjamin Kosnik <bkoz@redhat.com>
1813 * tests_flags.in (CXXFLAGS): Link libstdc++ before libsupc++.
1815 2001-03-15 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
1817 * include/bits/basic_string.tcc (operator+): Fix thinko.
1819 2001-03-14 Benjamin Kosnik <bkoz@redhat.com>
1822 * include/bits/std_streambuf.h: Remove cached locale facets.
1823 (basic_streambuf::_M_buf_fctype): Remove.
1824 (basic_streambuf::~basic_streambuf): Remove here.
1825 (basic_streambuf::basic_streambuf): Same.
1826 (basic_streambuf::imbue): Same.
1827 * include/bits/fstream.tcc (filebuf::imbue): Remove _M_buf_fctype.
1828 * include/bits/std_fstream.h (basic_filebuf::_M_fcvt): Remove.
1829 (basic_filebuf::~basic_filebuf()): Remove here.
1830 * include/bits/fstream.tcc (basic_filebuf::basic_filebuf): Same.
1831 (basic_filebuf::imbue): Same.
1832 * include/bits/localefwd.h (_Count_ones): Remove.
1833 (locale::_S_num_categories): Just use 6, since this doesn't
1834 actually change, ever.
1835 * include/bits/locale_facets.tcc (has_facet): Simplify.
1837 * testsuite/27_io/filebuf.cc (test06): Add tests.
1839 2001-03-13 Steve Ellcey <sje@cup.hp.com>
1841 * libstdc++-v3/config/os/hpux/bits/ctype_base.h: Make ctype masks
1842 match HP-UX ctype.h header file.
1844 2001-03-13 Andris Pavenis <pavenis@latnet.lv>
1846 * config/djgpp/bits/ctype_noninline.h: Fix typo and remove
1847 duplicate definitions of __dj_ctype_*
1849 2001-03-13 Benjamin Kosnik <bkoz@redhat.com>
1851 * libsupc++/new: Remove pragma interface.
1852 * libsupc++/typeinfo: Same.
1853 * libsupc++/exception: Same.
1854 * libsupc++/new_handler.cc: Remove pragma implementation.
1855 (bad_alloc::~bad_alloc()): Add.
1856 * libsupc++/exception_support.cc: Same.
1857 (exception::~exception): Add.
1858 (bad_exception::~bad_exception): Add.
1859 * libsupc++/tinfo.cc: Same.
1860 (bad_cast::~bad_cast): Add.
1861 (bad_typeid::~bad_typeid): Add.
1863 2001-03-13 Phil Edwards <pme@sources.redhat.com>
1865 * mkcheck.in: Fix IFS regression for non-bash-2.01 hosts.
1867 2001-03-12 Felix Lee <flee@redhat.com>
1869 * mkcheck.in: workaround for bash 2.01 IFS bug.
1871 2001-03-12 Benjamin Kosnik <bkoz@redhat.com>
1873 Fixups for -fno-for-scope
1874 * include/bits/locale_facets.tcc (__match_parallel): Fixup.
1875 * src/valarray-inst.cc (__gslice_to_index): Same.
1877 2001-03-12 Rodney Brown <RodneyBrown@mynd.com>
1879 * src/gen-num-limits.cc (traps) [SPECIALIZE_TRAPPING]: Add fflush
1880 prior to trapping signal (UnixWare 7 workaround).
1882 2001-03-12 Craig Rodrigues <rodrigc@mediaone.net>
1884 * include/backward/hashtable.h: Same.
1885 * include/backward/rope.h: Fix include.
1887 2001-03-12 Benjamin Kosnik <bkoz@redhat.com>
1889 * include/backward/vector.h: Include std_vector.h.
1891 * include/bits/istream.tcc (basic_istream<_CharT, _Traits>&
1892 operator>>(basic_istream<_CharT, _Traits>& __in, _CharT* __s)):
1895 2001-03-11 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
1897 * include/ext/stl_hashtable.h: Change type of __n to size_t
1898 * include/backward/bvector.h: Include <ext/stl_bvector.h>
1900 2001-03-09 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
1902 * include/bits/istream.tcc ( basic_istream<_CharT, _Traits>&
1903 operator>>(basic_istream<_CharT, _Traits>& __in, _CharT* __s)):
1904 Use streamsize, not int_type.
1906 2001-03-08 Benjamin Kosnik <bkoz@redhat.com>
1908 * testsuite/27_io/streambuf.cc (test06): New test, disabled at the
1911 2001-03-08 Andreas Schwab <schwab@suse.de>
1913 * acinclude.m4 (GLIBCPP_EXPORT_INSTALL_INFO): Fix syntax in test
1915 * aclocal.m4, configure: Regenerated.
1917 2001-03-07 Benjamin Kosnik <bkoz@redhat.com>
1919 * include/bits/std_iosfwd.h: Remove string forward decls here.
1920 * include/bits/stringfwd.h: Add forward decls for char_traits
1922 * config/c_io_libio.h (wstreamoff): Delete.
1923 * config/c_io_stdio.h (wstreamoff): Same.
1924 * include/bits/char_traits.h: Use streamoff not wstreamoff for
1925 char_traits<wchar_t>::off_type.
1926 Remove duplicate typedefs.
1927 * include/bits/fpos.h: Define streampos/wstreampos here.
1928 * testsuite/27_io/istream_seeks.cc (test04): Explicitly cast int
1931 Changeup output files.
1932 * testsuite/27_io/istream_unformatted.cc: Change output files.
1933 * testsuite/27_io/istream_seeks-1.txt: Add.
1934 * testsuite/27_io/istream_seeks-2.tst: Add.
1935 * testsuite/27_io/istream_seeks-1.tst: Add.
1936 * testsuite/27_io/istream_unformatted-2.tst: Delete.
1937 * testsuite/27_io/istream_unformatted-3.tst: Delete.
1938 * testsuite/27_io/istream_unformatted-3.txt: Delete.
1940 2001-03-07 Alexandre Oliva <aoliva@redhat.com>
1942 Add Irix 5.2, 6.3 support.
1943 * config/os/irix/bits: Renamed to...
1944 * config/os/irix/irix6.5/bits: this.
1945 * config/os/irix/irix5.2/bits: New, copied from irix6.5/bits.
1946 * config/os/irix/irix5.2/bits/ctype_base.h: Use _U, _L, _N,
1947 _X, _S, _P, _C and _B instead of IRIX-6.5 _IS* macros.
1948 * config/os/irix/irix5.2/bits/ctype_noninline.h
1949 (ctype<char>::ctype): Initialize _M_table with __ctype.
1950 * configure.target: Adjust.
1952 2001-03-06 Benjamin Kosnik <bkoz@redhat.com>
1955 * include/bits/istream.tcc (basic_istream<_CharT, _Traits>::
1956 operator>>(__istream_type& (*__pf)(__istream_type&)): Don't use
1958 (basic_istream<_CharT, _Traits>:: operator>>(__ios_type&
1959 (*__pf)(__ios_type&)): Same.
1960 (basic_istream<_CharT, _Traits>:: operator>>(ios_base&
1961 (*__pf)(ios_base&))): Same.
1962 * testsuite/27_io/istream_extractor_other.cc: Add tests.
1963 * testsuite/27_io/istream_manip.cc (test01): Fix.
1965 2001-03-06 Nathan Myers <ncm@cantrip.org>
1966 Benjamin Kosnik <bkoz@redhat.com>
1968 * include/c_std/bits/std_cerrno.h: Don't define errno in std::.
1969 * testsuite/17_intro/header_cerrno.cc (test01): New file.
1970 * testsuite/17_intro/header_cassert.cc (test01): New file.
1971 * testsuite/17_intro/header_cstddef.cc (test01): New file.
1972 * testsuite/17_intro/header_csetjmp.cc (test01): New file.
1973 * testsuite/17_intro/header_cstdarg.cc (test01): New file.
1975 2001-03-05 scott snyder <snyder@fnal.gov>
1978 * include/c_std/bits/std_cmath.h: Move abs(long), div(long,long)
1980 * include/c_std/bits/std_cstdlib.h: ... to here.
1981 * testsuite/17_intro/header_cstdlib.cc: Add test.
1983 2001-03-05 Stephen M. Webb <stephen.webb@cybersafe.com>
1985 * libsupc++/vec.cc (__cxxa_vec_new2): Qualify size_t.
1987 2001-03-05 Laurynas Biveinis <lauras@softhome.net>
1989 * config/os/djgpp/ctype_base.h (ctype_base): fix __to_type
1990 definition. Replace enum with static const variables.
1992 * config/os/djgpp/ctype_inline.h (ctype<char>::is): remove
1993 throw specification, fix typos, use <static_cast>.
1994 (ctype<char>::scan_is): remove throw specification.
1995 (ctype<char>::scan_not): likewise.
1997 * config/os/djgpp/ctype_noninline.h (ctype<char>::ctype): fix typo.
1998 (ctype<char>::do_toupper(char)): use <static_cast>.
1999 (ctype<char>::do_toupper(char *, const char *)): likewise.
2000 (ctype<char>::do_tolower(char)): likewise.
2001 (ctype<char>::do_tolower(char *, const char *)): likewise.
2003 2001-03-04 Phil Edwards <pme@sources.redhat.com>
2005 http://gcc.gnu.org/ml/libstdc++/2001-03/msg00015.html
2006 * include/backward/algo.h: Use std not __STD. Remove unneeded
2007 macros and "never happens" code. Adjust to C++STYLE guidelines.
2008 * include/backward/algobase.h: Likewise.
2009 * include/backward/alloc.h: Likewise.
2010 * include/backward/bvector.h: Likewise.
2011 * include/backward/deque.h: Likewise.
2012 * include/backward/function.h: Likewise.
2013 * include/backward/hash_map.h: Likewise.
2014 * include/backward/hash_set.h: Likewise.
2015 * include/backward/hashtable.h: Likewise.
2016 * include/backward/heap.h: Likewise.
2017 * include/backward/iterator.h: Likewise.
2018 * include/backward/list.h: Likewise.
2019 * include/backward/map.h: Likewise.
2020 * include/backward/multimap.h: Likewise.
2021 * include/backward/multiset.h: Likewise.
2022 * include/backward/pair.h: Likewise.
2023 * include/backward/rope.h: Likewise.
2024 * include/backward/set.h: Likewise.
2025 * include/backward/slist.h: Likewise.
2026 * include/backward/stack.h: Likewise.
2027 * include/backward/strstream: Likewise.
2028 * include/backward/tempbuf.h: Likewise.
2029 * include/backward/tree.h: Likewise.
2030 * include/backward/vector.h: Likewise.
2031 * include/bits/basic_ios.h: Likewise.
2032 * include/bits/basic_ios.tcc: Likewise.
2033 * include/bits/basic_string.h: Likewise.
2034 * include/bits/c++config: Likewise.
2035 * include/bits/concept_checks.h: Likewise.
2036 * include/bits/fpos.h: Likewise.
2037 * include/bits/fstream.tcc: Likewise.
2038 * include/bits/functexcept.h: Likewise.
2039 * include/bits/ios_base.h: Likewise.
2040 * include/bits/istream.tcc: Likewise.
2041 * include/bits/mask_array.h: Likewise.
2042 * include/bits/ostream.tcc: Likewise.
2043 * include/bits/pthread_allocimpl.h: Likewise.
2044 * include/bits/sbuf_iter.h: Likewise.
2045 * include/bits/slice.h: Likewise.
2046 * include/bits/slice_array.h: Likewise.
2047 * include/bits/sstream.tcc: Likewise.
2048 * include/bits/std_bitset.h: Likewise.
2049 * include/bits/std_fstream.h: Likewise.
2050 * include/bits/std_iomanip.h: Likewise.
2051 * include/bits/std_ios.h: Likewise.
2052 * include/bits/std_istream.h: Likewise.
2053 * include/bits/std_iterator.h: Likewise.
2054 * include/bits/std_memory.h: Likewise.
2055 * include/bits/std_ostream.h: Likewise.
2056 * include/bits/std_sstream.h: Likewise.
2057 * include/bits/std_streambuf.h: Likewise.
2058 * include/bits/std_string.h: Likewise.
2059 * include/bits/std_valarray.h: Likewise.
2060 * include/bits/stl_algo.h: Likewise.
2061 * include/bits/stl_algobase.h: Likewise.
2062 * include/bits/stl_alloc.h: Likewise.
2063 * include/bits/stl_construct.h: Likewise.
2064 * include/bits/stl_deque.h: Likewise.
2065 * include/bits/stl_function.h: Likewise.
2066 * include/bits/stl_heap.h: Likewise.
2067 * include/bits/stl_iterator.h: Likewise.
2068 * include/bits/stl_iterator_base.h: Likewise.
2069 * include/bits/stl_list.h: Likewise.
2070 * include/bits/stl_map.h: Likewise.
2071 * include/bits/stl_multimap.h: Likewise.
2072 * include/bits/stl_multiset.h: Likewise.
2073 * include/bits/stl_numeric.h: Likewise.
2074 * include/bits/stl_pair.h: Likewise.
2075 * include/bits/stl_pthread_alloc.h: Likewise.
2076 * include/bits/stl_queue.h: Likewise.
2077 * include/bits/stl_raw_storage_iter.h: Likewise.
2078 * include/bits/stl_relops.h: Likewise.
2079 * include/bits/stl_set.h: Likewise.
2080 * include/bits/stl_stack.h: Likewise.
2081 * include/bits/stl_tempbuf.h: Likewise.
2082 * include/bits/stl_threads.h: Likewise.
2083 * include/bits/stl_tree.h: Likewise.
2084 * include/bits/stl_uninitialized.h: Likewise.
2085 * include/bits/stl_vector.h: Likewise.
2086 * include/bits/streambuf.tcc: Likewise.
2087 * include/bits/type_traits.h: Likewise.
2088 * include/bits/valarray_meta.h: Likewise.
2089 * include/ext/bvector: Likewise.
2090 * include/ext/hash_map: Likewise.
2091 * include/ext/hash_set: Likewise.
2092 * include/ext/ropeimpl.h: Likewise.
2093 * include/ext/slist: Likewise.
2094 * include/ext/stl_bvector.h: Likewise.
2095 * include/ext/stl_hash_fun.h: Likewise.
2096 * include/ext/stl_hashtable.h: Likewise.
2097 * include/ext/stl_rope.h: Likewise.
2098 * src/complex_io.cc: Likewise.
2099 * src/ios.cc: Likewise.
2100 * src/locale-inst.cc: Likewise.
2101 * src/locale.cc: Likewise.
2102 * src/localename.cc: Likewise.
2103 * src/misc-inst.cc: Likewise.
2104 * src/stdexcept.cc: Likewise.
2105 * src/stl-inst.cc: Likewise.
2106 * src/strstream.cc: Likewise.
2107 * src/valarray-inst.cc: Likewise.
2109 2001-03-03 Benjamin Kosnik <bkoz@redhat.com>
2111 * src/misc-inst.cc (__copy_streambufs): Fix typo for alpha.
2113 2001-03-02 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
2115 * include/bits/istream.tcc: change type of __extracted to __size_type
2117 2001-03-02 Benjamin Kosnik <bkoz@redhat.com>
2119 * src/wstring-inst.cc: New file.
2120 * src/Makefile.am (EXTRA_LTLIBRARIES): Remove.
2121 (libinst_wstring_la_SOURCES): Remove.
2122 (libstdc___la_LIBADD): Remove libinst_wstring_la.
2123 (sources): Add wstring-inst.cc
2124 * acinclude.m4 (GLIBCPP_CHECK_WCHAR_T_SUPPORT): Remove
2127 2001-03-02 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
2129 * src/locale.cc: initialise __ret with zero
2130 * src/strstream.cc:cast gptr to int_type
2132 2001-03-01 Phil Edwards <pme@sources.redhat.com>
2134 * docs/html/faq/index.html: Update broken links.
2135 * docs/html/faq/index.txt: Regenerated.
2137 2001-02-28 Benjamin Kosnik <bkoz@redhat.com>
2140 * configure.target: Change irix* to irix6.5* in target_os table.
2142 2001-02-28 Benjamin Kosnik <bkoz@redhat.com>
2145 * include/bits/c++config (__GLIBCPP__): Bump number in
2146 anticipation of 2.92.
2148 * include/bits/codecvt.h: Fix typo.
2149 * include/bits/basic_file.h (__basic_file): Don't use _M_wfile for
2151 * acinclude.m4 (GLIBCPP_ENABLE_CSTDIO): Enable wchar_t
2152 instantiations for stdio model.
2154 2001-02-28 Phil Edwards <pme@sources.redhat.com>
2156 * acinclude.m4 (GLIBCPP_CONFIGURE): Remove GLIBCPP_CFLAGS
2157 and GLIBCPP_CXXFLAGS as unused variables.
2158 * configure.host: Likewise.
2159 * configure.target: Likewise.
2160 * aclocal.m4: Regenerated.
2161 * configure: Regenerated.
2162 * Makefile.in: Regenerated.
2163 * libio/Makefile.in: Regenerated.
2164 * libmath/Makefile.in: Regenerated.
2165 * libsupc++/Makefile.in: Regenerated.
2166 * src/Makefile.in: Regenerated.
2168 2001-02-27 Benjamin Kosnik <bkoz@redhat.com>
2171 * include/bits/basic_file.h: Include basic_file_model.h.
2172 * config/c_io_libio.cc: Move to...
2173 * config/basic_file_libio.cc: Here.
2174 * config/basic_file_libio.h: New file.
2175 * config/c_io_stdio.cc: Move to...
2176 * config/basic_file_stdio.cc: Here.
2177 * config/basic_file_stdio.h: New file.
2178 * config/c_io_libio.h: Tweak.
2179 * config/c_io_stdio.h: Tweak.
2180 * src/Makefile.am (build_headers): Add basic_file_model.h.
2181 (sources): Add basic_file.cc, remove c++io.cc.
2182 * src/Makefile.in: Regenerate.
2183 * acinclude.m4 (GLIBCPP_ENABLE_CSTDIO): Add support for
2184 basic_file_model.h and basic_file.cc.
2185 * aclocal.m4: Regenerate.
2186 * configure: Regenerate.
2187 * testsuite/27_io/filebuf.cc (test05): Add regression.
2189 2001-02-27 Benjamin Kosnik <bkoz@redhat.com>
2192 * config/cpu/alpha/bits/atomicity.h: Change.
2193 * config/cpu/arm/bits/atomicit3y.h
2194 * config/cpu/generic/bits/atomicity.h
2195 * config/cpu/i386/bits/atomicity.h
2196 * config/cpu/i486/bits/atomicity.h
2197 * config/cpu/ia64/bits/atomicity.h
2198 * config/cpu/powerpc/bits/atomicity.h
2199 * config/cpu/sparc/sparc32/bits/atomicity.h
2200 * config/cpu/sparc/sparc64/bits/atomicity.h
2201 * config/os/aix/bits/atomicity.h
2202 * config/os/irix/bits/atomicity.h
2204 2001-02-27 Benjamin Kosnik <bkoz@redhat.com>
2206 * include/bits/std_stdexcept.h (runtime_error): Make string
2208 (logic_error): Same.
2209 * testsuite/19_diagnostics/stdexceptions.cc (test04): Add test.
2212 2001-02-26 Benjamin Kosnik <bkoz@redhat.com>
2216 * include/bits/std_stdexcept.h (logic_error::logic_error): Use
2217 string object, not reference.
2218 (runtime_error::runtime_error): Same.
2219 * testsuite/19_diagnostics/stdexceptions.cc: New file.
2221 2001-02-26 Phil Edwards <pme@sources.redhat.com>
2223 * acinclude.m4 (GLIBCPP_CONFIGURE): Update required compiler version.
2224 (GLIBCPP_CHECK_COMPILER_FEATURES): Can safely assume new
2225 diagnostics. Remove WFMT_FLAGS.
2226 * configure.in: Replace WFMT_FLAGS with diagnostics options.
2227 * libsupc++/Makefile.am: Likewise.
2228 * src/Makefile.am: Likewise.
2229 * aclocal.m4: Regenerated.
2230 * configure: Regenerated.
2231 * Makefile.in: Regenerated.
2232 * libio/Makefile.in: Regenerated.
2233 * libmath/Makefile.in: Regenerated.
2234 * libsupc++/Makefile.in: Regenerated.
2235 * src/Makefile.in: Regenerated.
2237 2001-02-26 Phil Edwards <pme@sources.redhat.com>
2239 Fixes libstdc++/2079
2240 * include/backward/iomanip.h: Expose <ios> manipulators to global
2242 * include/backward/iostream.h: Also expose std::ws.
2244 2001-02-25 Greg Freemyer <freemyer@NorcrossGroup.com>
2246 * libmath/mathconf.h (GET_LDOUBLE_MSW64): Fix thinko.
2248 2001-02-23 Benjamin Kosnik <bkoz@redhat.com>
2250 * include/bits/codecvt.h: Use __builtin_alloca.
2251 * include/bits/ostream.tcc: Same.
2252 * include/bits/fstream.tcc: Same.
2254 2001-02-23 Alexandre Oliva <aoliva@redhat.com>
2256 * mknumeric_limits (CC): Use VAR=${VAR=...} form.
2258 2001-02-23 David Edelsohn <dje@watson.ibm.com>
2260 * mknumeric_limits (CC): Use $BUILD_DIR/../../gcc/xgcc
2262 2001-02-23 Phil Edwards <pme@sources.redhat.com>
2265 * include/backward/iostream.h: Expose std::flush in old headers.
2267 2001-02-23 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
2269 * mknumeric_limits: Remove special-casing on target. Use gcc
2270 instead of g++ to build gen-num-limits.cc
2272 2001-02-22 Benjamin Kosnik <bkoz@redhat.com>
2274 * tests_flags.in (CXXFLAGS): Add -rpath to gcc build dir.
2276 * include/bits/codecvt.h: Use alloca instead of __extension__ for
2278 * include/bits/ostream.tcc: Same.
2279 * include/bits/std_ostream.h: Same.
2280 * include/bits/fstream.tcc: Same.
2281 * include/bits/locale_facets.tcc: Add typename.
2282 * include/bits/c++config (_GLIBCPP_FULLY_COMPLIANT_HEADERS): Enable.
2284 2001-02-21 Phil Edwards <pme@sources.redhat.com>
2286 * tests_flags.in: Remove -n flag from call to echo.
2288 2001-02-20 Benjamin Kosnik <bkoz@redhat.com>
2290 * config/c_locale_gnu.h: Add clocale include.
2292 2001-02-20 Phil Edwards <pme@sources.redhat.com>
2294 * include/bits/stl_config.h: Remove file.
2295 * src/Makefile.am (base_headers): Remove from list.
2296 * configure: Regenerate.
2297 * Makefile.in: Ditto.
2298 * libio/Makefile.in: Ditto.
2299 * libmath/Makefile.in: Ditto.
2300 * libsupc++/Makefile.in: Ditto.
2301 * src/Makefile.in: Ditto.
2303 * include/bits/c++config: Move relevant macros to here.
2304 * include/backward/alloc.h: Include c++config.h instead.
2305 * include/backward/function.h: Ditto.
2306 * include/backward/heap.h: Ditto.
2307 * include/backward/pair.h: Ditto.
2308 * include/bits/pthread_allocimpl.h: Ditto.
2309 * include/bits/std_functional.h: Ditto.
2310 * include/bits/std_iterator.h: Ditto.
2311 * include/bits/std_numeric.h: Ditto.
2312 * include/bits/std_utility.h: Ditto.
2313 * include/bits/stl_algobase.h: Ditto.
2314 * include/bits/type_traits.h: Ditto.
2315 * src/stl-inst.cc: Ditto.
2317 2001-02-19 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
2319 * include/bits/basic_file.h: Add #pragma system_header
2320 * include/bits/basic_ios.h: Ditto.
2321 * include/bits/basic_string.h: Ditto.
2322 * include/bits/char_traits.h: Ditto.
2323 * include/bits/codecvt.h: Ditto.
2324 * include/bits/cpp_type_traits.h: Ditto.
2325 * include/bits/fpos.h: Ditto.
2326 * include/bits/gslice.h: Ditto.
2327 * include/bits/gslice_array.h: Ditto.
2328 * include/bits/indirect_array.h: Ditto.
2329 * include/bits/ios_base.h: Ditto.
2330 * include/bits/limits_generic.h: Ditto.
2331 * include/bits/locale_facets.h: Ditto.
2332 * include/bits/localefwd.h: Ditto.
2333 * include/bits/mask_array.h: Ditto.
2334 * include/bits/sbuf_iter.h: Ditto.
2335 * include/bits/sequence_concepts.h: Ditto.
2336 * include/bits/slice.h: Ditto.
2337 * include/bits/slice_array.h: Ditto.
2338 * include/bits/std_algorithm.h: Likewise.
2339 * include/bits/std_bitset.h: Likewise.
2340 * include/bits/std_complex.h: Likewise.
2341 * include/bits/std_deque.h: Likewise.
2342 * include/bits/std_fstream.h: Likewise.
2343 * include/bits/std_functional.h: Likewise.
2344 * include/bits/std_iomanip.h: Likewise.
2345 * include/bits/std_ios.h: Likewise.
2346 * include/bits/std_iosfwd.h: Likewise.
2347 * include/bits/std_iostream.h: Likewise.
2348 * include/bits/std_istream.h: Likewise.
2349 * include/bits/std_iterator.h: Likewise.
2350 * include/bits/std_list.h: Likewise.
2351 * include/bits/std_locale.h: Likewise.
2352 * include/bits/std_map.h: Likewise.
2353 * include/bits/std_memory.h: Likewise.
2354 * include/bits/std_numeric.h: Likewise.
2355 * include/bits/std_ostream.h: Likewise.
2356 * include/bits/std_queue.h: Likewise.
2357 * include/bits/std_set.h: Likewise.
2358 * include/bits/std_sstream.h: Likewise.
2359 * include/bits/std_stack.h: Likewise.
2360 * include/bits/std_stdexcept.h: Likewise.
2361 * include/bits/std_streambuf.h: Likewise.
2362 * include/bits/std_string.h: Likewise.
2363 * include/bits/std_utility.h: Likewise.
2364 * include/bits/std_valarray.h: Likewise.
2365 * include/bits/std_vector.h: Likewise.
2366 * include/bits/stringfwd.h: Likewise.
2367 * include/bits/type_traits.h: Likewise.
2368 * include/bits/valarray_array.h: Likewise.
2369 * include/bits/valarray_meta.h: Likewise.
2371 2001-02-19 Andreas Jaeger <aj@suse.de>
2373 * config/cpu/sparc/sparc64/bits/atomicity.h (__compare_and_swap):
2376 2001-02-16 Greg Bumgardner <bumgard@roguewave.com>
2379 * include/bits/std_ostream.h: Replaced usage of
2380 _Traits::_S_eos() with _CharT() as per section 17.2.2.1.3.
2381 * include/bits/char_traits.h: Removed non-standard
2382 methods that cannot be used elsewhere.
2385 * include/bits/basic_ios.h: Uncommented #include of
2389 * include/bits/codecvt.h: See next...
2390 * include/bits/fstream.tcc: See next...
2391 * include/bits/ostream.tcc: Add __extension__
2392 to variable-length arrays.
2395 * include/bits/localefwd.h: Changed int counter type to size_t.
2398 * include/bits/std_fstream.h: Added typedef for __ctype_type.
2400 2001-02-16 Benjamin Kosnik <bkoz@redhat.com>
2402 * testsuite/21_strings/char_traits.cc: Move to ...
2403 * testsuite/21_strings/char_traits_requirements.cc: ..here.
2404 * testsuite/21_strings/char_traits-int_type.cc: Move to ...
2405 * testsuite/21_strings/char_traits_typedefs.cc: ..here.
2407 2001-02-16 Gabriel Dos Reis <gdr@codesourcery.com>
2409 * libmath/mathconf.h (FINITE_P, INFINITE_P): Remove macro
2412 2001-02-15 Benjamin Kosnik <bkoz@redhat.com>
2414 * include/bits/c++config: Revert.
2416 2001-02-15 Mark Mitchell <mark@codesourcery.com>
2418 * include/bits/istream.tcc: Use ios_base::iostate in place of
2419 iostate throughout. Insert `typename' keyword where necessary.
2420 * include/bits/ostream.tcc: Insert `typename' keyword where
2423 2001-02-15 Jeffrey Oldham <oldham@codesourcery.com>
2425 * include/bits/c++config (_GLIBCPP_FULLY_COMPLIANT_HEADERS):
2426 Define so library is compliant.
2428 2001-02-15 Anthony Green <green@redhat.com>
2430 * acinclude.m4 (glibcpp_toolexeclibdir): Fix test for cross
2432 * aclocal.m4: Regenerate.
2433 * configure: Regenerate.
2435 2001-02-15 Rodney Brown <RodneyBrown@mynd.com>
2437 * acinclude.m4 (GLIBCPP_CHECK_MATH_DECL_1):
2438 Include ieeefp.h for fpclass on UnixWare{2,7}.
2439 * aclocal.m4: Regenerate.
2440 * configure: Regenerate.
2441 * mkcheck.in (size_command): Do without GNU-grep when using
2444 2001-02-15 Mark Mitchell <mark@codesourcery.com>
2446 Remove old ABI support from libsupc++.
2447 * libsupc++/cxxabi.h: Remove conditionally compiled code.
2448 * libsupc++/exception_support.cc: Likewise.
2449 * libsupc++/pure.cc: Likewise.
2450 * libsupc++/tinfo.cc: Likewise.
2451 * libsupc++/tinfo.h: Likewise.
2452 * libsupc++/tinfo2.cc: Likewise.
2453 * libsupc++/typeinfo: Likewise.
2454 * libsupc++/vec.cc: Likewise.
2456 2001-02-15 Benjamin Kosnik <bkoz@redhat.com>
2458 Add support for -fno-exceptions.
2459 * include/bits/exception_support.h: Remove.
2460 * include/bits/basic_string.h: Remove exception_support.
2461 (string::_M_check): Replace __OUTOFRANGE with __throw_out_of_range.
2463 (string::substr): Same.
2464 * include/bits/basic_string.tcc (string::reserve): Replace
2465 __LENGTHERROR with __throw_length_error.
2466 (string::_S_create): Same.
2467 (string::resize): Same.
2468 (string::_M_replace): Same.
2469 (string::replace): Same.
2470 (string::copy): Replace __OUTOFRANGE with __throw_out_of_range.
2471 (string::compare): Same.
2472 * include/bits/stl_vector.h: Remove exception_support.
2473 * src/Makefile.am (base_headers): Remove here.
2474 * src/Makefile.in: Regenerate.
2476 * include/bits/stl_range_errors.h: Remove.
2477 * include/bits/stl_deque.h: Use __throw_range_error.
2478 * include/bits/std_deque.h: Include functexcept.h.
2479 * include/bits/std_vector.h: Same.
2480 * src/Makefile.am (base_headers): Remove here.
2481 * src/Makefile.in: Regenerate.
2482 * include/ext/stl_bvector.h (class __BVECTOR): Use __throw_range_error.
2483 * include/ext/bvector: Remove stl_range_errors.h
2485 * include/bits/c++config (_GLIBCPP_USE_EXCEPTIONS): Remove.
2487 * include/bits/functexcept.h: New file.
2488 * src/functexcept.cc: New file. Definitions for function-based
2490 * src/Makefile.am (sources): Add functexcept.cc.
2491 * src/Makefile.in: Regenerate.
2493 * include/bits/stl_config.h (__STL_USE_EXCEPTIONS): Wrap with
2496 * include/bits/localefwd.h: Include functexcept.h.
2497 * include/bits/std_iosfwd.h: Same.
2499 * include/bits/basic_ios.h: Use __throw_ios_failure instead of
2500 throw basic_ios::failure.
2501 * include/bits/fstream.tcc (filebuf::_M_allocate_buffers):
2502 Use __throw_exception_again.
2503 (filebuf::_M_filebuf_init): Same.
2504 * include/bits/streambuf.tcc (__copy_streambufs): Same.
2505 * include/bits/ostream.tcc (ostream::operator<<): Same.
2506 * include/bits/istream.tcc (istream::operator>>): Same.
2507 * include/bits/basic_string.tcc (string::_M_mutate): Same.
2508 (string::_S_construct): Same.
2509 (string::_M_clone): Same.
2510 * include/bits/locale_facets.tcc (use_facet(const locale&)): Use
2512 (num_put<_CharT, _OutIter>::do_put): Use __throw_exception_again.
2513 * src/localename.cc (locale::_Imp::_Imp(const _Impl&, size_t): Use
2514 __throw_exception_again.
2515 (locale::_Imp::_Imp(string, size_t): Same.
2516 (locale::_Imp::_M_replace_facet): Use __throw_runtime_error.
2517 * src/locale.cc (locale::_M_coalesce): Use __throw_exception_again.
2518 (locale::locale(const char*)): Use __throw_runtime_error.
2519 (locale::classic): Use __throw_exception_again.
2520 (locale::_S_normalize_category): Use __throw_runtime_error.
2522 * src/stdexcept.cc: Remove cruft.
2524 * libsupc++/exception_defines.h: New file.
2525 * libsupc++/new_opnt.cc: Include exception_defines.h.
2526 * libsupc++/vec.cc: Same.
2527 (__cxa_vec_new2): Use __throw_exception_again.
2528 (__cxa_vec_new3): Same.
2529 (__cxa_vec_ctor): Same.
2530 (__cxa_vec_delete3): Same.
2531 (__cxa_vec_cctor): Same.
2532 (__cxa_vec_delete2): Same.
2533 (__cxa_vec_dtor): Same.
2534 * libsupc++/exception_support.cc: Include exception_defines.h. Only
2535 compile exception-handling bits if __EXCEPTIONS is defined.
2536 Remove old ABI support.
2537 * libsupc++/new_op.cc (new): Include exception_defines.h. Use
2538 std::__throw_bad_alloc() instead of throw bad_alloc.
2539 * libsupc++/Makefile.am: Add exception_defines.h.
2540 * libsupc++/Makefile.in: Reformat.
2541 * libsupc++/*: Format.
2543 2001-02-15 Phil Edwards <pme@sources.redhat.com>
2545 * docs/html/configopts.html: Minor updates and typo fixes.
2546 * docs/html/faq/index.html: Updates of the "not really bugs" list.
2547 * docs/html/faq/index.txt: Regenerated.
2549 2001-02-15 Gabriel Dos Reis <gdr@codesourcery.com>
2551 * testsuite/lib/libstdc++.exp: Lift, temporarily, out of
2552 dejagnu/dg.exp. Adapt to log options used to run testcases.
2554 2001-02-13 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
2556 * testsuite/lib/libstdc++.exp(dg-test): Lift temporarily from
2559 2001-02-13 Dirk Mueller <dmuell@gmx.net>
2560 Phil Edwards <pme@sources.redhat.com>
2562 * include/backward/function.h: Do not use rel_ops for older
2564 * include/backward/pair.h: Likewise.
2566 2001-02-12 Mark Mitchell <mark@codesourcery.com>
2568 * src/locale.cc: Remove bogus locale::id definitions.
2570 2001-02-11 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
2572 * include/bits/std_valarray.h: #undef _DEFINE_LOGICAL_OPERATOR,
2573 not _DEFINE_VALARRAY_OPERATOR which is not existent.
2575 * include/bits/valarray_meta.h (_RefFunClos<>_RefRunClos): Fix
2576 thinko in member initialisation.
2578 2001-02-11 Gabriel Dos Reis <gdr@codesourcery.com>
2580 * include/bits/std_valarray.h(valarray<>::shift): Avoid
2581 comparaison between signed and unsigned integer types.
2582 (valarray<>::cshift): Reformat.
2584 2001-02-11 Alexandre Oliva <aoliva@redhat.com>
2586 * src/gen-num-limits.cc: Use sigsetjmp and siglongjmp if available.
2587 * mknumeric_limits: Compile it with -DHAVE_CONFIG_H.
2588 * configure.in: Test for sigsetjmp.
2589 * configure, config.h.in: Rebuilt.
2591 2001-02-11 Gabriel Dos Reis <gdr@codesourcery.com>
2593 * src/valarray-inst.cc (gslice::_Indexer::_Indexer): Don't flip
2594 lengths and strides.
2595 (__gslice_to_index): Document.
2597 2001-02-11 Gabriel Dos Reis <gdr@codesourcery.com>
2599 * include/bits/char_traits.h char_traits<char>::int_type: Change
2600 to `int' to match 21.1.3.1/2.
2602 * testsuite/21_strings/char_traits-int_type.C: New test.
2604 2001-02-10 Gabriel Dos Reis <gdr@codesourcery.com>
2606 * testsuite/Makefile.am: New file.
2608 2001-02-09 Nathan Sidwell <nathan@codesourcery.com>
2610 * include/c_shadow/bits/std_cstdlib.h (lldiv_t): Fix typo.
2612 2001-02-08 Loren J. Rittle <ljrittle@acm.org>
2614 * src/locale-inst.cc (fill_n): Instantiate with size_t arguments.
2616 2001-02-08 David Edelsohn <edelsohn@gnu.org>
2618 * configure.target (aix4*): Remove extra set of brackets.
2620 2001-02-07 Benjamin Kosnik <bkoz@redhat.com>
2623 * include/bits/stringfwd.h: New file.
2624 * include/bits/stl_string_fwd.h: Remove.
2625 * include/bits/localefwd.h: Remove declaration for allocator.
2626 * include/bits/std_iosfwd: Same.
2627 * include/bits/std_string.h: Include it.
2628 * include/bits/std_ios.h: Remove include.
2629 * include/bits/basic_string.h: Tweak.
2630 * libsupc++/new: Format.
2631 * src/Makefile.am (base_headers): Add stringfwd.h, remove
2633 * src/Makefile.in: Regenerate.
2634 * include/bits/std_stdexcept.h: Rewrite.
2635 * src/stdexcept.cc: Same.
2637 2001-02-06 Benjamin Kosnik <bkoz@redhat.com>
2639 * acinclude.m4 (GLIBCPP_EXPORT_INSTALL_INFO): Deal with library
2640 install locations too.
2641 * aclocal.m4: Regenerate.
2642 * configure.in: Remove USE_LIBDIR.
2643 * configure: Regenerate.
2644 * src/Makefile.am (toolexecdir): Simplify, use
2645 glibcpp_toolexecdir, glibcpp_toolexeclibdir.
2646 * src/Makefile.in: Regenerate.
2647 * libsupc++/Makefile.am: Same.
2648 * libsupc++/Makefile.in: Regenerate.
2650 * src/Makefile.am: Just remove special rules for locale-inst.cc and
2651 misc-inst.cc as no longer necessary.
2653 Follow C++STYLE for naming non-static functions.
2654 * include/bits/ostream.tcc (_S_pad_char): Not static, rename to
2656 * include/bits/streambuf.tcc: Same.
2657 * include/bits/ostream.tcc: Same.
2658 * include/bits/istream.tcc: Same.
2659 * include/bits/locale_facets.tcc (_S_pad_numeric): To __pad_numeric.
2660 (_S_output_float): To __output_float.
2661 * include/bits/std_streambuf.h (_S_copy_streambufs): To
2663 * include/bits/locale_facets.tcc (_S_build_float_format): To
2664 __build_float_format.
2665 (_S_format): To __output_integer.
2666 (_S_fill): To __pad.
2667 * src/locale.cc: Same.
2668 * src/misc-inst.cc: Fix formatting. Fix signature for wchar_t. Correct
2670 * include/bits/locale_facets.tcc (_S_group_digits): To
2672 * src/locale-inst.cc: Fixup names. Add use_facet instantiations
2673 for collate, numpunct.
2675 2001-02-06 Phil Edwards <pme@sources.redhat.com>
2677 * docs/html/configopts.html: Fix HTML markup.
2678 * docs/html/install.html: Bring up to date.
2679 * docs/html/17_intro/C++STYLE: Add global variable conventions.
2680 * docs/html/21_strings/howto.html: More notes.
2681 * docs/html/22_locale/howto.html: Fix HTML markup.
2682 * docs/html/27_io/howto.html: More notes.
2683 * docs/html/27_io/binary_iostreams_kanze.txt: New file.
2684 * docs/html/27_io/binary_iostreams_kuehl.txt: New file.
2686 2001-02-06 Jeffrey Oldham <oldham@codesourcery.com>
2688 * src/misc-inst.cc (_S_pad_char): Modify declaration's parameters
2689 to match header files.
2690 (_S_output_float): Likewise.
2691 (_S_copy_streambufs): Likewise.
2693 2001-02-06 Hyman Rosen <Hyman.Rosen@kbcfp.com>
2694 Phil Edwards <pme@sources.redhat.com>
2696 * include/bits/std_istream.h (op>> signed,unsigned char): Must
2697 use reinterpret_cast, not static_cast.
2699 2001-02-06 Benjamin Kosnik <bkoz@redhat.com>
2701 * acinclude.m4 (gxx_include_dir): Quote, fix regression.
2702 * aclocal.m4: Regenerate.
2703 * configure: Regenerate.
2705 2001-02-05 Benjamin Kosnik <bkoz@redhat.com>
2707 * include/bits/locale_facets.h (class moneypunct): Fix typos.
2708 * libsupc++/pure.cc: Revert.
2710 2001-02-05 Benjamin Kosnik <bkoz@redhat.com>
2712 * acinclude.m4 (GLIBCPP_CHECK_MATH_DECL_1): New macro.
2713 (GLIBCPP_CHECK_MATH_DECL_2): New macro.
2714 (GLIBCPP_CHECK_MATH_DECL_3): New macro.
2715 (GLIBCPP_CHECK_MATH_DECL_AND_LINKAGE_1): Use it, check for _* too.
2716 (GLIBCPP_CHECK_MATH_DECL_AND_LINKAGE_2): Same.
2717 (GLIBCPP_CHECK_MATH_DECL_AND_LINKAGE_3): Same.
2718 (GLIBCPP_CHECK_MATH_SUPPORT): Remove explicit checks for _* versions.
2719 * aclocal.m4: Regenerate.
2720 * configure: Regenerate.
2722 2001-02-05 Mark Mitchell <mark@codesourcery.com>
2724 * include/bits/locale_facets.tcc: Remove `static' keyword on
2725 function definitions.
2726 * include/bits/std_streambuf.h: Likewise.
2727 * src/Makefile.am: Remove use of -fimplicit-templates.
2728 * src/Makefile.in: Regenerated.
2729 * src/locale-inst.cc: Explicitly instantiate more functions.
2730 * src/misc-inst.cc: Likewise.
2731 * src/string-inst.cc: Likewise.
2733 2001-02-05 Benjamin Kosnik <bkoz@redhat.com>
2735 * acinclude.m4 (GLIBCPP_EXPORT_INSTALL_INFO): New
2736 macro. Consolidate all the bits to do with where includes might be
2738 * aclocal.m4: Regenerate.
2739 * configure.in: Use it.
2740 * configure: Regenerate.
2741 * src/Makefile.am (targetincludep): Use simplified rules.
2742 (targetincludep): Rename gxx_target_include_dir.
2743 (myincludep): Rename gxx_include_dir.
2744 * src/Makefile.in: Regenerate.
2745 * libsupc++/Makefile.am: Use simplified rules.
2746 * libsupc++/Makefile.in: Regenerate.
2748 2001-02-05 Benjamin Kosnik <bkoz@redhat.com>
2750 * include/c_std/bits/std_cerrno.h: Correct date format for copyright.
2751 * include/c_std/bits/std_cctype.h: Same.
2752 * include/c_std/bits/std_cassert.h: Same.
2753 * include/c_std/bits/std_cstdarg.h: Same.
2754 * include/c_std/bits/std_cstddef.h: Same.
2756 * include/c_std/bits/std_cstdio.h: Undefine all names brought into
2758 * include/c_std/bits/std_ctime.h: Same.
2759 * include/c_std/bits/std_clocale.h: Same.
2760 * include/c_std/bits/std_cmath.h: Same.
2761 * include/c_std/bits/std_csetjmp.h: Same.
2762 * include/c_std/bits/std_csignal.h: Same.
2763 * include/c_std/bits/std_cstring.h: Same.
2764 * include/c_std/bits/std_cstdlib.h: Same.
2765 * include/c_std/bits/std_cwchar.h: Same.
2767 2001-02-05 Phil Edwards <pme@sources.redhat.com>
2769 * testsuite/27_io/ios_base_members_static.cc: Swap order of tests.
2771 2001-02-05 Mark Mitchell <mark@codesourcery.com>
2773 * src/string-inst.cc (string::_M_replace): Explicitly instantiate.
2774 (string::_S_construct): Likewise.
2776 2001-02-05 Gabriel Dos Reis <gdr@codesourcery.com>
2778 * testsuite/config/default.exp: New file.
2779 * testsuite/config: New directory.
2781 2001-02-04 Mark Mitchell <mark@codesourcery.com>
2783 * libsupc++/typeinfo (__GXX_MERGED_TYPEINFO_NAMES): New macro.
2784 * libsupc++/tinfo.cc (std::typeinfo::operator==): Use strcmp
2785 whenever !__GXX_MERGED_TYPEINFO_NAMES.
2786 * libsupc++/tinfo2.cc (std::typeinfo::before): Likewise.
2788 2001-02-03 Alexandre Oliva <aoliva@redhat.com>
2789 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
2791 * Makefile.am (mkinstalldirs): Set.
2792 * src/Makefile.am (mkinstalldirs): Set.
2793 * libmath/Makefile.am (mkinstalldirs): Set.
2794 * libsup++/Makefile.am (mkinstalldirs): Set.
2795 * libio/Makefile.am (mkinstalldirs): Set.
2796 * */Makefile.in: Regenerate.
2798 2001-02-03 Benjamin Kosnik <bkoz@redhat.com>
2800 * include/bits/stl_threads.h (struct _STL_mutex_lock): Same.
2801 * include/bits/localefwd.h: More initialization cleanups.
2803 2001-02-03 Jeffrey A Law <law@cygnus.com>
2805 * include/bits/ios_base.h (_S_ios_fmtflags_end): Initialize
2806 correctly targets with 16bit ints.
2807 (_S_ios_openmode_end): Similarly.
2808 (_S_ios_iostate_end): Similarly.
2809 (_S_ios_Seekdir_end): Similarly.
2811 2001-02-02 Phil Edwards <pme@sources.redhat.com>
2813 * mkcheck.in: Also limit virtual memory size, for mmap-based mallocs.
2815 2001-02-01 Alexandre Oliva <aoliva@redhat.com>
2817 * configure.in (toplevel_srcdir, auxdir): Set.
2818 * acinclude.m4 (glibcpp_basedir): Set based on auxdir.
2819 * aclocal.m4, configure, Makefile.in: Rebuilt.
2820 * libio/Makefile.in, math/Makefile.in, src/Makefile.in: Likewise.
2821 * libsupc++-v3/Makefile.am (INCLUDES): Use toplevel_srcdir.
2822 * libsupc++-v3/Makefile.in: Rebuilt.
2823 * libsupc++-v3/configure.in, libsupc++-v3/configure: Removed.
2824 * libsupc++-v3/aclocal.m4, libsupc++-v3/config.h.in: Likewise.
2826 2001-01-30 Benjamin Kosnik <bkoz@redhat.com>
2828 * config/c_locale_generic.cc: Remove langinfo include.
2830 2001-01-29 Benjamin Kosnik <bkoz@redhat.com>
2832 Preliminary named locales.
2833 * acinclude.m4 (GLIBCPP_ENABLE_CLOCALE): New macro.
2834 * aclocal.m4: Regenerate.
2835 * configure.in: Use it.
2836 * configure: Regerate.
2837 * src/Makefile.am (sources): Add c++locale.cc.
2838 (build_headers): Add c++locale.h.
2839 * src/Makefile.in: Regenerate.
2840 * config/c_locale_gnu.h: New file.
2841 * config/c_locale_gnu.cc: New file. Non-inline member functions
2842 for named locales, gnu-specific.
2843 * config/c_locale_generic.h: New file.
2844 * config/c_locale_generic.cc: New file. Non-inline member
2845 functions for named locales, generic version.
2846 * docs/html/configopts.html: Add documentation on new options.
2848 * include/bits/locale_facets.h (class _Messages): Remove.
2849 (class _Moneypunct): Remove.
2850 * src/locale-inst.cc: Remove.
2852 * include/bits/locale_facets.h (class _Collate): Remove.
2853 * src/locale-inst.cc (std): Remove.
2854 * src/locale.cc: And here.
2856 * include/bits/localefwd.h (locale::_M_coalesce): New
2857 function. Correctly put together multi-name locales.
2858 (_Impl(const _Impl&, category, size_t)): Remove.
2860 * include/bits/localefwd.h (locale::_Impl): Remove _M_construct_*
2862 (_M_normalize_category_names): Remove.
2863 (_M_replace_categories): Fix.
2865 * src/localename.cc (locale::_Impl::_M_construct_collate): Remove.
2866 (locale::_Impl::_M_construct_ctype): Remove.
2867 (locale::_Impl::_M_construct_monetary): Remove.
2868 (locale::_Impl::_M_construct_numeric): Remove.
2869 (locale::_Impl::_M_construct_time): Remove.
2870 (locale::_Impl::_M_construct_messages): Remove.
2872 * include/bits/locale_facets.h (_Bad_use_facet): Remove.
2873 (_Use_facet_failure_handle): Remove.
2874 * src/locale.cc: Remove definitions.
2875 * src/locale-inst.cc: And here.
2877 * testsuite/22_locale/ctor_copy_dtor.cc (test01): Fixup. Add tests.
2879 * src/localename.cc (locale::facet::_S_create_c_locale): Properly
2880 create and error-check underlying locale object.
2881 (locale::facet::_S_destroy_c_locale): Add, take care of properly
2882 tearing down underlying locale object.
2883 * include/bits/localefwd.h (locale::facet): Declare.
2884 * testsuite/22_locale/members.cc: Don't test "fr_FR" locale for
2885 correctness, as glibc apparently has incorrect info in it. Test
2886 with it when it works again.....
2888 * include/bits/localefwd.h (locale::_Impl::__vec_string):
2889 Remove. Number of categories is fixed at six, so just simplify and
2890 make this an array of strings.
2891 (locale::_Impl::_M_has_name): Remove.
2892 (locale::_Impl::_M_name): Remove.
2893 (locale::_Impl::_M_category_names): Turns into...
2894 (locale::_Impl::_M_names): ...this.
2895 (locale::_Impl::_M_has_same_name()): New function.
2896 * src/localename.cc (locale::_Impl::~_Impl()): Remove here.
2897 (locale::_Impl::_Impl(size_t __refs, string __str)): Simplify
2899 * src/locale.cc (locale::name()): Construct mangled name
2900 accurately reflecting combined locale categories.
2902 * src/locale.cc (locale::classic()): Don't initialize here.
2903 * src/localename.cc (locale::_Impl::_Impl(size_t __num, size_t
2904 __refs, bool __has_name, string __str): Do it here.
2906 * include/bits/localefwd.h: _S_categories_num to
2907 _S_num_categories. _S_facets_num to _S_num_facets.
2908 (locale::id::id()): Explicitly set _M_index to zero.
2909 * src/locale.cc: Same.
2911 * src/locale.cc: (locale::locale(const char*)): Construct named
2914 * src/locale.cc: Remove numpunct_byname ctors.
2915 * testsuite/22_locale/numpunct_byname.cc: New file.
2916 * testsuite/22_locale/numpunct.cc: New file.
2918 * include/bits/localefwd.h (class locale): Change data members to
2919 protected, from private.
2920 (_Impl::_M_get_c_locale): Add member function.
2921 (locale::facet::_M_get_global_impl()): Add member function.
2922 * include/bits/locale_facets.h (numpunct::_M_init): Change to take
2923 a __c_locale pointer.
2924 (numpunct::numpunct( __c_locale*, size_t)): Add additonal ctor for
2926 * testsuite/22_locale/members.cc: New file, test name and combine.
2928 * include/bits/locale_facets.h (class numpunct): Remove class
2929 _Punct and _Numpunct. Rewrite class numpunct to be correct for
2931 * include/bits/localefwd.h (locale::_Imp::_M_c_locale): Add.
2932 * src/localename.cc (_Impl::~_Impl()): Call __frelocale.
2933 (_Imp::_Impl(size_t, size_t, bool, string)) Initialize _M_c_locale.
2934 * src/locale-inst.cc: Remove _Numpunct, _Punct instantiations.
2935 * testsuite/22_locale/numpunct_char_members.cc: New file.
2937 2001-01-28 Gabriel Dos Reis <gdr@codesourcery.com>
2939 * testsuite/README: Add more comment.
2940 * testsuite/lib/libstdc++.exp: Tweak comment.
2942 2001-01-26 Benjamin Kosnik <bkoz@kredhat.com>
2944 * libsupc++/pure.cc (writestr): Just use cstdio and std::fputs.
2946 2001-01-25 Loren J. Rittle <ljrittle@acm.org>
2948 * testsuite/21_strings/inserters_extractors.cc: Remove
2949 explicit reference to 'testsuite/'.
2951 2001-01-25 Richard Henderson <rth@redhat.com>
2953 * config/cpu/alpha/bits/atomicity.h: Remove tricky .subsetion
2954 bits. Fixes Tru64 build issues.
2956 2001-01-25 Michael Sokolov <msokolov@ivan.Harhan.ORG>
2958 * acinclude.m4 (GLIBCPP_CHECK_GNU_MAKE): Bourne shell portability bug
2959 (use ${MAKE-make}, not ${MAKE:-make}).
2960 * aclocal.m4, configure: Regenerate.
2962 2001-01-25 Mark Mitchell <mark@codesourcery.com>
2964 * src/ios.cc: Remove accidental inclusion of <stdio.h> in last
2967 * src/Makefile.am (sources): Add globals.cc.
2968 * src/Makefile.in: Regenerated.
2969 * src/globals.cc: New file.
2970 * src/ios.cc (cin): Don't define here, just declare extern.
2979 2001-01-25 Phil Edwards <pme@sources.redhat.com>
2981 * include/bits/std_iterator.h: Do not include stl_relops.h.
2982 * include/bits/std_numeric.h: Ditto.
2983 * include/bits/stl_algobase.h: Ditto.
2984 * include/bits/stl_relops.h: Add comment warning about problems.
2986 2001-01-25 Gabriel Dos Reis <gdr@codesourcery.com>
2988 * testsuite/27_io/*.cc: Remove explicit reference to 'testsuite/'
2989 in testcases. Prepare for the DejaGnu based framework.
2990 * mkcheck.in: Adjust call to tests_flags. Don't mmkdir testsuite
2991 directory -- it is now mkcheck working directory.
2992 * tests_flags.in: Remove reference to $(top_srcdir). Use
2994 * Makefile.am (check, check-install): Change mkcheck invocation
2996 * Makefile.in: Regenerate.
2998 2001-01-24 Mark Mitchell <mark@codesourcery.com>
3000 * config/os/aix/bits/atomicity.h (__compare_and_swap): Remove.
3001 (__always_swap): Likewise.
3003 2001-01-23 Chris Demetriou <cgd@broadcom.com>
3005 * libsupc++/exception_support.cc (__terminate_func): Remove
3007 (__terminate_func_ptr): New typedef.
3008 (__terminate, __terminate_set_func): New extern function
3010 (std::terminate): Use __terminate function.
3011 (std::set_terminate): Use __terminate_set_func function.
3013 2001-01-23 Benjamin Kosnik <bkoz@redhat.com>
3015 * configure.target: Just use os_include_dir always.
3016 * configure.in: Remove calls to GLIBCPP_CHECK_CTYPE_SUPPORT.
3017 Link atomicity files and ctype files here.
3018 * configure: Regenerate.
3019 * acinclude.m4 (GLIBCPP_CHECK_CTYPE_SUPPORT): Remove.
3020 (GLIBCPP_ENABLE_ATOMICITY): Remove.
3021 * aclocal.m4: Regenerate.
3023 2001-01-23 Chris Demetriou <cgd@broadcom.com>
3025 * configure.in: Place definition of MULTISUBDIR in
3026 libsupc++/Makefile as is done for src/Makefile.
3027 * configure: Regenerate.
3029 2001-01-23 Phil Edwards <pme@sources.redhat.com>
3031 * acinclude.m4: Cosmetic changes only.
3032 * aclocal.m4: Regenerated.
3033 * configure: Regenerated.
3034 * configure.target: Update documented list of changed variables.
3035 * docs/html/install.html: Fix typo.
3036 * docs/html/20_util/howto.html: More notes on auto_ptr.
3037 * docs/html/27_io/howto.html: More notes on streabufs.
3038 * docs/html/faq/index.html: Add rel_ops problem and mention the
3039 DEC as(1) .subsection difficulty.
3040 * docs/html/faq/index.txt: Regenerated.
3042 2001-01-23 Mark Mitchell <mark@codesourcery.com>
3044 * ainclude.m4 (GLIBCPP_CHEC_MATH_DECLS_AND_LINKAGE_1): New macro.
3045 (GLIBCPP_CHECK_MATH_SUPPORT): Use it.
3046 (GLIBCPP_CHECK_TYPE_SUPPORT): Don't autoconf ctype information if
3047 its already provided in config.target.
3048 * aclocal.m4: Regenerated.
3049 * configure: Likewise.
3050 * configure.target: Set ctype_include_dir for lots of systems.
3051 * libsupc++/Makefile.am: Explicitly include --tag disable-shared.
3052 * libsupc++/Makefile.in: Regenerated.
3054 2001-01-23 Gabriel Dos Reis <gdr@codesourcery.com>
3056 * testsuite/lib/libstdc++.exp: Improve. Add support for @xxx#
3059 * testsuite/README: Add comment.
3061 2001-01-21 Phil Edwards <pme@sources.redhat.com>
3063 * docs/html/configopts.html: Update for current status. Fix HTML.
3064 * docs/html/install.html: Update for current status.
3066 2001-01-20 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
3068 * testsuite/libstdc++.tests/tests.exp: New file.
3069 * testsuite/lib/libstdc++.exp: Itou.
3070 * testsuite/README: Itou.
3072 2001-01-20 Gabriel Dos Reis <gdr@codesourcery.com>
3074 * tests_flags.in: Just output the bare minimum to run tests.
3075 Let's the caller do its own arrangement.
3077 * mkcheck.in: Rename INC_PATH to INCLUDES. Adjust flags
3080 2001-01-19 Gabriel Dos Reis <gdr@codesourcery.com>
3082 * testsuite/17_intro: Prepare testcases for new style DejaGnu
3085 2001-01-18 Gabriel Dos Reis <gdr@codesourcery.com>
3087 * testsuite/libstdc++.tests, testsuite/lib: New directories.
3089 2001-01-17 Loren J. Rittle <ljrittle@acm.org>
3091 * mkcheck.in: Construct file names that match $objdir structure.
3092 * testsuite/27_io/filebuf_members-1.txt: New file.
3093 * testsuite/27_io/ifstream_members-1.txt: New file.
3094 * testsuite/27_io/ostream_inserter_char-1.txt: New file.
3096 * testsuite/27_io/ios_base_members_static.cc (test02): Add test.
3097 * testsuite/27_io/ios_base_members_static-1.tst: Add expected output.
3099 2001-01-17 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
3101 * testsuite/27_io/istream_sentry.cc (test02): Fix.
3103 2001-01-17 Benjamin Kosnik <bkoz@redhat.com>
3106 * include/bits/ios_base.h (ios_base::failure): Tighten up throw specs.
3107 * src/ios.cc (ios_base::failure): Make definitions match.
3108 * libsupc++/typeinfo (class bad_typeid): Add throw specs.
3109 (class bad_cast): Same.
3110 * libsupc++/exception (class exception): Add throw specs.
3111 * libsupc++/exception_support.cc (set_terminate): Add throw specs.
3112 (set_unexpected): Same.
3113 (uncaught_exception): Same.
3116 * docs/html/17_intro/C++STYLE (classname): Fix.
3118 2001-01-16 Mark Mitchell <mark@codesourcery.com>
3120 * src/gen-num-limits.cc (INSTANTIATIONS): New macro.
3121 Use it do explicitly instantiate predicate<T> and value<T> for
3124 2001-01-16 Nathan Sidwell <nathan@codesourcery.com>
3126 * libsupc++/exception_support.cc (__cp_pop_exception): Fix
3127 uninitialized thinko in last change.
3129 2001-01-16 Mark Mitchell <mark@codesourcery.com>
3131 * libsupc++/exception_support.cc (__cp_pop_exception): Change
3134 2001-01-16 Benjamin Kosnik <bkoz@redhat.com>
3136 * docs/html/17_intro/C++STYLE (classname): Add more existing
3137 and stylish patterns.
3140 * include/bits/istream.tcc (istream::sentry::sentry()): Set
3141 failbit if the state of the stream is not good.
3142 * testsuite/27_io/istream_sentry.cc (test02): Add test.
3143 * testsuite/27_io/istream_manip.cc (test01): Modify.
3146 reported by Paolo Carlini <pcarlini@unitus.it>
3147 * include/bits/istream.tcc (operator>>(istream&, string&)): Fix.
3148 * testsuite/21_strings/inserters_extractors.cc (test08): Add test.
3151 * include/bits/std_streambuf.h (setp): Set _M_buf_size correctly.
3152 * include/bits/streambuf.tcc (xsputn): Remove outside if clause.
3153 (xsgetn): Same. Simplify.
3154 * testsuite/27_io/streambuf.cc (test04): Add testcases.
3156 reported by Larry Evans <jcampbell3@prodigy.net>
3157 * include/bits/streambuf.tcc (streambuf::xsputn): Just check for
3158 equality with eof on returned value from overflow.
3160 2001-01-14 Andreas Jaeger <aj@suse.de>
3162 * libio/libio.h: Add test for glibc 2.0.
3164 2001-01-12 Benjamin Kosnik <bkoz@redhat.com>
3166 * config/os/djgpp/bits/*: Fix dates.
3168 * include/bits/basic_string.h (_S_find(const _CharT* __beg, const
3169 _CharT* __end, _CharT __c): Remove.
3170 * include/bits/basic_string.tcc: Substitute traits::find for _S_find.
3171 * include/bits/char_traits.h: Tweak.
3173 2001-01-12 Laurynas Biveinis <lauras@softhome.net>
3175 * acinclude.m4 (GLIBCPP_CHECK_CTYPE_SUPPORT): check for DJGPP <ctype.h>
3176 (LIB_AC_PROG_CXX): replace [/\\] with [\\/] to work around older
3178 * aclocal.m4: regenerated.
3179 * configure.target: set os_include_dir to config/os/djgpp under DJGPP.
3180 * configure: regenerated.
3181 * config/os/djgpp, config/os/djgpp/bits: new directories.
3182 * config/os/djgpp/bits/ctype_base.h,
3183 config/os/djgpp/bits/ctype_inline.h,
3184 config/os/djgpp/bits/ctype_noninline.h,
3185 config/os/djgpp/bits/os_defines.h: new files.
3187 2001-01-11 Joseph S. Myers <jsm28@cam.ac.uk>
3189 * include/c_std/bits/std_cstdio.h: Undef printf.
3191 2001-01-10 Benjamin Kosnik <bkoz@redhat.com>
3193 * src/ios.cc: Fix typo: change cout->wcout.
3195 * src/Makefile.am (targetincludep): Fix for version-specific-libs.
3196 * src/Makefile.in: Regenerate.
3198 2001-01-10 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
3200 * include/bits/std_complex.h: Fix a typo.
3202 2001-01-09 Benjamin Kosnik <bkoz@redhat.com>
3205 Fixes for libstdc++/1576
3206 * src/stdstreams.cc: Initialize with NULL filebuf. Delete
3207 file, move contents into....
3208 * src/ios.cc: ...Here. Put defines for iostreams objects and
3209 initialization routines into one file to simplify DSO interaction.
3210 * include/bits/std_iostream.h: Touch.
3211 * include/bits/ios_base.h (_S_synched_with_stdio): Make static.
3212 * src/Makefile.am (sources): Remove stdstreams.cc.
3213 * src/Makefile.in: Regenerate.
3215 2001-01-10 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
3217 * tests_flags.in (check_directory): Fix typo.
3219 2001-01-09 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
3221 * include/bits/std_complex.h: Fix a typo.
3223 2001-01-09 Loren J. Rittle <ljrittle@acm.org>
3225 * config/os/bsd/freebsd/bits/ctype_inline.h (is): (Make right
3226 code path:) Remove magic constants and restructure to handle
3227 ctype.h bit mask layout changes more gracefully. (Make fast
3228 code path:) Use __maskrune (), if available.
3229 (is): Remove special case for digit and xdigit masks.
3231 2001-01-09 Robert Lipe <robertlipe@usa.net>
3233 * include/c_std/bits/std_ctime.h: Undefine difftime.
3235 2001-01-09 Alexandre Oliva <aoliva@redhat.com>
3237 * src/gen-num-limits.cc (signal_adapter): New template function.
3238 (signal_handler): Use it, instead of signal.
3239 (traps<T>): Likewise. Install SIGTRAP handler too. Don't
3240 require both tests to trap to set trap_flag.
3242 2001-01-08 Benjamin Kosnik <bkoz@redhat.com>
3244 * include/bits/fpos.h (fpos:::fpos(streamoff __pos)): Explicitly
3245 initialize mbstate_t member, name offset data members *off, not pos.
3246 * include/bits/fstream.tcc (filebuf::filebuf): Same.
3248 2001-01-08 Benjamin Kosnik <bkoz@redhat.com>
3250 reported by Chris G. Demetriou <cgd@sibyte.com>
3251 * configure.in: Change -linux-* to -linux*.
3252 * configure: Regenerate.
3254 2001-01-05 Benjamin Kosnik <bkoz@redhat.com>
3256 Fix 27_io/filebuf_members.cc
3257 * src/localename.cc (locale::_Impl::_Impl(const _Impl& __imp,
3258 const string& __name, category __cat, size_t __refs): Set
3259 _M_has_name with _M_name.
3260 * include/bits/localefwd.h (locale::operator!=): Protect member
3261 function call with this->.
3262 * src/locale.cc (locale::operator==): Make fast checks first.
3263 * include/bits/basic_ios.tcc (basic_ios::init): Simplify.
3265 * include/bits/ios_base.h (_M_synced_with_stdio): Add data member
3267 * src/ios.cc (ios_base::Init::Init): Initialize here.
3268 (ios_base::sync_with_stdio): Set here.
3270 2001-01-04 Loren J. Rittle <ljrittle@acm.org>
3272 * config/c_io_stdio.cc (__basic_file<_CharT>::sys_open()): On
3273 systems that support it, call dup() before fdopen().
3275 2001-01-03 Benjamin Kosnik <bkoz@redhat.com>
3277 * include/c_std/bits/std_cwctype.h: Include std_cwchar.h for wint_t.
3278 * testsuite/17_intro/header_cwctype.cc (main): New file.
3280 * src/Makefile.am (base_headers): Change.
3281 * include/bits/std_string.h: And here.
3282 * include/bits/string.tcc: Tweaks, move to...
3283 * include/bits/basic_string.tcc: ...Here.
3284 * src/string-inst.cc: Simplify, just instantiate the whole class,
3285 not member-by-member.
3287 2001-01-02 Benjamin Kosnik <bkoz@redhat.com>
3289 * acinclude.m4 (GLIBCPP_ENABLD_CSTDIO): Add in default value.
3290 * aclocal.m4: Regenerate.
3291 * configure: Regenerate.
3293 * include/bits/c++config (__GLIBCPP__): Bump version number.
3295 * ChangeLog: Start new log for year 2001
3296 * ChangeLog-2000: New file.
3298 * docs/html/configopts.html: Make sure default values are current,
3301 2001-01-01 Benjamin Kosnik <bkoz@fillmore.redhat.com>
3303 * include/c_std/bits/std_cwchar.h: Same.
3304 * testsuite/17_intro/header_cwchar.cc: Same.
3305 * include/c_std/bits/std_ctime.h: Same.
3306 * testsuite/17_intro/header_ctime.cc: Same.
3307 * include/c_std/bits/std_cstdlib.h: Same.
3308 Clean up undefs, make consistent with cwchar and cmath, etc.
3309 * testsuite/17_intro/header_cstdlib.cc: Same.
3310 * include/c_std/bits/std_cstdio.h: Same here.
3311 * testsuite/17_intro/header_cstring.cc: Same.
3312 * include/c_std/bits/std_cstring.h: Include std_cstddef.h for size_t.
3313 * testsuite/17_intro/header_cstring.cc: New file. Check for
3314 size_t in namespace std.
3316 * include/c_std/bits/std_cwchar.h: Explicit checks for mbstate_t.
3317 * acconfig.h (HAVE_MBSTATE_T): Add.
3318 * config.h.in: Regenerate.
3319 * acinclude.m4(GLIBCPP_CHECK_WCHAR_T_SUPPORT): Always test for
3321 * aclocal.m4: Regenerate.
3322 * configure: Regenerate.
3323 * testsuite/17_intro/headers_c++.cc: New file.
3324 * testsuite/17_intro/headers_c.cc: Small changes.
3326 2001-01-01 David Billinghurst <David.Billinghurst@riotinto.com>
3328 * tests_flags.in: Fix typo in usage.
3330 * tests_flags.in: Set target specific LIBS for cygwin.