]> git.ipfire.org Git - thirdparty/gcc.git/blob - libstdc++-v3/ChangeLog
Merge basic-improvements-branch to trunk
[thirdparty/gcc.git] / libstdc++-v3 / ChangeLog
1 2002-12-11 Paolo Carlini <pcarlini@unitus.it>
2
3 PR libstdc++/8887
4 * config/locale/generic/time_members.cc
5 (__timepunct<char>::_M_initialize_timepunct): Fix typos
6 in _M_date_format and _M_date_era_format string literals.
7
8 2002-12-10 Mark Mitchell <mark@codesourcery.com>
9
10 * libsupc++/cxxabi.h (__cxa_bad_cast): Declare it.
11 (__cxa_bad_typeid): Likewise.
12 (__cxa_atexit): Likewise.
13 (__cxa_finalize): Likewise.
14
15 2002-12-09 Gabriel Dos Reis <gdr@integrable-solutions.net>
16
17 * include/bits/slice_array.h (slice_array<>::operator=): Fix typo.
18
19 2002-12-09 Mark Mitchell <mark@codesourcery.com>
20
21 * libsupc++/cxxabi.h (__cxa_pure_virtual): Declare it.
22
23 2002-12-05 Benjamin Kosnik <bkoz@redhat.com>
24
25 * testsuite/abi_check.cc: Add GLIBCPP_3.2.2.
26
27 2002-12-04 Paolo Carlini <pcarlini@unitus.it>
28
29 * config/locale/generic/codecvt_members.cc (codecvt::do_out
30 (state_type&, const intern_type*, const intern_type*,
31 const intern_type*&, extern_type*, extern_type*, extern_type*&),
32 codecvt::do_in(state_type&, const extern_type*, const extern_type*,
33 const extern_type*&, intern_type*, intern_type*, intern_type*&)):
34 Fully qualify min() with std::.
35 * config/locale/gnu/codecvt_members.cc: Ditto.
36 * locale/ieee_1003.1-2001/codecvt_specializations.h
37 (codecvt::do_length(const state_type&, const extern_type*,
38 const extern_type*, size_t): Ditto.
39 * include/bits/deque.tcc
40 (_M_range_initialize(_ForwardIterator, _ForwardIterator,
41 forward_iterator_tag), deque::_M_range_insert_aux(iterator,
42 _ForwardIterator, _ForwardIterator, forward_iterator_tag),
43 deque::_M_reallocate_map(size_type, bool)): Fully qualify
44 distance() and max() with std::.
45 * include/bits/fstream.tcc (basic_filebuf::seekoff(off_type,
46 ios_base::seekdir, ios_base::openmode)): Fully qualify max()
47 with std::.
48 * include/bits/istream.tcc (basic_istream::ignore(streamsize,
49 int_type), basic_istream::readsome(char_type*, streamsize)):
50 Fully qualify min() with std::.
51 * include/bits/locale_facets.tcc (time_get::_M_extract_name
52 (iter_type&, iter_type&, int&, const _CharT**, size_t,
53 ios_base::iostate&)): Ditto.
54 * include/bits/sstream.tcc (basic_stringbuf::overflow(int_type)):
55 Fully qualify max() with std::.
56 * include/bits/stl_algo.h (__inplace_stable_partition(_ForwardIter
57 __first, _ForwardIter, _Predicate, _Distance),
58 __stable_partition_adaptive(_ForwardIter, _ForwardIter, _Predicate,
59 _Distance, _Pointer, _Distance), __merge_sort_loop(_RandomAccessIter1,
60 _RandomAccessIter1, _RandomAccessIter2, _Distance),
61 __merge_sort_loop(_RandomAccessIter1, _RandomAccessIter1,
62 _RandomAccessIter2, _Distance, _Compare), lower_bound(_ForwardIter,
63 _ForwardIter, const _Tp&), lower_bound(_ForwardIter, _ForwardIter,
64 const _Tp&, _Compare), upper_bound(_ForwardIter, _ForwardIter,
65 const _Tp&), upper_bound(_ForwardIter, _ForwardIter, const _Tp&,
66 _Compare), equal_range(_ForwardIter, _ForwardIter, const _Tp&),
67 equal_range(_ForwardIter, _ForwardIter, const _Tp&, _Compare),
68 __merge_without_buffer(_BidirectionalIter, _BidirectionalIter,
69 _BidirectionalIter, _Distance, _Distance), __merge_without_buffer
70 (_BidirectionalIter, _BidirectionalIter, _BidirectionalIter,
71 _Distance, _Distance, _Compare), __rotate_adaptive(_BidirectionalIter1,
72 _BidirectionalIter1, _BidirectionalIter1, _Distance, _Distance,
73 _BidirectionalIter2, _Distance), __merge_adaptive(_BidirectionalIter,
74 _BidirectionalIter, _BidirectionalIter, _Distance, _Distance,
75 _Pointer, _Distance), __merge_adaptive(_BidirectionalIter,
76 _BidirectionalIter, _BidirectionalIter, _Distance, _Distance,
77 _Pointer, _Distance, _Compare), inplace_merge(_BidirectionalIter,
78 _BidirectionalIter, _BidirectionalIter), inplace_merge
79 (_BidirectionalIter, _BidirectionalIter, _BidirectionalIter,
80 _Compare), __find_end(_BidirectionalIter1, _BidirectionalIter1,
81 _BidirectionalIter2, _BidirectionalIter2, bidirectional_iterator_tag,
82 bidirectional_iterator_tag), __find_end(_BidirectionalIter1,
83 _BidirectionalIter1, _BidirectionalIter2, _BidirectionalIter2,
84 bidirectional_iterator_tag, bidirectional_iterator_tag,
85 _BinaryPredicate)): Fully qualify distance() and min() with std::.
86 * include/bits/stl_algobase.h (lexicographical_compare
87 (const unsigned char*, const unsigned char*, const unsigned char*,
88 const unsigned char*)): Fully qualify min() with std::.
89 * include/bits/stl_bvector.h (_M_insert_range(iterator,
90 _ForwardIterator, _ForwardIterator, forward_iterator_tag),
91 _M_assign_aux(_ForwardIterator, _ForwardIterator, forward_iterator_tag),
92 _M_initialize_range(_ForwardIterator, _ForwardIterator,
93 forward_iterator_tag), _M_fill_insert(iterator, size_type, bool)):
94 Fully qualify distance() and max() with std::.
95 * include/bits/stl_deque.h (_Deque_base::_M_initialize_map(size_t),
96 _M_assign_aux(_ForwardIterator, _ForwardIterator, forward_iterator_tag)):
97 Ditto.
98 * include/bits/stl_list.h (size()): Fully qualify distance() with std::.
99 * include/bits/stl_tempbuf.h (_Temporary_buffer::_Temporary_buffer
100 (_ForwardIterator, _ForwardIterator)): Ditto.
101 * include/bits/stl_tree.h (_Rb_tree::erase(const _Key&),
102 _Rb_tree::count(const _Key&)): Ditto.
103 * include/bits/stl_vector.h (_M_range_initialize(_ForwardIterator,
104 _ForwardIterator, forward_iterator_tag)): Ditto.
105 * include/bits/streambuf.tcc (basic_streambuf::xsgetn(char_type*,
106 streamsize), basic_streambuf::xsputn(const char_type*, streamsize)):
107 Fully qualify min() with std::.
108 * include/bits/vector.tcc (_M_assign_aux(_ForwardIter, _ForwardIter,
109 forward_iterator_tag), _M_fill_insert(iterator, size_type,
110 const value_type&), _M_range_insert(iterator, _ForwardIterator,
111 _ForwardIterator, forward_iterator_tag)): Fully qualify max() and
112 distance() with std::.
113 * include/std/std_bitset.h (bitset::_M_copy_from_string
114 (const basic_string&, size_t, size_t)): Fully qualify min() with std::.
115 * include/std/std_streambuf.h (_M_pback_create()): Ditto.
116 * include/std/std_complex.h (abs(const complex<_Tp>&)):
117 Fully qualify max() with std::.
118 * include/std/std_sstream.h (str()): Ditto.
119 * src/codecvt.cc (codecvt::do_out(state_type&, const intern_type*,
120 const intern_type*, const intern_type*&, extern_type*, extern_type*,
121 extern_type*&), codecvt::do_in(state_type&, const extern_type*,
122 const extern_type*, const extern_type*&, intern_type*, intern_type*,
123 intern_type*&), codecvt::do_length(const state_type&,
124 const extern_type*, const extern_type*, size_t), do_length
125 (const state_type&, const extern_type*, const extern_type*,
126 size_t)): Fully qualify min() with std::.
127 * src/strstream.cc (strstreambuf::strstreambuf(streamsize),
128 strstreambuf::overflow(int_type)): Fully qualify max() with std::.
129
130 2002-12-02 Paolo Carlini <pcarlini@unitus.it>
131
132 * include/bits/basic_string.h (compare(const basic_string&)):
133 Fully qualify min() with std::.
134
135 2002-12-02 Benjamin Kosnik <bkoz@redhat.com>
136
137 * configure.in (libtool_VERSION): Update to 5:2:0.
138 * configure: Regenerate.
139
140 2002-12-02 Paolo Carlini <pcarlini@unitus.it>
141
142 * include/bits/basic_string.tcc
143 (basic_string::append(const basic_string&, size_type,
144 size_type), basic_string::compare(size_type, size_type,
145 const basic_string&), basic_string::compare(size_type,
146 size_type, const basic_string&, size_type, size_type),
147 basic_string::compare(const _CharT*), basic_string::
148 compare(size_type, size_type, const _CharT*),
149 basic_string::compare(size_type, size_type, const _CharT*,
150 size_type), _S_string_copy(const basic_string&, _CharT*,
151 typename _Alloc::size_type)): Fully qualify min() with std::.
152
153 2002-12-02 Paolo Carlini <pcarlini@unitus.it>
154
155 * include/bits/basic_string.tcc
156 (basic_string::_S_construct(_InIter, _InIter, const _Alloc&,
157 forward_iterator_tag)): Delay the declaration of __dnew,
158 fully qualify distance() with std::.
159 (basic_string::_M_replace_safe): Fully qualify distance()
160 with std::.
161
162 2002-11-28 Phil Edwards <pme@gcc.gnu.org>
163
164 PR libstdc++/8716
165 * testsuite/21_strings/ctor_copy_dtor.cc (test05): Also test
166 the NULL-pointer, zero-size case.
167
168 2002-11-28 Jonathan Wakely <redi@gcc.gnu.org>
169
170 * docs/html/faq/index.html: Add tip about a namespace for extensions.
171
172 2002-11-28 Paolo Carlini <pcarlini@unitus.it>
173 Nathan Myers <ncm@cantrip.org>
174
175 * src/localename.cc
176 (locale::_Impl::_Impl(const char*, size_t)):
177 Improve previous fix for the strtok vs MT issue.
178
179 2002-11-28 Paolo Carlini <pcarlini@unitus.it>
180
181 * config/locale/gnu/c_locale.cc (locale::_S_categories):
182 Reorder the categories to match that of glibc's setlocale(LC_ALL, ""))
183 * config/locale/generic/c_locale.cc (locale::_S_categories): Ditto.
184 * testsuite/22_locale/ctor_copy_dtor.cc (test04): Tweak.
185
186 2002-11-25 Benjamin Kosnik <bkoz@redhat.com>
187
188 * testsuite/abi_check.cc: Add CXXABI_1.2.1 as compatible.
189 * config/linker-map.gnu: Version __cxa_guard_acquire,
190 __cxa_guard_release, __cxa_guard_abort in CXXABI_1.2.1.
191
192 2002-11-25 Paolo Carlini <pcarlini@unitus.it>
193 Nathan Myers <ncm@cantrip.org>
194
195 * src/localename.cc
196 (locale::_Impl::_Impl(const char*, size_t)):
197 Avoid strtok for thread safety.
198
199 2002-11-25 Stephen M. Webb <stephen@bregmasoft.com>
200
201 * testsuite/testsuite_allocator.h: New file.
202 * testsuite/testsuite_allocator.cc: New file.
203 * testsuite/Makefile.am: Added testsuite_allocator to test library.
204 * testsuite/testsuite_hooks.h: Added more detailed tracker objects
205 gnu_copy_constructor, gnu_assignment_operator, and gnu_destructor.
206 * testsuite/testsuite_hooks.cc: Added new static objects definitions.
207 * testsuite/23_containers/vector_capacity.cc: Added reserve() tests.
208 * testsuite/23_containers/vector_ctor.cc: Added a plethora of tests.
209 * testsuite/23_containers/deque_ctor.cc: Added a slew of new tests.
210
211 2002-11-25 Mark Mitchell <mark@codesourcery.com>
212
213 * libsupc++/Makefile.am (sources): Add guard.cc.
214 * libsupc++/Makefile.in: Regenerated.
215 * libsupc++/cxxabi.h (__cxa_guard_acquire): New function.
216 (__cxa_guard_release): Likewise.
217 (__cxa_guard_abort): Likewise.
218 * libsupc++/guard.cc: New file.
219
220 2002-11-25 Wolfgang Bangerth <bangerth@ticam.utexas.edu>
221
222 * include/std/std_complex.h
223 (operator<<(basic_ostream&, const complex&)): Prefer 'x'
224 to "x" for efficiency sake.
225 * src/locale.cc (locale::locale(const char*)): Ditto.
226
227 2002-11-24 Paolo Carlini <pcarlini@unitus.it>
228
229 * src/locale.cc (locale::locale(const char*)):
230 Trivial cosmetic tweaks.
231
232 2002-11-22 Laszlo Ersek <erseklaszlo@chello.hu>
233 Paolo Carlini <pcarlini@unitus.it>
234
235 PR libstdc++/8645
236 * include/bits/stl_tree.h (_Rb_tree_rebalance_for_erase):
237 Don't check that __w->_M_left != 0 and __w->_M_right != 0
238 when they can't be otherwise.
239
240 2002-11-21 Phil Edwards <pme@gcc.gnu.org>
241
242 * docs/html/documentation.html: Fix broken/thinko'd URL.
243
244 2002-11-21 Phil Edwards <pme@gcc.gnu.org>
245
246 * docs/doxygen/run_doxygen: Tighter search expression for sed.
247 * docs/doxygen/stdheader.cc: Handle the case of good headers.
248
249 2002-11-21 Phil Edwards <pme@gcc.gnu.org>
250
251 * acinclude.m4: Uniform formatting.
252 * configure.in: Warn when generic atomicity.h is used.
253 * configure.target: Fix comment.
254 * aclocal.m4, configure: Regenerate.
255
256 2002-11-21 Phil Edwards <pme@gcc.gnu.org>
257
258 * include/bits/streambuf.tcc (basic_streambuf::sputbackc): Prefix
259 "this->" to call to pbackfail.
260
261 2002-11-21 Phil Edwards <pme@gcc.gnu.org>
262
263 * docs/doxygen/style.css: Update.
264 * docs/doxygen/user.cfg.in: Update.
265 * docs/html/documentation.html: Regenerate.
266 * docs/html/17_intro/howto.html: Tweak I/O sentry entry.
267 * docs/html/27_io/howto.html: New section on headers.
268 * docs/html/faq/index.html: Add i386 threading entry.
269 * docs/html/faq/index.txt: Regenerate.
270
271 * docs/html/ext/lwg-active.html, docs/html/ext/lwg-defects.html:
272 Import R23.
273
274 2002-11-21 Phil Edwards <pme@gcc.gnu.org>
275
276 * docs/doxygen/TODO: Note change in clause 27 docs.
277 * include/bits/basic_ios.h, include/bits/fpos.h,
278 include/bits/ios_base.h, include/bits/stl_deque.h,
279 include/bits/stl_iterator_base_types.h, include/std/std_fstream.h,
280 include/std/std_iomanip.h, include/std/std_iosfwd.h,
281 include/std/std_iostream.h, include/std/std_istream.h,
282 include/std/std_ostream.h, include/std/std_sstream.h,
283 include/std/std_streambuf.h: Doxygenate all I/O entities.
284
285 2002-11-20 Benjamin Kosnik <bkoz@redhat.com>
286 Jonathan Lennox <lennox@cs.columbia.edu>
287
288 * include/bits/streambuf.tcc (__copy_streambufs):
289 Revert previous fix for the interactive half of
290 libstdc++/6745, use _M_buf_size_opt to set dynamically
291 the correct buffer size.
292
293 2002-11-20 Jonathan Wakely <redi@gcc.gnu.org>
294
295 * docs/html/21_strings/howto.html: Fix example code, cite Gaby's
296 explanation of "<unknown type>" error with toupper/tolower.
297 * docs/html/22_locale/howto.html: Be more consistent with
298 example in 21_strings.
299
300 2002-11-19 John Gustafsson <forgoil@rsn.bth.se>
301
302 * docs/html/20_util/howto.html: Fix typo.
303
304 2002-11-18 Jonathan Lennox <lennox@cs.columbia.edu>
305
306 * include/bits/streambuf.tcc (__copy_streambufs): verify
307 __sbin->gptr() + __bufsize < __sbin->egptr() before using.
308 * testsuite/27_io/ostream_inserter_other.cc (test_buffer_4): Add.
309 (test05): Use test_buffer_4. Delete unused ostringstream
310 variables.
311
312 2002-11-18 Paolo Carlini <pcarlini@unitus.it>
313
314 PR libstdc++/6745 (continued)
315 * include/bits/streambuf.tcc (__copy_streambufs):
316 Deal with interactive input by using isatty as in the
317 fix for libstdc++/8399.
318
319 2002-11-17 Jakub Jelinek <jakub@redhat.com>
320
321 * config/linker-map.gnu: Export _S_construct even if size_t is
322 unsigned long. Collapse std::codecvt<char>::codecvt(size_t)
323 and std::codecvt<wchar_t>::codecvt(size_t) into one export pattern.
324
325 2002-11-15 Benjamin Kosnik <bkoz@redhat.com>
326 Gabriel Dos Reis <gdr@integrable-solutions.net>
327
328 PR libstdc++/8230
329 * include/bits/stl_alloc.h: Use builtin_expect for the most
330 obvious limit checks.
331 (__default_alloc_template::allocate): Check for null, throw
332 bad_alloc.
333 * include/bits/vector.tcc: Formatting tweaks.
334 * include/bits/stl_vector.h: Same.
335 * testsuite/20_util/allocator_members.cc (test02): Add.
336 * testsuite/23_containers/vector_capacity.cc (test03): Add.
337
338 2002-11-15 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
339
340 * src/ios.cc [_GLIBCPP_HAVE_UNISTD_H]: Include unistd.h.
341
342 2002-11-15 Paolo Carlini <pcarlini@unitus.it>
343 Loren J. Rittle <ljrittle@acm.org>
344
345 PR libstdc++/8399
346 * acinclude.m4
347 (GLIBCPP_CHECK_UNISTD_DECL_AND_LINKAGE_1): New macro to
348 check for unistd.h functions.
349 (GLIBCPP_CHECK_UNISTD_SUPPORT): New macro, check for isatty
350 in unistd.h.
351 * configure.in: Call here.
352 * src/ios.cc (ios_base::Init::_S_ios_create(bool)):
353 Use _GLIBCPP_HAVE_ISATTY: ifdef, in case of interactive
354 input __in_size = 1 even when sync_with_stdio is false;
355 otherwise fall back to __in_size = 1.
356 * aclocal.m4: Regenerate.
357 * config.h.in: Regenerate.
358 * configure: Regenerate.
359
360 2002-11-13 Benjamin Kosnik <bkoz@redhat.com>
361
362 * acconfig.h (HAVE_DRAND48): Add.
363 (HAVE_GETPAGESIZE): Add.
364 (HAVE_SETENV): Add.
365 (HAVE_SIGSETJMP): Add.
366 * config.h.in: Regenerate.
367 * configure: Regenerate.
368
369 2002-11-13 John David Anglin <dave@hiauly1.hia.nrc.ca>
370
371 * config/os/hpux/os_defines.h (_GLIBCPP_INST_ATOMICITY_LOCK): Define
372 on hppa when there is no weak support.
373
374 2002-11-13 Benjamin Kosnik <bkoz@redhat.com>
375
376 PR libstdc++/8230
377 * include/bits/vector.tcc (vector::reserve): Throw length_error if
378 requested size is bigger than max_size().
379 * include/bits/stl_bvector.h (vector<bool>::reserve): Same.
380 * testsuite/23_containers/vector_capacity.cc (test02): Add.
381
382 2002-11-13 Benjamin Kosnik <bkoz@redhat.com>
383
384 * config/linker-map.gnu: Export all _S_construct.
385
386 2002-11-13 Loren J. Rittle <ljrittle@acm.org>
387
388 PR libstdc++/7445
389 * src/locale.cc (std::locale::classic()): Weaken locking protocol.
390
391 2002-11-13 Jonathan Wakely <redi@gcc.gnu.org>
392
393 * docs/html/install.html, docs/html/22_locale/locale.html: HTML fix.
394
395 2002-11-11 Benjamin Kosnik <bkoz@redhat.com>
396
397 PR libstdc++/6746
398 * include/bits/fstream.tcc (filebuf::open): Set input pointers.
399 * config/io/basic_file_stdio.cc (__basic_file::_M_open_mode): Set
400 __p_mode as well.
401 (__basic_file::open): Set to non-block for input.
402 * testsuite/27_io/istream_unformatted.cc (test12): Add.
403 (test13): Same.
404
405 2002-11-11 Jonathan Wakely <redi@gcc.gnu.org>
406
407 * docs/html/17_intro/howto.html: Make "chapter 22 notes" a link.
408 * docs/html/faq/index.html: Mention that GCC ships with a newer
409 version of the library than the last snapshot. Make "see below" a
410 link. Add missing <html> tag.
411 * docs/html/faq/index.txt: Regenerate.
412 * docs/html/22_locale/locale.html, docs/html/22_locale/messages.html,
413 docs/html/23_containers/howto.html, docs/html/24_iterators/howto.html,
414 docs/html/25_algorithms/howto.html, docs/html/26_numerics/howto.html,
415 docs/html/27_io/howto.html, docs/html/ext/howto.html,
416 docs/html/ext/sgiexts.html: Add missing <html> tag.
417
418 2002-11-07 Phil Edwards <pme@gcc.gnu.org>
419 Richard Earnshaw <rearnsha@arm.com>
420
421 * config/cpu/generic/atomicity.h: Provide atomic __exchange_and_add
422 and __atomic_add.
423
424 2002-11-08 Paolo Carlini <pcarlini@unitus.it>
425
426 * config/locale/gnu/monetary_members.cc
427 (moneypunct<wchar_t, true>::_M_initialize_moneypunct(__c_locale,
428 const char*),
429 moneypunct<wchar_t, false>::_M_initialize_moneypunct(__c_locale,
430 const char*)): Tweak parameters for glibc2.3 systems, thus
431 avoiding unused parameter warnings.
432
433 2002-11-05 Jonathan Wakely <cow@compsoc.man.ac.uk>
434
435 * include/std/std_sstream.h
436 (basic_stringbuf::str(const __string_type&)):
437 Prefer data() to c_str(), thus avoiding assigning the
438 unnecessary NULL-terminator.
439
440 2002-11-05 Benjamin Kosnik <bkoz@redhat.com>
441
442 PR libstdc++/8258
443 * include/bits/istream.tcc (istream::readsome): Don't set eofbit
444 for null buffer.
445 (istream::operator>>(_CharT*)): Use traits_type.
446 (istream::ws): Same.
447 (istream::operator>>(string)): Same.
448 * testsuite/27_io/istream_unformatted.cc (test11): Add.
449
450 2002-11-05 Paolo Carlini <pcarlini@unitus.it>
451
452 PR libstdc++/8466
453 * include/std/std_sstream.h
454 (basic_stringbuf::str(const __string_type&)):
455 Cannot use simple assignment since the COW-nature of v3
456 basic_string is not taken into account in basic_stringbuf.
457 * testsuite/27_io/stringstream_members.cc: Add test04 from PR.
458
459 2002-11-05 John David Anglin <dave@hiauly1.hia.nrc.ca>
460
461 * configure.target (hppa*): Define cpu_include_dir.
462 * config/os/hpux/os_defines.h (_GLIBCPP_INST_ATOMICITY_LOCK): Define.
463 * src/misc-inst.cc: Instantiate atomicity lock when
464 _GLIBCPP_INST_ATOMICITY_LOCK is defined.
465 * config/cpu/hppa/atomicity.h: New file.
466
467 2002-11-05 Benjamin Kosnik <bkoz@redhat.com>
468
469 PR libstdc++/8463
470 * include/bits/ios_base.h (~ios_base): Make virtual.
471
472 2002-11-04 Benjamin Kosnik <bkoz@redhat.com>
473
474 * config/linker-map.gnu: Export string operator+.
475 Export __default_alloc_template::_S_force_new.
476 * testsuite/abi_check.cc: Output tweaks.
477
478 2002-11-01 Benjamin Kosnik <bkoz@redhat.com>
479
480 PR libstdc++/8172
481 * src/string-inst.cc: Add instantiation.
482
483 2002-11-01 Benjamin Kosnik <bkoz@redhat.com>
484
485 PR libstdc++/7926
486 * configure.target: Simplify.
487 * config/cpu/i386/atomicity.h: Remove.
488 * config/cpu/i386: Remove.
489 * config/cpu/arm/atomicity.h: Remove.
490 * config/cpu/arm: Remove.
491 * config/cpu/x86-64/atomicity.h: Remove.
492 * config/cpu/x86-64: Remove.
493
494 2002-11-01 Christian Ehrhardt <ehrhardt@mathematik.uni-ulm.de>
495
496 PR libstdc++/8197
497 * config/link-map.gnu: Export math stubbs.
498
499 2002-11-01 Benjamin Kosnik <bkoz@redhat.com>
500
501 PR libstdc++/8318
502 * include/std/std_iostream.h: Tweak.
503 * include/std/std_iosfwd.h: Add _GLIBCPP_USE_WCHAR_T.
504 * include/std/std_iomanip.h: Same.
505 * include/bits/stringfwd.h: Same.
506 * include/bits/basic_string.tcc: Same.
507 * include/bits/sstream.tcc: Same.
508 * include/bits/fstream.tcc: Same.
509 * include/bits/basic_ios.tcc: Same.
510 * include/bits/streambuf.tcc: Same.
511 * include/bits/locale_facets.tcc: Same.
512
513 2002-11-01 John Carter <john.carter@tait.co.nz>
514
515 PR libstdc++/7961
516 * include/bits/basic_string.tcc
517 (compare(const _CharT* __s)): Don't access __s past its length.
518
519 2002-10-31 Zack Weinberg <zack@codesourcery.com>
520
521 * libsupc++/eh_globals.cc: Don't call __gthread_key_dtor.
522
523 2002-10-31 Benjamin Kosnik <bkoz@redhat.com>
524
525 PR libstdc++/8348
526 * include/bits/istream.tcc (istream::tellg): Remove sentry bits.
527 (istream::seekg): Same.
528 * testsuite/27_io/istream_seeks.cc (test06): New.
529
530 2002-10-28 Jason Thorpe <thorpej@wasabisystems.com>
531
532 * testsuite/thread/pthread5.cc: Include <unistd.h>
533 if _GLIBCPP_HAVE_UNISTD_H is defined.
534 (main): Only use pthread_attr_setscope if
535 _POSIX_THREAD_PRIORITY_SCHEDULING is defined.
536
537 2002-10-28 Jason Thorpe <thorpej@wasabisystems.com>
538
539 * testsuite/thread/pthread1.cc: Enable on *-*-netbsd*.
540 * testsuite/thread/pthread2.cc: Likewise.
541 * testsuite/thread/pthread3.cc: Likewise.
542 * testsuite/thread/pthread4.cc: Likewise.
543 * testsuite/thread/pthread5.cc: Likewise.
544 * testsuite/thread/pthread6.cc: Likewise.
545
546 2002-10-27 Paolo Carlini <pcarlini@unitus.it>
547
548 PR libstdc++/8347
549 * include/bits/basic_string.tcc
550 (string::_S_construct(_InIter, _InIter, const _Alloc&,
551 forward_iterator_tag)): Do not throw logic error if
552 __beg == NULL && __end == __beg.
553 (string::string(const _CharT*, const _Alloc&)): Tweak.
554 * testsuite/21_strings/ctor_copy_dtor.cc: Add test05 from PR.
555
556 2002-10-24 Hans-Peter Nilsson <hp@bitrange.com>
557
558 PR other/3337
559 PR bootstrap/6763
560 PR bootstrap/8122
561 * testsuite/testsuite_hooks.cc (__set_testsuite_memlimit): Use
562 __typeof__ (r.rlim_cur), not rlim_t in declaration of limit.
563
564 2002-10-23 Jakub Jelinek <jakub@redhat.com>
565
566 * testsuite/22_locale/num_put_members_char.cc (test01): Swap size
567 and decimal_point arguments of find.
568 * testsuite/22_locale/num_put_members_wchar_t.cc (test01): Likewise.
569
570 2002-10-22 Jakub Jelinek <jakub@redhat.com>
571
572 * Makefile.am (check-abi, new-abi-baseline): Use @glibcpp_srcdir@
573 instead of ${top_srcdir}.
574 * Makefile.in: Rebuilt.
575
576 2002-10-22 Loren J. Rittle <ljrittle@acm.org>
577
578 * testsuite/18_support/numeric_limits.cc (test_extrema<long double>):
579 Remove specialization for FreeBSD systems.
580
581 2002-10-18 Loren J. Rittle <ljrittle@acm.org>
582
583 * configure.target (freebsd*): Use abi_baseline_triplet.
584 * config/abi/i386-unknown-freebsd4/baseline_symbols.txt: New file.
585 * config/abi/i386-unknown-freebsd4.7/baseline_symbols.txt: Remove.
586
587 * testsuite/thread/pthread1.cc: Remove needless workaround
588 for FreeBSD 5.
589
590 2002-10-18 Loren J. Rittle <ljrittle@acm.org>
591 Brad Spencer <spencer@infointeractive.com>
592 (provided alternate patch and improvements)
593
594 * docs/html/23_containers/howto.html (GLIBCPP_FORCE_NEW): Document
595 new environment variable which replaces all uses of __USE_MALLOC
596 macro.
597 * docs/html/ext/howto.html (GLIBCPP_FORCE_NEW): Likewise.
598 (__mem_interface): Remove all references to old internal typedef.
599 * include/backward/alloc.h (__USE_MALLOC): Remove it and all
600 guarded code.
601 * include/bits/c++config (__USE_MALLOC): Update related error
602 message and comment.
603 * include/bits/stl_alloc.h (__USE_MALLOC): Remove it and all
604 guarded code. Update all related comments.
605 (__mem_interface): Unconditionally replace it with __new_alloc.
606 However, leave the typedef around in case anyone used it.
607 (__default_alloc_template<>::_S_force_new): New class static.
608 (__default_alloc_template<>::allocate, deallocate): Add
609 run-time controlled feature similar to what __USE_MALLOC code
610 path had provided.
611 * src/stl-inst.cc (__USE_MALLOC): Remove it and all
612 guarded code.
613 * testsuite/21_strings/capacity.cc: Remove reference to __USE_MALLOC.
614 Add documentation on GLIBCPP_FORCE_NEW environment variable.
615 * testsuite/ext/allocators.cc: Likewise.
616
617 2002-10-18 Phil Edwards <pme@gcc.gnu.org>
618
619 * configure.in: Use target, not target_alias, when matching triplet
620 patterns.
621 * configure: Regenerate.
622
623 2002-10-17 Momchil Velikov <velco@fadata.bg>
624 Loren J. Rittle <ljrittle@acm.org>
625
626 * configure.in: Add *-freebsd* to cross list.
627 * configure: Rebuilt.
628
629 2002-10-16 Benjamin Kosnik <bkoz@redhat.com>
630
631 * include/bits/locale_facets.h (__timepunct::__timepunct): Allocate
632 _M_name_timepunct.
633 (__timepunct::~__timepunct): Deallocate, remove specialization
634 declarations.
635 (messages::messages): Allocate _M_name_messages.
636 (messages::~messages): Deallocate.
637 (messages_byname): Same.
638 * config/locale/gnu/time_members.cc (__timepunct::~__timepunct):
639 Remove.
640 * config/locale/generic/time_members.cc (__timepunct::~__timepunct):
641 Remove.
642
643 * docs/html/install.html: Add es_MX, en_PH to required locales list.
644
645 2002-10-16 Benjamin Kosnik <bkoz@redhat.com>
646
647 * config/linker-map.gnu: Add exports for codecvt constructors
648 where size_t == unsigned long.
649
650 2002-10-14 Benjamin Kosnik <bkoz@redhat.com>
651
652 * src/globals.cc (__gnu_cxx::c_locale_impl_compat): Add, alias to
653 c_locale_impl.
654 * testsuite/abi_check.cc (line_to_symbol_info): Collect size info.
655 * docs/html/abi.txt: Update.
656
657 2002-10-14 Benjamin Kosnik <bkoz@redhat.com>
658
659 * testsuite/22_locale/static_members.cc (test02): Less provincial.
660
661 2002-10-14 Benjamin Kosnik <bkoz@redhat.com>
662
663 * testsuite/22_locale/static_members.cc (test02): Disable for
664 systems without named locale support.
665 * testsuite/22_locale/ctor_copy_dtor.cc (test04): Don't assume
666 running the testsuites in "C" environment.
667 Add new tests.
668 * docs/html/22_locale/locale.html: Update.
669
670 2002-10-13 Danny Smith <dannysmith@users.sourceforge.net>
671
672 * include/bits/stl_threads.h (_GLIBCPP_mutex,
673 _GLIBCPP_mutex_init,_GLIBCPP_mutex_address,
674 _GLIBCPP_mutex_address_init, _GLIBCPP_once):
675 Declare in namespace __gnu_cxx.
676 (_STL_mutex_lock::_M_initialize): Qualify __gnu_cxx
677 names.
678 Adjust copyright.
679
680 2002-10-12 Benjamin Kosnik <bkoz@redhat.com>
681
682 * testsuite/abi_check.cc (hash<string>): Specialize.
683 Simplify. Check compatible symbol versions.
684 * config/linker-map.gnu: Clarify, explicitly export
685 std::codecvt::c* symbols.
686
687 * testsuite/22_locale/static_members.cc (test02): Avoid null strings.
688
689 2002-10-12 Jonathan Wakely <jw@kayari.org>
690 Gabriel Dos Reis <gdr@integrable-solutions.net>
691
692 * docs/html/21_strings/howto.html#5: Correct nasting of XHTML
693 elements. Correct allocator-related text.
694
695 2002-10-11 Benjamin Kosnik <bkoz@redhat.com>
696
697 * testsuite/22_locale/static_members.cc (test02): Fix.
698
699 2002-10-11 Benjamin Kosnik <bkoz@redhat.com>
700
701 * acconfig.h (_GLIBCPP_SYMVER): Add.
702 (_GLIBCPP_ASM_SYMVER): Add.
703 * acinclude.m4 (GLIBCPP_ENABLE_SYMVERS): Define _GLIBCPP_SYMVER.
704 * aclocal.m4: Regenerate.
705 * config.h.in: Regenerate.
706 * configure: Regenerate.
707 * include/bits/c++config (_GLIBCPP_AT_AT): Define, as an expedient
708 hack around m4 issues with quoting '@'.
709 * src/locale.cc: Use _GLIBCPP_ASM_SYMVER.
710 * src/globals.cc: Same.
711
712 * testsuite/22_locale/ctor_copy_dtor.cc (test04): Fix for
713 non-glibc systems.
714
715 2002-10-10 Benjamin Kosnik <bkoz@redhat.com>
716
717 * config/linker-map.gnu (GLIBCPP_3.2.1): Add.
718 (GLIBCPP_3.2): Don't export locale::_S_*.
719 * src/ios.cc: Move globals into __gnu_cxx. Make old exported
720 symbols match.
721 * src/locale.cc: Same.
722 * src/localename.cc: Same.
723 * src/globals.cc: Same.
724
725 2002-10-10 Phil Edwards <pme@gcc.gnu.org>
726
727 * docs/html/21_strings/howto.html: Write #5, char_traits.
728 * docs/html/17_intro/porting.texi: Expand on os_include_dir.
729 * docs/html/17_intro/porting.html: Regenerate.
730
731 2002-10-09 Benjamin Kosnik <bkoz@redhat.com>
732
733 * src/locale.cc: Fix comments, move ctors together.
734 * testsuite/22_locale/static_members.cc (test03): Add.
735
736 2002-10-08 Jonathan Lennox <lennox@cs.columbia.edu>
737
738 PR libstdc++/8071, libstdc++/8127, libstdc++/6745
739 * streambuf.tcc (__copy_streambufs): Handle cases where
740 __sbin->in_avail() returns 0, or where __sbin doesn't set gptr().
741 * testsuite/27_io/ostream_inserter_other.cc (test05): Add.
742
743 2002-10-08 Paolo Carlini <pcarlini@unitus.it>
744 Benjamin Kosnik <bkoz@redhat.com>
745
746 * include/bits/localefwd.h (class locale): Add static member
747 _S_num_extra_categories, encoding the number of additional
748 categories.
749 Change _S_num_categories to _S_categories_size.
750 (class locale::_Impl): Add _M_c_cats.
751 (class locale::_Impl::_M_names): Change to array of chars.
752 (class locale::_Impl::_M_check_same_name): Use
753 _S_extra_categories_size, tweak.
754 (locale::locale(const locale&, _Facet*)): Ditto.
755 * src/locale.cc (locale::locale(const char* )): Rewrite to deal
756 with the environment in a POSIX-compliant way while being thread
757 safe.
758 (locale::name()): Update to output POSIX environment strings.
759 * src/localename.cc
760 (locale::_Impl::_Impl(const _Impl&, size_t): Use
761 _S_categories_size_*, tweak.
762 (locale::_Impl::_Impl(facet**, size_t, bool)): Ditto.
763 (locale::_Impl::_Impl(const char*, size_t)): Name each category
764 individually.
765 (locale::_Impl::_M_replace_categories): Use strcpy.
766
767 * include/bits/locale_facets.h (numpunct::_M_initialize_numpunct):
768 Change default argument to NULL from _S_c_locale.
769 (timepunct::_M_initialize_timepunct): Same.
770 _S_c_locale cleanups.
771 * src/codecvt.c: _S_c_locale simplification.
772 * src/ctype.c: Same.
773 * src/globals.cc: Add fake_name.
774 * src/locale-inst.cc: Remove extra includes.
775 * src/locale.cc: Remove extra includes.
776 Add _S_extra_categories_size definition.
777 Correct "C" initialization.
778 (locale::facet::facet): Don't initialize _S_c_locale.
779 (locale::facet::_M_remove_reference): Adjust.
780 * src/localename: Use facet_vec, facet_name.
781 (locale::_Impl::_Impl(facet** __f, size_t __refs, bool)): Set
782 facet ref counts to one. Initialize _S_c_locale.
783 (locale::_Impl::_M_install_facet(id*, facet*)): Adjust facet ref
784 counts when installing unilaterally.
785
786 * config/locale/generic/c_locale.cc: Add _S_categories definition.
787 * config/locale/generic/c_locale.h: Add _GLIBCPP_NUM_CATEGORIES macro.
788 * config/locale/generic/time_members.cc: _S_c_locale cleanup.
789
790 * config/locale/gnu/c_locale.cc: Add _S_categories definition.
791 (_S_destroy_c_locale): Move checks against _S_c_locale here.
792 * config/locale/gnu/c_locale.h: Add _GLIBCPP_NUM_CATEGORIES macro.
793 * config/locale/gnu/ctype_members.cc: Simplify _S_destroy_c_locale
794 calls, _S_c_locale usage.
795 * config/locale/gnu/monetary_members.cc: Same, tweaks.
796 * config/locale/gnu/monetary_members.cc: Same.
797 * config/locale/gnu/time_members.cc: Same.
798 * config/os/gnu-linux/ctype_noninline.h: Use locale::classic().
799
800 * docs/html/22_locale/locale.html: Add bits about global locales
801 and "C" setlocale.
802
803 * testsuite/22_locale/facet.cc (test02): Add.
804 * testsuite/22_locale/static_members.cc (test02): Add.
805 * testsuite/22_locale/ctor_copy_dtor.cc (test04): Add.
806
807 2002-10-07 Jonathan Wakely <jw@kayari.org>
808
809 * docs/html/configopts.html, docs/html/documentation.html,
810 docs/html/explanations.html, docs/html/install.html,
811 docs/html/17_intro/contribute.html, docs/html/17_intro/howto.html,
812 docs/html/17_intro/license.html, docs/html/18_support/howto.html,
813 docs/html/19_diagnostics/howto.html, docs/html/20_util/howto.html,
814 docs/html/21_strings/howto.html, docs/html/22_locale/codecvt.html,
815 docs/html/22_locale/ctype.html, docs/html/22_locale/howto.html,
816 docs/html/22_locale/locale.html, docs/html/22_locale/messages.html,
817 docs/html/23_containers/howto.html, docs/html/24_iterators/howto.html,
818 docs/html/25_algorithms/howto.html, docs/html/26_numerics/howto.html,
819 docs/html/27_io/howto.html, docs/html/ext/howto.html,
820 docs/html/ext/sgiexts.html, docs/html/faq/index.html: Add DOCTYPEs.
821
822 2002-10-03 Richard Earnshaw <rearnsha@arm.com>
823
824 PR libstdc++/3584
825 * config/cpu/arm/atomicity.h (__exchange_and_add): Don't try to use
826 ASM sequences that don't give us atomic addition operations. Instead
827 just add a comment explaining why it doesn't work.
828 (__atomic_add): Just use __exchange_and_add.
829 (__test_and_set, __always_swap): Delete.
830
831 2002-10-02 Andreas Jaeger <aj@suse.de>
832
833 * config/abi/x86_64-unknown-linux-gnu/baseline_symbols.txt:
834 New file.
835
836 2002-10-01 Phil Edwards <pme@gcc.gnu.org>
837
838 * Makefile.am (check-abi): Add @ to rule.
839 * Makefile.in: Regenerated.
840
841 2002-09-27 Paolo Carlini <pcarlini@unitus.it>
842
843 * include/bits/locale_facets.tcc (num_put::_M_widen_int):
844 Deal correctly with grouped, showbased (oct or hex) zero.
845 * testsuite/22_locale/num_put_members_char.cc: Add test05.
846 * testsuite/22_locale/num_put_members_wchar_t.cc: Ditto.
847
848 2002-09-27 Richard Henderson <rth@redhat.com>
849
850 * config/os/hpux/cpu_limits.h: Remove.
851
852 * include/std/std_limits.h (numeric_limits<T>::is_iec559): False
853 if denormals are not supported.
854
855 2002-09-25 Benjamin Kosnik <bkoz@redhat.com>
856
857 * include/Makefile.am (target_headers): Remove cpu_limits.h.
858 * include/Makefile.in: Regenerate.
859 * configure.in (CPU_LIMITS_INC_SRCDIR): Remove
860 * configure: Regenerate.
861 * configure.target (CPULIMITS): Remove.
862
863 * include/std/std_limits.h: Remove cpu_limits.h include.
864
865 * config/os/solaris/solaris2.7/os_defines.h (__glibcpp_long_bits):
866 Remove.
867 * config/os/irix/irix6.5/os_defines.h
868 (__glibcpp_long_double_bits): Remove.
869 (__glibcpp_wchar_t_bits): Remove.
870 (__glibcpp_long_bits): Remove.
871 * config/os/irix/irix5.2/os_defines.h
872 (__glibcpp_long_double_bits): Remove.
873 (__glibcpp_long_bits): Remove.
874 * config/os/hpux/os_defines.h (__glibcpp_wchar_t_is_signed): Remove.
875 * config/os/bsd/freebsd/os_defines.h:
876 (__glibcpp_long_double_bits): Remove.
877 * config/os/aix/os_defines.h (__glibcpp_wchar_t_bits): Remove.
878 (__glibcpp_wchar_t_is_signed): Remove.
879 (__glibcpp_long_bits): Remove.
880 * config/os/gnu-linux/os_defines.h (__glibcpp_long_bits): Remove.
881 (__glibcpp_long_double_bits): Remove.
882
883 * config/os/osf/osf5.0/cpu_limits.h: Remove.
884 * config/cpu/alpha/cpu_limits.h: Remove.
885 * config/cpu/arm/cpu_limits.h: Remove.
886 * config/cpu/cris/cpu_limits.h: Remove.
887 * config/cpu/generic/cpu_limits.h: Remove.
888 * config/cpu/generic/limits.h: Remove.
889 * config/cpu/ia64/cpu_limits.h: Remove.
890 * config/cpu/m68k/cpu_limits.h: Remove.
891 * config/cpu/mmix/cpu_limits.h: Remove.
892 * config/cpu/powerpc/cpu_limits.h: Remove.
893 * config/cpu/S390/cpu_limits.h: Remove.
894
895 2002-09-25 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
896
897 * testsuite/18_support/numeric_limits.cc: Check the maximum and
898 minimum values of the wchar_t type.
899
900 2002-09-25 Mark Mitchell <mark@codesourcery.com>
901
902 * include/std/std_limits.h (numeric_limits<unsigned char>::digits):
903 Fix typo.
904
905 2002-09-23 Richard Henderson <rth@redhat.com>
906
907 * include/std/std_limits.h (__glibcpp_plain_char_is_signed,
908 __glibcpp_wchar_t_is_signed, __glibcpp_s8_max, __glibcpp_s8_min,
909 __glibcpp_s8_digits, __glibcpp_s8_digits10, __glibcpp_u8_min,
910 __glibcpp_u8_max, __glibcpp_u8_digits, __glibcpp_u8_digits10,
911 __glibcpp_s16_max, __glibcpp_s16_min, __glibcpp_s16_digits,
912 __glibcpp_s16_digits10, __glibcpp_u16_min, __glibcpp_u16_max,
913 __glibcpp_u16_digits, __glibcpp_u16_digits10, __glibcpp_s32_max,
914 __glibcpp_s32_min, __glibcpp_s32_digits, __glibcpp_s32_digits10,
915 __glibcpp_u32_min, __glibcpp_u32_max, __glibcpp_u32_digits,
916 __glibcpp_u32_digits10, __glibcpp_s64_max, __glibcpp_s64_min,
917 __glibcpp_s64_digits, __glibcpp_s64_digits10, __glibcpp_u64_min,
918 __glibcpp_u64_max, __glibcpp_u64_digits, __glibcpp_u64_digits10,
919 __glibcpp_bool_digits, __glibcpp_signed_char_min,
920 __glibcpp_signed_char_max, __glibcpp_signed_char_digits,
921 __glibcpp_signed_char_digits10, __glibcpp_unsigned_char_min,
922 __glibcpp_unsigned_char_max, __glibcpp_unsigned_char_digits,
923 __glibcpp_unsigned_char_digits10, __glibcpp_char_min,
924 __glibcpp_char_max, __glibcpp_char_digits, __glibcpp_char_digits10,
925 __glibcpp_signed_short_min, __glibcpp_signed_short_max,
926 __glibcpp_signed_short_digits, __glibcpp_signed_short_digits10,
927 __glibcpp_unsigned_short_min, __glibcpp_unsigned_short_max,
928 __glibcpp_unsigned_short_digits, __glibcpp_unsigned_short_digits10,
929 __glibcpp_signed_int_min, __glibcpp_signed_int_max,
930 __glibcpp_signed_int_digits, __glibcpp_signed_int_digits10,
931 __glibcpp_unsigned_int_min, __glibcpp_unsigned_int_max,
932 __glibcpp_unsigned_int_digits, __glibcpp_unsigned_int_digits10,
933 __glibcpp_signed_long_min, __glibcpp_signed_long_max,
934 __glibcpp_unsigned_long_digits, __glibcpp_unsigned_long_digits10,
935 __glibcpp_signed_long_long_min, __glibcpp_signed_long_long_max,
936 __glibcpp_signed_long_long_digits, __glibcpp_signed_long_long_digits10,
937 __glibcpp_wchar_t_min, __glibcpp_wchar_t_max, __glibcpp_wchar_t_digits,
938 __glibcpp_wchar_t_digits10): Remove.
939 (__glibcpp_byte, __glibcpp_word_bits, __glibcpp_word): Remove.
940 (__float_storage, __double_storage, __long_double_storage): Remove.
941 (__glibcpp_signed, __glibcpp_min, __glibcpp_max): New.
942 (__glibcpp_digits, __glibcpp_digits10): New.
943 (numeric_limits<T>::min): Use __glibcpp_min or limits.h builtins.
944 (numeric_limits<T>::max): Use __glibcpp_max or limits.h builtins.
945 (numeric_limits<T>::is_signed, T=char,wchar_t): Use __glibcpp_signed.
946 (numeric_limits<T>::digits): Use __glibcpp_digits.
947 (numeric_limits<T>::digits10): Use __glibcpp_digits10.
948 * testsuite/18_support/numeric_limits.cc (test03): Don't use
949 __glibcpp_s8_digits10 et al; check vs the installed versions
950 of digits10 for particular sizes.
951
952 * include/std/std_limits.h (__glibcpp_float_is_modulo,
953 __glibcpp_double_is_modulo, __glibcpp_long_double_is_modulo): Kill.
954 (numeric_limits<T>::is_modulo, T floating): Use false.
955
956 2002-09-22 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
957
958 * Makefile.am (all-multi): Fix multilib parallel build.
959
960 2002-09-22 Richard Henderson <rth@redhat.com>
961
962 * include/std/std_limits.h (__glibcpp_f32_round_error,
963 __glibcpp_f64_round_error, __glibcpp_f80_round_error,
964 __glibcpp_f96_round_error, __glibcpp_f128_round_error,
965 __glibcpp_float_round_error, __glibcpp_double_round_error,
966 __glibcpp_long_double_round_error, __glibcpp_float_round_style,
967 __glibcpp_double_round_style, __glibcpp_long_double_round_style): Kill.
968 (numeric_limits<char>::epsilon, round_error): Use constant 0.
969 (numeric_limits<float>::round_error): Use constant 0.5.
970 (numeric_limits<float>::round_style): Use round_to_nearest.
971 (numeric_limits<double>, numeric_limits<long double>): Similarly.
972
973 * include/std/std_limits.h (__glibcpp_f32_is_iec559,
974 __glibcpp_f64_is_iec559, __glibcpp_f80_is_iec559,
975 __glibcpp_f96_is_iec559, __glibcpp_f128_is_iec559,
976 __glibcpp_float_is_iec559, __glibcpp_double_is_iec559,
977 __glibcpp_long_double_is_iec559): Remove.
978 (numeric_limits<float>::is_iec559): Use has_infinity & has_quiet_NaN.
979 (numeric_limits<double>, numeric_limits<long double>): Similarly.
980
981 * include/std/std_limits.h (__glibcpp_integral_traps): New.
982 (__glibcpp_char_traps, __glibcpp_short_traps, __glibcpp_int_traps,
983 __glibcpp_long_traps, __glibcpp_wchar_t_traps,
984 __glibcpp_long_long_traps, __glibcpp_plain_char_traps,
985 __glibcpp_signed_char_traps, __glibcpp_unsigned_char_traps,
986 __glibcpp_signed_short_traps, __glibcpp_unsigned_short_traps,
987 __glibcpp_signed_int_traps, __glibcpp_unsigned_int_traps,
988 __glibcpp_signed_long_traps, __glibcpp_unsigned_long_traps,
989 __glibcpp_signed_long_long_traps, __glibcpp_unsigned_long_long_traps,
990 __glibcpp_char_is_modulo, __glibcpp_signed_char_is_modulo,
991 __glibcpp_signed_short_is_modulo, __glibcpp_signed_int_is_modulo,
992 __glibcpp_signed_long_is_modulo, __glibcpp_signed_long_long_is_modulo,
993 __glibcpp_wchar_t_is_modulo, __glibcpp_float_is_bounded,
994 __glibcpp_double_is_bounded, __glibcpp_long_double_is_bounded): Kill.
995 (numeric_limits<T>::traps, T integral): Use __glibcpp_integral_traps.
996 (numeric_limits<T>::is_modulo, T integral): Use true.
997 (numeric_limits<T>::is_bounded, T floating): Use true.
998
999 2002-09-18 Loren J. Rittle <ljrittle@acm.org>
1000
1001 * testsuite/18_support/numeric_limits.cc (test_epsilon): New.
1002
1003 2002-09-18 Richard Henderson <rth@redhat.com>
1004
1005 * testsuite/18_support/numeric_limits.cc: Add -mieee for alpha.
1006
1007 2002-09-16 Benjamin Kosnik <bkoz@redhat.com>
1008
1009 * include/c_shadow: Remove.
1010 * include/bits/generic_shadow.h: Remove.
1011 * include/Makefile.am: Remove generic_shadow.h.
1012 * acinclude.m4: Remove c_shadow references.
1013 * aclocal.m4: Regenerate.
1014 * configure: Regenerate.
1015 * mkcshadow: Remove.
1016 * mkinclosure: Remove.
1017
1018 2002-09-16 Loren J. Rittle <ljrittle@acm.org>
1019
1020 libstdc++/7922
1021 * include/ext/stl_rope.h (rope<>): Qualify dependent names
1022 with `typename'.
1023
1024 2002-09-16 Richard Henderson <rth@redhat.com>
1025
1026 * include/std/std_limits.h (__glibcpp_f32_QNaN_bytes,
1027 __glibcpp_f32_has_QNaN, __glibcpp_f32_SNaN_bytes,
1028 __glibcpp_f32_has_SNaN, __glibcpp_f64_QNaN_bytes,
1029 __glibcpp_f64_has_QNaN, __glibcpp_f64_SNaN_bytes,
1030 __glibcpp_f64_has_SNaN, __glibcpp_f80_QNaN_bytes,
1031 __glibcpp_f80_has_QNaN, __glibcpp_f80_SNaN_bytes,
1032 __glibcpp_f80_has_SNaN, __glibcpp_f96_QNaN_bytes,
1033 __glibcpp_f96_has_QNaN, __glibcpp_f96_SNaN_bytes,
1034 __glibcpp_f96_has_SNaN, __glibcpp_f128_QNaN_bytes,
1035 __glibcpp_f128_has_QNaN, __glibcpp_f128_SNaN_bytes,
1036 __glibcpp_f128_has_SNaN, __glibcpp_float_QNaN_bytes,
1037 __glibcpp_float_has_QNaN, __glibcpp_float_SNaN_bytes,
1038 __glibcpp_float_has_SNaN, __glibcpp_double_QNaN_bytes,
1039 __glibcpp_double_has_QNaN, __glibcpp_double_SNaN_bytes,
1040 __glibcpp_double_has_SNaN, __glibcpp_long_double_QNaN_bytes,
1041 __glibcpp_long_double_has_QNaN, __glibcpp_long_double_SNaN_bytes,
1042 __glibcpp_long_double_has_SNaN): Remove.
1043 (__glibcpp_f128_is_iec559): True if IEEE.
1044 (__glibcpp_float_QNaN, __glibcpp_float_SNaN): Remove.
1045 (__glibcpp_double_QNaN, __glibcpp_double_SNaN): Remove.
1046 (__glibcpp_long_double_QNaN, __glibcpp_long_double_SNaN): Remove.
1047 (std::numeric_limits<float>::has_quiet_NaN): Use __builtin_nanf.
1048 (std::numeric_limits<float>::has_signaling_NaN): Mirror has_quiet_NaN.
1049 (std::numeric_limits<float>::quiet_NaN): Use __builtin_nanf.
1050 (std::numeric_limits<float>::signaling_NaN): Use __builtin_nansf.
1051 (std::numeric_limits<double>): Similarly.
1052 (std::numeric_limits<long double>): Similarly.
1053 * src/limits.cc (__glibcpp_float_QNaN, __glibcpp_float_SNaN): Remove.
1054 (__glibcpp_double_QNaN, __glibcpp_double_SNaN): Remove.
1055 (__glibcpp_long_double_QNaN, __glibcpp_long_double_SNaN): Remove.
1056
1057 * testsuite/18_support/numeric_limits.cc (test_infinity): New.
1058 (test_denorm_min, test_qnan, test_is_iec559): New.
1059
1060 2002-09-16 Phil Edwards <pme@gcc.gnu.org>
1061
1062 * testsuite/abi_check.cc: Pull shell fragments out into...
1063 * config/abi/extract_symvers: ...here. New file.
1064 * Makefile.am (check_abi): Change to match.
1065 (new-abi-baseline): New target.
1066 * Makefile.in: Regenerated.
1067
1068 2002-09-16 Richard Henderson <rth@redhat.com>
1069
1070 * include/std/std_limits.h (__glibcpp_f32_denorm_min_bytes,
1071 __glibcpp_f32_has_denorm, __glibcpp_f64_denorm_min_bytes,
1072 __glibcpp_f64_has_denorm, __glibcpp_f80_denorm_min_bytes,
1073 __glibcpp_f80_has_denorm, __glibcpp_f96_denorm_min_bytes,
1074 __glibcpp_f96_has_denorm, __glibcpp_f128_denorm_min_bytes,
1075 __glibcpp_f128_has_denorm, __glibcpp_float_denorm_min_bytes,
1076 __glibcpp_float_has_denorm, __glibcpp_double_denorm_min_bytes,
1077 __glibcpp_double_has_denorm, __glibcpp_long_double_denorm_min_bytes,
1078 __glibcpp_long_double_has_denorm): Remove.
1079 (__glibcpp_float_denorm_min, __glibcpp_double_denorm_min,
1080 __glibcpp_long_double_denorm_min): Remove.
1081 (std::numeric_limits<float>::has_denorm): Use __FLT_DENORM_MIN__.
1082 (std::numeric_limits<float>::denorm_min): Likewise.
1083 (std::numeric_limits<double>): Similarly.
1084 (std::numeric_limits<long double>): Similarly.
1085 * src/limits.cc (__glibcpp_float_denorm_min,
1086 __glibcpp_double_denorm_min, __glibcpp_long_double_denorm_min): Remove.
1087
1088 2002-09-13 Andy Felt <afelt@uwsp.edu>
1089
1090 * docs/html/17_intro/howto.html: Update link.
1091
1092 2002-09-13 Phil Edwards <pme@gcc.gnu.org>
1093
1094 * docs/doxygen/run_doxygen: Massage man page for Iterator_types.3.
1095 * docs/html/faq/index.html: Whitespace fixes.
1096
1097 2002-09-12 Benjamin Kosnik <bkoz@redhat.com>
1098
1099 * libmath/Makefile.am (LIBTOOL): Use --tag CC always for this
1100 directory.
1101 * libmath/Makefile.in: Regenerate.
1102 * src/Makefile.am: Tweak comment.
1103 * src/Makefile.in: Regenerate.
1104
1105 * config/locale/gnu/c_locale.h: Remove warnings.
1106 Inject __uselocale into __gnu_cxx.
1107 * config/locale/generic/c_locale.h: Match.
1108
1109 2002-09-11 Benjamin Kosnik <bkoz@redhat.com>
1110
1111 * include/bits/locale_facets.tcc (__convert_from_v): Remove.
1112 * config/locale/gnu/c_locale.h (__convert_from_v): Add.
1113 * config/locale/generic/c_locale.h (__convert_from_v): Add.
1114
1115 2002-09-11 Paolo Carlini <pcarlini@unitus.it>
1116
1117 * include/bits/locale_facets.tcc (__convert_from_v):
1118 Use __uselocale instead of setlocale for glibc 2.3+.
1119
1120 2002-09-10 Benjamin Kosnik <bkoz@redhat.com>
1121
1122 * src/Makefile.am (sources): Edit.
1123 (target_sources): New.
1124 (target_sources_extra): New.
1125 * src/Makefile.in: Regenerate.
1126 * acinclude.m4: Set CCODECVT_CC.
1127 * aclocal.m4: Regenerate.
1128 * configure: Regenerate.
1129 * src/locale.cc: Move ctype definitions...
1130 * src/ctype.cc: ...here. New file.
1131 * src/locale.cc: Move codecvt definitions...
1132 * src/codecvt.cc: ...here.
1133 * config/generic/codecvt_members.cc: ...and here.
1134 * config/gnu/codecvt_members.cc: ...and here.
1135 * include/bits/codecvt.h: Tweak.
1136 * include/bits/locale_facets: Tweak.
1137
1138 * src/bitset.cc: Correct license text.
1139 * src/concept-inst.cc: Same.
1140 * src/strstream.cc: Same.
1141 * src/vterminate.cc: Same.
1142
1143 2002-09-10 Gabriel Dos Reis <gdr@soliton.integrable-solutions.net>
1144
1145 * include/bits/stl_vector.h (vector<>): Don't use a name with
1146 different meanings before and after re-evaluation in the completed
1147 scope.
1148 * include/bits/basic_string.h (basic_string<>): Likewise.
1149 * include/bits/stl_bvector.h (vector<bool>): Likewise.
1150 * include/bits/stl_deque.h (std): Likewise.
1151 * include/bits/stl_list.h (list<>): Likewise.
1152 * include/bits/stl_tree.h (_Rb_tree<>): Likewise.
1153
1154 2002-09-10 Paolo Carlini <pcarlini@unitus.it>
1155
1156 * include/bits/codecvt.h (class __codecvt_abstract_base):
1157 Add __c_locale type _M_c_locale_codecvt member.
1158 (class codecvt<char, char, mbstate_t>,
1159 class codecvt<wchar_t, char, mbstate_t>): Add new
1160 codecvt(__c_locale, size_t) constructor.
1161 (codecvt_byname::codecvt_byname): Update.
1162 * src/codecvt.cc (class codecvt<char, char, mbstate_t>,
1163 class codecvt<wchar_t, char, mbstate_t>): Update codecvt(size_t)
1164 constructor and ~codecvt() destructor; define
1165 codecvt(__c_locale, size_t) constructor.
1166 (codecvt::do_out): Switch to _M_c_locale_codecvt around wcsrtombs call.
1167 (codecvt::do_in): Ditto for mbsrtowcs call.
1168 * src/localename.cc (locale::_Impl::_Impl(const char*, size_t)):
1169 Tweak construction of codecvt facets.
1170
1171 2002-09-10 Danny Smith <dannysmith@users.sourceforge.net>
1172
1173 * include/bits/locale_facets.tcc (__convert_from_v):
1174 Replace strdup with ISO malloc and strcpy.
1175
1176 2002-09-09 Benjamin Kosnik <bkoz@redhat.com>
1177
1178 * docs/html/configopts.html: Change grouping. Note ABI impacts.
1179 Update information for locale model defaults.
1180 * docs/html/install.html: Update include directory
1181 information.
1182 Update testing information.
1183 Update linux issues for named locales.
1184 * docs/html/abi.txt: Fix typos.
1185 Add more info.
1186
1187 * src/misc-inst.cc: Add missing instantiations.
1188
1189 * testsuite/abi_check.cc: Make output results more verbose.
1190
1191 * config/os/gnu-linux/ctype_base.h: Remove shadow headers injections.
1192
1193 2002-09-07 Jakub Jelinek <jakub@redhat.com>
1194
1195 * config/locale/generic/messages_members.cc: Add specialization for
1196 messages<wchar_t>.
1197 * config/locale/ieee_1003.1-20021/messages_members.cc: Likewise.
1198
1199 2002-09-06 Benjamin Kosnik <bkoz@redhat.com>
1200
1201 * include/bits/localefwd.h: Tweak formatting.
1202 * docs/html/abi.txt: Add.
1203
1204 2002-09-06 Jakub Jelinek <jakub@redhat.com>
1205
1206 * configure.target: Use cpu_include_dir="config/cpu/sparc" for all
1207 sparc targets.
1208 * config/cpu/sparc/atomicity.h: New file.
1209 * config/cpu/sparc/sparc32/atomicity.h: Removed.
1210 * config/cpu/sparc/sparc64/atomicity.h: Removed.
1211
1212 2002-09-06 Jakub Jelinek <jakub@redhat.com>
1213
1214 * config/os/gnu-linux/ctype_noninline.h
1215 [_GLIBCPP_USE_SHADOW_HEADERS]: Remove using _C_legacy::__ctype_*.
1216 (ctype<char>::classic_table): If _GLIBCPP_C_LOCALE_GNU, return
1217 _S_c_locale->__ctype_b, otherwise temporarily switch to "C" locale
1218 and return __ctype_b.
1219 (ctype<char>::ctype(__c_locale, const mask*, bool, size_t)): If not
1220 _GLIBCPP_C_LOCALE_GNU, temporarily switch to "C" locale and
1221 initialize using __ctype_{b,tolower,toupper}.
1222 (ctype<char>::ctype(const mask*, bool, size_t)): If
1223 _GLIBCPP_C_LOCALE_GNU, initialize using
1224 _S_c_locale->__ctype_{b,tolower,toupper}, otherwise temporarily
1225 switch to "C" locale and initialize using __ctype_{b,tolower,toupper}.
1226
1227 2002-09-05 Paolo Carlini <pcarlini@unitus.it>
1228 Roland McGrath <roland@redhat.com>
1229
1230 PR libstdc++/7811
1231 * src/locale.cc (locale::locale(__s)): Use getenv instead
1232 of setenv for the environment locale.
1233 * testsuite/22_locale/ctor_copy_dtor.cc (test03): New.
1234
1235 2002-09-05 Jakub Jelinek <jakub@redhat.com>
1236
1237 * config/abi/ia64-unknown-linux-gnu: Add.
1238 * config/abi/ia64-unknown-linux-gnu/baseline_symbols.txt: New file.
1239 * config/abi/alphaev67-unknown-linux-gnu: Add.
1240 * config/abi/alphaev67-unknown-linux-gnu/baseline_symbols.txt: New file.
1241
1242 2002-09-05 Jonathan Wakely <jw@kayari.org>
1243
1244 * docs/html/Makefile: Use more portable shell wildcard.
1245 * docs/html/makedoc.awk: Nest elements correctly for XHTML conversion.
1246 * docs/html/configopts.html, docs/html/documentation.html,
1247 docs/html/explanations.html, docs/html/install.html,
1248 docs/html/17_intro/contribute.html, docs/html/17_intro/howto.html,
1249 docs/html/17_intro/license.html, docs/html/18_support/howto.html,
1250 docs/html/19_diagnostics/howto.html, docs/html/20_util/howto.html,
1251 docs/html/21_strings/howto.html, docs/html/22_locale/codecvt.html,
1252 docs/html/22_locale/ctype.html, docs/html/22_locale/howto.html,
1253 docs/html/22_locale/locale.html, docs/html/22_locale/messages.html,
1254 docs/html/23_containers/howto.html, docs/html/24_iterators/howto.html,
1255 docs/html/25_algorithms/howto.html, docs/html/26_numerics/howto.html,
1256 docs/html/27_io/howto.html, docs/html/ext/howto.html,
1257 docs/html/ext/sgiexts.html, docs/html/faq/index.html: Convert
1258 to XHTML.
1259 * docs/html/faq/index.txt: Regenerate.
1260
1261 2002-09-05 Jakub Jelinek <jakub@redhat.com>
1262
1263 * config/locale/gnu/ctype_members.cc (ctype<wchar_t>::do_widen(char)):
1264 Switch to _M_c_locale_ctype around btowc call.
1265 (ctype<wchar_t>::do_widen(const char*, const char *, wchar_t*)):
1266 Switch to _M_c_locale_ctype around mbsrtowcs call.
1267 (ctype<wchar_t>::do_narrow(char)): Switch to _M_c_locale_ctype around
1268 wctob call.
1269 (ctype<wchar_t>::do_narrow(const char*, const char *, wchar_t*)):
1270 Switch to _M_c_locale_ctype around wcsrtombs call.
1271
1272 2002-09-05 Jakub Jelinek <jakub@redhat.com>
1273
1274 * config/locale/gnu/monetary_members.cc
1275 (moneypunct<wchar_t, true>::_M_initialize_moneypunct,
1276 moneypunct<wchar_t, false>::_M_initialize_moneypunct): Use
1277 __uselocale instead of setlocale for glibc 2.3.
1278
1279 2002-09-05 Jakub Jelinek <jakub@redhat.com>
1280
1281 * config/locale/generic/c++locale_internal.h: New header.
1282 * config/locale/gnu/c++locale_internal.h: New header.
1283 * config/locale/gnu/c_locale.cc: Include it.
1284 * config/locale/gnu/collate_members.cc: Include it.
1285 * config/locale/gnu/ctype_members.cc: Include it.
1286 * config/locale/gnu/messages_members.cc: Include it.
1287 * config/locale/gnu/monetary_members.cc: Include it.
1288 * config/locale/gnu/numeric_members.cc: Include it.
1289 * config/locale/gnu/time_members.cc: Include it.
1290 (_M_put): Reorder __strftime_l and __wcsftime_l arguments to match
1291 glibc.
1292 (_M_initialize_timepunct): Initialize _M_c_locale_timepunct for
1293 C locale.
1294 * acinclude.m4: Include string.h when testing strcoll_l.
1295 For glibc 2.3 provide __-prefixed prototypes.
1296 (CLOCALE_INTERNAL_H): Set, add AC_LINK_FILES line.
1297 * aclocal.m4, configure: Rebuilt.
1298
1299 2002-09-05 Benjamin Kosnik <bkoz@redhat.com>
1300
1301 * include/bits/locale_facets.h: Add declaration of specialization
1302 here.
1303 * config/locale/gnu/messages_members.cc: Add specialization for
1304 messages<wchar_t>.
1305 * config/locale/gnu/messages_members.h: Remove generic definition
1306 of do_get.
1307
1308 2002-09-04 Richard Henderson <rth@redhat.com>
1309
1310 * include/std/std_limits.h (__glibcpp_f32_infinity_bytes,
1311 __glibcpp_f32_has_infinity, __glibcpp_f64_infinity_bytes,
1312 __glibcpp_f64_has_infinity, __glibcpp_f80_infinity_bytes,
1313 __glibcpp_f80_has_infinity, __glibcpp_f96_infinity_bytes,
1314 __glibcpp_f96_has_infinity, __glibcpp_f128_infinity_bytes,
1315 __glibcpp_f128_has_infinity, __glibcpp_float_infinity_bytes,
1316 __glibcpp_float_has_infinity, __glibcpp_double_infinity_bytes,
1317 __glibcpp_double_has_infinity, __glibcpp_long_double_infinity_bytes,
1318 __glibcpp_long_double_has_infinity): Remove.
1319 (std::numeric_limits<float>, std::numeric_limits<double>,
1320 std::numeric_limits<long double>): Use __builtin_huge_val
1321 to implement has_infinity and infinity().
1322 * src/limits.cc (__glibcpp_float_infinity, __glibcpp_double_infinity,
1323 __glibcpp_long_double_infinity): Remove.
1324
1325 2002-09-03 Richard Henderson <rth@redhat.com>
1326
1327 * include/std/std_limits.h (__glibcpp_f32_min, __glibcpp_f32_max,
1328 __glibcpp_f32_digits, __glibcpp_f32_digits10, __glibcpp_f32_radix,
1329 __glibcpp_f32_epsilon, __glibcpp_f32_min_exponent,
1330 __glibcpp_f32_min_exponent10, __glibcpp_f32_max_exponent,
1331 __glibcpp_f32_max_exponent10, __glibcpp_f64_min, __glibcpp_f64_max,
1332 __glibcpp_f64_digits, __glibcpp_f64_digits10, __glibcpp_f64_radix,
1333 __glibcpp_f64_min_exponent, __glibcpp_f64_min_exponent10,
1334 __glibcpp_f64_max_exponent, __glibcpp_f64_max_exponent10,
1335 __glibcpp_f80_min, __glibcpp_f80_max, __glibcpp_f80_digits,
1336 __glibcpp_f80_digits10, __glibcpp_f80_radix, __glibcpp_f80_epsilon,
1337 __glibcpp_f80_min_exponent, __glibcpp_f80_min_exponent10,
1338 __glibcpp_f80_max_exponent, __glibcpp_f80_max_exponent10,
1339 __glibcpp_f96_min, __glibcpp_f96_max, __glibcpp_f96_digits,
1340 __glibcpp_f96_digits10, __glibcpp_f96_radix, __glibcpp_f96_epsilon,
1341 __glibcpp_f96_min_exponent, __glibcpp_f96_min_exponent10,
1342 __glibcpp_f96_max_exponent, __glibcpp_f96_max_exponent10,
1343 __glibcpp_f128_min, __glibcpp_f128_max, __glibcpp_f128_digits,
1344 __glibcpp_f128_digits10, __glibcpp_f128_radix, __glibcpp_f128_epsilon,
1345 __glibcpp_f128_min_exponent, __glibcpp_f128_min_exponent10,
1346 __glibcpp_f128_max_exponent, __glibcpp_f128_max_exponent10,
1347 __glibcpp_float_min, __glibcpp_float_max, __glibcpp_float_digits,
1348 __glibcpp_float_digits10, __glibcpp_float_radix,
1349 __glibcpp_float_epsilon, __glibcpp_float_min_exponent,
1350 __glibcpp_float_min_exponent10, __glibcpp_float_max_exponent,
1351 __glibcpp_float_max_exponent10, __glibcpp_double_min,
1352 __glibcpp_double_max, __glibcpp_double_digits,
1353 __glibcpp_double_digits10, __glibcpp_double_radix,
1354 __glibcpp_double_epsilon, __glibcpp_double_min_exponent,
1355 __glibcpp_double_min_exponent10, __glibcpp_double_max_exponent,
1356 __glibcpp_double_max_exponent10, __glibcpp_long_double_min,
1357 __glibcpp_long_double_max, __glibcpp_long_double_digits,
1358 __glibcpp_long_double_digits10, __glibcpp_long_double_radix,
1359 __glibcpp_long_double_epsilon, __glibcpp_long_double_min_exponent,
1360 __glibcpp_long_double_min_exponent10,
1361 __glibcpp_long_double_max_exponent,
1362 __glibcpp_long_double_max_exponent10): Remove macros.
1363 (std::numeric_limits<float>, std::numeric_limits<double>,
1364 std::numeric_limits<long double>): Use protected float.h macros.
1365
1366 2002-09-01 Phil Edwards <pme@gcc.gnu.org>
1367
1368 * testsuite/Makefile.am: Use LD_RUN_PATH when linking abi_check.
1369 Fix spelling in comment.
1370 * testsuite/Makefile.in: Regenerate.
1371 * testsuite/abi_check.cc: Use string literals to build 'cmd' rather
1372 than 'quote' and 'bslash'.
1373
1374 2002-08-31 Phil Edwards <pme@gcc.gnu.org>
1375
1376 * acinclude.m4: Minor comment tweaks.
1377
1378 * docs/html/makedoc.awk: New file...
1379 * docs/html/Makefile: ...called from here...
1380 * docs/html/documentation.html: ...to help generate this.
1381
1382 * docs/html/21_strings/howto.html: Prepare for new entry.
1383 * include/bits/basic_string.h: Initial basic_stirng hook for
1384 doxygen. Remove trailing whitespace.
1385 * include/bits/char_traits.h: Point to onlinedocs for new entry.
1386 * include/bits/stringfwd.h: Add doxygen hooks for string and
1387 wstring typedefs.
1388
1389 2002-08-29 Richard Earnshaw <rearnshaw@arm.com>
1390
1391 * config/cpu/arm/cpu_limits.h: New file.
1392 * configure.target: Use config/cpu/arm for XScale and StrongARM
1393 configurations.
1394
1395 2002-08-28 Gabriel Dos Reis <gdr@integrable-solutions.net>
1396
1397 * include/std/std_limits.h (__glibcpp_char_bits,
1398 __glibcpp_short_bits, __glibcpp_int_bits, __glibcpp_long_bits,
1399 __glibcpp_long_long_bits, __glibcpp_float_bits,
1400 __glibcpp_double_bits, __glibcpp_long_double_bits): Remove. Use
1401 compiler predifined macros.
1402 (__glibcpp_wchar_t_is_signed): Define based on compiler predefined
1403 __WCHAR_UNSIGNED__.
1404
1405 2002-08-27 Gabriel Dos Reis <gdr@integrable-solutions.net>
1406
1407 * include/std/std_limits.h (__glibcpp_f32_infinity_bytes,
1408 __glibcpp_f32_has_infinity, __glibcpp_f32_QNaN_bytes,
1409 __glibcpp_f32_has_QNaN, __glibcpp_f32_SNaN_bytes,
1410 __glibcpp_f32_has_SNaN, __glibcpp_f32_denorm_min_bytes,
1411 __glibcpp_f32_has_denorm, __glibcpp_f32_is_iec559,
1412 __glibcpp_f64_infinity_bytes,
1413 __glibcpp_f64_has_infinity, __glibcpp_f64_QNaN_bytes,
1414 __glibcpp_f64_has_QNaN, __glibcpp_f64_SNaN_bytes,
1415 __glibcpp_f64_has_SNaN, __glibcpp_f64_denorm_min_bytes,
1416 __glibcpp_f64_has_denorm, __glibcpp_f64_is_iec559,
1417 __glibcpp_f80_infinity_bytes,
1418 __glibcpp_f80_has_infinity, __glibcpp_f80_QNaN_bytes,
1419 __glibcpp_f80_has_QNaN, __glibcpp_f80_SNaN_bytes,
1420 __glibcpp_f80_has_SNaN, __glibcpp_f80_denorm_min_bytes,
1421 __glibcpp_f80_has_denorm, __glibcpp_f80_is_iec559,
1422 __glibcpp_f96_infinity_bytes,
1423 __glibcpp_f96_has_infinity, __glibcpp_f96_QNaN_bytes,
1424 __glibcpp_f96_has_QNaN, __glibcpp_f96_SNaN_bytes,
1425 __glibcpp_f96_has_SNaN, __glibcpp_f96_denorm_min_bytes,
1426 __glibcpp_f96_has_denorm, __glibcpp_f96_is_iec559,
1427 __glibcpp_f128_infinity_bytes,
1428 __glibcpp_f128_has_infinity, __glibcpp_f128_QNaN_bytes,
1429 __glibcpp_f128_has_QNaN, __glibcpp_f128_SNaN_bytes,
1430 __glibcpp_f128_has_SNaN, __glibcpp_f128_denorm_min_bytes,
1431 __glibcpp_f128_has_denorm, __glibcpp_f128_is_iec559,
1432 __glibcpp_float_infinity_bytes,
1433 __glibcpp_float_has_infinity, __glibcpp_float_QNaN_bytes,
1434 __glibcpp_float_has_QNaN, __glibcpp_float_SNaN_bytes,
1435 __glibcpp_float_has_SNaN, __glibcpp_float_denorm_min_bytes,
1436 __glibcpp_float_has_denorm, __glibcpp_float_is_iec559,
1437 __glibcpp_double_infinity_bytes,
1438 __glibcpp_double_has_infinity, __glibcpp_double_QNaN_bytes,
1439 __glibcpp_double_has_QNaN, __glibcpp_double_SNaN_bytes,
1440 __glibcpp_double_has_SNaN, __glibcpp_double_denorm_min_bytes,
1441 __glibcpp_double_has_denorm, __glibcpp_double_is_iec559,
1442 __glibcpp_long_double_infinity_bytes,
1443 __glibcpp_long_double_has_infinity, __glibcpp_long_double_QNaN_bytes,
1444 __glibcpp_long_double_has_QNaN, __glibcpp_long_double_SNaN_bytes,
1445 __glibcpp_long_double_has_SNaN, __glibcpp_long_double_denorm_min_bytes,
1446 __glibcpp_long_double_has_denorm, __glibcpp_long_double_is_iec559:
1447 New macros.
1448 (__glibcpp_word_bits, __glibcpp_word): Likewise.
1449 (__glibcpp_byte): New typedef.
1450 (__float_storage, __double_storage, __long_double_storage): New types.
1451 (__glibcpp_float_infinity, __glibcpp_float_QNaN,
1452 __glibcpp_float_SNaN, __glibcpp_float_denorm_min): Now
1453 objects. Declare.
1454 (__glibcpp_double_infinity, __glibcpp_double_QNaN,
1455 __glibcpp_double_SNaN, __glibcpp_double_denorm_min): Likewise.
1456 (__glibcpp_long_double_infinity, __glibcpp_long_double_QNaN,
1457 __glibcpp_long_double_SNaN, __glibcpp_long_double_denorm_min):
1458 Likewise.
1459
1460 * src/limits.cc (__glibcpp_float_infinity, __glibcpp_float_QNaN,
1461 __glibcpp_float_SNaN, __glibcpp_float_denorm_min): Define.
1462 (__glibcpp_double_infinity, __glibcpp_double_QNaN,
1463 __glibcpp_double_SNaN, __glibcpp_double_denorm_min): Likewise.
1464 (__glibcpp_long_double_infinity, __glibcpp_long_double_QNaN,
1465 __glibcpp_long_double_SNaN, __glibcpp_long_double_denorm_min):
1466 Likewise.
1467
1468 2002-08-25 Gabriel Dos Reis <gdr@integrable-solutions.net>
1469
1470 * include/std/std_limits.h: Indent conditional macro definitions.
1471
1472 2002-08-23 Phil Edwards <pme@gcc.gnu.org>
1473
1474 * Makefile.am (check-abi): Specify current directory.
1475 * acinclude.m4 (GLIBCPP_CONFIGURE_TESTSUITE): Fix shell syntax, use
1476 abi_baseline_triplet in baseline_file.
1477 * Makefile.in, aclocal.m4, configure: Regenerate.
1478 * configure.target: Add abi_baseline_triplet with default.
1479 * testsuite/abi_check.cc: More error checking.
1480
1481 2002-08-23 Phil Edwards <pme@gcc.gnu.org>
1482
1483 * config/linker-map.gnu: Verbose comments, clean up spacing.
1484 * include/bits/stl_alloc.h: Fix indentation of 'if' bodies, return
1485 statements.
1486 __allocator: Change class declaration to struct.
1487 * docs/html/17_intro/C++STYLE: Fix typo.
1488 * include/bits/stl_deque.h, include/bits/stl_list.h,
1489 include/bits/stl_map.h, include/bits/stl_multimap.h,
1490 include/bits/stl_vector.h: Fix fallout from typo.
1491
1492 2002-08-22 Benjamin Kosnik <bkoz@redhat.com>
1493
1494 * acinclude.m4 (GLIBCPP_CONFIGURE_TESTSUITE): Set
1495 GLIBCPP_BUILD_ABI_CHECK based on cross compiling, build, host
1496 variables.
1497 * aclocal.m4: Regenerate.
1498 * testsuite/Makefile.am (noinst_PROGRAMS): Make conditional on
1499 native compiling.
1500 * testsuite/Makefile.in: Regenerate.
1501
1502 2002-08-22 Loren J. Rittle <ljrittle@acm.org>
1503
1504 * testsuite/abi_check.cc: Enhance shell portability.
1505 Support older binutils/readelf.
1506 * config/abi/i386-unknown-freebsd4.6: Add.
1507 * config/abi/i386-unknown-freebsd4.6/baseline_symbols.txt: New file.
1508
1509 2002-08-22 Paolo Carlini <pcarlini@unitus.it>
1510
1511 * docs/html/faq/index.html: Add Loren James Rittle and
1512 Paolo Carlini to the list of v3 maintainers.
1513 * docs/html/faq/index.txt: Ditto.
1514 * docs/html/17_intro/RELEASE-NOTES: Ditto.
1515
1516 2002-08-22 Benjamin Kosnik <bkoz@redhat.com>
1517 Phil Edwards <pme@gcc.gnu.org>
1518 Ulrich Drepper <drepper@redhat.com>
1519
1520 * Makefile.am (check-abi): New rule.
1521 * Makefile.in: Regenerate.
1522 * acinclude.m4 (GLIBCPP_CONFIGURE_TESTSUITE): Export baseline_file.
1523 * aclocal.m4: Regenerate.
1524 * configure: Regenerate.
1525 * testsuite/Makefile.am (noinst_PROGRAMS): Add abi_check.
1526 (abi_check_SOURCES): Add.
1527 * testsuite/Makefile.in: Regenerate.
1528 * testsuite/abi_check.cc: New file.
1529 * config/abi: Add.
1530 * config/abi/i686-pc-linux-gnu: Add.
1531 * config/abi/i686-pc-linux-gnu/baseline_symbols.txt: New file.
1532
1533 2002-08-19 Benjamin Kosnik <bkoz@redhat.com>
1534
1535 * configure.in (libtool_VERSION): Update to 5:1:0.
1536 * configure: Regenerate.
1537
1538 2002-08-19 Jonathan Wakely <jw@kayari.org>
1539
1540 * docs/html/configopts.html, docs/html/documentation.html,
1541 docs/html/install.html, docs/html/22_locale/codecvt.html,
1542 docs/html/22_locale/ctype.html, docs/html/22_locale/howto.html,
1543 docs/html/22_locale/locale.html,
1544 docs/html/22_locale/messages.html: Conform to HTML 4.01 standard.
1545
1546 2002-08-15 Benjamin Kosnik <bkoz@redhat.com>
1547
1548 * include/ext/stdio_filebuf.h (stdio_filebuf): Explicitly set
1549 _M_buf_size_opt to zero when unbuffering.
1550 * include/bits/fstream.tcc (filebuf::showmanyc): Simplify.
1551 Consistency checks for _M_buf_size_opt.
1552
1553 Revert PR libstdc++/7445
1554 * src/locale.cc (locale::classic): Revert.
1555
1556 * docs/html/17_intro/TODO: Add.
1557
1558 2002-08-15 Phil Edwards <pme@gcc.gnu.org>
1559
1560 * docs/html/documentation.html: Update doxygen links for 3.2.
1561
1562 2002-08-15 Steve Ellcey <sje@cup.hp.com>
1563
1564 * libsupc++/unwind-cxx.h (__cxa_exception): Change catchTemp
1565 type from void* to _Unwind_Ptr.
1566 * libsupc++/eh_personality.cc (PERSONALITY_FUNCTION):
1567 Do not cast landing_pad or base_of_encoded_value to (void *).
1568 * libsupc++/eh_throw.cc (__gxx_exception_cleanup):
1569 Accept _URC_NO_REASON as a valid reason code.
1570
1571 2002-08-14 Jonathan Wakely <jw@kayari.org>
1572
1573 * docs/html/22_locale/messages.html: Use HTML entities for
1574 punctuation.
1575
1576 2002-08-13 Jonathan Wakely <jw@kayari.org>
1577 Phil Edwards <pme@gcc.gnu.org>
1578
1579 * docs/html/documentation.html: Use HTML entities for punctuation.
1580
1581 2002-08-09 Phil Edwards <pme@gcc.gnu.org>
1582
1583 * include/bits/deque.tcc, include/bits/list.tcc,
1584 include/bits/stl_deque.h, include/bits/stl_iterator_base_funcs.h,
1585 include/bits/stl_list.h, include/bits/stl_map.h,
1586 include/bits/stl_multimap.h, include/bits/stl_queue.h,
1587 include/bits/stl_stack.h, include/bits/stl_vector.h,
1588 include/bits/vector.tcc: Re-indent contents of namespace std,
1589 re-wrap comment lines as necessary.
1590
1591 2002-08-08 Danny Smith <dannysmith@users.sourceforge.net>
1592 Benjamin Kosnik <bkoz@redhat.com>
1593
1594 * include/bits/istream.tcc (basic_istream::ignore): Use sbumpc,
1595 not snextc.
1596 * testsuite/27_io/narrow_stream_objects.cc (test10): Add.
1597
1598 2002-08-07 John David Anglin <dave@hiauly1.hia.nrc.ca>
1599
1600 * libsupc++/Makefile.am (LTCOMPILE): Add LIBSUPCXX_PICFLAGS.
1601 * libsupc++/Makefile.in: Regenerate.
1602
1603 2002-08-05 Gabriel Dos Reis <gdr@nerim.net>
1604
1605 PR/7491
1606 * include/bits/slice_array.h(_DEFINE_VALARRAY_OPERATOR):
1607 Instantiate with new function objects.
1608 * include/bits/mask_array.h (_DEFINE_VALARRAY_OPERATOR): Likewise.
1609 Reformat. Uglify.
1610 * include/bits/gslice_array.h: Likewise.
1611 * include/bits/indirect_array.h: Likewise.
1612
1613 2002-08-03 Gabriel Dos Reis <gdr@nerim.net>
1614
1615 * testsuite/26_numerics/valarray_name_lookup.cc: Rename from
1616 testsuite/26_numerics/valarray_name_lookup.C
1617
1618 * include/bits/valarray_array.h (_DEFINE_ARRAY_FUNCTION): Use our
1619 object function surrogates.
1620 * include/bits/valarray_meta.h (__shift_left): Fix typo.
1621 (_BinFunClos<>): Remove.
1622 (_BinFunBase<>): Likewise.
1623 (_BinFunBase1<>):Likewise.
1624 (_BinFunBase2<>): Likewise.
1625 (_DEFINE_EXPR_RELATIONAL_OPERATOR): Likewise.
1626 (_DEFINE_EXPR_UNARY_OPERATOR): Adjust definition.
1627 (_DEFINE_EXPR_BINARY_OPERATOR): Likewise.
1628 (_DEFINE_EXPR_BINARY_FUNCTION): Likewise.
1629 * include/std/std_valarray.h: Dont #include <functional> anymore.
1630 (_Bitwise_or<>, _Bitwise_and<>, _Bitwise_xor<>, _Shift_left<>,
1631 _Shift_right<>): Remove.
1632 (_DEFINE_VALARRAY_AUGMENTED_ASSIGNMENT): Adjust instantiation.
1633 (_DEFINE_BINARY_OPERATOR): Tweak definition.
1634 (_DEFINE_LOGICAL_OPERATOR): Remove.
1635 * testsuite/26_numerics/valarray_name_lookup.C (main): Add more tests.
1636
1637 2002-08-02 Gabriel Dos Reis <gdr@nerim.net>
1638
1639 * include/bits/valarray_meta.h (_UnFunBase<>): Remove.
1640 (_UnFunClos<>): Same.
1641 (_UnBase<>): Reformat. Make first template-parameter non
1642 template.
1643 (_UnClos<>): Likewise.
1644 (_Expr<>): Reformate. Adjust unary member operator return types.
1645 (_DEFINE_EXPR_UNARY_OPERATOR): Adjust definition.
1646 (_DEFINE_EXPR_UNARY_FUNCTION): Likewise.
1647 * include/std/std_valarray.h (_UnClos<>): Adjust declaration.
1648 (valarray<>::_UnaryOp<>): New nested traits. Adjust unary member
1649 operator return types. Reformat.
1650 (_Bitwise_not): Remove.
1651 (_DEFINE_VALARRAY_UNARY_OPERATOR): Adjust definition.
1652 * testsuite/26_numerics/valarray_name_lookup.C: New test.
1653
1654 2002-08-02 Danny Smith <dannysmith@users.sourceforge.net>
1655
1656 * config/os/newlib/ctype_inline.h (is): Don't offset _M_table.
1657 (scan_is): Use this->is.
1658 (scan_not): Likewise.
1659
1660 2002-08-02 Benjamin Kosnik <bkoz@redhat.com>
1661
1662 Revert PR libstdc++/6594
1663 * src/strstream.cc (strstreambuf): Revert.
1664 (strstreambuf::overflow): Same.
1665 (strstreambuf::~strstreambuf): Same.
1666 * testsuite/backward/strstream_members.cc (test02): Add.
1667
1668 * docs/html/abi.txt: Update. Spell check.
1669
1670 * testsuite/19_diagnostics/stdexceptions.cc (test04): Add bool test.
1671
1672 * testsuite/Makefile.am (INCLUDES): Add LIBSUPCXX_INCLUDES.
1673 * testsuite/Makefile.in: Regenerate.
1674 * testsuite/testsuite_hooks.h: Use __throw_exception_again,
1675 include functexcept.h so that -fno-exceptions will build.
1676
1677 2002-08-02 Gabriel Dos Reis <gdr@nerim.net>
1678
1679 * include/bits/valarray_meta.h (__unary_plus, __negate,
1680 __bitwise_not, __plus, __minus, __multiplies, __divides,
1681 __modulus, __bitwise_xor, __bitwise_or, __bitwise_and,
1682 __shift_left, __shift_right, __logical_and, __logical_or,
1683 __logical_not, __equal_to, __not_equal_to, __less, __less_equal,
1684 __greater_equal, __greater, __atan2, __pow): New function object
1685 classes.
1686 (__fun<>): New function traits class.
1687
1688 2002-08-01 Rick Danos <rdanos@hotmail.com>
1689
1690 PR libstdc++/7461
1691 * config/os/newlib/ctype_noninline.h (classic_table): Add offset.
1692 * config/os/newlib/ctype_inline.h (is): Use static_cast.
1693
1694 2002-08-01 Neil Booth <neil@daikokuya.co.uk>
1695
1696 * libsupc++/Makefile.am (LT_COMPILE): Remove C++ flags.
1697 * libsupc++/Makefile.in: Regenerate.
1698
1699 2002-08-01 Benjamin Kosnik <bkoz@redhat.com>
1700 Jakub Jelinek <jakub@redhat.com>
1701
1702 * config/linker-map.gnu: Change CXXABI_1 to CXXABI_1.2,
1703 GLIBCPP_3.1 to GLIBCPP_3.2.
1704
1705 2002-07-31 Benjamin Kosnik <bkoz@redhat.com>
1706 Mark Mitchell <mark@codesourcery.com>
1707
1708 PR libstdc++/7442
1709 * libsupc++/cxxabi.h (class __base_class_type_info::hwm_bit):
1710 Change to __hwm_bit.
1711 (__class_type_info): And here.
1712
1713 2002-07-31 Benjamin Kosnik <bkoz@redhat.com>
1714
1715 PR libstdc++/7442
1716 * libsupc++/cxxabi.h
1717 (__base_class_info): Change to __base_class_type_info. 2.9.5p6c
1718 (__base_class_info::__base): Change to __base_type. 2.9.5p6c
1719 (__base_class_info::offset_shift): Change to __offset_shift. 2.9.5p6c
1720 (__vmi_class_type_info::__base_info): Don't make const, of type
1721 __base_class_type_info, as per 2.9.5p6c
1722 (__pbase_type_info::__qualifier_flags): Change to __flags, as per
1723 2.9.5p7.
1724 (__pbase_type_info::__qualifier_masks): Change to __masks, as per
1725 2.9.5p7.
1726 (__pointer_to_member_type_info::__context_class): Change member to
1727 __context, as per 2.9.5p9.
1728 * libsupc++/tinfo2.cc (__pointer_catch): Change __context_class to
1729 __context.
1730 * libsupc++/tinfo2.cc (__do_catch): Change __qualifier_flags to
1731 __flags.
1732 * libsupc++/tinfo.cc (__do_find_public_src): Change __base to
1733 __base_type.
1734 * libsupc++/tinfo.cc (__do_dyncast): Same.
1735 * libsupc++/tinfo.cc (__do_upcast): Same.
1736
1737 2002-07-31 Benjamin Kosnik <bkoz@redhat.com>
1738
1739 * src/fstream.cc: Add _GLIBCPP_USE_WCHAR_T guards.
1740
1741 2002-07-31 Simon Whomsley <whomsley@avacadcam.com>
1742
1743 * docs/html/22_locale/howto.html: Fix.
1744
1745 2002-07-31 Alex Kompel <shurik@sequoiap.com>
1746
1747 PR libstdc++/7445
1748 * src/locale.cc (locale::classic): Move locks inside !_S_classic
1749 block.
1750
1751 2002-07-31 Benjamin Kosnik <bkoz@redhat.com>
1752
1753 * docs/html/abi.txt: Update.
1754
1755 2002-07-30 Benjamin Kosnik <bkoz@redhat.com>
1756 Gabriel Dos Reis <gdr@nerim.net>
1757
1758 * include/bits/char_traits.h: Remove generic definitions.
1759 * include/bits/streambuf_iterator.h (istreambuf_iterator): Use
1760 eof, not -2.
1761 * include/bits/istream.tcc (istream::readsome): Don't check
1762 against eof, instead use constants.
1763 (istream::sync): Same.
1764 (istream::sentry::sentry): Use eq_int_type.
1765 (istream::get): Same.
1766 * include/bits/ostream.tcc: Change __pad to
1767 __pad<_CharT, _Traits>::_S_pad.
1768 * include/bits/locale_facets.h: Add __pad_traits generic and
1769 ostreambuf_iterator specialization.
1770 * include/bits/locale_facets.tcc: Change __pad into struct __pad
1771 with a _CharT and _Traits template parameter and _S_pad static
1772 member function.
1773 * src/locale-inst.cc: Update __pad instantiations.
1774
1775 * include/std/std_fstream.h: Declare _M_underflow_common
1776 specializations.
1777 * src/fstream.cc: New. Add _M_underflow_common specializations.
1778 * include/bits/fstream.tcc (filebuf::close): Use traits_type.
1779 (filebuf::_M_underflow_common(bool)): Remove generic version, as
1780 sys_ungetc and custom int_types don't get along.
1781 * include/std/std_streambuf.h: Add _M_pos.
1782 * src/Makefile.am (sources): Add fstream.cc.
1783 * src/Makefile.in: Regenerate.
1784
1785 * testsuite/21_strings/capacity.cc: Add char_traits specializations.
1786 * testsuite/22_locale/codecvt_members_unicode_char.cc: Same.
1787 * testsuite/22_locale/codecvt_members_unicode_wchar_t.cc: Same.
1788 * testsuite/22_locale/ctor_copy_dtor.cc: Same.
1789 * testsuite/27_io/filebuf_virtuals.cc (test07): Move to...
1790 * testsuite/27_io/filebuf.cc: ...here.
1791 * testsuite/testsuite_hooks.h: Add gnu_char, gnu_int, char_traits
1792 specialization for both.
1793 * testsuite/27_io/streambuf.cc: Add instantiation test,
1794 testsuite_hooks include.
1795 * testsuite/27_io/istream.cc: Same.
1796 * testsuite/27_io/ostream.cc: Same.
1797 * testsuite/27_io/fstream.cc: Same.
1798 * testsuite/27_io/stringstream.cc: Same.
1799 * testsuite/27_io/filebuf.cc: Same.
1800 * testsuite/27_io/stringbuf.cc: Same.
1801
1802 2002-07-29 Alan Modra <amodra@bigpond.net.au>
1803
1804 * config/cpu/powerpc/cpu_limits.h (__glibcpp_long_bits): Define.
1805 * configure.target (cpu_include_dir): Use cpu/powerpc for powerpc64.
1806 * config/cpu/powerpc/atomicity.h (__always_swap): Remove.
1807 (__test_and_set): Remove.
1808 (_STWCX): Define and use.
1809
1810 2002-07-26 Phil Edwards <pme@gcc.gnu.org>
1811
1812 * libsupc++/new (placement delete): Remove unused parameter names.
1813
1814 2002-07-25 Benjamin Kosnik <bkoz@redhat.com>
1815
1816 PR libstdc++/7216
1817 * include/std/std_istream.h (basic_iostream): Add typedefs for
1818 char_type, int_type, pos_type, off_type, and traits_type.
1819 * testsuite/27_io/iostream.cc (test01): Add typedef tests.
1820 * testsuite/27_io/istream.cc: Same.
1821 * testsuite/27_io/ostream.cc: Same.
1822 * testsuite/27_io/filebuf.cc: Same.
1823 * testsuite/27_io/stringbuf.cc: Replace content, move to...
1824 * testsuite/27_io/stringbuf_members.cc: ...here.
1825 * testsuite/27_io/streambuf.cc: Replace content, move to...
1826 * testsuite/27_io/streambuf_members.cc: ...here.
1827 * testsuite/27_io/stringstream.cc: Replace content, move to...
1828 * testsuite/27_io/stringstream_members.cc: ...here.
1829 * testsuite/27_io/ios.cc: New file.
1830 * testsuite/27_io/fstream.cc: New file.
1831 * testsuite/27_io/ifstream.cc: New file.
1832 * testsuite/27_io/ofstream.cc: New file.
1833 * testsuite/27_io/istringstream.cc: New file.
1834 * testsuite/27_io/ostringstream.cc: New file.
1835
1836 2002-07-25 Benjamin Kosnik <bkoz@redhat.com>
1837
1838 PR libstdc++/7220
1839 * include/bits/istream.tcc (istream::ignore): Don't extract on
1840 zero.
1841 * testsuite/27_io/istream_unformatted.cc (test10): Add.
1842
1843 2002-07-25 Benjamin Kosnik <bkoz@redhat.com>
1844
1845 * testsuite/27_io/ios_base_type.cc: Move to...
1846 * testsuite/27_io/ios_base_types.cc: ...here.
1847
1848 2002-07-24 Benjamin Kosnik <bkoz@redhat.com>
1849
1850 PR libstdc++/7222
1851 * src/locale.cc (locale::locale(const char*)): Use setlocale NULL.
1852 * testsuite/22_locale/ctor_copy_dtor.cc (test02): New.
1853
1854 2002-07-24 Benjamin Kosnik <bkoz@redhat.com>
1855
1856 PR libstdc++/7230
1857 * config/linker-map.gnu: Revert strstream patch from 2002-07-01.
1858 * include/Makefile.am (backward_headers): Use strstream, not
1859 strstream.h.
1860 * include/Makefile.in: Regenerate.
1861 * include/backward/strstream: Revert.
1862 * include/backward/strstream.h: Remove.
1863 * src/strstream.cc: Revert.
1864 * testsuite/backward/strstream_members.cc: Change include.
1865
1866 2002-07-24 Benjamin Kosnik <bkoz@redhat.com>
1867
1868 PR libstdc++/7219
1869 * include/bits/ios_base.h (ios_base::streampos): Add.
1870 (ios_base::streamoff): Add.
1871 * testsuite/27_io/ios_base_type.cc: New.
1872
1873 2002-07-24 Benjamin Kosnik <bkoz@redhat.com>
1874
1875 PR libstdc++/7286
1876 * libsupc++/new: Add placement delete.
1877 * testsuite/18_support/new_delete_placement.cc: New.
1878
1879 * docs/html/abi.txt: Fix typos.
1880
1881 2002-07-23 Benjamin Kosnik <bkoz@redhat.com>
1882
1883 * docs/html/documentation.html: Remove libstdc++-v3.0.86 links,
1884 confusing usage of "latest."
1885 De-tangle contributor information from introductory notes.
1886 Move abi.txt link placement, activate.
1887 Re-organize.
1888 Move chapter info into old FAQ format.
1889 * docs/html/organization.html: Removed, obsoleted by doxygen work.
1890 * docs/html/abi.txt: Add notes on testing ABI changes.
1891
1892 2002-07-20 Phil Edwards <pme@gcc.gnu.org>
1893
1894 * docs/html/abi.txt: New file.
1895 * docs/html/23_containers/howto.html: Tweak vector-overhead text.
1896 * docs/html/ext/lwg-active.html, docs/html/ext/lwg-defects.html:
1897 Import from upstream, R22.
1898
1899 * include/bits/char_traits.h, include/bits/stl_iterator.h,
1900 include/bits/stl_iterator_base_types.h, libsupc++/exception,
1901 libsupc++/new, libsupc++/typeinfo: Use @brief markup.
1902
1903 * include/bits/deque.tcc, include/bits/stl_alloc.h,
1904 include/bits/stl_deque.h, include/bits/stl_list.h: Postpone removal
1905 of deprecated functions until 3.4. (Same timeframe, different text.)
1906 * include/bits/stl_vector.h: Ditto. Also do the same cleanups that
1907 the other sequence classes received.
1908
1909 2002-07-18 Brendan Kehoe <brendan@zen.org>
1910
1911 * bits/slice_array.h (_DEFINE_VALARRAY_OPERATOR): Fix typo of
1912 _Nname to _Name.
1913
1914 2002-07-19 Gabriel Dos Reis <gdr@nerim.net>
1915
1916 DR/123
1917 * include/bits/slice_array.h
1918 (slice_array<T>::operator=(const T&)): Constify.
1919 * include/bits/gslice_array.h
1920 (gslice_array<T>::operator=(const T&)): Likewise.
1921 * include/bits/mask_array.h
1922 (mask_array<T>::operator=(const T&)): Likewise.
1923 * include/bits/indirect_array.h
1924 (indirect_array<T>::operator=(const T&): Likewise.
1925
1926 2002-07-17 Phil Edwards <pme@gcc.gnu.org>
1927
1928 * docs/doxygen/run_doxygen: Remove template parameter names from
1929 "Compound List" summary page. Reformat.
1930 * docs/html/documentation.html: XHTML fixes.
1931
1932 2002-07-16 Andreas Schwab <schwab@suse.de>
1933
1934 * libsupc++/new (set_new_handler): Declare to not throw any
1935 exceptions.
1936 * libsupc++/new_handler.cc (set_new_handler): Likewise.
1937
1938 2002-07-16 Gabriel Dos Reis <gdr@nerim.net>
1939
1940 * include/Makefile.am (bits_headers): Remove slice.h
1941 * include/Makefile.in: Regenerate.
1942 * include/bits/slice.h (slice): move to include/bits/slice_array.h
1943 * include/bits/slice.h Remove.
1944 * include/std/std_valarray.h: Don't #include bits/slice.h anymore.
1945 * include/bits/slice_array.h: Comply to official coding styles.
1946 * testsuite/26_numerics/slice.cc: New test.
1947
1948 2002-07-15 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
1949
1950 * config/os/solaris/solaris2.5/ctype_base.h (ctype_base): Fix
1951 print to match vendor <ctype.h>.
1952
1953 2002-07-15 Phil Edwards <pme@gcc.gnu.org>
1954
1955 * docs/html/faq/index.html: Fix download links.
1956 * docs/html/faq/index.txt: Regenerate.
1957 * docs/html/17_intro/porting.html: Regenerate from earlier changes.
1958
1959 2002-07-11 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
1960
1961 * configure.target (target_os switch): Allow for irix6*o32
1962 configurations.
1963
1964 2002-07-10 Gabriel Dos Reis <gdr@nerim.net>
1965
1966 * include/bits/valarray_meta.h (_UnFunBase): Take a second
1967 template parameter. Remove _M_func data member.
1968 (_UnFunClos): Take a third template parameter.
1969 (__abs, __cos, __acos, __cosh, __sin, __asin, __sinh, __tan,
1970 __atan, __tanh, __exp, __log, __log10, __sqrt): New classes.
1971 (_DEFINE_EXPR_UNARY_OPERATOR): Adjust definition.
1972
1973 2002-07-08 Eric Christopher <echristo@redhat.com>
1974
1975 * configure.target: Fix comment for mips atomicity. Add
1976 mips*-*-linux* target, enable atomic operations there.
1977 * config/cpu/mips/atomicity.h: Fix comments, remove
1978 #ifndef/#endif. Add push/pop mips2.
1979
1980 2002-07-08 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
1981
1982 * include/bits/stl_deque.h (_Deque_alloc_base): Change order of
1983 member declarations to avoid compiler warnings and restore 3.1 ABI.
1984
1985 2002-07-08 Phil Edwards <pme@gcc.gnu.org>
1986
1987 * docs/html/23_containers/howto.html: Link to dk_std::vector paper
1988 and homepage.
1989
1990 2002-07-07 Paolo Carlini <pcarlini@unitus.it>
1991
1992 PR libstdc++/7186
1993 * include/bits/stl_deque.h (_Deque_iterator::operator-):
1994 Make non-member, as already happens for the comparison
1995 operators in accord with DR179 (Ready).
1996 * testsuite/23_containers/deque_operators.cc: Add test02.
1997
1998 2002-07-04 Benjamin Kosnik <bkoz@redhat.com>
1999 Jack Reeves <jackw_reeves@hotmail.com>
2000
2001 * include/std/std_streambuf.h (basic_streambuf::_M_buf): Change to
2002 size_t, from int_type.
2003 (basic_streambuf::_M_buf_size_opt): Same.
2004 (basic_streambuf::_S_pback_sizex): Same.
2005 * include/bits/streambuf.tcc: Same.
2006 * include/std/std_streambuf.h (basic_streambuf::snextc): Use
2007 eq_int_type.
2008 (basic_streambuf::uflow): Same.
2009 * include/bits/sstream.tcc (basic_stringbuf::overflow): Use
2010 to_char_type.
2011 * include/bits/basic_ios.tcc (basic_ios::init): Use _CharT().
2012 * include/bits/streambuf.tcc (basic_streambuf::xsgetn): Use
2013 eq_int_type.
2014 (basic_streambuf::xsputn): Same.
2015 (__copy_streambufs): Same.
2016
2017 2002-07-03 Benjamin Kosnik <bkoz@redhat.com>
2018
2019 * include/std/std_memory.h: Fix formatting.
2020 * testsuite/20_util/auto_ptr_neg.cc: New.
2021 * testsuite/20_util/auto_ptr.cc: Tweaks.
2022 * testsuite/23_containers/map_operators.cc (test01): Split into..
2023 * testsuite/23_containers/map_operators_neg.cc (test01): ...this. New.
2024 * testsuite/23_containers/set_operators.cc: Move to...
2025 * testsuite/23_containers/set_operators_neg.cc: ...here.
2026 * testsuite/README: Add some more naming rules.
2027
2028 2002-07-03 Steev Wilcox <steev@paradigmds.com>
2029
2030 PR libstdc++/7057
2031 * include/ext/stl_hashtable.h: Fix.
2032 * testsuite/ext/hash_map.cc: New.
2033
2034 2002-07-03 Jack Reeves <jackw_reeves@hotmail.com>
2035 Kenny Simpson <theonetruekenny@yahoo.com>
2036 Phil Edwards <pme@gcc.gnu.org>
2037
2038 PR libstdc++/3946
2039 * testsuite/20_util/auto_ptr.cc (test08): New test.
2040 * include/std/std_memory.h (auto_ref_ptr): Make constructor explicit.
2041 (auto_ptr::operator auto_ptr_ref): Fix typo.
2042 General reformatting and doxygenating of the whole file.
2043
2044 2002-07-03 Benjamin Kosnik <bkoz@redhat.com>
2045
2046 PR libstdc++/7097
2047 * include/c/std_cwchar.h: Fix.
2048
2049 2002-07-02 Benjamin Kosnik <bkoz@redhat.com>
2050
2051 PR libstdc++/6410
2052 * include/bits/locale_facets.h (moneypunct::moneypunct): Add const
2053 char* name parameter.
2054 * config/locale/gnu/monetary_members.cc: Use it.
2055 * config/locale/generic/monetary_members.cc: Same.
2056 * src/localename.cc (_Impl::_Impl(const char*, size_t)): Use it.
2057
2058 * include/backward/strstream.h: Update date.
2059
2060 2002-07-02 Paolo Carlini <pcarlini@unitus.it>
2061
2062 PR libstdc++/6642
2063 * include/bits/stl_iterator.h
2064 (__normal_iterator::operator-(const __normal_iterator&)):
2065 Make non-member, as already happens for the comparison
2066 operators in accord with DR179 (Ready).
2067 * testsuite/24_iterators/iterator.cc: Add test from the PR.
2068
2069 2002-07-02 Phil Edwards <pme@gcc.gnu.org>
2070
2071 PR libstdc++/7173
2072 * acinclude.m4: Simplify determination of gcc_version, and move
2073 up to GLIBCPP_CONFIGURE.
2074 * configure.in (release_VERSION): Really remove.
2075 (AM_INIT_AUTOMAKE, AM_CONFIG_HEADER): Move after GLIBCPP_CONFIGURE.
2076 * aclocal.m4, configure: Regenerate.
2077
2078 2002-07-02 Phil Edwards <pme@gcc.gnu.org>
2079
2080 * docs/html/configopts.html, docs/html/install.html: Tweaks.
2081 * include/ext/algorithm, include/ext/hash_map, include/ext/hash_set,
2082 include/ext/iterator, include/ext/numeric, include/ext/rb_tree,
2083 include/ext/slist, include/ext/stl_rope.h: Add doxygen hooks.
2084
2085 2002-07-01 Benjamin Kosnik <bkoz@redhat.com>
2086
2087 * include/backward/strstream: Remove namespace std. Transfer to...
2088 * include/backward/strstream.h: ...here. Qualify std names.
2089 * src/strstream.cc: Remove namespace std.
2090 * include/Makefile.am (backward_headers): Remove strstream.h.
2091 * include/Makefile.in: Regenerate.
2092 * config/linker-map.gnu: Export strstream bits.
2093
2094 * src/fstream-inst.cc: Tweak.
2095 * src/io-inst.cc: Same.
2096 * src/istream-inst.cc: Same.
2097 * src/misc-inst.cc: Same.
2098 * src/ostream-inst.cc: Same.
2099 * src/sstream-inst.cc: Same.
2100 * src/valarray-inst.cc: Same.
2101 * src/misc-inst.cc: Remove unused instantiations.
2102
2103 2002-07-01 Benjamin Kosnik <bkoz@redhat.com>
2104
2105 * configure.in (libtool_VERSION): Bump to 5:0:0.
2106 * configure: Regenerate.
2107
2108 2002-06-28 Phil Edwards <pme@gcc.gnu.org>
2109
2110 PR libstdc++/7157, PR libstdc++/7158, PR libstdc++/7161
2111 * include/std/std_queue.h: Include deque.tcc, vector.tcc.
2112 * include/std/std_stack.h: Include deque.tcc.
2113 * testsuite/23_containers/adaptors.cc: New file.
2114
2115 2002-06-27 Phil Edwards <pme@gcc.gnu.org>
2116
2117 * include/bits/stl_alloc.h: Deprecate all 'reallocate' memfns.
2118 * docs/html/ext/howto.html: Update allocator notes.
2119
2120 2002-06-26 Benjamin Kosnik <bkoz@redhat.com>
2121
2122 * configure.in (INTERFACE): Remove.
2123 (release_VERSION): Remove.
2124 * acinclude.m4 (GLIBCPP_EXPORT_INSTALL_INFO): Change include placement.
2125 (libstdcxx_interface): Change. Use gcc methods to determine version.
2126 * configure: Regenerate.
2127 * aclocal.m4: Regenerate.
2128
2129 2002-06-25 DJ Delorie <dj@redhat.com>
2130
2131 * acinclude.m4 (GLIBCPP_CONFIGURE): Split out
2132 GLIBCPP_TOPREL_CONFIGURE.
2133 * aclocal.m4: Likewise.
2134 * configure.in: Call it before AC_CANONICAL_SYSTEM.
2135 * configure: Regenerate.
2136
2137 2002-06-25 Jessica Han <jessica@cup.hp.com>
2138
2139 * config/os/hpux/os_defines.h Define _GLIBCPP_VTABLE_PADDING
2140 * libsupc++/tinfo.cc Handle the 8 byte aligned vtable entries when
2141 _GLIBCPP_VTABLE_PADDING is defined.
2142
2143 2002-06-25 Benjamin Kosnik <bkoz@redhat.com>
2144
2145 * include/bits/stl_alloc.h: Additional formatting.
2146
2147 2002-06-24 Phil Edwards <pme@gcc.gnu.org>
2148
2149 * include/bits/stl_alloc.h: Reformat as per C++STYLE.
2150
2151 2002-06-24 Phil Edwards <pme@gcc.gnu.org>
2152
2153 * config/cpu/*/bits/*: Move header files up a level. Remove bits.
2154 * config/os/*/bits/*: Likewise.
2155 * configure.in: Update.
2156 * configure: Regenerate.
2157 * configure.target: Update.
2158 * docs/html/17_intro/porting.texi: Update.
2159
2160 2002-06-21 Phil Edwards <pme@gcc.gnu.org>
2161
2162 * include/bits/stl_map.h, include/bits/stl_multimap.h,
2163 include/bits/stl_queue.h, include/bits/stl_stack.h: Reformat and
2164 complete doxygenation.
2165 * include/bits/boost_concept_check.h: Minor comment.
2166
2167 2002-06-21 Benjamin Kosnik <bkoz@redhat.com>
2168
2169 * include/c_compatibility: New.
2170 * include/c_compatibility/assert.h: New.
2171 * include/c_compatibility/ctype.h: New.
2172 * include/c_compatibility/errno.h: New.
2173 * include/c_compatibility/float.h: New.
2174 * include/c_compatibility/iso646.h: New.
2175 * include/c_compatibility/limits.h: New.
2176 * include/c_compatibility/locale.h: New.
2177 * include/c_compatibility/math.h: New.
2178 * include/c_compatibility/setjmp.h: New.
2179 * include/c_compatibility/signal.h: New.
2180 * include/c_compatibility/stdarg.h: New.
2181 * include/c_compatibility/stddef.h: New.
2182 * include/c_compatibility/stdio.h: New.
2183 * include/c_compatibility/stdlib.h: New.
2184 * include/c_compatibility/string.h: New.
2185 * include/c_compatibility/time.h: New.
2186 * include/c_compatibility/wchar.h: New.
2187 * include/c_compatibility/wctype.h: New.
2188
2189 * include/c/std_cerrno.h: Get out of the way... define errno.
2190 * include/c/std_cmath.h: Add abs, modf overloads.
2191 Undefine C99 isms. Still not sure how to deal with this sanely.
2192 * include/c/std_csetjmp.h: Tweak.
2193 * include/c/std_cwchar.h: Include cstddef for size_t.
2194
2195 * include/c_std/std_cmath.h: Remove extra function.
2196
2197 Pendantic std usage in testsuites.
2198 * testsuite/17_intro/header_cstdlib.cc (test01): Qualify ldiv_t
2199 with std.
2200 * testsuite/17_intro/header_cwchar.cc: Tweak.
2201 * testsuite/22_locale/codecvt_members_char_char.cc (test03): Use
2202 std::setlocale.
2203 * testsuite/22_locale/ctype_to_wchar_t.cc (test05): Same.
2204 * testsuite/22_locale/ctype_to_char.cc (test05): Same.
2205 * testsuite/22_locale/ctype_is_wchar_t.cc (test05): Same.
2206 * testsuite/22_locale/ctype_is_char.cc (test05): Same.
2207 * testsuite/22_locale/codecvt_members_wchar_t_char.cc (test03): Same.
2208 * testsuite/22_locale/time_get_members_wchar_t.cc (test08): Same.
2209 * testsuite/22_locale/time_get_members_char.cc (test08): Same.
2210 * testsuite/22_locale/time_put_members_wchar_t.cc (test04): Same.
2211 * testsuite/22_locale/time_put_members_char.cc (test04): Same.
2212 * testsuite/22_locale/num_put_members_wchar_t.cc (test04): Same.
2213 * testsuite/22_locale/num_put_members_char.cc (test04): Same.
2214 * testsuite/22_locale/numpunct_members_wchar_t.cc (test03): Same.
2215 * testsuite/22_locale/numpunct_members_char.cc (test03): Same.
2216 * testsuite/22_locale/num_get_members_wchar_t.cc: Same.
2217 * testsuite/22_locale/num_get_members_char.cc: Same.
2218 * testsuite/22_locale/money_put_members_wchar_t.cc (test07): Same.
2219 * testsuite/22_locale/money_put_members_char.cc (test07): Same.
2220 * testsuite/22_locale/moneypunct_members_wchar_t.cc (test03): Same.
2221 * testsuite/22_locale/moneypunct_members_char.cc (test03): Same.
2222 * testsuite/22_locale/money_get_members_wchar_t.cc (test08): Same.
2223 * testsuite/22_locale/money_get_members_char.cc (test08): Same.
2224 * testsuite/22_locale/messages_members_char.cc (test03): Same.
2225 * testsuite/22_locale/collate_members_wchar_t.cc (test04): Same.
2226 * testsuite/22_locale/collate_members_char.cc (test04): Same.
2227 * testsuite/26_numerics/fabs_inline.cc: Use std::printf.
2228 * testsuite/27_io/istream_seeks.cc (test02): Qualify abort.
2229 * testsuite/27_io/istream_extractor_arith.cc (test11): Qualify strtol.
2230
2231 2002-06-20 Benjamin Kosnik <bkoz@redhat.com>
2232
2233 * libsupc++/Makefile.am (libsupc__convenience_la_SOURCES): Add
2234 c_sources.
2235
2236 2002-06-20 Benjamin Kosnik <bkoz@redhat.com>
2237
2238 * src/ext-inst.cc (__gnu_cxx): Use instead of std:: for extensions.
2239 Use size_type instead of unsigned long.
2240
2241 2002-06-20 Steve Ellcey <sje@cup.hp.com>
2242
2243 * src/ext-inst.cc (_S_fetch): Add explicit templates for char and
2244 wchar types.
2245 (_S_min_len): Ditto.
2246
2247 2002-06-20 Benjamin Kosnik <bkoz@redhat.com>
2248
2249 * include/Makefile.am: Add rules.
2250 * include/Makefile.in: Regenerate.
2251
2252 * acinclude.m4: Define GLIBCPP_C_HEADERS_COMPATIBILITY.
2253 * aclocal.m4: Regenerate.
2254 * configure: Regenerate.
2255 * configure.target (c_model, c_compatibility): Add.
2256
2257 * libsupc++/Makefile.am (c_sources): New.
2258 (libsupc___la_SOURCES): Add c_sources.
2259 (LTCOMPILE): Remove INCLUDES.
2260 (GCC_INCLUDES): New.
2261 (C_COMPILE): New, like COMPILE but without INCLUDES.
2262 (cxa_demangle.o): Use C_COMPILE.
2263 (dyn-string.o): Use C_COMPILE.
2264
2265 * include/c/std_cstdarg.h: Define __need___va_list.
2266 * include/c/std_cstddef.h: Define need_size_t, need_ptrdiff_t,
2267 need_NULL, need_offsetof.
2268
2269 2002-06-19 Steve Ellcey <sje@cup.hp.com>
2270
2271 * configure.in (HAVE_FINITE*, HAVE_ISINF*, HAVE_ISNAN*): Remove
2272 definitions in hpux11 cross-build because these functions do
2273 not exist on hpux11 (but some exist on hpux10); move defaults out
2274 into existing sections.
2275 * configure: Regenerate.
2276
2277 2002-06-18 Benjamin Kosnik <bkoz@redhat.com>
2278
2279 * include/c/std_cwchar.h: Guard. Add mbstate_t bits.
2280 * include/c/std_cwctype.h: Guard.
2281
2282 * libsupc++/eh_alloc.cc: Tweak include order.
2283 * libsupc++/pure.cc: Use cstdio.
2284 * libsupc++/new_op.cc: Remove malloc forward declaration, as
2285 cstdlib brings it in. Use std::malloc.
2286
2287 * src/Makefile.am (sources): Remove cmath.cc.
2288 * src/Makefile.in: Regenerate.
2289 * src/cmath.cc: Remove.
2290
2291 2002-06-18 Phil Edwards <pme@gcc.gnu.org>
2292
2293 * configure.target: Force mips to use the generic cpu routines.
2294
2295 2002-06-18 Phil Edwards <pme@gcc.gnu.org>
2296
2297 * configure.host: Delete file.
2298 * configure.target: More documentation. Factor out common parts of
2299 script into "intelligent" settings about defaults. Remove redundancy.
2300
2301 * acinclude.m4: Update comments. Do not call configure.host.
2302 (GLIBCPP_ENABLE_SYMVERS): If disabled, do not bother checking for
2303 libgcc_s.
2304 * configure.in: Slight reformatting, more comments. Factor out
2305 "config/" from all the directories.
2306 * docs/html/17_intro/porting.texi: Update and expand.
2307 * testsuite/Makefile.am (AM_RUNTESTFLAGS): Move empty setting
2308 from configure.host.
2309
2310 * aclocal.m4, configure, docs/html/17_intro/porting.html,
2311 testsuite/Makefile.in: Regenerate.
2312
2313 2002-06-16 Phil Edwards <pme@gcc.gnu.org>
2314
2315 * docs/doxygen/TODO: Update.
2316 * docs/doxygen/tables.html: Uncomment magical middle column.
2317 * docs/doxygen/user.cfg.in: Kludge to ignore function-like macros.
2318 * include/bits/stl_queue.h: Doxygenate and reformat.
2319 * include/bits/ios_base.h, include/std/std_streambuf.h: Add comment
2320 for deprecated names required by the standard.
2321
2322 2002-06-14 J.T. Conklin <jtc@acorntoolworks.com>
2323
2324 * configure.in (target_alias): Fix.
2325 * configure: Regenerate.
2326 * aclocal.m4: Regenerate.
2327
2328 2002-06-12 Phil Edwards <pme@gcc.gnu.org>
2329
2330 * include/Makefile.am: Add new files.
2331 * include/Makefile.in: Regenerate.
2332
2333 * include/bits/stl_deque.h, include/bits/stl_list.h,
2334 include/bits/stl_vector.h: Clean up, reformat. Move definitions...
2335 * include/bits/deque.tcc, include/bits/list.tcc,
2336 include/bits/vector.tcc: ...to here. New files.
2337
2338 * include/ext/stl_hashtable.h: Inclide correct full headers.
2339 * include/std/std_deque.h: Include .tcc files for now.
2340 * include/std/std_list.h: Likewise.
2341 * include/std/std_vector.h: Likewise.
2342
2343 2002-06-12 Daniel Jacobowitz <drow@mvista.com>
2344
2345 * Makefile.am: Add FLAGS_TO_PASS.
2346 * Makefile.in: Regenerated.
2347
2348 2002-06-11 J.T. Conklin <jtc@acorntoolworks.com>
2349 Benjamin Kosnik <bkoz@redhat.com>
2350
2351 * configure.target: Set os_include_dir to config/os/qnx/qnx6.1
2352 under *-qnx6.[12]*.
2353 * configure.in: Add support for *-qnx6.[12]*.
2354 * configure: Regenerate.
2355
2356 * config/os/qnx, config/os/qnx/qnx6.1, config/os/qnx/qnx6.1/bits:
2357 New directories.
2358 * config/os/qnx/qnx6.1/bits/ctype_base.h, ctype_inline.h,
2359 ctype_noninline.h, os_defines.h: New files.
2360
2361 2002-06-10 Loren J. Rittle <ljrittle@acm.org>
2362
2363 * acinclude.m4 (GLIBCPP_CHECK_SETRLIMIT_ancilliary): Reorder and
2364 include all required headers for test against older POSIX standard.
2365 (GLIBCPP_CHECK_SETRLIMIT): Likewise.
2366 (ac_setrlimit): Likewise.
2367 * aclocal.m4: Regenerate.
2368 * configure: Regenerate.
2369 * testsuite/testsuite_hooks.cc: Reorder and include all
2370 required headers for use against older POSIX standard.
2371
2372 2002-06-08 Paolo Carlini <pcarlini@unitus.it>
2373
2374 * testsuite/backwards/strstream_members.cc: New.
2375
2376 2002-06-08 Benjamin Kosnik <bkoz@redhat.com>
2377
2378 * include/backwards/strstream: Format.
2379 * src/strstream.cc: Format.
2380
2381 2002-06-08 Andreas Schwab <schwab@suse.de>
2382
2383 * src/strstream.cc (strstreambuf::overflow): Set _M_buf,
2384 _M_buf_size and _M_buf_size_opt to the new buffer and size.
2385
2386 2002-06-08 Benjamin Kosnik <bkoz@redhat.com>
2387
2388 * config/os/generic/bits/ctype_noninline.h: Tweak format.
2389
2390 2002-06-07 Steve Ellcey <sje@cup.hp.com>
2391
2392 * src/locale-inst.cc (__codecvt_abstract_base):
2393 Put inside _GLIBCPP_USE_WCHAR_T ifdef.
2394 * include/bits/istream.tcc (basic_istream): Ditto.
2395 (ws) Ditto.
2396 (operator>>) Ditto.
2397 * include/bits/ostream.tcc (basic_ostream): Ditto.
2398 (endl): Ditto.
2399 (ends): Ditto.
2400 (flush): Ditto.
2401 (operator<<): Ditto.
2402
2403 2002-06-07 Phil Edwards <pme@gcc.gnu.org>
2404
2405 * mkcheck.in: Link against local testsuite library.
2406 * testsuite/testsuite_hooks.h (__set_testsuite_memlimit): Move null
2407 implementation out...
2408 * testsuite/testsuite_hooks.cc: ...to here.
2409
2410 2002-06-06 Loren J. Rittle <ljrittle@acm.org>
2411
2412 * src/Makefile.am (AUTOMAKE_OPTIONS): Use cygnus-style generation.
2413 * include/Makefile.am (AUTOMAKE_OPTIONS): Likewise.
2414 * testsuite/Makefile.am (AUTOMAKE_OPTIONS): Likewise.
2415 * src/Makefile.in: Regenerate (explicitly with --cygnus option).
2416 * testsuite/Makefile.in: Likewise.
2417
2418 2002-06-05 David Edelsohn <edelsohn@gnu.org>
2419
2420 * config/os/aix/bits/ctype_noninline.h (do_toupper,do_tolower):
2421 Call external symbol.
2422
2423 2002-06-04 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
2424
2425 * testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3_target_compile):
2426 Search correct multilib testsuite dir for libv3test.
2427
2428 2002-06-04 Paolo Carlini <pcarlini@unitus.it>
2429 Gaby Dos Reis <gdr@codesourcery.com>
2430
2431 * include/bits/basic_string.tcc
2432 (basic_string::_S_construct(forward_iterator_tag):
2433 Fix typo in null pointer check.
2434 * testsuite/21_strings/ctor_copy_dtor.cc: Add test04.
2435
2436 2002-06-04 Paolo Carlini <pcarlini@unitus.it>
2437
2438 * testsuite/22_locale/money_get_members_char.cc
2439 (test02): Add decimal point to long double constants.
2440 * testsuite/22_locale/money_get_members_wchar_t.cc
2441 (test02): Likewise.
2442 * testsuite/22_locale/money_put_members_char.cc
2443 (test02, test03, test06): Likewise.
2444 * testsuite/22_locale/money_put_members_wchar_t.cc:
2445 (test02, test03, test06): Likewise.
2446 * testsuite/22_locale/num_get_members_char.cc:
2447 (test02, test01): Likewise; suffix long long constants with LL.
2448 * testsuite/22_locale/num_get_members_wchar_t.cc:
2449 (test02, test01): Likewise.
2450 * testsuite/22_locale/num_put_members_char.cc:
2451 (test02, test01): Likewise.
2452 * testsuite/22_locale/num_put_members_wchar_t.cc:
2453 (test02, test01): Likewise.
2454
2455 2002-06-03 Marc Espie <espie@openbsd.org>
2456
2457 * config/cpu/m68k/bits/atomicity.h(__exchange_and_add): Fix inline
2458 assembly for old assemblers.
2459
2460 2002-06-03 Phil Edwards <pme@gcc.gnu.org>
2461
2462 * include/bits/stl_bvector.h (swap(_Bit_reference,_Bit_reference)):
2463 Move/rename...
2464 (vector<bool>::swap(reference,reference)): ...to this.
2465
2466 2002-06-03 Phil Edwards <pme@gcc.gnu.org>
2467
2468 * docs/doxygen/TODO: Update.
2469 * docs/doxygen/user.cfg.in (SORT_MEMBER_DOCS): Set to off, now that
2470 some class members are in 14882 order.
2471 * docs/html/ext/howto.html: 3.1 is in the past now, not the future.
2472
2473 * include/std/std_bitset.h: Update comment.
2474 * src/bitset.cc: Update comments, clean up spacing.
2475
2476 * src/Makefile.am (sources): Alphabetize for convenience.
2477 * src/Makefile.in: Regenerate.
2478
2479 2002-06-03 Phil Edwards <pme@gcc.gnu.org>
2480
2481 * include/bits/stl_deque.h, include/bits/stl_list.h,
2482 include/bits/stl_vector.h: Reformat to (mostly) match C++STYLE.
2483 Reorder to match 14882. Doxygen blocks for all public members.
2484
2485 2002-05-31 Marcus Meissner <meissner@suse.de>
2486
2487 PR libstdc++/6886
2488 * include/bits/stl_bvector.h: Use UL suffix for unsigned longs.
2489 * testsuite/23_containers/vector_bool.cc (test02): New test.
2490
2491 2002-05-30 Marc Espie <espie@openbsd.org>
2492
2493 * configure.in: Always check for sys/types.h
2494 * configure: Regenerate.
2495
2496 2002-05-28 Nick Clifton <nickc@cambridge.redhat.com>
2497
2498 * testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3-init):
2499 Rebuild the wrapper file every time this proc is called.
2500
2501 2002-05-28 Phil Edwards <pme@gcc.gnu.org>
2502
2503 * testsuite/Makefile.am (noinst_LIBRARIES): New target. Pull in
2504 CXX/INCLUDES.
2505 * testsuite/Makefile.in: Regenerate.
2506 * testsuite/testsuite_hooks.h (gnu_copy_tracker): Move from
2507 list_modifiers.cc and rename from 'T'. Move code bodies...
2508 * testsuite/testsuite_hooks.cc: ...to here. New file.
2509 * testsuite/23_containers/list_modifiers.cc: Move 'T' class out.
2510 * testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3_target_compile):
2511 Add libv3test.a to link options.
2512
2513 2002-05-27 Benjamin Kosnik <bkoz@redhat.com>
2514
2515 * src/misc-inst.cc: Define unnecessary algorithm
2516 instantiations. Break apart instantiations into groupings below.
2517 * src/fstream-inst.cc: New.
2518 * src/io-inst.cc: New.
2519 * src/istream-inst.cc: New.
2520 * src/ostream-inst.cc: New.
2521 * src/streambuf-inst.cc: New.
2522 * src/sstream-inst.cc: New.
2523 * src/Makefile.am (sources): Add files.
2524 * src/Makefile.in: Regenerate.
2525
2526 * acinclude.m4: Work around automake 1.4-p5 bug, change
2527 AM_GNU_GETTEXT in comments to AM-GNU-GETTEXT.
2528
2529 2002-05-27 Benjamin Kosnik <bkoz@redhat.com>
2530
2531 PR libstdc++/6795.
2532 * config/os/solaris/solaris2.6/bits/ctype_noninline.h
2533 (classic_table): Fix.
2534 * config/os/solaris/solaris2.5/bits/ctype_noninline.h: Same.
2535
2536 2002-05-27 Benjamin Kosnik <bkoz@redhat.com>
2537
2538 * testsuite/22_locale/ctype_is_wchar_t.cc: Guard with
2539 _GLIBCPP_USE_WCHAR_T.
2540 * testsuite/22_locale/ctype_narrow_wchar_t.cc: Same.
2541 * testsuite/22_locale/ctype_to_wchar_t.cc: Same.
2542 * testsuite/22_locale/ctype_widen_wchar_t.cc: Same.
2543
2544 2002-05-26 Carlo Wood <carlo@alinoe.com>
2545 Paolo Carlini <pcarlini@unitus.it>
2546
2547 PR libstdc++/6811
2548 * config/locale/ieee_1003.1-2001/codecvt_specializations.h
2549 (__enc_traits::operator=): add missing return statement.
2550
2551 2002-05-24 Phil Edwards <pme@gcc.gnu.org>
2552
2553 PR libstdc++/6282
2554 * include/std/std_bitset.h (_Base_biteset<0>): New specialization.
2555 (operator>>): If nothing was extracted, don't fail in the
2556 zero-length case.
2557 * testsuite/23_containers/bitset_ctor.cc (test02): New test.
2558
2559 2002-05-24 Benjamin Kosnik <bkoz@redhat.com>
2560
2561 PR libstdc++/6701
2562 * testsuite/22_locale/ctype_narrow_char.cc: New.
2563 * testsuite/22_locale/ctype_narrow_wchar_t.cc: New.
2564 * testsuite/22_locale/ctype_widen_char.cc: New.
2565 * testsuite/22_locale/ctype_widen_wchar_t.cc: New.
2566 * testsuite/22_locale/ctype_members_char.cc: Move some bits into...
2567 * testsuite/22_locale/ctype_is_char.cc: ...this.
2568 * testsuite/22_locale/ctype_to_char.cc: ...and this.
2569 * testsuite/22_locale/ctype_members_wchar_t.cc: Move some bits into...
2570 * testsuite/22_locale/ctype_is_wchar_t.cc: ...this.
2571 * testsuite/22_locale/ctype_to_wchar_t.cc: ...and this.
2572
2573 * testsuite/22_locale/ctype_scan_wchar_t.cc: Should pass.
2574
2575 2002-05-24 Dale Peakall <dale@peakall.net>
2576
2577 PR libstdc++/6701
2578 * config/locale/gnu/ctype_members.cc (ctype<wchar_t>::do_narrow): Fix.
2579 * config/locale/generic/ctype_members.cc: Same.
2580
2581 2002-05-24 Benjamin Kosnik <bkoz@redhat.com>
2582
2583 PR libstdc++/6750
2584 * include/bits/ostream.tcc (ostream::operator<<(const char*)): Fix
2585 for empty string literal.
2586 (ostream::operator<<(const _CharT*)): Same.
2587 (ostream<char>::operator<<(const char*)): Same.
2588 (ostream<char>::operator<<(streambuf*)): Same.
2589 * testsuite/27_io/ostream_inserter_char.cc (test08): Add tests.
2590 * testsuite/27_io/ostream_inserter_other.cc (test02): Modify.
2591
2592 2002-05-23 Benjamin Kosnik <bkoz@redhat.com>
2593
2594 * configure.in (release_VERSION): Update to 3.1.1.
2595 (libtool_VERSION): Update to 4:1:0.
2596 * configure: Regenerate.
2597
2598 2002-05-21 Phil Edwards <pme@gcc.gnu.org>
2599
2600 * include/bits/stl_pair.h: Tweak comment markup.
2601
2602 2002-05-21 Phil Edwards <pme@gcc.gnu.org>
2603
2604 * include/ext/stdio_filebuf.h: Add header guards. Doxygenate.
2605
2606 2002-05-21 Phil Edwards <pme@gcc.gnu.org>
2607
2608 * docs/doxygen/user.cfg.in (EXCLUDE): Add 'CVS'.
2609
2610 2002-05-21 Phil Edwards <pme@gcc.gnu.org>
2611
2612 * include/bits/stl_vector.h: Reformat to follow C++STYLE.
2613 Doxygenate all public members. Reorder to follow 14882.
2614 (vector::push_back(void)): Remove previously-deprecated fn.
2615 (vector::insert(iterator), vector::_M_insert_aux(iterator)):
2616 Deprecate for removal in 3.3.
2617
2618 2002-05-20 Phil Edwards <pme@gcc.gnu.org>
2619
2620 * docs/html/faq/index.html (5.4): Recommend against -I options for
2621 finding the ext headers.
2622 * docs/html/faq/index.txt: Regenerate.
2623
2624 2002-05-19 Paolo Carlini <pcarlini@unitus.it>
2625
2626 * testsuite/23_containers/deque_operators.cc (test01):
2627 Fix minor typo in last commit.
2628
2629 2002-05-18 Paolo Carlini <pcarlini@unitus.it>
2630
2631 PR libstdc++/6503
2632 * include/bits/stl_deque.h (_Deque_iterator::operator==,
2633 operator!=, operator<, operator>, operator>=, operator<=):
2634 Make non-member functions, to allow comparing const and
2635 non-const iterators in any order.
2636 * testsuite/23_containers/deque_operators.cc: New testfile.
2637
2638 2002-05-16 Phil Edwards <pme@gcc.gnu.org>
2639
2640 * docs/html/faq/index.html: Update not-a-bug list with basic_file.h.
2641 * docs/html/faq/index.txt: Regenerate.
2642
2643 2002-05-16 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
2644
2645 * Makefile.am: Allow for PWDCMD to override hardcoded pwd.
2646 * acinclude.m4: Likewise.
2647 * docs/html/Makefile: Likewise.
2648 * aclocal.m4: Regenerate.
2649 * configure: Regenerate.
2650 * Makefile.in: Regenerate.
2651
2652 2002-05-15 Loren J. Rittle <ljrittle@acm.org>
2653
2654 libstdc++/6641
2655 * include/bits/c++config (__USE_MALLOC): Report case where
2656 the user improperly defined it on the command line.
2657
2658 2002-05-15 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
2659
2660 * testsuite/testsuite_hooks.h (__set_testsuite_memlimit):
2661 Retrieve current limits before setting.
2662
2663 2002-05-15 Benjamin Kosnik <bkoz@redhat.com>
2664
2665 PR libstdc++/6518
2666 * include/bits/ostream.tcc (ostream::operator<<(const char*)): Fix
2667 for null case.
2668 (ostream::operator<<(const _CharT*)): Same.
2669 (ostream<char>::operator<<(const char*)): Same.
2670 * testsuite/27_io/ostream_inserter_char.cc (test07): Add test.
2671
2672 2002-05-15 Benjamin Kosnik <bkoz@redhat.com>
2673
2674 PR libstdc++/6594
2675 * src/strstream.cc (strstreambuf): Fix leak.
2676
2677 2002-05-15 Paolo Carlini <pcarlini@unitus.it>
2678
2679 PR libstdc++/6648
2680 * include/bits/istream.tcc (istream::getline, ignore):
2681 Upon __idelim (__delim) call sbumpc() not snextc().
2682 * testsuite/27_io/narrow_stream_objects.cc:
2683 Add test08 and test09.
2684
2685 2002-05-13 Benjamin Kosnik <bkoz@redhat.com>
2686
2687 * testsuite/22_locale/ctype_scan_char.cc: Tweak.
2688 * testsuite/22_locale/ctype_scan_wchar_t.cc: New.
2689
2690 * docs/html/install.html: Fix.
2691
2692 2002-05-13 Benjamin Kosnik <bkoz@redhat.com>
2693
2694 * include/bits/fstream.tcc
2695 (basic_filebuf::_M_allocate_internal_buffer): Remove extraneous
2696 try/catch blocks.
2697 * src/localename.cc (locale::_Impl::_M_install_facet): Same.
2698
2699 * docs/html/install.html: Tweak, add bits about required locales
2700 for the 22_locale tests when using the gnu model.
2701
2702 * testsuite/27_io/istream_sentry.cc: Tweak.
2703
2704 2002-05-13 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2705
2706 * config/os/irix/irix5.2/bits/ctype_inline.h (scan_is, scan_not):
2707 Fix typo, use this->is() rather than manually (and perhaps
2708 incorrectly) inlining it.
2709 * config/os/irix/irix6.5/bits/ctype_inline.h (scan_is, scan_not):
2710 Likewise.
2711 * testsuite/22_locale/ctype_scan_char.cc: New file.
2712
2713 2002-05-13 Paolo Carlini <pcarlini@unitus.it>
2714 Jakub Jelinek <jakub@redhat.com>
2715
2716 * testsuite/22_locale/money_get_members_char.cc
2717 (test01, test02, test04): Use the de_DE@euro named locale
2718 instead of de_DE to allow for an uniform behaviour with
2719 both old and Euro-era localedata; tweak some tests.
2720 * testsuite/22_locale/money_get_members_wchar_t.cc
2721 (test01, test02, test04): Likewise.
2722 * testsuite/22_locale/money_put_members_char.cc
2723 (test01, test02, test04): Likewise.
2724 * testsuite/22_locale/money_put_members_wchar_t.cc
2725 (test01, test02, test04): Likewise.
2726
2727 2002-05-13 Paolo Carlini <pcarlini@unitus.it>
2728
2729 * testsuite/22_locale/codecvt_members_char_char.cc
2730 (test03): Robustify wrt localedata.
2731 * testsuite/22_locale/codecvt_members_wchar_t_char.cc (test03): Likewise.
2732 * testsuite/22_locale/collate_members_char.cc (test04): Likewise.
2733 * testsuite/22_locale/collate_members_wchar_t.cc (test04): Likewise.
2734 * testsuite/22_locale/ctype_members_char.cc (test05): Likewise.
2735 * testsuite/22_locale/ctype_members_wchar_t.cc (test04): Likewise.
2736 * testsuite/22_locale/messages_members_char.cc (test03): Likewise.
2737 * testsuite/22_locale/money_get_members_char.cc (test08): Likewise.
2738 * testsuite/22_locale/money_get_members_wchar_t.cc (test08): Likewise.
2739 * testsuite/22_locale/money_put_members_char.cc (test07): Likewise.
2740 * testsuite/22_locale/money_put_members_wchar_t.cc (test07): Likewise.
2741 * testsuite/22_locale/moneypunct_members_char.cc (test03): Likewise.
2742 * testsuite/22_locale/moneypunct_members_wchar_t.cc (test03): Likewise.
2743 * testsuite/22_locale/num_get_members_char.cc (test06): Likewise.
2744 * testsuite/22_locale/num_get_members_wchar_t.cc (test06): Likewise.
2745 * testsuite/22_locale/num_put_members_char.cc (test04): Add comment.
2746 * testsuite/22_locale/num_put_members_wchar_t.cc (test04): Likewise.
2747 * testsuite/22_locale/numpunct_members_char.cc (test03): Likewise.
2748 * testsuite/22_locale/numpunct_members_wchar_t.cc (test03): Likewise.
2749 * testsuite/22_locale/time_get_members_char.cc (test08): Likewise.
2750 * testsuite/22_locale/time_get_members_wchar_t.cc (test08): Likewise.
2751 * testsuite/22_locale/time_put_members_char.cc (test04): Likewise.
2752 * testsuite/22_locale/time_put_members_wchar_t.cc (test04): Likewise.
2753
2754 2002-05-12 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2755
2756 * config/os/irix/irix5.2/bits/os_defines.h: Revert 2002-05-06
2757 change.
2758
2759 2002-05-11 John David Anglin <dave@hiauly1.hia.nrc.ca>
2760
2761 * config/os/gnu-linux/bits/os_defines.h (__glibcpp_long_bits): Define
2762 to 64 for hppa 64-bit port.
2763 (__glibcpp_long_double_bits): Define to 64 for all hppa ports.
2764
2765 2002-05-10 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
2766
2767 * acinclude.m4 (enable_symvers): Quote $LD.
2768 * aclocal.m4: Regenerate.
2769 * configure: Likewise.
2770
2771 2002-05-09 Jakub Jelinek <jakub@redhat.com>
2772
2773 * testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3-init): Append all
2774 multilib dirs containing libgcc_s*.so.1 below gcc object dir to
2775 LD_LIBRARY_PATH.
2776
2777 2002-05-08 Alexandre Oliva <aoliva@redhat.com>
2778
2779 * configure.in (ORIGINAL_LD_FOR_MULTILIBS): Preserve LD at
2780 script entry, and set LD to it when configuring multilibs.
2781 * configure: Rebuilt.
2782
2783 2002-05-07 Mark Mitchell <mark@codesourcery.com>
2784
2785 * configure.in: Add support for WindISS.
2786 * configure: Regenerated.
2787 * configure.target: Add support for WindISS.
2788 * config/os/windiss/bits/ctype_base.h: New file.
2789 * config/os/windiss/bits/ctype_inline.h: Likewise.
2790 * config/os/windiss/bits/ctype_noninline.h: Likewise.
2791 * config/os/windiss/bits/os_defines.h: Likewise.
2792
2793 2002-05-06 Paolo Carlini <pcarlini@unitus.it>
2794
2795 Test all the facets for the temporary "C" locale switch issue.
2796 * testsuite/22_locale/codecvt_members_char_char.cc: Add test03.
2797 * testsuite/22_locale/codecvt_members_wchar_t_char.cc: Likewise.
2798 * testsuite/22_locale/collate_members_char.cc: Add test04.
2799 * testsuite/22_locale/collate_members_wchar_t.cc: Likewise.
2800 * testsuite/22_locale/ctype_members_char.cc: Add test05.
2801 * testsuite/22_locale/ctype_members_wchar_t.cc: Add test04.
2802 * testsuite/22_locale/messages_members_char.cc: Add test03.
2803 * testsuite/22_locale/money_get_members_char.cc: Add test08.
2804 * testsuite/22_locale/money_get_members_wchar_t.cc: Likewise.
2805 * testsuite/22_locale/money_put_members_char.cc: Add test07.
2806 * testsuite/22_locale/money_put_members_wchar_t.cc: Likewise.
2807 * testsuite/22_locale/moneypunct_members_char.cc: Add test03.
2808 * testsuite/22_locale/moneypunct_members_wchar_t.cc: Likewise.
2809 * testsuite/22_locale/num_get_members_char.cc: Add test06.
2810 * testsuite/22_locale/num_get_members_wchar_t.cc: Likewise.
2811 * testsuite/22_locale/numpunct_members_char.cc: Add test03.
2812 * testsuite/22_locale/numpunct_members_wchar_t.cc: Likewise.
2813 * testsuite/22_locale/time_get_members_char.cc: Add test08.
2814 * testsuite/22_locale/time_get_members_wchar_t.cc: Likewise.
2815 * testsuite/22_locale/time_put_members_char.cc: Add test04.
2816 * testsuite/22_locale/time_put_members_wchar_t.cc: Likewise.
2817
2818 * testsuite/22_locale/num_put_members_char.cc (test04): Add comment.
2819 * testsuite/22_locale/num_put_members_wchar_t.cc (test04): Likewise.
2820
2821 2002-05-06 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2822
2823 * config/os/irix/irix5.2/bits/os_defines.h (_SGI_SOURCE,
2824 __EXTENSIONS__): Ensure they are always defined.
2825
2826 2002-05-06 Phil Edwards <pme@gcc.gnu.org>
2827
2828 * docs/html/documentation.html: Fix broken link.
2829
2830 2002-05-04 Benjamin Kosnik <bkoz@redhat.com>
2831 Paolo Carlini <pcarlini@unitus.it>
2832
2833 * testsuite/22_locale/num_put_members_char.cc: Add test04(),
2834 testing for the locale_facets.tcc entry of the previous commit.
2835 * testsuite/22_locale/num_put_members_wchar_t.cc: Likewise.
2836
2837 2002-05-04 Takeshi Kobayakawa <tskoba@mte.biglobe.ne.jp>
2838
2839 * config/locale/generic/c_locale.cc
2840 (__convert_to_v(float, double, long double)):
2841 Fix the temporary switch to the "C" locale, saving and
2842 restoring in the proper way the current locale.
2843 * config/locale/generic/time_members.cc
2844 (__timepunct<char, wchar_t>::_M_put): Likewise.
2845 * config/locale/gnu/messages_members.cc
2846 (messages<char>::do_get): Likewise.
2847 * config/locale/gnu/messages_members.h
2848 (messages<_CharT>::do_get): Likewise.
2849 * config/locale/gnu/time_members.cc
2850 (__timepunct<char, wchar_t>::_M_put): Likewise.
2851 * include/bits/locale_facets.tcc (__convert_from_v): Likewise.
2852
2853 2002-05-04 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2854
2855 * configure.in (AC_CHECK_HEADERS): Check for string.h & stdlib.h.
2856 * libsupc++/Makefile.am (LTCOMPILE): Add $(DEFS).
2857
2858 * Makefile.in, config.h.in, configure: Regenerate.
2859
2860 2002-05-03 Benjamin Kosnik <bkoz@redhat.com>
2861
2862 PR libstdc++/6549.
2863 * include/bits/fstream.tcc (filebuf::_M_underflow_common): Revert.
2864 * testsuite/27_io/narrow_stream_objects.cc (test07): Add.
2865
2866 2002-05-03 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2867
2868 * config/os/irix/irix5.2/bits/ctype_noninline.h (classic_table):
2869 Return __ctype + 1.
2870 (ctype:_M_table): Initialize to classic_table(), not __ctype.
2871
2872 2002-05-03 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
2873
2874 * configure.in: Update local install.html, configopts.html paths.
2875 * configure: Regenerate.
2876
2877 2002-05-02 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2878
2879 * config/os/irix/irix5.2/bits/os_defines.h
2880 (__glibcpp_long_double_bits, __glibcpp_long_bits): Define.
2881
2882 * config/os/irix/irix5.2/bits/ctype_inline.h: Cast to unsigned
2883 char.
2884
2885 2002-05-02 Phil Edwards <pme@gcc.gnu.org>
2886
2887 * docs/html/faq/index.html: Update list in #4.1.
2888 * docs/html/faq/index.txt: Regenerated.
2889
2890 2002-05-02 Benjamin Kosnik <bkoz@redhat.com>
2891
2892 * docs/html/17_intro/RELEASE-NOTES (New): Update.
2893
2894 2002-05-01 Phil Edwards <pme@gcc.gnu.org>
2895
2896 * include/std/std_bitset.h: Fix doxygen comments.
2897 * docs/html/documentation.html: Minor tweaks for 3.1.
2898 * docs/html/27_io/howto.html: Likewise.
2899 * docs/html/ext/howto.html: Likewise, mention stdio_filebuf.
2900 * docs/html/faq/index.html: Likewise.
2901 * docs/html/faq/index.txt: Regenerated.
2902
2903 2002-05-01 Benjamin Kosnik <bkoz@redhat.com>
2904
2905 PR libstdc++/6533
2906 * include/bits/streambuf_iterator.h (istreambuf_iterator::_M_get): New.
2907 (istreambuf_iterator::equal): Use it.
2908 (istreambuf_iterator::operator*): Use it.
2909
2910 2002-05-01 Paolo Carlini <pcarlini@unitus.it>
2911
2912 PR libstdc++/6513
2913 * include/bits/stl_uninitialized.h
2914 (uninitialized_copy(_InputIter, _InputIter, _ForwardIter)):
2915 Fix typo in 2001-07-17 commit: typedef _ValueType to
2916 iterator_traits<_ForwardIter> not <_InputIter>.
2917 * testsuite/23_containers/vector_ctor.cc: Add test04.
2918
2919 2002-04-30 John David Anglin <dave@hiauly1.hia.nrc.ca>
2920
2921 PR libstdc++/6501
2922 * include/c_std/std_cctype.h: Include bits/c++config.h.
2923 * config/os/hpux/bits/os_defines.h (_SB_CTYPE_MACROS): Define.
2924
2925 2002-04-30 Benjamin Kosnik <bkoz@redhat.com>
2926
2927 * include/ext/stdio_filebuf.h: New file.
2928 * include/ext/enc_filebuf.h: New file.
2929 * config/io/basic_file_stdio.h (__basic_file::sys_open): Add fd ctor.
2930 * config/io/basic_file_stdio.cc: Same.
2931 * include/bits/fstream.tcc (filebuf::_M_allocate_internal_buffer):
2932 Remove _M_unbuf hacks.
2933 (filebuf::_M_destroy_internal_buffer): Same.
2934 (filebuf::filebuf(cfile, openmode, int_type): Remove definition.
2935 (filebuf::fd): Remove.
2936 * include/std/std_fstream.h (filebuf::_M_unbuf): Remove.
2937 (filebuf::filebuf(__c_file*, openmode, int_type)): Remove.
2938 (filebuf::fd): Remove.
2939 * src/ios.cc (ios_base::_S_ios_create): Change to use specialized
2940 filebufs.
2941 (ios_base::_S_ios_destroy): Same.
2942 * src/misc-inst.cc (file_filebuf<char>): Add instantiation.
2943 * include/Makefile.am (ext_headers): Add ext_filebuf.h,
2944 stdio_filebuf.h. * include/Makefile.in: Regenerate.
2945
2946 2002-04-30 Benjamin Kosnik <bkoz@redhat.com>
2947
2948 PR libstdc++/6511
2949 * config/os/solaris/solaris2.7/bits/ctype_noninline.h: Fix typo.
2950
2951 2002-04-29 Benjamin Kosnik <bkoz@redhat.com>
2952
2953 PR libstdc++/5820
2954 * include/bits/fstream.tcc (basic_filebuf::_M_underflow_common):
2955 Check for eof.
2956 * include/bits/streambuf_iterator.h: Match stream_iterator.h.
2957 (istreambuf_iterator::operator++): Invalidate on eof.
2958 (istreambuf_iterator::operator++(int)): Same.
2959 (istreambuf_iterator::operator*): Same.
2960
2961 2002-04-29 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
2962
2963 * testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3-init): Set all
2964 of LD_LIBRARY_PATH, SHLIB_PATH, LD_LIBRARYN32_PATH,
2965 LD_LIBRARY64_PATH.
2966
2967 2002-04-28 Benjamin Kosnik <bkoz@redhat.com>
2968
2969 PR libstdc++/5820
2970 * config/io/basic_file_stdio.h (__basic_file::sys_getc): Return int.
2971 (__basic_file::sys_ungetc): Take int.
2972 * config/io/basic_file_stdio.cc (__basic_file::sys_ungetc): Same.
2973 * include/bits/fstream.tcc (basic_filebuf::_M_underflow_common):
2974 Use sys_getc for unbuffered input.
2975 * testsuite/27_io/narrow_stream_objects.cc (test06): New.
2976
2977 * src/ios.cc (_M_grow_words): Adjust error checking.
2978 * testsuite/27_io/ios_base_storage.cc: Same.
2979
2980 2002-04-28 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
2981
2982 * include/ext/stl_hashtable.h: Import __iterator_category
2983
2984 2002-04-28 Paolo Carlini <pcarlini@unitus.it>
2985 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
2986
2987 * testsuite/ext/hash_set.cc: New testfile.
2988
2989 2002-04-27 Benjamin Kosnik <bkoz@redhat.com>
2990
2991 * config/os/solaris/solaris2.5/bits/os_defines.h: Remove
2992 _G_USING_THUNKS.
2993 * config/os/solaris/solaris2.6/bits/os_defines.h: Same.
2994 * config/os/solaris/solaris2.7/bits/os_defines.h: Same.
2995
2996 2002-04-26 Paolo Carlini <pcarlini@unitus.it>
2997
2998 * include/bits/basic_string.h (replace(__pos, __n1, __s, __n2):
2999 Fix and tighten __throw_length_error check.
3000 * testsuite/21_strings/replace.cc (test05): New.
3001 * testsuite/21_strings/replace.cc (test02, test03, test04): Tweak.
3002
3003 2002-04-23 Loren J. Rittle <ljrittle@acm.org>
3004
3005 * include/std/std_fstream.h (basic_filebuf::sync): Hoist
3006 unconditional flush on lower-layer handle to here...
3007 * include/bits/fstream.tcc (basic_filebuf::_M_really_overflow):
3008 ...from here. Optimize remaining _M_file.sync() call pattern.
3009 * testsuite/27_io/narrow_stream_objects.cc (test04): New test.
3010 (test05): Likewise.
3011
3012 2002-04-23 Jason Merrill <jason@redhat.com>
3013
3014 * include/bits/fstream.tcc (basic_filebuf::seekoff): Fix for
3015 output-only filebufs.
3016 * include/std/std_fstream.h (basic_filebuf::_M_set_indeterminate):
3017 Likewise.
3018 (basic_filebuf::_M_set_determinate): Likewise.
3019
3020 PR libstdc++/6414
3021 * include/bits/fstream.tcc (basic_filebuf::seekoff): Adjust return
3022 value properly in the trivial case.
3023 * testsuite/27_io/istream_seeks.cc (test04): Make sure that
3024 tellg() returns the right value after a read.
3025
3026 2002-04-23 Hans-Peter Nilsson <hp@bitrange.com>
3027
3028 * config/cpu/mmix/bits/cpu_limits.h: New file.
3029 * configure.target (CPULIMITSH): Use it.
3030
3031 2002-04-22 Loren J. Rittle <ljrittle@acm.org>
3032
3033 * docs/html/17_intro/porting.texi (_GLIBCPP_AVOID_FSEEK): Remove.
3034 * docs/html/17_intro/porting.html: Rebuilt.
3035
3036 2002-04-20 Jason Merrill <jason@redhat.com>
3037
3038 PR libstdc++/4150
3039 * include/std/std_streambuf.h (basic_streambuf::_M_set_indeterminate):
3040 Move to filebuf.
3041 (basic_streambuf::_M_set_determinate): Likewise.
3042 (basic_streambuf::_M_is_indeterminate): Likewise.
3043 * include/bits/std_fstream.h (basic_filebuf::_M_filepos): New
3044 non-static data member.
3045 (basic_filebuf::_M_underflow_common): New non-static member function.
3046 (basic_filebuf::_M_underflow, _M_uflow): Call it.
3047 (basic_filebuf::sync): Avoid useless seeking.
3048 (basic_filebuf::_M_set_indeterminate): Move here from streambuf.
3049 Set _M_filepos.
3050 (basic_filebuf::_M_set_determinate): Likewise.
3051 (basic_filebuf::_M_is_indeterminate): Likewise.
3052 * include/bits/fstream.tcc (basic_filebuf::_M_really_overflow): Seek
3053 back to _M_out_beg if necessary.
3054 (basic_filebuf::seekoff): Likewise.
3055 (basic_filebuf::_M_underflow_common): Generalization of old
3056 underflow(). Don't seek back to _M_in_beg.
3057 * src/ios.cc: Lose _GLIBCPP_AVOID_FSEEK stuff.
3058 * config/os/solaris/solaris2.?/bits/os_defines.h: Likewise.
3059 * config/os/bsd/freebsd/bits/os_defines.h: Likewise.
3060 * config/os/mingw32/bits/os_defines.h: Likewise.
3061 * testsuite/27_io/filebuf_virtuals.cc (test05): Don't overspecify
3062 ungetc test.
3063
3064 2002-04-22 Benjamin Kosnik <bkoz@redhat.com>
3065
3066 * include/bits/istream.tcc (istream::read): Fix.
3067 * testsuite/27_io/istream_unformatted.cc (main): Add.
3068
3069 2002-04-20 Benjamin Kosnik <bkoz@redhat.com>
3070
3071 PR libstdc++/6360
3072 * include/bits/istream.tcc (istream::ignore): Streamline, use
3073 delimiter as is.
3074 * include/bits/streambuf.tcc: Use this->gptr.
3075 * testsuite/27_io/istream_unformatted.cc (test08): Add test.
3076
3077 2002-04-18 Benjamin Kosnik <bkoz@redhat.com>
3078
3079 * include/bits/localefwd.h (locale::id::_M_id): Do this correctly,
3080 as type safety is important, especially on solaris.
3081 * include/bits/istream.tcc (istream::read): Clean.
3082 (istream::readsome): Same.
3083 * locale.cc: Wrap lines.
3084
3085 * testsuite/21_strings/inserters_extractors.cc: Tweaks.
3086 * testsuite/27_io/instantiations.cc (test): Add bool variable...
3087 * testsuite/21_strings/capacity.cc: Clean.
3088
3089 2002-04-17 Phil Edwards <pme@gcc.gnu.org>
3090
3091 * docs/doxygen/doxygroups.cc: New group on binary searching.
3092 * include/bits/stl_algo.h: Document binary searches and merges.
3093 * include/bits/stl_deque.h: The 'map' member is not the 'map' class.
3094
3095 2002-04-17 Phil Edwards <pme@gcc.gnu.org>
3096
3097 * docs/doxygen/mainpage.html: Doxygen logo is now a PNG file.
3098 * docs/doxygen/run_doxygen: Bump required version.
3099 * docs/doxygen/user.cfg.in: Revert accidental change.
3100 * docs/html/faq/index.html: Reindent a block of links.
3101 (4.4): New note on using dlsym.
3102 * docs/html/faq/index.txt: Regenerated.
3103
3104 2002-04-17 Phil Edwards <pme@gcc.gnu.org>
3105
3106 * testsuite_flags.in (cxxflags): Also pass @EXTRA_CXX_FLAGS@.
3107
3108 2002-04-17 Benjamin Kosnik <bkoz@redhat.com>
3109
3110 * config/linker-map.gnu (__malloc_alloc_template): Add.
3111 (__default_alloc_template): Same.
3112 * include/bits/stl_alloc.h (__malloc_alloc_template): Add extern
3113 template.
3114 (__default_alloc_template): Same.
3115
3116 2002-04-17 Benjamin Kosnik <bkoz@redhat.com>
3117
3118 * testsuite/27_io/filebuf_virtuals.cc: Add _S_pback_size instantiation.
3119
3120 2002-04-16 Benjamin Kosnik <bkoz@redhat.com>
3121
3122 * src/concept-inst.cc (vector<locale::facet*>): Remove instantiations.
3123 * src/stl-inst.cc (vector::_M_insert_aux): Remove instantiation.
3124 (__malloc_alloc_template): Conditionalize.
3125
3126 * include/bits/istream.tcc: Remove sputbackc calls.
3127
3128 * testsuite/19_diagnostics/stdexceptions.cc: Fix comment.
3129
3130 2002-04-16 Paolo Carlini <pcarlini@unitus.it>
3131
3132 * testsuite/24_iterators/rel_ops.cc: New test.
3133
3134 2002-04-16 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
3135
3136 * include/bits/type_traits.h (__normal_iterator): Declare in
3137 __gnu_cxx. Adjust use at global namespace.
3138 * include/bits/stl_iterator.h (__normal_iterator): Move definition
3139 into __gnu_cxx::. Add more operator overloads. Tidy existing ones.
3140 * include/bits/basic_string.h (basic_string): Adjust use of
3141 __normal_iterator.
3142 * include/bits/stl_vector.h (_Alloc>): Likewise.
3143 * src/concept-inst.cc (__gnu_cxx): __normal_iterator<> is now here.
3144 * src/string-inst.cc (operator==): Instantiate in __gnu_cxx.
3145
3146 2002-04-15 Benjamin Kosnik <bkoz@redhat.com>
3147
3148 PR libstdc++/4164
3149 Valgrind fixes.
3150 * config/io/basic_file_stdio.cc (__basic_file::~__basic_file):
3151 Call close.
3152 (__basic_file::close): Call fflush. Correct return if fclose ok.
3153 (__basic_file::is_open): Make const.
3154 Change __c_file_type to __c_file.
3155 * config/io/basic_file_stdio.h: Change __c_file_type to __c_file.
3156 (__basic_file::is_open): Make const.
3157 * config/io/c_io_stdio.h: Change __c_file_type to __c_file.
3158 * include/std/std_fstream.h (filebuf::_M_allocate_file): Remove.
3159 (filebuf::_M_unbuf): Add.
3160 (filebuf::_M_file): Change to non-pointer.
3161 (filebuf::_M_allocate_pback_buffer): Remove.
3162 * include/bits/fstream.tcc (filebuf::_M_allocate_file): Remove.
3163 (filebuf::_M_allocate_internal_buffer): Use _M_unbuf.
3164 Change initialization list for _M_file change.
3165 (filebuf::_M_allocate_pback_buffer): Remove.
3166 Change _M_file usage to reflect non-pointer data member.
3167
3168 * config/locale/generic/c_locale.cc
3169 (locale::facet::_S_create_c_locale): Add parameter.
3170 * config/locale/generic/collate_members.cc: Change
3171 _M_compare_helper to _M_compare.
3172 Change _M_transform_helper to _M_transform.
3173 * config/locale/generic/monetary_members.cc: Changeup data types.
3174 Add dtors.
3175 * config/locale/generic/numeric_members.cc: Add dtors.
3176 * config/locale/generic/time_members.cc: Add dtors.
3177 * config/locale/gnu/c_locale.cc: Add parameter.
3178 * config/locale/gnu/collate_members.cc:Change
3179 _M_compare_helper to _M_compare.
3180 Change _M_transform_helper to _M_transform.
3181 * config/locale/gnu/ctype_members.cc: Better error checking.
3182 * config/os/gnu-linux/bits/ctype_noninline.h: Better error checking.
3183 * config/locale/gnu/messages_members.cc: Tweak comment.
3184 * config/locale/gnu/monetary_members.cc: Change data types.
3185 Add dtors.
3186 * config/locale/gnu/numeric_members.cc: Add dtors, better error
3187 checking.
3188 * config/locale/gnu/time_members.cc: Same.
3189 * config/locale/ieee_1003.1-2001/c_locale.cc
3190 (locale::facet::_S_create_c_locale): Add parameter.
3191 * config/locale/ieee_1003.1-2001/c_locale.h: Correct typedef.
3192 * config/locale/ieee_1003.1-2001/codecvt_specializations.h: Remove
3193 bogus ctor.
3194
3195 * include/bits/locale_facets.h (moneypunct): Use string literals.
3196 Don't define dtor.
3197 (numpunct): Same.
3198 (__timepunct): Same.
3199 (locale::_Impl::_M_facets): Change from vector to array.
3200 (locale::_Impl::_M_names): Change from array of strings to array
3201 of string literals.
3202 (locale::facet::_S_create_c_locale): Add parameter.
3203 (locale::locale::_S_num_facets): Move to...
3204 (locale::_Impl::_M_facets_size): Here.
3205 * include/bits/locale_facets.tcc: Fixups for _M_facets, _M_name
3206 changes.
3207 * include/bits/localefwd.h: (locale::id::_M_id): Add member function.
3208 (locale::_Impl::_Impl(facet**, size_t, bool)): Add.
3209 (locale::_Impl::_Impl(string, size_t)): Change to
3210 (locale::_Impl::_Impl(const char*, size_t)): This.
3211
3212 * include/bits/streambuf.tcc (streambuf::_S_pback_size): Define.
3213 * include/std/std_streambuf.h (streambuf::_M_pback_size): Change to
3214 (streambuf::_S_pback_size): This.
3215
3216 * src/globals.cc: Add pre-allocations for "C" facets.
3217 * src/locale-inst.cc: Remove vector instantiations.
3218 * src/locale.cc: Remove vector include. Fixups for _M_names,
3219 _M_facets changes.
3220 * src/localename.cc: Same.
3221
3222 * include/bits/stl_vector.h: Fix odd formatting.
3223
3224 * include/bits/basic_string.tcc: Tweak comment.
3225
3226 * libsupc++/new: Make sure parameters are uglified.
3227 * libsupc++/typeinfo: Same.
3228
3229 * testsuite/22_locale/num_get_members_char.cc: Fixup.
3230 * testsuite/22_locale/num_get_members_wchar_t.cc: Same.
3231 * testsuite/27_io/filebuf_members.cc: Same.
3232
3233 2002-04-12 Steve Ellcey <sje@cup.hp.com>
3234
3235 * gcc/libstdc++-v3/config/os/hpux/bits/os_defines.h
3236 (strtoll, strtoull): In 64 bit mode HP-UX (IA64 and HPPA)
3237 does not define strtoll or strtoull, but does define strtol
3238 and strtoul which are the same since in 64 bit mode
3239 sizeof(long) == sizeof(long long).
3240
3241 2002-04-12 Phil Edwards <pme@gcc.gnu.org>
3242
3243 * include/std/std_bitset.h: Doxygenate std::bitset<>. Clean up
3244 trailing spaces, indentation, and macro names. Make exception
3245 messages more informative.
3246
3247 2002-04-11 Richard Henderson <rth@redhat.com>
3248
3249 * include/bits/fstream.tcc (basic_filebuf<>::open): Fix & ordering.
3250 * include/bits/ostream.tcc (basic_ostream<>::operator<<(long)): Same.
3251 (basic_ostream<>::operator<<(long long)): Same.
3252
3253 2002-04-11 Richard Henderson <rth@redhat.com>
3254
3255 * config/linker-map.gnu: Add __gxx_personality_sj0.
3256
3257 2002-04-09 Benjamin Kosnik <bkoz@redhat.com>
3258
3259 libstdc++/1072
3260 * include/bits/localefwd.h (locale::_Impl::_M_facets): Change from
3261 pointer to vector.
3262 Remove forward declaration of vector.
3263 Include vector.
3264 * include/bits/locale_facets.tcc: Remove vector include.
3265 (use_locale): Adjust.
3266 (has_locale): Adjust.
3267 * src/locale.cc: Adjust.
3268 * src/localename.cc: Same.
3269
3270 2002-04-09 Benjamin Kosnik <bkoz@redhat.com>
3271 Richard Henderson <rth@redhat.com>
3272
3273 * include/bits/sstream.tcc: Clean up bit ops.
3274 * include/bits/fstream.tcc: Same.
3275
3276 2002-04-09 Jakub Jelinek <jakub@redhat.com>
3277
3278 * include/bits/locale_facets.h (__num_base::_S_scale_hex): Remove.
3279 (__num_base::_S_scale_oct): Remove.
3280 * src/locale.cc (__num_base::_S_scale_hex): Remove.
3281 (__num_base::_S_scale_oct): Remove.
3282
3283 2002-04-09 Benjamin Kosnik <bkoz@redhat.com>
3284
3285 libstdc++/6124
3286 * testsuite/23_containers/bitset_members.cc: New test.
3287 * include/std/std_bitset.h (_Bit_count::_S_bit_count): Move..
3288 (_S_bit_count): Here.
3289 (_First_one::_S_first_one): Move...
3290 (_S_first_one): Here.
3291 Format.
3292 * src/bitset.cc: Adjust.
3293 * config/linker-map.gnu: Export.
3294
3295 2002-04-08 Benjamin Kosnik <bkoz@redhat.com>
3296
3297 libstdc++/5180
3298 * include/bits/fstream.tcc (filebuf::seekpos): Fix.
3299 * include/std/std_fstream.h: Clean.
3300 * include/bits/ostream.tcc: Remove extraneous variables.
3301 * include/bits/sstream.tcc (stringbuf::seekoff): Be strict about
3302 open modes and which modes.
3303 (stringbuf::seekpos): Same.
3304 * testsuite/27_io/stringbuf_virtuals.cc: New tests.
3305
3306 2002-04-05 Jonathan Wakely <jw@kayari.org>
3307
3308 * include/bits/stl_algo.h (unique_copy, __gcd, rotate, rotate_copy,
3309 random_shuffle, partition, stable_partition, sort, stable_sort,
3310 partial_sort, partial_sort_copy, nth_element): Doxygenate.
3311
3312 2002-04-05 David S. Miller <davem@redhat.com>
3313
3314 * config/os/gnu-linux/bits/os_defines.h
3315 (__glibcpp_long_double_bits): Set to 64 on 32-bit Sparc.
3316
3317 2002-04-04 Benjamin Kosnik <bkoz@redhat.com>
3318
3319 libstdc++/3457
3320 via gawrilow@math.tu-berlin.de
3321 * acinclude.m4 (version_specific_libs): Fix combo usage with
3322 --with-gxx-include-dir.
3323 * aclocal.m4: Regenerate.
3324 * configure: Same.
3325
3326 2002-04-03 Benjamin Kosnik <bkoz@redhat.com>
3327
3328 As per DR 184, libstdc++/3139
3329 * include/std/std_limits.h (__glibcpp_bool_digits): Change to 1.
3330 (numeric_limits<bool>::is_iec559): False.
3331 (numeric_limits<bool>::is_modulo): False.
3332
3333 * testsuite/27_io/ios_init.cc: Add instantiations.
3334
3335 2002-04-02 Benjamin Kosnik <bkoz@redhat.com>
3336
3337 libstdc++/5268
3338 * src/ios.cc: (ios_base::Init::_S_ios_destroy): Remove flush calls.
3339 * testsuite/27_io/ios_init.cc (tests04): Add test.
3340
3341 libstdc++/3983
3342 * include/bits/basic_ios.h (basic_ios::_M_get_fctype_ios): Remove.
3343 (basic_ios::_M_ios_fctype): Consistently name to _M_fctype.
3344 * include/bits/basic_ios.tcc: Same. Remove outdated comments.
3345 * include/bits/istream.tcc: Use _M_fctype, make consistent with
3346 ostream.
3347 * testsuite/27_io/ios_init.cc (tests03): Add test.
3348
3349 2002-04-02 Phil Edwards <pme@gcc.gnu.org>
3350
3351 * include/Makefile.am (install-data-local): Use mkinstalldirs.
3352 * include/Makefile.in: Regenerate.
3353
3354 2002-04-02 Paolo Carlini <pcarlini@unitus.it>
3355 Nathan Myers <ncm@cantrip.org>
3356 Philip Martin <philip@codematters.co.uk>
3357
3358 * include/bits/basic_string.h
3359 (replace(i1, i2, _CharT* k1, _CharT* k2),
3360 replace(i2, i2, const _CharT* k1, const _CharT* k2),
3361 replace(i1, i2, iterator k1, iterator k2,
3362 replace(i1, i2, const_iterator k1, const_iterator k2):
3363 New specializations to optimize for the common cases of
3364 pointers and iterators.
3365 (replace(pos, n1, s, n2)): Tweak.
3366 * include/bits/basic_string.tcc: Tweak comments.
3367 * testsuite/21_strings/replace.cc (test04): New tests.
3368
3369 2002-04-01 Benjamin Kosnik <bkoz@redhat.com>
3370
3371 libstdc++/5542
3372 * acinclude: More extensive checks for msgfmt, --enable-nls.
3373 * aclocal.m4: Regenerate.
3374 * configure: Regenerate.
3375
3376 2002-04-01 Phil Edwards <pme@gcc.gnu.org>
3377
3378 * libsupc++/exception (__verbose_terminate_handler): Point to docs.
3379 * docs/doxygen/doxygroups.cc: Doxygen hooks for abi::__cxa_demangle.
3380 * docs/html/18_support/howto.html: Document the demangler.
3381 * docs/html/17_intro/howto.html: And link to it.
3382
3383 * docs/doxygen/mainpage.html: Describe user-vs-maintainer docs.
3384 * docs/doxygen/run_doxygen: Print user-vs-maintainer.
3385
3386 2002-04-01 Phil Edwards <pme@gcc.gnu.org>
3387
3388 * config/linker-map.gnu: Export __verbose_terminate_handler.
3389 * libsupc++/Makefile.am (sources): Add cxa_demangle.c, dyn-string.c.
3390 Make new LTCOMPILE variable, use it in new special build rules.
3391 * libsupc++/Makefile.in: Rebuild.
3392 * src/vterminate.cc (__verbose_terminate_handler): Enable use of
3393 runtime __cxa_demangle.
3394
3395 * docs/html/install.html: Update prereqs and instructions.
3396 * docs/html/19_diagnostics/howto.html: Bring naming for
3397 verbose_terminate_handler into line with reality.
3398
3399 2002-04-01 Benjamin Kosnik <bkoz@redhat.com>
3400
3401 libstdc++/3129
3402 * include/bits/basic_ios.h (basic_ios::_M_exception): Move.
3403 (basic_ios::_M_streambuf_state): Move.
3404 * include/bits/ios_base (ios_base): To here.
3405 * include/bits/ios_base.h (ios_base::_S_local_words): To
3406 _S_local_word_size.
3407 (ios_base::_M_word_array): To _M_local_word.
3408 (ios_base::_M_words_limit): To _M_word_size.
3409 (ios_base::_M_words): To _M_word.
3410 Comment.
3411 * include/bits/basic_ios.tcc: Adjust.
3412 * src/ios.cc (ios_base::_M_grow_words): Tweak.
3413 * testsuite/27_io/ios_base_storage.cc: Add tests.
3414
3415 libstdc++/5207
3416 Kenny Simpson <theonetruekenny@yahoo.com>
3417 * include/bits/ios_base.h: Fix.
3418
3419 Richard Henderson <rth@redhat.com>
3420 * include/bits/ostream.tcc (ostream::operator<<(_CharT)): Correct
3421 last change.
3422
3423 * include/bits/basic_string.h: Tweak formatting.
3424
3425 2002-04-01 Paolo Carlini <pcarlini@unitus.it>
3426
3427 * config/locale/ieee_1003.1-2001/codecvt_specializations.h
3428 (codecvt::do_out, codecvt::do_unshift, codecvt::do_in):
3429 By definition, sizeof(char) == 1.
3430 * include/bits/locale_facets.tcc (money_get::do_get,
3431 money_put::do_put): Ditto.
3432 * testsuite/21_strings/inserters_extractors.cc
3433 (test04): Ditto.
3434
3435 2002-03-30 Richard Henderson <rth@redhat.com>
3436
3437 PR c++/3719
3438 * libsupc++/eh_personality.cc (__cxa_call_unexpected): Copy handler
3439 data out of the exception struct before calling unexpectedHandler.
3440
3441 2002-03-28 Roger Sayle <roger@eyesopen.com>
3442
3443 * include/c_std/std_cmath.h: To prevent problems overloading
3444 g++ builtins, use the double variants from the global namespace
3445 before defining float and long double variants in std::.
3446
3447 2002-03-28 Loren J. Rittle <ljrittle@acm.org>
3448
3449 * testsuite/18_support/numeric_limits.cc (test_extrema): Fix typo.
3450
3451 2002-03-28 Paolo Carlini <pcarlini@unitus.it>
3452
3453 * testsuite/24_iterators/istream_iterator.cc
3454 (test02): New tests.
3455
3456 2002-03-28 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
3457 Paolo Carlini <pcarlini@unitus.it>
3458
3459 * testsuite/22_locale/codecvt_members_unicode_wchar_t.cc
3460 (test01): Protect the test with _GLIBCPP_USE_WCHAR_T;
3461 fix i_lit_base e_lit_base arrays, making them independent
3462 from the endianness of the platform; tweak UCS4 to UCS-4BE.
3463
3464 2002-03-27 Benjamin Kosnik <bkoz@redhat.com>
3465
3466 * include/bits/ostream.tcc (ostream::operator<<(_CharT)): Always
3467 allocate at least a byte.
3468
3469 * testsuite/18_support/numeric_limits.cc (test_extrema): Make
3470 debugger-friendly.
3471 * testsuite/27_io/streambuf.cc (test07): Fix.
3472 (test06): Enable.
3473
3474 2002-03-27 Phil Edwards <pme@gcc.gnu.org>
3475
3476 * docs/doxygen/Intro.3: Date tweak.
3477 * docs/doxygen/TODO: Update.
3478 * docs/doxygen/doxygroups.cc: Point to tables.html.
3479 * docs/doxygen/mainpage.html: Date tweak.
3480 * docs/doxygen/run_doxygen: Version tweak. Copy tables.html over.
3481 * docs/doxygen/tables.html: Fill in the blanks.
3482
3483 * docs/doxygen/user.cfg.in (ALIASES): Remove maint and endmaint.
3484 * include/bits/stl_algo.h: Likewise; use expanded form.
3485 * include/bits/stl_alloc.h: Likewise.
3486 * include/bits/stl_construct.h: Likewise.
3487 * include/bits/stl_deque.h: Likewise.
3488 * include/bits/stl_iterator_base_types.h: Likewise.
3489 * include/bits/stl_list.h: Likewise.
3490 * include/bits/stl_relops.h: Likewise.
3491 * include/bits/stl_tempbuf.h: Likewise.
3492 * include/bits/stl_vector.h: Likewise.
3493 * include/std/std_memory.h: Likewise.
3494
3495 * include/bits/stl_deque.h: Point into tables.html and add @ingroup.
3496 * include/bits/stl_list.h: Likewise.
3497 * include/bits/stl_vector.h: Likewise.
3498
3499 2002-03-26 Benjamin Kosnik <bkoz@redhat.com>
3500
3501 * include/c/: Guard with _CPP_.
3502 * include/c_std/: Same.
3503 * include/Makefile.am: Fixup install, link routines for null
3504 c_base_headers_extra scenarios.
3505 * include/Makefile.in: Regerate.
3506
3507 2002-03-25 Paolo Carlini <pcarlini@unitus.it>
3508 Richard Henderson <rth@redhat.com>
3509
3510 * testsuite/22_locale/codecvt_members_unicode_char.cc
3511 (test01, test02): make sure that the i_lit_base array
3512 is sufficiently aligned.
3513
3514 2002-03-25 Benjamin Kosnik <bkoz@redhat.com>
3515
3516 * config/os/newlib/bits/ctype_noninline.h (ctype::classic): Set to
3517 _ctype_.
3518
3519 2002-03-25 Paolo Carlini <pcarlini@unitus.it>
3520
3521 * testsuite/22_locale/collate_byname.cc
3522 (test01): compare the result of collate::compare with
3523 that of collate::transform + string::compare, not with
3524 that of collate::transform + collate::compare; values
3525 returned by collate::compare are normalized, therefore
3526 test against +-1.
3527
3528 2002-03-25 Benjamin Kosnik <bkoz@redhat.com>
3529 Jakub Jelinek <jakub@redhat.com>
3530
3531 * config/locale/gnu/messages_members.h: Correct conditional.
3532 * config/locale/gnu/messages_members.cc: Same.
3533 * config/locale/gnu/time_members.cc: Same.
3534
3535 2002-03-25 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
3536 Paolo Carlini <pcarlini@unitus.it>
3537
3538 * testsuite/22_locale/codecvt_members_unicode_char.cc
3539 (test01, test02): Fix i_lit_base arrays, making them
3540 independent from the endianness of the platform.
3541
3542 2002-03-22 Benjamin Kosnik <bkoz@redhat.com>
3543
3544 * acinclude.m4 (GLIBCPP_CHECK_COMPLEX_MATH_SUPP): Just test for
3545 signbit and __signbit directly.
3546 * aclocal.m4: Regenerate.
3547 * configure: Regenerate.
3548 * config.h.in: Regenerate.
3549 * libmath/Makefile.am: Simplify.
3550 * libmath/Makefile.in: Regenerate.
3551 * include/c_std/std_cmath.h: Update paths for include of cmath.tcc.
3552
3553 * include/Makefile.am: Clean up handling of extra "C" header files.
3554 Add hooks for "C" compatibility headers.
3555 * include/Makefile.in: Regenerate.
3556
3557 * include/c/*: Formatting tweaks, cleanups.
3558 * include/c_std/*: Same.
3559
3560 2002-03-22 Benjamin Kosnik <bkoz@redhat.com>
3561
3562 * config/locale/gnu/messages_members.h: Add __uselocale bits.
3563 * config/locale/gnu/messages_members.cc: Same.
3564 * config/locale/gnu/time_members.cc: Same.
3565
3566 2002-03-22 Benjamin Kosnik <bkoz@redhat.com>
3567
3568 * src/vterminate.cc: Format, -fno-exceptions cleanup.
3569
3570 2002-03-21 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
3571
3572 * acinclude.m4 (GLIBCPP_CHECK_STDLIB_DECL_AND_LINKAGE_3): New.
3573 (GLIBCPP_CONFIGURE_TESTSUITE): Use it to check for setenv.
3574 * aclocal.m4: Regenerate.
3575 * configure: Likewise.
3576
3577 2002-03-19 Paolo Carlini <pcarlini@unitus.it>
3578 Ulrich Drepper <drepper@redhat.com>
3579
3580 * src/locale-inst.cc (__convert_from_v): Add an additional
3581 __size parameter in the declarations.
3582 * include/bits/locale_facets.tcc
3583 (__convert_from_v): When available (that is,
3584 _GLIBCPP_USE_C99 defined) use snprintf instead of sprintf.
3585 (num_put::_M_convert_float): Depending on _GLIBCPP_USE_C99
3586 being defined or not, call and use __convert_from_v in the
3587 appropriate way.
3588 (num_put::_M_convert_int): Same here.
3589 (money_put::do_put(long double)): Same here.
3590
3591 2002-03-19 Phil Edwards <pme@gcc.gnu.org>
3592
3593 * docs/html/faq/index.html (#3.6): Rewrap and close <a href> tags.
3594 * docs/html/faq/index.txt: Regenerate.
3595
3596 2002-03-19 Steve Ellcey <sje@cup.hp.com>
3597
3598 * acinclude.m4 (GLIBCPP_ENABLE_LIBUNWIND_EXCEPTIONS): Define
3599 GLIBCPP_ENABLE_LIBUNWIND_EXCEPTIONS to set LIBUNWIND_FLAG if
3600 --enable-libunwind-exceptions is set.
3601 * configure.in (GLIBCPP_ENABLE_LIBUNWIND_EXCEPTIONS): Call new
3602 macro to check for libunwind.
3603 * configure: Regenerate.
3604 * src/Makefile.am (libstdc___la_LDFLAGS): Add
3605 LIBUNWIND_FLAG to libstdc link line.
3606 * src/Makefile.in: Regenerate.
3607
3608 2002-03-19 Benjamin Kosnik <bkoz@redhat.com>
3609
3610 * docs/html/faq/index.html: Add OS X workaround.
3611 * docs/html/17_intro/TODO: Update.
3612
3613 2002-03-18 Paolo Carlini <pcarlini@unitus.it>
3614
3615 * include/bits/locale_facets.tcc
3616 (money_put::do_put(long double)): Fix dimensioning of
3617 temporary buffers to avoid risk of overruns.
3618 (money_put::do_put(string)): Same for the buffer used to
3619 add the grouping chars.
3620 * testsuite/22_locale/money_put_members_char.cc: Add test06.
3621 * testsuite/22_locale/money_put_members_wchar_t.cc: Ditto.
3622
3623 * include/bits/locale_facets.tcc
3624 (collate::do_transform): Simplify.
3625
3626 2002-03-18 Phil Edwards <pme@gcc.gnu.org>
3627
3628 * acinclude.m4 (GLIBCPP_CONFIGURE): Make indentation/spacing uniform.
3629 * configure.in: Add comments pointing the way for autoconf 2.5x.
3630 * aclocal.m4, config.h.in, configure: Regenerate.
3631
3632 2002-03-18 Philipp Thomas <pthomas@suse.de>
3633
3634 * include/backward/hash_map.h: hash, hashtable, hash_map and
3635 hash_multimap are in namespace __gnu_cxx.
3636 include/backward/hash_set.h: hash, hashtable, hash_set and
3637 hash_multiset are in namespace __gnu_cxx.
3638 include/backward/hashtable.h: hash and hashtable are in
3639 namespace __gnu_cxx.
3640 include/backward/rope.h: char_producer, sequence_buffer,
3641 rope, crope and wrope are in namespace __gnu_cxx.
3642 include/backward/slist.h: slist is in namespace __gnu_cxx.
3643 * testsuite/backward/header_hash_map_h.cc
3644 testsuite/backward/header_hash_set_h.cc
3645 testsuite/backward/header_hashtable_h.cc
3646 testsuite/backward/header_rope_h.cc
3647 testsuite/backward/header_slist_h.cc
3648 testsuite/backward/header_tempbuf_h.cc: New tests for
3649 checking that we're using the correct namespace.
3650
3651 2002-03-17 Jason Merrill <jason@redhat.com>
3652
3653 PR c++/4381
3654 * libsupc++/eh_personality.cc (get_adjusted_ptr): New static fn.
3655 (check_exception_spec): Call it. Take the thrown pointer.
3656 (__cxa_call_unexpected): Pass it.
3657 (PERSONALITY_FUNCTION): Likewise. Use get_adjusted_ptr.
3658
3659 2002-03-15 Anthony Green <green@redhat.com>
3660
3661 * configure.in: Remove useless is_mingw32.
3662 * configure: Rebuilt.
3663
3664 2002-03-15 Paolo Carlini <pcarlini@unitus.it>
3665
3666 * testsuite/22_locale/collate_members_char.cc
3667 (test01): compare the result of collate::compare with
3668 that of collate::transform + string::compare, not with
3669 that of collate::transform + collate::compare.
3670 (test01): values returned by collate::compare are
3671 normalized, therefore test against +-1.
3672 * testsuite/22_locale/collate_members_wchar_t.cc: Ditto.
3673
3674 2002-03-12 Loren Rittle <ljrittle@acm.org>
3675
3676 reported by Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
3677 * testsuite/thread/pthread4.cc: Lower nominal iteration counter.
3678
3679 2002-03-12 Benjamin Kosnik <bkoz@redhat.com>
3680 Per Liboriussen <liborius@stofanet.dk>
3681
3682 * config/os/gnu-linux/bits/ctype_noninline.h: Cast to
3683 unsigned char.
3684 * config/os/gnu-linux/bits/ctype_inline.h: Same.
3685
3686 * config/os/irix/irix6.5/bits/ctype_inline.h: Same.
3687
3688 * config/os/solaris/solaris2.5/bits/ctype_inline.h: Same.
3689 * config/os/solaris/solaris2.5/bits/ctype_noninline.h: Same.
3690
3691 * config/os/solaris/solaris2.6/bits/ctype_inline.h: Same.
3692 * config/os/solaris/solaris2.6/bits/ctype_noninline.h: Same.
3693
3694 * config/os/solaris/solaris2.7/bits/ctype_inline.h: Same.
3695 * config/os/solaris/solaris2.7/bits/ctype_noninline.h: Same.
3696
3697 * testsuite/22_locale/ctype_members_char.cc (main): Add tests.
3698
3699 2002-03-12 Benjamin Kosnik <bkoz@redhat.com>
3700
3701 * include/bits/basic_string.tcc (string::_S_construct(_InIter,
3702 _InIter, const _Alloc&, forward_iterator_tag): Check for null.
3703 (string::basic_string(const _CharT* __s, const _Alloc& __a)): Same.
3704 * testsuite/21_strings/ctor_copy_dtor.cc (test01): Re-enable, now
3705 that memory limits are in place.
3706 (test03): Add tests.
3707
3708 2002-03-11 Benjamin Kosnik <bkoz@redhat.com>
3709
3710 * acinclude.m4 (GLIBCPP_CHECK_WCHAR_T_SUPPORT): Check for wctype.h.
3711 * aclocal.m4: Regenerate.
3712 * config.h.in: Regenerate.
3713 * configure: Regenerate.
3714 * include/c_std/std_cwctype.h: Guard.
3715
3716 2002-03-11 Chris Demetriou <cgd@broadcom.com>
3717
3718 * acinclude.m4 (GLIBCPP_ENABLE_SYMVERS): Enhance check for
3719 whether GLIBCPP_CHECK_LINKER_FEATURES has been used.
3720 * aclocal.m4: Regenerate.
3721 * configure: Regenerate.
3722
3723 2002-03-11 Benjamin Kosnik <bkoz@redhat.com>
3724
3725 * include/bits/stl_bvector.h: Fix warning.
3726
3727 2002-03-11 Richard Henderson <rth@redhat.com>
3728
3729 * include/bits/stl_bvector.h (_Bit_type): New. Use throughout.
3730
3731 2002-03-11 Phil Edwards <pme@gcc.gnu.org>
3732
3733 * testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3-list-sourcefiles):
3734 New function. Build the list of tests to run in testsuite_files.
3735 * testsuite/libstdc++-v3.dg/dg.exp: Use it.
3736
3737 2002-03-11 Phil Edwards <pme@gcc.gnu.org>
3738
3739 * testsuite/21_strings/capacity.cc: Only explicitly instantiate on
3740 platforms with no weak support.
3741 * testsuite/27_io/ios_init.cc: Likewise.
3742
3743 2002-03-10 Paolo Carlini <pcarlini@unitus.it>
3744
3745 * include/bits/locale_facets.tcc (time_put::do_put):
3746 Consider sizeof(char_type) in allocating the buffer.
3747
3748 * include/bits/locale_facets.tcc (collate::do_tranform):
3749 Remove redundant variable.
3750
3751 2002-03-10 Ulrich Drepper <drepper@redhat.com>
3752 Paolo Carlini <pcarlini@unitus.it>
3753
3754 * config/locale/generic/collate_members.cc
3755 (collate<char,wchar_t>::_M_compare_helper): normalize
3756 values returned by strcoll and wcscoll.
3757 * config/locale/gnu/collate_members.cc
3758 (collate<char,wchar_t>::_M_compare_helper): ditto
3759 for __strcoll_l and __wcscoll_l.
3760
3761 2002-03-10 Anthony Green <green@redhat.com>
3762
3763 * configure.in: Support cross builds to mingw32 target.
3764 * configure: Rebuilt.
3765
3766 2002-03-09 Paolo Carlini <pcarlini@unitus.it>
3767
3768 * include/bits/locale_facets.tcc (collate::do_transform):
3769 Rewrite to fix problems with long transformed strings.
3770
3771 2002-03-08 Benjamin Kosnik <bkoz@redhat.com>
3772
3773 * c_locale_generic.cc: Move to...
3774 * generic/c_locale.cc
3775 * c_locale_generic.h: Move to...
3776 * generic/c_locale.h
3777 * codecvt_specializations_generic.h: Move to...
3778 * generic/codecvt_specializations.h
3779 * collate_members_generic.cc: Move to...
3780 * generic/collate_members.cc
3781 * ctype_members_generic.cc: Move to...
3782 * generic/ctype_members.cc
3783 * messages_members_generic.cc: Move to...
3784 * generic/messages_members.cc
3785 * messages_members_generic.h: Move to...
3786 * generic/messages_members.h
3787 * moneypunct_members_generic.cc: Move to...
3788 * generic/monetary_members.cc
3789 * numpunct_members_generic.cc: Move to...
3790 * generic/numeric_members.cc
3791 * time_members_generic.cc: Move to...
3792 * generic/time_members.cc
3793 * c_locale_gnu.cc: Move to...
3794 * gnu/c_locale.cc
3795 * c_locale_gnu.h: Move to...
3796 * gnu/c_locale.h
3797 * collate_members_gnu.cc: Move to...
3798 * gnu/collate_members.cc
3799 * ctype_members_gnu.cc: Move to...
3800 * gnu/ctype_members.cc
3801 * messages_members_gnu.cc: Move to...
3802 * gnu/messages_members.cc
3803 * messages_members_gnu.h: Move to...
3804 * gnu/messages_members.h
3805 * moneypunct_members_gnu.cc: Move to...
3806 * gnu/monetary_members.cc
3807 * numpunct_members_gnu.cc: Move to...
3808 * gnu/numeric_members.cc
3809 * time_members_gnu.cc: Move to...
3810 * gnu/time_members.cc
3811 * c_locale_ieee_1003.1-200x.cc: Move to...
3812 * ieee_1003.1-2001/c_locale.cc
3813 * c_locale_ieee_1003.1-200x.h: Move to...
3814 * ieee_1003.1-2001/c_locale.h
3815 * codecvt_specializations_ieee_1003.1-200x.h: Move to...
3816 * ieee_1003.1-2001/codecvt_specializations.h
3817 * messages_members_ieee_1003.1-200x.cc: Move to...
3818 * ieee_1003.1-2001/messages_members.cc
3819 * messages_members_ieee_1003.1-200x.h: Move to...
3820 * ieee_1003.1-2001/messages_members.h
3821
3822 * acinclude.m4 (GLIBCPP_ENABLE_CLOCALE): Make consistent.
3823 * aclocal.m4: Regenerate.
3824 * configure: Regenerate.
3825 * src/Makefile.am (sources): Change to monetary and numeric.
3826 * src/Makefile.in: Regenerate.
3827 * docs/html/configopts.html: Update to ieee_1003.1-2001.
3828
3829 2002-03-08 scott snyder <snyder@fnal.gov>
3830
3831 libstdc++/5875
3832 * include/bits/locale_facets.tcc (num_put::_M_convert_float):
3833 Allow one more digit of precision.
3834 * testsuite/27_io/ostream_inserter_arith.cc: Test that we can
3835 write a double and read back in the same value.
3836
3837 2002-03-08 Benjamin Kosnik <bkoz@redhat.com>
3838
3839 * include/std/std_limits.h: Move static const data members out of
3840 generic template, into base class __numeric_limits_base.
3841 * src/limits.cc: Add definitions.
3842 * config/linker-map.gnu: Add __numeric_limits_base.
3843 * testsuite/18_support/numeric_limits.cc: Declare test in scope.
3844
3845 2002-03-07 Benjamin Kosnik <bkoz@redhat.com>
3846
3847 * include/bits/stl_alloc.h: Add extern implicit allocator
3848 instantiations.
3849 * include/bits/basic_string.tcc: Tweak.
3850 * include/bits/locale_facets.tcc: Remove default args. Add
3851 has_facet, use_facet extern instantiations.
3852 * src/stl-inst.cc: Add explicit instantiation.
3853 * src/locale-inst.cc: Clean. Remove locale member template
3854 instantiations.
3855
3856 * testsuite/22_locale/operators.cc (test02): Enable.
3857
3858 2002-03-06 Benjamin Kosnik <bkoz@redhat.com>
3859 Stephen M. Webb <stephen.webb@bregmasoft.com>
3860
3861 * include/bits/stl_tree.h (_S_rb_tree_red): Make enum.
3862 (_S_rb_tree_black): Make enum.
3863 Clean. Format.
3864 * include/bits/stl_bvector.h (__WORD_BIT): To _M_word_bit, enum.
3865 * include/bits/stl_algo.h (__stl_chunk_size): _M_chunk_size, enum.
3866 (__stl_threshold): _M_threshold, enum.
3867 * src/stl-inst.cc: Same.
3868 * config/linker-map.gnu: Remove.
3869
3870 * testsuite/23_containers/vector_bool.cc: New.
3871
3872 2002-03-06 Phil Edwards <pme@gcc.gnu.org>
3873
3874 * docs/doxygen/user.cfg.in: Also document deprecated entries.
3875 * docs/html/Makefile: Example rule to rebuild porting-howto.html.
3876 * docs/html/17_intro/howto.html: "gcc"->"GCC" changes, when
3877 referring to the collection as a whole. New section on which macros
3878 can be redefined by the user.
3879 * docs/html/19_diagnostics/howto.html: Update note for concepts.
3880 * docs/html/20_util/howto.html: Update link to SGI.
3881 * docs/html/faq/index.html: Update snapshot versions. New entry
3882 on why g++ (but not gcc) must currently predefine certain macros.
3883 * docs/html/faq/index.txt: Regenerated.
3884
3885 * include/bits/basic_string.h (basic_string::_S_construct): Fix
3886 names in declaration.
3887 (basic_string::compare): These are no longer optional.
3888 * include/bits/ostream.tcc: Tweak closing brace placement.
3889 * include/bits/stl_algo.h: Lots of initial doxygen comment hooks.
3890 * include/std/std_sstream.h: Fix typo in comment.
3891 * include/bits/locale_facets.tcc: Remove unneeded header inclusion.
3892 * src/locale.cc: Likewise.
3893
3894 2002-03-06 Phil Edwards <pme@gcc.gnu.org>
3895
3896 PR libstdc++/5734
3897 * include/bits/stl_vector.h (vector::push_back()): Guard with
3898 _GLIBCPP_DEPRECATED.
3899
3900 2002-03-06 Phil Edwards <pme@gcc.gnu.org>
3901
3902 * include/bits/c++config: Fix misplaced leading blanks on first line.
3903
3904 2002-03-05 Benjamin Kosnik <bkoz@redhat.com>
3905
3906 * docs/html/17_intro/RELEASE-NOTES: Fix usage.
3907 * README (libmath): Make clear.
3908
3909 2002-03-05 Jakub Jelinek <jakub@redhat.com>
3910
3911 * acinclude.m4 (GLIBCPP_ENABLE_SYMVERS): Check for version
3912 script globbing in ld.
3913 * aclocal.m4: Rebuilt.
3914 * configure: Rebuilt.
3915
3916 2002-03-05 Benjamin Kosnik <bkoz@redhat.com>
3917
3918 * docs/html/17_intro/RELEASE-NOTES: Update.
3919 * README: Format subdirectories.
3920
3921 2002-03-05 Paolo Carlini <pcarlini@unitus.it>
3922
3923 libstdc++/5816
3924 * include/bits/locale_facets.tcc
3925 (num_get::_M_extract_float): Fix the parsing of __dec, since
3926 the standard prescribes that if no grouping characters are
3927 seen, no grouping check is applied.
3928 * testsuite/22_locale/num_get_members_char.cc: Add test05
3929 distilled from the PR.
3930 * testsuite/22_locale/num_get_members_wchar_t.cc: Ditto.
3931
3932 2002-03-04 Craig Rodrigues <rodrigc@gcc.gnu.org>
3933
3934 * docs/html/17_intro/porting-howto.xml: Refer to
3935 http://www.oasis-open.org for docbookx.dtd.
3936 * docs/html/17_intro/porting-howto.html: Regenerated.
3937
3938 2002-03-03 Phil Edwards <pme@gcc.gnu.org>
3939
3940 PR libstdc++/3955
3941 * include/std/std_sstream.h: Remove trailing spaces.
3942 (basic_stringbuf::_M_stringbuf_init): Also check for ios_base::app.
3943 * testsuite/27_io/stringbuf.cc (test05, test06): New tests.
3944
3945 2002-03-02 Paolo Carlini <pcarlini@unitus.it>
3946
3947 * testsuite/22_locale/num_get_members_char.cc (test04):
3948 Use a named locale expecting grouping (de_DE).
3949 * testsuite/22_locale/num_get_members_wchar_t.cc (test04):
3950 Ditto.
3951 * testsuite/27_io/ios_manip_basefield.cc (test01):
3952 Extend coverage, uniform treatment of hexs and octs.
3953
3954 2002-02-28 Richard Henderson <rth@redhat.com>
3955
3956 * config/linker-map.gnu: Export operator new with unsigned long,
3957 and with std::nothrow_t. Likewise operator delete.
3958
3959 2002-02-28 Paolo Carlini <pcarlini@unitus.it>
3960
3961 * include/bits/locale_facets.tcc (num_get::_M_extract_int):
3962 Admit grouping for octals and hexadecimals too.
3963 * testsuite/22_locale/num_get_members_char.cc: Add test04.
3964 (test01): Tweak "." -> "," in void* test.
3965 * testsuite/22_locale/num_get_members_wchar_t.cc: Ditto.
3966
3967 * testsuite/27_io/ios_manip_basefield.cc: Remove static keyword.
3968 * testsuite/27_io/ios_manip_fmtflags.cc: Remove two of them.
3969
3970 2002-02-27 Paolo Carlini <pcarlini@unitus.it>
3971
3972 * testsuite/27_io/ios_manip_basefield.cc (test01):
3973 Fix for 64 bit machines.
3974
3975 2002-02-26 Benjamin Kosnik <bkoz@redhat.com>
3976
3977 libstdc++/3983
3978 * include/bits/basic_ios.tcc (basic_ios::init): Set _M_fill to zero.
3979 Adjust comment.
3980 * include/bits/basic_ios.h (basic_ios::_M_fill): Make mutable.
3981 (basic_ios::_M_fill_init): New.
3982 (basic_ios::fill()): Delay dealing with _M_fill.
3983 Adjust comment.
3984 * ios.cc (ios_base::ios_base()): Initialize _M_callbacks, _M_words.
3985 (ios_base::_M_call_callbacks): Adjust.
3986 * testsuite/27_io/ios_init.cc (test02): Adjust testcase.
3987
3988 2002-02-26 Loren Rittle <ljrittle@acm.org>
3989
3990 * include/Makefile.am (thread_target_headers): Unconditionally
3991 stage and install gthr-posix.h.
3992 (${target_builddir}/gthr-posix.h): New rule cloned off
3993 ${target_builddir}/gthr-default.h.
3994 (${target_builddir}/gthr-default.h): Support chained inclusion
3995 of gthr support headers.
3996 * include/Makefile.in: Rebuilt.
3997
3998 2002-02-26 Paolo Carlini <pcarlini@unitus.it>
3999
4000 * include/bits/locale_facets.tcc (num_put::_M_widen_int):
4001 Group all the integral types, not only decs.
4002 * testsuite/27_io/ios_manip_basefield.cc (test01): Tweak existing
4003 tests, add a few more.
4004
4005 2002-02-25 Benjamin Kosnik <bkoz@redhat.com>
4006
4007 * src/ios.cc (ios_base::~ios_base): Tweak.
4008 (ios_base::_M_call_callbacks): Deal with null __p.
4009 (ios_base::ios_base): Set _M_callbacks.
4010 * include/bits/basic_ios.tcc (basic_ios::init): Adjust comment.
4011 * testsuite/27_io/ios_init.cc (test02): Fix.
4012
4013 * mkcheck.in (static_fail): Failed links go to output file.
4014
4015 2002-02-25 Phil Edwards <pme@gcc.gnu.org>
4016
4017 * docs/html/faq/index.html: Update.
4018 * docs/html/faq/index.txt: Regenerate.
4019
4020 2002-02-22 Phil Edwards <pme@gcc.gnu.org>
4021
4022 * acinclude.m4 (GLIBCPP_ENABLE_SYMVERS): Fix comment.
4023 * aclocal.m4: Regenerate.
4024 * docs/html/configopts.html: Document --enable-symvers.
4025 * config/linker-map.gnu: Break libsupc++ symbols out to their own tag.
4026
4027 2002-02-22 Philipp Thomas <pthomas@suse.de>
4028
4029 * include/backward/tempbuf.h: get_temporary_buffer and
4030 return_temporary_buffer are in namespace std, not in __gnu_cxx.
4031
4032 2002-02-21 Benjamin Kosnik <bkoz@redhat.com>
4033
4034 * configure.in (target_alias): Default to yes.
4035 * acinclude.m4 (GLIBCPP_ENABLE_SYMVERS): Add check for shared
4036 libgcc to default case.
4037
4038 2002-02-20 Phil Edwards <pme@gcc.gnu.org>
4039
4040 * acinclude.m4 (GLIBCPP_CHECK_LINKER_FEATURES): Also check version.
4041 (GLIBCPP_ENABLE_SYMVERS): Redo logic, use linker version.
4042 * configure.in (GLIBCPP_ENABLE_SYMVERS): Move later in the script.
4043 * aclocal.m4: Regenerate.
4044 * configure: Regenerate.
4045 * config/linker-map.dummy: New file. Contains nothing useful.
4046
4047 2002-02-20 Benjamin Kosnik <bkoz@redhat.com>
4048
4049 * testsuite/22_locale/money_put_members_char.cc: Fix.
4050 * testsuite/22_locale/money_put_members_wchar_t.cc: Fix.
4051
4052 * testsuite/27_io/standard_manipulators.cc: New file.
4053
4054 * testsuite/27_io/ios_manip_basefield.cc: Check results, now failing.
4055 * testsuite/27_io/ios_manip_fmtflags.cc: Use locale::classic().
4056
4057 2002-02-20 Danny Smith <dannysmith@users.sourceforge.net>
4058
4059 * config/os/mingw32/bits/ctype_noninline.h
4060 (ctype<char>::ctype): Remove default args from parm list.
4061 * config/os/djgpp/bits/ctype_noninline.h: Same.
4062
4063 2002-02-19 Benjamin Kosnik <bkoz@redhat.com>
4064
4065 * include/std/std_iomanip.h: Inline, tweaks.
4066 * config/linker-map.gnu: Remove hacks.
4067
4068 * testsuite/21_strings/capacity.cc: Add explicit instantiations.
4069 * testsuite/27_io/ios_init.cc: Same.
4070 * testsuite/22_locale/money_get_members_char.cc (test07): Fix.
4071 * testsuite/22_locale/money_get_members_wchar_t.cc (test07): Same.
4072
4073 2002-02-19 Benjamin Kosnik <bkoz@redhat.com>
4074
4075 * config/linker-map.gnu: Export global vtable, typeinfo, guard
4076 variable, and thunk info as per CXXABI docs.
4077
4078 2002-02-19 Loren Rittle <ljrittle@acm.org>
4079
4080 * include/Makefile.am: Use CONFIG_HEADER instead of ad hoc names.
4081 * include/Makefile.in: Rebuilt.
4082
4083 2002-02-18 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
4084
4085 * testsuite/22_locale/collate_byname.cc (test01): Replace size4
4086 with size3 for the string collations of str5.
4087
4088 2002-02-18 Paolo Carlini <pcarlini@unitus.it>
4089
4090 libstdc++/5708
4091 * include/bits/locale_facets.tcc (money_put::do_put):
4092 For the space field use __fill instead of ' ', uniformly.
4093 * testsuite/22_locale/money_put_members_char.cc:
4094 Add test05 distilled from PR.
4095 (test01-02-03): Trim some '*' to ' '.
4096 * testsuite/22_locale/money_put_members_wchar_t.cc: Ditto.
4097
4098 2002-02-18 Loren Rittle <ljrittle@acm.org>
4099
4100 libstdc++/5697
4101 * include/Makefile.am (thread_builddir): Remove (map all
4102 existing uses to target_builddir).
4103 (thread_headers): Rename to...
4104 (thread_target_headers): ...this.
4105 (stamp-thread): Remove.
4106 (stamp-target): Correctly state the position as built.
4107 Update all dependencies to match the new reality. Remove all
4108 dependency calculations on directories.
4109 * include/Makefile.in: Rebuilt.
4110
4111 2002-02-16 Benjamin Kosnik <bkoz@redhat.com>
4112
4113 * include/bits/locale_facets.tcc: Add pragma GCC system_header.
4114 * include/bits/fstream.tcc: Same.
4115 * include/bits/sstream.tcc: Same.
4116 * include/bits/ostream.tcc: Same.
4117 * include/bits/istream.tcc: Same.
4118 * include/bits/streambuf.tcc: Same.
4119 * include/bits/basic_ios.tcc: Same.
4120 * include/bits/basic_string.tcc: Same.
4121
4122 2002-02-15 Benjamin Kosnik <bkoz@redhat.com>
4123
4124 * include/std/std_iosfwd.h: Don't guard typedefs with
4125 _GLIBCPP_USE_WCHAR_T
4126 * include/bits/stringfwd.h: Same.
4127
4128 2002-02-15 Benjamin Kosnik <bkoz@redhat.com>
4129
4130 * src/locale.cc (moneypunct_byname): Remove definitions.
4131 * include/std/std_streambuf.h (streambuf::operator=): Return.
4132
4133 2002-02-15 Benjamin Kosnik <bkoz@redhat.com>
4134
4135 Tune for size.
4136 * src/string-inst.cc (string::_Rep::_S_terminal): Remove redundant
4137 explicit instantiation.
4138 (string::_Rep::_S_max_size): Same.
4139 * include/bits/basic_string.tcc: Add extern explicit
4140 instantiations for string, wstring.
4141 * include/bits/basic_ios.tcc: Add extern explicit instantiations
4142 for ios, wios.
4143 * include/bits/streambuf.tcc: Same, for streambuf, wstreambuf.
4144 * include/bits/istream.tcc: Same, for istream, wistream.
4145 * include/bits/ostream.tcc: Same for ostream, wostream, iostream,
4146 wiostream.
4147 * include/bits/sstream.tcc: Same, for stringbuf, wstringbuf,
4148 istringstream, wistringstream, ostringstream, wostringstream,
4149 stringstream, wstringstream.
4150 * include/bits/fstream.tcc: Same, for filebuf, wfilebuf, ifstream,
4151 wifstream, ofstream, wofstream, fstream, wfstream.
4152 * src/misc-inst.cc: Correct comments.
4153 Add iomanip instantiations for wide streams.
4154 * include/std/std_iomanip.h: Same.
4155 * include/bits/locale_facets.tcc: Same.
4156
4157 * include/std/std_streambuf.h: Correct
4158 _GLIBCPP_FULLY_COMPLIANT_HEADERS guard.
4159 * include/std/std_sstream.h: Same.
4160 * include/std/std_ostream.h: Same.
4161 * include/std/std_istream.h: Same.
4162 * include/std/std_fstream.h: Same.
4163
4164 * include/std/std_streambuf.h: Add definitions for private copy
4165 ctor and assignment operator.
4166 * include/std/std_istream.h: Remove declared but undefined copy
4167 ctor and assignment operator. This is taken care of in ios_base,
4168 so adding it in the derived class as well is superfluous.
4169 * include/std/std_ostream.h: Same.
4170
4171 * include/bits/basic_ios.h (basic_ios::clear): Don't inline.
4172 * include/bits/basic_ios.tcc (basic_ios::clear): Move definition here.
4173
4174 2002-02-14 Benjamin Kosnik <bkoz@redhat.com>
4175
4176 * config/linker-map.gnu: Change tag from GCC_3.1 to GLIBCPP_3.1.
4177 Add typeinfo bits. Smooth.
4178 * aclocal.m4: Regenerate.
4179 * configure: Same.
4180 * src/Makefile.in: Same.
4181
4182 2001-02-14 Joel Sherrill <joel@OARcorp.com>
4183
4184 * config/cpu/m68k/bits/atomicity.h: Corrected for RTEMS targets
4185 which do not have a CAS instruction.
4186
4187 2002-02-14 Phil Edwards <pme@gcc.gnu.org>
4188
4189 * acinclude.m4 (GLIBCPP_ENABLE_SYMVERS): New macro, initial revision.
4190 * configure.in: Call it.
4191 * config/linker-map.gnu: New file, initial incomplete revision.
4192 * src/Makefile.am: Optionally pass version script to the linker.
4193 * aclocal.m4: Regenerate.
4194 * configure: Regenerate.
4195 * src/Makefile.in: Regenerate.
4196
4197 2002-02-13 Benjamin Kosnik <bkoz@redhat.com>
4198
4199 * src/localename.cc: Remove stdexcept include.
4200 * src/locale-inst.cc: Same.
4201 * src/locale.cc: Same.
4202 * src/functexcept.cc: Remove string includes.
4203 * include/std/std_bitset.h: Remove stdexcept include.
4204 * testsuite/23_containers/bitset_members.cc: Add stdexcept.
4205 * testsuite/23_containers/bitset_ctor.cc: Same.
4206
4207 2002-02-11 Benjamin Kosnik <bkoz@redhat.com>
4208
4209 * include/bits/stl_algo (__stl_threshold): Declare external.
4210 (__stl_chunk_size): Same.
4211 * include/bits/stl_bvector.h (__WORD_BIT): Same.
4212 * include/bits/stl_tree.h (_S_rb_tree_red): Same.
4213 (_S_rb_tree_black): Same.
4214 * src/stl-inst.cc (__stl_threshold): Define.
4215 (__stl_chunk_size): Same.
4216 (__WORD_BIT): Same.
4217 (_S_rb_tree_red): Same.
4218 (_S_rb_tree_black): Same.
4219
4220 * config/io/basic_file_libio.h (__basic_file): Add declarations.
4221 * include/bits/basic_file.h: Remove.
4222 * config/io/c_io_stdio.h: Remove _GLIBCPP_BASIC_FILE_ENCAPSULATION
4223 Declare generic types, specialization.
4224 * config/io/basic_file_stdio.cc: Definitions.
4225 * config/io/c_io_libio.h: Remove _GLIBCPP_BASIC_FILE_INHERITANCE.
4226 Declare generic types.
4227 * include/Makefile.am (bits_headers): Remove basic_file.h.
4228 (extra_target_headers): Change basic_file_model.h to basic_file.h.
4229 (stamp-target): Same.
4230
4231 * include/bits/stl_alloc.h: Tweaks.
4232 * include/bits/localefwd.h: Same.
4233
4234 2002-02-11 Aaron W LaFramboise <AWLaFramboise@aol.com>
4235
4236 * include/bits/locale_facets.tcc (collate::do_hash): Fix.
4237 * testsuite/22_locale/collate_members_char.cc (test03): New test.
4238 * testsuite/22_locale/collate_members_wchar_t.cc (test03): Same.
4239
4240 2002-02-10 Phil Edwards <pme@gcc.gnu.org>
4241
4242 * include/bits/stl_algo.h (transform (both signatures), generate_n):
4243 Use __typeof__ in concept checks.
4244
4245 2002-02-10 Jonathan Wakely <cow@compsoc.man.ac.uk>
4246
4247 * include/bits/stl_algo.h (__median, for_each, find, find_if,
4248 adjacent_find, count, count_if, search, search_n, swap_ranges,
4249 transform, replace, replace_if, replace_copy, replace_copy_if,
4250 generate, generate_n, remove_copy, remove_copy_if, remove, remove_if,
4251 unique, unique_copy, reverse, reverse_copy): Doxygenate.
4252
4253 2002-02-08 Benjamin Kosnik <bkoz@redhat.com>
4254
4255 * include/bits/locale_facets.h
4256 (numpunct<_CharT>::_M_initialize_numpunct): Remove definition.
4257 (__timepunct<_CharT>::_M_initialize_timepunct): Same.
4258 (__timepunct<_CharT>::_M_put_helper): Same.
4259 (moneypunct<_CharT, _Intl>::_M_initialize_moneypunct): Same.
4260
4261 * include/bits/fstream.tcc (filebuf::underflow): Remove
4262 __codecvt_type typedef.
4263 (filebuf::_M_convert_to_external): Same.
4264
4265 2002-02-08 Phil Edwards <pme@gcc.gnu.org>
4266
4267 * docs/doxygen/TODO: Update.
4268 * docs/doxygen/doxygroups.cc: Tweak __gnu_cxx description.
4269 * docs/doxygen/mainpage.html: Add TODO list link.
4270 * docs/doxygen/user.cfg.in: Add @doctodo hook.
4271 * docs/doxygen/tables.html: New file, emoty structure only.
4272
4273 * include/bits/stl_iterator.h: Doxygenate just about everything.
4274 * include/bits/stl_iterator_base_funcs.h: Ditto, clean up spaces.
4275 * include/bits/stl_iterator_base_types.h: Add notes.
4276
4277 2002-02-07 Stephan Buys <sbproxy@icon.co.za>
4278
4279 * include/bits/stl_map.h: Tweak doxygen markup.
4280 * include/bits/stl_multimap.h: Doxygenate and remove extra spaces.
4281 * include/bits/stl_vector.h: Likewise.
4282
4283 2002-02-07 Benjamin Kosnik <bkoz@redhat.com>
4284
4285 libstdc++/5286
4286 libstdc++/3860
4287 * include/std/std_fstream.h (filebuf::__file_type): Change to
4288 __basic_file<char>.
4289 (filebuf::_M_convert_to_external): Declare.
4290 * include/bits/fstream.tcc (filebuf::_M_convert_to_external): Define
4291 codecvt bits for wide streams.
4292 (filebuf::_M_really_overflow): Use it.
4293 (filebuf::underflow): Use codecvt.
4294 * config/locale/codecvt_specializations_ieee_1003.1-200x.h:
4295 (codecvt<__enc_traits>::do_out): Deal with partial.
4296 (codecvt<__enc_traits>::do_encoding): Return something useful.
4297 * src/codecvt.cc (codecvt<wchar_t>::do_encoding): Return sizeof
4298 wchar_t.
4299 * testsuite/22_locale/codecvt_members_unicode_char.cc (test01):
4300 Change expected encoding output.
4301 (test02): Same.
4302 * testsuite/22_locale/codecvt_members_wchar_t_char.cc (test01): Same.
4303 (test02): Same.
4304
4305 2002-02-07 Benjamin Kosnik <bkoz@redhat.com>
4306 Wolfgang Bangerth <wolfgang.bangerth@iwr.uni-heidelberg.de>
4307
4308 * include/bits/basic_ios.tcc (basic_ios::narrow): Add default value.
4309 (basic_ios::widen): Same.
4310
4311 2002-02-07 Paolo Carlini <pcarlini@unitus.it>
4312
4313 * testsuite/22_locale/money_get_members_char.cc:
4314 Add comment, tidy up.
4315 (test01): more "en_HK" tests (without showbase).
4316 * testsuite/22_locale/money_get_members_wchar_t.cc: Ditto.
4317
4318 2002-02-06 Loren Rittle <ljrittle@acm.org>
4319
4320 * config/locale/c_locale_generic.cc: Do not trust
4321 _GLIBCPP_HAVE_STRTOF or _GLIBCPP_HAVE_STRTOLD as
4322 set by configure.
4323
4324 2002-02-06 Loren Rittle <ljrittle@acm.org>
4325
4326 * acinclude.m4: Add C++ linkage check for strtof.
4327 * aclocal.m4: Rebuilt.
4328 * config.h.in: Rebuilt.
4329 * configure: Rebuilt.
4330 * config/locale/c_locale_generic.cc: Conditionally include
4331 <ieeefp.h>. Improve handling and error checking of float
4332 and long double input for non-C99 configurations.
4333
4334 2002-02-06 Paolo Carlini <pcarlini@unitus.it>
4335
4336 * include/bits/locale_facets.tcc (money_get::do_get(string)):
4337 In case money_base::symbol deal properly with multi-char sign
4338 for patterns {X,Y,Z,symbol} and {X,Y,symbol,none}.
4339 * testsuite/22_locale/money_get_members_char.cc: Add test07.
4340 * testsuite/22_locale/money_get_members_wchar_t.cc: Add test07.
4341
4342 2002-02-05 Paolo Carlini <pcarlini@unitus.it>
4343
4344 * include/bits/locale_facets.tcc (money_get::do_get(string)):
4345 First construct a tentative returned string, then, only if the
4346 parsing succeeds, copy it into the string passed by reference.
4347 * testsuite/22_locale/money_get_members_char.cc: Add test06.
4348 * testsuite/22_locale/money_get_members_wchar_t.cc: Add test06.
4349
4350 2002-02-04 Phil Edwards <pme@gcc.gnu.org>
4351
4352 * docs/doxygen/TODO: Impl-defined behavior now documented...
4353 * docs/html/17_intro/howto.html: ...here.
4354 * docs/doxygen/mainpage.doxy: Remove, rename...
4355 * docs/doxygen/mainpage.html: ...to this. Tweak HTML, add license.
4356 * docs/doxygen/style.css: Add small text.
4357 * docs/doxygen/run_doxygen: Adjust for new mainpage.
4358 * docs/doxygen/user.cfg.in: Likewise.
4359
4360 2002-02-04 Stephan Buys <sbproxy@icon.co.za>
4361
4362 * include/bits/stl_map.h: Initial doxygen markup.
4363 * include/std/std_fstream.h: Initial doxygen markup.
4364
4365 2002-02-04 Paolo Carlini <pcarlini@unitus.it>
4366
4367 libstdc++/5579
4368 * include/bits/locale_facets.tcc (money_get::do_get(string)):
4369 Deal correctly with !(__io.flags() & ios_base::showbase)
4370 for case money_base::symbol.
4371 * testsuite/22_locale/money_get_members_char.cc: Add test05.
4372 * testsuite/22_locale/money_get_members_wchar_t.cc: Add test05.
4373
4374 2002-02-02 Paolo Carlini <pcarlini@unitus.it>
4375
4376 * testsuite/22_locale/operators.cc
4377 (gnu_collate::do_compare()): Add return statement to
4378 suppress "no return statement" warning.
4379
4380 2002-02-01 Paolo Carlini <pcarlini@unitus.it>
4381
4382 * testsuite/27_io/ostream_manip.cc: Enable test02.
4383
4384 2002-02-01 Phil Edwards <pme@gcc.gnu.org>
4385
4386 * docs/html/documentation.html: Update for 3.0.96.
4387 * docs/html/faq/index.html: Update for 3.0.96.
4388 * docs/html/faq/index.txt: Regenerated.
4389 * docs/doxygen/TODO: Update notes.
4390 * docs/html/17_intro/howto.html: Initial impl-specific listing.
4391
4392 2002-01-31 Benjamin Kosnik <bkoz@redhat.com>
4393
4394 * config/locale/codecvt_specializations_ieee_1003.1-200x.h:
4395 Initialize all data members in copy ctor. Make ctors explicit.
4396 (__enc_traits::__enc_traits()): Default ctor does nothing.
4397 (__enc_traits::_M_init): Guard against multiple iconv_opens.
4398 * include/std/std_sstream.h (basic_stringbuf): Make data members
4399 protected.
4400 * include/std/std_fstream.h (basic_filebuf): Same.
4401 * include/std/std_streambuf.h: Tweak.
4402 * include/bits/streambuf.tcc: Same.
4403 * include/bits/sstream.tcc: Same.
4404 * include/bits/fstream.tcc: Same.
4405
4406 2002-01-31 Loren Rittle <ljrittle@acm.org>
4407
4408 * testsuite/22_locale/codecvt_members_char_char.cc: Do not
4409 allow NULL argument to be passed to setenv().
4410 * testsuite/22_locale/codecvt_members_wchar_t_char.cc: Likewise.
4411 * testsuite/22_locale/collate_members_char.cc: Likewise.
4412 * testsuite/22_locale/collate_members_wchar_t.cc: Likewise.
4413 * testsuite/22_locale/ctype_members_char.cc: Likewise.
4414 * testsuite/22_locale/ctype_members_wchar_t.cc: Likewise.
4415 * testsuite/22_locale/messages_members_char.cc: Likewise.
4416 * testsuite/22_locale/money_get_members_char.cc: Likewise.
4417 * testsuite/22_locale/money_get_members_wchar_t.cc: Likewise.
4418 * testsuite/22_locale/money_put_members_char.cc: Likewise.
4419 * testsuite/22_locale/money_put_members_wchar_t.cc: Likewise.
4420 * testsuite/22_locale/moneypunct_members_char.cc: Likewise.
4421 * testsuite/22_locale/moneypunct_members_wchar_t.cc: Likewise.
4422 * testsuite/22_locale/num_get_members_char.cc: Likewise.
4423 * testsuite/22_locale/num_get_members_wchar_t.cc: Likewise.
4424 * testsuite/22_locale/num_put_members_char.cc: Likewise.
4425 * testsuite/22_locale/num_put_members_wchar_t.cc: Likewise.
4426 * testsuite/22_locale/numpunct_members_char.cc: Likewise.
4427 * testsuite/22_locale/numpunct_members_wchar_t.cc: Likewise.
4428 * testsuite/22_locale/time_get_members_char.cc: Likewise.
4429 * testsuite/22_locale/time_get_members_wchar_t.cc: Likewise.
4430 * testsuite/22_locale/time_put_members_char.cc: Likewise.
4431 * testsuite/22_locale/time_put_members_wchar_t.cc: Likewise.
4432
4433 2002-01-30 Benjamin Kosnik <bkoz@redhat.com>
4434
4435 * config/locale/c_locale_gnu.cc: Same errno fixes as generic.
4436
4437 * ChangeLog-2001: Fix spelling errors...
4438 * docs/html/17_intro/RELEASE-NOTES: Update.
4439 * docs/html/17_intro/TODO: Update.
4440 * README (file): Update.
4441
4442 2002-01-30 Loren Rittle <ljrittle@acm.org>
4443
4444 * config/locale/c_locale_generic.cc: Check errno for ERANGE
4445 instead of non-zero to aid portability.
4446
4447 2002-01-30 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
4448
4449 * docs/html/22_locale/messages.html: Fix example code.
4450
4451 2002-01-30 Richard Henderson <rth@redhat.com>
4452
4453 * testsuite/27_io/ostream_inserter_arith.cc (test03_check): Break
4454 out from test03 and templatize.
4455 (test03): Use it.
4456
4457 2002-01-30 Paolo Carlini <pcarlini@unitus.it>
4458
4459 * config/locale/numpunct_members_gnu.cc
4460 (numpunct<char, wchar_t>::_M_initialize_numpunct()):
4461 Fix initialization of _M_grouping for locales which have
4462 _M_thousands_sep == '\0'(L'\0', respectively).
4463 * testsuite/22_locale/numpunct_byname.cc (test02): Add test.
4464
4465 2002-01-30 Paolo Carlini <pcarlini@unitus.it>
4466
4467 * testsuite/27_io/ostream_inserter_arith.cc (test03):
4468 Better fix for 32/64 bit architectures, avoiding the
4469 implicit assumption that CHAR_BIT == 8.
4470
4471 2002-01-28 Phil Edwards <pme@gcc.gnu.org>
4472
4473 * Makefile.am (doxygen, doxygen-maint, doxygen-man): Tweak targets.
4474 * Makefile.in: Regenerate.
4475
4476 * docs/doxygen/run_doxygen: Update, mostly for man pages.
4477 * docs/doxygen/Intro.3: Update.
4478 * docs/doxygen/TODO: Update.
4479 * docs/doxygen/doxygroups.cc: Add namespace hook for __gnu_cxx.
4480 * docs/doxygen/mainpage.doxy: Update.
4481 * docs/doxygen/user.cfg.in: Update for header rename. Also
4482 regenerate comments and variables with 1.2.12.
4483 * docs/doxygen/maint.cfg.in: Remove file.
4484
4485 * include/bits/stl_relops.h: Doxygenate.
4486 * include/bits/stl_tempbuf.h (std::_Temporary_buffer): Likewise.
4487
4488 * include/c_std/std_cassert.h, include/c_std/std_cctype.h,
4489 include/c_std/std_cerrno.h, include/c_std/std_cfloat.h,
4490 include/c_std/std_ciso646.h, include/c_std/std_climits.h,
4491 include/c_std/std_clocale.h, include/c_std/std_cmath.h,
4492 include/c_std/std_csetjmp.h, include/c_std/std_csignal.h,
4493 include/c_std/std_cstdarg.h, include/c_std/std_cstddef.h,
4494 include/c_std/std_cstdio.h, include/c_std/std_cstdlib.h,
4495 include/c_std/std_cstring.h, include/c_std/std_ctime.h,
4496 include/c_std/std_cwchar.h, include/c_std/std_cwctype.h,
4497 include/ext/algorithm, include/ext/functional, include/ext/hash_map,
4498 include/ext/hash_set, include/ext/iterator, include/ext/memory,
4499 include/ext/numeric, include/ext/rb_tree, include/ext/rope,
4500 include/ext/ropeimpl.h, include/ext/slist, include/ext/stl_hash_fun.h,
4501 include/ext/stl_hashtable.h, include/ext/stl_rope.h,
4502 include/std/std_algorithm.h, include/std/std_bitset.h,
4503 include/std/std_complex.h, include/std/std_deque.h,
4504 include/std/std_fstream.h, include/std/std_functional.h,
4505 include/std/std_iomanip.h, include/std/std_ios.h,
4506 include/std/std_iosfwd.h, include/std/std_iostream.h,
4507 include/std/std_istream.h, include/std/std_iterator.h,
4508 include/std/std_limits.h, include/std/std_list.h,
4509 include/std/std_locale.h, include/std/std_map.h,
4510 include/std/std_memory.h, include/std/std_numeric.h,
4511 include/std/std_ostream.h, include/std/std_queue.h,
4512 include/std/std_set.h, include/std/std_sstream.h,
4513 include/std/std_stack.h, include/std/std_stdexcept.h,
4514 include/std/std_streambuf.h, include/std/std_string.h,
4515 include/std/std_utility.h, include/std/std_valarray.h,
4516 include/std/std_vector.h: Add/correct @file doxygen hook.
4517
4518 * include/ext/memory: Doxygenate most of rest of file.
4519 * libsupc++/exception: Doxygen output formatting.
4520 * libsupc++/new: Say which header it is.
4521
4522 * testsuite/lib/libstdc++-v3-dg.exp: Fix spacing.
4523 * docs/html/19_diagnostics/howto.html: Describe concept-checks switch.
4524 * docs/html/23_containers/howto.html: Describe O(n) list::size().
4525 * docs/html/27_io/howto.html: Also link to Langer and Kreft text.
4526
4527 2002-01-28 Paolo Carlini <pcarlini@unitus.it>
4528 Charles Leggett <CGLeggett@lbl.gov>
4529
4530 * testsuite/27_io/filebuf_members.cc (test_05): Add test.
4531
4532 2002-01-28 Paolo Carlini <pcarlini@unitus.it>
4533
4534 * testsuite/27_io/ostream_inserter_arith.cc (test03):
4535 Fix to deal correctly with both 32 bit and 64 bit architectures
4536
4537 2002-01-25 Loren Rittle <ljrittle@acm.org>
4538
4539 * testsuite/thread/pthread1.cc: Use one condition variable
4540 per predicate instead of tricky use of one condition variable.
4541
4542 2002-01-25 Benjamin Kosnik <bkoz@redhat.com>
4543
4544 * include/bits/fstream.tcc (filebuf::close()): Fix close for input
4545 streams.
4546 (filebuf::_M_really_overflow): Match indeterminate and sync calls.
4547 * testsuite/27_io/filebuf.cc: Compile only.
4548 * testsuite/27_io/filebuf_members.cc: Move tests to here.
4549 * testsuite/27_io/filebuf_virtuals.cc: And here.
4550 Revert sungetc, sync changes for expected values.
4551 * testsuite/27_io/filebuf-*: Move to...
4552 * testsuite/27_io/filebuf_virtuals-*: ...here.
4553 * testsuite/27_io/istream.cc: Compile only, activate.
4554 * testsuite/27_io/ostream.cc: Same.
4555 * testsuite/27_io/iostream.cc: New.
4556 * testsuite/27_io/iostream_members.cc: New.
4557
4558 2002-01-25 David Billinghurst <David.Billinghurst@riotinto.com>
4559
4560 * testsuite/thread/pthread1.cc: Enable on cygwin.
4561 * testsuite/thread/pthread2.cc: Likewise.
4562 * testsuite/thread/pthread3.cc: Likewise.
4563 * testsuite/thread/pthread4.cc: Likewise.
4564 * testsuite/thread/pthread5.cc: Likewise.
4565 * testsuite/thread/pthread6.cc: Likewise.
4566
4567 2002-01-24 Benjamin Kosnik <bkoz@redhat.com>
4568
4569 * testsuite/27_io/ostream_inserter_char.cc (test07): New.
4570
4571 2002-01-24 Benjamin Kosnik <bkoz@redhat.com>
4572
4573 * include/bits/basic_ios.h (basic_ios::_M_check_facet): Make
4574 const, tweak.
4575 (basic_ios::fill(char_type)): Use fill().
4576 * include/bits/basic_ios.tcc (basic_ios::widen): Use _M_check_facet.
4577 (basic_ios::narrow): Same.
4578 (basic_ios::_M_cache_facets): Explicitly set cached facets to zero
4579 if they are invalid.
4580 (basic_ios::init): Comment.
4581 * testsuite/27_io/ios_init.cc (test02): New.
4582
4583 2002-01-24 Phil Edwards <pme@gcc.gnu.org>
4584
4585 * include/bits/stl_tempbuf.h (_Temporary_buffer): Add doxygen hook.
4586 * include/bits/stl_algo.h: Include stl_tempbuf.h.
4587 * include/ext/memory: Do not include stl_tempbuf.h.
4588 (temporary_buffer): Add doxygen hook.
4589 (__get_temporary_buffer, get_temporary_buffer,
4590 return_temporary_buffer): Move back to std:: header...
4591 * include/std/std_memory.h: ...here. Do not include stl_tempbuf.h.
4592 * include/ext/rope: Do not include stl_tempbuf.h.
4593 * include/ext/stl_hashtable.h: Likewise.
4594 * include/std/std_algorithm.h: Likewise.
4595 * testsuite/20_util/temporary_buffer.cc: New file.
4596
4597 2002-01-24 andrew@andypo.net
4598 (tweaks, test and commit by Loren J. Rittle <ljrittle@acm.org>)
4599
4600 libstdc++/5432
4601 * include/bits/ios_base.h: Use _Atomic_word for reference counts.
4602 * include/bits/localefwd.h: Likewise.
4603 Also use for std::locale::id::_S_highwater.
4604 * src/ios.cc (ios_base::xalloc): Use _Atomic_word.
4605 * src/locale.cc: Support new usage of _Atomic_word.
4606 (std::locale::classic): Guard entire function against reentry.
4607 * src/localename.cc: Support new usage of _Atomic_word.
4608
4609 2002-01-24 Benjamin Kosnik <bkoz@redhat.com>
4610
4611 * testsuite/22_locale/num_put_members_wchar_t.cc (test03): Use
4612 _GLIBCPP_HAVE_SETENV.
4613 * testsuite/22_locale/codecvt_members_wchar_t_char.cc (test02): Same.
4614 * testsuite/22_locale/collate_members_char.cc (test02): Same.
4615 * testsuite/22_locale/ctype_members_char.cc (test03): Same.
4616 * testsuite/22_locale/ctype_members_wchar_t.cc (test03): Same.
4617 * testsuite/22_locale/messages_members_char.cc (test02): Same.
4618 * testsuite/22_locale/moneypunct_members_char.cc (test02): Same.
4619 * testsuite/22_locale/moneypunct_members_wchar_t.cc (test02): Same.
4620 * testsuite/22_locale/money_put_members_char.cc (test04): Same.
4621 * testsuite/22_locale/money_put_members_wchar_t.cc (test04): Same.
4622 * testsuite/22_locale/num_get_members_char.cc (test03): Same.
4623 * testsuite/22_locale/num_get_members_wchar_t.cc (test03): Same.
4624 * testsuite/22_locale/numpunct_members_char.cc (test02): Same.
4625 * testsuite/22_locale/numpunct_members_wchar_t.cc (test02): Same.
4626 * testsuite/22_locale/time_get_members_char.cc (test07): Same.
4627 * testsuite/22_locale/time_get_members_wchar_t.cc (test07): Same.
4628 * testsuite/22_locale/time_put_members_char.cc (test03): Same.
4629 * testsuite/22_locale/time_put_members_wchar_t.cc (test03): Same.
4630 * testsuite/22_locale/num_put_members_char.cc (test03): Same.
4631 * acinclude.m4 (GLIBCPP_CONFIGURE_TESTSUITE): Check for setenv.
4632 * aclocal.m4: Regenerate.
4633 * configure: Regenerate.
4634 * config.h.in: Regenerate.
4635
4636 2002-01-23 Loren Rittle <ljrittle@acm.org>
4637
4638 * testsuite/thread/pthread1.cc: New test.
4639 * testsuite/thread/pthread2.cc: New test adapted from libstdc++/5347.
4640 * testsuite/thread/pthread3.cc: Likewise.
4641 * testsuite/thread/pthread4.cc: New test adapted from
4642 http://gcc.gnu.org/ml/gcc-bugs/2002-01/msg00679.html
4643 * testsuite/thread/pthread5.cc: New test adapted from libstdc++/5464.
4644 * testsuite/thread/pthread6.cc: New test adapted from libstdc++/5444.
4645
4646 2002-01-23 Richard Henderson <rth@redhat.com>
4647
4648 PR libstdc++/5198
4649 * config/cpu/m68k/bits/atomicity.h (__exchange_and_add): Only use
4650 CAS on the cpu variants that support it. Add versions that use
4651 TAS and that disable interrupts.
4652 (__atomic_add): Use __exchange_and_add to guarantee atomicity.
4653
4654 2002-01-23 Matt Kraai <kraai@alumni.cmu.edu>
4655
4656 * include/bits/locale_facets.tcc: Remove old comments.
4657
4658 2002-01-23 Andreas Tobler <toa@pop.agri.ch>
4659
4660 * include/bits/locale_facets.tcc (__convert_to_v): Change template
4661 parameter to _Tv.
4662 (__convert_from_v): Same.
4663
4664 2002-01-23 Benjamin Kosnik <bkoz@redhat.com>
4665
4666 * include/bits/locale_facets.h (num_get::_M_extract_int): Change
4667 prototype.
4668 * include/bits/locale_facets.tcc (num_get::_M_extract_int): Remove
4669 __max_digits checks, adjust arguments.
4670 (num_get::do_get(*)): Changeup.
4671
4672 2002-01-23 Loren Rittle <ljrittle@acm.org>
4673
4674 * config/locale/c_locale_generic.cc: Fix typename usage.
4675
4676 2002-01-22 Benjamin Kosnik <bkoz@redhat.com>
4677
4678 * config/locale/c_locale_generic.cc: Fix.
4679
4680 2002-01-22 Benjamin Kosnik <bkoz@redhat.com>
4681
4682 * docs/html/22_locale/messages.html: Remove angle brackets.
4683 * docs/html/17_intro/TODO: Add.
4684
4685 2002-01-22 Paolo Carlini <pcarlini@unitus.it>
4686
4687 * testsuite/27_io/ios_manip_basefield.cc: Enable test02.
4688 * testsuite/27_io/ostream_inserter_arith.cc: Enable test03.
4689 * testsuite/27_io/ostream_inserter_char.cc: Enable test01.
4690 * testsuite/27_io/ostream_inserter_other.cc: Enable test04.
4691
4692 2002-01-22 Benjamin Kosnik <bkoz@redhat.com>
4693
4694 Audit for LANG independence.
4695 * include/bits/localefwd.h: Tweaks.
4696 * include/bits/locale_facets.tcc (money_get::do_get(long double)):
4697 Use __convert_to_v.
4698 (time_get::do_get_year): Same.
4699 (__convert_from_v): Add.
4700 (num_put::_M_convert_float): Use.
4701 (num_put::_M_convert_int): Same.
4702 (money_put::do_put): Same.
4703
4704 * src/locale-inst.cc: Add instantiations for __convert_from_v.
4705 * config/locale/time_members_gnu.cc: Cleanup setlocale usage.
4706 * config/locale/time_members_generic.cc:
4707 * config/locale/messages_members_gnu.cc: Same.
4708 * config/locale/messages_members_gnu.h: Same.
4709
4710 * testsuite/22_locale/codecvt_members_wchar_t_char.cc (test02): New.
4711 * testsuite/22_locale/codecvt_members_char_char.cc (test02): New.
4712 * testsuite/22_locale/collate_members_wchar_t.cc (test02): New.
4713 * testsuite/22_locale/collate_members_char.cc (test02): New.
4714 * testsuite/22_locale/ctype_members_wchar_t.cc (test03): New.
4715 * testsuite/22_locale/ctype_members_char.cc (test03): New.
4716 * testsuite/22_locale/messages_members_char.cc (test02): New.
4717 * testsuite/22_locale/moneypunct_members_wchar_t.cc (test02): New.
4718 * testsuite/22_locale/moneypunct_members_char.cc (test02): New.
4719 * testsuite/22_locale/money_get_members_wchar_t.cc (test04): New.
4720 * testsuite/22_locale/money_get_members_char.cc (test04): New.
4721 * testsuite/22_locale/money_put_members_wchar_t.cc (test04): New.
4722 * testsuite/22_locale/money_put_members_char.cc (test04): New.
4723 * testsuite/22_locale/numpunct_members_wchar_t.cc (test02): New.
4724 * testsuite/22_locale/numpunct_members_char.cc (test02): New.
4725 * testsuite/22_locale/time_put_members_wchar_t.cc (test03): New.
4726 * testsuite/22_locale/time_put_members_char.cc (test03): New.
4727 * testsuite/22_locale/time_get_members_wchar_t.cc (test07): New.
4728 * testsuite/22_locale/time_get_members_char.cc (test07): New.
4729 * testsuite/22_locale/num_get_members_wchar_t.cc (test03): New.
4730 * testsuite/22_locale/num_get_members_char.cc (test03): New.
4731 * testsuite/22_locale/num_put_members_wchar_t.cc (test03): New.
4732 * testsuite/22_locale/num_put_members_char.cc (test03): New.
4733
4734 * testsuite/22_locale/time_get_members_char.cc: Fixups for global
4735 locale issues.
4736 * testsuite/22_locale/time_get_members_char.cc: Same.
4737
4738 2002-01-22 Benjamin Kosnik <bkoz@redhat.com>
4739
4740 libstdc++/5280
4741 * include/bits/localefwd.h: Tweak comments.
4742 * include/bits/locale_facets.h (__convert_to_v): Add.
4743 * include/bits/locale_facets.tcc (num_get::do_get(double)): Use it.
4744 (num_get::do_get(float)): Same.
4745 (num_get::do_get(long double)): Same.
4746 (num_get::do_get(bool)): Same.
4747 (num_get::do_get(long)): Same.
4748 (num_get::do_get(long long)): Same.
4749 (num_get::do_get(unsigned int)): Same.
4750 (num_get::do_get(unsigned short)): Same.
4751 (num_get::do_get(unsigned long)): Same.
4752 (num_get::do_get(unsigned long long)): Same.
4753 * config/locale/c_locale_gnu.cc (__convert_to_v): Specialize.
4754 * config/locale/c_locale_generic.cc: Same.
4755
4756 2002-01-22 Loren Rittle <ljrittle@acm.org>
4757
4758 * include/Makefile.am (c_base_builddir): Remove redundant slash.
4759 (std_builddir): Likewise.
4760 (std_headers_rename): Fix cut-n-paste typo.
4761 (install-data-local): Concat path per element instead of once to
4762 first element of list.
4763 * include/Makefile.in: Rebuilt.
4764
4765 2002-01-22 Benjamin Kosnik <bkoz@redhat.com>
4766
4767 * config/os/aix/bits/ctype_noninline.h: Fix formatting.
4768 * config/os/bsd/netbsd/bits/ctype_noninline.h: Fix typo.
4769 * config/os/bsd/freebsd/bits/ctype_noninline.h: Fix formatting.
4770
4771 2002-01-20 Benjamin Kosnik <bkoz@redhat.com>
4772
4773 * include/bits/locale_facets.h (ctype<char>::classic_table):
4774 Remove definition.
4775 (ctype<char>::_S_ctable): Remove.
4776 * config/os/gnu-linux/bits/ctype_noninline.h
4777 (ctype<char>::_S_table): Remove definition.
4778 (ctype<char>::classic_table): Define.
4779 (ctype<char>::ctype): Replace _S_ctable with classic_table().
4780 * config/os/aix/bits/ctype_noninline.h: Same.
4781 * config/os/bsd/freebsd/bits/ctype_noninline.h: Same.
4782 * config/os/bsd/netbsd/bits/ctype_noninline.h: Same.
4783 * config/os/djgpp/bits/ctype_noninline.h: Same.
4784 * config/os/generic/bits/ctype_noninline.h: Same.
4785 * config/os/gnu-linux/bits/ctype_noninline.h: Same.
4786 * config/os/hpux/bits/ctype_noninline.h: Same.
4787 * config/os/irix/irix5.2/bits/ctype_noninline.h: Same.
4788 * config/os/irix/irix6.5/bits/ctype_noninline.h: Same.
4789 * config/os/mingw32/bits/ctype_noninline.h: Same.
4790 * config/os/newlib/bits/ctype_noninline.h: Same.
4791 * config/os/solaris/solaris2.5/bits/ctype_noninline.h: Same.
4792 * config/os/solaris/solaris2.6/bits/ctype_noninline.h: Same.
4793 * config/os/solaris/solaris2.7/bits/ctype_noninline.h: Same.
4794
4795 2002-01-20 Danny Smith <dannysmith@users.sourceforge.net>
4796
4797 * config/os/mingw32/bits/ctype_noninline.h: Declare _ctype instead
4798 of _pctype. Use to define _S_ctable. Add definition for alternate
4799 ctor. Initialise _M_ctable to _S_ctable in ctors.
4800 (do_toupper, do_tolower): Use inline code appropriate for C-locale
4801 rather than ::toupper, ::tolower.
4802
4803 2002-01-18 Loren Rittle <ljrittle@acm.org>
4804
4805 * testsuite/18_support/numeric_limits.cc (test_extrema<long double>):
4806 Add specialization for FreeBSD systems only to avoid losing test
4807 only due to extra precision unmentioned in system headers.
4808
4809 2002-01-18 David Billinghurst <David.Billinghurst@riotinto.com>
4810
4811 * config/os/irix/irix6.5/bits/ctype_noninline.h: Fix typo
4812
4813 2002-01-17 Nick Clifton <nickc@cambridge.redhat.com>
4814
4815 * testsuite/testsuite_hooks.h: Fix comment typo. Memory
4816 limiting is only attempted if _GLIBCPP_MEM_LIMIT is defined.
4817
4818 2002-01-17 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
4819
4820 * testsuite/22_locale/ctor_copy_dtor.cc: Remove check.
4821
4822 2002-01-17 David Edelsohn <edelsohn@gnu.org>
4823
4824 * configure.target: Define OPT_LDFLAGS for AIX case.
4825
4826 2002-01-17 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
4827
4828 * include/std/std_limits.h (__glibcpp_float_has_quiet_NaN,
4829 __glibcpp_double_has_quiet_NaN): Correct mispelling.
4830
4831 2002-01-17 Andreas Tobler <toa@pop.agri.ch>
4832
4833 * config/os/solaris/solaris2.6/bits/ctype_noninline.h: Fix.
4834
4835 2002-01-16 David Edelsohn <dje@watson.ibm.com>
4836
4837 * acinclude.m4 (GLIBCPP_CHECK_LINKER_FEATURES): Do not clear
4838 SECTION_LDFLAGS and OPT_LDFLAGS. Fix ac_sectionLDflags type.
4839 * aclocal.m4: Regenerate.
4840 * configure: Regenerate.
4841
4842 2002-01-16 Benjamin Kosnik <bkoz@redhat.com>
4843
4844 * include/Makefile.am (c_base_headers_rename): New.
4845 (c_base_headers_extra): New.
4846 (stamp-c_base): Modify.
4847 (install-data-local): Use both.
4848 * include/Makefile.in: Regenerate.
4849 * include/c/[cctype ciso646 cmath cstdarg cstdlib cerrno climits
4850 csetjmp cstddef cstring cwchar cassert cfloat clocale csignal
4851 cstdio ctime cwctype]: Move to..
4852 * include/c/std_*: Here.
4853 * include/c_std/[cctype ciso646 cmath cstdarg cstdlib cerrno climits
4854 csetjmp cstddef cstring cwchar cassert cfloat clocale csignal
4855 cstdio ctime cwctype]: Move to..
4856 * include/c_std/std_*: Here.
4857
4858 Alexandre Oliva <aoliva@redhat.com>
4859 * include/Makefile.am (.PRECIOUS): Add rule.
4860 * include/Makefile.in: Regenerate.
4861
4862 2002-01-16 Benjamin Kosnik <bkoz@redhat.com>
4863 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
4864
4865 * include/bits/stl_iterator.h (reverse_iterator::_M_current):
4866 Deuglify, should be current.
4867 (back_insert_iterator::_M_container): Deuglify, should be container.
4868 (front_insert_iterator::_M_container): Same.
4869 (insert_iterator::_M_container): Same.
4870 * testsuite/24_iterators/reverse_iterator.cc: Add check.
4871 * testsuite/24_iterators/back_insert_iterator.cc: Add check.
4872 * testsuite/24_iterators/front_insert_iterator.cc: Same.
4873 * testsuite/24_iterators/insert_iterator.cc: Same.
4874
4875 2002-01-16 Benjamin Kosnik <bkoz@redhat.com>
4876
4877 * include/bits/locale_facets.h (ctype<char>::classic_table): Make
4878 static.
4879 (ctype<char>::_M_ctable): Make static, change name to _S_ctable.
4880 * config/os/gnu-linux/bits/ctype_noninline.h: Define _S_ctable.
4881 * config/os/solaris/solaris2.7/bits/ctype_noninline.h: Same.
4882 * config/os/solaris/solaris2.6/bits/ctype_noninline.h: Same.
4883 * config/os/solaris/solaris2.5/bits/ctype_noninline.h: Same.
4884 * config/os/newlib/bits/ctype_noninline.h: Same.
4885 * config/os/irix/irix6.5/bits/ctype_noninline.h: Same.
4886 * config/os/irix/irix5.2/bits/ctype_noninline.h: Same.
4887 * config/os/hpux/bits/ctype_noninline.h: Same.
4888 * config/os/djgpp/bits/ctype_noninline.h: Same.
4889 * config/os/bsd/netbsd/bits/ctype_noninline.h: Same.
4890 * config/os/bsd/freebsd/bits/ctype_noninline.h: Same.
4891 * config/os/aix/bits/ctype_noninline.h: Same.
4892
4893 Testcase by Dietmar Kühl via Peter Schmid
4894 * testsuite/22_locale/ctype_members_char.cc (char>): Add test for
4895 classic_table().
4896
4897 2002-01-16 Benjamin Kosnik <bkoz@redhat.com>
4898
4899 * libmath/signbitl.c: Copyright years as list, not range.
4900 * libmath/Makefile.am: Same.
4901 * libmath/Makefie.in: Regenerate.
4902 * libmath/signbit.c: Same.
4903 * libmath/nan.c: Same.
4904 * libmath/copysignf.c: Same.
4905 * libmath/signbitf.c: Same.
4906 * testsuite/22_locale/money_get_members_char.cc: Same.
4907 * testsuite/22_locale/money_get_members_wchar_t.cc: Same.
4908 * testsuite/22_locale/money_put_members_char.cc: Same.
4909 * testsuite/22_locale/money_put_members_wchar_t.cc: Same.
4910 * testsuite/22_locale/time_get_members_char.cc: Same.
4911 * testsuite/22_locale/time_get_members_wchar_t.cc: Same.
4912 * testsuite/22_locale/time_put_members_char.cc: Same.
4913 * testsuite/22_locale/time_put_members_wchar_t.cc: Same.
4914 * testsuite/21_strings/nonmember.cc: Same.
4915 * testsuite/21_strings/compare.cc: Same.
4916 * testsuite/27_io/stringstream.cc: Same.
4917 * testsuite/27_io/stringbuf.cc: Same.
4918 * testsuite/27_io/filebuf.cc: Same.
4919 * testsuite/27_io/ios_manip_basefield.cc: Same.
4920 * testsuite/27_io/ios_manip_fmtflags.cc: Same.
4921 * include/bits/cpp_type_traits.h: Same.
4922 * include/bits/generic_shadow.h: Same.
4923 * include/bits/gslice_array.h: Same.
4924 * include/bits/gslice.h: Same.
4925 * include/bits/indirect_array.h: Same.
4926 * include/bits/slice_array.h: Same.
4927 * include/bits/sstream.tcc: Same.
4928 * include/bits/streambuf_iterator.h: Same.
4929 * include/bits/valarray_array.tcc: Same.
4930 * include/bits/valarray_meta.h: Same.
4931 * include/bits/valarray_array.h: Same.
4932 * config/os/mingw32/bits/ctype_noninline.h: Same.
4933 * config/os/mingw32/bits/ctype_base.h: Same.
4934 * config/os/hpux/bits/ctype_noninline.h: Same.
4935 * config/os/hpux/bits/ctype_base.h: Same.
4936 * config/os/gnu-linux/bits/ctype_noninline.h: Same.
4937 * config/os/gnu-linux/bits/ctype_base.h: Same.
4938 * config/os/generic/bits/ctype_noninline.h: Same.
4939 * config/os/generic/bits/ctype_base.h: Same.
4940
4941 * libsupc++/tinfo.h: Tweaks.
4942
4943 2002-01-15 Benjamin Kosnik <bkoz@redhat.com>
4944
4945 * testsuite/22_locale/num_put_members_wchar_t.cc (test02): Same.
4946 * testsuite/22_locale/num_put_members_char.cc (test01): Tweak.
4947 * testsuite/22_locale/ctype_members_char.cc: Tweak.
4948
4949 2002-01-15 Benjamin Kosnik <bkoz@redhat.com>
4950
4951 * include/bits/locale_facets.tcc (num_put::do_put(bool): Fix.
4952 (num_put::do_put(void*)): Fix.
4953 * testsuite/22_locale/num_put_members_char.cc (test02): Add.
4954 * testsuite/22_locale/num_put_members_wchar_t.cc (test02): Add.
4955 * testsuite/22_locale/num_get_members_char.cc (test02): Add
4956 long double, void, bool types.
4957 * testsuite/22_locale/num_get_members_wchar_t.cc (test02): Add.
4958
4959 2002-01-15 Benjamin Kosnik <bkoz@redhat.com>
4960 Alexandre Oliva <aoliva@redhat.com>
4961
4962 * libmath/Makefile.am (LINK): Add --tag CC.
4963 * libmath/Makefile.in: Regenerate.
4964
4965 2002-01-15 John David Anglin <dave@hiauly1.hia.nrc.ca>
4966
4967 * config/os/hpux/bits/ctype_noninline.h: Use __SB_masks for address
4968 of character to attribute mapping table.
4969
4970 2002-01-15 David Billinghurst <David.Billinghurst@riotinto.com>
4971
4972 * testsuite/26_numerics/c99_classification_macros_c.cc
4973 Remove dg-error and dg-excess-errors comments.
4974
4975 2002-01-14 Benjamin Kosnik <bkoz@redhat.com>
4976
4977 * include/bits/locale_facets.tcc (time_put::put): Correct output
4978 iterator positions.
4979 * testsuite/22_locale/time_put_members_char.cc (test02): Add.
4980 * testsuite/22_locale/time_put_members_wchar_t.cc (test02): Add.
4981 * testsuite/22_locale/time_get_members_wchar_t.cc (test06): Add.
4982 * testsuite/22_locale/time_get_members_char.cc (test06): Add.
4983
4984 2002-01-14 Craig Rodrigues <rodrigc@gcc.gnu.org>
4985
4986 * docs/html/17_intro/porting-howto.xml: Update filebuf section.
4987
4988 2002-01-14 Paolo Carlini <pcarlini@unitus.it>
4989 Nathan Myers <ncm@cantrip.org>
4990
4991 * include/bits/basic_string.h
4992 (replace(__pos, __n1, __s, __n2)): Optimize by avoiding
4993 temporaries (i.e., call _M_replace_safe) when possible.
4994 (replace(__pos, __n, __str)): Call replace(__pos, __n1, __s, __n2).
4995 (replace(__pos, __n1, __s)): Call replace(__pos, __n1, __s , __n2).
4996 (replace(__i1, __i2, __str)): Call replace(__i1, __i2, __s, __n).
4997 (replace(__i1, __i2, __s)): Call replace(__i1, __i2, __s, __n).
4998 (replace(__i1, __i2, __s, __n)): Call replace(__pos1, __n1, __s, __n2).
4999 * include/bits/basic_string.tcc
5000 (replace(__pos1, __n1, __str, __pos2, __n2)): Call
5001 replace(__pos, __n1, __s, __n2).
5002 * testsuite/21_strings/replace.cc (test03): New testcases.
5003
5004 * include/bits/basic_string.h (insert(__pos, __s, __n)):
5005 Adjust comparison wrt overflow.
5006
5007 2002-01-12 Benjamin Kosnik <bkoz@redhat.com>
5008
5009 * include/Makefile.am (std_headers_rename): New variable.
5010 (install-data-local): Use it.
5011 * include/Makefile.in: Regenerate.
5012
5013 2002-01-12 Benjamin Kosnik <bkoz@redhat.com>
5014
5015 * include/bits/locale_facets.tcc (money_put::do_put(string):
5016 Correct output iterator value.
5017 * testsuite/22_locale/money_put_members_char.cc (test03): Add.
5018 * testsuite/22_locale/money_put_members_wchar_t.cc: Same.
5019
5020 2002-01-11 Phil Edwards <pme@gcc.gnu.org>
5021
5022 * include/Makefile.am, include/Makefile.in (stamp-std): Fix typo from
5023 previous commit.
5024
5025 2002-01-11 Phil Edwards <pme@gcc.gnu.org>
5026
5027 * include/Makefile.am (std_headers): Update list with new names.
5028 (stamp-std): Link to standardized name.
5029 * include/Makefile.in: Regenerate.
5030
5031 * include/std/algorithm, include/std/bitset, include/std/complex,
5032 include/std/deque, include/std/fstream, include/std/functional,
5033 include/std/iomanip, include/std/ios, include/std/iosfwd,
5034 include/std/iostream, include/std/istream, include/std/iterator,
5035 include/std/limits, include/std/list, include/std/locale,
5036 include/std/map, include/std/memory, include/std/numeric,
5037 include/std/ostream, include/std/queue, include/std/set,
5038 include/std/sstream, include/std/stack, include/std/stdexcept,
5039 include/std/streambuf, include/std/string, include/std/utility,
5040 include/std/valarray, include/std/vector: Rename to...
5041
5042 * include/std/std_algorithm.h, include/std/std_bitset.h,
5043 include/std/std_complex.h, include/std/std_deque.h,
5044 include/std/std_fstream.h, include/std/std_functional.h,
5045 include/std/std_iomanip.h, include/std/std_ios.h,
5046 include/std/std_iosfwd.h, include/std/std_iostream.h,
5047 include/std/std_istream.h, include/std/std_iterator.h,
5048 include/std/std_limits.h, include/std/std_list.h,
5049 include/std/std_locale.h, include/std/std_map.h,
5050 include/std/std_memory.h, include/std/std_numeric.h,
5051 include/std/std_ostream.h, include/std/std_queue.h,
5052 include/std/std_set.h, include/std/std_sstream.h,
5053 include/std/std_stack.h, include/std/std_stdexcept.h,
5054 include/std/std_streambuf.h, include/std/std_string.h,
5055 include/std/std_utility.h, include/std/std_valarray.h,
5056 include/std/std_vector.h: ...this.
5057
5058 2002-01-11 Loren Rittle <ljrittle@acm.org>
5059
5060 * include/Makefile.am (extra_target_headers): New list of all
5061 target files built with ad hoc naming rules.
5062 (stamp-*): Handle LN_S failure in manner portable across make
5063 implementations.
5064 (install-data-local): Install header files from human-maintained
5065 file lists and directory components instead of non-robust find.
5066 * include/Makefile.in: Rebuilt.
5067
5068 2002-01-11 Benjamin Kosnik <bkoz@redhat.com>
5069
5070 * include/bits/locale_facets.tcc (money_get::do_get(string)):
5071 Check for zero-length negative sign before adding it to output
5072 string.
5073 (money_get::do_get(long double)): Return beg.
5074 * testsuite/22_locale/money_get_members_char.cc (test02): Add
5075 iterator checks.
5076 * testsuite/22_locale/money_get_members_wchar_t.cc: Same.
5077
5078 2002-01-10 David Seymour <seymour_dj@yahoo.com>
5079
5080 libstdc++/5331
5081 * include/bits/locale_facets.h (num_get<>): Return advanced iterator
5082 for _M_extract_float and _M_extract_int
5083 * include/bits/locale_facets.tcc (num_get<>::_M_extract_float)
5084 (num_get<>::_M_extract_int): Likewise, all callers changed
5085 * testsuite/22_locale/num_get_members_char.cc: Testcase
5086
5087 2002-01-09 Paolo Carlini <pcarlini@unitus.it>
5088
5089 * libsupc++/exception (bad_exception): Add comment.
5090 * libsupc++/new (bad_alloc): Same.
5091 * libsupc++/typeinfo (bad_cast, bad_typeid): Same.
5092
5093 2002-01-09 Paolo Carlini <pcarlini@unitus.it>
5094
5095 libstdc++/3150: revert 2001-11-30 commit. DR266 only means
5096 that the destructors should be removed from the descriptions
5097 in the standard: writing them explicitly allows the vtable
5098 heuristic to work. For additional information see:
5099 http://gcc.gnu.org/ml/libstdc++/2002-01/msg00090.html
5100 http://gcc.gnu.org/ml/libstdc++/2002-01/msg00110.html
5101 http://gcc.gnu.org/ml/libstdc++/2002-01/msg00155.html
5102 * libsupc++/exception (bad_exception::~bad_exception()):
5103 Reintroduce declaration.
5104 * libsupc++/new (bad_alloc::~bad_alloc()): Same.
5105 * libsupc++/typeinfo (bad_cast::~bad_cast()): Same.
5106 (bad_typeid::~bad_typeid()): Same.
5107 * libsupc++/eh_exception.cc (bad_exception::~bad_exception()):
5108 Reintroduce definition.
5109 * libsupc++/new_handler.cc (bad_alloc::~bad_alloc()): Same.
5110 * libsupc++/tinfo.cc (bad_cast::~bad_cast()): Same.
5111 (bad_typeid::~bad_typeid()): Same.
5112
5113 2002-01-09 Benjamin Kosnik <bkoz@redhat.com>
5114
5115 * include/Makefile.am (c_base_srcdir): Remove duplicate '/'.
5116 * include/Makefile.in: Regenerate.
5117
5118 2002-01-09 Bo Thorsen <bo@suse.co.uk>
5119
5120 * config/cpu/x86-64/bits/cpu_limits.h (__glibcpp_long_bits): Add
5121 definition.
5122
5123 2002-01-08 Benjamin Kosnik <bkoz@redhat.com>
5124
5125 libstdc++/2913
5126 libstdc++/4879
5127 * include/bits/fstream.tcc (filebuf::_M_really_overflow): Test
5128 return value of _M_file->sync().
5129 (filebuf::showmanyc): Check for is_open.
5130 * include/std/fstream (filebuf::sync): Tweak.
5131 * testsuite/27_io/filebuf.cc: Tweak.
5132
5133 2002-01-08 John Fardo <jfardo@laurelnetworks.com>
5134 Brad Garcia <garsh@attbi.com>
5135
5136 * testsuite/27_io/filebuf_members.cc: Add test.
5137
5138 2002-01-07 Benjamin Kosnik <bkoz@redhat.com>
5139 Craig Rodrigues <rodrigc@mediaone.net>
5140
5141 libstdc++/5174
5142 * po/Makefile.am (mkinstalldirs): Add.
5143 * po/Makefile.in: Regenerate.
5144
5145 2002-01-07 David Billinghurst <David.Billinghurst@riotinto.com>
5146
5147 * testsuite_flags.in: Add -fmessage-length=0 to CXXFLAGS *
5148 testsuite/lib/prune.exp: Delete lines ":In function ..." from
5149 compiler output.
5150 * testsuite/23_containers/map_operators.cc: Remove
5151 dg-excess-errors comment.
5152 * testsuite/23_containers/set_operators.cc: Likewise.
5153
5154 2002-01-06 Paolo Carlini <pcarlini@unitus.it>
5155
5156 * include/bits/stl_function.h: Remove two lines of comments;
5157 adjust copyright years.
5158
5159 2002-01-04 Benjamin Kosnik <bkoz@redhat.com>
5160
5161 * include/Makefile.am (std_headers): Remove cXXX from list.
5162 (c_base_srcdir): No bits subdirectory.
5163 (c_base_builddir): Same.
5164 (c_base_headers): Adjust names, add ciso646.
5165 (bits_headers): Remove std_xxx.h headers.
5166 * include/Makefile.in: Regenerate.
5167
5168 * include/ext/iterator: Adjust includes.
5169 * include/ext/ropeimpl.h: Same.
5170 * include/ext/stl_hash_fun.h: Same.
5171 * include/ext/algorithm: Same.
5172
5173 * include/backward/bvector.h: Adjust includes.
5174 * include/backward/vector.h: Same.
5175 * include/backward/strstream: Same.
5176 * include/backward/streambuf.h: Same.
5177 * include/backward/stack.h: Same.
5178 * include/backward/set.h: Same.
5179 * include/backward/queue.h: Same.
5180 * include/backward/multiset.h: Same.
5181 * include/backward/multimap.h: Same.
5182 * include/backward/map.h: Same.
5183 * include/backward/list.h: Same.
5184 * include/backward/iterator.h: Same.
5185 * include/backward/iostream.h: Same.
5186 * include/backward/iomanip.h: Same.
5187 * include/backward/fstream.h: Same.
5188 * include/backward/deque.h: Same.
5189 * include/backward/complex.h: Same.
5190
5191 * include/bits/std_algorithm.h: Move to...
5192 * include/std/algorithm: ...here.
5193 * include/bits/std_iosfwd.h, std_locale.h, std_stack.h,
5194 std_bitset.h, std_ios.h, std_map.h, std_stdexcept.h,
5195 std_complex.h, std_iostream.h, std_memory.h, std_streambuf.h,
5196 std_deque.h, std_istream.h, std_numeric.h, std_string.h,
5197 std_fstream.h, std_ostream.h, std_utility.h, std_iterator.h,
5198 std_queue.h, std_valarray.h, std_functional.h, std_limits.h,
5199 std_set.h, std_vector.h, std_iomanip.h, std_list.h, std_sstream.h:
5200 Same.
5201
5202 * include/c_std/bits/std_cassert.h: Move to...
5203 * include/c_std/cassert: Here.
5204 * include/c_std/std_cctype.h, std_cerrno.h, std_cfloat.h,
5205 std_climits.h, std_clocale.h, std_cmath.h, std_csetjmp.h,
5206 std_csignal.h, std_cstdarg.h, std_cstddef.h, std_cstdio.h,
5207 std_cstdlib.h, std_cstring.h, std_ctime.h, std_cwchar.h,
5208 std_cwctype.h: Same.
5209 * include/c_std/cmath: Adjust cmath.tcc include.
5210 * include/c_std/cstdlib: Adjust includes.
5211 * include/c_std/cwchar: Same.
5212 * include/c_std/ctime: Same.
5213 * include/c_std/cstring: Same.
5214 * include/c_std/cstdio: Same.
5215 * include/c_std/bits: Remove directory.
5216
5217 * include/c/bits/std_cassert.h: Move to...
5218 * include/c/cassert: Here.
5219 * include/c/std_cctype.h, std_cerrno.h, std_cfloat.h,
5220 std_climits.h, std_clocale.h, std_cmath.h, std_csetjmp.h,
5221 std_csignal.h, std_cstdarg.h, std_cstddef.h, std_cstdio.h,
5222 std_cstdlib.h, std_cstring.h, std_ctime.h, std_cwchar.h,
5223 std_cwctype.h: Same.
5224 * include/c/bits: Remove directory.
5225
5226 * include/std/cwctype: Remove.
5227 * include/std/cwchar: Remove.
5228 * include/std/ctime: Remove.
5229 * include/std/cstring: Remove.
5230 * include/std/cstdlib: Remove.
5231 * include/std/cstdio: Remove.
5232 * include/std/cstddef: Remove.
5233 * include/std/cstdarg: Remove.
5234 * include/std/csignal: Remove.
5235 * include/std/csetjmp: Remove.
5236 * include/std/cmath: Remove.
5237 * include/std/clocale: Remove.
5238 * include/std/climits: Remove.
5239 * include/std/ciso646: Remove.
5240 * include/std/cfloat: Remove.
5241 * include/std/cerrno: Remove.
5242 * include/std/cctype: Remove.
5243 * include/std/cassert: Remove.
5244
5245 * include/bits/fpos.h: Adjust includes, removing <bits/std_xxx.h>
5246 files and subsituting <xxx>.
5247 * include/bits/valarray_array.h: Same.
5248 * include/bits/stl_uninitialized.h: Same.
5249 * include/bits/stl_alloc.h: Same.
5250 * include/bits/stl_algobase.h: Same.
5251 * include/bits/sstream.tcc: Same.
5252 * include/bits/pthread_allocimpl.h: Same.
5253 * include/bits/ostream.tcc: Same.
5254 * include/bits/localefwd.h: Same.
5255 * include/bits/locale_facets.tcc: Same.
5256 * include/bits/locale_facets.h: Same.
5257 * include/bits/istream.tcc: Same.
5258 * include/bits/char_traits.h: Same.
5259 * include/bits/boost_concept_check.h: Same.
5260 * include/bits/basic_file.h: Same.
5261 * include/std/bitset: Same.
5262 * include/std/complex: Same.
5263 * include/std/fstream: Same.
5264 * include/std/functional: Same.
5265 * include/std/ios: Same.
5266 * include/std/iostream: Same.
5267 * include/std/ostream: Same.
5268 * include/std/sstream: Same.
5269 * include/std/streambuf: Same.
5270 * include/std/string: Same.
5271 * include/std/iterator: Same.
5272 * include/std/valarray: Same.
5273
5274 * src/ios.cc: Adjust includes.
5275 * src/valarray-inst.cc: Same.
5276 * src/string-inst.cc: Same.
5277 * src/stl-inst.cc: Same.
5278 * src/stdexcept.cc: Same.
5279 * src/misc-inst.cc: Same.
5280 * src/localename.cc: Same.
5281 * src/locale-inst.cc: Same.
5282 * src/locale.cc: Same.
5283 * src/limits.cc: Same.
5284 * src/concept-inst.cc: Same.
5285 * src/complex_io.cc: Same.
5286 * src/codecvt.cc: Same.
5287 * src/bitset.cc: Same.
5288 * src/cmath.cc: Same.
5289
5290 2002-01-04 Paolo Carlini <pcarlini@unitus.it>
5291
5292 * include/bits/stl_tree.h (rb_tree): Move to...
5293 * include/ext/rb_tree: ...here, new file.
5294 * include/Makefile.am (ext_headers): Add new file.
5295 * include/Makefile.in: Regenerate.
5296 * include/bits/stl_tempbuf.h (get_temporary_buffer + helper,
5297 return_temporary_buffer, struct temporary_buffer): Move to...
5298 * include/ext/memory: ...here.
5299 * testsuite/ext/headers.cc: Include <ext/rb_tree>.
5300 * include/backward/tempbuf.h: Include <ext/memory>, tweak.
5301 * include/backward/tree.h: Include <ext/rb_tree), tweak.
5302
5303 2002-01-03 Paolo Carlini <pcarlini@unitus.it>
5304
5305 * include/bits/stl_numeric.h (power + helpers, iota): Move to...
5306 * include/ext/numeric: ...here, new file.
5307 * include/bits/stl_function.h (identity_element, unary_compose,
5308 binary_compose, compose1, compose2, identity, select1st,
5309 select2nd, project1st + helper, project2nd + helper,
5310 constant_void_fun + helper, constant_unary_fun + helper,
5311 costant_binary_fun + helper, constant0, constant1, constant2,
5312 subtractive_rng, mem_fun1, mem_fun1_ref): Move to...
5313 * include/ext/functional: ...here, new file.
5314 * include/Makefile.am (ext_headers): Add new files.
5315 * include/Makefile.in: Regenerate.
5316 * testsuite/ext/headers.cc: Include <ext/numeric> and
5317 <ext/functional>.
5318 * include/backward/algo.h: Include <ext/numeric>, tweak.
5319 * include/backward/function.h: Include <ext/functional>, tweak.
5320 * include/ext/ropeimpl.h: Include <ext/numeric>.
5321
5322 2002-01-03 Jeffrey A Law <law@redhat.com>
5323
5324 * config/os/hpux/bits/os_defines.h: Prefix __strtoll and
5325 __strtoull declarations with __extension__.
5326
5327 2002-01-03 David Billinghurst <David.Billinghurst@riotinto.com>
5328
5329 * testsuite/lib/prune.exp: Correct regular expression for
5330 -ffunction-sections
5331
5332 2002-01-02 Phil Edwards <pme@gcc.gnu.org>
5333
5334 * include/bits/stl_algo.h (upper_bound, equal_range, binary_search):
5335 Change concept checks, as with lower_bound and PR 2054.
5336 * testsuite/ext/concept_checks.cc: Expand test to include those.
5337
5338 2002-01-02 Phil Edwards <pme@gcc.gnu.org>
5339
5340 * include/bits/boost_concept_check.h: Import some changes from
5341 upsteam (Boost) version.
5342
5343 2002-01-02 Paolo Carlini <pcarlini@unitus.it>
5344
5345 * include/bits/stl_algobase.h (copy_n + helpers,
5346 lexicographical_compare_3way + helpers): Move to...
5347 * include/ext/algorithm: ...here.
5348 * include/bits/stl_uninitialized.h (uninitialized_copy_n +
5349 helpers): Move to...
5350 * include/ext/memory: ...here, new file.
5351 * include/Makefile.am (ext_headers): Add new file.
5352 * include/Makefile.in: Regenerate.
5353 * testsuite/ext/headers.cc: Include <ext/memory>.
5354 * include/backward/algobase.h: Include <ext/memory> and
5355 <ext/algorithm>, tweak.
5356 * include/ext/ropeimpl.h: Include <ext/memory>, tweak.
5357 * include/ext/stl_rope.h: Include <ext/memory>, tweak.
5358
5359 2002-01-01 Roger Sayle <roger@eyesopen.com>
5360
5361 * libmath/stubs.c (sinf,cosf): Implement stubs to enable the
5362 equivalent ___builtin__ versions.
5363
5364 * include/c_shadow/bits/std_cmath.h: All __builtin math functions
5365 are available in libstdc++ as the necessary stub implementations
5366 are provided by libmath/stubs.c.
5367
5368 2002-01-01 Jason Thorpe <thorpej@wasabisystems.com>
5369
5370 * configure.in: Add support for NetBSD cross compiles.
5371 * configure: Regenerate.