1 2002-01-25 Loren Rittle <ljrittle@acm.org>
3 * testsuite/thread/pthread1.cc: Use one condition variable
4 per predicate instead of tricky use of one condition variable.
6 2002-01-25 Benjamin Kosnik <bkoz@redhat.com>
8 * include/bits/fstream.tcc (filebuf::close()): Fix close for input
10 (filebuf::_M_really_overflow): Match indeterminate and sync calls.
11 * testsuite/27_io/filebuf.cc: Compile only.
12 * testsuite/27_io/filebuf_members.cc: Move tests to here.
13 * testsuite/27_io/filebuf_virtuals.cc: And here.
14 Revert sungetc, sync changes for expected values.
15 * testsuite/27_io/filebuf-*: Move to...
16 * testsuite/27_io/filebuf_virtuals-*: ...here.
17 * testsuite/27_io/istream.cc: Compile only, activate.
18 * testsuite/27_io/ostream.cc: Same.
19 * testsuite/27_io/iostream.cc: New.
20 * testsuite/27_io/iostream_members.cc: New.
22 2002-01-25 David Billinghurst <David.Billinghurst@riotinto.com>
24 * testsuite/thread/pthread1.cc: Enable on cygwin.
25 * testsuite/thread/pthread2.cc: Likewise.
26 * testsuite/thread/pthread3.cc: Likewise.
27 * testsuite/thread/pthread4.cc: Likewise.
28 * testsuite/thread/pthread5.cc: Likewise.
29 * testsuite/thread/pthread6.cc: Likewise.
31 2002-01-24 Benjamin Kosnik <bkoz@redhat.com>
33 * testsuite/27_io/ostream_inserter_char.cc (test07): New.
35 2002-01-24 Benjamin Kosnik <bkoz@redhat.com>
37 * include/bits/basic_ios.h (basic_ios::_M_check_facet): Make
39 (basic_ios::fill(char_type)): Use fill().
40 * include/bits/basic_ios.tcc (basic_ios::widen): Use _M_check_facet.
41 (basic_ios::narrow): Same.
42 (basic_ios::_M_cache_facets): Explicitly set cached facets to zero
44 (basic_ios::init): Comment.
45 * testsuite/27_io/ios_init.cc (test02): New.
47 2002-01-24 Phil Edwards <pme@gcc.gnu.org>
49 * include/bits/stl_tempbuf.h (_Temporary_buffer): Add doxygen hook.
50 * include/bits/stl_algo.h: Include stl_tempbuf.h.
51 * include/ext/memory: Do not include stl_tempbuf.h.
52 (temporary_buffer): Add doxygen hook.
53 (__get_temporary_buffer, get_temporary_buffer,
54 return_temporary_buffer): Move back to std:: header...
55 * include/std/std_memory.h: ...here. Do not include stl_tempbuf.h.
56 * include/ext/rope: Do not include stl_tempbuf.h.
57 * include/ext/stl_hashtable.h: Likewise.
58 * include/std/std_algorithm.h: Likewise.
59 * testsuite/20_util/temporary_buffer.cc: New file.
61 2002-01-24 andrew@andypo.net
62 (tweaks, test and commit by Loren J. Rittle <ljrittle@acm.org>)
65 * include/bits/ios_base.h: Use _Atomic_word for reference counts.
66 * include/bits/localefwd.h: Likewise.
67 Also use for std::locale::id::_S_highwater.
68 * src/ios.cc (ios_base::xalloc): Use _Atomic_word.
69 * src/locale.cc: Support new usage of _Atomic_word.
70 (std::locale::classic): Guard entire function against reentry.
71 * src/localename.cc: Support new usage of _Atomic_word.
73 2002-01-24 Benjamin Kosnik <bkoz@redhat.com>
75 * testsuite/22_locale/num_put_members_wchar_t.cc (test03): Use
77 * testsuite/22_locale/codecvt_members_wchar_t_char.cc (test02): Same.
78 * testsuite/22_locale/collate_members_char.cc (test02): Same.
79 * testsuite/22_locale/ctype_members_char.cc (test03): Same.
80 * testsuite/22_locale/ctype_members_wchar_t.cc (test03): Same.
81 * testsuite/22_locale/messages_members_char.cc (test02): Same.
82 * testsuite/22_locale/moneypunct_members_char.cc (test02): Same.
83 * testsuite/22_locale/moneypunct_members_wchar_t.cc (test02): Same.
84 * testsuite/22_locale/money_put_members_char.cc (test04): Same.
85 * testsuite/22_locale/money_put_members_wchar_t.cc (test04): Same.
86 * testsuite/22_locale/num_get_members_char.cc (test03): Same.
87 * testsuite/22_locale/num_get_members_wchar_t.cc (test03): Same.
88 * testsuite/22_locale/numpunct_members_char.cc (test02): Same.
89 * testsuite/22_locale/numpunct_members_wchar_t.cc (test02): Same.
90 * testsuite/22_locale/time_get_members_char.cc (test07): Same.
91 * testsuite/22_locale/time_get_members_wchar_t.cc (test07): Same.
92 * testsuite/22_locale/time_put_members_char.cc (test03): Same.
93 * testsuite/22_locale/time_put_members_wchar_t.cc (test03): Same.
94 * testsuite/22_locale/num_put_members_char.cc (test03): Same.
95 * acinclude.m4 (GLIBCPP_CONFIGURE_TESTSUITE): Check for setenv.
96 * aclocal.m4: Regenerate.
97 * configure: Regenerate.
98 * config.h.in: Regenerate.
100 2002-01-23 Loren Rittle <ljrittle@acm.org>
102 * testsuite/thread/pthread1.cc: New test.
103 * testsuite/thread/pthread2.cc: New test adapted from libstdc++/5347.
104 * testsuite/thread/pthread3.cc: Likewise.
105 * testsuite/thread/pthread4.cc: New test adapted from
106 http://gcc.gnu.org/ml/gcc-bugs/2002-01/msg00679.html
107 * testsuite/thread/pthread5.cc: New test adapted from libstdc++/5464.
108 * testsuite/thread/pthread6.cc: New test adapted from libstdc++/5444.
110 2002-01-23 Richard Henderson <rth@redhat.com>
113 * config/cpu/m68k/bits/atomicity.h (__exchange_and_add): Only use
114 CAS on the cpu variants that support it. Add versions that use
115 TAS and that disable interrupts.
116 (__atomic_add): Use __exchange_and_add to guarantee atomicity.
118 2002-01-23 Matt Kraai <kraai@alumni.cmu.edu>
120 * include/bits/locale_facets.tcc: Remove old comments.
122 2002-01-23 Andreas Tobler <toa@pop.agri.ch>
124 * include/bits/locale_facets.tcc (__convert_to_v): Change template
126 (__convert_from_v): Same.
128 2002-01-23 Benjamin Kosnik <bkoz@redhat.com>
130 * include/bits/locale_facets.h (num_get::_M_extract_int): Change
132 * include/bits/locale_facets.tcc (num_get::_M_extract_int): Remove
133 __max_digits checks, adjust arguments.
134 (num_get::do_get(*)): Changeup.
136 2002-01-23 Loren Rittle <ljrittle@acm.org>
138 * config/locale/c_locale_generic.cc: Fix typename usage.
140 2002-01-22 Benjamin Kosnik <bkoz@redhat.com>
142 * config/locale/c_locale_generic.cc: Fix.
144 2002-01-22 Benjamin Kosnik <bkoz@redhat.com>
146 * docs/html/22_locale/messages.html: Remove angle brackets.
147 * docs/html/17_intro/TODO: Add.
149 2002-01-22 Paolo Carlini <pcarlini@unitus.it>
151 * testsuite/27_io/ios_manip_basefield.cc: Enable test02.
152 * testsuite/27_io/ostream_inserter_arith.cc: Enable test03.
153 * testsuite/27_io/ostream_inserter_char.cc: Enable test01.
154 * testsuite/27_io/ostream_inserter_other.cc: Enable test04.
156 2002-01-22 Benjamin Kosnik <bkoz@redhat.com>
158 Audit for LANG independence.
159 * include/bits/localefwd.h: Tweaks.
160 * include/bits/locale_facets.tcc (money_get::do_get(long double)):
162 (time_get::do_get_year): Same.
163 (__convert_from_v): Add.
164 (num_put::_M_convert_float): Use.
165 (num_put::_M_convert_int): Same.
166 (money_put::do_put): Same.
168 * src/locale-inst.cc: Add instantiations for __convert_from_v.
169 * config/locale/time_members_gnu.cc: Cleanup setlocale usage.
170 * config/locale/time_members_generic.cc:
171 * config/locale/messages_members_gnu.cc: Same.
172 * config/locale/messages_members_gnu.h: Same.
174 * testsuite/22_locale/codecvt_members_wchar_t_char.cc (test02): New.
175 * testsuite/22_locale/codecvt_members_char_char.cc (test02): New.
176 * testsuite/22_locale/collate_members_wchar_t.cc (test02): New.
177 * testsuite/22_locale/collate_members_char.cc (test02): New.
178 * testsuite/22_locale/ctype_members_wchar_t.cc (test03): New.
179 * testsuite/22_locale/ctype_members_char.cc (test03): New.
180 * testsuite/22_locale/messages_members_char.cc (test02): New.
181 * testsuite/22_locale/moneypunct_members_wchar_t.cc (test02): New.
182 * testsuite/22_locale/moneypunct_members_char.cc (test02): New.
183 * testsuite/22_locale/money_get_members_wchar_t.cc (test04): New.
184 * testsuite/22_locale/money_get_members_char.cc (test04): New.
185 * testsuite/22_locale/money_put_members_wchar_t.cc (test04): New.
186 * testsuite/22_locale/money_put_members_char.cc (test04): New.
187 * testsuite/22_locale/numpunct_members_wchar_t.cc (test02): New.
188 * testsuite/22_locale/numpunct_members_char.cc (test02): New.
189 * testsuite/22_locale/time_put_members_wchar_t.cc (test03): New.
190 * testsuite/22_locale/time_put_members_char.cc (test03): New.
191 * testsuite/22_locale/time_get_members_wchar_t.cc (test07): New.
192 * testsuite/22_locale/time_get_members_char.cc (test07): New.
193 * testsuite/22_locale/num_get_members_wchar_t.cc (test03): New.
194 * testsuite/22_locale/num_get_members_char.cc (test03): New.
195 * testsuite/22_locale/num_put_members_wchar_t.cc (test03): New.
196 * testsuite/22_locale/num_put_members_char.cc (test03): New.
198 * testsuite/22_locale/time_get_members_char.cc: Fixups for global
200 * testsuite/22_locale/time_get_members_char.cc: Same.
202 2002-01-22 Benjamin Kosnik <bkoz@redhat.com>
205 * include/bits/localefwd.h: Tweak comments.
206 * include/bits/locale_facets.h (__convert_to_v): Add.
207 * include/bits/locale_facets.tcc (num_get::do_get(double)): Use it.
208 (num_get::do_get(float)): Same.
209 (num_get::do_get(long double)): Same.
210 (num_get::do_get(bool)): Same.
211 (num_get::do_get(long)): Same.
212 (num_get::do_get(long long)): Same.
213 (num_get::do_get(unsigned int)): Same.
214 (num_get::do_get(unsigned short)): Same.
215 (num_get::do_get(unsigned long)): Same.
216 (num_get::do_get(unsigned long long)): Same.
217 * config/locale/c_locale_gnu.cc (__convert_to_v): Specialize.
218 * config/locale/c_locale_generic.cc: Same.
220 2002-01-22 Loren Rittle <ljrittle@acm.org>
222 * include/Makefile.am (c_base_builddir): Remove redundant slash.
223 (std_builddir): Likewise.
224 (std_headers_rename): Fix cut-n-paste typo.
225 (install-data-local): Concat path per element instead of once to
226 first element of list.
227 * include/Makefile.in: Rebuilt.
229 2002-01-22 Benjamin Kosnik <bkoz@redhat.com>
231 * config/os/aix/bits/ctype_noninline.h: Fix formatting.
232 * config/os/bsd/netbsd/bits/ctype_noninline.h: Fix typo.
233 * config/os/bsd/freebsd/bits/ctype_noninline.h: Fix formatting.
235 2002-01-20 Benjamin Kosnik <bkoz@redhat.com>
237 * include/bits/locale_facets.h (ctype<char>::classic_table):
239 (ctype<char>::_S_ctable): Remove.
240 * config/os/gnu-linux/bits/ctype_noninline.h
241 (ctype<char>::_S_table): Remove definition.
242 (ctype<char>::classic_table): Define.
243 (ctype<char>::ctype): Replace _S_ctable with classic_table().
244 * config/os/aix/bits/ctype_noninline.h: Same.
245 * config/os/bsd/freebsd/bits/ctype_noninline.h: Same.
246 * config/os/bsd/netbsd/bits/ctype_noninline.h: Same.
247 * config/os/djgpp/bits/ctype_noninline.h: Same.
248 * config/os/generic/bits/ctype_noninline.h: Same.
249 * config/os/gnu-linux/bits/ctype_noninline.h: Same.
250 * config/os/hpux/bits/ctype_noninline.h: Same.
251 * config/os/irix/irix5.2/bits/ctype_noninline.h: Same.
252 * config/os/irix/irix6.5/bits/ctype_noninline.h: Same.
253 * config/os/mingw32/bits/ctype_noninline.h: Same.
254 * config/os/newlib/bits/ctype_noninline.h: Same.
255 * config/os/solaris/solaris2.5/bits/ctype_noninline.h: Same.
256 * config/os/solaris/solaris2.6/bits/ctype_noninline.h: Same.
257 * config/os/solaris/solaris2.7/bits/ctype_noninline.h: Same.
259 2002-01-20 Danny Smith <dannysmith@users.sourceforge.net>
261 * config/os/mingw32/bits/ctype_noninline.h: Declare _ctype instead
262 of _pctype. Use to define _S_ctable. Add definition for alternate
263 ctor. Initialise _M_ctable to _S_ctable in ctors.
264 (do_toupper, do_tolower): Use inline code appropriate for C-locale
265 rather than ::toupper, ::tolower.
267 2002-01-18 Loren Rittle <ljrittle@acm.org>
269 * testsuite/18_support/numeric_limits.cc (test_extrema<long double>):
270 Add specialization for FreeBSD systems only to avoid losing test
271 only due to extra precision unmentioned in system headers.
273 2002-01-18 David Billinghurst <David.Billinghurst@riotinto.com>
275 * config/os/irix/irix6.5/bits/ctype_noninline.h: Fix typo
277 2002-01-17 Nick Clifton <nickc@cambridge.redhat.com>
279 * testsuite/testsuite_hooks.h: Fix comment typo. Memory
280 limiting is only attempted if _GLIBCPP_MEM_LIMIT is defined.
282 2002-01-17 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
284 * testsuite/22_locale/ctor_copy_dtor.cc: Remove check.
286 2002-01-17 David Edelsohn <edelsohn@gnu.org>
288 * configure.target: Define OPT_LDFLAGS for AIX case.
290 2002-01-17 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
292 * include/std/std_limits.h (__glibcpp_float_has_quiet_NaN,
293 __glibcpp_double_has_quiet_NaN): Correct mispelling.
295 2002-01-17 Andreas Tobler <toa@pop.agri.ch>
297 * config/os/solaris/solaris2.6/bits/ctype_noninline.h: Fix.
299 2002-01-16 David Edelsohn <dje@watson.ibm.com>
301 * acinclude.m4 (GLIBCPP_CHECK_LINKER_FEATURES): Do not clear
302 SECTION_LDFLAGS and OPT_LDFLAGS. Fix ac_sectionLDflags type.
303 * aclocal.m4: Regenerate.
304 * configure: Regenerate.
306 2002-01-16 Benjamin Kosnik <bkoz@redhat.com>
308 * include/Makefile.am (c_base_headers_rename): New.
309 (c_base_headers_extra): New.
310 (stamp-c_base): Modify.
311 (install-data-local): Use both.
312 * include/Makefile.in: Regenerate.
313 * include/c/[cctype ciso646 cmath cstdarg cstdlib cerrno climits
314 csetjmp cstddef cstring cwchar cassert cfloat clocale csignal
315 cstdio ctime cwctype]: Move to..
316 * include/c/std_*: Here.
317 * include/c_std/[cctype ciso646 cmath cstdarg cstdlib cerrno climits
318 csetjmp cstddef cstring cwchar cassert cfloat clocale csignal
319 cstdio ctime cwctype]: Move to..
320 * include/c_std/std_*: Here.
322 Alexandre Oliva <aoliva@redhat.com>
323 * include/Makefile.am (.PRECIOUS): Add rule.
324 * include/Makefile.in: Regenerate.
326 2002-01-16 Benjamin Kosnik <bkoz@redhat.com>
327 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
329 * include/bits/stl_iterator.h (reverse_iterator::_M_current):
330 Deuglify, should be current.
331 (back_insert_iterator::_M_container): Deuglify, should be container.
332 (front_insert_iterator::_M_container): Same.
333 (insert_iterator::_M_container): Same.
334 * testsuite/24_iterators/reverse_iterator.cc: Add check.
335 * testsuite/24_iterators/back_insert_iterator.cc: Add check.
336 * testsuite/24_iterators/front_insert_iterator.cc: Same.
337 * testsuite/24_iterators/insert_iterator.cc: Same.
339 2002-01-16 Benjamin Kosnik <bkoz@redhat.com>
341 * include/bits/locale_facets.h (ctype<char>::classic_table): Make
343 (ctype<char>::_M_ctable): Make static, change name to _S_ctable.
344 * config/os/gnu-linux/bits/ctype_noninline.h: Define _S_ctable.
345 * config/os/solaris/solaris2.7/bits/ctype_noninline.h: Same.
346 * config/os/solaris/solaris2.6/bits/ctype_noninline.h: Same.
347 * config/os/solaris/solaris2.5/bits/ctype_noninline.h: Same.
348 * config/os/newlib/bits/ctype_noninline.h: Same.
349 * config/os/irix/irix6.5/bits/ctype_noninline.h: Same.
350 * config/os/irix/irix5.2/bits/ctype_noninline.h: Same.
351 * config/os/hpux/bits/ctype_noninline.h: Same.
352 * config/os/djgpp/bits/ctype_noninline.h: Same.
353 * config/os/bsd/netbsd/bits/ctype_noninline.h: Same.
354 * config/os/bsd/freebsd/bits/ctype_noninline.h: Same.
355 * config/os/aix/bits/ctype_noninline.h: Same.
357 Testcase by Dietmar Kühl via Peter Schmid
358 * testsuite/22_locale/ctype_members_char.cc (char>): Add test for
361 2002-01-16 Benjamin Kosnik <bkoz@redhat.com>
363 * libmath/signbitl.c: Copyright years as list, not range.
364 * libmath/Makefile.am: Same.
365 * libmath/Makefie.in: Regenerate.
366 * libmath/signbit.c: Same.
367 * libmath/nan.c: Same.
368 * libmath/copysignf.c: Same.
369 * libmath/signbitf.c: Same.
370 * testsuite/22_locale/money_get_members_char.cc: Same.
371 * testsuite/22_locale/money_get_members_wchar_t.cc: Same.
372 * testsuite/22_locale/money_put_members_char.cc: Same.
373 * testsuite/22_locale/money_put_members_wchar_t.cc: Same.
374 * testsuite/22_locale/time_get_members_char.cc: Same.
375 * testsuite/22_locale/time_get_members_wchar_t.cc: Same.
376 * testsuite/22_locale/time_put_members_char.cc: Same.
377 * testsuite/22_locale/time_put_members_wchar_t.cc: Same.
378 * testsuite/21_strings/nonmember.cc: Same.
379 * testsuite/21_strings/compare.cc: Same.
380 * testsuite/27_io/stringstream.cc: Same.
381 * testsuite/27_io/stringbuf.cc: Same.
382 * testsuite/27_io/filebuf.cc: Same.
383 * testsuite/27_io/ios_manip_basefield.cc: Same.
384 * testsuite/27_io/ios_manip_fmtflags.cc: Same.
385 * include/bits/cpp_type_traits.h: Same.
386 * include/bits/generic_shadow.h: Same.
387 * include/bits/gslice_array.h: Same.
388 * include/bits/gslice.h: Same.
389 * include/bits/indirect_array.h: Same.
390 * include/bits/slice_array.h: Same.
391 * include/bits/sstream.tcc: Same.
392 * include/bits/streambuf_iterator.h: Same.
393 * include/bits/valarray_array.tcc: Same.
394 * include/bits/valarray_meta.h: Same.
395 * include/bits/valarray_array.h: Same.
396 * config/os/mingw32/bits/ctype_noninline.h: Same.
397 * config/os/mingw32/bits/ctype_base.h: Same.
398 * config/os/hpux/bits/ctype_noninline.h: Same.
399 * config/os/hpux/bits/ctype_base.h: Same.
400 * config/os/gnu-linux/bits/ctype_noninline.h: Same.
401 * config/os/gnu-linux/bits/ctype_base.h: Same.
402 * config/os/generic/bits/ctype_noninline.h: Same.
403 * config/os/generic/bits/ctype_base.h: Same.
405 * libsupc++/tinfo.h: Tweaks.
407 2002-01-15 Benjamin Kosnik <bkoz@redhat.com>
409 * testsuite/22_locale/num_put_members_wchar_t.cc (test02): Same.
410 * testsuite/22_locale/num_put_members_char.cc (test01): Tweak.
411 * testsuite/22_locale/ctype_members_char.cc: Tweak.
413 2002-01-15 Benjamin Kosnik <bkoz@redhat.com>
415 * include/bits/locale_facets.tcc (num_put::do_put(bool): Fix.
416 (num_put::do_put(void*)): Fix.
417 * testsuite/22_locale/num_put_members_char.cc (test02): Add.
418 * testsuite/22_locale/num_put_members_wchar_t.cc (test02): Add.
419 * testsuite/22_locale/num_get_members_char.cc (test02): Add
420 long double, void, bool types.
421 * testsuite/22_locale/num_get_members_wchar_t.cc (test02): Add.
423 2002-01-15 Benjamin Kosnik <bkoz@redhat.com>
424 Alexandre Oliva <aoliva@redhat.com>
426 * libmath/Makefile.am (LINK): Add --tag CC.
427 * libmath/Makefile.in: Regenerate.
429 2002-01-15 John David Anglin <dave@hiauly1.hia.nrc.ca>
431 * config/os/hpux/bits/ctype_noninline.h: Use __SB_masks for address
432 of character to attribute mapping table.
434 2002-01-15 David Billinghurst <David.Billinghurst@riotinto.com>
436 * testsuite/26_numerics/c99_classification_macros_c.cc
437 Remove dg-error and dg-excess-errors comments.
439 2002-01-14 Benjamin Kosnik <bkoz@redhat.com>
441 * include/bits/locale_facets.tcc (time_put::put): Correct output
443 * testsuite/22_locale/time_put_members_char.cc (test02): Add.
444 * testsuite/22_locale/time_put_members_wchar_t.cc (test02): Add.
445 * testsuite/22_locale/time_get_members_wchar_t.cc (test06): Add.
446 * testsuite/22_locale/time_get_members_char.cc (test06): Add.
448 2002-01-14 Craig Rodrigues <rodrigc@gcc.gnu.org>
450 * docs/html/17_intro/porting-howto.xml: Update filebuf section.
452 2002-01-14 Paolo Carlini <pcarlini@unitus.it>
453 Nathan Myers <ncm@cantrip.org>
455 * include/bits/basic_string.h
456 (replace(__pos, __n1, __s, __n2)): Optimize by avoiding
457 temporaries (i.e., call _M_replace_safe) when possible.
458 (replace(__pos, __n, __str)): Call replace(__pos, __n1, __s, __n2).
459 (replace(__pos, __n1, __s)): Call replace(__pos, __n1, __s , __n2).
460 (replace(__i1, __i2, __str)): Call replace(__i1, __i2, __s, __n).
461 (replace(__i1, __i2, __s)): Call replace(__i1, __i2, __s, __n).
462 (replace(__i1, __i2, __s, __n)): Call replace(__pos1, __n1, __s, __n2).
463 * include/bits/basic_string.tcc
464 (replace(__pos1, __n1, __str, __pos2, __n2)): Call
465 replace(__pos, __n1, __s, __n2).
466 * testsuite/21_strings/replace.cc (test03): New testcases.
468 * include/bits/basic_string.h (insert(__pos, __s, __n)):
469 Adjust comparison wrt overflow.
471 2002-01-12 Benjamin Kosnik <bkoz@redhat.com>
473 * include/Makefile.am (std_headers_rename): New variable.
474 (install-data-local): Use it.
475 * include/Makefile.in: Regenerate.
477 2002-01-12 Benjamin Kosnik <bkoz@redhat.com>
479 * include/bits/locale_facets.tcc (money_put::do_put(string):
480 Correct output iterator value.
481 * testsuite/22_locale/money_put_members_char.cc (test03): Add.
482 * testsuite/22_locale/money_put_members_wchar_t.cc: Same.
484 2002-01-11 Phil Edwards <pme@gcc.gnu.org>
486 * include/Makefile.am, include/Makefile.in (stamp-std): Fix typo from
489 2002-01-11 Phil Edwards <pme@gcc.gnu.org>
491 * include/Makefile.am (std_headers): Update list with new names.
492 (stamp-std): Link to standardized name.
493 * include/Makefile.in: Regenerate.
495 * include/std/algorithm, include/std/bitset, include/std/complex,
496 include/std/deque, include/std/fstream, include/std/functional,
497 include/std/iomanip, include/std/ios, include/std/iosfwd,
498 include/std/iostream, include/std/istream, include/std/iterator,
499 include/std/limits, include/std/list, include/std/locale,
500 include/std/map, include/std/memory, include/std/numeric,
501 include/std/ostream, include/std/queue, include/std/set,
502 include/std/sstream, include/std/stack, include/std/stdexcept,
503 include/std/streambuf, include/std/string, include/std/utility,
504 include/std/valarray, include/std/vector: Rename to...
506 * include/std/std_algorithm.h, include/std/std_bitset.h,
507 include/std/std_complex.h, include/std/std_deque.h,
508 include/std/std_fstream.h, include/std/std_functional.h,
509 include/std/std_iomanip.h, include/std/std_ios.h,
510 include/std/std_iosfwd.h, include/std/std_iostream.h,
511 include/std/std_istream.h, include/std/std_iterator.h,
512 include/std/std_limits.h, include/std/std_list.h,
513 include/std/std_locale.h, include/std/std_map.h,
514 include/std/std_memory.h, include/std/std_numeric.h,
515 include/std/std_ostream.h, include/std/std_queue.h,
516 include/std/std_set.h, include/std/std_sstream.h,
517 include/std/std_stack.h, include/std/std_stdexcept.h,
518 include/std/std_streambuf.h, include/std/std_string.h,
519 include/std/std_utility.h, include/std/std_valarray.h,
520 include/std/std_vector.h: ...this.
522 2002-01-11 Loren Rittle <ljrittle@acm.org>
524 * include/Makefile.am (extra_target_headers): New list of all
525 target files built with ad hoc naming rules.
526 (stamp-*): Handle LN_S failure in manner portable across make
528 (install-data-local): Install header files from human-maintained
529 file lists and directory components instead of non-robust find.
530 * include/Makefile.in: Rebuilt.
532 2002-01-11 Benjamin Kosnik <bkoz@redhat.com>
534 * include/bits/locale_facets.tcc (money_get::do_get(string)):
535 Check for zero-length negative sign before adding it to output
537 (money_get::do_get(long double)): Return beg.
538 * testsuite/22_locale/money_get_members_char.cc (test02): Add
540 * testsuite/22_locale/money_get_members_wchar_t.cc: Same.
542 2002-01-10 David Seymour <seymour_dj@yahoo.com>
545 * include/bits/locale_facets.h (num_get<>): Return advanced iterator
546 for _M_extract_float and _M_extract_int
547 * include/bits/locale_facets.tcc (num_get<>::_M_extract_float)
548 (num_get<>::_M_extract_int): Likewise, all callers changed
549 * testsuite/22_locale/num_get_members_char.cc: Testcase
551 2002-01-09 Paolo Carlini <pcarlini@unitus.it>
553 * libsupc++/exception (bad_exception): Add comment.
554 * libsupc++/new (bad_alloc): Same.
555 * libsupc++/typeinfo (bad_cast, bad_typeid): Same.
557 2002-01-09 Paolo Carlini <pcarlini@unitus.it>
559 libstdc++/3150: revert 2001-11-30 commit. DR266 only means
560 that the destructors should be removed from the descriptions
561 in the standard: writing them explicitly allows the vtable
562 heuristic to work. For additional information see:
563 http://gcc.gnu.org/ml/libstdc++/2002-01/msg00090.html
564 http://gcc.gnu.org/ml/libstdc++/2002-01/msg00110.html
565 http://gcc.gnu.org/ml/libstdc++/2002-01/msg00155.html
566 * libsupc++/exception (bad_exception::~bad_exception()):
567 Reintroduce declaration.
568 * libsupc++/new (bad_alloc::~bad_alloc()): Same.
569 * libsupc++/typeinfo (bad_cast::~bad_cast()): Same.
570 (bad_typeid::~bad_typeid()): Same.
571 * libsupc++/eh_exception.cc (bad_exception::~bad_exception()):
572 Reintroduce definition.
573 * libsupc++/new_handler.cc (bad_alloc::~bad_alloc()): Same.
574 * libsupc++/tinfo.cc (bad_cast::~bad_cast()): Same.
575 (bad_typeid::~bad_typeid()): Same.
577 2002-01-09 Benjamin Kosnik <bkoz@redhat.com>
579 * include/Makefile.am (c_base_srcdir): Remove duplicate '/'.
580 * include/Makefile.in: Regenerate.
582 2002-01-09 Bo Thorsen <bo@suse.co.uk>
584 * config/cpu/x86-64/bits/cpu_limits.h (__glibcpp_long_bits): Add
587 2002-01-08 Benjamin Kosnik <bkoz@redhat.com>
591 * include/bits/fstream.tcc (filebuf::_M_really_overflow): Test
592 return value of _M_file->sync().
593 (filebuf::showmanyc): Check for is_open.
594 * include/std/fstream (filebuf::sync): Tweak.
595 * testsuite/27_io/filebuf.cc: Tweak.
597 2002-01-08 John Fardo <jfardo@laurelnetworks.com>
598 Brad Garcia <garsh@attbi.com>
600 * testsuite/27_io/filebuf_members.cc: Add test.
602 2002-01-07 Benjamin Kosnik <bkoz@redhat.com>
603 Craig Rodrigues <rodrigc@mediaone.net>
606 * po/Makefile.am (mkinstalldirs): Add.
607 * po/Makefile.in: Regenerate.
609 2002-01-07 David Billinghurst <David.Billinghurst@riotinto.com>
611 * testsuite_flags.in: Add -fmessage-length=0 to CXXFLAGS *
612 testsuite/lib/prune.exp: Delete lines ":In function ..." from
614 * testsuite/23_containers/map_operators.cc: Remove
615 dg-excess-errors comment.
616 * testsuite/23_containers/set_operators.cc: Likewise.
618 2002-01-06 Paolo Carlini <pcarlini@unitus.it>
620 * include/bits/stl_function.h: Remove two lines of comments;
621 adjust copyright years.
623 2002-01-04 Benjamin Kosnik <bkoz@redhat.com>
625 * include/Makefile.am (std_headers): Remove cXXX from list.
626 (c_base_srcdir): No bits subdirectory.
627 (c_base_builddir): Same.
628 (c_base_headers): Adjust names, add ciso646.
629 (bits_headers): Remove std_xxx.h headers.
630 * include/Makefile.in: Regenerate.
632 * include/ext/iterator: Adjust includes.
633 * include/ext/ropeimpl.h: Same.
634 * include/ext/stl_hash_fun.h: Same.
635 * include/ext/algorithm: Same.
637 * include/backward/bvector.h: Adjust includes.
638 * include/backward/vector.h: Same.
639 * include/backward/strstream: Same.
640 * include/backward/streambuf.h: Same.
641 * include/backward/stack.h: Same.
642 * include/backward/set.h: Same.
643 * include/backward/queue.h: Same.
644 * include/backward/multiset.h: Same.
645 * include/backward/multimap.h: Same.
646 * include/backward/map.h: Same.
647 * include/backward/list.h: Same.
648 * include/backward/iterator.h: Same.
649 * include/backward/iostream.h: Same.
650 * include/backward/iomanip.h: Same.
651 * include/backward/fstream.h: Same.
652 * include/backward/deque.h: Same.
653 * include/backward/complex.h: Same.
655 * include/bits/std_algorithm.h: Move to...
656 * include/std/algorithm: ...here.
657 * include/bits/std_iosfwd.h, std_locale.h, std_stack.h,
658 std_bitset.h, std_ios.h, std_map.h, std_stdexcept.h,
659 std_complex.h, std_iostream.h, std_memory.h, std_streambuf.h,
660 std_deque.h, std_istream.h, std_numeric.h, std_string.h,
661 std_fstream.h, std_ostream.h, std_utility.h, std_iterator.h,
662 std_queue.h, std_valarray.h, std_functional.h, std_limits.h,
663 std_set.h, std_vector.h, std_iomanip.h, std_list.h, std_sstream.h:
666 * include/c_std/bits/std_cassert.h: Move to...
667 * include/c_std/cassert: Here.
668 * include/c_std/std_cctype.h, std_cerrno.h, std_cfloat.h,
669 std_climits.h, std_clocale.h, std_cmath.h, std_csetjmp.h,
670 std_csignal.h, std_cstdarg.h, std_cstddef.h, std_cstdio.h,
671 std_cstdlib.h, std_cstring.h, std_ctime.h, std_cwchar.h,
673 * include/c_std/cmath: Adjust cmath.tcc include.
674 * include/c_std/cstdlib: Adjust includes.
675 * include/c_std/cwchar: Same.
676 * include/c_std/ctime: Same.
677 * include/c_std/cstring: Same.
678 * include/c_std/cstdio: Same.
679 * include/c_std/bits: Remove directory.
681 * include/c/bits/std_cassert.h: Move to...
682 * include/c/cassert: Here.
683 * include/c/std_cctype.h, std_cerrno.h, std_cfloat.h,
684 std_climits.h, std_clocale.h, std_cmath.h, std_csetjmp.h,
685 std_csignal.h, std_cstdarg.h, std_cstddef.h, std_cstdio.h,
686 std_cstdlib.h, std_cstring.h, std_ctime.h, std_cwchar.h,
688 * include/c/bits: Remove directory.
690 * include/std/cwctype: Remove.
691 * include/std/cwchar: Remove.
692 * include/std/ctime: Remove.
693 * include/std/cstring: Remove.
694 * include/std/cstdlib: Remove.
695 * include/std/cstdio: Remove.
696 * include/std/cstddef: Remove.
697 * include/std/cstdarg: Remove.
698 * include/std/csignal: Remove.
699 * include/std/csetjmp: Remove.
700 * include/std/cmath: Remove.
701 * include/std/clocale: Remove.
702 * include/std/climits: Remove.
703 * include/std/ciso646: Remove.
704 * include/std/cfloat: Remove.
705 * include/std/cerrno: Remove.
706 * include/std/cctype: Remove.
707 * include/std/cassert: Remove.
709 * include/bits/fpos.h: Adjust includes, removing <bits/std_xxx.h>
710 files and subsituting <.xxx>
711 * include/bits/valarray_array.h: Same.
712 * include/bits/stl_uninitialized.h: Same.
713 * include/bits/stl_alloc.h: Same.
714 * include/bits/stl_algobase.h: Same.
715 * include/bits/sstream.tcc: Same.
716 * include/bits/pthread_allocimpl.h: Same.
717 * include/bits/ostream.tcc: Same.
718 * include/bits/localefwd.h: Same.
719 * include/bits/locale_facets.tcc: Same.
720 * include/bits/locale_facets.h: Same.
721 * include/bits/istream.tcc: Same.
722 * include/bits/char_traits.h: Same.
723 * include/bits/boost_concept_check.h: Same.
724 * include/bits/basic_file.h: Same.
725 * include/std/bitset: Same.
726 * include/std/complex: Same.
727 * include/std/fstream: Same.
728 * include/std/functional: Same.
729 * include/std/ios: Same.
730 * include/std/iostream: Same.
731 * include/std/ostream: Same.
732 * include/std/sstream: Same.
733 * include/std/streambuf: Same.
734 * include/std/string: Same.
735 * include/std/iterator: Same.
736 * include/std/valarray: Same.
738 * src/ios.cc: Adjust includes.
739 * src/valarray-inst.cc: Same.
740 * src/string-inst.cc: Same.
741 * src/stl-inst.cc: Same.
742 * src/stdexcept.cc: Same.
743 * src/misc-inst.cc: Same.
744 * src/localename.cc: Same.
745 * src/locale-inst.cc: Same.
746 * src/locale.cc: Same.
747 * src/limits.cc: Same.
748 * src/concept-inst.cc: Same.
749 * src/complex_io.cc: Same.
750 * src/codecvt.cc: Same.
751 * src/bitset.cc: Same.
752 * src/cmath.cc: Same.
754 2002-01-04 Paolo Carlini <pcarlini@unitus.it>
756 * include/bits/stl_tree.h (rb_tree): Move to...
757 * include/ext/rb_tree: ...here, new file.
758 * include/Makefile.am (ext_headers): Add new file.
759 * include/Makefile.in: Regenerate.
760 * include/bits/stl_tempbuf.h (get_temporary_buffer + helper,
761 return_temporary_buffer, struct temporary_buffer): Move to...
762 * include/ext/memory: ...here.
763 * testsuite/ext/headers.cc: Include <ext/rb_tree>.
764 * include/backward/tempbuf.h: Include <ext/memory>, tweak.
765 * include/backward/tree.h: Include <ext/rb_tree), tweak.
767 2002-01-03 Paolo Carlini <pcarlini@unitus.it>
769 * include/bits/stl_numeric.h (power + helpers, iota): Move to...
770 * include/ext/numeric: ...here, new file.
771 * include/bits/stl_function.h (identity_element, unary_compose,
772 binary_compose, compose1, compose2, identity, select1st,
773 select2nd, project1st + helper, project2nd + helper,
774 constant_void_fun + helper, constant_unary_fun + helper,
775 costant_binary_fun + helper, constant0, constant1, constant2,
776 subtractive_rng, mem_fun1, mem_fun1_ref): Move to...
777 * include/ext/functional: ...here, new file.
778 * include/Makefile.am (ext_headers): Add new files.
779 * include/Makefile.in: Regenerate.
780 * testsuite/ext/headers.cc: Include <ext/numeric> and
782 * include/backward/algo.h: Include <ext/numeric>, tweak.
783 * include/backward/function.h: Include <ext/functional>, tweak.
784 * include/ext/ropeimpl.h: Include <ext/numeric>.
786 2002-01-03 Jeffrey A Law <law@redhat.com>
788 * config/os/hpux/bits/os_defines.h: Prefix __strtoll and
789 __strtoull declarations with __extension__.
791 2002-01-03 David Billinghurst <David.Billinghurst@riotinto.com>
793 * testsuite/lib/prune.exp: Correct regular expression for
796 2002-01-02 Phil Edwards <pme@gcc.gnu.org>
798 * include/bits/stl_algo.h (upper_bound, equal_range, binary_search):
799 Change concept checks, as with lower_bound and PR 2054.
800 * testsuite/ext/concept_checks.cc: Expand test to include those.
802 2002-01-02 Phil Edwards <pme@gcc.gnu.org>
804 * include/bits/boost_concept_check.h: Import some changes from
805 upsteam (Boost) version.
807 2002-01-02 Paolo Carlini <pcarlini@unitus.it>
809 * include/bits/stl_algobase.h (copy_n + helpers,
810 lexicographical_compare_3way + helpers): Move to...
811 * include/ext/algorithm: ...here.
812 * include/bits/stl_uninitialized.h (uninitialized_copy_n +
814 * include/ext/memory: ...here, new file.
815 * include/Makefile.am (ext_headers): Add new file.
816 * include/Makefile.in: Regenerate.
817 * testsuite/ext/headers.cc: Include <ext/memory>.
818 * include/backward/algobase.h: Include <ext/memory> and
819 <ext/algorithm>, tweak.
820 * include/ext/ropeimpl.h: Include <ext/memory>, tweak.
821 * include/ext/stl_rope.h: Include <ext/memory>, tweak.
823 2002-01-01 Roger Sayle <roger@eyesopen.com>
825 * libmath/stubs.c (sinf,cosf): Implement stubs to enable the
826 equivalent ___builtin__ versions.
828 * include/c_shadow/bits/std_cmath.h: All __builtin math functions
829 are available in libstdc++ as the necessary stub implementations
830 are provided by libmath/stubs.c.
832 2002-01-01 Jason Thorpe <thorpej@wasabisystems.com>
834 * configure.in: Add support for NetBSD cross compiles.
835 * configure: Regenerate.
837 2001-12-31 Paolo Carlini <pcarlini@unitus.it>
839 * include/ext/iterator: Add #include <bits/std_iterator.h>, tweak.
840 * testsuite/ext/headers.cc: Add <ext/iterator>.
842 2001-12-31 Paolo Carlini <pcarlini@unitus.it>
844 * include/backward/algo.h: Add two more using declarations.
845 * include/backward/iterator.h: Include <ext/iterator>,
846 add using declaration.
847 * include/ext/algorithm: Add #pragma GCC system_header.
849 2001-12-31 Phil Edwards <pme@gcc.gnu.org>
851 * include/bits/stl_bvector.h: Change calls to 3-argument distance()
852 into standard 2-argument version.
853 * include/bits/stl_deque.h: Likewise.
854 * include/bits/stl_tempbuf.h: Likewise.
855 * include/bits/stl_tree.h: Likewise.
856 * include/bits/stl_vector.h: Likewise.
857 * include/ext/stl_hashtable.h: Likewise.
858 * include/bits/stl_iterator_base_funcs.h: Move distance() extension...
859 * include/ext/iterator: to here. New file.
860 * include/Makefile.am (ext_headers): Add new file, alphabatize.
861 * include/Makefile.in: Regenerate.
863 2001-12-31 Phil Edwards <pme@gcc.gnu.org>
865 * include/bits/stl_deque.h: Doxygenate with initial/example hooks.
866 Clean up spacing and indentation.
868 2001-12-31 Paolo Carlini <pcarlini@unitus.it>
870 * include/ext/slist: Move into __gnu_cxx,
871 tweak, add using declarations.
873 2001-12-31 Paolo Carlini <pcarlini@unitus.it>
875 * include/ext/hash_map: Move into __gnu_cxx,
876 tweak, add using declarations.
877 * include/ext/hash_set: Ditto.
878 * include/ext/ropeimpl.h: Ditto.
879 * include/ext/stl_hash_fun.h: Ditto.
880 * include/ext/stl_hashtable.h: Ditto.
881 * include/ext/stl_rope.h: Ditto.
882 * src/ext-inst.cc: Tweak.
883 * testsuite/ext/rope.cc: Tweak.
885 2001-12-31 Paolo Carlini <pcarlini@unitus.it>
887 * include/backward/algo.h: Include <ext/algorithm>,
888 tweak using declarations.
890 2001-12-29 Richard Henderson <rth@redhat.com>
892 * config/os/hpux/bits/os_defines.h: Don't define __glibcpp_long_bits.
893 * config/os/hpux/bits/cpu_limits.h: New file.
894 * configure.target (CPULIMITSH): Use it.
896 2001-12-28 Richard Henderson <rth@redhat.com>
898 * config/cpu/ia64/bits/cpu_limits.h: New file.
899 * config/os/osf/osf5.0/bits/cpu_limits.h: New file.
900 * configure.target (CPULIMITSH): Use them.
902 2001-12-28 Phil Edwards <pme@gcc.gnu.org>
904 * include/bits/c++config: Move doxygen hook comment...
905 * docs/doxygen/doxygroups.cc: ...to here.
907 2001-12-28 Phil Edwards <pme@gcc.gnu.org>
910 * include/bits/stl_algo.h (lower_bound): Relax concept checks.
911 * testsuite/ext/concept_checks.cc: New file.
913 2001-12-28 Paolo Carlini <pcarlini@unitus.it>
915 * include/bits/stl_algo.h (count returning void,
916 count_if returning void, __random_sample, random_sample,
917 random_sample_n, __is_heap, is_heap, is_sorted): Move to...
918 * include/ext/algorithm: ...here, new file.
919 * include/Makefile.am (ext_headers): Add new file.
920 * include/Makefile.in: Regenerate.
921 * testsuite/ext/headers.cc: Include <ext/algorithm>.
923 2001-12-28 Paolo Carlini <pcarlini@unitus.it>
924 Nathan Myers <ncm@cantrip.org>
926 * include/bits/basic_string.h (insert(__pos, __s, __n)):
927 Optimize by avoiding temporaries and working in-place when possible.
928 (insert(__pos1, __str)): Call insert(__pos1, __str, __pos2, __n).
929 (insert(__pos1, __str, __pos2, __n)): Call insert(__pos, __s, __n).
930 * testsuite/21_strings/insert.cc (test02): New testcases.
932 2001-12-27 Phil Edwards <pme@gcc.gnu.org>
934 * testsuite/testsuite_hooks.h (gnu_counting_struct): Add.
935 * testsuite/23_containers/deque_ctor.cc: New file.
937 2001-12-27 Paolo Carlini <pcarlini@unitus.it>
939 * include/bits/locale_facets.tcc (collate::do_transform):
940 Adjust implicit typename.
941 * config/locale/messages_members_generic.h (messages::open,
942 messages::do_open, messages::do_get): Adjust implicit typename.
943 * config/locale/messages_members_gnu.h (messages::open,
944 messages::do_open, messages::do_get): Adjust Implicit typename.
945 * config/locale/messages_members_ieee_1003.1-200x.h (messages::open,
946 messages::do_open, messages::do_get): Adjust implicit typename.
948 2001-12-27 Phil Edwards <pme@gcc.gnu.org>
951 * src/misc-inst.cc: Many additional I/O-related instantiations.
952 * testsuite/27_io/instantiations.cc: New file.
954 2001-12-26 Benjamin Kosnik <bkoz@waller.constant.com>
956 * testsuite/24_iterators/insert_iterator.cc (test02): Add.
957 * testsuite/24_iterators/front_insert_iterator.cc (test02): Add.
958 * testsuite/24_iterators/back_insert_iterator.cc (test02): Add.
959 * testsuite/24_iterators/reverse_iterator.cc (test02): Add.
961 * include/bits/stl_iterator.h (reverse_iterator): Uglify member
962 current to _M_current.
963 (back_insert_iterator): Uglify member container to _M_container.
964 (front_insert_iterator): Same.
965 (insert_iterator): Same.
967 2001-12-25 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
969 * include/bits/std_limits.h (__glibcpp_xxx_is_modulo): New
970 macros for signed types; default value is true.
971 (numeric_limits<>::is_modulo): Get value from corresponding
972 __glibcpp_xxx_is_modulo macro.
974 2001-12-23 Jeffrey A Law <law@redhat.com>
976 * config/os/hpux/bits/os_defines.h: Do not include <_sys/inttypes.h>.
977 Twiddle return types for strtoll and strtoull to avoid using
978 intmax_t and uintmax-t.
980 2001-12-22 Richard Henderson <rth@redhat.com>
982 * configure.target (CPULIMITSH): Fix typo in alpha case.
984 2001-12-22 Jeffrey A Law <law@redhat.com>
986 * config/os/hpux/bits/os_defines.h: Update to avoid #defines
987 for strtoll and strtoull.
989 2001-12-21 Jeffrey A Law <law@redhat.com>
991 * config/os/hpux/bits/os_defines.h: Include <sys/_inttypes.h.
992 Define strtoll and strtoull. Provide prototypes for
993 __strtoll and __strtoull. Define _GLIBCPP_USE_LONG_LONG
996 * src/locale-inst.cc: Include <bits/std_cstdlib.h>
998 * configure.target: Fix typo in hpux case.
1000 2001-12-21 Paolo Carlini <pcarlini@unitus.it>
1002 * include/ext/stl_rope.h (_Rope_iterator):
1003 Add local typedef to fix implicit typename problems.
1005 2001-12-19 Phil Edwards <pme@gcc.gnu.org>
1007 * docs/doxygen/Intro.3: New 'Allocators' module.
1008 * docs/doxygen/TODO: Update.
1009 * docs/doxygen/doxygroups.cc: Update.
1010 * docs/doxygen/run_doxygen: Update.
1012 * include/bits/stl_alloc.h: Tweak doxygen hooks in comments.
1013 * include/bits/std_memory.h: Doxygenate.
1014 * include/bits/stl_iterator_base_types.h: Likewise.
1015 * include/bits/stl_raw_storage_iter.h: Likewise.
1016 * include/bits/stl_tempbuf.h: Likewise.
1017 (get_temporary_buffer): Remove unused nonstandard overload.
1018 * include/bits/stl_uninitialized.h: Likewise.
1020 * include/bits/stl_iterator_base_types.h (input_iterator,
1021 output_iterator, forward_iterator, bidirectional_iterator,
1022 random_access_iterator): Move old names...
1023 * include/backward/iterator.h: ...to here.
1024 * include/bits/stl_bvector.h: Update.
1025 * include/ext/stl_rope.h: Update.
1027 2001-12-19 Phil Edwards <pme@gcc.gnu.org>
1029 * docs/html/configopts.html: Describe recent options.
1030 * docs/html/documentation.html: Point to new doxygen tarballs.
1031 * docs/html/install.html: Brief updates.
1032 * docs/html/17_intro/RELEASE-NOTES: Remove weird control character.
1033 * docs/html/ext/howto.html: Fix typos, describe filebuf::fd().
1034 * docs/html/faq/index.html: Update for 3.0.95.
1035 * docs/html/faq/index.txt: Regenerate.
1037 2001-12-19 David Billinghurst <David.Billinghurst@riotinto.com>
1040 * testsuite/lib/libstdc++-v3-dg.exp: Append .exe to
1041 executable filenames
1043 2001-12-18 Benjamin Kosnik <bkoz@redhat.com>
1045 * docs/html/17_intro/TODO: Update.
1046 * docs/html/17_intro/RELEASE-NOTES: Edits, update.
1047 * README: Edit for clarity, update to reflect current directory
1050 2001-12-18 Benjamin Kosnik <bkoz@redhat.com>
1052 * acinclude.m4 (GLIBCPP_ENABLE_CLOCALE): Extended checking before
1054 * aclocal.m4: Rebuild.
1055 * configure: Rebuild.
1057 2001-12-18 Paolo Carlini <pcarlini@unitus.it>
1058 Nathan Myers <ncm@cantrip.org>
1060 * include/bits/basic_string.h (assign(__str, __pos, __n)):
1061 Call assign(__s, __n).
1062 (assign(__s, __n)): Terminate the string with _S_terminal.
1064 2001-12-17 Benjamin Kosnik <bkoz@redhat.com>
1066 * include/bits/std_limits.h (__glibcpp_long_double_is_bounded):
1067 Set to true, like float and double.
1069 2001-12-17 David Billinghurst <David.Billinghurst@riotinto.com>
1072 * testsuite/lib/prune.exp: New file
1073 * testsuite/lib/libstdc++-v3-dg.exp: Use it
1075 2001-12-17 Phil Edwards <pme@gcc.gnu.org>
1077 * include/bits/basic_file.h (__basic_file::fd): New function.
1078 * config/io/basic_file_stdio.h (__basic_file::fd): Define.
1079 * include/bits/std_fstream.h (basic_filebuf::fd): New function.
1080 * include/bits/fstream.tcc (basic_filebuf::fd): Define.
1081 * testsuite/27_io/filebuf_members.cc (test_02): New test.
1083 2001-12-16 Nathan Sidwell <nathan@codesourcery.com>
1085 * po/Makefile.am (.po.mo): Use POSIXLY_CORRECT argument ordering.
1086 * po/Makefile.in: Regenerated.
1088 2001-12-16 Paolo Carlini <pcarlini@unitus.it>
1090 * testsuite/21_strings/assign.cc (test01): Add tests.
1092 2001-12-15 Paolo Carlini <pcarlini@unitus.it>
1093 Nathan Myers <ncm@cantrip.org>
1095 * include/bits/basic_string.h
1096 (assign(__str, __pos, __n), assign(__s, __n)): Optimize
1097 by avoiding unnecessary temporaries.
1098 (assign(__s)): Call assign(__s, __n).
1099 * include/bits/basic_string.tcc (_M_replace_safe): Adjust comment.
1100 * include/bits/std_string.h: include stl_function.h.
1101 * testsuite/21_strings/assign.cc (test02, test03): New tests.
1103 2001-12-15 Benjamin Kosnik <bkoz@redhat.com>
1105 * acinclude.m4 (GLIBCPP_ENABLE_CLOCALE): Enable gnu locale model
1106 on linux by default.
1107 * aclocal.m4: Regenerate.
1108 * configure: Regenerate.
1110 2001-12-14 Benjamin Kosnik <bkoz@redhat.com>
1112 Clean up initialization and simplfy caching of underlying "C"
1113 default locale objects.
1114 * src/localename.cc (locale::_Impl::_Impl(string, size_t):
1115 Unconditionally create __clocale object for all named locales,
1116 including "C" and "POSIX".
1117 * config/locale/c_locale_generic.cc
1118 (locale::facet::_S_create_c_locale): Always set __cloc to zero.
1119 * config/locale/c_locale_gnu.cc: Always delete.
1120 * include/bits/localefwd.h (locale::facet::_S_c_locale): New.
1121 * src/locale.cc (locale::classic()): Initialize
1122 locale::facet::_S_c_locale.
1123 (locale::facet::_S_c_locale): Define.
1125 * include/bits/locale_facets.h: Add ctype_byname<wchar_t> ctor
1127 * src/locale.cc: Add definition here.
1128 * config/os/gnu-linux/bits/ctype_inline.h: Tweak.
1129 * config/os/gnu-linux/bits/ctype_noninline.h: Adjust initializations.
1130 * include/bits/locale_facets.h (ctype<char>::_M_c_locale_ctype): Add.
1131 Adjust ctors, dtors.
1132 (ctype<char>::_M_toupper): Remove const&.
1133 (ctype<char>::_M_tolower): Remove const&.
1134 (ctype<char>::_M_ctable): Remove const&.
1136 * include/bits/locale_facets.h (collate): Clean up initialization
1137 of _M_c_locale_collate in ctors and dtors.
1138 * config/locale/collate_members_gnu.cc: Always use extended
1141 * include/bits/locale_facets.h (messages): Clean up inits in ctor/dtor.
1142 (messages_byname): Same.
1143 * config/locale/messages_members_generic.h (messages::~messages):
1145 * config/locale/messages_members_gnu.h: Same.
1147 * include/bits/localefwd.h: Clean. Move dtor definitions to
1148 * src/locale.cc: Here.
1149 * testsuite/22_locale/facet.cc: Fix spelling.
1151 Named locale support for ctype<wchar_t>.
1152 * acinclude.m4 (GLIBCPP_ENABLE_CLOCALE): Add variable
1153 ctype_members_* bits.
1154 * aclocal.m4: Regenerate.
1155 * configure: Regenerate.
1156 * src/Makefile.am (sources): Add ctype.cc.
1157 * src/Makefile.in: Regenerate.
1158 * config/locale/ctype_members_generic.cc: New file.
1159 * config/locale/ctype_members_gnu.cc: New file.
1160 * src/locale.cc: Remove ctype<wchart_t> definitions.
1162 2001-12-13 Roger Sayle <roger@eyesopen.com>
1164 * acconfig.h: Test for __builtin_sqrt instead of
1166 * acinclude.m4: Same.
1167 * include/c_shadow/bits/std_cmath.h: Same.
1168 * aclocal.m4: Regenerated.
1169 * config.h.in: Regenerated.
1170 * configure: Regenerated.
1172 2001-12-13 Phil Edwards <pme@gcc.gnu.org>
1174 * docs/html/ext/howto.html: Fix typos.
1176 2001-12-13 Benjamin Kosnik <bkoz@redhat.com>
1179 * src/locale.cc (locale::locale(const char*)): Deal with locales
1181 * testsuite/22_locale/ctor_copy_dtor.cc (test01): Modify.
1183 2001-12-12 Paolo Carlini <pcarlini@unitus.it>
1185 * include/ext/ropeimpl.h (rope::_S_leaf_concat_char_iter,
1186 _S_destr_leaf_concat_char_iter, _S_tree_concat, _S_concat_char_iter,
1187 _S_destr_concat_char_iter, _S_concat, _S_substring, _S_balance)
1188 : Adjust implicit typename.
1189 * include/ext/stl_rope.h (_Rope_iterator::operator=, rope::npos):
1190 Adjust implicit typename.
1191 * testsuite/27_io/streambuf.cc: Adjust implicit typename.
1193 2001-12-12 Benjamin Kosnik <bkoz@redhat.com>
1195 Named locale support for ctype<char>.
1196 * config/locale/c_locale_gnu.h (_GLIBCPP_C_LOCALE_GNU): New.
1197 * config/os/gnu-linux/bits/ctype_noninline.h (ctype<char>): Add
1198 definitions for alternate constructor.
1199 * config/os/solaris/solaris2.7/bits/ctype_noninline.h (ctype): Same.
1200 * config/os/solaris/solaris2.6/bits/ctype_noninline.h (ctype): Same.
1201 * config/os/solaris/solaris2.5/bits/ctype_noninline.h (ctype): Same.
1202 * config/os/newlib/bits/ctype_noninline.h (ctype): Same.
1203 * config/os/irix/irix6.5/bits/ctype_noninline.h (ctype): Same.
1204 * config/os/irix/irix5.2/bits/ctype_noninline.h (ctype): Same.
1205 * config/os/hpux/bits/ctype_noninline.h (ctype): Same.
1206 * config/os/generic/bits/ctype_noninline.h (ctype): Same.
1207 * config/os/djgpp/bits/ctype_noninline.h (ctype): Same.
1208 * config/os/bsd/netbsd/bits/ctype_noninline.h (ctype): Same.
1209 * config/os/bsd/freebsd/bits/ctype_noninline.h (ctype): Same.
1210 * config/os/aix/bits/ctype_noninline.h (ctype): Same.
1211 * include/bits/locale_facets.h (ctype<_CharT>): Remove dummy
1212 definitions for all virtual functions. These are now explicitly
1213 undefined for non-required factets, ie any non-char, non-wchar_t
1215 * src/localename.cc (locale::_Impl::_Impl(string, size_t): Named
1216 locales use alternate constructor for ctype facet.
1217 * include/bits/locale_facets.h (ctype<char>::ctype(__c_locale, const
1218 mask*, bool, size_t): Add.
1219 (ctype<wchar_t>::ctype(__c_locale, size_t): Add.
1220 * src/locale.cc (ctype<wchar_t>::ctype(__c_locale, size_t)): Add
1223 * testsuite/22_locale/ctype_members_char.cc (test02): Add, mark
1224 XFAIL for non-gnu locale models.
1226 2001-12-12 Philip Martin <philip@codematters.co.uk>
1227 Ross Smith <r-smith@ihug.co.nz>
1228 Paolo Carlini <pcarlini@unitus.it>
1231 * include/bits/std_limits.h (defines, numeric_limits<bool>::digits10):
1232 Fix digits10 values for integral types.
1233 * include/bits/locale_facets.tcc (num_get::do_get for integral types):
1234 Tweak _M_extract_int call.
1235 * testsuite/27_io/istream_extractor_arith.cc (test13, test12_aux):
1236 Tweak overflowing number of digits.
1237 * testsuite/18_support/numeric_limits.cc (test03): New testcase.
1239 2001-12-11 Benjamin Kosnik <bkoz@redhat.com>
1241 * config/os/generic/bits/ctype_inline.h: Remove spaces.
1242 * config/os/gnu-linux/bits/ctype_noninline.h: Same.
1243 * include/bits/locale_facets.h (__num_base): Move double data
1244 members to first in class.
1245 * include/bits/locale_facets.tcc: Re-arrange, tweak.
1246 * src/locale.cc: Clean.
1247 *include/bits/stl_vector.h: Space typedefs.
1249 2001-12-11 Phil Edwards <pme@gcc.gnu.org>
1251 * testsuite/ext/allocators.cc: New file.
1253 2001-12-11 Jason Merrill <jason@redhat.com>
1255 * include/bits/locale_facets.tcc (_M_extract_int): Avoid
1256 uninitialized warning.
1258 2001-12-11 Loren Rittle <ljrittle@acm.org>
1260 * config/cpu/sparc/sparc32/bits/atomicity.h
1261 (__Atomicity_lock<0>::_S_atomicity_lock): Add.
1263 2001-12-10 Paolo Carlini <pcarlini@unitus.it>
1265 * include/bits/basic_string.tcc (_M_replace_safe): Fix typos.
1266 * include/bits/basic_string.h: Fix typos.
1268 2001-12-10 Paolo Carlini <pcarlini@unitus.it>
1269 Nathan Myers <ncm@cantrip.org>
1271 * include/bits/basic_string.tcc (_M_replace_safe): New function.
1272 (_M_replace(input_iterator_tag), append members): Use it.
1273 (_M_replace(forward_iterator_tag)): Remove.
1274 * include/bits/basic_string.h: Adjust declarations.
1275 * src/string-inst.cc: Adjust declarations.
1277 2001-12-09 Benjamin Kosnik <bkoz@redhat.com>
1278 Philip Martin <pmartin@uklinux.net>
1280 * include/bits/locale_facets.h (__num_base::_S_scale_hex): Add.
1281 (__num_base::_S_scale_oct): Add.
1282 * include/bits/locale_facets.tcc (_M_extract_int): Use them.
1283 * src/locale.cc: Add definitions.
1284 * testsuite/27_io/istream_extractor_arith.cc (main): Call test13.
1286 * testsuite/testsuite_hooks.h: Remove duplicate VERIFY define.
1288 2001-12-07 Nathan Myers <ncm@cantrip.org>
1289 Loren Rittle <ljrittle@acm.org>
1292 * config/cpu/sparc/sparc32/bits/atomicity.h
1293 (struct __Atomicity_lock<__inst>): Add.
1294 (__Atomicity_lock<__inst>::_S_atomicity_lock): Add.
1295 (__exchange_and_add): Use __Atomicity_lock<0>::_S_atomicity_lock
1296 instead of lock local to static function.
1297 (__atomic_add): Likewise.
1299 2001-12-07 Phil Edwards <pme@gcc.gnu.org>
1301 * src/globals.cc: Remove __GTHREADS guard.
1303 2001-12-07 Paolo Carlini <pcarlini@unitus.it>
1305 * include/bits/locale_facets.tcc (num_put::_M_convert_float):
1306 Extend comment, reduce __cs_size for non-fixed outputs.
1308 2001-12-07 Paolo Carlini <pcarlini@unitus.it>
1310 * include/bits/basic_string.tcc (_M_mutate): Fix typo
1311 in the previous check in.
1313 2001-12-06 Paolo Carlini <pcarlini@unitus.it>
1314 Loren J. Rittle <ljrittle@acm.org>
1316 * include/bits/basic_string.tcc (_M_mutate, _M_clone): Implement
1317 exponential growth policy to meet linear amortized time
1318 requirements of the standard.
1319 (_S_create): Adjust comment.
1321 2001-12-06 Benjamin Kosnik <bkoz@redhat.com>
1324 * include/bits/locale_facets.tcc (num_put): Clean.
1325 (num_get::_M_extract_float): Change argument to string.
1326 (num_get::do_get(float)): Fixup.
1327 (num_get::do_get(double)): Same.
1328 (num_get::do_get(long double)): Same.
1329 (num_get::_M_extract_int): Add maximum length parameter, __max.
1330 (num_get::_M_extract_float): Correct zeros, use string.
1331 * include/bits/locale_facets.h (num_get::_M_extract_float): Change
1333 * src/locale.cc (__num_base::_S_atoms): Remove x, X.
1334 * testsuite/27_io/istream_extractor_arith.cc (test13): Add.
1336 2001-12-06 Philip Martin <pmartin@uklinux.net>
1338 * testsuite/27_io/istream_extractor_arith.cc (test12): Add
1339 tests for excess input digits.
1341 2001-12-06 Phil Edwards <pme@gcc.gnu.org>
1343 * include/bits/std_bitset.h: Use GLIBCPP in multiple-inclusion guard.
1344 * include/bits/stl_algo.h: Likewise.
1345 * include/bits/stl_algobase.h: Likewise.
1346 * include/bits/stl_bvector.h: Likewise.
1347 * include/bits/stl_deque.h: Likewise.
1348 * include/bits/stl_function.h: Likewise.
1349 * include/bits/stl_iterator.h: Likewise.
1350 * include/bits/stl_iterator_base_funcs.h: Likewise.
1351 * include/bits/stl_iterator_base_types.h: Likewise.
1352 * include/bits/stl_list.h: Likewise.
1353 * include/bits/stl_multimap.h: Likewise.
1354 * include/bits/stl_multiset.h: Likewise.
1355 * include/bits/stl_pair.h: Likewise.
1356 * include/bits/stl_queue.h: Likewise.
1357 * include/bits/stl_set.h: Likewise.
1358 * include/bits/stl_stack.h: Likewise.
1359 * include/bits/stl_tempbuf.h: Likewise.
1360 * include/bits/stl_tree.h: Likewise.
1361 * include/bits/stl_vector.h: Likewise.
1363 * include/bits/stl_alloc.h: Use our own multiple inclusion guards.
1364 Doxygenate more comments. Correct historical artifacts in comments.
1365 (alloc, single_alloc): Uglify non-standard names.
1366 (__default_alloc_template::_NFREELISTS): Calculate from other
1368 (__default_alloc_template::_S_free_list): Remove SunPro workaround.
1369 (__default_alloc_template::_Lock): Mark as "unused".
1370 * include/backward/alloc.h: Update.
1371 * include/bits/stl_bvector.h: Likewise.
1372 * include/ext/ropeimpl.h: Likewise.
1373 * include/ext/stl_hashtable.h: Likewise.
1375 2001-12-05 Benjamin Kosnik <bkoz@redhat.com>
1378 * include/bits/locale_facets.tcc (num_put::_M_widen_float): Add
1379 grouping to floating point types.
1380 * testsuite/27_io/ostream_inserter_arith.cc (test02): Add test.
1382 2001-12-04 Paolo Carlini <pcarlini@unitus.it>
1385 * testsuite/27_io/ostream_inserter_arith.cc (test02): Add testcase
1387 * include/bits/locale_facets.tcc (num_put::_M_convert_float):
1388 Deal properly with long ios_base::fixed floats.
1389 (num_put::_M_widen_float): use
1390 __len in __builtin_alloca call.
1392 2001-12-04 Benjamin Kosnik <bkoz@redhat.com>
1394 * src/Makefile.am (sources): Add ext-inst.cc.
1395 * src/Makefile.in: Regenerate.
1396 * src/ext-inst.cc: New file.
1397 * include/bits/stl_threads.h: Format.
1398 * src/globals.cc: Add instantiation for _S_swap_lock.
1400 * testsuite/18_support/numeric_limits.cc: Add numeric_limits<B>
1403 2001-12-04 John David Anglin <dave@hiauly1.hia.nrc.ca>
1405 * testsuite/22_locale/numpunct_members_wchar_t.cc: Only compile
1406 and execute test01 if _GLIBCPP_USE_WCHAR_T is defined.
1407 * testsuite/26_numerics/complex_inserters_extractors.cc: Provide
1408 for explicit instantiation of class std::basic_string<char,
1409 gnu_char_traits, std::allocator<char> >.
1411 2001-12-03 Benjamin Kosnik <bkoz@redhat.com>
1413 * testsuite/22_locale/collate.cc: Compile-only.
1414 * testsuite/22_locale/time_get.cc: Same.
1415 * testsuite/22_locale/time_put.cc: Same.
1416 * testsuite/22_locale/numpunct.cc: Same.
1417 * testsuite/22_locale/num_put.cc: Same.
1418 * testsuite/22_locale/num_get.cc: Same.
1419 * testsuite/22_locale/moneypunct.cc: Same.
1420 * testsuite/22_locale/money_get.cc: Same.
1421 * testsuite/22_locale/messages.cc: Same.
1422 * testsuite/22_locale/ctype.cc: Same.
1424 2001-12-03 Benjamin Kosnik <bkoz@redhat.com>
1426 * src/string-inst.cc (string::_Rep::_S_terminal): Add static data
1427 member instantiations.
1429 2001-12-03 Steve Ellcey <sje@cup.hp.com>
1431 * libstdc++-v3/configure.in: Add support for hpux cross compiles,
1432 combine common linux/hpux/generic cross compile support to reduce
1434 * libstdc++-v3/configure: Regenerate.
1436 2001-12-03 Loren J. Rittle <ljrittle@acm.org>
1438 * docs/html/ext/howto.html: Update commentary.
1439 * include/bits/c++config: Update threading configuration comment.
1440 (__STL_GTHREADS): Remove macro definition.
1441 (__STL_THREADS): Likewise.
1442 * include/bits/stl_threads.h: Leave only the configuration
1443 path which had been guarded by __STL_GTHREADS. Remove all
1444 guards related to __STL_GTHREADS, __STL_SGI_THREADS,
1445 __STL_PTHREADS, __STL_UITHREADS and __STL_WIN32THREADS.
1446 * include/bits/stl_alloc.h: Leave only the configuration path
1447 which had been guarded by __STL_THREADS. Remove configuration
1448 path and guards for __STL_SGI_THREADS.
1449 (__NODE_ALLOCATOR_THREADS): Remove macro definition. Unroll its use.
1450 (__NODE_ALLOCATOR_LOCK): Likewise.
1451 (__NODE_ALLOCATOR_UNLOCK): Likewise.
1452 (_NOTHREADS): Remove guards related to macro.
1453 * include/ext/stl_rope.h: Remove configuration path and guards
1454 for __STL_SGI_THREADS.
1455 * src/stl-inst.cc: Remove use of __NODE_ALLOCATOR_THREADS.
1457 2001-12-02 Phil Edwards <pme@gcc.gnu.org>
1459 * docs/html/ext/howto.html: Update list of implemented DRs.
1460 * docs/html/ext/lwg-active.html: Import R20 from upstream.
1461 * docs/html/ext/lwg-defects.html: Import R20 from upstream.
1463 2001-11-30 Benjamin Kosnik <bkoz@redhat.com>
1467 * libsupc++/exception (bad_exception::~bad_exception()): Remove
1469 * libsupc++/new (bad_alloc::~bad_alloc()): Remove.
1470 * libsupc++/typeinfo (bad_cast::~bad_cast()): Remove.
1471 (bad_typeid::~bad_typeid()): Remove.
1472 * libsupc++/tinfo.cc (bad_cast::~bad_cast()): Remove definition.
1473 (bad_typeid::~bad_typeid()): Same.
1474 * libsupc++/new_handler.cc (bad_alloc::~bad_alloc()): Same.
1475 * libsupc++/eh_exception.cc (bad_exception::~bad_exception()): Same.
1477 * include/bits/std_iomanip.h: Tweak.
1479 2001-11-29 Paolo Carlini <pcarlini@unitus.it>
1482 * include/bits/locale_facets.tcc (__pad): Add bool parameter to
1483 correctly pad internal-adjusted const char*-type objects.
1484 * include/bits/locale_facts.tcc (num_put::_M_insert): Update call.
1485 * include/bits/ostream.tcc (operator<<(_CharT , char, const
1486 _CharT*, const char*, const basic_string&): Update calls.
1487 * src/locale-inst.tcc: Update declarations.
1488 * testsuite/27_io/ostream_inserter_arith.cc (test04): Add test.
1490 2001-11-29 Phil Edwards <pme@gcc.gnu.org>
1492 * docs/html/ext/howto.html: Finish allocator notes (inst and 3.0).
1494 2001-11-29 Benjamin Kosnik <bkoz@redhat.com>
1496 * include/bits/locale_facets.tcc (num_get::do_get(long double)):
1497 Fix __traits_type typo.
1499 2001-11-28 Paolo Carlini <pcarlini@unitus.it>
1501 * include/bits/locale_facets.tcc (__pad): Correctly pad
1502 internal-adjusted hex numbers.
1503 * testsuite/27_io/ostream_inserter_arith.cc: Add testcase.
1505 2001-11-28 Paolo Carlini <pcarlini@unitus.it>
1506 Loren J. Rittle <ljrittle@acm.org>
1508 * include/bits/basic_string.h
1509 (basic_string::_Rep::__default_excess, _S_excess_slop):
1511 * include/bits/basic_string.tcc: Remove dead code.
1512 * include/bits/c++config: Remove comment.
1514 2001-11-28 Benjamin Kosnik <bkoz@redhat.com>
1515 Jakub Jelinek <jakub@redhat.com>
1517 * config/locale/moneypunct_members_gnu.cc
1518 (moneypunct<wchar_t>::_M_initialize_moneypunct): Correctly cast
1520 * config/locale/numpunct_members_gnu.cc
1521 (numpunct<wchar_t>::_M_initialize_numpunct): Same.
1523 2001-11-27 Benjamin Kosnik <bkoz@redhat.com>
1525 * include/bits/locale_facets.tcc: Formatting tweaks.
1527 * testsuite/23_containers/map_operators.cc: Don't xfail.
1528 * testsuite/23_containers/set_operators.cc: Same.
1529 * testsuite/backward/header_iterator_h.cc: Pass in -Wno-deprecated.
1530 * testsuite/backward/header_deque_h.cc: Same.
1532 2001-11-27 Loren J. Rittle <ljrittle@acm.org>
1533 Paolo Carlini <pcarlini@unitus.it>
1535 * include/bits/basic_string.tcc (basic_string::_Rep::_S_create):
1536 Enforce allocation size blocking policy to reduce
1537 fragmentation and enhance performance with common malloc
1540 2001-11-27 Benjamin Kosnik <bkoz@redhat.com>
1542 Numeric facets cleanup.
1543 * include/bits/locale_facets.h (__num_base::_S_atoms): Add, remove
1545 (__num_base::_M_zero): Add
1546 (__num_base::_M_e): Add.
1547 (__num_base::_M_E): Add.
1548 * include/bits/locale_facets.tcc (num_get::_M_extract): Remove.
1549 (num_get::_M_extract_float): New.
1550 (num_get::_M_extract_int): New.
1551 * src/locale.cc (num_get::_M_extract): Remove.
1553 * include/bits/locale_facets.tcc (num_put::_M_insert_float):
1554 Simplify, use _M_insert.
1555 (num_put::do_put(bool)): Simplify, remove __pad.
1557 (__pad_output): Change to __pad.
1558 * include/bits/ostream.tcc: And here.
1559 * src/locale-inst: Remove instantiations.
1561 * include/bits/locale_facets.h: Move helper functions in to class
1563 (num_put::_M_insert_float): Same, for __output_integer.
1564 (num_put::_M_insert_int): Same, for __output_float.
1565 (num_put::_M_insert): New.
1567 (__num_base::_S_format_float): Move
1568 __build_float_format into class __num_base.
1569 (__num_base::_S_format_int): Move __build_int_format into class
1571 * include/bits/locale_facets.tcc (__group_digits): Change to
1572 (__add_grouping): This.
1573 * src/locale-inst.cc: And here. Tweak instantiations.
1574 * src/misc-inst.cc: Remove instantiations.
1576 * include/bits/ostream.tcc (__pad_char): Rename, adjust inserters
1577 for new calling conventions, move to...
1578 * include/bits/locale_facets.tcc (__pad_output): Here. Adjust
1579 signature to make it useful for both ostream and num_put.
1580 (__pad_numeric): Remove.
1581 * src/misc-inst.cc: Remove instantiations.
1582 * src/locale-inst.cc: Same.
1584 * include/bits/locale_facets.h (_Numeric_get): Remove.
1585 (_Numeric_put): Remove.
1586 (num_get::get(short)): Remove.
1587 (num_get::get(int)): Remove.
1588 (num_get::do_get(short)): Remove.
1589 (num_get::do_get(int)): Remove.
1590 * include/bits/istream.tcc (istream::operator>>(short)): Fix as
1592 (istream::operator>>(int)): Same.
1594 * include/bits/locale_facets.h (_Format_cache): Remove.
1595 * include/bits/locale_facets.tcc: Same.
1596 * src/locale.cc: Same.
1597 * src/locale-inst.cc: Same.
1598 * include/bits/ostream.tcc: Same.
1599 * src/ios.cc (ios_base::imbue): Remove here as well.
1601 * testsuite/22_locale/num_get.cc: New file.
1602 * testsuite/22_locale/num_get_members_char.cc: New file.
1603 * testsuite/22_locale/num_get_members_wchar_t.cc: New.
1604 * testsuite/22_locale/numpunct_members_wchar_t.cc: New file.
1605 * testsuite/22_locale/num_put.cc: New file.
1606 * testsuite/22_locale/num_put_members_char.cc: New file.
1607 * testsuite/22_locale/num_put_members_wchar_t.cc: New file.
1608 * testsuite/27_io/ostream_inserter_arith.cc: Fix.
1609 * testsuite/27_io/istream_extractor_arith.cc: Fix.
1611 2001-11-27 Phil Edwards <pme@gcc.gnu.org>
1613 * docs/html/explanations.html: New section, empty for now.
1614 * docs/html/17_intro/howto.html: Cleanup. Move unrelated link...
1615 * docs/html/23_containers/howto.html: ...to here. Break up and
1616 rewrap threading discussion to emphasize warning. Move malloc text...
1617 * docs/html/ext/howto.html: ...to here. New section. Describe
1618 allocators and __USE_MALLOC effects.
1619 * docs/html/ext/sgiexts.html: Mention their code.
1621 2001-11-24 Joseph S. Myers <jsm28@cam.ac.uk>
1623 * docs/doxygen/maint.cfg.in, docs/doxygen/user.cfg.in,
1624 docs/html/27_io/binary_iostreams_kuehl.txt: Revert previous
1627 2001-11-23 Phil Edwards <pme@gcc.gnu.org>
1629 * Makefile.am (doxygen-maint): The script isn't executable in CVS.
1630 * Makefile.in: Regenerated.
1631 * docs/doxygen/TODO: New file listing doxygen work to be done.
1632 * docs/doxygen/run_doxygen: Fix up man pages.
1633 * docs/doxygen/user.cfg.in: Insert maint-only toggles.
1634 * docs/doxygen/maint.cfg.in: Copy from user.cfg and turn toggles on.
1635 * include/bits/stl_construct.h: Use new hooks for internal functions.
1637 * docs/html/17_intro/TODO: Small updates.
1638 * docs/html/faq/index.html: Likewise.
1639 * docs/html/faq/index.txt: Regenerated.
1641 * include/bits/stl_alloc.h: Doxygenate, reindent comments, remove
1642 SGI-isms and wrappers.
1643 (simple_alloc, debug_alloc): Uglify class names.
1644 (__default_alloc_template): Uglify "threads" template parameter and
1645 update corresponding macros.
1646 * include/backward/alloc.h: Bring up to date.
1648 2001-11-23 Jason Merrill <jason@redhat.com>
1650 * src/vterminate.cc (__verbose_terminate_handler): Add leading
1653 2001-11-23 Joseph S. Myers <jsm28@cam.ac.uk>
1655 * ChangeLog, docs/doxygen/maint.cfg.in, docs/doxygen/user.cfg.in,
1656 docs/doxygen/doxygroups.cc, docs/doxygen/Intro.3,
1657 docs/html/17_intro/BUGS, docs/html/17_intro/C++STYLE,
1658 docs/html/17_intro/CHECKLIST, docs/html/17_intro/DESIGN,
1659 docs/html/17_intro/howto.html, docs/html/17_intro/porting.html,
1660 docs/html/17_intro/porting.texi, docs/html/18_support/howto.html,
1661 docs/html/19_diagnostics/howto.html, docs/html/20_util/howto.html,
1662 docs/html/21_strings/howto.html,
1663 docs/html/23_containers/howto.html,
1664 docs/html/26_numerics/howto.html, docs/html/27_io/howto.html,
1665 docs/html/27_io/binary_iostreams_kuehl.txt,
1666 docs/html/ext/sgiexts.html, docs/html/faq/index.html,
1667 docs/html/faq/index.txt, testsuite/24_iterators/iterator.cc,
1668 include/bits/basic_file.h, include/bits/locale_facets.h,
1669 include/bits/locale_facets.tcc, include/bits/std_sstream.h,
1670 include/ext/ropeimpl.h, include/ext/stl_rope.h,
1671 libsupc++/tinfo.cc, libsupc++/cxxabi.h, libsupc++/typeinfo,
1672 libsupc++/eh_throw.cc, acinclude.m4, aclocal.m4, configure,
1673 configure.target, ChangeLog-2000: Fix spelling errors.
1675 * config/locale/moneypunct_members_gnu.cc,
1676 include/bits/locale_facets.h: Fix spelling errors.
1678 2001-11-22 Stephen M. Webb <stephen@bregmasoft.com>
1680 * testsuite/23_containers/list_capacity.cc: New file.
1681 * testsuite/23_containers/list_ctor.cc: New file.
1682 * testsuite/23_containers/list_modifiers.cc: New file.
1683 * testsuite/23_containers/list_operators.cc: New file.
1685 2001-11-22 Stephen M. Webb <stephen@bregmasoft.com>
1687 * include/bits/stl_list.h: Reformatted according to C++STYLE rules.
1688 (size): Replaced nonstandard distance() call with the standard one.
1689 (transfer): Uglified to _M_transfer.
1691 2001-11-21 Paolo Carlini <pcarlini@unitus.it>
1694 * include/bits/basic_string.tcc (basic_string::reserve): Never shrink
1695 below the current size.
1696 * testsuite/21_strings/capacity.cc (test02): Add test.
1698 2001-11-19 Phil Edwards <pme@gcc.gnu.org>
1700 * docs/doxygen/Intro.3: More notes.
1701 * docs/doxygen/style.css: Update to default style from Doxygen 1.2.10.
1702 * include/bits/stl_algobase.h: Add doxygen hooks for functions.
1703 * include/ext/hash_map: Add @file hook.
1704 * include/ext/hash_set: Likewise.
1705 * include/ext/rope: Likewise.
1706 * include/ext/ropeimpl.h: Likewise.
1707 * include/ext/slist: Likewise.
1708 * include/ext/stl_hash_fun.h: Likewise.
1709 * include/ext/stl_hashtable.h: Likewise.
1710 * include/ext/stl_rope.h: Likewise.
1712 * docs/html/17_intro/license.html: Remove "experimental" sentence.
1713 * docs/html/19_diagnostics/howto.html: Document new verbose
1715 * testsuite/27_io/filebuf.cc: Fix comment, move tweakable parameter
1716 to more visible (closer to description) position.
1718 * libsupc++/eh_type.cc: Formatting tweak.
1719 * libsupc++/exception: Likewise.
1720 * src/vterminate.cc: Likewise.
1722 * docs/html/17_intro/porting.html: Regenerate.
1723 * docs/html/faq/index.txt: Regenerate.
1725 2001-11-18 Jason Merrill <jason@redhat.com>
1727 * libsupc++/eh_personality.cc (__cxa_call_unexpected): Take void*.
1728 * libsupc++/eh_catch.cc (__cxa_begin_catch): Likewise.
1729 * libsupc++/unwind-cxx.h: Adjust.
1730 * src/Makefile.am (strstream.o): Pass -Wno-deprecated.
1732 * libsupc++/eh_type.cc (__cxa_current_exception_type): New file.
1733 * libsupc++/cxxabi.h: Declare it.
1734 * libsupc++/Makefile.am (sources): Add it.
1735 * src/vterminate.cc (verbose_terminate_handler): New file.
1736 * libsupc++/exception: Declare it.
1737 * src/Makefile.am (sources): Add it.
1739 * src/Makefile.am (VPATH): Check the src directory before the top one.
1741 2001-11-16 Paolo Carlini <pcarlini@unitus.it>
1743 * include/bits/stl_deque.h (deque::erase()): Fix memory leak.
1745 2001-11-16 Loren J. Rittle <ljrittle@acm.org>
1747 * docs/html/17_intro/howto.html (Thread-safety): Rename
1748 section to ``The Standard C++ library and multithreading'' and
1749 update information based on recent mailing list traffic. Move
1750 all discussion of __USE_MALLOC to...
1751 * docs/html/23_containers/howto.html (Containers and multithreading):
1752 ...here and rework it based on recent mailing list traffic.
1754 2001-11-15 Loren J. Rittle <ljrittle@acm.org>
1756 * docs/html/faq/index.html (Is libstdc++-v3 thread-safe?): Clarify
1759 2001-11-15 <bjornw@planetarion.com>
1760 Loren J. Rittle <ljrittle@acm.org>
1763 * include/bits/stl_alloc.h (alloc): Update to use __mem_interface.
1764 (single_client_alloc): Likewise.
1766 2001-11-08 Danny Smith <dannysmith@users.sourceforge.net>
1768 * configure.target: Add os_include_dir for mingw32* target.
1769 * docs/html/17_intro/porting.texi: Mention mingw32 as target benefiting
1770 from _GLIBCPP_AVOID_FSEEK.
1771 * config/os/mingw32/bits/ctype_base.h: New file.
1772 * config/os/mingw32/bits/ctype_inline.h: New file.
1773 * config/os/mingw32/bits/ctype_noninline.h: New file.
1774 * config/os/mingw32/bits/os_defines.h: New file.
1776 2001-11-07 Nathan Myers <ncm@cantrip.org>
1778 * docs/html/faq/index.html (5.8): New entry on ABIs.
1779 * docs/html/faq/index.txt: Regenerate.
1781 2001-11-07 Phil Edwards <pme@gcc.gnu.org>
1783 * docs/html/faq/index.html: Explain libsupc++, mention 'long long'
1784 bugfixes on Solaris.
1785 * docs/html/faq/index.txt: Regenerate.
1787 2001-11-06 Phil Edwards <pme@gcc.gnu.org>
1789 * acinclude.m4 (GLIBCPP_ENABLE_LONG_LONG): Run the test in
1790 LANG_CPLUSPLUS mode.
1791 * aclocal.m4: Regenerate.
1792 * configure: Regenerate.
1794 2001-11-05 Phil Edwards <pme@gcc.gnu.org>
1796 * porting.texi: Move...
1797 * docs/html/17_intro/porting.texi: ...to here.
1798 * docs/html/Makefile: Add rule to rebuild...
1799 * docs/html/17_intro/porting.html: ...this. New file.
1801 2001-11-05 Felix Natter <fnatter@gmx.net>
1803 * docs/html/17_intro/porting-howto.xml: check in v0.9.4
1804 * docs/html/17_intro/porting-howto.html: regenerate
1806 2001-11-02 Loren J. Rittle <ljrittle@acm.org>
1808 * include/bits/stl_threads.h (_Atomic_swap): Only enable path
1809 when platform supports __GTHREAD_MUTEX_INIT.
1811 2001-11-02 Phil Edwards <pme@gcc.gnu.org>
1813 * acconfig.h: Update comments.
1814 * acinclude.m4 (GLIBCPP_ENABLE_C99): Move strtoll, strtoull tests...
1815 (GLIBCPP_ENABLE_LONG_LONG): ...to here. Don't check enable_c99.
1816 * aclocal.m4: Regenerate.
1817 * config.h.in: Regenerate.
1818 * configure: Regenerate.
1820 * include/bits/boost_concept_check.h: Unconditionally compile uses
1821 of 'long long' which require only compiler support, not C lib support.
1822 * include/bits/cpp_type_traits.h: Likewise.
1823 * include/bits/std_limits.h: Likewise.
1824 * include/bits/type_traits.h: Likewise.
1825 * src/concept-inst.cc: Likewise.
1826 * src/limits.cc: Likewise.
1827 * include/c_shadow/stdlib.h: Compile conditionally on _GLIBCPP_USE_C99
1828 instead of _GLIBCPP_USE_LONG_LONG.
1829 * include/c_shadow/bits/std_cstdlib.h: Likewise.
1831 2001-11-02 Phil Edwards <pme@gcc.gnu.org>
1833 * config/io/c_io_stdio.h: Correct grammar in comments.
1834 * docs/doxygen/Intro.3: Expand "top-level" man page.
1835 * docs/doxygen/doxygroups.cc: New module definitions (comments).
1836 * docs/doxygen/mainpage.doxy: Tweaks.
1837 * docs/doxygen/run_doxygen: Update Doxygen version, massage man pages.
1839 Add @file hooks so that headers are considered to be documented.
1840 * include/bits/basic_ios.h, include/bits/basic_file.h,
1841 include/bits/basic_string.h, include/bits/boost_concept_check.h,
1842 include/bits/char_traits.h, include/bits/codecvt.h,
1843 include/bits/concept_check.h, include/bits/cpp_type_traits.h,
1844 include/bits/fpos.h, include/bits/gslice.h, include/bits/gslice_array.h,
1845 include/bits/indirect_array.h, include/bits/ios_base.h,
1846 include/bits/locale_facets.h, include/bits/localefwd.h,
1847 include/bits/mask_array.h, include/bits/pthread_allocimpl.h,
1848 include/bits/slice.h, include/bits/slice_array.h,
1849 include/bits/std_algorithm.h, include/bits/std_bitset.h,
1850 include/bits/std_complex.h, include/bits/std_deque.h,
1851 include/bits/std_fstream.h, include/bits/std_functional.h,
1852 include/bits/std_iomanip.h, include/bits/std_ios.h,
1853 include/bits/std_iosfwd.h, include/bits/std_iostream.h,
1854 include/bits/std_istream.h, include/bits/std_iterator.h,
1855 include/bits/std_limits.h, include/bits/std_list.h,
1856 include/bits/std_locale.h, include/bits/std_map.h,
1857 include/bits/std_memory.h, include/bits/std_numeric.h,
1858 include/bits/std_ostream.h, include/bits/std_queue.h,
1859 include/bits/std_set.h, include/bits/std_sstream.h,
1860 include/bits/std_stack.h, include/bits/std_streambuf.h,
1861 include/bits/std_string.h, include/bits/std_utility.h,
1862 include/bits/std_valarray.h, include/bits/std_vector.h,
1863 include/bits/stl_algo.h, include/bits/stl_alloc.h,
1864 include/bits/stl_bvector.h, include/bits/stl_construct.h,
1865 include/bits/stl_deque.h, include/bits/stl_heap.h,
1866 include/bits/stl_iterator.h, include/bits/stl_iterator_base_funcs.h,
1867 include/bits/stl_iterator_base_types.h, include/bits/stl_list.h,
1868 include/bits/stl_map.h, include/bits/stl_multimap.h,
1869 include/bits/stl_multiset.h, include/bits/stl_numeric.h,
1870 include/bits/stl_pair.h, include/bits/stl_pthread_alloc.h,
1871 include/bits/stl_queue.h, include/bits/stl_raw_storage_iter.h,
1872 include/bits/stl_relops.h, include/bits/stl_set.h,
1873 include/bits/stl_stack.h, include/bits/stl_tempbuf.h,
1874 include/bits/stl_threads.h, include/bits/stl_tree.h,
1875 include/bits/stl_uninitialized.h, include/bits/stl_vector.h,
1876 include/bits/stream_iterator.h, include/bits/streambuf_iterator.h,
1877 include/bits/stringfwd.h, include/bits/type_traits.h,
1878 include/bits/valarray_array.h, include/bits/valarray_meta.h:
1879 Add hooks, tweak comments only.
1881 * include/bits/stl_algobase.h (swap, min, iter_swap): Also
1882 document these functions.
1883 * include/bits/stl_function.h: Tweak link comments.
1885 2001-11-01 Paolo Carlini <pcarlini@unitus.it>
1886 Benjamin Kosnik <bkoz@redhat.com>
1888 * testsuite/27_io/ios_manip_fmtflags.cc: Fix for non-interactive
1890 * include/bits/locale_facets.tcc (num_put::do_put(bool)): Fix.
1892 2001-11-01 Egor Duda <deo@logos-m.ru>
1894 * config/os/newlib/bits/ctype_noninline.h
1895 (ctype<char>::do_toupper(char __c)): Check for proper character class.
1896 (ctype<char>::do_tolower(char __c)): Ditto.
1898 2001-11-01 Phil Edwards <pme@gcc.gnu.org>
1900 * acinclude.m4: Fix spacing.
1901 (GLIBCPP_ENABLE_CONCEPT_CHECKS): New macro.
1902 * configure.in: Call here.
1903 * acconfig.h: Add _GLIBCPP_CONCEPT_CHECKS.
1904 * include/bits/boost_concept_check.h: Fix headers.
1905 (__function_requires): Make inline.
1906 * include/bits/c++config (_GLIBCPP_CONCEPT_CHECKS): Remove.
1907 * aclocal.m4: Regenerate.
1908 * config.h.in: Regenerate.
1909 * configure: Regenerate.
1911 Move trailing ';' inside macro, PR libstdc++/3666.
1912 * include/bits/concept_check.h: Add semicolon.
1913 * include/bits/stl_algo.h: Remove semicolon.
1914 * include/bits/stl_algobase.h: Likewise.
1915 * include/bits/stl_deque.h: Likewise.
1916 * include/bits/stl_heap.h: Likewise.
1917 * include/bits/stl_iterator_base_funcs.h: Likewise.
1918 * include/bits/stl_list.h: Likewise.
1919 * include/bits/stl_map.h: Likewise.
1920 * include/bits/stl_multimap.h: Likewise.
1921 * include/bits/stl_multiset.h: Likewise.
1922 * include/bits/stl_numeric.h: Likewise.
1923 * include/bits/stl_queue.h: Likewise.
1924 * include/bits/stl_set.h: Likewise.
1925 * include/bits/stl_stack.h: Likewise.
1926 * include/bits/stl_vector.h: Likewise.
1927 * include/ext/hash_map: Likewise.
1928 * include/ext/hash_set: Likewise.
1929 * include/ext/slist: Likewise.
1931 * src/concept-inst.cc: New file with explicit instantiations.
1932 * src/Makefile.am (sources): Add here, with special build rules.
1933 * src/Makefile.in: Regenerate.
1935 2001-11-01 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
1937 * include/bits/std_complex.h (_Norm_helper): New class template.
1939 (abs): Tweak. Fix Thinko.
1941 2001-10-31 Benjamin Kosnik <bkoz@redhat.com>
1944 * include/bits/codecvt.h: Add virtual member function declarations.
1945 * src/codecvt.cc: Tweaks.
1946 * testsuite/22_locale/codecvt.cc: Test compilation only,
1947 non-required facets not required to have linkage.
1949 2001-10-31 Edward E. Meyer <edward.e.meyer@boeing.com>
1952 * include/bits/std_complex.h (complex::operator/=): Correct sign.
1954 2001-10-30 Paolo Carlini <pcarlini@unitus.it>
1955 Benjamin Kosnik <bkoz@redhat.com>
1958 * include/bits/basic_string.h: Tweaks.
1959 * include/bits/basic_string.tcc (string::_M_replace(iterator,
1960 iterator, _ForwardIter, _ForwardIter, forward_iterator_tag): Fix.
1961 * src/string-inst.cc: Tweaks, add instantiation.
1962 * testsuite/21_strings/replace.cc (test02): Add test.
1963 * testsuite/21_strings/assign.cc (test01): New file.
1965 2001-10-30 Jakub Jelinek <jakub@redhat.com>
1967 * include/bits/stl_deque.h (_M_new_elements_at_front): Use
1968 __throw_exception_again.
1969 (_M_new_elements_at_back): Likewise.
1971 2001-10-29 Benjamin Kosnik <bkoz@redhat.com>
1974 * include/bits/fstream.tcc (filebuf::showmanyc): Simplify.
1975 * testsuite/27_io/filebuf.cc (test07): New test.
1976 (test03): Modify showmanyc test.
1978 2001-10-26 Benjamin Kosnik <bkoz@redhat.com>
1981 * config/locale/codecvt_specializations_ieee_1003.1-200x.h
1982 (__enc_traits::~__enc_traits): Fix.
1983 (__enc_traits::_M_init): Add error checking.
1985 2001-10-25 Benjamin Kosnik <bkoz@redhat.com>
1988 * include/bits/locale_facets.tcc (time_get::_M_extract_name): Fix.
1990 2001-10-25 Benjamin Kosnik <bkoz@redhat.com>
1993 * include/bits/ostream.tcc (ostream::operator<<(streambuf*)): Fix
1995 * include/bits/istream.tcc (istream::operator>>(streambuf*): Make
1996 consistent, where possible.
1997 * include/bits/streambuf.tcc: Tweak.
1999 2001-10-25 Brendan Kehoe <brendan@zen.org>
2002 * bits/ostream.tcc (seekp): Scope use as ios_base::failbit.
2003 * bits/istream.tcc (seekg): Likewise.
2005 2001-10-25 Benjamin Kosnik <bkoz@redhat.com>
2006 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
2007 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
2009 * config/os/gnu-linux/bits/os_defines.h: Set to 64 bit longs with
2011 * include/bits/std_limits.h: Fix wchar_t issues.
2012 * config/os/aix/bits/os_defines.h: Fix.
2014 2001-10-25 Benjamin Kosnik <bkoz@redhat.com>
2016 * include/bits/locale_facets.tcc (collate::do_transform): Fix.
2018 2001-10-25 Phil Edwards <pme@gcc.gnu.org>
2020 * docs/html/documentation.html: Fix typo.
2022 2001-10-23 Benjamin Kosnik <bkoz@redhat.com>
2024 Make -fno-exceptions work.
2025 * config/locale/c_locale_gnu.cc: Use functexcept.
2026 * include/bits/c++config (__stl_assert): Remove.
2027 (__STL_USE_EXCEPTIONS): Same.
2029 (__STL_CATCH_ALL): Same.
2030 (__STL_THROW): Same.
2031 (__STL_RETHROW): Same.
2032 (__STL_NOTHROW): Same.
2033 (__STL_UNWIND): Same.
2034 * include/bits/pthread_allocimpl.h: Fix.
2035 * include/bits/std_bitset.h: Same.
2036 * include/bits/std_list.h: Same.
2037 * include/bits/std_memory.h: Same.
2038 * include/bits/std_queue.h: Same.
2039 * include/bits/stl_alloc.h: Same.
2040 * include/bits/stl_deque.h: Same.
2041 * include/bits/stl_list.h: Same.
2042 * include/bits/stl_queue.h: Same.
2043 * include/bits/stl_tempbuf.h: Same.
2044 * include/bits/stl_tree.h: Same.
2045 * include/bits/stl_uninitialized.h: Same.
2046 * include/bits/stl_vector.h: Same.
2047 * include/ext/ropeimpl.h: Same.
2048 * include/ext/slist: Same.
2049 * include/ext/stl_hashtable.h: Same.
2050 * include/ext/stl_rope.h: Same.
2051 * libsupc++/new_op.cc: Include cstdlib.
2052 * libsupc++/eh_personality.cc: Add exception_defines include. Use
2053 __throw_exception_again, tweak.
2054 * libsupc++/eh_aux_runtime.cc: Include stdlib for abort.
2055 * libsupc++/vec.cc: Tweak.
2056 * src/functexcept.cc: Remove unused arguments.
2057 * testsuite/23_containers/bitset_members.cc: Tweak.
2059 2001-10-22 Benjamin Kosnik <bkoz@redhat.com>
2061 * config/cpu/i386/bits/limits.h: Move to...
2062 * config/cpu/i386/bits/cpu_limits.h: ...here.
2063 * config/cpu/cris/bits/cpu_limits.h: Same.
2064 * config/cpu/powerpc/bits/cpu_limits.h: Same.
2065 * config/cpu/x86-64/bits/cpu_limits.h: Same.
2066 * config/cpu/alpha/bits/cpu_limits.h: New.
2067 * config/cpu/m68k/bits/cpu_limits.h: New.
2068 * config/cpu/s390/bits/cpu_limits.h: New.
2069 * config/os/aix/bits/os_defines.h: Tweaks.
2070 * config/os/bsd/freebsd/bits/os_defines.h: Same.
2071 * config/os/bsd/netbsd/bits/os_defines.h: Same.
2072 * config/os/djgpp/bits/os_defines.h: Same.
2073 * config/os/generic/bits/os_defines.h: Same.
2074 * config/os/gnu-linux/bits/os_defines.h: Same.
2075 * config/os/hpux/bits/os_defines.h: Same.
2076 * config/os/irix/irix5.2/bits/os_defines.h: Same.
2077 * config/os/irix/irix6.5/bits/os_defines.h: Same.
2078 * config/os/newlib/bits/os_defines.h: Same.
2079 * config/os/solaris/solaris2.5/bits/os_defines.h: Same.
2080 * config/os/solaris/solaris2.6/bits/os_defines.h: Same.
2081 * config/os/solaris/solaris2.7/bits/os_defines.h: Same.
2083 * include/bits/c++config: Remove include.
2084 * include/bits/limits_generic.h: Remove.
2085 * include/bits/std_limits.h: Include cpu_limits.h.
2086 * include/Makefile.am: Fixup.
2087 * src/limits.cc: Tweak.
2088 * src/limits_generic.cc: Remove.
2089 * src/gen-num-limits.cc: Remove.
2090 * mknumeric_limits: Remove.
2092 2001-10-20 Brendan Kehoe <brendan@zen.org>
2094 * bits/type_traits.h (_Bool): Removed this type.
2095 (__true_type, __false_type): Change to be plain structs.
2096 * src/string-inst.cc (__destroy_aux): Change third parm to be
2097 __false_type instead of _Bool<false>.
2098 * src/misc-inst.cc (__uninitialized_fill_n_aux,
2099 __uninitialized_copy_aux): Likewise.
2101 2001-10-19 Benjamin Kosnik <bkoz@redhat.com>
2103 * mkcheck.in (static_fail): Remove older memory limit functionality.
2104 Disable E_TIME due to formatting issues.
2108 2001-10-19 Brendan Kehoe <brendan@zen.org>
2110 * include/bits/std_complex.h: Default initialize second argument
2111 of polar to 0, as specified in Library DR #79
2113 2001-10-19 Brendan Kehoe <brendan@zen.org>
2115 * include/bits/stl_raw_storage_iter.h (operator=): Fix to call
2116 _Construct instead of construct.
2118 2001-10-19 Brendan Kehoe <brendan@zen.org>
2120 * include/bits/basic_string.tcc (find_first_not_of): Take out check for
2121 __n being non-zero, since the standard does not mandate that.
2122 e.g., a search for "" in "" should yield position 0, not npos.
2123 (find_last_not_of): Likewise.
2125 2001-10-19 Brendan Kehoe <brendan@zen.org>
2127 * include/bits/stl_bvector.h (vector<bool>::_M_range_check): Fix
2128 to throw out_of_range, not range_error, thus sayeth $23.1.1.13.
2130 2001-10-19 Brendan Kehoe <brendan@zen.org>
2132 * include/bits/stl_iterator.h (reverse_iterator::current): Rename
2133 member from _M_current, and change all uses; thus sayeth $24.4.1.1.
2135 2001-10-19 Brendan Kehoe <brendan@zen.org>
2137 * include/bits/stl_algo.h (partial_sort): Add missing `>' on the
2138 template parameter _ValueType.
2140 2001-10-19 Brendan Kehoe <brendan@zen.org>
2142 * include/bits/std_limits.h: Clean up extra semicolons.
2143 * include/bits/locale_facets.h: Likewise.
2144 * include/bits/type_traits.h: Likewise.
2146 2001-10-19 Brendan Kehoe <brendan@zen.org>
2148 * include/bits/localefwd.h (locale::combine): Add const for lib DR 14.
2149 * include/bits/locale_facets.tcc (locale::combine): Likewise.
2151 2001-10-19 Benjamin Kosnik <bkoz@redhat.com>
2153 * include/bits/locale_facets.h (__timepunct::_M_put_helper):
2154 Declare specializations for char, wchar_t.
2156 2001-10-19 Andreas Jaeger <aj@suse.de>
2158 * config/cpu/x86-64/bits/limits.h: New file.
2159 * config/cpu/x86-64/bits/atomicity.h: New file.
2160 * configure.target: Add x86-64.
2162 2001-10-17 Phil Edwards <pme@gcc.gnu.org>
2164 * docs/html/17_intro/howto.html: Remove 1999 links (and explain
2165 why). Add link to recent message.
2166 * docs/html/faq/index.html (5.6): Reformat text only; fixup <pre>
2168 * docs/html/faq/index.txt: Regenerate.
2170 2001-10-12 Loren J. Rittle <ljrittle@acm.org>
2172 * docs/html/faq/index.html (Is libstdc++-v3 thread-safe?): Update
2173 based on Nathan's review. Use Nathan's words.
2175 2001-10-11 Matt Kraai <kraai@alumni.carnegiemellon.edu>
2177 * docs/html/configopts.html: Quote StyleSheet attribute values.
2178 * docs/html/documentation.html: Likewise.
2179 * docs/html/explanations.html: Likewise.
2180 * docs/html/install.html: Likewise.
2181 * docs/html/17_intro/howto.html: Likewise.
2182 * docs/html/17_intro/license.html: Likewise.
2183 * docs/html/18_support/howto.html: Likewise.
2184 * docs/html/19_diagnostics/howto.html: Likewise.
2185 * docs/html/20_util/howto.html: Likewise.
2186 * docs/html/21_strings/howto.html: Likewise.
2187 * docs/html/22_locale/howto.html: Likewise.
2188 * docs/html/23_containers/howto.html: Likewise.
2189 * docs/html/24_iterators/howto.html: Likewise.
2190 * docs/html/25_algorithms/howto.html: Likewise.
2191 * docs/html/26_numerics/howto.html: Likewise.
2192 * docs/html/27_io/howto.html: Likewise.
2193 * docs/html/ext/howto.html: Likewise.
2194 * docs/html/ext/sgiexts.html: Likewise.
2195 * docs/html/faq/index.html: Likewise.
2197 2001-10-11 Loren J. Rittle <ljrittle@acm.org>
2199 * docs/html/faq/index.html (Is libstdc++-v3 thread-safe?): Rewrite.
2200 * docs/html/23_containers/howto.html (Containers and multithreading):
2203 2001-10-09 Phil Edwards <pme@gcc.gnu.org>
2205 * docs/html/17_intro/howto.html: Tweak markup and value type.
2206 * docs/html/27_io/howto.html: Tweak markup, describe setbuf() for
2207 nonzero arguments, add new note on threading.
2208 * docs/html/faq/index.html: Update.
2209 * docs/html/faq/index.txt: Regenerate.
2211 2001-10-09 Phil Edwards <pme@gcc.gnu.org>
2213 * docs/html/configopts.html: More HTML->XHTML and lowercasing of tags.
2214 * docs/html/documentation.html: Likewise.
2215 * docs/html/explanations.html: Likewise.
2216 * docs/html/install.html: Likewise.
2217 * docs/html/17_intro/howto.html: Likewise.
2218 * docs/html/17_intro/license.html: Likewise. Tighten up language.
2219 * docs/html/18_support/howto.html: Likewise.
2220 * docs/html/19_diagnostics/howto.html: Likewise.
2221 * docs/html/20_util/howto.html: Likewise.
2222 * docs/html/21_strings/howto.html: Likewise.
2223 * docs/html/22_locale/howto.html: Likewise.
2224 * docs/html/23_containers/howto.html: Likewise.
2225 * docs/html/24_iterators/howto.html: Likewise.
2226 * docs/html/25_algorithms/howto.html: Likewise.
2227 * docs/html/26_numerics/howto.html: Likewise.
2228 * docs/html/27_io/howto.html: Likewise.
2229 * docs/html/ext/howto.html: Likewise.
2230 * docs/html/ext/sgiexts.html: Likewise.
2231 * docs/html/faq/index.html: Likewise. Not so many absolute links.
2232 * docs/html/faq/index.txt: Regenerate.
2234 2001-10-07 Joseph S. Myers <jsm28@cam.ac.uk>
2236 * docs/html/22_locale/locale.html, docs/html/faq/index.html: Fix
2237 spelling errors of "separate" as "seperate", and corresponding
2238 spelling errors of related words.
2239 * docs/html/faq/index.txt: Regenerate.
2241 2001-10-05 Phil Edwards <pme@gcc.gnu.org>
2243 * config/cpu/alpha/bits/atomicity.h (__compare_and_swap): Remove
2245 * config/cpu/arm/bits/atomicity.h: Likewise.
2246 * config/cpu/generic/bits/atomicity.h: Likewise.
2247 * config/cpu/i486/bits/atomicity.h: Likewise.
2248 * config/cpu/ia64/bits/atomicity.h: Likewise.
2249 * config/cpu/mips/bits/atomicity.h: Likewise.
2250 * config/cpu/powerpc/bits/atomicity.h: Likewise.
2251 * config/cpu/sparc/sparc32/bits/atomicity.h: Likewise.
2252 * config/cpu/sparc/sparc64/bits/atomicity.h: Likewise.
2254 2001-10-04 Phil Edwards <pme@gcc.gnu.org>
2256 * docs/html/faq/index.html: Describe DR #22, and a workaround.
2257 * docs/html/faq/index.txt: Regenerate.
2259 2001-10-04 Phil Edwards <pme@gcc.gnu.org>
2261 * docs/html/17_intro/COPYING.DOC: New file, GFDL v1.1 from the FSF.
2262 * docs/html/17_intro/license.html: New file. Explain the licenses
2265 * docs/html/configopts.html: Link to license.html.
2266 * docs/html/documentation.html: Likewise.
2267 * docs/html/explanations.html: Likewise.
2268 * docs/html/install.html: Likewise.
2269 * docs/html/17_intro/howto.html: Likewise.
2270 * docs/html/18_support/howto.html: Likewise.
2271 * docs/html/19_diagnostics/howto.html: Likewise.
2272 * docs/html/20_util/howto.html: Likewise.
2273 * docs/html/21_strings/howto.html: Likewise.
2274 * docs/html/22_locale/howto.html: Likewise.
2275 * docs/html/23_containers/howto.html: Likewise.
2276 * docs/html/24_iterators/howto.html: Likewise.
2277 * docs/html/25_algorithms/howto.html: Likewise.
2278 * docs/html/26_numerics/howto.html: Likewise.
2279 * docs/html/27_io/howto.html: Likewise.
2280 * docs/html/ext/howto.html: Likewise.
2281 * docs/html/ext/sgiexts.html: Likewise.
2282 * docs/html/faq/index.html: Likewise. New question, linking to
2283 the new license.html.
2285 2001-10-04 Phil Edwards <pme@gcc.gnu.org>
2287 * docs/html/17_intro/howto.html: Fix mis-sed in header from 20010917.
2288 * docs/html/18_support/howto.html: Likewise.
2289 * docs/html/19_diagnostics/howto.html: Likewise.
2290 * docs/html/20_util/howto.html: Likewise.
2291 * docs/html/21_strings/howto.html: Likewise.
2292 * docs/html/22_locale/howto.html: Likewise.
2293 * docs/html/23_containers/howto.html: Likewise.
2294 * docs/html/24_iterators/howto.html: Likewise.
2295 * docs/html/25_algorithms/howto.html: Likewise.
2296 * docs/html/26_numerics/howto.html: Likewise.
2297 * docs/html/27_io/howto.html: Likewise.
2298 * docs/html/ext/howto.html: Likewise.
2299 * docs/html/faq/index.html: Likewise. Spacing fix.
2301 2001-10-03 Dimitris Vyzovitis <vyzo@media.mit.edu>
2303 * include/bits/stl_threads.h (_Atomic_swap): New function.
2304 (_Swap_lock_struct<__dummy>::_S_swap_lock): New data.
2305 * testsuite/ext/rope.cc: New file.
2307 2001-10-02 Benjamin Kosnik <bkoz@redhat.com>
2309 * config/locale/time_members_gnu.h: Remove.
2310 * config/locale/time_members_generic.h: Remove.
2311 * config/locale/time_members_gnu.cc (__timepunct::_M_put_helper): Add.
2312 * config/locale/time_members_generic.cc: Same.
2313 * include/bits/locale_facets.h: Add data members.
2314 (__timepunct::_M_put_helper): Change signature.
2315 (__timepunct::_M_date_formats): Same.
2316 (__timepunct::_M_time_formats): Same.
2317 (__timepunct::_M_ampm): Add.
2318 (__timepunct::_M_date_time_formats): Add.
2319 (time_get::_M_extract_via_format): Add.
2320 (time_get::_M_extract_time): Change to...
2321 (time_get::_M_extract_num): ... this, modify signature.
2322 * include/bits/locale_facets.tcc (time_get::do_get_year): Fix.
2323 (time_get::do_get_time): Fix.
2324 (time_get::do_get_date): Fix.
2326 * acinclude.m4: Remove CTIME_H.
2327 * aclocal.m4: Regenerate.
2328 * include/Makefile.am: Same.
2329 * include/Makefile.in: Regenerate.
2330 * configure: Regenerate.
2332 * testsuite/22_locale/time_get_members_char.cc: Fix.
2333 * testsuite/22_locale/time_get_members_wchar_t.cc: Add.
2334 * testsuite/22_locale/time_put_members_wchar_t.cc: Add.
2336 2001-10-01 Hans-Peter Nilsson <hp@axis.com>
2338 * config/cpu/cris/bits/atomicity.h: Correct file header.
2340 2001-09-29 Hans-Peter Nilsson <hp@axis.com>
2342 * configure.target (LIMITSH): Set for cris.
2343 (cpu_include_dir): Set for cris-*-*.
2344 * config/cpu/cris/bits/atomicity.h: New file.
2345 * config/cpu/cris/bits/limits.h: New file.
2347 2001-09-28 Benjamin Kosnik <bkoz@redhat.com>
2349 * config/locale/time_members_gnu.h (__timepunct::_M_get_helper): Add.
2350 (__timepunct::_M_put_helper): Add.
2351 * config/locale/time_members_generic.h: Same.
2352 * include/bits/locale_facets.h (__match_parallel): Remove. Format.
2353 (__timepunct): Add data members.
2354 (__timepunct::_M_days): Add.
2355 (__timepunct::_M_days_abbreviated): Add.
2356 (__timepunct::_M_months): Add.
2357 (__timepunct::_M_months_abbreviated): Add.
2358 (__timepunct::_M_initialize_timepunct): Add.
2359 * include/bits/locale_facets.tcc: Same.
2360 * src/locale-inst.cc: Remove instantiations for __match_parallel.
2361 * acinclude.m4 (GLIBCPP_ENABLE_CLOCALE): Add CTIME_CC.
2362 * aclocal.m4: Regenerate.
2363 * configure: Regenerate.
2364 * testsuite/22_locale/time_put_members_char.cc: Mark XFAIL.
2365 * testsuite/22_locale/time_put_members_char.cc (test01): New file.
2366 * testsuite/22_locale/time_get.cc: New file.
2368 2001-09-28 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
2370 * testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3-init): Use
2371 correct multilib builddir.
2372 Properly locate libgcc_s.
2374 2001-09-27 Phil Edwards <pme@gcc.gnu.org>
2376 * include/std/*: Add Doxygen hooks.
2377 * docs/doxygen/Intro.3: New file, general intro to the man pages.
2378 * docs/doxygen/mainpage.doxy: Formatting tweaks. List our own links
2379 rather than using a generated index.
2380 * docs/doxygen/user.cfg.in: Disable the index, enable man pages.
2381 * docs/doxygen/run_doxygen: Massage the generated man pages, using...
2382 * docs/doxygen/stdheader.cc: ...this new file.
2384 2001-09-26 Stan Shebs <shebs@apple.com>
2386 * include/Makefile.am: Remove RCS Id strings.
2387 * src/Makefile.am: Ditto.
2388 * docs/doxygen/run_doxygen: Ditto.
2389 * docs/html/configopts.html: Ditto.
2390 * docs/html/documentation.html: Ditto.
2391 * docs/html/explanations.html: Ditto.
2392 * docs/html/install.html: Ditto.
2393 * docs/html/17_intro/howto.html: Ditto.
2394 * docs/html/18_support/howto.html: Ditto.
2395 * docs/html/19_diagnostics/howto.html: Ditto.
2396 * docs/html/20_util/howto.html: Ditto.
2397 * docs/html/21_strings/howto.html: Ditto.
2398 * docs/html/22_locale/howto.html: Ditto.
2399 * docs/html/23_containers/howto.html: Ditto.
2400 * docs/html/24_iterators/howto.html: Ditto.
2401 * docs/html/25_algorithms/howto.html: Ditto.
2402 * docs/html/26_numerics/howto.html: Ditto.
2403 * docs/html/27_io/howto.html: Ditto.
2404 * docs/html/ext/howto.html: Ditto.
2405 * docs/html/ext/sgiexts.html: Ditto.
2406 * docs/html/faq/index.html: Ditto.
2407 * docs/html/faq/index.txt: Ditto.
2409 2001-09-25 Phil Edwards <pme@gcc.gnu.org>
2411 * testsuite/21_strings/c_strings.cc (test01, test02): Increase
2414 2001-09-25 Phil Edwards <pme@gcc.gnu.org>
2416 * docs/html/20_util/howto.html: Add anchor name.
2417 * docs/html/23_containers/howto.html: Line wrapping, another link.
2418 * docs/html/25_algorithms/howto.html: Another note.
2420 * docs/html/ext/howto.html: Link to SGI extensions. List DRs and
2422 * docs/html/ext/lwg-active.html: ...in this new file (from R19),
2423 * docs/html/ext/lwg-defects.html: and this new file (from R19).
2424 * docs/html/ext/sgiexts.html: New file. Mention SGI extensions
2425 carried over to libstdc++-v3.
2426 * docs/html/faq/index.html: Link to SGI extensions. Mention the
2427 "missing .." pseudobug.
2428 * docs/html/faq/index.txt: Regenerate.
2430 * include/bits/ios_base.h: DR-related comment cleanup.
2431 * include/bits/istream.tcc: Likewise.
2432 * include/bits/locale_facets.h: Likewise.
2433 * include/bits/locale_facets.tcc: Likewise.
2434 * include/bits/ostream.tcc: Likewise.
2435 * include/bits/std_bitset.h: Likewise.
2436 * include/bits/std_iosfwd.h: Likewise.
2437 * include/bits/std_istream.h: Likewise.
2438 * include/bits/std_ostream.h: Likewise.
2439 * include/bits/std_streambuf.h: Likewise.
2440 * include/bits/stl_pair.h: Likewise.
2441 * include/bits/streambuf_iterator.h: Likewise.
2443 * include/bits/std_map.h: Remove unused header inclusion guard
2444 _CPP_BITS_STL_TREE_H from around bits/stl_tree.h.
2445 * include/bits/std_set.h: Likewise.
2447 * include/bits/stl_function.h: Doxygen markup.
2448 * docs/doxygen/doxygroups.cc: New file, specifying module grouping.
2449 * libsupc++/typeinfo: Doxygen markup tweak.
2451 2001-09-20 Scott Johnston <scott@accom.com>
2452 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
2454 * include/backward/alloc.h: Conditionally define malloc_alloc
2455 * testsuite/backward/header_deque_h.cc: New file.
2457 2001-09-20 Sylvain Pion <Sylvain.Pion@sophia.inria.fr>
2459 * libstdc++-v3/include/bits/locale_facets.tcc (money_put::do_put):
2460 change variable name so that it works with -fno-for-scope.
2462 2001-09-20 Benjamin Kosnik <bkoz@redhat.com>
2464 * testsuite/22_locale/numpunct_members_char.cc (test01): Remove
2465 redundant sanity checks.
2466 * testsuite/22_locale/money_put_members_wchar_t.cc (test01): Same.
2468 * testsuite/22_locale/money_put_members_char.cc (test01): Same.
2470 * testsuite/22_locale/moneypunct_members_wchar_t.cc (test01): Same.
2471 * testsuite/22_locale/moneypunct_members_char.cc (test01): Same.
2472 * testsuite/22_locale/money_get_members_wchar_t.cc (test01): Same.
2474 * testsuite/22_locale/money_get_members_char.cc (test01): Same.
2477 2001-09-19 Benjamin Kosnik <bkoz@redhat.com>
2479 Implement std::time_put.
2480 * include/bits/locale_facets.h: Include time_members.h.
2482 (time_put): Implement.
2483 * include/bits/locale_facets.tcc (do_put): Put generic versions here.
2484 * include/bits/localefwd.h: Bump number of facets.
2485 * config/locale/time_members_generic.h: New file.
2486 * config/locale/time_members_gnu.h: New file.
2487 * config/locale/c_locale_generic.h: Include clocale.
2488 * src/locale-inst.cc: Add use_facet instantiations for __timepunct.
2489 * src/locale.cc: Add __timepunct initializations.
2490 * src/localename.cc (locale::_Impl::_Impl(string, size_t)): Same.
2491 * include/Makefile.am (stamp-target): Add time_members.h.
2492 * include/Makefile.in: Regenerate.
2493 * acinclude.m4 (GLIBCPP_ENABLE_CLOCALE): Add CTIME_H.
2494 * aclocal.m4: Regenerate.
2495 * configure: Regenerate.
2496 * testsuite/22_locale/time_put.cc: New file.
2497 * testsuite/22_locale/time_put_members_char.cc: New file.
2499 * docs/html/22_locale/locale.html: Add note.
2501 2001-09-17 Phil Edwards <pme@gcc.gnu.org>
2503 * docs/html/configopts.html: HTML to XHTML change. Lowercase tags.
2504 * docs/html/documentation.html: Likewise.
2505 * docs/html/explanations.html: Likewise.
2506 * docs/html/install.html: Likewise.
2507 * docs/html/17_intro/howto.html: Likewise.
2508 * docs/html/18_support/howto.html: Likewise.
2509 * docs/html/19_diagnostics/howto.html: Likewise.
2510 * docs/html/20_util/howto.html: Likewise.
2511 * docs/html/21_strings/howto.html: Likewise.
2512 * docs/html/22_locale/codecvt.html: Likewise.
2513 * docs/html/22_locale/ctype.html: Likewise.
2514 * docs/html/22_locale/howto.html: Likewise.
2515 * docs/html/22_locale/locale.html: Likewise.
2516 * docs/html/22_locale/messages.html: Likewise.
2517 * docs/html/23_containers/howto.html: Likewise.
2518 * docs/html/24_iterators/howto.html: Likewise.
2519 * docs/html/25_algorithms/howto.html: Likewise.
2520 * docs/html/26_numerics/howto.html: Likewise.
2521 * docs/html/27_io/howto.html: Likewise.
2522 * docs/html/ext/howto.html: Likewise.
2523 * docs/html/faq/index.html: Likewise.
2524 * docs/html/faq/index.txt: Regenerated.
2526 2001-09-14 Phil Edwards <pme@sources.redhat.com>
2528 * docs/html/17_intro/headers_cc.txt: "Sync"/copy real file over.
2529 * docs/html/17_intro/howto.html: Spacing and HTML markup fixes.
2530 * docs/html/18_support/howto.html: It won't compile; it's not code.
2531 * docs/html/19_diagnostics/howto.html: Point diagram seekers to
2533 * docs/html/22_locale/howto.html: Comment for future work.
2534 * docs/html/23_containers/howto.html: More comments.
2535 * docs/html/25_algorithms/howto.html: It's a comment, not a
2536 blunt command to the reader. (English grammar.)
2538 2001-09-14 Benjamin Kosnik <bkoz@redhat.com>
2540 * config/locale/moneypunct_members_gnu.cc: Fix initialization of
2542 * testsuite/22_locale/money_get_members_wchar_t.cc (test02): New file.
2543 * testsuite/22_locale/money_put_members_wchar_t.cc (test02): Fix.
2545 2001-09-14 Benjamin Kosnik <bkoz@redhat.com>
2547 * include/bits/locale_facets.tcc: Conditionalize use of strtold.
2549 2001-09-13 Alexandre Petit-Bianco <apbianco@redhat.com>
2551 * testsuite/22_locale/money_get_members_char.cc: Fixed typo in comment.
2552 * testsuite/22_locale/money_put_members_char.cc: Likewise.
2553 * testsuite/22_locale/money_put_members_wchar_t.cc: Likewise.
2555 2001-09-13 Benjamin Kosnik <bkoz@redhat.com>
2557 Implement std::money_get.
2558 * include/bits/locale_facets.tcc (money_get::do_get): Implement.
2559 * include/bits/locale_facets.h (money_get): Correct signatures.
2560 * testsuite/22_locale/money_get.cc: New file.
2561 * testsuite/22_locale/money_get_members_char.cc: New file.
2563 * include/bits/locale_facets.tcc (__verify_grouping): New
2564 function. Consolidate num_get and money_get group checking into
2566 (money_get): Use it.
2567 * src/locale.cc (num_get::_M_extract): Use it.
2568 * src/locale-inst.cc: Add instantiation.
2570 2001-09-12 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
2572 * include/bits/std_limits.h (numeric_limits<float>::radix,
2573 numeric_limits<float>::epsilon: Fix thinko.
2575 2001-09-10 Benjamin Kosnik <bkoz@redhat.com>
2577 * configure.in: Fix cross compiling math routines. Correct
2578 comments for cross compiling and limits. Add floating point math
2579 routines found in newlib.
2580 * configure: Regenerate.
2581 * acconfig.h: Add macros.
2582 * config.h.in: Regenerate.
2584 2001-09-10 Benjamin Kosnik <bkoz@redhat.com>
2586 * config/locale/moneypunct_members_generic.cc
2587 (money_base::_S_construct_pattern): Remove unused parameters.
2589 2001-09-10 Benjamin Kosnik <bkoz@redhat.com>
2591 * include/Makefile.am (stamp-target): Remove link to self.
2592 * inclulde/Makefile.in: Regenerate.
2594 2001-09-09 Benjamin Kosnik <bkoz@redhat.com>
2596 Implement std::money_put.
2597 * include/bits/locale_facets.h
2598 (moneypunct::_M_initialize_moneypunct): Split up specializations
2599 to account for _Intl. More grody hacking to get around the
2600 ill-considered use of const bool as a template parameter.
2601 * config/locale/moneypunct_members_gnu.cc: And here.
2602 * config/locale/moneypunct_members_generic.cc: And here.
2603 * testsuite/22_locale/moneypunct_members_char.cc: Add tests.
2604 * testsuite/22_locale/moneypunct.cc: Add tests.
2605 * testsuite/22_locale/money_put_members_wchar_t.cc: New file.
2606 * testsuite/22_locale/moneypunct_members_wchar_t.cc: New file.
2608 * src/locale.cc (money_base::_S_construct_pattern): Move into
2610 * config/locale/moneypunct_members_gnu.cc: Add here.
2611 * config/locale/moneypunct_members_generic.cc: Add generic version
2614 * include/bits/locale_facets.tcc (money_put::do_put): Move member
2615 function definitions here.
2616 * include/bits/locale_facets.h (money_put): Implement.
2617 * src/locale-inst.cc: Add use_facet instantiations for moneypunct.
2618 Correct money_get, money_put instantiations.
2619 * src/locale.cc (money_base::_S_construct_pattern): Handle case
2621 * testsuite/22_locale/money_put_members_char.cc: Add tests.
2623 2001-09-05 Phil Edwards <pme@sources.redhat.com>
2625 * testsuite_flags.in: No longer need to search testsuite builddir.
2626 * src/stl-inst.cc (__sink_unused_warning): Unused, remove.
2627 * Makefile.am: The testsuite directory never needs to be made here.
2628 * Makefile.in: Regenerate.
2629 * include/Makefile.in: Regenerate.
2630 * libio/Makefile.in: Regenerate.
2631 * libmath/Makefile.in: Regenerate.
2632 * libsupc++/Makefile.in: Regenerate.
2633 * po/Makefile.in: Regenerate.
2634 * src/Makefile.in: Regenerate.
2635 * testsuite/Makefile.in: Regenerate.
2637 2001-09-04 Scott Johnston <scott@accom.com>
2638 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
2640 * include/backward/iterator.h: Include <bits/std_iterator.h>,
2641 remove reverse_bidirectional_iterator.
2642 * testsuite/backward: New directory.
2643 * testsuite/backward/header_iterator_h.cc: New file.
2645 2001-09-04 Benjamin Kosnik <bkoz@redhat.com>
2647 * include/c_std/bits/std_c*.h: Don't use include_next.
2649 2001-09-03 Richard Sandiford <rsandifo@redhat.com>
2651 * libsupc++/eh_personality.cc (parse_lsda_header): Change type of
2652 tmp from _Unwind_Ptr to _Unwind_Word.
2654 2001-08-31 Jason Merrill <jason_merrill@redhat.com>
2656 * libsupc++/eh_personality.cc (PERSONALITY_FUNCTION): Simplify
2659 2001-08-28 Loren J. Rittle <ljrittle@acm.org>
2661 * include/Makefile.am: Use toplevel_srcdir to refer to src files
2662 outside this component.
2663 * include/Makefile.in: Regenerate.
2665 2001-08-27 Benjamin Kosnik <bkoz@redhat.com>
2667 * config/locale/c_locale_gnu.cc: Move facet info to separate files...
2668 * config/locale/c_locale_generic.cc: Same.
2669 * config/locale/moneypunct_members_gnu.cc: New file.
2670 * config/locale/moneypunct_members_generic.cc: New file.
2671 * config/locale/numpunct_members_gnu.cc: New file.
2672 * config/locale/numpunct_members_generic.cc: New file.
2673 * acinclude.m4 (GLIBCPP_ENABLE_CLOCALE): Add moneypunct, numpunct
2675 * aclocal.m4: Regenerate.
2676 * configure: Regenerate.
2677 * src/Makefile.am (sources): And here.
2678 * src/Makefile.in: Regenerate.
2680 Rename for consistency with rest of testsuite.
2681 * testsuite/22_locale/codecvt.cc: New file.
2682 * testsuite/22_locale/money_put.cc: New file.
2683 * testsuite/22_locale/money_put_members_char.cc: New file.
2685 2001-08-27 Phil Edwards <pme@sources.redhat.com>
2688 * acinclude.m4 (GLIBCPP_EXPORT_INSTALL_INFO): Handle enable/disable
2689 correctly for version-specific-runtime-libs.
2690 * aclocal.m4: Regenerate.
2691 * configure: Regenerate.
2693 2001-08-24 Loren J. Rittle <ljrittle@acm.org>
2695 * config/cpu/i386/bits/limits.h (__glibcpp_long_double_bits): Only
2696 define if not already provided by per-OS file.
2697 * config/os/bsd/freebsd/bits/os_defines.h (__glibcpp_long_double_bits):
2700 2001-08-24 Jan van Male <jan.vanmale@fenk.wau.nl>
2702 * docs/html/17_intro/C++STYLE: Fix typo.
2704 2001-08-24 Phil Edwards <pme@sources.redhat.com>
2706 * docs/html/23_containers/howto.html: Describe implementation of
2707 insertion with hints.
2709 2001-08-24 Kenny Simpson <kenny.simpson@gs.com>
2712 * include/bits/std_sstream.h (basic_ostringstream): Fix ctor.
2714 2001-08-24 Sylvain Pion <Sylvain.Pion@sophia.inria.fr>
2715 Phil Edwards <pme@sources.redhat.com>
2718 * include/bits/stl_tree.h (insert_unique): Revert last change.
2719 Values inserted at begin() must be less, not greater, than *begin()'s.
2720 * testsuite/23_containers/map_insert.cc: New file.
2722 2001-08-23 Benjamin Kosnik <bkoz@redhat.com>
2724 * config/locale/c_locale_gnu.cc: Minor tweaks.
2725 (moneypunct<wchar_t>): Implement.
2726 * include/bits/locale_facets.h: Same.
2727 * testsuite/22_locale/moneypunct.cc: New file.
2728 * testsuite/22_locale/moneypunct_byname.cc: New file.
2729 * testsuite/22_locale/moneypunct_char_members.cc: New file.
2731 2001-08-23 David Edelsohn <edelsohn@gnu.org>
2733 * config/os/gnu-linux/bits/os_defines.h: Correct __s390__ definitions.
2734 Set __powerpc__ long double definition based on __LONG_DOUBLE_128__.
2736 2001-08-23 Jason Merrill <jason_merrill@redhat.com>
2738 * testsuite_flags.in (build-includes): Re-add backward.
2740 2001-08-22 Benjamin Kosnik <bkoz@redhat.com>
2742 * testsuite/22_locale/collate_wchar_t_members.cc: Guard
2743 with _GLIBCPP_USE_WCHAR_T.
2745 2001-08-21 Benjamin Kosnik <bkoz@redhat.com>
2747 * testsuite/22_locale/collate_byname.cc (test01): Fix.
2749 2001-08-18 Vladimir A Merzliakov <wanderer@rsu.ru>
2751 * include/bits/locale_facets.tcc (collate::do_transform): Add typename.
2753 2001-08-18 Benjamin Kosnik <bkoz@redhat.com>
2755 * testsuite/22_locale/operators.cc: Add test.
2757 2001-08-17 Benjamin Kosnik <bkoz@redhat.com>
2759 Implement std::collate.
2760 * config/locale/collate_specializations_gnu.cc: Add here, implement in
2762 * config/locale/collate_specializations_generic.cc: Add here, but
2763 in a less sophisticated manner.
2764 * include/bits/locale_facets.tcc (collate): Add generic definition.
2765 * include/bits/locale_facets.h (~collate): Mark virtual.
2766 (collate::_M_compare_helper): New.
2767 (collate::_M_transform_helper): New.
2768 * src/locale.cc: Remove unnecessary specializations.
2769 * src/string-inst.cc: Tweak instantiation of ctors.
2771 * acinclude.m4 (GLIBCPP_ENABLE_CLOCALE): Do configury for collate.
2772 * aclocal.m4: Regenerate.
2773 * configure: Regenerate.
2774 * src/Makefile.am (sources): Add collate.cc.
2775 * src/Makefile.in: Regenerate.
2777 * testsuite/22_locale/collate_byname.cc: New.
2778 * testsuite/22_locale/collate.cc: New file.
2779 * testsuite/22_locale/collate_char_members.cc: New file.
2780 * testsuite/22_locale/collate_wchar_t_members.cc: New file.
2782 2001-08-16 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
2784 * configure.target: Set LIMITSH for powerpc-*-*.
2785 * config/cpu/powerpc/bits/limits.h: New file.
2787 2001-08-16 Marc Espie <espie@openbsd.org>
2789 * configure.in: Check for <sys/types.h>.
2790 * configure: Rebuild.
2791 * config.h.in: Rebuild.
2792 * libmath/mathconf.h: Include <sys/types.h> prior to
2793 <machine/endian.h> if available.
2795 2001-08-15 Andreas Schwab <schwab@suse.de>
2797 * configure.target (cpu_include_dir): Set to `config/cpu/m68k' for
2798 m68k and m680[246]0.
2799 * config/cpu/m68k/bits/atomicity.h: New file.
2801 * include/bits/std_limits.h [__glibcpp_long_double_bits == 96]:
2802 Define appropriate long double limits for m68k extended floating
2804 (__glibcpp_f32_digits10): Corrected, off by one.
2805 (__glibcpp_f80_digits10): Likewise.
2806 (__glibcpp_f128_digits10): Likewise.
2807 * config/os/gnu-linux/bits/os_defines.h
2808 (__glibcpp_long_double_bits) [__mc68000__]: Define to 96.
2810 2001-08-15 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
2812 * testsuite/18_support/numeric_limits.cc: Add more tests.
2813 * include/bits/std_limits.h (numeric_limits<char>::max): Fix
2816 2001-08-14 Ulrich Weigand <uweigand@de.ibm.com>
2818 * configure.target (cpu_include_dir): Set to `config/cpu/s390'
2821 * config/cpu/s390/bits/atomicity.h: New.
2823 2001-08-14 Gabriel Dos Reis <gdr@codesourcery.com>
2825 * include/bits/std_limits.h: Fix thinko.
2827 2001-08-14 Benjamin Kosnik <bkoz@redhat.com>
2829 * include/Makefile.am: Consolidate target rules. Don't clean stamp
2830 files. Tweak target build directory stamp.
2831 * include/Makefile.in: Regenerate.
2833 2001-08-14 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
2835 * libstdc++-v3/libmath/stubs.c: Fix PR/3988, replace
2836 _GBLICPP_HAVE_LOGL with HAVE_LOGL
2838 2001-08-13 Benjamin Kosnik <bkoz@redhat.com>
2840 * configure.in (libtool_VERSION): Add.
2841 (VERSION): Change to
2842 (release_VERSION): This.
2843 * configure: Regenerate.
2844 * src/Makefile.am (libstdc___la_LDFLAGS): Use -version-info with
2846 * src/Makefile.in: Regenerate.
2848 * intl/Makefile.am: Remove.
2849 * intl/Makefile.in: Remove.
2851 * Makefile.am (SUBDIRS): Remove intl.
2852 * po/Makefile.am (DISTFILES): Add string_literals.cc
2854 * po/string_literals.cc: Add.
2855 * po/POTFILES.in: Fix path.
2856 * acinclude.m4 (GLIBCPP_ENABLE_CLOCALE): Don't call AM_GNU_GETTEXT.
2857 * aclocal.m4: Regenerate.
2858 * configure.in: Remove AC_OUTPUT of intl/Makefile.
2860 * include/backward/backward_warning.h: Clarify message.
2862 * testsuite_flags.in (--cxxflags): Use same debug flags for
2863 library and testsuite.
2865 * include/Makefile.am (c_compatibility): Remove.
2866 * include/Makefile.in: Regenerate.
2868 2001-08-13 Mark Mitchell <mark@codesourcery.com>
2870 * configure.in (LIMITS_INC_SRCDIR): New variable.
2871 * configure.target (LIMITSH): New variable.
2872 * porting.texi: Discuss numeric limits.
2873 * config/cpu/generic/bits/limits.h: New file.
2874 * config/cpu/i386/bits/limits.h: New file.
2875 * include/Makefile.am: Install bits/limits.h.
2876 * include/bits/c++config: Include bits/limits.h.
2878 2001-08-13 H.J. Lu (hjl@gnu.org)
2880 * testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3-copy-files):
2882 (libstdc++-v3-init ): Use it.
2884 2001-08-13 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
2886 * include/bits/ostream.tcc (__pad_char): Change toplevel '__fmt'
2887 to '__adjust' to avoid shadowing in nested scope.
2889 2001-08-10 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
2891 * include/bits/std_limits.h(__glibcpp_char_is_signed): Use
2894 * config/os/gnu-linux/bits/os_defines.h(__glibcpp_char_is_signed):
2896 * config/os/aix/bits/os_defines.h(__glibcpp_plain_char_is_signed):
2899 2001-08-10 Loren J. Rittle <ljrittle@acm.org>
2901 * testsuite/testsuite_hooks.h (__set_testsuite_memlimit): Add
2902 dummy default argument to the non-limit implementation.
2905 * include/Makefile.am: Use relative file path in rule to allow
2907 * include/Makefile.in: Rebuilt.
2909 2001-08-10 Gunter Winkler <gunter.winkler@mathematik.tu-chemnitz.de>
2911 * include/bits/std_complex.h (complex<long double>::operator*=,
2912 complex<long double>::operator/=): Fix thinko.
2914 2001-08-10 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
2916 * include/bits/std_limits.h: New file.
2917 * include/Makefile.am (bits_headers): Add std_limits.h
2918 (all-local): std_limits.h is no longer built.
2919 (${target_builddir}/std_limits.h): Remove.
2920 * include/Makefile.in: Regenerate.
2921 * src/limits.cc: New file.
2922 * src/Makefile.am (sources): Add limits.cc in replacement of
2924 * src/Makefile.in: Regenerate.
2926 2001-08-09 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
2928 * src/gen-num-limits.cc (digits10): Fix thinko.
2930 2001-08-09 Benjamin Kosnik <bkoz@redhat.com>
2932 * po/Makefile.am (check-no): Add.
2934 * po/Makefile.in: Regenerate.
2936 2001-08-09 Benjamin Kosnik <bkoz@redhat.com>
2938 * acconfig.h (_GLIBCPP_MEM_LIMITS): Define.
2939 * config.h.in: Regenerate.
2940 * acinclude.m4 (GLIBCPP_CHECK_SETRLIMIT): Check for setrlimit
2942 * aclocal.m4: Regenerate.
2943 * configure.in: Remove duplicate AM_CONFIG_HEADER.
2944 (AM_CONFIG_HEADER): Remove testsuite/testsuite_hooks.h.
2945 Only call GLIBCPP_CHECK_SETRLIMIT for native compiles.
2946 * configure: Regenerate.
2947 * testsuite_hooks.h.in: Move to...
2948 * testsuite_hooks.h: Here, include c++config.h. Use it.
2950 * Makefile.am (SUBDIRS): Move testsuite to last directory.
2951 * Makefile.in: Regenerate.
2952 * po/Makefile.am (stamp-po): Add.
2954 2001-08-09 David Edelsohn <edelsohn@gnu.org>
2956 * config/os/aix/bits/os_defines.h: Define std_limits.h macros.
2957 * config/os/generic/bits/os_defines.h: Likewise.
2958 * config/os/gnu-linux/bits/os_defines.h: Likewise.
2959 * config/os/hpux/bits/os_defines.h: Likewise.
2960 * config/os/irix/irix6.5/bits/os_defines.h: Likewise.
2961 * config/os/solaris/solaris2.7/bits/os_defines.h: Likewise.
2963 2001-08-08 Benjamin Kosnik <bkoz@redhat.com>
2965 * src/Makefile.am (libstdc___la_LDFLAGS): Use -release instead of
2966 -version-info, use substituted VERSION info.
2967 * src/Makefile.in: Regenerate.
2969 2001-08-07 Benjamin Kosnik <bkoz@redhat.com>
2971 Implement std::messages.
2972 Make config a fully-nested directory.
2973 * config/locale: New directory.
2974 * config/c_locale_generic.cc: Move into locale subdirectory.
2975 * config/c_locale_generic.h: Same.
2976 * config/c_locale_gnu.cc: Same.
2977 * config/c_locale_gnu.h: Same.
2978 * config/c_locale_ieee_1003.1-200x.cc: Same.
2979 * config/c_locale_ieee_1003.1-200x_.h: Same.
2980 * config/codecvt_specializations_generic.h: Same.
2981 * config/codecvt_specializations_ieee_1003.1-200x.h: Same.
2982 * config/messages_members_gnu.h: Same.
2983 * config/messaages_members_gnu.cc: Same.
2984 * config/messages_members_generic.h: Same.
2985 * config/messaages_members_generic.cc: Same.
2986 * config/messages_members_ieee_1003.1-200x.h: Same.
2987 * config/messaages_members_ieee_1003.1-200x.cc: Same.
2988 * config/io: New directory.
2989 * config/basic_file_libio.h: Move into io subdirectory.
2990 * config/basic_file_libio.cc: Same.
2991 * config/c_io_libio.h: Same.
2992 * config/c_io_libio_codecvt.c: Same.
2993 * config/basic_file_stdio.h: Same.
2994 * config/basic_file_stdio.cc: Same.
2995 * config/c_io_stdio.h: Same.
2997 * po: New directory.
2998 * po/POTFILES.in: New file.
2999 * po/Makefile.am: New file.
3000 * po/Makefile.in: New file.
3001 * po/libstdc++.pot: Generic translation file.
3002 * po/fr.po: Preliminary French translation.
3003 * po/de.po: Preliminary German translation.
3004 * intl: New directory.
3005 * intl/Makefile.am: New file.
3006 * intl/Makefile.in: New file.
3007 * intl/string_literals.cc: New file.
3008 * acinclude.m4 (GLIBCPP_CONFIGURE): Bump VERSION to 3.1.0. Add
3009 requisite setup for gettext. Re-arrange.
3010 * aclocal.m4: Regenerate.
3011 * configure.in: Don't call GLIBCPP_CHECK_COMPILER_VERSION.
3012 Output Makefile bits for po and intl.
3013 * configure: Regenerate.
3014 * Makefile.am (SUBDIRS): Add intl, po. Add rule for dist.
3015 * Makefile.in: Regenerate.
3016 * acconfig.h: Add ENABLE_NLS, HAVE_CATGETS, HAVE_GETTEXT, HAVE_STPCPY.
3017 * config.h.in: Regenerate.
3019 * acinclude.m4 (AC_REPLACE_STRINGFUNCS): Remove.
3021 * include/Makefile.am (install-data-local): Don't install Makefile.
3022 * include/Makefile.in: Regenerate.
3024 * include/bits/locale_facet.h (locale::facet::_S_clone_c_locale):
3026 * config/locale/c_locale_gnu.cc (_S_clone_c_locale): Add definition.
3027 * config/locale/c_locale_generic.cc: Same.
3028 * config/locale/c_locale_ieee_1003.1-200x.cc: Same.
3030 * include/bits/codecvt.h: Excise non-standard, non-required
3031 bits. This includes __enc_traits, and partial specializations of
3032 codecvt for __enc_traits.
3033 * src/codecvt.cc (__enc_traits::_S_max_size): Guard
3034 * config/codecvt_partials_ieee_1003.1-200x.h: New file.
3035 * config/codecvt_partials_generic.h: New file.
3036 * include/Makefile.am (allstamps): Add stamp-codecvt_model.
3037 (stamp-codecvt_model): Add.
3038 * include/Makefile.in: Regenerate.
3039 * acinclude.m4 (GLIBCPP_ENABLE_CLOCALE): Add in codecvt configury.
3040 * aclocal.m4: Regenerate.
3041 * configure: Regenerate.
3042 * testsuite/22_locale/codecvt_unicode_wchar_t.cc: Use macro guard.
3043 * testsuite/22_locale/codecvt_unicode_char.cc: Same.
3044 * testsuite/22_locale/ctor_copy_dtor.cc: And here.
3046 * include/bits/localefwd.h (class locale::facet): Add __enc_traits
3047 as a friend for _S_*_c_locale functions.
3048 * include/bits/codecvt.h (__enc_traits::__enc_traits): Add locale
3049 argument to default constructor so that CODESET information can be
3051 * include/bits/locale_facets.h (messages_byname):
3052 Re-implement. Remove specializations.
3053 * src/locale.cc (messages_byname<char>): Remove specialization.
3054 (messages_byname<wchar_t>): Same.
3055 * config/locale/c_locale_ieee_1003.1-200x.cc: New file.
3056 * config/locale/c_locale_ieee_1003.1-200x.h: New file.
3057 * config/locale/messages_members_ieee_1003.1-200x.cc: New file.
3058 * config/locale/messages_members_ieee_1003.1-200x.h: New file.
3059 * config/locale/messages_members_gnu.cc: New file.
3060 * config/locale/messages_members_gnu.h: New file.
3061 * config/locale/messages_members_generic.cc: New file.
3062 * config/locale/messages_members_generic.h: New file.
3064 * docs/html/configopts.html: Add documentation for new locale
3065 model, ieee_1003.1. Adjust other flags for current defaults.
3066 * docs/html/22_locale/locale.html: Update.
3067 * docs/html/22_locale/howto.html: Add link to messages.html. Organize.
3068 * docs/html/22_locale/messages.html: New.
3070 * src/Makefile.am (sources): Add messages_virtuals.cc.
3071 * src/Makefile.in: Regenerate.
3072 * include/Makefile.am (allstamps): Add stamp-messages_model.
3073 (stamp-messages_model): Add.
3074 * include/Makefile.in: Regenerate.
3075 * acinclude.m4 (GLIBCPP_ENABLE_CLOCALE): Add in messages configury.
3076 * aclocal.m4: Regenerate.
3077 * configure: Regenerate.
3079 * testsuite_flags.in (--cxxflags): Add LOCALEDIR.
3080 * testsuite/lib/libstdc++-v3-dg.exp: Remove broken LD_LIBRARY_PATH
3082 * acinclude (GLIBCPP_ENABLE_CLOCALE): Set glibcpp_localedir to the
3083 build directories message catalog base directory, and export.
3084 Eventually this should probably be made to deal with build and
3085 install directories. For now, punt on this as the library itself
3086 doesn't use message catalogs (yet).
3087 * testsuite/22_locale/messages.cc: New file.
3088 * testsuite/22_locale/messages_char_members.cc: New file.
3089 * testsuite/22_locale/messages_byname.cc: New file.
3091 2001-08-06 Phil Edwards <pme@sources.redhat.com>
3093 * acinclude.m4 (GLIBCPP_CONFIGURE_TESTSUITE): New macro, calls...
3094 (GLIBCPP_CHECK_SETRLIMIT): ...this new macro, which also uses...
3095 (GLIBCPP_CHECK_SETRLIMIT_ancilliary): ...this new macro.
3096 * configure.in (AM_CONFIG_HEADER): Also generate testsuite_hooks.h.
3097 Call GLIBCPP_CONFIGURE_TESTSUITE.
3098 * aclocal.m4: Regenerate.
3099 * config.h.in: Regenerate.
3100 * configure: Regenerate.
3102 * testsuite/lib/libstdc++-v3-dg.exp: Download new header instead
3105 * testsuite_flags.in: Add build dir's testsuite to INCLUDES.
3106 * testsuite/debug_assert.h: Removed; contents merged into...
3107 * testsuite/testsuite_hooks.h.in: ...here. New file.
3108 * testsuite/17_intro/header_ciso646.cc: No longer include
3109 debug_assert.h, include testsuite_hooks.h instead.
3110 * testsuite/17_intro/header_fstream.cc: Likewise.
3111 * testsuite/17_intro/header_iomanip.cc: Likewise.
3112 * testsuite/17_intro/header_ios.cc: Likewise.
3113 * testsuite/17_intro/header_iosfwd.cc: Likewise.
3114 * testsuite/17_intro/header_iostream.cc: Likewise.
3115 * testsuite/17_intro/header_istream.cc: Likewise.
3116 * testsuite/17_intro/header_ostream.cc: Likewise.
3117 * testsuite/17_intro/header_sstream.cc: Likewise.
3118 * testsuite/17_intro/header_streambuf.cc: Likewise.
3119 * testsuite/18_support/numeric_limits.cc: Likewise.
3120 * testsuite/19_diagnostics/stdexceptions.cc: Likewise.
3121 * testsuite/20_util/allocator_members.cc: Likewise.
3122 * testsuite/20_util/auto_ptr.cc: Likewise.
3123 * testsuite/20_util/pairs.cc: Likewise.
3124 * testsuite/21_strings/append.cc: Likewise.
3125 * testsuite/21_strings/capacity.cc: Likewise.
3126 * testsuite/21_strings/char_traits_requirements.cc: Likewise.
3127 * testsuite/21_strings/compare.cc: Likewise.
3128 * testsuite/21_strings/ctor_copy_dtor.cc: Likewise. Also set up
3129 call to (disabled) __set_testsuite_memlimit() wrapper.
3130 * testsuite/21_strings/element_access.cc: Likewise.
3131 * testsuite/21_strings/find.cc: Likewise.
3132 * testsuite/21_strings/insert.cc: Likewise. Also set up call to
3133 (disabled) __set_testsuite_memlimit() wrapper.
3134 * testsuite/21_strings/inserters_extractors.cc: Likewise.
3135 * testsuite/21_strings/invariants.cc: Likewise.
3136 * testsuite/21_strings/nonmember.cc: Likewise.
3137 * testsuite/21_strings/operations.cc: Likewise.
3138 * testsuite/21_strings/replace.cc: Likewise.
3139 * testsuite/21_strings/rfind.cc: Likewise.
3140 * testsuite/21_strings/substr.cc: Likewise.
3141 * testsuite/22_locale/codecvt_char_char.cc: Likewise.
3142 * testsuite/22_locale/codecvt_unicode_char.cc: Likewise.
3143 * testsuite/22_locale/codecvt_unicode_wchar_t.cc: Likewise.
3144 * testsuite/22_locale/codecvt_wchar_t_char.cc: Likewise.
3145 * testsuite/22_locale/ctor_copy_dtor.cc: Likewise.
3146 * testsuite/22_locale/ctype_char_members.cc: Likewise.
3147 * testsuite/22_locale/ctype_wchar_t_members.cc: Likewise.
3148 * testsuite/22_locale/facet.cc: Likewise.
3149 * testsuite/22_locale/global_templates.cc: Likewise.
3150 * testsuite/22_locale/members.cc: Likewise.
3151 * testsuite/22_locale/numpunct_byname.cc: Likewise.
3152 * testsuite/22_locale/numpunct_char_members.cc: Likewise.
3153 * testsuite/22_locale/operators.cc: Likewise.
3154 * testsuite/22_locale/static_members.cc: Likewise.
3155 * testsuite/23_containers/bitset_ctor.cc: Likewise.
3156 * testsuite/23_containers/bitset_members.cc: Likewise.
3157 * testsuite/23_containers/bitset_shift.cc: Likewise.
3158 * testsuite/23_containers/vector_capacity.cc: Likewise.
3159 * testsuite/23_containers/vector_ctor.cc: Likewise.
3160 * testsuite/23_containers/vector_element_access.cc: Likewise.
3161 * testsuite/23_containers/vector_modifiers.cc: Likewise.
3162 * testsuite/24_iterators/istreambuf_iterator.cc: Likewise.
3163 * testsuite/24_iterators/iterator.cc: Likewise.
3164 * testsuite/24_iterators/ostreambuf_iterator.cc: Likewise.
3165 * testsuite/25_algorithms/binary_search.cc: Likewise.
3166 * testsuite/25_algorithms/copy.cc: Likewise.
3167 * testsuite/25_algorithms/heap.cc: Likewise.
3168 * testsuite/25_algorithms/lower_bound.cc: Likewise.
3169 * testsuite/25_algorithms/min_max.cc: Likewise.
3170 * testsuite/25_algorithms/partition.cc: Likewise.
3171 * testsuite/25_algorithms/rotate.cc: Likewise.
3172 * testsuite/25_algorithms/sort.cc: Likewise.
3173 * testsuite/26_numerics/c_math.cc: Likewise.
3174 * testsuite/26_numerics/complex_inserters_extractors.cc: Likewise.
3175 * testsuite/26_numerics/complex_value.cc: Likewise.
3176 * testsuite/27_io/filebuf.cc: Likewise.
3177 * testsuite/27_io/filebuf_members.cc: Likewise.
3178 * testsuite/27_io/filebuf_virtuals.cc: Likewise.
3179 * testsuite/27_io/fpos.cc: Likewise.
3180 * testsuite/27_io/fstream_members.cc: Likewise.
3181 * testsuite/27_io/ifstream_members.cc: Likewise.
3182 * testsuite/27_io/ios_base_callbacks.cc: Likewise.
3183 * testsuite/27_io/ios_base_members_static.cc: Likewise.
3184 * testsuite/27_io/ios_base_storage.cc: Likewise.
3185 * testsuite/27_io/ios_ctor.cc: Likewise.
3186 * testsuite/27_io/ios_init.cc: Likewise.
3187 * testsuite/27_io/ios_manip_basefield.cc: Likewise.
3188 * testsuite/27_io/ios_manip_fmtflags.cc: Likewise.
3189 * testsuite/27_io/ios_members.cc: Likewise.
3190 * testsuite/27_io/istream_extractor_arith.cc: Likewise.
3191 * testsuite/27_io/istream_extractor_char.cc: Likewise.
3192 * testsuite/27_io/istream_extractor_other.cc: Likewise.
3193 * testsuite/27_io/istream_manip.cc: Likewise.
3194 * testsuite/27_io/istream_seeks.cc: Likewise.
3195 * testsuite/27_io/istream_sentry.cc: Likewise.
3196 * testsuite/27_io/istream_unformatted.cc: Likewise.
3197 * testsuite/27_io/istringstream_members.cc: Likewise.
3198 * testsuite/27_io/narrow_stream_objects.cc: Likewise.
3199 * testsuite/27_io/ofstream_members.cc: Likewise.
3200 * testsuite/27_io/ostream_inserter_arith.cc: Likewise.
3201 * testsuite/27_io/ostream_inserter_char.cc: Likewise.
3202 * testsuite/27_io/ostream_inserter_other.cc: Likewise.
3203 * testsuite/27_io/ostream_manip.cc: Likewise.
3204 * testsuite/27_io/ostream_seeks.cc: Likewise.
3205 * testsuite/27_io/ostream_unformatted.cc: Likewise.
3206 * testsuite/27_io/ostringstream_members.cc: Likewise.
3207 * testsuite/27_io/streambuf.cc: Likewise.
3208 * testsuite/27_io/stringbuf.cc: Likewise.
3209 * testsuite/27_io/stringbuf_virtuals.cc: Likewise.
3210 * testsuite/27_io/stringstream.cc: Likewise.
3211 * testsuite/27_io/stringstream_members.cc: Likewise.
3212 * testsuite/27_io/wide_stream_objects.cc: Likewise.
3214 2001-07-31 Loren J. Rittle <ljrittle@acm.org>
3216 * src/gen-num-limits.cc: Use __LONG_LONG_MAX__.
3218 2001-07-30 Benjamin Kosnik <bkoz@redhat.com>
3220 * configure.target: Remove mips from cpu table.
3221 * config/cpu/mips/bits/atomicity.h: Remove generic
3222 versions. Comment sgidefs include.
3224 2001-07-25 H.J. Lu <hjl@gnu.org>
3226 * configure.target (cpu_include_dir): Set to `config/cpu/mips'
3229 * config/cpu/mips/bits/atomicity.h: New.
3231 2001-07-25 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
3233 * acinclude.m4: CHECK_MATH_DECL_AND_LINKAGE for hypot, hypotf,
3234 hypotl, atan2f, atan2l. Remove from REPLACE_MATHFUNCS list.
3235 * aclocal.m4: Regenerate.
3236 * config.h.in: Likewise.
3237 * configure: Likewise.
3238 * libmath/Makefile.am (EXTRA_LONG_DOUBLE_yes): Remove hypotl.c
3239 (EXTRA_DIST): Remove hypot.c hypotf.c.
3240 * libmath/Makefile.am: Regenerate.
3241 * libmath/hypotf.c: Remove.
3242 * libmath/hypot.c: Likewise.
3243 * libmath/hypotl.c: Likewise.
3244 * libmath/stubs.c: The macros seen here are HAVE_xxx, not
3245 _GLIBCPP_HAVE_xxx. Add long double versions.
3247 2001-07-23 David Edelsohn <edelsohn@gnu.org>
3249 * include/bits/limits_generic.h (int): Set digits and digits10
3250 appropriately for word size.
3251 (unsigned int,long,unsigned long): Likewise.
3253 2001-07-19 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
3255 * include/bits/stl_algo.h : Fix typos.
3256 * testsuite/25_algorithms/unique.cc: New file.
3258 2001-07-19 Phil Edwards <pme@sources.redhat.com>
3259 Mark Mitchell <mark@codesourcery.com>
3261 Merge from cp-parser-branch.
3262 * include/bits/basic_string.h: Qualify symbols with 'template'.
3263 * include/bits/basic_string.tcc: Likewise.
3264 * include/bits/fstream.tcc: Likewise.
3265 * include/bits/istream.tcc: Likewise.
3266 * include/bits/sstream.tcc: Likewise.
3267 * include/bits/std_istream.h: Likewise.
3268 * include/bits/stl_iterator.h: Likewise.
3269 * include/bits/streambuf.tcc: Likewise.
3270 * src/gen-num-limits.cc: Add 'template<>' to specializations.
3271 * src/locale.cc: Likewise.
3273 2001-07-19 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
3274 Bert De Knuydt <Bert.Deknuydt@esat.kuleuven.ac.be>
3276 * src/gen-num-limits.cc (set_signals_handler): New function.
3277 Factor out signals setting. Set signal handler for SIGILL.
3279 2001-07-18 Phil Edwards <pme@sources.redhat.com>
3281 * docs/html/27_io/howto.html: Fix typo.
3282 * docs/html/faq/index.html: Minor updates for 3.0 all around.
3283 * docs/html/faq/index.txt: Regenerated.
3285 2001-07-18 Stephen M. Webb <stephen@bregmasoft..com>
3286 Roman Sulzhyk <roman_sulzhyk@yahoo.com>
3289 * include/bits/ostream.tcc (ostream::put): Fixed error condition check.
3290 * testsuite/27_io/streambuf.cc (test07): Added new regression test.
3292 2001-07-17 Stephen M. Webb <stephen@bregmasoft.com>r
3294 All occurrences of the __value_type() and __distance_type()
3295 functions, which were required to support the HP STL, have been
3296 removed along with all the auxiliary forwarding functions that
3297 were required to support their use.
3299 The __iterator_category() function was pretty much left alone
3300 because there was no benefit to removing it and its use made code
3301 just a little more readable.
3303 Incidences of distance() with nonstandard argument list were
3304 replaced by calls to the standard function (only in the files
3305 affected by the removal of the other HP functions).
3307 The signature of the rotate() algorithm was changed to match the
3310 Headers were reformatted under C++STYLE guidelines (indentation,
3311 linebreaks, typename keyword).
3313 * include/bits/stl_algo.h: replaced __value_type() and
3314 __distance_type() with iterator_traits, eliminated auxiliary
3315 support functions required to support said function usage.
3316 Changed nonstandard distance() call to standard call.
3318 * include/bits/stl_algobase.h: Same.
3319 * include/bits/stl_heap.h: Same.
3320 * include/bits/stl_numeric.h: Same.
3321 * include/bits/stl_uninitialized.h: Same.
3322 * include/bits/stl_iterator_base_types.h (__value_type()):
3324 (__distance_type()): Removed.
3325 (value_type()): Gone.
3326 (distance_type()): Done in.
3327 (iterator_category()): Hasta la vista, baby.
3329 * include/bits/stl_iterator_base_funcs.h (iterator_category()):
3330 Replaced with __iterator_category().
3331 * include/backward/iterator.h: moved definition of value_type(),
3332 distance_type(), and iterator_category() out of std:: and into
3334 * testsuite/23_containers/vector_ctor.cc (test03): New testcases.
3335 * testsuite/23_containers/vector_modifiers.cc (test03): New testcases.
3336 * testsuite/25_algorithms/rotate.cc: New testcase.
3337 * testsuite/25_algorithms/copy.cc: New testcase.
3338 * testsuite/25_algorithms/sort.cc: Same.
3339 * testsuite/25_algorithms/heap.cc: Same.
3340 * testsuite/25_algorithms/partition.cc: Same.
3341 * testsuite/25_algorithms/binary_search.cc: Same.
3342 * testsuite/26_numerics/sum_diff.cc: Ditto.
3344 001-07-17 Benjamin Kosnik <bkoz@redhat.com>
3346 * testsuite/README: Add notes on naming test cases.
3347 * testsuite/22_locale/members.cc: Mark as xfail.
3348 * testsuite/22_locale/numpunct_char_members.cc: Same.
3350 2001-07-16 Stephen M. Webb <stephen@bregmasoft.com>
3352 * acinclude.m4 (GLIBCPP_ENABLE_CHEADERS): Use glibcpp_srcdir when
3353 setting C_INCLUDE_DIR.
3354 * configure.in: Revert yesterday's LN_S change.
3355 * aclocal.m4: Regenerate.
3356 * configure: Regenerate.
3358 2001-07-15 Phil Edwards <pme@sources.redhat.com>
3360 * configure.in: Temporarily force LN_S to copy instead of symlink.
3361 * configure: Regenerate.
3363 2001-07-13 Phil Edwards <pme@sources.redhat.com>
3365 * include/bits/std_sstream.h (basic_stringbuf::basic_stringbuf(string):
3366 Initialize _M_string with pointer-and-size constructor, not just
3367 pointer. Fix some comments.
3368 * testsuite/21_strings/ctor_copy_dtor.cc (test03): New test.
3369 * testsuite/27_io/stringbuf.cc (test02): Remove unused variable.
3370 (test03): Add embedded-NUL tests.
3372 * mkcheck.in: When printing totals, match the order of the tests.
3373 * include/bits/stringfwd.h: Use same declaration keywords.
3374 * include/bits/std_iosfwd.h: Cosmetic spacing.
3376 2001-07-13 Stephen M. Webb <stephen@bregmasoft.com>
3377 Loren J. Rittle <ljrittle@acm.org>
3378 Phil Edwards <pme@sources.redhat.com>
3380 * include/Makefile.am: New file encapsulating header generation rules.
3381 * Makefile.am (SUBDIRS): Prepend 'include' directory.
3382 * acinclude.m4: Moved/removed rules for building various headers.
3383 * configure.in (AC_OUTPUT): Add include/Makefile.
3384 * mkc++config: Removed.
3386 * testsuite_flags.in: Changed build-includes to match new scheme.
3387 * mknumeric_limits: Likewise.
3388 * libio/Makefile.am: Changed INCLUDES to maatch new header scheme.
3389 * libmath/Makefile.am: Likewise.
3390 * libsupc++/Makefile.am: Likewise.
3391 * src/Makefile.am: Likewise; removed rules to build headers.
3392 * libmath/mathconf.h: Changed #include'd header names to match.
3393 * libmath/stubs.c: Likewise.
3394 * src/gen-num-limits.cc: Likewise.
3396 * configure: Regenerated.
3397 * config.h.in: Regenerated.
3398 * aclocal.m4: Regenerated.
3399 * Makefile.in: Regenerated.
3400 * include/Makefile.in: Regenerated.
3401 * libio/Makefile.in: Regenerated.
3402 * libmath/Makefile.in: Regenerated.
3403 * libsupc++/Makefile.in: Regenerated.
3404 * src/Makefile.in: Regenerated.
3405 * testsuite/Makefile.in: Regenerated.
3407 2001-07-11 Felix Natter <fnatter@gmx.net>
3409 * docs/html/17_intro/porting-howto.xml: Initial checkin of
3411 * docs/html/17_intro/porting-howto.html: check in v0.9.3
3413 2001-07-11 Phil Edwards <pme@sources.redhat.com>
3415 * docs/doxygen/run_doxygen: Don't keep output from previous run.
3416 * docs/doxygen/user.cfg.in: Tweaks.
3417 * include/bits/c++config: Documentation comments for Doxygen.
3418 * include/bits/char_traits.h: Likewise.
3419 * include/bits/limits_generic.h: Likewise.
3420 * include/bits/std_stdexcept.h: Likewise.
3421 * include/bits/stl_pair.h: Likewise.
3422 * libsupc++/exception: Likewise.
3423 * libsupc++/new: Likewise.
3424 * libsupc++/typeinfo: Likewise.
3425 * libmath/Makefile.am: Update and correct copyright.
3427 2001-07-10 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
3429 * acinclude.m4: Don't AC_REPLACE_MATHFUNCS expf and atan2f.
3430 * aclocal.m4: Regenerate.
3433 2001-07-09 Phil Edwards <pme@sources.redhat.com>
3435 * docs/html/configopts.html: Fix thinko.
3436 * docs/html/27_io/howto.html: Fix thinko and HTML markup.
3437 * include/bits/stl_iterator.h: Fix typo.
3439 2001-07-09 Phil Edwards <pme@sources.redhat.com>
3441 * docs/html/explanations.html: New file.
3442 * docs/html/configopts.html: Link to it to provide more notes
3443 on cstdio. Minor markup and spacing fixes.
3444 * docs/html/27_io/howto.html: Talk about sync_with_stdio.
3446 2001-07-09 Kriang Lerdsuwanakij <lerdsuwa@users.sourceforge.net>
3448 * include/bits/valarray_meta.h (_Expr::operator+): Use qualified id
3449 for _Expr template template argument.
3450 (_Expr::operator-): Likewise.
3451 (_Expr::operator~): Likewise.
3452 (_Expr::operator!): Likewise.
3453 (_DEFINE_EXPR_UNARY_OPERATOR): Likewise.
3455 2001-07-06 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
3457 * libmath/Makefile.am (EXTRA_DIST): Remove atan2f.c and expf.c
3458 * libmath/Makefile.in: Regenerate.
3459 * libmath/expf.c: Remove.
3460 * libmath/atan2f.c: Likewise.
3462 2001-07-06 Daniel Jacobowitz <drow@mvista.com>
3464 * configure.in: Remove NATIVE, NULL_TARGET.
3465 Set CANADIAN only for Canadian crosses. Set xcompiling
3466 for both Canadian crosses and host-x-host crosses.
3467 * configure: Regenerated.
3469 2001-07-06 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
3471 * include/bits/stl_vector.h (vector::_M_initialize_aux): Fix typo.
3473 2001-07-05 Jason Merrill <jason_merrill@redhat.com>
3475 * testsuite_flags.in (--build-includes): backward, not backwards.
3477 2001-07-04 Jeffrey Oldham <oldham@codesourcery.com>
3479 * include/ext/ropeimpl.h (_Rope_RopeRep::_M_free_c_string):
3480 Replace destroy by _Destroy.
3481 (_Rope_RopeRep::_S_free_string): Likewise.
3482 (rope::c_str()): Likewise.
3483 * include/ext/slist (_Slist_base::_M_erase_after>): Likewise.
3484 (_Slist_base::_M_erase_after): Likewise.
3485 (slist::_M_create_node): Replace construct by _Construct.
3486 (slist::pop_front): Replace destroy by _Destroy.
3487 * include/ext/stl_hashtable.h (hashtable::_M_new_node): Replace
3488 construct by _Construct.
3489 (hashtable::_M_delete_node): Replace destroy by _Destroy.
3490 * include/ext/stl_rope.h (rope::rope): Replace construct by
3492 (rope::copy): Replace destroy by _Destroy.
3494 2001-07-03 Benjamin Kosnik <bkoz@redhat.com>
3496 * include/bits/localefwd.h: Format.
3497 * include/bits/locale_facts.tcc (locale::combine): Adjust.
3498 * src/locale.cc (locale::locale::(_Impl)): Don't call
3500 (locale::facet::_M_remove_reference): Simplify.
3501 * src/globals.cc (locale_impl_c): New. Format.
3503 * src/ios.cc (ios_base::Init::Init): Increment _S_ios_base_init last.
3505 2001-07-02 Loren J. Rittle <ljrittle@acm.org>
3507 * acinclude.m4 (GLIBCPP_ENABLE_THREADS): Protect variable from shell
3508 expansion (thanks to Alexandre Oliva).
3509 * aclocal.m4: Regenerate.
3510 * configure: Regenerate.
3512 2001-07-02 Benjamin Kosnik <bkoz@redhat.com>
3514 * src/locale.cc (locale::locale(const char*)): Make sure global
3515 locales are initialized.
3516 * include/bits/locale_facets.tcc (locale::combine): Refcout should
3517 be zero, not one as it's return-by-value.
3518 * testsuite/27_io/ios_base_callbacks.cc (test01): Don't check for
3520 * testsuite/22_locale/ctor_copy_dtor.cc (test01): Instead, check
3523 * libsupc++/eh_alloc.cc: Use climits, not limits.h.
3525 2001-07-02 Loren J. Rittle <ljrittle@acm.org>
3528 * acinclude.m4 (GLIBCPP_ENABLE_THREADS): Portability enhancement.
3529 * aclocal.m4: Regenerate.
3530 * configure: Regenerate.
3532 2001-07-02 Loren J. Rittle <ljrittle@acm.org>
3535 * acinclude.m4 (GLIBCPP_ENABLE_THREADS): Add relative path to
3536 staged/installed area to support -I-. Document.
3537 * aclocal.m4: Regenerate.
3538 * configure: Regenerate.
3540 2001-07-02 Loren J. Rittle <ljrittle@acm.org>
3543 * src/ios.cc (ios_base::Init::_S_ios_create): Rename __bufsize to
3544 __out_bufsize. Add __in_bufsize, document it and use it.
3546 2001-07-01 Stephen M. Webb <stephen@bregmasoft.com>
3548 * include/bits/stl_construct.h (construct): Remove.
3550 (__destroy): Replaced by use of iterator_traits.
3551 * include/bits/stl_deque.h: replaced HP iterator functions with
3553 (construct): changed to _Construct.
3554 (destroy): changed to _Destroy.
3555 * include/bits/stl_tempbuf.h: Same.
3556 * include/bits/stl_tree.h: Same.
3557 * include/bits/stl_vector.h: Same.
3558 * include/backward/iterator.h (construct): moved definition to here.
3561 2001-06-29 Benjamin Kosnik <bkoz@redhat.com>
3563 * include/bits/locale_facets.tcc (locale::combine): Clone _Impl.
3564 before replacing facet.
3565 * include/bits/localefwd.h (locale::_Impl::_M_remove_reference):
3567 * src/localename.cc (locale::_Impl): Correct ctor initialization
3568 lists. Initialize ref count with one. Simplify.
3569 * src/locale.cc: Add comment.
3570 * testsuite/22_locale/numpunct.cc (test01): Add derivation test.
3571 * testsuite/22_locale/numpunct_char_members.cc (test01): Add tests.
3572 * testsuite/22_locale/members.cc (test02): Fix.
3574 2001-06-27 Phil Edwards <pme@sources.redhat.com>
3576 * include/backward/algo.h: Add "GPL plus runtime exception" comment
3577 block, this time for real.
3578 * include/backward/algobase.h: Likewise.
3579 * include/backward/alloc.h: Likewise.
3580 * include/backward/bvector.h: Likewise.
3581 * include/backward/defalloc.h: Likewise.
3582 * include/backward/deque.h: Likewise.
3583 * include/backward/function.h: Likewise.
3584 * include/backward/hash_map.h: Likewise.
3585 * include/backward/hash_set.h: Likewise.
3586 * include/backward/hashtable.h: Likewise.
3587 * include/backward/heap.h: Likewise.
3588 * include/backward/iterator.h: Likewise.
3589 * include/backward/list.h: Likewise.
3590 * include/backward/map.h: Likewise.
3591 * include/backward/multimap.h: Likewise.
3592 * include/backward/multiset.h: Likewise.
3593 * include/backward/pair.h: Likewise.
3594 * include/backward/rope.h: Likewise.
3595 * include/backward/set.h: Likewise.
3596 * include/backward/slist.h: Likewise.
3597 * include/backward/stack.h: Likewise.
3598 * include/backward/strstream: Likewise.
3599 * include/backward/tempbuf.h: Likewise.
3600 * include/backward/tree.h: Likewise.
3601 * include/backward/vector.h: Likewise.
3602 * include/bits/pthread_allocimpl.h: Likewise.
3603 * include/bits/std_algorithm.h: Likewise.
3604 * include/bits/std_bitset.h: Likewise.
3605 * include/bits/std_deque.h: Likewise.
3606 * include/bits/std_functional.h: Likewise.
3607 * include/bits/std_iterator.h: Likewise.
3608 * include/bits/std_list.h: Likewise.
3609 * include/bits/std_map.h: Likewise.
3610 * include/bits/std_memory.h: Likewise.
3611 * include/bits/std_numeric.h: Likewise.
3612 * include/bits/std_queue.h: Likewise.
3613 * include/bits/std_set.h: Likewise.
3614 * include/bits/std_stack.h: Likewise.
3615 * include/bits/std_utility.h: Likewise.
3616 * include/bits/std_vector.h: Likewise.
3617 * include/bits/stl_algo.h: Likewise.
3618 * include/bits/stl_algobase.h: Likewise.
3619 * include/bits/stl_alloc.h: Likewise.
3620 * include/bits/stl_bvector.h: Likewise.
3621 * include/bits/stl_construct.h: Likewise.
3622 * include/bits/stl_deque.h: Likewise.
3623 * include/bits/stl_function.h: Likewise.
3624 * include/bits/stl_heap.h: Likewise.
3625 * include/bits/stl_iterator.h: Likewise.
3626 * include/bits/stl_iterator_base_funcs.h: Likewise.
3627 * include/bits/stl_iterator_base_types.h: Likewise.
3628 * include/bits/stl_list.h: Likewise.
3629 * include/bits/stl_map.h: Likewise.
3630 * include/bits/stl_multimap.h: Likewise.
3631 * include/bits/stl_multiset.h: Likewise.
3632 * include/bits/stl_numeric.h: Likewise.
3633 * include/bits/stl_pair.h: Likewise.
3634 * include/bits/stl_pthread_alloc.h: Likewise.
3635 * include/bits/stl_queue.h: Likewise.
3636 * include/bits/stl_raw_storage_iter.h: Likewise.
3637 * include/bits/stl_relops.h: Likewise.
3638 * include/bits/stl_set.h: Likewise.
3639 * include/bits/stl_stack.h: Likewise.
3640 * include/bits/stl_tempbuf.h: Likewise.
3641 * include/bits/stl_threads.h: Likewise.
3642 * include/bits/stl_tree.h: Likewise.
3643 * include/bits/stl_uninitialized.h: Likewise.
3644 * include/bits/stl_vector.h: Likewise.
3645 * include/bits/type_traits.h: Likewise.
3646 * include/ext/hash_map: Likewise.
3647 * include/ext/hash_set: Likewise.
3648 * include/ext/rope: Likewise.
3649 * include/ext/ropeimpl.h: Likewise.
3650 * include/ext/slist: Likewise.
3651 * include/ext/stl_hash_fun.h: Likewise.
3652 * include/ext/stl_hashtable.h: Likewise.
3653 * include/ext/stl_rope.h: Likewise.
3654 * src/bitset.cc: Likewise.
3655 * src/strstream.cc: Likewise.
3657 2001-06-26 Benjamin Kosnik <bkoz@redhat.com>
3658 <vakatov@ncbi.nlm.nih.gov>
3661 * include/bits/streambuf.tcc (__copy_streambufs): Don't set eofbit.
3662 * testsuite/27_io/ostream_inserter_other.cc (test04): Add test.
3663 * testsuite/27_io/istream_extractor_other.cc: Fix.
3665 2001-06-26 Zoltan Hidvegi <hzoli@austin.ibm.com>
3667 * acinclude.m4 (glibcpp_toolexeclibdir): Make multilib safe.
3668 * aclocal.m4: Regenerate.
3669 * configure: Regenerate.
3671 2001-06-26 Benjamin Kosnik <bkoz@redhat.com>
3673 * include/bits/stream_iterator.h (istream_iterator): Add copy ctor.
3674 (ostream_iterator): Same.
3675 * include/bits/stl_iterator.h (front_insert_iterator::operator=):
3676 Change argument to const_reference.
3677 (back_insert_iterator): Same.
3679 2001-06-26 Benjamin Kosnik <bkoz@redhat.com>
3681 * include/bits/sbuf_iter.h: Change to..
3682 * include/bits/streambuf_iterator.h: This.
3683 * include/bits/stl_iterator.h: Take out of here...
3684 * include/bits/stream_iterator.h: Add.
3685 * src/Makefile.am (base_headers): Add streambuf_iterator,
3687 * src/Makefile.in: Regenerate.
3688 * include/bits/std_string.h: Adjust includes.
3689 * include/bits/basic_ios.h: Same.
3690 * include/bits/locale_facets.tcc: Same.
3691 * include/bits/std_iosfwd.h: Same.
3693 * include/bits/std_iterator.h: Add istream, ostream includes.
3694 * include/bits/stl_iterator.h: Tweak.
3695 * testsuite/24_iterators/ostream_iterator.cc: Add test.
3696 * testsuite/24_iterators/istream_iterator.cc: Same.
3697 * testsuite/23_containers/multiset.cc: Add iterator include.
3699 2001-06-26 Phil Edwards <pme@sources.redhat.com>
3701 * acinclude.m4: Clean extraneous tabs, rewrap 'test' lines.
3702 * aclocal.m4: Regenerate.
3703 * configure: Regenerate.
3705 2001-06-26 Felix Natter <f.natter@ndh.net>
3707 * docs/html/17_intro/porting-howto.html: Fixed some errors.
3709 2001-06-26 Benjamin Kosnik <bkoz@redhat.com>
3711 * include/bits/stl_iterator.h (istream_iterator::operator->): Fix
3713 (istream_iterator::operator*): Same.
3715 2001-06-26 Benjamin Kosnik <bkoz@redhat.com>
3716 Alexandre Petit-Bianco <apbianco@redhat.com>
3718 * testsuite/21_strings/element_access.cc (test01): Chill Out Cafe
3719 is on 41st, not 14th.
3721 2001-06-26 Benjamin Kosnik <bkoz@redhat.com>
3723 * include/bits/std_iterator.h: Include sbuf_iter.h via std_ios.h.
3725 * include/bits/stl_iterator.h (istream_iterator): Inherit from
3727 (ostream_iterator): Same.
3728 * testsuite/24_iterators/istream_iterator.cc: New file.
3729 * testsuite/24_iterators/ostream_iterator.cc: New file.
3731 * include/bits/sbuf_iter.h: Remove self typedef.
3732 * testsuite/24_iterators/ostreambuf_iterator.cc: Add test.
3733 * testsuite/24_iterators/istreambuf_iterator.cc: Add test.
3735 * include/bits/stl_iterator.h (reverse_iterator): Remove
3736 extraneous typedefs. Add typename.
3737 (__normal_iterator): Remove typedefs referring to self. Add typename.
3738 (reverse_bidiretional_iterator): Remove, not longer required.
3740 2001-06-26 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
3742 * include/bits/stl_iterator.h (__normal_iterator<>): Qualify
3743 dependent names with `typename'. Bring in various required
3744 iterator_traits members. Can't imagine why that used to work.
3746 2001-06-25 Phil Edwards <pme@sources.redhat.com>
3747 Kurt Garloff <garloff@suse.de>
3750 * src/cmath.cc: New [version of an old] file; instantiate
3751 __cmath_power to start with.
3752 * src/Makefile.am (sources): Add cmath.cc (and alphabetize).
3753 * Makefile.in: Regenerate.
3754 * libio/Makefile.in: Regenerate.
3755 * libmath/Makefile.in: Regenerate.
3756 * libsupc++/Makefile.in: Regenerate.
3757 * src/Makefile.in: Regenerate.
3758 * testsuite/Makefile.in: Regenerate.
3760 2001-06-24 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
3762 * libmath/stubs.c: Fix thinko.
3764 2001-06-24 David Edelsohn <dje@watson.ibm.com>
3766 * libmath/stubs.c (sqrtf): Define.
3767 (tanf): Correct typo.
3769 2001-06-22 Benjamin Kosnik <bkoz@redhat.com>
3771 * include/bits/stl_iterator.h (reverse_iterator): Inherit from
3773 (back_insert_iterator): Same.
3774 (front_insert_iterator): Same.
3775 (insert_iterator): Same.
3777 * testsuite/20_util/raw_storage_iterator.cc: Modify.
3778 * testsuite/24_iterators/reverse_iterator.cc: New file.
3779 * testsuite/24_iterators/back_insert_iterator.cc: New file.
3780 * testsuite/24_iterators/front_insert_iterator.cc: New file.
3781 * testsuite/24_iterators/insert_iterator.cc: New file.
3783 2001-06-22 Phil Edwards <pme@sources.redhat.com>
3785 * include/*: Revert comment/license change from yesterday for all
3786 except libsupc++/unwind-cxx.h.
3787 * src/bitset.cc: Likewise.
3788 * src/strstream.cc: Likewise.
3790 2001-06-22 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
3792 * libmath/stubs.c: New file.
3796 * libmath/Makefile.am (libmath_la_SOURCES): Add.
3797 * libmath/Makefile.in. Regenerate.
3799 2001-06-21 Phil Edwards <pme@sources.redhat.com>
3801 * include/backward/algo.h: Add "GPL plus runtime exception" comment.
3802 * include/backward/algobase.h: Likewise.
3803 * include/backward/alloc.h: Likewise.
3804 * include/backward/bvector.h: Likewise.
3805 * include/backward/defalloc.h: Likewise.
3806 * include/backward/deque.h: Likewise.
3807 * include/backward/function.h: Likewise.
3808 * include/backward/hash_map.h: Likewise.
3809 * include/backward/hash_set.h: Likewise.
3810 * include/backward/hashtable.h: Likewise.
3811 * include/backward/heap.h: Likewise.
3812 * include/backward/iterator.h: Likewise.
3813 * include/backward/list.h: Likewise.
3814 * include/backward/map.h: Likewise.
3815 * include/backward/multimap.h: Likewise.
3816 * include/backward/multiset.h: Likewise.
3817 * include/backward/pair.h: Likewise.
3818 * include/backward/rope.h: Likewise.
3819 * include/backward/set.h: Likewise.
3820 * include/backward/slist.h: Likewise.
3821 * include/backward/stack.h: Likewise.
3822 * include/backward/strstream: Likewise.
3823 * include/backward/tempbuf.h: Likewise.
3824 * include/backward/tree.h: Likewise.
3825 * include/backward/vector.h: Likewise.
3826 * include/bits/pthread_allocimpl.h: Likewise.
3827 * include/bits/std_algorithm.h: Likewise.
3828 * include/bits/std_bitset.h: Likewise.
3829 * include/bits/std_deque.h: Likewise.
3830 * include/bits/std_functional.h: Likewise.
3831 * include/bits/std_iterator.h: Likewise.
3832 * include/bits/std_list.h: Likewise.
3833 * include/bits/std_map.h: Likewise.
3834 * include/bits/std_memory.h: Likewise.
3835 * include/bits/std_numeric.h: Likewise.
3836 * include/bits/std_queue.h: Likewise.
3837 * include/bits/std_set.h: Likewise.
3838 * include/bits/std_stack.h: Likewise.
3839 * include/bits/std_utility.h: Likewise.
3840 * include/bits/std_vector.h: Likewise.
3841 * include/bits/stl_algo.h: Likewise.
3842 * include/bits/stl_algobase.h: Likewise.
3843 * include/bits/stl_alloc.h: Likewise.
3844 * include/bits/stl_bvector.h: Likewise.
3845 * include/bits/stl_construct.h: Likewise.
3846 * include/bits/stl_deque.h: Likewise.
3847 * include/bits/stl_function.h: Likewise.
3848 * include/bits/stl_heap.h: Likewise.
3849 * include/bits/stl_iterator.h: Likewise.
3850 * include/bits/stl_iterator_base_funcs.h: Likewise.
3851 * include/bits/stl_iterator_base_types.h: Likewise.
3852 * include/bits/stl_list.h: Likewise.
3853 * include/bits/stl_map.h: Likewise.
3854 * include/bits/stl_multimap.h: Likewise.
3855 * include/bits/stl_multiset.h: Likewise.
3856 * include/bits/stl_numeric.h: Likewise.
3857 * include/bits/stl_pair.h: Likewise.
3858 * include/bits/stl_pthread_alloc.h: Likewise.
3859 * include/bits/stl_queue.h: Likewise.
3860 * include/bits/stl_raw_storage_iter.h: Likewise.
3861 * include/bits/stl_relops.h: Likewise.
3862 * include/bits/stl_set.h: Likewise.
3863 * include/bits/stl_stack.h: Likewise.
3864 * include/bits/stl_tempbuf.h: Likewise.
3865 * include/bits/stl_threads.h: Likewise.
3866 * include/bits/stl_tree.h: Likewise.
3867 * include/bits/stl_uninitialized.h: Likewise.
3868 * include/bits/stl_vector.h: Likewise.
3869 * include/bits/type_traits.h: Likewise.
3870 * include/ext/hash_map: Likewise.
3871 * include/ext/hash_set: Likewise.
3872 * include/ext/rope: Likewise.
3873 * include/ext/ropeimpl.h: Likewise.
3874 * include/ext/slist: Likewise.
3875 * include/ext/stl_hash_fun.h: Likewise.
3876 * include/ext/stl_hashtable.h: Likewise.
3877 * include/ext/stl_rope.h: Likewise.
3878 * libsupc++/unwind-cxx.h: Likewise.
3879 * src/bitset.cc: Likewise.
3880 * src/strstream.cc: Likewise.
3882 2001-06-21 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
3884 * include/bits/indirect_array.h (indirect_array<>::operator=):
3885 Make copy and assignment operator public. Implement. Format.
3887 * include/bits/valarray_array.h (__valarray_copy): Add overloads
3888 for copy between index arrays. Format.
3890 2001-06-19 Benjamin Kosnik <bkoz@redhat.com>
3892 * mknumeric_limits: Add static definitions, format.
3893 * testsuite/18_support/numeric_limits.cc (test02): Add test.
3895 * include/c_std/bits/std_cwchar.h: Include ctime.
3896 * testsuite/17_intro/header_cwchar.cc : Check.
3898 * include/c_std/bits/std_cwctype.h: Inject wctype.
3899 * testsuite/17_intro/header_cwctype.cc: Update.
3901 2001-06-18 Benjamin Kosnik <bkoz@redhat.com>
3903 * include/bits/stl_raw_storage_iter.h: Format. Correct derivation.
3904 * testsuite/20_util/raw_storage_iterator.cc: Same.
3906 * include/bits/stl_alloc.h (_S_chunk_alloc): Change malloc to
3908 (__mem_interface): New typedef for switching between malloc and new.
3909 * testsuite/20_util/allocator_members.cc: New file.
3911 * testsuite/20_util/comparisons.cc: New file.
3912 * testsuite/20_util/pairs.cc: New file.
3914 2001-06-15 Phil Edwards <pme@sources.redhat.com>
3916 * docs/html/documentation.html: Point to new doxygen'ed collection.
3918 2001-06-14 Nathan Sidwell <nathan@codesourcery.com>
3920 * configure.in (auxdir): Replace by ...
3921 (toprel): ... new variable.
3922 (toplevel_srcdir): Construct from $toprel.
3923 * acinclude.m4 (GLIBCPP_ENABLE_THREADS): Use $toprel
3924 rather than .. to locate gcc source directory.
3925 (GLIBCPP_CONFIGURE): Replace $auxdir with $srcdir/$toprel.
3926 * aclocal.m4, configure: Rebuilt.
3928 2001-06-13 John David Anglin <dave@hiauly1.hia.nrc.ca>
3930 (Approved by Mark and Benjamin. Applied by Loren.)
3932 * src/globals.cc: Define globals _GLIBCPP_mutex_init (),
3933 _GLIBCPP_mutex_address_init (), _GLIBCPP_once, _GLIBCPP_mutex
3934 and _GLIBCPP_mutex_address.
3935 * include/bits/stl_threads.h (_STL_mutex_lock): Use above to provide
3936 once-only runtime initialization of _M_lock mutex when
3937 __GTHREAD_MUTEX_INIT_FUNCTION is defined.
3938 (__STL_MUTEX_INITIALIZER): Provide initializer for _STL_mutex_lock
3939 for __GTHREAD_MUTEX_INIT_FUNCTION case.
3941 2001-06-13 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
3943 * testsuite/26_numerics/slice_array_assignment.cc (main): New test.
3945 * include/bits/slice_array.h (slice_array<>::operator=): Make
3946 public and implement.
3947 (slice_array<>::slice_array): Make copy-constructor public.
3949 * include/bits/valarray_array.h (__valarray_copy): Add another
3950 overload to copy between strided arrays.
3952 2001-06-13 Benjamin Kosnik <bkoz@redhat.com>
3954 * acinclude.m4 (GLIBCPP_CONFIGURE): Bump version to 3.0.0.
3955 * aclocal.m4: Regenerate.
3956 * configure: Regenerate.
3957 * include/bits/c++config (__GLIBCPP__): Update date.
3959 2001-06-12 Benjamin Kosnik <bkoz@redhat.com>
3961 * include/bits/fpos.h (fpos::operator-): Don't return reference,
3962 return original, non-modified version.
3963 (fpos::operator+): Same.
3964 * testsuite/27_io/fpos.cc: Add test.
3966 2001-06-12 Loren J. Rittle <ljrittle@acm.org>
3969 * porting.texi: Add documentation about libstdc++-v3-specific
3970 macros that are currently included in os_defines.h files.
3972 * config/basic_file_stdio.h (sys_getc): New method.
3973 (sys_ungetc): New method.
3974 * include/bits/basic_file.h: (sys_getc): New method signature.
3975 (sys_ungetc): New method signature.
3977 * include/bits/fstream.tcc (underflow): Add conditional code
3978 paths which avoid using short seeks on streams (especially
3979 useful when the stream might be interactive or a pipe). At
3980 the moment, this alternate path only avoids seeking when the
3981 ``buffer size'' of underflow() is 1 since the C standard only
3982 guarantees buffer space for one ungetc (this technique could
3983 be extended since *-*-solaris* supports buffering for 4 calls
3984 to ungetc and *-*-*bsd* supports buffering limited only by
3985 memory resources). Also, _GLIBCPP_AVOID_FSEEK must be defined
3986 in a port's os_defines.h file for this alternate path to even
3987 be considered. As a bonus, the idiom of using getc/ungetc
3988 requires no system calls whereas fseek maps to one or two
3989 system call(s) on many platforms.
3991 * config/os/bsd/freebsd/bits/os_defines.h (_GLIBCPP_AVOID_FSEEK):
3993 * config/os/solaris/solaris2.5/bits/os_defines.h
3994 (_GLIBCPP_AVOID_FSEEK): Likewise.
3995 * config/os/solaris/solaris2.6/bits/os_defines.h
3996 (_GLIBCPP_AVOID_FSEEK): Likewise.
3997 * config/os/solaris/solaris2.7/bits/os_defines.h
3998 (_GLIBCPP_AVOID_FSEEK): Likewise.
4000 2001-06-12 Benjamin Kosnik <bkoz@redhat.com>
4002 * acinclude.m4 (GLIBCPP_CHECK_COMPILER_VERSION): Change to
4003 AC_TRY_COMPILE, so that the built compiler is checked, and
4004 bootstraps or cross compiles with an older compile still work.
4005 * aclocal.m4: Regenerate.
4006 * configure: Regenerate.
4008 2001-06-12 Benjamin Kosnik <bkoz@redhat.com>
4011 * include/bits/std_sstream.h: Add allocator_type, as per DR 251.
4014 * include/bits/istream.tcc (getline, get): Fix as per DR 243.
4017 * include/bits/std_bitset.h (bitset::set): Fix as per DR 186.
4020 * include/bits/limits_generic.h: Fix as per DR 184.
4022 2001-06-11 Benjamin Kosnik <bkoz@redhat.com>
4025 * include/bits/basic_string.h (string::compare): Adjust signatures
4027 * include/bits/basic_string.tcc: And here.
4030 * config/c_io_stdio.h: Remove whitespace.
4031 * testsuite/27_io/istream_seeks.cc (test03): Add regression.
4032 (test02): Add regression.
4033 * testsuite/27_io/istream_seeks-3.tst: New file.
4035 2001-06-11 Phil Edwards <pme@sources.redhat.com>
4037 * README: Update to reflect reality.
4038 * acinclude.m4: Update descriptions, fix typos. Comment changes only.
4039 * configure.in: Make certain target_alias is set and subst'd for 2.50.
4040 * aclocal.m4: Regenerate.
4041 * configure: Regenerate (with 2.13).
4043 2001-06-11 Benjamin Kosnik <bkoz@redhat.com>
4046 * include/bits/ostream.tcc (ostream::seekp): Add error checking as
4048 * include/bits/istream.tcc (istream::seekg): Same.
4049 * testsuite/27_io/istream_seeks.cc: Fix.
4052 * include/bits/stl_function.h (binder2nd): Fix as per DR 109.
4054 * include/bits/std_queue.h: Add c++config.h.
4055 * testsuite/20_util/binders.cc: New test.
4057 2001-06-11 Matthias Klose <doko@debian.org>
4058 Phil Edwards <pme@sources.redhat.com>
4060 * docs/doxygen/run_doxygen (find_doxygen): Tweak version check.
4061 (main script): Echo more information.
4063 2001-06-10 Benjamin Kosnik <bkoz@redhat.com>
4065 * include/c_std/bits/std_cwchar.h: Alphabetize.
4066 * include/bits/char_traits.h: Tweak.
4067 * acinclude.m4 (GLIBCPP_CHECK_WCHAR_T_SUPPORT): Check for
4068 everything used by std_cwchar.h.
4069 * aclocal.m4: Regenerate.
4070 * configure.in: Regenerate.
4071 * config.h.in: Regenerate.
4073 2001-06-10 Benjamin Kosnik <bkoz@redhat.com>
4075 * acinclude.m4 (GLIBCPP_ENABLE_C99): Add stdio.h checking.
4076 Add checking for strtof, _Exit in stdlib.h
4077 * aclocal.m4: Regenerate.
4078 * configure.in: Regenerate.
4079 * include/c_std/bits/std_cstdio.h: Alphabetize lists.
4080 (snprintf): Put C99 functions into __gnu_cxx namespace.
4085 * include/c_std/bits/std_cstdlib.h: Alphabetize lists. Put undefs
4086 for C99 functions within _GLIBCPP_USE_C99 guard.
4090 * include/bits/locale_facets.tcc: Check if C99 is enabled.
4091 * include/c_std/bits/std_cwchar.h (__gnu_cxx): Put undefs within
4093 * include/c_std/bits/cmath.tcc: Formatting tweak.
4094 * include/c_std/bits/std_cmath.h: Same.
4096 2001-06-10 Benjamin Kosnik <bkoz@redhat.com>
4098 * include/c_std/bits/std_cstdio.h: Include cstddef for size_t.
4100 2001-06-09 Alexandre Oliva <aoliva@redhat.com>
4101 Stephen L Moshier <moshier@mediaone.net>
4103 * acinclude.m4 (AC_EXEEXT): Work around in case it expands to
4104 nothing, as in autoconf 2.50.
4105 * configure: Rebuilt.
4107 2001-06-09 Benjamin Kosnik <bkoz@redhat.com>
4109 * include/c_std/bits/std_cwchar.h: Remove size_t injection,
4110 include std_cstddef.
4111 * include/c_std/bits/std_ctime.h: Same.
4112 * include/c_std/bits/std_cstring.h: Same.
4113 * include/c_std/bits/std_cstdlib.h: Same.
4115 * include/c_std/bits/std_cstdio.h: Remove vsnprintf, snprintf.
4116 * include/c_std/bits/std_cctype.h: Remove isblank.
4118 2001-06-09 Benjamin Kosnik <bkoz@redhat.com>
4120 * acinclude.m4 (GLIBCPP_CHECK_WCHAR_T_SUPPORT): Check for fgetwc,
4122 * aclocal.m4: Regenerate.
4123 * configure: Regenerate.
4124 * include/c_std/bits/std_cwchar.h: Remove duplicate fgetwc
4125 injection, guard fgetwc, fgetws.
4126 * include/c_std/bits/std_cstdio.h: Remove superfluous includes.
4127 * include/c_std/bits/std_clocale.h: And here.
4128 * include/c_std/bits/std_cctype.h: And here.
4129 * include/c_std/bits/std_cstdlib.h (strtof): Guard strtof injection.
4131 * config/basic_file_stdio.h: Don't include unistd.h.
4132 * config/c_io_stdio.h: Don't use compatibility headers.
4133 * libsupc++/eh_terminate.cc: Qualify abort.
4134 (__terminate): And here.
4135 * libsupc++/eh_catch.cc (__cxa_end_catch): Qualify abort.
4137 2001-06-08 Benjamin Kosnik <bkoz@redhat.com>
4139 * include/c_std/bits/std_cstdlib.h: Remove _Exit, strtof injections.
4141 2001-06-08 Benjamin Kosnik <bkoz@redhat.com>
4146 * include/std/*: Add copyright notice.
4147 * include/c_std/bits/*: Use using statements instead of extern "C".
4148 * include/c_std/bits/std_cmath.h: Don't overload double versions
4149 of math functions with __buitin versions, use global version to
4150 prevent ambiguities. Remove define hacks.
4151 * include/c_std/bits/std_cwchar.h: Using declarations for "C"
4152 functions that have changed signatures and std::
4153 declarations. Remove define hacks.
4154 * include/c_std/bits/std_cwchar.h: Same, plus remove ambiguous
4155 __builtins in std::. Remove define hacks.
4156 * testsuite/17_intro/headers_c.cc: Add tests.
4157 * testsuite/17_intro/headers_c++.cc: Add test.
4159 2001-06-07 Loren J. Rittle <ljrittle@acm.org>
4160 John David Anglin <dave@hiauly1.hia.nrc.ca>
4163 * libsupc++/eh_alloc.cc: Ensure that required macros are
4164 defined before including gthr.h. Ensure that we get the
4165 version of gthr.h for which we know how to provide a
4167 * libsupc++/eh_globals.cc: Likewise. And, bring the threading
4168 code path into line with the current EH model. Use std, where
4171 2001-06-07 Loren J. Rittle <ljrittle@acm.org>
4172 John David Anglin <dave@hiauly1.hia.nrc.ca>
4174 * config/threads-no.h: Remove file.
4175 * config/threads-posix.h: Remove file.
4177 * acconfig.h (_GLIBCPP_USE_THREADS): Remove.
4178 (_GLIBCPP_SUPPORTS_WEAK): Add (required by namespace-clean gthr*.h).
4179 (_GLIBCPP_HAVE_GTHR_DEFAULT): Likewise.
4180 * config.h.in: Regenerate.
4182 * acinclude.m4 (GLIBCPP_ENABLE_THREADS): Completely rework to
4183 setup and use gthr*.h files. In particular, make gthr.h files
4184 namespace-clean in the staging area (they don't have to be for
4186 * aclocal.m4: Regenerate.
4187 * configure: Regenerate.
4189 * src/Makefile.am (build_headers): Remove bits/c++threads.h
4190 and add bits/gthr.h bits/gthr-single.h bits/gthr-default.h.
4191 * src/Makefile.in: Regenerate.
4193 * include/bits/c++config: Cleanup threading configuration macros.
4194 In particular, define __STL_GTHREADS macro which controls...
4195 * include/bits/stl_threads.h: ...a brand new gthr.h-based
4198 * config/c_io_stdio.h: Include staged gthr.h instead of local
4199 thread configuration file. Always use __gthread_mutex_t
4200 instead of __mutext_type (or int).
4201 * include/bits/std_fstream.h: Likewise.
4203 * docs/html/17_intro/howto.html: Remove placeholder comment in
4204 case this configuration patch didn't make it. Add advice that
4205 section only applies if configured with --enable-threads.
4206 * docs/html/23_containers/howto.html: Reword to make clear
4207 that _PTHREADS is no longer required for any port to be
4208 correctly using STL with threads. Add advice that section
4209 only applies if configured with --enable-threads.
4211 2001-06-06 Benjamin Kosnik <bkoz@redhat.com>
4213 * src/string-inst.cc (_Rep::_S_max_size): Add instantiation.
4215 2001-06-05 Benjamin Kosnik <bkoz@redhat.com>
4218 * include/bits/basic_ios.tcc: Formatting tweaks.
4219 * include/bits/ios_base.h: Formatting tweaks.
4220 * src/ios.cc (ios_base::Init::_S_ios_create): Use filebufs here.
4221 (ios_base::Init::_S_ios_destroy): ..and here. Explicitly call dtors.
4222 * src/globals.cc: Allocate filebufs for standard streams here.
4223 (buf_cout, buf_cin, buf_cerr): Like so.
4224 (buf_wcout, buf_wcin, buf_wcerr): And so.
4225 * testsuite/27_io/ios_init.cc: Add.
4227 2001-06-04 Brendan Kehoe <brendan@zen.org>
4228 Benjamin Kosnik <bkoz@redhat.com>
4231 * include/bits/locale_facets.h (ctype<_CharT>): Add definitions
4232 for generic ctype virtuals.
4233 * src/locale.cc: Minor tweaks, naming consistency.
4234 * testsuite/22_locale/ctype.cc: Add test.
4236 2001-06-04 Kenny Simpson <theonetruekenny@yahoo.com>
4237 Phil Edwards <pme@sources.redhat.com>
4239 PR libstdc++/3035 and PR libstdc++/3036
4240 * include/bits/stl_pair.h: Fix pair ctor and make_pair according
4241 to LWG DR 181 and 265.
4243 2001-06-04 Phil Edwards <pme@sources.redhat.com>
4246 * include/bits/stl_multiset.h (find, lower_bound, upper_bound,
4247 equal_range): Add const overloads as per LWG DR 214.
4248 * include/bits/stl_set.h: Likewise.
4250 2001-06-04 Brendan Kehoe <brendan@zen.org>
4251 Phil Edwards <pme@sources.redhat.com>
4254 * include/bits/std_bitset.h (bitset::test): Fix __pos >= _Nb
4255 comparison; all positions must be < _Nb.
4256 * testsuite/23_containers/bitset_members.cc: New file.
4258 2001-06-04 Brendan Kehoe <brendan@zen.org>
4261 * include/bits/stl_queue.h (classes queue, priority_queue): Fix
4262 ctors to match the standard.
4264 2001-06-04 Jeffrey Oldham <oldham@codesourcery.com>
4266 * include/bits/char_traits.h (move): Reverse qualification of
4268 (copy): Reverse qualification of memcpy with std::.
4270 2001-06-04 Jeffrey Oldham <oldham@codesourcery.com>
4272 * include/bits/char_traits.h (move): Qualify memmove with std::.
4273 (copy): Qualify memcpy with std::.
4274 * testsuite/27_io/filebuf_virtuals.cc (test01): Qualify strlen and
4277 * testsuite/27_io/stringbuf_virtuals.cc (test01): Likewise.
4279 2001-06-04 Hans-Peter Nilsson <hp@axis.com>
4281 * libsupc++/Makefile.am (install-glibcppinstallHEADERS,
4282 uninstall-glibcppinstallHEADERS): Have explicit rules catering to
4283 SUN make VPATH peculiarities.
4284 * libsupc++/Makefile.in: Regenerate.
4286 2001-06-01 Hans-Peter Nilsson <hp@axis.com>
4288 * src/Makefile.am (VPATH): Delimit with ":", not space.
4289 * src/Makefile.in: Regenerate.
4291 * configure.in (use of GLIBCPP_CHECK_GNU_MAKE): Don't fail if GNU
4293 * configure: Regenerate.
4295 2001-05-31 scott snyder <snyder@fnal.gov>
4298 * include/bits/istream.tcc: Include std_ostream.h.
4300 2001-05-31 Benjamin Kosnik <bkoz@redhat.com>
4303 * src/bitset.cc: Qualify size_t with std::.
4305 2001-05-30 Benjamin Kosnik <bkoz@redhat.com>
4307 * acconfig.h (_GLIBCPP_BUGGY_FLOAT_COMPLEX): Remove.
4308 (_GLIBCPP_BUGGY_COMPLEX): Remove.
4309 * config.h.in: Regenerate.
4310 * acinclude.m4 (GLIBCPP_CHECK_COMPLEX_MATH_COMPILER_SUPPORT): Remove.
4311 * aclocal.m4: Regenerate.
4312 * configure.in: Don't call it.
4313 * configure: Regenerate.
4316 * src/complex_io.cc (operator<<(ostream&, const complex&): Fix.
4317 * testsuite/26_numerics/complex_inserters_extractors.cc (test01):
4321 * include/bits/std_complex.h: Include sstream. Put definitions for
4322 complex inserters and extractors here, and remove them from...
4323 * src/complex_io.cc: ...here.
4324 * include/bits/basic_ios.h (basic_ios::__numput_type): Add _Traits
4326 (basic_ios::__numget_type): Same.
4327 * include/bits/std_istream.h: Same.
4328 * include/bits/std_ostream.h: Same.
4329 * include/bits/sbuf_iter.h (ostreambuf_iterator): Fix typo in base
4330 class iterator template arguments.
4331 * src/locale-inst.cc: Add explicit has_facet instantiations.
4332 * include/bits/basic_ios.h (basic_ios::_M_get_fctype_ios): Remove.
4333 (_M_get_fnumput): Remove.
4334 (_M_get_fnumget): Remove.
4335 (basic_ios::_M_check_facet): New function.
4336 (basic_ios::_M_cache_facets): New function.
4337 * include/bits/basic_ios.tcc: Definition for _M_cache_facets.
4338 (basic_ios::imbue): Call _M_cache_facets.
4339 (basic_ios::init): Same.
4340 * include/bits/istream.tcc: Format, use _M_check_facet.
4341 * include/bits/ostream.tcc: Same.
4342 * include/bits/locale_facets.tcc (__output_float): Change
4343 signature, add _Traits.
4344 * testsuite/26_numerics/complex_inserters_extractors.cc (test02):
4347 2001-05-30 Loren J. Rittle <ljrittle@acm.org>
4349 * include/bits/c++config (__USE_MALLOC): Do not define it.
4350 Document why not and give pointers to more information.
4352 * docs/html/23_containers/howto.html: Update documentation
4353 to reflect recent understanding of problem.
4354 * docs/html/17_intro/howto.html: Likewise.
4356 2001-05-30 Phil Edwards <pme@sources.redhat.com>
4358 * docs/doxygen/user.cfg.in: Minor addition.
4359 * docs/html/documentation.html: Reorganize. Put most-looked-at
4361 * docs/html/install.html: Update for 3.0. HTML fixups.
4362 * docs/html/17_intro/howto.html: Likewise.
4363 * docs/html/18_support/howto.html: Likewise.
4364 * docs/html/19_diagnostics/howto.html: Likewise.
4365 * docs/html/20_util/howto.html: Likewise.
4366 * docs/html/23_containers/howto.html: Likewise.
4367 * docs/html/24_iterators/howto.html: Likewise. More notes.
4368 * docs/html/25_algorithms/howto.html: Likewise.
4369 * docs/html/26_numerics/howto.html: Likewise. More notes.
4370 * docs/html/27_io/howto.html: Likewise.
4371 * docs/html/ext/howto.html: Likewise.
4372 * docs/html/faq/index.html: Likewise.
4373 * docs/html/faq/index.txt: Regenerate.
4374 * docs/html/27_io/iostreams_hierarchy.pdf: Remove in favor of
4375 Doxygen-created documentation.
4377 2001-05-30 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
4379 * testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3-init): Use
4380 get_multilibs to find gcc.
4382 2001-05-30 Phil Edwards <pme@sources.redhat.com>
4384 * acinclude.m4 (GLIBCPP_ENABLE_C99): Reorder output messages.
4385 * aclocal.m4: Regenerate.
4386 * configure: Regenerate.
4388 2001-05-29 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
4390 * include/c_std/bits/std_cstdlib.h:: Move C99 thingies to __gnu_cxx::.
4391 * include/c_std/bits/std_cwchar.h (__gnu_cxx): Likewise.
4393 2001-05-27 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
4395 * include/c_std/bits/std_cmath.h: Move C99 functions in __gnu_cxx::.
4396 * include/c_std/bits/std_cstdlib.h: Same.
4397 * include/c_std/bits/std_cwchar.h: Same.
4399 2001-05-30 Loren J. Rittle <ljrittle@acm.org>
4401 * docs/html/17_intro/howto.html: Update link.
4402 * docs/html/23_containers/howto.html: Likewise. Add new link.
4404 2001-05-26 Gabriel Dos Reis <gdr@codesourcery.com>
4406 * include/c_std/bits/std_cmath.h (sqrt): #undef.
4408 2001-05-23 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
4410 * mknumeric_limits: Stop if gen-num-limits dies.
4412 2001-05-25 Benjamin Kosnik <bkoz@redhat.com>
4415 * acinclude.m4 (GLIBCPP_ENABLE_C99): Use AC_TRY_COMPILE.
4416 * aclocal.m4: Regenerate.
4419 2001-05-24 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
4420 Phil Edwards <pme@sources.redhat.com>
4421 Alexandre Oliva <aoliva@redhat.com>
4423 * acinclude.m4 (GLIBCPP_EXPORT_INSTALL_INFO): Set glibcpp_srcdir
4424 in an amd-safe manner. Revert glibcpp_prefixdir.
4426 2001-05-25 Gabriel Dos Reis <gdr@codesourcery.com>
4428 * include/c_std/bits/std_cmath.h: Tweak. #define away abs, cos,
4429 fabs, sin, sqrt. They are now implemented in terms of __builtin_
4432 2001-05-24 Benjamin Kosnik <bkoz@redhat.com>
4435 * testsuite/21_strings/inserters_extractors.cc (test09): New test.
4436 * include/bits/ostream.tcc: Format to match istream.tcc.
4437 (operator<<(basic_ostream __out, const basic_string __s)): Fix.
4439 2001-05-24 Phil Edwards <pme@sources.redhat.com>
4441 * libsupc++/eh_alloc.cc (__cxa_allocate_exception): Qualify
4443 (__cxa_free_exception): Likewise with free.
4445 2001-05-24 Mark Mitchell <mark@codesourcery.com>
4447 * include/c_std/bin/std_cstring.h: #define away all global
4448 functions we will redeclare in namespace `std'.
4449 * libsupc++/eh_alloc.cc (__cxa_allocate_exception): Use
4450 std::memset, instead of memset.
4451 * testsuite/19_diagnostics/stdexceptions.cc: Use `std::strcmp',
4453 * testsuite/21_strings/c_strings.cc: Use `std::strcpy' instead of
4456 2001-05-24 Benjamin Kosnik <bkoz@redhat.com>
4459 * include/bits/basic_ios.tcc: Small tweak.
4460 * include/bits/std_fstream.h (ifstream): Add buffer member. Adjust
4461 ctors and dtors, and rdbuf settings.
4464 * include/bits/std_sstream.h: Same, but for stringstream classes.
4465 * testsuite/27_io/ostringstream_members.cc: New.
4466 * testsuite/27_io/stringstream_members.cc: New.
4467 * testsuite/27_io/fstream_members.cc: New.
4468 * testsuite/27_io/ifstream_members.cc: Add test.
4469 * testsuite/27_io/istringstream_members.cc: Add test.
4470 * testsuite/27_io/ofstream_members.cc: Add test.
4472 2001-05-24 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
4474 * include/bits/c++config(__NO_MATH_INLINES): Move to...
4475 * config/os/gnu-linux/bits/os_defines.h: ...here.
4477 2001-05-24 Gabriel Dos Reis <gdr@codesourcery.com>
4479 * include/bits/c++config (__NO_MATH_INLINES): New macro.
4480 * testsuite/26_numerics/fabs_inline.cc (main): New test.
4482 2001-05-22 Benjamin Kosnik <bkoz@redhat.com>
4485 * testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3-init): Set
4487 (libstdc++-v3_set_ld_library_path): New, copied from g++.exp.
4488 (libstdc++-v3-finish): Remove.
4489 (libstdc++-v3_exit): Remove.
4491 2001-05-22 Phil Edwards <pme@sources.redhat.com>
4493 * docs/html/documentation.html: Point to doxygen output.
4495 2001-05-21 Benjamin Kosnik <bkoz@redhat.com>
4497 * mkcheck.in (static_fail): Remove S_FLAG decoration on output.
4499 * include/bits/std_sstream.h (stringbuf::setbuf): Require both
4500 arguments to be non-null.
4501 * include/bits/fstream.tcc (filebuf::_M_allocate_buffers): Only
4502 try allocations if allocated size is greater than zero.
4503 (filebuf::_M_filebuf_init): Change to
4504 (filebuf::_M_allocate_file): Which is what it does now.
4505 (filebuf::_M_allocate_bufers): Change to
4506 (filebuf::_M_allocate_internal_buffer): This, and create
4507 (filebuf::_M_allocate_pback_buffer): New.
4508 (filebuf::_M_destroy_internal_buffer): New.
4509 (filebuf::_M_buf_allocated): New data member.
4510 (filebuf::setbuf): Use new logic, allow use of external buffer.
4511 * testsuite/27_io/stringbuf_virtuals.cc: New file.
4512 * testsuite/27_io/filebuf_virtuals.cc: New file.
4514 2001-05-21 Stephen M. Webb <stephen@bregmasoft.com>
4516 * include/c_std/bits/std_cstring.h (memchr): Define "C" functions to
4518 (strchr): Same, but to __glibcpp_strchr.
4522 * include/c_std/bits/std_cwchar.h (wcschr): Same.
4528 2001-05-21 Benjamin Kosnik <bkoz@redhat.com>
4530 * testsuite/21_strings/c_strings.cc (main): Fix.
4532 2001-05-19 Phil Edwards <pme@sources.redhat.com>
4534 * acinclude.m4: Fix --help spacing, correct comments.
4535 * aclocal.m4: Regenerate.
4536 * configure: Regenerate.
4537 * mkcheck.in: Add usage comments.
4538 * docs/html/documentation.html: Point to doxygen'd tarball.
4540 2001-05-18 Benjamin Kosnik <bkoz@redhat.com>
4542 * testsuite/README: Add notes.
4544 * src/Makefile.am (libstdc++.INC): Remove.
4545 * src/Makefile.in: Regenerate.
4547 Phil Edwards <pedwards@disaster.jaj.com>
4548 * mkcheck.in: Add missing '#'.
4550 2001-05-18 Angela Marie Thomas <angela@cygnus.com>
4552 * testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3-init): Set flags
4553 appropriately for remote testing and testing installed files without
4556 2001-05-18 Benjamin Kosnik <bkoz@redhat.com>
4558 * acinclude.m4 (GLIBCPP_EXPORT_INSTALL_INFO): Set glibcpp_srcdir
4559 amd glibcpp_prefixdir with absolute paths.
4561 * include/bits/c++config (__GLIBCPP__): Bump.
4562 * acinclude.m4 (GLIBCPP_CONFIGURE): Correct version number.
4564 2001-05-18 Gabriel Dos Reis <gdr@codesourcery.com>
4566 * include/bits/std_valarray.h (valarray<>::operator[] const):
4567 Return a const reference.
4568 * testsuite/26_numerics/valarray_const_bracket.cc: New test.
4570 2001-05-18 Alexandre Oliva <aoliva@redhat.com>
4572 * configure.target (ATOMICITYH): Actually use AIX-specific code on
4573 earlier versions of AIX 4.*.
4575 2001-05-18 Angela Marie Thomas <angela@cygnus.com>
4577 * testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3-dg-test): Set
4578 output_file based on the name of the testcase.
4580 2001-05-18 Angela Marie Thomas <angela@cygnus.com>
4582 * testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3-init): Build
4583 gluefile and use it if needs_status_wrapper is set.
4585 2001-05-18 Alexandre Oliva <aoliva@redhat.com>
4587 * configure.target (ATOMICITYH): Use cpu/generic code on earlier
4590 2001-05-17 Alexandre Oliva <aoliva@redhat.com>
4592 * configure.target (ATOMICITYH): Don't use AIX 4.3-specific code
4593 on earlier versions of AIX.
4595 2001-05-15 Benjamin Kosnik <bkoz@redhat.com>
4597 * testsuite_flags.in (query): Add backwards, ext directories.
4599 2001-05-15 Mark Mitchell <mark@codesourcery.com>
4601 * porting.texi: Correct documentation about handling
4602 _LARRGEFILE_SOURCE and its ilk.
4603 * config/os/solaris/solaris2.5/bits/os_defines.h: Remove
4604 definitions of _XOPEN_SOURCE, _LARGEFILE64_SOURCE, and
4606 * config/os/solaris/solaris2.6/bits/os_defines.h: Likewise.
4607 * config/os/solaris/solaris2.7/bits/os_defines.h: Likewise.
4609 2001-05-15 Zack Weinberg <zackw@stanford.edu>
4611 * testsuite/21_strings/inserters_extractors.cc,
4612 testsuite/27_io/istream_unformatted.cc,
4613 testsuite/27_io/stringstream.cc:
4614 Replace multi-line string constants with C89-style
4615 concatenated string constants.
4617 2001-05-14 Richard Henderson <rth@redhat.com>
4619 * mknumeric_limits: Build with -fno-exceptions.
4621 2001-05-13 Benjamin Kosnik <bkoz@redhat.com>
4623 Switch over to new harness.
4624 * testsuite_flags.in: Tweaks via Gaby.
4625 * testsuite/Makefile.am: Change tool to libstdc++-v3.
4626 (EXPECT): Quote directly.
4628 * configure.in: Output testsuite_flags.
4629 * acinclude.m4: Substitute src, bld, and prefix dirs.
4630 Remove glibcpp_expect, glibcpp_runtestflags.
4631 * Makefile.am (RUNTESTFLAGS): Pass this down to subdirs.
4632 * mkcheck.in: Port to new interface.
4634 * aclocal.m4: Regerate.
4635 * configure: Regnerate.
4636 * Makefile.in: Regnerate.
4637 * */Makefile.in: Regenerate.
4639 * tests_flags.in: Remove.
4640 * testsuite/lib/libstdc++.exp: Remove.
4641 * testsuite/libstdc++.tests/tests.exp: Remove.
4643 2001-05-13 Alexandre Oliva <aoliva@redhat.com>
4645 * configure.target: Remove detection of AIX pthread multilib, now
4646 obtained from `gcc -v'.
4648 2001-05-13 John David Anglin <dave@hiauly1.hia.nrc.ca>
4650 * mkcheck.in (setup_size_command): Use Berkeley "-B" mode with GNU
4651 size. Add hpux case for HP size.
4653 2001-05-11 Benjamin Kosnik <bkoz@redhat.com>
4655 * testsuite_flags.in: New, simplified interface.
4656 * testsuite/lib/libstdc++-v3-dg.exp: New test harness.
4657 * testsuite/libstdc++-v3.dg: Add.
4658 * testsuite/libstdc++-v3.dg/dg.exp: Add.
4660 2001-05-11 Benjamin Kosnik <bkoz@redhat.com>
4662 * testsuite/*/*.cc: Remove spaces, make sure testcases return zero.
4663 * testsuite/config/default.exp: Update bugs email address.
4665 2001-05-11 Richard Henderson <rth@redhat.com>
4667 * libsupc++/eh_personality.cc: Include unwind-pe.h. Remove
4668 all pointer encoding logic.
4669 (struct lsda_header_info): Add ttype_base.
4670 (get_ttype_entry): Use it instead of a context.
4671 (check_exception_spec): Likewise.
4672 (PERSONALITY_FUNCTION): Initialize ttype_base. Store it in
4673 the c++ exception header for __cxa_call_unexpected.
4674 (__cxa_call_unexpected): Use it.
4676 2001-05-09 Benjamin Kosnik <bkoz@redhat.com>
4678 * testsuite/lib/libstdc++.exp: Use libgloss.exp. Call
4679 libgloss_link_flags to find crt0.o for targets that use libgloss
4681 Change LDFLAGS to LIBS.
4682 Consistently name procedures libstdc++-XXX.
4683 * testsuite/libstdc++.tests/tests.exp: Use new procedure names.
4685 2001-05-08 Benjamin Kosnik <bkoz@fillmore.constant.com>
4687 * include/c_std/bits/std_cstring.h (memchr): Correct definitions.
4692 * include/c_std/bits/std_cwchar.h (wcschr): Same.
4697 * testsuite/21_strings/c_strings.cc: Add tests.
4699 2001-05-07 Benjamin Kosnik <bkoz@redhat.com>
4702 * include/bits/std_fstream.h (basic_filebuf): Change signature.
4703 * include/bits/fstream.tcc (basic_filebuf): Change bool argument
4704 to int_type, pass in buffer size info.
4705 * include/bits/std_streambuf.h (_M_is_indeterminate): Check for
4706 unbuffered situation.
4707 (underflow): Remove codecvt bits for the time being.
4708 * include/bits/istream.tcc (istream::sentry): Avoid sputbackc call.
4709 * include/bits/locale_facets.tcc (_M_extract): Cache dereference
4710 values from iterators, clean.
4711 * src/locale.cc: Ditto.
4712 * include/bits/sbuf_iter.h: Format.
4713 * src/ios.cc: Explicitly pass in buffer sizes at creation time.
4714 * testsuite/27_io/narrow_stream_objects.cc: Add tests.
4715 * testsuite/27_io/filebuf.cc: Tweaks.
4716 * testsuite/27_io/filebuf_members.cc: Tweaks.
4718 2001-05-07 Mark Mitchell <mark@codesourcery.com>
4720 * config/os/solaris/solaris2.7/bits/os_defines.h
4721 (_LARGEFILE_SOURCE): Define it.
4723 2001-05-03 Alexandre Oliva <aoliva@redhat.com>
4725 * configure.in (LIBSUPCXX_PICFLAGS): Set it to -prefer-pic or
4726 -prefer-non-pic depending on whether libtool has shared libraries
4727 enabled or disabled.
4728 * libsupc++/Makefile.am (LIBSUPCXX_CXXFLAGS): Set to
4729 $(LIBSUPCXX_PICFLAGS).
4730 * configure, */Makefile.in: Rebuilt.
4732 2001-05-01 Benjamin Kosnik <bkoz@redhat.com>
4734 * include/bits/sbuf_iter.h (istreambuf_iterator): Correct.
4735 * testsuite/24_iterators/istreambuf_iterator.cc (test02): Add test.
4737 * include/bits/std_sstream.h (stringbuf): Leak
4739 * testsuite/24_iterators/ostreambuf_iterator.cc: Correct.
4741 2001-05-01 Tom Browder <tbrowder@home.com>
4743 * docs/html/ext/howto.html: Fix typo.
4745 2001-05-01 Gabriel Dos Reis <gdr@codesourcery.com>
4747 * testsuite/libstdc++.tests/tests.exp: Add comment.
4749 2001-05-01 Gabriel Dos Reis <gdr@codesourcery.com>
4751 * testsuite/libstdc++.tests/tests.exp: Set ulimits.
4753 2001-04-30 Mark Mitchell <mark@codesourcery.com>
4755 * porting.texi: Use the GFDL.
4757 2001-04-30 Benjamin Kosnik <bkoz@redhat.com>
4760 * testsuite/24_iterators/ostreambuf_iterator.cc: New file.
4761 * include/bits/sbuf_iter.h (ostreambuf_iterator): Remove bogus
4764 2001-04-30 Benjamin Kosnik <bkoz@redhat.com>
4767 * include/bits/stl_iterator_base_funcs.h (__advance): Fix.
4769 2001-04-28 Phil Edwards <pme@sources.redhat.com>
4771 * docs/doxygen/run_doxygen: Minor tweaks.
4772 * docs/doxygen/style.css: New file.
4773 * docs/doxygen/user.cfg.in: Update using "doxygen -u" to get the
4774 latest parameters available. Use style.css.
4776 2001-04-27 Benjamin Kosnik <bkoz@redhat.com>
4778 * docs/doxygen/mainpage.doxy: New.
4779 * docs/doxygen/user.cfg.in: Change default configuration. Single
4780 frame, other tweaks.
4782 2001-04-26 Mark Mitchell <mark@codesourcery.com>
4784 * docs/html/17_intro/BADNAMES: Remove EGCS reference.
4785 Indicate obsolete nature of thelist for G++ 3.0.
4787 2001-04-26 Alexandre Oliva <aoliva@redhat.com>
4789 * acinclude.m4 (GLIBCPP_ENABLE_THREADS): Obtain
4790 target_thread_file with `gcc -v'.
4791 * aclocal.m4, configure: Rebuilt.
4793 2001-04-25 Benjamin Kosnik <bkoz@redhat.com>
4795 * include/c_std/bits/std_cmath.h (std): Explicitly inject c99 names.
4796 * include/c_std/bits/std_cstdlib.h (std): Same, except for llabs.
4797 * include/c_std/bits/std_cwchar.h (std): Same.
4798 * acconfig.h (std): Remove c99 injection into std.
4799 * config.h.in: Regenerate.
4801 * testsuite/README: Fix typo.
4803 * include/bits/codecvt.h: Remove warnings.
4805 2001-04-24 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
4807 * include/ext/slist: Include required header files.
4809 2001-04-23 Loren J. Rittle <ljrittle@acm.org>
4811 * include/c_std/bits/std_cerrno.h (errno): Define macro from
4812 identifier declared with external linkage, if needed.
4813 * include/c_std/bits/std_csetjmp.h (setjmp): Likewise.
4814 * include/c_std/bits/std_cstdarg.h (va_end): Likewise.
4816 2001-04-23 Benjamin Kosnik <bkoz@fillmore.constant.com>
4818 * acinclude.m4 (CXX): Set to glibcpp_CXX so that in-directory
4819 re-configures find the build compiler.
4820 (GLIBCPP_ENABLE_C99): Do all fp-tests with 0.0, not 0. Fixes
4822 * aclocal.m4: Regenerate.
4823 * configure: Regenerate.
4825 2001-04-20 Benjamin Kosnik <bkoz@redhat.com>
4827 * acinclude.m4 (GLIBCPP_ENABLE_LONG_LONG): Make sure required C99
4828 support is enabled correctly before long long is activated.
4829 * aclocal.m4: Regenerate.
4830 * configure: Regenerate.
4832 * include/backward/backward_warning.h: Format correctly.
4834 * testsuite/26_numerics/c99_classification_macros_c.cc: Add.
4835 * testsuite/26_numerics/c99_classification_macros_c++.cc: Add.
4836 * testsuite/26_numerics/c99_macros.cc: Remove.
4838 2001-04-20 Phil Edwards <pme@sources.redhat.com>
4840 * include/bits/stl_bvector.h: Replace __ITERATOR_CATEGORY with
4841 __iterator_category.
4843 2001-04-19 Benjamin Kosnik <bkoz@redhat.com>
4845 * acconfig.h (_GLIBCPP_USE_C99): Add.
4846 * config.h.in: Regenerate.
4847 * acinclude.m4 (GLIBCPP_ENABLE_C99): New macro. Test for ISO/IEC
4849 * aclocal.m4: Regenerate.
4850 * configure.in (GLIBCPP_ENABLE_C99): Use it, on by default.
4851 * configure: Regenerate.
4852 * configure.in (GLIBCPP_ENABLE_LONG_LONG): Set default to yes.
4853 * configure: Regenerate.
4854 * include/c_std/bits/std_cwchar.h: Put wcstold, wcstoll, wcstoull
4856 * include/c_std/bits/std_cmath.h: Bring C99 functions into c99
4858 * include/c_std/bits/std_cstdlib.h: Same.
4859 * docs/html/configopts.html: Update.
4860 * testsuite/26_numerics/c99_macros.cc: Edit, use cmath instead of
4862 (test_c99_classify): Add.
4863 * config/os/gnu-linux/bits/os_defines.h (_GNU_SOURCE): Remove.
4864 (_ISOC99_SOURCE): Remove.
4866 * include/bits/stl_algo.h: Use _GLIBCPP_HAVE_DRAND48.
4867 * include/bits/c++config (__STL_ASSERTIONS): Simplify.
4868 * acinclude.m4 (GLIBCPP_CHECK_STDLIB_SUPPORT): Add check for drand48.
4869 * aclocal.m4: Regenerate.
4870 * configure: Regenerate.
4872 2001-04-19 Phil Edwards <pme@sources.redhat.com>
4874 * Makefile.am (doxygen): Assume script is missing execute perms.
4875 * Makefile.in: Regenerated.
4876 * docs/doxygen/user.cfg.in: Add class diagrams and source browsing.
4878 2001-04-17 Loren J. Rittle <ljrittle@acm.org>
4880 * testsuite/27_io/istream_seeks.cc: Inform DejaGnu of required files.
4882 2001-04-17 Benjamin Kosnik <bkoz@redhat.com>
4884 * testsuite/23_containers/map_operators.cc: Add dg-excess-errors.
4885 * testsuite/23_containers/set_operators.cc: Same.
4887 * include/bits/c++config: Add _GLIBCPP_CONCEPT_CHECKS. Disable by
4889 (__GLIBCPP__): Bump from value of last release.
4890 * include/bits/concept_check.h: Default to off, edit comments.
4891 * src/stl-inst.cc: Use _GLIBCPP_CONCEPT_CHECKS.
4892 * src/Makefile.am (AM_CXXFLAGS): Remove _GLIBCPP_NO_CONCEPT_CHECKS.
4893 * src/Makefile.in: Regenerate.
4895 2001-04-14 Martin Reinecke <martin@MPA-Garching.MPG.DE>
4897 * include/bits/boost_concept_check.h(_Mutable_ContainerConcept):
4898 Properly uglify member.
4900 2001-04-13 Phil Edwards <pme@sources.redhat.com>
4902 * include/bits/stl_algobase.h (equal): Use EqualOpConcept instead
4906 2001-04-13 Phil Edwards <pme@sources.redhat.com>
4908 * include/bits/boost_concept_check.h: Uglify, fork from Boost.
4909 * include/bits/concept_check.h: Uglify.
4910 * include/bits/stl_algo.h: Likewise.
4911 * include/bits/stl_algobase.h: Likewise.
4912 * include/bits/stl_deque.h: Likewise.
4913 * include/bits/stl_heap.h: Likewise.
4914 * include/bits/stl_iterator_base_funcs.h: Likewise.
4915 * include/bits/stl_list.h: Likewise.
4916 * include/bits/stl_map.h: Likewise.
4917 * include/bits/stl_multimap.h: Likewise.
4918 * include/bits/stl_multiset.h: Likewise.
4919 * include/bits/stl_numeric.h: Likewise.
4920 * include/bits/stl_queue.h: Likewise.
4921 * include/bits/stl_set.h: Likewise.
4922 * include/bits/stl_stack.h: Likewise.
4923 * include/bits/stl_vector.h: Likewise.
4924 * include/ext/hash_map: Likewise.
4925 * include/ext/hash_set: Likewise.
4926 * include/ext/slist: Likewise.
4928 2001-04-13 Gabriel Dos Reis <gdr@codesourcery.com>
4930 * testsuite/23_containers/set_operators.cc: Just try to compile.
4932 * testsuite/23_containers/map_operators.cc: Same.
4934 2001-04-12 Jason Merrill <jason_merrill@redhat.com>
4936 * testsuite/lib/libstdc++.exp (libstdc++-dg-test): Prepend "./" to
4938 (dg-test): Revert rth's change.
4940 2001-04-12 Nathan Sidwell <nathan@codesourcery.com>
4942 * libsupc++/eh_alloc.cc (__cxa_allocate_exception): Don't
4943 terminate holding the mutex. Make sure size fits in EMERGENCY_OBJ_SIZE.
4945 2001-04-12 Gabriel Dos Reis <gdr@codesourcery.com>
4947 * testsuite/README: Add DejaGnu specific documentation.
4949 2001-04-11 Benjamin Kosnik <bkoz@redhat.com>
4951 * acinclude.m4: AC_CHECK_TOOL for expect.
4952 * aclocal.m4: Regenerate.
4953 * configure: Regenerate.
4954 * testsuite/Makefile.am (RUNTEST): Use substituted.
4957 * configure.in: Remove xcompiling substitution.
4958 * tests_flags.in (CROSS_LIB_PATH): Remove.
4959 (xcompiling): Remove.
4960 (CXX): Use substituted CXX.
4962 2001-04-11 Richard Henderson <rth@redhat.com>
4964 * testsuite/lib/libstdc++.exp: Specify path for output_file.
4966 2001-04-08 Gabriel Dos Reis <gdr@codesourcery.com>
4968 * include/bits/std_valarray.h(valarray<>::operator[]): Make
4971 2001-04-06 Gabriel Dos Reis <gdr@codesourcery.com>
4973 * testsuite/25_algorithms/equal.cc: New test.
4975 2001-04-06 Joe Buck <jbuck@welsh-buck.org>
4977 * stl_algobase.h (std::equal): avoid use of possibly-undefined
4978 operator != (one line patch).
4980 2001-04-06 Benjamin Kosnik <bkoz@redhat.com>
4982 * include/backward/backward_warning.h: Re-enable.
4984 2001-04-06 Benjamin Kosnik <bkoz@redhat.com>
4985 Alexandre Oliva <aoliva@redhat.com>
4987 * tests_flags.in (CROSS_LIB_PATH): Add as -B flag.
4989 2001-04-06 Gabriel Dos Reis <gdr@codesourcery.com>
4991 * include/c_std/bits/std_cmath.h: Get rid of C99 math macros.
4992 * testsuite/26_numerics/c99_macros.cc: Add test.
4994 2001-04-06 Phil Edwards <pme@sources.redhat.com>
4996 * docs/html/faq/index.html: Update for 2.92, grab from RELEASE-NOTES.
4997 * docs/html/faq/index.txt: Regenerated.
4999 2001-04-06 Benjamin Kosnik <bkoz@redhat.com>
5001 * include/backward/backward_warning.h: Temporarily disable until
5002 g++ testsuite changes go in.
5003 * tests_flags.in (CROSS_LIB_PATH): Add.
5005 2001-04-05 Benjamin Kosnik <bkoz@redhat.com>
5007 Warn when using backward headers.
5008 * include/backward/algo.h: Include warning file.
5009 * include/backward/vector.h: Same.
5010 * include/backward/tree.h: Same.
5011 * include/backward/tempbuf.h: Same.
5012 * include/backward/strstream: Same.
5013 * include/backward/streambuf.h: Same.
5014 * include/backward/stream.h: Same.
5015 * include/backward/stack.h: Same.
5016 * include/backward/slist.h: Same.
5017 * include/backward/set.h: Same.
5018 * include/backward/rope.h:
5019 * include/backward/queue.h: Same.
5020 * include/backward/pair.h: Same.
5021 * include/backward/ostream.h: Same.
5022 * include/backward/new.h: Same.
5023 * include/backward/multiset.h: Same.
5024 * include/backward/multimap.h: Same.
5025 * include/backward/map.h: Same.
5026 * include/backward/list.h: Same.
5027 * include/backward/iterator.h: Same.
5028 * include/backward/istream.h: Same.
5029 * include/backward/iostream.h:
5030 * include/backward/iomanip.h:
5031 * include/backward/heap.h: Same.
5032 * include/backward/hashtable.h:
5033 * include/backward/hash_set.h:
5034 * include/backward/hash_map.h:
5035 * include/backward/function.h:
5036 * include/backward/fstream.h:
5037 * include/backward/deque.h:
5038 * include/backward/defalloc.h: Same.
5039 * include/backward/complex.h: Same.
5040 * include/backward/bvector.h:
5041 * include/backward/alloc.h:
5042 * include/backward/algobase.h: Same.
5044 * include/backward/backward_warning.h: New file.
5045 * src/Makefile.am (backward_headers): Add backward_warning.h
5046 * src/Makefile.in: Regenerate.
5048 2001-04-05 Benjamin Kosnik <bkoz@redhat.com>
5050 * src/Makefile.am (myinstalldirs): Make sure backward directory is
5052 (myinstallheaders): Install backward headers in backward directory.
5053 * src/Makefile.in: Regenerate.
5055 2001-04-05 Benjamin Kosnik <bkoz@redhat.com>
5057 Prepare for libstdc++-2.92.
5058 * docs/html/17_intro/RELEASE-NOTES (New): Update.
5059 * docs/html/configopts.html: Fix formatting.
5060 * README (file): Updates.
5061 * include/bits/c++config (__GLIBCPP__): Update.
5063 2001-04-05 Phil Edwards <pme@sources.redhat.com>
5065 * docs/doxygen/run_doxygen: Check for the existence of Doxygen.
5067 2001-04-04 Phil Edwards <pme@sources.redhat.com>
5069 * docs/doxygen/user.cfg.in: Extract all non-private members;
5070 reduce confusing documentation output.
5072 2001-04-04 Geoffrey Keating <geoffk@redhat.com>
5074 * include/backward/fstream.h: Add missing semicolons.
5076 2001-04-03 Benjamin Kosnik <bkoz@redhat.com>
5078 * include/bits/fstream.tcc: Add bool parameter to filebuf ctor.
5079 * include/bits/ios_base.h(ios_base::Init): Remove _M_cout, _M_cin,
5080 _M_cerr, _M_wcout, _M_wcin, _M_wcerr.
5081 (ios_base::Init::_S_ios_create): New.
5082 (ios_base::Init::_S_ios_destroy): New.
5083 * include/bits/std_fstream.h: Change ctor args.
5084 * src/ios.cc (ios_base::Init::Init): Use _S_ios_create.
5085 (ios_base::Init::~Init): Use _S_ios_destroy.
5086 (ios_base::sync_with_stdio): Use new members.
5087 * testsuite/27_io/filebuf_members.cc: Fix calling conventions for
5090 2001-04-03 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
5092 * include/backward/fstream.h: Expose streampos to global
5095 2001-04-03 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
5097 * include/bits/stl_iterator_base_types.h: Fix typo
5099 2001-04-03 Andreas Schwab <schwab@suse.de>
5101 * include/backward/fstream.h: Define filebuf and wfilebuf.
5103 2001-04-02 Phil Edwards <pme@sources.redhat.com>
5105 New concept checking implementation.
5106 * docs/html/19_diagnostics/howto.html: Document.
5107 * docs/html/17_intro/concept_check.diff: New file, for reference.
5108 * include/bits/boost_concept_check.h: New file from Boost.
5109 * include/bits/c++config: Update comments.
5111 * include/bits/concept_check.h: New file.
5112 * include/bits/concept_checks.h: Removed.
5113 * include/bits/container_concepts.h: Removed.
5114 * include/bits/sequence_concepts.h: Removed.
5115 * include/bits/stl_iterator_base.h: Removed; split into...
5116 * include/bits/stl_iterator_base_funcs.h: ...this new file...
5117 * include/bits/stl_iterator_base_types.h: ...and this new file.
5119 * include/bits/sbuf_iter.h: Update to use new implementation.
5120 * include/bits/std_iterator.h: Likewise.
5121 * include/bits/std_memory.h: Likewise.
5122 * include/bits/stl_algo.h: Likewise.
5123 * include/bits/stl_algobase.h: Likewise.
5124 * include/bits/stl_construct.h: Likewise.
5125 * include/bits/stl_deque.h: Likewise.
5126 * include/bits/stl_heap.h: Likewise.
5127 * include/bits/stl_list.h: Likewise.
5128 * include/bits/stl_map.h: Likewise.
5129 * include/bits/stl_multimap.h: Likewise.
5130 * include/bits/stl_multiset.h: Likewise.
5131 * include/bits/stl_numeric.h: Likewise.
5132 * include/bits/stl_queue.h: Likewise.
5133 * include/bits/stl_set.h: Likewise.
5134 * include/bits/stl_stack.h: Likewise.
5135 * include/bits/stl_uninitialized.h: Likewise.
5136 * include/bits/stl_vector.h: Likewise.
5137 * include/ext/hash_map: Likewise.
5138 * include/ext/hash_set: Likewise.
5139 * include/ext/slist: Likewise.
5140 * include/ext/stl_hashtable.h: Likewise.
5142 * src/Makefile.am (base_headers): Update list of headers.
5143 * Makefile.in: Regenerated.
5144 * src/Makefile.in: Regenerated.
5145 * libio/Makefile.in: Regenerated.
5146 * libmath/Makefile.in: Regenerated.
5147 * libsupc++/Makefile.in: Regenerated.
5148 * testsuite/Makefile.in: Regenerated.
5150 * docs/html/install.html: Update contact information.
5151 * docs/html/17_intro/howto.html: Ditto.
5152 * docs/html/18_support/howto.html: Ditto.
5153 * docs/html/20_util/howto.html: Ditto.
5154 * docs/html/21_strings/howto.html: Ditto.
5155 * docs/html/22_locale/howto.html: Ditto.
5156 * docs/html/23_containers/howto.html: Ditto.
5157 * docs/html/24_iterators/howto.html: Ditto.
5158 * docs/html/25_algorithms/howto.html: Ditto.
5159 * docs/html/26_numerics/howto.html: Ditto.
5160 * docs/html/27_io/howto.html: Ditto.
5161 * docs/html/faq/index.html: Ditto, plus info on new checking code.
5162 * docs/html/ext/howto.html: Ditto, plus info on new checking code.
5163 * docs/html/faq/index.txt: Regenerated.
5165 2001-04-02 Zack Weinberg <zackw@stanford.edu>
5167 * testsuite/lib/libstdc++.exp (dg-test): Annotate result
5168 messages with $which_library as well as $tool_flags and
5169 ${dg-extra-tool-flags}. Factor out annotation text into
5172 2001-04-02 Stephen M. Webb <stephen@bregmasoft.com>
5174 * include/c_std/bits/std_cstring.h: Fix for const-correctness.
5175 * include/c_std/bits/std_cwchar.h: Same.
5176 * testsuite/21_strings/c_strings.cc: Add.
5178 2001-04-01 Benjamin Kosnik <bkoz@codesourcery.com>
5180 * docs/html/configopts.html: Add --enable-sjlj-exceptions docs.
5182 2001-04-01 Zack Weinberg <zackw@stanford.edu>
5184 * tests_flags.in: Use test a = b, not test a == b which is not
5187 2001-03-31 Benjamin Kosnik <bkoz@redhat.com>
5189 * configure.target: Remove duplicate aix entry.
5191 2001-03-30 Benjamin Kosnik <bkoz@redhat.com>
5193 * include/ext/stl_bvector.h: Move to...
5194 * include/bits/stl_vector.h: ...here.
5195 * include/ext/bvector: Move to...
5196 * include/backward/bvector.h: ...here.
5197 * include/bits/std_vector.h: Change stl_bvector include.
5198 * include/bits/std_queue.h: Remove bvector include.
5199 * include/ext/tree: Insert using rb_tree, move to...
5200 * include/backward/tree.h: ...here.
5201 * include/backward/hash_map.h: Include ext/hash_map.
5202 * include/backward/hash_set.h: Include ext/hash_set.
5203 * include/backward/queue.h: New file.
5204 * include/backward/stack.h: Edit.
5205 * include/backward/algo.h: Same.
5206 * include/backward/algobase.h: Same.
5207 * include/backward/alloc.h: Same.
5208 * include/backward/function.h: Same.
5209 * include/backward/iomanip.h: Same.
5210 * include/backward/istream.h: Same.
5211 * include/backward/iterator.h: Same.
5212 * include/backward/list.h: Same.
5213 * include/backward/map.h: Same.
5214 * include/backward/multimap.h: Same.
5215 * include/backward/multiset.h: Same.
5216 * include/backward/ostream.h: Same.
5217 * include/backward/pair.h: Same
5218 * include/backward/rope.h: Same.
5219 * include/backward/set.h: Same.
5220 * include/backward/stream.h: Same.
5221 * include/backward/strstream.h: Same.
5222 * include/backward/tempbuf.h: Same.
5223 * src/Makefile.am (ext_headers): Edit.
5224 * src/Makefile.in: Regenerate.
5225 * testsuite/ext/headers.cc (main): Fix.
5228 2001-03-30 Phil Edwards <pme@sources.redhat.com>
5230 * tests_flags.in (LIBS): Pass correct path for installed testing.
5232 2001-03-28 Benjamin Kosnik <bkoz@redhat.com>
5234 * mkcheck.in (LIBTOOL): Don't construct -B argument here...
5235 * tests_flags.in (CXX): Construct here.
5236 (static_fail): Don't remove compile.out. Format with spaces.
5237 (INCLUDES): Deal with xcompiling.
5238 * configure.in (xcompiling): Substitute.
5239 * testsuite/Makefile.am: Snake libjava configury.
5240 * testsuite/Makefile.in: Regenerate.
5241 * testsuite/23_containers/map_operators.cc: Tweaks.
5242 * testsuite/23_containers/set_operators.cc: Tweaks.
5244 2001-03-28 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
5246 Enable dejagnu testing framework.
5247 * configure.in: Generate testsuite/Makefile.
5248 * configure: Regenerate.
5249 * Makefile.am (check-install): Change rule from this...
5250 (check-script-install): ...to this.
5251 (check): Change rule from this...
5252 (check-script):...to this.
5253 * Makefile.in: Regenerate.
5255 2001-03-28 Alexandre Oliva <aoliva@redhat.com>
5257 * libsupc++/Makefile.am (CXXLINK): Add --tag disable-shared after
5259 (LIBTOOL): Let automake take care of its definition.
5260 * libsupc++/Makefile.in: Rebuilt.
5262 2001-03-28 Richard Henderson <rth@redhat.com>
5264 IA-64 ABI Exception Handling:
5265 * acinclude.m4 (GLIBCPP_ENABLE_SJLJ_EXCEPTIONS): New.
5266 * configure.in: Use it.
5267 * Makefile.in, aclocal.m4, config.h.in, configure: Regenerate.
5268 * libsupc++/Makefile.am (sources): Update files list.
5269 * libsupc++/Makefile.in: Regenerate.
5270 * libsupc++/eh_alloc.cc, libsupc++/eh_aux_runtime.cc: New files.
5271 * libsupc++/eh_catch.cc, libsupc++/eh_exception.cc: New files.
5272 * libsupc++/eh_globals.cc, libsupc++/eh_personality.cc: New files.
5273 * libsupc++/eh_terminate.cc, libsupc++/eh_throw.cc: New files.
5274 * libsupc++/exception_support.cc: Remove.
5275 * libsupc++/exception_support.h: Remove.
5276 * libsupc++/pure.cc: Use std::terminate.
5277 * libsupc++/tinfo2.cc (__throw_type_match_rtti_2): Remove.
5278 (__is_pointer): Remove.
5279 * libsupc++/unwind-cxx.h: New file.
5280 * libsupc++/vec.cc (uncatch_exception): Update for new abi.
5282 2001-03-27 Alexandre Oliva <aoliva@redhat.com>
5284 * libsupc++/Makefile.am (CXXLINK): Use CXX again, and choose
5286 * src/Makefile.am (CXXLINK): Likewise.
5287 * libsupc++/Makefile.in, src/Makefile.in: Rebuilt.
5289 2001-03-27 Benjamin Kosnik <bkoz@redhat.com>
5291 * include/bits/c++config (_STL_USE_CONCEPT_CHECKS): Disable by default.
5293 2001-03-26 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
5295 * libstdc++-v3/tests_flags.in: Change the order of libstdc++
5298 2001-03-26 Benjamin Kosnik <bkoz@redhat.com>
5300 * include/bits/basic_file.h (get_fileno): Remove.
5301 (_M_fileno): Remove.
5302 (_M_cfile_created): Add.
5303 (basic_file::basic_file(__c_file_type*, openmode): Add.
5304 (basic_file::basic_file(int, const char*, openmode): Remove.
5305 * include/bits/fstream.tcc (basic_fstream::basic_filebuf(int __fd,
5306 const char*, ios_base::openmode): Don't allocate
5307 internal buffers. Turn off internal buffers.
5308 (basic_filebuf::overflow): Remove test for null buffer.
5309 (basic_filebuf::_M_really_overflow): Same. Allow unbuffered use.
5310 * include/bits/streambuf.cc: Tweak.
5311 * include/bits/std_ostream.h: Tweak.
5312 * config/basic_file_libio.h: Same.
5313 * config/basic_file_stdio.h: Same.
5314 * src/ios.cc (ios_base::Init::Init()): Unbuffer stdout by default.
5315 * testsuite/27_io/filebuf_members.cc: Tweaks.
5316 * testsuite/27_io/ios_base_members_static.cc: Tweaks.
5318 2001-03-24 Phil Edwards <pme@sources.redhat.com>
5320 * Makefile.am: New targets, doxygen and doxygen-maint.
5321 * Makefile.in: Regenerated.
5322 * docs/doxygen/run_doxygen: Finally implemented.
5323 * docs/doxygen/maint.cfg.in: New file.
5324 * docs/doxygen/user.cfg.in: New file.
5326 2001-03-24 Phil Edwards <pme@sources.redhat.com>
5328 * acinclude.m4 (GLIBCPP_CHECK_COMPILER_FEATURES): Update comment.
5329 * src/Makefile.am: Replace leading spaces with tabs on continuation
5331 * aclocal.m4: Regenerated.
5333 * Makefile.in: Ditto.
5334 * src/Makefile.in: Ditto.
5335 * libio/Makefile.in: Ditto.
5336 * libmath/Makefile.in: Ditto.
5337 * libsupc++/Makefile.in: Ditto.
5339 2001-03-24 Phil Edwards <pme@sources.redhat.com>
5341 * docs/html/19_diagnostics/howto.html: HTML fixup. Describe
5342 concept-checking code and current status of same.
5343 * docs/html/ext/howto.html: Ditto.
5344 * docs/html/faq/index.html: Ditto.
5345 * docs/html/faq/index.txt: Regenerated.
5347 2001-03-24 Phil Edwards <pme@sources.redhat.com>
5349 * include/bits/std_bitset.h: Include ostream and istream headers
5350 instead of iostream.
5352 2001-03-22 Greg Bumgardner <bumgard@roguewave.com>
5354 * include/bits/ostream.tcc: Use __builtin_alloca.
5356 2001-03-22 Benjamin Kosnik <bkoz@redhat.com>
5358 * src/misc-inst.cc (__sink_unused_warning): Move to...
5359 * src/locale-inst.cc (__sink_unused_warning): Move to...
5360 * src/stl-inst.cc: Here.
5361 * include/bits/c++config (_STL_NO_CONCEPT_CHECKS): Add define,
5364 2001-03-21 Theodore Papadopoulo <Theodore.Papadopoulo@sophia.inria.fr>
5366 * intclude/bits/basic_file.h: Fix typos in comments.
5368 2001-03-20 Richard Henderson <rth@redhat.com>
5370 * src/gen-num-limits.cc: Instantiate for wchar_t.
5371 * config/os/aix/bits/ctype_base.h (mask): Use unsigned int.
5373 2001-03-20 Jason Merrill <jason@redhat.com>
5375 * libsupc++/vec.cc (__cxa_vec_cleanup): New fn.
5376 (__cxa_vec_ctor, __cxa_vec_cctor, __cxa_vec_dtor): Call it.
5377 * libsupc++/cxxabi.h: Declare it.
5379 2001-03-16 Alexandre Oliva <aoliva@redhat.com>
5381 * src/gen-num-limits.cc (signal_adapter): Overloaded to match
5382 signal_func with an unspecified argument list.
5384 2001-03-15 Benjamin Kosnik <bkoz@redhat.com>
5386 * tests_flags.in (CXXFLAGS): Link libstdc++ before libsupc++.
5388 2001-03-15 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
5390 * include/bits/basic_string.tcc (operator+): Fix thinko.
5392 2001-03-14 Benjamin Kosnik <bkoz@redhat.com>
5395 * include/bits/std_streambuf.h: Remove cached locale facets.
5396 (basic_streambuf::_M_buf_fctype): Remove.
5397 (basic_streambuf::~basic_streambuf): Remove here.
5398 (basic_streambuf::basic_streambuf): Same.
5399 (basic_streambuf::imbue): Same.
5400 * include/bits/fstream.tcc (filebuf::imbue): Remove _M_buf_fctype.
5401 * include/bits/std_fstream.h (basic_filebuf::_M_fcvt): Remove.
5402 (basic_filebuf::~basic_filebuf()): Remove here.
5403 * include/bits/fstream.tcc (basic_filebuf::basic_filebuf): Same.
5404 (basic_filebuf::imbue): Same.
5405 * include/bits/localefwd.h (_Count_ones): Remove.
5406 (locale::_S_num_categories): Just use 6, since this doesn't
5407 actually change, ever.
5408 * include/bits/locale_facets.tcc (has_facet): Simplify.
5410 * testsuite/27_io/filebuf.cc (test06): Add tests.
5412 2001-03-13 Steve Ellcey <sje@cup.hp.com>
5414 * libstdc++-v3/config/os/hpux/bits/ctype_base.h: Make ctype masks
5415 match HP-UX ctype.h header file.
5417 2001-03-13 Andris Pavenis <pavenis@latnet.lv>
5419 * config/djgpp/bits/ctype_noninline.h: Fix typo and remove
5420 duplicate definitions of __dj_ctype_*
5422 2001-03-13 Benjamin Kosnik <bkoz@redhat.com>
5424 * libsupc++/new: Remove pragma interface.
5425 * libsupc++/typeinfo: Same.
5426 * libsupc++/exception: Same.
5427 * libsupc++/new_handler.cc: Remove pragma implementation.
5428 (bad_alloc::~bad_alloc()): Add.
5429 * libsupc++/exception_support.cc: Same.
5430 (exception::~exception): Add.
5431 (bad_exception::~bad_exception): Add.
5432 * libsupc++/tinfo.cc: Same.
5433 (bad_cast::~bad_cast): Add.
5434 (bad_typeid::~bad_typeid): Add.
5436 2001-03-13 Phil Edwards <pme@sources.redhat.com>
5438 * mkcheck.in: Fix IFS regression for non-bash-2.01 hosts.
5440 2001-03-12 Felix Lee <flee@redhat.com>
5442 * mkcheck.in: workaround for bash 2.01 IFS bug.
5444 2001-03-12 Benjamin Kosnik <bkoz@redhat.com>
5446 Fixups for -fno-for-scope
5447 * include/bits/locale_facets.tcc (__match_parallel): Fixup.
5448 * src/valarray-inst.cc (__gslice_to_index): Same.
5450 2001-03-12 Rodney Brown <RodneyBrown@mynd.com>
5452 * src/gen-num-limits.cc (traps) [SPECIALIZE_TRAPPING]: Add fflush
5453 prior to trapping signal (UnixWare 7 workaround).
5455 2001-03-12 Craig Rodrigues <rodrigc@mediaone.net>
5457 * include/backward/hashtable.h: Same.
5458 * include/backward/rope.h: Fix include.
5460 2001-03-12 Benjamin Kosnik <bkoz@redhat.com>
5462 * include/backward/vector.h: Include std_vector.h.
5464 * include/bits/istream.tcc (basic_istream<_CharT, _Traits>&
5465 operator>>(basic_istream<_CharT, _Traits>& __in, _CharT* __s)):
5468 2001-03-11 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
5470 * include/ext/stl_hashtable.h: Change type of __n to size_t
5471 * include/backward/bvector.h: Include <ext/stl_bvector.h>
5473 2001-03-09 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
5475 * include/bits/istream.tcc ( basic_istream<_CharT, _Traits>&
5476 operator>>(basic_istream<_CharT, _Traits>& __in, _CharT* __s)):
5477 Use streamsize, not int_type.
5479 2001-03-08 Benjamin Kosnik <bkoz@redhat.com>
5481 * testsuite/27_io/streambuf.cc (test06): New test, disabled at the
5484 2001-03-08 Andreas Schwab <schwab@suse.de>
5486 * acinclude.m4 (GLIBCPP_EXPORT_INSTALL_INFO): Fix syntax in test
5488 * aclocal.m4, configure: Regenerated.
5490 2001-03-07 Benjamin Kosnik <bkoz@redhat.com>
5492 * include/bits/std_iosfwd.h: Remove string forward decls here.
5493 * include/bits/stringfwd.h: Add forward decls for char_traits
5495 * config/c_io_libio.h (wstreamoff): Delete.
5496 * config/c_io_stdio.h (wstreamoff): Same.
5497 * include/bits/char_traits.h: Use streamoff not wstreamoff for
5498 char_traits<wchar_t>::off_type.
5499 Remove duplicate typedefs.
5500 * include/bits/fpos.h: Define streampos/wstreampos here.
5501 * testsuite/27_io/istream_seeks.cc (test04): Explicitly cast int
5504 Changeup output files.
5505 * testsuite/27_io/istream_unformatted.cc: Change output files.
5506 * testsuite/27_io/istream_seeks-1.txt: Add.
5507 * testsuite/27_io/istream_seeks-2.tst: Add.
5508 * testsuite/27_io/istream_seeks-1.tst: Add.
5509 * testsuite/27_io/istream_unformatted-2.tst: Delete.
5510 * testsuite/27_io/istream_unformatted-3.tst: Delete.
5511 * testsuite/27_io/istream_unformatted-3.txt: Delete.
5513 2001-03-07 Alexandre Oliva <aoliva@redhat.com>
5515 Add Irix 5.2, 6.3 support.
5516 * config/os/irix/bits: Renamed to...
5517 * config/os/irix/irix6.5/bits: this.
5518 * config/os/irix/irix5.2/bits: New, copied from irix6.5/bits.
5519 * config/os/irix/irix5.2/bits/ctype_base.h: Use _U, _L, _N,
5520 _X, _S, _P, _C and _B instead of IRIX-6.5 _IS* macros.
5521 * config/os/irix/irix5.2/bits/ctype_noninline.h
5522 (ctype<char>::ctype): Initialize _M_table with __ctype.
5523 * configure.target: Adjust.
5525 2001-03-06 Benjamin Kosnik <bkoz@redhat.com>
5528 * include/bits/istream.tcc (basic_istream<_CharT, _Traits>::
5529 operator>>(__istream_type& (*__pf)(__istream_type&)): Don't use
5531 (basic_istream<_CharT, _Traits>:: operator>>(__ios_type&
5532 (*__pf)(__ios_type&)): Same.
5533 (basic_istream<_CharT, _Traits>:: operator>>(ios_base&
5534 (*__pf)(ios_base&))): Same.
5535 * testsuite/27_io/istream_extractor_other.cc: Add tests.
5536 * testsuite/27_io/istream_manip.cc (test01): Fix.
5538 2001-03-06 Nathan Myers <ncm@cantrip.org>
5539 Benjamin Kosnik <bkoz@redhat.com>
5541 * include/c_std/bits/std_cerrno.h: Don't define errno in std::.
5542 * testsuite/17_intro/header_cerrno.cc (test01): New file.
5543 * testsuite/17_intro/header_cassert.cc (test01): New file.
5544 * testsuite/17_intro/header_cstddef.cc (test01): New file.
5545 * testsuite/17_intro/header_csetjmp.cc (test01): New file.
5546 * testsuite/17_intro/header_cstdarg.cc (test01): New file.
5548 2001-03-05 scott snyder <snyder@fnal.gov>
5551 * include/c_std/bits/std_cmath.h: Move abs(long), div(long,long)
5553 * include/c_std/bits/std_cstdlib.h: ... to here.
5554 * testsuite/17_intro/header_cstdlib.cc: Add test.
5556 2001-03-05 Stephen M. Webb <stephen.webb@cybersafe.com>
5558 * libsupc++/vec.cc (__cxxa_vec_new2): Qualify size_t.
5560 2001-03-05 Laurynas Biveinis <lauras@softhome.net>
5562 * config/os/djgpp/ctype_base.h (ctype_base): fix __to_type
5563 definition. Replace enum with static const variables.
5565 * config/os/djgpp/ctype_inline.h (ctype<char>::is): remove
5566 throw specification, fix typos, use <static_cast>.
5567 (ctype<char>::scan_is): remove throw specification.
5568 (ctype<char>::scan_not): likewise.
5570 * config/os/djgpp/ctype_noninline.h (ctype<char>::ctype): fix typo.
5571 (ctype<char>::do_toupper(char)): use <static_cast>.
5572 (ctype<char>::do_toupper(char *, const char *)): likewise.
5573 (ctype<char>::do_tolower(char)): likewise.
5574 (ctype<char>::do_tolower(char *, const char *)): likewise.
5576 2001-03-04 Phil Edwards <pme@sources.redhat.com>
5578 http://gcc.gnu.org/ml/libstdc++/2001-03/msg00015.html
5579 * include/backward/algo.h: Use std not __STD. Remove unneeded
5580 macros and "never happens" code. Adjust to C++STYLE guidelines.
5581 * include/backward/algobase.h: Likewise.
5582 * include/backward/alloc.h: Likewise.
5583 * include/backward/bvector.h: Likewise.
5584 * include/backward/deque.h: Likewise.
5585 * include/backward/function.h: Likewise.
5586 * include/backward/hash_map.h: Likewise.
5587 * include/backward/hash_set.h: Likewise.
5588 * include/backward/hashtable.h: Likewise.
5589 * include/backward/heap.h: Likewise.
5590 * include/backward/iterator.h: Likewise.
5591 * include/backward/list.h: Likewise.
5592 * include/backward/map.h: Likewise.
5593 * include/backward/multimap.h: Likewise.
5594 * include/backward/multiset.h: Likewise.
5595 * include/backward/pair.h: Likewise.
5596 * include/backward/rope.h: Likewise.
5597 * include/backward/set.h: Likewise.
5598 * include/backward/slist.h: Likewise.
5599 * include/backward/stack.h: Likewise.
5600 * include/backward/strstream: Likewise.
5601 * include/backward/tempbuf.h: Likewise.
5602 * include/backward/tree.h: Likewise.
5603 * include/backward/vector.h: Likewise.
5604 * include/bits/basic_ios.h: Likewise.
5605 * include/bits/basic_ios.tcc: Likewise.
5606 * include/bits/basic_string.h: Likewise.
5607 * include/bits/c++config: Likewise.
5608 * include/bits/concept_checks.h: Likewise.
5609 * include/bits/fpos.h: Likewise.
5610 * include/bits/fstream.tcc: Likewise.
5611 * include/bits/functexcept.h: Likewise.
5612 * include/bits/ios_base.h: Likewise.
5613 * include/bits/istream.tcc: Likewise.
5614 * include/bits/mask_array.h: Likewise.
5615 * include/bits/ostream.tcc: Likewise.
5616 * include/bits/pthread_allocimpl.h: Likewise.
5617 * include/bits/sbuf_iter.h: Likewise.
5618 * include/bits/slice.h: Likewise.
5619 * include/bits/slice_array.h: Likewise.
5620 * include/bits/sstream.tcc: Likewise.
5621 * include/bits/std_bitset.h: Likewise.
5622 * include/bits/std_fstream.h: Likewise.
5623 * include/bits/std_iomanip.h: Likewise.
5624 * include/bits/std_ios.h: Likewise.
5625 * include/bits/std_istream.h: Likewise.
5626 * include/bits/std_iterator.h: Likewise.
5627 * include/bits/std_memory.h: Likewise.
5628 * include/bits/std_ostream.h: Likewise.
5629 * include/bits/std_sstream.h: Likewise.
5630 * include/bits/std_streambuf.h: Likewise.
5631 * include/bits/std_string.h: Likewise.
5632 * include/bits/std_valarray.h: Likewise.
5633 * include/bits/stl_algo.h: Likewise.
5634 * include/bits/stl_algobase.h: Likewise.
5635 * include/bits/stl_alloc.h: Likewise.
5636 * include/bits/stl_construct.h: Likewise.
5637 * include/bits/stl_deque.h: Likewise.
5638 * include/bits/stl_function.h: Likewise.
5639 * include/bits/stl_heap.h: Likewise.
5640 * include/bits/stl_iterator.h: Likewise.
5641 * include/bits/stl_iterator_base.h: Likewise.
5642 * include/bits/stl_list.h: Likewise.
5643 * include/bits/stl_map.h: Likewise.
5644 * include/bits/stl_multimap.h: Likewise.
5645 * include/bits/stl_multiset.h: Likewise.
5646 * include/bits/stl_numeric.h: Likewise.
5647 * include/bits/stl_pair.h: Likewise.
5648 * include/bits/stl_pthread_alloc.h: Likewise.
5649 * include/bits/stl_queue.h: Likewise.
5650 * include/bits/stl_raw_storage_iter.h: Likewise.
5651 * include/bits/stl_relops.h: Likewise.
5652 * include/bits/stl_set.h: Likewise.
5653 * include/bits/stl_stack.h: Likewise.
5654 * include/bits/stl_tempbuf.h: Likewise.
5655 * include/bits/stl_threads.h: Likewise.
5656 * include/bits/stl_tree.h: Likewise.
5657 * include/bits/stl_uninitialized.h: Likewise.
5658 * include/bits/stl_vector.h: Likewise.
5659 * include/bits/streambuf.tcc: Likewise.
5660 * include/bits/type_traits.h: Likewise.
5661 * include/bits/valarray_meta.h: Likewise.
5662 * include/ext/bvector: Likewise.
5663 * include/ext/hash_map: Likewise.
5664 * include/ext/hash_set: Likewise.
5665 * include/ext/ropeimpl.h: Likewise.
5666 * include/ext/slist: Likewise.
5667 * include/ext/stl_bvector.h: Likewise.
5668 * include/ext/stl_hash_fun.h: Likewise.
5669 * include/ext/stl_hashtable.h: Likewise.
5670 * include/ext/stl_rope.h: Likewise.
5671 * src/complex_io.cc: Likewise.
5672 * src/ios.cc: Likewise.
5673 * src/locale-inst.cc: Likewise.
5674 * src/locale.cc: Likewise.
5675 * src/localename.cc: Likewise.
5676 * src/misc-inst.cc: Likewise.
5677 * src/stdexcept.cc: Likewise.
5678 * src/stl-inst.cc: Likewise.
5679 * src/strstream.cc: Likewise.
5680 * src/valarray-inst.cc: Likewise.
5682 2001-03-03 Benjamin Kosnik <bkoz@redhat.com>
5684 * src/misc-inst.cc (__copy_streambufs): Fix typo for alpha.
5686 2001-03-02 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
5688 * include/bits/istream.tcc: change type of __extracted to __size_type
5690 2001-03-02 Benjamin Kosnik <bkoz@redhat.com>
5692 * src/wstring-inst.cc: New file.
5693 * src/Makefile.am (EXTRA_LTLIBRARIES): Remove.
5694 (libinst_wstring_la_SOURCES): Remove.
5695 (libstdc___la_LIBADD): Remove libinst_wstring_la.
5696 (sources): Add wstring-inst.cc
5697 * acinclude.m4 (GLIBCPP_CHECK_WCHAR_T_SUPPORT): Remove
5700 2001-03-02 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
5702 * src/locale.cc: initialise __ret with zero
5703 * src/strstream.cc:cast gptr to int_type
5705 2001-03-01 Phil Edwards <pme@sources.redhat.com>
5707 * docs/html/faq/index.html: Update broken links.
5708 * docs/html/faq/index.txt: Regenerated.
5710 2001-02-28 Benjamin Kosnik <bkoz@redhat.com>
5713 * configure.target: Change irix* to irix6.5* in target_os table.
5715 2001-02-28 Benjamin Kosnik <bkoz@redhat.com>
5718 * include/bits/c++config (__GLIBCPP__): Bump number in
5719 anticipation of 2.92.
5721 * include/bits/codecvt.h: Fix typo.
5722 * include/bits/basic_file.h (__basic_file): Don't use _M_wfile for
5724 * acinclude.m4 (GLIBCPP_ENABLE_CSTDIO): Enable wchar_t
5725 instantiations for stdio model.
5727 2001-02-28 Phil Edwards <pme@sources.redhat.com>
5729 * acinclude.m4 (GLIBCPP_CONFIGURE): Remove GLIBCPP_CFLAGS
5730 and GLIBCPP_CXXFLAGS as unused variables.
5731 * configure.host: Likewise.
5732 * configure.target: Likewise.
5733 * aclocal.m4: Regenerated.
5734 * configure: Regenerated.
5735 * Makefile.in: Regenerated.
5736 * libio/Makefile.in: Regenerated.
5737 * libmath/Makefile.in: Regenerated.
5738 * libsupc++/Makefile.in: Regenerated.
5739 * src/Makefile.in: Regenerated.
5741 2001-02-27 Benjamin Kosnik <bkoz@redhat.com>
5744 * include/bits/basic_file.h: Include basic_file_model.h.
5745 * config/c_io_libio.cc: Move to...
5746 * config/basic_file_libio.cc: Here.
5747 * config/basic_file_libio.h: New file.
5748 * config/c_io_stdio.cc: Move to...
5749 * config/basic_file_stdio.cc: Here.
5750 * config/basic_file_stdio.h: New file.
5751 * config/c_io_libio.h: Tweak.
5752 * config/c_io_stdio.h: Tweak.
5753 * src/Makefile.am (build_headers): Add basic_file_model.h.
5754 (sources): Add basic_file.cc, remove c++io.cc.
5755 * src/Makefile.in: Regenerate.
5756 * acinclude.m4 (GLIBCPP_ENABLE_CSTDIO): Add support for
5757 basic_file_model.h and basic_file.cc.
5758 * aclocal.m4: Regenerate.
5759 * configure: Regenerate.
5760 * testsuite/27_io/filebuf.cc (test05): Add regression.
5762 2001-02-27 Benjamin Kosnik <bkoz@redhat.com>
5765 * config/cpu/alpha/bits/atomicity.h: Change.
5766 * config/cpu/arm/bits/atomicit3y.h
5767 * config/cpu/generic/bits/atomicity.h
5768 * config/cpu/i386/bits/atomicity.h
5769 * config/cpu/i486/bits/atomicity.h
5770 * config/cpu/ia64/bits/atomicity.h
5771 * config/cpu/powerpc/bits/atomicity.h
5772 * config/cpu/sparc/sparc32/bits/atomicity.h
5773 * config/cpu/sparc/sparc64/bits/atomicity.h
5774 * config/os/aix/bits/atomicity.h
5775 * config/os/irix/bits/atomicity.h
5777 2001-02-27 Benjamin Kosnik <bkoz@redhat.com>
5779 * include/bits/std_stdexcept.h (runtime_error): Make string
5781 (logic_error): Same.
5782 * testsuite/19_diagnostics/stdexceptions.cc (test04): Add test.
5785 2001-02-26 Benjamin Kosnik <bkoz@redhat.com>
5789 * include/bits/std_stdexcept.h (logic_error::logic_error): Use
5790 string object, not reference.
5791 (runtime_error::runtime_error): Same.
5792 * testsuite/19_diagnostics/stdexceptions.cc: New file.
5794 2001-02-26 Phil Edwards <pme@sources.redhat.com>
5796 * acinclude.m4 (GLIBCPP_CONFIGURE): Update required compiler version.
5797 (GLIBCPP_CHECK_COMPILER_FEATURES): Can safely assume new
5798 diagnostics. Remove WFMT_FLAGS.
5799 * configure.in: Replace WFMT_FLAGS with diagnostics options.
5800 * libsupc++/Makefile.am: Likewise.
5801 * src/Makefile.am: Likewise.
5802 * aclocal.m4: Regenerated.
5803 * configure: Regenerated.
5804 * Makefile.in: Regenerated.
5805 * libio/Makefile.in: Regenerated.
5806 * libmath/Makefile.in: Regenerated.
5807 * libsupc++/Makefile.in: Regenerated.
5808 * src/Makefile.in: Regenerated.
5810 2001-02-26 Phil Edwards <pme@sources.redhat.com>
5812 Fixes libstdc++/2079
5813 * include/backward/iomanip.h: Expose <ios> manipulators to global
5815 * include/backward/iostream.h: Also expose std::ws.
5817 2001-02-25 Greg Freemyer <freemyer@NorcrossGroup.com>
5819 * libmath/mathconf.h (GET_LDOUBLE_MSW64): Fix thinko.
5821 2001-02-23 Benjamin Kosnik <bkoz@redhat.com>
5823 * include/bits/codecvt.h: Use __builtin_alloca.
5824 * include/bits/ostream.tcc: Same.
5825 * include/bits/fstream.tcc: Same.
5827 2001-02-23 Alexandre Oliva <aoliva@redhat.com>
5829 * mknumeric_limits (CC): Use VAR=${VAR=...} form.
5831 2001-02-23 David Edelsohn <dje@watson.ibm.com>
5833 * mknumeric_limits (CC): Use $BUILD_DIR/../../gcc/xgcc
5835 2001-02-23 Phil Edwards <pme@sources.redhat.com>
5838 * include/backward/iostream.h: Expose std::flush in old headers.
5840 2001-02-23 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
5842 * mknumeric_limits: Remove special-casing on target. Use gcc
5843 instead of g++ to build gen-num-limits.cc
5845 2001-02-22 Benjamin Kosnik <bkoz@redhat.com>
5847 * tests_flags.in (CXXFLAGS): Add -rpath to gcc build dir.
5849 * include/bits/codecvt.h: Use alloca instead of __extension__ for
5851 * include/bits/ostream.tcc: Same.
5852 * include/bits/std_ostream.h: Same.
5853 * include/bits/fstream.tcc: Same.
5854 * include/bits/locale_facets.tcc: Add typename.
5855 * include/bits/c++config (_GLIBCPP_FULLY_COMPLIANT_HEADERS): Enable.
5857 2001-02-21 Phil Edwards <pme@sources.redhat.com>
5859 * tests_flags.in: Remove -n flag from call to echo.
5861 2001-02-20 Benjamin Kosnik <bkoz@redhat.com>
5863 * config/c_locale_gnu.h: Add clocale include.
5865 2001-02-20 Phil Edwards <pme@sources.redhat.com>
5867 * include/bits/stl_config.h: Remove file.
5868 * src/Makefile.am (base_headers): Remove from list.
5869 * configure: Regenerate.
5870 * Makefile.in: Ditto.
5871 * libio/Makefile.in: Ditto.
5872 * libmath/Makefile.in: Ditto.
5873 * libsupc++/Makefile.in: Ditto.
5874 * src/Makefile.in: Ditto.
5876 * include/bits/c++config: Move relevant macros to here.
5877 * include/backward/alloc.h: Include c++config.h instead.
5878 * include/backward/function.h: Ditto.
5879 * include/backward/heap.h: Ditto.
5880 * include/backward/pair.h: Ditto.
5881 * include/bits/pthread_allocimpl.h: Ditto.
5882 * include/bits/std_functional.h: Ditto.
5883 * include/bits/std_iterator.h: Ditto.
5884 * include/bits/std_numeric.h: Ditto.
5885 * include/bits/std_utility.h: Ditto.
5886 * include/bits/stl_algobase.h: Ditto.
5887 * include/bits/type_traits.h: Ditto.
5888 * src/stl-inst.cc: Ditto.
5890 2001-02-19 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
5892 * include/bits/basic_file.h: Add #pragma system_header
5893 * include/bits/basic_ios.h: Ditto.
5894 * include/bits/basic_string.h: Ditto.
5895 * include/bits/char_traits.h: Ditto.
5896 * include/bits/codecvt.h: Ditto.
5897 * include/bits/cpp_type_traits.h: Ditto.
5898 * include/bits/fpos.h: Ditto.
5899 * include/bits/gslice.h: Ditto.
5900 * include/bits/gslice_array.h: Ditto.
5901 * include/bits/indirect_array.h: Ditto.
5902 * include/bits/ios_base.h: Ditto.
5903 * include/bits/limits_generic.h: Ditto.
5904 * include/bits/locale_facets.h: Ditto.
5905 * include/bits/localefwd.h: Ditto.
5906 * include/bits/mask_array.h: Ditto.
5907 * include/bits/sbuf_iter.h: Ditto.
5908 * include/bits/sequence_concepts.h: Ditto.
5909 * include/bits/slice.h: Ditto.
5910 * include/bits/slice_array.h: Ditto.
5911 * include/bits/std_algorithm.h: Likewise.
5912 * include/bits/std_bitset.h: Likewise.
5913 * include/bits/std_complex.h: Likewise.
5914 * include/bits/std_deque.h: Likewise.
5915 * include/bits/std_fstream.h: Likewise.
5916 * include/bits/std_functional.h: Likewise.
5917 * include/bits/std_iomanip.h: Likewise.
5918 * include/bits/std_ios.h: Likewise.
5919 * include/bits/std_iosfwd.h: Likewise.
5920 * include/bits/std_iostream.h: Likewise.
5921 * include/bits/std_istream.h: Likewise.
5922 * include/bits/std_iterator.h: Likewise.
5923 * include/bits/std_list.h: Likewise.
5924 * include/bits/std_locale.h: Likewise.
5925 * include/bits/std_map.h: Likewise.
5926 * include/bits/std_memory.h: Likewise.
5927 * include/bits/std_numeric.h: Likewise.
5928 * include/bits/std_ostream.h: Likewise.
5929 * include/bits/std_queue.h: Likewise.
5930 * include/bits/std_set.h: Likewise.
5931 * include/bits/std_sstream.h: Likewise.
5932 * include/bits/std_stack.h: Likewise.
5933 * include/bits/std_stdexcept.h: Likewise.
5934 * include/bits/std_streambuf.h: Likewise.
5935 * include/bits/std_string.h: Likewise.
5936 * include/bits/std_utility.h: Likewise.
5937 * include/bits/std_valarray.h: Likewise.
5938 * include/bits/std_vector.h: Likewise.
5939 * include/bits/stringfwd.h: Likewise.
5940 * include/bits/type_traits.h: Likewise.
5941 * include/bits/valarray_array.h: Likewise.
5942 * include/bits/valarray_meta.h: Likewise.
5944 2001-02-19 Andreas Jaeger <aj@suse.de>
5946 * config/cpu/sparc/sparc64/bits/atomicity.h (__compare_and_swap):
5949 2001-02-16 Greg Bumgardner <bumgard@roguewave.com>
5952 * include/bits/std_ostream.h: Replaced usage of
5953 _Traits::_S_eos() with _CharT() as per section 17.2.2.1.3.
5954 * include/bits/char_traits.h: Removed non-standard
5955 methods that cannot be used elsewhere.
5958 * include/bits/basic_ios.h: Uncommented #include of
5962 * include/bits/codecvt.h: See next...
5963 * include/bits/fstream.tcc: See next...
5964 * include/bits/ostream.tcc: Add __extension__
5965 to variable-length arrays.
5968 * include/bits/localefwd.h: Changed int counter type to size_t.
5971 * include/bits/std_fstream.h: Added typedef for __ctype_type.
5973 2001-02-16 Benjamin Kosnik <bkoz@redhat.com>
5975 * testsuite/21_strings/char_traits.cc: Move to ...
5976 * testsuite/21_strings/char_traits_requirements.cc: ..here.
5977 * testsuite/21_strings/char_traits-int_type.cc: Move to ...
5978 * testsuite/21_strings/char_traits_typedefs.cc: ..here.
5980 2001-02-16 Gabriel Dos Reis <gdr@codesourcery.com>
5982 * libmath/mathconf.h (FINITE_P, INFINITE_P): Remove macro
5985 2001-02-15 Benjamin Kosnik <bkoz@redhat.com>
5987 * include/bits/c++config: Revert.
5989 2001-02-15 Mark Mitchell <mark@codesourcery.com>
5991 * include/bits/istream.tcc: Use ios_base::iostate in place of
5992 iostate throughout. Insert `typename' keyword where necessary.
5993 * include/bits/ostream.tcc: Insert `typename' keyword where
5996 2001-02-15 Jeffrey Oldham <oldham@codesourcery.com>
5998 * include/bits/c++config (_GLIBCPP_FULLY_COMPLIANT_HEADERS):
5999 Define so library is compliant.
6001 2001-02-15 Anthony Green <green@redhat.com>
6003 * acinclude.m4 (glibcpp_toolexeclibdir): Fix test for cross
6005 * aclocal.m4: Regenerate.
6006 * configure: Regenerate.
6008 2001-02-15 Rodney Brown <RodneyBrown@mynd.com>
6010 * acinclude.m4 (GLIBCPP_CHECK_MATH_DECL_1):
6011 Include ieeefp.h for fpclass on UnixWare{2,7}.
6012 * aclocal.m4: Regenerate.
6013 * configure: Regenerate.
6014 * mkcheck.in (size_command): Do without GNU-grep when using
6017 2001-02-15 Mark Mitchell <mark@codesourcery.com>
6019 Remove old ABI support from libsupc++.
6020 * libsupc++/cxxabi.h: Remove conditionally compiled code.
6021 * libsupc++/exception_support.cc: Likewise.
6022 * libsupc++/pure.cc: Likewise.
6023 * libsupc++/tinfo.cc: Likewise.
6024 * libsupc++/tinfo.h: Likewise.
6025 * libsupc++/tinfo2.cc: Likewise.
6026 * libsupc++/typeinfo: Likewise.
6027 * libsupc++/vec.cc: Likewise.
6029 2001-02-15 Benjamin Kosnik <bkoz@redhat.com>
6031 Add support for -fno-exceptions.
6032 * include/bits/exception_support.h: Remove.
6033 * include/bits/basic_string.h: Remove exception_support.
6034 (string::_M_check): Replace __OUTOFRANGE with __throw_out_of_range.
6036 (string::substr): Same.
6037 * include/bits/basic_string.tcc (string::reserve): Replace
6038 __LENGTHERROR with __throw_length_error.
6039 (string::_S_create): Same.
6040 (string::resize): Same.
6041 (string::_M_replace): Same.
6042 (string::replace): Same.
6043 (string::copy): Replace __OUTOFRANGE with __throw_out_of_range.
6044 (string::compare): Same.
6045 * include/bits/stl_vector.h: Remove exception_support.
6046 * src/Makefile.am (base_headers): Remove here.
6047 * src/Makefile.in: Regenerate.
6049 * include/bits/stl_range_errors.h: Remove.
6050 * include/bits/stl_deque.h: Use __throw_range_error.
6051 * include/bits/std_deque.h: Include functexcept.h.
6052 * include/bits/std_vector.h: Same.
6053 * src/Makefile.am (base_headers): Remove here.
6054 * src/Makefile.in: Regenerate.
6055 * include/ext/stl_bvector.h (class __BVECTOR): Use __throw_range_error.
6056 * include/ext/bvector: Remove stl_range_errors.h
6058 * include/bits/c++config (_GLIBCPP_USE_EXCEPTIONS): Remove.
6060 * include/bits/functexcept.h: New file.
6061 * src/functexcept.cc: New file. Definitions for function-based
6063 * src/Makefile.am (sources): Add functexcept.cc.
6064 * src/Makefile.in: Regenerate.
6066 * include/bits/stl_config.h (__STL_USE_EXCEPTIONS): Wrap with
6069 * include/bits/localefwd.h: Include functexcept.h.
6070 * include/bits/std_iosfwd.h: Same.
6072 * include/bits/basic_ios.h: Use __throw_ios_failure instead of
6073 throw basic_ios::failure.
6074 * include/bits/fstream.tcc (filebuf::_M_allocate_buffers):
6075 Use __throw_exception_again.
6076 (filebuf::_M_filebuf_init): Same.
6077 * include/bits/streambuf.tcc (__copy_streambufs): Same.
6078 * include/bits/ostream.tcc (ostream::operator<<): Same.
6079 * include/bits/istream.tcc (istream::operator>>): Same.
6080 * include/bits/basic_string.tcc (string::_M_mutate): Same.
6081 (string::_S_construct): Same.
6082 (string::_M_clone): Same.
6083 * include/bits/locale_facets.tcc (use_facet(const locale&)): Use
6085 (num_put<_CharT, _OutIter>::do_put): Use __throw_exception_again.
6086 * src/localename.cc (locale::_Imp::_Imp(const _Impl&, size_t): Use
6087 __throw_exception_again.
6088 (locale::_Imp::_Imp(string, size_t): Same.
6089 (locale::_Imp::_M_replace_facet): Use __throw_runtime_error.
6090 * src/locale.cc (locale::_M_coalesce): Use __throw_exception_again.
6091 (locale::locale(const char*)): Use __throw_runtime_error.
6092 (locale::classic): Use __throw_exception_again.
6093 (locale::_S_normalize_category): Use __throw_runtime_error.
6095 * src/stdexcept.cc: Remove cruft.
6097 * libsupc++/exception_defines.h: New file.
6098 * libsupc++/new_opnt.cc: Include exception_defines.h.
6099 * libsupc++/vec.cc: Same.
6100 (__cxa_vec_new2): Use __throw_exception_again.
6101 (__cxa_vec_new3): Same.
6102 (__cxa_vec_ctor): Same.
6103 (__cxa_vec_delete3): Same.
6104 (__cxa_vec_cctor): Same.
6105 (__cxa_vec_delete2): Same.
6106 (__cxa_vec_dtor): Same.
6107 * libsupc++/exception_support.cc: Include exception_defines.h. Only
6108 compile exception-handling bits if __EXCEPTIONS is defined.
6109 Remove old ABI support.
6110 * libsupc++/new_op.cc (new): Include exception_defines.h. Use
6111 std::__throw_bad_alloc() instead of throw bad_alloc.
6112 * libsupc++/Makefile.am: Add exception_defines.h.
6113 * libsupc++/Makefile.in: Reformat.
6114 * libsupc++/*: Format.
6116 2001-02-15 Phil Edwards <pme@sources.redhat.com>
6118 * docs/html/configopts.html: Minor updates and typo fixes.
6119 * docs/html/faq/index.html: Updates of the "not really bugs" list.
6120 * docs/html/faq/index.txt: Regenerated.
6122 2001-02-15 Gabriel Dos Reis <gdr@codesourcery.com>
6124 * testsuite/lib/libstdc++.exp: Lift, temporarily, out of
6125 dejagnu/dg.exp. Adapt to log options used to run testcases.
6127 2001-02-13 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
6129 * testsuite/lib/libstdc++.exp(dg-test): Lift temporarily from
6132 2001-02-13 Dirk Mueller <dmuell@gmx.net>
6133 Phil Edwards <pme@sources.redhat.com>
6135 * include/backward/function.h: Do not use rel_ops for older
6137 * include/backward/pair.h: Likewise.
6139 2001-02-12 Mark Mitchell <mark@codesourcery.com>
6141 * src/locale.cc: Remove bogus locale::id definitions.
6143 2001-02-11 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
6145 * include/bits/std_valarray.h: #undef _DEFINE_LOGICAL_OPERATOR,
6146 not _DEFINE_VALARRAY_OPERATOR which is not existent.
6148 * include/bits/valarray_meta.h (_RefFunClos<>_RefRunClos): Fix
6149 thinko in member initialisation.
6151 2001-02-11 Gabriel Dos Reis <gdr@codesourcery.com>
6153 * include/bits/std_valarray.h(valarray<>::shift): Avoid
6154 comparaison between signed and unsigned integer types.
6155 (valarray<>::cshift): Reformat.
6157 2001-02-11 Alexandre Oliva <aoliva@redhat.com>
6159 * src/gen-num-limits.cc: Use sigsetjmp and siglongjmp if available.
6160 * mknumeric_limits: Compile it with -DHAVE_CONFIG_H.
6161 * configure.in: Test for sigsetjmp.
6162 * configure, config.h.in: Rebuilt.
6164 2001-02-11 Gabriel Dos Reis <gdr@codesourcery.com>
6166 * src/valarray-inst.cc (gslice::_Indexer::_Indexer): Don't flip
6167 lengths and strides.
6168 (__gslice_to_index): Document.
6170 2001-02-11 Gabriel Dos Reis <gdr@codesourcery.com>
6172 * include/bits/char_traits.h char_traits<char>::int_type: Change
6173 to `int' to match 21.1.3.1/2.
6175 * testsuite/21_strings/char_traits-int_type.C: New test.
6177 2001-02-10 Gabriel Dos Reis <gdr@codesourcery.com>
6179 * testsuite/Makefile.am: New file.
6181 2001-02-09 Nathan Sidwell <nathan@codesourcery.com>
6183 * include/c_shadow/bits/std_cstdlib.h (lldiv_t): Fix typo.
6185 2001-02-08 Loren J. Rittle <ljrittle@acm.org>
6187 * src/locale-inst.cc (fill_n): Instantiate with size_t arguments.
6189 2001-02-08 David Edelsohn <edelsohn@gnu.org>
6191 * configure.target (aix4*): Remove extra set of brackets.
6193 2001-02-07 Benjamin Kosnik <bkoz@redhat.com>
6196 * include/bits/stringfwd.h: New file.
6197 * include/bits/stl_string_fwd.h: Remove.
6198 * include/bits/localefwd.h: Remove declaration for allocator.
6199 * include/bits/std_iosfwd: Same.
6200 * include/bits/std_string.h: Include it.
6201 * include/bits/std_ios.h: Remove include.
6202 * include/bits/basic_string.h: Tweak.
6203 * libsupc++/new: Format.
6204 * src/Makefile.am (base_headers): Add stringfwd.h, remove
6206 * src/Makefile.in: Regenerate.
6207 * include/bits/std_stdexcept.h: Rewrite.
6208 * src/stdexcept.cc: Same.
6210 2001-02-06 Benjamin Kosnik <bkoz@redhat.com>
6212 * acinclude.m4 (GLIBCPP_EXPORT_INSTALL_INFO): Deal with library
6213 install locations too.
6214 * aclocal.m4: Regenerate.
6215 * configure.in: Remove USE_LIBDIR.
6216 * configure: Regenerate.
6217 * src/Makefile.am (toolexecdir): Simplify, use
6218 glibcpp_toolexecdir, glibcpp_toolexeclibdir.
6219 * src/Makefile.in: Regenerate.
6220 * libsupc++/Makefile.am: Same.
6221 * libsupc++/Makefile.in: Regenerate.
6223 * src/Makefile.am: Just remove special rules for locale-inst.cc and
6224 misc-inst.cc as no longer necessary.
6226 Follow C++STYLE for naming non-static functions.
6227 * include/bits/ostream.tcc (_S_pad_char): Not static, rename to
6229 * include/bits/streambuf.tcc: Same.
6230 * include/bits/ostream.tcc: Same.
6231 * include/bits/istream.tcc: Same.
6232 * include/bits/locale_facets.tcc (_S_pad_numeric): To __pad_numeric.
6233 (_S_output_float): To __output_float.
6234 * include/bits/std_streambuf.h (_S_copy_streambufs): To
6236 * include/bits/locale_facets.tcc (_S_build_float_format): To
6237 __build_float_format.
6238 (_S_format): To __output_integer.
6239 (_S_fill): To __pad.
6240 * src/locale.cc: Same.
6241 * src/misc-inst.cc: Fix formatting. Fix signature for wchar_t. Correct
6243 * include/bits/locale_facets.tcc (_S_group_digits): To
6245 * src/locale-inst.cc: Fixup names. Add use_facet instantiations
6246 for collate, numpunct.
6248 2001-02-06 Phil Edwards <pme@sources.redhat.com>
6250 * docs/html/configopts.html: Fix HTML markup.
6251 * docs/html/install.html: Bring up to date.
6252 * docs/html/17_intro/C++STYLE: Add global variable conventions.
6253 * docs/html/21_strings/howto.html: More notes.
6254 * docs/html/22_locale/howto.html: Fix HTML markup.
6255 * docs/html/27_io/howto.html: More notes.
6256 * docs/html/27_io/binary_iostreams_kanze.txt: New file.
6257 * docs/html/27_io/binary_iostreams_kuehl.txt: New file.
6259 2001-02-06 Jeffrey Oldham <oldham@codesourcery.com>
6261 * src/misc-inst.cc (_S_pad_char): Modify declaration's parameters
6262 to match header files.
6263 (_S_output_float): Likewise.
6264 (_S_copy_streambufs): Likewise.
6266 2001-02-06 Hyman Rosen <Hyman.Rosen@kbcfp.com>
6267 Phil Edwards <pme@sources.redhat.com>
6269 * include/bits/std_istream.h (op>> signed,unsigned char): Must
6270 use reinterpret_cast, not static_cast.
6272 2001-02-06 Benjamin Kosnik <bkoz@redhat.com>
6274 * acinclude.m4 (gxx_include_dir): Quote, fix regression.
6275 * aclocal.m4: Regenerate.
6276 * configure: Regenerate.
6278 2001-02-05 Benjamin Kosnik <bkoz@redhat.com>
6280 * include/bits/locale_facets.h (class moneypunct): Fix typos.
6281 * libsupc++/pure.cc: Revert.
6283 2001-02-05 Benjamin Kosnik <bkoz@redhat.com>
6285 * acinclude.m4 (GLIBCPP_CHECK_MATH_DECL_1): New macro.
6286 (GLIBCPP_CHECK_MATH_DECL_2): New macro.
6287 (GLIBCPP_CHECK_MATH_DECL_3): New macro.
6288 (GLIBCPP_CHECK_MATH_DECL_AND_LINKAGE_1): Use it, check for _* too.
6289 (GLIBCPP_CHECK_MATH_DECL_AND_LINKAGE_2): Same.
6290 (GLIBCPP_CHECK_MATH_DECL_AND_LINKAGE_3): Same.
6291 (GLIBCPP_CHECK_MATH_SUPPORT): Remove explicit checks for _* versions.
6292 * aclocal.m4: Regenerate.
6293 * configure: Regenerate.
6295 2001-02-05 Mark Mitchell <mark@codesourcery.com>
6297 * include/bits/locale_facets.tcc: Remove `static' keyword on
6298 function definitions.
6299 * include/bits/std_streambuf.h: Likewise.
6300 * src/Makefile.am: Remove use of -fimplicit-templates.
6301 * src/Makefile.in: Regenerated.
6302 * src/locale-inst.cc: Explicitly instantiate more functions.
6303 * src/misc-inst.cc: Likewise.
6304 * src/string-inst.cc: Likewise.
6306 2001-02-05 Benjamin Kosnik <bkoz@redhat.com>
6308 * acinclude.m4 (GLIBCPP_EXPORT_INSTALL_INFO): New
6309 macro. Consolidate all the bits to do with where includes might be
6311 * aclocal.m4: Regenerate.
6312 * configure.in: Use it.
6313 * configure: Regenerate.
6314 * src/Makefile.am (targetincludep): Use simplified rules.
6315 (targetincludep): Rename gxx_target_include_dir.
6316 (myincludep): Rename gxx_include_dir.
6317 * src/Makefile.in: Regenerate.
6318 * libsupc++/Makefile.am: Use simplified rules.
6319 * libsupc++/Makefile.in: Regenerate.
6321 2001-02-05 Benjamin Kosnik <bkoz@redhat.com>
6323 * include/c_std/bits/std_cerrno.h: Correct date format for copyright.
6324 * include/c_std/bits/std_cctype.h: Same.
6325 * include/c_std/bits/std_cassert.h: Same.
6326 * include/c_std/bits/std_cstdarg.h: Same.
6327 * include/c_std/bits/std_cstddef.h: Same.
6329 * include/c_std/bits/std_cstdio.h: Undefine all names brought into
6331 * include/c_std/bits/std_ctime.h: Same.
6332 * include/c_std/bits/std_clocale.h: Same.
6333 * include/c_std/bits/std_cmath.h: Same.
6334 * include/c_std/bits/std_csetjmp.h: Same.
6335 * include/c_std/bits/std_csignal.h: Same.
6336 * include/c_std/bits/std_cstring.h: Same.
6337 * include/c_std/bits/std_cstdlib.h: Same.
6338 * include/c_std/bits/std_cwchar.h: Same.
6340 2001-02-05 Phil Edwards <pme@sources.redhat.com>
6342 * testsuite/27_io/ios_base_members_static.cc: Swap order of tests.
6344 2001-02-05 Mark Mitchell <mark@codesourcery.com>
6346 * src/string-inst.cc (string::_M_replace): Explicitly instantiate.
6347 (string::_S_construct): Likewise.
6349 2001-02-05 Gabriel Dos Reis <gdr@codesourcery.com>
6351 * testsuite/config/default.exp: New file.
6352 * testsuite/config: New directory.
6354 2001-02-04 Mark Mitchell <mark@codesourcery.com>
6356 * libsupc++/typeinfo (__GXX_MERGED_TYPEINFO_NAMES): New macro.
6357 * libsupc++/tinfo.cc (std::typeinfo::operator==): Use strcmp
6358 whenever !__GXX_MERGED_TYPEINFO_NAMES.
6359 * libsupc++/tinfo2.cc (std::typeinfo::before): Likewise.
6361 2001-02-03 Alexandre Oliva <aoliva@redhat.com>
6362 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
6364 * Makefile.am (mkinstalldirs): Set.
6365 * src/Makefile.am (mkinstalldirs): Set.
6366 * libmath/Makefile.am (mkinstalldirs): Set.
6367 * libsup++/Makefile.am (mkinstalldirs): Set.
6368 * libio/Makefile.am (mkinstalldirs): Set.
6369 * */Makefile.in: Regenerate.
6371 2001-02-03 Benjamin Kosnik <bkoz@redhat.com>
6373 * include/bits/stl_threads.h (struct _STL_mutex_lock): Same.
6374 * include/bits/localefwd.h: More initialization cleanups.
6376 2001-02-03 Jeffrey A Law <law@cygnus.com>
6378 * include/bits/ios_base.h (_S_ios_fmtflags_end): Initialize
6379 correctly targets with 16bit ints.
6380 (_S_ios_openmode_end): Similarly.
6381 (_S_ios_iostate_end): Similarly.
6382 (_S_ios_Seekdir_end): Similarly.
6384 2001-02-02 Phil Edwards <pme@sources.redhat.com>
6386 * mkcheck.in: Also limit virtual memory size, for mmap-based mallocs.
6388 2001-02-01 Alexandre Oliva <aoliva@redhat.com>
6390 * configure.in (toplevel_srcdir, auxdir): Set.
6391 * acinclude.m4 (glibcpp_basedir): Set based on auxdir.
6392 * aclocal.m4, configure, Makefile.in: Rebuilt.
6393 * libio/Makefile.in, math/Makefile.in, src/Makefile.in: Likewise.
6394 * libsupc++-v3/Makefile.am (INCLUDES): Use toplevel_srcdir.
6395 * libsupc++-v3/Makefile.in: Rebuilt.
6396 * libsupc++-v3/configure.in, libsupc++-v3/configure: Removed.
6397 * libsupc++-v3/aclocal.m4, libsupc++-v3/config.h.in: Likewise.
6399 2001-01-30 Benjamin Kosnik <bkoz@redhat.com>
6401 * config/c_locale_generic.cc: Remove langinfo include.
6403 2001-01-29 Benjamin Kosnik <bkoz@redhat.com>
6405 Preliminary named locales.
6406 * acinclude.m4 (GLIBCPP_ENABLE_CLOCALE): New macro.
6407 * aclocal.m4: Regenerate.
6408 * configure.in: Use it.
6409 * configure: Regerate.
6410 * src/Makefile.am (sources): Add c++locale.cc.
6411 (build_headers): Add c++locale.h.
6412 * src/Makefile.in: Regenerate.
6413 * config/c_locale_gnu.h: New file.
6414 * config/c_locale_gnu.cc: New file. Non-inline member functions
6415 for named locales, gnu-specific.
6416 * config/c_locale_generic.h: New file.
6417 * config/c_locale_generic.cc: New file. Non-inline member
6418 functions for named locales, generic version.
6419 * docs/html/configopts.html: Add documentation on new options.
6421 * include/bits/locale_facets.h (class _Messages): Remove.
6422 (class _Moneypunct): Remove.
6423 * src/locale-inst.cc: Remove.
6425 * include/bits/locale_facets.h (class _Collate): Remove.
6426 * src/locale-inst.cc (std): Remove.
6427 * src/locale.cc: And here.
6429 * include/bits/localefwd.h (locale::_M_coalesce): New
6430 function. Correctly put together multi-name locales.
6431 (_Impl(const _Impl&, category, size_t)): Remove.
6433 * include/bits/localefwd.h (locale::_Impl): Remove _M_construct_*
6435 (_M_normalize_category_names): Remove.
6436 (_M_replace_categories): Fix.
6438 * src/localename.cc (locale::_Impl::_M_construct_collate): Remove.
6439 (locale::_Impl::_M_construct_ctype): Remove.
6440 (locale::_Impl::_M_construct_monetary): Remove.
6441 (locale::_Impl::_M_construct_numeric): Remove.
6442 (locale::_Impl::_M_construct_time): Remove.
6443 (locale::_Impl::_M_construct_messages): Remove.
6445 * include/bits/locale_facets.h (_Bad_use_facet): Remove.
6446 (_Use_facet_failure_handle): Remove.
6447 * src/locale.cc: Remove definitions.
6448 * src/locale-inst.cc: And here.
6450 * testsuite/22_locale/ctor_copy_dtor.cc (test01): Fixup. Add tests.
6452 * src/localename.cc (locale::facet::_S_create_c_locale): Properly
6453 create and error-check underlying locale object.
6454 (locale::facet::_S_destroy_c_locale): Add, take care of properly
6455 tearing down underlying locale object.
6456 * include/bits/localefwd.h (locale::facet): Declare.
6457 * testsuite/22_locale/members.cc: Don't test "fr_FR" locale for
6458 correctness, as glibc apparently has incorrect info in it. Test
6459 with it when it works again.....
6461 * include/bits/localefwd.h (locale::_Impl::__vec_string):
6462 Remove. Number of categories is fixed at six, so just simplify and
6463 make this an array of strings.
6464 (locale::_Impl::_M_has_name): Remove.
6465 (locale::_Impl::_M_name): Remove.
6466 (locale::_Impl::_M_category_names): Turns into...
6467 (locale::_Impl::_M_names): ...this.
6468 (locale::_Impl::_M_has_same_name()): New function.
6469 * src/localename.cc (locale::_Impl::~_Impl()): Remove here.
6470 (locale::_Impl::_Impl(size_t __refs, string __str)): Simplify
6472 * src/locale.cc (locale::name()): Construct mangled name
6473 accurately reflecting combined locale categories.
6475 * src/locale.cc (locale::classic()): Don't initialize here.
6476 * src/localename.cc (locale::_Impl::_Impl(size_t __num, size_t
6477 __refs, bool __has_name, string __str): Do it here.
6479 * include/bits/localefwd.h: _S_categories_num to
6480 _S_num_categories. _S_facets_num to _S_num_facets.
6481 (locale::id::id()): Explicitly set _M_index to zero.
6482 * src/locale.cc: Same.
6484 * src/locale.cc: (locale::locale(const char*)): Construct named
6487 * src/locale.cc: Remove numpunct_byname ctors.
6488 * testsuite/22_locale/numpunct_byname.cc: New file.
6489 * testsuite/22_locale/numpunct.cc: New file.
6491 * include/bits/localefwd.h (class locale): Change data members to
6492 protected, from private.
6493 (_Impl::_M_get_c_locale): Add member function.
6494 (locale::facet::_M_get_global_impl()): Add member function.
6495 * include/bits/locale_facets.h (numpunct::_M_init): Change to take
6496 a __c_locale pointer.
6497 (numpunct::numpunct( __c_locale*, size_t)): Add additonal ctor for
6499 * testsuite/22_locale/members.cc: New file, test name and combine.
6501 * include/bits/locale_facets.h (class numpunct): Remove class
6502 _Punct and _Numpunct. Rewrite class numpunct to be correct for
6504 * include/bits/localefwd.h (locale::_Imp::_M_c_locale): Add.
6505 * src/localename.cc (_Impl::~_Impl()): Call __frelocale.
6506 (_Imp::_Impl(size_t, size_t, bool, string)) Initialize _M_c_locale.
6507 * src/locale-inst.cc: Remove _Numpunct, _Punct instantiations.
6508 * testsuite/22_locale/numpunct_char_members.cc: New file.
6510 2001-01-28 Gabriel Dos Reis <gdr@codesourcery.com>
6512 * testsuite/README: Add more comment.
6513 * testsuite/lib/libstdc++.exp: Tweak comment.
6515 2001-01-26 Benjamin Kosnik <bkoz@kredhat.com>
6517 * libsupc++/pure.cc (writestr): Just use cstdio and std::fputs.
6519 2001-01-25 Loren J. Rittle <ljrittle@acm.org>
6521 * testsuite/21_strings/inserters_extractors.cc: Remove
6522 explicit reference to 'testsuite/'.
6524 2001-01-25 Richard Henderson <rth@redhat.com>
6526 * config/cpu/alpha/bits/atomicity.h: Remove tricky .subsetion
6527 bits. Fixes Tru64 build issues.
6529 2001-01-25 Michael Sokolov <msokolov@ivan.Harhan.ORG>
6531 * acinclude.m4 (GLIBCPP_CHECK_GNU_MAKE): Bourne shell portability bug
6532 (use ${MAKE-make}, not ${MAKE:-make}).
6533 * aclocal.m4, configure: Regenerate.
6535 2001-01-25 Mark Mitchell <mark@codesourcery.com>
6537 * src/ios.cc: Remove accidental inclusion of <stdio.h> in last
6540 * src/Makefile.am (sources): Add globals.cc.
6541 * src/Makefile.in: Regenerated.
6542 * src/globals.cc: New file.
6543 * src/ios.cc (cin): Don't define here, just declare extern.
6552 2001-01-25 Phil Edwards <pme@sources.redhat.com>
6554 * include/bits/std_iterator.h: Do not include stl_relops.h.
6555 * include/bits/std_numeric.h: Ditto.
6556 * include/bits/stl_algobase.h: Ditto.
6557 * include/bits/stl_relops.h: Add comment warning about problems.
6559 2001-01-25 Gabriel Dos Reis <gdr@codesourcery.com>
6561 * testsuite/27_io/*.cc: Remove explicit reference to 'testsuite/'
6562 in testcases. Prepare for the DejaGnu based framework.
6563 * mkcheck.in: Adjust call to tests_flags. Don't mmkdir testsuite
6564 directory -- it is now mkcheck working directory.
6565 * tests_flags.in: Remove reference to $(top_srcdir). Use
6567 * Makefile.am (check, check-install): Change mkcheck invocation
6569 * Makefile.in: Regenerate.
6571 2001-01-24 Mark Mitchell <mark@codesourcery.com>
6573 * config/os/aix/bits/atomicity.h (__compare_and_swap): Remove.
6574 (__always_swap): Likewise.
6576 2001-01-23 Chris Demetriou <cgd@broadcom.com>
6578 * libsupc++/exception_support.cc (__terminate_func): Remove
6580 (__terminate_func_ptr): New typedef.
6581 (__terminate, __terminate_set_func): New extern function
6583 (std::terminate): Use __terminate function.
6584 (std::set_terminate): Use __terminate_set_func function.
6586 2001-01-23 Benjamin Kosnik <bkoz@redhat.com>
6588 * configure.target: Just use os_include_dir always.
6589 * configure.in: Remove calls to GLIBCPP_CHECK_CTYPE_SUPPORT.
6590 Link atomicity files and ctype files here.
6591 * configure: Regenerate.
6592 * acinclude.m4 (GLIBCPP_CHECK_CTYPE_SUPPORT): Remove.
6593 (GLIBCPP_ENABLE_ATOMICITY): Remove.
6594 * aclocal.m4: Regenerate.
6596 2001-01-23 Chris Demetriou <cgd@broadcom.com>
6598 * configure.in: Place definition of MULTISUBDIR in
6599 libsupc++/Makefile as is done for src/Makefile.
6600 * configure: Regenerate.
6602 2001-01-23 Phil Edwards <pme@sources.redhat.com>
6604 * acinclude.m4: Cosmetic changes only.
6605 * aclocal.m4: Regenerated.
6606 * configure: Regenerated.
6607 * configure.target: Update documented list of changed variables.
6608 * docs/html/install.html: Fix typo.
6609 * docs/html/20_util/howto.html: More notes on auto_ptr.
6610 * docs/html/27_io/howto.html: More notes on streabufs.
6611 * docs/html/faq/index.html: Add rel_ops problem and mention the
6612 DEC as(1) .subsection difficulty.
6613 * docs/html/faq/index.txt: Regenerated.
6615 2001-01-23 Mark Mitchell <mark@codesourcery.com>
6617 * ainclude.m4 (GLIBCPP_CHEC_MATH_DECLS_AND_LINKAGE_1): New macro.
6618 (GLIBCPP_CHECK_MATH_SUPPORT): Use it.
6619 (GLIBCPP_CHECK_TYPE_SUPPORT): Don't autoconf ctype information if
6620 its already provided in config.target.
6621 * aclocal.m4: Regenerated.
6622 * configure: Likewise.
6623 * configure.target: Set ctype_include_dir for lots of systems.
6624 * libsupc++/Makefile.am: Explicitly include --tag disable-shared.
6625 * libsupc++/Makefile.in: Regenerated.
6627 2001-01-23 Gabriel Dos Reis <gdr@codesourcery.com>
6629 * testsuite/lib/libstdc++.exp: Improve. Add support for @xxx#
6632 * testsuite/README: Add comment.
6634 2001-01-21 Phil Edwards <pme@sources.redhat.com>
6636 * docs/html/configopts.html: Update for current status. Fix HTML.
6637 * docs/html/install.html: Update for current status.
6639 2001-01-20 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
6641 * testsuite/libstdc++.tests/tests.exp: New file.
6642 * testsuite/lib/libstdc++.exp: Itou.
6643 * testsuite/README: Itou.
6645 2001-01-20 Gabriel Dos Reis <gdr@codesourcery.com>
6647 * tests_flags.in: Just output the bare minimum to run tests.
6648 Let's the caller do its own arrangement.
6650 * mkcheck.in: Rename INC_PATH to INCLUDES. Adjust flags
6653 2001-01-19 Gabriel Dos Reis <gdr@codesourcery.com>
6655 * testsuite/17_intro: Prepare testcases for new style DejaGnu
6658 2001-01-18 Gabriel Dos Reis <gdr@codesourcery.com>
6660 * testsuite/libstdc++.tests, testsuite/lib: New directories.
6662 2001-01-17 Loren J. Rittle <ljrittle@acm.org>
6664 * mkcheck.in: Construct file names that match $objdir structure.
6665 * testsuite/27_io/filebuf_members-1.txt: New file.
6666 * testsuite/27_io/ifstream_members-1.txt: New file.
6667 * testsuite/27_io/ostream_inserter_char-1.txt: New file.
6669 * testsuite/27_io/ios_base_members_static.cc (test02): Add test.
6670 * testsuite/27_io/ios_base_members_static-1.tst: Add expected output.
6672 2001-01-17 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
6674 * testsuite/27_io/istream_sentry.cc (test02): Fix.
6676 2001-01-17 Benjamin Kosnik <bkoz@redhat.com>
6679 * include/bits/ios_base.h (ios_base::failure): Tighten up throw specs.
6680 * src/ios.cc (ios_base::failure): Make definitions match.
6681 * libsupc++/typeinfo (class bad_typeid): Add throw specs.
6682 (class bad_cast): Same.
6683 * libsupc++/exception (class exception): Add throw specs.
6684 * libsupc++/exception_support.cc (set_terminate): Add throw specs.
6685 (set_unexpected): Same.
6686 (uncaught_exception): Same.
6689 * docs/html/17_intro/C++STYLE (classname): Fix.
6691 2001-01-16 Mark Mitchell <mark@codesourcery.com>
6693 * src/gen-num-limits.cc (INSTANTIATIONS): New macro.
6694 Use it do explicitly instantiate predicate<T> and value<T> for
6697 2001-01-16 Nathan Sidwell <nathan@codesourcery.com>
6699 * libsupc++/exception_support.cc (__cp_pop_exception): Fix
6700 uninitialized thinko in last change.
6702 2001-01-16 Mark Mitchell <mark@codesourcery.com>
6704 * libsupc++/exception_support.cc (__cp_pop_exception): Change
6707 2001-01-16 Benjamin Kosnik <bkoz@redhat.com>
6709 * docs/html/17_intro/C++STYLE (classname): Add more existing
6710 and stylish patterns.
6713 * include/bits/istream.tcc (istream::sentry::sentry()): Set
6714 failbit if the state of the stream is not good.
6715 * testsuite/27_io/istream_sentry.cc (test02): Add test.
6716 * testsuite/27_io/istream_manip.cc (test01): Modify.
6719 reported by Paolo Carlini <pcarlini@unitus.it>
6720 * include/bits/istream.tcc (operator>>(istream&, string&)): Fix.
6721 * testsuite/21_strings/inserters_extractors.cc (test08): Add test.
6724 * include/bits/std_streambuf.h (setp): Set _M_buf_size correctly.
6725 * include/bits/streambuf.tcc (xsputn): Remove outside if clause.
6726 (xsgetn): Same. Simplify.
6727 * testsuite/27_io/streambuf.cc (test04): Add testcases.
6729 reported by Larry Evans <jcampbell3@prodigy.net>
6730 * include/bits/streambuf.tcc (streambuf::xsputn): Just check for
6731 equality with eof on returned value from overflow.
6733 2001-01-14 Andreas Jaeger <aj@suse.de>
6735 * libio/libio.h: Add test for glibc 2.0.
6737 2001-01-12 Benjamin Kosnik <bkoz@redhat.com>
6739 * config/os/djgpp/bits/*: Fix dates.
6741 * include/bits/basic_string.h (_S_find(const _CharT* __beg, const
6742 _CharT* __end, _CharT __c): Remove.
6743 * include/bits/basic_string.tcc: Substitute traits::find for _S_find.
6744 * include/bits/char_traits.h: Tweak.
6746 2001-01-12 Laurynas Biveinis <lauras@softhome.net>
6748 * acinclude.m4 (GLIBCPP_CHECK_CTYPE_SUPPORT): check for DJGPP <ctype.h>
6749 (LIB_AC_PROG_CXX): replace [/\\] with [\\/] to work around older
6751 * aclocal.m4: regenerated.
6752 * configure.target: set os_include_dir to config/os/djgpp under DJGPP.
6753 * configure: regenerated.
6754 * config/os/djgpp, config/os/djgpp/bits: new directories.
6755 * config/os/djgpp/bits/ctype_base.h,
6756 config/os/djgpp/bits/ctype_inline.h,
6757 config/os/djgpp/bits/ctype_noninline.h,
6758 config/os/djgpp/bits/os_defines.h: new files.
6760 2001-01-11 Joseph S. Myers <jsm28@cam.ac.uk>
6762 * include/c_std/bits/std_cstdio.h: Undef printf.
6764 2001-01-10 Benjamin Kosnik <bkoz@redhat.com>
6766 * src/ios.cc: Fix typo: change cout->wcout.
6768 * src/Makefile.am (targetincludep): Fix for version-specific-libs.
6769 * src/Makefile.in: Regenerate.
6771 2001-01-10 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
6773 * include/bits/std_complex.h: Fix a typo.
6775 2001-01-09 Benjamin Kosnik <bkoz@redhat.com>
6778 Fixes for libstdc++/1576
6779 * src/stdstreams.cc: Initialize with NULL filebuf. Delete
6780 file, move contents into....
6781 * src/ios.cc: ...Here. Put defines for iostreams objects and
6782 initialization routines into one file to simplify DSO interaction.
6783 * include/bits/std_iostream.h: Touch.
6784 * include/bits/ios_base.h (_S_synched_with_stdio): Make static.
6785 * src/Makefile.am (sources): Remove stdstreams.cc.
6786 * src/Makefile.in: Regenerate.
6788 2001-01-10 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
6790 * tests_flags.in (check_directory): Fix typo.
6792 2001-01-09 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
6794 * include/bits/std_complex.h: Fix a typo.
6796 2001-01-09 Loren J. Rittle <ljrittle@acm.org>
6798 * config/os/bsd/freebsd/bits/ctype_inline.h (is): (Make right
6799 code path:) Remove magic constants and restructure to handle
6800 ctype.h bit mask layout changes more gracefully. (Make fast
6801 code path:) Use __maskrune (), if available.
6802 (is): Remove special case for digit and xdigit masks.
6804 2001-01-09 Robert Lipe <robertlipe@usa.net>
6806 * include/c_std/bits/std_ctime.h: Undefine difftime.
6808 2001-01-09 Alexandre Oliva <aoliva@redhat.com>
6810 * src/gen-num-limits.cc (signal_adapter): New template function.
6811 (signal_handler): Use it, instead of signal.
6812 (traps<T>): Likewise. Install SIGTRAP handler too. Don't
6813 require both tests to trap to set trap_flag.
6815 2001-01-08 Benjamin Kosnik <bkoz@redhat.com>
6817 * include/bits/fpos.h (fpos:::fpos(streamoff __pos)): Explicitly
6818 initialize mbstate_t member, name offset data members *off, not pos.
6819 * include/bits/fstream.tcc (filebuf::filebuf): Same.
6821 2001-01-08 Benjamin Kosnik <bkoz@redhat.com>
6823 reported by Chris G. Demetriou <cgd@sibyte.com>
6824 * configure.in: Change -linux-* to -linux*.
6825 * configure: Regenerate.
6827 2001-01-05 Benjamin Kosnik <bkoz@redhat.com>
6829 Fix 27_io/filebuf_members.cc
6830 * src/localename.cc (locale::_Impl::_Impl(const _Impl& __imp,
6831 const string& __name, category __cat, size_t __refs): Set
6832 _M_has_name with _M_name.
6833 * include/bits/localefwd.h (locale::operator!=): Protect member
6834 function call with this->.
6835 * src/locale.cc (locale::operator==): Make fast checks first.
6836 * include/bits/basic_ios.tcc (basic_ios::init): Simplify.
6838 * include/bits/ios_base.h (_M_synced_with_stdio): Add data member
6840 * src/ios.cc (ios_base::Init::Init): Initialize here.
6841 (ios_base::sync_with_stdio): Set here.
6843 2001-01-04 Loren J. Rittle <ljrittle@acm.org>
6845 * config/c_io_stdio.cc (__basic_file<_CharT>::sys_open()): On
6846 systems that support it, call dup() before fdopen().
6848 2001-01-03 Benjamin Kosnik <bkoz@redhat.com>
6850 * include/c_std/bits/std_cwctype.h: Include std_cwchar.h for wint_t.
6851 * testsuite/17_intro/header_cwctype.cc (main): New file.
6853 * src/Makefile.am (base_headers): Change.
6854 * include/bits/std_string.h: And here.
6855 * include/bits/string.tcc: Tweaks, move to...
6856 * include/bits/basic_string.tcc: ...Here.
6857 * src/string-inst.cc: Simplify, just instantiate the whole class,
6858 not member-by-member.
6860 2001-01-02 Benjamin Kosnik <bkoz@redhat.com>
6862 * acinclude.m4 (GLIBCPP_ENABLD_CSTDIO): Add in default value.
6863 * aclocal.m4: Regenerate.
6864 * configure: Regenerate.
6866 * include/bits/c++config (__GLIBCPP__): Bump version number.
6868 * ChangeLog: Start new log for year 2001
6869 * ChangeLog-2000: New file.
6871 * docs/html/configopts.html: Make sure default values are current,
6874 2001-01-01 Benjamin Kosnik <bkoz@fillmore.redhat.com>
6876 * include/c_std/bits/std_cwchar.h: Same.
6877 * testsuite/17_intro/header_cwchar.cc: Same.
6878 * include/c_std/bits/std_ctime.h: Same.
6879 * testsuite/17_intro/header_ctime.cc: Same.
6880 * include/c_std/bits/std_cstdlib.h: Same.
6881 Clean up undefs, make consistent with cwchar and cmath, etc.
6882 * testsuite/17_intro/header_cstdlib.cc: Same.
6883 * include/c_std/bits/std_cstdio.h: Same here.
6884 * testsuite/17_intro/header_cstring.cc: Same.
6885 * include/c_std/bits/std_cstring.h: Include std_cstddef.h for size_t.
6886 * testsuite/17_intro/header_cstring.cc: New file. Check for
6887 size_t in namespace std.
6889 * include/c_std/bits/std_cwchar.h: Explicit checks for mbstate_t.
6890 * acconfig.h (HAVE_MBSTATE_T): Add.
6891 * config.h.in: Regenerate.
6892 * acinclude.m4(GLIBCPP_CHECK_WCHAR_T_SUPPORT): Always test for
6894 * aclocal.m4: Regenerate.
6895 * configure: Regenerate.
6896 * testsuite/17_intro/headers_c++.cc: New file.
6897 * testsuite/17_intro/headers_c.cc: Small changes.
6899 2001-01-01 David Billinghurst <David.Billinghurst@riotinto.com>
6901 * tests_flags.in: Fix typo in usage.
6903 * tests_flags.in: Set target specific LIBS for cygwin.