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