1 2001-07-06 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
3 * include/bits/stl_vector.h (vector::_M_initialize_aux): Fix typo.
5 2001-07-05 Jason Merrill <jason_merrill@redhat.com>
7 * testsuite_flags.in (--build-includes): backward, not backwards.
9 2001-07-04 Jeffrey Oldham <oldham@codesourcery.com>
11 * include/ext/ropeimpl.h (_Rope_RopeRep::_M_free_c_string):
12 Replace destroy by _Destroy.
13 (_Rope_RopeRep::_S_free_string): Likewise.
14 (rope::c_str()): Likewise.
15 * include/ext/slist (_Slist_base::_M_erase_after>): Likewise.
16 (_Slist_base::_M_erase_after): Likewise.
17 (slist::_M_create_node): Replace construct by _Construct.
18 (slist::pop_front): Replace destroy by _Destroy.
19 * include/ext/stl_hashtable.h (hashtable::_M_new_node): Replace
20 construct by _Construct.
21 (hashtable::_M_delete_node): Replace destroy by _Destroy.
22 * include/ext/stl_rope.h (rope::rope): Replace construct by
24 (rope::copy): Replace destroy by _Destroy.
26 2001-07-03 Benjamin Kosnik <bkoz@redhat.com>
28 * include/bits/localefwd.h: Format.
29 * include/bits/locale_facts.tcc (locale::combine): Adjust.
30 * src/locale.cc (locale::locale::(_Impl)): Don't call
32 (locale::facet::_M_remove_reference): Simplify.
33 * src/globals.cc (locale_impl_c): New. Format.
35 * src/ios.cc (ios_base::Init::Init): Increment _S_ios_base_init last.
37 2001-07-02 Loren J. Rittle <ljrittle@acm.org>
39 * acinclude.m4 (GLIBCPP_ENABLE_THREADS): Protect variable from shell
40 expansion (thanks to Alexandre Oliva).
41 * aclocal.m4: Regenerate.
42 * configure: Regenerate.
44 2001-07-02 Benjamin Kosnik <bkoz@redhat.com>
46 * src/locale.cc (locale::locale(const char*)): Make sure global
47 locales are initialized.
48 * include/bits/locale_facets.tcc (locale::combine): Refcout should
49 be zero, not one as it's return-by-value.
50 * testsuite/27_io/ios_base_callbacks.cc (test01): Don't check for
52 * testsuite/22_locale/ctor_copy_dtor.cc (test01): Instead, check
55 * libsupc++/eh_alloc.cc: Use climits, not limits.h.
57 2001-07-02 Loren J. Rittle <ljrittle@acm.org>
60 * acinclude.m4 (GLIBCPP_ENABLE_THREADS): Portability enhancement.
61 * aclocal.m4: Regenerate.
62 * configure: Regenerate.
64 2001-07-02 Loren J. Rittle <ljrittle@acm.org>
67 * acinclude.m4 (GLIBCPP_ENABLE_THREADS): Add relative path to
68 staged/installed area to support -I-. Document.
69 * aclocal.m4: Regenerate.
70 * configure: Regenerate.
72 2001-07-02 Loren J. Rittle <ljrittle@acm.org>
75 * src/ios.cc (ios_base::Init::_S_ios_create): Rename __bufsize to
76 __out_bufsize. Add __in_bufsize, document it and use it.
78 2001-07-01 Stephen M. Webb <stephen@bregmasoft.com>
80 * include/bits/stl_construct.h (construct): Remove.
82 (__destroy): Replaced by use of iterator_traits.
83 * include/bits/stl_deque.h: replaced HP iterator functions with
85 (construct): changed to _Construct.
86 (destroy): changed to _Destroy.
87 * include/bits/stl_tempbuf.h: Same.
88 * include/bits/stl_tree.h: Same.
89 * include/bits/stl_vector.h: Same.
90 * include/backward/iterator.h (construct): moved definition to here.
93 2001-06-29 Benjamin Kosnik <bkoz@redhat.com>
95 * include/bits/locale_facets.tcc (locale::combine): Clone _Impl.
96 before replacing facet.
97 * include/bits/localefwd.h (locale::_Impl::_M_remove_reference):
99 * src/localename.cc (locale::_Impl): Correct ctor initialization
100 lists. Initialize ref count with one. Simplify.
101 * src/locale.cc: Add comment.
102 * testsuite/22_locale/numpunct.cc (test01): Add derivation test.
103 * testsuite/22_locale/numpunct_char_members.cc (test01): Add tests.
104 * testsuite/22_locale/members.cc (test02): Fix.
106 2001-06-27 Phil Edwards <pme@sources.redhat.com>
108 * include/backward/algo.h: Add "GPL plus runtime exception" comment
109 block, this time for real.
110 * include/backward/algobase.h: Likewise.
111 * include/backward/alloc.h: Likewise.
112 * include/backward/bvector.h: Likewise.
113 * include/backward/defalloc.h: Likewise.
114 * include/backward/deque.h: Likewise.
115 * include/backward/function.h: Likewise.
116 * include/backward/hash_map.h: Likewise.
117 * include/backward/hash_set.h: Likewise.
118 * include/backward/hashtable.h: Likewise.
119 * include/backward/heap.h: Likewise.
120 * include/backward/iterator.h: Likewise.
121 * include/backward/list.h: Likewise.
122 * include/backward/map.h: Likewise.
123 * include/backward/multimap.h: Likewise.
124 * include/backward/multiset.h: Likewise.
125 * include/backward/pair.h: Likewise.
126 * include/backward/rope.h: Likewise.
127 * include/backward/set.h: Likewise.
128 * include/backward/slist.h: Likewise.
129 * include/backward/stack.h: Likewise.
130 * include/backward/strstream: Likewise.
131 * include/backward/tempbuf.h: Likewise.
132 * include/backward/tree.h: Likewise.
133 * include/backward/vector.h: Likewise.
134 * include/bits/pthread_allocimpl.h: Likewise.
135 * include/bits/std_algorithm.h: Likewise.
136 * include/bits/std_bitset.h: Likewise.
137 * include/bits/std_deque.h: Likewise.
138 * include/bits/std_functional.h: Likewise.
139 * include/bits/std_iterator.h: Likewise.
140 * include/bits/std_list.h: Likewise.
141 * include/bits/std_map.h: Likewise.
142 * include/bits/std_memory.h: Likewise.
143 * include/bits/std_numeric.h: Likewise.
144 * include/bits/std_queue.h: Likewise.
145 * include/bits/std_set.h: Likewise.
146 * include/bits/std_stack.h: Likewise.
147 * include/bits/std_utility.h: Likewise.
148 * include/bits/std_vector.h: Likewise.
149 * include/bits/stl_algo.h: Likewise.
150 * include/bits/stl_algobase.h: Likewise.
151 * include/bits/stl_alloc.h: Likewise.
152 * include/bits/stl_bvector.h: Likewise.
153 * include/bits/stl_construct.h: Likewise.
154 * include/bits/stl_deque.h: Likewise.
155 * include/bits/stl_function.h: Likewise.
156 * include/bits/stl_heap.h: Likewise.
157 * include/bits/stl_iterator.h: Likewise.
158 * include/bits/stl_iterator_base_funcs.h: Likewise.
159 * include/bits/stl_iterator_base_types.h: Likewise.
160 * include/bits/stl_list.h: Likewise.
161 * include/bits/stl_map.h: Likewise.
162 * include/bits/stl_multimap.h: Likewise.
163 * include/bits/stl_multiset.h: Likewise.
164 * include/bits/stl_numeric.h: Likewise.
165 * include/bits/stl_pair.h: Likewise.
166 * include/bits/stl_pthread_alloc.h: Likewise.
167 * include/bits/stl_queue.h: Likewise.
168 * include/bits/stl_raw_storage_iter.h: Likewise.
169 * include/bits/stl_relops.h: Likewise.
170 * include/bits/stl_set.h: Likewise.
171 * include/bits/stl_stack.h: Likewise.
172 * include/bits/stl_tempbuf.h: Likewise.
173 * include/bits/stl_threads.h: Likewise.
174 * include/bits/stl_tree.h: Likewise.
175 * include/bits/stl_uninitialized.h: Likewise.
176 * include/bits/stl_vector.h: Likewise.
177 * include/bits/type_traits.h: Likewise.
178 * include/ext/hash_map: Likewise.
179 * include/ext/hash_set: Likewise.
180 * include/ext/rope: Likewise.
181 * include/ext/ropeimpl.h: Likewise.
182 * include/ext/slist: Likewise.
183 * include/ext/stl_hash_fun.h: Likewise.
184 * include/ext/stl_hashtable.h: Likewise.
185 * include/ext/stl_rope.h: Likewise.
186 * src/bitset.cc: Likewise.
187 * src/strstream.cc: Likewise.
189 2001-06-26 Benjamin Kosnik <bkoz@redhat.com>
190 <vakatov@ncbi.nlm.nih.gov>
193 * include/bits/streambuf.tcc (__copy_streambufs): Don't set eofbit.
194 * testsuite/27_io/ostream_inserter_other.cc (test04): Add test.
195 * testsuite/27_io/istream_extractor_other.cc: Fix.
197 2001-06-26 Zoltan Hidvegi <hzoli@austin.ibm.com>
199 * acinclude.m4 (glibcpp_toolexeclibdir): Make multilib safe.
200 * aclocal.m4: Regenerate.
201 * configure: Regenerate.
203 2001-06-26 Benjamin Kosnik <bkoz@redhat.com>
205 * include/bits/stream_iterator.h (istream_iterator): Add copy ctor.
206 (ostream_iterator): Same.
207 * include/bits/stl_iterator.h (front_insert_iterator::operator=):
208 Change argument to const_reference.
209 (back_insert_iterator): Same.
211 2001-06-26 Benjamin Kosnik <bkoz@redhat.com>
213 * include/bits/sbuf_iter.h: Change to..
214 * include/bits/streambuf_iterator.h: This.
215 * include/bits/stl_iterator.h: Take out of here...
216 * include/bits/stream_iterator.h: Add.
217 * src/Makefile.am (base_headers): Add streambuf_iterator,
219 * src/Makefile.in: Regenerate.
220 * include/bits/std_string.h: Adjust includes.
221 * include/bits/basic_ios.h: Same.
222 * include/bits/locale_facets.tcc: Same.
223 * include/bits/std_iosfwd.h: Same.
225 * include/bits/std_iterator.h: Add istream, ostream includes.
226 * include/bits/stl_iterator.h: Tweak.
227 * testsuite/24_iterators/ostream_iterator.cc: Add test.
228 * testsuite/24_iterators/istream_iterator.cc: Same.
229 * testsuite/23_containers/multiset.cc: Add iterator include.
231 2001-06-26 Phil Edwards <pme@sources.redhat.com>
233 * acinclude.m4: Clean extraneous tabs, rewrap 'test' lines.
234 * aclocal.m4: Regenerate.
235 * configure: Regenerate.
237 2001-06-26 Felix Natter <f.natter@ndh.net>
239 * docs/html/17_intro/porting-howto.html: Fixed some errors.
241 2001-06-26 Benjamin Kosnik <bkoz@redhat.com>
243 * include/bits/stl_iterator.h (istream_iterator::operator->): Fix
245 (istream_iterator::operator*): Same.
247 2001-06-26 Benjamin Kosnik <bkoz@redhat.com>
248 Alexandre Petit-Bianco <apbianco@redhat.com>
250 * testsuite/21_strings/element_access.cc (test01): Chill Out Cafe
251 is on 41st, not 14th.
253 2001-06-26 Benjamin Kosnik <bkoz@redhat.com>
255 * include/bits/std_iterator.h: Include sbuf_iter.h via std_ios.h.
257 * include/bits/stl_iterator.h (istream_iterator): Inherit from
259 (ostream_iterator): Same.
260 * testsuite/24_iterators/istream_iterator.cc: New file.
261 * testsuite/24_iterators/ostream_iterator.cc: New file.
263 * include/bits/sbuf_iter.h: Remove self typedef.
264 * testsuite/24_iterators/ostreambuf_iterator.cc: Add test.
265 * testsuite/24_iterators/istreambuf_iterator.cc: Add test.
267 * include/bits/stl_iterator.h (reverse_iterator): Remove
268 extraneous typedefs. Add typename.
269 (__normal_iterator): Remove typedefs referring to self. Add typename.
270 (reverse_bidiretional_iterator): Remove, not longer required.
272 2001-06-26 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
274 * include/bits/stl_iterator.h (__normal_iterator<>): Qualify
275 dependent names with `typename'. Bring in various required
276 iterator_traits members. Can't imagine why that used to work.
278 2001-06-25 Phil Edwards <pme@sources.redhat.com>
279 Kurt Garloff <garloff@suse.de>
282 * src/cmath.cc: New [version of an old] file; instantiate
283 __cmath_power to start with.
284 * src/Makefile.am (sources): Add cmath.cc (and alphabetize).
285 * Makefile.in: Regenerate.
286 * libio/Makefile.in: Regenerate.
287 * libmath/Makefile.in: Regenerate.
288 * libsupc++/Makefile.in: Regenerate.
289 * src/Makefile.in: Regenerate.
290 * testsuite/Makefile.in: Regenerate.
292 2001-06-24 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
294 * libmath/stubs.c: Fix thinko.
296 2001-06-24 David Edelsohn <dje@watson.ibm.com>
298 * libmath/stubs.c (sqrtf): Define.
299 (tanf): Correct typo.
301 2001-06-22 Benjamin Kosnik <bkoz@redhat.com>
303 * include/bits/stl_iterator.h (reverse_iterator): Inherit from
305 (back_insert_iterator): Same.
306 (front_insert_iterator): Same.
307 (insert_iterator): Same.
309 * testsuite/20_util/raw_storage_iterator.cc: Modify.
310 * testsuite/24_iterators/reverse_iterator.cc: New file.
311 * testsuite/24_iterators/back_insert_iterator.cc: New file.
312 * testsuite/24_iterators/front_insert_iterator.cc: New file.
313 * testsuite/24_iterators/insert_iterator.cc: New file.
315 2001-06-22 Phil Edwards <pme@sources.redhat.com>
317 * include/*: Revert comment/license change from yesterday for all
318 except libsupc++/unwind-cxx.h.
319 * src/bitset.cc: Likewise.
320 * src/strstream.cc: Likewise.
322 2001-06-22 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
324 * libmath/stubs.c: New file.
328 * libmath/Makefile.am (libmath_la_SOURCES): Add.
329 * libmath/Makefile.in. Regenerate.
331 2001-06-21 Phil Edwards <pme@sources.redhat.com>
333 * include/backward/algo.h: Add "GPL plus runtime exception" comment.
334 * include/backward/algobase.h: Likewise.
335 * include/backward/alloc.h: Likewise.
336 * include/backward/bvector.h: Likewise.
337 * include/backward/defalloc.h: Likewise.
338 * include/backward/deque.h: Likewise.
339 * include/backward/function.h: Likewise.
340 * include/backward/hash_map.h: Likewise.
341 * include/backward/hash_set.h: Likewise.
342 * include/backward/hashtable.h: Likewise.
343 * include/backward/heap.h: Likewise.
344 * include/backward/iterator.h: Likewise.
345 * include/backward/list.h: Likewise.
346 * include/backward/map.h: Likewise.
347 * include/backward/multimap.h: Likewise.
348 * include/backward/multiset.h: Likewise.
349 * include/backward/pair.h: Likewise.
350 * include/backward/rope.h: Likewise.
351 * include/backward/set.h: Likewise.
352 * include/backward/slist.h: Likewise.
353 * include/backward/stack.h: Likewise.
354 * include/backward/strstream: Likewise.
355 * include/backward/tempbuf.h: Likewise.
356 * include/backward/tree.h: Likewise.
357 * include/backward/vector.h: Likewise.
358 * include/bits/pthread_allocimpl.h: Likewise.
359 * include/bits/std_algorithm.h: Likewise.
360 * include/bits/std_bitset.h: Likewise.
361 * include/bits/std_deque.h: Likewise.
362 * include/bits/std_functional.h: Likewise.
363 * include/bits/std_iterator.h: Likewise.
364 * include/bits/std_list.h: Likewise.
365 * include/bits/std_map.h: Likewise.
366 * include/bits/std_memory.h: Likewise.
367 * include/bits/std_numeric.h: Likewise.
368 * include/bits/std_queue.h: Likewise.
369 * include/bits/std_set.h: Likewise.
370 * include/bits/std_stack.h: Likewise.
371 * include/bits/std_utility.h: Likewise.
372 * include/bits/std_vector.h: Likewise.
373 * include/bits/stl_algo.h: Likewise.
374 * include/bits/stl_algobase.h: Likewise.
375 * include/bits/stl_alloc.h: Likewise.
376 * include/bits/stl_bvector.h: Likewise.
377 * include/bits/stl_construct.h: Likewise.
378 * include/bits/stl_deque.h: Likewise.
379 * include/bits/stl_function.h: Likewise.
380 * include/bits/stl_heap.h: Likewise.
381 * include/bits/stl_iterator.h: Likewise.
382 * include/bits/stl_iterator_base_funcs.h: Likewise.
383 * include/bits/stl_iterator_base_types.h: Likewise.
384 * include/bits/stl_list.h: Likewise.
385 * include/bits/stl_map.h: Likewise.
386 * include/bits/stl_multimap.h: Likewise.
387 * include/bits/stl_multiset.h: Likewise.
388 * include/bits/stl_numeric.h: Likewise.
389 * include/bits/stl_pair.h: Likewise.
390 * include/bits/stl_pthread_alloc.h: Likewise.
391 * include/bits/stl_queue.h: Likewise.
392 * include/bits/stl_raw_storage_iter.h: Likewise.
393 * include/bits/stl_relops.h: Likewise.
394 * include/bits/stl_set.h: Likewise.
395 * include/bits/stl_stack.h: Likewise.
396 * include/bits/stl_tempbuf.h: Likewise.
397 * include/bits/stl_threads.h: Likewise.
398 * include/bits/stl_tree.h: Likewise.
399 * include/bits/stl_uninitialized.h: Likewise.
400 * include/bits/stl_vector.h: Likewise.
401 * include/bits/type_traits.h: Likewise.
402 * include/ext/hash_map: Likewise.
403 * include/ext/hash_set: Likewise.
404 * include/ext/rope: Likewise.
405 * include/ext/ropeimpl.h: Likewise.
406 * include/ext/slist: Likewise.
407 * include/ext/stl_hash_fun.h: Likewise.
408 * include/ext/stl_hashtable.h: Likewise.
409 * include/ext/stl_rope.h: Likewise.
410 * libsupc++/unwind-cxx.h: Likewise.
411 * src/bitset.cc: Likewise.
412 * src/strstream.cc: Likewise.
414 2001-06-21 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
416 * include/bits/indirect_array.h (indirect_array<>::operator=):
417 Make copy and assignment operator public. Implement. Format.
419 * include/bits/valarray_array.h (__valarray_copy): Add overloads
420 for copy between index arrays. Format.
422 2001-06-19 Benjamin Kosnik <bkoz@redhat.com>
424 * mknumeric_limits: Add static definitions, format.
425 * testsuite/18_support/numeric_limits.cc (test02): Add test.
427 * include/c_std/bits/std_cwchar.h: Include ctime.
428 * testsuite/17_intro/header_cwchar.cc : Check.
430 * include/c_std/bits/std_cwctype.h: Inject wctype.
431 * testsuite/17_intro/header_cwctype.cc: Update.
433 2001-06-18 Benjamin Kosnik <bkoz@redhat.com>
435 * include/bits/stl_raw_storage_iter.h: Format. Correct derivation.
436 * testsuite/20_util/raw_storage_iterator.cc: Same.
438 * include/bits/stl_alloc.h (_S_chunk_alloc): Change malloc to
440 (__mem_interface): New typedef for switching between malloc and new.
441 * testsuite/20_util/allocator_members.cc: New file.
443 * testsuite/20_util/comparisons.cc: New file.
444 * testsuite/20_util/pairs.cc: New file.
446 2001-06-15 Phil Edwards <pme@sources.redhat.com>
448 * docs/html/documentation.html: Point to new doxygen'ed collection.
450 2001-06-14 Nathan Sidwell <nathan@codesourcery.com>
452 * configure.in (auxdir): Replace by ...
453 (toprel): ... new variable.
454 (toplevel_srcdir): Construct from $toprel.
455 * acinclude.m4 (GLIBCPP_ENABLE_THREADS): Use $toprel
456 rather than .. to locate gcc source directory.
457 (GLIBCPP_CONFIGURE): Replace $auxdir with $srcdir/$toprel.
458 * aclocal.m4, configure: Rebuilt.
460 2001-06-13 John David Anglin <dave@hiauly1.hia.nrc.ca>
462 (Approved by Mark and Benjamin. Applied by Loren.)
464 * src/globals.cc: Define globals _GLIBCPP_mutex_init (),
465 _GLIBCPP_mutex_address_init (), _GLIBCPP_once, _GLIBCPP_mutex
466 and _GLIBCPP_mutex_address.
467 * include/bits/stl_threads.h (_STL_mutex_lock): Use above to provide
468 once-only runtime initialization of _M_lock mutex when
469 __GTHREAD_MUTEX_INIT_FUNCTION is defined.
470 (__STL_MUTEX_INITIALIZER): Provide initializer for _STL_mutex_lock
471 for __GTHREAD_MUTEX_INIT_FUNCTION case.
473 2001-06-13 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
475 * testsuite/26_numerics/slice_array_assignment.cc (main): New test.
477 * include/bits/slice_array.h (slice_array<>::operator=): Make
478 public and implement.
479 (slice_array<>::slice_array): Make copy-constructor public.
481 * include/bits/valarray_array.h (__valarray_copy): Add another
482 overload to copy between strided arrays.
484 2001-06-13 Benjamin Kosnik <bkoz@redhat.com>
486 * acinclude.m4 (GLIBCPP_CONFIGURE): Bump version to 3.0.0.
487 * aclocal.m4: Regenerate.
488 * configure: Regenerate.
489 * include/bits/c++config (__GLIBCPP__): Update date.
491 2001-06-12 Benjamin Kosnik <bkoz@redhat.com>
493 * include/bits/fpos.h (fpos::operator-): Don't return reference,
494 return original, non-modified version.
495 (fpos::operator+): Same.
496 * testsuite/27_io/fpos.cc: Add test.
498 2001-06-12 Loren J. Rittle <ljrittle@acm.org>
501 * porting.texi: Add documentation about libstdc++-v3-specific
502 macros that are currently included in os_defines.h files.
504 * config/basic_file_stdio.h (sys_getc): New method.
505 (sys_ungetc): New method.
506 * include/bits/basic_file.h: (sys_getc): New method signature.
507 (sys_ungetc): New method signature.
509 * include/bits/fstream.tcc (underflow): Add conditional code
510 paths which avoid using short seeks on streams (especially
511 useful when the stream might be interactive or a pipe). At
512 the moment, this alternate path only avoids seeking when the
513 ``buffer size'' of underflow() is 1 since the C standard only
514 guarantees buffer space for one ungetc (this technique could
515 be extended since *-*-solaris* supports buffering for 4 calls
516 to ungetc and *-*-*bsd* supports buffering limited only by
517 memory resources). Also, _GLIBCPP_AVOID_FSEEK must be defined
518 in a port's os_defines.h file for this alternate path to even
519 be considered. As a bonus, the idiom of using getc/ungetc
520 requires no system calls whereas fseek maps to one or two
521 system call(s) on many platforms.
523 * config/os/bsd/freebsd/bits/os_defines.h (_GLIBCPP_AVOID_FSEEK):
525 * config/os/solaris/solaris2.5/bits/os_defines.h
526 (_GLIBCPP_AVOID_FSEEK): Likewise.
527 * config/os/solaris/solaris2.6/bits/os_defines.h
528 (_GLIBCPP_AVOID_FSEEK): Likewise.
529 * config/os/solaris/solaris2.7/bits/os_defines.h
530 (_GLIBCPP_AVOID_FSEEK): Likewise.
532 2001-06-12 Benjamin Kosnik <bkoz@redhat.com>
534 * acinclude.m4 (GLIBCPP_CHECK_COMPILER_VERSION): Change to
535 AC_TRY_COMPILE, so that the built compiler is checked, and
536 bootstraps or cross compiles with an older compile still work.
537 * aclocal.m4: Regenerate.
538 * configure: Regenerate.
540 2001-06-12 Benjamin Kosnik <bkoz@redhat.com>
543 * include/bits/std_sstream.h: Add allocator_type, as per DR 251.
546 * include/bits/istream.tcc (getline, get): Fix as per DR 243.
549 * include/bits/std_bitset.h (bitset::set): Fix as per DR 186.
552 * include/bits/limits_generic.h: Fix as per DR 184.
554 2001-06-11 Benjamin Kosnik <bkoz@redhat.com>
557 * include/bits/basic_string.h (string::compare): Adjust signatures
559 * include/bits/basic_string.tcc: And here.
562 * config/c_io_stdio.h: Remove whitespace.
563 * testsuite/27_io/istream_seeks.cc (test03): Add regression.
564 (test02): Add regression.
565 * testsuite/27_io/istream_seeks-3.tst: New file.
567 2001-06-11 Phil Edwards <pme@sources.redhat.com>
569 * README: Update to reflect reality.
570 * acinclude.m4: Update descriptions, fix typos. Comment changes only.
571 * configure.in: Make certain target_alias is set and subst'd for 2.50.
572 * aclocal.m4: Regenerate.
573 * configure: Regenerate (with 2.13).
575 2001-06-11 Benjamin Kosnik <bkoz@redhat.com>
578 * include/bits/ostream.tcc (ostream::seekp): Add error checking as
580 * include/bits/istream.tcc (istream::seekg): Same.
581 * testsuite/27_io/istream_seeks.cc: Fix.
584 * include/bits/stl_function.h (binder2nd): Fix as per DR 109.
586 * include/bits/std_queue.h: Add c++config.h.
587 * testsuite/20_util/binders.cc: New test.
589 2001-06-11 Matthias Klose <doko@debian.org>
590 Phil Edwards <pme@sources.redhat.com>
592 * docs/doxygen/run_doxygen (find_doxygen): Tweak version check.
593 (main script): Echo more information.
595 2001-06-10 Benjamin Kosnik <bkoz@redhat.com>
597 * include/c_std/bits/std_cwchar.h: Alphabetize.
598 * include/bits/char_traits.h: Tweak.
599 * acinclude.m4 (GLIBCPP_CHECK_WCHAR_T_SUPPORT): Check for
600 everything used by std_cwchar.h.
601 * aclocal.m4: Regenerate.
602 * configure.in: Regenerate.
603 * config.h.in: Regenerate.
605 2001-06-10 Benjamin Kosnik <bkoz@redhat.com>
607 * acinclude.m4 (GLIBCPP_ENABLE_C99): Add stdio.h checking.
608 Add checking for strtof, _Exit in stdlib.h
609 * aclocal.m4: Regenerate.
610 * configure.in: Regenerate.
611 * include/c_std/bits/std_cstdio.h: Alphabetize lists.
612 (snprintf): Put C99 functions into __gnu_cxx namespace.
617 * include/c_std/bits/std_cstdlib.h: Alphabetize lists. Put undefs
618 for C99 functions within _GLIBCPP_USE_C99 guard.
622 * include/bits/locale_facets.tcc: Check if C99 is enabled.
623 * include/c_std/bits/std_cwchar.h (__gnu_cxx): Put undefs within
625 * include/c_std/bits/cmath.tcc: Formatting tweak.
626 * include/c_std/bits/std_cmath.h: Same.
628 2001-06-10 Benjamin Kosnik <bkoz@redhat.com>
630 * include/c_std/bits/std_cstdio.h: Include cstddef for size_t.
632 2001-06-09 Alexandre Oliva <aoliva@redhat.com>
633 Stephen L Moshier <moshier@mediaone.net>
635 * acinclude.m4 (AC_EXEEXT): Work around in case it expands to
636 nothing, as in autoconf 2.50.
637 * configure: Rebuilt.
639 2001-06-09 Benjamin Kosnik <bkoz@redhat.com>
641 * include/c_std/bits/std_cwchar.h: Remove size_t injection,
643 * include/c_std/bits/std_ctime.h: Same.
644 * include/c_std/bits/std_cstring.h: Same.
645 * include/c_std/bits/std_cstdlib.h: Same.
647 * include/c_std/bits/std_cstdio.h: Remove vsnprintf, snprintf.
648 * include/c_std/bits/std_cctype.h: Remove isblank.
650 2001-06-09 Benjamin Kosnik <bkoz@redhat.com>
652 * acinclude.m4 (GLIBCPP_CHECK_WCHAR_T_SUPPORT): Check for fgetwc,
654 * aclocal.m4: Regenerate.
655 * configure: Regenerate.
656 * include/c_std/bits/std_cwchar.h: Remove duplicate fgetwc
657 injection, guard fgetwc, fgetws.
658 * include/c_std/bits/std_cstdio.h: Remove superfluous includes.
659 * include/c_std/bits/std_clocale.h: And here.
660 * include/c_std/bits/std_cctype.h: And here.
661 * include/c_std/bits/std_cstdlib.h (strtof): Guard strtof injection.
663 * config/basic_file_stdio.h: Don't include unistd.h.
664 * config/c_io_stdio.h: Don't use compatibility headers.
665 * libsupc++/eh_terminate.cc: Qualify abort.
666 (__terminate): And here.
667 * libsupc++/eh_catch.cc (__cxa_end_catch): Qualify abort.
669 2001-06-08 Benjamin Kosnik <bkoz@redhat.com>
671 * include/c_std/bits/std_cstdlib.h: Remove _Exit, strtof injections.
673 2001-06-08 Benjamin Kosnik <bkoz@redhat.com>
678 * include/std/*: Add copyright notice.
679 * include/c_std/bits/*: Use using statements instead of extern "C".
680 * include/c_std/bits/std_cmath.h: Don't overload double versions
681 of math functions with __buitin versions, use global version to
682 prevent ambiguities. Remove define hacks.
683 * include/c_std/bits/std_cwchar.h: Using declarations for "C"
684 functions that have changed signatures and std::
685 declarations. Remove define hacks.
686 * include/c_std/bits/std_cwchar.h: Same, plus remove ambiguous
687 __builtins in std::. Remove define hacks.
688 * testsuite/17_intro/headers_c.cc: Add tests.
689 * testsuite/17_intro/headers_c++.cc: Add test.
691 2001-06-07 Loren J. Rittle <ljrittle@acm.org>
692 John David Anglin <dave@hiauly1.hia.nrc.ca>
695 * libsupc++/eh_alloc.cc: Ensure that required macros are
696 defined before including gthr.h. Ensure that we get the
697 version of gthr.h for which we know how to provide a
699 * libsupc++/eh_globals.cc: Likewise. And, bring the threading
700 code path into line with the current EH model. Use std, where
703 2001-06-07 Loren J. Rittle <ljrittle@acm.org>
704 John David Anglin <dave@hiauly1.hia.nrc.ca>
706 * config/threads-no.h: Remove file.
707 * config/threads-posix.h: Remove file.
709 * acconfig.h (_GLIBCPP_USE_THREADS): Remove.
710 (_GLIBCPP_SUPPORTS_WEAK): Add (required by namespace-clean gthr*.h).
711 (_GLIBCPP_HAVE_GTHR_DEFAULT): Likewise.
712 * config.h.in: Regenerate.
714 * acinclude.m4 (GLIBCPP_ENABLE_THREADS): Completely rework to
715 setup and use gthr*.h files. In particular, make gthr.h files
716 namespace-clean in the staging area (they don't have to be for
718 * aclocal.m4: Regenerate.
719 * configure: Regenerate.
721 * src/Makefile.am (build_headers): Remove bits/c++threads.h
722 and add bits/gthr.h bits/gthr-single.h bits/gthr-default.h.
723 * src/Makefile.in: Regenerate.
725 * include/bits/c++config: Cleanup threading configuration macros.
726 In particular, define __STL_GTHREADS macro which controls...
727 * include/bits/stl_threads.h: ...a brand new gthr.h-based
730 * config/c_io_stdio.h: Include staged gthr.h instead of local
731 thread configuration file. Always use __gthread_mutex_t
732 instead of __mutext_type (or int).
733 * include/bits/std_fstream.h: Likewise.
735 * docs/html/17_intro/howto.html: Remove placeholder comment in
736 case this configuration patch didn't make it. Add advice that
737 section only applies if configured with --enable-threads.
738 * docs/html/23_containers/howto.html: Reword to make clear
739 that _PTHREADS is no longer required for any port to be
740 correctly using STL with threads. Add advice that section
741 only applies if configured with --enable-threads.
743 2001-06-06 Benjamin Kosnik <bkoz@redhat.com>
745 * src/string-inst.cc (_Rep::_S_max_size): Add instantiation.
747 2001-06-05 Benjamin Kosnik <bkoz@redhat.com>
750 * include/bits/basic_ios.tcc: Formatting tweaks.
751 * include/bits/ios_base.h: Formatting tweaks.
752 * src/ios.cc (ios_base::Init::_S_ios_create): Use filebufs here.
753 (ios_base::Init::_S_ios_destroy): ..and here. Explicitly call dtors.
754 * src/globals.cc: Allocate filebufs for standard streams here.
755 (buf_cout, buf_cin, buf_cerr): Like so.
756 (buf_wcout, buf_wcin, buf_wcerr): And so.
757 * testsuite/27_io/ios_init.cc: Add.
759 2001-06-04 Brendan Kehoe <brendan@zen.org>
760 Benjamin Kosnik <bkoz@redhat.com>
763 * include/bits/locale_facets.h (ctype<_CharT>): Add definitions
764 for generic ctype virtuals.
765 * src/locale.cc: Minor tweaks, naming consistency.
766 * testsuite/22_locale/ctype.cc: Add test.
768 2001-06-04 Kenny Simpson <theonetruekenny@yahoo.com>
769 Phil Edwards <pme@sources.redhat.com>
771 PR libstdc++/3035 and PR libstdc++/3036
772 * include/bits/stl_pair.h: Fix pair ctor and make_pair according
773 to LWG DR 181 and 265.
775 2001-06-04 Phil Edwards <pme@sources.redhat.com>
778 * include/bits/stl_multiset.h (find, lower_bound, upper_bound,
779 equal_range): Add const overloads as per LWG DR 214.
780 * include/bits/stl_set.h: Likewise.
782 2001-06-04 Brendan Kehoe <brendan@zen.org>
783 Phil Edwards <pme@sources.redhat.com>
786 * include/bits/std_bitset.h (bitset::test): Fix __pos >= _Nb
787 comparison; all positions must be < _Nb.
788 * testsuite/23_containers/bitset_members.cc: New file.
790 2001-06-04 Brendan Kehoe <brendan@zen.org>
793 * include/bits/stl_queue.h (classes queue, priority_queue): Fix
794 ctors to match the standard.
796 2001-06-04 Jeffrey Oldham <oldham@codesourcery.com>
798 * include/bits/char_traits.h (move): Reverse qualification of
800 (copy): Reverse qualification of memcpy with std::.
802 2001-06-04 Jeffrey Oldham <oldham@codesourcery.com>
804 * include/bits/char_traits.h (move): Qualify memmove with std::.
805 (copy): Qualify memcpy with std::.
806 * testsuite/27_io/filebuf_virtuals.cc (test01): Qualify strlen and
809 * testsuite/27_io/stringbuf_virtuals.cc (test01): Likewise.
811 2001-06-04 Hans-Peter Nilsson <hp@axis.com>
813 * libsupc++/Makefile.am (install-glibcppinstallHEADERS,
814 uninstall-glibcppinstallHEADERS): Have explicit rules catering to
815 SUN make VPATH peculiarities.
816 * libsupc++/Makefile.in: Regenerate.
818 2001-06-01 Hans-Peter Nilsson <hp@axis.com>
820 * src/Makefile.am (VPATH): Delimit with ":", not space.
821 * src/Makefile.in: Regenerate.
823 * configure.in (use of GLIBCPP_CHECK_GNU_MAKE): Don't fail if GNU
825 * configure: Regenerate.
827 2001-05-31 scott snyder <snyder@fnal.gov>
830 * include/bits/istream.tcc: Include std_ostream.h.
832 2001-05-31 Benjamin Kosnik <bkoz@redhat.com>
835 * src/bitset.cc: Qualify size_t with std::.
837 2001-05-30 Benjamin Kosnik <bkoz@redhat.com>
839 * acconfig.h (_GLIBCPP_BUGGY_FLOAT_COMPLEX): Remove.
840 (_GLIBCPP_BUGGY_COMPLEX): Remove.
841 * config.h.in: Regenerate.
842 * acinclude.m4 (GLIBCPP_CHECK_COMPLEX_MATH_COMPILER_SUPPORT): Remove.
843 * aclocal.m4: Regenerate.
844 * configure.in: Don't call it.
845 * configure: Regenerate.
848 * src/complex_io.cc (operator<<(ostream&, const complex&): Fix.
849 * testsuite/26_numerics/complex_inserters_extractors.cc (test01):
853 * include/bits/std_complex.h: Include sstream. Put definitions for
854 complex inserters and extractors here, and remove them from...
855 * src/complex_io.cc: ...here.
856 * include/bits/basic_ios.h (basic_ios::__numput_type): Add _Traits
858 (basic_ios::__numget_type): Same.
859 * include/bits/std_istream.h: Same.
860 * include/bits/std_ostream.h: Same.
861 * include/bits/sbuf_iter.h (ostreambuf_iterator): Fix typo in base
862 class iterator template arguments.
863 * src/locale-inst.cc: Add explicit has_facet instantiations.
864 * include/bits/basic_ios.h (basic_ios::_M_get_fctype_ios): Remove.
865 (_M_get_fnumput): Remove.
866 (_M_get_fnumget): Remove.
867 (basic_ios::_M_check_facet): New function.
868 (basic_ios::_M_cache_facets): New function.
869 * include/bits/basic_ios.tcc: Definition for _M_cache_facets.
870 (basic_ios::imbue): Call _M_cache_facets.
871 (basic_ios::init): Same.
872 * include/bits/istream.tcc: Format, use _M_check_facet.
873 * include/bits/ostream.tcc: Same.
874 * include/bits/locale_facets.tcc (__output_float): Change
875 signature, add _Traits.
876 * testsuite/26_numerics/complex_inserters_extractors.cc (test02):
879 2001-05-30 Loren J. Rittle <ljrittle@acm.org>
881 * include/bits/c++config (__USE_MALLOC): Do not define it.
882 Document why not and give pointers to more information.
884 * docs/html/23_containers/howto.html: Update documentation
885 to reflect recent understanding of problem.
886 * docs/html/17_intro/howto.html: Likewise.
888 2001-05-30 Phil Edwards <pme@sources.redhat.com>
890 * docs/doxygen/user.cfg.in: Minor addition.
891 * docs/html/documentation.html: Reorganize. Put most-looked-at
893 * docs/html/install.html: Update for 3.0. HTML fixups.
894 * docs/html/17_intro/howto.html: Likewise.
895 * docs/html/18_support/howto.html: Likewise.
896 * docs/html/19_diagnostics/howto.html: Likewise.
897 * docs/html/20_util/howto.html: Likewise.
898 * docs/html/23_containers/howto.html: Likewise.
899 * docs/html/24_iterators/howto.html: Likewise. More notes.
900 * docs/html/25_algorithms/howto.html: Likewise.
901 * docs/html/26_numerics/howto.html: Likewise. More notes.
902 * docs/html/27_io/howto.html: Likewise.
903 * docs/html/ext/howto.html: Likewise.
904 * docs/html/faq/index.html: Likewise.
905 * docs/html/faq/index.txt: Regenerate.
906 * docs/html/27_io/iostreams_hierarchy.pdf: Remove in favor of
907 Doxygen-created documentation.
909 2001-05-30 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
911 * testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3-init): Use
912 get_multilibs to find gcc.
914 2001-05-30 Phil Edwards <pme@sources.redhat.com>
916 * acinclude.m4 (GLIBCPP_ENABLE_C99): Reorder output messages.
917 * aclocal.m4: Regenerate.
918 * configure: Regenerate.
920 2001-05-29 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
922 * include/c_std/bits/std_cstdlib.h:: Move C99 thingies to __gnu_cxx::.
923 * include/c_std/bits/std_cwchar.h (__gnu_cxx): Likewise.
925 2001-05-27 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
927 * include/c_std/bits/std_cmath.h: Move C99 functions in __gnu_cxx::.
928 * include/c_std/bits/std_cstdlib.h: Same.
929 * include/c_std/bits/std_cwchar.h: Same.
931 2001-05-30 Loren J. Rittle <ljrittle@acm.org>
933 * docs/html/17_intro/howto.html: Update link.
934 * docs/html/23_containers/howto.html: Likewise. Add new link.
936 2001-05-26 Gabriel Dos Reis <gdr@codesourcery.com>
938 * include/c_std/bits/std_cmath.h (sqrt): #undef.
940 2001-05-23 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
942 * mknumeric_limits: Stop if gen-num-limits dies.
944 2001-05-25 Benjamin Kosnik <bkoz@redhat.com>
947 * acinclude.m4 (GLIBCPP_ENABLE_C99): Use AC_TRY_COMPILE.
948 * aclocal.m4: Regenerate.
951 2001-05-24 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
952 Phil Edwards <pme@sources.redhat.com>
953 Alexandre Oliva <aoliva@redhat.com>
955 * acinclude.m4 (GLIBCPP_EXPORT_INSTALL_INFO): Set glibcpp_srcdir
956 in an amd-safe manner. Revert glibcpp_prefixdir.
958 2001-05-25 Gabriel Dos Reis <gdr@codesourcery.com>
960 * include/c_std/bits/std_cmath.h: Tweak. #define away abs, cos,
961 fabs, sin, sqrt. They are now implemented in terms of __builtin_
964 2001-05-24 Benjamin Kosnik <bkoz@redhat.com>
967 * testsuite/21_strings/inserters_extractors.cc (test09): New test.
968 * include/bits/ostream.tcc: Format to match istream.tcc.
969 (operator<<(basic_ostream __out, const basic_string __s)): Fix.
971 2001-05-24 Phil Edwards <pme@sources.redhat.com>
973 * libsupc++/eh_alloc.cc (__cxa_allocate_exception): Qualify
975 (__cxa_free_exception): Likewise with free.
977 2001-05-24 Mark Mitchell <mark@codesourcery.com>
979 * include/c_std/bin/std_cstring.h: #define away all global
980 functions we will redeclare in namespace `std'.
981 * libsupc++/eh_alloc.cc (__cxa_allocate_exception): Use
982 std::memset, instead of memset.
983 * testsuite/19_diagnostics/stdexceptions.cc: Use `std::strcmp',
985 * testsuite/21_strings/c_strings.cc: Use `std::strcpy' instead of
988 2001-05-24 Benjamin Kosnik <bkoz@redhat.com>
991 * include/bits/basic_ios.tcc: Small tweak.
992 * include/bits/std_fstream.h (ifstream): Add buffer member. Adjust
993 ctors and dtors, and rdbuf settings.
996 * include/bits/std_sstream.h: Same, but for stringstream classes.
997 * testsuite/27_io/ostringstream_members.cc: New.
998 * testsuite/27_io/stringstream_members.cc: New.
999 * testsuite/27_io/fstream_members.cc: New.
1000 * testsuite/27_io/ifstream_members.cc: Add test.
1001 * testsuite/27_io/istringstream_members.cc: Add test.
1002 * testsuite/27_io/ofstream_members.cc: Add test.
1004 2001-05-24 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
1006 * include/bits/c++config(__NO_MATH_INLINES): Move to...
1007 * config/os/gnu-linux/bits/os_defines.h: ...here.
1009 2001-05-24 Gabriel Dos Reis <gdr@codesourcery.com>
1011 * include/bits/c++config (__NO_MATH_INLINES): New macro.
1012 * testsuite/26_numerics/fabs_inline.cc (main): New test.
1014 2001-05-22 Benjamin Kosnik <bkoz@redhat.com>
1017 * testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3-init): Set
1019 (libstdc++-v3_set_ld_library_path): New, copied from g++.exp.
1020 (libstdc++-v3-finish): Remove.
1021 (libstdc++-v3_exit): Remove.
1023 2001-05-22 Phil Edwards <pme@sources.redhat.com>
1025 * docs/html/documentation.html: Point to doxygen output.
1027 2001-05-21 Benjamin Kosnik <bkoz@redhat.com>
1029 * mkcheck.in (static_fail): Remove S_FLAG decoration on output.
1031 * include/bits/std_sstream.h (stringbuf::setbuf): Require both
1032 arguments to be non-null.
1033 * include/bits/fstream.tcc (filebuf::_M_allocate_buffers): Only
1034 try allocations if allocated size is greater than zero.
1035 (filebuf::_M_filebuf_init): Change to
1036 (filebuf::_M_allocate_file): Which is what it does now.
1037 (filebuf::_M_allocate_bufers): Change to
1038 (filebuf::_M_allocate_internal_buffer): This, and create
1039 (filebuf::_M_allocate_pback_buffer): New.
1040 (filebuf::_M_destroy_internal_buffer): New.
1041 (filebuf::_M_buf_allocated): New data member.
1042 (filebuf::setbuf): Use new logic, allow use of external buffer.
1043 * testsuite/27_io/stringbuf_virtuals.cc: New file.
1044 * testsuite/27_io/filebuf_virtuals.cc: New file.
1046 2001-05-21 Stephen M. Webb <stephen@bregmasoft.com>
1048 * include/c_std/bits/std_cstring.h (memchr): Define "C" functions to
1050 (strchr): Same, but to __glibcpp_strchr.
1054 * include/c_std/bits/std_cwchar.h (wcschr): Same.
1060 2001-05-21 Benjamin Kosnik <bkoz@redhat.com>
1062 * testsuite/21_strings/c_strings.cc (main): Fix.
1064 2001-05-19 Phil Edwards <pme@sources.redhat.com>
1066 * acinclude.m4: Fix --help spacing, correct comments.
1067 * aclocal.m4: Regenerate.
1068 * configure: Regenerate.
1069 * mkcheck.in: Add usage comments.
1070 * docs/html/documentation.html: Point to doxygen'd tarball.
1072 2001-05-18 Benjamin Kosnik <bkoz@redhat.com>
1074 * testsuite/README: Add notes.
1076 * src/Makefile.am (libstdc++.INC): Remove.
1077 * src/Makefile.in: Regenerate.
1079 Phil Edwards <pedwards@disaster.jaj.com>
1080 * mkcheck.in: Add missing '#'.
1082 2001-05-18 Angela Marie Thomas <angela@cygnus.com>
1084 * testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3-init): Set flags
1085 appropriately for remote testing and testing installed files without
1088 2001-05-18 Benjamin Kosnik <bkoz@redhat.com>
1090 * acinclude.m4 (GLIBCPP_EXPORT_INSTALL_INFO): Set glibcpp_srcdir
1091 amd glibcpp_prefixdir with absolute paths.
1093 * include/bits/c++config (__GLIBCPP__): Bump.
1094 * acinclude.m4 (GLIBCPP_CONFIGURE): Correct version number.
1096 2001-05-18 Gabriel Dos Reis <gdr@codesourcery.com>
1098 * include/bits/std_valarray.h (valarray<>::operator[] const):
1099 Return a const reference.
1100 * testsuite/26_numerics/valarray_const_bracket.cc: New test.
1102 2001-05-18 Alexandre Oliva <aoliva@redhat.com>
1104 * configure.target (ATOMICITYH): Actually use AIX-specific code on
1105 earlier versions of AIX 4.*.
1107 2001-05-18 Angela Marie Thomas <angela@cygnus.com>
1109 * testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3-dg-test): Set
1110 output_file based on the name of the testcase.
1112 2001-05-18 Angela Marie Thomas <angela@cygnus.com>
1114 * testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3-init): Build
1115 gluefile and use it if needs_status_wrapper is set.
1117 2001-05-18 Alexandre Oliva <aoliva@redhat.com>
1119 * configure.target (ATOMICITYH): Use cpu/generic code on earlier
1122 2001-05-17 Alexandre Oliva <aoliva@redhat.com>
1124 * configure.target (ATOMICITYH): Don't use AIX 4.3-specific code
1125 on earlier versions of AIX.
1127 2001-05-15 Benjamin Kosnik <bkoz@redhat.com>
1129 * testsuite_flags.in (query): Add backwards, ext directories.
1131 2001-05-15 Mark Mitchell <mark@codesourcery.com>
1133 * porting.texi: Correct documentation about handling
1134 _LARRGEFILE_SOURCE and its ilk.
1135 * config/os/solaris/solaris2.5/bits/os_defines.h: Remove
1136 definitions of _XOPEN_SOURCE, _LARGEFILE64_SOURCE, and
1138 * config/os/solaris/solaris2.6/bits/os_defines.h: Likewise.
1139 * config/os/solaris/solaris2.7/bits/os_defines.h: Likewise.
1141 2001-05-15 Zack Weinberg <zackw@stanford.edu>
1143 * testsuite/21_strings/inserters_extractors.cc,
1144 testsuite/27_io/istream_unformatted.cc,
1145 testsuite/27_io/stringstream.cc:
1146 Replace multi-line string constants with C89-style
1147 concatenated string constants.
1149 2001-05-14 Richard Henderson <rth@redhat.com>
1151 * mknumeric_limits: Build with -fno-exceptions.
1153 2001-05-13 Benjamin Kosnik <bkoz@redhat.com>
1155 Switch over to new harness.
1156 * testsuite_flags.in: Tweaks via Gaby.
1157 * testsuite/Makefile.am: Change tool to libstdc++-v3.
1158 (EXPECT): Quote directly.
1160 * configure.in: Output testsuite_flags.
1161 * acinclude.m4: Substitute src, bld, and prefix dirs.
1162 Remove glibcpp_expect, glibcpp_runtestflags.
1163 * Makefile.am (RUNTESTFLAGS): Pass this down to subdirs.
1164 * mkcheck.in: Port to new interface.
1166 * aclocal.m4: Regerate.
1167 * configure: Regnerate.
1168 * Makefile.in: Regnerate.
1169 * */Makefile.in: Regenerate.
1171 * tests_flags.in: Remove.
1172 * testsuite/lib/libstdc++.exp: Remove.
1173 * testsuite/libstdc++.tests/tests.exp: Remove.
1175 2001-05-13 Alexandre Oliva <aoliva@redhat.com>
1177 * configure.target: Remove detection of AIX pthread multilib, now
1178 obtained from `gcc -v'.
1180 2001-05-13 John David Anglin <dave@hiauly1.hia.nrc.ca>
1182 * mkcheck.in (setup_size_command): Use Berkeley "-B" mode with GNU
1183 size. Add hpux case for HP size.
1185 2001-05-11 Benjamin Kosnik <bkoz@redhat.com>
1187 * testsuite_flags.in: New, simplified interface.
1188 * testsuite/lib/libstdc++-v3-dg.exp: New test harness.
1189 * testsuite/libstdc++-v3.dg: Add.
1190 * testsuite/libstdc++-v3.dg/dg.exp: Add.
1192 2001-05-11 Benjamin Kosnik <bkoz@redhat.com>
1194 * testsuite/*/*.cc: Remove spaces, make sure testcases return zero.
1195 * testsuite/config/default.exp: Update bugs email address.
1197 2001-05-11 Richard Henderson <rth@redhat.com>
1199 * libsupc++/eh_personality.cc: Include unwind-pe.h. Remove
1200 all pointer encoding logic.
1201 (struct lsda_header_info): Add ttype_base.
1202 (get_ttype_entry): Use it instead of a context.
1203 (check_exception_spec): Likewise.
1204 (PERSONALITY_FUNCTION): Initialize ttype_base. Store it in
1205 the c++ exception header for __cxa_call_unexpected.
1206 (__cxa_call_unexpected): Use it.
1208 2001-05-09 Benjamin Kosnik <bkoz@redhat.com>
1210 * testsuite/lib/libstdc++.exp: Use libgloss.exp. Call
1211 libgloss_link_flags to find crt0.o for targets that use libgloss
1213 Change LDFLAGS to LIBS.
1214 Consistently name procedures libstdc++-XXX.
1215 * testsuite/libstdc++.tests/tests.exp: Use new procedure names.
1217 2001-05-08 Benjamin Kosnik <bkoz@fillmore.constant.com>
1219 * include/c_std/bits/std_cstring.h (memchr): Correct definitions.
1224 * include/c_std/bits/std_cwchar.h (wcschr): Same.
1229 * testsuite/21_strings/c_strings.cc: Add tests.
1231 2001-05-07 Benjamin Kosnik <bkoz@redhat.com>
1234 * include/bits/std_fstream.h (basic_filebuf): Change signature.
1235 * include/bits/fstream.tcc (basic_filebuf): Change bool argument
1236 to int_type, pass in buffer size info.
1237 * include/bits/std_streambuf.h (_M_is_indeterminate): Check for
1238 unbuffered situation.
1239 (underflow): Remove codecvt bits for the time being.
1240 * include/bits/istream.tcc (istream::sentry): Avoid sputbackc call.
1241 * include/bits/locale_facets.tcc (_M_extract): Cache dereference
1242 values from iterators, clean.
1243 * src/locale.cc: Ditto.
1244 * include/bits/sbuf_iter.h: Format.
1245 * src/ios.cc: Explicitly pass in buffer sizes at creation time.
1246 * testsuite/27_io/narrow_stream_objects.cc: Add tests.
1247 * testsuite/27_io/filebuf.cc: Tweaks.
1248 * testsuite/27_io/filebuf_members.cc: Tweaks.
1250 2001-05-07 Mark Mitchell <mark@codesourcery.com>
1252 * config/os/solaris/solaris2.7/bits/os_defines.h
1253 (_LARGEFILE_SOURCE): Define it.
1255 2001-05-03 Alexandre Oliva <aoliva@redhat.com>
1257 * configure.in (LIBSUPCXX_PICFLAGS): Set it to -prefer-pic or
1258 -prefer-non-pic depending on whether libtool has shared libraries
1259 enabled or disabled.
1260 * libsupc++/Makefile.am (LIBSUPCXX_CXXFLAGS): Set to
1261 $(LIBSUPCXX_PICFLAGS).
1262 * configure, */Makefile.in: Rebuilt.
1264 2001-05-01 Benjamin Kosnik <bkoz@redhat.com>
1266 * include/bits/sbuf_iter.h (istreambuf_iterator): Correct.
1267 * testsuite/24_iterators/istreambuf_iterator.cc (test02): Add test.
1269 * include/bits/std_sstream.h (stringbuf): Leak
1271 * testsuite/24_iterators/ostreambuf_iterator.cc: Correct.
1273 2001-05-01 Tom Browder <tbrowder@home.com>
1275 * docs/html/ext/howto.html: Fix typo.
1277 2001-05-01 Gabriel Dos Reis <gdr@codesourcery.com>
1279 * testsuite/libstdc++.tests/tests.exp: Add comment.
1281 2001-05-01 Gabriel Dos Reis <gdr@codesourcery.com>
1283 * testsuite/libstdc++.tests/tests.exp: Set ulimits.
1285 2001-04-30 Mark Mitchell <mark@codesourcery.com>
1287 * porting.texi: Use the GFDL.
1289 2001-04-30 Benjamin Kosnik <bkoz@redhat.com>
1292 * testsuite/24_iterators/ostreambuf_iterator.cc: New file.
1293 * include/bits/sbuf_iter.h (ostreambuf_iterator): Remove bogus
1296 2001-04-30 Benjamin Kosnik <bkoz@redhat.com>
1299 * include/bits/stl_iterator_base_funcs.h (__advance): Fix.
1301 2001-04-28 Phil Edwards <pme@sources.redhat.com>
1303 * docs/doxygen/run_doxygen: Minor tweaks.
1304 * docs/doxygen/style.css: New file.
1305 * docs/doxygen/user.cfg.in: Update using "doxygen -u" to get the
1306 latest parameters available. Use style.css.
1308 2001-04-27 Benjamin Kosnik <bkoz@redhat.com>
1310 * docs/doxygen/mainpage.doxy: New.
1311 * docs/doxygen/user.cfg.in: Change default configuration. Single
1312 frame, other tweaks.
1314 2001-04-26 Mark Mitchell <mark@codesourcery.com>
1316 * docs/html/17_intro/BADNAMES: Remove EGCS reference.
1317 Indicate obsolete nature of thelist for G++ 3.0.
1319 2001-04-26 Alexandre Oliva <aoliva@redhat.com>
1321 * acinclude.m4 (GLIBCPP_ENABLE_THREADS): Obtain
1322 target_thread_file with `gcc -v'.
1323 * aclocal.m4, configure: Rebuilt.
1325 2001-04-25 Benjamin Kosnik <bkoz@redhat.com>
1327 * include/c_std/bits/std_cmath.h (std): Explicitly inject c99 names.
1328 * include/c_std/bits/std_cstdlib.h (std): Same, except for llabs.
1329 * include/c_std/bits/std_cwchar.h (std): Same.
1330 * acconfig.h (std): Remove c99 injection into std.
1331 * config.h.in: Regenerate.
1333 * testsuite/README: Fix typo.
1335 * include/bits/codecvt.h: Remove warnings.
1337 2001-04-24 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
1339 * include/ext/slist: Include required header files.
1341 2001-04-23 Loren J. Rittle <ljrittle@acm.org>
1343 * include/c_std/bits/std_cerrno.h (errno): Define macro from
1344 identifier declared with external linkage, if needed.
1345 * include/c_std/bits/std_csetjmp.h (setjmp): Likewise.
1346 * include/c_std/bits/std_cstdarg.h (va_end): Likewise.
1348 2001-04-23 Benjamin Kosnik <bkoz@fillmore.constant.com>
1350 * acinclude.m4 (CXX): Set to glibcpp_CXX so that in-directory
1351 re-configures find the build compiler.
1352 (GLIBCPP_ENABLE_C99): Do all fp-tests with 0.0, not 0. Fixes
1354 * aclocal.m4: Regenerate.
1355 * configure: Regenerate.
1357 2001-04-20 Benjamin Kosnik <bkoz@redhat.com>
1359 * acinclude.m4 (GLIBCPP_ENABLE_LONG_LONG): Make sure required C99
1360 support is enabled correctly before long long is activated.
1361 * aclocal.m4: Regenerate.
1362 * configure: Regenerate.
1364 * include/backward/backward_warning.h: Format correctly.
1366 * testsuite/26_numerics/c99_classification_macros_c.cc: Add.
1367 * testsuite/26_numerics/c99_classification_macros_c++.cc: Add.
1368 * testsuite/26_numerics/c99_macros.cc: Remove.
1370 2001-04-20 Phil Edwards <pme@sources.redhat.com>
1372 * include/bits/stl_bvector.h: Replace __ITERATOR_CATEGORY with
1373 __iterator_category.
1375 2001-04-19 Benjamin Kosnik <bkoz@redhat.com>
1377 * acconfig.h (_GLIBCPP_USE_C99): Add.
1378 * config.h.in: Regenerate.
1379 * acinclude.m4 (GLIBCPP_ENABLE_C99): New macro. Test for ISO/IEC
1381 * aclocal.m4: Regenerate.
1382 * configure.in (GLIBCPP_ENABLE_C99): Use it, on by default.
1383 * configure: Regenerate.
1384 * configure.in (GLIBCPP_ENABLE_LONG_LONG): Set default to yes.
1385 * configure: Regenerate.
1386 * include/c_std/bits/std_cwchar.h: Put wcstold, wcstoll, wcstoull
1388 * include/c_std/bits/std_cmath.h: Bring C99 functions into c99
1390 * include/c_std/bits/std_cstdlib.h: Same.
1391 * docs/html/configopts.html: Update.
1392 * testsuite/26_numerics/c99_macros.cc: Edit, use cmath instead of
1394 (test_c99_classify): Add.
1395 * config/os/gnu-linux/bits/os_defines.h (_GNU_SOURCE): Remove.
1396 (_ISOC99_SOURCE): Remove.
1398 * include/bits/stl_algo.h: Use _GLIBCPP_HAVE_DRAND48.
1399 * include/bits/c++config (__STL_ASSERTIONS): Simplify.
1400 * acinclude.m4 (GLIBCPP_CHECK_STDLIB_SUPPORT): Add check for drand48.
1401 * aclocal.m4: Regenerate.
1402 * configure: Regenerate.
1404 2001-04-19 Phil Edwards <pme@sources.redhat.com>
1406 * Makefile.am (doxygen): Assume script is missing execute perms.
1407 * Makefile.in: Regenerated.
1408 * docs/doxygen/user.cfg.in: Add class diagrams and source browsing.
1410 2001-04-17 Loren J. Rittle <ljrittle@acm.org>
1412 * testsuite/27_io/istream_seeks.cc: Inform DejaGnu of required files.
1414 2001-04-17 Benjamin Kosnik <bkoz@redhat.com>
1416 * testsuite/23_containers/map_operators.cc: Add dg-excess-errors.
1417 * testsuite/23_containers/set_operators.cc: Same.
1419 * include/bits/c++config: Add _GLIBCPP_CONCEPT_CHECKS. Disable by
1421 (__GLIBCPP__): Bump from value of last release.
1422 * include/bits/concept_check.h: Default to off, edit comments.
1423 * src/stl-inst.cc: Use _GLIBCPP_CONCEPT_CHECKS.
1424 * src/Makefile.am (AM_CXXFLAGS): Remove _GLIBCPP_NO_CONCEPT_CHECKS.
1425 * src/Makefile.in: Regenerate.
1427 2001-04-14 Martin Reinecke <martin@MPA-Garching.MPG.DE>
1429 * include/bits/boost_concept_check.h(_Mutable_ContainerConcept):
1430 Properly uglify member.
1432 2001-04-13 Phil Edwards <pme@sources.redhat.com>
1434 * include/bits/stl_algobase.h (equal): Use EqualOpConcept instead
1438 2001-04-13 Phil Edwards <pme@sources.redhat.com>
1440 * include/bits/boost_concept_check.h: Uglify, fork from Boost.
1441 * include/bits/concept_check.h: Uglify.
1442 * include/bits/stl_algo.h: Likewise.
1443 * include/bits/stl_algobase.h: Likewise.
1444 * include/bits/stl_deque.h: Likewise.
1445 * include/bits/stl_heap.h: Likewise.
1446 * include/bits/stl_iterator_base_funcs.h: Likewise.
1447 * include/bits/stl_list.h: Likewise.
1448 * include/bits/stl_map.h: Likewise.
1449 * include/bits/stl_multimap.h: Likewise.
1450 * include/bits/stl_multiset.h: Likewise.
1451 * include/bits/stl_numeric.h: Likewise.
1452 * include/bits/stl_queue.h: Likewise.
1453 * include/bits/stl_set.h: Likewise.
1454 * include/bits/stl_stack.h: Likewise.
1455 * include/bits/stl_vector.h: Likewise.
1456 * include/ext/hash_map: Likewise.
1457 * include/ext/hash_set: Likewise.
1458 * include/ext/slist: Likewise.
1460 2001-04-13 Gabriel Dos Reis <gdr@codesourcery.com>
1462 * testsuite/23_containers/set_operators.cc: Just try to compile.
1464 * testsuite/23_containers/map_operators.cc: Same.
1466 2001-04-12 Jason Merrill <jason_merrill@redhat.com>
1468 * testsuite/lib/libstdc++.exp (libstdc++-dg-test): Prepend "./" to
1470 (dg-test): Revert rth's change.
1472 2001-04-12 Nathan Sidwell <nathan@codesourcery.com>
1474 * libsupc++/eh_alloc.cc (__cxa_allocate_exception): Don't
1475 terminate holding the mutex. Make sure size fits in EMERGENCY_OBJ_SIZE.
1477 2001-04-12 Gabriel Dos Reis <gdr@codesourcery.com>
1479 * testsuite/README: Add DejaGnu specific documentation.
1481 2001-04-11 Benjamin Kosnik <bkoz@redhat.com>
1483 * acinclude.m4: AC_CHECK_TOOL for expect.
1484 * aclocal.m4: Regenerate.
1485 * configure: Regenerate.
1486 * testsuite/Makefile.am (RUNTEST): Use substituted.
1489 * configure.in: Remove xcompiling substitution.
1490 * tests_flags.in (CROSS_LIB_PATH): Remove.
1491 (xcompiling): Remove.
1492 (CXX): Use substituted CXX.
1494 2001-04-11 Richard Henderson <rth@redhat.com>
1496 * testsuite/lib/libstdc++.exp: Specify path for output_file.
1498 2001-04-08 Gabriel Dos Reis <gdr@codesourcery.com>
1500 * include/bits/std_valarray.h(valarray<>::operator[]): Make
1503 2001-04-06 Gabriel Dos Reis <gdr@codesourcery.com>
1505 * testsuite/25_algorithms/equal.cc: New test.
1507 2001-04-06 Joe Buck <jbuck@welsh-buck.org>
1509 * stl_algobase.h (std::equal): avoid use of possibly-undefined
1510 operator != (one line patch).
1512 2001-04-06 Benjamin Kosnik <bkoz@redhat.com>
1514 * include/backward/backward_warning.h: Re-enable.
1516 2001-04-06 Benjamin Kosnik <bkoz@redhat.com>
1517 Alexandre Oliva <aoliva@redhat.com>
1519 * tests_flags.in (CROSS_LIB_PATH): Add as -B flag.
1521 2001-04-06 Gabriel Dos Reis <gdr@codesourcery.com>
1523 * include/c_std/bits/std_cmath.h: Get rid of C99 math macros.
1524 * testsuite/26_numerics/c99_macros.cc: Add test.
1526 2001-04-06 Phil Edwards <pme@sources.redhat.com>
1528 * docs/html/faq/index.html: Update for 2.92, grab from RELEASE-NOTES.
1529 * docs/html/faq/index.txt: Regenerated.
1531 2001-04-06 Benjamin Kosnik <bkoz@redhat.com>
1533 * include/backward/backward_warning.h: Temporarily disable until
1534 g++ testsuite changes go in.
1535 * tests_flags.in (CROSS_LIB_PATH): Add.
1537 2001-04-05 Benjamin Kosnik <bkoz@redhat.com>
1539 Warn when using backward headers.
1540 * include/backward/algo.h: Include warning file.
1541 * include/backward/vector.h: Same.
1542 * include/backward/tree.h: Same.
1543 * include/backward/tempbuf.h: Same.
1544 * include/backward/strstream: Same.
1545 * include/backward/streambuf.h: Same.
1546 * include/backward/stream.h: Same.
1547 * include/backward/stack.h: Same.
1548 * include/backward/slist.h: Same.
1549 * include/backward/set.h: Same.
1550 * include/backward/rope.h:
1551 * include/backward/queue.h: Same.
1552 * include/backward/pair.h: Same.
1553 * include/backward/ostream.h: Same.
1554 * include/backward/new.h: Same.
1555 * include/backward/multiset.h: Same.
1556 * include/backward/multimap.h: Same.
1557 * include/backward/map.h: Same.
1558 * include/backward/list.h: Same.
1559 * include/backward/iterator.h: Same.
1560 * include/backward/istream.h: Same.
1561 * include/backward/iostream.h:
1562 * include/backward/iomanip.h:
1563 * include/backward/heap.h: Same.
1564 * include/backward/hashtable.h:
1565 * include/backward/hash_set.h:
1566 * include/backward/hash_map.h:
1567 * include/backward/function.h:
1568 * include/backward/fstream.h:
1569 * include/backward/deque.h:
1570 * include/backward/defalloc.h: Same.
1571 * include/backward/complex.h: Same.
1572 * include/backward/bvector.h:
1573 * include/backward/alloc.h:
1574 * include/backward/algobase.h: Same.
1576 * include/backward/backward_warning.h: New file.
1577 * src/Makefile.am (backward_headers): Add backward_warning.h
1578 * src/Makefile.in: Regenerate.
1580 2001-04-05 Benjamin Kosnik <bkoz@redhat.com>
1582 * src/Makefile.am (myinstalldirs): Make sure backward directory is
1584 (myinstallheaders): Install backward headers in backward directory.
1585 * src/Makefile.in: Regenerate.
1587 2001-04-05 Benjamin Kosnik <bkoz@redhat.com>
1589 Prepare for libstdc++-2.92.
1590 * docs/html/17_intro/RELEASE-NOTES (New): Update.
1591 * docs/html/configopts.html: Fix formatting.
1592 * README (file): Updates.
1593 * include/bits/c++config (__GLIBCPP__): Update.
1595 2001-04-05 Phil Edwards <pme@sources.redhat.com>
1597 * docs/doxygen/run_doxygen: Check for the existence of Doxygen.
1599 2001-04-04 Phil Edwards <pme@sources.redhat.com>
1601 * docs/doxygen/user.cfg.in: Extract all non-private members;
1602 reduce confusing documentation output.
1604 2001-04-04 Geoffrey Keating <geoffk@redhat.com>
1606 * include/backward/fstream.h: Add missing semicolons.
1608 2001-04-03 Benjamin Kosnik <bkoz@redhat.com>
1610 * include/bits/fstream.tcc: Add bool parameter to filebuf ctor.
1611 * include/bits/ios_base.h(ios_base::Init): Remove _M_cout, _M_cin,
1612 _M_cerr, _M_wcout, _M_wcin, _M_wcerr.
1613 (ios_base::Init::_S_ios_create): New.
1614 (ios_base::Init::_S_ios_destroy): New.
1615 * include/bits/std_fstream.h: Change ctor args.
1616 * src/ios.cc (ios_base::Init::Init): Use _S_ios_create.
1617 (ios_base::Init::~Init): Use _S_ios_destroy.
1618 (ios_base::sync_with_stdio): Use new members.
1619 * testsuite/27_io/filebuf_members.cc: Fix calling conventions for
1622 2001-04-03 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
1624 * include/backward/fstream.h: Expose streampos to global
1627 2001-04-03 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
1629 * include/bits/stl_iterator_base_types.h: Fix typo
1631 2001-04-03 Andreas Schwab <schwab@suse.de>
1633 * include/backward/fstream.h: Define filebuf and wfilebuf.
1635 2001-04-02 Phil Edwards <pme@sources.redhat.com>
1637 New concept checking implementation.
1638 * docs/html/19_diagnostics/howto.html: Document.
1639 * docs/html/17_intro/concept_check.diff: New file, for reference.
1640 * include/bits/boost_concept_check.h: New file from Boost.
1641 * include/bits/c++config: Update comments.
1643 * include/bits/concept_check.h: New file.
1644 * include/bits/concept_checks.h: Removed.
1645 * include/bits/container_concepts.h: Removed.
1646 * include/bits/sequence_concepts.h: Removed.
1647 * include/bits/stl_iterator_base.h: Removed; split into...
1648 * include/bits/stl_iterator_base_funcs.h: ...this new file...
1649 * include/bits/stl_iterator_base_types.h: ...and this new file.
1651 * include/bits/sbuf_iter.h: Update to use new implementation.
1652 * include/bits/std_iterator.h: Likewise.
1653 * include/bits/std_memory.h: Likewise.
1654 * include/bits/stl_algo.h: Likewise.
1655 * include/bits/stl_algobase.h: Likewise.
1656 * include/bits/stl_construct.h: Likewise.
1657 * include/bits/stl_deque.h: Likewise.
1658 * include/bits/stl_heap.h: Likewise.
1659 * include/bits/stl_list.h: Likewise.
1660 * include/bits/stl_map.h: Likewise.
1661 * include/bits/stl_multimap.h: Likewise.
1662 * include/bits/stl_multiset.h: Likewise.
1663 * include/bits/stl_numeric.h: Likewise.
1664 * include/bits/stl_queue.h: Likewise.
1665 * include/bits/stl_set.h: Likewise.
1666 * include/bits/stl_stack.h: Likewise.
1667 * include/bits/stl_uninitialized.h: Likewise.
1668 * include/bits/stl_vector.h: Likewise.
1669 * include/ext/hash_map: Likewise.
1670 * include/ext/hash_set: Likewise.
1671 * include/ext/slist: Likewise.
1672 * include/ext/stl_hashtable.h: Likewise.
1674 * src/Makefile.am (base_headers): Update list of headers.
1675 * Makefile.in: Regenerated.
1676 * src/Makefile.in: Regenerated.
1677 * libio/Makefile.in: Regenerated.
1678 * libmath/Makefile.in: Regenerated.
1679 * libsupc++/Makefile.in: Regenerated.
1680 * testsuite/Makefile.in: Regenerated.
1682 * docs/html/install.html: Update contact information.
1683 * docs/html/17_intro/howto.html: Ditto.
1684 * docs/html/18_support/howto.html: Ditto.
1685 * docs/html/20_util/howto.html: Ditto.
1686 * docs/html/21_strings/howto.html: Ditto.
1687 * docs/html/22_locale/howto.html: Ditto.
1688 * docs/html/23_containers/howto.html: Ditto.
1689 * docs/html/24_iterators/howto.html: Ditto.
1690 * docs/html/25_algorithms/howto.html: Ditto.
1691 * docs/html/26_numerics/howto.html: Ditto.
1692 * docs/html/27_io/howto.html: Ditto.
1693 * docs/html/faq/index.html: Ditto, plus info on new checking code.
1694 * docs/html/ext/howto.html: Ditto, plus info on new checking code.
1695 * docs/html/faq/index.txt: Regenerated.
1697 2001-04-02 Zack Weinberg <zackw@stanford.edu>
1699 * testsuite/lib/libstdc++.exp (dg-test): Annotate result
1700 messages with $which_library as well as $tool_flags and
1701 ${dg-extra-tool-flags}. Factor out annotation text into
1704 2001-04-02 Stephen M. Webb <stephen@bregmasoft.com>
1706 * include/c_std/bits/std_cstring.h: Fix for const-correctness.
1707 * include/c_std/bits/std_cwchar.h: Same.
1708 * testsuite/21_strings/c_strings.cc: Add.
1710 2001-04-01 Benjamin Kosnik <bkoz@codesourcery.com>
1712 * docs/html/configopts.html: Add --enable-sjlj-exceptions docs.
1714 2001-04-01 Zack Weinberg <zackw@stanford.edu>
1716 * tests_flags.in: Use test a = b, not test a == b which is not
1719 2001-03-31 Benjamin Kosnik <bkoz@redhat.com>
1721 * configure.target: Remove duplicate aix entry.
1723 2001-03-30 Benjamin Kosnik <bkoz@redhat.com>
1725 * include/ext/stl_bvector.h: Move to...
1726 * include/bits/stl_vector.h: ...here.
1727 * include/ext/bvector: Move to...
1728 * include/backward/bvector.h: ...here.
1729 * include/bits/std_vector.h: Change stl_bvector include.
1730 * include/bits/std_queue.h: Remove bvector include.
1731 * include/ext/tree: Insert using rb_tree, move to...
1732 * include/backward/tree.h: ...here.
1733 * include/backward/hash_map.h: Include ext/hash_map.
1734 * include/backward/hash_set.h: Include ext/hash_set.
1735 * include/backward/queue.h: New file.
1736 * include/backward/stack.h: Edit.
1737 * include/backward/algo.h: Same.
1738 * include/backward/algobase.h: Same.
1739 * include/backward/alloc.h: Same.
1740 * include/backward/function.h: Same.
1741 * include/backward/iomanip.h: Same.
1742 * include/backward/istream.h: Same.
1743 * include/backward/iterator.h: Same.
1744 * include/backward/list.h: Same.
1745 * include/backward/map.h: Same.
1746 * include/backward/multimap.h: Same.
1747 * include/backward/multiset.h: Same.
1748 * include/backward/ostream.h: Same.
1749 * include/backward/pair.h: Same
1750 * include/backward/rope.h: Same.
1751 * include/backward/set.h: Same.
1752 * include/backward/stream.h: Same.
1753 * include/backward/strstream.h: Same.
1754 * include/backward/tempbuf.h: Same.
1755 * src/Makefile.am (ext_headers): Edit.
1756 * src/Makefile.in: Regenerate.
1757 * testsuite/ext/headers.cc (main): Fix.
1760 2001-03-30 Phil Edwards <pme@sources.redhat.com>
1762 * tests_flags.in (LIBS): Pass correct path for installed testing.
1764 2001-03-28 Benjamin Kosnik <bkoz@redhat.com>
1766 * mkcheck.in (LIBTOOL): Don't construct -B argument here...
1767 * tests_flags.in (CXX): Construct here.
1768 (static_fail): Don't remove compile.out. Format with spaces.
1769 (INCLUDES): Deal with xcompiling.
1770 * configure.in (xcompiling): Substitute.
1771 * testsuite/Makefile.am: Snake libjava configury.
1772 * testsuite/Makefile.in: Regenerate.
1773 * testsuite/23_containers/map_operators.cc: Tweaks.
1774 * testsuite/23_containers/set_operators.cc: Tweaks.
1776 2001-03-28 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
1778 Enable dejagnu testing framework.
1779 * configure.in: Generate testsuite/Makefile.
1780 * configure: Regenerate.
1781 * Makefile.am (check-install): Change rule from this...
1782 (check-script-install): ...to this.
1783 (check): Change rule from this...
1784 (check-script):...to this.
1785 * Makefile.in: Regenerate.
1787 2001-03-28 Alexandre Oliva <aoliva@redhat.com>
1789 * libsupc++/Makefile.am (CXXLINK): Add --tag disable-shared after
1791 (LIBTOOL): Let automake take care of its definition.
1792 * libsupc++/Makefile.in: Rebuilt.
1794 2001-03-28 Richard Henderson <rth@redhat.com>
1796 IA-64 ABI Exception Handling:
1797 * acinclude.m4 (GLIBCPP_ENABLE_SJLJ_EXCEPTIONS): New.
1798 * configure.in: Use it.
1799 * Makefile.in, aclocal.m4, config.h.in, configure: Regenerate.
1800 * libsupc++/Makefile.am (sources): Update files list.
1801 * libsupc++/Makefile.in: Regenerate.
1802 * libsupc++/eh_alloc.cc, libsupc++/eh_aux_runtime.cc: New files.
1803 * libsupc++/eh_catch.cc, libsupc++/eh_exception.cc: New files.
1804 * libsupc++/eh_globals.cc, libsupc++/eh_personality.cc: New files.
1805 * libsupc++/eh_terminate.cc, libsupc++/eh_throw.cc: New files.
1806 * libsupc++/exception_support.cc: Remove.
1807 * libsupc++/exception_support.h: Remove.
1808 * libsupc++/pure.cc: Use std::terminate.
1809 * libsupc++/tinfo2.cc (__throw_type_match_rtti_2): Remove.
1810 (__is_pointer): Remove.
1811 * libsupc++/unwind-cxx.h: New file.
1812 * libsupc++/vec.cc (uncatch_exception): Update for new abi.
1814 2001-03-27 Alexandre Oliva <aoliva@redhat.com>
1816 * libsupc++/Makefile.am (CXXLINK): Use CXX again, and choose
1818 * src/Makefile.am (CXXLINK): Likewise.
1819 * libsupc++/Makefile.in, src/Makefile.in: Rebuilt.
1821 2001-03-27 Benjamin Kosnik <bkoz@redhat.com>
1823 * include/bits/c++config (_STL_USE_CONCEPT_CHECKS): Disable by default.
1825 2001-03-26 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
1827 * libstdc++-v3/tests_flags.in: Change the order of libstdc++
1830 2001-03-26 Benjamin Kosnik <bkoz@redhat.com>
1832 * include/bits/basic_file.h (get_fileno): Remove.
1833 (_M_fileno): Remove.
1834 (_M_cfile_created): Add.
1835 (basic_file::basic_file(__c_file_type*, openmode): Add.
1836 (basic_file::basic_file(int, const char*, openmode): Remove.
1837 * include/bits/fstream.tcc (basic_fstream::basic_filebuf(int __fd,
1838 const char*, ios_base::openmode): Don't allocate
1839 internal buffers. Turn off internal buffers.
1840 (basic_filebuf::overflow): Remove test for null buffer.
1841 (basic_filebuf::_M_really_overflow): Same. Allow unbuffered use.
1842 * include/bits/streambuf.cc: Tweak.
1843 * include/bits/std_ostream.h: Tweak.
1844 * config/basic_file_libio.h: Same.
1845 * config/basic_file_stdio.h: Same.
1846 * src/ios.cc (ios_base::Init::Init()): Unbuffer stdout by default.
1847 * testsuite/27_io/filebuf_members.cc: Tweaks.
1848 * testsuite/27_io/ios_base_members_static.cc: Tweaks.
1850 2001-03-24 Phil Edwards <pme@sources.redhat.com>
1852 * Makefile.am: New targets, doxygen and doxygen-maint.
1853 * Makefile.in: Regenerated.
1854 * docs/doxygen/run_doxygen: Finally implemented.
1855 * docs/doxygen/maint.cfg.in: New file.
1856 * docs/doxygen/user.cfg.in: New file.
1858 2001-03-24 Phil Edwards <pme@sources.redhat.com>
1860 * acinclude.m4 (GLIBCPP_CHECK_COMPILER_FEATURES): Update comment.
1861 * src/Makefile.am: Replace leading spaces with tabs on continuation
1863 * aclocal.m4: Regenerated.
1865 * Makefile.in: Ditto.
1866 * src/Makefile.in: Ditto.
1867 * libio/Makefile.in: Ditto.
1868 * libmath/Makefile.in: Ditto.
1869 * libsupc++/Makefile.in: Ditto.
1871 2001-03-24 Phil Edwards <pme@sources.redhat.com>
1873 * docs/html/19_diagnostics/howto.html: HTML fixup. Describe
1874 concept-checking code and current status of same.
1875 * docs/html/ext/howto.html: Ditto.
1876 * docs/html/faq/index.html: Ditto.
1877 * docs/html/faq/index.txt: Regenerated.
1879 2001-03-24 Phil Edwards <pme@sources.redhat.com>
1881 * include/bits/std_bitset.h: Include ostream and istream headers
1882 instead of iostream.
1884 2001-03-22 Greg Bumgardner <bumgard@roguewave.com>
1886 * include/bits/ostream.tcc: Use __builtin_alloca.
1888 2001-03-22 Benjamin Kosnik <bkoz@redhat.com>
1890 * src/misc-inst.cc (__sink_unused_warning): Move to...
1891 * src/locale-inst.cc (__sink_unused_warning): Move to...
1892 * src/stl-inst.cc: Here.
1893 * include/bits/c++config (_STL_NO_CONCEPT_CHECKS): Add define,
1896 2001-03-21 Theodore Papadopoulo <Theodore.Papadopoulo@sophia.inria.fr>
1898 * intclude/bits/basic_file.h: Fix typos in comments.
1900 2001-03-20 Richard Henderson <rth@redhat.com>
1902 * src/gen-num-limits.cc: Instantiate for wchar_t.
1903 * config/os/aix/bits/ctype_base.h (mask): Use unsigned int.
1905 2001-03-20 Jason Merrill <jason@redhat.com>
1907 * libsupc++/vec.cc (__cxa_vec_cleanup): New fn.
1908 (__cxa_vec_ctor, __cxa_vec_cctor, __cxa_vec_dtor): Call it.
1909 * libsupc++/cxxabi.h: Declare it.
1911 2001-03-16 Alexandre Oliva <aoliva@redhat.com>
1913 * src/gen-num-limits.cc (signal_adapter): Overloaded to match
1914 signal_func with an unspecified argument list.
1916 2001-03-15 Benjamin Kosnik <bkoz@redhat.com>
1918 * tests_flags.in (CXXFLAGS): Link libstdc++ before libsupc++.
1920 2001-03-15 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
1922 * include/bits/basic_string.tcc (operator+): Fix thinko.
1924 2001-03-14 Benjamin Kosnik <bkoz@redhat.com>
1927 * include/bits/std_streambuf.h: Remove cached locale facets.
1928 (basic_streambuf::_M_buf_fctype): Remove.
1929 (basic_streambuf::~basic_streambuf): Remove here.
1930 (basic_streambuf::basic_streambuf): Same.
1931 (basic_streambuf::imbue): Same.
1932 * include/bits/fstream.tcc (filebuf::imbue): Remove _M_buf_fctype.
1933 * include/bits/std_fstream.h (basic_filebuf::_M_fcvt): Remove.
1934 (basic_filebuf::~basic_filebuf()): Remove here.
1935 * include/bits/fstream.tcc (basic_filebuf::basic_filebuf): Same.
1936 (basic_filebuf::imbue): Same.
1937 * include/bits/localefwd.h (_Count_ones): Remove.
1938 (locale::_S_num_categories): Just use 6, since this doesn't
1939 actually change, ever.
1940 * include/bits/locale_facets.tcc (has_facet): Simplify.
1942 * testsuite/27_io/filebuf.cc (test06): Add tests.
1944 2001-03-13 Steve Ellcey <sje@cup.hp.com>
1946 * libstdc++-v3/config/os/hpux/bits/ctype_base.h: Make ctype masks
1947 match HP-UX ctype.h header file.
1949 2001-03-13 Andris Pavenis <pavenis@latnet.lv>
1951 * config/djgpp/bits/ctype_noninline.h: Fix typo and remove
1952 duplicate definitions of __dj_ctype_*
1954 2001-03-13 Benjamin Kosnik <bkoz@redhat.com>
1956 * libsupc++/new: Remove pragma interface.
1957 * libsupc++/typeinfo: Same.
1958 * libsupc++/exception: Same.
1959 * libsupc++/new_handler.cc: Remove pragma implementation.
1960 (bad_alloc::~bad_alloc()): Add.
1961 * libsupc++/exception_support.cc: Same.
1962 (exception::~exception): Add.
1963 (bad_exception::~bad_exception): Add.
1964 * libsupc++/tinfo.cc: Same.
1965 (bad_cast::~bad_cast): Add.
1966 (bad_typeid::~bad_typeid): Add.
1968 2001-03-13 Phil Edwards <pme@sources.redhat.com>
1970 * mkcheck.in: Fix IFS regression for non-bash-2.01 hosts.
1972 2001-03-12 Felix Lee <flee@redhat.com>
1974 * mkcheck.in: workaround for bash 2.01 IFS bug.
1976 2001-03-12 Benjamin Kosnik <bkoz@redhat.com>
1978 Fixups for -fno-for-scope
1979 * include/bits/locale_facets.tcc (__match_parallel): Fixup.
1980 * src/valarray-inst.cc (__gslice_to_index): Same.
1982 2001-03-12 Rodney Brown <RodneyBrown@mynd.com>
1984 * src/gen-num-limits.cc (traps) [SPECIALIZE_TRAPPING]: Add fflush
1985 prior to trapping signal (UnixWare 7 workaround).
1987 2001-03-12 Craig Rodrigues <rodrigc@mediaone.net>
1989 * include/backward/hashtable.h: Same.
1990 * include/backward/rope.h: Fix include.
1992 2001-03-12 Benjamin Kosnik <bkoz@redhat.com>
1994 * include/backward/vector.h: Include std_vector.h.
1996 * include/bits/istream.tcc (basic_istream<_CharT, _Traits>&
1997 operator>>(basic_istream<_CharT, _Traits>& __in, _CharT* __s)):
2000 2001-03-11 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
2002 * include/ext/stl_hashtable.h: Change type of __n to size_t
2003 * include/backward/bvector.h: Include <ext/stl_bvector.h>
2005 2001-03-09 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
2007 * include/bits/istream.tcc ( basic_istream<_CharT, _Traits>&
2008 operator>>(basic_istream<_CharT, _Traits>& __in, _CharT* __s)):
2009 Use streamsize, not int_type.
2011 2001-03-08 Benjamin Kosnik <bkoz@redhat.com>
2013 * testsuite/27_io/streambuf.cc (test06): New test, disabled at the
2016 2001-03-08 Andreas Schwab <schwab@suse.de>
2018 * acinclude.m4 (GLIBCPP_EXPORT_INSTALL_INFO): Fix syntax in test
2020 * aclocal.m4, configure: Regenerated.
2022 2001-03-07 Benjamin Kosnik <bkoz@redhat.com>
2024 * include/bits/std_iosfwd.h: Remove string forward decls here.
2025 * include/bits/stringfwd.h: Add forward decls for char_traits
2027 * config/c_io_libio.h (wstreamoff): Delete.
2028 * config/c_io_stdio.h (wstreamoff): Same.
2029 * include/bits/char_traits.h: Use streamoff not wstreamoff for
2030 char_traits<wchar_t>::off_type.
2031 Remove duplicate typedefs.
2032 * include/bits/fpos.h: Define streampos/wstreampos here.
2033 * testsuite/27_io/istream_seeks.cc (test04): Explicitly cast int
2036 Changeup output files.
2037 * testsuite/27_io/istream_unformatted.cc: Change output files.
2038 * testsuite/27_io/istream_seeks-1.txt: Add.
2039 * testsuite/27_io/istream_seeks-2.tst: Add.
2040 * testsuite/27_io/istream_seeks-1.tst: Add.
2041 * testsuite/27_io/istream_unformatted-2.tst: Delete.
2042 * testsuite/27_io/istream_unformatted-3.tst: Delete.
2043 * testsuite/27_io/istream_unformatted-3.txt: Delete.
2045 2001-03-07 Alexandre Oliva <aoliva@redhat.com>
2047 Add Irix 5.2, 6.3 support.
2048 * config/os/irix/bits: Renamed to...
2049 * config/os/irix/irix6.5/bits: this.
2050 * config/os/irix/irix5.2/bits: New, copied from irix6.5/bits.
2051 * config/os/irix/irix5.2/bits/ctype_base.h: Use _U, _L, _N,
2052 _X, _S, _P, _C and _B instead of IRIX-6.5 _IS* macros.
2053 * config/os/irix/irix5.2/bits/ctype_noninline.h
2054 (ctype<char>::ctype): Initialize _M_table with __ctype.
2055 * configure.target: Adjust.
2057 2001-03-06 Benjamin Kosnik <bkoz@redhat.com>
2060 * include/bits/istream.tcc (basic_istream<_CharT, _Traits>::
2061 operator>>(__istream_type& (*__pf)(__istream_type&)): Don't use
2063 (basic_istream<_CharT, _Traits>:: operator>>(__ios_type&
2064 (*__pf)(__ios_type&)): Same.
2065 (basic_istream<_CharT, _Traits>:: operator>>(ios_base&
2066 (*__pf)(ios_base&))): Same.
2067 * testsuite/27_io/istream_extractor_other.cc: Add tests.
2068 * testsuite/27_io/istream_manip.cc (test01): Fix.
2070 2001-03-06 Nathan Myers <ncm@cantrip.org>
2071 Benjamin Kosnik <bkoz@redhat.com>
2073 * include/c_std/bits/std_cerrno.h: Don't define errno in std::.
2074 * testsuite/17_intro/header_cerrno.cc (test01): New file.
2075 * testsuite/17_intro/header_cassert.cc (test01): New file.
2076 * testsuite/17_intro/header_cstddef.cc (test01): New file.
2077 * testsuite/17_intro/header_csetjmp.cc (test01): New file.
2078 * testsuite/17_intro/header_cstdarg.cc (test01): New file.
2080 2001-03-05 scott snyder <snyder@fnal.gov>
2083 * include/c_std/bits/std_cmath.h: Move abs(long), div(long,long)
2085 * include/c_std/bits/std_cstdlib.h: ... to here.
2086 * testsuite/17_intro/header_cstdlib.cc: Add test.
2088 2001-03-05 Stephen M. Webb <stephen.webb@cybersafe.com>
2090 * libsupc++/vec.cc (__cxxa_vec_new2): Qualify size_t.
2092 2001-03-05 Laurynas Biveinis <lauras@softhome.net>
2094 * config/os/djgpp/ctype_base.h (ctype_base): fix __to_type
2095 definition. Replace enum with static const variables.
2097 * config/os/djgpp/ctype_inline.h (ctype<char>::is): remove
2098 throw specification, fix typos, use <static_cast>.
2099 (ctype<char>::scan_is): remove throw specification.
2100 (ctype<char>::scan_not): likewise.
2102 * config/os/djgpp/ctype_noninline.h (ctype<char>::ctype): fix typo.
2103 (ctype<char>::do_toupper(char)): use <static_cast>.
2104 (ctype<char>::do_toupper(char *, const char *)): likewise.
2105 (ctype<char>::do_tolower(char)): likewise.
2106 (ctype<char>::do_tolower(char *, const char *)): likewise.
2108 2001-03-04 Phil Edwards <pme@sources.redhat.com>
2110 http://gcc.gnu.org/ml/libstdc++/2001-03/msg00015.html
2111 * include/backward/algo.h: Use std not __STD. Remove unneeded
2112 macros and "never happens" code. Adjust to C++STYLE guidelines.
2113 * include/backward/algobase.h: Likewise.
2114 * include/backward/alloc.h: Likewise.
2115 * include/backward/bvector.h: Likewise.
2116 * include/backward/deque.h: Likewise.
2117 * include/backward/function.h: Likewise.
2118 * include/backward/hash_map.h: Likewise.
2119 * include/backward/hash_set.h: Likewise.
2120 * include/backward/hashtable.h: Likewise.
2121 * include/backward/heap.h: Likewise.
2122 * include/backward/iterator.h: Likewise.
2123 * include/backward/list.h: Likewise.
2124 * include/backward/map.h: Likewise.
2125 * include/backward/multimap.h: Likewise.
2126 * include/backward/multiset.h: Likewise.
2127 * include/backward/pair.h: Likewise.
2128 * include/backward/rope.h: Likewise.
2129 * include/backward/set.h: Likewise.
2130 * include/backward/slist.h: Likewise.
2131 * include/backward/stack.h: Likewise.
2132 * include/backward/strstream: Likewise.
2133 * include/backward/tempbuf.h: Likewise.
2134 * include/backward/tree.h: Likewise.
2135 * include/backward/vector.h: Likewise.
2136 * include/bits/basic_ios.h: Likewise.
2137 * include/bits/basic_ios.tcc: Likewise.
2138 * include/bits/basic_string.h: Likewise.
2139 * include/bits/c++config: Likewise.
2140 * include/bits/concept_checks.h: Likewise.
2141 * include/bits/fpos.h: Likewise.
2142 * include/bits/fstream.tcc: Likewise.
2143 * include/bits/functexcept.h: Likewise.
2144 * include/bits/ios_base.h: Likewise.
2145 * include/bits/istream.tcc: Likewise.
2146 * include/bits/mask_array.h: Likewise.
2147 * include/bits/ostream.tcc: Likewise.
2148 * include/bits/pthread_allocimpl.h: Likewise.
2149 * include/bits/sbuf_iter.h: Likewise.
2150 * include/bits/slice.h: Likewise.
2151 * include/bits/slice_array.h: Likewise.
2152 * include/bits/sstream.tcc: Likewise.
2153 * include/bits/std_bitset.h: Likewise.
2154 * include/bits/std_fstream.h: Likewise.
2155 * include/bits/std_iomanip.h: Likewise.
2156 * include/bits/std_ios.h: Likewise.
2157 * include/bits/std_istream.h: Likewise.
2158 * include/bits/std_iterator.h: Likewise.
2159 * include/bits/std_memory.h: Likewise.
2160 * include/bits/std_ostream.h: Likewise.
2161 * include/bits/std_sstream.h: Likewise.
2162 * include/bits/std_streambuf.h: Likewise.
2163 * include/bits/std_string.h: Likewise.
2164 * include/bits/std_valarray.h: Likewise.
2165 * include/bits/stl_algo.h: Likewise.
2166 * include/bits/stl_algobase.h: Likewise.
2167 * include/bits/stl_alloc.h: Likewise.
2168 * include/bits/stl_construct.h: Likewise.
2169 * include/bits/stl_deque.h: Likewise.
2170 * include/bits/stl_function.h: Likewise.
2171 * include/bits/stl_heap.h: Likewise.
2172 * include/bits/stl_iterator.h: Likewise.
2173 * include/bits/stl_iterator_base.h: Likewise.
2174 * include/bits/stl_list.h: Likewise.
2175 * include/bits/stl_map.h: Likewise.
2176 * include/bits/stl_multimap.h: Likewise.
2177 * include/bits/stl_multiset.h: Likewise.
2178 * include/bits/stl_numeric.h: Likewise.
2179 * include/bits/stl_pair.h: Likewise.
2180 * include/bits/stl_pthread_alloc.h: Likewise.
2181 * include/bits/stl_queue.h: Likewise.
2182 * include/bits/stl_raw_storage_iter.h: Likewise.
2183 * include/bits/stl_relops.h: Likewise.
2184 * include/bits/stl_set.h: Likewise.
2185 * include/bits/stl_stack.h: Likewise.
2186 * include/bits/stl_tempbuf.h: Likewise.
2187 * include/bits/stl_threads.h: Likewise.
2188 * include/bits/stl_tree.h: Likewise.
2189 * include/bits/stl_uninitialized.h: Likewise.
2190 * include/bits/stl_vector.h: Likewise.
2191 * include/bits/streambuf.tcc: Likewise.
2192 * include/bits/type_traits.h: Likewise.
2193 * include/bits/valarray_meta.h: Likewise.
2194 * include/ext/bvector: Likewise.
2195 * include/ext/hash_map: Likewise.
2196 * include/ext/hash_set: Likewise.
2197 * include/ext/ropeimpl.h: Likewise.
2198 * include/ext/slist: Likewise.
2199 * include/ext/stl_bvector.h: Likewise.
2200 * include/ext/stl_hash_fun.h: Likewise.
2201 * include/ext/stl_hashtable.h: Likewise.
2202 * include/ext/stl_rope.h: Likewise.
2203 * src/complex_io.cc: Likewise.
2204 * src/ios.cc: Likewise.
2205 * src/locale-inst.cc: Likewise.
2206 * src/locale.cc: Likewise.
2207 * src/localename.cc: Likewise.
2208 * src/misc-inst.cc: Likewise.
2209 * src/stdexcept.cc: Likewise.
2210 * src/stl-inst.cc: Likewise.
2211 * src/strstream.cc: Likewise.
2212 * src/valarray-inst.cc: Likewise.
2214 2001-03-03 Benjamin Kosnik <bkoz@redhat.com>
2216 * src/misc-inst.cc (__copy_streambufs): Fix typo for alpha.
2218 2001-03-02 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
2220 * include/bits/istream.tcc: change type of __extracted to __size_type
2222 2001-03-02 Benjamin Kosnik <bkoz@redhat.com>
2224 * src/wstring-inst.cc: New file.
2225 * src/Makefile.am (EXTRA_LTLIBRARIES): Remove.
2226 (libinst_wstring_la_SOURCES): Remove.
2227 (libstdc___la_LIBADD): Remove libinst_wstring_la.
2228 (sources): Add wstring-inst.cc
2229 * acinclude.m4 (GLIBCPP_CHECK_WCHAR_T_SUPPORT): Remove
2232 2001-03-02 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
2234 * src/locale.cc: initialise __ret with zero
2235 * src/strstream.cc:cast gptr to int_type
2237 2001-03-01 Phil Edwards <pme@sources.redhat.com>
2239 * docs/html/faq/index.html: Update broken links.
2240 * docs/html/faq/index.txt: Regenerated.
2242 2001-02-28 Benjamin Kosnik <bkoz@redhat.com>
2245 * configure.target: Change irix* to irix6.5* in target_os table.
2247 2001-02-28 Benjamin Kosnik <bkoz@redhat.com>
2250 * include/bits/c++config (__GLIBCPP__): Bump number in
2251 anticipation of 2.92.
2253 * include/bits/codecvt.h: Fix typo.
2254 * include/bits/basic_file.h (__basic_file): Don't use _M_wfile for
2256 * acinclude.m4 (GLIBCPP_ENABLE_CSTDIO): Enable wchar_t
2257 instantiations for stdio model.
2259 2001-02-28 Phil Edwards <pme@sources.redhat.com>
2261 * acinclude.m4 (GLIBCPP_CONFIGURE): Remove GLIBCPP_CFLAGS
2262 and GLIBCPP_CXXFLAGS as unused variables.
2263 * configure.host: Likewise.
2264 * configure.target: Likewise.
2265 * aclocal.m4: Regenerated.
2266 * configure: Regenerated.
2267 * Makefile.in: Regenerated.
2268 * libio/Makefile.in: Regenerated.
2269 * libmath/Makefile.in: Regenerated.
2270 * libsupc++/Makefile.in: Regenerated.
2271 * src/Makefile.in: Regenerated.
2273 2001-02-27 Benjamin Kosnik <bkoz@redhat.com>
2276 * include/bits/basic_file.h: Include basic_file_model.h.
2277 * config/c_io_libio.cc: Move to...
2278 * config/basic_file_libio.cc: Here.
2279 * config/basic_file_libio.h: New file.
2280 * config/c_io_stdio.cc: Move to...
2281 * config/basic_file_stdio.cc: Here.
2282 * config/basic_file_stdio.h: New file.
2283 * config/c_io_libio.h: Tweak.
2284 * config/c_io_stdio.h: Tweak.
2285 * src/Makefile.am (build_headers): Add basic_file_model.h.
2286 (sources): Add basic_file.cc, remove c++io.cc.
2287 * src/Makefile.in: Regenerate.
2288 * acinclude.m4 (GLIBCPP_ENABLE_CSTDIO): Add support for
2289 basic_file_model.h and basic_file.cc.
2290 * aclocal.m4: Regenerate.
2291 * configure: Regenerate.
2292 * testsuite/27_io/filebuf.cc (test05): Add regression.
2294 2001-02-27 Benjamin Kosnik <bkoz@redhat.com>
2297 * config/cpu/alpha/bits/atomicity.h: Change.
2298 * config/cpu/arm/bits/atomicit3y.h
2299 * config/cpu/generic/bits/atomicity.h
2300 * config/cpu/i386/bits/atomicity.h
2301 * config/cpu/i486/bits/atomicity.h
2302 * config/cpu/ia64/bits/atomicity.h
2303 * config/cpu/powerpc/bits/atomicity.h
2304 * config/cpu/sparc/sparc32/bits/atomicity.h
2305 * config/cpu/sparc/sparc64/bits/atomicity.h
2306 * config/os/aix/bits/atomicity.h
2307 * config/os/irix/bits/atomicity.h
2309 2001-02-27 Benjamin Kosnik <bkoz@redhat.com>
2311 * include/bits/std_stdexcept.h (runtime_error): Make string
2313 (logic_error): Same.
2314 * testsuite/19_diagnostics/stdexceptions.cc (test04): Add test.
2317 2001-02-26 Benjamin Kosnik <bkoz@redhat.com>
2321 * include/bits/std_stdexcept.h (logic_error::logic_error): Use
2322 string object, not reference.
2323 (runtime_error::runtime_error): Same.
2324 * testsuite/19_diagnostics/stdexceptions.cc: New file.
2326 2001-02-26 Phil Edwards <pme@sources.redhat.com>
2328 * acinclude.m4 (GLIBCPP_CONFIGURE): Update required compiler version.
2329 (GLIBCPP_CHECK_COMPILER_FEATURES): Can safely assume new
2330 diagnostics. Remove WFMT_FLAGS.
2331 * configure.in: Replace WFMT_FLAGS with diagnostics options.
2332 * libsupc++/Makefile.am: Likewise.
2333 * src/Makefile.am: Likewise.
2334 * aclocal.m4: Regenerated.
2335 * configure: Regenerated.
2336 * Makefile.in: Regenerated.
2337 * libio/Makefile.in: Regenerated.
2338 * libmath/Makefile.in: Regenerated.
2339 * libsupc++/Makefile.in: Regenerated.
2340 * src/Makefile.in: Regenerated.
2342 2001-02-26 Phil Edwards <pme@sources.redhat.com>
2344 Fixes libstdc++/2079
2345 * include/backward/iomanip.h: Expose <ios> manipulators to global
2347 * include/backward/iostream.h: Also expose std::ws.
2349 2001-02-25 Greg Freemyer <freemyer@NorcrossGroup.com>
2351 * libmath/mathconf.h (GET_LDOUBLE_MSW64): Fix thinko.
2353 2001-02-23 Benjamin Kosnik <bkoz@redhat.com>
2355 * include/bits/codecvt.h: Use __builtin_alloca.
2356 * include/bits/ostream.tcc: Same.
2357 * include/bits/fstream.tcc: Same.
2359 2001-02-23 Alexandre Oliva <aoliva@redhat.com>
2361 * mknumeric_limits (CC): Use VAR=${VAR=...} form.
2363 2001-02-23 David Edelsohn <dje@watson.ibm.com>
2365 * mknumeric_limits (CC): Use $BUILD_DIR/../../gcc/xgcc
2367 2001-02-23 Phil Edwards <pme@sources.redhat.com>
2370 * include/backward/iostream.h: Expose std::flush in old headers.
2372 2001-02-23 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
2374 * mknumeric_limits: Remove special-casing on target. Use gcc
2375 instead of g++ to build gen-num-limits.cc
2377 2001-02-22 Benjamin Kosnik <bkoz@redhat.com>
2379 * tests_flags.in (CXXFLAGS): Add -rpath to gcc build dir.
2381 * include/bits/codecvt.h: Use alloca instead of __extension__ for
2383 * include/bits/ostream.tcc: Same.
2384 * include/bits/std_ostream.h: Same.
2385 * include/bits/fstream.tcc: Same.
2386 * include/bits/locale_facets.tcc: Add typename.
2387 * include/bits/c++config (_GLIBCPP_FULLY_COMPLIANT_HEADERS): Enable.
2389 2001-02-21 Phil Edwards <pme@sources.redhat.com>
2391 * tests_flags.in: Remove -n flag from call to echo.
2393 2001-02-20 Benjamin Kosnik <bkoz@redhat.com>
2395 * config/c_locale_gnu.h: Add clocale include.
2397 2001-02-20 Phil Edwards <pme@sources.redhat.com>
2399 * include/bits/stl_config.h: Remove file.
2400 * src/Makefile.am (base_headers): Remove from list.
2401 * configure: Regenerate.
2402 * Makefile.in: Ditto.
2403 * libio/Makefile.in: Ditto.
2404 * libmath/Makefile.in: Ditto.
2405 * libsupc++/Makefile.in: Ditto.
2406 * src/Makefile.in: Ditto.
2408 * include/bits/c++config: Move relevant macros to here.
2409 * include/backward/alloc.h: Include c++config.h instead.
2410 * include/backward/function.h: Ditto.
2411 * include/backward/heap.h: Ditto.
2412 * include/backward/pair.h: Ditto.
2413 * include/bits/pthread_allocimpl.h: Ditto.
2414 * include/bits/std_functional.h: Ditto.
2415 * include/bits/std_iterator.h: Ditto.
2416 * include/bits/std_numeric.h: Ditto.
2417 * include/bits/std_utility.h: Ditto.
2418 * include/bits/stl_algobase.h: Ditto.
2419 * include/bits/type_traits.h: Ditto.
2420 * src/stl-inst.cc: Ditto.
2422 2001-02-19 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
2424 * include/bits/basic_file.h: Add #pragma system_header
2425 * include/bits/basic_ios.h: Ditto.
2426 * include/bits/basic_string.h: Ditto.
2427 * include/bits/char_traits.h: Ditto.
2428 * include/bits/codecvt.h: Ditto.
2429 * include/bits/cpp_type_traits.h: Ditto.
2430 * include/bits/fpos.h: Ditto.
2431 * include/bits/gslice.h: Ditto.
2432 * include/bits/gslice_array.h: Ditto.
2433 * include/bits/indirect_array.h: Ditto.
2434 * include/bits/ios_base.h: Ditto.
2435 * include/bits/limits_generic.h: Ditto.
2436 * include/bits/locale_facets.h: Ditto.
2437 * include/bits/localefwd.h: Ditto.
2438 * include/bits/mask_array.h: Ditto.
2439 * include/bits/sbuf_iter.h: Ditto.
2440 * include/bits/sequence_concepts.h: Ditto.
2441 * include/bits/slice.h: Ditto.
2442 * include/bits/slice_array.h: Ditto.
2443 * include/bits/std_algorithm.h: Likewise.
2444 * include/bits/std_bitset.h: Likewise.
2445 * include/bits/std_complex.h: Likewise.
2446 * include/bits/std_deque.h: Likewise.
2447 * include/bits/std_fstream.h: Likewise.
2448 * include/bits/std_functional.h: Likewise.
2449 * include/bits/std_iomanip.h: Likewise.
2450 * include/bits/std_ios.h: Likewise.
2451 * include/bits/std_iosfwd.h: Likewise.
2452 * include/bits/std_iostream.h: Likewise.
2453 * include/bits/std_istream.h: Likewise.
2454 * include/bits/std_iterator.h: Likewise.
2455 * include/bits/std_list.h: Likewise.
2456 * include/bits/std_locale.h: Likewise.
2457 * include/bits/std_map.h: Likewise.
2458 * include/bits/std_memory.h: Likewise.
2459 * include/bits/std_numeric.h: Likewise.
2460 * include/bits/std_ostream.h: Likewise.
2461 * include/bits/std_queue.h: Likewise.
2462 * include/bits/std_set.h: Likewise.
2463 * include/bits/std_sstream.h: Likewise.
2464 * include/bits/std_stack.h: Likewise.
2465 * include/bits/std_stdexcept.h: Likewise.
2466 * include/bits/std_streambuf.h: Likewise.
2467 * include/bits/std_string.h: Likewise.
2468 * include/bits/std_utility.h: Likewise.
2469 * include/bits/std_valarray.h: Likewise.
2470 * include/bits/std_vector.h: Likewise.
2471 * include/bits/stringfwd.h: Likewise.
2472 * include/bits/type_traits.h: Likewise.
2473 * include/bits/valarray_array.h: Likewise.
2474 * include/bits/valarray_meta.h: Likewise.
2476 2001-02-19 Andreas Jaeger <aj@suse.de>
2478 * config/cpu/sparc/sparc64/bits/atomicity.h (__compare_and_swap):
2481 2001-02-16 Greg Bumgardner <bumgard@roguewave.com>
2484 * include/bits/std_ostream.h: Replaced usage of
2485 _Traits::_S_eos() with _CharT() as per section 17.2.2.1.3.
2486 * include/bits/char_traits.h: Removed non-standard
2487 methods that cannot be used elsewhere.
2490 * include/bits/basic_ios.h: Uncommented #include of
2494 * include/bits/codecvt.h: See next...
2495 * include/bits/fstream.tcc: See next...
2496 * include/bits/ostream.tcc: Add __extension__
2497 to variable-length arrays.
2500 * include/bits/localefwd.h: Changed int counter type to size_t.
2503 * include/bits/std_fstream.h: Added typedef for __ctype_type.
2505 2001-02-16 Benjamin Kosnik <bkoz@redhat.com>
2507 * testsuite/21_strings/char_traits.cc: Move to ...
2508 * testsuite/21_strings/char_traits_requirements.cc: ..here.
2509 * testsuite/21_strings/char_traits-int_type.cc: Move to ...
2510 * testsuite/21_strings/char_traits_typedefs.cc: ..here.
2512 2001-02-16 Gabriel Dos Reis <gdr@codesourcery.com>
2514 * libmath/mathconf.h (FINITE_P, INFINITE_P): Remove macro
2517 2001-02-15 Benjamin Kosnik <bkoz@redhat.com>
2519 * include/bits/c++config: Revert.
2521 2001-02-15 Mark Mitchell <mark@codesourcery.com>
2523 * include/bits/istream.tcc: Use ios_base::iostate in place of
2524 iostate throughout. Insert `typename' keyword where necessary.
2525 * include/bits/ostream.tcc: Insert `typename' keyword where
2528 2001-02-15 Jeffrey Oldham <oldham@codesourcery.com>
2530 * include/bits/c++config (_GLIBCPP_FULLY_COMPLIANT_HEADERS):
2531 Define so library is compliant.
2533 2001-02-15 Anthony Green <green@redhat.com>
2535 * acinclude.m4 (glibcpp_toolexeclibdir): Fix test for cross
2537 * aclocal.m4: Regenerate.
2538 * configure: Regenerate.
2540 2001-02-15 Rodney Brown <RodneyBrown@mynd.com>
2542 * acinclude.m4 (GLIBCPP_CHECK_MATH_DECL_1):
2543 Include ieeefp.h for fpclass on UnixWare{2,7}.
2544 * aclocal.m4: Regenerate.
2545 * configure: Regenerate.
2546 * mkcheck.in (size_command): Do without GNU-grep when using
2549 2001-02-15 Mark Mitchell <mark@codesourcery.com>
2551 Remove old ABI support from libsupc++.
2552 * libsupc++/cxxabi.h: Remove conditionally compiled code.
2553 * libsupc++/exception_support.cc: Likewise.
2554 * libsupc++/pure.cc: Likewise.
2555 * libsupc++/tinfo.cc: Likewise.
2556 * libsupc++/tinfo.h: Likewise.
2557 * libsupc++/tinfo2.cc: Likewise.
2558 * libsupc++/typeinfo: Likewise.
2559 * libsupc++/vec.cc: Likewise.
2561 2001-02-15 Benjamin Kosnik <bkoz@redhat.com>
2563 Add support for -fno-exceptions.
2564 * include/bits/exception_support.h: Remove.
2565 * include/bits/basic_string.h: Remove exception_support.
2566 (string::_M_check): Replace __OUTOFRANGE with __throw_out_of_range.
2568 (string::substr): Same.
2569 * include/bits/basic_string.tcc (string::reserve): Replace
2570 __LENGTHERROR with __throw_length_error.
2571 (string::_S_create): Same.
2572 (string::resize): Same.
2573 (string::_M_replace): Same.
2574 (string::replace): Same.
2575 (string::copy): Replace __OUTOFRANGE with __throw_out_of_range.
2576 (string::compare): Same.
2577 * include/bits/stl_vector.h: Remove exception_support.
2578 * src/Makefile.am (base_headers): Remove here.
2579 * src/Makefile.in: Regenerate.
2581 * include/bits/stl_range_errors.h: Remove.
2582 * include/bits/stl_deque.h: Use __throw_range_error.
2583 * include/bits/std_deque.h: Include functexcept.h.
2584 * include/bits/std_vector.h: Same.
2585 * src/Makefile.am (base_headers): Remove here.
2586 * src/Makefile.in: Regenerate.
2587 * include/ext/stl_bvector.h (class __BVECTOR): Use __throw_range_error.
2588 * include/ext/bvector: Remove stl_range_errors.h
2590 * include/bits/c++config (_GLIBCPP_USE_EXCEPTIONS): Remove.
2592 * include/bits/functexcept.h: New file.
2593 * src/functexcept.cc: New file. Definitions for function-based
2595 * src/Makefile.am (sources): Add functexcept.cc.
2596 * src/Makefile.in: Regenerate.
2598 * include/bits/stl_config.h (__STL_USE_EXCEPTIONS): Wrap with
2601 * include/bits/localefwd.h: Include functexcept.h.
2602 * include/bits/std_iosfwd.h: Same.
2604 * include/bits/basic_ios.h: Use __throw_ios_failure instead of
2605 throw basic_ios::failure.
2606 * include/bits/fstream.tcc (filebuf::_M_allocate_buffers):
2607 Use __throw_exception_again.
2608 (filebuf::_M_filebuf_init): Same.
2609 * include/bits/streambuf.tcc (__copy_streambufs): Same.
2610 * include/bits/ostream.tcc (ostream::operator<<): Same.
2611 * include/bits/istream.tcc (istream::operator>>): Same.
2612 * include/bits/basic_string.tcc (string::_M_mutate): Same.
2613 (string::_S_construct): Same.
2614 (string::_M_clone): Same.
2615 * include/bits/locale_facets.tcc (use_facet(const locale&)): Use
2617 (num_put<_CharT, _OutIter>::do_put): Use __throw_exception_again.
2618 * src/localename.cc (locale::_Imp::_Imp(const _Impl&, size_t): Use
2619 __throw_exception_again.
2620 (locale::_Imp::_Imp(string, size_t): Same.
2621 (locale::_Imp::_M_replace_facet): Use __throw_runtime_error.
2622 * src/locale.cc (locale::_M_coalesce): Use __throw_exception_again.
2623 (locale::locale(const char*)): Use __throw_runtime_error.
2624 (locale::classic): Use __throw_exception_again.
2625 (locale::_S_normalize_category): Use __throw_runtime_error.
2627 * src/stdexcept.cc: Remove cruft.
2629 * libsupc++/exception_defines.h: New file.
2630 * libsupc++/new_opnt.cc: Include exception_defines.h.
2631 * libsupc++/vec.cc: Same.
2632 (__cxa_vec_new2): Use __throw_exception_again.
2633 (__cxa_vec_new3): Same.
2634 (__cxa_vec_ctor): Same.
2635 (__cxa_vec_delete3): Same.
2636 (__cxa_vec_cctor): Same.
2637 (__cxa_vec_delete2): Same.
2638 (__cxa_vec_dtor): Same.
2639 * libsupc++/exception_support.cc: Include exception_defines.h. Only
2640 compile exception-handling bits if __EXCEPTIONS is defined.
2641 Remove old ABI support.
2642 * libsupc++/new_op.cc (new): Include exception_defines.h. Use
2643 std::__throw_bad_alloc() instead of throw bad_alloc.
2644 * libsupc++/Makefile.am: Add exception_defines.h.
2645 * libsupc++/Makefile.in: Reformat.
2646 * libsupc++/*: Format.
2648 2001-02-15 Phil Edwards <pme@sources.redhat.com>
2650 * docs/html/configopts.html: Minor updates and typo fixes.
2651 * docs/html/faq/index.html: Updates of the "not really bugs" list.
2652 * docs/html/faq/index.txt: Regenerated.
2654 2001-02-15 Gabriel Dos Reis <gdr@codesourcery.com>
2656 * testsuite/lib/libstdc++.exp: Lift, temporarily, out of
2657 dejagnu/dg.exp. Adapt to log options used to run testcases.
2659 2001-02-13 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
2661 * testsuite/lib/libstdc++.exp(dg-test): Lift temporarily from
2664 2001-02-13 Dirk Mueller <dmuell@gmx.net>
2665 Phil Edwards <pme@sources.redhat.com>
2667 * include/backward/function.h: Do not use rel_ops for older
2669 * include/backward/pair.h: Likewise.
2671 2001-02-12 Mark Mitchell <mark@codesourcery.com>
2673 * src/locale.cc: Remove bogus locale::id definitions.
2675 2001-02-11 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
2677 * include/bits/std_valarray.h: #undef _DEFINE_LOGICAL_OPERATOR,
2678 not _DEFINE_VALARRAY_OPERATOR which is not existent.
2680 * include/bits/valarray_meta.h (_RefFunClos<>_RefRunClos): Fix
2681 thinko in member initialisation.
2683 2001-02-11 Gabriel Dos Reis <gdr@codesourcery.com>
2685 * include/bits/std_valarray.h(valarray<>::shift): Avoid
2686 comparaison between signed and unsigned integer types.
2687 (valarray<>::cshift): Reformat.
2689 2001-02-11 Alexandre Oliva <aoliva@redhat.com>
2691 * src/gen-num-limits.cc: Use sigsetjmp and siglongjmp if available.
2692 * mknumeric_limits: Compile it with -DHAVE_CONFIG_H.
2693 * configure.in: Test for sigsetjmp.
2694 * configure, config.h.in: Rebuilt.
2696 2001-02-11 Gabriel Dos Reis <gdr@codesourcery.com>
2698 * src/valarray-inst.cc (gslice::_Indexer::_Indexer): Don't flip
2699 lengths and strides.
2700 (__gslice_to_index): Document.
2702 2001-02-11 Gabriel Dos Reis <gdr@codesourcery.com>
2704 * include/bits/char_traits.h char_traits<char>::int_type: Change
2705 to `int' to match 21.1.3.1/2.
2707 * testsuite/21_strings/char_traits-int_type.C: New test.
2709 2001-02-10 Gabriel Dos Reis <gdr@codesourcery.com>
2711 * testsuite/Makefile.am: New file.
2713 2001-02-09 Nathan Sidwell <nathan@codesourcery.com>
2715 * include/c_shadow/bits/std_cstdlib.h (lldiv_t): Fix typo.
2717 2001-02-08 Loren J. Rittle <ljrittle@acm.org>
2719 * src/locale-inst.cc (fill_n): Instantiate with size_t arguments.
2721 2001-02-08 David Edelsohn <edelsohn@gnu.org>
2723 * configure.target (aix4*): Remove extra set of brackets.
2725 2001-02-07 Benjamin Kosnik <bkoz@redhat.com>
2728 * include/bits/stringfwd.h: New file.
2729 * include/bits/stl_string_fwd.h: Remove.
2730 * include/bits/localefwd.h: Remove declaration for allocator.
2731 * include/bits/std_iosfwd: Same.
2732 * include/bits/std_string.h: Include it.
2733 * include/bits/std_ios.h: Remove include.
2734 * include/bits/basic_string.h: Tweak.
2735 * libsupc++/new: Format.
2736 * src/Makefile.am (base_headers): Add stringfwd.h, remove
2738 * src/Makefile.in: Regenerate.
2739 * include/bits/std_stdexcept.h: Rewrite.
2740 * src/stdexcept.cc: Same.
2742 2001-02-06 Benjamin Kosnik <bkoz@redhat.com>
2744 * acinclude.m4 (GLIBCPP_EXPORT_INSTALL_INFO): Deal with library
2745 install locations too.
2746 * aclocal.m4: Regenerate.
2747 * configure.in: Remove USE_LIBDIR.
2748 * configure: Regenerate.
2749 * src/Makefile.am (toolexecdir): Simplify, use
2750 glibcpp_toolexecdir, glibcpp_toolexeclibdir.
2751 * src/Makefile.in: Regenerate.
2752 * libsupc++/Makefile.am: Same.
2753 * libsupc++/Makefile.in: Regenerate.
2755 * src/Makefile.am: Just remove special rules for locale-inst.cc and
2756 misc-inst.cc as no longer necessary.
2758 Follow C++STYLE for naming non-static functions.
2759 * include/bits/ostream.tcc (_S_pad_char): Not static, rename to
2761 * include/bits/streambuf.tcc: Same.
2762 * include/bits/ostream.tcc: Same.
2763 * include/bits/istream.tcc: Same.
2764 * include/bits/locale_facets.tcc (_S_pad_numeric): To __pad_numeric.
2765 (_S_output_float): To __output_float.
2766 * include/bits/std_streambuf.h (_S_copy_streambufs): To
2768 * include/bits/locale_facets.tcc (_S_build_float_format): To
2769 __build_float_format.
2770 (_S_format): To __output_integer.
2771 (_S_fill): To __pad.
2772 * src/locale.cc: Same.
2773 * src/misc-inst.cc: Fix formatting. Fix signature for wchar_t. Correct
2775 * include/bits/locale_facets.tcc (_S_group_digits): To
2777 * src/locale-inst.cc: Fixup names. Add use_facet instantiations
2778 for collate, numpunct.
2780 2001-02-06 Phil Edwards <pme@sources.redhat.com>
2782 * docs/html/configopts.html: Fix HTML markup.
2783 * docs/html/install.html: Bring up to date.
2784 * docs/html/17_intro/C++STYLE: Add global variable conventions.
2785 * docs/html/21_strings/howto.html: More notes.
2786 * docs/html/22_locale/howto.html: Fix HTML markup.
2787 * docs/html/27_io/howto.html: More notes.
2788 * docs/html/27_io/binary_iostreams_kanze.txt: New file.
2789 * docs/html/27_io/binary_iostreams_kuehl.txt: New file.
2791 2001-02-06 Jeffrey Oldham <oldham@codesourcery.com>
2793 * src/misc-inst.cc (_S_pad_char): Modify declaration's parameters
2794 to match header files.
2795 (_S_output_float): Likewise.
2796 (_S_copy_streambufs): Likewise.
2798 2001-02-06 Hyman Rosen <Hyman.Rosen@kbcfp.com>
2799 Phil Edwards <pme@sources.redhat.com>
2801 * include/bits/std_istream.h (op>> signed,unsigned char): Must
2802 use reinterpret_cast, not static_cast.
2804 2001-02-06 Benjamin Kosnik <bkoz@redhat.com>
2806 * acinclude.m4 (gxx_include_dir): Quote, fix regression.
2807 * aclocal.m4: Regenerate.
2808 * configure: Regenerate.
2810 2001-02-05 Benjamin Kosnik <bkoz@redhat.com>
2812 * include/bits/locale_facets.h (class moneypunct): Fix typos.
2813 * libsupc++/pure.cc: Revert.
2815 2001-02-05 Benjamin Kosnik <bkoz@redhat.com>
2817 * acinclude.m4 (GLIBCPP_CHECK_MATH_DECL_1): New macro.
2818 (GLIBCPP_CHECK_MATH_DECL_2): New macro.
2819 (GLIBCPP_CHECK_MATH_DECL_3): New macro.
2820 (GLIBCPP_CHECK_MATH_DECL_AND_LINKAGE_1): Use it, check for _* too.
2821 (GLIBCPP_CHECK_MATH_DECL_AND_LINKAGE_2): Same.
2822 (GLIBCPP_CHECK_MATH_DECL_AND_LINKAGE_3): Same.
2823 (GLIBCPP_CHECK_MATH_SUPPORT): Remove explicit checks for _* versions.
2824 * aclocal.m4: Regenerate.
2825 * configure: Regenerate.
2827 2001-02-05 Mark Mitchell <mark@codesourcery.com>
2829 * include/bits/locale_facets.tcc: Remove `static' keyword on
2830 function definitions.
2831 * include/bits/std_streambuf.h: Likewise.
2832 * src/Makefile.am: Remove use of -fimplicit-templates.
2833 * src/Makefile.in: Regenerated.
2834 * src/locale-inst.cc: Explicitly instantiate more functions.
2835 * src/misc-inst.cc: Likewise.
2836 * src/string-inst.cc: Likewise.
2838 2001-02-05 Benjamin Kosnik <bkoz@redhat.com>
2840 * acinclude.m4 (GLIBCPP_EXPORT_INSTALL_INFO): New
2841 macro. Consolidate all the bits to do with where includes might be
2843 * aclocal.m4: Regenerate.
2844 * configure.in: Use it.
2845 * configure: Regenerate.
2846 * src/Makefile.am (targetincludep): Use simplified rules.
2847 (targetincludep): Rename gxx_target_include_dir.
2848 (myincludep): Rename gxx_include_dir.
2849 * src/Makefile.in: Regenerate.
2850 * libsupc++/Makefile.am: Use simplified rules.
2851 * libsupc++/Makefile.in: Regenerate.
2853 2001-02-05 Benjamin Kosnik <bkoz@redhat.com>
2855 * include/c_std/bits/std_cerrno.h: Correct date format for copyright.
2856 * include/c_std/bits/std_cctype.h: Same.
2857 * include/c_std/bits/std_cassert.h: Same.
2858 * include/c_std/bits/std_cstdarg.h: Same.
2859 * include/c_std/bits/std_cstddef.h: Same.
2861 * include/c_std/bits/std_cstdio.h: Undefine all names brought into
2863 * include/c_std/bits/std_ctime.h: Same.
2864 * include/c_std/bits/std_clocale.h: Same.
2865 * include/c_std/bits/std_cmath.h: Same.
2866 * include/c_std/bits/std_csetjmp.h: Same.
2867 * include/c_std/bits/std_csignal.h: Same.
2868 * include/c_std/bits/std_cstring.h: Same.
2869 * include/c_std/bits/std_cstdlib.h: Same.
2870 * include/c_std/bits/std_cwchar.h: Same.
2872 2001-02-05 Phil Edwards <pme@sources.redhat.com>
2874 * testsuite/27_io/ios_base_members_static.cc: Swap order of tests.
2876 2001-02-05 Mark Mitchell <mark@codesourcery.com>
2878 * src/string-inst.cc (string::_M_replace): Explicitly instantiate.
2879 (string::_S_construct): Likewise.
2881 2001-02-05 Gabriel Dos Reis <gdr@codesourcery.com>
2883 * testsuite/config/default.exp: New file.
2884 * testsuite/config: New directory.
2886 2001-02-04 Mark Mitchell <mark@codesourcery.com>
2888 * libsupc++/typeinfo (__GXX_MERGED_TYPEINFO_NAMES): New macro.
2889 * libsupc++/tinfo.cc (std::typeinfo::operator==): Use strcmp
2890 whenever !__GXX_MERGED_TYPEINFO_NAMES.
2891 * libsupc++/tinfo2.cc (std::typeinfo::before): Likewise.
2893 2001-02-03 Alexandre Oliva <aoliva@redhat.com>
2894 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
2896 * Makefile.am (mkinstalldirs): Set.
2897 * src/Makefile.am (mkinstalldirs): Set.
2898 * libmath/Makefile.am (mkinstalldirs): Set.
2899 * libsup++/Makefile.am (mkinstalldirs): Set.
2900 * libio/Makefile.am (mkinstalldirs): Set.
2901 * */Makefile.in: Regenerate.
2903 2001-02-03 Benjamin Kosnik <bkoz@redhat.com>
2905 * include/bits/stl_threads.h (struct _STL_mutex_lock): Same.
2906 * include/bits/localefwd.h: More initialization cleanups.
2908 2001-02-03 Jeffrey A Law <law@cygnus.com>
2910 * include/bits/ios_base.h (_S_ios_fmtflags_end): Initialize
2911 correctly targets with 16bit ints.
2912 (_S_ios_openmode_end): Similarly.
2913 (_S_ios_iostate_end): Similarly.
2914 (_S_ios_Seekdir_end): Similarly.
2916 2001-02-02 Phil Edwards <pme@sources.redhat.com>
2918 * mkcheck.in: Also limit virtual memory size, for mmap-based mallocs.
2920 2001-02-01 Alexandre Oliva <aoliva@redhat.com>
2922 * configure.in (toplevel_srcdir, auxdir): Set.
2923 * acinclude.m4 (glibcpp_basedir): Set based on auxdir.
2924 * aclocal.m4, configure, Makefile.in: Rebuilt.
2925 * libio/Makefile.in, math/Makefile.in, src/Makefile.in: Likewise.
2926 * libsupc++-v3/Makefile.am (INCLUDES): Use toplevel_srcdir.
2927 * libsupc++-v3/Makefile.in: Rebuilt.
2928 * libsupc++-v3/configure.in, libsupc++-v3/configure: Removed.
2929 * libsupc++-v3/aclocal.m4, libsupc++-v3/config.h.in: Likewise.
2931 2001-01-30 Benjamin Kosnik <bkoz@redhat.com>
2933 * config/c_locale_generic.cc: Remove langinfo include.
2935 2001-01-29 Benjamin Kosnik <bkoz@redhat.com>
2937 Preliminary named locales.
2938 * acinclude.m4 (GLIBCPP_ENABLE_CLOCALE): New macro.
2939 * aclocal.m4: Regenerate.
2940 * configure.in: Use it.
2941 * configure: Regerate.
2942 * src/Makefile.am (sources): Add c++locale.cc.
2943 (build_headers): Add c++locale.h.
2944 * src/Makefile.in: Regenerate.
2945 * config/c_locale_gnu.h: New file.
2946 * config/c_locale_gnu.cc: New file. Non-inline member functions
2947 for named locales, gnu-specific.
2948 * config/c_locale_generic.h: New file.
2949 * config/c_locale_generic.cc: New file. Non-inline member
2950 functions for named locales, generic version.
2951 * docs/html/configopts.html: Add documentation on new options.
2953 * include/bits/locale_facets.h (class _Messages): Remove.
2954 (class _Moneypunct): Remove.
2955 * src/locale-inst.cc: Remove.
2957 * include/bits/locale_facets.h (class _Collate): Remove.
2958 * src/locale-inst.cc (std): Remove.
2959 * src/locale.cc: And here.
2961 * include/bits/localefwd.h (locale::_M_coalesce): New
2962 function. Correctly put together multi-name locales.
2963 (_Impl(const _Impl&, category, size_t)): Remove.
2965 * include/bits/localefwd.h (locale::_Impl): Remove _M_construct_*
2967 (_M_normalize_category_names): Remove.
2968 (_M_replace_categories): Fix.
2970 * src/localename.cc (locale::_Impl::_M_construct_collate): Remove.
2971 (locale::_Impl::_M_construct_ctype): Remove.
2972 (locale::_Impl::_M_construct_monetary): Remove.
2973 (locale::_Impl::_M_construct_numeric): Remove.
2974 (locale::_Impl::_M_construct_time): Remove.
2975 (locale::_Impl::_M_construct_messages): Remove.
2977 * include/bits/locale_facets.h (_Bad_use_facet): Remove.
2978 (_Use_facet_failure_handle): Remove.
2979 * src/locale.cc: Remove definitions.
2980 * src/locale-inst.cc: And here.
2982 * testsuite/22_locale/ctor_copy_dtor.cc (test01): Fixup. Add tests.
2984 * src/localename.cc (locale::facet::_S_create_c_locale): Properly
2985 create and error-check underlying locale object.
2986 (locale::facet::_S_destroy_c_locale): Add, take care of properly
2987 tearing down underlying locale object.
2988 * include/bits/localefwd.h (locale::facet): Declare.
2989 * testsuite/22_locale/members.cc: Don't test "fr_FR" locale for
2990 correctness, as glibc apparently has incorrect info in it. Test
2991 with it when it works again.....
2993 * include/bits/localefwd.h (locale::_Impl::__vec_string):
2994 Remove. Number of categories is fixed at six, so just simplify and
2995 make this an array of strings.
2996 (locale::_Impl::_M_has_name): Remove.
2997 (locale::_Impl::_M_name): Remove.
2998 (locale::_Impl::_M_category_names): Turns into...
2999 (locale::_Impl::_M_names): ...this.
3000 (locale::_Impl::_M_has_same_name()): New function.
3001 * src/localename.cc (locale::_Impl::~_Impl()): Remove here.
3002 (locale::_Impl::_Impl(size_t __refs, string __str)): Simplify
3004 * src/locale.cc (locale::name()): Construct mangled name
3005 accurately reflecting combined locale categories.
3007 * src/locale.cc (locale::classic()): Don't initialize here.
3008 * src/localename.cc (locale::_Impl::_Impl(size_t __num, size_t
3009 __refs, bool __has_name, string __str): Do it here.
3011 * include/bits/localefwd.h: _S_categories_num to
3012 _S_num_categories. _S_facets_num to _S_num_facets.
3013 (locale::id::id()): Explicitly set _M_index to zero.
3014 * src/locale.cc: Same.
3016 * src/locale.cc: (locale::locale(const char*)): Construct named
3019 * src/locale.cc: Remove numpunct_byname ctors.
3020 * testsuite/22_locale/numpunct_byname.cc: New file.
3021 * testsuite/22_locale/numpunct.cc: New file.
3023 * include/bits/localefwd.h (class locale): Change data members to
3024 protected, from private.
3025 (_Impl::_M_get_c_locale): Add member function.
3026 (locale::facet::_M_get_global_impl()): Add member function.
3027 * include/bits/locale_facets.h (numpunct::_M_init): Change to take
3028 a __c_locale pointer.
3029 (numpunct::numpunct( __c_locale*, size_t)): Add additonal ctor for
3031 * testsuite/22_locale/members.cc: New file, test name and combine.
3033 * include/bits/locale_facets.h (class numpunct): Remove class
3034 _Punct and _Numpunct. Rewrite class numpunct to be correct for
3036 * include/bits/localefwd.h (locale::_Imp::_M_c_locale): Add.
3037 * src/localename.cc (_Impl::~_Impl()): Call __frelocale.
3038 (_Imp::_Impl(size_t, size_t, bool, string)) Initialize _M_c_locale.
3039 * src/locale-inst.cc: Remove _Numpunct, _Punct instantiations.
3040 * testsuite/22_locale/numpunct_char_members.cc: New file.
3042 2001-01-28 Gabriel Dos Reis <gdr@codesourcery.com>
3044 * testsuite/README: Add more comment.
3045 * testsuite/lib/libstdc++.exp: Tweak comment.
3047 2001-01-26 Benjamin Kosnik <bkoz@kredhat.com>
3049 * libsupc++/pure.cc (writestr): Just use cstdio and std::fputs.
3051 2001-01-25 Loren J. Rittle <ljrittle@acm.org>
3053 * testsuite/21_strings/inserters_extractors.cc: Remove
3054 explicit reference to 'testsuite/'.
3056 2001-01-25 Richard Henderson <rth@redhat.com>
3058 * config/cpu/alpha/bits/atomicity.h: Remove tricky .subsetion
3059 bits. Fixes Tru64 build issues.
3061 2001-01-25 Michael Sokolov <msokolov@ivan.Harhan.ORG>
3063 * acinclude.m4 (GLIBCPP_CHECK_GNU_MAKE): Bourne shell portability bug
3064 (use ${MAKE-make}, not ${MAKE:-make}).
3065 * aclocal.m4, configure: Regenerate.
3067 2001-01-25 Mark Mitchell <mark@codesourcery.com>
3069 * src/ios.cc: Remove accidental inclusion of <stdio.h> in last
3072 * src/Makefile.am (sources): Add globals.cc.
3073 * src/Makefile.in: Regenerated.
3074 * src/globals.cc: New file.
3075 * src/ios.cc (cin): Don't define here, just declare extern.
3084 2001-01-25 Phil Edwards <pme@sources.redhat.com>
3086 * include/bits/std_iterator.h: Do not include stl_relops.h.
3087 * include/bits/std_numeric.h: Ditto.
3088 * include/bits/stl_algobase.h: Ditto.
3089 * include/bits/stl_relops.h: Add comment warning about problems.
3091 2001-01-25 Gabriel Dos Reis <gdr@codesourcery.com>
3093 * testsuite/27_io/*.cc: Remove explicit reference to 'testsuite/'
3094 in testcases. Prepare for the DejaGnu based framework.
3095 * mkcheck.in: Adjust call to tests_flags. Don't mmkdir testsuite
3096 directory -- it is now mkcheck working directory.
3097 * tests_flags.in: Remove reference to $(top_srcdir). Use
3099 * Makefile.am (check, check-install): Change mkcheck invocation
3101 * Makefile.in: Regenerate.
3103 2001-01-24 Mark Mitchell <mark@codesourcery.com>
3105 * config/os/aix/bits/atomicity.h (__compare_and_swap): Remove.
3106 (__always_swap): Likewise.
3108 2001-01-23 Chris Demetriou <cgd@broadcom.com>
3110 * libsupc++/exception_support.cc (__terminate_func): Remove
3112 (__terminate_func_ptr): New typedef.
3113 (__terminate, __terminate_set_func): New extern function
3115 (std::terminate): Use __terminate function.
3116 (std::set_terminate): Use __terminate_set_func function.
3118 2001-01-23 Benjamin Kosnik <bkoz@redhat.com>
3120 * configure.target: Just use os_include_dir always.
3121 * configure.in: Remove calls to GLIBCPP_CHECK_CTYPE_SUPPORT.
3122 Link atomicity files and ctype files here.
3123 * configure: Regenerate.
3124 * acinclude.m4 (GLIBCPP_CHECK_CTYPE_SUPPORT): Remove.
3125 (GLIBCPP_ENABLE_ATOMICITY): Remove.
3126 * aclocal.m4: Regenerate.
3128 2001-01-23 Chris Demetriou <cgd@broadcom.com>
3130 * configure.in: Place definition of MULTISUBDIR in
3131 libsupc++/Makefile as is done for src/Makefile.
3132 * configure: Regenerate.
3134 2001-01-23 Phil Edwards <pme@sources.redhat.com>
3136 * acinclude.m4: Cosmetic changes only.
3137 * aclocal.m4: Regenerated.
3138 * configure: Regenerated.
3139 * configure.target: Update documented list of changed variables.
3140 * docs/html/install.html: Fix typo.
3141 * docs/html/20_util/howto.html: More notes on auto_ptr.
3142 * docs/html/27_io/howto.html: More notes on streabufs.
3143 * docs/html/faq/index.html: Add rel_ops problem and mention the
3144 DEC as(1) .subsection difficulty.
3145 * docs/html/faq/index.txt: Regenerated.
3147 2001-01-23 Mark Mitchell <mark@codesourcery.com>
3149 * ainclude.m4 (GLIBCPP_CHEC_MATH_DECLS_AND_LINKAGE_1): New macro.
3150 (GLIBCPP_CHECK_MATH_SUPPORT): Use it.
3151 (GLIBCPP_CHECK_TYPE_SUPPORT): Don't autoconf ctype information if
3152 its already provided in config.target.
3153 * aclocal.m4: Regenerated.
3154 * configure: Likewise.
3155 * configure.target: Set ctype_include_dir for lots of systems.
3156 * libsupc++/Makefile.am: Explicitly include --tag disable-shared.
3157 * libsupc++/Makefile.in: Regenerated.
3159 2001-01-23 Gabriel Dos Reis <gdr@codesourcery.com>
3161 * testsuite/lib/libstdc++.exp: Improve. Add support for @xxx#
3164 * testsuite/README: Add comment.
3166 2001-01-21 Phil Edwards <pme@sources.redhat.com>
3168 * docs/html/configopts.html: Update for current status. Fix HTML.
3169 * docs/html/install.html: Update for current status.
3171 2001-01-20 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
3173 * testsuite/libstdc++.tests/tests.exp: New file.
3174 * testsuite/lib/libstdc++.exp: Itou.
3175 * testsuite/README: Itou.
3177 2001-01-20 Gabriel Dos Reis <gdr@codesourcery.com>
3179 * tests_flags.in: Just output the bare minimum to run tests.
3180 Let's the caller do its own arrangement.
3182 * mkcheck.in: Rename INC_PATH to INCLUDES. Adjust flags
3185 2001-01-19 Gabriel Dos Reis <gdr@codesourcery.com>
3187 * testsuite/17_intro: Prepare testcases for new style DejaGnu
3190 2001-01-18 Gabriel Dos Reis <gdr@codesourcery.com>
3192 * testsuite/libstdc++.tests, testsuite/lib: New directories.
3194 2001-01-17 Loren J. Rittle <ljrittle@acm.org>
3196 * mkcheck.in: Construct file names that match $objdir structure.
3197 * testsuite/27_io/filebuf_members-1.txt: New file.
3198 * testsuite/27_io/ifstream_members-1.txt: New file.
3199 * testsuite/27_io/ostream_inserter_char-1.txt: New file.
3201 * testsuite/27_io/ios_base_members_static.cc (test02): Add test.
3202 * testsuite/27_io/ios_base_members_static-1.tst: Add expected output.
3204 2001-01-17 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
3206 * testsuite/27_io/istream_sentry.cc (test02): Fix.
3208 2001-01-17 Benjamin Kosnik <bkoz@redhat.com>
3211 * include/bits/ios_base.h (ios_base::failure): Tighten up throw specs.
3212 * src/ios.cc (ios_base::failure): Make definitions match.
3213 * libsupc++/typeinfo (class bad_typeid): Add throw specs.
3214 (class bad_cast): Same.
3215 * libsupc++/exception (class exception): Add throw specs.
3216 * libsupc++/exception_support.cc (set_terminate): Add throw specs.
3217 (set_unexpected): Same.
3218 (uncaught_exception): Same.
3221 * docs/html/17_intro/C++STYLE (classname): Fix.
3223 2001-01-16 Mark Mitchell <mark@codesourcery.com>
3225 * src/gen-num-limits.cc (INSTANTIATIONS): New macro.
3226 Use it do explicitly instantiate predicate<T> and value<T> for
3229 2001-01-16 Nathan Sidwell <nathan@codesourcery.com>
3231 * libsupc++/exception_support.cc (__cp_pop_exception): Fix
3232 uninitialized thinko in last change.
3234 2001-01-16 Mark Mitchell <mark@codesourcery.com>
3236 * libsupc++/exception_support.cc (__cp_pop_exception): Change
3239 2001-01-16 Benjamin Kosnik <bkoz@redhat.com>
3241 * docs/html/17_intro/C++STYLE (classname): Add more existing
3242 and stylish patterns.
3245 * include/bits/istream.tcc (istream::sentry::sentry()): Set
3246 failbit if the state of the stream is not good.
3247 * testsuite/27_io/istream_sentry.cc (test02): Add test.
3248 * testsuite/27_io/istream_manip.cc (test01): Modify.
3251 reported by Paolo Carlini <pcarlini@unitus.it>
3252 * include/bits/istream.tcc (operator>>(istream&, string&)): Fix.
3253 * testsuite/21_strings/inserters_extractors.cc (test08): Add test.
3256 * include/bits/std_streambuf.h (setp): Set _M_buf_size correctly.
3257 * include/bits/streambuf.tcc (xsputn): Remove outside if clause.
3258 (xsgetn): Same. Simplify.
3259 * testsuite/27_io/streambuf.cc (test04): Add testcases.
3261 reported by Larry Evans <jcampbell3@prodigy.net>
3262 * include/bits/streambuf.tcc (streambuf::xsputn): Just check for
3263 equality with eof on returned value from overflow.
3265 2001-01-14 Andreas Jaeger <aj@suse.de>
3267 * libio/libio.h: Add test for glibc 2.0.
3269 2001-01-12 Benjamin Kosnik <bkoz@redhat.com>
3271 * config/os/djgpp/bits/*: Fix dates.
3273 * include/bits/basic_string.h (_S_find(const _CharT* __beg, const
3274 _CharT* __end, _CharT __c): Remove.
3275 * include/bits/basic_string.tcc: Substitute traits::find for _S_find.
3276 * include/bits/char_traits.h: Tweak.
3278 2001-01-12 Laurynas Biveinis <lauras@softhome.net>
3280 * acinclude.m4 (GLIBCPP_CHECK_CTYPE_SUPPORT): check for DJGPP <ctype.h>
3281 (LIB_AC_PROG_CXX): replace [/\\] with [\\/] to work around older
3283 * aclocal.m4: regenerated.
3284 * configure.target: set os_include_dir to config/os/djgpp under DJGPP.
3285 * configure: regenerated.
3286 * config/os/djgpp, config/os/djgpp/bits: new directories.
3287 * config/os/djgpp/bits/ctype_base.h,
3288 config/os/djgpp/bits/ctype_inline.h,
3289 config/os/djgpp/bits/ctype_noninline.h,
3290 config/os/djgpp/bits/os_defines.h: new files.
3292 2001-01-11 Joseph S. Myers <jsm28@cam.ac.uk>
3294 * include/c_std/bits/std_cstdio.h: Undef printf.
3296 2001-01-10 Benjamin Kosnik <bkoz@redhat.com>
3298 * src/ios.cc: Fix typo: change cout->wcout.
3300 * src/Makefile.am (targetincludep): Fix for version-specific-libs.
3301 * src/Makefile.in: Regenerate.
3303 2001-01-10 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
3305 * include/bits/std_complex.h: Fix a typo.
3307 2001-01-09 Benjamin Kosnik <bkoz@redhat.com>
3310 Fixes for libstdc++/1576
3311 * src/stdstreams.cc: Initialize with NULL filebuf. Delete
3312 file, move contents into....
3313 * src/ios.cc: ...Here. Put defines for iostreams objects and
3314 initialization routines into one file to simplify DSO interaction.
3315 * include/bits/std_iostream.h: Touch.
3316 * include/bits/ios_base.h (_S_synched_with_stdio): Make static.
3317 * src/Makefile.am (sources): Remove stdstreams.cc.
3318 * src/Makefile.in: Regenerate.
3320 2001-01-10 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
3322 * tests_flags.in (check_directory): Fix typo.
3324 2001-01-09 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
3326 * include/bits/std_complex.h: Fix a typo.
3328 2001-01-09 Loren J. Rittle <ljrittle@acm.org>
3330 * config/os/bsd/freebsd/bits/ctype_inline.h (is): (Make right
3331 code path:) Remove magic constants and restructure to handle
3332 ctype.h bit mask layout changes more gracefully. (Make fast
3333 code path:) Use __maskrune (), if available.
3334 (is): Remove special case for digit and xdigit masks.
3336 2001-01-09 Robert Lipe <robertlipe@usa.net>
3338 * include/c_std/bits/std_ctime.h: Undefine difftime.
3340 2001-01-09 Alexandre Oliva <aoliva@redhat.com>
3342 * src/gen-num-limits.cc (signal_adapter): New template function.
3343 (signal_handler): Use it, instead of signal.
3344 (traps<T>): Likewise. Install SIGTRAP handler too. Don't
3345 require both tests to trap to set trap_flag.
3347 2001-01-08 Benjamin Kosnik <bkoz@redhat.com>
3349 * include/bits/fpos.h (fpos:::fpos(streamoff __pos)): Explicitly
3350 initialize mbstate_t member, name offset data members *off, not pos.
3351 * include/bits/fstream.tcc (filebuf::filebuf): Same.
3353 2001-01-08 Benjamin Kosnik <bkoz@redhat.com>
3355 reported by Chris G. Demetriou <cgd@sibyte.com>
3356 * configure.in: Change -linux-* to -linux*.
3357 * configure: Regenerate.
3359 2001-01-05 Benjamin Kosnik <bkoz@redhat.com>
3361 Fix 27_io/filebuf_members.cc
3362 * src/localename.cc (locale::_Impl::_Impl(const _Impl& __imp,
3363 const string& __name, category __cat, size_t __refs): Set
3364 _M_has_name with _M_name.
3365 * include/bits/localefwd.h (locale::operator!=): Protect member
3366 function call with this->.
3367 * src/locale.cc (locale::operator==): Make fast checks first.
3368 * include/bits/basic_ios.tcc (basic_ios::init): Simplify.
3370 * include/bits/ios_base.h (_M_synced_with_stdio): Add data member
3372 * src/ios.cc (ios_base::Init::Init): Initialize here.
3373 (ios_base::sync_with_stdio): Set here.
3375 2001-01-04 Loren J. Rittle <ljrittle@acm.org>
3377 * config/c_io_stdio.cc (__basic_file<_CharT>::sys_open()): On
3378 systems that support it, call dup() before fdopen().
3380 2001-01-03 Benjamin Kosnik <bkoz@redhat.com>
3382 * include/c_std/bits/std_cwctype.h: Include std_cwchar.h for wint_t.
3383 * testsuite/17_intro/header_cwctype.cc (main): New file.
3385 * src/Makefile.am (base_headers): Change.
3386 * include/bits/std_string.h: And here.
3387 * include/bits/string.tcc: Tweaks, move to...
3388 * include/bits/basic_string.tcc: ...Here.
3389 * src/string-inst.cc: Simplify, just instantiate the whole class,
3390 not member-by-member.
3392 2001-01-02 Benjamin Kosnik <bkoz@redhat.com>
3394 * acinclude.m4 (GLIBCPP_ENABLD_CSTDIO): Add in default value.
3395 * aclocal.m4: Regenerate.
3396 * configure: Regenerate.
3398 * include/bits/c++config (__GLIBCPP__): Bump version number.
3400 * ChangeLog: Start new log for year 2001
3401 * ChangeLog-2000: New file.
3403 * docs/html/configopts.html: Make sure default values are current,
3406 2001-01-01 Benjamin Kosnik <bkoz@fillmore.redhat.com>
3408 * include/c_std/bits/std_cwchar.h: Same.
3409 * testsuite/17_intro/header_cwchar.cc: Same.
3410 * include/c_std/bits/std_ctime.h: Same.
3411 * testsuite/17_intro/header_ctime.cc: Same.
3412 * include/c_std/bits/std_cstdlib.h: Same.
3413 Clean up undefs, make consistent with cwchar and cmath, etc.
3414 * testsuite/17_intro/header_cstdlib.cc: Same.
3415 * include/c_std/bits/std_cstdio.h: Same here.
3416 * testsuite/17_intro/header_cstring.cc: Same.
3417 * include/c_std/bits/std_cstring.h: Include std_cstddef.h for size_t.
3418 * testsuite/17_intro/header_cstring.cc: New file. Check for
3419 size_t in namespace std.
3421 * include/c_std/bits/std_cwchar.h: Explicit checks for mbstate_t.
3422 * acconfig.h (HAVE_MBSTATE_T): Add.
3423 * config.h.in: Regenerate.
3424 * acinclude.m4(GLIBCPP_CHECK_WCHAR_T_SUPPORT): Always test for
3426 * aclocal.m4: Regenerate.
3427 * configure: Regenerate.
3428 * testsuite/17_intro/headers_c++.cc: New file.
3429 * testsuite/17_intro/headers_c.cc: Small changes.
3431 2001-01-01 David Billinghurst <David.Billinghurst@riotinto.com>
3433 * tests_flags.in: Fix typo in usage.
3435 * tests_flags.in: Set target specific LIBS for cygwin.