]> gcc.gnu.org Git - gcc.git/blame - libstdc++-v3/ChangeLog
[multiple changes]
[gcc.git] / libstdc++-v3 / ChangeLog
CommitLineData
6d030676
PC
12002-05-04 Benjamin Kosnik <bkoz@redhat.com>
2 Paolo Carlini <pcarlini@unitus.it>
3
4 * testsuite/22_locale/num_put_members_char.cc: Add test04(),
5 testing for the locale_facets.tcc entry of the previous commit.
6 * testsuite/22_locale/num_put_members_wchar_t.cc: Likewise.
7
82002-05-04 Takeshi Kobayakawa <tskoba@mte.biglobe.ne.jp>
9
10 * config/locale/generic/c_locale.cc
11 (__convert_to_v(float, double, long double)):
12 Fix the temporary switch to the "C" locale, saving and
13 restoring in the proper way the current locale.
14 * config/locale/generic/time_members.cc
15 (__timepunct<char, wchar_t>::_M_put): Likewise.
16 * config/locale/gnu/messages_members.cc
17 (messages<char>::do_get): Likewise.
18 * config/locale/gnu/messages_members.h
19 (messages<_CharT>::do_get): Likewise.
20 * config/locale/gnu/time_members.cc
21 (__timepunct<char, wchar_t>::_M_put): Likewise.
22 * include/bits/locale_facets.tcc (__convert_from_v): Likewise.
23
7e90efc4
KG
242002-05-04 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
25
26 * configure.in (AC_CHECK_HEADERS): Check for string.h & stdlib.h.
27 * libsupc++/Makefile.am (LTCOMPILE): Add $(DEFS).
28
29 * Makefile.in, config.h.in, configure: Regenerate.
30
2fd819ef
BK
312002-05-03 Benjamin Kosnik <bkoz@redhat.com>
32
33 PR libstdc++/6549.
34 * include/bits/fstream.tcc (filebuf::_M_underflow_common): Revert.
35 * testsuite/27_io/narrow_stream_objects.cc (test07): Add.
36
b70d6d4b
KG
372002-05-03 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
38
39 * config/os/irix/irix5.2/bits/ctype_noninline.h (classic_table):
40 Return __ctype + 1.
41 (ctype:_M_table): Initialize to classic_table(), not __ctype.
42
d6ab05a0
RO
432002-05-03 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
44
45 * configure.in: Update local install.html, configopts.html paths.
46 * configure: Regenerate.
47
3a021240
KG
482002-05-02 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
49
08d02869
KG
50 * config/os/irix/irix5.2/bits/os_defines.h
51 (__glibcpp_long_double_bits, __glibcpp_long_bits): Define.
52
3a021240
KG
53 * config/os/irix/irix5.2/bits/ctype_inline.h: Cast to unsigned
54 char.
55
36ea41a3
PE
562002-05-02 Phil Edwards <pme@gcc.gnu.org>
57
58 * docs/html/faq/index.html: Update list in #4.1.
59 * docs/html/faq/index.txt: Regenerated.
60
13a90178
BK
612002-05-02 Benjamin Kosnik <bkoz@redhat.com>
62
63 * docs/html/17_intro/RELEASE-NOTES (New): Update.
64
e92a4045
PE
652002-05-01 Phil Edwards <pme@gcc.gnu.org>
66
67 * include/std/std_bitset.h: Fix doxygen comments.
68 * docs/html/documentation.html: Minor tweaks for 3.1.
69 * docs/html/27_io/howto.html: Likewise.
70 * docs/html/ext/howto.html: Likewise, mention stdio_filebuf.
71 * docs/html/faq/index.html: Likewise.
72 * docs/html/faq/index.txt: Regenerated.
73
9875ea05
BK
742002-05-01 Benjamin Kosnik <bkoz@redhat.com>
75
76 PR libstdc++/6533
77 * include/bits/streambuf_iterator.h (istreambuf_iterator::_M_get): New.
78 (istreambuf_iterator::equal): Use it.
79 (istreambuf_iterator::operator*): Use it.
80
072a15d9
PC
812002-05-01 Paolo Carlini <pcarlini@unitus.it>
82
83 PR libstdc++/6513
84 * include/bits/stl_uninitialized.h
85 (uninitialized_copy(_InputIter, _InputIter, _ForwardIter)):
86 Fix typo in 2001-07-17 commit: typedef _ValueType to
87 iterator_traits<_ForwardIter> not <_InputIter>.
88 * testsuite/23_containers/vector_ctor.cc: Add test04.
89
a125b7bc
BK
902002-04-30 John David Anglin <dave@hiauly1.hia.nrc.ca>
91
888d5eaa
JDA
92 PR libstdc++/6501
93 * include/c_std/std_cctype.h: Include bits/c++config.h.
94 * config/os/hpux/bits/os_defines.h (_SB_CTYPE_MACROS): Define.
95
5cdd50a5
BK
962002-04-30 Benjamin Kosnik <bkoz@redhat.com>
97
98 * include/ext/stdio_filebuf.h: New file.
99 * include/ext/enc_filebuf.h: New file.
100 * config/io/basic_file_stdio.h (__basic_file::sys_open): Add fd ctor.
101 * config/io/basic_file_stdio.cc: Same.
102 * include/bits/fstream.tcc (filebuf::_M_allocate_internal_buffer):
103 Remove _M_unbuf hacks.
104 (filebuf::_M_destroy_internal_buffer): Same.
105 (filebuf::filebuf(cfile, openmode, int_type): Remove definition.
106 (filebuf::fd): Remove.
107 * include/std/std_fstream.h (filebuf::_M_unbuf): Remove.
108 (filebuf::filebuf(__c_file*, openmode, int_type)): Remove.
109 (filebuf::fd): Remove.
110 * src/ios.cc (ios_base::_S_ios_create): Change to use specialized
111 filebufs.
112 (ios_base::_S_ios_destroy): Same.
113 * src/misc-inst.cc (file_filebuf<char>): Add instantiation.
114 * include/Makefile.am (ext_headers): Add ext_filebuf.h,
115 stdio_filebuf.h. * include/Makefile.in: Regenerate.
116
8e44e77e
BK
1172002-04-30 Benjamin Kosnik <bkoz@redhat.com>
118
119 PR libstdc++/6511
120 * config/os/solaris/solaris2.7/bits/ctype_noninline.h: Fix typo.
121
5c352a47
BK
1222002-04-29 Benjamin Kosnik <bkoz@redhat.com>
123
3cd870ad 124 PR libstdc++/5820
5c352a47
BK
125 * include/bits/fstream.tcc (basic_filebuf::_M_underflow_common):
126 Check for eof.
127 * include/bits/streambuf_iterator.h: Match stream_iterator.h.
128 (istreambuf_iterator::operator++): Invalidate on eof.
129 (istreambuf_iterator::operator++(int)): Same.
130 (istreambuf_iterator::operator*): Same.
131
9a3e5fd3
RO
1322002-04-29 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
133
134 * testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3-init): Set all
135 of LD_LIBRARY_PATH, SHLIB_PATH, LD_LIBRARYN32_PATH,
136 LD_LIBRARY64_PATH.
137
d02475fd
BK
1382002-04-28 Benjamin Kosnik <bkoz@redhat.com>
139
3cd870ad 140 PR libstdc++/5820
d02475fd
BK
141 * config/io/basic_file_stdio.h (__basic_file::sys_getc): Return int.
142 (__basic_file::sys_ungetc): Take int.
143 * config/io/basic_file_stdio.cc (__basic_file::sys_ungetc): Same.
144 * include/bits/fstream.tcc (basic_filebuf::_M_underflow_common):
145 Use sys_getc for unbuffered input.
146 * testsuite/27_io/narrow_stream_objects.cc (test06): New.
147
148 * src/ios.cc (_M_grow_words): Adjust error checking.
149 * testsuite/27_io/ios_base_storage.cc: Same.
150
32c8d100
PC
1512002-04-28 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
152
153 * include/ext/stl_hashtable.h: Import __iterator_category
154
1552002-04-28 Paolo Carlini <pcarlini@unitus.it>
156 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
157
158 * testsuite/ext/hash_set.cc: New testfile.
159
82f637d1
BK
1602002-04-27 Benjamin Kosnik <bkoz@redhat.com>
161
162 * config/os/solaris/solaris2.5/bits/os_defines.h: Remove
163 _G_USING_THUNKS.
164 * config/os/solaris/solaris2.6/bits/os_defines.h: Same.
165 * config/os/solaris/solaris2.7/bits/os_defines.h: Same.
166
adf2e3e6
PC
1672002-04-26 Paolo Carlini <pcarlini@unitus.it>
168
169 * include/bits/basic_string.h (replace(__pos, __n1, __s, __n2):
170 Fix and tighten __throw_length_error check.
171 * testsuite/21_strings/replace.cc (test05): New.
172 * testsuite/21_strings/replace.cc (test02, test03, test04): Tweak.
173
9385d9cb
LR
1742002-04-23 Loren J. Rittle <ljrittle@acm.org>
175
176 * include/std/std_fstream.h (basic_filebuf::sync): Hoist
177 unconditional flush on lower-layer handle to here...
178 * include/bits/fstream.tcc (basic_filebuf::_M_really_overflow):
179 ...from here. Optimize remaining _M_file.sync() call pattern.
180 * testsuite/27_io/narrow_stream_objects.cc (test04): New test.
181 (test05): Likewise.
182
74c263af
JM
1832002-04-23 Jason Merrill <jason@redhat.com>
184
736020b4
JM
185 * include/bits/fstream.tcc (basic_filebuf::seekoff): Fix for
186 output-only filebufs.
187 * include/std/std_fstream.h (basic_filebuf::_M_set_indeterminate):
188 Likewise.
189 (basic_filebuf::_M_set_determinate): Likewise.
190
74c263af
JM
191 PR libstdc++/6414
192 * include/bits/fstream.tcc (basic_filebuf::seekoff): Adjust return
193 value properly in the trivial case.
194 * testsuite/27_io/istream_seeks.cc (test04): Make sure that
195 tellg() returns the right value after a read.
196
7e67bb85
HPN
1972002-04-23 Hans-Peter Nilsson <hp@bitrange.com>
198
199 * config/cpu/mmix/bits/cpu_limits.h: New file.
200 * configure.target (CPULIMITSH): Use it.
201
c5ac5edb
LR
2022002-04-22 Loren J. Rittle <ljrittle@acm.org>
203
204 * docs/html/17_intro/porting.texi (_GLIBCPP_AVOID_FSEEK): Remove.
6067f1fe 205 * docs/html/17_intro/porting.html: Rebuilt.
c5ac5edb 206
5066927d
JM
2072002-04-20 Jason Merrill <jason@redhat.com>
208
209 PR libstdc++/4150
210 * include/std/std_streambuf.h (basic_streambuf::_M_set_indeterminate):
211 Move to filebuf.
212 (basic_streambuf::_M_set_determinate): Likewise.
213 (basic_streambuf::_M_is_indeterminate): Likewise.
214 * include/bits/std_fstream.h (basic_filebuf::_M_filepos): New
215 non-static data member.
216 (basic_filebuf::_M_underflow_common): New non-static member function.
217 (basic_filebuf::_M_underflow, _M_uflow): Call it.
218 (basic_filebuf::sync): Avoid useless seeking.
219 (basic_filebuf::_M_set_indeterminate): Move here from streambuf.
220 Set _M_filepos.
221 (basic_filebuf::_M_set_determinate): Likewise.
222 (basic_filebuf::_M_is_indeterminate): Likewise.
223 * include/bits/fstream.tcc (basic_filebuf::_M_really_overflow): Seek
224 back to _M_out_beg if necessary.
225 (basic_filebuf::seekoff): Likewise.
226 (basic_filebuf::_M_underflow_common): Generalization of old
227 underflow(). Don't seek back to _M_in_beg.
228 * src/ios.cc: Lose _GLIBCPP_AVOID_FSEEK stuff.
229 * config/os/solaris/solaris2.?/bits/os_defines.h: Likewise.
230 * config/os/bsd/freebsd/bits/os_defines.h: Likewise.
231 * config/os/mingw32/bits/os_defines.h: Likewise.
232 * testsuite/27_io/filebuf_virtuals.cc (test05): Don't overspecify
233 ungetc test.
234
b2e4f4fd
BK
2352002-04-22 Benjamin Kosnik <bkoz@redhat.com>
236
237 * include/bits/istream.tcc (istream::read): Fix.
238 * testsuite/27_io/istream_unformatted.cc (main): Add.
239
9a4b4cfc
BK
2402002-04-20 Benjamin Kosnik <bkoz@redhat.com>
241
242 PR libstdc++/6360
243 * include/bits/istream.tcc (istream::ignore): Streamline, use
244 delimiter as is.
245 * include/bits/streambuf.tcc: Use this->gptr.
246 * testsuite/27_io/istream_unformatted.cc (test08): Add test.
247
36ce7daa
BK
2482002-04-18 Benjamin Kosnik <bkoz@redhat.com>
249
250 * include/bits/localefwd.h (locale::id::_M_id): Do this correctly,
251 as type safety is important, especially on solaris.
252 * include/bits/istream.tcc (istream::read): Clean.
253 (istream::readsome): Same.
254 * locale.cc: Wrap lines.
255
256 * testsuite/21_strings/inserters_extractors.cc: Tweaks.
257 * testsuite/27_io/instantiations.cc (test): Add bool variable...
258 * testsuite/21_strings/capacity.cc: Clean.
259
bf551f96
PE
2602002-04-17 Phil Edwards <pme@gcc.gnu.org>
261
262 * docs/doxygen/doxygroups.cc: New group on binary searching.
263 * include/bits/stl_algo.h: Document binary searches and merges.
264 * include/bits/stl_deque.h: The 'map' member is not the 'map' class.
265
d4c6e01f
PE
2662002-04-17 Phil Edwards <pme@gcc.gnu.org>
267
268 * docs/doxygen/mainpage.html: Doxygen logo is now a PNG file.
269 * docs/doxygen/run_doxygen: Bump required version.
270 * docs/doxygen/user.cfg.in: Revert accidental change.
271 * docs/html/faq/index.html: Reindent a block of links.
272 (4.4): New note on using dlsym.
273 * docs/html/faq/index.txt: Regenerated.
274
822ca943
PE
2752002-04-17 Phil Edwards <pme@gcc.gnu.org>
276
277 * testsuite_flags.in (cxxflags): Also pass @EXTRA_CXX_FLAGS@.
278
cff57789
BK
2792002-04-17 Benjamin Kosnik <bkoz@redhat.com>
280
281 * config/linker-map.gnu (__malloc_alloc_template): Add.
282 (__default_alloc_template): Same.
283 * include/bits/stl_alloc.h (__malloc_alloc_template): Add extern
284 template.
285 (__default_alloc_template): Same.
286
cf76d875
BK
2872002-04-17 Benjamin Kosnik <bkoz@redhat.com>
288
289 * testsuite/27_io/filebuf_virtuals.cc: Add _S_pback_size instantiation.
290
42ca0438
BK
2912002-04-16 Benjamin Kosnik <bkoz@redhat.com>
292
293 * src/concept-inst.cc (vector<locale::facet*>): Remove instantiations.
294 * src/stl-inst.cc (vector::_M_insert_aux): Remove instantiation.
295 (__malloc_alloc_template): Conditionalize.
296
297 * include/bits/istream.tcc: Remove sputbackc calls.
298
299 * testsuite/19_diagnostics/stdexceptions.cc: Fix comment.
300
f1e888ae 3012002-04-16 Paolo Carlini <pcarlini@unitus.it>
42ca0438 302
f1e888ae
GDR
303 * testsuite/24_iterators/rel_ops.cc: New test.
304
3052002-04-16 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
306
307 * include/bits/type_traits.h (__normal_iterator): Declare in
308 __gnu_cxx. Adjust use at global namespace.
309 * include/bits/stl_iterator.h (__normal_iterator): Move definition
310 into __gnu_cxx::. Add more operator overloads. Tidy existing ones.
311 * include/bits/basic_string.h (basic_string): Adjust use of
312 __normal_iterator.
313 * include/bits/stl_vector.h (_Alloc>): Likewise.
314 * src/concept-inst.cc (__gnu_cxx): __normal_iterator<> is now here.
315 * src/string-inst.cc (operator==): Instantiate in __gnu_cxx.
316
d3a193e3
BK
3172002-04-15 Benjamin Kosnik <bkoz@redhat.com>
318
319 PR libstdc++/4164
320 Valgrind fixes.
321 * config/io/basic_file_stdio.cc (__basic_file::~__basic_file):
322 Call close.
323 (__basic_file::close): Call fflush. Correct return if fclose ok.
324 (__basic_file::is_open): Make const.
325 Change __c_file_type to __c_file.
326 * config/io/basic_file_stdio.h: Change __c_file_type to __c_file.
327 (__basic_file::is_open): Make const.
328 * config/io/c_io_stdio.h: Change __c_file_type to __c_file.
329 * include/std/std_fstream.h (filebuf::_M_allocate_file): Remove.
330 (filebuf::_M_unbuf): Add.
331 (filebuf::_M_file): Change to non-pointer.
332 (filebuf::_M_allocate_pback_buffer): Remove.
333 * include/bits/fstream.tcc (filebuf::_M_allocate_file): Remove.
334 (filebuf::_M_allocate_internal_buffer): Use _M_unbuf.
335 Change initialization list for _M_file change.
336 (filebuf::_M_allocate_pback_buffer): Remove.
337 Change _M_file usage to reflect non-pointer data member.
338
339 * config/locale/generic/c_locale.cc
340 (locale::facet::_S_create_c_locale): Add parameter.
341 * config/locale/generic/collate_members.cc: Change
342 _M_compare_helper to _M_compare.
343 Change _M_transform_helper to _M_transform.
344 * config/locale/generic/monetary_members.cc: Changeup data types.
345 Add dtors.
346 * config/locale/generic/numeric_members.cc: Add dtors.
347 * config/locale/generic/time_members.cc: Add dtors.
348 * config/locale/gnu/c_locale.cc: Add parameter.
349 * config/locale/gnu/collate_members.cc:Change
350 _M_compare_helper to _M_compare.
351 Change _M_transform_helper to _M_transform.
352 * config/locale/gnu/ctype_members.cc: Better error checking.
353 * config/os/gnu-linux/bits/ctype_noninline.h: Better error checking.
354 * config/locale/gnu/messages_members.cc: Tweak comment.
355 * config/locale/gnu/monetary_members.cc: Change data types.
356 Add dtors.
357 * config/locale/gnu/numeric_members.cc: Add dtors, better error
358 checking.
359 * config/locale/gnu/time_members.cc: Same.
360 * config/locale/ieee_1003.1-2001/c_locale.cc
361 (locale::facet::_S_create_c_locale): Add parameter.
362 * config/locale/ieee_1003.1-2001/c_locale.h: Correct typedef.
363 * config/locale/ieee_1003.1-2001/codecvt_specializations.h: Remove
364 bogus ctor.
365
366 * include/bits/locale_facets.h (moneypunct): Use string literals.
367 Don't define dtor.
368 (numpunct): Same.
369 (__timepunct): Same.
370 (locale::_Impl::_M_facets): Change from vector to array.
371 (locale::_Impl::_M_names): Change from array of strings to array
372 of string literals.
373 (locale::facet::_S_create_c_locale): Add parameter.
374 (locale::locale::_S_num_facets): Move to...
375 (locale::_Impl::_M_facets_size): Here.
376 * include/bits/locale_facets.tcc: Fixups for _M_facets, _M_name
377 changes.
378 * include/bits/localefwd.h: (locale::id::_M_id): Add member function.
379 (locale::_Impl::_Impl(facet**, size_t, bool)): Add.
380 (locale::_Impl::_Impl(string, size_t)): Change to
381 (locale::_Impl::_Impl(const char*, size_t)): This.
382
383 * include/bits/streambuf.tcc (streambuf::_S_pback_size): Define.
384 * include/std/std_streambuf.h (streambuf::_M_pback_size): Change to
385 (streambuf::_S_pback_size): This.
386
387 * src/globals.cc: Add pre-allocations for "C" facets.
388 * src/locale-inst.cc: Remove vector instantiations.
389 * src/locale.cc: Remove vector include. Fixups for _M_names,
390 _M_facets changes.
391 * src/localename.cc: Same.
392
393 * include/bits/stl_vector.h: Fix odd formatting.
394
395 * include/bits/basic_string.tcc: Tweak comment.
396
397 * libsupc++/new: Make sure parameters are uglified.
398 * libsupc++/typeinfo: Same.
399
400 * testsuite/22_locale/num_get_members_char.cc: Fixup.
401 * testsuite/22_locale/num_get_members_wchar_t.cc: Same.
402 * testsuite/27_io/filebuf_members.cc: Same.
403
ef290537
SE
4042002-04-12 Steve Ellcey <sje@cup.hp.com>
405
406 * gcc/libstdc++-v3/config/os/hpux/bits/os_defines.h
407 (strtoll, strtoull): In 64 bit mode HP-UX (IA64 and HPPA)
408 does not define strtoll or strtoull, but does define strtol
409 and strtoul which are the same since in 64 bit mode
410 sizeof(long) == sizeof(long long).
411
b963aad8
PE
4122002-04-12 Phil Edwards <pme@gcc.gnu.org>
413
414 * include/std/std_bitset.h: Doxygenate std::bitset<>. Clean up
415 trailing spaces, indentation, and macro names. Make exception
416 messages more informative.
417
b7737230
RH
4182002-04-11 Richard Henderson <rth@redhat.com>
419
420 * include/bits/fstream.tcc (basic_filebuf<>::open): Fix & ordering.
421 * include/bits/ostream.tcc (basic_ostream<>::operator<<(long)): Same.
422 (basic_ostream<>::operator<<(long long)): Same.
423
51cd12de
RH
4242002-04-11 Richard Henderson <rth@redhat.com>
425
426 * config/linker-map.gnu: Add __gxx_personality_sj0.
427
0dba73e0
BK
4282002-04-09 Benjamin Kosnik <bkoz@redhat.com>
429
430 libstdc++/1072
431 * include/bits/localefwd.h (locale::_Impl::_M_facets): Change from
432 pointer to vector.
433 Remove forward declaration of vector.
434 Include vector.
435 * include/bits/locale_facets.tcc: Remove vector include.
436 (use_locale): Adjust.
437 (has_locale): Adjust.
438 * src/locale.cc: Adjust.
439 * src/localename.cc: Same.
440
dcf5a5de
BK
4412002-04-09 Benjamin Kosnik <bkoz@redhat.com>
442 Richard Henderson <rth@redhat.com>
443
444 * include/bits/sstream.tcc: Clean up bit ops.
445 * include/bits/fstream.tcc: Same.
446
b0396e3b
JJ
4472002-04-09 Jakub Jelinek <jakub@redhat.com>
448
449 * include/bits/locale_facets.h (__num_base::_S_scale_hex): Remove.
450 (__num_base::_S_scale_oct): Remove.
451 * src/locale.cc (__num_base::_S_scale_hex): Remove.
452 (__num_base::_S_scale_oct): Remove.
453
1cb7f91f
BK
4542002-04-09 Benjamin Kosnik <bkoz@redhat.com>
455
456 libstdc++/6124
457 * testsuite/23_containers/bitset_members.cc: New test.
458 * include/std/std_bitset.h (_Bit_count::_S_bit_count): Move..
459 (_S_bit_count): Here.
460 (_First_one::_S_first_one): Move...
461 (_S_first_one): Here.
462 Format.
463 * src/bitset.cc: Adjust.
464 * config/linker-map.gnu: Export.
465
b988dfc5
BK
4662002-04-08 Benjamin Kosnik <bkoz@redhat.com>
467
468 libstdc++/5180
469 * include/bits/fstream.tcc (filebuf::seekpos): Fix.
470 * include/std/std_fstream.h: Clean.
471 * include/bits/ostream.tcc: Remove extraneous variables.
472 * include/bits/sstream.tcc (stringbuf::seekoff): Be strict about
473 open modes and which modes.
474 (stringbuf::seekpos): Same.
475 * testsuite/27_io/stringbuf_virtuals.cc: New tests.
476
39b945d2
JW
4772002-04-05 Jonathan Wakely <jw@kayari.org>
478
479 * include/bits/stl_algo.h (unique_copy, __gcd, rotate, rotate_copy,
480 random_shuffle, partition, stable_partition, sort, stable_sort,
481 partial_sort, partial_sort_copy, nth_element): Doxygenate.
482
03381059
DM
4832002-04-05 David S. Miller <davem@redhat.com>
484
485 * config/os/gnu-linux/bits/os_defines.h
486 (__glibcpp_long_double_bits): Set to 64 on 32-bit Sparc.
487
677b3ae3
BK
4882002-04-04 Benjamin Kosnik <bkoz@redhat.com>
489
490 libstdc++/3457
491 via gawrilow@math.tu-berlin.de
492 * acinclude.m4 (version_specific_libs): Fix combo usage with
493 --with-gxx-include-dir.
494 * aclocal.m4: Regenerate.
495 * configure: Same.
496
a9bb75a7
BK
4972002-04-03 Benjamin Kosnik <bkoz@redhat.com>
498
499 As per DR 184, libstdc++/3139
500 * include/std/std_limits.h (__glibcpp_bool_digits): Change to 1.
501 (numeric_limits<bool>::is_iec559): False.
502 (numeric_limits<bool>::is_modulo): False.
503
504 * testsuite/27_io/ios_init.cc: Add instantiations.
505
40e5b283
BK
5062002-04-02 Benjamin Kosnik <bkoz@redhat.com>
507
508 libstdc++/5268
509 * src/ios.cc: (ios_base::Init::_S_ios_destroy): Remove flush calls.
510 * testsuite/27_io/ios_init.cc (tests04): Add test.
511
512 libstdc++/3983
513 * include/bits/basic_ios.h (basic_ios::_M_get_fctype_ios): Remove.
514 (basic_ios::_M_ios_fctype): Consistently name to _M_fctype.
515 * include/bits/basic_ios.tcc: Same. Remove outdated comments.
516 * include/bits/istream.tcc: Use _M_fctype, make consistent with
517 ostream.
518 * testsuite/27_io/ios_init.cc (tests03): Add test.
519
3741b1ab
PE
5202002-04-02 Phil Edwards <pme@gcc.gnu.org>
521
522 * include/Makefile.am (install-data-local): Use mkinstalldirs.
523 * include/Makefile.in: Regenerate.
524
418bb880
PC
5252002-04-02 Paolo Carlini <pcarlini@unitus.it>
526 Nathan Myers <ncm@cantrip.org>
527 Philip Martin <philip@codematters.co.uk>
528
529 * include/bits/basic_string.h
530 (replace(i1, i2, _CharT* k1, _CharT* k2),
531 replace(i2, i2, const _CharT* k1, const _CharT* k2),
532 replace(i1, i2, iterator k1, iterator k2,
533 replace(i1, i2, const_iterator k1, const_iterator k2):
534 New specializations to optimize for the common cases of
535 pointers and iterators.
536 (replace(pos, n1, s, n2)): Tweak.
537 * include/bits/basic_string.tcc: Tweak comments.
538 * testsuite/21_strings/replace.cc (test04): New tests.
539
501e321e
BK
5402002-04-01 Benjamin Kosnik <bkoz@redhat.com>
541
542 libstdc++/5542
543 * acinclude: More extensive checks for msgfmt, --enable-nls.
544 * aclocal.m4: Regenerate.
545 * configure: Regenerate.
546
efe44c60
PE
5472002-04-01 Phil Edwards <pme@gcc.gnu.org>
548
549 * libsupc++/exception (__verbose_terminate_handler): Point to docs.
550 * docs/doxygen/doxygroups.cc: Doxygen hooks for abi::__cxa_demangle.
551 * docs/html/18_support/howto.html: Document the demangler.
552 * docs/html/17_intro/howto.html: And link to it.
553
554 * docs/doxygen/mainpage.html: Describe user-vs-maintainer docs.
555 * docs/doxygen/run_doxygen: Print user-vs-maintainer.
556
76f6aa8b
PE
5572002-04-01 Phil Edwards <pme@gcc.gnu.org>
558
559 * config/linker-map.gnu: Export __verbose_terminate_handler.
560 * libsupc++/Makefile.am (sources): Add cxa_demangle.c, dyn-string.c.
561 Make new LTCOMPILE variable, use it in new special build rules.
562 * libsupc++/Makefile.in: Rebuild.
563 * src/vterminate.cc (__verbose_terminate_handler): Enable use of
564 runtime __cxa_demangle.
565
566 * docs/html/install.html: Update prereqs and instructions.
567 * docs/html/19_diagnostics/howto.html: Bring naming for
568 verbose_terminate_handler into line with reality.
569
663653eb
BK
5702002-04-01 Benjamin Kosnik <bkoz@redhat.com>
571
572 libstdc++/3129
573 * include/bits/basic_ios.h (basic_ios::_M_exception): Move.
574 (basic_ios::_M_streambuf_state): Move.
575 * include/bits/ios_base (ios_base): To here.
576 * include/bits/ios_base.h (ios_base::_S_local_words): To
577 _S_local_word_size.
578 (ios_base::_M_word_array): To _M_local_word.
579 (ios_base::_M_words_limit): To _M_word_size.
580 (ios_base::_M_words): To _M_word.
581 Comment.
582 * include/bits/basic_ios.tcc: Adjust.
583 * src/ios.cc (ios_base::_M_grow_words): Tweak.
584 * testsuite/27_io/ios_base_storage.cc: Add tests.
585
586 libstdc++/5207
587 Kenny Simpson <theonetruekenny@yahoo.com>
588 * include/bits/ios_base.h: Fix.
589
590 Richard Henderson <rth@redhat.com>
591 * include/bits/ostream.tcc (ostream::operator<<(_CharT)): Correct
592 last change.
593
594 * include/bits/basic_string.h: Tweak formatting.
595
99b629fa
PC
5962002-04-01 Paolo Carlini <pcarlini@unitus.it>
597
598 * config/locale/ieee_1003.1-2001/codecvt_specializations.h
599 (codecvt::do_out, codecvt::do_unshift, codecvt::do_in):
600 By definition, sizeof(char) == 1.
601 * include/bits/locale_facets.tcc (money_get::do_get,
602 money_put::do_put): Ditto.
603 * testsuite/21_strings/inserters_extractors.cc
604 (test04): Ditto.
605
afaef726
RH
6062002-03-30 Richard Henderson <rth@redhat.com>
607
608 PR c++/3719
609 * libsupc++/eh_personality.cc (__cxa_call_unexpected): Copy handler
610 data out of the exception struct before calling unexpectedHandler.
611
663653eb 6122002-03-28 Roger Sayle <roger@eyesopen.com>
d52e4867
RS
613
614 * include/c_std/std_cmath.h: To prevent problems overloading
615 g++ builtins, use the double variants from the global namespace
616 before defining float and long double variants in std::.
617
cb105687
LR
6182002-03-28 Loren J. Rittle <ljrittle@acm.org>
619
620 * testsuite/18_support/numeric_limits.cc (test_extrema): Fix typo.
621
0c0bac93
PC
6222002-03-28 Paolo Carlini <pcarlini@unitus.it>
623
624 * testsuite/24_iterators/istream_iterator.cc
625 (test02): New tests.
626
e1cfa830 6272002-03-28 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
10cbfb51
UW
628 Paolo Carlini <pcarlini@unitus.it>
629
630 * testsuite/22_locale/codecvt_members_unicode_wchar_t.cc
631 (test01): Protect the test with _GLIBCPP_USE_WCHAR_T;
632 fix i_lit_base e_lit_base arrays, making them independent
633 from the endianness of the platform; tweak UCS4 to UCS-4BE.
634
a3ebd14d
BK
6352002-03-27 Benjamin Kosnik <bkoz@redhat.com>
636
637 * include/bits/ostream.tcc (ostream::operator<<(_CharT)): Always
638 allocate at least a byte.
639
640 * testsuite/18_support/numeric_limits.cc (test_extrema): Make
641 debugger-friendly.
642 * testsuite/27_io/streambuf.cc (test07): Fix.
643 (test06): Enable.
644
04b7c941
PE
6452002-03-27 Phil Edwards <pme@gcc.gnu.org>
646
647 * docs/doxygen/Intro.3: Date tweak.
648 * docs/doxygen/TODO: Update.
649 * docs/doxygen/doxygroups.cc: Point to tables.html.
650 * docs/doxygen/mainpage.html: Date tweak.
651 * docs/doxygen/run_doxygen: Version tweak. Copy tables.html over.
652 * docs/doxygen/tables.html: Fill in the blanks.
653
654 * docs/doxygen/user.cfg.in (ALIASES): Remove maint and endmaint.
655 * include/bits/stl_algo.h: Likewise; use expanded form.
656 * include/bits/stl_alloc.h: Likewise.
657 * include/bits/stl_construct.h: Likewise.
658 * include/bits/stl_deque.h: Likewise.
659 * include/bits/stl_iterator_base_types.h: Likewise.
660 * include/bits/stl_list.h: Likewise.
661 * include/bits/stl_relops.h: Likewise.
662 * include/bits/stl_tempbuf.h: Likewise.
663 * include/bits/stl_vector.h: Likewise.
664 * include/std/std_memory.h: Likewise.
665
666 * include/bits/stl_deque.h: Point into tables.html and add @ingroup.
667 * include/bits/stl_list.h: Likewise.
668 * include/bits/stl_vector.h: Likewise.
669
3eb35fcf
BK
6702002-03-26 Benjamin Kosnik <bkoz@redhat.com>
671
672 * include/c/: Guard with _CPP_.
673 * include/c_std/: Same.
674 * include/Makefile.am: Fixup install, link routines for null
675 c_base_headers_extra scenarios.
676 * include/Makefile.in: Regerate.
04b7c941 677
81b1b8c2
PC
6782002-03-25 Paolo Carlini <pcarlini@unitus.it>
679 Richard Henderson <rth@redhat.com>
680
681 * testsuite/22_locale/codecvt_members_unicode_char.cc
682 (test01, test02): make sure that the i_lit_base array
683 is sufficiently aligned.
684
9ad6276f
BK
6852002-03-25 Benjamin Kosnik <bkoz@redhat.com>
686
687 * config/os/newlib/bits/ctype_noninline.h (ctype::classic): Set to
688 _ctype_.
689
b7d5968d
PC
6902002-03-25 Paolo Carlini <pcarlini@unitus.it>
691
692 * testsuite/22_locale/collate_byname.cc
693 (test01): compare the result of collate::compare with
694 that of collate::transform + string::compare, not with
695 that of collate::transform + collate::compare; values
696 returned by collate::compare are normalized, therefore
697 test against +-1.
698
99ffa1e3
BK
6992002-03-25 Benjamin Kosnik <bkoz@redhat.com>
700 Jakub Jelinek <jakub@redhat.com>
04b7c941 701
99ffa1e3
BK
702 * config/locale/gnu/messages_members.h: Correct conditional.
703 * config/locale/gnu/messages_members.cc: Same.
704 * config/locale/gnu/time_members.cc: Same.
04b7c941 705
9cc737e8
UW
7062002-03-25 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
707 Paolo Carlini <pcarlini@unitus.it>
708
2188d04d 709 * testsuite/22_locale/codecvt_members_unicode_char.cc
9cc737e8
UW
710 (test01, test02): Fix i_lit_base arrays, making them
711 independent from the endianness of the platform.
712
34ff0b99
BK
7132002-03-22 Benjamin Kosnik <bkoz@redhat.com>
714
715 * acinclude.m4 (GLIBCPP_CHECK_COMPLEX_MATH_SUPP): Just test for
716 signbit and __signbit directly.
717 * aclocal.m4: Regenerate.
718 * configure: Regenerate.
719 * config.h.in: Regenerate.
720 * libmath/Makefile.am: Simplify.
721 * libmath/Makefile.in: Regenerate.
722 * include/c_std/std_cmath.h: Update paths for include of cmath.tcc.
723
724 * include/Makefile.am: Clean up handling of extra "C" header files.
725 Add hooks for "C" compatibility headers.
726 * include/Makefile.in: Regenerate.
727
728 * include/c/*: Formatting tweaks, cleanups.
729 * include/c_std/*: Same.
04b7c941 730
1f3a2ce1
BK
7312002-03-22 Benjamin Kosnik <bkoz@redhat.com>
732
733 * config/locale/gnu/messages_members.h: Add __uselocale bits.
734 * config/locale/gnu/messages_members.cc: Same.
735 * config/locale/gnu/time_members.cc: Same.
04b7c941 736
2ca08953 7372002-03-22 Benjamin Kosnik <bkoz@redhat.com>
04b7c941 738
2ca08953
BK
739 * src/vterminate.cc: Format, -fno-exceptions cleanup.
740
380f343b
RO
7412002-03-21 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
742
743 * acinclude.m4 (GLIBCPP_CHECK_STDLIB_DECL_AND_LINKAGE_3): New.
744 (GLIBCPP_CONFIGURE_TESTSUITE): Use it to check for setenv.
745 * aclocal.m4: Regenerate.
746 * configure: Likewise.
747
6d8e16a4
PC
7482002-03-19 Paolo Carlini <pcarlini@unitus.it>
749 Ulrich Drepper <drepper@redhat.com>
750
751 * src/locale-inst.cc (__convert_from_v): Add an additional
752 __size parameter in the declarations.
753 * include/bits/locale_facets.tcc
754 (__convert_from_v): When available (that is,
755 _GLIBCPP_USE_C99 defined) use snprintf instead of sprintf.
756 (num_put::_M_convert_float): Depending on _GLIBCPP_USE_C99
757 being defined or not, call and use __convert_from_v in the
758 appropriate way.
759 (num_put::_M_convert_int): Same here.
760 (money_put::do_put(long double)): Same here.
761
0fdebf99
PE
7622002-03-19 Phil Edwards <pme@gcc.gnu.org>
763
764 * docs/html/faq/index.html (#3.6): Rewrap and close <a href> tags.
765 * docs/html/faq/index.txt: Regenerate.
766
263c6fa8
SE
7672002-03-19 Steve Ellcey <sje@cup.hp.com>
768
769 * acinclude.m4 (GLIBCPP_ENABLE_LIBUNWIND_EXCEPTIONS): Define
770 GLIBCPP_ENABLE_LIBUNWIND_EXCEPTIONS to set LIBUNWIND_FLAG if
771 --enable-libunwind-exceptions is set.
772 * configure.in (GLIBCPP_ENABLE_LIBUNWIND_EXCEPTIONS): Call new
773 macro to check for libunwind.
04b7c941 774 * configure: Regenerate.
263c6fa8
SE
775 * src/Makefile.am (libstdc___la_LDFLAGS): Add
776 LIBUNWIND_FLAG to libstdc link line.
777 * src/Makefile.in: Regenerate.
04b7c941 778
2e4bcfd8
BK
7792002-03-19 Benjamin Kosnik <bkoz@redhat.com>
780
781 * docs/html/faq/index.html: Add OS X workaround.
782 * docs/html/17_intro/TODO: Update.
783
3039874b
PC
7842002-03-18 Paolo Carlini <pcarlini@unitus.it>
785
786 * include/bits/locale_facets.tcc
787 (money_put::do_put(long double)): Fix dimensioning of
788 temporary buffers to avoid risk of overruns.
789 (money_put::do_put(string)): Same for the buffer used to
790 add the grouping chars.
791 * testsuite/22_locale/money_put_members_char.cc: Add test06.
792 * testsuite/22_locale/money_put_members_wchar_t.cc: Ditto.
793
794 * include/bits/locale_facets.tcc
795 (collate::do_transform): Simplify.
796
d2caef2e
PE
7972002-03-18 Phil Edwards <pme@gcc.gnu.org>
798
799 * acinclude.m4 (GLIBCPP_CONFIGURE): Make indentation/spacing uniform.
800 * configure.in: Add comments pointing the way for autoconf 2.5x.
801 * aclocal.m4, config.h.in, configure: Regenerate.
802
99ffa1e3 8032002-03-18 Philipp Thomas <pthomas@suse.de>
f07beda9
PT
804
805 * include/backward/hash_map.h: hash, hashtable, hash_map and
806 hash_multimap are in namespace __gnu_cxx.
807 include/backward/hash_set.h: hash, hashtable, hash_set and
808 hash_multiset are in namespace __gnu_cxx.
04b7c941 809 include/backward/hashtable.h: hash and hashtable are in
f07beda9
PT
810 namespace __gnu_cxx.
811 include/backward/rope.h: char_producer, sequence_buffer,
812 rope, crope and wrope are in namespace __gnu_cxx.
813 include/backward/slist.h: slist is in namespace __gnu_cxx.
814 * testsuite/backward/header_hash_map_h.cc
815 testsuite/backward/header_hash_set_h.cc
816 testsuite/backward/header_hashtable_h.cc
817 testsuite/backward/header_rope_h.cc
818 testsuite/backward/header_slist_h.cc
819 testsuite/backward/header_tempbuf_h.cc: New tests for
820 checking that we're using the correct namespace.
821
6afcef6b
JM
8222002-03-17 Jason Merrill <jason@redhat.com>
823
824 PR c++/4381
825 * libsupc++/eh_personality.cc (get_adjusted_ptr): New static fn.
826 (check_exception_spec): Call it. Take the thrown pointer.
827 (__cxa_call_unexpected): Pass it.
828 (PERSONALITY_FUNCTION): Likewise. Use get_adjusted_ptr.
829
2e4bcfd8 8302002-03-15 Anthony Green <green@redhat.com>
b3b77add
AG
831
832 * configure.in: Remove useless is_mingw32.
833 * configure: Rebuilt.
834
53723190
PC
8352002-03-15 Paolo Carlini <pcarlini@unitus.it>
836
837 * testsuite/22_locale/collate_members_char.cc
838 (test01): compare the result of collate::compare with
839 that of collate::transform + string::compare, not with
840 that of collate::transform + collate::compare.
841 (test01): values returned by collate::compare are
842 normalized, therefore test against +-1.
843 * testsuite/22_locale/collate_members_wchar_t.cc: Ditto.
844
56d4fe31
LR
8452002-03-12 Loren Rittle <ljrittle@acm.org>
846
847 reported by Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
848 * testsuite/thread/pthread4.cc: Lower nominal iteration counter.
849
f7145757
BK
8502002-03-12 Benjamin Kosnik <bkoz@redhat.com>
851 Per Liboriussen <liborius@stofanet.dk>
04b7c941 852
f7145757
BK
853 * config/os/gnu-linux/bits/ctype_noninline.h: Cast to
854 unsigned char.
855 * config/os/gnu-linux/bits/ctype_inline.h: Same.
856
857 * config/os/irix/irix6.5/bits/ctype_inline.h: Same.
858
859 * config/os/solaris/solaris2.5/bits/ctype_inline.h: Same.
860 * config/os/solaris/solaris2.5/bits/ctype_noninline.h: Same.
861
862 * config/os/solaris/solaris2.6/bits/ctype_inline.h: Same.
863 * config/os/solaris/solaris2.6/bits/ctype_noninline.h: Same.
864
865 * config/os/solaris/solaris2.7/bits/ctype_inline.h: Same.
866 * config/os/solaris/solaris2.7/bits/ctype_noninline.h: Same.
867
868 * testsuite/22_locale/ctype_members_char.cc (main): Add tests.
04b7c941 869
fcaa8101
BK
8702002-03-12 Benjamin Kosnik <bkoz@redhat.com>
871
872 * include/bits/basic_string.tcc (string::_S_construct(_InIter,
873 _InIter, const _Alloc&, forward_iterator_tag): Check for null.
874 (string::basic_string(const _CharT* __s, const _Alloc& __a)): Same.
875 * testsuite/21_strings/ctor_copy_dtor.cc (test01): Re-enable, now
876 that memory limits are in place.
877 (test03): Add tests.
04b7c941 878
31f93f90
BK
8792002-03-11 Benjamin Kosnik <bkoz@redhat.com>
880
881 * acinclude.m4 (GLIBCPP_CHECK_WCHAR_T_SUPPORT): Check for wctype.h.
882 * aclocal.m4: Regenerate.
883 * config.h.in: Regenerate.
884 * configure: Regenerate.
885 * include/c_std/std_cwctype.h: Guard.
886
8872002-03-11 Chris Demetriou <cgd@broadcom.com>
888
889 * acinclude.m4 (GLIBCPP_ENABLE_SYMVERS): Enhance check for
890 whether GLIBCPP_CHECK_LINKER_FEATURES has been used.
891 * aclocal.m4: Regenerate.
892 * configure: Regenerate.
893
c2b1bb03
BK
8942002-03-11 Benjamin Kosnik <bkoz@redhat.com>
895
896 * include/bits/stl_bvector.h: Fix warning.
897
172f7610
RH
8982002-03-11 Richard Henderson <rth@redhat.com>
899
900 * include/bits/stl_bvector.h (_Bit_type): New. Use throughout.
901
abd3d600
PE
9022002-03-11 Phil Edwards <pme@gcc.gnu.org>
903
904 * testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3-list-sourcefiles):
905 New function. Build the list of tests to run in testsuite_files.
906 * testsuite/libstdc++-v3.dg/dg.exp: Use it.
907
72c9b062
PE
9082002-03-11 Phil Edwards <pme@gcc.gnu.org>
909
910 * testsuite/21_strings/capacity.cc: Only explicitly instantiate on
911 platforms with no weak support.
912 * testsuite/27_io/ios_init.cc: Likewise.
913
c15892e0
PC
9142002-03-10 Paolo Carlini <pcarlini@unitus.it>
915
916 * include/bits/locale_facets.tcc (time_put::do_put):
917 Consider sizeof(char_type) in allocating the buffer.
918
919 * include/bits/locale_facets.tcc (collate::do_tranform):
920 Remove redundant variable.
921
a10e3b42
UD
9222002-03-10 Ulrich Drepper <drepper@redhat.com>
923 Paolo Carlini <pcarlini@unitus.it>
924
c15892e0
PC
925 * config/locale/generic/collate_members.cc
926 (collate<char,wchar_t>::_M_compare_helper): normalize
927 values returned by strcoll and wcscoll.
928 * config/locale/gnu/collate_members.cc
929 (collate<char,wchar_t>::_M_compare_helper): ditto
930 for __strcoll_l and __wcscoll_l.
a10e3b42 931
660bdf36
AG
9322002-03-10 Anthony Green <green@redhat.com>
933
934 * configure.in: Support cross builds to mingw32 target.
935 * configure: Rebuilt.
936
32c16200
PC
9372002-03-09 Paolo Carlini <pcarlini@unitus.it>
938
939 * include/bits/locale_facets.tcc (collate::do_transform):
940 Rewrite to fix problems with long transformed strings.
941
1fa4bed7
BK
9422002-03-08 Benjamin Kosnik <bkoz@redhat.com>
943
944 * c_locale_generic.cc: Move to...
945 * generic/c_locale.cc
946 * c_locale_generic.h: Move to...
947 * generic/c_locale.h
948 * codecvt_specializations_generic.h: Move to...
949 * generic/codecvt_specializations.h
950 * collate_members_generic.cc: Move to...
951 * generic/collate_members.cc
952 * ctype_members_generic.cc: Move to...
953 * generic/ctype_members.cc
954 * messages_members_generic.cc: Move to...
955 * generic/messages_members.cc
956 * messages_members_generic.h: Move to...
957 * generic/messages_members.h
958 * moneypunct_members_generic.cc: Move to...
959 * generic/monetary_members.cc
960 * numpunct_members_generic.cc: Move to...
961 * generic/numeric_members.cc
962 * time_members_generic.cc: Move to...
963 * generic/time_members.cc
964 * c_locale_gnu.cc: Move to...
965 * gnu/c_locale.cc
966 * c_locale_gnu.h: Move to...
967 * gnu/c_locale.h
968 * collate_members_gnu.cc: Move to...
969 * gnu/collate_members.cc
970 * ctype_members_gnu.cc: Move to...
971 * gnu/ctype_members.cc
972 * messages_members_gnu.cc: Move to...
973 * gnu/messages_members.cc
974 * messages_members_gnu.h: Move to...
975 * gnu/messages_members.h
976 * moneypunct_members_gnu.cc: Move to...
977 * gnu/monetary_members.cc
978 * numpunct_members_gnu.cc: Move to...
979 * gnu/numeric_members.cc
980 * time_members_gnu.cc: Move to...
981 * gnu/time_members.cc
982 * c_locale_ieee_1003.1-200x.cc: Move to...
983 * ieee_1003.1-2001/c_locale.cc
984 * c_locale_ieee_1003.1-200x.h: Move to...
985 * ieee_1003.1-2001/c_locale.h
986 * codecvt_specializations_ieee_1003.1-200x.h: Move to...
987 * ieee_1003.1-2001/codecvt_specializations.h
988 * messages_members_ieee_1003.1-200x.cc: Move to...
989 * ieee_1003.1-2001/messages_members.cc
990 * messages_members_ieee_1003.1-200x.h: Move to...
04b7c941 991 * ieee_1003.1-2001/messages_members.h
1fa4bed7
BK
992
993 * acinclude.m4 (GLIBCPP_ENABLE_CLOCALE): Make consistent.
994 * aclocal.m4: Regenerate.
995 * configure: Regenerate.
996 * src/Makefile.am (sources): Change to monetary and numeric.
997 * src/Makefile.in: Regenerate.
998 * docs/html/configopts.html: Update to ieee_1003.1-2001.
999
44087988
SS
10002002-03-08 scott snyder <snyder@fnal.gov>
1001
1002 libstdc++/5875
1003 * include/bits/locale_facets.tcc (num_put::_M_convert_float):
1004 Allow one more digit of precision.
1005 * testsuite/27_io/ostream_inserter_arith.cc: Test that we can
1006 write a double and read back in the same value.
1007
84979344
BK
10082002-03-08 Benjamin Kosnik <bkoz@redhat.com>
1009
1010 * include/std/std_limits.h: Move static const data members out of
1011 generic template, into base class __numeric_limits_base.
1012 * src/limits.cc: Add definitions.
1013 * config/linker-map.gnu: Add __numeric_limits_base.
1014 * testsuite/18_support/numeric_limits.cc: Declare test in scope.
04b7c941 1015
41b4d44b
BK
10162002-03-07 Benjamin Kosnik <bkoz@redhat.com>
1017
1018 * include/bits/stl_alloc.h: Add extern implicit allocator
1019 instantiations.
1020 * include/bits/basic_string.tcc: Tweak.
1021 * include/bits/locale_facets.tcc: Remove default args. Add
1022 has_facet, use_facet extern instantiations.
1023 * src/stl-inst.cc: Add explicit instantiation.
1024 * src/locale-inst.cc: Clean. Remove locale member template
1025 instantiations.
1026
1027 * testsuite/22_locale/operators.cc (test02): Enable.
1028
d3d526ac
BK
10292002-03-06 Benjamin Kosnik <bkoz@redhat.com>
1030 Stephen M. Webb <stephen.webb@bregmasoft.com>
1031
1032 * include/bits/stl_tree.h (_S_rb_tree_red): Make enum.
1033 (_S_rb_tree_black): Make enum.
1034 Clean. Format.
1035 * include/bits/stl_bvector.h (__WORD_BIT): To _M_word_bit, enum.
1036 * include/bits/stl_algo.h (__stl_chunk_size): _M_chunk_size, enum.
1037 (__stl_threshold): _M_threshold, enum.
1038 * src/stl-inst.cc: Same.
1039 * config/linker-map.gnu: Remove.
04b7c941 1040
d3d526ac 1041 * testsuite/23_containers/vector_bool.cc: New.
04b7c941 1042
037cfe71
PE
10432002-03-06 Phil Edwards <pme@gcc.gnu.org>
1044
1045 * docs/doxygen/user.cfg.in: Also document deprecated entries.
1046 * docs/html/Makefile: Example rule to rebuild porting-howto.html.
1047 * docs/html/17_intro/howto.html: "gcc"->"GCC" changes, when
1048 referring to the collection as a whole. New section on which macros
1049 can be redefined by the user.
1050 * docs/html/19_diagnostics/howto.html: Update note for concepts.
1051 * docs/html/20_util/howto.html: Update link to SGI.
1052 * docs/html/faq/index.html: Update snapshot versions. New entry
1053 on why g++ (but not gcc) must currently predefine certain macros.
1054 * docs/html/faq/index.txt: Regenerated.
1055
1056 * include/bits/basic_string.h (basic_string::_S_construct): Fix
1057 names in declaration.
1058 (basic_string::compare): These are no longer optional.
1059 * include/bits/ostream.tcc: Tweak closing brace placement.
1060 * include/bits/stl_algo.h: Lots of initial doxygen comment hooks.
1061 * include/std/std_sstream.h: Fix typo in comment.
1062 * include/bits/locale_facets.tcc: Remove unneeded header inclusion.
1063 * src/locale.cc: Likewise.
1064
d95336cf
PE
10652002-03-06 Phil Edwards <pme@gcc.gnu.org>
1066
1067 PR libstdc++/5734
1068 * include/bits/stl_vector.h (vector::push_back()): Guard with
1069 _GLIBCPP_DEPRECATED.
1070
de53cb75
PE
10712002-03-06 Phil Edwards <pme@gcc.gnu.org>
1072
1073 * include/bits/c++config: Fix misplaced leading blanks on first line.
1074
251a817e
BK
10752002-03-05 Benjamin Kosnik <bkoz@redhat.com>
1076
1077 * docs/html/17_intro/RELEASE-NOTES: Fix usage.
1078 * README (libmath): Make clear.
1079
d7ac744e
JJ
10802002-03-05 Jakub Jelinek <jakub@redhat.com>
1081
1082 * acinclude.m4 (GLIBCPP_ENABLE_SYMVERS): Check for version
1083 script globbing in ld.
1084 * aclocal.m4: Rebuilt.
1085 * configure: Rebuilt.
1086
c01bfdbf
BK
10872002-03-05 Benjamin Kosnik <bkoz@redhat.com>
1088
1089 * docs/html/17_intro/RELEASE-NOTES: Update.
1090 * README: Format subdirectories.
1091
84eb4879
PC
10922002-03-05 Paolo Carlini <pcarlini@unitus.it>
1093
1094 libstdc++/5816
1095 * include/bits/locale_facets.tcc
1096 (num_get::_M_extract_float): Fix the parsing of __dec, since
1097 the standard prescribes that if no grouping characters are
1098 seen, no grouping check is applied.
1099 * testsuite/22_locale/num_get_members_char.cc: Add test05
1100 distilled from the PR.
1101 * testsuite/22_locale/num_get_members_wchar_t.cc: Ditto.
1102
b890704b
CR
11032002-03-04 Craig Rodrigues <rodrigc@gcc.gnu.org>
1104
04b7c941 1105 * docs/html/17_intro/porting-howto.xml: Refer to
b890704b
CR
1106 http://www.oasis-open.org for docbookx.dtd.
1107 * docs/html/17_intro/porting-howto.html: Regenerated.
1108
798355a2
PE
11092002-03-03 Phil Edwards <pme@gcc.gnu.org>
1110
28ced9f8 1111 PR libstdc++/3955
798355a2
PE
1112 * include/std/std_sstream.h: Remove trailing spaces.
1113 (basic_stringbuf::_M_stringbuf_init): Also check for ios_base::app.
1114 * testsuite/27_io/stringbuf.cc (test05, test06): New tests.
1115
658499e7
PC
11162002-03-02 Paolo Carlini <pcarlini@unitus.it>
1117
1118 * testsuite/22_locale/num_get_members_char.cc (test04):
1119 Use a named locale expecting grouping (de_DE).
1120 * testsuite/22_locale/num_get_members_wchar_t.cc (test04):
1121 Ditto.
1122 * testsuite/27_io/ios_manip_basefield.cc (test01):
1123 Extend coverage, uniform treatment of hexs and octs.
1124
e38ff265
RH
11252002-02-28 Richard Henderson <rth@redhat.com>
1126
1127 * config/linker-map.gnu: Export operator new with unsigned long,
1128 and with std::nothrow_t. Likewise operator delete.
1129
694d519f
PC
11302002-02-28 Paolo Carlini <pcarlini@unitus.it>
1131
1132 * include/bits/locale_facets.tcc (num_get::_M_extract_int):
1133 Admit grouping for octals and hexadecimals too.
1134 * testsuite/22_locale/num_get_members_char.cc: Add test04.
1135 (test01): Tweak "." -> "," in void* test.
1136 * testsuite/22_locale/num_get_members_wchar_t.cc: Ditto.
1137
1138 * testsuite/27_io/ios_manip_basefield.cc: Remove static keyword.
1139 * testsuite/27_io/ios_manip_fmtflags.cc: Remove two of them.
1140
bded68b1
PC
11412002-02-27 Paolo Carlini <pcarlini@unitus.it>
1142
1143 * testsuite/27_io/ios_manip_basefield.cc (test01):
1144 Fix for 64 bit machines.
1145
ac39fabb
BK
11462002-02-26 Benjamin Kosnik <bkoz@redhat.com>
1147
c01bfdbf 1148 libstdc++/3983
ac39fabb
BK
1149 * include/bits/basic_ios.tcc (basic_ios::init): Set _M_fill to zero.
1150 Adjust comment.
1151 * include/bits/basic_ios.h (basic_ios::_M_fill): Make mutable.
1152 (basic_ios::_M_fill_init): New.
3af7d37f 1153 (basic_ios::fill()): Delay dealing with _M_fill.
04b7c941 1154 Adjust comment.
c01bfdbf
BK
1155 * ios.cc (ios_base::ios_base()): Initialize _M_callbacks, _M_words.
1156 (ios_base::_M_call_callbacks): Adjust.
ac39fabb
BK
1157 * testsuite/27_io/ios_init.cc (test02): Adjust testcase.
1158
11592002-02-26 Loren Rittle <ljrittle@acm.org>
79d6ba0b
LR
1160
1161 * include/Makefile.am (thread_target_headers): Unconditionally
1162 stage and install gthr-posix.h.
1163 (${target_builddir}/gthr-posix.h): New rule cloned off
1164 ${target_builddir}/gthr-default.h.
1165 (${target_builddir}/gthr-default.h): Support chained inclusion
1166 of gthr support headers.
1167 * include/Makefile.in: Rebuilt.
1168
2d13abcf
PC
11692002-02-26 Paolo Carlini <pcarlini@unitus.it>
1170
1171 * include/bits/locale_facets.tcc (num_put::_M_widen_int):
1172 Group all the integral types, not only decs.
1173 * testsuite/27_io/ios_manip_basefield.cc (test01): Tweak existing
1174 tests, add a few more.
1175
1bc59af5
BK
11762002-02-25 Benjamin Kosnik <bkoz@redhat.com>
1177
1178 * src/ios.cc (ios_base::~ios_base): Tweak.
1179 (ios_base::_M_call_callbacks): Deal with null __p.
1180 (ios_base::ios_base): Set _M_callbacks.
1181 * include/bits/basic_ios.tcc (basic_ios::init): Adjust comment.
1182 * testsuite/27_io/ios_init.cc (test02): Fix.
c01bfdbf 1183
1bc59af5
BK
1184 * mkcheck.in (static_fail): Failed links go to output file.
1185
14d67586
PE
11862002-02-25 Phil Edwards <pme@gcc.gnu.org>
1187
1188 * docs/html/faq/index.html: Update.
1189 * docs/html/faq/index.txt: Regenerate.
1190
9aa43698
PE
11912002-02-22 Phil Edwards <pme@gcc.gnu.org>
1192
1193 * acinclude.m4 (GLIBCPP_ENABLE_SYMVERS): Fix comment.
1194 * aclocal.m4: Regenerate.
1195 * docs/html/configopts.html: Document --enable-symvers.
1196 * config/linker-map.gnu: Break libsupc++ symbols out to their own tag.
1197
0bc1e80d
PT
11982002-02-22 Philipp Thomas <pthomas@suse.de>
1199
e38ff265
RH
1200 * include/backward/tempbuf.h: get_temporary_buffer and
1201 return_temporary_buffer are in namespace std, not in __gnu_cxx.
0bc1e80d 1202
ab3bc736
BK
12032002-02-21 Benjamin Kosnik <bkoz@redhat.com>
1204
1205 * configure.in (target_alias): Default to yes.
1206 * acinclude.m4 (GLIBCPP_ENABLE_SYMVERS): Add check for shared
04b7c941 1207 libgcc to default case.
ab3bc736 1208
c98b201b
PE
12092002-02-20 Phil Edwards <pme@gcc.gnu.org>
1210
1211 * acinclude.m4 (GLIBCPP_CHECK_LINKER_FEATURES): Also check version.
1212 (GLIBCPP_ENABLE_SYMVERS): Redo logic, use linker version.
1213 * configure.in (GLIBCPP_ENABLE_SYMVERS): Move later in the script.
1214 * aclocal.m4: Regenerate.
1215 * configure: Regenerate.
1216 * config/linker-map.dummy: New file. Contains nothing useful.
1217
04fc1394
BK
12182002-02-20 Benjamin Kosnik <bkoz@redhat.com>
1219
04b7c941 1220 * testsuite/22_locale/money_put_members_char.cc: Fix.
04fc1394
BK
1221 * testsuite/22_locale/money_put_members_wchar_t.cc: Fix.
1222
1223 * testsuite/27_io/standard_manipulators.cc: New file.
1224
1225 * testsuite/27_io/ios_manip_basefield.cc: Check results, now failing.
1226 * testsuite/27_io/ios_manip_fmtflags.cc: Use locale::classic().
04b7c941 1227
be6efd9f
DS
12282002-02-20 Danny Smith <dannysmith@users.sourceforge.net>
1229
1230 * config/os/mingw32/bits/ctype_noninline.h
1231 (ctype<char>::ctype): Remove default args from parm list.
04b7c941 1232 * config/os/djgpp/bits/ctype_noninline.h: Same.
be6efd9f 1233
0d223e3a
BK
12342002-02-19 Benjamin Kosnik <bkoz@redhat.com>
1235
1236 * include/std/std_iomanip.h: Inline, tweaks.
1237 * config/linker-map.gnu: Remove hacks.
1238
1239 * testsuite/21_strings/capacity.cc: Add explicit instantiations.
1240 * testsuite/27_io/ios_init.cc: Same.
1241 * testsuite/22_locale/money_get_members_char.cc (test07): Fix.
1242 * testsuite/22_locale/money_get_members_wchar_t.cc (test07): Same.
1243
9b41c370 12442002-02-19 Benjamin Kosnik <bkoz@redhat.com>
04b7c941 1245
9b41c370
BK
1246 * config/linker-map.gnu: Export global vtable, typeinfo, guard
1247 variable, and thunk info as per CXXABI docs.
1248
42ebb17f
LR
12492002-02-19 Loren Rittle <ljrittle@acm.org>
1250
1251 * include/Makefile.am: Use CONFIG_HEADER instead of ad hoc names.
1252 * include/Makefile.in: Rebuilt.
1253
1c417030
PS
12542002-02-18 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
1255
1256 * testsuite/22_locale/collate_byname.cc (test01): Replace size4
e38ff265 1257 with size3 for the string collations of str5.
1c417030 1258
577f4061
PC
12592002-02-18 Paolo Carlini <pcarlini@unitus.it>
1260
1261 libstdc++/5708
1262 * include/bits/locale_facets.tcc (money_put::do_put):
1263 For the space field use __fill instead of ' ', uniformly.
1264 * testsuite/22_locale/money_put_members_char.cc:
1265 Add test05 distilled from PR.
1266 (test01-02-03): Trim some '*' to ' '.
1267 * testsuite/22_locale/money_put_members_wchar_t.cc: Ditto.
1268
3fcfe88d
LR
12692002-02-18 Loren Rittle <ljrittle@acm.org>
1270
1271 libstdc++/5697
1272 * include/Makefile.am (thread_builddir): Remove (map all
1273 existing uses to target_builddir).
1274 (thread_headers): Rename to...
1275 (thread_target_headers): ...this.
1276 (stamp-thread): Remove.
1277 (stamp-target): Correctly state the position as built.
1278 Update all dependencies to match the new reality. Remove all
1279 dependency calculations on directories.
1280 * include/Makefile.in: Rebuilt.
1281
3b794528
BK
12822002-02-16 Benjamin Kosnik <bkoz@redhat.com>
1283
04b7c941 1284 * include/bits/locale_facets.tcc: Add pragma GCC system_header.
3b794528
BK
1285 * include/bits/fstream.tcc: Same.
1286 * include/bits/sstream.tcc: Same.
1287 * include/bits/ostream.tcc: Same.
1288 * include/bits/istream.tcc: Same.
1289 * include/bits/streambuf.tcc: Same.
1290 * include/bits/basic_ios.tcc: Same.
1291 * include/bits/basic_string.tcc: Same.
1292
b4cce253
BK
12932002-02-15 Benjamin Kosnik <bkoz@redhat.com>
1294
1295 * include/std/std_iosfwd.h: Don't guard typedefs with
1296 _GLIBCPP_USE_WCHAR_T
1297 * include/bits/stringfwd.h: Same.
1298
c7bbe0c4
BK
12992002-02-15 Benjamin Kosnik <bkoz@redhat.com>
1300
1301 * src/locale.cc (moneypunct_byname): Remove definitions.
1302 * include/std/std_streambuf.h (streambuf::operator=): Return.
04b7c941 1303
a32e3c09
BK
13042002-02-15 Benjamin Kosnik <bkoz@redhat.com>
1305
1306 Tune for size.
1307 * src/string-inst.cc (string::_Rep::_S_terminal): Remove redundant
1308 explicit instantiation.
1309 (string::_Rep::_S_max_size): Same.
1310 * include/bits/basic_string.tcc: Add extern explicit
1311 instantiations for string, wstring.
1312 * include/bits/basic_ios.tcc: Add extern explicit instantiations
1313 for ios, wios.
1314 * include/bits/streambuf.tcc: Same, for streambuf, wstreambuf.
1315 * include/bits/istream.tcc: Same, for istream, wistream.
1316 * include/bits/ostream.tcc: Same for ostream, wostream, iostream,
1317 wiostream.
1318 * include/bits/sstream.tcc: Same, for stringbuf, wstringbuf,
1319 istringstream, wistringstream, ostringstream, wostringstream,
1320 stringstream, wstringstream.
1321 * include/bits/fstream.tcc: Same, for filebuf, wfilebuf, ifstream,
1322 wifstream, ofstream, wofstream, fstream, wfstream.
1323 * src/misc-inst.cc: Correct comments.
1324 Add iomanip instantiations for wide streams.
1325 * include/std/std_iomanip.h: Same.
1326 * include/bits/locale_facets.tcc: Same.
04b7c941 1327
a32e3c09
BK
1328 * include/std/std_streambuf.h: Correct
1329 _GLIBCPP_FULLY_COMPLIANT_HEADERS guard.
1330 * include/std/std_sstream.h: Same.
1331 * include/std/std_ostream.h: Same.
1332 * include/std/std_istream.h: Same.
1333 * include/std/std_fstream.h: Same.
1334
1335 * include/std/std_streambuf.h: Add definitions for private copy
1336 ctor and assignment operator.
1337 * include/std/std_istream.h: Remove declared but undefined copy
1338 ctor and assignment operator. This is taken care of in ios_base,
1339 so adding it in the derived class as well is superfluous.
1340 * include/std/std_ostream.h: Same.
1341
1342 * include/bits/basic_ios.h (basic_ios::clear): Don't inline.
1343 * include/bits/basic_ios.tcc (basic_ios::clear): Move definition here.
04b7c941 1344
37cea034 13452002-02-14 Benjamin Kosnik <bkoz@redhat.com>
0b46224d 1346
37cea034
BK
1347 * config/linker-map.gnu: Change tag from GCC_3.1 to GLIBCPP_3.1.
1348 Add typeinfo bits. Smooth.
1349 * aclocal.m4: Regenerate.
1350 * configure: Same.
1351 * src/Makefile.in: Same.
1352
13532001-02-14 Joel Sherrill <joel@OARcorp.com>
1354
1355 * config/cpu/m68k/bits/atomicity.h: Corrected for RTEMS targets
1356 which do not have a CAS instruction.
0b46224d 1357
530539d9
PE
13582002-02-14 Phil Edwards <pme@gcc.gnu.org>
1359
1360 * acinclude.m4 (GLIBCPP_ENABLE_SYMVERS): New macro, initial revision.
1361 * configure.in: Call it.
1362 * config/linker-map.gnu: New file, initial incomplete revision.
1363 * src/Makefile.am: Optionally pass version script to the linker.
1364 * aclocal.m4: Regenerate.
1365 * configure: Regenerate.
1366 * src/Makefile.in: Regenerate.
1367
8dba028f
BK
13682002-02-13 Benjamin Kosnik <bkoz@redhat.com>
1369
1370 * src/localename.cc: Remove stdexcept include.
1371 * src/locale-inst.cc: Same.
1372 * src/locale.cc: Same.
1373 * src/functexcept.cc: Remove string includes.
1374 * include/std/std_bitset.h: Remove stdexcept include.
1375 * testsuite/23_containers/bitset_members.cc: Add stdexcept.
1376 * testsuite/23_containers/bitset_ctor.cc: Same.
1377
13782002-02-11 Benjamin Kosnik <bkoz@redhat.com>
00532602 1379
04b7c941 1380 * include/bits/stl_algo (__stl_threshold): Declare external.
00532602
BK
1381 (__stl_chunk_size): Same.
1382 * include/bits/stl_bvector.h (__WORD_BIT): Same.
1383 * include/bits/stl_tree.h (_S_rb_tree_red): Same.
1384 (_S_rb_tree_black): Same.
1385 * src/stl-inst.cc (__stl_threshold): Define.
1386 (__stl_chunk_size): Same.
1387 (__WORD_BIT): Same.
1388 (_S_rb_tree_red): Same.
1389 (_S_rb_tree_black): Same.
04b7c941 1390
00532602
BK
1391 * config/io/basic_file_libio.h (__basic_file): Add declarations.
1392 * include/bits/basic_file.h: Remove.
1393 * config/io/c_io_stdio.h: Remove _GLIBCPP_BASIC_FILE_ENCAPSULATION
1394 Declare generic types, specialization.
04b7c941 1395 * config/io/basic_file_stdio.cc: Definitions.
00532602
BK
1396 * config/io/c_io_libio.h: Remove _GLIBCPP_BASIC_FILE_INHERITANCE.
1397 Declare generic types.
1398 * include/Makefile.am (bits_headers): Remove basic_file.h.
1399 (extra_target_headers): Change basic_file_model.h to basic_file.h.
1400 (stamp-target): Same.
1401
1402 * include/bits/stl_alloc.h: Tweaks.
04b7c941 1403 * include/bits/localefwd.h: Same.
00532602 1404
4e2f8bcf
AL
14052002-02-11 Aaron W LaFramboise <AWLaFramboise@aol.com>
1406
1407 * include/bits/locale_facets.tcc (collate::do_hash): Fix.
1408 * testsuite/22_locale/collate_members_char.cc (test03): New test.
1409 * testsuite/22_locale/collate_members_wchar_t.cc (test03): Same.
04b7c941 1410
02669b68
PE
14112002-02-10 Phil Edwards <pme@gcc.gnu.org>
1412
1413 * include/bits/stl_algo.h (transform (both signatures), generate_n):
1414 Use __typeof__ in concept checks.
1415
c0d88161
JW
14162002-02-10 Jonathan Wakely <cow@compsoc.man.ac.uk>
1417
1418 * include/bits/stl_algo.h (__median, for_each, find, find_if,
1419 adjacent_find, count, count_if, search, search_n, swap_ranges,
1420 transform, replace, replace_if, replace_copy, replace_copy_if,
1421 generate, generate_n, remove_copy, remove_copy_if, remove, remove_if,
1422 unique, unique_copy, reverse, reverse_copy): Doxygenate.
1423
00532602 14242002-02-08 Benjamin Kosnik <bkoz@redhat.com>
e7d7a7a7
BK
1425
1426 * include/bits/locale_facets.h
1427 (numpunct<_CharT>::_M_initialize_numpunct): Remove definition.
1428 (__timepunct<_CharT>::_M_initialize_timepunct): Same.
1429 (__timepunct<_CharT>::_M_put_helper): Same.
1430 (moneypunct<_CharT, _Intl>::_M_initialize_moneypunct): Same.
1431
1432 * include/bits/fstream.tcc (filebuf::underflow): Remove
1433 __codecvt_type typedef.
1434 (filebuf::_M_convert_to_external): Same.
04b7c941 1435
8f94053d
PE
14362002-02-08 Phil Edwards <pme@gcc.gnu.org>
1437
1438 * docs/doxygen/TODO: Update.
1439 * docs/doxygen/doxygroups.cc: Tweak __gnu_cxx description.
1440 * docs/doxygen/mainpage.html: Add TODO list link.
1441 * docs/doxygen/user.cfg.in: Add @doctodo hook.
1442 * docs/doxygen/tables.html: New file, emoty structure only.
1443
1444 * include/bits/stl_iterator.h: Doxygenate just about everything.
1445 * include/bits/stl_iterator_base_funcs.h: Ditto, clean up spaces.
1446 * include/bits/stl_iterator_base_types.h: Add notes.
1447
ad2a4e2b
SB
14482002-02-07 Stephan Buys <sbproxy@icon.co.za>
1449
1450 * include/bits/stl_map.h: Tweak doxygen markup.
1451 * include/bits/stl_multimap.h: Doxygenate and remove extra spaces.
1452 * include/bits/stl_vector.h: Likewise.
1453
07814743
BK
14542002-02-07 Benjamin Kosnik <bkoz@redhat.com>
1455
1456 libstdc++/5286
1457 libstdc++/3860
1458 * include/std/std_fstream.h (filebuf::__file_type): Change to
1459 __basic_file<char>.
1460 (filebuf::_M_convert_to_external): Declare.
1461 * include/bits/fstream.tcc (filebuf::_M_convert_to_external): Define
1462 codecvt bits for wide streams.
1463 (filebuf::_M_really_overflow): Use it.
1464 (filebuf::underflow): Use codecvt.
04b7c941 1465 * config/locale/codecvt_specializations_ieee_1003.1-200x.h:
07814743
BK
1466 (codecvt<__enc_traits>::do_out): Deal with partial.
1467 (codecvt<__enc_traits>::do_encoding): Return something useful.
1468 * src/codecvt.cc (codecvt<wchar_t>::do_encoding): Return sizeof
1469 wchar_t.
1470 * testsuite/22_locale/codecvt_members_unicode_char.cc (test01):
1471 Change expected encoding output.
1472 (test02): Same.
1473 * testsuite/22_locale/codecvt_members_wchar_t_char.cc (test01): Same.
1474 (test02): Same.
1475
3ab57fab 14762002-02-07 Benjamin Kosnik <bkoz@redhat.com>
e38ff265 1477 Wolfgang Bangerth <wolfgang.bangerth@iwr.uni-heidelberg.de>
04b7c941 1478
3ab57fab
BK
1479 * include/bits/basic_ios.tcc (basic_ios::narrow): Add default value.
1480 (basic_ios::widen): Same.
1481
a092e4eb
PC
14822002-02-07 Paolo Carlini <pcarlini@unitus.it>
1483
1484 * testsuite/22_locale/money_get_members_char.cc:
1485 Add comment, tidy up.
1486 (test01): more "en_HK" tests (without showbase).
1487 * testsuite/22_locale/money_get_members_wchar_t.cc: Ditto.
1488
ef8259b7
LR
14892002-02-06 Loren Rittle <ljrittle@acm.org>
1490
1491 * config/locale/c_locale_generic.cc: Do not trust
1492 _GLIBCPP_HAVE_STRTOF or _GLIBCPP_HAVE_STRTOLD as
1493 set by configure.
1494
99a4deb8
LR
14952002-02-06 Loren Rittle <ljrittle@acm.org>
1496
1497 * acinclude.m4: Add C++ linkage check for strtof.
1498 * aclocal.m4: Rebuilt.
1499 * config.h.in: Rebuilt.
1500 * configure: Rebuilt.
1501 * config/locale/c_locale_generic.cc: Conditionally include
1502 <ieeefp.h>. Improve handling and error checking of float
1503 and long double input for non-C99 configurations.
1504
6662d4c3
PC
15052002-02-06 Paolo Carlini <pcarlini@unitus.it>
1506
1507 * include/bits/locale_facets.tcc (money_get::do_get(string)):
1508 In case money_base::symbol deal properly with multi-char sign
1509 for patterns {X,Y,Z,symbol} and {X,Y,symbol,none}.
1510 * testsuite/22_locale/money_get_members_char.cc: Add test07.
1511 * testsuite/22_locale/money_get_members_wchar_t.cc: Add test07.
1512
e07554eb
PC
15132002-02-05 Paolo Carlini <pcarlini@unitus.it>
1514
1515 * include/bits/locale_facets.tcc (money_get::do_get(string)):
1516 First construct a tentative returned string, then, only if the
1517 parsing succeeds, copy it into the string passed by reference.
1518 * testsuite/22_locale/money_get_members_char.cc: Add test06.
1519 * testsuite/22_locale/money_get_members_wchar_t.cc: Add test06.
1520
fd58f127
PE
15212002-02-04 Phil Edwards <pme@gcc.gnu.org>
1522
1523 * docs/doxygen/TODO: Impl-defined behavior now documented...
1524 * docs/html/17_intro/howto.html: ...here.
1525 * docs/doxygen/mainpage.doxy: Remove, rename...
1526 * docs/doxygen/mainpage.html: ...to this. Tweak HTML, add license.
1527 * docs/doxygen/style.css: Add small text.
1528 * docs/doxygen/run_doxygen: Adjust for new mainpage.
1529 * docs/doxygen/user.cfg.in: Likewise.
1530
ad2a4e2b 15312002-02-04 Stephan Buys <sbproxy@icon.co.za>
fd58f127
PE
1532
1533 * include/bits/stl_map.h: Initial doxygen markup.
1534 * include/std/std_fstream.h: Initial doxygen markup.
1535
53804e7c
PC
15362002-02-04 Paolo Carlini <pcarlini@unitus.it>
1537
1538 libstdc++/5579
1539 * include/bits/locale_facets.tcc (money_get::do_get(string)):
1540 Deal correctly with !(__io.flags() & ios_base::showbase)
1541 for case money_base::symbol.
1542 * testsuite/22_locale/money_get_members_char.cc: Add test05.
1543 * testsuite/22_locale/money_get_members_wchar_t.cc: Add test05.
1544
b6f642d5
PC
15452002-02-02 Paolo Carlini <pcarlini@unitus.it>
1546
1547 * testsuite/22_locale/operators.cc
1548 (gnu_collate::do_compare()): Add return statement to
1549 suppress "no return statement" warning.
1550
866c9e66
PC
15512002-02-01 Paolo Carlini <pcarlini@unitus.it>
1552
1553 * testsuite/27_io/ostream_manip.cc: Enable test02.
1554
00181da3
PE
15552002-02-01 Phil Edwards <pme@gcc.gnu.org>
1556
1557 * docs/html/documentation.html: Update for 3.0.96.
1558 * docs/html/faq/index.html: Update for 3.0.96.
1559 * docs/html/faq/index.txt: Regenerated.
1560 * docs/doxygen/TODO: Update notes.
1561 * docs/html/17_intro/howto.html: Initial impl-specific listing.
1562
6f48900c
BK
15632002-01-31 Benjamin Kosnik <bkoz@redhat.com>
1564
1565 * config/locale/codecvt_specializations_ieee_1003.1-200x.h:
1566 Initialize all data members in copy ctor. Make ctors explicit.
1567 (__enc_traits::__enc_traits()): Default ctor does nothing.
1568 (__enc_traits::_M_init): Guard against multiple iconv_opens.
1569 * include/std/std_sstream.h (basic_stringbuf): Make data members
1570 protected.
1571 * include/std/std_fstream.h (basic_filebuf): Same.
1572 * include/std/std_streambuf.h: Tweak.
1573 * include/bits/streambuf.tcc: Same.
1574 * include/bits/sstream.tcc: Same.
04b7c941 1575 * include/bits/fstream.tcc: Same.
6f48900c 1576
4a78d864
LR
15772002-01-31 Loren Rittle <ljrittle@acm.org>
1578
1579 * testsuite/22_locale/codecvt_members_char_char.cc: Do not
1580 allow NULL argument to be passed to setenv().
1581 * testsuite/22_locale/codecvt_members_wchar_t_char.cc: Likewise.
1582 * testsuite/22_locale/collate_members_char.cc: Likewise.
1583 * testsuite/22_locale/collate_members_wchar_t.cc: Likewise.
1584 * testsuite/22_locale/ctype_members_char.cc: Likewise.
1585 * testsuite/22_locale/ctype_members_wchar_t.cc: Likewise.
1586 * testsuite/22_locale/messages_members_char.cc: Likewise.
1587 * testsuite/22_locale/money_get_members_char.cc: Likewise.
1588 * testsuite/22_locale/money_get_members_wchar_t.cc: Likewise.
1589 * testsuite/22_locale/money_put_members_char.cc: Likewise.
1590 * testsuite/22_locale/money_put_members_wchar_t.cc: Likewise.
1591 * testsuite/22_locale/moneypunct_members_char.cc: Likewise.
1592 * testsuite/22_locale/moneypunct_members_wchar_t.cc: Likewise.
1593 * testsuite/22_locale/num_get_members_char.cc: Likewise.
1594 * testsuite/22_locale/num_get_members_wchar_t.cc: Likewise.
1595 * testsuite/22_locale/num_put_members_char.cc: Likewise.
1596 * testsuite/22_locale/num_put_members_wchar_t.cc: Likewise.
1597 * testsuite/22_locale/numpunct_members_char.cc: Likewise.
1598 * testsuite/22_locale/numpunct_members_wchar_t.cc: Likewise.
1599 * testsuite/22_locale/time_get_members_char.cc: Likewise.
1600 * testsuite/22_locale/time_get_members_wchar_t.cc: Likewise.
1601 * testsuite/22_locale/time_put_members_char.cc: Likewise.
1602 * testsuite/22_locale/time_put_members_wchar_t.cc: Likewise.
1603
2a4e6407
BK
16042002-01-30 Benjamin Kosnik <bkoz@redhat.com>
1605
1606 * config/locale/c_locale_gnu.cc: Same errno fixes as generic.
1607
f5d09ce7
BK
1608 * ChangeLog-2001: Fix spelling errors...
1609 * docs/html/17_intro/RELEASE-NOTES: Update.
1610 * docs/html/17_intro/TODO: Update.
1611 * README (file): Update.
04b7c941 1612
2083b5be
LR
16132002-01-30 Loren Rittle <ljrittle@acm.org>
1614
1615 * config/locale/c_locale_generic.cc: Check errno for ERANGE
1616 instead of non-zero to aid portability.
1617
c3a7de6a
PS
16182002-01-30 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
1619
1620 * docs/html/22_locale/messages.html: Fix example code.
1621
2a4a2f1d
RH
16222002-01-30 Richard Henderson <rth@redhat.com>
1623
1624 * testsuite/27_io/ostream_inserter_arith.cc (test03_check): Break
1625 out from test03 and templatize.
1626 (test03): Use it.
1627
f2e7381d
PC
16282002-01-30 Paolo Carlini <pcarlini@unitus.it>
1629
1630 * config/locale/numpunct_members_gnu.cc
1631 (numpunct<char, wchar_t>::_M_initialize_numpunct()):
1632 Fix initialization of _M_grouping for locales which have
1633 _M_thousands_sep == '\0'(L'\0', respectively).
1634 * testsuite/22_locale/numpunct_byname.cc (test02): Add test.
1635
a852d50f
PC
16362002-01-30 Paolo Carlini <pcarlini@unitus.it>
1637
1638 * testsuite/27_io/ostream_inserter_arith.cc (test03):
1639 Better fix for 32/64 bit architectures, avoiding the
1640 implicit assumption that CHAR_BIT == 8.
1641
ffe94f83
PE
16422002-01-28 Phil Edwards <pme@gcc.gnu.org>
1643
1644 * Makefile.am (doxygen, doxygen-maint, doxygen-man): Tweak targets.
1645 * Makefile.in: Regenerate.
1646
1647 * docs/doxygen/run_doxygen: Update, mostly for man pages.
1648 * docs/doxygen/Intro.3: Update.
1649 * docs/doxygen/TODO: Update.
1650 * docs/doxygen/doxygroups.cc: Add namespace hook for __gnu_cxx.
1651 * docs/doxygen/mainpage.doxy: Update.
1652 * docs/doxygen/user.cfg.in: Update for header rename. Also
1653 regenerate comments and variables with 1.2.12.
1654 * docs/doxygen/maint.cfg.in: Remove file.
1655
1656 * include/bits/stl_relops.h: Doxygenate.
1657 * include/bits/stl_tempbuf.h (std::_Temporary_buffer): Likewise.
1658
1659 * include/c_std/std_cassert.h, include/c_std/std_cctype.h,
1660 include/c_std/std_cerrno.h, include/c_std/std_cfloat.h,
1661 include/c_std/std_ciso646.h, include/c_std/std_climits.h,
1662 include/c_std/std_clocale.h, include/c_std/std_cmath.h,
1663 include/c_std/std_csetjmp.h, include/c_std/std_csignal.h,
1664 include/c_std/std_cstdarg.h, include/c_std/std_cstddef.h,
1665 include/c_std/std_cstdio.h, include/c_std/std_cstdlib.h,
1666 include/c_std/std_cstring.h, include/c_std/std_ctime.h,
1667 include/c_std/std_cwchar.h, include/c_std/std_cwctype.h,
1668 include/ext/algorithm, include/ext/functional, include/ext/hash_map,
1669 include/ext/hash_set, include/ext/iterator, include/ext/memory,
1670 include/ext/numeric, include/ext/rb_tree, include/ext/rope,
1671 include/ext/ropeimpl.h, include/ext/slist, include/ext/stl_hash_fun.h,
1672 include/ext/stl_hashtable.h, include/ext/stl_rope.h,
1673 include/std/std_algorithm.h, include/std/std_bitset.h,
1674 include/std/std_complex.h, include/std/std_deque.h,
1675 include/std/std_fstream.h, include/std/std_functional.h,
1676 include/std/std_iomanip.h, include/std/std_ios.h,
1677 include/std/std_iosfwd.h, include/std/std_iostream.h,
1678 include/std/std_istream.h, include/std/std_iterator.h,
1679 include/std/std_limits.h, include/std/std_list.h,
1680 include/std/std_locale.h, include/std/std_map.h,
1681 include/std/std_memory.h, include/std/std_numeric.h,
1682 include/std/std_ostream.h, include/std/std_queue.h,
1683 include/std/std_set.h, include/std/std_sstream.h,
1684 include/std/std_stack.h, include/std/std_stdexcept.h,
1685 include/std/std_streambuf.h, include/std/std_string.h,
1686 include/std/std_utility.h, include/std/std_valarray.h,
1687 include/std/std_vector.h: Add/correct @file doxygen hook.
1688
1689 * include/ext/memory: Doxygenate most of rest of file.
1690 * libsupc++/exception: Doxygen output formatting.
1691 * libsupc++/new: Say which header it is.
1692
1693 * testsuite/lib/libstdc++-v3-dg.exp: Fix spacing.
1694 * docs/html/19_diagnostics/howto.html: Describe concept-checks switch.
1695 * docs/html/23_containers/howto.html: Describe O(n) list::size().
1696 * docs/html/27_io/howto.html: Also link to Langer and Kreft text.
1697
11e17422 16982002-01-28 Paolo Carlini <pcarlini@unitus.it>
e38ff265 1699 Charles Leggett <CGLeggett@lbl.gov>
11e17422
PC
1700
1701 * testsuite/27_io/filebuf_members.cc (test_05): Add test.
1702
4debe14d
PC
17032002-01-28 Paolo Carlini <pcarlini@unitus.it>
1704
1705 * testsuite/27_io/ostream_inserter_arith.cc (test03):
1706 Fix to deal correctly with both 32 bit and 64 bit architectures
1707
63b3a44f
LR
17082002-01-25 Loren Rittle <ljrittle@acm.org>
1709
1710 * testsuite/thread/pthread1.cc: Use one condition variable
1711 per predicate instead of tricky use of one condition variable.
1712
e6705174
BK
17132002-01-25 Benjamin Kosnik <bkoz@redhat.com>
1714
1715 * include/bits/fstream.tcc (filebuf::close()): Fix close for input
1716 streams.
1717 (filebuf::_M_really_overflow): Match indeterminate and sync calls.
1718 * testsuite/27_io/filebuf.cc: Compile only.
1719 * testsuite/27_io/filebuf_members.cc: Move tests to here.
1720 * testsuite/27_io/filebuf_virtuals.cc: And here.
1721 Revert sungetc, sync changes for expected values.
1722 * testsuite/27_io/filebuf-*: Move to...
1723 * testsuite/27_io/filebuf_virtuals-*: ...here.
1724 * testsuite/27_io/istream.cc: Compile only, activate.
1725 * testsuite/27_io/ostream.cc: Same.
1726 * testsuite/27_io/iostream.cc: New.
1727 * testsuite/27_io/iostream_members.cc: New.
1728
a68d024d
DB
17292002-01-25 David Billinghurst <David.Billinghurst@riotinto.com>
1730
1731 * testsuite/thread/pthread1.cc: Enable on cygwin.
1732 * testsuite/thread/pthread2.cc: Likewise.
1733 * testsuite/thread/pthread3.cc: Likewise.
1734 * testsuite/thread/pthread4.cc: Likewise.
1735 * testsuite/thread/pthread5.cc: Likewise.
1736 * testsuite/thread/pthread6.cc: Likewise.
1737
3a9ebf3c
BK
17382002-01-24 Benjamin Kosnik <bkoz@redhat.com>
1739
04b7c941
PE
1740 * testsuite/27_io/ostream_inserter_char.cc (test07): New.
1741
3a9ebf3c
BK
17422002-01-24 Benjamin Kosnik <bkoz@redhat.com>
1743
1744 * include/bits/basic_ios.h (basic_ios::_M_check_facet): Make
1745 const, tweak.
04b7c941 1746 (basic_ios::fill(char_type)): Use fill().
3a9ebf3c
BK
1747 * include/bits/basic_ios.tcc (basic_ios::widen): Use _M_check_facet.
1748 (basic_ios::narrow): Same.
1749 (basic_ios::_M_cache_facets): Explicitly set cached facets to zero
1750 if they are invalid.
1751 (basic_ios::init): Comment.
1752 * testsuite/27_io/ios_init.cc (test02): New.
04b7c941 1753
6b20f9b5
PE
17542002-01-24 Phil Edwards <pme@gcc.gnu.org>
1755
1756 * include/bits/stl_tempbuf.h (_Temporary_buffer): Add doxygen hook.
1757 * include/bits/stl_algo.h: Include stl_tempbuf.h.
1758 * include/ext/memory: Do not include stl_tempbuf.h.
1759 (temporary_buffer): Add doxygen hook.
1760 (__get_temporary_buffer, get_temporary_buffer,
1761 return_temporary_buffer): Move back to std:: header...
1762 * include/std/std_memory.h: ...here. Do not include stl_tempbuf.h.
1763 * include/ext/rope: Do not include stl_tempbuf.h.
1764 * include/ext/stl_hashtable.h: Likewise.
1765 * include/std/std_algorithm.h: Likewise.
1766 * testsuite/20_util/temporary_buffer.cc: New file.
1767
17325050
AP
17682002-01-24 andrew@andypo.net
1769 (tweaks, test and commit by Loren J. Rittle <ljrittle@acm.org>)
1770
1771 libstdc++/5432
1772 * include/bits/ios_base.h: Use _Atomic_word for reference counts.
1773 * include/bits/localefwd.h: Likewise.
1774 Also use for std::locale::id::_S_highwater.
1775 * src/ios.cc (ios_base::xalloc): Use _Atomic_word.
1776 * src/locale.cc: Support new usage of _Atomic_word.
1777 (std::locale::classic): Guard entire function against reentry.
1778 * src/localename.cc: Support new usage of _Atomic_word.
1779
b6a95741
BK
17802002-01-24 Benjamin Kosnik <bkoz@redhat.com>
1781
1782 * testsuite/22_locale/num_put_members_wchar_t.cc (test03): Use
1783 _GLIBCPP_HAVE_SETENV.
1784 * testsuite/22_locale/codecvt_members_wchar_t_char.cc (test02): Same.
1785 * testsuite/22_locale/collate_members_char.cc (test02): Same.
1786 * testsuite/22_locale/ctype_members_char.cc (test03): Same.
1787 * testsuite/22_locale/ctype_members_wchar_t.cc (test03): Same.
1788 * testsuite/22_locale/messages_members_char.cc (test02): Same.
1789 * testsuite/22_locale/moneypunct_members_char.cc (test02): Same.
1790 * testsuite/22_locale/moneypunct_members_wchar_t.cc (test02): Same.
1791 * testsuite/22_locale/money_put_members_char.cc (test04): Same.
1792 * testsuite/22_locale/money_put_members_wchar_t.cc (test04): Same.
1793 * testsuite/22_locale/num_get_members_char.cc (test03): Same.
1794 * testsuite/22_locale/num_get_members_wchar_t.cc (test03): Same.
1795 * testsuite/22_locale/numpunct_members_char.cc (test02): Same.
1796 * testsuite/22_locale/numpunct_members_wchar_t.cc (test02): Same.
1797 * testsuite/22_locale/time_get_members_char.cc (test07): Same.
1798 * testsuite/22_locale/time_get_members_wchar_t.cc (test07): Same.
1799 * testsuite/22_locale/time_put_members_char.cc (test03): Same.
1800 * testsuite/22_locale/time_put_members_wchar_t.cc (test03): Same.
1801 * testsuite/22_locale/num_put_members_char.cc (test03): Same.
1802 * acinclude.m4 (GLIBCPP_CONFIGURE_TESTSUITE): Check for setenv.
1803 * aclocal.m4: Regenerate.
1804 * configure: Regenerate.
1805 * config.h.in: Regenerate.
04b7c941 1806
ddd69607
LR
18072002-01-23 Loren Rittle <ljrittle@acm.org>
1808
1809 * testsuite/thread/pthread1.cc: New test.
1810 * testsuite/thread/pthread2.cc: New test adapted from libstdc++/5347.
1811 * testsuite/thread/pthread3.cc: Likewise.
1812 * testsuite/thread/pthread4.cc: New test adapted from
1813 http://gcc.gnu.org/ml/gcc-bugs/2002-01/msg00679.html
1814 * testsuite/thread/pthread5.cc: New test adapted from libstdc++/5464.
1815 * testsuite/thread/pthread6.cc: New test adapted from libstdc++/5444.
1816
acae253e
RH
18172002-01-23 Richard Henderson <rth@redhat.com>
1818
1819 PR libstdc++/5198
1820 * config/cpu/m68k/bits/atomicity.h (__exchange_and_add): Only use
1821 CAS on the cpu variants that support it. Add versions that use
1822 TAS and that disable interrupts.
1823 (__atomic_add): Use __exchange_and_add to guarantee atomicity.
1824
aac0eb5d
BK
18252002-01-23 Matt Kraai <kraai@alumni.cmu.edu>
1826
1827 * include/bits/locale_facets.tcc: Remove old comments.
1828
18292002-01-23 Andreas Tobler <toa@pop.agri.ch>
1830
1831 * include/bits/locale_facets.tcc (__convert_to_v): Change template
1832 parameter to _Tv.
1833 (__convert_from_v): Same.
04b7c941 1834
5b1a7610
BK
18352002-01-23 Benjamin Kosnik <bkoz@redhat.com>
1836
1837 * include/bits/locale_facets.h (num_get::_M_extract_int): Change
1838 prototype.
1839 * include/bits/locale_facets.tcc (num_get::_M_extract_int): Remove
1840 __max_digits checks, adjust arguments.
1841 (num_get::do_get(*)): Changeup.
1842
d419f1cd
LR
18432002-01-23 Loren Rittle <ljrittle@acm.org>
1844
e38ff265 1845 * config/locale/c_locale_generic.cc: Fix typename usage.
d419f1cd 1846
9b6e0e57
BK
18472002-01-22 Benjamin Kosnik <bkoz@redhat.com>
1848
1849 * config/locale/c_locale_generic.cc: Fix.
1850
183490ec
BK
18512002-01-22 Benjamin Kosnik <bkoz@redhat.com>
1852
1853 * docs/html/22_locale/messages.html: Remove angle brackets.
1854 * docs/html/17_intro/TODO: Add.
04b7c941 1855
b4ae79f7
PC
18562002-01-22 Paolo Carlini <pcarlini@unitus.it>
1857
1858 * testsuite/27_io/ios_manip_basefield.cc: Enable test02.
1859 * testsuite/27_io/ostream_inserter_arith.cc: Enable test03.
1860 * testsuite/27_io/ostream_inserter_char.cc: Enable test01.
1861 * testsuite/27_io/ostream_inserter_other.cc: Enable test04.
1862
4b9aaf63
BK
18632002-01-22 Benjamin Kosnik <bkoz@redhat.com>
1864
1865 Audit for LANG independence.
1866 * include/bits/localefwd.h: Tweaks.
1867 * include/bits/locale_facets.tcc (money_get::do_get(long double)):
1868 Use __convert_to_v.
1869 (time_get::do_get_year): Same.
1870 (__convert_from_v): Add.
1871 (num_put::_M_convert_float): Use.
1872 (num_put::_M_convert_int): Same.
1873 (money_put::do_put): Same.
04b7c941 1874
4b9aaf63
BK
1875 * src/locale-inst.cc: Add instantiations for __convert_from_v.
1876 * config/locale/time_members_gnu.cc: Cleanup setlocale usage.
04b7c941 1877 * config/locale/time_members_generic.cc:
4b9aaf63
BK
1878 * config/locale/messages_members_gnu.cc: Same.
1879 * config/locale/messages_members_gnu.h: Same.
04b7c941 1880
4b9aaf63
BK
1881 * testsuite/22_locale/codecvt_members_wchar_t_char.cc (test02): New.
1882 * testsuite/22_locale/codecvt_members_char_char.cc (test02): New.
1883 * testsuite/22_locale/collate_members_wchar_t.cc (test02): New.
1884 * testsuite/22_locale/collate_members_char.cc (test02): New.
1885 * testsuite/22_locale/ctype_members_wchar_t.cc (test03): New.
1886 * testsuite/22_locale/ctype_members_char.cc (test03): New.
1887 * testsuite/22_locale/messages_members_char.cc (test02): New.
1888 * testsuite/22_locale/moneypunct_members_wchar_t.cc (test02): New.
1889 * testsuite/22_locale/moneypunct_members_char.cc (test02): New.
1890 * testsuite/22_locale/money_get_members_wchar_t.cc (test04): New.
1891 * testsuite/22_locale/money_get_members_char.cc (test04): New.
1892 * testsuite/22_locale/money_put_members_wchar_t.cc (test04): New.
1893 * testsuite/22_locale/money_put_members_char.cc (test04): New.
1894 * testsuite/22_locale/numpunct_members_wchar_t.cc (test02): New.
1895 * testsuite/22_locale/numpunct_members_char.cc (test02): New.
1896 * testsuite/22_locale/time_put_members_wchar_t.cc (test03): New.
1897 * testsuite/22_locale/time_put_members_char.cc (test03): New.
1898 * testsuite/22_locale/time_get_members_wchar_t.cc (test07): New.
1899 * testsuite/22_locale/time_get_members_char.cc (test07): New.
1900 * testsuite/22_locale/num_get_members_wchar_t.cc (test03): New.
1901 * testsuite/22_locale/num_get_members_char.cc (test03): New.
1902 * testsuite/22_locale/num_put_members_wchar_t.cc (test03): New.
1903 * testsuite/22_locale/num_put_members_char.cc (test03): New.
1904
1905 * testsuite/22_locale/time_get_members_char.cc: Fixups for global
1906 locale issues.
1907 * testsuite/22_locale/time_get_members_char.cc: Same.
04b7c941 1908
4b9aaf63
BK
19092002-01-22 Benjamin Kosnik <bkoz@redhat.com>
1910
1911 libstdc++/5280
1912 * include/bits/localefwd.h: Tweak comments.
1913 * include/bits/locale_facets.h (__convert_to_v): Add.
1914 * include/bits/locale_facets.tcc (num_get::do_get(double)): Use it.
1915 (num_get::do_get(float)): Same.
1916 (num_get::do_get(long double)): Same.
1917 (num_get::do_get(bool)): Same.
1918 (num_get::do_get(long)): Same.
1919 (num_get::do_get(long long)): Same.
1920 (num_get::do_get(unsigned int)): Same.
1921 (num_get::do_get(unsigned short)): Same.
1922 (num_get::do_get(unsigned long)): Same.
1923 (num_get::do_get(unsigned long long)): Same.
1924 * config/locale/c_locale_gnu.cc (__convert_to_v): Specialize.
1925 * config/locale/c_locale_generic.cc: Same.
04b7c941 1926
73249e33
LR
19272002-01-22 Loren Rittle <ljrittle@acm.org>
1928
1929 * include/Makefile.am (c_base_builddir): Remove redundant slash.
1930 (std_builddir): Likewise.
1931 (std_headers_rename): Fix cut-n-paste typo.
1932 (install-data-local): Concat path per element instead of once to
1933 first element of list.
1934 * include/Makefile.in: Rebuilt.
1935
a0e073b2
BK
19362002-01-22 Benjamin Kosnik <bkoz@redhat.com>
1937
1938 * config/os/aix/bits/ctype_noninline.h: Fix formatting.
1939 * config/os/bsd/netbsd/bits/ctype_noninline.h: Fix typo.
1940 * config/os/bsd/freebsd/bits/ctype_noninline.h: Fix formatting.
1941
93dbe8d7
BK
19422002-01-20 Benjamin Kosnik <bkoz@redhat.com>
1943
1944 * include/bits/locale_facets.h (ctype<char>::classic_table):
1945 Remove definition.
1946 (ctype<char>::_S_ctable): Remove.
1947 * config/os/gnu-linux/bits/ctype_noninline.h
1948 (ctype<char>::_S_table): Remove definition.
1949 (ctype<char>::classic_table): Define.
1950 (ctype<char>::ctype): Replace _S_ctable with classic_table().
1951 * config/os/aix/bits/ctype_noninline.h: Same.
1952 * config/os/bsd/freebsd/bits/ctype_noninline.h: Same.
1953 * config/os/bsd/netbsd/bits/ctype_noninline.h: Same.
1954 * config/os/djgpp/bits/ctype_noninline.h: Same.
1955 * config/os/generic/bits/ctype_noninline.h: Same.
1956 * config/os/gnu-linux/bits/ctype_noninline.h: Same.
1957 * config/os/hpux/bits/ctype_noninline.h: Same.
1958 * config/os/irix/irix5.2/bits/ctype_noninline.h: Same.
1959 * config/os/irix/irix6.5/bits/ctype_noninline.h: Same.
1960 * config/os/mingw32/bits/ctype_noninline.h: Same.
1961 * config/os/newlib/bits/ctype_noninline.h: Same.
1962 * config/os/solaris/solaris2.5/bits/ctype_noninline.h: Same.
1963 * config/os/solaris/solaris2.6/bits/ctype_noninline.h: Same.
1964 * config/os/solaris/solaris2.7/bits/ctype_noninline.h: Same.
1965
19662002-01-20 Danny Smith <dannysmith@users.sourceforge.net>
1967
1968 * config/os/mingw32/bits/ctype_noninline.h: Declare _ctype instead
1969 of _pctype. Use to define _S_ctable. Add definition for alternate
1970 ctor. Initialise _M_ctable to _S_ctable in ctors.
1971 (do_toupper, do_tolower): Use inline code appropriate for C-locale
1972 rather than ::toupper, ::tolower.
1973
46827fdd
LR
19742002-01-18 Loren Rittle <ljrittle@acm.org>
1975
1976 * testsuite/18_support/numeric_limits.cc (test_extrema<long double>):
1977 Add specialization for FreeBSD systems only to avoid losing test
1978 only due to extra precision unmentioned in system headers.
1979
d4286526
DB
19802002-01-18 David Billinghurst <David.Billinghurst@riotinto.com>
1981
1982 * config/os/irix/irix6.5/bits/ctype_noninline.h: Fix typo
1983
c4297522
NC
19842002-01-17 Nick Clifton <nickc@cambridge.redhat.com>
1985
ccc643e2
NC
1986 * testsuite/testsuite_hooks.h: Fix comment typo. Memory
1987 limiting is only attempted if _GLIBCPP_MEM_LIMIT is defined.
c4297522 1988
715e5616 19892002-01-17 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
04b7c941 1990
715e5616
PS
1991 * testsuite/22_locale/ctor_copy_dtor.cc: Remove check.
1992
34e3a8d5
DE
19932002-01-17 David Edelsohn <edelsohn@gnu.org>
1994
1995 * configure.target: Define OPT_LDFLAGS for AIX case.
1996
2bcb0aa0
GDR
19972002-01-17 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
1998
1999 * include/std/std_limits.h (__glibcpp_float_has_quiet_NaN,
2000 __glibcpp_double_has_quiet_NaN): Correct mispelling.
2001
02c361a4
AT
20022002-01-17 Andreas Tobler <toa@pop.agri.ch>
2003
2004 * config/os/solaris/solaris2.6/bits/ctype_noninline.h: Fix.
2005
654421eb
DE
20062002-01-16 David Edelsohn <dje@watson.ibm.com>
2007
2008 * acinclude.m4 (GLIBCPP_CHECK_LINKER_FEATURES): Do not clear
2009 SECTION_LDFLAGS and OPT_LDFLAGS. Fix ac_sectionLDflags type.
2010 * aclocal.m4: Regenerate.
2011 * configure: Regenerate.
04b7c941 2012
8f7a4015 20132002-01-16 Benjamin Kosnik <bkoz@redhat.com>
8f7a4015 2014
c5535768
BK
2015 * include/Makefile.am (c_base_headers_rename): New.
2016 (c_base_headers_extra): New.
2017 (stamp-c_base): Modify.
2018 (install-data-local): Use both.
2019 * include/Makefile.in: Regenerate.
2020 * include/c/[cctype ciso646 cmath cstdarg cstdlib cerrno climits
2021 csetjmp cstddef cstring cwchar cassert cfloat clocale csignal
2022 cstdio ctime cwctype]: Move to..
2023 * include/c/std_*: Here.
2024 * include/c_std/[cctype ciso646 cmath cstdarg cstdlib cerrno climits
2025 csetjmp cstddef cstring cwchar cassert cfloat clocale csignal
2026 cstdio ctime cwctype]: Move to..
2027 * include/c_std/std_*: Here.
2028
04b7c941 2029 Alexandre Oliva <aoliva@redhat.com>
c5535768
BK
2030 * include/Makefile.am (.PRECIOUS): Add rule.
2031 * include/Makefile.in: Regenerate.
04b7c941 2032
c5535768 20332002-01-16 Benjamin Kosnik <bkoz@redhat.com>
e38ff265 2034 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
04b7c941 2035
8f7a4015
BK
2036 * include/bits/stl_iterator.h (reverse_iterator::_M_current):
2037 Deuglify, should be current.
2038 (back_insert_iterator::_M_container): Deuglify, should be container.
04b7c941 2039 (front_insert_iterator::_M_container): Same.
8f7a4015
BK
2040 (insert_iterator::_M_container): Same.
2041 * testsuite/24_iterators/reverse_iterator.cc: Add check.
04b7c941 2042 * testsuite/24_iterators/back_insert_iterator.cc: Add check.
8f7a4015
BK
2043 * testsuite/24_iterators/front_insert_iterator.cc: Same.
2044 * testsuite/24_iterators/insert_iterator.cc: Same.
04b7c941 2045
8f7a4015
BK
20462002-01-16 Benjamin Kosnik <bkoz@redhat.com>
2047
2048 * include/bits/locale_facets.h (ctype<char>::classic_table): Make
2049 static.
2050 (ctype<char>::_M_ctable): Make static, change name to _S_ctable.
2051 * config/os/gnu-linux/bits/ctype_noninline.h: Define _S_ctable.
2052 * config/os/solaris/solaris2.7/bits/ctype_noninline.h: Same.
2053 * config/os/solaris/solaris2.6/bits/ctype_noninline.h: Same.
2054 * config/os/solaris/solaris2.5/bits/ctype_noninline.h: Same.
2055 * config/os/newlib/bits/ctype_noninline.h: Same.
2056 * config/os/irix/irix6.5/bits/ctype_noninline.h: Same.
2057 * config/os/irix/irix5.2/bits/ctype_noninline.h: Same.
2058 * config/os/hpux/bits/ctype_noninline.h: Same.
2059 * config/os/djgpp/bits/ctype_noninline.h: Same.
2060 * config/os/bsd/netbsd/bits/ctype_noninline.h: Same.
2061 * config/os/bsd/freebsd/bits/ctype_noninline.h: Same.
2062 * config/os/aix/bits/ctype_noninline.h: Same.
04b7c941
PE
2063
2064