C++STYLE: Fix typo.
[gcc.git] / libstdc++-v3 / ChangeLog
1 2001-08-24 Jan van Male <jan.vanmale@fenk.wau.nl>
2
3 * docs/html/17_intro/C++STYLE: Fix typo.
4
5 2001-08-24 Phil Edwards <pme@sources.redhat.com>
6
7 * docs/html/23_containers/howto.html: Describe implementation of
8 insertion with hints.
9
10 2001-08-24 Kenny Simpson <kenny.simpson@gs.com>
11
12 libstdc++/3740
13 * include/bits/std_sstream.h (basic_ostringstream): Fix ctor.
14
15 2001-08-24 Sylvain Pion <Sylvain.Pion@sophia.inria.fr>
16 Phil Edwards <pme@sources.redhat.com>
17
18 PR libstdc++/3349
19 * include/bits/stl_tree.h (insert_unique): Revert last change.
20 Values inserted at begin() must be less, not greater, than *begin()'s.
21 * testsuite/23_containers/map_insert.cc: New file.
22
23 2001-08-23 Benjamin Kosnik <bkoz@redhat.com>
24
25 * config/locale/c_locale_gnu.cc: Minor tweaks.
26 (moneypunct<wchar_t>): Implement.
27 * include/bits/locale_facets.h: Same.
28 * testsuite/22_locale/moneypunct.cc: New file.
29 * testsuite/22_locale/moneypunct_byname.cc: New file.
30 * testsuite/22_locale/moneypunct_char_members.cc: New file.
31
32 2001-08-23 David Edelsohn <edelsohn@gnu.org>
33
34 * config/os/gnu-linux/bits/os_defines.h: Correct __s390__ definitions.
35 Set __powerpc__ long double definition based on __LONG_DOUBLE_128__.
36
37 2001-08-23 Jason Merrill <jason_merrill@redhat.com>
38
39 * testsuite_flags.in (build-includes): Re-add backward.
40
41 2001-08-22 Benjamin Kosnik <bkoz@redhat.com>
42
43 * testsuite/22_locale/collate_wchar_t_members.cc: Guard
44 with _GLIBCPP_USE_WCHAR_T.
45
46 2001-08-21 Benjamin Kosnik <bkoz@redhat.com>
47
48 * testsuite/22_locale/collate_byname.cc (test01): Fix.
49
50 2001-08-18 Vladimir A Merzliakov <wanderer@rsu.ru>
51
52 * include/bits/locale_facets.tcc (collate::do_transform): Add typename.
53
54 2001-08-18 Benjamin Kosnik <bkoz@redhat.com>
55
56 * testsuite/22_locale/operators.cc: Add test.
57
58 2001-08-17 Benjamin Kosnik <bkoz@redhat.com>
59
60 Implement std::collate.
61 * config/locale/collate_specializations_gnu.cc: Add here, implement in
62 MT-safe way.
63 * config/locale/collate_specializations_generic.cc: Add here, but
64 in a less sophisticated manner.
65 * include/bits/locale_facets.tcc (collate): Add generic definition.
66 * include/bits/locale_facets.h (~collate): Mark virtual.
67 (collate::_M_compare_helper): New.
68 (collate::_M_transform_helper): New.
69 * src/locale.cc: Remove unnecessary specializations.
70 * src/string-inst.cc: Tweak instantiation of ctors.
71
72 * acinclude.m4 (GLIBCPP_ENABLE_CLOCALE): Do configury for collate.
73 * aclocal.m4: Regenerate.
74 * configure: Regenerate.
75 * src/Makefile.am (sources): Add collate.cc.
76 * src/Makefile.in: Regenerate.
77
78 * testsuite/22_locale/collate_byname.cc: New.
79 * testsuite/22_locale/collate.cc: New file.
80 * testsuite/22_locale/collate_char_members.cc: New file.
81 * testsuite/22_locale/collate_wchar_t_members.cc: New file.
82
83 2001-08-16 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
84
85 * configure.target: Set LIMITSH for powerpc-*-*.
86 * config/cpu/powerpc/bits/limits.h: New file.
87
88 2001-08-16 Marc Espie <espie@openbsd.org>
89
90 * configure.in: Check for <sys/types.h>.
91 * configure: Rebuild.
92 * config.h.in: Rebuild.
93 * libmath/mathconf.h: Include <sys/types.h> prior to
94 <machine/endian.h> if available.
95
96 2001-08-15 Andreas Schwab <schwab@suse.de>
97
98 * configure.target (cpu_include_dir): Set to `config/cpu/m68k' for
99 m68k and m680[246]0.
100 * config/cpu/m68k/bits/atomicity.h: New file.
101
102 * include/bits/std_limits.h [__glibcpp_long_double_bits == 96]:
103 Define appropriate long double limits for m68k extended floating
104 point.
105 (__glibcpp_f32_digits10): Corrected, off by one.
106 (__glibcpp_f80_digits10): Likewise.
107 (__glibcpp_f128_digits10): Likewise.
108 * config/os/gnu-linux/bits/os_defines.h
109 (__glibcpp_long_double_bits) [__mc68000__]: Define to 96.
110
111 2001-08-15 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
112
113 * testsuite/18_support/numeric_limits.cc: Add more tests.
114 * include/bits/std_limits.h (numeric_limits<char>::max): Fix
115 typo.
116
117 2001-08-14 Ulrich Weigand <uweigand@de.ibm.com>
118
119 * configure.target (cpu_include_dir): Set to `config/cpu/s390'
120 for s390 and s390x.
121
122 * config/cpu/s390/bits/atomicity.h: New.
123
124 2001-08-14 Gabriel Dos Reis <gdr@codesourcery.com>
125
126 * include/bits/std_limits.h: Fix thinko.
127
128 2001-08-14 Benjamin Kosnik <bkoz@redhat.com>
129
130 * include/Makefile.am: Consolidate target rules. Don't clean stamp
131 files. Tweak target build directory stamp.
132 * include/Makefile.in: Regenerate.
133
134 2001-08-14 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
135
136 * libstdc++-v3/libmath/stubs.c: Fix PR/3988, replace
137 _GBLICPP_HAVE_LOGL with HAVE_LOGL
138
139 2001-08-13 Benjamin Kosnik <bkoz@redhat.com>
140
141 * configure.in (libtool_VERSION): Add.
142 (VERSION): Change to
143 (release_VERSION): This.
144 * configure: Regenerate.
145 * src/Makefile.am (libstdc___la_LDFLAGS): Use -version-info with
146 libtool_VERSION.
147 * src/Makefile.in: Regenerate.
148
149 * intl/Makefile.am: Remove.
150 * intl/Makefile.in: Remove.
151 * intl: Remove.
152 * Makefile.am (SUBDIRS): Remove intl.
153 * po/Makefile.am (DISTFILES): Add string_literals.cc
154 (MSGFMT): Add.
155 * po/string_literals.cc: Add.
156 * po/POTFILES.in: Fix path.
157 * acinclude.m4 (GLIBCPP_ENABLE_CLOCALE): Don't call AM_GNU_GETTEXT.
158 * aclocal.m4: Regenerate.
159 * configure.in: Remove AC_OUTPUT of intl/Makefile.
160
161 * include/backward/backward_warning.h: Clarify message.
162
163 * testsuite_flags.in (--cxxflags): Use same debug flags for
164 library and testsuite.
165
166 * include/Makefile.am (c_compatibility): Remove.
167 * include/Makefile.in: Regenerate.
168
169 2001-08-13 Mark Mitchell <mark@codesourcery.com>
170
171 * configure.in (LIMITS_INC_SRCDIR): New variable.
172 * configure.target (LIMITSH): New variable.
173 * porting.texi: Discuss numeric limits.
174 * config/cpu/generic/bits/limits.h: New file.
175 * config/cpu/i386/bits/limits.h: New file.
176 * include/Makefile.am: Install bits/limits.h.
177 * include/bits/c++config: Include bits/limits.h.
178
179 2001-08-13 H.J. Lu (hjl@gnu.org)
180
181 * testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3-copy-files):
182 New. Copy files.
183 (libstdc++-v3-init ): Use it.
184
185 2001-08-13 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
186
187 * include/bits/ostream.tcc (__pad_char): Change toplevel '__fmt'
188 to '__adjust' to avoid shadowing in nested scope.
189
190 2001-08-10 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
191
192 * include/bits/std_limits.h(__glibcpp_char_is_signed): Use
193 __CHAR_UNSIGNED__.
194
195 * config/os/gnu-linux/bits/os_defines.h(__glibcpp_char_is_signed):
196 Likewise.
197 * config/os/aix/bits/os_defines.h(__glibcpp_plain_char_is_signed):
198 Remove.
199
200 2001-08-10 Loren J. Rittle <ljrittle@acm.org>
201
202 * testsuite/testsuite_hooks.h (__set_testsuite_memlimit): Add
203 dummy default argument to the non-limit implementation.
204
205 bootstrap/3963
206 * include/Makefile.am: Use relative file path in rule to allow
207 colon in $(objdir).
208 * include/Makefile.in: Rebuilt.
209
210 2001-08-10 Gunter Winkler <gunter.winkler@mathematik.tu-chemnitz.de>
211
212 * include/bits/std_complex.h (complex<long double>::operator*=,
213 complex<long double>::operator/=): Fix thinko.
214
215 2001-08-10 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
216
217 * include/bits/std_limits.h: New file.
218 * include/Makefile.am (bits_headers): Add std_limits.h
219 (all-local): std_limits.h is no longer built.
220 (${target_builddir}/std_limits.h): Remove.
221 * include/Makefile.in: Regenerate.
222 * src/limits.cc: New file.
223 * src/Makefile.am (sources): Add limits.cc in replacement of
224 limitsMEMBERS.cc.
225 * src/Makefile.in: Regenerate.
226
227 2001-08-09 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
228
229 * src/gen-num-limits.cc (digits10): Fix thinko.
230
231 2001-08-09 Benjamin Kosnik <bkoz@redhat.com>
232
233 * po/Makefile.am (check-no): Add.
234 (check-yes): Same.
235 * po/Makefile.in: Regenerate.
236
237 2001-08-09 Benjamin Kosnik <bkoz@redhat.com>
238
239 * acconfig.h (_GLIBCPP_MEM_LIMITS): Define.
240 * config.h.in: Regenerate.
241 * acinclude.m4 (GLIBCPP_CHECK_SETRLIMIT): Check for setrlimit
242 function.
243 * aclocal.m4: Regenerate.
244 * configure.in: Remove duplicate AM_CONFIG_HEADER.
245 (AM_CONFIG_HEADER): Remove testsuite/testsuite_hooks.h.
246 Only call GLIBCPP_CHECK_SETRLIMIT for native compiles.
247 * configure: Regenerate.
248 * testsuite_hooks.h.in: Move to...
249 * testsuite_hooks.h: Here, include c++config.h. Use it.
250
251 * Makefile.am (SUBDIRS): Move testsuite to last directory.
252 * Makefile.in: Regenerate.
253 * po/Makefile.am (stamp-po): Add.
254
255 2001-08-09 David Edelsohn <edelsohn@gnu.org>
256
257 * config/os/aix/bits/os_defines.h: Define std_limits.h macros.
258 * config/os/generic/bits/os_defines.h: Likewise.
259 * config/os/gnu-linux/bits/os_defines.h: Likewise.
260 * config/os/hpux/bits/os_defines.h: Likewise.
261 * config/os/irix/irix6.5/bits/os_defines.h: Likewise.
262 * config/os/solaris/solaris2.7/bits/os_defines.h: Likewise.
263
264 2001-08-08 Benjamin Kosnik <bkoz@redhat.com>
265
266 * src/Makefile.am (libstdc___la_LDFLAGS): Use -release instead of
267 -version-info, use substituted VERSION info.
268 * src/Makefile.in: Regenerate.
269
270 2001-08-07 Benjamin Kosnik <bkoz@redhat.com>
271
272 Implement std::messages.
273 Make config a fully-nested directory.
274 * config/locale: New directory.
275 * config/c_locale_generic.cc: Move into locale subdirectory.
276 * config/c_locale_generic.h: Same.
277 * config/c_locale_gnu.cc: Same.
278 * config/c_locale_gnu.h: Same.
279 * config/c_locale_ieee_1003.1-200x.cc: Same.
280 * config/c_locale_ieee_1003.1-200x_.h: Same.
281 * config/codecvt_specializations_generic.h: Same.
282 * config/codecvt_specializations_ieee_1003.1-200x.h: Same.
283 * config/messages_members_gnu.h: Same.
284 * config/messaages_members_gnu.cc: Same.
285 * config/messages_members_generic.h: Same.
286 * config/messaages_members_generic.cc: Same.
287 * config/messages_members_ieee_1003.1-200x.h: Same.
288 * config/messaages_members_ieee_1003.1-200x.cc: Same.
289 * config/io: New directory.
290 * config/basic_file_libio.h: Move into io subdirectory.
291 * config/basic_file_libio.cc: Same.
292 * config/c_io_libio.h: Same.
293 * config/c_io_libio_codecvt.c: Same.
294 * config/basic_file_stdio.h: Same.
295 * config/basic_file_stdio.cc: Same.
296 * config/c_io_stdio.h: Same.
297
298 * po: New directory.
299 * po/POTFILES.in: New file.
300 * po/Makefile.am: New file.
301 * po/Makefile.in: New file.
302 * po/libstdc++.pot: Generic translation file.
303 * po/fr.po: Preliminary French translation.
304 * po/de.po: Preliminary German translation.
305 * intl: New directory.
306 * intl/Makefile.am: New file.
307 * intl/Makefile.in: New file.
308 * intl/string_literals.cc: New file.
309 * acinclude.m4 (GLIBCPP_CONFIGURE): Bump VERSION to 3.1.0. Add
310 requisite setup for gettext. Re-arrange.
311 * aclocal.m4: Regenerate.
312 * configure.in: Don't call GLIBCPP_CHECK_COMPILER_VERSION.
313 Output Makefile bits for po and intl.
314 * configure: Regenerate.
315 * Makefile.am (SUBDIRS): Add intl, po. Add rule for dist.
316 * Makefile.in: Regenerate.
317 * acconfig.h: Add ENABLE_NLS, HAVE_CATGETS, HAVE_GETTEXT, HAVE_STPCPY.
318 * config.h.in: Regenerate.
319
320 * acinclude.m4 (AC_REPLACE_STRINGFUNCS): Remove.
321
322 * include/Makefile.am (install-data-local): Don't install Makefile.
323 * include/Makefile.in: Regenerate.
324
325 * include/bits/locale_facet.h (locale::facet::_S_clone_c_locale):
326 Add member.
327 * config/locale/c_locale_gnu.cc (_S_clone_c_locale): Add definition.
328 * config/locale/c_locale_generic.cc: Same.
329 * config/locale/c_locale_ieee_1003.1-200x.cc: Same.
330
331 * include/bits/codecvt.h: Excise non-standard, non-required
332 bits. This includes __enc_traits, and partial specializations of
333 codecvt for __enc_traits.
334 * src/codecvt.cc (__enc_traits::_S_max_size): Guard
335 * config/codecvt_partials_ieee_1003.1-200x.h: New file.
336 * config/codecvt_partials_generic.h: New file.
337 * include/Makefile.am (allstamps): Add stamp-codecvt_model.
338 (stamp-codecvt_model): Add.
339 * include/Makefile.in: Regenerate.
340 * acinclude.m4 (GLIBCPP_ENABLE_CLOCALE): Add in codecvt configury.
341 * aclocal.m4: Regenerate.
342 * configure: Regenerate.
343 * testsuite/22_locale/codecvt_unicode_wchar_t.cc: Use macro guard.
344 * testsuite/22_locale/codecvt_unicode_char.cc: Same.
345 * testsuite/22_locale/ctor_copy_dtor.cc: And here.
346
347 * include/bits/localefwd.h (class locale::facet): Add __enc_traits
348 as a friend for _S_*_c_locale functions.
349 * include/bits/codecvt.h (__enc_traits::__enc_traits): Add locale
350 argument to default constructor so that CODESET information can be
351 deduced.
352 * include/bits/locale_facets.h (messages_byname):
353 Re-implement. Remove specializations.
354 * src/locale.cc (messages_byname<char>): Remove specialization.
355 (messages_byname<wchar_t>): Same.
356 * config/locale/c_locale_ieee_1003.1-200x.cc: New file.
357 * config/locale/c_locale_ieee_1003.1-200x.h: New file.
358 * config/locale/messages_members_ieee_1003.1-200x.cc: New file.
359 * config/locale/messages_members_ieee_1003.1-200x.h: New file.
360 * config/locale/messages_members_gnu.cc: New file.
361 * config/locale/messages_members_gnu.h: New file.
362 * config/locale/messages_members_generic.cc: New file.
363 * config/locale/messages_members_generic.h: New file.
364
365 * docs/html/configopts.html: Add documentation for new locale
366 model, ieee_1003.1. Adjust other flags for current defaults.
367 * docs/html/22_locale/locale.html: Update.
368 * docs/html/22_locale/howto.html: Add link to messages.html. Organize.
369 * docs/html/22_locale/messages.html: New.
370
371 * src/Makefile.am (sources): Add messages_virtuals.cc.
372 * src/Makefile.in: Regenerate.
373 * include/Makefile.am (allstamps): Add stamp-messages_model.
374 (stamp-messages_model): Add.
375 * include/Makefile.in: Regenerate.
376 * acinclude.m4 (GLIBCPP_ENABLE_CLOCALE): Add in messages configury.
377 * aclocal.m4: Regenerate.
378 * configure: Regenerate.
379
380 * testsuite_flags.in (--cxxflags): Add LOCALEDIR.
381 * testsuite/lib/libstdc++-v3-dg.exp: Remove broken LD_LIBRARY_PATH
382 bits for Irix.
383 * acinclude (GLIBCPP_ENABLE_CLOCALE): Set glibcpp_localedir to the
384 build directories message catalog base directory, and export.
385 Eventually this should probably be made to deal with build and
386 install directories. For now, punt on this as the library itself
387 doesn't use message catalogs (yet).
388 * testsuite/22_locale/messages.cc: New file.
389 * testsuite/22_locale/messages_char_members.cc: New file.
390 * testsuite/22_locale/messages_byname.cc: New file.
391
392 2001-08-06 Phil Edwards <pme@sources.redhat.com>
393
394 * acinclude.m4 (GLIBCPP_CONFIGURE_TESTSUITE): New macro, calls...
395 (GLIBCPP_CHECK_SETRLIMIT): ...this new macro, which also uses...
396 (GLIBCPP_CHECK_SETRLIMIT_ancilliary): ...this new macro.
397 * configure.in (AM_CONFIG_HEADER): Also generate testsuite_hooks.h.
398 Call GLIBCPP_CONFIGURE_TESTSUITE.
399 * aclocal.m4: Regenerate.
400 * config.h.in: Regenerate.
401 * configure: Regenerate.
402
403 * testsuite/lib/libstdc++-v3-dg.exp: Download new header instead
404 of old header.
405
406 * testsuite_flags.in: Add build dir's testsuite to INCLUDES.
407 * testsuite/debug_assert.h: Removed; contents merged into...
408 * testsuite/testsuite_hooks.h.in: ...here. New file.
409 * testsuite/17_intro/header_ciso646.cc: No longer include
410 debug_assert.h, include testsuite_hooks.h instead.
411 * testsuite/17_intro/header_fstream.cc: Likewise.
412 * testsuite/17_intro/header_iomanip.cc: Likewise.
413 * testsuite/17_intro/header_ios.cc: Likewise.
414 * testsuite/17_intro/header_iosfwd.cc: Likewise.
415 * testsuite/17_intro/header_iostream.cc: Likewise.
416 * testsuite/17_intro/header_istream.cc: Likewise.
417 * testsuite/17_intro/header_ostream.cc: Likewise.
418 * testsuite/17_intro/header_sstream.cc: Likewise.
419 * testsuite/17_intro/header_streambuf.cc: Likewise.
420 * testsuite/18_support/numeric_limits.cc: Likewise.
421 * testsuite/19_diagnostics/stdexceptions.cc: Likewise.
422 * testsuite/20_util/allocator_members.cc: Likewise.
423 * testsuite/20_util/auto_ptr.cc: Likewise.
424 * testsuite/20_util/pairs.cc: Likewise.
425 * testsuite/21_strings/append.cc: Likewise.
426 * testsuite/21_strings/capacity.cc: Likewise.
427 * testsuite/21_strings/char_traits_requirements.cc: Likewise.
428 * testsuite/21_strings/compare.cc: Likewise.
429 * testsuite/21_strings/ctor_copy_dtor.cc: Likewise. Also set up
430 call to (disabled) __set_testsuite_memlimit() wrapper.
431 * testsuite/21_strings/element_access.cc: Likewise.
432 * testsuite/21_strings/find.cc: Likewise.
433 * testsuite/21_strings/insert.cc: Likewise. Also set up call to
434 (disabled) __set_testsuite_memlimit() wrapper.
435 * testsuite/21_strings/inserters_extractors.cc: Likewise.
436 * testsuite/21_strings/invariants.cc: Likewise.
437 * testsuite/21_strings/nonmember.cc: Likewise.
438 * testsuite/21_strings/operations.cc: Likewise.
439 * testsuite/21_strings/replace.cc: Likewise.
440 * testsuite/21_strings/rfind.cc: Likewise.
441 * testsuite/21_strings/substr.cc: Likewise.
442 * testsuite/22_locale/codecvt_char_char.cc: Likewise.
443 * testsuite/22_locale/codecvt_unicode_char.cc: Likewise.
444 * testsuite/22_locale/codecvt_unicode_wchar_t.cc: Likewise.
445 * testsuite/22_locale/codecvt_wchar_t_char.cc: Likewise.
446 * testsuite/22_locale/ctor_copy_dtor.cc: Likewise.
447 * testsuite/22_locale/ctype_char_members.cc: Likewise.
448 * testsuite/22_locale/ctype_wchar_t_members.cc: Likewise.
449 * testsuite/22_locale/facet.cc: Likewise.
450 * testsuite/22_locale/global_templates.cc: Likewise.
451 * testsuite/22_locale/members.cc: Likewise.
452 * testsuite/22_locale/numpunct_byname.cc: Likewise.
453 * testsuite/22_locale/numpunct_char_members.cc: Likewise.
454 * testsuite/22_locale/operators.cc: Likewise.
455 * testsuite/22_locale/static_members.cc: Likewise.
456 * testsuite/23_containers/bitset_ctor.cc: Likewise.
457 * testsuite/23_containers/bitset_members.cc: Likewise.
458 * testsuite/23_containers/bitset_shift.cc: Likewise.
459 * testsuite/23_containers/vector_capacity.cc: Likewise.
460 * testsuite/23_containers/vector_ctor.cc: Likewise.
461 * testsuite/23_containers/vector_element_access.cc: Likewise.
462 * testsuite/23_containers/vector_modifiers.cc: Likewise.
463 * testsuite/24_iterators/istreambuf_iterator.cc: Likewise.
464 * testsuite/24_iterators/iterator.cc: Likewise.
465 * testsuite/24_iterators/ostreambuf_iterator.cc: Likewise.
466 * testsuite/25_algorithms/binary_search.cc: Likewise.
467 * testsuite/25_algorithms/copy.cc: Likewise.
468 * testsuite/25_algorithms/heap.cc: Likewise.
469 * testsuite/25_algorithms/lower_bound.cc: Likewise.
470 * testsuite/25_algorithms/min_max.cc: Likewise.
471 * testsuite/25_algorithms/partition.cc: Likewise.
472 * testsuite/25_algorithms/rotate.cc: Likewise.
473 * testsuite/25_algorithms/sort.cc: Likewise.
474 * testsuite/26_numerics/c_math.cc: Likewise.
475 * testsuite/26_numerics/complex_inserters_extractors.cc: Likewise.
476 * testsuite/26_numerics/complex_value.cc: Likewise.
477 * testsuite/27_io/filebuf.cc: Likewise.
478 * testsuite/27_io/filebuf_members.cc: Likewise.
479 * testsuite/27_io/filebuf_virtuals.cc: Likewise.
480 * testsuite/27_io/fpos.cc: Likewise.
481 * testsuite/27_io/fstream_members.cc: Likewise.
482 * testsuite/27_io/ifstream_members.cc: Likewise.
483 * testsuite/27_io/ios_base_callbacks.cc: Likewise.
484 * testsuite/27_io/ios_base_members_static.cc: Likewise.
485 * testsuite/27_io/ios_base_storage.cc: Likewise.
486 * testsuite/27_io/ios_ctor.cc: Likewise.
487 * testsuite/27_io/ios_init.cc: Likewise.
488 * testsuite/27_io/ios_manip_basefield.cc: Likewise.
489 * testsuite/27_io/ios_manip_fmtflags.cc: Likewise.
490 * testsuite/27_io/ios_members.cc: Likewise.
491 * testsuite/27_io/istream_extractor_arith.cc: Likewise.
492 * testsuite/27_io/istream_extractor_char.cc: Likewise.
493 * testsuite/27_io/istream_extractor_other.cc: Likewise.
494 * testsuite/27_io/istream_manip.cc: Likewise.
495 * testsuite/27_io/istream_seeks.cc: Likewise.
496 * testsuite/27_io/istream_sentry.cc: Likewise.
497 * testsuite/27_io/istream_unformatted.cc: Likewise.
498 * testsuite/27_io/istringstream_members.cc: Likewise.
499 * testsuite/27_io/narrow_stream_objects.cc: Likewise.
500 * testsuite/27_io/ofstream_members.cc: Likewise.
501 * testsuite/27_io/ostream_inserter_arith.cc: Likewise.
502 * testsuite/27_io/ostream_inserter_char.cc: Likewise.
503 * testsuite/27_io/ostream_inserter_other.cc: Likewise.
504 * testsuite/27_io/ostream_manip.cc: Likewise.
505 * testsuite/27_io/ostream_seeks.cc: Likewise.
506 * testsuite/27_io/ostream_unformatted.cc: Likewise.
507 * testsuite/27_io/ostringstream_members.cc: Likewise.
508 * testsuite/27_io/streambuf.cc: Likewise.
509 * testsuite/27_io/stringbuf.cc: Likewise.
510 * testsuite/27_io/stringbuf_virtuals.cc: Likewise.
511 * testsuite/27_io/stringstream.cc: Likewise.
512 * testsuite/27_io/stringstream_members.cc: Likewise.
513 * testsuite/27_io/wide_stream_objects.cc: Likewise.
514
515 2001-07-31 Loren J. Rittle <ljrittle@acm.org>
516
517 * src/gen-num-limits.cc: Use __LONG_LONG_MAX__.
518
519 2001-07-30 Benjamin Kosnik <bkoz@redhat.com>
520
521 * configure.target: Remove mips from cpu table.
522 * config/cpu/mips/bits/atomicity.h: Remove generic
523 versions. Comment sgidefs include.
524
525 2001-07-25 H.J. Lu <hjl@gnu.org>
526
527 * configure.target (cpu_include_dir): Set to `config/cpu/mips'
528 for mips.
529
530 * config/cpu/mips/bits/atomicity.h: New.
531
532 2001-07-25 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
533
534 * acinclude.m4: CHECK_MATH_DECL_AND_LINKAGE for hypot, hypotf,
535 hypotl, atan2f, atan2l. Remove from REPLACE_MATHFUNCS list.
536 * aclocal.m4: Regenerate.
537 * config.h.in: Likewise.
538 * configure: Likewise.
539 * libmath/Makefile.am (EXTRA_LONG_DOUBLE_yes): Remove hypotl.c
540 (EXTRA_DIST): Remove hypot.c hypotf.c.
541 * libmath/Makefile.am: Regenerate.
542 * libmath/hypotf.c: Remove.
543 * libmath/hypot.c: Likewise.
544 * libmath/hypotl.c: Likewise.
545 * libmath/stubs.c: The macros seen here are HAVE_xxx, not
546 _GLIBCPP_HAVE_xxx. Add long double versions.
547
548 2001-07-23 David Edelsohn <edelsohn@gnu.org>
549
550 * include/bits/limits_generic.h (int): Set digits and digits10
551 appropriately for word size.
552 (unsigned int,long,unsigned long): Likewise.
553
554 2001-07-19 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
555
556 * include/bits/stl_algo.h : Fix typos.
557 * testsuite/25_algorithms/unique.cc: New file.
558
559 2001-07-19 Phil Edwards <pme@sources.redhat.com>
560 Mark Mitchell <mark@codesourcery.com>
561
562 Merge from cp-parser-branch.
563 * include/bits/basic_string.h: Qualify symbols with 'template'.
564 * include/bits/basic_string.tcc: Likewise.
565 * include/bits/fstream.tcc: Likewise.
566 * include/bits/istream.tcc: Likewise.
567 * include/bits/sstream.tcc: Likewise.
568 * include/bits/std_istream.h: Likewise.
569 * include/bits/stl_iterator.h: Likewise.
570 * include/bits/streambuf.tcc: Likewise.
571 * src/gen-num-limits.cc: Add 'template<>' to specializations.
572 * src/locale.cc: Likewise.
573
574 2001-07-19 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
575 Bert De Knuydt <Bert.Deknuydt@esat.kuleuven.ac.be>
576
577 * src/gen-num-limits.cc (set_signals_handler): New function.
578 Factor out signals setting. Set signal handler for SIGILL.
579
580 2001-07-18 Phil Edwards <pme@sources.redhat.com>
581
582 * docs/html/27_io/howto.html: Fix typo.
583 * docs/html/faq/index.html: Minor updates for 3.0 all around.
584 * docs/html/faq/index.txt: Regenerated.
585
586 2001-07-18 Stephen M. Webb <stephen@bregmasoft..com>
587 Roman Sulzhyk <roman_sulzhyk@yahoo.com>
588
589 libstdc++/3599
590 * include/bits/ostream.tcc (ostream::put): Fixed error condition check.
591 * testsuite/27_io/streambuf.cc (test07): Added new regression test.
592
593 2001-07-17 Stephen M. Webb <stephen@bregmasoft.com>r
594
595 All occurrences of the __value_type() and __distance_type()
596 functions, which were required to support the HP STL, have been
597 removed along with all the auxiliary forwarding functions that
598 were required to support their use.
599
600 The __iterator_category() function was pretty much left alone
601 because there was no benefit to removing it and its use made code
602 just a little more readable.
603
604 Incidences of distance() with nonstandard argument list were
605 replaced by calls to the standard function (only in the files
606 affected by the removal of the other HP functions).
607
608 The signature of the rotate() algorithm was changed to match the
609 standard.
610
611 Headers were reformatted under C++STYLE guidelines (indentation,
612 linebreaks, typename keyword).
613
614 * include/bits/stl_algo.h: replaced __value_type() and
615 __distance_type() with iterator_traits, eliminated auxiliary
616 support functions required to support said function usage.
617 Changed nonstandard distance() call to standard call.
618
619 * include/bits/stl_algobase.h: Same.
620 * include/bits/stl_heap.h: Same.
621 * include/bits/stl_numeric.h: Same.
622 * include/bits/stl_uninitialized.h: Same.
623 * include/bits/stl_iterator_base_types.h (__value_type()):
624 Removed.
625 (__distance_type()): Removed.
626 (value_type()): Gone.
627 (distance_type()): Done in.
628 (iterator_category()): Hasta la vista, baby.
629
630 * include/bits/stl_iterator_base_funcs.h (iterator_category()):
631 Replaced with __iterator_category().
632 * include/backward/iterator.h: moved definition of value_type(),
633 distance_type(), and iterator_category() out of std:: and into
634 here.
635 * testsuite/23_containers/vector_ctor.cc (test03): New testcases.
636 * testsuite/23_containers/vector_modifiers.cc (test03): New testcases.
637 * testsuite/25_algorithms/rotate.cc: New testcase.
638 * testsuite/25_algorithms/copy.cc: New testcase.
639 * testsuite/25_algorithms/sort.cc: Same.
640 * testsuite/25_algorithms/heap.cc: Same.
641 * testsuite/25_algorithms/partition.cc: Same.
642 * testsuite/25_algorithms/binary_search.cc: Same.
643 * testsuite/26_numerics/sum_diff.cc: Ditto.
644
645 001-07-17 Benjamin Kosnik <bkoz@redhat.com>
646
647 * testsuite/README: Add notes on naming test cases.
648 * testsuite/22_locale/members.cc: Mark as xfail.
649 * testsuite/22_locale/numpunct_char_members.cc: Same.
650
651 2001-07-16 Stephen M. Webb <stephen@bregmasoft.com>
652
653 * acinclude.m4 (GLIBCPP_ENABLE_CHEADERS): Use glibcpp_srcdir when
654 setting C_INCLUDE_DIR.
655 * configure.in: Revert yesterday's LN_S change.
656 * aclocal.m4: Regenerate.
657 * configure: Regenerate.
658
659 2001-07-15 Phil Edwards <pme@sources.redhat.com>
660
661 * configure.in: Temporarily force LN_S to copy instead of symlink.
662 * configure: Regenerate.
663
664 2001-07-13 Phil Edwards <pme@sources.redhat.com>
665
666 * include/bits/std_sstream.h (basic_stringbuf::basic_stringbuf(string):
667 Initialize _M_string with pointer-and-size constructor, not just
668 pointer. Fix some comments.
669 * testsuite/21_strings/ctor_copy_dtor.cc (test03): New test.
670 * testsuite/27_io/stringbuf.cc (test02): Remove unused variable.
671 (test03): Add embedded-NUL tests.
672
673 * mkcheck.in: When printing totals, match the order of the tests.
674 * include/bits/stringfwd.h: Use same declaration keywords.
675 * include/bits/std_iosfwd.h: Cosmetic spacing.
676
677 2001-07-13 Stephen M. Webb <stephen@bregmasoft.com>
678 Loren J. Rittle <ljrittle@acm.org>
679 Phil Edwards <pme@sources.redhat.com>
680
681 * include/Makefile.am: New file encapsulating header generation rules.
682 * Makefile.am (SUBDIRS): Prepend 'include' directory.
683 * acinclude.m4: Moved/removed rules for building various headers.
684 * configure.in (AC_OUTPUT): Add include/Makefile.
685 * mkc++config: Removed.
686
687 * testsuite_flags.in: Changed build-includes to match new scheme.
688 * mknumeric_limits: Likewise.
689 * libio/Makefile.am: Changed INCLUDES to maatch new header scheme.
690 * libmath/Makefile.am: Likewise.
691 * libsupc++/Makefile.am: Likewise.
692 * src/Makefile.am: Likewise; removed rules to build headers.
693 * libmath/mathconf.h: Changed #include'd header names to match.
694 * libmath/stubs.c: Likewise.
695 * src/gen-num-limits.cc: Likewise.
696
697 * configure: Regenerated.
698 * config.h.in: Regenerated.
699 * aclocal.m4: Regenerated.
700 * Makefile.in: Regenerated.
701 * include/Makefile.in: Regenerated.
702 * libio/Makefile.in: Regenerated.
703 * libmath/Makefile.in: Regenerated.
704 * libsupc++/Makefile.in: Regenerated.
705 * src/Makefile.in: Regenerated.
706 * testsuite/Makefile.in: Regenerated.
707
708 2001-07-11 Felix Natter <fnatter@gmx.net>
709
710 * docs/html/17_intro/porting-howto.xml: Initial checkin of
711 master copy.
712 * docs/html/17_intro/porting-howto.html: check in v0.9.3
713
714 2001-07-11 Phil Edwards <pme@sources.redhat.com>
715
716 * docs/doxygen/run_doxygen: Don't keep output from previous run.
717 * docs/doxygen/user.cfg.in: Tweaks.
718 * include/bits/c++config: Documentation comments for Doxygen.
719 * include/bits/char_traits.h: Likewise.
720 * include/bits/limits_generic.h: Likewise.
721 * include/bits/std_stdexcept.h: Likewise.
722 * include/bits/stl_pair.h: Likewise.
723 * libsupc++/exception: Likewise.
724 * libsupc++/new: Likewise.
725 * libsupc++/typeinfo: Likewise.
726 * libmath/Makefile.am: Update and correct copyright.
727
728 2001-07-10 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
729
730 * acinclude.m4: Don't AC_REPLACE_MATHFUNCS expf and atan2f.
731 * aclocal.m4: Regenerate.
732 * configure: Same.
733
734 2001-07-09 Phil Edwards <pme@sources.redhat.com>
735
736 * docs/html/configopts.html: Fix thinko.
737 * docs/html/27_io/howto.html: Fix thinko and HTML markup.
738 * include/bits/stl_iterator.h: Fix typo.
739
740 2001-07-09 Phil Edwards <pme@sources.redhat.com>
741
742 * docs/html/explanations.html: New file.
743 * docs/html/configopts.html: Link to it to provide more notes
744 on cstdio. Minor markup and spacing fixes.
745 * docs/html/27_io/howto.html: Talk about sync_with_stdio.
746
747 2001-07-09 Kriang Lerdsuwanakij <lerdsuwa@users.sourceforge.net>
748
749 * include/bits/valarray_meta.h (_Expr::operator+): Use qualified id
750 for _Expr template template argument.
751 (_Expr::operator-): Likewise.
752 (_Expr::operator~): Likewise.
753 (_Expr::operator!): Likewise.
754 (_DEFINE_EXPR_UNARY_OPERATOR): Likewise.
755
756 2001-07-06 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
757
758 * libmath/Makefile.am (EXTRA_DIST): Remove atan2f.c and expf.c
759 * libmath/Makefile.in: Regenerate.
760 * libmath/expf.c: Remove.
761 * libmath/atan2f.c: Likewise.
762
763 2001-07-06 Daniel Jacobowitz <drow@mvista.com>
764
765 * configure.in: Remove NATIVE, NULL_TARGET.
766 Set CANADIAN only for Canadian crosses. Set xcompiling
767 for both Canadian crosses and host-x-host crosses.
768 * configure: Regenerated.
769
770 2001-07-06 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
771
772 * include/bits/stl_vector.h (vector::_M_initialize_aux): Fix typo.
773
774 2001-07-05 Jason Merrill <jason_merrill@redhat.com>
775
776 * testsuite_flags.in (--build-includes): backward, not backwards.
777
778 2001-07-04 Jeffrey Oldham <oldham@codesourcery.com>
779
780 * include/ext/ropeimpl.h (_Rope_RopeRep::_M_free_c_string):
781 Replace destroy by _Destroy.
782 (_Rope_RopeRep::_S_free_string): Likewise.
783 (rope::c_str()): Likewise.
784 * include/ext/slist (_Slist_base::_M_erase_after>): Likewise.
785 (_Slist_base::_M_erase_after): Likewise.
786 (slist::_M_create_node): Replace construct by _Construct.
787 (slist::pop_front): Replace destroy by _Destroy.
788 * include/ext/stl_hashtable.h (hashtable::_M_new_node): Replace
789 construct by _Construct.
790 (hashtable::_M_delete_node): Replace destroy by _Destroy.
791 * include/ext/stl_rope.h (rope::rope): Replace construct by
792 _Construct.
793 (rope::copy): Replace destroy by _Destroy.
794
795 2001-07-03 Benjamin Kosnik <bkoz@redhat.com>
796
797 * include/bits/localefwd.h: Format.
798 * include/bits/locale_facts.tcc (locale::combine): Adjust.
799 * src/locale.cc (locale::locale::(_Impl)): Don't call
800 _M_add_reference.
801 (locale::facet::_M_remove_reference): Simplify.
802 * src/globals.cc (locale_impl_c): New. Format.
803 (locale_c): New.
804 * src/ios.cc (ios_base::Init::Init): Increment _S_ios_base_init last.
805
806 2001-07-02 Loren J. Rittle <ljrittle@acm.org>
807
808 * acinclude.m4 (GLIBCPP_ENABLE_THREADS): Protect variable from shell
809 expansion (thanks to Alexandre Oliva).
810 * aclocal.m4: Regenerate.
811 * configure: Regenerate.
812
813 2001-07-02 Benjamin Kosnik <bkoz@redhat.com>
814
815 * src/locale.cc (locale::locale(const char*)): Make sure global
816 locales are initialized.
817 * include/bits/locale_facets.tcc (locale::combine): Refcout should
818 be zero, not one as it's return-by-value.
819 * testsuite/27_io/ios_base_callbacks.cc (test01): Don't check for
820 named locales here.
821 * testsuite/22_locale/ctor_copy_dtor.cc (test01): Instead, check
822 for it here.
823 (test02): Add test.
824 * libsupc++/eh_alloc.cc: Use climits, not limits.h.
825
826 2001-07-02 Loren J. Rittle <ljrittle@acm.org>
827
828 libstdc++/3284
829 * acinclude.m4 (GLIBCPP_ENABLE_THREADS): Portability enhancement.
830 * aclocal.m4: Regenerate.
831 * configure: Regenerate.
832
833 2001-07-02 Loren J. Rittle <ljrittle@acm.org>
834
835 libstdc++/3243
836 * acinclude.m4 (GLIBCPP_ENABLE_THREADS): Add relative path to
837 staged/installed area to support -I-. Document.
838 * aclocal.m4: Regenerate.
839 * configure: Regenerate.
840
841 2001-07-02 Loren J. Rittle <ljrittle@acm.org>
842
843 libstdc++/2211
844 * src/ios.cc (ios_base::Init::_S_ios_create): Rename __bufsize to
845 __out_bufsize. Add __in_bufsize, document it and use it.
846
847 2001-07-01 Stephen M. Webb <stephen@bregmasoft.com>
848
849 * include/bits/stl_construct.h (construct): Remove.
850 (destroy): Remove.
851 (__destroy): Replaced by use of iterator_traits.
852 * include/bits/stl_deque.h: replaced HP iterator functions with
853 iterator_traits.
854 (construct): changed to _Construct.
855 (destroy): changed to _Destroy.
856 * include/bits/stl_tempbuf.h: Same.
857 * include/bits/stl_tree.h: Same.
858 * include/bits/stl_vector.h: Same.
859 * include/backward/iterator.h (construct): moved definition to here.
860 (destroy): Same.
861
862 2001-06-29 Benjamin Kosnik <bkoz@redhat.com>
863
864 * include/bits/locale_facets.tcc (locale::combine): Clone _Impl.
865 before replacing facet.
866 * include/bits/localefwd.h (locale::_Impl::_M_remove_reference):
867 Correct decrement.
868 * src/localename.cc (locale::_Impl): Correct ctor initialization
869 lists. Initialize ref count with one. Simplify.
870 * src/locale.cc: Add comment.
871 * testsuite/22_locale/numpunct.cc (test01): Add derivation test.
872 * testsuite/22_locale/numpunct_char_members.cc (test01): Add tests.
873 * testsuite/22_locale/members.cc (test02): Fix.
874
875 2001-06-27 Phil Edwards <pme@sources.redhat.com>
876
877 * include/backward/algo.h: Add "GPL plus runtime exception" comment
878 block, this time for real.
879 * include/backward/algobase.h: Likewise.
880 * include/backward/alloc.h: Likewise.
881 * include/backward/bvector.h: Likewise.
882 * include/backward/defalloc.h: Likewise.
883 * include/backward/deque.h: Likewise.
884 * include/backward/function.h: Likewise.
885 * include/backward/hash_map.h: Likewise.
886 * include/backward/hash_set.h: Likewise.
887 * include/backward/hashtable.h: Likewise.
888 * include/backward/heap.h: Likewise.
889 * include/backward/iterator.h: Likewise.
890 * include/backward/list.h: Likewise.
891 * include/backward/map.h: Likewise.
892 * include/backward/multimap.h: Likewise.
893 * include/backward/multiset.h: Likewise.
894 * include/backward/pair.h: Likewise.
895 * include/backward/rope.h: Likewise.
896 * include/backward/set.h: Likewise.
897 * include/backward/slist.h: Likewise.
898 * include/backward/stack.h: Likewise.
899 * include/backward/strstream: Likewise.
900 * include/backward/tempbuf.h: Likewise.
901 * include/backward/tree.h: Likewise.
902 * include/backward/vector.h: Likewise.
903 * include/bits/pthread_allocimpl.h: Likewise.
904 * include/bits/std_algorithm.h: Likewise.
905 * include/bits/std_bitset.h: Likewise.
906 * include/bits/std_deque.h: Likewise.
907 * include/bits/std_functional.h: Likewise.
908 * include/bits/std_iterator.h: Likewise.
909 * include/bits/std_list.h: Likewise.
910 * include/bits/std_map.h: Likewise.
911 * include/bits/std_memory.h: Likewise.
912 * include/bits/std_numeric.h: Likewise.
913 * include/bits/std_queue.h: Likewise.
914 * include/bits/std_set.h: Likewise.
915 * include/bits/std_stack.h: Likewise.
916 * include/bits/std_utility.h: Likewise.
917 * include/bits/std_vector.h: Likewise.
918 * include/bits/stl_algo.h: Likewise.
919 * include/bits/stl_algobase.h: Likewise.
920 * include/bits/stl_alloc.h: Likewise.
921 * include/bits/stl_bvector.h: Likewise.
922 * include/bits/stl_construct.h: Likewise.
923 * include/bits/stl_deque.h: Likewise.
924 * include/bits/stl_function.h: Likewise.
925 * include/bits/stl_heap.h: Likewise.
926 * include/bits/stl_iterator.h: Likewise.
927 * include/bits/stl_iterator_base_funcs.h: Likewise.
928 * include/bits/stl_iterator_base_types.h: Likewise.
929 * include/bits/stl_list.h: Likewise.
930 * include/bits/stl_map.h: Likewise.
931 * include/bits/stl_multimap.h: Likewise.
932 * include/bits/stl_multiset.h: Likewise.
933 * include/bits/stl_numeric.h: Likewise.
934 * include/bits/stl_pair.h: Likewise.
935 * include/bits/stl_pthread_alloc.h: Likewise.
936 * include/bits/stl_queue.h: Likewise.
937 * include/bits/stl_raw_storage_iter.h: Likewise.
938 * include/bits/stl_relops.h: Likewise.
939 * include/bits/stl_set.h: Likewise.
940 * include/bits/stl_stack.h: Likewise.
941 * include/bits/stl_tempbuf.h: Likewise.
942 * include/bits/stl_threads.h: Likewise.
943 * include/bits/stl_tree.h: Likewise.
944 * include/bits/stl_uninitialized.h: Likewise.
945 * include/bits/stl_vector.h: Likewise.
946 * include/bits/type_traits.h: Likewise.
947 * include/ext/hash_map: Likewise.
948 * include/ext/hash_set: Likewise.
949 * include/ext/rope: Likewise.
950 * include/ext/ropeimpl.h: Likewise.
951 * include/ext/slist: Likewise.
952 * include/ext/stl_hash_fun.h: Likewise.
953 * include/ext/stl_hashtable.h: Likewise.
954 * include/ext/stl_rope.h: Likewise.
955 * src/bitset.cc: Likewise.
956 * src/strstream.cc: Likewise.
957
958 2001-06-26 Benjamin Kosnik <bkoz@redhat.com>
959 <vakatov@ncbi.nlm.nih.gov>
960
961 libstdc++/3272
962 * include/bits/streambuf.tcc (__copy_streambufs): Don't set eofbit.
963 * testsuite/27_io/ostream_inserter_other.cc (test04): Add test.
964 * testsuite/27_io/istream_extractor_other.cc: Fix.
965
966 2001-06-26 Zoltan Hidvegi <hzoli@austin.ibm.com>
967
968 * acinclude.m4 (glibcpp_toolexeclibdir): Make multilib safe.
969 * aclocal.m4: Regenerate.
970 * configure: Regenerate.
971
972 2001-06-26 Benjamin Kosnik <bkoz@redhat.com>
973
974 * include/bits/stream_iterator.h (istream_iterator): Add copy ctor.
975 (ostream_iterator): Same.
976 * include/bits/stl_iterator.h (front_insert_iterator::operator=):
977 Change argument to const_reference.
978 (back_insert_iterator): Same.
979
980 2001-06-26 Benjamin Kosnik <bkoz@redhat.com>
981
982 * include/bits/sbuf_iter.h: Change to..
983 * include/bits/streambuf_iterator.h: This.
984 * include/bits/stl_iterator.h: Take out of here...
985 * include/bits/stream_iterator.h: Add.
986 * src/Makefile.am (base_headers): Add streambuf_iterator,
987 stream_iterator.h
988 * src/Makefile.in: Regenerate.
989 * include/bits/std_string.h: Adjust includes.
990 * include/bits/basic_ios.h: Same.
991 * include/bits/locale_facets.tcc: Same.
992 * include/bits/std_iosfwd.h: Same.
993
994 * include/bits/std_iterator.h: Add istream, ostream includes.
995 * include/bits/stl_iterator.h: Tweak.
996 * testsuite/24_iterators/ostream_iterator.cc: Add test.
997 * testsuite/24_iterators/istream_iterator.cc: Same.
998 * testsuite/23_containers/multiset.cc: Add iterator include.
999
1000 2001-06-26 Phil Edwards <pme@sources.redhat.com>
1001
1002 * acinclude.m4: Clean extraneous tabs, rewrap 'test' lines.
1003 * aclocal.m4: Regenerate.
1004 * configure: Regenerate.
1005
1006 2001-06-26 Felix Natter <f.natter@ndh.net>
1007
1008 * docs/html/17_intro/porting-howto.html: Fixed some errors.
1009
1010 2001-06-26 Benjamin Kosnik <bkoz@redhat.com>
1011
1012 * include/bits/stl_iterator.h (istream_iterator::operator->): Fix
1013 return values.
1014 (istream_iterator::operator*): Same.
1015
1016 2001-06-26 Benjamin Kosnik <bkoz@redhat.com>
1017 Alexandre Petit-Bianco <apbianco@redhat.com>
1018
1019 * testsuite/21_strings/element_access.cc (test01): Chill Out Cafe
1020 is on 41st, not 14th.
1021
1022 2001-06-26 Benjamin Kosnik <bkoz@redhat.com>
1023
1024 * include/bits/std_iterator.h: Include sbuf_iter.h via std_ios.h.
1025
1026 * include/bits/stl_iterator.h (istream_iterator): Inherit from
1027 iterator.
1028 (ostream_iterator): Same.
1029 * testsuite/24_iterators/istream_iterator.cc: New file.
1030 * testsuite/24_iterators/ostream_iterator.cc: New file.
1031
1032 * include/bits/sbuf_iter.h: Remove self typedef.
1033 * testsuite/24_iterators/ostreambuf_iterator.cc: Add test.
1034 * testsuite/24_iterators/istreambuf_iterator.cc: Add test.
1035
1036 * include/bits/stl_iterator.h (reverse_iterator): Remove
1037 extraneous typedefs. Add typename.
1038 (__normal_iterator): Remove typedefs referring to self. Add typename.
1039 (reverse_bidiretional_iterator): Remove, not longer required.
1040
1041 2001-06-26 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
1042
1043 * include/bits/stl_iterator.h (__normal_iterator<>): Qualify
1044 dependent names with `typename'. Bring in various required
1045 iterator_traits members. Can't imagine why that used to work.
1046
1047 2001-06-25 Phil Edwards <pme@sources.redhat.com>
1048 Kurt Garloff <garloff@suse.de>
1049
1050 PR libstdc++/3377
1051 * src/cmath.cc: New [version of an old] file; instantiate
1052 __cmath_power to start with.
1053 * src/Makefile.am (sources): Add cmath.cc (and alphabetize).
1054 * Makefile.in: Regenerate.
1055 * libio/Makefile.in: Regenerate.
1056 * libmath/Makefile.in: Regenerate.
1057 * libsupc++/Makefile.in: Regenerate.
1058 * src/Makefile.in: Regenerate.
1059 * testsuite/Makefile.in: Regenerate.
1060
1061 2001-06-24 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
1062
1063 * libmath/stubs.c: Fix thinko.
1064
1065 2001-06-24 David Edelsohn <dje@watson.ibm.com>
1066
1067 * libmath/stubs.c (sqrtf): Define.
1068 (tanf): Correct typo.
1069
1070 2001-06-22 Benjamin Kosnik <bkoz@redhat.com>
1071
1072 * include/bits/stl_iterator.h (reverse_iterator): Inherit from
1073 iterator.
1074 (back_insert_iterator): Same.
1075 (front_insert_iterator): Same.
1076 (insert_iterator): Same.
1077
1078 * testsuite/20_util/raw_storage_iterator.cc: Modify.
1079 * testsuite/24_iterators/reverse_iterator.cc: New file.
1080 * testsuite/24_iterators/back_insert_iterator.cc: New file.
1081 * testsuite/24_iterators/front_insert_iterator.cc: New file.
1082 * testsuite/24_iterators/insert_iterator.cc: New file.
1083
1084 2001-06-22 Phil Edwards <pme@sources.redhat.com>
1085
1086 * include/*: Revert comment/license change from yesterday for all
1087 except libsupc++/unwind-cxx.h.
1088 * src/bitset.cc: Likewise.
1089 * src/strstream.cc: Likewise.
1090
1091 2001-06-22 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
1092
1093 * libmath/stubs.c: New file.
1094 (tanhf): Fix typo.
1095 (powf): Likewise.
1096
1097 * libmath/Makefile.am (libmath_la_SOURCES): Add.
1098 * libmath/Makefile.in. Regenerate.
1099
1100 2001-06-21 Phil Edwards <pme@sources.redhat.com>
1101
1102 * include/backward/algo.h: Add "GPL plus runtime exception" comment.
1103 * include/backward/algobase.h: Likewise.
1104 * include/backward/alloc.h: Likewise.
1105 * include/backward/bvector.h: Likewise.
1106 * include/backward/defalloc.h: Likewise.
1107 * include/backward/deque.h: Likewise.
1108 * include/backward/function.h: Likewise.
1109 * include/backward/hash_map.h: Likewise.
1110 * include/backward/hash_set.h: Likewise.
1111 * include/backward/hashtable.h: Likewise.
1112 * include/backward/heap.h: Likewise.
1113 * include/backward/iterator.h: Likewise.
1114 * include/backward/list.h: Likewise.
1115 * include/backward/map.h: Likewise.
1116 * include/backward/multimap.h: Likewise.
1117 * include/backward/multiset.h: Likewise.
1118 * include/backward/pair.h: Likewise.
1119 * include/backward/rope.h: Likewise.
1120 * include/backward/set.h: Likewise.
1121 * include/backward/slist.h: Likewise.
1122 * include/backward/stack.h: Likewise.
1123 * include/backward/strstream: Likewise.
1124 * include/backward/tempbuf.h: Likewise.
1125 * include/backward/tree.h: Likewise.
1126 * include/backward/vector.h: Likewise.
1127 * include/bits/pthread_allocimpl.h: Likewise.
1128 * include/bits/std_algorithm.h: Likewise.
1129 * include/bits/std_bitset.h: Likewise.
1130 * include/bits/std_deque.h: Likewise.
1131 * include/bits/std_functional.h: Likewise.
1132 * include/bits/std_iterator.h: Likewise.
1133 * include/bits/std_list.h: Likewise.
1134 * include/bits/std_map.h: Likewise.
1135 * include/bits/std_memory.h: Likewise.
1136 * include/bits/std_numeric.h: Likewise.
1137 * include/bits/std_queue.h: Likewise.
1138 * include/bits/std_set.h: Likewise.
1139 * include/bits/std_stack.h: Likewise.
1140 * include/bits/std_utility.h: Likewise.
1141 * include/bits/std_vector.h: Likewise.
1142 * include/bits/stl_algo.h: Likewise.
1143 * include/bits/stl_algobase.h: Likewise.
1144 * include/bits/stl_alloc.h: Likewise.
1145 * include/bits/stl_bvector.h: Likewise.
1146 * include/bits/stl_construct.h: Likewise.
1147 * include/bits/stl_deque.h: Likewise.
1148 * include/bits/stl_function.h: Likewise.
1149 * include/bits/stl_heap.h: Likewise.
1150 * include/bits/stl_iterator.h: Likewise.
1151 * include/bits/stl_iterator_base_funcs.h: Likewise.
1152 * include/bits/stl_iterator_base_types.h: Likewise.
1153 * include/bits/stl_list.h: Likewise.
1154 * include/bits/stl_map.h: Likewise.
1155 * include/bits/stl_multimap.h: Likewise.
1156 * include/bits/stl_multiset.h: Likewise.
1157 * include/bits/stl_numeric.h: Likewise.
1158 * include/bits/stl_pair.h: Likewise.
1159 * include/bits/stl_pthread_alloc.h: Likewise.
1160 * include/bits/stl_queue.h: Likewise.
1161 * include/bits/stl_raw_storage_iter.h: Likewise.
1162 * include/bits/stl_relops.h: Likewise.
1163 * include/bits/stl_set.h: Likewise.
1164 * include/bits/stl_stack.h: Likewise.
1165 * include/bits/stl_tempbuf.h: Likewise.
1166 * include/bits/stl_threads.h: Likewise.
1167 * include/bits/stl_tree.h: Likewise.
1168 * include/bits/stl_uninitialized.h: Likewise.
1169 * include/bits/stl_vector.h: Likewise.
1170 * include/bits/type_traits.h: Likewise.
1171 * include/ext/hash_map: Likewise.
1172 * include/ext/hash_set: Likewise.
1173 * include/ext/rope: Likewise.
1174 * include/ext/ropeimpl.h: Likewise.
1175 * include/ext/slist: Likewise.
1176 * include/ext/stl_hash_fun.h: Likewise.
1177 * include/ext/stl_hashtable.h: Likewise.
1178 * include/ext/stl_rope.h: Likewise.
1179 * libsupc++/unwind-cxx.h: Likewise.
1180 * src/bitset.cc: Likewise.
1181 * src/strstream.cc: Likewise.
1182
1183 2001-06-21 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
1184
1185 * include/bits/indirect_array.h (indirect_array<>::operator=):
1186 Make copy and assignment operator public. Implement. Format.
1187
1188 * include/bits/valarray_array.h (__valarray_copy): Add overloads
1189 for copy between index arrays. Format.
1190
1191 2001-06-19 Benjamin Kosnik <bkoz@redhat.com>
1192
1193 * mknumeric_limits: Add static definitions, format.
1194 * testsuite/18_support/numeric_limits.cc (test02): Add test.
1195
1196 * include/c_std/bits/std_cwchar.h: Include ctime.
1197 * testsuite/17_intro/header_cwchar.cc : Check.
1198
1199 * include/c_std/bits/std_cwctype.h: Inject wctype.
1200 * testsuite/17_intro/header_cwctype.cc: Update.
1201
1202 2001-06-18 Benjamin Kosnik <bkoz@redhat.com>
1203
1204 * include/bits/stl_raw_storage_iter.h: Format. Correct derivation.
1205 * testsuite/20_util/raw_storage_iterator.cc: Same.
1206
1207 * include/bits/stl_alloc.h (_S_chunk_alloc): Change malloc to
1208 operator new.
1209 (__mem_interface): New typedef for switching between malloc and new.
1210 * testsuite/20_util/allocator_members.cc: New file.
1211
1212 * testsuite/20_util/comparisons.cc: New file.
1213 * testsuite/20_util/pairs.cc: New file.
1214
1215 2001-06-15 Phil Edwards <pme@sources.redhat.com>
1216
1217 * docs/html/documentation.html: Point to new doxygen'ed collection.
1218
1219 2001-06-14 Nathan Sidwell <nathan@codesourcery.com>
1220
1221 * configure.in (auxdir): Replace by ...
1222 (toprel): ... new variable.
1223 (toplevel_srcdir): Construct from $toprel.
1224 * acinclude.m4 (GLIBCPP_ENABLE_THREADS): Use $toprel
1225 rather than .. to locate gcc source directory.
1226 (GLIBCPP_CONFIGURE): Replace $auxdir with $srcdir/$toprel.
1227 * aclocal.m4, configure: Rebuilt.
1228
1229 2001-06-13 John David Anglin <dave@hiauly1.hia.nrc.ca>
1230
1231 (Approved by Mark and Benjamin. Applied by Loren.)
1232
1233 * src/globals.cc: Define globals _GLIBCPP_mutex_init (),
1234 _GLIBCPP_mutex_address_init (), _GLIBCPP_once, _GLIBCPP_mutex
1235 and _GLIBCPP_mutex_address.
1236 * include/bits/stl_threads.h (_STL_mutex_lock): Use above to provide
1237 once-only runtime initialization of _M_lock mutex when
1238 __GTHREAD_MUTEX_INIT_FUNCTION is defined.
1239 (__STL_MUTEX_INITIALIZER): Provide initializer for _STL_mutex_lock
1240 for __GTHREAD_MUTEX_INIT_FUNCTION case.
1241
1242 2001-06-13 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
1243
1244 * testsuite/26_numerics/slice_array_assignment.cc (main): New test.
1245
1246 * include/bits/slice_array.h (slice_array<>::operator=): Make
1247 public and implement.
1248 (slice_array<>::slice_array): Make copy-constructor public.
1249
1250 * include/bits/valarray_array.h (__valarray_copy): Add another
1251 overload to copy between strided arrays.
1252
1253 2001-06-13 Benjamin Kosnik <bkoz@redhat.com>
1254
1255 * acinclude.m4 (GLIBCPP_CONFIGURE): Bump version to 3.0.0.
1256 * aclocal.m4: Regenerate.
1257 * configure: Regenerate.
1258 * include/bits/c++config (__GLIBCPP__): Update date.
1259
1260 2001-06-12 Benjamin Kosnik <bkoz@redhat.com>
1261
1262 * include/bits/fpos.h (fpos::operator-): Don't return reference,
1263 return original, non-modified version.
1264 (fpos::operator+): Same.
1265 * testsuite/27_io/fpos.cc: Add test.
1266
1267 2001-06-12 Loren J. Rittle <ljrittle@acm.org>
1268
1269 libstdc++/2071
1270 * porting.texi: Add documentation about libstdc++-v3-specific
1271 macros that are currently included in os_defines.h files.
1272
1273 * config/basic_file_stdio.h (sys_getc): New method.
1274 (sys_ungetc): New method.
1275 * include/bits/basic_file.h: (sys_getc): New method signature.
1276 (sys_ungetc): New method signature.
1277
1278 * include/bits/fstream.tcc (underflow): Add conditional code
1279 paths which avoid using short seeks on streams (especially
1280 useful when the stream might be interactive or a pipe). At
1281 the moment, this alternate path only avoids seeking when the
1282 ``buffer size'' of underflow() is 1 since the C standard only
1283 guarantees buffer space for one ungetc (this technique could
1284 be extended since *-*-solaris* supports buffering for 4 calls
1285 to ungetc and *-*-*bsd* supports buffering limited only by
1286 memory resources). Also, _GLIBCPP_AVOID_FSEEK must be defined
1287 in a port's os_defines.h file for this alternate path to even
1288 be considered. As a bonus, the idiom of using getc/ungetc
1289 requires no system calls whereas fseek maps to one or two
1290 system call(s) on many platforms.
1291
1292 * config/os/bsd/freebsd/bits/os_defines.h (_GLIBCPP_AVOID_FSEEK):
1293 Define it.
1294 * config/os/solaris/solaris2.5/bits/os_defines.h
1295 (_GLIBCPP_AVOID_FSEEK): Likewise.
1296 * config/os/solaris/solaris2.6/bits/os_defines.h
1297 (_GLIBCPP_AVOID_FSEEK): Likewise.
1298 * config/os/solaris/solaris2.7/bits/os_defines.h
1299 (_GLIBCPP_AVOID_FSEEK): Likewise.
1300
1301 2001-06-12 Benjamin Kosnik <bkoz@redhat.com>
1302
1303 * acinclude.m4 (GLIBCPP_CHECK_COMPILER_VERSION): Change to
1304 AC_TRY_COMPILE, so that the built compiler is checked, and
1305 bootstraps or cross compiles with an older compile still work.
1306 * aclocal.m4: Regenerate.
1307 * configure: Regenerate.
1308
1309 2001-06-12 Benjamin Kosnik <bkoz@redhat.com>
1310
1311 libstdc++/3142
1312 * include/bits/std_sstream.h: Add allocator_type, as per DR 251.
1313
1314 libstdc++/3141
1315 * include/bits/istream.tcc (getline, get): Fix as per DR 243.
1316
1317 libstdc++/3140
1318 * include/bits/std_bitset.h (bitset::set): Fix as per DR 186.
1319
1320 libstdc++/3139
1321 * include/bits/limits_generic.h: Fix as per DR 184.
1322
1323 2001-06-11 Benjamin Kosnik <bkoz@redhat.com>
1324
1325 libstdc++/3126
1326 * include/bits/basic_string.h (string::compare): Adjust signatures
1327 as per DR 5.
1328 * include/bits/basic_string.tcc: And here.
1329
1330 libstdc++/2346
1331 * config/c_io_stdio.h: Remove whitespace.
1332 * testsuite/27_io/istream_seeks.cc (test03): Add regression.
1333 (test02): Add regression.
1334 * testsuite/27_io/istream_seeks-3.tst: New file.
1335
1336 2001-06-11 Phil Edwards <pme@sources.redhat.com>
1337
1338 * README: Update to reflect reality.
1339 * acinclude.m4: Update descriptions, fix typos. Comment changes only.
1340 * configure.in: Make certain target_alias is set and subst'd for 2.50.
1341 * aclocal.m4: Regenerate.
1342 * configure: Regenerate (with 2.13).
1343
1344 2001-06-11 Benjamin Kosnik <bkoz@redhat.com>
1345
1346 libstdc++/3114
1347 * include/bits/ostream.tcc (ostream::seekp): Add error checking as
1348 per DR 129.
1349 * include/bits/istream.tcc (istream::seekg): Same.
1350 * testsuite/27_io/istream_seeks.cc: Fix.
1351
1352 libstdc++/3113
1353 * include/bits/stl_function.h (binder2nd): Fix as per DR 109.
1354 (binder1st): Same.
1355 * include/bits/std_queue.h: Add c++config.h.
1356 * testsuite/20_util/binders.cc: New test.
1357
1358 2001-06-11 Matthias Klose <doko@debian.org>
1359 Phil Edwards <pme@sources.redhat.com>
1360
1361 * docs/doxygen/run_doxygen (find_doxygen): Tweak version check.
1362 (main script): Echo more information.
1363
1364 2001-06-10 Benjamin Kosnik <bkoz@redhat.com>
1365
1366 * include/c_std/bits/std_cwchar.h: Alphabetize.
1367 * include/bits/char_traits.h: Tweak.
1368 * acinclude.m4 (GLIBCPP_CHECK_WCHAR_T_SUPPORT): Check for
1369 everything used by std_cwchar.h.
1370 * aclocal.m4: Regenerate.
1371 * configure.in: Regenerate.
1372 * config.h.in: Regenerate.
1373
1374 2001-06-10 Benjamin Kosnik <bkoz@redhat.com>
1375
1376 * acinclude.m4 (GLIBCPP_ENABLE_C99): Add stdio.h checking.
1377 Add checking for strtof, _Exit in stdlib.h
1378 * aclocal.m4: Regenerate.
1379 * configure.in: Regenerate.
1380 * include/c_std/bits/std_cstdio.h: Alphabetize lists.
1381 (snprintf): Put C99 functions into __gnu_cxx namespace.
1382 (vfscanf): Same.
1383 (vscanf): Same.
1384 (vsnprintf): Same.
1385 (vsscanf): Same.
1386 * include/c_std/bits/std_cstdlib.h: Alphabetize lists. Put undefs
1387 for C99 functions within _GLIBCPP_USE_C99 guard.
1388 (_Exit): Same.
1389 (strtof): Same.
1390 (strtold): Same.
1391 * include/bits/locale_facets.tcc: Check if C99 is enabled.
1392 * include/c_std/bits/std_cwchar.h (__gnu_cxx): Put undefs within
1393 C99 guard.
1394 * include/c_std/bits/cmath.tcc: Formatting tweak.
1395 * include/c_std/bits/std_cmath.h: Same.
1396
1397 2001-06-10 Benjamin Kosnik <bkoz@redhat.com>
1398
1399 * include/c_std/bits/std_cstdio.h: Include cstddef for size_t.
1400
1401 2001-06-09 Alexandre Oliva <aoliva@redhat.com>
1402 Stephen L Moshier <moshier@mediaone.net>
1403
1404 * acinclude.m4 (AC_EXEEXT): Work around in case it expands to
1405 nothing, as in autoconf 2.50.
1406 * configure: Rebuilt.
1407
1408 2001-06-09 Benjamin Kosnik <bkoz@redhat.com>
1409
1410 * include/c_std/bits/std_cwchar.h: Remove size_t injection,
1411 include std_cstddef.
1412 * include/c_std/bits/std_ctime.h: Same.
1413 * include/c_std/bits/std_cstring.h: Same.
1414 * include/c_std/bits/std_cstdlib.h: Same.
1415
1416 * include/c_std/bits/std_cstdio.h: Remove vsnprintf, snprintf.
1417 * include/c_std/bits/std_cctype.h: Remove isblank.
1418
1419 2001-06-09 Benjamin Kosnik <bkoz@redhat.com>
1420
1421 * acinclude.m4 (GLIBCPP_CHECK_WCHAR_T_SUPPORT): Check for fgetwc,
1422 fgetws.
1423 * aclocal.m4: Regenerate.
1424 * configure: Regenerate.
1425 * include/c_std/bits/std_cwchar.h: Remove duplicate fgetwc
1426 injection, guard fgetwc, fgetws.
1427 * include/c_std/bits/std_cstdio.h: Remove superfluous includes.
1428 * include/c_std/bits/std_clocale.h: And here.
1429 * include/c_std/bits/std_cctype.h: And here.
1430 * include/c_std/bits/std_cstdlib.h (strtof): Guard strtof injection.
1431
1432 * config/basic_file_stdio.h: Don't include unistd.h.
1433 * config/c_io_stdio.h: Don't use compatibility headers.
1434 * libsupc++/eh_terminate.cc: Qualify abort.
1435 (__terminate): And here.
1436 * libsupc++/eh_catch.cc (__cxa_end_catch): Qualify abort.
1437
1438 2001-06-08 Benjamin Kosnik <bkoz@redhat.com>
1439
1440 * include/c_std/bits/std_cstdlib.h: Remove _Exit, strtof injections.
1441
1442 2001-06-08 Benjamin Kosnik <bkoz@redhat.com>
1443
1444 libstdc++/2767
1445 libstdc++/2989
1446 libstdc++/2992
1447 * include/std/*: Add copyright notice.
1448 * include/c_std/bits/*: Use using statements instead of extern "C".
1449 * include/c_std/bits/std_cmath.h: Don't overload double versions
1450 of math functions with __buitin versions, use global version to
1451 prevent ambiguities. Remove define hacks.
1452 * include/c_std/bits/std_cwchar.h: Using declarations for "C"
1453 functions that have changed signatures and std::
1454 declarations. Remove define hacks.
1455 * include/c_std/bits/std_cwchar.h: Same, plus remove ambiguous
1456 __builtins in std::. Remove define hacks.
1457 * testsuite/17_intro/headers_c.cc: Add tests.
1458 * testsuite/17_intro/headers_c++.cc: Add test.
1459
1460 2001-06-07 Loren J. Rittle <ljrittle@acm.org>
1461 John David Anglin <dave@hiauly1.hia.nrc.ca>
1462
1463 c++/3082
1464 * libsupc++/eh_alloc.cc: Ensure that required macros are
1465 defined before including gthr.h. Ensure that we get the
1466 version of gthr.h for which we know how to provide a
1467 configuration.
1468 * libsupc++/eh_globals.cc: Likewise. And, bring the threading
1469 code path into line with the current EH model. Use std, where
1470 appropriate.
1471
1472 2001-06-07 Loren J. Rittle <ljrittle@acm.org>
1473 John David Anglin <dave@hiauly1.hia.nrc.ca>
1474
1475 * config/threads-no.h: Remove file.
1476 * config/threads-posix.h: Remove file.
1477
1478 * acconfig.h (_GLIBCPP_USE_THREADS): Remove.
1479 (_GLIBCPP_SUPPORTS_WEAK): Add (required by namespace-clean gthr*.h).
1480 (_GLIBCPP_HAVE_GTHR_DEFAULT): Likewise.
1481 * config.h.in: Regenerate.
1482
1483 * acinclude.m4 (GLIBCPP_ENABLE_THREADS): Completely rework to
1484 setup and use gthr*.h files. In particular, make gthr.h files
1485 namespace-clean in the staging area (they don't have to be for
1486 libgcc.a).
1487 * aclocal.m4: Regenerate.
1488 * configure: Regenerate.
1489
1490 * src/Makefile.am (build_headers): Remove bits/c++threads.h
1491 and add bits/gthr.h bits/gthr-single.h bits/gthr-default.h.
1492 * src/Makefile.in: Regenerate.
1493
1494 * include/bits/c++config: Cleanup threading configuration macros.
1495 In particular, define __STL_GTHREADS macro which controls...
1496 * include/bits/stl_threads.h: ...a brand new gthr.h-based
1497 configuration here.
1498
1499 * config/c_io_stdio.h: Include staged gthr.h instead of local
1500 thread configuration file. Always use __gthread_mutex_t
1501 instead of __mutext_type (or int).
1502 * include/bits/std_fstream.h: Likewise.
1503
1504 * docs/html/17_intro/howto.html: Remove placeholder comment in
1505 case this configuration patch didn't make it. Add advice that
1506 section only applies if configured with --enable-threads.
1507 * docs/html/23_containers/howto.html: Reword to make clear
1508 that _PTHREADS is no longer required for any port to be
1509 correctly using STL with threads. Add advice that section
1510 only applies if configured with --enable-threads.
1511
1512 2001-06-06 Benjamin Kosnik <bkoz@redhat.com>
1513
1514 * src/string-inst.cc (_Rep::_S_max_size): Add instantiation.
1515
1516 2001-06-05 Benjamin Kosnik <bkoz@redhat.com>
1517
1518 libstdc++/3045
1519 * include/bits/basic_ios.tcc: Formatting tweaks.
1520 * include/bits/ios_base.h: Formatting tweaks.
1521 * src/ios.cc (ios_base::Init::_S_ios_create): Use filebufs here.
1522 (ios_base::Init::_S_ios_destroy): ..and here. Explicitly call dtors.
1523 * src/globals.cc: Allocate filebufs for standard streams here.
1524 (buf_cout, buf_cin, buf_cerr): Like so.
1525 (buf_wcout, buf_wcin, buf_wcerr): And so.
1526 * testsuite/27_io/ios_init.cc: Add.
1527
1528 2001-06-04 Brendan Kehoe <brendan@zen.org>
1529 Benjamin Kosnik <bkoz@redhat.com>
1530
1531 libstdc++/3017
1532 * include/bits/locale_facets.h (ctype<_CharT>): Add definitions
1533 for generic ctype virtuals.
1534 * src/locale.cc: Minor tweaks, naming consistency.
1535 * testsuite/22_locale/ctype.cc: Add test.
1536
1537 2001-06-04 Kenny Simpson <theonetruekenny@yahoo.com>
1538 Phil Edwards <pme@sources.redhat.com>
1539
1540 PR libstdc++/3035 and PR libstdc++/3036
1541 * include/bits/stl_pair.h: Fix pair ctor and make_pair according
1542 to LWG DR 181 and 265.
1543
1544 2001-06-04 Phil Edwards <pme@sources.redhat.com>
1545
1546 PR libstdc++/3034
1547 * include/bits/stl_multiset.h (find, lower_bound, upper_bound,
1548 equal_range): Add const overloads as per LWG DR 214.
1549 * include/bits/stl_set.h: Likewise.
1550
1551 2001-06-04 Brendan Kehoe <brendan@zen.org>
1552 Phil Edwards <pme@sources.redhat.com>
1553
1554 PR libstdc++/3018
1555 * include/bits/std_bitset.h (bitset::test): Fix __pos >= _Nb
1556 comparison; all positions must be < _Nb.
1557 * testsuite/23_containers/bitset_members.cc: New file.
1558
1559 2001-06-04 Brendan Kehoe <brendan@zen.org>
1560
1561 PR libstdc++/3016
1562 * include/bits/stl_queue.h (classes queue, priority_queue): Fix
1563 ctors to match the standard.
1564
1565 2001-06-04 Jeffrey Oldham <oldham@codesourcery.com>
1566
1567 * include/bits/char_traits.h (move): Reverse qualification of
1568 memmove with std::.
1569 (copy): Reverse qualification of memcpy with std::.
1570
1571 2001-06-04 Jeffrey Oldham <oldham@codesourcery.com>
1572
1573 * include/bits/char_traits.h (move): Qualify memmove with std::.
1574 (copy): Qualify memcpy with std::.
1575 * testsuite/27_io/filebuf_virtuals.cc (test01): Qualify strlen and
1576 strncmp with std::.
1577 (test02): Likewise.
1578 * testsuite/27_io/stringbuf_virtuals.cc (test01): Likewise.
1579
1580 2001-06-04 Hans-Peter Nilsson <hp@axis.com>
1581
1582 * libsupc++/Makefile.am (install-glibcppinstallHEADERS,
1583 uninstall-glibcppinstallHEADERS): Have explicit rules catering to
1584 SUN make VPATH peculiarities.
1585 * libsupc++/Makefile.in: Regenerate.
1586
1587 2001-06-01 Hans-Peter Nilsson <hp@axis.com>
1588
1589 * src/Makefile.am (VPATH): Delimit with ":", not space.
1590 * src/Makefile.in: Regenerate.
1591
1592 * configure.in (use of GLIBCPP_CHECK_GNU_MAKE): Don't fail if GNU
1593 make isn't found.
1594 * configure: Regenerate.
1595
1596 2001-05-31 scott snyder <snyder@fnal.gov>
1597
1598 libstdc++/2976
1599 * include/bits/istream.tcc: Include std_ostream.h.
1600
1601 2001-05-31 Benjamin Kosnik <bkoz@redhat.com>
1602
1603 libstdc++/2997
1604 * src/bitset.cc: Qualify size_t with std::.
1605
1606 2001-05-30 Benjamin Kosnik <bkoz@redhat.com>
1607
1608 * acconfig.h (_GLIBCPP_BUGGY_FLOAT_COMPLEX): Remove.
1609 (_GLIBCPP_BUGGY_COMPLEX): Remove.
1610 * config.h.in: Regenerate.
1611 * acinclude.m4 (GLIBCPP_CHECK_COMPLEX_MATH_COMPILER_SUPPORT): Remove.
1612 * aclocal.m4: Regenerate.
1613 * configure.in: Don't call it.
1614 * configure: Regenerate.
1615
1616 libstdc++/2970
1617 * src/complex_io.cc (operator<<(ostream&, const complex&): Fix.
1618 * testsuite/26_numerics/complex_inserters_extractors.cc (test01):
1619 New test.
1620
1621 libstdc++/2985
1622 * include/bits/std_complex.h: Include sstream. Put definitions for
1623 complex inserters and extractors here, and remove them from...
1624 * src/complex_io.cc: ...here.
1625 * include/bits/basic_ios.h (basic_ios::__numput_type): Add _Traits
1626 parameter.
1627 (basic_ios::__numget_type): Same.
1628 * include/bits/std_istream.h: Same.
1629 * include/bits/std_ostream.h: Same.
1630 * include/bits/sbuf_iter.h (ostreambuf_iterator): Fix typo in base
1631 class iterator template arguments.
1632 * src/locale-inst.cc: Add explicit has_facet instantiations.
1633 * include/bits/basic_ios.h (basic_ios::_M_get_fctype_ios): Remove.
1634 (_M_get_fnumput): Remove.
1635 (_M_get_fnumget): Remove.
1636 (basic_ios::_M_check_facet): New function.
1637 (basic_ios::_M_cache_facets): New function.
1638 * include/bits/basic_ios.tcc: Definition for _M_cache_facets.
1639 (basic_ios::imbue): Call _M_cache_facets.
1640 (basic_ios::init): Same.
1641 * include/bits/istream.tcc: Format, use _M_check_facet.
1642 * include/bits/ostream.tcc: Same.
1643 * include/bits/locale_facets.tcc (__output_float): Change
1644 signature, add _Traits.
1645 * testsuite/26_numerics/complex_inserters_extractors.cc (test02):
1646 New test.
1647
1648 2001-05-30 Loren J. Rittle <ljrittle@acm.org>
1649
1650 * include/bits/c++config (__USE_MALLOC): Do not define it.
1651 Document why not and give pointers to more information.
1652
1653 * docs/html/23_containers/howto.html: Update documentation
1654 to reflect recent understanding of problem.
1655 * docs/html/17_intro/howto.html: Likewise.
1656
1657 2001-05-30 Phil Edwards <pme@sources.redhat.com>
1658
1659 * docs/doxygen/user.cfg.in: Minor addition.
1660 * docs/html/documentation.html: Reorganize. Put most-looked-at
1661 stuff first.
1662 * docs/html/install.html: Update for 3.0. HTML fixups.
1663 * docs/html/17_intro/howto.html: Likewise.
1664 * docs/html/18_support/howto.html: Likewise.
1665 * docs/html/19_diagnostics/howto.html: Likewise.
1666 * docs/html/20_util/howto.html: Likewise.
1667 * docs/html/23_containers/howto.html: Likewise.
1668 * docs/html/24_iterators/howto.html: Likewise. More notes.
1669 * docs/html/25_algorithms/howto.html: Likewise.
1670 * docs/html/26_numerics/howto.html: Likewise. More notes.
1671 * docs/html/27_io/howto.html: Likewise.
1672 * docs/html/ext/howto.html: Likewise.
1673 * docs/html/faq/index.html: Likewise.
1674 * docs/html/faq/index.txt: Regenerate.
1675 * docs/html/27_io/iostreams_hierarchy.pdf: Remove in favor of
1676 Doxygen-created documentation.
1677
1678 2001-05-30 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
1679
1680 * testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3-init): Use
1681 get_multilibs to find gcc.
1682
1683 2001-05-30 Phil Edwards <pme@sources.redhat.com>
1684
1685 * acinclude.m4 (GLIBCPP_ENABLE_C99): Reorder output messages.
1686 * aclocal.m4: Regenerate.
1687 * configure: Regenerate.
1688
1689 2001-05-29 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
1690
1691 * include/c_std/bits/std_cstdlib.h:: Move C99 thingies to __gnu_cxx::.
1692 * include/c_std/bits/std_cwchar.h (__gnu_cxx): Likewise.
1693
1694 2001-05-27 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
1695
1696 * include/c_std/bits/std_cmath.h: Move C99 functions in __gnu_cxx::.
1697 * include/c_std/bits/std_cstdlib.h: Same.
1698 * include/c_std/bits/std_cwchar.h: Same.
1699
1700 2001-05-30 Loren J. Rittle <ljrittle@acm.org>
1701
1702 * docs/html/17_intro/howto.html: Update link.
1703 * docs/html/23_containers/howto.html: Likewise. Add new link.
1704
1705 2001-05-26 Gabriel Dos Reis <gdr@codesourcery.com>
1706
1707 * include/c_std/bits/std_cmath.h (sqrt): #undef.
1708
1709 2001-05-23 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
1710
1711 * mknumeric_limits: Stop if gen-num-limits dies.
1712
1713 2001-05-25 Benjamin Kosnik <bkoz@redhat.com>
1714
1715 other/2931
1716 * acinclude.m4 (GLIBCPP_ENABLE_C99): Use AC_TRY_COMPILE.
1717 * aclocal.m4: Regenerate.
1718 * configure: Same.
1719
1720 2001-05-24 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
1721 Phil Edwards <pme@sources.redhat.com>
1722 Alexandre Oliva <aoliva@redhat.com>
1723
1724 * acinclude.m4 (GLIBCPP_EXPORT_INSTALL_INFO): Set glibcpp_srcdir
1725 in an amd-safe manner. Revert glibcpp_prefixdir.
1726
1727 2001-05-25 Gabriel Dos Reis <gdr@codesourcery.com>
1728
1729 * include/c_std/bits/std_cmath.h: Tweak. #define away abs, cos,
1730 fabs, sin, sqrt. They are now implemented in terms of __builtin_
1731 variants.
1732
1733 2001-05-24 Benjamin Kosnik <bkoz@redhat.com>
1734
1735 libstdc++/2830
1736 * testsuite/21_strings/inserters_extractors.cc (test09): New test.
1737 * include/bits/ostream.tcc: Format to match istream.tcc.
1738 (operator<<(basic_ostream __out, const basic_string __s)): Fix.
1739
1740 2001-05-24 Phil Edwards <pme@sources.redhat.com>
1741
1742 * libsupc++/eh_alloc.cc (__cxa_allocate_exception): Qualify
1743 malloc with std:: .
1744 (__cxa_free_exception): Likewise with free.
1745
1746 2001-05-24 Mark Mitchell <mark@codesourcery.com>
1747
1748 * include/c_std/bin/std_cstring.h: #define away all global
1749 functions we will redeclare in namespace `std'.
1750 * libsupc++/eh_alloc.cc (__cxa_allocate_exception): Use
1751 std::memset, instead of memset.
1752 * testsuite/19_diagnostics/stdexceptions.cc: Use `std::strcmp',
1753 not plain `strcmp'.
1754 * testsuite/21_strings/c_strings.cc: Use `std::strcpy' instead of
1755 plain `strcpy'.
1756
1757 2001-05-24 Benjamin Kosnik <bkoz@redhat.com>
1758
1759 libstdc++/2832
1760 * include/bits/basic_ios.tcc: Small tweak.
1761 * include/bits/std_fstream.h (ifstream): Add buffer member. Adjust
1762 ctors and dtors, and rdbuf settings.
1763 (ofstream): Same.
1764 (fstream): Same.
1765 * include/bits/std_sstream.h: Same, but for stringstream classes.
1766 * testsuite/27_io/ostringstream_members.cc: New.
1767 * testsuite/27_io/stringstream_members.cc: New.
1768 * testsuite/27_io/fstream_members.cc: New.
1769 * testsuite/27_io/ifstream_members.cc: Add test.
1770 * testsuite/27_io/istringstream_members.cc: Add test.
1771 * testsuite/27_io/ofstream_members.cc: Add test.
1772
1773 2001-05-24 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
1774
1775 * include/bits/c++config(__NO_MATH_INLINES): Move to...
1776 * config/os/gnu-linux/bits/os_defines.h: ...here.
1777
1778 2001-05-24 Gabriel Dos Reis <gdr@codesourcery.com>
1779
1780 * include/bits/c++config (__NO_MATH_INLINES): New macro.
1781 * testsuite/26_numerics/fabs_inline.cc (main): New test.
1782
1783 2001-05-22 Benjamin Kosnik <bkoz@redhat.com>
1784
1785 libstdc++/2841
1786 * testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3-init): Set
1787 ld_library_path.
1788 (libstdc++-v3_set_ld_library_path): New, copied from g++.exp.
1789 (libstdc++-v3-finish): Remove.
1790 (libstdc++-v3_exit): Remove.
1791
1792 2001-05-22 Phil Edwards <pme@sources.redhat.com>
1793
1794 * docs/html/documentation.html: Point to doxygen output.
1795
1796 2001-05-21 Benjamin Kosnik <bkoz@redhat.com>
1797
1798 * mkcheck.in (static_fail): Remove S_FLAG decoration on output.
1799
1800 * include/bits/std_sstream.h (stringbuf::setbuf): Require both
1801 arguments to be non-null.
1802 * include/bits/fstream.tcc (filebuf::_M_allocate_buffers): Only
1803 try allocations if allocated size is greater than zero.
1804 (filebuf::_M_filebuf_init): Change to
1805 (filebuf::_M_allocate_file): Which is what it does now.
1806 (filebuf::_M_allocate_bufers): Change to
1807 (filebuf::_M_allocate_internal_buffer): This, and create
1808 (filebuf::_M_allocate_pback_buffer): New.
1809 (filebuf::_M_destroy_internal_buffer): New.
1810 (filebuf::_M_buf_allocated): New data member.
1811 (filebuf::setbuf): Use new logic, allow use of external buffer.
1812 * testsuite/27_io/stringbuf_virtuals.cc: New file.
1813 * testsuite/27_io/filebuf_virtuals.cc: New file.
1814
1815 2001-05-21 Stephen M. Webb <stephen@bregmasoft.com>
1816
1817 * include/c_std/bits/std_cstring.h (memchr): Define "C" functions to
1818 __glibcpp_memchr.
1819 (strchr): Same, but to __glibcpp_strchr.
1820 (strpbrk): Same.
1821 (strrchr): Same.
1822 (strstr): Same.
1823 * include/c_std/bits/std_cwchar.h (wcschr): Same.
1824 (wcsbrk): Same.
1825 (wcsrchr): Same.
1826 (wcsstr): Same.
1827 (wmemchr): Same.
1828
1829 2001-05-21 Benjamin Kosnik <bkoz@redhat.com>
1830
1831 * testsuite/21_strings/c_strings.cc (main): Fix.
1832
1833 2001-05-19 Phil Edwards <pme@sources.redhat.com>
1834
1835 * acinclude.m4: Fix --help spacing, correct comments.
1836 * aclocal.m4: Regenerate.
1837 * configure: Regenerate.
1838 * mkcheck.in: Add usage comments.
1839 * docs/html/documentation.html: Point to doxygen'd tarball.
1840
1841 2001-05-18 Benjamin Kosnik <bkoz@redhat.com>
1842
1843 * testsuite/README: Add notes.
1844
1845 * src/Makefile.am (libstdc++.INC): Remove.
1846 * src/Makefile.in: Regenerate.
1847
1848 Phil Edwards <pedwards@disaster.jaj.com>
1849 * mkcheck.in: Add missing '#'.
1850
1851 2001-05-18 Angela Marie Thomas <angela@cygnus.com>
1852
1853 * testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3-init): Set flags
1854 appropriately for remote testing and testing installed files without
1855 a build dir.
1856
1857 2001-05-18 Benjamin Kosnik <bkoz@redhat.com>
1858
1859 * acinclude.m4 (GLIBCPP_EXPORT_INSTALL_INFO): Set glibcpp_srcdir
1860 amd glibcpp_prefixdir with absolute paths.
1861
1862 * include/bits/c++config (__GLIBCPP__): Bump.
1863 * acinclude.m4 (GLIBCPP_CONFIGURE): Correct version number.
1864
1865 2001-05-18 Gabriel Dos Reis <gdr@codesourcery.com>
1866
1867 * include/bits/std_valarray.h (valarray<>::operator[] const):
1868 Return a const reference.
1869 * testsuite/26_numerics/valarray_const_bracket.cc: New test.
1870
1871 2001-05-18 Alexandre Oliva <aoliva@redhat.com>
1872
1873 * configure.target (ATOMICITYH): Actually use AIX-specific code on
1874 earlier versions of AIX 4.*.
1875
1876 2001-05-18 Angela Marie Thomas <angela@cygnus.com>
1877
1878 * testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3-dg-test): Set
1879 output_file based on the name of the testcase.
1880
1881 2001-05-18 Angela Marie Thomas <angela@cygnus.com>
1882
1883 * testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3-init): Build
1884 gluefile and use it if needs_status_wrapper is set.
1885
1886 2001-05-18 Alexandre Oliva <aoliva@redhat.com>
1887
1888 * configure.target (ATOMICITYH): Use cpu/generic code on earlier
1889 versions of AIX.
1890
1891 2001-05-17 Alexandre Oliva <aoliva@redhat.com>
1892
1893 * configure.target (ATOMICITYH): Don't use AIX 4.3-specific code
1894 on earlier versions of AIX.
1895
1896 2001-05-15 Benjamin Kosnik <bkoz@redhat.com>
1897
1898 * testsuite_flags.in (query): Add backwards, ext directories.
1899
1900 2001-05-15 Mark Mitchell <mark@codesourcery.com>
1901
1902 * porting.texi: Correct documentation about handling
1903 _LARRGEFILE_SOURCE and its ilk.
1904 * config/os/solaris/solaris2.5/bits/os_defines.h: Remove
1905 definitions of _XOPEN_SOURCE, _LARGEFILE64_SOURCE, and
1906 __EXTENSIONS__.
1907 * config/os/solaris/solaris2.6/bits/os_defines.h: Likewise.
1908 * config/os/solaris/solaris2.7/bits/os_defines.h: Likewise.
1909
1910 2001-05-15 Zack Weinberg <zackw@stanford.edu>
1911
1912 * testsuite/21_strings/inserters_extractors.cc,
1913 testsuite/27_io/istream_unformatted.cc,
1914 testsuite/27_io/stringstream.cc:
1915 Replace multi-line string constants with C89-style
1916 concatenated string constants.
1917
1918 2001-05-14 Richard Henderson <rth@redhat.com>
1919
1920 * mknumeric_limits: Build with -fno-exceptions.
1921
1922 2001-05-13 Benjamin Kosnik <bkoz@redhat.com>
1923
1924 Switch over to new harness.
1925 * testsuite_flags.in: Tweaks via Gaby.
1926 * testsuite/Makefile.am: Change tool to libstdc++-v3.
1927 (EXPECT): Quote directly.
1928 (RUNTEST): Same.
1929 * configure.in: Output testsuite_flags.
1930 * acinclude.m4: Substitute src, bld, and prefix dirs.
1931 Remove glibcpp_expect, glibcpp_runtestflags.
1932 * Makefile.am (RUNTESTFLAGS): Pass this down to subdirs.
1933 * mkcheck.in: Port to new interface.
1934
1935 * aclocal.m4: Regerate.
1936 * configure: Regnerate.
1937 * Makefile.in: Regnerate.
1938 * */Makefile.in: Regenerate.
1939
1940 * tests_flags.in: Remove.
1941 * testsuite/lib/libstdc++.exp: Remove.
1942 * testsuite/libstdc++.tests/tests.exp: Remove.
1943
1944 2001-05-13 Alexandre Oliva <aoliva@redhat.com>
1945
1946 * configure.target: Remove detection of AIX pthread multilib, now
1947 obtained from `gcc -v'.
1948
1949 2001-05-13 John David Anglin <dave@hiauly1.hia.nrc.ca>
1950
1951 * mkcheck.in (setup_size_command): Use Berkeley "-B" mode with GNU
1952 size. Add hpux case for HP size.
1953
1954 2001-05-11 Benjamin Kosnik <bkoz@redhat.com>
1955
1956 * testsuite_flags.in: New, simplified interface.
1957 * testsuite/lib/libstdc++-v3-dg.exp: New test harness.
1958 * testsuite/libstdc++-v3.dg: Add.
1959 * testsuite/libstdc++-v3.dg/dg.exp: Add.
1960
1961 2001-05-11 Benjamin Kosnik <bkoz@redhat.com>
1962
1963 * testsuite/*/*.cc: Remove spaces, make sure testcases return zero.
1964 * testsuite/config/default.exp: Update bugs email address.
1965
1966 2001-05-11 Richard Henderson <rth@redhat.com>
1967
1968 * libsupc++/eh_personality.cc: Include unwind-pe.h. Remove
1969 all pointer encoding logic.
1970 (struct lsda_header_info): Add ttype_base.
1971 (get_ttype_entry): Use it instead of a context.
1972 (check_exception_spec): Likewise.
1973 (PERSONALITY_FUNCTION): Initialize ttype_base. Store it in
1974 the c++ exception header for __cxa_call_unexpected.
1975 (__cxa_call_unexpected): Use it.
1976
1977 2001-05-09 Benjamin Kosnik <bkoz@redhat.com>
1978
1979 * testsuite/lib/libstdc++.exp: Use libgloss.exp. Call
1980 libgloss_link_flags to find crt0.o for targets that use libgloss
1981 instead of newlib.
1982 Change LDFLAGS to LIBS.
1983 Consistently name procedures libstdc++-XXX.
1984 * testsuite/libstdc++.tests/tests.exp: Use new procedure names.
1985
1986 2001-05-08 Benjamin Kosnik <bkoz@fillmore.constant.com>
1987
1988 * include/c_std/bits/std_cstring.h (memchr): Correct definitions.
1989 (strchr): Same.
1990 (strpbrk): Same.
1991 (strrchr): Same.
1992 (strstr): Same.
1993 * include/c_std/bits/std_cwchar.h (wcschr): Same.
1994 (wcsbrk): Same.
1995 (wcsrchr): Same.
1996 (wcsstr): Same.
1997 (wmemchr): Same.
1998 * testsuite/21_strings/c_strings.cc: Add tests.
1999
2000 2001-05-07 Benjamin Kosnik <bkoz@redhat.com>
2001
2002 libstdc++/2523
2003 * include/bits/std_fstream.h (basic_filebuf): Change signature.
2004 * include/bits/fstream.tcc (basic_filebuf): Change bool argument
2005 to int_type, pass in buffer size info.
2006 * include/bits/std_streambuf.h (_M_is_indeterminate): Check for
2007 unbuffered situation.
2008 (underflow): Remove codecvt bits for the time being.
2009 * include/bits/istream.tcc (istream::sentry): Avoid sputbackc call.
2010 * include/bits/locale_facets.tcc (_M_extract): Cache dereference
2011 values from iterators, clean.
2012 * src/locale.cc: Ditto.
2013 * include/bits/sbuf_iter.h: Format.
2014 * src/ios.cc: Explicitly pass in buffer sizes at creation time.
2015 * testsuite/27_io/narrow_stream_objects.cc: Add tests.
2016 * testsuite/27_io/filebuf.cc: Tweaks.
2017 * testsuite/27_io/filebuf_members.cc: Tweaks.
2018
2019 2001-05-07 Mark Mitchell <mark@codesourcery.com>
2020
2021 * config/os/solaris/solaris2.7/bits/os_defines.h
2022 (_LARGEFILE_SOURCE): Define it.
2023
2024 2001-05-03 Alexandre Oliva <aoliva@redhat.com>
2025
2026 * configure.in (LIBSUPCXX_PICFLAGS): Set it to -prefer-pic or
2027 -prefer-non-pic depending on whether libtool has shared libraries
2028 enabled or disabled.
2029 * libsupc++/Makefile.am (LIBSUPCXX_CXXFLAGS): Set to
2030 $(LIBSUPCXX_PICFLAGS).
2031 * configure, */Makefile.in: Rebuilt.
2032
2033 2001-05-01 Benjamin Kosnik <bkoz@redhat.com>
2034
2035 * include/bits/sbuf_iter.h (istreambuf_iterator): Correct.
2036 * testsuite/24_iterators/istreambuf_iterator.cc (test02): Add test.
2037
2038 * include/bits/std_sstream.h (stringbuf): Leak
2039 copied string.
2040 * testsuite/24_iterators/ostreambuf_iterator.cc: Correct.
2041
2042 2001-05-01 Tom Browder <tbrowder@home.com>
2043
2044 * docs/html/ext/howto.html: Fix typo.
2045
2046 2001-05-01 Gabriel Dos Reis <gdr@codesourcery.com>
2047
2048 * testsuite/libstdc++.tests/tests.exp: Add comment.
2049
2050 2001-05-01 Gabriel Dos Reis <gdr@codesourcery.com>
2051
2052 * testsuite/libstdc++.tests/tests.exp: Set ulimits.
2053
2054 2001-04-30 Mark Mitchell <mark@codesourcery.com>
2055
2056 * porting.texi: Use the GFDL.
2057
2058 2001-04-30 Benjamin Kosnik <bkoz@redhat.com>
2059
2060 libstdc++/2627
2061 * testsuite/24_iterators/ostreambuf_iterator.cc: New file.
2062 * include/bits/sbuf_iter.h (ostreambuf_iterator): Remove bogus
2063 specializations.
2064
2065 2001-04-30 Benjamin Kosnik <bkoz@redhat.com>
2066
2067 libstdc++/2964
2068 * include/bits/stl_iterator_base_funcs.h (__advance): Fix.
2069
2070 2001-04-28 Phil Edwards <pme@sources.redhat.com>
2071
2072 * docs/doxygen/run_doxygen: Minor tweaks.
2073 * docs/doxygen/style.css: New file.
2074 * docs/doxygen/user.cfg.in: Update using "doxygen -u" to get the
2075 latest parameters available. Use style.css.
2076
2077 2001-04-27 Benjamin Kosnik <bkoz@redhat.com>
2078
2079 * docs/doxygen/mainpage.doxy: New.
2080 * docs/doxygen/user.cfg.in: Change default configuration. Single
2081 frame, other tweaks.
2082
2083 2001-04-26 Mark Mitchell <mark@codesourcery.com>
2084
2085 * docs/html/17_intro/BADNAMES: Remove EGCS reference.
2086 Indicate obsolete nature of thelist for G++ 3.0.
2087
2088 2001-04-26 Alexandre Oliva <aoliva@redhat.com>
2089
2090 * acinclude.m4 (GLIBCPP_ENABLE_THREADS): Obtain
2091 target_thread_file with `gcc -v'.
2092 * aclocal.m4, configure: Rebuilt.
2093
2094 2001-04-25 Benjamin Kosnik <bkoz@redhat.com>
2095
2096 * include/c_std/bits/std_cmath.h (std): Explicitly inject c99 names.
2097 * include/c_std/bits/std_cstdlib.h (std): Same, except for llabs.
2098 * include/c_std/bits/std_cwchar.h (std): Same.
2099 * acconfig.h (std): Remove c99 injection into std.
2100 * config.h.in: Regenerate.
2101
2102 * testsuite/README: Fix typo.
2103
2104 * include/bits/codecvt.h: Remove warnings.
2105
2106 2001-04-24 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
2107
2108 * include/ext/slist: Include required header files.
2109
2110 2001-04-23 Loren J. Rittle <ljrittle@acm.org>
2111
2112 * include/c_std/bits/std_cerrno.h (errno): Define macro from
2113 identifier declared with external linkage, if needed.
2114 * include/c_std/bits/std_csetjmp.h (setjmp): Likewise.
2115 * include/c_std/bits/std_cstdarg.h (va_end): Likewise.
2116
2117 2001-04-23 Benjamin Kosnik <bkoz@fillmore.constant.com>
2118
2119 * acinclude.m4 (CXX): Set to glibcpp_CXX so that in-directory
2120 re-configures find the build compiler.
2121 (GLIBCPP_ENABLE_C99): Do all fp-tests with 0.0, not 0. Fixes
2122 libstdc++/2609.
2123 * aclocal.m4: Regenerate.
2124 * configure: Regenerate.
2125
2126 2001-04-20 Benjamin Kosnik <bkoz@redhat.com>
2127
2128 * acinclude.m4 (GLIBCPP_ENABLE_LONG_LONG): Make sure required C99
2129 support is enabled correctly before long long is activated.
2130 * aclocal.m4: Regenerate.
2131 * configure: Regenerate.
2132
2133 * include/backward/backward_warning.h: Format correctly.
2134
2135 * testsuite/26_numerics/c99_classification_macros_c.cc: Add.
2136 * testsuite/26_numerics/c99_classification_macros_c++.cc: Add.
2137 * testsuite/26_numerics/c99_macros.cc: Remove.
2138
2139 2001-04-20 Phil Edwards <pme@sources.redhat.com>
2140
2141 * include/bits/stl_bvector.h: Replace __ITERATOR_CATEGORY with
2142 __iterator_category.
2143
2144 2001-04-19 Benjamin Kosnik <bkoz@redhat.com>
2145
2146 * acconfig.h (_GLIBCPP_USE_C99): Add.
2147 * config.h.in: Regenerate.
2148 * acinclude.m4 (GLIBCPP_ENABLE_C99): New macro. Test for ISO/IEC
2149 9899: 1999 support.
2150 * aclocal.m4: Regenerate.
2151 * configure.in (GLIBCPP_ENABLE_C99): Use it, on by default.
2152 * configure: Regenerate.
2153 * configure.in (GLIBCPP_ENABLE_LONG_LONG): Set default to yes.
2154 * configure: Regenerate.
2155 * include/c_std/bits/std_cwchar.h: Put wcstold, wcstoll, wcstoull
2156 into c99.
2157 * include/c_std/bits/std_cmath.h: Bring C99 functions into c99
2158 namespace.
2159 * include/c_std/bits/std_cstdlib.h: Same.
2160 * docs/html/configopts.html: Update.
2161 * testsuite/26_numerics/c99_macros.cc: Edit, use cmath instead of
2162 math.h
2163 (test_c99_classify): Add.
2164 * config/os/gnu-linux/bits/os_defines.h (_GNU_SOURCE): Remove.
2165 (_ISOC99_SOURCE): Remove.
2166
2167 * include/bits/stl_algo.h: Use _GLIBCPP_HAVE_DRAND48.
2168 * include/bits/c++config (__STL_ASSERTIONS): Simplify.
2169 * acinclude.m4 (GLIBCPP_CHECK_STDLIB_SUPPORT): Add check for drand48.
2170 * aclocal.m4: Regenerate.
2171 * configure: Regenerate.
2172
2173 2001-04-19 Phil Edwards <pme@sources.redhat.com>
2174
2175 * Makefile.am (doxygen): Assume script is missing execute perms.
2176 * Makefile.in: Regenerated.
2177 * docs/doxygen/user.cfg.in: Add class diagrams and source browsing.
2178
2179 2001-04-17 Loren J. Rittle <ljrittle@acm.org>
2180
2181 * testsuite/27_io/istream_seeks.cc: Inform DejaGnu of required files.
2182
2183 2001-04-17 Benjamin Kosnik <bkoz@redhat.com>
2184
2185 * testsuite/23_containers/map_operators.cc: Add dg-excess-errors.
2186 * testsuite/23_containers/set_operators.cc: Same.
2187
2188 * include/bits/c++config: Add _GLIBCPP_CONCEPT_CHECKS. Disable by
2189 default.
2190 (__GLIBCPP__): Bump from value of last release.
2191 * include/bits/concept_check.h: Default to off, edit comments.
2192 * src/stl-inst.cc: Use _GLIBCPP_CONCEPT_CHECKS.
2193 * src/Makefile.am (AM_CXXFLAGS): Remove _GLIBCPP_NO_CONCEPT_CHECKS.
2194 * src/Makefile.in: Regenerate.
2195
2196 2001-04-14 Martin Reinecke <martin@MPA-Garching.MPG.DE>
2197
2198 * include/bits/boost_concept_check.h(_Mutable_ContainerConcept):
2199 Properly uglify member.
2200
2201 2001-04-13 Phil Edwards <pme@sources.redhat.com>
2202
2203 * include/bits/stl_algobase.h (equal): Use EqualOpConcept instead
2204 of EqualityCo
2205 mparableConcept.
2206
2207 2001-04-13 Phil Edwards <pme@sources.redhat.com>
2208
2209 * include/bits/boost_concept_check.h: Uglify, fork from Boost.
2210 * include/bits/concept_check.h: Uglify.
2211 * include/bits/stl_algo.h: Likewise.
2212 * include/bits/stl_algobase.h: Likewise.
2213 * include/bits/stl_deque.h: Likewise.
2214 * include/bits/stl_heap.h: Likewise.
2215 * include/bits/stl_iterator_base_funcs.h: Likewise.
2216 * include/bits/stl_list.h: Likewise.
2217 * include/bits/stl_map.h: Likewise.
2218 * include/bits/stl_multimap.h: Likewise.
2219 * include/bits/stl_multiset.h: Likewise.
2220 * include/bits/stl_numeric.h: Likewise.
2221 * include/bits/stl_queue.h: Likewise.
2222 * include/bits/stl_set.h: Likewise.
2223 * include/bits/stl_stack.h: Likewise.
2224 * include/bits/stl_vector.h: Likewise.
2225 * include/ext/hash_map: Likewise.
2226 * include/ext/hash_set: Likewise.
2227 * include/ext/slist: Likewise.
2228
2229 2001-04-13 Gabriel Dos Reis <gdr@codesourcery.com>
2230
2231 * testsuite/23_containers/set_operators.cc: Just try to compile.
2232 Mark as XFAIL.
2233 * testsuite/23_containers/map_operators.cc: Same.
2234
2235 2001-04-12 Jason Merrill <jason_merrill@redhat.com>
2236
2237 * testsuite/lib/libstdc++.exp (libstdc++-dg-test): Prepend "./" to
2238 output_file.
2239 (dg-test): Revert rth's change.
2240
2241 2001-04-12 Nathan Sidwell <nathan@codesourcery.com>
2242
2243 * libsupc++/eh_alloc.cc (__cxa_allocate_exception): Don't
2244 terminate holding the mutex. Make sure size fits in EMERGENCY_OBJ_SIZE.
2245
2246 2001-04-12 Gabriel Dos Reis <gdr@codesourcery.com>
2247
2248 * testsuite/README: Add DejaGnu specific documentation.
2249
2250 2001-04-11 Benjamin Kosnik <bkoz@redhat.com>
2251
2252 * acinclude.m4: AC_CHECK_TOOL for expect.
2253 * aclocal.m4: Regenerate.
2254 * configure: Regenerate.
2255 * testsuite/Makefile.am (RUNTEST): Use substituted.
2256 (EXPECT): Same.
2257
2258 * configure.in: Remove xcompiling substitution.
2259 * tests_flags.in (CROSS_LIB_PATH): Remove.
2260 (xcompiling): Remove.
2261 (CXX): Use substituted CXX.
2262
2263 2001-04-11 Richard Henderson <rth@redhat.com>
2264
2265 * testsuite/lib/libstdc++.exp: Specify path for output_file.
2266
2267 2001-04-08 Gabriel Dos Reis <gdr@codesourcery.com>
2268
2269 * include/bits/std_valarray.h(valarray<>::operator[]): Make
2270 inline.
2271
2272 2001-04-06 Gabriel Dos Reis <gdr@codesourcery.com>
2273
2274 * testsuite/25_algorithms/equal.cc: New test.
2275
2276 2001-04-06 Joe Buck <jbuck@welsh-buck.org>
2277
2278 * stl_algobase.h (std::equal): avoid use of possibly-undefined
2279 operator != (one line patch).
2280
2281 2001-04-06 Benjamin Kosnik <bkoz@redhat.com>
2282
2283 * include/backward/backward_warning.h: Re-enable.
2284
2285 2001-04-06 Benjamin Kosnik <bkoz@redhat.com>
2286 Alexandre Oliva <aoliva@redhat.com>
2287
2288 * tests_flags.in (CROSS_LIB_PATH): Add as -B flag.
2289
2290 2001-04-06 Gabriel Dos Reis <gdr@codesourcery.com>
2291
2292 * include/c_std/bits/std_cmath.h: Get rid of C99 math macros.
2293 * testsuite/26_numerics/c99_macros.cc: Add test.
2294
2295 2001-04-06 Phil Edwards <pme@sources.redhat.com>
2296
2297 * docs/html/faq/index.html: Update for 2.92, grab from RELEASE-NOTES.
2298 * docs/html/faq/index.txt: Regenerated.
2299
2300 2001-04-06 Benjamin Kosnik <bkoz@redhat.com>
2301
2302 * include/backward/backward_warning.h: Temporarily disable until
2303 g++ testsuite changes go in.
2304 * tests_flags.in (CROSS_LIB_PATH): Add.
2305
2306 2001-04-05 Benjamin Kosnik <bkoz@redhat.com>
2307
2308 Warn when using backward headers.
2309 * include/backward/algo.h: Include warning file.
2310 * include/backward/vector.h: Same.
2311 * include/backward/tree.h: Same.
2312 * include/backward/tempbuf.h: Same.
2313 * include/backward/strstream: Same.
2314 * include/backward/streambuf.h: Same.
2315 * include/backward/stream.h: Same.
2316 * include/backward/stack.h: Same.
2317 * include/backward/slist.h: Same.
2318 * include/backward/set.h: Same.
2319 * include/backward/rope.h:
2320 * include/backward/queue.h: Same.
2321 * include/backward/pair.h: Same.
2322 * include/backward/ostream.h: Same.
2323 * include/backward/new.h: Same.
2324 * include/backward/multiset.h: Same.
2325 * include/backward/multimap.h: Same.
2326 * include/backward/map.h: Same.
2327 * include/backward/list.h: Same.
2328 * include/backward/iterator.h: Same.
2329 * include/backward/istream.h: Same.
2330 * include/backward/iostream.h:
2331 * include/backward/iomanip.h:
2332 * include/backward/heap.h: Same.
2333 * include/backward/hashtable.h:
2334 * include/backward/hash_set.h:
2335 * include/backward/hash_map.h:
2336 * include/backward/function.h:
2337 * include/backward/fstream.h:
2338 * include/backward/deque.h:
2339 * include/backward/defalloc.h: Same.
2340 * include/backward/complex.h: Same.
2341 * include/backward/bvector.h:
2342 * include/backward/alloc.h:
2343 * include/backward/algobase.h: Same.
2344
2345 * include/backward/backward_warning.h: New file.
2346 * src/Makefile.am (backward_headers): Add backward_warning.h
2347 * src/Makefile.in: Regenerate.
2348
2349 2001-04-05 Benjamin Kosnik <bkoz@redhat.com>
2350
2351 * src/Makefile.am (myinstalldirs): Make sure backward directory is
2352 created.
2353 (myinstallheaders): Install backward headers in backward directory.
2354 * src/Makefile.in: Regenerate.
2355
2356 2001-04-05 Benjamin Kosnik <bkoz@redhat.com>
2357
2358 Prepare for libstdc++-2.92.
2359 * docs/html/17_intro/RELEASE-NOTES (New): Update.
2360 * docs/html/configopts.html: Fix formatting.
2361 * README (file): Updates.
2362 * include/bits/c++config (__GLIBCPP__): Update.
2363
2364 2001-04-05 Phil Edwards <pme@sources.redhat.com>
2365
2366 * docs/doxygen/run_doxygen: Check for the existence of Doxygen.
2367
2368 2001-04-04 Phil Edwards <pme@sources.redhat.com>
2369
2370 * docs/doxygen/user.cfg.in: Extract all non-private members;
2371 reduce confusing documentation output.
2372
2373 2001-04-04 Geoffrey Keating <geoffk@redhat.com>
2374
2375 * include/backward/fstream.h: Add missing semicolons.
2376
2377 2001-04-03 Benjamin Kosnik <bkoz@redhat.com>
2378
2379 * include/bits/fstream.tcc: Add bool parameter to filebuf ctor.
2380 * include/bits/ios_base.h(ios_base::Init): Remove _M_cout, _M_cin,
2381 _M_cerr, _M_wcout, _M_wcin, _M_wcerr.
2382 (ios_base::Init::_S_ios_create): New.
2383 (ios_base::Init::_S_ios_destroy): New.
2384 * include/bits/std_fstream.h: Change ctor args.
2385 * src/ios.cc (ios_base::Init::Init): Use _S_ios_create.
2386 (ios_base::Init::~Init): Use _S_ios_destroy.
2387 (ios_base::sync_with_stdio): Use new members.
2388 * testsuite/27_io/filebuf_members.cc: Fix calling conventions for
2389 filebuf ctor.
2390
2391 2001-04-03 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
2392
2393 * include/backward/fstream.h: Expose streampos to global
2394 namespace.
2395
2396 2001-04-03 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
2397
2398 * include/bits/stl_iterator_base_types.h: Fix typo
2399
2400 2001-04-03 Andreas Schwab <schwab@suse.de>
2401
2402 * include/backward/fstream.h: Define filebuf and wfilebuf.
2403
2404 2001-04-02 Phil Edwards <pme@sources.redhat.com>
2405
2406 New concept checking implementation.
2407 * docs/html/19_diagnostics/howto.html: Document.
2408 * docs/html/17_intro/concept_check.diff: New file, for reference.
2409 * include/bits/boost_concept_check.h: New file from Boost.
2410 * include/bits/c++config: Update comments.
2411
2412 * include/bits/concept_check.h: New file.
2413 * include/bits/concept_checks.h: Removed.
2414 * include/bits/container_concepts.h: Removed.
2415 * include/bits/sequence_concepts.h: Removed.
2416 * include/bits/stl_iterator_base.h: Removed; split into...
2417 * include/bits/stl_iterator_base_funcs.h: ...this new file...
2418 * include/bits/stl_iterator_base_types.h: ...and this new file.
2419
2420 * include/bits/sbuf_iter.h: Update to use new implementation.
2421 * include/bits/std_iterator.h: Likewise.
2422 * include/bits/std_memory.h: Likewise.
2423 * include/bits/stl_algo.h: Likewise.
2424 * include/bits/stl_algobase.h: Likewise.
2425 * include/bits/stl_construct.h: Likewise.
2426 * include/bits/stl_deque.h: Likewise.
2427 * include/bits/stl_heap.h: Likewise.
2428 * include/bits/stl_list.h: Likewise.
2429 * include/bits/stl_map.h: Likewise.
2430 * include/bits/stl_multimap.h: Likewise.
2431 * include/bits/stl_multiset.h: Likewise.
2432 * include/bits/stl_numeric.h: Likewise.
2433 * include/bits/stl_queue.h: Likewise.
2434 * include/bits/stl_set.h: Likewise.
2435 * include/bits/stl_stack.h: Likewise.
2436 * include/bits/stl_uninitialized.h: Likewise.
2437 * include/bits/stl_vector.h: Likewise.
2438 * include/ext/hash_map: Likewise.
2439 * include/ext/hash_set: Likewise.
2440 * include/ext/slist: Likewise.
2441 * include/ext/stl_hashtable.h: Likewise.
2442
2443 * src/Makefile.am (base_headers): Update list of headers.
2444 * Makefile.in: Regenerated.
2445 * src/Makefile.in: Regenerated.
2446 * libio/Makefile.in: Regenerated.
2447 * libmath/Makefile.in: Regenerated.
2448 * libsupc++/Makefile.in: Regenerated.
2449 * testsuite/Makefile.in: Regenerated.
2450
2451 * docs/html/install.html: Update contact information.
2452 * docs/html/17_intro/howto.html: Ditto.
2453 * docs/html/18_support/howto.html: Ditto.
2454 * docs/html/20_util/howto.html: Ditto.
2455 * docs/html/21_strings/howto.html: Ditto.
2456 * docs/html/22_locale/howto.html: Ditto.
2457 * docs/html/23_containers/howto.html: Ditto.
2458 * docs/html/24_iterators/howto.html: Ditto.
2459 * docs/html/25_algorithms/howto.html: Ditto.
2460 * docs/html/26_numerics/howto.html: Ditto.
2461 * docs/html/27_io/howto.html: Ditto.
2462 * docs/html/faq/index.html: Ditto, plus info on new checking code.
2463 * docs/html/ext/howto.html: Ditto, plus info on new checking code.
2464 * docs/html/faq/index.txt: Regenerated.
2465
2466 2001-04-02 Zack Weinberg <zackw@stanford.edu>
2467
2468 * testsuite/lib/libstdc++.exp (dg-test): Annotate result
2469 messages with $which_library as well as $tool_flags and
2470 ${dg-extra-tool-flags}. Factor out annotation text into
2471 a single variable.
2472
2473 2001-04-02 Stephen M. Webb <stephen@bregmasoft.com>
2474
2475 * include/c_std/bits/std_cstring.h: Fix for const-correctness.
2476 * include/c_std/bits/std_cwchar.h: Same.
2477 * testsuite/21_strings/c_strings.cc: Add.
2478
2479 2001-04-01 Benjamin Kosnik <bkoz@codesourcery.com>
2480
2481 * docs/html/configopts.html: Add --enable-sjlj-exceptions docs.
2482
2483 2001-04-01 Zack Weinberg <zackw@stanford.edu>
2484
2485 * tests_flags.in: Use test a = b, not test a == b which is not
2486 portable.
2487
2488 2001-03-31 Benjamin Kosnik <bkoz@redhat.com>
2489
2490 * configure.target: Remove duplicate aix entry.
2491
2492 2001-03-30 Benjamin Kosnik <bkoz@redhat.com>
2493
2494 * include/ext/stl_bvector.h: Move to...
2495 * include/bits/stl_vector.h: ...here.
2496 * include/ext/bvector: Move to...
2497 * include/backward/bvector.h: ...here.
2498 * include/bits/std_vector.h: Change stl_bvector include.
2499 * include/bits/std_queue.h: Remove bvector include.
2500 * include/ext/tree: Insert using rb_tree, move to...
2501 * include/backward/tree.h: ...here.
2502 * include/backward/hash_map.h: Include ext/hash_map.
2503 * include/backward/hash_set.h: Include ext/hash_set.
2504 * include/backward/queue.h: New file.
2505 * include/backward/stack.h: Edit.
2506 * include/backward/algo.h: Same.
2507 * include/backward/algobase.h: Same.
2508 * include/backward/alloc.h: Same.
2509 * include/backward/function.h: Same.
2510 * include/backward/iomanip.h: Same.
2511 * include/backward/istream.h: Same.
2512 * include/backward/iterator.h: Same.
2513 * include/backward/list.h: Same.
2514 * include/backward/map.h: Same.
2515 * include/backward/multimap.h: Same.
2516 * include/backward/multiset.h: Same.
2517 * include/backward/ostream.h: Same.
2518 * include/backward/pair.h: Same
2519 * include/backward/rope.h: Same.
2520 * include/backward/set.h: Same.
2521 * include/backward/stream.h: Same.
2522 * include/backward/strstream.h: Same.
2523 * include/backward/tempbuf.h: Same.
2524 * src/Makefile.am (ext_headers): Edit.
2525 * src/Makefile.in: Regenerate.
2526 * testsuite/ext/headers.cc (main): Fix.
2527 * mkcheck.in: Fix.
2528
2529 2001-03-30 Phil Edwards <pme@sources.redhat.com>
2530
2531 * tests_flags.in (LIBS): Pass correct path for installed testing.
2532
2533 2001-03-28 Benjamin Kosnik <bkoz@redhat.com>
2534
2535 * mkcheck.in (LIBTOOL): Don't construct -B argument here...
2536 * tests_flags.in (CXX): Construct here.
2537 (static_fail): Don't remove compile.out. Format with spaces.
2538 (INCLUDES): Deal with xcompiling.
2539 * configure.in (xcompiling): Substitute.
2540 * testsuite/Makefile.am: Snake libjava configury.
2541 * testsuite/Makefile.in: Regenerate.
2542 * testsuite/23_containers/map_operators.cc: Tweaks.
2543 * testsuite/23_containers/set_operators.cc: Tweaks.
2544
2545 2001-03-28 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
2546
2547 Enable dejagnu testing framework.
2548 * configure.in: Generate testsuite/Makefile.
2549 * configure: Regenerate.
2550 * Makefile.am (check-install): Change rule from this...
2551 (check-script-install): ...to this.
2552 (check): Change rule from this...
2553 (check-script):...to this.
2554 * Makefile.in: Regenerate.
2555
2556 2001-03-28 Alexandre Oliva <aoliva@redhat.com>
2557
2558 * libsupc++/Makefile.am (CXXLINK): Add --tag disable-shared after
2559 --tag CXX.
2560 (LIBTOOL): Let automake take care of its definition.
2561 * libsupc++/Makefile.in: Rebuilt.
2562
2563 2001-03-28 Richard Henderson <rth@redhat.com>
2564
2565 IA-64 ABI Exception Handling:
2566 * acinclude.m4 (GLIBCPP_ENABLE_SJLJ_EXCEPTIONS): New.
2567 * configure.in: Use it.
2568 * Makefile.in, aclocal.m4, config.h.in, configure: Regenerate.
2569 * libsupc++/Makefile.am (sources): Update files list.
2570 * libsupc++/Makefile.in: Regenerate.
2571 * libsupc++/eh_alloc.cc, libsupc++/eh_aux_runtime.cc: New files.
2572 * libsupc++/eh_catch.cc, libsupc++/eh_exception.cc: New files.
2573 * libsupc++/eh_globals.cc, libsupc++/eh_personality.cc: New files.
2574 * libsupc++/eh_terminate.cc, libsupc++/eh_throw.cc: New files.
2575 * libsupc++/exception_support.cc: Remove.
2576 * libsupc++/exception_support.h: Remove.
2577 * libsupc++/pure.cc: Use std::terminate.
2578 * libsupc++/tinfo2.cc (__throw_type_match_rtti_2): Remove.
2579 (__is_pointer): Remove.
2580 * libsupc++/unwind-cxx.h: New file.
2581 * libsupc++/vec.cc (uncatch_exception): Update for new abi.
2582
2583 2001-03-27 Alexandre Oliva <aoliva@redhat.com>
2584
2585 * libsupc++/Makefile.am (CXXLINK): Use CXX again, and choose
2586 CXX tag explicitly.
2587 * src/Makefile.am (CXXLINK): Likewise.
2588 * libsupc++/Makefile.in, src/Makefile.in: Rebuilt.
2589
2590 2001-03-27 Benjamin Kosnik <bkoz@redhat.com>
2591
2592 * include/bits/c++config (_STL_USE_CONCEPT_CHECKS): Disable by default.
2593
2594 2001-03-26 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
2595
2596 * libstdc++-v3/tests_flags.in: Change the order of libstdc++
2597 and libc
2598
2599 2001-03-26 Benjamin Kosnik <bkoz@redhat.com>
2600
2601 * include/bits/basic_file.h (get_fileno): Remove.
2602 (_M_fileno): Remove.
2603 (_M_cfile_created): Add.
2604 (basic_file::basic_file(__c_file_type*, openmode): Add.
2605 (basic_file::basic_file(int, const char*, openmode): Remove.
2606 * include/bits/fstream.tcc (basic_fstream::basic_filebuf(int __fd,
2607 const char*, ios_base::openmode): Don't allocate
2608 internal buffers. Turn off internal buffers.
2609 (basic_filebuf::overflow): Remove test for null buffer.
2610 (basic_filebuf::_M_really_overflow): Same. Allow unbuffered use.
2611 * include/bits/streambuf.cc: Tweak.
2612 * include/bits/std_ostream.h: Tweak.
2613 * config/basic_file_libio.h: Same.
2614 * config/basic_file_stdio.h: Same.
2615 * src/ios.cc (ios_base::Init::Init()): Unbuffer stdout by default.
2616 * testsuite/27_io/filebuf_members.cc: Tweaks.
2617 * testsuite/27_io/ios_base_members_static.cc: Tweaks.
2618
2619 2001-03-24 Phil Edwards <pme@sources.redhat.com>
2620
2621 * Makefile.am: New targets, doxygen and doxygen-maint.
2622 * Makefile.in: Regenerated.
2623 * docs/doxygen/run_doxygen: Finally implemented.
2624 * docs/doxygen/maint.cfg.in: New file.
2625 * docs/doxygen/user.cfg.in: New file.
2626
2627 2001-03-24 Phil Edwards <pme@sources.redhat.com>
2628
2629 * acinclude.m4 (GLIBCPP_CHECK_COMPILER_FEATURES): Update comment.
2630 * src/Makefile.am: Replace leading spaces with tabs on continuation
2631 lines.
2632 * aclocal.m4: Regenerated.
2633 * configure: Ditto.
2634 * Makefile.in: Ditto.
2635 * src/Makefile.in: Ditto.
2636 * libio/Makefile.in: Ditto.
2637 * libmath/Makefile.in: Ditto.
2638 * libsupc++/Makefile.in: Ditto.
2639
2640 2001-03-24 Phil Edwards <pme@sources.redhat.com>
2641
2642 * docs/html/19_diagnostics/howto.html: HTML fixup. Describe
2643 concept-checking code and current status of same.
2644 * docs/html/ext/howto.html: Ditto.
2645 * docs/html/faq/index.html: Ditto.
2646 * docs/html/faq/index.txt: Regenerated.
2647
2648 2001-03-24 Phil Edwards <pme@sources.redhat.com>
2649
2650 * include/bits/std_bitset.h: Include ostream and istream headers
2651 instead of iostream.
2652
2653 2001-03-22 Greg Bumgardner <bumgard@roguewave.com>
2654
2655 * include/bits/ostream.tcc: Use __builtin_alloca.
2656
2657 2001-03-22 Benjamin Kosnik <bkoz@redhat.com>
2658
2659 * src/misc-inst.cc (__sink_unused_warning): Move to...
2660 * src/locale-inst.cc (__sink_unused_warning): Move to...
2661 * src/stl-inst.cc: Here.
2662 * include/bits/c++config (_STL_NO_CONCEPT_CHECKS): Add define,
2663 commented it out.
2664
2665 2001-03-21 Theodore Papadopoulo <Theodore.Papadopoulo@sophia.inria.fr>
2666
2667 * intclude/bits/basic_file.h: Fix typos in comments.
2668
2669 2001-03-20 Richard Henderson <rth@redhat.com>
2670
2671 * src/gen-num-limits.cc: Instantiate for wchar_t.
2672 * config/os/aix/bits/ctype_base.h (mask): Use unsigned int.
2673
2674 2001-03-20 Jason Merrill <jason@redhat.com>
2675
2676 * libsupc++/vec.cc (__cxa_vec_cleanup): New fn.
2677 (__cxa_vec_ctor, __cxa_vec_cctor, __cxa_vec_dtor): Call it.
2678 * libsupc++/cxxabi.h: Declare it.
2679
2680 2001-03-16 Alexandre Oliva <aoliva@redhat.com>
2681
2682 * src/gen-num-limits.cc (signal_adapter): Overloaded to match
2683 signal_func with an unspecified argument list.
2684
2685 2001-03-15 Benjamin Kosnik <bkoz@redhat.com>
2686
2687 * tests_flags.in (CXXFLAGS): Link libstdc++ before libsupc++.
2688
2689 2001-03-15 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
2690
2691 * include/bits/basic_string.tcc (operator+): Fix thinko.
2692
2693 2001-03-14 Benjamin Kosnik <bkoz@redhat.com>
2694
2695 libstdc++/2020
2696 * include/bits/std_streambuf.h: Remove cached locale facets.
2697 (basic_streambuf::_M_buf_fctype): Remove.
2698 (basic_streambuf::~basic_streambuf): Remove here.
2699 (basic_streambuf::basic_streambuf): Same.
2700 (basic_streambuf::imbue): Same.
2701 * include/bits/fstream.tcc (filebuf::imbue): Remove _M_buf_fctype.
2702 * include/bits/std_fstream.h (basic_filebuf::_M_fcvt): Remove.
2703 (basic_filebuf::~basic_filebuf()): Remove here.
2704 * include/bits/fstream.tcc (basic_filebuf::basic_filebuf): Same.
2705 (basic_filebuf::imbue): Same.
2706 * include/bits/localefwd.h (_Count_ones): Remove.
2707 (locale::_S_num_categories): Just use 6, since this doesn't
2708 actually change, ever.
2709 * include/bits/locale_facets.tcc (has_facet): Simplify.
2710 (use_facet): Same.
2711 * testsuite/27_io/filebuf.cc (test06): Add tests.
2712
2713 2001-03-13 Steve Ellcey <sje@cup.hp.com>
2714
2715 * libstdc++-v3/config/os/hpux/bits/ctype_base.h: Make ctype masks
2716 match HP-UX ctype.h header file.
2717
2718 2001-03-13 Andris Pavenis <pavenis@latnet.lv>
2719
2720 * config/djgpp/bits/ctype_noninline.h: Fix typo and remove
2721 duplicate definitions of __dj_ctype_*
2722
2723 2001-03-13 Benjamin Kosnik <bkoz@redhat.com>
2724
2725 * libsupc++/new: Remove pragma interface.
2726 * libsupc++/typeinfo: Same.
2727 * libsupc++/exception: Same.
2728 * libsupc++/new_handler.cc: Remove pragma implementation.
2729 (bad_alloc::~bad_alloc()): Add.
2730 * libsupc++/exception_support.cc: Same.
2731 (exception::~exception): Add.
2732 (bad_exception::~bad_exception): Add.
2733 * libsupc++/tinfo.cc: Same.
2734 (bad_cast::~bad_cast): Add.
2735 (bad_typeid::~bad_typeid): Add.
2736
2737 2001-03-13 Phil Edwards <pme@sources.redhat.com>
2738
2739 * mkcheck.in: Fix IFS regression for non-bash-2.01 hosts.
2740
2741 2001-03-12 Felix Lee <flee@redhat.com>
2742
2743 * mkcheck.in: workaround for bash 2.01 IFS bug.
2744
2745 2001-03-12 Benjamin Kosnik <bkoz@redhat.com>
2746
2747 Fixups for -fno-for-scope
2748 * include/bits/locale_facets.tcc (__match_parallel): Fixup.
2749 * src/valarray-inst.cc (__gslice_to_index): Same.
2750
2751 2001-03-12 Rodney Brown <RodneyBrown@mynd.com>
2752
2753 * src/gen-num-limits.cc (traps) [SPECIALIZE_TRAPPING]: Add fflush
2754 prior to trapping signal (UnixWare 7 workaround).
2755
2756 2001-03-12 Craig Rodrigues <rodrigc@mediaone.net>
2757
2758 * include/backward/hashtable.h: Same.
2759 * include/backward/rope.h: Fix include.
2760
2761 2001-03-12 Benjamin Kosnik <bkoz@redhat.com>
2762
2763 * include/backward/vector.h: Include std_vector.h.
2764
2765 * include/bits/istream.tcc (basic_istream<_CharT, _Traits>&
2766 operator>>(basic_istream<_CharT, _Traits>& __in, _CharT* __s)):
2767 Fix typo.
2768
2769 2001-03-11 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
2770
2771 * include/ext/stl_hashtable.h: Change type of __n to size_t
2772 * include/backward/bvector.h: Include <ext/stl_bvector.h>
2773
2774 2001-03-09 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
2775
2776 * include/bits/istream.tcc ( basic_istream<_CharT, _Traits>&
2777 operator>>(basic_istream<_CharT, _Traits>& __in, _CharT* __s)):
2778 Use streamsize, not int_type.
2779
2780 2001-03-08 Benjamin Kosnik <bkoz@redhat.com>
2781
2782 * testsuite/27_io/streambuf.cc (test06): New test, disabled at the
2783 moment.
2784
2785 2001-03-08 Andreas Schwab <schwab@suse.de>
2786
2787 * acinclude.m4 (GLIBCPP_EXPORT_INSTALL_INFO): Fix syntax in test
2788 command.
2789 * aclocal.m4, configure: Regenerated.
2790
2791 2001-03-07 Benjamin Kosnik <bkoz@redhat.com>
2792
2793 * include/bits/std_iosfwd.h: Remove string forward decls here.
2794 * include/bits/stringfwd.h: Add forward decls for char_traits
2795 specializations.
2796 * config/c_io_libio.h (wstreamoff): Delete.
2797 * config/c_io_stdio.h (wstreamoff): Same.
2798 * include/bits/char_traits.h: Use streamoff not wstreamoff for
2799 char_traits<wchar_t>::off_type.
2800 Remove duplicate typedefs.
2801 * include/bits/fpos.h: Define streampos/wstreampos here.
2802 * testsuite/27_io/istream_seeks.cc (test04): Explicitly cast int
2803 values to off_type.
2804 (test05): Same.
2805 Changeup output files.
2806 * testsuite/27_io/istream_unformatted.cc: Change output files.
2807 * testsuite/27_io/istream_seeks-1.txt: Add.
2808 * testsuite/27_io/istream_seeks-2.tst: Add.
2809 * testsuite/27_io/istream_seeks-1.tst: Add.
2810 * testsuite/27_io/istream_unformatted-2.tst: Delete.
2811 * testsuite/27_io/istream_unformatted-3.tst: Delete.
2812 * testsuite/27_io/istream_unformatted-3.txt: Delete.
2813
2814 2001-03-07 Alexandre Oliva <aoliva@redhat.com>
2815
2816 Add Irix 5.2, 6.3 support.
2817 * config/os/irix/bits: Renamed to...
2818 * config/os/irix/irix6.5/bits: this.
2819 * config/os/irix/irix5.2/bits: New, copied from irix6.5/bits.
2820 * config/os/irix/irix5.2/bits/ctype_base.h: Use _U, _L, _N,
2821 _X, _S, _P, _C and _B instead of IRIX-6.5 _IS* macros.
2822 * config/os/irix/irix5.2/bits/ctype_noninline.h
2823 (ctype<char>::ctype): Initialize _M_table with __ctype.
2824 * configure.target: Adjust.
2825
2826 2001-03-06 Benjamin Kosnik <bkoz@redhat.com>
2827
2828 libstdc++/2181
2829 * include/bits/istream.tcc (basic_istream<_CharT, _Traits>::
2830 operator>>(__istream_type& (*__pf)(__istream_type&)): Don't use
2831 sentry.
2832 (basic_istream<_CharT, _Traits>:: operator>>(__ios_type&
2833 (*__pf)(__ios_type&)): Same.
2834 (basic_istream<_CharT, _Traits>:: operator>>(ios_base&
2835 (*__pf)(ios_base&))): Same.
2836 * testsuite/27_io/istream_extractor_other.cc: Add tests.
2837 * testsuite/27_io/istream_manip.cc (test01): Fix.
2838
2839 2001-03-06 Nathan Myers <ncm@cantrip.org>
2840 Benjamin Kosnik <bkoz@redhat.com>
2841
2842 * include/c_std/bits/std_cerrno.h: Don't define errno in std::.
2843 * testsuite/17_intro/header_cerrno.cc (test01): New file.
2844 * testsuite/17_intro/header_cassert.cc (test01): New file.
2845 * testsuite/17_intro/header_cstddef.cc (test01): New file.
2846 * testsuite/17_intro/header_csetjmp.cc (test01): New file.
2847 * testsuite/17_intro/header_cstdarg.cc (test01): New file.
2848
2849 2001-03-05 scott snyder <snyder@fnal.gov>
2850
2851 libstdc++/2190
2852 * include/c_std/bits/std_cmath.h: Move abs(long), div(long,long)
2853 from here...
2854 * include/c_std/bits/std_cstdlib.h: ... to here.
2855 * testsuite/17_intro/header_cstdlib.cc: Add test.
2856
2857 2001-03-05 Stephen M. Webb <stephen.webb@cybersafe.com>
2858
2859 * libsupc++/vec.cc (__cxxa_vec_new2): Qualify size_t.
2860
2861 2001-03-05 Laurynas Biveinis <lauras@softhome.net>
2862
2863 * config/os/djgpp/ctype_base.h (ctype_base): fix __to_type
2864 definition. Replace enum with static const variables.
2865
2866 * config/os/djgpp/ctype_inline.h (ctype<char>::is): remove
2867 throw specification, fix typos, use <static_cast>.
2868 (ctype<char>::scan_is): remove throw specification.
2869 (ctype<char>::scan_not): likewise.
2870
2871 * config/os/djgpp/ctype_noninline.h (ctype<char>::ctype): fix typo.
2872 (ctype<char>::do_toupper(char)): use <static_cast>.
2873 (ctype<char>::do_toupper(char *, const char *)): likewise.
2874 (ctype<char>::do_tolower(char)): likewise.
2875 (ctype<char>::do_tolower(char *, const char *)): likewise.
2876
2877 2001-03-04 Phil Edwards <pme@sources.redhat.com>
2878
2879 http://gcc.gnu.org/ml/libstdc++/2001-03/msg00015.html
2880 * include/backward/algo.h: Use std not __STD. Remove unneeded
2881 macros and "never happens" code. Adjust to C++STYLE guidelines.
2882 * include/backward/algobase.h: Likewise.
2883 * include/backward/alloc.h: Likewise.
2884 * include/backward/bvector.h: Likewise.
2885 * include/backward/deque.h: Likewise.
2886 * include/backward/function.h: Likewise.
2887 * include/backward/hash_map.h: Likewise.
2888 * include/backward/hash_set.h: Likewise.
2889 * include/backward/hashtable.h: Likewise.
2890 * include/backward/heap.h: Likewise.
2891 * include/backward/iterator.h: Likewise.
2892 * include/backward/list.h: Likewise.
2893 * include/backward/map.h: Likewise.
2894 * include/backward/multimap.h: Likewise.
2895 * include/backward/multiset.h: Likewise.
2896 * include/backward/pair.h: Likewise.
2897 * include/backward/rope.h: Likewise.
2898 * include/backward/set.h: Likewise.
2899 * include/backward/slist.h: Likewise.
2900 * include/backward/stack.h: Likewise.
2901 * include/backward/strstream: Likewise.
2902 * include/backward/tempbuf.h: Likewise.
2903 * include/backward/tree.h: Likewise.
2904 * include/backward/vector.h: Likewise.
2905 * include/bits/basic_ios.h: Likewise.
2906 * include/bits/basic_ios.tcc: Likewise.
2907 * include/bits/basic_string.h: Likewise.
2908 * include/bits/c++config: Likewise.
2909 * include/bits/concept_checks.h: Likewise.
2910 * include/bits/fpos.h: Likewise.
2911 * include/bits/fstream.tcc: Likewise.
2912 * include/bits/functexcept.h: Likewise.
2913 * include/bits/ios_base.h: Likewise.
2914 * include/bits/istream.tcc: Likewise.
2915 * include/bits/mask_array.h: Likewise.
2916 * include/bits/ostream.tcc: Likewise.
2917 * include/bits/pthread_allocimpl.h: Likewise.
2918 * include/bits/sbuf_iter.h: Likewise.
2919 * include/bits/slice.h: Likewise.
2920 * include/bits/slice_array.h: Likewise.
2921 * include/bits/sstream.tcc: Likewise.
2922 * include/bits/std_bitset.h: Likewise.
2923 * include/bits/std_fstream.h: Likewise.
2924 * include/bits/std_iomanip.h: Likewise.
2925 * include/bits/std_ios.h: Likewise.
2926 * include/bits/std_istream.h: Likewise.
2927 * include/bits/std_iterator.h: Likewise.
2928 * include/bits/std_memory.h: Likewise.
2929 * include/bits/std_ostream.h: Likewise.
2930 * include/bits/std_sstream.h: Likewise.
2931 * include/bits/std_streambuf.h: Likewise.
2932 * include/bits/std_string.h: Likewise.
2933 * include/bits/std_valarray.h: Likewise.
2934 * include/bits/stl_algo.h: Likewise.
2935 * include/bits/stl_algobase.h: Likewise.
2936 * include/bits/stl_alloc.h: Likewise.
2937 * include/bits/stl_construct.h: Likewise.
2938 * include/bits/stl_deque.h: Likewise.
2939 * include/bits/stl_function.h: Likewise.
2940 * include/bits/stl_heap.h: Likewise.
2941 * include/bits/stl_iterator.h: Likewise.
2942 * include/bits/stl_iterator_base.h: Likewise.
2943 * include/bits/stl_list.h: Likewise.
2944 * include/bits/stl_map.h: Likewise.
2945 * include/bits/stl_multimap.h: Likewise.
2946 * include/bits/stl_multiset.h: Likewise.
2947 * include/bits/stl_numeric.h: Likewise.
2948 * include/bits/stl_pair.h: Likewise.
2949 * include/bits/stl_pthread_alloc.h: Likewise.
2950 * include/bits/stl_queue.h: Likewise.
2951 * include/bits/stl_raw_storage_iter.h: Likewise.
2952 * include/bits/stl_relops.h: Likewise.
2953 * include/bits/stl_set.h: Likewise.
2954 * include/bits/stl_stack.h: Likewise.
2955 * include/bits/stl_tempbuf.h: Likewise.
2956 * include/bits/stl_threads.h: Likewise.
2957 * include/bits/stl_tree.h: Likewise.
2958 * include/bits/stl_uninitialized.h: Likewise.
2959 * include/bits/stl_vector.h: Likewise.
2960 * include/bits/streambuf.tcc: Likewise.
2961 * include/bits/type_traits.h: Likewise.
2962 * include/bits/valarray_meta.h: Likewise.
2963 * include/ext/bvector: Likewise.
2964 * include/ext/hash_map: Likewise.
2965 * include/ext/hash_set: Likewise.
2966 * include/ext/ropeimpl.h: Likewise.
2967 * include/ext/slist: Likewise.
2968 * include/ext/stl_bvector.h: Likewise.
2969 * include/ext/stl_hash_fun.h: Likewise.
2970 * include/ext/stl_hashtable.h: Likewise.
2971 * include/ext/stl_rope.h: Likewise.
2972 * src/complex_io.cc: Likewise.
2973 * src/ios.cc: Likewise.
2974 * src/locale-inst.cc: Likewise.
2975 * src/locale.cc: Likewise.
2976 * src/localename.cc: Likewise.
2977 * src/misc-inst.cc: Likewise.
2978 * src/stdexcept.cc: Likewise.
2979 * src/stl-inst.cc: Likewise.
2980 * src/strstream.cc: Likewise.
2981 * src/valarray-inst.cc: Likewise.
2982
2983 2001-03-03 Benjamin Kosnik <bkoz@redhat.com>
2984
2985 * src/misc-inst.cc (__copy_streambufs): Fix typo for alpha.
2986
2987 2001-03-02 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
2988
2989 * include/bits/istream.tcc: change type of __extracted to __size_type
2990
2991 2001-03-02 Benjamin Kosnik <bkoz@redhat.com>
2992
2993 * src/wstring-inst.cc: New file.
2994 * src/Makefile.am (EXTRA_LTLIBRARIES): Remove.
2995 (libinst_wstring_la_SOURCES): Remove.
2996 (libstdc___la_LIBADD): Remove libinst_wstring_la.
2997 (sources): Add wstring-inst.cc
2998 * acinclude.m4 (GLIBCPP_CHECK_WCHAR_T_SUPPORT): Remove
2999 libinst_wstring_la.
3000
3001 2001-03-02 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
3002
3003 * src/locale.cc: initialise __ret with zero
3004 * src/strstream.cc:cast gptr to int_type
3005
3006 2001-03-01 Phil Edwards <pme@sources.redhat.com>
3007
3008 * docs/html/faq/index.html: Update broken links.
3009 * docs/html/faq/index.txt: Regenerated.
3010
3011 2001-02-28 Benjamin Kosnik <bkoz@redhat.com>
3012
3013 libstdc++/2064
3014 * configure.target: Change irix* to irix6.5* in target_os table.
3015
3016 2001-02-28 Benjamin Kosnik <bkoz@redhat.com>
3017
3018 libstdc++/2103
3019 * include/bits/c++config (__GLIBCPP__): Bump number in
3020 anticipation of 2.92.
3021
3022 * include/bits/codecvt.h: Fix typo.
3023 * include/bits/basic_file.h (__basic_file): Don't use _M_wfile for
3024 stdio model.
3025 * acinclude.m4 (GLIBCPP_ENABLE_CSTDIO): Enable wchar_t
3026 instantiations for stdio model.
3027
3028 2001-02-28 Phil Edwards <pme@sources.redhat.com>
3029
3030 * acinclude.m4 (GLIBCPP_CONFIGURE): Remove GLIBCPP_CFLAGS
3031 and GLIBCPP_CXXFLAGS as unused variables.
3032 * configure.host: Likewise.
3033 * configure.target: Likewise.
3034 * aclocal.m4: Regenerated.
3035 * configure: Regenerated.
3036 * Makefile.in: Regenerated.
3037 * libio/Makefile.in: Regenerated.
3038 * libmath/Makefile.in: Regenerated.
3039 * libsupc++/Makefile.in: Regenerated.
3040 * src/Makefile.in: Regenerated.
3041
3042 2001-02-27 Benjamin Kosnik <bkoz@redhat.com>
3043
3044 libstdc++/1886
3045 * include/bits/basic_file.h: Include basic_file_model.h.
3046 * config/c_io_libio.cc: Move to...
3047 * config/basic_file_libio.cc: Here.
3048 * config/basic_file_libio.h: New file.
3049 * config/c_io_stdio.cc: Move to...
3050 * config/basic_file_stdio.cc: Here.
3051 * config/basic_file_stdio.h: New file.
3052 * config/c_io_libio.h: Tweak.
3053 * config/c_io_stdio.h: Tweak.
3054 * src/Makefile.am (build_headers): Add basic_file_model.h.
3055 (sources): Add basic_file.cc, remove c++io.cc.
3056 * src/Makefile.in: Regenerate.
3057 * acinclude.m4 (GLIBCPP_ENABLE_CSTDIO): Add support for
3058 basic_file_model.h and basic_file.cc.
3059 * aclocal.m4: Regenerate.
3060 * configure: Regenerate.
3061 * testsuite/27_io/filebuf.cc (test05): Add regression.
3062
3063 2001-02-27 Benjamin Kosnik <bkoz@redhat.com>
3064
3065 Correct license.
3066 * config/cpu/alpha/bits/atomicity.h: Change.
3067 * config/cpu/arm/bits/atomicit3y.h
3068 * config/cpu/generic/bits/atomicity.h
3069 * config/cpu/i386/bits/atomicity.h
3070 * config/cpu/i486/bits/atomicity.h
3071 * config/cpu/ia64/bits/atomicity.h
3072 * config/cpu/powerpc/bits/atomicity.h
3073 * config/cpu/sparc/sparc32/bits/atomicity.h
3074 * config/cpu/sparc/sparc64/bits/atomicity.h
3075 * config/os/aix/bits/atomicity.h
3076 * config/os/irix/bits/atomicity.h
3077
3078 2001-02-27 Benjamin Kosnik <bkoz@redhat.com>
3079
3080 * include/bits/std_stdexcept.h (runtime_error): Make string
3081 member non-const.
3082 (logic_error): Same.
3083 * testsuite/19_diagnostics/stdexceptions.cc (test04): Add test.
3084 (test03): Fix.
3085
3086 2001-02-26 Benjamin Kosnik <bkoz@redhat.com>
3087
3088 libstdc++/1972
3089 libstdc++/2089
3090 * include/bits/std_stdexcept.h (logic_error::logic_error): Use
3091 string object, not reference.
3092 (runtime_error::runtime_error): Same.
3093 * testsuite/19_diagnostics/stdexceptions.cc: New file.
3094
3095 2001-02-26 Phil Edwards <pme@sources.redhat.com>
3096
3097 * acinclude.m4 (GLIBCPP_CONFIGURE): Update required compiler version.
3098 (GLIBCPP_CHECK_COMPILER_FEATURES): Can safely assume new
3099 diagnostics. Remove WFMT_FLAGS.
3100 * configure.in: Replace WFMT_FLAGS with diagnostics options.
3101 * libsupc++/Makefile.am: Likewise.
3102 * src/Makefile.am: Likewise.
3103 * aclocal.m4: Regenerated.
3104 * configure: Regenerated.
3105 * Makefile.in: Regenerated.
3106 * libio/Makefile.in: Regenerated.
3107 * libmath/Makefile.in: Regenerated.
3108 * libsupc++/Makefile.in: Regenerated.
3109 * src/Makefile.in: Regenerated.
3110
3111 2001-02-26 Phil Edwards <pme@sources.redhat.com>
3112
3113 Fixes libstdc++/2079
3114 * include/backward/iomanip.h: Expose <ios> manipulators to global
3115 namespace.
3116 * include/backward/iostream.h: Also expose std::ws.
3117
3118 2001-02-25 Greg Freemyer <freemyer@NorcrossGroup.com>
3119
3120 * libmath/mathconf.h (GET_LDOUBLE_MSW64): Fix thinko.
3121
3122 2001-02-23 Benjamin Kosnik <bkoz@redhat.com>
3123
3124 * include/bits/codecvt.h: Use __builtin_alloca.
3125 * include/bits/ostream.tcc: Same.
3126 * include/bits/fstream.tcc: Same.
3127
3128 2001-02-23 Alexandre Oliva <aoliva@redhat.com>
3129
3130 * mknumeric_limits (CC): Use VAR=${VAR=...} form.
3131
3132 2001-02-23 David Edelsohn <dje@watson.ibm.com>
3133
3134 * mknumeric_limits (CC): Use $BUILD_DIR/../../gcc/xgcc
3135
3136 2001-02-23 Phil Edwards <pme@sources.redhat.com>
3137
3138 c++/2052
3139 * include/backward/iostream.h: Expose std::flush in old headers.
3140
3141 2001-02-23 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
3142
3143 * mknumeric_limits: Remove special-casing on target. Use gcc
3144 instead of g++ to build gen-num-limits.cc
3145
3146 2001-02-22 Benjamin Kosnik <bkoz@redhat.com>
3147
3148 * tests_flags.in (CXXFLAGS): Add -rpath to gcc build dir.
3149
3150 * include/bits/codecvt.h: Use alloca instead of __extension__ for
3151 the time being.
3152 * include/bits/ostream.tcc: Same.
3153 * include/bits/std_ostream.h: Same.
3154 * include/bits/fstream.tcc: Same.
3155 * include/bits/locale_facets.tcc: Add typename.
3156 * include/bits/c++config (_GLIBCPP_FULLY_COMPLIANT_HEADERS): Enable.
3157
3158 2001-02-21 Phil Edwards <pme@sources.redhat.com>
3159
3160 * tests_flags.in: Remove -n flag from call to echo.
3161
3162 2001-02-20 Benjamin Kosnik <bkoz@redhat.com>
3163
3164 * config/c_locale_gnu.h: Add clocale include.
3165
3166 2001-02-20 Phil Edwards <pme@sources.redhat.com>
3167
3168 * include/bits/stl_config.h: Remove file.
3169 * src/Makefile.am (base_headers): Remove from list.
3170 * configure: Regenerate.
3171 * Makefile.in: Ditto.
3172 * libio/Makefile.in: Ditto.
3173 * libmath/Makefile.in: Ditto.
3174 * libsupc++/Makefile.in: Ditto.
3175 * src/Makefile.in: Ditto.
3176
3177 * include/bits/c++config: Move relevant macros to here.
3178 * include/backward/alloc.h: Include c++config.h instead.
3179 * include/backward/function.h: Ditto.
3180 * include/backward/heap.h: Ditto.
3181 * include/backward/pair.h: Ditto.
3182 * include/bits/pthread_allocimpl.h: Ditto.
3183 * include/bits/std_functional.h: Ditto.
3184 * include/bits/std_iterator.h: Ditto.
3185 * include/bits/std_numeric.h: Ditto.
3186 * include/bits/std_utility.h: Ditto.
3187 * include/bits/stl_algobase.h: Ditto.
3188 * include/bits/type_traits.h: Ditto.
3189 * src/stl-inst.cc: Ditto.
3190
3191 2001-02-19 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
3192
3193 * include/bits/basic_file.h: Add #pragma system_header
3194 * include/bits/basic_ios.h: Ditto.
3195 * include/bits/basic_string.h: Ditto.
3196 * include/bits/char_traits.h: Ditto.
3197 * include/bits/codecvt.h: Ditto.
3198 * include/bits/cpp_type_traits.h: Ditto.
3199 * include/bits/fpos.h: Ditto.
3200 * include/bits/gslice.h: Ditto.
3201 * include/bits/gslice_array.h: Ditto.
3202 * include/bits/indirect_array.h: Ditto.
3203 * include/bits/ios_base.h: Ditto.
3204 * include/bits/limits_generic.h: Ditto.
3205 * include/bits/locale_facets.h: Ditto.
3206 * include/bits/localefwd.h: Ditto.
3207 * include/bits/mask_array.h: Ditto.
3208 * include/bits/sbuf_iter.h: Ditto.
3209 * include/bits/sequence_concepts.h: Ditto.
3210 * include/bits/slice.h: Ditto.
3211 * include/bits/slice_array.h: Ditto.
3212 * include/bits/std_algorithm.h: Likewise.
3213 * include/bits/std_bitset.h: Likewise.
3214 * include/bits/std_complex.h: Likewise.
3215 * include/bits/std_deque.h: Likewise.
3216 * include/bits/std_fstream.h: Likewise.
3217 * include/bits/std_functional.h: Likewise.
3218 * include/bits/std_iomanip.h: Likewise.
3219 * include/bits/std_ios.h: Likewise.
3220 * include/bits/std_iosfwd.h: Likewise.
3221 * include/bits/std_iostream.h: Likewise.
3222 * include/bits/std_istream.h: Likewise.
3223 * include/bits/std_iterator.h: Likewise.
3224 * include/bits/std_list.h: Likewise.
3225 * include/bits/std_locale.h: Likewise.
3226 * include/bits/std_map.h: Likewise.
3227 * include/bits/std_memory.h: Likewise.
3228 * include/bits/std_numeric.h: Likewise.
3229 * include/bits/std_ostream.h: Likewise.
3230 * include/bits/std_queue.h: Likewise.
3231 * include/bits/std_set.h: Likewise.
3232 * include/bits/std_sstream.h: Likewise.
3233 * include/bits/std_stack.h: Likewise.
3234 * include/bits/std_stdexcept.h: Likewise.
3235 * include/bits/std_streambuf.h: Likewise.
3236 * include/bits/std_string.h: Likewise.
3237 * include/bits/std_utility.h: Likewise.
3238 * include/bits/std_valarray.h: Likewise.
3239 * include/bits/std_vector.h: Likewise.
3240 * include/bits/stringfwd.h: Likewise.
3241 * include/bits/type_traits.h: Likewise.
3242 * include/bits/valarray_array.h: Likewise.
3243 * include/bits/valarray_meta.h: Likewise.
3244
3245 2001-02-19 Andreas Jaeger <aj@suse.de>
3246
3247 * config/cpu/sparc/sparc64/bits/atomicity.h (__compare_and_swap):
3248 Fix typo.
3249
3250 2001-02-16 Greg Bumgardner <bumgard@roguewave.com>
3251
3252 libstdc++/1734
3253 * include/bits/std_ostream.h: Replaced usage of
3254 _Traits::_S_eos() with _CharT() as per section 17.2.2.1.3.
3255 * include/bits/char_traits.h: Removed non-standard
3256 methods that cannot be used elsewhere.
3257
3258 libstdc++/1885
3259 * include/bits/basic_ios.h: Uncommented #include of
3260 bits/basic_ios.tcc
3261
3262 libstdc++/1897
3263 * include/bits/codecvt.h: See next...
3264 * include/bits/fstream.tcc: See next...
3265 * include/bits/ostream.tcc: Add __extension__
3266 to variable-length arrays.
3267
3268 libstdc++/1967
3269 * include/bits/localefwd.h: Changed int counter type to size_t.
3270
3271 libstdc++/1968
3272 * include/bits/std_fstream.h: Added typedef for __ctype_type.
3273
3274 2001-02-16 Benjamin Kosnik <bkoz@redhat.com>
3275
3276 * testsuite/21_strings/char_traits.cc: Move to ...
3277 * testsuite/21_strings/char_traits_requirements.cc: ..here.
3278 * testsuite/21_strings/char_traits-int_type.cc: Move to ...
3279 * testsuite/21_strings/char_traits_typedefs.cc: ..here.
3280
3281 2001-02-16 Gabriel Dos Reis <gdr@codesourcery.com>
3282
3283 * libmath/mathconf.h (FINITE_P, INFINITE_P): Remove macro
3284 definitions.
3285
3286 2001-02-15 Benjamin Kosnik <bkoz@redhat.com>
3287
3288 * include/bits/c++config: Revert.
3289
3290 2001-02-15 Mark Mitchell <mark@codesourcery.com>
3291
3292 * include/bits/istream.tcc: Use ios_base::iostate in place of
3293 iostate throughout. Insert `typename' keyword where necessary.
3294 * include/bits/ostream.tcc: Insert `typename' keyword where
3295 necessary.
3296
3297 2001-02-15 Jeffrey Oldham <oldham@codesourcery.com>
3298
3299 * include/bits/c++config (_GLIBCPP_FULLY_COMPLIANT_HEADERS):
3300 Define so library is compliant.
3301
3302 2001-02-15 Anthony Green <green@redhat.com>
3303
3304 * acinclude.m4 (glibcpp_toolexeclibdir): Fix test for cross
3305 compilation.
3306 * aclocal.m4: Regenerate.
3307 * configure: Regenerate.
3308
3309 2001-02-15 Rodney Brown <RodneyBrown@mynd.com>
3310
3311 * acinclude.m4 (GLIBCPP_CHECK_MATH_DECL_1):
3312 Include ieeefp.h for fpclass on UnixWare{2,7}.
3313 * aclocal.m4: Regenerate.
3314 * configure: Regenerate.
3315 * mkcheck.in (size_command): Do without GNU-grep when using
3316 size from binutils.
3317
3318 2001-02-15 Mark Mitchell <mark@codesourcery.com>
3319
3320 Remove old ABI support from libsupc++.
3321 * libsupc++/cxxabi.h: Remove conditionally compiled code.
3322 * libsupc++/exception_support.cc: Likewise.
3323 * libsupc++/pure.cc: Likewise.
3324 * libsupc++/tinfo.cc: Likewise.
3325 * libsupc++/tinfo.h: Likewise.
3326 * libsupc++/tinfo2.cc: Likewise.
3327 * libsupc++/typeinfo: Likewise.
3328 * libsupc++/vec.cc: Likewise.
3329
3330 2001-02-15 Benjamin Kosnik <bkoz@redhat.com>
3331
3332 Add support for -fno-exceptions.
3333 * include/bits/exception_support.h: Remove.
3334 * include/bits/basic_string.h: Remove exception_support.
3335 (string::_M_check): Replace __OUTOFRANGE with __throw_out_of_range.
3336 (string::at): Same.
3337 (string::substr): Same.
3338 * include/bits/basic_string.tcc (string::reserve): Replace
3339 __LENGTHERROR with __throw_length_error.
3340 (string::_S_create): Same.
3341 (string::resize): Same.
3342 (string::_M_replace): Same.
3343 (string::replace): Same.
3344 (string::copy): Replace __OUTOFRANGE with __throw_out_of_range.
3345 (string::compare): Same.
3346 * include/bits/stl_vector.h: Remove exception_support.
3347 * src/Makefile.am (base_headers): Remove here.
3348 * src/Makefile.in: Regenerate.
3349
3350 * include/bits/stl_range_errors.h: Remove.
3351 * include/bits/stl_deque.h: Use __throw_range_error.
3352 * include/bits/std_deque.h: Include functexcept.h.
3353 * include/bits/std_vector.h: Same.
3354 * src/Makefile.am (base_headers): Remove here.
3355 * src/Makefile.in: Regenerate.
3356 * include/ext/stl_bvector.h (class __BVECTOR): Use __throw_range_error.
3357 * include/ext/bvector: Remove stl_range_errors.h
3358
3359 * include/bits/c++config (_GLIBCPP_USE_EXCEPTIONS): Remove.
3360
3361 * include/bits/functexcept.h: New file.
3362 * src/functexcept.cc: New file. Definitions for function-based
3363 exception routines.
3364 * src/Makefile.am (sources): Add functexcept.cc.
3365 * src/Makefile.in: Regenerate.
3366
3367 * include/bits/stl_config.h (__STL_USE_EXCEPTIONS): Wrap with
3368 __EXCEPTIONS.
3369
3370 * include/bits/localefwd.h: Include functexcept.h.
3371 * include/bits/std_iosfwd.h: Same.
3372
3373 * include/bits/basic_ios.h: Use __throw_ios_failure instead of
3374 throw basic_ios::failure.
3375 * include/bits/fstream.tcc (filebuf::_M_allocate_buffers):
3376 Use __throw_exception_again.
3377 (filebuf::_M_filebuf_init): Same.
3378 * include/bits/streambuf.tcc (__copy_streambufs): Same.
3379 * include/bits/ostream.tcc (ostream::operator<<): Same.
3380 * include/bits/istream.tcc (istream::operator>>): Same.
3381 * include/bits/basic_string.tcc (string::_M_mutate): Same.
3382 (string::_S_construct): Same.
3383 (string::_M_clone): Same.
3384 * include/bits/locale_facets.tcc (use_facet(const locale&)): Use
3385 __throw_bad_cast.
3386 (num_put<_CharT, _OutIter>::do_put): Use __throw_exception_again.
3387 * src/localename.cc (locale::_Imp::_Imp(const _Impl&, size_t): Use
3388 __throw_exception_again.
3389 (locale::_Imp::_Imp(string, size_t): Same.
3390 (locale::_Imp::_M_replace_facet): Use __throw_runtime_error.
3391 * src/locale.cc (locale::_M_coalesce): Use __throw_exception_again.
3392 (locale::locale(const char*)): Use __throw_runtime_error.
3393 (locale::classic): Use __throw_exception_again.
3394 (locale::_S_normalize_category): Use __throw_runtime_error.
3395
3396 * src/stdexcept.cc: Remove cruft.
3397
3398 * libsupc++/exception_defines.h: New file.
3399 * libsupc++/new_opnt.cc: Include exception_defines.h.
3400 * libsupc++/vec.cc: Same.
3401 (__cxa_vec_new2): Use __throw_exception_again.
3402 (__cxa_vec_new3): Same.
3403 (__cxa_vec_ctor): Same.
3404 (__cxa_vec_delete3): Same.
3405 (__cxa_vec_cctor): Same.
3406 (__cxa_vec_delete2): Same.
3407 (__cxa_vec_dtor): Same.
3408 * libsupc++/exception_support.cc: Include exception_defines.h. Only
3409 compile exception-handling bits if __EXCEPTIONS is defined.
3410 Remove old ABI support.
3411 * libsupc++/new_op.cc (new): Include exception_defines.h. Use
3412 std::__throw_bad_alloc() instead of throw bad_alloc.
3413 * libsupc++/Makefile.am: Add exception_defines.h.
3414 * libsupc++/Makefile.in: Reformat.
3415 * libsupc++/*: Format.
3416
3417 2001-02-15 Phil Edwards <pme@sources.redhat.com>
3418
3419 * docs/html/configopts.html: Minor updates and typo fixes.
3420 * docs/html/faq/index.html: Updates of the "not really bugs" list.
3421 * docs/html/faq/index.txt: Regenerated.
3422
3423 2001-02-15 Gabriel Dos Reis <gdr@codesourcery.com>
3424
3425 * testsuite/lib/libstdc++.exp: Lift, temporarily, out of
3426 dejagnu/dg.exp. Adapt to log options used to run testcases.
3427
3428 2001-02-13 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
3429
3430 * testsuite/lib/libstdc++.exp(dg-test): Lift temporarily from
3431 dejagnu/dg.exp.
3432
3433 2001-02-13 Dirk Mueller <dmuell@gmx.net>
3434 Phil Edwards <pme@sources.redhat.com>
3435
3436 * include/backward/function.h: Do not use rel_ops for older
3437 headers either.
3438 * include/backward/pair.h: Likewise.
3439
3440 2001-02-12 Mark Mitchell <mark@codesourcery.com>
3441
3442 * src/locale.cc: Remove bogus locale::id definitions.
3443
3444 2001-02-11 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
3445
3446 * include/bits/std_valarray.h: #undef _DEFINE_LOGICAL_OPERATOR,
3447 not _DEFINE_VALARRAY_OPERATOR which is not existent.
3448
3449 * include/bits/valarray_meta.h (_RefFunClos<>_RefRunClos): Fix
3450 thinko in member initialisation.
3451
3452 2001-02-11 Gabriel Dos Reis <gdr@codesourcery.com>
3453
3454 * include/bits/std_valarray.h(valarray<>::shift): Avoid
3455 comparaison between signed and unsigned integer types.
3456 (valarray<>::cshift): Reformat.
3457
3458 2001-02-11 Alexandre Oliva <aoliva@redhat.com>
3459
3460 * src/gen-num-limits.cc: Use sigsetjmp and siglongjmp if available.
3461 * mknumeric_limits: Compile it with -DHAVE_CONFIG_H.
3462 * configure.in: Test for sigsetjmp.
3463 * configure, config.h.in: Rebuilt.
3464
3465 2001-02-11 Gabriel Dos Reis <gdr@codesourcery.com>
3466
3467 * src/valarray-inst.cc (gslice::_Indexer::_Indexer): Don't flip
3468 lengths and strides.
3469 (__gslice_to_index): Document.
3470
3471 2001-02-11 Gabriel Dos Reis <gdr@codesourcery.com>
3472
3473 * include/bits/char_traits.h char_traits<char>::int_type: Change
3474 to `int' to match 21.1.3.1/2.
3475
3476 * testsuite/21_strings/char_traits-int_type.C: New test.
3477
3478 2001-02-10 Gabriel Dos Reis <gdr@codesourcery.com>
3479
3480 * testsuite/Makefile.am: New file.
3481
3482 2001-02-09 Nathan Sidwell <nathan@codesourcery.com>
3483
3484 * include/c_shadow/bits/std_cstdlib.h (lldiv_t): Fix typo.
3485
3486 2001-02-08 Loren J. Rittle <ljrittle@acm.org>
3487
3488 * src/locale-inst.cc (fill_n): Instantiate with size_t arguments.
3489
3490 2001-02-08 David Edelsohn <edelsohn@gnu.org>
3491
3492 * configure.target (aix4*): Remove extra set of brackets.
3493
3494 2001-02-07 Benjamin Kosnik <bkoz@redhat.com>
3495
3496 Clean up stdexcept.
3497 * include/bits/stringfwd.h: New file.
3498 * include/bits/stl_string_fwd.h: Remove.
3499 * include/bits/localefwd.h: Remove declaration for allocator.
3500 * include/bits/std_iosfwd: Same.
3501 * include/bits/std_string.h: Include it.
3502 * include/bits/std_ios.h: Remove include.
3503 * include/bits/basic_string.h: Tweak.
3504 * libsupc++/new: Format.
3505 * src/Makefile.am (base_headers): Add stringfwd.h, remove
3506 stl_string_fwd.h
3507 * src/Makefile.in: Regenerate.
3508 * include/bits/std_stdexcept.h: Rewrite.
3509 * src/stdexcept.cc: Same.
3510
3511 2001-02-06 Benjamin Kosnik <bkoz@redhat.com>
3512
3513 * acinclude.m4 (GLIBCPP_EXPORT_INSTALL_INFO): Deal with library
3514 install locations too.
3515 * aclocal.m4: Regenerate.
3516 * configure.in: Remove USE_LIBDIR.
3517 * configure: Regenerate.
3518 * src/Makefile.am (toolexecdir): Simplify, use
3519 glibcpp_toolexecdir, glibcpp_toolexeclibdir.
3520 * src/Makefile.in: Regenerate.
3521 * libsupc++/Makefile.am: Same.
3522 * libsupc++/Makefile.in: Regenerate.
3523
3524 * src/Makefile.am: Just remove special rules for locale-inst.cc and
3525 misc-inst.cc as no longer necessary.
3526
3527 Follow C++STYLE for naming non-static functions.
3528 * include/bits/ostream.tcc (_S_pad_char): Not static, rename to
3529 __pad_char.
3530 * include/bits/streambuf.tcc: Same.
3531 * include/bits/ostream.tcc: Same.
3532 * include/bits/istream.tcc: Same.
3533 * include/bits/locale_facets.tcc (_S_pad_numeric): To __pad_numeric.
3534 (_S_output_float): To __output_float.
3535 * include/bits/std_streambuf.h (_S_copy_streambufs): To
3536 __copy_streambufs.
3537 * include/bits/locale_facets.tcc (_S_build_float_format): To
3538 __build_float_format.
3539 (_S_format): To __output_integer.
3540 (_S_fill): To __pad.
3541 * src/locale.cc: Same.
3542 * src/misc-inst.cc: Fix formatting. Fix signature for wchar_t. Correct
3543 names.
3544 * include/bits/locale_facets.tcc (_S_group_digits): To
3545 __group_digits.
3546 * src/locale-inst.cc: Fixup names. Add use_facet instantiations
3547 for collate, numpunct.
3548
3549 2001-02-06 Phil Edwards <pme@sources.redhat.com>
3550
3551 * docs/html/configopts.html: Fix HTML markup.
3552 * docs/html/install.html: Bring up to date.
3553 * docs/html/17_intro/C++STYLE: Add global variable conventions.
3554 * docs/html/21_strings/howto.html: More notes.
3555 * docs/html/22_locale/howto.html: Fix HTML markup.
3556 * docs/html/27_io/howto.html: More notes.
3557 * docs/html/27_io/binary_iostreams_kanze.txt: New file.
3558 * docs/html/27_io/binary_iostreams_kuehl.txt: New file.
3559
3560 2001-02-06 Jeffrey Oldham <oldham@codesourcery.com>
3561
3562 * src/misc-inst.cc (_S_pad_char): Modify declaration's parameters
3563 to match header files.
3564 (_S_output_float): Likewise.
3565 (_S_copy_streambufs): Likewise.
3566
3567 2001-02-06 Hyman Rosen <Hyman.Rosen@kbcfp.com>
3568 Phil Edwards <pme@sources.redhat.com>
3569
3570 * include/bits/std_istream.h (op>> signed,unsigned char): Must
3571 use reinterpret_cast, not static_cast.
3572
3573 2001-02-06 Benjamin Kosnik <bkoz@redhat.com>
3574
3575 * acinclude.m4 (gxx_include_dir): Quote, fix regression.
3576 * aclocal.m4: Regenerate.
3577 * configure: Regenerate.
3578
3579 2001-02-05 Benjamin Kosnik <bkoz@redhat.com>
3580
3581 * include/bits/locale_facets.h (class moneypunct): Fix typos.
3582 * libsupc++/pure.cc: Revert.
3583
3584 2001-02-05 Benjamin Kosnik <bkoz@redhat.com>
3585
3586 * acinclude.m4 (GLIBCPP_CHECK_MATH_DECL_1): New macro.
3587 (GLIBCPP_CHECK_MATH_DECL_2): New macro.
3588 (GLIBCPP_CHECK_MATH_DECL_3): New macro.
3589 (GLIBCPP_CHECK_MATH_DECL_AND_LINKAGE_1): Use it, check for _* too.
3590 (GLIBCPP_CHECK_MATH_DECL_AND_LINKAGE_2): Same.
3591 (GLIBCPP_CHECK_MATH_DECL_AND_LINKAGE_3): Same.
3592 (GLIBCPP_CHECK_MATH_SUPPORT): Remove explicit checks for _* versions.
3593 * aclocal.m4: Regenerate.
3594 * configure: Regenerate.
3595
3596 2001-02-05 Mark Mitchell <mark@codesourcery.com>
3597
3598 * include/bits/locale_facets.tcc: Remove `static' keyword on
3599 function definitions.
3600 * include/bits/std_streambuf.h: Likewise.
3601 * src/Makefile.am: Remove use of -fimplicit-templates.
3602 * src/Makefile.in: Regenerated.
3603 * src/locale-inst.cc: Explicitly instantiate more functions.
3604 * src/misc-inst.cc: Likewise.
3605 * src/string-inst.cc: Likewise.
3606
3607 2001-02-05 Benjamin Kosnik <bkoz@redhat.com>
3608
3609 * acinclude.m4 (GLIBCPP_EXPORT_INSTALL_INFO): New
3610 macro. Consolidate all the bits to do with where includes might be
3611 installed.
3612 * aclocal.m4: Regenerate.
3613 * configure.in: Use it.
3614 * configure: Regenerate.
3615 * src/Makefile.am (targetincludep): Use simplified rules.
3616 (targetincludep): Rename gxx_target_include_dir.
3617 (myincludep): Rename gxx_include_dir.
3618 * src/Makefile.in: Regenerate.
3619 * libsupc++/Makefile.am: Use simplified rules.
3620 * libsupc++/Makefile.in: Regenerate.
3621
3622 2001-02-05 Benjamin Kosnik <bkoz@redhat.com>
3623
3624 * include/c_std/bits/std_cerrno.h: Correct date format for copyright.
3625 * include/c_std/bits/std_cctype.h: Same.
3626 * include/c_std/bits/std_cassert.h: Same.
3627 * include/c_std/bits/std_cstdarg.h: Same.
3628 * include/c_std/bits/std_cstddef.h: Same.
3629
3630 * include/c_std/bits/std_cstdio.h: Undefine all names brought into
3631 namespace std.
3632 * include/c_std/bits/std_ctime.h: Same.
3633 * include/c_std/bits/std_clocale.h: Same.
3634 * include/c_std/bits/std_cmath.h: Same.
3635 * include/c_std/bits/std_csetjmp.h: Same.
3636 * include/c_std/bits/std_csignal.h: Same.
3637 * include/c_std/bits/std_cstring.h: Same.
3638 * include/c_std/bits/std_cstdlib.h: Same.
3639 * include/c_std/bits/std_cwchar.h: Same.
3640
3641 2001-02-05 Phil Edwards <pme@sources.redhat.com>
3642
3643 * testsuite/27_io/ios_base_members_static.cc: Swap order of tests.
3644
3645 2001-02-05 Mark Mitchell <mark@codesourcery.com>
3646
3647 * src/string-inst.cc (string::_M_replace): Explicitly instantiate.
3648 (string::_S_construct): Likewise.
3649
3650 2001-02-05 Gabriel Dos Reis <gdr@codesourcery.com>
3651
3652 * testsuite/config/default.exp: New file.
3653 * testsuite/config: New directory.
3654
3655 2001-02-04 Mark Mitchell <mark@codesourcery.com>
3656
3657 * libsupc++/typeinfo (__GXX_MERGED_TYPEINFO_NAMES): New macro.
3658 * libsupc++/tinfo.cc (std::typeinfo::operator==): Use strcmp
3659 whenever !__GXX_MERGED_TYPEINFO_NAMES.
3660 * libsupc++/tinfo2.cc (std::typeinfo::before): Likewise.
3661
3662 2001-02-03 Alexandre Oliva <aoliva@redhat.com>
3663 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
3664
3665 * Makefile.am (mkinstalldirs): Set.
3666 * src/Makefile.am (mkinstalldirs): Set.
3667 * libmath/Makefile.am (mkinstalldirs): Set.
3668 * libsup++/Makefile.am (mkinstalldirs): Set.
3669 * libio/Makefile.am (mkinstalldirs): Set.
3670 * */Makefile.in: Regenerate.
3671
3672 2001-02-03 Benjamin Kosnik <bkoz@redhat.com>
3673
3674 * include/bits/stl_threads.h (struct _STL_mutex_lock): Same.
3675 * include/bits/localefwd.h: More initialization cleanups.
3676
3677 2001-02-03 Jeffrey A Law <law@cygnus.com>
3678
3679 * include/bits/ios_base.h (_S_ios_fmtflags_end): Initialize
3680 correctly targets with 16bit ints.
3681 (_S_ios_openmode_end): Similarly.
3682 (_S_ios_iostate_end): Similarly.
3683 (_S_ios_Seekdir_end): Similarly.
3684
3685 2001-02-02 Phil Edwards <pme@sources.redhat.com>
3686
3687 * mkcheck.in: Also limit virtual memory size, for mmap-based mallocs.
3688
3689 2001-02-01 Alexandre Oliva <aoliva@redhat.com>
3690
3691 * configure.in (toplevel_srcdir, auxdir): Set.
3692 * acinclude.m4 (glibcpp_basedir): Set based on auxdir.
3693 * aclocal.m4, configure, Makefile.in: Rebuilt.
3694 * libio/Makefile.in, math/Makefile.in, src/Makefile.in: Likewise.
3695 * libsupc++-v3/Makefile.am (INCLUDES): Use toplevel_srcdir.
3696 * libsupc++-v3/Makefile.in: Rebuilt.
3697 * libsupc++-v3/configure.in, libsupc++-v3/configure: Removed.
3698 * libsupc++-v3/aclocal.m4, libsupc++-v3/config.h.in: Likewise.
3699
3700 2001-01-30 Benjamin Kosnik <bkoz@redhat.com>
3701
3702 * config/c_locale_generic.cc: Remove langinfo include.
3703
3704 2001-01-29 Benjamin Kosnik <bkoz@redhat.com>
3705
3706 Preliminary named locales.
3707 * acinclude.m4 (GLIBCPP_ENABLE_CLOCALE): New macro.
3708 * aclocal.m4: Regenerate.
3709 * configure.in: Use it.
3710 * configure: Regerate.
3711 * src/Makefile.am (sources): Add c++locale.cc.
3712 (build_headers): Add c++locale.h.
3713 * src/Makefile.in: Regenerate.
3714 * config/c_locale_gnu.h: New file.
3715 * config/c_locale_gnu.cc: New file. Non-inline member functions
3716 for named locales, gnu-specific.
3717 * config/c_locale_generic.h: New file.
3718 * config/c_locale_generic.cc: New file. Non-inline member
3719 functions for named locales, generic version.
3720 * docs/html/configopts.html: Add documentation on new options.
3721
3722 * include/bits/locale_facets.h (class _Messages): Remove.
3723 (class _Moneypunct): Remove.
3724 * src/locale-inst.cc: Remove.
3725
3726 * include/bits/locale_facets.h (class _Collate): Remove.
3727 * src/locale-inst.cc (std): Remove.
3728 * src/locale.cc: And here.
3729
3730 * include/bits/localefwd.h (locale::_M_coalesce): New
3731 function. Correctly put together multi-name locales.
3732 (_Impl(const _Impl&, category, size_t)): Remove.
3733
3734 * include/bits/localefwd.h (locale::_Impl): Remove _M_construct_*
3735 member functions.
3736 (_M_normalize_category_names): Remove.
3737 (_M_replace_categories): Fix.
3738
3739 * src/localename.cc (locale::_Impl::_M_construct_collate): Remove.
3740 (locale::_Impl::_M_construct_ctype): Remove.
3741 (locale::_Impl::_M_construct_monetary): Remove.
3742 (locale::_Impl::_M_construct_numeric): Remove.
3743 (locale::_Impl::_M_construct_time): Remove.
3744 (locale::_Impl::_M_construct_messages): Remove.
3745
3746 * include/bits/locale_facets.h (_Bad_use_facet): Remove.
3747 (_Use_facet_failure_handle): Remove.
3748 * src/locale.cc: Remove definitions.
3749 * src/locale-inst.cc: And here.
3750
3751 * testsuite/22_locale/ctor_copy_dtor.cc (test01): Fixup. Add tests.
3752
3753 * src/localename.cc (locale::facet::_S_create_c_locale): Properly
3754 create and error-check underlying locale object.
3755 (locale::facet::_S_destroy_c_locale): Add, take care of properly
3756 tearing down underlying locale object.
3757 * include/bits/localefwd.h (locale::facet): Declare.
3758 * testsuite/22_locale/members.cc: Don't test "fr_FR" locale for
3759 correctness, as glibc apparently has incorrect info in it. Test
3760 with it when it works again.....
3761
3762 * include/bits/localefwd.h (locale::_Impl::__vec_string):
3763 Remove. Number of categories is fixed at six, so just simplify and
3764 make this an array of strings.
3765 (locale::_Impl::_M_has_name): Remove.
3766 (locale::_Impl::_M_name): Remove.
3767 (locale::_Impl::_M_category_names): Turns into...
3768 (locale::_Impl::_M_names): ...this.
3769 (locale::_Impl::_M_has_same_name()): New function.
3770 * src/localename.cc (locale::_Impl::~_Impl()): Remove here.
3771 (locale::_Impl::_Impl(size_t __refs, string __str)): Simplify
3772 signature.
3773 * src/locale.cc (locale::name()): Construct mangled name
3774 accurately reflecting combined locale categories.
3775
3776 * src/locale.cc (locale::classic()): Don't initialize here.
3777 * src/localename.cc (locale::_Impl::_Impl(size_t __num, size_t
3778 __refs, bool __has_name, string __str): Do it here.
3779
3780 * include/bits/localefwd.h: _S_categories_num to
3781 _S_num_categories. _S_facets_num to _S_num_facets.
3782 (locale::id::id()): Explicitly set _M_index to zero.
3783 * src/locale.cc: Same.
3784
3785 * src/locale.cc: (locale::locale(const char*)): Construct named
3786 locales uniquely.
3787
3788 * src/locale.cc: Remove numpunct_byname ctors.
3789 * testsuite/22_locale/numpunct_byname.cc: New file.
3790 * testsuite/22_locale/numpunct.cc: New file.
3791
3792 * include/bits/localefwd.h (class locale): Change data members to
3793 protected, from private.
3794 (_Impl::_M_get_c_locale): Add member function.
3795 (locale::facet::_M_get_global_impl()): Add member function.
3796 * include/bits/locale_facets.h (numpunct::_M_init): Change to take
3797 a __c_locale pointer.
3798 (numpunct::numpunct( __c_locale*, size_t)): Add additonal ctor for
3799 named locales.
3800 * testsuite/22_locale/members.cc: New file, test name and combine.
3801
3802 * include/bits/locale_facets.h (class numpunct): Remove class
3803 _Punct and _Numpunct. Rewrite class numpunct to be correct for
3804 named locales.
3805 * include/bits/localefwd.h (locale::_Imp::_M_c_locale): Add.
3806 * src/localename.cc (_Impl::~_Impl()): Call __frelocale.
3807 (_Imp::_Impl(size_t, size_t, bool, string)) Initialize _M_c_locale.
3808 * src/locale-inst.cc: Remove _Numpunct, _Punct instantiations.
3809 * testsuite/22_locale/numpunct_char_members.cc: New file.
3810
3811 2001-01-28 Gabriel Dos Reis <gdr@codesourcery.com>
3812
3813 * testsuite/README: Add more comment.
3814 * testsuite/lib/libstdc++.exp: Tweak comment.
3815
3816 2001-01-26 Benjamin Kosnik <bkoz@kredhat.com>
3817
3818 * libsupc++/pure.cc (writestr): Just use cstdio and std::fputs.
3819
3820 2001-01-25 Loren J. Rittle <ljrittle@acm.org>
3821
3822 * testsuite/21_strings/inserters_extractors.cc: Remove
3823 explicit reference to 'testsuite/'.
3824
3825 2001-01-25 Richard Henderson <rth@redhat.com>
3826
3827 * config/cpu/alpha/bits/atomicity.h: Remove tricky .subsetion
3828 bits. Fixes Tru64 build issues.
3829
3830 2001-01-25 Michael Sokolov <msokolov@ivan.Harhan.ORG>
3831
3832 * acinclude.m4 (GLIBCPP_CHECK_GNU_MAKE): Bourne shell portability bug
3833 (use ${MAKE-make}, not ${MAKE:-make}).
3834 * aclocal.m4, configure: Regenerate.
3835
3836 2001-01-25 Mark Mitchell <mark@codesourcery.com>
3837
3838 * src/ios.cc: Remove accidental inclusion of <stdio.h> in last
3839 checkin.
3840
3841 * src/Makefile.am (sources): Add globals.cc.
3842 * src/Makefile.in: Regenerated.
3843 * src/globals.cc: New file.
3844 * src/ios.cc (cin): Don't define here, just declare extern.
3845 (cout): Likewise.
3846 (cerr): Likewise.
3847 (clog): Likewise.
3848 (wcin): Likewise.
3849 (wcout): Likewise.
3850 (wcerr): Likewise.
3851 (wclog): Likewise.
3852
3853 2001-01-25 Phil Edwards <pme@sources.redhat.com>
3854
3855 * include/bits/std_iterator.h: Do not include stl_relops.h.
3856 * include/bits/std_numeric.h: Ditto.
3857 * include/bits/stl_algobase.h: Ditto.
3858 * include/bits/stl_relops.h: Add comment warning about problems.
3859
3860 2001-01-25 Gabriel Dos Reis <gdr@codesourcery.com>
3861
3862 * testsuite/27_io/*.cc: Remove explicit reference to 'testsuite/'
3863 in testcases. Prepare for the DejaGnu based framework.
3864 * mkcheck.in: Adjust call to tests_flags. Don't mmkdir testsuite
3865 directory -- it is now mkcheck working directory.
3866 * tests_flags.in: Remove reference to $(top_srcdir). Use
3867 ${SRC_DIR} instead.
3868 * Makefile.am (check, check-install): Change mkcheck invocation
3869 logic.
3870 * Makefile.in: Regenerate.
3871
3872 2001-01-24 Mark Mitchell <mark@codesourcery.com>
3873
3874 * config/os/aix/bits/atomicity.h (__compare_and_swap): Remove.
3875 (__always_swap): Likewise.
3876
3877 2001-01-23 Chris Demetriou <cgd@broadcom.com>
3878
3879 * libsupc++/exception_support.cc (__terminate_func): Remove
3880 declaration.
3881 (__terminate_func_ptr): New typedef.
3882 (__terminate, __terminate_set_func): New extern function
3883 prototypes.
3884 (std::terminate): Use __terminate function.
3885 (std::set_terminate): Use __terminate_set_func function.
3886
3887 2001-01-23 Benjamin Kosnik <bkoz@redhat.com>
3888
3889 * configure.target: Just use os_include_dir always.
3890 * configure.in: Remove calls to GLIBCPP_CHECK_CTYPE_SUPPORT.
3891 Link atomicity files and ctype files here.
3892 * configure: Regenerate.
3893 * acinclude.m4 (GLIBCPP_CHECK_CTYPE_SUPPORT): Remove.
3894 (GLIBCPP_ENABLE_ATOMICITY): Remove.
3895 * aclocal.m4: Regenerate.
3896
3897 2001-01-23 Chris Demetriou <cgd@broadcom.com>
3898
3899 * configure.in: Place definition of MULTISUBDIR in
3900 libsupc++/Makefile as is done for src/Makefile.
3901 * configure: Regenerate.
3902
3903 2001-01-23 Phil Edwards <pme@sources.redhat.com>
3904
3905 * acinclude.m4: Cosmetic changes only.
3906 * aclocal.m4: Regenerated.
3907 * configure: Regenerated.
3908 * configure.target: Update documented list of changed variables.
3909 * docs/html/install.html: Fix typo.
3910 * docs/html/20_util/howto.html: More notes on auto_ptr.
3911 * docs/html/27_io/howto.html: More notes on streabufs.
3912 * docs/html/faq/index.html: Add rel_ops problem and mention the
3913 DEC as(1) .subsection difficulty.
3914 * docs/html/faq/index.txt: Regenerated.
3915
3916 2001-01-23 Mark Mitchell <mark@codesourcery.com>
3917
3918 * ainclude.m4 (GLIBCPP_CHEC_MATH_DECLS_AND_LINKAGE_1): New macro.
3919 (GLIBCPP_CHECK_MATH_SUPPORT): Use it.
3920 (GLIBCPP_CHECK_TYPE_SUPPORT): Don't autoconf ctype information if
3921 its already provided in config.target.
3922 * aclocal.m4: Regenerated.
3923 * configure: Likewise.
3924 * configure.target: Set ctype_include_dir for lots of systems.
3925 * libsupc++/Makefile.am: Explicitly include --tag disable-shared.
3926 * libsupc++/Makefile.in: Regenerated.
3927
3928 2001-01-23 Gabriel Dos Reis <gdr@codesourcery.com>
3929
3930 * testsuite/lib/libstdc++.exp: Improve. Add support for @xxx#
3931 keyword capability.
3932
3933 * testsuite/README: Add comment.
3934
3935 2001-01-21 Phil Edwards <pme@sources.redhat.com>
3936
3937 * docs/html/configopts.html: Update for current status. Fix HTML.
3938 * docs/html/install.html: Update for current status.
3939
3940 2001-01-20 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
3941
3942 * testsuite/libstdc++.tests/tests.exp: New file.
3943 * testsuite/lib/libstdc++.exp: Itou.
3944 * testsuite/README: Itou.
3945
3946 2001-01-20 Gabriel Dos Reis <gdr@codesourcery.com>
3947
3948 * tests_flags.in: Just output the bare minimum to run tests.
3949 Let's the caller do its own arrangement.
3950
3951 * mkcheck.in: Rename INC_PATH to INCLUDES. Adjust flags
3952 computations.
3953
3954 2001-01-19 Gabriel Dos Reis <gdr@codesourcery.com>
3955
3956 * testsuite/17_intro: Prepare testcases for new style DejaGnu
3957 framework.
3958
3959 2001-01-18 Gabriel Dos Reis <gdr@codesourcery.com>
3960
3961 * testsuite/libstdc++.tests, testsuite/lib: New directories.
3962
3963 2001-01-17 Loren J. Rittle <ljrittle@acm.org>
3964
3965 * mkcheck.in: Construct file names that match $objdir structure.
3966 * testsuite/27_io/filebuf_members-1.txt: New file.
3967 * testsuite/27_io/ifstream_members-1.txt: New file.
3968 * testsuite/27_io/ostream_inserter_char-1.txt: New file.
3969
3970 * testsuite/27_io/ios_base_members_static.cc (test02): Add test.
3971 * testsuite/27_io/ios_base_members_static-1.tst: Add expected output.
3972
3973 2001-01-17 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
3974
3975 * testsuite/27_io/istream_sentry.cc (test02): Fix.
3976
3977 2001-01-17 Benjamin Kosnik <bkoz@redhat.com>
3978
3979 libstdc++/1605
3980 * include/bits/ios_base.h (ios_base::failure): Tighten up throw specs.
3981 * src/ios.cc (ios_base::failure): Make definitions match.
3982 * libsupc++/typeinfo (class bad_typeid): Add throw specs.
3983 (class bad_cast): Same.
3984 * libsupc++/exception (class exception): Add throw specs.
3985 * libsupc++/exception_support.cc (set_terminate): Add throw specs.
3986 (set_unexpected): Same.
3987 (uncaught_exception): Same.
3988 (what): Same.
3989
3990 * docs/html/17_intro/C++STYLE (classname): Fix.
3991
3992 2001-01-16 Mark Mitchell <mark@codesourcery.com>
3993
3994 * src/gen-num-limits.cc (INSTANTIATIONS): New macro.
3995 Use it do explicitly instantiate predicate<T> and value<T> for
3996 all the builtin Ts.
3997
3998 2001-01-16 Nathan Sidwell <nathan@codesourcery.com>
3999
4000 * libsupc++/exception_support.cc (__cp_pop_exception): Fix
4001 uninitialized thinko in last change.
4002
4003 2001-01-16 Mark Mitchell <mark@codesourcery.com>
4004
4005 * libsupc++/exception_support.cc (__cp_pop_exception): Change
4006 prototype.
4007
4008 2001-01-16 Benjamin Kosnik <bkoz@redhat.com>
4009
4010 * docs/html/17_intro/C++STYLE (classname): Add more existing
4011 and stylish patterns.
4012
4013 libstdc++/944
4014 * include/bits/istream.tcc (istream::sentry::sentry()): Set
4015 failbit if the state of the stream is not good.
4016 * testsuite/27_io/istream_sentry.cc (test02): Add test.
4017 * testsuite/27_io/istream_manip.cc (test01): Modify.
4018
4019 libstdc++/1019
4020 reported by Paolo Carlini <pcarlini@unitus.it>
4021 * include/bits/istream.tcc (operator>>(istream&, string&)): Fix.
4022 * testsuite/21_strings/inserters_extractors.cc (test08): Add test.
4023
4024 libstdc++/1057
4025 * include/bits/std_streambuf.h (setp): Set _M_buf_size correctly.
4026 * include/bits/streambuf.tcc (xsputn): Remove outside if clause.
4027 (xsgetn): Same. Simplify.
4028 * testsuite/27_io/streambuf.cc (test04): Add testcases.
4029
4030 reported by Larry Evans <jcampbell3@prodigy.net>
4031 * include/bits/streambuf.tcc (streambuf::xsputn): Just check for
4032 equality with eof on returned value from overflow.
4033
4034 2001-01-14 Andreas Jaeger <aj@suse.de>
4035
4036 * libio/libio.h: Add test for glibc 2.0.
4037
4038 2001-01-12 Benjamin Kosnik <bkoz@redhat.com>
4039
4040 * config/os/djgpp/bits/*: Fix dates.
4041
4042 * include/bits/basic_string.h (_S_find(const _CharT* __beg, const
4043 _CharT* __end, _CharT __c): Remove.
4044 * include/bits/basic_string.tcc: Substitute traits::find for _S_find.
4045 * include/bits/char_traits.h: Tweak.
4046
4047 2001-01-12 Laurynas Biveinis <lauras@softhome.net>
4048
4049 * acinclude.m4 (GLIBCPP_CHECK_CTYPE_SUPPORT): check for DJGPP <ctype.h>
4050 (LIB_AC_PROG_CXX): replace [/\\] with [\\/] to work around older
4051 bash bug.
4052 * aclocal.m4: regenerated.
4053 * configure.target: set os_include_dir to config/os/djgpp under DJGPP.
4054 * configure: regenerated.
4055 * config/os/djgpp, config/os/djgpp/bits: new directories.
4056 * config/os/djgpp/bits/ctype_base.h,
4057 config/os/djgpp/bits/ctype_inline.h,
4058 config/os/djgpp/bits/ctype_noninline.h,
4059 config/os/djgpp/bits/os_defines.h: new files.
4060
4061 2001-01-11 Joseph S. Myers <jsm28@cam.ac.uk>
4062
4063 * include/c_std/bits/std_cstdio.h: Undef printf.
4064
4065 2001-01-10 Benjamin Kosnik <bkoz@redhat.com>
4066
4067 * src/ios.cc: Fix typo: change cout->wcout.
4068
4069 * src/Makefile.am (targetincludep): Fix for version-specific-libs.
4070 * src/Makefile.in: Regenerate.
4071
4072 2001-01-10 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
4073
4074 * include/bits/std_complex.h: Fix a typo.
4075
4076 2001-01-09 Benjamin Kosnik <bkoz@redhat.com>
4077 <kainz@ilm.com>
4078
4079 Fixes for libstdc++/1576
4080 * src/stdstreams.cc: Initialize with NULL filebuf. Delete
4081 file, move contents into....
4082 * src/ios.cc: ...Here. Put defines for iostreams objects and
4083 initialization routines into one file to simplify DSO interaction.
4084 * include/bits/std_iostream.h: Touch.
4085 * include/bits/ios_base.h (_S_synched_with_stdio): Make static.
4086 * src/Makefile.am (sources): Remove stdstreams.cc.
4087 * src/Makefile.in: Regenerate.
4088
4089 2001-01-10 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
4090
4091 * tests_flags.in (check_directory): Fix typo.
4092
4093 2001-01-09 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
4094
4095 * include/bits/std_complex.h: Fix a typo.
4096
4097 2001-01-09 Loren J. Rittle <ljrittle@acm.org>
4098
4099 * config/os/bsd/freebsd/bits/ctype_inline.h (is): (Make right
4100 code path:) Remove magic constants and restructure to handle
4101 ctype.h bit mask layout changes more gracefully. (Make fast
4102 code path:) Use __maskrune (), if available.
4103 (is): Remove special case for digit and xdigit masks.
4104
4105 2001-01-09 Robert Lipe <robertlipe@usa.net>
4106
4107 * include/c_std/bits/std_ctime.h: Undefine difftime.
4108
4109 2001-01-09 Alexandre Oliva <aoliva@redhat.com>
4110
4111 * src/gen-num-limits.cc (signal_adapter): New template function.
4112 (signal_handler): Use it, instead of signal.
4113 (traps<T>): Likewise. Install SIGTRAP handler too. Don't
4114 require both tests to trap to set trap_flag.
4115
4116 2001-01-08 Benjamin Kosnik <bkoz@redhat.com>
4117
4118 * include/bits/fpos.h (fpos:::fpos(streamoff __pos)): Explicitly
4119 initialize mbstate_t member, name offset data members *off, not pos.
4120 * include/bits/fstream.tcc (filebuf::filebuf): Same.
4121
4122 2001-01-08 Benjamin Kosnik <bkoz@redhat.com>
4123
4124 reported by Chris G. Demetriou <cgd@sibyte.com>
4125 * configure.in: Change -linux-* to -linux*.
4126 * configure: Regenerate.
4127
4128 2001-01-05 Benjamin Kosnik <bkoz@redhat.com>
4129
4130 Fix 27_io/filebuf_members.cc
4131 * src/localename.cc (locale::_Impl::_Impl(const _Impl& __imp,
4132 const string& __name, category __cat, size_t __refs): Set
4133 _M_has_name with _M_name.
4134 * include/bits/localefwd.h (locale::operator!=): Protect member
4135 function call with this->.
4136 * src/locale.cc (locale::operator==): Make fast checks first.
4137 * include/bits/basic_ios.tcc (basic_ios::init): Simplify.
4138
4139 * include/bits/ios_base.h (_M_synced_with_stdio): Add data member
4140 to ios_base::Init.
4141 * src/ios.cc (ios_base::Init::Init): Initialize here.
4142 (ios_base::sync_with_stdio): Set here.
4143
4144 2001-01-04 Loren J. Rittle <ljrittle@acm.org>
4145
4146 * config/c_io_stdio.cc (__basic_file<_CharT>::sys_open()): On
4147 systems that support it, call dup() before fdopen().
4148
4149 2001-01-03 Benjamin Kosnik <bkoz@redhat.com>
4150
4151 * include/c_std/bits/std_cwctype.h: Include std_cwchar.h for wint_t.
4152 * testsuite/17_intro/header_cwctype.cc (main): New file.
4153
4154 * src/Makefile.am (base_headers): Change.
4155 * include/bits/std_string.h: And here.
4156 * include/bits/string.tcc: Tweaks, move to...
4157 * include/bits/basic_string.tcc: ...Here.
4158 * src/string-inst.cc: Simplify, just instantiate the whole class,
4159 not member-by-member.
4160
4161 2001-01-02 Benjamin Kosnik <bkoz@redhat.com>
4162
4163 * acinclude.m4 (GLIBCPP_ENABLD_CSTDIO): Add in default value.
4164 * aclocal.m4: Regenerate.
4165 * configure: Regenerate.
4166
4167 * include/bits/c++config (__GLIBCPP__): Bump version number.
4168
4169 * ChangeLog: Start new log for year 2001
4170 * ChangeLog-2000: New file.
4171
4172 * docs/html/configopts.html: Make sure default values are current,
4173 add commentary.
4174
4175 2001-01-01 Benjamin Kosnik <bkoz@fillmore.redhat.com>
4176
4177 * include/c_std/bits/std_cwchar.h: Same.
4178 * testsuite/17_intro/header_cwchar.cc: Same.
4179 * include/c_std/bits/std_ctime.h: Same.
4180 * testsuite/17_intro/header_ctime.cc: Same.
4181 * include/c_std/bits/std_cstdlib.h: Same.
4182 Clean up undefs, make consistent with cwchar and cmath, etc.
4183 * testsuite/17_intro/header_cstdlib.cc: Same.
4184 * include/c_std/bits/std_cstdio.h: Same here.
4185 * testsuite/17_intro/header_cstring.cc: Same.
4186 * include/c_std/bits/std_cstring.h: Include std_cstddef.h for size_t.
4187 * testsuite/17_intro/header_cstring.cc: New file. Check for
4188 size_t in namespace std.
4189
4190 * include/c_std/bits/std_cwchar.h: Explicit checks for mbstate_t.
4191 * acconfig.h (HAVE_MBSTATE_T): Add.
4192 * config.h.in: Regenerate.
4193 * acinclude.m4(GLIBCPP_CHECK_WCHAR_T_SUPPORT): Always test for
4194 mbstate_t.
4195 * aclocal.m4: Regenerate.
4196 * configure: Regenerate.
4197 * testsuite/17_intro/headers_c++.cc: New file.
4198 * testsuite/17_intro/headers_c.cc: Small changes.
4199
4200 2001-01-01 David Billinghurst <David.Billinghurst@riotinto.com>
4201
4202 * tests_flags.in: Fix typo in usage.
4203
4204 * tests_flags.in: Set target specific LIBS for cygwin.